/* Giveaways and their in-game rewards. */

.giveaway-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 14px; }
.giveaway { overflow: hidden; }
.giveaway:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
/* The status stripe replaces the card's hairline on giveaways. */
.giveaway.active::before, .giveaway.scheduled::before {
    inset: 0 0 auto; height: 3px; padding: 0; border-radius: 0; -webkit-mask: none; mask: none; opacity: 1;
}
.giveaway.active::before { background: var(--nebula); background-size: 200% 100%; animation: gradient-pan 4s ease-in-out infinite alternate; }
.giveaway.scheduled::before { background: var(--violet); opacity: .6; }
.giveaway.ended, .giveaway.cancelled { opacity: .78; }
.giveaway.is-hidden { opacity: .55; border-style: dashed; }
.prizes { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 3px; font-size: 15px; }
.prize-list { display: flex; flex-direction: column; gap: 8px; font-weight: 400; }
.prize-row { display: flex; align-items: center; gap: 8px; }
.prize-row > input { flex: 1; }
.prize-row input[type="number"] { width: 70px; }
.add-prize { align-self: flex-start; }

.prize-block { display: flex; flex-direction: column; gap: 8px; padding: 10px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border); }
.reward-editor { display: flex; flex-direction: column; gap: 8px; }
.reward-row { display: flex; flex-direction: column; gap: 6px; padding: 8px 10px; border-left: 3px solid var(--violet); border-radius: 8px; background: var(--surface-2); animation: fade-up var(--t) var(--ease-out) both; }
.reward-row .slash { font-family: var(--mono); color: var(--faint); }
.server-chips { gap: 6px; }
.reward-prize { display: flex; flex-direction: column; gap: 8px; }
.reward-prize h3 { margin: 0; text-transform: none; letter-spacing: 0; font-size: 14px; color: var(--text); }
