/* High-resolution illustrated panel and live PNG numeral atlas. Text/SVG stays
   available until each independent image has loaded and decoded successfully. */
#race-screen.race-hud-light .collection-panel[data-panel-art-ready="true"]{height:calc(var(--hud-u)*200.823);background-image:url('../public/assets/hud-v7/multiplier-panel.png');background-size:100% 100%}
#race-screen.race-hud-light .collection-panel[data-panel-art-ready="true"]>small,
#race-screen.race-hud-light .collection-panel[data-panel-art-ready="true"] .collection-qualifier{opacity:0;pointer-events:none}
#race-screen.race-hud-light .collection-panel:has(#collection[data-art-ready="true"]) strong{--counter-scale:1;--glyph-u:calc(var(--hud-u)*var(--counter-scale));left:calc(var(--hud-u)*220);right:calc(var(--hud-u)*18);top:calc(var(--hud-u)*48);height:calc(var(--glyph-u)*100);display:flex;align-items:flex-start;justify-content:center;gap:calc(var(--glyph-u)*2);transform:none;font-size:0;line-height:0;letter-spacing:0}
#race-screen.race-hud-light .collection-panel #collection[data-art-ready="true"]{display:block;flex:none;height:calc(var(--glyph-u)*100);padding:0;margin:0;scale:1;background:none;-webkit-text-fill-color:initial;-webkit-text-stroke:0;text-shadow:none;filter:none}
#race-screen.race-hud-light .collection-digit-art{display:flex;align-items:flex-start;height:100%;gap:0}
#race-screen.race-hud-light .collection-digit-art[hidden],
#race-screen.race-hud-light .collection-fallback[hidden]{display:none}
#race-screen.race-hud-light .collection-digit{display:block;flex:none;width:calc(var(--glyph-u)*var(--glyph-width));height:calc(var(--glyph-u)*100);background-image:url('../public/assets/hud-v7/multiplier-digits.png');background-repeat:no-repeat;background-size:calc(var(--glyph-u)*var(--atlas-width)) calc(var(--glyph-u)*var(--atlas-height));background-position:calc(var(--glyph-u)*var(--glyph-left)) calc(var(--glyph-u)*var(--glyph-top))}
#race-screen.race-hud-light .collection-digit+.collection-digit{margin-left:calc(var(--glyph-u)*-18)}
#race-screen.race-hud-light .collection-digit[data-digit=","]{margin-left:calc(var(--glyph-u)*-7);clip-path:inset(60% 0 0)}
#race-screen.race-hud-light .collection-digit[data-digit=","]+.collection-digit{margin-left:calc(var(--glyph-u)*-4)}
#race-screen.race-hud-light .collection-panel:has(#collection[data-art-ready="true"]) em{position:relative;top:calc(var(--glyph-u)*40);display:block;flex:none;width:calc(var(--glyph-u)*var(--glyph-width));height:calc(var(--glyph-u)*50);padding:0;margin:0;overflow:hidden;font-size:0;line-height:0;letter-spacing:0;text-indent:-9999px;background-image:url('../public/assets/hud-v7/multiplier-digits.png');background-repeat:no-repeat;background-size:calc(var(--glyph-u)*var(--atlas-width)) calc(var(--glyph-u)*var(--atlas-height));background-position:calc(var(--glyph-u)*var(--glyph-left)) calc(var(--glyph-u)*var(--glyph-top));background-clip:border-box;-webkit-background-clip:border-box;-webkit-text-fill-color:transparent;-webkit-text-stroke:0;filter:none;text-shadow:none}
#race-screen.race-hud-light .collection-panel:has(#collection[data-art-ready="true"][data-digits="3"]) strong{--counter-scale:.80;top:calc(var(--hud-u)*66)}
#race-screen.race-hud-light .collection-panel:has(#collection[data-art-ready="true"][data-digits="4"]) strong{--counter-scale:.60;top:calc(var(--hud-u)*84)}
#race-screen.race-hud-light .collection-panel:has(#collection[data-art-ready="true"][data-digits="5"]) strong{--counter-scale:.46;top:calc(var(--hud-u)*96.6)}
#race-screen.race-hud-light .collection-panel:has(#collection[data-art-ready="true"][data-digits="6"]) strong{--counter-scale:.40;top:calc(var(--hud-u)*102)}

/* Atlas metrics preserve each illustrated glyph and normalize its cap height. */
#race-screen.race-hud-light .collection-digit[data-digit="0"]{--glyph-width:72.28777;--atlas-width:656.28777;--atlas-height:218.76259;--glyph-left:-33.65468;--glyph-top:-7.59712;}
#race-screen.race-hud-light .collection-digit[data-digit="1"]{--glyph-width:51.26882;--atlas-width:653.93548;--atlas-height:217.97849;--glyph-left:-151.84946;--glyph-top:-7.54839;}
#race-screen.race-hud-light .collection-digit[data-digit="2"]{--glyph-width:77.16129;--atlas-width:653.93548;--atlas-height:217.97849;--glyph-left:-235.24731;--glyph-top:-7.54839;}
#race-screen.race-hud-light .collection-digit[data-digit="3"]{--glyph-width:73.19424;--atlas-width:656.28777;--atlas-height:218.76259;--glyph-left:-349.10791;--glyph-top:-7.59712;}
#race-screen.race-hud-light .collection-digit[data-digit="4"]{--glyph-width:75.65591;--atlas-width:653.93548;--atlas-height:217.97849;--glyph-left:-449.91398;--glyph-top:-7.54839;}
#race-screen.race-hud-light .collection-digit[data-digit="5"]{--glyph-width:74.40288;--atlas-width:656.28777;--atlas-height:218.76259;--glyph-left:-561.52518;--glyph-top:-7.59712;}
#race-screen.race-hud-light .collection-digit[data-digit="6"]{--glyph-width:77.3829;--atlas-width:678.24535;--atlas-height:226.08178;--glyph-left:-27.04089;--glyph-top:-116.09665;}
#race-screen.race-hud-light .collection-digit[data-digit="7"]{--glyph-width:72.69888;--atlas-width:678.24535;--atlas-height:226.08178;--glyph-left:-139.14498;--glyph-top:-116.40892;}
#race-screen.race-hud-light .collection-digit[data-digit="8"]{--glyph-width:76.4461;--atlas-width:678.24535;--atlas-height:226.08178;--glyph-left:-244.06691;--glyph-top:-116.09665;}
#race-screen.race-hud-light .collection-digit[data-digit="9"]{--glyph-width:77.07063;--atlas-width:678.24535;--atlas-height:226.08178;--glyph-left:-355.2342;--glyph-top:-116.09665;}
#race-screen.race-hud-light .collection-panel:has(#collection[data-art-ready="true"]) em{--glyph-width:47.30435;--atlas-width:566.6087;--atlas-height:188.86957;--glyph-left:-399.21739;--glyph-top:-130.0;}
#race-screen.race-hud-light .collection-digit[data-digit=","]{--glyph-width:22.9011;--atlas-width:477.36264;--atlas-height:159.12088;--glyph-left:-421.73626;--glyph-top:-52.85714;}
