:root{
 --oz-bg:#0a0b0c;--oz-panel:#121416;--oz-panel2:#181b1d;--oz-panel3:#202426;--oz-border:#303536;--oz-text:#e7e2d7;--oz-muted:#928f86;--oz-rust:#3baaa4;--oz-rust2:#66d0c6;--oz-toxic:#bdceca;--oz-red:#c64b43;--oz-steel:#7f9196;--oz-shadow:0 18px 50px rgba(0,0,0,.38)
}
body.oz-account{background:radial-gradient(circle at 80% 0,rgba(211,107,53,.08),transparent 28%),linear-gradient(rgba(255,255,255,.012) 1px,transparent 1px),#0a0b0c;background-size:auto,100% 4px,auto;color:var(--oz-text)}
.oz-account .content>.cl-left{background:linear-gradient(180deg,#101214,#0c0d0f);border-right:1px solid #292d2f!important}.oz-account .content>.cl-right{background:transparent!important;max-width:1450px}.oz-appbar{background:rgba(12,13,14,.96)!important;border-bottom:1px solid #303435!important;box-shadow:0 8px 30px rgba(0,0,0,.28)}
.oz-appbar .brand-mark{border-radius:4px;background:linear-gradient(135deg,#b84c28,#f28b47)!important;color:#102128!important;box-shadow:0 0 18px rgba(211,107,53,.18)!important}.oz-appbar .account-brand b{color:#eee6d8}.oz-appbar .account-brand small{color:#a46f51;letter-spacing:5px}.oz-appbar .appbar-xp-track i,.oz-account .progress i{background:linear-gradient(90deg,#9d4328,#ed8949)!important}.oz-appbar .appbar-xp-track{background:#262a2b}.oz-appbar .appbar-balance,.oz-appbar .appbar-crystals{border:1px solid #303536;background:#17191b;border-radius:4px;padding:8px 12px;color:#e9e4da}.oz-appbar .appbar-crystals{font-size:12px}.oz-appbar .user-avatar{border-radius:4px;background:#242729;border-color:#3c4244;color:#f08a4c}.oz-appbar .theme-toggle{border-radius:4px;background:#1b1e20;border-color:#353a3c}
.oz-account .account-nav{border-radius:3px;color:#9a9a91!important}.oz-account .account-nav:hover{background:#1b1e20;color:#f2ede4!important}.oz-account .account-nav.active{background:linear-gradient(90deg,rgba(211,107,53,.19),rgba(211,107,53,.03));box-shadow:inset 3px 0 var(--oz-rust);color:#fff1e5!important}.oz-account .nav-icon{border-radius:3px;background:#1e2224;color:#9d8f82}.oz-account .account-nav.active .nav-icon{background:#37251e;color:#ff9658}.oz-account .sidebar-label{color:#6f706a;letter-spacing:2px}.oz-account .sidebar-wallet{border-radius:4px;background:linear-gradient(145deg,#171a1c,#111315);border-color:#303536}.oz-account .sidebar-wallet strong{color:#f1e8db}.oz-account .sidebar-wallet span{color:#4ab7b0}
.oz-hero{position:relative;display:flex;justify-content:space-between;align-items:center;gap:24px;padding:26px 28px;margin-bottom:16px;border:1px solid #294752;border-radius:5px;background:linear-gradient(110deg,rgba(211,107,53,.13),transparent 36%),linear-gradient(160deg,#1b1d1e,#111314);box-shadow:var(--oz-shadow);overflow:hidden}.oz-hero:before{content:"07 / ZERO";position:absolute;right:22px;bottom:-10px;font-size:54px;font-weight:1000;letter-spacing:-3px;color:rgba(255,255,255,.025)}.oz-hero.compact{padding:22px 25px}.oz-kicker{font-size:11px;font-weight:900;letter-spacing:2.3px;color:#4ab7b0;margin-bottom:6px}.oz-hero h1{margin:0 0 7px!important;color:#f1ece3!important;font-size:30px!important;letter-spacing:-.6px}.oz-hero p{margin:0;max-width:720px;color:#aaa69e!important;line-height:1.55;font-size:13px}.oz-primary{background:linear-gradient(180deg,#de7840,#a94727)!important;color:#102128!important;border:1px solid #ef9a64!important;text-shadow:0 1px rgba(255,255,255,.15);box-shadow:inset 0 1px rgba(255,255,255,.18),0 7px 18px rgba(131,55,29,.22)}.game-btn{border-radius:3px!important;background:#2a2e30!important;border:1px solid #414749!important;color:#e4ded4!important}.game-btn:hover:not(:disabled){border-color:#c56a3b!important;color:#fff!important}.game-btn:disabled{opacity:.45}.oz-power-badge{min-width:140px;padding:13px 16px;border:1px solid #294752;background:#151719;text-align:right}.oz-power-badge small{display:block;color:#8f877d;font-size:11px;letter-spacing:1.2px}.oz-power-badge strong{display:block;margin-top:4px;color:#e7874d;font-size:25px}
.oz-account .game-panel,.oz-account .dash-card{background:linear-gradient(145deg,#17191b,#111315)!important;border:1px solid #303536!important;border-radius:4px!important;box-shadow:0 10px 30px rgba(0,0,0,.22)!important;color:#ded9d0}.oz-account .dash-card span,.oz-account .dash-card small{color:#85847d}.oz-account .dash-card strong,.oz-account .panel-title h2{color:#eae4da!important}.oz-stats .dash-card{position:relative;overflow:hidden}.oz-stats .dash-card:after{content:"";position:absolute;left:0;right:0;bottom:0;height:2px;background:#3a3e3f}.oz-stats .dash-card:first-child:after{background:#3baaa4}.oz-account .panel-title small{color:#66858a;letter-spacing:1.4px;font-size:11px}.oz-account .panel-title a{color:#4ab7b0!important}.oz-dashboard-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:14px;margin:14px 0}.oz-squad-mini{display:grid;gap:8px;margin-top:14px}.oz-squad-mini article{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:11px;padding:10px;border:1px solid #2c3031;background:#111315}.oz-squad-mini article b,.oz-squad-mini article small{display:block}.oz-squad-mini article small{color:#7f817c;margin-top:3px}.oz-squad-mini article>strong{color:#4ab7b0;font-size:12px}.oz-avatar{display:grid;place-items:center;width:40px;height:40px;border:1px solid #4b4e4f;background:#26292b;color:#ddd;font-weight:900;border-radius:3px}.oz-avatar.large{width:62px;height:62px;font-size:22px}.rarity-common{border-color:#555;color:#c0c0bd}.rarity-uncommon{border-color:#66858a;color:#bdceca}.rarity-rare{border-color:#4f82b5;color:#7fb6ea}.rarity-epic{border-color:#8b5fb0;color:#bc8ce1}.rarity-legendary{border-color:#c7843e;color:#ffb35c}.rarity-text{font-size:11px;font-weight:900;letter-spacing:1.5px}.rarity-text.common{color:#999}.rarity-text.uncommon{color:#bdceca}.rarity-text.rare{color:#72afe2}.rarity-text.epic{color:#b886da}.rarity-text.legendary{color:#efaa56}.rarity-border-common{border-color:#363b3c!important}.rarity-border-uncommon{border-color:rgba(111,155,95,.55)!important}.rarity-border-rare{border-color:rgba(79,130,181,.6)!important}.rarity-border-epic{border-color:rgba(139,95,176,.62)!important}.rarity-border-legendary{border-color:rgba(199,132,62,.68)!important}
.oz-active-mission{padding:16px;margin-top:12px;border-left:3px solid #3baaa4;background:#111315}.oz-active-mission span{font-size:11px;color:#66858a;letter-spacing:1.4px}.oz-active-mission h3{margin:6px 0;color:#eee8de}.oz-active-mission p{color:#8f918b;font-size:12px;line-height:1.5}.oz-active-mission b{color:#4ab7b0;font-size:11px;letter-spacing:1.5px}.oz-base-preview{margin-top:14px}.oz-building-row{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:14px}.oz-building-row article{display:flex;align-items:center;gap:10px;padding:11px;border:1px solid #2e3233;background:#111315}.oz-building-row article>span{display:grid;place-items:center;width:35px;height:35px;border:1px solid #41636b;color:#df8048;font-weight:900}.oz-building-row b,.oz-building-row small{display:block}.oz-building-row small{margin-top:2px;color:#7d7e79;font-size:11px}
.oz-quick a{border-radius:3px!important;background:#131517!important;border-color:#303536!important}.oz-quick a:hover{border-color:#41636b!important}.oz-quick a>span{color:#de7a43!important;background:#183039!important;border-radius:3px!important}.oz-quick b{color:#e3ded4!important}.oz-quick small{color:#7f817d!important}
.oz-character-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.oz-character-card,.oz-building-card,.oz-item-card,.oz-recipe-card,.oz-drop-card{position:relative;padding:18px;border:1px solid #333839;background:linear-gradient(145deg,#17191b,#111315);box-shadow:0 10px 28px rgba(0,0,0,.2)}.oz-character-top{display:flex;justify-content:space-between}.oz-character-card h2,.oz-building-card h2,.oz-recipe-card h2,.oz-drop-card h2{color:#eee8de;margin:14px 0 5px}.oz-character-card p,.oz-building-card p,.oz-recipe-card p,.oz-drop-card p{color:#888a85;font-size:12px;line-height:1.5}.oz-stat-grid{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin:14px 0}.oz-stat-grid span{display:flex;justify-content:space-between;padding:7px 8px;background:#101214;border:1px solid #282c2d;color:#7b7e7a;font-size:11px}.oz-stat-grid b{color:#d8d3cb}.oz-card-power{display:flex;justify-content:space-between;border-top:1px solid #303536;padding-top:11px;color:#7f817c;font-size:11px}.oz-card-power strong{color:#e37d45;font-size:16px}
.oz-building-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.oz-building-icon{display:grid;place-items:center;width:58px;height:58px;border:1px solid #41636b;background:repeating-linear-gradient(135deg,#183039,#183039 5px,#183039 5px,#183039 10px);color:#e1834b;font-weight:1000;letter-spacing:1px}.oz-building-level{position:absolute;right:16px;top:16px;color:#8c8b84;font-size:11px;font-weight:900}.oz-building-card .game-btn{width:100%;margin-top:10px}
.oz-mission-list{display:grid;gap:10px}.oz-mission-card{display:grid;grid-template-columns:75px minmax(0,1fr) 130px;align-items:center;gap:15px;padding:16px;border:1px solid #343839;background:linear-gradient(90deg,#151719,#111315)}.oz-mission-card.locked{opacity:.58}.oz-zone{align-self:stretch;display:grid;place-items:center;border-right:1px solid #35393a;color:#d67641;font-weight:900;font-size:11px}.oz-mission-copy h2{margin:0 0 4px;color:#ebe5dc}.oz-mission-copy p{margin:0;color:#858781;font-size:12px}.oz-mission-meta{display:flex;gap:7px;flex-wrap:wrap;margin-top:10px}.oz-mission-meta span{padding:5px 7px;border:1px solid #2d3132;background:#0f1112;color:#777b77;font-size:11px;text-transform:uppercase}.oz-mission-meta b{color:#c9c4ba}.oz-mission-action{text-align:right}.oz-running{color:#cf7747;font-size:11px;font-weight:900;letter-spacing:1px}.oz-running small{color:#868681;font-weight:500}
.oz-item-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.oz-item-card{padding:14px}.oz-item-icon{display:grid;place-items:center;width:52px;height:52px;margin-bottom:10px;background:#0e1011;border:1px solid currentColor;font-size:20px;font-weight:1000}.oz-item-card h3{color:#e5e0d7;margin:8px 0 3px;font-size:14px}.oz-item-card p{color:#7e807b;font-size:11px}.oz-item-card>div:last-child{display:flex;justify-content:space-between;margin-top:12px;padding-top:9px;border-top:1px solid #2b2f30}.oz-item-card>div:last-child b{color:#aaa59d}.oz-item-card>div:last-child strong{color:#d77743}.oz-recipe-grid,.oz-drop-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.oz-needs{display:grid;gap:5px;margin:13px 0}.oz-needs span{display:flex;justify-content:space-between;padding:7px 8px;background:#101214;border:1px solid #292d2e;color:#878983;font-size:11px}.oz-needs b{color:#d7d1c8}.oz-crate{display:grid;place-items:center;width:72px;height:72px;border:2px solid #41636b;background:repeating-linear-gradient(45deg,#183039,#183039 7px,#102128 7px,#102128 14px);color:#e07d45;font-size:30px}.oz-task-list{display:grid;gap:10px}.oz-task-list .game-panel p{color:#858781}.oz-complete{color:#91a9aa;font-size:11px;font-weight:900;letter-spacing:1.5px}.oz-progress-card .progress.big{height:13px}.oz-roadmap{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:12px}.oz-roadmap article{padding:13px;border:1px solid #303536;background:#111315;opacity:.5}.oz-roadmap article.unlocked{opacity:1;border-color:#41636b}.oz-roadmap b,.oz-roadmap span{display:block}.oz-roadmap b{color:#db7944;font-size:11px}.oz-roadmap span{color:#aaa69e;margin-top:4px;font-size:11px}.oz-log{display:grid;border:1px solid #303536;background:#111315}.oz-log article{display:grid;grid-template-columns:120px 1fr;gap:14px;padding:12px 14px;border-bottom:1px solid #292d2e}.oz-log>article>span{color:#737671;font-size:11px}.oz-log b{color:#c8c2b8;font-size:11px}.oz-log p{margin:3px 0 0;color:#8d8d87;font-size:11px}
.game-alert{border-radius:3px!important}.game-alert.ok{background:#172118!important;border:1px solid #41636b;color:#bdceca!important}.game-alert.error{background:#241716!important;border:1px solid #673b37;color:#d98a82!important}.oz-account .progress{background:#242829!important;border-radius:0!important}.oz-account .panel-empty{background:#101214;border:1px dashed #343839;color:#777b77}.oz-account .ref-link-box,.oz-account .ref-level{background:#131517!important;border-color:#303536!important;border-radius:3px!important}.oz-account .ref-link-box input{background:#0d0f10;border-color:#323637;color:#c9c5bd}.oz-account .ref-percent{color:#d87a45!important}.oz-account .ref-level b{color:#d9d4ca}.oz-account .ref-level span{color:#7d807a}
.oz-footer{display:flex;justify-content:center;gap:18px;padding:22px;color:#60635f;font-size:11px}.oz-footer a{color:#777a75!important}
body.oz-public{margin:0;background:#0b0c0d;color:#ddd}.oz-public .wrap{width:min(1180px,calc(100% - 28px));margin:auto}.oz-public .header{width:100%;background:none}.oz-public .content{display:grid;grid-template-columns:290px minmax(0,1fr);gap:16px;width:100%}.oz-public .cl-center{display:none}.oz-public .cl-left,.oz-public .cl-right{float:none;width:auto}.oz-public-header{display:flex;align-items:center;justify-content:space-between;padding:20px 0}.oz-public-brand{display:flex;align-items:center;gap:10px;color:#eee!important;text-decoration:none!important}.oz-public-brand span{display:grid;place-items:center;width:36px;height:36px;background:#c45f32;color:#150b07;font-weight:1000}.oz-public-header nav{display:flex;gap:15px}.oz-public-header nav a{color:#8d8f8a!important;text-decoration:none!important}.oz-public .stat,.oz-public .autoriz,.oz-public .silver-bk,.oz-public .s-bk-lf{background:#141617!important;border:1px solid #303536!important;color:#b5b1a8}.oz-public .h-title,.oz-public .acc-title{color:#d87542!important}.oz-public input{background:#0f1112;border:1px solid #373b3c;color:#ddd}.oz-public .subbut{background:#b85630!important;color:#1b0c07!important;border:1px solid #e28755!important}
html[data-theme="light"]{--oz-bg:#ded7c8;--oz-panel:#eee8db;--oz-panel2:#e5dfd2;--oz-panel3:#d8d2c7;--oz-border:#b8ad9f;--oz-text:#183039;--oz-muted:#41636b;--oz-rust:#2f7977;--oz-rust2:#3f9e99}
html[data-theme="light"] body.oz-account{background:linear-gradient(rgba(50,43,34,.035) 1px,transparent 1px),#ded8cc;background-size:100% 5px,auto;color:#183039}.oz-account[data-theme="light"]{}html[data-theme="light"] .oz-account .content>.cl-left{background:linear-gradient(#d4cdc0,#c9c2b5);border-right-color:#91a9aa!important}html[data-theme="light"] .oz-account .content>.cl-right{background:transparent!important}html[data-theme="light"] .oz-appbar{background:rgba(222,216,204,.96)!important;border-bottom-color:#b4a99b!important}html[data-theme="light"] .oz-appbar .account-brand b,html[data-theme="light"] .oz-appbar .appbar-balance,html[data-theme="light"] .oz-appbar .appbar-crystals,html[data-theme="light"] .oz-appbar .user-meta b{color:#2c2925!important}html[data-theme="light"] .oz-appbar .appbar-balance,html[data-theme="light"] .oz-appbar .appbar-crystals{background:#d1cabd;border-color:#91a9aa}html[data-theme="light"] .oz-account .account-nav{color:#5e5b54!important}html[data-theme="light"] .oz-account .account-nav:hover{background:#c3bcaf;color:#2d2925!important}html[data-theme="light"] .oz-account .account-nav.active{color:#6b2c19!important;background:rgba(156,71,40,.12)}html[data-theme="light"] .oz-account .nav-icon{background:#c0b9ac;color:#41636b}html[data-theme="light"] .oz-hero,html[data-theme="light"] .oz-account .game-panel,html[data-theme="light"] .oz-account .dash-card,html[data-theme="light"] .oz-character-card,html[data-theme="light"] .oz-building-card,html[data-theme="light"] .oz-item-card,html[data-theme="light"] .oz-recipe-card,html[data-theme="light"] .oz-drop-card,html[data-theme="light"] .oz-mission-card{background:#e7e1d5!important;border-color:#b6ab9d!important;color:#37322e;box-shadow:0 10px 28px rgba(76,64,51,.09)!important}html[data-theme="light"] .oz-hero h1,html[data-theme="light"] .oz-account .panel-title h2,html[data-theme="light"] .oz-account .dash-card strong,html[data-theme="light"] .oz-character-card h2,html[data-theme="light"] .oz-building-card h2,html[data-theme="light"] .oz-recipe-card h2,html[data-theme="light"] .oz-drop-card h2,html[data-theme="light"] .oz-mission-copy h2{color:#183039!important}html[data-theme="light"] .oz-hero p,html[data-theme="light"] .oz-character-card p,html[data-theme="light"] .oz-building-card p,html[data-theme="light"] .oz-mission-copy p{color:#41636b!important}html[data-theme="light"] .oz-squad-mini article,html[data-theme="light"] .oz-building-row article,html[data-theme="light"] .oz-stat-grid span,html[data-theme="light"] .oz-needs span,html[data-theme="light"] .oz-log{background:#d9d3c7!important;border-color:#b7ac9e!important}html[data-theme="light"] .oz-account .progress{background:#c8c1b5!important}
@media(max-width:1050px){.oz-character-grid,.oz-building-grid,.oz-recipe-grid,.oz-drop-grid{grid-template-columns:repeat(2,1fr)}.oz-item-grid{grid-template-columns:repeat(3,1fr)}.oz-building-row{grid-template-columns:repeat(2,1fr)}.oz-roadmap{grid-template-columns:repeat(3,1fr)}}
@media(max-width:760px){.oz-hero{align-items:flex-start;flex-direction:column}.oz-power-badge{min-width:0;width:100%;box-sizing:border-box;text-align:left}.oz-dashboard-grid{grid-template-columns:1fr}.oz-character-grid,.oz-building-grid,.oz-recipe-grid,.oz-drop-grid{grid-template-columns:1fr}.oz-item-grid{grid-template-columns:repeat(2,1fr)}.oz-mission-card{grid-template-columns:45px 1fr}.oz-mission-action{grid-column:1/-1}.oz-mission-action .game-btn,.oz-mission-action form{width:100%}.oz-roadmap{grid-template-columns:repeat(2,1fr)}.oz-log article{grid-template-columns:1fr}.oz-public .content{grid-template-columns:1fr}.oz-public-header nav{display:none}}
.oz-squad-toolbar{display:flex;justify-content:space-between;align-items:center;gap:15px;margin:0 0 13px;padding:12px 14px;border:1px solid #303536;background:#111315}.oz-squad-toolbar b,.oz-squad-toolbar span{display:block}.oz-squad-toolbar b{color:#e18049;font-size:18px}.oz-squad-toolbar span{color:#7d807a;font-size:11px}.oz-card-action{margin-top:12px}.oz-card-action .game-btn{width:100%}@media(max-width:600px){.oz-squad-toolbar{align-items:stretch;flex-direction:column}.oz-squad-toolbar form,.oz-squad-toolbar .game-btn{width:100%}}

/* ===== Command Center v2 ===== */
.oz-command-hero{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:22px;margin-bottom:14px;padding:30px;border:1px solid #294752;background:linear-gradient(115deg,rgba(211,107,53,.16),transparent 38%),linear-gradient(155deg,#1b1e20,#101214);box-shadow:0 18px 50px rgba(0,0,0,.28);overflow:hidden}.oz-command-hero:after{content:"OUTPOST / 07";position:absolute;right:320px;bottom:-18px;color:rgba(255,255,255,.025);font-size:60px;font-weight:1000;letter-spacing:-4px}.oz-command-copy{position:relative;z-index:1;align-self:center}.oz-command-copy h1{margin:2px 0 9px!important;color:#f3ece1!important;font-size:34px!important;line-height:1.05;letter-spacing:-1px}.oz-command-copy p{max-width:720px;margin:0;color:#aaa69d!important;font-size:13px;line-height:1.65}.oz-hero-actions{display:flex;gap:9px;margin-top:20px}.oz-readiness-card{position:relative;z-index:1;padding:17px;border:1px solid #294752;background:rgba(11,13,14,.72);box-shadow:inset 0 0 0 1px rgba(255,255,255,.015)}.oz-readiness-label{display:block;margin-bottom:6px;color:#817a72;font-size:11px;font-weight:900;letter-spacing:1.8px}.oz-readiness-card>strong{display:block;margin-bottom:14px;color:#e9844b;font-size:31px;line-height:1}.oz-readiness-card>strong small{font-size:11px;letter-spacing:1.4px}.oz-readiness-line{display:flex;justify-content:space-between;gap:20px;padding:8px 0;border-top:1px solid #2b2e2f;color:#888882;font-size:11px}.oz-readiness-line b{color:#d6d0c6}.oz-readiness-state{margin-top:10px;padding:8px;border:1px solid #294752;background:#172019;color:#91a9aa;text-align:center;font-size:11px;font-weight:900;letter-spacing:1.25px}.oz-readiness-state.warning{border-color:#64433a;background:#231816;color:#d98b73}
.oz-overview-bar{display:grid;grid-template-columns:110px minmax(180px,1fr) auto;align-items:center;gap:15px;margin-bottom:12px;padding:12px 15px;border:1px solid #303536;background:#111315}.oz-level-block span{display:block;color:#6f736f;font-size:11px;font-weight:900;letter-spacing:1.5px}.oz-level-block b{color:#5fc5bd;font-size:17px}.oz-level-progress>div:first-child{display:flex;justify-content:space-between;margin-bottom:5px;color:#777a76;font-size:11px}.oz-overview-bar>a{color:#b8734f!important;font-size:11px;font-weight:800}.oz-resource-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;margin-bottom:13px}.oz-resource-strip article{display:flex;align-items:center;gap:11px;padding:13px;border:1px solid #2d3233;background:linear-gradient(145deg,#17191b,#111315)}.resource-code{display:grid;place-items:center;flex:0 0 39px;width:39px;height:39px;border:1px solid #294752;background:#102128;color:#5fc5bd;font-size:15px;font-weight:1000}.resource-code.crystal{border-color:#41475a;background:#171925;color:#9ea8da}.resource-code.alert{border-color:#41636b;background:#102128;color:#bdceca}.oz-resource-strip small,.oz-resource-strip strong,.oz-resource-strip article div>span{display:block}.oz-resource-strip small{color:#71746f;font-size:11px;font-weight:900;letter-spacing:1.2px}.oz-resource-strip strong{margin:2px 0;color:#e8e1d7;font-size:19px}.oz-resource-strip article div>span{color:#777a75;font-size:11px}.oz-command-grid{display:grid;grid-template-columns:minmax(0,1.18fr) minmax(330px,.82fr);gap:13px;margin-bottom:13px}.oz-operation-focus{display:grid;grid-template-columns:70px minmax(0,1fr);gap:16px;margin-top:12px;padding:14px;border:1px solid #2b3031;background:#112026}.oz-zone-stamp{display:grid;place-items:center;align-self:stretch;min-height:70px;border:1px solid #41636b;background:repeating-linear-gradient(135deg,#183039,#183039 6px,#102128 6px,#102128 12px);color:#9a725a;text-align:center;font-size:11px;font-weight:900;letter-spacing:1.4px}.oz-zone-stamp b{display:block;color:#e17e47;font-size:24px;letter-spacing:0}.oz-status-pill{display:inline-block;padding:4px 6px;border:1px solid #41636b;background:#183039;color:#dd8050;font-size:11px;font-weight:900;letter-spacing:1px}.oz-status-pill.ready{border-color:#41636b;background:#192118;color:#91a9aa}.oz-operation-focus h3{margin:8px 0 4px;color:#ece5dc;font-size:19px}.oz-operation-focus p{margin:0;color:#858882;font-size:11px;line-height:1.55}.oz-operation-rewards{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}.oz-operation-rewards span{padding:5px 7px;border:1px solid #2b3031;background:#151719;color:#a4a096;font-size:11px}.oz-inline-action{display:inline-flex;margin-top:11px}.oz-operation-empty{margin-top:12px;padding:18px;border:1px dashed #3b3f40;background:#101213}.oz-operation-empty b{color:#d8d1c8}.oz-operation-empty p{color:#858782;font-size:11px}.oz-empty-slot{opacity:.75}.oz-empty-slot>a{color:#d57a49!important;font-size:11px;font-weight:800}
.oz-action-section{margin:14px 0}.oz-section-heading{display:flex;justify-content:space-between;align-items:end;margin-bottom:9px}.oz-section-heading small{color:#66858a;font-size:11px;font-weight:900;letter-spacing:1.5px}.oz-section-heading h2{margin:3px 0 0;color:#e9e2d8;font-size:18px}.oz-action-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.oz-action-grid>a{position:relative;display:grid;grid-template-columns:42px 1fr auto;align-items:center;gap:11px;min-height:76px;padding:13px;border:1px solid #303536;background:linear-gradient(145deg,#17191b,#111315);color:#ddd7ce!important;text-decoration:none!important;transition:.16s ease}.oz-action-grid>a:hover{transform:translateY(-1px);border-color:#41636b;background:#1a1c1e}.oz-action-icon{display:grid;place-items:center;width:40px;height:40px;border:1px solid #294752;background:#102128;color:#5fc5bd;font-size:17px}.oz-action-grid b{display:block;margin-bottom:3px;color:#ded8cf;font-size:12px}.oz-action-grid p{margin:0;color:#777b76;font-size:11px;line-height:1.4}.oz-action-grid em{align-self:start;padding:4px 5px;border:1px solid #333839;color:#6e736f;font-size:11px;font-style:normal;font-weight:900;letter-spacing:1px}.oz-action-grid em.hot{border-color:#41636b;color:#df8451}

/* ===== Admin Control ===== */
body.oz-admin{margin:0;background:radial-gradient(circle at 90% 0,rgba(190,73,45,.08),transparent 28%),#0a0b0c;color:#ddd}.oz-admin>.wrap{width:100%;max-width:none;margin:0}.oz-admin .header{width:100%;background:none}.oz-admin .content{display:grid!important;grid-template-columns:245px minmax(0,1fr)!important;gap:0!important;width:100%!important;min-height:calc(100vh - 66px)}.oz-admin .content>.cl-left{float:none!important;width:auto!important;min-width:0!important;padding:16px 12px!important;background:#0f1112;border-right:1px solid #292d2f}.oz-admin .content>.cl-center{display:none!important}.oz-admin .content>.cl-right{float:none!important;width:auto!important;max-width:1500px!important;min-width:0;padding:22px 25px 50px!important;background:transparent!important}.admin-appbar{position:relative;z-index:50;display:flex;align-items:center;justify-content:space-between;gap:20px;height:66px;padding:0 18px;background:rgba(11,13,14,.97);border-bottom:1px solid #303536;box-shadow:0 8px 28px rgba(0,0,0,.3)}.admin-appbar-brand{display:flex;align-items:center;gap:10px;color:#eee!important;text-decoration:none!important}.admin-appbar-brand>span,.admin-sidebar-brand>span{display:grid;place-items:center;width:34px;height:34px;background:linear-gradient(135deg,#ae4628,#eb8650);color:#190c07;font-size:17px;font-weight:1000}.admin-appbar-brand b,.admin-appbar-brand small,.admin-sidebar-brand b,.admin-sidebar-brand small{display:block}.admin-appbar-brand b{font-size:12px;letter-spacing:.5px}.admin-appbar-brand small{margin-top:1px;color:#66858a;font-size:11px;letter-spacing:2px}.admin-appbar-right{display:flex;align-items:center;gap:12px}.admin-secure{color:#66858a;font-size:11px;font-weight:900;letter-spacing:1.2px}.admin-player-link{padding:8px 10px;border:1px solid #34393a;color:#a5a39c!important;text-decoration:none!important;font-size:11px}.admin-sidebar-brand{display:flex;align-items:center;gap:10px;margin:0 5px 22px;padding:7px}.admin-sidebar-brand b{color:#ddd7cf;font-size:11px}.admin-sidebar-brand small{margin-top:2px;color:#41636b;font-size:11px;letter-spacing:1.5px}.oz-admin .account-nav{display:flex;align-items:center;gap:9px;padding:9px 10px;margin:3px 0;border-radius:3px;color:#8e918c!important;text-decoration:none!important;font-size:11px;font-weight:700}.oz-admin .account-nav:hover{background:#171a1b;color:#e6dfd5!important}.oz-admin .account-nav.active{background:linear-gradient(90deg,rgba(211,107,53,.18),rgba(211,107,53,.02));box-shadow:inset 3px 0 #3baaa4;color:#eee5da!important}.oz-admin .nav-icon{display:grid;place-items:center;width:26px;height:26px;background:#1c2021;color:#9a8171}.admin-help{margin:18px 4px;padding:12px;border:1px solid #36312d;background:#0a171c}.admin-help small{color:#bd6a3e;font-size:11px;font-weight:900;letter-spacing:1.4px}.admin-help p{margin:6px 0 0;color:#777771;font-size:11px;line-height:1.5}.admin-page-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:16px;padding:4px 0 16px;border-bottom:1px solid #2a2e2f}.admin-page-head h1{margin:3px 0 6px!important;color:#eee7dd!important;font-size:29px!important}.admin-page-head p{max-width:760px;margin:0;color:#898983;font-size:11px;line-height:1.55}.admin-stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:13px}.admin-stat-grid article{padding:15px;border:1px solid #303536;background:linear-gradient(145deg,#17191b,#111315)}.admin-stat-grid small,.admin-stat-grid strong,.admin-stat-grid span{display:block}.admin-stat-grid small{color:#73766f;font-size:11px;font-weight:900;letter-spacing:1.2px}.admin-stat-grid strong{margin:5px 0 3px;color:#5fc5bd;font-size:25px}.admin-stat-grid span{color:#777a75;font-size:11px}.admin-grid-main{display:grid;grid-template-columns:1.25fr .75fr;gap:12px;margin-bottom:12px}.admin-purpose-list{display:grid;gap:7px;margin-top:10px}.admin-purpose-list>a{display:grid;grid-template-columns:34px 1fr auto;align-items:center;gap:10px;padding:10px;border:1px solid #292e2f;background:#101213;color:#ddd!important;text-decoration:none!important}.admin-purpose-list>a>span{color:#66858a;font-size:11px;font-weight:900}.admin-purpose-list b{font-size:11px}.admin-purpose-list p{margin:2px 0 0;color:#777a75;font-size:11px}.admin-purpose-list em{color:#c56d3d;font-size:11px;font-style:normal;font-weight:900}.admin-economy-total{display:flex;justify-content:space-between;align-items:center;padding:12px 0;border-bottom:1px solid #2c3031;color:#868781;font-size:11px}.admin-economy-total strong{color:#df7c47;font-size:21px}.admin-economy-total.crystal strong{color:#a5aed8}.admin-economy-card>p,.admin-balance-note p{color:#81827d;font-size:11px;line-height:1.55}.admin-balance-note b{color:#d6d0c7}.admin-table-wrap{margin-top:10px;overflow:auto}.admin-table{width:100%;border-collapse:collapse;min-width:700px}.admin-table th{text-align:left;padding:9px;border-bottom:1px solid #343839;color:#777a75;font-size:11px;letter-spacing:1px}.admin-table td{padding:10px 9px;border-bottom:1px solid #25292a;color:#aaa79f;font-size:11px}.admin-table td b,.admin-table td small{display:block}.admin-table td b{color:#dcd6cd;font-size:11px}.admin-table td small{color:#666a66;margin-top:2px}.admin-status{display:inline-block;padding:4px 6px;border:1px solid #294752;background:#172018;color:#91a9aa;font-size:11px;font-weight:900;letter-spacing:1px}.admin-status.bad{border-color:#643b37;background:#241615;color:#d1837b}.admin-search{display:flex;gap:7px;margin-bottom:12px}.admin-search input,.oz-admin input{box-sizing:border-box;background:#0e1011;border:1px solid #343839;color:#ddd6cc;outline:none}.admin-search input{flex:1;min-width:180px;padding:10px}.oz-admin input:focus{border-color:#66858a}.admin-player-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.admin-player-card{padding:14px!important}.admin-player-top{display:grid;grid-template-columns:43px 1fr auto;align-items:center;gap:10px}.admin-player-top h2{margin:0!important;color:#ddd7ce!important;font-size:14px!important}.admin-player-top p{margin:2px 0 0;color:#747873;font-size:11px}.admin-player-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;margin:11px 0}.admin-player-stats span{padding:8px;border:1px solid #292d2e;background:#0f1112}.admin-player-stats small,.admin-player-stats b{display:block}.admin-player-stats small{color:#696d68;font-size:11px;letter-spacing:1px}.admin-player-stats b{margin-top:3px;color:#bdb7ad;font-size:11px}.admin-balance-form{display:grid;grid-template-columns:1fr 1fr auto;align-items:end;gap:7px}.admin-balance-form label span,.admin-field-grid label span{display:block;margin-bottom:4px;color:#747873;font-size:11px}.admin-balance-form input,.admin-field-grid input{width:100%;padding:8px}.admin-player-footer{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:10px;padding-top:9px;border-top:1px solid #292d2e;color:#696d68;font-size:11px}.admin-danger-link{padding:0;border:0;background:none;color:#b86459;cursor:pointer;font-size:11px}.admin-mission-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.admin-mission-card{padding:14px!important}.admin-mission-head{display:grid;grid-template-columns:56px 1fr auto;gap:10px;align-items:center;margin-bottom:12px}.admin-mission-head .oz-zone-stamp{min-height:52px}.admin-mission-head .oz-zone-stamp b{font-size:19px}.admin-mission-head small{display:block;color:#706f69;font-size:11px;letter-spacing:1px}.admin-title-input{width:100%;margin-top:3px;padding:6px 7px;color:#e0d9cf!important;font-size:13px;font-weight:800}.admin-field-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-bottom:10px}.admin-toggle{display:flex;align-items:center;gap:5px;cursor:pointer}.admin-toggle input{display:none}.admin-toggle>span{position:relative;width:30px;height:16px;background:#33201c;border:1px solid #55362f}.admin-toggle>span:after{content:"";position:absolute;left:2px;top:2px;width:10px;height:10px;background:#8c5a4b;transition:.15s}.admin-toggle input:checked+span{background:#1b2919;border-color:#41636b}.admin-toggle input:checked+span:after{left:16px;background:#91a9aa}.admin-toggle em{color:#777a75;font-size:11px;font-style:normal;font-weight:900}.admin-login-shell{display:grid;place-items:center;min-height:calc(100vh - 160px);padding:30px}.oz-admin .content:has(.admin-login-shell){grid-template-columns:1fr!important}.oz-admin .content:has(.admin-login-shell)>.cl-left{display:none}.admin-login-card{width:min(430px,100%);box-sizing:border-box;padding:30px;border:1px solid #383330;background:linear-gradient(150deg,#191b1d,#101213);box-shadow:0 24px 70px rgba(0,0,0,.4)}.admin-login-mark{display:grid;place-items:center;width:52px;height:52px;margin-bottom:16px;background:linear-gradient(135deg,#ad4729,#ef8a50);color:#170b07;font-size:23px;font-weight:1000}.admin-login-card h1{margin:2px 0 8px;color:#eee7de;font-size:28px}.admin-login-card>p{margin:0 0 15px;color:#878983;font-size:11px;line-height:1.6}.admin-login-form{display:grid;gap:10px}.admin-login-form label span{display:block;margin-bottom:5px;color:#7a7c77;font-size:11px;letter-spacing:1px}.admin-login-form input{width:100%;padding:11px}.admin-login-form .game-btn{width:100%;margin-top:3px}.admin-login-card>a{display:inline-block;margin-top:15px;color:#9b735d!important;font-size:11px}
html[data-theme="light"] body.oz-admin{background:#ded8cc;color:#35312c}html[data-theme="light"] .admin-appbar{background:#d8d1c5;border-bottom-color:#b5aa9c}html[data-theme="light"] .oz-admin .content>.cl-left{background:#d0c9bd;border-right-color:#b5aa9d}html[data-theme="light"] .admin-page-head h1,html[data-theme="light"] .admin-appbar-brand b{color:#183039!important}html[data-theme="light"] .admin-page-head p{color:#41636b}html[data-theme="light"] .admin-stat-grid article,html[data-theme="light"] .oz-admin .game-panel,html[data-theme="light"] .admin-player-card,html[data-theme="light"] .admin-mission-card,html[data-theme="light"] .admin-login-card{background:#e7e1d5!important;border-color:#b6ab9d!important;color:#37322e}html[data-theme="light"] .admin-stat-grid strong{color:#9b4729}html[data-theme="light"] .oz-admin input{background:#d7d0c4;border-color:#b0a597;color:#183039!important}
@media(max-width:1100px){.oz-resource-strip{grid-template-columns:repeat(2,1fr)}.oz-action-grid{grid-template-columns:repeat(2,1fr)}.admin-stat-grid{grid-template-columns:repeat(2,1fr)}.admin-player-grid,.admin-mission-grid{grid-template-columns:1fr}}
@media(max-width:850px){.oz-command-hero{grid-template-columns:1fr}.oz-command-hero:after{right:10px}.oz-command-grid{grid-template-columns:1fr}.oz-admin .content{grid-template-columns:1fr!important}.oz-admin .content>.cl-left{position:fixed;z-index:90;left:-270px;top:66px;bottom:0;width:245px!important;transition:left .2s}.oz-admin.account-menu-open .content>.cl-left{left:0}.admin-appbar .account-menu-toggle{display:flex!important}.admin-grid-main{grid-template-columns:1fr}.admin-appbar-right .admin-secure{display:none}}
@media(max-width:600px){.oz-command-hero{padding:20px}.oz-command-copy h1{font-size:27px!important}.oz-hero-actions{flex-direction:column}.oz-hero-actions .game-btn{width:100%;box-sizing:border-box;text-align:center}.oz-overview-bar{grid-template-columns:1fr}.oz-resource-strip,.oz-action-grid{grid-template-columns:1fr}.oz-operation-focus{grid-template-columns:50px 1fr}.admin-stat-grid{grid-template-columns:1fr 1fr}.admin-page-head{flex-direction:column}.admin-balance-form{grid-template-columns:1fr 1fr}.admin-balance-form .game-btn{grid-column:1/-1}.admin-field-grid{grid-template-columns:repeat(2,1fr)}.admin-player-top{grid-template-columns:43px 1fr}.admin-player-top .admin-status{grid-column:1/-1;width:max-content}.admin-appbar-right .admin-player-link{display:none}}

/* ===== PUBLIC HOME V2 ===== */
body.is-home{background:#080a0b;color:#ded8cf;overflow-x:hidden}
body.is-home:before{content:"";position:fixed;inset:0;pointer-events:none;background:radial-gradient(circle at 72% 18%,rgba(186,73,34,.12),transparent 28%),linear-gradient(rgba(255,255,255,.012) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.012) 1px,transparent 1px);background-size:auto,34px 34px,34px 34px;opacity:.75}
body.is-home .wrap{width:min(1240px,calc(100% - 40px));max-width:none;background:transparent!important;position:relative;z-index:1}
body.is-home .header{width:100%}
body.is-home .content{display:block!important;width:100%!important}
body.is-home .content>.cl-left,body.is-home .content>.cl-center{display:none!important}
body.is-home .content>.cl-right{display:block!important;float:none!important;width:100%!important;max-width:none!important;padding:0!important;margin:0!important;background:transparent!important}
body.is-home .oz-public-header{height:74px;box-sizing:border-box;padding:0;border-bottom:1px solid #242728}
body.is-home .oz-public-brand{font-size:12px;letter-spacing:1.6px}
body.is-home .oz-public-brand span{width:34px;height:34px;background:#c45a31;box-shadow:0 0 0 1px #e47b4b inset;color:#100704}
body.is-home .oz-public-header nav{gap:22px}
body.is-home .oz-public-header nav a{font-size:11px;font-weight:800;letter-spacing:.8px;text-transform:uppercase;color:#7f817c!important}
body.is-home .oz-public-header nav a:hover{color:#4ab7b0!important}
.oz-home-v2{padding:0 0 28px}
.oz-home-stage{position:relative;display:grid;grid-template-columns:minmax(0,1.4fr) minmax(320px,.7fr);gap:46px;align-items:center;min-height:560px;padding:54px 54px 46px;border:1px solid #2d302f;border-top:0;background:linear-gradient(105deg,rgba(9,10,11,.92) 0%,rgba(10,11,12,.78) 48%,rgba(32,20,15,.72) 100%),repeating-linear-gradient(135deg,rgba(255,255,255,.018) 0,rgba(255,255,255,.018) 1px,transparent 1px,transparent 9px);overflow:hidden;box-sizing:border-box}
.oz-home-stage:before{content:"";position:absolute;left:0;top:0;width:6px;height:100%;background:linear-gradient(#b74f2b,#6d2b19 62%,transparent)}
.oz-home-stage:after{content:"";position:absolute;right:-140px;top:-180px;width:520px;height:520px;border:1px solid rgba(194,86,44,.12);border-radius:50%;box-shadow:0 0 0 42px rgba(194,86,44,.025),0 0 0 86px rgba(194,86,44,.018)}
.oz-stage-code{position:absolute;right:28px;bottom:-42px;font-size:170px;line-height:1;font-weight:1000;letter-spacing:-12px;color:rgba(255,255,255,.025);user-select:none}
.oz-home-copy{position:relative;z-index:2;max-width:700px}
.oz-eyebrow{display:flex;align-items:center;gap:9px;margin-bottom:18px;color:#b96a45;font-size:11px;font-weight:900;letter-spacing:2.4px}
.oz-eyebrow i{display:block;width:28px;height:1px;background:#c45b31;box-shadow:9px 0 #7c3721}
.oz-home-copy h1{margin:0!important;color:#eee8df!important;font-size:clamp(43px,5vw,72px)!important;line-height:.94!important;letter-spacing:-3.4px!important;font-weight:1000!important;text-transform:uppercase}
.oz-home-copy h1 span{color:#c45d34;text-shadow:0 0 24px rgba(185,74,37,.13)}
.oz-home-lead{max-width:610px;margin:25px 0 0!important;color:#9b9b94!important;font-size:14px!important;line-height:1.75!important}
.oz-home-actions{display:flex;align-items:center;gap:22px;margin-top:31px}
.oz-main-cta,.oz-final-cta>a{display:inline-flex;align-items:center;justify-content:space-between;gap:25px;min-width:210px;padding:14px 16px;background:linear-gradient(180deg,#d1683b,#a54527);border:1px solid #e18656;color:#180b06!important;text-decoration:none!important;font-size:11px;font-weight:1000;letter-spacing:.8px;box-shadow:0 8px 24px rgba(132,50,25,.22),inset 0 1px rgba(255,255,255,.2);box-sizing:border-box}
.oz-main-cta:hover,.oz-final-cta>a:hover{filter:brightness(1.08);transform:translateY(-1px)}
.oz-main-cta b,.oz-final-cta>a b{font-size:15px}
.oz-text-cta{color:#868882!important;text-decoration:none!important;font-size:11px;font-weight:900;letter-spacing:1.1px}
.oz-text-cta:hover{color:#c66a3d!important}
.oz-home-metrics{display:flex;gap:0;margin-top:42px;border-top:1px solid #292d2d;border-bottom:1px solid #292d2d;width:max-content;max-width:100%}
.oz-home-metrics>div{min-width:112px;padding:13px 22px 12px 0;margin-right:22px;border-right:1px solid #292d2d}
.oz-home-metrics>div:last-child{border-right:0;margin-right:0}
.oz-home-metrics strong,.oz-home-metrics span{display:block}
.oz-home-metrics strong{color:#ded8ce;font-size:17px}
.oz-home-metrics span{margin-top:2px;color:#646864;font-size:11px;font-weight:900;letter-spacing:1.4px}
.oz-home-access{position:relative;z-index:3}
.oz-login-card,.oz-return-card{padding:26px;border:1px solid #3a3935;background:linear-gradient(150deg,rgba(25,27,27,.96),rgba(13,15,16,.97));box-shadow:0 28px 70px rgba(0,0,0,.35)}
.oz-login-card:before,.oz-return-card:before{content:"";display:block;width:42px;height:3px;margin:-27px 0 22px;background:#c45b31}
.oz-login-head{display:flex;align-items:center;gap:11px}
.oz-login-signal{display:grid;place-items:center;width:35px;height:35px;border:1px solid #294752;background:#1c1715;color:#bd5d36;font-size:11px;box-shadow:inset 0 0 0 4px #111314}
.oz-login-head small{display:block;color:#706e68;font-size:11px;font-weight:900;letter-spacing:1.7px}
.oz-login-head h2,.oz-return-card h2{margin:3px 0 0!important;color:#e4ded4!important;font-size:20px!important;letter-spacing:-.3px}
.oz-login-copy,.oz-return-card p{margin:14px 0 17px!important;color:#797b76!important;font-size:11px!important;line-height:1.6!important}
.oz-login-form{display:grid;gap:11px}
.oz-login-form label span{display:block;margin-bottom:5px;color:#6f726d;font-size:11px;font-weight:900;letter-spacing:1px;text-transform:uppercase}
.oz-login-form input{display:block;width:100%;height:42px;padding:0 12px!important;box-sizing:border-box;background:#0c0e0f!important;border:1px solid #333737!important;border-radius:0!important;color:#d8d2c8!important;outline:none;font-size:11px}
.oz-login-form input:focus{border-color:#78442f!important;box-shadow:0 0 0 1px rgba(194,91,49,.13)}
.oz-login-submit{display:flex;align-items:center;justify-content:space-between;width:100%;margin-top:3px;padding:12px 13px;border:1px solid #a84b29;background:#a94b2a;color:#160a05!important;text-decoration:none!important;cursor:pointer;font-size:11px;font-weight:1000;letter-spacing:.9px;box-sizing:border-box}
.oz-login-submit:hover{background:#c35c34}
.oz-login-submit b{font-size:14px}
.oz-login-bottom{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:14px;padding-top:13px;border-top:1px solid #292c2c;font-size:11px}
.oz-login-bottom span{margin-left:auto;color:#5f625e;font-weight:900;letter-spacing:.8px}
.oz-login-bottom a{color:#898984!important;text-decoration:none!important}.oz-login-bottom a b{color:#c2673b}
.oz-login-error{margin:0 0 12px;padding:8px 10px;border-left:2px solid #b95239;background:#261615;color:#d98b7c;font-size:11px}
.oz-return-card small{color:#6e9a65;font-size:11px;font-weight:900;letter-spacing:1.5px}
.oz-return-card .oz-login-submit{margin-top:18px}
.oz-game-strip{display:grid;grid-template-columns:repeat(3,1fr);border:1px solid #2d302f;border-top:0;background:#101213}
.oz-game-strip span{padding:11px 17px;border-right:1px solid #292c2c;color:#626661;font-size:11px;letter-spacing:.8px;text-align:center}
.oz-game-strip span:last-child{border-right:0}.oz-game-strip b{margin-right:7px;color:#a65a37}
.oz-home-systems{display:grid;grid-template-columns:.76fr 1.5fr;gap:46px;padding:78px 15px 64px}
.oz-section-intro small,.oz-home-loot small,.oz-final-cta small{color:#a95a37;font-size:11px;font-weight:900;letter-spacing:1.8px}
.oz-section-intro h2,.oz-home-loot h2,.oz-final-cta h2{margin:10px 0 12px!important;color:#e4ded5!important;font-size:29px!important;line-height:1.08!important;letter-spacing:-.8px}
.oz-section-intro p,.oz-home-loot p{max-width:390px;margin:0!important;color:#777a75!important;font-size:11px!important;line-height:1.65!important}
.oz-system-cards{display:grid;grid-template-columns:repeat(2,1fr);border-top:1px solid #303333;border-left:1px solid #303333}
.oz-system-cards article{position:relative;min-height:208px;padding:24px;border-right:1px solid #303333;border-bottom:1px solid #303333;background:linear-gradient(145deg,#121415,#0e1011);box-sizing:border-box;overflow:hidden}
.oz-system-cards article:hover{background:linear-gradient(145deg,#171615,#101112)}
.oz-system-cards article>span{position:absolute;right:15px;top:10px;color:rgba(255,255,255,.055);font-size:35px;font-weight:1000}
.oz-system-icon{display:grid;place-items:center;width:37px;height:37px;margin-bottom:18px;border:1px solid #294752;background:#102128;color:#c36b40;font-size:17px}
.oz-system-cards small{color:#41636b;font-size:11px;font-weight:900;letter-spacing:1.6px}
.oz-system-cards h3{margin:5px 0 7px;color:#dcd6cc;font-size:16px}
.oz-system-cards p{min-height:48px;margin:0;color:#777a75;font-size:11px;line-height:1.55}
.oz-system-cards a{display:inline-block;margin-top:15px;color:#a85f3d!important;text-decoration:none!important;font-size:11px;font-weight:900;letter-spacing:.7px}
.oz-home-loot{display:grid;grid-template-columns:.75fr 1.5fr;gap:45px;align-items:center;padding:42px 35px;border:1px solid #303333;background:linear-gradient(100deg,#121415,#0d0f10)}
.oz-rarity-line{display:grid;grid-template-columns:repeat(5,1fr);gap:7px}
.oz-rarity-line span{display:grid;place-items:center;gap:7px;min-height:70px;border:1px solid #303333;background:#0b0d0e;font-size:11px;font-weight:900;letter-spacing:.8px}
.oz-rarity-line i{display:block;width:18px;height:18px;transform:rotate(45deg);border:2px solid currentColor;box-sizing:border-box}.oz-rarity-line .common{color:#8f918d}.oz-rarity-line .uncommon{color:#91a9aa}.oz-rarity-line .rare{color:#628fba}.oz-rarity-line .epic{color:#9b6dbf}.oz-rarity-line .legendary{color:#d4944c}
.oz-final-cta{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:30px;margin:28px 0 0;padding:28px 32px;border:1px solid #294752;background:linear-gradient(100deg,#102128,#111314 55%,#17110f)}
.oz-final-cta>div{padding-right:24px;border-right:1px solid #294752}.oz-final-cta>div small,.oz-final-cta>div strong{display:block}.oz-final-cta>div strong{margin-top:4px;color:#b45c37;font-family:monospace;font-size:18px;letter-spacing:2px}.oz-final-cta h2{margin:0!important;font-size:22px!important}
body.is-home .oz-footer{border-top:1px solid #222526;margin-top:34px}
html[data-theme="light"] body.is-home{background:#d8d2c7;color:#332f2a}html[data-theme="light"] body.is-home:before{opacity:.25}html[data-theme="light"] body.is-home .oz-public-header{border-bottom-color:#91a9aa}html[data-theme="light"] .oz-home-stage{background:linear-gradient(105deg,rgba(224,218,207,.96),rgba(211,203,190,.9));border-color:#b9ad9e}html[data-theme="light"] .oz-home-copy h1,html[data-theme="light"] .oz-section-intro h2,html[data-theme="light"] .oz-home-loot h2,html[data-theme="light"] .oz-final-cta h2{color:#183039!important}html[data-theme="light"] .oz-home-copy h1 span{color:#974324}html[data-theme="light"] .oz-home-lead,html[data-theme="light"] .oz-section-intro p,html[data-theme="light"] .oz-home-loot p{color:#41636b!important}html[data-theme="light"] .oz-login-card,html[data-theme="light"] .oz-return-card,html[data-theme="light"] .oz-system-cards article,html[data-theme="light"] .oz-home-loot,html[data-theme="light"] .oz-final-cta{background:#d0c8bb;border-color:#aa9e8f}html[data-theme="light"] .oz-login-head h2,html[data-theme="light"] .oz-system-cards h3,html[data-theme="light"] .oz-return-card h2{color:#183039!important}html[data-theme="light"] .oz-login-form input{background:#91a9aa!important;border-color:#a59a8c!important;color:#183039!important}
@media(max-width:960px){body.is-home .wrap{width:min(100%,calc(100% - 24px))}.oz-home-stage{grid-template-columns:1fr;gap:35px;min-height:0;padding:45px 38px}.oz-home-copy{max-width:760px}.oz-home-access{max-width:520px}.oz-home-systems{grid-template-columns:1fr;gap:28px;padding:55px 10px}.oz-home-loot{grid-template-columns:1fr}.oz-final-cta{grid-template-columns:1fr}.oz-final-cta>div{border-right:0;border-bottom:1px solid #294752;padding:0 0 14px}}
@media(max-width:620px){body.is-home .wrap{width:100%}.oz-public-header{padding:0 14px!important}.oz-public-header nav a:nth-child(1){display:none}.oz-public-header nav{gap:12px!important}.oz-home-stage{padding:34px 20px 27px;border-left:0;border-right:0}.oz-home-copy h1{font-size:38px!important;letter-spacing:-2px!important}.oz-home-lead{font-size:12px!important}.oz-home-actions{align-items:stretch;flex-direction:column;gap:14px}.oz-main-cta{width:100%}.oz-home-metrics{display:grid;grid-template-columns:repeat(3,1fr);width:100%}.oz-home-metrics>div{min-width:0;margin:0;padding:11px 8px;border-right:1px solid #292d2d;text-align:center}.oz-home-metrics>div:last-child{border-right:0}.oz-login-card{padding:21px}.oz-game-strip{grid-template-columns:1fr}.oz-game-strip span{border-right:0;border-bottom:1px solid #292c2c}.oz-game-strip span:last-child{border-bottom:0}.oz-home-systems{padding:44px 14px}.oz-section-intro h2{font-size:25px!important}.oz-system-cards{grid-template-columns:1fr}.oz-system-cards article{min-height:190px}.oz-home-loot{margin:0 12px;padding:28px 20px}.oz-rarity-line{grid-template-columns:1fr}.oz-rarity-line span{display:flex;justify-content:flex-start;min-height:44px;padding:0 14px}.oz-rarity-line i{width:12px;height:12px;margin-right:3px}.oz-final-cta{margin:20px 12px 0;padding:23px 20px}.oz-final-cta>a{width:100%}}


/* =========================================================
   OUTPOST ZERO v1.5 — retro wasteland CRPG visual pass
   Desktop typography floor: 11px.
   ========================================================= */
.oz-account,.oz-public,.oz-admin{font-size:13px}
.oz-account small,.oz-public small,.oz-admin small,
.oz-account .oz-kicker,.oz-public .oz-kicker,.oz-admin .oz-kicker{font-size:11px!important}
.oz-account *,.oz-public *,.oz-admin *{box-sizing:border-box}
body.oz-account,body.oz-public,body.oz-admin{
  background-color:#071116;
  background-image:radial-gradient(circle at 20% -10%,rgba(107,119,50,.10),transparent 34%),repeating-linear-gradient(0deg,rgba(255,255,255,.012) 0,rgba(255,255,255,.012) 1px,transparent 1px,transparent 4px);
}
.oz-account .game-panel,.oz-account .dash-card,.oz-character-card,.oz-building-card,.oz-item-card,.oz-recipe-card,.oz-drop-card,.oz-mission-card,
.oz-admin .game-panel,.admin-stat-grid article{
  border:1px solid #294752!important;
  border-radius:2px!important;
  background:linear-gradient(180deg,#102128,#0a171c)!important;
  box-shadow:inset 0 0 0 2px #071116, inset 0 0 0 3px rgba(121,105,64,.22),0 8px 22px rgba(0,0,0,.32)!important;
}
.oz-account .game-panel:before,.oz-character-card:before,.oz-building-card:before,.oz-item-card:before,.oz-mission-card:before{
  content:"";position:absolute;pointer-events:none;inset:5px;border:1px solid rgba(116,104,67,.16)
}
.oz-account .game-panel,.oz-character-card,.oz-building-card,.oz-item-card,.oz-mission-card{position:relative}
.oz-appbar{height:78px!important;background:linear-gradient(#102128,#071116)!important;border-bottom:2px solid #41636b!important;box-shadow:0 3px 0 #071116,0 10px 30px rgba(0,0,0,.5)!important}
.oz-appbar .brand-mark,.oz-public-brand span,.admin-appbar-brand>span{
  border:1px solid #41636b!important;background:radial-gradient(circle,#66858a 0 16%,#183039 17% 25%,#0a171c 26%)!important;color:#bdceca!important;
  box-shadow:inset 0 0 0 3px #071116,0 0 12px rgba(151,172,75,.12)!important
}
.oz-appbar .account-brand b{font-family:Georgia,serif;font-size:16px;letter-spacing:1px}
.oz-appbar .account-brand small{color:#91a9aa!important;letter-spacing:4px}
.oz-appbar .appbar-xp-track i,.oz-account .progress i{background:linear-gradient(90deg,#41636b,#91a9aa)!important}
.oz-appbar .appbar-balance,.oz-appbar .appbar-crystals{background:#0a171c!important;border-color:#294752!important}
.oz-account .content>.cl-left{background:linear-gradient(90deg,#071116,#0a171c)!important;border-right:2px solid #294752!important}
.oz-account .account-nav{min-height:44px;border:1px solid transparent;border-radius:1px!important;color:#91a9aa!important;font-size:12px!important;text-transform:uppercase;letter-spacing:.35px}
.oz-account .account-nav:hover{background:#102128!important;border-color:#294752;color:#bdceca!important}
.oz-account .account-nav.active{background:linear-gradient(90deg,#183039,#102128)!important;box-shadow:inset 4px 0 #91a9aa!important;border-color:#41636b!important;color:#dce7e3!important}
.oz-account .nav-icon{background:#0a171c!important;border:1px solid #294752;color:#91a9aa!important}
.oz-account .sidebar-label{color:#66858a!important;font-size:11px!important}
.oz-command-hero,.oz-hero{
  border:1px solid #41636b!important;border-radius:2px!important;
  background:linear-gradient(90deg,rgba(11,12,9,.96),rgba(14,15,11,.88))!important;
  box-shadow:inset 0 0 0 3px #071116,inset 0 0 0 4px rgba(121,105,64,.25),0 12px 35px rgba(0,0,0,.4)!important
}
.oz-command-copy{display:grid;grid-template-columns:230px minmax(0,1fr);column-gap:22px;align-items:center}
.oz-command-copy>.oz-command-art{grid-row:1/6}
.oz-command-art{height:155px;background:linear-gradient(180deg,transparent 55%,rgba(6,7,5,.8)),url('/assets/oz/wasteland-command.jpg') center/cover;border:1px solid #41636b;box-shadow:inset 0 0 0 3px #071116;position:relative}
.oz-command-art span,.oz-home-art span{position:absolute;left:10px;bottom:8px;padding:4px 7px;background:#0a171c;color:#91a9aa;border:1px solid #41636b;font:700 11px monospace;letter-spacing:1px}
.oz-kicker,.panel-title small,.oz-section-heading small{color:#91a9aa!important;font-family:Consolas,monospace;letter-spacing:1.5px!important}
.oz-command-hero h1,.oz-hero h1,.panel-title h2,.oz-section-heading h2{font-family:Georgia,serif;letter-spacing:.1px!important}
.game-btn,.oz-main-cta,.oz-login-submit,.oz-final-cta a{
  border-radius:1px!important;border:1px solid #41636b!important;
  background:linear-gradient(#183039,#102128)!important;color:#bdceca!important;
  box-shadow:inset 0 0 0 2px #071116,inset 0 1px rgba(255,255,255,.06)!important;
  text-transform:uppercase;letter-spacing:.45px;font-size:12px!important
}
.game-btn:hover:not(:disabled),.oz-main-cta:hover,.oz-login-submit:hover{background:linear-gradient(#294752,#183039)!important;border-color:#91a9aa!important;color:#dce7e3!important}
.oz-primary{background:linear-gradient(#41636b,#294752)!important;color:#dce7e3!important;border-color:#91a9aa!important;text-shadow:0 1px #102128!important}
.oz-readiness-card,.oz-overview-bar,.oz-resource-strip article,.oz-squad-toolbar,.oz-page-art{
  border-color:#294752!important;background:linear-gradient(#102128,#0a171c)!important;border-radius:1px!important
}
.oz-readiness-state.ready,.oz-status-pill.ready{color:#bdceca!important}
.oz-resource-strip strong,.oz-power-badge strong,.oz-card-power strong{color:#bdceca!important}
.oz-operation-focus{grid-template-columns:190px 70px minmax(0,1fr)!important}
.oz-operation-art{min-height:145px;background:linear-gradient(180deg,transparent 55%,rgba(7,8,6,.8)),url('/assets/oz/mission-highway.jpg') center/cover;border:1px solid #41636b;box-shadow:inset 0 0 0 3px #071116}
.oz-avatar-photo{background-position:center 18%!important;background-size:cover!important;background-repeat:no-repeat!important;color:transparent!important}
.oz-avatar.large.oz-avatar-photo{width:100%;height:185px;border-width:1px}
.oz-character-card .oz-character-top{display:block}
.oz-character-card .rarity-text{display:inline-block;margin-top:10px}
.oz-character-card h2{font-size:19px}
.rarity-text{font-size:11px!important}
.oz-mission-card{grid-template-columns:170px minmax(0,1fr) 130px!important;padding:10px!important}
.oz-mission-art{align-self:stretch;min-height:105px;background:linear-gradient(180deg,transparent 58%,rgba(6,7,5,.82)),url('/assets/oz/mission-highway.jpg') center/cover;border:1px solid #294752;position:relative}
.oz-mission-art span{position:absolute;left:7px;bottom:7px;background:#071116;color:#bdceca;border:1px solid #41636b;padding:4px 6px;font:700 11px monospace}
.oz-page-art{height:190px;margin:0 0 14px;position:relative;background-size:cover!important;background-position:center!important;box-shadow:inset 0 0 0 3px #071116}
.oz-page-art>div{position:absolute;left:18px;bottom:15px;padding:10px 12px;background:rgba(8,9,6,.88);border:1px solid #41636b}
.oz-page-art small,.oz-page-art b{display:block}.oz-page-art small{color:#91a9aa;font:700 11px monospace;letter-spacing:1px}.oz-page-art b{margin-top:4px;color:#bdceca;font-size:17px}
.oz-armory-art{background-image:linear-gradient(90deg,rgba(0,0,0,.15),rgba(0,0,0,.05)),url('/assets/oz/armory-workbench.jpg')!important}
.oz-base-art{background-image:linear-gradient(90deg,rgba(0,0,0,.15),rgba(0,0,0,.05)),url('/assets/oz/base-outpost.jpg')!important}
.oz-item-icon{background-image:url('/assets/oz/armory-workbench.jpg')!important;background-size:cover!important;background-position:center!important;color:#bdceca!important;text-shadow:0 2px 4px #000}
.oz-building-icon{background-image:url('/assets/oz/base-outpost.jpg')!important;background-size:cover!important;color:#bdceca!important;text-shadow:0 2px 4px #000}
.oz-crate{background-image:url('/assets/oz/supply-crate.jpg')!important;background-size:cover!important;color:transparent!important}
.oz-action-grid a{min-height:155px;background:#0a171c!important;border-color:#294752!important;position:relative;overflow:hidden}
.oz-action-grid a:before{content:"";position:absolute;inset:0;opacity:.18;background-size:cover;background-position:center;filter:sepia(.35)}
.oz-action-grid a:nth-child(1):before{background-image:url('/assets/oz/mission-highway.jpg')}
.oz-action-grid a:nth-child(2):before{background-image:url('/assets/characters/vanguard.png')}
.oz-action-grid a:nth-child(3):before{background-image:url('/assets/oz/armory-workbench.jpg')}
.oz-action-grid a:nth-child(4):before{background-image:url('/assets/oz/base-outpost.jpg')}
.oz-action-grid a:nth-child(5):before{background-image:url('/assets/oz/supply-crate.jpg')}
.oz-action-grid a>*{position:relative;z-index:1}
.oz-action-grid a:hover:before{opacity:.28}
.oz-home-stage{border:1px solid #41636b!important;background:linear-gradient(90deg,#0a171c 0 52%,rgba(14,15,11,.78) 67%,#0a171c 100%)!important;box-shadow:inset 0 0 0 3px #071116,inset 0 0 0 4px rgba(128,108,59,.22),0 16px 45px rgba(0,0,0,.42)!important}
.oz-home-copy{display:grid;grid-template-columns:260px minmax(0,1fr);column-gap:24px;align-items:start}
.oz-home-copy>.oz-home-art{grid-row:1/7}
.oz-home-art{height:360px;background:linear-gradient(180deg,transparent 55%,rgba(7,8,5,.82)),url('/assets/oz/wasteland-command.jpg') center/cover;border:1px solid #41636b;box-shadow:inset 0 0 0 3px #071116;position:relative}
.oz-home-copy h1{font-family:Georgia,serif!important;font-size:42px!important;line-height:1.02!important;color:#bdceca!important;text-shadow:0 2px #000}
.oz-home-copy h1 span{color:#91a9aa!important}
.oz-home-lead{color:#91a9aa!important;font-size:14px!important}
.oz-home-access{border-color:#41636b!important;background:linear-gradient(#0a171c,#071116)!important;box-shadow:inset 0 0 0 3px #071116!important}
.oz-game-strip{border-color:#294752!important;background:#0a171c!important;color:#91a9aa!important}
.oz-game-strip b{color:#91a9aa!important}
.oz-system-cards article{padding-top:150px!important;border-color:#294752!important;background:#0a171c!important;position:relative;overflow:hidden}
.oz-system-art{position:absolute;left:0;right:0;top:0;height:130px;background-size:cover;background-position:center;border-bottom:1px solid #294752;filter:sepia(.28) saturate(.75)}
.sys-squad .oz-system-art{background-image:url('/assets/characters/vanguard.png')}
.sys-mission .oz-system-art{background-image:url('/assets/oz/mission-highway.jpg')}
.sys-armory .oz-system-art{background-image:url('/assets/oz/armory-workbench.jpg')}
.sys-base .oz-system-art{background-image:url('/assets/oz/base-outpost.jpg')}
.oz-system-cards h3,.oz-home-systems h2,.oz-home-loot h2,.oz-final-cta h2{font-family:Georgia,serif!important;color:#bdceca!important}
.oz-system-cards small,.oz-section-intro small,.oz-home-loot small{color:#91a9aa!important;font-size:11px!important}
.oz-system-cards p,.oz-section-intro p,.oz-home-loot p{font-size:13px!important;color:#91a9aa!important}
.oz-rarity-line span{font-size:11px!important}
.oz-footer{font-size:11px!important}
.admin-appbar{background:linear-gradient(#102128,#071116)!important;border-bottom:2px solid #41636b!important}
.oz-admin .admin-page-head h1,.oz-admin h2{font-family:Georgia,serif}
.oz-admin .admin-secure,.oz-admin .admin-status{font-size:11px!important}
html[data-theme="light"] body.oz-account,html[data-theme="light"] body.oz-public,html[data-theme="light"] body.oz-admin{
 background:#bdceca!important;color:#183039!important
}
html[data-theme="light"] .oz-account .game-panel,html[data-theme="light"] .oz-character-card,html[data-theme="light"] .oz-building-card,html[data-theme="light"] .oz-item-card,html[data-theme="light"] .oz-mission-card{
 background:#bdceca!important;border-color:#41636b!important;box-shadow:inset 0 0 0 2px #91a9aa,inset 0 0 0 3px rgba(78,69,44,.22),0 7px 18px rgba(58,49,29,.15)!important
}
@media(max-width:1050px){
 .oz-command-copy,.oz-home-copy{grid-template-columns:1fr}
 .oz-command-copy>.oz-command-art,.oz-home-copy>.oz-home-art{grid-row:auto;margin-bottom:16px}
 .oz-home-art{height:280px}
}
@media(max-width:760px){
 .oz-mission-card{grid-template-columns:110px 1fr!important}
 .oz-mission-action{grid-column:1/-1}
 .oz-operation-focus{grid-template-columns:1fr!important}
 .oz-operation-art{min-height:160px}
 .oz-command-art{height:190px}
 .oz-home-copy h1{font-size:34px!important}
}


/* =========================================================
   OUTPOST ZERO v1.6 — icons, motion, mobile navigation
   ========================================================= */
.nav-icon img,.oz-action-icon img,.resource-code img,.oz-crate img{display:block;width:20px;height:20px}
.oz-account .nav-icon img{width:18px;height:18px;opacity:.9;filter:drop-shadow(0 0 3px rgba(173,194,88,.14))}
.oz-account .account-nav.active .nav-icon img{filter:drop-shadow(0 0 5px rgba(183,205,91,.30))}
.resource-code img{width:24px;height:24px}.oz-action-icon img{width:28px;height:28px}.oz-crate img{width:32px;height:32px;filter:drop-shadow(0 0 7px rgba(185,205,99,.25))}
.oz-command-art,.oz-home-art{background-image:linear-gradient(180deg,transparent 55%,rgba(6,7,5,.82)),url('/assets/oz/wasteland-command-anim.webp')!important}
.oz-operation-art,.oz-mission-art{background-image:linear-gradient(180deg,transparent 58%,rgba(7,8,6,.82)),url('/assets/oz/mission-highway-anim.webp')!important}
.oz-base-art{background-image:linear-gradient(90deg,rgba(0,0,0,.12),rgba(0,0,0,.04)),url('/assets/oz/base-outpost-anim.webp')!important}
.oz-armory-art,.oz-crafting-art{background-image:linear-gradient(90deg,rgba(0,0,0,.12),rgba(0,0,0,.04)),url('/assets/oz/armory-workbench-anim.webp')!important}
.oz-supply-art{background-image:linear-gradient(90deg,rgba(0,0,0,.12),rgba(0,0,0,.04)),url('/assets/oz/supply-crate-anim.webp')!important}
.oz-crate{background-image:url('/assets/oz/supply-crate-anim.webp')!important}
.oz-command-art,.oz-home-art,.oz-operation-art,.oz-mission-art,.oz-page-art,.oz-crate{overflow:hidden}
.oz-command-art:after,.oz-home-art:after,.oz-operation-art:after,.oz-mission-art:after,.oz-page-art:after{
 content:"";position:absolute;z-index:1;inset:0;pointer-events:none;
 background:repeating-linear-gradient(0deg,transparent 0 3px,rgba(201,216,118,.025) 3px 4px);
 animation:ozCrtPulse 3.8s steps(2,end) infinite
}
.oz-command-art span,.oz-home-art span,.oz-page-art>div,.oz-mission-art span{z-index:2}
@keyframes ozCrtPulse{0%,100%{opacity:.32}44%{opacity:.48}45%{opacity:.22}47%{opacity:.46}72%{opacity:.36}}
.oz-appbar .brand-mark,.oz-public-brand span{animation:ozIndicator 4.6s ease-in-out infinite}
@keyframes ozIndicator{0%,88%,100%{filter:none}90%{filter:brightness(1.55)}92%{filter:brightness(.72)}94%{filter:brightness(1.2)}}
.oz-readiness-state.ready,.admin-secure{animation:ozSignal 2.8s ease-in-out infinite}
@keyframes ozSignal{0%,100%{text-shadow:0 0 0 rgba(183,207,98,0)}50%{text-shadow:0 0 9px rgba(183,207,98,.35)}}
.oz-avatar-photo{transition:filter .25s,transform .25s}.oz-character-card:hover .oz-avatar-photo{filter:contrast(1.06) brightness(1.05);transform:scale(1.012)}
.oz-page-art{min-height:190px}
.oz-public-menu-toggle{display:none;width:42px;height:38px;border:1px solid #41636b;background:#0a171c;padding:8px;cursor:pointer}
.oz-public-menu-toggle span{display:block;height:2px;background:#bdceca;margin:4px 0}
.account-menu-toggle{position:relative;z-index:1201;border:1px solid #41636b!important;background:#0a171c!important;width:42px;height:38px}
.account-menu-toggle span{background:#bdceca!important;transition:transform .2s,opacity .2s}
body.account-menu-open .account-menu-toggle span:nth-child(1){transform:translateY(6px) rotate(45deg)}
body.account-menu-open .account-menu-toggle span:nth-child(2){opacity:0}
body.account-menu-open .account-menu-toggle span:nth-child(3){transform:translateY(-6px) rotate(-45deg)}
@media(max-width:900px){
 body.is-account .wrap,body.is-admin .wrap{padding-top:78px!important}
 body.is-account .content,body.is-admin .content{display:block!important}
 body.is-account .content>.cl-left,body.is-admin .content>.cl-left{
   display:block!important;position:fixed!important;z-index:1200!important;top:78px!important;bottom:0!important;
   left:0!important;width:min(300px,86vw)!important;padding:18px 12px!important;overflow-y:auto!important;
   transform:translateX(-105%)!important;transition:transform .22s ease!important;
   background:#071116!important;box-shadow:12px 0 34px rgba(0,0,0,.5)!important
 }
 body.account-menu-open.is-account .content>.cl-left,body.account-menu-open.is-admin .content>.cl-left{transform:translateX(0)!important}
 body.account-menu-open{overflow:hidden}
 body.account-menu-open .account-menu-backdrop{display:block!important;position:fixed!important;z-index:1150!important;inset:78px 0 0!important;background:rgba(0,0,0,.72)!important;backdrop-filter:blur(1px)}
 .account-sidebar{position:static!important;top:auto!important}
 .account-nav{min-height:48px!important;font-size:12px!important}
 .nav-icon{width:30px!important;height:30px!important}
 .oz-public-menu-toggle{display:block}
 .oz-public-header{position:relative}
 .oz-public-header nav{display:none!important;position:absolute;z-index:100;top:58px;right:0;left:0;padding:8px;background:#0a171c;border:1px solid #41636b;box-shadow:0 12px 30px rgba(0,0,0,.45)}
 .oz-public-header.menu-open nav{display:grid!important}
 .oz-public-header nav a{padding:12px 10px;border-bottom:1px solid #183039;font-size:13px}
}
@media(max-width:760px){
 .oz-page-art{height:160px;min-height:160px}
 .oz-mission-art{min-height:120px}
 .oz-home-art{background-position:center!important}
}
@media(prefers-reduced-motion:reduce){
 .oz-appbar .brand-mark,.oz-public-brand span,.oz-readiness-state.ready,.admin-secure{animation:none!important}
 .oz-command-art:after,.oz-home-art:after,.oz-operation-art:after,.oz-mission-art:after,.oz-page-art:after{animation:none!important}
}

/* =========================================================
   OUTPOST ZERO v1.7 — field-team missions / HP / battle reports
   ========================================================= */
.oz-missions-head .oz-power-badge span{display:block;margin-top:7px;color:#66858a;font-size:11px;text-transform:uppercase;letter-spacing:.7px}
.oz-roster-dock{margin-bottom:14px;padding:15px!important}
.oz-drag-help{color:#66858a;font-size:11px;text-align:right}
.oz-roster-strip{display:flex;gap:9px;margin-top:13px;padding:3px 1px 7px;overflow-x:auto;scrollbar-width:thin}
.oz-fighter-chip{position:relative;display:grid;grid-template-columns:64px 150px;gap:10px;flex:0 0 238px;min-height:92px;padding:8px;border:1px solid #294752;background:linear-gradient(#102128,#0a171c);cursor:grab;box-shadow:inset 0 0 0 2px #071116;transition:border-color .18s,transform .18s,opacity .18s}
.oz-fighter-chip:hover{border-color:#66858a;transform:translateY(-1px)}
.oz-fighter-chip.is-picked{border-color:#bdceca;box-shadow:inset 0 0 0 2px #071116,0 0 0 1px #41636b,0 0 16px rgba(175,195,85,.11)}
.oz-fighter-chip.is-dragging{opacity:.45}.oz-fighter-chip.is-down{filter:grayscale(.75);opacity:.55;cursor:not-allowed}.oz-fighter-chip.is-deployed{opacity:.48;cursor:not-allowed}
.oz-chip-photo{width:64px;height:84px;background-size:cover;background-position:center 18%;border:1px solid #41636b;filter:sepia(.16) saturate(.78)}
.oz-chip-copy{min-width:0}.oz-chip-copy b,.oz-chip-copy span,.oz-chip-copy small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.oz-chip-copy b{color:#bdceca;font-size:13px}.oz-chip-copy span{margin:2px 0 5px;color:#66858a;font-size:11px}.oz-chip-copy small{margin-top:2px;color:#66858a;font-size:11px}
.oz-fighter-chip>em{position:absolute;right:7px;bottom:6px;padding:3px 5px;border:1px solid #41636b;background:#0a171c;color:#91a9aa;font-size:11px;font-style:normal;font-weight:700}
.oz-fighter-chip form{position:absolute;right:7px;bottom:6px}.oz-fighter-chip form button{padding:3px 6px;border:1px solid #41636b;background:#183039;color:#bdceca;font-size:11px;cursor:pointer}
.oz-hp-line,.oz-fighter-xp{position:relative;height:6px;margin-top:4px;overflow:hidden;border:1px solid #294752;background:#071116}
.oz-hp-line i{display:block;height:100%;background:linear-gradient(90deg,#703027,#a64c38)}
.oz-fighter-xp i{display:block;height:100%;background:linear-gradient(90deg,#41636b,#91a9aa)}
.oz-mission-board{display:grid;gap:14px}
.oz-mission-card-v2{position:relative;border:1px solid #41636b;background:linear-gradient(#0a171c,#071116);box-shadow:inset 0 0 0 3px #071116,inset 0 0 0 4px rgba(119,106,62,.18),0 10px 26px rgba(0,0,0,.28)}
.oz-mission-card-v2.locked{opacity:.58}.oz-mission-card-v2.team-ready{border-color:#66858a}
.oz-mission-scene{display:grid;grid-template-columns:205px minmax(0,1fr);gap:14px;padding:10px;border-bottom:1px solid #294752}
.oz-mission-card-v2 .oz-mission-art{min-height:122px}
.oz-mission-title{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:4px 8px}
.oz-mission-title small{color:#91a9aa;font-family:Consolas,monospace;font-size:11px;letter-spacing:1.2px}.oz-mission-title h2{margin:4px 0 5px;color:#bdceca;font-family:Georgia,serif;font-size:22px}.oz-mission-title p{max-width:670px;margin:0;color:#66858a;font-size:12px;line-height:1.5}
.oz-threat{flex:0 0 auto;padding:7px 9px;border:1px solid #41636b;background:#102128;color:#d29767;font-size:11px;font-weight:800}
.oz-mission-body{display:grid;grid-template-columns:minmax(330px,.9fr) minmax(280px,.72fr) minmax(250px,.65fr);gap:12px;padding:12px}
.oz-mission-slots{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
.oz-drop-slot{display:grid;place-items:center;min-height:142px;padding:7px;border:1px dashed #41636b;background:repeating-linear-gradient(135deg,#0a171c,#0a171c 8px,#071116 8px,#071116 16px);color:#41636b;text-align:center;cursor:pointer;transition:border-color .15s,background .15s,transform .15s}
.oz-drop-slot:hover,.oz-drop-slot.drag-over{border-color:#91a9aa;background:#102128;transform:translateY(-1px)}.oz-drop-slot.filled{border-style:solid;border-color:#41636b;padding:4px}
.oz-slot-plus{display:block;color:#66858a;font-size:26px}.oz-drop-slot>small{font-size:11px}
.oz-slot-fighter{width:100%;text-align:left}.oz-slot-photo{height:70px;margin-bottom:5px;background-size:cover;background-position:center 20%;border:1px solid #41636b;filter:sepia(.13) saturate(.8)}
.oz-slot-fighter b,.oz-slot-fighter span,.oz-slot-fighter small{display:block}.oz-slot-fighter b{color:#bdceca;font-size:12px}.oz-slot-fighter span{color:#66858a;font-size:11px}.oz-slot-fighter small{margin-top:3px;color:#66858a;font-size:11px}
.oz-mission-info{display:grid;align-content:start;gap:9px}.oz-mission-meta-v2{display:grid;grid-template-columns:1fr 1fr;gap:6px}.oz-mission-meta-v2 span{display:flex;justify-content:space-between;gap:8px;padding:8px;border:1px solid #183039;background:#0a171c;color:#66858a;font-size:11px;text-transform:uppercase}.oz-mission-meta-v2 b{color:#bdceca}
.oz-transport-line{display:flex;gap:10px;padding:10px;border:1px solid #294752;background:#0a171c}.oz-transport-line img{width:24px;height:24px}.oz-transport-line small,.oz-transport-line b,.oz-transport-line span{display:block}.oz-transport-line small{color:#66858a;font-size:11px}.oz-transport-line b{color:#bdceca;font-size:12px}.oz-transport-line span{margin-top:2px;color:#41636b;font-size:11px;line-height:1.35}
.oz-mission-control{min-width:0}.oz-deploy-form,.oz-stage-box{height:100%;padding:10px;border:1px solid #294752;background:#0a171c}.oz-deploy-form{display:grid;align-content:center;gap:10px}
.oz-selected-power{display:flex;justify-content:space-between;gap:12px;padding-bottom:8px;border-bottom:1px solid #183039;color:#66858a;font-size:11px}.oz-selected-power b{color:#bdceca;font-size:13px}
.oz-stage-box small,.oz-stage-box b,.oz-stage-box span{display:block}.oz-stage-box>small{color:#91a9aa;font-family:Consolas,monospace;font-size:11px;letter-spacing:1px}.oz-stage-box>b{margin:5px 0;color:#bdceca;font-size:15px}.oz-stage-box>p{color:#66858a;font-size:11px;line-height:1.45}
.oz-countdown{color:#bdceca!important;font-size:13px!important}
.oz-route-track{position:relative;height:22px;margin-top:14px;border-top:2px dotted #41636b}.oz-route-track i{position:absolute;left:0;top:-2px;width:58%;border-top:2px solid #91a9aa}.oz-route-track em{position:absolute;left:56%;top:-10px;color:#bdceca;font-style:normal;animation:ozRoutePulse 1.8s ease-in-out infinite}@keyframes ozRoutePulse{50%{filter:brightness(1.7);transform:translateX(3px)}}
.oz-stage-box.encounter{border-color:#41636b;background:linear-gradient(#102128,#0a171c)}.oz-stage-box.encounter .game-btn{width:100%;margin-top:8px}
.oz-stage-box.report.resolved{border-color:#41636b}.oz-stage-box.report.failed{border-color:#72453b}.oz-stage-box.report.resolved>b{color:#bdceca}.oz-stage-box.report.failed>b{color:#d0715e}
.oz-battle-report{max-height:220px;margin:9px 0;overflow:auto;border:1px solid #183039;background:#071116}.oz-battle-report p{display:grid;grid-template-columns:25px 1fr;gap:7px;margin:0;padding:6px 7px;border-bottom:1px solid #183039;color:#91a9aa;font-size:11px;line-height:1.35}.oz-battle-report p span{color:#41636b;font-family:Consolas,monospace}
.oz-character-vitals{display:grid;gap:5px;margin:11px 0;padding:9px;border:1px solid #183039;background:#0a171c}.oz-character-vitals>div:not(.oz-hp-line):not(.oz-fighter-xp){display:flex;justify-content:space-between;gap:10px}.oz-character-vitals span{color:#66858a;font-size:11px}.oz-character-vitals b{color:#bdceca;font-size:11px}
@media(max-width:1180px){.oz-mission-body{grid-template-columns:1fr 1fr}.oz-mission-control{grid-column:1/-1}.oz-deploy-form,.oz-stage-box{min-height:120px}}
@media(max-width:760px){
 .oz-drag-help{text-align:left}.oz-roster-strip{margin-left:-5px;margin-right:-5px}.oz-fighter-chip{flex-basis:225px}
 .oz-mission-scene{grid-template-columns:1fr}.oz-mission-card-v2 .oz-mission-art{min-height:145px}.oz-mission-title{align-items:flex-start;flex-direction:column}
 .oz-mission-body{grid-template-columns:1fr}.oz-mission-slots{grid-template-columns:repeat(3,1fr)}.oz-drop-slot{min-height:120px;padding:4px}.oz-slot-photo{height:58px}
 .oz-mission-meta-v2{grid-template-columns:1fr 1fr}.oz-mission-control{grid-column:auto}
}
@media(max-width:430px){.oz-mission-slots{gap:4px}.oz-slot-fighter b{font-size:11px}.oz-slot-fighter span{display:none}.oz-mission-meta-v2{grid-template-columns:1fr}.oz-threat{width:100%;text-align:center}}

/* =========================================================
   OUTPOST ZERO v1.8 — Squad Loadouts / Reserve / Equipment
   ========================================================= */
.oz-squad-head .oz-power-badge span{display:block;margin-top:6px;color:#66858a;font-size:11px;text-transform:uppercase}
.oz-squad-toolbar-v2{display:flex;justify-content:space-between;align-items:center;gap:14px;margin:0 0 14px;padding:12px 14px;border:1px solid #294752;background:linear-gradient(#102128,#0a171c)}
.oz-squad-toolbar-v2 small,.oz-squad-toolbar-v2 b{display:block}.oz-squad-toolbar-v2 small{color:#91a9aa;font-size:11px;letter-spacing:1px}.oz-squad-toolbar-v2 b{margin-top:3px;color:#bdceca;font-size:13px}
.oz-loadout-armory{margin-bottom:15px;padding:14px!important}.oz-mini-gear-tray{display:flex;gap:8px;margin-top:12px;padding-bottom:4px;overflow-x:auto}
.oz-mini-gear{position:relative;display:grid;grid-template-columns:52px 1fr;gap:8px;flex:0 0 220px;padding:7px;border:1px solid #294752;background:#0a171c;cursor:grab;box-shadow:inset 0 0 0 2px #071116}
.oz-mini-gear:hover{border-color:#66858a}.oz-mini-gear.dragging{opacity:.45}.oz-mini-gear-img{width:52px;height:58px;border:1px solid #294752;background-color:#102128;background-size:cover;background-position:center}
.oz-mini-gear b,.oz-mini-gear span,.oz-mini-gear small{display:block}.oz-mini-gear b{overflow:hidden;color:#bdceca;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.oz-mini-gear span{margin:2px 0;color:#66858a;font-size:11px}.oz-mini-gear small{color:#91a9aa;font-size:11px}
.oz-empty-gear{padding:14px;border:1px dashed #294752;color:#66858a;font-size:12px}
.oz-section-heading>span{color:#66858a;font-size:11px}
.oz-active-squad-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.oz-squad-slot{position:relative;min-height:650px;padding-top:25px;border:1px dashed #294752;background:rgba(13,14,10,.42);transition:border-color .15s,background .15s}
.oz-squad-slot.drag-over{border-color:#91a9aa;background:rgba(87,101,42,.1)}
.oz-slot-label{position:absolute;left:8px;top:5px;color:#66858a;font:700 11px Consolas,monospace;letter-spacing:1px}
.oz-empty-squad-slot{display:grid;place-items:center;align-content:center;height:100%;min-height:620px;color:#41636b;text-align:center}.oz-empty-squad-slot span{font-size:38px;color:#66858a}.oz-empty-squad-slot b,.oz-empty-squad-slot small{display:block}.oz-empty-squad-slot b{margin-top:7px;color:#66858a}.oz-empty-squad-slot small{margin-top:3px;font-size:11px}
.oz-survivor-loadout{margin:7px;overflow:visible;border:1px solid #41636b;background:#0a171c;box-shadow:inset 0 0 0 3px #071116,0 9px 24px rgba(0,0,0,.28);cursor:grab}
.oz-survivor-loadout.dragging{opacity:.45}
.oz-survivor-portrait{position:relative;height:260px;background-size:cover;background-position:center 16%;filter:sepia(.12) saturate(.82);border-bottom:1px solid #41636b}
.oz-survivor-portrait:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 50%,rgba(6,7,5,.92));pointer-events:none}
.oz-survivor-portrait>.rarity-text{position:absolute;z-index:2;left:9px;top:9px;padding:4px 6px;background:rgba(8,9,6,.86);border:1px solid currentColor}
.oz-survivor-nameplate{position:absolute;z-index:2;left:12px;right:12px;bottom:10px}.oz-survivor-nameplate small{color:#91a9aa;font-size:11px}.oz-survivor-nameplate h2{margin:2px 0 0!important;color:#bdceca!important;font-family:Georgia,serif;font-size:22px!important}
.oz-survivor-body{padding:11px}.oz-vital-title{display:flex;justify-content:space-between;gap:8px;color:#66858a;font-size:11px}.oz-vital-title b{color:#bdceca}.oz-vital-title.xp{margin-top:7px}
.oz-hp-bar-v2,.oz-xp-bar-v2{height:10px;margin:4px 0 2px;border:1px solid #294752;background:#071116;box-shadow:inset 0 0 4px #000;overflow:hidden}
.oz-hp-bar-v2 .oz-bar-fill,.oz-xp-bar-v2 .oz-bar-fill{display:block;height:100%;min-width:0;margin:0!important;background-image:none!important}
.oz-hp-bar-v2 .oz-bar-fill{background:linear-gradient(90deg,#67271f,#a94b36 65%,#c16143)}.oz-hp-bar-v2.critical .oz-bar-fill{background:linear-gradient(90deg,#5a1916,#df4f42);animation:ozHpCritical 1.2s ease-in-out infinite}
.oz-xp-bar-v2 .oz-bar-fill{background:linear-gradient(90deg,#41636b,#91a9aa)}
@keyframes ozHpCritical{50%{filter:brightness(1.35)}}
.oz-effective-stats{display:grid;grid-template-columns:1fr 1fr;gap:5px;margin:10px 0}.oz-effective-stats span{display:flex;justify-content:space-between;gap:5px;padding:6px 7px;border:1px solid #294752;background:#071116;color:#66858a;font-size:11px}.oz-effective-stats b{margin-left:auto;color:#bdceca}.oz-effective-stats em{color:#91a9aa;font-style:normal;font-weight:700}
.oz-loadout-slots{display:grid;gap:6px}.oz-equip-slot{position:relative;display:grid;grid-template-columns:46px minmax(0,1fr) auto;align-items:center;gap:7px;min-height:58px;padding:5px;border:1px dashed #294752;background:#071116;transition:border-color .15s,background .15s}
.oz-equip-slot.drag-over{border-color:#bdceca;background:#102128}.oz-equip-slot.equipped{border-style:solid}
.oz-equip-img{width:46px;height:46px;border:1px solid #294752;background-size:cover;background-position:center}
.oz-equip-slot small,.oz-equip-slot b,.oz-equip-slot span{display:block}.oz-equip-slot small{color:#66858a;font-size:11px}.oz-equip-slot b{overflow:hidden;color:#bdceca;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.oz-equip-slot span{color:#91a9aa;font-size:11px}.oz-equip-empty{display:grid!important;place-items:center;width:46px;height:46px;border:1px dashed #294752;color:#66858a!important;font-size:22px!important}
.oz-equip-slot>button{align-self:start;border:1px solid #41636b;background:#102128;color:#c18b66;cursor:pointer;font-size:15px;line-height:18px}
.oz-gear-tooltip{display:none;position:absolute;z-index:30;left:10px;bottom:calc(100% + 6px);width:235px;padding:9px;border:1px solid #66858a;background:#071116;color:#91a9aa;box-shadow:0 10px 28px rgba(0,0,0,.5);pointer-events:none}
.oz-equip-slot:hover .oz-gear-tooltip,.oz-armory-item:hover .oz-gear-tooltip{display:block}.oz-gear-tooltip strong,.oz-gear-tooltip span{display:block}.oz-gear-tooltip strong{color:#bdceca}.oz-gear-tooltip span{margin-top:2px;color:#91a9aa;font-size:11px}.oz-gear-tooltip p{margin:7px 0 0!important;color:#91a9aa!important;font-size:11px!important;line-height:1.45}
.oz-power-change{display:grid;grid-template-columns:1fr auto;gap:2px;margin-top:9px;padding:8px;border-top:1px solid #294752}.oz-power-change span{color:#66858a;font-size:11px}.oz-power-change strong{color:#bdceca;font-size:18px}.oz-power-change small{grid-column:1/-1;color:#41636b;font-size:11px}
.oz-survivor-actions{display:flex;gap:6px;margin-top:9px}.oz-survivor-actions form{flex:1}.oz-survivor-actions .game-btn{width:100%;padding:8px}
.oz-reserve-zone{margin-top:18px;padding:12px;border:1px dashed #294752;background:rgba(12,13,9,.5);transition:border-color .15s,background .15s}.oz-reserve-zone.drag-over{border-color:#91a9aa;background:rgba(79,92,38,.1)}
.oz-reserve-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.oz-empty-reserve{grid-column:1/-1;padding:20px;text-align:center;color:#66858a}
.oz-reserve-card{display:grid;grid-template-columns:78px minmax(0,1fr);gap:8px;padding:7px;border:1px solid #294752;background:#0a171c;cursor:grab}.oz-reserve-card.dragging{opacity:.45}
.oz-reserve-photo{width:78px;height:105px;background-size:cover;background-position:center 17%;border:1px solid #294752;filter:sepia(.12) saturate(.82)}.oz-reserve-copy h3{margin:3px 0;color:#bdceca;font-size:15px}.oz-reserve-copy p{margin:0 0 5px;color:#66858a;font-size:11px}.oz-reserve-copy small{color:#66858a;font-size:11px}
.oz-reserve-eq{grid-column:1/-1;display:flex;gap:4px}.oz-reserve-eq>span{display:grid;place-items:center;width:34px;height:34px;border:1px dashed #294752;background:#071116}.oz-reserve-eq>span.filled{border-style:solid}.oz-reserve-eq i{display:block;width:28px;height:28px;background-size:cover;background-position:center}
.oz-add-active{grid-column:1/-1;width:100%;padding:7px!important}
.oz-gear-weapon{background-image:linear-gradient(rgba(0,0,0,.08),rgba(0,0,0,.18)),url('/assets/oz/armory-workbench-anim.webp')!important;background-size:260%!important;background-position:18% 56%!important}
.oz-gear-armor{background-image:linear-gradient(rgba(0,0,0,.08),rgba(0,0,0,.18)),url('/assets/oz/armory-workbench-anim.webp')!important;background-size:225%!important;background-position:58% 52%!important}
.oz-gear-utility{background-image:linear-gradient(rgba(0,0,0,.08),rgba(0,0,0,.18)),url('/assets/oz/supply-crate-anim.webp')!important;background-size:185%!important;background-position:54% 55%!important}
.oz-material-img{background-image:url('/assets/oz/supply-crate-anim.webp')!important;background-size:cover!important;background-position:center!important}
.oz-armory-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:12px}.oz-armory-summary article{padding:11px;border:1px solid #294752;background:#0a171c}.oz-armory-summary small,.oz-armory-summary strong{display:block}.oz-armory-summary small{color:#66858a;font-size:11px}.oz-armory-summary strong{margin-top:3px;color:#bdceca;font-size:16px}
.oz-equipped-roster{margin-bottom:12px}.oz-equipped-mini-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:12px}
.oz-armory-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.oz-armory-item{position:relative;display:grid;grid-template-columns:82px minmax(0,1fr);gap:9px;padding:8px;border:1px solid #294752;background:linear-gradient(#0a171c,#071116);box-shadow:inset 0 0 0 2px #071116}.oz-armory-item.equipped{grid-template-columns:66px 1fr}.oz-armory-item-img{height:98px;border:1px solid #294752;background-size:cover;background-position:center}.oz-armory-item.equipped .oz-armory-item-img{height:76px}.oz-armory-item h3{margin:3px 0;color:#bdceca;font-size:14px}.oz-armory-item p{margin:0;color:#66858a;font-size:11px}.oz-armory-item p b{color:#91a9aa}.oz-armory-item>div>strong{color:#91a9aa}.oz-armory-stats{display:flex;flex-wrap:wrap;gap:4px;margin-top:7px}.oz-armory-stats span{padding:4px 5px;border:1px solid #183039;background:#071116;color:#66858a;font-size:11px}.oz-armory-stats b{color:#bdceca}.oz-armory-foot{display:flex;justify-content:space-between;margin-top:8px;padding-top:6px;border-top:1px solid #183039}.oz-armory-foot b{color:#91a9aa}.oz-armory-foot a{color:#91a9aa!important;font-size:11px}
@media(max-width:1200px){.oz-active-squad-grid{grid-template-columns:1fr 1fr}.oz-squad-slot{min-height:580px}.oz-reserve-grid,.oz-armory-grid,.oz-equipped-mini-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:820px){.oz-active-squad-grid{grid-template-columns:1fr}.oz-squad-slot{min-height:0}.oz-empty-squad-slot{min-height:180px}.oz-survivor-loadout{display:grid;grid-template-columns:220px 1fr}.oz-survivor-portrait{height:100%;min-height:420px}.oz-reserve-grid,.oz-armory-grid,.oz-equipped-mini-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:560px){.oz-squad-toolbar-v2{align-items:stretch;flex-direction:column}.oz-squad-toolbar-v2 .game-btn{width:100%}.oz-survivor-loadout{display:block}.oz-survivor-portrait{height:230px;min-height:0}.oz-reserve-grid,.oz-armory-grid,.oz-equipped-mini-grid,.oz-armory-summary{grid-template-columns:1fr}.oz-loadout-armory{margin-left:-4px;margin-right:-4px}.oz-mini-gear{flex-basis:205px}.oz-section-heading{align-items:flex-start;flex-direction:column;gap:4px}}

/* v1.9 asset refresh */
.oz-gear-weapon{background-image:linear-gradient(rgba(0,0,0,.02),rgba(0,0,0,.12)),url('/assets/ozv2/gear-weapon-thumb.jpg')!important;background-size:cover!important;background-position:center!important}
.oz-gear-armor{background-image:linear-gradient(rgba(0,0,0,.02),rgba(0,0,0,.12)),url('/assets/ozv2/gear-armor-thumb.jpg')!important;background-size:cover!important;background-position:center!important}
.oz-gear-utility{background-image:linear-gradient(rgba(0,0,0,.02),rgba(0,0,0,.12)),url('/assets/ozv2/gear-utility-thumb.jpg')!important;background-size:cover!important;background-position:center!important}
.oz-mini-gear-img,.oz-equip-img,.oz-armory-item-img{filter:sepia(.08) saturate(.9) contrast(1.06)}
.oz-survivor-portrait,.oz-reserve-photo{filter:sepia(.05) saturate(.9) contrast(1.04)}
.oz-hp-bar-v2,.oz-xp-bar-v2{position:relative}
.oz-hp-bar-v2 .oz-bar-fill,.oz-xp-bar-v2 .oz-bar-fill{width:0;max-width:100%;border:0!important}
.oz-hp-bar-v2:after,.oz-xp-bar-v2:after{content:"";position:absolute;inset:0;pointer-events:none;box-shadow:inset 0 0 0 1px rgba(255,255,255,.025)}

/* =========================================================
   OUTPOST ZERO v1.10 — squad visual corrections
   ========================================================= */

/* Portrait path fix is in template; compact active cards */
.oz-active-squad-grid{gap:10px!important}
.oz-squad-slot{min-height:0!important;padding-top:24px!important}
.oz-empty-squad-slot{min-height:430px!important}
.oz-survivor-loadout{margin:6px!important}
.oz-survivor-portrait{
  height:168px!important;
  min-height:168px!important;
  background-size:cover!important;
  background-position:center 18%!important;
  background-repeat:no-repeat!important;
}
.oz-survivor-nameplate h2{font-size:20px!important}
.oz-survivor-body{padding:9px!important}
.oz-effective-stats{margin:8px 0!important}
.oz-loadout-slots{gap:5px!important}
.oz-equip-slot{min-height:52px!important}
.oz-power-change{margin-top:7px!important;padding:7px!important}
.oz-survivor-actions{margin-top:7px!important}

/* HP / XP bars: explicitly immune to old legacy sprite rules */
.oz-hp-bar-v2,.oz-xp-bar-v2{
  display:block!important;
  position:relative!important;
  width:100%!important;
  height:10px!important;
  min-height:10px!important;
  margin:4px 0 2px!important;
  padding:0!important;
  overflow:hidden!important;
  border:1px solid #294752!important;
  background:#071116!important;
  box-shadow:inset 0 0 4px #000!important;
}
.oz-hp-bar-v2 .oz-bar-fill,.oz-xp-bar-v2 .oz-bar-fill{
  display:block!important;
  height:100%!important;
  min-height:100%!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  background-image:none!important;
}
.oz-hp-bar-v2 .oz-bar-fill{
  background:#a34735!important;
  box-shadow:inset 0 0 3px rgba(255,210,170,.18)!important;
}
.oz-hp-bar-v2.critical .oz-bar-fill{
  background:#dc4338!important;
  box-shadow:0 0 8px rgba(220,67,56,.45)!important;
}
.oz-xp-bar-v2 .oz-bar-fill{
  background:#66858a!important;
}

/* Stronger rarity language everywhere */
.rarity-text.common{color:#b8b8b2!important}
.rarity-text.uncommon{color:#79c56a!important}
.rarity-text.rare{color:#66aef0!important}
.rarity-text.epic{color:#c07be6!important}
.rarity-text.legendary{color:#f0a64b!important}

.rarity-border-common{
  border-color:#666861!important;
  box-shadow:inset 0 0 0 1px rgba(185,185,178,.10)!important;
}
.rarity-border-uncommon{
  border-color:#69a75d!important;
  box-shadow:inset 0 0 0 1px rgba(105,167,93,.18),0 0 8px rgba(105,167,93,.10)!important;
}
.rarity-border-rare{
  border-color:#4d91d0!important;
  box-shadow:inset 0 0 0 1px rgba(77,145,208,.22),0 0 10px rgba(77,145,208,.16)!important;
}
.rarity-border-epic{
  border-color:#9b5fc0!important;
  box-shadow:inset 0 0 0 1px rgba(155,95,192,.24),0 0 11px rgba(155,95,192,.18)!important;
}
.rarity-border-legendary{
  border-color:#d28a36!important;
  box-shadow:inset 0 0 0 1px rgba(210,138,54,.24),0 0 12px rgba(210,138,54,.20)!important;
}
.oz-survivor-loadout.rarity-border-common,
.oz-survivor-loadout.rarity-border-uncommon,
.oz-survivor-loadout.rarity-border-rare,
.oz-survivor-loadout.rarity-border-epic,
.oz-survivor-loadout.rarity-border-legendary,
.oz-mini-gear.rarity-border-common,
.oz-mini-gear.rarity-border-uncommon,
.oz-mini-gear.rarity-border-rare,
.oz-mini-gear.rarity-border-epic,
.oz-mini-gear.rarity-border-legendary,
.oz-reserve-card.rarity-border-common,
.oz-reserve-card.rarity-border-uncommon,
.oz-reserve-card.rarity-border-rare,
.oz-reserve-card.rarity-border-epic,
.oz-reserve-card.rarity-border-legendary{
  border-width:2px!important;
}

/* Clean equipment icons instead of blurry cropped screenshots */
.oz-gear-weapon{
  background-image:url('/assets/gear-icons/weapon.svg')!important;
  background-size:cover!important;
  background-position:center!important;
  background-repeat:no-repeat!important;
}
.oz-gear-armor{
  background-image:url('/assets/gear-icons/armor.svg')!important;
  background-size:cover!important;
  background-position:center!important;
  background-repeat:no-repeat!important;
}
.oz-gear-utility{
  background-image:url('/assets/gear-icons/utility.svg')!important;
  background-size:cover!important;
  background-position:center!important;
  background-repeat:no-repeat!important;
}
.oz-mini-gear-img,.oz-equip-img,.oz-armory-item-img{
  filter:none!important;
  background-color:#0a171c!important;
}
.oz-mini-gear{grid-template-columns:48px 1fr!important;flex-basis:218px!important}
.oz-mini-gear-img{width:48px!important;height:52px!important}

/* Make rarity chip itself more readable */
.oz-survivor-portrait>.rarity-text{
  border-width:1px!important;
  box-shadow:0 0 8px rgba(0,0,0,.55)!important;
}
.oz-mini-gear .rarity-text,
.oz-armory-item .rarity-text,
.oz-reserve-card .rarity-text{font-weight:900!important;letter-spacing:1px!important}

/* Desktop typography floor remains 11px */
@media(min-width:901px){
  .oz-survivor-nameplate h2{font-size:20px!important}
  .oz-power-badge strong,.oz-card-power strong,.oz-power-change strong{font-size:18px!important}
}
@media(max-width:820px){
 .oz-survivor-loadout{display:grid!important;grid-template-columns:170px 1fr!important}
 .oz-survivor-portrait{height:100%!important;min-height:390px!important}
}
@media(max-width:560px){
 .oz-survivor-loadout{display:block!important}
 .oz-survivor-portrait{height:180px!important;min-height:180px!important}
}

/* =========================================================
   OUTPOST ZERO v1.11 — Missions clarity / compact squad / transport
   ========================================================= */

/* Compact square portrait in upper-left of Squad card */
.oz-survivor-header{display:grid;grid-template-columns:94px minmax(0,1fr);gap:10px;align-items:start;padding:9px 9px 0}
.oz-survivor-header .oz-survivor-portrait{
 width:94px!important;height:94px!important;min-height:94px!important;
 background-size:cover!important;background-position:center 16%!important;
 border:1px solid #41636b!important;position:relative!important
}
.oz-survivor-header .oz-survivor-portrait:after{display:none!important}
.oz-survivor-header .oz-survivor-portrait>.rarity-text{left:5px!important;top:5px!important;padding:3px 5px!important}
.oz-survivor-identity{padding-top:5px}
.oz-survivor-identity small,.oz-survivor-identity span{display:block}
.oz-survivor-identity small{color:#91a9aa;font-size:11px;letter-spacing:.6px}
.oz-survivor-identity h2{margin:4px 0 4px!important;color:#bdceca!important;font:700 21px Georgia,serif!important}
.oz-survivor-identity>span{color:#bdceca;font-size:13px;font-weight:800}
.oz-survivor-body{padding-top:7px!important}

/* Mission roster: always visible, compact cards */
.oz-roster-dock{min-height:0!important}
.oz-roster-strip{display:flex!important;min-height:94px!important;gap:8px!important}
.oz-fighter-chip{grid-template-columns:72px minmax(0,1fr)!important;flex:0 0 250px!important;min-height:94px!important;padding:7px!important}
.oz-chip-photo{width:72px!important;height:78px!important;background-size:cover!important;background-position:center 16%!important;border:1px solid #41636b!important}
.oz-chip-copy .rarity-text{margin-bottom:2px}
.oz-chip-copy b{font-size:13px!important}
.oz-chip-copy>span:not(.rarity-text){font-size:11px!important}
.oz-chip-copy .oz-hp-bar-v2,.oz-chip-copy .oz-xp-bar-v2{height:7px!important;margin:3px 0 1px!important}

/* Different mission scenes */
.oz-mission-art-v3{position:relative;min-height:126px;background-size:cover!important;background-position:center!important;border:1px solid #41636b;box-shadow:inset 0 0 0 3px #071116}
.oz-mission-art-v3:after{content:"";position:absolute;inset:0;background:repeating-linear-gradient(0deg,transparent 0 3px,rgba(190,205,105,.025) 3px 4px);pointer-events:none}
.oz-mission-art-v3>span{position:absolute;z-index:2;left:7px;bottom:7px;padding:4px 6px;background:#071116;color:#bdceca;border:1px solid #41636b;font:700 11px Consolas,monospace}

/* Zone explanation */
.oz-zone-divider{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:18px 0 8px;padding:9px 11px;border:1px solid #294752;background:#0a171c}
.oz-zone-divider small,.oz-zone-divider b{display:block}.oz-zone-divider small{color:#66858a;font-size:11px;letter-spacing:1px}.oz-zone-divider b{color:#bdceca;font-size:16px}.oz-zone-divider>span{color:#66858a;font-size:11px}
.oz-lock-reasons{display:flex;flex-wrap:wrap;gap:5px;margin-top:8px}.oz-lock-reasons span{padding:4px 6px;border:1px solid #294752;background:#0a171c;font-size:11px}.oz-lock-reasons .locked{color:#d58d69;border-color:#41636b}.oz-lock-reasons .open{color:#91a9aa;border-color:#41636b}

/* Possible loot */
.oz-mission-loot{padding:9px 12px;border-bottom:1px solid #294752;background:#071116}
.oz-mission-loot>small{display:block;margin-bottom:6px;color:#66858a;font-size:11px;letter-spacing:1px}
.oz-mission-loot>div{display:flex;flex-wrap:wrap;gap:6px}
.oz-loot-chip{display:inline-flex;align-items:center;gap:6px;padding:5px 7px;border:1px solid #294752;background:#0a171c;color:#91a9aa;font-size:11px}
.oz-loot-chip .rarity-text{font-size:11px!important}

/* Transport selector inside mission */
.oz-vehicle-select{display:grid;gap:5px}.oz-vehicle-select>span{color:#66858a;font-size:11px;letter-spacing:.8px}
.oz-vehicle-select select{width:100%;padding:8px;border:1px solid #41636b;background:#071116;color:#bdceca;font:inherit;font-size:11px}

/* Transport page */
.oz-vehicle-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.oz-vehicle-card{display:grid;grid-template-columns:150px minmax(0,1fr);gap:12px;padding:10px;border:1px solid #294752;background:linear-gradient(#0a171c,#071116);box-shadow:inset 0 0 0 2px #071116}
.oz-vehicle-card.owned{border-color:#41636b}.oz-vehicle-card.locked{opacity:.58}
.oz-vehicle-art{display:grid;place-items:center;min-height:145px;border:1px solid #294752;background:radial-gradient(circle at 50% 45%,rgba(132,148,66,.11),transparent 30%),repeating-linear-gradient(135deg,#0a171c,#0a171c 8px,#0a171c 8px,#0a171c 16px)}
.oz-vehicle-art img{width:68px;height:68px;filter:drop-shadow(0 0 8px rgba(180,199,89,.14))}
.oz-vehicle-copy h2{margin:4px 0 5px;color:#bdceca;font:700 20px Georgia,serif}.oz-vehicle-copy p{margin:0;color:#66858a;font-size:12px;line-height:1.45}
.oz-vehicle-stats{display:flex;flex-wrap:wrap;gap:5px;margin:10px 0}.oz-vehicle-stats span{padding:5px 6px;border:1px solid #294752;background:#071116;color:#66858a;font-size:11px}.oz-vehicle-stats b{color:#bdceca}
.oz-owned-badge{display:inline-block;padding:7px 9px;border:1px solid #41636b;background:#102128;color:#bdceca;font-size:11px;font-weight:900;letter-spacing:1px}

@media(max-width:900px){
 .oz-vehicle-grid{grid-template-columns:1fr}
 .oz-mission-scene{grid-template-columns:150px minmax(0,1fr)!important}
}
@media(max-width:650px){
 .oz-survivor-header{grid-template-columns:80px minmax(0,1fr)}
 .oz-survivor-header .oz-survivor-portrait{width:80px!important;height:80px!important;min-height:80px!important}
 .oz-mission-scene{grid-template-columns:1fr!important}
 .oz-zone-divider{align-items:flex-start;flex-direction:column}
 .oz-vehicle-card{grid-template-columns:1fr}.oz-vehicle-art{min-height:110px}
}

/* v1.12 Missions interaction fixes */
.oz-fighter-chip.is-picked{border-color:#bdceca!important;box-shadow:inset 0 0 0 1px rgba(184,199,95,.22),0 0 12px rgba(184,199,95,.14)!important}
.oz-pick-fighter{margin-top:4px;padding:3px 6px;border:1px solid #41636b;background:#102128;color:#bdceca;font-size:11px;font-weight:800;cursor:pointer}
.oz-drop-slot.assigned{border-color:#66858a!important;background:#102128!important}
.oz-mission-card-v2.team-ready .oz-selected-power b{color:#bdceca!important}

/* v1.13 battle hotfix + compact mission survivor slot */
.oz-drop-slot.filled{
 display:block!important;
 min-height:112px!important;
 padding:7px!important;
}
.oz-slot-fighter{
 display:grid!important;
 grid-template-columns:64px minmax(0,1fr)!important;
 grid-template-rows:auto auto auto auto!important;
 column-gap:8px!important;
 align-items:start!important;
 width:100%!important;
 min-height:70px!important;
 text-align:left!important;
}
.oz-slot-photo{
 grid-row:1 / 5!important;
 grid-column:1!important;
 width:64px!important;
 height:64px!important;
 min-width:64px!important;
 min-height:64px!important;
 margin:0!important;
 background-size:cover!important;
 background-position:center 16%!important;
 background-repeat:no-repeat!important;
 border:1px solid #41636b!important;
 box-shadow:inset 0 0 0 2px #071116!important;
}
.oz-slot-fighter>b{grid-column:2!important;margin:0!important;font-size:12px!important}
.oz-slot-fighter>span{grid-column:2!important;font-size:11px!important}
.oz-slot-fighter>.oz-hp-bar-v2{grid-column:2!important;margin:3px 0!important;height:8px!important}
.oz-slot-fighter>small{grid-column:2!important;margin:0!important;font-size:11px!important}
@media(max-width:760px){
 .oz-slot-fighter{grid-template-columns:54px minmax(0,1fr)!important}
 .oz-slot-photo{width:54px!important;height:54px!important;min-width:54px!important;min-height:54px!important}
}

/* =========================================================
   OUTPOST ZERO v1.14 — mission party + animated travel
   ========================================================= */

/* Mission assignment cards: compact, no tall empty body */
.oz-mission-slots{
  align-items:start!important;
}
.oz-drop-slot{
  min-height:96px!important;
  height:96px!important;
  padding:6px!important;
}
.oz-drop-slot.filled{
  min-height:96px!important;
  height:96px!important;
  padding:6px!important;
}
.oz-mission-slots.mission-party-live{
  grid-template-columns:repeat(auto-fit,minmax(150px,185px))!important;
  justify-content:start!important;
}
.oz-mission-slots.mission-party-live .oz-drop-slot{
  width:100%!important;
  height:84px!important;
  min-height:84px!important;
  cursor:default!important;
  transform:none!important;
}
.oz-slot-fighter{
  display:grid!important;
  grid-template-columns:62px minmax(0,1fr)!important;
  grid-template-rows:auto auto auto auto!important;
  column-gap:8px!important;
  row-gap:1px!important;
  align-items:start!important;
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  text-align:left!important;
}
.oz-slot-photo{
  grid-column:1!important;
  grid-row:1 / 5!important;
  width:62px!important;
  height:62px!important;
  min-width:62px!important;
  min-height:62px!important;
  margin:0!important;
  background-size:cover!important;
  background-position:center 16%!important;
  border:1px solid #41636b!important;
}
.oz-slot-fighter>b{
  grid-column:2!important;
  margin:0!important;
  color:#bdceca!important;
  line-height:1.15!important;
}
.oz-slot-fighter>span{
  grid-column:2!important;
  overflow:hidden!important;
  color:#66858a!important;
  line-height:1.2!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
.oz-slot-fighter>.oz-hp-bar-v2{
  grid-column:2!important;
  width:100%!important;
  height:7px!important;
  min-height:7px!important;
  margin:4px 0 2px!important;
}
.oz-slot-fighter>small{
  grid-column:2!important;
  margin:0!important;
  color:#66858a!important;
  line-height:1.15!important;
}
.oz-slot-plus{
  line-height:1!important;
}

/* Travel panel */
.oz-stage-box.oz-travel-panel{
  position:relative!important;
  min-height:152px!important;
  padding:12px!important;
  overflow:hidden!important;
  border-color:#41636b!important;
  background:
    radial-gradient(circle at 10% 20%,rgba(132,153,57,.09),transparent 32%),
    linear-gradient(180deg,#102128,#071116)!important;
}
.oz-stage-box.oz-travel-panel:before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  opacity:.25;
  background:repeating-linear-gradient(0deg,transparent 0 3px,rgba(188,207,99,.025) 3px 4px);
}
.oz-travel-head{
  position:relative;
  z-index:1;
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:start;
}
.oz-travel-head small,.oz-travel-head b{display:block}
.oz-travel-head small{color:#91a9aa!important;font:700 11px Consolas,monospace;letter-spacing:1px}
.oz-travel-head b{margin-top:4px;color:#bdceca!important;font-size:15px}
.oz-travel-percent{
  color:#bdceca!important;
  font:800 18px Georgia,serif;
}
.oz-travel-panel .oz-countdown{
  position:relative;
  z-index:1;
  margin-top:5px;
  color:#91a9aa!important;
  font-size:12px!important;
}
.oz-route-progress{
  position:relative;
  z-index:1;
  height:20px;
  margin:18px 4px 0;
  border:1px solid #294752;
  background:
    repeating-linear-gradient(90deg,#0a171c 0 13px,#071116 13px 26px);
  box-shadow:inset 0 0 7px #000;
}
.oz-route-fill{
  position:absolute;
  left:0;top:0;bottom:0;
  width:0;
  background:linear-gradient(90deg,#41636b,#91a9aa 70%,#bdceca);
  box-shadow:0 0 10px rgba(177,202,85,.22);
  transition:width .5s linear;
}
.oz-route-fill:after{
  content:"";
  position:absolute;
  inset:0;
  background:repeating-linear-gradient(120deg,rgba(255,255,255,.08) 0 7px,transparent 7px 14px);
  animation:ozTravelStripe 1.3s linear infinite;
}
@keyframes ozTravelStripe{to{background-position:28px 0}}
.oz-route-vehicle{
  position:absolute!important;
  z-index:3!important;
  top:-8px!important;
  left:-14px;
  width:28px!important;
  height:34px!important;
  margin:0!important;
  border:1px solid #66858a!important;
  background:#0a171c!important;
  box-shadow:0 0 9px rgba(185,205,91,.18)!important;
  transition:left .5s linear;
}
.oz-route-vehicle img{
  width:24px!important;
  height:24px!important;
  margin:4px 1px!important;
  background:none!important;
}
.oz-route-target{
  position:absolute;
  z-index:3;
  right:-4px;
  top:-6px;
  color:#d6a260;
  font-size:18px;
  font-style:normal;
  text-shadow:0 0 7px rgba(214,162,96,.28);
}
.oz-route-labels{
  display:flex;
  justify-content:space-between;
  margin:5px 3px 0;
  color:#41636b;
  font-size:11px;
  letter-spacing:.8px;
}
.oz-arrival-action{
  position:relative;
  z-index:2;
  margin-top:10px!important;
}
.oz-arrival-action .game-btn{
  width:100%!important;
  opacity:.48;
  cursor:not-allowed;
}
.oz-arrival-action .game-btn.is-ready{
  opacity:1!important;
  cursor:pointer!important;
  border-color:#91a9aa!important;
  box-shadow:inset 0 0 0 2px #071116,0 0 12px rgba(172,195,78,.18)!important;
  animation:ozEngageReady 1.6s ease-in-out infinite;
}
.oz-travel-panel.arrived{
  border-color:#66858a!important;
}
.oz-travel-panel.arrived .oz-travel-percent{
  color:#bdceca!important;
}
@keyframes ozEngageReady{
  50%{filter:brightness(1.15)}
}

/* Med Bay cost buttons stay readable */
.oz-survivor-actions .game-btn,
.oz-fighter-chip form button{
  white-space:nowrap!important;
}

@media(max-width:760px){
  .oz-drop-slot,.oz-drop-slot.filled{height:88px!important;min-height:88px!important}
  .oz-mission-slots.mission-party-live{grid-template-columns:repeat(auto-fit,minmax(145px,1fr))!important}
  .oz-slot-fighter{grid-template-columns:54px minmax(0,1fr)!important}
  .oz-slot-photo{width:54px!important;height:54px!important;min-width:54px!important;min-height:54px!important}
}

.oz-fighter-chip form button.oz-medbay-critical{border-color:#7d4035!important;color:#e68b75!important;background:#24110e!important}

/* =========================================================
   OUTPOST ZERO v1.15 — roster width / portrait / XP / transport icon
   ========================================================= */
.oz-fighter-chip{
  grid-template-columns:76px minmax(0,1fr)!important;
  flex:0 0 292px!important;
  min-height:126px!important;
  padding:8px!important;
}
.oz-chip-photo{
  width:76px!important;
  height:82px!important;
}
.oz-chip-copy{
  overflow:visible!important;
}
.oz-chip-copy b,
.oz-chip-copy>span{
  white-space:normal!important;
}
.oz-roster-xp-label,
.oz-slot-xp-line{
  display:flex!important;
  justify-content:space-between!important;
  gap:8px!important;
  margin-top:3px!important;
  color:#66858a!important;
  font-size:11px!important;
}
.oz-roster-xp-label b,
.oz-slot-xp-line b{
  color:#91a9aa!important;
  font-size:11px!important;
}
.oz-roster-actions{
  display:flex!important;
  gap:5px!important;
  align-items:center!important;
  flex-wrap:wrap!important;
  margin-top:5px!important;
}
.oz-roster-actions form{
  position:static!important;
  right:auto!important;
  bottom:auto!important;
  margin:0!important;
}
.oz-roster-actions button{
  position:static!important;
  min-height:25px!important;
  padding:4px 7px!important;
  line-height:1.1!important;
  white-space:nowrap!important;
}
.oz-fighter-chip>em{
  right:7px!important;
  bottom:7px!important;
}
.oz-mission-slots{
  grid-template-columns:repeat(3,minmax(185px,1fr))!important;
}
.oz-drop-slot,
.oz-drop-slot.filled{
  height:auto!important;
  min-height:118px!important;
}
.oz-slot-fighter{
  grid-template-columns:72px minmax(0,1fr)!important;
  grid-template-rows:auto auto auto auto auto auto!important;
  min-width:0!important;
}
.oz-slot-photo{
  width:72px!important;
  height:72px!important;
  min-width:72px!important;
  min-height:72px!important;
  grid-row:1 / 7!important;
  background-color:#0a171c!important;
}
.oz-slot-fighter>.oz-xp-bar-v2{
  grid-column:2!important;
  width:100%!important;
  height:7px!important;
  min-height:7px!important;
  margin:2px 0 0!important;
}
.oz-slot-xp-line{
  grid-column:2!important;
  margin-top:2px!important;
}
.oz-stage-box .oz-route-vehicle img,
.oz-vehicle-art img{
  filter:drop-shadow(0 0 6px rgba(193,207,103,.22))!important;
}
@media(max-width:900px){
  .oz-fighter-chip{flex-basis:270px!important}
  .oz-mission-slots{grid-template-columns:repeat(2,minmax(170px,1fr))!important}
}
@media(max-width:620px){
  .oz-fighter-chip{flex-basis:255px!important}
  .oz-mission-slots{grid-template-columns:1fr!important}
}

/* OUTPOST ZERO v1.16 — mission layout corrections */
.oz-mission-slots.mission-party-live .oz-drop-slot{
  width:100%!important;
  height:95px!important;
  min-height:95px!important;
  cursor:default!important;
  transform:none!important;
}
.oz-pick-fighter{
  margin-top:0!important;
}
.oz-drop-slot,
.oz-drop-slot.filled{
  height:auto!important;
  min-height:118px;
}
.oz-mission-info{
  width:calc(100% - 14px)!important;
  max-width:96%!important;
}

/* OUTPOST ZERO v1.17 — mission grid + route cleanup */
.oz-route-target{
  display:none!important;
}

.oz-drop-slot,
.oz-drop-slot.filled{
  height:auto!important;
  min-height:96px!important;
}

/* Prevent mission info from overlapping mission slots */
.oz-mission-body{
  display:grid!important;
  grid-template-columns:minmax(0,1.15fr) minmax(220px,.68fr) minmax(250px,.62fr)!important;
  gap:14px!important;
  align-items:start!important;
}
.oz-mission-slots{
  min-width:0!important;
  width:100%!important;
}
.oz-mission-info{
  min-width:0!important;
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  overflow:hidden!important;
}
.oz-mission-control{
  min-width:0!important;
  width:100%!important;
}
.oz-mission-meta-v2{
  min-width:0!important;
  width:100%!important;
}
.oz-mission-meta-v2 span{
  min-width:0!important;
}

/* Slightly cleaner transport icon presentation */
.oz-route-vehicle{
  width:34px!important;
  height:30px!important;
  top:-6px!important;
}
.oz-route-vehicle img{
  width:30px!important;
  height:20px!important;
  margin:4px 1px!important;
  object-fit:contain!important;
}
.oz-vehicle-art img{
  width:78px!important;
  height:52px!important;
  object-fit:contain!important;
}

@media(max-width:1180px){
  .oz-mission-body{
    grid-template-columns:minmax(0,1fr) minmax(220px,.72fr)!important;
  }
  .oz-mission-control{
    grid-column:1/-1!important;
  }
}
@media(max-width:760px){
  .oz-mission-body{
    grid-template-columns:1fr!important;
  }
  .oz-mission-info,
  .oz-mission-control{
    grid-column:auto!important;
  }
}

/* =========================================================
   OUTPOST ZERO v1.18 — Vehicle Bay visual overhaul
   ========================================================= */
.oz-vehicle-grid{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:14px!important;
}
.oz-vehicle-card{
  grid-template-columns:230px minmax(0,1fr)!important;
  min-height:190px!important;
  padding:10px!important;
  gap:14px!important;
  overflow:hidden!important;
}
.oz-vehicle-art{
  position:relative!important;
  display:block!important;
  min-height:168px!important;
  overflow:hidden!important;
  border:1px solid #41636b!important;
  background:#0a171c!important;
  box-shadow:inset 0 0 0 3px #071116!important;
}
.oz-vehicle-art:after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(180deg,rgba(255,255,255,.025),transparent 35%,rgba(0,0,0,.24)),
    repeating-linear-gradient(0deg,transparent 0 3px,rgba(193,205,106,.018) 3px 4px);
}
.oz-vehicle-art img{
  width:100%!important;
  height:100%!important;
  min-height:168px!important;
  object-fit:cover!important;
  display:block!important;
  filter:none!important;
}
.oz-vehicle-index{
  position:absolute;
  z-index:2;
  left:8px;
  bottom:8px;
  padding:4px 7px;
  border:1px solid #66858a;
  background:rgba(8,10,7,.88);
  color:#bdceca;
  font:800 11px Consolas,monospace;
  letter-spacing:1px;
}
.oz-vehicle-copy{
  display:flex!important;
  flex-direction:column!important;
  min-width:0!important;
  padding:5px 2px 2px!important;
}
.oz-vehicle-copy h2{
  margin:4px 0 6px!important;
  font-size:22px!important;
}
.oz-vehicle-copy p{
  min-height:36px!important;
  font-size:12px!important;
}
.oz-vehicle-stats{
  margin:12px 0!important;
}
.oz-vehicle-card.owned{
  box-shadow:inset 0 0 0 2px #071116,0 0 14px rgba(167,190,79,.08)!important;
}
.oz-vehicle-card.locked .oz-vehicle-art img{
  filter:grayscale(.55) brightness(.58)!important;
}
.oz-vehicle-card.locked .oz-vehicle-art:before{
  content:"LOCKED";
  position:absolute;
  z-index:3;
  right:8px;
  top:8px;
  padding:4px 7px;
  border:1px solid #41636b;
  background:rgba(12,11,8,.9);
  color:#a78558;
  font:800 11px Consolas,monospace;
  letter-spacing:1px;
}
@media(max-width:1050px){
 .oz-vehicle-card{grid-template-columns:200px minmax(0,1fr)!important}
}
@media(max-width:760px){
 .oz-vehicle-grid{grid-template-columns:1fr!important}
 .oz-vehicle-card{grid-template-columns:1fr!important}
 .oz-vehicle-art,.oz-vehicle-art img{min-height:180px!important}
}

/* OUTPOST ZERO v1.19 — original wasteland vehicle artwork */
.oz-vehicle-art{
  min-height:190px!important;
  border-color:#41636b!important;
}
.oz-vehicle-art img{
  min-height:190px!important;
  object-fit:cover!important;
  object-position:center center!important;
  transform:scale(1.01);
  transition:transform .25s ease,filter .25s ease!important;
}
.oz-vehicle-card:not(.locked):hover .oz-vehicle-art img{
  transform:scale(1.035);
}
.oz-vehicle-card.locked .oz-vehicle-art img{
  filter:grayscale(.68) sepia(.15) brightness(.48)!important;
}
.oz-vehicle-index{
  box-shadow:0 0 8px rgba(0,0,0,.7)!important;
}
@media(max-width:760px){
  .oz-vehicle-art,.oz-vehicle-art img{min-height:210px!important}
}

/* =========================================================
   OUTPOST ZERO v1.20 — approved Transport + Armory visual pass
   ========================================================= */

/* Vehicle Bay: square detailed artwork */
.oz-vehicle-card{
  grid-template-columns:220px minmax(0,1fr)!important;
  min-height:220px!important;
}
.oz-vehicle-art{
  width:220px!important;
  height:220px!important;
  min-height:220px!important;
  aspect-ratio:1/1!important;
}
.oz-vehicle-art img{
  width:100%!important;
  height:100%!important;
  min-height:0!important;
  aspect-ratio:1/1!important;
  object-fit:cover!important;
  object-position:center!important;
}
.oz-vehicle-copy{
  justify-content:center!important;
}
@media(max-width:1050px){
 .oz-vehicle-card{grid-template-columns:190px minmax(0,1fr)!important}
 .oz-vehicle-art{width:190px!important;height:190px!important;min-height:190px!important}
}
@media(max-width:760px){
 .oz-vehicle-card{grid-template-columns:1fr!important}
 .oz-vehicle-art{width:100%!important;height:auto!important;min-height:0!important;aspect-ratio:1/1!important}
 .oz-vehicle-art img{aspect-ratio:1/1!important}
}

/* Armory hero */
.oz-armory-art{
  background-image:
    linear-gradient(90deg,rgba(0,0,0,.18),rgba(0,0,0,.02)),
    url('/assets/armory/armory-hero.jpg')!important;
  background-size:cover!important;
  background-position:center 52%!important;
  min-height:210px!important;
  height:210px!important;
}
.oz-armory-art:after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,transparent 45%,rgba(6,7,5,.38));
  pointer-events:none;
}
.oz-armory-art>div{z-index:2!important}

/* Armory item cards become image-led like Vehicle Bay */
.oz-armory-grid{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:10px!important;
}
.oz-armory-item{
  display:grid!important;
  grid-template-columns:92px minmax(0,1fr)!important;
  min-height:126px!important;
  padding:8px!important;
  gap:9px!important;
}
.oz-armory-item-img{
  width:92px!important;
  height:92px!important;
  min-height:92px!important;
  aspect-ratio:1/1!important;
  object-fit:cover!important;
  background-size:cover!important;
  background-position:center!important;
  border:1px solid #41636b!important;
  box-shadow:inset 0 0 0 2px #071116!important;
}
.oz-armory-item-main{min-width:0!important}
.oz-armory-item h3{font-size:14px!important;line-height:1.15!important}
.oz-armory-stats{margin-top:6px!important}
.oz-armory-foot{margin-top:7px!important}
.oz-armory-item.equipped{
  grid-template-columns:82px minmax(0,1fr)!important;
}
.oz-armory-item.equipped .oz-armory-item-img{
  width:82px!important;height:82px!important;min-height:82px!important;
}
.oz-equipped-mini-grid{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
}

/* Squad field locker uses the same detailed item art */
.oz-mini-gear{
  grid-template-columns:58px minmax(0,1fr)!important;
  flex-basis:238px!important;
}
.oz-mini-gear-img{
  width:58px!important;
  height:58px!important;
  background-size:cover!important;
  background-position:center!important;
  border-color:#41636b!important;
}

/* Fallback gear art remains muted if no unique image mapping exists */
.oz-armory-item-img.oz-gear-weapon,
.oz-armory-item-img.oz-gear-armor,
.oz-armory-item-img.oz-gear-utility,
.oz-mini-gear-img.oz-gear-weapon,
.oz-mini-gear-img.oz-gear-armor,
.oz-mini-gear-img.oz-gear-utility{
  background-color:#0a171c!important;
}

@media(max-width:1200px){
 .oz-armory-grid,.oz-equipped-mini-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:850px){
 .oz-armory-grid,.oz-equipped-mini-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:560px){
 .oz-armory-grid,.oz-equipped-mini-grid{grid-template-columns:1fr!important}
 .oz-armory-art{height:165px!important;min-height:165px!important}
}

/* OUTPOST ZERO v1.21 — concurrent field teams */
.oz-field-team-count{
  display:inline-block;
  margin-top:4px;
  color:#91a9aa;
  font-size:11px;
  letter-spacing:.5px;
}

/* =========================================================
   OUTPOST ZERO v1.22 — selected mission transport + Energy UX
   ========================================================= */
.oz-energy-badge span{display:block!important}
.oz-energy-countdown{color:#bdceca!important;font-weight:700!important}
.oz-energy-note{opacity:.8}

.oz-mission-transport-card{
  display:grid!important;
  grid-template-columns:72px minmax(0,1fr)!important;
  gap:8px!important;
  align-items:center!important;
  min-width:0!important;
  width:100%!important;
  padding:7px!important;
  border:1px solid #294752!important;
  background:#0a171c!important;
}
.oz-mission-transport-card img{
  width:72px!important;
  height:72px!important;
  aspect-ratio:1/1!important;
  object-fit:cover!important;
  border:1px solid #41636b!important;
  box-shadow:inset 0 0 0 2px #071116!important;
}
.oz-mission-transport-card small,
.oz-mission-transport-card b,
.oz-mission-transport-card span{display:block!important}
.oz-mission-transport-card small{color:#91a9aa!important;font-size:11px!important;letter-spacing:.8px!important}
.oz-mission-transport-card b{margin:2px 0;color:#bdceca!important;font-size:13px!important}
.oz-mission-transport-card span{color:#66858a!important;font-size:11px!important;line-height:1.3!important}

/* The route marker SVG is now an etched Outpost scout-buggy glyph */
.oz-route-vehicle{
  width:40px!important;
  height:30px!important;
  top:-6px!important;
  background:#0a171c!important;
}
.oz-route-vehicle img{
  width:36px!important;
  height:24px!important;
  margin:2px!important;
  object-fit:contain!important;
}

@media(max-width:760px){
 .oz-mission-transport-card{grid-template-columns:60px minmax(0,1fr)!important}
 .oz-mission-transport-card img{width:60px!important;height:60px!important}
}

/* OUTPOST ZERO v1.23 — active mission grid stabilization */
.oz-mission-body{
  grid-template-columns:minmax(0,1.2fr) minmax(210px,.62fr) minmax(270px,.72fr)!important;
  gap:12px!important;
  align-items:start!important;
}
.oz-mission-info{
  display:grid!important;
  grid-template-columns:1fr!important;
  align-content:start!important;
  gap:8px!important;
  min-width:0!important;
  width:100%!important;
}
.oz-mission-info .oz-mission-meta-v2{
  width:100%!important;
  min-width:0!important;
  margin:0!important;
}
.oz-mission-info .oz-mission-transport-card{
  width:100%!important;
  min-width:0!important;
  margin:0!important;
  box-sizing:border-box!important;
}
.oz-mission-control{
  min-width:0!important;
  width:100%!important;
}
.oz-stage-box{
  width:100%!important;
  box-sizing:border-box!important;
}
.oz-mission-slots.mission-party-live{
  width:100%!important;
  min-width:0!important;
}
@media(max-width:1180px){
  .oz-mission-body{
    grid-template-columns:minmax(0,1fr) minmax(240px,.72fr)!important;
  }
  .oz-mission-control{
    grid-column:1/-1!important;
  }
}
@media(max-width:760px){
  .oz-mission-body{
    grid-template-columns:1fr!important;
  }
  .oz-mission-info,.oz-mission-control{
    grid-column:auto!important;
  }
}

/* =========================================================
   OUTPOST ZERO v1.24 — Crafting visual/stat overhaul
   ========================================================= */
.oz-crafting-art-v2{
  position:relative;
  min-height:220px!important;
  height:220px!important;
  margin-bottom:14px!important;
  overflow:hidden!important;
  border:1px solid #41636b!important;
  background:
    linear-gradient(90deg,rgba(5,6,4,.08),rgba(5,6,4,.2)),
    url('/assets/armory/armory-hero.jpg') center 52%/cover!important;
  box-shadow:inset 0 0 0 3px #071116!important;
}
.oz-crafting-art-v2:after{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(180deg,transparent 48%,rgba(6,7,5,.58)),
             repeating-linear-gradient(0deg,transparent 0 3px,rgba(193,207,104,.02) 3px 4px);
}
.oz-crafting-art-v2>div{
  position:absolute;z-index:2;left:18px;bottom:16px;
  max-width:520px;padding:10px 12px;border:1px solid #41636b;background:rgba(8,9,6,.88)
}
.oz-crafting-art-v2 small,.oz-crafting-art-v2 b,.oz-crafting-art-v2 span{display:block}
.oz-crafting-art-v2 small{color:#91a9aa;font-size:11px;letter-spacing:1px}
.oz-crafting-art-v2 b{margin:3px 0;color:#bdceca;font:700 18px Georgia,serif}
.oz-crafting-art-v2 span{color:#66858a;font-size:12px}

.oz-crafting-stock{margin-bottom:14px!important;padding:14px!important}
.oz-material-stock{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:12px}
.oz-material-stock article{
  display:grid;grid-template-columns:54px minmax(0,1fr) auto;gap:10px;align-items:center;
  padding:8px;border:1px solid #294752;background:#0a171c
}
.oz-material-stock img{width:54px;height:54px;border:1px solid #294752}
.oz-material-stock b,.oz-material-stock span{display:block}
.oz-material-stock b{color:#bdceca;font-size:13px}.oz-material-stock span{margin-top:2px;color:#66858a;font-size:11px}
.oz-material-stock strong{color:#bdceca;font-size:20px}

.oz-recipe-grid-v2{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
.oz-recipe-card-v2{
  display:grid;grid-template-columns:190px minmax(0,1fr);gap:12px;
  min-width:0;padding:9px;border:2px solid #294752;background:linear-gradient(180deg,#0a171c,#0a171c);
  box-shadow:inset 0 0 0 2px #071116,0 9px 25px rgba(0,0,0,.26)
}
.oz-recipe-card-v2.craft-ready{background:linear-gradient(180deg,#102128,#0a171c)}
.oz-recipe-card-v2.craft-missing{opacity:.78}
.oz-recipe-output{position:relative;min-width:0;aspect-ratio:1/1;overflow:hidden;border:1px solid #41636b;background:#071116}
.oz-recipe-output img{display:block;width:100%;height:100%;object-fit:cover;filter:sepia(.04) saturate(.9) contrast(1.06)}
.oz-recipe-output:after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,transparent 50%,rgba(5,6,4,.62))}
.oz-recipe-output .rarity-text{position:absolute;z-index:2;left:7px;top:7px;padding:4px 6px;border:1px solid currentColor;background:rgba(7,8,5,.88)}
.oz-recipe-slot{position:absolute;z-index:2;left:7px;bottom:7px;padding:4px 6px;border:1px solid #41636b;background:rgba(7,8,5,.88);color:#bdceca;font-size:11px;font-weight:800}

.oz-recipe-copy{display:flex;flex-direction:column;min-width:0}
.oz-recipe-title{display:flex;justify-content:space-between;gap:10px;align-items:start;padding-bottom:8px;border-bottom:1px solid #183039}
.oz-recipe-title small{color:#66858a;font-size:11px;letter-spacing:1px}.oz-recipe-title h2{margin:3px 0 0!important;color:#bdceca!important;font:700 19px Georgia,serif!important}
.oz-recipe-title>strong{flex:0 0 auto;color:#bdceca;font-size:17px}

.oz-craft-stat-grid{display:flex;flex-wrap:wrap;gap:5px;margin:9px 0}
.oz-craft-stat-grid span{padding:5px 7px;border:1px solid #294752;background:#071116;color:#41636b;font-size:11px}
.oz-craft-stat-grid b{color:#bdceca}

.oz-craft-requires>small{display:block;margin-bottom:6px;color:#66858a;font-size:11px;letter-spacing:.8px}
.oz-ingredient-row{display:grid;gap:5px}
.oz-ingredient{
  display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:7px;align-items:center;
  padding:5px;border:1px solid #294752;background:#071116
}
.oz-ingredient img{width:42px;height:42px;border:1px solid #294752}
.oz-ingredient b,.oz-ingredient span{display:block}.oz-ingredient b{color:#bdceca;font-size:11px}.oz-ingredient span{margin-top:2px;color:#66858a;font-size:11px}
.oz-ingredient em{font-style:normal;font-size:11px;font-weight:800}
.oz-ingredient.enough{border-color:#41636b}.oz-ingredient.enough em{color:#91a9aa}
.oz-ingredient.missing{border-color:#654338}.oz-ingredient.missing em{color:#d17b66}

.oz-recipe-footer{display:grid;gap:7px;margin-top:auto;padding-top:10px}
.oz-craft-state{display:flex;align-items:center;gap:6px;font-size:11px;font-weight:900;letter-spacing:.7px}
.oz-craft-state i{width:7px!important;height:7px!important;margin:0!important;border-radius:50%!important;background:none!important}
.oz-craft-state.ready{color:#91a9aa}.oz-craft-state.ready i{background:#91a9aa!important;box-shadow:0 0 7px rgba(145,169,77,.35)}
.oz-craft-state.missing{color:#bc715f}.oz-craft-state.missing i{background:#9b5144!important}
.oz-recipe-footer .game-btn{width:100%!important}

@media(max-width:1120px){
 .oz-recipe-grid-v2{grid-template-columns:1fr!important}
}
@media(max-width:680px){
 .oz-recipe-card-v2{grid-template-columns:130px minmax(0,1fr)}
 .oz-material-stock{grid-template-columns:1fr}
}
@media(max-width:480px){
 .oz-recipe-card-v2{grid-template-columns:1fr}
 .oz-recipe-output{max-height:210px;aspect-ratio:16/10}
}

/* OUTPOST ZERO v1.25 — advanced crafting tiers */
.oz-material-stock{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
}
.oz-material-stock article{
  border-width:2px!important;
}
.oz-material-stock article img{
  object-fit:cover!important;
  background:#0a171c!important;
}
.oz-material-stock .rarity-text{
  margin-bottom:2px!important;
  font-weight:900!important;
  letter-spacing:.8px!important;
}
.oz-recipe-card-v2.rarity-border-epic,
.oz-recipe-card-v2.rarity-border-legendary{
  box-shadow:inset 0 0 0 2px #071116,0 0 14px rgba(0,0,0,.32)!important;
}
.oz-recipe-card-v2.rarity-border-legendary{
  background:linear-gradient(180deg,#102128,#071116)!important;
}
@media(max-width:900px){
 .oz-material-stock{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:560px){
 .oz-material-stock{grid-template-columns:1fr!important}
}

/* =========================================================
   OUTPOST ZERO v1.26 — Field Locker inventory controls
   ========================================================= */
.oz-loadout-armory .panel-title p{
 margin:4px 0 0;color:#66858a;font-size:11px;line-height:1.35
}
.oz-locker-toolbar{
 display:flex;justify-content:space-between;align-items:end;gap:12px;
 margin-top:12px;padding:9px;border:1px solid #294752;background:#071116
}
.oz-locker-filters{display:flex;flex-wrap:wrap;gap:5px}
.oz-locker-filters button{
 display:flex;align-items:center;gap:6px;min-height:34px;padding:6px 9px;
 border:1px solid #294752;background:#0a171c;color:#66858a;
 font-size:11px;font-weight:800;letter-spacing:.5px;cursor:pointer
}
.oz-locker-filters button b{
 display:grid;place-items:center;min-width:21px;height:20px;padding:0 4px;
 border:1px solid #294752;background:#071116;color:#bdceca;font-size:11px
}
.oz-locker-filters button:hover{border-color:#41636b;color:#bdceca}
.oz-locker-filters button.active{
 border-color:#91a9aa;background:#102128;color:#bdceca;
 box-shadow:inset 0 0 0 1px rgba(150,169,74,.12),0 0 8px rgba(150,169,74,.08)
}
.oz-locker-tools{display:flex;gap:7px;align-items:end}
.oz-locker-search,.oz-locker-sort{display:grid;gap:3px}
.oz-locker-search>span,.oz-locker-sort>span{color:#66858a;font-size:11px;letter-spacing:.8px}
.oz-locker-search input,.oz-locker-sort select{
 min-height:34px;padding:6px 8px;border:1px solid #294752;
 background:#071116;color:#bdceca;font-size:11px;outline:none
}
.oz-locker-search input{width:150px}
.oz-locker-sort select{width:105px}
.oz-locker-search input:focus,.oz-locker-sort select:focus{border-color:#66858a}

.oz-locker-summary{
 display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;
 margin:8px 0 0;padding:6px 8px;border:1px solid #183039;background:#071116;
 color:#66858a;font-size:11px
}
.oz-locker-summary b{color:#bdceca}
.oz-locker-selected{color:#91a9aa!important}

.oz-mini-gear-tray{
 display:grid!important;
 grid-template-columns:repeat(4,minmax(0,1fr))!important;
 gap:7px!important;
 max-height:315px;
 overflow-y:auto!important;
 overflow-x:hidden!important;
 padding:2px 2px 7px!important
}
.oz-mini-gear{
 display:grid!important;
 grid-template-columns:68px minmax(0,1fr)!important;
 flex:none!important;
 min-width:0!important;
 min-height:92px!important;
 padding:6px!important;
 cursor:grab!important;
 transition:border-color .15s,background .15s,transform .15s,opacity .15s!important
}
.oz-mini-gear[hidden]{display:none!important}
.oz-mini-gear:hover{transform:translateY(-1px)}
.oz-mini-gear.is-selected{
 outline:1px solid #91a9aa!important;
 outline-offset:1px;
 background:#102128!important
}
.oz-mini-gear-img{
 position:relative;width:68px!important;height:78px!important;
 background-size:cover!important;background-position:center!important
}
.oz-locker-slot-icon{
 position:absolute;left:4px;bottom:4px;display:grid!important;place-items:center;
 width:20px;height:20px;margin:0!important;border:1px solid #41636b;
 background:rgba(7,8,5,.88);color:#bdceca!important;font:900 11px Consolas,monospace
}
.oz-mini-gear-copy{min-width:0}
.oz-mini-gear-copy>.rarity-text{
 display:block;margin:0 0 2px!important;font-size:11px!important;font-weight:900!important
}
.oz-mini-gear-copy>b{
 display:block;overflow:hidden;color:#bdceca;font-size:12px;
 white-space:nowrap;text-overflow:ellipsis
}
.oz-mini-gear-copy>span:not(.rarity-text){display:block;margin:2px 0;color:#66858a;font-size:11px}
.oz-mini-statline{display:flex;flex-wrap:wrap;gap:3px;margin:4px 0}
.oz-mini-statline em{
 padding:2px 4px;border:1px solid #183039;background:#071116;
 color:#66858a;font-size:11px;font-style:normal
}
.oz-mini-gear-copy>strong{display:block;color:#bdceca;font-size:11px}
.oz-locker-empty-filter{
 padding:16px;margin-top:8px;border:1px dashed #294752;
 color:#66858a;text-align:center;font-size:12px
}
@media(max-width:1200px){
 .oz-mini-gear-tray{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:900px){
 .oz-locker-toolbar{align-items:stretch;flex-direction:column}
 .oz-locker-tools{width:100%}
 .oz-locker-search{flex:1}.oz-locker-search input{width:100%}
 .oz-mini-gear-tray{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:560px){
 .oz-locker-tools{display:grid;grid-template-columns:1fr 110px}
 .oz-locker-sort select{width:100%}
 .oz-mini-gear-tray{grid-template-columns:1fr!important;max-height:360px}
 .oz-locker-filters{display:grid;grid-template-columns:repeat(2,1fr)}
 .oz-locker-filters button{justify-content:space-between}
}

/* OUTPOST ZERO v1.27 — Survivor Promotion */
.oz-promotion-box{margin:8px 0;padding:8px;border:1px solid #294752;background:#071116}
.oz-promotion-box.ready{border-color:#66858a;box-shadow:inset 0 0 12px rgba(150,170,75,.05)}
.oz-promotion-box.locked{opacity:.72}
.oz-promotion-head{display:grid;grid-template-columns:auto 1fr auto;gap:7px;align-items:center}
.oz-promotion-head small{color:#66858a;font-size:11px;letter-spacing:.7px}
.oz-promotion-head b{font-size:11px}.oz-promotion-head span{color:#66858a;font-size:11px}
.oz-promotion-cost{display:flex;flex-wrap:wrap;gap:4px;margin:6px 0}
.oz-promotion-cost span{padding:3px 5px;border:1px solid #294752;background:#071116;color:#91a9aa;font-size:11px}
.oz-promotion-perk{margin-bottom:6px;color:#91a9aa;font-size:11px;line-height:1.35}
.oz-promote-btn{width:100%!important;min-height:32px!important}
.oz-promotion-box.max{display:flex;justify-content:space-between;align-items:center}
.oz-promotion-box.max span{color:#66858a;font-size:11px}
@media(max-width:560px){.oz-promotion-head{grid-template-columns:1fr}.oz-promotion-head span{justify-self:start}}

/* =========================================================
   OUTPOST ZERO v1.28 — Base 2.0
   ========================================================= */
.oz-base-effects{margin-bottom:14px!important}
.oz-base-scrap{padding:5px 8px;border:1px solid #294752;background:#071116;color:#66858a;font-size:11px}
.oz-base-scrap b{color:#bdceca}
.oz-base-effect-grid{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:6px;margin-top:10px}
.oz-base-effect-grid article{min-width:0;padding:9px 7px;border:1px solid #294752;background:#071116;text-align:center}
.oz-base-effect-grid small,.oz-base-effect-grid b,.oz-base-effect-grid span{display:block}
.oz-base-effect-grid small{color:#66858a;font-size:11px;letter-spacing:.6px}
.oz-base-effect-grid b{margin:4px 0;color:#bdceca;font-size:18px}
.oz-base-effect-grid span{color:#66858a;font-size:11px;line-height:1.25}
.oz-building-grid-v2{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
.oz-building-card-v2{display:grid!important;grid-template-columns:170px minmax(0,1fr)!important;padding:8px!important;min-width:0!important;border:2px solid #294752!important;background:linear-gradient(180deg,#102128,#071116)!important}
.oz-building-visual{position:relative;display:flex;flex-direction:column;justify-content:flex-end;min-height:190px;padding:10px;border:1px solid #294752;background:radial-gradient(circle at 50% 35%,#183039 0,#102128 42%,#071116 75%);overflow:hidden}
.oz-building-visual:before{content:"";position:absolute;inset:0;background:repeating-linear-gradient(0deg,transparent 0 4px,rgba(192,205,104,.025) 4px 5px)}
.oz-building-glyph{position:absolute;left:50%;top:45%;transform:translate(-50%,-50%);display:grid;place-items:center;width:82px;height:82px;border:3px double #66858a;color:#bdceca;font:900 28px Georgia,serif;box-shadow:0 0 20px rgba(145,165,73,.08)}
.oz-building-visual span,.oz-building-visual b{position:relative;z-index:2;display:block}
.oz-building-visual span{color:#66858a;font-size:11px}.oz-building-visual b{margin-top:3px;color:#bdceca;font-size:12px}
.oz-building-content{display:flex;flex-direction:column;min-width:0;padding:3px 4px}
.oz-building-title{display:flex;justify-content:space-between;gap:8px;align-items:start}
.oz-building-title small{color:#66858a;font-size:11px;letter-spacing:.7px}.oz-building-title h2{margin:2px 0!important;color:#bdceca!important;font:700 19px Georgia,serif!important}.oz-building-title strong{color:#bdceca;font-size:13px}
.oz-building-content>p{margin:5px 0 9px;color:#66858a;font-size:11px;line-height:1.4}
.oz-building-progress{height:8px;margin-bottom:9px;border:1px solid #294752;background:#071116;overflow:hidden}
.oz-building-progress i{display:block;height:100%;background:linear-gradient(90deg,#41636b,#91a9aa)}
.oz-next-upgrade{padding:7px;border:1px solid #183039;background:#071116}.oz-next-upgrade small,.oz-next-upgrade b{display:block}.oz-next-upgrade small{color:#66858a;font-size:11px}.oz-next-upgrade b{margin-top:3px;color:#91a9aa;font-size:11px;line-height:1.35}
.oz-upgrade-cost{display:flex;gap:5px;flex-wrap:wrap;margin:7px 0}.oz-upgrade-cost span{padding:4px 6px;border:1px solid #294752;background:#071116;color:#91a9aa;font-size:11px}
.oz-upgrade-btn{width:100%!important;margin-top:auto!important}
.oz-facility-max{margin-top:auto;padding:8px;border:1px solid #41636b;color:#91a9aa;text-align:center;font-size:11px;font-weight:900}
@media(max-width:1250px){.oz-base-effect-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:900px){.oz-building-grid-v2{grid-template-columns:1fr!important}.oz-base-effect-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.oz-building-card-v2{grid-template-columns:1fr!important}.oz-building-visual{min-height:130px}.oz-building-glyph{width:65px;height:65px;font-size:22px}}

/* =========================================================
   OUTPOST ZERO v1.29 — World Map / Zones
   ========================================================= */
.oz-world-head .oz-power-badge span{display:block;margin-top:4px}
.oz-world-map{
 position:relative;
 display:grid;
 grid-template-columns:repeat(12,minmax(0,1fr));
 grid-template-rows:repeat(10,72px);
 gap:0;
 min-height:720px;
 margin-bottom:14px;
 padding:18px;
 overflow:hidden;
 border:1px solid #294752;
 background:
  radial-gradient(circle at 18% 70%,rgba(125,139,63,.08),transparent 22%),
  radial-gradient(circle at 78% 22%,rgba(136,101,59,.08),transparent 24%),
  linear-gradient(135deg,#102128,#071116 70%);
 box-shadow:inset 0 0 0 3px #071116,0 12px 30px rgba(0,0,0,.25)
}
.oz-map-grid{
 position:absolute;inset:0;pointer-events:none;opacity:.26;
 background-image:
  linear-gradient(rgba(180,193,96,.09) 1px,transparent 1px),
  linear-gradient(90deg,rgba(180,193,96,.09) 1px,transparent 1px);
 background-size:44px 44px
}
.oz-map-grid:after{
 content:"";position:absolute;inset:0;
 background:
  repeating-linear-gradient(13deg,transparent 0 35px,rgba(126,105,63,.035) 36px 38px),
  radial-gradient(circle at 50% 50%,transparent 0 44%,rgba(0,0,0,.38) 100%)
}
.oz-map-route{
 position:absolute;
 left:9%;top:54%;
 width:82%;height:4px;
 transform:rotate(-13deg);
 transform-origin:left center;
 border-top:2px dashed #41636b;
 opacity:.65;
 filter:drop-shadow(0 0 4px rgba(157,177,76,.12))
}
.oz-outpost-node{
 position:relative;z-index:3;
 grid-column:1/3;grid-row:7/9;
 align-self:center;justify-self:center;
 display:grid;place-items:center;
 width:112px;height:112px;
 border:3px double #66858a;
 background:#0a171c;
 box-shadow:0 0 20px rgba(149,168,76,.12)
}
.oz-outpost-node span{font:900 28px Georgia,serif;color:#bdceca}
.oz-outpost-node b{font-size:11px;color:#bdceca}
.oz-outpost-node small{font-size:11px;color:#66858a}

.oz-zone-node{
 position:relative;z-index:4;
 display:grid;
 grid-template-columns:150px minmax(0,1fr);
 width:min(100%,390px);
 min-height:190px;
 align-self:center;
 border:2px solid #294752;
 background:linear-gradient(180deg,#102128,#071116);
 box-shadow:inset 0 0 0 2px #071116,0 8px 22px rgba(0,0,0,.35)
}
.oz-zone-node.zone-1{grid-column:3/7;grid-row:7/10}
.oz-zone-node.zone-2{grid-column:6/10;grid-row:5/8}
.oz-zone-node.zone-3{grid-column:9/13;grid-row:3/6}
.oz-zone-node.zone-4{grid-column:4/8;grid-row:2/5}
.oz-zone-node.zone-5{grid-column:8/12;grid-row:1/4}
.oz-zone-node.unlocked{border-color:#41636b}
.oz-zone-node.locked{border-color:#294752;filter:saturate(.55)}
.oz-zone-node.locked .oz-zone-image{filter:grayscale(.7) brightness(.48)}
.oz-zone-image{
 position:relative;
 min-height:100%;
 background-size:cover;
 background-position:center;
 border-right:1px solid #294752;
 overflow:hidden
}
.oz-zone-image:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 45%,rgba(5,6,4,.78))}
.oz-zone-number,.oz-zone-image>em{
 position:absolute;z-index:2;
 padding:4px 6px;
 background:rgba(7,8,5,.88);
 font-size:11px;font-style:normal;font-weight:900
}
.oz-zone-number{left:6px;top:6px;border:1px solid #41636b;color:#bdceca}
.oz-zone-image>em{left:6px;bottom:6px;border:1px solid #41636b;color:#c78b63}
.oz-zone-copy{display:flex;flex-direction:column;min-width:0;padding:9px}
.oz-zone-title{display:flex;justify-content:space-between;gap:8px}
.oz-zone-title small{display:block;color:#66858a;font-size:11px;line-height:1.25}
.oz-zone-title h2{margin:2px 0!important;color:#bdceca!important;font:700 17px Georgia,serif!important}
.oz-zone-title>strong{color:#bdceca;font-size:15px}
.oz-zone-progress{height:7px;margin:6px 0;border:1px solid #294752;background:#071116;overflow:hidden}
.oz-zone-progress i{display:block;height:100%;background:linear-gradient(90deg,#41636b,#91a9aa)}
.oz-zone-meta{display:flex;flex-wrap:wrap;gap:4px;margin-bottom:7px}
.oz-zone-meta span{padding:3px 5px;border:1px solid #294752;background:#071116;color:#41636b;font-size:11px}
.oz-zone-meta b{color:#bdceca}
.oz-zone-loot>small{display:block;margin-bottom:4px;color:#66858a;font-size:11px;letter-spacing:.7px}
.oz-zone-loot>div{display:flex;flex-wrap:wrap;gap:3px}
.oz-zone-loot>div>span{display:inline-flex;align-items:center;gap:4px;padding:3px 5px;border-width:1px!important;background:#071116;color:#91a9aa;font-size:11px}
.oz-zone-loot .rarity-text{font-size:11px!important}
.oz-zone-action{display:block!important;width:100%!important;margin-top:auto!important;padding:7px!important;text-align:center!important;text-decoration:none!important}
.oz-zone-action.disabled{border-color:#294752!important;color:#41636b!important;background:#071116!important}
.oz-zone-requirements{display:flex;flex-wrap:wrap;gap:4px;margin:7px 0}
.oz-zone-requirements small{width:100%;color:#a67a5d;font-size:11px}
.oz-zone-requirements span{padding:3px 5px;border:1px solid #294752;background:#071116;font-size:11px}
.oz-zone-requirements .ok{color:#91a9aa;border-color:#41636b}
.oz-zone-requirements .bad{color:#c07762;border-color:#634236}

.oz-world-rules{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin-top:10px}
.oz-world-rules article{display:grid;grid-template-columns:38px 1fr;gap:8px;align-items:start;padding:8px;border:1px solid #294752;background:#071116}
.oz-world-rules article>b{display:grid;place-items:center;width:38px;height:38px;border:1px solid #41636b;color:#91a9aa;font-size:12px}
.oz-world-rules span,.oz-world-rules strong{display:block}.oz-world-rules strong{margin-bottom:2px;color:#bdceca;font-size:12px}.oz-world-rules span{color:#66858a;font-size:11px;line-height:1.35}

.oz-mission-zone-nav{
 display:flex;gap:5px;align-items:center;overflow-x:auto;
 margin:0 0 12px;padding:6px;border:1px solid #294752;background:#071116
}
.oz-mission-zone-nav a{
 flex:0 0 auto;padding:6px 8px;border:1px solid #294752;
 color:#66858a;background:#0a171c;font-size:11px;font-weight:800;text-decoration:none
}
.oz-mission-zone-nav a:hover,.oz-mission-zone-nav a.active{border-color:#66858a;color:#bdceca;background:#102128}
.oz-mission-zone-nav .world-link{margin-left:auto;color:#bdceca}

@media(max-width:1250px){
 .oz-world-map{display:block;min-height:0;padding:12px}
 .oz-map-grid,.oz-map-route{display:none}
 .oz-outpost-node{width:auto;height:auto;margin-bottom:10px;padding:10px;display:flex;gap:9px;justify-content:flex-start}
 .oz-zone-node{width:100%;margin-bottom:9px}
 .oz-world-rules{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:620px){
 .oz-zone-node{grid-template-columns:110px minmax(0,1fr)}
 .oz-world-rules{grid-template-columns:1fr}
}
@media(max-width:460px){
 .oz-zone-node{grid-template-columns:1fr}
 .oz-zone-image{min-height:145px;border-right:0;border-bottom:1px solid #294752}
}

/* =========================================================
   OUTPOST ZERO v1.30 — Dynamic World Events
   ========================================================= */
.oz-events-panel{margin-bottom:12px!important}
.oz-events-panel>.panel-title>span{color:#66858a;font-size:11px}
.oz-event-strip{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:10px}
.oz-event-card{position:relative;padding:10px;border-width:2px!important;background:linear-gradient(180deg,#102128,#071116);box-shadow:inset 0 0 0 2px #071116}
.oz-event-card:before{content:"";position:absolute;inset:0;pointer-events:none;background:repeating-linear-gradient(0deg,transparent 0 5px,rgba(194,207,105,.018) 5px 6px)}
.oz-event-top{position:relative;display:flex;justify-content:space-between;gap:8px;align-items:center}
.oz-event-top em{color:#66858a;font-size:11px;font-style:normal;font-weight:800}
.oz-event-card h3{position:relative;margin:7px 0 3px;color:#bdceca;font:700 18px Georgia,serif}
.oz-event-card>p{position:relative;margin:0 0 8px;color:#66858a;font-size:11px;line-height:1.4}
.oz-event-stats{position:relative;display:flex;gap:5px;flex-wrap:wrap;margin-bottom:8px}
.oz-event-stats span{padding:4px 6px;border:1px solid #294752;background:#071116;color:#41636b;font-size:11px}
.oz-event-stats b{color:#bdceca}
.oz-event-timer{margin-left:auto!important;border-color:#41636b!important;color:#bdceca!important;font-weight:900}
.oz-event-timer.expired{border-color:#674238!important;color:#bd735f!important}
.oz-event-decisions{position:relative;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
.oz-event-decisions button{min-height:72px;padding:7px;border:1px solid #41636b;background:#0a171c;color:#91a9aa;text-align:left;cursor:pointer}
.oz-event-decisions button:hover{border-color:#91a9aa;background:#102128}
.oz-event-decisions b,.oz-event-decisions span,.oz-event-decisions small{display:block}
.oz-event-decisions b{font-size:11px;color:#bdceca}
.oz-event-decisions span{margin:3px 0;color:#66858a;font-size:11px;line-height:1.3}
.oz-event-decisions small{color:#41636b;font-size:11px}
.oz-event-empty{grid-column:1/-1;padding:12px;border:1px dashed #294752;color:#66858a;font-size:11px}
@media(max-width:800px){.oz-event-strip{grid-template-columns:1fr}}
@media(max-width:500px){.oz-event-decisions{grid-template-columns:1fr}}

/* =========================================================
   OUTPOST ZERO v1.31 — Combat 2.0
   ========================================================= */
.oz-combat-panel{padding:10px!important}
.oz-enemy-card{display:grid;grid-template-columns:115px minmax(0,1fr);gap:9px;margin:8px 0;padding:6px;border-width:2px!important;background:#071116}
.oz-enemy-portrait{position:relative;min-height:112px;background-size:cover;background-position:center;overflow:hidden;border:1px solid #294752}
.oz-enemy-portrait .rarity-text{position:absolute;z-index:2;left:5px;top:5px;padding:3px 5px;background:rgba(7,8,5,.88);border:1px solid currentColor}
.oz-enemy-portrait em{position:absolute;z-index:2;left:5px;bottom:5px;padding:3px 5px;border:1px solid #41636b;background:rgba(7,8,5,.88);color:#c28a62;font-size:11px;font-style:normal;font-weight:800}
.oz-enemy-data{display:flex;flex-direction:column;justify-content:space-between;min-width:0}
.oz-enemy-data small{color:#66858a;font-size:11px;letter-spacing:.8px}.oz-enemy-data h3{margin:2px 0!important;color:#bdceca!important;font:700 18px Georgia,serif!important}.oz-enemy-data>div>span{color:#66858a;font-size:11px}
.oz-enemy-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:4px;margin-top:8px}
.oz-enemy-stats span{padding:5px;border:1px solid #294752;background:#071116;color:#41636b;font-size:11px;text-align:center}.oz-enemy-stats b{display:block;margin-top:2px;color:#bdceca;font-size:12px}
.oz-tactic-heading{margin:8px 0 5px}.oz-tactic-heading span,.oz-tactic-heading small{display:block}.oz-tactic-heading span{color:#91a9aa;font-size:11px;font-weight:900;letter-spacing:.7px}.oz-tactic-heading small{margin-top:2px;color:#66858a;font-size:11px}
.oz-tactic-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}
.oz-tactic-option{position:relative;display:block;cursor:pointer}
.oz-tactic-option input{position:absolute;opacity:0;pointer-events:none}
.oz-tactic-option>span{display:block;min-height:69px;padding:7px;border:1px solid #294752;background:#071116}
.oz-tactic-option b,.oz-tactic-option em,.oz-tactic-option small{display:block}.oz-tactic-option b{color:#91a9aa;font-size:11px}.oz-tactic-option em{margin:3px 0;color:#66858a;font-size:11px;font-style:normal;line-height:1.25}.oz-tactic-option small{color:#41636b;font-size:11px}
.oz-tactic-option.specialist>span{border-color:#41636b}.oz-tactic-option.specialist small{color:#91a9aa}
.oz-tactic-option input:checked+span{border-color:#91a9aa;background:#102128;box-shadow:inset 0 0 0 1px rgba(157,174,78,.14)}
.oz-tactic-option input:checked+span b{color:#bdceca}
.oz-engage-btn{width:100%!important;margin-top:7px!important}
@media(max-width:560px){.oz-enemy-card{grid-template-columns:90px minmax(0,1fr)}.oz-enemy-portrait{min-height:100px}.oz-enemy-stats{grid-template-columns:repeat(2,1fr)}.oz-tactic-grid{grid-template-columns:1fr}}

/* =========================================================
   OUTPOST ZERO v1.32 — Mission UX + event lock
   ========================================================= */
.oz-mission-body{position:relative!important}
.oz-slot-picker{
 position:absolute;
 z-index:50;
 left:10px;
 right:10px;
 top:10px;
 padding:8px;
 border:2px solid #66858a;
 background:#071116;
 box-shadow:0 12px 35px rgba(0,0,0,.72),inset 0 0 0 2px #071116
}
.oz-slot-picker-head{
 display:flex;justify-content:space-between;align-items:center;gap:8px;
 padding:3px 4px 7px;border-bottom:1px solid #294752
}
.oz-slot-picker-head small,.oz-slot-picker-head b{display:block}
.oz-slot-picker-head small{color:#66858a;font-size:11px;letter-spacing:.8px}
.oz-slot-picker-head b{margin-top:2px;color:#bdceca;font-size:13px}
.oz-slot-picker-close{
 width:30px;height:30px;padding:0;border:1px solid #41636b;background:#0a171c;color:#bdceca;
 font-size:18px;font-weight:900;cursor:pointer
}
.oz-slot-picker-list{
 display:grid;
 grid-template-columns:repeat(3,minmax(0,1fr));
 gap:6px;
 max-height:260px;
 overflow-y:auto;
 margin-top:7px
}
.oz-slot-picker-card{
 display:grid;
 grid-template-columns:52px minmax(0,1fr) auto;
 gap:7px;
 align-items:center;
 min-width:0;
 min-height:64px;
 padding:5px;
 border-width:1px!important;
 background:#0a171c;
 text-align:left;
 cursor:pointer
}
.oz-slot-picker-card:hover{background:#102128;outline:1px solid #66858a}
.oz-slot-picker-photo{
 display:block;width:52px;height:52px;
 border:1px solid #294752;
 background-size:cover;background-position:center
}
.oz-slot-picker-copy{min-width:0}
.oz-slot-picker-copy em,.oz-slot-picker-copy b,.oz-slot-picker-copy small{display:block}
.oz-slot-picker-copy em{color:#66858a;font-size:11px;font-style:normal;font-weight:900}
.oz-slot-picker-copy b{margin:2px 0;color:#bdceca;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.oz-slot-picker-copy small{color:#66858a;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.oz-slot-picker-card>strong{color:#bdceca;font-size:11px;white-space:nowrap}
.oz-slot-picker-empty{grid-column:1/-1;padding:16px;color:#66858a;text-align:center;font-size:11px}

.oz-event-decisions.is-submitting{opacity:.65;pointer-events:none}
.oz-event-decisions button:disabled{cursor:wait!important;filter:grayscale(.35)}

@media(max-width:900px){
 .oz-slot-picker-list{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:560px){
 .oz-slot-picker{left:5px;right:5px;top:5px}
 .oz-slot-picker-list{grid-template-columns:1fr;max-height:310px}
}

/* =========================================================
   OUTPOST ZERO v1.33 — Field Communicator + picker corrections
   ========================================================= */

/* DROP SURVIVOR picker is intentionally a vertical personnel list. */
.oz-slot-picker-list{
 grid-template-columns:1fr!important;
 max-height:330px!important;
}
.oz-slot-picker-card{
 grid-template-columns:58px minmax(0,1fr) auto!important;
 min-height:70px!important;
}
.oz-slot-picker-photo{width:58px!important;height:58px!important}

/* Sticky field communicator in the center of the account header. */
.oz-appbar{position:sticky!important;top:0!important}
.oz-field-comm{
 position:absolute;
 left:50%;
 top:50%;
 transform:translate(-50%,-50%);
 display:grid;
 grid-template-columns:28px minmax(260px,520px) 28px 42px;
 align-items:stretch;
 width:min(48vw,620px);
 min-width:360px;
 height:44px;
 border:1px solid #294752;
 background:#071116;
 box-shadow:inset 0 0 0 2px #071116,0 2px 12px rgba(0,0,0,.35);
 overflow:hidden;
 z-index:4
}
.oz-comm-screen{
 min-width:0;
 padding:4px 8px;
 border-left:1px solid #183039;
 border-right:1px solid #183039;
 background:
  repeating-linear-gradient(0deg,transparent 0 3px,rgba(181,200,89,.025) 3px 4px),
  #0a171c
}
.oz-comm-head{display:flex;justify-content:space-between;gap:8px;line-height:1}
.oz-comm-signal{color:#66858a;font-size:11px;font-weight:900;letter-spacing:.6px}
.oz-comm-index{color:#41636b;font-size:11px}
.oz-comm-message{
 margin-top:3px;
 overflow:hidden;
 color:#91a9aa;
 font-size:11px;
 line-height:1.15;
 white-space:nowrap;
 text-overflow:ellipsis
}
.oz-field-comm.has-message .oz-comm-message{color:#bdceca}
.oz-field-comm.is-ok{border-color:#41636b}
.oz-field-comm.is-ok .oz-comm-signal{color:#91a9aa}
.oz-field-comm.is-error{border-color:#74463b}
.oz-field-comm.is-error .oz-comm-signal{color:#d07b64}
.oz-comm-nav,.oz-comm-last{
 border:0;
 background:#0a171c;
 color:#66858a;
 font-size:18px;
 font-weight:900;
 cursor:pointer
}
.oz-comm-nav:hover,.oz-comm-last:hover{background:#102128;color:#bdceca}
.oz-comm-last{
 border-left:1px solid #183039;
 font-size:11px;
 letter-spacing:.4px
}
.oz-field-comm.pulse{animation:ozCommPulse .58s ease-out}
@keyframes ozCommPulse{
 0%{box-shadow:inset 0 0 0 2px #071116,0 0 0 rgba(169,190,82,0)}
 45%{box-shadow:inset 0 0 0 2px #071116,0 0 16px rgba(169,190,82,.28)}
 100%{box-shadow:inset 0 0 0 2px #071116,0 2px 12px rgba(0,0,0,.35)}
}

@media(max-width:1280px){
 .oz-field-comm{width:min(42vw,500px);min-width:320px;grid-template-columns:27px minmax(210px,1fr) 27px 40px}
}
@media(max-width:980px){
 .oz-field-comm{
  position:fixed;
  left:50%;
  top:58px;
  width:calc(100% - 18px);
  min-width:0;
  height:42px;
  z-index:120
 }
 .is-account .account-layout{padding-top:45px}
}
@media(max-width:560px){
 .oz-field-comm{grid-template-columns:26px minmax(0,1fr) 26px 38px}
 .oz-comm-message{font-size:11px}
 .oz-comm-signal{font-size:11px}
}

/* =========================================================
   OUTPOST ZERO v1.34 — Enemy Art / Factions / Bosses
   ========================================================= */
.oz-enemy-portrait{
 background-size:cover!important;
 background-position:center!important;
}
.oz-enemy-portrait.is-boss{
 border-color:#66858a!important;
 box-shadow:inset 0 0 0 2px #071116,0 0 14px rgba(184,137,68,.16)!important;
}
.oz-enemy-portrait.is-boss:after{
 content:"BOSS";
 position:absolute;
 right:5px;
 top:5px;
 z-index:3;
 padding:3px 5px;
 border:1px solid #66858a;
 background:rgba(15,10,6,.9);
 color:#d8a45f;
 font-size:11px;
 font-weight:900;
 letter-spacing:.8px;
}
.oz-faction-panel{margin-bottom:14px!important}
.oz-faction-panel>.panel-title>span{color:#66858a;font-size:11px}
.oz-faction-grid{
 display:grid;
 grid-template-columns:repeat(4,minmax(0,1fr));
 gap:8px;
 margin-top:10px
}
.oz-faction-card{
 display:grid;
 grid-template-columns:96px minmax(0,1fr);
 gap:8px;
 padding:7px;
 min-width:0;
 border:1px solid #294752;
 background:#071116
}
.oz-faction-card img{
 width:96px;
 height:96px;
 object-fit:cover;
 border:1px solid #41636b;
 box-shadow:inset 0 0 0 2px #071116
}
.oz-faction-card small,.oz-faction-card h3,.oz-faction-card p,.oz-faction-card span{display:block}
.oz-faction-card small{color:#66858a;font-size:11px;letter-spacing:.6px}
.oz-faction-card h3{margin:3px 0!important;color:#bdceca!important;font:700 16px Georgia,serif!important}
.oz-faction-card p{margin:0 0 6px;color:#66858a;font-size:11px;line-height:1.35}
.oz-faction-card span{color:#41636b;font-size:11px}
.oz-faction-card b{color:#bdceca}
.oz-mission-card-v2 .oz-threat{
 white-space:nowrap;
}
.oz-mission-card-v2:has(.oz-enemy-portrait.is-boss){
 border-color:#41636b!important;
 box-shadow:inset 0 0 0 2px #071116,0 0 18px rgba(159,117,61,.08)!important;
}
@media(max-width:1180px){
 .oz-faction-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:620px){
 .oz-faction-grid{grid-template-columns:1fr}
}

/* =========================================================
   OUTPOST ZERO v1.35 — Field Link marquee / zone separation / Squad picker
   ========================================================= */

/* FIELD LINK: smooth continuous marquee only for long messages */
.oz-comm-message{
 position:relative!important;
 overflow:hidden!important;
 white-space:nowrap!important;
}
.oz-comm-track{
 display:flex;
 align-items:center;
 width:max-content;
 min-width:100%;
 gap:56px;
 will-change:transform;
}
.oz-comm-track>span{
 display:block;
 flex:0 0 auto;
 white-space:nowrap;
}
.oz-comm-track>span[hidden]{display:none!important}
.oz-comm-track.is-scrolling{
 animation:ozCommMarquee var(--comm-duration,14s) linear infinite;
}
.oz-comm-screen:hover .oz-comm-track.is-scrolling{
 animation-play-state:paused;
}
@keyframes ozCommMarquee{
 from{transform:translateX(0)}
 to{transform:translateX(calc(-50% - 28px))}
}

/* Stronger visual separation between mission sectors */
.oz-zone-divider{
 position:relative!important;
 display:grid!important;
 grid-template-columns:120px minmax(0,1fr) auto!important;
 align-items:center!important;
 gap:12px!important;
 min-height:62px!important;
 margin:22px 0 10px!important;
 padding:9px 12px!important;
 border-width:2px!important;
 background:#071116!important;
 overflow:hidden!important;
}
.oz-zone-divider:before{
 content:"";
 position:absolute;
 inset:0;
 pointer-events:none;
 opacity:.28;
 background:linear-gradient(90deg,rgba(255,255,255,.025),transparent 45%);
}
.oz-zone-divider-id,.oz-zone-divider-name{position:relative;z-index:2}
.oz-zone-divider-id small,.oz-zone-divider-id b,
.oz-zone-divider-name strong,.oz-zone-divider-name span{display:block}
.oz-zone-divider-id small{font-size:11px!important;letter-spacing:.9px!important}
.oz-zone-divider-id b{margin-top:2px;font-size:17px!important}
.oz-zone-divider-name strong{font:700 16px Georgia,serif!important}
.oz-zone-divider-name span{margin-top:2px;font-size:11px!important}
.oz-zone-divider>em{
 position:relative;z-index:2;
 padding:5px 7px;
 border:1px solid currentColor;
 background:#071116;
 font-size:11px;
 font-style:normal;
 font-weight:900;
 white-space:nowrap
}
.oz-zone-divider.zone-1{border-color:#41636b!important;box-shadow:inset 5px 0 0 #41636b}
.oz-zone-divider.zone-1 .oz-zone-divider-id b,.oz-zone-divider.zone-1>em{color:#91a9aa}
.oz-zone-divider.zone-2{border-color:#41636b!important;box-shadow:inset 5px 0 0 #66858a}
.oz-zone-divider.zone-2 .oz-zone-divider-id b,.oz-zone-divider.zone-2>em{color:#bdceca}
.oz-zone-divider.zone-3{border-color:#6b4638!important;box-shadow:inset 5px 0 0 #925b46}
.oz-zone-divider.zone-3 .oz-zone-divider-id b,.oz-zone-divider.zone-3>em{color:#d58d6e}
.oz-zone-divider.zone-4{border-color:#51456a!important;box-shadow:inset 5px 0 0 #73608f}
.oz-zone-divider.zone-4 .oz-zone-divider-id b,.oz-zone-divider.zone-4>em{color:#b9a3dc}
.oz-zone-divider.zone-5{border-color:#41636b!important;box-shadow:inset 5px 0 0 #66858a}
.oz-zone-divider.zone-5 .oz-zone-divider-id b,.oz-zone-divider.zone-5>em{color:#bdceca}
.oz-zone-divider-name strong{color:#bdceca}
.oz-zone-divider-name span{color:#66858a}

/* Squad equipment picker: same interaction language as mission survivor picker */
.oz-survivor-loadout{position:relative!important}
.oz-equip-slot{cursor:pointer!important}
.oz-equip-slot:hover{border-color:#66858a!important;background:#102128!important}
.oz-gear-picker{
 position:absolute;
 z-index:70;
 left:8px;
 right:8px;
 top:126px;
 padding:8px;
 border:2px solid #66858a;
 background:#071116;
 box-shadow:0 14px 38px rgba(0,0,0,.74),inset 0 0 0 2px #071116
}
.oz-gear-picker-head{
 display:flex;
 justify-content:space-between;
 align-items:center;
 gap:8px;
 padding:3px 4px 7px;
 border-bottom:1px solid #294752
}
.oz-gear-picker-head small,.oz-gear-picker-head b{display:block}
.oz-gear-picker-head small{color:#66858a;font-size:11px;letter-spacing:.8px}
.oz-gear-picker-head b{margin-top:2px;color:#bdceca;font-size:13px}
.oz-gear-picker-close{
 width:30px;height:30px;padding:0;
 border:1px solid #41636b;
 background:#0a171c;color:#bdceca;
 font-size:18px;font-weight:900;cursor:pointer
}
.oz-gear-picker-list{
 display:grid;
 grid-template-columns:1fr!important;
 gap:5px;
 max-height:300px;
 overflow-y:auto;
 margin-top:7px
}
.oz-gear-picker-card{
 display:grid;
 grid-template-columns:58px minmax(0,1fr) auto;
 gap:8px;
 align-items:center;
 min-height:70px;
 padding:5px;
 border-width:1px!important;
 background:#0a171c;
 text-align:left;
 cursor:pointer
}
.oz-gear-picker-card:hover{background:#102128;outline:1px solid #66858a}
.oz-gear-picker-img{
 display:block;
 width:58px;height:58px;
 border:1px solid #294752;
 background-size:cover;
 background-position:center
}
.oz-gear-picker-copy{min-width:0}
.oz-gear-picker-copy em,.oz-gear-picker-copy b,.oz-gear-picker-copy small{display:block}
.oz-gear-picker-copy em{font-size:11px;font-style:normal;font-weight:900;color:#66858a}
.oz-gear-picker-copy b{margin:2px 0;color:#bdceca;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.oz-gear-picker-copy small{color:#66858a;font-size:11px;white-space:normal;line-height:1.25}
.oz-gear-picker-card>strong{color:#bdceca;font-size:11px;white-space:nowrap}
.oz-gear-picker-empty{padding:16px;color:#66858a;text-align:center;font-size:11px}

@media(max-width:700px){
 .oz-zone-divider{grid-template-columns:95px minmax(0,1fr)!important}
 .oz-zone-divider>em{grid-column:1/-1;justify-self:start}
 .oz-gear-picker{left:4px;right:4px;top:118px}
}

/* =========================================================
   OUTPOST ZERO v1.36 — Gear Upgrade / Dismantle + Squad fixes
   ========================================================= */

/* Real equipment artwork everywhere */
.oz-equip-img,
.oz-mini-gear-img,
.oz-reserve-eq>span,
.oz-gear-picker-img{
 background-size:cover!important;
 background-position:center!important;
 background-repeat:no-repeat!important;
}
.oz-equip-img{
 width:50px!important;
 height:50px!important;
 border:1px solid #41636b!important;
 box-shadow:inset 0 0 0 2px #071116!important;
}
.oz-reserve-eq>span{
 width:42px!important;
 height:42px!important;
 padding:0!important;
 background-color:#071116!important;
}
.oz-reserve-eq>span:not(.filled){
 background-image:none!important;
 border:1px dashed #294752!important;
}
.oz-reserve-eq>span i{display:none!important}
.oz-locker-slot-icon{
 background:rgba(7,8,5,.82)!important;
}

/* Upgrade badges */
.oz-upgrade-level{
 display:inline-block!important;
 margin-left:3px!important;
 color:#bdceca!important;
 font-size:12px!important;
 font-style:normal!important;
 text-shadow:0 0 7px rgba(190,207,100,.22)!important;
}
.oz-armory-item:has(.oz-upgrade-level){
 box-shadow:inset 0 0 0 2px #071116,0 0 10px rgba(150,170,73,.07)!important;
}

/* Armory upgrade / dismantle controls */
.oz-armory-foot{
 display:grid!important;
 grid-template-columns:auto minmax(0,1fr)!important;
 gap:7px!important;
 align-items:center!important;
}
.oz-armory-actions{
 display:flex!important;
 flex-wrap:wrap!important;
 gap:4px!important;
 justify-content:flex-end!important;
 align-items:center!important;
}
.oz-armory-actions form{margin:0!important}
.oz-armory-upgrade,
.oz-armory-dismantle,
.oz-max-upgrade{
 min-height:29px!important;
 padding:5px 7px!important;
 border:1px solid #294752!important;
 background:#0a171c!important;
 font-size:11px!important;
 font-weight:900!important;
 cursor:pointer!important;
}
.oz-armory-upgrade{
 border-color:#66858a!important;
 color:#bdceca!important;
 background:#102128!important;
}
.oz-armory-upgrade:hover{
 border-color:#91a9aa!important;
 background:#102128!important;
}
.oz-armory-dismantle{
 border-color:#674439!important;
 color:#c47c67!important;
}
.oz-armory-dismantle:hover{
 border-color:#95604d!important;
 background:#1b100d!important;
}
.oz-max-upgrade{
 display:inline-flex!important;
 align-items:center!important;
 color:#bdceca!important;
 border-color:#66858a!important;
 cursor:default!important;
}
.oz-upgrade-costline{
 grid-column:1/-1!important;
 display:flex!important;
 flex-wrap:wrap!important;
 gap:4px!important;
 padding-top:5px!important;
 border-top:1px solid #183039!important;
}
.oz-upgrade-costline span,
.oz-upgrade-costline strong{
 padding:3px 5px!important;
 border:1px solid #294752!important;
 background:#071116!important;
 color:#66858a!important;
 font-size:11px!important;
}
.oz-upgrade-costline strong{
 color:#bdceca!important;
 border-color:#41636b!important;
}

/* Clicking loadout slots now clearly behaves like a picker */
.oz-equip-slot{
 transition:border-color .15s,background .15s,transform .15s!important;
}
.oz-equip-slot:hover{
 transform:translateY(-1px)!important;
}
.oz-equip-slot:not(.equipped):hover .oz-equip-empty{
 color:#bdceca!important;
}

/* Squad action reloads should not visually jump */
html{scroll-behavior:auto!important}

@media(max-width:700px){
 .oz-armory-foot{grid-template-columns:1fr!important}
 .oz-armory-actions{justify-content:flex-start!important}
 .oz-upgrade-costline{grid-column:auto!important}
}

/* v1.37 — Active Squad / Reserve rules */
.oz-fighter-chip.is-not-fit{opacity:.52!important;filter:grayscale(.45)!important;cursor:not-allowed!important}
.oz-fighter-chip.is-not-fit .oz-hp-bar-v2{border-color:#704337!important}
.oz-fighter-chip.is-not-fit small{color:#c07661!important}
.oz-active-squad-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
@media(min-width:1500px){.oz-active-squad-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:800px){.oz-active-squad-grid{grid-template-columns:1fr!important}}

/* =========================================================
   OUTPOST ZERO v1.38 — Injuries / DOWNED / Med Bay
   ========================================================= */
.oz-medbay-triage{margin-bottom:14px!important}
.oz-medbay-triage .panel-title p{margin:4px 0 0;color:#66858a;font-size:11px;line-height:1.35}
.oz-medbay-level{padding:5px 7px;border:1px solid #41636b;background:#0a171c;color:#91a9aa;font-size:11px;font-weight:900}
.oz-medbay-clear{display:flex;justify-content:space-between;gap:10px;margin-top:10px;padding:10px;border:1px solid #41636b;background:#0a171c}
.oz-medbay-clear b{color:#91a9aa;font-size:12px}.oz-medbay-clear span{color:#66858a;font-size:11px}
.oz-medbay-patient-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-top:10px}
.oz-medbay-patient{display:grid;grid-template-columns:64px minmax(0,1fr) auto;gap:8px;align-items:center;padding:7px;border:1px solid #41636b;background:#0a171c}
.oz-medbay-patient.downed{border-color:#7b4036;background:#150b09;box-shadow:inset 0 0 12px rgba(152,57,43,.08)}
.oz-medbay-patient-photo{width:64px;height:64px;border:1px solid #294752;background-size:cover;background-position:center;filter:saturate(.75)}
.oz-medbay-patient-copy small,.oz-medbay-patient-copy b,.oz-medbay-patient-copy span,.oz-medbay-patient-copy em{display:block}
.oz-medbay-patient-copy small{color:#b06e57;font-size:11px;font-weight:900;letter-spacing:.6px}
.oz-medbay-patient-copy b{margin:2px 0;color:#bdceca;font-size:13px}
.oz-medbay-patient-copy span{color:#91a9aa;font-size:11px}
.oz-medbay-patient-copy em{margin-top:3px;color:#c17a64;font-size:11px;font-style:normal}
.oz-medbay-patient-cost{text-align:right}.oz-medbay-patient-cost small,.oz-medbay-patient-cost b{display:block}
.oz-medbay-patient-cost small{color:#66858a;font-size:11px}.oz-medbay-patient-cost b{margin:2px 0 5px;color:#bdceca;font-size:13px}
.oz-medbay-treat{min-width:78px!important}
.oz-injury-badge{display:inline-block!important;margin-top:4px!important;padding:3px 5px!important;border:1px solid #41636b!important;background:#0a171c!important;color:#c07c63!important;font-size:11px!important;font-style:normal!important;font-weight:800!important;line-height:1.25!important}
.oz-injury-badge.injury-minor{border-color:#41636b!important;color:#bdceca!important}
.oz-injury-badge.injury-serious{border-color:#41636b!important;color:#d18b67!important}
.oz-injury-badge.injury-severe{border-color:#754038!important;color:#db7663!important}
.oz-injury-badge.injury-critical{border-color:#8b382f!important;color:#ee725f!important;box-shadow:0 0 8px rgba(204,75,58,.13)}
.oz-reserve-card:has(.injury-critical){border-color:#74372f!important;background:#130a08!important}
.oz-fighter-chip:has(.injury-critical){border-color:#74372f!important}
@media(max-width:900px){.oz-medbay-patient-list{grid-template-columns:1fr}}
@media(max-width:520px){.oz-medbay-patient{grid-template-columns:54px minmax(0,1fr)}.oz-medbay-patient-photo{width:54px;height:54px}.oz-medbay-patient-cost{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;text-align:left}}

/* v1.39 Command Center */
.resource-code{width:50px!important;height:50px!important;flex-basis:50px!important;padding:0!important;overflow:hidden!important;background:#071116!important}
.resource-code img{width:100%!important;height:100%!important;object-fit:cover!important;filter:none!important;opacity:.94}
.oz-resource-strip article{min-height:64px!important}
.oz-action-icon{width:54px!important;height:54px!important;padding:0!important;overflow:hidden!important;background:#071116!important}
.oz-action-icon img{width:100%!important;height:100%!important;object-fit:cover!important;filter:sepia(.18) saturate(.82) contrast(1.06)!important}
.oz-action-grid>a{grid-template-columns:56px 1fr auto!important}
.account-sidebar .nav-icon{width:30px!important;height:30px!important;padding:0!important;overflow:hidden!important;border:1px solid #294752!important;background:#071116!important}
.oz-account .nav-icon img{width:100%!important;height:100%!important;object-fit:cover!important;opacity:.9!important;filter:sepia(.28) saturate(.72) contrast(1.08)!important}
.oz-account .account-nav.active .nav-icon img{filter:sepia(.08) saturate(.95) brightness(1.08)!important}
.oz-operation-art{background-position:center!important;background-size:cover!important}
@media(max-width:600px){.oz-action-grid>a{grid-template-columns:52px 1fr auto!important}.oz-action-icon{width:50px!important;height:50px!important}}

/* =========================================================
   OUTPOST ZERO v1.40 — Base art / Header resources / Survivor Traits
   ========================================================= */

/* Header currencies are actual physical resources now */
.oz-header-resource{
 display:flex!important;
 align-items:center!important;
 gap:6px!important;
 min-width:82px!important;
 padding:3px 7px!important;
 border:1px solid #294752!important;
 background:#071116!important;
}
.oz-header-resource img{
 width:30px!important;
 height:30px!important;
 flex:0 0 30px!important;
 object-fit:cover!important;
 border:1px solid #294752!important;
 background:#071116!important;
}
.oz-header-resource>span{display:block!important;min-width:0!important}
.oz-header-resource small,.oz-header-resource strong{display:block!important;line-height:1.05!important}
.oz-header-resource small{color:#66858a!important;font-size:11px!important;text-transform:uppercase!important}
.oz-header-resource strong{margin-top:2px!important;color:#bdceca!important;font-size:13px!important}
.oz-header-core img{border-color:#595479!important}
.oz-header-core strong{color:#bdb4dd!important}

/* Base facility cards: detailed facility photography instead of letter placeholders */
.oz-building-visual{
 background-size:cover!important;
 background-position:center!important;
 justify-content:flex-end!important;
 min-height:190px!important;
}
.oz-building-visual:before{
 background:linear-gradient(180deg,rgba(7,8,5,.05),rgba(7,8,5,.68))!important;
}
.oz-building-glyph{display:none!important}
.oz-building-visual span{
 padding:4px 6px!important;
 width:max-content!important;
 max-width:100%!important;
 border:1px solid #41636b!important;
 background:rgba(8,9,6,.82)!important;
 color:#bdceca!important;
}
.oz-building-visual b{
 width:max-content!important;
 padding:4px 6px!important;
 border:1px solid #294752!important;
 background:rgba(8,9,6,.86)!important;
 color:#bdceca!important;
}
.oz-building-card-v2{grid-template-columns:210px minmax(0,1fr)!important}

/* Traits / Perks */
.oz-trait-row{
 display:flex!important;
 flex-wrap:wrap!important;
 gap:5px!important;
 margin:7px 0 2px!important;
}
.oz-trait-chip{
 display:grid!important;
 grid-template-columns:auto 1fr!important;
 gap:1px 6px!important;
 min-width:145px!important;
 padding:5px 7px!important;
 border:1px solid #294752!important;
 background:#071116!important;
}
.oz-trait-chip small{grid-row:1/3!important;color:#66858a!important;font-size:11px!important;writing-mode:vertical-rl!important;transform:rotate(180deg)!important;letter-spacing:.5px!important}
.oz-trait-chip b{color:#bdceca!important;font-size:11px!important}
.oz-trait-chip em{color:#66858a!important;font-size:11px!important;font-style:normal!important;line-height:1.25!important}
.oz-trait-chip.innate{border-color:#41636b!important;background:#0a171c!important}
.oz-trait-chip.innate b{color:#bdceca!important}
.oz-trait-chip.perk{border-color:#41636b!important;background:#0a171c!important}
.oz-trait-chip.perk b{color:#bdceca!important}
.oz-reserve-traits{display:flex!important;flex-wrap:wrap!important;gap:3px!important;margin-top:5px!important}
.oz-reserve-traits span{padding:2px 4px!important;border:1px solid #41636b!important;background:#071116!important;color:#91a9aa!important;font-size:11px!important}
.oz-reserve-traits span.perk{border-color:#41636b!important;color:#91a9aa!important}

@media(max-width:900px){
 .oz-building-card-v2{grid-template-columns:170px minmax(0,1fr)!important}
 .oz-header-resource{min-width:68px!important}
}
@media(max-width:620px){
 .oz-building-card-v2{grid-template-columns:1fr!important}
 .oz-building-visual{min-height:155px!important}
 .oz-header-resource small{display:none!important}
 .oz-header-resource{min-width:0!important;padding:3px!important}
 .oz-header-resource img{width:26px!important;height:26px!important;flex-basis:26px!important}
}

/* =========================================================
   OUTPOST ZERO v1.41 — Compact Traits / Perks
   ========================================================= */
.oz-trait-row{display:none!important}

.oz-traits-panel{
 display:grid!important;
 grid-template-columns:minmax(0,1fr)!important;
 gap:5px!important;
 margin:7px 0 8px!important;
 min-height:0!important;
}
.oz-trait-main{
 display:grid!important;
 grid-template-columns:42px minmax(0,1fr)!important;
 grid-template-rows:auto auto!important;
 column-gap:7px!important;
 row-gap:1px!important;
 align-items:center!important;
 padding:5px 7px!important;
 border:1px solid #41636b!important;
 background:#0a171c!important;
 min-width:0!important;
}
.oz-trait-main>span{
 grid-row:1/3!important;
 display:flex!important;
 align-items:center!important;
 justify-content:center!important;
 align-self:stretch!important;
 border-right:1px solid #294752!important;
 color:#66858a!important;
 font-size:11px!important;
 font-weight:900!important;
 letter-spacing:.6px!important;
 writing-mode:horizontal-tb!important;
 transform:none!important;
}
.oz-trait-main>b{
 min-width:0!important;
 color:#bdceca!important;
 font-size:11px!important;
 white-space:nowrap!important;
 overflow:hidden!important;
 text-overflow:ellipsis!important;
}
.oz-trait-main>em{
 min-width:0!important;
 color:#66858a!important;
 font-size:11px!important;
 font-style:normal!important;
 line-height:1.2!important;
 white-space:normal!important;
 overflow-wrap:anywhere!important;
}

.oz-perk-list{
 display:grid!important;
 grid-template-columns:42px minmax(0,1fr)!important;
 gap:7px!important;
 align-items:start!important;
 padding:5px 7px!important;
 border:1px solid #41636b!important;
 background:#0a171c!important;
 min-width:0!important;
}
.oz-perk-label{
 display:flex!important;
 align-items:center!important;
 justify-content:center!important;
 min-height:30px!important;
 border-right:1px solid #294752!important;
 color:#66858a!important;
 font-size:11px!important;
 font-weight:900!important;
 letter-spacing:.6px!important;
}
.oz-perk-list>div{
 display:flex!important;
 flex-wrap:wrap!important;
 gap:4px!important;
 min-width:0!important;
}
.oz-perk-pill{
 display:inline-grid!important;
 grid-template-columns:auto!important;
 gap:1px!important;
 min-width:0!important;
 max-width:100%!important;
 padding:3px 5px!important;
 border:1px solid #41636b!important;
 background:#102128!important;
}
.oz-perk-pill>b{
 color:#bdceca!important;
 font-size:11px!important;
 white-space:nowrap!important;
}
.oz-perk-pill>em{
 color:#66858a!important;
 font-size:11px!important;
 font-style:normal!important;
 line-height:1.15!important;
 white-space:normal!important;
}
.oz-perk-locked{
 display:flex!important;
 align-items:center!important;
 gap:7px!important;
 padding:4px 7px!important;
 border:1px dashed #294752!important;
 background:#071116!important;
}
.oz-perk-locked>span{
 color:#41636b!important;
 font-size:11px!important;
 font-weight:900!important;
}
.oz-perk-locked>b{
 color:#41636b!important;
 font-size:11px!important;
 font-weight:700!important;
}

.oz-survivor-card .oz-survivor-header{
 align-items:start!important;
}
.oz-survivor-card .oz-survivor-identity{
 min-height:82px!important;
}
.oz-survivor-card .oz-stat-grid{
 margin-top:7px!important;
}
.oz-survivor-card .oz-promotion-box{
 margin-top:7px!important;
}

.oz-reserve-traits{
 display:flex!important;
 flex-wrap:wrap!important;
 gap:3px!important;
 margin-top:5px!important;
}
.oz-reserve-traits span{
 padding:2px 5px!important;
 font-size:11px!important;
 line-height:1.2!important;
 border-radius:0!important;
}
.oz-reserve-traits .trait{
 border-color:#41636b!important;
 color:#bdceca!important;
 background:#0a171c!important;
}
.oz-reserve-traits .perk{
 border-color:#41636b!important;
 color:#91a9aa!important;
 background:#0a171c!important;
}

@media(max-width:520px){
 .oz-trait-main,.oz-perk-list{grid-template-columns:38px minmax(0,1fr)!important}
 .oz-perk-pill{width:100%!important}
}

/* =========================================================
   OUTPOST ZERO v1.42 — Traits layout fix + Perk Choice
   ========================================================= */
.oz-survivor-header{
 display:grid!important;
 grid-template-columns:96px minmax(0,1fr)!important;
 gap:10px!important;
 align-items:start!important;
}
.oz-survivor-portrait{width:96px!important;height:96px!important}
.oz-survivor-identity{min-width:0!important;min-height:96px!important}

.oz-traits-panel{
 display:block!important;
 width:100%!important;
 min-width:0!important;
 margin:8px 0 10px!important;
}
.oz-trait-main{
 display:grid!important;
 grid-template-columns:48px auto minmax(0,1fr)!important;
 grid-template-rows:1fr!important;
 align-items:center!important;
 gap:7px!important;
 width:100%!important;
 min-width:0!important;
 min-height:38px!important;
 padding:5px 7px!important;
 box-sizing:border-box!important;
}
.oz-trait-main>span{
 grid-row:auto!important;
 align-self:stretch!important;
 display:flex!important;
 align-items:center!important;
 justify-content:flex-start!important;
 padding-right:7px!important;
 border-right:1px solid #294752!important;
 writing-mode:horizontal-tb!important;
 transform:none!important;
 white-space:nowrap!important;
}
.oz-trait-main>b{
 white-space:nowrap!important;
 overflow:visible!important;
 text-overflow:clip!important;
}
.oz-trait-main>em{
 white-space:normal!important;
 overflow:visible!important;
 overflow-wrap:normal!important;
 word-break:normal!important;
}

.oz-perk-list{
 display:grid!important;
 grid-template-columns:48px minmax(0,1fr)!important;
 align-items:center!important;
 gap:7px!important;
 width:100%!important;
 min-width:0!important;
 margin-top:5px!important;
 box-sizing:border-box!important;
}
.oz-perk-list>div{
 display:flex!important;
 flex-wrap:wrap!important;
 gap:4px!important;
 min-width:0!important;
}
.oz-perk-pill{
 display:flex!important;
 align-items:center!important;
 gap:5px!important;
 width:auto!important;
 max-width:100%!important;
 min-width:0!important;
 padding:4px 6px!important;
}
.oz-perk-pill>b{white-space:nowrap!important}
.oz-perk-pill>em{
 white-space:normal!important;
 word-break:normal!important;
 overflow-wrap:normal!important;
}
.oz-perk-none{
 padding:3px 5px!important;
 color:#41636b!important;
 font-size:11px!important;
}

.oz-specialization-choice{
 margin-top:6px!important;
 padding:7px!important;
 border:2px solid #41636b!important;
 background:#0a171c!important;
 box-shadow:inset 0 0 12px rgba(160,181,79,.05)!important;
}
.oz-specialization-head{
 display:flex!important;
 justify-content:space-between!important;
 gap:8px!important;
 align-items:center!important;
 margin-bottom:6px!important;
}
.oz-specialization-head span{
 color:#bdceca!important;
 font-size:11px!important;
 font-weight:900!important;
 letter-spacing:.6px!important;
}
.oz-specialization-head b{
 color:#66858a!important;
 font-size:11px!important;
}
.oz-specialization-options{
 display:grid!important;
 grid-template-columns:repeat(2,minmax(0,1fr))!important;
 gap:5px!important;
}
.oz-specialization-options button{
 display:block!important;
 min-width:0!important;
 min-height:54px!important;
 padding:6px 7px!important;
 border:1px solid #41636b!important;
 background:#102128!important;
 text-align:left!important;
 cursor:pointer!important;
}
.oz-specialization-options button:hover{
 border-color:#91a9aa!important;
 background:#102128!important;
}
.oz-specialization-options button b,
.oz-specialization-options button span{
 display:block!important;
}
.oz-specialization-options button b{
 color:#bdceca!important;
 font-size:11px!important;
}
.oz-specialization-options button span{
 margin-top:3px!important;
 color:#66858a!important;
 font-size:11px!important;
 line-height:1.25!important;
 white-space:normal!important;
 word-break:normal!important;
}

@media(max-width:520px){
 .oz-survivor-header{grid-template-columns:82px minmax(0,1fr)!important}
 .oz-survivor-portrait{width:82px!important;height:82px!important}
 .oz-survivor-identity{min-height:82px!important}
 .oz-trait-main{grid-template-columns:44px minmax(0,1fr)!important}
 .oz-trait-main>em{grid-column:2!important}
 .oz-perk-list{grid-template-columns:44px minmax(0,1fr)!important}
 .oz-specialization-options{grid-template-columns:1fr!important}
}

/* =========================================================
   OUTPOST ZERO v1.43 — Gear Reforge / Ascension
   ========================================================= */
.oz-reforge-overview{margin-bottom:12px!important}
.oz-reforge-overview>.panel-title>span{color:#66858a;font-size:11px}
.oz-reforge-overview>p{margin:8px 0 0;color:#66858a;font-size:11px;line-height:1.4}
.oz-reforge-overview>p b{color:#bdceca}
.oz-reforge-flow{
 display:flex;align-items:center;justify-content:center;gap:7px;flex-wrap:wrap;
 margin-top:9px;padding:9px;border:1px solid #294752;background:#071116
}
.oz-reforge-flow span{padding:5px 7px;border:2px solid currentColor;background:#0a171c;font-size:11px;font-weight:900;letter-spacing:.6px}
.oz-reforge-flow i{color:#41636b;font-size:11px;font-style:normal;font-weight:800}
.oz-reforge-flow .common{color:#b4b4aa}.oz-reforge-flow .uncommon{color:#73c866}.oz-reforge-flow .rare{color:#65aef0}.oz-reforge-flow .epic{color:#b18ae4}.oz-reforge-flow .legendary{color:#bdceca}

.oz-armory-ascend,.oz-reforge-locked,.oz-legendary-cap{
 min-height:29px!important;padding:5px 7px!important;border:1px solid #41636b!important;
 background:#0a171c!important;font-size:11px!important;font-weight:900!important
}
.oz-armory-ascend{cursor:pointer!important;color:#bdceca!important}
.oz-armory-ascend:hover{filter:brightness(1.14)!important}
.oz-armory-ascend.rarity-uncommon{border-color:#41636b!important;color:#bdceca!important;background:#102128!important}
.oz-armory-ascend.rarity-rare{border-color:#3c6384!important;color:#74b8ef!important;background:#0c1319!important}
.oz-armory-ascend.rarity-epic{border-color:#695181!important;color:#c39ae9!important;background:#130f19!important}
.oz-armory-ascend.rarity-legendary{border-color:#66858a!important;color:#dce7e3!important;background:#102128!important;box-shadow:0 0 10px rgba(211,162,72,.10)!important}
.oz-reforge-locked{display:inline-flex!important;align-items:center!important;color:#41636b!important;border-color:#294752!important;background:#071116!important}
.oz-legendary-cap{display:inline-flex!important;align-items:center!important;color:#bdceca!important;border-color:#66858a!important;background:#0a171c!important}

.oz-ascend-costline{
 grid-column:1/-1!important;
 display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:4px!important;
 padding:6px!important;border:1px solid #41636b!important;background:#071116!important
}
.oz-ascend-costline small{width:100%;color:#91a9aa;font-size:11px;font-weight:900;letter-spacing:.7px}
.oz-ascend-costline span,.oz-ascend-costline strong,.oz-ascend-costline em{
 padding:3px 5px;border:1px solid #294752;background:#071116;font-size:11px;font-style:normal
}
.oz-ascend-costline span{color:#91a9aa}.oz-ascend-costline strong{color:#bdceca;border-color:#41636b}.oz-ascend-costline em{color:#c58368;border-color:#664336}

@media(max-width:600px){
 .oz-reforge-flow{justify-content:flex-start}
 .oz-reforge-flow i{width:auto}
}

/* =========================================================
   OUTPOST ZERO v1.44 — Armory card layout fix
   ========================================================= */
.oz-armory-grid{
 align-items:start!important;
}
.oz-armory-item{
 display:grid!important;
 grid-template-columns:84px minmax(0,1fr)!important;
 grid-template-rows:auto!important;
 gap:8px!important;
 align-items:start!important;
 padding:8px!important;
 min-height:0!important;
}
.oz-armory-item>.oz-armory-item-img{
 grid-column:1!important;
 grid-row:1!important;
 width:84px!important;
 height:84px!important;
 min-width:84px!important;
 min-height:84px!important;
 margin:0!important;
}
.oz-armory-item>.oz-armory-copy{
 grid-column:2!important;
 grid-row:1!important;
 min-width:0!important;
}
.oz-armory-copy h3{
 margin:2px 0 3px!important;
 line-height:1.15!important;
}
.oz-armory-copy>p{
 margin:0 0 5px!important;
}
.oz-armory-stats{
 display:flex!important;
 flex-wrap:wrap!important;
 gap:4px!important;
 margin:4px 0 0!important;
}
.oz-armory-stats span{
 min-width:0!important;
 padding:3px 5px!important;
}
.oz-armory-foot{
 grid-column:1/-1!important;
 display:grid!important;
 grid-template-columns:72px minmax(0,1fr)!important;
 gap:7px!important;
 align-items:start!important;
 margin-top:0!important;
 padding-top:7px!important;
 border-top:1px solid #183039!important;
}
.oz-armory-qty{
 display:flex!important;
 flex-direction:column!important;
 align-items:flex-start!important;
 justify-content:center!important;
 min-height:58px!important;
 padding:5px 7px!important;
 border:1px solid #183039!important;
 background:#071116!important;
}
.oz-armory-qty span{
 color:#41636b!important;
 font-size:11px!important;
}
.oz-armory-qty b{
 margin-top:2px!important;
 color:#bdceca!important;
 font-size:15px!important;
}
.oz-armory-action-stack{
 display:grid!important;
 gap:5px!important;
 min-width:0!important;
}
.oz-armory-actions{
 display:flex!important;
 flex-wrap:wrap!important;
 gap:5px!important;
 justify-content:flex-start!important;
 align-items:stretch!important;
}
.oz-armory-actions.primary{
 padding-bottom:5px!important;
 border-bottom:1px solid #183039!important;
}
.oz-armory-actions.secondary{
 align-items:center!important;
}
.oz-armory-actions form{
 display:flex!important;
 margin:0!important;
}
.oz-armory-actions button,
.oz-armory-actions .oz-max-upgrade,
.oz-armory-actions .oz-reforge-locked,
.oz-armory-actions .oz-legendary-cap,
.oz-armory-equip{
 display:inline-flex!important;
 align-items:center!important;
 justify-content:center!important;
 min-height:31px!important;
 margin:0!important;
 padding:5px 8px!important;
 white-space:nowrap!important;
 box-sizing:border-box!important;
}
.oz-armory-equip{
 border:1px solid #41636b!important;
 background:#0a171c!important;
 color:#bdceca!important;
 font-size:11px!important;
 font-weight:900!important;
 text-decoration:none!important;
}
.oz-armory-equip:hover{
 border-color:#66858a!important;
 background:#102128!important;
}

.oz-upgrade-costline,
.oz-ascend-costline{
 grid-column:1/-1!important;
 display:grid!important;
 grid-template-columns:92px minmax(0,1fr)!important;
 gap:6px!important;
 align-items:center!important;
 margin-top:0!important;
 padding:6px!important;
 box-sizing:border-box!important;
}
.oz-upgrade-costline>small,
.oz-ascend-costline>small{
 width:auto!important;
 color:#66858a!important;
 font-size:11px!important;
 font-weight:900!important;
 letter-spacing:.5px!important;
}
.oz-upgrade-costline>div,
.oz-ascend-costline>div{
 display:flex!important;
 flex-wrap:wrap!important;
 gap:4px!important;
 min-width:0!important;
}
.oz-upgrade-costline span,
.oz-upgrade-costline strong,
.oz-ascend-costline span,
.oz-ascend-costline strong,
.oz-ascend-costline em{
 display:inline-flex!important;
 align-items:center!important;
 min-height:25px!important;
 padding:3px 5px!important;
 margin:0!important;
}
.oz-gear-tooltip{
 z-index:50!important;
}

@media(max-width:560px){
 .oz-armory-item{
  grid-template-columns:72px minmax(0,1fr)!important;
 }
 .oz-armory-item>.oz-armory-item-img{
  width:72px!important;height:72px!important;min-width:72px!important;min-height:72px!important;
 }
 .oz-armory-foot{
  grid-template-columns:1fr!important;
 }
 .oz-armory-qty{
  min-height:0!important;
  flex-direction:row!important;
  justify-content:space-between!important;
  align-items:center!important;
 }
 .oz-upgrade-costline,
 .oz-ascend-costline{
  grid-template-columns:1fr!important;
 }
}

/* =========================================================
   OUTPOST ZERO v1.45 — Armory compact card redesign
   ========================================================= */
.oz-armory-item{
 grid-template-columns:78px minmax(0,1fr)!important;
 gap:7px!important;
 padding:7px!important;
}
.oz-armory-item>.oz-armory-item-img{
 width:78px!important;height:78px!important;min-width:78px!important;min-height:78px!important;
}
.oz-armory-foot{
 grid-column:1/-1!important;
 display:block!important;
 margin-top:0!important;
 padding-top:6px!important;
 border-top:1px solid #183039!important;
}
.oz-armory-foot-head{
 display:flex!important;
 align-items:center!important;
 justify-content:space-between!important;
 gap:8px!important;
 margin-bottom:5px!important;
}
.oz-armory-stock{
 color:#41636b!important;
 font-size:11px!important;
}
.oz-armory-stock b{
 margin-left:4px!important;
 color:#bdceca!important;
 font-size:13px!important;
}
.oz-armory-equip-link{
 color:#91a9aa!important;
 font-size:11px!important;
 font-weight:900!important;
 text-decoration:none!important;
}
.oz-armory-equip-link:hover{color:#bdceca!important}

.oz-armory-action-grid{
 display:grid!important;
 grid-template-columns:repeat(2,minmax(0,1fr))!important;
 gap:5px!important;
 width:100%!important;
}
.oz-armory-action-grid form{
 display:block!important;
 margin:0!important;
 min-width:0!important;
}
.oz-armory-action-grid button,
.oz-armory-action-grid .oz-reforge-locked,
.oz-armory-action-grid .oz-max-upgrade,
.oz-armory-action-grid .oz-legendary-cap,
.oz-armory-action-grid .oz-armory-equip{
 display:flex!important;
 align-items:center!important;
 justify-content:center!important;
 width:100%!important;
 min-width:0!important;
 min-height:30px!important;
 margin:0!important;
 padding:5px 6px!important;
 box-sizing:border-box!important;
 text-align:center!important;
 white-space:nowrap!important;
 font-size:11px!important;
}
.oz-armory-action-grid .oz-armory-equip{
 border:1px solid #41636b!important;
 background:#0a171c!important;
 color:#bdceca!important;
 font-weight:900!important;
 text-decoration:none!important;
}
.oz-armory-action-grid .oz-armory-equip:hover{
 border-color:#66858a!important;
 background:#102128!important;
}
.oz-armory-action-grid .oz-reforge-locked{
 border-color:#294752!important;
 background:#071116!important;
 color:#41636b!important;
}
.oz-armory-action-grid .oz-max-upgrade{
 border-color:#41636b!important;
 background:#0a171c!important;
 color:#bdceca!important;
}
.oz-armory-action-grid .oz-legendary-cap{
 border-color:#66858a!important;
 background:#0a171c!important;
 color:#bdceca!important;
}

.oz-upgrade-costline.compact,
.oz-ascend-costline.compact{
 display:flex!important;
 flex-wrap:wrap!important;
 align-items:center!important;
 gap:4px!important;
 width:100%!important;
 margin-top:5px!important;
 padding:5px!important;
 border:1px solid #294752!important;
 background:#071116!important;
 box-sizing:border-box!important;
}
.oz-upgrade-costline.compact .label,
.oz-ascend-costline.compact .label{
 border:0!important;
 background:transparent!important;
 color:#66858a!important;
 font-size:11px!important;
 font-weight:900!important;
 letter-spacing:.4px!important;
 padding:0 5px 0 0!important;
}
.oz-upgrade-costline.compact span,
.oz-upgrade-costline.compact strong,
.oz-ascend-costline.compact span,
.oz-ascend-costline.compact strong,
.oz-ascend-costline.compact em{
 display:inline-flex!important;
 align-items:center!important;
 min-height:23px!important;
 margin:0!important;
 padding:2px 5px!important;
 font-size:11px!important;
}
.oz-upgrade-costline.compact strong,
.oz-ascend-costline.compact strong{
 margin-left:auto!important;
 color:#bdceca!important;
 border-color:#41636b!important;
}
.oz-ascend-costline.compact em{
 color:#bf7b64!important;
 border-color:#654236!important;
 font-style:normal!important;
}

@media(max-width:560px){
 .oz-armory-item{grid-template-columns:68px minmax(0,1fr)!important}
 .oz-armory-item>.oz-armory-item-img{width:68px!important;height:68px!important;min-width:68px!important;min-height:68px!important}
 .oz-armory-action-grid{grid-template-columns:1fr 1fr!important}
}

/* =========================================================
   OUTPOST ZERO v1.47 — Base Defense / Outpost Attacks
   ========================================================= */
.oz-defense-hero .oz-threat-value{font-size:16px!important;color:#e68a55!important}
.oz-base-defense-link{display:inline-flex;align-items:center;justify-content:center;margin-top:10px;padding:8px 12px;border:1px solid #41636b;background:#102128;color:#bdceca;font-size:11px;font-weight:900;text-decoration:none}
.oz-defense-alert{position:relative;overflow:hidden;border-color:#41636b!important}
.oz-defense-alert.is-live{box-shadow:inset 0 0 24px rgba(175,62,40,.12)}
.oz-defense-alert.is-live small{color:#e86f55!important}
.oz-defense-countdown{display:grid;grid-template-columns:180px 1fr 260px;gap:12px;align-items:center}
.oz-defense-countdown>div:first-child small{display:block;color:#66858a;font-size:11px}.oz-defense-countdown>div:first-child strong{display:block;margin-top:3px;color:#dce7e3;font-size:19px;letter-spacing:1px}.oz-defense-countdown>div:first-child strong.live{color:#e96f55}
.oz-defense-meter{height:12px;border:1px solid #294752;background:#071116;padding:2px}.oz-defense-meter i{display:block;height:100%;background:linear-gradient(90deg,#66858a,#bdceca);box-shadow:0 0 8px rgba(181,199,81,.3)}
.oz-defense-power{display:flex;justify-content:flex-end;gap:14px}.oz-defense-power span{font-size:11px;color:#66858a}.oz-defense-power b{color:#bdceca}
.oz-defense-layout{display:grid;grid-template-columns:minmax(0,1.18fr) minmax(390px,.82fr);gap:12px;align-items:start}
.oz-defense-slots{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.oz-defense-slot{min-height:102px;padding:8px;border:1px dashed #294752;background:#071116}.oz-defense-slot.filled{border-style:solid;border-color:#41636b;background:#0a171c}.oz-defense-slot>small{display:block;margin-bottom:6px;color:#41636b;font-size:11px}
.oz-defense-empty{height:68px;display:flex;align-items:center;justify-content:center;color:#41636b;font-size:11px}
.oz-defense-survivor{display:grid;grid-template-columns:58px 1fr;gap:8px}.oz-defense-survivor img{width:58px;height:58px;object-fit:cover;border:1px solid #294752}.oz-defense-survivor div{display:flex;flex-direction:column}.oz-defense-survivor b{color:#bdceca;font-size:13px}.oz-defense-survivor span{color:#66858a;font-size:11px}.oz-defense-survivor strong{margin-top:auto;color:#bdceca;font-size:12px}
.oz-defense-hp{height:7px;margin-top:6px;border:1px solid #294752;background:#071116}.oz-defense-hp i{display:block;height:100%;background:#b54f3d}
.oz-defense-clear{margin-top:5px;padding:3px 7px;border:1px solid #684132;background:#140b08;color:#d88468;font-size:11px;font-weight:800}
.oz-defense-roster{margin-top:10px;border-top:1px solid #183039;padding-top:8px}.oz-defense-roster h3{margin:0 0 6px}.oz-defense-roster>article{display:grid;grid-template-columns:42px 1fr auto;gap:8px;align-items:center;padding:6px;border:1px solid #183039;margin-top:5px}.oz-defense-roster>article.disabled{opacity:.45}.oz-defense-roster img{width:42px;height:42px;object-fit:cover}.oz-defense-roster article div{display:flex;flex-direction:column}.oz-defense-roster article b{font-size:12px}.oz-defense-roster article span,.oz-defense-roster article em{font-size:11px;color:#66858a;font-style:normal}.oz-defense-roster form{display:flex;gap:4px}.oz-defense-roster select,.oz-defense-roster button{min-height:29px;border:1px solid #41636b;background:#0a171c;color:#bdceca;font-size:11px;font-weight:800}
.oz-defense-breakdown{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;margin-bottom:8px}.oz-defense-breakdown span{padding:7px;border:1px solid #183039;color:#66858a;font-size:11px}.oz-defense-breakdown b{float:right;color:#bdceca}
.oz-defense-prep-card{display:grid;grid-template-columns:42px 1fr auto;gap:8px;align-items:center;padding:8px;margin-top:6px;border:1px solid #294752;background:#071116}.oz-defense-prep-card.active{border-color:#41636b;background:#0a171c}.oz-prep-mark{width:40px;height:40px;display:flex;align-items:center;justify-content:center;border:1px solid #41636b;color:#bdceca;font-size:12px;font-weight:900}.oz-defense-prep-card>div:nth-child(2){display:flex;flex-direction:column}.oz-defense-prep-card b{font-size:12px;color:#bdceca}.oz-defense-prep-card span{font-size:11px;color:#66858a}.oz-defense-prep-card strong{font-size:11px;color:#bdceca}.oz-defense-prep-card em{font-style:normal;font-size:11px;color:#bdceca;font-weight:900}.oz-defense-prep-card button{padding:7px;border:1px solid #41636b;background:#102128;color:#bdceca;font-size:11px;font-weight:900}
.oz-defense-engage{display:grid;grid-template-columns:1fr 180px;gap:8px;align-items:end;margin-top:10px;padding-top:9px;border-top:1px solid #294752}.oz-defense-engage div{display:flex;flex-direction:column}.oz-defense-engage small,.oz-defense-engage span{font-size:11px;color:#66858a}.oz-defense-engage b{font-size:14px;color:#bdceca}.oz-defense-fight{width:100%;min-height:42px;border:1px solid #66858a!important;background:linear-gradient(#41636b,#32180f)!important;color:#f0c29a!important;font-size:12px!important;font-weight:900!important}
.oz-defense-history article{display:grid;grid-template-columns:170px 100px 1fr;gap:8px;align-items:center;padding:7px;border-top:1px solid #183039}.oz-defense-history article div{display:flex;flex-direction:column}.oz-defense-history b{font-size:12px}.oz-defense-history span,.oz-defense-history p{font-size:11px;color:#66858a}.oz-defense-history p{margin:0}.oz-defense-history .victory>strong{color:#bdceca}.oz-defense-history .defeat>strong{color:#db7259}
@media(max-width:900px){.oz-defense-layout{grid-template-columns:1fr}.oz-defense-countdown{grid-template-columns:1fr}.oz-defense-power{justify-content:flex-start}.oz-defense-roster>article{grid-template-columns:42px 1fr}.oz-defense-roster form,.oz-defense-roster article>em{grid-column:2}.oz-defense-history article{grid-template-columns:1fr}.oz-defense-engage{grid-template-columns:1fr}}
@media(max-width:560px){.oz-defense-slots{grid-template-columns:1fr}.oz-defense-breakdown{grid-template-columns:1fr}.oz-defense-prep-card{grid-template-columns:38px 1fr}.oz-defense-prep-card form,.oz-defense-prep-card>em{grid-column:2}.oz-defense-roster form{flex-wrap:wrap}}

/* =========================================================
   OUTPOST ZERO v1.48 — Defense routing / facility damage / siege raids
   ========================================================= */
.oz-attack-type{
 display:inline-flex!important;
 margin-top:8px!important;
 padding:4px 7px!important;
 border:1px solid #41636b!important;
 background:#0a171c!important;
 color:#cf9b61!important;
 font-size:11px!important;
 font-weight:900!important;
 letter-spacing:.7px!important;
}
.oz-attack-type.siege{border-color:#41636b!important;color:#df8c63!important;background:#170d09!important}
.oz-attack-type.boss{border-color:#66858a!important;color:#f0ab65!important;background:#102128!important;box-shadow:0 0 12px rgba(205,105,52,.12)!important}
.oz-defense-fight:disabled{opacity:.42!important;cursor:not-allowed!important;filter:grayscale(.4)!important}

.oz-damaged-facilities{border-color:#704334!important}
.oz-damage-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important}
.oz-damage-grid article{
 display:grid!important;
 grid-template-columns:minmax(0,1fr) auto!important;
 gap:8px!important;
 align-items:center!important;
 padding:8px!important;
 border:1px solid #654235!important;
 background:#0a171c!important;
}
.oz-damage-grid article>div{display:flex!important;flex-direction:column!important}
.oz-damage-grid small{color:#ad6d58!important;font-size:11px!important;letter-spacing:.6px!important}
.oz-damage-grid b{color:#df9a77!important;font-size:12px!important}
.oz-damage-grid span{color:#66858a!important;font-size:11px!important}
.oz-damage-grid span strong{color:#c79672!important}
.oz-damage-grid button{
 min-height:32px!important;
 padding:6px 8px!important;
 border:1px solid #41636b!important;
 background:#1b100c!important;
 color:#dc9674!important;
 font-size:11px!important;
 font-weight:900!important;
}
.oz-damage-grid .severity-2{border-color:#81493a!important;box-shadow:inset 4px 0 0 #8a4a38!important}
.oz-damage-grid .severity-3{border-color:#9b4637!important;box-shadow:inset 4px 0 0 #b24b39,0 0 12px rgba(176,67,48,.08)!important}

.oz-building-card-v2.is-damaged{border-color:#7b4637!important;box-shadow:inset 0 0 0 1px #2a120d!important}
.oz-building-card-v2.is-damaged .oz-building-visual{filter:saturate(.48) brightness(.72)!important}
.oz-facility-damage{
 margin-top:8px!important;
 padding:7px!important;
 border:1px solid #744638!important;
 background:#160d0a!important;
}
.oz-facility-damage small,.oz-facility-damage b,.oz-facility-damage span{display:block!important}
.oz-facility-damage small{color:#a45f4e!important;font-size:11px!important;letter-spacing:.7px!important}
.oz-facility-damage b{margin:2px 0!important;color:#df8a70!important;font-size:12px!important}
.oz-facility-damage span{color:#66858a!important;font-size:11px!important}
.oz-repair-btn{
 margin-top:6px!important;
 border-color:#7b4a39!important;
 background:#1a0f0b!important;
 color:#df9573!important;
}

@media(max-width:760px){
 .oz-damage-grid{grid-template-columns:1fr!important}
 .oz-damage-grid article{grid-template-columns:1fr!important}
}

/* =========================================================
   OUTPOST ZERO v1.49 — Defense 2.0 / permanent modules
   ========================================================= */
.oz-command-defense-warning{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px;padding:8px 11px;border:1px solid #41636b;background:linear-gradient(90deg,#102128,#0a171c);text-decoration:none}
.oz-command-defense-warning div{display:flex;flex-direction:column}.oz-command-defense-warning small{color:#c87858;font-size:11px;font-weight:900;letter-spacing:.7px}.oz-command-defense-warning b{color:#bdceca;font-size:12px}.oz-command-defense-warning>span{color:#d79062;font-size:11px;font-weight:900;white-space:nowrap}.oz-command-defense-warning.live{border-color:#a04c38;box-shadow:inset 4px 0 0 #b84c38,0 0 15px rgba(172,64,45,.12)}
.oz-defense-stagebar{display:grid!important;grid-template-columns:auto 1fr auto 1fr auto 1fr auto!important;align-items:center!important;gap:7px!important;padding:8px 12px!important}
.oz-defense-stagebar>div{display:flex!important;align-items:center!important;gap:5px!important;color:#41636b!important}.oz-defense-stagebar>div i{display:flex!important;align-items:center!important;justify-content:center!important;width:25px!important;height:25px!important;border:1px solid #294752!important;font-style:normal!important;font-size:11px!important}.oz-defense-stagebar>div span{font-size:11px!important;font-weight:900!important}.oz-defense-stagebar>b{display:block!important;height:2px!important;background:#183039!important}.oz-defense-stagebar>div.done{color:#bdceca!important}.oz-defense-stagebar>div.done i{border-color:#41636b!important;background:#102128!important}.oz-defense-stagebar>div.done+ b{background:#41636b!important}
.oz-defense-breakdown{grid-template-columns:repeat(4,1fr)!important}
.oz-defense-module-head{margin-top:9px;padding-top:8px;border-top:1px solid #294752}.oz-defense-module-head:first-of-type{margin-top:0}.oz-defense-module-head small{color:#66858a;font-size:11px;letter-spacing:.6px}.oz-defense-module-head h3{margin:2px 0;color:#bdceca;font-size:13px}.oz-defense-module-head p{margin:0 0 7px;color:#66858a;font-size:11px}.oz-defense-module-head.temporary{margin-top:12px}
.oz-defense-module-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
.oz-defense-module-slot{min-height:112px;padding:8px;border:1px dashed #294752;background:#071116;box-sizing:border-box}.oz-defense-module-slot.filled{border-style:solid;border-color:#41636b;background:#0a171c}.oz-defense-module-slot>small{display:block;margin-bottom:5px;color:#41636b;font-size:11px}.oz-defense-module-slot>b{display:block;font-size:12px}.oz-defense-module-slot>span{display:block;min-height:30px;margin:3px 0;color:#66858a;font-size:11px}.oz-defense-module-slot>strong{display:block;color:#bdceca;font-size:11px}.oz-defense-module-slot form{display:flex;gap:5px;margin-top:6px}.oz-defense-module-slot select{min-width:0;flex:1;border:1px solid #294752;background:#071116;color:#bdceca;font-size:11px}.oz-defense-module-slot button{min-height:29px;border:1px solid #41636b;background:#102128;color:#bdceca;font-size:11px;font-weight:900}.oz-hardpoint-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:70px;color:#41636b;font-size:11px;text-align:center}.oz-hardpoint-empty a{margin-top:5px;color:#91a9aa;text-decoration:none;font-size:11px;font-weight:900}
.oz-recipe-slot{max-width:100%!important}.oz-recipe-card-v2 .rarity-text.legendary{color:#e69b46!important;text-shadow:0 0 6px rgba(230,155,70,.25)!important}
@media(max-width:700px){.oz-defense-stagebar{grid-template-columns:1fr!important}.oz-defense-stagebar>b{display:none!important}.oz-defense-module-grid{grid-template-columns:1fr!important}.oz-defense-breakdown{grid-template-columns:repeat(2,1fr)!important}.oz-command-defense-warning{align-items:flex-start!important;flex-direction:column!important}}

/* =========================================================
   OUTPOST ZERO v1.49.1 — Defense button hover states
   ========================================================= */
.oz-defense-alert button,
.oz-defense-layout button,
.oz-defense-history button,
.oz-damaged-facilities button,
.oz-defense-module-slot button,
.oz-defense-roster button,
.oz-defense-prep-card button,
.oz-defense-engage button,
.oz-base-defense-link {
 transition:
   transform .14s ease,
   border-color .14s ease,
   background .14s ease,
   color .14s ease,
   box-shadow .14s ease,
   filter .14s ease!important;
}

.oz-defense-layout button:not(:disabled):hover,
.oz-defense-alert button:not(:disabled):hover,
.oz-defense-history button:not(:disabled):hover,
.oz-damaged-facilities button:not(:disabled):hover,
.oz-defense-module-slot button:not(:disabled):hover,
.oz-defense-roster button:not(:disabled):hover,
.oz-defense-prep-card button:not(:disabled):hover,
.oz-defense-engage button:not(:disabled):hover {
 transform:translateY(-1px)!important;
 filter:brightness(1.12)!important;
 box-shadow:0 3px 10px rgba(0,0,0,.34),0 0 7px rgba(179,196,82,.10)!important;
}

.oz-defense-roster button:not(:disabled):hover,
.oz-defense-module-slot button:not(:disabled):hover,
.oz-defense-prep-card button:not(:disabled):hover {
 border-color:#66858a!important;
 background:#102128!important;
 color:#bdceca!important;
}

.oz-defense-clear:not(:disabled):hover,
.oz-repair-btn:not(:disabled):hover,
.oz-damage-grid button:not(:disabled):hover {
 border-color:#a76149!important;
 background:#26130e!important;
 color:#efac89!important;
 box-shadow:0 3px 10px rgba(0,0,0,.36),0 0 7px rgba(190,83,57,.12)!important;
}

.oz-defense-fight:not(:disabled):hover {
 transform:translateY(-2px)!important;
 border-color:#c78c4d!important;
 background:linear-gradient(#41636b,#431f13)!important;
 color:#ffd0a8!important;
 box-shadow:0 4px 14px rgba(0,0,0,.40),0 0 12px rgba(197,114,60,.18)!important;
}

.oz-base-defense-link:hover {
 transform:translateY(-1px)!important;
 border-color:#66858a!important;
 background:#102128!important;
 color:#bdceca!important;
 box-shadow:0 3px 10px rgba(0,0,0,.34),0 0 7px rgba(179,196,82,.10)!important;
}

.oz-defense-layout button:active:not(:disabled),
.oz-defense-alert button:active:not(:disabled),
.oz-damaged-facilities button:active:not(:disabled) {
 transform:translateY(0)!important;
 box-shadow:none!important;
}

.oz-defense-layout button:disabled,
.oz-defense-alert button:disabled,
.oz-damaged-facilities button:disabled {
 transition:none!important;
 box-shadow:none!important;
}

/* v1.49.2 — Defense cursor states */
.oz-defense-alert button,
.oz-defense-layout button,
.oz-defense-history button,
.oz-damaged-facilities button,
.oz-defense-module-slot button,
.oz-defense-roster button,
.oz-defense-prep-card button,
.oz-defense-engage button,
.oz-base-defense-link,
.oz-defense-layout select {
    cursor: pointer !important;
}

.oz-defense-alert button:disabled,
.oz-defense-layout button:disabled,
.oz-defense-history button:disabled,
.oz-damaged-facilities button:disabled,
.oz-defense-module-slot button:disabled,
.oz-defense-roster button:disabled,
.oz-defense-prep-card button:disabled,
.oz-defense-engage button:disabled,
.oz-defense-layout select:disabled {
    cursor: not-allowed !important;
}

/* v1.49.3 — Defense visual pass */
.oz-defense-art{position:relative;height:180px;margin:8px 0 10px;border:1px solid #294752;overflow:hidden;background:#071116}
.oz-defense-art>img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 52%;filter:saturate(.72) contrast(1.08) brightness(.72)}
.oz-defense-art:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(5,7,5,.15),rgba(5,7,5,.02) 55%,rgba(5,7,5,.35)),linear-gradient(0deg,rgba(5,7,5,.62),transparent 50%)}
.oz-defense-art-caption{position:absolute;z-index:2;left:14px;bottom:12px;display:flex;flex-direction:column;max-width:430px;padding:7px 10px;border:1px solid #41636b;background:rgba(8,10,7,.88)}
.oz-defense-art-caption small{color:#91a9aa;font-size:11px;font-weight:900;letter-spacing:.7px}.oz-defense-art-caption b{color:#bdceca;font-size:13px}.oz-defense-art-caption span{color:#66858a;font-size:11px}
.oz-defense-module-slot.filled{display:grid;grid-template-columns:76px minmax(0,1fr);grid-template-rows:auto auto auto auto;column-gap:8px;align-items:start}
.oz-defense-module-slot.filled>small{grid-column:1/-1}.oz-defense-module-visual{grid-column:1;grid-row:2/6;width:76px;height:76px;border:1px solid #41636b;overflow:hidden;background:#071116}
.oz-defense-module-visual img{width:100%;height:100%;display:block;object-fit:cover;filter:saturate(.75) contrast(1.08) brightness(.88)}
.oz-defense-module-slot.filled>b,.oz-defense-module-slot.filled>span,.oz-defense-module-slot.filled>strong,.oz-defense-module-slot.filled>form{grid-column:2;margin-top:0}
.oz-defense-module-slot.filled>span{min-height:0}.oz-defense-module-slot.filled form{margin-top:5px}
.oz-defense-prep-card{grid-template-columns:64px minmax(0,1fr) auto!important;min-height:72px}
.oz-prep-mark.oz-prep-image{width:58px!important;height:58px!important;padding:0!important;border:1px solid #294752!important;overflow:hidden;background:#071116!important}
.oz-prep-image img{display:block;width:100%;height:100%;object-fit:cover;filter:saturate(.76) contrast(1.08) brightness(.88)}
@media(max-width:700px){.oz-defense-art{height:145px}.oz-defense-module-slot.filled{grid-template-columns:66px minmax(0,1fr)}.oz-defense-module-visual{width:66px;height:66px}.oz-defense-prep-card{grid-template-columns:54px minmax(0,1fr)!important}.oz-prep-mark.oz-prep-image{width:48px!important;height:48px!important}}

/* =========================================================
   OUTPOST ZERO v1.50 — Crafting filters
   ========================================================= */
.oz-crafting-filters{
 margin:12px 0!important;
}
.oz-craft-filter-row{
 display:grid!important;
 grid-template-columns:minmax(210px,.8fr) repeat(3,minmax(0,1fr))!important;
 gap:8px!important;
 align-items:start!important;
}
.oz-craft-search,
.oz-craft-filter-group{
 display:block!important;
 min-width:0!important;
}
.oz-craft-search>span,
.oz-craft-filter-group>span{
 display:block!important;
 margin-bottom:4px!important;
 color:#41636b!important;
 font-size:11px!important;
 font-weight:900!important;
 letter-spacing:.6px!important;
}
.oz-craft-search input{
 width:100%!important;
 min-height:34px!important;
 box-sizing:border-box!important;
 padding:6px 8px!important;
 border:1px solid #294752!important;
 background:#071116!important;
 color:#bdceca!important;
 font-size:11px!important;
 outline:none!important;
}
.oz-craft-search input:focus{
 border-color:#66858a!important;
 box-shadow:0 0 0 1px rgba(164,184,75,.10)!important;
}
.oz-craft-filter-group>div{
 display:flex!important;
 flex-wrap:wrap!important;
 gap:4px!important;
}
.oz-craft-filter-group button{
 min-height:30px!important;
 padding:5px 7px!important;
 border:1px solid #294752!important;
 background:#071116!important;
 color:#66858a!important;
 font-size:11px!important;
 font-weight:900!important;
 cursor:pointer!important;
 transition:border-color .14s ease,background .14s ease,color .14s ease,transform .14s ease!important;
}
.oz-craft-filter-group button:hover{
 transform:translateY(-1px)!important;
 border-color:#41636b!important;
 background:#102128!important;
 color:#bdceca!important;
}
.oz-craft-filter-group button.active{
 border-color:#66858a!important;
 background:#102128!important;
 color:#bdceca!important;
 box-shadow:inset 0 0 0 1px rgba(186,205,89,.08)!important;
}
.oz-craft-filter-group button.rarity-common{color:#b9b9b0!important}
.oz-craft-filter-group button.rarity-uncommon{color:#72ca67!important}
.oz-craft-filter-group button.rarity-rare{color:#6ab1ed!important}
.oz-craft-filter-group button.rarity-epic{color:#b58ce5!important}
.oz-craft-filter-group button.rarity-legendary{color:#e3aa54!important}

.oz-recipe-card-v2[hidden]{
 display:none!important;
}
.oz-craft-empty{
 margin:12px 0!important;
 padding:20px!important;
 border:1px dashed #294752!important;
 background:#071116!important;
 text-align:center!important;
}
.oz-craft-empty b,
.oz-craft-empty span{
 display:block!important;
}
.oz-craft-empty b{
 color:#91a9aa!important;
 font-size:12px!important;
}
.oz-craft-empty span{
 margin-top:4px!important;
 color:#41636b!important;
 font-size:11px!important;
}

@media(max-width:1150px){
 .oz-craft-filter-row{
  grid-template-columns:1fr 1fr!important;
 }
}
@media(max-width:650px){
 .oz-craft-filter-row{
  grid-template-columns:1fr!important;
 }
 .oz-craft-filter-group>div{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
 }
 .oz-craft-filter-group button{
  width:100%!important;
 }
}

/* =========================================================
   OUTPOST ZERO v1.51 — Global account action UX
   ========================================================= */

/* Local result boxes are forbidden in the account UI.
   Action feedback belongs to the sticky FIELD LINK. */
.oz-account .game-alert,
.oz-account .oz-account-field-message{
 display:none!important;
}

/* Every interactive button/select gets a clear pointer state. */
.oz-account button:not(:disabled),
.oz-account input[type="submit"]:not(:disabled),
.oz-account input[type="button"]:not(:disabled),
.oz-account select:not(:disabled),
.oz-account a.game-btn,
.oz-account a[class*="-btn"],
.oz-account [role="button"]:not([aria-disabled="true"]){
 cursor:pointer!important;
}

.oz-account button:disabled,
.oz-account input[type="submit"]:disabled,
.oz-account input[type="button"]:disabled,
.oz-account select:disabled,
.oz-account [aria-disabled="true"]{
 cursor:not-allowed!important;
}

/* Baseline hover feedback for every account button.
   More specific page styles can still add stronger thematic effects. */
.oz-account button:not(:disabled),
.oz-account input[type="submit"]:not(:disabled),
.oz-account input[type="button"]:not(:disabled),
.oz-account a.game-btn,
.oz-account a[class*="-btn"],
.oz-account [role="button"]:not([aria-disabled="true"]){
 transition:
   transform .14s ease,
   filter .14s ease,
   border-color .14s ease,
   background-color .14s ease,
   color .14s ease,
   box-shadow .14s ease!important;
}

.oz-account button:not(:disabled):hover,
.oz-account input[type="submit"]:not(:disabled):hover,
.oz-account input[type="button"]:not(:disabled):hover,
.oz-account a.game-btn:hover,
.oz-account a[class*="-btn"]:hover,
.oz-account [role="button"]:not([aria-disabled="true"]):hover{
 transform:translateY(-1px);
 filter:brightness(1.10);
 box-shadow:0 3px 9px rgba(0,0,0,.28),0 0 6px rgba(177,194,77,.08);
}

.oz-account button:not(:disabled):active,
.oz-account input[type="submit"]:not(:disabled):active,
.oz-account input[type="button"]:not(:disabled):active,
.oz-account a.game-btn:active,
.oz-account a[class*="-btn"]:active{
 transform:translateY(0);
 filter:brightness(1.03);
 box-shadow:none;
}

/* Selects should feel interactive too without physically moving their layout. */
.oz-account select:not(:disabled){
 transition:border-color .14s ease,background-color .14s ease,color .14s ease,filter .14s ease!important;
}
.oz-account select:not(:disabled):hover{
 border-color:#66858a!important;
 filter:brightness(1.08);
}

/* Disabled controls never inherit hover motion/glow. */
.oz-account button:disabled:hover,
.oz-account input[type="submit"]:disabled:hover,
.oz-account input[type="button"]:disabled:hover{
 transform:none!important;
 filter:none!important;
 box-shadow:none!important;
}

/* =========================================================
   OUTPOST ZERO v1.52 — Header alerts / FIELD LINK flash / mobile header+menu
   ========================================================= */

/* Account header is always above page content. */
.oz-account .oz-appbar{
 position:fixed!important;
 top:0!important;
 left:0!important;
 right:0!important;
 z-index:1800!important;
}

/* Live alert rail: Outpost threats and World Events live in the sticky header area. */
.oz-header-noticebar{
 position:fixed!important;
 z-index:1750!important;
 top:74px!important;
 left:250px!important;
 right:0!important;
 min-height:36px!important;
 display:flex!important;
 align-items:center!important;
 gap:7px!important;
 padding:4px 10px!important;
 box-sizing:border-box!important;
 border-bottom:1px solid #183039!important;
 background:rgba(7,9,6,.97)!important;
 box-shadow:0 4px 12px rgba(0,0,0,.22)!important;
 overflow-x:auto!important;
 overflow-y:hidden!important;
 scrollbar-width:none!important;
}
.oz-header-noticebar::-webkit-scrollbar{display:none!important}

.oz-header-notice{
 flex:0 0 auto!important;
 min-width:235px!important;
 max-width:360px!important;
 height:28px!important;
 display:grid!important;
 grid-template-columns:9px minmax(0,1fr) auto!important;
 align-items:center!important;
 gap:7px!important;
 padding:3px 7px!important;
 box-sizing:border-box!important;
 border:1px solid #294752!important;
 background:#0a171c!important;
 color:#91a9aa!important;
 text-decoration:none!important;
 cursor:pointer!important;
 transition:filter .15s ease,border-color .15s ease,box-shadow .15s ease,transform .15s ease!important;
}
.oz-header-notice:hover{
 transform:translateY(-1px)!important;
 filter:brightness(1.12)!important;
 border-color:#66858a!important;
 box-shadow:0 0 10px rgba(175,195,81,.12)!important;
}
.oz-header-notice>span:nth-child(2){
 min-width:0!important;
 display:flex!important;
 flex-direction:column!important;
 line-height:1.05!important;
}
.oz-header-notice small{
 color:#66858a!important;
 font-size:11px!important;
 font-weight:900!important;
 white-space:nowrap!important;
 overflow:hidden!important;
 text-overflow:ellipsis!important;
}
.oz-header-notice b{
 color:#bdceca!important;
 font-size:11px!important;
 white-space:nowrap!important;
 overflow:hidden!important;
 text-overflow:ellipsis!important;
}
.oz-header-notice em{
 color:#91a9aa!important;
 font-size:11px!important;
 font-style:normal!important;
 font-weight:900!important;
 white-space:nowrap!important;
}
.oz-header-notice .notice-dot{
 width:7px!important;
 height:7px!important;
 border-radius:50%!important;
 background:#91a9aa!important;
 box-shadow:0 0 7px rgba(170,193,76,.30)!important;
 animation:ozNoticeDot 2.3s ease-in-out infinite!important;
}
.oz-header-notice.threat{
 border-color:#41636b!important;
 background:#0a171c!important;
}
.oz-header-notice.threat small,
.oz-header-notice.threat em{color:#d5835b!important}
.oz-header-notice.threat b{color:#e1b28c!important}
.oz-header-notice.threat .notice-dot{
 background:#dc754f!important;
 box-shadow:0 0 8px rgba(220,103,70,.34)!important;
}
.oz-header-notice.threat.live{
 border-color:#9a4b36!important;
 box-shadow:inset 3px 0 0 #ae4b38,0 0 10px rgba(176,72,51,.12)!important;
 animation:ozThreatNotice 2.1s ease-in-out infinite!important;
}
.oz-header-notice.event{
 border-color:#41636b!important;
}
@keyframes ozNoticeDot{
 0%,100%{opacity:.55;transform:scale(.82)}
 50%{opacity:1;transform:scale(1.15)}
}
@keyframes ozThreatNotice{
 0%,100%{filter:brightness(1)}
 50%{filter:brightness(1.10)}
}

/* Make room for the alert rail on desktop. */
body.has-account-notices .is-account .content>.cl-right,
body.has-account-notices .content>.cl-right{
 padding-top:62px!important;
}
body.has-account-notices .is-account .content>.cl-left,
body.has-account-notices .content>.cl-left{
 padding-top:56px!important;
}
body.has-account-notices .account-sidebar{
 top:112px!important;
}

/* FIELD LINK: a new message should be visibly noticeable, not only stored. */
.oz-field-comm.new-message{
 animation:ozFieldIncoming 1.05s ease-out!important;
}
.oz-field-comm.new-message .oz-comm-signal{
 animation:ozFieldSignalFlash 1.05s ease-out!important;
}
.oz-field-comm.new-message .oz-comm-screen{
 animation:ozFieldScreenFlash 1.05s ease-out!important;
}
@keyframes ozFieldIncoming{
 0%{transform:translate(-50%,-50%) scale(1);box-shadow:inset 0 0 0 2px #071116,0 2px 12px rgba(0,0,0,.35)}
 24%{transform:translate(-50%,-50%) scale(1.012);border-color:#91a9aa;box-shadow:inset 0 0 0 2px #102128,0 0 20px rgba(179,201,83,.34)}
 52%{transform:translate(-50%,-50%) scale(1);border-color:#41636b}
 100%{box-shadow:inset 0 0 0 2px #071116,0 2px 12px rgba(0,0,0,.35)}
}
@keyframes ozFieldSignalFlash{
 0%,100%{color:#66858a;text-shadow:none}
 25%{color:#dce7e3;text-shadow:0 0 8px rgba(202,222,107,.5)}
}
@keyframes ozFieldScreenFlash{
 0%,100%{background-color:#0a171c}
 25%{background-color:#102128}
}

/* Real backdrop is outside the sidebar stacking context. */
.account-menu-backdrop{
 display:none!important;
}
body.account-menu-lock{
 overflow:hidden!important;
}

/* Mobile header rebuild */
@media(max-width:900px){
 .oz-account .oz-appbar{
  height:56px!important;
  padding:0 7px!important;
  gap:5px!important;
 }
 .oz-account .account-menu-toggle{
  display:flex!important;
  flex:0 0 38px!important;
  width:38px!important;
  height:38px!important;
  margin:0!important;
  padding:8px!important;
  align-items:center!important;
  justify-content:center!important;
  flex-direction:column!important;
  position:relative!important;
  z-index:2100!important;
  border:1px solid #294752!important;
  background:#0a171c!important;
  cursor:pointer!important;
  pointer-events:auto!important;
 }
 .oz-account .account-menu-toggle span{
  width:20px!important;
  height:2px!important;
  margin:2px 0!important;
  background:#bdceca!important;
  transition:transform .18s ease,opacity .18s ease!important;
 }
 body.account-menu-open .account-menu-toggle span:nth-child(1){transform:translateY(6px) rotate(45deg)!important}
 body.account-menu-open .account-menu-toggle span:nth-child(2){opacity:0!important}
 body.account-menu-open .account-menu-toggle span:nth-child(3){transform:translateY(-6px) rotate(-45deg)!important}

 .oz-account .account-brand{
  min-width:34px!important;
  width:34px!important;
  flex:0 0 34px!important;
  margin:0!important;
 }
 .oz-account .brand-mark{
  width:32px!important;
  height:32px!important;
  font-size:15px!important;
 }
 .oz-account .account-brand>span:last-child{display:none!important}

 .oz-account .account-appbar-right{
  margin-left:auto!important;
  gap:4px!important;
  min-width:0!important;
 }
 .oz-account .appbar-xp{display:none!important}
 .oz-account .oz-header-resource{
  display:flex!important;
  min-width:0!important;
  height:36px!important;
  padding:2px 5px!important;
  gap:4px!important;
  box-sizing:border-box!important;
 }
 .oz-account .oz-header-resource img{
  width:26px!important;
  height:26px!important;
  flex:0 0 26px!important;
 }
 .oz-account .oz-header-resource small{display:none!important}
 .oz-account .oz-header-resource strong{
  font-size:11px!important;
  white-space:nowrap!important;
 }
 .oz-account .theme-toggle{
  width:34px!important;
  height:34px!important;
  flex:0 0 34px!important;
  padding:4px!important;
  box-sizing:border-box!important;
 }
 .oz-account .appbar-user{
  width:32px!important;
  flex:0 0 32px!important;
 }
 .oz-account .user-avatar{
  width:30px!important;
  height:30px!important;
 }
 .oz-account .user-meta{display:none!important}

 /* FIELD LINK becomes a clean second row. */
 .oz-field-comm{
  position:fixed!important;
  left:7px!important;
  right:7px!important;
  top:58px!important;
  transform:none!important;
  width:auto!important;
  min-width:0!important;
  height:40px!important;
  z-index:1700!important;
  grid-template-columns:25px minmax(0,1fr) 25px 38px!important;
 }
 @keyframes ozFieldIncoming{
  0%{transform:scale(1);box-shadow:inset 0 0 0 2px #071116,0 2px 12px rgba(0,0,0,.35)}
  24%{transform:scale(1.008);border-color:#91a9aa;box-shadow:inset 0 0 0 2px #102128,0 0 20px rgba(179,201,83,.34)}
  100%{transform:scale(1)}
 }

 /* Live notifications form a third small scrollable header row. */
 .oz-header-noticebar{
  left:0!important;
  right:0!important;
  top:101px!important;
  min-height:38px!important;
  padding:4px 7px!important;
  gap:5px!important;
  z-index:1650!important;
 }
 .oz-header-notice{
  min-width:210px!important;
  max-width:280px!important;
  height:30px!important;
 }
 .oz-header-notice em{font-size:11px!important}

 /* Page offset for the rebuilt fixed header. */
 .is-account .content>.cl-right{
  padding-top:64px!important;
 }
 body.has-account-notices .content>.cl-right{
  padding-top:104px!important;
 }

 /* Mobile drawer: above FIELD LINK and alert rail, fully clickable. */
 .is-account .content>.cl-left{
  position:fixed!important;
  z-index:2050!important;
  top:56px!important;
  bottom:0!important;
  left:-310px!important;
  width:min(82vw,300px)!important;
  padding:15px 10px 22px!important;
  box-sizing:border-box!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  background:#071116!important;
  border-right:1px solid #294752!important;
  box-shadow:8px 0 24px rgba(0,0,0,.45)!important;
  transition:left .20s ease!important;
  pointer-events:auto!important;
 }
 body.account-menu-open.is-account .content>.cl-left{
  left:0!important;
 }
 body.account-menu-open .account-sidebar{
  position:relative!important;
  top:0!important;
  z-index:2!important;
  pointer-events:auto!important;
 }
 body.account-menu-open .account-sidebar a,
 body.account-menu-open .account-sidebar button{
  pointer-events:auto!important;
 }

 body.account-menu-open .account-menu-backdrop{
  display:block!important;
  position:fixed!important;
  z-index:1950!important;
  inset:56px 0 0 0!important;
  background:rgba(0,0,0,.68)!important;
  backdrop-filter:blur(1px)!important;
  cursor:pointer!important;
  pointer-events:auto!important;
 }
 body.account-menu-open .oz-field-comm,
 body.account-menu-open .oz-header-noticebar{
  pointer-events:none!important;
  filter:brightness(.55)!important;
 }

 .account-sidebar .account-nav{
  min-height:42px!important;
  padding:8px 9px!important;
  box-sizing:border-box!important;
  cursor:pointer!important;
  pointer-events:auto!important;
 }
}

@media(max-width:520px){
 .oz-account .oz-header-resource{
  display:flex!important;
 }
 .oz-account .appbar-balance{
  display:flex!important;
 }
 .oz-account .oz-header-core{
  display:flex!important;
 }
 .oz-account .oz-header-resource strong{
  max-width:48px!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
 }
 .oz-account .appbar-user{
  display:none!important;
 }
 .oz-header-notice{
  min-width:195px!important;
 }
}

@media(max-width:390px){
 .oz-account .oz-header-resource{
  padding:2px 3px!important;
 }
 .oz-account .oz-header-resource img{
  width:24px!important;
  height:24px!important;
  flex-basis:24px!important;
 }
 .oz-account .theme-toggle{
  width:31px!important;
  height:31px!important;
  flex-basis:31px!important;
 }
}

/* Accessibility: avoid perpetual motion for users who request reduced motion. */
@media(prefers-reduced-motion:reduce){
 .oz-header-notice,
 .oz-header-notice .notice-dot,
 .oz-field-comm.new-message,
 .oz-field-comm.new-message .oz-comm-signal,
 .oz-field-comm.new-message .oz-comm-screen{
  animation:none!important;
  transition:none!important;
 }
}

/* =========================================================
   OUTPOST ZERO v1.53 — Mobile drawer click fix + notice spacing
   ========================================================= */

@media(max-width:900px){
 /* Header + FIELD LINK + notice bar need a full 125px content offset. */
 body.is-account .content>.cl-right,
 body.is-account.has-account-notices .content>.cl-right,
 .is-account .content>.cl-right{
  padding-top:125px!important;
 }

 /* The drawer itself must be the highest interactive layer.
    Previous backdrop/content stacking could leave it visible but untouchable. */
 body.is-account .content>.cl-left{
  z-index:10020!important;
  pointer-events:none!important;
 }
 body.is-account.account-menu-open .content>.cl-left{
  left:0!important;
  pointer-events:auto!important;
 }
 body.is-account.account-menu-open .account-sidebar{
  position:relative!important;
  z-index:10030!important;
  pointer-events:auto!important;
 }
 body.is-account.account-menu-open .account-sidebar,
 body.is-account.account-menu-open .account-sidebar *{
  pointer-events:auto!important;
 }
 body.is-account.account-menu-open .account-sidebar .account-nav{
  position:relative!important;
  z-index:10031!important;
  cursor:pointer!important;
  touch-action:manipulation!important;
 }

 /* Backdrop darkens only the page area and always stays BELOW the drawer. */
 body.is-account.account-menu-open .account-menu-backdrop{
  display:block!important;
  z-index:10000!important;
  top:56px!important;
  left:0!important;
  right:0!important;
  bottom:0!important;
  pointer-events:auto!important;
 }

 /* Header menu toggle remains above both drawer and backdrop. */
 body.is-account .account-menu-toggle{
  z-index:10050!important;
  pointer-events:auto!important;
  touch-action:manipulation!important;
 }

 /* Do not let communicator / alerts intercept touches while drawer is open. */
 body.is-account.account-menu-open .oz-field-comm,
 body.is-account.account-menu-open .oz-header-noticebar{
  z-index:9990!important;
  pointer-events:none!important;
 }

 /* Main content cannot steal taps through the open drawer. */
 body.is-account.account-menu-open .content>.cl-right{
  pointer-events:none!important;
 }
}

/* =========================================================
   OUTPOST ZERO v1.54 — Drawer regression fix + correct page offsets
   ========================================================= */

/* DESKTOP: header + FIELD LINK + live notice rail */
@media(min-width:901px){
 body.is-account .content>.cl-right,
 body.is-account.has-account-notices .content>.cl-right,
 .is-account .content>.cl-right{
  padding-top:125px!important;
 }
}

/* MOBILE: 75px is enough; restore a simple reliable off-canvas drawer. */
@media(max-width:900px){
 body.is-account .content>.cl-right,
 body.is-account.has-account-notices .content>.cl-right,
 .is-account .content>.cl-right{
  padding-top:75px!important;
 }

 body.is-account .content>.cl-left{
  display:block!important;
  visibility:visible!important;
  position:fixed!important;
  top:56px!important;
  bottom:0!important;
  left:0!important;
  width:min(82vw,300px)!important;
  height:auto!important;
  padding:15px 10px 22px!important;
  margin:0!important;
  box-sizing:border-box!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  background:#071116!important;
  border-right:1px solid #294752!important;
  box-shadow:8px 0 24px rgba(0,0,0,.45)!important;
  z-index:10020!important;
  transform:translateX(-105%)!important;
  transition:transform .20s ease!important;
  pointer-events:none!important;
 }

 body.is-account.account-menu-open .content>.cl-left{
  left:0!important;
  transform:translateX(0)!important;
  pointer-events:auto!important;
 }

 body.is-account .account-sidebar{
  display:block!important;
  position:relative!important;
  top:auto!important;
  left:auto!important;
  width:100%!important;
  height:auto!important;
  z-index:10030!important;
  pointer-events:auto!important;
 }

 body.is-account.account-menu-open .account-sidebar,
 body.is-account.account-menu-open .account-sidebar *,
 body.is-account.account-menu-open .account-nav{
  pointer-events:auto!important;
 }

 body.is-account.account-menu-open .account-menu-backdrop{
  display:block!important;
  position:fixed!important;
  inset:56px 0 0 0!important;
  z-index:10000!important;
  background:rgba(0,0,0,.68)!important;
  pointer-events:auto!important;
 }

 body.is-account .account-menu-toggle{
  position:relative!important;
  z-index:10050!important;
  pointer-events:auto!important;
  cursor:pointer!important;
 }
}

/* =========================================================
   OUTPOST ZERO v1.55 — Authoritative mobile drawer
   ========================================================= */

/* Correct requested content offsets. */
@media(min-width:901px){
 body.is-account .content>.cl-right{
  padding-top:125px!important;
 }
}
@media(max-width:900px){
 body.is-account .content>.cl-right{
  padding-top:75px!important;
 }

 /* One authoritative base state. JS writes the open transform inline. */
 body.is-account .content>.cl-left{
  display:block!important;
  visibility:visible!important;
  position:fixed!important;
  top:56px!important;
  bottom:0!important;
  left:0!important;
  right:auto!important;
  width:min(82vw,300px)!important;
  max-width:300px!important;
  height:calc(100dvh - 56px)!important;
  margin:0!important;
  padding:15px 10px 22px!important;
  box-sizing:border-box!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  background:#071116!important;
  border-right:1px solid #294752!important;
  box-shadow:8px 0 24px rgba(0,0,0,.48)!important;
  z-index:10020!important;
  transform:translateX(-105%)!important;
  transition:transform .20s ease!important;
  pointer-events:none!important;
  opacity:1!important;
 }

 body.is-account.account-menu-open .content>.cl-left{
  transform:translateX(0)!important;
  pointer-events:auto!important;
 }

 body.is-account .account-sidebar{
  display:block!important;
  position:static!important;
  width:100%!important;
  transform:none!important;
  opacity:1!important;
  visibility:visible!important;
  pointer-events:auto!important;
 }

 body.is-account .account-sidebar .account-nav{
  display:flex!important;
  position:relative!important;
  width:100%!important;
  min-height:44px!important;
  box-sizing:border-box!important;
  pointer-events:auto!important;
  cursor:pointer!important;
  touch-action:manipulation!important;
 }

 body.is-account .account-menu-backdrop{
  display:none!important;
  position:fixed!important;
  inset:56px 0 0 0!important;
  z-index:10000!important;
  background:rgba(0,0,0,.68)!important;
  pointer-events:none!important;
 }

 body.is-account.account-menu-open .account-menu-backdrop{
  display:block!important;
  pointer-events:auto!important;
 }

 body.is-account .account-menu-toggle{
  display:flex!important;
  position:relative!important;
  z-index:10050!important;
  pointer-events:auto!important;
  cursor:pointer!important;
  touch-action:manipulation!important;
 }

 body.is-account.account-menu-open .content>.cl-right{
  pointer-events:none!important;
 }
}

/* =========================================================
   OUTPOST ZERO v1.57 — Defense ETA meter + World Event visuals
   ========================================================= */

/* Defense ETA meter now represents TIME LEFT, not defense/enemy power ratio. */
.oz-defense-meter{
 position:relative!important;
 overflow:hidden!important;
}
.oz-defense-meter>i{
 display:block!important;
 height:100%!important;
 transition:width 1s linear,background .25s ease,box-shadow .25s ease!important;
 background:linear-gradient(90deg,#66858a,#bdceca)!important;
 box-shadow:0 0 8px rgba(177,198,78,.22)!important;
}
.oz-defense-meter.near-contact>i{
 background:linear-gradient(90deg,#66858a,#bdceca)!important;
 box-shadow:0 0 9px rgba(205,157,66,.24)!important;
}
.oz-defense-meter.critical>i{
 background:linear-gradient(90deg,#a74d38,#d26b4a)!important;
 box-shadow:0 0 11px rgba(207,87,60,.30)!important;
 animation:ozEtaCritical .85s ease-in-out infinite!important;
}
.oz-defense-meter.contact>i{
 width:0!important;
 animation:none!important;
}
@keyframes ozEtaCritical{
 0%,100%{filter:brightness(1)}
 50%{filter:brightness(1.24)}
}

/* World event cards get their own location/encounter art. */
.oz-event-card{
 overflow:hidden!important;
 padding:0!important;
}
.oz-event-art{
 position:relative!important;
 height:150px!important;
 overflow:hidden!important;
 border-bottom:1px solid #294752!important;
 background:#071116!important;
}
.oz-event-art img{
 display:block!important;
 width:100%!important;
 height:100%!important;
 object-fit:cover!important;
 object-position:center!important;
 filter:saturate(.74) contrast(1.08) brightness(.74)!important;
 transition:transform .25s ease,filter .25s ease!important;
}
.oz-event-card:hover .oz-event-art img{
 transform:scale(1.025)!important;
 filter:saturate(.84) contrast(1.08) brightness(.82)!important;
}
.oz-event-art:after{
 content:""!important;
 position:absolute!important;
 inset:0!important;
 background:linear-gradient(0deg,rgba(6,8,5,.62),transparent 58%)!important;
 pointer-events:none!important;
}
.oz-event-art>span{
 position:absolute!important;
 z-index:2!important;
 left:8px!important;
 bottom:7px!important;
 padding:3px 5px!important;
 border:1px solid #41636b!important;
 background:rgba(7,9,6,.88)!important;
 color:#bdceca!important;
 font-size:11px!important;
 font-weight:900!important;
 letter-spacing:.5px!important;
}
.oz-event-body{
 padding:9px!important;
}

/* Event decisions now look like actual tactical choices. */
.oz-event-decisions{
 display:grid!important;
 grid-template-columns:repeat(2,minmax(0,1fr))!important;
 gap:7px!important;
 margin-top:8px!important;
}
.oz-event-decisions button{
 display:grid!important;
 grid-template-columns:62px minmax(0,1fr)!important;
 gap:8px!important;
 align-items:center!important;
 min-height:78px!important;
 padding:6px!important;
 text-align:left!important;
 overflow:hidden!important;
}
.oz-event-decisions button>img{
 width:62px!important;
 height:62px!important;
 object-fit:cover!important;
 border:1px solid #294752!important;
 filter:saturate(.78) contrast(1.08) brightness(.86)!important;
 transition:filter .14s ease,transform .14s ease!important;
}
.oz-event-decisions button:hover>img{
 filter:saturate(.92) contrast(1.10) brightness(.98)!important;
 transform:scale(1.025)!important;
}
.oz-event-choice-copy{
 display:flex!important;
 min-width:0!important;
 flex-direction:column!important;
}
.oz-event-choice-copy>b{
 color:#bdceca!important;
 font-size:11px!important;
}
.oz-event-choice-copy>span{
 margin-top:2px!important;
 color:#66858a!important;
 font-size:11px!important;
 line-height:1.25!important;
}
.oz-event-choice-copy>small{
 margin-top:5px!important;
 color:#91a9aa!important;
 font-size:11px!important;
 font-weight:900!important;
}

@media(max-width:760px){
 .oz-event-art{height:125px!important}
 .oz-event-decisions{grid-template-columns:1fr!important}
}
@media(max-width:480px){
 .oz-event-decisions button{
  grid-template-columns:54px minmax(0,1fr)!important;
 }
 .oz-event-decisions button>img{
  width:54px!important;
  height:54px!important;
 }
}

@media(prefers-reduced-motion:reduce){
 .oz-defense-meter>i,
 .oz-event-art img,
 .oz-event-decisions button>img{
  animation:none!important;
  transition:none!important;
 }
}

/* =========================================================
   OUTPOST ZERO v1.58 — Squad gear picker positioning
   ========================================================= */

/* JS now calculates top from the clicked Weapon / Armor / Utility slot.
   These rules deliberately remove the old hard-coded 126px / 118px offset. */
.oz-survivor-loadout .oz-gear-picker{
 top:auto!important;
 bottom:auto!important;
 left:8px!important;
 right:8px!important;
 z-index:140!important;
}

@media(max-width:700px){
 .oz-survivor-loadout .oz-gear-picker{
  top:auto!important;
  bottom:auto!important;
  left:4px!important;
  right:4px!important;
 }
}

/* =========================================================
   OUTPOST ZERO v1.59 — COMPLETE COLOR SYSTEM
   "Ashline" palette
   Dark: charcoal / oxidized copper / cold teal
   Light: warm field-paper / gunmetal / oxidized teal
   ========================================================= */

/* ---------- DARK THEME TOKENS ---------- */
:root,
html[data-theme="dark"]{
 --oz-bg:#091013;
 --oz-bg2:#0d1518;
 --oz-panel:#111a1e;
 --oz-panel2:#162126;
 --oz-panel3:#1b292e;
 --oz-border:#294047;
 --oz-border-soft:#203238;
 --oz-text:#dde5e1;
 --oz-muted:#819096;
 --oz-rust:#3e9995;
 --oz-rust2:#73cfc8;
 --oz-toxic:#62b9b1;
 --oz-red:#d15f50;
 --oz-steel:#789199;
 --oz-copper:#3e9995;
 --oz-copper-bright:#7bd6cf;
 --oz-signal:#62b9b1;
 --oz-signal-bright:#8bd5ce;
 --oz-signal-dim:#356f6b;
 --oz-shadow:0 18px 50px rgba(0,0,0,.42);
 --oz-surface:#111a1e;
 --oz-surface-raised:#162126;
 --oz-surface-deep:#0b1215;
 --oz-line:#294047;
 --oz-line-strong:#3d5961;
 --oz-hover:#1b2b30;
 --oz-input:#0d1619;
 --oz-warm-panel:#102128;
 --oz-warm-line:#41636b;
 --oz-danger-panel:#1c1211;
}

/* Main canvas: cooler, more industrial and less olive/green. */
html[data-theme="dark"] body.oz-account,
body.oz-account:not([data-theme]){
 background:
  radial-gradient(circle at 82% -8%,rgba(74,157,151,.10),transparent 31%),
  radial-gradient(circle at 8% 40%,rgba(200,117,66,.055),transparent 28%),
  linear-gradient(rgba(127,173,179,.018) 1px,transparent 1px),
  #091013!important;
 background-size:auto,auto,100% 5px,auto!important;
 color:var(--oz-text)!important;
}

/* Header / sidebar */
html[data-theme="dark"] .oz-appbar{
 background:rgba(8,14,17,.97)!important;
 border-bottom-color:#294047!important;
 box-shadow:0 8px 30px rgba(0,0,0,.32)!important;
}
html[data-theme="dark"] .oz-appbar .brand-mark{
 
 color:#0a171c!important;
 box-shadow:0 0 18px rgba(205,126,77,.20)!important;
}
html[data-theme="dark"] .oz-appbar .account-brand b{color:#e4e9e5!important}
html[data-theme="dark"] .oz-appbar .account-brand small{color:#73bcb5!important}
html[data-theme="dark"] .oz-appbar .appbar-xp-track{background:#172429!important}
html[data-theme="dark"] .oz-appbar .appbar-xp-track i,
html[data-theme="dark"] .oz-account .progress i{
 background:linear-gradient(90deg,#367d78,#73c8c0)!important;
}
html[data-theme="dark"] .oz-appbar .appbar-balance,
html[data-theme="dark"] .oz-appbar .appbar-crystals,
html[data-theme="dark"] .oz-header-resource{
 background:#111b1f!important;
 border-color:#294047!important;
 color:#e0e6e2!important;
}
html[data-theme="dark"] .oz-appbar .user-avatar{
 background:#172329!important;
 border-color:#36515a!important;
 color:#e39a64!important;
}
html[data-theme="dark"] .oz-appbar .theme-toggle,
html[data-theme="dark"] .account-menu-toggle{
 background:#101b1f!important;
 border-color:#31505a!important;
 color:#7bc6bf!important;
}

html[data-theme="dark"] .oz-account .content>.cl-left{
 background:linear-gradient(180deg,#0e171a,#091114)!important;
 border-right-color:#23383e!important;
}
html[data-theme="dark"] .oz-account .account-nav{color:#91a0a3!important}
html[data-theme="dark"] .oz-account .account-nav:hover{
 background:#162328!important;
 color:#e3e9e5!important;
}
html[data-theme="dark"] .oz-account .account-nav.active{
 background:linear-gradient(90deg,rgba(86,176,168,.17),rgba(86,176,168,.025))!important;
 box-shadow:inset 3px 0 #62b9b1!important;
 color:#dff5f1!important;
}
html[data-theme="dark"] .oz-account .nav-icon{background:#152126!important;color:#8ca4aa!important}
html[data-theme="dark"] .oz-account .account-nav.active .nav-icon{
 background:#17302f!important;
 color:#78cec6!important;
}
html[data-theme="dark"] .oz-account .sidebar-label{color:#62777c!important}
html[data-theme="dark"] .oz-account .sidebar-wallet{
 background:linear-gradient(145deg,#132025,#0e171b)!important;
 border-color:#294047!important;
}
html[data-theme="dark"] .oz-account .sidebar-wallet strong{color:#e0e7e3!important}
html[data-theme="dark"] .oz-account .sidebar-wallet span{color:#64b9b2!important}

/* Broad surfaces */
html[data-theme="dark"] .oz-account .game-panel,
html[data-theme="dark"] .oz-account .dash-card,
html[data-theme="dark"] .oz-character-card,
html[data-theme="dark"] .oz-building-card,
html[data-theme="dark"] .oz-building-card-v2,
html[data-theme="dark"] .oz-item-card,
html[data-theme="dark"] .oz-recipe-card,
html[data-theme="dark"] .oz-recipe-card-v2,
html[data-theme="dark"] .oz-drop-card,
html[data-theme="dark"] .oz-mission-card,
html[data-theme="dark"] .oz-armory-item,
html[data-theme="dark"] .oz-survivor-loadout,
html[data-theme="dark"] .oz-reserve-card,
html[data-theme="dark"] .oz-transport-card,
html[data-theme="dark"] .oz-event-card,
html[data-theme="dark"] .oz-zone-node{
 background:linear-gradient(145deg,#131d21,#0e171a)!important;
 border-color:#294047!important;
 color:#d8e0dc!important;
 box-shadow:0 10px 30px rgba(0,0,0,.24)!important;
}
html[data-theme="dark"] .oz-hero{
 background:
  linear-gradient(110deg,rgba(73,167,160,.115),transparent 38%),
  linear-gradient(160deg,#172328,#0d1518)!important;
 border-color:#31484d!important;
}
html[data-theme="dark"] .oz-hero h1,
html[data-theme="dark"] .oz-account .panel-title h2,
html[data-theme="dark"] .oz-account h2,
html[data-theme="dark"] .oz-account h3{color:#e1e7e3!important}
html[data-theme="dark"] .oz-hero p,
html[data-theme="dark"] .oz-account p,
html[data-theme="dark"] .oz-account .muted{color:#89979a!important}
html[data-theme="dark"] .oz-kicker,
html[data-theme="dark"] .panel-title small{color:#62b9b1!important}

/* Buttons */
html[data-theme="dark"] .oz-primary{
 background:linear-gradient(180deg,#d68955,#a75531)!important;
 color:#102128!important;
 border-color:#e9a570!important;
 box-shadow:inset 0 1px rgba(255,255,255,.13),0 7px 18px rgba(125,66,38,.20)!important;
}
html[data-theme="dark"] .game-btn,
html[data-theme="dark"] .oz-account button:not(.oz-primary):not(.oz-defense-fight){
 background:#18252a!important;
 border-color:#35515a!important;
 color:#d5dfdb!important;
}
html[data-theme="dark"] .game-btn:hover:not(:disabled),
html[data-theme="dark"] .oz-account button:not(:disabled):hover{
 border-color:#62aaa5!important;
 color:#f0f5f2!important;
 background:#1d3035!important;
}
html[data-theme="dark"] .oz-primary:hover:not(:disabled){
 background:linear-gradient(180deg,#e29660,#b66037)!important;
 border-color:#f0b37e!important;
 color:#160c08!important;
}

/* Inputs / selects / search */
html[data-theme="dark"] .oz-account input,
html[data-theme="dark"] .oz-account select,
html[data-theme="dark"] .oz-account textarea{
 background:#0d171a!important;
 border-color:#304a52!important;
 color:#d9e2de!important;
}
html[data-theme="dark"] .oz-account input:focus,
html[data-theme="dark"] .oz-account select:focus,
html[data-theme="dark"] .oz-account textarea:focus{
 border-color:#5ca8a2!important;
 box-shadow:0 0 0 1px rgba(95,184,176,.13)!important;
 outline:none!important;
}
html[data-theme="dark"] .oz-account input::placeholder{color:#62767b!important}

/* Repeating inner UI blocks that were previously olive. */
html[data-theme="dark"] .oz-effective-stats span,
html[data-theme="dark"] .oz-stat-grid span,
html[data-theme="dark"] .oz-needs span,
html[data-theme="dark"] .oz-building-row article,
html[data-theme="dark"] .oz-squad-mini article,
html[data-theme="dark"] .oz-loadout-slots .oz-equip-slot,
html[data-theme="dark"] .oz-mini-gear,
html[data-theme="dark"] .oz-upgrade-costline,
html[data-theme="dark"] .oz-ascend-costline,
html[data-theme="dark"] .oz-defense-breakdown span,
html[data-theme="dark"] .oz-defense-module-slot,
html[data-theme="dark"] .oz-defense-prep-card,
html[data-theme="dark"] .oz-defense-roster>article,
html[data-theme="dark"] .oz-defense-slot,
html[data-theme="dark"] .oz-event-decisions button,
html[data-theme="dark"] .oz-zone-meta span,
html[data-theme="dark"] .oz-world-rules article,
html[data-theme="dark"] .oz-reforge-flow,
html[data-theme="dark"] .oz-craft-empty{
 background:#0d171a!important;
 border-color:#294047!important;
 color:#92a0a2!important;
}
html[data-theme="dark"] .oz-equip-slot:hover,
html[data-theme="dark"] .oz-event-decisions button:hover,
html[data-theme="dark"] .oz-mini-gear:hover{
 background:#16272b!important;
 border-color:#4f8f8a!important;
}

/* Teal = system/interaction signal; copper = physical action/resource. */
html[data-theme="dark"] .oz-effective-stats em,
html[data-theme="dark"] .oz-power-change strong,
html[data-theme="dark"] .oz-defense-breakdown b,
html[data-theme="dark"] .oz-defense-module-slot>strong,
html[data-theme="dark"] .oz-event-choice-copy>small,
html[data-theme="dark"] .oz-zone-progress+* b,
html[data-theme="dark"] .oz-readiness-state.ready,
html[data-theme="dark"] .oz-max-upgrade{
 color:#71c6be!important;
}
html[data-theme="dark"] .oz-upgrade-level,
html[data-theme="dark"] .oz-upgrade-costline strong,
html[data-theme="dark"] .oz-armory-equip,
html[data-theme="dark"] .oz-craft-filter-group button.active{
 color:#82d2ca!important;
}

/* FIELD LINK */
html[data-theme="dark"] .oz-field-comm{
 background:#071013!important;
 border-color:#315158!important;
 box-shadow:inset 0 0 0 2px #05090a,0 2px 12px rgba(0,0,0,.40)!important;
}
html[data-theme="dark"] .oz-comm-screen{background:#0b1619!important;border-color:#243d43!important}
html[data-theme="dark"] .oz-comm-signal{color:#58a9a3!important}
html[data-theme="dark"] .oz-field-comm.has-message .oz-comm-message{color:#c9d9d4!important}
html[data-theme="dark"] .oz-field-comm.is-ok{border-color:#4b8e89!important}
html[data-theme="dark"] .oz-field-comm.is-ok .oz-comm-signal{color:#7acbc4!important}
html[data-theme="dark"] .oz-comm-nav,
html[data-theme="dark"] .oz-comm-last{background:#101c20!important;color:#66b4ae!important}
html[data-theme="dark"] .oz-comm-nav:hover,
html[data-theme="dark"] .oz-comm-last:hover{background:#172b30!important;color:#91d9d2!important}

/* Header live notices */
html[data-theme="dark"] .oz-header-noticebar{
 background:rgba(7,14,16,.98)!important;
 border-bottom-color:#294047!important;
}
html[data-theme="dark"] .oz-header-notice{
 background:#101b1f!important;
 border-color:#315057!important;
 color:#75c2bb!important;
}
html[data-theme="dark"] .oz-header-notice.event{border-color:#3e7773!important}
html[data-theme="dark"] .oz-header-notice.event .notice-dot{background:#6dc5bd!important}
html[data-theme="dark"] .oz-header-notice.threat{
 background:#102128!important;
 border-color:#41636b!important;
}
html[data-theme="dark"] .oz-header-notice.threat b{color:#e3b28d!important}

/* Progress/timers */
html[data-theme="dark"] .oz-defense-meter,
html[data-theme="dark"] .oz-hp-bar-v2,
html[data-theme="dark"] .oz-xp-bar-v2,
html[data-theme="dark"] .progress,
html[data-theme="dark"] .oz-zone-progress{
 background:#091215!important;
 border-color:#294047!important;
}
html[data-theme="dark"] .oz-defense-meter>i,
html[data-theme="dark"] .oz-xp-bar-v2 .oz-bar-fill,
html[data-theme="dark"] .oz-zone-progress i{
 background:linear-gradient(90deg,#377d78,#72c6be)!important;
 box-shadow:0 0 8px rgba(90,183,175,.20)!important;
}
/* HP stays red by meaning. */
html[data-theme="dark"] .oz-hp-bar-v2 .oz-bar-fill{background:#b94f47!important}

/* ---------- LIGHT THEME TOKENS ---------- */
html[data-theme="light"]{
 --oz-bg:#ded8ca;
 --oz-bg2:#d4cdbf;
 --oz-panel:#eee9de;
 --oz-panel2:#e4ded1;
 --oz-panel3:#d8d1c4;
 --oz-border:#91a9aa;
 --oz-border-soft:#91a9aa;
 --oz-text:#263334;
 --oz-muted:#667174;
 --oz-rust:#a75b35;
 --oz-rust2:#c87848;
 --oz-toxic:#327a76;
 --oz-red:#a94d43;
 --oz-steel:#63777b;
 --oz-copper:#a75b35;
 --oz-copper-bright:#c97b4d;
 --oz-signal:#327a76;
 --oz-signal-bright:#286864;
 --oz-signal-dim:#73928f;
 --oz-shadow:0 13px 30px rgba(67,57,45,.11);
 --oz-surface:#eee9de;
 --oz-surface-raised:#f3efe6;
 --oz-surface-deep:#d7d0c3;
 --oz-line:#91a9aa;
 --oz-line-strong:#8e9289;
 --oz-hover:#ddd9cd;
 --oz-input:#f5f1e8;
 --oz-warm-panel:#eee1d5;
 --oz-warm-line:#ba8e70;
 --oz-danger-panel:#ead7d3;
}

html[data-theme="light"] body.oz-account{
 background:
  radial-gradient(circle at 82% 0,rgba(50,122,118,.075),transparent 30%),
  radial-gradient(circle at 8% 45%,rgba(167,91,53,.045),transparent 28%),
  linear-gradient(rgba(50,62,60,.035) 1px,transparent 1px),
  #ded8ca!important;
 background-size:auto,auto,100% 5px,auto!important;
 color:#293536!important;
}

/* Light header is warm metal, not plain white. */
html[data-theme="light"] .oz-appbar{
 background:rgba(226,220,207,.98)!important;
 border-bottom-color:#91a9aa!important;
 box-shadow:0 5px 18px rgba(67,57,45,.12)!important;
}
html[data-theme="light"] .oz-appbar .brand-mark{
 background:linear-gradient(145deg,#9f5533,#c97b4b)!important;
 color:#f3ece0!important;
 box-shadow:0 0 0 1px rgba(82,53,38,.10)!important;
}
html[data-theme="light"] .oz-appbar .account-brand b{color:#263234!important}
html[data-theme="light"] .oz-appbar .account-brand small{color:#327a76!important}
html[data-theme="light"] .oz-appbar .appbar-xp-track{background:#c7c2b7!important}
html[data-theme="light"] .oz-appbar .appbar-xp-track i,
html[data-theme="light"] .oz-account .progress i{
 background:linear-gradient(90deg,#397f7a,#58aaa4)!important;
}
html[data-theme="light"] .oz-appbar .appbar-balance,
html[data-theme="light"] .oz-appbar .appbar-crystals,
html[data-theme="light"] .oz-header-resource{
 background:#d7d1c5!important;
 border-color:#91a9aa!important;
 color:#2c3839!important;
}
html[data-theme="light"] .oz-appbar .user-avatar{
 background:#d1cbc0!important;
 border-color:#91a9aa!important;
 color:#9f5635!important;
}
html[data-theme="light"] .oz-appbar .theme-toggle,
html[data-theme="light"] .account-menu-toggle{
 background:#d5cfc3!important;
 border-color:#91a9aa!important;
 color:#2e7470!important;
}

html[data-theme="light"] .oz-account .content>.cl-left{
 background:linear-gradient(180deg,#d4cec1,#c8c1b3)!important;
 border-right-color:#91a9aa!important;
}
html[data-theme="light"] .oz-account .account-nav{color:#596466!important}
html[data-theme="light"] .oz-account .account-nav:hover{
 background:#bebdb4!important;
 color:#263234!important;
}
html[data-theme="light"] .oz-account .account-nav.active{
 background:linear-gradient(90deg,rgba(50,122,118,.17),rgba(50,122,118,.035))!important;
 box-shadow:inset 3px 0 #327a76!important;
 color:#205e5b!important;
}
html[data-theme="light"] .oz-account .nav-icon{background:#c3bdb2!important;color:#667375!important}
html[data-theme="light"] .oz-account .account-nav.active .nav-icon{
 background:#b8cbc6!important;
 color:#205f5b!important;
}
html[data-theme="light"] .oz-account .sidebar-label{color:#717871!important}
html[data-theme="light"] .oz-account .sidebar-wallet{
 background:linear-gradient(145deg,#ded8cc,#cbc4b7)!important;
 border-color:#91a9aa!important;
}
html[data-theme="light"] .oz-account .sidebar-wallet strong{color:#283435!important}
html[data-theme="light"] .oz-account .sidebar-wallet span{color:#327a76!important}

/* Light surfaces */
html[data-theme="light"] .oz-account .game-panel,
html[data-theme="light"] .oz-account .dash-card,
html[data-theme="light"] .oz-character-card,
html[data-theme="light"] .oz-building-card,
html[data-theme="light"] .oz-building-card-v2,
html[data-theme="light"] .oz-item-card,
html[data-theme="light"] .oz-recipe-card,
html[data-theme="light"] .oz-recipe-card-v2,
html[data-theme="light"] .oz-drop-card,
html[data-theme="light"] .oz-mission-card,
html[data-theme="light"] .oz-armory-item,
html[data-theme="light"] .oz-survivor-loadout,
html[data-theme="light"] .oz-reserve-card,
html[data-theme="light"] .oz-transport-card,
html[data-theme="light"] .oz-event-card,
html[data-theme="light"] .oz-zone-node{
 background:linear-gradient(145deg,#f0ebe1,#e4ded2)!important;
 border-color:#91a9aa!important;
 color:#303b3b!important;
 box-shadow:0 10px 24px rgba(67,57,45,.085)!important;
}
html[data-theme="light"] .oz-hero{
 background:
  linear-gradient(110deg,rgba(50,122,118,.10),transparent 38%),
  linear-gradient(160deg,#eee9de,#dfd8cb)!important;
 border-color:#91a9aa!important;
}
html[data-theme="light"] .oz-hero h1,
html[data-theme="light"] .oz-account .panel-title h2,
html[data-theme="light"] .oz-account h2,
html[data-theme="light"] .oz-account h3{
 color:#283435!important;
}
html[data-theme="light"] .oz-hero p,
html[data-theme="light"] .oz-account p,
html[data-theme="light"] .oz-account .muted{color:#657174!important}
html[data-theme="light"] .oz-kicker,
html[data-theme="light"] .panel-title small{color:#327a76!important}

/* Light buttons */
html[data-theme="light"] .oz-primary{
 background:linear-gradient(180deg,#bc7047,#99502f)!important;
 color:#fff4e8!important;
 border-color:#8e472d!important;
 text-shadow:0 1px rgba(0,0,0,.12)!important;
 box-shadow:0 5px 12px rgba(112,66,40,.14)!important;
}
html[data-theme="light"] .game-btn,
html[data-theme="light"] .oz-account button:not(.oz-primary):not(.oz-defense-fight){
 background:#d6d3c9!important;
 border-color:#9fa59d!important;
 color:#324243!important;
}
html[data-theme="light"] .game-btn:hover:not(:disabled),
html[data-theme="light"] .oz-account button:not(:disabled):hover{
 background:#c9d8d4!important;
 border-color:#598984!important;
 color:#1d5552!important;
}
html[data-theme="light"] .oz-primary:hover:not(:disabled){
 background:linear-gradient(180deg,#c87b51,#a75835)!important;
 border-color:#89452d!important;
 color:#fff8ef!important;
}

/* Light forms */
html[data-theme="light"] .oz-account input,
html[data-theme="light"] .oz-account select,
html[data-theme="light"] .oz-account textarea{
 background:#f4f0e7!important;
 border-color:#91a9aa!important;
 color:#2d393a!important;
}
html[data-theme="light"] .oz-account input:focus,
html[data-theme="light"] .oz-account select:focus,
html[data-theme="light"] .oz-account textarea:focus{
 border-color:#4d8984!important;
 box-shadow:0 0 0 1px rgba(50,122,118,.12)!important;
 outline:none!important;
}
html[data-theme="light"] .oz-account input::placeholder{color:#868a83!important}

/* Light inner surfaces. */
html[data-theme="light"] .oz-effective-stats span,
html[data-theme="light"] .oz-stat-grid span,
html[data-theme="light"] .oz-needs span,
html[data-theme="light"] .oz-building-row article,
html[data-theme="light"] .oz-squad-mini article,
html[data-theme="light"] .oz-loadout-slots .oz-equip-slot,
html[data-theme="light"] .oz-mini-gear,
html[data-theme="light"] .oz-upgrade-costline,
html[data-theme="light"] .oz-ascend-costline,
html[data-theme="light"] .oz-defense-breakdown span,
html[data-theme="light"] .oz-defense-module-slot,
html[data-theme="light"] .oz-defense-prep-card,
html[data-theme="light"] .oz-defense-roster>article,
html[data-theme="light"] .oz-defense-slot,
html[data-theme="light"] .oz-event-decisions button,
html[data-theme="light"] .oz-zone-meta span,
html[data-theme="light"] .oz-world-rules article,
html[data-theme="light"] .oz-reforge-flow,
html[data-theme="light"] .oz-craft-empty{
 background:#ddd8cd!important;
 border-color:#91a9aa!important;
 color:#5d696b!important;
}
html[data-theme="light"] .oz-equip-slot:hover,
html[data-theme="light"] .oz-event-decisions button:hover,
html[data-theme="light"] .oz-mini-gear:hover{
 background:#ccd9d5!important;
 border-color:#648e8a!important;
}
html[data-theme="light"] .oz-effective-stats b,
html[data-theme="light"] .oz-defense-breakdown b{color:#2b5554!important}
html[data-theme="light"] .oz-effective-stats em,
html[data-theme="light"] .oz-power-change strong,
html[data-theme="light"] .oz-defense-module-slot>strong,
html[data-theme="light"] .oz-event-choice-copy>small{
 color:#2f7773!important;
}

/* Light FIELD LINK: like an old field terminal mounted into a pale console. */
html[data-theme="light"] .oz-field-comm{
 background:#c7c9bd!important;
 border-color:#788f89!important;
 box-shadow:inset 0 0 0 2px #aaa99d,0 3px 10px rgba(56,63,58,.15)!important;
}
html[data-theme="light"] .oz-comm-screen{
 background:#d5d8cc!important;
 border-color:#9aa59b!important;
}
html[data-theme="light"] .oz-comm-signal{color:#286b67!important}
html[data-theme="light"] .oz-comm-message{color:#4f6160!important}
html[data-theme="light"] .oz-field-comm.has-message .oz-comm-message{color:#263f3e!important}
html[data-theme="light"] .oz-field-comm.is-ok{border-color:#4d837e!important}
html[data-theme="light"] .oz-field-comm.is-ok .oz-comm-signal{color:#236b67!important}
html[data-theme="light"] .oz-comm-nav,
html[data-theme="light"] .oz-comm-last{
 background:#b7bdb2!important;
 color:#2d716d!important;
}
html[data-theme="light"] .oz-comm-nav:hover,
html[data-theme="light"] .oz-comm-last:hover{
 background:#a9bbb5!important;
 color:#195955!important;
}

/* Light notices */
html[data-theme="light"] .oz-header-noticebar{
 background:rgba(213,208,196,.98)!important;
 border-bottom-color:#91a9aa!important;
}
html[data-theme="light"] .oz-header-notice{
 background:#d5d6cb!important;
 border-color:#8aa09a!important;
 color:#2e726e!important;
}
html[data-theme="light"] .oz-header-notice small,
html[data-theme="light"] .oz-header-notice em{color:#2e716d!important}
html[data-theme="light"] .oz-header-notice b{color:#354442!important}
html[data-theme="light"] .oz-header-notice.event .notice-dot{background:#377f7a!important}
html[data-theme="light"] .oz-header-notice.threat{
 background:#e2d6cc!important;
 border-color:#b18065!important;
}
html[data-theme="light"] .oz-header-notice.threat small,
html[data-theme="light"] .oz-header-notice.threat em{color:#9d5435!important}
html[data-theme="light"] .oz-header-notice.threat b{color:#6f4331!important}
html[data-theme="light"] .oz-header-notice.threat .notice-dot{background:#b75f43!important}

/* Light progress */
html[data-theme="light"] .oz-defense-meter,
html[data-theme="light"] .oz-hp-bar-v2,
html[data-theme="light"] .oz-xp-bar-v2,
html[data-theme="light"] .progress,
html[data-theme="light"] .oz-zone-progress{
 background:#c8c4ba!important;
 border-color:#9e9b91!important;
}
html[data-theme="light"] .oz-defense-meter>i,
html[data-theme="light"] .oz-xp-bar-v2 .oz-bar-fill,
html[data-theme="light"] .oz-zone-progress i{
 background:linear-gradient(90deg,#377b76,#5ba8a1)!important;
 box-shadow:none!important;
}
html[data-theme="light"] .oz-hp-bar-v2 .oz-bar-fill{background:#ae5148!important}

/* Gear picker / overlays */
html[data-theme="dark"] .oz-gear-picker,
html[data-theme="dark"] .oz-slot-picker{
 background:#091316!important;
 border-color:#4b8580!important;
}
html[data-theme="light"] .oz-gear-picker,
html[data-theme="light"] .oz-slot-picker{
 background:#e3ded3!important;
 border-color:#638e89!important;
 box-shadow:0 14px 32px rgba(69,62,52,.20)!important;
}
html[data-theme="light"] .oz-gear-picker-head{border-color:#91a9aa!important}
html[data-theme="light"] .oz-gear-picker-head small{color:#2f7773!important}
html[data-theme="light"] .oz-gear-picker-head b{color:#2b3738!important}
html[data-theme="light"] .oz-gear-picker-card{
 background:#d4d3c9!important;
 border-color:#91a9aa!important;
 color:#303d3d!important;
}
html[data-theme="light"] .oz-gear-picker-card:hover{
 background:#c4d5d0!important;
 outline-color:#568984!important;
}
html[data-theme="light"] .oz-gear-picker-copy b{color:#2d3a3b!important}
html[data-theme="light"] .oz-gear-picker-copy small{color:#687375!important}

/* Defense retains alert semantics but fits the palette. */
html[data-theme="dark"] .oz-defense-alert{
 background:linear-gradient(145deg,#171c1e,#101719)!important;
 border-color:#41636b!important;
}
html[data-theme="light"] .oz-defense-alert{
 background:linear-gradient(145deg,#eadfd4,#ded8cd)!important;
 border-color:#b78c72!important;
}
html[data-theme="light"] .oz-defense-countdown strong{color:#41636b!important}
html[data-theme="dark"] .oz-defense-fight{
 background:linear-gradient(#6c3825,#351a12)!important;
 border-color:#a46c48!important;
 color:#f1c19e!important;
}
html[data-theme="light"] .oz-defense-fight{
 background:linear-gradient(#b36d47,#66858a)!important;
 border-color:#81452e!important;
 color:#fff1e5!important;
}

/* Crafting filter state */
html[data-theme="dark"] .oz-craft-filter-group button.active{
 background:#18302f!important;
 border-color:#4f8c87!important;
}
html[data-theme="light"] .oz-craft-filter-group button.active{
 background:#bdd0cb!important;
 border-color:#5a8b86!important;
 color:#245f5c!important;
}

/* RARITY COLORS ARE INTENTIONALLY PRESERVED.
   They are gameplay semantics, not part of the general UI palette. */

/* Public/admin shell receives the same family where applicable. */
html[data-theme="dark"] body.oz-public,
html[data-theme="dark"] body.oz-admin{
 background:#091013!important;
 color:#dce4e0!important;
}
html[data-theme="light"] body.oz-public,
html[data-theme="light"] body.oz-admin{
 background:#ded8ca!important;
 color:#293536!important;
}
html[data-theme="dark"] .admin-appbar{
 background:#0a1215!important;
 border-color:#294047!important;
}
html[data-theme="light"] .admin-appbar{
 background:#ded8cc!important;
 border-color:#91a9aa!important;
}
html[data-theme="dark"] .public-page{
 background:#111a1e!important;
 border-color:#294047!important;
 color:#a9b4b2!important;
}
html[data-theme="light"] .public-page{
 background:#eee9de!important;
 border-color:#91a9aa!important;
 color:#4f5d5e!important;
}

/* Mobile drawer must match both themes. */
@media(max-width:900px){
 html[data-theme="dark"] body.is-account .content>.cl-left{
  background:#0b1417!important;
  border-right-color:#294047!important;
 }
 html[data-theme="light"] body.is-account .content>.cl-left{
  background:#d2ccbf!important;
  border-right-color:#91a9aa!important;
 }
 html[data-theme="light"] body.is-account.account-menu-open .account-menu-backdrop{
  background:rgba(55,54,49,.48)!important;
 }
}

/* =========================================================
   v1.60 — FULL THEME PASS
   Covers legacy mission/world/squad/base blocks that still
   carried the original olive palette.
   ========================================================= */

/* DARK: legacy surface normalization */
html[data-theme="dark"] body.oz-account .oz-missions-toolbar,
html[data-theme="dark"] body.oz-account .oz-survivor-pool,
html[data-theme="dark"] body.oz-account .oz-zone-section,
html[data-theme="dark"] body.oz-account .oz-zone-header,
html[data-theme="dark"] body.oz-account .oz-mission-card-v3,
html[data-theme="dark"] body.oz-account .oz-mission-body-v3,
html[data-theme="dark"] body.oz-account .oz-mission-recovery,
html[data-theme="dark"] body.oz-account .oz-mission-deploy,
html[data-theme="dark"] body.oz-account .oz-mission-team,
html[data-theme="dark"] body.oz-account .oz-mission-costs,
html[data-theme="dark"] body.oz-account .oz-mission-transport-card,
html[data-theme="dark"] body.oz-account .oz-mission-slot,
html[data-theme="dark"] body.oz-account .oz-survivor-pool-card,
html[data-theme="dark"] body.oz-account .oz-energy-card{
 background:#0d171a!important;
 border-color:#294047!important;
 color:#d9e2de!important;
}
html[data-theme="dark"] body.oz-account .oz-missions-toolbar{
 background:#0a1316!important;
}
html[data-theme="dark"] body.oz-account .oz-survivor-pool{
 background:linear-gradient(180deg,#111c20,#0d171a)!important;
}
html[data-theme="dark"] body.oz-account .oz-survivor-pool-card{
 background:#10191c!important;
}
html[data-theme="dark"] body.oz-account .oz-zone-header{
 background:linear-gradient(90deg,#132226,#0b1417)!important;
 border-color:#315058!important;
 box-shadow:inset 4px 0 #4c918b!important;
}
html[data-theme="dark"] body.oz-account .oz-mission-card-v3{
 background:linear-gradient(180deg,#101a1d,#0a1215)!important;
 border-color:#315058!important;
 box-shadow:inset 0 0 0 2px #071013!important;
}
html[data-theme="dark"] body.oz-account .oz-mission-recovery{
 background:#0a1316!important;
 border-color:#294047!important;
}
html[data-theme="dark"] body.oz-account .oz-mission-slot{
 background:
  repeating-linear-gradient(135deg,rgba(77,143,138,.035) 0 8px,transparent 8px 16px),
  #0a1316!important;
 border-color:#36545b!important;
}
html[data-theme="dark"] body.oz-account .oz-mission-slot:hover{
 background:#12262a!important;
 border-color:#5ca9a2!important;
}
html[data-theme="dark"] body.oz-account .oz-mission-slot strong,
html[data-theme="dark"] body.oz-account .oz-mission-slot .slot-plus,
html[data-theme="dark"] body.oz-account .oz-zone-header strong,
html[data-theme="dark"] body.oz-account .oz-mission-recovery>small,
html[data-theme="dark"] body.oz-account .oz-mission-copy-v3>small{
 color:#65bcb4!important;
}
html[data-theme="dark"] body.oz-account .oz-mission-copy-v3 h2{
 color:#e0e7e3!important;
}
html[data-theme="dark"] body.oz-account .oz-mission-copy-v3 p,
html[data-theme="dark"] body.oz-account .oz-zone-header p,
html[data-theme="dark"] body.oz-account .oz-survivor-pool-card small{
 color:#87979a!important;
}
html[data-theme="dark"] body.oz-account .oz-mission-art-v3>span{
 background:#091316!important;color:#72c9c1!important;border-color:#417873!important;
}
html[data-theme="dark"] body.oz-account .oz-mission-costs span,
html[data-theme="dark"] body.oz-account .oz-mission-transport-card{
 background:#0b1518!important;border-color:#294047!important;
}
html[data-theme="dark"] body.oz-account .oz-mission-transport-card b{
 color:#d8e3df!important;
}
html[data-theme="dark"] body.oz-account .oz-mission-card-v3 select{
 background:#102126!important;border-color:#4a7775!important;color:#dbe6e2!important;
}
html[data-theme="dark"] body.oz-account .oz-mission-card-v3 .game-btn{
 background:#173037!important;border-color:#4b8984!important;color:#e1efeb!important;
}
html[data-theme="dark"] body.oz-account .oz-mission-card-v3 .game-btn:hover:not(:disabled){
 background:#214047!important;border-color:#71bdb6!important;
}

/* Replace old acid/olive emphasis inside account content without touching rarity borders. */
html[data-theme="dark"] body.oz-account .oz-zone-filter.active,
html[data-theme="dark"] body.oz-account .oz-zone-filter:hover,
html[data-theme="dark"] body.oz-account .oz-world-map-link:hover{
 border-color:#5aa59f!important;color:#82d0c8!important;background:#14272b!important;
}
html[data-theme="dark"] body.oz-account .oz-zone-filter,
html[data-theme="dark"] body.oz-account .oz-world-map-link{
 background:#0d171a!important;border-color:#304a51!important;color:#9caaa9!important;
}

/* LIGHT THEME REBUILT: darker shell + warm readable content.
   This avoids the washed-out beige-on-beige look. */
html[data-theme="light"] body.oz-account{
 background:
   radial-gradient(circle at 78% -10%,rgba(42,111,107,.08),transparent 34%),
   linear-gradient(rgba(48,59,57,.035) 1px,transparent 1px),
   #d4d0c5!important;
 background-size:auto,100% 5px,auto!important;
 color:#243133!important;
}
html[data-theme="light"] .oz-appbar{
 background:#f0ede5!important;
 border-bottom:1px solid #96988f!important;
 box-shadow:0 4px 14px rgba(41,48,45,.13)!important;
}
html[data-theme="light"] .oz-account .content>.cl-left{
 background:linear-gradient(180deg,#c7c5bb,#b9b8af)!important;
 border-right:1px solid #92968e!important;
}
html[data-theme="light"] .oz-account .content>.cl-right{
 background:transparent!important;
}
html[data-theme="light"] .oz-account .account-nav{color:#48595b!important}
html[data-theme="light"] .oz-account .account-nav:hover{background:#d4d5ce!important;color:#1f3435!important}
html[data-theme="light"] .oz-account .account-nav.active{
 background:#e5e3db!important;
 box-shadow:inset 4px 0 #2f7773!important;
 color:#205f5c!important;
}
html[data-theme="light"] .oz-account .nav-icon{background:#aeb3ad!important;color:#3f595a!important}
html[data-theme="light"] .oz-account .account-nav.active .nav-icon{background:#c2d6d1!important;color:#1e625e!important}

/* Main light panels are almost-paper with dark steel borders. */
html[data-theme="light"] .oz-hero,
html[data-theme="light"] .oz-account .game-panel,
html[data-theme="light"] .oz-account .dash-card,
html[data-theme="light"] .oz-character-card,
html[data-theme="light"] .oz-building-card,
html[data-theme="light"] .oz-building-card-v2,
html[data-theme="light"] .oz-item-card,
html[data-theme="light"] .oz-recipe-card,
html[data-theme="light"] .oz-recipe-card-v2,
html[data-theme="light"] .oz-drop-card,
html[data-theme="light"] .oz-mission-card,
html[data-theme="light"] .oz-armory-item,
html[data-theme="light"] .oz-survivor-loadout,
html[data-theme="light"] .oz-reserve-card,
html[data-theme="light"] .oz-transport-card,
html[data-theme="light"] .oz-event-card{
 background:#ece9e1!important;
 border-color:#979b92!important;
 color:#293738!important;
 box-shadow:0 7px 18px rgba(46,54,50,.09)!important;
}

/* Missions light: no black cards, no olive chrome. */
html[data-theme="light"] body.oz-account .oz-missions-toolbar{
 background:#354246!important;
 border-color:#59686a!important;
 box-shadow:none!important;
}
html[data-theme="light"] body.oz-account .oz-missions-toolbar .oz-zone-filter,
html[data-theme="light"] body.oz-account .oz-missions-toolbar .oz-world-map-link{
 background:#293639!important;
 border-color:#667678!important;
 color:#d9e3df!important;
}
html[data-theme="light"] body.oz-account .oz-missions-toolbar .oz-zone-filter.active{
 background:#3e9995!important;
 border-color:#9d5836!important;
 color:#fff7ef!important;
}
html[data-theme="light"] body.oz-account .oz-missions-toolbar .oz-zone-filter:hover,
html[data-theme="light"] body.oz-account .oz-missions-toolbar .oz-world-map-link:hover{
 background:#3d5e60!important;border-color:#6c9995!important;color:#fff!important;
}
html[data-theme="light"] body.oz-account .oz-survivor-pool{
 background:#e7e5dd!important;
 border-color:#969b92!important;
 box-shadow:inset 0 0 0 3px #d7d4ca!important;
}
html[data-theme="light"] body.oz-account .oz-survivor-pool-card{
 background:#f2efe8!important;
 border-color:#9da39a!important;
 color:#283637!important;
}
html[data-theme="light"] body.oz-account .oz-survivor-pool-card h3{color:#263536!important}
html[data-theme="light"] body.oz-account .oz-survivor-pool-card small{color:#5f6d6f!important}
html[data-theme="light"] body.oz-account .oz-zone-header{
 background:linear-gradient(90deg,#d9e1dc,#ece9e1)!important;
 border-color:#8d9d98!important;
 box-shadow:inset 5px 0 #327a76!important;
}
html[data-theme="light"] body.oz-account .oz-zone-header strong,
html[data-theme="light"] body.oz-account .oz-zone-header .oz-zone-no{
 color:#246b67!important;
}
html[data-theme="light"] body.oz-account .oz-zone-header h2{color:#263536!important}
html[data-theme="light"] body.oz-account .oz-zone-header p{color:#647173!important}
html[data-theme="light"] body.oz-account .oz-mission-card-v3{
 background:#ebe8e0!important;
 border-color:#8f9690!important;
 box-shadow:inset 0 0 0 3px #dad7ce,0 6px 16px rgba(44,51,48,.09)!important;
}
html[data-theme="light"] body.oz-account .oz-mission-card-v3 .oz-mission-main{
 background:#ece9e1!important;
}
html[data-theme="light"] body.oz-account .oz-mission-copy-v3>small,
html[data-theme="light"] body.oz-account .oz-mission-recovery>small{color:#2f7773!important}
html[data-theme="light"] body.oz-account .oz-mission-copy-v3 h2{color:#263536!important}
html[data-theme="light"] body.oz-account .oz-mission-copy-v3 p{color:#627072!important}
html[data-theme="light"] body.oz-account .oz-mission-recovery{
 background:#dcdad2!important;
 border-color:#a0a198!important;
}
html[data-theme="light"] body.oz-account .oz-mission-recovery span{
 background:#f0ede6!important;border-color:#9da39a!important;color:#3f4e4f!important;
}
html[data-theme="light"] body.oz-account .oz-mission-team,
html[data-theme="light"] body.oz-account .oz-mission-deploy{
 background:#e3e1d9!important;
 border-color:#9da098!important;
}
html[data-theme="light"] body.oz-account .oz-mission-slot{
 background:
  repeating-linear-gradient(135deg,rgba(52,88,86,.035) 0 8px,transparent 8px 16px),
  #d6d5cd!important;
 border-color:#929d98!important;
 color:#61706f!important;
}
html[data-theme="light"] body.oz-account .oz-mission-slot:hover{
 background:#c8dad5!important;border-color:#568984!important;
}
html[data-theme="light"] body.oz-account .oz-mission-slot strong,
html[data-theme="light"] body.oz-account .oz-mission-slot .slot-plus{color:#2c716d!important}
html[data-theme="light"] body.oz-account .oz-mission-costs span{
 background:#d2d3cb!important;border-color:#989d95!important;color:#445456!important;
}
html[data-theme="light"] body.oz-account .oz-mission-costs b{color:#273b3b!important}
html[data-theme="light"] body.oz-account .oz-mission-transport-card{
 background:#d7d8d0!important;border-color:#929a93!important;
}
html[data-theme="light"] body.oz-account .oz-mission-transport-card b{color:#273b3b!important}
html[data-theme="light"] body.oz-account .oz-mission-card-v3 select{
 background:#f6f3ec!important;border-color:#7f918e!important;color:#273839!important;
}
html[data-theme="light"] body.oz-account .oz-mission-card-v3 .game-btn{
 background:#315d60!important;border-color:#274f52!important;color:#f4f6f1!important;
}
html[data-theme="light"] body.oz-account .oz-mission-card-v3 .game-btn:hover:not(:disabled){
 background:#3e7373!important;border-color:#285e5b!important;color:#fff!important;
}
html[data-theme="light"] body.oz-account .oz-mission-art-v3>span{
 background:#26383a!important;color:#d9f0eb!important;border-color:#557b78!important;
}

/* Light hero: stronger hierarchy than previous washed panel. */
html[data-theme="light"] .oz-hero{
 background:
  linear-gradient(110deg,rgba(47,119,115,.10),transparent 42%),
  #e9e6de!important;
 border-color:#929990!important;
}
html[data-theme="light"] .oz-hero h1{color:#233234!important}
html[data-theme="light"] .oz-hero p{color:#59696b!important}
html[data-theme="light"] .oz-kicker{color:#2f7773!important}
html[data-theme="light"] .oz-power-badge,
html[data-theme="light"] .oz-energy-card{
 background:#263438!important;
 border-color:#536468!important;
 color:#e5ebe7!important;
}
html[data-theme="light"] .oz-power-badge small,
html[data-theme="light"] .oz-energy-card small{color:#aebdbb!important}
html[data-theme="light"] .oz-power-badge strong,
html[data-theme="light"] .oz-energy-card strong{color:#e0a071!important}

/* Light FIELD LINK and notices: more contrast. */
html[data-theme="light"] .oz-field-comm{
 background:#314145!important;
 border-color:#627a7b!important;
 box-shadow:0 2px 8px rgba(41,51,49,.14)!important;
}
html[data-theme="light"] .oz-comm-screen{background:#d9ddd5!important;border-color:#80938f!important}
html[data-theme="light"] .oz-comm-signal{color:#246b67!important}
html[data-theme="light"] .oz-comm-message{color:#344747!important}
html[data-theme="light"] .oz-comm-nav,
html[data-theme="light"] .oz-comm-last{background:#c5cec9!important;color:#245f5c!important}
html[data-theme="light"] .oz-header-noticebar{
 background:#d2d1c8!important;border-bottom-color:#9ca098!important;
}
html[data-theme="light"] .oz-header-notice{
 background:#e5e5dd!important;border-color:#8b9c98!important;
}

/* General light text contrast fixes for old hardcoded colors. */
html[data-theme="light"] body.oz-account .panel-title h2,
html[data-theme="light"] body.oz-account h1,
html[data-theme="light"] body.oz-account h2,
html[data-theme="light"] body.oz-account h3{color:#263536!important}
html[data-theme="light"] body.oz-account .oz-kicker,
html[data-theme="light"] body.oz-account [class*="eyebrow"]{color:#2f7773!important}
html[data-theme="light"] body.oz-account .game-btn{
 background:#d0d5d0!important;border-color:#7e918d!important;color:#274143!important;
}
html[data-theme="light"] body.oz-account .game-btn:hover:not(:disabled){
 background:#bfd2cd!important;border-color:#4d827e!important;color:#164f4c!important;
}

/* Mobile light drawer readability */
@media(max-width:900px){
 html[data-theme="light"] body.is-account .content>.cl-left{
  background:#c3c2b9!important;
  box-shadow:10px 0 28px rgba(35,44,42,.22)!important;
 }
 html[data-theme="light"] .oz-account .account-nav{
  color:#344b4d!important;
 }
}

/* =========================================================
   OUTPOST ZERO v1.61 — STRONG RECOLOR / BUTTON CONTRAST PASS
   Goal: remove remaining brown/olive from normal UI.
   Warm colors remain only for danger / hostile / warning states.
   ========================================================= */

/* ---------- DARK THEME: STEEL + TEAL ---------- */
html[data-theme="dark"] body.oz-account,
body.oz-account:not([data-theme]){
 background:
  radial-gradient(circle at 82% -10%,rgba(47,194,185,.10),transparent 34%),
  radial-gradient(circle at 10% 55%,rgba(43,88,105,.07),transparent 30%),
  linear-gradient(rgba(97,160,170,.022) 1px,transparent 1px),
  #071015!important;
 background-size:auto,auto,100% 5px,auto!important;
}

/* Kill legacy brown/olive surfaces across the account UI. */
html[data-theme="dark"] body.oz-account :is(
 .oz-hero,.game-panel,.dash-card,.oz-character-card,.oz-building-card,.oz-building-card-v2,
 .oz-item-card,.oz-recipe-card,.oz-recipe-card-v2,.oz-drop-card,.oz-mission-card,.oz-mission-card-v3,
 .oz-armory-item,.oz-survivor-loadout,.oz-reserve-card,.oz-transport-card,.oz-event-card,
 .oz-zone-node,.oz-zone-header,.oz-survivor-pool,.oz-survivor-pool-card,.oz-defense-alert,
 .oz-defense-slot,.oz-defense-roster>article,.oz-defense-module-slot,.oz-defense-prep-card,
 .oz-mission-team,.oz-mission-deploy,.oz-mission-recovery,.oz-mission-costs span,
 .oz-mission-transport-card,.oz-world-rules article,.oz-craft-empty,.oz-reforge-flow
 ){
 background:#0d171d!important;
 border-color:#284653!important;
 color:#dce7e5!important;
 box-shadow:0 8px 24px rgba(0,0,0,.24)!important;
}

/* Hero / major panels have a subtle blue-teal lift instead of brown. */
html[data-theme="dark"] body.oz-account .oz-hero{
 background:
   linear-gradient(110deg,rgba(35,178,169,.12),transparent 42%),
   linear-gradient(160deg,#122129,#0b1419)!important;
 border-color:#315664!important;
}
html[data-theme="dark"] body.oz-account .oz-dashboard-grid>.game-panel,
html[data-theme="dark"] body.oz-account .oz-stats .dash-card{
 background:linear-gradient(145deg,#101c22,#0b151a)!important;
}

/* Sidebar */
html[data-theme="dark"] body.oz-account .content>.cl-left{
 background:linear-gradient(180deg,#09151b,#071015)!important;
 border-right-color:#24414c!important;
}
html[data-theme="dark"] body.oz-account .account-nav{
 color:#8fa5aa!important;
}
html[data-theme="dark"] body.oz-account .account-nav:hover{
 background:#10252c!important;
 color:#eaf4f2!important;
}
html[data-theme="dark"] body.oz-account .account-nav.active{
 background:linear-gradient(90deg,rgba(39,193,184,.20),rgba(39,193,184,.03))!important;
 box-shadow:inset 4px 0 #35c3b9!important;
 color:#e8fffb!important;
}
html[data-theme="dark"] body.oz-account .nav-icon{
 background:#0d2027!important;
 border-color:#294c59!important;
 color:#70aeb4!important;
}
html[data-theme="dark"] body.oz-account .account-nav.active .nav-icon{
 background:#123337!important;
 color:#7be1d8!important;
}

/* Generic labels/lines: no olive. */
html[data-theme="dark"] body.oz-account :is(
 .oz-kicker,.panel-title small,.sidebar-label,.oz-mission-copy-v3>small,
 .oz-mission-recovery>small,.oz-zone-header .oz-zone-no,.oz-zone-header strong,
 .oz-event-choice-copy>small,.oz-defense-module-head small
 ){
 color:#5fc8c0!important;
}
html[data-theme="dark"] body.oz-account :is(
 .oz-hero h1,.panel-title h2,h1,h2,h3,.oz-mission-copy-v3 h2
 ){
 color:#e5ece9!important;
}
html[data-theme="dark"] body.oz-account :is(
 p,.muted,.oz-mission-copy-v3 p,.oz-zone-header p,.oz-survivor-pool-card small
 ){
 color:#899ca0!important;
}

/* Command Center specific remaining warm borders */
html[data-theme="dark"] body.oz-account :is(
 .xp-strip,.oz-readiness-card,.oz-command-priority,.oz-next-mission,
 .oz-squad-mini article,.oz-building-row article,.oz-stat-grid span,.oz-needs span
 ){
 background:#0c171c!important;
 border-color:#294a56!important;
}

/* Mission toolbar / zone bars */
html[data-theme="dark"] body.oz-account .oz-missions-toolbar{
 background:#081217!important;
 border-color:#2b4c58!important;
}
html[data-theme="dark"] body.oz-account .oz-zone-header{
 background:linear-gradient(90deg,#10252b,#0b171b)!important;
 border-color:#315965!important;
 box-shadow:inset 5px 0 #36bfb6!important;
}
html[data-theme="dark"] body.oz-account .oz-mission-card-v3{
 background:#0a1419!important;
 border-color:#2b4d59!important;
 box-shadow:inset 0 0 0 2px #061014,0 7px 20px rgba(0,0,0,.28)!important;
}
html[data-theme="dark"] body.oz-account .oz-mission-recovery{
 background:#091319!important;
}

/* Empty slots: teal grid, no old yellow-green. */
html[data-theme="dark"] body.oz-account :is(.oz-mission-slot,.oz-drop-slot,.oz-equip-slot){
 background:
  repeating-linear-gradient(135deg,rgba(45,157,154,.035) 0 8px,transparent 8px 16px),
  #09151a!important;
 border-color:#31505b!important;
}
html[data-theme="dark"] body.oz-account :is(.oz-mission-slot,.oz-drop-slot,.oz-equip-slot):hover{
 background:#10292e!important;
 border-color:#54b8b0!important;
}
html[data-theme="dark"] body.oz-account :is(
 .oz-mission-slot .slot-plus,.oz-mission-slot strong,.oz-equip-empty
 ){
 color:#62c9c1!important;
}

/* Generic progress / XP */
html[data-theme="dark"] body.oz-account :is(
 .progress,.appbar-xp-track,.oz-xp-bar-v2,.oz-zone-progress,.oz-defense-meter
 ){
 background:#071319!important;
 border-color:#284653!important;
}
html[data-theme="dark"] body.oz-account :is(
 .progress i,.appbar-xp-track i,.oz-xp-bar-v2 .oz-bar-fill,.oz-zone-progress i,.oz-defense-meter>i
 ){
 background:linear-gradient(90deg,#248e89,#52d0c6)!important;
 box-shadow:0 0 8px rgba(68,205,195,.20)!important;
}

/* Keep HP red, danger red/orange, rarities untouched. */
html[data-theme="dark"] body.oz-account .oz-hp-bar-v2 .oz-bar-fill{background:#ba5047!important}

/* Remove orange from ordinary PWR/readiness numbers. */
html[data-theme="dark"] body.oz-account :is(
 .oz-power-badge strong,.oz-power-change strong,.oz-readiness-card strong,
 .oz-squad-mini strong,.oz-mission-team-power b,.oz-defense-breakdown b
 ){
 color:#79d8d0!important;
}

/* ---------- BUTTON SYSTEM: HIGH CONTRAST ---------- */

/* Primary action: bright teal metal */
html[data-theme="dark"] body.oz-account :is(
 .game-btn,.oz-primary,.oz-armory-equip,.oz-armory-upgrade,.oz-upgrade-btn,
 .oz-defense-module-slot button,.oz-craft-filter-group button.active
 ){
 background:linear-gradient(180deg,#1f6f72,#154d52)!important;
 border:1px solid #49aaa5!important;
 color:#f1fffc!important;
 box-shadow:
   inset 0 1px rgba(255,255,255,.08),
   0 0 0 1px rgba(12,25,29,.7),
   0 5px 14px rgba(0,0,0,.22)!important;
 text-shadow:0 1px rgba(0,0,0,.28)!important;
}

/* Most regular clickable buttons get a visible teal edge even when not primary. */
html[data-theme="dark"] body.oz-account button:not(:disabled),
html[data-theme="dark"] body.oz-account a.game-btn,
html[data-theme="dark"] body.oz-account a[class*="-btn"]{
 border-color:#3f8585!important;
 color:#dff9f5!important;
}

/* Strong hover */
html[data-theme="dark"] body.oz-account button:not(:disabled):hover,
html[data-theme="dark"] body.oz-account a.game-btn:hover,
html[data-theme="dark"] body.oz-account a[class*="-btn"]:hover{
 background:linear-gradient(180deg,#2c8587,#1b5f63)!important;
 border-color:#73d6ce!important;
 color:#ffffff!important;
 box-shadow:
   0 0 0 1px rgba(100,216,206,.18),
   0 0 14px rgba(67,198,189,.22),
   0 5px 14px rgba(0,0,0,.28)!important;
 transform:translateY(-1px)!important;
}.oz-armory-dismantle,
.oz-repair-btn,
.oz-defense-clear
 ){
 background:linear-gradient(180deg,#5c2d2a,#3c1d1b)!important;
 border-color:#a7584d!important;
 color:#f1b0a7!important;
}.oz-armory-dismantle,
.oz-repair-btn,
.oz-defense-clear
 ):hover{
 background:linear-gradient(180deg,#793a34,#4c2420)!important;
 border-color:#dc7869!important;
 color:#ffd2ca!important;
}

/* Threat/raid button stays hostile orange-red */
html[data-theme="dark"] body.oz-account .oz-defense-fight{
 background:linear-gradient(180deg,#a94f35,#6d2f24)!important;
 border-color:#e17e58!important;
 color:#fff0e7!important;
}

/* Filters are dark steel until selected. */
html[data-theme="dark"] body.oz-account :is(
 .oz-zone-filter,.oz-world-map-link,.oz-craft-filter-group button:not(.active)
 ){
 background:#0b1920!important;
 border-color:#31515e!important;
 color:#91aeb1!important;
}
html[data-theme="dark"] body.oz-account :is(
 .oz-zone-filter.active,.oz-craft-filter-group button.active
 ){
 background:#174d52!important;
 border-color:#4dadab!important;
 color:#eafffb!important;
}

/* ---------- LIGHT THEME: COOL FIELD CONSOLE ---------- */
html[data-theme="light"] body.oz-account{
 background:
  radial-gradient(circle at 80% -8%,rgba(36,122,120,.08),transparent 34%),
  linear-gradient(rgba(50,72,72,.035) 1px,transparent 1px),
  #d7d9d4!important;
 background-size:auto,100% 5px,auto!important;
 color:#223234!important;
}
html[data-theme="light"] .oz-appbar{
 background:#edf0ec!important;
 border-bottom-color:#8e9d9c!important;
}
html[data-theme="light"] .oz-account .content>.cl-left{
 background:linear-gradient(180deg,#c3cdca,#b4c0bd)!important;
 border-right-color:#899a98!important;
}
html[data-theme="light"] .oz-account .account-nav{
 color:#40595b!important;
}
html[data-theme="light"] .oz-account .account-nav:hover{
 background:#d8e2df!important;
 color:#173f40!important;
}
html[data-theme="light"] .oz-account .account-nav.active{
 background:#e8efec!important;
 box-shadow:inset 4px 0 #2c7773!important;
 color:#145754!important;
}

/* Light cards: cool neutral, not beige */
html[data-theme="light"] body.oz-account :is(
 .oz-hero,.game-panel,.dash-card,.oz-character-card,.oz-building-card,.oz-building-card-v2,
 .oz-item-card,.oz-recipe-card,.oz-recipe-card-v2,.oz-drop-card,.oz-mission-card,.oz-mission-card-v3,
 .oz-armory-item,.oz-survivor-loadout,.oz-reserve-card,.oz-transport-card,.oz-event-card,
 .oz-zone-node,.oz-survivor-pool,.oz-survivor-pool-card,.oz-defense-slot,.oz-defense-roster>article,
 .oz-defense-module-slot,.oz-defense-prep-card,.oz-mission-team,.oz-mission-deploy,.oz-mission-recovery
 ){
 background:#eef1ed!important;
 border-color:#93a19f!important;
 color:#253638!important;
 box-shadow:0 6px 16px rgba(44,57,55,.08)!important;
}
html[data-theme="light"] body.oz-account .oz-hero{
 background:
   linear-gradient(110deg,rgba(37,125,121,.09),transparent 42%),
   #eef1ed!important;
}

/* Light mission section */
html[data-theme="light"] body.oz-account .oz-missions-toolbar{
 background:#2d4248!important;
 border-color:#516a70!important;
}
html[data-theme="light"] body.oz-account .oz-zone-header{
 background:linear-gradient(90deg,#cce1dd,#e9efec)!important;
 border-color:#789b98!important;
 box-shadow:inset 5px 0 #2d7a76!important;
}
html[data-theme="light"] body.oz-account .oz-mission-card-v3{
 background:#eef1ed!important;
 border-color:#8e9d9a!important;
 box-shadow:inset 0 0 0 2px #dce4e1,0 6px 16px rgba(39,53,51,.09)!important;
}
html[data-theme="light"] body.oz-account .oz-mission-recovery{
 background:#dfe7e3!important;
}
html[data-theme="light"] body.oz-account .oz-mission-costs span,
html[data-theme="light"] body.oz-account .oz-mission-transport-card{
 background:#d6dfdc!important;
 border-color:#8d9e9b!important;
 color:#33494a!important;
}
html[data-theme="light"] body.oz-account :is(.oz-mission-slot,.oz-drop-slot,.oz-equip-slot){
 background:
  repeating-linear-gradient(135deg,rgba(41,116,113,.035) 0 8px,transparent 8px 16px),
  #d8e1de!important;
 border-color:#819894!important;
}
html[data-theme="light"] body.oz-account :is(.oz-mission-slot,.oz-drop-slot,.oz-equip-slot):hover{
 background:#c5dad5!important;
 border-color:#4f8e89!important;
}

/* Light buttons: dark teal, strong contrast */
html[data-theme="light"] body.oz-account :is(
 .game-btn,.oz-primary,.oz-armory-equip,.oz-armory-upgrade,.oz-upgrade-btn
 ){
 background:linear-gradient(180deg,#34777a,#285d62)!important;
 border:1px solid #214e52!important;
 color:#f7fffd!important;
 box-shadow:0 4px 10px rgba(35,64,63,.15)!important;
 text-shadow:0 1px rgba(0,0,0,.16)!important;
}
html[data-theme="light"] body.oz-account button:not(:disabled),
html[data-theme="light"] body.oz-account a.game-btn,
html[data-theme="light"] body.oz-account a[class*="-btn"]{
 border-color:#3f7475!important;
}
html[data-theme="light"] body.oz-account button:not(:disabled):hover,
html[data-theme="light"] body.oz-account a.game-btn:hover,
html[data-theme="light"] body.oz-account a[class*="-btn"]:hover{
 background:linear-gradient(180deg,#448f8e,#2e6e70)!important;
 border-color:#235d5c!important;
 color:#fff!important;
 box-shadow:0 0 12px rgba(46,125,121,.18),0 5px 12px rgba(37,60,58,.12)!important;
}.oz-armory-dismantle,
.oz-repair-btn,
.oz-defense-clear
 ){
 background:linear-gradient(180deg,#a6584c,#7e3f38)!important;
 border-color:#75362f!important;
 color:#fff4ef!important;
}

/* Light PWR/status uses teal instead of orange/brown. */
html[data-theme="light"] body.oz-account :is(
 .oz-power-badge strong,.oz-power-change strong,.oz-readiness-card strong,
 .oz-squad-mini strong,.oz-defense-breakdown b,.oz-mission-team-power b
 ){
 color:#176864!important;
}

/* Header resources less brown */
html[data-theme="light"] .oz-header-resource,
html[data-theme="light"] .oz-appbar .appbar-balance,
html[data-theme="light"] .oz-appbar .appbar-crystals{
 background:#dde5e2!important;
 border-color:#879c99!important;
 color:#25393a!important;
}
html[data-theme="dark"] .oz-header-resource,
html[data-theme="dark"] .oz-appbar .appbar-balance,
html[data-theme="dark"] .oz-appbar .appbar-crystals{
 background:#0d1c22!important;
 border-color:#2d505d!important;
}

/* Alerts alone may keep warm warning colors */
html[data-theme="dark"] .oz-header-notice.threat{
 background:#1b1210!important;
 border-color:#8f4e39!important;
}
html[data-theme="light"] .oz-header-notice.threat{
 background:#ead8d0!important;
 border-color:#b46f54!important;
}

/* Rarity palette stays semantic and unchanged. */

/* =========================================================
   OUTPOST ZERO v1.62 — FINAL PALETTE CLEANUP
   All legacy brown/olive literals were audited across every CSS file.
   ========================================================= */

/* Stable dark palette */
html[data-theme="dark"]{
 --oz-bg:#071015!important;
 --oz-panel:#0d171d!important;
 --oz-panel2:#102128!important;
 --oz-panel3:#183039!important;
 --oz-border:#294752!important;
 --oz-text:#dce7e3!important;
 --oz-muted:#81969a!important;
 --oz-rust:#3baaa4!important;
 --oz-rust2:#66d0c6!important;
 --oz-toxic:#58c8bf!important;
 --oz-steel:#779096!important;
}
html[data-theme="dark"] body.oz-account{
 background:
  radial-gradient(circle at 82% -10%,rgba(53,195,185,.11),transparent 33%),
  linear-gradient(rgba(91,158,168,.022) 1px,transparent 1px),
  #071015!important;
 background-size:auto,100% 5px,auto!important;
}

/* Normal borders throughout the account are steel-blue, never brown. */
html[data-theme="dark"] body.oz-account :where(
 .game-panel,.dash-card,.oz-hero,.oz-mission-card-v3,.oz-survivor-pool,
 .oz-survivor-pool-card,.oz-zone-header,.oz-defense-slot,.oz-defense-module-slot,
 .oz-event-card,.oz-armory-item,.oz-survivor-loadout,.oz-reserve-card,
 .oz-building-card-v2,.oz-transport-card,.oz-recipe-card-v2,.oz-mini-gear,
 .oz-equip-slot,.oz-mission-slot,.oz-drop-slot
 ){
 border-color:#294752!important;
}

/* Dark buttons stand apart clearly from panels. */
html[data-theme="dark"] body.oz-account :where(
 button:not(:disabled),a.game-btn,a[class*="-btn"]
 ){
 background:linear-gradient(180deg,#247b7d,#17565c)!important;
 border:1px solid #55bbb5!important;
 color:#f3fffc!important;
 box-shadow:
  inset 0 1px rgba(255,255,255,.10),
  0 0 0 1px rgba(4,18,22,.85),
  0 4px 12px rgba(0,0,0,.30)!important;
}
html[data-theme="dark"] body.oz-account :where(
 button:not(:disabled),a.game-btn,a[class*="-btn"]
 ):hover{
 background:linear-gradient(180deg,#36a09e,#207174)!important;
 border-color:#8be0d8!important;
 color:#fff!important;
 box-shadow:0 0 15px rgba(73,205,196,.26),0 5px 14px rgba(0,0,0,.30)!important;
}

/* Selected filters/navigation are brighter than normal buttons. */
html[data-theme="dark"] body.oz-account :where(
 .oz-zone-filter.active,.oz-craft-filter-group button.active,.account-nav.active
 ){
 background:linear-gradient(90deg,#15565a,#11383e)!important;
 border-color:#65c9c2!important;
 color:#eafffb!important;
}.oz-armory-dismantle,
.oz-defense-clear,
.oz-repair-btn
 ){
 background:linear-gradient(180deg,#66312c,#421e1b)!important;
 border-color:#ad5a4e!important;
 color:#ffd0c7!important;
}
html[data-theme="dark"] body.oz-account .oz-defense-fight,
html[data-theme="dark"] .oz-header-notice.threat{
 background:linear-gradient(180deg,#803b2c,#472017)!important;
 border-color:#c66d4f!important;
 color:#ffe7d9!important;
}

/* Explicit gameplay rarity colors survive the global palette cleanup. */
.rarity-text.common{color:#b8b8b2!important}
.rarity-text.uncommon{color:#79c56a!important}
.rarity-text.rare{color:#66aef0!important}
.rarity-text.epic{color:#c07be6!important}
.rarity-text.legendary{color:#f0a64b!important}
.rarity-border-common{border-color:#666861!important}
.rarity-border-uncommon{border-color:#69a75d!important}
.rarity-border-rare{border-color:#4d91d0!important}
.rarity-border-epic{border-color:#9b5fc0!important}
.rarity-border-legendary{border-color:#d28a36!important}

/* HP remains red as a health semantic. */
.oz-hp-bar-v2 .oz-bar-fill,.oz-defense-hp i,.oz-survivor-hp i{
 background:#ba5047!important;
}

/* ---------- LIGHT: COOL METAL / FIELD TERMINAL ---------- */
html[data-theme="light"]{
 --oz-bg:#d6ddda!important;
 --oz-panel:#eef2ef!important;
 --oz-panel2:#e2e9e6!important;
 --oz-panel3:#d4dedb!important;
 --oz-border:#8fa4a2!important;
 --oz-text:#223536!important;
 --oz-muted:#617678!important;
 --oz-rust:#287a76!important;
 --oz-rust2:#3e9995!important;
 --oz-toxic:#287a76!important;
 --oz-steel:#607d81!important;
}
html[data-theme="light"] body.oz-account{
 background:
  radial-gradient(circle at 82% -8%,rgba(32,123,119,.09),transparent 34%),
  linear-gradient(rgba(46,74,74,.035) 1px,transparent 1px),
  #d6ddda!important;
 background-size:auto,100% 5px,auto!important;
 color:#223536!important;
}
html[data-theme="light"] .oz-appbar{
 background:#eef2ef!important;
 border-bottom-color:#859b99!important;
}
html[data-theme="light"] .oz-account .content>.cl-left{
 background:linear-gradient(180deg,#bccbc7,#aebfbb)!important;
 border-right-color:#7f9693!important;
}

/* Cool, readable light panels. */
html[data-theme="light"] body.oz-account :where(
 .game-panel,.dash-card,.oz-hero,.oz-character-card,.oz-building-card,.oz-building-card-v2,
 .oz-item-card,.oz-recipe-card,.oz-recipe-card-v2,.oz-drop-card,.oz-mission-card,.oz-mission-card-v3,
 .oz-armory-item,.oz-survivor-loadout,.oz-reserve-card,.oz-transport-card,.oz-event-card,
 .oz-survivor-pool,.oz-survivor-pool-card,.oz-defense-slot,.oz-defense-module-slot
 ){
 background:#eef2ef!important;
 border-color:#8fa4a2!important;
 color:#25383a!important;
 box-shadow:0 6px 16px rgba(35,57,55,.085)!important;
}
html[data-theme="light"] body.oz-account .oz-hero{
 background:linear-gradient(110deg,rgba(43,133,128,.09),transparent 42%),#eef2ef!important;
}
html[data-theme="light"] body.oz-account .oz-zone-header{
 background:linear-gradient(90deg,#c7ded9,#e8efec)!important;
 border-color:#729691!important;
 box-shadow:inset 5px 0 #287a76!important;
}
html[data-theme="light"] body.oz-account .oz-missions-toolbar{
 background:#273d43!important;
 border-color:#4c6970!important;
}

/* Light buttons have a clear dark-teal body and white label. */
html[data-theme="light"] body.oz-account :where(
 button:not(:disabled),a.game-btn,a[class*="-btn"]
 ){
 background:linear-gradient(180deg,#367d7f,#285d63)!important;
 border:1px solid #245158!important;
 color:#f8fffd!important;
 box-shadow:0 4px 10px rgba(31,63,61,.16)!important;
}
html[data-theme="light"] body.oz-account :where(
 button:not(:disabled),a.game-btn,a[class*="-btn"]
 ):hover{
 background:linear-gradient(180deg,#489593,#317174)!important;
 border-color:#1e5c5a!important;
 color:#fff!important;
 box-shadow:0 0 13px rgba(39,126,121,.19),0 5px 12px rgba(35,59,57,.13)!important;
}.oz-armory-dismantle,
.oz-defense-clear,
.oz-repair-btn
 ){
 background:linear-gradient(180deg,#a95a4e,#803f38)!important;
 border-color:#71352f!important;
 color:#fff5f0!important;
}

/* Light secondary blocks */
html[data-theme="light"] body.oz-account :where(
 .oz-effective-stats span,.oz-stat-grid span,.oz-needs span,.oz-building-row article,
 .oz-squad-mini article,.oz-equip-slot,.oz-mini-gear,.oz-mission-costs span,
 .oz-mission-transport-card,.oz-defense-breakdown span,.oz-event-decisions button,
 .oz-world-rules article,.oz-reforge-flow,.oz-craft-empty
 ){
 background:#dbe5e1!important;
 border-color:#8ea39f!important;
 color:#415759!important;
}

/* FIELD LINK light stays legible and intentionally darker than page panels. */
html[data-theme="light"] .oz-field-comm{
 background:#344a50!important;
 border-color:#668783!important;
}
html[data-theme="light"] .oz-comm-screen{
 background:#e0e8e4!important;
 border-color:#789692!important;
}
html[data-theme="light"] .oz-comm-message{color:#304948!important}
html[data-theme="light"] .oz-comm-signal{color:#216965!important}

/* Threat is the only warm header notification. */
html[data-theme="light"] .oz-header-notice.threat{
 background:#ead7cf!important;
 border-color:#b26f57!important;
}

/* =========================================================
   OUTPOST ZERO v1.63 — LIGHT THEME COMPLETE CLEANUP
   Bright field-terminal / brushed alloy theme
   ========================================================= */

html[data-theme="light"]{
 --oz-bg:#e7ece9!important;
 --oz-bg2:#dde5e1!important;
 --oz-panel:#f5f7f4!important;
 --oz-panel2:#edf2ef!important;
 --oz-panel3:#e3ebe7!important;
 --oz-border:#9bb0ad!important;
 --oz-border-soft:#bcc9c6!important;
 --oz-text:#203233!important;
 --oz-muted:#617577!important;
 --oz-rust:#287873!important;
 --oz-rust2:#39948f!important;
 --oz-toxic:#287873!important;
 --oz-steel:#657f83!important;
 --oz-surface:#f5f7f4!important;
 --oz-surface-raised:#ffffff!important;
 --oz-surface-deep:#dce6e2!important;
 --oz-line:#9bb0ad!important;
 --oz-line-strong:#77938f!important;
 --oz-hover:#dceae6!important;
 --oz-input:#ffffff!important;
}

/* Overall page */
html[data-theme="light"] body.oz-account{
 background:
  radial-gradient(circle at 78% -8%,rgba(48,144,137,.075),transparent 32%),
  linear-gradient(rgba(54,86,83,.028) 1px,transparent 1px),
  #e7ece9!important;
 background-size:auto,100% 5px,auto!important;
 color:#203233!important;
}

/* Header and top controls should be light too. */
html[data-theme="light"] .oz-appbar{
 background:rgba(247,249,246,.98)!important;
 border-bottom-color:#98adaa!important;
 box-shadow:0 4px 14px rgba(47,69,66,.10)!important;
}
html[data-theme="light"] .oz-appbar .account-brand b,
html[data-theme="light"] .oz-appbar .user-meta b{color:#203233!important}
html[data-theme="light"] .oz-appbar .account-brand small{color:#287873!important}
html[data-theme="light"] .oz-header-resource,
html[data-theme="light"] .oz-appbar .appbar-balance,
html[data-theme="light"] .oz-appbar .appbar-crystals,
html[data-theme="light"] .oz-appbar .user-avatar,
html[data-theme="light"] .oz-appbar .theme-toggle,
html[data-theme="light"] .account-menu-toggle{
 background:#edf3f0!important;
 border-color:#9eb3af!important;
 color:#234143!important;
}

/* Sidebar much lighter than before */
html[data-theme="light"] .oz-account .content>.cl-left{
 background:linear-gradient(180deg,#dfe7e3,#d4dfdb)!important;
 border-right-color:#95aaa6!important;
}
html[data-theme="light"] .oz-account .sidebar-label{color:#68807f!important}
html[data-theme="light"] .oz-account .account-nav{
 color:#40595a!important;
}
html[data-theme="light"] .oz-account .nav-icon{
 background:#cad8d4!important;
 border-color:#9fb1ae!important;
 color:#466768!important;
}
html[data-theme="light"] .oz-account .account-nav:hover{
 background:#edf3f0!important;
 color:#174f4d!important;
}
html[data-theme="light"] .oz-account .account-nav.active{
 background:#f5faf7!important;
 color:#145d59!important;
 box-shadow:inset 4px 0 #2c837d!important;
}
html[data-theme="light"] .oz-account .account-nav.active .nav-icon{
 background:#c7e1db!important;
 color:#17625e!important;
}
html[data-theme="light"] .oz-account .sidebar-wallet{
 background:#edf2ef!important;
 border-color:#9eb0ad!important;
 color:#273c3d!important;
}

/* Global light surfaces */
html[data-theme="light"] body.oz-account :where(
 .oz-hero,.game-panel,.dash-card,.oz-character-card,.oz-building-card,.oz-building-card-v2,
 .oz-item-card,.oz-recipe-card,.oz-recipe-card-v2,.oz-drop-card,.oz-mission-card,.oz-mission-card-v3,
 .oz-armory-item,.oz-survivor-loadout,.oz-reserve-card,.oz-transport-card,.oz-event-card,
 .oz-zone-node,.oz-survivor-pool,.oz-survivor-pool-card,.oz-defense-alert,.oz-defense-slot,
 .oz-defense-roster>article,.oz-defense-module-slot,.oz-defense-prep-card,.oz-mission-team,
 .oz-mission-deploy,.oz-mission-recovery,.oz-world-rules article,.oz-craft-empty,.oz-reforge-flow,
 .xp-strip,.oz-readiness-card,.oz-command-priority,.oz-next-mission,.oz-squad-mini article,
 .oz-building-row article,.oz-stat-grid span,.oz-needs span
 ){
 background:#f5f7f4!important;
 border-color:#9eb0ad!important;
 color:#27393a!important;
 box-shadow:0 6px 18px rgba(44,67,64,.07)!important;
}

/* Raised/internal blocks */
html[data-theme="light"] body.oz-account :where(
 .oz-effective-stats span,.oz-equip-slot,.oz-mini-gear,.oz-upgrade-costline,.oz-ascend-costline,
 .oz-defense-breakdown span,.oz-event-decisions button,.oz-mission-costs span,
 .oz-mission-transport-card,.oz-zone-meta span,.oz-gear-picker-card
 ){
 background:#e7eeeb!important;
 border-color:#9fb2ae!important;
 color:#42595a!important;
}

/* Mission area: remove dark leftovers */
html[data-theme="light"] body.oz-account .oz-missions-toolbar{
 background:#d6e3df!important;
 border-color:#8fa8a4!important;
}
html[data-theme="light"] body.oz-account .oz-missions-toolbar .oz-zone-filter,
html[data-theme="light"] body.oz-account .oz-missions-toolbar .oz-world-map-link{
 background:#eef4f1!important;
 border-color:#97aaa7!important;
 color:#335758!important;
}
html[data-theme="light"] body.oz-account .oz-missions-toolbar .oz-zone-filter.active{
 background:#c7e2dc!important;
 border-color:#55938d!important;
 color:#165b57!important;
}
html[data-theme="light"] body.oz-account .oz-zone-header{
 background:linear-gradient(90deg,#d8ebe6,#f1f6f3)!important;
 border-color:#86a49f!important;
 box-shadow:inset 5px 0 #2f837e!important;
}
html[data-theme="light"] body.oz-account .oz-mission-card-v3{
 background:#f7f9f6!important;
 border-color:#95aaa6!important;
 box-shadow:inset 0 0 0 2px #e1ebe7,0 5px 14px rgba(43,63,61,.07)!important;
}
html[data-theme="light"] body.oz-account .oz-mission-card-v3 .oz-mission-main,
html[data-theme="light"] body.oz-account .oz-mission-recovery,
html[data-theme="light"] body.oz-account .oz-mission-team,
html[data-theme="light"] body.oz-account .oz-mission-deploy{
 background:#eef3f0!important;
 border-color:#9fb2ae!important;
}
html[data-theme="light"] body.oz-account :where(.oz-mission-slot,.oz-drop-slot,.oz-equip-slot){
 background:
  repeating-linear-gradient(135deg,rgba(49,126,121,.025) 0 8px,transparent 8px 16px),
  #e5ece9!important;
 border-color:#95aaa6!important;
}
html[data-theme="light"] body.oz-account :where(.oz-mission-slot,.oz-drop-slot,.oz-equip-slot):hover{
 background:#d5e8e3!important;
 border-color:#568f8b!important;
}

/* Armory / crafting / squad pickers */
html[data-theme="light"] .oz-gear-picker,
html[data-theme="light"] .oz-slot-picker{
 background:#f4f7f4!important;
 border-color:#6d9b96!important;
 box-shadow:0 12px 28px rgba(44,66,63,.16)!important;
}
html[data-theme="light"] .oz-gear-picker-head{
 border-bottom-color:#a7b7b4!important;
}
html[data-theme="light"] .oz-gear-picker-head b,
html[data-theme="light"] .oz-gear-picker-copy b{color:#223637!important}
html[data-theme="light"] .oz-gear-picker-copy small{color:#65797a!important}

/* Inputs/selects should never be dark in light mode */
html[data-theme="light"] body.oz-account :where(input,select,textarea){
 background:#ffffff!important;
 border-color:#93aaa6!important;
 color:#233738!important;
}
html[data-theme="light"] body.oz-account :where(input,select,textarea):focus{
 background:#ffffff!important;
 border-color:#4f918b!important;
 box-shadow:0 0 0 1px rgba(47,131,126,.13)!important;
}

/* Buttons: still contrast strongly, but not black */
html[data-theme="light"] body.oz-account :where(
 button:not(:disabled),a.game-btn,a[class*="-btn"]
 ){
 background:linear-gradient(180deg,#4b8d8c,#357071)!important;
 border:1px solid #2d6565!important;
 color:#f8fffd!important;
 box-shadow:0 3px 9px rgba(37,69,67,.13)!important;
}
html[data-theme="light"] body.oz-account :where(
 button:not(:disabled),a.game-btn,a[class*="-btn"]
 ):hover{
 background:linear-gradient(180deg,#5ea8a4,#3c8380)!important;
 border-color:#256763!important;
 color:#fff!important;
 box-shadow:0 0 12px rgba(47,135,129,.17),0 4px 10px rgba(37,62,60,.10)!important;
}
html[data-theme="light"] body.oz-account button:disabled{
 background:#d7dfdc!important;
 border-color:#adbab7!important;
 color:#8a9998!important;
}.oz-armory-dismantle,
.oz-defense-clear,
.oz-repair-btn
 ){
 background:linear-gradient(180deg,#b9675a,#935047)!important;
 border-color:#82443c!important;
 color:#fff7f3!important;
}

/* Field Link becomes a pale device, not a black terminal */
html[data-theme="light"] .oz-field-comm{
 background:#d7e2de!important;
 border-color:#779995!important;
 box-shadow:inset 0 0 0 2px #c6d3cf,0 2px 8px rgba(42,61,59,.10)!important;
}
html[data-theme="light"] .oz-comm-screen{
 background:#f2f6f3!important;
 border-color:#90a8a4!important;
}
html[data-theme="light"] .oz-comm-signal{color:#246f6a!important}
html[data-theme="light"] .oz-comm-message{color:#314949!important}
html[data-theme="light"] .oz-comm-nav,
html[data-theme="light"] .oz-comm-last{
 background:#e7efec!important;
 border-color:#8ca4a0!important;
 color:#245f5c!important;
}

/* Header notices: normal events light, threat warm */
html[data-theme="light"] .oz-header-noticebar{
 background:rgba(232,238,235,.98)!important;
 border-bottom-color:#99aaa7!important;
}
html[data-theme="light"] .oz-header-notice{
 background:#f2f5f2!important;
 border-color:#91aaa6!important;
 color:#315d5b!important;
}
html[data-theme="light"] .oz-header-notice b{color:#2f4545!important}
html[data-theme="light"] .oz-header-notice.threat{
 background:#f0dfd7!important;
 border-color:#bf8068!important;
}
html[data-theme="light"] .oz-header-notice.threat b{color:#704438!important}

/* Defense: only threat card is darker/warm; regular defense UI stays light */
html[data-theme="light"] body.oz-account .oz-defense-alert{
 background:#f2f4f0!important;
 border-color:#b88b75!important;
}
html[data-theme="light"] body.oz-account .oz-defense-fight{
 background:linear-gradient(180deg,#b86649,#8d4836)!important;
 border-color:#814232!important;
 color:#fff4eb!important;
}

/* Text */
html[data-theme="light"] body.oz-account :where(h1,h2,h3,.panel-title h2,.oz-mission-copy-v3 h2){
 color:#213334!important;
}
html[data-theme="light"] body.oz-account :where(p,.muted,.oz-mission-copy-v3 p,.oz-zone-header p){
 color:#607576!important;
}
html[data-theme="light"] body.oz-account :where(
 .oz-kicker,.panel-title small,.sidebar-label,.oz-mission-copy-v3>small,
 .oz-mission-recovery>small,.oz-zone-header .oz-zone-no,.oz-zone-header strong
 ){
 color:#287873!important;
}

/* Progress */
html[data-theme="light"] body.oz-account :where(
 .progress,.appbar-xp-track,.oz-xp-bar-v2,.oz-zone-progress,.oz-defense-meter
 ){
 background:#d1ddda!important;
 border-color:#9caeab!important;
}
html[data-theme="light"] body.oz-account :where(
 .progress i,.appbar-xp-track i,.oz-xp-bar-v2 .oz-bar-fill,.oz-zone-progress i,.oz-defense-meter>i
 ){
 background:linear-gradient(90deg,#35847f,#62b7b0)!important;
 box-shadow:none!important;
}

/* Mobile light drawer */
@media(max-width:900px){
 html[data-theme="light"] body.is-account .content>.cl-left{
  background:#d7e1dd!important;
  border-right-color:#8da39f!important;
  box-shadow:10px 0 25px rgba(36,57,54,.15)!important;
 }
 html[data-theme="light"] body.is-account.account-menu-open .account-menu-backdrop{
  background:rgba(54,67,64,.32)!important;
 }
}

/* =========================================================
   OUTPOST ZERO v1.64 — DEEP LIGHT COMPONENT AUDIT
   265 legacy dark-background rules were found against real account components.
   ========================================================= */

/* Every non-image content surface found in the audit is explicitly light. */
html[data-theme="light"] body.oz-account .oz-readiness-state,html[data-theme="light"] body.oz-account .oz-overview-bar,html[data-theme="light"] body.oz-account .oz-resource-strip,html[data-theme="light"] body.oz-account .resource-code,html[data-theme="light"] body.oz-account .oz-operation-focus,html[data-theme="light"] body.oz-account .oz-zone-stamp,html[data-theme="light"] body.oz-account .oz-status-pill,html[data-theme="light"] body.oz-account .oz-operation-rewards,html[data-theme="light"] body.oz-account .oz-operation-empty,html[data-theme="light"] body.oz-account .oz-action-grid,html[data-theme="light"] body.oz-account .oz-fighter-chip,html[data-theme="light"] body.oz-account .oz-mission-card-v2,html[data-theme="light"] body.oz-account .oz-drop-slot,html[data-theme="light"] body.oz-account .oz-mission-meta-v2,html[data-theme="light"] body.oz-account .oz-deploy-form,html[data-theme="light"] body.oz-account .oz-stage-box,html[data-theme="light"] body.oz-account .oz-battle-report,html[data-theme="light"] body.oz-account .oz-squad-toolbar-v2,html[data-theme="light"] body.oz-account .oz-mini-gear,html[data-theme="light"] body.oz-account .oz-survivor-loadout,html[data-theme="light"] body.oz-account .oz-effective-stats,html[data-theme="light"] body.oz-account .oz-equip-slot,html[data-theme="light"] body.oz-account .oz-gear-tooltip,html[data-theme="light"] body.oz-account .oz-reserve-card,html[data-theme="light"] body.oz-account .oz-reserve-eq,html[data-theme="light"] body.oz-account .oz-armory-summary,html[data-theme="light"] body.oz-account .oz-armory-item,html[data-theme="light"] body.oz-account .oz-armory-stats,html[data-theme="light"] body.oz-account .oz-zone-divider,html[data-theme="light"] body.oz-account .oz-lock-reasons,html[data-theme="light"] body.oz-account .oz-mission-loot,html[data-theme="light"] body.oz-account .oz-loot-chip,html[data-theme="light"] body.oz-account .oz-vehicle-select,html[data-theme="light"] body.oz-account .oz-vehicle-card,html[data-theme="light"] body.oz-account .oz-vehicle-stats,html[data-theme="light"] body.oz-account .oz-owned-badge,html[data-theme="light"] body.oz-account .oz-route-progress,html[data-theme="light"] body.oz-account .oz-route-vehicle,html[data-theme="light"] body.oz-account .oz-mission-transport-card,html[data-theme="light"] body.oz-account .oz-material-stock,html[data-theme="light"] body.oz-account .oz-recipe-card-v2,html[data-theme="light"] body.oz-account .oz-recipe-output,html[data-theme="light"] body.oz-account .oz-craft-stat-grid,html[data-theme="light"] body.oz-account .oz-ingredient,html[data-theme="light"] body.oz-account .oz-locker-toolbar,html[data-theme="light"] body.oz-account .oz-locker-filters,html[data-theme="light"] body.oz-account .oz-locker-search,html[data-theme="light"] body.oz-account .oz-locker-sort,html[data-theme="light"] body.oz-account .oz-locker-summary,html[data-theme="light"] body.oz-account .oz-mini-statline,html[data-theme="light"] body.oz-account .oz-promotion-box,html[data-theme="light"] body.oz-account .oz-promotion-cost,html[data-theme="light"] body.oz-account .oz-base-scrap,html[data-theme="light"] body.oz-account .oz-base-effect-grid,html[data-theme="light"] body.oz-account .oz-building-card-v2,html[data-theme="light"] body.oz-account .oz-building-progress,html[data-theme="light"] body.oz-account .oz-next-upgrade,html[data-theme="light"] body.oz-account .oz-upgrade-cost,html[data-theme="light"] body.oz-account .oz-world-map,html[data-theme="light"] body.oz-account .oz-outpost-node,html[data-theme="light"] body.oz-account .oz-zone-node,html[data-theme="light"] body.oz-account .oz-roadmap,html[data-theme="light"] body.oz-account .oz-log,html[data-theme="light"] body.oz-account .panel-empty,html[data-theme="light"] body.oz-account .ref-link-box,html[data-theme="light"] body.oz-account .ref-level,html[data-theme="light"] body.oz-account .oz-readiness-card,html[data-theme="light"] body.oz-account .oz-command-hero,html[data-theme="light"] body.oz-account .oz-command-art,html[data-theme="light"] body.oz-account .oz-squad-toolbar,html[data-theme="light"] body.oz-account .oz-page-art,html[data-theme="light"] body.oz-account .oz-action-icon,html[data-theme="light"] body.oz-account .oz-threat,html[data-theme="light"] body.oz-account .oz-travel-panel,html[data-theme="light"] body.oz-account .oz-hardpoint-empty,html[data-theme="light"] body.oz-account .oz-defense-stagebar,html[data-theme="light"] body.oz-account .oz-defense-module-head,html[data-theme="light"] body.oz-account .oz-defense-module-grid,html[data-theme="light"] body.oz-account .oz-defense-module-slot,html[data-theme="light"] body.oz-account .oz-defense-prep-card,html[data-theme="light"] body.oz-account .oz-defense-history,html[data-theme="light"] body.oz-account .oz-damage-grid,html[data-theme="light"] body.oz-account .oz-defense-breakdown,html[data-theme="light"] body.oz-account .oz-defense-team,html[data-theme="light"] body.oz-account .oz-defense-layout,html[data-theme="light"] body.oz-account .oz-event-top,html[data-theme="light"] body.oz-account .oz-event-body,html[data-theme="light"] body.oz-account .oz-event-decisions,html[data-theme="light"] body.oz-account .oz-event-choice-copy,html[data-theme="light"] body.oz-account .oz-world-rules,html[data-theme="light"] body.oz-account .oz-crafting-filters,html[data-theme="light"] body.oz-account .oz-craft-filter-row,html[data-theme="light"] body.oz-account .oz-craft-search,html[data-theme="light"] body.oz-account .oz-craft-filter-group,html[data-theme="light"] body.oz-account .oz-craft-empty,html[data-theme="light"] body.oz-account .oz-armory-foot,html[data-theme="light"] body.oz-account .oz-armory-actions,html[data-theme="light"] body.oz-account .oz-upgrade-costline,html[data-theme="light"] body.oz-account .oz-reforge-flow,html[data-theme="light"] body.oz-account .oz-ascend-costline,html[data-theme="light"] body.oz-account .oz-loadout-slots,html[data-theme="light"] body.oz-account .oz-reserve-eq,html[data-theme="light"] body.oz-account .oz-mission-team,html[data-theme="light"] body.oz-account .oz-mission-deploy,html[data-theme="light"] body.oz-account .oz-mission-recovery,html[data-theme="light"] body.oz-account .oz-mission-costs,html[data-theme="light"] body.oz-account .oz-mission-slot,html[data-theme="light"] body.oz-account .oz-survivor-pool,html[data-theme="light"] body.oz-account .oz-survivor-pool-card,html[data-theme="light"] body.oz-account .oz-zone-header,html[data-theme="light"] body.oz-account .oz-missions-toolbar,html[data-theme="light"] body.oz-account .oz-energy-card,html[data-theme="light"] body.oz-account .oz-power-badge{
 background:#f2f6f3!important;
 border-color:#9aafab!important;
 color:#2a3c3d!important;
 box-shadow:none!important;
}

/* Slightly raised / secondary surfaces */
html[data-theme="light"] body.oz-account :where(
 .oz-operation-rewards span,.oz-mission-meta-v2 span,.oz-armory-stats span,
 .oz-craft-stat-grid span,.oz-ingredient,.oz-promotion-cost span,.oz-upgrade-cost span,
 .oz-base-effect-grid article,.oz-material-stock article,.oz-defense-breakdown span,
 .oz-lock-reasons span,.oz-loot-chip,.oz-zone-meta span,.oz-effective-stats span,
 .oz-mini-statline em,.oz-locker-summary
){
 background:#e1ebe7!important;
 border-color:#9cb1ad!important;
 color:#42595a!important;
}

/* Mission-specific deep cleanup */
html[data-theme="light"] body.oz-account .oz-mission-card-v2,
html[data-theme="light"] body.oz-account .oz-mission-card-v3{
 background:#f7faf8!important;
 border-color:#91a8a4!important;
}
html[data-theme="light"] body.oz-account .oz-mission-loot,
html[data-theme="light"] body.oz-account .oz-deploy-form,
html[data-theme="light"] body.oz-account .oz-stage-box,
html[data-theme="light"] body.oz-account .oz-battle-report,
html[data-theme="light"] body.oz-account .oz-mission-recovery,
html[data-theme="light"] body.oz-account .oz-mission-team,
html[data-theme="light"] body.oz-account .oz-mission-deploy{
 background:#e9f0ed!important;
 border-color:#98ada9!important;
}
html[data-theme="light"] body.oz-account .oz-drop-slot,
html[data-theme="light"] body.oz-account .oz-mission-slot{
 background:
 repeating-linear-gradient(135deg,rgba(45,120,115,.025) 0 8px,transparent 8px 16px),
 #e3ece8!important;
 border-color:#8fa6a2!important;
 color:#5e7475!important;
}
html[data-theme="light"] body.oz-account .oz-drop-slot:hover,
html[data-theme="light"] body.oz-account .oz-mission-slot:hover{
 background:#d2e6e1!important;
 border-color:#4e918b!important;
}
html[data-theme="light"] body.oz-account .oz-stage-box.encounter{
 background:#e7efeb!important;
}
html[data-theme="light"] body.oz-account .oz-threat{
 background:#e8eeeb!important;
 border-color:#91aaa6!important;
 color:#51696a!important;
}
html[data-theme="light"] body.oz-account .oz-route-progress{
 background:repeating-linear-gradient(90deg,#d7e4e0 0 13px,#edf3f0 13px 26px)!important;
 border-color:#91a6a2!important;
}
html[data-theme="light"] body.oz-account .oz-route-vehicle{
 background:#e8efec!important;
 border-color:#91a8a4!important;
}

/* Squad / Armory deeper blocks */
html[data-theme="light"] body.oz-account .oz-survivor-loadout,
html[data-theme="light"] body.oz-account .oz-reserve-card,
html[data-theme="light"] body.oz-account .oz-armory-item{
 background:#f6f9f7!important;
 border-color:#95aaa6!important;
}
html[data-theme="light"] body.oz-account .oz-mini-gear,
html[data-theme="light"] body.oz-account .oz-equip-slot,
html[data-theme="light"] body.oz-account .oz-reserve-eq>span,
html[data-theme="light"] body.oz-account .oz-armory-stats span{
 background:#e2ebe8!important;
 border-color:#95aaa6!important;
}
html[data-theme="light"] body.oz-account .oz-gear-tooltip{
 background:#f8faf8!important;
 border-color:#6f9792!important;
 color:#273b3c!important;
 box-shadow:0 8px 22px rgba(39,61,58,.15)!important;
}
html[data-theme="light"] body.oz-account .oz-locker-toolbar,
html[data-theme="light"] body.oz-account .oz-locker-summary{
 background:#e8efec!important;
 border-color:#94aaa6!important;
}
html[data-theme="light"] body.oz-account .oz-locker-filters button:not(.active){
 background:#edf3f0!important;
 color:#395a5b!important;
 border-color:#96aba7!important;
}
html[data-theme="light"] body.oz-account .oz-locker-filters button.active{
 background:#c9e1dc!important;
 color:#145d59!important;
 border-color:#58948e!important;
}
html[data-theme="light"] body.oz-account .oz-locker-search input,
html[data-theme="light"] body.oz-account .oz-locker-sort select{
 background:#fff!important;
 color:#233738!important;
 border-color:#91aaa6!important;
}

/* Crafting deep blocks */
html[data-theme="light"] body.oz-account .oz-material-stock article,
html[data-theme="light"] body.oz-account .oz-recipe-output,
html[data-theme="light"] body.oz-account .oz-ingredient,
html[data-theme="light"] body.oz-account .oz-craft-stat-grid span{
 background:#e4ece9!important;
 border-color:#99ada9!important;
}
html[data-theme="light"] body.oz-account .oz-recipe-card-v2,
html[data-theme="light"] body.oz-account .oz-recipe-card-v2.craft-ready,
html[data-theme="light"] body.oz-account .oz-recipe-card-v2.rarity-border-legendary{
 background:#f5f8f6!important;
}
html[data-theme="light"] body.oz-account .oz-crafting-filters{
 background:#f4f7f5!important;
}
html[data-theme="light"] body.oz-account .oz-craft-search input{
 background:#fff!important;
 color:#223738!important;
 border-color:#93aaa6!important;
}
html[data-theme="light"] body.oz-account .oz-craft-filter-group button:not(.active){
 background:#e5eeeb!important;
 color:#3f5d5e!important;
 border-color:#98aca8!important;
}

/* Base deeper blocks */
html[data-theme="light"] body.oz-account .oz-base-scrap,
html[data-theme="light"] body.oz-account .oz-base-effect-grid article,
html[data-theme="light"] body.oz-account .oz-building-progress,
html[data-theme="light"] body.oz-account .oz-next-upgrade,
html[data-theme="light"] body.oz-account .oz-upgrade-cost span{
 background:#e5edea!important;
 border-color:#99ada9!important;
}
html[data-theme="light"] body.oz-account .oz-building-card-v2{
 background:#f5f8f6!important;
 border-color:#95aaa6!important;
}

/* World Map: make map itself light rather than a dark island */
html[data-theme="light"] body.oz-account .oz-world-map{
 background:
  radial-gradient(circle at 18% 70%,rgba(42,126,120,.055),transparent 22%),
  radial-gradient(circle at 78% 22%,rgba(87,119,126,.05),transparent 24%),
  linear-gradient(135deg,#dfe9e5,#eef3f0 70%)!important;
 border-color:#8fa5a1!important;
}
html[data-theme="light"] body.oz-account .oz-outpost-node,
html[data-theme="light"] body.oz-account .oz-zone-node{
 background:#f4f7f4!important;
 border-color:#8ea5a1!important;
 color:#273c3d!important;
}
html[data-theme="light"] body.oz-account .oz-zone-stamp{
 background:repeating-linear-gradient(135deg,#d2dfdb,#d2dfdb 6px,#e7eeeb 6px,#e7eeeb 12px)!important;
 color:#335758!important;
}

/* Transport */
html[data-theme="light"] body.oz-account .oz-vehicle-card{
 background:#f5f8f6!important;
 border-color:#95aaa6!important;
}
html[data-theme="light"] body.oz-account .oz-vehicle-stats span,
html[data-theme="light"] body.oz-account .oz-owned-badge,
html[data-theme="light"] body.oz-account .oz-vehicle-select select{
 background:#e3ece8!important;
 border-color:#95aaa6!important;
 color:#32494a!important;
}
html[data-theme="light"] body.oz-account .oz-vehicle-select select{
 background:#fff!important;
}

/* Promotion / progression */
html[data-theme="light"] body.oz-account .oz-promotion-box,
html[data-theme="light"] body.oz-account .oz-promotion-cost span,
html[data-theme="light"] body.oz-account .oz-reforge-flow,
html[data-theme="light"] body.oz-account .oz-upgrade-costline,
html[data-theme="light"] body.oz-account .oz-ascend-costline{
 background:#e6eeeb!important;
 border-color:#98ada9!important;
}

/* Dashboard remaining dark islands */
html[data-theme="light"] body.oz-account .oz-command-hero,
html[data-theme="light"] body.oz-account .oz-readiness-card,
html[data-theme="light"] body.oz-account .oz-overview-bar,
html[data-theme="light"] body.oz-account .oz-resource-strip article,
html[data-theme="light"] body.oz-account .oz-operation-focus,
html[data-theme="light"] body.oz-account .oz-operation-empty,
html[data-theme="light"] body.oz-account .oz-action-grid>a{
 background:#f4f7f4!important;
 border-color:#96aba7!important;
 color:#293d3e!important;
}
html[data-theme="light"] body.oz-account .resource-code,
html[data-theme="light"] body.oz-account .resource-code.crystal,
html[data-theme="light"] body.oz-account .resource-code.alert,
html[data-theme="light"] body.oz-account .oz-action-icon,
html[data-theme="light"] body.oz-account .oz-status-pill,
html[data-theme="light"] body.oz-account .oz-readiness-state{
 background:#e3ece8!important;
 border-color:#98aca8!important;
 color:#365455!important;
}

/* Referral / logs / empty panels */
html[data-theme="light"] body.oz-account .oz-log,
html[data-theme="light"] body.oz-account .panel-empty,
html[data-theme="light"] body.oz-account .ref-link-box,
html[data-theme="light"] body.oz-account .ref-level,
html[data-theme="light"] body.oz-account .oz-roadmap article{
 background:#edf3f0!important;
 border-color:#99ada9!important;
 color:#42595a!important;
}
html[data-theme="light"] body.oz-account .ref-link-box input{
 background:#fff!important;
 color:#253839!important;
}

/* Keep image wells intentionally darker only when they actually contain artwork. */
html[data-theme="light"] body.oz-account :where(
 .oz-avatar,.oz-mini-gear-img,.oz-equip-img,.oz-armory-item-img,.oz-slot-photo,
 .oz-vehicle-art,.oz-building-visual,.oz-mission-art-v3,.oz-event-art,.oz-page-art img
){
 border-color:#839b97!important;
}

/* HP / XP tracks: tracks light, HP still red by meaning */
html[data-theme="light"] body.oz-account .oz-hp-bar-v2,
html[data-theme="light"] body.oz-account .oz-xp-bar-v2{
 background:#d4e0dc!important;
 border-color:#95aaa6!important;
}
html[data-theme="light"] body.oz-account .oz-hp-bar-v2 .oz-bar-fill{
 background:linear-gradient(90deg,#a84d47,#c7655b)!important;
}
html[data-theme="light"] body.oz-account .oz-xp-bar-v2 .oz-bar-fill{
 background:linear-gradient(90deg,#31857f,#61b9b1)!important;
}

/* Buttons remain deliberately stronger than the surface so they are easy to see. */
html[data-theme="light"] body.oz-account :where(button:not(:disabled),a.game-btn,a[class*="-btn"]){
 background:linear-gradient(180deg,#438988,#316c70)!important;
 border-color:#265c60!important;
 color:#f8fffd!important;
}
html[data-theme="light"] body.oz-account :where(button:not(:disabled),a.game-btn,a[class*="-btn"]):hover{
 background:linear-gradient(180deg,#59a5a1,#3b807f)!important;
 border-color:#1f615e!important;
 box-shadow:0 0 13px rgba(43,132,126,.18),0 4px 10px rgba(31,61,58,.11)!important;
}

/* =========================================================
   v1.64.1 — LIGHT THEME REMAINING DARK-ISLAND CLEANUP
   ========================================================= */

html[data-theme="light"] body.oz-account :where(
 .oz-squad-mini article,.oz-building-row article,.oz-character-card,.oz-building-card,
 .oz-item-card,.oz-recipe-card,.oz-drop-card,.oz-crate,.oz-zone-loot>div>span,
 .oz-zone-requirements span,.oz-mission-zone-nav,.oz-event-card,.oz-event-stats span,
 .oz-enemy-card,.oz-enemy-stats span,.oz-faction-card,.oz-tactic-option>span
){
 background:#eef3f0!important;
 border-color:#98ada9!important;
 color:#33494a!important;
}

html[data-theme="light"] body.oz-account .oz-mission-zone-nav{
 background:#dce8e4!important;
 border-color:#8da7a2!important;
}
html[data-theme="light"] body.oz-account .oz-mission-zone-nav a{
 background:#f3f7f4!important;
 border-color:#96aba7!important;
 color:#345657!important;
}
html[data-theme="light"] body.oz-account .oz-mission-zone-nav a:hover,
html[data-theme="light"] body.oz-account .oz-mission-zone-nav a.active{
 background:#c9e2dc!important;
 border-color:#55928c!important;
 color:#145c58!important;
}

html[data-theme="light"] body.oz-account .oz-event-card,
html[data-theme="light"] body.oz-account .oz-enemy-card,
html[data-theme="light"] body.oz-account .oz-faction-card{
 background:#f7f9f7!important;
 border-color:#91a8a4!important;
}
html[data-theme="light"] body.oz-account .oz-event-stats span,
html[data-theme="light"] body.oz-account .oz-enemy-stats span{
 background:#e2ebe8!important;
 border-color:#9bafab!important;
 color:#3d5556!important;
}

html[data-theme="light"] body.oz-account .oz-tactic-option>span{
 background:#e6eeeb!important;
 border-color:#9aafab!important;
 color:#3a5253!important;
}
html[data-theme="light"] body.oz-account .oz-tactic-option input:checked+span{
 background:#c9e2dd!important;
 border-color:#4f918b!important;
 color:#145c58!important;
 box-shadow:inset 0 0 0 1px rgba(47,131,126,.12)!important;
}

html[data-theme="light"] body.oz-account .oz-zone-loot>div>span,
html[data-theme="light"] body.oz-account .oz-zone-requirements span{
 background:#e4edea!important;
 border-color:#9aafab!important;
 color:#40595a!important;
}
html[data-theme="light"] body.oz-account .oz-zone-action.disabled{
 background:#dbe3e0!important;
 border-color:#aebbb8!important;
 color:#8b9997!important;
}

html[data-theme="light"] body.oz-account .oz-zone-progress,
html[data-theme="light"] body.oz-account .progress{
 background:#d1ddda!important;
 border-color:#9caeab!important;
}
html[data-theme="light"] body.oz-account .oz-zone-progress i,
html[data-theme="light"] body.oz-account .progress i{
 background:linear-gradient(90deg,#35847f,#62b7b0)!important;
}

/* Picker chrome must also be light. */
html[data-theme="light"] body.oz-account .oz-slot-picker-close,
html[data-theme="light"] body.oz-account .oz-gear-picker-close{
 background:#e0ebe7!important;
 border-color:#8da6a1!important;
 color:#225f5b!important;
}
html[data-theme="light"] body.oz-account .oz-slot-picker-close:hover,
html[data-theme="light"] body.oz-account .oz-gear-picker-close:hover{
 background:#cce1dc!important;
 border-color:#568f89!important;
}

/* Utility/action buttons: no accidental black leftovers. */
html[data-theme="light"] body.oz-account .oz-pick-fighter,
html[data-theme="light"] body.oz-account .oz-armory-upgrade,
html[data-theme="light"] body.oz-account .oz-max-upgrade{
 background:linear-gradient(180deg,#438988,#316c70)!important;
 border-color:#265c60!important;
 color:#f8fffd!important;
}html[data-theme="light"] body.oz-account .oz-armory-dismantle{
 background:linear-gradient(180deg,#b9675a,#935047)!important;
 border-color:#82443c!important;
 color:#fff7f3!important;
}

/* Page art container itself is light; only the actual image stays dark/photographic. */
html[data-theme="light"] body.oz-account .oz-page-art{
 background:#e8efec!important;
 border-color:#95aaa6!important;
}

/* Empty/disabled states should be pale, not black. */
html[data-theme="light"] body.oz-account :where(
 .oz-operation-empty,.panel-empty,.oz-hardpoint-empty
){
 background:#e8efec!important;
 border-color:#a2b3af!important;
 color:#6b7d7d!important;
}

/* Primary button and generic game button always readable in light theme. */
html[data-theme="light"] body.oz-account .oz-primary,
html[data-theme="light"] body.oz-account .game-btn{
 background:linear-gradient(180deg,#438988,#316c70)!important;
 border-color:#265c60!important;
 color:#f8fffd!important;
}

/* =========================================================
   OUTPOST ZERO v1.65 — USER CHARACTER + TRANSPORT ART
   ========================================================= */
.oz-avatar-photo,
.oz-chip-photo,
.oz-slot-photo,
.oz-medbay-patient-photo{
 background-size:cover!important;
 background-position:center!important;
 background-repeat:no-repeat!important;
}
.oz-defense-survivor img,
.oz-event-decisions button>img{
 object-fit:cover!important;
 object-position:center!important;
}
.oz-vehicle-art img{
 width:100%!important;
 height:100%!important;
 object-fit:cover!important;
 object-position:center!important;
 display:block!important;
}
/* New transport art already has finished atmospheric backgrounds:
   don't tint it with the old vehicle illustration treatment. */
.oz-vehicle-art img{
 filter:none!important;
}
html[data-theme="light"] .oz-vehicle-art img,
html[data-theme="dark"] .oz-vehicle-art img{
 filter:none!important;
}

/* =========================================================
   OUTPOST ZERO v1.66 — Squad rarity presentation
   ========================================================= */

/* Rarity no longer overlays the survivor portrait. */
.oz-survivor-meta{
 display:flex!important;
 align-items:center!important;
 flex-wrap:wrap!important;
 gap:6px!important;
 margin-bottom:2px!important;
}
.oz-survivor-meta>small{
 margin:0!important;
}
.oz-survivor-rarity{
 display:inline-flex!important;
 align-items:center!important;
 min-height:20px!important;
 padding:2px 6px!important;
 border:1px solid currentColor!important;
 background:rgba(6,14,18,.72)!important;
 font-size:11px!important;
 font-weight:900!important;
 letter-spacing:.7px!important;
 line-height:1!important;
}
html[data-theme="light"] .oz-survivor-rarity{
 background:rgba(244,248,246,.94)!important;
}

/* Whole survivor card is rarity-coded. Higher specificity intentionally
   overrides the global steel theme border for these gameplay cards. */
body.oz-account .oz-survivor-loadout.rarity-border-common,
body.oz-account .oz-reserve-card.rarity-border-common{
 border:2px solid #666d70!important;
 box-shadow:inset 0 0 0 1px rgba(184,184,178,.07)!important;
}
body.oz-account .oz-survivor-loadout.rarity-border-uncommon,
body.oz-account .oz-reserve-card.rarity-border-uncommon{
 border:2px solid #69a75d!important;
 box-shadow:inset 0 0 0 1px rgba(121,197,106,.12),0 0 10px rgba(105,167,93,.10)!important;
}
body.oz-account .oz-survivor-loadout.rarity-border-rare,
body.oz-account .oz-reserve-card.rarity-border-rare{
 border:2px solid #4d91d0!important;
 box-shadow:inset 0 0 0 1px rgba(102,174,240,.14),0 0 12px rgba(77,145,208,.13)!important;
}
body.oz-account .oz-survivor-loadout.rarity-border-epic,
body.oz-account .oz-reserve-card.rarity-border-epic{
 border:2px solid #9b5fc0!important;
 box-shadow:inset 0 0 0 1px rgba(192,123,230,.15),0 0 14px rgba(155,95,192,.15)!important;
}
body.oz-account .oz-survivor-loadout.rarity-border-legendary,
body.oz-account .oz-reserve-card.rarity-border-legendary{
 border:2px solid #d28a36!important;
 box-shadow:inset 0 0 0 1px rgba(240,166,75,.16),0 0 16px rgba(210,138,54,.17)!important;
}

/* Slight rarity glow on hover, while preserving the global card interaction. */
body.oz-account .oz-survivor-loadout.rarity-border-uncommon:hover,
body.oz-account .oz-reserve-card.rarity-border-uncommon:hover{
 box-shadow:inset 0 0 0 1px rgba(121,197,106,.18),0 0 16px rgba(105,167,93,.18)!important;
}
body.oz-account .oz-survivor-loadout.rarity-border-rare:hover,
body.oz-account .oz-reserve-card.rarity-border-rare:hover{
 box-shadow:inset 0 0 0 1px rgba(102,174,240,.20),0 0 18px rgba(77,145,208,.20)!important;
}
body.oz-account .oz-survivor-loadout.rarity-border-epic:hover,
body.oz-account .oz-reserve-card.rarity-border-epic:hover{
 box-shadow:inset 0 0 0 1px rgba(192,123,230,.21),0 0 20px rgba(155,95,192,.22)!important;
}
body.oz-account .oz-survivor-loadout.rarity-border-legendary:hover,
body.oz-account .oz-reserve-card.rarity-border-legendary:hover{
 box-shadow:inset 0 0 0 1px rgba(240,166,75,.22),0 0 22px rgba(210,138,54,.24)!important;
}

/* Reserve rarity text is already outside the portrait; make it a compact badge
   so Active Squad and Reserve share the same visual language. */
.oz-reserve-copy>.rarity-text{
 display:inline-flex!important;
 align-items:center!important;
 min-height:20px!important;
 padding:2px 6px!important;
 margin-bottom:3px!important;
 border:1px solid currentColor!important;
 background:rgba(6,14,18,.72)!important;
 font-size:11px!important;
 font-weight:900!important;
 letter-spacing:.7px!important;
 line-height:1!important;
}
html[data-theme="light"] .oz-reserve-copy>.rarity-text{
 background:rgba(244,248,246,.94)!important;
}

@media(max-width:700px){
 .oz-survivor-meta{
  gap:4px!important;
 }
 .oz-survivor-rarity,
 .oz-reserve-copy>.rarity-text{
  padding:2px 5px!important;
 }
}

/* =========================================================
   OUTPOST ZERO v1.67 — HARD RARITY BORDER OVERRIDES
   Survivor + Gear cards
   ========================================================= */

/* Palette */
:root{
 --oz-r-common:#a9b1b4;
 --oz-r-uncommon:#62c56b;
 --oz-r-rare:#48a9ef;
 --oz-r-epic:#b36be2;
 --oz-r-legendary:#e49a3a;
}

/* Survivor cards — override later generic theme/card rules. */
body.oz-account article.oz-survivor-loadout.rarity-border-common,
body.oz-account article.oz-reserve-card.rarity-border-common{
 border:2px solid var(--oz-r-common)!important;
 outline:1px solid rgba(169,177,180,.12)!important;
}
body.oz-account article.oz-survivor-loadout.rarity-border-uncommon,
body.oz-account article.oz-reserve-card.rarity-border-uncommon{
 border:2px solid var(--oz-r-uncommon)!important;
 outline:1px solid rgba(98,197,107,.14)!important;
 box-shadow:0 0 0 1px rgba(98,197,107,.08),0 0 12px rgba(98,197,107,.14)!important;
}
body.oz-account article.oz-survivor-loadout.rarity-border-rare,
body.oz-account article.oz-reserve-card.rarity-border-rare{
 border:2px solid var(--oz-r-rare)!important;
 outline:1px solid rgba(72,169,239,.15)!important;
 box-shadow:0 0 0 1px rgba(72,169,239,.09),0 0 14px rgba(72,169,239,.16)!important;
}
body.oz-account article.oz-survivor-loadout.rarity-border-epic,
body.oz-account article.oz-reserve-card.rarity-border-epic{
 border:2px solid var(--oz-r-epic)!important;
 outline:1px solid rgba(179,107,226,.16)!important;
 box-shadow:0 0 0 1px rgba(179,107,226,.10),0 0 15px rgba(179,107,226,.17)!important;
}
body.oz-account article.oz-survivor-loadout.rarity-border-legendary,
body.oz-account article.oz-reserve-card.rarity-border-legendary{
 border:2px solid var(--oz-r-legendary)!important;
 outline:1px solid rgba(228,154,58,.17)!important;
 box-shadow:0 0 0 1px rgba(228,154,58,.11),0 0 16px rgba(228,154,58,.18)!important;
}

/* FIELD LOCKER gear cards */
body.oz-account article.oz-mini-gear.rarity-border-common{
 border:2px solid var(--oz-r-common)!important;
 box-shadow:inset 0 0 0 1px rgba(169,177,180,.08)!important;
}
body.oz-account article.oz-mini-gear.rarity-border-uncommon{
 border:2px solid var(--oz-r-uncommon)!important;
 box-shadow:inset 0 0 0 1px rgba(98,197,107,.10),0 0 9px rgba(98,197,107,.10)!important;
}
body.oz-account article.oz-mini-gear.rarity-border-rare{
 border:2px solid var(--oz-r-rare)!important;
 box-shadow:inset 0 0 0 1px rgba(72,169,239,.11),0 0 10px rgba(72,169,239,.12)!important;
}
body.oz-account article.oz-mini-gear.rarity-border-epic{
 border:2px solid var(--oz-r-epic)!important;
 box-shadow:inset 0 0 0 1px rgba(179,107,226,.12),0 0 11px rgba(179,107,226,.13)!important;
}
body.oz-account article.oz-mini-gear.rarity-border-legendary{
 border:2px solid var(--oz-r-legendary)!important;
 box-shadow:inset 0 0 0 1px rgba(228,154,58,.13),0 0 12px rgba(228,154,58,.14)!important;
}

/* Equipped Weapon / Armor / Utility rows on fighter cards. */
body.oz-account .oz-equipped-slot.rarity-border-common,
body.oz-account .oz-gear-slot.rarity-border-common{
 border:2px solid var(--oz-r-common)!important;
}
body.oz-account .oz-equipped-slot.rarity-border-uncommon,
body.oz-account .oz-gear-slot.rarity-border-uncommon{
 border:2px solid var(--oz-r-uncommon)!important;
 box-shadow:inset 0 0 0 1px rgba(98,197,107,.08)!important;
}
body.oz-account .oz-equipped-slot.rarity-border-rare,
body.oz-account .oz-gear-slot.rarity-border-rare{
 border:2px solid var(--oz-r-rare)!important;
 box-shadow:inset 0 0 0 1px rgba(72,169,239,.09)!important;
}
body.oz-account .oz-equipped-slot.rarity-border-epic,
body.oz-account .oz-gear-slot.rarity-border-epic{
 border:2px solid var(--oz-r-epic)!important;
 box-shadow:inset 0 0 0 1px rgba(179,107,226,.10)!important;
}
body.oz-account .oz-equipped-slot.rarity-border-legendary,
body.oz-account .oz-gear-slot.rarity-border-legendary{
 border:2px solid var(--oz-r-legendary)!important;
 box-shadow:inset 0 0 0 1px rgba(228,154,58,.11)!important;
}

/* Generic rarity-border fallback catches equipment markup using other classes. */
body.oz-account :is(.oz-survivor-loadout,.oz-reserve-card,.oz-mini-gear,.oz-equipped-item,.oz-equipment-item,.oz-slot-item).rarity-border-common{border-color:var(--oz-r-common)!important}
body.oz-account :is(.oz-survivor-loadout,.oz-reserve-card,.oz-mini-gear,.oz-equipped-item,.oz-equipment-item,.oz-slot-item).rarity-border-uncommon{border-color:var(--oz-r-uncommon)!important}
body.oz-account :is(.oz-survivor-loadout,.oz-reserve-card,.oz-mini-gear,.oz-equipped-item,.oz-equipment-item,.oz-slot-item).rarity-border-rare{border-color:var(--oz-r-rare)!important}
body.oz-account :is(.oz-survivor-loadout,.oz-reserve-card,.oz-mini-gear,.oz-equipped-item,.oz-equipment-item,.oz-slot-item).rarity-border-epic{border-color:var(--oz-r-epic)!important}
body.oz-account :is(.oz-survivor-loadout,.oz-reserve-card,.oz-mini-gear,.oz-equipped-item,.oz-equipment-item,.oz-slot-item).rarity-border-legendary{border-color:var(--oz-r-legendary)!important}

/* Light theme keeps rarity identity equally visible. */
html[data-theme="light"] body.oz-account article.oz-survivor-loadout[class*="rarity-border-"],
html[data-theme="light"] body.oz-account article.oz-reserve-card[class*="rarity-border-"],
html[data-theme="light"] body.oz-account article.oz-mini-gear[class*="rarity-border-"]{
 background:#f4f7f5!important;
}

/* Actual equipped gear class used by Squad. */
body.oz-account .oz-equip-slot.equipped.rarity-border-common{border:2px solid var(--oz-r-common)!important}
body.oz-account .oz-equip-slot.equipped.rarity-border-uncommon{border:2px solid var(--oz-r-uncommon)!important;box-shadow:inset 0 0 0 1px rgba(98,197,107,.09)!important}
body.oz-account .oz-equip-slot.equipped.rarity-border-rare{border:2px solid var(--oz-r-rare)!important;box-shadow:inset 0 0 0 1px rgba(72,169,239,.10)!important}
body.oz-account .oz-equip-slot.equipped.rarity-border-epic{border:2px solid var(--oz-r-epic)!important;box-shadow:inset 0 0 0 1px rgba(179,107,226,.11)!important}
body.oz-account .oz-equip-slot.equipped.rarity-border-legendary{border:2px solid var(--oz-r-legendary)!important;box-shadow:inset 0 0 0 1px rgba(228,154,58,.12)!important}

/* Locker category buttons: each equipment family gets its own visual identity. */
.oz-locker-filters .oz-filter-all{
 --filter-accent:#69d8d1;
}
.oz-locker-filters .oz-filter-weapon{
 --filter-accent:#e46f5c;
}
.oz-locker-filters .oz-filter-armor{
 --filter-accent:#559ee8;
}
.oz-locker-filters .oz-filter-utility{
 --filter-accent:#b67ad8;
}
.oz-locker-filters button{
 border:1px solid color-mix(in srgb,var(--filter-accent,#69d8d1) 58%,transparent)!important;
 color:var(--filter-accent,#69d8d1)!important;
 background:color-mix(in srgb,var(--filter-accent,#69d8d1) 10%,#071317)!important;
 cursor:pointer!important;
 transition:background .16s ease,border-color .16s ease,box-shadow .16s ease,transform .16s ease!important;
}
.oz-locker-filters button b{
 color:inherit!important;
 border-color:color-mix(in srgb,var(--filter-accent,#69d8d1) 45%,transparent)!important;
}
.oz-locker-filters button:hover{
 background:color-mix(in srgb,var(--filter-accent,#69d8d1) 20%,#071317)!important;
 border-color:var(--filter-accent,#69d8d1)!important;
 box-shadow:0 0 10px color-mix(in srgb,var(--filter-accent,#69d8d1) 22%,transparent)!important;
 transform:translateY(-1px);
}
.oz-locker-filters button.active{
 background:color-mix(in srgb,var(--filter-accent,#69d8d1) 28%,#071317)!important;
 border-color:var(--filter-accent,#69d8d1)!important;
 color:#fff!important;
 box-shadow:inset 0 -2px 0 var(--filter-accent,#69d8d1),0 0 12px color-mix(in srgb,var(--filter-accent,#69d8d1) 20%,transparent)!important;
}

html[data-theme="light"] .oz-locker-filters button{
 background:color-mix(in srgb,var(--filter-accent,#69d8d1) 10%,#f5f7f5)!important;
 color:color-mix(in srgb,var(--filter-accent,#69d8d1) 72%,#18272b)!important;
}
html[data-theme="light"] .oz-locker-filters button:hover{
 background:color-mix(in srgb,var(--filter-accent,#69d8d1) 20%,#f5f7f5)!important;
}
html[data-theme="light"] .oz-locker-filters button.active{
 background:color-mix(in srgb,var(--filter-accent,#69d8d1) 76%,#26383c)!important;
 color:#fff!important;
}

/* =========================================================
   OUTPOST ZERO v1.69 — SINGLE AUTHORITATIVE DISMISS STYLE
   All legacy .oz-dismiss-survivor selector duplicates removed.
   ========================================================= */

html body.oz-account button.game-btn.oz-dismiss-survivor{
 background:#8f2f2f!important;
 background-image:linear-gradient(180deg,#a83d38 0%,#782522 100%)!important;
 border:1px solid #ef7167!important;
 color:#fff3ef!important;
 box-shadow:
  inset 0 1px 0 rgba(255,255,255,.10),
  0 0 0 1px rgba(72,17,15,.65),
  0 4px 10px rgba(85,21,19,.24)!important;
 text-shadow:0 1px 1px rgba(0,0,0,.38)!important;
 cursor:pointer!important;
}

html body.oz-account button.game-btn.oz-dismiss-survivor:hover{
 background:#bd4039!important;
 background-image:linear-gradient(180deg,#cf5047 0%,#9c302b 100%)!important;
 border-color:#ff9186!important;
 color:#ffffff!important;
 box-shadow:
  0 0 0 1px rgba(255,113,103,.18),
  0 0 15px rgba(211,70,61,.30),
  0 5px 12px rgba(74,20,18,.28)!important;
 transform:translateY(-1px)!important;
}

html body.oz-account button.game-btn.oz-dismiss-survivor:active{
 background:#76211f!important;
 background-image:none!important;
 transform:translateY(0)!important;
}

/* Locker filter colors — explicit fallbacks, no color-mix dependency. */
.oz-locker-filters button.oz-filter-all{
 background:#133f42!important;
 border-color:#55c9c2!important;
 color:#8ce4dd!important;
}
.oz-locker-filters button.oz-filter-weapon{
 background:#402422!important;
 border-color:#d66b5c!important;
 color:#ef8e7f!important;
}
.oz-locker-filters button.oz-filter-armor{
 background:#172f48!important;
 border-color:#559ee8!important;
 color:#82bdf5!important;
}
.oz-locker-filters button.oz-filter-utility{
 background:#34213f!important;
 border-color:#ae72d2!important;
 color:#cc98e9!important;
}
.oz-locker-filters button.oz-filter-all:hover,
.oz-locker-filters button.oz-filter-all.active{
 background:#1f6868!important;border-color:#83e1da!important;color:#fff!important;
}
.oz-locker-filters button.oz-filter-weapon:hover,
.oz-locker-filters button.oz-filter-weapon.active{
 background:#71342e!important;border-color:#f18a79!important;color:#fff!important;
}
.oz-locker-filters button.oz-filter-armor:hover,
.oz-locker-filters button.oz-filter-armor.active{
 background:#28598a!important;border-color:#83c4ff!important;color:#fff!important;
}
.oz-locker-filters button.oz-filter-utility:hover,
.oz-locker-filters button.oz-filter-utility.active{
 background:#613b76!important;border-color:#d4a0ef!important;color:#fff!important;
}

html[data-theme="light"] .oz-locker-filters button.oz-filter-all{
 background:#d8efec!important;color:#17645f!important;border-color:#4aa29c!important;
}
html[data-theme="light"] .oz-locker-filters button.oz-filter-weapon{
 background:#f0ddd8!important;color:#98483d!important;border-color:#c66f61!important;
}
html[data-theme="light"] .oz-locker-filters button.oz-filter-armor{
 background:#dde9f5!important;color:#2d659c!important;border-color:#6f9fd1!important;
}
html[data-theme="light"] .oz-locker-filters button.oz-filter-utility{
 background:#eadff0!important;color:#70488a!important;border-color:#a778bd!important;
}

/* =========================================================
   OUTPOST ZERO v1.70 — Command Center user artwork
   ========================================================= */

/* Large Command Center panel: panoramic outpost image. */
html body.oz-account .oz-command-hero{
 background:
  linear-gradient(90deg,rgba(5,15,19,.78) 0%,rgba(5,15,19,.48) 40%,rgba(5,15,19,.22) 70%,rgba(5,15,19,.42) 100%),
  url('/assets/oz/oz-command-hero.png') center center / cover no-repeat!important;
}

/* Portrait/scene block inside the Command Center hero. */
html body.oz-account .oz-command-art,
html body.oz-account .oz-home-art{
 background:
  linear-gradient(180deg,transparent 70%,rgba(3,10,13,.32)),
  url('/assets/oz/oz-command-art.png') center center / cover no-repeat!important;
}

/* The supplied art is static PNG; don't overlay the old scan animation. */
html body.oz-account .oz-command-art:after,
html body.oz-account .oz-home-art:after{
 display:none!important;
}

/* Light mode keeps the image readable instead of washing it out. */
html[data-theme="light"] body.oz-account .oz-command-hero{
 background:
  linear-gradient(90deg,rgba(239,245,243,.78) 0%,rgba(239,245,243,.48) 38%,rgba(239,245,243,.08) 72%,rgba(239,245,243,.18) 100%),
  url('/assets/oz/oz-command-hero.png') center center / cover no-repeat!important;
}

/* =========================================================
   OUTPOST ZERO v1.71 — dashboard resources / Fireteam rarity / event notice
   ========================================================= */
body.oz-account .oz-resource-strip .resource-code{
 width:52px!important;height:52px!important;flex-basis:52px!important;padding:0!important;
 overflow:hidden!important;background:#071318!important;border-color:#315762!important;
}
body.oz-account .oz-resource-strip .resource-code img{
 width:100%!important;height:100%!important;display:block!important;object-fit:cover!important;
}
body.oz-account .oz-resource-strip article{min-height:76px!important}

/* Fireteam cards inherit their survivor rarity instead of one generic teal border. */
body.oz-account .oz-squad-mini article.rarity-border-common{border-color:#9ba3a5!important}
body.oz-account .oz-squad-mini article.rarity-border-uncommon{border-color:#62c56b!important;box-shadow:inset 0 0 0 1px rgba(98,197,107,.08)!important}
body.oz-account .oz-squad-mini article.rarity-border-rare{border-color:#48a9ef!important;box-shadow:inset 0 0 0 1px rgba(72,169,239,.09)!important}
body.oz-account .oz-squad-mini article.rarity-border-epic{border-color:#b36be2!important;box-shadow:inset 0 0 0 1px rgba(179,107,226,.09)!important}
body.oz-account .oz-squad-mini article.rarity-border-legendary{border-color:#e49a3a!important;box-shadow:inset 0 0 0 1px rgba(228,154,58,.10)!important}
body.oz-account .oz-squad-mini .rarity-text{display:inline!important;margin:0 3px 0 0!important;font-size:11px!important;letter-spacing:.7px!important}
body.oz-account .oz-squad-mini .rarity-text.common{color:#c5cbcc!important}
body.oz-account .oz-squad-mini .rarity-text.uncommon{color:#72d77b!important}
body.oz-account .oz-squad-mini .rarity-text.rare{color:#67bbf5!important}
body.oz-account .oz-squad-mini .rarity-text.epic{color:#c486eb!important}
body.oz-account .oz-squad-mini .rarity-text.legendary{color:#f0ad55!important}

/* World Events: intentionally greener than FIELD LINK and clearly separate from threat orange. */
html body.oz-account .oz-header-notice.event{
 border-color:#3e8f67!important;
 background:linear-gradient(180deg,rgba(36,103,71,.30),rgba(12,40,31,.42))!important;
 box-shadow:inset 3px 0 0 #55c982,0 0 10px rgba(70,190,119,.10)!important;
}
html body.oz-account .oz-header-notice.event .notice-dot{background:#67d990!important;box-shadow:0 0 8px rgba(103,217,144,.65)!important}
html body.oz-account .oz-header-notice.event small,
html body.oz-account .oz-header-notice.event em{color:#72d99a!important}
html body.oz-account .oz-header-notice.event b{color:#b8e8c8!important}
html body.oz-account .oz-header-notice.event:hover{
 border-color:#67d990!important;background:linear-gradient(180deg,rgba(44,126,84,.42),rgba(14,52,38,.52))!important;
}
html[data-theme="light"] body.oz-account .oz-header-notice.event{
 border-color:#4b9870!important;background:linear-gradient(180deg,#dceee3,#cfe6d8)!important;box-shadow:inset 3px 0 0 #3f9d68!important;
}
html[data-theme="light"] body.oz-account .oz-header-notice.event small,
html[data-theme="light"] body.oz-account .oz-header-notice.event em{color:#28724c!important}
html[data-theme="light"] body.oz-account .oz-header-notice.event b{color:#315c43!important}

@media(max-width:600px){body.oz-account .oz-resource-strip .resource-code{width:46px!important;height:46px!important;flex-basis:46px!important}}

/* =========================================================
   OUTPOST ZERO v1.72 — Squad header art + Med Bay buttons
   ========================================================= */

/* Squad page hero artwork */
html body.oz-account .oz-hero.compact.oz-squad-head{
 background:
  linear-gradient(90deg,rgba(5,15,19,.78) 0%,rgba(5,15,19,.48) 42%,rgba(5,15,19,.20) 72%,rgba(5,15,19,.34) 100%),
  url('/assets/oz/oz-squad-head.png') center center / cover no-repeat!important;
 border-color:#315864!important;
}
html[data-theme="light"] body.oz-account .oz-hero.compact.oz-squad-head{
 background:
  linear-gradient(90deg,rgba(241,247,244,.82) 0%,rgba(241,247,244,.54) 42%,rgba(241,247,244,.14) 75%,rgba(241,247,244,.22) 100%),
  url('/assets/oz/oz-squad-head.png') center center / cover no-repeat!important;
}

/* Med Bay treatment action: clearly green and distinct from generic teal buttons. */
html body.oz-account button.game-btn.oz-medbay-treat{
 background:linear-gradient(180deg,#2f8f65 0%,#1f684a 100%)!important;
 border:1px solid #58c88b!important;
 color:#effff5!important;
 box-shadow:
  inset 0 1px 0 rgba(255,255,255,.08),
  0 0 0 1px rgba(10,45,31,.5),
  0 4px 10px rgba(21,93,62,.18)!important;
 cursor:pointer!important;
}
html body.oz-account button.game-btn.oz-medbay-treat:hover{
 background:linear-gradient(180deg,#40ad79 0%,#287b58 100%)!important;
 border-color:#7ee0a6!important;
 color:#fff!important;
 box-shadow:0 0 14px rgba(59,175,117,.28),0 5px 12px rgba(21,83,57,.20)!important;
 transform:translateY(-1px)!important;
}

/* Reserve treatment button: same green family and full-width like Add to Squad. */
html body.oz-account .oz-reserve-card .oz-reserve-medbay{
 display:flex!important;
 align-items:center!important;
 justify-content:center!important;
 width:100%!important;
 max-width:none!important;
 min-width:0!important;
 box-sizing:border-box!important;
 margin:8px 0 0!important;
 padding-left:10px!important;
 padding-right:10px!important;
 background:linear-gradient(180deg,#2f8f65 0%,#1f684a 100%)!important;
 border:1px solid #58c88b!important;
 color:#effff5!important;
 cursor:pointer!important;
}
html body.oz-account .oz-reserve-card .oz-reserve-medbay:hover{
 background:linear-gradient(180deg,#40ad79 0%,#287b58 100%)!important;
 border-color:#7ee0a6!important;
 color:#fff!important;
 box-shadow:0 0 12px rgba(59,175,117,.24)!important;
}

/* =========================================================
   OUTPOST ZERO v1.73 — CLEAN RESERVE ACTION LAYOUT
   Canonical Reserve button layout. Do not duplicate elsewhere.
   ========================================================= */

/* Reserve card is a 2-column grid: portrait + text.
   All action buttons must span BOTH columns. */
html body.oz-account .oz-reserve-card > button.game-btn{
 grid-column:1 / -1!important;
 width:100%!important;
 max-width:100%!important;
 min-width:0!important;
 justify-self:stretch!important;
 display:flex!important;
 align-items:center!important;
 justify-content:center!important;
 box-sizing:border-box!important;
 margin:0!important;
 padding:9px 12px!important;
 min-height:36px!important;
 white-space:normal!important;
 text-align:center!important;
 cursor:pointer!important;
}

/* Keep a little vertical rhythm between consecutive Reserve actions. */
html body.oz-account .oz-reserve-card > button.game-btn + button.game-btn{
 margin-top:7px!important;
}

/* MED BAY — recovery action, green. */
html body.oz-account .oz-reserve-card > button.game-btn.oz-reserve-medbay{
 grid-column:1 / -1!important;
 width:100%!important;
 background:#236f4e!important;
 background-image:linear-gradient(180deg,#319765 0%,#226c4c 100%)!important;
 border:1px solid #57c98a!important;
 color:#f2fff7!important;
 box-shadow:
  inset 0 1px 0 rgba(255,255,255,.09),
  0 0 0 1px rgba(8,48,32,.42),
  0 4px 10px rgba(25,108,70,.18)!important;
}
html body.oz-account .oz-reserve-card > button.game-btn.oz-reserve-medbay:hover{
 background:#2c8b60!important;
 background-image:linear-gradient(180deg,#43b779 0%,#2b8159 100%)!important;
 border-color:#7ce0a5!important;
 color:#fff!important;
 box-shadow:
  0 0 0 1px rgba(96,213,145,.14),
  0 0 14px rgba(55,183,117,.28),
  0 5px 12px rgba(20,88,58,.20)!important;
 transform:translateY(-1px)!important;
}
html body.oz-account .oz-reserve-card > button.game-btn.oz-reserve-medbay:active{
 background:#1d5f43!important;
 background-image:none!important;
 transform:translateY(0)!important;
}

/* ADD TO SQUAD stays teal, but shares exactly the same geometry. */
html body.oz-account .oz-reserve-card > button.game-btn.oz-add-active{
 grid-column:1 / -1!important;
 width:100%!important;
}

/* DISMISS also spans the full Reserve card width for consistent action layout. */
html body.oz-account .oz-reserve-card > button.game-btn.oz-dismiss-survivor{
 grid-column:1 / -1!important;
 width:100%!important;
}

/* Light theme: keep Med Bay visibly green. */
html[data-theme="light"] body.oz-account .oz-reserve-card > button.game-btn.oz-reserve-medbay{
 background:#2f8a61!important;
 background-image:linear-gradient(180deg,#45a978 0%,#2d805a 100%)!important;
 border-color:#347c59!important;
 color:#fff!important;
}
html[data-theme="light"] body.oz-account .oz-reserve-card > button.game-btn.oz-reserve-medbay:hover{
 background:#3ca071!important;
 background-image:linear-gradient(180deg,#59bb88 0%,#388f65 100%)!important;
 border-color:#286e4e!important;
}

/* =========================================================
   OUTPOST ZERO v1.74 — Squad stat art / visible gear stats
   ========================================================= */

.oz-effective-stats{
 display:grid!important;
 grid-template-columns:repeat(2,minmax(0,1fr))!important;
 gap:6px!important;
}
.oz-effective-stats>span{
 display:grid!important;
 grid-template-columns:34px minmax(34px,1fr) auto auto!important;
 align-items:center!important;
 gap:6px!important;
 min-height:38px!important;
 padding:4px 7px 4px 4px!important;
 overflow:hidden!important;
}
.oz-effective-stats>span>img{
 width:32px!important;
 height:32px!important;
 object-fit:cover!important;
 border:1px solid #315865!important;
 background:#07151a!important;
}
.oz-effective-stats>span>i{
 font-style:normal!important;
 color:#8fa5aa!important;
 font-weight:800!important;
}
.oz-effective-stats>span>b{
 color:#e5efec!important;
}
.oz-effective-stats>span>em{
 color:#68d1c8!important;
 font-style:normal!important;
 font-weight:800!important;
}
html[data-theme="light"] .oz-effective-stats>span>img{
 border-color:#88a6a1!important;
 background:#dce8e4!important;
}
html[data-theme="light"] .oz-effective-stats>span>b{color:#213637!important}

/* All equipped-item bonuses are visible without needing the tooltip. */
.oz-equip-copy{
 min-width:0!important;
}
.oz-equip-visible-stats{
 display:flex!important;
 flex-wrap:wrap!important;
 gap:3px 5px!important;
 margin-top:3px!important;
}
.oz-equip-visible-stats>em{
 display:inline-flex!important;
 padding:1px 4px!important;
 border:1px solid #315560!important;
 background:#0b1b20!important;
 color:#72cfc7!important;
 font-size:11px!important;
 font-style:normal!important;
 font-weight:800!important;
 line-height:1.2!important;
}
html[data-theme="light"] .oz-equip-visible-stats>em{
 background:#e0ebe7!important;
 border-color:#91aaa5!important;
 color:#246e69!important;
}

/* Requested exact Med Bay base gradient. This is the final authority. */
html body.oz-account button.game-btn.oz-medbay-treat{
 background:linear-gradient(180deg,#40ad79 0%,#287b58 100%)!important;
 border-color:#70d49c!important;
 color:#f4fff8!important;
}
html body.oz-account button.game-btn.oz-medbay-treat:hover{
 background:linear-gradient(180deg,#58c98e 0%,#34966a 100%)!important;
 border-color:#96e8b6!important;
 color:#fff!important;
 box-shadow:0 0 15px rgba(74,199,133,.32),0 5px 12px rgba(24,95,63,.20)!important;
 transform:translateY(-1px)!important;
}
html body.oz-account button.game-btn.oz-medbay-treat:active{
 background:linear-gradient(180deg,#318c62 0%,#225f45 100%)!important;
 transform:translateY(0)!important;
}

@media(max-width:520px){
 .oz-effective-stats>span{
  grid-template-columns:30px minmax(28px,1fr) auto auto!important;
  gap:4px!important;
 }
 .oz-effective-stats>span>img{
  width:28px!important;
  height:28px!important;
 }
}

/* =========================================================
   OUTPOST ZERO v1.78 — BASE STYLE CLEANUP
   Real hero image layer + one authoritative Base layout.
   ========================================================= */

/* HERO: reset inherited generic hero layout that was fighting Base. */
html body.oz-account .oz-hero.compact.oz-base-head{
 position:relative!important;
 isolation:isolate!important;
 display:grid!important;
 grid-template-columns:minmax(0,1fr) auto!important;
 align-items:center!important;
 gap:24px!important;
 min-height:205px!important;
 padding:26px 28px!important;
 overflow:hidden!important;
 background:#08151a!important;
 border:1px solid #315662!important;
 box-sizing:border-box!important;
}
/* Kill legacy decorative pseudo text and use :after only as readability veil. */
html body.oz-account .oz-hero.compact.oz-base-head:before{
 content:none!important;
 display:none!important;
}
html body.oz-account .oz-hero.compact.oz-base-head:after{
 content:""!important;
 position:absolute!important;
 inset:0!important;
 z-index:-1!important;
 pointer-events:none!important;
 background:linear-gradient(90deg,rgba(5,15,19,.80) 0%,rgba(5,15,19,.55) 38%,rgba(5,15,19,.18) 70%,rgba(5,15,19,.30) 100%)!important;
}
/* Real IMG layer: cannot be wiped out by any background shorthand. */
html body.oz-account .oz-base-head-bg{
 position:absolute!important;
 inset:0!important;
 z-index:-2!important;
 width:100%!important;
 height:100%!important;
 max-width:none!important;
 object-fit:cover!important;
 object-position:center 52%!important;
 display:block!important;
 opacity:1!important;
 filter:none!important;
 pointer-events:none!important;
}
html body.oz-account .oz-base-head-copy{
 position:relative!important;
 z-index:1!important;
 min-width:0!important;
 max-width:760px!important;
}
html body.oz-account .oz-base-head-actions{
 position:relative!important;
 z-index:1!important;
 display:flex!important;
 align-items:stretch!important;
 gap:12px!important;
 margin-left:auto!important;
}
html body.oz-account .oz-base-head .oz-power-badge{
 display:flex!important;
 flex-direction:column!important;
 justify-content:center!important;
 min-width:170px!important;
 width:auto!important;
 margin:0!important;
 padding:12px 16px!important;
 box-sizing:border-box!important;
 background:rgba(7,18,23,.84)!important;
 border:1px solid #365a65!important;
 text-align:right!important;
}
html body.oz-account .oz-base-head .oz-base-defense-link{
 display:flex!important;
 align-items:center!important;
 justify-content:center!important;
 align-self:stretch!important;
 min-width:178px!important;
 padding:0 16px!important;
 margin:0!important;
 box-sizing:border-box!important;
 background:linear-gradient(180deg,#247b7d,#17565c)!important;
 border:1px solid #55bbb5!important;
 color:#f3fffc!important;
 text-decoration:none!important;
 font-weight:900!important;
 text-transform:uppercase!important;
 letter-spacing:.4px!important;
 cursor:pointer!important;
}
html body.oz-account .oz-base-head .oz-base-defense-link:hover{
 background:linear-gradient(180deg,#36a09e,#207174)!important;
 border-color:#8be0d8!important;
 box-shadow:0 0 14px rgba(73,205,196,.22)!important;
 transform:translateY(-1px)!important;
}

/* Light theme: keep actual artwork visible, only soften left side behind copy. */
html[data-theme="light"] body.oz-account .oz-hero.compact.oz-base-head{
 background:#dfe8e4!important;
 border-color:#8ea7a2!important;
}
html[data-theme="light"] body.oz-account .oz-hero.compact.oz-base-head:after{
 background:linear-gradient(90deg,rgba(241,247,244,.88) 0%,rgba(241,247,244,.67) 38%,rgba(241,247,244,.20) 70%,rgba(241,247,244,.28) 100%)!important;
}
html[data-theme="light"] body.oz-account .oz-base-head .oz-power-badge{
 background:rgba(244,248,246,.88)!important;
 border-color:#8fa7a2!important;
}

/* FACILITIES: one clean grid definition. */
html body.oz-account .oz-building-card-v2{
 display:grid!important;
 grid-template-columns:310px minmax(0,1fr)!important;
 gap:0!important;
 overflow:hidden!important;
}
html body.oz-account .oz-building-card-v2 .oz-building-visual{
 width:310px!important;
 min-width:310px!important;
 max-width:310px!important;
 min-height:190px!important;
 padding:10px!important;
 box-sizing:border-box!important;
 background-position:center!important;
 background-size:contain!important;
 background-repeat:no-repeat!important;
 background-color:#071116!important;
 filter:none!important;
 opacity:1!important;
}
html body.oz-account .oz-building-card-v2 .oz-building-visual:before{
 content:none!important;
 display:none!important;
}
html body.oz-account .oz-building-card-v2.is-damaged .oz-building-visual{
 /* Damage state must not darken the facility artwork itself. */
 filter:none!important;
}

@media(max-width:1250px){
 html body.oz-account .oz-building-card-v2{grid-template-columns:285px minmax(0,1fr)!important}
 html body.oz-account .oz-building-card-v2 .oz-building-visual{width:285px!important;min-width:285px!important;max-width:285px!important}
}
@media(max-width:980px){
 html body.oz-account .oz-hero.compact.oz-base-head{grid-template-columns:1fr!important;gap:16px!important}
 html body.oz-account .oz-base-head-actions{margin-left:0!important;width:100%!important}
 html body.oz-account .oz-base-head .oz-power-badge,
 html body.oz-account .oz-base-head .oz-base-defense-link{flex:1 1 0!important;min-width:0!important}
 html body.oz-account .oz-building-card-v2{grid-template-columns:250px minmax(0,1fr)!important}
 html body.oz-account .oz-building-card-v2 .oz-building-visual{width:250px!important;min-width:250px!important;max-width:250px!important}
}
@media(max-width:700px){
 html body.oz-account .oz-hero.compact.oz-base-head{min-height:260px!important;padding:20px!important}
 html body.oz-account .oz-base-head-actions{flex-direction:column!important}
 html body.oz-account .oz-base-head .oz-power-badge{text-align:left!important}
 html body.oz-account .oz-base-head .oz-base-defense-link{min-height:42px!important}
 html body.oz-account .oz-building-card-v2{grid-template-columns:1fr!important}
 html body.oz-account .oz-building-card-v2 .oz-building-visual{width:100%!important;min-width:0!important;max-width:none!important;min-height:220px!important}
}

/* =========================================================
   OUTPOST ZERO v1.79 — Base bonus icons
   ========================================================= */

body.oz-account .oz-base-effect-grid{
 display:grid!important;
 grid-template-columns:repeat(8,minmax(0,1fr))!important;
 gap:6px!important;
}

body.oz-account .oz-base-effect-grid>article{
 min-width:0!important;
 display:flex!important;
 flex-direction:column!important;
 align-items:center!important;
 justify-content:flex-start!important;
 text-align:center!important;
 padding:8px 6px 9px!important;
 overflow:hidden!important;
}

body.oz-account .oz-base-effect-grid>article>img{
 width:54px!important;
 height:54px!important;
 object-fit:cover!important;
 object-position:center!important;
 display:block!important;
 margin:0 auto 5px!important;
 border:1px solid #294f59!important;
 background:#071419!important;
 box-shadow:inset 0 0 0 1px rgba(89,192,186,.06)!important;
}

body.oz-account .oz-base-effect-grid>article>small{
 margin-top:0!important;
 font-weight:800!important;
 letter-spacing:.45px!important;
}

body.oz-account .oz-base-effect-grid>article>b{
 margin-top:3px!important;
 line-height:1.05!important;
}

body.oz-account .oz-base-effect-grid>article>span{
 margin-top:3px!important;
 line-height:1.2!important;
}

/* Keep the individual icon colors visible; don't tint user artwork. */
body.oz-account .oz-base-effect-grid>article>img{
 filter:none!important;
}

/* A subtle matching accent on each card without recoloring the icon itself. */
body.oz-account .oz-base-effect-grid>article.effect-field-teams{border-top:2px solid #3da5c7!important}
body.oz-account .oz-base-effect-grid>article.effect-energy{border-top:2px solid #23c5d3!important}
body.oz-account .oz-base-effect-grid>article.effect-survivors{border-top:2px solid #a45bd1!important}
body.oz-account .oz-base-effect-grid>article.effect-crafting{border-top:2px solid #dfa12c!important}
body.oz-account .oz-base-effect-grid>article.effect-medbay{border-top:2px solid #67bd4e!important}
body.oz-account .oz-base-effect-grid>article.effect-garage{border-top:2px solid #d85d4b!important}
body.oz-account .oz-base-effect-grid>article.effect-storage{border-top:2px solid #4f9fd2!important}
body.oz-account .oz-base-effect-grid>article.effect-scouting{border-top:2px solid #6fcf3b!important}

html[data-theme="light"] body.oz-account .oz-base-effect-grid>article>img{
 background:#dce8e4!important;
 border-color:#8aa7a2!important;
}

@media(max-width:1180px){
 body.oz-account .oz-base-effect-grid{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
 }
 body.oz-account .oz-base-effect-grid>article>img{
  width:58px!important;
  height:58px!important;
 }
}
@media(max-width:680px){
 body.oz-account .oz-base-effect-grid{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
 }
}


/* =========================================================
   OUTPOST ZERO v1.80 — Base hero right-side stack
   ========================================================= */
body.oz-account .oz-hero.compact.oz-base-head .oz-base-head-actions{
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
    justify-content:center!important;
    gap:8px!important;
}

body.oz-account .oz-hero.compact.oz-base-head .oz-power-badge{
    width:100%!important;
    box-sizing:border-box!important;
}

body.oz-account .oz-hero.compact.oz-base-head .oz-base-defense-link{
    display:flex!important;
    width:100%!important;
    box-sizing:border-box!important;
    align-items:center!important;
    justify-content:center!important;
    margin:0!important;
    white-space:nowrap!important;
}

@media(max-width:680px){
    body.oz-account .oz-hero.compact.oz-base-head .oz-base-head-actions{
        width:100%!important;
    }
}

/* =========================================================
   OUTPOST ZERO v1.82 — Mission art height + fighter picker rarity
   ========================================================= */

/* Larger mission artwork */
body.oz-account .oz-mission-art-v3{
    min-height:200px!important;
}

/* DROP SURVIVOR popup — rarity borders */
body.oz-account .oz-slot-picker-card{
    border-width:2px!important;
    border-style:solid!important;
    cursor:pointer!important;
}

body.oz-account .oz-slot-picker-card.rarity-border-common{
    border-color:#a9b1b4!important;
    box-shadow:inset 0 0 0 1px rgba(169,177,180,.08)!important;
}
body.oz-account .oz-slot-picker-card.rarity-border-uncommon{
    border-color:#62c56b!important;
    box-shadow:inset 0 0 0 1px rgba(98,197,107,.10),0 0 8px rgba(98,197,107,.10)!important;
}
body.oz-account .oz-slot-picker-card.rarity-border-rare{
    border-color:#48a9ef!important;
    box-shadow:inset 0 0 0 1px rgba(72,169,239,.11),0 0 9px rgba(72,169,239,.12)!important;
}
body.oz-account .oz-slot-picker-card.rarity-border-epic{
    border-color:#b36be2!important;
    box-shadow:inset 0 0 0 1px rgba(179,107,226,.12),0 0 10px rgba(179,107,226,.13)!important;
}
body.oz-account .oz-slot-picker-card.rarity-border-legendary{
    border-color:#e49a3a!important;
    box-shadow:inset 0 0 0 1px rgba(228,154,58,.13),0 0 11px rgba(228,154,58,.14)!important;
}

body.oz-account .oz-slot-picker-card.rarity-border-common:hover{
    border-color:#d3d8da!important;
}
body.oz-account .oz-slot-picker-card.rarity-border-uncommon:hover{
    border-color:#83df8c!important;
    box-shadow:0 0 12px rgba(98,197,107,.22)!important;
}
body.oz-account .oz-slot-picker-card.rarity-border-rare:hover{
    border-color:#75c5ff!important;
    box-shadow:0 0 13px rgba(72,169,239,.24)!important;
}
body.oz-account .oz-slot-picker-card.rarity-border-epic:hover{
    border-color:#cf8df0!important;
    box-shadow:0 0 14px rgba(179,107,226,.24)!important;
}
body.oz-account .oz-slot-picker-card.rarity-border-legendary:hover{
    border-color:#f2b45d!important;
    box-shadow:0 0 15px rgba(228,154,58,.25)!important;
}

/* Keep rarity identity in light theme too. */
html[data-theme="light"] body.oz-account .oz-slot-picker-card{
    background:#f3f7f5!important;
}


/* =========================================================
   OUTPOST ZERO v1.83 — Missions hero artwork
   ========================================================= */
body.oz-account .oz-hero.compact.oz-missions-head{
    background-image:
        linear-gradient(90deg,rgba(5,16,20,.82) 0%,rgba(5,16,20,.50) 48%,rgba(5,16,20,.20) 100%),
        url('/assets/missions.png?v=183')!important;
    background-size:cover!important;
    background-position:center center!important;
    background-repeat:no-repeat!important;
}

/* =========================================================
   OUTPOST ZERO v1.84 — Mission requirements + picker rarity hard fix
   ========================================================= */

/* Exact popup rarity selectors; background remains neutral while rarity is unmistakable. */
html body .oz-slot-picker .oz-slot-picker-card[data-rarity="common"]{border:2px solid #a9b1b4!important}
html body .oz-slot-picker .oz-slot-picker-card[data-rarity="uncommon"]{border:2px solid #62c56b!important}
html body .oz-slot-picker .oz-slot-picker-card[data-rarity="rare"]{border:2px solid #48a9ef!important}
html body .oz-slot-picker .oz-slot-picker-card[data-rarity="epic"]{border:2px solid #b36be2!important}
html body .oz-slot-picker .oz-slot-picker-card[data-rarity="legendary"]{border:2px solid #e49a3a!important}
html body .oz-slot-picker .oz-slot-picker-card .rarity-text.common{color:#c7ccce!important}
html body .oz-slot-picker .oz-slot-picker-card .rarity-text.uncommon{color:#78d880!important}
html body .oz-slot-picker .oz-slot-picker-card .rarity-text.rare{color:#69bbf5!important}
html body .oz-slot-picker .oz-slot-picker-card .rarity-text.epic{color:#ca82ee!important}
html body .oz-slot-picker .oz-slot-picker-card .rarity-text.legendary{color:#f0aa50!important}

/* Mission cost itself warns immediately if current Energy is insufficient. */
.oz-mission-meta-v2 .oz-mission-energy-cost{
 position:relative;
}
.oz-mission-meta-v2 .oz-mission-energy-cost em{
 display:block!important;
 margin-top:2px!important;
 font-size:11px!important;
 font-style:normal!important;
 font-weight:900!important;
}
.oz-mission-meta-v2 .oz-mission-energy-cost.is-short{
 border-color:#c95b4f!important;
 background:rgba(127,38,32,.18)!important;
 color:#ff9d8e!important;
}
.oz-mission-meta-v2 .oz-mission-energy-cost.is-short b,
.oz-mission-meta-v2 .oz-mission-energy-cost.is-short em{
 color:#ff786c!important;
}

/* Explicit deploy requirement rows. */
.oz-deploy-requirements{
 display:grid!important;
 gap:5px!important;
}
.oz-selected-power,
.oz-selected-energy{
 display:grid!important;
 grid-template-columns:minmax(0,1fr) auto!important;
 grid-template-areas:"label value" "state state"!important;
 align-items:center!important;
 gap:3px 8px!important;
 padding:7px 8px!important;
 border:1px solid #31515a!important;
 background:#08171c!important;
}
.oz-selected-power>span,
.oz-selected-energy>span{
 grid-area:label;
 color:#809a9f!important;
 font-size:11px!important;
 font-weight:800!important;
}
.oz-selected-power>b,
.oz-selected-energy>b{
 grid-area:value;
 font-size:13px!important;
}
.oz-selected-power>em,
.oz-selected-energy>em{
 grid-area:state;
 font-size:11px!important;
 font-style:normal!important;
 font-weight:900!important;
 letter-spacing:.35px!important;
}
.oz-selected-power.is-short,
.oz-selected-energy.is-short{
 border-color:#bb5147!important;
 background:linear-gradient(90deg,rgba(119,36,31,.24),rgba(40,18,19,.10))!important;
}
.oz-selected-power.is-short>b,
.oz-selected-power.is-short>em,
.oz-selected-energy.is-short>b,
.oz-selected-energy.is-short>em{
 color:#ff8174!important;
}
.oz-selected-power.is-ready,
.oz-selected-energy.is-ready{
 border-color:#3b9669!important;
 background:linear-gradient(90deg,rgba(34,110,74,.18),rgba(8,27,26,.08))!important;
}
.oz-selected-power.is-ready>b,
.oz-selected-power.is-ready>em,
.oz-selected-energy.is-ready>b,
.oz-selected-energy.is-ready>em{
 color:#69d99c!important;
}

/* Disabled deploy button should explain visually that requirements aren't met. */
.oz-deploy-team-btn:disabled{
 opacity:1!important;
 background:linear-gradient(180deg,#3a2728,#24191b)!important;
 border-color:#724444!important;
 color:#b98883!important;
 cursor:not-allowed!important;
 box-shadow:none!important;
}
.oz-mission-card-v2.team-ready .oz-deploy-team-btn:not(:disabled){
 background:linear-gradient(180deg,#2e9085,#1e6965)!important;
 border-color:#64cbc0!important;
 color:#fff!important;
}

html[data-theme="light"] .oz-selected-power,
html[data-theme="light"] .oz-selected-energy{
 background:#e6eeeb!important;
}
html[data-theme="light"] .oz-selected-power.is-short,
html[data-theme="light"] .oz-selected-energy.is-short{
 background:#f2dedb!important;
 border-color:#b85f55!important;
}
html[data-theme="light"] .oz-selected-power.is-ready,
html[data-theme="light"] .oz-selected-energy.is-ready{
 background:#dcece2!important;
 border-color:#579071!important;
}

/* =========================================================
   OUTPOST ZERO v1.85 — FIELD RESPONSE HUD
   ========================================================= */
.oz-field-response{
 position:fixed!important;
 left:50%!important;
 top:38%!important;
 z-index:99999!important;
 width:min(520px,calc(100vw - 32px))!important;
 transform:translate(-50%,-50%) translateY(14px) scale(.97)!important;
 opacity:0!important;
 pointer-events:none!important;
 padding:12px 14px!important;
 border:1px solid #3f8991!important;
 background:linear-gradient(180deg,rgba(8,24,29,.93),rgba(5,15,19,.88))!important;
 box-shadow:
  0 0 0 1px rgba(78,184,190,.08),
  0 16px 40px rgba(0,0,0,.42),
  inset 0 1px 0 rgba(255,255,255,.035)!important;
 backdrop-filter:blur(8px)!important;
 -webkit-backdrop-filter:blur(8px)!important;
 color:#d8ecee!important;
 transition:
  opacity .22s ease,
  transform .28s cubic-bezier(.2,.75,.2,1),
  filter .28s ease!important;
}
.oz-field-response:before,
.oz-field-response:after{
 content:""!important;
 position:absolute!important;
 width:18px!important;
 height:18px!important;
 pointer-events:none!important;
}
.oz-field-response:before{
 left:-1px!important;top:-1px!important;
 border-left:2px solid #63c9d0!important;
 border-top:2px solid #63c9d0!important;
}
.oz-field-response:after{
 right:-1px!important;bottom:-1px!important;
 border-right:2px solid #63c9d0!important;
 border-bottom:2px solid #63c9d0!important;
}
.oz-field-response.is-visible{
 opacity:1!important;
 transform:translate(-50%,-50%) translateY(0) scale(1)!important;
}
.oz-field-response-head{
 display:flex!important;
 align-items:center!important;
 gap:7px!important;
 margin-bottom:6px!important;
 font-size:11px!important;
 letter-spacing:.9px!important;
 color:#75d8dd!important;
}
.oz-field-response-dot{
 width:7px!important;
 height:7px!important;
 border-radius:50%!important;
 background:#63d7c8!important;
 box-shadow:0 0 9px rgba(99,215,200,.7)!important;
}
.oz-field-response-text{
 font-size:14px!important;
 line-height:1.35!important;
 font-weight:700!important;
 color:#eef8f7!important;
}
.oz-field-response.is-error{
 border-color:#bd5c55!important;
 background:linear-gradient(180deg,rgba(42,16,18,.94),rgba(24,10,12,.90))!important;
}
.oz-field-response.is-error:before,
.oz-field-response.is-error:after{
 border-color:#ef7a70!important;
}
.oz-field-response.is-error .oz-field-response-head{color:#ff9b91!important}
.oz-field-response.is-error .oz-field-response-dot{
 background:#ef6a61!important;
 box-shadow:0 0 10px rgba(239,106,97,.75)!important;
}
.oz-field-response.is-flying{
 opacity:.08!important;
 transform:
  translate(-50%,-50%)
  translate(var(--fly-x),var(--fly-y))
  scale(.26)!important;
 filter:blur(1px)!important;
 transition:
  opacity .58s ease,
  transform .62s cubic-bezier(.4,0,.35,1),
  filter .5s ease!important;
}
.oz-field-response.is-fading{
 opacity:0!important;
 transform:translate(-50%,-50%) translateY(-10px) scale(.96)!important;
}
#ozFieldComm.receive-message{
 box-shadow:0 0 0 1px rgba(96,220,215,.35),0 0 16px rgba(63,205,199,.28)!important;
}
@media(max-width:680px){
 .oz-field-response{
  top:34%!important;
  width:calc(100vw - 24px)!important;
  padding:10px 12px!important;
 }
 .oz-field-response-text{
  font-size:13px!important;
 }
}
@media(prefers-reduced-motion:reduce){
 .oz-field-response,
 .oz-field-response.is-flying{
  transition:opacity .15s ease!important;
  transform:translate(-50%,-50%)!important;
 }
}

/* v1.86 — Squad hero sizing */
.oz-hero.compact.oz-squad-head{
    min-height:200px!important;
    height:200px!important;
}
@media(max-width:680px){
    .oz-hero.compact.oz-squad-head{
        min-height:160px!important;
        height:160px!important;
    }
}

/* =========================================================
   OUTPOST ZERO v1.87 — FIELD RESPONSE semantic colors
   Success = green. Failure/error = red.
   ========================================================= */
html body .oz-field-response.is-ok{
 border-color:#4fc27d!important;
 background:
  linear-gradient(180deg,rgba(15,58,39,.95),rgba(7,34,25,.91))!important;
 box-shadow:
  0 0 0 1px rgba(79,194,125,.14),
  0 0 22px rgba(49,174,103,.16),
  0 16px 40px rgba(0,0,0,.40),
  inset 0 1px 0 rgba(255,255,255,.045)!important;
}
html body .oz-field-response.is-ok:before,
html body .oz-field-response.is-ok:after{
 border-color:#70df9a!important;
}
html body .oz-field-response.is-ok .oz-field-response-head{
 color:#86e5aa!important;
}
html body .oz-field-response.is-ok .oz-field-response-dot{
 background:#59d488!important;
 box-shadow:0 0 11px rgba(89,212,136,.80)!important;
}
html body .oz-field-response.is-ok .oz-field-response-text{
 color:#effff4!important;
}

html body .oz-field-response.is-error{
 border-color:#d45b55!important;
 background:
  linear-gradient(180deg,rgba(76,22,24,.96),rgba(42,11,14,.93))!important;
 box-shadow:
  0 0 0 1px rgba(212,91,85,.15),
  0 0 23px rgba(202,63,58,.18),
  0 16px 40px rgba(0,0,0,.42),
  inset 0 1px 0 rgba(255,255,255,.04)!important;
}
html body .oz-field-response.is-error:before,
html body .oz-field-response.is-error:after{
 border-color:#ff8179!important;
}
html body .oz-field-response.is-error .oz-field-response-head{
 color:#ff9d95!important;
}
html body .oz-field-response.is-error .oz-field-response-dot{
 background:#f05e58!important;
 box-shadow:0 0 12px rgba(240,94,88,.82)!important;
}
html body .oz-field-response.is-error .oz-field-response-text{
 color:#fff1ef!important;
}


/* =========================================================
   OUTPOST ZERO v1.91 — Armory full visual cleanup
   ========================================================= */
body.oz-account .oz-reforge-overview{margin-bottom:12px!important;padding:14px 16px!important}
body.oz-account .oz-reforge-overview .panel-title{align-items:flex-start!important;gap:16px!important}
body.oz-account .oz-reforge-overview .panel-title>span{max-width:390px!important;text-align:right!important;line-height:1.35!important}
body.oz-account .oz-reforge-flow{min-height:52px!important;margin:10px 0 8px!important;padding:10px 14px!important;justify-content:center!important;gap:9px!important}
body.oz-account .oz-reforge-flow span{min-width:80px!important;text-align:center!important;padding:7px 10px!important}
body.oz-account .oz-reforge-flow i{margin:0 2px!important;white-space:nowrap!important}

body.oz-account .oz-armory-summary{display:grid!important;grid-template-columns:1fr 1fr 1fr!important;gap:9px!important;margin:0 0 10px!important}
body.oz-account .oz-armory-summary article{min-height:58px!important;padding:10px 12px!important;display:flex!important;flex-direction:column!important;justify-content:center!important}
body.oz-account .oz-armory-summary strong{font-size:16px!important;line-height:1.15!important}

body.oz-account .oz-armory-filters{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;gap:10px!important;margin:0 0 12px!important;padding:9px!important;border:1px solid #294752!important;background:#08151a!important}
body.oz-account .oz-armory-filter-types{display:flex!important;flex-wrap:wrap!important;gap:6px!important}
body.oz-account .oz-armory-filter{appearance:none!important;min-height:34px!important;padding:7px 12px!important;border:1px solid #31525b!important;background:#0b1b21!important;color:#8fa8aa!important;font-size:11px!important;font-weight:900!important;line-height:1!important;letter-spacing:.035em!important;cursor:pointer!important;transition:.15s ease!important}
body.oz-account .oz-armory-filter b{margin-left:4px!important;color:#d3e2df!important}
body.oz-account .oz-armory-filter:hover{filter:brightness(1.18)!important;color:#fff!important}
body.oz-account .oz-armory-filter.active{color:#fff!important;box-shadow:inset 0 0 0 1px rgba(255,255,255,.08)!important}
body.oz-account .oz-armory-filter.filter-all.active{border-color:#50c7d1!important;background:linear-gradient(180deg,#237e88,#15515a)!important}
body.oz-account .oz-armory-filter.filter-weapon{border-color:#714242!important} body.oz-account .oz-armory-filter.filter-weapon.active{border-color:#d96b6b!important;background:linear-gradient(180deg,#934646,#602d2d)!important}
body.oz-account .oz-armory-filter.filter-armor{border-color:#3f6388!important} body.oz-account .oz-armory-filter.filter-armor.active{border-color:#6aa9e8!important;background:linear-gradient(180deg,#356ca3,#24496f)!important}
body.oz-account .oz-armory-filter.filter-utility{border-color:#79643d!important} body.oz-account .oz-armory-filter.filter-utility.active{border-color:#d4a94f!important;background:linear-gradient(180deg,#927337,#604b25)!important}
body.oz-account .oz-armory-filter.filter-material{border-color:#416f56!important} body.oz-account .oz-armory-filter.filter-material.active{border-color:#68bd8b!important;background:linear-gradient(180deg,#3d865e,#285b40)!important}
body.oz-account .oz-armory-filter-extra{display:grid!important;grid-template-columns:150px 190px!important;gap:6px!important}
body.oz-account .oz-armory-filter-extra select,body.oz-account .oz-armory-filter-extra input{width:100%!important;height:34px!important;box-sizing:border-box!important;border:1px solid #31525b!important;background:#071116!important;color:#a9c0c1!important;padding:0 9px!important;font-size:11px!important;outline:none!important}
body.oz-account .oz-armory-filter-extra select:focus,body.oz-account .oz-armory-filter-extra input:focus{border-color:#45aeb8!important}

body.oz-account .oz-armory-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px!important;align-items:stretch!important}
body.oz-account .oz-armory-item{display:grid!important;grid-template-columns:76px minmax(0,1fr)!important;grid-template-rows:auto 1fr!important;column-gap:8px!important;row-gap:0!important;align-items:start!important;height:100%!important;min-height:0!important;padding:8px!important;box-sizing:border-box!important;overflow:visible!important}
body.oz-account .oz-armory-item[hidden]{display:none!important}
body.oz-account .oz-armory-item>.oz-armory-item-img{grid-column:1!important;grid-row:1!important;width:76px!important;height:76px!important;min-width:76px!important;min-height:76px!important;margin:0!important;background-size:contain!important;background-repeat:no-repeat!important;background-position:center!important;background-color:#071116!important;filter:none!important}
body.oz-account .oz-armory-item>.oz-armory-item-main{grid-column:2!important;grid-row:1/3!important;display:flex!important;flex-direction:column!important;min-width:0!important;height:100%!important}
body.oz-account .oz-armory-item .rarity-text{display:block!important;margin:0 0 2px!important;font-size:11px!important;line-height:1.1!important}
body.oz-account .oz-armory-item h3{margin:0 0 3px!important;font-size:14px!important;line-height:1.15!important;overflow-wrap:anywhere!important}
body.oz-account .oz-armory-item p{margin:0!important;line-height:1.25!important}
body.oz-account .oz-armory-stats{display:flex!important;flex-wrap:wrap!important;gap:4px!important;margin:5px 0 0!important}
body.oz-account .oz-armory-stats span{padding:3px 5px!important;line-height:1.15!important}
body.oz-account .oz-armory-foot{display:block!important;margin-top:auto!important;padding-top:7px!important;border-top:1px solid #183039!important}
body.oz-account .oz-armory-foot-head{min-height:20px!important;margin:0 0 5px!important}
body.oz-account .oz-armory-action-grid{display:grid!important;grid-template-columns:1fr 1fr!important;gap:5px!important}
body.oz-account .oz-armory-action-grid form{display:block!important;margin:0!important}
body.oz-account .oz-armory-action-grid button,body.oz-account .oz-armory-action-grid .oz-reforge-locked,body.oz-account .oz-armory-action-grid .oz-max-upgrade,body.oz-account .oz-armory-action-grid .oz-legendary-cap,body.oz-account .oz-armory-action-grid .oz-armory-equip{width:100%!important;min-height:31px!important;padding:5px!important;box-sizing:border-box!important;font-size:11px!important;white-space:nowrap!important}
body.oz-account .oz-upgrade-costline.compact,body.oz-account .oz-ascend-costline.compact{margin-top:5px!important;padding:5px!important;gap:4px!important;min-height:34px!important}
body.oz-account .oz-upgrade-costline.compact strong,body.oz-account .oz-ascend-costline.compact strong{margin-left:auto!important}

/* materials are informational: keep their cards compact and don't fake gear actions */
body.oz-account .oz-armory-item[data-armory-type="material"]>.oz-armory-item-main{height:auto!important}
body.oz-account .oz-armory-item[data-armory-type="material"] .oz-armory-foot{margin-top:8px!important}

@media(max-width:1250px){body.oz-account .oz-armory-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:920px){
 body.oz-account .oz-armory-filters{grid-template-columns:1fr!important}
 body.oz-account .oz-armory-filter-extra{grid-template-columns:160px minmax(180px,1fr)!important}
 body.oz-account .oz-armory-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:680px){
 body.oz-account .oz-reforge-overview .panel-title{display:block!important}
 body.oz-account .oz-reforge-overview .panel-title>span{display:block!important;margin-top:5px!important;text-align:left!important}
 body.oz-account .oz-reforge-flow{justify-content:flex-start!important;overflow-x:auto!important;flex-wrap:nowrap!important}
 body.oz-account .oz-armory-summary{grid-template-columns:1fr!important}
 body.oz-account .oz-armory-filter-types{display:grid!important;grid-template-columns:1fr 1fr!important}
 body.oz-account .oz-armory-filter{width:100%!important}
 body.oz-account .oz-armory-filter-extra{grid-template-columns:1fr!important}
 body.oz-account .oz-armory-grid{grid-template-columns:1fr!important}
}


/* =========================================================
   OUTPOST ZERO v1.92 — Armory hero + rarity border fix
   ========================================================= */
body.oz-account .oz-hero.compact.oz-armory-head{
 position:relative!important;
 min-height:400px!important;
 height:400px!important;
 box-sizing:border-box!important;
 overflow:hidden!important;
 align-items:flex-end!important;
 background-image:linear-gradient(90deg,rgba(3,11,15,.28),rgba(3,11,15,.06) 48%,rgba(3,11,15,.18)),url('/assets/armory/armory-hero.png')!important;
 background-size:cover!important;
 background-position:center center!important;
 background-repeat:no-repeat!important;
}
body.oz-account .oz-hero.compact.oz-armory-head>div{
 position:relative!important;
 z-index:2!important;
 max-width:760px!important;
 padding:12px 15px!important;
 background:rgba(4,14,18,.58)!important;
 border-left:2px solid #36aeb5!important;
 backdrop-filter:blur(2px)!important;
}
body.oz-account .oz-reforge-flow .legendary{color:#e49a3a!important;border-color:#e49a3a!important;text-shadow:0 0 7px rgba(228,154,58,.28)!important}
body.oz-account .oz-armory-item.rarity-border-common{border:2px solid #666861!important}
body.oz-account .oz-armory-item.rarity-border-uncommon{border:2px solid #69a75d!important}
body.oz-account .oz-armory-item.rarity-border-rare{border:2px solid #4d91d0!important}
body.oz-account .oz-armory-item.rarity-border-epic{border:2px solid #9b5fc0!important}
body.oz-account .oz-armory-item.rarity-border-legendary{border:2px solid #d28a36!important}
body.oz-account .oz-armory-item.rarity-border-uncommon{box-shadow:inset 0 0 0 1px rgba(105,167,93,.13)!important}
body.oz-account .oz-armory-item.rarity-border-rare{box-shadow:inset 0 0 0 1px rgba(77,145,208,.15)!important}
body.oz-account .oz-armory-item.rarity-border-epic{box-shadow:inset 0 0 0 1px rgba(155,95,192,.16)!important}
body.oz-account .oz-armory-item.rarity-border-legendary{box-shadow:inset 0 0 0 1px rgba(210,138,54,.18)!important}
@media(max-width:680px){
 body.oz-account .oz-hero.compact.oz-armory-head{min-height:260px!important;height:260px!important;background-position:center center!important}
 body.oz-account .oz-hero.compact.oz-armory-head>div{padding:10px 12px!important}
}


/* =========================================================
   OUTPOST ZERO v1.93 — ARMORY CARD REBUILD
   Final authoritative layer. The Armory had many legacy
   declarations, so these selectors intentionally win.
   ========================================================= */

/* ---- GRID ------------------------------------------------ */
html body.oz-account .oz-armory-grid{
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:10px!important;
    align-items:start!important;
}

/* ---- CARD SHELL ------------------------------------------ */
html body.oz-account .oz-armory-grid > article.oz-armory-item{
    position:relative!important;
    display:grid!important;
    grid-template-columns:76px minmax(0,1fr)!important;
    grid-template-rows:auto!important;
    gap:8px!important;
    align-items:start!important;
    min-width:0!important;
    min-height:0!important;
    height:auto!important;
    padding:8px!important;
    margin:0!important;
    overflow:hidden!important;
    background:linear-gradient(180deg,#0b1b20 0%,#08161a 100%)!important;
    border-width:2px!important;
    border-style:solid!important;
    border-radius:0!important;
    box-shadow:none!important;
    box-sizing:border-box!important;
}

/* Real rarity border directly on the card. */
html body.oz-account .oz-armory-grid > article.oz-armory-item.rarity-border-common{
    border-color:#a9b1b4!important;
    box-shadow:inset 0 0 0 1px rgba(169,177,180,.06)!important;
}
html body.oz-account .oz-armory-grid > article.oz-armory-item.rarity-border-uncommon{
    border-color:#58c66c!important;
    box-shadow:inset 0 0 0 1px rgba(88,198,108,.10),0 0 10px rgba(88,198,108,.07)!important;
}
html body.oz-account .oz-armory-grid > article.oz-armory-item.rarity-border-rare{
    border-color:#4baaf0!important;
    box-shadow:inset 0 0 0 1px rgba(75,170,240,.11),0 0 10px rgba(75,170,240,.08)!important;
}
html body.oz-account .oz-armory-grid > article.oz-armory-item.rarity-border-epic{
    border-color:#b96be5!important;
    box-shadow:inset 0 0 0 1px rgba(185,107,229,.11),0 0 11px rgba(185,107,229,.09)!important;
}
html body.oz-account .oz-armory-grid > article.oz-armory-item.rarity-border-legendary{
    border-color:#e79b3a!important;
    box-shadow:inset 0 0 0 1px rgba(231,155,58,.12),0 0 12px rgba(231,155,58,.10)!important;
}

/* ---- IMAGE ----------------------------------------------- */
html body.oz-account .oz-armory-grid > .oz-armory-item > .oz-armory-item-img{
    grid-column:1!important;
    grid-row:1!important;
    width:76px!important;
    height:76px!important;
    min-width:76px!important;
    min-height:76px!important;
    margin:0!important;
    align-self:start!important;
    background-size:contain!important;
    background-position:center!important;
    background-repeat:no-repeat!important;
    background-color:#071216!important;
    border:1px solid #29444b!important;
    box-sizing:border-box!important;
}

/* ---- MAIN BODY ------------------------------------------- */
html body.oz-account .oz-armory-grid > .oz-armory-item > .oz-armory-item-main{
    grid-column:2!important;
    grid-row:1!important;
    display:flex!important;
    flex-direction:column!important;
    min-width:0!important;
    min-height:0!important;
    height:auto!important;
    padding:0!important;
    margin:0!important;
}

html body.oz-account .oz-armory-item-main > .rarity-text{
    display:block!important;
    width:max-content!important;
    margin:0 0 2px!important;
    line-height:1.05!important;
    font-size:11px!important;
    font-weight:900!important;
    letter-spacing:.7px!important;
}
html body.oz-account .oz-armory-item-main > h3{
    margin:0!important;
    padding:0!important;
    max-width:100%!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
    line-height:1.16!important;
    font-size:14px!important;
    color:#eef5f3!important;
}
html body.oz-account .oz-armory-item-main > p{
    margin:2px 0 5px!important;
    padding:0!important;
    min-height:0!important;
    line-height:1.15!important;
    font-size:11px!important;
    color:#7f9ba0!important;
}

/* ---- STATS: always one clean compact row ---------------- */
html body.oz-account .oz-armory-item .oz-armory-stats{
    display:flex!important;
    flex-wrap:wrap!important;
    align-items:center!important;
    gap:3px!important;
    width:100%!important;
    min-width:0!important;
    margin:0 0 6px!important;
    padding:0!important;
    border:0!important;
}
html body.oz-account .oz-armory-item .oz-armory-stats > span{
    display:inline-flex!important;
    align-items:center!important;
    gap:3px!important;
    width:auto!important;
    min-width:0!important;
    height:21px!important;
    margin:0!important;
    padding:2px 5px!important;
    border:1px solid #294c55!important;
    background:#09191e!important;
    box-sizing:border-box!important;
    white-space:nowrap!important;
    line-height:1!important;
    font-size:11px!important;
    color:#76979e!important;
}
html body.oz-account .oz-armory-item .oz-armory-stats > span b{
    margin:0!important;
    color:#cce8e6!important;
    font-size:11px!important;
}

/* Power has its own accent but remains in line. */
html body.oz-account .oz-armory-item .oz-armory-stats > span:last-child{
    border-color:#36717a!important;
}
html body.oz-account .oz-armory-item .oz-armory-stats > span:last-child b{
    color:#70d8d0!important;
}

/* ---- FOOT: no giant empty middle area -------------------- */
html body.oz-account .oz-armory-item .oz-armory-foot{
    display:block!important;
    width:100%!important;
    min-height:0!important;
    margin:0!important;
    padding:5px 0 0!important;
    border-top:1px solid #203a41!important;
}
html body.oz-account .oz-armory-item .oz-armory-foot-head{
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    min-height:20px!important;
    margin:0 0 5px!important;
    padding:0!important;
    gap:8px!important;
}
html body.oz-account .oz-armory-stock,
html body.oz-account .oz-armory-equip-link{
    margin:0!important;
    font-size:11px!important;
    line-height:1!important;
}
html body.oz-account .oz-armory-equip-link{
    color:#7bd8d2!important;
    font-weight:900!important;
    text-decoration:none!important;
}

/* ---- ACTIONS: 4 distinct actions ------------------------- */
html body.oz-account .oz-armory-item .oz-armory-action-grid{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:5px!important;
    width:100%!important;
    margin:0!important;
    padding:0!important;
}
html body.oz-account .oz-armory-item .oz-armory-action-grid > form{
    display:block!important;
    width:100%!important;
    margin:0!important;
}
html body.oz-account .oz-armory-item .oz-armory-action-grid button,
html body.oz-account .oz-armory-item .oz-armory-action-grid a,
html body.oz-account .oz-armory-item .oz-armory-action-grid > span{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:100%!important;
    min-width:0!important;
    height:31px!important;
    min-height:31px!important;
    margin:0!important;
    padding:4px 6px!important;
    box-sizing:border-box!important;
    font-size:11px!important;
    font-weight:900!important;
    line-height:1!important;
    text-align:center!important;
    text-decoration:none!important;
    cursor:pointer!important;
    transition:filter .15s ease,transform .15s ease,border-color .15s ease!important;
}

/* Upgrade — green */
html body.oz-account .oz-armory-item button.oz-armory-upgrade{
    color:#f2fff8!important;
    border:1px solid #56bc86!important;
    background:linear-gradient(180deg,#349b6c 0%,#236c4e 100%)!important;
}
html body.oz-account .oz-armory-item button.oz-armory-upgrade:hover{
    background:linear-gradient(180deg,#43b57f 0%,#2c805d 100%)!important;
    filter:brightness(1.08)!important;
}

/* Reforge / Ascend — purple/gold according to target */
html body.oz-account .oz-armory-item button.oz-armory-ascend{
    color:#fff!important;
    border:1px solid #a568d3!important;
    background:linear-gradient(180deg,#8150aa 0%,#5b397b 100%)!important;
}
html body.oz-account .oz-armory-item button.oz-armory-ascend.rarity-legendary{
    border-color:#dc9a45!important;
    background:linear-gradient(180deg,#ad762c 0%,#754b19 100%)!important;
}
html body.oz-account .oz-armory-item button.oz-armory-ascend:hover{
    filter:brightness(1.13)!important;
}

/* Dismantle — red */
html body.oz-account .oz-armory-item button.oz-armory-dismantle{
    color:#fff4f2!important;
    border:1px solid #bd554e!important;
    background:linear-gradient(180deg,#963f3b 0%,#662725 100%)!important;
}
html body.oz-account .oz-armory-item button.oz-armory-dismantle:hover{
    background:linear-gradient(180deg,#b94b45 0%,#7d302d 100%)!important;
}

/* Equip — cyan / blue */
html body.oz-account .oz-armory-item a.oz-armory-equip{
    color:#f0ffff!important;
    border:1px solid #4ca9bd!important;
    background:linear-gradient(180deg,#277f91 0%,#185969 100%)!important;
}
html body.oz-account .oz-armory-item a.oz-armory-equip:hover{
    background:linear-gradient(180deg,#329aae 0%,#206d7d 100%)!important;
}

/* Locked/max states are visibly inert. */
html body.oz-account .oz-armory-item .oz-reforge-locked,
html body.oz-account .oz-armory-item .oz-max-upgrade,
html body.oz-account .oz-armory-item .oz-legendary-cap{
    cursor:default!important;
    color:#70868a!important;
    border:1px solid #31454a!important;
    background:#101b1e!important;
}

/* ---- UPGRADE COST ---------------------------------------- */
html body.oz-account .oz-armory-item .oz-upgrade-costline.compact{
    display:flex!important;
    flex-wrap:wrap!important;
    align-items:center!important;
    gap:3px!important;
    width:100%!important;
    min-height:0!important;
    margin:5px 0 0!important;
    padding:4px!important;
    border:1px solid #263f45!important;
    background:#081519!important;
    box-sizing:border-box!important;
}
html body.oz-account .oz-armory-item .oz-upgrade-costline.compact > *{
    display:inline-flex!important;
    align-items:center!important;
    min-height:20px!important;
    margin:0!important;
    padding:2px 5px!important;
    border:1px solid #29444b!important;
    box-sizing:border-box!important;
    font-size:11px!important;
    line-height:1!important;
    white-space:nowrap!important;
}
html body.oz-account .oz-armory-item .oz-upgrade-costline.compact .label{
    border:0!important;
    padding-left:1px!important;
    color:#81999d!important;
    font-weight:900!important;
}
html body.oz-account .oz-armory-item .oz-upgrade-costline.compact strong{
    margin-left:auto!important;
    color:#74dfd7!important;
    border-color:#41747b!important;
}

/* Materials have no action footer, so they stay genuinely compact. */
html body.oz-account .oz-armory-grid > .oz-armory-item:not(:has(.oz-armory-action-grid)){
    align-self:start!important;
}

/* ---- EQUIPPED MINI CARDS --------------------------------- */
html body.oz-account .oz-equipped-mini-grid > .oz-armory-item{
    min-height:0!important;
    height:auto!important;
}

/* ---- HOVER ------------------------------------------------ */
html body.oz-account .oz-armory-grid > article.oz-armory-item:hover{
    transform:translateY(-1px)!important;
    filter:brightness(1.04)!important;
}

/* ---- LIGHT THEME ----------------------------------------- */
html[data-theme="light"] body.oz-account .oz-armory-grid > article.oz-armory-item{
    background:linear-gradient(180deg,#f2f6f4 0%,#e8efec 100%)!important;
}
html[data-theme="light"] body.oz-account .oz-armory-item-main > h3{
    color:#17282b!important;
}
html[data-theme="light"] body.oz-account .oz-armory-item .oz-armory-stats > span,
html[data-theme="light"] body.oz-account .oz-armory-item .oz-upgrade-costline.compact{
    background:#dde8e5!important;
}
html[data-theme="light"] body.oz-account .oz-armory-item .oz-armory-stats > span b{
    color:#173438!important;
}

/* ---- RESPONSIVE ------------------------------------------ */
@media(max-width:1350px){
    html body.oz-account .oz-armory-grid{
        grid-template-columns:repeat(3,minmax(0,1fr))!important;
    }
}
@media(max-width:980px){
    html body.oz-account .oz-armory-grid{
        grid-template-columns:repeat(2,minmax(0,1fr))!important;
    }
}
@media(max-width:620px){
    html body.oz-account .oz-armory-grid{
        grid-template-columns:1fr!important;
        gap:8px!important;
    }
    html body.oz-account .oz-armory-grid > article.oz-armory-item{
        grid-template-columns:72px minmax(0,1fr)!important;
        padding:7px!important;
    }
    html body.oz-account .oz-armory-grid > .oz-armory-item > .oz-armory-item-img{
        width:72px!important;
        min-width:72px!important;
        height:72px!important;
        min-height:72px!important;
    }
}

/* v1.93 fallback rarity hooks */
html body.oz-account article.oz-armory-item[data-rarity="common"]{border-color:#a9b1b4!important}
html body.oz-account article.oz-armory-item[data-rarity="uncommon"]{border-color:#58c66c!important}
html body.oz-account article.oz-armory-item[data-rarity="rare"]{border-color:#4baaf0!important}
html body.oz-account article.oz-armory-item[data-rarity="epic"]{border-color:#b96be5!important}
html body.oz-account article.oz-armory-item[data-rarity="legendary"]{border-color:#e79b3a!important}


/* =========================================================
   OUTPOST ZERO v1.94 — Armory full-width action footer
   ========================================================= */

/* The card top is image + info. Everything below spans both columns. */
html body.oz-account .oz-armory-grid > article.oz-armory-item{
    grid-template-columns:76px minmax(0,1fr)!important;
    grid-template-rows:auto auto!important;
}

html body.oz-account .oz-armory-grid > .oz-armory-item > .oz-armory-item-img{
    grid-column:1!important;
    grid-row:1!important;
}

html body.oz-account .oz-armory-grid > .oz-armory-item > .oz-armory-item-main{
    grid-column:2!important;
    grid-row:1!important;
    align-self:start!important;
}

/* Main fix: STOCK + all buttons/costs now begin under BOTH image and info. */
html body.oz-account .oz-armory-grid > .oz-armory-item > .oz-armory-foot{
    grid-column:1 / -1!important;
    grid-row:2!important;
    width:100%!important;
    margin:0!important;
    padding:6px 0 0!important;
    border-top:1px solid #244047!important;
    min-width:0!important;
    box-sizing:border-box!important;
}

/* Make the action area use the extra width efficiently. */
html body.oz-account .oz-armory-grid > .oz-armory-item > .oz-armory-foot .oz-armory-action-grid{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:5px!important;
}

html body.oz-account .oz-armory-grid > .oz-armory-item > .oz-armory-foot .oz-upgrade-costline.compact,
html body.oz-account .oz-armory-grid > .oz-armory-item > .oz-armory-foot .oz-ascend-costline.compact{
    margin-top:5px!important;
}

/* Materials also use the full-width stock footer, without artificial empty height. */
html body.oz-account .oz-armory-grid > .oz-armory-item > .oz-armory-foot:has(.oz-armory-foot-head):not(:has(.oz-armory-action-grid)){
    padding-top:5px!important;
}

/* Narrow cards: two actions per row remain easier to read. */
@media(max-width:1450px){
    html body.oz-account .oz-armory-grid > .oz-armory-item > .oz-armory-foot .oz-armory-action-grid{
        grid-template-columns:repeat(2,minmax(0,1fr))!important;
    }
}
@media(max-width:620px){
    html body.oz-account .oz-armory-grid > article.oz-armory-item{
        grid-template-columns:72px minmax(0,1fr)!important;
    }
}


/* =========================================================
   OUTPOST ZERO v1.95 — Armory actions always 2 x 2
   ========================================================= */
html body.oz-account .oz-armory-grid > .oz-armory-item > .oz-armory-foot .oz-armory-action-grid{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:5px!important;
}
html body.oz-account .oz-armory-grid > .oz-armory-item > .oz-armory-foot .oz-armory-action-grid > form,
html body.oz-account .oz-armory-grid > .oz-armory-item > .oz-armory-foot .oz-armory-action-grid > a,
html body.oz-account .oz-armory-grid > .oz-armory-item > .oz-armory-foot .oz-armory-action-grid > span{
    width:100%!important;
    min-width:0!important;
    margin:0!important;
}
html body.oz-account .oz-armory-grid > .oz-armory-item > .oz-armory-foot .oz-armory-action-grid button,
html body.oz-account .oz-armory-grid > .oz-armory-item > .oz-armory-foot .oz-armory-action-grid .oz-armory-equip,
html body.oz-account .oz-armory-grid > .oz-armory-item > .oz-armory-foot .oz-armory-action-grid .oz-reforge-locked,
html body.oz-account .oz-armory-grid > .oz-armory-item > .oz-armory-foot .oz-armory-action-grid .oz-max-upgrade,
html body.oz-account .oz-armory-grid > .oz-armory-item > .oz-armory-foot .oz-armory-action-grid .oz-legendary-cap{
    width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
}


/* v1.99 Armory filter hard-hide fallback */
html body.oz-account .oz-armory-grid > .oz-armory-item.is-filtered-out{
    display:none!important;
}
\n\n/* =========================================================\n   OUTPOST ZERO v2.02 — dedicated sidebar menu icons\n   ========================================================= */\nbody.oz-account .account-sidebar .nav-icon{\n    width:29px!important;\n    height:29px!important;\n    min-width:29px!important;\n    padding:1px!important;\n    box-sizing:border-box!important;\n    overflow:visible!important;\n    background:#071116!important;\n}\nbody.oz-account .account-sidebar .nav-icon img{\n    display:block!important;\n    width:100%!important;\n    height:100%!important;\n    object-fit:contain!important;\n    object-position:center!important;\n    opacity:1!important;\n    filter:none!important;\n}\nbody.oz-account .account-sidebar .account-nav.active .nav-icon img{\n    filter:drop-shadow(0 0 4px rgba(81,220,214,.28))!important;\n}\nhtml[data-theme="light"] body.oz-account .account-sidebar .nav-icon{\n    background:#e3e7e3!important;\n}\n@media(max-width:900px){\n body.oz-account .account-sidebar .nav-icon{\n    width:30px!important;\n    height:30px!important;\n    min-width:30px!important;\n }\n}\n
/* =========================================================
   OUTPOST ZERO — Base hero artwork update
   ========================================================= */
html body.oz-account .oz-hero.compact.oz-base-head{
 height:300px!important;
 min-height:300px!important;
}
html body.oz-account .oz-base-head-bg{
 object-fit:cover!important;
 object-position:center center!important;
}
html body.oz-account .oz-hero.compact.oz-base-head .oz-base-defense-link{
 height:35px!important;
 min-height:35px!important;
 max-height:35px!important;
 align-self:auto!important;
}
@media(max-width:700px){
 html body.oz-account .oz-hero.compact.oz-base-head{
  height:300px!important;
  min-height:300px!important;
 }
 html body.oz-account .oz-hero.compact.oz-base-head .oz-base-defense-link{
  height:35px!important;
  min-height:35px!important;
  max-height:35px!important;
 }
}


/* =========================================================
   OUTPOST ZERO v2.13 — AUTHORITATIVE HERO FIX
   Keep this block LAST. Do not duplicate these sizes elsewhere.
   ========================================================= */
html body.oz-account .oz-hero.compact.oz-armory-head,
html body.oz-account .oz-hero.compact.oz-base-head,
html body.oz-account .oz-hero.compact.oz-missions-head,
html body.oz-account .oz-hero.compact.oz-crafting-head{
    height:300px!important;
    min-height:300px!important;
    max-height:300px!important;
    box-sizing:border-box!important;
    overflow:hidden!important;
}
html body.oz-account .oz-hero.compact.oz-crafting-head{
    background:
      linear-gradient(90deg,rgba(3,9,12,.72),rgba(3,9,12,.16) 62%,rgba(3,9,12,.38)),
      url('/assets/heroes/oz-hero-crafting.png?v=213') center center/cover no-repeat!important;
}
@media(max-width:700px){
  html body.oz-account .oz-hero.compact.oz-armory-head,
  html body.oz-account .oz-hero.compact.oz-base-head,
  html body.oz-account .oz-hero.compact.oz-missions-head,
  html body.oz-account .oz-hero.compact.oz-crafting-head{
      height:300px!important;
      min-height:300px!important;
      max-height:300px!important;
  }
}
