#app{max-width:none;width:100%;height:100dvh}.framework-wrap{padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left)}.framework-stage{width:min(100%,calc((100dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom))*1673/940));aspect-ratio:1673/940;max-height:none;container-type:inline-size;isolation:isolate;background:#0d0810}.framework-img{z-index:20;mask-image:linear-gradient(to right,transparent 0%,transparent .30%,#000 .66%,#000 100%);-webkit-mask-image:linear-gradient(to right,transparent 0%,transparent .30%,#000 .66%,#000 100%)}.reels-layer{left:7.232516%;top:5.212766%;width:85.714286%;height:76.702128%;gap:0;overflow:visible}.reel{position:absolute!important;top:0;height:100%;background:white}.symbol{padding:5%;}.symbol img{max-width:100%;max-height:100%}.win-lines-svg{left:7.232516%;top:5.212766%;width:85.714286%;height:76.702128%;z-index:25}.live-balance,.live-bet,.live-basebet{display:flex;position:absolute;align-items:center;justify-content:center;white-space:nowrap;overflow:hidden;color:#ffe69d;font-family:Georgia,serif;font-weight:700;z-index:30;pointer-events:none;text-align:center;padding:0}.live-win{display:none}.hotspot{z-index:40;border:0;padding:0;touch-action:none}.hotspot:active{background:#fff2}.hotspot:focus-visible{outline:2px solid #00caff;outline-offset:-2px}.win-overlay{position:absolute;inset:0;background:transparent;z-index:50}.win-stack{opacity:0;pointer-events:none}.theme-win-glyphs{position:absolute;display:flex;align-items:center;justify-content:center;gap:.15cqw;z-index:51;pointer-events:none;white-space:nowrap;overflow:hidden;color:#ffb700;font-size:9cqw}.theme-win-glyphs img{height:100%;max-width:12%;min-width:0;object-fit:contain}.theme-congrats{position:absolute;object-fit:contain;z-index:51;pointer-events:none}.theme-win-glyphs[hidden],.theme-congrats[hidden]{display:none}.score-float{left:30%;top:60%;width:40%;height:10%;z-index:35;font-size:3cqw}.small-win-flash{left:7.23%;top:5.21%;width:85.72%;height:76.7%;z-index:25;pointer-events:none}.auto-spin-mask{inset:0;width:100%;height:100%;border-radius:12px}.pt-frame-bg{display:none}.pt-frame-wrap{background:#160d22}.demo-label{position:absolute;left:10%;top:1%;font-size:1.2cqw;background:#17091bd9;color:#ffe099;z-index:45;padding:.15cqw .5cqw;border-radius:4px}.drawer-item,.bet-close{touch-action:manipulation}.reel:nth-child(1){left:0.00000000%!important;width:18.47977685%;flex:none;}.reel:nth-child(2){left:20.43235704%!important;width:18.34030683%;flex:none;}.reel:nth-child(3){left:40.79497908%!important;width:18.41004184%;flex:none;}.reel:nth-child(4){left:61.15760112%!important;width:18.41004184%;flex:none;}.reel:nth-child(5){left:81.45048815%!important;width:18.54951185%;flex:none;}.hs-spin{left:73.58039450%;top:87.44680851%;width:25.40346683%;height:11.38297872%;right:auto;bottom:auto;}.hs-bet{left:1.43454871%;top:87.55319149%;width:11.59593545%;height:5.85106383%;right:auto;bottom:auto;}.hs-info{left:38.01554094%;top:92.34042553%;width:24.14823670%;height:6.17021277%;right:auto;bottom:auto;}.hs-menu{left:92.64793784%;top:1.80851064%;width:6.69456067%;height:10.74468085%;right:auto;bottom:auto;}.live-balance{left:34.01075912%;top:85.42553191%;width:31.56007173%;height:5.42553191%;right:auto;bottom:auto;}.live-bet{left:13.80753138%;top:93.82978723%;width:12.37298267%;height:4.36170213%;right:auto;bottom:auto;}.live-basebet{left:1.85295876%;top:93.93617021%;width:10.57979677%;height:3.93617021%;right:auto;bottom:auto;}.theme-congrats{left:38.67304244%;top:51.70212766%;width:22.35505081%;height:15.85106383%;right:auto;bottom:auto;}.theme-win-glyphs{left:21.09982068%;top:67.44680851%;width:55.94739988%;height:16.91489362%;right:auto;bottom:auto;}.live-balance{font-size:2.3cqw}.live-bet,.live-basebet{font-size:1.75cqw}
/* 框架边缘修复：保持原始1673×940尺寸和所有坐标，仅裁掉外缘杂色。 */
.framework-stage{background:#0d0810}
.framework-img{clip-path:inset(.11% .18% .11% .60% round 1.2%);}
/* 自动状态覆盖完整启动按钮，文字按框架比例缩放。 */
.hs-spin .auto-spin-mask{transform:none;inset:0;width:100%;height:100%;box-sizing:border-box;border:.15cqw solid #ffc849;border-radius:1cqw;background:linear-gradient(#ea0872,#ae0049);opacity:1;}
.hs-spin .auto-spin-mask .as-title{font-size:3.3cqw;letter-spacing:.1em;flex:0 0 65%;text-shadow:0 .1cqw .15cqw #560027;}
.hs-spin .auto-spin-mask .as-sub{font-size:1.25cqw;flex:0 0 35%;background:#850038;color:#fff0cb;}

/* Use the physical viewport. Text and controls never inherit a page rotation. */
#landscapeRoot{--game-vh:1dvh;--game-vw:1dvw;position:fixed;inset:0;width:100%;height:100dvh;overflow:hidden;background:#0d0810;transform:none;}
#landscapeRoot #app{height:100%;width:100%;}
#landscapeRoot .framework-wrap{background:transparent;}
#landscapeRoot .framework-stage{width:100%;height:100%;aspect-ratio:auto;max-width:none;max-height:none;transform:none;container-type:size;}

/* Original-size HUD: the three filled regions move with the complete stage. */
.hud-label{position:absolute;z-index:31;display:flex;align-items:center;justify-content:center;pointer-events:none;white-space:nowrap;line-height:1;font-family:"Microsoft YaHei",sans-serif;font-weight:800;text-shadow:0 .12cqw .12cqw #241024;box-sizing:border-box;}
.hud-base-label{left:1.8%;top:87.8%;width:7.5%;height:5.2%;font-size:3cqw;color:#fff2cc;}
.hud-total-label{left:13.6%;top:86.8%;width:12.8%;height:6.2%;font-size:3.25cqw;color:#f7edf9;}
.hud-coins-label{left:34.55%;top:85.65%;width:8.55%;height:5%;font-size:2.1cqw;color:#ffdc89;background:linear-gradient(#8b471e,#633014);border-right:.14cqw solid #ba7938;border-radius:.5cqw 0 0 .5cqw;}
.live-balance{left:43.4%;width:21.65%;font-size:2.9cqw;letter-spacing:.18cqw;color:#fff0ad;text-shadow:0 .12cqw .16cqw #372000;}
.live-bet{font-size:3.2cqw;color:#fff0ff;}
.live-basebet{font-size:2.25cqw;color:#fff0ff;}
.framework-stage.is-screen-fill{max-width:none;max-height:none;flex-shrink:0;transform-origin:center;}

/* Fullscreen stage covers the viewport; safe-area offsets belong to controls. */
#app .framework-wrap,#landscapeRoot .framework-wrap{padding:0}

/* Responsive frame geometry changes independently of the live type and symbols. */
#landscapeRoot .hud-label{font-family:inherit}
#landscapeRoot .hud-base-label{left:2.5%;top:89%;width:6.7%;height:3.8%;font-size:clamp(11px,2.3cqw,30px)}
#landscapeRoot .hud-total-label{left:13.6%;top:87.8%;width:12.8%;height:4.3%;font-size:clamp(13px,2.7cqw,35px)}
#landscapeRoot .hud-coins-label{font-size:clamp(10px,1.9cqw,26px)}
#landscapeRoot .live-basebet{top:93.15%;font-size:clamp(12px,2.15cqw,28px);height:4.4%;overflow:visible}
#landscapeRoot .live-bet{top:93.05%;font-size:clamp(13px,2.8cqw,36px);height:4.4%;overflow:visible}
#landscapeRoot .live-balance{font-size:clamp(14px,2.65cqw,36px);letter-spacing:0;color:#53e890;overflow:hidden}
#landscapeRoot .spin-labels{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;gap:3%;padding:2%;border:.18cqw solid #ffd445;border-radius:.8cqw;background:linear-gradient(155deg,#f01377,#a9003f 75%);color:#fff0c4;white-space:nowrap;overflow:hidden}
#landscapeRoot .spin-labels strong{font-size:clamp(17px,3.5cqw,44px);line-height:1;text-shadow:0 .1cqw #5d0029}
#landscapeRoot .spin-labels small{font-size:clamp(8px,1.6cqw,23px);line-height:1}
#landscapeRoot .hs-info{border:.18cqw solid #e89b00;border-radius:.6cqw;background:linear-gradient(#ffd849,#f3a300);color:#281300;display:flex;align-items:center;justify-content:center;overflow:hidden;font-size:clamp(11px,2.35cqw,32px);font-weight:900;line-height:1}
.game-menu-button{position:fixed;top:max(7px,env(safe-area-inset-top));left:max(7px,env(safe-area-inset-left));z-index:100;display:flex;align-items:center;justify-content:center;gap:5px;min-width:64px;height:34px;border:1px solid #e6c770;border-radius:9px;background:#150e19e6;color:#ffedba;font-size:13px;font-weight:700;touch-action:manipulation;cursor:pointer}
.game-menu-button{font-family:inherit}.game-menu-button span{font-size:18px}
#drawer{left:0;right:auto;width:min(300px,86vw);height:100dvh;transform:translateX(-105%);transition:transform .22s ease;padding:max(10px,env(safe-area-inset-top)) 0 max(12px,env(safe-area-inset-bottom));visibility:hidden}
#drawer.open{transform:translateX(0);visibility:visible}
#drawer .drawer-head{display:flex;align-items:center;justify-content:space-between;padding:0 16px 10px;flex:none}
#drawer .drawer-head button,.history-x,.bet-x{height:32px;width:32px;border:1px solid #ba944d;border-radius:50%;background:#1d1428;color:#ffedba;font-size:25px;line-height:1;cursor:pointer}
#drawer .drawer-item{padding:12px 20px;flex-shrink:0}
#drawer .drawer-item[data-action]{cursor:pointer}
.history-x{position:absolute;right:10px;top:10px;z-index:2}.bet-x{position:absolute;right:10px;top:9px}.bet-popup{position:relative}
.connection-notice{position:fixed;z-index:150;top:max(50px,calc(env(safe-area-inset-top) + 44px));left:50%;transform:translateX(-50%);width:min(440px,calc(100% - 24px));padding:12px 14px;border:1px solid #d7b35b;border-radius:12px;background:#19111cf5;color:#ffedbb;font-size:14px;line-height:1.55;box-shadow:0 4px 24px #0008;display:flex;align-items:center;gap:12px}
.connection-notice[hidden]{display:none}.connection-notice button{flex:none;padding:9px 12px;border:0;border-radius:7px;background:#ecc369;color:#291a03;font-weight:800;cursor:pointer}.connection-notice button:disabled{opacity:.6}
#landscapeRoot .toast{top:auto;bottom:max(15%,calc(env(safe-area-inset-bottom) + 30px));max-width:calc(100% - 24px);width:max-content;z-index:1800;white-space:normal;line-height:1.5;background:#151018ed;border:1px solid #d9bb68}
#paytableModal .pt-bar{height:44px!important;padding:0 max(48px,env(safe-area-inset-right)) 0 max(16px,env(safe-area-inset-left));background:#1b1127}
#paytableModal .pt-title{margin:0;font-size:17px!important;letter-spacing:2px!important}
#paytableModal .pt-frame-content{inset:0;padding:12px max(12px,env(safe-area-inset-right)) max(16px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));font-size:14px;color:#f2eadc}
#paytableModal .pt-note{font-size:13px;color:#e2d5c0;line-height:1.6}
#paytableModal .pt-note img,#paytableModal .pt-sec img{width:32px;height:32px;object-fit:contain;vertical-align:middle}
#paytableModal .pt-sec{font-size:16px;margin:16px 0 8px;color:#ffe36f}
.payout-scroll{width:100%;overflow-x:auto;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;touch-action:pan-x pan-y}
#paytableModal .payout-grid{width:100%;min-width:724px;table-layout:fixed;border-collapse:collapse;background:#160d22;font-size:15px}
#paytableModal .payout-grid th:first-child{width:45px}
#paytableModal .payout-grid th,#paytableModal .payout-grid td{padding:7px 3px;border:1px solid #ffffff20;text-align:center;color:#f4ecd8;line-height:1.3}
#paytableModal .payout-grid th{color:#ffe098;background:#21162f;font-weight:700}
#paytableModal .payout-grid th img{display:block;margin:0 auto 4px;width:64px;height:64px;object-fit:contain;background:transparent}
#paytableModal .payout-grid th span{font-size:12px;display:block}
#paytableModal .pt-box{font-size:14px;padding:10px;background:#160d22;color:#f2eadc}
#paytableModal .pt-box .payout-scroll{margin:9px 0}
html[data-player-theme=light] #paytableModal :is(p,.pt-note,.pt-ul){color:#e2d5c0}
#paytableModal .pt-ul{font-size:13px;line-height:1.6}
#landscapeRoot .history-box{max-height:calc(100dvh - 24px);background:#160d22f0}
#landscapeRoot .history-body{max-height:calc(100dvh - 150px);color:#f5e6c8}
@media(orientation:portrait){
 #landscapeRoot .framework-stage{width:100%;height:auto;aspect-ratio:1673/940;container-type:inline-size}
 #landscapeRoot .spin-labels{flex-direction:column;gap:10%}
 #landscapeRoot .spin-labels strong{font-size:15px}
 #landscapeRoot .spin-labels small{font-size:7px}
 #landscapeRoot .hud-base-label{font-size:9px}
 #landscapeRoot .hud-total-label{font-size:10px}
 #landscapeRoot .hud-coins-label{left:34.4%;width:13.5%;font-size:9px}
 #landscapeRoot .live-balance{left:48%;width:17%;font-size:11px}
 #landscapeRoot .live-basebet,#landscapeRoot .live-bet{font-size:11px}
 #landscapeRoot .hs-info{font-size:10px}
 .connection-notice{flex-direction:column;align-items:stretch;gap:8px}.connection-notice button{align-self:flex-end}
}

/* 2026-10-16: owner-requested HUD and start-control alignment only. */
#landscapeRoot .framework-stage{container-type:size}
#landscapeRoot .hud-coins-label{left:33.4%;top:85.1%;width:14.6%;height:5.6%;font-size:min(2.3cqw,4.1cqh)}
#landscapeRoot .live-balance{left:48%;top:85.1%;width:17%;height:5.6%;font-size:min(2.82cqw,5cqh);line-height:1;overflow:visible}
#landscapeRoot .live-basebet{top:92.6%;height:5.6%;font-size:min(2.82cqw,5cqh);line-height:1;overflow:visible}
#landscapeRoot .live-bet{top:92.5%;height:5.6%;font-size:min(2.82cqw,5cqh);line-height:1;overflow:visible}
#landscapeRoot .hs-spin{top:85.1%;height:13.72978723%;box-sizing:border-box;border-radius:.8cqw;box-shadow:0 .28cqh .35cqh #350019,inset 0 .35cqh .25cqh #fff8;}
#landscapeRoot .spin-labels,#landscapeRoot .hs-spin .auto-spin-mask{box-sizing:border-box;box-shadow:inset 0 .65cqh .3cqh #ffb3d1aa,inset 0 -.8cqh .4cqh #610025, inset .2cqw 0 .2cqw #ff65a4aa;background:linear-gradient(165deg,#ff4097 0%,#e30b66 40%,#a3003c 85%,#74002b 100%)}
#landscapeRoot .hs-spin:active .spin-labels,#landscapeRoot .hs-spin:active .auto-spin-mask{box-shadow:inset 0 .5cqh .65cqh #530021,inset 0 -.25cqh .2cqh #ff94bd}
#landscapeRoot .spin-labels strong,#landscapeRoot .hs-spin .as-title{font-size:min(3.85cqw,6.85cqh);line-height:1}
#landscapeRoot .spin-labels small,#landscapeRoot .hs-spin .as-sub{font-size:min(1.8cqw,3.2cqh);line-height:1}
@media(orientation:landscape){
 .game-menu-button{top:0;left:0;min-width:0;width:min(44px,6vw);height:78px;padding:6px 2px;gap:5px;font-size:13px;line-height:1.2;writing-mode:horizontal-tb;flex-direction:column;border-radius:12%}
 .game-menu-button .menu-icon{font-size:22px;line-height:1}
 .game-menu-button .menu-label{font-size:13px;writing-mode:vertical-rl;line-height:1.2}
}

/* Owner-requested menu alignment and single visible start/auto face. */
.game-menu-button{border-radius:12%}
.game-menu-button .menu-icon,.game-menu-button .menu-label{display:block;flex:none;text-align:center}
.game-menu-button .menu-label{font-size:13px}
#landscapeRoot .hs-spin{overflow:hidden;background:#a3003c}
#landscapeRoot .hs-spin .auto-spin-mask{inset:0;width:100%;height:100%;margin:0;transform:none;border-radius:inherit;z-index:61}
#landscapeRoot .hs-spin:has(.auto-spin-mask.on) .spin-labels{visibility:hidden}

/* The account surface is local to 777; it never destroys its playing frame. */
#gameAccountDialog{position:fixed;inset:0;width:100%;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border:0;background:#090c12;color:#fff;overflow:hidden;box-sizing:border-box}
#gameAccountDialog[open]{display:flex;flex-direction:column}
#gameAccountDialog::backdrop{background:#090c12}
#gameAccountClose{flex:none;align-self:flex-start;margin:max(8px,env(safe-area-inset-top)) 12px 8px;padding:8px 16px;min-height:44px;border:1px solid #d7b35b;border-radius:8px;background:#19111c;color:#ffedbb;font:inherit;touch-action:manipulation}
#gameAccountDialog iframe{display:block;flex:1;width:100%;min-height:0;border:0;background:#090c12}

/* Match the entire baked-in start/auto artwork (1673x940); the backing
   hides its old gold edge as well as its lettering. Face and hit area coincide. */
#landscapeRoot .hs-spin{left:73.16198446%;top:87.02127660%;width:26.41960550%;height:12.44680851%;border-radius:0;background:#0d0810;box-shadow:none}
#landscapeRoot .hs-spin .spin-labels,#landscapeRoot .hs-spin .auto-spin-mask{inset:0;width:100%;height:100%;border-radius:.8cqw;pointer-events:none}

