:root {
  --blue: #3b5bfd;
  --purple: #7b3bfd;
  --sky: #38c6ff;
  --yellow: #ffd23f;
  --orange: #ff8a3d;
  --green: #22c55e;
  --green-dark: #15803d;
  --red: #ef4444;
  --red-dark: #b91c1c;
  --ink: #1e1b4b;
  --muted: #6b6a8f;
  --card: #ffffff;
  --shadow: 0 6px 0 rgba(30, 27, 75, 0.18);
  --radius: 22px;
  color-scheme: light;
}

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

html, body {
  margin: 0;
  min-height: 100%;
  font-family: "Nunito", "Segoe UI Rounded", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  color: var(--ink);
  background: linear-gradient(160deg, var(--g1, #38c6ff) 0%, var(--g2, #3b5bfd) 45%, var(--g3, #7b3bfd) 100%) fixed;
  background-color: var(--g2, #3b5bfd);
  user-select: none;
  -webkit-user-select: none;
}

body { min-height: 100vh; min-height: 100dvh; }

#app {
  max-width: 560px;
  margin: 0 auto;
  padding: calc(env(safe-area-inset-top) + 14px) 16px calc(env(safe-area-inset-bottom) + 24px);
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

button {
  font: inherit;
  color: inherit;
  border: 0;
  cursor: pointer;
  touch-action: manipulation;
}

/* ---------- generic ---------- */
.card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 56px;
  padding: 12px 18px;
  border-radius: 18px;
  font-size: 1.15rem;
  font-weight: 800;
  background: var(--card);
  box-shadow: var(--shadow);
  transition: transform 0.08s ease, box-shadow 0.08s ease;
}
.btn:active { transform: translateY(4px); box-shadow: 0 2px 0 rgba(30, 27, 75, 0.18); }
.btn.primary { background: var(--yellow); font-size: 1.6rem; min-height: 72px; box-shadow: 0 6px 0 #c99a00; }
.btn.secondary { background: rgba(255, 255, 255, 0.92); }
.btn.go { background: var(--orange); color: #fff; box-shadow: 0 6px 0 #c2571a; }

.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 9px 14px;
  border-radius: 999px;
  background: #eef0ff;
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--ink);
}
.chip.on { background: var(--blue); color: #fff; }

.label { font-size: 0.8rem; font-weight: 900; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }

.icon-btn {
  width: 46px; height: 46px; border-radius: 14px;
  background: rgba(255, 255, 255, 0.25); color: #fff;
  font-size: 1.3rem; font-weight: 900;
  display: grid; place-items: center;
}

/* ---------- home ---------- */
.home { display: flex; flex-direction: column; gap: 14px; }
.home-top { display: flex; justify-content: space-between; align-items: center; }
.logo { text-align: center; color: #fff; margin: 4px 0 2px; }
.logo .globe { font-size: 4rem; display: inline-block; animation: spin 14s linear infinite; }
.logo h1 { margin: 0; font-size: 2.6rem; font-weight: 900; letter-spacing: -0.02em; text-shadow: 0 4px 0 rgba(30, 27, 75, 0.25); }
.logo p { margin: 4px 0 0; font-weight: 700; opacity: 0.95; }

.rank-card { display: flex; align-items: center; gap: 14px; }
.rank-badge { font-size: 2.4rem; }
.rank-info { flex: 1; min-width: 0; }
.rank-name { font-weight: 900; font-size: 1.2rem; }
.rank-sub { color: var(--muted); font-weight: 700; font-size: 0.9rem; }
.bar { height: 12px; background: #eef0ff; border-radius: 99px; overflow: hidden; margin-top: 6px; }
.bar > i { display: block; height: 100%; background: linear-gradient(90deg, var(--yellow), var(--orange)); border-radius: 99px; transition: width 0.5s ease; }

.lang-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.lang {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 8px 4px; border-radius: 16px; background: #eef0ff; font-weight: 800; font-size: 0.8rem;
}
.lang img { width: 40px; height: 30px; object-fit: cover; border-radius: 6px; box-shadow: 0 0 0 1px rgba(0,0,0,0.08); }
.lang.on { background: var(--blue); color: #fff; }

.settings { display: flex; flex-direction: column; gap: 14px; }

/* ---------- game ---------- */
.game { display: flex; flex-direction: column; gap: 12px; }
.hud { display: flex; align-items: center; gap: 8px; color: #fff; }
.hud .pill {
  background: rgba(255, 255, 255, 0.22);
  border-radius: 14px; padding: 8px 12px; font-weight: 900;
  display: flex; align-items: center; gap: 6px; white-space: nowrap;
}
.hud .spacer { flex: 1; }
.hud .pill.score { background: var(--yellow); color: var(--ink); }
.hud .pill.fire { background: var(--orange); }
.progress { height: 10px; background: rgba(255, 255, 255, 0.25); border-radius: 99px; overflow: hidden; }
.progress > i { display: block; height: 100%; background: var(--yellow); border-radius: 99px; transition: width 0.4s ease; }

.flag-card { padding: 14px; display: grid; place-items: center; }
.flag-card img {
  width: 100%; max-width: 360px; max-height: 26vh; aspect-ratio: 4 / 3; object-fit: contain;
  border-radius: 10px;
  filter: drop-shadow(0 4px 8px rgba(30, 27, 75, 0.25));
  animation: pop 0.45s cubic-bezier(.2, 1.6, .4, 1);
}

.q { display: flex; flex-direction: column; gap: 10px; transition: opacity 0.3s ease; }
.q h2 { margin: 2px 4px; font-size: 1.15rem; font-weight: 900; color: #fff; text-shadow: 0 2px 0 rgba(30, 27, 75, 0.25); }
.q.locked { opacity: 0.35; pointer-events: none; }
.q.hidden { display: none; }
.answers { display: flex; flex-direction: column; gap: 10px; }
.answer { justify-content: flex-start; text-align: left; font-size: 1.1rem; }
.answer .tag {
  flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: #eef0ff; font-weight: 900; color: var(--blue);
}
.answer.right { background: var(--green); color: #fff; box-shadow: 0 6px 0 var(--green-dark); animation: bounce 0.4s ease; }
.answer.right .tag { background: rgba(255,255,255,0.3); color: #fff; }
.answer.wrong { background: var(--red); color: #fff; box-shadow: 0 6px 0 var(--red-dark); animation: shake 0.4s ease; }
.answer.wrong .tag { background: rgba(255,255,255,0.3); color: #fff; }
.answer.dim { opacity: 0.5; }
.answers.done .answer { pointer-events: none; }

.next-wrap { margin-top: 4px; }

/* ---------- results ---------- */
.results { display: flex; flex-direction: column; gap: 14px; text-align: center; }
.results h1 { color: #fff; margin: 6px 0 0; font-size: 2.2rem; text-shadow: 0 4px 0 rgba(30, 27, 75, 0.25); }
.stars { font-size: 3.6rem; letter-spacing: 6px; }
.stars span { display: inline-block; animation: pop 0.5s cubic-bezier(.2, 1.6, .4, 1) both; }
.stars span.off { filter: grayscale(1); opacity: 0.35; }
.big-score { font-size: 3rem; font-weight: 900; }
.record { display: inline-block; background: var(--yellow); padding: 6px 14px; border-radius: 99px; font-weight: 900; animation: pulse 1s ease infinite; }
.stat-row { display: flex; justify-content: space-between; font-weight: 800; padding: 8px 2px; border-bottom: 2px dashed #eef0ff; }
.stat-row:last-child { border-bottom: 0; }
.mini-flags { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 8px; }
.mini-flags img { width: 44px; height: 33px; object-fit: cover; border-radius: 5px; box-shadow: 0 0 0 1px rgba(0,0,0,0.1); }

/* ---------- album ---------- */
.album { display: flex; flex-direction: column; gap: 12px; }
.album-head { display: flex; align-items: center; gap: 10px; color: #fff; }
.album-head h1 { margin: 0; font-size: 1.6rem; flex: 1; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 10px; }
.tile {
  position: relative; background: #fff; border-radius: 14px; padding: 8px 6px 6px;
  box-shadow: 0 4px 0 rgba(30, 27, 75, 0.15); text-align: center; font-size: 0.72rem; font-weight: 800;
  line-height: 1.15;
}
.tile img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; box-shadow: 0 0 0 1px rgba(0,0,0,0.08); display: block; margin-bottom: 5px; }
.tile.got::after {
  content: "★"; position: absolute; top: -6px; right: -6px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--yellow); display: grid; place-items: center; font-size: 0.85rem; box-shadow: 0 2px 0 #c99a00;
}

.modal-bg {
  position: fixed; inset: 0; background: rgba(30, 27, 75, 0.55); display: grid; place-items: center; padding: 20px; z-index: 20;
  animation: fade 0.2s ease;
}
.modal { width: 100%; max-width: 380px; text-align: center; animation: pop 0.35s cubic-bezier(.2, 1.6, .4, 1); }
.modal img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; filter: drop-shadow(0 4px 8px rgba(30, 27, 75, 0.25)); }
.modal h2 { margin: 12px 0 4px; font-size: 1.6rem; }
.modal p { margin: 0 0 14px; font-weight: 800; color: var(--muted); }
.modal p b { color: var(--ink); font-size: 1.2rem; }

.privacy-link { text-align: center; }
.privacy-link a { color: rgba(255,255,255,0.85); font-weight: 700; font-size: 0.85rem; }

/* ---------- home: top bar, daily, modes, nav ---------- */
.home-top { gap: 10px; }
.home-top .spacer { flex: 1; }
.avatar {
  width: 52px; height: 52px; border-radius: 50%; background: #fff; font-size: 1.9rem;
  display: grid; place-items: center; box-shadow: 0 4px 0 rgba(30, 27, 75, 0.2);
}
.pill.coin { background: var(--yellow); color: var(--ink); border-radius: 14px; padding: 8px 12px; font-weight: 900; white-space: nowrap; }
.logo.small .globe { font-size: 2.8rem; }
.logo.small h1 { font-size: 2.2rem; }

.daily { display: flex; flex-direction: column; gap: 12px; }
.daily-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.daily-head .pill.fire { color: #fff; background: var(--orange); border-radius: 14px; padding: 6px 10px; font-weight: 900; font-size: 0.85rem; white-space: nowrap; }
.daily.is-done { background: #ecfdf3; }
.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.day { background: #eef0ff; border-radius: 12px; padding: 6px 0; text-align: center; font-weight: 900; font-size: 0.8rem; color: var(--muted); }
.day b { display: block; font-size: 1rem; margin-top: 2px; }
.day.done { background: #dcfce7; color: var(--green-dark); }
.day.today { box-shadow: inset 0 0 0 3px var(--blue); }

.section-title { margin: 6px 4px -4px; color: #fff; font-weight: 900; font-size: 1.2rem; text-shadow: 0 2px 0 rgba(30, 27, 75, 0.25); }
.mode-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.mode {
  display: flex; align-items: center; gap: 10px; text-align: left;
  background: #fff; border-radius: 18px; padding: 12px; box-shadow: var(--shadow);
  transition: transform 0.08s ease, box-shadow 0.08s ease;
}
.mode:active { transform: translateY(4px); box-shadow: 0 2px 0 rgba(30, 27, 75, 0.18); }
.mode.wide { grid-column: span 2; background: var(--yellow); box-shadow: 0 6px 0 #c99a00; padding: 16px; }
.mode.wide .m-name { font-size: 1.5rem; }
.m-icon { font-size: 2rem; flex: none; }
.mode:not(.wide) { flex-direction: column; text-align: center; gap: 4px; padding: 12px 6px; }
.m-text { display: flex; flex-direction: column; min-width: 0; }
.m-name { font-weight: 900; font-size: 1rem; line-height: 1.1; overflow-wrap: break-word; }
.m-desc { font-weight: 700; font-size: 0.78rem; color: var(--muted); margin-top: 2px; }
.mode.wide .m-desc { color: #6b5300; }

.note { margin-top: 10px; background: #fff6d6; border-radius: 12px; padding: 10px 12px; font-weight: 800; font-size: 0.9rem; }

.nav-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.nav {
  position: relative; background: rgba(255, 255, 255, 0.95); border-radius: 18px; padding: 12px 8px;
  box-shadow: var(--shadow); font-weight: 900; display: flex; flex-direction: column; align-items: center; gap: 2px;
}
.nav > span { font-size: 1.8rem; }
.nav small { font-weight: 700; color: var(--muted); font-size: 0.75rem; }
.nav .badge {
  position: absolute; top: -6px; right: -6px; min-width: 26px; height: 26px; border-radius: 13px; padding: 0 6px;
  background: var(--red); color: #fff; font-style: normal; display: grid; place-items: center; animation: pulse 1s ease infinite;
}

/* ---------- game extras ---------- */
.pill.timer.hurry { background: var(--red); animation: pulse 0.5s ease infinite; }
.survival-count { color: #fff; font-weight: 900; text-align: center; }
.name-hero { text-align: center; font-size: 1.9rem; font-weight: 900; padding: 26px 16px; animation: pop 0.45s cubic-bezier(.2, 1.6, .4, 1); }
.answers.flag-opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.answers.flag-opts .flag-opt:last-child { grid-column: span 2; width: calc(50% - 6px); justify-self: center; }
.flag-opt {
  background: #fff; border-radius: 16px; padding: 8px; box-shadow: var(--shadow);
  transition: transform 0.08s ease;
}
.flag-opt img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; display: block; }
.flag-opt.right { background: var(--green); box-shadow: 0 6px 0 var(--green-dark); animation: bounce 0.4s ease; }
.flag-opt.wrong { background: var(--red); box-shadow: 0 6px 0 var(--red-dark); animation: shake 0.4s ease; }
.flag-opt.dim { opacity: 0.45; }
.write-box { display: flex; flex-direction: column; gap: 10px; }
.write-box input, .duel-name {
  width: 100%; font: inherit; font-size: 1.3rem; font-weight: 800; padding: 12px 14px;
  border: 3px solid #eef0ff; border-radius: 14px; outline: none; color: var(--ink); background: #fff;
  user-select: text; -webkit-user-select: text;
}
.write-box input:focus, .duel-name:focus { border-color: var(--blue); }
.write-box input.right { border-color: var(--green); background: #ecfdf3; }
.write-box input.wrong { border-color: var(--red); background: #fef2f2; }
.hint-text { min-height: 1.4em; font-weight: 900; font-size: 1.2rem; letter-spacing: 0.04em; text-align: center; }
.write-btns { display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; }
.duel-name + .duel-name { margin-top: 10px; }

.duel-scores { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.duel-scores > div { background: #eef0ff; border-radius: 14px; padding: 10px; display: flex; flex-direction: column; font-size: 1.1rem; }
.duel-scores > div.on { background: var(--yellow); }
.duel-scores span { font-weight: 900; font-size: 1.4rem; }
.pass .big-emoji { font-size: 4rem; animation: bounce 1s ease infinite; }

/* ---------- missions & shop ---------- */
.mission { display: flex; flex-direction: column; gap: 8px; }
.mission.claimed { opacity: 0.65; }
.mission-top, .mission-bottom { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.btn.claim { width: auto; min-height: 42px; font-size: 1rem; padding: 8px 18px; animation: pulse 1s ease infinite; }
.album-head .pill.coin { flex: none; }
.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); gap: 10px; }
.shop-grid.themes { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.shop-item {
  background: #eef0ff; border-radius: 16px; padding: 10px 6px; display: flex; flex-direction: column; align-items: center; gap: 4px;
  font-weight: 900; font-size: 0.8rem;
}
.shop-item.using { background: #dcfce7; box-shadow: inset 0 0 0 3px var(--green); }
.shop-item.locked { opacity: 0.55; }
.shop-emoji { font-size: 2.4rem; }
.swatch { width: 100%; height: 48px; border-radius: 10px; }
.shop-name { font-size: 0.95rem; }

/* ---------- name & class ---------- */
.who { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0; }
.player-name { background: none; color: #fff; font-weight: 900; font-size: 1.05rem; padding: 0; text-shadow: 0 2px 0 rgba(30, 27, 75, 0.25); max-width: 200px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.welcome .logo h1 { font-size: 1.8rem; }
.joining { background: var(--yellow); font-weight: 900; font-size: 1.2rem; text-align: center; animation: pop 0.45s cubic-bezier(.2, 1.6, .4, 1); }
.name-card input, #ctitle, #ccode {
  width: 100%; font: inherit; font-size: 1.3rem; font-weight: 800; padding: 12px 14px; margin: 4px 0 6px;
  border: 3px solid #eef0ff; border-radius: 14px; outline: none; color: var(--ink); background: #fff;
  user-select: text; -webkit-user-select: text;
}
.name-card input:focus { border-color: var(--blue); }
.class-btn { font-size: 1.1rem; }
.invite { display: flex; flex-direction: column; gap: 10px; text-align: center; }
.class-code { font-size: 1.5rem; letter-spacing: 0.2em; color: var(--blue); }
.invite-btns { display: grid; gap: 10px; }
a.btn { text-decoration: none; color: var(--ink); }
.btn.wa { background: #25d366; color: #fff; box-shadow: 0 6px 0 #128c4a; }
.ranking { display: flex; flex-direction: column; gap: 6px; }
.rank-row { display: flex; align-items: center; gap: 10px; padding: 8px 6px; border-radius: 12px; font-weight: 800; }
.rank-row.me { background: #fff6d6; }
.rank-row .pos { width: 30px; text-align: center; font-size: 1.2rem; flex: none; }
.r-avatar { font-size: 1.5rem; flex: none; }
.r-name { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.r-name small { color: var(--muted); }
.r-val { font-weight: 900; white-space: nowrap; }
.r-del { background: #fee2e2; color: var(--red-dark); width: 30px; height: 30px; border-radius: 10px; font-weight: 900; flex: none; }
.tabs .chip { background: rgba(255, 255, 255, 0.9); }
.tabs .chip.on { background: var(--blue); }

/* ---------- trophies ---------- */
.trophy-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.trophy {
  background: #eef0ff; border-radius: 16px; padding: 12px 8px; text-align: center;
  filter: grayscale(1); opacity: 0.6;
}
.card .trophy { background: #fff6d6; }
.trophy.on { background: #fff; filter: none; opacity: 1; box-shadow: 0 4px 0 rgba(30, 27, 75, 0.15), inset 0 0 0 3px var(--yellow); animation: pop 0.45s cubic-bezier(.2, 1.6, .4, 1); }
.t-icon { font-size: 2.2rem; }
.t-name { font-weight: 900; margin-top: 4px; }
.t-desc { font-size: 0.78rem; font-weight: 700; color: var(--muted); margin-top: 2px; }
.diploma-btn { margin-top: 10px; font-size: 1rem; min-height: 48px; }
.album-done { font-size: 1.5rem; font-weight: 900; background: var(--yellow); animation: pulse 1s ease infinite; }

/* ---------- diploma ---------- */
.name-card { display: block; }
.name-card input {
  width: 100%; font: inherit; font-size: 1.3rem; font-weight: 800; padding: 10px 14px;
  border: 3px solid #eef0ff; border-radius: 14px; outline: none; color: var(--ink); user-select: text; -webkit-user-select: text;
}
.name-card input:focus { border-color: var(--blue); }
.diploma {
  background: #fffaf0; border-radius: 10px; padding: 26px 18px 20px; text-align: center;
  border: 8px solid #d4a017; outline: 3px solid var(--blue); outline-offset: -18px;
  box-shadow: 0 10px 0 rgba(30, 27, 75, 0.2); animation: pop 0.6s cubic-bezier(.2, 1.6, .4, 1);
}
.d-medal { font-size: 3.6rem; }
.d-kicker { font-weight: 900; letter-spacing: 0.25em; text-transform: uppercase; color: var(--muted); font-size: 0.85rem; }
.d-title { font-weight: 900; font-size: 1.9rem; color: var(--blue); line-height: 1.1; margin: 4px 0 12px; }
.d-small { font-weight: 700; color: var(--muted); }
.d-name { font-weight: 900; font-size: 2.2rem; border-bottom: 3px solid #d4a017; display: inline-block; min-width: 60%; padding: 0 10px 4px; margin: 4px 0 12px; word-break: break-word; }
.d-text { font-weight: 700; }
.d-foot { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; margin-top: 16px; font-size: 0.85rem; font-weight: 800; color: var(--muted); }

/* ---------- effects ---------- */
#fx { position: fixed; inset: 0; pointer-events: none; overflow: hidden; z-index: 30; }
.toast {
  position: absolute; left: 50%; top: 38%; transform: translate(-50%, -50%);
  font-size: 2.2rem; font-weight: 900; color: #fff; white-space: nowrap;
  text-shadow: 0 4px 0 rgba(30, 27, 75, 0.35);
  animation: toast 1.1s ease forwards;
}
.toast.bad { font-size: 1.7rem; }
.plus { position: absolute; font-weight: 900; font-size: 1.6rem; color: var(--yellow); text-shadow: 0 3px 0 rgba(30, 27, 75, 0.35); animation: rise 1s ease forwards; }
.confetti { position: absolute; top: -20px; width: 10px; height: 14px; border-radius: 3px; animation: fall linear forwards; }

@keyframes pop { from { transform: scale(0.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes bounce { 0%,100% { transform: scale(1); } 50% { transform: scale(1.05); } }
@keyframes shake { 0%,100% { transform: translateX(0); } 25% { transform: translateX(-8px); } 75% { transform: translateX(8px); } }
@keyframes pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.08); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fade { from { opacity: 0; } }
@keyframes toast {
  0% { transform: translate(-50%, -50%) scale(0.4); opacity: 0; }
  20% { transform: translate(-50%, -50%) scale(1.15); opacity: 1; }
  35% { transform: translate(-50%, -50%) scale(1); }
  80% { opacity: 1; }
  100% { transform: translate(-50%, -80%) scale(1); opacity: 0; }
}
@keyframes rise { from { transform: translateY(0); opacity: 1; } to { transform: translateY(-70px); opacity: 0; } }
@keyframes fall { to { transform: translateY(110vh) rotate(720deg); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}
