/* Scoped layout only. The prize inventory and allocation state are unchanged. */
#hfr-wheel-root .wheel-dialog{height:min(740px,calc(100vh - 24px));height:min(740px,calc(100dvh - 24px));max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px);overflow:hidden}
#hfr-wheel-root .wheel-dialog[open]{display:flex;flex-direction:column}
#hfr-wheel-root .dialog-body{flex:1 1 auto;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
#hfr-wheel-root .dialog-layout{min-height:100%;grid-template-columns:1.08fr .92fr}
#hfr-wheel-root .wheel-column{min-height:0;padding:36px 28px 54px}
#hfr-wheel-root .wheel-shell{width:min(390px,38vw,calc(100vh - 260px));width:min(390px,38vw,calc(100dvh - 260px))}
#hfr-wheel-root .dialog-copy{padding:36px 30px 24px;overflow:visible}
#hfr-wheel-root .dialog-copy h2{font-size:clamp(36px,4vw,52px);line-height:1.02}
#hfr-wheel-root .dialog-copy #wheel-intro{font-size:16px;line-height:1.35;margin:14px 0 12px}
#hfr-wheel-root .dialog-brand{margin-bottom:16px}
#hfr-wheel-root .dialog-actions{flex:0 0 auto;position:relative;z-index:8;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px 18px;align-items:center;padding:12px 22px max(12px,env(safe-area-inset-bottom));border-top:2px solid #c7dce7;background:#f4fbff;box-shadow:0 -5px 20px rgb(0 35 70 / 9%)}
#hfr-wheel-root .dialog-actions [data-wheel-feedback]{min-height:0;margin:0;font-size:14px;line-height:1.3}
#hfr-wheel-root .dialog-actions .spin-button{align-self:auto;min-width:220px;min-height:52px;margin:0;padding:12px 20px;box-shadow:0 4px 10px rgb(0 0 0 / 18%)}
#hfr-wheel-root .dialog-actions .dialog-fineprint{grid-column:1/-1;margin:0;font-size:12px;line-height:1.35}
#hfr-wheel-root .dialog-close{top:10px;right:12px;width:42px;height:42px;font-size:28px}
#hfr-wheel-root .result{scroll-margin:14px}
@media(max-width:820px){
 #hfr-wheel-root .wheel-dialog{width:calc(100% - 20px);height:calc(100vh - 20px);height:calc(100dvh - 20px);max-height:calc(100vh - 20px);max-height:calc(100dvh - 20px);border-width:4px;border-radius:12px}
 #hfr-wheel-root .dialog-layout{grid-template-columns:1fr;min-height:0}
 #hfr-wheel-root .wheel-column{padding:26px 18px 16px;min-height:0}
 #hfr-wheel-root .wheel-shell{width:clamp(180px,32vh,270px);width:clamp(180px,32svh,270px);max-width:82vw}
 #hfr-wheel-root .wheel-shell::before{inset:-12px;border-width:4px}
 #hfr-wheel-root .wheel-hub{width:72px;border-width:5px}
 #hfr-wheel-root .wheel{border-width:8px}
 #hfr-wheel-root .wheel-pointer{top:-12px;width:38px;height:52px}
 #hfr-wheel-root .wheel-ribbon,#hfr-wheel-root .stage-sticker,#hfr-wheel-root .stage-spark{display:none}
 #hfr-wheel-root .wheel-label{font-size:clamp(13px,3.9vw,17px)}
 #hfr-wheel-root .dialog-copy{padding:12px 16px 14px;justify-content:flex-start}
 #hfr-wheel-root .dialog-brand,#hfr-wheel-root .dialog-copy>.eyebrow,#hfr-wheel-root .prize-chips{display:none}
 #hfr-wheel-root .dialog-copy h2{font-size:28px;line-height:1.02}
 #hfr-wheel-root .dialog-copy #wheel-intro{font-size:14px;line-height:1.3;margin:8px 0 0}
 #hfr-wheel-root .dialog-actions{grid-template-columns:1fr;gap:7px;padding:10px 14px max(10px,env(safe-area-inset-bottom))}
 #hfr-wheel-root .dialog-actions .spin-button{width:100%;min-width:0;min-height:52px;font-size:18px}
 #hfr-wheel-root .dialog-actions [data-wheel-feedback]{font-size:13px;line-height:1.25}
 #hfr-wheel-root .dialog-actions .dialog-fineprint{font-size:11.5px;line-height:1.3}
 #hfr-wheel-root .dialog-close{top:8px;right:8px;width:38px;height:38px;font-size:26px}
 #hfr-wheel-root .result{margin:10px 0 4px;padding:14px;border-left-width:6px}
 #hfr-wheel-root .result>strong{font-size:25px}
}
