/* WFE look: cage steel, athletic-tape yellow, mat-blood red. Every panel and button is cut like the octagon. */
@font-face { font-family: "WFE Stencil"; src: url(../fonts/wfe-stencil.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "WFE Barlow"; src: url(../fonts/wfe-barlow-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "WFE Barlow"; src: url(../fonts/wfe-barlow-500.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "WFE Barlow"; src: url(../fonts/wfe-barlow-600.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "WFE Barlow"; src: url(../fonts/wfe-barlow-700.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "WFE Barlow"; src: url(../fonts/wfe-barlow-800.woff2) format("woff2"); font-weight: 800; font-display: swap; }

:root {
  --steel: #1b1e21;      /* the cage frame: page background */
  --steel2: #252a2e;     /* panels */
  --steel3: #30363b;     /* raised controls */
  --wire: #59626a;       /* chain-link lines and borders */
  --chalk: #ebe6da;      /* text */
  --tape: #f2c230;       /* athletic tape: the one bright accent */
  --mat: #b3261e;        /* blood on the mat: danger, live, losses */
  --ink: var(--steel);
  --panel: var(--steel2);
  --panel2: var(--steel3);
  --line: rgba(130, 142, 152, .28);
  --text: var(--chalk);
  --muted: #9aa1a6;
  --red: var(--mat);
  --brass: var(--tape);
  --display: "WFE Stencil", "Saira Stencil One", Impact, sans-serif;
  --body: "WFE Barlow", "Barlow Semi Condensed", "Arial Narrow", system-ui, sans-serif;
  --mono: "WFE Barlow", "Barlow Semi Condensed", system-ui, sans-serif;
  --cut: 10px;
  --oct: polygon(var(--cut) 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, var(--cut) 100%, 0 calc(100% - var(--cut)), 0 var(--cut));
}

/* chain-link behind everything */
body {
  background-color: var(--steel);
  background-image:
    repeating-linear-gradient(45deg, rgba(150, 160, 168, .055) 0 1px, transparent 1px 15px),
    repeating-linear-gradient(-45deg, rgba(150, 160, 168, .055) 0 1px, transparent 1px 15px);
  font: 500 15.5px/1.45 var(--body);
}
.num { font-family: var(--body); font-weight: 700; font-variant-numeric: tabular-nums; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; text-transform: none; letter-spacing: .01em; line-height: 1.02; }
.lbl { text-transform: none; letter-spacing: .02em; font-size: 12.5px; font-weight: 700; color: var(--muted); }

/* octagon-cut surfaces instead of rounded cards */
.card, .sess, .stratcards button, .hero, .campcard, .stylecards button, .poster .vs .side, .modebar button, .btn, .chip, .tag, .seg button, input, select, .cornerv, .offer {
  border-radius: 0 !important;
  clip-path: var(--oct);
}
.chip, .tag, .seg button { --cut: 6px; }
.card, .sess, .stratcards button, .stylecards button, .campcard { background: linear-gradient(180deg, var(--steel2), #212529); border: 1px solid var(--line); }
.card.flat { background: transparent; }

/* tape-yellow is the action color; red only means danger or live */
.btn { background: var(--steel3); border: 1px solid var(--line); font-weight: 700; letter-spacing: .02em; }
.btn.primary { background: var(--tape); color: #17140a; border: 0; font-family: var(--display); font-size: 18px; font-weight: 400; letter-spacing: .03em; }
.btn.primary.big { font-size: 22px; }
.btn.gold { background: var(--chalk); color: #17140a; }
.btn.ghost { background: transparent; clip-path: none; }
.seg button[aria-pressed="true"] { background: var(--tape); color: #17140a; }
.stratcards button[aria-pressed="true"], .campcard[aria-pressed="true"], .stylecards button[aria-pressed="true"] { border-color: var(--tape); background: linear-gradient(180deg, rgba(242, 194, 48, .16), rgba(242, 194, 48, .05)); box-shadow: inset 3px 0 0 var(--tape); }
.tag { letter-spacing: .02em; text-transform: none; font-weight: 700; }
.tag.gold { background: rgba(242, 194, 48, .16); color: var(--tape); }
.tag.red { background: rgba(179, 38, 30, .22); color: #ff8f86; }
.bar { border-radius: 0; height: 7px; }
.bar i { border-radius: 0 !important; }

/* header: a steel crossbar */
header.top { background: linear-gradient(180deg, #2a2f33, #1d2023); border-bottom: 2px solid #0f1112; box-shadow: 0 1px 0 rgba(255,255,255,.05) inset; }
.brand { font-family: var(--display); font-weight: 400; font-size: 24px; letter-spacing: .02em; }
.brand b { color: var(--tape); font-weight: 400; }
.brand small { font-family: var(--body); letter-spacing: .04em; text-transform: none; font-size: 11px; }
.chip { background: #121416; font-family: var(--body); font-size: 14px; }
.chip.gold { color: var(--tape); }

/* the career / world switch */
.modebar { background: transparent; border-bottom: 0; }
.modebar button { background: var(--steel2); }
.modebar button[aria-pressed="true"].career { background: var(--tape); border-color: var(--tape); color: #17140a; }
.modebar button[aria-pressed="true"].world { background: var(--mat); border-color: var(--mat); color: #fff; }
.modebar .live { background: #fff; color: var(--mat); }

/* bottom tabs: the active one gets a strip of tape */
nav.tabs { background: #141618; border-top: 2px solid #0c0d0e; }
.tabs button { font-weight: 700; letter-spacing: .02em; font-size: 11.5px; }
.tabs button[aria-pressed="true"], nav.tabs button[aria-current="page"] { color: var(--tape) !important; }

/* home hero: a fight-card portrait with a tape strip across the corner */
.hero { background: linear-gradient(135deg, #2b3034, #1a1d20 70%); border: 1px solid var(--line); }
.hero .nick { font-family: var(--body); font-weight: 800; color: var(--tape); text-transform: none; letter-spacing: .02em; }
.hero .name { font-family: var(--display); font-weight: 400; }

/* splash */
.splashscreen .crest, .splashscreen .gametitle { display: none; }
.wfe-mark { margin-top: -78px; position: relative; z-index: 1; display: grid; justify-items: center; gap: 6px; }
.wfe-mark svg { width: min(58vw, 230px); height: auto; filter: drop-shadow(0 6px 18px rgba(0,0,0,.75)); }
.wfe-mark .wfe-name { font-family: var(--body); font-weight: 800; font-size: clamp(17px, 5vw, 22px); letter-spacing: .32em; padding-left: .32em; color: var(--chalk); }
.splash .tagline { font-size: 16px; color: #c9c4b8; max-width: 34ch; margin: 2px auto 6px; }

/* fight night: tape-yellow plan buttons, steel HUD */
.ticker p.hot { border-left: 3px solid var(--mat); }
nav.tabs button[aria-current="page"] { color: var(--tape) !important; }
nav.tabs button[aria-current="page"]::before { background: var(--tape) !important; left: 22%; right: 22%; border-radius: 0; height: 4px; }
.sess .g { color: #c9c4b8; }
.sess .c { color: var(--tape); font-family: var(--body); font-weight: 700; }
/* a strip of tape across the corner of his fight card */
.hero::after { content: ""; position: absolute; top: 14px; right: -34px; width: 130px; height: 18px; transform: rotate(38deg); background: repeating-linear-gradient(90deg, rgba(242,194,48,.92) 0 14px, rgba(232,184,40,.92) 14px 15px); box-shadow: 0 2px 6px rgba(0,0,0,.45); pointer-events: none; }
.hero .info { position: relative; z-index: 1; }
.ticker p.hot, .ticker p.a { font-family: var(--body); }
.poster { background: radial-gradient(120% 80% at 50% 0%, #3a2a12 0%, #1d1a14 45%, #121315 100%); }
.poster .x { font-family: var(--display); color: var(--tape); }
.hud .fn { font-family: var(--display); font-weight: 400; letter-spacing: .02em; }
.hud .clock { border-radius: 0; clip-path: var(--oct); background: #141618; border: 1px solid var(--line); }
.hud .clock .r { color: var(--tape); font-family: var(--body); font-weight: 800; }
.hud .clock .tm { font-family: var(--body); font-weight: 800; }
.fctl, .cornerv { background: var(--steel); }

/* ---------- the League (online): a fight-poster board, not a list of cards ---------- */
.lg-banner { position: relative; overflow: hidden; padding: 16px 14px 14px; clip-path: var(--oct);
  background: linear-gradient(115deg, rgba(179,38,30,.38) 0 34%, transparent 34.2%), linear-gradient(180deg, #2b3034, #191c1f); border: 1px solid var(--line); }
.lg-tape { position: absolute; left: -20px; right: -20px; top: 8px; height: 6px; background: repeating-linear-gradient(90deg, var(--tape) 0 22px, transparent 22px 30px); opacity: .55; }
.lg-kicker { font: 800 12px/1 var(--body); color: var(--tape); letter-spacing: .06em; margin-top: 6px; }
.lg-title { font-family: var(--display); font-size: clamp(34px, 11vw, 46px); line-height: .9; margin: 4px 0 0; color: var(--chalk); text-shadow: 3px 3px 0 rgba(0,0,0,.45); }
.lg-road { display: flex; align-items: center; gap: 6px; margin-top: 12px; }
.lg-road i { flex: 1; height: 2px; background: repeating-linear-gradient(90deg, var(--wire) 0 6px, transparent 6px 10px); }
.lg-step { font: 700 12.5px/1 var(--body); padding: 7px 10px; background: #121416; color: var(--muted); --cut: 6px; clip-path: var(--oct); border: 1px solid var(--line); white-space: nowrap; }
.lg-step.done { color: var(--chalk); background: #24382a; }
.lg-step.done::before { content: "✓ "; color: #5be39a; }
.lg-step.on { background: var(--tape); color: #17140a; border-color: var(--tape); }
.lg-join { border-color: rgba(242,194,48,.45) !important; background: linear-gradient(115deg, rgba(179,38,30,.22) 0 30%, transparent 30.2%), linear-gradient(180deg, var(--steel2), #1d2023) !important; }
.lg-join h2 { font-family: var(--display); font-size: clamp(28px, 8.5vw, 36px) !important; }

/* every League panel carries a steel rail down its left edge */
.league .card { position: relative; box-shadow: inset 4px 0 0 #3a4147; }
.league .card[style*="227,181"], .league .card[style*="227,181,83"] { box-shadow: inset 4px 0 0 var(--tape); }
.league .card[style*="212,38,63"], .league .card[style*="255,107,107"] { box-shadow: inset 4px 0 0 var(--mat); }
.league .sect-h h2 { font-family: var(--display); font-size: 22px; }

/* ladder rows: big stencil rank numbers on tape */
.league .list .li { border-bottom: 1px dashed rgba(130,142,152,.22); }
.league .li .rk { font-family: var(--display); font-size: 20px; min-width: 44px; text-align: center; padding: 6px 2px; color: #17140a; background: var(--tape); --cut: 5px; clip-path: var(--oct); }
.league .li:nth-child(n+4) .rk { background: #121416; color: var(--chalk); border: 1px solid var(--line); }
.league .li.me { background: linear-gradient(90deg, rgba(179,38,30,.35), rgba(179,38,30,.05)); }
.league .li.me .rk { background: var(--mat); color: #fff; }
.league .seg button[aria-pressed="true"] { background: var(--tape); color: #17140a; }

/* belt night bouts: a tale-of-the-tape split with a red corner and a blue corner */
.league .poster { clip-path: var(--oct); border: 1px solid var(--line); }
.league .poster .vs .side:first-child { box-shadow: inset 0 3px 0 var(--mat); }
.league .poster .vs .side:last-child { box-shadow: inset 0 3px 0 #2e6bd6; }
.league .poster .x { font-size: 30px; transform: skewX(-8deg); }

/* Nov 18 2026: Google Play button on the first screen (Android browsers only) */
[data-installtop]~[data-late]{display:none}
.gpbtn{display:flex;align-items:center;justify-content:center;gap:10px;margin:2px auto 0;width:max-content;background:#000;color:#fff;border:1px solid #a6a6a6;border-radius:9px;padding:7px 18px 7px 14px;text-decoration:none;line-height:1.05;min-height:48px;box-sizing:border-box}
.gpbtn svg{width:26px;height:26px;flex:none}
.gpbtn span{display:flex;flex-direction:column;font-size:19px;font-weight:600;letter-spacing:.01em;text-align:left;font-family:Arial,Helvetica,sans-serif}
.gpbtn small{font-size:10px;font-weight:500;letter-spacing:.08em;opacity:.9}
.gpbtn:active{transform:scale(.97)}
