/* Firework / «Пушечка»: docs/design-picks/2026-09-06-firework.html. */
:root[data-theme="dark"] * { --sh:var(--ac); }
* { box-sizing:border-box; }
[hidden] { display:none !important; }
html { background:var(--outer); color:var(--ink); scroll-padding-bottom:calc(var(--dock-height) + 24px); }
body { position:relative; isolation:isolate; margin:0 auto; min-width:280px; max-width:592px; min-height:var(--tg-viewport-stable-height,100dvh); background:var(--paper); padding:max(env(safe-area-inset-top,0px),var(--tg-content-safe-area-inset-top,0px),var(--tg-safe-area-inset-top,0px)) 0 calc(var(--dock-height) + 24px); -webkit-font-smoothing:antialiased; }
body::before { content:""; position:absolute; inset:0; z-index:-1; pointer-events:none; background-image:radial-gradient(var(--dot) 1.1px,transparent 1.1px); background-size:13px 13px; }
button,input,select,textarea { font:inherit; color:inherit; }
button,a,label { -webkit-tap-highlight-color:transparent; }
button { cursor:pointer; touch-action:manipulation; overflow-wrap:anywhere; transition:transform .07s cubic-bezier(.3,1.6,.5,1),box-shadow .07s,background .12s; }
button:disabled { cursor:default; opacity:.5; }
.is-pending:disabled { position:relative; opacity:1; color:transparent; }
.is-pending > * { visibility:hidden; }
.is-pending .pending-label { visibility:visible; position:absolute; inset:0; display:flex; align-items:center; justify-content:center; gap:8px; padding:8px; color:var(--ink); font-size:.875rem; }
.pending-label::after { content:""; flex:0 0 10px; height:10px; border:2px solid currentColor; border-radius:50%; animation:pending-pulse .8s ease-in-out infinite alternate; }
@keyframes pending-pulse { to { transform:scale(.55); opacity:.45; } }
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible { outline:3px solid var(--b); outline-offset:4px; }
button:not(:disabled):active { transform:translate(4px,4px); box-shadow:0 0 0 var(--sh); }
.brand-header .brand-mark { flex:1; }
.brand-header { display:flex; align-items:center; gap:10px; padding:14px max(14px,var(--tg-safe-area-inset-right,0px)) 8px max(14px,var(--tg-safe-area-inset-left,0px)); }
.sticker { width:44px; height:44px; border:3px solid var(--ink); border-radius:50%; box-shadow:3px 3px 0 var(--sh); font-size:17px; font-weight:900; color:var(--on); }
.theme-sticker { background:var(--y); --ac:var(--o); }
.user-sticker { background:var(--l); --ac:var(--b); }
.ticker { display:block; width:100%; overflow:hidden; border:0; border-block:3px solid var(--ink); background:var(--o); color:var(--on); padding:5px 0; text-align:left; font-weight:900; font-size:11px; letter-spacing:.16em; text-transform:uppercase; }
.ticker .ticker-track { display:flex; width:max-content; animation:ticker 17s linear infinite; }
.ticker-track > span { padding-left:14px; white-space:nowrap; }
.ticker[aria-pressed="true"] .ticker-track,.ticker:hover .ticker-track,.ticker:focus-visible .ticker-track { animation-play-state:paused; }
.ticker:not(:disabled):active { transform:none; }
@keyframes ticker { to { transform:translateX(-50%); } }
.app-shell { padding:16px max(16px,var(--tg-safe-area-inset-right,0px)) 0 max(16px,var(--tg-safe-area-inset-left,0px)); }
.today-primary { display:flow-root; }
.today-primary .next-card { margin-bottom:0; }
.today-secondary { display:flow-root; padding-top:16px; }
.today-secondary > .block:first-child { margin-top:0; }
.today-secondary > .block:first-child .section-heading { align-items:flex-start; }
[data-screen] { animation:pop .34s cubic-bezier(.2,1.5,.4,1); }
@keyframes pop { from { opacity:0; transform:translateY(16px) scale(.97); } to { opacity:1; transform:none; } }
h1,h2,h3,p { margin:0 0 12px; }
h1 { font-size:1.5625rem; font-weight:900; line-height:1.05; letter-spacing:-.035em; margin-bottom:16px; }
h2 { font-size:1.0625rem; font-weight:900; letter-spacing:-.02em; line-height:1.25; }
h3 { font-size:1rem; }
p { overflow-wrap:anywhere; font-weight:600; }
a { color:var(--voxa-link); text-underline-offset:3px; font-weight:800; }
.muted,.support,.pay-state { color:var(--dim); }
.eyebrow { font-size:.6875rem; font-weight:900; letter-spacing:.18em; text-transform:uppercase; }
.path-header { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:16px; }
.path-header h1 { min-width:0; overflow-wrap:anywhere; font-size:1.125rem; margin:0; }
.path-header .chip { flex-shrink:0; max-width:55%; }
.streak-card,.calendar-card,.next-card,.path-card,.state-card,.info-card,.grammar-hero,.profile-identity { background:var(--card); border:3px solid var(--ink); border-radius:20px; box-shadow:6px 6px 0 var(--sh); padding:16px; margin:0 0 20px; }
.streak-card { --ac:var(--m); display:flex; align-items:center; justify-content:space-between; gap:12px; background:var(--o); color:var(--on); padding:8px 12px; margin-bottom:16px; }
.streak-ring { display:flex; align-items:center; gap:8px; min-width:0; }
.stat-number { display:block; font-size:6.625rem; font-weight:900; letter-spacing:-.07em; line-height:.85; margin:10px 0; overflow-wrap:anywhere; }
.streak-ring strong { font-size:2.25rem; font-weight:900; line-height:1; letter-spacing:-.05em; }
.streak-ring span { font-size:.875rem; font-weight:900; max-width:6em; }
.streak-caption { margin:0; flex-shrink:0; }
.streak-caption h2 { display:none; }
.streak-caption p { display:none; }
.streak-caption .text-button { color:var(--on); }
.calendar-card { --ac:var(--b); transform:rotate(.6deg); }
.week,.calendar { display:grid; grid-template-columns:repeat(auto-fit,minmax(max(1.8rem,calc((100% - 36px) / 7)),1fr)); gap:6px; }
.day { display:flex; flex-direction:column; align-items:center; gap:4px; font-size:.625rem; font-weight:900; text-transform:uppercase; border:2.5px solid var(--ink); border-radius:13px; padding:7px 0 8px; }
.day b { font-size:.9375rem; font-weight:900; }
.day.active { --ac:var(--b); color:var(--on); background:var(--l); box-shadow:3px 3px 0 var(--sh); }
.day.today { --ac:var(--m); color:var(--on); background:var(--o); }
.calendar { gap:12px 6px; margin:20px 0; }
.block { margin:24px 0; }
.section-heading { display:flex; align-items:baseline; justify-content:space-between; gap:12px; }
.section-heading .muted { font-weight:900; color:var(--ink); }
.next-card { --ac:var(--y); }
.next-card p { font-size:.875rem; }
#next-step-card { padding:12px; }
#next-step-card h2,#next-step-card p { margin-bottom:8px; }
.words-hero { --ac:var(--b); background:var(--l); color:var(--on); transform:rotate(-.7deg); }
.grammar-hero { --ac:var(--y); background:var(--m); color:var(--on); transform:rotate(-.7deg); }
.path-card { --ac:var(--b); }
.profile-identity { --ac:var(--m); display:flex; gap:13px; align-items:center; transform:rotate(-.7deg); }
.profile-identity > div { min-width:0; }
.profile-identity h2 { font-size:1.4375rem; overflow-wrap:anywhere; }
.profile-identity p { margin-bottom:0; font-size:.875rem; }
.avatar { flex:0 0 66px; height:66px; display:grid; place-items:center; font-size:31px; font-weight:900; color:var(--on); background:var(--m); border:3px solid var(--ink); border-radius:20px; --ac:var(--y); box-shadow:4px 4px 0 var(--sh); transform:rotate(-4deg); }
.rows { background:var(--card); border:3px solid var(--ink); border-radius:17px; --ac:var(--b); box-shadow:5px 5px 0 var(--sh); margin-bottom:20px; }
.row-button { display:block; width:100%; min-height:52px; border:0; border-bottom:2.5px solid var(--ink); padding:14px; background:transparent; text-align:left; line-height:1.35; font-size:.9375rem; font-weight:900; }
.row-button:first-child { border-radius:13px 13px 0 0; }
.row-button:last-child { border:0; border-radius:0 0 13px 13px; }
.row-button:not(:disabled):active { background:var(--y); color:var(--on); transform:translateX(3px); }
#words-actions { --ac:var(--o); }
#profile-settings { --ac:var(--b); }
#profile-links { --ac:var(--l); }
#grammar-rules { border:0; background:transparent; box-shadow:none; }
#grammar-rules .row-button { border:3px solid var(--ink); border-radius:17px; background:var(--card); box-shadow:5px 5px 0 var(--sh); padding-right:42px; position:relative; margin-bottom:13px; }
#grammar-rules .row-button:nth-child(even) { --ac:var(--m); }
#grammar-rules .row-button::after { content:"+"; position:absolute; right:10px; top:50%; transform:translateY(-50%); border:2.5px solid var(--ink); background:var(--y); color:var(--on); border-radius:8px; width:26px; height:26px; text-align:center; line-height:20px; }
.button { width:100%; min-height:48px; border:3px solid var(--ink); border-radius:15px; padding:13px 16px; font-weight:900; font-size:.9375rem; line-height:1.35; letter-spacing:-.01em; box-shadow:4px 4px 0 var(--sh); --ac:var(--o); background:var(--y); color:var(--on); }
.button--primary { background:var(--o); --ac:var(--m); }
.button--secondary { background:var(--l); --ac:var(--b); }
.button--quiet { background:var(--card); color:var(--ink); }
#btn-review,[data-testid="review-remember"],[data-testid="referral-copy"] { background:var(--l); color:var(--on); --ac:var(--b); }
[data-testid="review-forgot"],#btn-plans { background:var(--m); color:var(--on); --ac:var(--y); }
.text-button { border:0; background:transparent; color:var(--ink); min-height:44px; padding:8px 0; text-align:left; font-size:.875rem; font-weight:900; text-decoration:underline; text-underline-offset:3px; }
.chip { padding:8px 12px; border:2.5px solid var(--ink); border-radius:999px; background:var(--card); font-size:.8125rem; min-height:44px; font-weight:900; box-shadow:3px 3px 0 var(--sh); --ac:var(--b); }
.chip:nth-child(3n+1) { background:var(--y); color:var(--on); --ac:var(--o); }
.mode-chips { display:flex; flex-wrap:wrap; gap:10px; margin:24px 0; }
.scene-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin-bottom:16px; }
.scene-grid button { --ac:var(--b); border:3px solid var(--ink); background:var(--l); color:var(--on); border-radius:16px; min-height:70px; text-align:left; padding:13px; font-weight:900; box-shadow:4px 4px 0 var(--sh); }
.scene-grid button:nth-child(even) { background:var(--y); --ac:var(--m); }
.error-row { padding:10px 0; border-bottom:2.5px solid var(--ink); overflow-wrap:anywhere; font-weight:800; }
.error-row s { text-decoration-color:var(--m); text-decoration-thickness:3px; }
.bubble { --ac:var(--y); background:var(--card); border:3px solid var(--ink); padding:11px 13px; border-radius:17px; white-space:pre-wrap; box-shadow:4px 4px 0 var(--sh); margin:0 28px 14px 0; font-weight:800; }
.bubble.user { --ac:var(--b); margin-right:0; margin-left:28px; background:var(--l); color:var(--on); }
.bubble.user .muted,.bubble.user .text-button { color:var(--on); }
.suggestion { padding:12px 14px; margin:0; border-bottom:2.5px solid var(--ink); }
.suggestion:last-child { border:0; }
.quota { font-size:.875rem; font-weight:900; }
.app-dock { position:fixed; inset:auto 0 0; max-width:592px; margin:auto; z-index:10; background:var(--paper); border-top:3px solid var(--ink); padding:10px max(14px,var(--tg-safe-area-inset-right,0px)) calc(10px + var(--voxa-bottom-safe)) max(14px,var(--tg-safe-area-inset-left,0px)); }
.chat-fab { display:flex; align-items:center; gap:10px; width:100%; background:var(--o); color:var(--on); border:3px solid var(--ink); border-radius:16px; padding:13px 15px; box-shadow:4px 4px 0 var(--sh); --ac:var(--m); margin-bottom:10px; }
.talk-copy { flex:1; text-align:left; font-weight:900; font-size:1.0625rem; letter-spacing:-.03em; text-transform:uppercase; }
.talk-copy small { display:block; font-size:.625rem; letter-spacing:.11em; margin-top:3px; }
.talk-arrow { font-size:21px; font-weight:900; animation:arrow 1.3s 3; }
@keyframes arrow { 50% { transform:translateX(5px); } }
.bottom-nav > div { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:8px; }
.bottom-nav button { position:relative; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:4px; min-height:56px; border:3px solid var(--ink); border-radius:14px; background:transparent; color:var(--ink); padding:8px 2px 7px; }
.bottom-nav svg { display:none; }
.bottom-nav button::before { content:""; width:13px; height:13px; background:currentColor; }
#tab-today::before { border-radius:50%; }
#tab-cards::before { border-radius:4px; }
#tab-grammar::before { width:0; height:0; background:transparent; border-left:7px solid transparent; border-right:7px solid transparent; border-bottom:12px solid currentColor; }
#tab-me::before { border-radius:3px; transform:rotate(45deg); }
.bottom-nav .tab-label { font-size:.625rem; font-weight:900; letter-spacing:.01em; }
.bottom-nav [aria-selected="true"] { --ac:var(--b); background:var(--l); color:var(--on); box-shadow:3px 3px 0 var(--sh); transform:translateY(-3px); }
.bottom-nav button:not(:disabled):active { transform:scale(.9); }
.bottom-nav i { position:absolute; width:10px; height:10px; border:2px solid var(--ink); border-radius:50%; background:var(--m); top:-5px; right:-3px; }
.notice { background:var(--y); color:var(--on); border:3px solid var(--ink); border-radius:16px; --ac:var(--o); box-shadow:5px 5px 0 var(--sh); padding:13px 15px; font-size:.90625rem; font-weight:900; }
.notice--toast { position:fixed; left:max(14px,calc((100vw - 564px) / 2)); right:max(14px,calc((100vw - 564px) / 2)); bottom:calc(var(--dock-height) + 12px); z-index:12; pointer-events:none; transform:rotate(-1.2deg); }
.field { display:grid; gap:8px; margin-bottom:20px; font-weight:900; }
.field input,.field select,.field textarea { width:100%; min-width:0; min-height:48px; background:var(--card); border:3px solid var(--ink); border-radius:12px; padding:12px; font-weight:600; }
.field-hint { font-size:.8125rem; color:var(--dim); }
.actions { display:grid; gap:12px; margin-top:16px; }
.answer-actions { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin:20px 0; }
.flashcard { --ac:var(--m); width:100%; min-height:220px; background:var(--card); border:3px solid var(--ink); border-radius:22px; padding:24px 16px; text-align:center; box-shadow:7px 7px 0 var(--sh); }
.flashcard.flipped { --ac:var(--b); background:var(--y); color:var(--on); }
.flashcard.flipped .muted { color:var(--on); }
.flashcard h2 { font-size:2.0625rem; letter-spacing:-.045em; overflow-wrap:anywhere; }
.flashcard p { margin-top:16px; }
.practice { margin:16px 0 24px; }
.practice .flashcard { margin-top:14px; min-height:160px; padding:18px 14px; }
.word-question { margin:12px 0 16px; }
.word-turn { display:block; width:100%; padding:0; border:0; background:transparent; text-align:center; perspective:1100px; }
.word-turn-inner { display:grid; transform-style:preserve-3d; transition:transform 400ms cubic-bezier(.2,.75,.25,1); }
.word-turn.is-flipped .word-turn-inner { transform:rotateY(180deg); }
.word-face { grid-area:1 / 1; min-width:0; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:10px; padding:12px 14px; border:3px solid var(--ink); border-radius:22px; background:var(--card); box-shadow:5px 5px 0 var(--sh); backface-visibility:hidden; -webkit-backface-visibility:hidden; }
.word-face--back { transform:rotateY(180deg); background:var(--y); color:var(--on); }
.word-back-details { display:flex; flex-direction:column; gap:8px; min-width:0; overflow-wrap:anywhere; }
.word-face--back .word-title { font-size:1.5rem; }
.word-face--back .muted { color:var(--on); }
.word-title { display:block; font-size:1.875rem; font-weight:900; letter-spacing:-.035em; overflow-wrap:anywhere; max-width:100%; }
.word-translation { font-size:1.375rem; font-weight:800; overflow-wrap:anywhere; max-width:100%; }
.word-example { grid-column:1 / -1; font-size:1rem; line-height:1.4; overflow-wrap:anywhere; max-width:100%; }
.word-flip-hint { margin:8px 0; color:var(--dim); font-size:.875rem; text-align:center; }
.word-card-actions { display:grid; gap:10px; }
.word-card-actions > .result { margin:0; }
.word-image { width:min(170px,100%); flex-shrink:0; aspect-ratio:1; display:grid; place-items:center; border:2px solid var(--ink); border-radius:12px; padding:6px; background:var(--card); }
.word-image > * { grid-area:1 / 1; }
.word-image img { display:block; width:100%; height:100%; min-width:0; min-height:0; object-fit:contain; }
.word-image-placeholder { font-size:.875rem; color:var(--dim); text-align:center; }
.word-prompt { font-size:1rem; }
.word-choices { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.word-choices--single { grid-template-columns:1fr; }
.word-choices .button { min-width:0; overflow-wrap:anywhere; font-size:1rem; padding:12px 8px; }
.word-choices .is-selected { background:var(--y); }
.word-choices .is-correct { background:var(--l); color:var(--on); opacity:1; }
.word-choices .is-incorrect { background:var(--m); color:var(--on); opacity:1; }
.word-session-header { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:8px; margin-bottom:8px; }
.word-session-header > .eyebrow { min-height:44px; display:flex; align-items:center; margin:0; }
.word-difficulty { display:flex; align-items:center; gap:4px; margin-left:auto; }
.word-difficulty > span { font-size:.875rem; margin-right:4px; }
.difficulty-button { width:70px; min-height:44px; padding:6px 2px; background:transparent; border:0; border-radius:4px; box-shadow:none; font-size:.875rem; font-weight:600; text-decoration:underline; text-underline-offset:4px; }
.difficulty-button:last-child { width:80px; }
.difficulty-button:not(:disabled):active { transform:none; color:var(--b); box-shadow:none; }
.difficulty-button .pending-label { padding:2px; font-size:.75rem; gap:3px; }
.session-feedback.word-feedback { margin-top:8px; padding:12px; }
.word-feedback .result { padding:6px 10px; margin:0 0 8px; }
.word-feedback p { margin-bottom:8px; }
.word-feedback .lesson-example { margin:8px 0; }
.practice .flashcard h2 { font-size:1.875rem; }
.deck-count { font-size:.875rem; margin-bottom:8px; }
.deck-feedback { min-height:1.4em; font-size:.875rem; margin-top:8px; }
.practice-library { margin:24px 0; }
.practice-library summary { cursor:pointer; min-height:48px; padding:12px 0; font-weight:900; text-decoration:underline; text-underline-offset:3px; }
.practice-library summary:focus-visible { outline:3px solid var(--b); outline-offset:3px; }
.lesson-intro { --ac:var(--y); background:var(--m); color:var(--on); border:3px solid var(--ink); border-radius:18px; box-shadow:5px 5px 0 var(--sh); padding:16px; }
.lesson-intro h2 { font-size:1.375rem; overflow-wrap:anywhere; }
.session-scenes { margin-top:12px; font-size:.875rem; }
.session-scenes summary { min-height:44px; padding:10px 0; cursor:pointer; font-weight:800; }
.session-scenes .mode-chips { padding-top:8px; }
.session-formula { font-size:1.125rem; font-weight:900; }
.session-feedback { border:3px solid var(--ink); border-radius:18px; padding:16px; background:var(--card); }
.session-feedback h2,.practice > h2 { overflow-wrap:anywhere; }
.practice > progress { width:100%; margin-bottom:14px; }
#word-practice > progress { margin-bottom:8px; }
#daily-plan { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; }
#daily-plan .plan-segment { font-size:.875rem; min-height:72px; padding:10px 6px; text-align:center; }
#daily-plan .is-complete { background:var(--m); color:var(--on); }
.lesson-intro details { font-size:.875rem; }
.lesson-intro summary { cursor:pointer; min-height:44px; padding:10px 0; font-weight:800; }
.lesson-intro details p { margin-top:8px; }
.lesson-example { margin:12px 0; border-left:3px solid currentColor; padding-left:12px; font-weight:900; }
.lesson-exercise { margin:24px 0; }
.lesson-exercise .actions { grid-template-columns:repeat(2,minmax(0,1fr)); }
.lesson-exercise [data-testid="quiz-feedback"] { margin-top:16px; }
#btn-rule-library + .path-card { margin-top:24px; }
.result { background:var(--l); color:var(--on); padding:12px; border:3px solid var(--ink); border-radius:15px; margin:18px 0; font-weight:900; }
.result.incorrect { background:var(--m); }
.answer-correct,.answer-incorrect { opacity:1 !important; color:var(--on); }
.answer-correct { background:var(--l); --ac:var(--b); animation:answer-pop .4s; }
.answer-incorrect { background:var(--m); --ac:var(--y); animation:answer-shake .34s; }
@keyframes answer-pop { 50% { transform:scale(1.05); } }
@keyframes answer-shake { 25%,75% { transform:translateX(-5px); } 50% { transform:translateX(5px); } }
progress { width:100%; height:18px; appearance:none; border:3px solid var(--ink); border-radius:999px; overflow:hidden; background:var(--paper); }
progress::-webkit-progress-bar { background:var(--paper); }
progress::-webkit-progress-value { background:var(--l); border-right:3px solid var(--ink); }
progress::-moz-progress-bar { background:var(--l); }
.plan-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin:24px 0; }
.plan-card { width:100%; padding:12px 11px; background:var(--card); border:3px solid var(--ink); border-radius:16px; text-align:left; min-height:64px; line-height:1.4; font-weight:900; }
.plan-card[aria-checked="true"] { background:var(--y); color:var(--on); --ac:var(--o); box-shadow:4px 4px 0 var(--sh); }
.plan-badge { display:block; margin-top:6px; font-size:.75rem; font-weight:900; }
.price-block { margin:0 0 20px; }
.price-main { margin:0; font-size:2rem; line-height:1.1; font-weight:900; letter-spacing:-.02em; }
.price-note { margin:8px 0 0; font-size:.9375rem; font-weight:700; }
#btn-pay-stars { margin-top:10px; }
.pay-terms { margin:12px 0 0; font-size:.8125rem; color:var(--dim); }
.pay-terms a { color:var(--ink); font-weight:900; text-decoration:underline; text-underline-offset:3px; }
.legal-links { margin:12px 0 0; font-size:.875rem; }
.profile-legal a { display:inline-block; min-height:44px; padding-top:12px; }
.pay-state,.support { margin:16px 0; font-size:.8125rem; }
.state-icon { font-size:2rem; font-weight:900; }
.skeleton { display:grid; gap:16px; }
.skeleton span { height:96px; border-radius:20px; background:var(--card); border:3px solid var(--ink); }
.firework-layer { position:fixed; inset:0; overflow:hidden; z-index:99; pointer-events:none; }
.spark { position:absolute; width:11px; height:11px; border:2px solid var(--ink); pointer-events:none; }
.screen-wipe { position:fixed; inset:0; max-width:592px; margin:auto; z-index:8; pointer-events:none; background:var(--o); transform:translateX(-200vw); }
.sr-only { position:absolute; width:1px; height:1px; margin:-1px; padding:0; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
@media (min-width:640px) { body { border-inline:3px solid var(--ink); } }
@media (prefers-reduced-motion:reduce) { *,*::before,*::after { animation:none !important; transition:none !important; scroll-behavior:auto !important; } .firework-layer,.screen-wipe { display:none; } }
@media (prefers-reduced-motion:reduce) { .ticker .ticker-track { width:auto; } #ticker-repeat { display:none; } #ticker-text { white-space:normal; } }

/* The day's budget (B-PACK-2 A-UI). The chip is a fact in the header, not a warning;
   the banner is the one selling moment the app has left, and it only appears when the
   server says two thirds are gone. */
.budget-chip { flex:0 0 auto; padding:5px 10px; border:2.5px solid var(--ink); border-radius:999px; background:var(--card); box-shadow:2px 2px 0 var(--sh); font-size:12px; font-weight:900; letter-spacing:-.01em; white-space:nowrap; }
.budget-chip[data-low="true"] { background:var(--y); }
.budget-banner { margin:0 0 16px; padding:14px; border:3px solid var(--ink); border-radius:18px; background:var(--y); box-shadow:4px 4px 0 var(--sh); }
.budget-banner p { margin:0 0 10px; font-weight:800; }
.budget-banner .button { width:100%; }
