/* AURORA 極光 — Demo Center 示範中心, sound tours, theater mode, now-playing pill (src/ui/demo/*).
   Uses the Aurora tokens from css/style.css. */

/* ═══════════════════════════════ top-bar button ═══════════════════════════════ */
.dc-btn {
  position: relative; display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 15px 0 11px; flex: none;
  border: 0; border-radius: 999px; cursor: pointer; isolation: isolate; color: var(--text);
  background: linear-gradient(180deg, rgba(34, 42, 70, .9), rgba(16, 20, 34, .92));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 6px 20px rgba(0, 0, 0, .3);
  transition: transform .18s var(--ease-spring), box-shadow .25s ease;
}
.dc-btn::before { /* animated aurora rim */
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; padding: 1.5px;
  background: conic-gradient(from var(--dc-a, 0deg), #3ef0b0, #5cf2ff, #a78bfa, #ff6bd6, #ffc46b, #3ef0b0);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: dc-rim 6s linear infinite; opacity: .9;
}
@property --dc-a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes dc-rim { to { --dc-a: 360deg; } }
.dc-btn:hover { transform: translateY(-1px) scale(1.03); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 8px 28px rgba(167, 139, 250, .3), 0 0 24px rgba(92, 242, 255, .18); }
.dc-btn:active { transform: scale(.97); }
.dc-btn__ic { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; color: #06121a; background: var(--grad-aurora); background-size: 200% 100%; animation: aurora-shift 6s ease-in-out infinite alternate; box-shadow: 0 0 12px rgba(92, 242, 255, .4); }
.dc-btn__ic .ic { width: 14px; height: 14px; }
.dc-btn__txt { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.05; }
.dc-btn__lbl { font-size: 13px; font-weight: 700; letter-spacing: .04em; }
.dc-btn__sub { font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--text-faint); }
.dc-btn__live { position: absolute; top: 4px; right: 6px; width: 7px; height: 7px; border-radius: 50%; background: var(--a-teal); box-shadow: 0 0 8px var(--a-teal); opacity: 0; transform: scale(.4); transition: opacity .2s, transform .3s var(--ease-spring); }
.dc-btn.is-live .dc-btn__live { opacity: 1; transform: none; animation: dc-live 1.4s ease-in-out infinite; }
.dc-open .dc-btn { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 0 26px rgba(167, 139, 250, .35); }
@keyframes dc-live { 0%, 100% { box-shadow: 0 0 4px var(--a-teal); } 50% { box-shadow: 0 0 12px var(--a-teal), 0 0 2px #fff; } }

/* ═══════════════════════════════ overlay ═══════════════════════════════ */
.dc {
  position: fixed; left: 0; right: 0; top: 0; bottom: var(--dock-h); z-index: 60; overflow: hidden; overflow: clip; /* clip: never scrolled by scrollIntoView */
  background: radial-gradient(120% 90% at 50% 0%, rgba(20, 16, 44, .55), transparent 60%), rgba(4, 5, 10, .78);
  -webkit-backdrop-filter: blur(20px) saturate(1.25); backdrop-filter: blur(20px) saturate(1.25);
  opacity: 0; transition: opacity .32s ease;
}
.dc.is-in { opacity: 1; }
.dc__hero { position: absolute; inset: 0; opacity: .5; pointer-events: none; }
.dc__hero > * { position: absolute; inset: 0; width: 100%; height: 100%; }
.dc__sky { position: absolute; inset: -20%; pointer-events: none; opacity: .55; }
.dc__sky i { position: absolute; width: 55vmax; height: 30vmax; border-radius: 50%; filter: blur(80px); mix-blend-mode: screen; animation: sky 18s ease-in-out infinite alternate; }
.dc__sky i:nth-child(1) { left: 0; top: 4%; background: radial-gradient(closest-side, rgba(62, 240, 176, .45), transparent); }
.dc__sky i:nth-child(2) { left: 30%; top: -6%; background: radial-gradient(closest-side, rgba(92, 242, 255, .35), transparent); animation-duration: 23s; animation-delay: -6s; }
.dc__sky i:nth-child(3) { left: 55%; top: 10%; background: radial-gradient(closest-side, rgba(167, 139, 250, .45), transparent); animation-duration: 27s; animation-delay: -11s; }
.dc__sky i:nth-child(4) { left: 62%; top: 55%; background: radial-gradient(closest-side, rgba(255, 107, 214, .25), transparent); animation-duration: 21s; animation-delay: -3s; }
.dc__veil { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(5, 6, 12, .1), rgba(5, 6, 12, .45)); }
.dc__sheet {
  position: absolute; inset: 14px 14px 12px; margin: 0 auto; max-width: 1400px;
  display: grid; grid-template-rows: auto auto minmax(0, 1fr); border-radius: 24px; overflow: hidden; overflow: clip;
  background: linear-gradient(180deg, rgba(22, 27, 46, .66), rgba(10, 12, 22, .74));
  box-shadow: inset 0 0 0 1px rgba(160, 180, 240, .14), inset 0 1px 0 rgba(255, 255, 255, .06), 0 30px 90px rgba(0, 0, 0, .55), 0 0 80px rgba(167, 139, 250, .08);
  transform: translateY(16px) scale(.985); transition: transform .45s var(--ease-out);
}
.dc.is-in .dc__sheet { transform: none; }
.dc__sheet::before { /* aurora hairline */
  content: ""; position: absolute; left: 32px; right: 32px; top: 0; height: 1px; background: var(--grad-aurora); opacity: .55; pointer-events: none;
}
.dc__head {
  position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 16px;
  padding: 14px 16px 12px 22px; border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(16, 20, 34, .55), rgba(16, 20, 34, .2));
}
.dc__headL { min-width: 0; }
.dc__brand { display: flex; align-items: center; gap: 11px; }
.dc__mark {
  width: 28px; height: 28px; border-radius: 50%; flex: none;
  background: conic-gradient(from 200deg, #3ef0b0, #5cf2ff, #a78bfa, #ff6bd6, #3ef0b0);
  -webkit-mask: radial-gradient(circle, transparent 7px, #000 8px); mask: radial-gradient(circle, transparent 7px, #000 8px);
  box-shadow: 0 0 22px rgba(92, 242, 255, .5); animation: logo-spin 14s linear infinite;
}
.dc__title { margin: 0; display: flex; align-items: baseline; gap: 10px; white-space: nowrap; }
.dc__titleMain {
  font-size: 21px; font-weight: 800; letter-spacing: .08em;
  background: var(--grad-aurora); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: aurora-shift 10s ease-in-out infinite alternate;
}
.dc__titleSub { font-size: 10px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--text-faint); }
.dc__tagline { margin: 4px 0 0 39px; font-size: 11.5px; color: var(--text-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dc__close { justify-self: end; width: 38px; height: 38px; border-radius: 12px; }

.dc__tabs {
  position: relative; display: flex; gap: 2px; padding: 4px; border-radius: 16px;
  background: rgba(0, 0, 0, .32); box-shadow: inset 0 0 0 1px var(--line);
}
.dc-tab {
  --acc: var(--a-cyan);
  position: relative; z-index: 1; display: flex; align-items: center; gap: 9px; height: 46px; padding: 0 16px 0 12px;
  border: 0; border-radius: 12px; background: none; cursor: pointer; color: var(--text-dim); white-space: nowrap;
  transition: color .2s ease;
}
.dc-tab:hover { color: var(--text); }
.dc-tab__ic { display: grid; place-items: center; color: color-mix(in oklab, var(--acc) 55%, var(--text-faint)); transition: color .2s, filter .2s, transform .3s var(--ease-spring); }
.dc-tab__txt { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.1; }
.dc-tab__main { font-size: 13.5px; font-weight: 650; letter-spacing: .04em; }
.dc-tab__sub { font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--text-faint); margin-top: 2px; }
.dc-tab.is-on { color: #fff; }
.dc-tab.is-on .dc-tab__ic { color: var(--acc); filter: drop-shadow(0 0 7px var(--acc)); transform: scale(1.08); }
.dc-tab.is-on .dc-tab__sub { color: color-mix(in oklab, var(--acc) 70%, #fff); }
.dc-tab__live { position: absolute; top: 7px; right: 7px; width: 6px; height: 6px; border-radius: 50%; background: var(--acc); opacity: 0; transition: opacity .2s; }
.dc-tab.is-live .dc-tab__live { opacity: 1; animation: dc-live 1.4s ease-in-out infinite; }
.dc__ind {
  --acc: var(--a-cyan);
  position: absolute; left: 0; top: 4px; bottom: 4px; width: 0; border-radius: 12px; z-index: 0; pointer-events: none;
  background: linear-gradient(180deg, color-mix(in oklab, var(--acc) 24%, rgba(38, 48, 78, .85)), color-mix(in oklab, var(--acc) 9%, rgba(20, 25, 40, .85)));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 0 0 1px color-mix(in oklab, var(--acc) 45%, transparent), 0 0 24px color-mix(in oklab, var(--acc) 24%, transparent);
  transition: transform .38s var(--ease-spring), width .38s var(--ease-spring), background .3s ease, box-shadow .3s ease;
}
.dc__ind::after { content: ""; position: absolute; left: 24%; right: 24%; bottom: -1px; height: 2px; border-radius: 2px; background: var(--acc); box-shadow: 0 0 10px var(--acc); }

.dc__body { grid-row: 3; position: relative; min-height: 0; overflow-y: auto; overflow-x: hidden; padding: 14px 22px 26px; overscroll-behavior: contain; scroll-behavior: smooth; }
/* audio engine failed: say so inside the sheet (it covers the top bar's badge), with a retry */
.dc-audio {
  grid-row: 2; position: relative; z-index: 2; display: flex; align-items: center; gap: 12px; margin: 0 22px 4px; padding: 10px 12px 10px 14px; border-radius: 14px;
  background: linear-gradient(180deg, rgba(60, 20, 36, .78), rgba(36, 12, 24, .82)); box-shadow: inset 0 0 0 1px rgba(255, 107, 129, .45);
}
.dc-audio__ic { color: var(--a-red); flex: none; }
.dc-audio__txt { flex: 1; min-width: 0; font-size: 13px; line-height: 1.45; color: var(--text); }
.dc-audio__more { margin-top: 2px; font-size: 12px; color: var(--text-dim); }
.dc-audio__more summary { cursor: pointer; width: max-content; }
.dc-audio__code { display: block; margin-top: 4px; font: 11.5px/1.4 var(--font-mono); color: var(--text-dim); overflow-wrap: anywhere; }
.dc-audio__retry { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 16px; }
.dc-audio__retry:disabled { opacity: .5; }
.dc-panel.is-entering { animation: panel-in .38s var(--ease-out); }
.dc-intro { display: flex; align-items: center; gap: 10px; margin: 0 2px 12px; }
.dc-intro__txt { margin: 0; font-size: 12.5px; color: var(--text-dim); letter-spacing: .02em; }
.dc-intro__txt::before { content: ""; display: inline-block; width: 16px; height: 2px; margin: 0 9px 3px 0; border-radius: 2px; background: var(--acc); box-shadow: 0 0 8px var(--acc); }
.dc-empty { padding: 50px 20px; text-align: center; color: var(--text-faint); font-size: 13px; }

/* mounted panels (Jam / Magic) */
.dc-mount { min-width: 0; }
.dc-bare { min-width: 0; }
.dc-mount--magic { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: start; }
.dc-card {
  position: relative; min-width: 0; padding: 14px 16px 16px; border-radius: 18px;
  background: linear-gradient(180deg, rgba(26, 32, 52, .7), rgba(14, 17, 29, .74));
  box-shadow: inset 0 0 0 1px var(--glass-border), 0 14px 36px rgba(0, 0, 0, .32);
}
.dc-card::before { content: ""; position: absolute; left: 18px; right: 18px; top: -1px; height: 1px; background: linear-gradient(90deg, transparent, color-mix(in oklab, var(--acc) 70%, transparent), transparent); }
.dc-card__head { display: flex; align-items: center; gap: 9px; margin-bottom: 12px; }
.dc-card__ic { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; color: var(--acc); background: color-mix(in oklab, var(--acc) 13%, rgba(0, 0, 0, .3)); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--acc) 28%, transparent); }
.dc-card__title { margin: 0; font-size: 14px; font-weight: 650; letter-spacing: .04em; }
.dc-soon { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 34px 10px; color: var(--text-faint); text-align: center; }
.dc-soon .ic-wrap { color: color-mix(in oklab, var(--acc) 60%, var(--text-faint)); opacity: .8; }
.dc-soon p { margin: 0; font-size: 12.5px; }

/* ═══════════════════════════════ songs ═══════════════════════════════ */
.sv { --lh: 244px; }
.sv-rail { display: flex; gap: 12px; overflow-x: auto; padding: 4px 4px 14px; margin: 0 -4px; scroll-snap-type: x proximity; scrollbar-width: thin; }
.sv-card {
  position: relative; flex: 0 0 210px; height: 108px; padding: 0; border: 0; border-radius: 16px; overflow: hidden; cursor: pointer; text-align: left; color: #fff;
  scroll-snap-align: start; isolation: isolate;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), 0 10px 26px rgba(0, 0, 0, .38);
  transition: transform .28s var(--ease-spring), box-shadow .25s ease, filter .25s ease;
  animation: sv-card-in .5s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 45ms);
  filter: saturate(.85) brightness(.9);
}
@keyframes sv-card-in { from { opacity: 0; transform: translateY(10px) scale(.97); } }
.sv-card:hover { transform: translateY(-3px); filter: none; }
.sv-card.is-on { filter: none; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .85), 0 0 0 1px rgba(0, 0, 0, .4), 0 12px 32px rgba(0, 0, 0, .45), 0 0 28px color-mix(in oklab, var(--c1, #5cf2ff) 45%, transparent); }
.sv-card .sv-cover { position: absolute; inset: 0; z-index: -1; }
/* dark scrim under the title block: white text stays legible over the lightest gradient covers */
.sv-card::after { content: ""; position: absolute; inset: 35% 0 0; z-index: -1; pointer-events: none; background: linear-gradient(0deg, rgba(4, 5, 12, .62), rgba(4, 5, 12, .28) 55%, transparent); }
.sv-card__txt { position: absolute; left: 12px; right: 12px; bottom: 10px; display: flex; flex-direction: column; gap: 1px; text-shadow: 0 1px 10px rgba(0, 0, 0, .7), 0 0 2px rgba(0, 0, 0, .45); }
.sv-card__t { font-size: 16px; font-weight: 750; letter-spacing: .02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sv-card__en { font-size: 10.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; opacity: .9; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sv-card__meta { margin-top: 3px; font: 600 10px var(--font-mono); opacity: .78; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.sv-cover {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--c1), var(--c2) 52%, var(--c3)); background-size: 240% 240%;
  animation: sv-grad 14s ease-in-out infinite alternate;
}
.sv-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 6, 12, 0) 30%, rgba(5, 6, 12, .62)), radial-gradient(120% 80% at 20% 0%, rgba(255, 255, 255, .22), transparent 55%); }
.sv-cover i { position: absolute; border-radius: 50%; filter: blur(18px); mix-blend-mode: screen; opacity: .75; animation: sv-blob 11s ease-in-out infinite alternate; }
.sv-cover__a { width: 70%; height: 90%; left: -12%; top: -30%; background: radial-gradient(closest-side, var(--c3), transparent); }
.sv-cover__b { width: 60%; height: 80%; right: -14%; top: 10%; background: radial-gradient(closest-side, var(--c1), transparent); animation-duration: 14s; animation-delay: -5s; }
.sv-cover__c { width: 80%; height: 50%; left: 20%; bottom: -26%; background: radial-gradient(closest-side, #fff, transparent); opacity: .28 !important; animation-duration: 9s; animation-delay: -3s; }
@keyframes sv-grad { from { background-position: 0% 30%; } to { background-position: 100% 70%; } }
@keyframes sv-blob { 0% { transform: translate3d(0, 0, 0) scale(1); } 50% { transform: translate3d(12%, 10%, 0) scale(1.15); } 100% { transform: translate3d(-8%, 4%, 0) scale(.92); } }
.sv-cover__eq { position: absolute; z-index: 2; right: 10px; top: 10px; display: flex; align-items: flex-end; gap: 2px; height: 14px; opacity: 0; transition: opacity .25s; }
.sv-cover__eq b { width: 3px; height: 100%; border-radius: 2px; background: #fff; box-shadow: 0 0 6px rgba(255, 255, 255, .7); transform-origin: bottom; animation: sv-eq .9s ease-in-out infinite; }
.sv-cover__eq b:nth-child(2) { animation-delay: -.3s; animation-duration: .7s; }
.sv-cover__eq b:nth-child(3) { animation-delay: -.55s; animation-duration: 1.1s; }
.sv-cover__eq b:nth-child(4) { animation-delay: -.15s; animation-duration: .8s; }
@keyframes sv-eq { 0%, 100% { transform: scaleY(.25); } 50% { transform: scaleY(1); } }
.sv-card.is-playing .sv-cover__eq, .sv-player.is-playing .sv-cover__eq { opacity: 1; }

.sv-player {
  --c1: #3ef0b0; --c2: #5cf2ff; --c3: #a78bfa;
  position: relative; isolation: isolate; margin-top: 4px; padding: 16px 18px 16px; border-radius: 22px;
  background: linear-gradient(180deg, rgba(24, 30, 50, .74), rgba(10, 13, 23, .8));
  box-shadow: inset 0 0 0 1px var(--glass-border), 0 20px 56px rgba(0, 0, 0, .42);
}
.sv-player::before { /* song-coloured glow */
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none; opacity: .55; transition: opacity .6s ease;
  background: radial-gradient(60% 90% at 0% 0%, color-mix(in oklab, var(--c1) 26%, transparent), transparent 70%), radial-gradient(50% 80% at 100% 0%, color-mix(in oklab, var(--c3) 18%, transparent), transparent 70%);
}
.sv-player.is-playing::before { opacity: 1; animation: breathe 3.2s ease-in-out infinite; }
.svp-head { display: grid; grid-template-columns: 116px minmax(0, 1fr) auto; gap: 20px; align-items: center; }
.svp-coverWrap { position: relative; width: 116px; height: 116px; border-radius: 20px; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), 0 14px 34px rgba(0, 0, 0, .45), 0 0 34px color-mix(in oklab, var(--c2) 22%, transparent); }
.sv-cover--big { position: absolute; inset: 0; }
.svp-play {
  position: absolute; left: 50%; top: 50%; width: 62px; height: 62px; margin: -31px 0 0 -31px; border: 0; border-radius: 50%; cursor: pointer; color: #fff;
  display: grid; place-items: center; background: rgba(6, 8, 16, .5); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .55), 0 8px 26px rgba(0, 0, 0, .45);
  transition: transform .22s var(--ease-spring), background .2s ease, box-shadow .25s ease;
}
.svp-play .ic { margin-left: 3px; }
.svp-play.is-playing .ic { margin-left: 0; }
.svp-play:hover { transform: scale(1.08); background: rgba(6, 8, 16, .35); box-shadow: inset 0 0 0 1.5px #fff, 0 0 30px color-mix(in oklab, var(--c2) 60%, transparent); }
.svp-play:active { transform: scale(.95); }
.svp-play.is-playing::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .55); animation: ring 2s ease-out infinite; pointer-events: none; }
.svp-info { min-width: 0; }
.svp-kick { display: flex; align-items: center; gap: 10px; }
.svp-genre {
  display: inline-flex; align-items: center; height: 22px; padding: 0 10px; border-radius: 99px; font-size: 11px; font-weight: 650; letter-spacing: .06em;
  color: color-mix(in oklab, var(--c1) 80%, #fff); background: color-mix(in oklab, var(--c1) 14%, rgba(0, 0, 0, .35)); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--c1) 40%, transparent);
}
.svp-time { font: 600 11px var(--font-mono); color: var(--text-dim); font-variant-numeric: tabular-nums; }
.svp-titles { display: flex; align-items: baseline; gap: 12px; margin: 6px 0 4px; min-width: 0; }
.svp-title {
  margin: 0; font-size: clamp(22px, 2.2vw, 32px); font-weight: 800; letter-spacing: .01em; line-height: 1.1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  background: linear-gradient(100deg, #fff 35%, color-mix(in oklab, var(--c2) 45%, #fff) 70%, color-mix(in oklab, var(--c3) 50%, #fff)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.svp-en { font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--text-faint); white-space: nowrap; }
.svp-desc { margin: 0; max-width: 72ch; font-size: 13px; line-height: 1.5; color: var(--text-dim); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.svp-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 8px; }
.svp-meta span { display: inline-flex; align-items: center; gap: 5px; font: 600 11px var(--font-mono); color: var(--text-dim); }
.svp-meta .ic-wrap { color: var(--c2); opacity: .85; }
.svp-actions { display: flex; flex-direction: column; align-items: stretch; gap: 8px; min-width: 190px; }
.svp-actions .pill-btn { justify-content: center; height: 36px; }
.svp-loop.is-on { color: var(--a-teal); background: rgba(62, 240, 176, .1); box-shadow: inset 0 0 0 1px rgba(62, 240, 176, .45); }
.svp-along.is-on { color: #06121a; background: linear-gradient(120deg, var(--c1), var(--c2)); box-shadow: 0 0 20px color-mix(in oklab, var(--c2) 45%, transparent); }
.svp-hint { margin: 0; max-width: 220px; font-size: 10.5px; line-height: 1.4; color: color-mix(in oklab, var(--c2) 60%, var(--text-dim)); text-align: right; }
.svp-hint:empty { display: none; }

.svp-timeline { display: grid; grid-template-columns: var(--lh) minmax(0, 1fr); gap: 10px; align-items: center; margin-top: 14px; }
.svp-lanehead--tl { background: none !important; box-shadow: none !important; color: var(--text-faint); font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.svp-track { position: relative; height: 36px; border-radius: 11px; overflow: hidden; background: rgba(0, 0, 0, .32); box-shadow: inset 0 0 0 1px var(--line); }
.svp-track::after { /* progress */
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--p, 0) * 100%); pointer-events: none;
  background: linear-gradient(90deg, transparent, color-mix(in oklab, var(--c2) 22%, transparent)); border-right: 2px solid rgba(255, 255, 255, .9);
  box-shadow: 6px 0 16px -6px color-mix(in oklab, var(--c2) 80%, transparent); opacity: 0; transition: opacity .3s;
}
.sv-player.is-playing .svp-track::after { opacity: 1; }
.svp-bars i { position: absolute; top: 0; bottom: 0; width: 1px; background: rgba(140, 160, 220, .07); }
.svp-bars i.is-phrase { background: rgba(140, 160, 220, .14); }
.svp-sec {
  position: absolute; top: 0; bottom: 0; display: flex; flex-direction: column; justify-content: center; padding: 0 10px; overflow: hidden;
  border-left: 1px solid rgba(160, 180, 240, .16); transition: background .4s ease;
}
.svp-sec b { font-size: 11.5px; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--text); }
.svp-sec small { font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--text-faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.svp-sec.is-on { background: linear-gradient(90deg, color-mix(in oklab, var(--c1) 22%, transparent), color-mix(in oklab, var(--c2) 6%, transparent)); }
.svp-sec.is-on b { color: #fff; text-shadow: 0 0 12px color-mix(in oklab, var(--c1) 80%, transparent); }
/* too narrow for the name (songsView fitSections): hidden, except the playing section, which floats over its neighbours */
.svp-sec.is-tight b, .svp-sec.is-tight small { visibility: hidden; }
.svp-sec.is-tight.is-on { overflow: visible; z-index: 2; }
.svp-sec.is-tight.is-on b { visibility: visible; overflow: visible; align-self: flex-start; padding: 2px 7px; border-radius: 7px; background: rgba(10, 12, 22, .88); box-shadow: 0 0 0 1px color-mix(in oklab, var(--c1) 45%, transparent); }

.svp-lanes { position: relative; display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.svp-lane { --lc: #5cf2ff; display: grid; grid-template-columns: var(--lh) minmax(0, 1fr); gap: 10px; min-height: 44px; transition: opacity .3s ease, filter .3s ease; animation: sv-card-in .45s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 50ms); }
.svp-lanehead {
  display: flex; align-items: center; gap: 8px; min-width: 0; padding: 6px 8px 6px 10px; border-radius: 12px;
  background: rgba(0, 0, 0, .24); box-shadow: inset 3px 0 0 var(--lc), inset 0 0 0 1px var(--line);
}
.svp-lane__ic { display: grid; place-items: center; width: 26px; height: 26px; flex: none; border-radius: 8px; color: var(--lc); background: color-mix(in oklab, var(--lc) 12%, transparent); }
.svp-lane__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.2; }
.svp-lane__name { font-size: 12.5px; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.svp-lane__sub { font-size: 10px; color: var(--text-faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.svp-meter { position: relative; width: 5px; height: 28px; flex: none; border-radius: 3px; overflow: hidden; background: rgba(140, 160, 220, .14); }
.svp-meter i { position: absolute; inset: 0; transform-origin: bottom; transform: scaleY(0); background: linear-gradient(0deg, var(--lc), #fff); box-shadow: 0 0 8px var(--lc); }
.svp-lane__btns { display: flex; gap: 3px; flex: none; }
.svp-ms, .svp-use {
  display: grid; place-items: center; width: 25px; height: 25px; padding: 0; border: 0; border-radius: 7px; cursor: pointer;
  font: 700 10px var(--font-mono); color: var(--text-dim); background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--line);
  transition: color .15s, background .15s, box-shadow .2s, transform .15s var(--ease-spring);
}
.svp-ms:hover, .svp-use:hover { color: var(--text); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--lc) 55%, transparent); }
.svp-ms:active, .svp-use:active { transform: scale(.92); }
.svp-ms.is-on { color: #1a0d05; background: var(--a-amber); box-shadow: 0 0 10px rgba(255, 196, 107, .5); }
.svp-ms--s.is-on { color: #04130d; background: var(--a-teal); box-shadow: 0 0 10px rgba(62, 240, 176, .5); }
.svp-use { width: 30px; color: var(--lc); }
.svp-use:hover { background: color-mix(in oklab, var(--lc) 16%, transparent); }
.svp-rollWrap { position: relative; min-height: 44px; border-radius: 12px; overflow: hidden; background: linear-gradient(180deg, rgba(4, 6, 12, .6), rgba(4, 6, 12, .42)); box-shadow: inset 0 0 0 1px var(--line); }
.svp-roll { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.svp-lanes--dense { gap: 4px; }
.svp-lanes--dense .svp-lane, .svp-lanes--dense .svp-rollWrap { min-height: 36px; }
.svp-lanes--dense .svp-lanehead { padding-top: 3px; padding-bottom: 3px; }
.svp-lanes--dense .svp-lane__ic { width: 22px; height: 22px; }
.svp-lanes--dense .svp-meter { height: 22px; }
.svp-lanes--dense .svp-ms, .svp-lanes--dense .svp-use { height: 22px; }
.svp-lane.is-muted { opacity: .38; filter: saturate(.3); }
.svp-lane.is-picked .svp-lanehead { animation: op-flash 1s ease-out; --acc: var(--lc); }
.svp-playhead {
  position: absolute; top: -3px; bottom: -3px; width: 2px; margin-left: -1px; z-index: 3; pointer-events: none;
  left: calc(var(--lh) + 10px + (100% - var(--lh) - 10px) * var(--p, 0));
  background: #fff; box-shadow: 0 0 14px var(--c2), 0 0 3px #fff; border-radius: 2px; opacity: 0; transition: opacity .3s;
}
.svp-playhead i { position: absolute; left: -4px; top: -3px; width: 10px; height: 10px; border-radius: 50%; background: #fff; box-shadow: 0 0 12px var(--c2); }
.sv-player.is-playing .svp-playhead { opacity: 1; }
.svp-err { display: flex; align-items: center; gap: 8px; margin: 10px 0 0; font-size: 11.5px; color: var(--a-red); }

/* ═══════════════════════════════ tours ═══════════════════════════════ */
.tv-hint {
  display: flex; align-items: center; gap: 12px; margin: 0 0 14px; padding: 10px 14px; border-radius: 14px;
  background: linear-gradient(90deg, rgba(62, 240, 176, .1), rgba(92, 242, 255, .04)); box-shadow: inset 0 0 0 1px rgba(62, 240, 176, .22);
}
.tv-hint > .ic-wrap { color: var(--a-teal); filter: drop-shadow(0 0 6px rgba(62, 240, 176, .6)); }
.tv-hint p { margin: 0; display: flex; flex-wrap: wrap; gap: 2px 10px; align-items: baseline; }
.tv-hint b { font-size: 13px; font-weight: 650; }
.tv-hint span { font-size: 11.5px; color: var(--text-dim); }
.tv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 14px; }
@media (min-width: 1180px) { .tv-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } } /* six tours → two full rows */
.tv-card {
  --c1: #3ef0b0; --c2: #5cf2ff; --c3: #a78bfa;
  position: relative; display: flex; flex-direction: column; min-width: 0; overflow: hidden; border-radius: 20px;
  background: linear-gradient(180deg, rgba(26, 32, 52, .76), rgba(12, 15, 26, .82));
  box-shadow: inset 0 0 0 1px var(--glass-border), 0 14px 38px rgba(0, 0, 0, .36);
  transition: transform .3s var(--ease-spring), box-shadow .3s ease;
  animation: sv-card-in .5s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 60ms);
}
.tv-card:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--c2) 45%, transparent), 0 20px 46px rgba(0, 0, 0, .45), 0 0 34px color-mix(in oklab, var(--c2) 18%, transparent); }
.tv-card.is-active { box-shadow: inset 0 0 0 1.5px color-mix(in oklab, var(--c1) 80%, transparent), 0 0 36px color-mix(in oklab, var(--c1) 30%, transparent); }
.tv-art {
  position: relative; height: 118px; overflow: hidden; isolation: isolate;
  background: linear-gradient(135deg, color-mix(in oklab, var(--c1) 70%, #07080d), color-mix(in oklab, var(--c2) 55%, #07080d) 55%, color-mix(in oklab, var(--c3) 60%, #07080d));
  background-size: 220% 220%; animation: sv-grad 12s ease-in-out infinite alternate;
}
.tv-art::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, transparent 40%, rgba(12, 15, 26, .9)), repeating-linear-gradient(90deg, rgba(255, 255, 255, .04) 0 1px, transparent 1px 22px); }
.tv-art__blob { position: absolute; width: 60%; height: 120%; border-radius: 50%; filter: blur(22px); mix-blend-mode: screen; opacity: .7; animation: sv-blob 10s ease-in-out infinite alternate; }
.tv-art__blob:nth-child(1) { left: -10%; top: -40%; background: radial-gradient(closest-side, var(--c1), transparent); }
.tv-art__blob:nth-child(2) { left: 35%; top: -30%; background: radial-gradient(closest-side, var(--c2), transparent); animation-duration: 13s; animation-delay: -4s; }
.tv-art__blob:nth-child(3) { left: 60%; top: 10%; background: radial-gradient(closest-side, var(--c3), transparent); animation-duration: 15s; animation-delay: -8s; }
.tv-art__ic { position: absolute; z-index: 2; left: 18px; top: 18px; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; color: #fff; background: rgba(5, 6, 12, .35); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25), 0 8px 24px rgba(0, 0, 0, .3); }
.tv-art__ic .ic { filter: drop-shadow(0 0 8px rgba(255, 255, 255, .6)); }
.tv-art__n { position: absolute; z-index: 2; right: 16px; top: 8px; font: 800 44px/1 var(--font-ui); letter-spacing: -.04em; color: rgba(255, 255, 255, .22); }
.tv-art__steps { position: absolute; z-index: 2; left: 18px; right: 18px; bottom: 12px; display: flex; gap: 4px; }
.tv-art__steps i { flex: 1; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .28); }
.tv-card:hover .tv-art__steps i { animation: tv-step 1.8s ease-in-out infinite; animation-delay: calc(var(--k) * 90ms); }
@keyframes tv-step { 0%, 100% { background: rgba(255, 255, 255, .28); } 30% { background: #fff; box-shadow: 0 0 8px #fff; } }
.tv-card__body { display: flex; flex-direction: column; gap: 5px; flex: 1; padding: 12px 16px 16px; }
.tv-card__kick { display: flex; align-items: center; gap: 8px; min-height: 20px; }
.tv-card__cat { --c: var(--a-cyan); display: inline-flex; align-items: center; gap: 5px; height: 20px; padding: 0 8px 0 6px; border-radius: 99px; font-size: 10.5px; font-weight: 650; color: var(--c); background: color-mix(in oklab, var(--c) 12%, transparent); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--c) 32%, transparent); }
.tv-card__live { display: none; align-items: center; gap: 5px; font-size: 10.5px; font-weight: 700; color: var(--a-teal); }
.tv-card__live i { width: 6px; height: 6px; border-radius: 50%; background: var(--a-teal); animation: dc-live 1.4s ease-in-out infinite; }
.tv-card.is-active .tv-card__live { display: inline-flex; }
.tv-card__title { margin: 2px 0 0; font-size: 18px; font-weight: 750; letter-spacing: .01em; }
.tv-card__en { font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--text-faint); }
.tv-card__desc { margin: 4px 0 0; font-size: 12.5px; line-height: 1.55; color: var(--text-dim); }
.tv-card__meta { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 6px 0 10px; }
.tv-card__meta span { display: inline-flex; align-items: center; gap: 5px; font: 600 10.5px var(--font-mono); color: var(--text-dim); }
.tv-card__meta .ic-wrap { color: var(--c2); }
.tv-start {
  margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 18px 0 14px; border: 0; border-radius: 999px; cursor: pointer;
  font-size: 13px; font-weight: 700; letter-spacing: .04em; color: #061018;
  background: linear-gradient(120deg, var(--c1), var(--c2) 60%, var(--c3)); background-size: 180% 100%;
  box-shadow: 0 6px 20px color-mix(in oklab, var(--c2) 30%, transparent), inset 0 0 0 1px rgba(255, 255, 255, .2);
  transition: transform .2s var(--ease-spring), box-shadow .25s ease, background-position .6s ease;
}
.tv-start:hover { transform: translateY(-1px) scale(1.03); background-position: 100% 0; box-shadow: 0 8px 28px color-mix(in oklab, var(--c2) 45%, transparent), inset 0 0 0 1px rgba(255, 255, 255, .3); }
.tv-start:active { transform: scale(.97); }
.tv-card.is-active .tv-start { color: #fff; background: linear-gradient(120deg, #1a2140, #2a1f4a); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--c1) 60%, transparent); }

/* ═══════════════════════════════ tour captions (play view) ═══════════════════════════════ */
.tourcap {
  --tc1: var(--a-teal); --tc2: var(--a-cyan);
  position: absolute; left: 18px; top: 14px; z-index: 6;
  width: min(700px, calc(100% - clamp(240px, 24vw, 330px) - 64px)); padding: 10px 12px 9px 16px; border-radius: 16px;
  background: linear-gradient(180deg, rgba(12, 15, 27, .78), rgba(7, 9, 17, .84));
  -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: inset 0 0 0 1px rgba(160, 180, 240, .14), 0 18px 44px rgba(0, 0, 0, .5), 0 0 40px color-mix(in oklab, var(--tc1) 10%, transparent);
  opacity: 0; transform: translateY(-8px); transition: opacity .35s ease, transform .45s var(--ease-out);
}
.tourcap::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; border-radius: 3px; background: linear-gradient(180deg, var(--tc1), var(--tc2)); box-shadow: 0 0 12px var(--tc1); }
.tourcap.is-in { opacity: 1; transform: none; }
.play.is-touring .play__info { opacity: 0; pointer-events: none; transition: opacity .3s ease; }
.play-collapsed .tourcap { display: none; }
.tc__top { display: flex; align-items: center; gap: 9px; min-width: 0; }
.tc__badge { display: inline-flex; align-items: center; gap: 5px; height: 20px; padding: 0 8px 0 6px; border-radius: 99px; flex: none; font-size: 10px; font-weight: 750; letter-spacing: .08em; color: #04130d; background: linear-gradient(120deg, var(--tc1), var(--tc2)); }
.tc__title { flex: 1; min-width: 0; font-size: 12.5px; font-weight: 650; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tc__count { font: 700 11px var(--font-mono); color: var(--tc1); letter-spacing: .06em; }
.tc__text { margin: 6px 0 2px; font-size: 15.5px; line-height: 1.42; font-weight: 550; color: #fff; text-shadow: 0 1px 12px rgba(0, 0, 0, .5); }
.tc__cursor { display: inline-block; width: 2px; height: 1em; margin-left: 2px; vertical-align: -2px; background: var(--tc2); box-shadow: 0 0 6px var(--tc2); animation: tc-blink .8s steps(1) infinite; }
@keyframes tc-blink { 50% { opacity: 0; } }
.tc__sub { margin: 0; font-size: 11.5px; line-height: 1.4; color: var(--text-dim); opacity: 0; transform: translateY(3px); transition: opacity .5s ease, transform .5s var(--ease-out); }
.tc__sub.is-in { opacity: 1; transform: none; }
.tc__bar { position: relative; flex: 1; min-width: 60px; height: 3px; border-radius: 3px; background: rgba(140, 160, 220, .16); }
.tc__fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 3px; background: linear-gradient(90deg, var(--tc1), var(--tc2)); box-shadow: 0 0 10px var(--tc1); }
.tc__ticks b { position: absolute; top: 50%; width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px; border-radius: 50%; background: rgba(12, 15, 27, 1); box-shadow: 0 0 0 1.5px rgba(160, 180, 240, .45); }
.tc__foot { display: flex; align-items: center; gap: 14px; margin-top: 6px; }
.tc__ctl { display: flex; gap: 4px; }
.tc-btn {
  display: grid; place-items: center; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 9px; cursor: pointer; color: var(--text-dim);
  background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--line); transition: color .15s, box-shadow .2s, transform .15s var(--ease-spring);
}
.tc-btn:hover { color: #fff; box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--tc1, var(--a-teal)) 60%, transparent), 0 0 12px color-mix(in oklab, var(--tc1, var(--a-teal)) 25%, transparent); }
.tc-btn:active { transform: scale(.92); }
.tc-btn--pause { color: #fff; }
.tourcap.is-paused .tc-btn--pause { color: #04130d; background: var(--tc1); }
.tourcap.is-paused .tc__cursor { animation: none; }
.tc__end { display: none; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.tc__end .btn { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 14px; font-size: 12.5px; }
.tourcap.is-ended .tc__end { display: flex; animation: panel-in .4s var(--ease-out); }
.tourcap.is-ended .tc__ctl .tc-btn:not(:last-child) { display: none; }
.tourcap.is-ended .tc__fill { background: var(--grad-aurora); }

.tourcap-float {
  position: fixed; bottom: calc(var(--dock-h) + 16px); left: 50%; z-index: 50; transform: translateX(-50%);
  display: flex; align-items: center; gap: 10px; max-width: min(780px, calc(100vw - 24px)); padding: 6px 6px 6px 14px; overflow: hidden; border-radius: 24px;
  background: linear-gradient(180deg, rgba(20, 25, 42, .95), rgba(10, 12, 22, .95)); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: inset 0 0 0 1px rgba(62, 240, 176, .3), 0 14px 36px rgba(0, 0, 0, .5); animation: np-in .4s var(--ease-spring);
}
.tcf__dot { width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--a-teal); box-shadow: 0 0 10px var(--a-teal); animation: dc-live 1.4s ease-in-out infinite; }
.tourcap-float.is-paused .tcf__dot { animation: none; opacity: .5; }
.tcf__count { font: 700 11px var(--font-mono); color: var(--a-teal); flex: none; }
.tcf__text { min-width: 0; font-size: 12.5px; font-weight: 500; line-height: 1.35; overflow: hidden; /* the whole caption: up to 2 lines */
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; }
.tcf__btns { display: flex; gap: 3px; flex: none; }
.tcf__btns .tc-btn { width: 28px; height: 28px; border-radius: 50%; }
.tcf__fill { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: linear-gradient(90deg, var(--a-teal), var(--a-cyan)); }
.tcf__end { display: none; gap: 4px; flex: none; }
.tourcap-float.is-ended .tcf__end { display: flex; }
.tourcap-float.is-ended .tcf__btns .tc-btn:not(:last-child) { display: none; }
.tcf__keep, .tcf__revert { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border: 0; border-radius: 99px; cursor: pointer; font-size: 12px; font-weight: 650; white-space: nowrap; }
.tcf__keep { color: #061018; background: var(--grad-aurora); box-shadow: 0 4px 16px rgba(92, 242, 255, .25); }
.tcf__revert { color: var(--text-dim); background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px var(--line); }
.tcf__revert:hover { color: var(--text); }
.tour-active .toasts { bottom: calc(var(--dock-h) + 78px); }

/* glowing ring on the control a tour step is about */
.is-tour-focus { scroll-margin: 72px 24px 96px; } /* keep clear of the sticky tabs and the floating caption */
.is-tour-focus:not(.card) { position: relative; z-index: 2; }
.is-tour-focus:not(.card)::after {
  content: ""; position: absolute; inset: -7px; border-radius: 16px; pointer-events: none; z-index: -1;
  box-shadow: 0 0 0 2px var(--a-teal), 0 0 24px rgba(62, 240, 176, .55), inset 0 0 16px rgba(62, 240, 176, .18);
  background: radial-gradient(closest-side, rgba(62, 240, 176, .12), transparent);
  animation: tour-ring 1.6s ease-in-out infinite;
}
.is-tour-focus:not(.card)::before {
  content: attr(data-tour-label); position: absolute; left: 50%; top: -19px; z-index: 5; transform: translateX(-50%);
  padding: 2px 8px; border-radius: 99px; white-space: nowrap; pointer-events: none;
  font-size: 9.5px; font-weight: 750; letter-spacing: .04em; color: #04130d; background: var(--a-teal); box-shadow: 0 4px 14px rgba(62, 240, 176, .45);
  animation: tour-tag .45s var(--ease-spring) both;
}
.card.is-tour-focus { animation: tour-card 1.6s ease-in-out infinite; }
@keyframes tour-ring { 0%, 100% { opacity: .65; transform: scale(1); } 50% { opacity: 1; transform: scale(1.04); } }
@keyframes tour-tag { from { opacity: 0; transform: translate(-50%, 6px) scale(.8); } }
@keyframes tour-card { 0%, 100% { box-shadow: inset 0 0 0 1px rgba(62, 240, 176, .45), var(--shadow-soft); } 50% { box-shadow: inset 0 0 0 1.5px var(--a-teal), 0 0 26px rgba(62, 240, 176, .35); } }

/* ═══════════════════════════════ now-playing pill ═══════════════════════════════ */
.np {
  --np1: #5cf2ff; --np2: #a78bfa; --np-p: 0;
  position: fixed; right: 18px; bottom: calc(var(--dock-h) + 14px); z-index: 55;
  display: flex; align-items: center; gap: 4px; padding: 5px; border-radius: 999px; max-width: min(380px, calc(100vw - 24px));
  background: linear-gradient(180deg, rgba(26, 32, 54, .96), rgba(12, 15, 26, .96)); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--np1) 40%, transparent), 0 16px 40px rgba(0, 0, 0, .5), 0 0 30px color-mix(in oklab, var(--np1) 16%, transparent);
  animation: np-in .45s var(--ease-spring);
}
@keyframes np-in { from { opacity: 0; transform: translateY(12px) scale(.94); } }
.tourcap-float { animation-name: np-in-c; }
@keyframes np-in-c { from { opacity: 0; transform: translate(-50%, 10px) scale(.96); } }
.np__open { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 0 12px 0 4px; height: 40px; border: 0; background: none; cursor: pointer; color: var(--text); text-align: left; border-radius: 999px; }
.np__open:hover .np__title { color: #fff; }
.np__ic { display: flex; align-items: flex-end; justify-content: center; gap: 2px; width: 34px; height: 34px; padding: 9px 0; flex: none; border-radius: 50%; background: linear-gradient(135deg, var(--np1), var(--np2)); box-shadow: 0 0 14px color-mix(in oklab, var(--np1) 45%, transparent); }
.np__ic i { width: 3px; height: 100%; border-radius: 2px; background: #07080d; transform-origin: bottom; animation: sv-eq .9s ease-in-out infinite; }
.np__ic i:nth-child(2) { animation-delay: -.3s; animation-duration: .7s; }
.np__ic i:nth-child(3) { animation-delay: -.55s; animation-duration: 1.1s; }
.np__ic i:nth-child(4) { animation-delay: -.15s; animation-duration: .8s; }
.np__txt { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.np__row { display: flex; gap: 6px; align-items: baseline; }
.np__kind { font-size: 10px; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; color: color-mix(in oklab, var(--np1) 70%, #fff); }
.np__sub { font-size: 10px; color: var(--text-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.np__sub:not(:empty)::before { content: "· "; color: var(--text-faint); }
.np__title { font-size: 13px; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--text); }
.np__stop { position: relative; display: grid; place-items: center; width: 40px; height: 40px; flex: none; padding: 0; border: 0; border-radius: 50%; cursor: pointer; color: #fff; background: rgba(255, 255, 255, .06); transition: background .2s, transform .15s var(--ease-spring); }
.np__stop:hover { background: rgba(255, 107, 129, .2); }
.np__stop:active { transform: scale(.92); }
.np__ring { position: absolute; inset: 2px; border-radius: 50%; background: conic-gradient(var(--np1) calc(var(--np-p) * 360deg), rgba(255, 255, 255, .1) 0); -webkit-mask: radial-gradient(circle, transparent 15px, #000 16px); mask: radial-gradient(circle, transparent 15px, #000 16px); }
.np__stop .ic-wrap { position: relative; }

/* ═══════════════════════════════ theater launcher ═══════════════════════════════ */
.th-l { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, 1fr); gap: 22px; align-items: stretch; }
.th-l__stage { min-width: 0; }
.th-prev {
  position: relative; display: block; height: 100%; min-height: 300px; aspect-ratio: 16 / 9; width: 100%; overflow: hidden; border-radius: 22px; isolation: isolate;
  padding: 0; border: 0; color: inherit; font: inherit; text-align: left; cursor: pointer; transition: box-shadow .25s ease, transform .25s var(--ease-out);
  background: radial-gradient(120% 100% at 50% 120%, rgba(30, 20, 60, .9), #05060c 70%);
  box-shadow: inset 0 0 0 1px rgba(160, 180, 240, .14), 0 20px 60px rgba(0, 0, 0, .5);
}
.th-prev i { position: absolute; width: 70%; height: 60%; border-radius: 50%; filter: blur(40px); mix-blend-mode: screen; animation: sky 14s ease-in-out infinite alternate; }
.th-prev i:nth-child(1) { left: -10%; top: 5%; background: radial-gradient(closest-side, rgba(62, 240, 176, .7), transparent); }
.th-prev i:nth-child(2) { left: 25%; top: -10%; background: radial-gradient(closest-side, rgba(92, 242, 255, .55), transparent); animation-duration: 19s; animation-delay: -5s; }
.th-prev i:nth-child(3) { left: 45%; top: 12%; background: radial-gradient(closest-side, rgba(167, 139, 250, .65), transparent); animation-duration: 23s; animation-delay: -9s; }
.th-prev__word { position: absolute; left: 7%; bottom: 12%; font-size: clamp(34px, 5vw, 64px); font-weight: 800; letter-spacing: .22em; color: rgba(255, 255, 255, .92); text-shadow: 0 0 40px rgba(92, 242, 255, .45); }
.th-prev__play { position: absolute; right: 7%; bottom: 12%; display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; color: #fff; background: rgba(5, 6, 12, .35); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .5), 0 0 40px rgba(167, 139, 250, .35); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: transform .3s var(--ease-spring), box-shadow .3s ease, background .3s ease; }
.th-prev:hover { box-shadow: inset 0 0 0 1px rgba(255, 107, 214, .45), 0 20px 60px rgba(0, 0, 0, .5), 0 0 40px rgba(255, 107, 214, .16); }
.th-prev:hover .th-prev__play, .th-prev:focus-visible .th-prev__play { transform: scale(1.08); background: rgba(255, 107, 214, .28); box-shadow: inset 0 0 0 1.5px #fff, 0 0 50px rgba(255, 107, 214, .5); }
.th-prev:active .th-prev__play { transform: scale(.96); }
.th-l__side { display: flex; flex-direction: column; gap: 14px; min-width: 0; padding: 4px 4px 4px 0; }
.th-l__title { margin: 0; font-size: 24px; font-weight: 800; letter-spacing: .02em; background: linear-gradient(100deg, #fff 40%, #ffd1f1); -webkit-background-clip: text; background-clip: text; color: transparent; }
.th-l__desc { margin: -6px 0 0; font-size: 13px; line-height: 1.6; color: var(--text-dim); }
.th-l__row { display: flex; flex-direction: column; gap: 8px; }
.th-l__row--btns { flex-direction: row; align-items: center; gap: 10px; margin-top: 4px; }
.th-l__lbl { font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--text-faint); }
.th-l__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.th-l__secs { display: flex; align-items: center; gap: 12px; }
.th-l__secsVal { font: 700 13px var(--font-mono); color: var(--a-pink); min-width: 38px; }
.th-l__range { flex: 1; accent-color: var(--a-pink); height: 22px; }
.th-l__row.is-off { opacity: .4; transition: opacity .2s; }
.th-l__row.is-off .th-l__range { cursor: not-allowed; }
.th-l__shuf.is-on { color: #06121a; background: linear-gradient(120deg, #ff6bd6, #a78bfa); box-shadow: 0 0 18px rgba(255, 107, 214, .35); }
.th-l__enter { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 22px; font-size: 14px; background: linear-gradient(120deg, #a78bfa, #ff6bd6 60%, #ffc46b); box-shadow: 0 8px 26px rgba(255, 107, 214, .3); }
.th-l__keys { margin: auto 0 0; font: 500 11px var(--font-mono); color: var(--text-faint); }
/* playlist strip (click an item to start the theater there) */
.th-l__qwrap { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.th-l__qhead { display: flex; align-items: baseline; gap: 12px; }
.th-l__qhint { font-size: 11.5px; color: var(--text-faint); }
.th-l__queue {
  display: flex; gap: 10px; overflow-x: auto; padding: 2px 2px 10px; scroll-snap-type: x proximity; scrollbar-width: thin;
  -webkit-mask: linear-gradient(90deg, #000 calc(100% - 40px), transparent); mask: linear-gradient(90deg, #000 calc(100% - 40px), transparent);
}
.th-q {
  position: relative; flex: none; display: grid; grid-template-columns: 34px minmax(0, 1fr); align-items: center; gap: 10px; width: 196px; height: 56px; padding: 0 30px 0 10px;
  border: 0; border-radius: 14px; cursor: pointer; text-align: left; color: var(--text); scroll-snap-align: start; overflow: hidden; isolation: isolate;
  background: linear-gradient(135deg, color-mix(in oklab, var(--c1) 16%, rgba(20, 24, 40, .9)), rgba(14, 17, 30, .92));
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--c1) 22%, var(--line));
  transition: transform .2s var(--ease-spring), box-shadow .25s ease; animation: th-q-in .5s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 35ms);
}
.th-q:hover, .th-q:focus-visible { transform: translateY(-2px); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--c1) 55%, transparent), 0 10px 24px rgba(0, 0, 0, .35), 0 0 22px color-mix(in oklab, var(--c1) 22%, transparent); outline: none; }
.th-q__art { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; color: #fff; background: linear-gradient(135deg, var(--c1), var(--c2)); box-shadow: 0 0 14px color-mix(in oklab, var(--c1) 40%, transparent); }
.th-q__art .ic { filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .35)); }
.th-q__txt { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.th-q__txt b { font-size: 12.5px; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.th-q__txt small { font-size: 10.5px; color: var(--text-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.th-q__n { position: absolute; right: 8px; top: 5px; z-index: -1; font: 800 18px/1 var(--font-mono); color: color-mix(in oklab, var(--c1) 30%, transparent); opacity: .7; }
.th-q::after { /* hover hint: a play glyph */
  content: "▶"; position: absolute; right: 10px; bottom: 7px; font-size: 9px; color: var(--c1); opacity: 0; transform: translateX(-4px); transition: opacity .2s, transform .2s;
}
.th-q:hover::after, .th-q:focus-visible::after { opacity: 1; transform: none; }
.th-q--more { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 0; width: 84px; cursor: default; --c1: #a78bfa; animation-delay: calc(14 * 35ms); }
.th-q--more b { font: 800 16px var(--font-mono); color: var(--text-dim); }
.th-q--more small { font-size: 10.5px; color: var(--text-faint); }
@keyframes th-q-in { from { opacity: 0; transform: translateY(8px); } }

/* ═══════════════════════════════ theater stage ═══════════════════════════════ */
.theater {
  position: fixed; inset: 0; z-index: 4000; overflow: hidden; overflow: clip; outline: none; color: #fff;
  background: #030409; opacity: 0; transition: opacity .6s ease;
}
.theater.is-in { opacity: 1; }
.theater:not(.is-ui) { cursor: none; }
.th__hero { position: absolute; inset: 0; }
.th__hero > * { position: absolute; inset: 0; width: 100%; height: 100%; }
.th__vignette {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 90% at 50% 40%, transparent 50%, rgba(3, 4, 9, .55)), linear-gradient(0deg, rgba(3, 4, 9, .82), rgba(3, 4, 9, .1) 55%, rgba(3, 4, 9, .35));
}
.th__top {
  position: absolute; left: 0; right: 0; top: 0; display: flex; align-items: center; gap: 12px; padding: max(18px, env(safe-area-inset-top)) max(24px, env(safe-area-inset-right)) 0 max(28px, env(safe-area-inset-left));
  transition: opacity .5s ease, transform .5s var(--ease-out);
}
.th__brand { display: flex; align-items: center; gap: 10px; }
.th__brandTxt { font-weight: 800; font-size: 15px; letter-spacing: .3em; background: var(--grad-aurora); -webkit-background-clip: text; background-clip: text; color: transparent; }
.th__brandSub { font-size: 12px; font-weight: 600; letter-spacing: .14em; color: rgba(232, 236, 255, .6); }
.th__spacer { flex: 1; }
.th__count { font: 600 12px var(--font-mono); color: rgba(232, 236, 255, .6); letter-spacing: .08em; white-space: nowrap; }
.th-btn {
  display: grid; place-items: center; width: 46px; height: 46px; padding: 0; border: 0; border-radius: 50%; cursor: pointer; color: #fff;
  background: rgba(255, 255, 255, .07); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); transition: background .2s, transform .2s var(--ease-spring), box-shadow .25s;
}
.th-btn:hover { background: rgba(255, 255, 255, .16); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .4), 0 0 24px rgba(167, 139, 250, .35); }
.th-btn:active { transform: scale(.93); }
.th-btn--big { width: 68px; height: 68px; background: rgba(255, 255, 255, .14); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .45), 0 0 34px rgba(92, 242, 255, .2); }
.th__caption {
  position: absolute; left: max(48px, 6vw); right: max(48px, 6vw); bottom: calc(150px + env(safe-area-inset-bottom)); max-width: 1100px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
  transition: opacity .6s ease, transform .7s var(--ease-out), filter .6s ease;
}
.theater.is-switching .th__caption { opacity: 0; transform: translateY(14px); filter: blur(8px); }
.th__caption.is-in > * { animation: th-rise .9s var(--ease-out) both; }
.th__caption.is-in > :nth-child(2) { animation-delay: .06s; }
.th__caption.is-in > :nth-child(3) { animation-delay: .12s; }
.th__caption.is-in > :nth-child(4) { animation-delay: .2s; }
.th__caption.is-in > :nth-child(n+5) { animation-delay: .3s; }
@keyframes th-rise { from { opacity: 0; transform: translateY(18px); filter: blur(6px); } }
.th__cat {
  --c: var(--a-cyan);
  display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 14px 0 11px; border-radius: 99px; font-size: 14px; font-weight: 650; letter-spacing: .06em;
  color: var(--c); background: color-mix(in oklab, var(--c) 14%, rgba(0, 0, 0, .35)); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--c) 40%, transparent);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.th__cat small { font-size: 10px; letter-spacing: .18em; text-transform: uppercase; opacity: .7; }
.th__name {
  margin: 0; max-width: 100%; font-size: clamp(44px, 7.2vw, 118px); font-weight: 800; line-height: .98; letter-spacing: -.02em;
  background: linear-gradient(100deg, #fff 40%, #d6f9ff 65%, #f0dcff); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 6px 40px rgba(0, 0, 0, .55)); overflow-wrap: anywhere;
}
.th__en { margin: -2px 0 0; font-size: clamp(12px, 1.1vw, 15px); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: rgba(232, 236, 255, .6); }
.th__en:empty { display: none; }
.th__desc { margin: 4px 0 0; max-width: 48ch; font-size: clamp(16px, 1.55vw, 23px); line-height: 1.55; color: rgba(232, 236, 255, .86); text-shadow: 0 2px 20px rgba(0, 0, 0, .6); }
.th__desc:empty { display: none; }
.th__changing {
  --mc: var(--a-teal);
  display: inline-flex; align-items: center; gap: 10px; height: 36px; margin-top: 8px; padding: 0 16px 0 14px; border-radius: 99px;
  background: rgba(8, 10, 20, .5); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--mc) 45%, transparent), 0 0 30px color-mix(in oklab, var(--mc) 18%, transparent);
  opacity: 0; transform: translateY(6px); transition: opacity .45s ease, transform .5s var(--ease-out), box-shadow .4s ease;
}
.th__changing.is-on { opacity: 1; transform: none; }
.th__chgLbl { font-size: 10px; font-weight: 750; letter-spacing: .16em; text-transform: uppercase; color: rgba(232, 236, 255, .6); }
.th__chgName { font-size: 15px; font-weight: 700; color: var(--mc); text-shadow: 0 0 14px color-mix(in oklab, var(--mc) 60%, transparent); }
.th__chgArrow { font-size: 16px; color: var(--mc); animation: th-arrow 1s ease-in-out infinite; }
@keyframes th-arrow { 50% { transform: translateY(-2px); } }
.th__macros { display: grid; grid-template-columns: repeat(4, minmax(0, 170px)); gap: 14px; margin-top: 6px; }
.th__macros:empty { display: none; }
.th__mb { --mc: var(--a-teal); display: flex; flex-direction: column; gap: 6px; min-width: 0; transition: opacity .3s; }
.th__mb.is-empty { opacity: .3; }
.th__mbName { font-size: 11.5px; font-weight: 600; color: rgba(232, 236, 255, .7); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color .3s; }
.th__mbTrack { position: relative; height: 4px; border-radius: 3px; overflow: hidden; background: rgba(255, 255, 255, .12); }
.th__mbTrack i { position: absolute; inset: 0; transform-origin: left; transform: scaleX(0); background: var(--mc); border-radius: 3px; transition: transform .12s linear; }
.th__mb.is-moving .th__mbName { color: #fff; }
.th__mb.is-moving .th__mbTrack { box-shadow: 0 0 14px var(--mc); }
.th__parts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.th__parts:empty { display: none; }
.th__part {
  --lv: 0; display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 12px 0 10px; border-radius: 99px; font-size: 13px; font-weight: 600;
  background: rgba(8, 10, 20, .5); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, calc(.12 + var(--lv) * .5)), 0 0 calc(var(--lv) * 26px) rgba(92, 242, 255, calc(var(--lv) * .45));
  transition: box-shadow .1s linear;
}
.th__part i { width: 7px; height: 7px; border-radius: 50%; background: #fff; opacity: calc(.25 + var(--lv) * .75); }
.th__part small { font-size: 10px; color: rgba(232, 236, 255, .5); }
.th__bottom { position: absolute; left: 0; right: 0; bottom: 0; padding: 0 max(28px, env(safe-area-inset-right)) max(18px, env(safe-area-inset-bottom)) max(28px, env(safe-area-inset-left)); }
.th__prog { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255, 255, 255, .08); }
.th__progFill { position: absolute; inset: 0; transform-origin: left; transform: scaleX(0); background: var(--grad-aurora); box-shadow: 0 0 14px rgba(92, 242, 255, .6); }
.th__ctl { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 16px; margin-bottom: 14px; transition: opacity .5s ease, transform .5s var(--ease-out); }
.th__ctlL { min-width: 0; }
.th__ctlC { display: flex; align-items: center; gap: 14px; }
.th__ctlR { display: flex; justify-content: flex-end; }
.th__next { font-size: 12.5px; color: rgba(232, 236, 255, .6); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.th__use { height: 40px; background: rgba(255, 255, 255, .08); color: #fff; }
.th__keys { display: block; text-align: center; margin-bottom: 8px; font: 500 11px var(--font-mono); color: rgba(232, 236, 255, .42); transition: opacity .5s ease; }
.theater:not(.is-ui) .th__top, .theater:not(.is-ui) .th__ctl, .theater:not(.is-ui) .th__keys { opacity: 0; pointer-events: none; }
.theater:not(.is-ui) .th__ctl { transform: translateY(10px); }
.theater:not(.is-ui) .th__top { transform: translateY(-8px); }
.theater.is-paused .th__progFill { opacity: .45; }
.theater-open .toasts { z-index: 4100; bottom: 120px; }

/* ═══════════════════════════════ responsive ═══════════════════════════════ */
@media (max-width: 1599px) {
  .dc-btn__sub { display: none; }
}
@media (max-width: 1440px) {
  .dc-tab { padding: 0 12px 0 10px; }
  .dc-tab__sub { display: none; }
  .dc-tab { height: 42px; }
}
@media (max-width: 1279px) {
  .dc__head { grid-template-columns: minmax(0, 1fr) auto; }
  .dc__tabs { grid-column: 1 / -1; grid-row: 2; justify-self: stretch; overflow-x: auto; }
  .dc-tab { flex: 1 0 auto; justify-content: center; }
  .dc__close { grid-column: 2; grid-row: 1; }
  .dc-mount--magic { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sv { --lh: 212px; }
  .th-l { grid-template-columns: minmax(0, 1fr); }
  .th-prev { min-height: 220px; max-height: 320px; }
  .tourcap { width: min(560px, calc(100% - clamp(240px, 24vw, 330px) - 60px)); }
}
@media (max-width: 1100px) {
  .dc-btn__txt .dc-btn__sub { display: none; }
  .svp-head { grid-template-columns: 110px minmax(0, 1fr); }
  .svp-coverWrap { width: 110px; height: 110px; }
  .svp-actions { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: center; min-width: 0; }
  .svp-hint { text-align: left; max-width: none; }
  .tc__text { font-size: 15px; }
}
@media (max-width: 899px) {
  .dc-btn { height: 34px; padding: 0 8px; }
  .dc-btn__txt { display: none; }
  .dc__sheet {
    inset: calc(6px + env(safe-area-inset-top)) max(6px, env(safe-area-inset-right)) max(6px, env(safe-area-inset-bottom)) max(6px, env(safe-area-inset-left));
    border-radius: 18px;
  }
  .dc-audio { margin: 0 12px 4px; flex-wrap: wrap; }
  .dc__head { padding: 10px 10px 8px 14px; gap: 10px; }
  .dc__tagline { display: none; }
  .dc__titleMain { font-size: 18px; }
  .dc-tab { height: 40px; padding: 0 10px; gap: 6px; }
  .dc-tab__main { font-size: 12.5px; }
  .dc__body { padding: 10px 12px 18px; }
  .dc-mount--magic { grid-template-columns: minmax(0, 1fr); }
  .sv { --lh: 132px; }
  .sv-card { flex-basis: 170px; height: 104px; }
  .svp-head { grid-template-columns: 84px minmax(0, 1fr); gap: 12px; }
  .svp-coverWrap { width: 84px; height: 84px; border-radius: 16px; }
  .svp-play { width: 48px; height: 48px; margin: -24px 0 0 -24px; }
  .svp-desc { -webkit-line-clamp: 3; }
  .svp-lanehead { padding: 4px 6px; gap: 5px; }
  .svp-lane__ic, .svp-meter, .svp-lane__sub { display: none; }
  .svp-ms { width: 22px; height: 22px; }
  .svp-use { width: 24px; height: 22px; }
  .svp-sec small { display: none; }
  .tv-grid { grid-template-columns: minmax(0, 1fr); }
  .tourcap { left: 10px; right: 10px; top: 10px; width: auto; }
  .tc__text { font-size: 14.5px; min-height: 0; }
  .tourcap-float { bottom: calc(var(--dock-h) + 10px); left: 10px; right: 10px; transform: none; max-width: none; padding-left: 12px; gap: 8px; }
  @keyframes np-in-c { from { opacity: 0; transform: translateY(10px) scale(.96); } }
  /* the caption itself (the float takes over while the editor shows the knob being turned) */
  .tcf__text { flex: 1; font-size: 12px; -webkit-line-clamp: 3; line-clamp: 3; }
  .np { right: 10px; left: 10px; max-width: none; justify-content: space-between; }
  .th__caption { left: 22px; right: 22px; bottom: 170px; }
  .th__macros { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .th__ctl { grid-template-columns: minmax(0, 1fr) auto; }
  .th__ctlL { display: none; }
  .th__keys { display: none; }
  .th-btn--big { width: 58px; height: 58px; }
}
@media (max-width: 560px) {
  /* narrow phones: a small word under each tab icon instead of icons alone */
  .dc-tab { flex: 1 0 44px; flex-direction: column; justify-content: center; gap: 2px; height: 52px; padding: 0 4px; }
  .dc-tab__txt { display: block; text-align: center; }
  .dc-tab__main { font-size: 11px; letter-spacing: 0; white-space: nowrap; }
  .dc-tab__sub { display: none; }
  .dc__title .dc__titleSub { display: none; }
  .sv { --lh: 104px; }
  .svp-lane__btns .svp-ms--s { display: none; }
  .th__use { display: none; }
  .th__brandSub { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .dc-btn::before { animation: none; }
}

/* touch: song-lane M / S / 🎹 and the tour caption buttons were 22–28 px */
@media (pointer: coarse) {
  .svp-lane__btns { gap: 6px; }
  .svp-ms { width: 30px; height: 30px; }
  .svp-use { width: 34px; height: 30px; }
  .svp-lanes--dense .svp-ms, .svp-lanes--dense .svp-use { height: 28px; }
  .tc-btn, .tcf__btns .tc-btn { width: 36px; height: 36px; }
}
@media (pointer: coarse) and (max-width: 560px) {
  .sv { --lh: 124px; }
}
