/* Muzya 介紹網站 — 「唱片內頁」設計系統
   紙色＋墨藍＋一個玫瑰紅重點色；大標用預告片同款品牌圓體（Fredoka／Chiron GoRound TC）、內文用遊戲同款圓體（Chiron GoRound TC）、
   等寬字只放目錄編號與資料。夜晚段落（真專輯、預告片）換深色舞台。 */

:root {
  --paper: #F4EFE6;
  --paper-2: #EAE3D5;
  --paper-3: #DDD3C0;
  --ink: #1B1E3F;
  --ink-2: #3D4166;
  --ink-3: #5C607E;
  --rule: rgba(27, 30, 63, .16);
  --rule-strong: rgba(27, 30, 63, .5);
  --rose: #E0457B;
  --rose-ink: #B12E5E;
  --gold: #F2B640;
  --sprout: #2A7448;
  --night: #14163A;
  --night-2: #1E2150;
  --cream: #FFF8EE;
  --cream-dim: #B9B7CC;

  --f-display: "Fredoka", "Muzya GoRound", "Chiron GoRound TC", "Noto Sans TC", system-ui, sans-serif;
  --f-body: "Muzya GoRound", "Chiron GoRound TC", "Noto Sans TC", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "DM Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  --f-brand: "Fredoka", "Chiron GoRound TC", sans-serif;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  --radius: 6px;
  --shadow-sleeve: 0 1px 0 rgba(255, 255, 255, .5) inset, 0 2px 3px rgba(27, 30, 63, .18), 0 18px 40px -12px rgba(27, 30, 63, .45);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 64px;
  color-scheme: light;
}

html:lang(zh-Hans) {
  --f-display: "Fredoka", "Muzya GoRound", "Chiron GoRound TC", "Noto Sans SC", system-ui, sans-serif;
  --f-body: "Muzya GoRound", "Chiron GoRound TC", "Noto Sans SC", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
/* 紙紋：極淡的雜訊，讓大片紙色不像純色塊 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: .06;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; }
a { color: inherit; }
::selection { background: var(--gold); color: var(--ink); }
:focus-visible { outline: 2px solid var(--rose-ink); outline-offset: 3px; border-radius: 2px; }
.sec--night :focus-visible, .dn.is-night :focus-visible, .foot :focus-visible, .player :focus-visible { outline-color: var(--gold); }
[hidden] { display: none !important; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 300; background: var(--ink); color: var(--cream); padding: 10px 14px; border-radius: var(--radius); }
.skip:focus { top: 12px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.mono { font-family: var(--f-mono); font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; font-feature-settings: "zero" 0; }
html:lang(zh-Hant) .mono, html:lang(zh-Hans) .mono { letter-spacing: .06em; }

/* ───────── 頂欄 ───────── */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}
.topbar .wrap { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; flex: none; }
.brand svg { width: 30px; height: 30px; }
.brand__word { font-family: var(--f-brand); font-weight: 700; font-size: 1.45rem; letter-spacing: -.01em; line-height: 1; }
.brand__zh { font-family: var(--f-body); font-size: .8rem; color: var(--ink-3); margin-left: 2px; padding-left: 8px; border-left: 1px solid var(--rule); line-height: 1; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { text-decoration: none; font-size: .92rem; color: var(--ink-2); display: inline-flex; gap: 6px; align-items: baseline; padding: 6px 0; }
.nav a .mono { color: var(--ink-3); font-size: .68rem; }
.nav a:hover { color: var(--ink); }
.lang { display: flex; align-items: center; border: 1px solid var(--rule-strong); border-radius: 999px; overflow: hidden; }
.lang a { text-decoration: none; font-size: .78rem; padding: 4px 10px; line-height: 1.4; color: var(--ink-2); }
.lang a[aria-current="true"] { background: var(--ink); color: var(--cream); }
.lang a:not([aria-current="true"]):hover { background: var(--paper-2); }
.soon-pill {
  font-family: var(--f-mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--rose-ink); border: 1.5px solid currentColor; border-radius: 3px; padding: 3px 8px; transform: rotate(-2deg);
  white-space: nowrap;
}
.menu-btn { display: none; color: var(--ink); background: none; border: 1px solid var(--rule-strong); border-radius: 999px; padding: 6px 14px; font-size: .85rem; cursor: pointer; }

/* ───────── 首屏 ───────── */
.hero { position: relative; padding: clamp(36px, 6vw, 88px) 0 clamp(56px, 7vw, 104px); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.catalog-line { display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--ink-3); margin-bottom: clamp(18px, 2.4vw, 30px); }
.catalog-line span + span::before { content: "·"; margin-right: 14px; color: var(--rule-strong); }
.hero h1 {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(2.6rem, 1.2rem + 5vw, 6rem);
  line-height: 1;
  letter-spacing: -.015em;
  margin: 0 0 clamp(18px, 2.4vw, 28px);
  text-wrap: balance;
}
.hero h1 em { font-style: normal; color: var(--rose-ink); }
html:lang(zh-Hant) .hero h1, html:lang(zh-Hans) .hero h1 { font-weight: 700; letter-spacing: .03em; line-height: 1.16; font-size: clamp(2.4rem, 1.2rem + 4.4vw, 5.2rem); }
html:lang(zh-Hant) .hero h1 em, html:lang(zh-Hans) .hero h1 em { font-style: normal; }
/* 中文標題只在 <wbr> 和標點處斷行，不把一個詞拆開 */
html:lang(zh-Hant) :is(.hero h1, .h2), html:lang(zh-Hans) :is(.hero h1, .h2) { word-break: keep-all; overflow-wrap: anywhere; }
.hero__lede { font-size: clamp(1.05rem, .95rem + .4vw, 1.25rem); color: var(--ink-2); max-width: 36ch; margin: 0 0 30px; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; cursor: pointer; text-decoration: none;
  background: var(--ink); color: var(--cream); border: 0; border-radius: 999px; padding: 14px 24px 14px 18px;
  font-size: 1rem; font-weight: 500; transition: transform .2s var(--ease), background .2s;
}
.btn:hover { background: #2A2E5C; transform: translateY(-1px); }
.btn .tri { width: 26px; height: 26px; border-radius: 50%; background: var(--rose); display: grid; place-items: center; }
.btn .tri::before { content: ""; border-left: 8px solid var(--cream); border-top: 5px solid transparent; border-bottom: 5px solid transparent; margin-left: 2px; }
.link-arrow { font-weight: 500; text-decoration: none; border-bottom: 1.5px solid var(--ink); padding-bottom: 2px; display: inline-flex; gap: 8px; align-items: center; }
.link-arrow::after { content: "→"; transition: transform .2s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }
.platforms { margin-top: 26px; color: var(--ink-3); display: flex; align-items: center; gap: 10px; }
.platforms::before { content: ""; width: 26px; height: 1px; background: var(--rule-strong); }

/* 唱片封套＋黑膠 */
.record { position: relative; width: min(100%, 470px); margin-inline: auto; aspect-ratio: 1; }
.record__sleeve {
  position: relative; z-index: 2; width: 100%; height: 100%; margin: 0;
  border-radius: 3px; overflow: hidden; background: var(--paper-2); box-shadow: var(--shadow-sleeve);
  transform: rotate(-2.2deg);
}
.record__sleeve img { width: 100%; height: 100%; object-fit: cover; }
.record__sleeve::after { /* 封套邊的磨損反光 */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25), inset 0 0 60px rgba(27, 30, 63, .18);
}
/* 日版唱片側帶（obi）：包住封套左緣的直條，收藏唱片才有的東西 */
.obi {
  position: absolute; z-index: 3; left: 0; top: 0; bottom: 0; width: 11.5%;
  background: var(--cream); border-right: 1px solid rgba(27, 30, 63, .12); box-shadow: 2px 0 6px -3px rgba(27, 30, 63, .35);
  display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 10px 0 12px;
}
.obi__band { position: absolute; left: 0; right: 0; top: 34%; height: 3px; background: var(--rose); }
.obi__brand { writing-mode: vertical-rl; font-family: var(--f-body); font-weight: 700; font-size: clamp(.95rem, .6rem + .9vw, 1.35rem); letter-spacing: .18em; color: var(--rose-ink); }
.obi__line { writing-mode: vertical-rl; font-family: var(--f-body); font-size: clamp(.58rem, .45rem + .3vw, .72rem); letter-spacing: .14em; color: var(--ink-2); line-height: 1.2; }
.obi__no { writing-mode: vertical-rl; font-family: var(--f-mono); font-size: .55rem; letter-spacing: .1em; color: var(--ink-3); }
.vinyl {
  position: absolute; z-index: 1; top: 4%; right: -30%; width: 92%; aspect-ratio: 1; border-radius: 50%;
  background:
    radial-gradient(circle, var(--vinyl-label, var(--rose)) 0 15.5%, #0b0b14 15.8% 17%, transparent 17.2%),
    repeating-radial-gradient(circle, #15151f 0 1.2px, #1d1d2a 1.4px 2.6px),
    #111;
  box-shadow: 0 10px 30px -6px rgba(0, 0, 0, .55);
  transition: right .6s var(--ease);
}
.vinyl::before { /* 唱片反光 */
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 30deg, transparent 0 12%, rgba(255, 255, 255, .13) 16%, transparent 22% 58%, rgba(255, 255, 255, .09) 62%, transparent 68%);
}
.vinyl::after { /* 中心孔 */
  content: ""; position: absolute; left: 50%; top: 50%; width: 3%; aspect-ratio: 1; border-radius: 50%; background: var(--paper); transform: translate(-50%, -50%);
}
.vinyl__mark { position: absolute; left: 50%; top: 50%; width: 15%; transform: translate(-50%, -50%); opacity: .95; }
.is-playing .vinyl { right: -42%; animation: spin 2.2s linear infinite; }
@keyframes spin { to { rotate: 360deg; } }
.sticker {
  position: absolute; z-index: 3; right: -7%; bottom: -6%; width: 30%; aspect-ratio: 1; border-radius: 50%;
  background: var(--gold); color: var(--ink); display: grid; place-items: center; text-align: center;
  transform: rotate(-12deg); box-shadow: 0 6px 14px -4px rgba(27, 30, 63, .4);
  font-family: var(--f-display); font-weight: 700; line-height: 1.02; font-size: clamp(.82rem, .6rem + .7vw, 1.08rem);
}
.sticker b { display: block; font-size: 2.1em; line-height: .9; letter-spacing: -.03em; }
.sticker small { display: block; font-family: var(--f-mono); font-size: .62em; font-weight: 400; letter-spacing: .06em; text-transform: uppercase; margin-top: 3px; }
.peek-cat { position: absolute; z-index: 3; width: 22%; right: 6%; top: -15%; transform: rotate(8deg); filter: drop-shadow(0 6px 8px rgba(27, 30, 63, .25)); }
.nowplaying {
  margin: 30px auto 0; width: min(100%, 470px);
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px;
  border-top: 1px solid var(--rule-strong); padding-top: 12px;
}
.nowplaying__label { color: var(--ink-3); }
.nowplaying__title { font-size: .95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nowplaying__title b { font-weight: 600; }

/* 播放鈕（全站共用） */
.play {
  --s: 40px;
  width: var(--s); height: var(--s); flex: none; border-radius: 50%; border: 1.5px solid currentColor; background: transparent;
  display: grid; place-items: center; cursor: pointer; transition: background .15s, color .15s, transform .15s;
}
.play::before { content: ""; border-left: calc(var(--s) * .26) solid currentColor; border-top: calc(var(--s) * .16) solid transparent; border-bottom: calc(var(--s) * .16) solid transparent; margin-left: calc(var(--s) * .06); }
.play[aria-pressed="true"]::before { border: 0; width: calc(var(--s) * .28); height: calc(var(--s) * .3); margin: 0; background: linear-gradient(90deg, currentColor 0 35%, transparent 35% 65%, currentColor 65%); }
.play:hover { background: var(--ink); color: var(--cream); }
.play--solid { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.play--solid:hover { background: var(--rose-ink); border-color: var(--rose-ink); }
.play--sm { --s: 30px; border-width: 1.2px; }
.play.is-loading { animation: pulse 1s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .45; } }

/* ───────── 段落共用 ───────── */
.sec { position: relative; padding: clamp(72px, 9vw, 140px) 0; }
.sec--band { background: var(--paper-2); }
.sec--night { background: var(--night); color: var(--cream); }
.sec--night ::selection { background: var(--rose); color: var(--cream); }
.sec-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 20px clamp(24px, 5vw, 72px); align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.sec-head--stack { grid-template-columns: 1fr; max-width: 820px; }
.sec-label { display: flex; align-items: center; gap: 14px; color: var(--ink-3); margin-bottom: 18px; }
.sec-label .no { color: var(--rose-ink); }
.sec-label::after { content: ""; flex: 1; max-width: 120px; height: 1px; background: currentColor; opacity: .5; }
.sec--night .sec-label { color: var(--cream-dim); }
.sec--night .sec-label .no { color: var(--gold); }
.h2 {
  font-family: var(--f-display); font-weight: 600; margin: 0;
  font-size: clamp(2.1rem, 1.3rem + 3.2vw, 4.2rem); line-height: 1.04; letter-spacing: -.012em; text-wrap: balance;
}
.h2 em { font-style: normal; color: var(--rose-ink); }
.sec--night .h2 em { color: var(--gold); }
html:lang(zh-Hant) .h2, html:lang(zh-Hans) .h2 { font-weight: 700; letter-spacing: .03em; line-height: 1.22; font-size: clamp(2rem, 1.2rem + 2.8vw, 3.7rem); }
html:lang(zh-Hant) .h2 em, html:lang(zh-Hans) .h2 em { font-style: normal; }
.sec-intro { font-size: 1.08rem; color: var(--ink-2); max-width: 46ch; margin: 0; }
.sec--night .sec-intro { color: var(--cream-dim); }
.footnote { font-size: .8rem; color: var(--ink-3); margin-top: 28px; max-width: 70ch; }
.sec--night .footnote { color: var(--cream-dim); }

/* ───────── 白天／晚上 ───────── */
.dn { transition: background-color .7s var(--ease), color .7s var(--ease); }
.dn.is-night { background: var(--night); color: var(--cream); }
.dn.is-night .sec-label { color: var(--cream-dim); }
.dn.is-night .sec-label .no, .dn.is-night .h2 em { color: var(--gold); }
.dn.is-night .sec-intro { color: var(--cream-dim); }
.dn .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-areas: "copy stage" "controls stage"; gap: 0 clamp(28px, 5vw, 72px); align-items: center; }
.dn__copy { grid-area: copy; align-self: end; }
.dn__stage { grid-area: stage; }
.dn__controls { grid-area: controls; align-self: start; }
.dn__copy .h2 { margin-bottom: 22px; }
.dn__switch {
  margin: 28px 0 22px; display: inline-grid; grid-template-columns: 1fr 1fr; position: relative;
  border: 1.5px solid currentColor; border-radius: 999px; padding: 4px; cursor: pointer; background: none;
}
.dn__switch span { position: relative; z-index: 1; padding: 8px 18px; font-size: .92rem; display: flex; align-items: center; gap: 8px; justify-content: center; transition: color .4s; }
.dn__switch::before {
  content: ""; position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px; background: var(--ink);
  transition: transform .5s var(--ease), background .5s;
}
.dn__switch span:first-child { color: var(--cream); }
.dn.is-night .dn__switch::before { transform: translateX(100%); background: var(--gold); }
.dn.is-night .dn__switch span:first-child { color: var(--cream); }
.dn.is-night .dn__switch span:last-child { color: var(--ink); }
.dn__cast { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
/* 人多（10-11 起本業照陸續進來）：只放頭像，名字在下面的標籤與 title */
.dn__cast button {
  display: block; cursor: pointer; padding: 2px; border-radius: 50%; border: 2px solid transparent; background: transparent;
  transition: border-color .2s, transform .2s var(--ease);
}
.dn__cast img { display: block; width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.dn__cast button:hover { transform: translateY(-2px); }
.dn__cast button[aria-pressed="true"] { border-color: var(--ink); }
.dn.is-night .dn__cast button[aria-pressed="true"] { border-color: var(--gold); }

.dn__stage { position: relative; aspect-ratio: 3 / 2; }
/* 晚上：同一個地方、燈一暗他開唱——開唱劇照＋聚光燈暗角 */
.dn__night {
  position: absolute; inset: 0; margin: 0; border-radius: var(--radius); overflow: hidden; background: #000;
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .65); opacity: 0; transform: scale(.97); transition: opacity .9s var(--ease), transform 1.2s var(--ease);
}
.dn__night img { width: 100%; height: 100%; object-fit: cover; }
.dn__spot { position: absolute; inset: 0; background: radial-gradient(58% 72% at 52% 34%, rgba(255, 214, 140, .10) 0 30%, transparent 52%, rgba(9, 10, 28, .78) 100%), linear-gradient(0deg, rgba(9, 10, 28, .82) 0%, rgba(9, 10, 28, 0) 42%); }
/* 白天：拍立得＋職稱 */
.dn__day {
  position: absolute; z-index: 2; left: 4%; top: 5%; width: 50%; margin: 0;
  background: #FFFDF8; padding: 3.2% 3.2% 12%; border-radius: 3px; box-shadow: 0 2px 4px rgba(27, 30, 63, .15), 0 24px 46px -16px rgba(27, 30, 63, .5);
  transform: rotate(-4deg); transition: transform .8s var(--ease), opacity .6s;
}
.dn__day img { aspect-ratio: 1; width: 100%; object-fit: cover; filter: saturate(.92) sepia(.08); }
.dn__day figcaption { position: absolute; left: 0; right: 0; bottom: 3.5%; text-align: center; font-family: var(--f-display); font-weight: 500; font-size: clamp(.9rem, .7rem + .6vw, 1.25rem); color: var(--ink); }
html:lang(zh-Hant) .dn__day figcaption, html:lang(zh-Hans) .dn__day figcaption { font-style: normal; }
.dn__tag { margin: 0; display: grid; gap: 4px; container-type: inline-size; transition: opacity .5s var(--ease), transform .7s var(--ease); }
.dn__tag .mono { opacity: .8; }
/* --n＝標籤寬度單位（page.mjs fitN）：長的本業名自動縮字，中文不拆成「師／傅」兩行 */
.dn__tag strong { font-family: var(--f-display); font-weight: 600; font-size: max(1.15rem, min(clamp(1.6rem, 1rem + 2vw, 2.8rem), calc(100cqi / var(--n, 1)))); line-height: 1.02; letter-spacing: -.01em; }
html:lang(zh-Hant) .dn__tag strong, html:lang(zh-Hans) .dn__tag strong { font-weight: 700; letter-spacing: .02em; line-height: 1.2; }
.dn__tag--day { position: absolute; z-index: 2; left: 60%; right: 0; top: 50%; transform: translateY(-50%); }
.dn__who { color: var(--ink-2); font-size: .92rem; }
.dn__tag--night { position: absolute; z-index: 3; left: 5%; right: 5%; bottom: 7%; color: var(--cream); opacity: 0; transform: translateY(12px); pointer-events: none; }
.dn__play { display: flex; align-items: center; gap: 10px; margin-top: 10px; font-size: .92rem; }
.dn__play .play { color: var(--cream); border-color: var(--cream); background: rgba(20, 22, 58, .45); }
.dn__play .play:hover { background: var(--cream); color: var(--ink); }
.dn.is-night .dn__night { opacity: 1; transform: none; }
.dn.is-night .dn__day { transform: rotate(-12deg) translate(-30%, 40%) scale(.55); opacity: 0; pointer-events: none; }
.dn.is-night .dn__tag--day { opacity: 0; transform: translateY(-50%) translateX(20px); pointer-events: none; }
.dn.is-night .dn__tag--night { opacity: 1; transform: none; pointer-events: auto; }

/* ───────── 名冊 ───────── */
.roster-tools { display: flex; flex-wrap: wrap; gap: 10px 12px; align-items: center; margin-bottom: 28px; }
.chip {
  border: 1px solid var(--rule-strong); background: transparent; border-radius: 999px; padding: 6px 14px; font-size: .88rem; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
}
.chip .mono { font-size: .68rem; color: var(--ink-3); text-transform: none; }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.chip[aria-pressed="true"] .mono { color: var(--cream-dim); }
.search { margin-left: auto; position: relative; }
.search input {
  font: inherit; font-size: .9rem; width: min(280px, 60vw); padding: 7px 14px 7px 34px; border-radius: 999px; border: 1px solid var(--rule-strong); background: var(--paper);
  color: var(--ink);
}
.search input::placeholder { color: var(--ink-3); }
.search svg { position: absolute; left: 12px; top: 50%; width: 14px; height: 14px; transform: translateY(-50%); color: var(--ink-3); }
.roster { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(22px, 2.6vw, 36px) clamp(14px, 1.8vw, 26px); }
.sleeve { position: relative; }
.sleeve__open { all: unset; display: block; cursor: pointer; width: 100%; }
.sleeve__open:focus-visible { outline: 2px solid var(--rose-ink); outline-offset: 6px; border-radius: 2px; }
.sleeve__art { display: block; }
.sleeve__meta { display: grid; }
.sleeve__play { position: absolute; z-index: 3; left: 8px; top: 8px; color: var(--cream); border-color: rgba(255, 248, 238, .9); background: rgba(20, 22, 58, .55); }
.sleeve__play:hover, .sleeve__play[aria-pressed="true"] { background: var(--cream); color: var(--ink); }
@media (hover: hover) { .sleeve__play { opacity: 0; transition: opacity .2s; } .sleeve:hover .sleeve__play, .sleeve__play:focus-visible, .sleeve__play[aria-pressed="true"] { opacity: 1; } }
.sleeve.is-playing .sleeve__disc { transform: translateX(28%); animation: spin-out-s 2.4s linear infinite; }
@keyframes spin-out-s { from { transform: translateX(28%) rotate(0); } to { transform: translateX(28%) rotate(360deg); } }
.sleeve__art { position: relative; aspect-ratio: 1; }
.sleeve__art img { position: relative; z-index: 2; width: 100%; height: 100%; object-fit: cover; border-radius: 2px; box-shadow: var(--shadow-sleeve); background: var(--paper-3); transition: transform .35s var(--ease); }
.sleeve__disc {
  position: absolute; z-index: 1; inset: 5% 5% 5% auto; aspect-ratio: 1; width: 90%; border-radius: 50%;
  background: radial-gradient(circle, var(--c, var(--rose)) 0 15%, #0b0b14 15.3% 16.4%, transparent 16.6%), repeating-radial-gradient(circle, #15151f 0 1px, #20202c 1.2px 2.2px);
  transition: transform .45s var(--ease);
}
.sleeve:hover .sleeve__disc, .sleeve__open:focus-visible .sleeve__disc { transform: translateX(28%) rotate(40deg); }
.sleeve:hover .sleeve__art img { transform: translateX(-3%) rotate(-1.5deg); }
.sleeve__meta { margin-top: 12px; display: grid; gap: 1px; }
.sleeve__no { color: var(--ink-3); font-size: .7rem; display: flex; gap: 8px; align-items: center; }
.sleeve__lp { color: var(--rose-ink); display: inline-flex; gap: 4px; align-items: center; }
.sleeve__lp::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: radial-gradient(circle, var(--paper) 0 1.4px, currentColor 1.6px); }
.sleeve__name { font-family: var(--f-display); font-weight: 600; font-size: 1.08rem; line-height: 1.2; }
.sleeve__genre { font-size: .82rem; color: var(--ink-2); line-height: 1.35; }
.roster-empty { padding: 40px 0; color: var(--ink-3); }
.sleeve[hidden] { display: none; }

/* ───────── 抽屜（音樂人詳情、世界詳情） ───────── */
dialog.sheet {
  margin: 0 0 0 auto; height: 100dvh; max-height: 100dvh; width: min(560px, 100vw); max-width: 100vw; padding: 0; border: 0;
  background: var(--paper); color: var(--ink); box-shadow: -30px 0 60px -20px rgba(27, 30, 63, .45);
  overscroll-behavior: contain;
}
dialog.sheet::backdrop { background: rgba(20, 22, 58, .45); }
dialog.sheet[open] { animation: sheet-in .45s var(--ease); }
@keyframes sheet-in { from { transform: translateX(40px); opacity: 0; } }
.sheet__inner { padding: 22px clamp(20px, 4vw, 36px) 120px; }
.sheet__bar { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px clamp(20px, 4vw, 36px); background: var(--paper); border-bottom: 1px solid var(--rule); }
.sheet__nav { display: flex; gap: 6px; }
.icon-btn { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--rule-strong); background: transparent; cursor: pointer; display: grid; place-items: center; font-size: 1rem; line-height: 1; }
.icon-btn:hover { background: var(--ink); color: var(--cream); }
.sheet h3 { font-family: var(--f-display); font-weight: 600; font-size: clamp(2rem, 1.4rem + 2vw, 2.8rem); line-height: 1.02; letter-spacing: -.015em; margin: 10px 0 4px; }
.sheet__alt { color: var(--ink-3); font-size: .95rem; margin: 0 0 22px; }
.sheet__duo { display: grid; grid-template-columns: 2fr 3fr; gap: 10px; margin: 0 0 22px; align-items: start; }
.sheet__duo figure { margin: 0; }
.sheet__duo img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 3px; background: var(--paper-2); }
.sheet__duo figure:last-child img { aspect-ratio: 3 / 2; }
.sheet__duo figcaption { margin-top: 6px; display: flex; flex-direction: column; font-size: .88rem; line-height: 1.3; }
.sheet__duo figcaption .mono { color: var(--ink-3); font-size: .64rem; }
.sheet__bio { font-size: 1.02rem; color: var(--ink-2); margin: 0 0 26px; }
.sheet__soon { color: var(--rose-ink); margin: 0 0 26px; }
.sheet__job { margin: -6px 0 10px; font-weight: 700; color: var(--ink); }
.track-hero { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; padding: 16px; border-radius: var(--radius); background: var(--paper-2); margin-bottom: 26px; }
.track-hero .mono { color: var(--ink-3); font-size: .64rem; }
.track-hero strong { display: block; font-family: var(--f-display); font-size: 1.25rem; font-weight: 600; line-height: 1.15; }
.progress { grid-column: 1 / -1; height: 3px; background: var(--rule); border-radius: 2px; overflow: hidden; }
.progress i { display: block; height: 100%; width: 0; background: var(--rose); }
.tracklist { list-style: none; margin: 0 0 28px; padding: 0; border-top: 1px solid var(--rule); counter-reset: t; }
.tracklist li { display: grid; grid-template-columns: 28px 1fr auto; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--rule); font-size: .95rem; counter-increment: t; }
.tracklist li::before { content: counter(t, decimal-leading-zero); font-family: var(--f-mono); font-size: .72rem; color: var(--ink-3); }
.tracklist .is-theme { color: var(--rose-ink); font-family: var(--f-mono); font-size: .62rem; text-transform: uppercase; letter-spacing: .06em; }
.sheet h4 { font-family: var(--f-mono); font-weight: 400; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); margin: 0 0 10px; }
.album { display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: center; padding: 14px 0; }
.album img { width: 96px; height: 96px; object-fit: cover; border-radius: 2px; box-shadow: var(--shadow-sleeve); }
.album strong { display: block; font-family: var(--f-display); font-weight: 600; font-size: 1.1rem; line-height: 1.2; }
.album .mono { color: var(--ink-3); font-size: .64rem; }

/* Spotify 外連：只用文字（官方字串 Listen on Spotify）＋中性外連箭頭，不放 logo、不用 Spotify 綠 */
.spotify-link {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; text-decoration: none; font-weight: 600; font-size: .9rem;
  padding: 8px 14px 8px 10px; border-radius: 999px; border: 1px solid var(--rule-strong); background: var(--paper);
}
.spotify-link:hover { border-color: var(--ink); background: #fff; }
.spotify-link svg { width: 14px; height: 14px; flex: none; }
.spotify-link .ext { font-size: .8em; opacity: .7; }
.sec--night .spotify-link { background: transparent; color: var(--cream); border-color: rgba(255, 248, 238, .35); }
.sec--night .spotify-link:hover { background: rgba(255, 248, 238, .08); border-color: var(--cream); }

.menu-list { list-style: none; margin: 0 0 28px; padding: 0; border-top: 1px solid var(--rule); }
.menu-list li { display: grid; grid-template-columns: 36px 1fr; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.menu-list .mono { color: var(--rose-ink); }
.menu-list a { text-decoration: none; font-family: var(--f-display); font-weight: 600; font-size: 1.5rem; line-height: 1.2; }
#menu .lang { display: inline-flex; margin-top: 8px; }

/* ───────── 真專輯（夜） ───────── */
.records .sec-head { align-items: end; }
.shelf { position: relative; }
.shelf__rail { list-style: none; margin: 0; padding: 0 0 26px; display: grid; grid-auto-flow: column; grid-auto-columns: clamp(170px, 18vw, 230px); gap: clamp(18px, 2vw, 30px); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: rgba(255, 248, 238, .3) transparent; }
.shelf__rail > li { scroll-snap-align: start; }
.shelf__nav { display: flex; justify-content: flex-end; gap: 8px; margin: -12px 0 14px; }
.shelf__nav .icon-btn { color: var(--cream); border-color: rgba(255, 248, 238, .35); }
.shelf__nav .icon-btn:hover { background: var(--cream); color: var(--ink); }
.shelf__nav .icon-btn:disabled { opacity: .3; cursor: default; background: none; color: var(--cream); }
.shelf__board { height: 14px; margin-top: -12px; background: linear-gradient(#3a2a1c, #23180f); border-radius: 2px; box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .7); }
.lp { position: relative; display: grid; gap: 12px; }
.lp__art { position: relative; aspect-ratio: 1; }
.lp__art img { position: relative; z-index: 2; width: 100%; height: 100%; object-fit: cover; border-radius: 2px; box-shadow: 0 2px 4px rgba(0, 0, 0, .4), 0 22px 30px -14px rgba(0, 0, 0, .8); transition: transform .4s var(--ease); }
.lp__art .sleeve__disc { --c: var(--gold); }
.lp:hover .lp__art img { transform: translateY(-4px); }
.lp:hover .sleeve__disc, .lp.is-playing .sleeve__disc { transform: translateX(30%) rotate(50deg); }
.lp.is-playing .sleeve__disc { animation: spin-out 2.4s linear infinite; }
@keyframes spin-out { from { transform: translateX(30%) rotate(0); } to { transform: translateX(30%) rotate(360deg); } }
.lp__play { position: absolute; z-index: 3; left: 10px; bottom: 10px; }
.lp__play .play { color: var(--cream); border-color: var(--cream); background: rgba(20, 22, 58, .6); }
.lp__play .play:hover { background: var(--cream); color: var(--ink); }
.lp__title { font-family: var(--f-display); font-weight: 600; font-size: 1.02rem; line-height: 1.2; }
.lp__by { color: var(--cream-dim); font-size: .64rem; }
.lp .spotify-link { margin-top: 2px; padding: 5px 11px 5px 7px; font-size: .78rem; justify-self: start; }
.lp .spotify-link svg { width: 12px; height: 12px; }
.records__glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 50% at 78% 0%, rgba(242, 182, 64, .16), transparent 70%), radial-gradient(40% 40% at 10% 100%, rgba(224, 69, 123, .12), transparent 70%); }

/* ───────── 玩法章節 ───────── */
.chapters { display: grid; gap: clamp(80px, 10vw, 150px); }
.chapter { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.chapter:nth-child(even) .chapter__media { order: 2; }
.chapter__media { display: flex; justify-content: center; position: relative; }
.chapter__media::before { /* 底下那張紙：同章節的劇照當背景色塊 */
  content: ""; position: absolute; inset: 10% 0 10% 0; border-radius: var(--radius); background: var(--tint, var(--paper-2));
}
.phone {
  position: relative; z-index: 1; width: clamp(230px, 24vw, 310px); aspect-ratio: 390 / 844; border-radius: 38px; padding: 9px;
  background: #121225; box-shadow: 0 0 0 1.5px #2a2a44 inset, 0 40px 70px -30px rgba(27, 30, 63, .7), 0 2px 0 rgba(255, 255, 255, .08) inset;
}
.phone video, .phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 30px; background: #000; }
.phone__caption { position: absolute; z-index: 2; left: 50%; bottom: -34px; transform: translateX(-50%); white-space: nowrap; color: var(--ink-3); font-size: .62rem; }
.chapter__side { color: var(--ink-3); margin-bottom: 14px; display: block; }
.chapter h3 { font-family: var(--f-display); font-weight: 600; font-size: clamp(2rem, 1.3rem + 2.6vw, 3.6rem); line-height: 1; letter-spacing: -.02em; margin: 0 0 26px; text-wrap: balance; }
html:lang(zh-Hant) .chapter h3, html:lang(zh-Hans) .chapter h3 { font-weight: 700; letter-spacing: .02em; line-height: 1.2; }
.beats { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--rule); }
.beats li { display: grid; grid-template-columns: 36px 1fr; gap: 6px 10px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.beats li .mono { color: var(--rose-ink); padding-top: 4px; }
.beats strong { display: block; font-weight: 600; font-size: 1.08rem; line-height: 1.35; }
.beats span:not(.mono) { color: var(--ink-2); font-size: .95rem; }
.chapter .footnote { margin-top: 16px; }
.chapter__more { margin-top: 26px; }

/* ───────── 世界與配樂（集郵冊） ───────── */
.stamps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 34px) clamp(14px, 2vw, 28px); }
.stamp button { all: unset; cursor: pointer; display: block; width: 100%; position: relative; }
.stamp button:focus-visible { outline: 2px solid var(--rose-ink); outline-offset: 6px; }
.stamp__frame {
  position: relative; padding: 10px; background: #FFFDF8;
  /* 郵票齒孔：用背景色的圓點虛線框咬進白邊（瀏覽器會自動把點均分到四邊） */
  outline: 8px dotted var(--paper-2); outline-offset: -4px;
  box-shadow: 0 1px 2px rgba(27, 30, 63, .12), 0 12px 22px -14px rgba(27, 30, 63, .45);
  transition: transform .3s var(--ease);
}
.stamp__frame::after { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(27, 30, 63, .12); pointer-events: none; }
.stamp__frame img { aspect-ratio: 4 / 5; width: 100%; object-fit: cover; }
.stamp:nth-child(3n+1) .stamp__frame { transform: rotate(-1.4deg); }
.stamp:nth-child(3n+2) .stamp__frame { transform: rotate(1deg); }
.stamp button:hover .stamp__frame { transform: rotate(0) translateY(-4px) scale(1.02); }
.stamp__value { position: absolute; left: 14px; top: 12px; font-family: var(--f-display); font-weight: 700; color: var(--cream); font-size: .95rem; line-height: 1.5; padding: 0 7px; border-radius: 3px; background: rgba(20, 22, 58, .78); }
.stamp__meta { margin-top: 10px; display: grid; gap: 0; }
.stamp__name { font-family: var(--f-display); font-weight: 600; font-size: 1.02rem; line-height: 1.2; }
.stamp__count { color: var(--ink-3); font-size: .66rem; }
.stamp--silent .stamp__frame img { filter: grayscale(.55) contrast(.92); }
.stamp--silent .stamp__count { color: var(--rose-ink); }
.postmark {
  position: absolute; z-index: 2; right: -14px; bottom: 18%; width: 64px; height: 64px; border-radius: 50%; border: 1.5px solid rgba(27, 30, 63, .55);
  display: grid; place-items: center; font-family: var(--f-mono); font-size: 8px; letter-spacing: .08em; color: rgba(27, 30, 63, .7); text-transform: uppercase; text-align: center; line-height: 1.2;
  transform: rotate(-16deg); pointer-events: none; opacity: 0; transition: opacity .3s;
}
@media (hover: hover) { .stamp button:hover .postmark { opacity: 1; } }
@media (hover: none) { .postmark { display: none; } }
.world-hero { margin: 0 0 18px; }
.world-hero img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 3px; }
.scene-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.scene-list li { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--rule); }
.scene-list img { width: 56px; height: 56px; object-fit: cover; border-radius: 3px; }
.scene-list strong { display: block; font-weight: 600; font-size: .98rem; line-height: 1.3; }
.scene-list .mono { color: var(--ink-3); font-size: .62rem; }
.scene-list .progress { grid-column: 2 / -1; margin-top: -4px; }

/* ───────── 預告片（夜） ───────── */
.screen { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8); }
.screen video, .screen img { width: 100%; height: 100%; object-fit: cover; }
.screen__start {
  position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: flex-start; gap: 16px; padding: clamp(16px, 3vw, 32px);
  background: linear-gradient(10deg, rgba(10, 11, 30, .78) 0%, rgba(10, 11, 30, .25) 34%, rgba(10, 11, 30, 0) 55%); border: 0; cursor: pointer; color: var(--cream); text-align: left;
}
.screen__start .play { --s: clamp(54px, 6vw, 76px); border-width: 2px; color: var(--cream); background: rgba(20, 22, 58, .45); }
.screen__label { display: grid; gap: 2px; font-size: clamp(1rem, .9rem + .5vw, 1.35rem); font-weight: 600; line-height: 1.2; padding-bottom: 6px; }
.screen__label .mono { font-weight: 400; opacity: .75; }
.screen__start:hover .play { background: var(--cream); color: var(--ink); }
.tapes { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.tapes button {
  all: unset; box-sizing: border-box; cursor: pointer; display: grid; gap: 4px; width: 100%; padding: 12px 14px 14px; border-radius: var(--radius);
  border: 1px solid rgba(255, 248, 238, .2); transition: background .2s, border-color .2s;
}
.tapes button:hover { border-color: rgba(255, 248, 238, .55); }
.tapes button[aria-pressed="true"] { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.tapes button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.tapes .mono { font-size: .62rem; opacity: .7; }
.tapes strong { font-weight: 600; font-size: .95rem; line-height: 1.25; }

/* ───────── 大合照謝幕 ───────── */
.curtain { padding: clamp(64px, 8vw, 120px) 0 0; overflow: hidden; }
.curtain__head { text-align: center; margin-bottom: 34px; }
.curtain__head .h2 { margin: 0 auto 14px; max-width: 18ch; }
.marquee { display: flex; width: max-content; animation: marquee 90s linear infinite; }
.marquee img { height: clamp(220px, 26vw, 360px); width: auto; aspect-ratio: 1; }
.marquee:hover { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ───────── 頁尾 ───────── */
.foot { background: var(--ink); color: var(--cream); padding: 64px 0 40px; }
.foot .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.foot .brand__word { color: var(--cream); font-size: 2rem; }
.foot .brand__zh { color: var(--cream-dim); border-color: rgba(255, 248, 238, .25); }
.foot p { color: var(--cream-dim); font-size: .92rem; margin: 14px 0 0; max-width: 40ch; }
.foot h5 { font-family: var(--f-mono); font-weight: 400; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--cream-dim); margin: 6px 0 14px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .92rem; }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot__base { grid-column: 1 / -1; border-top: 1px solid rgba(255, 248, 238, .15); padding-top: 22px; margin-top: 18px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--cream-dim); font-size: .78rem; }
.foot .lang { border-color: rgba(255, 248, 238, .35); display: inline-flex; }
.foot .lang a { color: var(--cream-dim); }
.foot .lang a[aria-current="true"] { background: var(--cream); color: var(--ink); }
.foot .lang a:not([aria-current="true"]):hover { background: rgba(255, 248, 238, .1); }

/* ───────── 全站播放條 ───────── */
.player {
  position: fixed; z-index: 60; left: 50%; bottom: 16px; transform: translate(-50%, 140%); width: min(640px, calc(100vw - 24px));
  display: grid; grid-template-columns: 48px 1fr auto auto; align-items: center; gap: 12px; padding: 8px 10px 8px 8px; border-radius: 14px;
  background: var(--ink); color: var(--cream); box-shadow: 0 20px 50px -14px rgba(0, 0, 0, .55); transition: transform .45s var(--ease);
}
.player:not(.is-on) { visibility: hidden; transition: transform .45s var(--ease), visibility 0s .45s; }
.player.is-on { transform: translate(-50%, 0); }
.player img { width: 48px; height: 48px; border-radius: 6px; object-fit: cover; }
.player__text { min-width: 0; display: grid; }
.player__title { font-weight: 600; font-size: .92rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player__by { font-size: .78rem; color: var(--cream-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player .progress { position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; background: rgba(255, 248, 238, .15); }
.player .play { color: var(--cream); }
.player .play:hover { background: var(--cream); color: var(--ink); }
.player__close { background: none; border: 0; color: var(--cream-dim); cursor: pointer; font-size: 1.2rem; width: 34px; height: 34px; border-radius: 50%; }
.player__close:hover { background: rgba(255, 248, 238, .1); color: var(--cream); }

/* ───────── 進場：只有大圖輕輕浮上，不要每個元素都飛 ───────── */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ───────── 響應式 ───────── */
@media (max-width: 1080px) {
  .nav { display: none; }
  .lang { margin-left: auto; }
  .menu-btn { display: inline-flex; }
  .roster { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .stamps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .tapes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  body { font-size: 16px; }
  .hero .wrap, .dn .wrap, .sec-head, .chapter { grid-template-columns: 1fr; }
  .dn .wrap { grid-template-areas: "copy" "stage" "controls"; gap: 28px; }
  .dn__switch { margin-top: 0; }
  .hero__art { order: -1; max-width: 400px; margin: 10px auto 0; width: 82%; }
  .chapter:nth-child(even) .chapter__media { order: 0; }
  .chapter__media { margin-bottom: 30px; }
  .foot .wrap { grid-template-columns: 1fr 1fr; }
  .foot .wrap > :first-child { grid-column: 1 / -1; }
  .soon-pill { display: none; }
  .search { margin-left: 0; width: 100%; }
  .search input { width: 100%; }
}
@media (max-width: 560px) {
  .catalog-line span + span::before { content: none; }
  .catalog-line { column-gap: 12px; }
  .nowplaying__title { white-space: normal; line-height: 1.35; }
  .postmark { display: none; }
  .roster { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sleeve__genre { font-size: .74rem; }
  .sleeve__name { font-size: .95rem; }
  .stamps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tapes { grid-template-columns: 1fr 1fr; }
  .brand__zh { display: none; }
  .dn__stage { aspect-ratio: 4 / 5; }
  .dn__day { width: 74%; left: 6%; top: 3%; }
  .dn__tag--day { left: 6%; right: 6%; top: auto; bottom: 2%; transform: none; }
  .dn.is-night .dn__tag--day { transform: translateX(20px); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .marquee { animation: none; overflow-x: auto; width: auto; }
  .reveal { opacity: 1; transform: none; }
}
