/* Screens: Home, Now Playing and lyrics, Queue, Sonic Sage, Mix builder, Sonic Adventure, visualizers. */

.home-head h1 { flex: 1 1 auto; }
/* ---------- now playing ---------- */
/* The cover takes the room it has: a bit more than half the page, as big as the height allows (the title and artist
   sit under it); the lyrics get the rest. (Garrett 2026-11-22: "the album art should be scaled up to take up the space it has".) */
.now { position: relative; min-height: 100%; display: grid; grid-template-columns: minmax(280px, 1.15fr) minmax(0, 1fr); gap: 40px; padding: 40px 48px; overflow: hidden; }
.now .bgfx { position: absolute; inset: 0; z-index: 0; background:
    radial-gradient(60% 70% at 15% 20%, var(--b1, #2a2016) 0%, transparent 70%),
    radial-gradient(60% 70% at 85% 25%, var(--b2, #16202a) 0%, transparent 70%),
    radial-gradient(70% 60% at 20% 90%, var(--b3, #1a1a24) 0%, transparent 70%),
    radial-gradient(70% 60% at 85% 85%, var(--b4, #101318) 0%, transparent 70%), var(--bg);
  transition: background .8s; }
.now .bgfx::after { content: ""; position: absolute; inset: 0; background: rgba(8,9,12,.35); }
.now > :not(.bgfx) { position: relative; z-index: 1; }
.now .left { display: flex; flex-direction: column; justify-content: center; gap: 22px; min-width: 0; }
.now .bigart { width: 100%; max-width: min(100%, calc(100dvh - var(--bar-h) - 270px)); aspect-ratio: 1; border-radius: var(--radius-l); object-fit: cover; box-shadow: 0 30px 80px rgba(0,0,0,.6); background: var(--raise); }
.now .nt { font-size: var(--fs-3xl); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.now .na { font-size: var(--fs-xl); color: var(--text-2); margin-top: 4px; }
.now .na a:hover { color: var(--text); text-decoration: underline; }
.now .right { display: flex; flex-direction: column; min-height: 0; height: calc(100vh - var(--bar-h) - 80px); height: calc(100dvh - var(--bar-h) - 80px); }
.lyr-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; color: var(--text-2); font-size: var(--fs-m); min-height: 36px; }
.lyr-head .src { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lyr-tools .off { font-variant-numeric: tabular-nums; min-width: 44px; text-align: center; }
.lyr-tools { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; padding: 6px 0 2px; font-size: var(--fs-m); }
.lyr-tools[hidden] { display: none; }
.lyr-tools .sp { flex: 1; }
.lyr-tools .btn { padding: 5px 12px; font-size: var(--fs-s); }
#lTools[aria-expanded=true] { color: var(--accent); }
#lyrics { flex: 1; overflow-y: auto; position: relative; padding: 32vh 4px 40vh; mask-image: linear-gradient(transparent, #000 14%, #000 80%, transparent); -webkit-mask-image: linear-gradient(transparent, #000 14%, #000 80%, transparent); scrollbar-width: none; }
#lyrics::-webkit-scrollbar { display: none; }
#lyrics p { margin: 0; padding: 10px 0; font-size: clamp(22px, 2.6vw, 34px); line-height: 1.25; font-weight: 800; letter-spacing: -.015em; color: rgba(255,255,255,.45); cursor: pointer; transition: color .25s, opacity .25s, filter .25s; }
#lyrics p:hover { color: rgba(255,255,255,.7); }
#lyrics p.past { color: rgba(255,255,255,.3); }
#lyrics p.cur { color: #fff; }
#lyrics p.gap { font-size: var(--fs-2xl); }
#lyrics.blur p:not(.cur) { filter: blur(.6px); }
#lyrics.plain p { font-size: var(--fs-xl); font-weight: 500; color: var(--text); cursor: default; padding: 3px 0; }
#lyrics .msg { font-size: var(--fs-xl); font-weight: 500; color: var(--text-2); cursor: default; }
.lyr-edit { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 8px 0; padding: 12px; background: rgba(0,0,0,.35); border: 1px solid var(--line); border-radius: var(--radius); }
.lyr-edit .row { grid-column: 1 / -1; display: flex; gap: 8px; justify-content: flex-end; }
.lyr-edit input { width: 100%; }
.lyr-results { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 2px; max-height: 220px; overflow-y: auto; }
.lyr-results button { text-align: left; padding: 8px 10px; border-radius: var(--radius-s); display: flex; gap: 10px; justify-content: space-between; }
.lyr-results button:hover { background: var(--raise); }
.lyr-results .k { color: var(--dim); font-size: var(--fs-s); white-space: nowrap; }
/* queue */
.qsection { color: var(--dim); font-size: var(--fs-s); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin: 22px 0 8px; display: flex; justify-content: space-between; align-items: center; }
/* now playing: sheet header + controls (shown on phones), immersive lyrics */
.sheet-head { display: none; }
.sheet-ctl { display: none; }
/* VIDEO/AUX (GTA radio) on air: no seek/skip/shuffle/repeat/love — it's a broadcast, not the queue */
.now.radio .sheet-ctl, .now.radio #nLove { display: none; }
.now .nt-row { display: flex; align-items: flex-start; gap: 10px; }
.now .nt-row > div { flex: 1; min-width: 0; }
.now.immersive { grid-template-columns: 1fr; padding: 32px max(48px, 8vw); }
.now.immersive .left, .now.immersive .lyr-tools, .now.immersive .lyr-head > :not(#lFull) { display: none; }
.now.immersive .lyr-head { justify-content: flex-end; }
.now.immersive .right { height: calc(100dvh - 64px); }
.now.immersive #lyrics p { font-size: clamp(28px, 4.2vw, 64px); }
.now:fullscreen { padding-bottom: 32px; }
.now:fullscreen .right { height: calc(100dvh - 64px); }
#sDev.on { color: var(--accent); width: auto; padding: 0 10px; gap: 6px; border-radius: 999px; display: inline-flex; align-items: center; }
#sDev .dev-name { font-size: var(--fs-m); font-weight: 600; max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.adv-intro { max-width: 680px; margin: -8px 0 20px; line-height: 1.5; }
.adv-ends { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 14px; align-items: start; }
.adv-arrow { align-self: center; color: var(--accent); }
.adv-arrow svg { width: 28px; height: 28px; }
.adv-slot { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 14px; border-radius: var(--radius-l); background: var(--raise); border: 1px solid var(--line); min-height: 96px; }
.adv-slot input { width: 100%; padding: 10px 12px; border-radius: var(--radius); background: var(--bg-2); border: 1px solid var(--line); color: inherit; font: inherit; }
.adv-label { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .08em; color: var(--dim); }
.adv-results { display: flex; flex-direction: column; }
.adv-results button { display: flex; gap: 10px; align-items: center; text-align: left; padding: 6px; border-radius: var(--radius-s); font-size: var(--fs-m); }
.adv-results button:hover, .adv-results button:focus-visible { background: var(--line); }
.adv-mini { width: 36px; height: 36px; border-radius: var(--radius-s); object-fit: cover; flex: none; }
.adv-pick { display: flex; gap: 12px; align-items: center; }
.adv-art { width: 64px; height: 64px; border-radius: var(--radius-s); object-fit: cover; flex: none; }
.adv-meta { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.adv-meta b, .adv-meta .muted { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.adv-opts { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin: 18px 0; }
.adv-route { margin: 6px 0 14px; line-height: 1.7; }
.adv-play { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
/* ---------- visualizer ---------- */
.viz { position: fixed; inset: 0; z-index: 80; background: #08090c; }
.viz canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: pointer; }
.viz-meta { position: absolute; left: 28px; bottom: 24px; display: flex; flex-direction: column; gap: 2px; text-shadow: 0 2px 12px rgba(0,0,0,.8); transition: opacity .4s; pointer-events: none; }
.viz-meta b { font-size: 22px; }
.viz-meta span { color: var(--text-2); }
.viz-ctl { position: absolute; right: 18px; top: calc(14px + env(safe-area-inset-top)); display: flex; align-items: center; gap: 6px; padding: 4px 6px 4px 4px; border-radius: 999px; background: rgba(20,22,28,.7); backdrop-filter: blur(8px); transition: opacity .4s; }
.viz-ctl .icon { width: 32px; height: 32px; min-width: 32px; flex: none; }   /* (pop-up windows: a hit area that's easy to find) */
.viz-ctl span { min-width: 72px; text-align: center; font-size: 13px; font-weight: 600; }
.viz.idle .viz-ctl { opacity: 0; }
.viz.idle { cursor: none; }
.now .bgfx .livebg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; animation: fadein .8s ease; }
.now .bgfx:has(.livebg)::after { background: radial-gradient(ellipse at 28% 50%, rgba(8,9,12,.08), rgba(8,9,12,.45) 75%), linear-gradient(90deg, transparent 34%, rgba(8,9,12,.8) 54%); }
#lViz.on { color: var(--accent); }
/* a visualizer picture as the background (livebg.js): the visualizer's own element, held to the page, nothing of it
   clickable, dimmed more than Blobs (it's brighter and busier) so the words stay easy to read */
.now .bgfx .viz.viz-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; cursor: default; animation: fadein .8s ease; }
.viz-bg .viz-ctl, .viz-bg .viz-meta, .viz-bg .viz-say, .viz-bg .viz-rta, .viz-bg .viz-srcs { display: none; }
.now .bgfx:has(.viz-bg)::after { background: radial-gradient(ellipse at 28% 50%, rgba(8,9,12,.22), rgba(8,9,12,.55) 75%), linear-gradient(90deg, transparent 34%, rgba(8,9,12,.74) 54%); }
.now:has(.livebg) #lyrics { text-shadow: 0 1px 10px rgba(0,0,0,.7); }
/* ---------- waveform seek bars ---------- */
.wave { position: relative; flex: 1; display: flex; align-items: center; min-width: 0; }
.wave input { flex: 1; position: relative; z-index: 1; width: 100%; }
.wave canvas { position: absolute; left: 0; right: 0; top: 50%; height: 22px; width: 100%; transform: translateY(-50%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.wave.on canvas { opacity: 1; }
.wave.on input[type=range]::-webkit-slider-runnable-track { background: transparent; }
.wave.on input[type=range]::-moz-range-track, .wave.on input[type=range]::-moz-range-progress { background: transparent; }
.now .wave canvas { height: 30px; }
#hMixes, #hTravel, #hOtd { margin-bottom: 8px; }
/* Mix builder */
.mixb { max-width: 720px; }
.mixb-picked { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 12px; min-height: 38px; align-items: center; }
.mixb input[type=search] { width: 100%; box-sizing: border-box; }
.mixb-results { display: grid; gap: 2px; margin-top: 6px; }
.mixb-hit { display: flex; align-items: center; gap: 12px; padding: 6px 8px; border: 0; border-radius: var(--radius-s); background: none; color: var(--text); font: inherit; text-align: left; cursor: pointer; }
.mixb-hit:hover, .mixb-hit:focus-visible { background: var(--raise); }
.mixb-hit img, .mixb-hit .ph { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; background: var(--raise); display: grid; place-items: center; font-weight: 800; color: var(--line-strong); flex: none; }
.mixb-go { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 20px; flex-wrap: wrap; }
.mixb-go label { color: var(--text-2); display: flex; gap: 8px; align-items: center; }
/* Now Playing: swipe the art/title sideways to skip */
.now .swipe-x { transition: transform .22s ease, opacity .22s ease; touch-action: pan-y; }
.now .swipe-x.dragging { transition: none; }
/* Home customization */
section.user-hidden { display: none !important; }
.home-edit { max-width: 560px; margin: 0 0 24px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.home-edit .he-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 8px; }
.home-edit ol { list-style: none; margin: 0; padding: 0; }
.home-edit li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 6px 4px; border-bottom: 1px solid var(--line); }
.home-edit li:last-child { border-bottom: 0; }
.home-edit li.off span { color: var(--dim); text-decoration: line-through; }
.home-edit label { display: flex; align-items: center; gap: 10px; cursor: pointer; min-width: 0; }
.home-edit label span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.home-edit input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--accent); flex: none; }
.home-edit .he-move { display: flex; gap: 4px; flex: none; }
.home-edit .he-move button:disabled { opacity: .3; }
.home-edit .he-foot { display: flex; justify-content: space-between; margin-top: 12px; }
/* Sonic Sage */
.sage { max-width: 980px; }
.sage-form { display: flex; gap: 10px; margin: 16px 0 12px; }
.sage-form input { flex: 1; min-width: 0; font-size: 16px; padding: 12px 14px; }
.sage .chips { margin-bottom: 22px; }
.sage .chip { font-weight: 500; font-size: var(--fs-m); }
.sage-wait { display: flex; align-items: center; gap: 14px; color: var(--text-2); padding: 30px 0; }
.sage-wait .spinner { margin: 0; }
.sage-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.sage-head h2 { margin: 0 0 4px; font-size: var(--fs-2xl); letter-spacing: -.02em; }
.sage-head p { margin: 0; }
.sage-note { display: block; font-size: var(--fs-s); margin-top: 4px; }
.sage-head .tools { display: flex; gap: 8px; flex-wrap: wrap; }
.qsection .btn.sm { padding: 4px 10px; font-size: var(--fs-s); margin-left: auto; }
.q-note { padding: 10px; }
.credits { margin-top: 20px; }
#btnRepeat, #sRepeat { position: relative; }
#btnRepeat .rep1, #sRepeat .rep1 { position: absolute; font-size: var(--fs-2xs); font-weight: 800; }
/* The bar's song (bar.js): the title is the button that opens Now Playing, stretched over the whole strip, art
   included; the artist and album links sit above that, so they go to their pages instead. */
#bar .np { position: relative; }
#barNow { display: block; max-width: 100%; text-align: left; }
#barNow::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
#barNow:focus-visible { outline: none; }
#bar .np:has(#barNow:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
#barArtist a { position: relative; z-index: 1; }
#barArtist a:hover { color: var(--text); text-decoration: underline; }
/* the time under the pointer over the seek bar (bar.js) */
.hwtip.seektip { max-width: none; padding: 3px 7px; font-size: var(--fs-s); font-variant-numeric: tabular-nums; white-space: nowrap; }
/* Save as playlist (saveplaylist.js): the name box and its ✓ */
.q-save-box { display: inline-flex; align-items: center; gap: 4px; }
.q-save-ok { flex: none; }

@media (max-width: 1100px) {
  .now { display: flex; flex-direction: column; height: 100%; min-height: 0; padding: 24px; gap: 16px; }
  .now .left { flex-direction: row; align-items: center; flex: none; }
  .now .bigart { width: 120px; }
  .now .right { height: auto; flex: 1; min-height: 0; }
  #lyrics { padding: 22vh 4px 30vh; }
}
/* With the queue beside it the page is narrower: the same stacked layout comes sooner. */
@media (max-width: 1400px) {
  #app.q-side .now { display: flex; flex-direction: column; height: 100%; min-height: 0; padding: 24px; gap: 16px; }
  #app.q-side .now .left { flex-direction: row; align-items: center; flex: none; }
  #app.q-side .now .bigart { width: 120px; flex: none; }
  #app.q-side .now .right { height: auto; flex: 1; min-height: 0; }
}

@media (max-width: 760px) {
  /* the mini-player: the whole strip is one tap to Now Playing (the links there are too small a target) */
  #barArtist a { pointer-events: none; }
  /* now playing becomes a full-screen sheet over the bar and nav */
  .now { position: fixed; inset: 0; z-index: 40; padding: calc(8px + env(safe-area-inset-top)) 16px calc(12px + env(safe-area-inset-bottom)); gap: 12px; }
  .now .sheet-head { display: flex; align-items: center; justify-content: space-between; touch-action: none; }
  .now .sheet-head .grab { width: 40px; height: 5px; border-radius: 3px; background: var(--line-strong); }
  .now .sheet-ctl { display: flex; flex-direction: column; gap: 6px; }
  .now .sheet-ctl .buttons { justify-content: space-between; padding: 0 6px; }
  .now .sheet-ctl .icon.play { width: 60px; height: 60px; }
  .now .sheet-ctl .icon.play svg { width: 26px; height: 26px; }
  .now .left { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 10px 12px; align-items: center; }
  .now .sheet-ctl { grid-column: 1 / -1; }
  .now.art-mode .left { grid-template-columns: minmax(0, 1fr); align-content: center; }
  .now.art-mode .right { display: none; }
  .lyr-head { flex-wrap: nowrap; gap: 4px; }
  #lSave { display: none; }
  .now.art-mode .left { flex-direction: column; align-items: stretch; flex: 1; justify-content: center; }
  .now.art-mode .bigart { width: 100%; max-width: none; }
  .now.art-mode .nt { font-size: var(--fs-2xl); }
  .now .sheet-ctl .icon:not(.play) { width: 52px; height: 52px; }
  .now .sheet-ctl .icon:not(.play) svg { width: 24px; height: 24px; }
  .now { padding: 16px; }
  .now .bigart { width: 64px; border-radius: var(--radius-s); }
  .now .nt { font-size: var(--fs-xl); }
  .home-head .head-icons { order: 1; }
  /* greeting and the small icons on one line; buttons underneath */
  .home-head .tools { order: 2; flex-basis: 100%; }
  .home-head .head-icons .icon { width: 40px; height: 40px; }
  .home-head #homeEdit { display: none; }
  /* phones: Customize lives at the bottom of Home */
  .home-foot { display: flex !important; justify-content: center; margin: 28px 0 8px; }
  .adv-ends { grid-template-columns: minmax(0, 1fr); }
  .adv-arrow { justify-self: center; transform: rotate(90deg); }
  .now .bgfx:has(.livebg, .viz-bg)::after { background: linear-gradient(to bottom, rgba(8,9,12,.42), rgba(8,9,12,.5) 38%, rgba(8,9,12,.78) 52%, rgba(8,9,12,.82)); }
  .sage-form { flex-direction: column; }
}
/* The visualizer's source button and list (Mac app: Liner's music, the whole Mac, or an audio input). */
.viz-ctl .src { max-width: 220px; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--text); background: rgba(255,255,255,.08); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.viz-srcs { position: absolute; right: 18px; top: calc(64px + env(safe-area-inset-top)); display: flex; flex-direction: column; min-width: 240px; max-height: 60vh; overflow: auto; padding: 6px; border-radius: 14px; background: rgba(20,22,28,.94); backdrop-filter: blur(8px); transition: opacity .4s; }
.viz-srcs button { text-align: left; padding: 9px 12px; border-radius: 9px; font-size: 14px; color: var(--text); }
.viz-srcs button:hover, .viz-srcs button:focus-visible { background: rgba(255,255,255,.08); }
.viz-srcs button.on { color: var(--accent); font-weight: 600; }
.viz.idle .viz-srcs { opacity: 0; pointer-events: none; }
/* The visualizer list, styles crossfading, and the RTA's controls. */
.viz-ctl .src.name { min-width: 120px; }
.viz-list { max-height: 70vh; }
.viz-list hr { border: 0; border-top: 1px solid rgba(255,255,255,.1); margin: 6px 4px; }
.viz canvas.md, .viz canvas.fl, .viz canvas.isf, .viz canvas.hy, .viz canvas.am { display: none; animation: vizIn .9s ease; }   /* (fades in each time it's shown: its code may arrive after the change) */
.viz.swap canvas { animation: vizIn .7s ease; }
@keyframes vizIn { from { opacity: 0; } to { opacity: 1; } }
.viz.rta .viz-meta { display: none; }
/* the instrument's own settings: a row under the main controls (side by side they ran into each other) */
.viz-rta { position: absolute; right: 18px; top: calc(66px + env(safe-area-inset-top)); max-width: calc(100% - 36px); display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; padding: 4px; border-radius: 22px; background: rgba(20,22,28,.7); backdrop-filter: blur(8px); transition: opacity .4s; }
.viz-rta button { padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--text); background: rgba(255,255,255,.08); }
.viz-rta button:hover { background: rgba(255,255,255,.16); }
.viz.idle .viz-rta { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .viz.swap canvas { animation: none; } }
/* The song title fades with the controls; it shows for a few seconds when the song changes. */
.viz.idle:not(.titled) .viz-meta { opacity: 0; }

/* Home: the greeting's live line, and the 412 scoreboard (black and gold) */
.greet { flex: 1 1 auto; min-width: 0; }
.greet h1 { margin: 0; }
.greet-sub { margin: 4px 0 0; color: var(--text-2); font-size: var(--fs-l); font-weight: 500; }
.greet-sub.live::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%;
  background: #ff3b2b; box-shadow: 0 0 8px rgba(255, 59, 43, .8); animation: sbPulse 1.6s ease-in-out infinite; vertical-align: 1px; }
.scoreboard { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }
.sb-team { padding: 14px 16px; border-radius: var(--radius); background: linear-gradient(180deg, #17181c, #111216);
  border: 1px solid #23252b; border-left: 3px solid #ffb612; }
.sb-team.sb-penguins { border-left-color: #fcb514; }
/* the venue photo (teams) or the sky (weather) behind a tile, darkened so the text stays sharp */
.sb-team.has-bg { position: relative; overflow: hidden; isolation: isolate; }
.sb-team.has-bg > :not(.wxbg) { position: relative; z-index: 1; }
.sb-team.has-venue::before { content: ""; position: absolute; inset: 0; z-index: 0; background: var(--venue) center 45% / cover no-repeat; }
.sb-team.sb-penguins.has-venue::before { background-position: 50% 72%; }
.sb-team.has-bg::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(10,11,15,.88) 0%, rgba(10,11,15,.72) 55%, rgba(10,11,15,.45) 100%); }
.sb-team.sb-weather .wxbg { --wx-at: 93% 80%; }   /* (the sun or moon low in the corner, clear of the text) */
.sb-team.sb-weather.has-bg::after { background: linear-gradient(90deg, rgba(10,11,15,.62) 0%, rgba(10,11,15,.35) 60%, rgba(10,11,15,.12) 100%); }
.sb-team.has-bg .sb-name, .sb-team.has-bg .sb-row { text-shadow: 0 1px 6px rgba(0,0,0,.6); }
.sb-name { display: flex; align-items: baseline; gap: 10px; font-size: var(--fs-xl); font-weight: 800; letter-spacing: -.01em; color: #ffb612; }
.sb-rec { font-size: var(--fs-s); font-weight: 600; color: var(--text-2); letter-spacing: 0; }
.sb-row { display: flex; gap: 10px; margin-top: 6px; font-size: var(--fs-m); color: var(--text); }
.sb-row span { width: 48px; flex: none; color: var(--text-2); font-size: var(--fs-xs); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding-top: 2px; }
.sb-live { margin-top: 8px; font-size: var(--fs-base); font-weight: 700; color: #fff; letter-spacing: .02em; }
.sb-live b { font-size: var(--fs-xl); margin: 0 4px; font-variant-numeric: tabular-nums; }
.sb-dot { display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: #ff3b2b;
  box-shadow: 0 0 8px rgba(255, 59, 43, .8); animation: sbPulse 1.6s ease-in-out infinite; vertical-align: 1px; }
@keyframes sbPulse { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .sb-dot, .greet-sub.live::before { animation: none; } }
/* the clock: a painter behind frosted glass repaints the minute hand each minute (painterclock.js) */
.sb-team[data-card] { cursor: pointer; transition: border-color .15s, background .15s; }
.sb-team[data-card]:hover { background: linear-gradient(180deg, #1c1e24, #15161b); }
.sb-team.sb-clock { cursor: pointer; display: flex; align-items: center; gap: 16px; padding: 6px 16px 6px 6px; border-left-color: #8a8f99;
  contain: layout paint; will-change: transform; }   /* its own layer: the painter's frames don't repaint the page around it */
.sb-clockface { height: 104px; aspect-ratio: 1; flex: none; display: block; }
.sb-clocktext { display: flex; flex-direction: column; gap: 4px; }
.sb-clocktext b { font-size: var(--fs-xl); font-weight: 800; color: var(--text); }
.sb-clocktext span { font-size: var(--fs-m); color: var(--text-2); }
.sb-foot { grid-column: 1 / -1; display: flex; align-items: center; justify-content: flex-end; gap: 6px; font-size: var(--fs-s); color: var(--text-2); margin-top: -4px; }
.sb-foot[hidden] { display: none; }   /* (shown only when the scores are older than an hour) */
.sb-foot .spin svg { animation: sbSpin .8s linear infinite; }
@keyframes sbSpin { to { transform: rotate(360deg); } }

/* Sonic Sage: your recent mixes */
.sg-h { font-size: var(--fs-l); margin: 6px 0 8px; color: var(--text-2); font-weight: 600; letter-spacing: .01em; }
.sg-recent { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.sg-recent li { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: var(--radius); background: rgba(255,255,255,.035); }
.sg-recent li:hover { background: rgba(255,255,255,.07); }
.sg-play { flex: none; width: 34px; height: 34px; }
.sg-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.sg-txt b, .sg-txt span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sg-name { cursor: text; }
button.sg-name { font: inherit; font-weight: 700; color: inherit; background: none; border: 0; padding: 0; text-align: left; cursor: text; }
button.sg-name:hover { text-decoration: underline dotted; }
.sg-rename { font: inherit; font-weight: 700; padding: 3px 6px; border-radius: var(--radius-s); max-width: 360px; }
.sg-acts { display: flex; gap: 4px; align-items: center; flex: none; }
.sg-acts .btn.sm { padding: 5px 10px; font-size: var(--fs-s); }
.sg-acts svg { width: 13px; height: 13px; }
@media (max-width: 760px) { .sg-acts .btn.sm span, .sg-acts .btn.sm { font-size: 0; } .sg-acts .btn.sm svg { width: 16px; height: 16px; } }

/* The instruments' control panel (RTA, oscilloscope): labelled groups of side-by-side choices */
.viz-inst { gap: 14px; padding: 8px 12px; border-radius: 14px; align-items: flex-end; }
.viz-inst .ig { display: flex; flex-direction: column; gap: 4px; }
.viz-inst .il { font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.45); padding-left: 2px; }
.viz-inst .seg { display: flex; border-radius: 9px; background: rgba(255,255,255,.06); padding: 2px; gap: 2px; }
.viz-inst .seg button { padding: 5px 10px; border-radius: 7px; font-size: 12.5px; font-weight: 600; color: rgba(255,255,255,.7); background: transparent; }
.viz-inst .seg button:hover { background: rgba(255,255,255,.1); color: #fff; }
.viz-inst .seg button[aria-pressed=true] { background: rgba(255,255,255,.18); color: #fff; }
.viz-inst .seg.step button { width: 28px; min-height: 28px; padding: 5px 0; font-size: 15px; }
.viz-inst .seg .sv { min-width: 74px; text-align: center; align-self: center; font: 600 12.5px ui-monospace, "SF Mono", Menlo, monospace; color: #fff; }
.viz-inst .seg button.tg[aria-pressed=true] { background: #f5a524; color: #111; }

/* the instrument panel: section headings, bridge-only groups, hold-to-reset */
.viz-inst .isec { align-self: center; font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: rgba(245,165,36,.75); padding: 0 2px 0 8px; border-left: 1px solid rgba(255,255,255,.1); }
.viz-inst .isec:first-child { border-left: 0; padding-left: 2px; }
.viz:not(.bridged) .viz-inst .bridge-only { display: none; }
/* the meter bridge: the bar down to target, delay and reset; the header to the style menu, the source, full screen, close */
.viz.bridged .viz-inst .scope-only, .viz.bridged #vzPrev, .viz.bridged #vzNext, .viz.bridged #vzInt { display: none; }
.viz.bridged .viz-inst button[data-v="xy"] { display: none; }
.viz-inst button.act.hold { position: relative; overflow: hidden; }
.viz-inst button.act.hold::after { content: ""; position: absolute; inset: 0; background: rgba(245,165,36,.35); transform: scaleX(0); transform-origin: left; }
.viz-inst button.act.hold.holding::after { transform: scaleX(1); transition: transform .8s linear; }
.viz-inst button.act.hold.done { background: rgba(47,212,111,.35); }
/* in the bridge: one toolbar at the bottom, frosted, out of the meters' way (it fades with the mouse like the rest) */
/* the bridge left running: idle, the controls stop taking clicks and the pointer hides over the meters too (the
   canvas's own pointer cursor and the timeline's would otherwise keep it) */
.viz.bridged.idle canvas { cursor: none !important; }
/* the wide bridge (an ultrawide across the room): the controls half as big again, readable from the desk, low over the
   status line and the history's time axis (nothing that has to be read while adjusting) */
.viz.bridged.wide .viz-rta.viz-inst { zoom: 1.5; bottom: 6px; }
.viz.bridged.wide .viz-ctl { zoom: 1.4; }
.viz.bridged.idle .viz-ctl, .viz.bridged.idle .viz-rta, .viz.bridged.idle .viz-srcs { pointer-events: none; }
.viz.bridged .viz-rta.viz-inst { top: auto; right: auto; left: 50%; bottom: 18px; transform: translateX(-50%); max-width: calc(100% - 36px);
  flex-wrap: nowrap; background: rgba(22,24,30,.72); -webkit-backdrop-filter: blur(24px) saturate(1.6); backdrop-filter: blur(24px) saturate(1.6);
  border: .5px solid rgba(255,255,255,.12); box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 10px 30px rgba(0,0,0,.45); }

.sb-ago { font-style: normal; margin-left: 8px; color: var(--dim); font-size: .92em; }

/* ---------- Settings: the app's version line ---------- */
.app-version { font-variant-numeric: tabular-nums; }

/* ---------- Room log (#/roomlog) ---------- */
.roomlog .rl-sub { margin: -8px 0 20px; font-size: var(--fs-m); max-width: 70ch; line-height: 1.45; }
.roomlog .tools select { width: auto; min-width: 200px; }
.roomlog .tools .btn.sm { font-size: var(--fs-xl); line-height: 1; padding: 5px 12px; }
.rl-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(132px, 1fr)); gap: 10px; margin-bottom: 18px; }
.rl-tile { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.rl-tile span { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.rl-tile b { font-size: var(--fs-2xl); font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rl-tile small, .rl-table small, .rl-overs small { font-size: .62em; font-weight: 600; color: var(--dim); }
.rl-tile.hot b, .rl-table .hot { color: #FF6B5E; }
.rl-bar { background: linear-gradient(180deg, #0d0f14, #07080b); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 12px 6px; }
.rl-bar svg { display: block; width: 100%; height: 120px; }
.rl-bar .rl-sess { fill: rgba(255, 255, 255, .035); stroke: rgba(255, 255, 255, .07); stroke-width: 1; vector-effect: non-scaling-stroke; }
.rl-bar .rl-sess.loudest { fill: rgba(245, 165, 36, .07); stroke: rgba(245, 165, 36, .3); }
.rl-bar .rl-grid { stroke: rgba(255, 255, 255, .06); stroke-width: 1; vector-effect: non-scaling-stroke; }
.rl-bar .rl-over { fill: #FF3B30; }
.rl-hours { position: relative; height: 16px; font-size: var(--fs-2xs); color: var(--dim); font-variant-numeric: tabular-nums; }
.rl-hours span { position: absolute; top: 2px; transform: translateX(-50%); }
.rl-hours span:first-child { transform: none; }
.rl-hours span:last-child { transform: translateX(-100%); }
.rl-table { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.rl-tr { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr .6fr; gap: 12px; padding: 10px 16px; border-top: 1px solid var(--line); font-variant-numeric: tabular-nums; align-items: baseline; }
.rl-tr:first-child { border-top: 0; }
.rl-th { background: var(--bg-2); font-size: var(--fs-xs); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.rl-tr.loudest { background: rgba(245, 165, 36, .06); }
.rl-tr em { font-style: normal; font-size: var(--fs-2xs); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); margin-left: 6px; }
.rl-titles { padding: 0 16px 10px; font-size: var(--fs-s); }
.rl-overs { display: flex; flex-wrap: wrap; gap: 6px; }
.rl-overs span { background: var(--panel); border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; font-size: var(--fs-s); font-variant-numeric: tabular-nums; }
.rl-overs b { color: #FF6B5E; font-weight: 700; margin-right: 4px; }
.rl-overs i { font-style: normal; color: var(--text-2); }
@media (max-width: 760px) {
  .rl-tr { grid-template-columns: 1.4fr 1fr 1fr; row-gap: 2px; }
  .rl-tile b { font-size: var(--fs-xl); }
  .roomlog .tools select { min-width: 0; max-width: 52vw; }
}

/* ---------- Radio (view-radio.js) ---------- */
.st-logo { position: relative; flex: none; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: var(--radius-s); overflow: hidden;
  background: linear-gradient(140deg, hsl(var(--hue) 45% 30%), hsl(calc(var(--hue) + 40) 50% 18%)); color: hsl(var(--hue) 70% 88%); }
.st-logo b { font-size: var(--fs-2xs); font-weight: 800; letter-spacing: .06em; }
.st-logo img, #bar .st-logo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #f4f4f6; }
.st-logo.lg { width: 56px; height: 56px; border-radius: var(--radius); }
.st-logo.lg b { font-size: var(--fs-s); }
.st-logo.bar { width: 56px; height: 56px; }
.st-logo.bar b { font-size: var(--fs-s); }
.radio-page { max-width: 1100px; }
.radio-page .page-head .btn svg { width: 15px; height: 15px; }
.radio-page .page-head .btn span { max-width: 46vw; overflow: hidden; text-overflow: ellipsis; }
.rd-finder { margin-bottom: 22px; }
.rd-findrow { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); flex-wrap: wrap; }
.rd-findrow > div:first-child { flex: 1 1 260px; min-width: 0; }
/* no place yet */
.rd-welcome { max-width: 640px; margin: 24px auto 0; text-align: center; padding: 36px 28px 28px; border-radius: var(--radius-l);
  background: radial-gradient(120% 90% at 50% 0%, color-mix(in srgb, var(--accent) 12%, var(--panel)), var(--panel) 70%); border: 1px solid var(--line); }
.rd-welcome-art { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 16%, var(--raise)); color: var(--accent); margin-bottom: 14px; }
.rd-welcome-art svg { width: 36px; height: 36px; }
.rd-welcome h2 { margin: 0 0 8px; font-size: var(--fs-2xl); letter-spacing: -.01em; }
.rd-welcome > p { color: var(--text-2); margin: 0 auto 22px; max-width: 480px; line-height: 1.5; }
.rd-welcome .rd-findrow { text-align: left; background: var(--bg-2); }
.rd-welcome .radio-hits { text-align: left; }
/* on air */
.rd-onair { display: flex; align-items: center; gap: 14px; padding: 12px 14px; margin-bottom: 22px; border-radius: var(--radius-l);
  background: linear-gradient(100deg, color-mix(in srgb, var(--accent) 16%, var(--panel)), var(--panel) 65%); border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--line)); }
.rd-onair[hidden] { display: none; }
.rd-at { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.rd-at b { font-size: var(--fs-xl); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rd-at small { color: var(--text-2); font-size: var(--fs-m); }
.rd-air-word { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-size: var(--fs-xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.rd-air-word.bad { color: var(--danger); }
.rd-air-word .eq { height: 11px; }
.rd-air-word .eq i { height: 11px; width: 2.5px; }
.rd-stop svg { width: 14px; height: 14px; }
/* worldwide search */
.rd-search { margin-bottom: 26px; border: 1px solid var(--line); border-radius: var(--radius-l); background: var(--panel); overflow: hidden; }
.rd-search-toggle { display: flex; align-items: center; gap: 10px; width: 100%; padding: 13px 16px; text-align: left; color: var(--text); font-weight: 600; background: transparent; border: 0; }
.rd-search-toggle:hover { background: var(--raise); }
.rd-search-toggle > span { flex: 1; min-width: 0; }
.rd-search-toggle svg { width: 16px; height: 16px; color: var(--text-2); flex: none; }
.rd-search-toggle svg:last-child { transition: transform .18s; }
.rd-search-toggle[aria-expanded=true] svg:last-child { transform: rotate(180deg); }
.rd-search-body { padding: 4px 16px 16px; border-top: 1px solid var(--line); }
.rd-search-body[hidden] { display: none; }
.rd-search-form { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 2px; }
.rd-search-form input[type=search], .rd-search-form input[type=text] { width: auto; }
.rd-search-form #rdSName { flex: 3 1 240px; }
.rd-search-form #rdSTag, .rd-search-form #rdSCountry { flex: 1 1 130px; }
.rd-search-form .btn { flex: none; }
.rd-search-form .btn svg { width: 15px; height: 15px; }
.rd-found-wrap:not(:empty) { margin-top: 14px; }
.rd-found-wrap .spinner { margin: 22px auto; }
.rd-found-wrap .empty { padding: 22px 0; }
.rd-meta { font-size: var(--fs-2xs); color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rd-recents { padding: 0 8px 10px; }
.rd-recents-head { padding: 10px 8px 6px; border-top: 1px solid var(--line); }
@media (max-width: 760px) {
  .rd-search-form { gap: 8px; }
  .rd-search-form #rdSName, .rd-search-form #rdSTag, .rd-search-form #rdSCountry { flex: 1 1 100%; max-width: none; }
  .rd-search-form .btn { width: 100%; justify-content: center; }
}
/* presets */
.rd-gta { margin-bottom: 26px; }
.rd-gta[hidden] { display: none; }
.rd-gta-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 10px; }
.rd-gta-head h2 { margin: 0; font-size: var(--fs-l); }
.rd-gta .chips { margin-bottom: 12px; flex-wrap: wrap; }
.rd-gta .rd-presets { margin-bottom: 0; }
.st-logo.gta { background: color-mix(in srgb, var(--accent) 22%, var(--raise)); color: var(--accent); }
.st-logo.gta b { font-size: var(--fs-l); letter-spacing: 0; }
.rd-presets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 26px; }
.rd-presets:has(> .rd-preset.empty:only-child) { grid-template-columns: minmax(0, 1fr); }
/* more than three saved: a compact grid, as many across as fit */
.rd-presets.many { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; }
.rd-presets.many .rd-preset { min-height: 68px; padding: 10px 12px 10px 14px; gap: 12px; }
.rd-presets.many .rd-pn { font-size: 30px; }
.rd-presets.many .rd-pt b { font-size: var(--fs-m); }
.rd-preset { position: relative; display: flex; align-items: center; gap: 14px; min-height: 92px; padding: 16px 16px 16px 18px; border-radius: var(--radius-l); text-align: left;
  background: var(--panel); border: 1px solid var(--line); color: var(--text); overflow: hidden; transition: border-color .15s, background .15s, transform .15s; }
button.rd-preset:hover { border-color: var(--line-strong); background: var(--raise); }
button.rd-preset:active { transform: scale(.985); }
.rd-preset.empty { border-style: dashed; background: transparent; color: var(--dim); }
.rd-preset.away { opacity: .6; }
.rd-pn { position: absolute; right: 12px; top: 6px; font-size: 40px; font-weight: 800; line-height: 1; color: var(--text); opacity: .07; font-variant-numeric: tabular-nums; pointer-events: none; }
.rd-preset.empty .rd-pn, .rd-preset.away .rd-pn { opacity: .14; }
.rd-pt { min-width: 0; display: flex; flex-direction: column; gap: 3px; flex: 1; }
.rd-pt b { font-size: var(--fs-l); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rd-pt small { color: var(--text-2); font-size: var(--fs-s); line-height: 1.35; }
.rd-preset.empty small { color: var(--dim); }
.rd-preset.playing { border-color: color-mix(in srgb, var(--accent) 60%, transparent); background: color-mix(in srgb, var(--accent) 12%, var(--panel)); box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 30%, transparent), 0 8px 30px -12px color-mix(in srgb, var(--accent) 50%, transparent); }
.rd-preset.playing .rd-pn { color: var(--accent); opacity: .3; }
.rd-preset.playing .rd-pt b { color: var(--accent); }
.rd-preset .rd-state { flex: none; }
/* the list */
.rd-filter input[type=search] { flex: 1 1 260px; width: auto; max-width: 420px; }
.rd-filter .chip { padding: 6px 12px; font-size: var(--fs-m); }
.rd-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.rd-st { display: flex; align-items: center; gap: 4px; border-radius: var(--radius); }
.rd-st:hover { background: var(--raise); }
.rd-main { flex: 1; min-width: 0; display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 14px; padding: 8px 10px; border-radius: var(--radius); text-align: left; color: var(--text);
  -webkit-touch-callout: none; user-select: none; -webkit-user-select: none; transition: transform .12s; }
.rd-main.held { transform: scale(.985); }
.rd-main:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.rd-tx { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.rd-nm { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rd-sub { display: flex; gap: 6px; align-items: center; min-width: 0; overflow: hidden; white-space: nowrap; }
.rd-call { font-size: var(--fs-s); font-weight: 700; letter-spacing: .04em; color: var(--text-2); }
.rd-tag { font-size: var(--fs-2xs); color: var(--dim); border: 1px solid var(--line); border-radius: 999px; padding: 1px 7px; text-transform: lowercase; }
.rd-fq { font-variant-numeric: tabular-nums; font-size: var(--fs-m); font-weight: 600; color: var(--text-2); letter-spacing: .02em; white-space: nowrap; }
.rd-state { display: inline-grid; place-items: center; min-width: 28px; }
.rd-main .rd-state:empty { min-width: 0; margin-left: -14px; }
.rd-word { font-size: var(--fs-2xs); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); white-space: nowrap; }
.rd-st.playing { background: color-mix(in srgb, var(--accent) 10%, transparent); }
.rd-st.playing .rd-nm, .rd-st.playing .rd-fq { color: var(--accent); }
.rd-st.nosignal .rd-word, .rd-preset.nosignal .rd-word { color: var(--danger); }
.rd-more { opacity: .55; flex: none; }
.rd-st:hover .rd-more, .rd-more:focus-visible, .rd-more[aria-expanded=true] { opacity: 1; }
.rd-list > .empty { padding: 30px 0; }
@media (max-width: 760px) {
  .rd-presets { grid-template-columns: 1fr; gap: 8px; margin-bottom: 18px; }
  .rd-preset { min-height: 72px; padding: 10px 14px; }
  .rd-preset .st-logo.lg { width: 48px; height: 48px; }
  .st-logo.bar { width: 44px; height: 44px; }
  .rd-tag ~ .rd-tag ~ .rd-tag { display: none; }
  .rd-pn { font-size: 32px; }
  .rd-main { gap: 12px; padding: 8px 6px; }
  .rd-onair { gap: 12px; padding: 10px 12px; }
  .rd-at b { font-size: var(--fs-l); }
  .rd-welcome { padding: 28px 16px 18px; margin-top: 8px; }
  .rd-findrow .radio-find { width: 100%; }
  .rd-findrow .radio-find input[type=text] { flex: 1; width: auto; max-width: none; }
}
@media (prefers-reduced-motion: reduce) { .rd-preset, .rd-main { transition: none; } .rd-st .eq i, .rd-preset .eq i, .rd-onair .eq i { animation: none; } }
.q-save { font-weight: 600; min-width: 220px; }
/* MilkDrop's favourites quiz: three presets side by side, lettered. */
.viz-say { position: absolute; left: 50%; top: 18px; transform: translateX(-50%); max-width: 80%; margin: 0; padding: 10px 24px; border-radius: 999px; background: rgba(8,9,12,.78); color: var(--text); font-size: clamp(20px, 2.6vw, 40px); font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: 0; transition: opacity .3s; pointer-events: none; z-index: 2; }
.viz-say.on { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .viz-say { transition: none; } }
