/* ============================ TypingFun styles ============================ */
:root {
  --ink: #f6f4ff;
  --muted: rgba(246, 244, 255, 0.62);
  --card: rgba(255, 255, 255, 0.07);
  --card-strong: rgba(255, 255, 255, 0.12);
  --line: rgba(255, 255, 255, 0.14);
  --good: #4ade80;
  --bad: #ff5d6c;
  --pending: rgba(246, 244, 255, 0.32);
  --radius: 20px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}

/* ----- themes ----- */
body[data-theme="neon"]   { --bg-1:#2a0a4a; --bg-2:#07071c; --accent:#ff2d95; --accent2:#19e3ff; }
body[data-theme="forest"] { --bg-1:#0f3d2e; --bg-2:#05140e; --accent:#7CFFB2; --accent2:#ffe066; }
body[data-theme="ocean"]  { --bg-1:#0a2a5e; --bg-2:#03101f; --accent:#38d6ff; --accent2:#7ce0c6; }
body[data-theme="sunset"] { --bg-1:#5e1a3a; --bg-2:#1a0712; --accent:#ff8a3d; --accent2:#ffd23f; }
body[data-theme="galaxy"] { --bg-1:#1a1145; --bg-2:#05030f; --accent:#a98bff; --accent2:#ff7ad9; }
body[data-theme="candy"]  { --bg-1:#7a2a6a; --bg-2:#2a0b33; --accent:#ff8fd4; --accent2:#8fd4ff; }

* { box-sizing: border-box; }

html, body {
  margin: 0;
  height: 100%;
  overflow: hidden;
  color: var(--ink);
  font-family: 'Fredoka', 'Baloo 2', system-ui, -apple-system, 'Segoe UI', sans-serif;
  -webkit-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

/* ----- animated background ----- */
.bg-gradient {
  position: fixed; inset: 0; z-index: -3;
  background:
    radial-gradient(60% 60% at 15% 10%, var(--accent) 0%, transparent 45%),
    radial-gradient(55% 55% at 90% 20%, var(--accent2) 0%, transparent 45%),
    radial-gradient(80% 80% at 50% 110%, var(--bg-1) 0%, var(--bg-2) 70%);
  background-color: var(--bg-2);
  filter: saturate(1.05);
  animation: bgshift 18s ease-in-out infinite alternate;
  transition: background 0.6s ease;
}
@keyframes bgshift {
  0%   { background-position: 0% 0%, 100% 0%, 50% 100%; }
  100% { background-position: 20% 10%, 80% 15%, 50% 90%; }
}
#particles, #confetti {
  position: fixed; inset: 0; z-index: -2;
  width: 100%; height: 100%;
  pointer-events: none;
}
#confetti { z-index: 60; }

/* ----- back link + topbar ----- */
.back-link {
  position: fixed; top: 14px; left: 16px; z-index: 40;
  color: var(--ink); text-decoration: none; font-weight: 600;
  background: var(--card); border: 1px solid var(--line);
  padding: 7px 12px; border-radius: 999px; backdrop-filter: blur(8px);
  font-size: 14px; transition: transform .15s, background .15s;
}
.back-link:hover { transform: translateY(-1px); background: var(--card-strong); }

.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 18px 12px 130px; gap: 12px;
}
.brand { display: flex; align-items: center; gap: 8px; font-size: 20px; font-weight: 700; }
.brand-logo { font-size: 22px; filter: drop-shadow(0 2px 6px rgba(0,0,0,.4)); }
.brand-name b { color: var(--accent); }
.hud { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.hud-pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--card); border: 1px solid var(--line);
  padding: 6px 11px; border-radius: 999px; font-size: 14px; font-weight: 600;
  backdrop-filter: blur(8px); color: var(--ink);
}
.level-pill { cursor: pointer; padding: 5px 8px 5px 10px; }
.lvl-num {
  display: inline-grid; place-items: center; min-width: 22px; height: 22px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #0b0b1c; border-radius: 999px; font-weight: 800; font-size: 13px; padding: 0 5px;
}
.xp-track { width: 64px; height: 7px; border-radius: 999px; background: rgba(255,255,255,.16); overflow: hidden; }
.xp-fill { display: block; height: 100%; width: 0%; border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent2)); transition: width .5s cubic-bezier(.2,.9,.2,1); }
.icon-btn {
  width: 38px; height: 38px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--card); color: var(--ink); font-size: 18px; cursor: pointer;
  backdrop-filter: blur(8px); transition: transform .15s, background .15s;
}
.icon-btn:hover { transform: translateY(-2px); background: var(--card-strong); }
.icon-btn:active { transform: scale(.94); }

/* ----- stage / screens ----- */
.stage {
  position: fixed; inset: 0;
  display: grid; place-items: center;
  padding: 86px 18px 18px;
  padding-bottom: max(18px, env(safe-area-inset-bottom));
  overflow-y: auto;
}
.screen { display: none; width: 100%; max-width: 920px; animation: fadeUp .45s ease both; }
.screen.is-active { display: block; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ----- menu ----- */
.menu-screen { text-align: center; }
.title-big {
  font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: clamp(46px, 9vw, 96px);
  margin: 4px 0 6px; line-height: 1; letter-spacing: -1px;
}
.t-grad { background: linear-gradient(120deg, var(--accent), var(--accent2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.t-pop { color: var(--ink); }
.title-cursor { color: var(--accent2); animation: blink 1s steps(1) infinite; font-weight: 400; }
@keyframes blink { 50% { opacity: 0; } }
.subtitle { color: var(--muted); font-size: clamp(14px, 2.2vw, 18px); margin: 0 auto 26px; max-width: 560px; }

.mode-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 16px; margin-bottom: 22px;
}
.mode-card {
  position: relative; overflow: hidden; cursor: pointer; text-align: left;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 18px; color: var(--ink); backdrop-filter: blur(10px);
  transition: transform .2s cubic-bezier(.2,.9,.2,1), box-shadow .2s, border-color .2s;
}
.mode-card::before {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .25s;
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 22%, transparent), transparent 60%);
}
.mode-card:hover { transform: translateY(-6px) scale(1.02); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--accent) 60%, transparent); }
.mode-card:hover::before { opacity: 1; }
.mode-card:active { transform: translateY(-2px) scale(.99); }
.mode-icon { font-size: 34px; display: block; margin-bottom: 8px; }
.mode-name { font-size: 21px; font-weight: 700; font-family: 'Baloo 2', sans-serif; }
.mode-desc { color: var(--muted); font-size: 13.5px; margin-top: 4px; line-height: 1.35; }
.mode-best { margin-top: 12px; font-size: 12.5px; color: var(--accent2); font-weight: 600; min-height: 16px; }

.menu-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 18px; }
.ghost-btn {
  background: var(--card); border: 1px solid var(--line); color: var(--ink);
  padding: 10px 18px; border-radius: 999px; font-size: 15px; font-weight: 600; cursor: pointer;
  backdrop-filter: blur(8px); transition: transform .15s, background .15s; font-family: inherit;
}
.ghost-btn:hover { transform: translateY(-2px); background: var(--card-strong); }
.ghost-btn:active { transform: scale(.96); }

.menu-filters { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.filter { display: flex; flex-direction: column; gap: 5px; text-align: left; font-size: 12.5px; color: var(--muted); }
.filter select {
  background: var(--card-strong); color: var(--ink); border: 1px solid var(--line);
  border-radius: 12px; padding: 9px 12px; font-size: 14px; font-family: inherit; cursor: pointer; min-width: 160px;
}
.filter select option { background: #16142e; color: var(--ink); }

/* ----- game ----- */
.game-top { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.chip-btn {
  width: 40px; height: 40px; flex: none; border-radius: 12px; border: 1px solid var(--line);
  background: var(--card); color: var(--ink); font-size: 18px; cursor: pointer; transition: transform .15s, background .15s;
}
.chip-btn:hover { background: var(--card-strong); transform: translateY(-1px); }
.stat-chips { display: flex; gap: 10px; flex: 1; flex-wrap: wrap; }
.chip {
  flex: 1; min-width: 84px; background: var(--card); border: 1px solid var(--line);
  border-radius: 14px; padding: 9px 12px; backdrop-filter: blur(8px); text-align: center;
}
.chip-label { display: block; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.chip-val { display: block; font-size: 24px; font-weight: 800; font-family: 'Baloo 2', sans-serif; line-height: 1.1; }
.combo-chip { transition: transform .12s; }
.combo-chip.bump { transform: scale(1.12); }
.combo-chip .chip-val { color: var(--accent2); }

.fact-meta { display: flex; gap: 8px; align-items: center; margin-bottom: 10px; }
.cat-badge, .diff-badge {
  font-size: 12.5px; font-weight: 600; padding: 5px 11px; border-radius: 999px;
  background: var(--card); border: 1px solid var(--line);
}
.diff-badge { text-transform: capitalize; color: var(--accent2); }

.type-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 26px 18px; backdrop-filter: blur(12px); box-shadow: var(--shadow);
}
.passage {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: clamp(20px, 3.4vw, 30px); line-height: 1.75; letter-spacing: .3px;
  word-break: break-word; min-height: 1.75em;
}
.passage .ch { position: relative; transition: color .08s; }
.passage .ch.pending { color: var(--pending); }
.passage .ch.correct { color: var(--good); }
.passage .ch.wrong { color: var(--bad); background: color-mix(in srgb, var(--bad) 28%, transparent); border-radius: 4px; }
.passage .ch.wrong.space { background: color-mix(in srgb, var(--bad) 45%, transparent); }
.passage .ch.current {
  color: var(--ink);
  border-bottom: 3px solid var(--accent);
  animation: caretpulse 1.05s ease-in-out infinite;
}
.passage .ch.pop { animation: chpop .18s ease; }
@keyframes chpop { 0% { transform: scale(1); } 40% { transform: scale(1.45); } 100% { transform: scale(1); } }
@keyframes caretpulse { 50% { border-color: var(--accent2); } }
.passage.shake { animation: shake .25s; }
@keyframes shake { 0%,100%{transform:translateX(0)} 25%{transform:translateX(-5px)} 75%{transform:translateX(5px)} }

.progress-track { margin-top: 16px; height: 8px; border-radius: 999px; background: rgba(255,255,255,.12); overflow: hidden; }
.progress-fill { height: 100%; width: 0%; border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent2)); transition: width .12s linear; }

.combo-flair { height: 30px; text-align: center; margin: 10px 0 2px; font-weight: 800;
  font-family: 'Baloo 2', sans-serif; font-size: 22px; color: var(--accent2); pointer-events: none; }
.combo-flair .burst { display: inline-block; animation: comboIn .4s ease; }
@keyframes comboIn { 0%{ opacity:0; transform: translateY(8px) scale(.7);} 60%{ transform: translateY(0) scale(1.15);} 100%{opacity:1; transform: none;} }

/* ----- keyboard ----- */
.keyboard { display: flex; flex-direction: column; gap: 7px; align-items: center; margin-top: 16px; }
.kb-row { display: flex; gap: 7px; }
.key {
  min-width: 38px; height: 42px; padding: 0 10px; border-radius: 10px;
  display: grid; place-items: center; font-size: 14px; font-weight: 600;
  background: var(--card); border: 1px solid var(--line); color: var(--muted);
  font-family: 'JetBrains Mono', monospace; transition: transform .08s, background .12s, color .12s, box-shadow .12s;
  -webkit-user-select: none; user-select: none;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation; cursor: pointer;
}
.key.wide { min-width: 96px; }
.key.space { min-width: 260px; }
.key.backspace { color: var(--ink); }
.key.next {
  color: #0b0b1c; background: linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow: 0 0 18px color-mix(in srgb, var(--accent) 70%, transparent); transform: translateY(-2px);
}
.key.press { transform: translateY(2px) scale(.94); background: var(--card-strong); color: var(--ink); }
.kb-hint { text-align: center; color: var(--muted); font-size: 13px; margin-top: 12px; }
body.hide-kb .keyboard, body.hide-kb .kb-hint { display: none; }

/* Touch-only devices have no physical keyboard, so the on-screen keyboard is the
   only way to type. Force it visible (and give roomier tap targets) even when the
   "show keyboard" setting is off — otherwise the game is unplayable. */
@media (pointer: coarse) {
  body.hide-kb .keyboard { display: flex; }
  body.hide-kb .kb-hint { display: block; }
}

.go-flash {
  position: fixed; inset: 0; display: grid; place-items: center; pointer-events: none; z-index: 50;
  font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: 16vw; color: var(--accent2);
  opacity: 0; text-shadow: 0 8px 40px rgba(0,0,0,.5);
}
.go-flash.show { animation: goflash .7s ease; }
@keyframes goflash { 0%{opacity:0; transform: scale(.4);} 30%{opacity:1; transform: scale(1);} 100%{opacity:0; transform: scale(1.6);} }

/* ----- results ----- */
.results-screen { display: none; }
.results-screen.is-active { display: grid; place-items: center; }
.results-card {
  background: var(--card-strong); border: 1px solid var(--line); border-radius: 26px;
  padding: 30px 28px; text-align: center; backdrop-filter: blur(16px); box-shadow: var(--shadow);
  max-width: 560px; width: 100%; animation: popin .5s cubic-bezier(.2,.9,.2,1) both;
}
@keyframes popin { 0%{ opacity:0; transform: scale(.85) translateY(14px);} 100%{opacity:1; transform:none;} }
.results-grade {
  display: inline-block; font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: 15px;
  letter-spacing: .12em; text-transform: uppercase; padding: 6px 16px; border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent2)); color: #0b0b1c; margin-bottom: 10px;
}
.results-title { font-family: 'Baloo 2', sans-serif; font-size: 30px; margin: 0 0 20px; }
.results-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 18px; }
.rstat { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 14px 8px; }
.rstat-val { font-family: 'Baloo 2', sans-serif; font-size: 30px; font-weight: 800; color: var(--accent2); }
.rstat-label { font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-top: 2px; }
.rewards { display: flex; gap: 12px; justify-content: center; margin-bottom: 22px; }
.reward { font-size: 17px; font-weight: 700; padding: 8px 16px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); }
.xp-reward b { color: var(--accent); }
.results-actions { display: flex; gap: 12px; justify-content: center; }
.primary-btn {
  background: linear-gradient(135deg, var(--accent), var(--accent2)); color: #0b0b1c;
  border: none; padding: 13px 30px; border-radius: 999px; font-size: 17px; font-weight: 800;
  cursor: pointer; font-family: 'Baloo 2', sans-serif; transition: transform .15s, box-shadow .15s;
  box-shadow: 0 10px 24px color-mix(in srgb, var(--accent) 40%, transparent);
}
.primary-btn:hover { transform: translateY(-2px); }
.primary-btn:active { transform: scale(.96); }
/* results-screen input lock: a leftover keystroke/tap can't fire Next for ~2s */
.primary-btn:disabled, .ghost-btn:disabled {
  opacity: .5; filter: saturate(.55); cursor: default; pointer-events: none;
  transform: none; box-shadow: none;
}

/* ----- overlays / panels ----- */
.overlay {
  position: fixed; inset: 0; z-index: 70; display: none; place-items: center;
  background: rgba(5, 4, 16, 0.62); backdrop-filter: blur(6px); padding: 20px;
}
.overlay.show { display: grid; animation: fadeUp .25s ease both; }
.panel {
  background: linear-gradient(160deg, color-mix(in srgb, var(--bg-1) 70%, #16142e), var(--bg-2));
  border: 1px solid var(--line); border-radius: 24px; padding: 24px;
  max-width: 640px; width: 100%; max-height: 86vh; overflow-y: auto; box-shadow: var(--shadow);
}
.panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.panel-head h2 { margin: 0; font-family: 'Baloo 2', sans-serif; font-size: 24px; }
.panel-close {
  width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--card); color: var(--ink); font-size: 18px; cursor: pointer;
}
.panel-close:hover { background: var(--card-strong); }

.setting-row { display: flex; align-items: center; justify-content: space-between; padding: 13px 2px; border-bottom: 1px solid var(--line); gap: 12px; }
.setting-row:last-child { border-bottom: none; }
.setting-row .label { font-weight: 600; }
.setting-row .sub { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.switch { position: relative; width: 52px; height: 30px; flex: none; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider {
  position: absolute; inset: 0; cursor: pointer; border-radius: 999px;
  background: rgba(255,255,255,.18); transition: .25s; border: 1px solid var(--line);
}
.slider::before {
  content: ""; position: absolute; height: 22px; width: 22px; left: 4px; top: 3px;
  background: #fff; border-radius: 50%; transition: .25s;
}
.switch input:checked + .slider { background: linear-gradient(135deg, var(--accent), var(--accent2)); }
.switch input:checked + .slider::before { transform: translateX(21px); }

.theme-grid, .achv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.theme-card {
  cursor: pointer; border-radius: 16px; padding: 14px; border: 2px solid var(--line);
  position: relative; overflow: hidden; transition: transform .15s, border-color .15s; text-align: center;
}
.theme-card:hover { transform: translateY(-3px); }
.theme-card.active { border-color: var(--accent); }
.theme-swatch { height: 46px; border-radius: 10px; margin-bottom: 9px; }
.theme-name { font-weight: 700; font-size: 14.5px; }
.theme-cost { font-size: 12px; color: var(--muted); margin-top: 2px; }
.theme-card.locked { opacity: .85; }
.theme-card.locked .theme-name::after { content: " 🔒"; }

.achv-card {
  display: flex; gap: 11px; align-items: center; padding: 13px;
  border: 1px solid var(--line); border-radius: 14px; background: var(--card);
}
.achv-card.locked { opacity: .42; filter: grayscale(.8); }
.achv-ic { font-size: 28px; flex: none; }
.achv-t { font-weight: 700; font-size: 14.5px; }
.achv-d { font-size: 12px; color: var(--muted); margin-top: 1px; }

.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 12px; }
.stat-box { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px; text-align: center; }
.stat-box .v { font-family: 'Baloo 2', sans-serif; font-size: 26px; font-weight: 800; color: var(--accent2); }
.stat-box .k { font-size: 12px; color: var(--muted); margin-top: 3px; }

/* ----- toasts + level up ----- */
.toast-wrap { position: fixed; top: 64px; right: 16px; z-index: 90; display: flex; flex-direction: column; gap: 10px; }
.toast {
  display: flex; gap: 11px; align-items: center; min-width: 240px; max-width: 320px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 30%, #16142e), #16142e);
  border: 1px solid color-mix(in srgb, var(--accent) 50%, transparent); border-radius: 14px;
  padding: 12px 14px; box-shadow: var(--shadow); animation: toastIn .4s cubic-bezier(.2,.9,.2,1) both;
}
.toast.out { animation: toastOut .4s ease forwards; }
@keyframes toastIn { from { opacity:0; transform: translateX(60px); } to { opacity:1; transform:none; } }
@keyframes toastOut { to { opacity:0; transform: translateX(60px); } }
.toast-ic { font-size: 28px; }
.toast-sub { font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.toast-t { font-weight: 700; font-size: 15px; }

.levelup-banner {
  position: fixed; top: 0; left: 0; right: 0; z-index: 95; display: flex; justify-content: center;
  pointer-events: none; transform: translateY(-120%); transition: transform .5s cubic-bezier(.2,.9,.2,1);
}
.levelup-banner.show { transform: translateY(0); }
.lub-inner {
  margin-top: 70px; background: linear-gradient(135deg, var(--accent), var(--accent2)); color: #0b0b1c;
  font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: 22px; padding: 12px 26px;
  border-radius: 999px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 8px;
}
.lub-icon { animation: spin 1.4s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ----- responsive ----- */
@media (max-width: 640px) {
  .topbar { padding: 10px 12px; flex-direction: column; align-items: stretch; gap: 8px; }
  .back-link { top: 10px; }
  .brand { justify-content: center; }
  .stage { padding-top: 120px; }
  .results-stats { grid-template-columns: repeat(2, 1fr); }
  .key { min-width: 30px; height: 38px; font-size: 12px; padding: 0 6px; }
  .key.space { min-width: 150px; }
  .key.wide { min-width: 64px; }
}
@media (max-width: 420px) {
  .key { min-width: 24px; height: 34px; font-size: 11px; }
}

/* On touch devices keep comfortable tap targets regardless of width. Placed last
   so it wins over the width-based shrink rules above for overlapping props.
   But on narrow phones (<=420px) we must shrink keys so row 2 (10 keys + gaps)
   still fits within ~375px — 36px × 10 + 7px × 9 gaps = 423px > 375px = overflow.
   At 24px × 10 + 7px × 9 gaps = 303px which fits. So we cap at 24px on <=420px. */
@media (pointer: coarse) and (min-width: 421px) {
  .key { min-width: 36px; height: 46px; font-size: 14px; padding: 0 8px; }
  .key.space { min-width: 180px; }
  .key.wide { min-width: 60px; }
  .icon-btn { min-height: 44px; height: 44px; }
  .ghost-btn { min-height: 44px; }
}
@media (pointer: coarse) and (max-width: 420px) {
  .key { min-width: 24px; height: 40px; font-size: 11px; padding: 0 4px; }
  .key.space { min-width: 120px; }
  .key.wide { min-width: 50px; }
  .icon-btn { min-height: 44px; height: 44px; }
  .ghost-btn { min-height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .05ms !important; }
  .bg-gradient { animation: none; }
}
