/* FAMOUS's own look, on top of base.css: the set (the signature object), the monitor wall, the channel guide, the
   broadcast log, and each page's layout. Tokens only; DESIGN.md has the rules. */

/* ---------- type ---------- */
h1, h2, .display { font-variation-settings: "opsz" 96; }
h1.display { font-size: clamp(46px, 6.6vw, 104px); line-height: 0.9; letter-spacing: -0.04em; }
h2 { font-size: clamp(30px, 3.6vw, 50px); line-height: 0.96; }
h3, .h3 { font: 700 20px/1.25 var(--font-text); letter-spacing: -0.01em; }
.kicker { font-size: 12px; letter-spacing: 0.12em; color: var(--ink-2); }
.kicker-dot { background: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
.small { font-size: 12.5px; }
.lede b { color: var(--ink); font-weight: 650; }
.wordmark { display: inline-flex; color: var(--ink); }
.wordmark svg, .mark svg { display: block; }
.tally { fill: var(--accent); }
.mark { display: inline-flex; color: var(--ink); }

/* ---------- header ---------- */
#top { background: color-mix(in srgb, var(--bg) 88%, transparent); }
.brand { gap: 0; }
.nav a { font-weight: 550; }
.nav a[aria-current] { background: var(--surface); color: var(--ink); }
.demo-strip { background: #071033; border-bottom: var(--border); }

/* ---------- buttons: chunky, like a remote's ---------- */
.btn { border-radius: 12px; font-weight: 700; letter-spacing: -0.005em; }
.btn.primary { box-shadow: inset 0 -3px 0 rgba(10, 22, 64, 0.22); }
.btn.primary:active { box-shadow: inset 0 -1px 0 rgba(10, 22, 64, 0.22); }
.btn.lg { height: 54px; padding: 0 24px; font-size: 16.5px; border-radius: 14px; }
.btn .arrow { font-weight: 500; transition: transform var(--t) var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.seg button[aria-pressed="true"], .chips button[aria-pressed="true"] { background: var(--ink); color: var(--bg); font-weight: 650; }
.chip .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.chip.state-on { color: var(--ink); border-color: color-mix(in srgb, var(--accent) 50%, transparent); }
.chip.state-on .dot { background: var(--accent); }
.chip.state-low { color: var(--warn); }
.chip.state-off { color: var(--muted); }

/* ---------- the set ---------- */
.tv { position: relative; display: block; margin: 0; container-type: inline-size; color: var(--set-ink); -webkit-tap-highlight-color: transparent; }
.tv-body { position: relative; background: var(--set); border-radius: 8.5cqi; padding: 4.4cqi 4.4cqi 0; box-shadow: inset 0 -1.1cqi 0 var(--set-2), inset 0 0.5cqi 0 rgba(255, 255, 255, 0.5), 0 3cqi 7cqi -3cqi rgba(2, 6, 24, 0.85); transition: transform var(--t) var(--ease); }
a.tv:hover .tv-body { transform: translateY(-3px); }
a.tv:focus-visible { outline: none; }
a.tv:focus-visible .tv-body { outline: 3px solid var(--accent); outline-offset: 3px; }
.tv-screen { position: relative; aspect-ratio: 1; border-radius: 8cqi / 8cqi; overflow: hidden; background: var(--screen); isolation: isolate; box-shadow: 0 0 0 0.7cqi rgba(10, 22, 64, 0.16); }
.tv-pic { position: absolute; inset: 0; transform-origin: 50% 50%; }
.tv-pic img { width: 100%; height: 100%; object-fit: cover; }
.tv-card, .tv-card svg { display: block; width: 100%; height: 100%; }
.tv-glass { position: absolute; inset: 0; pointer-events: none; z-index: 2;
  background: radial-gradient(130% 110% at 50% 38%, transparent 58%, rgba(5, 11, 36, 0.42) 100%), repeating-linear-gradient(0deg, rgba(5, 11, 36, 0.07) 0 1px, transparent 1px 3px);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.35), inset 0 0 4cqi rgba(5, 11, 36, 0.45); }
.tv-static { position: absolute; inset: 0; z-index: 1; opacity: 0; pointer-events: none;
  background-image: repeating-linear-gradient(0deg, rgba(243, 235, 221, 0.06) 0 2px, transparent 2px 7px), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.2' numOctaves='2' seed='7' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: auto, 180px 180px; }
.tv-bug { position: absolute; z-index: 3; top: 4.6cqi; left: 4.6cqi; padding: 0.55em 0.75em; border-radius: 0.5em; background: rgba(10, 22, 64, 0.74); color: var(--ink); font-size: max(9px, 3.5cqi); line-height: 1; letter-spacing: 0.08em; backdrop-filter: blur(4px); }
.tv-light { position: absolute; z-index: 3; top: 4.6cqi; right: 4.6cqi; display: inline-flex; align-items: center; gap: 0.5em; padding: 0.55em 0.8em; border-radius: 99px; background: var(--accent); color: var(--on-accent); font: 500 max(9px, 3.4cqi)/1 var(--font-mono); letter-spacing: 0.1em; }
.tv-light i { width: 0.62em; height: 0.62em; border-radius: 50%; background: var(--on-accent); }
.tv-lower { position: absolute; z-index: 3; left: 4.6cqi; right: 4.6cqi; bottom: 4.6cqi; display: flex; align-items: baseline; justify-content: space-between; gap: 3cqi; padding: 2.6cqi 3.4cqi 2.8cqi; border-radius: 2.2cqi; border-left: 1.6cqi solid var(--accent); background: rgba(10, 22, 64, 0.9); color: var(--ink); backdrop-filter: blur(6px); }
.tv-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 800 max(12px, 6.6cqi)/1 var(--font-display); letter-spacing: -0.02em; font-variation-settings: "opsz" 48; }
.tv-sym { flex: none; font-size: max(9px, 3.4cqi); color: var(--ink-2); letter-spacing: 0.04em; }
.tv-offtag { position: absolute; z-index: 3; left: 50%; top: 47%; transform: translate(-50%, -50%); display: none; padding: 0.6em 0.9em; border-radius: 0.4em; background: var(--bg); color: var(--ink); font-size: max(9px, 3.6cqi); letter-spacing: 0.14em; text-transform: uppercase; white-space: nowrap; }
.tv-flash { position: absolute; inset: 0; z-index: 4; pointer-events: none; opacity: 0; background: #fffaf0; }
.tv-panel { display: flex; align-items: center; gap: 3cqi; padding: 3cqi 1.4cqi 3.4cqi; min-height: 11cqi; }
.tv-sig { display: inline-flex; font-size: max(11px, 4cqi); }
.tv-air { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: max(10px, 3.3cqi); letter-spacing: 0.01em; color: var(--set-ink); }
.tv-dial { display: inline-flex; gap: 1.6cqi; }
.tv-dial i { width: 4.4cqi; height: 4.4cqi; border-radius: 50%; background: var(--set-2); box-shadow: inset 0 0 0 0.6cqi rgba(10, 22, 64, 0.14); }
.tv-hit { position: absolute; inset: 0; z-index: 5; border-radius: inherit; }
.tv-hit:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }

/* the set's states */
.tv[data-state="low"] .tv-air { color: #8a4d00; }
.tv[data-state="off"] .tv-pic img { filter: grayscale(1) contrast(0.8); }
.tv[data-state="off"] .tv-static { opacity: 0.8; }
.tv[data-state="off"] .tv-offtag { display: block; }
.tv[data-state="off"] .tv-light { background: rgba(10, 22, 64, 0.82); color: var(--muted); }
.tv[data-state="off"] .tv-light i { background: var(--light-off); }
.tv[data-state="off"] .tv-lower { border-left-color: var(--light-off); }
.tv[data-state="off"] .tv-air { color: rgba(10, 22, 64, 0.6); }
.tv[data-state="tuning"] .tv-light, .tv[data-state="standby"] .tv-light { background: rgba(10, 22, 64, 0.82); color: var(--ink-2); }
.tv[data-state="tuning"] .tv-light i, .tv[data-state="standby"] .tv-light i { background: var(--warn); }
.tv[data-state="tuning"] .tv-lower, .tv[data-state="standby"] .tv-lower { border-left-color: var(--light-off); }
.chip.state-new { color: var(--warn); }

/* signal: five bars, lit by airtime */
.signal { display: inline-flex; align-items: flex-end; gap: 0.14em; height: 1em; }
.signal i { width: 0.26em; border-radius: 0.06em; background: currentColor; opacity: 0.2; }
.signal i:nth-child(1) { height: 28%; } .signal i:nth-child(2) { height: 46%; } .signal i:nth-child(3) { height: 64%; } .signal i:nth-child(4) { height: 82%; } .signal i:nth-child(5) { height: 100%; }
.signal i.lit { opacity: 1; }

/* the big set: rabbit ears, knobs that change channel */
.tv-ears { position: absolute; left: 50%; bottom: calc(100% - 0.6cqi); width: 32%; transform: translateX(-50%); color: var(--set); pointer-events: none; }
.tv-ears svg { width: 100%; height: auto; display: block; }
.tv-knobs { display: inline-flex; align-items: center; gap: 8px; }
.knob { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--bg); color: var(--ink); font: 500 22px/1 var(--font-text); cursor: pointer; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.4); transition: transform var(--t-fast) var(--ease); }
.knob span { margin-top: -3px; }
.knob:hover { background: var(--surface-2); }
.knob:active { transform: translateY(1px); box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.4); }
.knob-label { font-size: 11px; letter-spacing: 0.1em; color: var(--set-ink); }

/* small sets: the screen carries it; words would be too small to read */
@container (max-width: 150px) {
  .tv-bug, .tv-lower, .tv-offtag, .tv-air, .tv-dial { display: none !important; }
  .tv-light { padding: 0.5em; top: 6cqi; right: 6cqi; }
  .tv-light span { display: none; }
  .tv-panel { min-height: 0; padding: 4cqi 4cqi 5cqi; justify-content: center; }
}
.air-short { display: none; }
.tv-lg .tv-air { font-size: max(11px, 2.9cqi); }
@container (max-width: 230px) {
  .tv-sym { display: none; }
  .tv-bug { display: none; }
  .air-long { display: none; }
  .air-short { display: inline; }
}

/* the one motion: switching on. A thin bright line opens into the picture. */
.tv-screen.switching .tv-pic { animation: tv-on 560ms var(--ease) both; }
.tv-screen.switching .tv-flash { animation: tv-flash 640ms ease-out both; }
@keyframes tv-on { 0% { transform: scale(0.9, 0.01); } 34% { transform: scale(1, 0.01); } 100% { transform: none; } }
@keyframes tv-flash { 0% { opacity: 0.95; transform: scale(0.9, 0.012); } 34% { opacity: 0.9; transform: scale(1, 0.014); } 72% { opacity: 0.22; transform: none; } 100% { opacity: 0; transform: none; } }

/* ---------- home: the monitor wall ---------- */
.hero { display: block; padding-top: clamp(24px, 3.2vw, 46px); }
.hero h1.display { font-size: clamp(46px, 5.9vw, 92px); }
.hero-head { display: grid; justify-items: center; text-align: center; }
.hero-head h1 { max-width: 13.5em; }
.hero-head h1 span { display: block; }
.wall { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)) minmax(0, 2.25fr) repeat(2, minmax(0, 1fr)); gap: clamp(10px, 1.3vw, 18px); align-items: end; margin-top: clamp(56px, 5.4vw, 80px); }
.wall-big { grid-column: 3; grid-row: 1 / span 2; align-self: end; }
.wall-cell.c0 { grid-area: 1 / 1; } .wall-cell.c1 { grid-area: 1 / 2; } .wall-cell.c2 { grid-area: 2 / 1; } .wall-cell.c3 { grid-area: 2 / 2; }
.wall-cell.c4 { grid-area: 1 / 4; } .wall-cell.c5 { grid-area: 1 / 5; } .wall-cell.c6 { grid-area: 2 / 4; } .wall-cell.c7 { grid-area: 2 / 5; }
.wall-cell .tv-panel { min-height: 0; }
.hero-foot { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(28px, 4vw, 64px); align-items: start; margin-top: clamp(34px, 4vw, 52px); }
.hero-lede .lede { max-width: 34em; }
.proof { margin-top: 18px; font-size: 12.5px; letter-spacing: 0.02em; color: var(--muted); }
.pitch { display: grid; gap: 10px; padding: 22px; border-radius: var(--r-lg); background: var(--surface); border: var(--border); box-shadow: var(--shadow); }
.pitch-box { display: flex; gap: 8px; padding: 6px; border-radius: 16px; background: var(--bg); border: 1.5px solid var(--line-2); transition: border-color var(--t) var(--ease); }
.pitch-box:focus-within { border-color: var(--accent); }
.pitch-input { flex: 1; height: 54px; border: 0; background: none; font-size: 17px; padding: 0 12px; }
.pitch-input:focus { outline: none; }
.example { font-size: 13px; color: var(--ink-2); text-decoration-color: var(--line-3); }
.example:hover { color: var(--ink); }

/* tonight's schedule */
.schedule { display: grid; border-top: var(--border); }
.slot-row { display: grid; grid-template-columns: 110px minmax(0, 1fr) minmax(0, 440px); gap: clamp(18px, 3vw, 40px); align-items: center; padding: 28px 0; border-bottom: var(--border); }
.slot-time { font-size: 15px; color: var(--accent); letter-spacing: 0.06em; }
.slot-copy { display: grid; gap: 8px; }
.slot-copy h3 { font: 800 clamp(24px, 2.4vw, 32px)/1 var(--font-display); letter-spacing: -0.03em; }
.slot-copy p { max-width: 34em; }
.slot-vis { display: grid; justify-items: start; }
.vis-sentence { display: grid; gap: 8px; width: 100%; padding: 16px 18px; border-radius: 14px; background: var(--bg-2); border: 1.5px solid var(--line-2); }
.vis-typed { font-size: 16px; }
.caret { display: inline-block; width: 2px; height: 1.1em; margin-left: 2px; vertical-align: text-bottom; background: var(--accent); }
.vis-lower { width: 100%; padding: 22px; border-radius: 14px; background: linear-gradient(135deg, #2c7a8a, #e3b04b); }
.vis-strap { display: flex; align-items: baseline; justify-content: space-between; padding: 12px 16px; border-radius: 8px; border-left: 7px solid var(--accent); background: rgba(10, 22, 64, 0.92); }
.vis-strap b { font: 800 28px/1 var(--font-display); letter-spacing: -0.02em; }
.vis-strap .mono { color: var(--ink-2); font-size: 13px; }
.vis-onair { display: flex; align-items: center; gap: 18px; }
.vis-onair .tv { width: 120px; }
.vis-fees { display: grid; gap: 14px; width: 100%; }
.vis-fees .signal { font-size: 18px; color: var(--ink); }

/* the closing band */
.band { justify-items: center; text-align: center; padding-bottom: 20px; }
.band h2 { font-size: clamp(40px, 5.6vw, 84px); letter-spacing: -0.04em; }
.band p { max-width: 36em; }
.band-mark .mark { color: var(--set); }

/* ---------- the channel guide ---------- */
.guide { display: grid; border-top: var(--border); }
.guide-row { display: grid; grid-template-columns: 62px 96px minmax(0, 1.8fr) minmax(0, 0.75fr) minmax(0, 1.1fr) minmax(0, 1.25fr); gap: clamp(12px, 1.8vw, 24px); align-items: center; padding: 14px 12px; border-bottom: var(--border); transition: background var(--t) var(--ease); }
.guide-row:hover { background: var(--surface); }
.guide-row .tv { width: 96px; }
.guide-row:hover .tv-body { transform: none; }
.guide-ch { font-size: 13px; color: var(--ink-2); letter-spacing: 0.06em; }
.guide-who { display: grid; gap: 5px; min-width: 0; }
.guide-name { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.guide-name b { font: 800 24px/1 var(--font-display); letter-spacing: -0.025em; }
.guide-name .mono { font-size: 13px; }
.guide-line { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.guide-num, .guide-sig { display: grid; gap: 4px; justify-items: start; }
.guide-num .num { font-size: 17px; }
.guide-sig .signal { font-size: 16px; color: var(--ink); }
.guide-row[data-state="off"] .guide-sig .signal { color: var(--muted); }
.air-low { color: var(--warn); }
.air-off { color: var(--muted); }
.guide-last { font-size: 13.5px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.guide-row.skeleton { grid-template-columns: 62px 96px 1fr 1fr; }
.sk-ch { height: 14px; } .sk-set { height: 96px; border-radius: 12px; }

/* ---------- the broadcast log ---------- */
.feed { border-top: var(--border); }
.feed-row { grid-template-columns: 92px 100px minmax(0, 1fr) auto 72px; padding: 13px 4px; }
.feed-kind { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.feed-row.kind-launch .feed-kind, .feed-row.kind-video .feed-kind { color: var(--ink); }
.feed-row.kind-launch .feed-kind::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: var(--accent); }
.feed-sym { color: var(--ink-2); font-size: 13px; }
a.feed-sym:hover { color: var(--ink); }
.feed-time { font-size: 12px; }

/* ---------- the fee split ---------- */
.splitbar { display: flex; gap: 3px; min-height: 54px; border-radius: 12px; overflow: hidden; }
.splitbar > span { display: grid; align-content: center; gap: 2px; min-width: 0; padding: 8px 12px; font-size: 12px; line-height: 1.2; overflow: hidden; overflow-wrap: anywhere; }
.splitbar b { font-size: 15px; font-weight: 500; }
.split-burn { background: var(--surface-2); color: var(--ink-2); }
.split-air { background: var(--set); color: var(--set-ink); }
.split-creator { background: color-mix(in srgb, var(--ink) 14%, var(--bg)); color: var(--ink); }

/* ---------- the CA box ---------- */
.ca { border-style: dashed; border-color: var(--line-3); background: color-mix(in srgb, var(--bg-2) 60%, transparent); }
.ca.small { border-style: dashed; }

/* ---------- empty states, static ---------- */
.static-box { position: relative; display: grid; place-items: center; width: 168px; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; background: var(--screen); border: 8px solid var(--set); }
.static-box .tv-static { opacity: 0.75; }
.static-box .mono { position: relative; z-index: 2; padding: 6px 10px; border-radius: 4px; background: var(--bg); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; }

/* ---------- page heads ---------- */
.page-head h1 { font-size: clamp(42px, 5.4vw, 78px); line-height: 0.92; letter-spacing: -0.04em; }
.page-head .accent { color: var(--accent); }
.live-line { font: 13px var(--font-mono); color: var(--muted); }
.controls .input { height: 44px; }

/* ---------- coin page: now watching ---------- */
.watch { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; padding-top: clamp(64px, 7vw, 100px); }
.watch-set { max-width: 560px; width: 100%; justify-self: center; }
.watch-copy { display: grid; gap: 16px; justify-items: start; }
.watch-copy h1 { font-size: clamp(52px, 7vw, 108px); line-height: 0.88; letter-spacing: -0.045em; }
.watch-copy .lede { font-size: clamp(18px, 1.7vw, 22px); color: var(--ink); }
.watch-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; width: 100%; }
.watch-stats .stat { padding: 14px 16px; border-radius: var(--r); border: var(--border); background: var(--surface); }
.watch-stats .stat-value { font-size: 22px; }
.watch-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.coin-grid { grid-template-columns: minmax(0, 1fr) 360px; margin-top: clamp(40px, 5vw, 64px); }
.air-panel { display: grid; grid-template-columns: auto 1fr; gap: 18px 28px; align-items: center; }
.air-big { display: grid; gap: 4px; }
.air-big .num { font: 800 clamp(48px, 5vw, 72px)/0.9 var(--font-display); letter-spacing: -0.04em; }
.air-big .signal { font-size: 30px; color: var(--ink); }
.air-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; }
.air-facts div { display: grid; gap: 2px; }
.air-note { grid-column: 1 / -1; }
.about .splitbar { margin-top: 6px; }
.coin-head-chips { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- launch ---------- */
.launch-grid { grid-template-columns: minmax(0, 1fr) 400px; }
.step-card { padding: 26px; }
.step-title { font: 800 26px/1 var(--font-display); letter-spacing: -0.03em; }
.step-title .step-n { width: 32px; height: 32px; font: 500 13px var(--font-mono); letter-spacing: 0; border-color: var(--line-3); }
.step-card.done .step-n { background: var(--good); color: var(--bg); border-color: transparent; }
.sentence { min-height: 96px; font-size: 18px; line-height: 1.45; }
.slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.slot-pick { display: grid; gap: 4px; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line-2); background: var(--bg-2); text-align: left; cursor: pointer; }
.slot-pick b { font-size: 15px; }
.slot-pick span { font-size: 12.5px; color: var(--muted); }
.slot-pick[aria-pressed="true"] { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, var(--bg-2)); }
.face-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 16px; }
.face-note { font-size: 13.5px; }
.air-slider { width: 100%; accent-color: var(--accent); height: 28px; }
.air-readout { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 6px; }
.air-readout .num { font: 800 34px/1 var(--font-display); letter-spacing: -0.03em; }
.launch-side .tv { width: 100%; }
.launch-side .kicker { margin-bottom: 18px; }
.preview-wrap { padding-top: 18%; }

/* ---------- how ---------- */
.how-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.how-steps li { display: grid; gap: 10px; align-content: start; padding: 24px; border-radius: var(--r-lg); background: var(--surface); border: var(--border); }
.how-steps .slot-time { font-size: 13px; }
.how-steps h2 { font: 800 26px/1 var(--font-display); letter-spacing: -0.03em; }
.states { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.state-card { display: grid; gap: 14px; align-content: start; }
.state-card .tv { width: 100%; max-width: 260px; }
.state-card h3 { font: 800 24px/1 var(--font-display); letter-spacing: -0.02em; }

/* ---------- 404 ---------- */
.nosignal { display: grid; justify-items: center; gap: 18px; text-align: center; padding-top: clamp(70px, 8vw, 110px); }
.nosignal .tv { width: min(340px, 80vw); }
.nosignal h1 { font-size: clamp(40px, 5vw, 72px); letter-spacing: -0.04em; }

/* ---------- footer ---------- */
#foot { background: #071033; }
.foot { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px; }
.foot-brand p { margin-top: 14px; max-width: 30em; }
.foot-cols { display: flex; gap: clamp(28px, 5vw, 64px); flex-wrap: wrap; justify-content: flex-end; }
.foot-col { display: grid; gap: 10px; align-content: start; color: var(--ink-2); }
.foot-col a:hover { color: var(--ink); }

/* ---------- toasts, modal ---------- */
.toast { background: var(--set); color: var(--set-ink); font-weight: 600; }
.modal-panel { background: var(--surface); }
.modal-head h2 { font-size: 30px; letter-spacing: -0.03em; }

/* ---------- phones ---------- */
@media (max-width: 1080px) {
  .wall { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 64px; }
  .wall-big { grid-area: 1 / 1 / 2 / -1; justify-self: center; width: min(560px, 100%); }
  .wall-cell.c0 { grid-area: 2 / 1; } .wall-cell.c1 { grid-area: 2 / 2; } .wall-cell.c2 { grid-area: 2 / 3; } .wall-cell.c3 { grid-area: 2 / 4; }
  .wall-cell.c4, .wall-cell.c5, .wall-cell.c6, .wall-cell.c7 { display: none; }
  .hero-foot { grid-template-columns: 1fr; }
  .slot-row { grid-template-columns: 90px minmax(0, 1fr); }
  .slot-vis { grid-column: 2; }
  .guide-row { grid-template-columns: 56px 88px minmax(0, 1.6fr) minmax(0, 0.8fr) minmax(0, 1fr); }
  .guide-last { display: none; }
  .how-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .watch { grid-template-columns: 1fr; }
  .coin-grid { grid-template-columns: 1fr; }
}
@media (max-width: 980px) {
  .launch-grid { grid-template-columns: minmax(0, 1fr); }
  .launch-side { position: static; }
  .preview-wrap { max-width: 380px; padding-top: 60px; }
}
@media (max-width: 860px) {
  .tabbar a[aria-current] { background: var(--accent); color: var(--on-accent); }
  .guide-row { grid-template-columns: 76px minmax(0, 1fr) auto; grid-template-areas: "set who num" "set sig sig"; gap: 6px 14px; padding: 14px 4px; }
  .guide-row .tv { grid-area: set; width: 76px; align-self: start; }
  .guide-ch { display: none; }
  .guide-who { grid-area: who; }
  .guide-num { grid-area: num; justify-items: end; text-align: right; }
  .guide-num .label { display: none; }
  .guide-sig { grid-area: sig; display: flex; align-items: center; gap: 10px; }
  .guide-sig .label { display: none; }
  .guide-name b { font-size: 21px; }
  .feed-row { grid-template-columns: 70px minmax(0, 1fr) 56px; }
  .feed-row .feed-kind { display: none; }
  .feed-row .tx { display: none; }
  .air-panel { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .wall { gap: 8px; margin-top: 56px; }
  .hero-head h1 { font-size: clamp(40px, 11.6vw, 60px); }
  .pitch { padding: 16px; }
  .pitch-box { flex-direction: column; }
  .pitch-box .btn { width: 100%; }
  .slot-row { grid-template-columns: 1fr; gap: 12px; padding: 22px 0; }
  .slot-vis { grid-column: 1; }
  .how-steps, .states { grid-template-columns: 1fr; }
  .slots { grid-template-columns: 1fr; }
  .watch-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .air-facts { grid-template-columns: 1fr 1fr; }
  .splitbar > span { padding: 0 8px; }
  .splitbar > span span { display: none; }
  .knob { width: 32px; height: 32px; }
}
