html.landscape-host, .landscape-host body{width:100%;height:100%;margin:0;overflow:hidden;overscroll-behavior:none;background:#102c27}
.landscape-host #app{display:none!important}
#landscape-game{position:fixed;border:0;margin:0;max-width:none;max-height:none;transform-origin:0 0;z-index:100;display:block;background:#102c27}
#landscape-safe-area{position:fixed;visibility:hidden;pointer-events:none;padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left)}
#landscape-status{position:fixed;inset:0;z-index:101;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;color:#f0dfb6;background:#102c27;font:16px system-ui,sans-serif;text-align:center;padding:24px}
#landscape-status button{border:0;border-radius:10px;padding:12px 24px;background:#e4c891;color:#173b31;font:inherit}
/* All breakpoints in this document see the landscape iframe width/height. */
.mobile-landscape .hud-top{display:grid;grid-template-columns:174px 224px minmax(0,1fr);gap:10px;left:12px;right:12px;top:8px;align-items:start;flex-wrap:nowrap}
.mobile-landscape .profile{width:174px;height:62px;padding:6px;gap:7px;border-width:2px;border-radius:10px}
.mobile-landscape .avatar{width:40px;height:40px;flex-shrink:0;border-width:2px;border-radius:9px}
.mobile-landscape .profile-copy{width:106px;padding-bottom:8px;min-width:0}
.mobile-landscape .profile-copy strong{font-size:13px}.mobile-landscape .profile-copy small{font-size:9px;margin-top:3px}
.mobile-landscape .experience{width:88px;height:4px;margin-top:5px}.mobile-landscape .level{font-size:9px;right:7px;bottom:5px}
.mobile-landscape .vip{font-size:9px;left:7px;bottom:-7px;padding:1px 6px}
.mobile-landscape .balances{position:relative;top:auto;left:auto;gap:6px;margin:0;padding-top:3px;justify-content:center;min-width:0}
.mobile-landscape .balance{width:109px;height:40px;padding:4px;gap:5px;border-width:1.5px;flex-shrink:0}
.mobile-landscape .balance>span:first-child{width:28px;height:28px;flex:none}.mobile-landscape .balance>span:nth-child(2){min-width:0}
.mobile-landscape .balance strong{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mobile-landscape .balance small{font-size:8px;letter-spacing:1px}
.mobile-landscape .balance .balance-action{display:none}.mobile-landscape .test-label{top:49px;font-size:8px;padding:2px 8px}
.mobile-landscape .top-actions{display:grid;grid-template-columns:repeat(5,44px);justify-content:end;gap:5px;margin:0;min-width:0}
.mobile-landscape .top-actions button{width:44px;min-height:48px;padding:1px 0}.mobile-landscape .top-actions button>span{width:32px;height:32px}.mobile-landscape .top-actions strong{font-size:10px;white-space:nowrap}
.mobile-landscape .left-dock{left:12px;top:84px;gap:8px;flex-direction:row;align-items:flex-start}.mobile-landscape .season{display:none}
.mobile-landscape .round-button{width:32px;height:32px;font-size:18px}.mobile-landscape .support-dock{flex-direction:row;gap:6px}
.mobile-landscape .support-dock>a,.mobile-landscape .support-dock>button{min-height:32px;font-size:10px;padding:5px 8px;border-width:1px}.mobile-landscape .support-dock .icon{width:17px;height:17px}
.mobile-landscape .right-dock{right:12px;top:88px}.mobile-landscape .friends-tab{width:34px}.mobile-landscape .friends-tab>.icon{height:22px}.mobile-landscape .friends-tab>span:nth-child(2){font-size:10px;letter-spacing:2px}
.mobile-landscape #camera-help,.mobile-landscape .world-caption{display:none}
.mobile-landscape .mode-3d #walk-stick{display:flex;width:80px;height:80px;left:18px;bottom:18px}.mobile-landscape #walk-stick span{width:36px;height:36px}
.mobile-landscape .mode-3d #farm-quick{left:12px;bottom:118px;max-width:145px;flex-direction:column}
.mobile-landscape #harvest-all{min-height:39px;padding:5px 8px;gap:5px}.mobile-landscape #harvest-all>span:first-child{width:27px;height:27px}.mobile-landscape #harvest-all strong{font-size:12px}.mobile-landscape #harvest-all small{font-size:9px}
.mobile-landscape .quick-overview{padding:6px 8px;font-size:10px}.mobile-landscape .quick-overview small{display:none}
.mobile-landscape .return-own{left:12px;bottom:118px;max-width:160px;padding:8px;font-size:11px}.mobile-landscape .return-own .icon{width:24px;height:24px}
.mobile-landscape .mode-3d #jump-button{right:16px;bottom:20px;width:60px;height:60px}
.mobile-landscape .mode-3d #town-radial{right:96px;bottom:25px;width:50px;height:50px}.mobile-landscape #town-radial .radial-center{width:50px;height:50px;font-size:29px}
.mobile-landscape #town-radial .radial-caption{bottom:-20px;top:auto;font-size:10px}.mobile-landscape #town-radial .radial-petals{bottom:66px;right:-76px;grid-template-columns:repeat(4,50px);gap:7px;padding:9px}
.mobile-landscape #town-radial .radial-petals button{width:50px;height:50px;font-size:10px}
.mobile-landscape .mode-3d .map-controls,.mobile-landscape .mode-3d:has(#jump-button[data-mobile="true"]) .map-controls{right:14px;bottom:88px;gap:5px}.mobile-landscape .map-controls>button{width:32px;height:32px}.mobile-landscape .zoom-controls{height:32px}
.mobile-landscape .mode-3d:has(#town-radial .radial-petals) .right-dock{visibility:hidden;pointer-events:none}
.mobile-landscape #castle-exit{bottom:20px;padding:10px 16px;font-size:12px}.mobile-landscape #visit-banner{top:80px;left:230px;right:68px;transform:none;max-width:none;font-size:10px}.mobile-landscape #visit-banner span{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mobile-landscape .modal-backdrop{padding:10px}.mobile-landscape .modal{max-width:740px;width:calc(100vw - 24px);max-height:calc(100dvh - 20px);border-width:3px;border-radius:16px}
.mobile-landscape .modal-header{padding:10px 16px;flex-shrink:0}.mobile-landscape .modal-header h1{font-size:20px}.mobile-landscape .modal-header small{font-size:8px}.mobile-landscape .modal-brand{width:50px}
.mobile-landscape .close-button{width:36px;height:36px;font-size:24px}.mobile-landscape #modal-content{min-height:0;padding:12px 16px 18px;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
.mobile-landscape .tabs{overflow-x:auto;flex-wrap:nowrap}.mobile-landscape .tabs button{flex-shrink:0;min-height:36px}.mobile-landscape input,.mobile-landscape select,.mobile-landscape textarea{font-size:16px}
.mobile-landscape .auth-locked #modal{max-width:640px;width:calc(100vw - 40px)}.mobile-landscape .auth-locked .modal-header{padding:10px 16px}
.mobile-landscape .auth-locked #modal-content>.intro{display:none}.mobile-landscape #auth-form{display:grid;grid-template-columns:1fr 1fr;gap:10px 16px}
.mobile-landscape #auth-form .field{margin:0}.mobile-landscape #auth-form input{min-height:40px;padding:8px 11px}.mobile-landscape #auth-form .form-actions,.mobile-landscape #auth-form .form-error{grid-column:1/-1;margin:0}
.mobile-landscape #auth-form .form-error:empty{display:none}.mobile-landscape #auth-form .form-actions{display:flex;gap:10px}.mobile-landscape #auth-form .primary{min-height:40px}
.mobile-landscape .auth-locked #modal-content>p,.mobile-landscape .auth-locked #modal-content>.note{font-size:11px;margin:10px 0 0}
