/* escapsm.com — city pop, old anime & long nights
   Plain CSS, no frameworks, no external requests. The text uses the fonts
   already on the device; big headings use Dela Gothic One (SIL OFL 1.1),
   subset and served from /assets/fonts/. */

/* ----------------------------------------------------------------- fonts */
@font-face {
  font-family: "Dela Gothic One"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(/assets/fonts/dela-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215;
}
@font-face {
  font-family: "Dela Gothic One"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(/assets/fonts/dela-cyrillic.woff2) format("woff2");
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Dela Gothic One"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(/assets/fonts/dela-ja.woff2) format("woff2");
  unicode-range: U+3000-30FF, U+4E00-9FFF, U+FF00-FFEF;
}

/* ---------------------------------------------------------------- tokens */
:root {
  color-scheme: dark;
  --bg: #0c0922;
  --bg-2: #130e32;
  --bg-3: #1b1442;
  --bg-4: #251a55;
  --line: rgba(214, 190, 255, .14);
  --line-2: rgba(214, 190, 255, .26);
  --ink: #f6efff;
  --ink-2: #d9cbf3;
  --ink-3: #ad9cd3;
  --pink: #ff5fae;
  --magenta: #ff3dd2;
  --cyan: #45efff;
  --amber: #ffc46b;
  --orange: #ff9157;
  --violet: #9a6bff;
  --vfd: #7dffe0;
  --wrap: 74rem;
  --measure: 41rem;
  --player-h: 4.5rem;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans",
    "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Yu Gothic", Meiryo, "Noto Sans CJK JP", "Noto Sans JP", sans-serif;
  --font-display: "Dela Gothic One", "Avenir Next", Avenir, Futura, "Century Gothic", Bahnschrift, "Segoe UI", Roboto, "Helvetica Neue", Arial,
    "Hiragino Sans", "Yu Gothic", "Noto Sans CJK JP", sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Cascadia Mono", "Segoe UI Mono", Menlo, Consolas, "Roboto Mono", "DejaVu Sans Mono", monospace;
  --font-jp: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", YuGothic, "Yu Gothic UI", Meiryo, "Noto Sans CJK JP",
    "Noto Sans JP", "IPAPGothic", sans-serif;
  --font-jp-display: "Dela Gothic One", var(--font-jp);
  --font-jp-serif: "Hiragino Mincho ProN", "Yu Mincho", YuMincho, "Noto Serif CJK JP", "Noto Serif JP", "MS PMincho", serif;
  --font-hand: "Segoe Print", "Bradley Hand", "Chalkboard SE", "Comic Neue", "Comic Sans MS", cursive;
}
html:lang(ru) {
  --font-display: "Dela Gothic One", "Avenir Next", Bahnschrift, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--bg); scroll-behavior: smooth; scroll-padding-bottom: calc(var(--player-h) + 1rem); }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg) radial-gradient(120% 50% at 50% -8%, #23134a 0%, rgba(35, 19, 74, 0) 62%) no-repeat;
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--font-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
html.js body { padding-bottom: calc(var(--player-h) + env(safe-area-inset-bottom, 0px)); }
html:not(.js) .player { display: none; }
img, svg { display: block; max-width: 100%; }
a { color: var(--cyan); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--pink); }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }
main:focus { outline: none; }
::selection { background: rgba(255, 61, 210, .45); color: #fff; }
[lang="ja"] { font-family: var(--font-jp); }
[hidden] { display: none !important; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
.wrap { width: min(100% - 2rem, var(--wrap)); margin-inline: auto; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { width: 1.25em; height: 1.25em; flex: none; }
.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 300;
  background: var(--ink); color: var(--bg); padding: .55rem .9rem; border-radius: 8px; font-weight: 700; text-decoration: none;
}
.skip:focus { top: 1rem; color: var(--bg); }
.empty { color: var(--ink-3); font-size: .95rem; }

/* ---------------------------------------------------------------- header */
.site-header { position: relative; z-index: 20; }
.hdr { display: flex; align-items: center; flex-wrap: wrap; gap: .8rem 1.4rem; padding: 1.1rem 0; }
.brand { display: block; flex: none; width: clamp(150px, 16vw, 196px); color: inherit; }
.brand:hover { filter: brightness(1.12); }
.wm { width: 100%; height: auto; overflow: visible; }
.nav { margin-left: auto; }
.nav ul { display: flex; flex-wrap: wrap; gap: .15rem; margin: 0; padding: 0; list-style: none; }
.nav a {
  display: block; padding: .32rem .7rem .42rem; border-radius: 10px; color: var(--ink-2); text-decoration: none;
  font: 700 .92rem/1.2 var(--font-body); letter-spacing: .01em;
}
.nav ruby { ruby-position: over; }
.nav rt { font: 700 .56rem/1.4 var(--font-jp); letter-spacing: .18em; color: var(--pink); text-align: center; }
.nav a:hover { color: #fff; background: rgba(255, 255, 255, .07); }
.nav a[aria-current="page"] {
  color: #fff; background: rgba(255, 61, 210, .16);
  box-shadow: inset 0 0 0 1px rgba(255, 61, 210, .5), 0 0 18px -4px rgba(255, 61, 210, .7);
}
.nav a[aria-current="page"] rt { color: #ffd6ee; }
.lang {
  display: flex; align-items: center; gap: .15rem; padding: .2rem; border: 1px solid var(--line-2); border-radius: 999px;
  font: 700 .74rem/1 var(--font-mono); letter-spacing: .12em;
}
.lang a, .lang span { padding: .38rem .55rem; border-radius: 999px; text-decoration: none; }
.lang span { background: var(--ink); color: var(--bg); }
.lang a { color: var(--ink-2); }
.lang a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
@media (max-width: 760px) {
  .hdr { gap: .55rem; padding: .85rem 0 .5rem; }
  .lang { margin-left: auto; }
  .nav { order: 3; width: calc(100% + 1rem); margin: 0 -.5rem; overflow-x: auto; scrollbar-width: none; }
  .nav::-webkit-scrollbar { display: none; }
  .nav ul { flex-wrap: nowrap; gap: 0; justify-content: space-between; min-width: max-content; width: 100%; }
  .nav a { padding: .3rem .5rem .38rem; font-size: .84rem; }
  .nav rt { font-size: .5rem; letter-spacing: .1em; }
}
/* the Russian menu is the longest: keep all five items visible on 320-375px phones */
@media (max-width: 400px) { .nav a { padding: .3rem .3rem .38rem; font-size: .8rem; letter-spacing: 0; } }
@media (max-width: 340px) { .nav a { padding-inline: .18rem; font-size: .76rem; } .nav rt { letter-spacing: .04em; } }

/* ------------------------------------------------------- neon wordmark */
.wm-i-glow { opacity: 0; animation: i-flicker 9s steps(1, end) infinite; }
.sign-i { opacity: 0; animation: i-flicker 11s steps(1, end) -4s infinite; }
@keyframes i-flicker {
  0%, 100% { opacity: 0; }
  61% { opacity: .85; } 61.6% { opacity: 0; } 62.3% { opacity: .55; } 62.9% { opacity: 0; }
  88% { opacity: .3; } 88.4% { opacity: 0; }
}
.is-playing .sign-i { animation-duration: 4.2s; }
.sign-on { animation: buzz 7s steps(1, end) infinite; }
@keyframes buzz { 0%, 100% { opacity: 1; } 31% { opacity: .82; } 31.5% { opacity: 1; } 74% { opacity: .9; } 74.4% { opacity: 1; } }

/* ------------------------------------------------------------------ hero */
.hero { position: relative; isolation: isolate; overflow: hidden; background: #090521; --beat: 0; --lvl: 0; }
.hero-stage { position: relative; }
.hero-art { width: 100%; height: auto; }
.hero-art text { font-family: var(--font-jp); font-weight: 700; }
.hero-stage::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 2;
  background:
    linear-gradient(180deg, rgba(12, 9, 34, 0) 82%, var(--bg) 100%),
    radial-gradient(120% 90% at 50% 38%, rgba(5, 3, 18, 0) 55%, rgba(5, 3, 18, .5) 100%);
}
.hero-copy { position: relative; z-index: 4; }
.hero-copy-in { max-width: 58rem; }
.hero h1 { max-width: 100%; margin: 0 0 1.1rem; font: 400 clamp(2.5rem, min(5.6vw, 9.6vh), 4.6rem)/1.02 var(--font-display); letter-spacing: -.01em; }
.lede {
  max-width: min(30rem, 40vw); margin: 0 0 1.7rem; color: var(--ink-2); font-size: clamp(1.03rem, 1.3vw, 1.17rem); line-height: 1.6;
  text-shadow: 0 1px 14px rgba(9, 5, 33, .9);
}
.keys { display: flex; flex-wrap: wrap; gap: .85rem; }
.hero .keys { max-width: 31rem; gap: .75rem; }
.osd {
  position: absolute; z-index: 3; margin: 0; pointer-events: none;
  font: 700 clamp(.78rem, 1.15vw, 1.02rem)/1 var(--font-mono); letter-spacing: .14em; color: #f2fbff;
  text-shadow: 2px 2px 0 rgba(0, 0, 0, .6), 0 0 8px rgba(160, 230, 255, .65);
}
.osd-play { left: clamp(1rem, 3vw, 2.6rem); bottom: clamp(3.2rem, 9%, 6rem); }
.osd-time { right: clamp(1rem, 3vw, 2.6rem); bottom: clamp(3.2rem, 9%, 6rem); }
.osd-play b { color: #ffb3c8; font-weight: 700; }
.is-playing .osd-play b { color: #7dffb0; }
.hero-vert {
  position: absolute; z-index: 3; right: clamp(1rem, 4.2vw, 4rem); top: 24%; margin: 0;
  writing-mode: vertical-rl; font: 600 clamp(.95rem, 1.3vw, 1.2rem)/1 var(--font-jp-serif); letter-spacing: .5em;
  color: rgba(255, 244, 252, .9); text-shadow: 0 0 10px rgba(255, 61, 210, .7), 0 2px 10px rgba(0, 0, 0, .8);
}
/* the city reacts to the music: the sun and the sign breathe with the kick drum */
.hero-glow { position: absolute; z-index: 1; pointer-events: none; border-radius: 50%; opacity: 0; transition: opacity .6s ease; }
.is-playing .hero-glow { opacity: calc(.35 + var(--beat) * .65); transition: none; }
.hero-glow-sun { left: 77%; top: 50%; width: 26%; aspect-ratio: 1; transform: translate(-50%, -50%) scale(calc(1 + var(--beat) * .08)); background: radial-gradient(closest-side, rgba(255, 196, 120, .55), rgba(255, 110, 140, .18) 55%, rgba(255, 110, 140, 0)); mix-blend-mode: screen; }
.hero-glow-sign { left: 58%; top: 43%; width: 30%; aspect-ratio: 2.4; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(255, 70, 210, .5), rgba(255, 70, 210, 0)); mix-blend-mode: screen; }
.hero-eq {
  position: absolute; z-index: 1; left: 0; right: 0; bottom: 18%; height: 14%; display: flex; align-items: flex-end; gap: .35%;
  padding: 0 2%; pointer-events: none; opacity: 0; transition: opacity .8s ease; mix-blend-mode: screen;
}
.is-playing .hero-eq { opacity: .55; }
.hero-eq i { flex: 1; height: 100%; transform-origin: bottom; transform: scaleY(.05); background: linear-gradient(0deg, rgba(69, 239, 255, .0), rgba(69, 239, 255, .45) 40%, rgba(255, 79, 214, .55)); border-radius: 2px 2px 0 0; }
.hero-weather { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; pointer-events: none; }
.wx {
  position: absolute; z-index: 5; right: clamp(1rem, 3vw, 2.6rem); top: clamp(5.6rem, 13%, 8rem);
  display: none; align-items: center; gap: .45rem; padding: .4rem .75rem .4rem .55rem; border-radius: 999px; cursor: pointer;
  border: 1px solid rgba(255, 255, 255, .22); background: rgba(12, 9, 34, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  font: 700 .78rem/1 var(--font-body); letter-spacing: .02em; color: #fff;
}
.js .wx { display: inline-flex; }
.wx:hover { border-color: var(--pink); }
.wx-ic { font-size: 1rem; line-height: 1; width: 1.1rem; text-align: center; }
@media (min-width: 900px) and (orientation: landscape) {
  .home .site-header { position: absolute; top: 0; left: 0; right: 0; }
  .hero { height: 100vh; height: max(100svh, 53vw); min-height: 680px; }
  .hero-stage { position: absolute; inset: 0; }
  .hero-art { position: absolute; inset: 0; width: 100%; height: 100%; }
  .hero-copy { padding-top: clamp(6.6rem, 16vh, 11.5rem); }
  .hero-copy-in::before {
    content: ""; position: absolute; z-index: -1; left: -12vw; top: -14vh; width: 62rem; height: 36rem; pointer-events: none;
    background: radial-gradient(closest-side, rgba(9, 5, 33, .6), rgba(9, 5, 33, 0));
  }
  .hero-vert { top: 30%; }
}
/* phones and portrait tablets: text first, then the city, cropped to its busy right half */
@media (max-width: 899px), (orientation: portrait) {
  .hero { background: none; }
  .hero-copy { padding: 1.4rem 0 .4rem; }
  .lede { max-width: 34rem; }
  .hero-stage { height: min(118vw, 640px); overflow: hidden; }
  .hero-stage::before {
    content: ""; position: absolute; z-index: 3; inset: 0 0 auto; height: 16%; pointer-events: none;
    background: linear-gradient(180deg, var(--bg), rgba(12, 9, 34, 0));
  }
  .hero-art {
    position: absolute; top: 0; left: 50%; height: 100%; max-width: none;
    width: max(100%, calc(min(118vw, 640px) * 1.6)); transform: translateX(-50%);
  }
  .osd-play, .osd-time { bottom: 9%; }
  .hero-vert { top: 14%; right: 1rem; font-size: .9rem; }
  .wx { top: auto; bottom: calc(9% + 2rem); right: 1rem; }
  .hero-glow { display: none; }
  .hero-eq { bottom: 16%; }
}
@media (max-width: 899px) { .hero-art { transform: translateX(-56%); } }
@media (max-width: 600px) { .hero-art { transform: translateX(-66%); } }

/* chrome title: pale top, hard horizon, sunset bottom */
.chrome {
  background: linear-gradient(180deg, #fff 0%, #ffe6f7 46%, #ff8fd2 49%, #ff6fb0 52%, #ffb36b 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  filter: drop-shadow(0 0 .22em rgba(255, 61, 210, .5));
}

/* kicker line with katakana */
.kicker {
  display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .85rem; margin: 0 0 1rem;
  font: 700 .82rem/1.3 var(--font-body); letter-spacing: .04em; color: var(--ink-2);
}
.kicker [lang="ja"], .neon-c {
  font: 400 1rem/1 var(--font-jp-display); letter-spacing: .16em; text-transform: none; color: #c4fbff;
  text-shadow: 0 0 6px rgba(69, 239, 255, .85), 0 0 18px rgba(69, 239, 255, .45);
}

/* tape-deck keys: links and buttons */
.key {
  display: inline-flex; align-items: center; gap: .6rem; padding: .82rem 1.15rem .78rem; border-radius: 10px; cursor: pointer;
  background: linear-gradient(180deg, #3b306c 0%, #241a4a 55%, #1a1338 100%);
  border: 1px solid rgba(255, 255, 255, .13);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), inset 0 -2px 0 rgba(0, 0, 0, .35), 0 5px 0 #06041a, 0 12px 26px -10px rgba(0, 0, 0, .7);
  color: var(--ink); text-decoration: none; font: 700 .9rem/1.15 var(--font-body); letter-spacing: .01em;
  transition: transform .12s ease, box-shadow .12s ease, color .12s ease;
}
.key .ic { width: 1.15rem; height: 1.15rem; color: var(--cyan); filter: drop-shadow(0 0 5px rgba(69, 239, 255, .6)); }
.key:hover {
  color: #fff; transform: translateY(2px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), inset 0 -2px 0 rgba(0, 0, 0, .35), 0 3px 0 #06041a, 0 8px 20px -10px rgba(0, 0, 0, .7), 0 0 22px -6px rgba(255, 61, 210, .6);
}
.key:active { transform: translateY(5px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 0 0 #06041a; }
.key-main { background: linear-gradient(180deg, #ff6fbf 0%, #e8339d 55%, #b81f7c 100%); border-color: rgba(255, 255, 255, .3); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), inset 0 -2px 0 rgba(0, 0, 0, .25), 0 5px 0 #5a0b3c, 0 14px 30px -10px rgba(255, 61, 210, .65); }
.key-main .ic { color: #fff; filter: none; }
.key-main:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), inset 0 -2px 0 rgba(0, 0, 0, .25), 0 3px 0 #5a0b3c, 0 10px 26px -8px rgba(255, 61, 210, .8); }
.key-main:active { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 0 0 #5a0b3c; }
.key-main.is-playing .ic { animation: pulse 1s ease-in-out infinite alternate; }
@keyframes pulse { to { opacity: .45; } }
.led { flex: none; width: .55rem; height: .55rem; border-radius: 50%; background: #ff3d6e; box-shadow: 0 0 0 2px rgba(0, 0, 0, .4), 0 0 10px #ff3d6e; }
.led.go { background: #4dff9a; box-shadow: 0 0 0 2px rgba(0, 0, 0, .4), 0 0 10px #4dff9a; }
.sym { font-size: .95rem; letter-spacing: 0; color: var(--cyan); text-shadow: 0 0 8px rgba(69, 239, 255, .7); }

/* chips: small round toggles */
.chip {
  display: inline-flex; align-items: center; gap: .4rem; padding: .48rem .85rem; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04); color: var(--ink-2);
  font: 700 .86rem/1.1 var(--font-body);
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.chip:hover { border-color: var(--pink); color: #fff; }
.chip[aria-pressed="true"], .chip[aria-checked="true"] {
  color: #fff; background: rgba(255, 61, 210, .2); border-color: rgba(255, 61, 210, .75); box-shadow: 0 0 16px -6px rgba(255, 61, 210, .9);
}
.chip-quiet { color: var(--ink-3); }
.chip-ic .ic { width: 1.05rem; height: 1.05rem; }
.chips { display: flex; flex-wrap: wrap; gap: .45rem; }

/* ----------------------------------------------------------- on air strip */
.onair {
  display: flex; align-items: center; gap: 1rem; margin-top: clamp(1.5rem, 4vw, 2.5rem); padding: .85rem 1.1rem;
  border: 1px solid var(--line); border-radius: 12px; background: linear-gradient(90deg, rgba(255, 61, 210, .08), rgba(69, 239, 255, .05));
}
.onair-lamp {
  flex: none; padding: .32rem .55rem; border-radius: 6px; border: 1px solid rgba(255, 90, 110, .35); background: #2a0d18;
  font: 400 .92rem/1 var(--font-jp-display); letter-spacing: .14em; color: #6e2a38; transition: color .3s ease, box-shadow .3s ease, background .3s ease;
}
.is-playing .onair-lamp { color: #fff; background: #e8183c; border-color: #ff8095; box-shadow: 0 0 18px rgba(255, 40, 80, .75), inset 0 0 8px rgba(255, 255, 255, .35); }
.onair-text { margin: 0; min-width: 0; font-size: .95rem; color: var(--ink-2); }
.onair-l { display: block; font: 700 .72rem/1.4 var(--font-body); letter-spacing: .06em; color: var(--pink); }
.onair-now { color: var(--ink); font-weight: 700; }
.onair-idle { color: var(--ink-3); font-weight: 400; }
.onair .eq { margin-left: auto; }
.lcd {
  display: flex; align-items: center; gap: .75rem; padding: .45rem .7rem; border-radius: 6px; background: #05120c;
  box-shadow: inset 0 0 0 1px rgba(61, 240, 166, .28), inset 0 0 18px rgba(61, 240, 166, .08);
  color: #46f3ac; font: 700 .66rem/1 var(--font-mono); letter-spacing: .14em; text-shadow: 0 0 6px rgba(61, 240, 166, .75);
}
.lcd i { font-style: normal; opacity: .85; }
.lcd sub { font-size: .7em; vertical-align: baseline; position: relative; top: .25em; }
.lcd b { font-size: 1rem; letter-spacing: .1em; font-variant-numeric: tabular-nums; }
@media (max-width: 760px) { .lcd { display: none; } }
.eq { display: flex; align-items: flex-end; gap: 3px; height: 26px; flex: none; }
.eq i { display: block; width: 4px; height: 30%; border-radius: 1px; background: linear-gradient(var(--cyan), var(--magenta)); transform-origin: bottom; transform: scaleY(.3); }
.is-playing .eq i { animation: eq 1.1s ease-in-out infinite alternate; }
.eq i:nth-child(2) { animation-duration: .8s; height: 70%; }
.eq i:nth-child(3) { animation-duration: 1.3s; height: 50%; }
.eq i:nth-child(4) { animation-duration: .95s; height: 85%; }
.eq i:nth-child(5) { animation-duration: 1.2s; height: 40%; }
@keyframes eq { 0% { transform: scaleY(.35); } 100% { transform: scaleY(1); } }

/* --------------------------------------------------------------- sections */
.sec { padding: clamp(2.8rem, 7vw, 5.2rem) 0; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 1rem 2rem; margin-bottom: 1.8rem; }
.sec-title { display: flex; align-items: center; gap: .9rem; margin: 0; font: 400 clamp(1.55rem, 3vw, 2.2rem)/1.15 var(--font-display); letter-spacing: 0; }
.sec-lede { max-width: 40rem; margin: .7rem 0 0; color: var(--ink-2); }
.stamp {
  flex: none; padding: .45em .3em; border: 1px solid rgba(69, 239, 255, .45); border-radius: 4px;
  writing-mode: vertical-rl; font: 400 .82rem/1 var(--font-jp-display); letter-spacing: .22em; color: #c4fbff;
  text-shadow: 0 0 6px rgba(69, 239, 255, .8); box-shadow: 0 0 14px -4px rgba(69, 239, 255, .6), inset 0 0 10px -4px rgba(69, 239, 255, .6);
}
.sec-more { font: 700 .92rem/1 var(--font-body); text-decoration: none; padding: .55rem .95rem; border: 1px solid var(--line-2); border-radius: 999px; color: var(--ink-2); }
.sec-more:hover { border-color: var(--pink); color: #fff; }

/* --------------------------------------------------- albums with obi */
.albums { display: grid; gap: clamp(1.2rem, 2.6vw, 2rem); grid-template-columns: repeat(4, minmax(0, 1fr)); }
.albums.albums-big { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.6rem, 3vw, 2.6rem) clamp(1.4rem, 3vw, 2.4rem); }
.albums-big .album { display: grid; grid-template-columns: minmax(0, 15.5rem) minmax(0, 1fr); gap: 1.4rem; align-items: center; }
.albums-big .album-text { padding: 0; }
.album-excerpt { margin: .6rem 0 1rem; color: var(--ink-2); font-size: .93rem; line-height: 1.55; }
.album-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.album-actions .key { padding: .6rem .9rem; font-size: .84rem; }
@media (max-width: 1100px) { .albums.albums-big { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 1000px) { .albums { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) {
  .albums:not(.albums-big) { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 74%; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 1rem; padding: .4rem 1rem .8rem; margin-inline: -1rem; scrollbar-width: thin; }
  .albums:not(.albums-big) .album { scroll-snap-align: start; }
  .albums-big .album { grid-template-columns: minmax(0, 9rem) minmax(0, 1fr); gap: 1rem; align-items: start; }
  .albums-big .album-excerpt { display: none; }
}
.album { position: relative; min-width: 0; }
.album-sleeve { position: relative; perspective: 900px; container-type: inline-size; }
.album-cover {
  display: block; border-radius: 4px; overflow: hidden; background: #000;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 24px 40px -20px rgba(0, 0, 0, .95), 0 4px 0 rgba(0, 0, 0, .3);
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s ease;
  transform-origin: 50% 100%;
}
.album-cover img { width: 100%; height: auto; aspect-ratio: 1; }
.album:hover .album-cover, .album:focus-within .album-cover { transform: translateY(-6px) rotateX(4deg); box-shadow: 0 0 0 1px var(--obi), 0 0 40px -10px var(--obi), 0 30px 50px -22px rgba(0, 0, 0, .95); }
.obi {
  position: absolute; left: -2px; top: -2px; bottom: -2px; width: 17%; z-index: 2; pointer-events: none;
  display: flex; flex-direction: column; align-items: center; gap: 2cqw; padding: 0 0 2.4cqw;
  background: linear-gradient(180deg, var(--obi) 0 22%, #f7f3ff 22% 100%); color: var(--obi-ink);
  border-radius: 3px 0 0 3px; box-shadow: 2px 0 6px rgba(0, 0, 0, .35), inset -1px 0 0 rgba(0, 0, 0, .12);
  transition: transform .35s cubic-bezier(.2, .8, .2, 1);
}
.album:hover .obi, .album:focus-within .obi { transform: translateX(-4px) translateY(-6px); }
.obi > span { white-space: nowrap; writing-mode: vertical-rl; }
.obi { overflow: hidden; }
@container (max-width: 300px) { .obi-cat { display: none; } }
@container (max-width: 190px) { .obi-note, .obi-artist { display: none; } }
.obi-ja {
  margin-top: 25cqw; font: 400 .9rem/1 var(--font-jp-display); letter-spacing: .04em; color: #15111a;
  font-size: min(1.05rem, calc(46cqw / var(--len, 6)));
}
.obi-artist { font: 700 .58rem/1 var(--font-jp); letter-spacing: .3em; color: #4a3b52; font-size: min(.62rem, 2.4cqw); }
/* the catalogue number sits across the coloured band at the top, like a label logo */
.obi > .obi-cat { position: absolute; top: 3.4cqw; left: 0; right: 0; writing-mode: horizontal-tb; text-align: center; font: 700 .5rem/1 var(--font-mono); letter-spacing: .06em; color: var(--obi-ink); opacity: .75; font-size: min(.6rem, 2.3cqw); }
.obi-note { margin-top: auto; padding: 1cqw .1rem; border: 1px solid #c4283a; color: #c4283a; font: 700 .5rem/1 var(--font-jp); letter-spacing: .1em; font-size: min(.55rem, 2.1cqw); }
.album-play {
  position: absolute; z-index: 3; right: 6%; bottom: 6%; width: 3.2rem; height: 3.2rem; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center; border: 2px solid rgba(255, 255, 255, .85); color: #fff;
  background: rgba(12, 9, 34, .55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  box-shadow: 0 8px 22px -6px rgba(0, 0, 0, .8); transition: transform .2s ease, background .2s ease, opacity .2s ease;
}
.album-play .ic { width: 1.45rem; height: 1.45rem; margin-left: 2px; }
.album-play:hover { background: var(--obi); color: var(--obi-ink); transform: scale(1.08); }
@media (hover: hover) { .album-play { opacity: 0; } .album:hover .album-play, .album:focus-within .album-play, .album-play.is-current { opacity: 1; } }
.album-play.is-playing { background: var(--obi); color: var(--obi-ink); animation: spin-glow 1.6s ease-in-out infinite alternate; }
@keyframes spin-glow { to { box-shadow: 0 0 0 6px rgba(255, 255, 255, .12), 0 0 26px var(--obi); } }
.album-text { padding: .95rem .1rem 0 .1rem; }
.album-title { margin: 0 0 .35rem; font: 400 1.12rem/1.25 var(--font-display); }
.albums-big .album-title { font-size: 1.4rem; }
.album-title a { color: var(--ink); text-decoration: none; }
.album-title a:hover { color: var(--pink); }
.album-meta { display: flex; flex-wrap: wrap; gap: .2rem .8rem; margin: 0; color: var(--ink-3); font-size: .86rem; }

/* ----------------------------------------------------------- track lists */
.tracks-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.tr {
  display: grid; grid-template-columns: 3.4rem minmax(0, 1fr) 11rem 5.5rem 4rem 2.8rem; align-items: center; gap: .3rem .8rem;
  padding: .55rem .4rem; border-bottom: 1px solid var(--line); border-radius: 0; transition: background .15s ease;
}
.tr:hover { background: rgba(255, 255, 255, .035); }
.tr-head { padding-block: .5rem; color: var(--ink-3); font: 700 .74rem/1 var(--font-body); letter-spacing: .04em; }
.tr-head:hover { background: none; }
.tr-head span:first-child { text-align: center; }
.tr-play {
  position: relative; display: grid; place-items: center; width: 2.6rem; height: 2.6rem; margin: 0 auto; border-radius: 50%; cursor: pointer;
  border: 1px solid transparent; background: none; color: var(--ink-3);
}
.tr-no { font: 700 .95rem/1 var(--font-mono); font-variant-numeric: tabular-nums; }
.tr-play .tr-ic { position: absolute; width: 1.15rem; height: 1.15rem; opacity: 0; color: #fff; }
.tr:hover .tr-play .tr-no, .tr-play:focus-visible .tr-no { opacity: 0; }
.tr:hover .tr-play .tr-ic, .tr-play:focus-visible .tr-ic { opacity: 1; }
.tr-play:hover { border-color: var(--pink); }
.tr-eq { position: absolute; display: none; align-items: flex-end; gap: 2px; height: 14px; }
.tr-eq i { width: 3px; height: 100%; background: var(--pink); transform-origin: bottom; animation: eq .9s ease-in-out infinite alternate; }
.tr-eq i:nth-child(2) { animation-duration: .7s; }
.tr-eq i:nth-child(3) { animation-duration: 1.1s; }
.tr.is-current { background: linear-gradient(90deg, rgba(255, 61, 210, .14), rgba(255, 61, 210, 0)); }
.tr.is-current .tr-ja { color: #ffd6ee; }
.tr.is-playing .tr-no, .tr.is-playing:hover .tr-ic { opacity: 0; }
.tr.is-playing .tr-eq { display: flex; }
.tr.is-linked { box-shadow: inset 3px 0 0 var(--cyan); }
.tr-title { display: flex; flex-wrap: wrap; align-items: baseline; gap: .1rem .7rem; min-width: 0; }
.tr-ja { font: 700 1.02rem/1.35 var(--font-jp); color: var(--ink); }
.tr-local { color: var(--ink-2); font-size: .95rem; }
.tr-romaji { flex-basis: 100%; color: var(--ink-3); font-size: .78rem; letter-spacing: .02em; }
.tr-album { flex-basis: 100%; font-size: .8rem; color: var(--ink-3); text-decoration: none; }
.tr-album:hover { color: var(--pink); }
.tr-key { display: flex; flex-direction: column; color: var(--ink-2); font-size: .86rem; line-height: 1.3; }
.tr-key [lang="ja"] { font-weight: 700; color: var(--ink-2); }
.tr-key-l { color: var(--ink-3); font-size: .78rem; }
.tr-bpm { color: var(--ink-2); font: 700 .86rem/1 var(--font-mono); }
.tr-bpm small { color: var(--ink-3); font-size: .7rem; }
.tr-dur { color: var(--ink-2); font: 700 .86rem/1 var(--font-mono); font-variant-numeric: tabular-nums; text-align: right; }
.tr-like { justify-self: end; }
@media (max-width: 760px) {
  .tr { grid-template-columns: 2.8rem minmax(0, 1fr) 3.4rem 2.6rem; gap: .2rem .5rem; padding-inline: 0; }
  .tr .tr-key, .tr .tr-bpm, .tr-head .tr-key, .tr-head .tr-bpm { display: none; }
  .tr-play { width: 2.4rem; height: 2.4rem; }
  .tr-romaji { display: none; }
}

/* --------------------------------------------------------------- buttons in the player */
.pl-btn {
  position: relative; display: inline-grid; place-items: center; width: 2.5rem; height: 2.5rem; flex: none; padding: 0; border: 0; border-radius: 50%;
  background: none; color: var(--ink-2); cursor: pointer; transition: color .15s ease, background .15s ease;
}
.pl-btn:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.pl-btn:disabled { opacity: .35; cursor: default; background: none; }
.pl-btn .ic { width: 1.3rem; height: 1.3rem; }
.pl-btn[aria-pressed="true"] { color: var(--pink); }
.pl-btn[data-act="shuffle"][aria-pressed="true"], .pl-btn[data-act="repeat"][aria-pressed="true"] { color: var(--cyan); }
.pl-btn[data-act="shuffle"][aria-pressed="true"]::after, .pl-btn[data-act="repeat"][aria-pressed="true"]::after {
  content: ""; position: absolute; bottom: .18rem; left: 50%; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: currentColor;
}
.pl-one { position: absolute; top: .3rem; right: .32rem; display: none; font: 800 .55rem/1 var(--font-mono); color: var(--cyan); }
[data-mode="one"] .pl-one { display: block; }
.i-heart-on, .i-pause { display: none; }
[aria-pressed="true"] > .i-heart { display: none; }
[aria-pressed="true"] > .i-heart-on { display: block; }
.pl-play.is-on .i-play { display: none; }
.pl-play.is-on .i-pause { display: block; }
.pl-play { width: 3rem; height: 3rem; color: #fff; background: linear-gradient(180deg, #ff6fbf, #d42b8f); box-shadow: 0 0 0 1px rgba(255, 255, 255, .25), 0 6px 18px -6px rgba(255, 61, 210, .8); }
.pl-play:hover { background: linear-gradient(180deg, #ff8acb, #e8339d); }
.pl-play .ic { width: 1.35rem; height: 1.35rem; }
.pl-play .i-play { margin-left: 2px; }
.pl-big { width: 4rem; height: 4rem; }
.pl-big .ic { width: 1.7rem; height: 1.7rem; }

/* range sliders */
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 1.4rem; margin: 0; background: none; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--pink), var(--cyan)) 0 0 / var(--fill, 0%) 100% no-repeat, rgba(255, 255, 255, .16); }
input[type="range"]::-moz-range-track { height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .16); }
input[type="range"]::-moz-range-progress { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--pink), var(--cyan)); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; margin-top: -5px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px rgba(255, 61, 210, .45), 0 0 10px rgba(255, 61, 210, .8); }
input[type="range"]::-moz-range-thumb { width: 14px; height: 14px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px rgba(255, 61, 210, .45), 0 0 10px rgba(255, 61, 210, .8); }
input[type="range"]:focus-visible { outline: none; }
input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 3px var(--cyan), 0 0 12px var(--cyan); }
input[type="range"]:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 3px var(--cyan), 0 0 12px var(--cyan); }

/* ----------------------------------------------------------------- player */
.player {
  position: fixed; z-index: 120; left: 0; right: 0; bottom: 0; padding-bottom: env(safe-area-inset-bottom, 0px);
  background: rgba(14, 10, 38, .92); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3);
  border-top: 1px solid rgba(255, 61, 210, .35); box-shadow: 0 -10px 30px -10px rgba(0, 0, 0, .8);
}
.player::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: linear-gradient(90deg, transparent, var(--magenta) 30%, var(--cyan) 70%, transparent); opacity: .8; }
.pl-progress { position: absolute; left: 0; right: 0; top: 0; height: 2px; overflow: hidden; display: none; }
.pl-progress i { display: block; height: 100%; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, var(--pink), var(--cyan)); }
.pl-bar {
  display: grid; grid-template-columns: auto minmax(9rem, 19rem) auto minmax(12rem, 1fr) auto; align-items: center; gap: .9rem;
  width: min(100% - 1.5rem, 90rem); height: var(--player-h); margin-inline: auto;
}
.pl-cover { position: relative; width: 3.2rem; height: 3.2rem; padding: 0; border: 0; border-radius: 4px; overflow: hidden; cursor: pointer; background: #000; box-shadow: 0 0 0 1px rgba(255, 255, 255, .14); }
.pl-cover img { width: 100%; height: 100%; }
.pl-eq { position: absolute; inset: auto 0 0 0; height: 40%; display: flex; align-items: flex-end; justify-content: center; gap: 2px; padding-bottom: 4px; background: linear-gradient(0deg, rgba(0, 0, 0, .7), transparent); opacity: 0; transition: opacity .2s ease; }
.pl-eq i { width: 3px; height: 70%; background: #fff; transform-origin: bottom; animation: eq .8s ease-in-out infinite alternate; animation-play-state: paused; }
.pl-eq i:nth-child(2) { animation-duration: .6s; }
.pl-eq i:nth-child(3) { animation-duration: 1s; }
.is-playing .pl-eq { opacity: 1; }
.is-playing .pl-eq i { animation-play-state: running; }
.pl-meta { min-width: 0; }
.pl-title, .pl-sub { margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl-title { font-size: .98rem; line-height: 1.3; }
.pl-ja { margin-right: .5rem; font-weight: 700; color: #fff; }
.pl-local { color: var(--ink-2); }
.pl-sub { font-size: .8rem; color: var(--ink-3); }
.pl-sec { margin-left: .6rem; padding: .05rem .4rem; border-radius: 4px; background: rgba(69, 239, 255, .12); color: var(--vfd); font: 700 .7rem/1.4 var(--font-jp); }
.pl-sec:empty { display: none; }
.pl-transport { display: flex; align-items: center; gap: .3rem; }
.pl-seek { display: flex; align-items: center; gap: .65rem; min-width: 0; font: 700 .76rem/1 var(--font-mono); color: var(--ink-3); font-variant-numeric: tabular-nums; }
.pl-extra { display: flex; align-items: center; gap: .1rem; }
.pl-vol { display: flex; align-items: center; gap: .4rem; width: 7.5rem; padding: 0 .5rem; color: var(--ink-3); }
.pl-vol .ic { width: 1.1rem; height: 1.1rem; }
.player[data-state="idle"] .pl-local { color: var(--ink-3); }
@media (max-width: 1100px) { .pl-vol { display: none; } .pl-bar { grid-template-columns: auto minmax(8rem, 16rem) auto minmax(8rem, 1fr) auto; } }
@media (max-width: 760px) {
  :root { --player-h: 4.1rem; }
  .pl-progress { display: block; }
  .pl-bar { grid-template-columns: auto minmax(0, 1fr) auto auto; gap: .6rem; width: calc(100% - 1rem); }
  .pl-seek, .pl-extra .pl-btn:not(.pl-open), .pl-transport [data-act="prev"] { display: none; }
  .pl-cover { width: 2.8rem; height: 2.8rem; }
  .pl-play { width: 2.7rem; height: 2.7rem; }
  .pl-title { font-size: .92rem; }
}

/* ----------------------------------------------------------- the deck */
.deck { position: fixed; z-index: 140; inset: 0; display: grid; align-items: end; justify-items: center; }
.deck::before { content: ""; position: absolute; inset: 0; background: rgba(5, 3, 18, .72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .25s ease; }
.deck.is-open::before { opacity: 1; }
.deck-in {
  position: relative; width: min(100%, 64rem); max-height: min(92vh, 52rem); overflow: auto; overscroll-behavior: contain;
  padding: 1rem clamp(1rem, 3vw, 2rem) calc(1.4rem + env(safe-area-inset-bottom, 0px));
  border-radius: 20px 20px 0 0; border: 1px solid rgba(255, 61, 210, .35); border-bottom: 0;
  background: linear-gradient(180deg, #1d1450, #120c33 40%, #0c0922);
  box-shadow: 0 -20px 60px -20px rgba(255, 61, 210, .45);
  transform: translateY(105%); transition: transform .28s cubic-bezier(.2, .8, .2, 1);
}
.deck.is-open .deck-in { transform: none; }
@media (min-width: 900px) and (min-height: 640px) { .deck { align-items: center; } .deck-in { border-radius: 20px; border-bottom: 1px solid rgba(255, 61, 210, .35); transform: translateY(40px) scale(.98); opacity: 0; transition: transform .28s cubic-bezier(.2, .8, .2, 1), opacity .2s ease; } .deck.is-open .deck-in { opacity: 1; } }
.deck-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .6rem; }
.deck-station { display: flex; align-items: center; gap: .8rem; margin: 0; font: 700 .8rem/1 var(--font-mono); letter-spacing: .14em; color: var(--ink-3); }
.deck-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(1.2rem, 3vw, 2.4rem); align-items: start; }
@media (max-width: 820px) { .deck-grid { grid-template-columns: minmax(0, 1fr); } }
.deck-vis { display: block; width: 100%; height: 6.5rem; margin-top: 1rem; border-radius: 10px; background: #070616; box-shadow: inset 0 0 0 1px rgba(69, 239, 255, .18), inset 0 0 30px rgba(69, 239, 255, .06); }
.ticker { margin-top: .8rem; overflow: hidden; border-radius: 8px; background: #140600; box-shadow: inset 0 0 0 1px rgba(255, 150, 40, .25); }
.ticker-track { padding: .55rem 0; white-space: nowrap; }
.ticker-text {
  display: inline-block; padding-left: 100%; font: 700 1rem/1 var(--font-mono); letter-spacing: .12em; color: #ffb547;
  text-shadow: 0 0 8px rgba(255, 160, 40, .85); animation: ticker 20s linear infinite; animation-play-state: paused;
  background-image: radial-gradient(circle, rgba(0, 0, 0, .55) 1px, transparent 1.2px); background-size: 3px 3px; -webkit-background-clip: text; background-clip: text;
}
.ticker-text [lang], .ticker-text { font-family: var(--font-mono), var(--font-jp); }
.is-playing .ticker-text { animation-play-state: running; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-100%); } }
.deck-sec { display: flex; align-items: baseline; gap: .55rem; min-height: 1.6rem; margin: .2rem 0 .4rem; }
.deck-sec-ja { padding: .2rem .5rem; border-radius: 4px; background: rgba(69, 239, 255, .12); color: var(--vfd); font: 400 .95rem/1.2 var(--font-jp-display); }
.deck-sec-ja:empty { display: none; }
.deck-sec-l { color: var(--ink-3); font-size: .85rem; }
.deck-title { margin: 0 0 .3rem; display: flex; flex-direction: column; gap: .2rem; }
.deck-ja { font: 400 clamp(1.6rem, 3.4vw, 2.3rem)/1.15 var(--font-jp-display); color: #fff; text-shadow: 0 0 18px rgba(255, 61, 210, .5); }
.deck-local { font: 700 1.1rem/1.3 var(--font-body); color: var(--ink-2); }
.deck-album { margin: 0 0 1rem; }
.deck-album a { color: var(--cyan); text-decoration: none; font-weight: 700; }
.deck-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; margin: 0 0 1.1rem; }
.deck-facts div { padding: .55rem .7rem; border-radius: 8px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); }
.deck-facts dt { color: var(--ink-3); font: 700 .7rem/1.2 var(--font-body); letter-spacing: .04em; }
.deck-facts dd { margin: .2rem 0 0; font: 700 .86rem/1.3 var(--font-body); color: var(--ink); }
.deck-seek { display: flex; align-items: center; gap: .7rem; font: 700 .8rem/1 var(--font-mono); color: var(--ink-3); font-variant-numeric: tabular-nums; }
.deck-transport { display: flex; align-items: center; justify-content: center; gap: .7rem; margin: .9rem 0; }
.deck-row { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .7rem; padding: .7rem 0; border-top: 1px solid var(--line); }
.pl-vol-wide { display: flex; width: auto; flex: 1 1 8rem; padding: 0 .3rem; }
.deck-sleep { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; padding: .7rem 0; border-top: 1px solid var(--line); }
.deck-sleep-l { display: inline-flex; align-items: center; gap: .4rem; margin-right: .3rem; color: var(--ink-3); font-size: .86rem; }
.deck-sleep-l .ic { width: 1.05rem; height: 1.05rem; }
.deck-sleep .chip { padding: .38rem .7rem; font-size: .8rem; }
.deck-qh { margin: 1rem 0 .4rem; font: 700 .78rem/1 var(--font-body); letter-spacing: .06em; color: var(--ink-3); }
.deck-queue { margin: 0; padding: 0; list-style: none; }
.q-item { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: baseline; gap: .7rem; width: 100%; padding: .5rem .55rem; border: 0; border-radius: 8px; background: none; color: var(--ink-2); text-align: left; cursor: pointer; }
.q-item:hover { background: rgba(255, 255, 255, .05); color: #fff; }
.q-item.is-current { background: rgba(255, 61, 210, .12); color: #fff; }
.q-ja { font-weight: 700; }
.q-l { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: var(--ink-3); font-size: .88rem; }
.q-d { font: 700 .76rem/1 var(--font-mono); color: var(--ink-3); }
.deck-keys { margin: 1rem 0 0; color: var(--ink-3); font-size: .78rem; }
@media (hover: none) { .deck-keys { display: none; } }
.deck-open { overflow: hidden; }

/* ------------------------------------------------------- a cassette in CSS */
.cassette, .st-tape { --prog: 0; }
.cs-shell {
  position: relative; aspect-ratio: 10 / 6.3; border-radius: 4.5% / 7%; padding: 4.6% 5.5% 0;
  background: linear-gradient(180deg, #2c2357, #1a1338 70%, #120d2a); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14), inset 0 2px 0 rgba(255, 255, 255, .12), 0 26px 50px -24px rgba(0, 0, 0, .95);
}
.cs-shell::before, .cs-shell::after { content: ""; position: absolute; top: 3.6%; width: 2.2%; aspect-ratio: 1; border-radius: 50%; background: #0b0820; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .15); }
.cs-shell::before { left: 2.2%; }
.cs-shell::after { right: 2.2%; }
.cs-label {
  position: relative; height: 70%; border-radius: 5px; padding: 3% 4.2%; overflow: hidden;
  background: linear-gradient(180deg, #fff7fb 0 31%, var(--cs-band, #ff4fa3) 31% 39%, var(--cs-band2, #ffc46b) 39% 44%, #fff7fb 44%);
  color: #251630;
}
.cs-side { position: absolute; left: 4.2%; top: 7%; font: 400 clamp(.85rem, 2.2vw, 1.2rem)/1 var(--font-display); color: var(--cs-band, #ff4fa3); }
.cs-name { display: block; margin: 0 14% 0 9%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font: 700 clamp(.85rem, 2vw, 1.15rem)/1.5 var(--font-hand), var(--font-jp); color: #2a1a3c; }
.cs-cat { position: absolute; right: 4.2%; top: 9%; font: 700 .62rem/1 var(--font-mono); letter-spacing: .1em; color: #6d5a7c; }
.cs-window {
  position: absolute; left: 26%; right: 26%; top: 43%; height: 24%; border-radius: 999px; overflow: hidden; background: #0d0a1e;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .12), inset 0 6px 14px rgba(0, 0, 0, .6);
}
.cs-window::after { content: ""; position: absolute; left: 30%; right: 30%; top: 22%; bottom: 22%; border-radius: 3px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.cs-reel { position: absolute; top: 50%; height: 80%; aspect-ratio: 1; transform: translate(-50%, -50%); }
.cs-l { left: 16%; }
.cs-r { left: 84%; }
.cs-reel::before {
  content: ""; position: absolute; left: 50%; top: 50%; aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, #4a3326 0 70%, #2b1d14 71% 100%); box-shadow: 0 0 0 1px rgba(0, 0, 0, .6);
}
.cs-l::before { width: calc(112% + (1 - var(--prog)) * 150%); }
.cs-r::before { width: calc(112% + var(--prog) * 150%); }
.cs-reel b {
  position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle, #0d0a1e 0 20%, transparent 21%), conic-gradient(#f6efff 0 12%, #6b5a8e 12% 21%, #f6efff 21% 45%, #6b5a8e 45% 54%, #f6efff 54% 79%, #6b5a8e 79% 88%, #f6efff 88%);
  -webkit-mask: radial-gradient(circle, #000 0 66%, transparent 67%); mask: radial-gradient(circle, #000 0 66%, transparent 67%);
  animation: reel 1.8s linear infinite; animation-play-state: paused;
}
.cs-r b { animation-duration: 2.3s; }
.is-playing .cs-reel b { animation-play-state: running; }
@keyframes reel { to { transform: rotate(360deg); } }
.cs-bottom { position: absolute; left: 17%; right: 17%; bottom: 0; height: 15%; border-radius: 10px 10px 0 0; background: #120d2a; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1); }
.deck-left .cassette { max-width: 28rem; margin-inline: auto; }

/* ------------------------------------------------------------- the toast */
.toast {
  position: fixed; z-index: 160; left: 50%; bottom: calc(var(--player-h) + 1rem + env(safe-area-inset-bottom, 0px)); max-width: calc(100% - 2rem); margin: 0;
  padding: .65rem 1rem; border-radius: 10px; transform: translate(-50%, 1rem); opacity: 0; pointer-events: none;
  background: #f6efff; color: #1a1033; font: 700 .9rem/1.3 var(--font-body); box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .8);
  transition: opacity .2s ease, transform .2s ease;
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* --------------------------------------------------------- home: studio teaser */
.sec-studio { background: linear-gradient(180deg, rgba(255, 61, 210, 0), rgba(255, 61, 210, .06) 50%, rgba(255, 61, 210, 0)); }
.studio-teaser { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(1.6rem, 5vw, 4rem); align-items: center; }
.studio-teaser-text p { max-width: 36rem; color: var(--ink-2); }
.studio-try { margin: 1.4rem 0 .6rem; font-weight: 700; color: var(--ink) !important; }
.moods { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.6rem; }
.mood { --m: var(--pink); }
.mood::before { content: ""; width: .55rem; height: .55rem; border-radius: 50%; background: var(--m); box-shadow: 0 0 8px var(--m); }
.mood-citypop { --m: #ff4fa3; } .mood-lofi { --m: #c9a26b; } .mood-drive { --m: #ff3b4e; } .mood-anime { --m: #ffd23f; } .mood-ambient { --m: #5fe1ff; } .mood-matsuri { --m: #ff8a3d; }
.big-tape { position: relative; aspect-ratio: 10 / 6.4; max-width: 30rem; margin-inline: auto; border-radius: 4.5% / 7%; background: linear-gradient(160deg, #3a2d70, #1a1338); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16), 0 30px 60px -26px rgba(0, 0, 0, .95), 0 0 80px -30px rgba(255, 61, 210, .6); transform: rotate(-4deg); }
.bt-label { position: absolute; left: 6%; right: 6%; top: 7%; height: 46%; border-radius: 6px; padding: 4% 5%; display: flex; justify-content: space-between; align-items: flex-start; background: linear-gradient(180deg, #fff7fb 0 55%, #ff4fa3 55% 66%, #ffc46b 66% 74%, #fff7fb 74%); font: 400 clamp(1rem, 2.6vw, 1.6rem)/1 var(--font-jp-display); color: #2a1a3c; }
.bt-label span:last-child { font: 800 .8rem/1 var(--font-mono); letter-spacing: .2em; color: #e8183c; padding: .3rem .4rem; border: 2px solid #e8183c; border-radius: 4px; }
.bt-window { position: absolute; left: 24%; right: 24%; top: 60%; height: 20%; border-radius: 999px; background: #0d0a1e; }
.bt-window i { position: absolute; top: 50%; width: 26%; aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -50%); background: radial-gradient(circle, #0d0a1e 0 20%, transparent 21%), conic-gradient(#f6efff 0 12%, #6b5a8e 12% 21%, #f6efff 21% 45%, #6b5a8e 45% 54%, #f6efff 54% 79%, #6b5a8e 79% 88%, #f6efff 88%); animation: reel 3s linear infinite; }
.bt-window i:first-child { left: 20%; }
.bt-window i:last-child { left: 80%; animation-duration: 3.8s; }
@media (max-width: 760px) { .studio-teaser { grid-template-columns: 1fr; } .studio-teaser-art { order: -1; max-width: 18rem; } }

/* --------------------------------------------------------- who's at the window */
.winsec { display: grid; grid-template-columns: minmax(0, 13rem) minmax(0, 40rem); gap: clamp(1.5rem, 5vw, 3.5rem); align-items: center; }
.winsec-art .window-art { width: 100%; height: auto; border-radius: 16px; box-shadow: 0 0 0 1px var(--line), 0 0 60px -18px rgba(255, 185, 138, .45), 0 30px 60px -30px rgba(0, 0, 0, .9); transform: rotate(-1.5deg); }
.winsec-text p { margin: 1rem 0 1.5rem; color: var(--ink-2); font-size: 1.08rem; }
@media (max-width: 680px) { .winsec { grid-template-columns: 1fr; } .winsec-art { max-width: 10rem; } }

/* ----------------------------------------------------- inner page heads */
.page-head {
  --h1: #1a0f42; --h2: #4a1a70; --h3: #a02f7f; --h4: #f2697a;
  position: relative; padding: clamp(1.8rem, 5vw, 3.6rem) 0 clamp(6.5rem, 12vw, 9.5rem);
  background:
    url(/assets/img/skyline.svg) center bottom / max(100%, 1100px) auto no-repeat,
    linear-gradient(180deg, rgba(12, 9, 34, 0) 0%, var(--h1) 26%, var(--h2) 52%, var(--h3) 78%, var(--h4) 100%);
}
.page-head h1 { margin: 0 0 .8rem; font: 400 clamp(2.3rem, 5.6vw, 4.1rem)/1.05 var(--font-display); letter-spacing: 0; }
.page-head .lede { margin-bottom: 0; color: #f1e5ff; max-width: 40rem; }
.page-head.ph-archive { --h2: #2c1c78; --h3: #6b2b9a; --h4: #e0588a; }
.page-head.ph-playlists { --h2: #3b1466; --h3: #b0307a; --h4: #ff8a5e; }
.page-head.ph-about { --h2: #1e2a6e; --h3: #4b3c9a; --h4: #d9607f; }
.page-head.ph-shelf { --h2: #451873; --h3: #8e2a82; --h4: #ff7a6a; }
.page-head.ph-music { --h2: #2a1478; --h3: #8a2fa0; --h4: #ff6f9a; }
.page-head.ph-studio { --h2: #12306e; --h3: #3b4fb0; --h4: #ff5fae; }
.page-keys { margin-top: 1.6rem; align-items: center; }
.radio-note { color: #f1e5ff; font-size: .9rem; }
.page-link { margin: 1rem 0 0; }
.page-link a { color: #fff; font-weight: 700; }

/* ------------------------------------------------------------ music page */
.how { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 0 0 clamp(2.4rem, 5vw, 3.6rem); padding: 0; list-style: none; counter-reset: how; }
.how li { position: relative; padding: 1.1rem 1.2rem 1.15rem 3.4rem; border: 1px solid var(--line); border-radius: 12px; background: rgba(255, 255, 255, .03); color: var(--ink-2); font-size: .95rem; counter-increment: how; }
.how li::before { content: counter(how); position: absolute; left: 1.1rem; top: 1.05rem; width: 1.6rem; height: 1.6rem; display: grid; place-items: center; border-radius: 50%; background: var(--pink); color: #1d0a24; font: 800 .85rem/1 var(--font-mono); }
.how b { display: block; color: #fff; font: 400 1rem/1.3 var(--font-display); margin-bottom: .2rem; }
@media (max-width: 820px) { .how { grid-template-columns: 1fr; } }
.music-albums, .music-tracks, .music-liked { margin-bottom: clamp(2.6rem, 6vw, 4rem); }
.music-albums .sec-title, .music-tracks .sec-title, .music-liked .sec-title { margin-bottom: 1.5rem; }

/* ------------------------------------------------------------ album page */
.album-page { --obi: #ff4fa3; --obi-ink: #1d0a24; }
.album-hero { position: relative; padding: clamp(1.4rem, 4vw, 3rem) 0 clamp(2rem, 5vw, 3.6rem); background: linear-gradient(180deg, rgba(12, 9, 34, 0), color-mix(in srgb, var(--obi) 22%, #120c33) 60%, rgba(12, 9, 34, 0)); }
.album-hero-in { display: grid; grid-template-columns: minmax(0, 26rem) minmax(0, 1fr); gap: clamp(1.6rem, 5vw, 4rem); align-items: center; }
.album-sleeve-big .album-hero-cover { width: 100%; height: auto; border-radius: 4px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .14), 0 40px 70px -30px rgba(0, 0, 0, .95), 0 0 90px -40px var(--obi); }
.album-sleeve-big .obi { width: 15%; }
.album-sleeve-big .obi-ja { font-size: min(1.25rem, calc(46cqw / var(--len, 6))); }
.album-hero h1 { display: flex; flex-direction: column; gap: .35rem; margin: 0 0 .5rem; }
.album-h-ja { font: 400 clamp(2rem, 4.8vw, 3.6rem)/1.1 var(--font-jp-display); color: #fff; text-shadow: 0 0 24px color-mix(in srgb, var(--obi) 70%, transparent); }
.album-h-local { font: 400 clamp(1.15rem, 2.2vw, 1.6rem)/1.25 var(--font-display); color: var(--ink-2); }
.album-romaji { margin: 0 0 1rem; color: var(--ink-3); font-style: italic; }
.album-facts { display: flex; flex-wrap: wrap; gap: .3rem 1.2rem; margin: 0 0 1.6rem; color: var(--ink-2); font-size: .92rem; }
.album-facts span { position: relative; }
.album-body { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(1.6rem, 4vw, 3rem); align-items: start; padding-top: clamp(1rem, 3vw, 2rem); }
@media (max-width: 1000px) { .album-body { grid-template-columns: 1fr; } }
@media (max-width: 760px) {
  .album-hero-in { grid-template-columns: 1fr; }
  .album-hero-art { max-width: 20rem; width: 86%; }
}
.album-liner { margin: 0; transform: rotate(.4deg); }
.album-liner p { margin: 0 0 .9rem; font-size: .97rem; line-height: 1.6; color: #3a2a20; }
.credits { padding-top: .8rem; border-top: 1px dashed rgba(163, 63, 29, .35); font-size: .86rem !important; color: #6d4c38 !important; }
.more-tapes .sec-title { margin-bottom: 1.5rem; }
.more-tapes .albums { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 760px) { .more-tapes .albums { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .more-tapes .albums { grid-template-columns: none; } }

/* ---------------------------------------------------- post soundtrack chip */
.soundtrack { margin-top: 1.3rem; }
.st-chip {
  display: inline-flex; align-items: center; gap: .8rem; max-width: 100%; padding: .4rem .9rem .4rem .4rem; border-radius: 12px; cursor: pointer; text-align: left;
  border: 1px solid rgba(255, 255, 255, .25); background: rgba(12, 9, 34, .45); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); color: #fff;
}
.st-chip:hover { border-color: #fff; }
.st-chip-cover img { width: 2.75rem; height: 2.75rem; border-radius: 4px; }
.st-chip-text { display: flex; flex-direction: column; min-width: 0; }
.st-chip-l { font: 700 .72rem/1.3 var(--font-body); letter-spacing: .04em; color: #ffd6ee; }
.st-chip-t { font-weight: 700; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.st-chip-play { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: #fff; color: #1d0a24; }
.st-chip-play .ic { width: 1rem; height: 1rem; margin-left: 2px; }
.st-chip.is-playing .st-chip-play { animation: pulse .8s ease-in-out infinite alternate; }

/* ---------------------------------------------------------------- studio */
.studio { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(1.4rem, 4vw, 3rem); align-items: start; }
.studio[data-style="lofi"] { --cs-band: #c9a26b; --cs-band2: #8fd5e6; }
.studio[data-style="drive"] { --cs-band: #ff3b4e; --cs-band2: #8d7eff; }
.studio[data-style="anime"] { --cs-band: #ffd23f; --cs-band2: #4aa3ff; }
.studio[data-style="ambient"] { --cs-band: #5fe1ff; --cs-band2: #a3aeff; }
.studio[data-style="matsuri"] { --cs-band: #ff8a3d; --cs-band2: #e8183c; }
.st-deck { position: sticky; top: 1rem; }
.st-tape .cs-name { font-size: clamp(1rem, 2.4vw, 1.35rem); }
.st-vis { display: block; width: 100%; height: 6rem; margin-top: 1rem; border-radius: 10px; background: #070616; box-shadow: inset 0 0 0 1px rgba(69, 239, 255, .18); }
.st-now { display: flex; gap: .6rem; align-items: baseline; min-height: 1.6rem; margin: .7rem 0; color: var(--ink-3); font-size: .9rem; }
.st-sec { color: var(--vfd); font: 400 1rem/1 var(--font-jp-display); }
.st-transport { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: .4rem; }
.st-status { min-height: 1.5rem; margin: .8rem 0 0; color: var(--cyan); font-weight: 700; }
.st-tip { margin: .3rem 0 0; color: var(--ink-3); font-size: .88rem; }
.st-panel { display: grid; gap: 1.2rem; padding: clamp(1rem, 3vw, 1.6rem); border-radius: 16px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015)); }
.st-group { display: grid; gap: .55rem; }
.st-two { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 560px) { .st-two { grid-template-columns: 1fr; } }
.st-h { display: block; margin: 0 0 .5rem; color: var(--ink-3); font: 700 .78rem/1.2 var(--font-body); letter-spacing: .06em; }
.st-field { display: block; }
.st-range { display: flex; align-items: center; gap: .8rem; }
.st-range output { flex: none; min-width: 5.4rem; font: 700 .9rem/1 var(--font-mono); color: var(--vfd); }
.st-keyrow, .st-seedrow { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
select, input[type="number"], input[type="text"] {
  min-width: 0; padding: .55rem .7rem; border-radius: 10px; border: 1px solid var(--line-2); background: #0d0a26; color: var(--ink);
  font: 700 .95rem/1.2 var(--font-body);
}
input[type="number"] { width: 8rem; font-family: var(--font-mono); }
input[type="text"] { width: 100%; }
select:focus-visible, input[type="number"]:focus-visible, input[type="text"]:focus-visible { outline: 2px solid var(--cyan); outline-offset: 1px; }
.st-sliders { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem 1.2rem; }
.st-slider { display: grid; gap: .2rem; color: var(--ink-2); font-size: .88rem; }
.chip-tape { font-family: var(--font-mono); }
.st-shelf { grid-column: 1 / -1; margin-top: clamp(1rem, 3vw, 2rem); }
.st-shelf .sec-title { margin-bottom: 1.2rem; }
.st-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr)); gap: .8rem; margin: 0; padding: 0; list-style: none; }
.st-item { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: .2rem .5rem; align-items: center; padding: .8rem .9rem; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); border-left: 4px solid var(--m, var(--pink)); }
.st-item-name { grid-column: 1; font-weight: 700; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-family: var(--font-hand), var(--font-body); }
.st-item-meta { grid-column: 1; grid-row: 2; color: var(--ink-3); font-size: .8rem; }
.st-item .chip { grid-row: 1 / span 2; padding: .38rem .7rem; font-size: .8rem; }
@media (max-width: 900px) { .studio { grid-template-columns: 1fr; } .st-deck { position: static; } }

/* ---------------------------------------------------------------- footer */
.site-footer { margin-top: clamp(3.5rem, 9vw, 6.5rem); border-top: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 61, 210, 0), rgba(255, 61, 210, .06)); }
.ftr { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) auto; gap: 2rem; align-items: start; padding: 2.6rem 0 3rem; }
.ftr-brand .brand { width: 150px; }
.ftr-tag { margin: .8rem 0 0; color: var(--ink-3); font-size: .92rem; }
.ftr nav ul { display: grid; gap: .35rem; margin: 0; padding: 0; list-style: none; }
.ftr nav a { color: var(--ink-2); text-decoration: none; font: 700 .92rem/1.6 var(--font-body); }
.ftr nav a:hover { color: #fff; }
.ftr-small { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; margin: 0; padding-top: 1.4rem; border-top: 1px solid var(--line); color: var(--ink-3); font-size: .85rem; }
.ftr-small a { color: var(--ink-2); }
.oyasumi { margin: 0; font: 400 2.2rem/1 var(--font-jp-display); letter-spacing: .18em; writing-mode: vertical-rl; color: transparent; -webkit-text-stroke: 1px rgba(255, 95, 174, .75); }
@media (max-width: 720px) { .ftr { grid-template-columns: 1fr auto; } .ftr nav { grid-row: 2; } .oyasumi { grid-row: 1 / span 2; grid-column: 2; } }

/* ------------------------------------------------------ page transitions */
.is-loading main { opacity: .55; transition: opacity .2s ease .1s; }
::view-transition-old(root) { animation: vt-out .18s ease both; }
::view-transition-new(root) { animation: vt-in .26s ease both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(6px); filter: blur(2px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(-6px); } }

/* ------------------------------------------------------------ tape cards */
.shelf { display: grid; gap: clamp(1.1rem, 2.4vw, 1.6rem); grid-template-columns: repeat(auto-fill, minmax(min(100%, 19.5rem), 1fr)); }
.tape {
  position: relative; display: grid; grid-template-columns: 2.3rem minmax(0, 1fr); border-radius: 10px; overflow: hidden;
  background: var(--t-bg); color: var(--t-ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 0 0 1px rgba(255, 255, 255, .06), 0 22px 44px -24px rgba(0, 0, 0, .9);
  transition: transform .25s ease, box-shadow .25s ease;
}
.tape:hover, .tape:focus-within {
  transform: translateY(-4px) rotate(-.35deg);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 0 0 1px var(--t-a1), 0 0 34px -8px var(--t-a1), 0 26px 50px -24px rgba(0, 0, 0, .9);
}
.tape-spine {
  display: flex; justify-content: space-between; align-items: center; padding: .9rem 0;
  writing-mode: vertical-rl; transform: rotate(180deg);
  background: var(--t-spine); color: var(--t-spine-ink); border-left: 1px dashed rgba(0, 0, 0, .3);
  font: 800 .66rem/1 var(--font-mono); letter-spacing: .22em; text-transform: uppercase;
}
.tape-face { display: flex; flex-direction: column; min-width: 0; }
.tape-top {
  display: flex; justify-content: space-between; gap: .5rem; padding: .55rem .9rem;
  border-bottom: 1px solid var(--t-rule); color: var(--t-muted);
  font: 700 .62rem/1.2 var(--font-mono); letter-spacing: .14em; text-transform: uppercase;
}
.tape-art { aspect-ratio: 16 / 10; overflow: hidden; background: var(--t-spine); }
.tape-art img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.tape:hover .tape-art img { transform: scale(1.035); }
.tape-body { display: flex; flex-direction: column; gap: .42rem; flex: 1; padding: .95rem 1rem 1.05rem; }
.tape-kana { margin: 0; color: var(--t-a1); font-size: .78rem; font-weight: 700; letter-spacing: .22em; }
.tape-title { margin: 0; font: 400 1.15rem/1.25 var(--font-display); letter-spacing: 0; }
.tape-title a { color: inherit; text-decoration: none; }
.tape-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.tape-title a:focus-visible { outline: none; }
.tape:focus-within { outline: 2px solid var(--cyan); outline-offset: 3px; }
.tape-meta { display: flex; gap: .8rem; margin: 0; color: var(--t-muted); font: 600 .74rem/1.3 var(--font-mono); letter-spacing: .06em; }
.tape-sum { margin: 0; color: var(--t-ink-2); font-size: .93rem; line-height: 1.55; }
.tape-stripes { display: grid; grid-template-columns: 5fr 3fr 2fr; height: 12px; }
.tape-stripes i:nth-child(1) { background: var(--t-a1); }
.tape-stripes i:nth-child(2) { background: var(--t-a2); }
.tape-stripes i:nth-child(3) { background: var(--t-a3); }

/* palettes: every tape gets its own */
.pal-midnight { --t-bg: #17123d; --t-ink: #fff3fb; --t-ink-2: #e2d6f6; --t-muted: #b8a8da; --t-spine: #ff4fa3; --t-spine-ink: #1d0a24; --t-a1: #ff6fb5; --t-a2: #ffc85a; --t-a3: #38e1ff; --t-rule: rgba(255, 255, 255, .12); }
.pal-ame { --t-bg: #0f2b3b; --t-ink: #ecfcff; --t-ink-2: #cbe8f0; --t-muted: #98c2d1; --t-spine: #5fe1ff; --t-spine-ink: #05202b; --t-a1: #6fe6ff; --t-a2: #a3aeff; --t-a3: #ff7ac3; --t-rule: rgba(255, 255, 255, .12); }
.pal-ferric { --t-bg: #f2e7d3; --t-ink: #2a1a12; --t-ink-2: #4a3426; --t-muted: #7a5c48; --t-spine: #b0461f; --t-spine-ink: #fff3e8; --t-a1: #a33f1d; --t-a2: #e9a23b; --t-a3: #3b2a20; --t-rule: rgba(59, 42, 32, .18); }
.pal-phosphor { --t-bg: #0b1b14; --t-ink: #e2ffec; --t-ink-2: #bdebcc; --t-muted: #86c3a0; --t-spine: #2fe39a; --t-spine-ink: #04140c; --t-a1: #3df0a6; --t-a2: #ff5f86; --t-a3: #63adff; --t-rule: rgba(255, 255, 255, .1); }
.pal-cel { --t-bg: #f5f2eb; --t-ink: #15111a; --t-ink-2: #2e2636; --t-muted: #5d5366; --t-spine: #d0282f; --t-spine-ink: #fff; --t-a1: #c2232a; --t-a2: #f6c600; --t-a3: #1d1a24; --t-rule: rgba(29, 26, 36, .14); }
.pal-gouache { --t-bg: #ffe4cc; --t-ink: #351629; --t-ink-2: #532d46; --t-muted: #84576e; --t-spine: #4561da; --t-spine-ink: #fff; --t-a1: #3550c8; --t-a2: #ff7f6b; --t-a3: #ffb347; --t-rule: rgba(53, 22, 41, .15); }
.pal-taillight { --t-bg: #1b0f2b; --t-ink: #fff0ea; --t-ink-2: #f1d3cf; --t-muted: #c7a3ad; --t-spine: #ff3b4e; --t-spine-ink: #1a0508; --t-a1: #ff5b6b; --t-a2: #ffb03b; --t-a3: #8d7eff; --t-rule: rgba(255, 255, 255, .12); }
.pal-neon { --t-bg: #140b28; --t-ink: #fdf1ff; --t-ink-2: #e7d3f6; --t-muted: #b89fd5; --t-spine: linear-gradient(180deg, #ff3dd2, #a37bff 55%, #3ff0ff); --t-spine-ink: #13041c; --t-a1: #ff5ad9; --t-a2: #3ff0ff; --t-a3: #9a6bff; --t-rule: rgba(255, 255, 255, .12); }

/* ----------------------------------------------------------------- posts */
.post-head {
  position: relative; padding: clamp(1.6rem, 4.5vw, 3.2rem) 0 clamp(6.5rem, 12vw, 9.5rem);
  background:
    url(/assets/img/skyline.svg) center bottom / max(100%, 1100px) auto no-repeat,
    linear-gradient(180deg, rgba(12, 9, 34, 0) 0%, #1c1046 30%, #3a1764 52%, #8a2a7c 78%, #e8607a 100%);
  background:
    url(/assets/img/skyline.svg) center bottom / max(100%, 1100px) auto no-repeat,
    linear-gradient(180deg, rgba(12, 9, 34, 0) 0%, #1c1046 28%, color-mix(in srgb, var(--t-a1) 34%, #2a1258) 62%,
      color-mix(in srgb, var(--t-a2) 58%, var(--t-a1)) 100%);
}
.post-head-in { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: clamp(1.4rem, 4vw, 3.5rem); align-items: center; }
.post-head h1 { margin: .15em 0 .55em; font: 400 clamp(1.9rem, 4.2vw, 3.2rem)/1.1 var(--font-display); letter-spacing: 0; }
.post-meta { display: flex; flex-wrap: wrap; gap: .35rem .9rem; margin: 0; color: #efe4ff; font: 600 .8rem/1.5 var(--font-mono); letter-spacing: .06em; }
.post-meta a { color: #fff; }
.case {
  position: relative; display: grid; grid-template-columns: 2rem 1fr; border-radius: 12px; overflow: hidden; background: var(--t-bg);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .14), 0 30px 60px -24px rgba(0, 0, 0, .85); transform: rotate(1.6deg);
}
.case .tape-spine { padding: .7rem 0; font-size: .6rem; }
.case img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.case-face { display: flex; flex-direction: column; min-width: 0; }
@media (max-width: 820px) {
  .post-head-in { grid-template-columns: minmax(0, 1fr); }
  .post-head-art { order: -1; max-width: 23rem; width: 82%; }
}

.post-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, var(--measure)) minmax(0, 1fr); column-gap: 2.2rem; padding: clamp(2.2rem, 5vw, 3.8rem) 1rem 0; }
.post-side { grid-column: 1; justify-self: end; }
.post-side .vk {
  position: sticky; top: 2.5rem; margin: .4rem 0 0; writing-mode: vertical-rl;
  font: 600 2.3rem/1 var(--font-jp-serif); letter-spacing: .32em; color: transparent;
  -webkit-text-stroke: 1px rgba(69, 239, 255, .6);
}
.post-main { grid-column: 2; min-width: 0; }
@media (max-width: 1100px) {
  .post-body { grid-template-columns: minmax(0, var(--measure)); justify-content: center; padding-inline: 0; width: min(100% - 2rem, var(--measure)); margin-inline: auto; }
  .post-side { display: none; }
  .post-main { grid-column: 1; }
}

.prose { font-size: clamp(1.06rem, 1.2vw, 1.14rem); line-height: 1.75; color: #ebe2fb; }
.prose > :first-child { margin-top: 0; }
.prose p { margin: 0 0 1.25em; }
.post .prose > p:first-child { font-size: 1.12em; line-height: 1.65; color: #fff; }
.post .prose > p:first-child::before {
  content: ""; display: inline-block; width: .62em; height: .62em; margin-right: .55em; border-radius: 50%;
  background: var(--t-a1, var(--pink)); box-shadow: 0 0 0 3px rgba(255, 255, 255, .08), 0 0 14px var(--t-a1, var(--pink)); vertical-align: .05em;
}
.prose h2 {
  display: flex; align-items: baseline; gap: .7rem; margin: 2.3em 0 .75em;
  font: 400 clamp(1.3rem, 2.1vw, 1.55rem)/1.3 var(--font-display); letter-spacing: 0; color: #fff;
}
.trk {
  flex: none; position: relative; top: -.18em; padding: .28em .45em .22em; border: 1px solid currentColor; border-radius: 4px;
  font: 700 .72rem/1 var(--font-mono); letter-spacing: .08em; color: var(--cyan); text-shadow: 0 0 8px rgba(69, 239, 255, .6);
}
.prose h3 { margin: 1.8em 0 .5em; font: 800 1.15rem/1.3 var(--font-display); color: #fff; }
.prose a { color: var(--cyan); }
.prose a:hover { color: var(--pink); }
.prose strong { color: #fff; }
.prose em { color: #fff2dc; }
.prose ul, .prose ol { margin: 0 0 1.3em; padding-left: 1.3em; }
.prose li { margin: .4em 0; padding-left: .2em; }
.prose li::marker { color: var(--pink); }
.prose blockquote {
  margin: 1.8em 0; padding: .3em 0 .3em 1.2em; border-left: 3px solid var(--magenta);
  box-shadow: -8px 0 18px -12px var(--magenta); color: #fff; font-style: italic;
}
.prose hr { height: 28px; margin: 2.6em 0; border: 0; background:
  radial-gradient(circle at 50% 50%, transparent 5px, var(--ink-3) 5.5px 7px, transparent 7.5px) calc(50% - 18px) 50% / 28px 28px no-repeat,
  radial-gradient(circle at 50% 50%, transparent 5px, var(--ink-3) 5.5px 7px, transparent 7.5px) calc(50% + 18px) 50% / 28px 28px no-repeat; }
.prose code { padding: .1em .35em; border-radius: 4px; background: rgba(255, 255, 255, .08); font: .9em var(--font-mono); }

/* liner notes: a cream J-card with ruled lines */
.liner {
  margin: 3rem 0 0; padding: 1.3rem 1.4rem 1rem; border-radius: 12px; color: #2a1a12; background: #f3ead8;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .2), 0 22px 44px -24px rgba(0, 0, 0, .9); transform: rotate(-.4deg);
}
.liner h2 { display: flex; align-items: baseline; gap: .7rem; margin: 0 0 .6rem; color: #a33f1d; font: 800 .8rem/1.6 var(--font-mono); letter-spacing: .18em; text-transform: uppercase; }
.liner h2 [lang="ja"] { font-size: 1.05rem; letter-spacing: .2em; }
.liner ol { margin: 0; padding: 0; list-style: none; counter-reset: ln; }
.liner li { counter-increment: ln; display: flex; gap: .75rem; align-items: baseline; padding: .5rem 0; border-top: 1px dashed rgba(163, 63, 29, .35); font-size: .97rem; line-height: 1.4; }
.liner li::before { content: counter(ln, decimal-leading-zero); flex: none; color: #a33f1d; font: 700 .72rem/1 var(--font-mono); }
.liner .who { font-weight: 700; }
.liner .jp { color: #6d4c38; font-size: .85rem; }
.liner .yw { white-space: nowrap; }
.liner .yr { font-family: var(--font-mono); font-size: .85rem; color: #6d4c38; }

/* rewind / fast-forward */
.deck-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 3rem 0 0; }
.deck-nav .key { flex-direction: column; align-items: flex-start; gap: .45rem; padding: 1rem 1.15rem; text-transform: none; letter-spacing: 0; font: 700 1rem/1.3 var(--font-display); }
.deck-nav small { color: var(--cyan); font: 700 .68rem/1 var(--font-mono); letter-spacing: .16em; text-transform: uppercase; }
.deck-nav .ff { grid-column: 2; align-items: flex-end; text-align: right; }
.deck-other { margin: 2rem 0 0; color: var(--ink-3); font-size: .92rem; }
@media (max-width: 640px) { .deck-nav { grid-template-columns: 1fr; } .deck-nav .ff { grid-column: 1; } }

/* --------------------------------------------------------------- archive */
.board-legend { display: grid; grid-template-columns: 3.2rem 1fr auto; gap: 1rem; padding: 0 1rem .6rem; color: var(--ink-3); font: 700 .66rem/1 var(--font-mono); letter-spacing: .18em; text-transform: uppercase; }
.months { display: grid; gap: 2.1rem; }
.month { display: grid; grid-template-columns: 10rem minmax(0, 1fr); gap: 1.5rem; padding-top: 1.3rem; border-top: 1px solid var(--line); }
.month-h { display: flex; flex-direction: column; gap: .35rem; margin: 0; }
.m-name { font: 400 1.3rem/1.15 var(--font-display); }
.m-jp { color: #c4fbff; font-size: .9rem; letter-spacing: .14em; text-shadow: 0 0 8px rgba(69, 239, 255, .6); }
.m-count { color: var(--ink-3); font: 600 .72rem/1 var(--font-mono); letter-spacing: .1em; }
.rows { display: grid; gap: .6rem; margin: 0; padding: 0; list-style: none; }
.row {
  position: relative; display: grid; grid-template-columns: 3.2rem minmax(0, 1fr) auto; align-items: center; gap: .4rem 1rem; padding: .85rem 1rem;
  border: 1px solid var(--line); border-radius: 10px; background: linear-gradient(90deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .012));
  transition: border-color .2s ease, box-shadow .2s ease;
}
.row:hover, .row:focus-within { border-color: rgba(255, 61, 210, .55); box-shadow: 0 0 26px -12px rgba(255, 61, 210, .9); }
.row-day { color: var(--amber); font: 700 1.6rem/1 var(--font-mono); font-variant-numeric: tabular-nums; text-shadow: 0 0 12px rgba(255, 196, 107, .55); }
.row-title { min-width: 0; }
.row-title a { color: var(--ink); text-decoration: none; font: 400 1.02rem/1.35 var(--font-display); }
.row-title a::after { content: ""; position: absolute; inset: 0; }
.row-kana { display: block; margin-top: .2rem; color: var(--ink-3); font-size: .78rem; letter-spacing: .14em; }
.row-min { color: var(--ink-3); font: 600 .74rem/1 var(--font-mono); letter-spacing: .08em; white-space: nowrap; }
@media (max-width: 680px) {
  .month { grid-template-columns: 1fr; gap: .9rem; }
  .month-h { flex-direction: row; align-items: baseline; flex-wrap: wrap; gap: .3rem .8rem; }
  .row { grid-template-columns: 2.6rem minmax(0, 1fr); }
  .row-min { grid-column: 2; }
  .board-legend { display: none; }
}

/* ------------------------------------------------------------- playlists */
.mixes { display: grid; gap: clamp(1.6rem, 3.5vw, 2.4rem); }
.mix {
  display: grid; grid-template-columns: minmax(0, 17rem) minmax(0, 1fr); border-radius: 14px; overflow: hidden;
  background: var(--t-bg); color: var(--t-ink); scroll-margin-top: 1.5rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 0 0 1px rgba(255, 255, 255, .07), 0 26px 50px -28px rgba(0, 0, 0, .95);
}
.mix-head {
  position: relative; display: flex; flex-direction: column; gap: .7rem; padding: 1.5rem 1.4rem 1.6rem; color: var(--t-spine-ink);
  background: var(--t-spine);
}
.mix-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 12px; background: linear-gradient(90deg, var(--t-a2) 0 60%, var(--t-a3) 60% 100%); }
.mix-kana { margin: 0; font: 700 1.6rem/1 var(--font-jp-serif); letter-spacing: .14em; }
.mix-title { margin: 0; font: 400 1.4rem/1.2 var(--font-display); }
.mix-desc { margin: 0; font-size: .95rem; line-height: 1.55; }
.mix-meta { margin: auto 0 .6rem; font: 700 .7rem/1.3 var(--font-mono); letter-spacing: .16em; text-transform: uppercase; opacity: .85; }
.mix-sides { display: grid; grid-template-columns: 1fr 1fr; }
.side { padding: 1.3rem 1.5rem 1.4rem; }
.side + .side { border-left: 1px dashed var(--t-rule); }
.side-h { margin: 0 0 .4rem; color: var(--t-a1); font: 700 1.1rem/1.2 var(--font-hand); }
.tracks { margin: 0; padding: 0; list-style: none; }
.tracks li { display: grid; grid-template-columns: 1.9rem minmax(0, 1fr); gap: .1rem .4rem; padding: .62rem 0; border-bottom: 1px solid var(--t-rule); }
.tracks li:last-child { border-bottom: 0; }
.t-n { grid-row: span 2; padding-top: .18rem; color: var(--t-a1); font: 700 .74rem/1.4 var(--font-mono); }
.t-line { font-size: .98rem; line-height: 1.4; }
.t-artist { font-weight: 700; }
.t-title { font-style: italic; }
.t-yw { white-space: nowrap; }
.t-year { font-family: var(--font-mono); font-size: .88rem; }
.t-sub { color: var(--t-muted); font-size: .8rem; line-height: 1.4; }
.t-kind { display: inline-block; margin-right: .3rem; padding: .05rem .35rem; border: 1px solid currentColor; border-radius: 3px; font: 700 .6rem/1.5 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; }
.t-sub [lang="ja"] { letter-spacing: .04em; }
.mix-index { display: flex; flex-wrap: wrap; gap: .6rem; margin: 0 0 2rem; padding: 0; list-style: none; }
.mix-index a { display: inline-block; padding: .45rem .8rem; border: 1px solid var(--line-2); border-radius: 999px; color: var(--ink-2); text-decoration: none; font-size: .9rem; }
.mix-index a:hover { color: #fff; border-color: var(--pink); }
.note { margin: 2.2rem 0 0; color: var(--ink-3); font-size: .92rem; }
@media (max-width: 960px) { .mix { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .mix-sides { grid-template-columns: 1fr; } .side + .side { border-left: 0; border-top: 1px dashed var(--t-rule); } }

/* ----------------------------------------------------------------- about */
.about-grid { display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, var(--measure)); justify-content: center; gap: clamp(1.6rem, 5vw, 4rem); padding-top: clamp(2.2rem, 5vw, 3.8rem); }
.about-side { position: relative; }
.about-side .window-art { position: sticky; top: 2rem; width: 100%; height: auto; border-radius: 16px; box-shadow: 0 0 0 1px var(--line), 0 30px 60px -30px rgba(0, 0, 0, .9); }
.about-cap { margin: .8rem 0 0; color: var(--ink-3); font: 600 .72rem/1.5 var(--font-mono); letter-spacing: .08em; text-align: center; }
@media (max-width: 820px) { .about-grid { grid-template-columns: 1fr; width: min(100% - 2rem, var(--measure)); } .about-side { max-width: 13rem; } }

/* ------------------------------------------------------------------- 404 */
.nf { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(2rem, 6vw, 5rem); padding: clamp(2rem, 6vw, 5rem) 0 1rem; }
.tv {
  position: relative; padding: clamp(1rem, 2.4vw, 1.5rem) clamp(4.4rem, 9vw, 6rem) clamp(1rem, 2.4vw, 1.5rem) clamp(1rem, 2.4vw, 1.5rem);
  border-radius: 28px; background: linear-gradient(160deg, #2c2350, #171030);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, .14), inset 0 -6px 14px rgba(0, 0, 0, .5), 0 30px 60px -26px rgba(0, 0, 0, .95);
}
.tv-screen {
  position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 22px / 26px; background: radial-gradient(120% 110% at 50% 45%, #3657ff 0%, #2340e8 55%, #142a9c 100%);
  box-shadow: inset 0 0 40px rgba(0, 0, 0, .55), 0 0 0 6px #0c0922;
}
.tv-screen::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(180deg, rgba(0, 0, 0, .18) 0 1px, transparent 1px 3px); }
.tv-osd { position: absolute; z-index: 1; margin: 0; color: #fff; font: 700 clamp(.8rem, 1.6vw, 1.1rem)/1 var(--font-mono); letter-spacing: .14em; text-shadow: 2px 2px 0 rgba(0, 0, 0, .45); }
.tv-ch { left: 8%; top: 9%; }
.tv-mid { left: 0; right: 0; top: 50%; transform: translateY(-50%); text-align: center; font-size: clamp(1rem, 2.6vw, 1.6rem); }
.tv-knobs { position: absolute; right: clamp(1.2rem, 2.8vw, 1.8rem); top: 50%; display: grid; gap: 1rem; transform: translateY(-50%); }
.tv-knobs i { display: block; width: clamp(1.6rem, 3vw, 2.2rem); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #5a4c8a, #1a1236); box-shadow: 0 2px 0 rgba(0, 0, 0, .5); }
.tv-knobs i:nth-child(3) { aspect-ratio: auto; height: 3rem; border-radius: 6px; background: repeating-linear-gradient(180deg, #0c0922 0 2px, #2a2050 2px 5px); }
.nf-kanji { margin: 0 0 .3rem; font: 600 clamp(3.4rem, 9vw, 6rem)/1 var(--font-jp-serif); letter-spacing: .1em; color: #ffe8f8; text-shadow: 0 0 12px rgba(255, 61, 210, .9), 0 0 36px rgba(255, 61, 210, .55); }
.nf h1 { margin: 0 0 1rem; font: 400 clamp(2rem, 4.4vw, 3.2rem)/1.1 var(--font-display); }
.nf p { max-width: 32rem; color: var(--ink-2); }
@media (max-width: 820px) { .nf { grid-template-columns: 1fr; } .tv { max-width: 30rem; } }

/* ------------------------------------------------- the city: animations */
.hero-art .fa { animation: flk 7.3s steps(1, end) infinite; }
.hero-art .fb { animation: flk 11.7s steps(1, end) -3s infinite; }
.hero-art .fc { animation: flk 5.9s steps(1, end) -1.2s infinite; }
@keyframes flk {
  0%, 100% { opacity: 1; } 40% { opacity: 1; } 41% { opacity: .15; } 42% { opacity: 1; } 43% { opacity: .3; } 44% { opacity: 1; }
  78% { opacity: 1; } 79% { opacity: .2; } 80% { opacity: 1; }
}
.hero-art .ta { animation: toggle 23s steps(1, end) infinite; }
.hero-art .tb { animation: toggle 31s steps(1, end) -12s infinite; }
@keyframes toggle { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
.hero-art .tw1 { animation: tw 4.6s ease-in-out infinite; }
.hero-art .tw2 { animation: tw 6.2s ease-in-out -2s infinite; }
.hero-art .tw3 { animation: tw 3.8s ease-in-out -1s infinite; }
@keyframes tw { 0%, 100% { opacity: .85; } 50% { opacity: .2; } }
.hero-art .beacon { animation: beacon 1.8s steps(1, end) infinite; }
.hero-art .beacon2 { animation: beacon 1.8s steps(1, end) -.9s infinite; }
@keyframes beacon { 0% { opacity: 1; } 50% { opacity: .12; } }
.hero-art .trail-w { animation: trail-w 7.5s linear infinite; }
.hero-art .trail-r { animation: trail-r 6s linear infinite; }
@keyframes trail-w { to { stroke-dashoffset: 1010; } }
@keyframes trail-r { to { stroke-dashoffset: -1010; } }
.hero-art .train { transform: translateX(1180px); animation: train 46s linear infinite; }
@keyframes train { from { transform: translateX(-520px); } to { transform: translateX(1680px); } }
.hero-art .mine { animation: mine 6s ease-in-out infinite; }
.hero-art .plane { transform: translate(-80px, 0); animation: plane 90s linear -20s infinite; }
.hero-art .strobe { animation: beacon 1.3s steps(1, end) infinite; }
@keyframes plane { from { transform: translate(-80px, 36px); } to { transform: translate(1700px, -24px); } }
@keyframes mine { 0%, 100% { opacity: 1; } 50% { opacity: .78; } }

/* ----------------------------------------- VHS overlay: scanlines, grain */
.fx { position: fixed; inset: 0; z-index: 90; overflow: hidden; pointer-events: none; }
.fx i { position: absolute; display: block; }
.fx-scan { inset: 0; background: repeating-linear-gradient(180deg, rgba(255, 255, 255, .026) 0 1px, rgba(255, 255, 255, 0) 1px 3px); }
.fx-grain { inset: -120px; background: url(/assets/img/grain.svg) 0 0 / 180px 180px; opacity: .07; animation: grain 1.1s steps(6) infinite; }
.fx-band {
  left: 0; right: 0; top: -22vh; height: 16vh;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .04) 42%, rgba(255, 255, 255, .07) 50%, rgba(255, 255, 255, .04) 58%, rgba(255, 255, 255, 0));
  animation: band 12s linear infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 17% { transform: translate(-40px, 25px); } 33% { transform: translate(30px, -35px); }
  50% { transform: translate(-25px, -15px); } 67% { transform: translate(45px, 30px); } 83% { transform: translate(-15px, 40px); } 100% { transform: translate(0, 0); }
}
@keyframes band { 0% { transform: translateY(0); } 100% { transform: translateY(150vh); } }


/* --------------------------------------------------------- calm it down */
.player { view-transition-name: player; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .fx-band, .hero-weather, .hero-eq { display: none; }
  .tape:hover, .tape:focus-within, .key:hover, .key:active, .album:hover .album-cover, .album:hover .obi { transform: none; }
  .tape:hover .tape-art img { transform: none; }
  .is-playing .hero-glow { opacity: .4; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}

@media print {
  .fx, .nav, .lang, .hero-stage, .deck-nav, .site-footer nav, .player, .deck, .toast, .keys, .soundtrack { display: none !important; }
  body { background: #fff; color: #000; padding: 0; }
  .prose { color: #000; }
}
