/* Race results use the same quiet graphite / orange materials as the club. */
#drive-dialog,#drive-dialog *{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
#drive-dialog input:not([type=range]),#drive-dialog textarea,#drive-dialog [contenteditable=true]{-webkit-user-select:text;user-select:text;-webkit-touch-callout:default}
#drive-dialog img,#drive-dialog canvas{-webkit-user-drag:none}
#drive-dialog .sim-controls,#drive-dialog .sim-touch-deck,#drive-dialog .sim-thumb-pad,#drive-dialog .sim-pedals{touch-action:none}
.hero-challenge{display:flex;align-items:center;flex-wrap:wrap;gap:10px 18px;margin-top:24px;max-width:430px}.hero-challenge>a:first-child{display:flex;align-items:center;gap:15px;text-decoration:none;color:#f3eade;padding:15px 20px;border:1px solid #ff986844;border-radius:22px;background:linear-gradient(120deg,#ff723014,#ffffff04);box-shadow:inset 0 1px #ffffff0e;min-height:64px}.hero-challenge>a:first-child>svg:first-child{color:#ff966c;width:27px;height:27px}.hero-challenge span{display:grid;gap:3px;font-size:14px;font-weight:650}.hero-challenge small{font-size:8px;letter-spacing:.14em;color:#c29179}.hero-challenge .challenge-terms{font-size:10px;color:#a8aca8;text-underline-offset:4px;padding:10px 0}.hero-challenge a:focus-visible,.reward-play:focus-visible{outline:2px solid #ff9069;outline-offset:5px}
.game-reward-callout{max-width:850px;margin:26px auto;padding:18px 22px;border:1px solid #e8956838;border-radius:18px;background:#e97d380a;display:flex;align-items:center;justify-content:space-between;gap:12px}.game-reward-callout strong{font-size:15px;line-height:1.5}.game-reward-callout a{font-size:11px;color:#ddb598;flex-shrink:0;text-underline-offset:4px}
.leader-reward{position:relative;overflow:hidden;border:1px solid #f9a77845;border-radius:28px;background:radial-gradient(ellipse at 110% -15%,#c054252b,transparent 64%),linear-gradient(135deg,#252c2d,#191e21);padding:clamp(22px,4vw,36px);margin-bottom:30px}.member-game .leader-reward h2{font-size:clamp(27px,4vw,38px);line-height:1.12;letter-spacing:-.045em;margin:12px 0 18px;max-width:540px}.leader-reward p{font-size:14px;line-height:1.8;color:#b5bfbc;max-width:620px}.leader-reward .eyebrow{font-size:10px;letter-spacing:.14em;color:#e6a078}.leader-reward .reward-balance{display:block;color:#ffae82;font-size:clamp(32px,6vw,48px);letter-spacing:-.05em;font-variant-numeric:tabular-nums}.leader-reward .primary{display:inline-flex;justify-content:center;text-decoration:none;margin:10px 0;max-width:100%;text-align:center}.reward-play{display:flex;align-items:center;justify-content:space-between;gap:15px;text-decoration:none;color:#f0d2ba;font-size:14px;font-weight:650;margin:20px 0 0;padding:15px 18px;border:1px solid #c9997845;border-radius:16px;background:#ffffff05}.reward-play::after{content:'';width:10px;height:10px;border-top:1.5px solid currentColor;border-right:1.5px solid currentColor;transform:rotate(45deg);flex:none}.reward-terms{border-top:1px solid #ffffff17;margin-top:24px;padding-top:18px}.reward-terms summary{cursor:pointer;font-size:12px;color:#b8c1bc;min-height:28px}.reward-terms ul{padding-left:19px;color:#aeb8b5;font-size:12px;line-height:1.8}.reward-terms li+li{margin-top:10px}.reward-terms a{color:#dfb99d;font-size:12px}.leader-reward[data-state=used]{border-color:#ffffff26}.leader-reward[data-state=unknown]{border-color:#ffffff26}
@media(max-width:600px){.hero-challenge{gap:4px 14px}.hero-challenge>a:first-child{width:100%;justify-content:space-between}.hero-challenge>a:first-child span{margin-right:auto}.game-reward-callout{align-items:flex-start;flex-direction:column}.leader-reward .primary{width:100%}.leader-reward{border-radius:22px}.reward-play{font-size:13px}}
.sim-assist-switch button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px}.sim-assist-switch button small{display:block;font-size:7px;font-weight:500;opacity:.72;white-space:nowrap;letter-spacing:0}.sim-assist-switch{min-width:188px}.sim-shell .sim-tools{gap:6px}
.sim-results-panel{position:absolute;inset:0;z-index:70;overflow:auto;overscroll-behavior:contain;background:radial-gradient(ellipse at 100% 0,#303b42 0,transparent 50%),#171d21;color:#eeeae0;padding:clamp(20px,4vw,42px);scrollbar-gutter:stable;border-radius:inherit}
.sim-results-panel[hidden]{display:none}.game-results-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;max-width:850px;margin:0 auto 30px}.game-results-heading p{font-size:9px;color:#e9a082;letter-spacing:.13em}.game-results-heading h2{font-size:clamp(28px,5vw,46px);letter-spacing:-.055em;line-height:1.12;margin:12px 0}.game-results-heading .sim-icon-button{flex:none;color:#eaece4;background:#ffffff0a;border:1px solid #ffffff20}
.game-finish-summary,.game-next-actions,.game-ranking-heading,#sim-ranking-list,#sim-ranking-status{max-width:850px;margin-left:auto;margin-right:auto}
.game-finish-summary{padding:24px 0 28px;border-block:1px solid #ffffff1c}.game-finish-summary>p:first-child{font-size:10px;letter-spacing:.12em;color:#d9a088}.game-finish-summary>time{display:block;font-size:clamp(44px,10vw,88px);font-variant-numeric:tabular-nums;letter-spacing:-.055em;line-height:1.3;color:#eee9de}
#sim-result-publication{max-width:520px;font-size:13px;line-height:1.65;color:#b9c1c0}#sim-result-status{color:#d6c0a7;font-size:12px;line-height:1.7;min-height:1.5em}.game-result-actions{margin-top:22px}.game-result-actions [hidden]{display:none!important}.game-result-actions>div,.game-next-actions{display:flex;flex-wrap:wrap;gap:10px}.sim-results-panel .button{min-height:48px;padding:14px 22px;border-radius:30px;font-size:13px;text-decoration:none}.sim-results-panel .button-outline{color:#e7e9e0;border:1px solid #ffffff32;background:#ffffff06}.sim-results-panel button:disabled{opacity:.5;cursor:default}.game-next-actions{padding-block:20px 28px}.game-ranking-heading{display:flex;justify-content:space-between;gap:16px;align-items:center}.game-ranking-heading h3{font-size:22px;letter-spacing:-.035em;margin:14px 0}#sim-ranking-status{color:#a5b0b3;font-size:11px;line-height:1.7}
.game-ranking{list-style:none;margin:20px 0;padding:0}.game-ranking li{display:grid;grid-template-columns:35px minmax(0,1fr) auto;align-items:center;gap:14px;padding:18px 0;border-bottom:1px solid #ffffff12;font-size:13px}.game-ranking strong{overflow-wrap:anywhere;min-width:0}.game-ranking time{font-variant-numeric:tabular-nums;color:#e7c1a6;white-space:nowrap}.game-rank{color:#99a4aa}.game-ranking li:first-child .game-rank{color:#ff9667}.game-empty{padding:28px 24px;border:1px solid #ffffff18;border-radius:18px;color:#bcc4c2;font-size:14px;line-height:1.65}
.member-game{margin:0;padding:40px 0;border-bottom:1px solid #ffffff1d;scroll-margin-top:130px}.member-game h2{font-size:32px;line-height:1.15;letter-spacing:-.04em;margin:10px 0 24px}.game-account-pending{padding:24px 0;border-block:1px solid #ffffff20;margin-bottom:20px}.game-account-pending>strong{font-size:42px;font-variant-numeric:tabular-nums}.game-account-pending p{font-size:13px;line-height:1.8;color:#bfc5c0}.member-game .game-ranking li{grid-template-columns:85px minmax(0,1fr) auto;font-size:12px}.game-personal-best{font-size:15px;color:#edb395}.member-game [role=status]{font-size:12px}.member-game>small{color:#a7b0ac}
@media(max-width:600px){.sim-assist-switch{min-width:176px}.sim-assist-switch button{padding-inline:10px!important;font-size:11px!important;min-height:42px}.sim-toolbar{gap:7px!important;padding-inline:10px!important}.game-results-heading{margin-bottom:14px}.sim-results-panel{padding:23px 20px}.game-result-actions>div{display:grid;grid-template-columns:1fr}.game-result-actions .button{width:100%}.game-next-actions{gap:8px}.game-next-actions .button{padding-inline:14px;font-size:11px;flex:1}.game-ranking li{gap:10px;font-size:12px}.member-game .game-ranking li{grid-template-columns:1fr auto;gap:6px 10px}.member-game .game-ranking li>span{grid-column:1/-1;font-size:10px;color:#9ba8ae}}
@media(max-width:365px){.sim-assist-switch{min-width:200px}.game-next-actions{flex-direction:column}.game-ranking li{grid-template-columns:24px minmax(0,1fr) auto;gap:7px;font-size:11px}}
@media(prefers-reduced-motion:reduce){.sim-results-panel *{scroll-behavior:auto!important}}

@media(max-width:600px){.member-game{padding:32px 0}.member-game>h2{font-size:28px}.member-game .leader-reward{padding:22px 18px}.member-game .leader-reward h2{font-size:29px}.member-game .leader-reward .primary{font-size:12px;padding-inline:15px}.member-game .leader-reward p{font-size:13px}}

/* Custom disclosure artwork, including WebKit on iPhone. No native glyphs. */
.reward-terms summary{display:flex;align-items:center;justify-content:space-between;gap:16px;list-style:none;min-height:44px}
.reward-terms summary::-webkit-details-marker{display:none}
.reward-terms summary::marker{content:""}
.reward-terms summary svg{display:block;width:20px;height:20px;flex:none;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round}
.reward-terms[open] summary svg{transform:rotate(45deg)}
.reward-terms summary:focus-visible{outline:2px solid #ff9069;outline-offset:4px;border-radius:5px}
.member-game + .bookings-section{padding-top:12px}
.race-save-feedback{margin:20px 0;padding:20px;border:1px solid #d9ab763d;border-radius:18px;background:#ec8e3310}
.race-save-feedback>strong{display:block;font-size:22px;line-height:1.3;letter-spacing:-.025em;color:#f4eadd}
.race-save-feedback>p{font-size:13px;line-height:1.8;color:#c4c6bc;margin:10px 0 0}
.race-save-feedback[data-state=leader]{border-color:#ffa66b70;background:linear-gradient(125deg,#ce652626,#edaa580a)}
.race-save-feedback[data-state=leader]>strong{color:#ffb98d}
.race-save-feedback .reward-play{margin-top:16px}

.reward-prizes{list-style:none;padding:0;display:grid;gap:12px;margin:22px 0}.reward-prizes li{display:grid;gap:6px;padding:18px;border:1px solid #b4bbad55;border-left:3px solid #c8a572;background:#25302a;overflow-wrap:anywhere}.reward-prizes li[data-state=used]{opacity:.65;border-left-color:#8b9990}.reward-prizes strong{font-size:16px}.reward-prizes span{font-size:18px;color:#edcc91}.reward-prizes small{font-size:12px;color:#bbc9c0}

.discount-clock{font-variant-numeric:tabular-nums}
.discount-clock:empty{display:none}
.discount-receipt{box-sizing:border-box;width:min(25rem,calc(100% - 2rem));margin:auto;padding:clamp(22px,5vw,36px);border:1px solid #bcaa865c;border-top:3px solid #ecb979;border-radius:18px;background:#20292a;color:#f2f3ea;box-shadow:0 24px 80px #0008;overflow-wrap:anywhere}
.discount-receipt::backdrop{background:#101819bd;backdrop-filter:blur(6px)}
.discount-receipt h2{margin:12px 0 6px;font-size:clamp(22px,5vw,32px)}
.discount-receipt .discount-amount{display:block;margin-block:12px;color:#f3c786;font:800 clamp(60px,12vw,88px)/1 Manrope,sans-serif;letter-spacing:-.06em}
.discount-receipt .primary{margin-top:12px;width:100%}
