/* ==========================================================================
   CSS Custom Properties
   ========================================================================== */

:root {
  --font-comic: "Comic Sans MS", "Comic Sans", cursive;
  --font-bsod: "Segoe UI", "Arial", sans-serif;
  --font-serif: serif;

  --color-bg-overlay: rgba(0, 0, 0, 0.85);
  --color-bsod-bg: #0078d7;
  --color-bsod-border: #004a8a;
  --color-marquee-bg: #0d0d0d;
  --color-counter: yellow;
  --color-epitaph: white;
  --color-rain: rgba(0, 0, 0, 0.7);
  --marquee-safe-area: 78px;

  --z-bg: -1;
  --z-content: 1;
  --z-marquee: 2;
  --z-rain: 5;
  --z-overlay-start: 10000;
  --z-overlay-bsod: 10001;
  --z-bsod-popup: 10002;
  --z-chaos: 10003;
  --z-gpt-panel: 10004;
  --z-toast: 10005;
  --z-cursor: 10010;
}

/* ==========================================================================
   Reset & Body
   ========================================================================== */

html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  overscroll-behavior: none;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-comic);
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
}

/* Full-page tiled background with grayscale + sepia filter */
body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../assets/bras.jpg");
  background-repeat: repeat;
  background-size: clamp(180px, 40vw, 500px) clamp(130px, 25vw, 400px);
  filter: grayscale(100%) sepia(20%);
  z-index: var(--z-bg);
  min-height: 100vh;
  min-height: 100dvh;
}

/* ==========================================================================
   Intro Overlay (click-to-start)
   ========================================================================== */

#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-bg-overlay);
  z-index: var(--z-overlay-start);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: clamp(1.5rem, 5vw, 3rem);
  text-align: center;
  padding: 20px;
  cursor: none;
}

#overlay .big-emoji {
  font-size: clamp(4rem, 15vw, 8rem);
  animation: bounce 1s infinite;
}

/* ==========================================================================
   Custom Cursor (desktop only)
   ========================================================================== */

#cursor {
  position: fixed;
  font-size: 28px;
  pointer-events: none;
  z-index: var(--z-cursor);
  transform: translate(-14px, -14px);
  animation: pulse 0.8s infinite;
  display: none;
}

/* ==========================================================================
   Main Container
   ========================================================================== */

.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - var(--marquee-safe-area));
  min-height: calc(100dvh - var(--marquee-safe-area));
  position: relative;
  z-index: var(--z-content);
  padding: 20px;
  padding-bottom: 18px;
  box-sizing: border-box;
}

/* ==========================================================================
   Title (H1)
   ========================================================================== */

h1 {
  font-size: clamp(2rem, 7vw, 5.5rem);
  color: red;
  text-shadow:
    3px 3px 0 black,
    6px 6px 0 rgba(0, 0, 0, 0.5);
  text-align: center;
  padding: 10px 20px;
  margin: 15px 0 5px 0;
  animation: shake 0.5s infinite;
}

/* ==========================================================================
   Counter (days since death)
   ========================================================================== */

#counter {
  font-size: clamp(1rem, 3.5vw, 1.8rem);
  color: var(--color-counter);
  text-shadow: 2px 2px 0 black;
  text-align: center;
  margin: 10px;
  line-height: 1.5;
}

/* ==========================================================================
   Epitaph (dates line)
   ========================================================================== */

.epitaph {
  color: var(--color-epitaph);
  text-shadow: 2px 2px 0 black;
  font-size: clamp(1.2rem, 3.5vw, 1.8rem);
  text-align: center;
  margin: 5px;
}

/* ==========================================================================
   Photo Frame (R.I.P. picture)
   ========================================================================== */

.photo-container {
  margin: 20px;
  text-align: center;
  border: 8px solid #1a1a1a;
  border-bottom: 12px solid #1a1a1a;
  box-shadow:
    0 0 0 2px #444,
    0 0 0 4px #1a1a1a,
    0 8px 25px rgba(0, 0, 0, 0.6),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  overflow: hidden;
  background: #0a0a0a;
  max-width: 420px;
  width: 90%;
  position: relative;
}

.photo-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 14px;
  background: repeating-linear-gradient(
    90deg,
    #1a1a1a 0px,
    #1a1a1a 8px,
    #333 8px,
    #333 10px
  );
  z-index: 2;
}

.photo-container::after {
  content: "R.I.P.";
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  color: #888;
  font-size: 12px;
  letter-spacing: 5px;
  text-shadow: 0 0 3px black;
  z-index: 2;
  font-family: var(--font-serif);
}

.disaster-photo {
  width: 100%;
  display: block;
  filter: grayscale(50%);
  margin-top: 28px;
}

.photo-caption {
  color: rgba(255, 255, 255, 0.6);
  font-size: clamp(0.8rem, 2vw, 1.2rem);
  font-style: italic;
  padding: 8px;
  text-shadow: 1px 1px 0 black;
  text-align: right;
}

/* ==========================================================================
   Repair Button
   ========================================================================== */

.repair-btn {
  font-size: clamp(1.3rem, 4vw, 2rem);
  padding: clamp(14px, 3vw, 22px) clamp(30px, 8vw, 55px);
  background: linear-gradient(180deg, #ff2222 0%, #cc0000 50%, #990000 100%);
  color: #fff;
  border: none;
  cursor: none;
  animation:
    bounce 0.8s infinite,
    glow 1.5s infinite;
  font-family: var(--font-comic);
  font-weight: bold;
  margin: 15px;
  letter-spacing: 2px;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.5);
  box-shadow:
    0 0 15px #ff0000,
    0 0 40px #ff0000,
    0 0 80px rgba(255, 0, 0, 0.5),
    0 6px 0 #550000,
    0 8px 20px rgba(0, 0, 0, 0.5);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  position: relative;
}

.repair-btn:active {
  transform: translateY(4px) !important;
  box-shadow:
    0 0 10px #ff0000,
    0 0 25px #ff0000,
    0 0 50px rgba(255, 0, 0, 0.5),
    0 2px 0 #550000,
    0 3px 10px rgba(0, 0, 0, 0.5);
}

.repair-btn:hover {
  animation:
    spin 0.25s infinite,
    glow 0.5s infinite;
  box-shadow:
    0 0 25px #ff4444,
    0 0 60px #ff0000,
    0 0 120px rgba(255, 0, 0, 0.8),
    0 6px 0 #550000,
    0 8px 20px rgba(0, 0, 0, 0.5);
}

.tribute-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: min(92vw, 620px);
  margin-top: 4px;
  text-align: center;
}

.speech-btn {
  font-family: var(--font-comic);
  font-size: clamp(0.95rem, 2.7vw, 1.2rem);
  font-weight: bold;
  letter-spacing: 0.8px;
  color: #ffe9e9;
  background: linear-gradient(180deg, #3f3f3f 0%, #232323 100%);
  border: 2px solid #8a8a8a;
  border-radius: 999px;
  padding: 10px 20px;
  cursor: none;
  box-shadow:
    0 4px 0 #121212,
    0 10px 18px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.speech-btn:hover {
  transform: translateY(-2px);
  border-color: #ff6d6d;
  box-shadow:
    0 6px 0 #121212,
    0 14px 22px rgba(0, 0, 0, 0.45),
    0 0 18px rgba(255, 85, 85, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.speech-btn:active,
.speech-btn.is-playing {
  transform: translateY(3px);
  box-shadow:
    0 2px 0 #121212,
    0 6px 12px rgba(0, 0, 0, 0.36),
    0 0 20px rgba(255, 86, 86, 0.55);
}

.speech-btn.is-playing {
  border-color: #ff7f7f;
  animation: speechPulse 0.9s ease-in-out infinite;
}

.speech-status {
  font-size: clamp(0.8rem, 2.25vw, 0.95rem);
  color: #f6dcdc;
  text-shadow: 1px 1px 0 #000;
  line-height: 1.3;
  min-height: 1.3em;
}

@keyframes speechPulse {
  0%,
  100% {
    filter: saturate(1);
  }
  50% {
    filter: saturate(1.35);
  }
}

/* ==========================================================================
   Bottom Marquee (scrolling banner)
   ========================================================================== */

.marquee-bar {
  position: fixed;
  bottom: 0;
  width: 100%;
  background: var(--color-marquee-bg);
  border-top: 2px solid #1f1f1f;
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.6);
  padding: 12px 0;
  overflow: hidden;
  z-index: var(--z-marquee);
  white-space: nowrap;
}

.marquee-bar span {
  display: inline-block;
  font-size: clamp(1rem, 3vw, 2rem);
  color: white;
  animation: marquee 45s linear infinite;
  white-space: nowrap;
}

.marquee-bar span::after {
  content: attr(data-text);
}

/* ==========================================================================
   BSOD Popup
   ========================================================================== */

#bsod-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: var(--z-overlay-bsod);
}

#bsod-popup {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--color-bsod-bg);
  color: #fff;
  font-family: var(--font-bsod);
  z-index: var(--z-bsod-popup);
  width: 90%;
  max-width: 500px;
  padding: 30px 25px 20px 25px;
  box-shadow:
    0 0 0 4px var(--color-bsod-border),
    0 0 0 8px var(--color-bsod-bg),
    0 20px 60px rgba(0, 0, 0, 0.6);
  text-align: left;
  line-height: 1.6;
}

#bsod-popup .bsod-face {
  font-size: 6rem;
  margin-bottom: 5px;
  font-weight: 100;
  line-height: 1;
}

#bsod-popup .bsod-title {
  font-size: 1.6rem;
  font-weight: 300;
  margin-bottom: 15px;
}

#bsod-popup .bsod-body {
  font-size: 0.9rem;
  opacity: 0.9;
  margin-bottom: 15px;
}

#bsod-popup .bsod-progress-text {
  font-size: 0.9rem;
  margin-bottom: 6px;
}

#bsod-popup .bsod-progress-bar {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 8px;
}

#bsod-popup .bsod-progress-fill {
  height: 100%;
  background: #fff;
  border-radius: 4px;
  width: 0%;
  transition: width 0.3s linear;
}

#bsod-popup .bsod-qr {
  font-size: 0.7rem;
  opacity: 0.5;
  margin-top: 10px;
}

#bsod-popup .bsod-btn {
  display: inline-block;
  margin-top: 12px;
  padding: 8px 24px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 0.85rem;
  cursor: none;
}

#bsod-popup .bsod-btn:hover {
  background: rgba(255, 255, 255, 0.22);
}

/* ==========================================================================
   Emoji Rain
   ========================================================================== */

.emoji-rain {
  position: fixed;
  top: 0;
  pointer-events: none;
  z-index: var(--z-rain);
  opacity: 0.85;
  filter: grayscale(100%);
}

/* ==========================================================================
   Konami Code Feedback
   ========================================================================== */

.konami-step {
  animation: konamiFlash 0.35s ease-out;
}

/* ==========================================================================
   Party Mode (Konami Easter Egg — 2 seconds of joy then back to grief)
   ========================================================================== */

html.party-mode body::after {
  filter: none !important;
  animation: rainbowBg 0.5s linear infinite;
}

html.party-mode h1 {
  color: gold !important;
  text-shadow: 0 0 25px gold, 0 0 60px orange, 3px 3px 0 black !important;
  animation: shake 0.2s infinite !important;
}

html.party-mode .epitaph {
  color: cyan !important;
  text-shadow: 0 0 15px cyan, 2px 2px 0 black !important;
}

html.party-mode #counter {
  color: hotpink !important;
  text-shadow: 0 0 15px hotpink, 2px 2px 0 black !important;
}

html.party-mode .marquee-bar span {
  color: lime !important;
}

html.party-mode .photo-container {
  border-color: gold !important;
  box-shadow: 0 0 20px gold, 0 0 0 2px gold, 0 0 0 4px #1a1a1a !important;
}

html.party-mode body *:not(.emoji-rain):not(audio):not(source):not(h1) {
  animation: spin 0.24s linear infinite !important;
  transform-origin: center center;
}

/* ==========================================================================
   Joy Overdrive (cookie checkbox visual twist)
   ========================================================================== */

html.joy-overdrive body::after {
  filter: none !important;
  animation: rainbowBg 0.45s linear infinite;
}

html.joy-overdrive #cookie-banner {
  border-color: #f5d43f;
  box-shadow:
    0 0 0 2px rgba(245, 212, 63, 0.45),
    0 10px 28px rgba(0, 0, 0, 0.55);
}

html.joy-overdrive .cookie-title,
html.joy-overdrive .cookie-section {
  color: #ffe67a;
}

#joy-confetti-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: var(--z-chaos);
  overflow: hidden;
}

.joy-confetti-piece {
  position: absolute;
  top: -12px;
  opacity: 0;
  border-radius: 2px;
  animation-name: confettiDrop;
  animation-timing-function: cubic-bezier(0.28, 0.82, 0.36, 1);
  animation-fill-mode: both;
}

/* ==========================================================================
   Mourning Toasts + Fake GPT Panel
   ========================================================================== */

#mourning-toast-host {
  position: fixed;
  left: 50%;
  bottom: calc(var(--marquee-safe-area) + 10px);
  transform: translateX(-50%);
  width: min(94vw, 560px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  pointer-events: none;
  z-index: var(--z-toast);
}

.mourning-toast {
  width: fit-content;
  max-width: 100%;
  background: rgba(24, 24, 24, 0.94);
  color: #f3f3f3;
  border: 1px solid #555;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.84rem;
  text-shadow: 1px 1px 0 #000;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.34);
  opacity: 0;
  transform: translateY(9px) scale(0.98);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.mourning-toast.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.mourning-toast.toast-danger {
  border-color: #ff8b8b;
  background: rgba(55, 18, 18, 0.95);
  color: #ffd9d9;
}

.mourning-toast.toast-success {
  border-color: #89ffa9;
  background: rgba(14, 52, 23, 0.95);
  color: #d9ffde;
}

#cookie-gpt-panel {
  position: fixed;
  right: 12px;
  bottom: calc(var(--marquee-safe-area) + 12px);
  width: min(370px, calc(100vw - 24px));
  background: rgba(20, 20, 20, 0.97);
  border: 1px solid #5a5a5a;
  border-radius: 10px;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.45);
  color: #f1f1f1;
  padding: 12px;
  box-sizing: border-box;
  z-index: var(--z-gpt-panel);
  opacity: 0;
  transform: translateY(8px) scale(0.985);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

#cookie-gpt-panel.is-open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.cookie-gpt-title {
  font-size: 0.92rem;
  font-weight: bold;
  color: #ffd1d1;
  margin-bottom: 7px;
  display: flex;
  align-items: center;
  gap: 7px;
}

#cookie-gpt-panel.is-loading .cookie-gpt-title::before {
  content: "";
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.28);
  border-top-color: #ff7a7a;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.cookie-gpt-body {
  font-size: 0.82rem;
  line-height: 1.35;
  color: #e7e7e7;
  margin-bottom: 10px;
}

#cookie-gpt-panel.is-loading .cookie-gpt-body {
  animation: gptPulse 0.85s ease-in-out infinite;
}

.cookie-gpt-actions {
  display: flex;
  justify-content: flex-end;
}

.cookie-gpt-thumb {
  font-family: var(--font-comic);
  font-size: 0.82rem;
  font-weight: bold;
  color: #fff;
  background: linear-gradient(180deg, #505050 0%, #2f2f2f 100%);
  border: 1px solid #777;
  border-radius: 999px;
  padding: 6px 12px;
  cursor: none;
}

.cookie-gpt-thumb:hover {
  border-color: #ff8787;
  box-shadow: 0 0 0 2px rgba(255, 135, 135, 0.15);
}

/* ==========================================================================
   Cookie Banner Troll
   ========================================================================== */

#cookie-banner {
  position: fixed;
  bottom: 52px;
  right: 10px;
  width: 300px;
  max-height: 70vh;
  background: #1a1a1a;
  border: 2px solid #444;
  border-radius: 10px;
  color: #ddd;
  font-family: var(--font-comic);
  z-index: 10;
  padding: 14px 16px 12px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  animation: cookieSlideUp 0.5s ease-out;
}

#cookie-refund-zone {
  position: fixed;
  inset: 0;
  z-index: 11;
  pointer-events: none;
}

@keyframes cookieSlideUp {
  from { transform: translateY(30px); opacity: 0; }
  to   { transform: translateY(0);   opacity: 1; }
}

.cookie-title {
  font-size: 1rem;
  color: #fff;
  margin-bottom: 10px;
  text-align: center;
  text-shadow: 1px 1px 0 #000;
  flex-shrink: 0;
}

.cookie-scroll {
  overflow-y: auto;
  max-height: calc(70vh - 110px);
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 10px;
  padding-right: 4px;
}

.cookie-scroll::-webkit-scrollbar { width: 4px; }
.cookie-scroll::-webkit-scrollbar-thumb { background: #444; border-radius: 2px; }

.cookie-section {
  font-size: 0.7rem;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 8px;
  margin-bottom: 2px;
}

.cookie-opt {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  cursor: none;
  line-height: 1.3;
}

.cookie-opt input[type="checkbox"] {
  accent-color: #ff2222;
  width: 14px;
  height: 14px;
  cursor: none;
  flex-shrink: 0;
}

.cookie-opt input[type="checkbox"]:disabled {
  opacity: 0.6;
}

.cookie-refund-placeholder {
  font-size: 0.76rem;
  line-height: 1.3;
  color: #a7a7a7;
  padding: 4px 8px;
  border: 1px dashed #5c5c5c;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
}

#cookie-refund.cookie-refund-fugitif {
  position: fixed;
  left: 14px;
  top: 14px;
  max-width: min(360px, calc(100vw - 20px));
  width: max-content;
  min-height: 32px;
  padding: 8px 10px;
  border: 2px dashed #ff6464;
  border-radius: 8px;
  background: rgba(30, 8, 8, 0.95);
  color: #ffe3e3;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
  pointer-events: auto;
  transition: left 0.14s ease-out, top 0.14s ease-out;
}

#cookie-refund.cookie-refund-fugitif::after {
  content: "🏃 option en fuite";
  margin-left: 6px;
  color: #ff8a8a;
  font-size: 0.7rem;
  letter-spacing: 0.3px;
}

#cookie-refund.cookie-refund-fugitif input[type="checkbox"] {
  pointer-events: auto;
}

#cookie-refund.cookie-refund-panique {
  animation: refundPanic 0.18s linear;
}

.refund-text {
  display: inline-block;
  max-width: 230px;
  white-space: normal;
}

@keyframes refundPanic {
  0% {
    transform: scale(1);
  }
  40% {
    transform: scale(1.08);
  }
  100% {
    transform: scale(1);
  }
}

.undo-hover:hover .undo-text {
  display: none;
}

.undo-hover:hover::after {
  content: "Trop tard";
  color: #ff4444;
  margin-left: 4px;
}

.cookie-mail-row {
  flex-wrap: wrap;
  gap: 4px 6px;
}

.cookie-mail {
  background: #111;
  border: 1px solid #444;
  color: #ddd;
  font-family: var(--font-comic);
  font-size: 0.78rem;
  padding: 3px 6px;
  border-radius: 4px;
  width: 100%;
  margin-top: 2px;
  cursor: none;
}

.cookie-mail-msg {
  font-size: 0.75rem;
  color: #ff6666;
  font-style: italic;
  width: 100%;
}

.cookie-actions {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-shrink: 0;
  margin-bottom: 8px;
}

.cookie-actions button {
  font-family: var(--font-comic);
  font-size: 0.9rem;
  padding: 8px 16px;
  border: none;
  cursor: none;
  font-weight: bold;
  letter-spacing: 1px;
  border-radius: 4px;
}

#cookie-accept {
  background: linear-gradient(180deg, #ff2222 0%, #990000 100%);
  color: #fff;
  box-shadow: 0 4px 0 #550000;
}

#cookie-accept:active {
  transform: translateY(4px) !important;
  box-shadow: 0 1px 0 #550000;
}

#cookie-reject {
  background: #333;
  color: #888;
  box-shadow: 0 4px 0 #1a1a1a;
  opacity: 0.6;
}

#cookie-reject:hover {
  animation: shake 0.3s infinite;
  opacity: 0.8;
}

.cookie-footer {
  text-align: center;
  font-size: 0.72rem;
  color: #777;
  font-style: italic;
  flex-shrink: 0;
}

.cookie-shake {
  animation: shake 0.4s ease-in-out;
}

@media (max-width: 600px) {
  #cookie-banner {
    right: 8px;
    left: 8px;
    width: auto;
    bottom: 50px;
    max-height: 55vh;
  }

  #cookie-refund.cookie-refund-fugitif {
    max-width: calc(100vw - 16px);
    padding: 7px 9px;
    font-size: 0.8rem;
  }

  #cookie-refund.cookie-refund-fugitif::after {
    display: none;
  }

  #cookie-gpt-panel {
    right: 8px;
    left: 8px;
    width: auto;
  }

  #mourning-toast-host {
    width: calc(100vw - 16px);
  }

  .mourning-toast {
    border-radius: 10px;
  }

  .speech-btn {
    width: 100%;
    max-width: 320px;
  }
}

/* Empêche cursor: none sur les inputs de la bannière */
@media (min-width: 1024px) {
  #cookie-banner input[type="text"],
  #cookie-banner input[type="email"] {
    cursor: text;
  }
}

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

@media (max-width: 600px) {
  .container {
    min-height: calc(100vh - var(--marquee-safe-area));
    min-height: calc(100dvh - var(--marquee-safe-area));
    padding-bottom: 12px;
  }
  .emoji-rain {
    font-size: 16px;
  }
}

@media (min-width: 1024px) {
  * {
    cursor: none;
  }
  #cursor {
    display: block;
  }
}
