.safari-fullscreen-host,.safari-fullscreen-scroll,.safari-fullscreen-track,.safari-fullscreen-content{display:contents}.safari-fullscreen-spacer,.safari-fullscreen-hint{display:none}html[data-safari-fullscreen=scroll],html[data-safari-fullscreen=scroll] body{overscroll-behavior-y:auto;min-height:100%;height:auto!important;overflow:hidden auto!important}html[data-safari-fullscreen=scroll] .safari-fullscreen-spacer{pointer-events:none;width:1px;height:2000vh;display:block}html:is([data-safari-fullscreen=scroll],[data-safari-fullscreen=locked]) .safari-fullscreen-host{width:100%;height:min(var(--safari-view-height), 100dvh);display:block;position:fixed;inset:0}html[data-safari-fullscreen=locked],html[data-safari-fullscreen=locked] body{overscroll-behavior:none;height:100dvh;overflow:hidden}html[data-safari-fullscreen=locked] .safari-fullscreen-scroll{overscroll-behavior:none;scrollbar-width:none;-webkit-overflow-scrolling:touch;height:100%;display:block;overflow:hidden auto}html[data-safari-fullscreen=locked] .safari-fullscreen-track{flex-direction:column;height:calc(100% + 1px);min-height:calc(100% + 1px);display:flex}html[data-safari-fullscreen=locked] .safari-fullscreen-content{overscroll-behavior:none;flex:none;height:calc(100% - 1px);display:block;position:sticky;top:0;overflow-y:auto}html:is([data-safari-fullscreen=rotate],[data-safari-fullscreen=scroll]) .safari-fullscreen-hint{inset:auto 0 max(14px, env(safe-area-inset-bottom));z-index:1000;padding-inline:max(14px, env(safe-area-inset-left)) max(14px, env(safe-area-inset-right));pointer-events:none;justify-content:center;align-items:center;gap:8px;display:flex;position:fixed}.safari-fullscreen-instruction,.safari-fullscreen-hint button{color:#fff9e6;pointer-events:auto;touch-action:pan-y;background:#243b33f2;border:1px solid #fff6;border-radius:18px;justify-content:center;align-items:center;gap:8px;min-height:52px;padding:12px 16px;font-size:14px;line-height:1.4;display:flex;box-shadow:0 3px 14px #0003}.safari-fullscreen-instruction{max-width:430px}.safari-fullscreen-hint svg{flex-shrink:0;width:20px;height:20px}html[data-safari-fullscreen=scroll][data-safari-auto-scroll] .safari-fullscreen-hint{display:none}html[data-game-fullscreen]{background:var(--background);overscroll-behavior:none;scroll-padding-top:calc(76px + env(safe-area-inset-top))}html[data-game-rotated]{--game-view-width:100dvh;--game-view-height:100dvw;overflow:hidden}html[data-game-rotated] body{width:var(--game-view-width);height:var(--game-view-height);transform-origin:0 0;min-height:0;margin:0;position:fixed;inset:0 auto auto 100dvw;overflow:auto;transform:rotate(90deg)}html[data-game-rotated] .battle-viewport .game-shell{width:100%;max-width:none;min-height:var(--game-view-height)}html[data-game-rotated] .battle-viewport .game-shell:has(:is(.battle-workspace,.sketchbook-menu,.sketchbook-loading)){height:var(--game-view-height);min-height:0}html[data-game-rotated] .battle-viewport .game-shell>.masthead{height:52px;min-height:52px;padding-top:0}html[data-game-rotated] .battle-viewport[data-expanded]{width:100%;height:100%;left:0;transform:none}html[data-game-rotated] [data-slot=dialog-content]:not(.reward-dialog){max-height:calc(var(--game-view-height) - 24px);max-width:min(560px, calc(var(--game-view-width) - 24px));overflow-y:auto}html[data-game-rotated] [data-slot=sheet-content]:not(.mobile-battle-sheet){max-height:calc(var(--game-view-height) - 16px);overflow-y:auto}html[data-game-rotated] .reward-dialog:not(.reward-dialog-floating){width:var(--game-view-width);height:var(--game-view-height)}html[data-game-rotated] .reward-dialog fieldset.reward-cards-fit{grid-template-columns:repeat(var(--reward-card-count,3), minmax(0, 1fr));grid-auto-columns:auto;grid-auto-flow:row;gap:6px;overflow-x:hidden}html[data-game-rotated] .reward-card-navigation{display:none}html[data-game-rotated] .reward-dialog .reward-card .reward-card-art{height:88px;margin-block:6px}html[data-game-rotated] .reward-dialog .reward-card .reward-card-face{padding:12px}html[data-game-rotated] .reward-dialog .reward-card-name{font-size:20px}html[data-game-rotated] .reward-dialog .reward-card .reward-card-growth-art{height:auto;min-height:0}html[data-game-rotated] .mobile-battle-sheet[data-side=bottom]{width:min(440px,70dvh);height:100%;max-height:var(--game-view-height);border-radius:16px 0 0 16px;inset:0 0 0 auto}html[data-game-rotated] .mobile-battle-handle{height:12px}html[data-game-rotated] .mobile-battle-sheet-heading{padding-bottom:5px}html[data-game-rotated] .mobile-battle-sheet-heading [data-slot=sheet-description]{display:none}html[data-game-rotated] .mobile-battle-sheet>[data-slot=sheet-close]{top:4px}html[data-game-rotated] .mobile-battle-playback{padding-bottom:4px}html[data-game-rotated] .mobile-battle-playback button{flex-direction:row;height:44px}html[data-game-rotated] .mobile-battle-sheet-footer{padding-block:5px}html[data-game-rotated] .combat-cooldown-positioner{position:fixed!important;inset:auto auto 82px 50%!important;transform:translate(-50%)!important}html[data-game-fullscreen] .game-shell{width:100%;max-width:none;min-height:100dvh}html[data-game-fullscreen] .game-shell>.masthead{z-index:30;background:var(--background);padding-top:env(safe-area-inset-top);padding-left:max(16px, env(safe-area-inset-left));padding-right:max(16px, env(safe-area-inset-right));position:sticky;top:0}html[data-game-fullscreen] .game-shell>main{scroll-margin-top:76px}html[data-game-fullscreen] .game-shell:has(.battle-workspace){padding-left:env(safe-area-inset-left);padding-right:env(safe-area-inset-right)}html[data-game-fullscreen] .site-footer{display:none}.game-fullscreen-toggle{touch-action:manipulation;flex-shrink:0;min-width:44px;min-height:44px}.game-fullscreen-toggle[aria-pressed=true]{color:#2e4933;background:#dce8ce}.game-fullscreen-toggle:active{transform:scale(.97)}.web-app-settings{border-block:1px solid var(--border);padding-block:14px}.web-app-settings summary{cursor:pointer;align-items:center;gap:8px;min-height:44px;font-weight:600;display:flex}.web-app-settings p,.web-app-settings ol{margin-top:12px}.web-app-settings ol{gap:12px;padding-left:22px;list-style:decimal;display:grid}.web-app-settings li svg{vertical-align:text-bottom;display:inline-block}.fullscreen-save-note{color:var(--muted-foreground);font-size:12px}.game-shell:has(.battle-workspace){background:var(--background)}.game-shell:has(.battle-workspace)>main:has(.battle-workspace){background:var(--background)}body:has(.game-shell .battle-workspace) .reward-dialog:not(.reward-dialog-floating,.allocation-dialog){background:var(--card)}@media (max-width:1180px){.game-shell>.masthead>nav,.game-shell>.masthead>.edition{display:none}.game-shell>.masthead .mobile-header-actions{align-items:center;gap:4px;display:flex}.game-shell>.masthead .wordmark>span{display:none}}@media (max-height:500px) and (orientation:landscape){html[data-game-fullscreen] .game-shell:has(.sketchbook-menu){min-height:100dvh}html[data-game-fullscreen] .game-shell>.masthead{min-height:calc(52px + env(safe-area-inset-top))}}
