/* Station Clipper Studio: glass (Circle's pick, 2026-11-17). Contract: studio/web/DESIGN.md.
   The room's light is the newest frame of a live stream, frosted and greyed behind the glass (never an amber cast).
   Type scale (8 sizes): 11 12 13 14 16 20 28, and 44 only for submit countdowns. Archivo for words, Martian Mono for
   time and money. Ink and paper; red = a submit window in its last 3 minutes (and live); green = money that is real. */
:root {
  --night: #090B0E; --ink: #0B0D10; --paper: #F4F2ED;
  --fg: #F4F2ED; --fg2: rgba(244, 242, 237, .76); --fg3: rgba(244, 242, 237, .56);
  --glass: rgba(18, 21, 26, .52); --glass2: rgba(244, 242, 237, .07); --glass3: rgba(244, 242, 237, .12);
  --edge: rgba(244, 242, 237, .16); --rule: rgba(244, 242, 237, .11); --rule2: rgba(244, 242, 237, .22);
  --red: #FF6166; --green: #3DD486;
  --sans: "Archivo", "Arial Narrow", sans-serif;
  --mono: "Martian Mono", ui-monospace, monospace;
  --r-panel: 30px; --r-card: 20px; --r-ctl: 99px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { background: var(--night); }
body { margin: 0; min-height: 100vh; background: transparent; color: var(--fg); font: 400 14px/1.45 var(--sans); font-variation-settings: "wdth" 90; -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-underline-offset: 3px; text-decoration-color: var(--rule2); }
a:hover { text-decoration-color: var(--fg); }
.mono, [data-clock] { font-family: var(--mono); font-variation-settings: "wdth" 87.5; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.dim { color: var(--fg2); } .faint { color: var(--fg3); }
.green { color: var(--green); } .red { color: var(--red); }
:focus-visible { outline: 2px solid var(--fg); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- the room ---------- */
.backdrop { position: fixed; inset: -60px; z-index: -2; background: #15181D center/cover no-repeat; background-image: radial-gradient(60% 50% at 25% 20%, #5A5E66 0%, transparent 70%), radial-gradient(50% 45% at 80% 75%, #3E4249 0%, transparent 70%); filter: blur(40px) grayscale(1) contrast(1.1) brightness(.85); transform: scale(1.08); transition: background-image .6s; }
.veil { position: fixed; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(9,11,14,.12) 0%, rgba(9,11,14,.42) 55%, rgba(9,11,14,.70) 100%); }
.glass, .panel, .auth .story, .auth form, .rv-list, .rv-main { background: var(--glass); border: 1px solid var(--edge); backdrop-filter: blur(26px) saturate(1.2); -webkit-backdrop-filter: blur(26px) saturate(1.2);
  box-shadow: 0 1px 0 rgba(255,255,255,.06) inset, 0 30px 60px -34px rgba(0,0,0,.65); }
.panel { border-radius: var(--r-panel); padding: 22px 24px; margin: 0 0 18px; min-width: 0; }
.panel.flush { padding: 8px 0 4px; }
.panel.flush > .chips { padding: 8px 24px 0; }
.ph { margin: 0 0 14px; font-size: 13px; font-weight: 600; color: var(--fg2); display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-variation-settings: "wdth" 100; }
.ph b { color: var(--fg); font-size: 20px; font-weight: 800; margin-right: 8px; }
.ph .pr { color: var(--fg3); font-weight: 500; }
.ph a { font-weight: 600; color: var(--fg); white-space: nowrap; }
.none { padding: 14px 2px; margin: 0; color: var(--fg2); }
.foot { margin: 12px 2px 0; font-size: 13px; }

/* ---------- controls ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 38px; padding: 0 16px; border-radius: var(--r-ctl); border: 1px solid var(--paper);
  background: var(--paper); color: var(--ink); font-weight: 600; cursor: pointer; white-space: nowrap; text-decoration: none; }
.btn.ghost { background: transparent; color: var(--fg); border-color: var(--edge); }
.btn.ghost:hover { border-color: var(--fg2); }
.btn.small { height: 30px; padding: 0 12px; font-size: 13px; }
.btn:disabled { opacity: .45; cursor: default; }
.btn kbd { border-color: currentColor; opacity: .7; }
kbd { font: 500 11px var(--mono); border: 1px solid var(--rule2); border-radius: 5px; padding: 1px 5px; }
.linkbtn { background: none; border: 0; padding: 0; color: var(--fg2); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--rule2); }
.linkbtn:hover { color: var(--fg); }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=url], select, textarea {
  width: 100%; height: 38px; padding: 0 12px; background: rgba(9,11,14,.35); border: 1px solid var(--edge); border-radius: 12px; }
textarea { height: auto; min-height: 72px; padding: 9px 12px; resize: vertical; line-height: 1.4; }
select option { background: var(--ink); color: var(--fg); }
label.field { display: grid; gap: 5px; font-size: 13px; color: var(--fg2); }
.switch { display: inline-flex; align-items: center; gap: 10px; background: none; border: 0; cursor: pointer; padding: 4px 0; text-align: left; }
.switch .track { width: 36px; height: 20px; border: 1.5px solid var(--fg2); border-radius: 99px; position: relative; flex: none; }
.switch .track::after { content: ""; position: absolute; top: 2px; left: 2px; width: 13px; height: 13px; border-radius: 50%; background: var(--fg2); transition: left .15s; }
.switch[aria-checked="true"] .track { background: var(--fg); border-color: var(--fg); }
.switch[aria-checked="true"] .track::after { left: 18px; background: var(--ink); }
.switch .lbl { font-size: 13px; line-height: 1.25; }
.switch .lbl small { display: block; color: var(--fg3); font-size: 12px; }
.tally { display: inline-block; width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--fg3); vertical-align: 1px; flex: none; }
.tally.on { background: var(--red); border-color: var(--red); box-shadow: 0 0 0 3px rgba(255,97,102,.22); }

#toast { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 60; display: flex; gap: 14px; align-items: center;
  background: var(--paper); color: var(--ink); padding: 10px 16px; border-radius: var(--r-ctl); font-size: 13px; font-weight: 600;
  opacity: 0; pointer-events: none; transition: opacity .2s; max-width: 92vw; box-shadow: 0 12px 30px -10px rgba(0,0,0,.6); }
#toast.on { opacity: 1; }
#toast.act { pointer-events: auto; }
#toast button { background: var(--ink); color: var(--paper); border: 0; border-radius: var(--r-ctl); height: 28px; padding: 0 12px; font-weight: 700; cursor: pointer; }

/* ---------- header ---------- */
.top { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; max-width: 1400px; margin: 0 auto; padding: 20px 22px 18px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 16px; font-variation-settings: "wdth" 100; text-decoration: none; white-space: nowrap; }
.brand svg { width: 22px; height: 22px; }
.tabs { display: flex; gap: 2px; padding: 5px; border-radius: var(--r-ctl); margin: 0 auto; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.tabs a { padding: 9px 14px; border-radius: var(--r-ctl); text-decoration: none; font-weight: 600; font-size: 14px; color: var(--fg2); white-space: nowrap; }
.tabs a:hover { color: var(--fg); }
.tabs a.on { background: var(--paper); color: var(--ink); }
.tabs a i { font-style: normal; font: 700 11px var(--sans); font-variant-numeric: tabular-nums; margin-left: 6px; padding: 2px 6px; border-radius: 99px; background: var(--glass3); color: var(--fg); }
.tabs a i.hot { background: var(--red); color: var(--ink); }
.tabs a.on i { background: rgba(11,13,16,.12); color: var(--ink); }
.top-r { display: flex; gap: 8px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: var(--r-ctl); font-size: 13px; font-weight: 600; text-decoration: none; cursor: pointer; white-space: nowrap; }
.pill b { font: 600 14px var(--mono); }
.pill.hot { background: var(--red); border-color: var(--red); color: var(--ink); }
.pill.off { color: var(--fg2); }
.pill .dot { width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid var(--fg3); }
.pill .dot.on { background: var(--green); border-color: var(--green); }

/* ---------- page frame ---------- */
.page { max-width: 1400px; margin: 0 auto; padding: 0 22px 60px; }
.page-h { margin: 6px 4px 20px; position: relative; }
.page-h h1 { font: 800 28px/1.1 var(--sans); font-variation-settings: "wdth" 100; letter-spacing: -.01em; margin: 0 0 6px; display: flex; gap: 12px; align-items: center; }
.page-h h1 .faint { font-weight: 500; font-size: 20px; }
.page-h p { margin: 0; max-width: 780px; color: var(--fg2); }
.page-h .crumb { font-size: 13px; margin-bottom: 6px; }
.page-h .crumb a { color: var(--fg3); }
.page-h .h-actions { position: absolute; right: 0; top: 2px; }
.grid2 { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(330px, 1fr); gap: 18px; align-items: start; }
.grid2.even { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid2 > .panel { margin: 0; }
.col { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; min-width: 0; }
.col > .panel { margin: 0; }
.pad { padding: 10px 4px; margin: 0; }

/* ---------- submit windows: the biggest type in the app ---------- */
.due { display: grid; gap: 10px; }
.drow { display: grid; grid-template-columns: 44px 196px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 12px 14px 12px 12px;
  border-radius: var(--r-card); background: var(--glass2); border: 1px solid transparent; position: relative; overflow: hidden; }
.drow.hot { border-color: rgba(255,97,102,.6); background: rgba(255,97,102,.10); }
.drow .pic, .mrow .pic { width: 44px; height: 78px; border-radius: 10px; background: var(--glass3) center/cover no-repeat; }
.drow .t { font: 600 44px/1 var(--mono); font-variation-settings: "wdth" 87.5; letter-spacing: -.03em; white-space: nowrap; }
.drow.hot .t { color: var(--red); }
.drow .t small { display: block; font: 500 12px var(--sans); color: var(--fg3); letter-spacing: 0; margin-top: 8px; }
.drow .w, .mrow .w { min-width: 0; }
.drow .w b, .mrow .w b { display: block; font-size: 16px; font-weight: 700; }
.drow .w span, .mrow .w span { display: block; color: var(--fg2); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.drow .act { display: flex; gap: 8px; }
.drow .drain { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: transparent; margin: 0; }
.drow .drain i { display: block; height: 100%; background: var(--fg); opacity: .5; }
.drow.hot .drain i { background: var(--red); opacity: 1; }
.drain { display: block; height: 3px; background: var(--rule2); margin-top: 4px; }
.drain i { display: block; height: 100%; background: currentColor; }
.mrow { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 10px 0; border-top: 1px solid var(--rule); }
.mrow .pic { height: 64px; opacity: .7; }
.warnline { margin: 0 0 12px; padding: 12px 14px; border-radius: 14px; background: var(--glass2); color: var(--fg2); display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.warnline b { color: var(--fg); }

/* ---------- streams on one clock ---------- */
.clock { display: grid; }
.axis-wrap { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 14px; }
.clock.single .axis-wrap { grid-template-columns: minmax(0, 1fr); }
.axis-row { position: relative; height: 18px; overflow: hidden; }
.axis-row span { position: absolute; top: 0; transform: translateX(-50%); font: 500 11px var(--mono); color: var(--fg3); white-space: nowrap; }
.axis-row .now { color: var(--fg); font-weight: 600; font-family: var(--sans); font-size: 12px; }
.lane { display: grid; grid-template-columns: 54px 142px minmax(0, 1fr); gap: 14px; align-items: center; padding: 10px 0; border-top: 1px solid var(--rule); text-decoration: none; color: var(--fg); border-radius: 12px; }
.lane:hover { background: var(--glass2); }
.clock > .lane:first-of-type, .axis-wrap + .lane { border-top: 0; }
.lane.big { grid-template-columns: minmax(0, 1fr); padding: 6px 0 0; }
.lane-pic { width: 54px; height: 96px; border-radius: 12px; background: var(--glass3) center/cover no-repeat; }
.lane:not(.live) .lane-pic { height: 64px; opacity: .7; }
.lane-pic.none { background: repeating-linear-gradient(135deg, transparent 0 6px, var(--rule) 6px 7px); }
.ln { min-width: 0; display: grid; gap: 2px; }
.ln b { font-size: 16px; font-weight: 700; }
.ln small { font-size: 12px; color: var(--fg2); }
.ln .live { color: var(--red); font-weight: 700; }
.lane-svg { display: block; width: 100%; height: 70px; }
.lane-svg .base { stroke: var(--rule2); stroke-width: 1; }
.lane-svg .future { fill: rgba(244,242,237,.05); }
.lane-svg .nowline { stroke: rgba(244,242,237,.45); stroke-dasharray: 2 3; }
.lane-svg .tick.clip rect { fill: var(--fg); }
.lane-svg .tick.skip { stroke: var(--fg3); stroke-width: 1.4; }
.lane-svg a:hover rect { fill: var(--fg2); }
.lane-svg .posted { fill: var(--green); }
.lane-svg .win { stroke-width: 3; stroke-linecap: round; }
.lane-svg .win.open, .lane-svg .win-end { stroke: var(--fg); }
.lane-svg .win.open.hot, .lane-svg .win-end.hot { stroke: var(--red); }
.lane-svg .win.done { stroke: var(--green); }
.lane-svg .win.missed { stroke: var(--fg3); stroke-dasharray: 2 4; }
.lane-svg .win-end { stroke-width: 2; }
.offl { padding: 12px 2px 0; margin: 4px 0 0; border-top: 1px solid var(--rule); color: var(--fg2); font-size: 13px; }
.offl b { color: var(--fg); font-weight: 600; }
.rec { margin: 8px 2px 0; font-size: 12px; color: var(--fg3); }

/* ---------- right column on Home ---------- */
.rq { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.rq a { display: block; text-decoration: none; min-width: 0; }
.rq .pic { display: block; aspect-ratio: 9 / 16; border-radius: var(--r-card); background: var(--glass3) center/cover no-repeat; position: relative; overflow: hidden; }
.rq .pic span { position: absolute; left: 8px; bottom: 8px; font: 500 11px var(--mono); background: rgba(9,11,14,.72); padding: 3px 7px; border-radius: 99px; }
.rq small { display: block; margin: 8px 2px 0; font-size: 12px; font-weight: 700; }
.rq p { margin: 2px 2px 0; font-size: 13px; line-height: 1.3; color: var(--fg2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bus { display: flex; flex-wrap: wrap; gap: 12px 16px; }
.bus .g small { display: block; font-size: 12px; font-weight: 600; color: var(--fg2); margin-bottom: 5px; }
.pads { display: flex; flex-wrap: wrap; gap: 4px; }
.acc { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font: 600 12px var(--mono); background: var(--glass2); color: var(--fg3); border: 1px solid transparent; text-decoration: none; }
.acc:hover { border-color: var(--fg2); }
.acc.air { background: var(--paper); color: var(--ink); }
.acc.air.hot { background: var(--red); }
.acc.q { border-color: var(--fg); color: var(--fg); }
.acc.sub { background: rgba(61,212,134,.22); color: var(--green); }
.key { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 14px; font-size: 12px; color: var(--fg2); }
.key i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }
.key .k-air { background: var(--paper); } .key .k-q { border: 1px solid var(--fg); } .key .k-sub { background: rgba(61,212,134,.55); } .key .k-free { background: var(--glass3); }
.next { margin-top: 14px; border-top: 1px solid var(--rule); }
.next a { display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 10px; padding: 9px 2px; border-bottom: 1px solid var(--rule); font-size: 13px; text-decoration: none; }
.next a:hover { background: var(--glass2); }
.next a span:last-child { color: var(--fg2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.page-submit .next { margin-top: 0; }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.tiles div { padding: 14px; border-radius: var(--r-card); background: var(--glass2); min-width: 0; }
.tiles b { display: block; font: 600 28px var(--mono); letter-spacing: -.03em; white-space: nowrap; }
.tiles span { font-size: 12px; color: var(--fg2); }

/* ---------- stats, chips, segments ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; margin: 16px 0 0; }
.stats div { padding: 14px; border-radius: var(--r-card); background: var(--glass2); }
.stats.glass { padding: 10px; border-radius: var(--r-panel); margin: 0 0 18px; }
.stats dt { font-size: 12px; color: var(--fg2); }
.stats dd { margin: 4px 0 0; font: 600 20px var(--mono); }
.stats small { display: block; font-size: 12px; color: var(--fg3); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; }
.chips button, .chips a { background: none; border: 1px solid transparent; padding: 7px 14px; border-radius: var(--r-ctl); color: var(--fg2); font-size: 13px; font-weight: 600; cursor: pointer; text-decoration: none; }
.chips [aria-pressed="true"], .chips [aria-current="true"] { background: var(--paper); color: var(--ink); }
.seg { display: inline-flex; gap: 2px; padding: 5px; border-radius: var(--r-ctl); margin: 0 0 18px; max-width: 100%; overflow-x: auto; }
.seg a { padding: 8px 14px; border-radius: var(--r-ctl); text-decoration: none; font-weight: 600; font-size: 13px; color: var(--fg2); white-space: nowrap; }
.seg a[aria-current="true"] { background: var(--paper); color: var(--ink); }

/* ---------- the log of one stream ---------- */
.log { border-top: 1px solid var(--rule); }
.row { display: grid; grid-template-columns: 74px minmax(200px, 320px) 46px minmax(220px, 1.5fr) minmax(190px, 1fr) 140px; gap: 16px; align-items: center;
  padding: 10px 24px; border-bottom: 1px solid var(--rule); cursor: pointer; min-height: 76px; }
.row:hover, .row.sel { background: var(--glass2); }
.row.open { background: var(--glass3); }
.row .time { font: 500 13px var(--mono); white-space: nowrap; }
.row .time small { display: block; font-size: 11px; color: var(--fg3); font-weight: 400; }
.peak { min-width: 0; }
.peak .line { font-weight: 700; font-size: 16px; font-variation-settings: "wdth" 80; line-height: 1.15; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.peak .line.quiet { font-weight: 500; color: var(--fg2); }
.peak .who { font-size: 12px; color: var(--fg3); margin-top: 1px; }
.who .cl { white-space: nowrap; }
.wave { display: block; width: 100%; max-width: 220px; height: 30px; margin-top: 4px; }
.wave.big { height: 52px; max-width: 460px; }
.wave .b { fill: var(--fg3); opacity: .55; } .wave .b.hot { fill: var(--fg); opacity: 1; }
.wave .base { stroke: var(--fg2); stroke-width: 1; stroke-dasharray: 3 3; }
.wave .now { stroke: var(--fg); stroke-width: 2; }
.sliver { width: 46px; height: 82px; border-radius: 10px; background: var(--glass3) center/cover no-repeat; }
.sliver.none { background: repeating-linear-gradient(135deg, transparent 0 5px, var(--rule) 5px 6px); }
.decision { font-size: 14px; min-width: 0; }
.decision .what { font-weight: 600; }
.decision .why { color: var(--fg2); font-size: 13px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.decision .secs { white-space: nowrap; color: var(--fg3); }
.decision .quick { margin-top: 8px; }
.posts { display: grid; gap: 3px; font-size: 13px; min-width: 0; }
.posts .p { display: flex; gap: 8px; align-items: baseline; white-space: nowrap; overflow: hidden; }
.posts .p .acct { overflow: hidden; text-overflow: ellipsis; }
.posts .c { font: 600 13px var(--mono); } .posts .c.hot { color: var(--red); }
.posts .more { color: var(--fg3); font-size: 12px; }
.money { text-align: right; min-width: 0; }
.money .usd { font: 600 16px var(--mono); white-space: nowrap; }
.money .proj { font-size: 12px; color: var(--fg2); white-space: nowrap; }
.money .views { font-size: 12px; color: var(--fg3); }
.capbar { height: 14px; margin-top: 4px; }
.capbar svg { width: 100%; height: 14px; display: block; }
.capbar .zero { stroke: var(--fg3); stroke-width: 1; } .capbar .cap { stroke: var(--fg); stroke-width: 2; } .capbar .run { stroke: var(--green); stroke-width: 2; fill: none; }
.row.skip { grid-template-columns: 74px minmax(200px, 320px) minmax(0, 1fr); min-height: 0; padding-top: 7px; padding-bottom: 7px; color: var(--fg3); }
.row.skip .time { font-weight: 400; color: var(--fg3); }
.row.skip .peak, .row.skip .decision { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row.skip .peak .line { font-size: 14px; font-weight: 600; color: var(--fg2); }
.row.skip .peak .who { display: inline; }
.row.skip .decision .what { color: var(--fg2); }
.row.skip .decision .why { display: inline; -webkit-line-clamp: unset; }
.row, .detail { scroll-margin-top: 30px; }

/* ---------- a clip, opened (in the log and on Review) ---------- */
.detail { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 28px; padding: 20px 24px 26px; background: rgba(9,11,14,.28); border-bottom: 1px solid var(--rule2); }
.phone { width: 300px; }
.phone video { width: 300px; aspect-ratio: 9 / 16; height: auto; background: #000; display: block; object-fit: cover; border-radius: 22px; border: 1px solid var(--edge); }
.phone .meta { font-size: 12px; color: var(--fg3); margin-top: 8px; display: flex; justify-content: space-between; gap: 10px; }
.side { display: grid; gap: 18px; align-content: start; min-width: 0; }
.side h3 { font: 800 28px/1.12 var(--sans); font-variation-settings: "wdth" 84; letter-spacing: -.01em; margin: 0; }
.side h4 { font: 600 13px var(--sans); color: var(--fg2); margin: 0 0 8px; }
.side p .mono { font-size: 13px; font-weight: 500; }
.cause { padding: 14px 16px; border-radius: var(--r-card); background: var(--glass2); }
.cause-row { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; margin-bottom: 4px; }
.cause-row .cw { font-weight: 700; font-size: 20px; font-variation-settings: "wdth" 80; }
.cause-axis { display: flex; justify-content: space-between; max-width: 460px; font-size: 11px; color: var(--fg3); }
.said { max-height: 168px; overflow: auto; font-size: 13px; border-left: 1px solid var(--rule2); padding-left: 12px; }
.said p { margin: 0 0 3px; display: grid; grid-template-columns: 4.5ch minmax(0, 1fr); gap: 8px; }
.said .t { font-size: 12px; font-variant-numeric: tabular-nums; text-align: right; color: var(--fg3); padding-top: 1px; }
.said .other { color: var(--fg3); }
.said p.out { display: none; }
.accts { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 6px; }
.accts label { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 8px 12px; font-size: 13px; cursor: pointer; border-radius: 14px; background: var(--glass2); border: 1px solid transparent; }
.accts label:has(input:checked) { border-color: var(--fg); background: var(--glass3); }
.accts label .nm { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.accts label .nm small { display: block; color: var(--fg3); font-size: 11px; }
.accts label .n { font-size: 12px; color: var(--fg3); white-space: nowrap; }
.accts label.off { color: var(--fg3); cursor: not-allowed; }
details.more-accts { margin-top: 8px; }
details.more-accts summary { cursor: pointer; color: var(--fg2); font-size: 13px; padding: 4px 0; }
details.more-accts .accts { margin-top: 6px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.plist { display: grid; border-top: 1px solid var(--rule); }
.plist .pr { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "a s" "m m" "l l" "x x"; gap: 4px 14px; padding: 10px 0; border-bottom: 1px solid var(--rule); font-size: 13px; }
.plist .pa { grid-area: a; display: flex; flex-wrap: wrap; gap: 2px 10px; align-items: baseline; }
.plist .pa .faint { font-size: 12px; }
.plist .ps { grid-area: s; text-align: right; }
.plist .ps .c { font: 600 16px var(--mono); } .plist .ps .c.red, .plist .ps .c.hot { color: var(--red); }
.plist .pv { grid-area: m; font-size: 13px; white-space: nowrap; }
.plist .pl { grid-area: l; font-size: 12px; color: var(--fg2); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.plist .pact { grid-area: x; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 4px; }
.cpm svg { width: 100%; max-width: 420px; height: 90px; display: block; }
.cpm text { font: 400 11px var(--sans); fill: var(--fg3); }
.cpm tspan.m { font-family: var(--mono); }

/* ---------- Review: the queue, the clip at phone size, the decision ---------- */
.review { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 18px; align-items: start; }
.rv-list { border-radius: var(--r-panel); padding: 10px; max-height: calc(100vh - 140px); overflow-y: auto; position: sticky; top: 16px; }
.rv-item { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; align-items: center; width: 100%; text-align: left; background: none; border: 1px solid transparent; border-radius: 14px; padding: 6px; cursor: pointer; color: var(--fg2); }
.rv-item:hover { background: var(--glass2); }
.rv-item.on { background: var(--glass3); border-color: var(--rule2); color: var(--fg); }
.rv-item b { display: block; color: var(--fg); font-size: 13px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rv-item small { display: block; font-size: 12px; color: var(--fg3); }
.q-thumb { width: 40px; height: 71px; border-radius: 8px; background: var(--glass3) center/cover no-repeat; display: block; flex: none; }
.rv-main { border-radius: var(--r-panel); overflow: hidden; min-width: 0; }
.rv-main .detail { background: transparent; border-bottom: 0; padding: 24px; grid-template-columns: 340px minmax(0, 1fr); }
.rv-main .phone, .rv-main .phone video { width: 340px; }

/* ---------- schedule ---------- */
.s-group { padding: 12px 24px 4px; font-size: 12px; font-weight: 700; color: var(--fg2); }
.s-lane { display: grid; grid-template-columns: 220px minmax(0, 1fr); min-height: 44px; align-items: center; border-bottom: 1px solid var(--rule); }
.s-lane.head { min-height: 30px; }
.s-l { padding: 6px 14px 6px 24px; text-decoration: none; min-width: 0; }
.s-l b { display: block; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s-l small { color: var(--fg3); font-size: 12px; }
.s-t { position: relative; height: 100%; min-height: 30px; margin-right: 24px; }
.s-t.axis span.h { position: absolute; top: 8px; font: 500 11px var(--mono); color: var(--fg3); transform: translateX(-50%); white-space: nowrap; }
.s-t.axis span.h::before { content: ""; position: absolute; left: 50%; top: 16px; height: 6px; border-left: 1px solid var(--rule2); }
.s-lane.head { min-height: 46px; }
.s-win { position: absolute; top: 4px; bottom: 4px; background: var(--glass2); border-radius: 8px; }
.s-now { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--fg2); }
.s-lane.head .s-now { top: 24px; }
.s-lane.head .s-now::after { content: "now"; position: absolute; top: 4px; left: 5px; font-size: 12px; font-weight: 600; color: var(--fg); }
.s-lane.head .s-now { background: var(--fg); }
.sd { position: absolute; top: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; border: 2px solid var(--fg); background: var(--ink); display: inline-block; }
.page-h .sd { position: static; margin: 0 4px 0 10px; vertical-align: -1px; }
.sd.posted { background: var(--fg); }
.sd.held { border-color: var(--fg3); background: var(--fg3); }
.sd.failed { border-color: var(--red); }

/* ---------- tables, forms, settings ---------- */
table.t { width: 100%; border-collapse: collapse; font-size: 14px; }
table.t th { text-align: left; font-weight: 600; font-size: 12px; color: var(--fg3); padding: 6px 12px 8px 0; border-bottom: 1px solid var(--rule2); }
table.t td { padding: 11px 12px 11px 0; border-bottom: 1px solid var(--rule); vertical-align: middle; }
table.t tr:last-child td { border-bottom: 0; }
table.t td.num, table.t th.num { text-align: right; font-variant-numeric: tabular-nums; }
table.t td.num { font-family: var(--mono); font-size: 13px; }
.form { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; align-items: end; margin: 0; }
.form .wide { grid-column: 1 / -1; }
.settings h2 { font: 800 20px var(--sans); margin: 0 0 6px; }
.lede { color: var(--fg2); max-width: 700px; margin: 0 0 18px; }
.settings .form { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--rule); }
.steps { list-style: none; padding: 0; margin: 18px 0 0; }
.steps li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: baseline; padding: 12px 0; border-top: 1px solid var(--rule); }
.steps li .n { font: 600 13px var(--mono); color: var(--fg3); }
.secret { padding: 14px 16px; border: 1px solid var(--fg); border-radius: var(--r-card); margin: 14px 0; }
.secret code { font: 500 12px var(--mono); word-break: break-all; }
pre.cmd { margin: 6px 0 0; padding: 10px 12px; border: 1px solid var(--edge); border-radius: 12px; font: 400 12px/1.5 var(--mono); white-space: pre-wrap; word-break: break-all; }
.brief p { margin: 0 0 6px; }

/* ---------- sign in ---------- */
.auth { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 440px); gap: 22px; padding: 22px; max-width: 1400px; margin: 0 auto; align-items: stretch; }
.auth .story { padding: 40px; border-radius: var(--r-panel); display: flex; flex-direction: column; justify-content: space-between; gap: 28px; }
.auth .mark { font-weight: 800; font-size: 16px; font-variation-settings: "wdth" 100; }
.auth .mark span { font-weight: 500; color: var(--fg3); margin-left: 6px; }
.auth .story h1 { font: 800 28px/1.15 var(--sans); font-variation-settings: "wdth" 88; letter-spacing: -.01em; max-width: 560px; margin: 0; }
.auth .example { margin: 24px 0 0; max-width: 680px; padding: 16px; border-radius: var(--r-card); background: var(--glass2); }
.auth .example figcaption { font-size: 12px; color: var(--fg3); margin-bottom: 10px; }
.auth .ex-row { display: grid; grid-template-columns: minmax(180px, 1fr) minmax(0, 1.2fr) minmax(0, 1.2fr); gap: 18px; align-items: start; }
.auth .ex-row .why { -webkit-line-clamp: unset; display: block; }
.auth form { padding: 40px 32px; border-radius: var(--r-panel); display: grid; gap: 14px; align-content: center; }
.auth form h2 { font: 800 20px var(--sans); margin: 0 0 4px; }
.err { color: var(--red); font-size: 13px; min-height: 18px; }

/* ---------- laptop ---------- */
@media (max-width: 1320px) {
  .rv-main .detail { grid-template-columns: 280px minmax(0, 1fr); }
  .rv-main .phone, .rv-main .phone video { width: 280px; }
  .row { grid-template-columns: 64px minmax(0, 1fr) 46px minmax(0, 1fr) 120px; }
  .row .posts { grid-column: 4; grid-row: 2; }
  .row .money { grid-column: 5; grid-row: 1 / 3; }
  .row .time, .row .peak, .row .sliver { grid-row: 1 / 3; }
  .row.skip { grid-template-columns: 64px minmax(0, 1fr) minmax(0, 1fr); }
  .row.skip .time, .row.skip .peak { grid-row: auto; }
}
@media (max-width: 1180px) {
  .grid2 { grid-template-columns: minmax(0, 1fr); }
  .tabs { order: 3; flex-basis: 100%; margin: 0; }
  .top-r { margin-left: auto; }
  .review { grid-template-columns: 220px minmax(0, 1fr); }
  .rv-main .detail { grid-template-columns: minmax(0, 1fr); }
  .rv-main .phone, .rv-main .phone video { width: 100%; max-width: 320px; }
}
/* ---------- phone ---------- */
@media (max-width: 760px) {
  .top { padding: 12px 12px 12px; gap: 10px; }
  .top .pill:not([data-urgent]) { display: none; }
  .page { padding: 0 12px 40px; }
  .panel { padding: 16px; border-radius: 24px; }
  .panel.flush > .chips { padding: 6px 16px 0; }
  .ph .pr { display: none; }
  .drow { grid-template-columns: 36px minmax(0, 1fr) auto; gap: 10px; }
  .drow .pic { width: 36px; height: 64px; }
  .drow .t { font-size: 30px; }
  .drow .w { grid-column: 2 / 4; grid-row: 2; }
  .drow .act { grid-column: 3; grid-row: 1; flex-direction: column; }
  .drow .act .btn { height: 32px; padding: 0 12px; font-size: 13px; }
  .axis-wrap { grid-template-columns: minmax(0, 1fr); }
  .axis-wrap > span:first-child { display: none; }
  .axis-row span:nth-child(even):not(.now) { display: none; }
  .lane { grid-template-columns: 40px minmax(0, 1fr); }
  .lane-pic { width: 40px; height: 70px; } .lane:not(.live) .lane-pic { height: 50px; }
  .lane .lane-svg { grid-column: 1 / 3; height: 54px; }
  .rq { grid-template-columns: repeat(3, minmax(0, 1fr)); } .rq a:nth-child(4) { display: none; }
  .tiles b { font-size: 20px; } .tiles div { padding: 12px 10px; }
  .page-h .h-actions { position: static; margin-top: 10px; }
  .row { grid-template-columns: 52px minmax(0, 1fr) 46px; gap: 10px; padding: 10px 16px; }
  .row .decision, .row .posts, .row .money { grid-column: 2 / 4; grid-row: auto; text-align: left; }
  .row .sliver { grid-column: 3; grid-row: 1; }
  .row .peak { grid-column: 2; grid-row: 1; } .row .time { grid-row: 1; }
  .row.skip { grid-template-columns: 52px minmax(0, 1fr); } .row.skip .decision { grid-column: 2; }
  .detail { grid-template-columns: 1fr; padding: 16px; }
  .phone, .phone video { width: 100%; max-width: 300px; }
  .review { grid-template-columns: 1fr; }
  .rv-list { position: static; max-height: 220px; }
  .rv-main .detail { padding: 16px; }
  .rv-main .side .actions { position: sticky; bottom: 0; background: rgba(9,11,14,.86); padding: 10px 0; z-index: 5; }
  .s-lane { grid-template-columns: 1fr; }
  .s-l { padding: 6px 16px 0; }
  .s-t { margin: 0 16px; min-height: 26px; }
  .s-lane.head .s-l { display: none; }
  .s-t.axis span:nth-child(even) { display: none; }
  .s-group { padding: 12px 16px 4px; }
  .mrow { grid-template-columns: 36px minmax(0, 1fr); } .mrow .btn { grid-column: 1 / -1; justify-self: start; }
  table.t .hide-s { display: none; }
  .panel:has(table.t) { overflow-x: auto; }
  .auth { grid-template-columns: 1fr; padding: 12px; }
  .auth .story { padding: 22px 16px; }
  .auth .ex-row { grid-template-columns: 1fr; }
  .auth form { padding: 24px 16px; }
}
@media (prefers-reduced-motion: reduce) { .backdrop { transition: none; } }

/* ---- G2 fixes (glass) ---- */
.status { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; padding: 12px 16px 12px 20px; border-radius: var(--r-card); margin: 0 0 18px; color: var(--fg2); }
.status b { color: var(--fg); }
.sub3 { margin: 16px 0 0; font-size: 12px; font-weight: 600; color: var(--fg2); }
.next .more span:last-child { color: var(--fg); font-weight: 600; }
.clipcell { max-width: 360px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.endline { padding: 0 4px; }
.s-idle { margin: 0; padding: 14px 24px; }
.s-idle a { color: var(--fg2); }
.tiles b.red { color: var(--red); }
@media (hover: none) { .keys, kbd { display: none; } .btn kbd { display: none; } }
@media (max-width: 760px) {
  .top .pill.post { display: inline-flex; padding: 0 10px; }
  .brand { font-size: 0; gap: 0; } .brand svg { width: 24px; height: 24px; }
  .tabs { -webkit-mask-image: linear-gradient(90deg, #000 86%, transparent); mask-image: linear-gradient(90deg, #000 86%, transparent); }
  .row { grid-template-columns: 70px minmax(0, 1fr) 46px; }
  .row .time { font-size: 12px; }
  .row.skip { grid-template-columns: 70px minmax(0, 1fr); }
  .rv-main .phone, .rv-main .phone video { max-width: 220px; margin: 0 auto; }
  .status { padding: 12px 14px; }
  .s-idle { padding: 12px 16px; }
}

/* ---- loop 2 fixes ---- */
.lg { white-space: nowrap; }
.offl + .offl { border-top: 0; padding-top: 4px; margin-top: 0; }
@media (max-width: 760px) { .keys, .btn kbd { display: none; } }
