/* Just Listen to the Song · fan blog · spec in DESIGN.md (Spotify base, train-car skin) */
:root {
  --night: #121212; --surface: #181818; --surface-2: #1f1f1f; --card: #252525;
  --hair: #4d4d4d; --mute: #b3b3b3; --white: #fff; --paper: #f4f2ec; --ink: #0d0d0d;
  --play: #1ed760; --led: #ffb23e; --heart: #f3727f;
  --wall: #1b1c20; --wall-2: #24262b; --seat: #2a3638;
  --band-top: 11vh; --band-h: 47vh;
  --t: 0; --dim: 0;
  --f-ui: "Figtree", "Helvetica Neue", Helvetica, Arial, "Hiragino Sans", "Meiryo", sans-serif;
  --f-jp: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Meiryo", sans-serif;
  --f-led: "DotGothic16", "MS Gothic", monospace;
  --f-mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --sh-heavy: rgba(0, 0, 0, .5) 0 8px 24px;
  --sh-med: rgba(0, 0, 0, .3) 0 8px 8px;
  --player-h: 96px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--night); color: var(--white);
  font: 400 16px/1.6 var(--f-ui); overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.is-boarding { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
.mono { font-family: var(--f-mono); font-weight: 500; letter-spacing: .02em; }
[lang="ja"] { font-family: var(--f-jp); }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--white); color: var(--night); padding: 8px 14px; border-radius: 999px; font-weight: 700; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }

/* ================= pills ================= */
.pill {
  display: inline-flex; align-items: center; gap: 10px; border: 0; border-radius: 9999px;
  padding: 14px 26px; font: 700 13px/1 var(--f-ui); letter-spacing: .12em; text-transform: uppercase;
  text-decoration: none; transition: transform .15s var(--ease), background .2s, color .2s;
}
.pill:hover { transform: scale(1.04); }
.pill:active { transform: scale(.98); }
.pill.small { padding: 9px 16px; font-size: 11px; letter-spacing: .1em; }
.pill-play { background: var(--play); color: #000; }
.pill-play .dot { width: 9px; height: 9px; border-radius: 50%; background: #000; }
.pill-ghost { background: transparent; color: var(--white); box-shadow: inset 0 0 0 1px #7c7c7c; }
.pill-ghost:hover { box-shadow: inset 0 0 0 1px var(--white); }
.pill-dark { background: var(--surface-2); color: var(--white); }
.pill-dark:hover { background: #2a2a2a; }
.pill-dark[aria-pressed="true"] { background: var(--white); color: #000; }

.play-circle {
  width: 56px; height: 56px; border-radius: 50%; border: 0; background: var(--play); color: #000;
  display: grid; place-items: center; flex: none; box-shadow: var(--sh-med); transition: transform .15s var(--ease);
}
.play-circle:hover { transform: scale(1.06); }
.play-circle svg { width: 24px; height: 24px; fill: currentColor; }
.play-circle.sm { width: 40px; height: 40px; }
.play-circle.sm svg { width: 18px; height: 18px; }
.i-pause { display: none; }
.is-playing .i-play { display: none; }
.is-playing .i-pause { display: block; }

/* ================= cabin (fixed backdrop) ================= */
.cabin { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; background: var(--wall); contain: strict; }
.cabin-sway { position: absolute; inset: -6px 0; animation: sway 2.6s ease-in-out infinite; }
@keyframes sway { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(1.6px); } }

.sky, .scenery { position: absolute; left: 0; right: 0; top: var(--band-top); height: var(--band-h); }
.sky {
  background: linear-gradient(180deg, #2b2350 0%, #7b4a78 38%, #d9776a 70%, #f6a15a 100%);
}
.sky::before {
  content: ""; position: absolute; left: 62%; bottom: 8%; width: 18vh; height: 18vh; border-radius: 50%;
  background: radial-gradient(circle, #ffe2b0 0 30%, #ffb46a66 45%, transparent 70%);
  opacity: calc(1 - var(--t) * 1.4); transform: translateY(calc(var(--t) * 30vh));
}
.sky::after {
  content: ""; position: absolute; inset: 0; opacity: var(--t);
  background:
    radial-gradient(1px 1px at 12% 20%, #fff8 50%, transparent 51%),
    radial-gradient(1px 1px at 34% 12%, #fff6 50%, transparent 51%),
    radial-gradient(1px 1px at 58% 26%, #fff7 50%, transparent 51%),
    radial-gradient(1px 1px at 81% 9%, #fff5 50%, transparent 51%),
    linear-gradient(180deg, #050816 0%, #0d1630 55%, #27304e 100%);
}
.scenery .layer { position: absolute; left: 0; right: 0; bottom: 0; overflow: hidden; }
.scenery .layer i {
  position: absolute; left: 0; bottom: 0; height: 100%; width: 200%;
  background-repeat: repeat-x; background-position: left bottom; background-size: 50% 100%;
  animation: run linear infinite; will-change: transform;
}
@keyframes run { to { transform: translate3d(-50%, 0, 0); } }
.scenery .far { height: 52%; opacity: .9; }
.scenery .far i { animation-duration: 90s; }
.scenery .near { height: 70%; }
.scenery .near i { animation-duration: 26s; }
.scenery .poles { height: 100%; }
.scenery .poles i {
  animation-duration: 3.2s; opacity: .85;
  background-image:
    linear-gradient(180deg, transparent 0 13%, #0a0a0e 13% calc(13% + 2px), transparent calc(13% + 2px)),
    linear-gradient(180deg, transparent 0 19%, #0a0a0e99 19% calc(19% + 1px), transparent calc(19% + 1px)),
    linear-gradient(90deg, transparent 0 46%, #08080b 46% 49%, transparent 49%),
    linear-gradient(90deg, transparent 0 41%, #08080b 41% 54%, transparent 54%);
  background-size: 100% 100%, 100% 100%, 50% 100%, 50% 6%;
  background-position: 0 0, 0 0, 0 0, 0 12%;
  background-repeat: repeat-x;
}
.frames { position: absolute; left: 0; right: 0; top: var(--band-top); height: var(--band-h); display: flex; }
.frames .win {
  flex: 1; border-radius: 22px; box-shadow: 0 0 0 40px var(--wall), inset 0 0 0 8px #2e3036, inset 0 0 0 10px #111, inset 0 12px 30px #0006;
  position: relative;
}
.frames .win::after { /* glass reflection */
  content: ""; position: absolute; inset: 10px; border-radius: 14px;
  background: linear-gradient(115deg, transparent 30%, #ffffff10 38%, transparent 46%, transparent 70%, #ffffff08 76%, transparent 82%);
}
.frames .pillar {
  width: 7vw; min-width: 40px; position: relative; z-index: 1;
  background: linear-gradient(90deg, #17181b, #2f3137 30%, #3a3c43 50%, #26282d 75%, #141518);
}
.ceiling {
  position: absolute; left: 0; right: 0; top: 0; height: var(--band-top);
  background: linear-gradient(180deg, #2c2e33, #202125 70%, var(--wall));
}
.ceiling .lamp {
  position: absolute; left: 8%; right: 8%; top: 18%; height: 10px; border-radius: 6px;
  background: #f4f6ff; box-shadow: 0 0 30px 8px #dfe6ff55, 0 0 120px 30px #dfe6ff22;
  opacity: .85;
}
.straps { position: absolute; left: 0; right: 0; top: 4.5vh; height: 22vh; }
.straps::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; border-radius: 3px; background: linear-gradient(#cfd3d8, #7d8288); box-shadow: 0 3px 6px #0008; }
.strap { position: absolute; top: 3px; width: 34px; height: 100%; transform-origin: 50% 0; animation: swing var(--d, 3s) ease-in-out infinite alternate; }
.strap::before { content: ""; position: absolute; left: 13px; top: 0; width: 8px; height: 58%; border-radius: 3px; background: linear-gradient(90deg, #6d7076, #9a9ea6 50%, #5c5f65); }
.strap::after { content: ""; position: absolute; left: 0; top: 56%; width: 34px; height: 34px; border-radius: 50%; border: 6px solid #e9e7e1; box-shadow: 0 4px 8px #0007, inset 0 2px 3px #0003; }
@keyframes swing { from { transform: rotate(calc(var(--a, 3deg) * -1)); } to { transform: rotate(var(--a, 3deg)); } }
.bench { position: absolute; left: 0; right: 0; top: calc(var(--band-top) + var(--band-h) + 3vh); height: 26vh; }
.bench::before { /* seat back */
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 58%;
  background:
    repeating-linear-gradient(90deg, #ffffff06 0 2px, transparent 2px 6px),
    linear-gradient(180deg, #33434a, var(--seat) 60%, #1f2a2c);
  border-radius: 14px 14px 0 0; box-shadow: inset 0 6px 12px #ffffff10;
}
.bench i { /* seat cushion */
  position: absolute; left: 0; right: 0; top: 56%; height: 22%;
  background: linear-gradient(180deg, #3b4d53, #253134); border-radius: 10px; box-shadow: 0 10px 20px #0009;
}
.bench::after { /* heater grille */
  content: ""; position: absolute; left: 0; right: 0; top: 80%; height: 20%;
  background: repeating-linear-gradient(180deg, #0f1012 0 3px, #1d1e22 3px 7px);
}
.floor { position: absolute; left: 0; right: 0; bottom: 0; top: calc(var(--band-top) + var(--band-h) + 29vh); background: linear-gradient(180deg, #2a2b2f, #3a3b3f); }
.sweep {
  position: absolute; top: 0; bottom: 0; width: 30vw; left: -40vw; opacity: .7;
  background: linear-gradient(90deg, transparent, #fff3dd22, transparent); transform: skewX(-18deg);
  animation: sweep 7s linear infinite; will-change: transform;
}
@keyframes sweep { 0%, 70% { transform: translateX(0) skewX(-18deg); } 100% { transform: translateX(160vw) skewX(-18deg); } }
.cabin-dim { position: absolute; inset: 0; background: #0b0b0c; opacity: 0; will-change: opacity; }
.grain {
  position: absolute; inset: 0; opacity: .07;
  background-image: 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='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
body.is-hidden .cabin, body.is-hidden .cabin * { animation-play-state: paused !important; }

/* ================= doors ================= */
.doors { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; }
.door {
  position: absolute; top: 0; bottom: 0; width: 50.2%;
  background:
    repeating-linear-gradient(90deg, #ffffff0a 0 1px, transparent 1px 3px),
    linear-gradient(90deg, #6f757c, #c9ced3 30%, #e4e7ea 48%, #a8aeb5 70%, #7c828a);
  transition: transform 1s cubic-bezier(.6, 0, .2, 1);
  box-shadow: inset 0 0 40px #0006;
}
.door.left { left: 0; border-right: 6px solid #1b1b1d; }
.door.right { right: 0; border-left: 6px solid #1b1b1d; }
.door-win {
  position: absolute; top: 12%; height: 38%; width: 46%; border-radius: 22px;
  background: linear-gradient(180deg, #1a1630, #3d2a4c 60%, #8a4f5a);
  box-shadow: inset 0 0 0 6px #2b2d31, inset 0 0 0 8px #0d0d0d, 0 0 0 3px #ffffff40;
}
.door.left .door-win { right: 14%; }
.door.right .door-win { left: 14%; }
.door-sticker {
  position: absolute; right: 18%; bottom: 22%; padding: 8px 12px; border-radius: 6px;
  background: #ffd84a; color: #111; font: 700 11px/1.2 var(--f-ui); letter-spacing: .06em; text-transform: uppercase; font-style: normal;
}
.doors-ui {
  position: relative; z-index: 2; text-align: center; padding: 34px 36px 30px; border-radius: 12px;
  background: #121212f0; box-shadow: var(--sh-heavy); max-width: min(520px, 92vw);
  transition: opacity .4s, transform .4s;
}
.doors-led {
  margin: 0 auto 14px; display: inline-block; padding: 6px 14px; border-radius: 4px; background: #000;
  color: var(--led); font: 400 15px/1.2 var(--f-led); letter-spacing: .2em; text-shadow: 0 0 8px #ffb23e99;
  animation: ledblink 1.2s steps(2) infinite;
}
@keyframes ledblink { 50% { opacity: .55; } }
.doors-title { margin: 0; font: 900 clamp(28px, 6vw, 54px)/1.05 var(--f-jp); }
.doors-title span { white-space: nowrap; }
.doors-title small { display: block; margin-top: 10px; font: 800 14px/1 var(--f-ui); letter-spacing: .22em; text-transform: uppercase; color: var(--mute); }
.doors-sub { color: var(--mute); margin: 16px 0 22px; font-size: 15px; }
.doors-btns { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.doors.is-open .door.left { transform: translateX(-101%); }
.doors.is-open .door.right { transform: translateX(101%); }
.doors.is-open .doors-ui { opacity: 0; transform: scale(.96); pointer-events: none; }
.doors.is-gone { display: none; }

/* ================= top bar ================= */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40; height: 60px; padding: 0 18px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
  background: linear-gradient(180deg, #121212, #121212e8);
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 900 17px/1 var(--f-jp); }
.brand svg { width: 26px; height: 26px; color: var(--play); }
.top-tools { justify-self: end; display: flex; gap: 8px; }
.led {
  display: flex; align-items: center; gap: 10px; height: 38px; padding: 0 14px; border-radius: 6px; min-width: min(420px, 44vw);
  background: #050505; box-shadow: inset 0 0 0 1px #2a2a2a, inset 0 2px 10px #000;
  color: var(--led); font: 400 16px/1 var(--f-led); text-shadow: 0 0 6px #ffb23eaa; position: relative; overflow: hidden;
}
.led::after { /* dot matrix mask */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle, transparent 55%, #050505 60%) 0 0 / 3px 3px;
  opacity: .55;
}
.led-tag { font-size: 12px; padding: 3px 6px; border: 1px solid #ffb23e66; border-radius: 3px; white-space: nowrap; }
.led-track { position: relative; flex: 1; height: 100%; overflow: hidden; }
.led-text { position: absolute; left: 0; top: 50%; transform: translateY(-50%); white-space: nowrap; letter-spacing: .08em; }
.led-text.swap { animation: ledswap .5s steps(5); }
@keyframes ledswap { from { transform: translateY(60%); opacity: 0; } to { transform: translateY(-50%); opacity: 1; } }

/* ================= layout ================= */
main { position: relative; z-index: 1; padding-bottom: calc(var(--player-h) + 40px); }
.station { max-width: 1180px; margin: 0 auto; padding: 130px 24px 40px; }
/* off-screen stations skip style/layout until they approach the viewport */
.station, .foot { content-visibility: auto; contain-intrinsic-size: auto 1000px; }
.sign { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 18px; align-items: end; margin-bottom: 26px; }
.sign-no {
  grid-row: span 2; width: 64px; height: 64px; border-radius: 12px; display: grid; place-items: center;
  background: var(--white); color: #000; font: 800 26px/1 var(--f-ui); position: relative; box-shadow: var(--sh-med);
}
.sign-no::before { content: "JL"; position: absolute; top: 7px; font-size: 10px; letter-spacing: .12em; }
.sign-no { padding-top: 12px; }
.sign-jp { color: var(--mute); font-size: 15px; font-weight: 700; letter-spacing: .3em; }
.sign h2 { margin: 2px 0 0; font: 800 clamp(30px, 4.4vw, 56px)/1.04 var(--f-ui); letter-spacing: -.02em; }
.lede { max-width: 62ch; color: #cbcbcb; font-size: 18px; margin: 0 0 40px; }
.page-frame { margin: 0; background: var(--paper); padding: 6px; box-shadow: var(--sh-heavy); }
.page-frame img { width: 100%; cursor: zoom-in; }
.page-frame figcaption { color: #333; font-size: 13px; padding: 10px 6px 4px; }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ================= hero ================= */
.hero {
  min-height: 100svh; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 30px;
  max-width: 1240px; margin: 0 auto; padding: 90px 28px calc(var(--player-h) + 30px); position: relative;
}
.kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 18px; font: 700 12px/1 var(--f-ui); letter-spacing: .14em; text-transform: uppercase; }
.kicker span { background: #000000c8; padding: 7px 11px; border-radius: 999px; }
.kicker i { font-style: normal; color: var(--mute); }
.kicker em { font-style: normal; color: #ddd; }
.hero-title { margin: 0; font: 900 clamp(44px, 8vw, 112px)/.98 var(--f-jp); letter-spacing: -.01em; text-shadow: 0 4px 30px #0009, 0 1px 0 #000; }
.hero-en { margin: 14px 0 0; font: 800 clamp(16px, 2vw, 22px)/1 var(--f-ui); letter-spacing: .24em; text-transform: uppercase; text-shadow: 0 2px 14px #000; }
.hero-lede {
  max-width: 44ch; margin: 26px 0 26px; font-size: 18px; line-height: 1.55; color: #f1f1f1;
  background: #0d0d0de0; padding: 16px 18px; border-radius: 8px;
}
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { color: var(--mute); font-size: 12.5px; margin-top: 16px; max-width: 46ch; text-shadow: 0 1px 6px #000; }
.scroll-cue {
  position: absolute; left: 50%; bottom: calc(var(--player-h) + 12px); transform: translateX(-50%);
  display: grid; justify-items: center; gap: 6px; text-decoration: none; color: var(--mute);
  font: 700 11px/1 var(--f-ui); letter-spacing: .16em; text-transform: uppercase;
}
.scroll-cue i { width: 2px; height: 30px; background: linear-gradient(var(--white), transparent); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* hand + phone */
.held { justify-self: center; width: min(420px, 40vw); aspect-ratio: 420 / 760; perspective: 1400px; position: relative; }
.held-tilt {
  position: absolute; inset: 0; transform-style: preserve-3d;
  transform: rotateX(var(--rx, 4deg)) rotateY(var(--ry, -8deg)) rotateZ(-3deg);
  transition: transform .5s var(--ease); animation: bob 5s ease-in-out infinite;
}
@keyframes bob { 50% { translate: 0 -8px; } }
.hand { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hand-back { z-index: 1; }
.hand-front { z-index: 3; pointer-events: none; }


.phone {
  container-type: inline-size; position: absolute; left: 16.7%; top: 0; width: 66.7%; height: 75%; z-index: 2;
  background: linear-gradient(135deg, #3a3c41, #0c0c0d 18%, #050505 80%, #2b2c30);
  border-radius: 40px; padding: 10px; box-shadow: 0 30px 60px #000c, 0 0 0 1px #4a4c52, inset 0 0 0 2px #1b1b1d;
}
.phone-notch { position: absolute; top: 4.8cqw; left: 50%; width: 26cqw; height: 6.6cqw; transform: translateX(-50%); background: #000; border-radius: 99px; z-index: 5; }
.screen { position: relative; width: 100%; height: 100%; border-radius: 10.5cqw; overflow: hidden; background: #0f0f0f; font-size: 3.9cqw; line-height: 1.3; }
.status { display: flex; justify-content: space-between; align-items: center; height: 11cqw; padding: 2cqw 7cqw 0; font: 700 3.9cqw/1 var(--f-ui); }
.sig { display: inline-flex; align-items: flex-end; gap: .8cqw; }
.sig i { width: 1cqw; background: var(--white); border-radius: 1px; }
.sig i:nth-child(1) { height: 1.6cqw; } .sig i:nth-child(2) { height: 2.4cqw; } .sig i:nth-child(3) { height: 3.2cqw; }
.sig b { font-size: 3cqw; margin: 0 1cqw; }
.batt { width: 6.5cqw; height: 3.2cqw; border: 1px solid #fff; border-radius: 1cqw; position: relative; }
.batt::after { content: ""; position: absolute; inset: 1px; right: 30%; background: #fff; border-radius: 1px; }

.yt-video { position: relative; aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
.yt-video img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; transition: transform 8s linear, filter .3s; }
.is-playing .yt-video img { transform: scale(1.12); }
.yt-shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, #000a); }
.yt-big {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 15cqw; height: 15cqw; border-radius: 50%;
  border: 0; background: #000a; display: grid; place-items: center; transition: opacity .3s, transform .2s;
}
.yt-big svg { width: 7cqw; height: 7cqw; fill: #fff; }
.yt-big:hover { transform: translate(-50%, -50%) scale(1.08); }
.is-playing .yt-big { opacity: 0; }
.yt-video:hover .yt-big, .yt-big:focus-visible { opacity: 1; }
.yt-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 1cqw; background: #ffffff40; }
.yt-bar i, .np-bar i { display: block; height: 100%; width: 100%; background: var(--play); transform-origin: 0 50%; transform: scaleX(0); }
.yt-time { position: absolute; left: 3cqw; bottom: 2.6cqw; font: 600 3cqw/1 var(--f-mono); color: #fff; text-shadow: 0 1px 2px #000; }
.yt-meta { padding: 3cqw 4cqw; }
.yt-title { margin: 0; font-weight: 700; font-size: 4cqw; line-height: 1.25; }
.yt-sub { margin: 1.4cqw 0 0; color: #aaa; font-size: 3.2cqw; }
.yt-sub b { color: #ddd; font-family: var(--f-mono); font-weight: 500; }
.yt-actions { display: flex; justify-content: space-between; margin: 3cqw 0; }
.yt-actions button { border: 0; background: transparent; display: grid; justify-items: center; gap: .8cqw; font-size: 2.8cqw; color: #ddd; padding: 0; }
.yt-actions svg { width: 5.4cqw; height: 5.4cqw; fill: #eee; }
.yt-like.liked svg { fill: var(--play); }
.yt-chan { display: flex; align-items: center; gap: 2.4cqw; padding: 2.4cqw 0; border-top: 1px solid #ffffff1a; border-bottom: 1px solid #ffffff1a; }
.avatar { width: 8cqw; height: 8cqw; border-radius: 50%; background: conic-gradient(#1ed760, #3b3b3b, #1ed760); flex: none; }
.yt-chan p { margin: 0; flex: 1; line-height: 1.2; }
.yt-chan b { display: block; font-size: 3.1cqw; }
.yt-chan small { color: #aaa; font-size: 2.7cqw; }
.yt-sub-btn { border: 0; border-radius: 99px; background: #fff; color: #000; font: 800 2.8cqw/1 var(--f-ui); padding: 1.8cqw 3cqw; text-transform: uppercase; }
.yt-sub-btn.on { background: #333; color: #ddd; }
.yt-ch { margin: 2.4cqw 0 1.4cqw; font-weight: 700; font-size: 3.2cqw; }
.yt-ch b { color: #aaa; font-weight: 500; margin-left: 1cqw; }
.yt-feed { list-style: none; margin: 0; padding: 0; height: 24cqw; overflow: hidden; display: flex; flex-direction: column; gap: 1.6cqw; }
.yt-feed li { display: flex; gap: 2cqw; font-size: 2.9cqw; animation: cmtIn .5s var(--ease); }
.yt-feed li i { width: 5.5cqw; height: 5.5cqw; border-radius: 50%; flex: none; background: #555; }
.yt-feed li b { display: block; color: #aaa; font-weight: 600; font-size: 2.5cqw; }
@keyframes cmtIn { from { opacity: 0; transform: translateY(8px); } }
.yt-related { margin-top: 2cqw; border-top: 1px solid #ffffff1a; padding-top: 1.6cqw; }
.yt-related small { color: #aaa; font-size: 2.6cqw; display: block; }
.yt-ann { display: block; margin-top: 1cqw; background: #fff; color: #000; font: 900 8cqw/0.95 var(--f-ui); letter-spacing: -.02em; padding: 1cqw 2cqw 0; white-space: nowrap; overflow: hidden; height: 9cqw; }

/* ================= info ================= */
.info-grid { display: grid; grid-template-columns: .85fr 1.1fr 1fr; gap: 28px; align-items: start; }
.page-frame.tall { transform: rotate(-1.6deg); }
.ticket {
  position: relative; color: #1a1a1a; border-radius: 10px; padding: 22px 22px 18px; overflow: hidden; box-shadow: var(--sh-heavy);
  background:
    repeating-linear-gradient(45deg, #00000008 0 2px, transparent 2px 7px),
    repeating-linear-gradient(-45deg, #00000006 0 2px, transparent 2px 9px),
    linear-gradient(180deg, #f2f1ec, #e6e4dc);
}
.ticket::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 16px; background: #2a2a2a; } /* magnetic stripe */
.ticket-top { display: flex; justify-content: space-between; font: 800 12px/1 var(--f-ui); letter-spacing: .16em; }
.ticket-kind { font-size: 13px; letter-spacing: .1em; }
.ticket-route { display: grid; grid-template-columns: 1fr 60px 1fr; align-items: center; gap: 12px; margin: 20px 0 16px; text-align: center; }
.ticket-route small { display: block; font: 700 10px/1 var(--f-ui); letter-spacing: .14em; text-transform: uppercase; color: #666; }
.ticket-route b { display: block; font: 900 38px/1.1 var(--f-jp); margin: 4px 0 2px; }
.ticket-route em { font-style: normal; font-size: 12px; color: #555; }
.ticket-route svg { color: #333; }
.ticket-fields { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; border-top: 1px dashed #0004; padding-top: 14px; }
.ticket-fields div { min-width: 0; }
.ticket-fields dt { font: 700 10px/1.2 var(--f-ui); letter-spacing: .12em; text-transform: uppercase; color: #6b6b6b; }
.ticket-fields dd { margin: 3px 0 0; font-size: 14px; font-weight: 600; line-height: 1.3; }
.ticket-foot { display: flex; justify-content: space-between; align-items: center; margin: 16px 0 18px; font-size: 11px; color: #555; }
.barcode { width: 110px; height: 22px; background: repeating-linear-gradient(90deg, #222 0 2px, transparent 2px 3px, #222 3px 4px, transparent 4px 7px, #222 7px 10px, transparent 10px 11px); }
.ticket-punch {
  border: 0; background: #1a1a1a; color: #fff; border-radius: 99px;
  font: 700 10px/1 var(--f-ui); letter-spacing: .12em; text-transform: uppercase; padding: 8px 12px;
}
.ticket .hole {
  position: absolute; width: 18px; height: 18px; border-radius: 4px; background: var(--night);
  box-shadow: inset 0 2px 4px #000; animation: punch .25s var(--ease);
}
@keyframes punch { from { transform: scale(0); } }
.info-notes { display: grid; gap: 14px; }
.note-card { background: var(--surface); border-radius: 8px; padding: 20px 22px; box-shadow: var(--sh-med); }
.note-card h3 { margin: 0 0 6px; font: 700 18px/1.3 var(--f-ui); }
.note-card p { margin: 0; color: var(--mute); font-size: 15px; }

/* ================= cast ================= */
.cast { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.pcard { background: var(--surface); border-radius: 8px; padding: 14px 14px 18px; transition: background .25s, transform .25s var(--ease); position: relative; outline: none; }
.pcard:hover, .pcard:focus-visible { background: var(--card); transform: translateY(-6px); }
.pcard-img { aspect-ratio: 1; border-radius: 6px; overflow: hidden; background: var(--paper); box-shadow: var(--sh-heavy); }
.pcard-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: transform .6s var(--ease); }
.pcard:hover .pcard-img img { transform: scale(1.06); }
.pcard-seat { margin: 12px 0 2px; font-size: 11px; color: var(--mute); }
.pcard h3 { margin: 0; font: 700 17px/1.25 var(--f-ui); }
.pcard-role { margin: 2px 0 8px; color: var(--play); font-size: 13px; font-weight: 600; }
.pcard-body { margin: 0; color: var(--mute); font-size: 14px; line-height: 1.5; }
.pcard-role { color: #cbcbcb; }

/* ================= story (scrollytelling) ================= */
.scrolly { display: grid; grid-template-columns: 1fr 360px; gap: 60px; }
.scrolly-steps { display: grid; gap: 34vh; padding: 10vh 0 30vh; }
.step {
  background: #181818ee; border-radius: 8px; padding: 26px 28px; box-shadow: var(--sh-heavy);
  opacity: .66; transform: scale(.98); transition: opacity .5s, transform .5s var(--ease);
}
.step.is-active { opacity: 1; transform: none; }
.step-no { margin: 0 0 8px; font-size: 12px; color: var(--mute); }
.step h3 { margin: 0 0 10px; font: 800 26px/1.15 var(--f-ui); letter-spacing: -.01em; }
.step p { margin: 0 0 12px; color: #d4d4d4; }
.step .page-frame { margin-top: 18px; max-width: 420px; }
.step .page-frame.wide { max-width: none; }
.scrolly-stage { position: sticky; top: 84px; height: calc(100vh - 84px - var(--player-h) - 20px); display: grid; place-items: center; align-content: center; gap: 12px; }
.phone-sm { position: relative; left: auto; top: auto; width: 290px; height: auto; aspect-ratio: 290 / 600; max-height: 100%; }
.stage-cap { color: var(--mute); font-size: 12px; margin: 0; }
.scr { position: absolute; left: 0; right: 0; top: 11cqw; bottom: 0; padding: 4cqw 5cqw; opacity: 0; transform: translateY(12px); transition: opacity .45s, transform .45s var(--ease); pointer-events: none; }
#storyPhone[data-state="upload"] .scr-upload, #storyPhone[data-state="shared"] .scr-shared, #storyPhone[data-state="ghost"] .scr-ghost,
#storyPhone[data-state="viral"] .scr-viral, #storyPhone[data-state="second"] .scr-second, #storyPhone[data-state="delete"] .scr-delete { opacity: 1; transform: none; }
.scr-h { margin: 2cqw 0 4cqw; font: 800 6cqw/1.1 var(--f-ui); }
.up-card { background: #1f1f1f; border-radius: 3cqw; padding: 3cqw; }
.up-card img { border-radius: 2cqw; aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.up-card p { margin: 3cqw 0 2cqw; font-size: 3.4cqw; }
.up-bar { height: 1.6cqw; background: #333; border-radius: 99px; overflow: hidden; }
.up-bar i { display: block; height: 100%; width: var(--up, 0%); background: var(--play); transition: width .2s linear; }
.up-card small { display: block; margin-top: 2cqw; color: #aaa; font-size: 3cqw; }
.scr-note { margin-top: 6cqw; color: #8a8a8a; font-size: 3cqw; transform: rotate(-3deg); background: #f4f2ec; color: #222; padding: 3cqw; border-radius: 1cqw; font-family: "Comic Sans MS", var(--f-mono); }
.chat { list-style: none; margin: 0; padding: 0; display: grid; gap: 3cqw; }
.chat li { display: flex; gap: 2.4cqw; align-items: flex-start; font-size: 3.5cqw; opacity: 0; transform: translateY(8px); transition: .4s var(--ease); }
#storyPhone[data-state="shared"] .chat li { opacity: 1; transform: none; }
#storyPhone[data-state="shared"] .chat li:nth-child(2) { transition-delay: .3s; }
#storyPhone[data-state="shared"] .chat li:nth-child(3) { transition-delay: .6s; }
#storyPhone[data-state="shared"] .chat li:nth-child(4) { transition-delay: .9s; }
#storyPhone[data-state="shared"] .chat li:nth-child(5) { transition-delay: 1.4s; }
.chat b { width: 7.5cqw; height: 7.5cqw; flex: none; border-radius: 50%; background: #3a3a3a; display: grid; place-items: center; font-size: 3cqw; }
.chat span { background: #2a2a2a; padding: 2.2cqw 3cqw; border-radius: 1cqw 3.5cqw 3.5cqw 3.5cqw; max-width: 80%; }
.chat .link-card { padding: 1.4cqw; }
.chat .link-card img { border-radius: 2cqw; aspect-ratio: 2/1; object-fit: cover; }
.chat .link-card em { display: block; font-style: normal; font-size: 2.8cqw; color: #9ad; padding: 1.4cqw .6cqw 0; }
.mini-video { position: relative; border-radius: 2.4cqw; overflow: hidden; aspect-ratio: 16/9; }
.mini-video img { width: 100%; height: 100%; object-fit: cover; }
.mini-video.plain img { filter: grayscale(1); }
.ghost-ring { position: absolute; left: 66%; top: 22%; width: 22%; height: 72%; border: 2px solid var(--heart); border-radius: 50%; animation: ring 1.4s ease-in-out infinite; }
@keyframes ring { 50% { transform: scale(1.12); opacity: .5; } }
.paused { position: absolute; left: 2cqw; bottom: 2cqw; background: #000c; padding: 1cqw 2cqw; border-radius: 1cqw; font-size: 3cqw; }
.cmts { list-style: none; margin: 4cqw 0 0; padding: 0; display: grid; gap: 3cqw; }
.cmts li { font-size: 3.4cqw; }
.cmts b { display: block; color: #aaa; font-weight: 600; font-size: 2.9cqw; }
.big-count { font-size: 11cqw; margin: 0; letter-spacing: -.03em; color: #fff; }
.globe { position: relative; margin: 6cqw auto; width: 54cqw; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #2d2d2d, #0d0d0d 70%); box-shadow: inset 0 0 0 1px #333; overflow: hidden; }
.globe::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, transparent 0 9%, #ffffff10 9% 9.6%), repeating-linear-gradient(0deg, transparent 0 12%, #ffffff10 12% 12.6%); border-radius: 50%; }
.globe i { position: absolute; width: 3cqw; height: 3cqw; border-radius: 50%; background: var(--play); box-shadow: 0 0 0 0 #1ed76080; animation: ping 1.8s infinite; }
.globe i:nth-child(1) { left: 20%; top: 30%; } .globe i:nth-child(2) { left: 60%; top: 22%; animation-delay: .3s; } .globe i:nth-child(3) { left: 75%; top: 55%; animation-delay: .6s; }
.globe i:nth-child(4) { left: 40%; top: 65%; animation-delay: .9s; } .globe i:nth-child(5) { left: 30%; top: 45%; animation-delay: 1.2s; } .globe i:nth-child(6) { left: 52%; top: 42%; animation-delay: .45s; }
.globe i:nth-child(7) { left: 66%; top: 76%; animation-delay: 1.5s; } .globe i:nth-child(8) { left: 14%; top: 58%; animation-delay: .75s; }
@keyframes ping { 70% { box-shadow: 0 0 0 4cqw #1ed76000; } 100% { box-shadow: 0 0 0 0 #1ed76000; } }
.tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 1.6cqw; }
.tags li { background: #2a2a2a; border-radius: 99px; padding: 1.2cqw 2.6cqw; font-size: 3cqw; }
.yt-title2 { margin: 3cqw 0 1cqw; font-weight: 700; font-size: 4cqw; }
.flop { margin: 0; color: #aaa; font-size: 3.2cqw; }
.dialog { background: #2a2a2a; border-radius: 3cqw; padding: 5cqw; margin-top: 8cqw; box-shadow: var(--sh-heavy); }
.dialog p { margin: 0 0 5cqw; font-weight: 700; font-size: 4.2cqw; }
.dialog div { display: flex; justify-content: flex-end; gap: 6cqw; font-size: 3.6cqw; color: #aaa; }
.dialog b { color: var(--heart); }
.dl-list { list-style: none; padding: 0; margin: 7cqw 0 0; display: grid; gap: 2.4cqw; font-size: 2.9cqw; color: #bbb; }
.dl-list li { background: #1c1c1c; padding: 2.2cqw 3cqw; border-radius: 1.6cqw; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: 0; transform: translateX(-10px); transition: .4s var(--ease); }
#storyPhone[data-state="delete"] .dl-list li { opacity: 1; transform: none; }
#storyPhone[data-state="delete"] .dl-list li:nth-child(2) { transition-delay: .25s; }
#storyPhone[data-state="delete"] .dl-list li:nth-child(3) { transition-delay: .5s; }
#storyPhone[data-state="delete"] .dl-list li:nth-child(4) { transition-delay: .75s; }
.dl-list li::before { content: "↓ "; color: var(--play); }

/* ================= anomaly theater ================= */
.theater { display: grid; grid-template-columns: 1.65fr 1fr; gap: 20px; align-items: stretch; }
.theater-screen { position: relative; border-radius: 12px; overflow: hidden; box-shadow: var(--sh-heavy); background: #000; aspect-ratio: 2 / 1; align-self: start; }
.theater-screen img { width: 100%; height: 100%; object-fit: cover; }
.theater-screen.reversed img { transform: scaleX(-1); }
.theater-screen.reversed .hotspots { transform: scaleX(-1); }
.theater-screen.reversed .hotspot span { transform: translateX(-50%) scaleX(-1); }
.glitch { position: absolute; inset: 0; pointer-events: none; opacity: 0; background: repeating-linear-gradient(0deg, #ffffff14 0 1px, transparent 1px 3px); }
.theater-screen.paused .glitch { opacity: 1; animation: glitch .18s steps(2) infinite; }
.theater-screen.paused img { filter: contrast(1.15) saturate(.7); }
@keyframes glitch { 0% { transform: translateX(0); } 50% { transform: translateX(3px); } }
.hotspots { position: absolute; inset: 0; }
.hotspot {
  position: absolute; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; border: 0; padding: 0;
  background: radial-gradient(circle, #ffffff00 40%, #ffffff10 41%, #ffffff00 70%); cursor: crosshair;
}
.hotspot::before { content: ""; position: absolute; inset: 8px; border-radius: 50%; border: 2px dashed #ffffff00; transition: border-color .2s, transform .3s; }
.hotspot:hover::before, .hotspot:focus-visible::before { border-color: #ffffffaa; transform: rotate(60deg); }
.hotspot.found::before { border: 2px solid var(--heart); animation: ring 1.6s ease-in-out infinite; }
.hotspot span {
  position: absolute; left: 50%; top: calc(100% + 4px); transform: translateX(-50%); white-space: nowrap; pointer-events: none;
  background: #000d; color: #fff; padding: 4px 8px; border-radius: 4px; font: 700 11px/1 var(--f-ui); letter-spacing: .06em; opacity: 0; transition: opacity .3s;
}
.hotspot.found span { opacity: 1; }
.theater-hud { position: absolute; left: 12px; top: 12px; display: flex; gap: 8px; align-items: center; background: #000b; padding: 7px 11px; border-radius: 6px; font-size: 12px; }
.rec-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--heart); animation: ledblink 1s steps(2) infinite; }
.sep { color: #666; }
.theory-panel { background: var(--surface); border-radius: 12px; padding: 18px; display: flex; flex-direction: column; min-height: 0; box-shadow: var(--sh-med); }
.th-tools { display: flex; flex-wrap: wrap; gap: 8px; }
.th-h { margin: 16px 0 8px; font: 700 12px/1 var(--f-ui); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.th-feed { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; max-height: 300px; overflow: auto; flex: 1; }
.th-feed li { display: grid; grid-template-columns: 32px 1fr; gap: 10px; font-size: 14px; animation: cmtIn .5s var(--ease); }
.th-feed li i { width: 32px; height: 32px; border-radius: 50%; background: #3a3a3a; display: grid; place-items: center; font-style: normal; font-size: 13px; }
.th-feed li b { display: block; font-size: 12px; color: var(--mute); font-weight: 600; }
.th-feed li.canon b::after { content: " · manga"; color: var(--play); }
.th-empty { color: var(--mute); font-size: 14px; display: block !important; }
.th-done { margin-top: 14px; background: #ffffff0d; border-radius: 8px; padding: 14px; }
.th-done p { margin: 0 0 12px; font-size: 14px; }
.th-fine { color: #8a8a8a; font-size: 12px; margin: 14px 0 0; }

/* ================= studio ================= */
.studio { display: grid; grid-template-columns: 1fr 1.15fr; gap: 26px; align-items: center; }
.studio-art { transform: rotate(1.2deg); }
.guitar-card { background: var(--surface); border-radius: 12px; padding: 20px; box-shadow: var(--sh-heavy); }
.gc-head { display: flex; align-items: center; gap: 16px; }
.gc-head > div:nth-child(2) { flex: 1; min-width: 0; }
.gc-title { margin: 0; font: 800 20px/1.2 var(--f-ui); }
.gc-sub { margin: 2px 0 0; color: var(--mute); font-size: 13px; }
.chord-now { text-align: center; background: var(--surface-2); border-radius: 8px; padding: 6px 14px; min-width: 76px; }
.chord-now small { display: block; color: var(--mute); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }
.chord-now b { font: 800 24px/1.1 var(--f-ui); }
.fretboard {
  position: relative; margin: 20px 0 14px; height: 230px; border-radius: 10px; overflow: hidden; touch-action: none; cursor: grab;
  background:
    linear-gradient(90deg, #00000060, transparent 10%, transparent 90%, #00000060),
    repeating-linear-gradient(0deg, #ffffff05 0 1px, transparent 1px 4px),
    linear-gradient(180deg, #3b2418, #2a170f 50%, #3a2216);
  box-shadow: inset 0 0 0 1px #000, inset 0 10px 20px #0008;
}
.frets { position: absolute; inset: 0 34% 0 0; display: flex; justify-content: space-around; }
.frets i { width: 4px; background: linear-gradient(90deg, #8d8f93, #e3e5e8, #8d8f93); box-shadow: 0 0 4px #000; }
.soundhole { position: absolute; z-index: 1; right: 6%; top: 50%; width: 170px; height: 170px; transform: translateY(-50%); border-radius: 50%; background: radial-gradient(circle, #080503 60%, #1d120c 61%, #1d120c 66%, #c9b79c 67% 69%, #1d120c 70% 74%, #c9b79c 75% 76%, transparent 77%); }
.gstring { position: absolute; left: 0; right: 0; height: var(--w, 2px); margin-top: calc(var(--w, 2px) / -2); background: linear-gradient(180deg, #f7f7f7, #9a9a9a); box-shadow: 0 2px 3px #000a; z-index: 3; }
.gstring.wound { background: repeating-linear-gradient(90deg, #d8c39b 0 2px, #8f7b55 2px 3px); }
.gstring.hit { animation: vib .5s linear; }
.gstring.hit::after { content: ""; position: absolute; inset: -6px 0; background: radial-gradient(ellipse at var(--hx, 50%) 50%, #1ed76066, transparent 60%); animation: glow .6s ease-out forwards; }
@keyframes vib { 0%, 100% { transform: translateY(0); } 10% { transform: translateY(2.5px); } 20% { transform: translateY(-2.2px); } 30% { transform: translateY(1.8px); } 40% { transform: translateY(-1.4px); } 55% { transform: translateY(1px); } 70% { transform: translateY(-.6px); } 85% { transform: translateY(.3px); } }
@keyframes glow { to { opacity: 0; } }
.chord-row { display: flex; flex-wrap: wrap; gap: 6px; }
.chord-row span { padding: 6px 10px; border-radius: 6px; background: var(--surface-2); color: var(--mute); font: 600 12px/1 var(--f-mono); transition: background .2s, color .2s; }
.chord-row span.on { background: var(--white); color: #000; }
.gc-tools { display: flex; align-items: center; gap: 16px; margin-top: 14px; flex-wrap: wrap; }
.tempo { display: flex; align-items: center; gap: 10px; color: var(--mute); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.tempo input { accent-color: var(--play); width: 140px; }

/* ================= gate + ending ================= */
.gate { position: relative; z-index: 1; padding: 120px 24px 60px; display: grid; place-items: center; text-align: center; }
.gate-inner { max-width: 620px; background: #121212f2; border-radius: 12px; padding: 40px 32px; box-shadow: var(--sh-heavy); }
.gate-led { display: inline-block; margin: 0 0 16px; padding: 8px 18px; border-radius: 4px; background: #000; color: var(--led); font: 400 22px/1 var(--f-led); letter-spacing: .3em; text-shadow: 0 0 8px #ffb23e99; }
.gate h2 { margin: 0 0 10px; font: 800 clamp(26px, 3.4vw, 40px)/1.1 var(--f-ui); }
.gate p { color: var(--mute); }
.gate-btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 20px; }
.gate.is-open { padding-bottom: 0; }
.gate.is-open .gate-inner { display: none; }
.ending.is-locked { max-height: 340px; overflow: hidden; position: relative; }
.ending.is-locked > *:not(.sign) { filter: blur(22px); opacity: .25; user-select: none; }
.ending.is-locked::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent, var(--night)); }
.ending-grid > *, .info-grid > *, .studio > *, .theater > *, .scrolly > * { min-width: 0; }
.ending-grid { display: grid; grid-template-columns: .9fr 1fr; gap: 40px; align-items: center; }
.ending-page { transform: rotate(-1deg); }
.ending-copy h3 { margin: 0 0 12px; font: 800 clamp(26px, 3vw, 38px)/1.1 var(--f-ui); }
.ending-copy p { color: #d4d4d4; font-size: 17px; }
.ending-spread { margin-top: 50px; }
.earbuds { margin-top: 26px; background: var(--surface); border-radius: 12px; padding: 18px 20px; box-shadow: var(--sh-med); }
.eb-h { margin: 0 0 12px; font: 700 12px/1 var(--f-ui); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.eb-row { display: flex; align-items: center; justify-content: center; }
.eb-cable { flex: 1 1 140px; min-width: 30px; max-width: 160px; height: 50px; }
.eb {
  border: 0; background: var(--surface-2); border-radius: 50%; width: 92px; height: 92px; display: grid; place-items: center; align-content: center; gap: 2px;
  transition: transform .2s var(--ease), box-shadow .3s;
}
.eb b { font: 800 16px/1 var(--f-ui); }
.eb small { color: var(--mute); font-size: 11px; }
.eb-icon { width: 22px; height: 28px; border-radius: 50% 50% 40% 40%; background: linear-gradient(180deg, #fafafa, #cfcfcf); position: relative; }
.eb-icon::after { content: ""; position: absolute; left: 9px; top: 24px; width: 4px; height: 14px; background: #d9d9d9; border-radius: 2px; }
.eb[aria-pressed="true"] { box-shadow: 0 0 0 3px var(--play), 0 0 30px #1ed76055; transform: scale(1.05); }
.eb-note { margin: 12px 0 0; text-align: center; color: var(--mute); font-size: 13px; }

/* ================= themes (tracklist) ================= */
.tracklist { list-style: none; margin: 0; padding: 0; border-top: 1px solid #ffffff1a; }
.track { display: grid; grid-template-columns: 48px 1fr 70px; gap: 16px; align-items: start; padding: 18px 12px; border-radius: 6px; transition: background .2s; }
.track:hover { background: #ffffff12; }
.t-no { color: var(--mute); font-size: 16px; padding-top: 2px; text-align: center; }
.track:hover .t-no { color: var(--play); }
.track h3 { margin: 0 0 4px; font: 700 17px/1.3 var(--f-ui); }
.track p { margin: 0; color: var(--mute); font-size: 15px; max-width: 70ch; }
.t-len { color: var(--mute); font-size: 13px; text-align: right; padding-top: 3px; }

/* ================= facts (comments) ================= */
.facts { max-width: 820px; }
.facts-h { font: 700 18px/1 var(--f-ui); margin: 0 0 22px; display: flex; gap: 10px; align-items: baseline; }
.facts-h b { color: var(--mute); font-weight: 500; }
.facts-h small { margin-left: auto; color: var(--mute); font-size: 13px; font-weight: 600; }
.fact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.fact { display: grid; grid-template-columns: 44px 1fr; gap: 14px; }
.f-av { width: 44px; height: 44px; border-radius: 50%; background: var(--surface-2); display: grid; place-items: center; font: 900 18px/1 var(--f-jp); box-shadow: inset 0 0 0 1px #333; }
.f-who { margin: 0 0 4px; font: 600 13px/1 var(--f-ui); }
.f-who i { color: var(--mute); font-style: normal; font-weight: 400; }
.fact p:not(.f-who) { margin: 0; color: #dedede; }
.f-like { margin-top: 8px; border: 0; background: transparent; color: var(--mute); display: inline-flex; gap: 6px; align-items: center; padding: 4px 8px 4px 0; font-size: 13px; }
.f-like svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
.f-like.on { color: var(--heart); }
.f-like.on svg { fill: currentColor; animation: pop .35s var(--ease); }
@keyframes pop { 50% { transform: scale(1.4); } }
.fact.spam p:not(.f-who) { color: #8a8a8a; font-size: 14px; }

/* ================= read ================= */
.read-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.read-card { display: grid; grid-template-columns: 84px 1fr auto; gap: 16px; align-items: center; background: var(--surface); border-radius: 8px; padding: 14px; text-decoration: none; transition: background .2s, transform .2s var(--ease); }
.read-card:hover { background: var(--card); transform: translateY(-3px); }
.read-card img { width: 84px; height: 84px; object-fit: cover; border-radius: 6px; }
.read-fa { width: 84px; height: 84px; border-radius: 6px; display: grid; place-items: center; background: var(--paper); color: var(--ink); font: 900 26px/1 var(--f-jp); }
.read-card small { color: var(--mute); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; }
.read-card b { display: block; font: 800 18px/1.25 var(--f-ui); }
.read-card span { color: var(--mute); font-size: 13px; }
.go { font-style: normal; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); }
.read-card:hover .go { background: var(--play); color: #000; }
.siblings { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 30px; }
.siblings p { margin: 0 8px 0 0; color: var(--mute); font: 700 12px/1 var(--f-ui); letter-spacing: .14em; text-transform: uppercase; }
.siblings a { text-decoration: none; background: var(--surface-2); padding: 9px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; }
.siblings a:hover { background: #2a2a2a; }

/* ================= footer ================= */
.foot { position: relative; z-index: 1; text-align: center; padding: 60px 24px calc(var(--player-h) + 60px); color: var(--mute); font-size: 13px; max-width: 760px; margin: 0 auto; }
.foot-big { color: var(--white); font: 900 clamp(30px, 5vw, 56px)/1 var(--f-jp); margin: 0 0 20px; }
.sources a { color: #ddd; }

/* ================= player + line map ================= */
.player {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; height: var(--player-h);
  background: #181818; box-shadow: 0 -8px 24px #0008;
  display: grid; grid-template-rows: 30px 1fr; grid-template-columns: minmax(0, 1fr);
}
.linemap { position: relative; padding: 0 28px; }
.lm-rail { position: absolute; left: 40px; right: 40px; top: 13px; height: 4px; border-radius: 2px; background: #3a3a3a; }
.lm-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 100%; background: #e8e8e8; border-radius: 2px; transform-origin: 0 50%; transform: scaleX(0); will-change: transform; }
.lm-train { position: absolute; top: -5px; left: 0; will-change: transform; width: 22px; height: 14px; margin-left: -11px; border-radius: 4px 7px 4px 4px; background: var(--white); box-shadow: 0 0 0 2px #181818; }
.lm-train::after { content: ""; position: absolute; right: 3px; top: 3px; width: 5px; height: 4px; border-radius: 1px; background: #181818; }
.lm-stops { list-style: none; margin: 0; padding: 0; position: absolute; left: 40px; right: 40px; top: 0; height: 30px; }
.lm-stops li { position: absolute; top: 0; transform: translateX(-50%); }
.lm-stops button { border: 0; background: transparent; padding: 0; display: grid; justify-items: center; height: 30px; }
.lm-stops .dotx { width: 12px; height: 12px; margin-top: 9px; border-radius: 50%; background: #181818; box-shadow: inset 0 0 0 3px #8a8a8a; transition: box-shadow .2s; }
.lm-stops .lbl { position: absolute; bottom: 22px; white-space: nowrap; font: 400 11px/1 var(--f-led); color: var(--mute); opacity: 0; transform: translateY(4px); transition: .2s; background: #000; padding: 4px 6px; border-radius: 3px; }
.lm-stops button:hover .lbl, .lm-stops button:focus-visible .lbl { opacity: 1; transform: none; color: var(--led); }
.lm-stops li.passed .dotx { box-shadow: inset 0 0 0 3px #e8e8e8; }
.lm-stops li.here .dotx { box-shadow: inset 0 0 0 3px var(--play), 0 0 0 4px #1ed76033; }
.np { display: grid; grid-template-columns: 48px minmax(0, 1fr) minmax(0, 1.6fr) auto auto; align-items: center; gap: 14px; padding: 0 18px 8px; }
.np-art { width: 48px; height: 48px; border-radius: 4px; object-fit: cover; }
.np-meta { min-width: 0; }
.np-title { margin: 0; font: 700 14px/1.2 var(--f-ui); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.np-sub { margin: 2px 0 0; font-size: 12px; color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.np-ctrl { display: flex; align-items: center; gap: 14px; }
.np-prog { flex: 1; display: flex; align-items: center; gap: 10px; font-size: 11px; color: var(--mute); }
.np-bar { flex: 1; height: 4px; border-radius: 2px; background: #4d4d4d; overflow: hidden; }
.np-bar i { background: var(--white); }
.is-playing .np-bar i { background: var(--play); }
.np-viz { width: 160px; height: 36px; }
.np-train[aria-pressed="true"] { background: var(--white); color: #000; }
.np-train svg { width: 16px; height: 16px; }

/* ================= lightbox ================= */
.lightbox { position: fixed; inset: 0; z-index: 80; background: #000e; display: grid; place-items: center; align-content: center; gap: 12px; padding: 30px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 92vw; max-height: 82vh; box-shadow: var(--sh-heavy); background: var(--paper); }
.lightbox p { color: var(--mute); font-size: 13px; margin: 0; text-align: center; }
.lb-close { position: absolute; top: 16px; right: 16px; }

/* ================= responsive ================= */
@media (max-width: 1080px) {
  .cast { grid-template-columns: repeat(3, 1fr); }
  .info-grid { grid-template-columns: 1fr 1fr; }
  .info-notes { grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr); }
  .read-grid { grid-template-columns: 1fr; max-width: 560px; }
  .np-viz { display: none; }
  .np { grid-template-columns: 48px minmax(0, 1fr) minmax(0, 1.4fr) auto; }
}
@media (max-width: 860px) {
  :root { --band-top: 9vh; --band-h: 40vh; }
  .topbar { grid-template-columns: auto minmax(0, 1fr) auto; padding: 0 12px; gap: 10px; }
  .eb { width: 78px; height: 78px; }
  .brand span { display: none; }
  .led { min-width: 0; }
  .top-tools a { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 84px; text-align: left; gap: 10px; }
  .held { width: min(300px, 72vw); order: -1; margin-top: 10px; }
  .scroll-cue { display: none; }
  .info-grid, .studio, .ending-grid, .theater { grid-template-columns: 1fr; }
  .info-notes { grid-template-columns: 1fr; }
  .cast { grid-template-columns: repeat(2, 1fr); }
  .scrolly { grid-template-columns: 1fr; gap: 0; }
  .scrolly-stage { order: -1; top: 64px; height: 46vh; z-index: 2; background: linear-gradient(180deg, #0b0b0c 80%, transparent); padding: 6px 0 10px; }
  .phone-sm { width: auto; height: 100%; }
  .scrolly-steps { gap: 30vh; padding-top: 4vh; }
  :root { --player-h: 92px; }
  .np { grid-template-columns: 40px minmax(0, 1fr) auto auto; gap: 10px; padding: 0 12px 8px; }
  .np-art { width: 40px; height: 40px; }
  .np-prog { display: none; }
  .lm-rail, .lm-stops { left: 18px; right: 18px; }
  .station { padding-top: 100px; }
  .fretboard { height: 200px; }
  .soundhole { width: 120px; height: 120px; }
}
@media (max-width: 520px) {
  .cast { grid-template-columns: 1fr 1fr; gap: 10px; }
  .pcard-body { display: none; }
  .ticket-fields { grid-template-columns: 1fr; }
  .led-tag { display: none; }
  .hero-title { font-size: clamp(40px, 13vw, 64px); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
