body.ost {
  min-height: 100vh;
  background:
    radial-gradient(1000px 420px at 0% -10%, rgba(212, 179, 106, 0.08), transparent 55%),
    var(--sea);
}

body.ost .topbar {
  position: sticky;
  top: 0;
  z-index: 5;
}

body.ost .brand {
  text-decoration: none;
  white-space: nowrap;
}

body.ost .top-actions { margin-left: auto; }

.ost-shell {
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  gap: 28px;
  max-width: 1080px;
  margin: 0 auto;
  padding: 22px 20px 48px;
}

.ost-player {
  position: sticky;
  top: 68px;
  align-self: start;
}

.ost-cover-wrap {
  background: #0c1014;
  border: 1px solid var(--line);
  margin-bottom: 14px;
}

.ost-cover-wrap img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.ost-kicker {
  margin: 0;
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 0.06em;
}

.ost-player h1 {
  margin: 4px 0 0;
  font-family: "Cinzel", "Noto Serif KR", serif;
  font-size: 26px;
  font-weight: 600;
  line-height: 1.25;
}

.ost-place {
  margin: 4px 0 12px;
  color: var(--muted);
}

.ost-times {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

body.ost input[type="range"] {
  width: 100%;
  margin: 0;
  padding: 0;
  height: 22px;
  background: transparent;
  border: 0;
  accent-color: var(--gold);
}

.ost-transport {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 12px 0 8px;
}

button.ost-icon {
  width: 44px;
  height: 44px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

button.ost-play {
  width: 56px;
  height: 56px;
}

.ost-icon svg {
  width: 22px;
  height: 22px;
  display: block;
}

.ost-modes,
.ost-pack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.ost-volume {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
}

body.ost button.ghost.on,
body.ost .ost-pack button.on,
body.ost button.ost-chip.on {
  color: #1a1208;
  background: linear-gradient(#e3c57a, #b8903a);
  border-color: var(--gold-deep);
}

.ost-pack button {
  background: transparent;
  color: var(--gold);
  border-color: var(--line);
}

.ost-lead {
  margin: 0 0 12px;
  color: var(--muted);
}

.ost-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

button.ost-chip {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 6px 10px;
}

.ost-search { display: block; margin-bottom: 12px; }

.ost-list-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.ost-list-head h2 {
  margin: 0;
  font-size: 20px;
}

.ost-list-meta {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 13px;
}

button.ost-track {
  display: grid;
  grid-template-columns: 28px 84px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  width: 100%;
  text-align: left;
  background: transparent;
  color: var(--ink);
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 8px 4px;
  font-weight: 400;
  letter-spacing: 0;
}

button.ost-track:hover {
  filter: none;
  background: rgba(212, 179, 106, 0.06);
}

button.ost-track.on {
  background: rgba(212, 179, 106, 0.12);
}

button.ost-track .num {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  font-size: 13px;
}

button.ost-track img {
  width: 84px;
  height: 56px;
  object-fit: cover;
  display: block;
  background: #0c1014;
}

button.ost-track .name {
  display: block;
  font-weight: 600;
}

button.ost-track .sub {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

button.ost-track.on .name { color: var(--gold); }

.ost-empty {
  color: var(--muted);
  padding: 16px 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

body.ost button:focus-visible,
body.ost a:focus-visible,
body.ost input:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

@media (max-width: 800px) {
  .ost-shell {
    grid-template-columns: 1fr;
    padding: 12px 12px 36px;
    gap: 18px;
  }
  .ost-player { position: static; }
  .ost-player h1 { font-size: 22px; }
  body.ost .brand { font-size: 14px; }
}
