.bm-chud{position:fixed;z-index:60;top:max(6px,env(safe-area-inset-top,0px));left:50%;transform:translate(-50%);display:flex;flex-direction:column;align-items:center;pointer-events:none;user-select:none;-webkit-user-select:none;transition:opacity .15s}.bm-chud[hidden]{display:none}.bm-chud.is-hud-hidden{opacity:0}.bm-chud.is-hud-hidden .bm-chud-speed{pointer-events:none}.bm-chud-speed{display:flex;align-items:baseline;gap:6px;margin:0;padding:0 12px;border:0;background:none;color:#fff;cursor:pointer;pointer-events:auto;touch-action:manipulation;-webkit-tap-highlight-color:transparent;text-shadow:0 2px 12px rgba(0,0,0,.6),0 0 2px rgba(0,0,0,.5)}.bm-chud-speed:focus-visible{outline:2px dashed #fff;outline-offset:2px}.bm-chud-number{min-width:2.1em;text-align:right;font:italic 400 46px/1 var(--font-display, "Staatliches", Impact, sans-serif);font-variant-numeric:tabular-nums;letter-spacing:.02em;transition:color .15s}.bm-chud.is-redline .bm-chud-number{color:#ff3b47}.bm-chud-unit{font:600 14px Sora,sans-serif;letter-spacing:.14em;color:#e1e3e8}.bm-chud-nitro{position:relative;width:210px;height:32px;margin-top:-6px}.bm-chud-nitro svg{width:100%;height:100%;display:block;overflow:visible}.bm-chud-track{fill:none;stroke:#0e10148c;stroke-width:6;stroke-linecap:round}.bm-chud-fill{fill:none;stroke-width:6;stroke-linecap:round;stroke-dasharray:100 100;stroke-dashoffset:50;opacity:.72;transition:stroke-dashoffset .12s linear,opacity .2s ease}.bm-chud-label{position:absolute;left:50%;top:86%;transform:translate(-50%);font:700 10px Sora,sans-serif;letter-spacing:.2em;color:#c4c7cf;text-shadow:0 1px 3px rgba(0,0,0,.8)}.bm-chud.is-boosting .bm-chud-fill{opacity:1;animation:bm-nitro-pulse .4s ease-in-out infinite alternate}.bm-chud.is-boosting .bm-chud-label{color:#bfe6ff}.bm-chud.is-empty .bm-chud-fill,.bm-chud.is-locked .bm-chud-fill{opacity:.28}.bm-chud.flash-empty .bm-chud-track{animation:bm-nitro-empty .6s ease-out 1}.bm-chud.flash-ready .bm-chud-fill{animation:bm-nitro-ready .5s ease-out 1}html.bm-hud-compact .bm-speedo{display:none}html.bm-hud-compact .bm-hud-pause{right:auto;left:max(14px,env(safe-area-inset-left,0px))}html.bm-hud-compact .bm-hud-camera{right:max(14px,env(safe-area-inset-right,0px));top:calc(max(14px,env(safe-area-inset-top,0px)) + 2px)}html.bm-hud-compact .bm-race-hud{left:calc(max(14px,env(safe-area-inset-left,0px)) + 58px);right:calc(max(14px,env(safe-area-inset-right,0px)) + 54px);transform:none;min-width:0;padding:0;gap:0;display:flex;justify-content:space-between;align-items:flex-start;background:none;border:0;border-radius:0;backdrop-filter:none;-webkit-backdrop-filter:none}html.bm-hud-compact .bm-race-hud[hidden]{display:none}html.bm-hud-compact .bm-race-pos,html.bm-hud-compact .bm-race-mid{background:#111317b8;border:1px solid rgba(255,255,255,.08);border-bottom:2px solid #ff2a4b;border-radius:10px;backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}html.bm-hud-compact .bm-race-pos{padding:5px 10px 6px}html.bm-hud-compact .bm-race-pos-n{font-size:30px}html.bm-hud-compact .bm-race-pos-of{font-size:15px}html.bm-hud-compact .bm-race-mid{flex:0 0 auto;width:clamp(110px,18vw,190px);padding:7px 10px 9px;gap:6px}html.bm-hud-compact .bm-race-clock{font-size:13px;text-align:right}html.bm-hud-compact .bm-race-gap{display:none}html.bm-hud-compact .bm-race-count{top:54%}html.bm-hud-compact .bm-race-toast,html.bm-hud-compact .bm-mirror-toast{top:calc(max(6px,env(safe-area-inset-top,0px)) + 92px)}html.is-touch.bm-hud-compact #main-stats{inset:0 0 auto;transform:none;width:100vw;pointer-events:none}html.is-touch.bm-hud-compact #ui-dist{font-size:17px;position:fixed;top:calc(max(14px,env(safe-area-inset-top,0px)) + 8px);right:calc(max(14px,env(safe-area-inset-right,0px)) + 58px);text-align:right;pointer-events:auto}html.is-touch.bm-hud-compact #ui-dist-reset{left:auto;right:100%;padding-left:0;padding-right:10px}html.bm-hud-compact.bm-cockpit-dash .bm-chud{display:none}html.bm-hud-compact.bm-cockpit-hud .bm-chud{top:auto;bottom:calc(max(10px,env(safe-area-inset-bottom,0px)) + 44px)}html.is-touch.bm-cockpit-view #autodrive{left:50%;right:auto;bottom:max(4px,env(safe-area-inset-bottom,0px))!important;transform:translate(-50%)}@media(prefers-reduced-motion:reduce){.bm-chud.is-boosting .bm-chud-fill,.bm-chud.flash-empty .bm-chud-track,.bm-chud.flash-ready .bm-chud-fill{animation:none}}html.bm-hud-compact .bm-fps-counter{top:calc(max(6px,env(safe-area-inset-top,0px)) + 78px)}html.is-touch.bm-hud-compact body:has(.bm-race) #ui-dist{display:none}
