/* Helix-only feedback. Overlay effects never change balances or game outcomes. */
.helix-rewards { position:absolute; inset:0; z-index:27; overflow:hidden; pointer-events:none; }
.helix-reward { position:absolute; width:max-content; padding:7px 13px; border:1px solid #afffe4; border-radius:999px; background:#042d38eb; color:#8affd5; font:900 clamp(20px,4.5vw,30px)/1.1 system-ui,sans-serif; font-variant-numeric:tabular-nums; text-shadow:0 2px 8px #003c32; box-shadow:0 5px 22px #36f5b84d; animation:helix-reward-rise 1.3s ease-out both; }
@keyframes helix-reward-rise { 0% { opacity:0; transform:translate(-50%,0) scale(.65); } 15% { opacity:1; transform:translate(calc(-50% + var(--reward-shift)), -24px) scale(1.1); } 65% { opacity:1; } 100% { opacity:0; transform:translate(calc(-50% + var(--reward-shift)), -115px) scale(.95); } }
.helix-loss { display:none; position:absolute; z-index:34; inset:0; place-items:center; overflow:hidden; pointer-events:none; background:radial-gradient(ellipse at center,#91203936,#080b19d9); }
.is-crashing .helix-loss { display:grid; animation:helix-loss-in .28s ease-out both; }
.helix-loss__ring { position:absolute; width:min(460px,85vw); aspect-ratio:1; border:3px solid #ff4f66; border-radius:50%; box-shadow:0 0 0 26px #ff486010,0 0 90px #ed365040; animation:helix-impact-ring .9s ease-out both; }
.helix-loss__card { z-index:1; max-width:calc(100% - 40px); text-align:center; color:#fff; animation:helix-loss-card .5s .28s ease-out both; }
.helix-loss__card>span { display:grid; place-items:center; margin:0 auto 20px; width:76px; height:76px; border:1px solid #ff8492; border-radius:24px; color:#fff; font:300 70px/.8 system-ui; background:linear-gradient(135deg,#ff6477,#ba173a); box-shadow:0 12px 45px #cf254455; }
.helix-loss__card>small { display:block; color:#ff9eaa; font:800 12px/1.4 system-ui; letter-spacing:.18em; }
.helix-loss__card>strong { display:block; margin:12px auto; font:900 clamp(30px,6vw,44px)/1.08 system-ui; letter-spacing:-.035em; }
.helix-loss__card>p { max-width:29ch; margin:18px auto 0; color:#b8c7d9; font:500 14px/1.5 system-ui; }
.game-world--3d.is-crashing .game-canvas { filter:saturate(.5); transition:filter .6s; }
.game-world--3d .game-crash-transition { background:radial-gradient(ellipse at center,#91203936,#080b19d9); }
.game-world--3d .game-crash-transition__panel { border:1px solid #ff687745; background:#0c182dee; border-radius:28px; box-shadow:0 22px 90px #02071399; }
.game-world--3d .game-crash-transition__panel strong { color:#fff; }
.game-world--3d .game-crash-transition__icon { color:#ff657d; font-family:system-ui; }
.game-world--3d .game-crash-transition__snow { display:none; }
.game-world--3d .game-cashout-celebration { background:radial-gradient(ellipse at center,#0c786940,#031122e6); backdrop-filter:blur(4px); }
.game-world--3d .game-cashout-celebration__card { border:1px solid #6affc88f; background:linear-gradient(150deg,#123d43f5,#0a1a30fa); box-shadow:0 25px 90px #010b18aa,0 0 55px #28dfab26; }
.game-world--3d .game-cashout-celebration__card::after { transform:none; background:linear-gradient(108deg,transparent 35%,#b9ffe94d 50%,transparent 65%) no-repeat; background-size:300% 100%; animation:helix-cashout-sheen 1s .5s both; }
.game-world--3d .game-cashout-celebration__card p { color:#8cffce; }
.game-world--3d .game-cashout-celebration__card strong { color:#fff; font-family:system-ui; text-shadow:0 0 30px #52ffbc60; }
.game-world--3d .game-cashout-celebration__card small { color:#b9e6da; background:#173c43; }
.game-world--3d .game-cashout-celebration__badge { background:#143746; color:#86ecdd; border-color:#397b79; }
.game-world--3d .game-cashout-celebration__check { background:linear-gradient(140deg,#a1ffd2,#23cc8e); color:#06432e; }
.game-world--3d .game-cashout-celebration__halo { border-color:#68ffc3; box-shadow:0 0 0 18px #45ffd314,0 0 80px #22eaab44; }
.game-world--3d .game-sound[data-audio-state="blocked"]::after { background:#ffc85a; box-shadow:0 0 8px #ffc85a80; }
@keyframes helix-impact-ring { from { opacity:1; transform:scale(.2); } to { opacity:0; transform:scale(1.4); } }
@keyframes helix-loss-card { from { opacity:0; transform:translateY(20px) scale(.9); } to { opacity:1; transform:none; } }
@keyframes helix-loss-in { from { opacity:0; } to { opacity:1; } }
@keyframes helix-cashout-sheen { from { background-position:150% 0; } to { background-position:-50% 0; } }
@media(prefers-reduced-motion:reduce) {
  .helix-reward { animation:none; transform:translate(-50%,-35px); }
  .helix-loss,.helix-loss__card,.helix-loss__ring { animation:none!important; }
  .helix-loss__ring { display:none; }
  .game-world--3d .game-cashout-celebration,.game-world--3d .game-cashout-celebration * { animation:none!important; }
  .game-world--3d .game-cashout-celebration__coins,.game-world--3d .game-cashout-celebration__rays { display:none; }
}
