/* GIFT CHOICE (idea C) on the amount step. Space is reserved up front (fixed height, scrolls inside) = no layout jump. */
.unlock { background: var(--gray-50, #f9fafb); border-radius: 12px; padding: 10px 8px 8px; margin: -6px 0 16px; }
.unlock-head { font-size: 14px; font-weight: 700; color: var(--gray-700, #374151); text-align: center; margin-bottom: 8px; min-height: 40px; display: flex; align-items: center; justify-content: center; text-wrap: balance; }
.unlock-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; height: auto; max-height: 200px; /* fits its rows: 1 row = 1 row tall, 2+ rows = 200 then scrolls (his 11-15) */ overflow-y: auto; overflow-x: hidden; align-content: start; padding: 2px; }
.unlock.locked .unlock-grid { background: repeating-linear-gradient(135deg, transparent 0 12px, rgba(0,0,0,.025) 12px 24px); border-radius: 10px; }
.unlock .gift { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 4px 3px 5px; border: 2px solid var(--gray-200, #e5e7eb); border-radius: 12px; background: #fff; cursor: pointer; transition: transform .12s; font: inherit; }
.unlock .gift:active { transform: scale(.96); }
.unlock .gift.active { border-color: var(--red, #dc2626); background: var(--red-50, #fef2f2); box-shadow: 0 0 0 3px rgba(220, 38, 38, .15); }
.unlock .gift.active::after { content: "✓"; position: absolute; top: 2px; right: 2px; width: 18px; height: 18px; border-radius: 50%; background: var(--red, #dc2626); color: #fff; font-size: 12px; font-weight: 800; line-height: 18px; text-align: center; }
.unlock .g-art { width: 100%; aspect-ratio: 1; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 30px; background: radial-gradient(circle at 50% 40%, #fff 0%, #fde7f3 55%, #e9d5ff 100%); }
.unlock .g-art.g-none { background: linear-gradient(160deg, #f3f4f6, #e5e7eb); }
.unlock .g-name { font-size: 11px; font-weight: 700; color: var(--gray-800, #1f2937); line-height: 1.2; text-wrap: balance; text-align: center; }
/* name nudge when a gift is picked: same glow as an empty name box, but warm + bold reason */
.who-gift.who-empty { box-shadow: 0 0 0 2px #f59e0b, 0 0 14px rgba(245, 158, 11, .3); background: #fffbeb; animation: whoGlowGift 2.2s ease-in-out infinite; }
@keyframes whoGlowGift { 0%, 100% { box-shadow: 0 0 0 2px #f59e0b, 0 0 8px rgba(245, 158, 11, .2); } 50% { box-shadow: 0 0 0 3px #f59e0b, 0 0 18px rgba(245, 158, 11, .45); } }
@media (prefers-reduced-motion: reduce) { .who-gift.who-empty { animation: none; } }
.who-gift.who-empty .message-label { color: #b45309; }
.who-gift .who-why { font-weight: 700; }
.unlock .g-art img { width: 100%; height: 100%; object-fit: contain; padding: 2px; }
.unlock-hint { min-height: 20px; margin-top: 6px; font-size: 13px; font-weight: 700; color: var(--red, #dc2626); text-align: center; text-wrap: balance; }
.unlock.locked .unlock-grid { overflow: hidden; } /* his 11-15: no amount yet = ONE grayed preview row; grows when an amount is typed */
.unlock .gift:disabled { cursor: default; filter: grayscale(1); opacity: .45; }
.unlock .gift:disabled:active { transform: none; }
