.reward-dialog {
  box-sizing: border-box; position: fixed; inset: 0; width: 100%; height: 100%;
  max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  color: #edf3f7; background: transparent; overflow: auto;
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.reward-dialog::backdrop { background: transparent; }
body.rewards .hud, body.rewards #touch-controls, body.rewards #touch-select,
body.rewards #garage-shortcut, body.rewards #account-shortcut, body.rewards #scorestrip,
body.rewards #arrows, body.rewards #pops, body.rewards #ttdelta, body.rewards #boostfx,
body.rewards #rotate { display: none !important; }
.reward-shell { width: min(1180px, 100%); min-height: 100%; margin: auto; box-sizing: border-box;
  padding: max(30px, env(safe-area-inset-top)) max(40px, env(safe-area-inset-right)) max(30px, env(safe-area-inset-bottom)) max(40px, env(safe-area-inset-left));
  display: flex; flex-direction: column; }
.reward-mast { display: flex; justify-content: space-between; gap: 20px; align-items: center;
  padding: 0 0 24px; border-bottom: 1px solid #ffffff16; color: #8e9dae;
  font: 600 11px ui-monospace, monospace; letter-spacing: .12em; }
.reward-brand { color: #e2e8ed; font-weight: 900; letter-spacing: .16em; }
.reward-brand::before { content: ""; display: inline-block; width: 19px; height: 14px;
  background: repeating-conic-gradient(#e5bc62 0% 25%, transparent 0% 50%) 0 / 9px 9px;
  margin-right: 12px; vertical-align: -2px; transform: skew(-12deg); }
.reward-content { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 32px; align-items: center; flex: 1; padding: 28px 0; }
.reward-visual { height: min(460px, 57vh); min-height: 260px; position: relative;
  display: grid; place-items: center; isolation: isolate; }
.reward-visual::before { content: ""; position: absolute; inset: 6% 2%; border-radius: 50%; z-index: -1;
  background: radial-gradient(ellipse, #e2ae3610, transparent 67%); }
.reward-preview-note { position: absolute; bottom: 1%; left: 0; right: 0; text-align: center;
  color: #8792a4; font: 10px ui-monospace, monospace; letter-spacing: .16em; }
.reward-copy { position: relative; padding: 20px 0; }
.reward-eyebrow { margin: 0 0 16px; color: #f3c86a; font: 700 11px ui-monospace, monospace; letter-spacing: .16em; }
.reward-copy h1 { margin: 0; font-size: clamp(36px, 4.5vw, 68px); letter-spacing: -.055em; line-height: .98; font-weight: 950; text-wrap: balance; }
.reward-description { color: #a3aebe; font-size: 16px; line-height: 1.65; margin: 22px 0 26px; max-width: 390px; }
.reward-stats { display: flex; gap: 32px; margin: 0; padding: 22px 0; border-top: 1px solid #ffffff16; border-bottom: 1px solid #ffffff16; }
.reward-stats dt { color: #93a0b1; font-size: 10px; text-transform: uppercase; letter-spacing: .13em; margin-bottom: 8px; }
.reward-stats dd { margin: 0; font: 600 23px ui-monospace, monospace; color: #edf3f7; }
.reward-count { color: #f3c86a; font-size: 13px; margin: 22px 0 0; }
.reward-standings { padding: 0 0 0 20px; font: 12px/1.8 ui-monospace, monospace; color: #a3aebe; max-height: 100px; overflow-y: auto; }
.reward-symbol { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; text-align: center; color: #f3ca70;
  filter: drop-shadow(0 8px 45px #f1ad3820); }
.reward-symbol[hidden], .reward-secondary[hidden] { display: none; }
.reward-symbol strong { font-size: clamp(90px, 11vw, 156px); font-weight: 950; letter-spacing: -.08em; line-height: 1; font-variant-numeric: tabular-nums; }
.reward-plus { font-size: clamp(44px, 6vw, 74px); font-weight: 300; margin-right: 6px; align-self: center; }
.reward-unit { flex-basis: 100%; margin: 24px 0 0; font: 600 11px ui-monospace, monospace; letter-spacing: .25em; }
.reward-medal-label { flex-basis: 100%; font: 700 20px ui-monospace, monospace; letter-spacing: .25em; margin-bottom: 18px; }
.reward-wallet { border: 1px solid #e5ba5e40; border-radius: 12px; padding: 22px 24px; background: linear-gradient(125deg, #dba33c10, #dba33c04); }
.reward-wallet-label { display: block; font: 600 10px ui-monospace, monospace; color: #c1ac80; letter-spacing: .15em; margin-bottom: 14px; }
.reward-wallet strong { font: 750 42px ui-monospace, monospace; letter-spacing: -.07em; color: #fff1cd; font-variant-numeric: tabular-nums; }
.reward-wallet-unit { font: 11px ui-monospace, monospace; color: #beae8b; }
.reward-equation { margin: 12px 0 0; font: 11px ui-monospace, monospace; color: #baad90; }
.reward-earned { color: #e8cb8a; font-size: 12px; line-height: 1.6; margin: 18px 0 0; }
.reward-next { color: #8491a4; font-size: 12px; line-height: 1.6; margin: 12px 0 0; }
.reward-model-name { color: #c7d2df; font: 14px ui-monospace, monospace; padding: 0 0 22px; margin: 0 0 22px; border-bottom: 1px solid #ffffff16; }
.reward-owned { color: #8fe0b5; font: 600 11px ui-monospace, monospace; letter-spacing: .08em; }
.reward-footer { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-top: 24px; border-top: 1px solid #ffffff16; }
.reward-steps { display: flex; flex-wrap: wrap; gap: 6px; max-width: 34%; }
.reward-steps i { width: 22px; height: 3px; border-radius: 3px; background: #2b3542; }
.reward-steps .done { background: #8d7b52; }
.reward-steps .current { background: #f3c86a; }
.reward-actions { display: flex; align-items: center; gap: 20px; }
.reward-actions button { font: 700 14px ui-sans-serif, system-ui, sans-serif; min-height: 52px; border-radius: 9px; padding: 14px 26px; cursor: pointer; }
.reward-primary { border: 1px solid #ffe0a1; background: #f3ca70; color: #231d12; box-shadow: 0 5px 24px #f3ca7010; }
.reward-primary:hover { background: #ffdaa0; }
.reward-secondary { border: 1px solid #ffffff25; background: transparent; color: #aebaca; }
.reward-secondary:hover { color: #fff; background: #ffffff09; }
.reward-actions button:focus-visible { outline: 2px solid #fff2d3; outline-offset: 5px; }
.reward-board { margin-top: 20px; font: 11px/1.7 ui-monospace, monospace; color: #b1bdca; }
.reward-board summary { cursor: pointer; color: #7f90a3; }
.reward-board p { margin: 6px 0; }
@media (max-width: 699px) {
  .reward-shell { padding: max(22px, env(safe-area-inset-top)) 24px max(24px, env(safe-area-inset-bottom)); }
  .reward-mast { padding-bottom: 18px; font-size: 9px; letter-spacing: .05em; }
  .reward-brand { font-size: 9px; letter-spacing: .08em; }
  .reward-brand::before { margin-right: 7px; width: 15px; }
  .reward-mast > :last-child { max-width: 45%; text-align: right; }
  .reward-content { display: flex; flex-direction: column; gap: 0; padding: 10px 0 22px; justify-content: center; }
  .reward-visual { width: 100%; height: clamp(185px, 28vh, 270px); min-height: 185px; flex-shrink: 0; }
  .reward-copy { width: 100%; padding: 10px 0 0; }
  .reward-copy h1 { font-size: clamp(35px, 10vw, 48px); }
  .reward-eyebrow { font-size: 9px; margin-bottom: 12px; }
  .reward-description { font-size: 14px; line-height: 1.5; margin: 16px 0 20px; }
  .reward-symbol strong { font-size: 100px; }
  .reward-plus { font-size: 52px; }
  .reward-unit { font-size: 9px; margin-top: 15px; }
  .reward-wallet { padding: 18px 20px; }
  .reward-wallet strong { font-size: 36px; }
  .reward-stats { padding: 17px 0; gap: 26px; }
  .reward-stats dd { font-size: 20px; }
  .reward-footer { flex-direction: column; align-items: stretch; gap: 18px; padding-top: 18px; }
  .reward-steps { max-width: none; }
  .reward-actions { flex-direction: column; gap: 10px; align-items: stretch; }
  .reward-actions button { min-height: 50px; }
  .reward-preview-note { font-size: 8px; bottom: 0; }
  .reward-count { margin-top: 16px; }
  .reward-dialog[data-step="summary"] .reward-visual { height: 175px; min-height: 175px; }
}
@media (max-height: 550px) and (min-width: 700px) {
  .reward-shell { padding: 12px 28px; }
  .reward-content { padding: 4px 0; gap: 24px; }
  .reward-visual { min-height: 220px; height: 58vh; }
  .reward-copy { padding: 4px 0; }
  .reward-copy h1 { font-size: 34px; }
  .reward-eyebrow { margin-bottom: 10px; }
  .reward-description { font-size: 13px; line-height: 1.4; margin: 12px 0; }
  .reward-wallet { padding: 10px 18px; }
  .reward-wallet strong { font-size: 30px; }
  .reward-wallet-label { margin-bottom: 8px; }
  .reward-stats { padding: 12px 0; }
  .reward-earned { margin-top: 10px; }
  .reward-next { margin-top: 7px; }
  .reward-footer, .reward-mast { padding-top: 0; padding-bottom: 12px; }
  .reward-footer { padding: 14px 0 0; }
}
