/* Radio L'incontro — interfaccia per lo staff (telefono, iPad, desktop)
   Palette del bar: espresso, crema, pistacchio, lampada rossa. Tema scuro. */
:root {
  /* Marchio L'incontro: marrone caffe #6F4323, accento caramello, logo chiaro su fondo scuro */
  --brand: #6F4323;
  --bg: #1E130C;
  --surface: #2E1D12;
  --surface-2: #3D2717;
  --surface-3: #4D311D;
  --line: #64432A;
  --text: #FFF6E8;
  --muted: #D9C3A8;
  --accent: #D98A3D;
  --accent-strong: #E8A05A;
  --accent-ink: #2A1607;
  --live: #E8503A;
  --danger: #FF9A8A;

  /* colori dei gruppi di generi (testo crema sopra: contrasto >= 4.5:1) */
  --g-decenni: #8A4F27;
  --g-generi: #6F4323;
  --g-italia: #5C6131;
  --g-atmosfera: #5A3A3E;

  --r-lg: 24px;
  --r-md: 16px;
  --r-sm: 12px;
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px;
  --font: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --t-fast: 150ms;
  --t-med: 250ms;
  --nav-h: 64px;
  --mini-h: 64px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.5 var(--font);
  -webkit-tap-highlight-color: transparent;
  -webkit-font-smoothing: antialiased;
  touch-action: manipulation;
}
img { display: block; max-width: 100%; }
button, input, output { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: var(--s4); top: -100px; z-index: 100; padding: var(--s2) var(--s4); background: var(--accent); color: var(--accent-ink); border-radius: var(--r-sm); font-weight: 600; }
.skip-link:focus { top: var(--s4); }
.ic { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ic-lg { width: 40px; height: 40px; stroke-width: 1.5; }

/* --- Pulsanti --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  min-height: 48px; padding: 0 var(--s5);
  border: 0; border-radius: 999px; font-weight: 600;
  transition: transform var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease), opacity var(--t-fast);
}
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .5; cursor: default; transform: none; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover:not(:disabled) { background: var(--accent-strong); }
.btn-secondary { background: var(--surface-3); color: var(--text); }
.btn-secondary:hover:not(:disabled) { background: var(--line); }
.btn-quiet { background: transparent; color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); }
.btn-quiet:hover { color: var(--text); }
.btn-wide { width: 100%; }
.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; flex: none;
  border: 0; border-radius: 999px; background: transparent; color: var(--muted);
  transition: background-color var(--t-fast), color var(--t-fast), transform var(--t-fast);
}
.icon-btn:hover:not(:disabled) { background: var(--surface-2); color: var(--text); }
.icon-btn:active:not(:disabled) { transform: scale(.94); }
.icon-btn:disabled { opacity: .35; cursor: default; }

/* --- Struttura (telefono per primo) --- */
.app { min-height: 100dvh; display: flex; flex-direction: column; }
.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: var(--s3);
  padding: max(env(safe-area-inset-top), var(--s3)) var(--s4) var(--s3);
  background: rgb(30 19 12 / .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.brand { display: flex; align-items: center; gap: var(--s3); margin-right: auto; min-width: 0; }
.brand-logo { height: 40px; width: auto; }
.brand-tag { padding: 3px 10px; border-radius: 999px; background: var(--brand); color: var(--text); font-size: .8125rem; font-weight: 600; letter-spacing: .02em; }
.status {
  display: inline-flex; align-items: center; gap: var(--s2); margin: 0;
  padding: 6px 12px; border-radius: 999px; background: var(--surface); color: var(--muted);
  font-size: .875rem; font-weight: 600; white-space: nowrap;
}
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.status.live { color: var(--text); }
.status.live .dot { background: var(--live); box-shadow: 0 0 0 4px rgb(232 80 58 / .2); }
.status.off .dot { background: var(--muted); }

/* In onda */
.player {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; gap: var(--s4);
  margin: 0 var(--s4) var(--s4); padding: var(--s5);
  border-radius: var(--r-lg); background: var(--surface);
}
.player-bg {
  position: absolute; inset: -40px; z-index: -1;
  background-size: cover; background-position: center;
  filter: blur(48px) saturate(1.2); opacity: .35;
  transition: opacity 600ms var(--ease);
}
.player-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(46 29 18 / .2), rgb(46 29 18 / .88)); }
.cover-wrap { width: min(100%, 360px); align-self: center; aspect-ratio: 1; }
.cover { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-md); background: var(--surface-2); box-shadow: 0 18px 40px rgb(0 0 0 / .45); }
.track { min-width: 0; }
.eyebrow { margin: 0 0 var(--s1); color: var(--muted); font-size: .8125rem; font-weight: 600; letter-spacing: .02em; }
.title {
  margin: 0; font-weight: 800; font-size: clamp(1.6rem, 6vw, 2.6rem); line-height: 1.05; letter-spacing: -.02em;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-wrap: balance;
}
.artist { margin: var(--s1) 0 0; color: var(--muted); font-size: 1.1rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.progress { height: 6px; border-radius: 3px; background: rgb(255 246 232 / .15); overflow: hidden; }
.progress span { display: block; height: 100%; width: 0; background: var(--text); border-radius: 3px; transition: width 1s linear; }
.times { display: flex; justify-content: space-between; margin-top: var(--s1); color: var(--muted); font-size: .8125rem; font-variant-numeric: tabular-nums; }
.controls { display: flex; align-items: center; gap: var(--s4); flex-wrap: wrap; }
.controls .btn { flex: none; }
.volume { flex: 1 1 160px; display: flex; align-items: center; gap: var(--s2); color: var(--muted); min-height: 48px; }
input[type="range"] { flex: 1; width: 100%; height: 32px; accent-color: var(--accent); cursor: pointer; }
.speaker-in { display: flex; align-items: center; gap: var(--s2); margin: 0; color: var(--muted); font-size: .9375rem; }
.speaker-in .ic { width: 18px; height: 18px; }

/* Contenuti */
.content { flex: 1; padding: 0 var(--s4) calc(var(--nav-h) + var(--mini-h) + var(--s5) + env(safe-area-inset-bottom)); outline: none; }
.search { position: relative; display: flex; align-items: center; margin-bottom: var(--s4); }
.search input {
  width: 100%; min-height: 52px; padding: 0 52px 0 48px;
  border: 1px solid transparent; border-radius: 999px;
  background: var(--text); color: var(--bg); font-size: 1.0625rem;
}
.search input::placeholder { color: #7A5A3E; }
.search input::-webkit-search-cancel-button { display: none; }
.search input:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.search-ic { position: absolute; left: 16px; color: #7A5A3E; pointer-events: none; }
.search .icon-btn { position: absolute; right: 4px; color: var(--bg); }
.search .icon-btn:hover { background: rgb(30 19 12 / .08); color: var(--bg); }

.tabs { display: none; gap: var(--s2); margin-bottom: var(--s4); padding: var(--s1); border-radius: 999px; background: var(--surface); width: fit-content; }
.tab {
  display: inline-flex; align-items: center; gap: var(--s2); min-height: 44px; padding: 0 var(--s5);
  border: 0; border-radius: 999px; background: transparent; color: var(--muted); font-weight: 600;
  transition: background-color var(--t-fast), color var(--t-fast);
}
.tab .ic { width: 18px; height: 18px; }
.tab[aria-selected="true"] { background: var(--text); color: var(--bg); }
.badge { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--accent); color: var(--accent-ink); font-size: .75rem; font-weight: 800; display: inline-grid; place-items: center; }

.panel-title { margin: 0 0 var(--s3); font-size: 1.1rem; font-weight: 600; color: var(--muted); }
.hint { margin: 0 0 var(--s4); color: var(--muted); }

/* Generi */
.genre-group + .genre-group { margin-top: var(--s5); }
.genre-group h3 { margin: 0 0 var(--s3); font-size: .9375rem; font-weight: 600; color: var(--muted); }
.genre-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: var(--s3); }
.genre {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 2px;
  min-height: 96px; padding: var(--s3) var(--s4); text-align: left;
  border: 0; border-radius: var(--r-md); color: var(--text); overflow: hidden;
  background: linear-gradient(150deg, var(--gc, var(--surface-3)) 0%, color-mix(in srgb, var(--gc, var(--surface-3)) 55%, #140C07) 100%);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / .06);
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.genre:hover { box-shadow: inset 0 0 0 1px rgb(255 255 255 / .18); }
.genre:active { transform: scale(.97); }
.genre::before { content: ""; position: absolute; right: -18px; top: -18px; width: 72px; height: 72px; border-radius: 50%; border: 10px solid rgb(255 255 255 / .07); }
.genre-name { font-weight: 800; font-size: 1.15rem; line-height: 1.1; }
.genre-hint { font-size: .8125rem; color: rgb(255 246 232 / .85); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.genre-on { position: absolute; top: var(--s2); left: var(--s3); display: none; align-items: center; gap: 4px; padding: 2px 8px 2px 6px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: .75rem; font-weight: 800; }
.genre-on .ic { width: 14px; height: 14px; stroke-width: 3; }
.genre[aria-pressed="true"] { box-shadow: inset 0 0 0 3px var(--accent); }
.genre[aria-pressed="true"] .genre-on { display: inline-flex; }
.genre:disabled { cursor: progress; }
.g-decenni { --gc: var(--g-decenni); }
.g-generi { --gc: var(--g-generi); }
.g-italia { --gc: var(--g-italia); }
.g-atmosfera { --gc: var(--g-atmosfera); }

/* Liste (coda e risultati) */
.list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--s2); }
.item {
  display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: var(--s3);
  padding: var(--s2) var(--s2) var(--s2) var(--s2); border-radius: var(--r-md); background: var(--surface);
  animation: enter var(--t-med) var(--ease) both;
}
.item img { width: 52px; height: 52px; border-radius: var(--r-sm); object-fit: cover; background: var(--surface-2); }
.item-text { min-width: 0; }
.item-title { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.item-artist { color: var(--muted); font-size: .9375rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.item-actions { display: flex; align-items: center; gap: 2px; }
.item.next { box-shadow: inset 0 0 0 2px var(--accent); }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: rgb(217 138 61 / .16); color: var(--accent-strong); font-size: .8125rem; font-weight: 600; white-space: nowrap; }
.pill .ic { width: 16px; height: 16px; }
.add-btn { min-height: 44px; padding: 0 var(--s4); }
.add-btn.added { background: transparent; color: var(--accent); box-shadow: inset 0 0 0 1px rgb(217 138 61 / .45); }
.add-btn.added:disabled { opacity: 1; cursor: default; }
.item-actions .danger:hover { color: var(--danger); }
.empty { display: grid; justify-items: center; gap: var(--s1); padding: var(--s7) var(--s4); text-align: center; color: var(--muted); }
.empty p { margin: 0; max-width: 40ch; }
.empty strong { color: var(--text); font-size: 1.1rem; }
.skeleton { height: 68px; border-radius: var(--r-md); background: linear-gradient(90deg, var(--surface) 0%, var(--surface-2) 50%, var(--surface) 100%); background-size: 200% 100%; animation: shimmer 1.2s linear infinite; }

/* Mini-player e navigazione in basso (telefono) */
.mini-player {
  position: fixed; z-index: 30; left: var(--s3); right: var(--s3);
  bottom: calc(var(--nav-h) + env(safe-area-inset-bottom) + var(--s2));
  display: grid; grid-template-columns: 44px 1fr; align-items: center; gap: var(--s3);
  height: var(--mini-h); padding: 10px var(--s3); overflow: hidden;
  border: 0; border-radius: var(--r-md); background: var(--surface-2); text-align: left;
  box-shadow: 0 10px 30px rgb(0 0 0 / .4);
}
.mini-player img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; }
.mini-text { min-width: 0; display: grid; }
.mini-text span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#mini-title { font-weight: 600; }
#mini-artist { color: var(--muted); font-size: .875rem; }
.mini-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgb(255 246 232 / .12); }
.mini-bar span { display: block; height: 100%; width: 0; background: var(--accent); transition: width 1s linear; }
.bottom-nav {
  position: fixed; z-index: 30; left: 0; right: 0; bottom: 0;
  display: grid; grid-template-columns: repeat(3, 1fr);
  height: calc(var(--nav-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
  background: rgb(30 19 12 / .96); border-top: 1px solid var(--surface-2);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.bottom-nav button {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  border: 0; background: transparent; color: var(--muted); font-size: .75rem; font-weight: 600;
}
.bottom-nav button[aria-current="page"] { color: var(--accent); }
.bottom-nav .badge { position: absolute; top: 6px; left: calc(50% + 6px); }

/* Telefono: una vista alla volta */
body[data-view="player"] .content,
body[data-view="player"] .mini-player { display: none; }
body[data-view="content"] .player { display: none; }
body[data-view="player"] .player { min-height: calc(100dvh - 72px - var(--nav-h) - env(safe-area-inset-bottom)); margin-bottom: calc(var(--nav-h) + var(--s4) + env(safe-area-inset-bottom)); justify-content: center; }
body[data-view="player"] .player { padding-bottom: var(--s6); }

/* Avvisi */
.toasts { position: fixed; z-index: 60; left: 50%; bottom: calc(var(--nav-h) + var(--mini-h) + var(--s5) + env(safe-area-inset-bottom)); transform: translateX(-50%); display: grid; gap: var(--s2); width: min(92vw, 420px); pointer-events: none; }
.toast { padding: var(--s3) var(--s4); border-radius: var(--r-sm); background: var(--text); color: var(--bg); font-weight: 600; box-shadow: 0 10px 30px rgb(0 0 0 / .45); animation: toast-in var(--t-med) var(--ease) both; }
.toast.error { background: #4A1E17; color: #FFE1DA; box-shadow: inset 0 0 0 1px var(--danger), 0 10px 30px rgb(0 0 0 / .45); }
.toast.out { animation: toast-out 180ms ease-in both; }

/* Impostazioni */
dialog { padding: 0; border: 0; background: transparent; color: var(--text); max-width: 100vw; max-height: 100dvh; }
dialog::backdrop { background: rgb(14 8 4 / .72); backdrop-filter: blur(4px); }
.sheet {
  width: min(100vw, 480px); max-height: min(92dvh, 820px); overflow-y: auto;
  padding: var(--s5); border-radius: var(--r-lg); background: var(--surface);
  display: grid; gap: var(--s4);
}
.sheet-head { display: flex; align-items: center; justify-content: space-between; }
.sheet-head h2 { margin: 0; font-size: 1.4rem; font-weight: 800; }
.sheet-actions { display: flex; justify-content: flex-end; gap: var(--s3); padding-top: var(--s2); }
.field { display: grid; gap: var(--s2); color: var(--muted); font-weight: 500; }
.field input:not([type="range"]) { min-height: 52px; padding: 0 var(--s4); border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--bg); color: var(--text); font-size: 1.1rem; letter-spacing: .2em; }
.field output { color: var(--text); font-weight: 600; margin-left: var(--s1); }
.field-error { margin: 0; color: var(--danger); font-weight: 600; }
.group { display: grid; gap: var(--s3); margin: 0; padding: var(--s4); border: 0; border-radius: var(--r-md); background: var(--surface-2); }
.group legend { float: left; width: 100%; margin-bottom: var(--s1); padding: 0; font-weight: 800; font-size: 1.05rem; }
.row { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); min-height: 48px; }
.stepper { display: flex; align-items: center; gap: var(--s1); background: var(--bg); border-radius: 999px; padding: 2px; }
.stepper output { min-width: 76px; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }
.switch { cursor: pointer; }
.switch input {
  appearance: none; -webkit-appearance: none; flex: none; position: relative;
  width: 52px; height: 32px; margin: 0; border-radius: 999px; background: var(--line); cursor: pointer;
  transition: background-color var(--t-fast);
}
.switch input::after { content: ""; position: absolute; top: 4px; left: 4px; width: 24px; height: 24px; border-radius: 50%; background: var(--text); transition: transform var(--t-fast) var(--ease); }
.switch input:checked { background: var(--accent); }
.switch input:checked::after { transform: translateX(20px); background: var(--accent-ink); }
.status-list { display: grid; gap: var(--s2); }
.status-row { display: grid; grid-template-columns: 22px 1fr; gap: var(--s2); align-items: start; padding: var(--s3); border-radius: var(--r-sm); background: var(--bg); font-size: .9375rem; }
.status-row strong { display: block; color: var(--text); }
.status-row span { color: var(--muted); }
.status-row .ic { width: 20px; height: 20px; margin-top: 2px; color: var(--accent); }
.status-row.warn .ic { color: var(--danger); }
.status-row a { color: var(--accent); }

/* Accesso: senza login si vede solo cosa suona e i prossimi brani */
.login-btn { min-height: 44px; padding: 0 var(--s4); }
.login-btn .ic { width: 18px; height: 18px; }
.guest-only { display: none; }
body[data-role="guest"] .guest-only { display: block; }
body[data-role="guest"] .staff-only,
body[data-role="guest"] #open-admin,
body[data-role="guest"] .search,
body[data-role="guest"] .tabs,
body[data-role="guest"] #panel-generi,
body[data-role="guest"] #panel-results,
body[data-role="guest"] #skip,
body[data-role="guest"] .volume,
body[data-role="guest"] .speaker-in,
body[data-role="guest"] .item-actions,
body[data-role="guest"] .bottom-nav [data-go="generi"] { display: none !important; }
body:not([data-role="guest"]) .login-btn { display: none; }
body[data-role="guest"] .bottom-nav { grid-template-columns: repeat(2, 1fr); }
body[data-role="guest"] #panel-coda { display: block !important; }
.sheet-hint { margin: 0; color: var(--muted); }
.logout { margin-right: auto; }

/* Telefoni stretti: stato compatto (resta il pallino; il testo e per gli screen reader) */
@media (max-width: 419px) {
  .brand-logo { height: 32px; }
  .brand-tag { display: none; }
  .status { padding: 10px; }
  .status #status-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* Telefono: impostazioni come pannello dal basso */
@media (max-width: 599px) {
  dialog[open] { margin: auto 0 0; width: 100vw; }
  .sheet { width: 100vw; border-radius: var(--r-lg) var(--r-lg) 0 0; padding-bottom: calc(var(--s5) + env(safe-area-inset-bottom)); }
}

/* Tablet verticale: player compatto in alto, contenuti sotto */
@media (min-width: 768px) {
  .bottom-nav, .mini-player { display: none !important; }
  body[data-view] .player { display: grid; }
  body[data-view] .content { display: block; }
  body[data-view="player"] .player { min-height: 0; margin-bottom: var(--s4); padding-bottom: var(--s5); }
  .tabs { display: flex; }
  .topbar { padding-left: var(--s5); padding-right: var(--s5); }
  .brand-logo { height: 48px; }
  .player {
    display: grid; grid-template-columns: 200px 1fr; grid-template-areas: "cover track" "cover progress" "cover controls" "cover speaker";
    column-gap: var(--s5); row-gap: var(--s3); align-items: center; margin: 0 var(--s5) var(--s5);
  }
  .cover-wrap { grid-area: cover; width: 200px; align-self: start; }
  .track { grid-area: track; }
  .progress-block { grid-area: progress; }
  .controls { grid-area: controls; }
  .speaker-in { grid-area: speaker; }
  .content { padding: 0 var(--s5) var(--s6); }
  .toasts { bottom: var(--s6); }
  .genre-grid { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
}

/* iPad orizzontale e desktop: player fisso a sinistra */
@media (min-width: 1024px) {
  .app { display: grid; grid-template-columns: minmax(360px, 420px) 1fr; grid-template-rows: auto 1fr; height: 100dvh; min-height: 0; }
  .topbar { grid-column: 1 / -1; }
  body[data-view] .player {
    display: flex; flex-direction: column; justify-content: center; align-items: stretch; gap: var(--s4);
    margin: 0 0 var(--s5) var(--s5); min-height: 0; overflow: hidden;
  }
  .cover-wrap { width: min(100%, 38vh); align-self: center; }
  .content { overflow-y: auto; min-height: 0; padding: 0 var(--s5) var(--s6); scrollbar-gutter: stable; }
  .search { position: sticky; top: 0; z-index: 5; padding-bottom: var(--s3); margin-bottom: var(--s2); background: var(--bg); }
}

@media (min-width: 1440px) {
  .app { grid-template-columns: 460px 1fr; }
  .content { padding-right: var(--s7); }
  .genre-grid { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
}

/* iPad orizzontale con poca altezza */
@media (min-width: 1024px) and (max-height: 700px) {
  .cover-wrap { width: min(100%, 30vh); }
  .title { font-size: 1.8rem; }
}

@keyframes enter { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes toast-out { to { opacity: 0; transform: translateY(4px); } }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgb(232 80 58 / 0); } }
@media (prefers-reduced-motion: no-preference) {
  .status.live .dot { animation: pulse 2.4s ease-in-out infinite; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
