@charset "UTF-8";
@font-face{font-family:'Barlow Condensed';src:url('assets/barlow-condensed.woff2') format('woff2');font-style:normal;font-weight:600 900;font-display:swap}
:root{--bg:#061425;--deep:#030d1d;--surface:#0b1c34;--surface-up:#102747;--surface-soft:#132e50;--ink:#eef8ff;--muted:#a5bad2;--dim:#748eaa;--line:rgba(144,196,255,.17);--cyan:#36e8ff;--blue:#3177ff;--magenta:#e46bff;--green:#75f1b2;--red:#ff968e;--amber:#ffdb7a;--radius:18px;--display:'Barlow Condensed',Impact,'Arial Narrow',sans-serif;font-family:Arial,Helvetica,sans-serif;background:var(--bg);color:var(--ink);font-size:16px;line-height:1.5;color-scheme:dark;font-synthesis:none}
*{box-sizing:border-box}body{margin:0;min-width:320px;background:radial-gradient(ellipse at 80% 0,#123b6c66,transparent 48%),var(--bg)}button,input,select,textarea{font:inherit}button,a,input,select,summary{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit;background:none;border:0}button:disabled{cursor:default}button,a{touch-action:manipulation}button,select,input{min-height:44px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid var(--cyan);outline-offset:4px}a{color:#8dedff;text-underline-offset:4px;text-decoration-thickness:1px}a:hover{color:#c5f8ff}svg{display:block;max-width:100%;flex-shrink:0}img{display:block;max-width:100%}button svg{pointer-events:none}button svg,a svg{width:21px;height:21px}h1,h2,h3,p{margin-top:0}h1,h2,h3{line-height:1.1}h1,h2,h3,.hero-title,.wordmark,.car-tier,.results-score{font-family:var(--display);font-stretch:condensed}h2{font-size:2rem;margin-bottom:12px}h3{font-size:1.5rem;margin-bottom:10px}p{line-height:1.65}small{font-size:.875rem}[hidden],.hidden{display:none!important}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.app-shell{min-height:100vh;min-height:100dvh}.site-header{max-width:1500px;margin:0 auto;min-height:92px;padding:20px 36px;display:flex;align-items:center;justify-content:space-between;gap:25px;border-bottom:1px solid var(--line)}.wordmark{display:flex;align-items:center;gap:12px;color:var(--ink);text-decoration:none;flex:none}.brand-icon{display:grid;place-items:center;width:42px;height:42px;border:1px solid #3d80ae;background:linear-gradient(135deg,#214d75,#09223c);border-radius:12px;color:var(--cyan);font-family:Arial,sans-serif;font-size:1.8rem;box-shadow:inset 0 0 20px #2adfff0c}.brand-icon svg{width:28px;height:28px}.brand-name{display:block;font-size:1.55rem;font-weight:800;text-transform:uppercase;letter-spacing:.025em;line-height:.95}.brand-edition{display:block;font-family:Arial,sans-serif;font-size:.875rem;font-weight:600;letter-spacing:.19em;color:#7bd7f1;margin-top:7px;line-height:1}.header-controls{display:flex;align-items:center;justify-content:flex-end;gap:10px;min-width:0}.bank-selector{display:inline-flex;align-items:center;gap:10px;border:1px solid #31516f;background:#0b2037;border-radius:10px;padding:10px 14px;min-height:45px;font-size:.875rem;font-weight:700;line-height:1.3;white-space:nowrap}.bank-selector:hover{border-color:#63c8e3;background:#112d49}.bank-selector>span:last-child{color:#8aa7c0}.currency{display:flex;align-items:center;gap:8px;font-size:.95rem;font-weight:700;padding:10px 13px;border:1px solid var(--line);background:#0c223b;border-radius:10px;min-height:45px;white-space:nowrap}.currency svg{width:20px;height:20px;color:var(--amber)}.profile-button{display:flex;align-items:center;gap:9px;min-height:44px;border:1px solid #2c4966;border-radius:10px;padding:4px 10px 4px 4px;white-space:nowrap;font-size:.875rem;font-weight:700;background:#0c223b}.profile-button img,.profile-button>svg,.profile-button .avatar-preview{height:34px;width:34px;border-radius:7px;object-fit:cover;overflow:hidden}.icon-button{display:grid;place-items:center;width:44px;height:44px;min-width:44px;border:1px solid var(--line);border-radius:10px;color:#a8c4dc;background:#0b2037}.icon-button:hover{background:#173655;color:#dcfaff}.icon-button svg{width:21px;height:21px}.main-nav{position:fixed;bottom:22px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:6px;padding:7px;background:#071728f5;border:1px solid #42698a;border-radius:17px;z-index:60;box-shadow:0 12px 40px #0007;backdrop-filter:blur(16px)}.nav-item{display:flex;align-items:center;justify-content:center;gap:9px;padding:12px 24px;min-width:128px;min-height:45px;border-radius:10px;color:#a3b9cf;font-size:.875rem;font-weight:700;letter-spacing:.02em}.nav-item svg{width:20px;height:20px}.nav-item:hover{color:var(--ink);background:#15344f}.nav-item.active{color:#041e2d;background:var(--cyan);box-shadow:0 0 24px #36e8ff20}.app-main{max-width:1500px;margin:0 auto;padding:30px 36px 125px}.page{animation:page-in .25s ease}.hero{position:relative;isolation:isolate;min-height:625px;border:1px solid #45698a;border-radius:22px;overflow:hidden;background:#0c2c50;box-shadow:0 20px 75px #0003}.hero-bg,.hero-vignette{position:absolute;inset:0;z-index:-2}.hero-bg img{width:100%;height:100%;object-fit:cover;object-position:center 53%}.hero-vignette{z-index:-1;background:linear-gradient(90deg,#041427f0 0%,#061a35b5 34%,#05275425 65%,#06142522 100%),linear-gradient(0deg,#041324f0,transparent 42%,#08254615 80%)}.hero-city{position:absolute;top:30px;right:30px;display:flex;align-items:center;gap:8px;font-size:.875rem;font-weight:700;letter-spacing:.13em;text-transform:uppercase;color:#d9f7ff;text-shadow:0 1px 6px #020b20}.hero-city::before{content:'';height:6px;width:6px;background:var(--cyan);border-radius:50%;box-shadow:0 0 10px #36e8ff}.hero-grid{display:grid;grid-template-columns:42% 58%;align-items:center;position:relative;min-height:525px;padding:55px 42px 30px}.hero-copy{position:relative;z-index:10}.kicker{font-size:.875rem;font-weight:700;letter-spacing:.15em;text-transform:uppercase;color:#8ed9fa;line-height:1.5;margin-bottom:20px}.hero-title{font-size:clamp(4rem,6.8vw,7rem);font-weight:800;letter-spacing:-.02em;text-transform:uppercase;line-height:.88;margin:0 0 24px;text-shadow:0 4px 26px #04204455}.hero-title span,.hero-title em{color:var(--cyan);font-style:normal;display:block}.hero-subtitle{font-size:1.05rem;color:#c4d8e9;max-width:365px;line-height:1.7;margin-bottom:26px}.hero-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:48px;padding:13px 20px;border-radius:10px;font-size:.95rem;font-weight:700;line-height:1.4;text-decoration:none;border:1px solid transparent;transition:background .18s,transform .18s,box-shadow .18s,color .18s}.btn svg{width:20px;height:20px}.btn-primary{background:linear-gradient(110deg,#62edff,#2bcefa);border-color:#9cefff;color:#042537;box-shadow:0 6px 25px #1bd4ff22,inset 0 1px 0 #ffffff77}.btn-primary:hover{background:linear-gradient(110deg,#9df5ff,#50ddff);color:#042537;box-shadow:0 7px 30px #20dfff3a;transform:translateY(-1px)}.btn-primary:active{transform:translateY(1px)}.btn-primary:disabled{opacity:.5;box-shadow:none;transform:none}.btn-secondary{background:#102c46d9;border-color:#486782;color:#d5edff}.btn-secondary:hover{background:#184365;border-color:#78accd;color:var(--ink)}.btn-quiet{color:#a6c4dc;min-height:44px;padding-inline:12px}.btn-quiet:hover{background:#1d3f5b70;color:#e6f8ff}.hero-art{position:relative;align-self:stretch;min-width:0;pointer-events:none}.hero-art .world-scene{background:transparent;overflow:visible;min-height:430px;height:100%;border:0;box-shadow:none}.hero-art .world-bg{display:none}.hero-bottom{position:relative;display:flex;align-items:center;justify-content:space-between;gap:25px;border-top:1px solid #73b4dc35;margin:0 38px;padding:22px 0 25px;z-index:12}.hero-pack{display:flex;align-items:center;flex-wrap:wrap;gap:10px;font-size:.875rem;color:#c4d8eb}.chip{display:inline-flex;align-items:center;gap:6px;min-height:28px;padding:5px 8px;border-radius:5px;border:1px solid #6ea7cc55;background:#07345380;color:#a4ebff;font-size:.875rem;line-height:1.3;font-weight:700}.chip svg{width:15px;height:15px}.hero-progress{font-size:.875rem;color:#b7cddd;text-align:right;min-width:160px}.hero-progress strong{display:block;color:#effaff;font-family:var(--display);font-size:1.4rem;line-height:1.1;letter-spacing:.02em;margin-bottom:5px}.section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin:34px 0 19px}.section-heading h2{font-size:2rem;text-transform:uppercase;letter-spacing:.02em;margin:0}.section-heading p{font-size:.95rem;color:var(--muted);margin:0;line-height:1.5}.city-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.city-card{position:relative;display:block;text-align:left;border:1px solid #2f4c68;border-radius:15px;background:#0c2138;overflow:hidden;transition:border-color .2s,transform .2s,background .2s;min-width:0;padding:0}.city-card:hover{border-color:#66a5ce;transform:translateY(-2px)}.city-card.selected{border-color:var(--cyan);background:#0c2a43;box-shadow:0 0 0 1px #36e8ff40,0 8px 25px #16c1ee0b}.city-thumb{height:130px;position:relative;overflow:hidden}.city-thumb::after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#06152a7a,transparent 65%)}.city-thumb img{width:100%;height:100%;object-fit:cover;transition:transform .35s}.city-card:hover .city-thumb img{transform:scale(1.035)}.city-info{padding:15px 17px;display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:.875rem;color:#9eb9d0}.city-info strong{font-family:var(--display);text-transform:uppercase;font-size:1.65rem;letter-spacing:.025em;color:#ebf8ff;line-height:1}.city-info small{font-size:.875rem}.city-info svg{width:18px;height:18px;color:var(--cyan)}.mission-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:20px}.mission-card{position:relative;display:flex;align-items:center;gap:16px;padding:22px;border:1px solid var(--line);border-radius:15px;background:linear-gradient(120deg,#0c213c,#0b1b31);text-align:left;min-width:0;transition:background .2s,border-color .2s}.mission-card:hover{border-color:#4d8eb6;background:#12304d}.mission-icon{width:43px;height:43px;min-width:43px;display:grid;place-items:center;border:1px solid #4185ab66;border-radius:11px;background:#143d5740;color:var(--cyan)}.mission-icon svg{width:24px;height:24px}.mission-copy{display:flex;flex-direction:column;gap:6px;min-width:0}.mission-copy strong{font-family:var(--display);font-size:1.5rem;text-transform:uppercase;line-height:1.1;letter-spacing:.02em;color:#e7f8ff}.mission-copy p,.mission-copy span{font-size:.875rem;color:#a7bfd4;line-height:1.5;margin:0}.mission-tag{display:inline-flex;font-size:.875rem;color:#78cde8;line-height:1.4;margin-top:2px}.next-reward-card{display:flex;align-items:center;gap:23px;min-height:150px;padding:20px 25px;border:1px solid #4e528b77;border-radius:16px;margin-top:22px;background:linear-gradient(100deg,#142744,#172644,#202341);overflow:hidden}.mini-car{width:220px;min-width:180px}.mini-car img{width:100%;height:110px;object-fit:contain;filter:drop-shadow(0 8px 10px #0005)}.next-copy{flex:1;min-width:0}.next-copy h3{font-size:1.9rem;text-transform:uppercase;margin:0 0 7px;letter-spacing:.02em}.next-copy p{font-size:.95rem;color:#b3bfd9;line-height:1.5;margin:0}.next-copy small{font-size:.875rem;color:#b8b9dc}.notice{display:flex;align-items:flex-start;gap:10px;border:1px solid #3c5671;background:#11243a;padding:15px 18px;border-radius:12px;font-size:.875rem;line-height:1.65;color:#b4c9dc;margin:18px 0}.notice svg{height:20px;width:20px;margin-top:2px}.source-footnote{font-size:.875rem;line-height:1.7;color:#8da8c2;margin:20px 2px 0;overflow-wrap:anywhere}.source-footnote button{font-size:inherit;color:#8cdbf4;text-decoration:underline;text-underline-offset:4px;min-height:35px;padding:0}.pill{display:inline-flex;align-items:center;gap:7px;border:1px solid #456789;background:#14314b;border-radius:100px;font-size:.875rem;line-height:1.3;padding:7px 11px;color:#c8e8fb}
/* World layers are always LTR; a source-language panel can independently be RTL. */
.world-scene{position:relative;isolation:isolate;overflow:hidden;direction:ltr;min-height:400px;background:#0b2442;border-radius:16px}.world-bg{position:absolute;inset:0;z-index:-2}.world-bg img{width:100%;height:100%;object-fit:cover;object-position:center 58%}.world-scene::after{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(0deg,#041429b0,transparent 45%,#06152a20)}.actor{position:absolute;left:5%;bottom:42px;width:145px;height:260px;z-index:5;transform-origin:bottom center;filter:drop-shadow(0 8px 8px #0005)}.actor-body{position:absolute;inset:0}.actor-body svg{height:100%;width:100%;overflow:visible}.actor-head{position:absolute;width:65px;height:80px;left:40px;top:3px;overflow:hidden;border-radius:45% 45% 43% 43%;transform:rotate(-3deg);background:#c69980;z-index:2;box-shadow:0 2px 5px #06152a50}.actor-head img,.actor-head>svg{width:100%;height:100%;object-fit:cover}.scene-car{position:absolute;right:1%;bottom:27px;width:83%;z-index:3;filter:drop-shadow(0 20px 11px #0006);transform-origin:bottom center}.scene-car img{width:100%;height:auto;max-height:360px;object-fit:contain}.scene-props{position:absolute;inset:0;pointer-events:none;z-index:2}.ambient-lights{position:absolute;inset:0;pointer-events:none;z-index:1;opacity:.4;background:radial-gradient(ellipse at 62% 84%,#20d5ff55,transparent 35%)}.scene-caption{position:absolute;left:20px;bottom:14px;color:#bce8ff;font-size:.875rem;letter-spacing:.08em;text-transform:uppercase;text-shadow:0 2px 5px #000;z-index:8}.hero-art .actor{left:0;bottom:35px;width:155px;height:285px}.hero-art .scene-car{right:-12%;width:112%;bottom:19px}.hero-art .actor-head{left:42px;width:70px;height:84px;top:3px}.hero-art .scene-caption{display:none}.run-header{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin:0 0 18px}.back-button{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:8px 0;color:#a4c0d8;font-size:.875rem}.back-button:hover{color:#effaff}.back-button svg{width:20px;height:20px}.run-mode{font-family:var(--display);font-size:1.6rem;text-transform:uppercase;letter-spacing:.04em;margin-left:auto;color:#d8f5ff}.run-counter{display:flex;align-items:center;gap:9px;flex-wrap:wrap;color:#b8d3e8;font-size:.875rem}.run-counter strong{color:var(--cyan)}.run-track{height:5px;background:#18324c;border-radius:30px;overflow:hidden;flex-basis:100%;margin-top:2px}.run-fill{height:100%;background:linear-gradient(90deg,#2274ff,#35e5ff);border-radius:30px;transition:width .35s}.quiz-layout{display:grid;grid-template-columns:52fr 48fr;gap:22px;align-items:start}.question-world{position:sticky;top:20px;min-width:0}.question-world>.world-scene{min-height:465px;border:1px solid #3b6484}.question-world .scene-car{width:86%;right:-2%;bottom:45px}.question-world .actor{left:5%;bottom:44px;height:255px;width:142px}.scene-status{position:absolute;top:17px;left:17px;right:17px;display:flex;align-items:center;justify-content:space-between;gap:12px;z-index:10;font-size:.875rem;line-height:1.5;color:#daf6ff;text-shadow:0 2px 5px #05213f}.scene-status>span,.scene-status>strong{padding:8px 10px;background:#051a2cbb;border:1px solid #5492b355;border-radius:7px;backdrop-filter:blur(5px)}.secret-cache{position:absolute;width:49px;height:49px;min-height:49px;border:1px solid #8af4ff;background:radial-gradient(circle,#3cdbff99,#0c4a8a55);border-radius:50%;display:grid;place-items:center;color:#d7ffff;box-shadow:0 0 22px #37e9ff80,inset 0 0 12px #57e3ff88;z-index:18;animation:key-glow 2s ease-in-out infinite;touch-action:manipulation}.secret-cache svg{width:27px;height:27px}.secret-cache:hover{background:#237a9d;box-shadow:0 0 35px #56ebffb0}.question-card{position:relative;border:1px solid #365977;background:linear-gradient(130deg,#102641,#0a1c33);border-radius:18px;padding:27px;min-width:0;box-shadow:0 12px 35px #0002}.question-meta{display:flex;align-items:flex-start;justify-content:space-between;gap:13px;font-size:.875rem;line-height:1.5;color:#9bbcd6;margin-bottom:20px}.question-meta span:last-child{text-align:end;max-width:66%}.original-image{padding:10px;background:#fff;border:1px solid #7e9db5;border-radius:10px;position:relative;margin:0 0 22px;overflow:hidden}.original-image img{width:100%;max-height:220px;object-fit:contain;cursor:zoom-in;background:#fff}.original-image button{position:absolute;bottom:6px;right:6px;border-radius:6px;background:#062742dd;color:#e6fbff;padding:8px 10px;font-size:.875rem}.question-text,.question-text h1{font-family:Arial,Helvetica,sans-serif;font-weight:700;font-size:1.3rem;line-height:1.5;letter-spacing:-.015em;margin:0 0 21px;overflow-wrap:anywhere}.question-text:focus,.question-text h1:focus{outline:none}.answer-list{display:grid;gap:11px}.answer-button{display:flex;align-items:center;gap:12px;width:100%;text-align:start;min-height:63px;padding:14px 15px;border:1px solid #385774;border-radius:10px;background:#0b213a;color:#dbedfb;font-size:1rem;line-height:1.55;transition:background .15s,border-color .15s}.answer-button:hover:not(:disabled){background:#153858;border-color:#74bddb}.answer-button:disabled{opacity:1}.answer-label{height:29px;width:29px;min-width:29px;display:grid;place-items:center;background:#193853;border:1px solid #41607a;border-radius:6px;font-size:.875rem;font-weight:700;color:#c4def1;line-height:1}.answer-text{flex:1;min-width:0;overflow-wrap:anywhere}.answer-mark{margin-inline-start:auto;min-width:0;flex-shrink:0;color:inherit}.answer-mark svg{width:21px;height:21px}.answer-button.is-correct{border-color:#63d8aa;background:#123f3e;color:#dcfff0}.answer-button.is-correct .answer-label{background:#226750;border-color:#65c69e;color:white}.answer-button.is-wrong{border-color:#d98689;background:#442d42;color:#ffe6e7}.answer-button.is-wrong .answer-label{background:#753f53;border-color:#ce8a91;color:white}.answer-button.is-selected{border-color:var(--cyan);background:#17465d}.answer-button.is-hinted{border-style:dashed;border-color:#b8be86;background:#293c45}.answer-button.is-hinted .answer-label{color:var(--amber)}.answer-feedback{border:1px solid #3b726a;background:#123c3b;border-radius:11px;padding:17px;margin-top:17px;font-size:1rem;line-height:1.65;color:#dcfff1}.answer-feedback strong{display:block;font-size:1.05rem;margin-bottom:6px}.answer-feedback p{margin:0 0 7px;line-height:1.6}.answer-feedback small{font-size:.875rem;line-height:1.6}.feedback-good{border-color:#3b8470;background:#123d38;color:#dbfff0}.feedback-wrong{border-color:#9a6476;background:#38283c;color:#ffe3e7}.question-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:21px;font-size:.875rem;line-height:1.6;color:#98b1ca;flex-wrap:wrap}.question-footer>span,.question-footer>small{flex:1;min-width:150px;overflow-wrap:anywhere;font-size:.875rem}.question-footer .btn-next{margin-inline-start:auto}.challenge-feedback,.key-feedback{padding:13px 15px;border:1px solid #3a637c;background:#102e45;border-radius:10px;color:#bee9fa;font-size:.875rem;line-height:1.65;margin:15px 0 0}.key-feedback{border-color:#75814b;background:#303d2c;color:#edf3b5}
/* Garage and mission rewards. */
.garage-feature{position:relative;display:grid;grid-template-columns:1fr 1fr;gap:35px;align-items:center;padding:35px 38px;background:radial-gradient(ellipse at 80% 70%,#12669555,transparent 50%),linear-gradient(110deg,#102a48,#0b1c32);border:1px solid #386181;border-radius:20px;overflow:hidden;margin-bottom:25px}.garage-intro{position:relative;z-index:2}.garage-intro h1{font-size:clamp(2.8rem,4.3vw,4.5rem);text-transform:uppercase;letter-spacing:-.01em;line-height:.95;margin-bottom:20px}.garage-intro p{font-size:1rem;color:#abc8df;line-height:1.7;margin-bottom:22px;max-width:460px}.garage-feature-car{min-width:0}.garage-feature-car img{width:100%;max-height:280px;object-fit:contain;filter:drop-shadow(0 20px 15px #020b1c99)}.garage-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:19px}.car-card{position:relative;padding:21px;border:1px solid #36536f;border-radius:16px;background:linear-gradient(145deg,#132b47,#0b1c32);overflow:hidden;display:flex;flex-direction:column;min-width:0;transition:border-color .18s,box-shadow .18s}.car-tier{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#9ab6d0;font-size:1.15rem;text-transform:uppercase;letter-spacing:.09em}.car-tier small,.car-tier span{font-family:Arial,sans-serif;font-size:.875rem;letter-spacing:0}.car-render{position:relative;height:170px;display:grid;place-items:center;isolation:isolate}.car-render::before{content:'';position:absolute;width:80%;height:60%;left:10%;bottom:2px;background:radial-gradient(ellipse,#168cc733,transparent 70%);z-index:-1}.car-render img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 15px 10px #0007)}.car-info h2,.car-info h3{font-size:1.85rem;text-transform:uppercase;letter-spacing:.025em;line-height:1;margin:7px 0 10px}.car-info p{color:#a5bdd4;font-size:.875rem;line-height:1.6;margin-bottom:13px}.car-threshold{font-size:.875rem;color:#b5d5ea;line-height:1.6;margin-bottom:18px;display:flex;align-items:center;gap:7px}.car-threshold svg{width:16px;height:16px;color:var(--cyan)}.car-threshold strong{color:#eefbff}.car-action{margin-top:auto}.car-action .btn,.car-action>button{width:100%;font-size:.95rem}.car-card.is-locked .car-render img{filter:saturate(.45) brightness(.7) drop-shadow(0 15px 10px #0007)}.car-card.is-locked .car-tier{color:#8099b2}.car-card.is-locked .btn{background:#1b3147;border-color:#3b536b;color:#97afc4;box-shadow:none}.car-card.is-owned{border-color:#517d98}.car-card.is-equipped{border-color:var(--cyan);background:linear-gradient(145deg,#13364b,#0b233a);box-shadow:0 0 0 1px #39dcff33,0 10px 35px #0ec8ff0a}.car-card.is-equipped .car-tier{color:var(--cyan)}.starter-card{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:24px;border:1px solid #365c7a;border-radius:16px;background:#0d243d;margin:22px 0}.starter-card h2,.starter-card h3{font-size:1.7rem;text-transform:uppercase;margin-bottom:8px}.starter-card p{font-size:.95rem;color:#a8bfd5;margin:0}.paint-grid{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.paint-button{min-width:45px;width:45px;height:45px;min-height:45px;display:grid;place-items:center;padding:4px;border:1px solid #3e5f7a;border-radius:50%}.paint-button.is-selected{border:2px solid #baf7ff;box-shadow:0 0 14px #46dfff33}.paint-swatch{height:30px;width:30px;border-radius:50%;background:var(--paint,#4bdeff);display:block;box-shadow:inset 0 2px 4px #fff5,inset 0 -4px 6px #0004}.results-hero{position:relative;max-width:1050px;margin:0 auto;padding:38px;border:1px solid #417291;border-radius:22px;background:radial-gradient(ellipse at 65% 28%,#116d9250,transparent 60%),linear-gradient(145deg,#102c49,#0c1931);text-align:center;overflow:hidden}.results-hero h1{font-size:clamp(2.6rem,5vw,4.8rem);letter-spacing:.01em;text-transform:uppercase;margin:14px 0 22px}.results-hero>p{font-size:1rem;color:#bad2e4;line-height:1.65}.results-score{font-size:6rem;line-height:1;font-weight:800;letter-spacing:-.02em;color:var(--cyan);text-shadow:0 0 30px #29ddff25;margin:10px 0 24px}.results-score small{font-size:2.5rem;color:#9bb5cf}.results-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:23px 0}.result-stat{padding:19px 13px;background:#071a2e77;border:1px solid #37546e;border-radius:13px;font-size:.875rem;line-height:1.5;color:#afc8dc}.result-stat strong{display:block;font-family:var(--display);font-size:2rem;line-height:1.1;color:#effbff;margin-bottom:7px}.result-stat svg{width:25px;height:25px;color:#83eafa;margin:0 auto 10px}.unlock-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:25px 0}.unlock-card{padding:20px;border:1px solid #7a7bb2;background:linear-gradient(130deg,#263457,#313054);border-radius:15px;text-align:left}.unlock-card img{max-height:140px;width:100%;object-fit:contain;filter:drop-shadow(0 12px 8px #0006)}.unlock-card h3{font-size:1.75rem;text-transform:uppercase;margin:12px 0 8px}.unlock-card p{font-size:.95rem;color:#d1d7f0;margin:0}.result-actions{display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap;margin-top:25px}.correction-list{max-width:1050px;margin:26px auto 0}.correction-list h2{font-size:2rem;text-transform:uppercase}.correction-list details{border:1px solid #33526d;background:#0b2138;border-radius:12px;margin:10px 0;overflow:hidden}.correction-list summary{font-size:1rem;line-height:1.55;padding:17px 20px;cursor:pointer;color:#d7edfb}.correction-list details[open] summary{border-bottom:1px solid #31506a;background:#12314d}.correction-list details>p,.correction-list details>div{padding:17px 20px;margin:0;font-size:1rem;line-height:1.65;color:#acd6e7}
/* Progress remains useful, rather than a wall of decorative numbers. */
.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:22px 0}.stat-card{padding:24px;border:1px solid #345571;background:linear-gradient(140deg,#102a46,#0b1d34);border-radius:15px;min-width:0}.stat-card strong{display:block;font-family:var(--display);font-size:3rem;line-height:1.1;color:#e6fbff;margin:15px 0 8px}.stat-card>span,.stat-card>p{font-size:.95rem;line-height:1.55;color:#9ebed6;margin:0}.stat-card>svg{height:25px;width:25px;color:#69d6f0}.review-list{display:grid;gap:12px;margin:20px 0}.review-row{padding:21px;border:1px solid #345571;background:#0c223a;border-radius:13px;min-width:0}.review-row h3{font-family:Arial,sans-serif;font-size:1rem;line-height:1.55;margin:12px 0;color:#d6edf9}.review-row p,.review-row small{font-size:.875rem;color:#98b9d0;line-height:1.65;margin:0}.review-progress{height:5px;background:#1d3a55;border-radius:20px;overflow:hidden;margin:13px 0 0}.review-progress>span,.review-progress>div{display:block;height:100%;background:#43c8ec}.profile-status{display:flex;align-items:center;gap:12px;padding:17px 20px;border:1px solid #38627e;background:#0d2942;border-radius:12px;font-size:.95rem;color:#b6d3e7;line-height:1.6;margin:20px 0}.profile-status strong{color:#e8faff}.badge-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin:20px 0}.badge-list>div,.badge-list>article{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:10px;padding:23px 15px;border:1px solid #2e4a65;border-radius:13px;color:#7c96b0;background:#0d2037;min-height:135px;text-align:center;font-size:.875rem}.badge-list svg{width:28px;height:28px}.badge-list strong{font-size:.95rem}.badge-list small{font-size:.875rem;line-height:1.5}.badge-list .earned{color:#c9eafa;background:#10344b;border-color:#487b95}.badge-list .earned svg{color:var(--cyan)}.history-chart{height:205px;display:flex;align-items:flex-end;gap:15px;padding:15px 0 0;margin:22px 0 28px}.history-column{height:100%;flex:1;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:8px;font-size:.875rem;color:#a7c7df}.history-bar{width:100%;max-width:70px;min-height:3px;max-height:155px;border-radius:6px 6px 0 0;background:linear-gradient(0deg,#236da6,#3dbfe1);box-shadow:inset 0 1px 0 #7eeaff5c}.history-column:last-child .history-bar{background:linear-gradient(0deg,#2384ce,#42e6fa)}.history-column small,.history-column>span{font-size:.875rem}
/* Dialogs: source selection, local identity, photo editing and settings. */
.dialog{width:calc(100% - 36px);max-width:650px;max-height:90vh;max-height:90dvh;padding:0;border:1px solid #4d7a9a;border-radius:20px;background:linear-gradient(140deg,#102943,#0b1d34);color:var(--ink);box-shadow:0 30px 120px #0009;overflow:auto}.dialog::backdrop{background:#010b1bbd;backdrop-filter:blur(8px)}.dialog-wide{max-width:900px}.dialog-header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:27px 28px 19px;border-bottom:1px solid #3b597055}.dialog-title{font-size:2.2rem;text-transform:uppercase;letter-spacing:.02em;line-height:1;margin:0 0 8px}.dialog-header h2{font-size:2.2rem;text-transform:uppercase;margin:0}.dialog-header p{font-size:.95rem;color:#abc4d9;margin:8px 0 0;line-height:1.6}.close-button{display:grid;place-items:center;width:36px;min-width:36px;height:36px;min-height:36px;border:1px solid #3f607b;border-radius:8px;color:#c8e0f2;background:#0d2942;font-family:Arial,sans-serif;font-size:1.5rem;line-height:1}.close-button:hover{background:#1b4564;color:#fff}.close-button svg{width:18px;height:18px}.dialog-body{padding:25px 28px;font-size:1rem;line-height:1.7}.dialog-body>p{color:#b0c9df}.dialog-footer{display:flex;justify-content:flex-end;align-items:center;flex-wrap:wrap;gap:10px;padding:19px 28px 25px;border-top:1px solid #3b597055}.bank-list{display:grid;gap:13px}.bank-option{border:1px solid #3d607c;border-radius:13px;padding:19px;background:#0a2038;min-width:0}.bank-option.is-selected{border-color:var(--cyan);background:#0e3148;box-shadow:0 0 0 1px #36e8ff22}.bank-option>button{width:100%;text-align:start;display:flex;align-items:center;gap:13px;font-size:1rem;line-height:1.5;padding:0}.bank-option h3{font-size:1.8rem;text-transform:uppercase;margin-bottom:7px}.bank-option p{font-size:.875rem;color:#a9c7dc;line-height:1.65;margin-bottom:0}.country-label{display:flex;align-items:center;gap:11px;font-size:1rem;font-weight:700;line-height:1.4}.country-label>span:first-child{font-size:1.75rem}.bank-info{color:#a9bfd5;font-size:.875rem;line-height:1.65;margin-top:10px}.bank-info strong{color:#dfedf8}.bank-languages{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}.language-button{font-size:.875rem;padding:9px 12px;min-height:40px;border-radius:7px;background:#15344f;color:#b7d1e5;border:1px solid #3b5c76;line-height:1.3}.language-button:hover{background:#205072}.language-button.is-selected{color:#063347;background:#8aeaff;border-color:#b6f5ff}.modal-note{font-size:.875rem;line-height:1.65;color:#99b8cf;margin:18px 0 0;overflow-wrap:anywhere}.modal-note strong{color:#c4e5f6}.field{margin-bottom:20px}.field label{display:block;font-size:.95rem;font-weight:700;color:#cbe6f8;margin-bottom:8px}.field input:not([type=range]):not([type=checkbox]),.field select,.field textarea{width:100%;padding:11px 13px;color:#e8f8ff;background:#081d33;border:1px solid #446885;border-radius:9px;min-height:45px;font-size:1rem}.field input::placeholder{color:#7d9bb5}.field small{display:block;font-size:.875rem;color:#98b5cc;line-height:1.6;margin-top:7px}.toggle-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:17px 0;border-bottom:1px solid #34536e;font-size:1rem;line-height:1.6}.toggle-row strong{display:block;font-size:1rem}.toggle-row small{display:block;color:#9bbbd3;font-size:.875rem;line-height:1.5;margin-top:3px}.toggle-row>span:first-child,.toggle-row>div:first-child{flex:1}.toggle-row input[type=checkbox]{width:22px;height:22px;min-height:22px;accent-color:#54e6ff;flex:none}.account-card{padding:22px;border:1px solid #416784;background:#0b2941;border-radius:13px;margin-bottom:16px;font-size:1rem;line-height:1.7}.account-card h3{font-size:1.85rem;text-transform:uppercase}.account-card p{color:#abc6da;font-size:.95rem;margin-bottom:15px}.sync-state{padding:11px 14px;background:#16394b;border:1px solid #3b697c;border-radius:8px;font-size:.875rem;color:#a5d6e7;line-height:1.6;margin:12px 0}.photo-editor{margin-top:21px}.upload-drop{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:27px 20px;background:#0c2c45;border:1px dashed #5e9dba;border-radius:13px;cursor:pointer;text-align:center;min-height:140px;font-size:1rem;line-height:1.6}.upload-drop:hover{background:#123b56;border-color:#7de3f8}.upload-drop svg{width:31px;height:31px;color:#74e7f7}.upload-drop small,.upload-drop>span{font-size:.875rem;color:#a1c6dc}.crop-canvas{display:block;width:230px;height:230px;max-width:100%;border-radius:46%;background:#0b2036;border:2px solid #81cee7;touch-action:none;margin:22px auto;cursor:grab;box-shadow:0 0 30px #29d7ff12}.crop-canvas:active{cursor:grabbing}.crop-controls{max-width:420px;margin:0 auto}.crop-controls input[type=range]{width:100%;accent-color:#52e7fb;min-height:35px}.crop-controls label{font-size:.95rem;color:#bbdaed;font-weight:700}.crop-controls p{font-size:.875rem;color:#95b8d2;line-height:1.6}.settings-stack{display:grid;gap:17px}.source-card{border:1px solid #365b78;background:#0c253e;border-radius:13px;padding:22px;font-size:.95rem;line-height:1.7;margin-bottom:17px;overflow-wrap:anywhere}.source-card h3{font-size:1.65rem;text-transform:uppercase;line-height:1.15}.source-card p{color:#b5cde1;line-height:1.7;margin-bottom:13px}.source-card p:last-child{margin-bottom:0}.source-card small{font-size:.875rem;color:#95b4ce}.source-card a{overflow-wrap:anywhere}.source-card pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:.875rem;line-height:1.55;border:1px solid #355c79;border-radius:8px;background:#071c31;padding:13px}.source-card input[type=file]{max-width:100%;font-size:.875rem}.photo-preview{display:grid;place-items:center;max-width:150px;width:150px;height:150px;border-radius:45%;overflow:hidden;background:#153b55;border:1px solid #5b9dba;margin:0 auto 18px}.photo-preview img,.photo-preview svg{width:100%;height:100%;object-fit:cover}.avatar-preview{display:block;overflow:hidden;position:relative;background:#25465e}.avatar-preview img,.avatar-preview svg{width:100%;height:100%;object-fit:cover}
/* Short optional games never alter the meaning of an official question. */
.minigame{position:relative;border:1px solid #427c9b;background:linear-gradient(140deg,#102f4a,#0a1e36);border-radius:15px;padding:22px;margin-top:20px;overflow:hidden}.minigame h3{font-size:1.8rem;text-transform:uppercase;margin:0 0 12px}.mini-instruction{font-size:1rem;line-height:1.65;color:#c2e2f3;margin:0 0 18px}.parking-board{position:relative;min-height:215px;height:240px;overflow:hidden;border:1px solid #557184;background:repeating-linear-gradient(90deg,transparent 0 58px,#c5d8df10 58px 60px),#142a3e;border-radius:10px;isolation:isolate}.parking-board::before{content:'';position:absolute;left:0;right:0;top:49%;border-top:2px dashed #c5d8df50;z-index:-1}.parking-lane{position:absolute;border:2px solid #a5becb75;border-radius:3px;pointer-events:none}.parking-target{position:absolute;right:13%;top:15%;width:91px;height:140px;border:2px dashed #54f0be;background:#2cf1b91c;border-radius:7px;box-shadow:inset 0 0 20px #20e6bd11}.parking-token{position:absolute;left:10%;bottom:18%;width:96px;z-index:3;transition:left .15s,top .15s,transform .15s;filter:drop-shadow(0 8px 6px #0006)}.parking-token img{width:100%;height:auto;object-fit:contain}.parking-controls{display:flex;justify-content:center;flex-wrap:wrap;gap:9px;margin-top:15px}.parking-controls button{min-height:46px;min-width:49px;border:1px solid #4e7b99;background:#183d58;border-radius:8px;color:#d8f7ff;font-size:1rem;font-weight:700;padding:9px 14px}.parking-controls button:hover{border-color:var(--cyan);background:#245676}.scan-board{position:relative;overflow:hidden;min-height:210px;height:250px;border:1px solid #426e8c;border-radius:10px;background:radial-gradient(ellipse at 50% 85%,#197fa860,transparent 65%),linear-gradient(160deg,#143e5d,#081c31)}.scan-board>img{width:100%;height:100%;object-fit:cover;opacity:.8}.scan-target{position:absolute;display:grid;place-items:center;min-width:48px;min-height:48px;width:48px;height:48px;border:1px solid #96aebe66;border-radius:50%;background:#122d4555;color:#daf3ff;font-size:1.25rem;transition:background .15s,border-color .15s,box-shadow .15s;z-index:3}.scan-target:hover{background:#2b6c8b77;border-color:#b2e9ff}.scan-target.found{border-color:#89f4ca;background:#227257bb;color:#e6fff4;box-shadow:0 0 23px #4eebad55}.memory-sequence{display:flex;align-items:center;justify-content:center;gap:12px;min-height:90px;padding:15px;border:1px solid #355f7a;background:#071b31;border-radius:10px;margin:15px 0}.memory-options{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:14px}.memory-symbol{display:grid;place-items:center;min-height:62px;min-width:49px;font-size:1.6rem;color:#c8e9fb;background:#153b56;border:1px solid #447898;border-radius:9px;padding:10px}.memory-symbol svg{height:29px;width:29px}.memory-symbol.active,.memory-symbol.is-selected{border-color:#87efff;background:#22647f;box-shadow:0 0 18px #38dafa33;color:#efffff}.memory-symbol.correct{background:#1e5e4f;border-color:#64e4b4}.mini-progress{font-size:.875rem;line-height:1.5;color:#8cd8ec;margin-top:16px;display:flex;justify-content:space-between;gap:12px}.mini-success{padding:14px 17px;margin-top:15px;border:1px solid #58aa86;background:#154334;border-radius:10px;color:#d4ffeb;font-size:1rem;line-height:1.6}.hint-reward{display:flex;align-items:center;gap:9px;color:#e6f5bd;font-size:.95rem;padding:13px 16px;border:1px solid #78925b;background:#2b4030;border-radius:10px;margin-top:14px;line-height:1.6}.hint-reward svg{width:22px;height:22px}.toast{position:fixed;bottom:110px;left:50%;transform:translateX(-50%);width:max-content;max-width:calc(100% - 36px);z-index:120;background:#123751;border:1px solid #66a5be;color:#e8faff;border-radius:12px;padding:15px 20px;font-size:1rem;line-height:1.55;text-align:center;box-shadow:0 10px 35px #0007}.empty-state{padding:42px 25px;border:1px dashed #466d87;background:#0c263f;border-radius:17px;text-align:center;margin:22px 0}.empty-state h2{font-size:2.2rem;text-transform:uppercase;margin-bottom:15px}.empty-state p{font-size:1rem;line-height:1.7;color:#afcbdf;max-width:530px;margin:0 auto 23px}.empty-state>svg{width:44px;height:44px;margin:0 auto 20px;color:#75c7e5}.empty-state .btn{margin:5px}.pose-celebrate .actor{animation:actor-win .55s ease 2}.pose-oops .actor{animation:actor-oops .5s ease}.pose-celebrate .scene-car{animation:car-arrive .65s ease}.pose-idle .actor{animation:none}.is-unlocking{animation:unlock-reveal .85s ease both}.is-unlocking .car-render img{animation:car-arrive .85s ease both}.reduce-motion *,.reduce-motion *::before,.reduce-motion *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
@keyframes page-in{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}@keyframes key-glow{0%,100%{box-shadow:0 0 16px #37e9ff66,inset 0 0 8px #57e3ff66}50%{box-shadow:0 0 29px #37e9ff99,inset 0 0 14px #57e3ff99}}@keyframes actor-win{0%,100%{translate:0 0;rotate:0}45%{translate:0 -8px;rotate:-3deg}}@keyframes actor-oops{0%,100%{rotate:0}30%{rotate:4deg}65%{rotate:-2deg}}@keyframes car-arrive{from{translate:16px 0;opacity:.75}to{translate:0 0;opacity:1}}@keyframes unlock-reveal{from{box-shadow:0 0 0 #47e7ff00;transform:translateY(8px);opacity:.5}to{box-shadow:0 0 35px #47e7ff1f;transform:translateY(0);opacity:1}}
@media(min-width:1600px){.hero{min-height:690px}.hero-grid{min-height:580px}.hero-title{font-size:7.5rem}.hero-art .world-scene{min-height:470px}.hero-art .actor{height:310px;width:170px}.hero-art .actor-head{width:76px;height:90px;left:46px}.hero-art .scene-car img{max-height:400px}.city-thumb{height:160px}}
@media(max-width:1250px){.site-header{padding-inline:28px}.app-main{padding-inline:28px}.hero-grid{padding:53px 30px 25px;grid-template-columns:44% 56%;min-height:500px}.hero{min-height:600px}.hero-title{font-size:6rem}.hero-subtitle{font-size:1rem;max-width:315px}.hero-art .actor{width:135px;height:260px;bottom:30px}.hero-art .actor-head{width:61px;height:75px;left:37px}.hero-art .scene-car{width:116%;right:-16%;bottom:26px}.hero-bottom{margin-inline:29px;gap:15px}.mission-card{padding:19px;gap:12px}.mission-copy strong{font-size:1.35rem}.quiz-layout{gap:18px;grid-template-columns:50fr 50fr}.question-card{padding:23px}.question-world>.world-scene{min-height:440px}.question-world .actor{left:2%;width:125px;height:235px}.question-world .actor-head{left:34px;width:57px;height:70px}.question-world .scene-car{width:90%;right:-6%}.car-card{padding:18px}.car-render{height:150px}.garage-feature{padding:30px;gap:25px}.car-info h2,.car-info h3{font-size:1.65rem}.stat-card{padding:21px}.stat-card strong{font-size:2.7rem}.bank-selector{padding-inline:12px;gap:8px}.profile-button{padding-right:7px}.header-controls{gap:8px}}
@media(max-width:1050px){.brand-name{font-size:1.4rem}.brand-edition{font-size:.875rem;letter-spacing:.1em}.site-header{gap:16px}.hero-title{font-size:5.2rem}.hero-grid{grid-template-columns:46% 54%;min-height:475px}.hero{min-height:575px}.hero-art .world-scene{min-height:400px}.hero-art .actor{width:120px;height:238px}.hero-art .actor-head{width:54px;height:66px;left:33px}.hero-art .scene-car{width:127%;right:-25%;bottom:35px}.hero-actions{gap:8px}.hero-actions .btn{padding:12px 16px}.hero-progress{min-width:145px}.hero-city{right:22px;top:22px;font-size:.875rem;letter-spacing:.08em}.mission-grid{grid-template-columns:1fr;gap:12px}.mission-card{padding:19px 22px}.mission-icon{width:45px;height:45px;min-width:45px}.mission-copy{gap:4px;flex:1}.mission-copy strong{font-size:1.6rem}.mission-copy p,.mission-copy span{font-size:.95rem}.mission-tag{font-size:.875rem}.quiz-layout{grid-template-columns:1fr;gap:20px}.question-world{position:relative;top:auto}.question-world>.world-scene{min-height:350px}.question-world .actor{left:12%;height:250px;width:139px;bottom:32px}.question-world .actor-head{width:63px;height:77px;left:38px}.question-world .scene-car{width:68%;right:4%;bottom:26px}.question-world .scene-car img{max-height:280px}.question-card{padding:28px}.question-text,.question-text h1{font-size:1.4rem}.original-image img{max-height:260px}.garage-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.car-render{height:180px}.car-info h2,.car-info h3{font-size:1.85rem}.garage-feature{grid-template-columns:1fr 1.1fr}.garage-intro h1{font-size:3.6rem}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.next-reward-card{gap:18px}.next-copy h3{font-size:1.65rem}.mini-car{width:190px;min-width:150px}.section-heading h2{font-size:1.9rem}}
@media(max-width:800px){.site-header{padding:18px 20px;min-height:84px}.header-controls{gap:6px}.bank-selector{font-size:.875rem;padding:9px;gap:5px}.currency{font-size:.875rem;padding:9px;gap:5px}.profile-button>span:not(.avatar-preview){display:none}.profile-button{width:43px;padding:4px;min-width:43px;height:43px}.profile-button img,.profile-button>svg,.profile-button .avatar-preview{width:33px;height:33px}.brand-icon{width:36px;height:36px;min-width:36px;border-radius:9px}.brand-icon svg{width:25px;height:25px}.wordmark{gap:9px}.brand-name{font-size:1.3rem}.brand-edition{font-size:.875rem;letter-spacing:.07em}.app-main{padding:24px 20px 125px}.hero-title{font-size:4.75rem}.hero-subtitle{font-size:.95rem;max-width:290px}.hero-grid{padding:50px 24px 15px;grid-template-columns:49% 51%;min-height:455px}.hero-art .actor{left:-3%;width:112px;height:225px}.hero-art .actor-head{width:51px;height:63px;left:31px}.hero-art .scene-car{width:146%;right:-38%;bottom:40px}.hero-city{font-size:.875rem;letter-spacing:.04em;right:20px}.hero-bottom{margin-inline:23px;padding-top:18px;gap:15px;flex-wrap:wrap}.hero-pack{gap:7px;flex:1;min-width:220px}.hero-progress{text-align:left;min-width:0}.hero-progress strong{font-size:1.25rem}.hero-actions .btn{font-size:.875rem;padding-inline:13px}.city-thumb{height:115px}.city-info{padding:13px 12px;align-items:flex-start;flex-wrap:wrap;gap:7px}.city-info strong{font-size:1.5rem}.city-info small{font-size:.875rem}.city-grid{gap:12px}.section-heading{gap:15px}.section-heading p{font-size:.875rem;max-width:45%;text-align:right}.next-reward-card{padding:20px;gap:15px;flex-wrap:wrap}.next-reward-card>.btn{margin-left:auto}.garage-feature{padding:28px;gap:20px}.garage-intro h1{font-size:3.3rem}.garage-intro p{font-size:.95rem}.starter-card{align-items:flex-start}.paint-grid{gap:8px}.paint-button{width:42px;min-width:42px;min-height:42px;height:42px}.paint-swatch{width:28px;height:28px}.results-hero{padding:30px}.results-score{font-size:5.5rem}.badge-list{grid-template-columns:repeat(3,minmax(0,1fr))}.toast{bottom:105px}}
@media(max-width:620px){body{background:radial-gradient(ellipse at 50% 10%,#0b366a66,transparent 45%),var(--bg)}.site-header{padding:15px 16px;min-height:78px;gap:12px;flex-wrap:wrap}.wordmark{gap:8px}.brand-icon{width:31px;height:34px;min-width:31px;border-radius:8px;font-size:1.5rem}.brand-name{font-size:1.15rem;line-height:1;letter-spacing:.02em}.brand-edition{font-size:.875rem;letter-spacing:.045em;margin-top:6px}.header-controls{gap:6px;flex:1;justify-content:flex-end}.bank-selector{min-width:0;max-width:190px;min-height:43px;font-size:.875rem;padding:9px 10px;gap:5px;white-space:nowrap}.bank-selector>span{min-width:0;overflow:hidden;text-overflow:ellipsis}.currency{font-size:.875rem;min-height:43px;padding:9px 8px}.currency svg{width:17px;height:17px}.profile-button{width:40px;min-width:40px;height:42px;min-height:42px;padding:3px}.profile-button img,.profile-button>svg,.profile-button .avatar-preview{width:32px;height:34px}.icon-button{min-height:42px;height:42px;width:38px;min-width:38px;border-radius:9px}.icon-button svg{width:19px;height:19px}.site-header>.header-controls{flex-wrap:wrap}.main-nav{left:0;right:0;bottom:0;transform:none;gap:4px;padding:8px 11px calc(8px + env(safe-area-inset-bottom));border:0;border-top:1px solid #3c6583;border-radius:0;background:#061729f5;justify-content:space-around;box-shadow:0 -8px 35px #020e2344;backdrop-filter:blur(14px)}.nav-item{flex:1;min-width:0;min-height:55px;flex-direction:column;gap:5px;padding:7px 3px;font-size:.875rem;border-radius:9px;letter-spacing:0;line-height:1.15}.nav-item svg{width:21px;height:21px}.nav-item.active{background:#113f54;color:#8cf2ff;box-shadow:inset 0 1px 0 #57d2e645}.app-main{padding:18px 14px calc(105px + env(safe-area-inset-bottom))}.hero{min-height:0;border-radius:16px;border-color:#3d6380;overflow:hidden}.hero-bg img{object-position:61% 28%}.hero-vignette{background:linear-gradient(0deg,#06182cf9 0%,#07192cbb 16%,#08234317 59%,#05204155 100%),linear-gradient(90deg,#07172b88,transparent 70%)}.hero-city{top:20px;right:17px;left:auto;font-size:.875rem;letter-spacing:.03em;z-index:5}.hero-grid{display:flex;flex-direction:column;align-items:stretch;padding:0;min-height:0}.hero-copy{padding:30px 21px 0;min-height:250px;z-index:5;pointer-events:none}.hero-copy .kicker{max-width:58%;font-size:.875rem;letter-spacing:.06em;margin-bottom:17px;line-height:1.5}.hero-title{font-size:clamp(3.6rem,13.7vw,5.4rem);line-height:.88;letter-spacing:-.015em;margin:0 0 17px;max-width:80%}.hero-subtitle{position:relative;font-size:1rem;line-height:1.6;max-width:290px;margin-bottom:19px;color:#c6dff1}.hero-actions{position:relative;z-index:15;pointer-events:auto;gap:9px;flex-wrap:wrap;padding-top:0}.hero-actions>.btn-primary{font-size:1rem;min-height:49px;min-width:170px;flex:1;padding:12px 16px}.hero-actions>.btn-secondary,.hero-actions>.btn-quiet{font-size:.875rem;min-height:47px;padding:11px 13px}.hero-art{min-height:285px;height:285px;margin-top:-20px;order:-1;pointer-events:none}.hero-copy{order:2;margin-top:-28px;background:linear-gradient(0deg,#071a2ae6,transparent);padding-top:0;min-height:0}.hero-copy .kicker{max-width:100%}.hero-copy .hero-title{max-width:100%;font-size:3.65rem;line-height:.9}.hero-copy .hero-title span,.hero-copy .hero-title em{display:inline}.hero-art .world-scene{min-height:285px;height:285px;overflow:hidden;direction:ltr}.hero-art .world-scene::after{background:linear-gradient(0deg,#06172d33,transparent 55%)}.hero-art .scene-car{width:100%;right:-10%;bottom:35px;max-width:520px}.hero-art .scene-car img{max-height:215px}.hero-art .actor{width:105px;height:210px;bottom:29px;left:2%;z-index:5}.hero-art .actor-head{width:47px;height:59px;left:29px;top:2px}.hero-bottom{margin:22px 20px 0;padding:18px 0 22px;gap:15px;border-top-color:#6ab3d32e;align-items:flex-start}.hero-pack{font-size:.875rem;min-width:0;flex-basis:100%;gap:8px;line-height:1.5}.hero-progress{font-size:.875rem;display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;line-height:1.5;text-align:right}.hero-progress strong{font-size:1.4rem;line-height:1.1;margin:0;text-align:left}.chip{font-size:.875rem}.kicker{font-size:.875rem;letter-spacing:.1em}.btn{font-size:1rem;min-height:48px;padding:12px 17px;border-radius:9px}.btn-secondary,.btn-quiet{font-size:.95rem}.section-heading{margin:27px 0 15px;align-items:flex-start;flex-wrap:wrap;gap:8px}.section-heading h2{font-size:1.9rem;line-height:1.05}.section-heading p{font-size:.95rem;line-height:1.5;max-width:none;text-align:left}.city-grid{gap:9px;grid-template-columns:repeat(3,minmax(0,1fr))}.city-thumb{height:92px}.city-card{border-radius:10px}.city-info{padding:12px 10px;gap:6px;display:block}.city-info strong{font-size:1.4rem;line-height:1.05;display:block;margin-bottom:5px}.city-info small,.city-info>span{font-size:.875rem;line-height:1.4;display:block}.city-info svg{position:absolute;top:9px;right:8px;width:17px;height:17px;padding:2px;border-radius:50%;color:#052431;background:#7beaff}.mission-grid{gap:11px;margin-top:16px}.mission-card{gap:13px;padding:17px}.mission-icon{width:42px;min-width:42px;height:42px;border-radius:10px}.mission-icon svg{width:23px;height:23px}.mission-copy strong{font-size:1.45rem}.mission-copy p,.mission-copy span{font-size:.875rem}.mission-tag{font-size:.875rem}.next-reward-card{display:grid;grid-template-columns:110px minmax(0,1fr);gap:13px;padding:18px 16px;border-radius:14px}.mini-car{min-width:0;width:110px}.mini-car img{height:95px}.next-copy h3{font-size:1.45rem;line-height:1.05;margin-bottom:7px}.next-copy p,.next-copy small{font-size:.875rem;line-height:1.5}.next-reward-card>.btn{grid-column:1/-1;margin:3px 0 0;width:100%}.notice{font-size:.875rem;padding:14px;border-radius:10px;gap:9px;line-height:1.65}.source-footnote{font-size:.875rem;line-height:1.7;margin-top:17px}.world-scene{min-height:280px;border-radius:12px}.actor{width:105px;height:205px;left:3%;bottom:26px}.actor-head{width:48px;height:60px;left:29px;top:2px}.scene-car{width:85%;right:-6%;bottom:28px}.scene-car img{max-height:215px}.scene-caption{left:13px;bottom:11px;font-size:.875rem;letter-spacing:.02em}.run-header{gap:9px;margin-bottom:13px}.back-button{font-size:.875rem;padding:7px 0;min-height:39px}.run-mode{font-size:1.4rem;margin-left:auto}.run-counter{width:100%;justify-content:space-between;gap:8px;font-size:.875rem;margin-top:2px}.run-track{height:4px;margin-top:3px}.quiz-layout{gap:16px}.question-world>.world-scene{min-height:280px}.question-world .scene-car{width:82%;right:-4%;bottom:29px}.question-world .scene-car img{max-height:210px}.question-world .actor{left:2%;bottom:27px;width:103px;height:202px}.question-world .actor-head{left:28px;width:47px;height:59px;top:2px}.scene-status{top:12px;left:12px;right:12px;gap:8px;font-size:.875rem;line-height:1.4}.scene-status>span,.scene-status>strong{padding:6px 8px;max-width:65%;overflow-wrap:anywhere;font-size:.875rem}.secret-cache{width:46px;height:46px;min-height:46px}.secret-cache svg{width:25px;height:25px}.question-card{padding:22px 17px;border-radius:14px}.question-meta{font-size:.875rem;gap:9px;line-height:1.55;flex-wrap:wrap;margin-bottom:19px}.question-meta span:last-child{max-width:100%;text-align:start}.original-image{padding:7px;margin-bottom:20px;border-radius:8px}.original-image img{max-height:220px}.question-text,.question-text h1{font-size:1.22rem;line-height:1.55;letter-spacing:-.012em;margin-bottom:20px}.answer-list{gap:10px}.answer-button{font-size:1rem;min-height:67px;gap:10px;padding:14px 11px;line-height:1.6;border-radius:9px}.answer-label{height:27px;width:27px;min-width:27px;font-size:.875rem}.answer-mark svg{width:19px;height:19px}.answer-feedback{padding:15px;font-size:1rem;line-height:1.65}.answer-feedback strong{font-size:1.05rem}.answer-feedback small{font-size:.875rem}.question-footer{gap:13px;flex-direction:column;align-items:stretch;font-size:.875rem;margin-top:19px}.question-footer>span,.question-footer>small{min-width:0;flex:auto;font-size:.875rem}.question-footer .btn-next{margin-inline-start:0;width:100%}.challenge-feedback,.key-feedback{padding:13px;font-size:.875rem;line-height:1.6}.garage-feature{display:flex;flex-direction:column;gap:10px;padding:27px 22px;border-radius:16px}.garage-intro{width:100%}.garage-intro h1{font-size:3.3rem;max-width:320px;margin-bottom:17px}.garage-intro p{font-size:1rem;line-height:1.65;margin-bottom:20px}.garage-feature-car{width:100%;max-width:440px;order:-1}.garage-feature-car img{max-height:190px}.garage-grid{grid-template-columns:1fr;gap:17px}.car-card{padding:21px;border-radius:15px}.car-tier{font-size:1.2rem}.car-tier small,.car-tier span{font-size:.875rem}.car-render{height:200px}.car-info h2,.car-info h3{font-size:2rem;margin-top:4px}.car-info p{font-size:.95rem;line-height:1.65}.car-threshold{font-size:.95rem;margin-bottom:18px}.car-action .btn,.car-action>button{font-size:1rem}.starter-card{flex-direction:column;gap:20px;padding:22px}.starter-card h2,.starter-card h3{font-size:1.9rem}.starter-card p{font-size:.95rem}.paint-grid{gap:11px}.paint-button{width:45px;height:45px;min-width:45px;min-height:45px}.paint-swatch{width:31px;height:31px}.results-hero{padding:29px 19px;border-radius:17px}.results-hero h1{font-size:3.1rem;line-height:.95;margin-bottom:22px}.results-hero>p{font-size:1rem}.results-score{font-size:5.2rem;margin-bottom:25px}.results-score small{font-size:2rem}.results-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:20px 0}.result-stat{padding:16px 8px;font-size:.875rem;border-radius:10px}.result-stat strong{font-size:1.7rem;line-height:1.15;margin-bottom:6px}.result-stat svg{width:22px;height:22px;margin-bottom:8px}.unlock-list{grid-template-columns:1fr;gap:13px}.unlock-card{padding:20px}.unlock-card img{max-height:160px}.unlock-card h3{font-size:1.95rem}.unlock-card p{font-size:1rem}.result-actions{flex-direction:column;gap:11px}.result-actions>.btn{width:100%}.correction-list{margin-top:25px}.correction-list h2{font-size:2rem}.correction-list summary{padding:16px;font-size:1rem;line-height:1.6}.correction-list details>p,.correction-list details>div{padding:16px;font-size:1rem}.stats-grid{gap:12px;margin:20px 0}.stat-card{padding:20px 17px;border-radius:13px}.stat-card strong{font-size:2.8rem;margin:14px 0 7px}.stat-card>span,.stat-card>p{font-size:.875rem}.stat-card>svg{height:23px;width:23px}.review-row{padding:19px 17px}.review-row h3{font-size:1rem;line-height:1.6}.review-row p,.review-row small{font-size:.875rem}.profile-status{font-size:.95rem;padding:15px 16px;gap:10px;flex-wrap:wrap}.badge-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.badge-list>div,.badge-list>article{padding:20px 12px;min-height:140px;gap:10px}.badge-list strong{font-size:.95rem}.badge-list small{font-size:.875rem}.history-chart{gap:9px;height:190px;margin:19px 0 25px}.history-column{font-size:.875rem;gap:7px}.history-column small,.history-column>span{font-size:.875rem}.history-bar{border-radius:5px 5px 0 0;max-height:135px}.dialog{width:calc(100% - 26px);max-height:92dvh;border-radius:16px}.dialog-header{padding:23px 21px 18px;gap:14px}.dialog-title,.dialog-header h2{font-size:2rem;line-height:1}.dialog-header p{font-size:.95rem}.close-button{width:34px;height:34px;min-width:34px;min-height:34px}.dialog-body{padding:22px 20px;font-size:1rem;line-height:1.7}.dialog-footer{padding:18px 20px 23px;gap:10px;align-items:stretch}.dialog-footer>.btn-primary{width:100%}.dialog-footer>.btn-secondary{flex:1}.bank-option{padding:17px 15px}.bank-option h3{font-size:1.8rem}.bank-option p,.bank-info{font-size:.875rem}.country-label{font-size:1rem;gap:9px}.country-label>span:first-child{font-size:1.55rem}.language-button{font-size:.875rem;padding:9px 10px;min-height:42px}.bank-languages{gap:7px}.modal-note{font-size:.875rem;line-height:1.65}.field label{font-size:1rem}.field input:not([type=range]):not([type=checkbox]),.field select,.field textarea{font-size:1rem}.toggle-row{font-size:1rem;gap:15px;padding:17px 0}.toggle-row small{font-size:.875rem}.account-card{padding:20px 17px}.account-card h3{font-size:1.8rem}.account-card p{font-size:1rem}.sync-state{font-size:.875rem;line-height:1.65}.upload-drop{padding:25px 18px;font-size:1rem;gap:10px}.upload-drop small,.upload-drop>span{font-size:.875rem}.crop-canvas{width:220px;height:220px;margin-block:22px}.crop-controls{width:100%}.crop-controls label{font-size:1rem}.crop-controls p{font-size:.875rem}.source-card{padding:20px 17px;font-size:1rem}.source-card h3{font-size:1.8rem}.source-card small{font-size:.875rem}.source-card pre{font-size:.875rem}.minigame{padding:20px 16px;margin-top:18px;border-radius:12px}.minigame h3{font-size:1.8rem}.mini-instruction{font-size:1rem}.parking-board{height:225px;min-height:210px}.parking-token{width:84px}.parking-target{right:10%;width:79px;height:130px}.parking-controls{gap:8px;margin-top:13px}.parking-controls button{min-width:46px;min-height:46px;font-size:1rem;padding:9px 12px}.scan-board{height:220px;min-height:210px}.scan-target{width:46px;min-width:46px;height:46px;min-height:46px}.memory-sequence{gap:8px;padding:12px;min-height:78px}.memory-options{gap:8px}.memory-symbol{min-width:0;min-height:56px;padding:8px;font-size:1.4rem}.memory-symbol svg{height:26px;width:26px}.mini-progress{font-size:.875rem;gap:10px;flex-wrap:wrap}.mini-success{padding:13px 14px;font-size:1rem}.hint-reward{padding:13px 14px;font-size:.95rem;gap:8px}.empty-state{padding:32px 20px}.empty-state h2{font-size:2.1rem}.empty-state p{font-size:1rem;line-height:1.7}.toast{font-size:.95rem;line-height:1.6;padding:13px 17px;bottom:calc(96px + env(safe-area-inset-bottom));max-width:calc(100% - 28px)}.pill{font-size:.875rem}}
@media(max-width:420px){.site-header{padding:13px 14px;gap:10px}.wordmark{flex:1}.brand-icon{width:29px;height:32px;min-width:29px}.brand-name{font-size:1.1rem}.brand-edition{font-size:.875rem;letter-spacing:0}.header-controls{gap:5px;flex:0 0 auto}.bank-selector{max-width:142px;font-size:.875rem;padding:8px;min-height:41px}.currency{padding:8px 7px;min-height:41px;font-size:.875rem}.profile-button{width:37px;min-width:37px;height:41px;min-height:41px;padding:3px}.profile-button img,.profile-button>svg,.profile-button .avatar-preview{width:29px;height:33px}.icon-button{width:34px;min-width:34px;height:41px;min-height:41px;padding:7px}.site-header>.header-controls{flex-basis:100%;justify-content:stretch;flex-wrap:nowrap;gap:7px}.site-header>.header-controls>.bank-selector{max-width:none;flex:1}.site-header>.header-controls>.currency{padding-inline:12px}.site-header>.header-controls>.profile-button{width:43px;min-width:43px}.site-header>.header-controls>.profile-button img,.site-header>.header-controls>.profile-button>svg,.site-header>.header-controls>.profile-button .avatar-preview{width:35px;height:33px}.site-header>.header-controls>.icon-button{width:43px;min-width:43px}.app-main{padding-inline:12px;padding-top:15px}.hero-city{top:17px;right:15px;font-size:.875rem}.hero-art,.hero-art .world-scene{height:270px;min-height:270px}.hero-art .actor{left:0;bottom:30px;width:98px;height:198px}.hero-art .actor-head{width:44px;height:56px;left:27px}.hero-art .scene-car{width:105%;right:-12%;bottom:34px}.hero-art .scene-car img{max-height:205px}.hero-copy{padding-inline:18px;margin-top:-25px}.hero-copy .hero-title{font-size:3.3rem}.hero-subtitle{font-size:1rem;margin-bottom:19px}.hero-actions{gap:8px}.hero-actions>.btn-primary{min-width:0;width:100%;flex-basis:100%;min-height:50px}.hero-actions>.btn-secondary,.hero-actions>.btn-quiet{flex:1;font-size:.95rem}.hero-bottom{margin-inline:18px;margin-top:20px}.hero-progress{font-size:.875rem;align-items:flex-start}.hero-progress strong{font-size:1.3rem}.city-grid{gap:8px}.city-thumb{height:82px}.city-info{padding:11px 8px}.city-info strong{font-size:1.3rem}.city-info small,.city-info>span{font-size:.875rem;line-height:1.45}.mission-card{padding:16px 14px;gap:11px}.mission-copy strong{font-size:1.35rem}.mission-icon{width:39px;height:39px;min-width:39px}.next-reward-card{grid-template-columns:95px minmax(0,1fr);padding:17px 14px;gap:12px}.mini-car{width:95px}.next-copy h3{font-size:1.4rem}.question-card{padding:21px 15px}.question-text,.question-text h1{font-size:1.2rem}.answer-button{padding:13px 10px;gap:9px;font-size:1rem}.answer-label{width:25px;min-width:25px;height:26px}.answer-mark svg{width:18px;height:18px}.question-world .actor{width:96px;height:193px;left:0}.question-world .actor-head{width:44px;height:56px;left:26px}.question-world .scene-car{width:88%;right:-7%}.scene-status{left:10px;right:10px}.scene-status>span,.scene-status>strong{font-size:.875rem;padding:6px 7px;max-width:65%}.car-render{height:180px}.car-card{padding:20px}.garage-intro h1{font-size:3rem}.results-hero{padding:26px 16px}.results-hero h1{font-size:2.85rem}.results-score{font-size:4.8rem}.results-stats{gap:7px}.result-stat{padding:15px 7px;font-size:.875rem}.result-stat strong{font-size:1.6rem}.stat-card{padding:19px 15px}.stat-card strong{font-size:2.6rem}.history-chart{gap:7px}.history-column small{font-size:.875rem}.dialog-body{padding-inline:17px}.dialog-header{padding-inline:18px}.dialog-footer{padding-inline:17px}.memory-options{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.memory-symbol{font-size:1.3rem;min-height:53px}.parking-controls{gap:7px}.parking-controls button{padding:9px 10px;min-width:44px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* Concrete screen markup, including sibling HUDs and the oval photo editor. */
.brand-dot{color:var(--cyan)}.hero-mode-note{font-size:.875rem;color:#9fc4dc;line-height:1.6;margin:16px 0 0}.hero-progress>span{font-family:var(--display);font-size:1.15rem;letter-spacing:.06em;color:#daeffe;line-height:1.1}.hero-progress>small{font-size:.875rem;color:#a4c4da}.small-track{width:175px;height:4px;max-width:100%;background:#244760;border-radius:10px;overflow:hidden;margin:8px 0 7px auto}.small-track>span{display:block;height:100%;border-radius:10px;background:var(--cyan);transition:width .3s}.mission-number{font-family:var(--display);font-size:2rem;color:#355774;line-height:1;margin-left:auto;align-self:flex-start}.mission-card.featured{border-color:#457b9a;background:linear-gradient(130deg,#10324d,#14213b)}.mission-card.featured .mission-icon{color:#c4a9ff;border-color:#766ba288;background:#55577b30}.mission-card.featured:hover{border-color:#9d9cda}.notice>span:nth-child(2){flex:1;min-width:0}.notice>.btn{font-size:.875rem;flex-shrink:0;align-self:center;padding:7px 10px;min-height:37px}.world-disclaimer{font-size:.875rem;line-height:1.6;color:#92b1cc;margin:11px 1px 0}.question-world>.scene-status{right:auto;max-width:calc(100% - 34px);padding:8px 12px;min-height:0;display:block;background:#061b2edb;border:1px solid #528caf66;border-radius:8px;text-shadow:none;line-height:1.5;backdrop-filter:blur(6px)}.question-world>.secret-cache{bottom:69px;right:18px;left:auto;top:auto;width:auto;height:auto;max-width:195px;min-height:47px;display:flex;align-items:center;gap:9px;padding:9px 13px;border-radius:11px;font-size:.875rem;line-height:1.4}.question-world>.secret-cache>span:last-child{font-size:.875rem;max-width:135px;text-align:left}.question-world>.secret-cache svg{height:23px;width:23px}.run-header+.run-track{margin:0 0 20px}.run-points{font-size:.875rem;color:#89d9ee;line-height:1.5;white-space:nowrap;margin-left:auto}.question-help{font-size:.875rem;line-height:1.6;color:#9cbdd3;margin:-7px 0 18px}.question-help:empty{display:none}.section-heading .kicker{display:block;margin-bottom:9px;font-size:.875rem}.section-heading h1{font-size:4.6rem;line-height:.9;text-transform:uppercase;margin:0}.garage-intro h1 em{font-style:normal;color:var(--cyan)}.garage-best{font-size:.875rem!important;color:#8fd9e9!important;margin-top:17px!important;margin-bottom:0!important}.stats-columns{display:grid;grid-template-columns:1.2fr 1fr;gap:20px;margin:22px 0}.stat-panel{padding:25px;border:1px solid #385d7b;border-radius:15px;background:#0d243d;min-width:0}.stat-panel h2{font-size:2rem;text-transform:uppercase}.stat-panel>p{font-size:1rem;line-height:1.65;color:#a6c3d8}.stat-panel>.run-track{margin:25px 0 18px}.crop-canvas{width:220px;height:275px;aspect-ratio:4/5;border-radius:47%}.crop-nudges,.account-actions{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap;margin-top:12px}.crop-nudges .btn{font-size:.875rem;padding:8px 11px;min-height:42px}.account-actions{justify-content:flex-start;gap:10px}.enlarged-image{background:#fff}.enlarged-image img{width:100%;max-height:70vh;object-fit:contain}.danger{color:#f3a7a6}.app-footer{max-width:1500px;padding:0 36px 110px;margin:-55px auto 0;display:flex;align-items:center;justify-content:space-between;gap:20px;font-size:.875rem;color:#708fa9;line-height:1.5}.app-footer .btn{font-size:.875rem;min-height:35px;padding:6px 10px}.bank-option button.is-selected{color:var(--cyan)}.question-card[dir=rtl]{direction:rtl}.question-card[dir=rtl] .question-meta,.question-card[dir=rtl] .question-footer{direction:rtl}.question-card[dir=rtl] .question-meta span:last-child{text-align:left}.question-card[dir=rtl] .answer-label{font-family:Arial,sans-serif}.question-card[dir=rtl] .answer-mark{margin-inline-start:auto}.question-world,.world-scene,.hero-art,.scene-car,.actor,.actor-body{direction:ltr}
@media(max-width:1050px){.stats-columns{grid-template-columns:1fr 1fr;gap:16px}.stat-panel{padding:22px}.question-world>.secret-cache{bottom:65px}.section-heading h1{font-size:4rem}.app-footer{padding-inline:28px}}
@media(max-width:800px){.stats-columns{grid-template-columns:1fr}.notice{flex-wrap:wrap}.notice>.btn{margin-left:auto}.mission-number{align-self:center;font-size:1.75rem}.hero-progress .small-track{width:145px}.app-footer{padding-inline:20px;font-size:.875rem;gap:15px}}
@media(max-width:620px){.hero-mode-note{font-size:.875rem;margin-top:14px;color:#a0c3d9}.hero-progress{display:grid;grid-template-columns:1fr auto;gap:6px 14px;align-items:center;text-align:left}.hero-progress>span{font-size:1.2rem;line-height:1.15}.hero-progress>small{font-size:.875rem;grid-column:2;grid-row:1}.hero-progress .small-track{grid-column:1/-1;width:100%;margin:3px 0 0}.mission-number{font-size:1.65rem;color:#46708e}.notice{display:grid;grid-template-columns:20px 1fr;gap:10px}.notice>.btn{grid-column:2;font-size:.875rem;justify-self:start;margin:0;padding:7px 0}.world-disclaimer{font-size:.875rem;line-height:1.6;margin-top:10px}.question-world>.scene-status{top:12px;left:12px;right:auto;max-width:calc(100% - 24px);padding:7px 9px;font-size:.875rem}.question-world>.secret-cache{bottom:74px;right:12px;max-width:175px;min-height:45px;padding:8px 10px;gap:7px;font-size:.875rem}.question-world>.secret-cache>span:last-child{max-width:125px;font-size:.875rem}.question-world>.secret-cache svg{height:21px;width:21px}.run-points{font-size:.875rem;line-height:1.4;margin-left:0}.run-header+.run-track{margin-bottom:15px}.question-help{font-size:.875rem;line-height:1.6}.section-heading h1{font-size:3.6rem}.section-heading .kicker{font-size:.875rem;line-height:1.5;margin-bottom:10px}.garage-best{font-size:.875rem!important}.stat-panel{padding:22px 18px}.stat-panel h2{font-size:1.9rem}.stat-panel>p{font-size:1rem}.crop-canvas{width:200px;height:250px;aspect-ratio:4/5}.crop-nudges{gap:5px}.crop-nudges .btn{font-size:.875rem;padding:8px 10px;min-height:42px}.account-actions{flex-direction:column;align-items:stretch}.account-actions>.btn{width:100%}.app-footer{padding:0 18px calc(105px + env(safe-area-inset-bottom));margin-top:-55px;display:flex;flex-wrap:wrap;gap:10px;font-size:.875rem}.app-footer>span:nth-child(2){display:none}.app-footer .btn{margin-left:auto;font-size:.875rem}.enlarged-image img{max-height:65vh}}
/* Shared 260×360 body coordinates keep every pose and portrait aligned. */
.world-scene .actor{height:auto;aspect-ratio:260/360}.world-scene .actor-body{position:relative;inset:auto;width:100%;height:auto}.world-scene .actor-body svg{display:block;width:100%;height:auto;max-width:none;overflow:visible}.world-scene .actor-head{left:39%;top:7%;width:27%;height:23%;border-radius:45% 45% 43% 43%;transform:rotate(-2deg)}.hero-art .actor{width:215px;left:-5%;bottom:31px}.question-world .actor{width:175px;left:3%;bottom:39px}.scene-props{position:absolute;inset:auto;left:0;bottom:20px;width:100%;height:50%;z-index:2;pointer-events:none}.scene-props>svg{width:100%;height:100%;display:block}.scene-host>.world-scene{min-height:400px;border:1px solid #3b6484}.scene-car{--signature:#36e8ff}.scene-car::before{content:'';position:absolute;left:18%;right:14%;height:9%;bottom:3%;border-radius:50%;background:var(--signature);opacity:.28;filter:blur(13px);z-index:-1;pointer-events:none}.scene-car.paint-cyan{--signature:#36e8ff}.scene-car.paint-cobalt{--signature:#387eff}.scene-car.paint-violet{--signature:#ad8bff}.scene-car.paint-coral{--signature:#ff8ca4}.scene-car.paint-gold{--signature:#ffcc6b}.scene-car img{position:relative;z-index:1}.rain-layer{position:absolute;inset:0;z-index:6;pointer-events:none;opacity:.12;background:repeating-linear-gradient(112deg,transparent 0 28px,#9bd5ff80 29px,transparent 30px 58px)}.state-good .actor{animation:actor-win .55s ease 2}.state-good .scene-car{animation:car-arrive .65s ease}.state-wrong .scene-car{animation:gentle-brake .45s ease}.state-wrong .actor{animation:actor-oops .45s ease}.secret-cache{animation:none}.is-paused *,.is-paused *::before,.is-paused *::after{animation-play-state:paused!important}.paint-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:13px}.paint-button{position:relative;width:auto;height:auto;min-width:0;min-height:135px;padding:18px 12px;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:11px;border-radius:13px;border:1px solid #3e5f7a;background:#0d2740;text-align:center;line-height:1.45}.paint-button:hover:not(:disabled){border-color:#86bcd6;background:#15354e}.paint-button.is-selected{border:1px solid #81e8fa;background:#123c50;box-shadow:0 0 14px #46dfff17}.paint-button:disabled{opacity:.6}.paint-button strong{font-size:.95rem;line-height:1.35;color:#d7effc}.paint-button small{font-size:.875rem;line-height:1.5;color:#9bbbd1}.paint-button>svg{position:absolute;top:10px;right:9px;width:17px;height:17px;color:var(--cyan)}.paint-swatch{width:34px;height:34px;flex:none}.car-info{display:flex;flex-direction:column;flex:1}.car-info>.kicker{font-size:.875rem;line-height:1.5;margin:3px 0 9px;letter-spacing:.08em}.car-threshold{display:block;line-height:1.7}.car-threshold strong{color:var(--cyan)}.car-threshold small{display:block;font-size:.875rem;color:#96b5cd;margin-top:3px}.car-info>.car-action{width:100%;margin-top:auto}.starter-card>img{width:200px;max-width:35%;height:110px;object-fit:contain;flex:none}.starter-card>div{flex:1;min-width:0}.starter-card>.btn{flex:none}.next-copy h2{font-size:1.9rem;text-transform:uppercase;letter-spacing:.02em;margin:0 0 7px;line-height:1.05}.next-copy .kicker{display:block;margin-bottom:7px;font-size:.875rem;letter-spacing:.08em}.garage-feature-car>.chip{width:max-content;max-width:100%;margin:10px auto 0}.scene-host .home-world{min-height:400px}@keyframes gentle-brake{0%,100%{translate:0 0;rotate:0}40%{translate:-5px 1px;rotate:-.7deg}75%{translate:1px 0;rotate:.3deg}}
@media(min-width:1600px){.hero-art .actor{width:235px;left:-5%;bottom:32px}.question-world .actor{width:190px}}
@media(max-width:1250px){.hero-art .actor{width:185px;left:-8%;bottom:30px}.question-world .actor{width:160px;left:1%}.paint-grid{gap:10px}.paint-button{padding:17px 10px}}
@media(max-width:1050px){.hero-art .actor{width:165px;left:-7%;bottom:31px}.question-world .actor{width:170px;left:8%;bottom:31px}.scene-host>.world-scene{min-height:350px}.paint-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.starter-card>img{width:160px;height:100px}.next-copy h2{font-size:1.65rem}}
@media(max-width:800px){.hero-art .actor{width:155px;left:-9%;bottom:32px}.question-world .actor{width:158px}.paint-button{min-height:128px}.starter-card{flex-wrap:wrap}.starter-card>.btn{margin-left:auto}}
@media(max-width:620px){.hero-art .actor{width:150px;left:0;bottom:30px}.question-world .actor{width:145px;left:-2%;bottom:25px}.scene-host>.world-scene{min-height:280px}.scene-host .home-world{min-height:280px}.scene-props{bottom:20px;height:50%;width:100%}.paint-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.paint-button{width:auto;height:auto;min-width:0;min-height:140px;padding:19px 13px;border-radius:13px;gap:11px}.paint-button strong{font-size:.95rem}.paint-button small{font-size:.875rem}.paint-swatch{width:35px;height:35px}.starter-card{flex-direction:column;align-items:stretch;gap:17px}.starter-card>img{width:100%;height:150px;max-width:280px;align-self:center}.starter-card>.btn{margin-left:0;width:100%}.next-copy h2{font-size:1.45rem}.next-copy .kicker{font-size:.875rem;letter-spacing:.03em}.garage-feature-car>.chip{font-size:.875rem}.state-good .actor{animation:actor-win .5s ease 2}}
@media(max-width:420px){.hero-art .actor{width:142px;left:-2%;bottom:31px}.question-world .actor{width:138px;left:-4%;bottom:25px}.paint-button{padding:18px 11px}.next-copy h2{font-size:1.4rem}}
@media(prefers-reduced-motion:reduce){.world-scene .actor,.scene-car,.state-good .actor,.state-good .scene-car,.state-wrong .scene-car,.state-wrong .actor{animation:none!important}}
/* Small interaction states that correspond to the actual puzzle and source renderer. */
.memory-sequence.sequence-hidden>span{visibility:hidden}.memory-sequence.sequence-hidden{background:repeating-linear-gradient(90deg,#0d3550 0 28%,transparent 28% 34%);border-radius:10px;min-height:66px}.answer-official-image{display:block;max-width:180px;width:100%;max-height:140px;object-fit:contain;background:white;border-radius:5px;margin-top:8px}.original-image-button{display:block;width:100%;padding:0;border:0;background:white;border-radius:8px;cursor:zoom-in}.original-image-button img{display:block;max-width:100%;width:100%;max-height:240px;object-fit:contain}.original-image-button+.original-image-button{margin-top:10px}.hint-label{font-size:.875rem;color:#d7bbff;line-height:1.3}.answer-button.is-hinted .answer-mark{min-width:70px}.scene-host .world-scene{height:100%}.is-paused *{animation-play-state:paused!important}
.portrait-world{min-height:210px;height:210px;background:transparent;overflow:hidden}.portrait-world::after{display:none}.photo-preview .world-scene .actor{width:145px;left:50%;bottom:-6px;transform:translateX(-50%)}.world-scene .actor.pose-driver{left:47%;bottom:-38px;width:190px;z-index:2}.world-scene.scene-parking .actor.pose-driver{left:39%}.world-scene .scene-car{z-index:4}@media(max-width:760px){.world-scene .actor.pose-driver{width:150px;left:44%;bottom:-29px}}
