/* MW2'S MENU PAGE (./scrapyard-mw2-page.ts): CALLSIGN & KILLSTREAKS and BARRACKS in the shared sports menu's navy and ice.
   Words stand on the picture with nothing behind them; the lit word turns ice and wears MW2's slash; chosen reads by a tick and
   lightness, never by hue (he is colour-blind). The player card and the title / emblem / killstreak pictures are pictures.
   Nothing scrolls: a long list or grid is cut into pages with ‹ ›. Checked at 1280x720, 844x390 and 390x664. */
@font-face{font-family:'Barlow Condensed';font-weight:600;font-display:swap;src:url(/fonts/barlow/BarlowCondensed-600-latin.woff2) format('woff2')}
@font-face{font-family:'Barlow Condensed';font-weight:800;font-display:swap;src:url(/fonts/barlow/BarlowCondensed-800-latin.woff2) format('woff2')}
.mw2-page{position:fixed;inset:0;z-index:2500;box-sizing:border-box;overflow:hidden;display:grid;color:#eafcff;
  background:linear-gradient(100deg,#05131f 0 40%,#081d2e);font-family:'Barlow Condensed','Arial Narrow',Arial,sans-serif;
  padding:clamp(16px,4vh,48px) clamp(16px,5vw,80px);gap:0 clamp(24px,6vw,96px);
  grid-template-columns:minmax(260px,36%) minmax(0,1fr);grid-template-rows:auto minmax(0,1fr) auto;
  grid-template-areas:"head panel" "items panel" "foot panel"}
.mw2-page[hidden]{display:none}
.mw2-page .mw2-side{display:contents}
.mw2-page button{font-family:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent}
.mw2-page button,.mw2-page button:hover{background:none;border:0;border-radius:0;box-shadow:none}
.mw2-head{grid-area:head;margin:0 0 10px;text-align:right;font:800 clamp(28px,3.6vw,46px)/1.05 'Barlow Condensed','Arial Narrow',Arial,sans-serif;letter-spacing:.08em;color:#fff;text-shadow:0 3px 0 #05131f}
.mw2-items{grid-area:items;display:flex;flex-direction:column;align-items:stretch;min-height:0}
.mw2-panel{grid-area:panel;min-width:0;min-height:0;display:flex;align-items:center;justify-content:center}
.mw2-foot{grid-area:foot;display:flex;flex-direction:column;align-items:flex-end;gap:6px;padding-top:8px}
.mw2-desc{margin:0;min-height:1.3em;text-align:right;font:600 clamp(15px,1.5vw,19px)/1.3 'Barlow Condensed','Arial Narrow',Arial,sans-serif;color:#ececec;max-width:30em}

/* MW2's word: the text alone; lit = ice + the slash after it */
.mw2-word{position:relative;display:flex;align-items:center;justify-content:flex-end;gap:10px;min-height:44px;margin:0;padding:2px 36px 2px 8px;
  background:none;border:0;border-radius:0;box-shadow:none;outline:0;text-align:right;font-weight:600;font-size:clamp(20px,2.2vw,28px);letter-spacing:.05em;text-transform:uppercase;color:#eafcff;text-shadow:0 2px 0 #05131f}
.mw2-word::after{content:'';position:absolute;right:10px;top:50%;width:10px;height:26px;border-left:3px solid currentColor;border-right:3px solid currentColor;transform:translateY(-50%) skewX(-24deg);opacity:0}
.mw2-page .mw2-word,.mw2-page .mw2-word:focus,.mw2-page .mw2-word:focus-visible,.mw2-page .mw2-word:hover{outline:0;background:none!important;box-shadow:none!important;border:0}
.mw2-page .mw2-word.is-lit{color:#ffffff}
.mw2-word.is-lit::after{opacity:1}
.mw2-page .mw2-word.is-dim{color:#a9b0b5}.mw2-page .mw2-word.is-dim.is-lit{color:#ffffff}
.mw2-word:disabled{opacity:.35;cursor:default}

/* a list row: tick, kills, name (MW2's KILLSTREAK REWARDS); name and bar (CHALLENGES) */
.mw2-row{display:grid;grid-template-columns:22px auto minmax(0,1fr);justify-content:stretch;text-transform:none;font-size:clamp(18px,1.8vw,24px)}
.mw2-row .mw2-kills{text-align:left;color:inherit}
.mw2-row .mw2-name{text-align:right;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mw2-tick{font-weight:800;color:#fff}
.mw2-page .mw2-row.is-on{color:#fff;font-weight:800}.mw2-page .mw2-row.is-on.is-lit{color:#ffffff}
.mw2-challenge{grid-template-columns:auto minmax(0,1fr) 96px;text-transform:uppercase;font-size:clamp(16px,1.6vw,21px)}
.mw2-challenge .mw2-name{grid-column:2}.mw2-challenge.is-on .mw2-name::after{content:' ✓';font-weight:800}
.mw2-lockwrap{grid-column:1;display:flex}
.mw2-bar{grid-column:3;height:9px;background:linear-gradient(90deg,currentColor calc(var(--fill,0)*100%),#1d4560 0)}
.mw2-lock{width:16px;height:16px;flex:none}
/* a row your Team Deathmatch rank has not opened (src/data/tdm-rank.ts): the lock, the row, and the rank it opens at */
.mw2-row:has(.mw2-rankreq){grid-template-columns:22px auto minmax(0,1fr) auto;column-gap:10px}
.mw2-rankreq{font:700 .7em/1 'Barlow Condensed','Arial Narrow',Arial,sans-serif;letter-spacing:.12em;color:#e8b437;text-shadow:0 1px 0 #05131f}

/* the pager and BACK */
.mw2-pager{display:flex;align-items:center;gap:6px}.mw2-pager[hidden]{display:none}
.mw2-turn{min-width:44px;min-height:44px;background:none;border:0;font:800 32px/1 'Barlow Condensed',Arial,sans-serif!important;color:#eafcff}
.mw2-turn:focus{outline:0}.mw2-page .mw2-turn.is-lit,.mw2-turn:hover{color:#ffffff}.mw2-turn:disabled{opacity:.3}
.mw2-count{font-weight:600;font-size:17px;color:#ececec;min-width:3.4em;text-align:center}

/* THE PLAYER CARD (MW2's plate: the banner, the name, the emblem, your level in the corner) */
.mw2-cardpanel{display:flex;flex-direction:column;align-items:stretch;gap:12px;width:min(520px,100%)}
.mw2-card{position:relative;padding:10px 12px 8px;background:repeating-linear-gradient(0deg,#12324b 0 2px,#0d2a40 2px 4px);box-shadow:inset 0 0 0 2px #2a5a7a}
.mw2-card .scrap-player-card{width:100%;grid-template-columns:minmax(0,1fr) 22%}
.mw2-card .spc-name{font:800 clamp(18px,1.8vw,24px)/1.1 'Barlow Condensed','Arial Narrow',Arial,sans-serif;letter-spacing:.08em;text-transform:uppercase;padding:8px 0 4px}
.mw2-level{display:flex;justify-content:flex-end;align-items:baseline;gap:6px;margin-top:-2px;text-shadow:0 2px 0 #05131f}
.mw2-level small{font:600 12px/1 'Barlow Condensed',Arial,sans-serif;letter-spacing:.12em;color:#ececec}
.mw2-level b{font:800 26px/1 'Barlow Condensed',Arial,sans-serif;color:#fff}
/* the rank's insignia and the prestige emblem beside it (./tdm-rank-view.ts) */
.mw2-level svg{align-self:center;flex:none;width:clamp(34px,3.4vw,44px);height:auto}
.mw2-sub{margin:4px 0 0;text-align:center;font:800 clamp(18px,1.8vw,24px)/1 'Barlow Condensed',Arial,sans-serif;letter-spacing:.22em;color:#ffffff}
.mw2-streaks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.mw2-streak-tile{display:flex;flex-direction:column;align-items:center;gap:4px;min-width:0}
.mw2-streak-tile small{font:600 clamp(16px,1.6vw,21px)/1 'Barlow Condensed',Arial,sans-serif;color:#eafcff}
.mw2-streak-tile.is-empty{opacity:.45}
.mw2-streak-pic{display:grid;place-items:center;width:clamp(56px,7vw,92px);aspect-ratio:1;font-size:clamp(30px,4vw,52px);color:#ffffff;line-height:1}
.mw2-streak-pic img{width:100%;height:100%;object-fit:contain}
.mw2-streak-pic.is-big{width:clamp(80px,11vw,150px)}

/* KILLSTREAK REWARDS' right side */
.mw2-streak-detail,.mw2-challenge-detail{display:flex;flex-direction:column;gap:12px;width:min(560px,100%)}
.mw2-detail-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}
.mw2-detail-name{margin:0;font:800 clamp(26px,3vw,40px)/1 'Barlow Condensed',Arial,sans-serif;letter-spacing:.04em;text-transform:uppercase;color:#fff}
.mw2-detail-kills{margin:4px 0 0;font:600 18px/1.2 'Barlow Condensed',Arial,sans-serif;color:#ffffff}
.mw2-detail-text{margin:8px 0 0;font:600 clamp(16px,1.5vw,20px)/1.3 'Barlow Condensed',Arial,sans-serif;color:#cfe3ee}
.mw2-selected{margin:0;text-align:center;font:800 clamp(20px,2vw,28px)/1 'Barlow Condensed',Arial,sans-serif;letter-spacing:.16em}

/* TITLE and EMBLEM: the card over a grid of the pictures */
.mw2-page[data-layout=grid]{grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto minmax(0,1fr) auto;grid-template-areas:"head" "panel" "items" "foot";justify-items:center}
.mw2-page[data-layout=grid] .mw2-head{text-align:center;margin-bottom:6px}
.mw2-page[data-layout=grid] .mw2-items{width:min(1000px,100%);justify-content:flex-start}
.mw2-page[data-layout=grid] .mw2-foot{width:min(1000px,100%);flex-direction:row;justify-content:space-between;align-items:center}
.mw2-page[data-layout=grid] .mw2-desc{text-align:left;flex:1}
.mw2-gridcard{width:min(440px,100%);margin-bottom:12px}
.mw2-grid{display:grid;grid-template-columns:repeat(var(--cols,8),minmax(0,1fr));gap:clamp(6px,1.2vw,14px);align-content:start}
.mw2-pick{position:relative;display:flex;align-items:center;justify-content:center;min-width:0;min-height:44px;padding:3px;background:none;border:0;outline:0;filter:brightness(.78)}
.mw2-pick:focus{outline:0}.mw2-pick.is-lit,.mw2-pick:hover{filter:none;outline:3px solid #ffffff;outline-offset:2px;z-index:1}
.mw2-pick canvas{width:min(100%,76px);height:auto;aspect-ratio:1}
.mw2-grid[data-kind=titles] .mw2-pick{padding:2px}
.mw2-pick .sid-title-banner,.mw2-notitle{width:100%}
.mw2-notitle{display:grid;place-items:center;aspect-ratio:6;background:#123552;font:800 clamp(13px,1.4vw,18px)/1 'Barlow Condensed',Arial,sans-serif;letter-spacing:.14em;color:#ececec}
.mw2-pick.is-locked{filter:grayscale(1) brightness(.42)}.mw2-pick.is-locked.is-lit,.mw2-pick.is-locked:hover{filter:grayscale(1) brightness(.7)}
.mw2-pick .mw2-lock{position:absolute;left:6px;top:50%;transform:translateY(-50%);width:20px;height:20px;color:#fff;filter:drop-shadow(0 1px 0 #000)}
.mw2-pick.is-on::after{content:'✓';position:absolute;right:-2px;top:-4px;display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#fff;color:#05131f;font:800 15px/1 Arial,sans-serif;box-shadow:0 0 0 2px #05131f}

/* BARRACKS' sheet and CHALLENGES' right side */
.mw2-stats{margin:0;display:flex;flex-direction:column;gap:10px;font:600 clamp(16px,1.6vw,21px)/1.25 'Barlow Condensed','Arial Narrow',Arial,sans-serif}
.mw2-statgroup{display:grid;grid-template-columns:1fr auto;gap:1px 16px;break-inside:avoid}
.mw2-stats dt{color:#a9c3d3}.mw2-stats dd{margin:0;text-align:right;color:#fff;font-variant-numeric:tabular-nums}
.mw2-eyebrow{margin:0;font:800 14px/1 'Barlow Condensed',Arial,sans-serif;letter-spacing:.2em;color:#ffffff}
.mw2-facts{margin:0;display:grid;grid-template-columns:auto 1fr;gap:2px 14px;font:600 clamp(16px,1.5vw,20px)/1.3 'Barlow Condensed',Arial,sans-serif}
.mw2-facts dt{color:#a9c3d3}.mw2-facts dd{margin:0;color:#fff}
.mw2-reward{display:flex}.mw2-reward .sid-title-banner{width:min(330px,100%)}
.mw2-finish{width:170px;height:80px;object-fit:contain}
.mw2-reward-words{margin:0;display:flex;align-items:center;flex-wrap:wrap;gap:6px 14px;font:600 clamp(16px,1.5vw,20px)/1.2 'Barlow Condensed',Arial,sans-serif}
.mw2-coin{display:inline-flex;align-items:center;gap:4px}.mw2-coin svg{width:22px;height:22px}.mw2-coin b,.mw2-xp{color:#fff;font-weight:800}
.mw2-detail-note{margin:0;font:600 15px/1.3 'Barlow Condensed',Arial,sans-serif;color:#9fbccb}

/* sideways phone: the same two columns, smaller, the foot on one line */
@media(max-height:500px){
  .mw2-page{padding:8px max(16px,env(safe-area-inset-right)) 6px max(16px,env(safe-area-inset-left));gap:0 24px;grid-template-columns:minmax(200px,38%) minmax(0,1fr);grid-template-areas:"head panel" "items panel" "foot foot"}
  .mw2-head{font-size:24px;margin-bottom:2px}
  .mw2-word{font-size:18px;padding-right:28px}.mw2-word::after{height:18px;width:7px;right:8px}
  .mw2-row{font-size:17px}.mw2-challenge{font-size:15px;grid-template-columns:auto minmax(0,1fr) 64px}
  .mw2-foot{flex-direction:row;align-items:center;justify-content:flex-end;gap:4px;padding-top:2px}
  .mw2-desc{font-size:13px;flex:1;text-align:left;max-width:none}
  .mw2-cardpanel{gap:6px;width:min(460px,100%)}
  .mw2-card{padding:5px 8px 6px}.mw2-card .scrap-player-card{grid-template-columns:minmax(0,1fr) 16%}.mw2-card .spc-name{font-size:15px;padding:3px 0 0}
  .mw2-level b{font-size:19px}.mw2-level small{font-size:10px}
  .mw2-sub{font-size:15px;margin:0}.mw2-streak-pic{width:50px;font-size:28px}.mw2-streak-pic.is-big{width:72px}.mw2-streak-tile small{font-size:14px}
  .mw2-streak-detail,.mw2-challenge-detail{gap:5px}
  .mw2-detail-name{font-size:22px}.mw2-detail-kills{font-size:14px;margin-top:2px}.mw2-detail-text{font-size:14px;margin-top:3px}.mw2-selected{font-size:16px}
  .mw2-stats{display:block;columns:2;column-gap:22px;font-size:14px;line-height:1.2}.mw2-statgroup{margin-bottom:6px}
  .mw2-facts,.mw2-reward-words{font-size:14px}.mw2-reward .sid-title-banner{width:230px}.mw2-finish{width:110px;height:44px}.mw2-detail-note{font-size:12px}.mw2-eyebrow{font-size:11px}
  .mw2-page[data-layout=grid]{grid-template-rows:auto auto minmax(0,1fr) auto}
  .mw2-page[data-layout=grid] .mw2-head{display:none}
  .mw2-gridcard{width:min(340px,60%);margin-bottom:6px}
  .mw2-pick canvas{width:min(100%,58px)}
}
/* upright phone: one column -- the words, then the panel, then the foot */
@media(max-width:600px) and (orientation:portrait){
  .mw2-page{padding:14px 16px 10px;grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto minmax(0,1fr) auto;grid-template-areas:"head" "items" "panel" "foot";gap:0}
  .mw2-head{font-size:28px;text-align:left;margin-bottom:4px}
  .mw2-word{justify-content:flex-start;text-align:left;font-size:21px}
  .mw2-row{font-size:18px}.mw2-challenge{font-size:16px;grid-template-columns:auto minmax(0,1fr) 80px}.mw2-challenge .mw2-name{text-align:left}
  .mw2-panel{align-items:flex-start;padding-top:8px}
  .mw2-foot{flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:0 4px;padding-top:4px}
  .mw2-desc{text-align:left;font-size:14px;flex:1 1 100%}
  .mw2-cardpanel{gap:8px}.mw2-card .spc-name{font-size:17px;padding:4px 0 0}.mw2-card{padding:6px 10px 8px}
  .mw2-streak-pic{width:62px}.mw2-streak-pic.is-big{width:78px}
  .mw2-streak-detail,.mw2-challenge-detail{gap:6px}
  .mw2-detail-name{font-size:24px}.mw2-detail-text{font-size:15px;margin-top:4px}.mw2-selected{font-size:18px}
  .mw2-stats{display:block;columns:2;column-gap:20px;font-size:15px;line-height:1.22}.mw2-statgroup{margin-bottom:8px}
  .mw2-facts,.mw2-reward-words{font-size:15px}.mw2-reward .sid-title-banner{width:250px}.mw2-finish{width:120px;height:50px}.mw2-detail-note{font-size:13px}
  .mw2-page[data-layout=grid] .mw2-head{text-align:center}
  .mw2-page[data-layout=grid] .mw2-desc{flex:1 1 100%}
  .mw2-gridcard{margin-bottom:8px}
}

/* MW2'S TYPE AND UI (owner, 2026-10-29: "fix the lobby and main menu text and other ui to match mw2 now"): the words white, the lit one
   white on MW2's black band with its slanted end (no colour: it reads by lightness), and on Combat Center's own page (body.cc-page)
   the screen stands on the storm; in a match it keeps its dark ground over the game */
.mw2-page{color:#ececec}
.mw2-page .mw2-word{color:#e4e6e8;text-shadow:0 1px 2px #000000d9}
.mw2-page .mw2-word.is-lit,.mw2-page .mw2-word.is-dim.is-lit,.mw2-page .mw2-row.is-on.is-lit{color:#fff;background:#000000c9!important;clip-path:polygon(0 0,100% 0,calc(100% - 16px) 100%,0 100%)}
.mw2-word.is-lit::after{display:none}
.mw2-head{font-weight:700;letter-spacing:.14em;text-shadow:0 1px 3px #000000e6}
body.cc-page .mw2-page{background:transparent}
/* on the storm (Combat Center's page) the career's and the card's labels were pale blue on pale cloud: light grey over a dark drop,
   the values white over the same, so both read by lightness wherever the snow is brightest */
body.cc-page .mw2-page :is(.mw2-stats,.mw2-facts) :is(dt,dd){text-shadow:0 1px 2px #05131f,0 0 6px #05131fcc}
body.cc-page .mw2-page :is(.mw2-stats,.mw2-facts) dt{color:#dfe3e6}
/* BARRACKS > PRESTIGE: the next prestige's emblem big, what goes back and what stays under it */
.mw2-prestige{display:flex;flex-direction:column;align-items:flex-start;gap:12px}.mw2-prestige svg{width:clamp(96px,14vw,160px);height:auto}
