/* Spin & Scopri (demo, 29/11/2026): slot con i prodotti del catalogo. Stile Las Vegas: velluto rosso, oro, lampadine e insegne */
@font-face { font-family: "Bungee"; src: url("font/bungee.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Bungee Inline"; src: url("font/bungee-inline.woff2") format("woff2"); font-display: swap; }
:root {
  --bg: #12030a;
  --velvet: #3d0715;
  --velvet2: #22030b;
  --ink: #fff7e6;
  --muted: #e6c9a8;
  --gold1: #fff1b8;
  --gold2: #f6c945;
  --gold3: #b8860b;
  --gold4: #7a5200;
  --red1: #ff4d4d;
  --red2: #d90429;
  --red3: #7d0016;
  --ok: #3ef08a;
  --gold: linear-gradient(180deg, var(--gold1) 0%, var(--gold2) 38%, var(--gold3) 62%, #ffe08a 82%, var(--gold4) 100%);
  --r: 20px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --sign: "Bungee", Impact, "Arial Black", sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; color: var(--ink); font-family: var(--font); -webkit-font-smoothing: antialiased; }
body { overflow-x: hidden; padding: env(safe-area-inset-top) 0 env(safe-area-inset-bottom);
  background: radial-gradient(120% 70% at 50% 0%, #5c0b1d 0%, var(--velvet) 35%, var(--velvet2) 70%, var(--bg) 100%) fixed; }
/* trama del velluto: rombi leggerissimi */
body::before { content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .18;
  background-image: linear-gradient(45deg, rgba(255, 215, 120, .12) 25%, transparent 25%, transparent 75%, rgba(255, 215, 120, .12) 75%),
                    linear-gradient(45deg, rgba(255, 215, 120, .12) 25%, transparent 25%, transparent 75%, rgba(255, 215, 120, .12) 75%);
  background-size: 28px 28px; background-position: 0 0, 14px 14px; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; -webkit-tap-highlight-color: transparent; }
.muted { color: var(--muted); }

/* fari da palco che si muovono dietro */
.aurora { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.aurora i { position: absolute; top: -20%; width: 46vmax; height: 140vh; transform-origin: 50% 0; filter: blur(30px); opacity: .22;
  background: linear-gradient(180deg, rgba(255, 220, 140, .9), transparent 75%); clip-path: polygon(45% 0, 55% 0, 100% 100%, 0 100%); animation: sweep 9s ease-in-out infinite alternate; }
.aurora i:nth-child(1) { left: -12%; }
.aurora i:nth-child(2) { right: -12%; animation-delay: -4s; background: linear-gradient(180deg, rgba(255, 90, 120, .9), transparent 75%); }
.aurora i:nth-child(3) { left: 30%; animation-duration: 13s; opacity: .14; }
@keyframes sweep { from { transform: rotate(-16deg); } to { transform: rotate(16deg); } }
#fx { position: fixed; inset: 0; z-index: 50; pointer-events: none; }

.screen { position: relative; z-index: 1; display: none; }
.screen.on { display: block; }
.tag-demo { display: inline-block; font-family: var(--sign); font-size: .62rem; letter-spacing: .12em; padding: .28rem .6rem .22rem; border-radius: 99px;
  color: #2b1600; background: var(--gold); box-shadow: 0 2px 8px rgba(0, 0, 0, .4); }

/* ---- pannello con cornice d'oro */
.panel { position: relative; border-radius: var(--r); padding: 3px; background: var(--gold); box-shadow: 0 18px 50px rgba(0, 0, 0, .55), 0 0 40px rgba(246, 201, 69, .18); }
.panel > .inner { position: relative; border-radius: calc(var(--r) - 3px); background: linear-gradient(180deg, #2a0510, #16020a); box-shadow: inset 0 0 0 1px rgba(255, 230, 160, .25), inset 0 10px 30px rgba(0, 0, 0, .5); }

/* ---- lampadine che si rincorrono (le mette app.js lungo il bordo) */
.bulbs { position: absolute; inset: 0; pointer-events: none; z-index: 3; }
.bulb { position: absolute; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%; background: #ffe9a8;
  box-shadow: 0 0 6px 2px rgba(255, 210, 90, .9), 0 0 14px 4px rgba(255, 170, 40, .5); animation: chase 1.2s steps(1) infinite; }
.bulb:nth-child(3n+2) { animation-delay: -.4s; }
.bulb:nth-child(3n+3) { animation-delay: -.8s; }
@keyframes chase { 0% { opacity: 1; } 33% { opacity: .22; box-shadow: none; } }
.party .bulb { animation-duration: .36s; background: #fff; }

/* ---- insegna */
.sign { font-family: var(--sign); text-align: center; line-height: .95; }
.sign .l1, .sign .l2 { display: block; background: var(--gold); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 0 #5a3a00) drop-shadow(0 0 14px rgba(255, 200, 60, .55)); }
.sign .amp { display: block; font-family: "Bungee Inline", var(--sign); color: #ff5a6e; text-shadow: 0 0 8px #ff2a4a, 0 0 22px #ff2a4a; font-size: .55em; margin: .08em 0; animation: neon 3s infinite; }
@keyframes neon { 0%, 18%, 22%, 60%, 64%, 100% { opacity: 1; } 20%, 62% { opacity: .35; } }

/* ---- inizio */
#start, #phoneOnly { min-height: 100svh; display: none; place-items: center; padding: 1.2rem; grid-template-columns: minmax(0, 1fr); }
#start.on, #phoneOnly.on { display: grid; }
.start-card { width: min(440px, 100%); justify-self: center; }
.start-card > .inner { padding: 2.2rem 1.4rem 1.5rem; text-align: center; }
.start-sign { font-size: clamp(2.7rem, 14vw, 3.7rem); margin: 1rem 0 1rem; }
.lead { color: var(--muted); margin: 0 0 1.4rem; line-height: 1.45; }
.nick { display: block; text-align: left; margin-bottom: 1rem; }
.nick > span:first-child { font-size: .78rem; color: var(--gold2); font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.nick-row { display: flex; gap: .5rem; margin-top: .35rem; }
.nick input { flex: 1; min-width: 0; font: 800 1.1rem var(--font); color: var(--ink); background: rgba(0, 0, 0, .45); border: 1px solid rgba(246, 201, 69, .45); border-radius: 14px; padding: .85rem 1rem; outline: none; }
.nick input:focus { border-color: var(--gold2); box-shadow: 0 0 0 3px rgba(246, 201, 69, .25); }
.btn-main { width: 100%; padding: 1.05rem; border-radius: 16px; font-family: var(--sign); font-size: 1.2rem; letter-spacing: .06em; color: #2b1600;
  background: var(--gold); box-shadow: 0 6px 0 var(--gold4), 0 14px 30px rgba(0, 0, 0, .5); transition: transform .1s, box-shadow .1s; }
.btn-main:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--gold4), 0 6px 14px rgba(0, 0, 0, .5); }
.start-foot { margin-top: 1rem; font-size: .85rem; color: var(--muted); min-height: 1.2em; }
.url-big { font-family: var(--sign); font-size: 1.4rem; padding: .9rem 1rem; border-radius: 16px; background: rgba(0, 0, 0, .4); border: 1px solid rgba(246, 201, 69, .45); color: var(--gold2); }
.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; flex-shrink: 0; font-size: 1.1rem;
  background: radial-gradient(circle at 35% 30%, #5a1022, #2a0510); border: 2px solid var(--gold3); box-shadow: 0 3px 0 #000a, inset 0 1px 0 rgba(255, 220, 150, .3); transition: transform .1s; }
.icon-btn:active { transform: scale(.92); }
.icon-btn.on { border-color: var(--gold1); box-shadow: 0 0 14px rgba(246, 201, 69, .7), inset 0 0 10px rgba(246, 201, 69, .35); }

/* ---- gioco */
#game { max-width: 720px; margin: 0 auto; padding: .8rem .8rem 2rem; }
.hud { display: flex; justify-content: space-between; align-items: center; gap: .6rem; margin-bottom: .7rem; }
.hud-left { display: flex; align-items: center; gap: .7rem; min-width: 0; }
.hud-right { display: flex; gap: .4rem; }
.coins { display: flex; align-items: center; gap: .45rem; padding: .35rem .8rem .35rem .4rem; border-radius: 99px; background: rgba(0, 0, 0, .45); border: 2px solid var(--gold3); box-shadow: inset 0 0 12px rgba(246, 201, 69, .2); }
.coin-ic { width: 24px; height: 24px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff6cc, var(--gold2) 45%, var(--gold3) 75%, var(--gold4)); box-shadow: 0 0 10px rgba(246, 201, 69, .8); font-size: 0; }
.coins b { font-family: var(--sign); font-size: 1.15rem; color: var(--gold1); font-variant-numeric: tabular-nums; }
.coins small { display: none; }
.coins.bump { animation: bump .5s; }
@keyframes bump { 40% { transform: scale(1.15); } }
.level { min-width: 0; }
.level span { font-family: var(--sign); font-size: .68rem; color: var(--gold2); white-space: nowrap; letter-spacing: .04em; }
.bar { width: 84px; height: 7px; border-radius: 9px; background: rgba(0, 0, 0, .5); overflow: hidden; margin-top: .25rem; border: 1px solid rgba(246, 201, 69, .35); }
.bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--red1), var(--gold2)); transition: width .5s; }

.missions { display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: none; margin: 0 -.8rem .9rem; padding: 0 .8rem; scroll-snap-type: x mandatory; }
.missions::-webkit-scrollbar { display: none; }
.mission { flex: 0 0 auto; scroll-snap-align: start; display: flex; align-items: center; gap: .45rem; padding: .45rem .75rem; border-radius: 99px;
  background: rgba(0, 0, 0, .4); border: 1px solid rgba(246, 201, 69, .4); font-size: .8rem; font-weight: 700; }
.mission b { color: var(--gold2); }
.mission .muted { color: #ffd27a; }
.mission.done { border-color: var(--ok); background: rgba(62, 240, 138, .14); }

/* la macchina */
.machine { margin-top: .2rem; }
.machine > .inner { padding: 1.1rem .7rem .8rem; }
.machine-sign { font-size: 1.55rem; display: flex; justify-content: center; align-items: center; gap: .35rem; margin: -.1rem 0 .7rem; }
.machine-sign .l1, .machine-sign .l2 { display: inline; }
.machine-sign .amp { display: inline; font-size: .8em; margin: 0; }
.machine-top { display: flex; align-items: center; justify-content: space-between; gap: .6rem; margin-bottom: .6rem; }
.hint { font-size: .76rem; color: var(--muted); line-height: 1.3; text-align: right; }
.reels { display: grid; grid-template-columns: repeat(3, 1fr); gap: .45rem; padding: .45rem; border-radius: 16px;
  background: linear-gradient(180deg, #6b6b6b, #e8e8e8 12%, #9a9a9a 50%, #e8e8e8 88%, #5a5a5a); box-shadow: inset 0 2px 6px rgba(0, 0, 0, .6); }
.reel { position: relative; display: flex; flex-direction: column; gap: .4rem; }
.window { position: relative; height: 210px; overflow: hidden; border-radius: 10px; background: #fff; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .25); }
.window::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  box-shadow: inset 0 14px 16px -12px rgba(0, 0, 0, .55), inset 0 -14px 16px -12px rgba(0, 0, 0, .55); }
.strip { position: absolute; left: 0; right: 0; top: 0; will-change: transform; }
.strip.blur .card img { filter: blur(3px); }
.card { height: 210px; padding: .55rem .45rem .55rem; display: flex; flex-direction: column; align-items: center; justify-content: space-between; text-align: center; background: #fff; }
.card .ph { flex: 1; width: 100%; display: grid; place-items: center; min-height: 0; padding: .2rem; }
.card img { max-width: 100%; max-height: 96px; object-fit: contain; }
.card .nm { font-size: .76rem; font-weight: 800; line-height: 1.18; color: #2a0510; height: 3.54em; overflow: hidden; margin-top: .3rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow-wrap: anywhere; }
.card .pr { font-family: var(--sign); font-size: 1rem; margin-top: .25rem; color: var(--red2); font-variant-numeric: tabular-nums; }
.reel.held .window { box-shadow: inset 0 0 0 3px var(--gold2), 0 0 18px rgba(246, 201, 69, .8); }
.reel.win .window { box-shadow: inset 0 0 0 3px var(--ok), 0 0 24px rgba(62, 240, 138, .8); animation: glow .5s ease-in-out 4 alternate; }
@keyframes glow { to { box-shadow: inset 0 0 0 4px #fff, 0 0 34px rgba(62, 240, 138, 1); } }

/* Tieni e cuore uno sotto l'altro */
.reel-actions { display: flex; flex-direction: column; gap: .35rem; }
.hold, .like { width: 100%; border-radius: 12px; font-family: var(--sign); letter-spacing: .06em; transition: transform .1s, box-shadow .1s; }
.hold { padding: .62rem 0 .55rem; font-size: .8rem; color: #fff;
  background: linear-gradient(180deg, var(--red1), var(--red2) 55%, var(--red3)); box-shadow: 0 4px 0 #4a000c, inset 0 1px 0 rgba(255, 255, 255, .4); }
.hold:active, .like:active { transform: translateY(3px); box-shadow: 0 1px 0 #4a000c; }
.hold.on { color: #2b1600; background: var(--gold); box-shadow: 0 4px 0 var(--gold4), 0 0 16px rgba(246, 201, 69, .7); }
.like { padding: .42rem 0 .36rem; font-size: 1.05rem; color: #ffb3c1; background: rgba(0, 0, 0, .45); border: 1px solid rgba(255, 120, 150, .5); box-shadow: 0 3px 0 #0008; }
.like.on { color: #fff; background: linear-gradient(180deg, #ff5d8f, #d6245b); border-color: transparent; box-shadow: 0 3px 0 #6d0a2a, 0 0 14px rgba(255, 93, 143, .7); }
.like.pop { animation: pop .4s; }
@keyframes pop { 50% { transform: scale(1.18); } }

.win-line { min-height: 1.8rem; margin-top: .7rem; text-align: center; font-weight: 900; font-size: 1rem; color: var(--gold1); text-shadow: 0 0 10px rgba(246, 201, 69, .6); }
.win-line.big { font-family: var(--sign); font-size: 1.35rem; background: var(--gold); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none;
  filter: drop-shadow(0 0 10px rgba(255, 200, 60, .8)); animation: jackpot .6s ease-in-out infinite alternate; }
@keyframes jackpot { to { transform: scale(1.08); } }

.controls { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: .6rem; margin: 1.1rem 0 1.2rem; }
.bet, .bonus-meter { font-size: .74rem; color: var(--muted); font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.bet b { display: block; font-family: var(--sign); font-size: 1.2rem; color: var(--gold2); }
.bonus-meter { text-align: right; display: flex; flex-direction: column; align-items: flex-end; line-height: 1.15; }
.bonus-meter b { font-family: var(--sign); font-size: 1.4rem; color: #ff6b81; text-shadow: 0 0 10px rgba(255, 60, 90, .7); }
.btn-spin { width: 118px; height: 118px; border-radius: 50%; position: relative; font-family: var(--sign); font-size: 1.3rem; letter-spacing: .06em; color: var(--gold1);
  text-shadow: 0 2px 0 #5a0010, 0 0 12px rgba(255, 220, 120, .7);
  background: radial-gradient(circle at 38% 28%, rgba(255, 255, 255, .55), transparent 32%), radial-gradient(circle at 50% 60%, var(--red1), var(--red2) 55%, var(--red3));
  box-shadow: 0 0 0 6px #b8860b, 0 0 0 9px #ffe08a, 0 0 0 12px #7a5200, 0 10px 0 12px #3a0008, 0 18px 40px 12px rgba(0, 0, 0, .6), 0 0 40px 14px rgba(255, 60, 60, .35);
  transition: transform .1s, box-shadow .1s, filter .2s; }
.btn-spin::after { content: ""; position: absolute; inset: -22px; border-radius: 50%; border: 2px solid rgba(255, 210, 90, .55); animation: ring 1.8s ease-out infinite; }
@keyframes ring { from { transform: scale(.9); opacity: 1; } to { transform: scale(1.2); opacity: 0; } }
.btn-spin:active { transform: translateY(6px); box-shadow: 0 0 0 6px #b8860b, 0 0 0 9px #ffe08a, 0 0 0 12px #7a5200, 0 4px 0 12px #3a0008, 0 10px 24px 12px rgba(0, 0, 0, .6); }
.btn-spin[disabled] { filter: grayscale(.5) brightness(.75); }
.btn-spin[disabled]::after { display: none; }

.board { margin-top: .4rem; }
.board > .inner { padding: 1rem 1rem .6rem; }
.board-head { display: flex; justify-content: space-between; align-items: baseline; gap: .5rem; }
.board h2 { margin: 0 0 .5rem; font-family: var(--sign); font-weight: 400; font-size: 1rem; color: var(--gold2); letter-spacing: .04em; }
#board { margin: 0; padding: 0; list-style: none; counter-reset: r; }
#board li { counter-increment: r; display: flex; align-items: center; gap: .6rem; padding: .5rem 0; border-top: 1px solid rgba(246, 201, 69, .18); font-size: .9rem; }
#board li::before { content: counter(r); width: 1.7rem; height: 1.7rem; border-radius: 50%; display: grid; place-items: center; font-family: var(--sign); font-size: .72rem; background: rgba(255, 255, 255, .08); }
#board li:nth-child(1)::before { background: var(--gold); color: #2b1600; }
#board li:nth-child(2)::before { background: linear-gradient(180deg, #fff, #9aa4b1); color: #111; }
#board li:nth-child(3)::before { background: linear-gradient(180deg, #ffbf80, #a0522d); color: #2b1600; }
#board li.me { color: var(--gold1); font-weight: 900; }
#board li span:first-of-type { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#board li b { font-family: var(--sign); font-weight: 400; font-size: .85rem; color: var(--gold2); }

/* ---- finestre */
.modal { position: fixed; inset: 0; z-index: 40; display: grid; place-items: end center; background: rgba(10, 0, 4, .7); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); }
.modal[hidden] { display: none; }
.modal-card { position: relative; width: min(640px, 100%); max-height: 92svh; overflow-y: auto; padding: 1.4rem 1.1rem 1.6rem;
  border-radius: var(--r) var(--r) 0 0; background: linear-gradient(180deg, #3d0715, #1a020a); border: 3px solid var(--gold3); border-bottom: 0;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, .6), inset 0 0 0 1px rgba(255, 230, 160, .25); animation: up .28s cubic-bezier(.2, .9, .3, 1.2); }
@media (min-width: 700px) { .modal { place-items: center; } .modal-card { border-radius: var(--r); border-bottom: 3px solid var(--gold3); } }
@keyframes up { from { transform: translateY(40px); opacity: 0; } }
.modal-x { position: absolute; top: .8rem; right: .8rem; width: 38px; height: 38px; }
.modal-x[hidden] { display: none; }
.modal h3 { margin: 0 2.6rem .3rem 0; font-family: var(--sign); font-size: 1.3rem; font-weight: 400; background: var(--gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.modal p { color: var(--muted); margin: 0 0 1rem; line-height: 1.4; }
.duel { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.pick { border-radius: 16px; padding: .7rem; background: #fff; color: #2a0510; border: 3px solid transparent; box-shadow: 0 0 0 2px var(--gold3), 0 6px 18px rgba(0, 0, 0, .4);
  text-align: center; transition: transform .12s; display: flex; flex-direction: column; align-items: center; gap: .35rem; }
.pick:active { transform: scale(.96); border-color: var(--gold2); }
.pick .ph { width: 100%; aspect-ratio: 1; display: grid; place-items: center; padding: .3rem; }
.pick img { max-width: 100%; max-height: 100%; object-fit: contain; }
.pick .nm { font-size: .88rem; font-weight: 800; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pick .pr { font-family: var(--sign); color: var(--red2); }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.trio .pick .nm { font-size: .78rem; }
.progress-dots { display: flex; gap: .4rem; justify-content: center; margin: 1rem 0 0; }
.progress-dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .2); }
.progress-dots i.on { background: var(--gold2); box-shadow: 0 0 8px var(--gold2); }

.prof-sec { margin: 1.1rem 0 .45rem; font-family: var(--sign); font-size: .72rem; letter-spacing: .08em; color: var(--gold2); }
.interest { display: grid; grid-template-columns: 1fr auto; gap: .2rem .6rem; align-items: center; margin-bottom: .55rem; font-size: .9rem; font-weight: 700; }
.interest b { font-family: var(--sign); font-weight: 400; color: var(--gold1); }
.interest .track { grid-column: 1 / -1; height: 9px; border-radius: 9px; background: rgba(0, 0, 0, .45); overflow: hidden; border: 1px solid rgba(246, 201, 69, .25); }
.interest .track i { display: block; height: 100%; background: linear-gradient(90deg, var(--red2), var(--gold2)); border-radius: inherit; }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.chip { padding: .35rem .75rem; border-radius: 99px; background: rgba(0, 0, 0, .4); border: 1px solid rgba(246, 201, 69, .45); font-size: .82rem; font-weight: 800; }
.shop { display: flex; flex-direction: column; gap: .5rem; }
.shop-row { display: grid; grid-template-columns: 64px 1fr auto; gap: .7rem; align-items: center; padding: .55rem; border-radius: 16px; background: rgba(0, 0, 0, .35); border: 1px solid rgba(246, 201, 69, .3); }
.shop-row .ph { width: 64px; height: 64px; border-radius: 12px; background: #fff; display: grid; place-items: center; padding: .2rem; }
.shop-row img { max-width: 100%; max-height: 100%; object-fit: contain; }
.shop-row .nm { font-size: .86rem; font-weight: 800; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.shop-row .px { font-size: .8rem; color: var(--muted); margin-top: .2rem; }
.shop-row .px s { opacity: .7; }
.shop-row .px b { color: var(--ok); }
.btn-use { padding: .55rem .75rem; border-radius: 12px; font-family: var(--sign); font-size: .74rem; color: #2b1600; background: var(--gold); box-shadow: 0 3px 0 var(--gold4); white-space: nowrap; }
.btn-use[disabled] { opacity: .45; }
.btn-use.done { background: rgba(62, 240, 138, .2); color: var(--ok); box-shadow: none; }
.note-demo { margin-top: 1rem; font-size: .78rem; color: var(--muted); border-top: 1px dashed rgba(246, 201, 69, .3); padding-top: .8rem; }

.toast { position: fixed; left: 50%; bottom: calc(1.2rem + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 60; padding: .75rem 1.1rem; border-radius: 16px;
  background: linear-gradient(180deg, #3d0715, #1a020a); border: 2px solid var(--gold3); font-weight: 800; color: var(--gold1); box-shadow: 0 10px 30px rgba(0, 0, 0, .5);
  max-width: calc(100vw - 2rem); text-align: center; animation: up .25s; }
.toast[hidden] { display: none; }

/* pagina statistiche: stessi pannelli */
.glass { background: linear-gradient(180deg, #2a0510, #16020a); border: 2px solid var(--gold3); border-radius: var(--r); box-shadow: 0 12px 30px rgba(0, 0, 0, .45); }

@media (max-width: 380px) {
  .window, .card { height: 196px; }
  .card img { max-height: 86px; }
  .btn-spin { width: 104px; height: 104px; }
}
@media (prefers-reduced-motion: reduce) {
  .aurora i, .bulb, .btn-spin::after, .sign .amp, .win-line.big { animation: none; }
}
