/* MOONLIGHT WORLD — ROME SOMEWAT Purple Glass edition */
:root {
  --bg: #070611;
  --bg-soft: #100c20;
  --surface: rgba(30, 24, 52, .46);
  --surface-strong: rgba(25, 19, 45, .72);
  --violet: #9b88ff;
  --violet-2: #8062d7;
  --lilac: #c8bbff;
  --rose: #e7a6ff;
  --text: #fbfaff;
  --muted: rgba(241, 237, 255, .66);
  --line: rgba(255, 255, 255, .15);
  --glass-blur: 26px;
  --radius-lg: 26px;
  --radius-xl: 34px;
  --container: 1520px;
  --shadow: 0 28px 80px rgba(3, 2, 11, .38);
  --ease: cubic-bezier(.2, .75, .25, 1);
}

html { background: #070611; }
body {
  color: #fbfaff;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  background:
    radial-gradient(circle at 12% 9%, rgba(139,111,255,.27), transparent 34rem),
    radial-gradient(circle at 86% 6%, rgba(215,144,255,.18), transparent 31rem),
    radial-gradient(circle at 72% 74%, rgba(91,95,205,.20), transparent 35rem),
    linear-gradient(145deg, #070611 0%, #100c20 43%, #1b1433 100%);
  background-attachment: fixed;
}
body::before, body::after {
  content: ""; position: fixed; z-index: -1; width: 38rem; height: 38rem;
  border-radius: 50%; pointer-events: none; filter: blur(95px); opacity: .18;
}
body::before { top: -18rem; left: 18%; background: #8b70ff; }
body::after { right: -20rem; bottom: -20rem; background: #be79dd; }
.page-container { width: min(1520px, calc(100% - 48px)); }
.glass-panel {
  background: linear-gradient(145deg, rgba(255,255,255,.075), rgba(255,255,255,.018)), rgba(23,17,42,.46);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 28px 80px rgba(3,2,11,.38), inset 0 1px 0 rgba(255,255,255,.08);
  -webkit-backdrop-filter: blur(26px) saturate(1.18);
  backdrop-filter: blur(26px) saturate(1.18);
}

/* Header — compact wordmark and understated navigation */
.site-header {
  padding: 8px 0;
  background: rgba(7,6,17,.72);
  border-bottom: 1px solid rgba(255,255,255,.075);
  -webkit-backdrop-filter: blur(26px) saturate(1.2);
  backdrop-filter: blur(26px) saturate(1.2);
}
.header-inner { width: min(1520px, calc(100% - 48px)); min-height: 62px; gap: 30px; }
.brand { gap: 12px; }
.brand-mark {
  width: 48px; height: 48px; border-radius: 14px;
  border: 1px solid rgba(255,255,255,.15);
  background: linear-gradient(145deg, rgba(255,255,255,.08), rgba(255,255,255,.02));
  box-shadow: 0 10px 28px rgba(5,3,18,.28), inset 0 1px 0 rgba(255,255,255,.08);
}
.brand-copy { display: block; }
.brand-copy strong { font-size: 13px; font-weight: 900; letter-spacing: .15em; color: #fbfaff; }
.main-nav { gap: clamp(22px, 3vw, 42px); }
.main-nav a { color: rgba(244,241,255,.72); font-size: 10px; font-weight: 800; letter-spacing: .15em; transition: color .2s ease; }
.main-nav a:hover { color: #fff; }
.menu-toggle { border-color: rgba(255,255,255,.15); background: rgba(255,255,255,.045); border-radius: 14px; }

/* Hero — image only. No text layers are added to either banner. */
.hero-section { padding-top: 18px; }
.hero-frame {
  border-radius: 30px; border-color: rgba(255,255,255,.14);
  background: rgba(18,12,31,.52);
  box-shadow: 0 28px 80px rgba(3,2,11,.38), 0 0 52px rgba(139,111,255,.08);
}
.hero-slide img { width: 100%; height: auto; object-fit: contain; }
.hero-controls {
  right: 16px; bottom: 14px; gap: 8px; padding: 6px 8px;
  border-color: rgba(255,255,255,.15); background: rgba(8,6,17,.48);
  box-shadow: 0 12px 32px rgba(0,0,0,.25);
}
.hero-arrow { width: 30px; height: 30px; border-color: rgba(255,255,255,.16); background: rgba(255,255,255,.04); }
.hero-dot { background: rgba(255,255,255,.38); }
.hero-dot.is-active { background: #c8bbff; }

/* Shared compact section rhythm */
.content-section { padding-top: clamp(30px, 3vw, 44px); }
.game-section, .collection-section, .tarot-section { scroll-margin-top: 92px; }
.section-kicker { color: rgba(222,210,255,.75); font-size: 10px; font-weight: 800; letter-spacing: .2em; }

/* Featured game — one focused cover, no descriptive copy */
.game-showcase {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 500px; padding: clamp(30px, 4vw, 50px) 24px 34px;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
  border-radius: 34px;
  background:
    radial-gradient(circle at 50% 46%, rgba(174,122,255,.20), transparent 33%),
    radial-gradient(circle at 14% 18%, rgba(81,164,255,.07), transparent 26%),
    linear-gradient(145deg, rgba(38,29,75,.76), rgba(14,10,32,.78));
}
.game-showcase::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: repeating-linear-gradient(90deg, transparent 0 119px, rgba(255,255,255,.012) 120px);
}
.game-showcase-heading { display: grid; justify-items: center; gap: 12px; text-align: center; }
.game-showcase-heading .section-kicker {
  min-height: 30px; display: inline-flex; align-items: center; padding: 0 14px;
  border: 1px solid rgba(255,255,255,.13); border-radius: 999px;
  background: rgba(255,255,255,.055); color: rgba(235,227,255,.76);
  font-size: 10px; font-weight: 900; letter-spacing: .2em;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.game-showcase-heading h1 {
  margin: 0; color: #fff; font-family: Inter, sans-serif;
  font-size: clamp(30px, 4.1vw, 58px); line-height: 1.02;
  font-weight: 900; letter-spacing: -.055em; text-wrap: balance;
}
.game-showcase-heading h1 em { color: #c9acff; font-style: normal; text-shadow: 0 0 26px rgba(169,120,255,.32); }
.game-cover-link {
  position: relative; display: block; width: clamp(220px, 29vw, 360px); aspect-ratio: 1;
  margin: clamp(24px, 3vw, 38px) auto 0; overflow: hidden; isolation: isolate;
  border: 1px solid rgba(255,255,255,.26); border-radius: 30px;
  background: #17102f; box-shadow: 0 34px 72px rgba(3,2,16,.54), inset 0 1px 0 rgba(255,255,255,.16), 0 0 0 6px rgba(179,145,255,.055);
  transition: transform .38s var(--ease), border-color .28s ease, box-shadow .35s ease;
}
.game-cover-link img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .55s var(--ease), filter .35s ease; }
.game-play-overlay {
  position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 13px;
  color: #fff; background: linear-gradient(180deg, rgba(8,5,22,.02), rgba(8,4,22,.58));
  opacity: 0; transform: translateY(6px); transition: opacity .25s ease, transform .3s var(--ease);
}
.game-play-overlay b { font-size: 12px; font-weight: 900; letter-spacing: .2em; }
.game-play-overlay .play-triangle { transform: scale(1.35); filter: drop-shadow(0 0 12px rgba(231,207,255,.8)); }
.game-cover-link:hover, .game-cover-link:focus-visible { transform: translateY(-5px); border-color: rgba(232,221,255,.68); box-shadow: 0 42px 92px rgba(3,2,16,.62), 0 0 0 6px rgba(179,145,255,.10), 0 0 44px rgba(161,116,240,.18); }
.game-cover-link:hover img, .game-cover-link:focus-visible img { transform: scale(1.035); filter: brightness(.78) saturate(1.08); }
.game-cover-link:hover .game-play-overlay, .game-cover-link:focus-visible .game-play-overlay { opacity: 1; transform: none; }

/* Collection panel — four numbered cover cards, like the ROME release ranking */
.collection-panel {
  padding: clamp(18px, 2.2vw, 30px);
  border-radius: 34px;
  background: linear-gradient(145deg, rgba(255,255,255,.075), rgba(255,255,255,.018)), rgba(23,17,42,.48);
  box-shadow: 0 28px 80px rgba(3,2,11,.38), inset 0 1px 0 rgba(255,255,255,.08);
}
.collection-heading { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin: 0 0 26px; }
.collection-heading h2 {
  margin: 0; color: #fff; font-family: Inter, sans-serif;
  font-size: clamp(24px, 2.45vw, 36px); font-weight: 900; line-height: 1.08; letter-spacing: -.045em;
}
.collection-heading h2 em { color: #c8bbff; font-style: normal; }
.heading-rule { width: 66px; height: 3px; border-radius: 999px; background: linear-gradient(90deg, #c8bbff, rgba(231,166,255,.16)); }
.poster-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); align-items: start; gap: clamp(14px, 1.9vw, 26px); }
.poster-card {
  min-width: 0; padding: 9px; overflow: hidden; border-radius: 26px;
  border: 1px solid rgba(255,255,255,.105);
  background: linear-gradient(145deg, rgba(255,255,255,.075), rgba(255,255,255,.018)), rgba(23,17,42,.44);
  box-shadow: 0 18px 54px rgba(2,1,9,.26), inset 0 1px 0 rgba(255,255,255,.07);
  -webkit-backdrop-filter: blur(18px) saturate(1.12); backdrop-filter: blur(18px) saturate(1.12);
  transition: transform .24s var(--ease), border-color .24s ease, box-shadow .28s ease;
}
.poster-card:hover, .poster-card:focus-within { z-index: 2; transform: translateY(-5px); border-color: rgba(207,191,255,.31); box-shadow: 0 24px 68px rgba(3,2,12,.38), 0 0 0 1px rgba(171,145,255,.08); }
.poster-artwork { position: relative; overflow: hidden; isolation: isolate; width: 100%; border-radius: 18px; background: #17102a; border: 1px solid rgba(255,255,255,.12); box-shadow: 0 16px 40px rgba(3,2,10,.26); }
.poster-artwork img { display: block; width: 100%; height: auto; object-fit: contain; transition: transform .55s var(--ease), filter .4s ease; }
.poster-number {
  position: absolute; z-index: 3; left: 9px; bottom: -13px;
  color: rgba(255,255,255,.78); font-family: Inter, sans-serif;
  font-size: clamp(64px, 7vw, 106px); font-weight: 900; line-height: 1;
  letter-spacing: -.08em; text-shadow: 0 5px 28px rgba(0,0,0,.42); pointer-events: none;
}
.poster-type {
  position: absolute; z-index: 3; top: 10px; right: 10px;
  padding: 7px 10px; border: 1px solid rgba(255,255,255,.22); border-radius: 999px;
  color: rgba(255,255,255,.94); background: rgba(12,8,24,.48);
  font-size: 9px; font-weight: 900; letter-spacing: .11em;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.poster-play {
  position: absolute; z-index: 4; left: 50%; top: 50%; width: 66px; height: 66px;
  display: grid; place-items: center; padding: 0; border: 1px solid rgba(255,255,255,.65); border-radius: 50%;
  color: #fff; background: linear-gradient(135deg, rgba(185,148,255,.88), rgba(104,75,171,.84));
  box-shadow: 0 0 0 9px rgba(218,196,255,.11), 0 0 42px rgba(193,147,255,.5), 0 14px 30px rgba(0,0,0,.3);
  opacity: 0; visibility: hidden; transform: translate(-50%,-44%) scale(.78);
  transition: opacity .25s ease, visibility .25s ease, transform .32s var(--ease), box-shadow .25s ease; cursor: pointer;
}
.poster-play .play-triangle { border-top-width: 11px; border-bottom-width: 11px; border-left-width: 16px; }
.poster-card--music:hover .poster-play, .poster-card--music:focus-within .poster-play { opacity: 1; visibility: visible; transform: translate(-50%,-50%) scale(1); }
.poster-card--music:hover .poster-artwork img, .poster-card--music:focus-within .poster-artwork img { transform: scale(1.025); filter: brightness(1.06) saturate(1.08); }
.poster-card--music:hover .poster-artwork { border-color: rgba(222,198,255,.56); box-shadow: inset 0 0 32px rgba(192,150,255,.12), 0 0 28px rgba(161,116,240,.14); }
.poster-card--soon .poster-artwork img { filter: grayscale(1) brightness(.59) contrast(.92); }
.poster-card--soon:hover .poster-artwork img { filter: grayscale(.82) brightness(.72); }
.coming-overlay { position: absolute; z-index: 4; inset: 0; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.coming-overlay b {
  padding: 10px 14px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px;
  color: #f7f2ff; background: rgba(12,8,24,.48); font-size: 10px; font-weight: 900; letter-spacing: .17em;
  text-shadow: 0 2px 10px rgba(0,0,0,.8); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.poster-card--portrait .poster-artwork { width: 100%; }

/* Tarot — image-led, grayscale until hover */
.tarot-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 16px; }
.tarot-heading h2 { margin: 0; color: #fff; font-size: clamp(23px,2.3vw,34px); font-weight: 900; letter-spacing: -.045em; }
.tarot-heading > span { padding: 7px 12px; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; color: rgba(241,237,255,.68); background: rgba(255,255,255,.045); font-size: 9px; font-weight: 800; letter-spacing: .14em; }
.tarot-frame { border-radius: 26px; border-color: rgba(255,255,255,.13); }
.tarot-frame img { filter: grayscale(1) brightness(.62) saturate(.58); transition: filter .7s var(--ease), transform 1s var(--ease); }
.tarot-frame:hover img, .tarot-frame:focus-within img { filter: grayscale(0) brightness(1) saturate(1); transform: scale(1.012); }
.tarot-caption { display: none !important; }

/* Footer — restrained */
.site-footer { margin-top: clamp(30px,3.5vw,48px); border-top: 1px solid rgba(255,255,255,.10); background: linear-gradient(180deg, rgba(17,12,29,.52), rgba(8,6,17,.94)); }
.footer-inner { min-height: 100px; }
.footer-brand { gap: 10px; }
.footer-brand img { width: 48px; height: 48px; }
.footer-brand b { font-size: 11px; font-weight: 900; letter-spacing: .12em; }
.footer-brand small { font-size: 8px; letter-spacing: .18em; }
.footer-center span { font-size: 8px; letter-spacing: .18em; }
.footer-center small { font-size: 7px; letter-spacing: .14em; }
.footer-bottom { min-height: 38px; color: rgba(241,237,255,.42); font-size: 8px; }

/* Mini player — floating ROME-style glass capsule */
.mini-player { width: min(1000px, calc(100% - 48px)); bottom: 16px; }
.mini-player-shell {
  min-height: 86px; padding: 11px 17px 20px 13px; gap: 17px; border-radius: 25px;
  border-color: rgba(222,210,255,.22);
  background: linear-gradient(115deg, rgba(35,24,58,.96), rgba(19,14,32,.97) 58%, rgba(48,31,69,.96));
  box-shadow: 0 24px 72px rgba(2,1,8,.54), 0 0 38px rgba(148,105,231,.14), inset 0 1px 0 rgba(255,255,255,.10);
}
.mini-artwork { width: 54px; height: 54px; flex-basis: 54px; border-radius: 13px; }
.now-playing-label { font-size: 8px; letter-spacing: .17em; }
.mini-track-info strong { font-size: 12px; font-weight: 800; letter-spacing: .025em; }
.mini-track-info small { font-size: 8px; letter-spacing: .09em; }
.mini-lyric-line { font-size: 10px; color: #d7c7f2; }
.mini-progress-wrap { color: rgba(234,224,250,.68); }
.expand-button { color: #d3c2f0; }

/* Full player: same glass system, uncluttered */
.full-player-dialog { border: 1px solid rgba(222,210,255,.20); background: rgba(12,8,24,.96); box-shadow: 0 40px 120px rgba(0,0,0,.66), 0 0 70px rgba(139,111,255,.12); }
.full-player-shell { background: radial-gradient(ellipse at 16% 0%, rgba(139,111,255,.13), transparent 45%), linear-gradient(145deg, rgba(30,24,52,.9), rgba(12,8,24,.97)); }
.full-player-brand { color: rgba(241,237,255,.70); font-size: 9px; letter-spacing: .19em; font-weight: 800; }
.full-track-heading h2 { font-family: Inter, sans-serif; font-weight: 900; letter-spacing: -.035em; }
.full-track-heading p { color: rgba(241,237,255,.50); letter-spacing: .12em; }
.lyrics-heading b { color: #e5dcf6; }
.lyric-line { font-family: Inter, sans-serif; font-weight: 500; color: rgba(221,211,238,.66); }
.lyric-line.is-active { color: #fff; font-weight: 750; text-shadow: 0 0 18px rgba(193,157,255,.32); }
.lyrics-placeholder { font-family: Inter, sans-serif; }
.full-player-footer { color: rgba(241,237,255,.44); }

/* Welcome popup — display once per browser tab session */
.welcome-popup {
  width: max-content; max-width: calc(100vw - 28px); max-height: calc(100dvh - 28px);
  margin: auto; padding: 0; overflow: visible; border: 0; border-radius: 18px;
  background: transparent; color: #fff;
}
.welcome-popup::backdrop { background: rgba(4,2,12,.82); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.welcome-popup[open] { animation: welcomePopupIn .32s var(--ease) both; }
@keyframes welcomePopupIn { from { opacity: 0; transform: translateY(12px) scale(.985); } to { opacity: 1; transform: none; } }
.welcome-popup-frame {
  position: relative; max-width: min(1180px, calc(100vw - 28px)); max-height: calc(100dvh - 28px);
  overflow: hidden; border: 1px solid rgba(226,211,255,.24); border-radius: 18px;
  background: #100c20; box-shadow: 0 34px 110px rgba(0,0,0,.62), 0 0 56px rgba(161,116,240,.20);
}
.welcome-popup-image { display: block; width: 100%; max-height: calc(100dvh - 30px); height: auto; object-fit: contain; }
.welcome-popup-close {
  position: absolute; z-index: 5; top: 2.5%; right: 2.5%; width: clamp(34px, 3.5vw, 46px); height: clamp(34px, 3.5vw, 46px);
  display: grid; place-items: center; padding: 0; border: 1px solid rgba(255,255,255,.22); border-radius: 50%;
  color: #fff; background: rgba(12,8,24,.23); cursor: pointer; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: background .2s ease, transform .2s ease;
}
.welcome-popup-close:hover { background: rgba(12,8,24,.68); transform: rotate(90deg); }
.welcome-popup-close svg { width: 21px; height: 21px; }

@media (max-width: 1100px) {
  .page-container { width: min(1520px, calc(100% - 40px)); }
  .header-inner { width: min(1520px, calc(100% - 40px)); }
  .poster-grid { gap: 14px; }
  .poster-card { padding: 7px; border-radius: 22px; }
  .poster-artwork { border-radius: 15px; }
  .poster-type { top: 8px; right: 8px; font-size: 8px; }
  .poster-play { width: 56px; height: 56px; }
}
@media (hover: none) {
  .poster-card--music .poster-play { opacity: 1; visibility: visible; transform: translate(-50%,-50%) scale(.92); }
  .game-play-overlay { opacity: 1; transform: none; background: linear-gradient(180deg, transparent 52%, rgba(8,4,22,.48)); }
}
@media (max-width: 760px) {
  .page-container { width: calc(100% - 28px); }
  .header-inner { width: calc(100% - 28px); min-height: 54px; }
  .brand-mark { width: 42px; height: 42px; }
  .brand-copy strong { font-size: 10px; letter-spacing: .13em; }
  .main-nav { left: 14px; right: 14px; }
  .hero-section { padding-top: 12px; }
  .hero-frame { border-radius: 18px; }
  .hero-controls { right: 8px; bottom: 7px; padding: 4px 6px; gap: 5px; }
  .hero-arrow { width: 25px; height: 25px; }
  .content-section { padding-top: 28px; }
  .game-showcase { min-height: 0; padding: 23px 14px 22px; border-radius: 24px; }
  .game-showcase-heading { gap: 9px; }
  .game-showcase-heading .section-kicker { min-height: 26px; padding-inline: 10px; font-size: 8px; }
  .game-showcase-heading h1 { font-size: clamp(25px, 7vw, 36px); line-height: 1.02; }
  .game-cover-link { width: min(68vw, 290px); margin-top: 20px; border-radius: 22px; }
  .game-play-overlay { opacity: 1; transform: none; gap: 9px; }
  .game-play-overlay b { font-size: 9px; }
  .game-play-overlay .play-triangle { transform: scale(1.05); }
  .collection-panel { padding: 15px 12px 14px; border-radius: 24px; }
  .collection-heading { margin-bottom: 16px; gap: 9px; }
  .collection-heading h2 { font-size: 23px; }
  .heading-rule { width: 52px; height: 2px; }
  .poster-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
  .poster-card { padding: 6px; border-radius: 17px; }
  .poster-artwork { border-radius: 12px; }
  .poster-number { left: 6px; bottom: -7px; font-size: clamp(54px, 14vw, 76px); }
  .poster-type { top: 7px; right: 7px; padding: 5px 7px; font-size: 7px; letter-spacing: .08em; }
  .poster-play { width: 48px; height: 48px; }
  .poster-play .play-triangle { border-top-width: 8px; border-bottom-width: 8px; border-left-width: 12px; }
  .coming-overlay b { padding: 7px 9px; font-size: 7px; letter-spacing: .12em; }
  .tarot-heading { margin-bottom: 11px; }
  .tarot-heading h2 { font-size: 22px; }
  .tarot-heading > span { font-size: 7px; padding: 6px 8px; }
  .tarot-frame { border-radius: 14px; }
  .site-footer { margin-top: 26px; }
  .footer-inner { min-height: 76px; grid-template-columns: 1fr auto; gap: 12px; }
  .footer-brand img { width: 38px; height: 38px; }
  .footer-brand b { font-size: 9px; }
  .footer-brand small { font-size: 6px; }
  .footer-center { display: none; }
  .back-top { font-size: 7px; letter-spacing: .08em; }
  .footer-bottom { min-height: 32px; font-size: 6px; letter-spacing: .06em; }
  .mini-player { bottom: calc(8px + env(safe-area-inset-bottom)); width: calc(100% - 14px); }
  .mini-player-shell { grid-template-columns: 42px minmax(0,1fr) auto; min-height: 92px; padding: 8px 9px 21px; gap: 7px; border-radius: 18px; }
  .mini-artwork { width: 42px; height: 50px; }
  .mini-track-info strong { font-size: 10px; }
  .mini-track-info small { font-size: 7px; }
  .mini-lyric-line { font-size: 8px; }
  .mini-main-controls { gap: 5px; }
  .mini-skip svg { width: 13px; }
  .play-button { width: 35px; height: 35px; }
  .mini-tools { display: none; }
  .mini-progress-wrap { left: 10px; right: 10px; bottom: 5px; grid-template-columns: 27px 1fr 27px; gap: 5px; font-size: 7px; }
  .body.has-player { padding-bottom: 116px; }
  .full-player-dialog { width: calc(100% - 14px); max-height: calc(100dvh - 14px); border-radius: 20px; }
  .full-player-shell { padding: 12px 13px 10px; }
  .full-player-content { grid-template-columns: 96px minmax(0,1fr); gap: 13px; padding: 10px 0 12px; }
  .full-art-caption { font-size: 7px; }
  .full-track-heading h2 { font-size: 17px; }
  .lyrics-window { height: min(34dvh, 220px); min-height: 120px; }
  .lyric-line { font-size: 12px; }
  .lyric-line.is-active { font-size: 15px; }
  .welcome-popup { max-width: calc(100vw - 12px); max-height: calc(100dvh - 12px); border-radius: 12px; }
  .welcome-popup-frame { max-width: calc(100vw - 12px); max-height: calc(100dvh - 12px); border-radius: 12px; }
  .welcome-popup-image { width: 100%; max-height: calc(100dvh - 12px); object-fit: contain; }
  .welcome-popup-close { top: 2%; right: 2%; width: 32px; height: 32px; }
  .welcome-popup-close svg { width: 17px; height: 17px; }
  .back-to-top-float { right: 10px; bottom: 12px; width: 38px; height: 38px; }
  body.has-player .back-to-top-float { bottom: 124px; }
}
@media (max-width: 390px) {
  .brand-copy strong { font-size: 9px; letter-spacing: .11em; }
  .poster-grid { gap: 9px; }
  .poster-card { padding: 5px; }
  .poster-type { font-size: 6px; }
  .mini-track-info strong { font-size: 9px; }
  .mini-lyric-line { font-size: 7px; }
  .mini-main-controls { gap: 2px; }
}
@media (prefers-reduced-motion: reduce) {
  .poster-card, .game-cover-link, .tarot-frame img, .welcome-popup { animation: none !important; transition: none !important; }
}
