/* Summit Assault entry screen. Scoped to setup; racing HUD is unchanged. */
.hill-game:has(#hillSetup:not(.hidden))::before{content:'';position:fixed;inset:0;pointer-events:none;background:linear-gradient(110deg,#050c13ed,#06131ddb 55%,#0b1c2bbc);z-index:1}
.hill-game #hillSetup.hm-menu{--hm-gold:#ebc284;--hm-ink:#09151f;--hm-line:#c7d5df25;position:absolute;inset:94px 28px 24px;width:auto;max-height:none;display:grid;grid-template-columns:minmax(0,1.24fr) minmax(330px,.85fr);grid-template-rows:minmax(0,1fr) auto;gap:18px;padding:0;overflow:visible;border:0;border-radius:0;background:none;backdrop-filter:none;box-shadow:none;z-index:2;color:#edece7}
#hillSetup .hm-showcase,#hillSetup .hm-config{min-width:0;min-height:0;border:1px solid var(--hm-line);border-radius:12px;background:linear-gradient(135deg,#1d2c36eb,#0c1a24f2);overflow:auto;scrollbar-width:thin;scrollbar-color:#bba37b44 transparent}
#hillSetup .hm-showcase{padding:24px 28px;display:flex;flex-direction:column;gap:13px;position:relative}
#hillSetup .hm-event-heading{position:relative;border-bottom:1px solid var(--hm-line);padding:0 0 17px}
#hillSetup .hm-overline{font:700 9px monospace;letter-spacing:.14em;color:var(--hm-gold);display:flex;align-items:center;gap:8px}
#hillSetup .hm-overline>span:last-child{margin-left:auto;color:#8ba5b5;font-size:7px;letter-spacing:.08em}
#hillSetup .hm-diamond{font-size:13px}
#hillSetup h1{font:900 clamp(46px,5.1vw,73px)/.82 Impact,'Arial Narrow',Arial,sans-serif;letter-spacing:-.025em;margin:20px 0 14px;position:relative;z-index:1}
#hillSetup h1 em{font:inherit;font-style:normal;color:var(--hm-gold)}
#hillSetup .hm-event-heading>p{font:11px/1.6 Arial;color:#a5bbc8;margin:0}
#hillSetup .hm-event-number{position:absolute;right:0;bottom:12px;font:900 clamp(78px,11vw,145px)/1 Impact,Arial;color:transparent;-webkit-text-stroke:1px #bbd5e321;letter-spacing:-.04em;pointer-events:none}
#hillSetup .hm-machine-head{display:flex;align-items:start;gap:15px;justify-content:space-between}
#hillSetup .hm-machine-head small{font:7px monospace;letter-spacing:.11em;color:#9eb5c1}
#hillSetup .hm-machine-head h2{font:800 clamp(17px,1.7vw,25px)/1.17 Arial;letter-spacing:-.03em;margin:6px 0 0;max-width:420px}
#hillSetup .hm-engine-tag{flex-shrink:0;border:1px solid #8db7c546;border-radius:4px;padding:7px 8px;color:#acd4df;font:8px/1.3 monospace;letter-spacing:.03em}
.hill-game #hillSetup .hm-preview{flex:1;min-height:210px;height:auto;background:radial-gradient(ellipse at 45% 75%,#3b4a4d 0,#142631 47%,#091621 100%);border:1px solid #b5c7d132;border-radius:9px;overflow:hidden;position:relative;touch-action:pan-y}
#hillSetup .hm-preview-top{position:absolute;z-index:1;left:14px;right:14px;top:12px;display:flex;justify-content:space-between;gap:10px;pointer-events:none;color:#a3c0ce;font:7px monospace;letter-spacing:.08em}
#hillSetup .hm-preview-top i{display:inline-block;width:5px;height:5px;background:#87cba9;border-radius:50%;margin-right:5px;box-shadow:0 0 9px #7fdba788}
#hillSetup .hm-preview-index{position:absolute;right:12px;bottom:11px;font:7px monospace;color:#6b8d9e;letter-spacing:.12em;pointer-events:none}
#hillSetup .hm-preview-hint{font:7px monospace;color:#abc7d3;left:12px;bottom:11px;pointer-events:none}
#hillSetup .hm-machine-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border:1px solid var(--hm-line);border-radius:6px;background:#07141b66}
#hillSetup .hm-machine-stats>div{padding:10px 12px;min-width:0;border-right:1px solid var(--hm-line)}
#hillSetup .hm-machine-stats>div:last-child{border:0}
#hillSetup .hm-machine-stats small{display:block;font:7px monospace;letter-spacing:.07em;color:#8fa9b8;margin-bottom:4px}
#hillSetup .hm-machine-stats strong{font:800 25px/1 monospace;letter-spacing:-.07em;color:#e6d1ae}
#hillSetup .hm-machine-stats span{font:7px monospace;color:#b9c9d0;margin-left:7px}
#hillSetup label{display:grid;gap:7px;font:8px monospace;letter-spacing:.09em;color:#9eb5c4;min-width:0}
.hill-game #hillSetup select{min-height:48px;background:#0b1d29;border:1px solid #aac4d340;border-radius:6px;padding:11px 12px;color:#e1e9ed;font:700 11px Arial;letter-spacing:0;width:100%}
#hillSetup .hm-sheet-note{display:flex;justify-content:space-between;gap:10px;font:7px monospace;letter-spacing:.04em;color:#95b5b6}
#hillSetup .hm-config{padding:25px;display:flex;flex-direction:column;gap:18px}
#hillSetup .hm-config-heading{position:relative;display:block;background:none;padding:0}
#hillSetup .hm-config-heading>small{font:8px monospace;letter-spacing:.16em;color:var(--hm-gold)}
#hillSetup .hm-config-heading h2{font:900 35px/.95 Impact,'Arial Narrow',Arial;letter-spacing:-.025em;margin:12px 0 0}
#hillSetup .hm-config-heading h2 em{font:inherit;color:var(--hm-gold);font-style:normal}
#hillSetup .hm-number{position:absolute;right:0;top:15px;font:48px Arial;color:#e4bf8044}
#hillSetup .hm-route-panel{border:1px solid #c9af7a44;border-radius:8px;background:linear-gradient(135deg,#3e392722,#0c1b2588);padding:17px}
#hillSetup .hm-route-panel>p{font:10px/1.7 Arial;color:#a9bfcb;margin:11px 0 15px;min-height:34px}
#hillSetup .hm-route-panel select{border-color:#d4b57466;color:#f3d5a5;font-size:12px;background:#151f24}
#hillSetup .hm-profile-head{display:flex;justify-content:space-between;gap:8px;font:6px monospace;color:#8fa6b1;letter-spacing:.04em}
#hillSetup #hmProfile{width:100%;height:auto;max-height:116px;display:block;margin:3px 0 9px;overflow:visible}
#hmProfile .hm-profile-grid{fill:none;stroke:#95b2c41c;stroke-width:1;stroke-dasharray:3 5}
#hmProfile .hm-profile-line{fill:none;stroke:#ebc284;stroke-width:2.5;stroke-linecap:round}
#hmProfile circle{fill:#ffe1b0;stroke:#17313f;stroke-width:2}
#hmProfile text{fill:#8ba7b9;font:7px monospace;letter-spacing:.03em}
#hillSetup .hm-face-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;border-top:1px solid var(--hm-line);padding-top:13px}
#hillSetup .hm-face-stats small{display:block;font:6px monospace;color:#8fa9b5;letter-spacing:.02em;margin-bottom:6px}
#hillSetup .hm-face-stats b{font:800 20px monospace;color:#e9d5af}
#hillSetup .hm-grid-settings{display:grid;grid-template-columns:.85fr 1.15fr;gap:10px}
#hillSetup .hm-prep-card{border-left:2px solid #d39869;background:#2c231927;padding:11px 14px}
#hillSetup[data-prepared=true] .hm-prep-card{border-color:#8bc7ad;background:#1c372b30}
#hillSetup .hm-prep-card>div{display:flex;gap:7px;align-items:center}
#hillSetup .hm-prep-card small{font:7px monospace;color:#9eb4bd;letter-spacing:.06em}
#hillSetup #hmPrepDot{width:5px;height:5px;border-radius:50%;background:#d39869}
#hillSetup[data-prepared=true] #hmPrepDot{background:#8bc7ad}
#hillSetup .hm-prep-card>strong{font:700 10px Arial;letter-spacing:.02em;display:block;margin:9px 0 4px;color:#e8c6a5}
#hillSetup[data-prepared=true] .hm-prep-card>strong{color:#afd8c4}
.hill-game #hillSetup .hill-build-advice{font:10px/1.65 Arial;margin:0;color:#a0bac8}
#hillSetup .hm-rider-notes{border-top:1px solid var(--hm-line);padding-top:4px;color:#a8bfcc}
#hillSetup .hm-rider-notes summary{min-height:44px;display:flex;align-items:center;justify-content:space-between;cursor:pointer;font:7px monospace;letter-spacing:.06em;color:#c2d4dd;list-style:none;gap:10px}
#hillSetup .hm-rider-notes summary::-webkit-details-marker{display:none}
#hillSetup .hm-rider-notes summary span{font-size:17px;color:var(--hm-gold)}
#hillSetup .hm-rider-notes p{font:10px/1.7 Arial;margin:8px 0}
#hillSetup .hm-rider-notes>div{display:grid;grid-template-columns:1fr 1fr;gap:9px;font:7px monospace}
#hillSetup kbd{display:inline-grid;place-items:center;min-width:19px;min-height:21px;padding:3px;border:1px solid #8fabbd44;border-radius:3px;font:8px monospace;color:#e3c899}
#hillSetup .hm-source-readout{display:none}
#hillSetup .hm-launch-dock{grid-column:1/-1;display:flex;align-items:center;gap:16px;min-width:0;padding:15px 20px;border:1px solid #c7af7d44;border-radius:10px;background:linear-gradient(110deg,#192d37f5,#0c1b26f5);box-shadow:0 12px 30px #020b1555}
#hillSetup .hm-launch-copy{margin-right:auto;min-width:0}
#hillSetup .hm-launch-copy small{font:7px monospace;letter-spacing:.1em;color:var(--hm-gold)}
#hillSetup .hm-launch-copy strong{display:block;font:800 17px Arial;margin-top:6px;letter-spacing:-.025em}
#hillSetup .hm-launch-copy p{font:8px/1.5 Arial;color:#8faab9;margin:6px 0 0}
#hillSetup .hm-dock-secondary{display:grid;grid-template-columns:1fr 1.45fr;gap:8px}
.hill-game #hillSetup .hm-dock-secondary button{min-height:60px;padding:9px 13px;font-size:9px;text-align:left;background:#142733;border-color:#a4bece36;border-radius:6px;line-height:1.5;white-space:nowrap}
#hillSetup .hm-dock-secondary button>span{font-size:13px;color:var(--hm-gold);margin-right:5px}
#hillSetup #hillDemo small{display:block;font:6px monospace;color:#8faab8;margin-top:4px;letter-spacing:.035em}
.hill-game #hillSetup #hillBegin.hm-start-button{width:230px;min-width:210px;min-height:65px;display:flex;align-items:center;justify-content:space-between;gap:25px;font:900 17px/.95 Impact,'Arial Narrow',Arial;letter-spacing:.015em;text-align:left;padding:14px 18px;border-radius:6px;box-shadow:inset 0 1px 0 #fff2ce,0 5px 25px #d4aa5c26}
#hillSetup .hm-start-button b{font:32px Arial}
#hillSetup .hm-mobile-tabs{display:none}
@media(min-width:1100px) and (max-height:820px){#hillSetup .hm-showcase{gap:10px;padding:20px 24px}#hillSetup h1{font-size:56px;margin:15px 0 10px}#hillSetup .hm-event-heading{padding-bottom:12px}#hillSetup .hm-event-heading>p{display:none}.hill-game #hillSetup .hm-preview{min-height:180px}#hillSetup .hm-config{gap:13px;padding:20px}#hillSetup .hm-config-heading h2{font-size:30px}#hillSetup .hm-route-panel{padding:13px}#hillSetup #hmProfile{max-height:88px}#hillSetup .hm-rider-notes{margin-top:-5px}}
@media(max-width:1099px){.hill-game #hillSetup.hm-menu{inset:88px 18px 18px;grid-template-columns:minmax(0,1fr) minmax(310px,.9fr);gap:12px}#hillSetup .hm-showcase{padding:20px;gap:12px}#hillSetup .hm-overline>span:last-child{display:none}#hillSetup h1{font-size:60px}#hillSetup .hm-event-heading>p{font-size:10px}#hillSetup .hm-machine-head{display:block}#hillSetup .hm-engine-tag{display:inline-block;margin-top:8px;font-size:7px}#hillSetup .hm-machine-head h2{font-size:20px}.hill-game #hillSetup .hm-preview{min-height:215px}#hillSetup .hm-preview-top>span:last-child{display:none}#hillSetup .hm-config{padding:20px;gap:14px}#hillSetup .hm-launch-copy{display:none}#hillSetup .hm-launch-dock{justify-content:space-between;padding:12px 16px}#hillSetup .hm-dock-secondary{flex:1}.hill-game #hillSetup #hillBegin.hm-start-button{width:205px;min-width:170px}#hillSetup .hm-machine-stats>div{padding:10px}#hillSetup .hm-machine-stats strong{font-size:23px}#hillSetup .hm-machine-stats span{display:block;margin:5px 0 0}}
@media(max-width:760px){.hill-game #hillSetup.hm-menu{inset:80px 12px max(12px,env(safe-area-inset-bottom));grid-template-columns:minmax(0,1fr);grid-template-rows:44px minmax(0,1fr) auto;gap:10px}#hillSetup .hm-mobile-tabs{display:grid;grid-template-columns:1fr 1fr;gap:7px}.hill-game #hillSetup .hm-mobile-tabs button{min-height:44px;font:700 8px monospace;padding:8px;color:#9ebac9;background:#0e202beb;border-color:#8eacbc38;border-radius:6px}.hill-game #hillSetup .hm-mobile-tabs button[aria-pressed=true]{border-color:#e1bf7b8c;color:#f0d1a0;background:linear-gradient(145deg,#3c3c2de8,#1b2a2fe8)}#hillSetup[data-tab=machine] .hm-config,#hillSetup[data-tab=event] .hm-showcase{display:none}#hillSetup .hm-showcase{padding:18px;gap:12px}#hillSetup .hm-event-heading{padding-bottom:12px}#hillSetup .hm-overline{font-size:7px;letter-spacing:.08em}#hillSetup h1{font-size:49px;line-height:.84;margin:14px 0 0}#hillSetup h1 br{display:initial}#hillSetup h1 em:before{content:none}#hillSetup .hm-event-heading>p{display:none}#hillSetup .hm-event-number{font-size:88px;bottom:5px}#hillSetup .hm-machine-head{display:flex;gap:10px}#hillSetup .hm-machine-head small{font-size:6px}#hillSetup .hm-machine-head h2{font-size:18px;max-width:245px}#hillSetup .hm-engine-tag{font-size:6px;margin:0;max-width:88px;white-space:normal;padding:6px}.hill-game #hillSetup .hm-preview{min-height:180px;flex:1;height:auto}#hillSetup .hm-preview-top{font-size:6px;left:11px;top:10px}#hillSetup .hm-machine-stats>div{padding:9px 10px}#hillSetup .hm-machine-stats strong{font-size:23px}#hillSetup .hm-machine-stats small{font-size:6px;letter-spacing:0}#hillSetup .hm-machine-stats span{font-size:6px;display:inline;margin-left:5px}.hill-game #hillSetup select{font-size:10px;min-height:46px}#hillSetup label{font-size:7px}#hillSetup .hm-sheet-note{font-size:6px}#hillSetup .hm-config{padding:18px;gap:15px}#hillSetup .hm-config-heading h2{font-size:32px}#hillSetup .hm-config-heading>small{font-size:7px}#hillSetup .hm-route-panel{padding:14px}#hillSetup .hm-route-panel>p{font-size:10px;min-height:0;margin:10px 0 12px}#hillSetup #hmProfile{max-height:99px}#hillSetup .hm-face-stats b{font-size:18px}#hillSetup .hm-face-stats small{font-size:5.8px;letter-spacing:0}#hillSetup .hm-profile-head{font-size:5.8px;letter-spacing:0}#hillSetup .hm-prep-card{padding:10px 12px}#hillSetup .hill-build-advice{font-size:9px}#hillSetup .hm-launch-dock{grid-column:1;display:flex;flex-direction:column-reverse;align-items:stretch;gap:7px;padding:10px;border-radius:8px}#hillSetup .hm-dock-secondary{grid-template-columns:.9fr 1.3fr;gap:7px}.hill-game #hillSetup .hm-dock-secondary button{min-height:46px;font-size:8px;padding:7px 9px;white-space:normal;border-radius:5px}#hillSetup .hm-dock-secondary button>span{font-size:11px}.hill-game #hillSetup #hillBegin.hm-start-button{width:100%;min-width:0;min-height:51px;font-size:17px;padding:10px 14px}#hillSetup .hm-start-button br{display:none}#hillSetup .hm-start-button br:after{content:' '}#hillSetup .hm-start-button b{font-size:27px}#hillSetup #hillDemo small{font-size:5.8px;margin-top:2px}.hill-game:has(#hillSetup:not(.hidden)) .hill-header strong{font-size:9px}.hill-game:has(#hillSetup:not(.hidden)) .hill-header small{font-size:5.8px}.hill-game:has(#hillSetup:not(.hidden)) .hill-header{left:12px;right:12px;gap:9px}#hillSetup .hm-rider-notes summary{font-size:7px}}
@media(max-width:370px){#hillSetup .hm-showcase,#hillSetup .hm-config{padding:14px}#hillSetup h1{font-size:44px}.hill-game #hillSetup .hm-preview{min-height:155px}#hillSetup .hm-machine-head h2{font-size:16px}#hillSetup .hm-machine-stats>div{padding:9px 7px}#hillSetup .hm-machine-stats strong{font-size:20px}#hillSetup .hm-machine-stats span{display:block;margin:4px 0 0}#hillSetup .hm-face-stats b{font-size:16px}#hillSetup .hm-grid-settings{grid-template-columns:1fr 1.2fr;gap:7px}#hillSetup .hm-dock-secondary button>span{display:none}}
@media(max-height:600px) and (orientation:landscape){.hill-game #hillSetup.hm-menu{inset:76px 14px 12px;grid-template-columns:minmax(0,1fr) minmax(300px,.9fr);grid-template-rows:minmax(0,1fr) auto;gap:9px}#hillSetup .hm-mobile-tabs{display:none}#hillSetup[data-tab=machine] .hm-config,#hillSetup[data-tab=event] .hm-showcase{display:flex}#hillSetup .hm-launch-dock{grid-column:1/-1;flex-direction:row;padding:8px;gap:9px}#hillSetup .hm-dock-secondary{flex:1}.hill-game #hillSetup #hillBegin.hm-start-button{width:210px;min-height:51px}#hillSetup .hm-showcase,#hillSetup .hm-config{padding:15px;gap:12px}#hillSetup h1{font-size:43px}#hillSetup .hm-event-heading>p{display:none}.hill-game #hillSetup .hm-preview{min-height:190px}#hillSetup .hm-machine-head{display:block}#hillSetup .hm-machine-head h2{font-size:17px}#hillSetup .hm-engine-tag{margin-top:6px}#hillSetup .hm-config-heading h2{font-size:27px}}
@media(prefers-reduced-motion:reduce){#hillSetup *{scroll-behavior:auto}}

/* Keep machine selection in the first view, with room for the real model. */
@media(min-width:1100px){#hillSetup .hm-showcase{padding:20px 24px;gap:10px}#hillSetup h1{font-size:56px;margin:14px 0 0}#hillSetup .hm-event-heading{padding-bottom:12px}#hillSetup .hm-event-heading>p{display:none}.hill-game #hillSetup .hm-preview{min-height:155px}}
@media(max-width:760px) and (orientation:portrait){#hillSetup .hm-showcase{padding:14px;gap:9px}#hillSetup h1{font-size:32px;line-height:1;margin:10px 0 0}#hillSetup h1 br{display:none}#hillSetup .hm-event-heading{padding-bottom:10px}#hillSetup .hm-event-number{font-size:55px;bottom:3px}.hill-game #hillSetup .hm-preview{min-height:150px}}
@media(max-height:700px) and (orientation:portrait){#hillSetup .hm-event-heading{display:none}#hillSetup .hm-sheet-note{display:none}#hillSetup .hm-showcase{gap:7px;padding:12px}.hill-game #hillSetup .hm-preview{min-height:110px}#hillSetup .hm-machine-stats>div{padding:7px}#hillSetup .hm-machine-stats strong{font-size:20px}#hillSetup .hm-machine-stats span{display:inline;font-size:6px;margin-left:3px}#hillSetup .hm-machine-head h2{font-size:15px}}
@media(max-height:620px) and (orientation:portrait){#hillSetup .hm-machine-head small{display:none}#hillSetup .hm-machine-head h2{margin-top:3px}.hill-game #hillSetup .hm-preview{min-height:90px}#hillSetup .hm-machine-stats strong{font-size:18px}#hillSetup .hm-machine-stats #hmLugs{display:block;font-size:5.5px;margin:3px 0 0}}
@media(min-width:761px) and (min-height:601px) and (max-height:820px){
 #hillSetup .hm-showcase{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:auto minmax(110px,1fr) auto auto auto;gap:8px;padding:16px 20px}
 #hillSetup .hm-event-heading{grid-column:1;padding:0;border:0;align-self:center}
 #hillSetup h1{font-size:30px;line-height:1;margin:9px 0 0}#hillSetup h1 br{display:none}
 #hillSetup .hm-event-number,#hillSetup .hm-overline>span:last-child{display:none}
 #hillSetup .hm-machine-head{grid-column:2;align-self:center;display:block}#hillSetup .hm-machine-head h2{font-size:17px;margin-top:4px}#hillSetup .hm-engine-tag{font-size:6px;display:inline-block;margin-top:6px;padding:4px}
 .hill-game #hillSetup .hm-preview{grid-column:1/-1;min-height:110px;height:100%}
 #hillSetup .hm-machine-stats,#hillSetup .hm-machine-select,#hillSetup .hm-sheet-note{grid-column:1/-1}
 #hillSetup .hm-machine-stats>div{padding:8px 10px}#hillSetup .hm-machine-stats strong{font-size:22px}
 #hillSetup .hm-config{padding:16px 20px;gap:12px}#hillSetup .hm-config-heading h2{font-size:25px;margin-top:8px}#hillSetup .hm-config-heading h2 br{display:none}#hillSetup .hm-number{font-size:32px;top:5px}
 #hillSetup .hm-route-panel{padding:12px}#hillSetup .hm-route-panel>p{font-size:9px;min-height:0;margin:8px 0 10px}#hillSetup #hmProfile{max-height:74px}#hillSetup .hm-face-stats b{font-size:17px}
}
#hillSetup .hm-start-button span{word-spacing:.13em}
