/* Game: Scratch Card */
.arcade-scratch .sc-title { margin: 0; color: var(--a-fg); font-size: clamp(1.5rem, 4vw, 2.3rem); text-align: center; overflow-wrap: anywhere; }
.arcade-scratch .sc-status { min-height: 1.65em; max-width: 46ch; margin: 8px auto 14px; color: var(--a-fg); font-weight: 600; text-align: center; opacity: .92; text-wrap: balance; }
/* The prize sits in normal flow, so a long label makes the card taller instead of being clipped */
.arcade-scratch .sc-card { position: relative; display: grid; width: min(100%, 460px); aspect-ratio: 16 / 9; margin: 0 auto; border: 3px solid #1C1433; border-radius: 22px; background: #fff; box-shadow: 0 6px 0 #1C1433; overflow: hidden; }
.arcade-scratch .sc-card::before { content: ""; position: absolute; inset: 10px; border: 2px dashed color-mix(in srgb, var(--a-c1) 55%, transparent); border-radius: 14px; pointer-events: none; }
.arcade-scratch .sc-under { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 22px 20px; color: #1C1433; text-align: center; }
.arcade-scratch .sc-kicker { font-weight: 700; font-size: .95rem; color: #5E5675; }
.arcade-scratch .sc-prize { font-family: var(--a-font-display); font-weight: 800; font-size: clamp(1.5rem, 7vw, 2.6rem); line-height: 1.15; overflow-wrap: anywhere; text-wrap: balance; }
.arcade-scratch .sc-card.is-win .sc-prize { color: color-mix(in srgb, var(--a-c1) 80%, #1C1433); }
.arcade-scratch .sc-foil { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: none; cursor: grab; transition: opacity .55s ease; }
.arcade-scratch .sc-foil:active { cursor: grabbing; }
.arcade-scratch .sc-foil.is-gone { opacity: 0; pointer-events: none; }
.arcade-scratch.is-reduced .sc-foil { transition: none; }
.arcade-scratch .sc-acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 18px; }
.arcade-scratch .sc-acts .a-btn { min-width: min(180px, 100%); background: var(--a-accent); color: var(--a-accent-ink); border-color: #1C1433; box-shadow: 0 5px 0 #1C1433; }
.arcade-scratch .sc-acts [hidden] { display: none; }
@media (prefers-reduced-motion: reduce) { .arcade-scratch .sc-foil { transition: none; } }
