/* ============================================================
   ENHANCER LIVE — PWA concert
   ============================================================ */

:root {
  --bg: #0a0a0a;
  --bg-2: #141414;
  --fg: #f5f5f5;
  --muted: #8a8a8a;
  --accent: #ef4444;
  --accent-2: #f97316;
  --border: rgba(255, 255, 255, 0.08);
  --safe-top: env(safe-area-inset-top, 0);
  --safe-bottom: env(safe-area-inset-bottom, 0);
}

* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }

html, body {
  height: 100%;
  overscroll-behavior: none;
  overflow: hidden;            /* PAS de scroll body — l'app tient dans la viewport */
  background: var(--bg);
  color: var(--fg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  user-select: none;
}

body {
  padding-top: var(--safe-top);
  padding-bottom: var(--safe-bottom);
  height: 100dvh;
  min-height: 100dvh;          /* iOS Safari : enforce malgré barres URL */
  display: flex;
  flex-direction: column;
}
/* fallback ancien iOS */
@supports not (height: 100dvh) {
  body { height: 100vh; min-height: 100vh; }
}

/* Page admin/régie : contenu long → autoriser le scroll.
   On force avec !important pour battre n'importe quel override hérité (mobile, lightshow…). */
html.allow-scroll {
  overflow: auto !important;
  overflow-y: auto !important;
  height: auto !important;
  min-height: 100% !important;
}
html.allow-scroll body,
body.allow-scroll {
  overflow: auto !important;
  overflow-y: auto !important;
  height: auto !important;
  min-height: 100dvh !important;
  display: block !important;
  padding-bottom: 40px !important;
}
html.allow-scroll .page,
body.allow-scroll .page {
  overflow: visible !important;
  height: auto !important;
  min-height: 0 !important;
}

a { color: var(--fg); text-decoration: none; }

/* ---- Typo titres ---- */
.title {
  font-family: "Helvetica Neue", "Arial Black", sans-serif;
  font-weight: 900;
  font-stretch: condensed;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  line-height: 0.9;
}

h1.title { font-size: clamp(2.5rem, 12vw, 4.5rem); }
h2.title { font-size: clamp(1.5rem, 6vw, 2.25rem); }
h3.title { font-size: 1.25rem; }

.muted { color: var(--muted); }
.accent { color: var(--accent); }

/* ---- Layout ---- */
.page {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 20px 20px 4px;       /* bottom 4px — la safe-area du body gère l'écart home indicator */
  max-width: 720px;
  width: 100%;
  margin: 0 auto;
  min-height: 0;
  height: 100%;
}

/* Container interne scrollable (ex: liste de morceaux) */
.scroll-y {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.center {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.stack > * + * { margin-top: 12px; }
.stack-lg > * + * { margin-top: 20px; }

/* ---- Header ---- */
.brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}
.brand-name {
  font-family: "Helvetica Neue", "Arial Black", sans-serif;
  font-weight: 900;
  font-size: clamp(1.25rem, 4.5vw, 1.55rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  line-height: 1;
}
.brand-name::before {
  content: "";
  display: inline-block;
  width: 30px;
  height: 30px;
  background: url('/logo.svg') center/contain no-repeat;
  flex-shrink: 0;
}

/* Petits écrans (iPhone SE etc.) : on garde juste la pastille rouge, sans texte */
@media (max-width: 399px) {
  .live-dot { font-size: 0; gap: 0; }
}
.live-dot {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.live-dot::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 1.5s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.85); }
}

/* ---- Card / buttons ---- */
.card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 64px;
  padding: 16px 20px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  color: var(--fg);
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  text-align: left;
  transition: transform 0.1s ease, background 0.2s ease;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  justify-content: center;
  text-align: center;
}
.btn-primary:active { background: #dc2626; }
.btn-ghost { background: transparent; }
.btn-icon { font-size: 1.5rem; }

.btn-feature {
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;     /* centre verticalement quand le bouton s'allonge */
  min-height: 84px;
  padding: 14px 18px;
  position: relative;
  overflow: hidden;
}
.btn-feature .btn-icon {
  font-size: 1.5rem;
  margin-bottom: 4px;
}
.btn-feature .btn-title {
  font-family: "Helvetica Neue", "Arial Black", sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 1rem;
  line-height: 1.1;
}
.btn-feature .btn-sub {
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--muted);
  margin-top: 2px;
  line-height: 1.25;
}
.btn-feature.live::before {
  content: "LIVE";
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--accent);
  color: #fff;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 2px 7px;
  border-radius: 4px;
}

/* Feedback INSTANTANÉ au toucher : rouge + scale immédiats via :active */
.btn-feature:active {
  transform: scale(0.96);
  background: rgba(239, 68, 68, 0.22);
  border-color: var(--accent);
  transition: transform 0.04s ease-out, background 0.04s ease-out, border-color 0.04s ease-out;
}
/* Halo qui pulse rapidement quand on entre dans la section (ajouté en JS) */
@keyframes btn-press-pulse {
  0%   { box-shadow: 0 0 0 0   rgba(239, 68, 68, 0.5); }
  100% { box-shadow: 0 0 0 14px rgba(239, 68, 68, 0); }
}
.btn-feature.pressing {
  animation: btn-press-pulse 0.18s ease-out;
}

/* ---- Visibilité gouvernée par data-* sur <html> (état lu du localStorage au boot)
       Permet d'avoir le bon écran AVANT que le socket émette son 1er state. ---- */
#modeBefore, #modeLive, #modeAfter { display: none; }
html[data-mode="before"] #modeBefore,
html[data-mode="live"] #modeLive,
html[data-mode="after"] #modeAfter { display: flex; }

/* Mystery vs CTA dans le mode 'before' */
#mysteryLightshow, #mysteryVote,
#ctaLightshowBefore, #ctaVoteBefore { display: none; }
html[data-mode="before"][data-light-active="0"] #mysteryLightshow,
html[data-mode="before"][data-vote-open="0"] #mysteryVote {
  display: flex;
}
html[data-mode="before"][data-light-active="1"] #ctaLightshowBefore,
html[data-mode="before"][data-vote-open="1"] #ctaVoteBefore {
  display: flex;
}

/* CTAs en mode 'live' */
#ctaLightshow, #ctaVote { display: none; }
html[data-mode="live"][data-light-active="1"] #ctaLightshow,
html[data-mode="live"][data-vote-open="1"] #ctaVote {
  display: flex;
}
/* Quand un event est actif, on retire le message zen "range ton tel" :
   le fan doit voir le CTA, pas un message contradictoire. */
html[data-mode="live"][data-light-active="1"] #zenMessage,
html[data-mode="live"][data-vote-open="1"] #zenMessage {
  display: none;
}
/* Bascule du header en mode 'live' selon l'event en cours :
   zen → light show ou rappel. Light show prime sur vote si les deux actifs. */
html[data-mode="live"][data-light-active="1"] #liveZen,
html[data-mode="live"][data-vote-open="1"] #liveZen {
  display: none !important;
}
html[data-mode="live"][data-light-active="1"] #liveHeaderLightshow {
  display: flex !important;
}
html[data-mode="live"][data-vote-open="1"]:not([data-light-active="1"]) #liveHeaderVote {
  display: flex !important;
}

/* Section "mystère" en mode pré-concert : l'icône reste visible (indice),
   le texte est flouté pour le suspense. Le groupe révélera quand. */
.btn-feature.mystery {
  position: relative;
  cursor: default;
  pointer-events: none;
}
.btn-feature.mystery .btn-icon {
  animation: pulse 2.2s ease-in-out infinite;
}
.btn-feature.mystery .btn-title,
.btn-feature.mystery .btn-sub {
  filter: blur(7px);
  opacity: 0.4;
  user-select: none;
}

.btn:disabled { opacity: 0.4; cursor: not-allowed; }

/* Bouton qui représente l'état courant (utilisé sur les actions vote rappel) */
.btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* CTA festif "Découvre ton bilan" — gradient + sparkles + pulse */
.recap-cta {
  background: linear-gradient(135deg, #ef4444 0%, #f97316 100%) !important;
  border-color: transparent !important;
  color: #fff !important;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px -8px rgba(239, 68, 68, 0.5);
  animation: recap-pulse 2.5s ease-in-out infinite;
}
.recap-cta::before {
  content: "✨";
  position: absolute;
  top: 10px;
  right: 14px;
  font-size: 1.4rem;
  animation: sparkle 2s ease-in-out infinite;
}
.recap-cta::after {
  content: "✨";
  position: absolute;
  bottom: 16px;
  right: 32px;
  font-size: 0.9rem;
  opacity: 0.7;
  animation: sparkle 2s ease-in-out infinite 0.6s;
}
@keyframes recap-pulse {
  0%, 100% { box-shadow: 0 10px 30px -8px rgba(239, 68, 68, 0.5); }
  50%      { box-shadow: 0 10px 40px -4px rgba(239, 68, 68, 0.75); }
}
@keyframes sparkle {
  0%, 100% { opacity: 0.4; transform: scale(0.9) rotate(-10deg); }
  50%      { opacity: 1;   transform: scale(1.1) rotate(10deg); }
}

/* ---- Form ---- */
input, select, textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--fg);
  font-size: 1rem;
  font-family: inherit;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent); }

label { font-size: 0.85rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }

/* ---- Setlist song row ---- */
.song {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 14px;
  cursor: pointer;
  transition: background 0.15s ease;
}
.song:active { background: #1c1c1c; }
.song.top3 { border-color: var(--accent); }
.song.top3 .song-rank { color: var(--accent); }

/* États de comparaison setlist (post-concert) */
.song.match { border-color: var(--accent); background: rgba(239, 68, 68, 0.08); }
.song.miss  { opacity: 0.55; }
.song.played { border-color: rgba(249, 115, 22, 0.5); }

.match-badge, .miss-badge, .played-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 6px;
  vertical-align: middle;
}
.match-badge  { background: var(--accent); color: #fff; }
.miss-badge   { background: rgba(255,255,255,0.08); color: var(--muted); }
.played-badge { background: var(--accent-2); color: #fff; }
.song-rank {
  font-family: "Helvetica Neue", "Arial Black", sans-serif;
  font-weight: 900;
  font-size: 1.1rem;
  width: 28px;
  text-align: center;
  color: var(--muted);
}
.song-info { flex: 1; min-width: 0; }
.song-title {
  font-weight: 700;
  font-size: 1rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.song-album { font-size: 0.8rem; color: var(--muted); }
.song-heart {
  font-size: 1.5rem;
  filter: grayscale(1) brightness(0.6);
  transition: filter 0.15s ease, transform 0.15s ease;
}
.song.liked .song-heart {
  filter: none;
  transform: scale(1.15);
}
.song-count {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--muted);
  min-width: 28px;
  text-align: right;
}
.song.liked .song-count { color: var(--accent); }

/* ---- Vote bars ---- */
.vote-option {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  background: var(--bg-2);
  border: 2px solid var(--border);
  border-radius: 16px;
  margin-bottom: 12px;
  cursor: pointer;
  overflow: hidden;
  min-height: 72px;
}
.vote-option .vote-bar {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(239, 68, 68, 0.25), rgba(239, 68, 68, 0.1));
  width: 0%;
  transition: width 0.4s ease;
  z-index: 0;
}
.vote-option .vote-content { position: relative; z-index: 1; display: flex; flex: 1; align-items: center; justify-content: space-between; gap: 12px; }
.vote-option .vote-title { font-weight: 800; text-transform: uppercase; letter-spacing: 0.01em; font-size: 1.1rem; }
.vote-option .vote-count { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--muted); }
.vote-option.voted { border-color: var(--accent); }
.vote-option.voted .vote-count { color: var(--accent); }
.vote-option.winner { border-color: var(--accent-2); }
.vote-option.winner .vote-bar { background: linear-gradient(90deg, rgba(249, 115, 22, 0.4), rgba(239, 68, 68, 0.2)); }

/* Une fois voté, les autres options sont visibles mais non cliquables (vote final) */
.vote-option.locked-out {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* ---- Toast ---- */
.toast {
  position: fixed;
  top: calc(var(--safe-top) + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(-200%);
  background: var(--bg-2);
  border: 1px solid var(--border);
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: transform 0.3s ease;
  z-index: 100;
  white-space: nowrap;
}
.toast.show { transform: translateX(-50%) translateY(0); }

/* ---- Light show : écran d'attente (régie n'a pas encore activé un pattern) ---- */
.lightshow-waiting {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px;
  z-index: 3;
  pointer-events: none;            /* permet de tapper exit btn / zone picker derrière */
}
.lightshow-waiting[hidden] { display: none; }

/* ---- Light show : la couleur doit recouvrir TOUTE l'écran (jusqu'au home indicator) ---- */
body.lightshow-page {
  padding: 0;
  height: 100dvh;
}
/* Le .lightshow-ui gère ses propres safe-areas internes (padding interne) */

/* ---- Modal "Où es-tu ?" : visible quand pattern=zones et zone non choisie ---- */
.zone-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 50;
}
.zone-modal[hidden] { display: none; }
.zone-modal-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px 22px;
  max-width: 380px;
  width: 100%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.8);
}

/* ---- Light show fullscreen ---- */
.lightshow-screen {
  position: fixed;
  inset: 0;
  background: #000;
  transition: background 0.05s linear;
  z-index: 1;
}
.lightshow-ui {
  position: fixed;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(var(--safe-top) + 16px) 20px calc(var(--safe-bottom) + 20px);
  pointer-events: none;
}
.lightshow-ui > * { pointer-events: auto; }
.lightshow-top, .lightshow-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.lightshow-status {
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.lightshow-msg {
  text-align: center;
  font-family: "Helvetica Neue", "Arial Black", sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(1.5rem, 7vw, 2.5rem);
  letter-spacing: 0.02em;
  text-shadow: 0 2px 12px rgba(0,0,0,0.6);
  padding: 0 20px;
}
.exit-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: none;
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---- Zone popover (live switch dans le lightshow) ---- */
.zone-picker-trigger {
  font-family: inherit;
  color: var(--fg);
  font-size: 0.85rem;
  font-weight: 600;
}
.zone-popover {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 0;
  background: rgba(20, 20, 20, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 160px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.6);
  z-index: 10;
}
.zone-popover[hidden] { display: none; }   /* override CSS display:flex au-dessus */
.zone-popover-btn {
  background: transparent;
  border: none;
  color: var(--fg);
  font: inherit;
  text-align: left;
  padding: 10px 14px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
}
.zone-popover-btn:active,
.zone-popover-btn.active {
  background: rgba(239, 68, 68, 0.18);
  color: var(--accent);
}

/* ---- Zone picker (page d'entrée) ---- */
.zone-picker {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 20px;
}
.zone-btn {
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--bg-2);
  border: 2px solid var(--border);
  border-radius: 14px;
  font-weight: 700;
  color: var(--fg);
  cursor: pointer;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.zone-btn.active {
  border-color: var(--accent);
  background: rgba(239, 68, 68, 0.1);
}
.zone-emoji { font-size: 2rem; margin-bottom: 4px; }

/* ---- Admin grid ---- */
.admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
}
.admin-pattern {
  padding: 16px 12px;
  border-radius: 12px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  text-align: center;
  font-weight: 700;
  cursor: pointer;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}
.admin-pattern.active { border-color: var(--accent); background: rgba(239, 68, 68, 0.1); }

.color-swatches {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.swatch {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--border);
  cursor: pointer;
}
.swatch.active { border-color: #fff; transform: scale(1.1); }

.stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}
.stat-row:last-child { border-bottom: none; }
.stat-value { font-weight: 800; font-size: 1.1rem; }

/* ---- Section heading ---- */
.section {
  margin-top: 28px;
}
.section-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 12px;
  font-weight: 700;
}

/* ---- Big circle button (vote primaire) ---- */
.big-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--accent);
  color: #fff;
  padding: 22px 32px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: none;
  cursor: pointer;
  width: 100%;
  max-width: 320px;
}

/* Transition de sortie : slide droite + fade quand on retourne à l'accueil */
@keyframes page-exit-right {
  to { transform: translateX(28%); opacity: 0; }
}
body.page-exiting .page {
  animation: page-exit-right 220ms cubic-bezier(0.4, 0.0, 0.2, 1) forwards;
  transform-origin: center;
  pointer-events: none;
}

/* Transition de refresh : fade + zoom-out léger, pas de slide horizontal */
@keyframes page-refresh {
  0%   { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(0.96); }
}
body.page-refreshing .page {
  animation: page-refresh 180ms ease-out forwards;
  transform-origin: center;
  pointer-events: none;
}

/* Icône Insta intégrée dans le header brand (à côté du titre) */
.brand-left {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.brand-insta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  color: var(--muted);
  background: var(--bg-2);
  border: 1px solid var(--border);
  text-decoration: none;
  transition: color 0.15s ease, background 0.15s ease, transform 0.05s ease;
}
.brand-insta:active {
  color: var(--accent);
  background: rgba(239, 68, 68, 0.12);
  border-color: var(--accent);
  transform: scale(0.94);
}

/* Vibrate animation */
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-3px); }
  40% { transform: translateX(3px); }
  60% { transform: translateX(-2px); }
  80% { transform: translateX(2px); }
}
.shake { animation: shake 0.4s ease; }

/* Strobe screen burst */
.flash-overlay {
  position: fixed;
  inset: 0;
  background: #fff;
  opacity: 0;
  pointer-events: none;
  z-index: 50;
  transition: opacity 0.05s linear;
}
