@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;500;600;700&family=Pacifico&display=swap');

:root {
  --bg: #fff5f8;
  --ink: #1a1a2e;
  --muted: #6b6b7a;
  --pink: #ffb3cc;
  --pink-deep: #ff7fb1;
  --pink-soft: #ffd6e3;
  --blue: #b9e3ff;
  --mint: #c8f0d8;
  --gold: #ffd76a;
  --danger: #d94a6b;
  --shadow: 0 2px 6px rgba(0,0,0,.08);

  /* 🏳️‍🌈 */
  --rainbow: linear-gradient(
    90deg,
    #ff595e 0%,
    #ff924c 16%,
    #ffd76a 33%,
    #8ac926 50%,
    #1ec8e0 66%,
    #6a4c93 83%,
    #c66fbc 100%
  );
}

* { box-sizing: border-box; }

html, body {
  margin: 0; padding: 0;
  color: var(--ink);
  font-family: "Fredoka", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-weight: 500;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh; min-height: 100dvh;
  position: relative;
  background:
    radial-gradient(1200px 600px at 10% -10%, #ffe6f1 0%, transparent 60%),
    radial-gradient(900px 500px at 110% 10%, #e6f4ff 0%, transparent 55%),
    var(--bg);
  background-attachment: fixed;
}
/* Duck pattern lives behind everything via a fixed pseudo so it doesn't scroll. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("/duck.webp");
  background-repeat: repeat;
  background-size: 110px auto;
  opacity: .08;
  pointer-events: none;
  z-index: 0;
}
/* Make sure real content sits above the duck layer. */
body > * { position: relative; z-index: 1; }

/* ---------- SPARKLES ---------- */
.sparkle {
  position: fixed;
  pointer-events: none;
  width: 14px; height: 14px;
  margin-left: -7px; margin-top: -7px;
  z-index: 9999;
  will-change: transform, opacity;
  animation: sparkle-pop 700ms cubic-bezier(.2,.7,.3,1) forwards;
}
.sparkle::before, .sparkle::after {
  content: "";
  position: absolute; inset: 0;
  background: currentColor;
  border-radius: 1px;
}
.sparkle::before { clip-path: polygon(50% 0, 55% 45%, 100% 50%, 55% 55%, 50% 100%, 45% 55%, 0 50%, 45% 45%); }
.sparkle::after  { transform: rotate(45deg); clip-path: polygon(50% 0, 55% 45%, 100% 50%, 55% 55%, 50% 100%, 45% 55%, 0 50%, 45% 45%); opacity: .65; }
@keyframes sparkle-pop {
  0%   { transform: translate(0,0) scale(.2) rotate(0deg);   opacity: 0; }
  20%  { opacity: 1; }
  100% { transform: translate(var(--dx), var(--dy)) scale(1) rotate(180deg); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .sparkle { display: none; }
}
.hidden { display: none !important; }

header {
  position: sticky; top: 0;
  display: flex; align-items: center; gap: .5rem;
  padding: .75rem 1rem;
  padding-top: max(.75rem, env(safe-area-inset-top));
  background: var(--rainbow);
  background-size: 200% 100%;
  animation: rainbow-slide 8s linear infinite;
  box-shadow: var(--shadow);
  z-index: 5;
  border-bottom: 3px solid white;
}
@keyframes rainbow-slide {
  from { background-position: 0% 50%; }
  to   { background-position: 200% 50%; }
}
header h1 {
  margin: 0; flex: 1;
  font-family: "Pacifico", cursive;
  font-size: 1.55rem;
  text-align: center;
  font-weight: 400;
  color: white;
  text-shadow: 0 2px 0 rgba(0,0,0,.18), 0 0 12px rgba(255,255,255,.4);
  letter-spacing: .5px;
}
header h1::before { content: "🌈 "; }
header h1::after  { content: " 🦄"; }

.back, .reset, .role-tag {
  background: rgba(255,255,255,.85);
  border: none; border-radius: 999px;
  padding: .35rem .75rem; font-size: .9rem;
  font-family: inherit; font-weight: 600;
  text-decoration: none; color: var(--ink); cursor: pointer;
  box-shadow: 0 1px 3px rgba(0,0,0,.15);
}
.reset { font-size: .8rem; }
.role-tag { font-size: .75rem; cursor: default; }

main { padding: 1rem; max-width: 600px; margin: 0 auto; }

button { font-family: inherit; }

/* ---------- AUTH PAGE ---------- */
body.auth main { text-align: center; }
body.auth h1 {
  font-family: "Pacifico", cursive;
  font-size: 2.6rem;
  margin: 1rem 0 .25rem;
  font-weight: 400;
  background: var(--rainbow);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: rainbow-slide 6s linear infinite;
}
body.auth h1::before { content: "🦄 "; -webkit-text-fill-color: initial; }
body.auth h1::after  { content: " 🌈"; -webkit-text-fill-color: initial; }
body.auth .sub { color: var(--muted); margin-top: 0; font-size: 1.05rem; }
body.auth .sub::before { content: "🐝 "; }
body.auth .sub::after  { content: " 🦋"; }

.names {
  list-style: none; padding: 0;
  margin: 1.5rem 0 0;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem;
}
.names li { display: contents; }
.name-tile {
  display: flex; flex-direction: column; align-items: center; gap: .15rem;
  padding: .9rem .5rem;
  background: white; border: 2px solid transparent;
  border-radius: 16px; box-shadow: var(--shadow);
  cursor: pointer; width: 100%;
  font-family: inherit;
  position: relative;
  transition: transform .12s ease;
}
.name-tile::before {
  content: ""; position: absolute; inset: -3px;
  border-radius: 18px;
  background: var(--rainbow);
  z-index: -1;
  opacity: 0;
  transition: opacity .15s;
}
.name-tile.claimed::before { opacity: 1; }
.name-tile.claimed { border-color: transparent; }
.name-tile .n { font-weight: 700; font-size: 1.05rem; }
.name-tile .tag { font-size: .7rem; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; }
.name-tile.claimed .tag { color: var(--pink-deep); }
.name-tile:hover { transform: translateY(-2px); }
.name-tile:active { transform: scale(.97); }

.auth-form {
  margin-top: 1rem;
  background: white; padding: 1.5rem;
  border-radius: 18px; box-shadow: var(--shadow);
  text-align: left;
  border: 2px solid var(--pink-soft);
}
.auth-form h2 { margin: 0 0 .25rem; font-size: 1.3rem; font-weight: 700; }
.auth-form .help { color: var(--muted); font-size: .9rem; margin: 0 0 1rem; }
.auth-form input[type=password] {
  width: 100%; padding: .7rem .9rem; font-size: 1rem;
  border: 2px solid var(--pink-soft); border-radius: 10px;
  background: #fff;
  font-family: inherit;
}
.auth-form input[type=password]:focus { outline: none; border-color: var(--pink-deep); box-shadow: 0 0 0 3px rgba(255,127,177,.2); }
.auth-form .row { display: flex; gap: .5rem; margin-top: 1rem; }
.auth-form .row button { flex: 1; }
.err { color: var(--danger); font-size: .85rem; min-height: 1.1em; margin: .5rem 0 0; }

button.primary, button.ghost, button.danger {
  border: none; border-radius: 999px;
  padding: .75rem 1.1rem; font-size: .95rem; font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: transform .1s ease, box-shadow .15s;
}
button.primary {
  background: var(--rainbow);
  background-size: 200% 100%;
  color: white;
  text-shadow: 0 1px 0 rgba(0,0,0,.2);
  animation: rainbow-slide 5s linear infinite;
  box-shadow: 0 3px 10px rgba(255,127,177,.4);
}
button.primary:hover { transform: translateY(-1px); }
button.ghost { background: rgba(0,0,0,.06); color: var(--ink); }
button.danger { background: var(--danger); color: white; }
button:disabled { opacity: .5; cursor: not-allowed; animation: none; }

/* ---------- LOBBY ---------- */
body.lobby .me-line { color: var(--muted); margin: .5rem 0 1rem; font-size: 1rem; }
body.lobby .me-line strong { color: var(--ink); }
body.lobby .me-line a { color: var(--pink-deep); font-weight: 700; text-decoration: none; }
body.lobby .me-line a:hover { text-decoration: underline; }
.section-h {
  font-size: .85rem; text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--muted); margin: 1rem 0 .5rem; font-weight: 700;
}
.section-h::before { content: "🦋 "; }

/* ---------- PHOTO TICKER ---------- */
.ticker {
  position: relative;
  margin: .25rem 0 1rem;
  overflow: hidden;
  border-radius: 14px;
  border: 3px solid transparent;
  background:
    linear-gradient(white, white) padding-box,
    var(--rainbow) border-box;
  background-size: auto, 200% 100%;
  animation: rainbow-slide 8s linear infinite;
  height: 200px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, black 6%, black 94%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, black 6%, black 94%, transparent 100%);
}
.ticker-track {
  display: flex;
  align-items: stretch;
  gap: .75rem;
  padding: .5rem;
  height: 100%;
  width: max-content;
  animation: ticker-slide linear infinite;
  will-change: transform;
}
.ticker:hover .ticker-track,
.ticker:focus-within .ticker-track {
  animation-play-state: paused;
}
@keyframes ticker-slide {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.ticker-item {
  flex: 0 0 auto;
  margin: 0;
  width: 150px;
  display: flex;
  flex-direction: column;
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,.1);
}
.ticker-item { cursor: zoom-in; transition: transform .12s ease; }
.ticker-item:hover { transform: translateY(-2px); }
.ticker-item img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  display: block;
  pointer-events: none;
}
.ticker-item figcaption { pointer-events: none; }

.lightbox {
  position: fixed; inset: 0; z-index: 50;
  background: rgba(0,0,0,.85);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 2rem 1rem;
  cursor: zoom-out;
  animation: fade-in .2s ease-out;
}
.lightbox img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0,0,0,.5);
}
.lb-caption {
  color: white;
  margin-top: 1rem;
  text-align: center;
  font-weight: 600;
  font-size: 1rem;
  max-width: 90%;
}
.lb-caption strong { color: var(--pink); }
.lb-close {
  position: absolute;
  top: max(1rem, env(safe-area-inset-top));
  right: 1rem;
  background: rgba(255,255,255,.15);
  border: none;
  color: white;
  width: 44px; height: 44px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  font-family: inherit;
}
.lb-close:hover { background: rgba(255,255,255,.25); }
.ticker-item figcaption {
  font-size: .7rem;
  line-height: 1.2;
  padding: .35rem .4rem;
  color: var(--ink);
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ticker-item figcaption strong { color: var(--pink-deep); }

@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
}

/* ---------- SUGGEST PROMPTS ---------- */
.suggest-form {
  display: flex; gap: .5rem;
  margin-bottom: .5rem;
}
.suggest-form input {
  flex: 1;
  padding: .65rem .85rem;
  font-size: 1rem;
  font-family: inherit;
  border: 2px solid var(--pink-soft);
  border-radius: 10px;
  background: white;
  min-width: 0;
}
.suggest-form input:focus {
  outline: none; border-color: var(--pink-deep);
  box-shadow: 0 0 0 3px rgba(255,127,177,.2);
}
.suggest-form button { flex: 0 0 auto; padding: .65rem 1.1rem; }
.suggest-msg { margin: 0 0 .5rem; font-size: .85rem; min-height: 1.2em; }
.suggest-msg.ok  { color: #2a8049; }
.suggest-msg.err { color: var(--danger); }
.suggest-list {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: .35rem;
  max-height: 260px;
  overflow-y: auto;
}
.suggest-item {
  display: flex; align-items: center; gap: .5rem;
  padding: .5rem .75rem;
  background: white;
  border-radius: 10px;
  box-shadow: var(--shadow);
  font-size: .9rem;
  border-left: 4px solid var(--gold);
}
.suggest-item .s-text { flex: 1; }
.suggest-item .s-owner { color: var(--muted); font-size: .8rem; font-style: italic; }
.suggest-item .s-del {
  background: transparent;
  border: none;
  color: var(--muted);
  font-size: 1.1rem;
  cursor: pointer;
  padding: 0 .25rem;
  line-height: 1;
  font-family: inherit;
}
.suggest-item .s-del:hover { color: var(--danger); }

/* ---------- VERIFY QUEUE ---------- */
.queue-section { margin: 0 0 1rem; }
.queue-help { color: var(--muted); font-size: .85rem; margin: -.25rem 0 .5rem; }
.queue { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; }
.queue-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .65rem .75rem;
  background: white;
  border-radius: 12px;
  box-shadow: var(--shadow);
  border-left: 4px dashed var(--pink-deep);
  transition: opacity .3s ease, transform .3s ease;
}
.queue-item.verified { opacity: 0; transform: translateX(20px); }
.queue-item .q-text { flex: 1; min-width: 0; }
.queue-item .q-prompt { font-weight: 600; font-size: .95rem; line-height: 1.2; }
.queue-item .q-owner { font-size: .8rem; color: var(--muted); margin-top: .15rem; }
.queue-item .q-verify {
  flex: 0 0 auto;
  width: 44px; height: 44px;
  border-radius: 50%;
  font-size: 1.2rem;
  padding: 0;
  font-weight: 700;
  animation: rainbow-slide 5s linear infinite;
  background: var(--rainbow);
  background-size: 200% 100%;
  color: white;
  text-shadow: 0 1px 0 rgba(0,0,0,.25);
  border: none;
  box-shadow: 0 2px 6px rgba(255,127,177,.4);
  cursor: pointer;
}
.queue-item .q-verify:disabled { animation: none; opacity: .5; }
.queue-item .q-verify.armed {
  animation: armed-pulse .6s ease-in-out infinite alternate;
  background: var(--gold);
  color: var(--ink);
  text-shadow: none;
  box-shadow: 0 0 0 4px rgba(255,215,106,.4);
}
@keyframes armed-pulse {
  from { transform: scale(1); }
  to   { transform: scale(1.08); }
}

.wins-banner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .5rem;
  margin: 0 0 1rem;
}
.win-pill {
  background: white;
  border-radius: 14px;
  padding: .65rem .35rem;
  text-align: center;
  box-shadow: var(--shadow);
  border: 2px dashed var(--pink-soft);
  display: flex; flex-direction: column; align-items: center; gap: .15rem;
}
.win-pill.won {
  border: 3px solid transparent;
  background:
    linear-gradient(white, white) padding-box,
    var(--rainbow) border-box;
  background-size: auto, 200% 100%;
  animation: rainbow-slide 6s linear infinite;
}
.win-pill .medal { font-size: 1.6rem; line-height: 1; }
.win-pill .who { font-weight: 700; font-size: .9rem; }
.win-pill.won .who { color: var(--pink-deep); }
.win-pill .what { font-size: .7rem; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; }

.g-medals { font-size: 1rem; }

.guests { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.guest a {
  display: flex; align-items: center; justify-content: space-between;
  padding: .85rem 1rem; background: white;
  border-radius: 14px; box-shadow: var(--shadow);
  text-decoration: none; color: var(--ink);
  border-left: 6px solid var(--pink-deep);
  transition: transform .1s ease;
}
.guest a:hover { transform: translateX(2px); }
.guest.unclaimed a { border-left-color: #ddd; opacity: .75; }
.guest.self a {
  border-left: 6px solid transparent;
  background:
    linear-gradient(white, white) padding-box,
    var(--rainbow) border-box;
  border-image: var(--rainbow) 1;
}
.guest.self a::before { content: "🌟 "; }
.g-name { font-weight: 600; }
.g-meta { font-size: .8rem; color: var(--muted); }
.tag-unclaimed { font-style: italic; }
.prog {
  background: var(--rainbow);
  background-size: 200% 100%;
  color: white;
  padding: .2rem .6rem;
  border-radius: 999px;
  font-weight: 700;
  text-shadow: 0 1px 0 rgba(0,0,0,.2);
  animation: rainbow-slide 6s linear infinite;
}

/* ---------- CARD GRID ---------- */
.grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px;
  aspect-ratio: 1 / 1; width: 100%; margin-top: .5rem;
  padding: 6px;
  background: var(--rainbow);
  background-size: 200% 100%;
  border-radius: 14px;
  animation: rainbow-slide 12s linear infinite;
  box-shadow: 0 4px 14px rgba(0,0,0,.1);
}

.cell {
  position: relative;
  background: white;
  border: 2px solid white;
  border-radius: 8px;
  padding: 2px;
  font-size: clamp(8px, 2.1vw, 12px);
  line-height: 1.15;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  overflow: hidden;
  transition: background .15s, transform .1s;
  font-family: inherit;
}
@media (min-width: 480px) { .cell { font-size: 13px; } }

.cell span {
  display: block; hyphens: auto; word-break: break-word;
  position: relative; z-index: 1;
  padding: 2px;
}

.cell:active { transform: scale(.96); }

.cell.free {
  background: var(--gold);
  border-color: #e9b53a;
  font-weight: 700;
  cursor: default;
  background-image: radial-gradient(circle at 30% 30%, #fff3b8 0%, var(--gold) 60%);
}
.cell.free::before {
  content: "🦆";
  position: absolute;
  font-size: 1.6em;
  opacity: .35;
  z-index: 0;
}

.cell.marked {
  background: var(--rainbow);
  background-size: 200% 100%;
  color: white;
  border-color: white;
  text-shadow: 0 1px 0 rgba(0,0,0,.3);
  animation: rainbow-slide 4s linear infinite;
}
.cell.marked.pending {
  background: var(--pink-soft);
  color: var(--ink);
  border-color: var(--pink-deep);
  border-style: dashed;
  animation: none;
  text-shadow: none;
}
.cell.marked::after {
  content: "✓"; position: absolute; top: 2px; right: 4px;
  font-size: .85rem; font-weight: 700; opacity: .9;
}
.cell.marked.pending::after { content: "?"; opacity: .7; }

.cell.has-photo .thumb {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .45;
  z-index: 0;
}
.cell.has-photo span {
  background: rgba(0,0,0,.45);
  color: white;
  border-radius: 4px;
}

.status { text-align: center; margin-top: 1rem; font-weight: 600; color: var(--muted); }
.status::before { content: "🐝 "; }
.status::after  { content: " 🦋"; }

/* ---------- MODAL ---------- */
.modal {
  position: fixed; inset: 0; z-index: 20;
  background: rgba(0,0,0,.55);
  display: flex; align-items: flex-end; justify-content: center;
  padding: 1rem;
}
@media (min-width: 480px) { .modal { align-items: center; } }
.modal-inner {
  background: white;
  border-radius: 20px;
  padding: 1.25rem;
  width: 100%; max-width: 420px;
  box-shadow: 0 10px 40px rgba(0,0,0,.3);
  animation: slideUp .25s ease-out;
  border-top: 6px solid transparent;
  background:
    linear-gradient(white, white) padding-box,
    var(--rainbow) border-box;
  border: 4px solid transparent;
}
@keyframes slideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.m-prompt { font-size: 1.15rem; font-weight: 700; margin: 0 0 .75rem; }
.m-photo-wrap { margin: .5rem 0 .75rem; }
.m-photo-wrap img { width: 100%; max-height: 60vh; object-fit: contain; border-radius: 10px; background: #f3f3f3; }
.m-status { color: var(--muted); margin: .25rem 0; font-size: .9rem; }
.m-verifiers { color: var(--muted); margin: .25rem 0 .75rem; font-size: .85rem; font-style: italic; }
.m-actions { display: flex; flex-direction: column; gap: .5rem; margin: .75rem 0; }
.m-actions button { width: 100%; }
.m-close { width: 100%; margin-top: .25rem; }

/* ---------- TIER WIN OVERLAY ---------- */
.tier-overlay {
  position: fixed; inset: 0; z-index: 30;
  background: rgba(0,0,0,.55);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  cursor: pointer;
  animation: fade-in .25s ease-out;
}
.tier-overlay::before,
.tier-overlay::after {
  content: "🌈🦄🦋🐝🦆🌸🌟🎉🦩🐝🌈🦄🦋🐝🦆🌸🌟🎉🦩🐝";
  position: absolute;
  font-size: 2rem;
  white-space: nowrap;
  letter-spacing: 1rem;
  opacity: .75;
  animation: parade 18s linear infinite;
  pointer-events: none;
}
.tier-overlay::before { top: 10%; left: -50%; }
.tier-overlay::after  { bottom: 10%; left: -50%; animation-direction: reverse; animation-duration: 22s; }
@keyframes parade {
  from { transform: translateX(0); }
  to   { transform: translateX(50%); }
}
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

.tier-card {
  position: relative;
  padding: 1.75rem 2rem;
  border-radius: 24px; text-align: center;
  width: min(92vw, 380px);
  box-shadow: 0 10px 40px rgba(0,0,0,.3);
  animation: pop .45s cubic-bezier(.2,1.5,.4,1);
  border: 5px solid transparent;
  background:
    linear-gradient(white, white) padding-box,
    var(--rainbow) border-box;
  background-size: auto, 200% 100%;
  cursor: default;
}
@keyframes pop {
  from { transform: scale(.5) rotate(-8deg); opacity: 0; }
  to { transform: scale(1) rotate(0); opacity: 1; }
}
.t-medal {
  font-size: 4.5rem;
  line-height: 1;
  margin-bottom: .5rem;
  animation: medal-bounce 1.6s ease-in-out infinite;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,.2));
}
@keyframes medal-bounce {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50%      { transform: translateY(-8px) rotate(3deg); }
}
.t-title {
  font-family: "Pacifico", cursive;
  font-size: 2.5rem;
  font-weight: 400;
  letter-spacing: 1px;
  margin-bottom: .25rem;
  background: var(--rainbow);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: rainbow-slide 3s linear infinite;
}
.t-sub { color: var(--muted); margin: 0 0 .25rem; font-weight: 600; }
.t-extra { margin: .5rem 0 1rem; font-size: .95rem; min-height: 1.2em; }
.t-extra strong { color: var(--pink-deep); }
.tier-close {
  font-family: inherit;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; }
}
