@font-face{font-family:Interface;src:url('./assets/mines-plus/interface.woff2') format('woff2');font-weight:100 900;font-display:swap}
:root{font-family:Interface,Arial,sans-serif;color:#fff;background:#000;color-scheme:dark;font-synthesis:none;--panel:#1b1940;--rail:#0f1130;--field:#080919;--accent:#5061b9;--stroke:#6066b1;--green:#00cf00;--orange:#ffb61c}
*{box-sizing:border-box}body{margin:0;min-width:280px;min-height:100dvh;display:grid;place-items:center;overflow:hidden}button,input,select{font:inherit}button{border:0;color:inherit;cursor:pointer;background:transparent}button:disabled{cursor:default}button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid #b8d9ff;outline-offset:3px}button{-webkit-tap-highlight-color:transparent;touch-action:manipulation}svg{width:24px;height:24px;pointer-events:none}.svg-defs{position:absolute;width:0;height:0;overflow:hidden}[hidden]{display:none!important}.game-shell{position:relative;display:grid;grid-template-columns:48px 400px minmax(0,1fr);grid-template-rows:minmax(0,1fr) 60px;width:100vw;height:100dvh;max-width:2400px;max-height:1350px;background:var(--panel);overflow:hidden;isolation:isolate;font-size:14px}.toolbar{grid-column:1;grid-row:1/3;background:var(--rail);display:flex;align-items:center;flex-direction:column;padding-top:14px;gap:10px;z-index:5}.icon-button{width:38px;height:48px;display:grid;place-items:center;border-radius:6px}.icon-button:hover{background:#ffffff10}.icon-button svg{width:22px;height:22px}.info-button svg{width:27px;height:27px}.speed-button svg{width:24px;height:14px}.icon-button.active{color:var(--orange)}.sound-button.muted-sound{color:#a5a2ba}.mobile-mode{display:none!important}.control-panel{grid-column:2;grid-row:1;display:flex;flex-direction:column;min-height:0;background:var(--panel);z-index:3}.control-scroll{padding:20px 20px 0;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#4b4a70 transparent;flex:0 1 auto;min-height:0}.mode-switch{display:flex;width:100%;height:42px;background:var(--field);border-radius:25px;overflow:hidden;flex-shrink:0}.mode-button{flex:1;display:grid;place-items:center;border-radius:25px;transition:background .18s;position:relative}.mode-button.active{background:var(--accent);box-shadow:inset 0 -2px 0 #ffffff1c}.mode-button svg{width:24px;height:24px}.desktop-mode{margin-bottom:12px}.field-group{margin-bottom:10px}.field-title{height:20px;display:flex;justify-content:space-between;align-items:flex-start;gap:8px;white-space:nowrap;line-height:16px}.field-title>:first-child{font-weight:700}.field-title>:last-child:not(:first-child){font-size:12px;font-weight:400;color:#d0cfdf;overflow:hidden;text-overflow:ellipsis}.amount-control{height:40px;border:1px solid var(--stroke);display:flex;background:var(--field);border-radius:7px;overflow:hidden;align-items:center}.currency{font-size:18px;font-weight:700;padding-left:13px;width:39px;flex-shrink:0}.amount-control input{min-width:0;flex:1;width:100%;background:transparent;border:0;color:#fff;height:100%;font-size:16px;font-weight:700;padding:0 8px;outline:none}.amount-steppers{display:flex;flex-direction:column;flex-shrink:0;width:30px;height:100%;padding-bottom:2px}.amount-steppers button{height:50%;font:21px/14px Arial;color:#9daeb9;padding:0}.amount-shortcuts{display:flex;align-items:center;background:var(--accent);height:100%;flex-shrink:0}.amount-shortcuts button{position:relative;width:40px;height:100%;font-weight:800;font-size:23px;letter-spacing:-1px}.amount-shortcuts button+button:before{content:'';position:absolute;left:0;top:10px;bottom:10px;width:1px;background:#ffffff50}.amount-shortcuts button:last-child{font-size:11px;letter-spacing:0}.amount-shortcuts button:hover{background:#ffffff14}.mine-options{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));background:#0f1030;border:1px solid var(--stroke);border-radius:7px;padding:2px;row-gap:5px}.mine-choice{border-radius:6px;height:35px;font-size:14px;display:grid;place-items:center;transition:background .12s}.mine-choice:hover:not(:disabled){background:#414b87}.mine-choice.active{background:var(--accent)}.action-panel{padding:12px 20px 0;flex:1 0 auto;display:flex;flex-direction:column;align-items:stretch;min-height:60px}.bet-button{height:52px;min-height:52px;display:flex;align-items:center;justify-content:center;gap:8px;background:var(--green);border-radius:7px;font-size:20px;font-weight:700;box-shadow:inset 0 -4px 0 #009600;transition:filter .12s,transform .08s}.bet-button:hover:not(:disabled){filter:brightness(1.08)}.bet-button:active:not(:disabled){transform:translateY(1px);filter:brightness(.94)}.bet-button:disabled{opacity:.6}.bet-button.cashout{background:#ff9700;box-shadow:inset 0 -4px #ba6600}.bet-button.stop{background:#d34c52;box-shadow:inset 0 -4px #933139}.bet-button .button-payout{font-size:17px}.random-button{height:44px;margin-top:10px;background:var(--accent);border-radius:6px;display:flex;align-items:center;justify-content:center;gap:8px}.random-button svg{width:20px}.inline-status{font-size:12px;line-height:16px;min-height:20px;margin-top:9px;color:#e0c9b0;text-align:center}.inline-status:empty{margin:0;min-height:0}.credit-bar{grid-column:2;grid-row:2;z-index:4;padding:10px 12px 12px;background:var(--panel);text-align:center}.credit-values{display:flex;align-items:center;justify-content:center;gap:16px;font-size:16px;font-weight:800;white-space:nowrap}.credit-values button{padding:0;font-weight:800}.credit-values span{color:var(--orange)}.credit-values strong{font-weight:800}.session-caption{display:flex;align-items:center;justify-content:center;gap:10px;font-size:10px;font-weight:300;color:#9998b2;margin-top:3px;white-space:nowrap}.session-caption>span+span:before{content:'•';margin-right:7px;color:#6f6b91}.playfield{position:relative;grid-column:3;grid-row:1/3;min-width:0;min-height:0;background:#042753 url('./assets/mines-plus/background.jpg') center center/auto 125% no-repeat;display:flex;align-items:center;justify-content:center;overflow:hidden;container-type:size}.board-layout{display:flex;flex-direction:column;align-items:center;gap:14px;width:min(77%,calc(100cqh - 113px));max-width:1100px;padding-bottom:0;margin-top:10px}.game-logo{width:36.8%;height:auto;object-fit:contain;flex-shrink:0}.board{width:100%;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;aspect-ratio:1;user-select:none;-webkit-user-select:none}.tile{position:relative;min-width:0;padding:0;border:0;aspect-ratio:1;background:transparent;isolation:isolate;transition:filter .14s;transform:translateZ(0)}.tile:before{content:'';position:absolute;inset:0;background:url('./assets/mines-plus/tile-idle.png') center/100% 100%;opacity:1;z-index:-1;transition:opacity .16s}.board.in-round .tile:before,.board.selecting .tile:before{opacity:1}.tile:hover:not(:disabled):before{opacity:1;filter:brightness(1.2)}.tile.selected:before{background-image:url('./assets/mines-plus/s_boardBtn_selected.png');inset:-5.5%}.tile.selected:after{content:'✓';position:absolute;inset:0;display:grid;place-items:center;color:white;font-size:26px;text-shadow:0 1px 4px #004b91}.tile.revealed:before{opacity:1;background-image:url('./assets/mines-plus/s_boardBtn_win_bkg.png')}.tile.mine:before{background-image:url('./assets/mines-plus/s_boardBtn_lose_bkg.png')}.tile .tile-icon{position:absolute;width:65%;height:65%;inset:17.5%;object-fit:contain;pointer-events:none}.tile.mine .tile-icon{width:68%;height:78%;left:16%;top:10%}.tile.opening .tile-icon{animation:gem-reveal .42s cubic-bezier(.2,.7,.2,1) both}.tile.opening:before{animation:tile-flash .4s ease-out}.tile.mine.opening{animation:mine-shake .5s both}.tile.hit:after{content:'';position:absolute;inset:-15%;background:radial-gradient(circle,#ffdc75ba,transparent 65%);animation:explosion .6s ease-out both;pointer-events:none}.tile.unpicked{opacity:.45}.tile.loading:after{content:'';position:absolute;inset:35%;border:3px solid #ffffff50;border-top-color:#fff;border-radius:50%;animation:spin .6s linear infinite}.round-history{position:absolute;top:10px;right:12px;left:12px;display:flex;justify-content:flex-end;gap:5px;pointer-events:none;overflow:hidden;max-height:22px}.round-chip{font-size:11px;padding:4px 8px;border-radius:4px;background:#0e1230b3;color:#e8e9f4;white-space:nowrap}.round-chip.win{color:#80eea6}.round-chip.loss{color:#ef868a}.result-banner{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);min-width:220px;padding:22px 30px;border-radius:16px;background:linear-gradient(135deg,#16133aee,#092f63ed);border:2px solid #37d5ff;box-shadow:0 0 50px #00b7ff80;display:flex;align-items:center;flex-direction:column;gap:8px;text-align:center;pointer-events:none;animation:result-show .35s ease-out}.result-banner>span:first-child{text-transform:uppercase;font-weight:800;font-size:24px;color:#83edff}.result-banner strong{font-size:36px;white-space:nowrap;text-shadow:0 0 22px #09caff}.result-banner>span:last-child{font-size:20px;color:#a8eaff}.result-banner.loss{border-color:#ff5d58;box-shadow:0 0 45px #e83c2870}.result-banner.loss>span:first-child{color:#ffbda5}.panel-handle{display:none}.auto-settings{padding-top:4px;padding-bottom:8px}.auto-settings select{width:100%;height:40px;border:1px solid var(--stroke);border-radius:6px;background:var(--field);padding:0 12px;color:#fff}.auto-hint{font-size:12px;color:#cbc9e3;line-height:1.4;margin:10px 0 4px}.text-button{padding:4px 0;color:#b6c0ff;font-size:12px}.round-details{padding-top:12px}.next-payout,.total-profit{font-size:24px;font-weight:700;margin:2px 0 16px}.next-payout{color:#a6e7ff}.total-profit{color:#7ae385}.menu-panel{position:absolute;left:48px;top:0;bottom:0;width:320px;max-width:calc(100% - 48px);background:#161531f7;z-index:15;box-shadow:12px 0 40px #0005;padding:24px 20px;backdrop-filter:blur(12px)}.menu-heading{font-size:24px;font-weight:800;display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.close-button{font:30px/1 Arial;background:transparent;padding:0 4px;color:#cac8e0}.menu-panel>button{width:100%;text-align:left;display:flex;justify-content:space-between;gap:10px;padding:17px 0;border-bottom:1px solid #ffffff16}.menu-panel>button span{color:#bbb9d6}.menu-panel p{font-size:11px;color:#9490af;margin-top:26px}.speed-panel{position:absolute;left:54px;top:85px;z-index:16;display:flex;flex-direction:column;gap:5px;background:#11102e;padding:14px;border:1px solid #5e60a1;border-radius:8px;min-width:150px}.speed-panel>span{font-weight:700;margin-bottom:6px}.speed-panel button{text-align:left;padding:9px;border-radius:5px}.speed-panel button.active{background:var(--accent)}dialog{border:1px solid #55528e;max-width:min(440px,calc(100vw - 30px));width:440px;background:#1b1940;color:#fff;border-radius:12px;padding:25px;box-shadow:0 20px 90px #0008;max-height:calc(100dvh - 40px);overflow:auto}dialog::backdrop{background:#05081bbd;backdrop-filter:blur(4px)}.dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px}.dialog-heading h2{font-size:22px;margin:0}.dialog-field{display:flex;flex-direction:column;gap:8px;margin:15px 0;font-size:14px;font-weight:600}.dialog-field input{width:100%;height:46px;border:1px solid #6564a5;border-radius:6px;background:#0c0c26;padding:0 12px;color:#fff;font-size:16px}.dialog-field+.bet-button{width:100%;margin-top:20px}dialog .bet-button{width:100%}dialog p{font-size:14px;line-height:1.6}dialog .muted{color:#9f9cb8;font-size:12px}dialog h3{text-align:center;font-size:20px}.help-gem{display:block;width:82px;margin:10px auto}.auth-tabs{display:flex;gap:8px;margin-bottom:20px;background:#0f1030;padding:4px;border-radius:6px}.auth-tabs button{flex:1;padding:10px 6px;border-radius:4px}.auth-tabs button.active{background:var(--accent)}.error-message{color:#ff9c9c;font-size:13px;min-height:0}.history-head,.history-row{display:grid;grid-template-columns:1.4fr .6fr 1fr;gap:8px;font-size:13px;padding:13px 0;border-bottom:1px solid #ffffff15}.history-head{color:#aaa6c4;font-size:12px}.history-row>:last-child,.history-head>:last-child{text-align:right}.history-row.win>:last-child{color:#7ceda4}.history-row.loss>:last-child{color:#ed9a99}
@keyframes spin{to{transform:rotate(360deg)}}@keyframes gem-reveal{0%{opacity:0;transform:scale(.3)}65%{opacity:1;transform:scale(1.12)}100%{transform:scale(1)}}@keyframes tile-flash{0%{filter:brightness(2.5)}100%{filter:brightness(1)}}@keyframes mine-shake{20%,60%{transform:translateX(-4px)}40%,80%{transform:translateX(4px)}100%{transform:translateX(0)}}@keyframes explosion{0%{opacity:1;transform:scale(.4)}100%{opacity:0;transform:scale(1.9)}}@keyframes result-show{from{opacity:0;scale:.8}to{opacity:1;scale:1}}
@media(min-width:851px){.game-shell{width:min(100vw,177.7778dvh);height:min(100dvh,56.25vw)}}
@media(max-width:1100px) and (min-width:851px){.game-shell{grid-template-columns:42px 340px minmax(0,1fr)}.toolbar{gap:5px}.control-scroll{padding:16px 16px 0}.action-panel{padding-left:16px;padding-right:16px}.amount-shortcuts button{width:35px}.board-layout{width:min(85%,calc(100cqh - 100px));gap:10px}.menu-panel{left:42px}.mine-choice{height:30px}}
@media(max-width:850px) and (orientation:portrait){.game-shell{width:100%;height:100dvh;max-height:none;grid-template-columns:1fr;grid-template-rows:minmax(160px,1fr) 204px 46px 61px;padding-bottom:env(safe-area-inset-bottom)}.playfield{grid-column:1;grid-row:1}.board-layout{width:min(calc(100% - 30px),calc(100cqh - 100px));gap:9px;margin-top:7px}.game-logo{width:36.8%}.board{gap:4px}.toolbar{grid-column:1;grid-row:3;flex-direction:row;justify-content:space-between;padding:0 20px;gap:0;background:var(--panel);z-index:8}.icon-button{width:34px;height:34px}.info-button{order:0}.sound-button{order:1}.mobile-mode{display:flex!important;order:2;width:160px;height:34px}.speed-button{order:3}.menu-button{order:4}.desktop-mode{display:none}.credit-bar{grid-column:1;grid-row:4;padding:10px 8px 8px}.credit-values{gap:16px}.control-panel{grid-column:1;grid-row:2;position:relative;border-radius:14px 14px 0 0;margin-top:0;padding-top:24px;box-shadow:0 -5px 25px #1b19401a}.panel-handle{display:flex;align-items:center;justify-content:center;position:absolute;top:0;left:0;right:0;width:100%;height:23px;padding:0;touch-action:none}.panel-handle span{width:40px;height:4px;border-radius:4px;background:#84809f}.control-scroll{padding:0 20px;flex:1 1 0;overscroll-behavior:contain;scrollbar-width:none}.control-scroll::-webkit-scrollbar{display:none}.field-group{margin-bottom:7px}.action-panel{position:relative;flex:0 0 66px;min-height:66px;padding:12px 20px 2px;background:var(--panel);z-index:3}.action-panel .bet-button{height:52px;min-height:52px}.action-panel .inline-status{position:absolute;left:20px;right:20px;top:-18px;background:#1b1940e8;border-radius:4px;font-size:11px;margin:0;pointer-events:none}.random-button{position:absolute;right:20px;bottom:8px;width:44px;height:40px;margin:0;background:transparent}.random-button span{display:none}.action-panel:has(.random-button:not([hidden])) .bet-button{margin-right:52px}.game-shell.expanded .control-panel{position:absolute;left:0;right:0;bottom:107px;max-height:calc(100% - 130px);height:385px;z-index:7;box-shadow:0 -12px 40px #050b3890}.game-shell.expanded .control-scroll{flex:1 1 auto}.game-shell.expanded .panel-handle span{background:#b7b3d0}.game-shell.auto-mode.expanded .control-panel{height:480px}.menu-panel{left:0;bottom:107px;top:auto;width:100%;max-width:100%;height:auto;border-radius:14px 14px 0 0;padding:20px;z-index:17}.speed-panel{top:auto;left:auto;right:28px;bottom:114px}.round-history{top:6px;right:7px;left:7px;max-height:18px}.round-chip{font-size:9px;padding:3px 5px}.result-banner{min-width:190px;padding:18px 24px}.result-banner strong{font-size:30px}.tile.selected:after{font-size:22px}}
@media(max-width:850px) and (orientation:landscape){.game-shell{grid-template-columns:38px 285px minmax(0,1fr);grid-template-rows:minmax(0,1fr) 45px}.toolbar{padding-top:3px;gap:0}.icon-button{width:32px;height:40px}.control-scroll{padding:10px 12px 0}.desktop-mode{height:30px;margin-bottom:8px}.field-group{margin-bottom:6px}.field-title{height:18px;font-size:12px}.field-title>:last-child:not(:first-child){font-size:10px}.amount-control{height:33px}.amount-shortcuts button{width:31px;font-size:20px}.mine-choice{height:25px;font-size:12px}.mine-options{row-gap:1px}.action-panel{padding:6px 12px 0;min-height:44px}.bet-button{height:40px;min-height:40px;font-size:17px}.credit-bar{padding:5px 4px}.credit-values{font-size:13px;gap:10px}.session-caption{font-size:8px}.board-layout{width:min(85%,calc(100cqh - 70px));gap:8px;margin-top:3px}.menu-panel{left:38px}.round-details{padding-top:5px}.next-payout,.total-profit{font-size:18px;margin:0 0 5px}}
@media(max-width:360px) and (orientation:portrait){.toolbar{padding:0 12px}.mobile-mode{width:140px}.credit-values{font-size:14px;gap:10px}.control-scroll{padding-left:15px;padding-right:15px}.action-panel{padding-left:15px;padding-right:15px}.board-layout{width:min(calc(100% - 20px),calc(100cqh - 85px))}.amount-shortcuts button{width:35px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}

.auto-rounds-group select,.auto-settings select{width:100%;height:40px;border:1px solid var(--stroke);border-radius:7px;background:var(--field);padding:0 12px;color:#fff;font-size:16px;font-weight:600}.auto-rounds-group{margin-bottom:11px}.auto-mode .control-scroll{flex:1 1 0}.auto-mode .action-panel{flex:0 0 66px;background:var(--panel)}.auto-settings{padding-top:0}.auto-settings .field-group{margin-bottom:26px}.custom-path-row{height:48px;display:flex;align-items:center;gap:12px;background:var(--field);border:1px solid var(--stroke);border-radius:7px;padding:0 10px;margin-bottom:16px;font-weight:700}.custom-path-row label{flex:1}.edit-path{width:48px;height:25px;border:1px solid var(--stroke);border-radius:20px;font-size:22px;line-height:20px;color:#bdc3d5}.custom-path-row input{appearance:none;position:relative;width:52px;height:24px;flex-shrink:0;border:1px solid #4a5593;background:#303c76;border-radius:20px;cursor:pointer}.custom-path-row input:before{content:'';position:absolute;left:2px;top:2px;width:30px;height:18px;background:linear-gradient(white,#c5c7cf);border-radius:15px;transition:left .15s}.custom-path-row input:checked{background:#5871db}.custom-path-row input:checked:before{left:18px}.strategy-row{margin:16px 0}.strategy-control{display:flex;align-items:center;height:40px;gap:9px;background:var(--field);border:1px solid var(--stroke);border-radius:6px;padding:0 10px 0 0;font-size:12px;overflow:hidden}.strategy-control button{height:100%;padding:0 14px;min-width:76px}.strategy-control button.active{background:var(--accent)}.strategy-control input{background:transparent;color:white;border:0;width:55px;min-width:20px;flex:1;outline:0}.strategy-control>span{white-space:nowrap}.stop-settings{display:flex;gap:10px;padding-bottom:10px}.stop-settings label{font-weight:700;font-size:13px;min-width:0;flex:1}.stop-settings label>div{margin-top:6px;display:flex;align-items:center;gap:8px;background:var(--field);height:40px;padding:0 10px;border:1px solid var(--stroke);border-radius:6px}.stop-settings input{width:100%;min-width:0;background:transparent;color:#fff;border:0;font-size:15px}.bet-button{position:relative}.auto-count{position:absolute;right:-10px;top:-10px;font-size:20px;font-weight:600;line-height:32px;min-width:46px;padding:0 8px;color:#222;background:#fff;border-radius:30px;box-shadow:0 1px 3px #0003}
 .tile-effect.explosion{position:absolute;pointer-events:none;inset:-60%;width:220%;height:220%;z-index:4;background:url('./assets/mines-plus/explosion.webp') no-repeat;background-size:2900% 100%;animation:blast-frames 1s steps(28,end) both}@keyframes blast-frames{0%{background-position:0 0;opacity:1}95%{opacity:1}100%{background-position:100% 0;opacity:0}}@media(prefers-reduced-motion:reduce){.tile-effect{display:none}}
@media(max-width:850px) and (orientation:portrait){.game-shell.expanded .control-panel{grid-area:1/1/-1/-1;top:auto;bottom:107px;height:385px;max-height:calc(100% - 130px)}.game-shell.auto-mode.expanded .control-panel{height:480px}}

.session-caption>span:empty{display:none}.menu-currency{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 0;border-bottom:1px solid #ffffff16}.menu-currency select,.dialog-field select{height:40px;padding:0 12px;background:var(--field);border:1px solid var(--stroke);border-radius:6px;color:#fff;font-size:15px}.dialog-field select{width:100%}.tile.opening:not(.mine) .tile-icon{animation:gem-reveal .3s cubic-bezier(.2,.7,.2,1) both}@media(prefers-reduced-motion:reduce){.tile.opening:not(.mine) .tile-icon{animation:none}}
/* Portrait round controls follow the supplied in-game reference. */
.mobile-round-panel{display:none}.menu-language{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 0;border-bottom:1px solid #ffffff16}.menu-language select{height:40px;max-width:165px;padding:0 10px;background:var(--field);border:1px solid var(--stroke);border-radius:6px;color:#fff;font-size:14px}.menu-panel{overflow-y:auto}.mode-button:disabled{opacity:.35}
@media(max-width:850px) and (orientation:portrait){
  .game-shell.in-round{grid-template-rows:minmax(150px,1fr) 178px 38px 49px}
  .game-shell.in-round .control-panel{display:none}
  .game-shell.in-round .mobile-round-panel:not([hidden]){grid-column:1;grid-row:2;position:relative;z-index:4;display:flex;flex-direction:column;background:var(--panel);border-radius:10px 10px 0 0;padding:12px 18px 8px;margin-top:0}
  .game-shell.in-round .board-layout{width:min(calc(100% - 30px),calc(100cqh - 80px));gap:8px;margin-top:0}
  .live-mine-badge{display:flex;align-items:center;justify-content:center;gap:5px;height:24px;min-height:24px;min-width:45px;align-self:center;padding:0 8px;border:1px solid #6579d1;border-radius:20px;color:#8197ec;font-size:15px;font-weight:700;line-height:1}
  .live-mine-badge svg{width:15px;height:15px}
  .live-metrics{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px;flex:1;align-items:center;padding-top:10px;padding-bottom:1px}
  .live-metric{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0;min-width:0;text-align:center}
  .live-multiplier{font-size:clamp(13px,3.8vw,16px);font-weight:800;line-height:1.15;color:#00e000}
  .live-amount{font-size:clamp(22px,7vw,29px);font-weight:800;line-height:1.12;white-space:nowrap;letter-spacing:-.5px}
  .live-amount.compact{font-size:clamp(13px,4.5vw,20px)}
  .live-metric>span{font-size:clamp(12px,3.7vw,15px);font-weight:600;line-height:1.35;color:#aba8c5}
  .live-metric.empty{opacity:.35}
  .live-actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px;flex:0 0 48px;margin-top:8px}
  .live-actions button{min-width:0;height:48px;display:flex;align-items:center;justify-content:center;gap:8px;padding:1px 8px 4px;border-radius:7px;font-size:clamp(16px,4.8vw,20px);font-weight:750;line-height:1.12;transition:opacity .15s,filter .12s;box-shadow:inset 0 -4px 0 #009600;background:#32cf2f}
  .live-actions button svg{width:23px;height:23px;flex-shrink:0}
  .live-actions button span{min-width:0}
  .live-actions .live-cashout{background:#ef8c30;box-shadow:inset 0 -4px 0 #b35c1d}
  .live-actions button:disabled{opacity:.35;cursor:default}
  .live-actions button:not(:disabled):active{filter:brightness(.9)}
  .game-shell.in-round .toolbar{height:38px;padding:0 18px}
  .game-shell.in-round .credit-bar{padding:7px 8px 5px}
  .game-shell.in-round .credit-values{font-size:clamp(11px,3.85vw,15px);gap:14px}
  .game-shell.in-round .session-caption{font-size:9px;margin-top:3px}
  .game-shell.in-round .menu-panel{bottom:87px;max-height:calc(100% - 95px)}
  .game-shell.in-round .speed-panel{bottom:94px}
  .menu-panel{max-height:calc(100% - 115px)}
}
@media(max-width:360px) and (orientation:portrait){.live-actions{gap:12px}.live-metrics{gap:12px}.game-shell.in-round .mobile-round-panel:not([hidden]){padding-left:14px;padding-right:14px}.live-actions button{gap:5px;padding-left:6px;padding-right:6px}.live-actions button svg{width:20px;height:20px}}
@media(prefers-reduced-motion:reduce){.live-actions button{transition:none}}

@media(max-width:850px) and (orientation:portrait){.live-actions button img{width:24px;height:22px;object-fit:contain;flex-shrink:0}}
