/* Part 119: the OPEN ride screen (settings.hudLook, the default). Score and speed are big italic numbers straight on
   the mountain, like the air-time readout, with a soft shadow and a faint shade in the corner for bright snow.
   TILES (data-hud-look=tiles) keeps the small dark boxes of legible50.css untouched. */
body.playing[data-hud-look=open]:is([data-sport=ski],[data-sport=snowboard]) #hud :is(.velocity-read,.score-panel){background:transparent;padding:0;gap:7px;text-shadow:0 1px 2px #060c1cb3,0 4px 18px #060c1c80}
body.playing[data-hud-look=open]:is([data-sport=ski],[data-sport=snowboard]) #hud :is(#speed,#score){font:900 italic 44px/.92 "Barlow Condensed",var(--display),system-ui,sans-serif;letter-spacing:-.01em}
body.playing[data-hud-look=open]:is([data-sport=ski],[data-sport=snowboard]) #hud .score-panel{flex-direction:column;align-items:flex-end;gap:0}
body.playing[data-hud-look=open]:is([data-sport=ski],[data-sport=snowboard]) #hud .score-label{order:-1;font:800 italic 12px/1 "Barlow Condensed",var(--body),sans-serif;letter-spacing:.14em;color:#fff}
body.playing[data-hud-look=open]:is([data-sport=ski],[data-sport=snowboard]) #hud .velocity-read span{font:800 italic 15px/1 "Barlow Condensed",var(--body),sans-serif;letter-spacing:.06em;color:#fff}
body.playing[data-hud-look=open][data-speed-size=compact]:is([data-sport=ski],[data-sport=snowboard]) #hud #speed{font-size:40px}
body.playing[data-hud-look=open][data-speed-size=large]:is([data-sport=ski],[data-sport=snowboard]) #hud #speed{font-size:64px}
body.playing[data-hud-look=open][data-speed-size=huge]:is([data-sport=ski],[data-sport=snowboard]) #hud #speed{font-size:92px}
body.playing[data-hud-look=open][data-speed-size=huge]:is([data-sport=ski],[data-sport=snowboard]) #hud .velocity-read span{font-size:20px}
body.playing[data-hud-look=open]:is([data-sport=ski],[data-sport=snowboard]) #hud .ride-data{gap:14px;margin-top:4px}
body.playing[data-hud-look=open]:is([data-sport=ski],[data-sport=snowboard]) #hud .ride-data span{background:transparent;padding:0;font-style:italic;font-weight:800;text-shadow:0 1px 2px #060c1cb3,0 3px 12px #060c1c80}
body.playing[data-hud-look=open]:is([data-sport=ski],[data-sport=snowboard]) #hud .ride-data span small,body.playing[data-hud-look=open]:is([data-sport=ski],[data-sport=snowboard]) #hud .ride-data span :first-child{color:#e8f0ff}
body.playing[data-hud-look=open]:is([data-sport=ski],[data-sport=snowboard]) #hud #speedBar{max-width:220px}
/* A faint shade in the two corners the numbers sit in, so white figures hold on white snow. */
body.playing[data-hud-look=open]:is([data-sport=ski],[data-sport=snowboard]) #hud .ride-meter::before{content:"";position:absolute;z-index:-1;left:-60px;bottom:-60px;width:420px;height:260px;pointer-events:none;background:radial-gradient(closest-side,#0a10264d,#0a102600)}
body.playing[data-hud-look=open]:is([data-sport=ski],[data-sport=snowboard]) #hud .score-panel{position:relative}
body.playing[data-hud-look=open]:is([data-sport=ski],[data-sport=snowboard]) #hud .score-panel::before{content:"";position:absolute;z-index:-1;right:-50px;top:-40px;width:300px;height:170px;pointer-events:none;background:radial-gradient(closest-side,#0a102640,#0a102600)}
/* A phone in a ride keeps the speed in the top corner with the tips under it: smaller numbers, no corner shade. */
body.playing.ride-touch-active[data-hud-look=open]:is([data-sport=ski],[data-sport=snowboard]) #hud #speed{font-size:36px}
body.playing.ride-touch-active[data-hud-look=open][data-speed-size=huge]:is([data-sport=ski],[data-sport=snowboard]) #hud #speed{font-size:48px}
body.playing.ride-touch-active[data-hud-look=open]:is([data-sport=ski],[data-sport=snowboard]) #hud .velocity-read span{font-size:12px}
body.playing.ride-touch-active[data-hud-look=open]:is([data-sport=ski],[data-sport=snowboard]) #hud #score{font-size:32px}
body.playing.ride-touch-active[data-hud-look=open]:is([data-sport=ski],[data-sport=snowboard]) #hud :is(.ride-meter,.score-panel)::before{display:none}
/* A landscape phone has no room for the ride-data row between the speed and the tips: the tips sat on top of it. */
@media (max-height:500px){body.playing.ride-touch-active:is([data-sport=ski],[data-sport=snowboard]) #hud .ride-data{display:none}body.playing.ride-touch-active:is([data-sport=ski],[data-sport=snowboard]) .status{top:calc(max(9px,env(safe-area-inset-top)) + 54px);bottom:auto}}
/* On a phone the map name sat under the speed tile; with no tile it would show through the numbers. */
body.playing.ride-touch-active[data-hud-look=open]:is([data-sport=ski],[data-sport=snowboard]) #hud .session-bar{visibility:hidden}
