/* System fonts keep the game usable without a third-party font connection. */
:root{font-family:Barlow,Arial,sans-serif;color:#fffbee;background:#15334c;font-synthesis:none;--yellow:#ffe15b;--ink:#17364c}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.6}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #ffe45c;outline-offset:4px}button{color:inherit}button,a{touch-action:manipulation}button{border:0}a{color:inherit;text-decoration:none}[hidden]{display:none!important}#racer{height:100dvh;min-height:620px;position:relative;overflow:hidden;background:#78cddf}#view{position:absolute;inset:0;width:100%;height:100%;display:block}.vignette{position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,#0e294deb 0%,#15344cc4 30%,#17334c00 73%),linear-gradient(0deg,#0e294d99,transparent 28%)}header{position:absolute;z-index:4;left:0;top:0;right:0;display:flex;align-items:center;justify-content:space-between;padding:max(17px,env(safe-area-inset-top)) max(25px,env(safe-area-inset-right)) 14px max(25px,env(safe-area-inset-left));font-size:11px;font-weight:800;letter-spacing:1.4px;gap:10px}header a{white-space:nowrap}header>div{display:flex;gap:8px}header button{width:38px;height:38px;border:1px solid #ffffff66;border-radius:50%;background:#17364c70;font-size:22px}.edition{opacity:.95}.edition b{font-weight:500;opacity:.7}.menu{position:absolute;z-index:2;top:83px;left:6.3%;width:430px;max-height:calc(100% - 130px);overflow:auto;scrollbar-width:thin;scrollbar-color:#ffe15b66 transparent;padding-right:8px}.eyebrow{font-size:10px;font-weight:800;letter-spacing:2px;color:#aeeefa;margin-bottom:10px}h1{position:relative;font:900 italic 82px/.81 'Barlow Condensed','Arial Narrow',sans-serif;letter-spacing:-2px;margin:0 0 14px;text-shadow:0 4px #183149}h1 span{font-size:128px;color:var(--yellow);letter-spacing:-3px}h1 i{position:absolute;left:263px;top:62px;font:900 italic 82px/1 'Barlow Condensed',sans-serif;color:#fff;transform:rotate(-12deg);opacity:.85}h2{font:900 italic 48px/.92 'Barlow Condensed',sans-serif;margin:8px 0 22px}h2 em{color:var(--yellow)}.intro{font-size:14px;line-height:1.5;margin:12px 0}.tags{display:flex;gap:7px;margin:12px 0 20px}.tags span{border:1px solid #ffffff42;border-radius:3px;padding:5px 8px;font-size:9px;font-weight:800;letter-spacing:1px}.setup-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.setup-row label,legend{font-size:9px;letter-spacing:1px;font-weight:800;color:#c2e4ed}.setup-row small{font-size:8px;font-weight:400;color:#ffffff88}input:not([type=checkbox]),select{display:block;width:100%;padding:10px 11px;border:1px solid #a3d9e766;border-radius:5px;margin-top:6px;background:#123653d9;color:#fffbe5;outline-offset:1px;font-size:13px;font-weight:600;min-height:40px}input::placeholder{color:#d2e3ed99}select{padding-right:3px}fieldset{border:0;padding:0;margin:13px 0}legend{padding:0;margin-bottom:7px}#drivers{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}#drivers button{background:#244c6390;border:1px solid #c4e6ef55;border-radius:7px;font-size:9px;font-weight:800;letter-spacing:1px;padding:7px;transition:transform .15s}#drivers span{display:block;font-size:28px;margin-bottom:4px}#drivers button[aria-pressed=true]{background:#ffe15b;color:var(--ink);border-color:#fff5c4;transform:translateY(-2px)}.color-field{display:flex;align-items:center;gap:10px}.color-field legend{float:left;margin:0 8px 0 0;line-height:32px}#colors{display:flex;gap:9px}#colors button{width:25px;height:25px;border-radius:50%;border:2px solid transparent;padding:0}#colors button[aria-pressed=true]{outline:2px solid white;outline-offset:3px}.assists{display:flex;align-items:center;gap:10px;font-size:10px;margin:14px 0}.assists label{display:flex;align-items:center;gap:4px;white-space:nowrap}input[type=checkbox]{accent-color:#ffe15b;margin:0}.assists button{background:none;font-size:11px;margin-left:auto;padding:5px 0;border-bottom:1px solid #ffffff77}.primary{width:100%;background:var(--yellow);color:var(--ink);border-radius:5px;padding:13px 18px;font-size:15px;font-weight:900;letter-spacing:.8px;box-shadow:0 4px 0 #bc862a;display:flex;justify-content:space-between}.primary:hover{background:#fff19a}.hint{font-size:10px;line-height:1.5;color:#c4dae2;margin:12px 0 5px}.connection{font-size:11px;color:#b0ebde;margin:8px 0}.course-badge{position:absolute;right:5%;bottom:100px;text-align:right;text-shadow:0 2px 8px #17364c}.course-badge>span{font-size:10px;letter-spacing:2px}.course-badge strong{display:block;font:900 italic 42px 'Barlow Condensed',sans-serif}.course-badge small{font-size:9px;letter-spacing:1.3px}.panel{position:absolute;z-index:5;top:50%;left:50%;transform:translate(-50%,-50%);background:#15334cf0;border:1px solid #9cd5dd66;border-radius:12px;padding:30px;width:min(470px,92%);max-height:calc(100% - 105px);overflow:auto;box-shadow:0 18px 60px #17344c77}.room-share{display:flex;justify-content:space-between;align-items:center;border-block:1px solid #90bdca44;padding:14px 0;font-size:12px}.room-share strong{font-size:24px;letter-spacing:3px;color:var(--yellow);padding-left:7px}.room-share button{background:#2d536b;padding:10px;border-radius:4px;font-size:10px}.race-summary{font-size:11px;color:#b2e5ef;padding:12px 0}.driver-row{display:flex;align-items:center;gap:12px;padding:10px 0;border-bottom:1px solid #93bdc624;font-weight:700;font-size:14px}.driver-row i{width:12px;height:12px;border-radius:50%}.driver-row span{flex:1}.driver-row small{font-size:9px;color:#bbd8e2}.quiet{background:none;padding:12px;font-size:11px;opacity:.8}.panel>.quiet{display:block;margin:12px auto 0}.panel p{font-size:12px;line-height:1.6}.panel .primary{margin-top:16px}footer{position:absolute;bottom:24px;left:6.3%;display:flex;gap:25px;font-size:9px;letter-spacing:.5px;color:#c3d9e2}footer b{display:block;color:#fff5d9;font-size:11px;margin-top:4px}.racing .vignette{background:linear-gradient(0deg,#122e4966,transparent 32%,transparent 75%,#122e4944)}.racing header{padding-top:max(12px,env(safe-area-inset-top))}.racing header .edition{visibility:hidden}.racing header a span{display:none}#hud{position:absolute;inset:0;pointer-events:none}#hud button{pointer-events:auto}.item-slots{position:absolute;left:4%;top:80px;display:flex;align-items:flex-start}.item{width:108px;height:108px;background:linear-gradient(145deg,#283550,#15223b);border:4px solid #edf5ff;border-radius:25px;box-shadow:0 4px 0 #131f39,0 8px 25px #17234544;display:flex;flex-direction:column;align-items:center;justify-content:center;transform:rotate(-5deg)}#item-icon{font-size:53px;line-height:1}#item-name{font-size:9px;font-weight:900;letter-spacing:.8px;margin-top:7px}.reserve{background:#24334dcc;border:3px solid #dce6f0;border-radius:18px;width:66px;height:66px;display:grid;place-items:center;font-size:30px;margin-left:9px}.lap{position:absolute;right:4%;top:90px;display:flex;align-items:center;gap:8px;flex-wrap:wrap;max-width:210px;text-shadow:0 3px #163246}.lap>strong{font:900 italic 42px 'Barlow Condensed',sans-serif}.lap em{font-size:25px;opacity:.7;font-style:italic}.lap>small{font-weight:900;font-size:14px}.coin-counter{color:#ffdf50;font-size:25px;font-weight:900;margin-right:15px}#timer{display:block;width:100%;text-align:right;font:700 17px monospace}.position{position:absolute;right:5%;bottom:52px;font-style:italic;text-shadow:3px 5px #173044,0 0 2px #173044;color:#ffe36b}.position strong{font:900 italic 122px/.85 'Barlow Condensed',sans-serif}.position sup{font:900 italic 40px 'Barlow Condensed',sans-serif}.position>span{display:block;font-style:normal;font-size:10px;letter-spacing:3px;color:#fff;text-align:center;margin-top:10px}.speed{position:absolute;left:4%;bottom:55px;width:190px;text-shadow:0 2px #15324b}.speed strong{font:800 italic 44px 'Barlow Condensed',sans-serif}.speed>small{font-size:10px;margin-left:8px}.speed>span{display:block;font-size:10px;font-weight:800;letter-spacing:.5px;margin-top:7px}#drift-meter{height:5px;background:#1f395d80;transform:skew(-15deg);margin-top:6px}#drift-meter i{display:block;height:100%;background:#4cdcff;width:0;box-shadow:0 0 12px currentColor}#minimap{position:absolute;right:3%;bottom:225px;width:170px;height:130px;filter:drop-shadow(0 3px 2px #17364c88)}#race-banner{position:absolute;left:50%;top:38%;transform:translate(-50%,-50%) rotate(-6deg);font:900 italic 125px 'Barlow Condensed',sans-serif;color:#ffe15b;text-shadow:4px 7px #183956;-webkit-text-stroke:2px #fff7bd;white-space:nowrap}#start-tip{position:absolute;top:55%;width:100%;text-align:center;text-shadow:0 2px 5px #172742;font-weight:800;font-size:13px}#quit{position:absolute;left:50%;bottom:18px;transform:translateX(-50%);background:#17364c99;border-radius:20px}#rear{position:absolute;left:4%;top:211px;font-size:9px;font-weight:700;padding:8px 12px;background:#183b5377;border:1px solid #fff8;border-radius:20px}#touch{display:none;position:absolute;inset:auto 15px max(17px,env(safe-area-inset-bottom));z-index:4;justify-content:space-between;pointer-events:none}#touch>div{display:flex;gap:8px;align-items:end}#touch button{pointer-events:auto;touch-action:none;user-select:none;-webkit-user-select:none;width:62px;height:62px;border-radius:18px;background:#173b60ae;border:2px solid #fff9;font-size:11px;font-weight:800;backdrop-filter:blur(5px)}#touch [data-key=left],#touch [data-key=right]{font-size:25px}#touch .gas{background:#ffdc58df;color:#203650;height:75px}#touch .pressed{background:#f7f1ce;color:#17364c;transform:scale(.95)}dialog{background:#15334c;color:#fff6de;border:1px solid #aee4e866;border-radius:12px;max-width:550px;width:90%;max-height:85dvh;padding:28px}dialog::backdrop{background:#071a30ba;backdrop-filter:blur(6px)}dialog p{font-size:13px;line-height:1.65}dialog h2{font-size:40px}#fatal{position:absolute;z-index:10;inset:30% 10% auto;background:#17364c;padding:30px;border-radius:10px}#view{touch-action:none}.boosting .speed{color:#ffe45d}.spinning #view{filter:saturate(.8)}
@media(pointer:coarse){#touch:not([hidden]){display:flex}.racing .speed{bottom:117px}.racing .position{bottom:118px}.racing #minimap{bottom:268px}.racing #quit{bottom:104px}}
@media(min-width:1200px) and (min-height:850px){.menu{top:12%;width:450px}h1{font-size:100px}h1 span{font-size:148px}h1 i{left:312px;top:72px}.intro{font-size:16px}.tags{margin-bottom:24px}fieldset{margin:17px 0}#drivers button{padding:10px}#drivers span{font-size:35px}}
@media(max-width:700px){#racer{min-height:660px}header{padding:14px 15px}.edition{display:none}.menu{left:6%;top:76px;width:88%;max-width:410px;max-height:calc(100% - 94px);padding:0 5px 12px 0}h1{font-size:66px}h1 span{font-size:94px}h1 i{font-size:65px;left:200px;top:46px}.eyebrow{font-size:8px}.intro{font-size:12px;margin:10px 0}.tags{margin:12px 0}.vignette{background:linear-gradient(90deg,#15334ce8,#15334cba 65%,#15334c44)}.course-badge,footer{display:none}.color-field{margin:12px 0}.hint{font-size:9px}.connection{font-size:10px}.assists{gap:9px;font-size:10px}#drivers span{font-size:24px}.racing #racer{min-height:0;height:100dvh}.racing header{background:linear-gradient(#17334c60,transparent)}.item-slots{left:18px;top:74px}.item{width:72px;height:77px;border-width:3px;border-radius:18px}#item-icon{font-size:35px}#item-name{font-size:7px;margin-top:4px}.reserve{width:44px;height:48px;font-size:22px;border-width:2px;border-radius:12px;margin-left:5px}.lap{top:78px;right:16px;max-width:143px;gap:5px}.lap>strong{font-size:31px}.lap em{font-size:20px}.lap>small{font-size:10px}.coin-counter{font-size:20px;margin-right:5px}#timer{font-size:12px}.position strong{font-size:83px}.position sup{font-size:28px}.position>span{font-size:8px;letter-spacing:2px}.speed{left:19px;width:143px}.speed strong{font-size:34px}.speed>span{font-size:8px}#minimap{width:116px;height:90px;right:12px;bottom:242px}.racing #minimap{bottom:238px}#race-banner{font-size:92px}#start-tip{font-size:11px;top:53%}#rear{left:18px;top:164px;font-size:8px;padding:7px}#touch{left:12px;right:12px}#touch>div{gap:6px}#touch button{width:51px;height:55px;border-radius:15px;font-size:9px}#touch .gas{height:67px}#touch [data-key=brake]{width:42px;height:43px}#touch [data-key=drift]{width:55px}#quit{font-size:9px}.panel{padding:22px;max-height:calc(100% - 120px)}h2{font-size:39px}.driver-row{font-size:12px;padding:8px 0}}
@media(max-width:360px){.assists{font-size:9px;gap:5px}.assists button{font-size:10px}#colors{gap:8px}#colors button{width:21px;height:21px}#touch button{width:43px}#touch [data-key=drift]{width:48px}#touch [data-key=brake]{width:36px}.setup-row{gap:8px}select{font-size:11px}.lap{max-width:130px}.item-slots{left:12px}.reserve{width:39px}}
@media(max-height:540px) and (min-width:600px){#racer{min-height:100dvh}.menu{top:67px;left:5%;width:405px;max-height:calc(100% - 82px)}h1{font-size:53px}h1 span{font-size:80px}h1 i{font-size:60px;left:178px;top:37px}.course-badge{bottom:30px}.course-badge strong{font-size:30px}footer{display:none}.item-slots{top:64px}.item{width:64px;height:66px;border-radius:17px}#item-icon{font-size:31px}#item-name{font-size:7px}.reserve{width:45px;height:45px;font-size:24px}.lap{top:63px;max-width:170px}.lap>strong{font-size:32px}.coin-counter{font-size:22px}#rear{top:142px}#minimap,.racing #minimap{right:125px;bottom:105px;width:115px;height:88px}.speed,.racing .speed{bottom:102px;left:3%;width:135px}.position,.racing .position{bottom:105px;right:4%}.position strong{font-size:76px}.position sup{font-size:26px}#touch button{width:58px;height:49px}#touch .gas{height:59px}.racing #quit{bottom:15px}#race-banner{font-size:88px}#start-tip{top:61%}.panel{max-height:calc(100% - 78px);top:57%}.panel h2{font-size:32px}.driver-row{padding:5px 0}.panel .primary{margin-top:10px}header{padding:10px 15px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}
/* MK64 remake: original pixel art, console-blue panels, readable modern controls. */
:root{--ink:#172344;--yellow:#ffdf49;background:#131e38}#racer{background:#182e55}.vignette{background:linear-gradient(90deg,#101c3bf2 0%,#142340cb 32%,#152b4300 75%),linear-gradient(0deg,#102143aa,transparent 32%)}.logo-title{margin:14px 0 8px!important;line-height:1!important}.logo-title img{width:330px;max-width:88%;image-rendering:pixelated;display:block;filter:drop-shadow(4px 5px 0 #0008)}.menu{width:440px;max-height:calc(100% - 104px);overflow-y:auto;scrollbar-width:thin;padding-right:8px}.intro{margin:0 0 12px!important}#drivers{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}#drivers button{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:2px;padding:6px 2px;font-size:11px;border-radius:5px;min-height:61px;background:#152a4dc9;border:1px solid #7a9bc34d}#drivers button[aria-pressed=true]{border:2px solid #ffdf49;background:#47546d;box-shadow:0 0 0 1px #101e38}#drivers img{width:40px;height:40px;image-rendering:pixelated}.mode-label{display:flex;flex-direction:column;gap:6px;font-size:10px;font-weight:800;letter-spacing:1px;margin-top:10px}.mode-label select{width:100%;height:36px;background:#12294f;color:white;border:1px solid #7798bd66;border-radius:4px;padding:0 8px;font-size:12px}.course-badge>img{width:256px;height:156px;object-fit:cover;image-rendering:pixelated;border:3px solid #fff6;box-shadow:0 12px 38px #10132466;border-radius:8px;margin-bottom:16px}.course-badge{right:5%;bottom:11%;max-width:48%}.course-badge strong{font-size:42px}.primary{background:#ffdf49;color:#192646}.racing .vignette{background:linear-gradient(0deg,#14203b44,transparent 28%)}#loading{position:absolute;inset:0;z-index:8;display:grid;place-items:center;background:#142240ef;font-size:18px;font-weight:900;letter-spacing:2px;text-align:center;pointer-events:none}.item-slots{gap:0}.edition{color:#fff}.tags{margin:8px 0 15px}.hint{font-size:10px}#cup-scores{font-size:12px;border-top:1px solid #ffffff33;margin:12px 0}#cup-scores p{display:inline-block;margin:4px 8px}.panel{max-height:calc(100% - 100px);overflow:auto}
@media(min-width:1000px){.menu{top:82px}h1.logo-title img{width:280px}fieldset{margin:12px 0}#drivers img{width:36px;height:36px}#drivers button{min-height:55px}.menu .setup-row{margin-top:9px}}
@media(max-width:700px){.menu{max-height:none;overflow:visible;width:100%;padding-right:0}.logo-title img{width:225px;margin:auto}.logo-title{margin:3px 0!important}.intro{font-size:12px}.tags{margin:6px 0 10px}.course-badge{display:none}#drivers{grid-template-columns:repeat(4,1fr)}#drivers img{width:32px;height:32px}#drivers button{min-height:48px;padding:3px}.mode-label{margin-top:8px}.menu fieldset{margin:10px 0}.hint{font-size:9px}.racing #racer{min-height:0}#cup-scores p{font-size:11px}}
@media(max-height:560px) and (min-width:700px){.menu{top:62px;max-height:calc(100% - 80px);width:420px}.logo-title img{width:180px}.intro,.tags,.eyebrow{display:none}.course-badge{bottom:10%;right:4%}.course-badge strong{font-size:26px}.course-badge>img{width:192px;height:117px}.panel{max-height:calc(100% - 70px)}}
@media(max-width:700px){.menu{left:18px;right:18px;width:auto;max-width:none;padding:0;top:76px}.menu .setup-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.menu input,.menu select,.menu label{min-width:0;max-width:100%}.menu .hint{white-space:normal}#drivers button{min-width:0}.assists{gap:8px;flex-wrap:wrap}.assists label{font-size:10px}.logo-title img{max-width:88%}.menu .eyebrow{font-size:8px;letter-spacing:1.4px}.menu h1{height:auto}}
@media(max-width:360px){.menu{left:12px;right:12px}.intro{font-size:10px!important}.menu .tags{gap:4px}.menu .tags span{font-size:8px}.menu .primary{height:44px}#drivers button{font-size:9px}.assists{gap:6px}.assists button{font-size:10px}.menu .setup-row{gap:8px}}
@media(max-width:700px){.menu{max-height:calc(100dvh - 88px);overflow-y:auto;overflow-x:hidden;padding-bottom:16px}}
#item-icon{display:block;width:58px;height:58px;background-position:center;background-size:contain;background-repeat:no-repeat;image-rendering:pixelated;margin:auto}#drivers button[aria-pressed=true]{color:#fff}
@media(max-width:700px){#item-icon{width:44px;height:44px}}
/* Compact N64-style race information, with the original portrait art. */
#leaders{position:absolute;left:4%;top:260px;display:grid;gap:6px}
#leaders>div{display:flex;align-items:center;gap:7px;opacity:.86}
#leaders b{font:900 italic 21px monospace;text-shadow:2px 2px #102040;color:#fff}
#leaders img{width:34px;height:34px;image-rendering:pixelated;border:2px solid #c9ddff}
#leaders .is-you img{border-color:#ffe143}#leaders .is-you{opacity:1}
#lap-split{display:block;width:100%;text-align:right;font:700 11px monospace}
#lap-times{display:flex;gap:14px;flex-wrap:wrap;font:700 12px monospace;border-top:1px solid #ffffff44;margin-top:12px}
#lap-times p{margin:9px 0}.item{border-radius:8px;transform:none}
/* Original HUD anchors; controls remain real accessible HTML buttons. */
#classic-hud{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
#hud .lap,#hud .position{visibility:hidden}
#hud .item-slots{left:50%;top:5.5%;transform:translateX(-50%)}
#hud .item{width:clamp(54px,10.4vh,98px);height:clamp(54px,10.4vh,98px);border:3px solid #eee;border-radius:0;background:#171721;box-shadow:2px 3px 0 #2226;opacity:1}
#hud #item-icon{width:85%;height:85%;margin:auto;image-rendering:auto}
#hud #item-name{position:absolute;top:100%;margin-top:5px;text-shadow:1px 2px #000;font:700 9px Arial;white-space:nowrap}
#hud #item:disabled{cursor:default}
#hud #leaders{top:27%;left:4%;gap:4px}
#hud #leaders img{width:clamp(22px,4.8vh,42px);height:clamp(22px,4.8vh,42px);border:1px solid #fff;image-rendering:auto}
#race-feed{position:absolute;left:4%;top:46%;display:grid;gap:5px;max-width:260px;font:800 10px Arial,sans-serif;letter-spacing:.7px;text-transform:uppercase;text-shadow:1px 2px #071528}
#race-feed span{display:block;width:max-content;max-width:260px;padding:5px 8px;background:#102644b8;border-left:3px solid #ffe15b;box-shadow:0 4px 12px #07152855;animation:race-feed-in .28s ease-out both}
@keyframes race-feed-in{from{opacity:0;transform:translateX(-12px)}to{opacity:1;transform:translateX(0)}}
#hud #minimap{bottom:12%;right:4%;width:clamp(100px,18vw,200px);height:auto}
#hud .speed{left:50%;bottom:22px;transform:translateX(-50%);width:180px;text-align:center;font-size:10px}
#hud .speed strong{font:700 17px monospace}#hud .speed>small{font-size:8px}
#hud #drive-status{font:700 9px Arial}#hud #drift-meter{height:3px}
#hud #rear{top:auto;bottom:18px;left:18px}
#hud #quit{left:auto;right:18px;bottom:18px;transform:none}
#lakitu{position:absolute;left:56%;top:27%;height:17%;width:auto;image-rendering:auto;filter:drop-shadow(1px 2px 0 #0005)}
.racing .vignette{display:none}.racing header{padding:8px 12px}.racing header button{width:30px;height:30px;font-size:17px;background:#11264455}
.racing header a{opacity:.7;font-size:10px}.racing #race-banner{top:39%;font:900 italic clamp(32px,7vh,65px) Arial;transform:translate(-50%,-50%);-webkit-text-stroke:1px #fff;max-width:60%}
.racing #start-tip{top:56%;font:700 12px Arial}
@media(pointer:coarse){#hud .speed{bottom:105px}#hud #quit{bottom:95px}#hud #rear{bottom:95px}}
@media(max-width:700px) and (orientation:portrait){
 #hud .item-slots{top:12%;left:50%}
 #hud #minimap{bottom:25%;width:105px}#hud #leaders{top:24%}
 #hud .speed{width:130px}#lakitu{top:29%;height:13%}
}
@media(max-height:540px) and (min-width:600px){
 #hud #leaders{display:grid;top:95px;bottom:auto;left:18px}#hud #leaders img{width:22px;height:22px}
 #race-feed{display:none}
 #hud #leaders b{font-size:13px}#hud #minimap{bottom:22%;width:100px}
 #hud .speed{bottom:14px}#hud #quit{bottom:80px}#hud #rear{bottom:80px}
}
#race-banner{font-size:76px;max-width:90%;text-align:center;white-space:normal;line-height:1}
@media(max-width:700px){#leaders{left:18px;top:204px;gap:4px}#leaders img{width:25px;height:25px}#leaders b{font-size:16px}#lap-split{font-size:9px}#race-banner{font-size:48px}}
@media(max-height:540px) and (min-width:600px){#leaders{left:112px;top:66px;grid-template-columns:repeat(2,1fr);gap:5px 9px}#leaders img{width:24px;height:24px}#leaders b{font-size:15px}#race-banner{font-size:52px}}
