/* Stickaboo: Sticker Player. A 2001-era chrome media-player skin on a navy-black night:
   brushed-chrome pods, a green LCD for whatever the machine is saying, glossy pink jelly
   buttons for the one action, Unbounded slanted for display. Fonts are served from this server. */
@font-face { font-family: "Rubik"; font-style: normal; font-weight: 300 900; font-display: swap; src: url(/fonts/rubik-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Rubik"; font-style: normal; font-weight: 300 900; font-display: swap; src: url(/fonts/rubik-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Unbounded"; font-style: normal; font-weight: 200 900; font-display: swap; src: url(/fonts/unbounded-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Unbounded"; font-style: normal; font-weight: 200 900; font-display: swap; src: url(/fonts/unbounded-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --night: #0A0A2A;         /* the page */
  --night-hi: #14144A;      /* raised rows, fields' frames, panels */
  --night-deep: #05051A;    /* header, footer */
  --keyline: #34349A;       /* panel edges */
  --line: rgba(124, 124, 255, .26);
  --line-2: rgba(170, 170, 255, .6);
  --chrome-hi: #F4F6FB;
  --chrome: #C8CDDC;
  --chrome-lo: #7E86A0;
  --chrome-ink: #23263A;    /* text and icons on chrome */
  --lcd: #0B1A12;
  --lcd-hi: #122A1E;
  --lcd-on: #7CFFB2;        /* everything the machine says */
  --pink: #FF4FA8;          /* the one action */
  --pink-hi: #FF7FC0;
  --pink-lo: #B51C6C;
  --pink-deep: #DB2785;     /* jelly body behind white text */
  --peri: #5B5BE0;          /* display keyline */
  --peri-deep: #23236B;
  --star: #FFE84A;          /* labels and sparkles */
  --text: #F2F3FA;
  --soft: #B9BBE0;          /* secondary text, 9:1 on night */
  --field: #FFFFFF;
  --field-ink: #16163A;
  --ok: #7CFFB2;
  --warn: #FFC53D;
  --bad: #FF9AB8;
  --display: "Unbounded", "Rubik", system-ui, sans-serif;
  --font: "Rubik", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", Consolas, Menlo, monospace;
  --gutter: max(16px, calc((100% - 1088px) / 2));
  --chrome-face: linear-gradient(160deg, var(--chrome-hi) 0%, var(--chrome) 36%, var(--chrome-lo) 60%, var(--chrome) 80%, var(--chrome-hi) 100%);
  /* Gloss on top, and a body deep enough (#DB2785, 4.5:1) for white text across the middle. */
  --jelly: radial-gradient(ellipse 70% 34% at 50% 14%, rgba(255, 255, 255, .6), transparent 70%), linear-gradient(var(--pink) 0%, var(--pink-deep) 34%, var(--pink-deep) 66%, var(--pink-lo));
  --pod-shadow: 0 18px 40px rgba(0, 0, 0, .55), inset 0 2px 0 rgba(255, 255, 255, .9), inset 0 -3px 0 rgba(0, 0, 0, .22);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scrollbar-color: var(--keyline) var(--night-deep); }
body {
  margin: 0; color: var(--text); font: 400 16px/1.5 var(--font);
  background-color: var(--night);
  /* faint CRT scanlines across the whole night */
  background-image: repeating-linear-gradient(0deg, rgba(255, 255, 255, .022) 0 1px, transparent 1px 3px);
  background-attachment: fixed;
}
::selection { background: var(--pink); color: #fff; }
a { color: var(--text); text-underline-offset: 4px; text-decoration-thickness: 2px; text-decoration-color: var(--pink); }
a:hover { color: var(--pink-hi); }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--star); outline-offset: 3px; }
input, select, textarea { caret-color: var(--pink); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* The four-point sparkle, used as a drawn mark (never a glyph). */
.chan-spark, .wm-spark { fill: var(--star); stroke: #fff; stroke-width: 3; }

/* ---------- header: channel capsule, small badge wordmark, language ---------- */
.topbar, .top { background: rgba(5, 5, 26, .72); border-bottom: 1.5px solid var(--keyline); }
.topbar-in, .top {
  max-width: 1120px; margin: 0 auto; padding: 10px 16px; min-height: 64px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px;
}
.topbar-in > .chan-link { justify-self: start; }
.topbar-in > .wordmark { grid-column: 2; }
.topbar-in > .lang, .topbar-in > .top-right { grid-column: 3; justify-self: end; }
.top-right { display: flex; align-items: center; gap: 8px; }
.top { max-width: none; padding-inline: var(--gutter); display: flex; flex-wrap: wrap; justify-content: space-between; }
.topbar .wrap.topbar-in { display: flex; padding-block: 10px; }
.top nav, .topbar nav { display: flex; flex-wrap: wrap; gap: 4px 18px; align-items: center; font-weight: 500; }
.top nav a { text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
/* On the home screen the big badge is the logo, so the small one steps aside. */
body:has(#stepLink:not([hidden])) .topbar .wordmark { display: none; }

/* The small wordmark: the badge in miniature. */
.wordmark, .brand {
  position: relative; display: inline-flex; align-items: center; height: 40px; padding: 0 24px 2px;
  border-radius: 50%; background: linear-gradient(#3B3BB8, #16166A); border: 2.5px solid #fff;
  font: 900 19px/1 var(--display); letter-spacing: -0.03em; color: #fff; text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .4);
}
.wordmark span, .brand span { display: inline-block; transform: skewX(-12deg); -webkit-text-stroke: 4px #16166A; paint-order: stroke fill; }
.wordmark:hover, .brand:hover { color: #fff; }
.wm-spark { position: absolute; right: -8px; top: -7px; }
.wordmark-logo { display: none; }

/* "Our channel": a glossy chrome capsule with a pink broadcast bubble and a sparkle. */
.chan-link {
  position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 4px 16px 4px 4px;
  border-radius: 999px; text-decoration: none; color: var(--chrome-ink); font: 800 14px/1 var(--font); white-space: nowrap;
  background: var(--chrome-face); box-shadow: 0 4px 12px rgba(0, 0, 0, .45), inset 0 1.5px 0 #fff, inset 0 -2px 0 rgba(0, 0, 0, .2);
  transition: transform .2s cubic-bezier(.2, .8, .3, 1);
}
.chan-orb {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: #fff; flex: none;
  background: var(--jelly); box-shadow: inset 0 -2px 4px rgba(120, 0, 60, .35), 0 1px 2px rgba(0, 0, 0, .3);
}
.chan-spark { position: absolute; right: -6px; top: -8px; transition: transform .3s cubic-bezier(.2, .8, .3, 1); }
.chan-link:hover, .chan-link:focus-visible { color: var(--chrome-ink); transform: translateY(-1px) rotate(-2deg); }
.chan-link:hover .chan-spark { transform: rotate(45deg) scale(1.25); }
.chan-link:hover .chan-orb svg path { animation: beam .9s ease-out infinite; }
.chan-link:active { transform: translateY(1px); }
@keyframes beam { 0% { opacity: .3; } 50% { opacity: 1; } 100% { opacity: .3; } }
.chan-big { min-height: 54px; font-size: 16px; padding-right: 22px; }
.chan-big .chan-orb { width: 44px; height: 44px; }

.lang { position: relative; display: flex; align-items: center; color: var(--soft); }
.lang svg { position: absolute; left: 12px; pointer-events: none; color: var(--star); }
.lang select {
  width: auto; height: 40px; padding: 0 14px 0 38px; border-radius: 999px; font: 700 14px var(--font);
  background: var(--night-hi); color: var(--text); border: 1.5px solid var(--keyline); cursor: pointer;
}
.lang select:hover { border-color: var(--line-2); }
.lang select option { color: var(--field-ink); background: #fff; }

/* ---------- footer ---------- */
.foot {
  background: var(--night-deep); padding: 26px var(--gutter) 40px; border-top: 1.5px solid var(--keyline);
  display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 22px; font-size: 14px; color: var(--soft); text-align: center;
}
.foot a { color: var(--soft); min-height: 44px; display: inline-flex; align-items: center; }
.foot a:hover { color: var(--pink-hi); }
.foot .fine { width: 100%; }
.social { width: 100%; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 8px; }
.foot .social a {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 6px 16px 6px 12px;
  border-radius: 999px; color: var(--text); font-weight: 700; text-decoration: none;
  background: var(--night-hi); border: 1.5px solid var(--keyline);
  transition: border-color .15s ease, color .15s ease;
}
.foot .social a svg { color: var(--star); }
.foot .social a:hover, .foot .social a:focus-visible { border-color: var(--pink); color: #fff; }

/* ---------- type ---------- */
h1, h2, h3 { font-family: var(--display); text-wrap: balance; font-weight: 900; }
h1 { margin: 0 0 8px; font-size: 1.8rem; letter-spacing: -0.02em; line-height: 1.1; }
h2 { margin: 0 0 12px; font-size: 1.15rem; letter-spacing: -0.01em; line-height: 1.2; }
h3 { margin: 0 0 10px; font-size: 1rem; }
.muted, .hint { color: var(--soft); }
p, .hint, li { text-wrap: pretty; }
.hint { font-size: .92rem; margin: 8px 0 0; }
.center { text-align: center; }

/* The display line: white, slanted, keylined in periwinkle with a drop to the night.
   Words light up pink in time with the player's sound. */
.lyric {
  margin: 0; font-family: var(--display); font-weight: 900; line-height: 1.04; letter-spacing: -0.02em; color: #fff;
  transform: skewX(-9deg); -webkit-text-stroke: .13em var(--peri); paint-order: stroke fill;
  text-shadow: 0 .1em 0 var(--peri-deep);
}
.lyric .w { position: relative; display: inline-block; white-space: pre; }
.lyric .w-sung {
  position: absolute; inset: 0; color: var(--pink); clip-path: inset(-.3em 100% -.3em -.2em);
  -webkit-text-stroke: .13em var(--peri-deep); paint-order: stroke fill; text-shadow: none; pointer-events: none;
}
.lyric.singing .w-sung { animation: sing var(--t, .4s) linear var(--d, 0s) forwards; }
.lyric.sung .w-sung, .lyric .w.on .w-sung { clip-path: inset(-.3em -.2em -.3em -.2em); }
@keyframes sing { to { clip-path: inset(-.3em -.2em -.3em -.2em); } }

/* ---------- layout ---------- */
.wrap { max-width: 1120px; margin: 0 auto; padding: 28px 16px; display: grid; gap: 20px; }
.msg { min-height: 1.4em; margin: 10px 0 0; font-size: .95rem; }
.msg.err, .msg.ok { display: inline-block; padding: 8px 14px; border-radius: 12px; font-weight: 700; }
.msg.err { background: var(--night-deep); color: var(--text); border: 2px solid var(--pink); }
.msg.ok { background: var(--lcd); color: var(--lcd-on); border: 2px solid #1E4A33; }
.msg.err:empty, .msg.ok:empty { display: none; }
.entry .msg:empty { min-height: 0; margin: 0; }

/* Panels (login, admin). */
.card { background: var(--night-hi); color: var(--text); border: 1.5px solid var(--keyline); border-radius: 22px; padding: 22px; }
.card .muted, .card .hint { color: var(--soft); }

/* ---------- form controls ---------- */
input[type="text"], input[type="url"], input[type="password"], input[type="tel"], input[type="date"], select, input[type="file"] {
  width: 100%; background: var(--field); color: var(--field-ink); border: 2px solid transparent;
  border-radius: 14px; padding: 11px 14px; font: 400 16px var(--font); box-shadow: inset 0 2px 5px rgba(0, 0, 0, .22);
}
input[type="file"] { padding: 6px 8px; cursor: pointer; }
::file-selector-button {
  font: 800 .9rem var(--font); margin-right: 12px; padding: 8px 14px; border-radius: 999px; cursor: pointer;
  border: none; color: var(--chrome-ink); background: var(--chrome-face);
}
input::placeholder { color: #6A6C92; }
input:hover:not(:focus) { border-color: var(--line-2); }
input:focus { border-color: var(--pink); outline: none; }
input[type="range"] { width: 100%; accent-color: var(--pink); height: 32px; cursor: pointer; }
input[type="checkbox"], input[type="radio"] { accent-color: var(--pink); }
input[type="color"] { width: 44px; height: 44px; padding: 3px; border: 2px solid var(--line-2); border-radius: 12px; background: var(--field); cursor: pointer; }

/* Buttons: chrome by default, pink jelly for the one action. Pressing sinks them. */
button, .btn {
  font: 700 15px/1.2 var(--font); cursor: pointer; border-radius: 999px; padding: 10px 18px; min-height: 44px;
  border: none; color: var(--chrome-ink); text-decoration: none; background: var(--chrome-face);
  box-shadow: 0 3px 8px rgba(0, 0, 0, .35), inset 0 1.5px 0 #fff, inset 0 -2px 0 rgba(0, 0, 0, .18);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-align: center;
  transition: transform .1s ease, box-shadow .1s ease, filter .15s ease;
}
button:hover, .btn:hover { color: var(--chrome-ink); filter: brightness(1.06); }
button:not(:disabled):active, .btn:active { transform: translateY(2px); box-shadow: 0 1px 2px rgba(0, 0, 0, .4), inset 0 2px 4px rgba(0, 0, 0, .25); }
button:disabled { opacity: .5; cursor: default; filter: saturate(.4); }
button.primary, .btn.primary {
  color: #fff; background: var(--jelly); font-family: var(--display); font-weight: 900; letter-spacing: 0;
  box-shadow: 0 5px 14px rgba(0, 0, 0, .42), inset 0 -3px 6px rgba(120, 0, 60, .35);
  text-shadow: 0 1px 0 rgba(120, 0, 60, .4);
}
button.primary:hover, .btn.primary:hover { color: #fff; filter: brightness(1.07) saturate(1.05); }
button.primary:not(:disabled):active, .btn.primary:active { box-shadow: 0 1px 3px rgba(0, 0, 0, .42), inset 0 3px 6px rgba(120, 0, 60, .45); }
button.danger { color: #7A0F33; }
button.big { width: 100%; min-height: 58px; font-size: 1.1rem; }
button.small, .btn.small { padding: 6px 14px; min-height: 38px; font-size: .9rem; }
button.link, .btn.link {
  background: none; box-shadow: none; border: none; padding: 10px 0; min-height: 44px; font-weight: 700; color: var(--text);
  text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; text-decoration-color: var(--pink);
}
button.link:hover, .btn.link:hover { color: var(--pink-hi); filter: none; }
button.link:active { transform: none; box-shadow: none; }

.inline { display: flex; gap: 8px; }
form.stack { display: grid; gap: 10px; max-width: 420px; }

/* ---------- step 1: the player screen, one centered axis ---------- */
.screen-in {
  max-width: 760px; margin: 0 auto; padding: 8px 16px 56px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.badge-logo { display: block; width: min(100%, 320px); height: auto; margin: -4px auto -10px; overflow: visible; }
.badge-logo .ring { stroke-dasharray: 1; stroke-dashoffset: 0; animation: ignite 1.1s cubic-bezier(.3, .7, .2, 1) .15s backwards; }
.badge-logo .sparks path { transform-box: fill-box; transform-origin: center; animation: twinkle 3.2s ease-in-out 1.2s infinite; }
.badge-logo .sparks path:nth-child(2) { animation-delay: 2.2s; }
.badge-logo .sparks path:nth-child(3) { animation-delay: 1.7s; }
@keyframes ignite { from { stroke-dashoffset: 1; } }
@keyframes twinkle { 0%, 80%, 100% { opacity: 1; } 88% { opacity: .35; } }

/* The player pod: chrome around a green LCD. */
.pod {
  width: 100%; max-width: 380px; border-radius: 30px; padding: 12px; background: var(--chrome-face); box-shadow: var(--pod-shadow);
}
.lcd {
  position: relative; overflow: hidden; border-radius: 20px; padding: 10px 14px 12px; background: var(--lcd);
  box-shadow: inset 0 3px 10px rgba(0, 0, 0, .8); color: var(--lcd-on); font: 600 12px/1 var(--mono);
  letter-spacing: .06em; text-transform: uppercase;
}
.lcd::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .22) 0 1px, transparent 1px 3px); }
.lcd-row { display: flex; justify-content: space-between; gap: 12px; }
.lcd-row span:first-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lcd-time { font-variant-numeric: tabular-nums; flex: none; }
.lcd-viz { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 10px 0 8px; }
.demo-art { display: grid; place-items: center; width: 156px; height: 156px; border-radius: 22px; background: var(--lcd-hi); cursor: pointer; flex: none; }
.demo-art img { display: block; width: 86%; height: 86%; object-fit: contain; }
.eqbars { display: flex; align-items: flex-end; gap: 4px; height: 118px; }
.eqbars i { display: block; width: 7px; border-radius: 2px; background: linear-gradient(to top, var(--lcd-on), #E9FF7C 70%, var(--pink)); transform-origin: 50% 100%; }
.eqbars i:nth-child(1) { height: 42%; } .eqbars i:nth-child(2) { height: 76%; } .eqbars i:nth-child(3) { height: 54%; } .eqbars i:nth-child(4) { height: 90%; }
.eqbars.left { transform: scaleX(-1); }
.lcd-track { text-align: left; opacity: .85; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-transform: none; }
.pod:has(.talking) .eqbars i { animation: eq .42s ease-in-out infinite alternate; }
.pod:has(.talking) .eqbars i:nth-child(2) { animation-delay: -.12s; }
.pod:has(.talking) .eqbars i:nth-child(3) { animation-delay: -.27s; }
.pod:has(.talking) .eqbars i:nth-child(4) { animation-delay: -.36s; }
.pod:has(.talking) .demo-art img { animation: talk .5s ease-in-out infinite alternate; }
@keyframes eq { from { transform: scaleY(.25); } to { transform: scaleY(1.05); } }
@keyframes talk { from { transform: scale(1) rotate(0); } to { transform: scale(1.06) rotate(-2deg); } }

.deck { display: flex; align-items: center; justify-content: center; gap: 18px; padding: 12px 0 2px; }
.knob {
  width: 46px; height: 46px; min-height: 0; padding: 0; border-radius: 50%; color: var(--chrome-ink);
  background: radial-gradient(circle at 35% 30%, #fff, var(--chrome) 55%, var(--chrome-lo));
  box-shadow: 0 2px 5px rgba(0, 0, 0, .35), inset 0 -2px 3px rgba(0, 0, 0, .2);
}
.knob.jelly {
  width: 62px; height: 62px; color: #fff; background: var(--jelly);
  box-shadow: 0 5px 12px rgba(0, 0, 0, .42), inset 0 -3px 6px rgba(120, 0, 60, .35);
}
.knob .i-pause, .knob.talking .i-play { display: none; }
.knob.talking .i-pause { display: block; }

.screen .lyric { font-size: clamp(2rem, 8.6vw, 3.4rem); max-width: 14ch; letter-spacing: 0; }
@media (min-width: 760px) { .screen .lyric { max-width: none; } }
.screen .lede {
  max-width: 32ch; font: 400 clamp(1rem, 2.6vw, 1.15rem)/1.45 var(--font); color: var(--soft); letter-spacing: 0;
  transform: none; -webkit-text-stroke: 0; text-shadow: none;
}
.screen .lede .w-sung { color: #fff; -webkit-text-stroke: 0; }

.entry {
  width: 100%; max-width: 380px; text-align: left; display: grid; gap: 10px;
  background: var(--night-hi); border: 1.5px solid var(--keyline); border-radius: 24px; padding: 14px;
}
.entry-label { font-weight: 800; color: var(--star); font-size: .9rem; padding-left: 4px; }
.entry .inline { flex-direction: column; }
.entry .inline input { height: 54px; font-size: .95rem; }
.entry .inline button { width: 100%; min-height: 58px; font-size: 1.05rem; }
.under { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 16px; font-size: .9rem; color: var(--soft); padding: 0 4px; }
.under .link, .under .btn.link { color: var(--text); font-weight: 700; background: none; box-shadow: none; padding: 8px 0; min-height: 44px; border-radius: 0; }
.under .btn.link svg { color: var(--star); }
.starter { display: flex; align-items: center; gap: 8px; }
.starter input { width: 150px; padding: 7px 12px; font-size: .88rem; border-radius: 999px; }
.entry .hint { margin: 0; padding: 0 4px; font-size: .85rem; }

.steps {
  margin: 4px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; justify-content: center;
  gap: 8px; color: var(--text); font-weight: 600; font-size: .92rem;
}
.steps li { display: inline-flex; align-items: center; gap: 8px; padding: 4px 14px 4px 4px; border-radius: 999px; background: var(--night-hi); border: 1.5px solid var(--keyline); }
.steps b {
  width: 26px; height: 26px; border-radius: 50%; background: var(--lcd); color: var(--lcd-on);
  display: inline-grid; place-items: center; font: 700 13px var(--mono);
}
.follow { display: flex; flex-direction: column; align-items: center; gap: 10px; max-width: 380px; }
.follow .hint { margin: 0; }
#getApp { margin-top: 2px; }

/* Big screens: the player grows to own the first view, the lede runs as one calm line. */
@media (min-width: 1024px) {
  .screen-in { max-width: 900px; }
  .badge-logo { width: 360px; margin-bottom: -14px; }
  .pod { max-width: 460px; }
  .demo-art { width: 188px; height: 188px; }
  .eqbars { height: 140px; gap: 5px; }
  .eqbars i { width: 9px; }
  #lyric { font-size: 3.2rem; }
  .screen .lede { max-width: 60ch; }
}

/* ---------- weekly top: the playlist ---------- */
.top-band { padding: 48px var(--gutter) 56px; border-top: 1.5px solid var(--keyline); background: rgba(5, 5, 26, .45); }
.top-head { max-width: 640px; margin: 0 auto 20px; text-align: center; }
.top-head h2 { font-size: clamp(1.4rem, 4.6vw, 2rem); transform: skewX(-9deg); -webkit-text-stroke: .16em var(--peri); paint-order: stroke fill; text-shadow: 0 .12em 0 var(--peri-deep); margin: 0 0 8px; }
.top-grid {
  list-style: none; margin: 0 auto; padding: 0; counter-reset: rank; max-width: 880px;
  display: grid; grid-template-columns: 1fr; column-gap: 28px;
}
@media (min-width: 760px) { .top-grid { grid-template-columns: 1fr 1fr; } }
.top-grid li { counter-increment: rank; display: flex; align-items: center; gap: 12px; border-bottom: 1.5px solid var(--line); padding: 8px 4px; }
.top-grid li::before {
  content: counter(rank, decimal-leading-zero); flex: none; width: 2.1em; pointer-events: none;
  font: 900 1.15rem/1 var(--display); color: var(--star); font-variant-numeric: tabular-nums;
}
.top-item {
  flex: 1; min-width: 0; display: grid; grid-template-columns: 64px 1fr auto; align-items: center; gap: 14px;
  padding: 6px 10px 6px 6px; border-radius: 16px; background: none; box-shadow: none; color: var(--text); min-height: 0; text-align: left;
  font: 600 1rem var(--font);
}
.top-item img { width: 64px; height: 64px; object-fit: contain; border-radius: 12px; background: var(--night-hi); }
button.top-item { cursor: pointer; }
button.top-item:hover { background: var(--night-hi); color: var(--text); filter: none; }
button.top-item:active { transform: none; box-shadow: none; }
.top-count { display: inline-flex; gap: 6px; align-items: center; font-variant-numeric: tabular-nums; }
.top-sound {
  width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; color: var(--chrome-ink);
  background: radial-gradient(circle at 35% 30%, #fff, var(--chrome) 55%, var(--chrome-lo)); box-shadow: 0 2px 4px rgba(0, 0, 0, .35);
}
.top-item.playing { background: var(--lcd); color: var(--lcd-on); }
.top-item.playing .top-sound { background: var(--jelly); color: #fff; }
.pack-box { max-width: 880px; margin: 32px auto 0; text-align: center; }
.pack-box h3 { margin: 0 0 12px; }
.pack-list { list-style: none; margin: 0 0 10px; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.pack-list a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }

/* ---------- sponsor: the commercial break, a chrome-framed screen ---------- */
.sponsor-band { padding: 48px var(--gutter); }
.sponsor-feature {
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: stretch; max-width: 960px; margin: 0 auto;
  border-radius: 26px; overflow: hidden; text-decoration: none; color: var(--text);
  background: var(--night-hi); border: 1.5px solid var(--keyline);
  transition: border-color .15s ease;
}
.sponsor-feature:hover { color: var(--text); border-color: var(--pink); }
.sponsor-media { position: relative; display: block; aspect-ratio: 16 / 9; background: var(--lcd); }
.sponsor-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sponsor-body { display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 26px 30px; min-width: 0; }
.sponsor-tag {
  position: absolute; z-index: 1; left: 12px; top: 12px; font: 700 .72rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase;
  color: var(--lcd-on); background: var(--lcd); padding: 6px 10px; border-radius: 999px;
}
.sponsor-name { font: 900 clamp(1.3rem, 3vw, 1.8rem)/1.15 var(--display); letter-spacing: -0.02em; overflow-wrap: anywhere; }
.sponsor-line { color: var(--soft); font-size: 1.02rem; line-height: 1.45; }
.sponsor-line[hidden] { display: none; }
.sponsor-cta {
  align-self: flex-start; margin-top: 6px; padding: 11px 20px; border-radius: 999px; font-weight: 800;
  color: var(--chrome-ink); background: var(--chrome-face); display: inline-flex; align-items: center; gap: 8px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, .35), inset 0 1.5px 0 #fff;
}
.sponsor-feature:hover .sponsor-cta { color: #fff; background: var(--jelly); }
.sponsor-feature.stacked, .sponsor-band.in-result .sponsor-feature { grid-template-columns: 1fr; text-align: left; }
.sponsor-band.in-result { padding: 8px 0 0; width: 100%; }
.sponsor-feature.stacked .sponsor-body { padding: 20px 22px 22px; }
.house-art { position: absolute; inset: 0; display: grid; place-items: center; background: var(--lcd-hi); }
.house-art[hidden], .sponsor-media img[hidden] { display: none; }
.house-art img { width: 38%; height: auto; transform: rotate(-4deg); }
.sponsor-band.house .sponsor-line { color: var(--text); }

/* ---------- Stickaboo Plus: a chrome pod with an LCD plan picker ---------- */
.plus { padding: 8px var(--gutter) 64px; }
.plus-card {
  position: relative; max-width: 960px; margin: 0 auto; border-radius: 32px; padding: 14px;
  background: var(--chrome-face); box-shadow: var(--pod-shadow);
  display: grid; gap: 14px; grid-template-columns: 1fr;
}
@media (min-width: 860px) { .plus-card { grid-template-columns: 1fr 1fr; } }
.plus-left, .plus-right { border-radius: 22px; padding: 24px 22px; min-width: 0; }
.plus-left { background: var(--night); color: var(--text); display: flex; flex-direction: column; justify-content: center; }
.plus-right { background: var(--lcd); color: var(--lcd-on); display: flex; flex-direction: column; gap: 14px; box-shadow: inset 0 3px 10px rgba(0, 0, 0, .8); }
.plus-left h2 { font-size: clamp(1.5rem, 4vw, 2.1rem); margin: 0; line-height: 1.1; transform: skewX(-9deg); -webkit-text-stroke: .16em var(--peri); paint-order: stroke fill; }
.plus-tag { color: #fff; background: var(--jelly); padding: 2px 12px 4px; border-radius: 999px; display: inline-block; -webkit-text-stroke: 0; }
.plus-sub { margin: 12px 0 20px; color: var(--soft); font-size: 1.05rem; }
.plus-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.plus-list li { position: relative; padding-left: 34px; line-height: 1.4; }
.plus-list li::before {
  content: ""; position: absolute; left: 0; top: 0; width: 22px; height: 22px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-22 -22 44 44'%3E%3Cpath d='M0-20C2-6 6-2 20 0C6 2 2 6 0 20C-2 6-6 2-20 0C-6-2-2-6 0-20Z' fill='%23FFE84A' stroke='%23fff' stroke-width='3'/%3E%3C/svg%3E") center / contain no-repeat;
}
.plans { display: grid; gap: 8px; }
.plan {
  display: grid; grid-template-columns: 1fr auto; grid-template-areas: "name price" "save per"; align-items: center;
  gap: 2px 16px; text-align: left; padding: 12px 16px; min-height: 72px; border-radius: 16px;
  background: var(--lcd-hi); color: var(--lcd-on); box-shadow: none; border: 1.5px solid #1E4A33; font: 400 15px var(--font);
}
.plan-name { grid-area: name; } .plan-price { grid-area: price; text-align: right; } .plan-per { grid-area: per; text-align: right; } .plan-save { grid-area: save; justify-self: start; }
.plan:hover { color: var(--lcd-on); border-color: var(--lcd-on); filter: none; }
.plan:active { transform: none; }
.plan.on { background: #163A28; color: #fff; border: 2px solid var(--lcd-on); }
.plan-name { font-size: .95rem; font-weight: 700; }
.plan-price { font: 900 1.45rem/1.1 var(--display); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.plan-per { font-size: .85rem; opacity: .85; }
.plan-save { color: var(--star); font-size: .85rem; font-weight: 800; }
.plan.on .plan-name::before { content: ""; display: inline-block; width: 9px; height: 9px; margin-right: 8px; border-radius: 50%; background: var(--lcd-on); vertical-align: 1px; }
.plus-fine { color: var(--lcd-on); opacity: .8; font-size: .88rem; margin: 0; line-height: 1.45; }
.plus-redeem { border-top: 1.5px solid #1E4A33; padding-top: 12px; }
.plus-redeem summary { cursor: pointer; font-weight: 700; color: var(--lcd-on); list-style: none; width: fit-content; min-height: 32px; display: flex; align-items: center; }
.plus-redeem summary::-webkit-details-marker { display: none; }
.plus-redeem summary::after {
  content: ""; width: 16px; height: 16px; margin-left: 8px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5v14M5 12h14' stroke='black' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5v14M5 12h14' stroke='black' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.plus-redeem[open] summary::after {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h14' stroke='black' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h14' stroke='black' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E");
}
.plus-redeem form { margin-top: 10px; }
.plus-redeem input { flex: 1 1 200px; min-width: 0; text-transform: uppercase; letter-spacing: .06em; }
.plus-status { margin: 0; font-size: 1.15rem; display: flex; align-items: center; gap: 10px; }
.plus-check { width: 32px; height: 32px; border-radius: 50%; background: var(--jelly); color: #fff; display: inline-grid; place-items: center; }
.plus-code-lbl { margin: 6px 0 0; font-weight: 700; }
.plus-code-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.plus-code {
  font: 700 1.05rem var(--mono); letter-spacing: .06em; padding: 9px 14px;
  background: #000; color: var(--lcd-on); border: 1.5px dashed var(--lcd-on); border-radius: 12px;
}
.plus-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; }
.plus-card button.link { color: var(--lcd-on); text-decoration-color: var(--lcd-on); font-weight: 500; }
.plus-msg { grid-column: 1 / -1; margin: 0; }
.plus-msg:empty { display: none; }

/* ---------- step 2: the editor ---------- */
.editor { max-width: 1120px; margin: 0 auto; padding: 22px 16px 56px; display: grid; gap: 18px; }
.editor-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.editor-head .muted { font-size: .95rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; flex: 1; }
.note { margin: 0; padding: 10px 16px; border: 1.5px solid #1E4A33; background: var(--lcd); border-radius: 14px; color: var(--lcd-on); font-size: .95rem; }
.editor-grid { display: grid; gap: 28px; grid-template-columns: 1fr; align-items: start; justify-items: center; }
@media (min-width: 860px) { .editor-grid { grid-template-columns: minmax(0, 500px) minmax(0, 1fr); gap: 44px; justify-items: stretch; } }
.editor-grid > div:first-child { width: min(100%, 500px); padding: 12px; border-radius: 30px; background: var(--chrome-face); box-shadow: var(--pod-shadow); }
.stage {
  position: relative; width: 100%; aspect-ratio: 1; overflow: hidden; border-radius: 20px; touch-action: none; cursor: grab; user-select: none;
  /* Checkerboard = the parts of the sticker that will be see-through (shown when zoomed out). */
  background: repeating-conic-gradient(#1b1f3f 0 25%, #11142f 0 50%) 0 0 / 24px 24px;
  box-shadow: inset 0 3px 10px rgba(0, 0, 0, .8);
}
.stage:active { cursor: grabbing; }
.stage video { position: absolute; max-width: none; pointer-events: none; }
#textLayer { position: absolute; inset: 0; pointer-events: none; }
/* Captions are part of the sticker itself, drawn the same way into the WebP. */
.txt {
  position: absolute; transform: translate(-50%, -50%); pointer-events: auto; cursor: move;
  white-space: nowrap; font-family: Impact, "Arial Black", "Helvetica Neue", Arial, sans-serif; font-weight: 900;
  paint-order: stroke fill; -webkit-text-stroke-color: #000; line-height: 1; padding: 2px 4px; touch-action: none;
}
.txt:hover { outline: 2px dashed var(--star); }
.stage-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-top: 12px; color: var(--chrome-ink); }
.stage-tools label { flex: 1 1 160px; display: flex; align-items: center; gap: 12px; font-weight: 800; }
.stage-hint { color: var(--chrome-ink); opacity: .85; padding: 0 4px; }

.controls { display: grid; gap: 0; width: 100%; }
.controls section { padding: 22px 0; border-top: 1.5px solid var(--line); }
.controls section:first-child { border-top: none; padding-top: 0; }
.controls h2 { transform: skewX(-9deg); -webkit-text-stroke: .16em var(--peri); paint-order: stroke fill; font-size: 1.2rem; }
.controls label.lbl { display: block; margin-bottom: 10px; font-size: .98rem; }
.controls label.lbl span { float: right; color: var(--lcd-on); background: var(--lcd); padding: 2px 10px; border-radius: 999px; font: 600 .85rem var(--mono); font-variant-numeric: tabular-nums; }
.controls label.lbl b { font-weight: 600; }
.trow { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: center; margin-bottom: 14px; }
.trow .opts { grid-column: 1 / -1; display: flex; gap: 12px; align-items: center; }
.trow .opts input[type="range"] { flex: 1; }
.trow .opts label { display: flex; align-items: center; gap: 6px; font-size: .92rem; color: var(--soft); white-space: nowrap; min-height: 44px; }
.radio {
  display: flex; gap: 12px; align-items: flex-start; padding: 12px 16px; border: 1.5px solid var(--keyline); border-radius: 18px;
  margin-bottom: 8px; cursor: pointer; background: var(--night-hi);
}
.radio:hover { border-color: var(--line-2); }
.radio:has(input:checked) { border: 1.5px solid var(--lcd-on); background: var(--lcd); color: var(--lcd-on); }
.radio:has(input:checked) small { color: #B9F5D2; }
.radio input[type="radio"] { margin-top: 4px; width: 18px; height: 18px; flex: none; accent-color: var(--lcd-on); }
.radio > span { flex: 1; min-width: 0; }
.radio.off { opacity: .45; cursor: default; }
.radio small { display: block; color: var(--soft); }
.radio input[type="file"] { display: block; width: 100%; max-width: 380px; min-height: 48px; margin-top: 8px; font-size: .92rem; }
.go { display: grid; gap: 6px; padding-top: 22px; border-top: 1.5px solid var(--line); }
.go .hint { margin: 0; }
.mt6 { margin-top: 6px; }

/* ---------- step 3: the result ---------- */
.result-wrap { max-width: 640px; margin: 0 auto; padding: 30px 16px 56px; }
.result { display: grid; gap: 16px; justify-items: center; text-align: center; }
.lyric-ready { font-size: clamp(2.6rem, 11vw, 4.4rem); }
.score {
  margin: 0; padding: 8px 20px; border-radius: 14px; background: var(--lcd); color: var(--lcd-on);
  font: 700 clamp(1.6rem, 7vw, 2.2rem)/1 var(--mono); letter-spacing: .04em; font-variant-numeric: tabular-nums;
  box-shadow: inset 0 3px 8px rgba(0, 0, 0, .8), 0 0 0 6px var(--chrome);
}
.sticker-big {
  width: min(100%, 300px); aspect-ratio: 1; border-radius: 30px; padding: 16px; cursor: pointer; display: block; object-fit: contain;
  background: var(--lcd-hi); border: 12px solid var(--chrome); box-shadow: var(--pod-shadow);
}
.actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

/* ---------- legal pages ---------- */
.doc { max-width: 760px; display: block; padding-top: 40px; padding-bottom: 56px; }
.doc h1 { font-size: clamp(1.9rem, 6vw, 2.6rem); transform: skewX(-9deg); -webkit-text-stroke: .16em var(--peri); paint-order: stroke fill; text-shadow: 0 .12em 0 var(--peri-deep); }
.doc h2 { margin-top: 38px; font-size: 1.3rem; color: var(--star); }
.doc p, .doc li { max-width: 68ch; }
.doc li { margin-bottom: 6px; }
.legal-note { font-size: .92rem; color: var(--lcd-on); background: var(--lcd); border-radius: 14px; padding: 10px 14px; }

/* ---------- admin: the player's settings panel ---------- */
.grid16 { display: grid; gap: 16px; }
.h-small { font-size: 1.2rem; color: var(--star); }
.card h2 { font-size: 1rem; }
.badge { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: .8rem; font-weight: 700; border: 1.5px solid var(--line-2); color: var(--soft); }
.badge.ok { color: var(--ok); border-color: rgba(124, 255, 178, .6); }
.badge.warn { color: var(--warn); border-color: rgba(255, 197, 61, .6); }
.badge.bad { color: var(--bad); border-color: rgba(255, 154, 184, .6); }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.tabs button { padding: 7px 14px; font-size: .92rem; }
.tabs button.on { color: #fff; background: var(--jelly); }
.list { display: grid; gap: 10px; }
.item { display: grid; grid-template-columns: 112px 1fr; gap: 14px; padding: 12px; border: 1.5px solid transparent; border-radius: 18px; background: var(--night-hi); }
.item:hover { border-color: var(--keyline); }
.item .thumb { width: 112px; height: 112px; padding: 0; border-radius: 14px; overflow: hidden; background: var(--lcd-hi); position: relative; min-height: 0; box-shadow: none; }
.item .thumb img { width: 100%; height: 100%; object-fit: contain; display: block; }
.item .thumb .snd { position: absolute; right: 6px; bottom: 6px; background: var(--jelly); color: #fff; border-radius: 50%; width: 26px; height: 26px; display: grid; place-items: center; }
.item .meta { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.item .line { font-size: .95rem; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.item .src { font-size: .86rem; color: var(--soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.item .src a { color: var(--soft); }
.item .err { color: var(--bad); font-size: .9rem; }
.item .actions { justify-content: flex-start; margin-top: auto; }
.item.gift { grid-template-columns: 1fr; }
.sponsor-thumb img { object-fit: cover !important; }
.empty { text-align: center; color: var(--soft); padding: 30px 0; }
.panel-row { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .panel-row { grid-template-columns: 1fr 1fr; } }
.qr { width: 220px; height: 220px; background: #fff; border-radius: 14px; padding: 8px; }
.code { font: 800 1.6rem var(--mono); letter-spacing: .12em; color: var(--lcd-on); }
.pre { background: var(--lcd); color: var(--lcd-on); border-radius: 14px; padding: 12px; max-height: 420px; overflow: auto; font: 12px/1.45 var(--mono); white-space: pre-wrap; word-break: break-all; }
.gift-code { display: inline-block; font: 700 1.05rem var(--mono); letter-spacing: .06em; padding: 6px 12px; margin: 4px 0; background: var(--lcd); color: var(--lcd-on); border: 1.5px dashed var(--lcd-on); border-radius: 12px; user-select: all; }
.autopost, .screen-level { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; margin: 0 0 8px; border: 1.5px solid var(--keyline); border-radius: 16px; line-height: 1.45; }
.autopost { cursor: pointer; }
.autopost:has(input:checked) { border-color: var(--pink); }
.autopost input { width: 20px; height: 20px; margin-top: 2px; flex: 0 0 auto; }
.screen-level { display: grid; gap: 8px; }
.screen-level select { max-width: 100%; }
.sponsor-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; align-items: end; }
.sponsor-form label { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; }
.sponsor-form .wide { grid-column: 1 / -1; }
.sponsor-form button { justify-self: start; }
.m0 { margin: 0; } .m0b6 { margin: 0 0 6px; } .m0b8 { margin: 0 0 8px; } .m0b12 { margin: 0 0 12px; } .m4b12 { margin: 4px 0 12px; }
.mt12 { margin: 12px 0 0; } .mt14 { margin-top: 14px; }
body:has(#adminArea) .top { display: flex; }
#adminArea > .card { margin-bottom: 4px; }

/* ---------- small things ---------- */
.spinner { display: inline-block; width: 16px; height: 16px; border: 3px solid rgba(255, 255, 255, .25); border-top-color: var(--pink); border-radius: 50%; animation: spin .8s linear infinite; vertical-align: -3px; margin-right: 8px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Confetti when someone joins Plus */
.bit {
  position: absolute; top: 40%; width: 9px; height: 14px; border-radius: 2px; pointer-events: none; z-index: 3;
  animation: pop 1.1s cubic-bezier(.2, .7, .3, 1) forwards;
}
@keyframes pop {
  0% { transform: translate(0, 0) rotate(0); opacity: 1; }
  100% { transform: translate(var(--x), calc(var(--y) + 220px)) rotate(var(--r)); opacity: 0; }
}

/* ---------- install as an app: a little chrome pod that rises ---------- */
.install-tip {
  position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 20;
  max-width: 520px; margin: 0 auto; display: flex; align-items: center; gap: 12px; padding: 12px 14px;
  background: var(--chrome-face); color: var(--chrome-ink); border-radius: 24px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, .55), inset 0 2px 0 #fff;
  animation: rise .35s cubic-bezier(.2, .8, .3, 1);
}
.install-tip img { border-radius: 12px; flex: none; }
.install-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; font-size: .92rem; line-height: 1.35; color: #3A3E5A; }
.install-text b { font-size: 1rem; color: var(--chrome-ink); }
.share-ico { display: inline-flex; vertical-align: -3px; color: var(--pink-lo); margin: 0 2px; }
.install-actions { display: flex; flex-direction: column; gap: 6px; flex: none; }
.install-tip .ghost-x { background: none; box-shadow: none; color: #3A3E5A; padding: 4px 8px; min-height: 36px; }
@keyframes rise { from { transform: translateY(30px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (display-mode: standalone) { body { padding-bottom: env(safe-area-inset-bottom); } }

/* offline page */
.offline { min-height: 100vh; display: grid; place-content: center; justify-items: center; gap: 16px; text-align: center; padding: 24px; }
.offline img { border-radius: 22px; }
.offline h1 { font-size: clamp(2rem, 9vw, 3rem); margin: 0; transform: skewX(-9deg); -webkit-text-stroke: .16em var(--peri); paint-order: stroke fill; }
.offline p { color: var(--soft); max-width: 320px; margin: 0; }

/* ---------- phones ---------- */
@media (max-width: 560px) {
  .topbar-in { padding-inline: 12px; gap: 8px; }
  .lang svg { display: none; }
  .lang select { max-width: 104px; padding: 0 12px; }
  /* Off the home screen the small wordmark joins the bar, so the capsule keeps just its bubble. */
  body:not(:has(#stepLink:not([hidden]))) .topbar .chan-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  body:not(:has(#stepLink:not([hidden]))) .topbar .chan-link { padding: 4px; }
  .wordmark, .brand { font-size: 16px; height: 36px; padding: 0 20px 2px; }
  .demo-art { width: 124px; height: 124px; }
  .eqbars { height: 90px; gap: 3px; }
  .lcd-viz { margin: 8px 0 6px; }
  .deck { padding-top: 10px; }
  .knob.jelly { width: 56px; height: 56px; }
  .eqbars i { width: 6px; }
  .top-band, .sponsor-band { padding-block: 40px; }
  .sponsor-feature { grid-template-columns: 1fr; }
  .sponsor-body { padding: 18px 20px 22px; }
  .plus { padding-bottom: 48px; }
  .plus-left, .plus-right { padding: 20px 18px; }
  .sticker-big { width: min(100%, 236px); }
  .inline { flex-direction: column; }
  .item { grid-template-columns: 84px 1fr; }
  .item .thumb { width: 84px; height: 84px; }
  .sponsor-form { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .sponsor-feature { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .spinner { animation: spin 2.4s linear infinite !important; }
}

/* ---------- theme picker (header): a round button opening a small list ---------- */
.theme-pick { position: relative; }
.theme-btn {
  width: 40px; height: 40px; min-height: 0; padding: 0; border-radius: 50%; color: var(--star);
  background: var(--night-hi); border: 1.5px solid var(--keyline); box-shadow: none;
}
.theme-btn:hover { color: var(--star); border-color: var(--line-2); }
.theme-btn[aria-expanded="true"] { border-color: var(--star); }
.theme-menu {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 30; min-width: 170px; padding: 6px;
  display: grid; gap: 4px; border-radius: 18px; background: var(--chrome-face);
  box-shadow: 0 14px 30px rgba(0, 0, 0, .5), inset 0 1.5px 0 #fff;
}
.theme-menu button {
  justify-content: flex-start; gap: 10px; width: 100%; min-height: 44px; padding: 8px 12px; border-radius: 12px;
  background: none; box-shadow: none; color: var(--chrome-ink); font: 800 15px var(--font);
}
.theme-menu button:hover { background: rgba(255, 255, 255, .55); filter: none; }
.theme-menu button:active { transform: none; box-shadow: none; }
.theme-menu button[aria-checked="true"] { background: var(--lcd); color: var(--lcd-on); }
.sw { width: 22px; height: 22px; border-radius: 50%; flex: none; border: 2px solid #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .3); }
.sw-y2k { background: conic-gradient(#FF4FA8 0 33%, #C8CDDC 0 66%, #5B5BE0 0); }
.sw-videoke { background: conic-gradient(#FFE500 0 50%, #E8173A 0); }
@media (max-width: 560px) { .lang select { max-width: 96px; } .theme-btn { width: 38px; height: 38px; } }

/* =====================================================================================
   VIDEOKE theme: the karaoke machine. Broadcast-blue screen in a black bezel edged in
   yellow, Rubik lyrics that wipe white to yellow, one red cue button, flat panels and
   machine-menu rows where the selected row is a solid yellow band. Same page, same features.
   ===================================================================================== */
html[data-theme="videoke"] {
  --night: #0D1020; --night-hi: #1C2236; --night-deep: #06070D;
  --keyline: rgba(255, 255, 255, .22); --line: rgba(255, 255, 255, .22); --line-2: rgba(255, 255, 255, .62);
  --chrome-hi: #06070D; --chrome: #06070D; --chrome-lo: #06070D; --chrome-ink: #FFFFFF; --chrome-face: #06070D;
  --lcd: #06070D; --lcd-hi: #1C2236; --lcd-on: #FFE500;
  --pink: #E8173A; --pink-hi: #FF4D6A; --pink-lo: #C40D2D; --pink-deep: #E8173A; --jelly: #E8173A;
  --peri: #06070D; --peri-deep: transparent; --star: #FFE500;
  --text: #FFFFFF; --soft: #C5CAD9; --field-ink: #06070D; --ok: #6BEA9E; --bad: #FF9AA8;
  --display: "Rubik", system-ui, sans-serif; --mono: "Rubik", system-ui, sans-serif;
  --pod-shadow: none;
}
html[data-theme="videoke"] body { background-image: none; }
html[data-theme="videoke"] ::selection { background: #FFE500; color: #06070D; }
html[data-theme="videoke"] :focus-visible { outline-color: #FFE500; }

/* header and footer: the machine's bezel bars */
html[data-theme="videoke"] .topbar, html[data-theme="videoke"] .top { background: #06070D; border-bottom: 3px solid #FFE500; }
html[data-theme="videoke"] .foot { background: #06070D; border-top: 3px solid #FFE500; }
html[data-theme="videoke"] .wordmark, html[data-theme="videoke"] .brand {
  height: auto; padding: 0; gap: 8px; border: none; border-radius: 0; background: none; box-shadow: none;
  font: 900 26px/1 var(--font); letter-spacing: -0.02em; color: #FFE500;
}
html[data-theme="videoke"] .wordmark span, html[data-theme="videoke"] .brand span { transform: none; -webkit-text-stroke: 0; }
html[data-theme="videoke"] .wordmark-logo { display: block; width: 36px; height: auto; transform: rotate(-4deg); }
html[data-theme="videoke"] .wm-spark, html[data-theme="videoke"] .chan-spark, html[data-theme="videoke"] .badge-logo { display: none; }
html[data-theme="videoke"] body:has(#stepLink:not([hidden])) .topbar .wordmark { display: inline-flex; }
html[data-theme="videoke"] .chan-link { background: #FFE500; color: #06070D; box-shadow: none; transform: rotate(-2deg); }
html[data-theme="videoke"] .chan-link:hover { color: #06070D; background: #FFFFFF; }
html[data-theme="videoke"] .chan-orb { background: #06070D; color: #FFE500; box-shadow: none; }
html[data-theme="videoke"] .lang select { border-radius: 6px; background: #000; border: 2px solid var(--line); }
html[data-theme="videoke"] .theme-btn { border-radius: 6px; background: #000; border: 2px solid var(--line); color: #FFE500; }
html[data-theme="videoke"] .theme-menu { border-radius: 10px; background: #06070D; border: 3px solid #FFE500; box-shadow: 0 14px 30px rgba(0, 0, 0, .5); }
html[data-theme="videoke"] .theme-menu button { border: none; border-radius: 4px; color: #FFFFFF; }
html[data-theme="videoke"] .theme-menu button:hover { background: #1C2236; color: #FFFFFF; }
html[data-theme="videoke"] .theme-menu button[aria-checked="true"] { background: #FFE500; color: #06070D; }
html[data-theme="videoke"] .foot .social a { background: none; border: 2px solid var(--line-2); }
html[data-theme="videoke"] .foot .social a svg { color: currentColor; }
html[data-theme="videoke"] .foot .social a:hover { background: #FFE500; border-color: #FFE500; color: #06070D; }
html[data-theme="videoke"] .foot a:hover { color: #FFE500; }

/* buttons: outlined by default, the one red cue for the action */
html[data-theme="videoke"] button, html[data-theme="videoke"] .btn {
  border-radius: 6px; background: transparent; border: 2px solid var(--line-2); color: #FFFFFF; box-shadow: none; text-shadow: none;
}
html[data-theme="videoke"] button:hover, html[data-theme="videoke"] .btn:hover { border-color: #FFE500; color: #FFE500; filter: none; }
html[data-theme="videoke"] button:not(:disabled):active, html[data-theme="videoke"] .btn:active { transform: translateY(1px); box-shadow: none; }
html[data-theme="videoke"] button.primary, html[data-theme="videoke"] .btn.primary {
  background: #E8173A; border-color: #E8173A; color: #FFFFFF; font: 800 1rem/1.2 var(--font); text-transform: uppercase; letter-spacing: .04em;
}
html[data-theme="videoke"] button.primary:hover, html[data-theme="videoke"] .btn.primary:hover { background: #C40D2D; border-color: #C40D2D; color: #FFFFFF; }
html[data-theme="videoke"] button.big { font-size: 1.15rem; }
html[data-theme="videoke"] button.link, html[data-theme="videoke"] .btn.link { border: none; text-decoration-color: currentColor; }
html[data-theme="videoke"] button.link:hover, html[data-theme="videoke"] .btn.link:hover { color: #FFE500; }
html[data-theme="videoke"] ::file-selector-button { border-radius: 4px; background: #06070D; color: #FFE500; }
html[data-theme="videoke"] input[type="text"], html[data-theme="videoke"] input[type="url"], html[data-theme="videoke"] input[type="password"],
html[data-theme="videoke"] input[type="tel"], html[data-theme="videoke"] input[type="date"], html[data-theme="videoke"] input[type="file"],
html[data-theme="videoke"] select { border-radius: 6px; box-shadow: none; }
html[data-theme="videoke"] input[type="range"], html[data-theme="videoke"] input[type="checkbox"], html[data-theme="videoke"] input[type="radio"] { accent-color: #FFE500; }
html[data-theme="videoke"] input:focus { border-color: #FFE500; }

/* the lyric: Rubik, upright, outlined in bezel, wiping white to yellow */
html[data-theme="videoke"] .lyric, html[data-theme="videoke"] .top-head h2, html[data-theme="videoke"] .controls h2,
html[data-theme="videoke"] .plus-left h2, html[data-theme="videoke"] .doc h1, html[data-theme="videoke"] .offline h1 {
  font-family: var(--font); transform: none; text-shadow: none; -webkit-text-stroke: .085em #06070D; paint-order: stroke fill;
}
html[data-theme="videoke"] .lyric .w-sung { color: #FFE500; -webkit-text-stroke: .085em #06070D; }
html[data-theme="videoke"] .screen .lede .w-sung { color: #FFE500; -webkit-text-stroke: 0; }
html[data-theme="videoke"] .top-head h2, html[data-theme="videoke"] .controls h2, html[data-theme="videoke"] .doc h1 { color: #FFE500; -webkit-text-stroke: 0; }
html[data-theme="videoke"] .plus-left h2 { -webkit-text-stroke: 0; }
html[data-theme="videoke"] .doc h2 { color: #FFFFFF; }

/* the player: a flat machine screen framed in yellow */
html[data-theme="videoke"] .pod { background: #06070D; border: 3px solid #FFE500; border-radius: 12px; }
html[data-theme="videoke"] .lcd { background: #0D1020; box-shadow: none; color: #FFE500; font: 800 12px/1 var(--font); border-radius: 8px; }
html[data-theme="videoke"] .lcd::after { display: none; }
html[data-theme="videoke"] .demo-art { background: #1C2236; border-radius: 8px; }
html[data-theme="videoke"] .eqbars i { background: linear-gradient(to top, #FFE500 68%, #E8173A 68%); border-radius: 1px; }
html[data-theme="videoke"] .knob { background: #1C2236; color: #FFFFFF; border: 2px solid var(--line-2); box-shadow: none; }
html[data-theme="videoke"] .knob.jelly { background: #E8173A; border-color: #E8173A; color: #FFFFFF; }
html[data-theme="videoke"] .entry { background: #06070D; border: 3px solid #FFE500; border-radius: 10px; }
html[data-theme="videoke"] .entry-label { text-transform: uppercase; letter-spacing: .06em; }
html[data-theme="videoke"] .steps li { border-radius: 6px; background: #1C2236; border: none; }
html[data-theme="videoke"] .steps b { border-radius: 4px; background: #FFE500; color: #06070D; font: 900 14px var(--font); }

/* weekly top: the hit chart */
html[data-theme="videoke"] .top-band { background: #06070D; border-top: none; }
html[data-theme="videoke"] .top-grid li::before { font-family: var(--font); }
html[data-theme="videoke"] .top-item { border: none; border-radius: 6px; }
html[data-theme="videoke"] .top-item img { background: #0D1020; border-radius: 6px; }
html[data-theme="videoke"] .top-sound { border-radius: 4px; background: #FFE500; color: #06070D; box-shadow: none; }
html[data-theme="videoke"] .top-item.playing { background: #1C2236; color: #FFFFFF; }
html[data-theme="videoke"] .top-item.playing .top-sound { background: #E8173A; color: #FFFFFF; }

/* sponsor and Plus */
html[data-theme="videoke"] .sponsor-feature { border-radius: 10px; background: #06070D; border: 2px solid var(--line); }
html[data-theme="videoke"] .sponsor-feature:hover { border-color: #FFE500; }
html[data-theme="videoke"] .sponsor-tag { border-radius: 4px; background: #FFE500; color: #06070D; font: 800 .76rem/1 var(--font); }
html[data-theme="videoke"] .sponsor-name, html[data-theme="videoke"] .plan-price { font-family: var(--font); }
html[data-theme="videoke"] .sponsor-cta { border-radius: 6px; background: #FFFFFF; color: #06070D; box-shadow: none; }
html[data-theme="videoke"] .sponsor-feature:hover .sponsor-cta { background: #FFE500; color: #06070D; }
html[data-theme="videoke"] .house-art { background: #1C2236; }
html[data-theme="videoke"] .plus-card { background: #06070D; border: 3px solid #FFE500; border-radius: 12px; padding: 8px; }
html[data-theme="videoke"] .plus-left, html[data-theme="videoke"] .plus-right { background: none; box-shadow: none; color: #FFFFFF; }
html[data-theme="videoke"] .plus-tag { border-radius: 6px; background: #FFE500; color: #06070D; }
html[data-theme="videoke"] .plus-list li::before {
  border-radius: 4px;
  background: #FFE500 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.5 12.5l3.5 3.5L17.5 8.5' fill='none' stroke='%2306070D' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat;
}
html[data-theme="videoke"] .plans { gap: 0; border-top: 2px solid var(--line); }
html[data-theme="videoke"] .plan { border: none; border-bottom: 2px solid var(--line); border-radius: 0; background: none; color: #FFFFFF; }
html[data-theme="videoke"] .plan:hover { background: #0D1020; color: #FFFFFF; }
html[data-theme="videoke"] .plan.on { background: #FFE500; color: #06070D; border-color: var(--line); }
html[data-theme="videoke"] .plan.on .plan-name::before { display: none; }
html[data-theme="videoke"] .plan.on .plan-save { color: #C40D2D; }
html[data-theme="videoke"] .plus-fine { color: #C5CAD9; opacity: 1; }
html[data-theme="videoke"] .plus-redeem { border-color: var(--line); }
html[data-theme="videoke"] .plus-redeem summary { color: #FFE500; }
html[data-theme="videoke"] .plus-code { background: #000; color: #FFE500; border-color: var(--line-2); border-radius: 6px; }
html[data-theme="videoke"] .plus-check { border-radius: 6px; background: #FFE500; color: #06070D; }
html[data-theme="videoke"] .plus-card button.link { color: #C5CAD9; }

/* editor and result */
html[data-theme="videoke"] .editor-grid > div:first-child { background: none; box-shadow: none; padding: 0; border-radius: 0; }
html[data-theme="videoke"] .stage { border: 4px solid #06070D; border-radius: 10px; box-shadow: none; }
html[data-theme="videoke"] .stage-tools { color: #FFFFFF; }
html[data-theme="videoke"] .stage-hint { color: #C5CAD9; opacity: 1; }
html[data-theme="videoke"] .controls label.lbl span { background: none; color: #C5CAD9; font: 400 .95rem var(--font); }
html[data-theme="videoke"] .radio { border-radius: 6px; background: #0D1020; border: 2px solid var(--line); }
html[data-theme="videoke"] .radio:has(input:checked) { background: #FFE500; border-color: #FFE500; color: #06070D; }
html[data-theme="videoke"] .radio:has(input:checked) small { color: #3A4775; }
html[data-theme="videoke"] .radio input[type="radio"] { accent-color: #06070D; }
html[data-theme="videoke"] .note { border: 2px solid #FFE500; background: #06070D; color: #FFFFFF; border-radius: 6px; }
html[data-theme="videoke"] .score {
  padding: 0; background: none; box-shadow: none; border-radius: 0; color: #FFE500;
  font: 900 clamp(3.6rem, 18vw, 5.6rem)/.9 var(--font); letter-spacing: -0.03em; -webkit-text-stroke: .07em #E8173A; paint-order: stroke fill;
}
html[data-theme="videoke"] .sticker-big { border: 3px solid #FFE500; border-radius: 10px; background: #06070D; box-shadow: none; padding: 14px; }
html[data-theme="videoke"] .msg.ok { background: #FFE500; color: #06070D; border: none; }
html[data-theme="videoke"] .msg.err { border-color: #E8173A; }
html[data-theme="videoke"] .legal-note { background: none; color: #C5CAD9; border: 2px solid var(--line); }
html[data-theme="videoke"] .spinner { border-top-color: #FFE500; }

/* admin and floating bits */
html[data-theme="videoke"] .card { background: #06070D; border: 2px solid var(--line); border-radius: 10px; }
html[data-theme="videoke"] .tabs button.on { background: #FFE500; border-color: #FFE500; color: #06070D; }
html[data-theme="videoke"] .item { border-radius: 8px; background: #0D1020; }
html[data-theme="videoke"] .item .thumb { background: #1C2236; border-radius: 6px; border: none; }
html[data-theme="videoke"] .item .thumb .snd { border-radius: 4px; background: #FFE500; color: #06070D; }
html[data-theme="videoke"] .pre, html[data-theme="videoke"] .gift-code { background: #000; color: #FFFFFF; border-radius: 6px; }
html[data-theme="videoke"] .code, html[data-theme="videoke"] .gift-code { color: #FFE500; }
html[data-theme="videoke"] .autopost, html[data-theme="videoke"] .screen-level { border-radius: 8px; border: 2px solid var(--line); }
html[data-theme="videoke"] .autopost:has(input:checked) { border-color: #FFE500; }
html[data-theme="videoke"] .install-tip { background: #06070D; color: #FFFFFF; border: 3px solid #FFE500; border-radius: 10px; box-shadow: 0 14px 40px rgba(0, 0, 0, .5); }
html[data-theme="videoke"] .install-text { color: #C5CAD9; }
html[data-theme="videoke"] .install-text b { color: #FFFFFF; }
html[data-theme="videoke"] .install-tip button.primary { background: #FFE500; border-color: #FFE500; color: #06070D; }
html[data-theme="videoke"] .install-tip .ghost-x { border: none; color: #C5CAD9; }
html[data-theme="videoke"] .share-ico { color: #FFE500; }
@media (max-width: 560px) {
  /* the yellow wordmark always sits in the bar here, so the capsule keeps just its bubble */
  html[data-theme="videoke"] .topbar .chan-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  html[data-theme="videoke"] .topbar .chan-link { padding: 4px; }
  html[data-theme="videoke"] .wordmark, html[data-theme="videoke"] .brand { font-size: 21px; gap: 6px; }
  html[data-theme="videoke"] .wordmark-logo { width: 28px; }
  html[data-theme="videoke"] .lang select { max-width: 108px; padding: 0 8px; }
}

/* =====================================================================================
   Header pickers, dressed per theme. Y2K: chrome capsules with a jelly bubble, like the
   channel capsule. Videoke: machine buttons, black with a yellow edge and yellow caps.
   ===================================================================================== */
.theme-btn {
  width: auto; height: 44px; min-height: 0; padding: 4px 14px 4px 5px; gap: 8px; border: none; border-radius: 999px;
  color: var(--chrome-ink); background: var(--chrome-face); font: 800 14px/1 var(--font);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .45), inset 0 1.5px 0 #fff, inset 0 -2px 0 rgba(0, 0, 0, .2);
}
.theme-btn:hover { color: var(--chrome-ink); border: none; filter: brightness(1.05); }
.theme-btn[aria-expanded="true"] { border: none; box-shadow: 0 0 0 3px var(--star), 0 4px 12px rgba(0, 0, 0, .45); }
.theme-btn .chev { transition: transform .2s ease; }
.theme-btn[aria-expanded="true"] .chev { transform: rotate(180deg); }
.theme-btn .sw { width: 34px; height: 34px; }
html:not([data-theme="videoke"]) .sw-cur { background: conic-gradient(#FF4FA8 0 33%, #C8CDDC 0 66%, #5B5BE0 0); }
html[data-theme="videoke"] .sw-cur { background: conic-gradient(#FFE500 0 50%, #E8173A 0); }

.lang svg {
  left: 5px; width: 34px; height: 34px; padding: 8px; border-radius: 50%; color: #fff; z-index: 1;
  background: var(--jelly); box-shadow: inset 0 -2px 4px rgba(120, 0, 60, .35);
}
.lang select {
  -webkit-appearance: none; appearance: none; height: 44px; padding: 0 34px 0 46px; border: none; border-radius: 999px;
  color: var(--chrome-ink); font: 800 14px var(--font);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%2323263A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 12px center / 14px no-repeat, var(--chrome-face);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .45), inset 0 1.5px 0 #fff, inset 0 -2px 0 rgba(0, 0, 0, .2);
}
.lang select:hover { border: none; filter: brightness(1.05); }

html[data-theme="videoke"] .theme-btn {
  height: 42px; padding: 0 12px 0 6px; border-radius: 6px; border: 2px solid #FFE500; background: #000; color: #FFE500;
  font: 900 13px/1 var(--font); text-transform: uppercase; letter-spacing: .06em; box-shadow: none;
}
html[data-theme="videoke"] .theme-btn:hover { background: #FFE500; color: #06070D; border-color: #FFE500; filter: none; }
html[data-theme="videoke"] .theme-btn[aria-expanded="true"] { background: #FFE500; color: #06070D; box-shadow: none; }
html[data-theme="videoke"] .theme-btn .sw { width: 26px; height: 26px; border-radius: 3px; border: 2px solid #06070D; box-shadow: none; }
html[data-theme="videoke"] .lang svg { left: 10px; width: 18px; height: 18px; padding: 0; border-radius: 0; background: none; box-shadow: none; color: #FFE500; }
html[data-theme="videoke"] .lang select {
  height: 42px; padding: 0 32px 0 36px; border-radius: 6px; border: 2px solid #FFE500; color: #FFE500; box-shadow: none;
  font: 900 13px var(--font); text-transform: uppercase; letter-spacing: .06em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%23FFE500' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 10px center / 14px no-repeat, #000;
}
html[data-theme="videoke"] .lang select:hover { background-color: #1C2236; filter: none; }

/* Phones: the bar runs left to right. The channel capsule keeps just its bubble here (the big
   "Follow the channel" capsule below the entry box carries the words). */
@media (max-width: 560px) {
  .topbar-in { display: flex; justify-content: space-between; }
  .topbar .chan-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .topbar .chan-link { padding: 4px; }
  .top-right { gap: 6px; }
  .theme-btn { padding: 4px 10px 4px 5px; gap: 6px; }
  .lang svg { display: block; }
  .lang select { max-width: 132px; padding: 0 28px 0 44px; background-position: right 9px center, 0 0; }
  html[data-theme="videoke"] .lang select { max-width: 124px; padding: 0 26px 0 32px; }
  html[data-theme="videoke"] .lang svg { left: 9px; }
  /* off the home screen the wordmark joins the bar: the pickers drop their words to fit */
  body:not(:has(#stepLink:not([hidden]))) .theme-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  body:not(:has(#stepLink:not([hidden]))) .theme-btn { padding-right: 8px; }
  body:not(:has(#stepLink:not([hidden]))) .lang svg { display: none; }
  body:not(:has(#stepLink:not([hidden]))) .lang select { max-width: 104px; padding-left: 12px; }
  .wordmark, .brand { padding: 0 14px 2px; }
}
@media (max-width: 560px) {
  /* Videoke keeps its wordmark in the bar on every screen, so on phones the pickers are always compact */
  html[data-theme="videoke"] .theme-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  html[data-theme="videoke"] .theme-btn { padding: 0 8px 0 6px; }
  html[data-theme="videoke"] .lang svg { display: none; }
  html[data-theme="videoke"] .lang select { max-width: 108px; padding-left: 10px; }
}
@media (max-width: 560px) { html[data-theme="videoke"] body:not(:has(#stepLink:not([hidden]))) .lang select { max-width: 108px; padding-left: 10px; } }
