/* TynHub public pages — "The Exhibition Hall" design system (UI v1.1).
   Contract: tynhub-prds/DESIGN-tynhub-ui.md + the approved mockup artifact.
   Laws: slate=structure, azure=interactive, ember=activity only,
   violet=featured only; no hue does two jobs. Motion: bump / ember glow /
   plate rail only — nothing animates on scroll, ever. */

/* ---------- fonts (self-hosted, latin subsets) ---------- */
@font-face{font-family:'Barlow Semi Condensed';font-style:normal;font-weight:600;font-display:swap;src:url(/static/fonts/barlow-semicondensed-600.woff2) format('woff2')}
@font-face{font-family:'Barlow Semi Condensed';font-style:normal;font-weight:700;font-display:swap;src:url(/static/fonts/barlow-semicondensed-700.woff2) format('woff2')}
@font-face{font-family:'Source Serif 4';font-style:normal;font-weight:400;font-display:swap;src:url(/static/fonts/source-serif-400.woff2) format('woff2')}
@font-face{font-family:'Source Serif 4';font-style:normal;font-weight:600;font-display:swap;src:url(/static/fonts/source-serif-600.woff2) format('woff2')}
@font-face{font-family:'IBM Plex Mono';font-style:normal;font-weight:400;font-display:swap;src:url(/static/fonts/plex-mono-400.woff2) format('woff2')}
@font-face{font-family:'IBM Plex Mono';font-style:normal;font-weight:500;font-display:swap;src:url(/static/fonts/plex-mono-500.woff2) format('woff2')}

/* ---------- tokens ---------- */
:root{
  --paper:#F4F4F2; --slate:#24303E; --ink:#23272C;
  --ember:#D95B22; --ember-text:#BC4A16;
  --violet:#6C4CD9; --violet-text:#5A3AC8;
  --line:#CDD0D4; --panel:#FFFFFF; --muted:#6A7077;
  --slate-ink:#EDF0F3; --azure:#1E6FB2;
  --sig:'Barlow Semi Condensed',system-ui,sans-serif;
  --read:'Source Serif 4',Georgia,serif;
  --reg:'IBM Plex Mono',ui-monospace,SFMono-Regular,monospace;
}
@media (prefers-color-scheme: dark){
  :root{
    --paper:#14181E; --slate:#121A24; --ink:#E7E9EC;
    --ember:#ED7A3C; --ember-text:#ED7A3C;
    --violet:#9B82F0; --violet-text:#AC96F5;
    --line:#333B45; --panel:#1C232C; --muted:#8B939C;
    --slate-ink:#DCE2E9; --azure:#6FB1E8;
  }
}

/* ---------- base ---------- */
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--read);font-size:17px;line-height:1.6}
h1,h2,h3,h4{margin:0;text-wrap:balance}
a{color:var(--azure)}
img{max-width:100%}
:focus-visible{outline:2px solid var(--ember);outline-offset:2px}
@media (prefers-reduced-motion: reduce){*,*::before,*::after{transition:none!important;animation:none!important}}

main{max-width:1060px;margin:0 auto;padding:28px 22px 64px}
.label{font-family:var(--sig);font-weight:600;text-transform:uppercase;letter-spacing:.08em;font-size:13px;color:var(--ink);display:flex;align-items:center;gap:10px;margin:0 0 12px}
.label::after{content:"";flex:1;border-bottom:1px solid var(--line)}
.label.viol{color:var(--violet-text)}
.mono{font-family:var(--reg);font-size:13px}
.tick{display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--ember)}
@keyframes emberpulse{0%,100%{opacity:1}50%{opacity:.4}}
.tick.hot{animation:emberpulse 2.4s ease-in-out infinite}
.stale{color:var(--muted)}

/* ---------- masthead ---------- */
.site-header{background:var(--slate);color:var(--slate-ink)}
.site-header .hrow{max-width:1060px;margin:0 auto;display:flex;align-items:center;gap:22px;padding:0 22px;height:58px}
.brand{display:flex;align-items:center;gap:11px;text-decoration:none;color:var(--slate-ink)}
.brand img{width:32px;height:32px;border-radius:50%;display:block}
.brand .lock{display:flex;flex-direction:column;line-height:1.15}
.brand .word{font-family:var(--sig);font-weight:700;font-size:17px;letter-spacing:.08em}
.brand .subword{font-family:var(--reg);font-size:8.5px;letter-spacing:.16em;opacity:.65}
.hspace{flex:1}
.hsearch{display:flex;align-items:center;gap:8px;min-width:0;flex:0 1 340px}
.hsearch input{flex:1;min-width:0;font-family:var(--reg);font-size:12.5px;color:var(--slate-ink);background:rgba(237,240,243,.08);border:1px solid rgba(237,240,243,.3);border-radius:2px;padding:7px 12px}
.hsearch input::placeholder{color:var(--slate-ink);opacity:.55}
.hsignin{font-family:var(--sig);font-weight:600;font-size:14px;color:var(--slate-ink);border:1px solid rgba(237,240,243,.4);border-radius:2px;padding:6px 14px;text-decoration:none;white-space:nowrap}
.halls{border-top:1px solid rgba(237,240,243,.14)}
.halls .hrow2{max-width:1060px;margin:0 auto;display:flex;gap:2px;padding:0 14px;overflow-x:auto;white-space:nowrap;-webkit-overflow-scrolling:touch;scrollbar-width:none;-webkit-mask-image:linear-gradient(to right,#000 calc(100% - 36px),transparent);mask-image:linear-gradient(to right,#000 calc(100% - 36px),transparent)}
.halls .hrow2::-webkit-scrollbar{display:none}
.halls .hrow2>*{flex:0 0 auto}
.hall{font-family:var(--sig);font-weight:600;font-size:13.5px;letter-spacing:.05em;color:var(--slate-ink);opacity:.75;text-decoration:none;padding:9px 12px 7px;border-bottom:2px solid transparent;white-space:nowrap}
.hall:hover{opacity:1}
.hall.cur{opacity:1;border-bottom-color:var(--slate-ink)}

/* ---------- footer ---------- */
.site-footer{border-top:1px solid var(--line);margin-top:56px}
.site-footer .frow{max-width:1060px;margin:0 auto;padding:18px 22px 36px;font-family:var(--reg);font-size:11.5px;color:var(--muted);display:flex;gap:22px;flex-wrap:wrap}
.site-footer a{color:var(--muted);text-decoration:none}

/* ---------- stand plate ---------- */
.plate{background:var(--panel);border:1px solid var(--line);border-radius:2px;box-shadow:inset 0 3px 0 var(--slate);display:flex;flex-direction:column;transition:box-shadow .18s ease}
.plate:hover{box-shadow:inset 0 5px 0 var(--slate)}
.plate.featured{box-shadow:inset 0 3px 0 var(--violet)}
.plate.featured:hover{box-shadow:inset 0 5px 0 var(--violet)}
.plate .strip{display:flex;align-items:center;gap:8px;padding:8px 14px;border-bottom:1px solid var(--line);font-family:var(--reg);font-size:12px;color:var(--muted)}
.plate .strip .dots{flex:1;border-bottom:1px dotted var(--line);height:1px;margin:0 4px;opacity:.55;transition:opacity .18s ease}
.plate:hover .strip .dots{opacity:1}
.plate .strip .act{color:var(--ink);display:flex;align-items:center;gap:6px;white-space:nowrap}
.ftag{font-family:var(--reg);font-size:10.5px;letter-spacing:.08em;color:var(--violet-text);border:1px solid var(--violet);border-radius:2px;padding:1px 6px}
.plate .pbody{padding:12px 14px 8px}
.brow{display:flex;gap:11px;align-items:flex-start}
.brow .bstack{display:flex;flex-direction:column;gap:5px;min-width:0}
.plate .name{font-family:var(--sig);font-weight:700;font-size:19px;letter-spacing:.05em;text-transform:uppercase}
.plate .name a{color:var(--ink);text-decoration:none}
.plate .tagline{font-size:14px;line-height:1.45}
.vmark{color:var(--azure);font-size:13px}
.slots{display:flex;flex-direction:column;border-top:1px solid var(--line)}
.slot{display:flex;align-items:baseline;gap:10px;padding:8px 14px;border-bottom:1px dotted var(--line);font-size:14.5px}
.slot:last-child{border-bottom:0}
.slot a{color:var(--ink);text-decoration:none;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.slot a:hover{color:var(--azure)}
.slot .smeta{font-family:var(--reg);font-size:11.5px;color:var(--muted);white-space:nowrap;display:flex;align-items:center;gap:6px}
.slot .smeta .tick{width:6px;height:6px}
.slot.empty{color:var(--muted);font-style:italic}
.plate .footrow{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 14px;border-top:1px solid var(--line);font-family:var(--reg);font-size:11.5px;color:var(--muted)}
.plate .footrow a{font-family:var(--sig);font-weight:600;font-size:12.5px;letter-spacing:.03em;text-decoration:none;color:var(--azure);white-space:nowrap}

/* stand marks — org logo, else deterministic placeholder tile */
.smark{width:34px;height:34px;border-radius:3px;font-family:var(--sig);font-weight:700;font-size:14px;color:#fff;display:flex;align-items:center;justify-content:center;flex-shrink:0;letter-spacing:.02em;overflow:hidden}
.smark img{width:100%;height:100%;object-fit:cover}
.smark.lg{width:46px;height:46px;font-size:18px;border-radius:4px}
.sm-0{background:#4A7396}.sm-1{background:#85597B}.sm-2{background:#A85B38}
.sm-3{background:#4E7F86}.sm-4{background:#8C7A5B}.sm-5{background:#5C6670}

/* plate grids */
.plates{display:grid;grid-template-columns:repeat(2,1fr);gap:14px;margin-bottom:34px}
@media (max-width:720px){.plates{grid-template-columns:1fr}}

/* ---------- thread table ---------- */
.ttable{width:100%;border-collapse:collapse;background:var(--panel);border:1px solid var(--line)}
.ttable th{font-family:var(--sig);font-weight:600;font-size:12px;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);text-align:left;padding:9px 14px;border-bottom:1px solid var(--line)}
.ttable td{padding:12px 14px;border-bottom:1px solid var(--line);vertical-align:baseline}
.ttable tr:last-child td{border-bottom:0}
.ttable tbody tr{transition:background .12s ease}
.ttable tbody tr:hover{background:color-mix(in srgb,var(--slate) 4%,var(--panel))}
.t-title{font-family:var(--read);font-size:16px}
.t-title a{color:var(--ink);text-decoration:none}
.t-title a:hover{color:var(--azure)}
.t-sub{font-family:var(--reg);font-size:12px;color:var(--muted);margin-top:2px}
.t-num{font-family:var(--reg);font-size:13px;font-variant-numeric:tabular-nums;text-align:right;color:var(--muted);white-space:nowrap}
.t-act{font-family:var(--reg);font-size:13px;white-space:nowrap;text-align:right}
.t-act .tick{margin-right:7px}
tr.pinned td:first-child{box-shadow:inset 3px 0 0 var(--slate)}
.mtag{font-family:var(--reg);font-size:11px;letter-spacing:.06em;color:var(--muted);border:1px solid var(--line);padding:1px 6px;border-radius:2px;vertical-align:middle;margin-left:8px}

/* ---------- buttons & chips ---------- */
.btn{display:inline-block;font-family:var(--sig);font-weight:600;font-size:15px;letter-spacing:.03em;padding:9px 18px;border-radius:2px;border:1px solid var(--azure);background:var(--azure);color:#fff;text-decoration:none;cursor:pointer}
.btn.ghost{background:transparent;color:var(--azure)}
.demochip{display:inline-flex;align-items:center;gap:7px;font-family:var(--reg);font-size:11.5px;letter-spacing:.05em;border:1px solid var(--ember);color:var(--ink);border-radius:2px;padding:4px 10px}

/* ---------- crumbs & stand header ---------- */
.crumb{font-family:var(--reg);font-size:12.5px;color:var(--muted);margin-bottom:14px}
.crumb a{color:var(--azure);text-decoration:none}
.stand-head{background:var(--panel);border:1px solid var(--line);border-top:3px solid var(--slate);border-radius:2px;padding:0 0 18px;margin-bottom:26px}
.stand-head .strip{display:flex;align-items:center;gap:8px;padding:9px 20px;border-bottom:1px solid var(--line);font-family:var(--reg);font-size:12px;color:var(--muted)}
.stand-head .strip .dots{flex:1;border-bottom:1px dotted var(--line);height:1px}
.stand-head .strip .act{color:var(--ink);display:flex;align-items:center;gap:6px}
.stand-head .hgrid{display:grid;grid-template-columns:1fr 250px;gap:26px;padding:18px 20px 0}
@media (max-width:720px){.stand-head .hgrid{grid-template-columns:1fr}}
.stand-head .name{font-family:var(--sig);font-weight:700;font-size:32px;letter-spacing:.05em;text-transform:uppercase}
.stand-head .tagline{font-size:17px;margin-top:6px}
.stand-head .counts{font-family:var(--reg);font-size:12.5px;color:var(--muted);margin-top:14px;display:flex;gap:18px;flex-wrap:wrap}
.embed{border:1px solid var(--line);border-radius:2px;background:var(--paper)}
.embed iframe{display:block;width:100%;height:150px;border:0}
.embed .shot{height:86px;background:repeating-linear-gradient(-45deg,color-mix(in srgb,var(--line) 40%,transparent) 0 1px,transparent 1px 9px)}
.embed .erow{display:flex;align-items:center;gap:9px;padding:9px 12px;border-top:1px solid var(--line)}
.embed .fav{width:20px;height:20px;background:var(--slate);color:var(--slate-ink);font-family:var(--sig);font-weight:700;font-size:12px;display:flex;align-items:center;justify-content:center;border-radius:2px;flex-shrink:0}
.embed .dom{font-family:var(--reg);font-size:12px;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.embed .go{font-family:var(--sig);font-weight:600;font-size:12.5px;color:var(--azure);text-decoration:none;white-space:nowrap}
.thead-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.thead-row .label{margin:0}

/* ---------- post page ---------- */
.post-title{font-family:var(--read);font-weight:600;font-size:32px;line-height:1.25;margin:4px 0 10px}
.byline{display:flex;align-items:center;gap:10px;font-family:var(--reg);font-size:12.5px;color:var(--muted);margin-bottom:22px;flex-wrap:wrap}
.avvy{width:24px;height:24px;border-radius:50%;background:var(--slate);color:var(--slate-ink);font-family:var(--sig);font-weight:600;font-size:12px;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}
.post-body{background:var(--panel);border:1px solid var(--line);border-radius:2px;padding:22px 24px;max-width:68ch}
.post-body>*:first-child{margin-top:0}
.post-body>*:last-child{margin-bottom:0}
.post-body pre{overflow-x:auto;background:var(--paper);border:1px solid var(--line);padding:12px;font-size:14px}
.views{font-family:var(--reg);font-size:12px;color:var(--muted)}
.edited{font-family:var(--reg);font-size:11.5px;color:var(--muted);margin-top:14px;display:block}
.replies-label{margin-top:30px}
.comment{background:var(--panel);border:1px solid var(--line);border-radius:2px;padding:16px 20px;margin-bottom:12px;max-width:68ch}
.comment .c-head{display:flex;align-items:center;gap:10px;font-family:var(--reg);font-size:12.5px;color:var(--muted);margin-bottom:9px;flex-wrap:wrap}
.comment .c-num{color:var(--ember-text);font-weight:500}
.comment .c-body>*:first-child{margin-top:0}
.comment .c-body>*:last-child{margin-bottom:0}
.quote{border-left:3px solid var(--line);background:var(--paper);padding:9px 14px;margin:0 0 10px;border-radius:0 2px 2px 0}
.quote .q-cite{font-family:var(--reg);font-size:11.5px;color:var(--muted);display:block;margin-bottom:4px}
.quote p{font-size:15px;color:var(--muted);margin:0}
.reply-cta{display:flex;align-items:center;gap:14px;margin-top:22px;flex-wrap:wrap}
.reply-cta .bump-note{font-family:var(--reg);font-size:11.5px;color:var(--muted);display:flex;align-items:center;gap:7px}
.reply-cta .bump-note .tick{width:7px;height:7px}

/* bump FLIP hook: rows given .bumping transition their transform (set by JS) */
tr.bumping{transition:transform .3s cubic-bezier(.2,.7,.3,1)}

/* ---------- profiles ---------- */
.profile-head{display:flex;align-items:center;gap:16px;margin-bottom:22px}
.profile-head .avvy{width:48px;height:48px;font-size:20px}
.profile-head .who{display:flex;flex-direction:column;gap:3px}
.profile-head .handle{font-family:var(--sig);font-weight:700;font-size:24px;letter-spacing:.03em}
.profile-head .meta{font-family:var(--reg);font-size:12px;color:var(--muted)}
.badge{display:inline-flex;align-items:center;gap:6px;font-family:var(--reg);font-size:11.5px;border:1px solid var(--line);border-radius:2px;padding:2px 8px;color:var(--muted)}

/* ---------- pagination / empty / misc ---------- */
.pagination{display:flex;gap:8px;align-items:center;font-family:var(--reg);font-size:13px;margin-top:18px}
.pagination a{color:var(--azure);text-decoration:none;padding:3px 8px;border:1px solid var(--line);border-radius:2px}
.pagination .cur{padding:3px 8px;border:1px solid var(--ink);border-radius:2px}
.empty{font-size:15px;color:var(--muted);background:var(--panel);border:1px dashed var(--line);border-radius:2px;padding:22px;max-width:68ch}
.err-page{max-width:56ch;margin:64px auto;text-align:left}
.err-page h1{font-family:var(--sig);font-weight:700;font-size:30px;text-transform:uppercase;letter-spacing:.05em}

/* ---------- responsive ---------- */
@media (max-width:640px){
  .site-header .hrow{gap:12px}
  .hsearch{flex:1 1 auto}
  .brand .subword{display:none}
  .stand-head .name{font-size:26px}
  .post-title{font-size:26px}
  .t-sub{display:block}
}

/* ---------- user profile (append-only: classes referenced by user.html;
   org.html was later redesigned onto the stand-plate/ttable system below,
   so it no longer needs a bespoke profile layout) ---------- */
.user-profile{max-width:68ch}
.user-header{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-bottom:18px}
.avatar{width:48px;height:48px;border-radius:50%;object-fit:cover;flex-shrink:0;background:var(--slate)}
.user-header h1{font-family:var(--sig);font-weight:700;font-size:26px;letter-spacing:.03em;margin:0}
.user-handle{font-family:var(--reg);font-size:13px;color:var(--muted);margin:2px 0 0}
.user-joined{font-family:var(--reg);font-size:12px;color:var(--muted);margin:2px 0 0}
.user-bio{font-size:16px;line-height:1.6;margin-bottom:22px}
.user-bio>*:first-child{margin-top:0}
.user-bio>*:last-child{margin-bottom:0}
.user-badges h2{font-family:var(--sig);font-weight:600;font-size:13px;text-transform:uppercase;letter-spacing:.08em;color:var(--ink);margin:0 0 10px}
.badge-list{list-style:none;padding:0;margin:0;display:flex;flex-wrap:wrap;gap:8px}

/* ---------- org profile header (stand-head hgrid variant with no side
   embed preview, since orgs don't have their own embedded site) ---------- */
.stand-head .hgrid.solo{grid-template-columns:1fr}

/* ---------- search page (search.go inline template) ---------- */
.search-form{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:22px}
.search-form label{color:var(--muted)}
.search-form input[type=search]{flex:1;min-width:220px;font-family:var(--read);font-size:15px;padding:8px 12px;border:1px solid var(--line);border-radius:2px;background:var(--panel);color:var(--ink)}
.search-meta{color:var(--muted);margin-bottom:14px}

/* ---------- comments section & load-more (post page) ---------- */
.comments{margin-top:8px}
.load-more{display:inline-block;font-family:var(--sig);font-weight:600;font-size:14px;letter-spacing:.03em;padding:8px 16px;border-radius:2px;border:1px solid var(--line);background:var(--panel);color:var(--azure);cursor:pointer;margin-top:14px}
.load-more:hover{border-color:var(--azure)}

/* ---------- pagination status span ---------- */
.pagination-status{font-family:var(--reg);font-size:12.5px;color:var(--muted);padding:3px 8px}

/* ---------- reconciliation appends (search page + org modifiers) ---------- */
.hgrid.solo{grid-template-columns:1fr}
.search-form{display:flex;gap:8px;margin:0 0 18px;max-width:480px}
.search-form input{flex:1;min-width:0;font-family:var(--reg);font-size:13px;color:var(--ink);background:var(--panel);border:1px solid var(--line);border-radius:2px;padding:8px 12px}
.search-meta{display:block;margin:0 0 14px}
.kind{font-family:var(--reg);font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);border:1px solid var(--line);padding:1px 6px;border-radius:2px;vertical-align:middle;margin-left:8px}

/* ---------- the floor-plan rail (left panel) -------------------------------
   Structural surface: slate/line/panel, azure only on what you can click.
   Everything after the "user profile" marker is barred from ember/violet
   by TestWebCSS_ProfileClassesDoNotUseEmberOrViolet.
   Collapse = .rail-mini on <html>, set pre-paint by layout.html so it
   survives navigation without a flash. min-height reserves the ~94px
   masthead so the panel reaches the viewport bottom. */
.shell{display:flex;align-items:stretch;gap:0;min-height:calc(100vh - 94px)}
/* Sticky footer: without flex:1 on main, a short floor strands the footer
   mid-viewport while the rail runs on past it. */
.railmain{flex:1;min-width:0;display:flex;flex-direction:column}
.railmain main{flex:1}

/* .rail is the full-height surface, .railinner the sticky scroll context:
   a sticky panel would stop where its content ended. */
.rail{flex:0 0 214px;width:214px;background:var(--panel);border-right:1px solid var(--line);transition:flex-basis .16s ease,width .16s ease}
.railinner{position:sticky;top:0;max-height:100vh;overflow-y:auto;overscroll-behavior:contain;padding:16px 0 28px}

.railhead{display:flex;align-items:center;gap:6px;padding:0 12px 0 16px;margin-bottom:4px}

/* Section title + its underscore rule (the .label device, rail-sized). */
.railtitle{flex:1;min-width:0;font-family:var(--sig);font-weight:600;text-transform:uppercase;letter-spacing:.08em;font-size:11.5px;color:var(--ink);white-space:nowrap;overflow:hidden;padding-bottom:6px;border-bottom:1px solid var(--line)}

.railtoggle{flex-shrink:0;width:22px;height:22px;display:flex;align-items:center;justify-content:center;padding:0;background:transparent;border:1px solid var(--line);border-radius:2px;color:var(--muted);cursor:pointer;font-family:var(--sig);font-size:15px;line-height:1}
.railtoggle:hover{color:var(--azure);border-color:var(--azure)}
.chev{display:block;transition:transform .16s ease}

.railsec{padding:0 8px}
.railsec .railtitle{display:block;padding:0 8px 6px;margin:22px 0 8px}
.netlist,.favlist{list-style:none;margin:0;padding:0}

/* Network row: sized to read as a quiet index, not a nav bar. */
.netitem{display:flex;align-items:center;gap:9px;padding:6px 8px;border-radius:2px;text-decoration:none;color:var(--ink);font-family:var(--sig);font-weight:600;font-size:13.5px;letter-spacing:.02em}
a.netitem:hover{background:color-mix(in srgb,var(--slate) 5%,var(--panel));color:var(--azure)}
.netitem.cur{background:color-mix(in srgb,var(--slate) 7%,var(--panel))}
.netitem.soon{color:var(--muted);cursor:default}
.netname{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* Monogram: all that survives collapse. Unfilled -- eight filled tiles
   would outshout the floor they point at. */
.netmark{flex-shrink:0;width:22px;height:22px;display:flex;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:3px;font-family:var(--reg);font-size:9px;letter-spacing:.02em;color:var(--muted)}
.netitem.cur .netmark{background:var(--slate);border-color:var(--slate);color:var(--slate-ink)}
a.netitem:hover .netmark{border-color:var(--azure);color:var(--azure)}
.netsoon{flex-shrink:0;font-family:var(--reg);font-weight:400;font-size:9.5px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);border:1px solid var(--line);border-radius:2px;padding:0 4px}
.nethere{flex-shrink:0;color:var(--muted);font-size:14px;line-height:1}

/* Favorites are threads: body serif, not signage -- content, not chrome. */
.favitem{display:flex;align-items:center;gap:7px;padding:5px 8px;border-radius:2px}
.favitem:hover{background:color-mix(in srgb,var(--slate) 5%,var(--panel))}
.favitem a{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13.5px;color:var(--ink);text-decoration:none}
.favitem a:hover{color:var(--azure)}
.favstand{display:block;font-family:var(--reg);font-size:10.5px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.favempty{margin:0;padding:2px 8px;font-family:var(--reg);font-size:11.5px;line-height:1.5;color:var(--muted)}

/* Star: azure when set (the "actionable" hue), hairline when not. */
.favslot{display:inline-flex;vertical-align:middle}
.star{width:20px;height:20px;flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;padding:0;background:transparent;border:0;border-radius:2px;color:var(--line);cursor:pointer;font-size:13px;line-height:1}
.star:hover{color:var(--azure)}
.star.on{color:var(--azure)}
.t-title .star{margin-right:5px}

/* ---------- collapsed rail ---------- */
.rail-mini .rail{flex-basis:53px;width:53px}
.rail-mini .railtitle{border-bottom-color:transparent;color:transparent;padding-bottom:0}
.rail-mini .railsec{padding:0 6px}
.rail-mini .railsec .railtitle{margin:16px 0 6px;padding:0}
.rail-mini .netname,.rail-mini .netsoon,.rail-mini .nethere,.rail-mini .favempty{display:none}
.rail-mini .netitem{justify-content:center;padding:6px 0}
.rail-mini .railhead{padding:0 6px;justify-content:center}
.rail-mini .chev{transform:rotate(180deg)}
/* Collapsed favorites keep the star as their handle. */
.rail-mini .favitem a{display:none}
.rail-mini .favitem{justify-content:center;padding:4px 0}

/* Below 1040px the rail is worth only its icons; below 640px, nothing. */
@media (max-width:1040px){
  .rail{flex-basis:53px;width:53px;padding-left:0;padding-right:0}
  .railtoggle{display:none}
  .railtitle{border-bottom-color:transparent;color:transparent;padding-bottom:0}
  .netname,.netsoon,.nethere,.favempty,.favitem a{display:none}
  .netitem{justify-content:center;padding:6px 0}
  .railhead{padding:0 6px;justify-content:center}
  .favitem{justify-content:center;padding:4px 0}
}
@media (max-width:640px){
  .rail{display:none}
}

/* No max-width on purpose: a cap re-centers the column on displays wider
   than the cap -- the dead-gutter bug this replaces. Line length is capped
   per component (.post-body/.comment 68ch, .reading) instead. */
.site-header .hrow,.halls .hrow2{max-width:none}
/* margin:0 is load-bearing, not tidying. The base `main` rule carries
   `margin:0 auto`, and an auto cross-axis margin on a flex item suppresses
   align-items:stretch -- so main shrink-wrapped to its content and sat in
   the middle of the viewport no matter what max-width said. */
.railmain main{max-width:none;margin:0;padding:28px 26px 64px}

/* Tile to fit: as many ~360px plates as the width allows, not always two.
   auto-fill NOT auto-fit -- auto-fit collapses empty tracks and would
   stretch a lone stand across the entire floor. */
.plates{grid-template-columns:repeat(auto-fill,minmax(360px,1fr))}
@media (max-width:720px){.plates{grid-template-columns:1fr}}

/* Read, not scanned: keep a measure. A 68ch line with 1500px of void
   beside it reads as broken, not spacious. */
.reading{max-width:1000px}

/* ---------- the right rail ("what's happening") ---------------------------
   Structure only. The live dot (.tick.hot) and featured card
   (.plate.featured + .ftag) are the only selectors permitted to carry
   ember/violet, so nothing here needs an accent of its own. */

/* Sibling of .rail/.railmain so both rails run full height and end level. */
.rrail{flex:0 0 300px;width:300px;border-left:1px solid var(--line);background:var(--panel)}
/* Same split as the left rail: panel full height, contents stick. */
.rrailinner{position:sticky;top:0;max-height:100vh;overflow-y:auto;overscroll-behavior:contain;padding:16px 0 28px}
.rrail .railsec{padding:0 14px}
.rrail .railtitle{display:block;padding:0 0 6px;margin:20px 0 10px}
.rrail .railsec:first-child .railtitle{margin-top:0}

/* Ticker: title in body serif (content), stand + age in mono (metadata). */
.livelist{list-style:none;margin:0;padding:0}
.liveitem{padding:7px 0;border-bottom:1px dotted var(--line)}
.liveitem:last-child{border-bottom:0}
.livetitle{display:block;font-size:14.5px;line-height:1.35;color:var(--ink);text-decoration:none;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.livetitle:hover{color:var(--azure)}
.livemeta{display:flex;align-items:center;gap:6px;margin-top:3px;font-family:var(--reg);font-size:11px;color:var(--muted)}
.livemeta .tick{width:6px;height:6px;flex-shrink:0}
.livestand{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* Narrow plate: tighten padding so the card doesn't dominate the rail. */
.rrail .plate .pbody{padding:10px 12px 6px}
.rrail .plate .strip{padding:6px 12px}
.rrail .plate .name{font-size:16px}
.rrail .plate .tagline{font-size:13px}
.rrail .plate .footrow{padding:7px 12px}

/* Registry: the quiet, factual close. */
.regstat{margin:0 0 4px;font-family:var(--reg);font-size:11.5px;line-height:1.55;color:var(--muted)}
.regstat strong{color:var(--ink);font-weight:500}

/* Skip link: off-screen until focused. Never display:none -- that drops
   it from the tab order. */
.skiplink{position:absolute;left:-9999px;top:0;z-index:10;background:var(--slate);color:var(--slate-ink);font-family:var(--sig);font-weight:600;font-size:14px;padding:10px 16px;border-radius:0 0 2px 0;text-decoration:none}
.skiplink:focus{left:0}
#content:focus{outline:none}

/* Halls with no filtering yet: same signage, visibly not a control. */
.hall.pending{opacity:.45;cursor:default}

/* The right rail is supporting content, so it drops first (1400px); the
   left rail is navigation and survives to 640px on its own schedule. */
@media (max-width:1400px){
  .rrail{display:none}
}

/* ---------- narrow-viewport repairs ----------
   The contract asks for 360px with "tables stack with mono labels"; never
   built. Measured: the page does NOT overflow without this (browsers just
   squeeze the columns) -- this is a legibility fix, not an overflow fix.
   Rows become blocks; headings move into ::before labels. */
@media (max-width:640px){
  .ttable,.ttable tbody,.ttable tr,.ttable td{display:block;width:100%}
  .ttable thead{position:absolute;left:-9999px}
  .ttable tr{padding:10px 0;border-bottom:1px solid var(--line)}
  .ttable tr:last-child{border-bottom:0}
  .ttable td{border-bottom:0;padding:2px 14px;text-align:left}
  .ttable td.t-num,.ttable td.t-act{text-align:left;white-space:normal}
  .ttable td.t-num::before{content:"Replies: "}
  .ttable td.t-act::before{content:"Last activity: "}
  .ttable td.t-num::before,.ttable td.t-act::before{font-family:var(--sig);font-weight:600;text-transform:uppercase;letter-spacing:.08em;font-size:10.5px;color:var(--muted)}
  /* Pinned edge moves from the first cell to the row once both are blocks. */
  tr.pinned td:first-child{box-shadow:none}
  tr.pinned{box-shadow:inset 3px 0 0 var(--slate)}

  /* The search's 340px basis leaves a squeezed stub beside brand +
     sign-in; give it its own row. */
  .site-header .hrow{flex-wrap:wrap;height:auto;padding-top:10px;padding-bottom:10px;gap:10px}
  .hsearch{flex:1 1 100%;order:3}
  .hspace{display:none}

  /* Single-line flex rows don't fit 360px side by side, so let them wrap
     and drop the dots leader -- it exists to fill slack there isn't. */
  .plate .strip,.stand-head .strip,.thead-row,.embed .erow,.reply-cta,.byline{flex-wrap:wrap}
  .plate .strip .dots,.stand-head .strip .dots{display:none}
  .crumb,.plate .strip,.stand-head .strip{overflow-wrap:anywhere}
}
