/* Mobile-only overrides. Desktop and the frozen Yandex package keep their layout. */
.gp-mobile-inspector{position:fixed;inset:0;z-index:2147483100;background:#020713b8;display:flex;align-items:flex-end;justify-content:center;padding:12px;padding-bottom:max(12px,env(safe-area-inset-bottom));box-sizing:border-box;overscroll-behavior:contain}
.gp-mobile-sheet{position:relative;display:flex;align-items:center;gap:18px;width:min(620px,100%);max-height:85dvh;overflow-y:auto;padding:24px 18px 18px;border:1px solid #d8c18a88;border-radius:22px;background:linear-gradient(140deg,#26374f,#0e1a2c);box-shadow:0 -10px 50px #0008;color:#eee8d8;box-sizing:border-box}
.gp-mobile-card-art{flex:0 0 140px;pointer-events:none;--card-w:140px;--card-h:193px}
.gp-mobile-card-art .card{width:140px!important;height:193px!important;min-width:0!important;max-width:none!important;margin:0!important;animation:none!important;transform:none!important;pointer-events:none!important}
.gp-mobile-card-copy{min-width:0;flex:1}.gp-mobile-card-copy h2{font:600 23px/1.2 var(--font-display,serif);margin:0 20px 12px 0;color:#efd39b}.gp-mobile-card-copy p{font:14px/1.55 var(--font-ui,system-ui);margin:0 0 16px;white-space:pre-line}.gp-mobile-action-reason{display:block;color:#d7c6a7;margin-top:8px;font-size:12px;line-height:1.4}
.gp-mobile-close{position:absolute;right:5px;top:3px;width:44px;height:44px;border:0;background:transparent;color:#d6e6ef;font-size:28px;cursor:pointer}.gp-mobile-play{min-height:44px;width:100%;white-space:normal;padding:10px;font-size:14px;border:1px solid #f1d69c;border-radius:9px;background:linear-gradient(135deg,#f0ddb5,#c6a96d);color:#172235;font-weight:700}.gp-mobile-play:disabled{opacity:.55}
.gp-mobile-inspector button:focus-visible{outline:2px solid #e8cf94;outline-offset:3px}
@media(max-width:900px),(pointer:coarse),(max-width:1100px) and (max-height:600px){
 html,body{width:100%;overflow-x:hidden;overscroll-behavior-y:contain;-webkit-text-size-adjust:100%}
 button,a,summary,input,select{touch-action:manipulation}button,summary{ -webkit-tap-highlight-color:#d8c58b30}
 input[type=text],input[type=search],input[type=number],input[type=password],textarea,select{font-size:16px!important}
 input[type=range]{min-height:44px;touch-action:pan-x}
 .screen.active:not(#screenMenu):not(#screenGame){padding:max(10px,env(safe-area-inset-top)) max(10px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(10px,env(safe-area-inset-left))!important;overflow:auto!important;align-items:flex-start!important;box-sizing:border-box}
 .screen .panel,.screen .settings-panel,#screenHalloween .halloween-panel{width:100%!important;min-width:0!important;max-width:960px!important;max-height:calc(100dvh - 24px)!important;margin:0 auto!important;padding:16px!important;box-sizing:border-box;overflow-y:auto;overflow-x:hidden}
 .screen .panel-title{font-size:26px!important;line-height:1.2}.screen button:not(.card):not(.campaign-node),.screen summary{min-height:44px}.screen input:not([type=checkbox]):not([type=range]),.screen select{min-height:44px;max-width:100%;box-sizing:border-box}
 .screen .btn-back{min-width:44px}.setting-row{gap:12px;min-height:52px}.setting-label{font-size:13px}.settings-danger{margin-top:18px}.history-filter-row,.deck-header-row,.deck-header-actions{flex-wrap:wrap;gap:8px}
 .deck-builder{grid-template-columns:1fr!important;display:grid!important;gap:14px}.deck-col{min-width:0!important}.deck-pool{grid-template-columns:repeat(auto-fill,minmax(116px,1fr))!important;max-height:48dvh}.deck-list{max-height:45dvh}.deck-filter{flex-wrap:wrap}.deck-filter button{min-width:36px}.collection-grid{grid-template-columns:repeat(auto-fill,minmax(130px,1fr))!important;gap:10px!important}
 .collection-grid .card{--card-w:132px;--card-h:182px;max-width:100%}.campaign-readiness{flex-wrap:wrap;gap:10px;padding:12px}.campaign-readiness button{max-width:none!important;width:100%}.campaign-map{max-width:100%;overflow:auto}.campaign-node{min-width:44px;min-height:44px}
 .halloween-stages{grid-template-columns:1fr!important}.halloween-intro h2{font-size:29px}.halloween-intro p{font-size:13px}.halloween-stage{padding:18px}.lb-personal{gap:8px;align-items:flex-start;flex-direction:column}.lb-personal p{text-align:left}.lb-tabs{flex-wrap:wrap}
 .overlay{padding:12px;box-sizing:border-box}.overlay-card,.overlay-content,.panel-mulligan{width:min(620px,100%)!important;min-width:0!important;max-height:90dvh!important;padding:18px!important;overflow-y:auto;box-sizing:border-box}.overlay-card h2{font-size:28px}.overlay-card button{min-height:44px;touch-action:manipulation}.mulligan-cards,.reward-cards,.boss-reward-choices{flex-wrap:wrap;gap:8px;justify-content:center}.mulligan-cards .card,.mulligan-card .card{--card-w:94px!important;--card-h:130px!important;width:94px!important;height:130px!important;margin:0!important}.reward-cards .card,.boss-reward-choice .card{--card-w:128px!important;--card-h:177px!important;width:128px!important;height:177px!important}.mulligan-actions{flex-wrap:wrap;gap:8px}
 #screenMenu .menu-shell{padding:max(18px,env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) max(20px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left))!important;min-height:100dvh;box-sizing:border-box}
 #screenMenu.active{height:100dvh!important;max-height:100dvh!important;min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important;touch-action:pan-y}
 #screenMenu .moon-menu-header{gap:16px;flex-wrap:wrap}#screenMenu .menu-title{font-size:clamp(38px,9vw,60px)}#screenMenu .menu-tagline{font-size:9px;margin-top:10px;letter-spacing:.25em}.moon-tools{width:100%;margin:0;justify-content:space-between}.moon-quest-toggle{min-height:44px;padding:8px 13px}.moon-menu-body{display:flex;flex-direction:column;gap:22px;margin:24px 0!important}.moon-play{order:0;width:100%}.moon-rail{order:1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;width:100%;padding:0;border:0}.moon-progress{grid-column:1/-1;text-align:left}.moon-progress>div{left:0;top:100%;bottom:auto;width:min(280px,80vw)}#screenMenu .moon-rail .menu-btn{min-height:64px;padding:7px 3px!important}#screenMenu .moon-rail .menu-btn-text{font-size:9px}#screenMenu .moon-rail .menu-btn-icon{font-size:24px}
 #screenMenu .moon-play>#btnCampaign{min-height:62px}#screenMenu .moon-play>#btnCampaign .menu-btn-text{font-size:29px}#screenMenu .moon-secondary{margin-top:10px}#screenMenu .moon-secondary .menu-btn{min-height:49px}#screenMenu .moon-secondary .menu-btn-text{font-size:16px}#screenMenu .moon-eyebrow{display:none}#screenMenu .more-modes-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.moon-menu-bottom{margin-top:0}.halloween-banner{min-height:64px;margin-bottom:12px}.halloween-banner strong{font-size:18px}.halloween-banner small{font-size:11px}#questDrawer{inset:8px;max-width:calc(100vw - 16px);height:calc(100dvh - 16px);width:auto}
 #screenGame.active{padding:0!important;width:100%;height:100dvh;overflow:hidden!important;touch-action:auto}
 #screenGame.active .game-wrapper,#screenGame.active .game-wrapper.with-mechanics{--gp-hand-height:clamp(132px,22dvh,176px);width:100%!important;max-width:none!important;height:100dvh!important;min-height:560px!important;max-height:none!important;padding:max(4px,env(safe-area-inset-top)) max(6px,env(safe-area-inset-right)) max(4px,env(safe-area-inset-bottom)) max(6px,env(safe-area-inset-left))!important;box-sizing:border-box;gap:3px!important;border-radius:0;border-left:0;border-right:0;grid-template-columns:minmax(0,1fr);grid-template-areas:'header' 'enemy-hero' 'enemy-board' 'divider' 'player-board' 'player-hero' 'hand';grid-template-rows:42px 62px minmax(90px,1fr) 44px minmax(90px,1fr) 64px var(--gp-hand-height)!important}
 #screenGame.active .game-wrapper.with-tutorial-info{grid-template-areas:'header' 'info' 'enemy-hero' 'enemy-board' 'divider' 'player-board' 'player-hero' 'hand';grid-template-rows:40px 44px 56px minmax(76px,1fr) 44px minmax(76px,1fr) 58px var(--gp-hand-height)!important;min-height:600px!important}
 #screenGame .game-header{padding:0!important;min-width:0;gap:5px;flex-wrap:nowrap!important;align-items:center}.game-header .logo{font-size:11px!important;gap:4px!important}.game-header .logo-mark{width:18px!important;height:18px!important}#screenGame .game-header .btn-icon{width:42px;height:40px;min-height:40px;flex:0 0 42px}#screenGame .mode-badge{display:none!important}#screenGame .turn-info{margin-left:auto;padding:4px 5px;gap:5px;flex-wrap:nowrap!important;min-width:0;font-size:10px!important}#screenGame #turnLabel{max-width:112px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}#screenGame #turnNumber{display:none}.weather-badge{min-width:30px;max-width:82px;margin:0;padding:4px;border:0;cursor:pointer}.weather-badge>.ui-icon{width:19px;height:19px;flex:none}.weather-badge strong{font-size:10px}.weather-badge small{display:none}#screenGame .turn-timer{font-size:11px}
 #screenGame .game-header .logo{display:none!important}#screenGame #turnLabel{font-size:11px!important;max-width:145px!important}#screenGame #turnTimer.hidden{display:none!important}
 #screenGame .hero-zone{padding:0 7px!important;grid-template-columns:minmax(0,1fr) 64px minmax(0,1fr)!important;grid-template-rows:58px!important;gap:4px!important;min-width:0;position:relative}
 #screenGame .hero-zone>#playerHero,#screenGame .hero-zone>#enemyHero{grid-column:2;grid-row:1;width:62px!important;max-width:62px!important;height:56px!important;padding:2px 4px!important;grid-template-rows:38px 10px!important;border-radius:22px 22px 10px 10px!important;gap:1px}
 #screenGame .hero-zone .hero-avatar-image{width:38px!important;height:38px!important;border-radius:16px!important}#screenGame .hero-zone .hero-name{font-size:8px!important;max-width:58px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#screenGame .hero-zone .hero-hp{right:-5px;bottom:9px;width:25px;height:26px;font-size:14px!important;border-width:1px;border-radius:9px}
 #screenGame .hero-zone>.mana-bar{grid-column:1;grid-row:1;justify-self:start;min-height:40px;padding:5px 8px;gap:4px;max-width:76px}#screenGame .mana-label,#screenGame .mana-crystals{display:none}#screenGame .mana-text{font-size:13px!important;min-width:30px}#screenGame .mana-text::before{content:'◆';color:#a7dcff;margin-right:4px;font-size:10px}
 #screenGame .hero-zone>.hero-power-wrap{grid-column:3;grid-row:1;justify-self:end;width:96px!important;display:flex;flex-direction:row;gap:4px}#screenGame .hero-zone .hero-power-btn{width:45px!important;height:46px!important;min-height:44px;flex:0 0 45px!important;padding:3px!important}#screenGame .hero-power-btn .hp-icon{font-size:18px!important}#screenGame .hero-power-btn .hp-label{font-size:7px!important;margin-top:1px}#screenGame .hero-power-btn .hp-cost{width:17px!important;height:17px!important;font-size:10px!important}
 #screenGame .hero-zone>.deck-zone{position:absolute;right:4px;bottom:7px;display:block;grid-column:auto;grid-row:auto;margin:0;padding:0}#screenGame .player-hero-zone>.deck-zone{left:79px;right:auto;bottom:5px}#screenGame .deck-stack{width:24px;height:24px}#screenGame .deck-label,#screenGame .deck-stack>.card-back{display:none}#screenGame .deck-count{position:static;display:inline-block;min-width:22px;font-size:10px;padding:3px;border-radius:7px}
 #screenGame .enemy-hand-display{position:absolute;right:39px;top:11px;--hand-back-width:20px;--hand-back-height:27px;--hand-step:3px;width:52px;min-width:0;gap:1px}#screenGame .enemy-hand-label{font-size:8px}#screenGame #enemyHandCount{font-size:10px}
 #screenGame.active .board{margin:0!important;padding:3px 5px!important;gap:4px!important;min-height:0;overflow-x:auto;overflow-y:hidden;scrollbar-width:thin;touch-action:pan-x;justify-content:safe center;align-items:center;border-radius:10px}#screenGame .board .card,#screenGame .hand .card{flex-shrink:0;touch-action:pan-x;cursor:pointer}
 #screenGame.active .board,#screenGame.active .hand-zone{overflow-x:auto!important;overflow-y:hidden!important}
 #screenGame .arena-surface{grid-area:auto;grid-column:1;grid-row:3/6;margin:0!important;border-radius:16px!important}#screenGame .with-tutorial-info .arena-surface{grid-row:4/7}
 #screenGame.active .hand-zone{margin:0!important;padding:4px 0!important;min-height:0;overflow:hidden}#screenGame .hand{padding:3px 6px 7px!important;gap:8px!important;overflow-x:auto;overflow-y:hidden;justify-content:safe center;align-items:center;touch-action:pan-x;scrollbar-width:thin;scroll-snap-type:x proximity}#screenGame .hand .card{scroll-snap-align:center}
 #screenGame .card .card-name{font-size:clamp(7px,calc(var(--card-w)*.09),12px)!important}#screenGame .card .card-desc,#screenGame .card .card-kw-line{font-size:clamp(6px,calc(var(--card-w)*.075),10px)!important;pointer-events:none;overflow:hidden!important}#screenGame .card .card-cost,#screenGame .card .stat{font-size:clamp(10px,calc(var(--card-w)*.14),16px)!important;min-width:15px!important}#screenGame .card .taunt-banner{font-size:8px!important}#screenGame .card .kw-badge{width:12px;height:12px}#screenGame .card .kw-badge .ui-icon{width:10px;height:10px}
 #screenGame .board-divider{padding:0 96px 0 40px!important;min-height:44px!important;gap:5px}.divider-text,.divider-line{display:none!important}#screenGame #endTurnBtn{right:5px;width:94px!important;min-height:44px!important;height:44px;padding:6px!important;font-size:10px!important;border-radius:10px}#screenGame .turn-timer-visual{left:7px;width:30px;height:30px}
 #screenGame #endTurnBtn{transition:filter .15s,background .15s!important;animation:none!important}
 #gpMobileCancel{position:absolute;left:44px;top:0;max-width:138px;min-height:44px;padding:6px 9px;border-radius:9px;background:#243950;color:#e7e4d3;border:1px solid #afc7d855;font-size:10px}#gpMobileCancel.hidden{display:none!important}
 #socialPanel{position:fixed!important;left:auto!important;right:8px!important;top:auto!important;bottom:max(8px,env(safe-area-inset-bottom))!important;width:min(300px,calc(100vw - 16px))!important;max-height:70dvh;z-index:5500;padding:8px!important;border-radius:14px}#socialPanel.hidden{display:none!important}#socialPanel.collapsed{width:110px!important;min-height:44px}#socialPanel.collapsed .social-body{display:none!important}#socialPanel .social-header{min-height:38px}#socialPanel #btnToggleChat{width:44px;height:44px;min-height:44px}#socialPanel #chatMessages{max-height:30dvh;overflow:auto}#socialPanel #chatInput{min-height:44px;font-size:16px}#socialPanel .emote-btn{min-width:36px;min-height:36px}
 #screenGame #socialPanel{bottom:max(8px,calc(var(--gp-keyboard-inset,0px) + env(safe-area-inset-bottom)))!important;max-height:calc(var(--gp-visible-height,100dvh)*.75)}#screenGame #socialPanel.collapsed{left:100px!important;right:auto!important;top:max(4px,env(safe-area-inset-top))!important;bottom:auto!important;width:100px!important;height:44px;min-height:44px;padding:0 4px!important}#socialPanel.collapsed .social-header{height:44px;min-height:44px;gap:3px}#socialPanel.collapsed .social-header>span{font-size:10px}#socialPanel.collapsed .social-header .ui-icon{width:13px;height:13px}
 #battleLog{position:fixed!important;right:5px!important;top:auto!important;bottom:5px!important;max-width:min(340px,calc(100vw - 10px));max-height:55dvh;z-index:5200;opacity:.96}#battleLog:not([open]){width:auto;max-width:150px;bottom:calc(var(--gp-hand-height,150px) + 6px)}#battleLog summary{min-height:32px!important;padding:6px 9px;font-size:10px}#battleLog[open] .game-log{max-height:42dvh}#screenGame.has-social #battleLog:not([open]){left:5px;right:auto}
 #screenGame #battleLog:not([open]){left:54px!important;right:auto!important;top:max(4px,env(safe-area-inset-top))!important;bottom:auto!important;width:40px!important;max-width:40px!important;height:40px;min-height:40px;padding:0!important;border-radius:10px}
 #screenGame #battleLog:not([open]) summary{min-height:40px!important;height:40px;box-sizing:border-box;padding:9px!important;display:flex;justify-content:center;align-items:center}
 #screenGame #battleLog:not([open]) .battle-log-title>span,#screenGame #battleLog:not([open]) .battle-log-arrow{display:none!important}#screenGame #battleLog:not([open]) .battle-log-mark{display:block!important;width:18px;height:18px}
 #screenGame #battleLog[open]{top:50px!important;bottom:auto!important;left:8px!important;right:8px!important;width:auto!important;max-width:none!important;max-height:65dvh}#screenGame #battleLog[open] summary{min-height:44px!important}
 .gp-boss-dialogue{top:58px!important;left:auto!important;right:8px!important;max-width:min(245px,calc(100vw - 80px));padding:12px 32px 12px 14px}.gp-boss-dialogue p{font-size:12px}.gp-boss-dialogue button{width:36px;height:36px}
 #tutorialCoach{width:calc(100vw - 20px)!important;max-width:420px!important;left:10px!important;right:auto!important;top:auto!important;bottom:calc(clamp(132px,22dvh,176px) + 8px)!important;padding:0}.tutorial-coach-bubble{padding:12px!important}#tutorialCoachText{font-size:13px!important}.tutorial-step-label{font-size:10px!important}
 .gp-replay-viewer{padding:max(8px,env(safe-area-inset-top)) max(8px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left))}.gp-replay-shell{min-height:calc(100dvh - 16px);gap:8px}.gp-replay-shell>header{position:sticky;top:-8px;z-index:5;background:#0b1927;padding:6px 0}.gp-replay-viewer button,.gp-replay-viewer select{min-width:44px;min-height:44px}.gp-replay-viewer .card{pointer-events:auto!important;touch-action:manipulation;cursor:pointer}.gp-replay-caption{font-size:10px}.gp-replay-stage{min-height:500px;box-sizing:border-box;grid-template-rows:50px 16px minmax(100px,1fr) 1px minmax(100px,1fr) 50px 130px;gap:3px;padding:7px}.gp-replay-board{gap:4px;overflow-x:auto;justify-content:safe center;--card-w:clamp(44px,calc((100vw - 60px - 4px * var(--replay-count))/var(--replay-count)),100px)}.gp-replay-hand{gap:5px;overflow-x:auto;justify-content:safe center;--card-w:82px}.gp-replay-viewer footer{position:sticky;bottom:0;z-index:5;padding:9px}.gp-replay-controls{gap:5px}.gp-replay-controls label{font-size:10px}.gp-replay-position{font-size:10px}#gpReplaySeek{height:24px;margin:6px 0}.gp-replay-log{display:none}.gp-replay-footnote{font-size:9px}.gp-replay-entry{flex-wrap:wrap;gap:8px}.gp-replay-entry button{min-height:44px}.gp-replay-entry strong{font-size:13px}
}
@media(max-width:420px){#screenGame .weather-badge>span{display:none}#screenGame .weather-badge{max-width:32px;min-width:28px}#screenGame #turnLabel{max-width:100px!important}}
@media(max-height:700px) and (orientation:portrait){
 #screenGame.active .game-wrapper,#screenGame.active .game-wrapper.with-mechanics{--gp-hand-height:clamp(112px,22dvh,140px);min-height:480px!important;grid-template-rows:40px 54px minmax(66px,1fr) 44px minmax(66px,1fr) 56px var(--gp-hand-height)!important}
 #screenGame.active .game-wrapper.with-tutorial-info{grid-template-rows:38px 36px 50px minmax(62px,1fr) 44px minmax(62px,1fr) 54px var(--gp-hand-height)!important;min-height:520px!important}
 #screenGame .hero-zone{grid-template-rows:52px!important}#screenGame .hero-zone>#playerHero,#screenGame .hero-zone>#enemyHero{height:50px!important;grid-template-rows:32px 9px!important}#screenGame .hero-zone .hero-avatar-image{width:32px!important;height:32px!important}
}
@media(max-width:360px){.gp-mobile-sheet{gap:12px;padding-inline:12px}.gp-mobile-card-art{flex-basis:116px;--card-w:116px;--card-h:160px}.gp-mobile-card-art .card{width:116px!important;height:160px!important}.gp-mobile-card-copy h2{font-size:20px}.gp-mobile-card-copy p{font-size:13px}.gp-mobile-play{font-size:12px}}
@media(max-height:600px) and (orientation:landscape) and (max-width:1100px){
 #screenMenu .menu-shell{padding:14px 22px!important}.moon-menu-header{flex-wrap:nowrap!important;align-items:center}.moon-tools{width:auto;margin:0}#screenMenu .menu-title{font-size:38px}#screenMenu .menu-tagline{display:none}.moon-menu-body{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;align-items:start;margin:16px 0!important;gap:18px!important}.moon-play{grid-column:1}.moon-rail{grid-column:2;grid-row:1;grid-template-columns:repeat(3,minmax(0,1fr))!important}#screenMenu .moon-play>#btnCampaign{min-height:48px}#screenMenu .moon-play>#btnCampaign .menu-btn-text{font-size:24px}#screenMenu .moon-secondary .menu-btn{min-height:44px}.halloween-banner{min-height:54px}.halloween-banner strong{font-size:16px}.halloween-banner small{font-size:9px}.moon-menu-bottom{margin-top:0}
 #screenGame.active .game-wrapper,#screenGame.active .game-wrapper.with-mechanics{--gp-hand-height:clamp(82px,27dvh,116px);height:100dvh!important;min-height:300px!important;grid-template-columns:76px minmax(0,1fr) 82px;grid-template-areas:'header header header' 'enemy-hero enemy-board divider' 'player-hero player-board divider' 'hand hand hand';grid-template-rows:34px minmax(76px,1fr) minmax(76px,1fr) var(--gp-hand-height)!important;gap:2px!important;padding:2px max(5px,env(safe-area-inset-right)) max(2px,env(safe-area-inset-bottom)) max(5px,env(safe-area-inset-left))!important}
 #screenGame.active .game-wrapper.with-tutorial-info{grid-template-areas:'header header header' 'info info info' 'enemy-hero enemy-board divider' 'player-hero player-board divider' 'hand hand hand';grid-template-rows:32px 32px minmax(68px,1fr) minmax(68px,1fr) var(--gp-hand-height)!important;min-height:320px!important}
 #screenGame .arena-surface{grid-column:2;grid-row:2/4;margin:0!important}.with-tutorial-info .arena-surface{grid-row:3/5!important}
 #screenGame .hero-zone{display:flex;flex-direction:column;gap:2px!important;align-items:center;justify-content:center;padding:0!important}#screenGame .hero-zone>#playerHero,#screenGame .hero-zone>#enemyHero{width:56px!important;max-width:56px!important;height:50px!important;grid-template-rows:32px 9px!important}#screenGame .hero-zone .hero-avatar-image{width:32px!important;height:32px!important}#screenGame .hero-zone>.mana-bar{min-height:20px;padding:2px 5px;margin:0;max-width:70px}#screenGame .mana-text{font-size:11px!important}#screenGame .hero-zone>.deck-zone{position:static;display:block;margin:0;height:15px}#screenGame .deck-stack{height:15px;width:38px}#screenGame .deck-count{padding:0 3px;font-size:9px}#screenGame .enemy-hand-display{display:none}
 #screenGame .hero-zone>.hero-power-wrap{position:fixed;bottom:calc(clamp(82px,27dvh,116px) + 6px + env(safe-area-inset-bottom));right:max(8px,env(safe-area-inset-right));width:76px!important;display:flex;flex-direction:column!important;gap:5px!important}#screenGame .hero-zone .hero-power-btn{width:76px!important;flex-basis:40px!important;min-height:40px!important;height:40px!important;display:flex;align-items:center;justify-content:center;gap:5px}#screenGame .hero-power-btn .hp-label{font-size:9px!important}.hero-power-btn .hp-icon{font-size:17px!important}
 #screenGame .board-divider{min-height:0!important;display:flex;align-items:flex-start;justify-content:center;padding:0!important}#screenGame #endTurnBtn{position:static;transform:none!important;margin:4px 0 0!important;width:76px!important;min-height:44px!important;height:44px}#screenGame .turn-timer-visual{left:calc(50% - 15px);top:65px;transform:none}
 #screenGame #gpMobileCancel{position:fixed;left:auto;top:87px;right:max(7px,env(safe-area-inset-right));width:78px;max-width:78px;min-height:44px;padding:5px;font-size:9px;z-index:4}
 #screenGame .game-header .btn-icon{height:32px;min-height:32px;width:38px;flex-basis:38px}#screenGame .game-header .logo{font-size:11px!important}#screenGame .turn-info{padding:2px 6px}.weather-badge{max-width:140px}.weather-badge strong{font-size:10px}.weather-badge small{display:none}#screenGame #turnNumber{display:block;font-size:9px}#screenGame.active .board{padding:2px 4px!important;gap:4px!important}#screenGame.active .hand-zone{padding:0!important}#screenGame .hand{padding:2px 4px!important}
 #screenGame .game-header .btn-icon{height:44px!important;min-height:44px!important;width:44px!important;flex-basis:44px}#screenGame .hero-zone .hero-power-btn{min-height:44px!important;height:44px!important;flex-basis:44px!important}
 #battleLog:not([open]){bottom:calc(clamp(82px,27dvh,116px) + 2px);right:96px;max-width:125px}#socialPanel.collapsed{width:100px!important}.gp-boss-dialogue{max-width:245px;top:38px!important;right:95px!important;padding:9px 30px 9px 12px}.gp-boss-dialogue p{font-size:11px}
 #screenGame #battleLog:not([open]){left:48px!important;top:2px!important;width:36px!important;max-width:36px!important;height:32px;min-height:32px}#screenGame #battleLog:not([open]) summary{height:32px;min-height:32px!important;padding:6px!important}
 .gp-mobile-inspector{align-items:center}.gp-mobile-sheet{max-height:calc(100dvh - 16px);width:min(650px,100%);padding:12px 22px;gap:18px}.gp-mobile-card-art{flex-basis:130px;--card-w:130px;--card-h:179px}.gp-mobile-card-art .card{width:130px!important;height:179px!important}.gp-mobile-card-copy h2{font-size:24px}.gp-mobile-card-copy p{font-size:14px}
 .gp-replay-stage{min-height:420px;grid-template-rows:38px 14px minmax(86px,1fr) 1px minmax(86px,1fr) 38px 105px}.gp-replay-board{--card-w:72px}.gp-replay-hand{--card-w:68px}.gp-replay-shell>header{padding:2px 0}.gp-replay-shell h2{font-size:19px}.gp-replay-caption{font-size:10px}.gp-replay-viewer footer{padding:5px 9px}.gp-replay-footnote{display:none}.gp-replay-viewer button,.gp-replay-viewer select{min-height:36px;padding:6px 10px}
 #tutorialCoach{left:84px!important;max-width:calc(100vw - 175px)!important;width:auto!important;bottom:calc(clamp(82px,27dvh,116px) + 3px)!important}.tutorial-coach-bubble{padding:8px!important}#tutorialCoachText{font-size:11px!important}
}
