#rotateGate[hidden]{display:none!important}#rotateGate{position:fixed;inset:0;z-index:2147483000;display:grid;place-items:center;padding:calc(24px + env(safe-area-inset-top)) 24px calc(24px + env(safe-area-inset-bottom));background:radial-gradient(ellipse at center,#1a4034,#061711 75%);color:#fff0cb;text-align:center;touch-action:manipulation}#rotateGate>div{max-width:360px}#rotateGate h2{font-size:25px;margin:18px 0 12px}#rotateGate p{line-height:1.7;color:#c9dbcd}#rotateGate button{display:block;margin:24px auto 16px;min-height:48px;padding:12px 24px;background:#dbbd75;color:#14251e;border:1px solid #ffe5a3;border-radius:9px;font-weight:bold}#rotateGate small{display:block;line-height:1.7;color:#a6bcb1}.rotate-phone{font:100px/1 sans-serif;color:#e7cb85;animation:phoneTurn 2s ease-in-out infinite}@keyframes phoneTurn{0%,20%{transform:rotate(0)}60%,100%{transform:rotate(90deg)}}@media(prefers-reduced-motion:reduce){.rotate-phone{animation:none;transform:rotate(90deg)}}
body.mobile-landscape{--safe-left:max(10px,env(safe-area-inset-left));--safe-right:max(10px,env(safe-area-inset-right));--safe-bottom:max(10px,env(safe-area-inset-bottom));overflow:hidden}
.mobile-landscape #run,.mobile-landscape #stage{height:100dvh!important;min-height:0!important}
.mobile-landscape #referenceUI .reference-clock{left:var(--safe-left)!important;top:8px!important;transform:scale(.58)!important;transform-origin:top left!important}
.mobile-landscape #referenceUI .hud-party{left:var(--safe-left)!important;top:48px!important;bottom:auto!important;display:flex!important;flex-direction:row!important;width:auto!important;gap:5px!important;transform:none!important}
.mobile-landscape #referenceUI .hud-mon{width:123px!important;height:58px!important;min-height:58px!important;padding:3px!important;gap:0!important}.mobile-landscape #referenceUI .portrait-box{width:31px!important;height:39px!important;min-width:31px!important}.mobile-landscape #referenceUI .portrait-box img{width:50px!important;height:50px!important}.mobile-landscape #referenceUI .ref-stats{padding-left:3px!important}.mobile-landscape #referenceUI .hud-mon b{font-size:10px!important;line-height:12px!important}.mobile-landscape #referenceUI .hp{height:6px!important}.mobile-landscape #referenceUI .ref-xp,.mobile-landscape .visible-xp small{font-size:8px!important}.mobile-landscape .visible-xp{min-height:10px;margin-top:1px}.mobile-landscape .visible-xp>div{height:4px!important}.mobile-landscape .visible-xp small{display:none!important}
.mobile-landscape #fieldQuest{left:var(--safe-left)!important;top:112px!important;width:240px!important;display:flex!important;gap:2px!important;padding:4px!important}.mobile-landscape #fieldQuest>span{flex:1;min-width:0;display:flex!important;padding:1px!important;gap:3px!important;border:0!important}.mobile-landscape #fieldQuest .item-icon,.mobile-landscape #fieldQuest .picture-icon{width:23px!important;height:23px!important}.mobile-landscape #fieldQuest b{font-size:9px!important}.mobile-landscape #fieldQuest small{font-size:8px!important}.mobile-landscape #expeditionRisk,.mobile-landscape #warObjective,.mobile-landscape #zoneName,.mobile-landscape #stamina,.mobile-landscape #nightStatus{display:none!important}
.mobile-landscape #fieldWallet{top:8px!important;left:39%!important;right:auto!important;max-width:140px;font-size:10px!important;padding:5px!important;transform:none!important}.mobile-landscape #nightThreat{font-size:8px}
.mobile-landscape #raidUtility{top:8px!important;right:112px!important;display:flex!important;flex-direction:row!important;gap:4px!important}.mobile-landscape #raidUtility button{width:44px!important;min-width:44px!important;height:44px!important;padding:4px!important;font-size:9px!important;display:flex!important;position:relative}.mobile-landscape #raidUtility button span:not(.picture-icon):not(.item-icon){display:none!important}.mobile-landscape #raidUtility .picture-icon,.mobile-landscape #raidUtility .item-icon,.mobile-landscape #raidUtility img{width:28px!important;height:28px!important}.mobile-landscape #raidUtility b{position:absolute;right:2px;bottom:2px;font-size:9px}.mobile-landscape #mapButton{left:auto!important;right:112px!important;top:58px!important;width:44px!important;height:44px!important;padding:5px!important}.mobile-landscape #mapButton span:not(.picture-icon):not(.item-icon){display:none!important}
.mobile-landscape #joyPad{left:var(--safe-left)!important;bottom:var(--safe-bottom)!important;width:96px!important;height:96px!important}.mobile-landscape #joyKnob{width:42px!important;height:42px!important}.mobile-landscape #attackPad{right:var(--safe-right)!important;bottom:var(--safe-bottom)!important;width:96px!important;height:96px!important}.mobile-landscape #attackPad b{font-size:16px!important}.mobile-landscape #attackPad small{font-size:8px!important}.mobile-landscape #sprintTouch{left:122px!important;bottom:var(--safe-bottom)!important;transform:none!important;min-height:44px!important;min-width:44px!important;padding:5px!important}
.mobile-landscape #referenceUI .controls{left:50%!important;right:auto!important;top:auto!important;bottom:calc(var(--safe-bottom) + 12px)!important;gap:8px!important;transform:translateX(-50%)!important}.mobile-landscape #referenceUI .controls button{width:46px!important;height:46px!important;min-width:46px!important}.mobile-landscape #referenceUI .controls button:after{font-size:9px!important;bottom:-12px!important;height:14px!important;line-height:12px!important}.mobile-landscape #referenceUI .controls .action-picture{width:42px!important;height:42px!important}.mobile-landscape #interactHint{bottom:80px!important;font-size:11px!important}.mobile-landscape #toast{top:calc(env(safe-area-inset-top) + 110px)!important;bottom:auto!important;max-width:50vw;padding:7px!important;font-size:11px!important}
.mobile-landscape.guided-training #tutorialCard{top:6px!important;width:min(390px,calc(100vw - 300px))!important;padding:8px 12px!important}.mobile-landscape.guided-training #tutorialCard b{font-size:14px!important}.mobile-landscape.guided-training #tutorialCard p{font-size:11px!important;margin:3px 0!important}.mobile-landscape #guideKey{font-size:12px;padding:3px 6px}.mobile-landscape.guided-training #referenceUI .hud-party{top:8px!important;flex-direction:column!important}.mobile-landscape.guided-training #raidUtility{right:var(--safe-right)!important;top:8px!important;flex-direction:column!important}.mobile-landscape.guided-training #mapButton{right:var(--safe-right)!important;top:200px!important}.mobile-landscape.guided-training #fieldQuest{display:none!important}
.mobile-landscape #overlay{padding:12px!important;align-items:center!important}.mobile-landscape #overlay>.dialog,.mobile-landscape #overlay>.loot-shell,.mobile-landscape #overlay>.inventory-shell{max-height:calc(100dvh - 24px)!important;overflow:auto!important}.mobile-landscape.guided-training #overlay{padding-top:100px!important;align-items:flex-start!important}.mobile-landscape.guided-training #overlay>.loot-shell,.mobile-landscape.guided-training #overlay>.inventory-shell,.mobile-landscape.guided-training #overlay>.world-map{max-height:calc(100dvh - 112px)!important}.mobile-landscape .loot-grid{--cell-size:46px}.mobile-landscape #gameSettings{padding:8px!important}.mobile-landscape #gameSettings>section{max-height:calc(100dvh - 16px);padding:12px}.mobile-landscape #gameSettings main{min-height:0}
.mobile-landscape.at-base #baseQuests{left:var(--safe-left)!important;top:70px!important;width:185px!important;max-height:calc(100dvh - 170px);overflow:auto;padding:8px!important}.mobile-landscape.at-base #baseQuests h3{font-size:13px!important}.mobile-landscape.at-base #basePortrait{left:var(--safe-left)!important;bottom:var(--safe-bottom)!important;transform:scale(.65);transform-origin:bottom left}

.mobile-landscape.guided-training #referenceUI .reference-clock{visibility:hidden!important}
body.mobile-landscape #fieldQuest{flex-direction:row!important;max-width:none!important;width:240px!important}body.mobile-landscape #fieldQuest>span{min-height:32px!important}body.mobile-landscape #fieldQuest small{display:none!important}body.mobile-landscape #fieldQuest strong{font-size:14px!important;display:block!important}body.mobile-landscape #cloudStatus:not(.error){display:none!important}
body.mobile-landscape.at-base #baseReferenceUI{transform:none!important;width:100%!important;height:100%!important}body.mobile-landscape.at-base #baseReferenceUI .base-head{right:var(--safe-right)!important;top:8px!important;gap:5px!important}body.mobile-landscape.at-base #baseReferenceUI #baseDay,body.mobile-landscape.at-base #baseReferenceUI #baseSettings,body.mobile-landscape.at-base #baseReferenceUI #baseCash{min-height:44px!important;height:44px!important;min-width:44px!important;font-size:13px!important;padding:5px 10px!important}body.mobile-landscape.at-base #baseReferenceUI #baseQuests{top:64px!important;max-height:calc(100dvh - 240px)!important}body.mobile-landscape.at-base #baseTip{left:50%!important;top:60px!important;transform:translateX(-50%)!important;font-size:12px!important}body.mobile-landscape.at-base #basePortrait{left:170px!important;bottom:12px!important}.mobile-landscape.at-base #baseKeyboard{left:var(--safe-left)!important;bottom:var(--safe-bottom)!important}.mobile-landscape.at-base #baseKeyboard button{min-width:44px!important;min-height:44px!important}
body.mobile-landscape #toast{top:58px!important;max-width:min(200px,calc(100vw - 530px))!important;font-size:10px!important}body.mobile-landscape.guided-training #toast{top:108px!important;max-width:220px!important}body.mobile-landscape.at-base #baseReferenceUI .research-needs{padding:4px 0!important;gap:3px!important}body.mobile-landscape.at-base #baseReferenceUI .research-needs .picture-icon{width:28px!important;height:28px!important}body.mobile-landscape.at-base #baseReferenceUI .research-needs span{font-size:8px!important;line-height:10px!important}body.mobile-landscape.at-base #baseReferenceUI .research-needs b{font-size:16px!important;line-height:18px!important}body.mobile-landscape.at-base #baseReferenceUI .cycle-day{font-size:12px!important;padding:3px!important;margin-top:3px!important}body.mobile-landscape.at-base #baseReferenceUI #baseQuests h3{font-size:12px!important;margin:0 0 5px!important}body.mobile-landscape.at-base #baseReferenceUI #baseTip{padding:5px 10px!important;min-height:44px!important;min-width:90px!important}body.mobile-landscape.at-base #baseReferenceUI #baseTip kbd{font-size:18px!important;padding:2px 6px!important}

#rotateGate{overflow-y:auto}#rotateDeviceHelp{margin-top:16px;padding:12px;border:1px solid #a68c55;border-radius:8px;color:#fff0cb;text-align:left}#rotateFeedback:empty{display:none}#rotateFeedback{font-size:13px;color:#ffe19b}#rotateGate .rotate-phone{font-size:65px}#rotateGate button{margin:12px auto}
