/* One viewport-sized artwork, independent of the scrolling main element. */
html:has(#home.active),body:has(#home.active){background:#a9c2d6!important}
body:has(#home.active)::before{content:"";position:fixed;inset:0;z-index:0;pointer-events:none;background:url("assets/chrome-fixed-v2256.webp") center center/100% 100% no-repeat!important}
body:has(#home.active) main{z-index:1!important;background:transparent!important;overscroll-behavior:contain}
body:has(#home.active) #home{background:none!important;background-image:none!important}
body:has(#home.active) .chrome-brand{background:none!important;aspect-ratio:auto!important;height:max(0px,calc(17dvh - env(safe-area-inset-top,0px)))!important;padding:0!important;margin:0!important;visibility:hidden!important}
body:has(#home.active) nav,body:has(#detail.active) nav,body:has(#prediction.active) nav,body:has(#myracers.active) nav,body:has(#searchracers.active) nav,body:has(#legacy.active) nav{background:linear-gradient(180deg,#d9f4ff99,#102c46dd 12%,#091e31bb 80%,#b9d8ed66)!important;z-index:20!important}
body:has(#home.active) .chrome-panel,body:has(#home.active) .chrome-feature-row,body:has(#home.active) #home #venues button.venue,body:has(#home.active) nav button,body:has(#detail.active) nav button,body:has(#prediction.active) nav button,body:has(#myracers.active) nav button,body:has(#searchracers.active) nav button,body:has(#legacy.active) nav button{border:4px solid transparent!important;background:linear-gradient(145deg,#faffff,#b3c8d9 24%,#fff 42%,#b0c9dd 70%,#f8fdff) padding-box,var(--brv-silver-frame) border-box!important;box-shadow:0 3px 6px #262626aa,0 0 6px #9b9b9b,inset 0 0 0 1px #fff!important}
body:has(#home.active) .chrome-panel,body:has(#home.active) nav button,body:has(#detail.active) nav button,body:has(#prediction.active) nav button,body:has(#myracers.active) nav button,body:has(#searchracers.active) nav button,body:has(#legacy.active) nav button{background:linear-gradient(145deg,#47677e,#071b2c 36%,#0b2339 72%,#126a9d) padding-box,var(--brv-silver-frame) border-box!important}
body:has(#home.active) nav button.on,body:has(#detail.active) nav button.on,body:has(#prediction.active) nav button.on,body:has(#myracers.active) nav button.on,body:has(#searchracers.active) nav button.on,body:has(#legacy.active) nav button.on{background:linear-gradient(145deg,#00bfff,#004f9c 48%,#052c58) padding-box,var(--brv-silver-frame) border-box!important}
body:has(#home.active) #home #venues button.venue.off{opacity:.78!important;background:linear-gradient(145deg,#dbe5ed,#8da5b8) padding-box,var(--brv-silver-frame) border-box!important}
body:has(#home.active) #home #venues button.venue.grade-gold{border-color:#ffd34c!important}
