/* LOADOUTS CREAM 20261008: scope visual changes to loadout pages. */
body.loadoutStandaloneV2{--ink:#302e28;--muted:#756e60;--paper:#ede6d7;--line:#d9cdb7;--light:#eceecf;color:var(--ink)}
body.loadoutStandaloneV2 main{padding:18px!important;background:radial-gradient(ellipse at 80% 0,#fffcf5,transparent 65%),linear-gradient(110deg,#ede4d1,#f7f1e5 48%,#e8decb);border:1px solid #d9cdb7;border-radius:12px;box-sizing:border-box;min-width:0}
.loadoutStandaloneV2 .panel{background:linear-gradient(135deg,#fffdf8,#f6f0e3);border:1px solid #dcd0ba;box-shadow:0 4px 10px #5b493710,0 12px 28px #735c3310,inset 0 1px #fff;border-radius:14px}
.loadoutStandaloneV2 .executor-hero{background:url('hero-executor.png') center/cover;min-height:320px;border:1px solid #d3c6af;box-shadow:0 8px 24px #64533122}
.loadoutStandaloneV2 .executor-hero .hero-content{width:49%;padding:38px 32px 30px;background:linear-gradient(90deg,#f5eddb99,transparent)}
.loadoutStandaloneV2 .executor-hero h1{font-size:clamp(32px,3vw,52px);line-height:1.08;letter-spacing:-1.5px;margin:16px 0 12px;max-width:600px}
.loadoutStandaloneV2 .executor-hero p{font-size:14px;line-height:1.6;color:#665c49;max-width:500px}
.loadoutStandaloneV2 .executor-hero .eyebrow{color:#737444;font-size:10px;letter-spacing:1.5px}
.hero-section-chips{display:flex;gap:6px;flex-wrap:wrap;margin-top:20px}
.hero-section-chips span{border:1px solid #c4b89b;background:#faf5e9d9;border-radius:6px;padding:7px 9px;font-size:10px;font-weight:700;color:#605c45}
.hero-game-icons{position:absolute;right:20px;top:16px;display:flex;gap:9px;z-index:2}
.hero-icon-group{padding:7px 9px;border:1px solid #d9ccaf9c;border-radius:9px;background:#f4ecdac9;box-shadow:0 4px 14px #4d422e20}
.hero-icon-group>span{display:block;text-align:center;font-size:9px;font-weight:700;color:#645a47;margin-bottom:4px}
.hero-icon-group>div{display:flex;gap:2px}
.hero-icon-group img{width:34px;height:34px;object-fit:contain;filter:drop-shadow(0 2px 2px #0004)}
.loadoutStandaloneV2 .tank-grid{gap:20px;align-items:stretch}
.loadoutStandaloneV2 .tank-catalog-card{background:linear-gradient(130deg,#fffdf7,#f5eddc);border:1px solid #d6c8b0;box-shadow:0 3px 6px #56412812,0 10px 20px #65513214,inset 0 1px #fff;display:flex;flex-direction:column;color:#302e28;transition:transform .18s,box-shadow .18s}
.loadoutStandaloneV2 .tank-catalog-card:hover{border-color:#9ba464;box-shadow:0 8px 22px #63512f29;transform:translateY(-3px)}
.loadoutStandaloneV2 .catalog-tank-art{background:linear-gradient(#e3dbc6b0,#d8c8a9e6),url('cliff.webp') center/cover;height:155px}
.loadoutStandaloneV2 .catalog-tank-art>img{padding:12px 8px 0;filter:drop-shadow(0 13px 8px #302e2848)}
.loadoutStandaloneV2 .catalog-tier{background:#fff9e9ec;border-color:#bfb495;color:#585a38}
.loadoutStandaloneV2 .catalog-card-body{flex:1;display:flex;flex-direction:column;padding:18px}
.loadoutStandaloneV2 .catalog-card-body h2{font-size:20px;margin-bottom:7px;line-height:1.2}
.loadoutStandaloneV2 .catalog-meta{color:#7a705e;font-size:11px;margin-bottom:12px}
.loadoutStandaloneV2 .catalog-build-labels{min-height:45px}
.loadoutStandaloneV2 .catalog-build-labels span{background:#e9ead9;border-color:#cdd1ae;color:#576235;font-size:10px}
.catalog-build-count{font-size:10px;color:#827762;margin:6px 0 14px;line-height:1.4}
.loadoutStandaloneV2 .catalog-open{margin-top:auto;background:linear-gradient(#edefd6,#dde1bd);padding:11px 12px;border:1px solid #b9c18b;border-radius:7px;color:#52612f;font-size:12px}
.loadoutStandaloneV2 .catalog-controls{padding:22px;background:linear-gradient(#fffaf0,#f4ebda)}
.loadoutStandaloneV2 .catalog-search input{border-color:#d3c5aa;background:#fffdf7;color:#514832}
.loadoutStandaloneV2 .filter-chips button{border-color:#d7cbb3;background:#f9f4e8;color:#756c56}
.loadoutStandaloneV2 .filter-chips button[aria-pressed=true]{border-color:#a7b579;background:#e3e9c8;color:#4f6130}
.loadoutStandaloneV2 .build-tabs{gap:10px}
.loadoutStandaloneV2 .build-tabs button{background:linear-gradient(#fffdf7,#eee7d6);border-color:#cfc2a8;box-shadow:0 3px 6px #614e2810;padding:13px 18px;color:#6b6250;border-radius:9px}
.loadoutStandaloneV2 .build-tabs button[aria-selected=true]{background:linear-gradient(#e7edcb,#d8e1b2);border-color:#9aa85f;box-shadow:inset 0 1px #f5fae6,0 3px 8px #78804520;color:#4b5e27}
.loadoutStandaloneV2 .build-author{background:transparent;border-bottom:1px solid #d8cbb2;padding:0 0 15px;margin-bottom:18px;color:#566335}
.loadoutStandaloneV2 .equipment-card,.loadoutStandaloneV2 .consumable-card,.loadoutStandaloneV2 .crew-card{background:linear-gradient(#fffcf5,#f1eadc);border-color:#d9ccb4;box-shadow:inset 0 1px #fff,0 4px 9px #614c2610}
.loadoutStandaloneV2 .field-choice.selected,.loadoutStandaloneV2 .upgrade-node.selected{background:#e7eccf;border-color:#aaba77;color:#52602d}
.loadoutStandaloneV2 .is-modified{border-color:#d7953c!important;background:#fff0cf!important}
.loadoutStandaloneV2 #replays-section,.loadoutStandaloneV2 #toggle-editor:not([aria-expanded=true]){display:none!important}
.loadoutStandaloneV2 #saved-build-panel .save-controls>label:nth-child(2),.loadoutStandaloneV2 #local-save{display:none!important}
.loadoutStandaloneV2 #related-battles .section-top{justify-content:space-between;align-items:center}
.loadoutStandaloneV2 #related-battles .section-top h2{font-size:21px;text-transform:none;letter-spacing:-.4px}
.loadoutStandaloneV2 #related-battles .section-top p,.rank-note{font-size:11px;color:#7b705b;line-height:1.5}
.related-count{display:flex;flex-direction:column;align-items:center;font-size:28px;color:#626b37;min-width:80px}
.related-count small{font-size:10px;font-weight:500}
.recorded-battle{overflow:hidden!important;padding:0!important;background:#fffcf4!important;border:1px solid #d3c5aa!important;border-radius:10px!important;box-shadow:0 6px 16px #68533217!important;text-decoration:none!important;display:block!important}
.battle-card-art{height:170px;background:linear-gradient(130deg,#aeb394,#ded1b2);position:relative;overflow:hidden}
.battle-card-art .battle-map-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.75}
.battle-card-art .battle-tank-image{position:absolute;right:4%;bottom:2px;width:90%;height:150px;object-fit:contain;filter:drop-shadow(0 6px 6px #0007)}
.battle-card-art>strong{position:absolute;top:10px;left:10px;background:#182521dd;color:#e6eadf;padding:7px 9px;font-size:12px;border-radius:5px;max-width:75%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.battle-card-art>span{position:absolute;top:10px;right:9px;background:#263634dd;color:#d9e3dc;border-radius:4px;font-size:10px;padding:5px}
.battle-card-art .battle-rank{position:absolute;bottom:9px;left:9px;background:#57471bee;color:#ffe39b;border:1px solid #b4a05b;padding:6px 9px;font-size:11px;border-radius:5px}
.battle-card-body{padding:13px 15px}
.battle-card-body h3{font-size:13px;line-height:1.3;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;margin:8px 0}
.battle-card-body .battle-card-top strong{font-size:14px}
.battle-card-body .battle-metrics{background:#e9e6d7;border-radius:6px;padding:9px;margin:9px 0;display:grid;grid-template-columns:1fr 1fr;gap:10px}
.battle-card-body .recorded-metric strong{font-size:20px;color:#4d5831}
.battle-card-body .recorded-metric span{font-size:10px;color:#7d7665}
.battle-card-body .battle-equipment{display:flex;justify-content:center;gap:5px}
.battle-card-body .battle-equipment .equipment-art{height:50px;width:65px;margin:0}
.battle-card-body .battle-open{display:block;border-top:1px solid #dcd3bd;padding-top:10px;color:#61713a;font-weight:700;font-size:11px;margin-top:10px}
#related-more{border:1px solid #b8c08e;background:#e9edda;color:#586832;padding:11px 18px;border-radius:7px;margin-top:17px;font:700 12px Arial}
@media(max-width:1450px){.hero-game-icons{gap:5px;right:12px}.hero-icon-group{padding:6px}.hero-icon-group img{width:26px;height:26px}}
@media(max-width:1000px){.loadoutStandaloneV2 main{padding:16px!important}.loadoutStandaloneV2 .executor-hero .hero-content{width:56%;padding:30px 24px}.hero-game-icons{top:auto;bottom:15px}.loadoutStandaloneV2 .executor-hero{min-height:330px}.loadoutStandaloneV2 .tank-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.loadoutStandaloneV2 .tank-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.loadoutStandaloneV2 .executor-hero{min-height:380px;background-position:64% center}.loadoutStandaloneV2 .executor-hero .hero-content{width:100%;padding:25px 20px 120px;background:linear-gradient(90deg,#f5eddbee,#f5eddb77 70%,transparent)}.loadoutStandaloneV2 .executor-hero h1{max-width:450px;font-size:34px}.loadoutStandaloneV2 .executor-hero p{max-width:420px;font-size:12px}.hero-game-icons{bottom:15px;left:15px;right:auto}.hero-icon-group img{width:28px;height:28px}.loadoutStandaloneV2 .catalog-card-body{padding:12px}.loadoutStandaloneV2 .catalog-tank-art{height:130px}.loadoutStandaloneV2 .catalog-open{font-size:11px;padding:9px}.loadoutStandaloneV2 .catalog-card-body h2{font-size:17px}}
@media(max-width:460px){.loadoutStandaloneV2 main{padding:12px!important}.loadoutStandaloneV2 .catalog-tank-art{height:105px}.loadoutStandaloneV2 .catalog-card-body{padding:10px}.loadoutStandaloneV2 .catalog-card-body h2{font-size:16px}.loadoutStandaloneV2 .catalog-build-labels{min-height:64px}.loadoutStandaloneV2 .catalog-open{font-size:10px}.loadoutStandaloneV2 .catalog-build-count{font-size:9px}.hero-icon-group>span{font-size:8px}.hero-icon-group img{width:23px;height:23px}.hero-section-chips span{font-size:9px;padding:6px}.loadoutStandaloneV2 .executor-hero h1{font-size:30px}.loadoutStandaloneV2 .executor-hero .eyebrow{font-size:8px}}
@media(prefers-reduced-motion:reduce){.loadoutStandaloneV2 .tank-catalog-card{transition:none}.loadoutStandaloneV2 .tank-catalog-card:hover{transform:none}}

/* Keep the footer outside the paper surface legible on the shared dark canvas. */
body.loadoutStandaloneV2>footer{color:#c0cbc6;background:transparent;border-color:#34433f}
body.loadoutStandaloneV2>footer a,body.loadoutStandaloneV2>footer .footer-brand{color:#d8e2df}

/* Approved catalogue, real game images, shared frame retained. */
body.loadoutStandaloneV2 main{padding:0!important;background:none!important;border:0;box-shadow:none;border-radius:0}
.loadoutStandaloneV2 .page-tabs a{color:#becdc7;border-color:#53645b}
.loadoutStandaloneV2 .page-tabs a.selected{color:#d2e984;border-color:#9dbf42}
.loadoutStandaloneV2 .reader-toolbar>p{color:#b6c8bf}
.loadoutStandaloneV2 .executor-hero{background:linear-gradient(90deg,#071113f2 0%,#0711139e 36%,#07111315 72%),url('hero-executor.png') center/cover;border-color:#354341;min-height:310px;border-radius:10px;box-shadow:0 8px 30px #0003;position:relative}
.loadoutStandaloneV2 .executor-hero .hero-content{width:58%;background:none;padding:32px 28px 125px}
.loadoutStandaloneV2 .executor-hero h1{color:#f4f6f1;font-size:clamp(28px,3.4vw,46px);letter-spacing:-1px;margin:13px 0 10px}
.loadoutStandaloneV2 .executor-hero p{color:#c6d0ca;font-size:13px;max-width:530px;line-height:1.55}
.loadoutStandaloneV2 .executor-hero .eyebrow{color:#b7d84c;font-size:10px}
.loadoutStandaloneV2 .hero-section-chips{display:none}
.loadoutStandaloneV2 .hero-game-icons{left:28px;right:auto;top:auto;bottom:22px;gap:10px;max-width:calc(100% - 56px);flex-wrap:wrap}
.loadoutStandaloneV2 .hero-icon-group{background:#112322dc;border-color:#59684e80;border-radius:6px;padding:7px 10px;box-shadow:0 3px 10px #0004}
.loadoutStandaloneV2 .hero-icon-group>span{color:#dde5d8;font-size:10px;text-align:left}
.loadoutStandaloneV2 .hero-icon-group img{width:32px;height:32px}
.loadoutStandaloneV2 .catalog-controls{display:grid;grid-template-columns:minmax(220px,.9fr) minmax(0,1.7fr);gap:12px;padding:14px 16px;background:linear-gradient(130deg,#17272c,#101c20);border-color:#34474b;box-shadow:0 4px 12px #0002;border-radius:8px;margin:14px 0 20px}
.loadoutStandaloneV2 .catalog-search{gap:7px;color:#cbd6d0;font-size:11px}
.loadoutStandaloneV2 .catalog-search input{background:#09161a;border-color:#3d5050;color:#eef3ef;padding:10px 12px;font-size:13px}
.loadoutStandaloneV2 .catalog-filter-line{margin:0;gap:10px;align-items:end;min-width:0}
.loadoutStandaloneV2 .filter-chips{gap:5px}
.loadoutStandaloneV2 .filter-chips button{background:#18292c;border-color:#3c5050;color:#cad4d1;padding:8px 10px;font-size:11px;min-width:38px}
.loadoutStandaloneV2 .filter-chips button[aria-pressed=true]{background:#456214;border-color:#8eac3a;color:#eff8d9}
.loadoutStandaloneV2 .catalog-select{color:#aebeba;font-size:10px;gap:6px}
.loadoutStandaloneV2 .catalog-select select{background:#0e2025;border-color:#405452;color:#e1e9e6;min-width:80px;max-width:160px;padding:9px;font-size:12px}
.loadoutStandaloneV2 .catalog-bottom{grid-column:1/-1;margin:0;gap:12px}
.loadoutStandaloneV2 .catalog-bottom p{font-size:10px;color:#91a59f;line-height:1.4}
.loadoutStandaloneV2 .catalog-bottom .text-button{color:#b7d84c;font-size:11px}
.loadoutStandaloneV2 .tank-grid{gap:16px;grid-template-columns:repeat(4,minmax(0,1fr))}
.loadoutStandaloneV2 .tank-catalog-card{background:linear-gradient(120deg,#f4f4eb,#e7e9e0);border-color:#afb9af;border-radius:8px;box-shadow:0 5px 15px #0004,inset 0 1px #fff9}
.loadoutStandaloneV2 .catalog-tank-art{height:190px;background:#344345;isolation:isolate;overflow:hidden}
.loadoutStandaloneV2 .catalog-tank-art::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,#0a181829,transparent 40%,#16262272);z-index:0;pointer-events:none}
.loadoutStandaloneV2 .catalog-tank-art>img.catalog-map{position:absolute;inset:0;object-fit:cover;width:100%;height:100%;padding:0;filter:none;z-index:-1}
.loadoutStandaloneV2 .catalog-tank-art>img.catalog-vehicle{position:relative;width:100%;height:100%;object-fit:contain;padding:20px 6px 0;filter:drop-shadow(0 8px 5px #0009);z-index:1}
.loadoutStandaloneV2 .catalog-nation-flag{position:absolute;top:10px;left:10px;z-index:2;display:block;width:38px;height:26px}
.loadoutStandaloneV2 .catalog-nation-flag img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 1px 2px #0009)}
.loadoutStandaloneV2 .catalog-tier{left:auto;right:10px;top:10px;background:#112125dc;border-color:#758b7c;color:#e9efdd;width:26px;height:26px;font-size:12px}
.loadoutStandaloneV2 .catalog-card-body{padding:14px;gap:0}
.loadoutStandaloneV2 .catalog-card-body h2{font-size:18px;color:#243232;line-height:1.2;margin-bottom:5px}
.loadoutStandaloneV2 .catalog-meta{color:#65736d;font-size:10px;margin-bottom:10px}
.loadoutStandaloneV2 .catalog-build-labels{min-height:43px}
.loadoutStandaloneV2 .catalog-build-labels span{background:#dde4d4;border-color:#c2cdbb;color:#435641;font-size:10px;padding:5px 7px}
.loadoutStandaloneV2 .catalog-top-status{display:flex;flex-direction:column;gap:4px;margin:4px 0 12px;font-size:10px;color:#69756f;min-height:33px}
.loadoutStandaloneV2 .catalog-top-status strong,.loadoutStandaloneV2 .catalog-build-count{font-size:11px;color:#485d44}
.loadoutStandaloneV2 .catalog-top-status.available strong{color:#507029}
.loadoutStandaloneV2 .catalog-open{background:linear-gradient(#e8eddd,#d6dfc4);border-color:#a8b796;color:#425a33;border-radius:5px;padding:9px 11px;font-size:11px}
@media(max-width:1250px){.loadoutStandaloneV2 .catalog-controls{grid-template-columns:1fr}.loadoutStandaloneV2 .catalog-filter-line{justify-content:space-between}.loadoutStandaloneV2 .tank-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.loadoutStandaloneV2 .executor-hero .hero-content{width:65%}}
@media(max-width:760px){.loadoutStandaloneV2 .tank-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.loadoutStandaloneV2 .executor-hero{min-height:340px;background-position:64% center}.loadoutStandaloneV2 .executor-hero .hero-content{width:100%;padding:25px 20px 125px;background:linear-gradient(90deg,#071113cc,#07111377 80%,transparent)}.loadoutStandaloneV2 .hero-game-icons{left:20px;bottom:18px;max-width:calc(100% - 40px);gap:7px}.loadoutStandaloneV2 .hero-icon-group{padding:6px 8px}.loadoutStandaloneV2 .hero-icon-group img{width:26px;height:26px}.loadoutStandaloneV2 .catalog-tank-art{height:136px}.loadoutStandaloneV2 .catalog-card-body{padding:12px}.loadoutStandaloneV2 .catalog-filter-line{gap:8px}.loadoutStandaloneV2 .catalog-select select{max-width:none}.loadoutStandaloneV2 .catalog-controls{padding:12px}}
@media(max-width:460px){.loadoutStandaloneV2 .executor-hero .hero-content{padding:22px 16px 135px}.loadoutStandaloneV2 .executor-hero h1{font-size:29px}.loadoutStandaloneV2 .executor-hero p{font-size:12px}.loadoutStandaloneV2 .hero-game-icons{left:16px;max-width:calc(100% - 32px);gap:5px}.loadoutStandaloneV2 .hero-icon-group img{width:22px;height:22px}.loadoutStandaloneV2 .hero-icon-group>span{font-size:8px}.loadoutStandaloneV2 .hero-icon-group{padding:5px}.loadoutStandaloneV2 .catalog-card-body{padding:10px}.loadoutStandaloneV2 .catalog-card-body h2{font-size:16px}.loadoutStandaloneV2 .catalog-tank-art{height:112px}.loadoutStandaloneV2 .catalog-build-labels{min-height:62px}.loadoutStandaloneV2 .catalog-top-status{font-size:9px;min-height:38px}.loadoutStandaloneV2 .catalog-top-status strong{font-size:10px}.loadoutStandaloneV2 .catalog-tier{right:7px;top:7px}.loadoutStandaloneV2 .catalog-nation-flag{width:32px;height:22px;left:7px;top:7px}}
