#gameWarehouse{position:fixed;inset:0;z-index:900;isolation:isolate;display:flex;flex-direction:column;overflow:auto;background:#263e4c;color:#e4edf0;font:14px/1.6 "Segoe UI","Microsoft YaHei",sans-serif;scrollbar-width:thin}#gameWarehouse[hidden]{display:none!important}#gameWarehouse *{box-sizing:border-box}#gameWarehouse:focus{outline:none}#gameWarehouse h1,#gameWarehouse h2,#gameWarehouse h3,#gameWarehouse p{margin:0;padding:0;border:0;background:none}#gameWarehouse button{font:inherit;color:inherit;cursor:pointer;border:1px solid transparent;border-radius:0;background:none}#gameWarehouse button:hover{background:#bfd8e410;border-color:#bad6df40}#gameWarehouse button:focus-visible{outline:2px solid #dccfa3;outline-offset:5px}
.warehouse-scene,.warehouse-vignette{position:fixed;inset:0;z-index:-2;pointer-events:none}.warehouse-scene{background:#344955 url('assets/lobby/shared-warehouse-v1.png') 65% center/cover no-repeat}.warehouse-vignette{z-index:-1;background:linear-gradient(90deg,#142834eb,#1b303b55 52%,#20333b0a 85%),linear-gradient(0deg,#12222fd9,transparent 35%,#1327337a)}
#gameWarehouse .warehouse-header{height:82px;min-height:82px;padding:0 4%;display:flex;align-items:center;gap:26px;border-bottom:1px solid #bdd3db29;background:#1b303d50}.warehouse-brand{font-size:11px;letter-spacing:3px;color:#acbec7}.warehouse-brand i{font-style:normal;color:#687f8f;margin:0 18px}#gameWarehouse .warehouse-back{display:flex;align-items:center;gap:18px;padding:8px 15px 8px 0;font-size:13px;letter-spacing:1px}.warehouse-back>span{font-size:23px;color:#c8d8df}#gameWarehouse .warehouse-close{margin-left:auto;width:40px;height:40px;font-size:28px;font-weight:200;color:#a7c0cb}
.warehouse-main{position:relative;flex:1;display:flex;flex-direction:column;padding:clamp(24px,4vh,56px) 6% 24px;min-height:0;gap:clamp(20px,3vh,35px)}.warehouse-eyebrow{display:flex;align-items:center;gap:12px;font-size:9px;letter-spacing:4px;color:#adbec8}.warehouse-eyebrow>i{width:25px;height:1px;background:#d0bc85}#gameWarehouse h1{font-size:clamp(34px,3.8vw,56px);font-weight:500;letter-spacing:8px;line-height:1.3;margin:12px 0}.warehouse-heading h1>span{display:inline-block;margin-left:24px;padding:6px 12px;vertical-align:middle;border:1px solid #aebdbd45;color:#c7cbbd;font-size:10px;letter-spacing:2px;line-height:1.6}.warehouse-description{color:#a1b8c4;font-size:12px;letter-spacing:2px}
.warehouse-storage{width:510px;max-width:100%;display:flex;flex-direction:column;border:1px solid #a1bbc33d;background:linear-gradient(115deg,#142b38d6,#203b47bd);box-shadow:0 24px 70px #0c1e2c33;position:relative}.warehouse-storage:before,.warehouse-storage:after{content:"";position:absolute;width:20px;height:20px;pointer-events:none;border-color:#c5b98f;border-style:solid;z-index:1}.warehouse-storage:before{top:-1px;left:-1px;border-width:1px 0 0 1px}.warehouse-storage:after{bottom:-1px;right:-1px;border-width:0 1px 1px 0}.warehouse-storage-top{display:flex;align-items:center;justify-content:space-between;padding:18px 25px;border-bottom:1px solid #8da7b330}.warehouse-storage-top>div:first-child{display:flex;align-items:center;gap:17px}.warehouse-storage-top svg{width:30px;height:30px;color:#c6c6ac}#gameWarehouse h2{font-size:15px;font-weight:500;letter-spacing:3px}.warehouse-storage-top small{display:block;font-size:7px;letter-spacing:2.5px;color:#8da6b5;margin-top:4px}.warehouse-total{display:flex;align-items:baseline;gap:10px}.warehouse-total b{font-size:31px;font-weight:300;color:#d8e4e7;line-height:1;font-variant-numeric:tabular-nums}.warehouse-total span{font-size:9px;color:#8ca6b3}
.warehouse-empty{display:flex;flex-direction:column;align-items:center;text-align:center;padding:27px 24px 22px;position:relative;overflow:hidden}.warehouse-empty:before{content:"";position:absolute;inset:12px;background-image:linear-gradient(#a4beca06 1px,transparent 1px),linear-gradient(90deg,#a4beca06 1px,transparent 1px);background-size:32px 32px;pointer-events:none}.warehouse-empty-emblem{width:83px;height:83px;position:relative;display:grid;place-items:center;margin:0 0 14px}.warehouse-empty-emblem>svg{width:47px;height:47px;color:#a6bbc4}.warehouse-empty-emblem>i{position:absolute;inset:9px;border:1px solid #adc3cd26;transform:rotate(45deg)}#gameWarehouse h3{font-size:19px;font-weight:400;letter-spacing:4px;color:#d5e2e6}.warehouse-empty>p{font-size:11px;color:#91a9b7;line-height:2.1;margin-top:10px!important}.warehouse-empty-slots{display:grid;grid-template-columns:repeat(6,34px);gap:7px;margin:22px 0 10px}.warehouse-empty-slots>i{height:34px;border:1px solid #9cb8c51d;background:#789bad05;position:relative}.warehouse-empty-slots>i:before{content:"+";position:absolute;inset:0;display:grid;place-items:center;color:#9cb8c52a;font:200 12px system-ui}.warehouse-empty-caption{font-size:7px;letter-spacing:4px;color:#708e9d}.warehouse-storage>footer{display:flex;justify-content:space-between;padding:12px 24px;border-top:1px solid #8da7b325;font-size:9px;color:#8ca7b4;letter-spacing:1px}.warehouse-storage>footer span{display:flex;align-items:center;gap:8px}.warehouse-storage>footer i{width:4px;height:4px;background:#bcb895}.warehouse-storage>footer b{font-weight:400;color:#c4d7df}
.warehouse-environment-label{position:absolute;right:6%;bottom:12%;text-align:right;color:#cfdbdd}.warehouse-environment-label>span{font-size:9px;letter-spacing:4px;color:#9caeae}.warehouse-environment-label>i{display:block;width:55px;height:1px;background:#cabd94;margin:15px 0 18px auto}.warehouse-environment-label>p{font-size:14px;letter-spacing:5px}.warehouse-footer{min-height:64px;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px 4%;border-top:1px solid #b5cdd52a;background:#14273360;font-size:10px;letter-spacing:2px;color:#94adb9}#gameWarehouse .warehouse-footer button{padding:8px 16px;color:#d4dddf;border:1px solid #b7c6c344;font-size:12px;letter-spacing:2px}.warehouse-footer button>span{margin-left:30px;color:#c6bb91}.warehouse-key-hint kbd{border:1px solid #adc1ce35;font:8px system-ui;padding:3px 5px;margin-right:8px;color:#bacbd3}.room-expiry-note{display:block;color:#9bafb8;font-size:10px;margin:8px 18px}
@media(min-width:1500px) and (min-height:850px){.warehouse-storage{width:580px}.warehouse-empty{padding:42px 24px 35px}.warehouse-empty-emblem{width:100px;height:100px;margin-bottom:22px}}
@media(max-height:740px) and (min-width:721px){.warehouse-main{gap:18px;padding-top:23px;padding-bottom:20px}.warehouse-empty{padding:14px 24px}.warehouse-empty-emblem{width:62px;height:62px;margin-bottom:6px}.warehouse-empty-slots{margin:14px 0 8px}.warehouse-storage-top{padding:14px 25px}.warehouse-heading h1{font-size:38px}#gameWarehouse .warehouse-header{height:70px;min-height:70px}}
@media(max-width:850px){.warehouse-environment-label{display:none}.warehouse-storage{width:480px}.warehouse-heading h1>span{margin-left:14px;font-size:9px}.warehouse-brand{font-size:9px;letter-spacing:2px}}
@media(max-width:600px){#gameWarehouse .warehouse-header{height:65px;min-height:65px;padding:0 20px;gap:10px}.warehouse-brand{display:none}.warehouse-main{padding:30px 22px 25px;gap:24px;flex:1 0 auto}.warehouse-heading h1>span{display:table;margin:16px 0 0;font-size:9px}.warehouse-heading h1{font-size:36px}.warehouse-eyebrow{font-size:8px;letter-spacing:3px}.warehouse-description{font-size:10px;letter-spacing:1px}.warehouse-scene{background-position:76% center}.warehouse-vignette{background:linear-gradient(90deg,#132a37b8,#20384666),linear-gradient(0deg,#162c38d9,transparent 70%)}.warehouse-storage{width:100%;background:linear-gradient(115deg,#142b38e8,#203b47db)}.warehouse-storage-top{padding:18px}.warehouse-storage-top>div:first-child{gap:12px}.warehouse-total b{font-size:27px}.warehouse-empty{padding:28px 18px}.warehouse-empty-slots{grid-template-columns:repeat(6,28px);gap:6px}.warehouse-empty-slots>i{height:28px}.warehouse-storage>footer{padding:12px 18px}.warehouse-footer{padding:16px 22px;flex-wrap:wrap;font-size:8px;letter-spacing:1px}.warehouse-key-hint{display:none}#gameWarehouse .warehouse-footer button{font-size:11px;padding:8px 12px}.warehouse-footer button>span{margin-left:12px}}

.warehouse-booster{display:flex;align-items:center;justify-content:center;width:100%;gap:28px;padding:5px 0 22px;text-align:left}.booster-card{position:relative;width:130px;flex-shrink:0;filter:drop-shadow(0 12px 20px #07141e80)}.booster-card>svg{width:100%;display:block}.booster-card>span{position:absolute;top:14%;left:28%;font:300 20px/1 "Segoe UI",sans-serif;color:#e3d7b2;letter-spacing:3px}.booster-card>span small{font:6px "Segoe UI",sans-serif;letter-spacing:1px;margin-left:4px}.booster-card>b{position:absolute;bottom:5%;right:16%;background:#132c38;padding:2px 7px;color:#e5d5a5;font-size:16px;font-weight:400;font-variant-numeric:tabular-nums}.booster-detail>small{font-size:8px;letter-spacing:2px;color:#839ea9}.booster-detail h3{margin-top:9px!important;font-size:21px!important;letter-spacing:3px!important}.booster-detail>strong{display:block;margin-top:2px;color:#bfb58e;font-size:9px;letter-spacing:5px;font-weight:400}.booster-detail p{font-size:12px!important;color:#a5bdc6;line-height:1.9!important;margin-top:16px!important}.booster-detail p b{color:#dfd2ae;font-weight:400}.booster-gift{display:inline-block;font-size:9px;color:#b6c5c7;border-top:1px solid #c6c0a332;margin-top:12px;padding-top:10px}.booster-use-note{text-align:left;border-top:1px solid #bdd1d41f;padding-top:17px;width:100%;color:#a3bac5;font-size:11px;line-height:1.9}.booster-use-note b{font-weight:500;color:#c8d5db;letter-spacing:1px}.booster-use-note p{margin-top:4px!important;font-size:10px}.research-booster-entry{width:100%;display:flex;justify-content:space-between;align-items:center;gap:12px;padding:13px 16px!important;text-align:left;background:linear-gradient(110deg,#294151,#243744)!important;border:1px solid #9b927852!important;color:#e3dac0!important;margin:12px 0!important}.research-booster-entry small{display:block;color:#8da9b8;font-size:9px;letter-spacing:1px;margin-top:4px}.research-booster-entry b{font-weight:400;font-size:12px}.research-booster-drawer{width:100%;text-align:left}.research-booster-drawer>header{display:flex;gap:17px;align-items:center;padding-bottom:15px;border-bottom:1px solid #8eacbd33}.research-booster-drawer>header svg{width:65px;height:78px}.research-booster-drawer>header div{display:grid;gap:8px}.research-booster-drawer small{font-size:11px;color:#9cafb9}.research-booster-drawer>header b{font-size:24px;font-weight:400;color:#e0d4af}.research-booster-drawer>header span{font-size:11px;color:#a9b9c0}.research-booster-drawer>article{display:flex;justify-content:space-between;align-items:center;gap:14px;border:1px solid #8da8b32c;padding:14px 12px;margin:12px 0}.research-booster-drawer>article>div{display:grid;gap:6px}.research-booster-drawer>article b{font-weight:500;font-size:14px}.research-booster-drawer>article button{font-size:12px;white-space:nowrap;flex-shrink:0}.research-booster-drawer>p{font-size:12px;color:#c7c1a8;line-height:1.8}.research-booster-drawer>small{display:block;line-height:1.8}@media(max-width:500px){.warehouse-booster{gap:14px}.booster-card{width:104px}.booster-detail h3{font-size:18px!important;letter-spacing:2px!important}.research-booster-entry{flex-wrap:wrap}.research-booster-drawer>article{flex-wrap:wrap}.research-booster-drawer>article button{width:100%}}

body.map-cockpit #modal.research-booster-modal>article{width:min(660px,calc(100vw - 32px));max-width:660px}#modal.research-booster-modal #modalChoices{display:block;min-width:0;max-width:100%;overflow-x:hidden}#modal.research-booster-modal .research-booster-drawer{background:none;border:0;padding:0;min-width:0;width:100%;max-width:none}#modal.research-booster-modal .research-booster-drawer>header{position:static;display:flex;justify-content:flex-start;align-items:center;height:auto;min-height:0;width:100%;padding:12px 0 18px;background:transparent;border:0;border-bottom:1px solid #91acb73a;box-shadow:none;gap:18px}#modal.research-booster-modal .research-booster-drawer>header svg{flex:0 0 65px}#modal.research-booster-modal .research-booster-drawer>header>div{margin:0;flex:1;width:auto;min-width:0;text-align:left}#modal.research-booster-modal .research-booster-drawer>article{display:flex;align-items:center;justify-content:space-between;width:100%;max-width:none;height:auto;min-height:0;padding:15px;margin:14px 0;background:#203947;border:1px solid #91aab744;box-shadow:none;animation:none;border-radius:3px;overflow:visible}#modal.research-booster-modal .research-booster-drawer>article>div{flex:1;min-width:0;width:auto}body.map-cockpit #modal.research-booster-modal #modalChoices [data-use-research-card]{width:auto;min-width:0;flex:0 0 auto;margin:0;padding:10px 14px;font-size:12px;line-height:1.5;color:#e6d9b4;border:1px solid #bcac7e80;background:#344c55;white-space:nowrap}#modal.research-booster-modal .research-booster-drawer>p:empty{display:none}#modal.research-booster-modal .research-booster-drawer>small{background:none;padding:0;margin:0}@media(max-width:500px){body.map-cockpit #modal.research-booster-modal #modalChoices [data-use-research-card]{width:100%}#modal.research-booster-modal .research-booster-drawer>article{gap:15px}#modal.research-booster-modal .research-booster-drawer>header small{font-size:9px;letter-spacing:1px}}
