:root {
  color-scheme: light;
  --page: #f5f5ef;
  --ink: #1b2922;
  --muted: #4e6257;
  --line: #cfdbd2;
  --accent: #185641;
  font: 100%/1.45 system-ui, sans-serif;
  background: var(--page);
  color: var(--ink);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
main { width: min(100% - 32px, 34rem); margin: clamp(24px, 7vh, 72px) auto 32px; }
h1, h2, p { margin: 0; }
h1 { font-size: 1.05rem; font-weight: 650; margin: 0 0 16px 2px; }
.player { background: #e8f0e9; border: 1px solid var(--line); border-radius: 24px; padding: clamp(14px, 5vw, 28px); }
.track-top, .library-top, .times { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.track-top { min-height: 60px; }
.track-top h2 { font-size: clamp(1.9rem, 7vw, 2.85rem); letter-spacing: -.055em; line-height: 1.08; }
.speed { display: grid; gap: 2px; color: var(--muted); font-size: .875rem; }
button, select { font: inherit; color: inherit; }
button { cursor: pointer; touch-action: manipulation; }
button:disabled { cursor: default; opacity: .45; }
button:focus-visible, select:focus-visible, input:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
select { min-height: 44px; width: 82px; border: 1px solid var(--line); border-radius: 11px; padding: 0 7px; background: #f9fcf9; font-weight: 650; }
#seek { display: block; width: 100%; height: 36px; margin: 16px 0 0; accent-color: var(--accent); cursor: pointer; }
.times { color: var(--muted); font-size: .875rem; font-variant-numeric: tabular-nums; }
.controls { display: flex; justify-content: center; align-items: center; gap: clamp(3px, 2vw, 14px); margin-top: 16px; }
.controls button { border: 0; min-width: 44px; min-height: 44px; border-radius: 50%; }
.outer { background: transparent; font-size: 2rem; line-height: 1; }
.jump { background: #d9e7de; font-weight: 700; }
.controls .play { display: grid; place-items: center; width: 68px; height: 68px; background: var(--accent); color: white; }
.play:focus-visible { outline-offset: 4px; }
.play span { width: 0; height: 0; border-top: 11px solid transparent; border-bottom: 11px solid transparent; border-left: 17px solid currentColor; margin-left: 3px; }
.play[data-playing] span { width: 17px; height: 21px; border: 0; border-inline: 5px solid currentColor; margin: 0; }
.library { padding: 23px 2px 0; }
.library h2 { font-size: 1rem; }
#count { color: var(--muted); font-size: .875rem; }
.tickets { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 7px; margin-top: 11px; }
.tickets button { min-height: 46px; background: #fcfcf8; border: 1px solid var(--line); border-radius: 12px; font-weight: 650; font-variant-numeric: tabular-nums; }
.tickets button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: white; }
@media (hover: hover) { .tickets button:hover:not([aria-pressed="true"]), .outer:hover:not(:disabled) { background: #dde9e0; } }
#status { margin-top: 12px; font-size: .875rem; color: #752f1f; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
