/* Roon app — Phase 2 front-end. Design tokens ported from app-v2/design/shared.css
   (approved Phase-1 designs): Instrument Serif + Inter — superseded 2026-10-30:
   type now tokenised (see FONT SWAP block below): Olive Display / Origin, ivory/bone/ink,
   gradient linear-gradient(112deg,#0C7BB3,#7F9BCE 52%,#F2BAE8). */
/* FONT SWAP — PREP SCAFFOLDING (Jeff's picks, 2026-10-30; see
   app-v2/FONT-SWAP-REPORT.md). Olive Display (FoxType) = Display voice;
   Origin (MoonBandit) = UI voice. Licensed woff2 files install into
   ./fonts/ under the canonical names below. Until a file exists, its
   @font-face simply fails and the token stacks fall back to Instrument
   Serif / Inter (still loaded via Google Fonts in index.html) — so this
   scaffolding changes nothing visually until real files land.
   ACTIVATION (when files land): prune/rename these blocks to match the
   delivered files exactly, verify woff2 200s + document.fonts, then
   drop the fallbacks and the Google Fonts link. */
@font-face{font-family:'Olive Display';src:url('fonts/olive-display-light.woff2') format('woff2');font-weight:300;font-style:normal;font-display:swap}
@font-face{font-family:'Olive Display';src:url('fonts/olive-display-regular.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Olive Display';src:url('fonts/olive-display-medium.woff2') format('woff2');font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:'Olive Display';src:url('fonts/olive-display-semibold.woff2') format('woff2');font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:'Olive Display';src:url('fonts/olive-display-bold.woff2') format('woff2');font-weight:700;font-style:normal;font-display:swap}
/* Origin ships ONE weight (Regular). The 100 900 range descriptor makes
   this single file serve every weight request with NO synthetic bold
   smearing; semibold emphasis (names/authors/active) flattens to the
   same glyphs — hierarchy carried by size/colour instead. See report. */
@font-face{font-family:'Origin';src:url('fonts/origin-regular.woff2') format('woff2');font-weight:100 900;font-style:normal;font-display:swap}
:root{--ivory:#0D0E13;--bone:#171922;--ink:#F5F2EC;--soft:rgba(245,242,236,.52);--ink2:rgba(245,242,236,.74);--grad:linear-gradient(112deg,#0C7BB3,#7F9BCE 52%,#F2BAE8);--pink:rgba(242,186,232,.16);--line:rgba(255,255,255,.09);--deep:#0D0E13;--deep2:#171922;--blue:#8FC3E8;--danger:#F28B82;--sample-bg:#13141B;--sample-ink:rgba(245,242,236,.55);--card:#14151D;--font-display:'Olive Display','Instrument Serif',Georgia,serif;--font-ui:'Origin',Inter,system-ui,-apple-system,sans-serif;--font-reading:'Olive Display','Instrument Serif',Georgia,serif}
*{box-sizing:border-box}
[hidden]{display:none!important}
html{-webkit-text-size-adjust:100%}
/* DARK FORM-CONTROL NORMALISATION (2026-10-30 — Jeff, on the Ask surface:
   'Use white text. Not black'). The design is dark everywhere, but form
   controls do NOT inherit colour: the UA stylesheet paints <button> and
   <input> text with light-scheme defaults (pure black) unless told
   otherwise, and this stylesheet never told it. That is why .chip buttons
   (ask suggestions, talk chips, kind chips), .quick-row buttons and the
   .ask-row input rendered black on #14151D. Three root fixes, applied
   once here so every control inherits the design's ink: declare the
   colour scheme, make controls inherit colour like ordinary elements,
   and pin placeholders to the design's soft ink. Class-level pins for
   the dark-ground controls live on their own rules below (.chip,
   .ask-row input, .find-input, .react-btn, .quick-row, .mh-btn). */
:root{color-scheme:dark}
button,input,select,textarea{color:inherit}
::placeholder{color:var(--soft);opacity:1}
body{margin:0;font-family:var(--font-ui);background:var(--ivory);color:var(--ink);-webkit-font-smoothing:antialiased;overflow-x:hidden;line-height:1.5}
body.locked{overflow:hidden}
.dsp{font-family:var(--font-display);font-weight:400}
.gt{color:#8FC3E8}
a{color:var(--blue)}
img{max-width:100%}
.visually-hidden{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.muted{color:var(--soft)} .muted-small{color:var(--soft);font-size:13px}
.eyeb{font-family:var(--font-display);font-style:italic;font-size:17px;color:var(--blue);margin:0 0 6px}
h1.dsp{font-size:40px;line-height:1.05;letter-spacing:-.02em;margin:0 0 10px}
h2.dsp{font-size:28px;line-height:1.12;margin:0 0 8px}
p.lead{color:var(--soft);line-height:1.65;font-size:16px;margin:0 0 14px}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:none;border-radius:100px;padding:13px 24px;font-weight:600;font-size:15px;cursor:pointer;font-family:inherit;text-decoration:none;background:rgba(255,255,255,.07);color:var(--ink)}
.btn:disabled{opacity:.55;cursor:default}
.btn-grad{background:var(--grad);color:#fff;box-shadow:0 12px 28px -12px rgba(12,123,179,.55)}
.btn-outline{background:#14151D;border:1.5px solid var(--line);color:var(--ink)}
.btn-ghost{background:transparent;color:var(--ink2);padding:9px 14px}
.btn-small{padding:9px 16px;font-size:13px}
.btn-block{width:100%}
.btn-danger{color:var(--danger)}
.badge{display:inline-flex;padding:5px 11px;border-radius:100px;font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase}
.bsample{background:var(--sample-bg);color:var(--sample-ink);border:1px solid rgba(242,186,232,.35)}
.bpink{background:var(--pink);color:#F2BAE8}
.bsoft{background:var(--bone);color:var(--ink2)}
.card{background:#14151D;border:1px solid var(--line);border-radius:20px;padding:22px;margin:0 0 16px}
.chip{display:inline-flex;padding:8px 14px;border-radius:100px;border:1px solid var(--line);background:#14151D;color:var(--ink);font-size:13px;font-weight:500;cursor:pointer;font-family:inherit}
.chip.is-active{background:var(--pink);border-color:transparent;font-weight:600}
.chip:disabled{opacity:.5;cursor:default}
.field{display:block;margin:0 0 14px}
.field>span{display:block;font-size:13px;font-weight:600;margin-bottom:5px;color:var(--ink2)}
.field input,.field textarea,.field select{width:100%;padding:12px 14px;border:1.5px solid var(--line);border-radius:12px;font:inherit;font-size:15px;background:#14151D;color:var(--ink)}
.field textarea{min-height:96px;resize:vertical}
.form-error{color:var(--danger);font-size:14px;margin:0 0 10px}
.checkline{display:flex;gap:8px;align-items:center;font-size:14.5px;padding:4px 0}
.section-title{font-family:var(--font-display);font-weight:400;font-size:25px;margin:28px 0 12px}
.empty{background:#14151D;border:1px dashed var(--line);border-radius:20px;padding:28px 22px;text-align:center;color:var(--soft)}
.empty h3{font-family:var(--font-display);font-weight:400;color:var(--ink);font-size:23px;margin:0 0 8px}
.empty-mark{height:52px;margin-bottom:8px}
.skeleton{min-height:180px;border-radius:20px;background:linear-gradient(100deg,var(--bone) 40%,rgba(255,255,255,.13) 50%,var(--bone) 60%);background-size:200% 100%;animation:sk 1.4s infinite}
@keyframes sk{to{background-position:-200% 0}}
.toast-region{position:fixed;top:14px;left:50%;transform:translateX(-50%);z-index:200;display:flex;flex-direction:column;gap:8px;width:min(92vw,440px)}
.toast{background:#23242F;color:#fff;border-radius:14px;padding:12px 16px;display:flex;gap:10px;align-items:flex-start;font-size:14.5px;box-shadow:0 14px 34px -12px rgba(0,0,0,.4)}
.toast.error{background:var(--danger)}
.toast button{background:none;border:none;color:#fff;font-size:18px;cursor:pointer;line-height:1;margin-left:auto}
.auth-view{min-height:100vh;display:flex;align-items:flex-start;justify-content:center;padding:36px 18px 60px}
.auth-card{width:min(100%,440px);background:#14151D;border:1px solid var(--line);border-radius:24px;padding:30px 26px}
.auth-brand{text-align:center;margin-bottom:18px}
.auth-logo-h{margin:0 0 2px;line-height:0}
.auth-lockup{height:56px;width:auto}
.auth-tagline{color:var(--soft);line-height:1.6;margin:0}
.auth-tabs{display:flex;background:var(--bone);border-radius:100px;padding:4px;margin:0 0 18px}
.auth-tab{flex:1;border:none;background:transparent;padding:10px;border-radius:100px;font:inherit;font-weight:600;cursor:pointer;color:var(--soft)}
.auth-tab.is-active{background:#14151D;color:var(--ink);box-shadow:0 2px 8px rgba(0,0,0,.08)}
.demo-box{margin-top:22px;background:var(--bone);border-radius:16px;padding:16px}
.demo-box p{margin:0 0 10px;font-size:14.5px;line-height:1.55}
.auth-fineprint,.invite-notice{font-size:13px;color:var(--soft);line-height:1.55}
.app-shell{display:flex;min-height:100vh}
.rail{width:248px;flex-shrink:0;background:#14151D;border-right:1px solid var(--line);padding:22px 18px;display:flex;flex-direction:column;gap:4px;position:sticky;top:0;height:100vh}
.rail-brand{display:flex;align-items:center;gap:10px}
.rail-lockup{height:30px;width:auto;display:block}
.rail-family{display:flex;gap:10px;align-items:center;padding:12px;background:var(--bone);border-radius:14px;margin:14px 0 6px}
.rail-family .avatar{width:40px;height:40px;border-radius:50%;background:var(--grad);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;flex-shrink:0}
.rail-nav{display:flex;flex-direction:column;gap:2px;margin-top:8px}
.rail-nav a{display:flex;gap:10px;align-items:center;padding:11px 12px;border-radius:12px;color:var(--ink2);text-decoration:none;font-size:14px;font-weight:500}
.rail-nav a.is-active{background:var(--pink);color:var(--ink);font-weight:600}
.nav-count{background:var(--grad);color:#fff;border-radius:100px;font-size:11px;font-weight:700;padding:2px 8px}
.rail-foot{margin-top:auto;display:flex;flex-direction:column;gap:8px}
.find-input{width:100%;padding:11px 14px;border:1.5px solid var(--line);border-radius:100px;font:inherit;font-size:14px;background:#14151D;color:var(--ink)}
.plan-line{font-size:12px;color:var(--soft);margin:0;line-height:1.5}
.main-wrap{flex:1;min-width:0;display:flex;flex-direction:column}
.main{flex:1;width:100%;max-width:1060px;margin:0 auto;padding:30px 40px 70px}
.mobile-head{display:none}
.sample-banner{background:var(--sample-bg);color:var(--sample-ink);border-bottom:1px solid var(--line);font-size:13px;font-weight:500;padding:9px 16px;text-align:center}
.bottom-nav{display:none}
.scope-row{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 16px}
.ask-bar{display:flex;gap:10px;align-items:center;width:100%;text-align:left;background:#14151D;border:1.5px solid var(--line);border-radius:100px;padding:14px 20px;font:inherit;font-size:15px;color:var(--soft);cursor:pointer;margin:0 0 18px}
.ask-bar img{height:24px}
.feed-card{overflow:hidden}
.kicker-row{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-bottom:10px}
.feed-card .obs{font-family:var(--font-display);font-size:26px;line-height:1.3;margin:0 0 10px}
.evidence-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:4px;margin:12px 0}
.evidence-grid img{width:100%;height:96px;object-fit:cover;border-radius:10px;display:block}
.year-strip{display:flex;gap:6px;margin:12px 0}
.year-strip figure{flex:1;margin:0;text-align:center;min-width:0}
.year-strip img{width:100%;height:74px;object-fit:cover;border-radius:10px;display:block}
.year-strip figcaption{font-size:11px;color:var(--soft);margin-top:4px;font-weight:600}
/* --- Phase 2.5 media lane: the feed is a photo/video stream, not a card stack --- */
/* Today gets its own column, wider than the text pages: centred in the
   content area, rail untouched. */
.today-wrap{max-width:760px;margin:0 auto}
.media-full{margin:-22px -22px 14px}
/* Aspect handling: width:100% + height:auto shows each photo at its REAL
   ratio — no crop for ordinary photos/videos. max-height only caps
   ultra-tall portraits so one photo can't swallow the whole scroll; only
   past that cap does object-fit:cover trim, minimally. */
.media-full img,.media-full video{width:100%;height:auto;max-height:78vh;object-fit:cover;display:block;background:var(--bone)}
.media-full video{background:#000}
/* --- visual covers (chapters / threads / proposals / hero / noticings) --- */
.cover{position:relative;display:block;margin:-22px -22px 16px;border-radius:20px 20px 0 0;overflow:hidden;text-decoration:none;color:#fff;background:var(--bone)}
.cover-media{display:block}
.cover-single img{width:100%;height:auto;max-height:54vh;object-fit:cover;display:block}
.cover-collage{display:grid;gap:3px;aspect-ratio:16/9;background:var(--bone)}
.cover-collage img{width:100%;height:100%;object-fit:cover;display:block;min-height:0;min-width:0}
.collage-2{grid-template-columns:1fr 1fr}
.collage-3{grid-template-columns:2fr 1fr;grid-template-rows:1fr 1fr}
.collage-3 img:first-child{grid-row:1/-1}
.collage-4{grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr}
.cover-scrim{position:absolute;left:0;right:0;bottom:0;padding:44px 20px 14px;background:linear-gradient(180deg,rgba(20,16,23,0),rgba(20,16,23,.42) 55%,rgba(20,16,23,.82));color:#fff}
.cover-title{font-family:var(--font-display);font-weight:400;font-size:27px;line-height:1.15;margin:0;text-shadow:0 1px 10px rgba(0,0,0,.35)}
.cover-sub{margin:4px 0 0;font-size:13px;font-weight:600;color:rgba(255,255,255,.88)}
/* --- Rooney commentary: her words only, never confused with the family's --- */
.rooney-note{display:flex;gap:11px;align-items:flex-start;background:linear-gradient(112deg,rgba(12,123,179,.09),rgba(242,186,232,.30)),var(--pink);border:1px solid rgba(214,164,205,.55);border-radius:14px;padding:12px 14px;margin:12px 0}
.rooney-note-mark{height:30px;width:30px;object-fit:contain;flex-shrink:0;margin-top:2px}
.rooney-note-body{min-width:0}
.rooney-note-label{display:block;font-size:11px;font-weight:800;letter-spacing:.09em;text-transform:uppercase;color:#F2BAE8}
.rooney-note-text{font-family:var(--font-display);font-style:italic;font-size:18.5px;line-height:1.45;margin:2px 0 0;color:var(--ink)}
.rooney-note-based{font-size:12px;color:var(--soft);margin:5px 0 0;line-height:1.45}
.family-caption{font-size:15.5px;line-height:1.55}
/* --- voice card (visual, honest: progress is the only line, and it's real) --- */
.voice-card{display:flex;gap:16px;align-items:flex-start;background:linear-gradient(135deg,var(--bone),var(--pink));border:1px solid var(--line);border-radius:16px;padding:18px;margin:0 0 12px}
.voice-play{width:64px;height:64px;border-radius:50%;border:none;background:var(--grad);color:#fff;font-size:22px;line-height:1;display:flex;align-items:center;justify-content:center;cursor:pointer;flex-shrink:0;box-shadow:0 12px 26px -10px rgba(12,123,179,.6);padding:0 0 0 3px}
.voice-play[aria-pressed="true"]{padding-left:0}
.voice-play:disabled{opacity:.5;cursor:default}
.voice-main{flex:1;min-width:0}
.voice-title{font-family:var(--font-display);font-size:21px;line-height:1.3;margin:0}
.voice-meta{font-size:13px;color:var(--soft);margin:4px 0 10px}
.voice-track{height:6px;border-radius:99px;background:rgba(255,255,255,.14);overflow:hidden;margin:0 0 10px}
.voice-track i{display:block;height:100%;width:0;background:var(--grad);border-radius:99px;transition:width .25s linear}
.voice-audio{width:100%;height:36px;display:block}
.voice-transcript{font-size:14.5px;line-height:1.6;margin:10px 0 0;color:var(--ink2)}
.item-cell .voice-card{flex-direction:column;gap:10px;padding:12px;margin:0}
.item-cell .voice-play{width:46px;height:46px;font-size:17px}
.item-cell .voice-title{font-size:17px}
/* --- writing as a finished story card --- */
.writing-card{background:linear-gradient(160deg,#1A1C26,#101118)}
.writing-panel{background:linear-gradient(135deg,rgba(12,123,179,.06),rgba(242,186,232,.20)),var(--bone);border:1px solid var(--line);border-radius:16px;padding:22px 20px;margin:0 0 6px}
.writing-title{font-family:var(--font-display);font-weight:400;font-size:27px;line-height:1.2;margin:0 0 10px}
.writing-card p.body{font-family:var(--font-reading);font-size:21.5px;line-height:1.55;white-space:pre-wrap;margin:0}
.reactions{display:flex;gap:6px;flex-wrap:wrap;margin-top:12px;align-items:center}
.react-btn{border:1px solid var(--line);background:#14151D;color:var(--ink);border-radius:100px;padding:6px 12px;font:inherit;font-size:14px;cursor:pointer}
.react-btn.mine{background:var(--pink);border-color:transparent;font-weight:700}
.react-people{font-size:12px;color:var(--soft,#7A7079);margin-left:6px;line-height:1.4}
/* Profile as a story home (Den build): cover moment, name over the
   image, one archive-shaped count line. */
.profile-cover{position:relative;border-radius:22px;overflow:hidden;min-height:230px;background:#171922;display:flex;align-items:flex-end}
.profile-cover img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.profile-cover-fallback{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:84px;font-weight:700;color:rgba(245,242,236,.25);font-family:var(--font-display)}
.profile-cover-scrim{position:relative;z-index:1;width:100%;padding:64px 18px 14px;background:linear-gradient(180deg,rgba(5,5,10,0),rgba(5,5,10,.78));color:#F5F2EC}
.profile-cover-scrim h1{font-size:36px;line-height:1.05;margin:0}
.profile-cover-scrim p{margin:4px 0 0;color:rgba(245,242,236,.8);font-size:13.5px}
.profile-counts{margin:12px 2px 0;font-size:13px;font-weight:600;color:var(--fx-ink2,rgba(245,242,236,.74));letter-spacing:.01em}
.comment-toggle{background:none;border:none;font:inherit;font-size:13.5px;color:var(--blue);font-weight:600;cursor:pointer;padding:6px 4px}
.comments{margin-top:10px;border-top:1px solid var(--line);padding-top:12px}
.comment{font-size:14.5px;line-height:1.55;margin:0 0 8px}
.comment-form{display:flex;gap:8px;margin-top:8px}
.comment-form input{flex:1;padding:10px 14px;border:1.5px solid var(--line);border-radius:100px;font:inherit;font-size:14px;min-width:0;background:#14151D;color:var(--ink)}
.on-this-day{color:#F2BAE8;font-weight:700;font-size:12px;letter-spacing:.06em;text-transform:uppercase}
.feed-more{text-align:center;padding:14px;color:var(--soft);font-size:14px}
.answer-doors{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
.answer-box{margin-top:12px}
.answer-box textarea{width:100%;padding:12px 14px;border:1.5px solid var(--line);border-radius:12px;font:inherit;font-size:15px;min-height:84px;resize:vertical}
.toc-row{display:flex;gap:16px;align-items:center;text-decoration:none;color:var(--ink);background:#14151D;border:1px solid var(--line);border-radius:18px;padding:14px 18px;margin:0 0 12px}
.toc-row img{width:84px;height:64px;object-fit:cover;border-radius:10px;flex-shrink:0}
.toc-row h3{font-family:var(--font-display);font-weight:400;font-size:22px;margin:0}
.chapter-narrative{font-size:17px;line-height:1.75;white-space:pre-wrap}
.reader-memory{margin:0 0 22px}
.reader-memory img,.reader-memory video{width:100%;border-radius:14px;display:block}
.reader-memory figcaption{color:var(--soft);font-size:14px;margin-top:6px;line-height:1.55}
.series-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}
.series-cell{background:var(--bone);border-radius:14px;padding:14px}
.series-cell .yr{font-weight:700;font-size:13px;color:var(--blue)}
.ask-card{background:var(--pink);border:1px solid transparent;border-radius:20px;padding:22px;margin:0 0 18px}
.ask-row{display:flex;gap:10px}
.ask-row input{flex:1;padding:13px 18px;border:1.5px solid var(--line);border-radius:100px;font:inherit;font-size:15px;background:#14151D;color:var(--ink);min-width:0}
.chip-row{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px;align-items:center}
.growth-badge{background:var(--grad);color:#fff}
.year-group h3{font-family:var(--font-display);font-weight:400;font-size:22px;margin:22px 0 10px}
.item-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px}
.item-cell{position:relative;background:#14151D;border:1px solid var(--line);border-radius:14px;overflow:hidden}
.item-cell img,.item-cell video{width:100%;height:130px;object-fit:cover;display:block}
.item-cell .cap{font-size:12.5px;color:var(--soft);padding:8px 10px;line-height:1.4}
.item-remove{position:absolute;top:6px;right:6px;width:28px;height:28px;border-radius:50%;border:none;background:rgba(20,16,23,.75);color:#fff;cursor:pointer;font-size:14px;z-index:2}
.toggle-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 0}
.film-stage{background:var(--deep);border-radius:22px;padding:26px;color:#fff;margin:0 0 16px}
.film-player{position:fixed;inset:0;background:var(--deep);z-index:150;display:flex;flex-direction:column;color:#fff}
.film-stage-area{flex:1;position:relative;overflow:hidden}
.film-frame{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;transition:opacity 1.1s ease}
.film-frame img{max-width:100%;max-height:100%;object-fit:contain;animation:kb 7s ease forwards}
.film-frame video{max-width:100%;max-height:100%;object-fit:contain;background:#000}
@keyframes kb{from{transform:scale(1)}to{transform:scale(1.09)}}
.film-intertitle{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;text-align:center;padding:30px}
.film-intertitle p{font-family:var(--font-display);font-size:clamp(26px,5vw,44px);line-height:1.25;max-width:640px}
.film-caption{position:absolute;left:0;right:0;bottom:14px;text-align:center;font-size:15px;color:rgba(255,255,255,.9);padding:0 20px}
.film-controls{display:flex;gap:10px;align-items:center;padding:14px 16px;background:var(--deep2);flex-wrap:wrap}
.film-progress{flex:1;height:6px;background:rgba(255,255,255,.2);border-radius:99px;overflow:hidden;min-width:80px}
.film-progress i{display:block;height:100%;background:var(--grad)}
.person-card{display:flex;gap:14px;align-items:flex-start}
.person-avatar{width:52px;height:52px;border-radius:50%;background:var(--grad);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:19px;flex-shrink:0}
.quiet-row{display:flex;justify-content:space-between;align-items:center;gap:12px;background:#14151D;border:1px solid var(--line);border-radius:16px;padding:16px 18px;margin:0 0 10px;text-decoration:none;color:var(--ink);width:100%;text-align:left;font:inherit;cursor:pointer}
.meter{height:10px;background:rgba(255,255,255,.10);border-radius:99px;overflow:hidden;margin:8px 0}
.meter i{display:block;height:100%;background:var(--grad);border-radius:99px}
.faces{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0}
.face{width:44px;height:44px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:700;background:var(--grad);color:#fff}
.face.empty-face{background:#14151D;border:2px dashed var(--line);color:var(--soft)}
.price-row{display:flex;justify-content:space-between;gap:12px;align-items:center;border:1.5px solid var(--line);border-radius:14px;padding:14px 16px;margin:0 0 10px}
.price-row .save{color:#F2BAE8;font-weight:700;font-size:13px}
.sheet-backdrop{position:fixed;inset:0;background:rgba(20,16,23,.45);z-index:120;display:flex;align-items:flex-end;justify-content:center}
.sheet{background:var(--ivory);width:min(100%,620px);max-height:88vh;overflow-y:auto;border-radius:24px 24px 0 0;padding:22px 22px 30px}
@media(min-width:700px){.sheet-backdrop{align-items:center}.sheet{border-radius:24px}}
.sheet-grip{width:44px;height:5px;border-radius:99px;background:var(--line);margin:0 auto 16px}
.sheet h3{font-family:var(--font-display);font-weight:400;font-size:26px;margin:0 0 10px}
/* Inside a sheet, the h3 is the one Display moment; section headers
   below it speak in the UI voice (Phase 2.7 type system). */
.sheet .section-title{font-family:var(--font-ui);font-size:15px;font-weight:600;margin:24px 0 10px}
.quick-row{display:flex;justify-content:space-between;align-items:center;width:100%;text-align:left;background:#14151D;color:var(--ink);border:1px solid var(--line);border-radius:14px;padding:14px 16px;font:inherit;font-size:15px;font-weight:500;cursor:pointer;margin:0 0 8px}
.find-overlay{position:fixed;inset:0;background:rgba(13,14,19,.97);z-index:130;overflow-y:auto;padding:22px 16px 60px}
.find-box{max-width:680px;margin:0 auto}
.find-head{display:flex;gap:10px;margin-bottom:16px}
.find-head input{flex:1;padding:13px 18px;border:1.5px solid var(--line);border-radius:100px;font:inherit;font-size:15px;min-width:0;background:#14151D;color:var(--ink)}
.find-result{display:flex;gap:12px;align-items:center;background:#14151D;border:1px solid var(--line);border-radius:14px;padding:10px 14px;margin:0 0 8px;text-decoration:none;color:var(--ink)}
.find-result img{width:56px;height:44px;object-fit:cover;border-radius:8px}
.day-group{border:1px solid var(--line);border-radius:14px;padding:14px 16px;margin:0 0 10px;background:#14151D}
.import-thumbs{display:flex;gap:6px;flex-wrap:wrap;margin:10px 0}
.import-thumbs img{width:64px;height:52px;object-fit:cover;border-radius:8px}
.ob-steps{display:flex;gap:6px;margin:0 0 20px}
.ob-steps i{flex:1;height:5px;border-radius:99px;background:rgba(255,255,255,.10)}
.ob-steps i.on{background:var(--grad)}
.check-list{list-style:none;padding:0;margin:0}
.check-list li{padding:10px 0;border-bottom:1px solid var(--line);font-size:15.5px;display:flex;gap:10px;align-items:center}
@media(max-width:999px){
  .rail{display:none}
  .main{padding:16px 16px 110px}
  .mobile-head{display:flex;justify-content:space-between;align-items:center;padding:12px 16px 4px;position:sticky;top:0;background:var(--ivory);z-index:40}
  .mh-left{display:flex;align-items:center;gap:8px}.mh-lockup{height:26px;width:auto;display:block}
  .mh-actions{display:flex;gap:8px}
  .mh-btn{width:40px;height:40px;border-radius:50%;border:1.5px solid var(--line);background:#14151D;color:var(--ink);font-size:19px;cursor:pointer}
  .mh-capture{background:var(--grad);color:#fff;border:none;font-weight:700}
  /* Phase 3: SEVEN destinations. Every slot is flex:1 with min-width:0
     so the bar shares 390px evenly; icon/label spacing is tightened
     (gap 2px, padding 4px 1px, nav padding 2px) before any label is
     ever allowed to shrink — labels are 11px/600, white-space:nowrap,
     and nothing is dropped. */
  .bottom-nav{display:flex;position:fixed;bottom:0;left:0;right:0;background:rgba(15,16,23,.85);backdrop-filter:blur(14px);border-top:1px solid var(--line);padding:6px 2px calc(8px + env(safe-area-inset-bottom));z-index:60;align-items:flex-end}
  .bottom-link{text-decoration:none;color:var(--soft);font-size:11px;font-weight:600;text-align:center;display:flex;flex-direction:column;align-items:center;gap:2px;padding:4px 1px;flex:1 1 0;min-width:0;white-space:nowrap}
  .bottom-link span:first-child{font-size:19px}
  .bottom-link.is-active{color:var(--blue)}
  .bottom-rooney{background:none;border:none;font:inherit;font-size:11px;font-weight:600;color:var(--soft);display:flex;flex-direction:column;align-items:center;gap:2px;cursor:pointer;flex:1 1 0;min-width:0;padding:4px 1px;white-space:nowrap}
  .rooney-disc{width:56px;height:56px;border-radius:50%;background:#FFFDF8;display:flex;align-items:center;justify-content:center;margin-top:-22px;border:1px solid rgba(20,16,23,.07);box-shadow:0 12px 28px -10px rgba(20,16,23,.35),0 2px 8px rgba(20,16,23,.08),0 0 0 7px rgba(242,186,232,.16),0 0 0 8px rgba(12,123,179,.05);transition:transform .22s ease-out,box-shadow .22s ease-out}
  .rooney-disc img{height:43px;width:auto;display:block}
  .bottom-rooney:active .rooney-disc{transform:scale(.94)}
  .bottom-link svg{width:22px;height:22px;flex:none}
  h1.dsp{font-size:32px}
  .evidence-grid img{height:72px}
  .ask-row{flex-direction:column}.ask-row .btn{width:100%}
  /* Media cards run to the screen edges: the card itself stretches past
     .main's 16px gutter, its media bleeds the last padded pixels, and the
     square corners read as a stream, not a stack of boxes. */
  .feed-card.media-card{margin-left:-16px;margin-right:-16px;border-radius:0;border-left:none;border-right:none;padding:18px 16px}
  .feed-card.media-card .media-full,.feed-card.media-card .cover{margin:-18px -16px 14px;border-radius:0}
  .feed-card.media-card .voice-card{margin:-18px -16px 14px;border-radius:0;border-left:none;border-right:none;padding:18px 16px}
  .cover-title{font-size:24px}
  .cover-collage{aspect-ratio:4/3}
  .voice-play{width:56px;height:56px}
}

/* ================================================================
   Phase 2.6 — IG post anatomy + premium elevation (Today feed only)
   Everything below is scoped under .ig-feed / .post so Story, Threads,
   Questions, Family, Plan and Film keep their Phase 2.5 rendering.
   Premium rules applied here: gradient only at identity/action
   moments; sans for UI/captions, serif reserved for cover-frame
   titles; ONE media radius rule — 0 — for every feed media frame;
   no shadows on posts (depth = media + whitespace); spacing on a
   4/8/12/16/24/32 scale; motion 200–300ms ease-out.
   ================================================================ */
.today-wrap.ig-feed{max-width:600px}
/* — Phase 2.7 type system (feed + chrome): four roles only.
   Display = --font-display (Olive Display; Instrument Serif fallback), plain, titles/reading only.
   UI = system sans, sentence case, 15/14/13, semibold for names only.
   Caption = 14px sans, author semibold inline, line-height 1.45.
   Meta = 12px, one neutral grey, sentence case, no caps, no tracking.
   The gradient never touches words: fills and the disc halo only. — */
/* Today header: no billboard. One quiet Meta date line, the toggle, the
   ask bar — then the first post starts. */
.ig-feed .today-date{font-size:12px;color:var(--soft);margin:2px 0 10px;line-height:1.4}
.ig-feed .scope-row{display:inline-flex;flex-wrap:nowrap;gap:2px;background:var(--bone);border-radius:100px;padding:4px;margin:0 0 16px;max-width:100%;overflow-x:auto}
.ig-feed .scope-row .chip{border:none;background:transparent;box-shadow:none;padding:7px 14px;font-size:13px;white-space:nowrap}
.ig-feed .scope-row .chip.is-active{background:#14151D;font-weight:600;box-shadow:0 1px 5px rgba(20,16,23,.10)}
.ig-feed .ask-bar{border:1px solid var(--line);box-shadow:none;font-size:14px;padding:11px 16px;margin:0 0 8px;background:#14151D}
.ig-feed .ask-bar img{height:22px}
.ig-feed .feed-notice{border:1px solid var(--line);border-radius:12px;box-shadow:none}
/* — Moments bar (2026-10-30 IG rework): ONE slim sticky row carries
   the surface name + the Everyone⇄person filter, then the first post
   starts. It replaces the date line + pill row + ask bar that used to
   push the first photo a third of the screen down. Desktop: sticks to
   the top of the feed column. Mobile override sits in the ≤999px
   block below (sticks under the 56px mobile head, bleeds to the
   screen edges like post media does). — */
.explore-bar{position:sticky;top:0;z-index:35;display:flex;align-items:center;gap:10px;background:var(--cream);padding:10px 0 6px;margin:0}
.explore-bar-title{font-size:13px;font-weight:600;color:var(--ink);flex:none}
.explore-bar .scope-row{flex:1;min-width:0;margin:0}
.ig-feed .post{padding:12px 0 8px;margin:0 0 20px;background:transparent;border:none;border-radius:0;box-shadow:none;transition:opacity .28s ease-out,transform .28s ease-out}
.ig-feed .post.pre-enter{opacity:0;transform:translateY(10px)}
/* — slim header line — */
.post-head{display:flex;justify-content:space-between;align-items:baseline;gap:12px;padding:0 0 8px;font-size:13px;line-height:1.35}
.post-who{font-weight:600;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.post-head-right{display:flex;gap:10px;align-items:baseline;flex:none}
.post-my{color:var(--soft);font-size:12px}
.post-sample{font-size:11px;font-weight:500;color:var(--soft);border:1px solid var(--line);border-radius:4px;padding:1px 5px;line-height:1.4}
/* — media block: radius 0 everywhere, IG aspect clamp set in JS — */
.post-media{display:block;background:var(--bone)}
.post-media-link{display:block;text-decoration:none;color:inherit}
.post-media img,.post-media video{width:100%;height:auto;max-height:78vh;object-fit:cover;display:block;background:var(--bone);border-radius:0}
.post-media video{background:#000}
.post-media .post-text-frame{aspect-ratio:4/5}
.post-text-frame{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:8px;background:linear-gradient(155deg,#1A1C26,#101118 58%,#201426);padding:28px 24px;border-radius:0}
.post-text-serif{font-family:var(--font-display);font-size:29px;line-height:1.22;margin:0;color:var(--ink)}
.post-text-frame-sm{height:100%;width:100%}
.post-text-frame-sm .post-text-serif{font-size:23px}
.post-micro{font-size:12px;font-weight:400;color:var(--soft)}
/* — carousel — */
.post-carousel{position:relative}
.post-track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;-webkit-overflow-scrolling:touch;background:var(--bone)}
.post-track::-webkit-scrollbar{display:none}
.post-slide{flex:0 0 100%;width:100%;aspect-ratio:1/1;scroll-snap-align:start;scroll-snap-stop:always;display:block;text-decoration:none;color:inherit;background:var(--bone);overflow:hidden}
.post-slide img,.post-slide video{width:100%;height:100%;object-fit:cover;display:block}
.post-dots{display:flex;gap:5px;justify-content:center;padding:10px 0 0}
.post-dots i{width:6px;height:6px;border-radius:50%;background:rgba(255,255,255,.25);transition:background .2s ease-out}
.post-dots i.on{background:var(--blue)}
/* — voice frame — */
.post-voice-frame{aspect-ratio:1/1;background:linear-gradient(160deg,#1A1C26,#101118 62%,#201426);display:flex;border-radius:0}
.post-voice-frame .voice-card{flex:1;background:transparent;border:none;border-radius:0;margin:0;padding:24px;align-items:center;box-shadow:none}
.post-voice-frame .voice-play{box-shadow:none;width:56px;height:56px;font-size:19px}
.post-voice-frame .voice-track i{transition:width .2s linear}
/* — action row — */
.post-actions{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding:10px 0 0;min-height:32px}
.post-actions-left{display:flex;gap:2px;align-items:flex-start;flex-wrap:wrap;min-width:0}
.post-actions .reactions{margin:0;gap:2px}
.post-actions .react-btn{border:none;background:transparent;padding:5px 7px;font-size:15.5px;border-radius:8px;transition:background .2s ease-out}
.post-actions .react-btn:active{transform:scale(.92)}
.post-actions .react-btn.mine{background:var(--pink);font-weight:600}
.post-comment-wrap{min-width:0}
.post-actions .comment-toggle-ig{display:inline-flex;align-items:center;gap:5px;color:var(--ink);padding:5px 7px;font-size:13px;font-weight:600}
.post-actions .comment-toggle-ig svg{width:21px;height:21px}
.post-actions .comments{margin-top:8px;border-top:1px solid var(--line);min-width:min(78vw,420px)}
.post-share{color:var(--ink);padding:5px 4px;flex:none;display:inline-flex}
.post-share svg{width:21px;height:21px}
.post-share:active{transform:scale(.92)}
.post-follow-btns{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.post-note-line{font-size:13px;color:var(--soft);width:100%}
/* — caption block — */
.post-caption{padding:6px 0 0;font-size:14px;line-height:1.45;color:var(--ink)}
.post-cap-wrap{position:relative}
.post-cap-text{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:0;font-size:14px;line-height:1.45}
.post-caption.expanded .post-cap-text{-webkit-line-clamp:unset;overflow:visible}
.post-author{font-weight:600}
.post-cap-title{font-weight:600}
.post-more{position:absolute;right:0;bottom:0;background:var(--ivory);border:none;font:inherit;font-size:14px;color:var(--soft);cursor:pointer;padding:0 0 0 8px}
.post-family-line{margin:4px 0 0;font-size:14px;line-height:1.55;color:var(--ink)}
.post-trace{margin:6px 0 0;font-size:12px;font-weight:400;color:var(--soft);line-height:1.45}
.post-maker{margin:0 0 4px;font-size:12px;font-weight:600;color:var(--ink2);line-height:1.4}
.post-date{margin:4px 0 0;font-size:12px;color:var(--soft)}
/* — prompt strip — */
.prompt-strip-post{margin:0 0 24px}
.prompt-strip{display:flex;gap:10px;align-items:center;width:100%;text-align:left;background:#14151D;border:1px solid var(--line);border-radius:12px;padding:12px 14px;font:inherit;cursor:pointer;color:var(--ink);transition:background .2s ease-out}
.prompt-strip:active{background:var(--bone)}
.strip-label{font-size:12px;font-weight:600;color:var(--ink2);flex:none}
.strip-gist{flex:1;min-width:0;font-size:14px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.strip-go{font-size:13px;font-weight:600;color:var(--blue);flex:none}
.prompt-expand{padding:12px 0 0}
.ig-feed .prompt-expand .prompt-card{border:none;border-radius:0;box-shadow:none;padding:4px 0 0;margin:0;background:transparent}
.ig-feed .prompt-expand .rooney-note{display:none}
/* Labels inside the feed (notice badge, expanded-prompt kickers) follow
   the same system: sentence case, no tracking, UI weight — the global
   .badge voice belongs to the older surfaces (see Phase 2.7 mapping). */
.ig-feed .badge{text-transform:none;letter-spacing:0;font-size:12px;font-weight:600;padding:4px 9px}
/* …and their fills quieten too: inside the feed a badge is a bone tag,
   not a pink/gold pill (the saturated fills remain on older surfaces). */
.ig-feed .badge.bpink,.ig-feed .badge.bsample{background:var(--bone);color:var(--ink2);border:1px solid var(--line)}
/* The doors builder emits the question with an inline font-size:23px
   (it sizes the question on the Questions view). In the feed the type
   system wins; !important is the scoped mechanism until the builder's
   inline style is removed in that surface's own sweep. */
.ig-feed .prompt-expand .obs{font-size:15px!important;line-height:1.5}
@media(max-width:999px){
  .ig-feed .post-media,.ig-feed .post-carousel,.ig-feed .post-voice-frame{margin-left:-16px;margin-right:-16px}
  .ig-feed .post-carousel .post-dots{margin-left:16px;margin-right:16px}
  .explore-bar{top:56px;margin-left:-20px;margin-right:-20px;padding:8px 20px 6px}
}
@media(prefers-reduced-motion:reduce){
  .ig-feed .post{transition:none}
  .ig-feed .post.pre-enter{opacity:1;transform:none}
  .rooney-disc{transition:none}
  .post-track{scroll-behavior:auto}
}

/* ================================================================
   Phase 3 — design-adoption pass (board compositions, brand system)
   All new rules follow the Phase 2.7 type system exactly:
   Display = --font-display (Olive Display) plain 400, titles/reading only.
   UI = --font-ui (Origin) 15/14/13, 600 for names/authors only.
   Caption = --font-ui 14/1.45. Meta = --font-ui 12px, grey --soft, sentence
   case, never caps, never tracked. The gradient appears ONLY as
   button fills and the nav-disc halo — never on words. Radius rule
   (choice, documented): THUMBNAILS and tiles get a consistent
   10–12px radius; full-bleed cover photos themselves stay radius 0.
   Motion 200–300ms ease-out; reduced motion respected below.
   ================================================================ */
.meta-line{font-size:12px;color:var(--soft);margin:0 0 8px;line-height:1.45}
.meta-inline{font-size:12px;color:var(--soft)}

/* — Today: the daily cover — */
.today-cover-wrap{margin:0 0 20px}
.today-cover{position:relative;display:block;height:72vh;min-height:520px;overflow:hidden;background:var(--bone);color:#fff;text-decoration:none}
.today-cover-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.today-cover-label{position:absolute;top:18px;left:20px;font-size:12px;color:#fff;text-shadow:0 1px 8px rgba(0,0,0,.55);z-index:2}
.today-cover-sample{position:absolute;top:16px;right:20px;font-size:11px;font-weight:500;color:#fff;border:1px solid rgba(255,255,255,.65);border-radius:4px;padding:1px 5px;line-height:1.4;z-index:2}
.today-cover-text{position:absolute;left:0;right:0;bottom:0;padding:64px 20px 18px;background:linear-gradient(180deg,rgba(20,16,23,0),rgba(20,16,23,.42) 42%,rgba(20,16,23,.86))}
.today-cover-line{font-family:var(--font-display);font-weight:400;font-size:34px;line-height:1.12;margin:0 0 8px;text-shadow:0 1px 12px rgba(0,0,0,.4)}
.today-cover-cap{font-size:14px;line-height:1.45;color:rgba(255,255,255,.94);margin:0 0 6px;max-width:560px}
.today-cover-date{font-size:12px;color:rgba(255,255,255,.85);margin:0 0 14px}
.today-cover-strip{display:flex;gap:8px}
.today-cover-tile{position:relative;width:60px;height:60px;flex:none;border-radius:12px;overflow:hidden;background:rgba(20,16,23,.55);border:1px solid rgba(255,255,255,.35);display:inline-flex;align-items:center;justify-content:center}
.today-cover-tile img{width:100%;height:100%;object-fit:cover;display:block}
.today-cover-tile-video{background:rgba(20,16,23,.65)}
.today-cover-play{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:#fff;font-size:17px;text-shadow:0 1px 8px rgba(0,0,0,.65)}
.today-cover-plus{background:var(--bone);color:var(--ink);font-size:15px;font-weight:600;border-color:transparent}
@media(max-width:999px){
  .today-cover-wrap{margin:-16px -16px 24px}
  /* No-JS fallback only: 190px ≈ mobile head (56) + sample banner
     (2 lines ≈ 59) + bottom nav (≈75). The exact height is set from
     measured rects by fitTodayCover() in app.js — the banner's height
     varies with wrapping, so no calc can be right in both states. */
  .today-cover{height:calc(100vh - 190px);height:calc(100dvh - 190px);min-height:280px}
  .today-cover-line{font-size:30px}
}

/* — Explore: the month filter bar (the feed itself is Phase 2.6/2.7) — */
.explore-filter{display:flex;justify-content:space-between;align-items:center;gap:12px;background:var(--bone);border:1px solid var(--line);border-radius:10px;padding:7px 12px;margin:0 0 10px;font-size:13.5px}
.explore-filter strong{font-weight:600}

/* — Story: chapter reader cover header + moments grid — */
.ch-cover{position:relative;height:380px;overflow:hidden;background:var(--bone);margin:0 0 16px}
.ch-cover>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.ch-back{position:absolute;top:16px;left:20px;color:#fff;text-decoration:none;font-size:14px;font-weight:600;text-shadow:0 1px 8px rgba(0,0,0,.55);z-index:2}
.ch-cover-scrim{position:absolute;inset:0;background:linear-gradient(180deg,rgba(20,16,23,.22),rgba(20,16,23,0) 34%,rgba(20,16,23,.82));display:flex;flex-direction:column;justify-content:flex-end;padding:18px 20px}
.ch-cover-meta{font-size:12px;color:rgba(255,255,255,.88);margin:0 0 4px}
.ch-cover-title{font-family:var(--font-display);font-weight:400;font-size:32px;line-height:1.1;color:#fff;margin:0 0 4px;text-shadow:0 1px 12px rgba(0,0,0,.4)}
.ch-cover-range{font-size:12px;color:rgba(255,255,255,.88);margin:0}
.chapter-body{margin:0 0 16px}
.ch-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:2px;margin:0 0 16px}
.ch-grid-tile{aspect-ratio:1/1;padding:0;border:none;background:var(--bone);cursor:pointer;position:relative;overflow:hidden;border-radius:10px;font:inherit;display:block;width:100%}
.ch-grid-tile img{width:100%;height:100%;object-fit:cover;display:block}
.ch-grid-play{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:#fff;font-size:20px;text-shadow:0 1px 10px rgba(0,0,0,.65)}
.ch-grid-dur{position:absolute;right:6px;bottom:6px;background:rgba(20,16,23,.72);color:#fff;font-size:11px;padding:1px 5px;border-radius:4px;line-height:1.5}
.ch-grid-text{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:6px;padding:12px;text-align:left}
.ch-grid-glyph{font-size:19px;color:var(--ink2);line-height:1}
.ch-grid-snippet{font-size:12px;color:var(--soft);line-height:1.4;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.ch-grid-plus{display:flex;align-items:center;justify-content:center;font-size:17px;font-weight:600;color:var(--ink);background:var(--bone)}
@media(max-width:999px){
  .ch-cover{height:46vh;min-height:280px;margin:-16px -16px 16px}
}

/* — Threads: board rows — */
.thread-row{display:flex;gap:14px;align-items:flex-start;text-decoration:none;color:var(--ink);background:#14151D;border:1px solid var(--line);border-radius:18px;padding:12px;margin:0 0 12px;transition:background .2s ease-out}
.thread-row:active{background:var(--ivory)}
.thread-row-thumb{width:104px;height:104px;flex:none;border-radius:12px;overflow:hidden;background:var(--bone);display:flex;align-items:center;justify-content:center}
.thread-row-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.thread-row-thumb img.mark{width:52px;height:52px;object-fit:contain}
.thread-row-main{flex:1;min-width:0;display:flex;flex-direction:column}
.thread-row-title{font-family:var(--font-display);font-weight:400;font-size:20px;line-height:1.2;color:var(--ink);text-decoration:none;margin:0 0 4px;display:block}
.thread-row-meta{font-size:12px;color:var(--soft);line-height:1.45;display:block;margin:0 0 8px}
.thread-row-strip{display:flex;gap:4px}
.thread-row-strip img{width:30px;height:30px;border-radius:8px;object-fit:cover;display:block}
.thread-row-chev{color:var(--soft);flex:none;align-self:center;display:inline-flex}
.thread-row-chev svg{width:20px;height:20px}
.thread-row-proposal .thread-row-thumb{width:72px;height:72px}
.thread-row-proposal .thread-row-thumb img.mark{width:38px;height:38px}
.thread-row-proposal .thread-row-title{font-family:var(--font-ui);font-size:15px;font-weight:600}
.thread-row-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-top:10px}
.thread-row-actions .post-note-line{width:100%}

/* — Rooney: the talk screen — */
.talk-head{text-align:center;margin:4px 0 0}
.talk-mark{height:76px;width:auto;display:block;margin:0 auto 12px}
.talk-headline{font-family:var(--font-display);font-weight:400;font-size:28px;line-height:1.2;margin:0 0 8px;text-align:center}
.talk-sub{font-size:14px;color:var(--soft);margin:0;text-align:center}
.talk-row{display:flex;align-items:flex-start;justify-content:center;gap:18px;margin:20px 0 4px}
.talk-side{width:52px;height:52px;flex:none;border-radius:50%;border:1.5px solid var(--line);background:#14151D;color:var(--ink);display:flex;align-items:center;justify-content:center;cursor:pointer;margin-top:12px;padding:0}
.talk-side svg{width:24px;height:24px}
.talk-center{display:flex;flex-direction:column;align-items:center;gap:7px}
.talk-btn{width:76px;height:76px;flex:none;border-radius:50%;border:none;background:var(--grad);color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;padding:0;box-shadow:0 12px 28px -12px rgba(12,123,179,.55)}
.talk-btn svg{width:30px;height:30px}
/* The pulse marks a REAL recognition session only — the class is added
   on SpeechRecognition.start() and removed on its onend/onerror. */
.talk-btn.is-listening{animation:talkpulse 1.6s ease-out infinite}
@keyframes talkpulse{0%{box-shadow:0 0 0 0 rgba(12,123,179,.45)}100%{box-shadow:0 0 0 20px rgba(12,123,179,0)}}
.talk-label{font-size:12px;color:var(--soft)}
.talk-note{font-size:13px;color:var(--soft);text-align:center;margin:10px 0 0;line-height:1.5}
.talk-chips{margin:18px 0 2px}
.talk-chips-label{font-size:12px;color:var(--soft);margin:0 0 8px}
/* In the talk sheet, the ask block's own chip row steps aside for the
   labelled chips row above (same chips, one home). */
.talk-sheet .ask-block-wrap{margin-top:16px}
.talk-sheet .ask-block-wrap .chip-row{display:none}

/* — Questions: featured card, compact waiting, previous rows — */
.q-featured-card{background:#14151D;border:1px solid var(--line);border-radius:20px;padding:24px;margin:0 0 16px}
.q-featured .prompt-card{background:transparent;border:none;border-radius:0;padding:0;margin:0;box-shadow:none}
.q-featured .obs{font-family:var(--font-display);font-weight:400;font-size:27px!important;line-height:1.3}
.q-featured-photo{margin:2px 0 14px}
.q-featured-photo img{width:100%;max-height:320px;object-fit:cover;border-radius:12px;display:block}
.q-featured .answer-doors{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:14px}
.q-featured .answer-doors .btn{width:100%;background:var(--bone);border:1px solid var(--line);color:var(--ink);box-shadow:none;border-radius:12px;padding:13px 6px;font-size:14px;flex-direction:column;gap:5px}
.q-featured .answer-doors .btn-grad{background:var(--bone);color:var(--ink)}
.q-featured .answer-doors [data-door="skip"]{grid-column:1/-1;background:transparent;border:none;color:var(--soft);padding:6px;flex-direction:row}
.q-door-icon{display:inline-flex}
.q-door-icon svg{width:19px;height:19px;display:block}
.q-compact{margin:0 0 12px}
.q-compact .prompt-card{padding:16px;margin:0}
.q-compact .obs{font-family:var(--font-display);font-weight:400;font-size:18px!important;line-height:1.35}
.q-prev-list{margin:0 0 8px}
.q-prev-row{display:flex;gap:12px;align-items:flex-start;padding:12px 0;border-bottom:1px solid var(--line)}
.q-prev-row:last-child{border-bottom:none}
.q-prev-thumb{width:56px;height:56px;object-fit:cover;border-radius:10px;flex:none;display:block}
.q-prev-main{display:flex;flex-direction:column;gap:2px;min-width:0}
.q-prev-q{font-size:14px;font-weight:600;line-height:1.4}
.q-prev-meta{font-size:12px;color:var(--soft)}
.q-prev-a{font-size:14px;line-height:1.45;color:var(--ink2);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}

/* — Family: people circles + family timeline — */
.fam-circles{display:flex;flex-wrap:wrap;gap:16px 12px;margin:4px 0 10px}
.fam-circle{flex:0 0 calc(25% - 9px);display:flex;flex-direction:column;align-items:center;gap:3px;text-decoration:none;color:var(--ink);text-align:center;background:none;border:none;cursor:pointer;font:inherit;padding:0;min-width:0}
@media(min-width:700px){.fam-circle{flex:0 0 110px}}
.fam-circle-img{width:72px;height:72px;border-radius:50%;overflow:hidden;background:var(--bone);display:flex;align-items:center;justify-content:center;flex:none}
.fam-circle-img img{width:100%;height:100%;object-fit:cover;display:block}
.fam-circle-initial{font-size:19px;font-weight:600;color:var(--ink2)}
.fam-circle-name{font-size:13px;font-weight:600;line-height:1.3}
.fam-circle-count{font-size:12px;color:var(--soft);line-height:1.3}
.fam-circle-add-img{border:1.5px dashed var(--line);background:transparent;color:var(--soft);font-size:28px;font-weight:400}
.timeline-list{position:relative;margin:0 0 8px}
.timeline-list::before{content:'';position:absolute;left:8px;top:10px;bottom:10px;width:1px;background:var(--line)}
.timeline-row{display:flex;align-items:center;gap:12px;width:100%;text-align:left;background:transparent;border:none;border-bottom:1px solid var(--line);padding:13px 0 13px 22px;position:relative;cursor:pointer;font:inherit;color:var(--ink)}
.timeline-row:last-child{border-bottom:none}
.timeline-dot{position:absolute;left:4px;top:50%;transform:translateY(-50%);width:8px;height:8px;border-radius:50%;background:var(--ink2);flex:none}
.timeline-left{display:flex;flex-direction:column;gap:1px;flex:1;min-width:0}
.timeline-month{font-size:14px;font-weight:600}
.timeline-count{font-size:12px;color:var(--soft)}
.timeline-strip{display:flex;gap:4px;align-items:center;flex:none}
.timeline-thumb{position:relative;width:44px;height:44px;border-radius:10px;overflow:hidden;background:var(--bone);display:inline-flex;flex:none}
.timeline-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.timeline-play{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:#fff;font-size:12px;text-shadow:0 1px 6px rgba(0,0,0,.65)}
.timeline-more{font-size:12px;color:var(--soft);margin-left:2px}
@media(prefers-reduced-motion:reduce){
  .talk-btn.is-listening{animation:none}
  .thread-row{transition:none}
  .today-cover-img{transition:none}
}

/* ================================================================
   Phase 3B — FIDELITY RESET (the board wins over 2.6 restraint)
   Warm cream ground, white rounded cards with SOFT WARM SHADOWS,
   rounded media tiles, board-size Display type. Type hygiene from
   2.7 is unchanged (no gradient text, no tracked caps; gradient is
   fills only). Explore post media keeps square corners by design —
   the IG anatomy is untouched except the cream ground showing
   between posts. Board accent hexes are NOT used;
   soft tints come from our own palette (pale blue #EAF1F7 / bone).
   ================================================================ */
:root{--cream:#0D0E13;--warm-shadow:0 18px 40px -18px rgba(0,0,0,.7);--warm-shadow-sm:0 8px 20px -10px rgba(0,0,0,.6);--tint:#1B2432}
body{background:var(--cream)}
.main{padding:30px 20px 70px}
.card{border-radius:20px;border-color:rgba(255,255,255,.09);box-shadow:var(--warm-shadow)}
.toc-row,.quiet-row,.find-result{border-color:rgba(255,255,255,.09);box-shadow:var(--warm-shadow-sm)}
.sheet{background:var(--cream)}
.chip{box-shadow:none}
/* — Today cover at board scale; +N tile is translucent dark — */
.today-cover-line{font-size:40px}
.today-cover-plus{background:rgba(20,16,23,.55);color:#fff;border-color:rgba(255,255,255,.35);backdrop-filter:blur(4px)}
.today-cover{box-shadow:var(--warm-shadow)}
/* — Story reader: cover ~52% of the reader, white card overlaps — */
.ch-cover{height:52vh;min-height:340px}
.ch-back{font-size:0;text-shadow:none}
.ch-back-circle{width:38px;height:38px;border-radius:50%;background:rgba(20,16,23,.45);color:#fff;display:inline-flex;align-items:center;justify-content:center;font-size:24px;line-height:1;padding-bottom:3px;backdrop-filter:blur(4px)}
.ch-cover-title{font-size:36px}
.ch-white-card{background:#14151D;border-radius:24px;padding:24px 22px;margin:0 0 16px;position:relative;z-index:2;box-shadow:var(--warm-shadow)}
.ch-cover + .ch-white-card{margin-top:-28px}
.ch-white-card .chapter-body{margin:0}
.ch-reactions{margin-top:14px;border-top:1px solid var(--line);padding-top:12px}
.ch-grid{gap:6px}
.ch-grid-tile{border-radius:8px}
.ch-grid-plus{background:rgba(20,16,23,.72);color:#fff}
/* — Threads: board rows lead the screen — */
.threads-title{font-size:34px;margin:0 0 6px}
.threads-sub{font-size:14px;color:var(--soft);margin:0 0 18px;line-height:1.45}
.thread-row{border-radius:20px;padding:14px;border-color:rgba(255,255,255,.09);box-shadow:var(--warm-shadow)}
.thread-row-thumb{width:92px;height:92px;border-radius:14px}
.thread-row-title{font-size:21px}
.thread-row-strip img{border-radius:6px}
.ask-card{background:#14151D;border:1px solid rgba(255,255,255,.09);border-radius:20px;box-shadow:var(--warm-shadow)}
.ask-card-compact{padding:18px;margin-top:20px}
/* — Rooney talk: large real mark, white pill suggestion cards — */
.talk-headline{font-size:30px}
.talk-mark{height:120px;margin:18px auto 6px}
.talk-chips .chip{background:#14151D;border:1px solid rgba(255,255,255,.07);box-shadow:var(--warm-shadow-sm);padding:10px 16px;border-radius:100px}
.talk-chips-label{text-align:center}
.talk-chips .chip-row{justify-content:center}
.talk-chips{margin:16px 0 20px}
.talk-side{box-shadow:var(--warm-shadow-sm);border-color:rgba(255,255,255,.09)}
/* — Questions: one big featured card, tinted doors, prev list — */
.q-featured-card{border-radius:22px;border-color:rgba(255,255,255,.09);box-shadow:var(--warm-shadow);padding:22px}
.q-label-row{display:flex;align-items:center;gap:7px;font-size:12px;color:var(--soft);margin:0 0 12px;line-height:1.45}
.q-dot{width:8px;height:8px;border-radius:50%;background:#E8A33D;flex:none}
.q-featured .kicker-row .badge.bpink{display:none}
.q-featured .answer-doors .btn,.q-featured .answer-doors .btn-grad{background:var(--tint)}
.q-compact .prompt-card{border-color:rgba(255,255,255,.09);box-shadow:var(--warm-shadow-sm);border-radius:18px}
.q-prev-header{font-family:var(--font-ui);font-size:15px;font-weight:700;margin:28px 0 6px}
.q-prev-thumb{border-radius:10px}
/* — Family: circles with ring + shadow, pale Add disc, timeline — */
.family-title{font-size:34px;margin:0 0 6px}
.family-sub{font-size:14px;color:var(--soft);margin:0 0 18px;line-height:1.45}
.fam-circle-img{box-shadow:0 8px 20px rgba(0,0,0,.45),0 0 0 3px #0D0E13,0 0 0 4.5px var(--line)}
.fam-circle-add-img{background:var(--tint);color:var(--blue);border:none;box-shadow:var(--warm-shadow-sm);font-size:30px}
.fam-timeline-header{font-family:var(--font-ui);font-size:16px;font-weight:700;margin:28px 0 12px}
.timeline-thumb{border-radius:8px}
/* — Nav restructure chrome — */
.rail-brand{text-decoration:none;color:var(--ink)}
.mh-left{text-decoration:none;color:var(--ink)}
.rail-nav-secondary{border-top:1px solid var(--line);margin-top:14px;padding-top:10px}
.rail-more-label{font-size:12px;color:var(--soft);margin:0 0 4px;padding:0 12px}
.rail-nav-secondary a{font-size:13.5px;color:var(--soft);padding:9px 12px}
#btn-add-rail{margin-top:8px}
.bottom-add{background:none;border:none;font-family:inherit;cursor:pointer}
.add-divider{height:1px;background:var(--line);margin:14px 0}
.settings-title{font-size:34px}
/* — Explore on cream (post media itself stays square-cornered) — */
.ig-feed .post-more{background:var(--cream)}
@media(max-width:999px){
  .main{padding:20px 20px 110px}
  .today-cover-wrap{margin:-20px -20px 24px}
  .today-cover-line{font-size:36px}
  .ch-cover{margin:-20px -20px 0;height:52vh}
  .ch-cover + .ch-white-card{margin-top:-28px}
  .ig-feed .post-media,.ig-feed .post-carousel,.ig-feed .post-voice-frame{margin-left:-20px;margin-right:-20px}
  .ig-feed .post-carousel .post-dots{margin-left:20px;margin-right:20px}
  .feed-card.media-card{margin-left:-20px;margin-right:-20px;padding:18px 20px}
  .feed-card.media-card .media-full,.feed-card.media-card .cover{margin:-18px -20px 14px}
  .feed-card.media-card .voice-card{margin:-18px -20px 14px;padding:18px 20px}
  .mobile-head{background:var(--cream)}
}

/* ================================================================
   Phase 3C — DELIBERATE DESKTOP LAYOUT (Jeff: left nav bars)
   Every rule below is scoped to the desktop breakpoint or to
   desktop-only classes (.explore-context is display:none until
   1200px; .explore-layout is an unstyled wrapper below 1024px).
   The <1024px cascade resolves exactly as Phase 3B left it: no
   existing rule is edited by this block, and nothing here applies
   under 1024px. Board language throughout: cream ground, white
   rounded cards (radius 20–24), soft warm shadows, Phase 2.7 type
   (no gradient text, no tracked caps; gradient = fills only).
   ================================================================ */
.explore-context{display:none}
@media(min-width:1024px){
  /* — Rail, designed: fixed, 272px, white surface, hairline edge — */
  .rail{position:fixed;left:0;top:0;bottom:0;height:100vh;height:100dvh;width:272px;padding:20px;background:#14151D;border-right:1px solid rgba(255,255,255,.10);gap:0;overflow-y:auto;z-index:50}
  .main-wrap{margin-left:272px}
  .rail-brand{gap:11px;padding:2px 4px 0}
  .rail-lockup{height:31px}
  .rail-family{margin:16px 0 4px;padding:12px;border-radius:16px;box-shadow:var(--warm-shadow-sm)}
  .rail-nav{gap:3px;margin-top:14px}
  .rail-nav a{gap:11px;padding:10px 12px;border-radius:12px;font-size:14.5px;white-space:nowrap}
  .rail-nav a svg{width:20px;height:20px;flex:none}
  .rail-nav a>span{white-space:nowrap}
  .rail-nav-primary a.is-active{background:var(--tint);color:var(--ink);font-weight:600;box-shadow:var(--warm-shadow-sm)}
  .rail-nav-primary a:hover{background:rgba(255,255,255,.06)}
  .rail-nav-primary a.is-active:hover{background:var(--tint)}
  #btn-rooney-rail{margin-top:16px;gap:9px;padding:11px 18px}
  .rail-rooney-disc{width:30px;height:30px;flex:none;border-radius:50%;background:#FFFDF8;display:inline-flex;align-items:center;justify-content:center;box-shadow:0 2px 7px rgba(20,16,23,.18)}
  .rail-rooney-disc img{height:23px;width:auto;display:block}
  #btn-add-rail{margin-top:9px;padding:11px 18px}
  .rail-nav-secondary{margin-top:18px;padding-top:14px;border-top:1px solid rgba(255,255,255,.10)}
  .rail-more-label{font-size:12px;color:var(--soft);margin:0 0 6px;padding:0 12px}
  .rail-nav-secondary a{font-size:14px;color:var(--ink2);padding:9px 12px}
  .rail-nav-secondary a.is-active{background:var(--bone);color:var(--ink);font-weight:600;box-shadow:none}
  .rail-nav-secondary a:hover{background:rgba(255,255,255,.06)}
  .rail-nav-secondary a.is-active:hover{background:var(--bone)}
  .rail-nav-secondary .nav-count{margin-left:auto}
  .rail-foot{padding-top:16px;gap:10px}
  .find-input{background:#14151D}
  #btn-logout{align-self:flex-start}

  /* — Main area: deliberate columns on the cream ground — */
  .main{max-width:none;padding:36px 40px 84px}
  #view-root[data-view="today"]{max-width:1120px;margin:0 auto}
  #view-root[data-view="story"]{max-width:780px;margin:0 auto}
  #view-root[data-view="chapter"]{max-width:860px;margin:0 auto}
  #view-root[data-view="threads"]{max-width:780px;margin:0 auto}
  #view-root[data-view="thread"]{max-width:860px;margin:0 auto}
  #view-root[data-view="questions"]{max-width:720px;margin:0 auto}
  #view-root[data-view="family"]{max-width:920px;margin:0 auto}
  #view-root[data-view="person"],#view-root[data-view="plan"],#view-root[data-view="imports"],#view-root[data-view="settings"]{max-width:860px;margin:0 auto}
  #view-root[data-view="film"]{max-width:980px;margin:0 auto}
  #view-root[data-view="film"]>.card,#view-root[data-view="film"]>h1,#view-root[data-view="film"]>p{max-width:860px;margin-left:auto;margin-right:auto}
  #view-root[data-view="film"]>.card{margin-bottom:16px}
  #view-root[data-view="explore"]{max-width:none}

  /* — Today: the cover becomes a large hero panel; the filmstrip
     already lives inside .today-cover-text at the panel's bottom,
     so it is fully visible with no bottom nav to clear. Height is
     this panel rule — fitTodayCover() no-ops (and clears any
     mobile inline height) when the bottom nav is display:none. — */
  .today-cover{height:min(78vh,760px);min-height:560px;border-radius:24px}
  .today-cover-text{padding:72px 28px 22px}
  .today-cover-label{top:22px;left:28px}
  .today-cover-sample{top:20px;right:28px}
  .today-cover-tile{width:68px;height:68px}

  /* — Story chapter: cover as a panel over the reading column — */
  .ch-cover{height:440px;border-radius:24px}
  .ch-cover + .ch-white-card{margin-left:20px;margin-right:20px}
}
@media(min-width:1200px){
  /* — Explore: feed column + right context column, pair centred — */
  .explore-layout{display:flex;gap:28px;justify-content:center;align-items:flex-start}
  .explore-layout .today-wrap.ig-feed{flex:0 0 600px;width:600px;margin:0}
  .explore-context{display:flex;flex-direction:column;gap:16px;flex:0 0 312px;width:312px;position:sticky;top:36px}
  .ctx-card{background:#14151D;border:1px solid rgba(255,255,255,.09);border-radius:20px;box-shadow:var(--warm-shadow);padding:18px;margin:0}
  .ctx-card-link{display:block;text-decoration:none;color:inherit}
  .ctx-title{display:block;font-family:var(--font-ui);font-size:14px;font-weight:600;color:var(--ink);margin:0 0 10px;line-height:1.4}
  .ctx-title-link{text-decoration:none}
  .ctx-title-link:hover{text-decoration:underline}
  .ctx-row{display:flex;gap:11px;align-items:center;padding:6px 0;text-decoration:none;color:inherit}
  .ctx-row-main{display:flex;flex-direction:column;gap:1px;min-width:0}
  .ctx-name{font-size:13.5px;font-weight:600;line-height:1.35}
  .ctx-meta{font-size:12px;color:var(--soft);line-height:1.45}
  .ctx-thumb{width:40px;height:40px;flex:none;border-radius:10px;overflow:hidden;background:var(--bone);display:flex;align-items:center;justify-content:center}
  .ctx-thumb img{width:100%;height:100%;object-fit:cover;display:block}
  .ctx-thumb img.ctx-thumb-mark{width:24px;height:24px;object-fit:contain}
  .ctx-person-dot{width:36px;height:36px;flex:none;border-radius:50%;overflow:hidden;background:var(--bone);display:flex;align-items:center;justify-content:center}
  .ctx-person-dot img{width:100%;height:100%;object-fit:cover;display:block}
  .ctx-person-initial{font-size:14px;font-weight:600;color:var(--ink2)}
  .ctx-count{font-size:13px;font-weight:600;color:var(--ink);margin:0 0 6px}
  .ctx-q-text{font-size:14px;line-height:1.45;color:var(--ink2);margin:0;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
}

/* ================================================================
   Sharing (SHARING.md §9) — keeper share sheet, entry buttons,
   keeper chips, and the Family Shared links list. Existing tokens
   only (--ivory/--bone/--ink/--soft/--line/--grad/--pink); type stays
   in the 4-role system (Display titles already come from .sheet h3;
   everything here is UI/meta voice, sentence case, no tracking;
   gradient appears only via the existing .btn-grad fill).
   ================================================================ */
.share-btn{display:inline-flex;align-items:center;gap:7px}
.share-btn svg{width:17px;height:17px;flex:none}
.today-cover-wrap{position:relative}
.today-share-btn{position:absolute;right:16px;bottom:16px;z-index:5;background:rgba(255,255,255,.94);border:1px solid var(--line);border-radius:100px;padding:9px 16px;font:inherit;font-size:13px;font-weight:600;color:var(--ink);cursor:pointer;box-shadow:var(--warm-shadow-sm)}
.today-share-btn svg{width:16px;height:16px}
.post-share-btn{display:inline-flex;align-items:center;gap:6px;background:none;border:none;font:inherit;font-size:13px;font-weight:600;color:var(--ink);padding:5px 4px;cursor:pointer;flex:none}
.post-share-btn svg{width:21px;height:21px}
.post-share-btn:active{transform:scale(.94)}
.prompt-invite-row{margin-top:10px}
.thread-row-shareline{display:block;margin-top:8px}
.share-chip-line{font-size:12px;color:var(--soft);margin:8px 0 0;line-height:1.45}
/* — the share sheet — */
.share-url{background:#14151D;border:1.5px solid var(--line);border-radius:12px;padding:12px 14px;font-size:14px;line-height:1.45;margin:0 0 8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.share-counts{font-size:12px;color:var(--soft);margin:0 0 16px;line-height:1.45}
.share-main-actions{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 18px}
.share-label{font-size:13px;font-weight:600;color:var(--ink2);margin:0 0 8px}
.share-seg-row{display:flex;gap:6px;flex-wrap:wrap;margin:0 0 18px}
.share-toggles{background:#14151D;border:1px solid var(--line);border-radius:14px;padding:4px 14px;margin:0 0 18px}
.share-toggles .toggle-row{padding:10px 0}
.share-card-row{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 18px}
.share-foot{display:flex;justify-content:space-between;align-items:center;gap:8px;border-top:1px solid var(--line);padding-top:14px}
/* — Family: shared links list — */
.shared-link{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding:12px 0;border-bottom:1px solid var(--line)}
.shared-link:last-child{border-bottom:none;padding-bottom:2px}
.shared-link-main{display:flex;flex-direction:column;gap:2px;min-width:0}
.shared-link-main strong{font-size:14.5px;font-weight:600;line-height:1.4}
.shared-link-actions{display:flex;gap:4px;align-items:center;flex-wrap:wrap;flex:none}
.shared-revoke-confirm{display:inline-flex;gap:4px;align-items:center;flex-wrap:wrap;font-size:13px;color:var(--ink2)}
/* Logo lockup on new share surfaces (§6a): the canonical artwork at a
   modest height — never a typeset wordmark. */
.share-brand{height:26px;width:auto;display:block;margin:0 0 12px}

/* ================================================================
   C1–C7 additive block (Save & return · Your collections · On This
   Day controls · who can see what · watching-only members · who the
   story goes to · Find source labels). Appended only — nothing above
   this banner is modified. */
.post-actions-right{display:flex;gap:2px;align-items:flex-start;margin-left:auto}
.post-save-btn{border:none;background:transparent;padding:5px 8px;font-size:13px;font-weight:600;color:var(--ink);border-radius:8px;cursor:pointer;font-family:inherit}
.post-save-btn.is-saved{color:var(--blue,#0C7BB3)}
.post-save-btn:active{transform:scale(.94)}
.moment-menu-btn{border:none;background:transparent;padding:5px 8px;font-size:14px;line-height:1;color:var(--ink2);border-radius:8px;cursor:pointer;font-family:inherit;letter-spacing:1px}
.reader-memory .post-actions-right{margin-top:6px;justify-content:flex-end}
.collection-card{display:flex;gap:14px;align-items:center;background:var(--card,#14151D);border:1px solid var(--line);border-radius:16px;padding:12px 14px;margin:0 0 10px;text-decoration:none;color:var(--ink)}
.collection-thumb{width:64px;height:64px;border-radius:12px;overflow:hidden;background:var(--bone);flex:none;display:block}
.collection-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.collection-meta{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.collection-manage{display:flex;gap:4px;flex-wrap:wrap;padding:2px 0 14px;border-bottom:1px solid var(--line);margin-bottom:6px}
.col-pick-list{max-height:46vh;overflow:auto;margin-bottom:12px}
.col-pick{display:flex;gap:10px;align-items:flex-start;padding:9px 4px;border-bottom:1px solid var(--line);cursor:pointer}
.rs-row{display:flex;justify-content:space-between;gap:10px;align-items:center;margin:0 0 6px}
.find-group-title{font-size:13px;text-transform:uppercase;letter-spacing:.08em;color:var(--ink2);margin:16px 0 6px}
.find-source{display:inline-block;font-size:11.5px;font-weight:600;background:var(--pink);border-radius:999px;padding:1px 8px;margin-left:4px;vertical-align:1px}
/* Watching-only members (C5): the add/capture doors are not theirs. */
.is-viewer #btn-add-mobile,.is-viewer #btn-add-rail,.is-viewer #btn-capture-mobile,.is-viewer .bottom-add,.is-viewer #fam-invite{display:none}


/* ================================================================
   DARK THEATER — THE DESIGN SYSTEM (permanent). Built as the v14
   premium pass's Variant D; Jeff approved D on 2026-10-30 and v15
   made it the only design: the --fx-* tokens below ARE the design
   tokens, applied unconditionally — there is no variant switcher.
   One spacing scale, one caption type system, designed action rows,
   slim sample banner, consistent nav icons. Ground #0D0E13, ink
   #F5F2EC, frosted-glass chrome; the brand gradient is reserved
   for add/avatar/key actions and Made-by-Rooney accents.
   ================================================================ */
:root{
  --fx-s1:4px;--fx-s2:8px;--fx-s3:12px;--fx-s4:16px;--fx-s5:20px;--fx-s6:28px;
}
:root{
  --fx-ground:#0D0E13;--fx-chrome:#0D0E13;--fx-ink:#F5F2EC;--fx-ink2:rgba(245,242,236,.74);--fx-soft:rgba(245,242,236,.52);
  --fx-line:rgba(255,255,255,.09);--fx-accent:#8FC3E8;--fx-grad:linear-gradient(112deg,#0C7BB3,#7F9BCE 52%,#F2BAE8);
  --fx-pill-bg:rgba(255,255,255,.06);--fx-pill-line:rgba(255,255,255,.11);--fx-mine-bg:rgba(242,186,232,.18);
  --fx-row-bg:rgba(255,255,255,.06);--fx-chip-ink:rgba(245,242,236,.78);--fx-active-bg:#F5F2EC;--fx-active-ink:#141017;
  --fx-maker-bg:rgba(255,255,255,.10);--fx-maker-ink:#F5F2EC;--fx-maker-line:rgba(255,255,255,.16);
  --fx-banner-bg:#13141B;--fx-banner-ink:rgba(245,242,236,.55);
  --fx-glass:rgba(15,16,23,.55);--fx-glass-line:rgba(255,255,255,.15);--fx-glass-ink:#F5F2EC;
  --fx-bar-shadow:0 16px 30px -18px rgba(0,0,0,.85);
}
body{background:var(--fx-ground)}

/* — Fix 5: the sample banner becomes a whisper — slim, one line,
   palette-true (the mustard is gone). Colours come from the design
   tokens; the sentence itself was shortened in index.html so it fits
   one line at this size instead of wrapping into a billboard. — */
.sample-banner{background:var(--fx-banner-bg);color:var(--fx-banner-ink);border-bottom:1px solid var(--fx-line);font-size:11px;font-weight:500;letter-spacing:.01em;line-height:1.3;padding:6px 16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* — Fix 4 (spacing) + the sticky Moments bar: one scale everywhere,
   a hairline + soft shadow so the feed reads layered scrolling under
   it. Fix 3: the scope-chip row scrolls with a FADED right edge —
   never a hard mid-word cut at rest. — */
.explore-bar{background:var(--fx-chrome);padding:10px 0 8px;border-bottom:1px solid var(--fx-line);box-shadow:var(--fx-bar-shadow)}
.explore-bar-title{font-size:13.5px;color:var(--fx-ink)}
.ig-feed .scope-row{background:var(--fx-row-bg);scrollbar-width:none;-webkit-mask-image:linear-gradient(90deg,#000 0,#000 calc(100% - 28px),transparent 100%);mask-image:linear-gradient(90deg,#000 0,#000 calc(100% - 28px),transparent 100%)}
.ig-feed .scope-row::-webkit-scrollbar{display:none}
.ig-feed .scope-row .chip{flex:none;color:var(--fx-chip-ink)}
.ig-feed .scope-row .chip.is-active{background:var(--fx-active-bg);color:var(--fx-active-ink);font-weight:600;box-shadow:0 4px 14px -6px rgba(12,123,179,.5)}
.ig-feed .post{padding:14px 0 10px;margin:0 0 26px}
.ig-feed #feed-stream .post:first-child{padding-top:16px}
/* — Caption/disc clearance rule (v15, measured, permanent): at rest
   on Moments (scroll 0), the lead post's caption block bottom must
   clear the floating Rooney disc's top by at least 8px — for 1-line
   and 2-line titles alike (the two-line caption clamp makes the two
   cases nearly equal in height). The chrome above the media is
   fixed (head + banner + Moments bar + post head + actions) and the
   disc's top rides ~97px above the viewport bottom, so the lead
   media's height budget is the viewport height minus 478px.
   Measured at 390×844 before this cap: clearance −2.9px (1-line
   title) / −5.5px (2-line). With the cap: ≈ +19px in both cases —
   asserted by the probe in qa/v15_qa.py. Mobile only: the desktop
   feed card has no disc to clear. — */
@media(max-width:999px){
  .ig-feed #feed-stream .post:first-child .post-media img,
  .ig-feed #feed-stream .post:first-child .post-media video,
  .ig-feed #feed-stream .post:first-child .post-text-frame,
  .ig-feed #feed-stream .post:first-child .post-voice-frame{max-height:calc(100dvh - 478px)}
}

/* — Fix 1: a real caption type system. The title/people line is the
   board's serif display, confident and near-black; Rooney's
   attribution is a semibold name, never a shout; the family's own
   words are serif italic (a different voice from Rooney's sans);
   date/count meta is one small quiet grey. No all-grey mush. — */
.post-head{padding:0 0 10px}
.post-who{font-size:13.5px;font-weight:600;color:var(--fx-ink)}
.post-my{font-size:12px;color:var(--fx-soft)}
.post-sample{background:var(--fx-pill-bg);border-color:var(--fx-line);color:var(--fx-soft)}
.post-caption{padding:8px 0 0}
.post-cap-text{font-size:14.5px;line-height:1.5;color:var(--fx-ink)}
.post-cap-title{font-family:var(--font-display);font-weight:400;font-size:19px;line-height:1.28;color:var(--fx-ink);letter-spacing:.002em}
.post-author{font-weight:700;font-size:13.5px;color:var(--fx-ink)}
.post-family-line{font-family:var(--font-display);font-style:italic;font-size:16px;line-height:1.45;color:var(--fx-ink2);margin-top:6px}
.post-date{font-size:11.5px;color:var(--fx-soft);margin-top:5px;letter-spacing:.01em}
.post-more{background:transparent;color:var(--fx-accent);font-weight:600}
/* The 'Made by Rooney · N moments' tag becomes a real chip — this is
   also the raw-vs-Rooney-built distinguisher, visible at a glance. */
.post-maker{display:inline-flex;align-items:center;font-size:11px;font-weight:700;letter-spacing:.02em;line-height:1;padding:5px 10px;border-radius:100px;margin:0 0 8px;background:var(--fx-maker-bg);color:var(--fx-maker-ink);border:1px solid var(--fx-maker-line)}

/* — Fix 2: the action row is designed, never vacant. The house four
   reactions sit in visible pills at zero counts; comment + share
   align on the same baseline. (Hero + growth posts now target their
   thread in igFeedCardHTML, so their rows carry reactions too.) — */
.post-actions{padding:10px 0 2px;min-height:42px;align-items:center}
.post-actions .reactions{gap:6px}
.post-actions .react-btn{background:var(--fx-pill-bg);border:1px solid var(--fx-pill-line);border-radius:100px;padding:6px 10px;font-size:14px;line-height:1;color:var(--fx-ink)}
.post-actions .react-btn.mine{background:var(--fx-mine-bg);border-color:transparent;font-weight:600}
.post-actions .comment-toggle-ig{color:var(--fx-ink)}
.post-share{color:var(--fx-ink2)}
.post-share-btn{color:var(--fx-accent);font-weight:600}
.post-actions .comments{border-top-color:var(--fx-line)}

/* — Fix 7: one icon family in the bottom nav — same box, same stroke
   weight, same optical size, whatever the glyph. — */
.bottom-nav svg{width:23px;height:23px;stroke-width:1.7}
.bottom-link{color:var(--fx-soft)}



/* ================================================================
   DARK THEATER (continued). Near-black cinematic ground; media
   carries the colour; chrome goes frosted glass; type turns warm
   white and confident. (Today + Threads get their own sections
   below; the full-screen viewer follows.)
   ================================================================ */
body{background:#0D0E13;color:var(--fx-ink)}
.post-media{background:#050506}
.post-text-frame{background:linear-gradient(155deg,#1A1C26,#101118 58%,#201426)}
.post-text-serif{color:var(--fx-ink)}
.post-micro{color:var(--fx-soft)}
.post-voice-frame{background:linear-gradient(160deg,#1A1C26,#101118 62%,#201426)}
.prompt-strip{background:rgba(255,255,255,.05);border-color:var(--fx-line);color:var(--fx-ink)}
.strip-label{color:var(--fx-ink2)}
.strip-go{color:var(--fx-accent)}
.post-note-line{color:var(--fx-soft)}
.today-wrap.ig-feed{background:transparent}
@media(max-width:999px){
  .explore-bar{top:56px;padding:10px 20px 8px}
  /* D shell: the mobile head goes dark glass; its actions become the
     board's frosted pill (find · add · bell · your avatar). */
  .mobile-head{background:rgba(13,14,19,.86);backdrop-filter:blur(16px) saturate(1.25);-webkit-backdrop-filter:blur(16px) saturate(1.25)}
  .mh-actions.fx-pill{display:flex;align-items:center;gap:2px;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.10);border-radius:100px;padding:3px}
  .mh-actions.fx-pill .mh-btn{width:34px;height:34px;border:none;background:transparent;color:#F5F2EC;font-size:16px;display:inline-flex;align-items:center;justify-content:center;padding:0}
  .mh-actions.fx-pill .mh-btn svg{width:19px;height:19px}
  .mh-actions.fx-pill .mh-capture{background:var(--fx-grad);color:#fff}
  .mh-actions.fx-pill #btn-menu-mobile{display:none}
  .fx-bell{position:relative}
  .fx-belldot{position:absolute;top:5px;right:6px;width:8px;height:8px;border-radius:50%;background:#F2BAE8;border:1.5px solid #14151D}
  .fx-avatar{width:34px;height:34px;flex:none;border-radius:50%;border:none;background:var(--fx-grad);color:#fff;font-family:var(--font-ui);font-size:14px;font-weight:700;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;padding:0}
  /* D nav: the board's floating glass pill. Roon's five slots and the
     Rooney disc stay — the disc's light circle pops on the dark pill
     exactly like the boards' white active element. */
  .bottom-nav{left:10px;right:10px;bottom:calc(10px + env(safe-area-inset-bottom));border-radius:26px;background:rgba(15,16,23,.72);backdrop-filter:blur(20px) saturate(1.3);-webkit-backdrop-filter:blur(20px) saturate(1.3);border:1px solid rgba(255,255,255,.09);box-shadow:0 18px 40px -12px rgba(0,0,0,.65);padding:6px 6px 8px}
  .main{padding-bottom:124px}
}


/* ================================================================
   FULL-SCREEN MOMENT VIEWER (built by design.js).
   The lights go down: the moment fills the phone, the caption
   floats in a frosted-glass card, reactions run down the right
   rail — the boards' grammar, Roon's real content and counts.
   ================================================================ */
body.fx-locked{overflow:hidden}
.fx-viewer{position:fixed;inset:0;z-index:110;background:#000;color:var(--fx-glass-ink,#F5F2EC)}
.fx-viewer[hidden]{display:none}
.fx-viewer-media{position:absolute;inset:0}
.fx-viewer-media img,.fx-viewer-media video{width:100%;height:100%;object-fit:cover;display:block;background:#000}
.fx-viewer-close{position:absolute;top:calc(12px + env(safe-area-inset-top));right:14px;z-index:3;width:38px;height:38px;border-radius:50%;border:1px solid var(--fx-glass-line);background:var(--fx-glass);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);color:var(--fx-glass-ink);display:flex;align-items:center;justify-content:center;cursor:pointer;padding:0}
.fx-viewer-close svg{width:17px;height:17px}
.fx-viewer-nav{position:absolute;top:50%;transform:translateY(-50%);z-index:3;width:38px;height:38px;border-radius:50%;border:1px solid var(--fx-glass-line);background:var(--fx-glass);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);color:var(--fx-glass-ink);display:flex;align-items:center;justify-content:center;cursor:pointer;padding:0}
.fx-viewer-nav svg{width:18px;height:18px}
.fx-viewer-nav:disabled{opacity:.32;cursor:default}
.fx-viewer-prev{left:10px}
.fx-viewer-next{right:10px}
.fx-viewer-rail{position:absolute;right:12px;bottom:148px;z-index:3;display:flex;flex-direction:column;gap:10px;align-items:center}
.fx-rail-btn{min-width:46px;padding:7px 4px 6px;border-radius:100px;border:1px solid var(--fx-glass-line);background:var(--fx-glass);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);color:var(--fx-glass-ink);display:flex;flex-direction:column;align-items:center;gap:1px;cursor:pointer;font-family:var(--font-ui)}
.fx-rail-btn.mine{border-color:rgba(242,186,232,.55)}
.fx-rail-emoji{font-size:18px;line-height:1.15}
.fx-rail-ico{display:flex;line-height:1}
.fx-rail-ico svg{width:19px;height:19px}
.fx-rail-count{font-size:10px;font-weight:600;line-height:1.1}
.fx-viewer-card{position:absolute;left:14px;right:74px;bottom:calc(16px + env(safe-area-inset-bottom));z-index:2;background:var(--fx-glass);backdrop-filter:blur(20px) saturate(1.3);-webkit-backdrop-filter:blur(20px) saturate(1.3);border:1px solid var(--fx-glass-line);border-radius:20px;padding:13px 16px 12px;color:var(--fx-glass-ink)}
.fx-viewer-who{margin:0 0 5px;font-size:12px;font-weight:600;color:var(--fx-glass-ink);opacity:.85}
.fx-viewer-cap .post-caption{padding:0}
.fx-viewer-cap .post-cap-text,.fx-viewer-cap .post-cap-title,.fx-viewer-cap .post-author{color:var(--fx-glass-ink)}
.fx-viewer-cap .post-family-line{color:var(--fx-glass-ink);opacity:.92}
.fx-viewer-cap .post-date{color:var(--fx-glass-ink);opacity:.6}
.fx-viewer-openwrap{margin:8px 0 0}
.fx-viewer-open{color:var(--fx-accent);font-size:13.5px;font-weight:600;text-decoration:none}
.fx-expand{position:absolute;top:10px;right:10px;z-index:4;width:34px;height:34px;border-radius:50%;background:rgba(10,10,16,.44);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer}
.fx-expand svg{width:17px;height:17px}
.post-media{position:relative}

/* ================================================================
   TODAY, in the EchoTalk composition (Jeff's board,
   element for element; content is the sample family's real data,
   injected by variant.js):
   wordmark + frosted pill (above, shell) → Quick Search row →
   the Den people row (invite circle first, then real faces) →
   featured card (full-bleed photo, glass identity pill top,
   display title bottom-left, stat strip under it) → shelves.
   ================================================================ */
.fx-searchrow{display:flex;gap:10px;align-items:center;margin:4px 0 16px}
.fx-search{flex:1;display:flex;align-items:center;gap:10px;background:#171922;border:1px solid rgba(255,255,255,.07);border-radius:100px;padding:14px 18px;color:rgba(245,242,236,.55);font-family:var(--font-ui);font-size:15px;cursor:pointer;text-align:left}
.fx-search svg{width:19px;height:19px;flex:none}
.fx-orb{width:48px;height:48px;flex:none;border-radius:50%;border:none;background:var(--fx-grad);color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;padding:0}
.fx-orb svg{width:21px;height:21px}
.fx-people{display:flex;gap:14px;overflow-x:auto;padding:2px 2px 12px;scrollbar-width:none}
.fx-people::-webkit-scrollbar{display:none}
.fx-person{display:flex;flex-direction:column;align-items:center;gap:6px;flex:none;text-decoration:none;color:var(--fx-ink2);font-size:11px;font-weight:500}
.fx-face{width:58px;height:58px;border-radius:50%;overflow:hidden;border:2px solid rgba(255,255,255,.16);background:#1B1D26;display:flex;align-items:center;justify-content:center;color:var(--fx-ink)}
.fx-face img{width:100%;height:100%;object-fit:cover;display:block}
.fx-face--plus{border:1.5px dashed rgba(255,255,255,.35);background:transparent;font-size:24px;font-weight:400;color:rgba(245,242,236,.8)}
.fx-face-init{font-size:19px;font-weight:700}
.fx-pname{max-width:64px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.fx-person{position:relative}
.fx-facedot{position:absolute;top:1px;right:6px;width:10px;height:10px;border-radius:50%;background:var(--fx-grad);border:2px solid #0D0E13;z-index:2}
/* "New in your story" — the Den's one activity surface (Den build).
   Quiet lines, a soft dot, no counts, no badges. */
.fx-activity{margin:2px 0 18px;background:#14151D;border:1px solid rgba(255,255,255,.07);border-radius:18px;padding:14px 16px 10px}
.fx-activity-head{display:flex;align-items:center;gap:8px;margin:0 0 8px}
.fx-activity-head h2{font-family:var(--font-ui);font-size:15px;font-weight:700;color:var(--fx-ink);margin:0}
.fx-activity-dot{width:8px;height:8px;border-radius:50%;background:var(--fx-grad);flex:none}
.fx-activity ul{list-style:none;margin:0;padding:0}
.fx-activity li{margin:0;padding:7px 0;border-top:1px solid rgba(255,255,255,.05)}
.fx-activity li:first-child{border-top:none}
.fx-activity a{color:var(--fx-ink2);text-decoration:none;font-size:13.5px;line-height:1.45;display:block}
.fx-activity a strong{color:var(--fx-ink);font-weight:600}
/* Featured card: the app's own Today cover, composed like the board's. */
.today-cover-wrap{margin:0 0 6px}
.today-cover{border-radius:26px;box-shadow:0 24px 48px -20px rgba(0,0,0,.7)}
.today-cover-label{display:none}
.today-cover-sample{top:20px;right:16px;background:rgba(15,16,23,.45);backdrop-filter:blur(10px);border-color:rgba(255,255,255,.25);border-radius:100px;padding:2px 8px}
.today-cover-line{font-size:38px;line-height:1.08}
.today-cover-tile{border-radius:14px;border-color:rgba(255,255,255,.28)}
.today-share-btn{background:rgba(15,16,23,.55);backdrop-filter:blur(12px);border-color:rgba(255,255,255,.18);color:#F5F2EC}
.fx-coverpill{position:absolute;top:14px;left:14px;z-index:3;display:flex;align-items:center;gap:10px;background:rgba(15,16,23,.45);backdrop-filter:blur(16px) saturate(1.3);-webkit-backdrop-filter:blur(16px) saturate(1.3);border:1px solid rgba(255,255,255,.17);border-radius:100px;padding:5px 15px 5px 6px;color:#fff}
.fx-coverpill-mark{width:30px;height:30px;flex:none;border-radius:50%;background:rgba(255,255,255,.92);display:flex;align-items:center;justify-content:center;overflow:hidden}
.fx-coverpill-mark img{width:21px;height:21px;object-fit:contain;display:block}
.fx-coverpill-main{display:flex;flex-direction:column;line-height:1.2}
.fx-coverpill-name{font-size:13px;font-weight:600}
.fx-coverpill-sub{font-size:11px;color:rgba(255,255,255,.75)}
/* Shelves: horizontally scrolling real threads + stories. */
.fx-shelf{margin:24px 0 0}
.fx-shelf-head{display:flex;justify-content:space-between;align-items:baseline;margin:0 0 10px}
.fx-shelf-head h2{font-family:var(--font-ui);font-size:17px;font-weight:700;color:var(--fx-ink);margin:0}
.fx-shelf-head a{font-size:13px;color:var(--fx-soft);text-decoration:none}
.fx-shelf-track{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;padding:2px 2px 8px;margin-right:-20px;scrollbar-width:none}
.fx-shelf-track::-webkit-scrollbar{display:none}
.fx-card{flex:0 0 148px;scroll-snap-align:start;text-decoration:none}
.fx-card-img{display:block;width:148px;height:110px;border-radius:16px;overflow:hidden;background:#171922}
.fx-card-img img{width:100%;height:100%;object-fit:cover;display:block}
.fx-card-mark{display:flex;width:100%;height:100%;align-items:center;justify-content:center}
.fx-card-mark img{width:44px;height:44px;object-fit:contain;opacity:.85}
.fx-card-title{display:block;margin-top:8px;font-size:13.5px;font-weight:600;line-height:1.3;color:var(--fx-ink)}
.fx-card-meta{display:block;margin-top:2px;font-size:11.5px;color:var(--fx-soft)}

/* ================================================================
   THREADS as the discovery grid (image-5's left
   screen): followed threads become portrait cover cards — image,
   title + count over the scrim at the bottom. Proposal rows stay
   decision rows (they carry Follow / Not for me), restyled dark.
   ================================================================ */
.threads-title{color:var(--fx-ink)}
.threads-sub{color:var(--fx-soft)}
.section-title{color:var(--fx-ink)}
.thread-row{background:#14151D;border-color:var(--fx-line);color:var(--fx-ink)}
.thread-row:active{background:#171922}
.thread-row-title{color:var(--fx-ink)}
.thread-row-meta{color:var(--fx-soft)}
.thread-row-thumb{background:#1B1D26}
.fx-threadgrid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0 0 10px}
.fx-threadgrid .thread-row:only-child{grid-column:1/-1;aspect-ratio:16/10}
.fx-threadgrid .thread-row{position:relative;display:block;aspect-ratio:3/3.7;margin:0;padding:0;border:none;border-radius:20px;overflow:hidden;background:#171922;box-shadow:0 16px 32px -18px rgba(0,0,0,.7)}
.fx-threadgrid .thread-row-thumb{position:absolute;inset:0;width:100%;height:100%;border-radius:0;background:#1B1D26}
.fx-threadgrid .thread-row-thumb img{width:100%;height:100%;object-fit:cover}
.fx-threadgrid .thread-row-thumb img.mark{width:64px;height:64px;margin:auto;object-fit:contain}
.fx-threadgrid .thread-row-thumb{display:flex}
.fx-threadgrid .thread-row-main{position:absolute;left:0;right:0;bottom:0;z-index:2;padding:36px 12px 11px;background:linear-gradient(180deg,rgba(5,5,10,0),rgba(5,5,10,.85));display:block}
.fx-threadgrid .thread-row-title{color:#fff;font-size:17px;line-height:1.2;margin:0 0 3px}
.fx-threadgrid .thread-row-meta{color:rgba(255,255,255,.78);font-size:11px;margin:0}
.fx-threadgrid .thread-row-strip,.fx-threadgrid .thread-row-shareline,.fx-threadgrid .thread-row-chev{display:none}
.ask-card{background:#14151D;border-color:var(--fx-line);color:var(--fx-ink)}
.share-scope-list{margin:0 0 12px;max-height:220px;overflow:auto}
.share-scope-row{margin:0 0 4px;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
