@font-face {
  font-family: "Robogo Album Kai";
  src: url("/media/fonts/robogo-wenkai-b91868da1571.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --poetry-font: "Robogo Album Kai", "Kaiti SC", "STKaiti", "KaiTi", "Songti SC", serif;
  color-scheme: dark;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --cream: #f2e8d1;
  --cream-soft: rgba(242, 232, 209, 0.72);
  --cream-faint: rgba(242, 232, 209, 0.45);
  --gold: #d7b26a;
  --red: #892d2c;
  --red-bright: #b34d43;
  --green: #0f2c26;
  --green-deep: #071916;
  --panel: rgba(8, 29, 25, 0.72);
  --panel-strong: rgba(6, 20, 17, 0.9);
  --hairline: rgba(231, 214, 181, 0.18);
  --safe-top: max(20px, env(safe-area-inset-top));
  --safe-right: max(18px, env(safe-area-inset-right));
  --safe-bottom: max(14px, env(safe-area-inset-bottom));
  --safe-left: max(18px, env(safe-area-inset-left));
}

* { box-sizing: border-box; }

html,
body {
  width: 100%;
  min-width: 320px;
  min-height: 100%;
  margin: 0;
  background: var(--green-deep);
}

body {
  min-height: 100svh;
  overflow: hidden;
  color: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
input { font: inherit; }

button { color: inherit; }

button:focus-visible,
input:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid rgba(237, 202, 134, 0.92);
  outline-offset: 3px;
}

[hidden] { display: none !important; }

.album-experience {
  position: relative;
  width: 100%;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background: var(--green-deep);
}

.cinematic-scene,
.scene-photograph,
.motion-canvas,
.scene-light,
.scene-color,
.film-grain,
.scene-vignette {
  position: fixed;
  inset: -3px;
  width: calc(100% + 6px);
  height: calc(100% + 6px);
  pointer-events: none;
}

.cinematic-scene {
  z-index: -5;
  overflow: hidden;
  background: #0a1815;
}

.scene-photograph {
  z-index: -6;
  object-fit: cover;
  object-position: center center;
  filter: saturate(1.03) contrast(1.03) brightness(1.03);
  transform: scale(1.012);
  -webkit-user-select: none;
  user-select: none;
}

.motion-canvas { z-index: -4; }

.scene-light {
  z-index: -3;
  opacity: 0.82;
  background:
    radial-gradient(circle at 66% 21%, rgba(255, 211, 125, 0.2), transparent 23%),
    radial-gradient(circle at 59% 57%, rgba(177, 55, 43, 0.18), transparent 28%);
  mix-blend-mode: screen;
}

.scene-color {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(41, 5, 10, 0.36) 0%, rgba(29, 8, 10, 0.08) 42%, rgba(4, 22, 19, 0.24) 100%),
    linear-gradient(180deg, rgba(5, 12, 11, 0.05), rgba(3, 10, 9, 0.1) 52%, rgba(1, 8, 7, 0.5));
}

.film-grain {
  display: none;
}

.scene-vignette {
  z-index: 0;
  box-shadow: inset 0 0 15vw 2vw rgba(0, 0, 0, 0.54);
  background: linear-gradient(90deg, rgba(6, 5, 5, 0.18), transparent 47%, rgba(2, 9, 8, 0.28));
}

.album-identity {
  position: fixed;
  z-index: 4;
  top: clamp(36px, 6vh, 90px);
  left: max(44px, 6vw);
  width: min(48vw, 720px);
  text-shadow: 0 4px 28px rgba(0, 0, 0, 0.52);
}

.english-title,
.console-kicker,
.error-kicker {
  margin: 0;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.45em;
}

.album-identity h1 {
  max-width: 5em;
  margin: 18px 0 0;
  color: var(--cream);
  font-family: var(--poetry-font);
  font-size: clamp(66px, 8vw, 116px);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: 0.075em;
}

.album-description {
  width: min(32em, 82%);
  margin: 28px 0 0 5px;
  color: rgba(244, 231, 206, 0.72);
  font-family: var(--poetry-font);
  font-size: clamp(13px, 1.1vw, 17px);
  line-height: 1.9;
  letter-spacing: 0.12em;
}

.album-credit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 22px 0 0 5px;
  color: rgba(242, 232, 209, 0.54);
  font-size: 10px;
  letter-spacing: 0.2em;
}

.album-credit > span {
  width: 20px;
  height: 1px;
  background: var(--red-bright);
}

.album-credit b { font: inherit; font-weight: 400; }

.playlist-console {
  position: fixed;
  z-index: 10;
  top: auto;
  right: auto;
  bottom: max(28px, 4vh);
  left: max(44px, 6vw);
  display: flex;
  flex-direction: column;
  width: 328px;
  height: min(48svh, 490px);
  max-height: min(48svh, 490px);
  padding: 21px 16px 14px;
  overflow: hidden;
  border: 1px solid rgba(237, 218, 181, 0.18);
  border-radius: 3px 22px 4px 15px;
  background: linear-gradient(148deg, rgba(27, 57, 48, 0.62), rgba(6, 22, 19, 0.74));
  box-shadow: 0 26px 90px rgba(0, 0, 0, 0.44), inset 0 1px rgba(255, 255, 255, 0.04);
  -webkit-backdrop-filter: blur(22px) saturate(112%);
  backdrop-filter: blur(22px) saturate(112%);
  transform: none;
}

.playlist-console::before {
  position: absolute;
  top: 22px;
  bottom: 22px;
  left: 0;
  width: 2px;
  background: linear-gradient(transparent, rgba(153, 49, 43, 0.85) 20%, rgba(153, 49, 43, 0.35) 75%, transparent);
  content: "";
}

.console-header {
  display: flex;
  flex: 0 0 auto;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  padding: 0 3px 16px 5px;
}

.console-header h2 {
  margin: 7px 0 0;
  font-family: var(--poetry-font);
  font-size: 19px;
  font-weight: 400;
  letter-spacing: 0.2em;
}

.console-kicker {
  font-size: 8px;
  letter-spacing: 0.32em;
}

.play-album-button {
  display: inline-flex;
  min-height: 44px;
  padding: 0 13px;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(225, 197, 141, 0.28);
  border-radius: 999px;
  background: rgba(181, 142, 74, 0.1);
  color: var(--cream);
  font-size: 11px;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.play-album-button:hover { background: rgba(181, 142, 74, 0.2); border-color: rgba(225, 197, 141, 0.5); }
.play-album-button:active { transform: scale(0.97); }
.play-album-button svg { width: 13px; fill: currentColor; }

.playlist-scroll {
  position: relative;
  flex: 1 1 auto;
  min-height: 96px;
  max-height: min(43svh, 410px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-color: rgba(222, 192, 133, 0.4) transparent;
  scrollbar-width: thin;
}

.playlist {
  margin: 0;
  padding: 0 3px 0 0;
  list-style: none;
}

.track-button {
  position: relative;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  width: 100%;
  min-height: 51px;
  padding: 6px 7px;
  align-items: center;
  gap: 10px;
  border: 0;
  border-radius: 2px 11px 2px 8px;
  background: transparent;
  color: var(--cream-soft);
  text-align: left;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.track-button:hover,
.track-button:focus-visible { color: var(--cream); background: rgba(246, 229, 197, 0.08); }
.track-button:active { transform: scale(0.985); }
.track-button[aria-current="true"] { color: var(--cream); background: rgba(197, 168, 111, 0.12); }
.track-button[aria-current="true"]::before {
  position: absolute;
  top: 9px;
  bottom: 9px;
  left: 0;
  width: 2px;
  background: var(--red-bright);
  content: "";
}

.track-index {
  color: rgba(218, 183, 116, 0.72);
  font-family: Georgia, serif;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}

.track-name {
  overflow: hidden;
  font-family: var(--poetry-font);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.track-duration {
  color: rgba(236, 224, 200, 0.46);
  font-family: Georgia, serif;
  font-size: 10px;
  font-variant-numeric: tabular-nums;
}

.player-section {
  flex: 0 0 auto;
  padding: 13px 4px 0;
  border-top: 1px solid var(--hairline);
}

.now-playing-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
}

.track-order-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 17px;
}

.track-order-wrap i { width: 11px; height: 1px; background: var(--red-bright); }

.now-playing-copy { min-width: 0; }
.now-playing-copy > span {
  display: block;
  margin-bottom: 3px;
  color: var(--cream-faint);
  font-size: 8px;
  letter-spacing: 0.18em;
}

.now-playing-copy strong {
  display: block;
  overflow: hidden;
  color: var(--cream);
  font-family: var(--poetry-font);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.text-tools { display: flex; align-items: center; gap: 3px; }

.timeline {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 34px;
  margin-top: 10px;
  align-items: center;
  gap: 7px;
  color: rgba(241, 229, 205, 0.47);
  font-family: Georgia, serif;
  font-size: 9px;
  font-variant-numeric: tabular-nums;
}

.timeline span:last-child { text-align: right; }

input[type="range"] {
  width: 100%;
  height: 44px;
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  cursor: pointer;
}

input[type="range"]::-webkit-slider-runnable-track {
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold) var(--seek-progress, 0%), rgba(240, 228, 203, 0.2) var(--seek-progress, 0%));
}

input[type="range"]::-webkit-slider-thumb {
  width: 11px;
  height: 11px;
  margin-top: -4.5px;
  appearance: none;
  -webkit-appearance: none;
  border: 2px solid var(--cream);
  border-radius: 50%;
  background: var(--red);
}

input[type="range"]::-moz-range-track { height: 2px; background: rgba(240, 228, 203, 0.2); }
input[type="range"]::-moz-range-progress { height: 2px; background: var(--gold); }
input[type="range"]::-moz-range-thumb { width: 8px; height: 8px; border: 2px solid var(--cream); border-radius: 50%; background: var(--red); }

.transport-row {
  display: flex;
  min-height: 50px;
  margin-top: 4px;
  align-items: center;
  gap: 5px;
}

.icon-button,
.main-play-button,
.loop-button,
.subtitle-toggle,
.lyrics-toggle,
.lyrics-heading button,
.status-row button {
  border: 0;
  background: transparent;
  cursor: pointer;
}

.icon-button,
.main-play-button {
  display: grid;
  min-width: 44px;
  min-height: 44px;
  place-items: center;
  border-radius: 50%;
}

.icon-button { color: rgba(243, 232, 209, 0.72); }
.icon-button:hover { color: var(--cream); background: rgba(255, 255, 255, 0.06); }
.icon-button svg { width: 18px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.5; }

.main-play-button {
  position: relative;
  min-width: 48px;
  min-height: 48px;
  background: var(--cream);
  color: #17231f;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
  transition: transform 180ms ease, background 180ms ease;
}

.main-play-button:hover { background: #fff6df; transform: translateY(-1px); }
.main-play-button:active { transform: scale(0.96); }
.main-play-button svg { position: absolute; width: 20px; fill: currentColor; stroke: currentColor; stroke-linecap: round; stroke-width: 1.7; }
.pause-symbol { display: none; fill: none !important; }
.album-experience[data-playback="playing"] .play-symbol { display: none; }
.album-experience[data-playback="playing"] .pause-symbol { display: block; }

.mode-controls {
  display: flex;
  min-width: 0;
  margin-left: auto;
  align-items: center;
  gap: 5px;
}

.auto-switch {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 6px;
  color: rgba(242, 232, 209, 0.62);
  font-size: 9px;
  letter-spacing: 0.06em;
  cursor: pointer;
}

.auto-switch input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.switch-track {
  position: relative;
  width: 31px;
  height: 18px;
  border: 1px solid rgba(239, 223, 191, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  transition: background 180ms ease, border-color 180ms ease;
}

.switch-track i {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(242, 232, 209, 0.62);
  transition: transform 180ms ease, background 180ms ease;
}

.auto-switch input:checked + .switch-track { border-color: rgba(217, 179, 105, 0.52); background: rgba(145, 48, 43, 0.42); }
.auto-switch input:checked + .switch-track i { background: var(--cream); transform: translateX(13px); }

.loop-button {
  display: inline-flex;
  min-width: 44px;
  min-height: 44px;
  padding: 0 3px;
  align-items: center;
  justify-content: center;
  gap: 3px;
  border-radius: 999px;
  color: rgba(242, 232, 209, 0.56);
  font-size: 9px;
}

.loop-button svg { width: 16px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.5; }
.loop-button[aria-pressed="true"] { color: var(--gold); background: rgba(216, 179, 107, 0.1); }

.subtitle-toggle,
.lyrics-toggle {
  min-width: 44px;
  min-height: 44px;
  padding: 0 9px;
  border: 1px solid rgba(218, 181, 111, 0.3);
  border-radius: 999px;
  background: rgba(216, 179, 107, 0.08);
  color: rgba(247, 233, 207, 0.78);
  font-size: 9px;
  letter-spacing: 0.12em;
  cursor: pointer;
}

.lyrics-toggle:hover,
.lyrics-toggle[aria-expanded="true"],
.subtitle-toggle:hover,
.subtitle-toggle[aria-pressed="true"] {
  border-color: rgba(218, 181, 111, 0.58);
  background: rgba(137, 45, 44, 0.25);
  color: var(--cream);
}

.subtitle-toggle:disabled {
  border-color: rgba(218, 181, 111, 0.12);
  background: transparent;
  color: rgba(247, 233, 207, 0.3);
  cursor: default;
}

.subtitle-stage {
  position: fixed;
  z-index: 7;
  top: 29svh;
  bottom: auto;
  left: max(44px, 6vw);
  width: min(49vw, 690px);
  padding: 14px 18px 15px;
  border-left: 2px solid rgba(179, 77, 67, 0.82);
  background: linear-gradient(90deg, rgba(5, 18, 16, 0.54), rgba(5, 18, 16, 0.18) 68%, transparent);
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.88);
  pointer-events: none;
}

.subtitle-current,
.subtitle-next { margin: 0; font-family: var(--poetry-font); }

.subtitle-review {
  display: inline-block;
  margin-bottom: 6px;
  color: rgba(231, 194, 123, 0.78);
  font-size: 9px;
  letter-spacing: 0.16em;
}

.subtitle-current {
  color: #fff4dc;
  font-size: clamp(23px, 2.25vw, 36px);
  line-height: 1.45;
  letter-spacing: 0.08em;
}

.subtitle-next {
  min-height: 1.5em;
  margin-top: 5px;
  color: rgba(244, 230, 203, 0.58);
  font-size: clamp(12px, 1vw, 15px);
  line-height: 1.5;
  letter-spacing: 0.06em;
}

.status-row {
  display: flex;
  min-height: 17px;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.status-row p {
  margin: 0;
  color: rgba(242, 232, 209, 0.52);
  font-size: 9px;
  text-align: center;
}

.status-row button,
.lyrics-heading button {
  min-width: 44px;
  min-height: 44px;
  padding: 0 8px;
  color: var(--gold);
  font-size: 9px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.lyrics-panel {
  position: fixed;
  z-index: 12;
  right: auto;
  left: max(44px, 6vw);
  bottom: calc(max(28px, 4vh) + 216px);
  width: 328px;
  max-height: min(26svh, 265px);
  padding: 17px 18px;
  overflow: hidden;
  border: 1px solid rgba(237, 218, 181, 0.15);
  border-radius: 2px 18px 3px 12px;
  background: rgba(8, 24, 21, 0.7);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.lyrics-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--gold);
  font-size: 9px;
  letter-spacing: 0.18em;
}

.lyrics-heading-actions { display: flex; align-items: center; gap: 3px; }

.lyrics-scroll {
  max-height: min(26svh, 215px);
  margin-top: 8px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scroll-behavior: smooth;
}

.lyric-line {
  margin: 0;
  padding: 6px 4px;
  color: rgba(245, 233, 211, 0.43);
  font-family: var(--poetry-font);
  font-size: 14px;
  line-height: 1.7;
  text-align: center;
  transition: color 180ms ease, transform 180ms ease;
}

.lyric-line.is-current { color: var(--cream); transform: scale(1.025); }
.lyrics-unsynced { margin: 0; color: rgba(245, 233, 211, 0.76); font-family: var(--poetry-font); font-size: 15px; line-height: 2; white-space: pre-wrap; }
.lyrics-error { color: rgba(245, 233, 211, 0.55); text-align: center; }

.resume-prompt {
  position: absolute;
  z-index: 30;
  top: 14px;
  left: 12px;
  right: auto;
  width: calc(100% - 130px);
  min-height: 44px;
  padding: 0 7px;
  border: 1px solid rgba(221, 186, 118, 0.5);
  border-radius: 999px;
  background: rgba(9, 27, 23, 0.9);
  box-shadow: 0 12px 45px rgba(0, 0, 0, 0.35);
  color: var(--cream);
  font-size: 11px;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  transform: none;
  cursor: pointer;
}

.fatal-error {
  position: fixed;
  z-index: 100;
  top: 50%;
  left: 50%;
  width: min(450px, calc(100vw - 36px));
  padding: 32px;
  border: 1px solid rgba(237, 218, 181, 0.2);
  border-radius: 3px 24px 4px 16px;
  background: rgba(8, 25, 21, 0.94);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.6);
  text-align: center;
  transform: translate(-50%, -50%);
}

.fatal-error h2 { margin: 14px 0; font-family: var(--poetry-font); font-weight: 400; }
.fatal-error p { color: var(--cream-soft); line-height: 1.7; }
.fatal-error button { min-height: 44px; padding: 0 20px; border: 0; border-radius: 999px; background: var(--cream); color: var(--green-deep); cursor: pointer; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 900px) {
  .album-identity { width: 46vw; left: max(28px, 4vw); }
  .album-identity h1 { font-size: clamp(62px, 8vw, 82px); }
  .playlist-console { left: max(28px, 4vw); right: auto; }
  .lyrics-panel { left: max(28px, 4vw); }
}

@media (max-width: 760px) {
  .scene-photograph {
    object-position: 70% center;
    height: calc(100svh - 318px);
    min-height: 236px;
    -webkit-mask-image: linear-gradient(#000 0%, #000 86%, transparent 100%);
    mask-image: linear-gradient(#000 0%, #000 86%, transparent 100%);
  }
  .scene-color {
    background:
      linear-gradient(180deg, rgba(20, 4, 7, 0.3) 0%, transparent 34%, rgba(2, 14, 12, 0.18) 53%, rgba(2, 10, 9, 0.7) 100%),
      linear-gradient(90deg, rgba(32, 6, 8, 0.16), rgba(3, 21, 18, 0.2));
  }
  .scene-vignette { box-shadow: inset 0 0 22vw 5vw rgba(0, 0, 0, 0.45); }

  .album-identity {
    top: calc(var(--safe-top) + 10px);
    right: var(--safe-right);
    left: var(--safe-left);
    width: 49vw;
    right: auto;
  }
  .english-title { font-size: 7px; letter-spacing: 0.21em; }
  .album-identity h1 { max-width: 2.3em; margin-top: 12px; font-size: clamp(43px, 13vw, 60px); line-height: 1.12; letter-spacing: .12em; }
  .album-description { width: 90%; margin-top: 12px; font-size: 11px; line-height: 1.55; }
  .album-credit { margin-top: 10px; font-size: 8px; }

  .playlist-console {
    top: auto;
    right: 12px;
    bottom: var(--safe-bottom);
    left: 12px;
    width: auto;
    max-height: none;
    height: 320px;
    padding: 13px 11px 9px;
    border-radius: 3px 19px 4px 13px;
    transform: none;
  }
  .playlist-console::before { top: 14px; bottom: 14px; }
  .console-header { min-height: 44px; padding: 0 3px 7px; align-items: center; }
  .console-header h2 { display: inline; margin: 0; font-size: 15px; }
  .console-kicker { display: none; }
  .play-album-button { min-height: 44px; padding: 0 11px; }
  .playlist-scroll { flex: 0 0 auto; min-height: 100px; max-height: 100px; }
  .track-button { min-height: 48px; padding: 5px 7px; }
  .player-section { padding-top: 8px; }
  .now-playing-row { grid-template-columns: 38px minmax(0, 1fr) auto; }
  .now-playing-copy > span { display: none; }
  .timeline { margin-top: 0; }
  .transport-row { min-height: 45px; margin-top: 0; }
  .icon-button { min-width: 44px; min-height: 44px; }
  .main-play-button { min-width: 46px; min-height: 46px; }
  .status-row { min-height: 12px; }
  .status-row p { font-size: 8px; }
  .lyrics-toggle { min-height: 44px; }

  .subtitle-stage {
    top: clamp(170px, 30svh, 270px);
    right: auto;
    bottom: auto;
    left: 18px;
    width: calc(51vw - 18px);
    padding: 9px 6px 10px;
    border-left-width: 1px;
    background: linear-gradient(90deg, rgba(5, 18, 16, 0.5), rgba(5, 18, 16, 0.12) 76%, transparent);
  }
  .subtitle-current { font-size: clamp(16px, 4.8vw, 21px); line-height: 1.6; }
  .subtitle-next { margin-top: 5px; font-size: 10px; line-height: 1.6; }
  .subtitle-review { margin-bottom: 4px; font-size: 8px; }

  .lyrics-panel {
    right: 12px;
    bottom: calc(var(--safe-bottom) + 160px);
    left: 12px;
    width: auto;
    max-height: 160px;
    padding: 12px 14px;
  }
  .lyrics-scroll { max-height: 90px; }
  .lyric-line { padding: 4px; font-size: 12px; }
}

@media (max-width: 360px), (max-height: 650px) and (max-width: 760px) {
  .album-identity { top: calc(var(--safe-top) + 4px); }
  .album-identity h1 { font-size: 40px; }
  .album-description { display: none; }
  .album-credit { margin-top: 8px; }
  .playlist-console { height: 308px; padding-top: 10px; }
  .console-header { min-height: 44px; }
  .playlist-scroll { min-height: 96px; max-height: 96px; }
  .track-button { min-height: 47px; }
  .player-section { padding-top: 5px; }
  .now-playing-row { min-height: 27px; }
  .timeline { margin-top: 0; }
  .transport-row { min-height: 43px; }
  .mode-controls { gap: 1px; }
  .auto-switch { gap: 4px; }
  .auto-switch > span:last-child,
  .loop-button span { display: none; }
  .lyrics-panel { bottom: calc(var(--safe-bottom) + 153px); }
  .subtitle-stage { top: 146px; bottom: auto; padding-top: 4px; }
  .subtitle-current { font-size: 15px; line-height: 1.4; }
  .subtitle-next { display: none; }
  .subtitle-review { font-size: 7px; letter-spacing: .03em; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .film-grain { opacity: 0.12; }
}

@media (prefers-contrast: more) {
  .playlist-console { background: rgba(5, 24, 20, 0.92); }
  .track-button { color: var(--cream); }
  .track-duration,
  .status-row p { color: rgba(255, 246, 227, 0.75); }
}