@font-face { font-family: "Archivo Black"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/archivo-black-latin.woff2") format("woff2"); }
:root {
  color-scheme: dark;
  --text: #f6f0e6;
  --muted: #a89f94;
  --line: rgba(246, 240, 230, .14);
  --red: #d9473a;
  --orange: #e58a4f;
  --green: #98c03c;
  --accent: #e8943a;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: #050507; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html, body { min-height: 100%; }
body {
  min-height: 100vh;
  margin: 0;
  display: grid;
  place-items: center;
  padding: 28px 24px 58px;
  overflow-x: hidden;
  color: var(--text);
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  background: #050507;
}
.bg { position: fixed; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; opacity: 0; transition: opacity 1s ease; pointer-events: none; }
.bg.ready { opacity: 1; }
.bg-shade { position: fixed; inset: 0; z-index: 1; pointer-events: none; background: rgba(7, 8, 13, .5); }
.bg-photo { position: fixed; inset: 0; z-index: 0; background: #050507 center / cover no-repeat; opacity: 0; transition: opacity .6s ease; pointer-events: none; }
.bg-photo.show { opacity: 1; }

.perf { position: fixed; top: 12px; right: 12px; z-index: 5; }
.perf-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; padding: 0;
  border: 1px solid rgba(255,255,255,.14); border-radius: 999px;
  color: var(--text);
  background: linear-gradient(180deg, rgba(38, 30, 28, .86), rgba(20, 16, 18, .86));
  box-shadow: 0 4px 14px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.06);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font: 700 .6rem/1 "Segoe UI", Roboto, Helvetica, Arial, sans-serif; letter-spacing: .1em; text-transform: uppercase;
  cursor: pointer;
  transition: color .15s ease, border-color .15s ease, background .15s ease, transform .15s ease;
}
.perf-btn svg { color: var(--accent); flex: none; width: 16px; height: 16px; }
.perf-btn-label { display: none; }
.perf-btn:active { transform: scale(.97); }
.perf-btn:hover, .perf-btn[aria-expanded="true"] { border-color: rgba(232, 148, 58, .7); background: linear-gradient(180deg, rgba(52, 38, 30, .92), rgba(26, 19, 18, .92)); }
.perf-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.perf.is-saving .perf-btn { border-color: rgba(152, 192, 60, .6); }
.perf.is-saving .perf-btn svg { color: var(--green); }
.perf-menu {
  position: absolute; top: 40px; right: 0;
  width: 316px; padding: 14px;
  border: 1px solid rgba(255,255,255,.12); border-radius: 12px;
  background: rgba(20, 16, 18, .94);
  box-shadow: 0 16px 40px rgba(0,0,0,.5);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.perf-title { margin: 0 0 4px; font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif; font-size: .95rem; font-weight: 400; letter-spacing: .1em; text-transform: uppercase; }
.perf-head { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; margin: 0 0 4px; }
.perf-head .perf-title { margin: 0; }
.perf-badge { padding: 3px 8px 2px; border-radius: 999px; color: #17120f; background: var(--green); font: 800 .58rem/1.2 "Segoe UI", Roboto, Helvetica, Arial, sans-serif; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.perf-hint { margin: 0 0 12px; color: var(--muted); font-size: .76rem; line-height: 1.4; }
.perf-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; max-height: min(60vh, 340px); padding: 2px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
@media (max-width: 380px) { .perf-menu { width: min(316px, calc(100vw - 20px)); } }
.perf-opt {
  position: relative; display: grid; place-items: center; gap: 2px;
  aspect-ratio: 16 / 10; padding: 0; overflow: hidden;
  border: 2px solid transparent; border-radius: 8px;
  color: var(--text); background: #17120f;
  font: 700 .7rem/1 "Segoe UI", Roboto, Helvetica, Arial, sans-serif; letter-spacing: .08em; text-transform: uppercase;
  cursor: pointer;
  transition: border-color .15s ease, transform .15s ease;
}
.perf-opt:hover { transform: scale(1.03); }
.perf-opt[aria-pressed="true"] { border-color: var(--accent); }
.perf-opt img { display: block; width: 100%; height: 100%; object-fit: cover; -webkit-user-drag: none; user-select: none; }
.perf-video { align-content: center; justify-items: center; }
.perf-img-hint { margin: 10px 0 6px; font-size: .7rem; text-align: center; }
.perf-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.perf-add { flex: 1 1 auto; padding: 9px 10px; border: 1px dashed rgba(255,255,255,.3); border-radius: 8px; color: var(--text); background: transparent; font: 700 .7rem/1.2 "Segoe UI", Roboto, Helvetica, Arial, sans-serif; letter-spacing: .06em; cursor: pointer; transition: border-color .15s ease, background .15s ease; }
.perf-add:hover { border-color: var(--accent); background: rgba(255,255,255,.05); }
.perf-del { flex: 0 1 auto; border-style: solid; border-color: rgba(255,255,255,.14); color: var(--muted); }
.perf-opt[hidden], .perf-add[hidden] { display: none; }
.contact { position: fixed; top: 12px; left: 12px; z-index: 5; }
.contact-menu { left: 0; right: auto; width: 300px; padding: 14px 6px 6px; border-radius: 10px; }
.contact-menu .perf-title { margin: 0 0 2px 12px; color: var(--accent); font-size: .9rem; }
.contact-list { display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; }
.contact-row { display: flex; align-items: center; min-width: 0; border-top: 1px solid rgba(255,255,255,.08); }
.contact-icon { flex: none; display: grid; place-items: center; width: 22px; height: 22px; margin-left: 12px; }
.contact-icon img { display: block; width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.contact-info { flex: 1; min-width: 0; display: flex; }
.contact-value { flex: 1; display: flex; align-items: center; gap: 10px; max-width: 100%; margin: 0; padding: 12px 12px 12px 10px; border: 0; overflow: hidden; color: var(--text); background: none; font: 600 .9rem/1.2 "Segoe UI", Roboto, Helvetica, Arial, sans-serif; text-align: left; text-overflow: ellipsis; white-space: nowrap; cursor: pointer; transition: background .15s ease, color .15s ease; }
.contact-row:hover { background: rgba(255,255,255,.06); border-radius: 6px; }
.contact-value.done { color: var(--green); }
.contact-value:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
@media (max-width: 380px) { .contact-menu { width: min(300px, calc(100vw - 20px)); } }
@media (max-width: 800px) { .perf { top: 10px; right: 10px; } .contact { top: 10px; left: 10px; } .perf-btn { width: 34px; height: 34px; padding: 0; justify-content: center; } .perf-btn-label { display: none; } }
@media (max-width: 380px) { .contact-menu { width: min(340px, calc(100vw - 20px)); } }

.player {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  grid-template-areas: "wheel panel" "status status";
  align-items: center;
  column-gap: 52px;
  width: min(100%, 960px);
  padding: 44px 52px 18px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  background: rgba(20, 16, 18, .88);
  box-shadow: 0 22px 60px rgba(0,0,0,.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.wheel { grid-area: wheel; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.wheel-ring { position: relative; width: 230px; height: 230px; border-radius: 50%; transform: translate(var(--dx, 0px), var(--dy, 0px)); }
.wheel-ring::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg,
    var(--red) 0 58deg, transparent 58deg 62deg,
    var(--green) 62deg 178deg, transparent 178deg 182deg,
    var(--orange) 182deg 298deg, transparent 298deg 302deg,
    var(--red) 302deg 360deg);
  transform: rotate(var(--ring, 0deg));
  will-change: transform;
}
.logo {
  position: absolute;
  inset: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border-radius: 50%;
  background: #17120f;
  overflow: hidden;
}
picture { display: contents; }
.logo img { display: block; width: 54%; height: auto; filter: drop-shadow(0 6px 12px rgba(0,0,0,.5)); }
.logo-fm { padding: 3px 11px 2px; margin-top: 2px; border: 2px solid var(--accent); border-radius: 5px; color: var(--accent); font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif; font-size: 1.05rem; line-height: 1; letter-spacing: 0; }

.live {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--muted);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: .95rem;
  font-weight: 400;
  letter-spacing: .12em;
  white-space: nowrap;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: #7d766d; }
.player.is-playing .live { color: var(--text); }
.player.is-playing .dot { background: var(--red); }

.panel { grid-area: panel; min-width: 0; display: flex; flex-direction: column; gap: 30px; }
.station-name { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.now { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.track-copy { display: flex; flex-direction: column; gap: 10px; min-height: 7.4rem; justify-content: flex-end; }
.now-title, .now-artist { overflow-wrap: break-word; text-wrap: balance; transition: opacity .25s ease; }
.now-title { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font-size: clamp(1.7rem, 3.2vw, 2.5rem); line-height: 1.16; padding-bottom: .16em; margin-bottom: -.16em; font-weight: 800; letter-spacing: -.025em; }
.now-artist { color: #cfc6ba; font-size: 1.1rem; }
.now-title.fading, .now-artist.fading { opacity: 0; }
.now-title.idle { font-size: clamp(1.25rem, 2.3vw, 1.7rem); line-height: 1.22; letter-spacing: -.01em; }
.demo-btn { display: inline-grid; place-items: center; width: 26px; height: 26px; margin-left: 4px; border-radius: 50%; background: var(--accent); color: #17120f; vertical-align: middle; pointer-events: none; user-select: none; }

.timeline { display: flex; flex-direction: column; gap: 9px; }
.progress-track { height: 4px; overflow: hidden; background: rgba(255,255,255,.16); }
.progress-fill { display: block; width: 0; height: 100%; background: var(--accent); transition: width .4s linear; }
.next { display: flex; align-items: baseline; gap: 7px; min-width: 0; margin: 0; font-size: .95rem; }
.next[hidden] { display: flex !important; visibility: hidden; }
.next-label { flex: none; color: var(--muted); }
.next-text { min-width: 0; overflow: hidden; color: var(--text); text-overflow: ellipsis; white-space: nowrap; }
.timeline-times { display: flex; justify-content: space-between; color: var(--muted); font-size: .74rem; font-variant-numeric: tabular-nums; }

.controls { display: flex; align-items: center; gap: 30px; padding-top: 24px; border-top: 1px solid var(--line); }
.transport { display: flex; align-items: center; gap: 16px; flex: none; }
.play {
  width: 64px; height: 64px; flex: none;
  display: grid; place-items: center; padding: 0;
  border: 0; border-radius: 50%;
  color: #17120f;
  background: var(--accent);
  cursor: pointer;
  transition: background .15s ease, transform .15s ease;
}
.play:hover { background: #f2a853; }
.play:active { transform: scale(.96); }
.play:disabled { cursor: wait; opacity: .65; }
.play .i-pause { display: none; }
.play.on .i-play { display: none; }
.play.on .i-pause { display: block; }
.play-caption { font-family: "Archivo Black", "Arial Black", Arial, sans-serif; font-size: .85rem; font-weight: 400; letter-spacing: .1em; }

.volume { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.volume-heading { display: flex; justify-content: space-between; color: var(--muted); font-size: .66rem; font-weight: 700; letter-spacing: .16em; }
.volume-num { display: inline-flex; align-items: baseline; gap: 1px; color: var(--text); letter-spacing: 0; }
.volume .volume-num input { width: auto; min-width: 1ch; height: auto; margin: 0; padding: 0 1px 1px; border: 0; border-bottom: 1px dashed rgba(255,255,255,.35); border-radius: 0; color: inherit; background: transparent; font: inherit; font-variant-numeric: tabular-nums; text-align: right; cursor: text; touch-action: manipulation; -webkit-appearance: none; appearance: none; }
.volume .volume-num input:hover { color: var(--accent); border-bottom-color: var(--accent); }
.volume .volume-num input:focus { outline: none; color: var(--accent); border-bottom: 1px solid var(--accent); }
.volume input {
  --fill: 50%;
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 22px; margin: -6px 0; padding: 0;
  background: transparent; cursor: pointer; touch-action: none;
}
.volume input::-webkit-slider-runnable-track {
  height: 6px; border-radius: 999px;
  background: linear-gradient(to right, var(--accent) var(--fill), rgba(255,255,255,.16) var(--fill));
}
.volume input::-moz-range-track {
  height: 6px; border-radius: 999px;
  background: linear-gradient(to right, var(--accent) var(--fill), rgba(255,255,255,.16) var(--fill));
}
.volume input::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 16px; height: 16px; margin-top: -5px;
  border: 3px solid #17120f; border-radius: 50%;
  background: var(--text);
  box-shadow: 0 0 0 2px var(--accent), 0 2px 8px rgba(0,0,0,.5);
  transition: transform .15s ease, box-shadow .15s ease;
}
.volume input::-moz-range-thumb {
  box-sizing: border-box;
  width: 16px; height: 16px;
  border: 3px solid #17120f; border-radius: 50%;
  background: var(--text);
  box-shadow: 0 0 0 2px var(--accent), 0 2px 8px rgba(0,0,0,.5);
  transition: transform .15s ease, box-shadow .15s ease;
}
.volume input:hover::-webkit-slider-thumb, .volume input:focus-visible::-webkit-slider-thumb { transform: scale(1.2); box-shadow: 0 0 0 2px var(--accent), 0 0 0 7px rgba(232, 148, 58, .22), 0 2px 8px rgba(0,0,0,.5); }
.volume input:hover::-moz-range-thumb, .volume input:focus-visible::-moz-range-thumb { transform: scale(1.2); box-shadow: 0 0 0 2px var(--accent), 0 0 0 7px rgba(232, 148, 58, .22), 0 2px 8px rgba(0,0,0,.5); }
.volume input:active::-webkit-slider-thumb { transform: scale(1.1); }
.volume input:active::-moz-range-thumb { transform: scale(1.1); }
.volume input:focus-visible { outline: none; }
button:focus-visible, input:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

.program-time { display: flex; justify-content: space-between; color: var(--muted); font-size: .66rem; letter-spacing: .1em; font-variant-numeric: tabular-nums; }
.program-time b { color: var(--text); font-weight: 600; letter-spacing: 0; }
.time-separator { color: var(--muted); }

.status { grid-area: status; min-height: 1em; margin: 14px 0 0; color: var(--muted); text-align: center; font-size: .76rem; }
.status.error { color: #ffaaa3; }
footer { position: fixed; bottom: 8px; left: 0; right: 0; z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; font-size: .7rem; opacity: .6; pointer-events: none; }


.cover { position: absolute; top: 24px; right: 52px; z-index: 2; width: 140px; height: 140px; overflow: hidden; border-radius: 8px; background: #17120f; box-shadow: 0 10px 28px rgba(0,0,0,.5); opacity: 0; pointer-events: none; transition: opacity .4s ease; }
.cover.show { opacity: 1; pointer-events: none; transition: opacity .4s ease, transform .15s ease, box-shadow .15s ease; }
.cover.show.linked { pointer-events: auto; cursor: pointer; }
.cover.show.linked:hover, .cover.show.linked:focus-visible { transform: scale(1.03); box-shadow: 0 12px 32px rgba(0,0,0,.6), 0 0 0 2px var(--accent); }
.cover img { display: block; width: 100%; height: 100%; object-fit: cover; -webkit-user-drag: none; user-select: none; }
.player.has-cover .track-copy { padding-right: 160px; }
.mobile-hint { display: none; }

.logo img, .cameo { -webkit-user-drag: none; user-select: none; -webkit-user-select: none; pointer-events: none; }

.cameo { position: absolute; left: 16px; bottom: -1px; z-index: 3; height: 118px; width: auto; pointer-events: none; user-select: none; filter: drop-shadow(0 4px 10px rgba(0,0,0,.5)); }
@media (max-width: 800px) { .cameo { display: none; } }

@media (max-width: 800px) {
  body { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 64px 14px 18px; }
  .player {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas: "wheel cover" "panel panel" "status status";
    column-gap: 14px; row-gap: 20px; width: 100%; padding: 24px 20px 22px;
  }
  .player:not(.has-cover) .wheel { grid-column: 1 / -1; }
  .wheel { gap: 14px; }
  .wheel-ring { width: 150px; height: 150px; }
  .logo { inset: 5px; }
  .logo-fm { font-size: .8rem; padding: 2px 9px 1px; }
    .cover { display: none; position: relative; top: auto; right: auto; grid-area: cover; justify-self: center; align-self: center; width: 100%; max-width: 156px; height: auto; aspect-ratio: 1; }
  .player.has-cover .cover { display: block; }
  .player.has-cover .track-copy { padding-right: 0; }
  .panel { gap: 18px; }
  .now { gap: 16px; }
  .track-copy { min-height: 0; gap: 6px; }
  .now-title { font-size: clamp(1.35rem, 6.4vw, 1.8rem); }
  .now-title.idle { font-size: clamp(1.15rem, 5.4vw, 1.45rem); }
  .now-artist { font-size: 1rem; }
  .next { font-size: .85rem; }
  .controls { gap: 18px; padding-top: 18px; }
  .play { width: 56px; height: 56px; }
  .status { margin: 0; }
  .status:empty { display: none; }
  .mobile-hint { display: block; position: fixed; left: 50%; bottom: 16px; z-index: 20; width: max-content; max-width: calc(100vw - 32px); margin: 0; padding: 10px 16px; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; color: var(--text); background: rgba(20, 16, 18, .94); box-shadow: 0 8px 24px rgba(0,0,0,.5); font-size: .75rem; line-height: 1.3; text-align: center; opacity: 0; visibility: hidden; transform: translate(-50%, 12px); transition: opacity .35s ease, transform .35s ease, visibility .35s; }
  .mobile-hint.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
  footer { position: static; width: 100%; padding: 0 6px; font-size: .64rem; opacity: .8; text-shadow: 0 1px 3px rgba(0,0,0,.9); }
}
@media (max-width: 380px) {
  .player { padding-right: 14px; padding-left: 14px; column-gap: 10px; }
  .wheel-ring { width: 136px; height: 136px; }
  .play-caption { display: none; }
  .controls { gap: 14px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }

img { -webkit-user-drag: none; user-select: none; -webkit-touch-callout: none; pointer-events: none; }
.perf-opt img { pointer-events: none; }

.cover-menu { position: absolute; z-index: 6; min-width: 190px; padding: 6px; border: 1px solid rgba(255,255,255,.12); border-radius: 10px; background: rgba(20, 16, 18, .96); box-shadow: 0 16px 40px rgba(0,0,0,.55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.cover-menu-title { margin: 0; padding: 8px 10px 6px; color: var(--accent); font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }
.cover-menu-item { display: flex; align-items: center; gap: 10px; padding: 10px; border-top: 1px solid rgba(255,255,255,.07); border-radius: 6px; color: var(--text); font: 600 .88rem/1.2 "Segoe UI", Roboto, Helvetica, Arial, sans-serif; text-decoration: none; transition: background .15s ease; }
.cover-menu-item:hover, .cover-menu-item:focus-visible { background: rgba(255,255,255,.08); outline: none; }
.cover-menu-item img { flex: none; width: 20px; height: 20px; object-fit: contain; pointer-events: none; -webkit-user-drag: none; }

.history { position: relative; z-index: 5; display: flex; gap: 10px; }
#shareBtn .i-check { display: none; }
#shareBtn.done .i-share { display: none; }
#shareBtn.done .i-check { display: block; }
#shareBtn.done { color: #7ddc8a; border-color: #7ddc8a; }
.history-menu { top: auto; bottom: calc(100% + 10px); left: 50%; right: auto; transform: translateX(-50%); width: 410px; padding: 14px 6px 6px; border-radius: 10px; }
.history-menu .perf-title { margin: 0 0 8px 12px; color: var(--accent); font-size: .9rem; }
.history-list { display: flex; flex-direction: column; max-height: min(52vh, 400px); margin: 0; padding: 0; overflow-y: auto; list-style: none; overscroll-behavior: contain; }
.history-row { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-top: 1px solid rgba(255,255,255,.08); border-radius: 6px; }
.history-row:hover { background: rgba(255,255,255,.06); }
.history-row.is-now .history-title { color: var(--accent); }
.history-cover { flex: none; width: 40px; height: 40px; border-radius: 6px; object-fit: cover; background: #17120f url("assets/icons/icon-192.png") center / cover no-repeat; }
.history-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.history-title { overflow: hidden; font-size: .86rem; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.history-meta { display: flex; min-width: 0; color: var(--muted); font-size: .72rem; white-space: nowrap; }
.history-artist { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.history-time { flex: none; white-space: nowrap; }
.history-links { flex: none; display: flex; gap: 6px; }
.history-link { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 6px; transition: background .15s ease, transform .15s ease; }
.history-link:hover, .history-link:focus-visible { background: rgba(255,255,255,.12); transform: scale(1.1); outline: none; }
.history-link img { width: 18px; height: 18px; object-fit: contain; }
.history-empty { padding: 14px 12px 12px; color: var(--muted); font-size: .85rem; line-height: 1.4; }
@media (max-width: 420px) { .history-menu { position: fixed; top: 54px; bottom: auto; left: 10px; right: 10px; width: auto; transform: none; } }

.share-menu { top: auto; bottom: calc(100% + 10px); left: 50%; right: auto; transform: translateX(-50%); width: 220px; padding: 6px; display: flex; flex-direction: column; }
.share-menu[hidden] { display: none; }
.share-item { display: block; padding: 10px 12px; border: 0; border-radius: 6px; background: none; color: var(--text); font: inherit; font-size: .9rem; text-align: left; text-decoration: none; cursor: pointer; }
.share-item:hover, .share-item:focus-visible { background: rgba(255,255,255,.1); outline: none; }

.contact-hint { margin: 0 0 10px 12px; color: var(--muted); font-size: .76rem; }
.contact-hint::before { content: ""; display: inline-block; width: 11px; height: 11px; margin-right: 6px; vertical-align: -1px; background: currentColor; -webkit-mask: var(--copy-icon) center / contain no-repeat; mask: var(--copy-icon) center / contain no-repeat; --copy-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='9' y='9' width='12' height='12' rx='2'/%3E%3Cpath d='M5 15V5a2 2 0 0 1 2-2h10'/%3E%3C/svg%3E"); }

#fullscreenBtn .i-compress { display: none; }
#fullscreenBtn.on .i-expand { display: none; }
#fullscreenBtn.on .i-compress { display: block; }

.is-fullscreen .contact, .is-fullscreen .perf, .is-fullscreen footer, .is-fullscreen .mobile-hint { display: none !important; }
.is-fullscreen .history .perf-btn { opacity: .3; transition: opacity .2s ease; }
.is-fullscreen .history:hover .perf-btn, .is-fullscreen .history:focus-within .perf-btn { opacity: 1; }

.is-fullscreen .wheel-ring { touch-action: none; cursor: grab; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.is-fullscreen .wheel-ring.moved { z-index: 8; }
.is-fullscreen .wheel-ring.grabbing { cursor: grabbing; }
.is-fullscreen .wheel-ring::after { content: ""; position: absolute; inset: -26px; border-radius: 50%; }

/* First screen stays exactly as before; SEO content sits below it */
body { display: block; place-items: normal; padding: 0; }
.screen { position: relative; min-height: 100vh; display: grid; place-items: center; padding: 28px 24px 58px; }
footer { position: absolute; }
.about { position: relative; z-index: 2; width: min(100% - 48px, 960px); margin: 0 auto; padding: 32px 52px; border: 1px solid rgba(255,255,255,.12); border-radius: 14px; background: rgba(20, 16, 18, .88); box-shadow: 0 22px 60px rgba(0,0,0,.45); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); color: #cfc6bb; font-size: .95rem; line-height: 1.6; }
.about h2 { margin: 28px 0 8px; color: var(--text); font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif; font-size: 1.3rem; font-weight: 400; letter-spacing: .04em; text-transform: uppercase; }
.about h2:first-child { margin-top: 0; }
.about h3 { margin: 18px 0 4px; color: var(--text); font-size: 1rem; }
.about p { margin: 0 0 10px; }
.tracklist { columns: 3 240px; column-gap: 28px; margin: 12px 0 0; padding: 0; list-style: none; }
.tracklist li { break-inside: avoid; overflow: hidden; padding: 4px 0; text-overflow: ellipsis; white-space: nowrap; border-bottom: 1px solid var(--line); color: var(--text); font-size: .9rem; }
.tracklist time { display: inline-block; min-width: 4.2em; color: var(--accent); font-variant-numeric: tabular-nums; }
@media (max-width: 800px) {
  body { display: block; place-items: normal; min-height: 0; padding: 0; }
  .screen { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 64px 14px 18px; }
  footer { position: static; }
  .about { width: calc(100% - 28px); padding: 24px 20px; }
}

/* Second screen: info panel centered in the viewport, scroll snaps to each screen (desktop) */
.screen2 { display: grid; place-items: center; min-height: 100vh; padding: 28px 0; }
@media (min-width: 801px) {
  html { scroll-snap-type: y mandatory; }
  .screen, .screen2 { scroll-snap-align: start; }
}
@media (max-width: 800px) { .screen2 { min-height: 0; padding: 0 0 28px; } }
.about { padding: 28px 40px; }
.about h2 { margin-top: 20px; }
.faq { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 10px; }
.faq > div { padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255,255,255,.03); }
.faq h3 { margin: 0 0 6px; font-size: .92rem; line-height: 1.35; }
.faq p { margin: 0; font-size: .88rem; line-height: 1.5; }
@media (max-width: 800px) { .about { padding: 24px 20px; } .faq { grid-template-columns: 1fr; } .tracklist li { white-space: normal; } }

.tracklist li { padding: 3px 0; line-height: 1.4; font-size: .86rem; }
.about h2 { margin: 16px 0 6px; font-size: 1.15rem; }
.about h2:first-child { margin-top: 0; }
.faq p { line-height: 1.45; }
.about h1 { margin: 0 0 6px; color: var(--text); font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif; font-size: 1.15rem; font-weight: 400; letter-spacing: .04em; text-transform: uppercase; }
/* Fullscreen (F11 or the fullscreen button): hide the scrollbar, scrolling still works */
html.is-fullscreen { scrollbar-width: none; }
html.is-fullscreen::-webkit-scrollbar { display: none; }
@media (display-mode: fullscreen) { html { scrollbar-width: none; } html::-webkit-scrollbar { display: none; } }
