/* Records and leaderboard screens use the existing shell rail. */
#results .match-phone-result-table{display:none}
#result-team-toggle{display:none}
.records-screen[hidden],.leaderboard-screen[hidden]{display:none}
.records-screen,.leaderboard-screen{position:fixed;z-index:110;inset:108px 0 0;box-sizing:border-box;width:auto;height:auto;min-height:0;max-height:none;padding:24px clamp(24px,4vw,72px);overflow:hidden;border:0;border-radius:0;background:radial-gradient(ellipse at 50% 0,#10232d 0,#071017 58%,#030609 100%);color:var(--nd-text-1);font-family:var(--nd-font-body);box-shadow:none}
.records-screen{display:flex;flex-direction:column}
.records-screen-header,.leaderboard-header{display:flex;min-height:50px;align-items:center;gap:16px;border-bottom:1px solid var(--nd-border)}
.records-screen-header h1,.leaderboard-header h1{margin:0;color:var(--nd-text-1);font:700 24px/1.1 var(--nd-font-display)}
.records-back{min-width:44px;min-height:44px;justify-content:flex-start;padding-inline:4px;color:var(--nd-text-2);font-size:12px}
.leaderboard-screen .records-back{box-sizing:border-box;display:flex;width:auto;min-width:44px;max-width:none;height:44px;padding:0 4px;font-size:11px;line-height:1}
.leaderboard-screen .leaderboard-ranking-row .leaderboard-player-info{justify-content:flex-start;text-align:left}
.leaderboard-screen .leaderboard-ranking-row .leaderboard-player-name{margin-left:0;text-align:left}
.records-frame-filter{margin-left:auto}
.records-frame-filter select,.leaderboard-filter-controls select{box-sizing:border-box;min-width:146px;min-height:44px;padding:0 12px;border:1px solid var(--nd-border);border-radius:9px;background:#0a1d26;color:var(--nd-text-1);font:600 13px var(--nd-font-body)}
#records-panel{display:grid;grid-template-columns:240px minmax(0,1fr);gap:10px;flex:1 1 auto;width:100%;height:calc(100% - 50px);box-sizing:border-box;padding-top:10px;min-width:0}
.records-summary-column{display:flex;min-width:0;flex-direction:column;gap:8px}
.records-summary-column .player-rank-card{box-sizing:border-box;width:100%;max-width:none;min-height:82px;margin:0;padding:10px 12px}
.records-summary-column .rank-emblem{width:48px;height:48px;flex-basis:48px}
.records-summary-column .player-rank-card strong{font-size:17px}
.records-summary-column .player-rank-card #profile-rank-progress{font-size:11px}
.records-summary-column .progression-track{height:6px;margin-top:3px}
.record-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
.record-stat{display:flex;min-width:0;min-height:54px;flex-direction:column;justify-content:center;gap:2px;padding:7px 9px;border:1px solid var(--nd-border);border-radius:10px;background:#081820;color:var(--nd-text-1)}
.record-stat span{overflow:hidden;color:var(--nd-text-2);font:600 10px/1.15 var(--nd-font-label);letter-spacing:.06em;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap}
.record-stat strong{overflow:hidden;font:700 17px/1.1 var(--nd-font-display);text-overflow:ellipsis;white-space:nowrap}
.records-history{display:flex;min-width:0;min-height:0;flex-direction:column;overflow:hidden}
.records-history h2{margin:2px 0 4px;color:var(--nd-text-2);font:600 11px/1.3 var(--nd-font-label);letter-spacing:.12em;text-transform:uppercase}
.records-table-heading{display:grid;grid-template-columns:minmax(74px,.8fr) minmax(72px,.6fr) 34px minmax(60px,.7fr) minmax(80px,.8fr) 38px 16px;gap:4px;align-items:center;min-height:30px;padding:0 6px;border-bottom:1px solid #173743;color:var(--nd-text-2);font-size:10px}
#match-history{min-width:0;min-height:0;flex:1;overflow-y:auto;overscroll-behavior:contain}
.match-history-card{border:0;border-bottom:1px solid #173743;background:transparent;color:var(--nd-text-1)}
.match-history-summary{box-sizing:border-box;display:grid;grid-template-columns:minmax(74px,.8fr) minmax(72px,.6fr) 34px minmax(60px,.7fr) minmax(80px,.8fr) 38px 16px;min-height:44px;align-items:center;gap:4px;padding:4px 6px;list-style:none;cursor:pointer}
.match-history-summary::-webkit-details-marker{display:none}
.match-history-card:nth-child(odd) .match-history-summary{background:#071820}
.match-history-card[open] .match-history-summary,.match-history-card:hover .match-history-summary{background:#12303a}
.match-history-info,.match-history-time,.match-history-combat{overflow:hidden;color:var(--nd-text-2);font-size:11px;text-overflow:ellipsis;white-space:nowrap}
.match-history-time{display:none}
.match-history-summary::after{content:"›";color:var(--nd-text-2);font-size:18px;text-align:center}
.match-outcome{font-size:11px;text-transform:capitalize}
.match-outcome.win{color:#6ff0b0}.match-outcome.loss{color:#ff8aa5}
.match-roster-table{width:100%;font-size:11px}
.records-empty-state{display:grid;flex:1;align-content:center;justify-items:center;gap:7px;margin:0 0 0 0;padding:14px;border:1px dashed #2a6274;border-radius:12px;color:var(--nd-text-2);text-align:center}
.records-history:has(#records-empty-state:not([hidden])) .records-table-heading{display:none}
.records-empty-state>span{color:var(--nd-accent);font-size:30px;line-height:1}
.records-empty-state h3{margin:0;color:var(--nd-text-1);font-size:16px}
.records-empty-state p{max-width:330px;margin:0;font-size:12px;line-height:1.35}
.records-empty-state button{min-width:118px;min-height:44px;margin-top:4px}
.leaderboard-screen{display:flex;flex-direction:column;gap:8px}
.leaderboard-header{flex:none}
.leaderboard-header h1{flex:1}
.leaderboard-filter-controls{display:flex;gap:8px}
.leaderboard-view-tabs{display:flex;flex:none;gap:6px;border-bottom:1px solid var(--nd-border)}
.leaderboard-view-tabs .nd-tab{min-width:108px;min-height:40px;padding:0 12px;font-size:12px}
.leaderboard-toolbar{position:absolute;right:24px;bottom:18px;max-width:260px}
.leaderboard-toolbar #leaderboard-reset{margin:0;color:var(--nd-text-3);font-size:10px;white-space:pre-line}
.leaderboard-main{display:grid;grid-template-columns:minmax(0,1fr) 200px;gap:10px;min-height:0;flex:1}
.leaderboard-columns{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr);gap:10px;min-width:0;min-height:0;margin:0}
#leaderboard-dialog .leaderboard-columns{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr)}
.leaderboard-columns .leaderboard-panel{min-width:0;min-height:0;padding:0;border:0;background:transparent}
.leaderboard-columns .leaderboard-panel-head{display:none}
.leaderboard-columns .leaderboard-panel[hidden]{display:none}
.leaderboard-columns .leaderboard-panel:not([hidden]){display:block}
.leaderboard-ranking-list,.leaderboard-featured-list{max-height:100%;overflow-y:auto;overscroll-behavior:contain}
.leaderboard-columns li{box-sizing:border-box;min-height:44px;align-items:center;padding:5px 8px;border-top:1px solid #173743;font-size:13px}
.leaderboard-ranking-row.is-viewer,.leaderboard-featured-result.is-viewer{background:#12303a;box-shadow:inset 0 0 0 1px #2a6274}
.leaderboard-points{align-self:start;padding:10px;font-size:11px;line-height:1.45}
.leaderboard-points h2{margin:0 0 5px;color:var(--nd-text-2);font:600 10px/1.2 var(--nd-font-label);letter-spacing:.1em}
.leaderboard-points p{margin:0;color:var(--nd-text-2)}
.leaderboard-points small{display:block;margin-top:8px;color:var(--nd-text-3)}
.leaderboard-screen .leaderboard-points .leaderboard-toolbar{position:static;display:block;min-height:0;margin-top:8px;padding:8px 0 0;border-top:1px solid var(--nd-border)}
.leaderboard-screen .leaderboard-points .leaderboard-toolbar #leaderboard-reset{position:static;right:auto;bottom:auto;width:100%;margin:0;color:var(--nd-text-3);font-size:9px;line-height:1.35;text-align:left;white-space:pre-line}
body[data-shell-screen="records"] #hangar,body[data-shell-screen="leaderboard"] #hangar{display:none}
body[data-shell-screen="records"] #nav-shell .nav-shell-top,body[data-shell-screen="leaderboard"] #nav-shell .nav-shell-top{display:none}
body[data-shell-screen="records"] #social-chat,body[data-shell-screen="leaderboard"] #social-chat,body[data-shell-screen="records"] #sticker-popup,body[data-shell-screen="leaderboard"] #sticker-popup{display:none}
body[data-shell-screen="records"] #leaderboard-dialog,body[data-shell-screen="leaderboard"] #player-stats-dialog{display:none}
body[data-shell-screen="records"] #player-stats-dialog,body[data-shell-screen="leaderboard"] #leaderboard-dialog{display:flex}
#scoreboard .scoreboard-content{position:absolute;inset:58px 24px 38px;overflow:auto}
#scoreboard .match-table{display:none}
#scoreboard .match-player-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;height:100%;}
#scoreboard .scoreboard-team-column{min-width:0;overflow:auto;border-top:1px solid #173743}
#scoreboard .scoreboard-team-column>h3{position:sticky;top:0;z-index:1;margin:0;padding:7px 6px;background:#08151e;color:#86adbc;font-size:11px}
#scoreboard .scoreboard-team-column .match-player-card{margin:0;border-radius:0;border-width:0 0 1px;padding:6px}
.scoreboard-running-note{margin:4px 0 0;color:#86adbc;font-size:11px;letter-spacing:.04em}
body[data-app-state="RESULTS"] .match-summary-header{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);min-height:74px;padding:0 12px;background-position:center 43%;}
body[data-app-state="RESULTS"] .match-summary-title{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:2px 14px;text-align:left}
body[data-app-state="RESULTS"] .match-summary-title .match-summary-kicker{grid-column:1/-1;text-align:left}
body[data-app-state="RESULTS"] .match-summary-title h1{font-size:30px}
body[data-app-state="RESULTS"] .match-summary-title #matchmessage{display:none}
body[data-app-state="RESULTS"] #result-rewards{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:7px;padding:8px}
body[data-app-state="RESULTS"] #result-rewards .match-reward-heading{display:none}
body[data-app-state="RESULTS"] #result-rewards .match-reward-list{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px}
body[data-app-state="RESULTS"] #result-rewards .match-reward-item{min-width:80px;min-height:36px;border-radius:18px}
body[data-app-state="RESULTS"] #result-rewards .match-reward-item img,body[data-app-state="RESULTS"] #result-rewards .match-reward-icon{width:22px;height:22px}
body[data-app-state="RESULTS"] #personal-match-highlight:not([hidden]){position:absolute;top:82px;right:16px;z-index:3;width:min(240px,24vw);padding:8px}
body[data-app-state="RESULTS"] #personal-match-highlight .match-section-heading{margin:0 0 4px;font-size:10px}
body[data-app-state="RESULTS"] .match-result-panel{padding:8px}
body[data-app-state="RESULTS"] .match-result-panel>.match-section-heading{font-size:11px}
body[data-app-state="RESULTS"] .match-table tbody tr[data-player="true"]{background:#12303a;outline:1px solid #2a6274}

@media (pointer:coarse) and (orientation:landscape) and (max-width:1000px) and (max-height:550px){
 .records-screen,.leaderboard-screen{inset:0 0 0 var(--phone-size-rail);padding:0 10px 6px;gap:4px}
 body[data-shell-screen] #nav-primary #home-quick-play{display:none}
 .records-screen-header,.leaderboard-header{box-sizing:border-box;min-height:44px;height:44px;gap:8px;padding:0 2px}
 .records-screen-header h1,.leaderboard-header h1{font-size:17px}
 .records-back{min-height:44px;height:44px;padding:0 2px;font-size:11px}
 .records-frame-filter select,.leaderboard-filter-controls select{min-width:96px;min-height:40px;height:40px;padding:0 8px;font-size:11px}
 #records-panel{grid-template-columns:240px minmax(0,1fr);gap:10px;height:calc(100% - 44px);padding-top:8px}
 .records-summary-column{gap:8px}
 .records-summary-column .player-rank-card{min-height:82px}
 .record-stat{min-height:56px;padding:7px 8px}
 .match-history-summary{grid-template-columns:minmax(74px,.8fr) minmax(72px,.6fr) 34px minmax(60px,.7fr) minmax(80px,.8fr) 38px 16px;gap:4px;padding-inline:6px}
 .records-history h2{margin:2px 0 4px}
 .records-table-heading,.match-history-summary{grid-template-columns:minmax(96px,1.2fr) minmax(48px,.5fr) 38px minmax(62px,.7fr) minmax(100px,.9fr);gap:5px;padding-inline:6px}
 .records-table-heading span:last-child,.match-history-summary .match-history-score{display:none}
 .match-history-summary::after{display:none}
 .leaderboard-screen{gap:4px}
 .leaderboard-view-tabs{gap:4px}
 .leaderboard-view-tabs .nd-tab{min-width:92px;min-height:40px;height:40px;padding:0 9px;font-size:11px}
 .leaderboard-filter-controls{gap:5px}
 .leaderboard-screen .leaderboard-main{grid-template-columns:minmax(0,1fr) 200px;gap:10px}
 .leaderboard-screen .leaderboard-columns{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr);gap:0}
 .leaderboard-screen .leaderboard-panel{min-height:0;padding:0}
 .leaderboard-columns li{min-height:44px;padding:4px 6px;font-size:12px}
 .leaderboard-points{padding:8px;font-size:11px}
 #scoreboard .scoreboard-content{inset:54px 18px 38px}
 #scoreboard .match-player-cards{gap:8px}
 #scoreboard .scoreboard-running-note{position:absolute;right:18px;bottom:10px;left:18px;}
 body[data-app-state="RESULTS"] .match-summary-header{grid-template-columns:minmax(0,1fr) auto;min-height:52px;padding:0 6px}
 body[data-app-state="RESULTS"] .match-summary-banner{display:none}
 body[data-app-state="RESULTS"] .match-summary-title{grid-template-columns:minmax(0,1fr) auto;gap:0 6px}
 body[data-app-state="RESULTS"] .match-summary-title .match-summary-kicker{grid-column:1;margin:0;font-size:8px}
 body[data-app-state="RESULTS"] .match-summary-title h1{grid-column:1;font-size:21px;line-height:1.05}
 body[data-app-state="RESULTS"] .match-summary-title #matchmessage{display:none}
 body[data-app-state="RESULTS"] #match-final-score-mobile:not([hidden]){position:absolute;top:7px;right:10px;z-index:2;display:block;min-width:86px;padding:4px 7px;border:0;background:transparent;box-shadow:none}
 body[data-app-state="RESULTS"] #match-final-score-mobile .match-section-heading{display:none}
 body[data-app-state="RESULTS"] #match-final-score-mobile .match-team-score{display:grid;grid-template-columns:auto 12px auto;gap:3px;padding:0;border:0}
 body[data-app-state="RESULTS"] #match-final-score-mobile .match-team-card{gap:2px}
 body[data-app-state="RESULTS"] #match-final-score-mobile .match-team-card strong{display:none}
 body[data-app-state="RESULTS"] #match-final-score-mobile .match-team-copy b{font-size:19px}
 body[data-app-state="RESULTS"] #result-rewards:not([hidden]){display:flex;min-height:34px;flex:none;gap:4px;padding:4px}
 body[data-app-state="RESULTS"] #result-rewards .match-reward-list{display:flex;flex-wrap:nowrap;justify-content:flex-start;min-width:0;overflow-x:auto}
 body[data-app-state="RESULTS"] #result-rewards .match-reward-item{box-sizing:border-box;min-width:78px;min-height:31px;grid-template-columns:18px minmax(0,1fr);gap:2px;padding:2px 4px}
 body[data-app-state="RESULTS"] #result-rewards .match-reward-item img,body[data-app-state="RESULTS"] #result-rewards .match-reward-icon{width:17px;height:17px}
 body[data-app-state="RESULTS"] #personal-match-highlight:not([hidden]){position:static;width:auto;min-width:0;padding:5px}
 body[data-app-state="RESULTS"] #personal-match-highlight .match-section-heading{margin:0 0 2px;font-size:8px}
 body[data-app-state="RESULTS"] .match-result-panel{padding:5px}
 body[data-app-state="RESULTS"] .match-result-panel>.match-section-heading{display:none}
}
@media (max-width:760px) and (orientation:portrait){.records-screen,.leaderboard-screen{display:none!important}}

@media (pointer:coarse) and (orientation:landscape) and (max-width:1000px) and (max-height:550px){
 .leaderboard-screen .leaderboard-ranking-row .leaderboard-player-info{justify-content:flex-start;text-align:left}
 .leaderboard-screen .leaderboard-ranking-row .leaderboard-player-name{text-align:left}
 #scoreboard .scoreboard-live-header{display:grid;grid-template-columns:auto minmax(0,1fr) 44px;align-items:center;gap:12px;height:44px;margin:0 0 6px;padding:0 0 6px}
 #scoreboard .scoreboard-live-header h2{font-size:15px;letter-spacing:.02em;text-transform:none}
 #scoreboard-match-status{color:#9bd6e4;font-size:12px;font-variant-numeric:tabular-nums}
 #close-mobile-scoreboard{box-sizing:border-box;width:44px;height:44px;font-size:24px}
 #scoreboard .scoreboard-content{position:static;display:block;flex:1;min-height:0;overflow:hidden}
 #scoreboard .match-player-cards{box-sizing:border-box;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;height:100%}
 #scoreboard .scoreboard-team-column{min-width:0;min-height:0;overflow:auto;overscroll-behavior:contain;border-top:0}
 #scoreboard .scoreboard-team-column>h3{display:none}
 #scoreboard .scoreboard-team-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:11px}
 #scoreboard .scoreboard-team-table thead{position:sticky;top:0;z-index:1;background:#06111b}
 #scoreboard .scoreboard-team-table th,#scoreboard .scoreboard-team-table td{height:44px;padding:4px 5px;border-bottom:1px solid #173743;text-align:left;font-size:11px}
 #scoreboard .scoreboard-team-table th:first-child{width:58%;color:#85bad0}
 #scoreboard .scoreboard-team-table th:nth-child(2){width:25%;color:#85bad0}
 #scoreboard .scoreboard-team-table th:last-child{width:17%;color:#85bad0}
 #scoreboard .scoreboard-pilot-row{min-height:44px;color:#c9e8f2;cursor:pointer;touch-action:manipulation}
 #scoreboard .scoreboard-pilot-row[data-player="true"]{background:#123440;outline:1px solid #35d8ee}
 #scoreboard .scoreboard-pilot-row[data-team="ENEMY_TEAM"]{color:#e49ba0}
 #scoreboard .scoreboard-pilot-row:focus-visible{outline:2px solid #f6c14b;outline-offset:-2px}
 #scoreboard .scoreboard-pilot-detail[hidden]{display:none}
 #scoreboard .scoreboard-player-info{padding:6px;background:#081923}
 #scoreboard .scoreboard-player-info .match-player-card{display:grid;grid-template-columns:minmax(0,1fr);margin:0;padding:6px;border:0;background:transparent}
 #scoreboard .scoreboard-player-info .match-player-card-header{grid-template-columns:25px minmax(0,1fr);gap:6px}
 #scoreboard .scoreboard-player-info .match-player-card-header img{display:none}
 #scoreboard .scoreboard-player-info .match-player-card-team{display:none}
 #scoreboard .scoreboard-running-note{position:static;flex:none;margin:5px 0 0;font-size:11px}
 body[data-app-state="RESULTS"] #overlay.match-summary-overlay{box-sizing:border-box;place-items:stretch;padding:0;overflow:hidden}
 body[data-app-state="RESULTS"] .match-summary-screen{display:grid;box-sizing:border-box;width:100%;height:100%;min-height:0;max-height:none;margin:0;padding:0 10px 6px;grid-template-columns:minmax(0,1fr) 190px;grid-template-rows:58px minmax(0,1fr) 54px;gap:5px 10px;overflow:hidden}
 body[data-app-state="RESULTS"] .match-summary-header{grid-column:1/-1;grid-row:1;box-sizing:border-box;min-height:58px;height:58px;padding:0 4px;border:0;background:none}
 body[data-app-state="RESULTS"] .match-summary-title{display:block;min-width:0;text-align:left}
 body[data-app-state="RESULTS"] .match-summary-title .match-summary-kicker{margin:0;font-size:9px;letter-spacing:.1em}
 body[data-app-state="RESULTS"] .match-summary-title h1{margin-top:2px;font-size:26px;line-height:1}
 body[data-app-state="RESULTS"] .match-summary-title #matchmessage{display:none}
 body[data-app-state="RESULTS"] #match-final-score-mobile:not([hidden]){position:absolute;top:20px;right:320px;z-index:2;display:block;min-width:105px;padding:0;border:0;background:none;box-shadow:none}
 body[data-app-state="RESULTS"] #match-final-score-mobile .match-section-heading{display:none}
 body[data-app-state="RESULTS"] #match-final-score-mobile .match-team-score{display:grid;grid-template-columns:auto 10px auto;gap:2px;padding:0;border:0}
 body[data-app-state="RESULTS"] #match-final-score-mobile .match-team-card{gap:2px}
 body[data-app-state="RESULTS"] #match-final-score-mobile .match-team-card strong{display:none}
 body[data-app-state="RESULTS"] #match-final-score-mobile .match-team-mark{font-size:12px}
 body[data-app-state="RESULTS"] #match-final-score-mobile .match-team-copy b{font-size:18px}
 body[data-app-state="RESULTS"] #match-overview-disclosure{display:none}
 body[data-app-state="RESULTS"] #result-rewards:not([hidden]){position:absolute;top:5px;right:8px;z-index:3;display:block;width:300px;box-sizing:border-box;padding:0;border:0;background:none;box-shadow:none}
 body[data-app-state="RESULTS"] #result-rewards .match-reward-heading{display:none}
 body[data-app-state="RESULTS"] #result-rewards .match-reward-list{display:flex;flex-direction:row;flex-wrap:nowrap;gap:5px;justify-content:flex-end;width:100%;min-width:0;overflow:visible}
 body[data-app-state="RESULTS"] #result-rewards .match-reward-item{box-sizing:border-box;grid-template-columns:17px minmax(0,1fr);gap:3px;flex:0 0 84px;min-width:84px;min-height:36px;padding:3px 5px;border-radius:18px}
 body[data-app-state="RESULTS"] #result-rewards .match-reward-item img,body[data-app-state="RESULTS"] #result-rewards .match-reward-icon{width:17px;height:17px}
 body[data-app-state="RESULTS"] #result-rewards .match-reward-copy strong{overflow:visible;font-size:11px;text-overflow:clip;white-space:nowrap}
 body[data-app-state="RESULTS"] #result-rewards .match-reward-copy b{font-size:12px}
 body[data-app-state="RESULTS"] #result-rewards .match-rewards-overflow{position:absolute;top:39px;right:0;z-index:4;width:max-content;max-width:300px}
 body[data-app-state="RESULTS"] #result-rewards .match-rewards-overflow>summary{min-height:30px;color:#94c6d5;font-size:11px;text-align:right;cursor:pointer}
 body[data-app-state="RESULTS"] #result-rewards .match-rewards-overflow[open]{padding:6px;border:1px solid #276276;border-radius:6px;background:#06141e}
 body[data-app-state="RESULTS"] #result-rewards .match-rewards-overflow .match-reward-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));max-height:180px;overflow:auto}
 body[data-app-state="RESULTS"] .match-result-panel{grid-column:1;grid-row:2/4;display:grid;grid-template-rows:auto 44px minmax(0,1fr) auto;gap:2px;min-height:0;padding:4px;background:#040e17eF}
 body[data-app-state="RESULTS"] .match-result-panel>.match-section-heading{display:flex;justify-content:space-between;align-items:center;margin:0;font-size:11px;letter-spacing:.06em}
 body[data-app-state="RESULTS"] .match-result-panel .result-scroll-hint{font-size:11px;letter-spacing:0;text-transform:none}
 body[data-app-state="RESULTS"] #result-team-toggle{box-sizing:border-box;display:flex;align-items:center;justify-self:start;min-width:120px;min-height:44px;padding:0 10px;border:1px solid #276276;border-radius:5px;background:#0b202b;color:#a9d8e7;font-size:11px;text-align:left}
 body[data-app-state="RESULTS"] #results.match-scoreboard{display:block;flex:none;min-width:0;min-height:0;max-height:none;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
 body[data-app-state="RESULTS"] #results .match-table,body[data-app-state="RESULTS"] #results .match-player-cards{display:none!important}
 body[data-app-state="RESULTS"] #results .match-phone-result-table{display:table;width:max-content;min-width:680px;border-collapse:collapse;table-layout:auto;font-size:11px}
 body[data-app-state="RESULTS"] #results .match-phone-result-table th,body[data-app-state="RESULTS"] #results .match-phone-result-table td{box-sizing:border-box;height:44px;padding:4px 5px;border-bottom:1px solid #173743;font-size:11px;text-align:left;white-space:nowrap}
 body[data-app-state="RESULTS"] #results .match-phone-result-table thead{position:sticky;top:0;z-index:1;background:#071824}
 body[data-app-state="RESULTS"] #results .match-phone-result-table thead th{height:30px;color:#85bad0;font-size:11px}
 body[data-app-state="RESULTS"] #results .match-phone-result-table [data-column="pilot"]{width:145px}
 body[data-app-state="RESULTS"] #results .match-phone-result-table [data-column="frame"]{width:52px}
 body[data-app-state="RESULTS"] #results .match-phone-result-table [data-column="ka"]{width:58px}
 body[data-app-state="RESULTS"] #results .match-phone-result-table [data-column="deaths"]{width:54px}
 body[data-app-state="RESULTS"] #results .match-phone-result-table [data-column="damage"]{width:86px}
 body[data-app-state="RESULTS"] #results .match-phone-result-table [data-column="score"]{width:58px}
 body[data-app-state="RESULTS"] #results .match-phone-result-table [data-column="unit-damage"]{width:90px}
 body[data-app-state="RESULTS"] #results .match-phone-result-table [data-column="structure-damage"]{width:110px}
 body[data-app-state="RESULTS"] #results .match-phone-result-table [data-column="structures"]{width:80px}
 body[data-app-state="RESULTS"] #results .match-phone-result-table [data-column="captures"]{width:90px}
 body[data-app-state="RESULTS"] #results[data-results-team="PLAYER_TEAM"] .match-phone-result-table tr[data-team="ENEMY_TEAM"],body[data-app-state="RESULTS"] #results[data-results-team="ENEMY_TEAM"] .match-phone-result-table tr[data-team="PLAYER_TEAM"]{display:none}
 body[data-app-state="RESULTS"] #results .match-phone-result-table tr[data-player="true"]{background:#123440;outline:1px solid #35d8ee}
 body[data-app-state="RESULTS"] #results .match-phone-result-table tr.is-ai{color:#7b8e97;opacity:.68}
 body[data-app-state="RESULTS"] #results .result-you-marker{margin-right:4px;color:#ffc144}
 body[data-app-state="RESULTS"] #personal-match-highlight:not([hidden]){position:static;display:grid;grid-column:2;grid-row:2;align-self:start;width:auto;min-width:0;padding:8px;border:1px solid #426779;background:#071a24}
 body[data-app-state="RESULTS"] #personal-match-highlight .match-section-heading{margin:0 0 5px;font-size:11px}
 body[data-app-state="RESULTS"] #personal-match-highlight .match-player-card{display:grid;grid-template-columns:minmax(0,1fr);margin:0;padding:6px;border:0;background:transparent}
 body[data-app-state="RESULTS"] #personal-match-highlight .match-player-card-header{grid-template-columns:25px minmax(0,1fr);gap:6px}
 body[data-app-state="RESULTS"] #personal-match-highlight .match-player-card-header img{display:none}
 body[data-app-state="RESULTS"] #personal-match-highlight .match-player-card-team{display:none}
 body[data-app-state="RESULTS"] #personal-match-highlight .match-player-card-stats{display:grid;grid-template-columns:minmax(0,1fr);gap:0;margin-top:5px}
 body[data-app-state="RESULTS"] #personal-match-highlight .match-player-card-stats>span{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;padding:2px 0}
 body[data-app-state="RESULTS"] #personal-match-highlight .match-player-card-stats small{overflow:visible;font-size:11px;text-overflow:clip;white-space:nowrap}
 body[data-app-state="RESULTS"] #personal-match-highlight .match-player-card-stats b{font-size:12px}
 body[data-app-state="RESULTS"] .match-summary-footer{grid-column:2;grid-row:3;display:block;align-self:end;justify-self:end;width:190px;min-height:0}
 body[data-app-state="RESULTS"] .match-summary-brand,body[data-app-state="RESULTS"] .match-summary-spacer{display:none}
 body[data-app-state="RESULTS"] .match-actions{display:grid;grid-template-columns:1fr;gap:6px;margin:0}
 body[data-app-state="RESULTS"] .match-actions button{box-sizing:border-box;width:100%;min-width:0;min-height:44px;margin:0;padding:6px 8px;font-size:11px;letter-spacing:.04em}
 body[data-app-state="RESULTS"] .match-actions #result-lobby:not([hidden]),body[data-app-state="RESULTS"] .match-actions #returnsetup:not([hidden]){min-height:54px;background:#f1aa39;color:#06121b;border:0;font-size:15px;font-weight:800}
 body[data-app-state="RESULTS"] .match-summary-personal-result{display:none}
}
