:root { color-scheme: light dark; font-family: Inter, system-ui, sans-serif; font-size: 16px; color: var(--text); background: var(--bg); --bg: #fff; --text: #202320; --muted: #5e655f; --line: #d7dcd7; --active: #edf3ed; --accent: #2c5f3e }
@media (prefers-color-scheme: dark) {
  :root { --bg: #181b19; --text: #e9ede9; --muted: #adb5ad; --line: #414841; --active: #25392a; --accent: #a6d9af }
}
* { box-sizing: border-box }
[hidden] { display: none !important }
body { margin: 0 }
main { max-width: 680px; margin: 36px auto; padding: 0 20px }
h1 { font-size: 23px; line-height: 1.3; margin: 0 0 20px }
button, select, input { font: inherit; accent-color: var(--accent) }
button, select, summary { cursor: pointer }
button, select { border: 1px solid var(--line); color: inherit; background: var(--bg); border-radius: 4px }
button:focus-visible, select:focus-visible, input:focus-visible, summary:focus-visible, a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px }
.song, .transport { display: flex; align-items: center; gap: 12px }
.song { font-size: 14px }
.song select { min-width: 0; flex: 1; padding: 6px; height: 38px }
.transport { margin: 14px 0 }
#play { min-width: 64px; height: 36px; font-size: 14px }
#seek { flex: 1; min-width: 45px; margin: 0 }
#clock, .rate, td { font-variant-numeric: tabular-nums }
#clock { color: var(--muted); font-size: 13px; white-space: nowrap }
#local { display: block; margin-top: 12px; font-size: 14px }
#status { margin: 8px 0; color: var(--accent); font-size: 14px }
.hint, summary, details label, #route { color: var(--muted); font-size: 13px }
.list-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 18px 0 7px }
.hint { margin: 0 }
.list-head > span { flex: none; padding-right: 9px; color: var(--muted); font-size: 12px }
#versions { border-top: 1px solid var(--line) }
.version { width: 100%; display: grid; grid-template-columns: 24px 1fr auto; gap: 10px; align-items: center; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 8px 9px; min-height: 40px; text-align: left; font-size: 14px }
.version[aria-pressed="true"] { background: var(--active); box-shadow: inset 3px 0 var(--accent); font-weight: 650 }
kbd { font: 600 13px ui-monospace, monospace; text-align: center; color: var(--accent) }
.rate { color: var(--muted); font-size: 12px; font-weight: 400 }
details { margin-top: 15px }
summary { width: fit-content }
details label { display: inline-block; margin: 12px 0 6px }
.scroll { overflow-x: auto }
table { width: 100%; border-collapse: collapse; font-size: 12px; white-space: nowrap }
th, td { border-bottom: 1px solid var(--line); padding: 6px 5px; text-align: right }
th:first-child, td:first-child { text-align: left }
small { font-weight: 400 }
a { color: var(--accent) }
#route { margin: 9px 0 0 }
@media (max-width: 480px) {
  main { margin: 20px auto; padding: 0 14px }
  .transport, .song { gap: 8px }
  .version { padding-inline: 5px; gap: 5px }
}
