/*! tailwindcss v4.3.1 | MIT License | https://tailwindcss.com */
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-space-y-reverse:0;--tw-border-style:solid;--tw-font-weight:initial;--tw-tracking:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{:root,:host{--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--spacing:.25rem;--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--text-2xl:1.5rem;--text-2xl--line-height:calc(2 / 1.5);--font-weight-semibold:600;--tracking-tight:-.025em;--radius-sm:calc(var(--radius) - 4px);--radius-md:calc(var(--radius) - 2px);--radius-lg:var(--radius);--radius-xl:calc(var(--radius) + 4px);--shadow-sm:var(--shadow-sm);--shadow-md:var(--shadow-md);--shadow-lg:var(--shadow-lg);--animate-spin:spin 1s linear infinite;--default-font-family:"Arial", "Helvetica Neue", sans-serif;--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.relative{position:relative}.static{position:static}.container{width:100%}@media (width>=40rem){.container{max-width:40rem}}@media (width>=48rem){.container{max-width:48rem}}@media (width>=64rem){.container{max-width:64rem}}@media (width>=80rem){.container{max-width:80rem}}@media (width>=96rem){.container{max-width:96rem}}.mt-2{margin-top:calc(var(--spacing) * 2)}.mt-6{margin-top:calc(var(--spacing) * 6)}.ml-auto{margin-left:auto}.block{display:block}.flex{display:flex}.hidden{display:none}.inline{display:inline}.w-full{width:100%}.flex-1{flex:1}.animate-spin{animation:var(--animate-spin)}.resize{resize:both}.items-center{align-items:center}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.gap-3{gap:calc(var(--spacing) * 3)}.gap-4{gap:calc(var(--spacing) * 4)}:where(.space-y-3>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 3) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 3) * calc(1 - var(--tw-space-y-reverse)))}.border{border-style:var(--tw-border-style);border-width:1px}.text-2xl{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-tight{--tw-tracking:var(--tracking-tight);letter-spacing:var(--tracking-tight)}.text-muted-foreground{color:hsl(var(--muted-foreground))}.text-primary{color:hsl(var(--primary))}.italic{font-style:italic}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}@media (width>=40rem){.sm\:block{display:block}}}:root{--background:240 14% 6%;--foreground:240 12% 96%;--card:240 12% 10%;--card-foreground:240 12% 96%;--popover:240 11% 11%;--popover-foreground:240 12% 96%;--primary:354 85% 57%;--primary-foreground:0 0% 100%;--secondary:240 9% 17%;--secondary-foreground:240 12% 96%;--muted:240 9% 18%;--muted-foreground:240 6% 67%;--accent:354 25% 17%;--accent-foreground:354 88% 72%;--destructive:354 72% 48%;--destructive-foreground:0 0% 100%;--success:156 56% 55%;--success-foreground:156 60% 8%;--warning:38 83% 61%;--warning-foreground:38 80% 9%;--info:204 62% 67%;--info-foreground:204 70% 9%;--border:240 8% 25%;--input:240 8% 29%;--ring:354 85% 64%;--radius:.75rem;--shadow-sm:0 2px 8px hsl(var(--foreground) / .025);--shadow-md:0 8px 24px hsl(var(--foreground) / .045);--shadow-lg:0 16px 64px hsl(var(--foreground) / .07);--transition-fast:.15s ease;--transition:.2s ease;--transition-smooth:.35s ease}.dark{--background:240 14% 6%;--foreground:240 12% 96%;--card:240 12% 10%;--card-foreground:240 12% 96%;--popover:240 11% 11%;--popover-foreground:240 12% 96%;--primary:354 85% 57%;--primary-foreground:0 0% 100%;--secondary:240 9% 17%;--secondary-foreground:240 12% 96%;--muted:240 9% 18%;--muted-foreground:240 6% 67%;--accent:354 25% 17%;--accent-foreground:354 88% 72%;--destructive:354 72% 48%;--destructive-foreground:0 0% 100%;--success:156 56% 55%;--success-foreground:156 60% 8%;--warning:38 83% 61%;--warning-foreground:38 80% 9%;--info:204 62% 67%;--info-foreground:204 70% 9%;--border:240 8% 25%;--input:240 8% 29%;--ring:354 85% 64%}*{box-sizing:border-box}html,body,#root{background:hsl(var(--background));width:100%;min-height:100%;color:hsl(var(--foreground));margin:0}body{font-family:Arial,Helvetica,sans-serif}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:focus-visible,a:focus-visible{outline:2px solid hsl(var(--ring));outline-offset:4px}.game-shell{background:hsl(var(--background));width:100%;min-height:100svh;position:relative;overflow:hidden}.world{position:absolute;inset:0}.world canvas{width:100%;height:100%;display:block}.world-vignette{pointer-events:none;background:linear-gradient(180deg, hsl(var(--background) / .48), transparent 24%, transparent 65%, hsl(var(--background) / .5));position:absolute;inset:0}.menu-vignette{background:linear-gradient(90deg, hsl(var(--background) / .97) 0%, hsl(var(--background) / .92) 25%, hsl(var(--background) / .6) 42%, hsl(var(--background) / .02) 68%), linear-gradient(0deg, hsl(var(--background) / .95), transparent 28%, transparent 76%, hsl(var(--background) / .7))}.topbar{z-index:5;border-bottom:1px solid hsl(var(--foreground) / .1);justify-content:space-between;align-items:center;padding:28px 40px;display:flex;position:relative}.wordmark{color:hsl(var(--foreground));letter-spacing:-.8px;align-items:center;gap:12px;font-size:20px;font-style:italic;font-weight:900;text-decoration:none;display:flex}.brand-mark{gap:4px;display:flex;transform:skew(-28deg)}.brand-mark i{background:hsl(var(--primary));width:8px;height:23px;display:block}.brand-mark i:last-child{align-self:flex-end;height:14px}.header-right{align-items:center;gap:16px;display:flex}.session-label{letter-spacing:1.6px;color:hsl(var(--muted-foreground));align-items:center;gap:8px;font-size:10px;display:flex}.status-dot{background:hsl(var(--primary));border-radius:50%;width:6px;height:6px;display:inline-block}.button{border:1px solid hsl(var(--border));border-radius:var(--radius-md);transition:transform var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast);white-space:nowrap;touch-action:manipulation;justify-content:center;align-items:center;gap:8px;padding:12px 16px;font-size:14px;font-weight:600;display:inline-flex}.button:active{transform:scale(.98)}.button:disabled{opacity:.45;cursor:not-allowed}.button-primary{background:hsl(var(--primary));color:hsl(var(--primary-foreground));border-color:hsl(var(--primary))}.button-primary:hover:not(:disabled){background:hsl(var(--primary) / .88);box-shadow:var(--shadow-md);transform:translateY(-2px)}.button-secondary{background:hsl(var(--secondary));color:hsl(var(--secondary-foreground))}.button-secondary:hover:not(:disabled){background:hsl(var(--muted))}.button-ghost{color:hsl(var(--foreground));background:0 0;border-color:#0000}.button-ghost:hover:not(:disabled){background:hsl(var(--secondary) / .75)}.button-destructive{background:hsl(var(--destructive));color:hsl(var(--destructive-foreground));border-color:hsl(var(--destructive))}.button-destructive:hover{opacity:.85}.icon-button{padding:8px}.menu-content{z-index:2;width:480px;margin-left:6%;padding:64px 0 108px;position:relative}.eyebrow{letter-spacing:3px;color:hsl(var(--muted-foreground));align-items:center;gap:12px;font-size:11px;font-weight:600;display:flex}.eyebrow-line{background:hsl(var(--primary));width:28px;height:2px}.hero-title{letter-spacing:-3px;margin:24px 0 20px;font-size:clamp(48px,5.2vw,76px);font-style:italic;font-weight:900;line-height:.99}.hero-title>span{color:hsl(var(--primary))}.hero-description{color:hsl(var(--muted-foreground));font-size:14px;line-height:1.8}.mode-options{flex-direction:column;gap:12px;width:380px;margin:28px 0 24px;display:flex}.mode-card{border:1px solid hsl(var(--border));border-radius:var(--radius-md);text-align:left;color:hsl(var(--card-foreground));background:hsl(var(--card) / .84);transition:background var(--transition-fast), border-color var(--transition-fast);align-items:center;gap:16px;padding:16px 20px;display:flex}.mode-card.selected{border-color:hsl(var(--primary));background:hsl(var(--accent) / .65)}.mode-card:hover{border-color:hsl(var(--primary) / .7)}.mode-icon{border-radius:var(--radius-sm);width:40px;height:40px;color:hsl(var(--muted-foreground));background:hsl(var(--secondary));place-items:center;display:grid}.selected .mode-icon{color:hsl(var(--primary));background:hsl(var(--primary) / .1)}.mode-card strong{font-size:15px;font-weight:600;display:block}.mode-card small{color:hsl(var(--muted-foreground));margin-top:5px;font-size:12px;display:block}.mode-check{border:1px solid hsl(var(--input));border-radius:50%;place-items:center;width:20px;height:20px;margin-left:auto;display:grid}.selected .mode-check{background:hsl(var(--primary));color:hsl(var(--primary-foreground));border-color:hsl(var(--primary))}.conditions-row{justify-content:space-between;align-items:center;width:380px;margin-bottom:24px;display:flex}.micro-label{letter-spacing:1.7px;color:hsl(var(--muted-foreground));font-size:10px;font-weight:600}.conditions-options{background:hsl(var(--card) / .7);border:1px solid hsl(var(--border));border-radius:var(--radius-sm);padding:4px;display:flex}.condition-button{border-radius:var(--radius-sm);color:hsl(var(--muted-foreground));padding:8px 12px;font-size:12px}.condition-active{color:hsl(var(--foreground));background:hsl(var(--secondary))}.start-button{letter-spacing:1.4px;border-radius:var(--radius-sm);width:380px;padding:20px 24px;font-size:16px;font-style:italic}.menu-controls{color:hsl(var(--muted-foreground));justify-content:center;align-items:center;gap:24px;width:380px;margin-top:20px;font-size:12px;display:flex}.menu-controls>span{align-items:center;gap:8px;display:flex}.touch-hint{border-left:1px solid hsl(var(--border));padding-left:20px}.circuit-card{z-index:2;background:hsl(var(--card) / .85);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);border:1px solid hsl(var(--foreground) / .13);border-radius:var(--radius-lg);width:276px;box-shadow:var(--shadow-sm);padding:20px;position:absolute;bottom:102px;right:40px}.circuit-card h2{letter-spacing:-.3px;margin-top:12px;font-size:18px;font-weight:600}.circuit-tag{color:hsl(var(--muted-foreground));font-size:12px}.map-large{width:100%;height:150px;display:block}.circuit-stats{justify-content:space-between;padding-bottom:20px;display:flex}.circuit-stats>div{flex-direction:column;gap:8px;display:flex}.circuit-stats>div>span{font-size:20px;font-weight:600}.circuit-stats>div>span>small{color:hsl(var(--muted-foreground));font-size:10px}.circuit-stats>div>small{letter-spacing:.9px;color:hsl(var(--muted-foreground));font-size:9px}.circuit-bottom{border-top:1px solid hsl(var(--border));color:hsl(var(--muted-foreground));justify-content:space-between;align-items:center;padding-top:16px;display:flex}.circuit-bottom>span{letter-spacing:.7px;align-items:center;gap:8px;font-size:9px;display:flex}.menu-footer{border-top:1px solid hsl(var(--foreground) / .1);color:hsl(var(--muted-foreground));letter-spacing:1.7px;justify-content:space-between;padding:24px 40px;font-size:10px;display:flex;position:absolute;bottom:0;left:0;right:0}.menu-footer>span:last-child{align-items:center;gap:16px;display:flex}.menu-footer i{background:hsl(var(--muted-foreground));width:3px;height:3px;display:block}.race-top{pointer-events:none;justify-content:space-between;margin:24px 32px;display:flex;position:relative}.map-panel,.lap-panel{background:hsl(var(--background) / .78);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border:1px solid hsl(var(--foreground) / .14);border-radius:var(--radius-md);padding:16px}.map-panel{width:208px}.map-small{width:174px;height:124px;display:block}.map-caption{letter-spacing:1px;color:hsl(var(--muted-foreground));align-items:center;gap:6px;font-size:9px;display:flex}.lap-panel{width:236px;height:max-content}.lap-position{border-bottom:1px solid hsl(var(--border));gap:40px;margin-bottom:12px;padding-bottom:16px;display:flex}.lap-position>div{flex-direction:column;gap:4px;display:flex}.lap-position strong{font-size:30px;font-style:italic}.lap-position strong small{color:hsl(var(--muted-foreground));font-size:14px;font-style:normal}.timing-row{justify-content:space-between;align-items:center;padding:4px 0;display:flex}.timing-row>span{letter-spacing:1px;color:hsl(var(--muted-foreground));font-size:10px}.timing-row strong{font-family:monospace;font-size:17px}.speedometer{border:1px solid hsl(var(--foreground) / .16);background:hsl(var(--background) / .82);border-radius:var(--radius-lg);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);width:280px;padding:16px 20px 12px;position:absolute;bottom:100px;left:50%;transform:translate(-50%)}.rpm-label{letter-spacing:1px;color:hsl(var(--muted-foreground));justify-content:space-between;margin-bottom:8px;font-size:9px;display:flex}.rpm-bar{gap:4px;height:8px;display:flex}.rpm-bar i{background:hsl(var(--muted));border-radius:1px;flex:1;transform:skew(-12deg)}.rpm-bar i.lit{background:hsl(var(--foreground))}.rpm-bar i.high.lit{background:hsl(var(--primary))}.speed-row{align-items:center;gap:16px;margin-top:12px;display:flex}.gear{border-right:1px solid hsl(var(--border));flex-direction:column;align-items:center;padding-right:16px;display:flex}.gear>small{letter-spacing:1px;color:hsl(var(--muted-foreground));font-size:9px}.gear>strong{color:hsl(var(--primary));font-size:36px;font-style:italic;line-height:1.1}.speed-value{letter-spacing:-2px;font-variant-numeric:tabular-nums;font-size:56px;font-style:italic;line-height:1}.speed-unit{color:hsl(var(--muted-foreground));white-space:nowrap;align-self:flex-end;margin-bottom:8px;font-size:10px}.drive-actions{gap:8px;display:flex;position:absolute;bottom:220px;right:32px}.race-action{background:hsl(var(--background) / .8);color:hsl(var(--foreground));letter-spacing:.6px;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);touch-action:none;padding:12px;font-size:11px}kbd{border:1px solid hsl(var(--border));border-radius:var(--radius-sm);color:hsl(var(--muted-foreground));padding:3px 5px;font-family:monospace;font-size:10px}.drs-active{background:hsl(var(--success));color:hsl(var(--success-foreground));border-color:hsl(var(--success))}.touch-controls{pointer-events:none;justify-content:space-between;display:flex;position:absolute;bottom:32px;left:32px;right:32px}.steering-pads,.pedals{pointer-events:auto;align-items:flex-end;gap:12px;display:flex}.touch-controls .button{touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;transition:transform var(--transition-fast), filter var(--transition-fast), background var(--transition-fast)}.touch-controls .button>*{pointer-events:none}.touch-controls .button[data-held=true]:not(:disabled),.drs-button[data-held=true]:not(:disabled){filter:brightness(1.25);transform:scale(.95)}.touch-controls .button:hover:not(:disabled){transform:none}.touch-controls .button[data-held=true]:hover:not(:disabled){transform:scale(.95)}.steer-pad{background:hsl(var(--background) / .66);width:76px;height:76px;color:hsl(var(--foreground));border-color:hsl(var(--foreground) / .25);border-radius:var(--radius-lg);touch-action:none;-webkit-user-select:none;user-select:none}.brake-pad,.accelerator-pad{border-radius:var(--radius-lg);touch-action:none;-webkit-user-select:none;user-select:none;flex-direction:column;display:flex}.brake-pad{background:hsl(var(--background) / .74);width:72px;height:88px;color:hsl(var(--foreground))}.accelerator-pad{width:96px;height:128px}.brake-pad>span,.accelerator-pad>span{letter-spacing:1px;font-size:9px}.desktop-drive-hint{white-space:nowrap;letter-spacing:.5px;color:hsl(var(--foreground));align-items:center;gap:20px;font-size:10px;display:flex;position:absolute;bottom:40px;left:50%;transform:translate(-50%)}.desktop-drive-hint small{color:hsl(var(--muted-foreground));margin-left:4px;font-size:12px}.countdown-overlay{pointer-events:none;background:hsl(var(--background) / .2);flex-direction:column;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.start-lights{border-radius:var(--radius-lg);background:hsl(var(--background) / .9);border:1px solid hsl(var(--border));gap:12px;padding:20px 28px;display:flex}.start-lights i{background:hsl(var(--accent));border-radius:50%;width:28px;height:28px}.start-lights i.on{background:hsl(var(--primary));box-shadow:0 0 24px hsl(var(--primary) / .5)}.countdown-overlay>strong{font-size:100px;font-style:italic;font-weight:900}.countdown-overlay>span{letter-spacing:4px;font-size:12px}.toast{z-index:30;background:hsl(var(--popover));max-width:calc(100% - 32px);color:hsl(var(--popover-foreground));border:1px solid hsl(var(--border));border-radius:var(--radius-md);box-shadow:var(--shadow-md);align-items:center;gap:12px;padding:12px 16px;font-size:13px;display:flex;position:absolute;top:100px;left:50%;transform:translate(-50%)}.dialog-backdrop{background:hsl(var(--background) / .72);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);z-index:40;animation:fade-in var(--transition);position:fixed;inset:0}.dialog-content{border-radius:var(--radius-xl);background:hsl(var(--popover));width:calc(100% - 32px);max-width:520px;max-height:calc(100svh - 48px);color:hsl(var(--popover-foreground));border:1px solid hsl(var(--border));box-shadow:var(--shadow-lg);z-index:41;animation:fade-in var(--transition);padding:28px;position:fixed;top:50%;left:50%;overflow:auto;transform:translate(-50%,-50%)}.help-grid{grid-template-columns:1fr 1fr;gap:24px;margin-top:28px;display:grid}.help-grid>div>svg{color:hsl(var(--primary))}.help-grid h3{margin:12px 0;font-size:16px;font-weight:600}.help-grid p{color:hsl(var(--muted-foreground));font-size:13px;line-height:2.1}.help-grid kbd{color:hsl(var(--foreground))}.help-note{background:hsl(var(--secondary));color:hsl(var(--secondary-foreground));border-radius:var(--radius-md);align-items:flex-start;gap:12px;margin-top:24px;padding:16px;display:flex}.help-note>svg{color:hsl(var(--primary));flex-shrink:0}.help-note>p{font-size:12px;line-height:1.8}.result-highlights{grid-template-columns:1fr 1fr;gap:16px;margin:24px 0;display:grid}.result-highlights>div{background:hsl(var(--secondary));color:hsl(var(--secondary-foreground));border-radius:var(--radius-md);align-items:center;gap:12px;padding:16px;display:flex}.result-highlights>div>svg{color:hsl(var(--primary))}.result-highlights>div>span{letter-spacing:1px;color:hsl(var(--muted-foreground));font-size:9px}.result-highlights strong{letter-spacing:0;color:hsl(var(--foreground));margin-top:6px;font-family:monospace;font-size:18px;display:block}.results-table{border:1px solid hsl(var(--border));border-radius:var(--radius-md);overflow:hidden}.results-heading{background:hsl(var(--muted));color:hsl(var(--muted-foreground));letter-spacing:1px;justify-content:space-between;padding:12px 16px;font-size:10px;display:flex}.result-row{border-bottom:1px solid hsl(var(--border) / .45);justify-content:space-between;align-items:center;padding:12px 16px;font-size:13px;display:flex}.result-row>span:first-child{align-items:center;gap:12px;display:flex}.result-row b{width:12px}.result-row small{color:hsl(var(--muted-foreground));font-size:10px}.result-row i{letter-spacing:1px;color:hsl(var(--primary));font-size:9px;font-style:normal}.result-row>span:last-child{font-family:monospace}.player-result{background:hsl(var(--primary) / .08)}.graphics-notice{z-index:15;background:hsl(var(--popover));border:1px solid hsl(var(--border));border-radius:var(--radius-lg);align-items:center;gap:16px;padding:20px;display:flex;position:absolute;bottom:80px;left:20px;right:20px}.graphics-notice p{color:hsl(var(--muted-foreground));font-size:13px;line-height:1.6}@keyframes fade-in{0%{opacity:0}to{opacity:1}}@media (width>=1280px){.menu-content{padding-top:72px}}@media (width<=1023px){.topbar{padding:20px 24px}.session-label{display:none}.menu-content{width:430px;margin-left:5%;padding-top:52px}.hero-title{font-size:62px}.circuit-card{width:244px;bottom:96px;right:24px}.circuit-stats>div>small{font-size:8px}.menu-footer{padding:24px}.menu-footer>span:last-child,.desktop-drive-hint{display:none}.speedometer{width:260px;bottom:40px}.recovery-button kbd,.race-action kbd{display:none}.drive-actions{bottom:208px}.touch-controls{bottom:24px;left:24px;right:24px}}@media (width<=767px){.topbar{padding:16px 20px}.wordmark{font-size:17px}.brand-mark i{width:6px;height:19px}.header-right{gap:8px}.menu-vignette{background:linear-gradient(180deg, hsl(var(--background) / .65), hsl(var(--background) / .1) 20%, hsl(var(--background) / .86) 44%, hsl(var(--background)) 78%)}.menu-content{width:100%;margin-left:0;padding:180px 24px 96px}.eyebrow{letter-spacing:2px;font-size:10px}.hero-title{letter-spacing:-2px;margin:16px 0;font-size:52px}.hero-description{font-size:13px}.mode-options{gap:8px;width:100%;margin-top:24px}.mode-card{gap:12px;padding:12px 16px}.mode-icon{width:36px;height:36px}.conditions-row{width:100%;margin-bottom:16px}.start-button{width:100%;padding:16px 20px}.menu-controls{gap:16px;width:100%;margin-top:16px}.circuit-card{display:none}.menu-footer{padding:20px 24px;font-size:9px}.race-top{margin:16px}.map-panel{width:144px;padding:12px}.map-small{width:118px;height:90px}.map-panel .micro-label{letter-spacing:.5px;font-size:8px}.map-caption{font-size:8px}.map-caption>span:last-child{display:none}.lap-panel{width:168px;padding:12px}.lap-position{gap:24px;margin-bottom:8px;padding-bottom:8px}.lap-position strong{font-size:24px}.lap-position strong small{font-size:12px}.timing-row>span{letter-spacing:.2px;font-size:8px}.timing-row strong{font-size:13px}.speedometer{width:212px;padding:12px 16px;bottom:184px}.rpm-bar{gap:3px;height:6px}.speed-value{font-size:42px}.speed-row{gap:12px}.gear{padding-right:12px}.gear>strong{font-size:28px}.speed-unit{font-size:9px}.drive-actions{flex-direction:column;bottom:324px;right:16px}.race-action{gap:6px;padding:10px;font-size:9px}.recovery-button>span{display:none}.touch-controls{left:16px;right:16px;bottom:calc(24px + env(safe-area-inset-bottom))}.steering-pads,.pedals{gap:8px}.steer-pad{width:58px;height:68px;padding:12px}.brake-pad{width:58px;height:84px}.accelerator-pad{width:76px;height:112px}.toast{width:max-content;font-size:12px;top:76px}.dialog-content{padding:24px}.help-grid{gap:16px}.result-highlights{gap:8px}.result-highlights>div{gap:8px;padding:12px}.result-highlights strong{font-size:16px}.graphics-notice{flex-wrap:wrap;bottom:12px}.countdown-overlay>strong{font-size:80px}}@media (height<=600px) and (width>=768px){.topbar{padding:12px 24px}.menu-content{padding-top:24px;padding-bottom:64px}.hero-title{margin:12px 0;font-size:44px}.hero-description{font-size:12px}.mode-options{gap:8px;margin:16px 0}.mode-card{padding:12px 16px}.conditions-row{margin-bottom:12px}.start-button{padding:14px 20px}.menu-controls{margin-top:12px}.circuit-card{bottom:76px}.race-top{margin:12px 20px}.map-panel{width:160px;padding:12px}.map-small{width:136px;height:96px}.speedometer{bottom:20px}.drive-actions{bottom:160px;right:20px}.touch-controls{bottom:20px}.steer-pad{width:60px;height:60px}.accelerator-pad{width:80px;height:96px}.brake-pad{height:72px}.desktop-drive-hint{display:none}.lap-panel{padding:12px}.lap-position{margin-bottom:8px;padding-bottom:8px}}.mobile-race-toast{display:none}@media (width<=1023px),(pointer:coarse){.race-shell{height:100dvh;min-height:0;padding:env(safe-area-inset-top,0px) max(16px, env(safe-area-inset-right,0px)) max(16px, env(safe-area-inset-bottom,0px)) max(16px, env(safe-area-inset-left,0px));flex-direction:column;display:flex}.race-shell .topbar{flex:0 0 48px;gap:8px;height:48px;padding:0}.race-shell .wordmark{letter-spacing:-.8px;flex:0 0 90px;gap:4px;max-width:90px;font-size:clamp(12px,3.3vw,13px)}.race-shell .brand-mark{gap:2px}.race-shell .brand-mark i{width:3px;height:12px}.race-shell .brand-mark i:last-child{height:8px}.race-shell .session-label{display:none}.race-shell .header-right{flex-wrap:nowrap;gap:0}.race-shell .header-right .icon-button{isolation:isolate;background:0 0;flex:0 0 44px;width:44px;min-width:44px;height:44px;padding:0;position:relative}.race-shell .header-right .icon-button:before{content:"";z-index:-1;border-radius:var(--radius-sm);background:hsl(var(--secondary) / .75);position:absolute;inset:4px}.race-shell button{touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}.race-hud{z-index:2;pointer-events:none;flex:1;grid-template-rows:auto minmax(0,1fr) auto;gap:clamp(4px,1vh,8px);min-height:0;padding-top:8px;display:grid;position:relative}.race-shell .race-top{grid-row:1;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:16px;margin:0;display:grid;position:static}.race-shell .map-panel,.race-shell .lap-panel{background:hsl(var(--card) / .66);min-width:0;height:auto;color:hsl(var(--card-foreground));padding:8px}.race-shell .map-panel{width:min(28vw,110px)}.race-shell .map-small{aspect-ratio:1.4;width:100%;height:auto}.race-shell .map-panel .micro-label{letter-spacing:0;font-size:9px;line-height:1.2}.race-shell .map-caption{display:none}.race-shell .lap-panel{justify-self:end;width:min(40vw,156px)}.race-shell .lap-position{justify-content:space-between;gap:8px;margin-bottom:4px;padding-bottom:4px}.race-shell .lap-position>div{gap:0}.race-shell .lap-position .micro-label{letter-spacing:0;font-size:9px}.race-shell .lap-position strong{white-space:nowrap;font-size:22px;line-height:1.1}.race-shell .lap-position strong small{font-size:12px}.race-shell .timing-row{gap:4px;padding:0;line-height:16px}.race-shell .timing-row>span{letter-spacing:0;font-size:9px}.race-shell .timing-row strong{white-space:nowrap;font-variant-numeric:tabular-nums;font-size:12px}.race-bottom{grid-row:3;grid-template-rows:96px 64px 80px;grid-template-columns:124px minmax(0,1fr) 132px;align-items:end;row-gap:8px;min-width:0;display:grid}.race-shell .drive-actions{pointer-events:auto;grid-area:1/1;grid-template-rows:44px 44px;grid-template-columns:minmax(0,1fr) 44px;align-self:end;gap:8px 4px;display:grid;position:static}.race-shell .race-action{letter-spacing:0;gap:4px;min-width:44px;min-height:44px;padding:4px;font-size:12px}.race-shell .drs-button{grid-area:1/1/auto/-1}.race-shell .restart-action{flex-direction:column;grid-area:2/1;gap:0}.race-shell .restart-action svg{width:14px;height:14px}.race-shell .recovery-button{grid-area:2/2}.race-shell .recovery-button span,.race-shell .race-action kbd{display:none}.race-shell .speedometer{border-radius:var(--radius-md);grid-area:2/1/auto/-1;place-self:center;width:min(45vw,176px);height:64px;padding:8px;position:static;transform:none}.race-shell .rpm-label{display:none}.race-shell .rpm-bar{gap:2px;height:4px}.race-shell .speed-row{justify-content:center;gap:8px;margin-top:4px}.race-shell .speed-value{letter-spacing:-1px;font-size:clamp(32px,10vw,36px)}.race-shell .gear{padding-right:8px}.race-shell .gear>small{letter-spacing:0;font-size:9px}.race-shell .gear>strong{font-size:18px}.race-shell .speed-unit{margin-bottom:4px;font-size:9px}.race-shell .touch-controls{display:contents}.race-shell .steering-pads{grid-area:3/1;gap:12px}.race-shell .pedals{grid-area:3/3;gap:12px}.race-shell .steer-pad,.race-shell .brake-pad{width:56px;min-width:56px;height:56px;padding:4px}.race-shell .accelerator-pad{width:64px;min-width:64px;height:80px;padding:4px}.race-shell .brake-pad,.race-shell .accelerator-pad{gap:4px}.race-shell .brake-pad span,.race-shell .accelerator-pad span{letter-spacing:0;font-size:9px}.race-shell .desktop-drive-hint,.race-toast-desktop{display:none}.race-shell .mobile-race-toast{pointer-events:auto;grid-area:1/2/auto/-1;place-self:end;gap:4px;width:min(40vw,220px);max-width:100%;max-height:96px;padding:4px 8px;font-size:12px;line-height:16px;display:flex;position:static;transform:none}.mobile-race-toast>span{min-width:0;max-height:80px;overflow:auto}.mobile-race-toast .icon-button{flex:0 0 44px;width:44px;height:44px;padding:0}}@media (orientation:landscape) and (width<=1023px),(orientation:landscape) and (pointer:coarse){.race-bottom{grid-template-rows:96px 80px}.race-shell .speedometer{grid-area:2/2;align-self:end;width:min(45vw,176px,100%)}.race-shell .steering-pads,.race-shell .pedals{grid-row:2}}@media (prefers-reduced-motion:reduce){*{transition-duration:.01ms;animation-duration:.01ms}}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@keyframes spin{to{transform:rotate(360deg)}}
