/* «Квиз дня» — Mini App. Цвета и стиль — как у картинок бота. */
:root {
  --bg1: #0A0C18; --bg2: #161A30; --panel: #181D34; --panel2: #121629; --line: #2E365C;
  --text: #EEF2FF; --muted: #929CBE; --dim: #4E587A;
  --accent: #2DD4BF; --accent-ink: #04201C; --accent-bg: #123A3A;
  --gold: #FACC15; --good: #4ADE80; --bad: #F87171; --blue: #60A5FA;
  --shadow-card: 0 14px 28px -12px rgba(0,0,0,.75), inset 0 1px 0 rgba(255,255,255,.06), inset 0 -2px 0 rgba(0,0,0,.25);
  --shadow-hero: 0 22px 40px -14px rgba(0,0,0,.85), inset 0 1px 0 rgba(255,255,255,.14), inset 0 -3px 0 rgba(0,0,0,.3);
  /* Полный экран Telegram: сверху системная полоса и кнопки Telegram «закрыть/меню».
     Telegram сам задаёт эти переменные; в обычном окне они равны 0. */
  --top-inset: calc(var(--tg-safe-area-inset-top, 0px) + var(--tg-content-safe-area-inset-top, 0px));
  --shadow-btn: inset 0 1px 0 rgba(255,255,255,.22), inset 0 -3px 0 rgba(0,0,0,.28), 0 8px 16px -6px rgba(0,0,0,.65);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; background: var(--bg1); }
body {
  color: var(--text); min-height: 100vh;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: linear-gradient(180deg, var(--bg1) 0%, var(--bg2) 100%) fixed;
}
button { font: inherit; color: inherit; cursor: pointer; }
#app { max-width: 520px; margin: 0 auto; min-height: 100vh; display: flex; flex-direction: column; }
#screen { flex: 1; padding: calc(18px + var(--top-inset)) 16px calc(96px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 14px; }
h1 { margin: 0; font-size: 26px; font-weight: 900; text-shadow: 0 3px 0 rgba(0,0,0,.3); }
h2 { margin: 6px 0 0; font-size: 17px; font-weight: 900; }
.muted { color: var(--muted); }
.row { display: flex; align-items: center; gap: 12px; }
.between { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
svg.i { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* ---------- карточки и кнопки (объём) ---------- */
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 16px; box-shadow: var(--shadow-card); }
.hero { border-radius: 24px; padding: 18px; background: linear-gradient(135deg, #3B2A06 0%, #1F1A30 75%); border: 1px solid #6B5310; box-shadow: var(--shadow-hero); }
.btn {
  height: 50px; padding: 0 20px; border: none; border-radius: 15px; font-size: 15px; font-weight: 900;
  background: var(--accent); color: var(--accent-ink); box-shadow: var(--shadow-btn);
  transition: transform .08s, box-shadow .08s; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
}
.btn:active, .tile:active, .icon-btn:active { transform: translateY(2px); box-shadow: inset 0 1px 0 rgba(255,255,255,.15), inset 0 -1px 0 rgba(0,0,0,.28), 0 3px 8px -4px rgba(0,0,0,.6); }
.btn.gold { background: var(--gold); color: #1A1404; animation: glow 1.8s ease-out infinite; }
.btn.ghost { background: var(--panel); color: var(--text); border: 1px solid var(--line); }
.btn.wide { width: 100%; }
.tile {
  text-align: left; background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 15px;
  display: flex; flex-direction: column; gap: 9px; box-shadow: var(--shadow-btn); transition: transform .08s;
}
.tile b { font-size: 16px; font-weight: 800; }
.tile small { font-size: 12px; color: var(--muted); font-weight: 500; }
.ico { width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  box-shadow: inset 0 2px 3px rgba(255,255,255,.18), inset 0 -4px 6px rgba(0,0,0,.3); }
.chip { display: inline-flex; align-items: center; gap: 5px; border-radius: 999px; padding: 5px 10px; font-size: 12px; font-weight: 800; white-space: nowrap; }

/* ---------- значок уровня ---------- */
.hex { position: relative; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.hex svg { position: absolute; inset: 0; width: 100%; height: 100%; filter: drop-shadow(0 6px 10px rgba(0,0,0,.55)); }
.hex b { position: relative; font-weight: 900; text-shadow: 0 3px 0 rgba(0,0,0,.35); }
.hex small { position: relative; display: block; font-size: 9px; font-weight: 800; letter-spacing: 1px; color: #99F6E4; text-align: center; }

/* ---------- полоска опыта ---------- */
.track { height: 10px; border-radius: 999px; background: #0F1326; overflow: hidden; box-shadow: inset 0 2px 4px rgba(0,0,0,.7), 0 1px 0 rgba(255,255,255,.05); }
.fill { height: 100%; width: 0; border-radius: 999px; background: var(--accent); transition: width 1.1s cubic-bezier(.2,.8,.2,1) .3s;
  box-shadow: inset 0 2px 0 rgba(255,255,255,.35), inset 0 -2px 0 rgba(0,0,0,.2), 0 0 10px rgba(45,212,191,.45); }

/* ---------- вкладки ---------- */
.tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; background: var(--panel2); border: 1px solid #232A4A; border-radius: 14px; padding: 4px;
  box-shadow: inset 0 2px 4px rgba(0,0,0,.7); }
.tabs button { height: 38px; border: none; border-radius: 10px; background: transparent; color: var(--muted); font-size: 12px; font-weight: 800; }
.tabs button[aria-selected="true"] { background: var(--accent); color: var(--accent-ink);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), inset 0 -2px 0 rgba(0,0,0,.25), 0 4px 10px -4px rgba(0,0,0,.6); }

/* ---------- рейтинг ---------- */
.podium { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; align-items: end; padding-top: 6px; }
.podium .col { display: flex; flex-direction: column; align-items: center; gap: 7px; min-width: 0; }
.podium .name { font-size: 13px; font-weight: 800; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.avatar { border-radius: 50%; color: #0A0C18; font-weight: 900; display: flex; align-items: center; justify-content: center;
  box-shadow: inset 0 3px 4px rgba(255,255,255,.35), inset 0 -5px 8px rgba(0,0,0,.3), 0 8px 16px -4px rgba(0,0,0,.65); }
.step { width: 100%; border-radius: 14px 14px 0 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  transform-origin: bottom; animation: grow .8s cubic-bezier(.2,.8,.2,1) both;
  box-shadow: inset 0 2px 0 rgba(255,255,255,.12), inset 0 -10px 18px -6px rgba(0,0,0,.45), 0 -6px 18px -8px rgba(0,0,0,.6); }
.step b { font-size: 22px; font-weight: 900; }
.step span { font-size: 12px; font-weight: 700; }
.lrow { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); box-shadow: var(--shadow-card); }
.lrow.me { background: var(--accent-bg); border: 1.5px solid var(--accent); box-shadow: var(--shadow-hero); }
.lrow .pos { width: 24px; text-align: center; font-weight: 900; color: var(--muted); }
.lrow .who { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.lrow .who b { font-size: 15px; font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lrow .who small { font-size: 12px; color: var(--muted); font-weight: 600; }
.lrow .val { text-align: right; }
.lrow .val b { display: block; font-size: 16px; font-weight: 900; }
.lrow .val small { font-size: 10px; font-weight: 700; color: var(--muted); text-transform: uppercase; }
.mine { text-align: center; font-size: 13px; font-weight: 700; color: #99F6E4; padding: 10px; border-radius: 14px; background: var(--accent-bg); border: 1px solid #1F5E58; }
.empty { text-align: center; color: var(--muted); padding: 32px 12px; font-size: 14px; line-height: 1.5; }

/* ---------- статистика и достижения ---------- */
.stat { padding: 12px; display: flex; flex-direction: column; gap: 2px; }
.stat b { font-size: 21px; font-weight: 900; }
.stat small { font-size: 11px; font-weight: 700; color: var(--muted); }
.badge { display: flex; flex-direction: column; align-items: center; gap: 6px; border: none; background: none; padding: 0; }
.badge .box { width: 58px; height: 58px; border-radius: 18px; display: flex; align-items: center; justify-content: center; font-size: 26px;
  background: var(--panel2); border: 1.5px dashed var(--line); filter: grayscale(1); opacity: .45; }
.badge.got .box { filter: none; opacity: 1; border: 1.5px solid var(--gold); background: #2E2A12;
  box-shadow: inset 0 2px 3px rgba(255,255,255,.18), inset 0 -5px 8px rgba(0,0,0,.35), 0 10px 16px -6px rgba(0,0,0,.65); }
.badge span { font-size: 10px; font-weight: 700; text-align: center; line-height: 1.2; color: #6B7596; }
.badge.got span { color: #C7CEE8; }
.switch { position: relative; width: 52px; height: 30px; flex-shrink: 0; }
.switch input { opacity: 0; width: 100%; height: 100%; margin: 0; position: absolute; cursor: pointer; z-index: 1; }
.switch i { position: absolute; inset: 0; border-radius: 999px; background: #232A4A; box-shadow: inset 0 2px 4px rgba(0,0,0,.6); transition: background .2s; }
.switch i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #EEF2FF; transition: transform .2s;
  box-shadow: 0 2px 4px rgba(0,0,0,.5); }
.switch input:checked + i { background: var(--accent); }
.switch input:checked + i::after { transform: translateX(22px); }
.switch input:focus-visible + i { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---------- нижнее меню ---------- */
#nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 5; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 520px; margin: 0 auto; padding: 8px 10px calc(10px + env(safe-area-inset-bottom));
  background: rgba(14,17,32,.96); border-top: 1px solid #232A4A; box-shadow: 0 -10px 24px -10px rgba(0,0,0,.7); }
#nav button { border: none; background: none; color: var(--muted); font-size: 11px; font-weight: 700; padding: 4px 0;
  display: flex; flex-direction: column; align-items: center; gap: 4px; min-height: 48px; }
#nav button.active { color: var(--accent); }

/* ---------- всплывающее сообщение, загрузка ---------- */
#toast { position: fixed; left: 50%; bottom: calc(92px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 9;
  background: #EEF2FF; color: #0A0C18; padding: 11px 16px; border-radius: 14px; font-size: 14px; font-weight: 700;
  box-shadow: 0 12px 24px -8px rgba(0,0,0,.7); max-width: calc(100% - 32px); text-align: center; animation: up .3s both; }
.loading { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; color: var(--muted); min-height: 60vh; }
.spinner { width: 34px; height: 34px; border-radius: 50%; border: 3px solid #232A4A; border-top-color: var(--accent); animation: spin .8s linear infinite; }

/* ---------- анимации ---------- */
.a-up { animation: up .55s cubic-bezier(.2,.8,.2,1) both; }
.a-pop { animation: pop .55s cubic-bezier(.2,.8,.2,1) both; }
.d1 { animation-delay: .06s; } .d2 { animation-delay: .14s; } .d3 { animation-delay: .22s; } .d4 { animation-delay: .3s; }
.d5 { animation-delay: .38s; } .d6 { animation-delay: .46s; } .d7 { animation-delay: .54s; } .d8 { animation-delay: .62s; }
.flame { animation: flame 1.2s ease-in-out infinite; transform-origin: 50% 80%; }
.bob { animation: bob 2s ease-in-out infinite; }
@keyframes up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes pop { 0% { opacity: 0; transform: scale(.6); } 70% { transform: scale(1.08); } 100% { opacity: 1; transform: scale(1); } }
@keyframes grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes flame { 0%, 100% { transform: scale(1) rotate(0); } 50% { transform: scale(1.18) rotate(-8deg); } }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-5px) rotate(-4deg); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes glow {
  0%, 100% { box-shadow: var(--shadow-btn), 0 0 0 0 rgba(250,204,21,.55); }
  50% { box-shadow: var(--shadow-btn), 0 0 0 10px rgba(250,204,21,0); }
}
#toast[hidden], #nav[hidden] { display: none; }
/* ---------- Ранний доступ ---------- */
.chip.early { background: #2A1F45; color: #C4B5FD; border: 1px solid #4C3A7A; font-size: 9px; letter-spacing: .6px; padding: 3px 7px; }
.early-note { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 16px; background: #1B1730; border: 1px dashed #4C3A7A; }
.early-note .emo { font-size: 20px; line-height: 1.2; }
.early-note b { display: block; font-size: 13px; font-weight: 800; color: #C4B5FD; margin-bottom: 2px; }
.early-note span { font-size: 12px; line-height: 1.45; color: var(--muted); }

/* ---------- Категория дня ---------- */
.catday { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid #1F5A55; background: linear-gradient(135deg, #10302E 0%, var(--panel) 70%); }
.catday .ico { width: 40px; height: 40px; border-radius: 12px; background: var(--accent-bg); color: var(--accent); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.chip.catday-chip { background: var(--accent-bg); color: var(--accent); font-size: 11px; padding: 2px 7px; }

/* ---------- Играть: категории и сложность ---------- */
.pick { text-align: left; padding: 12px 14px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); box-shadow: var(--shadow-card); display: flex; flex-direction: column; gap: 2px; min-height: 60px; transition: border-color .15s, background .15s; }
.pick b { font-size: 14px; font-weight: 800; }
.pick small { font-size: 12px; color: var(--muted); font-weight: 600; }
.pick.on { border: 2px solid var(--accent); background: var(--accent-bg); padding: 11px 13px; }
.mode { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); box-shadow: var(--shadow-card); text-align: left; }
.mode .emo { width: 36px; height: 36px; border-radius: 11px; background: #232A4A; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.mode .txt { flex: 1; display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.mode .txt b { font-size: 15px; font-weight: 800; }
.mode .txt small { font-size: 12px; color: var(--muted); font-weight: 600; }
.mode .dot { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--dim); flex-shrink: 0; }
.mode.on { border: 2px solid var(--accent); background: var(--accent-bg); padding: 11px 13px; }
.mode.on .dot { border: 6px solid var(--accent); }
.mode.locked { opacity: .5; }
.mode.locked .emo { color: var(--muted); }

/* ---------- Игра ---------- */
#screen.nonav { padding-bottom: calc(20px + env(safe-area-inset-bottom)); }
.icon-btn { width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); display: flex; align-items: center; justify-content: center; flex-shrink: 0; box-shadow: var(--shadow-card); }
.gdots { flex: 1; display: flex; gap: 6px; min-width: 0; }
.gdot { flex: 1; height: 8px; border-radius: 999px; background: #232A4A; max-width: 60px; }
.gdot.ok { background: var(--good); } .gdot.bad { background: var(--bad); } .gdot.time { background: var(--dim); }
.gdot.now { background: var(--accent); animation: blink 1.2s ease-in-out infinite; }
.chip.outline { background: var(--panel); border: 1px solid var(--line); color: #C7CEE8; overflow: hidden; text-overflow: ellipsis; max-width: 220px; }
.ring { width: 60px; height: 60px; position: relative; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ring svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ring .arc { stroke: var(--accent); transition: stroke-dashoffset .1s linear, stroke .3s; }
.ring.warn .arc { stroke: var(--bad); }
.ring.warn .num b { color: var(--bad); animation: pop .4s ease-out; }
.ring .num { position: relative; display: flex; flex-direction: column; align-items: center; }
.ring .num b { font-size: 22px; font-weight: 900; line-height: 1; }
.ring.done .num svg.i { width: 26px; height: 26px; stroke-width: 3; animation: pop .35s ease-out; }
.ring.done.ok .num { color: var(--good); } .ring.done.bad .num, .ring.done.time .num { color: var(--bad); }
/* Экран игры ровно в высоту окна Telegram: шапка и низ на месте, середина прокручивается */
#screen.nonav { flex: none; height: var(--tg-viewport-stable-height, 100dvh); min-height: 0; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); overflow: hidden; }
#screen.nonav { padding-top: calc(12px + var(--top-inset)); }
.game { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 10px; }
.g-head { display: flex; flex-direction: column; gap: 10px; flex-shrink: 0; }
.g-chips { display: flex; gap: 6px; flex-wrap: wrap; min-width: 0; }
.g-body { flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; padding: 2px 2px 4px; margin: 0 -2px; -webkit-overflow-scrolling: touch; }
.g-foot { flex-shrink: 0; display: flex; flex-direction: column; gap: 8px; }
.g-foot:empty { display: none; }
.question { font-size: 20px; line-height: 1.3; font-weight: 800; text-align: center; text-shadow: none; margin: 2px 0; }
.opts { display: flex; flex-direction: column; gap: 8px; }
.opt { min-height: 50px; border-radius: 16px; border: 1px solid var(--line); background: var(--panel); font-size: 16px; font-weight: 700; text-align: left; padding: 8px 16px; display: flex; align-items: center; gap: 12px; box-shadow: var(--shadow-card); transition: transform .1s, opacity .2s; }
.opt:active:not(:disabled) { transform: translateY(2px); }
.opt:disabled { cursor: default; }
.opt .let { width: 28px; height: 28px; border-radius: 9px; background: #232A4A; color: var(--muted); font-size: 13px; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.opt .let svg.i { width: 16px; height: 16px; stroke-width: 3; }
.opt .otext { flex: 1; min-width: 0; }
.opt.picked { border: 2px solid var(--accent); padding: 7px 15px; }
.opt.ok { border: 2px solid var(--good); background: #12301F; padding: 7px 15px; animation: pop .35s ease-out; }
.opt.ok .let { background: var(--good); color: var(--bg1); }
.opt.bad { border: 2px solid var(--bad); background: #331820; padding: 7px 15px; animation: shake .35s ease-out; }
.opt.bad .let { background: var(--bad); color: var(--bg1); }
.opt.dim { opacity: .45; }
.opt .gain { margin-left: auto; font-size: 14px; font-weight: 800; color: var(--good); animation: bob 1.6s ease-in-out infinite; white-space: nowrap; }
.verdict { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; font-size: 16px; }
@media (max-height: 640px) { .question { font-size: 18px; } .opt { min-height: 44px; font-size: 15px; } .fact { font-size: 12px; } }
.fact { background: #14223A; border: 1px solid #27406B; border-radius: 16px; padding: 11px 14px; display: flex; gap: 12px; align-items: flex-start; font-size: 13px; line-height: 1.45; color: #C7D7F2; font-weight: 500; }
.fact svg.i { color: var(--gold); width: 20px; height: 20px; }
.btn.small { padding: 0 12px; height: 38px; font-size: 13px; }

.link-btn { background: none; border: none; color: var(--muted); font-size: 13px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 6px; align-self: center; }
.link-btn svg.i { width: 16px; height: 16px; }
.report { display: flex; flex-direction: column; gap: 8px; background: var(--panel2); border: 1px solid var(--line); border-radius: 16px; padding: 12px; }

/* ---------- Итог ---------- */
.score { font-size: 48px; text-align: center; line-height: 1.05; }
.big-emoji { font-size: 64px; text-align: center; line-height: 1; filter: drop-shadow(0 8px 12px rgba(0,0,0,.5)); }
.rdots { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; }
.rdot { width: 30px; height: 30px; border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--bg1); }
.rdot svg.i { width: 16px; height: 16px; stroke-width: 3; }
.rdot.ok { background: var(--good); } .rdot.bad { background: var(--bad); } .rdot.time { background: var(--dim); color: var(--text); }
.xp-big { font-size: 34px; font-weight: 900; color: var(--accent); text-align: center; }
.card .line { font-size: 14px; padding: 7px 0; border-top: 1px solid rgba(46,54,92,.6); line-height: 1.4; }
.card .line:first-of-type { border-top: 0; }
.card .between.line { font-size: 13px; color: var(--muted); }
.card .between.line b { color: var(--text); }
.versus { display: flex; align-items: flex-start; justify-content: center; gap: 10px; }
.versus .side { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 0; }
.versus .side > small { font-size: 12px; font-weight: 700; color: var(--muted); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.versus .side > b { font-size: 40px; font-weight: 900; line-height: 1; }
.versus .rdot { width: 20px; height: 20px; border-radius: 6px; }
.versus .rdot svg.i { width: 12px; height: 12px; }
.versus .rdots { gap: 4px; }
.versus .vs { font-size: 32px; font-weight: 900; color: var(--dim); padding-top: 22px; }
.buttons { display: flex; flex-direction: column; gap: 10px; }
.lrow .btn.small { flex-shrink: 0; padding: 8px; }
.confetti { position: fixed; inset: 0; pointer-events: none; overflow: hidden; z-index: 20; }
.confetti i { position: absolute; top: -12px; width: 8px; height: 14px; border-radius: 2px; animation: fall 2.4s cubic-bezier(.3,.6,.6,1) forwards; }

@keyframes blink { 50% { opacity: .45; } }
@keyframes shake { 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }
@keyframes fall { to { top: 105%; transform: translateX(40px) rotate(540deg); } }

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