/* Pre-registration reward cards and hover / tap details. */
.eitr-rewards { width: min(100%, 820px); margin-top: 4px; color: #173d70; text-align: center; }
.eitr-rewards-heading { margin: 0 0 15px; font-size: 13px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; text-shadow: 0 1px 5px #fff; }
.eitr-rewards .eitr-registration-total { margin-bottom: 18px; }
.eitr-reward-progress-summary { display: flex; justify-content: space-between; gap: 12px; margin: 0 2px 7px; color: #214d7a; font-size: 11px; font-weight: 700; }
.eitr-reward-progress { height: 5px; margin: 0 0 18px; overflow: hidden; border-radius: 12px; background: #d9ebf9; box-shadow: inset 0 1px 3px #456f9830; }
.eitr-reward-progress > span { display: block; height: 100%; background: linear-gradient(90deg, #ebbe48, #ffe69a); }
.eitr-reward-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; margin: 0; padding: 0; list-style: none; }
.eitr-reward-grid > li { min-width: 0; padding: 0; }
.eitr-reward-card { position: relative; display: flex; flex-direction: column; align-items: center; gap: 7px; width: 100%; height: 100%; min-width: 0; margin: 0; padding: 15px 10px 13px; border: 1px solid #9fc6e4; border-radius: 20px; background: linear-gradient(#ffffffed, #eaf6ffed); color: #173d70; box-shadow: 0 5px 0 #bdd5e8, 0 8px 18px #154e7520; font: inherit; cursor: pointer; transition: transform .18s, box-shadow .18s, border-color .18s; }
.eitr-reward-card:hover, .eitr-reward-card[aria-expanded="true"] { transform: translateY(-5px); border-color: #2b88c1; box-shadow: 0 5px 0 #88b8da, 0 10px 22px #164d8130; }
.eitr-reward-card.is-unlocked { border-color: #d0ad5b; background: linear-gradient(#fffef6f5, #fff5dafa); box-shadow: 0 5px 0 #d9bd76, 0 8px 18px #154e7520; }
.eitr-reward-card.is-unlocked:hover, .eitr-reward-card.is-unlocked[aria-expanded="true"] { border-color: #b98a24; box-shadow: 0 5px 0 #c49c46, 0 10px 22px #164d8130; }
.eitr-reward-card:focus-visible, .eitr-reward-dialog button:focus-visible { outline: 3px solid #1685c9; outline-offset: 4px; }
.eitr-reward-chest { display: grid; place-items: center; width: 100px; height: 112px; overflow: hidden; border: 1px solid #d6e5f0; border-radius: 14px; background: #fff; }
.is-unlocked .eitr-reward-chest { border-color: #e6cc91; }
.eitr-reward-chest > svg { display: block; width: 96px; height: 104px; max-width: 100%; }
.eitr-reward-threshold { font-size: 25px; font-weight: 800; line-height: 1.15; font-variant-numeric: tabular-nums; }
.eitr-reward-state { display: flex; align-items: center; gap: 5px; color: #536f89; font-size: 11px; font-weight: 700; }
.eitr-reward-state::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #91a7bd; }
.is-unlocked .eitr-reward-state { color: #3f7428; }
.is-unlocked .eitr-reward-state::before { background: #5d9e35; }
.eitr-reward-code-preview { width: 100%; min-height: 29px; padding: 7px 2px; overflow-wrap: anywhere; border: 1px solid #cbddec; border-radius: 8px; background: #e8f2fa; color: #526e87; font-size: 10px; line-height: 1.4; }
.is-unlocked .eitr-reward-code-preview { border-color: #e4ce9e; background: #fffdf6; color: #68501c; font-family: Consolas, "Courier New", monospace; font-weight: 700; letter-spacing: -.1px; }
.eitr-reward-view { color: #32678f; font-size: 11px; font-weight: 700; }
.eitr-reward-hint { margin: 20px 0 0; color: #335a7c; font-size: 11px; line-height: 1.7; }
.eitr-reward-dialog { position: fixed; z-index: 1100; width: 350px; max-width: calc(100vw - 24px); max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); overflow: auto; padding: 0; border: 1px solid #a9c7de; border-radius: 18px; background: #fff; color: #193c67; box-shadow: 0 18px 55px #0c2b5660; text-align: left; font-family: "Inter", Arial, sans-serif; }
.eitr-reward-dialog[hidden] { display: none !important; }
.eitr-reward-dialog-heading { position: sticky; top: 0; z-index: 1; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 16px 16px 13px; border-bottom: 1px solid #dde8ef; background: linear-gradient(105deg, #eaf5ff, #fff6d9); }
.eitr-reward-eyebrow { color: #547793; font-size: 9px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; }
.eitr-reward-dialog h2 { margin: 4px 0 0; color: #193c67; font-family: inherit; font-size: 19px; font-weight: 700; line-height: 1.4; }
.eitr-reward-dialog .eitr-reward-close { flex-shrink: 0; display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%; background: #ffffffb3; color: #496a88; font: 24px/1 Arial, sans-serif; cursor: pointer; }
.eitr-reward-status { margin: 13px 16px 8px; color: #586f83; font-size: 11px; }
.eitr-reward-status.is-unlocked { color: #42762b; }
.eitr-reward-items { margin: 0; padding: 0 16px; list-style: none; }
.eitr-reward-items > li { display: flex; align-items: center; gap: 10px; margin: 0; padding: 10px 0; border-bottom: 1px solid #edf1f6; }
.eitr-reward-item-icon { flex: 0 0 40px; display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid #d3e1ec; border-radius: 9px; background: #f4f8fc; }
.eitr-reward-item-icon img { display: block; width: 32px; height: 32px; object-fit: contain; }
.eitr-reward-item-icon.is-mystery { position: relative; border-color: #dfc276; background: #fff8e1; }
.eitr-reward-mystery-mark { position: absolute; right: -4px; bottom: -3px; display: grid; place-items: center; width: 17px; height: 17px; border: 1px solid #b78a29; border-radius: 50%; background: #ffe8a0; color: #573f12; font-size: 12px; font-weight: 800; line-height: 1; }
.eitr-reward-item-text, .eitr-reward-empty > span { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.eitr-reward-items strong { color: #193c67; font-size: 12px; font-weight: 700; line-height: 1.45; overflow-wrap: anywhere; }
.eitr-reward-items small { color: #667f94; font-size: 10px; line-height: 1.5; }
.eitr-reward-empty > img { flex: 0 0 36px; }
.eitr-reward-quantity { flex-shrink: 0; color: #54738e; font-size: 12px; font-weight: 700; }
.eitr-reward-code-area { margin: 14px 16px 16px; padding: 12px; border: 1px solid #d5e3ee; border-radius: 11px; background: #f4f8fc; }
.eitr-reward-code-label { color: #5f7e9a; font-size: 10px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; }
.eitr-reward-code-row { display: flex; align-items: center; gap: 8px; margin-top: 7px; }
.eitr-reward-code-row > code { flex: 1; min-width: 0; padding: 0; border: 0; background: transparent; color: #1c5381; font-size: 12px; font-weight: 700; overflow-wrap: anywhere; }
.eitr-reward-code-row > button { flex-shrink: 0; padding: 8px 10px; border: 1px solid #9fc66e; border-radius: 8px; background: linear-gradient(#efffd5, #c6ec97); color: #234b18; font-family: inherit; font-size: 10px; font-weight: 700; white-space: nowrap; cursor: pointer; }
.eitr-reward-code-area > p { margin: 8px 0 0; color: #5f7a90; font-size: 10px; line-height: 1.6; }
.eitr-reward-copy-status { margin: -5px 16px 14px; color: #356921; font-size: 11px; }
.eitr-reward-copy-status:empty { display: none; }
@media (max-width: 650px) {
    .eitr-rewards { max-width: 440px; }
    .eitr-reward-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
    .eitr-reward-card { padding: 14px 9px 12px; }
    .eitr-reward-chest { width: 94px; height: 102px; }
    .eitr-reward-chest > svg { width: 87px; height: 94px; }
    .eitr-reward-code-preview { font-size: 9px; }
    .eitr-reward-hint { font-size: 10px; }
    .eitr-reward-dialog { left: 12px !important; right: 12px; top: auto !important; bottom: 12px; width: auto; max-width: none; max-height: 67vh; max-height: 67dvh; }
    .eitr-reward-progress-summary { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) { .eitr-reward-card { transition: none; } }
