/* Scoped to the optional StarStrike reward; the rest of the game is untouched. */
.reward-modal{max-width:540px;border-color:rgba(239,197,129,.38);background:radial-gradient(ellipse at 90% 0,rgba(164,118,58,.12),transparent 50%),linear-gradient(135deg,#112333,#05121e);text-align:left;touch-action:pan-y}
.reward-modal .modal-content{padding:30px 32px 22px}
.reward-modal .modal-content:before{background:linear-gradient(90deg,transparent,var(--gold),transparent)}
.reward-heading{display:flex;align-items:center;gap:14px;margin-bottom:18px;padding-right:22px}
.reward-heading .dialog-emblem{margin:0;flex:0 0 46px;width:46px;height:46px}
.reward-milestone{font:9px var(--mono);letter-spacing:1.1px;color:var(--gold);line-height:1.6}
.reward-modal .eyebrow{color:#bb9c6b;line-height:1.6;letter-spacing:1.3px}
.reward-modal h2{font-size:29px;line-height:1.25;margin:8px 0 13px;letter-spacing:-.7px}
.reward-modal h2 strong{color:var(--gold);font-weight:650;font-size:1.38em;white-space:nowrap}
.reward-modal .modal-description{color:#a5bdc9;font-size:13px;line-height:1.65;margin-bottom:14px}
.reward-terms{padding:10px 12px;border:1px solid rgba(239,197,129,.21);border-radius:6px;background:rgba(239,197,129,.05);font-size:11px;color:#efc581;line-height:1.5;margin-bottom:18px}
.reward-modal .input-label{font-size:10px;letter-spacing:1px}
.reward-modal .input-wrap{border-color:rgba(239,197,129,.4)}
.reward-modal .input-wrap:focus-within{border-color:var(--gold);box-shadow:0 0 0 3px rgba(239,197,129,.1)}
.reward-modal .input-wrap input{font-size:16px;user-select:text;-webkit-user-select:text;touch-action:manipulation}
.reward-modal .input-wrap input::placeholder{color:#87a1b0;font-size:13px}
.reward-consent{display:flex;align-items:flex-start;gap:10px;margin:14px 0;color:#adbfcb;font-size:11px;line-height:1.6;cursor:pointer}
.reward-consent input{width:17px;height:17px;flex:0 0 17px;margin:2px 0 0;accent-color:#efc581;cursor:pointer}
.reward-consent a,.reward-privacy a{color:#efc581;text-decoration:underline;text-underline-offset:3px}
.reward-consent a:hover,.reward-privacy a:hover{color:#ffe0b0}
.reward-modal .primary{margin-top:18px;font-size:11px;min-height:48px;white-space:normal;line-height:1.4}
.reward-modal .primary:disabled{opacity:.6;cursor:wait}
.reward-privacy{font-size:10px;line-height:1.7;color:#93adbd;margin-top:12px}
.reward-fineprint{font-size:10px;line-height:1.65;color:#93adbd;padding-top:12px;margin-top:12px;border-top:1px solid var(--line)}
.reward-feedback{padding:13px 14px;margin:14px 0;border:1px solid rgba(151,247,222,.28);border-radius:7px;background:rgba(151,247,222,.06);font-size:12px;line-height:1.75;color:#b9eddf;overflow-wrap:anywhere}
.reward-feedback.is-error{color:#f7c6cb;border-color:rgba(255,117,156,.32);background:rgba(255,117,156,.06)}
.reward-later{display:block;margin:18px auto 0;min-height:32px;color:#b3c5d0;font-size:11px;text-align:center}
.reward-reopen{margin:0 0 12px;color:var(--gold);border-color:rgba(239,197,129,.35);white-space:normal;line-height:1.6}
.reward-honeypot{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;clip-path:inset(50%)!important;white-space:nowrap!important}
.reward-modal [hidden],.reward-reopen[hidden]{display:none!important}
.reward-modal :focus-visible{outline:2px solid var(--gold);outline-offset:4px}
@media(max-width:480px){.reward-modal{max-height:calc(100dvh - 12px)}.reward-modal .modal-content{padding:18px 20px 14px}.reward-modal h2{font-size:23px;line-height:1.22;margin:7px 0 10px}.reward-heading{gap:11px;margin-bottom:10px}.reward-milestone{font-size:8px;letter-spacing:.6px}.reward-modal .modal-description{font-size:12px;margin-bottom:10px}.reward-terms{padding:8px 10px;margin-bottom:12px}.reward-consent{font-size:10.5px;line-height:1.5;margin:10px 0}.reward-modal .primary{font-size:10px;min-height:44px;margin-top:14px;padding:12px 16px}.reward-privacy{margin-top:9px;line-height:1.55}.reward-fineprint{padding-top:9px;margin-top:9px;line-height:1.5}.reward-later{margin-top:12px}}
@media(max-height:550px) and (orientation:landscape){.reward-modal{max-height:calc(100dvh - 16px)}.reward-modal .modal-content{padding-top:22px}}
/* v1.2.70: displayed codes are supplied exclusively by the server. */
.reward-code{display:block;padding:18px 12px;margin:12px 0;color:#ffe0a8;border:1px dashed rgba(239,197,129,.6);border-radius:8px;background:#071520;font:700 clamp(14px,3vw,20px)/1.7 var(--mono);text-align:center;overflow-wrap:anywhere;word-break:break-word;user-select:text;-webkit-user-select:text}.reward-modal select{display:block;width:100%;max-width:100%;min-width:0;padding:12px 8px;background:#071520;color:#f4ead8;border:1px solid #756043;border-radius:6px;font-size:12px;overflow:hidden}.reward-pages{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:18px 0}.reward-pages .secondary{min-width:0;font-size:11px;padding:9px}.reward-vault{display:block;margin:18px 0;max-width:100%;white-space:normal;line-height:1.6;color:#efc581}.reward-modal{width:calc(100vw - 24px);max-height:calc(100dvh - 24px);overflow:auto}.reward-modal .modal-content{min-width:0}.reward-modal .secondary{white-space:normal;overflow-wrap:anywhere}.in-flight .reward-vault{display:none}

/* Separate the optional delivery form from the copy action on narrow screens. */
#reward-dialog #reward-form { margin-top: 18px; }
