/* V21: layout comum dos oito jogos principais e nova home. */
:root{--v21-bg:#f3f6f9;--v21-card:#fff;--v21-navy:#102a43;--v21-blue:#168fec;--v21-muted:#6f8091;--v21-line:#dfe7ee;--v21-green:#26b866;--v21-red:#e55252;--v21-yellow:#f4b722;--v21-purple:#7654d6;--v21-orange:#ee7b2d}
.brand-car-image{display:block;width:100%;height:100%;object-fit:contain;user-select:none;-webkit-user-drag:none}.brand-car-image.is-fallback{opacity:.7}
.v21-hidden-prompt{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.v21-game{background:var(--v21-bg);min-height:100vh}.v21-game .topbar{background:#fff;border-bottom:1px solid var(--v21-line)}
.v21-hud{margin:14px 20px 0;padding:12px 14px;border:1px solid var(--v21-line);background:#fff;border-radius:18px;display:grid;grid-template-columns:auto 1fr auto;gap:13px;align-items:center;box-shadow:0 6px 20px rgba(16,42,67,.05)}
.v21-round,.v21-score{font-size:.68rem;font-weight:1000;color:#708194;letter-spacing:.04em}.v21-score b,.v21-round b{color:var(--v21-navy);font-size:.95rem}.v21-progress-track{height:9px;border-radius:999px;background:#e8edf2;overflow:hidden}.v21-progress-track i{display:block;height:100%;width:0;border-radius:999px;background:linear-gradient(90deg,#168fec,#33bd70);transition:width .25s ease}
.v21-world{margin:14px 20px 88px;padding:22px;min-height:500px;border-radius:28px;background:linear-gradient(160deg,#fff,#eef6fb);border:1px solid #dbe5ec;box-shadow:0 16px 42px rgba(16,42,67,.08);position:relative;overflow:hidden}.v21-world:before{content:"";position:absolute;width:360px;height:360px;border-radius:50%;right:-180px;top:-190px;background:rgba(22,143,236,.07)}
.v21-stage{position:relative;z-index:1;max-width:840px;margin:auto;text-align:center}.v21-kicker{display:inline-block;color:#168fec;font-size:.68rem;font-weight:1000;letter-spacing:.12em}.v21-prompt{margin:5px auto 12px;color:var(--v21-navy);font-size:clamp(1.35rem,4vw,2rem);line-height:1.15;font-weight:1000;max-width:720px}.v21-subprompt{margin:-4px auto 14px;color:var(--v21-muted);font-size:.82rem;font-weight:750}
.v21-media{width:min(100%,560px);height:250px;margin:4px auto 14px;display:grid;place-items:center;border-radius:24px;background:rgba(255,255,255,.86);border:1px solid #e0e8ef;padding:15px}.v21-media.logo .brand-logo-image,.v21-media.logo .brand-logo-svg{max-width:100%;max-height:170px}.v21-media.car .brand-car-image{max-width:100%;max-height:215px}.v21-media.compact{height:175px}.v21-media.compact .brand-car-image,.v21-media.compact .brand-logo-image{max-height:145px}
.v21-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;max-width:760px;margin:0 auto}.v21-choice{min-height:116px;border:2px solid #dfe8ef;border-radius:22px;background:#fff;padding:13px;display:grid;place-items:center;gap:7px;color:var(--v21-navy);font-weight:1000;font-size:1rem;box-shadow:0 8px 22px rgba(16,42,67,.06);transition:transform .12s,border-color .12s,box-shadow .12s}.v21-choice:hover{transform:translateY(-2px);box-shadow:0 12px 28px rgba(16,42,67,.1)}.v21-choice.good{border-color:#29bd6c;background:#effbf4;animation:v21Good .45s ease}.v21-choice.bad{border-color:#ef6666;background:#fff2f2;animation:v21Bad .35s ease}.v21-choice.locked{pointer-events:none;opacity:.72}.v21-choice .brand-logo-image,.v21-choice .brand-logo-svg{width:100%;height:72px;object-fit:contain}.v21-choice .brand-car-image{width:100%;height:108px;object-fit:contain}.v21-choice.letter,.v21-choice.number{font-size:2.7rem;min-height:105px}.v21-choice.text{font-size:1.1rem}.v21-choice.color{min-height:108px}.v21-choice.shape{min-height:124px}
.v21-feedback{min-height:28px;margin:14px auto 0;font-size:.86rem;font-weight:1000;color:transparent}.v21-feedback.show{color:#708194}.v21-feedback.good{color:#16884c}.v21-feedback.bad{color:#d74a4a}
.edu-color-dot{display:block;width:64px;height:64px;border-radius:50%;background:var(--dot);border:3px solid rgba(16,42,67,.13);box-shadow:inset 0 0 0 5px rgba(255,255,255,.22),0 7px 16px rgba(16,42,67,.12)}.v21-choice.color strong{font-size:.82rem;text-transform:uppercase}.edu-shape{font-size:5rem;line-height:.9;color:#168fec;display:inline-grid;place-items:center;min-width:90px}.edu-shape-triangulo{color:#ee7b2d}.edu-shape-quadrado{color:#7654d6}.edu-shape-retangulo{color:#26a569}.edu-shape-oval{color:#dc5d83}.edu-shape-estrela{color:#e2aa19}.edu-shape-coracao{color:#e54f59}.edu-shape-losango{color:#3c8dd8}.edu-shape.small{font-size:2.2rem;min-width:42px}
.v21-finish{position:absolute;inset:0;z-index:20;background:rgba(8,32,52,.74);display:grid;place-items:center;padding:22px;backdrop-filter:blur(5px)}.v21-finish[hidden]{display:none}.v21-finish-card{width:min(92vw,430px);padding:28px 22px;border-radius:30px;background:#fff;text-align:center;box-shadow:0 28px 80px rgba(0,0,0,.3)}.v21-finish-icon{font-size:3rem}.v21-finish-card h2{margin:7px 0 4px;color:#102a43;font-size:1.55rem}.v21-finish-card p{margin:0 0 18px;color:#6c7d8d;font-weight:750}.v21-finish-card button,.v21-finish-card a{display:block;width:100%;border:0;border-radius:15px;padding:13px;background:#168fec;color:#fff;font-weight:1000;margin-top:8px}.v21-finish-card a{background:#eef4fa;color:#174f85}
.v21-memory-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;max-width:650px;margin:10px auto}.memory-card-v21{aspect-ratio:1/1;border:0;background:none;padding:0;perspective:700px}.memory-card-v21>span{width:100%;height:100%;display:grid;place-items:center;border-radius:18px;background:linear-gradient(145deg,#174f85,#102a43);border:2px solid rgba(255,255,255,.3);box-shadow:0 8px 20px rgba(16,42,67,.16);overflow:hidden;padding:9px}.memory-card-v21.open>span,.memory-card-v21.matched>span{background:#fff;border-color:#d8e3eb}.memory-card-v21 .memory-back{display:grid;color:#fff;font-size:1.8rem}.memory-card-v21 .memory-front{display:none;width:100%;height:100%}.memory-card-v21.open .memory-back,.memory-card-v21.matched .memory-back{display:none}.memory-card-v21.open .memory-front,.memory-card-v21.matched .memory-front{display:grid;place-items:center}.memory-card-v21 .brand-logo-image,.memory-card-v21 .brand-car-image{width:100%;height:100%;max-height:92px;object-fit:contain}.memory-card-v21.matched{opacity:.62}
.v21-count-grid{display:flex;flex-wrap:wrap;justify-content:center;gap:5px;max-width:660px;margin:0 auto 15px;padding:12px;border-radius:20px;background:#fff;border:1px solid #e1e8ee}.v21-count-car{width:90px;height:60px;display:grid;place-items:center}.v21-count-car .brand-car-image{max-height:58px}
.v21-sequence{display:flex;justify-content:center;align-items:center;gap:8px;flex-wrap:wrap;margin:4px auto 18px}.v21-sequence span{min-width:58px;height:58px;border-radius:15px;background:#fff;border:2px solid #dfe7ee;display:grid;place-items:center;font-weight:1000;font-size:1.45rem;color:#102a43}.v21-sequence span.missing{border-style:dashed;color:#168fec;background:#eef8ff}
.v21-mission-hero{display:grid;grid-template-columns:150px 1fr;gap:18px;align-items:center;max-width:650px;margin:0 auto 14px;padding:16px;border-radius:24px;background:#fff;border:1px solid #dee7ee;text-align:left}.v21-mission-hero .brand-logo-image{width:100%;height:95px;object-fit:contain}.v21-mission-hero h2{margin:0;color:#102a43}.v21-mission-hero p{margin:5px 0 0;color:#718294;font-weight:750;font-size:.8rem}.v21-mission-steps{display:flex;justify-content:center;gap:7px;flex-wrap:wrap;margin:0 auto 15px}.v21-mission-step{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:#e8edf2;color:#788897;font-weight:1000}.v21-mission-step.current{background:#168fec;color:#fff;box-shadow:0 0 0 5px rgba(22,143,236,.13)}.v21-mission-step.done{background:#29bd6c;color:#fff}
.v21-game-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.v21-game-card{min-height:190px;border:1px solid #dce6ee;border-radius:24px;background:#fff;overflow:hidden;display:grid;grid-template-columns:180px 1fr;box-shadow:0 10px 28px rgba(16,42,67,.07);transition:.15s}.v21-game-card:hover{transform:translateY(-2px);box-shadow:0 14px 34px rgba(16,42,67,.12)}.v21-game-card-art{display:grid;place-items:center;padding:18px;background:var(--soft,#eef6ff);position:relative}.v21-game-card-art .brand-car-image,.v21-game-card-art .brand-logo-image{width:100%;height:110px;object-fit:contain}.v21-game-card-copy{padding:22px;display:flex;flex-direction:column;justify-content:center}.v21-game-card-copy small{font-weight:1000;letter-spacing:.08em;color:var(--accent,#168fec);font-size:.65rem}.v21-game-card-copy strong{margin-top:4px;color:#102a43;font-size:1.15rem}.v21-game-card-copy p{margin:7px 0 0;color:#6f8091;font-size:.78rem;line-height:1.45;font-weight:700}.v21-game-card.blue{--accent:#168fec;--soft:#eaf5ff}.v21-game-card.red{--accent:#e65555;--soft:#fff0ef}.v21-game-card.green{--accent:#25a963;--soft:#eaf9f0}.v21-game-card.yellow{--accent:#d89d0a;--soft:#fff8df}.v21-game-card.purple{--accent:#7654d6;--soft:#f2edff}.v21-game-card.orange{--accent:#e9792f;--soft:#fff0e5}
.home-v21-scope{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:16px}.home-v21-scope div{padding:12px;border:1px solid rgba(255,255,255,.15);background:rgba(255,255,255,.08);border-radius:16px}.home-v21-scope b{display:block;font-size:1.05rem}.home-v21-scope small{color:#cae0f2;font-weight:700;font-size:.65rem}.home-v21-car{height:240px!important;object-fit:contain}.home-v21-collection-summary{margin-bottom:10px;color:#718294;font-size:.75rem;font-weight:800}.home-v21-games{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.home-v21-game{border:1px solid #dfe7ee;border-radius:18px;background:#fff;padding:12px;min-height:110px;display:flex;flex-direction:column;justify-content:space-between;box-shadow:0 7px 18px rgba(16,42,67,.05)}.home-v21-game b{font-size:.82rem;color:#102a43}.home-v21-game span{font-size:1.5rem}.home-v21-game small{font-size:.61rem;color:#7a8998;font-weight:750}
@keyframes v21Good{50%{transform:scale(1.04)}}@keyframes v21Bad{25%{transform:translateX(-5px)}50%{transform:translateX(5px)}75%{transform:translateX(-3px)}}
@media(max-width:760px){.v21-world{margin:12px 12px 82px;padding:17px;min-height:480px}.v21-hud{margin:12px 12px 0}.v21-choices{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.v21-choice{min-height:105px}.v21-choice:nth-child(3):last-child{grid-column:1/-1}.v21-game-cards{grid-template-columns:1fr}.v21-game-card{grid-template-columns:118px 1fr;min-height:150px}.v21-game-card-art{padding:10px}.v21-game-card-art .brand-car-image,.v21-game-card-art .brand-logo-image{height:86px}.v21-game-card-copy{padding:16px}.v21-memory-grid{grid-template-columns:repeat(4,1fr);gap:7px}.home-v21-games{grid-template-columns:repeat(2,1fr)}.home-v21-scope{grid-template-columns:repeat(2,1fr)}.v21-mission-hero{grid-template-columns:100px 1fr}.v21-count-car{width:58px;height:40px}.v21-count-car .brand-car-image{max-height:38px}}
@media(max-width:430px){.v21-prompt{font-size:1.35rem}.v21-media{height:145px}.v21-media.car .brand-car-image{max-height:120px}.v21-choice.letter,.v21-choice.number{font-size:2.2rem}.v21-memory-grid{grid-template-columns:repeat(4,1fr)}.memory-card-v21>span{border-radius:13px;padding:6px}.edu-shape{font-size:4rem}.v21-game-card{grid-template-columns:100px 1fr}.v21-game-card-copy p{display:none}}


/* =========================================================
 * V22 - direção de arte: cenários corretos + carros maiores
 * ======================================================= */
.theme-home-v22 .feature-car{background:radial-gradient(circle at 50% 15%,#fff 0,#eaf6ff 36%,#cae7ff 100%);border:1px solid #d7e8f7;box-shadow:0 18px 44px rgba(16,42,67,.12)}
.theme-home-v22 .feature-car:before{content:"";position:absolute;left:8%;right:8%;bottom:18px;height:34px;border-radius:999px;background:radial-gradient(ellipse at center,rgba(16,42,67,.18) 0,rgba(16,42,67,0) 70%)}
.theme-games-v22 .games-intro{padding:8px 2px 12px}

.v21-world{min-height:560px}
.v21-stage{max-width:920px}
.v21-choices{max-width:860px}
.v21-choice{min-height:128px}
.v21-choice.text{min-height:120px}
.v21-choice strong{font-size:.92rem}

.v21-stage [data-stage-media]{position:relative;z-index:2}
.theme-brand-showroom .v21-world,.theme-mission-hq .v21-world{background:linear-gradient(180deg,#fdfefe 0%,#eef7ff 48%,#e6eef6 100%)}
.theme-garage-brands .v21-world{background:linear-gradient(180deg,#fffaf4 0%,#fff1dc 22%,#f6f8fb 23%,#eef4f8 100%)}
.theme-memory-pit .v21-world{background:linear-gradient(180deg,#ffffff 0%,#eef4fa 100%)}
.theme-letter-race .v21-world{background:linear-gradient(180deg,#c9edff 0%,#e8f7ff 48%,#6fc85a 49%,#6fc85a 100%)}
.theme-number-yard .v21-world{background:linear-gradient(180deg,#dff4ff 0%,#eef9ff 38%,#d8dee4 39%,#c8cfd7 100%)}
.theme-color-garage .v21-world{background:linear-gradient(180deg,#fff8fd 0%,#eef8ff 40%,#f4f5f8 100%)}
.theme-shape-track .v21-world{background:linear-gradient(180deg,#ddf3ff 0%,#eef8ff 42%,#8ed06c 43%,#6abd60 100%)}
.theme-brand-showroom .v21-world:after,.theme-garage-brands .v21-world:after,.theme-memory-pit .v21-world:after,.theme-letter-race .v21-world:after,.theme-number-yard .v21-world:after,.theme-color-garage .v21-world:after,.theme-shape-track .v21-world:after,.theme-mission-hq .v21-world:after{content:"";position:absolute;left:0;right:0;bottom:0;pointer-events:none}
.theme-brand-showroom .v21-world:after{height:140px;background:linear-gradient(180deg,rgba(0,0,0,0) 0,rgba(22,143,236,.03) 30%,rgba(16,42,67,.12) 30%,rgba(16,42,67,.12) 34%,rgba(255,255,255,.35) 34%,rgba(255,255,255,.35) 37%,rgba(16,42,67,.12) 37%,rgba(16,42,67,.12) 60%,rgba(0,0,0,0) 60%)}
.theme-brand-showroom .v21-world:before{background:radial-gradient(circle at 50% 26%,rgba(255,255,255,.95) 0,rgba(22,143,236,.1) 48%,rgba(22,143,236,0) 68%),radial-gradient(circle at 16% 10%,rgba(255,255,255,.8) 0,rgba(255,255,255,0) 36%),radial-gradient(circle at 84% 8%,rgba(255,255,255,.8) 0,rgba(255,255,255,0) 36%)}
.theme-garage-brands .v21-world:after{height:170px;background:repeating-linear-gradient(90deg,rgba(255,255,255,.92) 0,rgba(255,255,255,.92) 26%,rgba(223,231,238,.92) 26%,rgba(223,231,238,.92) 33%),linear-gradient(180deg,rgba(201,147,79,.08) 0,rgba(201,147,79,.08) 100%);mask:linear-gradient(180deg,transparent 0,transparent 10px,#000 10px,#000 100%)}
.theme-memory-pit .v21-world:after{height:150px;background:linear-gradient(180deg,rgba(0,0,0,0) 0,rgba(16,42,67,.03) 40%,rgba(16,42,67,.08) 40%,rgba(16,42,67,.08) 41%,rgba(255,255,255,.65) 41%,rgba(255,255,255,.65) 42%,rgba(16,42,67,.08) 42%,rgba(16,42,67,.08) 60%,rgba(255,255,255,.65) 60%,rgba(255,255,255,.65) 61%,rgba(16,42,67,.08) 61%,rgba(16,42,67,.08) 100%)}
.theme-letter-race .v21-world:after,.theme-shape-track .v21-world:after{height:165px;background:linear-gradient(180deg,rgba(0,0,0,0) 0,rgba(0,0,0,0) 15%,#2b3440 15%,#2b3440 72%,rgba(255,255,255,.95) 72%,rgba(255,255,255,.95) 75%,#2b3440 75%,#2b3440 100%)}
.theme-number-yard .v21-world:after{height:180px;background:repeating-linear-gradient(90deg,rgba(255,255,255,.85) 0,rgba(255,255,255,.85) 10%,rgba(255,255,255,0) 10%,rgba(255,255,255,0) 20%),linear-gradient(180deg,rgba(0,0,0,0) 0,#717d89 16%,#717d89 100%)}
.theme-color-garage .v21-world:after{height:160px;background:linear-gradient(90deg,#fecaca 0,#fecaca 16.5%,#bfdbfe 16.5%,#bfdbfe 33%,#fde68a 33%,#fde68a 49.5%,#bbf7d0 49.5%,#bbf7d0 66%,#e9d5ff 66%,#e9d5ff 82.5%,#fbcfe8 82.5%,#fbcfe8 100%);opacity:.35}
.theme-mission-hq .v21-world:after{height:180px;background:linear-gradient(180deg,rgba(0,0,0,0) 0,rgba(0,0,0,0) 18%,#223345 18%,#223345 100%)}

.theme-brand-showroom .v21-media.logo,.theme-brand-showroom .v21-media.car{background:linear-gradient(180deg,#fff,#f8fbff);border-width:2px;box-shadow:0 22px 44px rgba(16,42,67,.1)}
.theme-brand-showroom .v21-choice{background:linear-gradient(180deg,#fff,#f7fbff);border-width:2px}
.theme-garage-brands .v21-media.car,.theme-color-garage .v21-media.car,.theme-letter-race .v21-media.car,.theme-number-yard .v21-media.car,.theme-shape-track .v21-media.car,.theme-mission-hq .v21-media.car{background:linear-gradient(180deg,#fff,#f9fbff);position:relative;padding-bottom:24px}
.theme-garage-brands .v21-media.car:after,.theme-color-garage .v21-media.car:after,.theme-letter-race .v21-media.car:after,.theme-number-yard .v21-media.car:after,.theme-shape-track .v21-media.car:after,.theme-mission-hq .v21-media.car:after{content:"";position:absolute;left:10%;right:10%;bottom:10px;height:24px;border-radius:50%;background:radial-gradient(ellipse at center,rgba(16,42,67,.18) 0,rgba(16,42,67,0) 70%)}
.theme-garage-brands .v21-choice{background:linear-gradient(180deg,#fff,#fef9f1);border-width:2px;position:relative;padding-top:22px}
.theme-garage-brands .v21-choice:before{content:"";position:absolute;left:14px;right:14px;top:8px;height:16px;border-radius:12px 12px 0 0;background:linear-gradient(180deg,#ffb14a,#ef7d26)}
.theme-garage-brands .v21-choice .brand-car-image{height:118px}
.theme-memory-pit .v21-memory-grid{max-width:760px;gap:12px}
.theme-memory-pit .memory-card-v21>span{border-radius:22px}
.theme-memory-pit .memory-card-v21 .brand-logo-image,.theme-memory-pit .memory-card-v21 .brand-car-image{max-height:112px}
.theme-letter-race .v21-media.compact,.theme-number-yard .v21-media.compact,.theme-color-garage .v21-media.compact,.theme-shape-track .v21-media.compact,.theme-mission-hq .v21-media.compact{height:205px}
.theme-letter-race .v21-media.compact .brand-car-image,.theme-number-yard .v21-media.compact .brand-car-image,.theme-color-garage .v21-media.compact .brand-car-image,.theme-shape-track .v21-media.compact .brand-car-image,.theme-mission-hq .v21-media.compact .brand-car-image{max-height:170px}
.theme-letter-race .v21-choice.letter{background:linear-gradient(180deg,#fff,#fffef7);border-color:#ffe08a;box-shadow:0 14px 22px rgba(0,0,0,.08)}
.theme-letter-race .v21-choice.letter:before{content:"PLACA";display:block;font-size:.55rem;letter-spacing:.14em;color:#7a8998;margin-bottom:6px}
.theme-number-yard .v21-count-grid{padding:20px 14px 18px;background:linear-gradient(180deg,#fff,#f7fafc);box-shadow:0 10px 24px rgba(16,42,67,.06)}
.theme-number-yard .v21-sequence span{min-width:64px;height:64px;border-radius:18px}
.theme-number-yard .v21-choice.number{background:linear-gradient(180deg,#fff,#f8fcff);border-color:#b8dcff}
.theme-color-garage .v21-choice.color{background:linear-gradient(180deg,#fff,#fffdfa);border-width:2px}
.theme-color-garage .v21-choice.color:before{content:"GARAGEM";display:block;font-size:.55rem;letter-spacing:.14em;color:#7a8998;margin-bottom:6px}
.theme-shape-track .v21-choice.shape{background:linear-gradient(180deg,#fff,#f7fffb);border-width:2px}
.theme-shape-track .v21-sequence{padding:14px 16px;background:rgba(255,255,255,.85);border-radius:20px;border:1px solid #dce6ee;display:inline-flex}
.theme-mission-hq .v21-mission-hero{background:linear-gradient(145deg,#fff,#eef7ff);border-width:2px;box-shadow:0 16px 36px rgba(16,42,67,.08)}
.theme-mission-hq .v21-mission-steps{margin-bottom:18px}

@media (max-width:900px){
  .v21-choices{grid-template-columns:repeat(2,minmax(0,1fr))}
  .theme-memory-pit .v21-memory-grid{grid-template-columns:repeat(4,1fr)}
}
@media (max-width:720px){
  .v21-hud{margin:12px 14px 0}
  .v21-world{margin:12px 14px 90px;padding:18px;min-height:520px;border-radius:24px}
  .v21-media{width:min(100%,100%);height:220px}
  .v21-media.car .brand-car-image{max-height:190px}
  .v21-media.compact{height:180px}
  .v21-media.compact .brand-car-image,.v21-media.compact .brand-logo-image{max-height:150px}
  .v21-choice .brand-car-image{height:96px}
  .theme-letter-race .v21-world:after,.theme-shape-track .v21-world:after,.theme-number-yard .v21-world:after,.theme-mission-hq .v21-world:after{height:135px}
  .theme-garage-brands .v21-world:after,.theme-color-garage .v21-world:after,.theme-memory-pit .v21-world:after,.theme-brand-showroom .v21-world:after{height:120px}
}
@media (max-width:560px){
  .v21-choices{grid-template-columns:1fr}
  .v21-choice{min-height:112px}
  .v21-choice .brand-car-image{height:110px}
  .theme-memory-pit .v21-memory-grid{grid-template-columns:repeat(3,1fr)}
  .v21-game-card{grid-template-columns:1fr}
  .v21-game-card-art{min-height:120px}
  .home-v21-games{grid-template-columns:repeat(2,1fr)}
  .home-v21-scope{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:420px){
  .v21-media{height:200px}
  .v21-media.car .brand-car-image{max-height:170px}
  .v21-media.compact{height:168px}
  .v21-media.compact .brand-car-image,.v21-media.compact .brand-logo-image{max-height:138px}
  .v21-choice .brand-car-image{height:92px}
  .v21-count-car{width:78px;height:54px}
}


/* =========================================================
 * V23 - escala grande: carros, logos, cards e alvos maiores
 * Objetivo: permitir reconhecer a marca diretamente no veículo.
 * ======================================================= */
.theme-home-v23 .feature-car{min-height:330px;padding:12px 10px 4px}
.theme-home-v23 .feature-car img,.theme-home-v23 .home-v21-car{height:320px!important;max-height:320px!important;width:100%;object-fit:contain}
.theme-home-v23 .feature-car-caption{width:96%;margin-top:2px}
.theme-home-v23 .feature-car-caption strong{font-size:1.05rem}
.theme-home-v23 .home-v21-games{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.theme-home-v23 .home-v21-game{min-height:145px;padding:18px;border-radius:22px}
.theme-home-v23 .home-v21-game span{font-size:2.1rem}
.theme-home-v23 .home-v21-game b{font-size:1rem}
.theme-home-v23 .home-v21-game small{font-size:.72rem}
.theme-home-v23 .collection-strip{grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}
.theme-home-v23 .collect-card{padding:14px 10px;border-radius:20px}
.theme-home-v23 .brand-preview-logo{height:122px}
.theme-home-v23 .brand-preview-logo .brand-logo-image{padding:7px}
.theme-home-v23 .collect-card strong{font-size:.84rem}
.theme-home-v23 .stars{font-size:.7rem}

.v21-world{min-height:660px;padding:26px}
.v21-stage{max-width:1040px}
.v21-prompt{font-size:clamp(1.65rem,4.4vw,2.45rem);max-width:900px;margin-bottom:16px}
.v21-subprompt{font-size:.95rem}
.v21-media{width:min(100%,720px);height:330px;border-radius:30px;padding:18px;margin-bottom:18px}
.v21-media.logo .brand-logo-image,.v21-media.logo .brand-logo-svg{max-height:255px}
.v21-media.car .brand-car-image{max-height:292px}
.v21-media.compact{height:255px}
.v21-media.compact .brand-car-image{max-height:220px}
.v21-media.compact .brand-logo-image{max-height:205px}
.v21-choices{max-width:980px;gap:16px}
.v21-choice{min-height:160px;border-radius:26px;padding:18px;gap:10px;font-size:1.12rem}
.v21-choice .brand-logo-image,.v21-choice .brand-logo-svg{height:116px}
.v21-choice .brand-car-image{height:154px}
.v21-choice strong{font-size:1.02rem}
.v21-choice.letter,.v21-choice.number{font-size:3.5rem;min-height:150px}
.v21-choice.text{font-size:1.32rem;min-height:145px}
.v21-choice.color{min-height:150px}
.v21-choice.shape{min-height:160px}
.edu-color-dot{width:82px;height:82px}
.edu-shape{font-size:6.3rem;min-width:110px}

.theme-brand-showroom .v21-choice .brand-logo-image{height:130px}
.theme-garage-brands .v21-choice .brand-car-image{height:168px}
.theme-garage-brands .v21-choice .brand-logo-image{height:122px}
.theme-letter-race .v21-media.compact,
.theme-number-yard .v21-media.compact,
.theme-color-garage .v21-media.compact,
.theme-shape-track .v21-media.compact,
.theme-mission-hq .v21-media.compact{height:270px}
.theme-letter-race .v21-media.compact .brand-car-image,
.theme-number-yard .v21-media.compact .brand-car-image,
.theme-color-garage .v21-media.compact .brand-car-image,
.theme-shape-track .v21-media.compact .brand-car-image,
.theme-mission-hq .v21-media.compact .brand-car-image{max-height:235px}

.v21-memory-grid{max-width:880px;gap:15px}
.memory-card-v21>span{border-radius:24px;padding:12px}
.memory-card-v21 .memory-back{font-size:2.35rem}
.memory-card-v21 .brand-logo-image,.memory-card-v21 .brand-car-image{max-height:150px}
.theme-memory-pit .v21-memory-grid{max-width:900px;gap:15px}
.theme-memory-pit .memory-card-v21 .brand-logo-image,.theme-memory-pit .memory-card-v21 .brand-car-image{max-height:158px}

.v21-count-grid{max-width:840px;gap:8px;padding:18px}
.v21-count-car{width:108px;height:72px}
.v21-count-car .brand-car-image{max-height:70px}
.v21-sequence{gap:11px;margin-bottom:20px}
.v21-sequence span{min-width:74px;height:74px;border-radius:18px;font-size:1.8rem}

.v21-mission-hero{grid-template-columns:190px 1fr;max-width:800px;padding:20px;gap:22px}
.v21-mission-hero .brand-logo-image{height:145px}
.v21-mission-hero h2{font-size:1.55rem}
.v21-mission-hero p{font-size:.92rem}
.v21-mission-step{width:46px;height:46px;font-size:1rem}

.v21-game-card{min-height:230px;grid-template-columns:240px 1fr;border-radius:28px}
.v21-game-card-art{padding:22px}
.v21-game-card-art .brand-car-image,.v21-game-card-art .brand-logo-image{height:155px}
.v21-game-card-copy{padding:26px}
.v21-game-card-copy strong{font-size:1.35rem}
.v21-game-card-copy p{font-size:.88rem}

.garage-brand-unlock-card{width:min(92vw,470px);padding:28px 24px 26px}
.garage-brand-unlock-logo{width:330px;height:210px}
.garage-brand-unlock-card strong{font-size:2.15rem}

@media(max-width:900px){
  .v21-world{min-height:620px;padding:22px}
  .v21-media{height:300px}
  .v21-media.car .brand-car-image{max-height:265px}
  .v21-media.logo .brand-logo-image,.v21-media.logo .brand-logo-svg{max-height:225px}
  .v21-choice{min-height:150px}
  .v21-choice .brand-car-image{height:142px}
  .v21-choice .brand-logo-image,.v21-choice .brand-logo-svg{height:108px}
  .v21-game-card{grid-template-columns:210px 1fr;min-height:210px}
  .v21-game-card-art .brand-car-image,.v21-game-card-art .brand-logo-image{height:145px}
}
@media(max-width:720px){
  .theme-home-v23 .feature-car{min-height:0;padding:4px 0}
  .theme-home-v23 .feature-car img,.theme-home-v23 .home-v21-car{height:210px!important;max-height:210px!important}
  .theme-home-v23 .collection-strip{grid-template-columns:repeat(2,minmax(0,1fr))}
  .theme-home-v23 .brand-preview-logo{height:126px}
  .v21-world{margin:12px 12px 90px;padding:18px;min-height:570px}
  .v21-media{height:270px;width:100%}
  .v21-media.car .brand-car-image{max-height:238px}
  .v21-media.logo .brand-logo-image,.v21-media.logo .brand-logo-svg{max-height:205px}
  .v21-media.compact{height:220px}
  .v21-media.compact .brand-car-image{max-height:190px}
  .v21-media.compact .brand-logo-image{max-height:176px}
  .v21-choices{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .v21-choice{min-height:145px;padding:14px}
  .v21-choice:nth-child(3):last-child{grid-column:1/-1}
  .v21-choice .brand-car-image{height:132px}
  .v21-choice .brand-logo-image,.v21-choice .brand-logo-svg{height:104px}
  .v21-choice.letter,.v21-choice.number{font-size:3.1rem;min-height:132px}
  .v21-choice.text{min-height:125px;font-size:1.2rem}
  .v21-memory-grid,.theme-memory-pit .v21-memory-grid{grid-template-columns:repeat(2,1fr);max-width:590px;gap:12px}
  .memory-card-v21 .brand-logo-image,.memory-card-v21 .brand-car-image,
  .theme-memory-pit .memory-card-v21 .brand-logo-image,.theme-memory-pit .memory-card-v21 .brand-car-image{max-height:180px}
  .v21-count-car{width:92px;height:62px}
  .v21-count-car .brand-car-image{max-height:60px}
  .v21-mission-hero{grid-template-columns:145px 1fr}
  .v21-mission-hero .brand-logo-image{height:120px}
  .v21-game-card{grid-template-columns:170px 1fr;min-height:190px}
  .v21-game-card-art .brand-car-image,.v21-game-card-art .brand-logo-image{height:130px}
}
@media(max-width:560px){
  .theme-home-v23 .home-v21-games{grid-template-columns:1fr}
  .theme-home-v23 .home-v21-game{min-height:118px}
  .v21-prompt{font-size:1.55rem}
  .v21-choices{grid-template-columns:repeat(2,minmax(0,1fr))}
  .v21-choice{min-height:136px}
  .v21-choice .brand-car-image{height:122px}
  .v21-choice .brand-logo-image,.v21-choice .brand-logo-svg{height:96px}
  .v21-choice.letter,.v21-choice.number{font-size:2.85rem}
  .v21-game-card{grid-template-columns:145px 1fr;min-height:175px}
  .v21-game-card-art{min-height:175px}
  .v21-game-card-art .brand-car-image,.v21-game-card-art .brand-logo-image{height:118px}
  .v21-game-card-copy{padding:18px}
  .v21-game-card-copy strong{font-size:1.15rem}
  .v21-game-card-copy p{display:block;font-size:.76rem}
}
@media(max-width:420px){
  .theme-home-v23 .brand-preview-logo{height:116px}
  .v21-world{padding:15px;min-height:540px}
  .v21-media{height:238px;padding:12px}
  .v21-media.car .brand-car-image{max-height:210px}
  .v21-media.logo .brand-logo-image,.v21-media.logo .brand-logo-svg{max-height:185px}
  .v21-media.compact{height:200px}
  .v21-media.compact .brand-car-image{max-height:176px}
  .v21-media.compact .brand-logo-image{max-height:162px}
  .v21-choice{min-height:128px;padding:11px}
  .v21-choice .brand-car-image{height:112px}
  .v21-choice .brand-logo-image,.v21-choice .brand-logo-svg{height:88px}
  .v21-choice strong{font-size:.9rem}
  .v21-choice.letter,.v21-choice.number{font-size:2.65rem;min-height:120px}
  .v21-memory-grid,.theme-memory-pit .v21-memory-grid{grid-template-columns:repeat(2,1fr)}
  .memory-card-v21>span{padding:8px}
  .memory-card-v21 .brand-logo-image,.memory-card-v21 .brand-car-image,
  .theme-memory-pit .memory-card-v21 .brand-logo-image,.theme-memory-pit .memory-card-v21 .brand-car-image{max-height:145px}
  .v21-count-car{width:82px;height:56px}
  .v21-count-car .brand-car-image{max-height:54px}
  .v21-mission-hero{grid-template-columns:112px 1fr;padding:14px;gap:12px}
  .v21-mission-hero .brand-logo-image{height:96px}
  .v21-mission-step{width:40px;height:40px}
  .v21-game-card{grid-template-columns:125px 1fr;min-height:160px}
  .v21-game-card-art{min-height:160px;padding:10px}
  .v21-game-card-art .brand-car-image,.v21-game-card-art .brand-logo-image{height:105px}
  .v21-game-card-copy{padding:14px}
  .v21-game-card-copy p{display:none}
}


/* =========================================================
 * V25 - ilustrações dos jogos e Missão Turbo expandida
 * ======================================================= */
.v21-mini-scene,.v21-mini-instruction{display:flex;justify-content:center;align-items:center;gap:10px;margin-top:10px;flex-wrap:wrap}
.v21-mini-instruction span{font-weight:800;color:#16335f}
.edu-count-badge{display:inline-grid;place-items:center;min-width:42px;height:42px;padding:0 12px;border-radius:999px;background:linear-gradient(180deg,#2563eb,#1d4ed8);color:#fff;font-weight:900;box-shadow:0 12px 24px rgba(37,99,235,.25)}
.edu-garage{display:inline-flex;flex-direction:column;align-items:center;justify-content:flex-start;min-width:110px;--garage-accent:#60a5fa;filter:drop-shadow(0 8px 14px rgba(16,42,67,.10))}
.edu-garage-roof{width:88px;height:18px;background:linear-gradient(180deg,#1e293b,#334155);clip-path:polygon(8% 100%,50% 0,92% 100%);display:block}
.edu-garage-body{width:96px;min-height:92px;border-radius:18px 18px 16px 16px;background:linear-gradient(180deg,#fff,#eef6ff);border:2px solid #cdddeb;position:relative;padding:10px 8px 8px;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:6px}
.edu-garage-door{width:54px;height:42px;border-radius:12px 12px 8px 8px;background:linear-gradient(180deg,var(--garage-accent),#dbeafe);border:2px solid rgba(255,255,255,.9);box-shadow:inset 0 -8px 0 rgba(255,255,255,.35)}
.edu-garage-sign{display:flex;align-items:center;justify-content:center;gap:6px;min-height:24px;padding:3px 8px;border-radius:999px;background:#fff;color:#12355d;font-weight:900;font-size:1.1rem;border:1px solid #d6e5f3;text-transform:uppercase}
.edu-garage-sign .edu-color-dot{margin:0}.edu-garage-sign span{display:inline-block}
.edu-garage-caption{font-size:.68rem;font-weight:800;letter-spacing:.08em;color:#6b7b8d;text-transform:uppercase}
.v21-choice.garage-slot,.v21-choice.garage-color{padding:14px 10px}
.v21-choice.garage-slot .edu-garage,.v21-choice.garage-color .edu-garage{transform:scale(1.05)}
.edu-road-sign{display:inline-flex;flex-direction:column;align-items:center;gap:0;filter:drop-shadow(0 10px 18px rgba(16,42,67,.12))}
.edu-road-sign-post{width:8px;height:26px;background:linear-gradient(180deg,#94a3b8,#64748b);border-radius:4px}
.edu-road-sign-panel{min-width:62px;height:62px;padding:0 14px;border-radius:18px;background:linear-gradient(180deg,#fff,#f8fbff);border:4px solid #f59e0b;display:grid;place-items:center;font-weight:900;color:#12355d;font-size:1.8rem}
.edu-road-sign.number .edu-road-sign-panel{border-color:#22c55e}
.edu-road-sign.shape .edu-road-sign-panel{border-color:#a855f7;font-size:1.6rem}
.v21-choice.road-letter,.v21-choice.road-slot,.v21-choice.scenic-shape{padding:12px 8px}
.v21-sequence.illustrated{gap:12px;align-items:flex-end;flex-wrap:wrap}
.v21-sequence.illustrated .missing{min-width:70px;height:74px;border-radius:18px;background:linear-gradient(180deg,#fff6d8,#ffe8a3);border:4px dashed #f59e0b;display:grid;place-items:center;font-size:2rem;font-weight:900;color:#a16207;align-self:flex-start}
.v21-count-grid.illustrated{grid-template-columns:repeat(auto-fit,minmax(90px,1fr));gap:12px}
.turbo-select-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;width:100%}
.turbo-select-card{border:2px solid #d7e8f7;border-radius:24px;background:linear-gradient(180deg,#fff,#f8fbff);padding:12px;display:grid;place-items:center;min-height:160px;box-shadow:0 12px 22px rgba(16,42,67,.06);transition:transform .15s ease,border-color .15s ease,box-shadow .15s ease}
.turbo-select-card .brand-car-image{max-height:110px}
.turbo-select-card.selected{border-color:#f59e0b;box-shadow:0 0 0 4px rgba(245,158,11,.18),0 12px 22px rgba(16,42,67,.08);transform:translateY(-2px)}
.turbo-select-card.good{border-color:#16a34a;background:linear-gradient(180deg,#f0fdf4,#dcfce7)}
.turbo-select-card.bad{border-color:#ef4444;background:linear-gradient(180deg,#fef2f2,#fee2e2)}
.edu-toy-car{display:flex;flex-direction:column;align-items:center;gap:8px}.edu-toy-car svg{width:120px;height:70px;display:block}.edu-toy-car small{font-weight:800;color:#6b7b8d;text-transform:uppercase}
.showroom-stack{display:flex!important;gap:10px;align-items:center;justify-content:center}.showroom-stack .brand-logo-image{max-height:120px}
@media (max-width:720px){.turbo-select-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.turbo-select-card{min-height:146px}.turbo-select-card .brand-car-image{max-height:96px}}
@media (max-width:480px){.turbo-select-grid{grid-template-columns:1fr 1fr}.edu-road-sign-panel{min-width:54px;height:54px;font-size:1.45rem}.v21-sequence.illustrated .missing{min-width:58px;height:62px}.edu-garage{min-width:94px}.edu-garage-body{width:84px;min-height:84px}.edu-garage-door{width:48px;height:36px}.turbo-select-card{padding:10px;min-height:132px}.edu-toy-car svg{width:96px;height:56px}}

/* =========================================================
 * V26 - polimento visual, cenários SVG e animações
 * ======================================================= */
.theme-brand-showroom .v21-world,
.theme-garage-brands .v21-world,
.theme-memory-pit .v21-world,
.theme-letter-race .v21-world,
.theme-number-yard .v21-world,
.theme-color-garage .v21-world,
.theme-shape-track .v21-world,
.theme-mission-hq .v21-world{
  background-size:cover!important;
  background-position:center center!important;
  background-repeat:no-repeat!important;
  isolation:isolate;
}
.theme-brand-showroom .v21-world{background-image:linear-gradient(rgba(255,255,255,.52),rgba(255,255,255,.44)),url('../img/scenes/showroom.webp')!important}
.theme-garage-brands .v21-world{background-image:linear-gradient(rgba(255,255,255,.54),rgba(255,255,255,.48)),url('../img/scenes/garage.webp')!important}
.theme-memory-pit .v21-world{background-image:linear-gradient(rgba(255,255,255,.58),rgba(255,255,255,.54)),url('../img/scenes/memory.webp')!important}
.theme-letter-race .v21-world{background-image:linear-gradient(rgba(255,255,255,.38),rgba(255,255,255,.16)),url('../img/scenes/letters.webp')!important}
.theme-number-yard .v21-world{background-image:linear-gradient(rgba(255,255,255,.46),rgba(255,255,255,.26)),url('../img/scenes/numbers.webp')!important}
.theme-color-garage .v21-world{background-image:linear-gradient(rgba(255,255,255,.44),rgba(255,255,255,.26)),url('../img/scenes/colors.webp')!important}
.theme-shape-track .v21-world{background-image:linear-gradient(rgba(255,255,255,.34),rgba(255,255,255,.14)),url('../img/scenes/shapes.webp')!important}
.theme-mission-hq .v21-world{background-image:linear-gradient(rgba(255,255,255,.60),rgba(240,248,255,.40)),url('../img/scenes/mission.webp')!important}

.theme-brand-showroom .v21-world:before,.theme-brand-showroom .v21-world:after,
.theme-garage-brands .v21-world:before,.theme-garage-brands .v21-world:after,
.theme-memory-pit .v21-world:before,.theme-memory-pit .v21-world:after,
.theme-letter-race .v21-world:before,.theme-letter-race .v21-world:after,
.theme-number-yard .v21-world:before,.theme-number-yard .v21-world:after,
.theme-color-garage .v21-world:before,.theme-color-garage .v21-world:after,
.theme-shape-track .v21-world:before,.theme-shape-track .v21-world:after,
.theme-mission-hq .v21-world:before,.theme-mission-hq .v21-world:after{opacity:.12!important;z-index:-1}

.v21-stage{position:relative;z-index:2}
.v21-media{backdrop-filter:blur(3px);background:rgba(255,255,255,.86)!important;border:2px solid rgba(255,255,255,.9)!important;box-shadow:0 20px 44px rgba(16,42,67,.12)!important}
.v21-media.car .brand-car-image{max-height:315px!important;width:min(100%,760px);object-fit:contain;filter:drop-shadow(0 18px 16px rgba(16,42,67,.22));animation:v26-car-entry .48s cubic-bezier(.2,.8,.2,1) both}
.v21-media.logo .brand-logo-image,.v21-media.logo .brand-logo-svg{max-height:270px!important;filter:drop-shadow(0 10px 12px rgba(16,42,67,.10));animation:v26-logo-entry .38s ease-out both}
.v21-media.compact .brand-car-image{max-height:245px!important}

.v21-choice{background:rgba(255,255,255,.92)!important;box-shadow:0 14px 28px rgba(16,42,67,.09)!important;animation:v26-choice-pop .26s ease-out both;transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease}
.v21-choice:nth-child(2){animation-delay:.035s}.v21-choice:nth-child(3){animation-delay:.07s}.v21-choice:nth-child(4){animation-delay:.105s}
.v21-choice:active{transform:scale(.965)}
.v21-choice .brand-car-image{height:172px!important;filter:drop-shadow(0 12px 12px rgba(16,42,67,.18))}
.v21-choice .brand-logo-image,.v21-choice .brand-logo-svg{height:132px!important}

.theme-memory-pit .memory-card-v21{animation:v26-choice-pop .26s ease-out both}
.theme-memory-pit .memory-card-v21 .brand-logo-image,.theme-memory-pit .memory-card-v21 .brand-car-image{max-height:172px!important}
.theme-memory-pit .memory-card-v21.open,.theme-memory-pit .memory-card-v21.matched{transform:translateY(-3px) scale(1.03)}

.v21-count-car{width:124px!important;height:84px!important}
.v21-count-car .brand-car-image{max-height:82px!important;filter:drop-shadow(0 7px 7px rgba(16,42,67,.16))}

.v21-feedback.show{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:9px 16px;border-radius:16px;background:rgba(255,255,255,.94);box-shadow:0 12px 28px rgba(16,42,67,.10);font-size:1rem!important;letter-spacing:.02em;animation:v26-feedback-pop .32s cubic-bezier(.2,.9,.2,1)}
.v21-feedback.good{color:#087a42!important;background:linear-gradient(180deg,#f0fff7,#dcfce7)!important;border:2px solid #86efac}
.v21-feedback.good:before{content:'🏁';font-size:1.35rem;margin-right:8px;animation:v26-flag .55s ease-in-out}
.v21-feedback.bad{color:#c83e3e!important;background:linear-gradient(180deg,#fff7f7,#fee2e2)!important;border:2px solid #fecaca}
.v21-feedback.bad:before{content:'↻';font-size:1.25rem;margin-right:8px}

.edu-garage{transform-origin:center bottom;animation:v26-garage-rise .35s ease-out both}
.edu-garage.featured{transform:scale(1.14)}
.edu-garage-door{position:relative;overflow:hidden}
.edu-garage-door:after{content:'';position:absolute;left:6px;right:6px;top:9px;height:3px;background:rgba(255,255,255,.7);box-shadow:0 9px 0 rgba(255,255,255,.5),0 18px 0 rgba(255,255,255,.35)}
.edu-road-sign{animation:v26-sign-bounce .32s ease-out both}
.turbo-select-card{min-height:176px!important}
.turbo-select-card .brand-car-image{max-height:132px!important;filter:drop-shadow(0 10px 10px rgba(16,42,67,.18))}
.turbo-select-card.selected{animation:v26-selected-pulse .65s ease-in-out infinite alternate}

.theme-mission-hq .v21-mission-hero{background:rgba(255,255,255,.92)!important;box-shadow:0 18px 42px rgba(16,42,67,.14)!important}
.theme-mission-hq .v21-mission-step.current{transform:scale(1.18);box-shadow:0 0 0 6px rgba(22,143,236,.15),0 10px 18px rgba(22,143,236,.18);animation:v26-step-pulse .8s ease-in-out infinite alternate}

@keyframes v26-car-entry{from{opacity:0;transform:translateX(-46px) scale(.90)}to{opacity:1;transform:translateX(0) scale(1)}}
@keyframes v26-logo-entry{from{opacity:0;transform:scale(.78) rotate(-3deg)}to{opacity:1;transform:scale(1) rotate(0)}}
@keyframes v26-choice-pop{from{opacity:0;transform:translateY(14px) scale(.96)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes v26-feedback-pop{0%{opacity:0;transform:scale(.78)}70%{transform:scale(1.06)}100%{opacity:1;transform:scale(1)}}
@keyframes v26-flag{0%,100%{transform:rotate(-8deg)}50%{transform:rotate(10deg)}}
@keyframes v26-garage-rise{from{opacity:0;transform:translateY(18px) scale(.94)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes v26-sign-bounce{0%{opacity:0;transform:translateY(-12px) scale(.9)}75%{transform:translateY(3px) scale(1.03)}100%{opacity:1;transform:translateY(0) scale(1)}}
@keyframes v26-selected-pulse{from{transform:translateY(-2px) scale(1)}to{transform:translateY(-4px) scale(1.03)}}
@keyframes v26-step-pulse{from{filter:brightness(1)}to{filter:brightness(1.16)}}

@media(max-width:720px){
  .v21-media.car .brand-car-image{max-height:235px!important}
  .v21-media.compact .brand-car-image{max-height:205px!important}
  .v21-choice .brand-car-image{height:132px!important}
  .v21-choice .brand-logo-image,.v21-choice .brand-logo-svg{height:118px!important}
  .theme-memory-pit .memory-card-v21 .brand-logo-image,.theme-memory-pit .memory-card-v21 .brand-car-image{max-height:150px!important}
  .v21-count-car{width:102px!important;height:72px!important}
  .v21-count-car .brand-car-image{max-height:70px!important}
}
@media(max-width:480px){
  .v21-media.car .brand-car-image{max-height:215px!important}
  .v21-choice .brand-car-image{height:120px!important}
  .v21-feedback.show{font-size:.92rem!important;padding:8px 12px}
  .turbo-select-card .brand-car-image{max-height:105px!important}
}
.v21-choice.good .edu-garage-door{animation:v26-garage-open .72s ease forwards}
.v21-choice.good .edu-road-sign-panel{animation:v26-sign-correct .55s ease}
.theme-home-v23 .feature-car img,.theme-home-v23 .home-v21-car{height:345px!important;max-height:345px!important;filter:drop-shadow(0 18px 18px rgba(0,0,0,.18))}
@keyframes v26-garage-open{0%{transform:scaleY(1);transform-origin:top}55%{transform:scaleY(.12);transform-origin:top}100%{transform:scaleY(.18);transform-origin:top;background:#dbeafe}}
@keyframes v26-sign-correct{0%,100%{transform:rotate(0)}25%{transform:rotate(-5deg)}60%{transform:rotate(5deg)}}
@media(max-width:720px){.theme-home-v23 .feature-car img,.theme-home-v23 .home-v21-car{height:235px!important;max-height:235px!important}}


/* =========================================================
 * V27 - crop dos assets, menos padding visual e menos scroll
 * ======================================================= */
.brand-car-image,.brand-logo-image{padding:0!important;margin:0 auto;display:block;object-fit:contain;object-position:center center}
.brand-preview-logo{display:flex;align-items:center;justify-content:center;overflow:hidden}
.brand-preview-logo .brand-logo-image,.theme-home-v23 .brand-preview-logo .brand-logo-image,.collect-card img,.v21-media .brand-car-image,.v21-media .brand-logo-image,.v21-choice .brand-car-image,.v21-choice .brand-logo-image,.memory-card-v21 .brand-logo-image,.memory-card-v21 .brand-car-image,.turbo-select-card .brand-car-image{padding:0!important}
@media(max-width:720px){
  .v21-world{padding:16px 14px 20px;min-height:auto}
  .v21-media{margin-bottom:12px;padding:8px}
  .v21-choices{gap:10px}
  .v21-choice{padding:12px}
  .v21-feedback{margin-top:10px}
}
@media(max-width:560px){
  .v21-hud{gap:10px;padding:10px 12px}
  .v21-world{margin:10px 10px 86px;padding:14px 12px 18px;min-height:auto}
  .v21-prompt{margin-bottom:10px}
  .v21-subprompt{margin-bottom:10px}
  .v21-media{height:188px;padding:6px}
  .v21-media.compact{height:154px}
  .v21-choice,.v21-choice.color,.v21-choice.shape,.v21-choice.text,.v21-choice.number,.v21-choice.letter{min-height:100px;padding:10px}
  .v21-count-grid{padding:10px 8px;gap:4px}
  .v21-count-car{width:74px;height:48px}
  .memory-card-v21>span{padding:6px}
}

/* =========================================================
 * V30 - didática centrada em letras, números, cores e formas
 * ======================================================= */
.v21-prompt[data-learning]:before{content:attr(data-learning);display:table;margin:0 auto 7px;padding:5px 11px;border-radius:999px;background:rgba(16,42,67,.88);color:#fff;font-size:.62rem;line-height:1;letter-spacing:.12em;font-weight:1000;box-shadow:0 7px 18px rgba(16,42,67,.14)}
.ped-select-grid{width:100%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.ped-select-card{min-height:142px;border:2px solid rgba(255,255,255,.9);border-radius:22px;background:rgba(255,255,255,.92);padding:10px;display:grid;place-items:center;box-shadow:0 12px 26px rgba(16,42,67,.10);transition:.15s transform,.15s border-color,.15s background}
.ped-select-card .brand-car-image{width:100%;height:112px;object-fit:contain;filter:drop-shadow(0 8px 8px rgba(16,42,67,.15))}
.ped-select-card.selected{border-color:#f59e0b;transform:translateY(-3px);box-shadow:0 0 0 4px rgba(245,158,11,.18),0 12px 26px rgba(16,42,67,.10)}
.ped-select-card.good{border-color:#22c55e;background:#ecfdf3}.ped-select-card.bad{border-color:#ef4444;background:#fff1f2}
.ped-count-choice{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:3px;min-height:84px;align-items:center;justify-items:center}
.ped-count-choice i{display:grid;place-items:center;width:100%;height:44px}.ped-count-choice .brand-car-image{width:100%;height:42px!important;object-fit:contain}
.ped-group-choice{align-content:center}.ped-group-choice strong{margin-top:4px}
.memory-letter-token{display:grid;place-items:center;gap:3px;width:100%;height:100%;color:#12355d}.memory-letter-token b{font-size:clamp(2.2rem,8vw,4rem);line-height:.9}.memory-letter-token small{font-style:normal;font-size:.62rem;font-weight:900;text-transform:uppercase;color:#6c7d8d;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ped-painted-car{position:relative;display:grid;place-items:center;min-height:112px;width:100%}.ped-painted-car .edu-toy-car{width:100%}.ped-painted-car .edu-toy-car svg{width:min(100%,150px);height:auto}.ped-painted-brand{position:absolute;right:4px;bottom:2px;width:52px;height:38px;border-radius:10px;background:rgba(255,255,255,.95);display:grid;place-items:center;padding:3px;box-shadow:0 5px 14px rgba(16,42,67,.14)}.ped-painted-brand .brand-logo-image{width:100%;height:100%!important;object-fit:contain}
.ped-painted-choice{min-height:145px!important}
.shape-select .ped-select-card{min-height:150px}.shape-select .edu-road-sign{transform:scale(.9)}
.theme-number-yard .v21-prompt[data-learning]:before{background:#0878c9}.theme-color-garage .v21-prompt[data-learning]:before{background:#c77b00}.theme-letter-race .v21-prompt[data-learning]:before{background:#d84d4d}.theme-shape-track .v21-prompt[data-learning]:before{background:#258a54}.theme-mission-hq .v21-prompt[data-learning]:before{background:#8d4cc5}
@media(max-width:720px){.ped-select-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.ped-select-card{min-height:122px;padding:8px}.ped-select-card .brand-car-image{height:94px}.ped-painted-car{min-height:94px}.ped-painted-brand{width:44px;height:32px}.ped-count-choice i{height:38px}.ped-count-choice .brand-car-image{height:36px!important}}
@media(max-width:430px){.ped-select-card{min-height:110px}.ped-select-card .brand-car-image{height:82px}.memory-letter-token b{font-size:2.4rem}.memory-letter-token small{font-size:.54rem}.v21-prompt[data-learning]:before{font-size:.56rem;padding:4px 9px}}

/* =========================================================
 * V30.1 - novas mecânicas pedagógicas sugeridas
 * ======================================================= */
.ped-painted-name{display:block;margin-top:4px;font-size:.72rem;line-height:1.1;color:#17324f;text-align:center;font-weight:1000;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.color-count-card{position:relative;overflow:visible}
.ped-live-count{position:absolute;right:8px;top:8px;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:#168fec;color:#fff;font-size:.9rem;font-weight:1000;box-shadow:0 6px 14px rgba(22,143,236,.28);z-index:5}
.ped-live-count[hidden]{display:none}
.ped-total-prompt{grid-column:1/-1;margin:2px auto 8px;padding:8px 13px;border-radius:14px;background:rgba(255,255,255,.92);font-weight:900;color:#17324f;box-shadow:0 7px 18px rgba(16,42,67,.08)}
.ped-total-options{grid-column:1/-1;width:100%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}

.ped-shape-brand-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;width:min(100%,720px);margin:4px auto 16px}
.ped-shape-brand-box{position:relative;min-height:190px;display:grid;place-items:center;overflow:hidden;filter:drop-shadow(0 12px 20px rgba(16,42,67,.16));background:#f7c948}
.ped-shape-brand-box.ped-shape-circulo{border-radius:50%;background:linear-gradient(145deg,#ff7070,#ef4444)}
.ped-shape-brand-box.ped-shape-quadrado{border-radius:24px;background:linear-gradient(145deg,#53d690,#22c55e)}
.ped-shape-brand-box.ped-shape-triangulo{clip-path:polygon(50% 0,100% 100%,0 100%);background:linear-gradient(145deg,#ffd55f,#f59e0b);padding-top:42px}
.ped-shape-outline{position:absolute;inset:0;display:grid;place-items:center;opacity:.16;pointer-events:none}
.ped-shape-outline .edu-shape{font-size:10rem;color:#fff!important}
.ped-shape-logo{position:relative;z-index:2;width:72%;height:88px;border-radius:18px;background:rgba(255,255,255,.94);padding:9px;display:grid;place-items:center;box-shadow:0 8px 20px rgba(16,42,67,.12)}
.ped-shape-logo .brand-logo-image{width:100%;height:100%!important;object-fit:contain}
.ped-shape-triangulo .ped-shape-logo{width:56%;margin-top:26px}
.ped-brand-name-choice .brand-logo-image{height:82px!important}
.ped-road-plate{min-height:148px!important}

.ped-connect-board{position:relative;width:min(100%,760px);margin:4px auto 8px;display:grid;grid-template-columns:1fr 120px;gap:44px;padding:8px}
.ped-connect-lines{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none;z-index:2}
.ped-connect-line{stroke:#f59e0b;stroke-width:7;stroke-linecap:round;filter:drop-shadow(0 4px 4px rgba(16,42,67,.15))}
.ped-connect-line.matched{stroke:#22c55e}
.ped-connect-column{display:grid;gap:12px;position:relative;z-index:3}
.ped-connect-brand,.ped-connect-letter{border:2px solid rgba(255,255,255,.96);background:rgba(255,255,255,.94);box-shadow:0 10px 24px rgba(16,42,67,.10);border-radius:22px;min-height:110px;padding:10px;touch-action:none;user-select:none}
.ped-connect-brand{display:grid;grid-template-columns:110px 1fr;align-items:center;gap:10px;color:#17324f;font-weight:1000;text-align:left}
.ped-connect-brand .brand-logo-image{width:100%;height:82px!important;object-fit:contain}
.ped-connect-brand.dragging{transform:scale(1.03);border-color:#f59e0b}
.ped-connect-brand.matched{border-color:#22c55e;background:#ecfdf3;opacity:.78}
.ped-connect-letter{display:grid;place-items:center;font-size:2.6rem;font-weight:1000;color:#12355d;border-color:#f2b84b;background:linear-gradient(180deg,#fffdf4,#fff6d5)}
.ped-connect-letter.matched{border-color:#22c55e;background:#ecfdf3;color:#14804b}

.ped-radar-help{display:flex;align-items:center;justify-content:center;gap:10px;margin:0 auto 12px;padding:10px 12px;border-radius:18px;background:rgba(255,255,255,.92);color:#17324f;font-weight:800;box-shadow:0 10px 24px rgba(16,42,67,.08)}
.ped-radar-coordinate{display:grid;place-items:center;min-width:74px;height:48px;border-radius:14px;background:#102a43;color:#fff;font-size:1.45rem;font-weight:1000;letter-spacing:.04em}
.ped-naval-grid{grid-column:1/-1;width:min(100%,470px);margin:0 auto;display:grid;grid-template-columns:34px repeat(4,minmax(0,1fr));gap:4px;padding:8px;border-radius:22px;background:rgba(10,38,65,.86);box-shadow:0 14px 34px rgba(16,42,67,.18)}
.ped-naval-corner,.ped-naval-col,.ped-naval-row{display:grid;place-items:center;color:#fff;font-weight:1000;font-size:.78rem}
.ped-naval-col{height:28px;background:rgba(255,255,255,.12);border-radius:8px}
.ped-naval-row{min-height:31px}
.ped-naval-cell{min-height:31px;border:0;border-radius:8px;background:rgba(255,255,255,.12);color:#fff;display:grid;place-items:center;padding:2px;overflow:hidden;box-shadow:inset 0 0 0 1px rgba(255,255,255,.08)}
.ped-naval-cell.occupied{background:rgba(55,147,230,.30)}
.ped-naval-cell span{font-weight:1000;color:#cce8ff}
.ped-naval-cell .brand-logo-image{width:100%;height:100%!important;max-height:28px;object-fit:contain;background:#fff;border-radius:5px;padding:2px!important}
.ped-naval-cell.good{background:#dcfce7!important;box-shadow:inset 0 0 0 2px #22c55e}
.ped-naval-cell.bad{background:#fee2e2!important}
.ped-naval-cell.peek{background:#fff!important}
.ped-radar-reveal{position:absolute;inset:0;z-index:30;display:grid;place-items:center;padding:18px;background:rgba(7,31,51,.70);backdrop-filter:blur(4px);opacity:0;transition:.2s opacity;pointer-events:none}
.ped-radar-reveal.show{opacity:1}
.ped-radar-reveal-card{width:min(88%,390px);padding:22px;border-radius:28px;background:#fff;text-align:center;box-shadow:0 24px 70px rgba(0,0,0,.28)}
.ped-radar-reveal-card small{display:inline-block;padding:6px 10px;border-radius:999px;background:#102a43;color:#fff;font-weight:1000;letter-spacing:.08em}
.ped-radar-logo{height:100px;margin:10px auto 4px;display:grid;place-items:center}.ped-radar-logo .brand-logo-image{max-width:220px;max-height:95px}
.ped-radar-car{height:120px;display:grid;place-items:center}.ped-radar-car .brand-car-image{max-width:300px;max-height:112px}
.ped-radar-reveal-card strong{font-size:1.45rem;color:#102a43}

@media(max-width:720px){
  .ped-shape-brand-box{min-height:150px}.ped-shape-logo{height:68px}.ped-shape-outline .edu-shape{font-size:7rem}
  .ped-connect-board{grid-template-columns:1fr 86px;gap:22px;padding:4px}.ped-connect-brand{grid-template-columns:74px 1fr;min-height:88px}.ped-connect-brand .brand-logo-image{height:60px!important}.ped-connect-letter{min-height:88px;font-size:2rem}.ped-connect-line{stroke-width:6}
}
@media(max-width:560px){
  .ped-shape-brand-grid{gap:7px}.ped-shape-brand-box{min-height:112px}.ped-shape-logo{height:52px;padding:5px;border-radius:11px}.ped-shape-triangulo{padding-top:25px}.ped-shape-triangulo .ped-shape-logo{margin-top:15px}.ped-shape-outline .edu-shape{font-size:5rem}
  .ped-brand-name-choice .brand-logo-image{height:58px!important}
  .ped-connect-board{grid-template-columns:1fr 72px;gap:14px}.ped-connect-column{gap:8px}.ped-connect-brand{grid-template-columns:58px 1fr;min-height:70px;padding:7px;border-radius:15px;font-size:.72rem}.ped-connect-brand .brand-logo-image{height:46px!important}.ped-connect-letter{min-height:70px;border-radius:15px;font-size:1.7rem;padding:5px}
  .ped-radar-help{padding:7px 9px;font-size:.72rem}.ped-radar-coordinate{min-width:64px;height:40px;font-size:1.15rem}
  .ped-naval-grid{grid-template-columns:28px repeat(4,minmax(0,1fr));gap:3px;padding:6px}.ped-naval-col{height:23px}.ped-naval-row,.ped-naval-cell{min-height:24px}.ped-naval-cell .brand-logo-image{max-height:21px}
  .ped-total-options{gap:7px}
}


/* V30 final - refinamentos das sugestões pedagógicas */
.ped-real-color-choice{min-height:160px!important}
.ped-real-color-car{display:grid;grid-template-rows:1fr auto;place-items:center;width:100%;gap:5px}
.ped-real-color-car .brand-car-image{width:100%;height:122px!important;object-fit:contain;filter:drop-shadow(0 9px 10px rgba(16,42,67,.18))}
.ped-real-color-car strong{display:block;max-width:100%;font-size:.8rem;line-height:1.1;color:#17324f;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:center}
.color-count-card{position:relative}
.color-count-card .ped-real-color-car .brand-car-image{height:100px!important}
.ped-brand-name-choice strong{font-size:1.15rem!important}
.ped-naval-cell.hidden{background:rgba(255,255,255,.14)}
.ped-naval-cell.hidden span{color:rgba(255,255,255,.65);font-size:.9rem}
@media(max-width:720px){.ped-real-color-choice{min-height:138px!important}.ped-real-color-car .brand-car-image{height:104px!important}.color-count-card .ped-real-color-car .brand-car-image{height:86px!important}}
@media(max-width:430px){.ped-real-color-choice{min-height:122px!important}.ped-real-color-car .brand-car-image{height:90px!important}.ped-real-color-car strong{font-size:.68rem}.color-count-card .ped-real-color-car .brand-car-image{height:74px!important}}


/* =========================================================
 * V31 - jogos sem scroll e missão enxuta no topo
 * ======================================================= */
.v21-game .app{padding-bottom:calc(78px + var(--safe-bottom))}
.v21-game .topbar{min-height:74px;padding:calc(8px + var(--safe-top)) 14px 8px;grid-template-columns:42px 1fr 42px}
.v21-game .topbar-title{font-size:1.02rem}
.v21-game .topbar-eyebrow{font-size:.54rem;margin-bottom:1px}
.v21-game .round-btn{width:38px;height:38px;border-radius:11px;font-size:1.15rem}
.v21-hud{margin:8px 12px 0;padding:9px 10px;border-radius:14px;gap:8px}
.v21-round,.v21-score{font-size:.58rem}.v21-score b,.v21-round b{font-size:.82rem}
.v21-progress-track{height:7px}
.v21-world{margin:8px 12px 84px;padding:12px 12px 10px;min-height:auto;border-radius:22px}
.v21-world:before{display:none}
.v21-stage{max-width:100%}
.v21-kicker{font-size:.56rem}
.v21-prompt{font-size:clamp(1.02rem,4vw,1.45rem);margin:2px auto 8px;max-width:96%;line-height:1.1}
.v21-subprompt{font-size:.72rem;margin:-2px auto 10px}
.v21-media{width:min(100%,100%);height:150px;margin:0 auto 8px;padding:8px;border-radius:20px}
.v21-media.logo .brand-logo-image,.v21-media.logo .brand-logo-svg{max-height:108px}
.v21-media.car .brand-car-image{max-height:134px}
.v21-media.compact{height:136px}
.v21-media.compact .brand-car-image,.v21-media.compact .brand-logo-image{max-height:122px}
.v21-choices{max-width:100%;gap:8px}
.v21-choice{min-height:92px;padding:10px;border-radius:18px;gap:5px;font-size:.88rem}
.v21-choice .brand-logo-image,.v21-choice .brand-logo-svg{height:58px}
.v21-choice .brand-car-image{height:76px}
.v21-choice.letter,.v21-choice.number{font-size:2.2rem;min-height:88px}
.v21-choice.text{font-size:.95rem;min-height:88px}
.v21-choice.color{min-height:90px}.v21-choice.shape{min-height:96px}
.edu-color-dot{width:52px;height:52px}.edu-shape{font-size:3.8rem;min-width:64px}.edu-shape.small{font-size:1.8rem;min-width:34px}
.v21-feedback{min-height:22px;margin-top:8px;font-size:.74rem}
.v21-memory-grid{gap:8px;max-width:100%;margin:6px auto}.memory-card-v21>span{border-radius:15px;padding:7px}.memory-card-v21 .memory-back{font-size:1.6rem}.memory-card-v21 .brand-logo-image,.memory-card-v21 .brand-car-image{max-height:74px}
.v21-count-grid{gap:4px;max-width:100%;margin:0 auto 8px;padding:8px;border-radius:14px}.v21-count-car{width:54px;height:34px}.v21-count-car .brand-car-image{max-height:30px}
.v21-sequence{gap:6px;margin:2px auto 10px}.v21-sequence span{min-width:46px;height:46px;border-radius:12px;font-size:1.15rem}
.v21-mission-hero{display:none!important}
.v21-mission-steps{margin:0 auto 8px;gap:5px}.v21-mission-step{width:28px;height:28px;font-size:.74rem}.v21-mission-step.current{box-shadow:0 0 0 3px rgba(22,143,236,.13)}
.theme-brand-showroom .v21-world:after,.theme-garage-brands .v21-world:after,.theme-memory-pit .v21-world:after,.theme-letter-race .v21-world:after,.theme-number-yard .v21-world:after,.theme-color-garage .v21-world:after,.theme-shape-track .v21-world:after,.theme-mission-hq .v21-world:after{height:88px}
.theme-garage-brands .v21-media.car,.theme-color-garage .v21-media.car,.theme-letter-race .v21-media.car,.theme-number-yard .v21-media.car,.theme-shape-track .v21-media.car,.theme-mission-hq .v21-media.car{padding-bottom:12px}
.theme-garage-brands .v21-media.car:after,.theme-color-garage .v21-media.car:after,.theme-letter-race .v21-media.car:after,.theme-number-yard .v21-media.car:after,.theme-shape-track .v21-media.car:after,.theme-mission-hq .v21-media.car:after{bottom:4px;height:14px}
.turbo-select-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;max-width:100%;margin:0 auto}
.turbo-select-card{min-height:92px;border:2px solid #dfe8ef;border-radius:18px;background:#fff;padding:8px;display:grid;place-items:center;box-shadow:0 6px 18px rgba(16,42,67,.06)}
.turbo-select-card .brand-car-image{height:70px;object-fit:contain}.turbo-select-card .brand-logo-image{height:52px;object-fit:contain}.turbo-select-card.toy{min-height:86px}
.ped-painted-car{display:grid;gap:4px;justify-items:center}.ped-painted-brand{display:block;width:100%;max-width:60px;height:22px}.ped-painted-brand .brand-logo-image{height:100%}
@media(max-width:720px){
  .v21-choices{grid-template-columns:repeat(2,minmax(0,1fr))}
  .turbo-select-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .v21-choice:nth-child(3):last-child,.turbo-select-grid .turbo-select-card:nth-child(3):last-child{grid-column:1/-1}
}
@media(max-width:420px){
  .v21-game .topbar{padding-left:10px;padding-right:10px}
  .v21-hud{margin-left:10px;margin-right:10px}
  .v21-world{margin-left:10px;margin-right:10px;padding:10px 10px 8px}
  .v21-prompt{font-size:1rem}
  .v21-media{height:132px}
  .v21-media.car .brand-car-image{max-height:118px}
  .v21-media.logo .brand-logo-image,.v21-media.logo .brand-logo-svg{max-height:96px}
  .v21-media.compact{height:124px}
  .v21-media.compact .brand-car-image,.v21-media.compact .brand-logo-image{max-height:108px}
  .v21-choice{min-height:84px;padding:8px}
  .v21-choice .brand-car-image{height:66px}
  .v21-choice .brand-logo-image,.v21-choice .brand-logo-svg{height:50px}
  .v21-choice.letter,.v21-choice.number{font-size:2rem;min-height:80px}
  .memory-card-v21 .brand-logo-image,.memory-card-v21 .brand-car-image{max-height:66px}
  .v21-mission-step{width:26px;height:26px;font-size:.68rem}
}

/* =========================================================
 * V31.1 - viewport travada: sem scroll, 3 opções, HUD embaixo
 * ======================================================= */
.v21-game{height:100dvh!important;min-height:100dvh!important;overflow:hidden!important}
.v21-game .app{height:100dvh!important;min-height:100dvh!important;overflow:hidden!important;padding-bottom:0!important}
.v21-game .topbar{
  position:absolute!important;left:0;right:0;top:0;z-index:40;
  min-height:64px!important;height:calc(64px + var(--safe-top))!important;
  padding:calc(7px + var(--safe-top)) 14px 7px!important;
  grid-template-columns:42px 1fr 42px!important;
  background:rgba(255,255,255,.98)!important;backdrop-filter:blur(14px)
}
.v21-game .topbar-eyebrow{display:none!important}
.v21-game .topbar-title{font-size:1.22rem!important;line-height:1.05!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.v21-game .round-btn{width:40px!important;height:40px!important;border-radius:12px!important}

.v21-game .v21-hud{
  position:absolute!important;z-index:35;left:10px!important;right:10px!important;
  bottom:calc(72px + var(--safe-bottom))!important;height:50px!important;
  margin:0!important;padding:7px 11px!important;border-radius:15px!important;
  grid-template-columns:auto minmax(80px,1fr) auto!important;gap:10px!important;
  background:rgba(255,255,255,.97)!important;backdrop-filter:blur(12px)!important;
  box-shadow:0 -4px 18px rgba(16,42,67,.09),0 7px 18px rgba(16,42,67,.09)!important
}
.v21-game .v21-progress-track{height:7px!important}
.v21-game .v21-round,.v21-game .v21-score{font-size:.62rem!important;white-space:nowrap!important}
.v21-game .v21-score b,.v21-game .v21-round b{font-size:.86rem!important}

.v21-game .v21-world{
  position:absolute!important;z-index:1;left:8px!important;right:8px!important;
  top:calc(64px + var(--safe-top))!important;bottom:calc(128px + var(--safe-bottom))!important;
  width:auto!important;height:auto!important;min-height:0!important;
  margin:8px 0 0!important;padding:12px 14px 14px!important;
  border-radius:22px!important;overflow:hidden!important
}
.v21-game .v21-stage{
  width:100%!important;max-width:100%!important;height:100%!important;min-height:0!important;
  display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important
}
.v21-game .v21-kicker{margin:0 0 2px!important;font-size:.58rem!important}
.v21-game .v21-prompt{
  flex:0 0 auto!important;margin:0 auto 8px!important;max-width:94%!important;
  padding:7px 12px!important;border-radius:14px!important;
  background:rgba(255,255,255,.90)!important;backdrop-filter:blur(5px)!important;
  box-shadow:0 5px 16px rgba(16,42,67,.08)!important;
  font-size:clamp(1.08rem,3.3vw,1.72rem)!important;line-height:1.08!important
}
.v21-game .v21-subprompt{margin:0 auto 7px!important}
.v21-game [data-stage-media]{flex:0 1 auto!important;min-height:0!important;width:100%!important;display:grid!important;place-items:center!important}
.v21-game .v21-media{width:min(100%,620px)!important;height:clamp(118px,25vh,235px)!important;min-height:0!important;margin:0 auto 8px!important;padding:7px!important;border-radius:20px!important}
.v21-game .v21-media.compact{height:clamp(105px,20vh,190px)!important}
.v21-game .v21-media.car .brand-car-image,.v21-game .v21-media.logo .brand-logo-image,.v21-game .v21-media.logo .brand-logo-svg,.v21-game .v21-media.compact .brand-car-image,.v21-game .v21-media.compact .brand-logo-image{max-height:100%!important}

/* Perguntas simples nunca quebram a quarta opção: agora são no máximo 3. */
.v21-game .v21-choices{flex:0 0 auto!important;width:min(100%,760px)!important;max-width:760px!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;margin:0 auto!important}
.v21-game .v21-choice{min-width:0!important;min-height:clamp(78px,15vh,126px)!important;padding:8px!important;border-radius:18px!important;gap:4px!important}
.v21-game .v21-choice:nth-child(3):last-child{grid-column:auto!important}
.v21-game .v21-choice .brand-car-image{height:clamp(68px,13vh,108px)!important}
.v21-game .v21-choice .brand-logo-image,.v21-game .v21-choice .brand-logo-svg{height:clamp(58px,10vh,92px)!important}
.v21-game .v21-choice.letter,.v21-game .v21-choice.number{font-size:clamp(1.8rem,6vh,2.7rem)!important}
.v21-game .v21-choice strong{font-size:.78rem!important;line-height:1.05!important}
.v21-game .v21-feedback{flex:0 0 auto!important;min-height:22px!important;margin:6px auto 0!important}
.v21-game .v21-feedback.show{min-height:36px!important;padding:5px 10px!important;font-size:.78rem!important}

/* Missão Turbo sem hero. O título dinâmico fica só na barra do topo. */
.theme-mission-hq .v21-mission-hero{display:none!important}
.theme-mission-hq .v21-mission-steps{margin:0 auto 7px!important;gap:5px!important;flex-wrap:nowrap!important}
.theme-mission-hq .v21-mission-step{width:30px!important;height:30px!important;font-size:.72rem!important}
.theme-mission-hq .v21-mission-step.current{transform:scale(1.08)!important}

/* Memória 4 x 2 para caber inteira. */
.theme-memory-pit .v21-memory-grid,.v21-memory-grid{flex:1 1 auto!important;min-height:0!important;width:min(100%,620px)!important;max-width:620px!important;grid-template-columns:repeat(4,1fr)!important;gap:7px!important;margin:2px auto!important}
.memory-card-v21>span{padding:5px!important;border-radius:14px!important}
.theme-memory-pit .memory-card-v21 .brand-logo-image,.theme-memory-pit .memory-card-v21 .brand-car-image,.memory-card-v21 .brand-logo-image,.memory-card-v21 .brand-car-image{max-height:100%!important}

/* Mecânicas pedagógicas compactas em 3 colunas quando há seleção múltipla. */
.v21-game .ped-select-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important}
.v21-game .ped-select-card{min-height:92px!important;padding:6px!important}
.v21-game .ped-select-card .brand-car-image{height:72px!important}
.v21-game .ped-real-color-choice{min-height:96px!important}
.v21-game .ped-real-color-car .brand-car-image{height:70px!important}
.v21-game .color-count-card .ped-real-color-car .brand-car-image{height:62px!important}
.v21-game .ped-shape-brand-grid{gap:7px!important;margin:0 auto 6px!important}
.v21-game .ped-shape-brand-box{min-height:100px!important}
.v21-game .ped-shape-logo{height:48px!important}
.v21-game .ped-connect-board{margin:0 auto!important;gap:14px!important;padding:2px!important}
.v21-game .ped-connect-column{gap:6px!important}
.v21-game .ped-connect-brand,.v21-game .ped-connect-letter{min-height:58px!important;padding:5px!important;border-radius:13px!important}
.v21-game .ped-connect-brand{grid-template-columns:50px 1fr!important;font-size:.7rem!important}
.v21-game .ped-connect-brand .brand-logo-image{height:40px!important}
.v21-game .ped-connect-letter{font-size:1.55rem!important}
.v21-game .ped-radar-help{margin:0 auto 5px!important;padding:5px 8px!important}
.v21-game .ped-naval-grid{gap:2px!important;padding:5px!important}
.v21-game .ped-naval-row,.v21-game .ped-naval-cell{min-height:20px!important}
.v21-game .ped-naval-col{height:20px!important}

.theme-mission-hq .turbo-select-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important}
.theme-mission-hq .turbo-select-card{min-height:88px!important;padding:5px!important}
.theme-mission-hq .turbo-select-card .brand-car-image{max-height:70px!important}
.theme-mission-hq .edu-toy-car svg{width:82px!important;height:48px!important}

@media(max-width:560px){
  .v21-game .topbar{grid-template-columns:38px 1fr 38px!important;padding-left:9px!important;padding-right:9px!important}
  .v21-game .round-btn{width:36px!important;height:36px!important}
  .v21-game .topbar-title{font-size:1.04rem!important}
  .v21-game .v21-world{left:5px!important;right:5px!important;padding:9px 7px 10px!important;border-radius:17px!important}
  .v21-game .v21-prompt{max-width:98%!important;font-size:clamp(.96rem,4.8vw,1.25rem)!important;padding:5px 8px!important;margin-bottom:6px!important}
  .v21-game .v21-choices{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:5px!important}
  .v21-game .v21-choice{min-height:72px!important;padding:5px!important;border-radius:14px!important}
  .v21-game .v21-choice .brand-logo-image,.v21-game .v21-choice .brand-logo-svg{height:58px!important}
  .v21-game .v21-choice .brand-car-image{height:64px!important}
  .v21-game .v21-choice strong{font-size:.68rem!important}
  .theme-mission-hq .v21-mission-step{width:25px!important;height:25px!important;font-size:.62rem!important}
  .theme-memory-pit .v21-memory-grid,.v21-memory-grid{gap:4px!important}
}

@media(max-height:760px){
  .v21-game .topbar{min-height:56px!important;height:calc(56px + var(--safe-top))!important;padding-top:calc(4px + var(--safe-top))!important;padding-bottom:4px!important}
  .v21-game .v21-world{top:calc(56px + var(--safe-top))!important;bottom:calc(118px + var(--safe-bottom))!important;margin-top:5px!important;padding-top:7px!important}
  .v21-game .v21-hud{height:43px!important;bottom:calc(68px + var(--safe-bottom))!important;padding:5px 9px!important}
  .v21-game .v21-media{height:clamp(94px,20vh,150px)!important}
  .v21-game .v21-media.compact{height:clamp(82px,17vh,125px)!important}
  .v21-game .v21-choice{min-height:64px!important}
  .v21-game .v21-choice .brand-car-image{height:58px!important}
  .v21-game .v21-choice .brand-logo-image,.v21-game .v21-choice .brand-logo-svg{height:52px!important}
  .v21-game .v21-prompt{font-size:1rem!important;margin-bottom:4px!important}
  .theme-mission-hq .v21-mission-steps{margin-bottom:4px!important}
}
