/* Everplay — the landing page. Colors come from the app's themes (qml/Theme.qml); the script swaps them. */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("fonts/inter-latin-wght-normal.woff2") format("woff2-variations");
  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: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("fonts/inter-latin-ext-wght-normal.woff2") format("woff2-variations");
  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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  color-scheme: dark;
  --bg: #101114; --surface: #1a1c20; --surface-hi: #23262b;
  --text: #e8e4dd; --dim: #a19e98; --faint: #6e6d6a;
  --accent: #9fb5a8; --accent2: #4a5d6e; --on-accent: #15161a;
  --glass: rgba(26, 28, 32, .62);
  --line: rgba(255, 255, 255, .08);
  --radius: 22px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --font: "Inter", "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 17px/1.6 var(--font); font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: inherit; }
:where(svg[viewBox="0 0 24 24"]) { width: 1.15em; height: 1.15em; fill: currentColor; flex: none; }
:where(.replica) svg { width: 18px; height: 18px; }
.r-row .ri { color: var(--faint); display: grid; place-items: center; }
::selection { background: var(--accent); color: var(--on-accent); }

#gl { position: fixed; inset: 0; width: 100vw; height: 100vh; display: block; z-index: 0; }
.veil {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(120% 90% at 50% 40%, transparent 55%, rgba(0, 0, 0, .55) 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.05'/%3E%3C/svg%3E");
}
.no-webgl body, html.no-webgl {
  background: radial-gradient(1200px 800px at 70% 10%, color-mix(in srgb, var(--accent2) 55%, transparent), transparent 60%), var(--bg);
}

/* ---- loader ---- */
.loader {
  position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; background: var(--bg);
  transition: opacity .9s var(--ease), visibility .9s;
}
.ready .loader { opacity: 0; visibility: hidden; }
.loader-mark { display: flex; align-items: center; height: 64px; }
.loader-mark .mark.big { width: 64px; height: 64px; }
.loader-mark .mark circle { animation-duration: .8s; }
@keyframes eq { 50% { transform: scaleY(.35); } }

/* ---- header ---- */
.bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 20; height: 68px;
  display: flex; align-items: center; gap: 28px; padding: 0 clamp(16px, 4vw, 48px);
  transition: background .4s, backdrop-filter .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.scrolled .bar { background: color-mix(in srgb, var(--bg) 62%, transparent); backdrop-filter: blur(18px) saturate(1.3);
                 -webkit-backdrop-filter: blur(18px) saturate(1.3); border-color: var(--line); }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; font-weight: 700; font-size: 19px; letter-spacing: -.02em; }
.mark { width: 30px; height: 30px; }
/* the logo (packaging/brand in the app's repository): the dark tile, the "e" and the disc that breathes */
.mark > rect { fill: #262626; stroke: rgba(255,255,255,.1); stroke-width: 14; }
.mark path { fill: none; stroke: #efefef; stroke-width: 112; stroke-linecap: round; stroke-linejoin: round; }
.mark circle { fill: #efefef; transform-origin: 518px 520px; animation: disc 1.6s ease-in-out infinite alternate; }
@keyframes disc { from { transform: scale(.9); } to { transform: scale(1.08); } }
.links { display: flex; gap: 26px; margin-right: auto; }
.links a { text-decoration: none; color: var(--dim); font-size: 15px; font-weight: 500; transition: color .2s; }
.links a:hover { color: var(--text); }
.tools { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.swatches { display: flex; gap: 7px; padding: 6px; border-radius: 999px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); }
.swatches button {
  width: 20px; height: 20px; border-radius: 50%; border: 0; padding: 0; cursor: pointer;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .15); transition: transform .25s var(--ease), box-shadow .25s;
}
.swatches button:hover { transform: scale(1.15); }
.swatches button[aria-checked="true"] { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--text); }
.swatches [data-theme="nokturn"] { background: linear-gradient(135deg, #b3c6bb, #3f5061); }
.swatches [data-theme="midnight"] { background: linear-gradient(135deg, #8fa8d8, #000); }
.swatches [data-theme="sunset"] { background: linear-gradient(135deg, #e0a27c, #6b3b44); }
.swatches [data-theme="cat"] { background: linear-gradient(135deg, #ff7ad6, #8a3fd0); }
.icon-btn {
  width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; cursor: pointer;
  background: rgba(255, 255, 255, .05); border: 1px solid var(--line); color: var(--text);
}
.icon-btn svg { width: 19px; height: 19px; fill: currentColor; }
.sound .i-on, .sound[aria-pressed="true"] .i-off { display: none; }
.sound[aria-pressed="true"] .i-on { display: block; }
.sound[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); border-color: transparent; }
.lang { text-decoration: none; font-weight: 600; font-size: 14px; color: var(--dim); padding: 6px 4px; }
.lang:hover { color: var(--text); }

/* ---- buttons, chips ---- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none; cursor: pointer;
  border-radius: 999px; padding: 15px 26px; font: 600 16px/1 var(--font); border: 1px solid transparent;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, color .3s;
}
.btn.small { padding: 10px 18px; font-size: 14px; }
.btn.primary { background: var(--accent); color: var(--on-accent);
               box-shadow: 0 10px 40px -8px color-mix(in srgb, var(--accent) 70%, transparent); }
.btn.primary:hover { transform: translateY(-2px); box-shadow: 0 18px 50px -8px color-mix(in srgb, var(--accent) 85%, transparent); }
.btn.ghost { background: rgba(255, 255, 255, .06); color: var(--text); border-color: var(--line); backdrop-filter: blur(10px); }
.btn.ghost:hover { background: rgba(255, 255, 255, .1); transform: translateY(-2px); }
.arrow { display: inline-block; animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(4px); } }

.chips { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 9px; }
.chips li {
  padding: 8px 15px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--dim);
  background: rgba(255, 255, 255, .04); border: 1px solid var(--line);
  transition: color .4s, background .4s, border-color .4s, transform .4s var(--ease);
}
.chips li.on { color: var(--on-accent); background: var(--accent); border-color: transparent; transform: translateY(-2px); }
.chips.sources li { display: flex; align-items: center; gap: 8px; }
.chips.sources li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c); box-shadow: 0 0 12px var(--c); }
[data-src="local"] { --c: #9fbfa8; }
[data-src="youtube"] { --c: #cf9d9d; }
[data-src="spotify"] { --c: #8fc79a; }
[data-src="soundcloud"] { --c: #d9a27e; }

/* ---- chapters ---- */
main { position: relative; z-index: 2; }
.ch { position: relative; height: 240vh; }
.ch.hero { height: 170vh; }
.ch.more { height: auto; min-height: 100vh; }
.ch.outro { height: 100vh; }
.stage {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  display: grid; align-items: center; padding: 84px clamp(20px, 6vw, 96px) 40px;
}
.ch.more .stage { position: relative; height: auto; overflow: visible; padding-top: 18vh; padding-bottom: 14vh; }
.split { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(24px, 4vw, 72px); }
.split.flip { grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr); }
.split.flip > .copy { order: 2; }
.split > * { min-width: 0; }
.display .w { white-space: nowrap; }

.copy {
  max-width: 540px; position: relative; z-index: 3;
  opacity: var(--vis, 0); transform: translate3d(0, calc((1 - var(--vis, 0)) * 46px), 0);
  will-change: opacity, transform;
}
.copy::before {
  content: ""; position: absolute; inset: -16% -12%; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--bg) 78%, transparent), color-mix(in srgb, var(--bg) 52%, transparent) 45%,
                              color-mix(in srgb, var(--bg) 22%, transparent) 72%, transparent);
}
.copy p { text-shadow: 0 1px 14px color-mix(in srgb, var(--bg) 90%, transparent); }
.copy.center { margin: 0 auto; text-align: center; max-width: 900px; }
.copy.narrow { max-width: 760px; }
.kicker { margin: 0 0 18px; color: var(--accent); font-size: 12.5px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; }
h2 {
  margin: 0 0 22px; font-size: clamp(38px, 4.7vw, 72px); line-height: 1.02; letter-spacing: -.045em; font-weight: 750;
  text-wrap: balance;
}
.copy p { color: color-mix(in srgb, var(--dim) 70%, var(--text)); margin: 0; font-size: clamp(16px, 1.25vw, 19px); text-wrap: pretty; }
.copy p.hint { margin-top: 14px; font-size: 14px; color: var(--faint); max-width: 420px; }
.sound-cta { margin-top: 30px; }
.sound-cta .pulse { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 var(--accent); animation: ping 1.8s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 12px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }

/* hero */
.hero .stage { place-items: end center; text-align: center; padding-bottom: 9vh; }
.outro .stage { place-items: end center; padding-bottom: 11vh; }
.display {
  margin: 0; font-size: clamp(72px, 11.5vw, 190px); line-height: .9; letter-spacing: -.065em; font-weight: 800; color: var(--text);
  text-shadow: 0 0 80px color-mix(in srgb, var(--accent) 55%, transparent), 0 10px 40px rgba(0, 0, 0, .5);
}
.display.small { font-size: clamp(48px, 7vw, 120px); }
.display .w { display: inline-block; }
.display .l {
  display: inline-block;
  transform: translate3d(0, calc(var(--out, 0) * -40px), 0); opacity: calc(1 - var(--out, 0));
  animation: rise 1.4s var(--ease) both; animation-delay: calc(var(--i) * 55ms + .35s);
}
@keyframes rise { from { transform: translate3d(0, .5em, 0) rotateX(-70deg); opacity: 0; filter: blur(12px); } }
.lead { margin: 28px auto 0 !important; max-width: 640px; font-size: clamp(18px, 1.6vw, 22px) !important; color: var(--dim); }
.ctas { margin-top: 38px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.note { margin-top: 22px !important; font-size: 14px !important; color: var(--faint) !important; }
.reveal { animation: fadeup 1.2s var(--ease) both; }
.hero .reveal:nth-child(1) { animation-delay: .25s; }
.hero .reveal:nth-child(3) { animation-delay: .95s; }
.hero .reveal:nth-child(4) { animation-delay: 1.1s; }
.hero .reveal:nth-child(5) { animation-delay: 1.25s; }
.hero h1.reveal { animation: none; }
@keyframes fadeup { from { opacity: 0; transform: translateY(24px); } }
.scrollhint { position: absolute; bottom: 34px; left: 50%; width: 26px; height: 42px; margin-left: -13px;
              border: 2px solid var(--faint); border-radius: 14px; opacity: calc(1 - var(--p, 0) * 4); }
.scrollhint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px;
                   background: var(--text); animation: wheel 1.8s ease-in-out infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* side dots */
.dots { position: fixed; right: 22px; top: 50%; transform: translateY(-50%); z-index: 15; display: flex; flex-direction: column; gap: 12px; }
.dots a { width: 8px; height: 8px; border-radius: 50%; background: var(--faint); opacity: .6; transition: all .4s var(--ease); }
.dots a.on { background: var(--accent); opacity: 1; height: 26px; border-radius: 6px; }

/* ---- 3D replica of the app (library chapter) ---- */
.scene3d { position: relative; height: 100%; perspective: 1700px; perspective-origin: 50% 40%; }
.replica {
  --w: 1180px; --h: 740px; --explode: 1;
  position: absolute; left: 50%; top: 50%; width: var(--w); height: var(--h); margin: calc(var(--h) / -2) 0 0 calc(var(--w) / -2);
  transform-style: preserve-3d;
  transform: translateX(-5%) scale(var(--rs, .6)) rotateX(var(--rx, 18deg)) rotateY(var(--ry, -24deg)) rotateZ(var(--rz, 4deg));
  will-change: transform;
}
.r-layer {
  position: absolute; transform-style: preserve-3d;
  transform: translate3d(calc(var(--dx, 0) * var(--explode) * 1px), calc(var(--dy, 0) * var(--explode) * 1px),
                         calc(var(--z, 0) * var(--explode) * 1px));
  border-radius: 18px;
}
.r-window {
  inset: 0; background: var(--bg); border-radius: 22px;
  box-shadow: 0 60px 140px -20px rgba(0, 0, 0, .8), 0 0 0 1px var(--line), 0 0 120px -30px color-mix(in srgb, var(--accent) 50%, transparent);
  overflow: hidden;
}
.r-window::before {   /* the app's ambient glow from the cover */
  content: ""; position: absolute; inset: -20%;
  background: radial-gradient(50% 45% at 70% 20%, color-mix(in srgb, var(--cover-a, var(--accent)) 30%, transparent), transparent 70%),
              radial-gradient(45% 40% at 20% 90%, color-mix(in srgb, var(--cover-b, var(--accent2)) 26%, transparent), transparent 70%);
  transition: background 1s;
}
.r-title { left: 0; right: 0; top: 0; height: 58px; display: flex; align-items: center; gap: 14px; padding: 0 18px; --z: 40; }
.r-title .r-nav { display: flex; gap: 10px; color: var(--faint); }
.r-search {
  margin: 0 auto; width: 440px; height: 36px; border-radius: 12px; background: var(--surface); display: flex; align-items: center;
  gap: 10px; padding: 0 14px; color: var(--faint); font-size: 13px; border: 1px solid var(--line);
}
.r-search kbd { margin-left: auto; font: 600 11px var(--font); color: var(--faint); background: var(--surface-hi); padding: 3px 6px; border-radius: 6px; }
.r-dots { display: flex; gap: 14px; color: var(--faint); }
.r-side {
  left: 12px; top: 62px; bottom: 112px; width: 236px; background: var(--surface); padding: 18px 14px; --z: 90; --dx: -60;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6); border: 1px solid var(--line);
}
.r-logo { display: flex; align-items: center; gap: 10px; font-weight: 750; font-size: 21px; letter-spacing: -.02em; padding: 2px 6px 18px; }
.r-logo .mark { width: 34px; height: 34px; }
.r-label { font-size: 10.5px; font-weight: 700; letter-spacing: .16em; color: var(--faint); padding: 10px 8px 8px; text-transform: uppercase; }
.r-item { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 11px; font-size: 13.5px; color: var(--dim); }
.r-item.on { background: var(--surface-hi); color: var(--text); font-weight: 600; box-shadow: inset 3px 0 0 var(--accent); }
.r-pl { display: flex; align-items: center; gap: 11px; padding: 7px 8px; font-size: 13px; }
.r-pl b { display: block; font-weight: 600; color: var(--text); }
.r-pl em { font-style: normal; font-size: 11.5px; color: var(--faint); }
.r-pl .cover-art { width: 34px; height: 34px; border-radius: 9px; }
.r-main { left: 260px; right: 360px; top: 62px; bottom: 112px; padding: 26px 30px; background: var(--surface); --z: 0;
          border: 1px solid var(--line); overflow: hidden; }
.r-main h4 { margin: 0; font-size: 38px; letter-spacing: -.04em; font-weight: 750; }
.r-main > p { margin: 4px 0 20px; color: var(--dim); font-size: 13.5px; }
.r-hero {
  position: relative; height: 196px; border-radius: 20px; padding: 22px; display: flex; gap: 22px; align-items: center;
  background: linear-gradient(120deg, color-mix(in srgb, var(--cover-a, var(--accent)) 38%, var(--surface-hi)), var(--surface-hi) 70%);
  border: 1px solid var(--line); --z: 150; --dy: -30; overflow: hidden;
  box-shadow: 0 40px 70px -25px rgba(0, 0, 0, .7);
}
.r-hero .cover-art { width: 152px; height: 152px; border-radius: 16px; box-shadow: 0 16px 40px rgba(0, 0, 0, .45); flex: none; }
.r-hero .k { font-size: 10.5px; letter-spacing: .2em; font-weight: 700; color: var(--dim); text-transform: uppercase; }
.r-hero h5 { margin: 6px 0 2px; font-size: 30px; letter-spacing: -.035em; font-weight: 750; }
.r-hero .by { color: var(--dim); font-size: 14px; }
.r-hero .row { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.r-play { width: 46px; height: 46px; border-radius: 50%; background: var(--text); color: var(--bg); display: grid; place-items: center; }
.r-play svg { width: 22px; height: 22px; fill: currentColor; }
.r-prog { width: 220px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .14); position: relative; }
.r-prog i { position: absolute; left: 0; top: 0; bottom: 0; width: var(--t, 35%); border-radius: 4px; background: var(--text); }
.r-hero .viz { position: absolute; right: 22px; bottom: 22px; display: flex; gap: 3px; align-items: flex-end; height: 56px; }
.r-hero .viz i { width: 4px; border-radius: 3px; background: color-mix(in srgb, var(--text) 70%, transparent); height: calc(var(--b, .3) * 100%); }
.r-hero .full { position: absolute; top: 18px; right: 18px; font-size: 12px; font-weight: 600; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); color: var(--text); }
.r-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; --z: 70; }
.r-tile { display: flex; align-items: center; gap: 14px; height: 56px; border-radius: 14px; background: var(--surface-hi); overflow: hidden; font-weight: 650; font-size: 14px; }
.r-tile .ico { width: 56px; height: 56px; display: grid; place-items: center; background: var(--g); }
.r-tile .ico svg { width: 22px; height: 22px; fill: #fff; }
.r-sec { margin: 22px 0 10px; font-size: 19px; font-weight: 700; letter-spacing: -.02em; }
.r-row { display: grid; grid-template-columns: 40px 1fr auto 44px; align-items: center; gap: 12px; padding: 6px 8px; border-radius: 10px; font-size: 13px; }
.r-row .cover-art { width: 40px; height: 40px; border-radius: 8px; }
.r-row b { display: block; font-weight: 600; }
.r-row em { font-style: normal; color: var(--faint); font-size: 12px; }
.r-row time { color: var(--faint); font-size: 12px; text-align: right; }
.badge {
  display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 9px; border-radius: 999px; font-size: 11px; font-weight: 650;
  color: var(--c); background: color-mix(in srgb, var(--c) 12%, transparent); border: 1px solid color-mix(in srgb, var(--c) 22%, transparent);
  white-space: nowrap;
}
.badge svg { width: 12px; height: 12px; fill: currentColor; }
.r-panel {
  right: 12px; top: 62px; bottom: 112px; width: 336px; background: var(--surface); padding: 20px; --z: 120; --dx: 70;
  border: 1px solid var(--line); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6);
}
.r-panel h6 { margin: 0 0 14px; font-size: 15px; font-weight: 700; }
.r-panel .big { width: 100%; aspect-ratio: 1; border-radius: 18px; box-shadow: 0 30px 60px -10px rgba(0, 0, 0, .55); }
.r-panel .t { margin-top: 16px; font-size: 21px; font-weight: 750; letter-spacing: -.03em; }
.r-panel .a { color: var(--dim); font-size: 13px; margin-bottom: 10px; }
.r-panel .wave { display: flex; gap: 2px; align-items: center; height: 34px; margin: 14px 0; }
.r-panel .wave i { flex: 1; border-radius: 2px; background: color-mix(in srgb, var(--text) 55%, transparent); height: calc(var(--b, .3) * 100%); }
.r-panel .q { display: flex; justify-content: space-between; font-size: 13px; font-weight: 700; margin: 6px 0 8px; }
.r-panel .q span { color: var(--faint); font-weight: 500; }
.r-bar {
  left: 12px; right: 12px; bottom: 12px; height: 88px; background: var(--surface); display: grid;
  grid-template-columns: 300px 1fr 300px; align-items: center; padding: 0 20px; --z: 200; --dy: 70;
  border: 1px solid var(--line); box-shadow: 0 30px 60px -10px rgba(0, 0, 0, .7);
}
.r-bar .now { display: flex; align-items: center; gap: 13px; font-size: 13px; }
.r-bar .now .cover-art { width: 56px; height: 56px; border-radius: 12px; }
.r-bar .now b { display: block; font-size: 14px; }
.r-bar .ctl { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.r-bar .btns { display: flex; align-items: center; gap: 26px; color: var(--dim); }
.r-bar .btns svg { width: 20px; height: 20px; fill: currentColor; }
.r-bar .btns .r-play { width: 42px; height: 42px; }
.r-bar .line { display: flex; align-items: center; gap: 12px; font-size: 11px; color: var(--faint); }
.r-bar .line .r-prog { width: 420px; }
.r-bar .vol { display: flex; justify-content: flex-end; align-items: center; gap: 16px; color: var(--dim); }
.r-bar .vol svg { width: 19px; height: 19px; fill: currentColor; }
.r-bar .vol .r-prog { width: 100px; }
.floater { --z: 320; pointer-events: none; }
.floater.badge { position: absolute; height: 34px; padding: 0 14px; font-size: 14px; backdrop-filter: blur(8px);
                 box-shadow: 0 20px 40px rgba(0, 0, 0, .45); background: color-mix(in srgb, var(--c) 18%, rgba(16, 17, 20, .8)); }

/* cover art — gradients in the spirit of each record, not the record sleeves themselves */
.cover-art { display: block; position: relative; overflow: hidden; background: var(--art); flex: none; }
.cover-art::after { content: ""; position: absolute; inset: 0; background: var(--art-fx, none); mix-blend-mode: screen; }
.art-midnight { --art: linear-gradient(160deg, #1b1446 0%, #4a2a8a 45%, #c35da6 85%, #f29a9a 100%);
                --art-fx: radial-gradient(60% 40% at 50% 80%, rgba(255, 190, 220, .35), transparent 70%); }
.art-nightcall { --art: linear-gradient(180deg, #120318 0%, #3a0a3f 50%, #ff2e7a 100%);
                 --art-fx: repeating-linear-gradient(0deg, rgba(255, 70, 160, .18) 0 2px, transparent 2px 9px); }
.art-blinding { --art: radial-gradient(70% 70% at 50% 45%, #ff3b3b 0%, #a00d1e 45%, #2a0207 100%); }
.art-dowanna { --art: #0b0b0c; --art-fx: repeating-radial-gradient(circle at 50% 120%, rgba(255, 255, 255, .55) 0 1.5px, transparent 1.5px 9px); }
.art-malo { --art: linear-gradient(150deg, #e9d8a6 0%, #c79a54 50%, #5b4a3a 100%); }
.art-szampan { --art: linear-gradient(140deg, #ffe0ef 0%, #f6b7c8 45%, #d78aa8 100%);
               --art-fx: radial-gradient(30% 30% at 30% 30%, rgba(255, 255, 255, .7), transparent 70%); }
.art-bubble { --art: linear-gradient(135deg, #4fd1c5 0%, #7f7fd5 55%, #ff9ecf 100%); }
.art-bella { --art: linear-gradient(150deg, #f08a6c 0%, #c0302f 45%, #3a0e14 100%); }
.art-grechuta { --art: linear-gradient(160deg, #e6d6b8 0%, #b49b72 50%, #4f3f2c 100%);
                --art-fx: radial-gradient(40% 30% at 70% 30%, rgba(255, 255, 255, .25), transparent 70%); }
.art-patoint { --art: linear-gradient(135deg, #e8e8e8 0%, #9a9a9a 50%, #1d1d1d 100%); }
.art-voltaic { --art: linear-gradient(150deg, #0d0b2e 0%, #33206e 45%, #5cc8ff 100%);
               --art-fx: repeating-linear-gradient(115deg, rgba(120, 220, 255, .22) 0 2px, transparent 2px 14px); }
.art-inspired { --art: radial-gradient(80% 70% at 30% 75%, #ffd29a 0%, #ff9d6b 35%, #8a3d6b 75%, #2a1033 100%); }
[data-src="cc"] { --c: #93a8c3; }

/* ---- mix: labels that follow the 3D decks ---- */
.decks { position: relative; height: 100%; }
.deck-label {
  position: absolute; left: 0; top: 0; min-width: 170px; padding: 12px 16px; border-radius: 16px;
  background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transform: translate3d(var(--x, -999px), var(--y, -999px), 0) translate(-50%, 0); display: grid; gap: 1px;
  opacity: var(--vis, 0); box-shadow: 0 20px 50px rgba(0, 0, 0, .4);
}
.deck-tag { font-size: 10.5px; letter-spacing: .18em; font-weight: 700; color: var(--accent); text-transform: uppercase; }
.deck-label b { font-size: 17px; letter-spacing: -.02em; }
.deck-label span:not(.deck-tag) { font-size: 13px; color: var(--dim); }
.meter { display: block; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .1); margin-top: 8px; overflow: hidden; }
.meter em { display: block; height: 100%; width: calc(var(--gain, 1) * 100%); background: var(--accent); border-radius: 4px; }
.curves { position: absolute; left: 6%; right: 6%; bottom: 9%; height: 120px; width: 88%; overflow: visible; opacity: var(--vis, 0); }
.curves path { fill: none; stroke-width: 3; vector-effect: non-scaling-stroke; stroke-linecap: round; }
.curves .ca { stroke: #ff4f9a; filter: drop-shadow(0 0 6px #ff4f9a); }
.curves .cb { stroke: #ff3b3b; filter: drop-shadow(0 0 6px #ff3b3b); }
.curves .playhead { stroke: var(--text); stroke-width: 1.5; stroke-dasharray: 4 5; vector-effect: non-scaling-stroke; }

/* ---- spectrum: the full-screen player, floating ---- */
.nowplaying { position: relative; height: 100%; display: grid; place-items: center; perspective: 1400px; }
.np-card {
  width: min(560px, 100%); padding: 26px; border-radius: 28px; display: grid; grid-template-columns: 200px 1fr; gap: 24px; align-items: center;
  background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  transform: rotateY(var(--ry, -18deg)) rotateX(var(--rx, 8deg)) translateZ(0); transform-style: preserve-3d;
  box-shadow: 0 50px 120px -20px rgba(0, 0, 0, .7), 0 0 100px -30px var(--cover-a, var(--accent));
}
.np-card .cover-art { width: 200px; height: 200px; border-radius: 20px; transform: translateZ(70px) scale(var(--beat, 1));
                      box-shadow: 0 30px 60px rgba(0, 0, 0, .5); transition: transform .08s; }
.np-card .k { font-size: 10.5px; letter-spacing: .2em; font-weight: 700; color: var(--dim); text-transform: uppercase; }
.np-card h5 { margin: 8px 0 2px; font-size: 32px; font-weight: 800; letter-spacing: -.04em; line-height: 1.05; transform: translateZ(40px); }
.np-card .by { color: var(--dim); }
.np-card .badge { margin-top: 12px; }
.np-card .r-prog { width: 100%; margin-top: 18px; }

/* ---- lyrics ---- */
.karaoke {
  position: relative; padding: 28px 30px 34px; border-radius: 28px; perspective: 900px;
  background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 50px 120px -20px rgba(0, 0, 0, .7); max-width: 720px; justify-self: center; width: 100%;
}
.karaoke-head { display: flex; align-items: center; gap: 14px; font-size: 14px; }
.karaoke-head .cover-art { width: 48px; height: 48px; border-radius: 11px; }
.karaoke-head b { display: block; font-size: 16px; }
.karaoke-head em { font-style: normal; color: var(--faint); font-size: 12.5px; }
.synced { margin-left: auto; font-size: 11.5px; font-weight: 700; color: var(--accent); padding: 5px 10px; border-radius: 999px;
          background: color-mix(in srgb, var(--accent) 14%, transparent); }
.karaoke-lines { position: relative; height: 330px; margin-top: 18px; transform-style: preserve-3d; overflow: hidden;
                 mask-image: linear-gradient(transparent, #000 18%, #000 82%, transparent); -webkit-mask-image: linear-gradient(transparent, #000 18%, #000 82%, transparent); }
.kl {
  position: absolute; left: 0; right: 0; top: 50%; font-size: clamp(22px, 2.3vw, 34px); font-weight: 750; letter-spacing: -.03em; line-height: 1.2;
  transform: translate3d(0, calc(var(--off) * 64px - 50%), calc(var(--off-abs) * -140px)) rotateX(calc(var(--off) * -14deg));
  opacity: calc(1 - var(--off-abs) * .42); color: color-mix(in srgb, var(--text) 32%, transparent); transition: color .3s;
  transform-origin: 0 50%;
}
.kl .c { transition: color .12s, text-shadow .2s; }
.kl .c.lit { color: var(--text); text-shadow: 0 0 12px color-mix(in srgb, var(--accent) 45%, transparent); }
.kl .time { position: absolute; right: 100%; margin-right: 10px; top: .45em; font-size: 11px; font-weight: 600; color: var(--faint); letter-spacing: 0; display: none; }

/* ---- themes carousel ---- */
.carousel { position: relative; height: 100%; perspective: 1600px; display: grid; place-items: center; }
.ring { position: relative; width: 440px; height: 290px; transform-style: preserve-3d; transform: rotateX(-4deg) rotateY(var(--tilt, 0deg)); }
.mini {
  position: absolute; inset: 0; border-radius: 18px; overflow: hidden; cursor: pointer; border: 0; padding: 0; text-align: left;
  font: inherit; color: var(--m-text); background: var(--m-bg); backface-visibility: hidden; -webkit-backface-visibility: hidden;
  transform: translateX(calc(var(--rel, 0) * 46%)) translateZ(calc(var(--abs, 0) * -300px)) rotateY(calc(var(--rel, 0) * -34deg));
  opacity: calc(1 - var(--abs, 0) * .28);
  box-shadow: 0 40px 90px -20px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .07);
  display: grid; grid-template-columns: 92px 1fr; grid-template-rows: 1fr 52px; transition: box-shadow .4s;
}
.mini.on { box-shadow: 0 40px 90px -20px rgba(0, 0, 0, .8), 0 0 0 2px var(--m-accent), 0 0 80px -10px var(--m-accent); }
.mini .ms { background: var(--m-surface); padding: 14px 10px; display: grid; align-content: start; gap: 8px; }
.mini .ms i { height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .12); }
.mini .ms i:first-child { height: 18px; width: 18px; border-radius: 6px; background: var(--m-accent); }
.mini .ms i.on { background: var(--m-accent); opacity: .7; }
.mini .mm { padding: 16px; display: grid; align-content: start; gap: 10px; position: relative;
            background: radial-gradient(60% 60% at 80% 0%, color-mix(in srgb, var(--m-accent) 25%, transparent), transparent 70%); }
.mini .mm b { font-size: 22px; letter-spacing: -.03em; }
.mini .mm .hc { display: flex; gap: 10px; align-items: center; background: var(--m-surface-hi); border-radius: 12px; padding: 10px; }
.mini .mm .hc .cover-art { width: 52px; height: 52px; border-radius: 9px; }
.mini .mm .hc span { font-size: 12px; color: var(--m-dim); }
.mini .mt { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.mini .mt i { height: 26px; border-radius: 8px; background: var(--m-surface-hi); position: relative; overflow: hidden; }
.mini .mt i::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 26px; background: color-mix(in srgb, var(--m-accent) 55%, transparent); }
.mini .mr { display: grid; gap: 6px; }
.mini .mr i { height: 9px; border-radius: 5px; background: rgba(255, 255, 255, .08); }
.mini .mr i:nth-child(2) { width: 70%; }
.mini .mm .hc strong { display: block; font-size: 14px; color: var(--m-text); }
.mini .mb { grid-column: 1 / -1; background: var(--m-surface); display: flex; align-items: center; justify-content: space-between; padding: 0 16px;
            font-weight: 700; font-size: 15px; }
.mini .mb em { font-style: normal; width: 28px; height: 28px; border-radius: 50%; background: var(--m-accent); }

/* ---- listening room ---- */
.room-card {
  width: min(470px, 100%); justify-self: center; padding: 22px; border-radius: 26px; position: relative;
  background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 50px 120px -20px rgba(0, 0, 0, .7);
  transform: perspective(1200px) rotateY(var(--ry, 14deg)) rotateX(var(--rx, 6deg));
}
.room-card .top { display: flex; align-items: center; gap: 12px; }
.room-card .top b { font-size: 20px; letter-spacing: -.02em; }
.room-card .code { margin-left: auto; font: 700 13px var(--font); letter-spacing: .18em; padding: 7px 11px; border-radius: 10px; background: var(--surface-hi); }
.room-card .sub { color: var(--faint); font-size: 13px; margin: 2px 0 16px; }
.avatars { display: flex; margin: 4px 0 18px; }
.avatars span {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; font-weight: 750; color: #15161a;
  background: var(--av); margin-right: -8px; border: 3px solid var(--surface); position: relative;
}
.avatars span::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--av); opacity: 0; animation: beat 1.3s infinite; animation-delay: var(--d, 0s); }
@keyframes beat { 0% { opacity: .9; transform: scale(.8); } 100% { opacity: 0; transform: scale(1.25); } }
.room-now { display: flex; gap: 14px; align-items: center; padding: 12px; border-radius: 16px; background: var(--surface-hi); }
.room-now .cover-art { width: 64px; height: 64px; border-radius: 12px; }
.room-now b { display: block; font-size: 16px; }
.room-now span { color: var(--dim); font-size: 13px; }
.room-now .r-prog { width: 100%; margin-top: 10px; }
.room-q { margin-top: 14px; display: grid; gap: 4px; }
.room-q .k { font-size: 12px; font-weight: 700; color: var(--faint); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 4px; }
.room-q .r-row { grid-template-columns: 40px 1fr auto; }
.live { margin-top: 26px !important; display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--text) !important; }
.live b { font-variant-numeric: tabular-nums; color: var(--accent); font-size: 1.15em; }
.live-dot { width: 10px; height: 10px; border-radius: 50%; background: #7bd88f; box-shadow: 0 0 0 0 #7bd88f; animation: ping 1.6s infinite; }

/* ---- more ---- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; max-width: 1180px; margin: 54px auto 0; perspective: 1200px; }
.card {
  position: relative; padding: 18px 20px 24px; border-radius: 24px; background: var(--glass); border: 1px solid var(--line);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); transform-style: preserve-3d;
  transform: rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg)) translateY(calc((1 - var(--in, 0)) * 80px));
  opacity: var(--in, 0); transition: transform .5s var(--ease), opacity .8s var(--ease), border-color .3s;
}
.card:hover { border-color: color-mix(in srgb, var(--accent) 40%, transparent); }
.card h3 { margin: 18px 0 6px; font-size: 20px; letter-spacing: -.02em; transform: translateZ(30px); }
.card p { margin: 0; color: var(--dim); font-size: 15px; transform: translateZ(20px); }
.card .art { height: 150px; border-radius: 16px; background: var(--surface); position: relative; overflow: hidden; transform: translateZ(40px);
             border: 1px solid var(--line); }

/* card illustrations */
.art-game { position: absolute; inset: 0; background: linear-gradient(180deg, #1c2b3a, #0d141c 60%, #1d2a1a);
            background-size: cover; }
.art-game::before { content: ""; position: absolute; left: -10%; right: -10%; bottom: 0; height: 45%;
                    background: repeating-linear-gradient(90deg, #22331f 0 30px, #1a2818 30px 60px); transform: perspective(200px) rotateX(55deg); transform-origin: bottom; }
.art-game .hud { position: absolute; left: 0; right: 0; bottom: 18px; text-align: center; font-weight: 800; font-size: 17px; letter-spacing: -.02em;
                 color: rgba(255, 255, 255, .35); }
.art-game .hud i { font-style: normal; color: #fff; text-shadow: 0 0 14px var(--accent); }
.art-game .dim { position: absolute; inset: 0; background: rgba(0, 0, 0, .25); }
.dc { position: absolute; left: 16px; right: 16px; top: 22px; padding: 12px; border-radius: 12px; background: #2b2d31; display: flex; gap: 12px; align-items: center; }
.dc .cover-art { width: 62px; height: 62px; border-radius: 10px; }
.dc small { display: block; font-size: 10.5px; font-weight: 800; color: #b5bac1; text-transform: uppercase; letter-spacing: .04em; }
.dc b { display: block; font-size: 14px; color: #f2f3f5; }
.dc span { font-size: 12.5px; color: #b5bac1; }
.dc .r-prog { width: 100%; height: 3px; margin-top: 7px; background: #4e5058; }
.dc .r-prog i { background: #f2f3f5; }
.keys { position: absolute; inset: 0; display: grid; place-items: center; }
.keys div { display: flex; gap: 10px; transform: perspective(300px) rotateX(35deg); }
.keys span { width: 54px; height: 54px; border-radius: 12px; background: var(--surface-hi); display: grid; place-items: center; color: var(--text);
             box-shadow: 0 6px 0 #0006, 0 10px 18px #0007; animation: press 2.4s infinite; animation-delay: var(--d); }
.keys svg { width: 22px; height: 22px; fill: currentColor; }
@keyframes press { 0%, 70%, 100% { transform: translateY(0); box-shadow: 0 6px 0 #0006, 0 10px 18px #0007; }
                   80% { transform: translateY(5px); box-shadow: 0 1px 0 #0006, 0 4px 8px #0007; color: var(--accent); } }
.eq { position: absolute; inset: 14px 16px; }
.eq svg { width: 100%; height: 100%; overflow: visible; }
.eq .grid { stroke: rgba(255, 255, 255, .06); }
.eq .curve { fill: none; stroke: var(--accent); stroke-width: 3; filter: drop-shadow(0 0 8px var(--accent)); }
.eq .fill { fill: color-mix(in srgb, var(--accent) 18%, transparent); }
.eq circle { fill: var(--text); }
.upd { position: absolute; inset: 0; display: grid; place-items: center; }
.upd .ring2 { width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 15px;
              background: conic-gradient(var(--accent) calc(var(--u, .3) * 360deg), rgba(255, 255, 255, .08) 0); }
.upd .ring2 span { width: 76px; height: 76px; border-radius: 50%; background: var(--surface); display: grid; place-items: center; }
.lg { position: absolute; inset: 0; display: grid; place-items: center; perspective: 400px; }
.lg div { position: relative; width: 120px; height: 80px; transform-style: preserve-3d; animation: flip 4s infinite var(--ease); }
.lg span { position: absolute; inset: 0; border-radius: 14px; display: grid; place-items: center; font-size: 34px; font-weight: 800; letter-spacing: -.03em;
           background: var(--surface-hi); backface-visibility: hidden; -webkit-backface-visibility: hidden; box-shadow: 0 14px 30px #0008; }
.lg span + span { transform: rotateY(180deg); color: var(--accent); }
@keyframes flip { 0%, 40% { transform: rotateY(0); } 50%, 90% { transform: rotateY(180deg); } 100% { transform: rotateY(360deg); } }

/* ---- outro ---- */

.downloads { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; max-width: 680px; margin: 40px auto 0; }
.dl {
  display: flex; align-items: center; gap: 16px; padding: 18px 26px 18px 20px; border-radius: 20px; text-decoration: none; min-width: 280px;
  background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  transition: transform .4s var(--ease), border-color .3s, box-shadow .4s; text-align: left;
}
.dl:first-child { background: var(--accent); color: var(--on-accent); border-color: transparent;
                  box-shadow: 0 20px 60px -12px color-mix(in srgb, var(--accent) 80%, transparent); }
.dl:hover { transform: translateY(-4px) scale(1.02); }
.dl svg { width: 30px; height: 30px; fill: currentColor; flex: none; }
.dl b { display: block; font-size: 17px; }
.dl em { font-style: normal; font-size: 13px; opacity: .7; }
.meta-line { margin-top: 26px !important; display: flex; gap: 22px; justify-content: center; font-size: 14px !important; }
.meta-line a { color: var(--dim); }
.version b { color: var(--text); }
.foot a { color: var(--dim); }
.foot { position: relative; z-index: 2; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
        padding: 28px clamp(20px, 6vw, 96px) 34px; color: var(--faint); font-size: 13px; border-top: 1px solid var(--line);
        background: color-mix(in srgb, var(--bg) 80%, transparent); }
.noscript { position: fixed; bottom: 16px; left: 16px; right: 16px; z-index: 60; padding: 14px; border-radius: 14px; background: var(--surface); text-align: center; }

/* ---- the mini player (YouTube's official player, kept visible) ---- */
.miniplayer {
  position: fixed; right: 20px; bottom: 20px; z-index: 30; width: 380px; padding: 12px; border-radius: 22px;
  background: color-mix(in srgb, var(--surface) 82%, transparent); border: 1px solid var(--line);
  backdrop-filter: blur(18px) saturate(1.2); -webkit-backdrop-filter: blur(18px) saturate(1.2);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .75), 0 0 60px -20px var(--accent);
  display: grid; grid-template-columns: 1fr auto; gap: 10px 8px;
  opacity: 0; transform: translateY(24px) scale(.97); transition: opacity .4s var(--ease), transform .5s var(--ease);
}
.miniplayer.open { opacity: 1; transform: none; }
.miniplayer[hidden] { display: none; }
.mp-video { grid-column: 1 / -1; width: 356px; height: 200px; border-radius: 14px; overflow: hidden; background: #000; }
.mp-video { position: relative; }
.mp-art { position: absolute; inset: 0; }
.mp-art .cover-art { position: absolute; inset: 0; transition: opacity .2s; }
.mp-info { display: grid; min-width: 0; padding: 0 4px; line-height: 1.35; }
.mp-k { font-size: 10.5px; letter-spacing: .18em; font-weight: 700; color: var(--accent); text-transform: uppercase; }
.mp-title { font-size: 16px; letter-spacing: -.01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mp-artist { font-size: 13.5px; color: var(--dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mp-status { font-style: normal; font-size: 12px; color: var(--faint); }
.mp-close { align-self: start; }

/* ---- phones and narrow windows ---- */
@media (max-width: 900px) {
  body { font-size: 16px; }
  .links, .dots, .swatches { display: none; }
  .bar { gap: 12px; height: 60px; }
  .tools { gap: 10px; }
  .ch { height: 220vh; }
  .ch.hero { height: 150vh; }
  .stage { padding: 76px 18px 28px; align-items: end; }
  .split, .split.flip { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) auto; gap: 8px; }
  .split.flip > .copy { order: 2; }
.split > * { min-width: 0; }
.display .w { white-space: nowrap; }
  .split > :not(.copy) { order: 1; grid-row: 1; min-height: 0; }
  .split > .copy { grid-row: 2; }
  .copy { max-width: none; }
  .copy p { font-size: 15.5px; }
  h2 { font-size: clamp(32px, 9vw, 44px); margin-bottom: 14px; }
  .kicker { margin-bottom: 10px; }
  .chips { margin-top: 16px; gap: 7px; }
  .chips li { padding: 6px 12px; font-size: 13px; }
  .hero .stage { align-items: end; padding-bottom: 7vh; }
  .display { font-size: 16vw; }
  .display.small { font-size: 13vw; }
  .np-card { grid-template-columns: 110px 1fr; padding: 16px; gap: 16px; border-radius: 22px; }
  .np-card .cover-art { width: 110px; height: 110px; }
  .np-card h5 { font-size: 22px; }
  .karaoke { padding: 16px 16px 18px; border-radius: 22px; }
  .karaoke-lines { height: 210px; }
  .kl { font-size: 17px; transform: translate3d(0, calc(var(--off) * 56px - 50%), calc(var(--off-abs) * -100px)) rotateX(calc(var(--off) * -14deg)); }
  .synced { display: none; }
  .ring { width: 250px; height: 160px; }
  .mini { grid-template-columns: 56px 1fr; grid-template-rows: 1fr 36px; }
  .mini .mr { display: none; }
  .mini .mm { padding: 10px; gap: 6px; }
  .mini .mm b { font-size: 15px; }
  .mini .mm .hc .cover-art { width: 34px; height: 34px; }
  .mini .mm .hc strong { font-size: 12px; }
  .room-card { padding: 16px; transform: none; }
  .room-q { display: none; }
  .cards { grid-template-columns: 1fr; }
  .card { transform: translateY(calc((1 - var(--in, 0)) * 60px)); }
  .downloads { grid-template-columns: 1fr; }
  .dl { min-width: 0; width: 100%; }
  .deck-label { min-width: 130px; padding: 9px 12px; }
  .deck-label b { font-size: 15px; }
  .curves { bottom: 4%; height: 70px; }
  .miniplayer { left: 8px; right: 8px; bottom: 8px; width: auto; padding: 8px; border-radius: 18px; }
  .mp-video { width: 100%; height: auto; aspect-ratio: 16 / 9; min-height: 200px; }
}
@media (max-width: 900px) and (min-width: 600px) { .cards { grid-template-columns: 1fr 1fr; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .display .l, .reveal, .arrow, .scrollhint span, .mark circle, .keys span, .lg div, .avatars span::after, .loader-mark .mark circle { animation: none !important; }
}
