/* ==========================================================================
   SIGNAL — M3U8 Player
   Design tokens
   ========================================================================== */

:root {
  /* Surfaces */
  --bg: #05070d;
  --bg-soft: #080b14;
  --panel: #111827;
  --panel-glass: rgba(17, 24, 39, 0.55);
  --panel-glass-strong: rgba(17, 24, 39, 0.78);
  --border-glass: rgba(255, 255, 255, 0.07);
  --border-glass-strong: rgba(255, 255, 255, 0.14);

  /* Accents */
  --cyan: #00f0ff;
  --cyan-dim: rgba(0, 240, 255, 0.35);
  --blue: #2979ff;
  --purple: #a855f7;
  --pink: #ff4fd8;

  /* Semantic */
  --success: #29ffb0;
  --warning: #ffb020;
  --error: #ff3b5c;

  /* Text */
  --text-primary: #e9edf6;
  --text-secondary: #8b95ab;
  --text-tertiary: #57607a;

  /* Radii */
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 9px;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 0.84, 0.44, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  /* Type */
  --font-display: 'Orbitron', sans-serif;
  --font-label: 'Chakra Petch', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --font-body: 'Inter', sans-serif;
}

/* ==========================================================================
   Reset & base
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--cyan);
  color: #04101a;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-soft);
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--cyan), var(--purple));
  border-radius: 10px;
  border: 2px solid var(--bg-soft);
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

button {
  font-family: inherit;
  cursor: pointer;
  background: none;
  border: none;
  color: inherit;
}

input {
  font-family: inherit;
  color: inherit;
}

ul {
  list-style: none;
}

svg {
  display: block;
  flex-shrink: 0;
}

kbd {
  font-family: var(--font-mono);
  background: var(--panel);
  border: 1px solid var(--border-glass-strong);
  border-radius: 5px;
  padding: 2px 6px;
  font-size: 11px;
  color: var(--cyan);
}

/* ==========================================================================
   Ambient background
   ========================================================================== */

.bg-field {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: var(--bg);
}

.bg-grid {
  position: absolute;
  inset: -10%;
  background-image:
    linear-gradient(rgba(0, 240, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 240, 255, 0.05) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse 70% 55% at 50% 20%, black 10%, transparent 75%);
  animation: gridDrift 40s linear infinite;
}

@keyframes gridDrift {
  0% { transform: translate(0, 0); }
  100% { transform: translate(46px, 46px); }
}

.bg-glow {
  position: absolute;
  width: 60vw;
  height: 60vw;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.16;
  will-change: transform;
}
.bg-glow--cyan {
  background: var(--cyan);
  top: -20%;
  left: -10%;
  animation: floatA 26s ease-in-out infinite;
}
.bg-glow--purple {
  background: var(--purple);
  bottom: -25%;
  right: -10%;
  animation: floatB 30s ease-in-out infinite;
}

@keyframes floatA {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(6vw, 8vh) scale(1.12); }
}
@keyframes floatB {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-5vw, -6vh) scale(1.08); }
}

.bg-noise {
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='90'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ==========================================================================
   Layout shell
   ========================================================================== */

.app-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 24px 40px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-height: 100vh;
}

.glass-panel {
  background: var(--panel-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.03) inset, 0 20px 50px -30px rgba(0, 0, 0, 0.7);
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 4px 2px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand__mark {
  filter: drop-shadow(0 0 10px var(--cyan-dim));
}

.brand__title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.14em;
  background: linear-gradient(90deg, var(--cyan), var(--purple));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand__subtitle {
  font-family: var(--font-label);
  font-size: 12px;
  color: var(--text-secondary);
  letter-spacing: 0.03em;
  margin-top: 2px;
}

.header-status {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-label);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
  background: var(--panel-glass);
  border: 1px solid var(--border-glass);
  padding: 8px 14px;
  border-radius: 999px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-tertiary);
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  transition: background 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.status-dot--idle { background: var(--text-tertiary); }
.status-dot--connecting {
  background: var(--warning);
  box-shadow: 0 0 10px var(--warning);
  animation: pulseDot 1s ease-in-out infinite;
}
.status-dot--live {
  background: var(--success);
  box-shadow: 0 0 10px var(--success);
  animation: pulseDot 2s ease-in-out infinite;
}
.status-dot--error {
  background: var(--error);
  box-shadow: 0 0 10px var(--error);
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.82); }
}

/* ==========================================================================
   Control deck
   ========================================================================== */

.control-deck {
  padding: 22px 24px 20px;
}

.control-deck__label {
  display: block;
  font-family: var(--font-label);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}

.label-eyebrow {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--cyan);
  margin-bottom: 4px;
}

.label-hint {
  color: var(--text-tertiary);
  font-weight: 500;
  font-size: 12px;
}

.input-row {
  display: flex;
  gap: 10px;
  align-items: stretch;
}

.url-field {
  position: relative;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  background: rgba(5, 7, 13, 0.65);
  border: 1px solid var(--border-glass-strong);
  border-radius: var(--radius-md);
  padding: 0 10px 0 14px;
  transition: border-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}

.url-field:focus-within {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 240, 255, 0.12), 0 0 18px rgba(0, 240, 255, 0.1);
}

.url-field--invalid {
  border-color: var(--error);
  box-shadow: 0 0 0 3px rgba(255, 59, 92, 0.12);
  animation: shake 0.32s var(--ease-in-out);
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}

.url-field__icon {
  color: var(--text-tertiary);
  margin-right: 10px;
}

.url-field__input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font-mono);
  font-size: 13.5px;
  color: var(--text-primary);
  padding: 13px 0;
  min-width: 0;
}

.url-field__input::placeholder {
  color: var(--text-tertiary);
}

.url-field__clear {
  color: var(--text-tertiary);
  padding: 6px;
  border-radius: 50%;
  transition: color 0.15s, background 0.15s;
}
.url-field__clear:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
}

.icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
}

.field-error {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--error);
  min-height: 18px;
  margin-top: 8px;
  opacity: 0;
  transform: translateY(-2px);
  transition: opacity 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}
.field-error--visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: 0.02em;
  padding: 13px 20px;
  border-radius: var(--radius-md);
  white-space: nowrap;
  transition: transform 0.15s var(--ease-out), box-shadow 0.2s var(--ease-out), background 0.2s var(--ease-out), border-color 0.2s var(--ease-out);
}

.btn:active {
  transform: scale(0.97);
}

.btn--primary {
  background: linear-gradient(135deg, var(--cyan), var(--blue) 55%, var(--purple));
  color: #04101a;
  box-shadow: 0 0 0 rgba(0, 240, 255, 0);
}
.btn--primary:hover {
  box-shadow: 0 6px 24px -6px rgba(0, 240, 255, 0.55);
}
.btn--primary:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass-strong);
  color: var(--text-secondary);
}
.btn--ghost:hover {
  color: var(--text-primary);
  border-color: var(--cyan-dim);
  background: rgba(0, 240, 255, 0.05);
}

.btn--sm {
  padding: 8px 13px;
  font-size: 12px;
}

.btn__spinner {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid rgba(4, 16, 26, 0.35);
  border-top-color: #04101a;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transform: scale(0);
  animation: rippleAnim 0.6s var(--ease-out);
  pointer-events: none;
}

@keyframes rippleAnim {
  to {
    transform: scale(3.2);
    opacity: 0;
  }
}

/* ==========================================================================
   Stage / video
   ========================================================================== */

.stage {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.stage__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-glass);
  box-shadow: 0 30px 70px -35px rgba(0, 0, 0, 0.85);
}

.stage__video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
  display: block;
}

/* HUD corner brackets — signature element */
.hud-corner {
  position: absolute;
  width: 26px;
  height: 26px;
  border-color: var(--cyan-dim);
  border-style: solid;
  border-width: 0;
  opacity: 0.55;
  transition: border-color 0.4s var(--ease-out), opacity 0.4s var(--ease-out);
  z-index: 3;
  pointer-events: none;
}
.hud-corner--tl { top: 14px; left: 14px; border-top-width: 2px; border-left-width: 2px; border-radius: 4px 0 0 0; }
.hud-corner--tr { top: 14px; right: 14px; border-top-width: 2px; border-right-width: 2px; border-radius: 0 4px 0 0; }
.hud-corner--bl { bottom: 14px; left: 14px; border-bottom-width: 2px; border-left-width: 2px; border-radius: 0 0 0 4px; }
.hud-corner--br { bottom: 14px; right: 14px; border-bottom-width: 2px; border-right-width: 2px; border-radius: 0 0 4px 0; }

.hud-scanline {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  top: 0;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0;
  z-index: 3;
  pointer-events: none;
}

/* State-driven HUD behaviour */
.stage__frame[data-state="idle"] .hud-corner {
  border-color: rgba(255, 255, 255, 0.14);
  animation: idlePulse 3.6s ease-in-out infinite;
}
@keyframes idlePulse {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 0.7; }
}

.stage__frame[data-state="connecting"] .hud-corner {
  border-color: var(--warning);
  opacity: 0.85;
}
.stage__frame[data-state="connecting"] .hud-scanline {
  opacity: 0.8;
  animation: scan 1.6s linear infinite;
}
@keyframes scan {
  0% { top: 0; }
  100% { top: 100%; }
}

.stage__frame[data-state="live"] .hud-corner {
  border-color: var(--success);
  opacity: 0.85;
  box-shadow: 0 0 12px rgba(41, 255, 176, 0.35);
}

.stage__frame[data-state="error"] .hud-corner {
  border-color: var(--error);
  opacity: 1;
  animation: glitchPulse 0.4s steps(2) 3;
}
@keyframes glitchPulse {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(1px, -1px); }
}

.stage__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--text-tertiary);
  text-align: center;
  padding: 20px;
}
.stage__placeholder svg { color: var(--text-tertiary); margin-bottom: 4px; }
.stage__placeholder p {
  font-family: var(--font-label);
  font-size: 15px;
  color: var(--text-secondary);
}
.stage__placeholder span {
  font-size: 12.5px;
  color: var(--text-tertiary);
}

.stage__loading {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: rgba(5, 7, 13, 0.72);
  backdrop-filter: blur(6px);
  z-index: 4;
  animation: fadeIn 0.2s var(--ease-out);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.ring-spinner {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 3px solid rgba(0, 240, 255, 0.15);
  border-top-color: var(--cyan);
  border-right-color: var(--purple);
  animation: spin 0.9s linear infinite;
}

.stage__loading p {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--text-secondary);
  letter-spacing: 0.03em;
}

.stage__unlock {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(5, 7, 13, 0.55);
  z-index: 4;
}

/* Player controls bar */
.stage__controls {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  border-radius: var(--radius-md);
  background: rgba(8, 11, 20, 0.72);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(14px);
  z-index: 5;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}
.stage__frame:hover .stage__controls,
.stage__frame:focus-within .stage__controls,
.stage__controls--pinned {
  opacity: 1;
  transform: translateY(0);
}

.stage-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  transition: color 0.15s, background 0.15s;
}
.stage-btn:hover {
  color: var(--cyan);
  background: rgba(0, 240, 255, 0.08);
}
.stage-btn--label {
  padding: 7px 10px;
  font-family: var(--font-mono);
  font-size: 12px;
}

.volume-slider {
  width: 70px;
  accent-color: var(--cyan);
  cursor: pointer;
}

.live-chip {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--error);
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 59, 92, 0.1);
  border: 1px solid rgba(255, 59, 92, 0.35);
}
.live-chip__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--error);
  animation: pulseDot 1.4s ease-in-out infinite;
}

.quality-select {
  position: relative;
}
.quality-menu {
  position: absolute;
  bottom: calc(100% + 8px);
  right: 0;
  min-width: 120px;
  background: var(--panel-glass-strong);
  border: 1px solid var(--border-glass-strong);
  border-radius: var(--radius-sm);
  padding: 6px;
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.8);
}
.quality-menu li button {
  width: 100%;
  text-align: left;
  padding: 8px 10px;
  border-radius: 7px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--text-secondary);
}
.quality-menu li button:hover {
  background: rgba(0, 240, 255, 0.08);
  color: var(--text-primary);
}
.quality-menu li button[aria-selected="true"] {
  color: var(--cyan);
}

.stage__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 2px 4px;
}
.stage__meta-url {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-tertiary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ==========================================================================
   Recent streams
   ========================================================================== */

.recent {
  padding: 20px 22px 22px;
}

.recent__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.recent__header h2 {
  font-family: var(--font-label);
  font-size: 14px;
  letter-spacing: 0.03em;
  color: var(--text-primary);
}

.recent__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 240px;
  overflow-y: auto;
}

.recent__empty {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--text-tertiary);
  padding: 10px 2px;
}

.recent__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-glass);
  background: rgba(255, 255, 255, 0.015);
  transition: border-color 0.15s, background 0.15s;
}
.recent__item:hover {
  border-color: var(--cyan-dim);
  background: rgba(0, 240, 255, 0.04);
}

.recent__item-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.12), rgba(168, 85, 247, 0.12));
  color: var(--cyan);
  flex-shrink: 0;
}

.recent__item-btn {
  flex: 1;
  min-width: 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.recent__item-url {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.recent__item-time {
  font-size: 11px;
  color: var(--text-tertiary);
}

.recent__item-remove {
  padding: 6px;
  border-radius: 50%;
  color: var(--text-tertiary);
  flex-shrink: 0;
}
.recent__item-remove:hover {
  color: var(--error);
  background: rgba(255, 59, 92, 0.1);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 10px 4px 0;
  border-top: 1px solid var(--border-glass);
  margin-top: 6px;
}

.shortcuts {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 11.5px;
  color: var(--text-tertiary);
}
.shortcuts span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-credit {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-tertiary);
}

/* ==========================================================================
   Toasts
   ========================================================================== */

.toast-stack {
  position: fixed;
  bottom: 22px;
  right: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 999;
  max-width: min(340px, calc(100vw - 32px));
}

.toast {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 13px 14px;
  border-radius: var(--radius-md);
  background: var(--panel-glass-strong);
  border: 1px solid var(--border-glass-strong);
  backdrop-filter: blur(16px);
  box-shadow: 0 14px 34px -14px rgba(0, 0, 0, 0.7);
  font-size: 13px;
  animation: toastIn 0.28s var(--ease-out);
}
.toast--leaving {
  animation: toastOut 0.22s var(--ease-in-out) forwards;
}
@keyframes toastIn {
  from { opacity: 0; transform: translateX(24px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes toastOut {
  to { opacity: 0; transform: translateX(24px); }
}

.toast__icon { flex-shrink: 0; margin-top: 1px; }
.toast--success .toast__icon { color: var(--success); }
.toast--error .toast__icon { color: var(--error); }
.toast--info .toast__icon { color: var(--cyan); }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 760px) {
  .app-shell {
    padding: 18px 16px 28px;
    gap: 16px;
  }
  .input-row {
    flex-wrap: wrap;
  }
  .url-field {
    flex-basis: 100%;
  }
  .btn { flex: 1; justify-content: center; }
  .stage__controls {
    flex-wrap: wrap;
    row-gap: 8px;
  }
  .live-chip { margin-left: 0; order: 5; }
  .site-footer { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .brand__title { font-size: 18px; }
  .header-status { font-size: 11px; padding: 7px 11px; }
  .volume-slider { width: 50px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
