/* Invite + gift sheets (owner: Claude). Neutral; the gift mark uses --saved gold, the "reward" colour. */
.inv-panel, .inv-redeem, .inv-gift { display: grid; gap: 12px; padding-bottom: 6px; }
.inv-hero { text-align: center; }
.inv-hero h3, .inv-gift h3 { margin: 0 0 6px; font: 500 24px/1.15 var(--serif); color: var(--ink); }
.inv-hero p, .inv-gift p, .inv-redeem p { margin: 0; color: var(--muted); font: 400 14px/1.45 var(--sans); }
.inv-qr { justify-self: center; width: 168px; height: 168px; padding: 10px; border-radius: var(--r); background: #fff; }
.inv-qr svg { display: block; width: 100%; height: 100%; }
.inv-qr:empty { display: none; }
.inv-code { display: flex; align-items: center; justify-content: space-between; min-height: 60px; padding: 0 16px; border: 1px dashed var(--line); border-radius: var(--r); background: var(--surface); color: var(--ink); cursor: pointer; text-align: left; }
.inv-code small { display: block; color: var(--muted); font: 500 11px var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.inv-code strong { display: block; margin-top: 2px; font: 600 22px var(--sans); letter-spacing: .18em; }
.inv-code .icon { color: var(--muted); }
.inv-primary { width: 100%; min-height: 50px; border: 0; border-radius: var(--r); background: var(--accent); color: var(--on-accent); font: 600 15px var(--sans); cursor: pointer; }
.inv-primary:active, .inv-code:active { transform: scale(.98); }
.inv-count { display: flex; justify-content: space-between; padding: 12px 2px 0; border-top: 1px solid var(--line); color: var(--muted); font: 400 13px var(--sans); }
.inv-count strong { color: var(--ink); font-weight: 600; }
.inv-link { justify-self: center; min-height: 44px; padding: 0 12px; border: 0; background: none; color: var(--ink-2); font: 500 14px var(--sans); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.inv-redeem input { min-height: 54px; padding: 0 16px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); color: var(--ink); font: 600 20px var(--sans); letter-spacing: .14em; text-transform: uppercase; text-align: center; }
.inv-redeem input:focus { outline: 2px solid var(--ink-2); outline-offset: 1px; }
.inv-redeem .inv-hint { text-align: center; font-size: 12px; }
.inv-gift { justify-items: center; text-align: center; padding-top: 8px; }
.inv-gift-mark { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; color: var(--saved); background: color-mix(in srgb, var(--saved) 14%, transparent); border: 1px solid color-mix(in srgb, var(--saved) 35%, transparent); animation: inv-pop .5s var(--ease-out); }
.inv-gift-mark .icon { width: 32px; height: 32px; }
.inv-kicker { color: var(--saved) !important; font-weight: 600 !important; font-size: 12px !important; letter-spacing: .08em; text-transform: uppercase; }
@keyframes inv-pop { from { transform: scale(.6); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .inv-gift-mark { animation: none; } }

/* You page card */
.you-invite { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; width: 100%; min-height: 64px; margin: 0 0 18px; padding: 0 14px; border: 1px solid color-mix(in srgb, var(--saved) 35%, var(--line)); border-radius: var(--r); background: var(--surface); color: var(--ink); text-align: left; cursor: pointer; }
.you-invite strong, .you-invite small { display: block; }
.you-invite strong { font: 600 15px var(--sans); }
.you-invite small { margin-top: 3px; color: var(--muted); font: 400 12px var(--sans); }
.you-invite-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; color: var(--saved); background: color-mix(in srgb, var(--saved) 12%, transparent); }
.you-invite > .icon { color: var(--muted); }
