:root{--safe-top:env(safe-area-inset-top,0px);--safe-right:env(safe-area-inset-right,0px);--safe-bottom:env(safe-area-inset-bottom,0px);--safe-left:env(safe-area-inset-left,0px)}html,body,#app{overscroll-behavior:none;width:100%;height:100%;min-height:100dvh}body{-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none}button,[role=button],select,input{touch-action:manipulation}.hud-mobile-toggle{display:none!important}#landscape-gate{z-index:10000;padding:max(28px, var(--safe-top)) max(24px, var(--safe-right)) max(28px, var(--safe-bottom)) max(24px, var(--safe-left));color:#eaf4ec;text-align:center;background:radial-gradient(circle at 50% 42%,#43b17e33,#0000 31%),repeating-radial-gradient(circle at 50% 42%,#0000 0 42px,#e8c35a14 43px 44px),linear-gradient(145deg,#05140e,#0b2b1f 58%,#06120e);place-content:center;justify-items:center;gap:10px;display:none;position:fixed;inset:0}.landscape-device{aspect-ratio:16/9;color:#fff0a9;border:3px solid #ecda9acc;border-radius:10px;place-items:center;width:132px;animation:1.8s cubic-bezier(.22,1,.36,1) infinite landscapeDeviceTurn;display:grid;position:relative;box-shadow:0 0 0 7px #03120cd6,0 0 32px #5adb9d52,inset 0 0 25px #e8c35a1a}.landscape-device:after{content:"";background:#d9bd64;border-radius:0 3px 3px 0;width:4px;height:20px;position:absolute;right:-8px}.landscape-device i{background:repeating-conic-gradient(from 0deg, #e8c35a21 0 1deg, transparent 1deg 30deg);border:1px solid #64dca657;position:absolute;inset:9px}.landscape-device b{letter-spacing:-.05em;font:950 26px/1 Georgia,serif;position:relative}#landscape-gate small{color:#73cca1;letter-spacing:.24em;margin-top:16px;font:850 9px/1 ui-monospace,monospace}#landscape-gate strong{color:#fff1b8;letter-spacing:.12em;font-size:25px}#landscape-gate p{color:#a8c4b4;max-width:310px;font-size:14px;line-height:1.6}@keyframes landscapeDeviceTurn{0%,14%{opacity:.62;transform:rotate(90deg)scale(.82)}48%,78%{opacity:1;transform:rotate(0)scale(1)}to{opacity:.7;transform:rotate(0)scale(1)}}@media (orientation:portrait) and (hover:none),(orientation:portrait) and (pointer:coarse){#landscape-gate{display:grid}#gl,#ui{filter:blur(8px)brightness(.38);pointer-events:none!important}}@media (hover:none),(pointer:coarse){button,[role=button],select,input{min-height:44px}button:hover,.card-thumb:hover,.card-cell:hover,.story-rival-choice-card:hover{transform:none}.card-thumb,.story-rival-choice-card,.story-map-region-button{-webkit-user-drag:none}.touch-swipe-surface{cursor:grab;touch-action:pan-y pinch-zoom}.touch-swipe-surface:active{cursor:grabbing}}@media (orientation:landscape) and (max-width:1366px) and (max-height:1024px){.screen{width:100%;height:100dvh;min-height:0;padding:max(10px, var(--safe-top)) max(12px, var(--safe-right)) max(10px, var(--safe-bottom)) max(12px, var(--safe-left))}.topbar{flex:none;gap:9px;width:100%;max-width:none;min-height:48px;margin-bottom:7px}.topbar h2{margin:0;font-size:clamp(18px,2.7vw,27px)}.topbar button{min-height:44px;padding:7px 14px;font-size:15px}.money-chip{padding:7px 13px;font-size:15px}.modal-mask{padding:max(10px, var(--safe-top)) max(12px, var(--safe-right)) max(10px, var(--safe-bottom)) max(12px, var(--safe-left))}.modal{width:min(94vw,820px);max-height:calc(100dvh - var(--safe-top) - var(--safe-bottom) - 20px);overscroll-behavior:contain;overflow-y:auto}.modal .btn-row{z-index:5;background:linear-gradient(#0000,#0b111ffa 28%);padding-top:10px;position:sticky;bottom:-1px}.toast{top:max(10px, var(--safe-top));max-width:min(82vw,680px);padding:9px 18px;font-size:14px}.main-menu{padding:0}.menu-shell{width:min(690px,67vw);min-height:100dvh;padding:max(22px, var(--safe-top)) 32px max(18px, var(--safe-bottom)) max(42px, calc(var(--safe-left) + 28px))}.main-menu .menu-title{margin-top:5px}.menu-title-en{font-size:clamp(58px,8vw,92px)}.main-menu .menu-col{margin-top:13px}.main-menu .menu-command{min-height:48px}.menu-status{margin-top:12px}.menu-footer{margin-top:11px}.opponents-screen{padding:max(7px, var(--safe-top)) max(9px, var(--safe-right)) max(8px, var(--safe-bottom)) max(9px, var(--safe-left));overflow:hidden}.opponents-screen>.topbar{min-height:44px;margin-bottom:4px}.story-player-hud{flex:none;grid-template-columns:76px minmax(150px,1fr) 112px;gap:10px;min-height:45px;margin:3px auto 6px;padding:4px 9px}.story-level-seal{height:38px}.story-world-layout{flex:auto;grid-template-columns:minmax(0,.94fr) minmax(0,1.06fr);gap:8px;min-height:0}.story-adventure-map,.story-stage{height:100%;min-height:0}.story-adventure-map{padding:8px}.story-adventure-map>header{padding-bottom:6px}.story-adventure-map>footer{padding-top:6px}.story-map-canvas{aspect-ratio:auto;flex:auto;height:auto;min-height:0}.story-map-region-button{width:78px;height:48px}.story-map-pin{width:43px;height:43px}.story-map-region-label{min-width:72px;padding:4px 5px}.story-map-region-label small{display:none}.story-stage{padding:10px 12px}.story-chapter-header h1,.screen .story-chapter-header h1{font-size:clamp(20px,2.45vw,28px)}.story-narrative{margin-block:4px 7px;font-size:10px;line-height:1.35}.story-rival-panel{grid-template-columns:minmax(145px,37%) minmax(0,1fr)}.story-rival-dossier{padding:10px 11px 9px}.story-rival-dossier h2{margin-block:4px 2px;font-size:clamp(19px,2.4vw,27px)}.story-rival-dossier blockquote{margin:5px 0;padding:4px 7px;font-size:11px}.story-specialty{padding:5px 0}.story-specialty p{font-size:10px;line-height:1.35}.story-rival-payoff{margin:5px 0;font-size:9px}.story-battle-button{min-height:46px}.story-level-reward{grid-template-columns:minmax(110px,.7fr) minmax(170px,1.2fr) minmax(70px,.5fr);min-height:53px;padding:5px 7px}.story-reward-card{grid-template-columns:38px minmax(0,1fr)}.story-reward-card .card-thumb{width:38px}.story-reward-card p{display:none}.story-bottom-rival-nav{flex:0 0 112px;grid-template-columns:150px minmax(0,1fr);gap:8px;height:112px;margin-top:7px;padding:5px 8px}.story-bottom-rival-nav>p{display:none}.story-bottom-rival-nav .story-rival-card-stack{height:98px}.story-bottom-rival-nav .story-rival-choice-card{width:clamp(74px,15%,94px);height:92px;top:3px}.story-carousel-arrow{width:38px;height:64px}.jrpg-shop-screen{min-height:0;padding:max(7px, var(--safe-top)) max(9px, var(--safe-right)) max(8px, var(--safe-bottom)) max(9px, var(--safe-left));overflow:hidden}.jrpg-shop-screen>.topbar{margin-bottom:4px}.shop-merchant-bar{grid-template-columns:54px minmax(0,1fr) 126px;min-height:52px}.shop-merchant-sigil{width:42px}.shop-merchant-dialogue{padding:7px 10px}.shop-merchant-dialogue p{font-size:10px}.shop-mode-tabs{min-height:40px;margin-top:4px}.shop-mode-tabs button{min-width:170px;min-height:40px;padding:6px 10px}.shop-mode-workspace{flex:auto;min-height:0;display:grid;overflow:hidden}.shop-trade-layout{grid-template-columns:minmax(210px,.76fr) minmax(250px,1fr) minmax(240px,.83fr);min-height:0;overflow:hidden}.shop-inventory-console,.shop-showcase,.shop-ledger{min-height:0}.shop-product-list{overscroll-behavior:contain;overflow-y:auto}.shop-product-entry{grid-template-columns:76px minmax(0,1fr) 12px}.shop-product-art.compact{width:72px;height:58px}.shop-product-art.compact .shop-product-image{height:55px}.shop-showcase .shop-product-art{height:min(42vh,340px)}.shop-product-art .shop-product-image{max-width:90%;height:86%}.shop-ledger-copy{gap:6px;padding:10px 11px 8px}.shop-detail-name,.screen .shop-detail-name{font-size:clamp(20px,2.5vw,28px)}.shop-detail-desc{font-size:10px;line-height:1.45}.shop-refund-rule{margin:auto 9px 7px;padding:7px 8px}.shop-price-row{margin:0 9px 7px}.shop-buy-button{width:calc(100% - 18px);min-height:46px;margin-inline:9px}.shop-achievement-panel{height:100%;min-height:0;overflow-y:auto}.shop-achievement-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.shop-system-footer{min-height:24px;padding-top:4px}.collection-screen{padding:max(8px, var(--safe-top)) max(10px, var(--safe-right)) max(8px, var(--safe-bottom)) max(10px, var(--safe-left));gap:7px;overflow:hidden}.archive-topbar{min-height:48px;padding:5px 9px}.archive-topbar h2{font-size:clamp(22px,3.2vw,34px)}.archive-topbar button{min-height:44px;padding:7px 13px;font-size:15px}.archive-topbar .money-chip{padding:7px 12px;font-size:16px}.archive-progress-hud{grid-template-columns:minmax(170px,.85fr) minmax(190px,2fr) minmax(105px,.5fr);gap:12px;padding:7px 11px}.archive-progress-copy small,.archive-progress-percent small{font-size:10px}.archive-progress-copy b{font-size:27px}.archive-progress-copy span{font-size:16px}.archive-progress-track{height:11px}.archive-progress-percent b{font-size:22px}.archive-filter-console{grid-template-columns:1fr 2fr .9fr;gap:5px;padding:5px}.archive-filter-group{padding:5px 6px 6px}.archive-filter-group>b{margin-bottom:5px;font-size:10px}.archive-filter-group>div{flex-wrap:nowrap;gap:4px;overflow-x:auto}.archive-filter{flex:none;min-height:40px;padding:6px 9px;font-size:12px}.archive-workbench{flex:auto;grid-template-columns:minmax(0,1fr) minmax(250px,31%);align-items:stretch;gap:7px;min-height:0;overflow:hidden}.archive-library{flex-direction:column;min-height:0;padding:8px;display:flex;overflow:hidden}.archive-library-head{flex:none;margin-bottom:6px;padding-bottom:6px}.archive-library-head h2{font-size:19px}.archive-card-grid{overscroll-behavior:contain;flex:auto;grid-template-columns:repeat(6,minmax(0,1fr));gap:7px;min-height:0;padding:2px 4px 12px 1px;overflow-y:auto}.archive-card-cell{padding:4px}.archive-card-caption{padding-top:5px}.archive-card-caption b{font-size:9px}.archive-inspector{overscroll-behavior:contain;height:100%;max-height:none;padding:10px;position:relative;top:auto;overflow-y:auto}.deck-builder-screen{padding:max(8px, var(--safe-top)) max(9px, var(--safe-right)) max(8px, var(--safe-bottom)) max(9px, var(--safe-left));height:100dvh!important;min-height:0!important;overflow:hidden!important}.deck-builder-topbar{min-height:48px;margin-bottom:6px}.deck-builder-topbar h2{font-size:clamp(21px,3vw,30px)}.deck-workbench{flex:auto!important;grid-template-rows:minmax(0,1fr)!important;grid-template-columns:minmax(0,1fr) minmax(270px,.52fr)!important;height:auto!important;min-height:0!important;overflow:hidden!important}.deck-library-panel{height:100%!important;min-height:0!important;padding:8px!important;overflow:hidden!important}.deck-library-head{min-height:0;padding-bottom:3px}.deck-library-head h2{font-size:20px}.deck-type-rail{gap:3px;grid-template-columns:repeat(8,minmax(52px,1fr))!important}.deck-type-tab{min-height:44px;padding:4px 5px}.deck-type-tab b{font-size:12px}.deck-type-tab small{margin-top:3px;font-size:8px}.deck-filter-console{gap:4px;padding:4px;grid-template-columns:minmax(145px,1.25fr) repeat(3,minmax(88px,1fr))!important}.deck-search-wrap{grid-column:auto!important}.deck-filter-console label>span,.deck-search-wrap>span{display:none}.deck-search,.deck-select{height:40px;min-height:40px;padding:5px 7px;font-size:12px}.deck-card-grid{gap:6px;grid-template-columns:repeat(6,minmax(0,1fr))!important}.deck-analysis-panel{grid-template-rows:minmax(205px,42%) minmax(0,1fr)!important;height:100%!important;min-height:0!important;padding:7px!important;overflow:hidden!important}.deck-analysis-panel .deck-hover-inspector{height:100%;padding:7px;overflow-y:auto;min-height:0!important;max-height:none!important}.deck-analysis-scroll{min-height:0}.save-manager-screen{overflow-y:auto}.cloud-account-panel{grid-template-columns:minmax(220px,1fr) auto minmax(250px,.72fr);gap:9px;min-height:92px;margin-bottom:9px;padding:10px 12px}.cloud-account-identity{grid-template-columns:46px minmax(0,1fr);gap:8px}.cloud-account-identity img,.cloud-account-avatar{width:46px;height:46px}.cloud-account-identity b{font-size:15px}.cloud-account-actions{gap:4px}.cloud-account-actions button,.cloud-redeem-panel button{min-height:44px;padding-inline:9px;font-size:11px}.cloud-redeem-panel{padding:7px 8px}.cloud-redeem-panel input{min-height:42px}.save-cockpit{grid-template-columns:minmax(0,1.05fr) minmax(330px,.75fr);gap:9px}.save-current-panel,.save-command-panel{padding:14px}.save-preview-grid{gap:5px;margin-top:9px}.save-preview-grid>span{padding:7px 9px}.save-command-grid{gap:6px;margin-top:9px}.save-command-grid button,.save-file-trigger{min-height:52px}.rules-body{max-width:940px}.admin-screen{overflow-y:auto}.admin-console{gap:10px}.admin-code-creator,.admin-code-list{padding:14px}.gacha-overlay{height:100dvh;min-height:0;padding-left:var(--safe-left);padding-right:var(--safe-right)}.gacha-header{min-height:62px;padding:max(10px, var(--safe-top)) 18px 9px}.gacha-controls{min-height:94px;padding:5px 14px max(9px, var(--safe-bottom))}.gacha-pack{width:clamp(128px,22vh,178px)}.gacha-overlay[data-gacha-product=basic-deck] .gacha-pack{width:clamp(136px,24vh,188px)}.gacha-final-results{gap:7px;width:min(980px,100% - 18px)}.gacha-result-grid{gap:6px}.gacha-result-tile>div{padding:5px 6px}.hud-mobile-toggle{display:block!important}#battle-hud{--hud-top-h:58px;--hud-bottom-h:58px}#battle-hud .hud-topbar{height:var(--hud-top-h);padding:max(4px, var(--safe-top)) max(8px, var(--safe-right)) 4px max(8px, var(--safe-left))}#battle-hud .hud-bottombar{height:var(--hud-bottom-h);padding:4px max(8px, var(--safe-right)) max(4px, var(--safe-bottom)) max(8px, var(--safe-left))}#battle-hud .hud-topbar .hud-score,#battle-hud .hud-bottombar .hud-score{gap:7px;max-width:27vw;min-height:46px;padding:4px 8px 4px 10px}#battle-hud .hud-topbar .hud-score .name,#battle-hud .hud-bottombar .hud-score .name{max-width:14vw;font-size:14px}#battle-hud .hud-topbar .hud-score .pts,#battle-hud .hud-bottombar .hud-score .pts{font-size:22px}#battle-hud .hud-topbar .energy-row,#battle-hud .hud-bottombar .energy-row{font-size:10px}#battle-hud .hud-topbar .energy-value,#battle-hud .hud-bottombar .energy-value{font-size:16px}#battle-hud .hud-topbar .energy-track,#battle-hud .hud-bottombar .energy-track{width:52px}#battle-hud .hud-topbar .hud-bar-slot.center{top:max(4px, var(--safe-top));gap:2px}#battle-hud .hud-round{min-width:124px;padding:2px 10px 3px}#battle-hud .round-en{display:none}#battle-hud .round-text{font-size:12px}#battle-hud .target-scoreboard{grid-template-columns:minmax(0,1fr) 66px minmax(0,1fr);gap:5px;width:clamp(245px,32vw,350px);padding:3px 8px 4px}#battle-hud .race-name{font-size:8px}#battle-hud .race-score{font-size:23px}#battle-hud .race-goal small,#battle-hud .race-goal span{display:none}#battle-hud .race-goal b{font-size:21px}#battle-hud .hud-topbar .hud-bar-slot.right,#battle-hud .hud-actions{gap:5px}#battle-hud .hud-actions button,#battle-hud .quit-btn{min-height:44px;padding:6px 11px;font-size:11px}#battle-hud .hud-views{flex-wrap:nowrap;gap:4px}#battle-hud .hud-views button{min-height:44px;padding:5px 9px;font-size:11px}#battle-hud .hand-sort-control{gap:4px;padding:3px 6px}#battle-hud .hand-sort-control>span{display:none}#battle-hud .hand-sort-control select{min-width:94px;height:40px;min-height:40px;font-size:11px}#battle-hud .hud-log,#battle-hud .summoner-stack{top:calc(var(--hud-top-h) + 8px);bottom:calc(var(--hud-bottom-h) + 8px);z-index:60;overscroll-behavior:contain;width:min(38vw,290px);max-height:none;display:none;overflow-y:auto;pointer-events:auto!important}#battle-hud.mobile-summoners-open .summoner-stack{left:max(8px, var(--safe-left));display:flex}#battle-hud.mobile-log-open .hud-log{right:max(8px, var(--safe-right));display:block}#battle-hud .summoner-panel{font-size:11px;pointer-events:auto!important}#battle-hud .hud-tip{top:calc(var(--hud-top-h) + 7px);max-width:58vw;padding:5px 12px;font-size:14px}#battle-hud .ability-burst{width:min(92vw,900px);padding:20px 34px 24px}#battle-hud .ability-title{font-size:clamp(35px,7vw,68px)}#battle-hud .ability-detail{font-size:clamp(16px,2.4vw,23px)}#battle-hud .ability-confirm{min-height:48px;margin-top:14px;padding:10px 24px;font-size:17px}#ui:has(#battle-hud)>.modal-mask .modal{width:min(92vw,820px);max-height:calc(100dvh - var(--safe-top) - var(--safe-bottom) - 18px);padding:18px 22px;font-size:17px;overflow-y:auto}#ui:has(#battle-hud)>.modal-mask .modal h3{font-size:23px}#ui:has(#battle-hud)>.modal-mask .modal button{min-height:46px;padding:9px 18px;font-size:16px}}@media (orientation:landscape) and (max-height:600px){.main-menu .menu-art{background-position:58% 48%}.menu-shell{width:min(650px,76vw);padding-top:max(9px, var(--safe-top));padding-bottom:max(7px, var(--safe-bottom));align-content:start}.menu-brand{padding-left:10px}.menu-kicker,.menu-title-en:before{display:none}.main-menu .menu-title{gap:9px;margin:0}.menu-title-en{font-size:clamp(43px,9.2vh,60px)}.menu-title-zh{writing-mode:horizontal-tb;padding-bottom:2px;font-size:clamp(20px,5vh,27px)}.menu-title-revival{padding-bottom:3px;font-size:14px}.menu-subtitle{margin-top:4px;padding-block:4px;font-size:8px}.main-menu .menu-col{grid-template-columns:repeat(2,minmax(0,1fr));gap:3px;width:min(560px,100%);margin:7px 0 0 10px;display:grid}.main-menu .menu-command{grid-template-columns:34px minmax(0,1fr) 16px;min-height:43px;padding-block:4px}.menu-command-copy b{font-size:13px}.menu-command-copy small{font-size:6px}.menu-status{width:min(560px,100%);margin:6px 0 0 10px}.menu-status>div{padding:5px 9px}.menu-status small{font-size:6px}.menu-status b{margin-top:3px;font-size:10px}.menu-footer,.menu-seal,.menu-foreground-card-3{display:none}.opponents-screen>.topbar{height:40px;min-height:40px;margin:0}.opponents-screen>.topbar h2{font-size:18px}.story-player-hud{grid-template-columns:64px minmax(130px,1fr) 88px;height:38px;min-height:38px;margin-block:3px;padding-block:2px}.story-level-seal{height:31px}.story-level-seal strong{font-size:16px}.story-xp-copy{margin-bottom:3px}.story-xp-copy span,.story-xp-copy b,.story-medal-count small{font-size:7px}.story-medal-count strong{font-size:12px}.story-world-layout{gap:5px}.story-adventure-map{padding:4px}.story-adventure-map>header,.story-adventure-map>footer{display:none}.story-map-region-label{min-width:55px;padding:3px}.story-map-region-label strong{font-size:7px}.story-map-region-label em,.story-map-region-label small{display:none}.story-map-pin{width:34px;height:34px}.story-map-pin i{margin-top:-6px;font-size:12px}.story-map-pin b{margin-top:10px;font-size:6px}.story-stage{padding:6px 7px}.story-chapter-header small,.story-chapter-header>span{display:none}.story-chapter-header h1,.screen .story-chapter-header h1{margin:0 0 4px;font-size:17px}.story-narrative{display:none}.story-encounter-layout{gap:4px}.story-rival-panel{grid-template-columns:minmax(110px,35%) minmax(0,1fr)}.story-rival-dossier{padding:6px 7px}.story-rival-kicker{font-size:7px}.story-rival-dossier h2{font-size:17px}.story-rival-origin{font-size:7px}.story-rival-dossier blockquote,.story-specialty{display:none}.story-rival-payoff{gap:2px;margin:3px 0;font-size:7px;display:grid}.story-battle-button{min-height:43px;padding-block:5px}.story-level-reward{grid-template-columns:minmax(95px,.8fr) minmax(135px,1.2fr) 64px;min-height:40px;padding:3px 5px}.story-level-reward header small,.story-level-reward header b{font-size:7px}.story-reward-card{grid-template-columns:29px minmax(0,1fr);gap:5px}.story-reward-card .card-thumb{width:29px}.story-reward-card strong{font-size:9px}.story-reward-card span{display:none}.story-bottom-rival-nav{flex-basis:82px;grid-template-columns:108px minmax(0,1fr);height:82px;margin-top:4px;padding:3px 5px}.story-bottom-rival-nav>header h2{font-size:12px}.story-bottom-rival-nav>header small{font-size:6px}.story-bottom-rival-nav .story-rival-card-stack{height:74px}.story-bottom-rival-nav .story-rival-choice-card{width:clamp(54px,15%,72px);height:70px;top:1px}.story-rival-card-face>i,.story-rival-card-face small,.story-rival-card-face em{display:none}.story-rival-card-face b{font-size:7px}.story-carousel-arrow{width:32px;height:52px}.jrpg-shop-screen>.topbar{height:40px;min-height:40px}.shop-merchant-bar{grid-template-columns:44px minmax(0,1fr) 102px;min-height:43px}.shop-merchant-sigil{width:34px}.shop-merchant-dialogue p{font-size:8px}.shop-wallet{padding:5px 9px}.shop-wallet strong{font-size:15px}.shop-mode-tabs{height:36px;min-height:36px}.shop-mode-tabs button{min-height:36px;padding-block:4px}.shop-trade-layout{grid-template-columns:minmax(190px,36%) minmax(0,1fr)}.shop-showcase{display:none}.shop-product-entry{grid-template-columns:58px minmax(0,1fr) 10px}.shop-product-art.compact{width:54px;height:44px}.shop-product-art.compact .shop-product-image{height:42px}.shop-inventory-console>footer,.shop-system-footer{display:none}.shop-ledger-copy{padding:7px 9px 5px}.shop-detail-name,.screen .shop-detail-name{font-size:19px}.shop-detail-desc{font-size:9px;line-height:1.3}.shop-detail-contents{padding:5px 7px;font-size:9px}.shop-refund-rule{padding:5px 7px}.shop-buy-button{min-height:44px}.shop-achievement-hero{min-height:64px;padding:7px 10px}.shop-achievement-seal{width:43px}.shop-achievement-hero h2{margin-block:3px;font-size:17px}.shop-achievement-hero p{font-size:9px}.shop-achievement-count strong{font-size:22px}.shop-achievement-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.collection-screen{gap:4px}.archive-topbar{height:40px;min-height:40px}.archive-topbar h2{font-size:20px}.archive-progress-hud{display:none}.archive-filter-console{flex:none;gap:4px;min-height:48px;display:flex;overflow-x:auto}.archive-filter-group{flex:none;align-items:center;gap:5px;padding:3px 5px;display:flex}.archive-filter-group>b{margin:0;font-size:8px}.archive-filter{min-height:38px;padding:5px 7px;font-size:10px}.archive-workbench{grid-template-columns:minmax(0,1fr) minmax(195px,28%)}.archive-library-head{display:none}.archive-card-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:5px}.archive-card-caption{display:none}.archive-inspector{padding:7px}.archive-inspector-card{width:min(86px,45%)}.archive-inspector-head h3{font-size:16px}.archive-inspector-effect{font-size:10px}.deck-builder-topbar{height:40px;min-height:40px;margin-bottom:4px}.deck-builder-topbar h2{font-size:19px}.deck-library-head{display:none}.deck-type-tab{min-height:38px}.deck-type-tab small{display:none}.deck-filter-console{padding:3px}.deck-search,.deck-select{height:36px;min-height:36px;font-size:10px}.deck-card-grid{grid-template-columns:repeat(6,minmax(0,1fr))!important}.deck-analysis-panel{min-width:220px;grid-template-rows:155px minmax(0,1fr)!important}.deck-analysis-panel .deck-hover-inspector{grid-template-columns:66px minmax(0,1fr);padding:5px}.deck-analysis-panel .deck-inspector-preview{width:60px}.deck-analysis-panel .deck-inspector-effect{font-size:10px}.deck-analysis-panel .deck-inspector-actions button{min-height:40px;font-size:10px}.save-manager-screen>.topbar{min-height:40px}.cloud-account-panel{grid-template-columns:minmax(0,1fr) auto minmax(235px,.72fr);min-height:74px;margin-bottom:5px;padding:6px 8px}.cloud-account-copy{gap:2px}.cloud-account-copy b{font-size:16px}.cloud-account-copy p{margin:0;font-size:9px;line-height:1.3}.cloud-account-copy small,.cloud-account-identity small,.cloud-redeem-panel small{font-size:7px}.cloud-account-identity{grid-template-columns:38px minmax(0,1fr)}.cloud-account-identity img,.cloud-account-avatar{width:38px;height:38px}.cloud-account-identity b{font-size:12px}.cloud-account-identity span,.cloud-sync-status{font-size:8px}.cloud-account-actions button,.cloud-redeem-panel button{min-height:38px;padding:4px 7px;font-size:9px}.cloud-redeem-panel{gap:4px;padding:4px 5px}.cloud-redeem-panel>div{display:none}.cloud-redeem-panel input{height:38px;min-height:38px;font-size:9px}.save-cockpit{grid-template-columns:minmax(0,1fr) minmax(280px,.72fr)}.save-current-panel,.save-command-panel{padding:9px}.save-current-panel header,.save-command-panel header{padding-bottom:5px}.save-current-panel header h2,.save-command-panel header h2{margin-top:3px;font-size:17px}.save-preview-grid>span{gap:2px;padding:4px 6px;font-size:9px}.save-preview-grid>span b{font-size:12px}.save-origin-warning{display:none}.save-command-grid button,.save-file-trigger{min-height:44px;padding:6px 9px}.save-command-grid button b,.save-file-trigger b{font-size:13px}.save-command-grid button small,.save-file-trigger small{font-size:7px}.save-manager-footer{display:none}.admin-screen{padding-top:max(5px, var(--safe-top));padding-bottom:max(5px, var(--safe-bottom))}.admin-screen>.topbar{min-height:40px;margin-bottom:4px}.admin-console{grid-template-columns:minmax(300px,.8fr) minmax(0,1.2fr);gap:6px}.admin-code-creator,.admin-code-list{padding:8px}.admin-code-creator header h2,.admin-code-list header h2{font-size:16px}.admin-form-grid{gap:5px}.admin-form-grid label{gap:2px;font-size:8px}.admin-form-grid input,.admin-form-grid select{height:36px;min-height:36px;padding:4px 6px;font-size:9px}.admin-create-code{min-height:40px;margin-top:6px}.admin-security-note{margin-top:5px;font-size:8px}.admin-code-item{min-height:45px;padding:5px 7px}.gacha-header{min-height:49px;padding-top:max(6px, var(--safe-top));padding-bottom:6px}.gacha-header small,.gacha-pull-progress{display:none}.gacha-header h1{margin:0;font-size:15px}.gacha-controls{min-height:71px;padding-bottom:max(5px, var(--safe-bottom));gap:3px}.gacha-instruction{font-size:9px}.gacha-primary-button,.repeat-pull-button,.gacha-alternate-button{min-height:48px;padding-block:7px}.repeat-pull-button{min-width:min(340px,45vw)}.gacha-overlay[data-gacha-product=basic-deck] .gacha-pack{width:clamp(124px,23vh,156px)}.gacha-final-results{align-content:start;gap:4px;padding-block:4px}.gacha-result-heading{gap:2px}.gacha-result-heading small,.gacha-result-heading p{display:none}.gacha-result-heading h2{font-size:20px}.gacha-result-summary span{padding:3px 6px;font-size:7px}.gacha-result-tile>div{padding:3px 4px}#battle-hud{--hud-top-h:52px;--hud-bottom-h:52px}#battle-hud .hud-topbar .hud-score,#battle-hud .hud-bottombar .hud-score{max-width:24vw;min-height:42px;padding:3px 6px}#battle-hud .hud-topbar .hud-score .name,#battle-hud .hud-bottombar .hud-score .name{max-width:11vw;font-size:11px}#battle-hud .hud-topbar .hud-score .pts,#battle-hud .hud-bottombar .hud-score .pts{font-size:18px}#battle-hud .hud-topbar .energy-row>span,#battle-hud .hud-bottombar .energy-row>span{display:none}#battle-hud .target-scoreboard{grid-template-columns:minmax(0,1fr) 48px minmax(0,1fr);width:clamp(215px,30vw,285px)}#battle-hud .hud-round{display:none}#battle-hud .hud-actions button,#battle-hud .quit-btn{padding-inline:8px;font-size:9px}#battle-hud .concede-btn{max-width:86px}#battle-hud .hud-views button{min-width:0;padding-inline:7px;font-size:9px}#battle-hud .hand-sort-control select{min-width:78px;max-width:96px;font-size:9px}#battle-hud .hud-tip{max-width:50vw;font-size:11px}#battle-hud .hud-log,#battle-hud .summoner-stack{width:min(42vw,270px)}#battle-hud .summoner-panel{font-size:9px;line-height:1.3}#ui:has(#battle-hud)>.modal-mask .modal{padding:10px 13px;font-size:13px}#ui:has(#battle-hud)>.modal-mask .modal h3{font-size:18px}#ui:has(#battle-hud)>.modal-mask .modal button{min-height:44px;padding:7px 12px;font-size:13px}#ui:has(#battle-hud) .target-choice-grid{grid-template-columns:repeat(3,minmax(145px,1fr));gap:7px}#ui:has(#battle-hud) .target-choice-option{padding:7px}#ui:has(#battle-hud) .target-choice-visuals{min-height:100px}#ui:has(#battle-hud) .target-choice-visuals .card-thumb{flex-basis:70px;width:70px}}@media (orientation:landscape) and (max-width:1366px) and (max-height:1024px){.deck-slot-console{flex-basis:54px;grid-template-columns:minmax(0,1fr) auto;min-height:54px;margin-bottom:5px;padding:4px 6px}.deck-slot-title{display:none}.deck-slot-rail{gap:4px}.deck-slot-tab,.deck-slot-add{flex-basis:108px;min-height:44px;padding:4px 6px}.deck-slot-actions{gap:3px}.deck-slot-actions button{min-height:42px;padding:4px 7px;font-size:10px}.modal:has(.battle-deck-picker){max-height:calc(100dvh - 20px);padding:13px 16px}.battle-deck-grid{gap:5px}.battle-deck-option{min-height:58px;padding-block:6px}}@media (orientation:landscape) and (max-height:600px){.deck-builder-topbar:before{display:none}.deck-slot-console{flex-basis:46px;min-height:46px;margin-bottom:4px;padding-block:2px}.deck-slot-tab,.deck-slot-add{flex-basis:94px;grid-template-columns:22px minmax(55px,1fr);min-height:39px;padding:3px 5px}.deck-slot-tab b,.deck-slot-add b{font-size:9px}.deck-slot-actions button{min-height:36px;padding-inline:5px;font-size:9px}.modal:has(.battle-deck-picker) h3{margin-bottom:6px;font-size:17px}.battle-deck-picker>header p{margin:3px 0 6px;font-size:10px}.battle-deck-option{min-height:48px;padding:4px 7px}.battle-deck-copy strong{font-size:11px}.battle-deck-copy small,.battle-deck-copy em{font-size:8px}.battle-deck-picker>footer{margin-top:5px;font-size:8px}.modal:has(.battle-deck-picker) .btn-row{margin-top:7px}.modal:has(.battle-deck-picker) .btn-row button{min-height:38px;padding:5px 9px;font-size:10px}.modal:has(.pre-play-impact){max-height:calc(100dvh - 16px);padding:9px 12px}.modal:has(.pre-play-impact) h3{margin-bottom:5px;font-size:16px}.pre-play-impact{gap:6px}.pre-play-impact-intro{gap:2px;padding:5px 8px}.pre-play-impact-intro strong{font-size:12px}.pre-play-impact-intro p{font-size:9px;line-height:1.25}.pre-play-impact-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}.pre-play-impact-item{gap:2px;padding:6px 8px}.pre-play-impact-status{font-size:12px}.pre-play-impact-detail,.pre-play-impact-target,.pre-play-impact-source b{font-size:8px}.modal:has(.pre-play-impact) .btn-row{margin-top:6px}.modal:has(.pre-play-impact) .btn-row button{min-height:36px;padding:5px 8px;font-size:10px}}@media (prefers-reduced-motion:reduce){.landscape-device{animation:none;transform:rotate(0)}.pre-play-impact-item:after{animation:none}}
