@layer world-dialog-layout{[data-slot=dialog-content][data-world-presentation]{box-sizing:border-box!important;min-width:0!important;min-height:0!important;margin:auto!important;animation:none!important;position:fixed!important;transform:translate(0,0)!important}[data-slot=dialog-content][data-world-presentation=screen]{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;inset:0!important}[data-slot=dialog-content][data-world-presentation=panel]{overscroll-behavior:contain;width:min(860px,100vw - 24px)!important;max-width:calc(100vw - 24px)!important;height:fit-content!important;max-height:calc(100dvh - 24px)!important;inset:12px!important;overflow:auto!important}[data-world-presentation]>[data-slot=dialog-close]{z-index:40!important;min-width:44px!important;min-height:44px!important;position:absolute!important;top:10px!important;right:10px!important}[data-world-presentation=screen]>[data-slot=dialog-close]{top:max(10px,env(safe-area-inset-top))!important;right:max(10px,env(safe-area-inset-right))!important;position:absolute!important}}body [data-slot=dialog-content][role=dialog].world-screen-dialog{isolation:isolate;gap:12px;width:100vw!important;max-width:none!important;height:100dvh!important;max-height:100dvh!important;padding:max(14px,env(safe-area-inset-top)) max(20px,env(safe-area-inset-right)) max(14px,env(safe-area-inset-bottom)) max(20px,env(safe-area-inset-left))!important;background:radial-gradient(at 14% 0,#362347 0%,#0000 55%),linear-gradient(135deg,#18152a,#101d25)!important;border-radius:0!important;flex-direction:column!important;animation:none!important;display:flex!important;position:fixed!important;inset:0!important;overflow:hidden!important;transform:translate(0,0)!important}.world-screen-dialog>[data-slot=dialog-header]{flex:none;justify-content:center;min-height:40px;padding-right:60px}.world-screen-dialog [data-slot=dialog-title]{text-align:left!important;font-size:clamp(19px,2.5vw,29px)!important;line-height:1.3!important}.world-screen-dialog>[data-slot=dialog-close]{z-index:12;place-items:center;display:grid;right:max(16px,env(safe-area-inset-right))!important;top:max(12px,env(safe-area-inset-top))!important;opacity:1!important;background:#392546!important;border-radius:12px!important;width:42px!important;height:42px!important;position:absolute!important}.world-screen-dialog>[data-slot=dialog-close] svg{width:23px!important;height:23px!important}.world-screen-dialog>[data-slot=dialog-header] [data-slot=dialog-description]{font-size:12px;line-height:1.35}.world-screen-dialog>:not([data-slot=dialog-header]):not([data-slot=dialog-close]){min-height:0}.world-screen-dialog>.festival-page,.world-screen-dialog>.treasury-panel,.world-screen-dialog>.world-command-book,.world-screen-dialog>.companion-compact,.world-screen-dialog>.world-atlas{flex:1;min-height:0}.world-screen-dialog>.festival-page{width:100%;max-width:1200px;margin:0 auto}.world-screen-dialog>.viewport-pages{flex:1;min-height:0}.world-screen-dialog .treasury-panel{align-self:center;width:100%;max-width:1400px}.world-screen-dialog .treasury-wallet{flex-wrap:wrap;gap:12px}.world-screen-dialog .treasury-wallet>span{background:#241b38;border:1px solid #9d83bd66;border-radius:12px;align-items:center;gap:8px;padding:8px 14px;font-size:15px;display:flex}.world-screen-dialog .treasury-wallet>span svg{color:#ffd77e;filter:drop-shadow(0 0 7px #e9a94588);width:27px;height:27px}.world-screen-dialog .treasury-wallet>span b{color:#fff0bd;font-size:24px}.world-screen-dialog .treasury-wallet>span small{color:#d4c6e8;font-size:11px;display:block}.world-screen-dialog .treasury-collection:has(>.treasury-empty){display:block}.world-screen-dialog .treasury-empty{padding:16px}.world-screen-dialog .treasury-exchange button:disabled{opacity:1;color:#c7bad7;background:#201b30}.world-screen-dialog .treasury-exchange progress{accent-color:#e5bc6d;width:100%;height:5px;margin-top:7px;display:block}.world-screen-dialog .summon-stage{flex:1;min-height:120px}.world-screen-dialog .treasury-layout-summon .summon-machine-tabs{flex:none}.world-screen-dialog .treasury-forge{flex:1;min-height:0}.world-screen-dialog .atlas-destinations .world-model-art{flex-shrink:1;justify-content:center;align-items:center;display:flex;overflow:hidden}.world-screen-dialog .atlas-destinations .world-model-art>img{object-fit:contain;max-height:100%;width:100%!important;height:100%!important}@media (max-height:550px){body [data-slot=dialog-content][role=dialog].world-screen-dialog{gap:6px;padding:8px 14px!important}.world-screen-dialog>[data-slot=dialog-header]{min-height:28px}.world-screen-dialog [data-slot=dialog-title]{font-size:18px!important}.world-screen-dialog>[data-slot=dialog-close]{width:34px!important;height:34px!important;top:5px!important;right:12px!important}.world-screen-dialog .treasury-wallet{gap:7px;font-size:12px}.world-screen-dialog .treasury-wallet>span{gap:5px;padding:3px 9px;font-size:12px}.world-screen-dialog .treasury-wallet>span b{font-size:17px}.world-screen-dialog .treasury-wallet>span svg{width:20px;height:20px}.world-screen-dialog .treasury-wallet small{display:none!important}.world-screen-dialog .treasury-tabs button{min-height:35px;padding:5px;font-size:12px}}@media (max-width:560px){body [data-slot=dialog-content][role=dialog].world-screen-dialog{padding-left:12px!important;padding-right:12px!important}.world-screen-dialog .treasury-wallet>span{gap:5px;padding:5px 8px;font-size:12px}.world-screen-dialog .treasury-wallet>span b{font-size:20px}.world-screen-dialog .treasury-wallet>span small{font-size:9px}.world-screen-dialog .treasury-wallet>a{margin-left:auto;font-size:10px}}
