/* Reward pop-ups (static/js/rewards.js) */
.rw-stack { position: fixed; right: 18px; bottom: 18px; z-index: 2000; display: flex; flex-direction: column-reverse; gap: 10px; width: min(340px, calc(100vw - 36px)); pointer-events: none; }
.rw-card { --a: #00ff95; position: relative; display: flex; align-items: center; gap: 12px; padding: 12px 14px 14px; overflow: hidden; pointer-events: auto; cursor: pointer;
           color: #e6f1ff; background: linear-gradient(135deg, rgba(12, 22, 32, 0.97), rgba(8, 13, 20, 0.97)); border: 1px solid color-mix(in srgb, var(--a) 55%, transparent);
           border-radius: 12px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55), 0 0 22px color-mix(in srgb, var(--a) 22%, transparent); animation: rw-in 0.45s cubic-bezier(0.2, 1.4, 0.4, 1) both; }
.rw-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, color-mix(in srgb, var(--a) 28%, transparent) 50%, transparent 70%); transform: translateX(-120%); animation: rw-sheen 0.9s 0.25s ease-out both; }
.rw-bonus, .rw-coins { --a: #ffc93c; } .rw-badge { --a: #00d1ff; } .rw-mission { --a: #a970ff; }
.rw-icon { flex: none; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; font-size: 1.25rem; color: var(--a); background: color-mix(in srgb, var(--a) 14%, transparent); animation: rw-pop 0.5s 0.15s cubic-bezier(0.2, 1.6, 0.4, 1) both; }
.rw-coin { width: 20px; height: 20px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff3b0, #ffc93c 55%, #c98a00); box-shadow: 0 0 0 1px #8a5f00 inset; }
.rw-body { min-width: 0; flex: 1; } .rw-title { font-family: var(--font-display, "Orbitron", sans-serif); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--a); }
.rw-text { font-size: 0.86rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: 0.9; }
.rw-amount { flex: none; font-family: var(--font-display, "Orbitron", sans-serif); font-weight: 700; font-size: 1.35rem; color: var(--a); text-shadow: 0 0 14px color-mix(in srgb, var(--a) 60%, transparent); }
.rw-timer { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--a); transform-origin: left; animation: rw-timer linear both; opacity: 0.7; }
.rw-card.rw-out { animation: rw-leave 0.32s ease-in both; }
@keyframes rw-in { from { transform: translateX(120%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes rw-leave { to { transform: translateX(40%); opacity: 0; } }
@keyframes rw-sheen { to { transform: translateX(120%); } }
@keyframes rw-pop { from { transform: scale(0.3) rotate(-25deg); } to { transform: none; } }
@keyframes rw-timer { from { transform: scaleX(1); } to { transform: scaleX(0); } }

.rw-belt-overlay { --c: #ffe14d; --g: #ffe14d; position: fixed; inset: 0; z-index: 2100; display: grid; place-items: center; background: radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--g) 26%, rgba(3, 6, 10, 0.9)), rgba(3, 6, 10, 0.94) 62%); animation: rw-fade 0.3s ease-out both; }
.rw-belt-overlay.rw-out { animation: rw-fade 0.35s ease-in reverse both; }
.rw-confetti { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.rw-belt-box { position: relative; text-align: center; padding: 20px 28px; color: #e6f1ff; max-width: 92vw; }
.rw-rays { position: absolute; left: 50%; top: 46%; width: 900px; height: 900px; margin: -450px; border-radius: 50%; pointer-events: none; opacity: 0.22;
           background: repeating-conic-gradient(from 0deg, var(--g) 0deg 6deg, transparent 6deg 18deg); -webkit-mask: radial-gradient(circle, #000 12%, transparent 62%); mask: radial-gradient(circle, #000 12%, transparent 62%); animation: rw-spin 26s linear infinite; }
.rw-kicker { position: relative; font-family: var(--font-display, "Orbitron", sans-serif); letter-spacing: 0.5em; font-size: 0.95rem; color: var(--g); animation: rw-rise 0.5s 0.1s both; }
.rw-avatar { position: relative; width: 150px; height: 150px; border-radius: 50%; border: 4px solid var(--g); background: #0d141d; margin: 14px auto 0; display: block; box-shadow: 0 0 40px color-mix(in srgb, var(--g) 55%, transparent); animation: rw-zoom 0.6s 0.2s cubic-bezier(0.2, 1.5, 0.4, 1) both; }
.rw-beltbar { position: relative; width: min(360px, 70vw); height: 34px; margin: 22px auto 16px; border-radius: 6px; background: var(--c); border: 2px solid rgba(255, 255, 255, 0.55); box-shadow: 0 0 34px color-mix(in srgb, var(--g) 70%, transparent); animation: rw-belt 0.7s 0.35s cubic-bezier(0.2, 1.2, 0.3, 1) both; }
.rw-beltbar span { position: absolute; left: 50%; top: -9px; width: 34px; height: 52px; margin-left: -17px; border-radius: 5px; background: var(--c); border: 2px solid rgba(255, 255, 255, 0.6); filter: brightness(0.85); }
.rw-belt-name { position: relative; font-family: var(--font-display, "Orbitron", sans-serif); font-weight: 700; font-size: clamp(1.8rem, 6vw, 3.2rem); letter-spacing: 0.06em; text-shadow: 0 0 30px var(--g), 0 2px 0 #000; animation: rw-zoom 0.6s 0.55s cubic-bezier(0.2, 1.5, 0.4, 1) both; }
.rw-belt-title { position: relative; font-size: 1.15rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--g); margin-top: 4px; animation: rw-rise 0.5s 0.8s both; }
.rw-belt-text { position: relative; margin-top: 12px; font-size: 0.95rem; opacity: 0.85; animation: rw-rise 0.5s 1s both; }
.rw-belt-close { position: relative; margin-top: 22px; padding: 9px 26px; border-radius: 999px; border: 1px solid var(--g); background: rgba(0, 0, 0, 0.4); color: #e6f1ff; font-family: var(--font-display, "Orbitron", sans-serif); letter-spacing: 0.12em; font-size: 0.8rem; cursor: pointer; animation: rw-rise 0.5s 1.3s both; }
.rw-belt-close:hover { background: color-mix(in srgb, var(--g) 22%, transparent); }
@keyframes rw-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes rw-spin { to { transform: rotate(360deg); } }
@keyframes rw-rise { from { transform: translateY(16px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes rw-zoom { from { transform: scale(0.4); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes rw-belt { from { transform: scaleX(0); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .rw-card, .rw-card::before, .rw-icon, .rw-belt-overlay, .rw-belt-box *, .rw-rays { animation: none !important; } .rw-timer { animation: rw-timer linear both !important; } }
