.practice-intro,.practice-result{position:absolute;inset:0;z-index:20;display:grid;place-items:center;padding:20px;overflow:auto;background:radial-gradient(ellipse at 50% 35%,#56751944,transparent 65%),linear-gradient(#101f24e6,#10151ff2),url(loading.webp) center/cover;color:#f4ffe3;text-align:center;font-family:Inter,system-ui,sans-serif}
.pve-result-card>.br-scene-logo{grid-column:1/-1;justify-self:center}
.pve-briefing,.pve-result-card{width:min(680px,100%);padding:clamp(18px,4vw,38px);border:2px solid #c4ed69;border-radius:20px;background:linear-gradient(145deg,#2a3733f2,#201c2cf5);box-shadow:0 8px 0 #0a111c,0 0 55px #b3e94322;animation:pve-arrive .35s ease-out both}
.pve-eyebrow{display:block;color:#cbeb8a;font-size:12px;letter-spacing:.12em;text-transform:uppercase;font-weight:850}
.pve-emblem,.pve-result-mark{display:grid;place-items:center;width:72px;height:72px;margin:16px auto 8px;border:2px solid #d8fb86;border-radius:22px;background:radial-gradient(#94b43c,#354422);box-shadow:0 0 28px #c6ff492e;color:#edffb7;font-size:46px;font-weight:900}
.pve-briefing h2,.pve-result-card h1{margin:6px 0 10px;color:#fff1ad;font-size:clamp(30px,5vw,54px);font-weight:950;font-style:italic;letter-spacing:-.045em;line-height:1.05;text-shadow:0 3px #684a1a}
.pve-objective{font-size:clamp(16px,2.5vw,22px);font-weight:850;line-height:1.35;margin:10px 0}
.pve-description{font-size:14px;line-height:1.6;color:#d3ddd2;max-width:530px;margin:12px auto}
.pve-map{font-weight:750;color:#bbd48f;font-size:13px}.pve-countdown{display:block;margin:9px auto;color:#fff2aa;font-size:clamp(40px,7vw,74px);line-height:1.05;text-shadow:0 4px #604521}
.pve-free{margin:14px 0 0;color:#c1ccc2;font-size:12px;line-height:1.5}
.pve-result-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:23px 0 14px}
.pve-result-stats>div{padding:13px 8px;border:1px solid #98b95675;border-radius:10px;background:#101b22aa}.pve-result-stats b{display:block;color:#e7ffab;font-size:clamp(20px,4vw,32px)}.pve-result-stats span{display:block;margin-top:5px;color:#cdd7cf;font-size:11px}
.pve-accept{margin-top:22px;min-height:48px;padding:10px 28px;border:2px solid #fff0b4;border-radius:10px;background:linear-gradient(#ffe78b,#ffbd52);box-shadow:0 5px #775029;color:#39243a;font-size:18px;font-weight:900;cursor:pointer}
.practice-result[data-outcome="lose"] .pve-result-card{border-color:#db866a}.practice-result[data-outcome="lose"] .pve-result-mark{border-color:#f9b890;background:radial-gradient(#ad6653,#4e2935);color:#ffe0bf}
.practice-hud{position:absolute;left:50%;top:max(12px,env(safe-area-inset-top));transform:translateX(-50%);display:grid;grid-template-columns:minmax(145px,1.5fr) minmax(65px,1fr) minmax(90px,1fr);align-items:center;justify-content:center;gap:4px 14px;padding:8px 18px 5px;border:2px solid #c7e57e;border-radius:14px;background:linear-gradient(135deg,#334d31f5,#182c32f5);box-shadow:0 4px #101922,inset 0 1px #ebffb955;z-index:3;color:#f4ffdd;font-weight:850;text-align:center;width:min(450px,calc(100% - 440px));pointer-events:none;font-variant-numeric:tabular-nums}
.practice-hud strong{color:#ffe493;font-size:20px}.practice-hud small{font-size:11px;color:#cfdda9;display:block}.practice-hud b{font-size:26px;color:#d9ff8e}
.practice-hud .pve-hud-label{grid-column:1/-1;color:#c6d6bb;font-size:8px;letter-spacing:.13em}.practice-hud[data-urgent="true"] .pve-hud-clock b,.practice-hud[data-urgent="true"] .pve-hud-lives b{color:#ffb99f}.pve-hud-mode{white-space:nowrap}.pve-hud-clock,.pve-hud-lives{border-left:1px solid #bfe28f44}
@keyframes pve-arrive{from{opacity:0;transform:translateY(12px) scale(.97)}to{opacity:1;transform:none}}
@media(max-width:900px){.practice-hud{top:max(54px,env(safe-area-inset-top));width:min(440px,calc(100% - 20px))}}
@media(max-width:560px){.practice-intro,.practice-result{padding:12px}.pve-description{font-size:12px}.pve-eyebrow{font-size:10px}.pve-briefing,.pve-result-card{padding:20px 16px}.pve-result-stats{gap:6px}.practice-hud{grid-template-columns:minmax(138px,1.5fr) minmax(55px,1fr) minmax(83px,1fr);padding:6px 8px 4px;gap:3px 7px}.practice-hud strong{font-size:16px}.practice-hud b{font-size:22px}.practice-hud small{font-size:9px}.practice-hud .pve-hud-label{font-size:8px}}
@media(max-height:440px) and (min-width:600px){.practice-hud{top:6px;width:345px;grid-template-columns:145px 60px 92px;padding:5px 8px;gap:2px 8px}.practice-hud strong{font-size:16px}.practice-hud b{font-size:22px}.practice-hud small{font-size:9px}}
@media(max-height:520px){.pve-briefing,.pve-result-card{padding:12px 24px}.pve-emblem,.pve-result-mark{display:none}.pve-briefing h2,.pve-result-card h1{font-size:31px}.pve-description{margin:5px auto;font-size:12px}.pve-objective{margin:5px 0;font-size:16px}.pve-countdown{font-size:43px;margin:4px 0}.pve-free{margin-top:5px;font-size:10px}.pve-result-stats{margin:10px 0}.pve-accept{margin-top:12px}}
@media(prefers-reduced-motion:reduce){.pve-briefing,.pve-result-card{animation:none}}
/* Invasion keeps the warm gold identity while framing the infected worlds. */
.practice-intro[data-mode="invasion"],.practice-result[data-mode="invasion"]{background:radial-gradient(ellipse at 50% 15%,#afe84c25,transparent 62%),linear-gradient(135deg,#152530ec,#292037f5)}
.practice-hud[data-mode="invasion"]{border-color:#ffe393;background:linear-gradient(125deg,#574236f5,#283d35fa 47%,#25303cfa);box-shadow:0 4px #171923,inset 0 1px #fff3ad88,0 0 21px #c5ed6a1a}
.practice-hud[data-mode="invasion"] .pve-hud-mode strong{color:#dfff9d;text-shadow:0 2px #283e20}
.practice-hud[data-mode="invasion"] .pve-hud-label{color:#ffe19a;letter-spacing:.09em}
.pve-reward{margin:16px auto 0;border:1px solid #f4cc71;border-radius:12px;padding:13px;background:linear-gradient(125deg,#6f4c2d77,#332e36);color:#ffe495;font-size:clamp(19px,3vw,28px);font-weight:900;box-shadow:inset 0 1px #ffe69333}
.pve-reward small{display:block;margin-top:5px;font-size:12px;color:#e5d6b5;font-weight:650}
/* The PvE podium shares the game's hangar, tank portraits and amber armour UI. */
.practice-result[data-mode]{isolation:isolate;background:linear-gradient(180deg,#26172e80,#3b193b22 45%,#21132ee8),url('../arcade/hangar-ambar.webp') center/cover;color:#fff0d6;padding:18px}.practice-result .pve-result-card{position:relative;z-index:2;width:min(850px,100%);padding:22px 30px 26px;border:3px solid #edc475;border-radius:8px 28px 8px 28px;background:linear-gradient(125deg,#793b4adb,#39213fe8);box-shadow:0 7px 0 #26152b,inset 0 0 0 5px #3f223d,inset 0 0 0 7px #b5785e,0 0 45px #ffb63b33}.practice-result .pve-eyebrow{display:inline-block;padding:6px 16px;background:#ffd36b;transform:skew(-7deg);color:#3b2037;border:2px solid #fff1b5;font-size:12px;letter-spacing:.1em}.practice-result .pve-result-card h1{font-size:clamp(28px,5vw,58px);margin:15px 0 6px;text-shadow:0 4px #622b39,2px 2px #622b39;color:#ffe698}.practice-result .pve-objective{font-size:17px;color:#fff1da;margin:6px 0}.pve-squad{display:flex;align-items:end;justify-content:center;gap:8px;position:relative;min-height:130px;margin:12px auto 0;max-width:620px;border-bottom:4px solid #c79761;background:radial-gradient(ellipse at 50% 100%,#ffc96266,transparent 65%)}.pve-squad-tank{margin:0;width:23%;position:relative;filter:drop-shadow(0 8px 5px #1a102c88)}.pve-squad-tank img{display:block;width:100%;height:110px;object-fit:contain;object-position:bottom}.pve-squad-player{width:29%;order:0}.pve-squad-player img{height:145px}.pve-squad-tank figcaption{display:inline-block;background:#2b1c32;border:1px solid #9d6e6d;border-radius:5px;color:#fff2d4;padding:3px 8px;font-size:11px;font-weight:850;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pve-squad-player figcaption{background:#ffd170;color:#362039;border-color:#ffeeb4}.practice-result .pve-result-stats{gap:12px;margin:16px 0}.practice-result .pve-result-stats>div{border:2px solid #d8a268;border-radius:7px;background:linear-gradient(120deg,#7a3d48,#38243f);box-shadow:inset 0 2px #ffd47e44,0 3px #251629;padding:10px}.practice-result .pve-result-stats b{color:#ffe18b;font-style:italic;font-size:clamp(23px,4vw,34px)}.practice-result .pve-result-stats span{color:#ead0ce;font-size:12px}.practice-result .pve-earned{font-size:16px;color:#ffe99a;padding:11px 15px;background:linear-gradient(90deg,#bb7c2533,#e6b04d33,#bb7c2533);border-block:1px solid #d3a05f;font-weight:800}.practice-result .pve-free{color:#edd4c7}.practice-result .pve-accept{min-width:240px;margin-top:16px;border-radius:9px;border:3px solid #ffe8a1;box-shadow:0 5px #84462e,inset 0 2px #fff8c2;font-size:20px}.pve-confetti{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:1}.pve-confetti i{position:absolute;left:calc(var(--n)*5.5%);top:-20px;width:8px;height:15px;background:#ffd16c;transform:rotate(25deg);animation:pve-sparks 5s linear calc(var(--n)*-.28s) infinite}.pve-confetti i:nth-child(3n){background:#ec6e88}.pve-confetti i:nth-child(3n + 1){background:#76e7d5}.practice-result[data-outcome=lose] .pve-squad{filter:saturate(.55)}.practice-result[data-outcome=lose] .pve-result-card{border-color:#cb8e7c}@keyframes pve-sparks{to{transform:translate(40px,100vh) rotate(440deg)}}@media(max-width:560px){.practice-result[data-mode]{padding:12px}.practice-result .pve-result-card{padding:18px 14px 22px}.practice-result .pve-eyebrow{font-size:10px}.practice-result .pve-objective{font-size:14px}.pve-squad{gap:3px;min-height:110px}.pve-squad-tank img{height:80px}.pve-squad-player img{height:115px}.pve-squad-tank figcaption{font-size:10px;padding:3px 5px}.practice-result .pve-result-stats{gap:6px}.practice-result .pve-result-stats>div{padding:10px 4px}.practice-result .pve-result-stats span{font-size:11px}.practice-result .pve-earned{font-size:14px}.practice-result .pve-free{font-size:12px}.practice-result .pve-accept{width:85%;min-width:0}}@media(max-height:520px) and (min-width:600px){.practice-result[data-mode]{padding:10px}.practice-result .pve-result-card{display:grid;grid-template-columns:1fr 1fr;column-gap:20px;max-width:920px;padding:16px 24px}.practice-result .pve-eyebrow{grid-column:1/-1;justify-self:center}.practice-result .pve-result-card h1{font-size:30px;grid-column:1/-1;margin:9px 0 3px}.practice-result .pve-objective{grid-column:1/-1;font-size:14px}.pve-squad{grid-column:1;grid-row:5/8;align-self:center;width:100%;margin:0}.pve-squad-tank img{height:65px}.pve-squad-player img{height:95px}.practice-result .pve-result-stats{grid-column:2;margin:8px 0}.practice-result .pve-result-stats b{font-size:22px}.practice-result .pve-result-stats span{font-size:10px}.practice-result .pve-free{grid-column:2;font-size:11px;margin:5px 0}.practice-result .pve-earned{padding:6px;font-size:12px}.practice-result .pve-accept{grid-column:2;font-size:16px;min-height:40px;margin-top:8px}}@media(prefers-reduced-motion:reduce){.pve-confetti{display:none}}
