/* The shared player (media-controls 1.1.0): the hub's palette, flat, nothing else of it. */
:root {
  color-scheme: dark;
  --ground: #111019;
  --card: #22202B;
  --rim: rgba(255, 255, 255, 0.07);
  --text: #F0EEF4;
  --muted: #AEABBA;
  --accent: #A995D6;
  --critical: #F2768C;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: var(--ground); color: var(--text); }
body {
  font: 400 14px/20px -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.stage { width: min(1120px, 100%); margin: 0 auto; padding: max(24px, env(safe-area-inset-top)) 20px 32px; }
.head { margin: 0 4px 14px; }
.brand { display: inline-block; font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); }
.title { margin: 4px 0 0; font-size: 20px; line-height: 26px; font-weight: 600; letter-spacing: -0.01em; overflow-wrap: anywhere; }
.meta { margin: 2px 0 0; font-size: 13px; line-height: 18px; color: var(--muted); }
.meta:empty { display: none; }
.release { margin: 4px 0 0; font-size: 12px; line-height: 16px; color: var(--muted); opacity: 0.75; overflow-wrap: anywhere; }
.release:empty { display: none; }
video[hidden] { display: none; }
.frame:has(video[hidden]) { display: none; }
.frame { overflow: hidden; border-radius: 18px; background: #000; box-shadow: inset 0 0 0 1px var(--rim); }
video { display: block; width: 100%; aspect-ratio: 16 / 9; max-height: calc(100vh - 160px); background: #000; }
.note { margin: 12px 4px 0; font-size: 13px; line-height: 18px; color: var(--muted); }
.note[data-tone="bad"] { color: var(--critical); }
.home { max-width: 520px; padding-top: max(18vh, 48px); text-align: center; }
.home-icon { display: block; margin: 0 auto 16px; border-radius: 14px; }
.home .meta { margin-top: 8px; font-size: 14px; line-height: 20px; }
@media (max-width: 639px) {
  .stage { padding: max(16px, env(safe-area-inset-top)) 0 24px; }
  .head, .note { margin-left: 16px; margin-right: 16px; }
  .home { padding-left: 16px; padding-right: 16px; }
  .title { font-size: 17px; line-height: 22px; }
  .frame { border-radius: 0; }
}
