/* Original NOW SPORTS palette and typefaces, sourced from nowsports.de. */
@font-face {
  font-family: "Anton";
  src: url("/assets/anton-regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/assets/inter-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/assets/inter-600.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}
:root {
  --navy: hsl(218 88% 10%);
  --cyan: hsl(191 96% 52%);
  --pink: hsl(327 96% 48%);
  --pink-action: hsl(327 96% 45%);
  --paper: hsl(195 45% 96%);
  --ink: hsl(215 50% 12%);
  --muted: hsl(215 15% 40%);
  --line: hsl(210 20% 88%);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  font-synthesis: none;
  line-height: 1.5;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 280px; }
[hidden] { display: none !important; }
button, input { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .45; }
button, input { -webkit-tap-highlight-color: transparent; }
button:focus-visible, input:focus-visible { outline: 3px solid var(--navy); outline-offset: 4px; }
.site-header { background: #fff; border-bottom: 3px solid var(--cyan); }
.brand { width: min(100%, 1080px); margin: 0 auto; padding: 20px 32px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand-logo { display: block; width: 222px; height: auto; max-width: 65%; }
.brand-detail { font-family: "Anton", "Inter", sans-serif; font-size: .875rem; font-weight: 400; letter-spacing: .09em; color: var(--navy); border-left: 2px solid var(--line); padding-left: 22px; white-space: nowrap; }
.shell { width: min(100%, 680px); margin: 0 auto; padding: clamp(24px, 4vh, 48px) 24px 24px; }
.card { padding: clamp(24px, 5vw, 40px); background: #fff; border-radius: 4px; border: 1px solid var(--line); border-top: 4px solid var(--navy); box-shadow: 0 14px 42px -24px #03143040; }
h1 { margin: 0; font-family: "Anton", "Inter", sans-serif; font-weight: 400; font-size: clamp(2rem, 5vw, 2.4rem); line-height: 1.2; letter-spacing: .015em; text-transform: uppercase; color: var(--navy); }
p { margin: 0; }
.eyebrow { margin-bottom: 8px; font-size: .875rem; letter-spacing: .13em; font-weight: 600; color: var(--muted); }
.intro { color: var(--muted); margin: 20px 0 28px; max-width: 44ch; }
.card-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.button { min-height: 48px; border: 1px solid transparent; border-radius: 4px; padding: 11px 18px; font-family: "Anton", "Inter", sans-serif; font-weight: 400; font-size: 1rem; letter-spacing: .045em; text-transform: uppercase; transition: background .12s, color .12s, border-color .12s; }
.primary { background: var(--pink-action); color: #fff; min-height: 56px; }
.primary:hover:not(:disabled) { background: hsl(327 96% 41%); }
.full-width { width: 100%; }
.quiet { font-family: "Inter", sans-serif; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--muted); background: transparent; font-size: .875rem; padding-inline: 10px; }
.quiet:hover:not(:disabled) { color: var(--navy); background: var(--paper); }
label { display: block; font-weight: 600; margin-bottom: 8px; }
input[type="password"] { width: 100%; min-height: 54px; border: 1px solid #9caab8; border-radius: 4px; padding: 12px 14px; margin-bottom: 18px; background: #fff; color: var(--ink); }
.playback-status { display: inline-flex; align-items: center; gap: 9px; margin-top: 22px; padding: 7px 11px; border: 1px solid var(--line); border-radius: 4px; font-size: .875rem; font-weight: 400; color: var(--muted); background: #fff; }
.status-dot { width: 8px; height: 8px; flex: 0 0 8px; border-radius: 50%; background: #798995; }
.playback-status[data-state="playing"] .status-dot { background: #26824f; }
.playback-status[data-state="waiting"] .status-dot { background: #a26400; }
.volume-readout { display: flex; align-items: baseline; justify-content: center; gap: 8px; margin-top: 20px; line-height: 1.1; font-variant-numeric: tabular-nums; color: var(--navy); }
#volume-value { font-family: "Anton", "Inter", sans-serif; font-size: clamp(5rem, 18vw, 7rem); font-weight: 400; letter-spacing: -.02em; }
.volume-unit { font-family: "Anton", "Inter", sans-serif; font-size: 2rem; font-weight: 400; color: var(--muted); }
.volume-description { margin-top: 6px; color: var(--muted); text-align: center; }
.volume-slider { display: block; width: 100%; height: 48px; margin: 22px 0 0; accent-color: var(--navy); cursor: pointer; touch-action: pan-y; }
.volume-slider:disabled { opacity: .4; cursor: not-allowed; }
.volume-slider::-webkit-slider-thumb { width: 28px; height: 28px; }
.volume-slider::-moz-range-thumb { width: 24px; height: 24px; border: 3px solid var(--cyan); border-radius: 50%; background: var(--navy); }
.range-labels { display: flex; justify-content: space-between; color: var(--muted); font-size: .875rem; margin-top: -2px; }
.volume-actions { display: grid; grid-template-columns: 1fr 1.65fr 1fr; gap: 12px; margin-top: 24px; }
.volume-actions .button { min-height: 60px; }
.step { background: #fff; border-color: #b8c4ce; color: var(--navy); font-family: "Inter", sans-serif; font-size: 1.5rem; font-weight: 600; letter-spacing: 0; }
.step span { font-size: 1.125rem; margin-left: 5px; }
.step:hover:not(:disabled) { border-color: var(--navy); background: var(--paper); }
.mute { background: var(--navy); color: #fff; }
.mute:hover:not(:disabled) { background: hsl(218 88% 18%); }
.mute[aria-pressed="true"] { background: var(--pink-action); color: #fff; }
.mute[aria-pressed="true"]:hover:not(:disabled) { background: hsl(327 96% 41%); }
.message { min-height: 1.5em; margin-top: 16px; font-size: .875rem; color: var(--muted); }
.message[data-kind="error"] { color: #a62e21; }
.message[data-kind="success"] { color: #267348; }
.save-message { text-align: center; margin-top: 18px; }
.control-note { border-top: 1px solid var(--line); padding-top: 18px; margin-top: 20px; text-align: center; color: var(--muted); font-size: .875rem; }
footer { text-align: center; margin-top: 24px; color: var(--muted); letter-spacing: .1em; font-size: .75rem; }
footer span { margin: 0 7px; }
.loading-card p { margin-top: 18px; color: var(--muted); }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
@media (max-width: 500px) {
  .brand { padding: 16px 20px; gap: 14px; }
  .brand-logo { width: 185px; }
  .brand-detail { max-width: 72px; padding-left: 14px; white-space: normal; font-size: .8rem; line-height: 1.5; }
  .shell { padding: 22px 16px; }
  .card { padding: 24px; }
  .card-heading { gap: 8px; }
  .volume-actions { gap: 8px; }
  .volume-actions .button { padding-inline: 8px; }
}
@media (max-width: 350px) {
  .brand-detail { display: none; }
  .brand-logo { max-width: 100%; }
  .card { padding: 18px; }
  .card-heading { align-items: flex-start; flex-wrap: wrap; }
  .quiet { padding-inline: 5px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
