@font-face{font-family:Titillium;src:url('/fonts/TitilliumWeb-Regular.woff2') format('woff2'),url('/fonts/TitilliumWeb-Regular.ttf') format('truetype');font-display:swap}@font-face{font-family:Titillium;src:url('/fonts/TitilliumWeb-Bold.woff2') format('woff2'),url('/fonts/TitilliumWeb-Bold.ttf') format('truetype');font-weight:700;font-display:swap}:root{color-scheme:dark;--bg:#101113;--panel:#191a1d;--line:#303136;--muted:#a1a5af;--text:#f0f0f1;--red:#ff4a36;--teal:#72d3cd}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:90px}body{margin:0;background:var(--bg);color:var(--text);font:16px/1.65 Titillium,'Segoe UI','Microsoft YaHei',sans-serif}a{color:var(--teal);text-decoration:none}button,select{font:inherit;color:var(--text);background:var(--panel);border:1px solid var(--line);border-radius:7px;padding:9px 12px;cursor:pointer}a:focus-visible,button:focus-visible,select:focus-visible{outline:2px solid var(--teal);outline-offset:4px}a[hidden]{display:none}.home-nav{max-width:1440px;margin:auto;display:flex;align-items:center;gap:28px;padding:24px 44px;border-bottom:1px solid var(--line)}.home-brand{display:flex;gap:10px;align-items:center;color:var(--text);font-size:25px;font-weight:700;font-style:italic;letter-spacing:-1px;white-space:nowrap}.home-brand>span>span{color:var(--red)}.home-brand img{border-radius:8px;object-fit:cover}.home-nav nav{display:flex;gap:24px;margin-left:auto}.home-nav nav a{font-size:14px;color:var(--muted)}.home-controls{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.language-control{display:flex;gap:6px;align-items:center}.language-control select{max-width:145px;font-size:13px}.home-button{display:inline-flex;min-height:46px;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:7px;padding:11px 20px;color:var(--text);font-size:14px}.home-button.primary{background:var(--red);border-color:var(--red);color:white;font-weight:700}.home-nav .home-button{font-size:13px;padding:9px 14px}.home-skip{position:absolute;top:-100px;left:10px;padding:10px;background:var(--panel);z-index:10}.home-skip:focus{top:10px}main{max-width:1370px;margin:auto;padding:0 44px}.home-hero{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);align-items:center;gap:65px;padding:90px 0}.home-kicker{font-size:11px;letter-spacing:2.2px;color:var(--red);font-weight:700}.home-hero h1{font-size:clamp(32px,3.25vw,51px);line-height:1.3;letter-spacing:-1.5px;margin:20px 0 25px}.home-lead{max-width:550px;font-size:17px;color:var(--muted);margin-bottom:28px}.home-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.home-note{font-size:12px;color:var(--muted);margin:18px 0}.home-preview-label{display:inline-block;font-size:11px;border-left:2px solid var(--teal);padding-left:10px;color:var(--muted);margin-top:12px}.home-product{margin:0;background:var(--panel);border:1px solid var(--line);border-top:3px solid var(--teal);border-radius:12px;padding:22px;box-shadow:0 16px 48px #0003}.home-product figcaption{display:flex;gap:10px;justify-content:space-between;font-size:10px;letter-spacing:1px;color:var(--muted)}.home-product h2{font-size:22px;margin:22px 0 6px}.home-product-head p{font-size:12px;color:var(--muted)}.home-product svg{display:block;width:100%;height:auto;margin-top:12px}.home-product svg text{fill:var(--muted);font:10px sans-serif}.home-product>a{font-size:13px}.home-section{padding:50px 0;border-top:1px solid var(--line)}.home-section-head{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:25px}.home-section-head h2,.home-method h2{font-size:30px;line-height:1.4;margin:8px 0}.home-section-head>a{font-size:13px;white-space:nowrap}.home-race-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:20px}.home-card{border:1px solid var(--line);border-radius:10px;padding:27px;background:var(--panel);min-width:0}.home-card h3{font-size:23px;line-height:1.4;margin:13px 0}.home-card p,.home-card li{color:var(--muted);font-size:14px}.home-card>a{font-size:13px;display:inline-block;margin-top:15px}.home-card ul{padding-left:17px;line-height:2}.home-tag{display:inline-block;border:1px solid var(--line);border-radius:4px;font-size:11px;padding:3px 8px;color:var(--muted)}.home-card time{font-variant-numeric:tabular-nums;font-size:13px}.home-card dl{display:grid;grid-template-columns:auto 1fr;gap:9px 18px;font-size:13px}.home-card dt{color:var(--muted)}.home-card dd{margin:0;text-align:right}.home-features{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.home-feature-number{font-size:10px;color:var(--teal);letter-spacing:1.5px}.home-features .home-card{display:flex;flex-direction:column}.home-features .home-card>a{margin-top:auto;padding-top:16px}.home-method{max-width:790px;padding-top:55px;padding-bottom:55px}.home-method>p:not(.home-kicker){font-size:17px;color:var(--muted)}.home-method>a{display:inline-block;margin-top:15px;font-size:13px}.home-updates{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.home-update{border-left:2px solid var(--line);padding-left:18px}.home-update h3{font-size:16px;margin:0 0 12px}.home-update p{font-size:13px;color:var(--muted)}.home-footer{max-width:1370px;margin:20px auto 0;padding:35px 44px 45px;border-top:1px solid var(--line);display:grid;grid-template-columns:1fr 2fr;gap:15px 40px}.home-footer p{font-size:12px;color:var(--muted);margin:0}.home-footer nav{display:flex;flex-wrap:wrap;gap:20px;font-size:12px}.home-footer small{color:var(--muted);font-size:11px}.home-chart-placeholder{min-height:200px;display:flex;align-items:center;justify-content:center;color:var(--muted)}.home-chart-placeholder svg{min-height:0}.theme-light{color-scheme:light;--bg:#f4f5f7;--panel:#fff;--line:#d3d6de;--muted:#5c6370;--text:#171a21;--red:#c82c1b;--teal:#087c78}
@media(max-width:1100px){.home-nav{padding:20px 24px;gap:18px;flex-wrap:wrap}.home-nav nav{gap:15px}.home-controls{margin-left:auto}.home-hero{gap:30px;padding:60px 0}main{padding:0 25px}.home-product h2{font-size:20px}.home-features .home-card{padding:20px}.home-card h3{font-size:20px}}
@media(max-width:760px){.home-nav{padding:15px 18px;gap:12px}.home-brand{font-size:23px}.home-nav nav{order:3;width:100%;margin:0;justify-content:space-between;padding-top:12px;border-top:1px solid var(--line)}.home-nav .home-controls{gap:5px}.home-nav .home-controls>.home-button{display:none}.home-controls select{font-size:12px;max-width:120px;padding:7px}.home-controls svg{display:none}.home-controls .theme-toggle{padding:7px 9px}.home-hero{grid-template-columns:1fr;padding:44px 0;gap:32px}.home-hero h1{font-size:34px;letter-spacing:-1px}.home-lead{font-size:15px}.home-actions .home-button{flex:1;min-width:130px}.home-product{padding:20px}.home-race-grid,.home-features,.home-updates{grid-template-columns:1fr}.home-section{padding:35px 0}.home-section-head h2,.home-method h2{font-size:25px}.home-section-head{align-items:flex-start;flex-direction:column;gap:4px}.home-card{padding:22px}.home-card dd{text-align:left}.home-card dl{grid-template-columns:1fr;gap:3px}.home-card dd{margin:0 0 9px}.home-footer{padding:28px 25px;grid-template-columns:1fr;gap:20px}.home-footer p{font-size:11px}.home-product figcaption{font-size:9px;letter-spacing:0}.home-chart-placeholder{min-height:160px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}}
.home-auth{display:flex;align-items:center;gap:7px}.home-auth .home-register{border-color:var(--teal);color:var(--teal)}.home-auth a:hover{background:color-mix(in srgb,var(--teal) 12%,var(--panel))}@media(max-width:760px){.home-nav .home-controls{width:100%;margin:0;justify-content:flex-end;gap:8px}.home-auth{margin-right:auto}.home-auth .home-button{min-height:44px;padding:8px 12px}.home-nav nav{order:3}.home-controls .language-control select{max-width:116px}}
[hidden]{display:none!important}

.icp-registration{display:inline-block;color:var(--muted,#9ba0a8);font-size:13px;line-height:1.6;white-space:normal;overflow-wrap:anywhere;text-decoration:none}.icp-registration:hover{text-decoration:underline}.navfooter .icp-registration{display:block;margin-top:8px;font-size:12px}

/* Static graphics keep the landing page independent of workbench data loading. */
.product-home{background:radial-gradient(ellipse at 85% 6%,#ff493512,transparent 32%),var(--bg)}
.home-nav{max-width:1536px;padding:23px 48px}.home-nav .home-brand{font-size:29px}.home-nav nav{gap:10px}.home-nav .home-controls{gap:10px}.home-nav .home-button.primary{border-radius:3px}
.product-home main{max-width:1440px;padding:0 48px}.home-hero{position:relative;padding:76px 0 66px;gap:56px;grid-template-columns:1fr 1fr}.home-hero:before{content:'';position:absolute;inset:0;z-index:-1;background:repeating-linear-gradient(115deg,transparent 0 70px,#ffffff02 71px 72px)}
.home-hero-copy{position:relative;min-width:0}.home-kicker{letter-spacing:2.4px;font-size:11px}.home-start-lights{color:var(--red);letter-spacing:4px;margin-right:12px;font-size:13px;white-space:nowrap}
.home-hero-word{font-size:clamp(68px,7.7vw,116px);line-height:.94;letter-spacing:-4px;font-weight:700;font-style:italic;margin:25px 0 24px;white-space:nowrap}.home-hero-word em{font-style:inherit;color:var(--red);text-shadow:6px 6px 0 #ff493512}
.home-hero h1{font-size:clamp(26px,2.5vw,37px);letter-spacing:1px;line-height:1.35;margin:27px 0 16px}.home-lead{font-size:16px;max-width:440px;line-height:1.95;margin:0 0 27px}.home-actions{gap:10px}.home-actions .home-button{min-height:49px;padding:11px 24px;border-radius:3px;font-size:15px;font-weight:700}.home-actions .primary{box-shadow:5px 5px 0 #ff493528}.home-note{font-size:12px;line-height:1.7}
.home-product{position:relative;overflow:hidden;margin:32px 0 0;border:1px solid var(--line);border-top:3px solid var(--red);border-radius:4px 25px 4px 4px;padding:24px 26px;background:linear-gradient(150deg,#24262c,var(--panel) 50%);box-shadow:15px 15px 0 #ffffff03,0 25px 75px #0003}
.home-product figcaption{position:relative;font-size:11px;letter-spacing:1.2px;align-items:center;border-bottom:1px solid #ffffff14;padding-bottom:16px;gap:8px}.home-product figcaption span:first-child{color:var(--text);font-weight:700;letter-spacing:2px}.home-product-head{position:relative;margin-top:25px}.home-product-head .home-data-label{color:var(--red);font-size:10px;letter-spacing:2px;margin:0 0 8px}.home-product h2{font-size:25px;margin:0 0 13px}.home-product-head p{font-size:12px}.home-product-head b{font-size:20px;letter-spacing:1px}.home-driver-lec{color:#ff5b68}.home-driver-pia{color:#ff9c29}.home-vs{margin:0 10px;color:var(--muted);font-size:10px;font-weight:700}
.home-circuit-art{position:absolute;top:14px;right:-30px;width:270px;color:#ffffff20;transform:rotate(-12deg);opacity:.75;pointer-events:none}.home-circuit-art svg{margin:0!important}.home-circuit-art span{display:block;text-align:center;font-size:8px;letter-spacing:2px;color:var(--muted);opacity:.5}.home-product #homeGapChart{position:relative;min-height:210px;border-top:1px solid #ffffff0c;margin-top:22px}.home-product #homeGapSummary{max-width:90%;font-size:11px}.home-product #homeGapChart svg{width:100%}
.home-discipline-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;border-block:1px solid var(--line);padding:21px 0;color:var(--muted);font-size:10px;letter-spacing:1.2px}.home-discipline-strip span{display:flex;align-items:center;gap:12px;border-right:1px solid var(--line);padding:0 17px}.home-discipline-strip span:first-child{padding-left:0}.home-discipline-strip span:last-child{border:0}.home-discipline-strip b{color:var(--text);font-size:15px;letter-spacing:.5px}
.home-discipline-strip+.home-section{border-top:0}.home-section{padding:60px 0}.home-section-head h2{font-size:30px}.home-section-head .home-kicker{margin-top:0}.home-card{border-radius:4px 18px 4px 4px;padding:28px}.home-race-grid{grid-template-columns:1.15fr 1fr;gap:20px}.home-race-grid #homeNextRace{border-left:3px solid var(--red);background:linear-gradient(125deg,#ff493509,var(--panel))}.home-race-grid .home-card h3{font-size:26px}.home-race-grid .home-card dt,.home-race-grid .home-card dd{font-size:14px}
.home-features .home-card{position:relative;overflow:hidden;min-height:330px;background:linear-gradient(160deg,#ffffff04,var(--panel));border-top:2px solid var(--red)}.home-feature-number{color:var(--red);font-size:12px;letter-spacing:2px}.home-features h3{margin:23px 0 9px;font-size:24px}.home-features ul{padding-left:17px;margin-bottom:24px}.home-features .home-card>a{padding-top:5px;align-self:flex-start}.home-card p{line-height:1.85}
.home-method{max-width:none;display:grid;grid-template-columns:1fr 1.25fr;gap:5px 80px;padding:54px 36px;border-left:3px solid var(--red);background:linear-gradient(110deg,#ff493507,transparent);margin:30px 0}.home-method .home-kicker{grid-column:1;align-self:end;margin:0}.home-method h2{grid-column:1;font-size:27px;line-height:1.6}.home-method>p:not(.home-kicker){grid-column:2;grid-row:1 / 3;font-size:15px;align-self:center;line-height:1.9}.home-method>a{grid-column:2;justify-self:start;margin:8px 0 0}.home-updates{gap:28px}.home-update{border-left-color:var(--red)}.home-footer{max-width:1440px;padding-inline:48px}.home-footer nav{gap:8px}.home-footer .home-brand{font-size:31px}
.theme-light .product-home{background:radial-gradient(ellipse at 85% 6%,#ff49350a,transparent 35%),var(--bg)}.theme-light .home-product{background:linear-gradient(145deg,#fff,#edf0f5);box-shadow:15px 15px 0 #11182704,0 20px 45px #1118270b}.theme-light .home-product figcaption,.theme-light .home-product #homeGapChart{border-color:var(--line)}.theme-light .home-circuit-art{color:#151a2c25}.theme-light .home-features .home-card{background:var(--panel)}.theme-light .home-hero:before{background:repeating-linear-gradient(115deg,transparent 0 70px,#17203303 71px 72px)}
@media(min-width:1500px){.home-hero{gap:90px}}
@media(max-width:1100px){.home-nav{padding:20px 25px}.product-home main{padding:0 28px}.home-hero{gap:30px;padding:50px 0}.home-hero-word{font-size:clamp(70px,9vw,100px)}.home-product{padding:22px;margin-top:35px}.home-product h2{font-size:21px}.home-discipline-strip{grid-template-columns:repeat(2,1fr);gap:18px}.home-discipline-strip span:nth-child(3){padding-left:0}.home-discipline-strip span:nth-child(2){border:0}.home-race-grid .home-card h3{font-size:23px}.home-method{gap:5px 30px}.home-footer{padding-inline:28px}}
@media(max-width:760px){.home-nav{padding:16px 20px}.product-home main{padding:0 20px}.home-hero{grid-template-columns:1fr;padding:38px 0 34px;gap:0}.home-hero-word{font-size:clamp(72px,17vw,110px);letter-spacing:-3px;margin:26px 0 23px}.home-hero h1{font-size:29px;letter-spacing:0;margin:20px 0 15px}.home-kicker{font-size:10px;letter-spacing:1.7px}.home-start-lights{display:block;margin-bottom:12px}.home-lead{font-size:15px;max-width:480px}.home-product{margin-top:24px;padding:22px}.home-product h2{font-size:23px}.home-product #homeGapChart{min-height:180px}.home-circuit-art{width:230px}.home-discipline-strip{font-size:9px;gap:17px 0;padding:23px 0}.home-discipline-strip span{gap:7px;padding:0 10px}.home-discipline-strip b{font-size:13px;letter-spacing:0}.home-race-grid,.home-features{grid-template-columns:1fr}.home-section{padding:38px 0}.home-section-head h2{font-size:25px}.home-card{padding:24px}.home-card h3,.home-race-grid .home-card h3{font-size:23px}.home-features .home-card{min-height:0}.home-features .home-card>a{margin-top:10px}.home-method{display:block;padding:27px 20px;margin:0}.home-method h2{font-size:23px}.home-method>p:not(.home-kicker){font-size:14px}.home-method>a{margin-top:10px}.home-footer{padding-inline:20px}.home-nav .home-brand{font-size:26px}}

.home-hero{isolation:isolate}.home-hero-photo{position:absolute;inset:0 -48px;width:calc(100% + 96px);height:100%;object-fit:cover;object-position:55% 52%;z-index:-3;filter:saturate(.7)}.home-hero:before{inset:0 -48px;z-index:-2;background:linear-gradient(90deg,#101113ee 0%,#101113a3 38%,#10111336 70%,#10111388),linear-gradient(0deg,#101113 0%,#10111313 24%,#10111310 75%,#10111380 100%)}.home-hero-copy{z-index:1}.home-product{background:linear-gradient(150deg,#24262cf5,#16181de8);box-shadow:0 22px 65px #0007}.home-photo-credit{margin-top:2px!important;font-size:10px!important;min-height:25px!important;background:#15181cad!important;color:#c4c7d0!important;border-color:#ffffff19!important;font-weight:400!important}.theme-light .home-hero:before{background:linear-gradient(90deg,#f4f5f7f5 0%,#f4f5f7ba 43%,#f4f5f725 75%,#f4f5f7a0),linear-gradient(0deg,#f4f5f7 0%,#f4f5f700 28%,#f4f5f730 85%,#f4f5f7b0 100%)}.theme-light .home-product{background:linear-gradient(145deg,#fffffff7,#edf0f5f0)}
@media(max-width:1100px){.home-hero-photo,.home-hero:before{left:-28px;right:-28px}.home-hero-photo{width:calc(100% + 56px)}}
@media(max-width:760px){.home-hero-photo{left:-20px;right:-20px;width:calc(100% + 40px);height:670px;object-position:63% center}.home-hero:before{left:-20px;right:-20px;background:linear-gradient(90deg,#101113c9,#10111344),linear-gradient(0deg,#101113 0%,#101113 30%,#10111300 73%,#10111355 100%)}.theme-light .home-hero:before{background:linear-gradient(90deg,#f4f5f7df,#f4f5f765),linear-gradient(0deg,#f4f5f7 0%,#f4f5f7 30%,#f4f5f700 73%,#f4f5f799 100%)}}

.home-hero-video{position:absolute;inset:0 -48px;width:calc(100% + 96px);height:100%;object-fit:cover;object-position:60% center;z-index:-3;opacity:0;transition:opacity .45s;pointer-events:none}.home-hero-photo{z-index:-4}.home-video-ready .home-hero-video{opacity:1}.home-media-credit{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin-top:10px;max-width:430px}.home-media-credit button{font-size:11px;padding:4px 9px;min-height:29px}.home-media-credit .home-photo-credit{font-size:9px!important;line-height:1.5;padding:3px 7px!important}.home-hero:before{background:linear-gradient(90deg,#101113e6 0%,#101113b0 38%,#10111338 70%,#10111388),linear-gradient(0deg,#101113 0%,#10111313 24%,#10111310 75%,#10111380 100%)}
@media(max-width:1100px){.home-hero-video{left:-28px;right:-28px;width:calc(100% + 56px)}}
@media(max-width:760px){.home-hero-video{left:-20px;right:-20px;width:calc(100% + 40px);height:690px;object-position:54% center}.home-hero-photo{height:690px}.home-hero:before{background:linear-gradient(90deg,#101113d0,#10111355),linear-gradient(0deg,#101113 0%,#101113 26%,#10111308 73%,#10111366 100%)}}

/* A cinematic race window, with a compact example rather than a dashboard in the hero. */
.home-brand>img:not(.brand-wordmark){display:block!important;width:43px;height:43px}.home-brand .brand-wordmark{width:142px;height:28px}.home-hero{min-height:min(850px,calc(100svh - 90px));grid-template-columns:minmax(0,1.3fr) minmax(260px,.7fr);align-items:center;gap:5vw;padding:70px 0 96px}.home-hero-word{font-size:clamp(80px,8.3vw,125px)}.home-hero:before{background:linear-gradient(90deg,#101113d9 0%,#1011139c 38%,#10111312 75%),linear-gradient(0deg,#101113 0%,#10111308 28%,#1011130a 70%,#1011134d 100%)}.home-hero-photo,.home-hero-video{object-position:58% center}.home-hero h1{font-size:clamp(27px,2.6vw,38px)}.home-race-lens{align-self:end;margin:0 0 10px;padding:18px 0 20px 22px;border-left:2px solid var(--red);background:linear-gradient(90deg,#101113b3,#10111300);color:#f6f6f7;max-width:365px;text-shadow:0 2px 8px #0008}.home-lens-label{font-size:10px;letter-spacing:2.1px;margin:0 0 18px;font-weight:700}.home-lens-label>span{display:block;font-size:10px;letter-spacing:.7px;color:#c2c7cf;margin-top:5px}.home-race-lens h2{font-size:clamp(24px,2.5vw,35px);line-height:1.35;letter-spacing:-.5px;margin:0 0 20px}.home-race-lens h2 em{font-style:normal;color:#fff}.home-tyre-story{max-width:310px}.home-tyre-row{display:grid;grid-template-columns:34px minmax(0,1fr) 55px;align-items:center;gap:10px;font-size:12px;margin:9px 0}.home-stop-count{color:#f5f5f5;text-align:right;font-size:11px;letter-spacing:.5px}.home-stint-bar{display:flex;height:15px;gap:3px}.home-stint-bar>span{font-size:9px;text-align:center;line-height:15px;border-radius:1px;color:#101113;font-weight:700}.home-stint-medium{background:#f1ce50}.home-stint-hard{background:#f1f2f4}.home-lens-note{font-size:10px;color:#c0c3cb;margin:15px 0 8px}.home-race-lens>a{font-size:12px!important;background:#10111380!important;color:#fff!important;border-color:#ffffff30!important}.home-film-rail{position:absolute;bottom:30px;left:0;right:0;display:flex;align-items:center;gap:16px;font-size:9px;color:#c5c8d1;letter-spacing:2px}.home-film-rail i{height:1px;background:#ffffff25;flex:1;overflow:hidden}.home-film-rail i:after{content:'';display:block;height:1px;width:30%;background:#ff4a36;animation:home-scan 9s linear infinite}@keyframes home-scan{from{transform:translateX(-110%)}to{transform:translateX(450%)}}
/* Every feature gets a different photograph. Images load below the first screen. */
.home-photo-card{position:relative!important;isolation:isolate;overflow:hidden;background:#12161b!important}.home-card-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2;filter:saturate(.68);transition:transform .6s ease;pointer-events:none}.home-photo-card:after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(0deg,#111418f5 8%,#111418d9 50%,#11141885 100%);pointer-events:none}.home-photo-card:hover .home-card-photo{transform:scale(1.035)}.home-photo-card h2,.home-photo-card h3{color:#fff}.home-photo-card p,.home-photo-card li,.home-photo-card dt{color:#c4c8d1!important}.home-photo-card dd{color:#fff}.home-photo-card a,.home-photo-card button{background:#171b20db!important;color:#fff!important;border-color:#ffffff35!important}.home-photo-card .home-tag{color:#e2e4e8;background:#1011139c;border-color:#ffffff30}.home-features .home-card{min-height:420px;padding-top:40px}.home-features .home-card:after{background:linear-gradient(0deg,#111418fc 8%,#111418dd 48%,#11141844 100%)}.home-features .home-card-photo{object-position:60% center}.home-feature-number{margin-bottom:30px;color:#ff705f!important}.home-method{border-radius:3px 22px 3px 3px}.home-method:after{background:linear-gradient(90deg,#111418ef,#111418cf)}.home-race-grid .home-card{min-height:300px}.home-race-grid #homeNextRace{background:#12161b}.home-update{position:relative;padding:22px;border:1px solid var(--line);border-top:2px solid var(--red);border-radius:3px 14px 3px 3px;background:linear-gradient(130deg,#ff4a3608,var(--panel))}
.theme-light .home-hero:before{background:linear-gradient(90deg,#f4f5f7ef 0%,#f4f5f7b0 36%,#10111312 73%),linear-gradient(0deg,#f4f5f7 0%,#f4f5f700 30%,#10111308 80%,#f4f5f733 100%)}.theme-light .home-race-lens{background:linear-gradient(90deg,#11151bd9,#11151b77);padding-right:18px;border-radius:0 4px 4px 0}.theme-light .home-film-rail{color:var(--muted)}.theme-light .home-film-rail i{background:#171a2126}
@media(min-width:1600px){.home-hero{min-height:800px}.home-race-lens{margin-bottom:25px}}@media(max-width:1000px){.home-hero{grid-template-columns:1.2fr .8fr;gap:25px}.home-hero-word{font-size:clamp(68px,9vw,95px)}.home-race-lens{padding-left:15px}.home-race-lens h2{font-size:25px}.home-tyre-row{grid-template-columns:30px minmax(0,1fr) 50px;gap:7px}}@media(max-width:760px){.home-hero{display:block;min-height:0;padding:42px 0 66px}.home-hero-word{font-size:clamp(72px,17vw,120px)}.home-hero-video,.home-hero-photo{height:100%;object-position:56% center}.home-hero:before{background:linear-gradient(90deg,#101113d9,#10111355),linear-gradient(0deg,#101113 0%,#10111366 45%,#10111310 80%,#10111355 100%)}.home-race-lens{max-width:400px;margin:30px 0 15px;padding:12px 0 12px 18px}.home-race-lens h2{font-size:22px;margin:10px 0 13px}.home-race-lens h2 br{display:none}.home-lens-label{margin-bottom:10px}.home-lens-label>span{display:inline;margin-left:8px;font-size:9px}.home-film-rail{bottom:15px;font-size:8px;letter-spacing:1px;gap:8px}.home-features .home-card{min-height:360px}.home-feature-number{margin-bottom:20px}.home-brand .brand-wordmark{width:125px;height:25px}.home-method .home-card-photo{height:100%}.home-race-grid .home-card{min-height:280px}.theme-light .home-hero:before{background:linear-gradient(90deg,#f4f5f7ed,#f4f5f799),linear-gradient(0deg,#f4f5f7 0%,#f4f5f740 70%,#f4f5f733 100%)}}
@media(prefers-reduced-motion:reduce){.home-film-rail i:after{animation:none}.home-card-photo{transition:none}}

/* Keep the race film visible; data tools belong in the workbench. */
.home-hero{display:block;padding-top:82px}.home-hero-copy{max-width:640px}.home-card-photo[data-subject=watch]{object-position:52% 48%}.home-card-photo[data-subject=strategy]{object-position:54% 50%}.home-card-photo[data-subject=play]{object-position:50% 47%}.home-method .home-card-photo{object-position:50% 43%}#homeNextPhoto{object-position:50% 50%}#homeReplayPhoto{object-position:53% 66%}
@media(max-width:760px){.home-hero{padding-top:42px}.home-hero-copy{max-width:100%}.home-card-photo[data-subject=watch]{object-position:55% 48%}.home-card-photo[data-subject=strategy]{object-position:54% 50%}.home-card-photo[data-subject=play]{object-position:50% 47%}.home-method .home-card-photo{object-position:55% 52%}}

.logo,.account-logo,.mobile-logo{display:inline-flex;align-items:center;gap:8px;white-space:nowrap}.logo{font-size:26px}.logo>.brand-wordmark,.account-logo>.brand-wordmark,.mobile-logo>.brand-wordmark{color:var(--text,#f0f0f1)}.brand-mark{display:block;width:40px;height:40px;flex-shrink:0;object-fit:contain;border-radius:6px}.account-logo .brand-mark{width:40px;height:40px}.mobile-logo .brand-mark{width:34px;height:34px}.mobile-logo{gap:5px}@media(max-width:400px){.mobile-bar .mobile-logo{font-size:18px}.mobile-logo .brand-mark{width:30px;height:30px}.mobile-bar .language-control select{max-width:87px}.mobile-bar #mobileViewLabel{font-size:11px}}
.brand-wordmark{display:inline-block!important;width:130px;height:25px;flex-shrink:0;background:none;font-size:0!important;line-height:0!important;color:transparent!important}.brand-wordmark>span{font-size:0!important;color:transparent!important}.theme-light .brand-wordmark{filter:brightness(0)}.nav-policy-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}.nav-policy-links a{font-size:11px!important;min-width:0;padding:5px!important;white-space:nowrap}.account-top .account-nav{display:flex;gap:8px;flex-wrap:wrap;margin-left:auto}

/* Fit the complete original wordmark inside the sidebar, including at zoom. */
.nav-brand{min-width:0;width:100%}.nav-brand .logo{display:flex;gap:7px;width:100%;max-width:100%;min-width:0;margin-right:0}.nav-brand .brand-mark{width:32px;height:32px;flex:0 0 32px}.nav-brand .brand-wordmark{width:0;min-width:0;max-width:130px;flex:1 1 0%;height:auto;aspect-ratio:880/154}.nav-brand .sublogo{font-size:9px;letter-spacing:1.3px;white-space:normal;overflow-wrap:normal;line-height:1.5;margin-top:7px}

/* A constrained grid gives the wordmark a real available width. */
.nav-brand .logo{display:grid;grid-template-columns:30px minmax(0,1fr);column-gap:6px;align-items:center;max-width:100%;width:100%;overflow:visible}.nav-brand .brand-mark{width:30px;height:30px;max-width:100%;object-fit:contain}.nav-brand .brand-wordmark{display:block!important;width:100%;height:auto;max-width:130px;min-width:0;aspect-ratio:880/154;object-fit:contain}.nav-brand .sublogo{font-size:8px;letter-spacing:1px;line-height:1.5;white-space:normal;margin-top:8px}

.weekend-countdown-float[hidden]{display:none!important}.weekend-countdown-float{position:fixed;right:24px;top:var(--countdown-top,84px);z-index:60;width:258px;max-width:calc(100vw - 28px);max-height:calc(100dvh - var(--countdown-top,84px) - 16px);overflow:auto;background:var(--panel);color:var(--text);border:1px solid var(--line);border-radius:12px;box-shadow:0 8px 30px #0003;font-family:Titillium,'Segoe UI','Microsoft YaHei',sans-serif}.weekend-countdown-float>summary{padding:12px 16px;cursor:pointer;list-style:none;position:relative;padding-right:32px}.weekend-countdown-float>summary::-webkit-details-marker{display:none}.weekend-countdown-float>summary:after{content:'⌄';position:absolute;right:13px;top:16px;color:var(--muted)}.weekend-countdown-float[open]>summary:after{content:'⌃'}.weekend-countdown-float>summary>small{display:block;font-size:10px;color:var(--red);margin-bottom:4px}.weekend-countdown-float>summary>strong{display:block;font-size:13px;line-height:1.4}.weekend-countdown-sessions{padding:0 16px 8px}.weekend-countdown-session{padding:11px 0;border-top:1px solid var(--line)}.countdown-session-name{display:flex;gap:5px;align-items:center;justify-content:space-between;margin-bottom:8px}.countdown-session-name b{font-size:11px}.countdown-session-name>small{font-size:9px;color:var(--muted)}.weekend-countdown-float .race-countdown{display:flex;justify-content:space-between;gap:8px;font-variant-numeric:tabular-nums}.weekend-countdown-float .race-countdown>span{display:flex;align-items:baseline;gap:3px}.weekend-countdown-float .race-countdown strong{font-size:21px;font-weight:700;line-height:1;color:var(--text)}.weekend-countdown-float .race-countdown small{font-size:10px;color:var(--muted)}.weekend-countdown-float .countdown-state{font-size:11px;line-height:1.6;color:var(--muted);margin:0}.weekend-countdown-float>summary:focus-visible{outline:2px solid var(--teal);outline-offset:-3px}.theme-light .weekend-countdown-float{box-shadow:0 8px 30px #24304618}@media(max-width:1023px){.weekend-countdown-float{right:14px;width:232px}.weekend-countdown-float>summary{padding:9px 28px 9px 12px}.weekend-countdown-float>summary>small{margin-bottom:2px}}

.countdown-support{display:flex;gap:6px;flex-wrap:wrap;padding:8px 0 5px}.countdown-support a{font-size:10px;color:var(--teal);text-decoration:none;border:1px solid var(--line);border-radius:5px;padding:5px 8px}.countdown-support small{font-size:10px;color:var(--muted)}
@media(min-width:1024px){body:has(#predictionCountdown[open]:not([hidden])) #challengesView,body:has(#calendarCountdown[open]:not([hidden])) #calendarView{padding-right:280px}}
.weekend-countdown-float>summary{padding-right:64px}.countdown-drag-handle{position:absolute;right:29px;top:9px;width:28px;height:28px;padding:0;border:0;background:transparent;color:var(--muted);font-size:23px;cursor:grab;touch-action:none;user-select:none}.countdown-drag-handle:focus-visible{outline:2px solid var(--red);outline-offset:1px}.is-dragging,.is-dragging .countdown-drag-handle{cursor:grabbing}.weekend-countdown-float.is-dragging{user-select:none}

/* Text actions are compact controls. Keep brand marks, media and primary CTAs. */
body a[href]:not(:where(.account-logo,.home-brand,.brand-wordmark,.home-button,.primary,.support-cta,.access-login,.home-skip,.nav-home,.race-card-open,.registration-link,:has(img,svg))){display:inline-flex;align-items:center;justify-content:center;gap:5px;max-width:100%;min-height:30px;padding:5px 10px;border:1px solid var(--line,#3a3d44);border-radius:7px;background:var(--panel,#191b1f);color:var(--text,#eceef3)!important;font-size:13px;font-weight:600;line-height:1.5;text-align:left;text-decoration:none!important;vertical-align:middle;overflow-wrap:anywhere;transition:border-color .16s,background-color .16s}
body a[href]:not(:where(.account-logo,.home-brand,.brand-wordmark,.home-button,.primary,.support-cta,.access-login,.home-skip,.nav-home,.race-card-open,.registration-link,:has(img,svg))):hover{border-color:var(--red,#ff4a36);background:color-mix(in srgb,var(--red,#ff4a36) 7%,var(--panel,#191b1f))}
body a[href]:focus-visible{outline:2px solid var(--red,#ff4a36);outline-offset:3px}.account-footer{gap:8px}.account-agree a{margin:2px 0}.agent-data-notice a{margin-top:6px}

/* Registration is a compact row of ordinary links on every page. */
.registration-links{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:4px 18px;width:100%;min-height:0;margin:0;padding:0;grid-column:1/-1;flex-basis:100%;text-align:center}
.registration-links .registration-link{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:0;max-width:100%;margin:0;padding:0;border:0;border-radius:0;background:none;box-shadow:none;color:var(--muted,#9ba0a8);font-size:12px;font-weight:400;line-height:1.4;text-decoration:none;white-space:nowrap;overflow-wrap:normal}
.registration-links .registration-link:hover{text-decoration:underline;color:var(--text,#eceef3);background:none}
.registration-links .public-security-icon{display:block;flex:0 0 auto;width:16px;height:17px;object-fit:contain}
.site-registration-footer{padding:4px 12px;border-top:1px solid var(--line,#32363d);text-align:center}
.workbench-legal-footer .registration-link{min-height:0;margin:0;padding:0;font-size:12px;line-height:1.4}

/* Main-site landing page. Keep the shared account and media controls native. */
.product-home.home-modern {
  --home-gutter: clamp(1rem, 3.6vw, 3rem);
  --home-width: 88rem;
  --home-space: clamp(1.5rem, 3.7vw, 3.75rem);
  --home-gap: clamp(.625rem, 1.5vw, 1.25rem);
  --home-corner: .875rem;
  --home-accent-ink: #20110e;
  background: var(--bg);
}
.theme-light .product-home.home-modern { --home-accent-ink: #fff; background: var(--bg); }
.home-modern .home-nav, .home-modern #home-main, .home-modern .home-footer {
  inline-size: 100%;
  max-inline-size: var(--home-width);
  margin-inline: auto;
  padding-inline: var(--home-gutter);
}
.home-modern .home-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .375rem 1.2rem;
  padding-block: .625rem;
}
.home-modern .home-brand {
  flex: 0 1 auto;
  gap: .4rem;
  min-inline-size: 0;
}
.home-modern .home-brand > img:not(.brand-wordmark) {
  inline-size: 2.125rem;
  block-size: 2.125rem;
}
.home-modern .home-brand .brand-wordmark {
  inline-size: clamp(5.25rem, 14vw, 7.375rem);
  block-size: auto;
  aspect-ratio: 130 / 25;
  object-fit: contain;
}
.home-modern .home-nav nav {
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  gap: .125rem 1.125rem;
  width: auto;
  margin: 0;
  padding: 0;
  border: 0;
  order: initial;
}
.home-modern .home-nav nav a, .home-modern .home-footer nav a {
  display: inline-flex;
  align-items: center;
  min-block-size: 2.75rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted) !important;
  font-size: .875rem;
}
.home-modern .home-nav nav a:hover, .home-modern .home-footer nav a:hover {
  background: transparent;
  color: var(--text) !important;
  text-decoration: underline !important;
}
.home-modern .home-nav .home-controls,
.home-modern .home-nav .home-auth { width: auto; flex-wrap: wrap; gap: .375rem; margin: 0; }
.home-modern .home-controls .language-control { gap: .25rem; }
.home-modern .home-controls select { max-inline-size: 8.5rem; min-block-size: 2.75rem; }
.home-modern .home-controls .theme-toggle { min-inline-size: 2.75rem; min-block-size: 2.75rem; }
.home-modern .home-nav .home-button, .home-modern .home-hero .home-button {
  min-block-size: 2.75rem;
  border-radius: .5rem;
}
.home-modern .home-skip { position: fixed; }
.home-modern #home-main:focus { outline: none; }

.home-modern .home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  align-items: center;
  gap: var(--home-gap);
  min-height: 0;
  margin: 0;
  padding: var(--home-space) 0;
}
.home-modern .home-hero::before { content: none; }
.home-modern .home-hero-copy { padding-inline-end: clamp(0rem, 1.85vw, 2rem); }
.home-modern .home-kicker { margin: 0; font-size: .75rem; letter-spacing: .13em; }
.home-modern .home-start-lights {
  display: inline;
  margin: 0 .625rem 0 0;
  font-size: .625rem;
  letter-spacing: .15em;
}
.home-modern .home-hero h1 {
  font-size: clamp(2rem, 1.3rem + 2.3vw, 4.65rem);
  line-height: 1.13;
  letter-spacing: -.03em;
  text-wrap: balance;
  overflow-wrap: anywhere;
  max-inline-size: 18ch;
  margin: .8rem 0 .75rem;
}
.home-modern .home-hero h1:lang(zh) { max-inline-size: 8.35em; text-wrap: wrap; }
.home-modern .home-lead {
  color: var(--muted);
  font-size: clamp(1rem, .94rem + .25vw, 1.25rem);
  line-height: 1.45;
  margin: 0 0 1.35rem;
}
.home-modern .home-actions { gap: .625rem; }
.home-modern .home-hero .home-button {
  flex: 0 1 auto;
  min-inline-size: 0;
  padding: .6rem .9rem;
  box-shadow: none;
  font-size: .925rem;
}
.home-modern .home-hero .home-button.primary { color: var(--home-accent-ink); }
.home-modern .home-hero .home-button:not(.primary) { background: var(--panel); }
.home-modern .home-hero .home-button:hover { text-decoration: underline; }
.home-modern .home-race-visual {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: end;
  aspect-ratio: 16 / 9;
  border: 1px solid #ffffff25;
  border-radius: var(--home-corner);
  min-block-size: 0;
  background: #18191d;
}
.home-modern .home-race-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(0deg, #0c0e13c7, transparent 43%);
  pointer-events: none;
}
.home-modern .home-race-visual :is(.home-hero-photo,.home-hero-video) {
  position: absolute;
  inset: 0;
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
  object-position: 58% center;
  border-radius: inherit;
  filter: none;
}
.home-modern .home-media-credit {
  margin: 0;
  max-inline-size: none;
  padding: .5rem;
  gap: .25rem .5rem;
}
.home-modern .home-media-credit button,
.home-modern .home-media-credit .home-photo-credit {
  display: inline-flex;
  align-items: center;
  min-block-size: 2.75rem;
  margin: 0 !important;
  padding: .3rem .5rem !important;
  font-size: .75rem !important;
  background: #11151ce8 !important;
  color: #f0f2f5 !important;
  border: 1px solid #ffffff40 !important;
  border-radius: .375rem;
}

.home-modern .home-section { padding-block: var(--home-space); }
.home-modern .home-section-head {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .25rem 1rem;
  margin-block-end: var(--home-gap);
}
.home-modern .home-section-head h2 {
  margin: 0;
  font-size: clamp(1.375rem, 1.16rem + .8vw, 1.875rem);
  line-height: 1.25;
}
.home-modern .home-section-head > a { display: inline-flex; align-items: center; min-block-size: 2.75rem; white-space: normal; }
.home-modern .home-tool-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--home-gap);
  margin: 0;
  padding: 0;
  list-style: none;
}
.home-modern .home-tool-list > li { display: grid; min-inline-size: 0; }
.home-modern .home-tool-list a {
  display: grid;
  position: relative;
  isolation: isolate;
  grid-template-columns: minmax(0, 1fr) auto;
  align-content: end;
  align-items: end;
  gap: .25rem .625rem;
  min-block-size: clamp(7.25rem, 12vw, 10rem);
  padding: clamp(.75rem, 1.3vw, 1.125rem);
  border: 1px solid #fff3;
  border-radius: var(--home-corner);
  background: #1a1f27;
  color: #fff;
}
.home-modern .home-tool-list a:after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  border-radius: inherit;
  background: linear-gradient(0deg, #0d1119 4%, #10151ecc 46%, #1115211c);
}
.home-modern .home-tool-list picture { display: contents; }
.home-modern .home-tool-list img {
  display: block;
  position: absolute;
  inset: 0;
  z-index: -2;
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
  border-radius: inherit;
}
.home-modern .home-tool-number { grid-column: 1 / -1; color: #ffb1a6; font-size: .6875rem; font-weight: 700; letter-spacing: .08em; }
.home-modern .home-tool-label { font-size: clamp(.95rem, .82rem + .53vw, 1.25rem); font-weight: 700; line-height: 1.25; overflow-wrap: anywhere; }
.home-modern .home-tool-arrow { color: #fff; line-height: 1.25; }
.home-modern .home-tool-list a:hover { border-color: #ffb1a6; }
.home-modern .home-tool-list a:hover .home-tool-label { text-decoration: underline; }

.home-modern #races { container: home-weekend / inline-size; }
.home-modern .home-race-grid {
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: var(--home-gap);
}
.home-modern .home-race-schedule {
  display: grid;
  grid-template-rows: 1fr auto;
  align-items: start;
  min-inline-size: 0;
}
.home-modern .home-race-grid .home-card {
  min-block-size: 13.5rem;
  padding: clamp(.85rem, 2vw, 1.5rem);
  border-radius: var(--home-corner);
}
.home-modern .home-race-grid #homeNextRace {
  block-size: 100%;
  border-inline-start: 1px solid var(--line);
}
.home-modern #homeNextRace .home-note { display: none; } /* The pinned server emits source boilerplate before hydration. */
.home-modern .home-race-grid .home-card h3 { font-size: clamp(1.125rem, .9rem + .75vw, 1.5rem); line-height: 1.3; margin-block: .65rem; }
.home-modern .home-race-grid .home-card dl {
  grid-template-columns: auto minmax(0, 1fr);
  gap: .5rem .75rem;
  margin-block-end: 0;
}
.home-modern .home-race-grid .home-card dd { margin: 0; text-align: end; overflow-wrap: anywhere; }
.home-modern .home-race-grid .home-card dt { white-space: nowrap; }
.home-modern .home-race-grid .home-signal {
  display: grid;
  align-content: center;
  justify-items: start;
}
.home-modern .home-signal .home-kicker { color: #ffb1a6 !important; }
.home-modern .home-signal .home-actions { margin-block-start: 1.125rem; }
.home-modern .home-signal .home-actions :is(button,a) { min-block-size: 2.75rem; padding: .5rem .7rem; font-size: .875rem; }
.home-modern #homeCountdownSlot > #homeCountdown {
  position: static;
  inline-size: 100%;
  max-inline-size: none;
  max-block-size: none !important;
  margin-block-start: .5rem;
  box-shadow: none;
}
.home-modern #homeCountdown > summary { min-block-size: 2.75rem; padding-inline-end: 2rem; }
.home-modern #homeCountdownSlot .countdown-drag-handle { display: none; }
.home-modern .home-updates { gap: var(--home-gap); grid-template-columns: repeat(3, minmax(0, 1fr)); }
.home-modern .home-update {
  min-inline-size: 0;
  border: 1px solid var(--line);
  border-radius: var(--home-corner);
  padding: clamp(.85rem, 1.6vw, 1.25rem);
  background: var(--panel);
}
.home-modern .home-update h3 { margin: 0 0 .5rem; color: var(--text); font-size: 1rem; line-height: 1.35; }
.home-modern .home-update p { margin: 0; font-size: .9rem; line-height: 1.55; overflow-wrap: anywhere; }
.home-modern .home-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .25rem 1.25rem;
  margin-block-start: 0;
  padding-block: .625rem;
}
.home-modern .home-footer nav { flex-wrap: wrap; gap: .125rem 1rem; }
.home-modern .site-registration-footer { padding-block: .375rem; }

@container home-weekend (inline-size < 42rem) {
  .home-modern .home-race-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 48rem) {
  .home-modern .home-nav { justify-content: flex-start; }
  .home-modern .home-nav .home-controls { flex: 1 1 100%; justify-content: space-between; }
  .home-modern .home-hero { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .home-modern .home-hero h1 { max-inline-size: 23ch; }
  .home-modern .home-hero-copy { padding: 0; }
  .home-modern .home-tool-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-modern .home-updates { grid-template-columns: minmax(0, 1fr); }
  @supports not (container-type: inline-size) {
    .home-modern .home-race-grid { grid-template-columns: minmax(0, 1fr); }
  }
}
@media (forced-colors: active) {
  .home-modern .home-tool-list a { border-color: CanvasText; }
  .home-modern .home-tool-list a:hover { border-color: LinkText; }
}

/* Legacy browsers still get the resolved theme class/data from the prepaint script. */
:root[data-theme="dark"] { color-scheme: dark; }
:root[data-theme="light"] { color-scheme: light; }

/* The more specific meta rules take precedence only on the main-site pages. */
:root:has(> head > meta[name="color-scheme"][data-pitwall-theme]) { color-scheme: light dark; }
:root:has(> head > meta[name="color-scheme"][data-pitwall-theme][content="dark"]) { color-scheme: dark; }
:root:has(> head > meta[name="color-scheme"][data-pitwall-theme][content="light"]) { color-scheme: light; }
