:root{color-scheme:dark}
*{box-sizing:border-box}
html.fog-standalone-html,body.fog-standalone-body{margin:0!important;padding:0!important;width:100%;min-width:320px;min-height:100%;background:#050a10;overflow:hidden}
body.fog-standalone-body{min-height:100vh;min-height:100dvh}
.fog-game-shell{--fog-accent:#f7b92d;--fog-spin:#f2a81d;--fog-panel:rgba(7,18,37,.68);--fog-text:#fff;--fog-muted:#b7c4d6;--fog-reel-bg:#07090d;--fog-reel-bg-image:none;--fog-grid-opacity:1;--fog-cols:4;--fog-rows:3;--fog-title-size:48px;--fog-body-size:15px;--fog-label-size:12px;--fog-stat-size:20px;--fog-button-size:25px;--fog-title-weight:900;--fog-body-weight:400;--fog-label-weight:500;--fog-stat-weight:800;--fog-button-weight:900;--fog-reel-left:8%;--fog-reel-right:9%;--fog-reel-top:22%;--fog-reel-bottom:18%;--fog-machine-max-width:1080px;position:relative;isolation:isolate;width:100%;min-height:100vh;min-height:100dvh;overflow:hidden;background:#06101b;color:var(--fog-text);font-family:'IRANYekanX',Tahoma,Arial,sans-serif;font-size:var(--fog-body-size);font-weight:var(--fog-body-weight)}
.fog-game-shell [hidden]{display:none!important}.fog-game-shell button,.fog-game-shell input{font:inherit}
.fog-bg-layer,.fog-atmosphere,.fog-vignette{position:absolute;inset:0;pointer-events:none}.fog-bg-layer{z-index:-4;background:radial-gradient(circle at 50% 16%,#152a58 0,#081628 42%,#06100e 100%);background-size:cover;background-position:center center}.fog-atmosphere{z-index:-3;background:radial-gradient(circle at 8% 78%,rgba(255,153,25,.14),transparent 18%),radial-gradient(circle at 92% 78%,rgba(255,153,25,.12),transparent 18%)}.fog-vignette{z-index:-2;background:linear-gradient(90deg,rgba(0,0,0,.24),transparent 20%,transparent 80%,rgba(0,0,0,.24)),linear-gradient(180deg,rgba(0,0,0,.03),transparent 55%,rgba(0,0,0,.24))}

/* loading + login */
.fog-loading,.fog-login{min-height:100vh;min-height:100dvh;display:grid;place-items:center;padding:20px}.fog-loading{align-content:center;gap:13px;color:#d8e5f3}.fog-loader-ring{width:56px;height:56px;border:3px solid rgba(255,255,255,.12);border-top-color:var(--fog-accent);border-radius:50%;animation:fogSpinLoader .7s linear infinite}@keyframes fogSpinLoader{to{transform:rotate(360deg)}}
.fog-login-card{width:min(430px,100%);padding:34px;border-radius:28px;border:1px solid rgba(255,209,102,.19);background:linear-gradient(180deg,rgba(8,22,39,.92),rgba(4,13,24,.88));box-shadow:0 34px 100px rgba(0,0,0,.55),0 0 80px rgba(247,185,45,.08);backdrop-filter:blur(24px);text-align:center}.fog-login-brand{display:grid;justify-items:center;margin-bottom:20px}.fog-login-brand>span{width:58px;height:58px;border-radius:18px;display:grid;place-items:center;background:radial-gradient(circle at 35% 25%,#ffe582,#dd9216 58%,#7e4000);font-size:28px;color:#2c1300;overflow:hidden}.fog-login-brand>span img{width:100%;height:100%;object-fit:contain}.fog-login-brand b{margin-top:9px;font-size:17px}.fog-login-brand small{font-size:8px;color:#89a0bb;letter-spacing:2px}.fog-login-card h1{margin:0 0 7px;font-size:30px;color:#ffd76a}.fog-login-card>p{margin:0 0 22px;color:#9fb1c6;line-height:1.9;font-size:12px}.fog-login-card form{display:grid;gap:13px;text-align:right}.fog-login-card label{display:grid;gap:7px}.fog-login-card label>span{font-size:11px;color:#aebdd0}.fog-login-card input{width:100%;padding:13px 14px;border-radius:13px;border:1px solid rgba(160,187,221,.15);background:#071424;color:#fff;outline:none}.fog-login-card input:focus{border-color:#d9a32c;box-shadow:0 0 0 3px rgba(217,163,44,.12)}.fog-login-card button{padding:13px;border:0;border-radius:13px;background:linear-gradient(180deg,#f7c64d,#ce8212);color:#2a1300;font-weight:900;cursor:pointer}.fog-form-message{min-height:20px;color:#ff8994;font-size:11px;text-align:center}

/* page shell */
.fog-game{width:100%;height:100vh;height:100dvh;min-height:0;padding:10px 18px 16px;display:flex;flex-direction:column;overflow:hidden}.fog-topbar{height:54px;flex:0 0 54px;display:flex;align-items:flex-start;justify-content:space-between;direction:ltr;position:relative;z-index:30}.fog-brand{display:flex;align-items:center;gap:9px;direction:ltr}.fog-brand-mark{width:44px;height:44px;border-radius:12px;display:grid;place-items:center;background:rgba(7,19,36,.75);border:1px solid rgba(138,167,207,.18);color:#e5b44d;font-size:21px;overflow:hidden}.fog-brand-mark img{width:100%;height:100%;object-fit:contain}.fog-brand b{display:block;font-size:14px}.fog-brand small{display:block;margin-top:1px;color:#37d8ff;font-size:7px;letter-spacing:1.4px}.fog-logout{direction:rtl;border:1px solid rgba(255,255,255,.18);border-radius:10px;background:rgba(9,17,28,.58);backdrop-filter:blur(14px);color:#fff;padding:8px 13px;cursor:pointer}

.fog-stage{flex:1;min-height:0;width:min(1540px,100%);margin:0 auto;display:grid;grid-template-columns:clamp(200px,17vw,260px) minmax(0,1fr) clamp(220px,18vw,280px);gap:18px;align-items:center;justify-content:center;direction:ltr;overflow:visible}.fog-player-panel,.fog-prizes-panel{direction:rtl;min-width:0;align-self:center;position:relative;z-index:4}.fog-glass{border:1px solid rgba(155,187,225,.24);background:linear-gradient(180deg,rgba(13,27,51,.72),rgba(6,17,32,.66));box-shadow:0 16px 48px rgba(0,0,0,.28),inset 0 1px rgba(255,255,255,.04);backdrop-filter:blur(18px);border-radius:22px}
.fog-player-panel{padding:13px;display:flex;flex-direction:column;gap:10px}.fog-user-card,.fog-stat-card{padding:12px;border:1px solid rgba(145,179,222,.18);border-radius:15px;background:linear-gradient(180deg,rgba(25,43,77,.62),rgba(9,24,46,.56));text-align:center}.fog-user-card small,.fog-stat-card small{display:block;color:#b0c0d3;font-size:var(--fog-label-size);font-weight:var(--fog-label-weight)}.fog-user-card b{display:block;margin-top:4px;font-size:15px}.fog-stat-card strong{display:block;margin-top:5px;font-size:var(--fog-stat-size);font-weight:var(--fog-stat-weight);line-height:1.15}.fog-stat-card strong em{font-style:normal;font-size:.56em;color:#9fb1c6}.fog-won-items{display:grid;gap:3px;margin-top:6px}.fog-won-items span{font-size:9px;color:#d8c273}.fog-mini-controls{display:flex;gap:8px;justify-content:center;margin-top:2px}.fog-mini-controls button{width:36px;height:34px;border:1px solid rgba(255,255,255,.15);border-radius:10px;background:rgba(4,13,24,.68);color:#fff;cursor:pointer;display:grid;place-items:center}

/* center stage */
.fog-machine-area{direction:rtl;min-width:0;width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative;z-index:2;padding:0 2px}.fog-title-block{flex:0 0 auto;min-height:58px;margin:0 auto 5px;text-align:center;display:grid;place-items:center}.fog-title-crown{font-size:28px;line-height:1;color:#ffd05b}.fog-title-block h1{margin:-2px 0 0;font-size:clamp(28px,var(--fog-title-size),56px);font-weight:var(--fog-title-weight);line-height:1;color:#ffc84f;text-shadow:0 3px 14px rgba(0,0,0,.4)}.fog-title-block small{display:inline-block;margin-top:3px;padding:2px 9px;border-radius:99px;background:rgba(55,25,3,.72);border:1px solid rgba(255,194,68,.28);color:#ffd25d;font-size:8px;letter-spacing:1.5px}.fog-title-block.has-logo .fog-title-crown,.fog-title-block.has-logo h1,.fog-title-block.has-logo small{display:none}.fog-title-block img{display:block;max-width:min(420px,62vw);max-height:92px;object-fit:contain}
.fog-machine-wrap{width:100%;min-width:0;display:flex;align-items:center;justify-content:center;position:relative;overflow:visible}.fog-machine-side{display:none!important}
.fog-machine{position:relative;flex:0 0 auto;width:min(100%,var(--fog-machine-max-width));height:auto;overflow:visible;background:linear-gradient(145deg,#6b2d00 0,#ffd15f 4%,#8b3b00 9%,#2a1104 14%,#120905 86%,#793300 91%,#ffd56d 96%,#6f2d00 100%);border:4px solid #9f5206;border-radius:22px;box-shadow:0 24px 64px rgba(0,0,0,.42)}.fog-machine:before,.fog-machine:after{content:"";position:absolute;top:11%;bottom:11%;width:12px;border-radius:12px;background:linear-gradient(90deg,#5a2100,#ffe17d,#7d3200);z-index:4}.fog-machine:before{left:8px}.fog-machine:after{right:8px}.fog-machine-glow{position:absolute;inset:8px;border-radius:15px;box-shadow:inset 0 0 22px rgba(255,186,43,.12);pointer-events:none;z-index:4}.fog-machine-top,.fog-machine-bottom{position:absolute;left:9%;right:9%;height:6px;border-radius:99px;background:linear-gradient(90deg,#6d2c00,#ffd66e,#7e3400);z-index:4}.fog-machine-top{top:10px}.fog-machine-bottom{bottom:10px}
.fog-machine.has-custom-frame{background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important}.fog-machine.has-custom-frame:before,.fog-machine.has-custom-frame:after,.fog-machine.has-custom-frame .fog-machine-glow,.fog-machine.has-custom-frame .fog-machine-top,.fog-machine.has-custom-frame .fog-machine-bottom{display:none!important}.fog-machine-frame-image{position:absolute;left:0;top:0;width:100%;height:100%;object-fit:fill;object-position:center;pointer-events:none;z-index:8;display:block;max-width:none!important;max-height:none!important}.fog-machine-frame-image[hidden]{display:none!important}
.fog-reels{position:absolute;left:var(--fog-reel-left);right:var(--fog-reel-right);top:var(--fog-reel-top);bottom:var(--fog-reel-bottom);display:grid;grid-template-columns:repeat(var(--fog-cols),minmax(0,1fr));gap:0;padding:0;border:0;border-radius:8px;background-color:var(--fog-reel-bg);background-image:var(--fog-reel-bg-image);background-size:cover;background-position:center center;background-repeat:no-repeat;overflow:hidden;z-index:3;box-shadow:inset 0 0 32px rgba(0,0,0,.55)}.fog-machine:not(.has-custom-frame) .fog-reels{border:2px solid rgba(202,142,38,.7)}.fog-reel-window{position:relative;height:100%;min-width:0;overflow:hidden;background:#0a0908;border-left:1px solid rgba(255,204,88,.11)}.fog-reel-window:first-child{border-left:0}.fog-reel-strip{position:absolute;left:0;top:0;width:100%;will-change:transform;transform:translate3d(0,0,0);backface-visibility:hidden}.fog-symbol{height:var(--fog-cell-h,33.333%);min-height:0;margin:0;padding:4px;display:flex;align-items:center;justify-content:center;border-bottom:1px solid rgba(255,255,255,.025);background:transparent;line-height:1;box-sizing:border-box}.fog-symbol img{display:block;width:82%;height:82%;max-width:none;max-height:none;object-fit:contain;object-position:50% 50%;margin:auto;transform:translateZ(0);backface-visibility:hidden;filter:none!important;image-rendering:auto;user-select:none}.fog-symbol span{font-size:clamp(18px,4vw,56px)}.fog-reel-window.land{animation:fogLand .16s ease-out}@keyframes fogLand{50%{transform:translateY(1.5px)}}
.fog-symbol.is-win{animation:fogWinBlink .32s linear 8;background:transparent!important;box-shadow:none!important;filter:none!important}.fog-symbol.is-win img{filter:none!important;transform:none!important}@keyframes fogWinBlink{0%,45%{opacity:1}46%,100%{opacity:.2}}
.fog-win-marker{position:absolute;z-index:12;display:grid;place-items:center;pointer-events:none;background:transparent;border:0;box-shadow:none;overflow:visible}.fog-win-marker img{display:block;width:100%;height:100%;object-fit:contain;object-position:center;filter:none!important}.fog-win-marker span{width:100%;height:100%;display:grid;place-items:center;border-radius:50%;background:linear-gradient(180deg,#ffd66f,#cb7c09);color:#482300;box-shadow:0 5px 15px rgba(0,0,0,.28)}.fog-win-marker.active{filter:none!important;transform:none!important}
.fog-spin-zone{flex:0 0 auto;margin-top:13px;padding-bottom:2px;display:grid;place-items:center}.fog-spin-button{position:relative;width:112px;height:112px;border-radius:50%;border:5px solid #5b2b03;outline:4px solid #e4b64e;background:radial-gradient(circle at 50% 30%,#ffe78d 0,var(--fog-spin) 38%,#b76705 70%,#6b3200 100%);color:#fff;cursor:pointer;box-shadow:0 0 0 4px #351904,0 14px 28px rgba(0,0,0,.46),inset 0 5px 12px rgba(255,255,255,.28),inset 0 -9px 18px rgba(75,28,0,.38);transition:.16s}.fog-spin-button:hover{transform:translateY(-2px) scale(1.02)}.fog-spin-button:active,.fog-spin-button.is-active{transform:scale(.96)}.fog-spin-button:disabled{cursor:not-allowed;filter:grayscale(.45);opacity:.65}.fog-spin-button span{display:block;font-size:var(--fog-button-size);font-weight:var(--fog-button-weight);text-shadow:0 2px 3px rgba(0,0,0,.45)}.fog-spin-button small{display:block;margin-top:2px;font-size:8px;color:#ffe5a0}.fog-spin-button.has-image{border:0;outline:0;background:transparent;box-shadow:none;width:128px;height:128px;padding:0}.fog-spin-button.has-image img{width:100%;height:100%;object-fit:contain;display:block;filter:drop-shadow(0 10px 18px rgba(0,0,0,.32))}.fog-support{min-height:18px;margin:12px 0 0;color:#ffd85d;font-size:10px;text-align:center;text-shadow:0 2px 8px #000}

/* prize panel */
.fog-prizes-panel{padding:15px;overflow:visible}
.fog-prizes-panel h3{margin:0 0 14px;text-align:center;font-size:20px;font-weight:900;line-height:1.15;color:#f7f9ff}
.fog-prize-list{display:grid;gap:10px;overflow:auto;padding:0 1px 1px}
.fog-prize-item{direction:rtl;display:grid;grid-template-columns:60px minmax(0,1fr);align-items:center;min-height:94px;gap:12px;padding:12px 14px;border:1px solid rgba(160,190,228,.18);border-radius:16px;background:linear-gradient(180deg,rgba(13,29,53,.82),rgba(7,20,39,.70));box-shadow:inset 0 1px 0 rgba(255,255,255,.035),0 5px 16px rgba(0,0,0,.10)}
.fog-prize-item img,.fog-prize-item>span{grid-column:1;width:56px;height:56px;object-fit:contain;display:grid;place-items:center;font-size:30px;justify-self:center}
.fog-prize-item div{grid-column:2;min-width:0;text-align:right;align-self:center}.fog-prize-item b{display:block;font-size:19px;line-height:1.35}.fog-prize-item small{display:block;font-size:12px;line-height:1.5;color:#c7d6e8}
.fog-prize-item b{display:block;font-size:15px;font-weight:900;line-height:1.45;color:#f8fbff;white-space:normal;overflow:visible;text-overflow:clip;word-break:normal}
.fog-prize-item small{display:block;margin-top:3px;color:#aebdd0;font-size:10px;font-weight:500;line-height:1.4;white-space:normal;overflow:visible;text-overflow:clip}
.fog-prize-empty{padding:22px 10px;text-align:center;color:#8da0b6;font-size:12px}

/* mobile HUD hidden on desktop */
.fog-mobile-dock{display:none}.fog-mobile-hud{display:none}

/* result modal */
.fog-result-modal{position:fixed;inset:0;z-index:999999;background:rgba(1,6,12,.76);backdrop-filter:blur(12px);display:grid;place-items:center;padding:20px;opacity:0;transition:.2s}.fog-result-modal.show{opacity:1}.fog-result-card{position:relative;overflow:hidden;width:min(430px,100%);padding:32px 28px 26px;border-radius:26px;border:1px solid rgba(255,215,103,.26);background:linear-gradient(180deg,#10223b,#06111d);box-shadow:0 34px 100px rgba(0,0,0,.65);text-align:center;transform:scale(.92);transition:.22s}.fog-result-modal.show .fog-result-card{transform:scale(1)}.fog-result-icon{width:104px;height:104px;border-radius:27px;margin:0 auto 14px;display:grid;place-items:center;background:radial-gradient(circle,#fff0a5,#d58b0a 72%);font-size:58px}.fog-result-icon img{max-width:82%;max-height:82%;object-fit:contain}.fog-result-card h2{margin:0 0 7px;color:#ffda5b;font-size:30px;font-weight:var(--fog-title-weight)}#fog-result-text{display:grid;gap:7px;margin-bottom:18px;color:#d6e1ee;line-height:1.9}.fog-result-line{padding:8px 10px;border-radius:10px;background:rgba(255,255,255,.035)}.fog-result-card button{border:0;border-radius:12px;padding:11px 20px;background:linear-gradient(180deg,#ffd56c,#ce8517);color:#2b1400;font-weight:var(--fog-button-weight);cursor:pointer}.fog-confetti{display:none!important}.fog-toast{position:fixed;z-index:1000000;left:50%;bottom:24px;transform:translate(-50%,18px);padding:10px 16px;border:1px solid rgba(255,255,255,.14);border-radius:11px;background:rgba(5,15,25,.94);color:#fff;box-shadow:0 12px 36px rgba(0,0,0,.35);opacity:0;transition:.2s}.fog-toast.show{opacity:1;transform:translate(-50%,0)}

@media(max-width:1180px){
  .fog-stage{grid-template-columns:190px minmax(0,1fr) 205px;gap:12px}.fog-player-panel{padding:10px}.fog-prizes-panel{padding:10px}.fog-stat-card{padding:10px}.fog-title-block img{max-height:80px}
}

@media(max-width:900px){
  html.fog-standalone-html,body.fog-standalone-body{overflow:hidden}
  .fog-game{height:100vh;height:100dvh;padding:6px;display:grid;grid-template-rows:46px minmax(0,1fr) auto;gap:5px;overflow:hidden}
  .fog-topbar{height:46px;min-height:0;align-self:stretch}.fog-brand-mark{width:38px;height:38px}.fog-brand b{font-size:12px}.fog-brand small{font-size:6px}.fog-logout{padding:6px 9px;font-size:10px}
  .fog-stage{display:flex;width:100%;height:100%;min-height:0;margin:0;align-items:center;justify-content:center;overflow:visible}
  .fog-player-panel,.fog-prizes-panel{display:none!important}
  .fog-machine-area{width:100%;height:100%;min-height:0;margin:0;display:flex;justify-content:center;align-items:center;overflow:visible;padding:0}
  .fog-title-block{min-height:36px;margin:0 auto 3px;flex:0 0 auto}.fog-title-crown{font-size:22px}.fog-title-block h1{font-size:clamp(22px,7vw,36px)}.fog-title-block small{font-size:7px}.fog-title-block img{max-height:58px;max-width:74vw}
  .fog-machine-wrap{flex:0 0 auto;width:100%;min-height:0}
  .fog-spin-zone{margin-top:5px;flex:0 0 auto}.fog-spin-button{width:84px;height:84px;border-width:4px;outline-width:3px}.fog-spin-button span{font-size:19px}.fog-spin-button.has-image{width:94px;height:94px}.fog-support{font-size:8px;min-height:10px;margin:2px 0 0}
  .fog-mobile-hud{position:static;z-index:60;left:auto;right:auto;bottom:auto;width:100%;display:grid;grid-template-columns:1.15fr .8fr .8fr 1fr 40px 40px;gap:5px;padding:6px;margin:0;border:1px solid rgba(180,205,238,.17);border-radius:15px;background:rgba(5,17,32,.78);backdrop-filter:blur(18px);box-shadow:0 10px 32px rgba(0,0,0,.3)}
  .fog-mobile-hud>div,.fog-mobile-hud>button{min-width:0;min-height:44px;border:1px solid rgba(255,255,255,.08);border-radius:10px;background:rgba(255,255,255,.025);color:#fff;display:grid;place-items:center;text-align:center;padding:4px}.fog-mobile-hud small{display:block;color:#8298b1;font-size:8px;line-height:1.15}.fog-mobile-hud b{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;line-height:1.15}.fog-mobile-hud em{font-style:normal;font-size:8px;color:#8ea3b9}.fog-mobile-hud button{font-size:16px;cursor:pointer}.fog-mobile-user b{direction:ltr}.fog-win-marker{z-index:14}
}

@media(max-width:560px){
  .fog-game{grid-template-rows:42px minmax(0,1fr) auto;padding:4px;gap:4px}.fog-topbar{height:42px}.fog-brand-mark{width:34px;height:34px}.fog-brand>div:last-child{display:none}
  .fog-title-block{min-height:30px;margin-bottom:2px}.fog-title-block h1{font-size:clamp(20px,7vw,30px)}.fog-title-block img{max-height:46px;max-width:76vw}
  .fog-spin-zone{margin-top:4px}.fog-spin-button{width:76px;height:76px}.fog-spin-button.has-image{width:86px;height:86px}.fog-support{margin-top:1px;min-height:8px}
  .fog-mobile-hud{grid-template-columns:repeat(4,minmax(0,1fr)) 34px 34px;gap:3px;padding:4px;border-radius:13px}.fog-mobile-hud>div,.fog-mobile-hud>button{min-height:40px;border-radius:8px}.fog-mobile-hud small{font-size:7px}.fog-mobile-hud b{font-size:10px}.fog-mobile-hud em{font-size:7px}.fog-mobile-hud button{font-size:14px}.fog-symbol{padding:2px}.fog-symbol img{width:86%;height:86%}.fog-result-card{padding:26px 18px 21px}.fog-result-icon{width:88px;height:88px}
}

@media(max-height:680px) and (min-width:901px){
  .fog-game{padding-top:5px}.fog-topbar{height:44px;flex-basis:44px}.fog-title-block{min-height:44px;margin-bottom:2px}.fog-title-block h1{font-size:34px}.fog-title-block img{max-height:58px}.fog-spin-zone{margin-top:6px}.fog-spin-button{width:88px;height:88px}.fog-spin-button.has-image{width:96px;height:96px}.fog-player-panel,.fog-prizes-panel{transform:scale(.92)}
}

/* v0.7.6 — deterministic responsive frame geometry */
.fog-game-shell{--fog-open-left:6.25%;--fog-open-top:6.25%;--fog-open-width:87.5%;--fog-open-height:87.5%}
.fog-machine{aspect-ratio:4/3;overflow:visible!important}
.fog-machine-frame-image{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;object-fit:fill!important;object-position:center!important;z-index:20!important;pointer-events:none!important}
.fog-reels{left:var(--fog-open-left)!important;right:auto!important;top:var(--fog-open-top)!important;bottom:auto!important;width:var(--fog-open-width)!important;height:var(--fog-open-height)!important;border-radius:0!important;z-index:3!important}
.fog-win-marker{z-index:24!important}
.fog-machine.has-custom-frame .fog-reels{box-shadow:none!important}

/* the frame is visual only; it never participates in layout */
.fog-machine.has-custom-frame{background:transparent!important;border:0!important;box-shadow:none!important}

@media(max-width:900px){
  .fog-game{grid-template-rows:46px minmax(0,1fr) auto!important}
  .fog-stage{height:100%!important;min-height:0!important;display:flex!important;align-items:center!important;justify-content:center!important}
  .fog-machine-area{height:100%!important;min-height:0!important;justify-content:center!important;align-items:center!important}
  .fog-machine-wrap{width:100%!important;display:flex!important;align-items:center!important;justify-content:center!important}
  .fog-mobile-hud{flex:0 0 auto!important}
}
@media(max-width:560px){
  .fog-game{grid-template-rows:42px minmax(0,1fr) auto!important}
  .fog-machine-area{justify-content:center!important}
}

/* =========================================================
   v0.7.8 — locked frame geometry + centered game composition
   Frame artwork is overlay-only. Reels own the opening area.
   ========================================================= */
.fog-game-shell{
  --fog-open-left:8.823529%;
  --fog-open-top:16.666667%;
  --fog-open-width:82.352941%;
  --fog-open-height:70%;
}

/* Logo -> title -> subtitle -> frame -> spin button */
.fog-title-block{
  min-height:0!important;
  margin:0 auto 18px!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:6px!important;
  text-align:center;
}
.fog-title-block.has-logo .fog-title-crown,
.fog-title-block.has-logo h1,
.fog-title-block.has-logo small{display:block!important}
.fog-title-crown{display:none!important}
.fog-title-block #fog-machine-title-image{
  display:block;
  width:auto;
  max-width:min(360px,42vw);
  max-height:78px;
  object-fit:contain;
  margin:0 auto 2px;
}
.fog-title-block #fog-machine-title-image[hidden]{display:none!important}
.fog-title-block h1{margin:0!important;line-height:1.08!important}
.fog-title-block small{margin:0!important}

/* The machine receives explicit width/height from JS using the profile ratio. */
.fog-machine{
  aspect-ratio:auto!important;
  overflow:visible!important;
}
.fog-machine-frame-image{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  max-height:none!important;
  object-fit:fill!important;
  object-position:center!important;
  pointer-events:none!important;
  z-index:20!important;
}
.fog-machine.has-custom-frame{
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
}
.fog-machine.has-custom-frame:before,
.fog-machine.has-custom-frame:after,
.fog-machine.has-custom-frame .fog-machine-glow,
.fog-machine.has-custom-frame .fog-machine-top,
.fog-machine.has-custom-frame .fog-machine-bottom{display:none!important}

/* Reel opening follows the transparent hole in each frame profile. */
.fog-reels{
  left:var(--fog-open-left)!important;
  right:auto!important;
  top:var(--fog-open-top)!important;
  bottom:auto!important;
  width:var(--fog-open-width)!important;
  height:var(--fog-open-height)!important;
  border:0!important;
  border-radius:0!important;
  padding:0!important;
  gap:0!important;
  background-color:var(--fog-reel-bg)!important;
  background-image:var(--fog-reel-bg-image)!important;
  background-size:cover!important;
  background-position:center center!important;
  background-repeat:no-repeat!important;
  box-shadow:inset 0 0 36px rgba(0,0,0,.58)!important;
  z-index:3!important;
}

/* Fixed separators: one continuous gold grid above all reels. */
.fog-reel-window{border:0!important;background:transparent!important;box-shadow:none!important}
.fog-reel-window:before{display:none!important}
.fog-reels:before,.fog-reels:after{content:"";position:absolute;inset:0;pointer-events:none;z-index:12;opacity:var(--fog-grid-opacity)}
.fog-reels:before{
  background-image:linear-gradient(to right,
    transparent calc(100% - 4px),
    rgba(49,27,2,.92) calc(100% - 4px),
    rgba(167,110,18,.97) calc(100% - 3px),
    rgba(255,230,148,1) calc(100% - 2px),
    rgba(196,127,15,.98) calc(100% - 1px),
    rgba(64,35,4,.96) 100%);
  background-size:calc(100% / var(--fog-cols)) 100%;
  background-repeat:repeat-x;
}
.fog-reels:after{
  background-image:linear-gradient(to bottom,
    transparent calc(100% - 4px),
    rgba(49,27,2,.92) calc(100% - 4px),
    rgba(167,110,18,.97) calc(100% - 3px),
    rgba(255,230,148,1) calc(100% - 2px),
    rgba(196,127,15,.98) calc(100% - 1px),
    rgba(64,35,4,.96) 100%);
  background-size:100% calc(100% / 3);
  background-repeat:repeat-y;
}
.fog-symbol{border:0!important;background:transparent!important}
.fog-symbol img{filter:none!important}
.fog-reels{outline:1px solid rgba(91,55,10,.85)!important;box-shadow:inset 0 0 0 1px rgba(255,220,126,.12),inset 0 0 34px rgba(0,0,0,.62)!important}

/* No built-in pointer. */ An uploaded pointer is the only pointer allowed. */
.fog-win-marker{z-index:24!important;background:transparent!important;box-shadow:none!important;pointer-events:none!important}
.fog-win-marker:empty{display:none!important}
.fog-win-marker img{display:block!important;width:100%!important;height:100%!important;object-fit:contain!important;filter:none!important}

/* Spin button always belongs to the game stack, never to the bottom of viewport. */
.fog-spin-zone{margin-top:40px!important;padding:0!important;flex:0 0 auto!important}
.fog-spin-button{flex:0 0 auto}

@media(max-width:1100px){
  .fog-title-block{margin-bottom:16px!important;gap:5px!important}
  .fog-title-block #fog-machine-title-image{max-height:64px;max-width:min(300px,48vw)}
  .fog-spin-zone{margin-top:30px!important}
}

@media(max-width:900px){
  .fog-game{grid-template-rows:46px minmax(0,1fr) auto!important}
  .fog-stage{height:100%!important;min-height:0!important;display:flex!important;align-items:center!important;justify-content:center!important;overflow:hidden!important}
  .fog-machine-area{height:100%!important;min-height:0!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;overflow:visible!important;padding:0!important}
  .fog-machine-wrap{width:100%!important;min-height:0!important;display:flex!important;align-items:center!important;justify-content:center!important;overflow:visible!important}
  .fog-title-block{margin:0 auto 12px!important;gap:4px!important}
  .fog-title-block #fog-machine-title-image{max-height:52px;max-width:58vw}
  .fog-title-block h1{font-size:clamp(20px,6vw,31px)!important}
  .fog-title-block small{font-size:7px!important}
  .fog-spin-zone{margin-top:24px!important}
  .fog-support{margin-top:5px!important}
  .fog-mobile-hud{flex:0 0 auto!important}
}

@media(max-width:560px){
  .fog-game{grid-template-rows:42px minmax(0,1fr) auto!important;padding:4px!important;gap:4px!important}
  .fog-title-block{margin-bottom:10px!important}
  .fog-title-block #fog-machine-title-image{max-height:44px;max-width:62vw}
  .fog-title-block h1{font-size:clamp(18px,5.8vw,27px)!important}
  .fog-spin-zone{margin-top:24px!important}
  .fog-spin-button{width:82px!important;height:82px!important}
  .fog-spin-button.has-image{width:94px!important;height:94px!important}
  .fog-support{min-height:10px!important;margin-top:4px!important}
}

/* =========================================================
   v0.7.9 — fixed side panels + refresh-stable game stack
   ========================================================= */
.fog-stage{
  position:relative!important;
  align-items:center!important;
}
.fog-player-panel,.fog-prizes-panel{
  width:min(100%,372px)!important;
  max-width:372px!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  align-self:center!important;
  justify-self:center!important;
  margin-inline:auto!important;
  overflow:visible!important;
  transform:none!important;
}
.fog-player-panel{justify-content:flex-start!important}
.fog-prizes-panel{display:flex!important;flex-direction:column!important;height:auto!important;min-height:0!important;max-height:none!important}
.fog-prize-list{flex:0 1 auto!important;min-height:0!important;max-height:440px!important;overflow:auto!important}
.fog-side-panel-frame{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  max-height:none!important;
  object-fit:fill!important;
  object-position:center!important;
  pointer-events:none!important;
  z-index:9!important;
  display:block;
}
.fog-side-panel-frame[hidden]{display:none!important}
.fog-player-panel.has-custom-panel-frame,.fog-prizes-panel.has-custom-panel-frame{
  width:min(100%,372px)!important;
  max-width:372px!important;
  aspect-ratio:760/1320!important;
  height:auto!important;
  min-height:646px!important;
  border-color:transparent!important;
  background:transparent!important;
  box-shadow:none!important;
  border-radius:0!important;
  padding:104px 64px 92px!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
  justify-content:flex-start!important;
  overflow:hidden!important;
}
.fog-player-panel.has-custom-panel-frame:before,.fog-prizes-panel.has-custom-panel-frame:before{
  content:""!important;
  display:block!important;
  position:absolute!important;
  left:0!important;
  top:50%!important;
  width:100%!important;
  height:auto!important;
  aspect-ratio:760/1000!important;
  transform:translateY(-50%)!important;
  border-radius:30px!important;
  background:linear-gradient(180deg,rgba(42,24,56,.58),rgba(84,55,10,.38))!important;
  backdrop-filter:blur(12px)!important;
  -webkit-backdrop-filter:blur(12px)!important;
  z-index:0!important;
  pointer-events:none!important;
}
.fog-player-panel>*,.fog-prizes-panel>*{position:relative;z-index:2}
.fog-player-panel>.fog-side-panel-frame,.fog-prizes-panel>.fog-side-panel-frame{z-index:9}
.fog-player-panel.has-custom-panel-frame .fog-mini-controls{margin-top:16px!important;align-self:center!important}.fog-player-panel.has-custom-panel-frame{justify-content:center!important}.fog-player-panel.has-custom-panel-frame .fog-user-card,.fog-player-panel.has-custom-panel-frame .fog-stat-card{width:92%!important;margin-inline:auto!important}.fog-player-panel.has-custom-panel-frame .fog-user-card{margin-top:4px!important}.fog-player-panel.has-custom-panel-frame .fog-mini-controls button{width:40px!important;height:38px!important}
.fog-player-panel.has-custom-panel-frame .fog-user-card,.fog-player-panel.has-custom-panel-frame .fog-stat-card{width:100%!important}
.fog-prizes-panel.has-custom-panel-frame h3{margin:0 0 12px!important;font-size:20px!important;line-height:1.15!important;text-align:center!important}.fog-prizes-panel.has-custom-panel-frame .fog-prize-list{max-height:none!important;overflow:auto!important;padding-inline:0!important;gap:8px!important}.fog-prizes-panel.has-custom-panel-frame .fog-prize-item{min-height:72px!important;padding:10px 12px!important;gap:10px!important;border-radius:14px!important}.fog-prizes-panel.has-custom-panel-frame .fog-prize-item img,.fog-prizes-panel.has-custom-panel-frame .fog-prize-item>span{width:44px!important;height:44px!important}.fog-prizes-panel.has-custom-panel-frame .fog-prize-item b{font-size:13px!important;line-height:1.35!important}.fog-prizes-panel.has-custom-panel-frame .fog-prize-item small{font-size:10px!important;line-height:1.25!important}

/* lock the center composition: title, machine, button and support are one stack */
.fog-machine-area{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:0!important;
  overflow:visible!important;
}
.fog-machine-wrap{flex:0 0 auto!important}
.fog-spin-zone{position:relative!important;bottom:auto!important;left:auto!important;right:auto!important;transform:none!important}
.fog-support{flex:0 0 auto!important}

@media(min-width:901px){
  .fog-stage{grid-template-columns:clamp(280px,21vw,390px) minmax(0,1fr) clamp(280px,21vw,390px)!important;gap:18px!important}
}
@media(max-width:1100px) and (min-width:901px){
  .fog-player-panel,.fog-prizes-panel{height:auto!important;min-height:0!important;max-height:none!important}
}
@media(max-width:900px){
  .fog-player-panel,.fog-prizes-panel{display:none!important}
  .fog-machine-area{height:100%!important;justify-content:center!important}
  .fog-spin-zone{margin-top:24px!important}
}

/* v0.8.1 precision fixes */
.fog-player-panel{gap:10px!important}
.fog-player-panel .fog-mini-controls{margin-top:2px!important;align-self:center!important}
@media(min-width:901px){
  .fog-machine-area{max-width:930px;margin-inline:auto}
}


/* =========================================================
   v0.8.7 — tablet/mobile bottom dock
   Side panels are desktop-only. Tablet + mobile use one readable bottom dock.
   ========================================================= */
@media(max-width:1180px){
  html.fog-standalone-html,body.fog-standalone-body{overflow:hidden!important}
  .fog-game{
    height:100vh!important;height:100dvh!important;
    min-height:0!important;
    display:grid!important;
    grid-template-rows:46px minmax(0,1fr) auto!important;
    gap:6px!important;
    padding:6px 8px max(6px,env(safe-area-inset-bottom))!important;
    overflow:hidden!important;
  }
  .fog-topbar{height:46px!important;min-height:46px!important;flex-basis:46px!important}
  .fog-stage{
    width:100%!important;height:100%!important;min-height:0!important;
    display:flex!important;align-items:center!important;justify-content:center!important;
    margin:0!important;overflow:visible!important;
  }
  .fog-player-panel,.fog-prizes-panel{display:none!important}
  .fog-machine-area{width:100%!important;height:100%!important;min-height:0!important;justify-content:center!important}

  .fog-mobile-dock{
    display:grid!important;
    grid-template-rows:auto auto;
    gap:5px;
    width:min(960px,100%);
    max-width:960px;
    margin:0 auto;
    padding:6px;
    border:1px solid rgba(177,204,237,.18);
    border-radius:16px;
    background:linear-gradient(180deg,rgba(7,20,38,.91),rgba(4,13,25,.94));
    backdrop-filter:blur(18px);
    box-shadow:0 -8px 30px rgba(0,0,0,.25),inset 0 1px 0 rgba(255,255,255,.04);
    z-index:80;
  }
  .fog-mobile-prizes{
    min-width:0;
    display:grid;
    grid-template-columns:auto minmax(0,1fr);
    align-items:center;
    gap:8px;
    direction:rtl;
  }
  .fog-mobile-prizes-title{
    flex:0 0 auto;
    color:#f4f7fb;
    font-size:10px;
    font-weight:800;
    white-space:nowrap;
    padding:0 3px;
  }
  .fog-mobile-prize-list{
    min-width:0;
    display:flex;
    gap:6px;
    overflow-x:auto;
    overflow-y:hidden;
    scrollbar-width:none;
    padding:1px 0 2px;
    direction:rtl;
    scroll-snap-type:x proximity;
  }
  .fog-mobile-prize-list::-webkit-scrollbar{display:none}
  .fog-mobile-prize-chip{
    flex:0 0 auto;
    min-width:132px;
    max-width:170px;
    height:48px;
    display:grid;
    grid-template-columns:38px minmax(0,1fr);
    align-items:center;
    gap:6px;
    padding:5px 8px;
    border:1px solid rgba(161,188,223,.14);
    border-radius:11px;
    background:rgba(255,255,255,.035);
    color:#fff;
    scroll-snap-align:start;
  }
  .fog-mobile-prize-chip img,.fog-mobile-prize-chip>span{width:34px;height:34px;object-fit:contain;display:grid;place-items:center;font-size:20px}
  .fog-mobile-prize-chip div{min-width:0;text-align:right}
  .fog-mobile-prize-chip b{display:block;font-size:10px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .fog-mobile-prize-chip small{display:block;margin-top:2px;font-size:7px;line-height:1.1;color:#99acc2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .fog-mobile-prize-empty{font-size:9px;color:#8fa2b7;padding:6px}

  .fog-mobile-hud{
    position:static!important;
    display:grid!important;
    grid-template-columns:minmax(100px,1.15fr) repeat(3,minmax(78px,.9fr)) 44px 44px!important;
    gap:5px!important;
    width:100%!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    backdrop-filter:none!important;
    box-shadow:none!important;
  }
  .fog-mobile-hud>div,.fog-mobile-hud>button{
    min-width:0!important;
    min-height:44px!important;
    border:1px solid rgba(255,255,255,.10)!important;
    border-radius:10px!important;
    background:rgba(255,255,255,.035)!important;
    color:#fff!important;
    display:grid!important;
    place-items:center!important;
    text-align:center!important;
    padding:4px 6px!important;
  }
  .fog-mobile-hud small{display:block!important;color:#91a6bd!important;font-size:8px!important;line-height:1.15!important}
  .fog-mobile-hud b{display:block!important;max-width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;font-size:12px!important;line-height:1.15!important}
  .fog-mobile-hud em{font-style:normal!important;font-size:8px!important;color:#a0b2c7!important}
  .fog-mobile-hud button{font-size:16px!important;cursor:pointer!important}
}

@media(max-width:700px){
  .fog-game{grid-template-rows:42px minmax(0,1fr) auto!important;padding:4px!important;gap:4px!important}
  .fog-topbar{height:42px!important;min-height:42px!important;flex-basis:42px!important}
  .fog-mobile-dock{padding:4px!important;gap:4px!important;border-radius:13px!important}
  .fog-mobile-prizes{gap:5px!important}
  .fog-mobile-prizes-title{font-size:8px!important}
  .fog-mobile-prize-chip{min-width:108px!important;max-width:132px!important;height:42px!important;grid-template-columns:30px minmax(0,1fr)!important;padding:4px 6px!important;gap:5px!important}
  .fog-mobile-prize-chip img,.fog-mobile-prize-chip>span{width:28px!important;height:28px!important;font-size:17px!important}
  .fog-mobile-prize-chip b{font-size:8px!important}
  .fog-mobile-prize-chip small{font-size:6px!important}
  .fog-mobile-hud{grid-template-columns:repeat(4,minmax(0,1fr)) 34px 34px!important;gap:3px!important}
  .fog-mobile-hud>div,.fog-mobile-hud>button{min-height:40px!important;border-radius:8px!important;padding:3px!important}
  .fog-mobile-hud small{font-size:7px!important}
  .fog-mobile-hud b{font-size:10px!important}
  .fog-mobile-hud em{font-size:7px!important}
  .fog-mobile-hud button{font-size:14px!important}
}


/* =========================================================
   v0.8.8 — HARD MOBILE/TABLET LAYOUT LOCK
   The two desktop side panels are never rendered in compact mode.
   Only the centered game stack + bottom dock are allowed.
   ========================================================= */
.fog-mobile-dock[hidden]{display:none!important}

.fog-game-shell.fog-compact-layout .fog-stage > .fog-player-panel,
.fog-game-shell.fog-compact-layout .fog-stage > .fog-prizes-panel{
  display:none!important;
  visibility:hidden!important;
  pointer-events:none!important;
}
.fog-game-shell.fog-compact-layout .fog-stage{
  display:flex!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  height:100%!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  align-items:center!important;
  justify-content:center!important;
  overflow:hidden!important;
}
.fog-game-shell.fog-compact-layout .fog-machine-area{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  height:100%!important;
  min-height:0!important;
  margin:0 auto!important;
  padding:0!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  overflow:visible!important;
}
.fog-game-shell.fog-compact-layout .fog-machine-wrap{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  margin:0 auto!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
}
.fog-game-shell.fog-compact-layout .fog-machine{
  margin-inline:auto!important;
  flex:0 0 auto!important;
}
.fog-game-shell.fog-compact-layout .fog-mobile-dock{
  display:grid!important;
  flex:0 0 auto!important;
  width:min(100%,980px)!important;
  max-width:980px!important;
  margin:0 auto!important;
  position:relative!important;
  inset:auto!important;
}

@media(max-width:1180px){
  .fog-game-shell.fog-compact-layout .fog-game{
    height:100vh!important;
    height:100dvh!important;
    min-height:0!important;
    display:grid!important;
    grid-template-rows:46px minmax(0,1fr) auto!important;
    gap:6px!important;
    padding:6px 8px max(6px,env(safe-area-inset-bottom))!important;
    overflow:hidden!important;
  }
  .fog-game-shell.fog-compact-layout .fog-topbar{height:46px!important;min-height:46px!important}
  .fog-game-shell.fog-compact-layout .fog-mobile-dock{
    grid-template-rows:auto auto!important;
    gap:5px!important;
    padding:5px!important;
    border:1px solid rgba(177,204,237,.18)!important;
    border-radius:14px!important;
    background:linear-gradient(180deg,rgba(7,20,38,.94),rgba(4,13,25,.96))!important;
    box-shadow:0 -8px 28px rgba(0,0,0,.22)!important;
    backdrop-filter:blur(16px)!important;
  }
}

@media(max-width:700px){
  .fog-game-shell.fog-compact-layout .fog-game{
    grid-template-rows:42px minmax(0,1fr) auto!important;
    gap:4px!important;
    padding:4px!important;
  }
  .fog-game-shell.fog-compact-layout .fog-topbar{height:42px!important;min-height:42px!important}
  .fog-game-shell.fog-compact-layout .fog-title-block{
    margin:0 auto 4px!important;
    min-height:28px!important;
  }
  .fog-game-shell.fog-compact-layout .fog-title-block h1{font-size:clamp(20px,7vw,30px)!important}
  .fog-game-shell.fog-compact-layout .fog-title-block img{max-height:44px!important;max-width:72vw!important}
  .fog-game-shell.fog-compact-layout .fog-spin-zone{margin-top:10px!important}
  .fog-game-shell.fog-compact-layout .fog-support{margin-top:5px!important;min-height:10px!important}

  .fog-game-shell.fog-compact-layout .fog-mobile-dock{
    gap:4px!important;
    padding:4px!important;
    border-radius:12px!important;
  }
  .fog-game-shell.fog-compact-layout .fog-mobile-prizes{
    display:grid!important;
    grid-template-columns:auto minmax(0,1fr)!important;
    gap:5px!important;
    min-width:0!important;
  }
  .fog-game-shell.fog-compact-layout .fog-mobile-prizes-title{
    font-size:8px!important;
    padding-inline:2px!important;
  }
  .fog-game-shell.fog-compact-layout .fog-mobile-prize-list{
    display:flex!important;
    min-width:0!important;
    gap:5px!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
  }
  .fog-game-shell.fog-compact-layout .fog-mobile-prize-chip{
    min-width:104px!important;
    max-width:122px!important;
    height:40px!important;
    grid-template-columns:28px minmax(0,1fr)!important;
    gap:5px!important;
    padding:4px 5px!important;
    border-radius:8px!important;
  }
  .fog-game-shell.fog-compact-layout .fog-mobile-prize-chip img,
  .fog-game-shell.fog-compact-layout .fog-mobile-prize-chip>span{
    width:26px!important;height:26px!important;font-size:16px!important;
  }
  .fog-game-shell.fog-compact-layout .fog-mobile-prize-chip b{font-size:8px!important}
  .fog-game-shell.fog-compact-layout .fog-mobile-prize-chip small{font-size:6px!important}

  .fog-game-shell.fog-compact-layout .fog-mobile-hud{
    display:grid!important;
    grid-template-columns:minmax(56px,1.2fr) repeat(3,minmax(48px,1fr)) 32px 32px!important;
    gap:3px!important;
    width:100%!important;
    padding:0!important;
    margin:0!important;
  }
  .fog-game-shell.fog-compact-layout .fog-mobile-hud>div,
  .fog-game-shell.fog-compact-layout .fog-mobile-hud>button{
    min-width:0!important;
    min-height:38px!important;
    padding:3px!important;
    border-radius:8px!important;
  }
  .fog-game-shell.fog-compact-layout .fog-mobile-hud small{font-size:6.5px!important;line-height:1.05!important}
  .fog-game-shell.fog-compact-layout .fog-mobile-hud b{font-size:9px!important;line-height:1.05!important}
  .fog-game-shell.fog-compact-layout .fog-mobile-hud em{font-size:6px!important}
  .fog-game-shell.fog-compact-layout .fog-mobile-hud button{font-size:13px!important}
}


/* Slightly more readable compact dock — no structural/layout changes. */
@media(max-width:1180px){
  .fog-game-shell.fog-compact-layout .fog-mobile-prizes-title{font-size:9px!important;line-height:1.2!important}
  .fog-game-shell.fog-compact-layout .fog-mobile-prize-chip b{font-size:10px!important;line-height:1.2!important}
  .fog-game-shell.fog-compact-layout .fog-mobile-prize-chip small{font-size:7.5px!important;line-height:1.15!important}
  .fog-game-shell.fog-compact-layout .fog-mobile-hud small{font-size:9px!important;line-height:1.15!important}
  .fog-game-shell.fog-compact-layout .fog-mobile-hud b{font-size:13px!important;line-height:1.15!important}
  .fog-game-shell.fog-compact-layout .fog-mobile-hud em{font-size:8.5px!important;line-height:1.1!important}
  .fog-game-shell.fog-compact-layout .fog-mobile-hud button{font-size:17px!important}
}
@media(max-width:700px){
  .fog-game-shell.fog-compact-layout .fog-mobile-prizes-title{font-size:8.5px!important}
  .fog-game-shell.fog-compact-layout .fog-mobile-prize-chip b{font-size:9px!important;line-height:1.15!important}
  .fog-game-shell.fog-compact-layout .fog-mobile-prize-chip small{font-size:7px!important;line-height:1.1!important}
  .fog-game-shell.fog-compact-layout .fog-mobile-hud small{font-size:7.5px!important;line-height:1.1!important}
  .fog-game-shell.fog-compact-layout .fog-mobile-hud b{font-size:10.5px!important;line-height:1.1!important}
  .fog-game-shell.fog-compact-layout .fog-mobile-hud em{font-size:7px!important;line-height:1.05!important}
  .fog-game-shell.fog-compact-layout .fog-mobile-hud button{font-size:14.5px!important}
}


/* =========================================================
   v0.8.10 — remove prize-panel glass layer completely
   The custom prize frame stays untouched; only the large tinted/glass
   pseudo-layer behind the prize content is disabled.
   ========================================================= */
.fog-prizes-panel.has-custom-panel-frame:before{
  content:none!important;
  display:none!important;
  background:none!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}
.fog-prizes-panel.has-custom-panel-frame{
  background:transparent!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}


/* =========================================================
   v0.8.12 — preserve side-frame artwork; remove ONLY glass/blur
   The uploaded PNG/SVG frame is rendered exactly as uploaded.
   No masking, clipping, cropping or resizing trick is applied to it.
   ========================================================= */
.fog-player-panel.has-custom-panel-frame,
.fog-prizes-panel.has-custom-panel-frame{
  background:transparent!important;
  background-image:none!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}
.fog-player-panel.has-custom-panel-frame:before,
.fog-prizes-panel.has-custom-panel-frame:before{
  content:none!important;
  display:none!important;
  background:none!important;
  background-image:none!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}
.fog-player-panel.has-custom-panel-frame > .fog-side-panel-frame,
.fog-prizes-panel.has-custom-panel-frame > .fog-side-panel-frame{
  -webkit-mask:none!important;
  mask:none!important;
  clip-path:none!important;
  opacity:1!important;
  filter:none!important;
}


/* =========================================================
   v0.8.13 — fixed glass plate inside side frames
   Design space: frame 760x1320, glass 420x840.
   Exact centered offsets in design pixels: X=170, Y=240.
   The percentages below preserve those exact proportions responsively.
   ========================================================= */
.fog-player-panel.has-custom-panel-frame:before,
.fog-prizes-panel.has-custom-panel-frame:before{
  content:""!important;
  display:block!important;
  position:absolute!important;
  left:22.3684210526%!important;   /* 170 / 760 */
  top:18.1818181818%!important;    /* 240 / 1320 */
  width:55.2631578947%!important;  /* 420 / 760 */
  height:63.6363636364%!important; /* 840 / 1320 */
  transform:none!important;
  border-radius:28px!important;
  background:linear-gradient(180deg,rgba(16,25,45,.52),rgba(8,14,28,.38))!important;
  border:1px solid rgba(210,225,255,.08)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.045)!important;
  backdrop-filter:blur(14px)!important;
  -webkit-backdrop-filter:blur(14px)!important;
  z-index:0!important;
  pointer-events:none!important;
}


/* =========================================================
   v0.8.14 — side-panel blur enlarged slightly + smoother mobile sliders
   Side frame design basis: 760x1320. Updated glass area: 460x900.
   Exact centered offsets: X=150, Y=210.
   ========================================================= */
.fog-player-panel.has-custom-panel-frame:before,
.fog-prizes-panel.has-custom-panel-frame:before{
  left:19.7368421053%!important;   /* 150 / 760 */
  top:15.9090909091%!important;    /* 210 / 1320 */
  width:60.5263157895%!important;  /* 460 / 760 */
  height:68.1818181818%!important; /* 900 / 1320 */
  border-radius:30px!important;
}

@media (max-width:1024px){
  .fog-mobile-prize-list{
    scroll-behavior:smooth;
    -webkit-overflow-scrolling:touch;
    overscroll-behavior-x:contain;
    scroll-snap-type:x mandatory;
  }
  .fog-mobile-prize-chip{
    transition:transform .18s ease, background .18s ease;
  }
  .fog-reel-strip{
    will-change:transform;
    transform:translate3d(0,0,0);
  }
}


/* =========================================================
   v0.8.15 — configurable side-frame glass geometry
   Values are entered in the panel using the 760x1320 design grid.
   ========================================================= */
.fog-player-panel.has-custom-panel-frame:before,
.fog-prizes-panel.has-custom-panel-frame:before{
  left:var(--fog-side-glass-x,19.7368421053%)!important;
  top:var(--fog-side-glass-y,15.9090909091%)!important;
  width:var(--fog-side-glass-w,60.5263157895%)!important;
  height:var(--fog-side-glass-h,68.1818181818%)!important;
}

/* =========================================================
   v0.9.0 — login viewport, reward table modal, win confetti
   ========================================================= */
.fog-game[hidden],.fog-login[hidden],.fog-loading[hidden]{display:none!important}
body.fog-login-active{overflow:hidden!important;height:var(--fog-visual-height,100dvh)!important}
body.fog-login-active .fog-login{position:fixed!important;inset:0!important;height:var(--fog-visual-height,100dvh)!important;min-height:0!important;overflow:auto!important;overscroll-behavior:none;padding:max(16px,env(safe-area-inset-top)) 16px max(16px,env(safe-area-inset-bottom))!important;z-index:99999!important;background:#06101b}
body.fog-login-active .fog-game{display:none!important}

.fog-confetti{position:absolute!important;inset:0!important;display:block!important;pointer-events:none!important;overflow:hidden!important;z-index:1!important}
.fog-confetti i{position:absolute;left:var(--x);top:-18px;width:var(--s);height:calc(var(--s) * 1.7);border-radius:2px;opacity:0;transform:rotate(var(--r));}
.fog-confetti.run i{animation:fogConfettiFall 2.4s cubic-bezier(.2,.65,.25,1) var(--d) forwards}
.fog-confetti .c0{background:#ffd34e}.fog-confetti .c1{background:#ff5f73}.fog-confetti .c2{background:#63d7ff}.fog-confetti .c3{background:#8be96d}.fog-confetti .c4{background:#c389ff}.fog-confetti .c5{background:#fff1a8}
@keyframes fogConfettiFall{0%{opacity:0;transform:translate3d(0,-18px,0) rotate(var(--r))}8%{opacity:1}100%{opacity:0;transform:translate3d(var(--dx),430px,0) rotate(calc(var(--r) + 620deg))}}
.fog-result-card>*:not(.fog-confetti){position:relative;z-index:2}

.fog-guide-modal{position:fixed;inset:0;z-index:1000000;display:grid;place-items:center;padding:18px;background:rgba(1,6,12,.74);backdrop-filter:blur(10px);opacity:0;transition:.18s}
.fog-guide-modal.show{opacity:1}.fog-guide-modal[hidden]{display:none!important}
.fog-guide-card{position:relative;width:min(560px,100%);max-height:min(76vh,680px);overflow:auto;padding:28px;border:1px solid rgba(255,216,116,.26);border-radius:24px;background:linear-gradient(180deg,#10223b,#06111d);box-shadow:0 30px 90px rgba(0,0,0,.58)}
.fog-guide-card h2{margin:0 0 18px;text-align:center;color:#ffda69;font-size:24px}.fog-guide-close{position:absolute;left:14px;top:12px;width:38px;height:38px;border:1px solid rgba(255,255,255,.14);border-radius:10px;background:rgba(255,255,255,.06);color:#fff;font-size:25px;cursor:pointer}
.fog-guide-grid{display:grid;gap:9px}.fog-guide-grid>div{display:grid;grid-template-columns:150px 1fr;gap:10px;align-items:center;padding:11px 13px;border-radius:13px;border:1px solid rgba(166,193,228,.14);background:rgba(255,255,255,.035)}.fog-guide-grid b{color:#ffd96b}.fog-guide-grid span{color:#eaf2fb}.fog-guide-grid p{text-align:center;color:#aebdd0}
.fog-mobile-guide-btn{border:1px solid rgba(255,255,255,.14);border-radius:9px;background:rgba(255,255,255,.05);color:#fff;padding:5px 8px;font-size:9px;white-space:nowrap;cursor:pointer}
@media(max-width:700px){.fog-guide-card{padding:22px 16px}.fog-guide-grid>div{grid-template-columns:118px 1fr;font-size:11px}.fog-guide-card h2{font-size:20px}.fog-mobile-prizes{grid-template-columns:auto auto minmax(0,1fr)!important}}

@media(max-width:1180px){.fog-mobile-prizes{grid-template-columns:auto auto minmax(0,1fr)!important}}


/* v0.9.1 — keyboard-safe login isolation on mobile/tablet */
html.fog-login-active,
body.fog-login-active{
  position:fixed!important;
  inset:0!important;
  width:100%!important;
  height:var(--fog-visual-height,100dvh)!important;
  min-height:0!important;
  max-height:var(--fog-visual-height,100dvh)!important;
  overflow:hidden!important;
  overscroll-behavior:none!important;
  background:#06101b!important;
}
body.fog-login-active .fog-game-shell.fog-login-only{
  position:fixed!important;
  left:var(--fog-visual-left,0px)!important;
  top:var(--fog-visual-top,0px)!important;
  width:100vw!important;
  height:var(--fog-visual-height,100dvh)!important;
  min-height:0!important;
  max-height:var(--fog-visual-height,100dvh)!important;
  overflow:hidden!important;
  z-index:2147483000!important;
  background:#06101b!important;
}
body.fog-login-active .fog-game-shell.fog-login-only [data-view="game"],
body.fog-login-active .fog-game-shell.fog-login-only .fog-game,
body.fog-login-active .fog-game-shell.fog-login-only .fog-mobile-dock,
body.fog-login-active .fog-game-shell.fog-login-only .fog-mobile-hud,
body.fog-login-active .fog-game-shell.fog-login-only .fog-stage{
  display:none!important;
  visibility:hidden!important;
}
body.fog-login-active .fog-game-shell.fog-login-only .fog-login{
  position:absolute!important;
  inset:0!important;
  display:grid!important;
  width:100%!important;
  height:100%!important;
  min-height:0!important;
  max-height:100%!important;
  overflow:auto!important;
  overscroll-behavior:none!important;
  padding:max(14px,env(safe-area-inset-top)) 14px max(14px,env(safe-area-inset-bottom))!important;
  background:#06101b!important;
  z-index:10!important;
}
body.fog-login-active .fog-game-shell.fog-login-only .fog-bg-layer,
body.fog-login-active .fog-game-shell.fog-login-only .fog-atmosphere,
body.fog-login-active .fog-game-shell.fog-login-only .fog-vignette{
  position:fixed!important;
  inset:0!important;
}
@media(max-width:1180px){
  body.fog-login-active .fog-login-card{margin:auto!important;max-height:calc(var(--fog-visual-height,100dvh) - 24px)!important;overflow:auto!important;}
}

/* v0.9.8 final cumulative reward summary */
.fog-result-summary{margin-top:8px!important;border:1px solid rgba(255,210,90,.24)!important;background:rgba(255,193,49,.08)!important;color:#ffe08a!important;font-weight:800!important;line-height:1.9!important}
