@import url('https://fonts.googleapis.com/css2?family=Black+Ops+One&family=Oswald:wght@500;600;700&family=Share+Tech+Mono&display=swap');

:root{
  --blue:#062a79;
  --blue-deep:#031746;
  --blue-black:#020a1c;
  --red:#f02a2f;
  --yellow:#ffd600;
  --yellow-soft:#ffe84d;
  --green:#0b4d1b;
  --green-2:#073513;
  --green-3:#041f0b;
  --pitch:#126927;
  --panel:#071009;
  --panel-2:#0a160c;
  --line:#2d6a3c;
  --line-soft:#194428;
  --cream:#f4f0db;
  --text:#e8eadf;
  --muted:#9ba99a;
  --danger:#ff5f67;
  --black:#020503;
  --shadow:rgba(0,0,0,.58);
}

*{box-sizing:border-box}
html{background:#020503;scroll-behavior:smooth}
body{
  margin:0;
  min-height:100vh;
  color:var(--text);
  background:
    linear-gradient(rgba(0,0,0,.72),rgba(0,0,0,.86)),
    radial-gradient(circle at 50% 16%,rgba(255,255,255,.07),transparent 30%),
    linear-gradient(180deg,#14251c 0 32%,#05230d 32% 100%);
  font-family:"Share Tech Mono","Courier New",monospace;
  font-size:16px;
}
body::before{
  content:"";
  position:fixed;inset:0;pointer-events:none;z-index:9999;opacity:.10;
  background:repeating-linear-gradient(0deg,rgba(255,255,255,.04) 0 1px,transparent 1px 3px);
}
a{color:inherit}
p{margin:0 0 14px;line-height:1.55;color:#c8d1c7}
h1,h2,h3{margin:0;color:#fff}
h1,h2,h3,.brand-copy b,.btn,.retro-title,.eyebrow,.topbar nav a,.turn-number,.result,.score,.metric strong,.league-position strong{
  font-family:"Oswald","Arial Narrow",sans-serif;
}

/* HEADER */
.topbar{
  position:sticky;top:0;z-index:100;
  min-height:92px;
  display:flex;align-items:center;justify-content:space-between;gap:22px;
  padding:10px max(24px,calc((100vw - 1440px)/2));
  background:
    radial-gradient(rgba(255,255,255,.14) .6px,transparent .7px) 0 0/5px 5px,
    linear-gradient(180deg,#0a3488 0%,#051e5d 100%);
  border-bottom:3px solid var(--red);
  box-shadow:0 6px 18px var(--shadow);
}
.brand-wrap{display:flex;align-items:center;gap:14px;min-width:0}
.brand{display:flex;align-items:center;gap:11px;text-decoration:none;min-width:265px}
.brand-ball{
  width:46px;height:46px;display:grid;place-items:center;flex:none;
  color:#fff;font-size:42px;line-height:1;
  filter:drop-shadow(2px 3px 0 #000);
}
.brand-ball i{display:block}
.brand-copy{display:flex;flex-direction:column;line-height:.9;transform:skew(-4deg)}
.brand-copy b{
  font-family:"Black Ops One","Arial Black",sans-serif;
  font-size:29px;font-weight:400;letter-spacing:-.7px;color:#fff;
  text-shadow:2px 3px 0 #000;
}
.brand-copy b::after{display:none!important;content:none!important}
.brand-copy small{margin-top:6px;font-size:9px;letter-spacing:1.55px;color:#f3f6ff;text-transform:uppercase}
.club-chip{
  display:flex;align-items:center;gap:9px;height:48px;padding:5px 12px;
  background:#041534;border:1px solid #5474ae;box-shadow:inset 0 0 0 1px #0d2b63;
  font-size:11px;color:#fff;
}
.topbar nav{display:flex;align-items:center;gap:8px;white-space:nowrap}
.topbar nav a{
  min-height:52px;display:flex;align-items:center;gap:8px;
  padding:10px 14px;text-decoration:none;text-transform:uppercase;font-weight:700;
  font-family:"Oswald","Arial Narrow",sans-serif;
  font-size:15px;letter-spacing:.45px;color:#f7f8ff;border:1px solid transparent;
}
.topbar nav a i{width:18px;text-align:center;color:var(--yellow);font-size:15px}
.topbar nav a span{color:inherit;margin:0;font-size:inherit}
.topbar nav a:hover{background:#04143a;border-color:#42649d;color:var(--yellow)}
.topbar nav .logout{margin-left:10px;border:1px solid #d73e48;color:#ffd2d5}
.topbar nav .logout i{color:#ff7178}
.nav-toggle{display:none;border:1px solid #fff;background:#06163e;color:#fff;width:44px;height:40px;font-size:22px}

/* LAYOUT */
.wrap{max-width:1440px;margin:0 auto;padding:30px 24px 64px}
.card{
  position:relative;
  margin:0 0 18px;
  padding:20px;
  background:linear-gradient(180deg,rgba(8,28,13,.98),rgba(4,17,8,.99));
  border:1px solid var(--line);
  border-radius:2px;
  box-shadow:0 8px 22px rgba(0,0,0,.24),inset 0 0 0 1px rgba(255,255,255,.025);
}
.card::before{display:none}
.grid{display:grid;gap:16px}
.grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}
.grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}
.grid.four{grid-template-columns:repeat(4,minmax(0,1fr))}
.actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:22px}
.eyebrow{
  color:var(--yellow);font-size:11px;font-weight:700;text-transform:uppercase;
  letter-spacing:1.15px;line-height:1.2;
}

/* BUTTONS */
.btn{
  display:inline-flex;align-items:center;justify-content:center;min-height:44px;
  padding:10px 18px;border-radius:1px;border:1px solid #e6e6d5;
  background:#080d09;color:#fff;text-decoration:none;text-transform:uppercase;
  font-size:15px;font-weight:700;letter-spacing:.35px;cursor:pointer;
  box-shadow:0 3px 0 #000;
}
.btn:hover{border-color:var(--yellow);color:var(--yellow);transform:translateY(-1px)}
.btn.primary{background:linear-gradient(180deg,#ffe725,#efbd00);color:#101300;border-color:#fff58e;text-shadow:none}
.btn.primary:hover{background:#ffec49;color:#000}
.btn.wide{width:100%;margin-top:5px}

/* HERO / PUBLIC LANDING */
.hero{overflow:hidden}
.landing-hero{
  min-height:520px;padding:58px 48% 54px 38px;
  background:
    linear-gradient(90deg,rgba(2,8,10,.94) 0%,rgba(2,8,10,.83) 43%,rgba(2,8,10,.12) 75%),
    radial-gradient(circle at 75% 23%,rgba(255,255,255,.17),transparent 15%),
    linear-gradient(180deg,#243833 0 56%,#147028 56% 100%);
  border-color:#294b35;
}
.landing-hero::after{
  content:"";position:absolute;right:5.2%;top:9%;width:39%;height:78%;
  background:linear-gradient(180deg,#082f8a 0 11%,#050705 11% 74%,#082f8a 74% 100%);
  border:5px solid #b9b5a3;outline:2px solid #111;transform:rotate(2.5deg);
  box-shadow:13px 13px 0 rgba(0,0,0,.46);
}
.landing-hero::before{
  content:"SQUAD   TACTICS   TRAINING   FIXTURES\A\A 1  S. SINCLAIR      GK   82  93  76\A 2  D. HODGE         RB   78  86  81\A 3  M. BALDWIN       CB   84  91  88\A 4  P. ANDERSON      CB   79  87  80\A 5  G. BROWN         LB   76  82  78\A\A NEXT MATCH: SPARE SHINPADS v UNITED TOWN";
  white-space:pre;position:absolute;z-index:2;right:7.4%;top:16%;width:31%;height:56%;
  padding:18px;color:#e8eadf;font-size:11px;line-height:1.55;
  background:linear-gradient(90deg,#030503 0 67%,#0b4a1a 67% 100%);
  border:1px solid #7e8878;
}
.landing-hero .eyebrow{font-size:15px}
.landing-hero h1{
  position:relative;z-index:3;margin:12px 0 18px;max-width:650px;
  font-family:"Black Ops One","Oswald",sans-serif;font-size:clamp(48px,5.2vw,76px);font-weight:400;
  line-height:1.02;letter-spacing:.6px;text-transform:uppercase;text-shadow:3px 3px 0 #000;
}
.landing-hero h1 span{color:var(--yellow)}
.landing-hero p{position:relative;z-index:3;max-width:620px;color:#fff;font-size:18px}
.landing-hero .actions{position:relative;z-index:3}
.feature-icon{font-size:34px;float:left;margin:0 14px 8px 0}
.grid.four>.card{background:linear-gradient(180deg,#0b4518,#082f11);border-color:#367446}
.grid.four>.card h3{font-size:20px;text-transform:uppercase;color:var(--yellow)}

/* PAGE HEADERS */
.page-head,.manager-hero{
  background:linear-gradient(180deg,#0b3187 0%,#061d59 100%);
  border-color:#315da8;
  border-bottom:3px solid var(--red);
}
.page-head{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 22px}
.page-head h1,.manager-hero h1{
  margin:2px 0 7px;font-family:"Black Ops One","Oswald",sans-serif;font-weight:400;
  text-transform:uppercase;line-height:1.05;text-shadow:2px 2px 0 #000;
}
.page-head h1{font-size:32px}
.page-head p{margin:0;color:#d2dbef}
.manager-hero{display:grid;grid-template-columns:auto 1fr auto;gap:20px;align-items:center;padding:22px}
.manager-hero h1{font-size:40px}

/* CRESTS */
.crest{
  display:inline-grid;position:relative;place-items:center;flex:0 0 auto;aspect-ratio:.92/1;
  background:linear-gradient(160deg,hsl(var(--club-hue,145) 66% 43%),hsl(var(--club-hue,145) 72% 18%));
  clip-path:polygon(50% 0,92% 15%,86% 72%,50% 100%,14% 72%,8% 15%);
  color:#fff;font-family:"Oswald",sans-serif;font-weight:700;text-shadow:1px 1px 0 #000;
  filter:drop-shadow(2px 2px 0 #000);
}
.crest::after{content:"";position:absolute;inset:5px;border:1px solid rgba(255,255,255,.65);clip-path:inherit}
.crest.xs{width:28px;font-size:10px}.crest.sm{width:42px;font-size:12px}.crest.md{width:58px;font-size:15px}.crest.lg{width:80px;font-size:20px}.crest.neutral{background:linear-gradient(#d9d9d9,#777);color:#111}

/* DASHBOARD */
.statline{display:flex;gap:8px;flex-wrap:wrap}
.statline span{
  min-width:112px;padding:8px 10px;background:#040a05;border:1px solid #52685a;
  color:#91a090;font-size:10px;text-transform:uppercase;
}
.statline b{display:block;margin-top:3px;color:var(--yellow);font-family:"Oswald",sans-serif;font-size:21px}
.league-position{
  width:82px;height:82px;display:grid;place-items:center;text-align:center;
  background:#06421a;border:2px solid var(--yellow);box-shadow:0 0 0 2px #111;
}
.league-position strong{display:block;color:#fff;font-size:34px;line-height:1}
.league-position small{display:block;margin-top:5px;color:var(--yellow);font-size:9px;text-transform:uppercase}
.dashboard-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:0 0 18px}
.strip-item{
  min-height:70px;padding:12px 14px;background:linear-gradient(180deg,#0c4218,#082b10);
  border:1px solid #347244;
}
.strip-item b{display:block;margin-top:5px;color:var(--yellow);font-family:"Oswald",sans-serif;font-size:18px}
.metric{min-height:138px;background:linear-gradient(180deg,#0a3915,#07260e);border-color:#2f6b3e}
.metric small{display:block;color:#9aac9b;font-size:10px;text-transform:uppercase}
.metric strong{display:block;margin:4px 0 13px;color:var(--yellow);font-size:28px;line-height:1.05}

/* GAME WINDOWS */
.retro-window{padding:0;background:#030704;border:1px solid #556153;box-shadow:0 8px 20px rgba(0,0,0,.3)}
.retro-title{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  min-height:32px;padding:6px 10px;background:linear-gradient(180deg,#0d3791,#082365);
  border-bottom:1px solid #778ab4;color:#fff;font-size:11px;font-weight:700;letter-spacing:.5px;text-transform:uppercase;
}
.retro-title em{font-style:normal;color:var(--yellow)}
.fixture-card{margin-top:10px;padding:18px;background:#030704;border:1px solid #2a5734;text-align:center}
.fixture-teams{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:14px}
.fixture-team{display:grid;justify-items:center;gap:7px;color:#fff;font-family:"Oswald",sans-serif;font-size:18px;font-weight:700;text-transform:uppercase}
.versus{font-family:"Oswald",sans-serif;font-size:24px;color:var(--yellow)}
.score{font-size:46px;color:var(--yellow);line-height:1}.result{font-size:30px;color:var(--yellow)}
.turn-number{font-size:42px;color:var(--yellow)}
.status-pill{display:inline-block;padding:4px 7px;background:#0a3c16;border:1px solid #2d9546;color:#8dff9e;font-size:10px;font-weight:700}
.status-pill.played{background:#423900;border-color:#a48d13;color:#ffe765}

/* FORMS */
.form-card{max-width:560px;margin:42px auto;background:linear-gradient(180deg,#0b3187,#061c55);border-color:#3f66a9}
.form-card h1{font-size:34px;text-transform:uppercase;margin-bottom:18px}
.form-card form,.tactics{display:grid;gap:14px}
label{display:grid;gap:6px;color:#dce2d8;font-size:11px;text-transform:uppercase}
input,select{
  width:100%;padding:11px 12px;background:#020503;color:#fff;border:1px solid #5b6b5f;border-radius:0;
  font-family:"Share Tech Mono",monospace;font-size:15px;outline:none;
}
input:focus,select:focus{border-color:var(--yellow);box-shadow:0 0 0 1px var(--yellow)}
.notice{max-width:1392px;margin:0 auto 16px;padding:11px 14px;border:1px solid;font-weight:700}
.notice.success{background:#082c11;border-color:#2f9b4a;color:#9cffad}.notice.error{background:#390a0e;border-color:#d14d55;color:#ffb8bd}

/* TABLES */
.table-card{padding:0;overflow:hidden;background:#030603;border-color:#2e5b38}
.table-wrap{overflow:auto}
table{width:100%;min-width:720px;border-collapse:collapse;background:#030603}
th,td{padding:10px 12px;text-align:left;border-bottom:1px solid #1e3424}
th{
  background:linear-gradient(180deg,#0c3389,#071f5e);color:var(--yellow);border-bottom:2px solid var(--red);
  font-family:"Oswald",sans-serif;font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.35px;
}
td{color:#d9e0d7;font-size:14px}
tbody tr:nth-child(even){background:#061008}tbody tr:hover{background:#0b2410}.mine{background:#123d1b!important;box-shadow:inset 4px 0 var(--yellow)}
.club-cell{display:flex;align-items:center;gap:9px}.pos{display:inline-grid;place-items:center;min-width:34px;padding:3px 6px;background:#0a327e;border:1px solid #476dac;color:#fff;font-size:11px}

/* TEAM SELECTION */
.selection-count{display:inline-block;padding:8px 10px;background:#030603;border:1px solid #52675a;color:var(--yellow);font-size:12px}
.team-layout{display:grid;grid-template-columns:minmax(330px,.8fr) minmax(520px,1.2fr);gap:18px}
.player-select{display:grid;gap:5px;max-height:760px;overflow:auto;padding-right:3px}
.player-row{display:flex;align-items:center;gap:10px;padding:9px 10px;background:#030704;border:1px solid #23482c;cursor:pointer;text-transform:none}
.player-row:hover{background:#0a2510;border-color:#3f7c4d}.player-row input{width:auto;accent-color:var(--yellow)}.player-row span{display:grid}.player-row b{font-size:14px;color:#fff}.player-row small{margin-top:2px;color:#8fa08f;font-size:11px;text-transform:none}
.pitch{position:relative;min-height:600px;aspect-ratio:.72/1;overflow:hidden;border:3px solid #d6dccb;background:repeating-linear-gradient(90deg,#0f6427 0 12.5%,#16752d 12.5% 25%);box-shadow:0 0 0 2px #000,inset 0 0 30px rgba(0,0,0,.34)}
.pitch::before{content:"";position:absolute;inset:3.5% 4%;border:2px solid rgba(255,255,255,.82);background:linear-gradient(transparent 49.7%,rgba(255,255,255,.75) 49.7% 50.3%,transparent 50.3%)}
.pitch::after{content:"";position:absolute;left:50%;top:50%;width:22%;aspect-ratio:1;border:2px solid rgba(255,255,255,.82);border-radius:50%;transform:translate(-50%,-50%)}
.penalty-box{position:absolute;left:25%;width:50%;height:14%;border:2px solid rgba(255,255,255,.82);z-index:1}.penalty-box.top{top:3.5%;border-top:0}.penalty-box.bottom{bottom:3.5%;border-bottom:0}
.pitch-player{position:absolute;z-index:4;transform:translate(-50%,-50%);display:grid;justify-items:center;gap:2px;max-width:100px;text-align:center;transition:.18s}
.shirt{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:#f5cf12;border:2px solid #111;color:#111;font-size:11px;font-weight:700;box-shadow:2px 2px 0 #000}
.pitch-player b{max-width:94px;padding:2px 4px;background:#020503;color:#fff;font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.muted{font-size:11px;color:#91a091}

/* FIXTURES / NEWS */
.match-list{display:grid;gap:7px}.match-row{display:grid;grid-template-columns:72px 1fr 120px;align-items:center;gap:14px;padding:11px 12px;background:#030704;border:1px solid #24492d}.match-row:hover{background:#09210d}.teams{display:grid;gap:6px}.teams span{display:flex;align-items:center;gap:8px;color:#fff;font-size:14px;font-weight:700}
.gazette-head{text-align:center;background:#eee7cf;color:#15160e;border:2px solid #b7ac8b;box-shadow:0 8px 18px rgba(0,0,0,.3)}.gazette-head .eyebrow,.gazette-head p{color:#4e4b3a}.gazette-title{margin:7px 0 10px;padding:8px 0;border-top:3px solid #15160e;border-bottom:3px solid #15160e;color:#15160e;font-family:Georgia,serif;font-size:46px;font-weight:700;text-transform:none}
.news-list{display:grid;gap:14px}.news-list article.card{margin:0;background:#e8e0c7;border-color:#a59b7d;color:#16170f}.news-list article h2{margin:4px 0 8px;color:#17180f;font-family:Georgia,serif;font-size:25px;text-transform:none}.news-list article p,.news-list article small{color:#4b493a}.news-list article small{font-size:11px}
.club-grid .club-card{background:linear-gradient(180deg,#0a3514,#07240d)}.club-grid .club-card h3{margin:8px 0;color:var(--yellow);font-size:22px;text-transform:uppercase}

footer{max-width:1440px;margin:0 auto 28px;padding:16px 22px;display:flex;align-items:center;gap:12px;background:#061d58;border-top:3px solid var(--red);border-left:1px solid #355795;border-right:1px solid #355795;border-bottom:1px solid #355795;color:#fff}
footer b{display:block;font-family:"Oswald",sans-serif;font-size:20px;text-transform:uppercase}footer small{color:#aebbe0}.footer-ball{width:38px;height:38px;display:grid;place-items:center;color:#fff;font-size:34px;filter:drop-shadow(2px 2px 0 #000)}

@media(max-width:1120px){
  .topbar{padding-left:18px;padding-right:18px}.club-chip{display:none}.nav-toggle{display:block}.topbar nav{display:none;position:absolute;left:0;right:0;top:92px;padding:10px 18px;background:#061d58;border-bottom:3px solid var(--red);grid-template-columns:repeat(2,1fr)}body.nav-open .topbar nav{display:grid}.grid.four{grid-template-columns:repeat(2,minmax(0,1fr))}.team-layout{grid-template-columns:1fr}.landing-hero{padding-right:39%}.landing-hero::after{right:3%;width:34%}.landing-hero::before{right:4.4%;width:29%;font-size:9px}.dashboard-strip{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:720px){
  body{font-size:15px}.topbar{min-height:74px;padding:8px 12px}.brand{min-width:0}.brand-copy b{font-size:22px}.brand-copy small{display:none}.brand-ball{width:36px;height:36px;font-size:34px}.topbar nav{top:74px;grid-template-columns:1fr}.wrap{padding:18px 12px 48px}.grid.two,.grid.three,.grid.four{grid-template-columns:1fr}.landing-hero{min-height:570px;padding:30px 20px 245px}.landing-hero h1{font-size:43px}.landing-hero::after{left:8%;right:8%;top:auto;bottom:22px;width:auto;height:205px;transform:none}.landing-hero::before{left:11%;right:11%;top:auto;bottom:48px;width:auto;height:145px;font-size:7.5px;line-height:1.45;padding:10px}.manager-hero{grid-template-columns:auto 1fr}.manager-hero h1{font-size:31px}.league-position{grid-column:1/-1;width:100%;height:auto;padding:10px}.page-head{align-items:flex-start}.page-head h1{font-size:27px}.fixture-teams{gap:6px}.fixture-team{font-size:14px}.team-layout{display:block}.pitch{min-height:500px}.match-row{grid-template-columns:52px 1fr 82px}.dashboard-strip{grid-template-columns:1fr 1fr}.gazette-title{font-size:35px}footer{margin:0 12px 20px}.crest.lg{width:68px}
}

/* BUILD 007 — PROCEDURAL CLUB IDENTITY + PLAYER PORTRAITS */
.crest{display:block;flex:0 0 auto;height:auto;aspect-ratio:auto;background:none!important;clip-path:none!important;color:inherit;text-shadow:none;filter:drop-shadow(2px 3px 0 rgba(0,0,0,.7));overflow:visible}
.crest::after{display:none!important}
.crest.xs{width:30px}.crest.sm{width:46px}.crest.md{width:64px}.crest.lg{width:90px}
.club-crest{shape-rendering:geometricPrecision}
.club-chip .crest.xs{width:30px}
.club-cell .crest.xs{width:30px}

.player-portrait{display:inline-grid;place-items:center;overflow:hidden;flex:0 0 auto;background:#061d58;border:1px solid #6f82aa;box-shadow:2px 2px 0 #000}
.player-portrait svg{display:block;width:100%;height:100%}
.player-portrait.xs{width:44px;height:44px}.player-portrait.sm{width:64px;height:64px}.player-portrait.md{width:92px;height:92px}.player-portrait.xl{width:180px;height:180px;border-width:3px;box-shadow:6px 6px 0 #000}
.player-cell{display:flex;align-items:center;gap:10px;color:#fff;text-decoration:none;min-width:210px}
.player-cell>span:last-child{display:grid;gap:2px}.player-cell b{font-family:"Oswald",sans-serif;font-size:16px}.player-cell small{font-size:9px;color:#809184;text-transform:uppercase;letter-spacing:.55px}
.player-cell:hover b{color:var(--yellow)}
.rating-hi{color:var(--yellow)}
.player-row .player-portrait{margin-left:2px}.player-row>span:last-child{min-width:0}

.player-profile-window{padding:0;overflow:hidden;background:#020503;border-color:#66705f}
.player-profile-grid{display:grid;grid-template-columns:250px 1fr;gap:28px;padding:26px;background:linear-gradient(110deg,#061b0a,#020503 55%)}
.portrait-stage{display:grid;justify-items:center;align-content:start;gap:12px;padding:18px;background:#061d58;border:2px solid #a9a58e;box-shadow:7px 7px 0 #000}
.portrait-caption{width:100%;padding:7px;text-align:center;background:#020503;border:1px solid #69766b;color:var(--yellow);font-family:"Oswald",sans-serif;font-size:16px;font-weight:700;letter-spacing:.7px}
.player-profile-main h1{margin:8px 0 18px;font-family:"Black Ops One","Oswald",sans-serif;font-size:44px;text-transform:uppercase;line-height:1;color:#f4f0db;text-shadow:2px 2px 0 #000}
.player-clubline{display:flex;align-items:center;gap:10px;color:var(--yellow);font-family:"Oswald",sans-serif;font-size:15px;text-transform:uppercase}
.profile-meta{display:grid;grid-template-columns:repeat(4,minmax(100px,1fr));gap:8px;margin-bottom:20px}
.profile-meta span{padding:11px;background:#071009;border:1px solid #2d6a3c}.profile-meta small{display:block;color:#849587;font-size:9px;text-transform:uppercase}.profile-meta b{display:block;margin-top:4px;color:#fff;font-family:"Oswald",sans-serif;font-size:20px}
.ratings-board{max-width:680px;border:1px solid #31573a;background:#030704;padding:12px}
.rating-row{display:grid;grid-template-columns:80px 1fr 54px;align-items:center;gap:10px;padding:7px 5px;border-bottom:1px solid #17291b}.rating-row:last-child{border-bottom:0}.rating-row>span{color:#dfe4dc;text-transform:uppercase;font-size:11px}.rating-row>b{color:var(--yellow);font-family:"Oswald",sans-serif;font-size:18px;text-align:right}.rating-bar{height:12px;background:#111a12;border:1px solid #536057}.rating-bar i{display:block;height:100%;background:linear-gradient(90deg,#0f8b31,#d4db16)}

@media(max-width:720px){
  .crest.lg{width:72px}.player-portrait.xs{width:40px;height:40px}
  .player-profile-grid{grid-template-columns:1fr;padding:16px}.portrait-stage{max-width:260px;width:100%;margin:0 auto}.player-profile-main h1{font-size:34px;text-align:center}.player-clubline{justify-content:center}.profile-meta{grid-template-columns:1fr 1fr}.player-portrait.xl{width:160px;height:160px}
}

/* BUILD 011 - TEAM SELECTION GROUPS + SHIRT PITCH MARKERS */
.matchday-card{padding:0;overflow:hidden}.matchday-card>.retro-title{margin:0}.team-filters{display:grid;grid-template-columns:minmax(180px,1.4fr) minmax(120px,.7fr) minmax(150px,.9fr);gap:8px;padding:10px;background:#061009;border-bottom:1px solid #21482b}.team-filters label{display:grid;gap:4px;margin:0}.team-filters label>span{color:#ffd400;font-size:10px;text-transform:uppercase}.team-filters input,.team-filters select{width:100%;min-width:0;padding:8px 9px;border:1px solid #315a3a;background:#020503;color:#fff;font:inherit;font-size:12px}.team-squad-groups{display:grid;gap:10px;padding:10px;max-height:820px;overflow:auto}.team-position-group{border:1px solid #1c6030;background:#020503}.team-position-group>header{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 10px;background:linear-gradient(180deg,#0b3515,#07240d);border-bottom:1px solid #1c6030}.team-position-group h3{margin:0;color:#fff;font-size:15px}.team-position-group h3 i{width:20px;color:#ffd400;text-align:center}.team-position-group header>span{color:#ffd400;font-size:10px}.team-player-list{display:grid}.team-player-row{display:grid;grid-template-columns:24px 46px minmax(130px,1fr) 44px 44px 52px 44px;align-items:center;gap:8px;min-height:62px;padding:7px 9px;border:0;border-bottom:1px solid #16351e;background:#020503;cursor:pointer;text-transform:none}.team-player-row:last-child{border-bottom:0}.team-player-row:hover{background:#09200d}.team-player-row.is-selected{background:#11371a;box-shadow:inset 4px 0 #ffd400}.team-player-row[hidden]{display:none!important}.team-player-row input{width:16px;height:16px;margin:0;accent-color:#ffd400}.team-player-main{display:grid;min-width:0}.team-player-main b{overflow:hidden;color:#fff;font-size:13px;text-overflow:ellipsis;white-space:nowrap}.team-player-main small{margin-top:2px;color:#8fa08f;font-size:10px}.team-mini-stat{display:grid!important;justify-items:center;gap:1px}.team-mini-stat small{color:#6f8272!important;font-size:8px!important;margin:0!important}.team-mini-stat b{color:#fff!important;font-size:11px!important}.pitch-card{padding:0;overflow:hidden}.pitch-card>.retro-title{margin:0}.pitch-card .pitch{margin:12px}.pitch-player{max-width:150px;gap:4px}.pitch-player .kit-shirt{position:relative;width:48px;height:43px;display:grid;place-items:center;background:hsl(var(--shirt-hue) 76% 43%);border:3px solid #080808;border-radius:4px 4px 7px 7px;color:#fff;font-family:"Oswald",sans-serif;font-size:17px;font-weight:800;line-height:1;text-shadow:1px 1px 0 rgba(0,0,0,.8);filter:drop-shadow(3px 4px 0 rgba(0,0,0,.72))}.pitch-player .kit-shirt::before,.pitch-player .kit-shirt::after{content:"";position:absolute;top:4px;width:16px;height:22px;background:hsl(var(--shirt-hue) 76% 43%);border:3px solid #080808;z-index:-1}.pitch-player .kit-shirt::before{left:-12px;transform:skewY(-28deg);border-radius:5px 0 3px 5px}.pitch-player .kit-shirt::after{right:-12px;transform:skewY(28deg);border-radius:0 5px 5px 3px}.pitch-player .kit-shirt .kit-neck{position:absolute;top:-3px;left:50%;width:15px;height:9px;transform:translateX(-50%);background:#111;border-radius:0 0 10px 10px}.pitch-player .kit-shirt.gk{--shirt-hue:52!important;background:hsl(52 94% 52%);color:#111;text-shadow:none}.pitch-player .kit-shirt.gk::before,.pitch-player .kit-shirt.gk::after{background:hsl(52 94% 52%)}.pitch-player b{display:block;max-width:146px;padding:3px 7px;background:#020503;color:#fff;border:1px solid rgba(255,255,255,.2);font-size:13px;line-height:1.05;font-weight:700;text-shadow:1px 1px 0 #000;box-shadow:2px 2px 0 rgba(0,0,0,.65);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pitch-player .pitch-pos{padding:2px 5px;background:#071f5e;color:#ffd400;font-size:10px;font-weight:700;border:1px solid #476dac;line-height:1}
@media(max-width:900px){.team-filters{grid-template-columns:1fr 1fr}.team-search{grid-column:1/-1}.team-player-row{grid-template-columns:22px 42px minmax(120px,1fr) 40px 40px 48px 40px;gap:6px}.team-mini-stat b{font-size:10px!important}}
@media(max-width:560px){.team-filters{grid-template-columns:1fr}.team-search{grid-column:auto}.team-player-row{grid-template-columns:22px 42px minmax(120px,1fr) 40px 44px}.team-mini-stat:nth-of-type(4),.team-mini-stat:nth-of-type(5){display:none!important}.team-squad-groups{padding:7px}.pitch-card .pitch{margin:8px}.pitch-player{max-width:132px}.pitch-player .kit-shirt{width:44px;height:40px;font-size:16px}.pitch-player .kit-shirt::before,.pitch-player .kit-shirt::after{width:15px;height:20px}.pitch-player .kit-shirt::before{left:-11px}.pitch-player .kit-shirt::after{right:-11px}.pitch-player b{max-width:128px;font-size:12px;padding:3px 6px}.pitch-player .pitch-pos{font-size:9px;padding:2px 4px}}


/* Build 013 - clearer pitch position badges */
.pitch-player .pitch-pos,
.pitch-player .player-position,
.pitch-player [class*="position"],
.pitch-player [class*="pos-badge"]{
    min-width:30px !important;
    min-height:19px !important;
    padding:3px 6px !important;
    font-size:13px !important;
    line-height:13px !important;
    font-weight:900 !important;
    letter-spacing:.5px !important;
    text-align:center !important;
}

@media (max-width:760px){
    .pitch-player .pitch-pos,
    .pitch-player .player-position,
    .pitch-player [class*="position"],
    .pitch-player [class*="pos-badge"]{
        min-width:34px !important;
        min-height:21px !important;
        padding:4px 7px !important;
        font-size:14px !important;
        line-height:14px !important;
    }
}


/* Build 014 — Sensible Soccer-style tactical shirts */
.pitch-player{
    --shirt-main:#5a23d6;
    --shirt-dark:#18083f;
    --shirt-trim:#ffffff;
}

.pitch-player .shirt,
.pitch-player .player-shirt,
.pitch-player [class*="pitch-shirt"]{
    position:relative !important;
    width:58px !important;
    height:48px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    background:none !important;
    border:0 !important;
    border-radius:0 !important;
    box-shadow:none !important;
    overflow:visible !important;
}

/* torso */
.pitch-player .shirt::before,
.pitch-player .player-shirt::before,
.pitch-player [class*="pitch-shirt"]::before{
    content:"" !important;
    position:absolute !important;
    left:13px !important;
    top:7px !important;
    width:32px !important;
    height:36px !important;
    background:
        linear-gradient(to bottom,rgba(255,255,255,.20) 0 5px,transparent 5px),
        var(--shirt-main) !important;
    border:3px solid #090909 !important;
    border-top-width:4px !important;
    box-sizing:border-box !important;
    clip-path:polygon(12% 0,36% 0,42% 8%,58% 8%,64% 0,88% 0,100% 12%,93% 100%,7% 100%,0 12%) !important;
    filter:drop-shadow(2px 3px 0 rgba(0,0,0,.45));
    z-index:1;
}

/* sleeves */
.pitch-player .shirt::after,
.pitch-player .player-shirt::after,
.pitch-player [class*="pitch-shirt"]::after{
    content:"" !important;
    position:absolute !important;
    left:1px !important;
    top:10px !important;
    width:56px !important;
    height:22px !important;
    background:
        linear-gradient(90deg,
            var(--shirt-main) 0 18%,
            transparent 18% 82%,
            var(--shirt-main) 82% 100%) !important;
    clip-path:polygon(0 24%,16% 0,28% 18%,22% 100%,8% 86%,0 60%,100% 60%,92% 86%,78% 100%,72% 18%,84% 0,100% 24%,100% 60%,0 60%) !important;
    filter:
        drop-shadow(-2px 1px 0 #090909)
        drop-shadow(2px 1px 0 #090909)
        drop-shadow(0 2px 0 #090909);
    z-index:0;
}

.pitch-player .shirt-number,
.pitch-player .player-number,
.pitch-player [class*="shirt-number"]{
    position:relative !important;
    z-index:3 !important;
    margin-top:3px !important;
    font-family:"Oswald",sans-serif !important;
    font-size:22px !important;
    line-height:1 !important;
    font-weight:900 !important;
    color:#fff !important;
    text-shadow:2px 2px 0 #000,-1px -1px 0 #000,1px -1px 0 #000,-1px 1px 0 #000 !important;
}

/* visible collar */
.pitch-player .shirt-collar{
    position:absolute;
    z-index:4;
    left:24px;
    top:6px;
    width:10px;
    height:7px;
    background:#080808;
    clip-path:polygon(0 0,100% 0,50% 100%);
}

/* give generic shirt-number spans a collar without JS markup changes where possible */
.pitch-player .shirt-number::before,
.pitch-player .player-number::before,
.pitch-player [class*="shirt-number"]::before{
    content:"";
    position:absolute;
    width:10px;
    height:6px;
    left:50%;
    top:-15px;
    transform:translateX(-50%);
    background:#090909;
    clip-path:polygon(0 0,100% 0,50% 100%);
}

/* bolder player labels to suit larger shirts */
.pitch-player .pitch-name,
.pitch-player .player-name,
.pitch-player [class*="name-plate"]{
    margin-top:3px !important;
    min-width:58px !important;
    padding:3px 6px !important;
    font-size:13px !important;
    line-height:14px !important;
    font-weight:900 !important;
}

/* goalkeeper shirt remains distinct */
.pitch-player.is-gk,
.pitch-player[data-position="GK"]{
    --shirt-main:#ffd400;
    --shirt-dark:#6b5100;
    --shirt-trim:#111;
}

.pitch-player.is-gk .shirt-number,
.pitch-player[data-position="GK"] .shirt-number,
.pitch-player.is-gk .player-number,
.pitch-player[data-position="GK"] .player-number{
    color:#111 !important;
    text-shadow:1px 1px 0 rgba(255,255,255,.35) !important;
}

/* mobile: intentionally larger, not smaller */
@media (max-width:760px){
    .pitch-player .shirt,
    .pitch-player .player-shirt,
    .pitch-player [class*="pitch-shirt"]{
        width:64px !important;
        height:53px !important;
    }

    .pitch-player .shirt::before,
    .pitch-player .player-shirt::before,
    .pitch-player [class*="pitch-shirt"]::before{
        left:14px !important;
        width:36px !important;
        height:40px !important;
    }

    .pitch-player .shirt::after,
    .pitch-player .player-shirt::after,
    .pitch-player [class*="pitch-shirt"]::after{
        width:62px !important;
        height:24px !important;
    }

    .pitch-player .shirt-number,
    .pitch-player .player-number,
    .pitch-player [class*="shirt-number"]{
        font-size:24px !important;
    }

    .pitch-player .pitch-name,
    .pitch-player .player-name,
    .pitch-player [class*="name-plate"]{
        min-width:64px !important;
        font-size:14px !important;
        line-height:15px !important;
    }
}


/* Build 015 — actual 90s pixel footballers on tactical pitch */
.pixel-footballer{
    width:76px !important;
    max-width:76px !important;
    gap:2px !important;
}
.sensible-sprite{
    position:relative;
    width:54px;
    height:70px;
    image-rendering:pixelated;
    transform:translateZ(0);
}
.sensible-sprite i,.sensible-sprite span{position:absolute;display:block;box-sizing:border-box}
.sensible-sprite .px-shadow{
    left:3px;bottom:0;width:49px;height:8px;
    background:#073c18;
    clip-path:polygon(0 55%,18% 55%,18% 20%,60% 20%,60% 0,100% 0,100% 50%,64% 50%,64% 100%,0 100%);
    opacity:.9;
}
.sensible-sprite .px-head{
    left:18px;top:0;width:20px;height:22px;
    background:var(--skin);
    border:3px solid #090909;
    z-index:5;
}
.sensible-sprite .px-face{
    left:5px;top:10px;width:4px;height:5px;background:#111;
    box-shadow:8px 0 0 #111;
}
.sensible-sprite .px-hair{
    left:-3px;top:-3px;width:20px;height:7px;background:var(--hair);
}
.sensible-sprite.hair-1 .px-hair{width:24px;height:11px;left:-5px;clip-path:polygon(0 0,100% 0,100% 70%,80% 70%,80% 100%,0 100%)}
.sensible-sprite.hair-2 .px-hair{height:14px;clip-path:polygon(0 0,100% 0,100% 55%,72% 55%,72% 100%,18% 100%,18% 70%,0 70%)}
.sensible-sprite.hair-3 .px-hair{height:5px;top:-2px}
.sensible-sprite .px-body{
    left:12px;top:21px;width:32px;height:30px;z-index:4;
}
.sensible-sprite .px-shirt{
    inset:0;
    background:hsl(var(--shirt-hue) 76% 43%);
    border:3px solid #090909;
}
.sensible-sprite .px-shirt::before,
.sensible-sprite .px-shirt::after{
    content:"";position:absolute;top:2px;width:12px;height:16px;
    background:hsl(var(--shirt-hue) 76% 43%);
    border:3px solid #090909;
}
.sensible-sprite .px-shirt::before{left:-12px}
.sensible-sprite .px-shirt::after{right:-12px}
.sensible-sprite .px-arm{
    top:8px;width:7px;height:15px;background:var(--skin);border:2px solid #090909;z-index:-1
}
.sensible-sprite .px-arm.left{left:-15px}.sensible-sprite .px-arm.right{right:-15px}
.sensible-sprite .px-number{
    left:50%;top:8px;transform:translateX(-50%);
    color:#fff;font:900 15px/1 "Oswald",sans-serif;
    text-shadow:1px 1px #000;z-index:4
}
.sensible-sprite .px-lower{
    left:16px;top:49px;width:24px;height:19px;z-index:3;
}
.sensible-sprite .px-shorts{
    left:0;top:0;width:24px;height:8px;background:#f5f5f5;border:2px solid #090909;
}
.sensible-sprite .px-leg{
    top:7px;width:7px;height:10px;background:var(--skin);border-left:2px solid #090909;border-right:2px solid #090909;
}
.sensible-sprite .px-leg.left{left:2px}.sensible-sprite .px-leg.right{right:2px}
.sensible-sprite .px-boot{
    top:15px;width:11px;height:5px;background:#090909;
}
.sensible-sprite .px-boot.left{left:-1px}.sensible-sprite .px-boot.right{right:-1px}
.pixel-footballer.is-gk .px-shirt,
.pixel-footballer.is-gk .px-shirt::before,
.pixel-footballer.is-gk .px-shirt::after{background:#ffd400}
.pixel-footballer.is-gk .px-number{color:#111;text-shadow:none}
.pixel-footballer .pitch-name{
    min-width:62px !important;
    max-width:76px !important;
    margin:0 !important;
    padding:3px 5px !important;
    font-size:12px !important;
    line-height:13px !important;
}
.pixel-footballer .pitch-pos{
    min-width:30px !important;
    padding:3px 6px !important;
    font-size:12px !important;
    line-height:12px !important;
}
@media(max-width:760px){
    .pixel-footballer{width:82px !important;max-width:82px !important}
    .sensible-sprite{width:60px;height:77px;transform:scale(1.08);transform-origin:center bottom;margin-bottom:4px}
    .pixel-footballer .pitch-name{min-width:68px !important;max-width:82px !important;font-size:13px !important;line-height:14px !important}
    .pixel-footballer .pitch-pos{min-width:34px !important;font-size:13px !important;line-height:13px !important}
}


/* Build 016 — mockup-style shirts only on tactical pitch */
.pitch-player.shirt-only-marker{
    width:82px !important;
    max-width:82px !important;
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    justify-content:flex-start !important;
    gap:3px !important;
    transform:translate(-50%,-50%) !important;
    overflow:visible !important;
}

.shirt-only-marker .mockup-shirt{
    position:relative !important;
    width:62px !important;
    height:54px !important;
    margin:0 !important;
    background:transparent !important;
    border:0 !important;
    border-radius:0 !important;
    box-shadow:none !important;
    overflow:visible !important;
    image-rendering:pixelated;
}

/* torso */
.shirt-only-marker .mockup-shirt::before{
    content:"" !important;
    position:absolute !important;
    left:13px !important;
    top:8px !important;
    width:36px !important;
    height:40px !important;
    box-sizing:border-box !important;
    background:
      linear-gradient(to bottom,#fff 0 5px,transparent 5px 100%),
      hsl(var(--shirt-hue) 78% 44%) !important;
    border:4px solid #080808 !important;
    clip-path:polygon(
      0 9px,
      8px 0,
      14px 0,
      18px 6px,
      22px 6px,
      26px 0,
      28px 0,
      36px 9px,
      34px 40px,
      2px 40px
    ) !important;
    z-index:2 !important;
}

/* left and right sleeves */
.shirt-only-marker .mockup-shirt::after{
    content:"" !important;
    position:absolute !important;
    left:1px !important;
    top:12px !important;
    width:60px !important;
    height:22px !important;
    background:
      linear-gradient(
        90deg,
        hsl(var(--shirt-hue) 78% 44%) 0 19%,
        transparent 19% 81%,
        hsl(var(--shirt-hue) 78% 44%) 81% 100%
      ) !important;
    clip-path:polygon(
      0 7px, 12px 0, 19px 5px, 14px 22px, 4px 18px, 0 13px,
      60px 13px, 56px 18px, 46px 22px, 41px 5px, 48px 0, 60px 7px
    ) !important;
    filter:
      drop-shadow(-3px 0 0 #080808)
      drop-shadow(3px 0 0 #080808)
      drop-shadow(0 -3px 0 #080808)
      drop-shadow(0 3px 0 #080808);
    z-index:1 !important;
}

/* simple black V-neck */
.shirt-only-marker .mockup-shirt-number::before{
    content:"" !important;
    position:absolute !important;
    left:50% !important;
    top:-10px !important;
    transform:translateX(-50%) !important;
    width:13px !important;
    height:8px !important;
    background:#080808 !important;
    clip-path:polygon(0 0,100% 0,50% 100%) !important;
}

.shirt-only-marker .mockup-shirt-number{
    position:absolute !important;
    z-index:4 !important;
    left:50% !important;
    top:20px !important;
    transform:translateX(-50%) !important;
    min-width:24px !important;
    text-align:center !important;
    color:#fff !important;
    font-family:"Oswald",sans-serif !important;
    font-size:23px !important;
    line-height:1 !important;
    font-weight:900 !important;
    letter-spacing:0 !important;
    text-shadow:2px 2px 0 #000 !important;
}

.shirt-only-marker.is-gk .mockup-shirt::before{
    background:
      linear-gradient(to bottom,#111 0 5px,transparent 5px 100%),
      #ffd400 !important;
}
.shirt-only-marker.is-gk .mockup-shirt::after{
    background:
      linear-gradient(90deg,#ffd400 0 19%,transparent 19% 81%,#ffd400 81% 100%) !important;
}
.shirt-only-marker.is-gk .mockup-shirt-number{
    color:#111 !important;
    text-shadow:none !important;
}

.shirt-only-marker .pitch-name{
    display:block !important;
    min-width:66px !important;
    max-width:82px !important;
    padding:4px 6px !important;
    margin:0 !important;
    background:#050505 !important;
    color:#fff !important;
    border:2px solid #202020 !important;
    border-radius:0 !important;
    font-family:"Oswald",sans-serif !important;
    font-size:13px !important;
    line-height:14px !important;
    font-weight:700 !important;
    text-align:center !important;
    white-space:nowrap !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
    box-sizing:border-box !important;
}

.shirt-only-marker .pitch-pos{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    min-width:34px !important;
    min-height:22px !important;
    padding:3px 7px !important;
    margin:0 !important;
    background:#073a99 !important;
    color:#ffd400 !important;
    border:2px solid #275dcc !important;
    border-radius:0 !important;
    font-family:"Oswald",sans-serif !important;
    font-size:13px !important;
    line-height:13px !important;
    font-weight:900 !important;
    box-sizing:border-box !important;
}

@media(max-width:760px){
    .pitch-player.shirt-only-marker{
        width:90px !important;
        max-width:90px !important;
    }

    .shirt-only-marker .mockup-shirt{
        width:68px !important;
        height:59px !important;
        transform:scale(1.08);
        transform-origin:center bottom;
        margin-bottom:3px !important;
    }

    .shirt-only-marker .mockup-shirt-number{
        font-size:25px !important;
    }

    .shirt-only-marker .pitch-name{
        min-width:72px !important;
        max-width:90px !important;
        font-size:14px !important;
        line-height:15px !important;
    }

    .shirt-only-marker .pitch-pos{
        min-width:38px !important;
        min-height:24px !important;
        font-size:14px !important;
        line-height:14px !important;
    }
}

/* Build 017 — team selector matches tactical pitch height */
@media (min-width:901px){
  .team-layout{align-items:start}
  .matchday-card{
    display:flex;
    flex-direction:column;
    min-height:0;
    overflow:hidden;
  }
  .matchday-card>.retro-title,
  .matchday-card>.team-filters{flex:0 0 auto}
  .team-squad-groups{
    flex:1 1 auto;
    min-height:0;
    max-height:none;
    overflow-y:auto;
    overflow-x:hidden;
    scrollbar-gutter:stable;
  }
  .team-position-group>header{
    position:sticky;
    top:0;
    z-index:3;
  }
}

/* BUILD 067 — HEADER WIDTH / CLUB CHIP FIX */
@media (min-width:1121px){
  .topbar{gap:12px;padding-left:max(14px,calc((100vw - 1480px)/2));padding-right:max(14px,calc((100vw - 1480px)/2))}
  .brand-wrap{gap:10px;flex:0 1 auto}
  .brand{min-width:270px}
  .club-chip{flex:0 0 auto;min-width:148px;max-width:178px;height:48px;padding:5px 8px;gap:6px;overflow:hidden}
  .club-chip .club-chip-label{flex:0 0 auto}
  .club-chip .crest.xs{flex:0 0 26px;width:26px}
  .club-chip > span:last-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px}
  .topbar nav{gap:1px;min-width:0;flex:0 1 auto}
  .topbar nav a{min-height:48px;padding:8px 8px;gap:5px;font-size:13px;letter-spacing:.25px}
  .topbar nav a i{width:16px;font-size:14px}
  .topbar nav .logout{margin-left:5px}
}
@media (max-width:1320px) and (min-width:1121px){
  .brand{min-width:245px}
  .brand-copy b{font-size:26px}
  .brand-copy small{font-size:8px}
  .club-chip{min-width:132px;max-width:148px}
  .topbar nav a{padding-left:6px;padding-right:6px;font-size:12px}
}


/* Build 139 — nationality flag on every player portrait */
.player-portrait{
  position:relative;
  overflow:visible;
}
.player-portrait .nationality-flag-svg{
  display:block;
  width:100%;
  height:100%;
}
.player-nationality-flag{
  position:absolute;
  left:50%;
  bottom:-7px;
  transform:translateX(-50%);
  z-index:8;
  width:24px;
  height:16px;
  padding:1px;
  box-sizing:border-box;
  background:#eef2e8;
  border:2px solid #071a46;
  box-shadow:1px 2px 0 #000;
  pointer-events:none;
}
.player-portrait.xs .player-nationality-flag{
  width:20px;
  height:14px;
  bottom:-6px;
  border-width:1px;
}
.player-portrait.sm .player-nationality-flag{
  width:24px;
  height:16px;
}
.player-portrait.md .player-nationality-flag{
  width:30px;
  height:19px;
  bottom:-8px;
}
.player-portrait.xl .player-nationality-flag{
  width:42px;
  height:27px;
  bottom:-12px;
  padding:2px;
  border-width:3px;
  box-shadow:3px 3px 0 #000;
}
