/* Слот: a raised cabinet with line markers at both sides, three sunken reel windows, the win lines
   drawn over them, and the pay table under the cabinet. */
.g-slot { --slt-h: 88px; }
@media (max-width: 374px) { .g-slot { --slt-h: 80px; } }
.g-slot .g-stage { padding: 44px 10px 12px; }

/* cabinet */
.slt-cab { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 8px 5px; border-radius: 20px; background: linear-gradient(180deg, #383c58 0%, #2a2d44 100%); box-shadow: 0 6px 0 var(--tile-edge), 0 18px 34px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.12), inset 0 0 0 1px rgba(255,255,255,.04); }
.slt-glow { position: absolute; inset: -2px; z-index: 0; border-radius: 22px; pointer-events: none; opacity: 0; box-shadow: 0 0 0 2px #ffc337, 0 0 38px rgba(255,195,55,.6), inset 0 0 26px rgba(255,195,55,.3); }
.slt-cab .fx-p { z-index: 6; }

.slt-row { position: relative; z-index: 1; display: flex; gap: 4px; }

/* line markers */
.slt-marks { position: relative; flex: 0 0 18px; }
.slt-mk { position: absolute; left: 0; width: 18px; height: 22px; border-radius: 6px; background: var(--tile-edge); box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); color: var(--fg2); font-size: 11px; font-weight: 900; line-height: 1; display: grid; place-items: center; }
.slt-mk.on { background: var(--win); color: #0b0c10; box-shadow: 0 0 12px rgba(212,255,58,.5); }
.slt-mk.on.gold { background: #ffc337; box-shadow: 0 0 12px rgba(255,195,55,.55); }

/* reels */
.slt-win { position: relative; z-index: 1; flex: 1 1 auto; min-width: 0; display: flex; gap: 5px; }
.slt-reel { position: relative; flex: 1 1 0; min-width: 0; height: calc(var(--slt-h) * 3); overflow: hidden; border-radius: 12px; background: var(--sunk); }
.slt-reel::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; border-radius: inherit; background: linear-gradient(180deg, rgba(6,7,10,.62) 0%, rgba(6,7,10,0) 15%, rgba(6,7,10,0) 85%, rgba(6,7,10,.62) 100%); box-shadow: inset 0 4px 10px rgba(0,0,0,.75), inset 0 0 0 1px rgba(255,255,255,.05); }
.slt-track { will-change: transform; }
.slt-s { position: relative; height: var(--slt-h); display: grid; place-items: center; }
.slt-s img { position: relative; z-index: 1; width: min(80px, 88%); aspect-ratio: 1; object-fit: contain; filter: drop-shadow(0 5px 6px rgba(0,0,0,.55)); }
.slt-track.fast .slt-s img { transform: scaleY(1.16); opacity: .85; }
.slt-s.hit::before { content: ""; position: absolute; inset: 5px 4px; border-radius: 12px; background: rgba(212,255,58,.12); box-shadow: inset 0 0 0 2px #d4ff3a, 0 0 18px rgba(212,255,58,.35); }
.slt-s.hit.gold::before { background: rgba(255,195,55,.14); box-shadow: inset 0 0 0 2px #ffc337, 0 0 20px rgba(255,195,55,.4); }
.slt-lines { position: absolute; left: 0; top: 0; z-index: 2; pointer-events: none; overflow: visible; }

/* win meter on top of the cabinet: line bet and top prize, or the amount just won */
.slt-meter { position: relative; z-index: 1; height: 54px; padding: 0 14px; border-radius: 12px; background: var(--sunk); box-shadow: inset 0 3px 9px rgba(0,0,0,.7), inset 0 0 0 1px rgba(255,255,255,.05); display: flex; align-items: center; justify-content: space-between; gap: 10px; overflow: hidden; }
.slt-mi { min-width: 0; }
.slt-mi small { display: block; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--fg2); white-space: nowrap; }
.slt-mi b { display: inline-flex; align-items: center; gap: 4px; margin-top: 3px; font-size: 19px; font-weight: 900; line-height: 1; color: var(--fg); white-space: nowrap; }
.slt-mi .coin { width: 17px; height: 17px; }
.slt-mi.slt-r { text-align: right; }
.slt-mi .slt-gold { color: #ffc337; }
.slt-meter.won { justify-content: center; gap: 12px; box-shadow: inset 0 0 0 2px #d4ff3a, inset 0 0 22px rgba(212,255,58,.18), 0 0 20px rgba(212,255,58,.22); }
.slt-mw { display: inline-flex; align-items: center; gap: 6px; }
.slt-mw b { font-size: 38px; font-weight: 900; line-height: 1; letter-spacing: -.8px; color: var(--win); white-space: nowrap; }
.slt-mw .coin { width: 26px; height: 26px; }
.slt-mx { height: 28px; padding: 0 10px; border-radius: 14px; display: inline-flex; align-items: center; background: var(--win); color: #0b0c10; font-size: 15px; font-weight: 900; white-space: nowrap; }
.slt-meter.won.gold { box-shadow: inset 0 0 0 2px #ffc337, inset 0 0 26px rgba(255,195,55,.22), 0 0 24px rgba(255,195,55,.3); }
.slt-meter.gold .slt-mw b { color: #ffc337; }
.slt-meter.gold .slt-mx { background: #ffc337; }
.slt-meter.big .slt-mw b { font-size: 42px; }

/* pay table: symbol ×3 on a line → multiplier of the line bet */
.slt-pay { display: flex; gap: 3px; margin-top: 14px; padding-bottom: 4px; overflow-x: auto; scrollbar-width: none; }
.slt-pay::-webkit-scrollbar { display: none; }
.slt-pc { position: relative; flex: 1 0 39px; height: 52px; border-radius: 10px; background: var(--tile); box-shadow: 0 4px 0 var(--tile-edge); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; }
.slt-pc img { width: 27px; height: 27px; object-fit: contain; }
.slt-pc b { font-size: 11.5px; font-weight: 900; line-height: 1; color: var(--fg); white-space: nowrap; letter-spacing: -.2px; }
.slt-pc.hi b { color: #ffc337; }
.slt-pc.on { background: var(--win); box-shadow: 0 4px 0 #8fb012, 0 0 16px rgba(212,255,58,.35); }
.slt-pc.on.hi { background: #ffc337; box-shadow: 0 4px 0 #b9861a, 0 0 18px rgba(255,195,55,.45); }
.slt-pc.on b { color: #0b0c10; }

/* lobby tile: a gold-framed cabinet, three lamps on the lit line */
.slt-tile { overflow: hidden; }
.slt-tglow { position: absolute; left: 0; right: 0; top: 6cqw; height: 82cqw; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,120,210,.3), rgba(255,120,210,0)); }
.slt-tcab { position: absolute; left: 7cqw; right: 7cqw; top: 12cqw; height: 66cqw; display: flex; gap: 2.5cqw; padding: 3.2cqw; border-radius: 6cqw; background: #2a1940; box-shadow: 0 2.2cqw 0 #120a20, inset 0 0 0 1.1cqw #ffc337, 0 6cqw 12cqw rgba(0,0,0,.5); }
.slt-tw { flex: 1 1 0; min-width: 0; border-radius: 3cqw; background: #07050c; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1cqw; overflow: hidden; }
.slt-tw img { flex: none; width: 88%; aspect-ratio: 1; object-fit: contain; }
.slt-tw .slt-to { width: 70%; opacity: .38; }
.slt-tline { position: absolute; left: 3.5cqw; right: 3.5cqw; top: 50%; height: 1.6cqw; margin-top: -.8cqw; border-radius: 1cqw; background: #d4ff3a; box-shadow: 0 0 3cqw rgba(212,255,58,.85); }
