.academy-dialog{box-sizing:border-box;width:min(1080px,calc(100vw - 24px));max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);margin:auto;padding:clamp(16px,3vw,30px);color:#e8f0eb;background:linear-gradient(145deg,#152e29,#111e2b 60%);border:1px solid #71864d;border-radius:20px;overflow:auto;overscroll-behavior:contain;box-shadow:0 25px 100px #0009}.academy-dialog::backdrop{background:#050d16bb;backdrop-filter:blur(3px)}.academy-dialog h1{font-size:clamp(1.5rem,4vw,2.3rem);line-height:1.15;margin:14px 0}.academy-dialog h2{font-size:1.15rem;margin:12px 0}.academy-dialog p{line-height:1.6;margin:12px 0}.academy-dialog button{min-height:44px;padding:10px 14px;white-space:normal}.academy-dialog :focus-visible,.academy-coach :focus-visible{outline:3px solid #f2d56c;outline-offset:3px}.academy-toolbar,.academy-footer,.academy-actions,.academy-step-nav,.academy-demo-menu{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:14px 0}.academy-toolbar{justify-content:space-between;margin-top:0}.academy-footer{justify-content:space-between;border-top:1px solid #ffffff20;padding-top:16px}.academy-kicker{font-size:.72rem;font-weight:800;letter-spacing:.12em;color:#efd46a}.academy-progress{margin:20px 0;padding:16px;border:1px solid #49684f;border-radius:12px;background:#193b2d}.academy-progress small{display:block}.academy-dialog progress{display:block;width:100%;height:10px;accent-color:#ecd068;margin:12px 0}.academy-search{display:grid;grid-template-columns:2fr 1fr;gap:16px;margin:24px 0}.academy-dialog label{display:grid;gap:8px}.academy-dialog input,.academy-dialog select{width:100%;min-width:0;min-height:44px;box-sizing:border-box}.academy-chapters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.academy-chapters .panel{min-width:0;padding:18px;background:#102630}.academy-number{display:block;color:#decd7d;font-size:1.7rem;font-weight:800}.academy-chapters small{color:#9bc9b6}.academy-chapters details{margin-top:16px}.academy-chapters summary{cursor:pointer;line-height:1.5;min-height:44px}.academy-lesson{font-size:1.05rem;max-width:80ch}.academy-sandbox{position:relative;border:1px solid #3b7860;border-radius:14px;padding:16px;background:#0c1c27;margin:20px 0}.academy-safety{font-size:.72rem;color:#f1d878;background:#283522;border-radius:8px;padding:10px;margin-bottom:16px;font-weight:800}.academy-demo-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:start}.academy-demo-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:14px 0}.academy-sandbox .vehicle-card{width:100%;max-width:310px;margin:auto;pointer-events:none}.academy-sandbox .card-art-wrap{height:150px}.academy-sandbox .car-art,.academy-sandbox .car-image{object-fit:contain;max-height:150px}.academy-sandbox .card-back{min-height:210px;width:100%;max-width:270px}.academy-sandbox button{margin:5px}.academy-demo-feedback{color:#f0d46d}.academy-success{color:#88e4b3;animation:academy-ack .2s ease-out}.academy-quiz{display:grid;gap:14px;padding:24px 0}.academy-tracked{border:1px solid #e1ca6b;border-radius:8px;padding:12px;max-width:350px;margin-left:auto}.academy-torn{padding:70px 20px;border:2px dashed #a7b099;text-align:center}.academy-live{position:fixed;inset:auto 12px 12px auto;width:min(420px,calc(100vw - 24px));max-height:55dvh;margin:0;z-index:1500}.academy-live .academy-chapters{grid-template-columns:1fr}.academy-live::backdrop{background:transparent}.academy-help{min-width:44px;min-height:44px}.academy-news{font-size:.7rem;color:#efd46a}.academy-tour{position:fixed;inset:0;z-index:2500;pointer-events:none}.academy-spotlight{position:fixed;border:3px solid #eed267;border-radius:10px;box-shadow:0 0 0 9999px #030b13bd;pointer-events:none}.academy-coach{position:fixed;background:#162d29;color:#fff;border:1px solid #e5cd6d;padding:16px;border-radius:14px;box-sizing:border-box;pointer-events:auto;max-height:calc(100dvh - 24px);overflow:auto}.academy-coach p{margin:12px 0;line-height:1.5}.academy-coach button{min-height:44px;margin:4px}.academy-coach>div{display:flex;flex-wrap:wrap}.academy-welcome{max-width:650px;margin:30px auto;text-align:center}.academy-welcome .academy-actions{justify-content:center}.academy-welcome small{display:block;margin:20px}.academy-reduced *{animation:none!important;transition:none!important}@keyframes academy-ack{from{opacity:.5;transform:translateY(4px)}to{opacity:1;transform:none}}
@media(max-width:800px){.academy-chapters{grid-template-columns:repeat(2,minmax(0,1fr))}.academy-dialog{padding:18px}}
@media(max-width:520px){.academy-chapters,.academy-search,.academy-demo-pair{grid-template-columns:1fr}.academy-dialog{width:calc(100vw - 12px);max-width:calc(100vw - 12px);max-height:calc(100dvh - 12px);padding:14px;padding-bottom:max(16px,env(safe-area-inset-bottom));border-radius:14px}.academy-demo-cards{grid-template-columns:1fr}.academy-demo-cards .card-back{margin:auto}.academy-toolbar button{font-size:.8rem}.academy-step-nav button{flex:1 1 42%}.academy-live{width:calc(100vw - 24px);max-height:48dvh}.academy-help{font-size:.8rem}.academy-sandbox{padding:10px}}
@media(orientation:landscape) and (max-height:550px){.academy-dialog{max-height:calc(100dvh - 12px)}.academy-demo-cards{grid-template-columns:repeat(3,minmax(0,1fr))}.academy-dialog .card-art-wrap{height:100px}.academy-dialog .car-art{max-height:100px}.academy-live{width:45vw;max-height:80dvh}}
@media(prefers-reduced-motion:reduce){.academy-dialog *{animation:none!important;transition:none!important}}
.academy-mini{min-width:24px;min-height:24px;padding:1px 5px;font-size:.7rem;border-radius:50%}.academy-dialog [hidden]{display:none!important}.academy-dialog{overflow-wrap:anywhere}.academy-dialog .academy-news-banner{border-left:3px solid #e8ce69;padding:12px}.academy-live .academy-toolbar{position:sticky;top:0;background:#152e29;z-index:2}.academy-sandbox:has(.academy-tracked){padding-right:16px}.academy-help{padding:8px 12px}.topbar .academy-news{min-width:30px;padding:4px}.academy-dialog .vehicle-card img{object-fit:contain}
@media(max-width:520px){.topbar .row{gap:5px}.topbar .academy-help{min-width:40px;padding:8px}.topbar .wallet{font-size:.9rem}.topbar .wallet small{font-size:.5rem}.topbar .brand{max-width:38%}}
.academy-nudge{position:fixed;right:16px;bottom:max(18px,env(safe-area-inset-bottom));width:min(330px,calc(100vw - 32px));z-index:90;background:#18372e;color:#eef5ee;border:1px solid #aa995c;border-radius:12px;padding:16px;box-sizing:border-box;box-shadow:0 8px 30px #0008}.academy-nudge[hidden]{display:none}.academy-nudge p{font-size:.9rem;line-height:1.5}.academy-nudge button{min-height:44px;margin:4px}.academy-guide{padding:16px 0}.academy-guide summary{min-height:44px;cursor:pointer;font-weight:700}.academy-guide li{line-height:1.6;margin:12px 0}.academy-guide ol{padding-left:22px}
