*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#0b101b;color:#f4f5ec;font:14px/1.55 system-ui}button,a,select,input{-webkit-tap-highlight-color:transparent}button,a,select{touch-action:manipulation}button,select{font:800 11px/1.2 system-ui;letter-spacing:.6px;color:inherit;background:#182231;border:1px solid #354051;padding:13px 18px;cursor:pointer}button:hover,a:hover{border-color:#d3fa63}button:disabled{opacity:.4;cursor:wait}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible{outline:3px solid #d3fa63;outline-offset:4px}[hidden]{display:none!important}header{max-width:1500px;margin:auto;display:flex;align-items:center;justify-content:space-between;padding:20px 34px}.brand{color:#f4f5ec;text-decoration:none;font:900 26px/1 system-ui;letter-spacing:-1.5px}.brand span{color:#d3fa63}.brand small{display:block;font:700 9px/1 system-ui;letter-spacing:4px;margin-top:8px;color:#a0aec2}.header-note{color:#a1aec2;font-size:10px;letter-spacing:2px}.header-note i{font-style:normal;color:#d3fa63;margin:0 12px}main{max-width:1500px;margin:auto;padding:24px 34px}h1,h2,h3,p{margin-top:0}.eyebrow{font-size:10px;font-weight:800;letter-spacing:2px;color:#d3fa63}.eyebrow>span{display:inline-block;width:6px;height:6px;border-radius:50%;background:#d3fa63;margin-right:8px}.kart-hero{position:relative;min-height:510px;overflow:hidden;border:1px solid #344052;border-radius:5px;background:#1c4d56}#preview{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,#070e20e8 0%,#070e20a0 26%,transparent 62%),linear-gradient(0deg,#070e2099,transparent 35%)}.hero-copy{position:relative;padding:40px 45px}.hero-copy h1{font:1000 italic clamp(66px,7vw,112px)/.82 system-ui;letter-spacing:-7px;margin:28px 0 24px}.hero-copy em{color:#d3fa63;font-style:inherit}.hero-copy>p:not(.eyebrow){color:#dce1e8;font-size:17px;line-height:1.4}.hero-link{font:800 10px system-ui;letter-spacing:1px;color:#f5f5ed;text-decoration:none;display:inline-block;border-bottom:1px solid #d3fa63;padding:12px 0}.hero-track{position:absolute;right:28px;top:28px;text-align:right;display:grid}.hero-track span,.hero-track small{font-size:10px;letter-spacing:1px}.hero-track strong{font-size:26px}.hero-caption{position:absolute;bottom:24px;right:28px;letter-spacing:3px;font-size:9px}.intro{display:flex;align-items:center;justify-content:space-between;gap:40px;padding:54px 0 36px}.intro h2{font:900 32px/1.1 system-ui;letter-spacing:-1px;margin:12px 0}.intro>p{max-width:480px;color:#a8b5c8;line-height:1.9}.section-title{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #343d4e;padding:22px 0}.section-title h2{font-size:11px;color:#728095;letter-spacing:1px;margin:0}.section-title h2 span{margin-left:15px;color:#f4f5ec}.section-title>span{font-size:9px;color:#d3fa63;letter-spacing:1.4px}.drivers{display:grid;grid-template-columns:repeat(9,1fr);gap:8px}.driver{position:relative;padding:5px 3px 9px;border:1px solid #2f394b;background:linear-gradient(150deg,#202c3c,#101827);min-width:0}.driver.selected{border-color:#d3fa63;background:linear-gradient(150deg,#374643,#182723)}.driver canvas{display:block;width:100%;height:auto}.driver span{display:block;font-size:9px;white-space:nowrap;letter-spacing:0}.driver i{position:absolute;left:8px;top:5px;font:700 9px system-ui;color:#73819b}.driver.selected:after{content:'P1';position:absolute;right:5px;top:5px;background:#d3fa63;color:#102018;font:900 9px system-ui;padding:3px 4px}.driver-detail{display:flex;align-items:center;gap:16px;padding:18px 0 28px}.driver-detail strong{font-size:18px}.driver-detail>span{color:#91a2ba;font-size:10px}.driver-detail p{margin:0 0 0 auto;color:#bcc6d5;font-size:11px}.tracks{display:grid;grid-template-columns:repeat(5,1fr);gap:10px}.track{padding:0;text-align:left;overflow:hidden;background:#131d2b;border:1px solid #344054}.track img{width:100%;height:105px;object-fit:cover;display:block;opacity:.8}.track.selected{border-color:#d3fa63}.track.selected img{opacity:1}.track>div{padding:14px 12px}.track small{display:block;font-size:8px;letter-spacing:1px;color:#a7b5c7;margin-bottom:7px}.track strong{font-size:12px;line-height:1.3;display:block}.track p{font-weight:400;font-size:10px;letter-spacing:0;line-height:1.6;color:#9eacc0;margin:10px 0 0}.race-setup{margin-top:25px;background:#131d2b;border:1px solid #334055;padding:24px}.choices{display:flex;gap:22px;align-items:end;flex-wrap:wrap}.choices label{display:grid;gap:8px;font-size:9px;letter-spacing:1px;flex:1}.choices select{width:100%;min-width:180px}.choices .auto{display:flex;align-items:center;gap:8px;flex:0 0 auto;padding-bottom:12px}.auto input{accent-color:#d3fa63}.start-row{display:flex;align-items:center;justify-content:space-between;gap:22px;margin-top:26px;border-top:1px solid #334055;padding-top:24px}.start-row strong{font-size:11px;letter-spacing:1px}.start-row p{color:#a2b2c9;font-size:11px;margin:6px 0}.start-row small{font-size:10px;color:#d3fa63}.primary{padding:19px 30px;background:#d3fa63;color:#101914;border-color:#d3fa63;font-size:14px;font-weight:900}.primary:hover{background:#e4ff9d}.how-to{display:grid;grid-template-columns:repeat(3,1fr);gap:35px;padding:44px 0}.how-to article>span{font-size:9px;color:#d3fa63;letter-spacing:1px}.how-to h3{font-size:16px;margin:12px 0}.how-to p{font-size:12px;color:#9eacc0;line-height:1.8}.how-to button{padding:8px 0;background:transparent;border:0;color:#c3d588}footer{border-top:1px solid #2b3546;padding:24px 0;font-size:9px;letter-spacing:1px;color:#74839a}.race-bar{display:flex;align-items:center;justify-content:space-between;padding:10px 16px;background:#121e30;font-size:10px;font-weight:800;letter-spacing:1px}.race-bar button{padding:9px;font-size:9px}.race-bar>div{display:flex;gap:6px}#race{max-width:1600px;margin:auto}#race-wrap{position:relative;isolation:isolate;overflow:hidden}#game{display:block;width:100%;height:auto;aspect-ratio:16/9;outline:0}.hud{position:absolute;left:3%;right:3%;top:4%;display:flex;align-items:start;pointer-events:none;text-shadow:0 2px 10px #07101b}.position{display:flex;align-items:baseline;line-height:1}.position strong{font:1000 italic clamp(34px,5vw,74px)/1 system-ui;color:#d3fa63}.position span{font:700 16px system-ui;color:#d6e0ea;padding-left:7px}.lap{margin-left:30px;display:grid}.hud span{font-size:10px;letter-spacing:2px}.lap strong{font-size:22px;line-height:1.2}.lap small{font:600 12px monospace;margin-top:7px}.item{margin-left:auto;min-width:140px;display:grid;background:#0b1834bb;border:1px solid #b5d3eb66;padding:12px 18px}.item strong{font-size:13px;line-height:2}.item small{color:#d3fa63;font-weight:900}.race-notice{position:absolute;top:23%;left:20%;right:20%;text-align:center;font:900 20px system-ui;color:#fff;text-shadow:0 2px 12px #091220;pointer-events:none}.speed{position:absolute;left:4%;bottom:7%;display:flex;align-items:baseline;gap:6px;flex-wrap:wrap;width:170px;pointer-events:none;text-shadow:0 2px 10px #071021}.speed strong{font:900 italic 37px system-ui}.speed span{font-size:9px;letter-spacing:1px}.drift-meter{width:100%;height:5px;background:#ffffff38}.drift-meter i{display:block;height:100%;width:0;background:#7ce4ff}.speed small{font-size:8px;letter-spacing:1px}#race-controls{text-align:center;color:#9cacc5;font-size:10px;padding:12px;margin:0;background:#101929}dialog{background:#111b2c;color:#f4f5ec;border:1px solid #56667e;max-width:560px;width:92vw;max-height:90dvh;overflow:auto;padding:30px;border-radius:8px}dialog::backdrop{background:#030710db}dialog h2{font:900 italic 34px/1 system-ui;letter-spacing:-1px;margin:14px 0 22px}dialog p{font-size:12px;color:#a6b5ca}dialog>button{display:block;width:100%;margin-top:10px}table{width:100%;border-collapse:collapse;font-size:12px;margin:20px 0}td,th{text-align:left;padding:9px 4px;border-bottom:1px solid #2b3c53}th{font-size:8px;letter-spacing:1px;color:#8b9eb8}tr.you{color:#d3fa63;font-weight:900}.racing header,.racing .game-modes{display:none}#touch-controls{display:none;position:absolute;inset:0;pointer-events:none;touch-action:none}.touch-steer,.touch-actions{position:absolute;bottom:3%;display:flex;gap:8px;align-items:end;pointer-events:auto}.touch-steer{left:3%}.touch-actions{right:3%}#touch-controls button{width:58px;height:56px;border:1px solid #d7e6fa70;background:#0a173b99;border-radius:14px;padding:0;color:#f3f8ff;font-size:10px;touch-action:none;user-select:none;-webkit-user-select:none}#touch-controls button.held{background:#d3fa63c9;color:#102016}#touch-controls [data-touch=throttle]{height:70px;background:#d3fa63b5;color:#101b16}#touch-controls [data-touch=left],#touch-controls [data-touch=right]{font-size:26px}@media(pointer:coarse){#touch-controls{display:block}.speed{bottom:24%;width:130px}.speed strong{font-size:27px}}@media(max-width:900px){.drivers{grid-template-columns:repeat(6,1fr)}.tracks{grid-template-columns:repeat(3,1fr)}.intro{gap:20px}.intro h2{font-size:25px}.intro>p{font-size:12px}.hero-copy{padding:34px}.header-note{display:none}.how-to{gap:18px}.kart-hero{min-height:450px}.hero-copy h1{font-size:82px}.item{min-width:110px;padding:7px 12px}.item strong{font-size:10px}}@media(max-width:600px){header{padding:18px}.brand{font-size:23px}main{padding:14px}.kart-hero{min-height:400px}.hero-copy{padding:28px 20px}.hero-copy h1{font-size:74px;letter-spacing:-5px}.eyebrow{font-size:7px}.hero-copy>p:not(.eyebrow){font-size:14px}.hero-track{top:auto;bottom:50px;right:16px}.hero-track strong{font-size:18px}.hero-caption{right:16px;font-size:7px;letter-spacing:1px}.intro{display:block;padding:30px 0 16px}.intro>p{margin-top:18px}.drivers{grid-template-columns:repeat(3,1fr);gap:7px}.driver span{font-size:10px}.driver-detail{gap:8px;flex-wrap:wrap}.driver-detail p{width:100%;margin:0}.tracks{grid-template-columns:repeat(2,1fr)}.track img{height:90px}.track>div{padding:11px}.track p{display:none}.choices{gap:16px}.choices label{width:100%;flex:auto}.choices .auto{padding-bottom:0}.race-setup{padding:18px}.start-row{align-items:stretch;flex-direction:column}.how-to{grid-template-columns:1fr;gap:20px;padding:30px 0}.how-to p{margin-bottom:0}.section-title>span{font-size:7px}.section-title h2{font-size:9px}.race-bar{font-size:8px;padding:7px}.hud{top:4%}.lap{margin-left:15px}.lap strong{font-size:15px}.lap small{font-size:9px}.hud span{font-size:7px}.item{min-width:90px;padding:5px 8px}.item strong{font-size:8px}.item small{font-size:8px}.position strong{font-size:33px}.position span{font-size:12px}.race-notice{font-size:12px;top:25%}#touch-controls button{height:43px;width:43px;font-size:8px;border-radius:10px}.touch-steer,.touch-actions{gap:5px}#touch-controls [data-touch=throttle]{height:49px}.speed{left:3%;bottom:26%;width:100px}.speed strong{font-size:18px}.speed small{font-size:6px}#race-controls{font-size:8px}.race-bar button{font-size:8px;padding:7px}}@media(max-height:500px) and (orientation:landscape){.racing #race-wrap{height:calc(100dvh - 39px)}.racing #game{height:100%;width:100%;object-fit:contain;background:#050b14}.racing #race-controls{display:none}.racing .speed{bottom:25%}#touch-controls button{width:50px;height:46px}}

/* Game-native garage: preview and race controls share the first screen. */
.garage-start{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(340px,1fr);gap:18px;margin-bottom:28px}.garage-start .kart-hero{min-height:390px}.garage-start .hero-copy{padding:25px}.garage-start .hero-copy h1{font-size:72px;letter-spacing:-4px;margin:24px 0}.garage-start .hero-track{top:auto;bottom:26px;right:22px}.garage-start .hero-caption{display:none}.garage-links{display:flex;gap:18px}.garage-start .hero-link{font-size:12px}.garage-start .race-setup{margin:0;padding:22px;display:flex;flex-direction:column;justify-content:space-between}.garage-start .choices{display:grid;grid-template-columns:1fr;gap:14px}.garage-start .choices label{font-size:12px}.garage-start .choices select{min-width:0;font-size:14px;padding:11px}.garage-start .choices .auto{padding:0;font-size:12px}.garage-start .start-row{display:flex;flex-direction:column;align-items:stretch;margin-top:18px;padding-top:18px;gap:14px}.garage-start .start-row strong,.garage-start .start-row p,.garage-start .start-row small{font-size:12px}.garage-start .start-row p{line-height:1.5}.garage-start .primary{padding:17px;font-size:16px}.driver span{font-size:12px}.track strong{font-size:14px}.track small{font-size:12px}.track p{font-size:12px}.how-to p{font-size:14px}
@media(max-width:900px){.garage-start{grid-template-columns:1fr 1fr;gap:12px}.garage-start .hero-copy h1{font-size:64px}.garage-links{flex-direction:column;gap:4px;align-items:flex-start}.garage-start .hero-track{right:15px;bottom:20px}.garage-start .hero-track strong{font-size:22px}.garage-start .race-setup{padding:18px}.drivers{grid-template-columns:repeat(6,minmax(0,1fr))}.driver span{font-size:11px}}
@media(max-width:640px){.garage-start{grid-template-columns:1fr;gap:10px;margin-bottom:24px}.garage-start .kart-hero{min-height:175px}.garage-start .hero-copy{padding:15px}.garage-start .hero-copy .eyebrow{display:none}.garage-start .hero-copy h1{font-size:47px;line-height:.9;letter-spacing:-2px;margin:0 0 10px}.garage-links{flex-direction:row;gap:12px}.garage-start .hero-link{font-size:11px;padding:7px 0}.garage-start .hero-track{bottom:15px;right:15px}.garage-start .hero-track strong{font-size:18px}.garage-start .hero-track small{font-size:10px}.garage-start .race-setup{padding:15px}.garage-start .choices{grid-template-columns:1fr 1fr;gap:12px}.garage-start .choices .auto{grid-column:1/-1}.garage-start .start-row{margin-top:12px;padding-top:12px;gap:10px}.garage-start .start-row strong,.garage-start .start-row p,.garage-start .start-row small{font-size:11px}.garage-start .start-row small{display:none}.garage-start .primary{padding:15px}.drivers{grid-template-columns:repeat(3,minmax(0,1fr))}.driver span{font-size:12px}}
/* Readable item inventory, shared visual language with the racing effects. */
.item{grid-template-columns:78px 1fr;gap:4px 8px;min-width:270px;max-width:310px;padding:8px 12px 10px;background:linear-gradient(125deg,#0c1733f2,#0a1228e8);border-left-width:3px;border-radius:5px;align-items:center}.item canvas{width:78px;height:78px;grid-row:1}.item>div{display:grid;align-content:center;min-width:0}.item strong{font-size:15px;line-height:1.3;margin:5px 0}.item small{display:flex;justify-content:space-between;font-size:12px}.item p{grid-column:1/-1;margin:0;font-size:12px;line-height:1.35;color:#c5d3e8;max-width:280px}.item>div>span{font-size:10px;letter-spacing:1px}.active-effect{position:absolute;bottom:4%;left:35%;right:35%;text-align:center;color:#b6f1ff;font-weight:900;font-size:14px;text-shadow:0 2px 6px #081225;pointer-events:none}.item-catalog{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.item-catalog article{display:flex;align-items:center;background:#121c2a;border:1px solid #2e3d54;padding:10px;gap:12px;min-width:0}.item-catalog img{width:85px;height:85px;flex-shrink:0}.item-catalog strong{font-size:14px}.item-catalog p{font-size:14px;color:#afbed2;line-height:1.45;margin:6px 0 0}.item-guide{margin:25px 0}.item-guide .section-title>span{font-size:12px}.race-notice{top:28%}.racing .trailer-dialog{font-size:14px}.speed small{font-size:11px}
@media(max-width:900px){.item{grid-template-columns:55px 1fr;min-width:220px;max-width:260px}.item canvas{width:55px;height:55px}.item strong{font-size:13px}.item-catalog{grid-template-columns:repeat(2,minmax(0,1fr))}.item-catalog img{width:70px;height:70px}}
@media(max-width:600px){.item{grid-template-columns:40px 1fr;gap:2px 5px;min-width:165px;max-width:190px;padding:4px 6px}.item canvas{width:40px;height:40px}.item strong{font-size:11px;margin:2px 0}.item small{font-size:10px}.item p{font-size:10px;line-height:1.2}.item>div>span{font-size:9px}.active-effect{bottom:3%;font-size:10px}.item-catalog{grid-template-columns:1fr}.item-catalog img{width:75px;height:75px}.speed small{font-size:9px}}
@media(pointer:coarse){.active-effect{bottom:4%;left:32%;right:32%}}
