/* V73: approved Weapon Focus and Score First, native Ops Pixel and menu CI. */
:root{--a73-bg:#0b151b;--a73-panel:#101c22;--a73-text:#e8e0cc;--a73-muted:#aab0ac;--a73-amber:#eaa75b;--a73-line:#78858070;--a73-font:'Ops Pixel',monospace}
[hidden].armory73{display:none!important}
.armory73,.report73,.armory-confirm73{box-sizing:border-box;color:var(--a73-text);font-family:var(--a73-font);text-align:left;font-synthesis:none}
.armory73 *,.report73 *,.armory-confirm73 *{box-sizing:border-box}
.armory73 button,.report73 button,.armory-confirm73 button,.menu-wallet73 button{font-family:var(--a73-font);border-radius:0;cursor:pointer;letter-spacing:.5px;box-shadow:none}
.armory73 button:is(:disabled,[data-ui-disabled]){opacity:.38;cursor:not-allowed}
.armory73 button:focus-visible,.report73 button:focus-visible,.armory-confirm73 button:focus-visible{outline:3px solid var(--a73-text);outline-offset:3px}
.armory73 h1,.armory73 h2,.armory73 h3,.report73 h1,.report73 h2{margin:0;font-family:var(--a73-font);letter-spacing:.5px}
.outline73,.primary73{min-height:42px;padding:12px 20px;font-size:15px;line-height:1.25}
.outline73{border:1px solid #788580;background:var(--a73-panel);color:var(--a73-text)}
.primary73{background:#e6a35f;color:#102028;border:2px solid #f2bf82;box-shadow:inset 0 0 0 2px #573b28!important}
.primary73:hover:not(:is(:disabled,[data-ui-disabled])){background:#efb065}
.outline73:hover:not(:is(:disabled,[data-ui-disabled])){border-color:var(--a73-amber)}
.armory73{position:fixed;inset:0;z-index:100;background:var(--a73-bg);overflow:auto;padding:3.4vh 2.4vw}
.armory-open73{overflow:hidden}
.armory-shell73{width:100%;max-width:1600px;height:calc(100dvh - 6.8vh);min-height:620px;margin:auto;display:flex;flex-direction:column;gap:22px}
.armory-header73{display:flex;align-items:center;gap:28px;border-bottom:1px solid #788580;padding-bottom:18px;flex:none}
.armory-header73>div:nth-child(2)>small{display:block;color:var(--a73-muted);font-size:13px;margin-bottom:8px;letter-spacing:1px}
.armory-header73 h1{font-size:34px;line-height:1.1}
.square-back73{font-size:35px;background:var(--a73-panel);color:var(--a73-text);border:1px solid #788580;width:56px;height:54px;padding:0}
.wallet73{margin-left:auto;display:flex;gap:24px;align-items:center;font-size:16px}
.wallet73>span,.menu-wallet73>span,.run-wallet73>span{display:flex;align-items:center;gap:8px}
.wallet73 small{font-size:10px;color:var(--a73-muted)}
.wallet73 b,.menu-wallet73 b{color:var(--a73-amber);font-weight:normal}
.resource-icon73{width:26px;height:26px;object-fit:contain;image-rendering:pixelated;flex:none}
.operative73{display:flex;align-items:center;gap:12px;border:0;border-left:1px solid #788580;background:transparent;color:var(--a73-text);padding:0 0 0 24px;text-align:left}
.portrait73{width:44px;height:44px;overflow:hidden;display:block;position:relative;background:var(--a73-panel)}
.portrait73 img{width:165%;max-width:none;position:absolute;left:-34%;top:-106%}
.operative73 small{display:block;font-size:9px;color:var(--a73-muted);margin-bottom:8px}
.operative73 b{font-size:17px;font-weight:normal}
/* The global main margin:auto otherwise makes this flex item shrink to its
   contents, including the illustration's intrinsic contribution. */
.armory73 main.weapon-focus73{width:100%;max-width:none;min-width:0;margin:0;padding:0}
.weapon-focus73{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:26px;min-height:0;flex:1}
.weapon-panel73,.parts-panel73{border:1px solid var(--a73-line);background:var(--a73-panel);position:relative;min-width:0}
.weapon-panel73:before,.parts-panel73:before{content:'';position:absolute;left:0;top:0;background:var(--a73-amber);width:24px;height:4px}
.weapon-panel73{display:flex;flex-direction:column;padding:26px;gap:18px}
.weapon-heading73{display:flex;justify-content:space-between;gap:16px}
.weapon-heading73 small{color:var(--a73-muted);font-size:12px;display:block;margin-bottom:10px}
.weapon-heading73 h2{font-size:50px;line-height:1.1}
.change-weapon73{align-self:flex-start;font-size:11px;padding:14px 18px}
.change-weapon73 small{font-size:9px;margin:8px 0 0}
.weapon-art73{position:relative;flex:1;min-width:0;min-height:120px;display:flex;justify-content:center;align-items:center;padding:12px 0}
/* A bounded image box cannot contribute an intrinsic width/height to a card. */
.weapon-art73>img{position:absolute;inset:12px 0; margin:auto;display:block;width:100%;height:calc(100% - 24px);max-height:34vh;object-fit:contain}
.gun-stats73{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:22px 0 18px;border-top:1px solid var(--a73-line);border-bottom:1px solid var(--a73-line);margin:0;gap:12px}
.gun-stats73>div{border-right:1px solid var(--a73-line);min-width:0}.gun-stats73>div:last-child{border:0}
.gun-stats73 dt{color:var(--a73-muted);font-size:10px;margin-bottom:14px}
.gun-stats73 dd{font-size:27px;line-height:1.25;white-space:normal;margin:0}
.gun-stats73 dd small{font-size:8px;color:var(--a73-muted)}
@media(max-width:359px) and (orientation:portrait){
 .gun-stats73{grid-template-columns:repeat(2,minmax(0,1fr))}
}
.weapon-footer73{display:flex;justify-content:space-between;align-items:center;gap:18px;min-height:80px}
.weapon-footer73>div{flex:1;min-width:0}
.weapon-footer73 small{display:block;font-size:10px;color:var(--a73-muted);margin-bottom:14px}
.weapon-footer73 button{font-size:11px;flex:none}.weapon-footer73 button small{font-size:9px;margin:8px 0 0}
.capacity73{display:flex;gap:16px;align-items:center}
.capacity73>span{display:flex;gap:5px;flex:1;max-width:360px}
.capacity73 i,.part-pips73 i{display:block;border:1px solid var(--a73-line);background:var(--a73-bg);height:15px;flex:1}
.capacity73 i.filled,.part-pips73 i.filled{background:var(--a73-amber);border-color:#f2bf82}
.capacity73 b{font-size:24px;color:var(--a73-amber);white-space:nowrap;font-weight:normal}
.capacity73 b small{display:inline;font-size:11px;margin:0}
.parts-panel73{display:flex;flex-direction:column}
.parts-panel73>h2{font-size:20px;padding:24px 28px;border-bottom:1px solid var(--a73-line)}
#parts-list73{display:flex;flex-direction:column;flex:1;min-height:0;padding:0 28px}
.part-row73{flex:1;display:flex;flex-direction:column;justify-content:center;border-bottom:1px solid var(--a73-line);padding:24px 0;gap:18px;min-height:0}.part-row73:last-child{border-bottom:0}
.part-top73{display:flex;justify-content:space-between;gap:12px;align-items:center}
.part-top73 h3{font-size:22px}.part-top73>b{font-size:25px;color:var(--a73-amber);font-weight:normal;white-space:nowrap}.part-top73>b small{font-size:12px;color:var(--a73-muted)}
.part-pips73{display:flex;gap:6px;width:65%;max-width:330px}
.part-bottom73{display:flex;align-items:flex-end;justify-content:space-between;gap:12px}
.part-bottom73 p{font-size:12px;margin:0;line-height:1.55}.part-bottom73 p small{display:block;font-size:10px;color:var(--a73-muted);margin-top:6px}
.part-purchase73{text-align:right;min-width:41%}.part-purchase73>small{display:block;font-size:9px;color:var(--a73-muted);margin-bottom:10px;white-space:nowrap}.part-purchase73 button{width:100%;font-size:14px}
.armory-notice73{font-size:11px;line-height:1.5;margin:0;min-height:17px;color:var(--a73-muted)}
/* Preserve readable controls where two equal panels no longer fit. This also
   covers the former 600/601 portrait discontinuity without shrinking type. */
@media(min-width:601px) and (max-width:800px) and (orientation:portrait){
 .weapon-focus73{display:flex;flex-direction:column}
 .armory-shell73{height:auto;min-height:0}
 .weapon-art73{flex:none;height:220px}
 .part-row73{min-height:170px}
}
.parts-soon73{margin:auto;color:var(--a73-muted);font-size:20px;text-align:center}
.armory-confirm73{background:var(--a73-panel);border:1px solid var(--a73-amber);padding:30px;max-width:min(520px,90vw);border-radius:0}
.armory-confirm73::backdrop{background:#03080bdb}
.armory-confirm73>small{font-size:11px;color:var(--a73-amber)}
.armory-confirm73 h2{font:22px/1.4 var(--a73-font);margin:20px 0}
.armory-confirm73 p{white-space:pre-line;font-size:13px;line-height:2;margin:0 0 28px}
.armory-confirm73>div{display:flex;gap:16px;justify-content:flex-end}
.menu-wallet73{position:absolute;bottom:12px;left:50%;transform:translateX(-50%);z-index:7;display:none;align-items:center;gap:24px;font:13px var(--a73-font);color:var(--a73-text);background:var(--a73-bg);padding:8px 12px;border:1px solid var(--a73-line)}
body.choosing:not(.mission-select-open70):not(.armory-open73) .menu-wallet73{display:flex}
.menu-wallet73 small{font-size:8px;color:var(--a73-muted)}.menu-wallet73 button{min-height:32px;font-size:10px;padding:8px 16px}
.run-wallet73{position:absolute;right:18px;bottom:12px;display:none;gap:16px;align-items:center;z-index:2;font:12px var(--a73-font);background:#0b151bcc;padding:6px 8px;color:var(--a73-text);pointer-events:none}
body.playing .run-wallet73{display:flex}
.run-wallet73 .resource-icon73{width:20px;height:20px}
/* Full-view debrief; old overlay headings and retry controls are replaced. */
body.debriefing:not(.armory-open73) #overlay{position:fixed;inset:0;z-index:80;display:block!important;padding:0;background:var(--a73-bg);overflow:auto}
body.debriefing #overlay>*:not(#result){display:none!important}
body.debriefing #result{width:100%;max-width:none;margin:0;padding:0;display:block}
.report73{width:100%;max-width:1640px;margin:0 auto;padding:3.2vh 2.4vw;height:100dvh;min-height:640px;display:flex;flex-direction:column;gap:20px;background:var(--a73-bg)}
.report-header73{flex:none;border-bottom:1px solid #788580;padding:0 12px 16px}
.report-header73>small{display:block;font-size:13px;color:var(--a73-muted);margin-bottom:8px;letter-spacing:1px}
.report-header73 h1{font-size:38px;line-height:1.15}
.report-body73{flex:1;min-height:0;display:grid;grid-template-columns:22% minmax(0,1fr);grid-template-rows:minmax(0,1fr) minmax(125px,22%);gap:16px 20px}
.report-operative73{grid-row:1/3;display:flex;flex-direction:column;border:1px solid var(--a73-line);position:relative;min-height:0;overflow:hidden}
.report-operative73>h2{position:absolute;left:18px;top:20px;z-index:1;font-size:22px;color:var(--a73-text);text-shadow:2px 2px #0b151b}
.report-operative73>img{flex:1;min-height:0;width:100%;object-fit:cover;object-position:50% 27%;display:block}
.report-operative73>input{border:0;border-top:1px solid var(--a73-line);background:var(--a73-panel);color:var(--a73-text);padding:18px 16px;font:17px var(--a73-font);min-width:0;border-radius:0;outline-offset:-3px}
.report-score73{min-width:0;border:1px solid var(--a73-line);padding:20px;display:flex;flex-direction:column;justify-content:space-between;background:var(--a73-panel)}
.report-score73>h2{font-size:20px;border-bottom:1px solid var(--a73-line);padding-bottom:16px}
.report-total73{font-size:clamp(64px,7.8vw,128px);line-height:1.15;color:var(--a73-amber);font-weight:normal;padding:12px 4vw}
.report-breakdown73{display:grid;grid-template-columns:repeat(3,1fr);padding:24px 0;border-top:1px solid var(--a73-line);border-bottom:1px solid var(--a73-line)}
.report-breakdown73>div{text-align:center;border-right:1px solid var(--a73-line)}.report-breakdown73>div:last-child{border:0}
.report-breakdown73 small{display:block;color:var(--a73-muted);font-size:12px;margin-bottom:18px}.report-breakdown73 b{font-size:34px;line-height:1.15;font-weight:normal}
.report-stats73{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));margin:0;padding:18px 0 0;gap:12px}
.report-stats73>div{border-right:1px solid var(--a73-line)}.report-stats73>div:last-child{border:0}
.report-stats73 dt{font-size:9px;color:var(--a73-muted);margin-bottom:14px;white-space:nowrap}.report-stats73 dd{font-size:21px;margin:0;white-space:nowrap}
.report-rewards73{border:1px solid var(--a73-line);padding:18px 22px;background:var(--a73-panel);display:flex;flex-direction:column;justify-content:space-between}
.report-rewards73 h2{font-size:17px}
.report-rewards73>div{display:flex;justify-content:center;gap:7vw;padding-top:6px}
.report-rewards73>div>span{display:flex;gap:26px;align-items:center;min-width:0;flex:1;justify-content:center}.report-rewards73>div>span:first-child{border-right:1px solid var(--a73-line)}
.report-rewards73 .resource-icon73{width:65px;height:65px}.report-rewards73 b{font-size:38px;line-height:1.2;color:var(--a73-amber);font-weight:normal;white-space:nowrap}.report-rewards73 small{display:block;font-size:12px;color:var(--a73-muted);margin-top:8px}
.report-footer73{display:grid;grid-template-columns:22% 1fr 1fr 1.5fr;gap:20px;align-items:center;border-top:1px solid var(--a73-line);padding-top:16px;flex:none}
.report-footer73 button{font-size:16px;min-height:52px}
.save-link73{background:transparent;border:0;color:var(--a73-muted);padding:0;font-size:11px!important;text-align:left}
.report-storage73{font-size:9px;color:var(--a73-amber);min-height:0;line-height:1.4}.report-storage73:empty{display:none}
@media(max-width:1100px){.armory-header73{gap:16px}.operative73{padding-left:14px}.wallet73{gap:14px;font-size:13px}.wallet73 small{display:none}.weapon-panel73{padding:20px}.weapon-heading73 h2{font-size:40px}.part-top73 h3{font-size:18px}.gun-stats73 dd{font-size:22px}.part-purchase73>small{font-size:8px}.report-stats73{grid-template-columns:repeat(3,1fr);row-gap:16px}.report-breakdown73 b{font-size:28px}.report-score73{padding:16px}.report-total73{font-size:74px}.report-stats73 dd{font-size:18px}.report-rewards73 b{font-size:32px}.report-rewards73 .resource-icon73{width:50px;height:50px}}
@media(max-height:650px) and (orientation:landscape){.armory73{padding:12px 2vw}.armory-shell73{height:calc(100dvh - 24px);min-height:350px;gap:12px}.armory-header73{padding-bottom:10px;gap:16px}.armory-header73 h1{font-size:22px}.armory-header73>div:nth-child(2)>small{font-size:8px;margin-bottom:4px}.square-back73{width:38px;height:38px;font-size:27px}.operative73 small{font-size:6px;margin-bottom:4px}.operative73 b{font-size:11px}.portrait73{width:30px;height:30px}.wallet73{font-size:11px}.wallet73 .resource-icon73{width:20px;height:20px}.weapon-focus73{gap:14px}.weapon-panel73{padding:14px;gap:8px}.weapon-heading73 small{font-size:7px;margin-bottom:5px}.weapon-heading73 h2{font-size:27px}.change-weapon73{font-size:7px;min-height:30px;padding:7px 10px}.change-weapon73 small{font-size:6px;margin:4px 0 0}.weapon-art73{min-height:60px;padding:0}.weapon-art73>img{inset:0;height:100%}.weapon-art73>img{max-height:28vh}.gun-stats73{padding:12px 0;gap:8px}.gun-stats73 dt{font-size:6px;margin-bottom:7px}.gun-stats73 dd{font-size:17px}.gun-stats73 dd small{font-size:5px}.weapon-footer73{min-height:40px;gap:10px}.weapon-footer73 small{font-size:6px;margin-bottom:7px}.weapon-footer73 button{font-size:7px;min-height:30px;padding:7px 12px}.weapon-footer73 button small{font-size:6px;margin:4px 0 0}.capacity73{gap:8px}.capacity73 i{height:10px}.capacity73 b{font-size:17px}.capacity73 b small{font-size:7px}.parts-panel73>h2{font-size:12px;padding:12px 16px}#parts-list73{padding:0 16px}.part-row73{padding:12px 0;gap:8px}.part-top73 h3{font-size:12px}.part-top73>b{font-size:17px}.part-top73>b small{font-size:7px}.part-pips73 i{height:10px}.part-bottom73 p{font-size:7px}.part-bottom73 p small{font-size:6px;margin-top:4px}.part-purchase73>small{font-size:5px;margin-bottom:6px}.part-purchase73 button{font-size:9px;min-height:29px;padding:8px}.armory-notice73{font-size:7px;min-height:10px}.report73{min-height:340px;gap:12px;padding:12px 2vw}.report-header73{padding:0 8px 10px}.report-header73>small{font-size:8px;margin-bottom:5px}.report-header73 h1{font-size:23px}.report-body73{gap:10px 14px;grid-template-rows:minmax(0,1fr) 85px}.report-operative73>h2{font-size:13px;left:12px;top:12px}.report-operative73>input{font-size:10px;padding:10px}.report-score73{padding:12px}.report-score73>h2{font-size:12px;padding-bottom:8px}.report-total73{font-size:52px;padding:4px 3vw}.report-breakdown73{padding:12px 0}.report-breakdown73 small{font-size:7px;margin-bottom:8px}.report-breakdown73 b{font-size:20px}.report-stats73{grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;padding-top:12px}.report-stats73 dt{font-size:5px;margin-bottom:8px}.report-stats73 dd{font-size:12px}.report-rewards73{padding:10px 14px}.report-rewards73 h2{font-size:10px}.report-rewards73 .resource-icon73{width:35px;height:35px}.report-rewards73>div>span{gap:14px}.report-rewards73 b{font-size:23px}.report-rewards73 small{font-size:7px;margin-top:4px}.report-footer73{gap:14px;padding-top:10px}.report-footer73 button{font-size:10px;min-height:34px;padding:8px}.save-link73{font-size:7px!important}.menu-wallet73{bottom:6px;padding:5px 8px;gap:12px;font-size:9px}.menu-wallet73 small{display:none}.menu-wallet73 .resource-icon73{width:18px;height:18px}.menu-wallet73 button{min-height:25px;font-size:8px;padding:5px 10px}.run-wallet73{right:auto;left:50%;transform:translateX(-50%);bottom:5px;font-size:8px;gap:12px}.run-wallet73 .resource-icon73{width:15px;height:15px}}
@media(max-width:600px) and (orientation:portrait){.armory-shell73{min-height:0;height:auto}.armory-header73{flex-wrap:wrap;gap:12px}.armory-header73 h1{font-size:24px}.wallet73{order:3;width:100%;margin:0}.operative73{margin-left:auto}.operative73 small{display:none}.operative73 b{font-size:12px}.weapon-focus73{display:flex;flex-direction:column}.weapon-art73{flex:none;height:220px}.weapon-art73>img{max-height:220px}.gun-stats73 dd{font-size:19px}.gun-stats73 dt{font-size:7px}.part-row73{min-height:170px}.report73{height:auto;min-height:100dvh;padding:20px 16px}.report-header73 h1{font-size:24px}.report-body73{grid-template-columns:26% 1fr;grid-template-rows:auto auto}.report-operative73{grid-row:1}.report-operative73>h2{font-size:10px;left:8px;top:10px}.report-operative73>input{font-size:8px;padding:10px 6px}.report-score73{padding:12px}.report-score73>h2{font-size:12px}.report-total73{font-size:43px;padding:14px 0}.report-breakdown73{padding:12px 0}.report-breakdown73 small{font-size:6px;margin-bottom:8px}.report-breakdown73 b{font-size:13px}.report-stats73{grid-template-columns:repeat(2,1fr);row-gap:14px}.report-stats73 dt{font-size:6px;margin-bottom:6px}.report-stats73 dd{font-size:12px}.report-rewards73{grid-column:1/3;gap:16px}.report-rewards73 h2{font-size:14px}.report-rewards73 b{font-size:24px}.report-rewards73 .resource-icon73{width:40px;height:40px}.report-rewards73>div>span{gap:10px}.report-rewards73 small{font-size:8px}.report-footer73{grid-template-columns:1fr 1fr;gap:12px}.report-footer73 button{font-size:12px;min-height:44px}.save-link73{font-size:9px!important}.menu-wallet73{max-width:94%;gap:10px}.menu-wallet73 small{display:none}}
/* Tabular totals remain stable while reward counters animate. */
.report-total73{font-variant-numeric:tabular-nums;min-height:1.15em}
#report-credit74,#report-scrap74{display:inline-block;min-width:5ch;font-variant-numeric:tabular-nums}
/* V76: user-approved placement on the existing menu and Three Posters. */
#menu-armory75{display:none;color:#efb065;white-space:nowrap}
body.choosing:not(.armory-open73):not(.mission-select-open70) #menu-armory75{display:block}
#menu-wallet76{position:absolute;top:14px;right:18px;z-index:4;display:none;align-items:center;gap:18px;padding:7px 10px;border-left:2px solid #efb065;background:transparent;color:#e8e0cc;font-family:var(--a73-font);pointer-events:none}
body.choosing:not(.mission-select-open70):not(.armory-open73):not(.operative-info-open) #menu-wallet76{display:flex}
#menu-wallet76>span{display:grid;grid-template-columns:18px minmax(0,1fr);grid-template-rows:auto auto;gap:3px 6px;align-items:center;min-width:56px}
#menu-wallet76 .resource-icon73{grid-row:1/3;width:18px;height:22px}
#menu-wallet76 small{font:7px/1.1 var(--a73-font);color:#aab0ac;letter-spacing:.4px}
#menu-wallet76 b{font:11px/1.1 var(--a73-font);font-variant-numeric:tabular-nums;white-space:nowrap}
#mission-operative70.mission-armory76{position:absolute;right:0;top:50%;transform:translateY(-50%);display:block;width:clamp(140px,15.5vw,220px);max-width:none;min-width:0;min-height:40px;padding:10px 14px;border:2px solid #f2bf82;border-radius:0;background:#e6a35f;color:#102028;box-shadow:inset 0 0 0 2px #573b28;text-align:center;font:700 clamp(12px,1.1vw,20px)/1.4 var(--a73-font);letter-spacing:1px;cursor:pointer}
#mission-operative70.mission-armory76:hover{background:#efb065;filter:none}
#mission-operative70.mission-armory76:focus-visible{outline:2px solid #f2bf82;outline-offset:3px}
.armory-header73 h1{margin:0}
@media(max-height:620px) and (orientation:landscape){#menu-wallet76{top:8px;right:12px;padding:5px 8px;gap:12px}#menu-wallet76>span{grid-template-columns:14px minmax(0,1fr);min-width:46px;gap:2px 5px}#menu-wallet76 .resource-icon73{width:14px;height:18px}#menu-wallet76 small{font-size:5px}#menu-wallet76 b{font-size:8px}#mission-operative70.mission-armory76{width:130px;min-height:32px;font-size:10px;padding:7px 10px}}
@media(max-width:600px) and (orientation:portrait){#menu-wallet76{top:10px;right:10px;padding:5px 8px;gap:12px}#menu-wallet76 small{font-size:6px}#menu-wallet76 b{font-size:9px}#mission-operative70.mission-armory76{width:130px;min-height:40px;font-size:11px}}

/* V77: fit the report to viewport height; every section owns its content. */
body.debriefing #result .report73{height:100dvh;min-height:0;padding:clamp(10px,2dvh,24px) 2.4vw;display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:clamp(8px,1.6dvh,16px)}
body.debriefing #result .report-header73{display:block;height:auto;min-height:0;padding:0 0 clamp(8px,1.4dvh,14px)}
body.debriefing #result .report-header73>small{font-size:clamp(7px,1.3dvh,12px);margin:0 0 6px}
body.debriefing #overlay #result .report-header73 h1{font-size:clamp(18px,min(3vw,4dvh),36px);line-height:1.2;margin:0;color:var(--a73-text);text-shadow:none}
.report-body73{grid-template-rows:minmax(0,1fr) clamp(75px,18dvh,150px);gap:clamp(8px,1.6dvh,16px) 20px}
.report-score73{display:grid;grid-template-rows:auto minmax(0,1fr) auto auto;gap:0;padding:clamp(10px,1.8dvh,20px);min-height:0;overflow:auto}
.report-score73>h2{font-size:clamp(10px,2dvh,20px);padding-bottom:clamp(6px,1.2dvh,12px);line-height:1.3}
.report-total73{display:flex;align-items:center;font-size:clamp(32px,min(6.4vw,10dvh),100px);line-height:1.1;min-height:0;padding:clamp(4px,1dvh,10px) 3vw;white-space:nowrap}
.report-breakdown73{padding:clamp(6px,1.4dvh,14px) 0;min-height:0}
.report-breakdown73 small{font-size:clamp(6px,1.4dvh,12px);line-height:1.2;margin-bottom:clamp(4px,1dvh,10px)}
.report-breakdown73 b{font-size:clamp(15px,min(2.4vw,3.5dvh),32px);line-height:1.2}
.report-stats73{grid-template-columns:repeat(6,minmax(0,1fr));padding-top:clamp(8px,1.5dvh,14px);gap:8px}
.report-stats73 dt{font-size:clamp(5px,min(.65vw,1.2dvh),9px);line-height:1.3;margin-bottom:clamp(4px,.9dvh,8px)}
.report-stats73 dd{font-size:clamp(11px,min(1.5vw,2.5dvh),21px);line-height:1.2}
.report-rewards73{min-height:0;padding:clamp(8px,1.6dvh,16px) 20px;gap:6px}
.report-rewards73 h2{font-size:clamp(10px,1.9dvh,17px);line-height:1.2}
.report-rewards73>div{padding:0;min-height:0}
.report-rewards73 .resource-icon73{width:clamp(28px,6dvh,55px);height:clamp(28px,6dvh,55px)}
.report-rewards73 b{font-size:clamp(18px,4dvh,36px);line-height:1.1}
.report-rewards73 small{font-size:clamp(6px,1.3dvh,11px);margin-top:clamp(4px,.8dvh,8px);line-height:1.2}
.report-footer73{padding-top:clamp(8px,1.5dvh,14px);gap:20px}
.report-footer73 button{min-height:clamp(30px,5.8dvh,52px);font-size:clamp(9px,1.8dvh,16px);padding:8px 12px}
.report-storage73:not(:empty){grid-column:1/-1}
/* Resource pickups now share the Score strip; no second floating HUD. */
body.playing .hud>.money{display:flex;align-items:center;gap:clamp(8px,1.2vw,16px);white-space:nowrap}
.hud .run-wallet73{position:static;inset:auto;transform:none;margin:0;padding:0;gap:clamp(8px,1vw,14px);background:transparent;border:0;box-shadow:none;font:inherit;line-height:1.2}
.hud .run-wallet73>span{gap:5px}
.hud .run-wallet73 b{font-size:inherit;font-weight:normal;color:#f3d281}
.hud .run-wallet73 .resource-icon73{width:20px;height:20px}
@media(max-height:650px) and (orientation:landscape){.hud .run-wallet73{font-size:8px;gap:8px}.hud .run-wallet73 .resource-icon73{width:14px;height:14px}.report-body73{gap:8px 12px}.report-rewards73>div>span{gap:12px}.report-footer73{gap:12px}}
@media(max-width:600px) and (orientation:portrait){body.debriefing #result .report73{height:auto;min-height:100dvh;grid-template-rows:auto auto auto;padding:16px}.report-body73{grid-template-rows:auto auto;gap:12px}.report-score73{min-height:300px}.report-stats73{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:14px}.report-stats73 dt{font-size:6px}.report-stats73 dd{font-size:12px}.report-rewards73{min-height:110px}.report-footer73{gap:12px}.hud>.money{gap:6px}.hud .run-wallet73{gap:5px;font-size:8px}.hud .run-wallet73 .resource-icon73{width:12px;height:12px}}

/* Release Summary: explicit tracks prevent inherited space-between from shrinking
   the score/stats column. Save status owns a row, not the footer button space. */
body.debriefing #result .report73{grid-template-rows:auto minmax(0,1fr) auto auto}
body.debriefing:not(.armory-open73){overflow:hidden}
.report-score73{grid-template-columns:minmax(0,1fr);justify-content:stretch;overflow:visible}
.report-score73>*{min-width:0;max-width:100%}
.report-total73{width:100%;padding-left:clamp(4px,2vw,24px);font-size:clamp(28px,min(6.2vw,10dvh),96px)}
.report-stats73>div{min-width:0;padding-right:6px}
.report-stats73 dt{white-space:normal;overflow-wrap:anywhere;font-size:clamp(7px,.7vw,10px)}
.report-stats73 dd{font-size:clamp(12px,1.45vw,21px)}
.report-operative73>h2{position:static;flex:none;margin:0;padding:12px 10px;border-bottom:1px solid var(--a73-line);background:var(--a73-panel);font-size:clamp(10px,1.5vw,22px);line-height:1.4}
.report-operative73>img{object-position:50% 25%}
.report-operative73>input{width:100%;font-size:clamp(10px,1.3vw,17px);padding:12px 10px}
.report-storage73{overflow-wrap:anywhere}
body.debriefing .economy-save-v1[data-state="saved"]{display:none}
@media(max-height:500px) and (orientation:landscape){
 body.debriefing #result .report73{padding:8px 2vw;gap:6px}
 .report-body73{grid-template-rows:minmax(0,1fr) 64px;gap:6px 12px}
 .report-score73{padding:8px;grid-template-rows:auto minmax(32px,1fr) auto auto}
 .report-score73>h2{font-size:10px;padding-bottom:5px}
 .report-breakdown73{padding:5px 0}.report-breakdown73 small{font-size:7px;margin-bottom:3px}.report-breakdown73 b{font-size:14px}
 .report-stats73{gap:4px;padding-top:5px}.report-stats73 dt{font-size:6px;margin-bottom:3px}.report-stats73 dd{font-size:11px}
 .report-rewards73{padding:6px 12px;gap:4px}.report-rewards73 h2{font-size:9px}.report-rewards73 b{font-size:20px}.report-rewards73 small{font-size:7px;margin-top:3px}.report-rewards73 .resource-icon73{width:28px;height:28px}
 .report-operative73>h2{padding:6px;font-size:11px}.report-operative73>input{padding:7px;font-size:11px}
 .report-footer73{gap:10px;padding-top:6px}.report-footer73 button{min-height:34px;font-size:9px;padding:6px}.report-storage73{font-size:7px}
}
@media(max-width:600px) and (orientation:portrait){
 body.debriefing #result .report73{height:auto;min-height:100dvh;grid-template-rows:auto auto auto auto;padding:12px;gap:12px}
 .report-body73{grid-template-columns:30% minmax(0,1fr);grid-template-rows:auto auto;gap:10px}
 .report-score73{min-height:340px;padding:10px}.report-total73{font-size:clamp(24px,6.8vw,40px);padding:12px 0}
 .report-breakdown73{gap:3px}.report-breakdown73 small{font-size:6px}.report-breakdown73 b{font-size:11px}
 .report-stats73{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 6px}.report-stats73 dt{font-size:7px}.report-stats73 dd{font-size:13px}
 .report-rewards73{grid-column:1/-1;min-height:100px;padding:10px}.report-rewards73 small{font-size:8px}
 .report-footer73{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.report-footer73 button{min-height:44px;font-size:10px}
}
