/* Single scroll-bound background, emblem is part of the top background layer. */
html:has(#home.active),body:has(#home.active){background:#b6c7d5!important}
body:has(#home.active) #home{background-image:url("assets/chrome-emblem-v2255.webp"),repeating-linear-gradient(135deg,#ffffff12 0px,#ffffff12 1px,#314b6010 2px,#ffffff00 4px),linear-gradient(130deg,#748fa5,#e9f4fb 18%,#91aabd 36%,#f2f8fc 54%,#8199ad 75%,#dceaf4)!important;background-size:100% auto,auto,100% 100%!important;background-position:center top,center,center!important;background-repeat:no-repeat,repeat,no-repeat!important;background-attachment:scroll!important;min-height:100%}
body:has(#home.active) .chrome-brand{background:none!important;box-shadow:none!important;border:0!important;aspect-ratio:850/228!important;margin-bottom:4px!important}
body:has(#home.active) .chrome-challenges button{background:linear-gradient(145deg,#fff 0%,#879baa 9%,#fff 15%,var(--metal) 23%,#20374c 31%,#f5ffff 43%,#6a8193 51%,#fff 61%,var(--metal) 75%,#fff 86%,#3d5264 94%,#fff)!important;filter:drop-shadow(0 3px 3px #132b40)!important}
body:has(#home.active) .chrome-challenges button:before{inset:6px!important;background:linear-gradient(155deg,#ffffffa0 0%,var(--dark) 12%,#061321 46%,var(--dark) 80%,var(--metal) 100%)!important;border:2px solid var(--light)!important;box-shadow:inset 0 0 8px var(--metal)!important}
body:has(#home.active) .chrome-panel,body:has(#home.active) .chrome-feature-row,body:has(#home.active) #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-width:4px!important;box-shadow:0 1px 0 #fff,0 4px 0 #636363,0 7px 9px #2a2a2a80,0 0 7px #a3a3a3,inset 0 0 0 1px #fff!important}
body:has(#home.active) .chrome-feature-row{background:linear-gradient(145deg,#fff 0%,#c1d3e1 26%,#f8fdff 43%,#9eb7cb 69%,#f9fdff 90%) padding-box,var(--brv-silver-frame) border-box!important}
body:has(#home.active) .chrome-feature-tag,body:has(#home.active) .chrome-feature-row button{border:2px ridge #f1f1f1!important;box-shadow:inset 0 0 7px #979797,0 2px 3px #33333380!important}
body:has(#home.active) .chrome-heading,body:has(#home.active) .chrome-race-heading h1,body:has(#home.active) .chrome-feature h2{clip-path:none!important;border:3px solid transparent!important;border-radius:8px!important;background:linear-gradient(155deg,#607b90,#071827 30%,#0a2438 75%,#007cb7) padding-box,var(--brv-silver-frame) border-box!important;box-shadow:0 3px 4px #383838,0 0 7px #979797!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{border-color:transparent!important}
