.purchase-options { margin: 24px 0; padding: 22px; border: 1px solid var(--app-line); border-radius: 22px; background: var(--app-surface); color: var(--app-ink); }
.purchase-options fieldset { padding: 0; margin: 0; border: 0; min-width: 0; }
.purchase-options legend { font-size: 18px; font-weight: 650; padding: 0; margin-bottom: 18px; }
.purchase-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.purchase-choices label { display: flex; align-items: center; gap: 12px; cursor: pointer; padding: 17px; border: 1px solid var(--app-line); border-radius: 16px; background: var(--app-paper); }
.purchase-choices label:has(input:checked) { border-color: var(--app-action); box-shadow: inset 0 0 0 1px var(--app-action); background: var(--app-panel); }
.purchase-choices label:has(input:focus-visible) { outline: 2px solid var(--app-action); outline-offset: 3px; }
.purchase-choices input { width: 18px; height: 18px; flex: 0 0 18px; margin: 0; accent-color: var(--app-action); }
/* Keep the native radio circular; shared text-field styles must not frame it. */
:root[data-theme] .unified-page .purchase-choices input[type="radio"] { appearance: auto; width: 18px; height: 18px; min-height: 0; padding: 0; border: 0; border-radius: 50%; background: transparent; outline: none; box-shadow: none; accent-color: var(--app-action); }
.purchase-choices strong, .purchase-choices small { display: block; }
.purchase-choices strong { font-size: 16px; }
.purchase-choices small { margin-top: 5px; font-size: 12px; color: var(--app-muted); line-height: 1.6; }
.purchase-note { color: var(--app-muted); line-height: 1.8; font-size: 13px; margin: 16px 0 6px; }
.purchase-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.purchase-links a { display: inline-flex; align-items: center; min-height: 40px; color: var(--app-action); font-size: 13px; text-underline-offset: 4px; }
.gift-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.gift-card { min-width: 0; padding: 22px; border: 1px solid var(--app-line); border-radius: 20px; background: linear-gradient(135deg,var(--app-panel),var(--app-surface) 70%); }
.gift-card h3 { margin: 14px 0 8px; }
.gift-card p { font-size: 13px; line-height: 1.8; }
.gift-card .gift-code { display: block; font-size: clamp(12px,2vw,15px); letter-spacing: .025em; padding: 15px 10px; border: 1px dashed var(--app-line); border-radius: 10px; background: var(--app-surface); color: var(--app-ink); overflow-wrap: anywhere; user-select: all; }
.gift-card .gift-state { color: var(--app-action); font-size: 12px; font-weight: 650; }
.gift-card .gift-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 15px; }
.gift-card .gift-actions button { min-height: 44px; }
.gift-card .gift-reward { border-top: 1px solid var(--app-line); padding-top: 12px; color: var(--app-ink); }
.gift-card small { overflow-wrap: anywhere; }
@media(max-width:650px) { .gift-grid { grid-template-columns: 1fr; } .purchase-options { padding: 18px; } .purchase-choices { gap: 8px; } .purchase-choices label { align-items: flex-start; padding: 14px 10px; gap: 8px; } .purchase-choices input { margin-top: 2px; } }
