/* Nexus - shared UI for the LB Phone app and the website.
   Single column app shell: sticky top bar, content, tab bar (bottom on phones, side rail on wide web). */
:root{
  --bg:#f2f3f6; --surface:#ffffff; --surface-2:#eaecf1; --ink:#14161c; --ink-2:#5c6271; --line:#dde0e8;
  --accent:#e9461a; --accent-ink:#ffffff; --accent-soft:#fde6de; --live:#0fa874; --like:#e8365f;
  --display:"Unbounded","Arial Black",system-ui,sans-serif;
  --body:"Figtree",system-ui,-apple-system,"Segoe UI",sans-serif;
  --mono:"JetBrains Mono",ui-monospace,Menlo,Consolas,monospace;
  --r-lg:20px; --r-md:14px;
  --status:0px; --homebar:0px;
}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]){
  --bg:#0d0f14; --surface:#151820; --surface-2:#1e222c; --ink:#eef0f5; --ink-2:#979dac; --line:#262a35;
  --accent:#ff6a3d; --accent-ink:#160a05; --accent-soft:#3a1d14; --live:#2bd49a; --like:#ff5c80; color-scheme:dark}}
:root[data-theme="dark"]{
  --bg:#0d0f14; --surface:#151820; --surface-2:#1e222c; --ink:#eef0f5; --ink-2:#979dac; --line:#262a35;
  --accent:#ff6a3d; --accent-ink:#160a05; --accent-soft:#3a1d14; --live:#2bd49a; --like:#ff5c80; color-scheme:dark}
/* LB Phone: leave room for the status bar and home indicator. Tune these if your phone frame differs. */
body.phone{--status:44px;--homebar:20px}
/* Installed on a phone, the page runs under the status bar and notch: keep the top bar and dialogs clear of them. */
body.web{--status:env(safe-area-inset-top,0px)}
body.web .shell{padding-left:max(14px,env(safe-area-inset-left,0px));padding-right:max(14px,env(safe-area-inset-right,0px))}
body.web .gate{padding-top:env(safe-area-inset-top,0px)}
body.web .sheet{padding-top:calc(12px + env(safe-area-inset-top,0px));padding-bottom:calc(12px + env(safe-area-inset-bottom,0px))}

*{box-sizing:border-box}
html,body{margin:0}
body{background:var(--bg);color:var(--ink);font:15px/1.5 var(--body);-webkit-font-smoothing:antialiased}
button{font:inherit;color:inherit;background:none;border:0;padding:0;cursor:pointer}
a{color:inherit;text-decoration:none}
input,textarea,select{font:inherit;color:var(--ink)}
:focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-radius:6px}
svg.i{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}
.handle,.mono{font-family:var(--mono);font-size:12.5px;color:var(--ink-2)}
[hidden]{display:none!important}

.shell{max-width:680px;margin:0 auto;padding-inline:14px;padding-bottom:calc(84px + var(--homebar))}
.top{position:sticky;top:0;z-index:5;background:var(--bg);display:flex;align-items:center;justify-content:space-between;gap:10px;padding:calc(10px + var(--status)) 0 8px}
.logo{display:flex;align-items:center;gap:9px;font:700 20px/1 var(--display);letter-spacing:-.02em}
.mark{width:26px;height:26px;border-radius:50%;border:3px solid var(--accent);display:grid;place-items:center;flex:none}
.mark::after{content:"";width:8px;height:8px;border-radius:50%;background:var(--ink)}
.topr{display:flex;align-items:center;gap:8px;min-width:0}
.chip{display:flex;align-items:center;gap:8px;padding:4px 10px 4px 4px;border-radius:999px;background:var(--surface);border:1px solid var(--line);min-width:0;font-weight:600;font-size:13.5px}
.chip span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:140px}
.iconbtn{width:38px;height:38px;display:grid;place-items:center;border-radius:50%;flex:none}
.iconbtn:hover{background:var(--surface-2)}

.tabbar{position:fixed;left:0;right:0;bottom:0;z-index:6;display:flex;justify-content:space-around;padding:8px 8px calc(8px + var(--homebar) + env(safe-area-inset-bottom,0px));background:color-mix(in srgb,var(--surface) 94%,transparent);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border-top:1px solid var(--line)}
.tabbar a{display:grid;place-items:center;width:52px;height:44px;border-radius:14px;color:var(--ink-2);position:relative}
.tabbar a[aria-current]{color:var(--accent)}
.tabbar a.plus{background:var(--accent);color:var(--accent-ink)}
.tabbar .dot{position:absolute;top:7px;right:11px;min-width:16px;height:16px;padding:0 4px;border-radius:8px;background:var(--accent);color:var(--accent-ink);font:700 10px/16px var(--body);text-align:center}
@media (min-width:900px){
  .web .tabbar{top:50%;bottom:auto;right:auto;left:max(16px,calc(50% - 440px));transform:translateY(-50%);flex-direction:column;gap:6px;padding:10px;border:1px solid var(--line);border-radius:22px}
  .web .shell{padding-bottom:40px}
}

.head{display:flex;align-items:center;gap:10px;padding:8px 0 12px}
.head h1{font:700 19px/1.2 var(--display);margin:0;flex:1;min-width:0;letter-spacing:-.01em;text-wrap:balance}
.seg{display:flex;gap:4px;background:var(--surface-2);border-radius:999px;padding:4px}
.seg button{padding:6px 13px;border-radius:999px;font-weight:600;font-size:13px;color:var(--ink-2)}
.seg button[aria-pressed="true"]{background:var(--surface);color:var(--ink);box-shadow:0 1px 2px rgba(0,0,0,.08)}
.panel{background:var(--surface);border:1px solid var(--line);border-radius:var(--r-lg)}
.gap{display:grid;gap:12px}
.empty{padding:28px 18px;text-align:center;color:var(--ink-2);margin:0}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:8px 16px;border-radius:999px;font-weight:700;font-size:14px;background:var(--accent);color:var(--accent-ink);white-space:nowrap}
.btn:disabled{opacity:.45;cursor:default}
.btn.ghost{background:transparent;color:var(--ink);box-shadow:inset 0 0 0 1px var(--line)}
.btn.ghost:hover{background:var(--surface-2)}
.btn.sm{padding:6px 12px;font-size:13px}
.btn svg.i{width:18px;height:18px}
.more{display:flex;margin:12px auto 0}

/* avatars */
.av{--s:44px;width:var(--s);height:var(--s);border-radius:50%;display:inline-grid;place-items:center;flex:none;color:#fff;font:700 calc(var(--s)*.36)/1 var(--display);letter-spacing:-.02em;text-shadow:0 1px 2px rgba(0,0,0,.25)}

/* compose */
.compose{display:flex;gap:12px;padding:14px;margin-bottom:12px}
.cbody{flex:1;min-width:0;display:grid;gap:8px}
.compose textarea{width:100%;border:0;background:none;resize:none;font-size:16px;line-height:1.45;min-height:48px;padding:8px 0}
.compose textarea::placeholder{color:var(--ink-2)}
.compose textarea:focus-visible{outline:0}
.crow{display:flex;align-items:center;gap:10px;flex-wrap:wrap;border-top:1px solid var(--line);padding-top:10px}
.crow select{font-weight:600;font-size:13px;background:var(--surface-2);border:0;border-radius:999px;padding:7px 10px;max-width:100%;min-width:0}
.count{margin-left:auto;font:500 12px var(--mono);color:var(--ink-2);font-variant-numeric:tabular-nums}

/* posts */
.list > article + article{border-top:1px solid var(--line)}
.post{display:grid;grid-template-columns:42px minmax(0,1fr);gap:11px;padding:14px}
.post > a .av{--s:42px}
.phead{display:flex;align-items:baseline;gap:6px;flex-wrap:wrap;min-width:0}
.phead b{font-weight:700}
.phead .del{margin-left:auto;font-size:12px;color:var(--ink-2);padding:2px 8px;border-radius:999px}
.phead .del:hover,.phead .del.arm{color:var(--like);background:var(--surface-2)}
.ptext{margin:3px 0 0;overflow-wrap:anywhere;white-space:pre-wrap}
.ptext a,.bio a{color:var(--accent);font-weight:600}
.place{display:inline-flex;align-items:center;gap:4px;margin-top:8px;padding:4px 10px 4px 7px;border-radius:999px;background:var(--surface-2);font-size:12.5px;font-weight:600;color:var(--ink-2)}
.place svg.i{width:14px;height:14px}
.acts{display:flex;gap:4px;margin:6px 0 0 -8px}
.act{display:flex;align-items:center;gap:6px;padding:6px 8px;border-radius:999px;color:var(--ink-2);font-size:13.5px;font-variant-numeric:tabular-nums}
.act svg.i{width:19px;height:19px}
.act:hover{background:var(--surface-2);color:var(--ink)}
.act.like.on{color:var(--like)}
.act.like.on svg{fill:currentColor}
.thread{margin-top:8px;display:grid;gap:10px;border-left:2px solid var(--line);padding-left:12px}
.cm{display:flex;gap:9px;font-size:14px;min-width:0}
.cm .av{--s:28px}
.cm p{margin:0;min-width:0;overflow-wrap:anywhere}
.cm p b{margin-right:6px}
.reply{display:flex;gap:8px;align-items:center}
.reply input,.dmform input,.search input{flex:1;min-width:0;border:1px solid var(--line);background:var(--surface-2);border-radius:999px;padding:9px 14px;font-size:14px}

/* explore */
.search{display:flex;align-items:center;gap:8px;margin-bottom:12px}
.search input{padding:11px 16px;font-size:15px;background:var(--surface)}
.people{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px;margin-bottom:16px}
.pcard{overflow:hidden}
.pcard .strip{height:46px}
.pcard .in{padding:0 12px 12px;display:grid;gap:3px;justify-items:start}
.pcard .av{--s:50px;margin-top:-25px;box-shadow:0 0 0 4px var(--surface)}
.pcard b{margin-top:4px;font-size:14.5px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pcard .handle{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pcard .btn{margin-top:6px}
.sec{font:700 13px var(--display);margin:4px 0 10px;letter-spacing:-.01em}

/* profile */
.cover{height:120px;border-radius:var(--r-lg) var(--r-lg) 0 0}
.pbody{padding:0 16px 16px}
.ptop{display:flex;align-items:flex-end;justify-content:space-between;gap:8px;margin-top:-40px;flex-wrap:wrap}
.ptop .av{box-shadow:0 0 0 5px var(--surface)}
.pact{display:flex;gap:6px;flex-wrap:wrap}
.pname{font:700 22px/1.15 var(--display);margin:10px 0 2px;letter-spacing:-.02em;overflow-wrap:anywhere;text-wrap:balance}
.bio{margin:8px 0;overflow-wrap:anywhere;white-space:pre-wrap}
.stats{display:flex;gap:18px;margin-top:10px;font-size:14px;color:var(--ink-2);flex-wrap:wrap}
.stats b{color:var(--ink);font-variant-numeric:tabular-nums}
.song{margin-top:12px;display:flex;align-items:center;gap:12px;padding:10px 12px;border-radius:var(--r-md);background:var(--surface-2)}
.song .t{flex:1;min-width:0;display:grid;line-height:1.3}
.song .t b,.song .t span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.playb{width:38px;height:38px;border-radius:50%;background:var(--pc,var(--accent));color:#fff;display:grid;place-items:center;flex:none}
.playb svg{width:16px;height:16px;fill:currentColor;stroke:none}
.bars{display:flex;gap:3px;align-items:flex-end;height:20px}
.bars i{width:4px;border-radius:2px;background:var(--pc,var(--accent));height:25%}
.song.on .bars i{animation:eq .55s ease-in-out infinite alternate}
.song.on .bars i:nth-child(2){animation-delay:.2s}.song.on .bars i:nth-child(3){animation-delay:.1s}.song.on .bars i:nth-child(4){animation-delay:.3s}
@keyframes eq{to{height:100%}}
.ptabs{display:flex;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding-inline:6px}
.ptabs button{padding:12px 14px 10px;font-weight:600;color:var(--ink-2);border-bottom:3px solid transparent}
.ptabs button[aria-pressed="true"]{color:var(--ink);border-color:var(--pc,var(--accent))}
.top8{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px 8px;padding:16px;text-align:center}
.top8 a{display:grid;justify-items:center;gap:5px;font-size:12.5px;font-weight:600;min-width:0}
.top8 .rank{font:500 11px var(--mono);color:var(--ink-2)}
.top8 .n{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* forms */
.form{padding:16px;display:grid;gap:14px}
.form label{display:grid;gap:6px;font-weight:600;font-size:13.5px}
.form input:not([type=color]),.form textarea,.form select{border:1px solid var(--line);background:var(--surface-2);border-radius:var(--r-md);padding:10px 12px;font-size:15px;font-weight:400;width:100%}
.form input[type=color]{width:100%;height:42px;border:1px solid var(--line);border-radius:var(--r-md);background:var(--surface-2);padding:4px}
.form .two{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.form .note{margin:0;color:var(--ink-2);font-size:13.5px}

/* messages */
.trow{display:flex;gap:11px;align-items:center;padding:12px 14px}
.trow + .trow{border-top:1px solid var(--line)}
.trow .t{flex:1;min-width:0;display:grid;line-height:1.3}
.trow .t span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:13.5px;color:var(--ink-2)}
.trow .t span.new{color:var(--ink);font-weight:600}
.udot{width:10px;height:10px;border-radius:50%;background:var(--accent);flex:none}
.chat{display:flex;flex-direction:column;min-height:calc(100dvh - 210px - var(--status) - var(--homebar))}
.msgs{flex:1;padding:14px;display:flex;flex-direction:column;gap:7px}
.bub{max-width:80%;padding:8px 13px;border-radius:18px;background:var(--surface-2);overflow-wrap:anywhere;white-space:pre-wrap;align-self:flex-start;border-bottom-left-radius:6px}
.bub.mine{align-self:flex-end;background:var(--accent);color:var(--accent-ink);border-bottom-left-radius:18px;border-bottom-right-radius:6px}
.dmform{display:flex;gap:8px;padding:10px;border-top:1px solid var(--line)}

/* gate screens (web) */
.gate{min-height:100dvh;display:grid;place-items:center;padding:24px 16px}
.gate .card{max-width:420px;width:100%;padding:28px 24px;display:grid;gap:14px;justify-items:start}
.gate h1{font:700 26px/1.15 var(--display);margin:0;letter-spacing:-.02em;text-wrap:balance}
.gate p{margin:0;color:var(--ink-2)}
.discord{background:#5865f2;color:#fff}
.pick{display:grid;gap:8px;width:100%}
.pick button{display:flex;align-items:center;gap:12px;padding:10px;border-radius:var(--r-md);border:1px solid var(--line);text-align:left;width:100%}
.pick button:hover,.pick button[aria-current]{background:var(--surface-2)}
.pick .t{display:grid;line-height:1.3;min-width:0}

.toast{position:fixed;left:50%;bottom:calc(84px + var(--homebar));transform:translateX(-50%);background:var(--ink);color:var(--bg);padding:10px 18px;border-radius:999px;font-weight:600;font-size:14px;z-index:30;max-width:calc(100% - 32px);text-align:center}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important}}
/* @mention autocomplete */
.mention{position:fixed;z-index:40;width:min(280px,calc(100% - 16px));background:var(--surface);border:1px solid var(--line);border-radius:var(--r-md);box-shadow:0 10px 30px rgba(0,0,0,.25);padding:4px;display:grid}
.mention[hidden]{display:none}
.mention button{display:flex;gap:9px;align-items:center;padding:7px 9px;border:0;background:none;color:inherit;font:inherit;text-align:left;border-radius:10px;cursor:pointer;min-width:0}
.mention button[aria-selected="true"],.mention button:hover{background:var(--surface-2)}
.mention .t{display:grid;min-width:0;line-height:1.25}
.mention .t b,.mention .t .handle{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* settings */
.form .seg{justify-self:start}
.form .colorrow{display:flex;gap:10px;align-items:center}
.form .colorrow input[type=color]{width:56px;flex:none;cursor:pointer}
.form .colorrow input:not([type=color]){flex:1;min-width:0;font-family:var(--mono)}
/* color presets + image rows (settings, profile editor) */
.swatches{display:flex;flex-wrap:wrap;gap:7px}
.sw{width:26px;height:26px;border-radius:50%;box-shadow:inset 0 0 0 1px rgba(127,127,127,.5);flex:none}
.sw:hover,.sw:focus-visible{transform:scale(1.14)}
.form .lbl{font-weight:600;font-size:13.5px}
.form .seg{flex-wrap:wrap;border-radius:20px}
.form h2.sec{margin:8px 0 0}
.form h2.sec:first-child{margin-top:0}
.imgrow{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.imgrow .thumb{width:84px;height:48px;border-radius:10px;background:var(--surface-2) center/cover no-repeat;border:1px solid var(--line);flex:none}
.form .imgrow input{flex:1;min-width:150px;width:auto}
/* profile page styles chosen by the profile's owner */
body.pbg{background-size:cover;background-position:center;background-attachment:fixed;background-repeat:no-repeat}
body.pbg.pbg-tile{background-size:auto;background-repeat:repeat;background-position:0 0}
.cover.img{background-size:cover;background-position:center}
.prof.pf-wide .cover{height:230px}
.prof.pf-centered .ptop{flex-direction:column;align-items:center;justify-content:center}
.prof.pf-centered .pbody{text-align:center}
.prof.pf-centered .stats,.prof.pf-centered .pact{justify-content:center}
.prof.pf-centered .song{text-align:left}
.prof.pc-sharp,.prof.pc-sharp .cover,.prof.pc-sharp .song{border-radius:0}
.prof.pc-sharp .btn,.prof.pc-sharp .place{border-radius:6px}
.prof.pc-glass{background:rgba(255,255,255,.68);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}
:root[data-theme="dark"] .prof.pc-glass{background:rgba(14,16,22,.6)}
@media (prefers-color-scheme:dark){:root:not([data-theme]) .prof.pc-glass{background:rgba(14,16,22,.6)}}
.prof.pc-glass .ptop .av{box-shadow:0 0 0 5px rgba(127,127,127,.25)}
.prof.pc-glass .song{background:rgba(127,127,127,.2)}
.prof.pfont-serif{--display:Georgia,"Times New Roman",serif;--body:Georgia,"Times New Roman",serif;font-family:var(--body)}
.prof.pfont-mono{--display:var(--mono);--body:var(--mono);font-family:var(--body)}
.prof.pfont-round{--display:ui-rounded,"Arial Rounded MT Bold","Trebuchet MS",system-ui,sans-serif;--body:ui-rounded,"Trebuchet MS",system-ui,sans-serif;font-family:var(--body)}
/* profile pictures + photo picker */
.av.img{background-size:cover;background-position:center;font-size:0}
.imgrow .thumb.round{width:48px;border-radius:50%}
.sheet{position:fixed;inset:0;z-index:50;background:rgba(0,0,0,.55);display:grid;place-items:end center;padding:12px 12px calc(12px + var(--homebar))}
.sheet .panel{width:min(520px,100%);max-height:78vh;overflow:auto;padding:6px 14px 14px}
.sheet .photos{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.sheet .photos button{aspect-ratio:1;border-radius:10px;background:var(--surface-2) center/cover no-repeat}
/* reports, moderation, staff messages */
.modlink{position:relative}
.modlink .dot{position:absolute;top:1px;right:0;min-width:16px;height:16px;padding:0 4px;border-radius:8px;background:var(--accent);color:var(--accent-ink);font:700 10px/16px var(--body);text-align:center}
.rowbtns{display:flex;gap:8px;justify-content:flex-end;flex-wrap:wrap}
.sheet .panel.form{padding:16px}
.warn{margin:0;padding:10px 12px;border-radius:var(--r-md);background:var(--accent-soft);overflow-wrap:anywhere;white-space:pre-wrap}
.rep{display:grid;gap:8px;padding:14px}
.rep + .rep{border-top:1px solid var(--line)}
.rep p{margin:0;font-size:14px;color:var(--ink-2);overflow-wrap:anywhere}
.rep p b{color:var(--ink)}
.rep p.det{color:var(--ink);white-space:pre-wrap;padding:8px 10px;border-radius:var(--r-md);background:var(--surface-2)}
.rep .who{display:flex;gap:10px;align-items:center;min-width:0}
.rep .who .t{display:grid;line-height:1.3;min-width:0}
.cm .del{margin-left:auto;flex:none;align-self:flex-start;font-size:12px;color:var(--ink-2);padding:2px 8px;border-radius:999px}
.cm .del:hover,.cm .del.arm{color:var(--like);background:var(--surface-2)}
.modtabs{display:inline-flex;margin-bottom:12px}
.hist{display:grid;gap:6px;max-height:170px;overflow:auto;font-size:13.5px;color:var(--ink-2)}
.hist p{margin:0;padding:8px 10px;border-radius:var(--r-md);background:var(--surface-2);color:var(--ink);overflow-wrap:anywhere}
/* emoji picker */
.emo{width:34px;height:34px;display:grid;place-items:center;border-radius:50%;flex:none;font-size:18px;line-height:1}
.emo:hover{background:var(--surface-2)}
.emoji{position:fixed;z-index:45;width:min(330px,calc(100% - 16px));background:var(--surface);border:1px solid var(--line);border-radius:var(--r-md);box-shadow:0 10px 30px rgba(0,0,0,.25);padding:6px;display:grid;gap:6px}
.emoji[hidden]{display:none}
.emoji button,.emo{font-family:"Segoe UI Emoji","Apple Color Emoji","Noto Color Emoji",sans-serif}
.emoji .cats{display:flex;gap:2px;overflow-x:auto;border-bottom:1px solid var(--line);padding-bottom:4px}
.emoji .cats button{font-size:17px;line-height:1;padding:5px 7px;border-radius:8px;flex:none}
.emoji .cats button[aria-pressed="true"]{background:var(--surface-2)}
.emoji .grid{display:grid;grid-template-columns:repeat(8,1fr);gap:2px;max-height:210px;overflow-y:auto}
.emoji .grid button{font-size:20px;line-height:1;padding:6px 0;border-radius:8px}
.emoji .grid button:hover{background:var(--surface-2)}
/* reactions on replies */
.cm .cmb{flex:1;min-width:0;display:grid;gap:5px}
.rx{display:flex;flex-wrap:wrap;gap:5px}
.rxc{display:inline-flex;align-items:center;gap:4px;padding:2px 8px;border-radius:999px;background:var(--surface-2);box-shadow:inset 0 0 0 1px var(--line);font-size:13px;line-height:1.5;font-family:"Segoe UI Emoji","Apple Color Emoji","Noto Color Emoji",var(--body)}
.rxc span{font:600 12px var(--body);color:var(--ink-2);font-variant-numeric:tabular-nums}
.rxc.on{background:var(--accent-soft);box-shadow:inset 0 0 0 1px var(--accent)}
.rxc.on span{color:var(--ink)}
.rxc.add{opacity:.7}
.rxc:hover{opacity:1;box-shadow:inset 0 0 0 1px var(--ink-2)}
/* reactions on posts sit in the action row; the reply "like" is a heart chip */
.acts{flex-wrap:wrap;align-items:center}
.acts .rx{margin-left:4px}
.rxc.like svg.i{width:15px;height:15px}
.rxc.like{color:var(--ink-2)}
.rxc.like.on{color:var(--like);background:var(--surface-2);box-shadow:inset 0 0 0 1px var(--like)}
.rxc.like.on svg{fill:currentColor}
.rxc.like span:empty{display:none}
/* report links, moderate dialog options, quoted reported text */
.phead .del + .del,.cm .del + .del{margin-left:0}
.ticks{display:grid;gap:6px}
.form label.tick{display:flex;align-items:center;gap:8px;font-weight:500;font-size:14px;cursor:pointer}
.form label.tick input{width:17px;height:17px;flex:none;accent-color:var(--accent);padding:0}
.rep p.det.quote{border-left:3px solid var(--accent);border-radius:0 var(--r-md) var(--r-md) 0}
.btn.danger{color:var(--like)}
.btn.danger.arm{background:var(--like);color:#fff;box-shadow:none}
/* pages */
.tag{flex:none;font-size:11.5px;font-weight:600;padding:2px 8px;border-radius:999px;background:var(--surface-2);color:var(--ink-2);white-space:nowrap}
.tag.on{background:var(--accent-soft);color:var(--ink)}
.pgtag{font-weight:600;font-size:13px;color:var(--accent);margin-left:6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.invlist{display:grid;max-height:300px;overflow:auto}
.invlist .trow{padding:8px 2px}
.pgthumbs{display:flex;gap:8px;flex-wrap:wrap}
.pgthumbs:empty{display:none}
.pgthumb{width:96px;height:54px;border-radius:10px;background:var(--surface-2) center/cover no-repeat;border:1px solid var(--line)}
/* notification nudge */
.nudge{padding:12px 14px;margin-bottom:12px;display:grid;gap:10px;border-color:var(--accent)}
.nudge p{margin:0;font-size:14px}
