:root {
  color-scheme: light;
  --paper: #f5f8ef;
  --ink: #213b2b;
  --accent: #54c15b;
  --green: #348543;
  --green-dark: #205c34;
  --muted: #7b9078;
  --faint: #a9bba4;
  --line: #d7e5d1;
  --track: #cdddca;
  --lyric-idle: #a6b99f;
  --lyric-near: #8fa486;
  --lyric-unsung: #91a88a;
  --sans: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --serif: 'Instrument Serif', Georgia, serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--paper); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; isolation: isolate; }
button, input, a { -webkit-tap-highlight-color: transparent; }
button, input { font: inherit; }
button { color: inherit; cursor: pointer; }
button { border: 0; }
button:focus-visible, a:focus-visible, input:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--green-dark); outline-offset: 5px; }
button:disabled { cursor: default; }
a { color: inherit; }
svg { display: block; }
.icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
/* Separate scenery from the lyrics: only these background layers drift. */
.atmosphere { position: fixed; inset: 0; overflow: hidden; pointer-events: none; z-index: -1; background: radial-gradient(ellipse at 56% 35%, #fffffa9c, transparent 55%), linear-gradient(125deg, #f5f5e9 0%, #f5f8ef 46%, #e8f3df 100%); }
.ambient { position: absolute; width: min(80vw, 1000px); aspect-ratio: 1; border-radius: 50%; }
.ambient-sun { top: -47%; left: -24%; background: radial-gradient(circle, #f7dfae80, #fff3ce55 34%, transparent 68%); animation: sunlight-drift 34s ease-in-out infinite alternate; }
.ambient-green { bottom: -39%; left: -19%; width: min(95vw, 1200px); background: radial-gradient(ellipse, #54c15b38, #8ad87322 43%, transparent 70%); animation: green-drift 29s ease-in-out infinite alternate; }
/* Music adds only a faint wash of light; the existing palette stays underneath. */
.music-lights { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.music-light { position: absolute; inset: -4%; opacity: calc(var(--music-level, 0) * var(--music-opacity)); }
.music-light--green {
  --music-opacity: .16;
  background: radial-gradient(ellipse at 18% 78%, #54c15b66, transparent 66%);
  transform-origin: 18% 78%;
  transform: translate3d(0, calc(var(--music-level, 0) * -6px), 0) scale(calc(1 + var(--music-level, 0) * .025));
}
.music-light--warm {
  --music-opacity: .12;
  background: radial-gradient(ellipse at 82% 18%, #f2cb9059, transparent 62%);
  transform-origin: 82% 18%;
  transform: translate3d(calc(var(--music-level, 0) * -4px), 0, 0) scale(calc(1 + var(--music-level, 0) * .02));
}
.lyrics-panel > .music-lights { display: none; }
.window-shadow { position: absolute; top: -25%; left: -22%; width: min(90vw, 1200px); height: 125%; background: linear-gradient(104deg, transparent 28%, #284c2b 29% 31%, transparent 32% 58%, #284c2b 59% 61%, transparent 62%), linear-gradient(14deg, transparent 36%, #284c2b 37% 39%, transparent 40%); opacity: .045; filter: blur(15px); transform-origin: 0 0; animation: window-drift 38s ease-in-out infinite alternate; }
.branch-shadow { position: absolute; top: -22%; right: -210px; width: min(65vw, 780px); height: auto; color: #376d3d; opacity: .065; filter: blur(20px); transform-origin: 100% 0; animation: branch-sway 31s ease-in-out infinite alternate; }
.water-light { position: absolute; width: min(80vw, 1100px); height: min(32vw, 420px); right: -18%; bottom: -12%; border: 1px solid #fffffacc; border-radius: 50%; box-shadow: 0 -14px 25px #ffffff52, 0 -34px 65px #54c15b12; opacity: .6; transform: rotate(-24deg); animation: water-drift 27s ease-in-out infinite alternate; }
@keyframes sunlight-drift { to { transform: translate(30px, 25px); opacity: .7; } }
@keyframes green-drift { to { transform: translate(24px, -20px); opacity: .75; } }
@keyframes window-drift { from { transform: rotate(-5deg) translateX(-8px); } to { transform: rotate(-2deg) translateX(12px); } }
@keyframes branch-sway { from { transform: rotate(-6deg); } to { transform: rotate(-2deg) translateY(14px); } }
@keyframes water-drift { to { transform: translate(-18px, -12px) rotate(-21deg); opacity: .4; } }
.listening-room { max-width: 1220px; min-height: 100svh; padding: 64px 36px; margin: 0 auto; display: grid; grid-template-columns: minmax(320px, 430px) minmax(0, 1fr); column-gap: clamp(65px, 8.5vw, 132px); align-items: start; align-content: center; }
.song-panel { min-width: 0; animation: room-arrive .85s cubic-bezier(.2,.65,.25,1) backwards; }
@keyframes room-arrive { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
.artwork-wrap { position: relative; width: 100%; isolation: isolate; }
.artwork-surface { position: relative; border-radius: 12px; transform: perspective(1100px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)); transition: transform .65s cubic-bezier(.2,.65,.25,1); }
.artwork-surface::before { content: ''; position: absolute; z-index: -1; inset: -4px; border: 1px solid #ffffffb0; border-radius: 16px; background: linear-gradient(135deg, #ffffffad, #ffffff26 60%, #ccd9c52e); }
.artwork-surface::after { content: ''; position: absolute; inset: 0; border-radius: inherit; border: 1px solid #fffff862; box-shadow: inset 0 1px 2px #ffffff4d; pointer-events: none; }
.artwork { display: block; width: 100%; height: auto; border-radius: inherit; box-shadow: 0 2px 5px #20251d14, 0 18px 35px -17px #294d3660, 0 46px 70px -34px #318c3b50; }
.artwork-sheen { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(ellipse at var(--light-x, 45%) var(--light-y, 15%), #fffaeb52, transparent 65%); mix-blend-mode: screen; opacity: 0; transition: opacity .45s; }
.artwork-halo { z-index: -2; position: absolute; inset: 15% -24px -12%; border-radius: 40%; background: radial-gradient(ellipse at 65% 80%, #54c15b38, transparent 66%), radial-gradient(ellipse at 0 0, #f4d49d55, transparent 65%); filter: blur(28px); }
.artwork-stars { position: absolute; z-index: 1; top: -17px; right: -13px; width: 58px; height: 50px; pointer-events: none; opacity: .75; }
.artwork-stars i { position: absolute; width: 22px; height: 22px; top: 0; right: 0; border-radius: 50%; background: radial-gradient(circle, #fffff9 0 5%, #54c15b55 16%, transparent 64%); box-shadow: 0 0 22px 5px #54c15b1a; }
.artwork-stars i::before, .artwork-stars i::after { content: ''; position: absolute; inset: 10px 0; border-radius: 50%; background: linear-gradient(90deg, transparent, #6ac56c 35%, #fffff9 50%, #6ac56c 65%, transparent); }
.artwork-stars i::after { transform: rotate(90deg); }
.artwork-stars i:last-child { top: 31px; right: 34px; transform: scale(.5); }
.song-heading { margin-top: 33px; }
h1 { font-family: var(--serif); font-size: clamp(56px, 5vw, 72px); line-height: 1; letter-spacing: -2px; font-weight: 400; margin: 0; }
h1 em { color: var(--green); font-weight: inherit; }
.icon-button { background: none; display: inline-flex; align-items: center; justify-content: center; padding: 10px; width: 44px; height: 44px; border-radius: 50%; transition: color .2s, background .2s, transform .2s; flex-shrink: 0; }
.icon-button:hover { background: #54c15b12; color: var(--green-dark); }
.icon-button:active { transform: scale(.91); }
.song-dedication { margin: 10px 0 0; font-family: var(--serif); font-size: 20px; line-height: 1.4; font-style: italic; color: #7b8b73; }
.player { margin-top: 30px; }
.range { --progress: 0%; appearance: none; -webkit-appearance: none; display: block; width: 100%; height: 20px; margin: 0; border: 0; background: transparent; cursor: pointer; border-radius: 0; }
.range::-webkit-slider-runnable-track { height: 3px; border-radius: 3px; background: linear-gradient(to right, var(--accent) var(--progress), var(--track) var(--progress)); }
.range::-moz-range-track { height: 3px; border-radius: 3px; background: linear-gradient(to right, var(--accent) var(--progress), var(--track) var(--progress)); }
.range::-webkit-slider-thumb { appearance: none; -webkit-appearance: none; width: 8px; height: 8px; background: var(--accent); border-radius: 50%; border: 0; margin-top: -2.5px; transition: transform .2s; }
.range::-moz-range-thumb { width: 8px; height: 8px; background: var(--accent); border-radius: 50%; border: 0; }
.range:hover::-webkit-slider-thumb { transform: scale(1.3); }
.time-labels { display: flex; justify-content: space-between; color: var(--muted); font-size: 10px; letter-spacing: .3px; font-variant-numeric: tabular-nums; margin-top: -1px; }
.transport { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; margin-top: 13px; gap: 16px; }
.play-button { position: relative; display: flex; align-items: center; justify-content: center; width: 62px; height: 62px; padding: 16px; background: linear-gradient(145deg, #95df80 -25%, var(--accent) 65%, #4bb654); color: #123b20; border: 1px solid #43a94b33; border-radius: 50%; box-shadow: 0 8px 20px -7px #34854360, inset 0 1px 1px #ffffff80; transition: transform .2s, box-shadow .2s; flex-shrink: 0; }
.play-button::before { content: ''; position: absolute; inset: -6px; border: 1px solid #54c15b22; border-radius: inherit; pointer-events: none; }
.play-button .icon { width: 27px; height: 27px; }
.play-button:hover { transform: scale(1.055); box-shadow: 0 8px 25px -4px #34854366, inset 0 1px 1px #ffffff90; }
.play-button:active { transform: scale(.96); }
.side-control { color: var(--muted); justify-self: end; }
.side-control .icon { width: 19px; height: 19px; }
.lyrics-shortcut { display: none; }
.volume-control { display: flex; gap: 1px; align-items: center; width: 108px; }
.volume-control .icon-button { width: 44px; height: 44px; padding: 14px; color: var(--muted); }
.volume-control .icon { width: 15px; height: 15px; }
.volume-range { --progress: 100%; min-width: 0; }
.volume-range::-webkit-slider-runnable-track { height: 2px; }
.volume-range::-moz-range-track { height: 2px; }
.volume-range::-webkit-slider-thumb { width: 6px; height: 6px; margin-top: -2px; }
.volume-range::-moz-range-thumb { width: 6px; height: 6px; }
.lyrics-panel { min-width: 0; position: relative; padding-top: 0; scroll-margin-top: 30px; outline: none; animation: room-arrive .9s .12s cubic-bezier(.2,.65,.25,1) backwards; }
.lyrics-header { position: absolute; top: -40px; right: 0; display: flex; align-items: center; justify-content: flex-end; height: 40px; }
.focus-button { color: var(--muted); width: 40px; height: 40px; margin-right: -8px; opacity: .55; }
.focus-button:hover, .focus-button:focus-visible { opacity: 1; }
.focus-button .icon { width: 17px; height: 17px; }
.lyrics-stage { position: relative; }
.lyrics-scroll { height: 575px; overflow-y: auto; overflow-x: hidden; scrollbar-width: none; overscroll-behavior: contain; mask-image: linear-gradient(transparent, #000 6%, #000 78%, transparent 99%); -webkit-mask-image: linear-gradient(transparent, #000 6%, #000 78%, transparent 99%); outline-offset: 0; }
.lyrics-scroll::-webkit-scrollbar { display: none; }
.lyrics-content { padding: 139px 4px 300px; }
.lyric-line { display: block; width: 100%; position: relative; margin: 0; padding: 11px 0; background: none; font-size: clamp(29px, 3.15vw, 45px); line-height: 1.25; letter-spacing: -1.4px; font-weight: 650; text-align: left; color: var(--lyric-idle); opacity: .88; transform: scale(.95); transform-origin: left center; transition: color .55s, opacity .55s, transform .65s cubic-bezier(.2,.65,.25,1); border-radius: 3px; }
.lyric-line.is-past { color: var(--faint); }
.lyric-line.is-near { color: var(--lyric-near); opacity: .98; transform: scale(.975); }
.lyric-line.is-active { color: var(--green-dark); opacity: 1; transform: scale(1.02); }
.lyric-line:hover { color: #789772; opacity: 1; }
.lyric-line:focus-visible { color: var(--green-dark); opacity: 1; }
.is-browsing .lyric-line { opacity: 1; transform: none; }
.lyric-line.is-active .lyric-word { background: linear-gradient(90deg, var(--green-dark) var(--word-progress, 0%), var(--lyric-unsung) var(--word-progress, 0%)); background-clip: text; -webkit-background-clip: text; color: transparent; }
.lyric-word { display: inline; }
.lyric-echo { display: block; padding-top: 7px; font-size: .58em; line-height: 1.4; letter-spacing: -.02em; font-weight: 500; opacity: .75; }
.lyric-line.section-start { margin-top: 26px; }
.lyric-line:first-child { margin-top: 0; }
.lyric-break { display: flex; align-items: center; height: 70px; padding-left: 2px; }
.lyric-break--short { height: 28px; }
.lyric-break + .lyric-line.section-start { margin-top: 0; }
.break-dots { display: flex; align-items: center; gap: 9px; opacity: 0; transition: opacity .35s ease; }
.lyric-break.is-active .break-dots { opacity: 1; }
.break-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); opacity: .35; animation: music-breathe 2.7s ease-in-out infinite; animation-play-state: paused; }
.break-dot:nth-child(2) { animation-delay: -.9s; }
.break-dot:nth-child(3) { animation-delay: -1.8s; }
.is-playing .lyric-break.is-active .break-dot { animation-play-state: running; }
@keyframes music-breathe { 0%, 100% { opacity: .3; transform: scale(.85); } 50% { opacity: .8; transform: scale(1); } }
.lyrics-placeholder { font-size: 38px; font-weight: 650; line-height: 1.5; letter-spacing: -1.2px; }
.lyrics-placeholder span { color: var(--lyric-idle); }
.lyrics-follow-controls { display: flex; align-items: center; justify-content: center; height: 52px; margin-top: 20px; flex-shrink: 0; }
.follow-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 44px;
  padding: 10px 17px 10px 20px;
  white-space: nowrap;
  color: #56734f;
  border: 1px solid #7ba56b20;
  border-radius: 999px;
  background: #e5f1dc80;
  font-size: 12px;
  font-weight: 550;
  letter-spacing: .1px;
  transition: color .2s, background .2s, border-color .2s;
}
.follow-button:hover, .follow-button:focus-visible { color: var(--green-dark); background: #deedd2d9; border-color: #7ba56b45; }
.follow-button:active { background: #d6e8c9; }
.follow-status { width: 6px; height: 6px; flex-shrink: 0; border-radius: 50%; background: #7fa872; box-shadow: 0 0 0 4px #78a86612; transition: background .25s, box-shadow .25s; }
.is-playing .follow-status { background: var(--accent); box-shadow: 0 0 0 4px #54c15b16; }
.follow-button .icon { width: 14px; height: 14px; color: #6b8c60; transition: transform .2s; }
.follow-button:hover .icon, .follow-button:focus-visible .icon { transform: translateX(2px); }
[hidden] { display: none !important; }
.focus-transport { display: none; }
.mini-player { display: none; }
.toast { position: fixed; bottom: 28px; left: 50%; transform: translate(-50%, 12px); padding: 12px 20px; background: var(--green-dark); color: var(--paper); border-radius: 25px; font-size: 12px; z-index: 20; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; box-shadow: 0 5px 20px #293e331a; text-align: center; width: max-content; max-width: calc(100vw - 40px); }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.no-script { padding: 20px; text-align: center; }
body.lyrics-focused { overflow: hidden; }
.lyrics-focused .atmosphere > * { animation-play-state: paused; }
.lyrics-focused .lyrics-panel { position: fixed; inset: 0; z-index: 10; padding: 25px max(30px, calc((100vw - 800px) / 2)); background: radial-gradient(ellipse at 100% 0, #54c15b20, transparent 60%), radial-gradient(ellipse at 0 100%, #f7dfae38, transparent 60%), var(--paper); display: flex; flex-direction: column; }
.lyrics-focused .lyrics-panel > .music-lights { display: block; z-index: -1; }
.lyrics-focused .focus-button { opacity: 1; }
.lyrics-focused .lyrics-header { position: relative; top: auto; right: auto; flex-shrink: 0; }
.lyrics-focused .lyrics-stage { flex: 1; min-height: 0; margin-top: 10px; }
.lyrics-focused .lyrics-scroll { height: 100%; mask-image: linear-gradient(transparent, #000 12%, #000 78%, transparent 99%); -webkit-mask-image: linear-gradient(transparent, #000 12%, #000 78%, transparent 99%); }
.lyrics-focused .lyrics-content { padding-top: 27vh; padding-bottom: 45vh; }
.lyrics-focused .lyric-line { font-size: clamp(34px, 4.7vw, 62px); letter-spacing: -1.5px; padding: 12px 0; }
.lyrics-focused .lyric-break { height: 88px; }
.lyrics-focused .lyric-break--short { height: 36px; }
.lyrics-focused .focus-transport { display: flex; justify-content: center; align-items: center; gap: 25px; padding: 20px 0 max(10px, env(safe-area-inset-bottom)); }
.lyrics-focused .focus-transport .play-button { width: 54px; height: 54px; }
.lyrics-focused .mini-player { visibility: hidden; }
@media (min-width: 1500px) and (min-height: 920px) {
  .listening-room { max-width: 1340px; grid-template-columns: 470px minmax(0, 1fr); padding-top: 70px; column-gap: 140px; padding-bottom: 65px; }
  .lyrics-scroll { height: 645px; }
  .lyrics-content { padding-top: 165px; }
  .lyric-line { font-size: 46px; }
}
@media (min-width: 801px) and (max-height: 820px) {
  .listening-room { max-width: 1110px; grid-template-columns: minmax(300px, 360px) minmax(0, 1fr); padding-top: 48px; padding-bottom: 48px; }
  .lyrics-scroll { height: 520px; }
  .lyrics-content { padding-top: 125px; }
  .song-heading { margin-top: 25px; }
  .player { margin-top: 19px; }
}
@media (max-width: 1050px) and (min-width: 801px) {
  .listening-room { grid-template-columns: minmax(290px, 370px) minmax(0, 1fr); column-gap: 55px; }
  .lyric-line { font-size: 31px; letter-spacing: -.9px; }
}
@media (max-width: 800px) {
  .music-light--green { --music-opacity: .12; }
  .music-light--warm { --music-opacity: .09; }
  .ambient-sun { width: 540px; top: -260px; left: -270px; animation: none; opacity: .65; }
  .ambient-green { width: 740px; bottom: -250px; left: -420px; opacity: .85; }
  .window-shadow { display: none; }
  .branch-shadow { width: 470px; top: -160px; right: -250px; opacity: .045; filter: blur(16px); }
  .water-light { display: none; }
  .listening-room { display: flex; flex-direction: column; padding: 36px 30px 120px; max-width: 520px; gap: 44px; }
  .song-panel { width: 100%; }
  .artwork-wrap { width: min(100%, 370px); margin: 0 auto; }
  .song-heading { margin-top: 28px; }
  h1 { font-size: 60px; }
  .song-dedication { font-size: 19px; margin-top: 9px; }
  .player { margin-top: 20px; }
  .transport { margin-top: 11px; }
  .play-button { width: 61px; height: 61px; }
  .volume-control { width: 100px; }
  .lyrics-shortcut { display: inline-flex; }
  .lyrics-panel { width: 100%; scroll-margin-top: 24px; }
  .lyrics-header { position: relative; top: auto; right: auto; border-top: 1px solid var(--line); padding-top: 21px; height: 61px; }
  .lyrics-scroll { height: 475px; mask-image: linear-gradient(transparent, #000 12%, #000 78%, transparent 99%); -webkit-mask-image: linear-gradient(transparent, #000 12%, #000 78%, transparent 99%); }
  .lyrics-content { padding-top: 113px; padding-bottom: 240px; }
  .lyric-line { font-size: clamp(31px, 7.9vw, 39px); line-height: 1.24; letter-spacing: -1.1px; padding: 8px 0; }
  .lyric-line.section-start { margin-top: 22px; }
  .lyric-break { height: 58px; }
  .lyric-break--short { height: 22px; }
  .mini-player { display: flex; align-items: center; position: fixed; z-index: 5; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); padding: 10px 10px 12px; gap: 11px; border-radius: 14px; border: 1px solid #fbfff5; background: #f5faeff2; backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px); box-shadow: 0 5px 32px #2b62201a; opacity: 0; transform: translateY(110px); transition: opacity .3s, transform .3s; overflow: hidden; }
  .mini-player.is-visible { opacity: 1; transform: translateY(0); }
  .mini-player img { border-radius: 5px; width: 43px; height: 43px; }
  .mini-song { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
  .mini-song span:first-child { font-size: 13px; font-weight: 600; }
  .mini-song span:last-child { font-size: 10px; color: var(--muted); white-space: nowrap; text-overflow: ellipsis; overflow: hidden; }
  .mini-player .icon-button { width: 38px; padding: 8px; }
  .mini-play { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: none; color: var(--green); }
  .mini-play .icon { width: 26px; height: 26px; }
  .mini-progress { height: 2px; position: absolute; bottom: 0; left: 10px; right: 10px; background: var(--track); }
  .mini-progress span { height: 100%; display: block; background: var(--accent); width: 0; }
  .toast { bottom: 100px; }
  .lyrics-focused .lyrics-panel { padding: 16px 30px 20px; }
  .lyrics-focused .lyrics-header { border: 0; height: 44px; padding: 0; }
  .lyrics-focused .lyrics-content { padding-top: 25vh; padding-bottom: 40vh; }
  .lyrics-focused .lyric-line { font-size: clamp(32px, 8.6vw, 48px); padding: 10px 0; }
  .lyrics-focused .focus-transport { padding-top: 18px; }
}
@media (max-width: 380px) {
  .listening-room { padding: 28px 25px 120px; gap: 35px; }
  h1 { font-size: 50px; }
  .song-dedication { font-size: 17px; }
  .artwork-wrap { width: 94%; }
  .mini-player { gap: 8px; }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .artwork-wrap:hover .artwork-surface { transition-duration: .18s; }
  .artwork-wrap:hover .artwork-sheen { opacity: .65; }
}
@media (prefers-reduced-motion: reduce) {
  .music-lights { display: none !important; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
