:root {
  --gold: #dcb800;
  --black: #000;
  --bg: #090909;
  --surface: #121212;
  --raised: #191919;
  --border: #292929;
  --muted: #90908b;
  --text: #fff;
  --radius: 12px;
  font-family:
    Inter,
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color-scheme: dark;
}
/* Denser manager/admin layouts retain touch targets and the fixed scrolling navigation. */
.main:not(.landing) .grid.three{grid-template-columns:repeat(3,minmax(0,1fr));}
.main:not(.landing) .grid.three>*{min-width:0;}
.main:not(.landing) input[type="datetime-local"]{min-width:0;max-width:100%;}
@media(max-width:1000px){.main:not(.landing) .grid.three{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:650px){.main:not(.landing) .grid.three{grid-template-columns:minmax(0,1fr);}}
.main:not(.landing) .grid.three.career-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;}
.career-summary small{font-size:9px;line-height:1.4;display:block;}
.career-summary h2{font-size:20px;margin:8px 0 0;}
@media(min-width:1001px){
  body.has-sidebar .sidebar{width:208px;padding:12px;}
  body.has-sidebar .app-body{margin-left:208px;}
  .sidebar .brand{padding-bottom:12px;}
  .sidebar .brand img{width:126px;height:70px;}
  .sidebar .nav-item{padding:8px 10px;font-size:11px;gap:9px;}
  .sidebar .nav-label{margin:9px 10px;}
  .app-body .topbar{min-height:66px;padding-inline:26px;}
  .app-body .main:not(.landing){padding:26px;font-size:13px;}
  .main:not(.landing) .panel{padding:20px;}
  .main:not(.landing) h1{font-size:34px;}
  .main:not(.landing) th,.main:not(.landing) td{padding:10px 12px;}
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  line-height: 1.6;
}
a {
  color: inherit;
  text-decoration: none;
}
a,
button,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
a:hover {
  color: var(--gold);
}
button,
input,
select {
  font: inherit;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  line-height: 1.15;
  letter-spacing: -0.04em;
}
h1 {
  font-size: clamp(30px, 3.1vw, 46px);
  font-weight: 650;
  margin-bottom: 14px;
}
h2 {
  font-size: 21px;
  font-weight: 600;
}
h3 {
  font-size: 18px;
}
p {
  color: var(--muted);
}
small {
  font-size: 11px;
}
em {
  font-style: normal;
  color: var(--gold);
}
strong {
  font-weight: 650;
}
svg {
  flex-shrink: 0;
}
.gold,
.points {
  color: var(--gold);
}
.muted {
  color: var(--muted);
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 2px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.pill {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  border: 1px solid #4a4013;
  background: #292408;
  color: var(--gold);
  font-size: 9px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 650;
  padding: 5px 10px;
  border-radius: 5px;
}
.pill.subtle {
  background: #202020;
  color: #aaa;
  border-color: #303030;
}
.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 0 4px #dcb80010;
  flex-shrink: 0;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background: var(--gold);
  color: #080800;
  border: 1px solid var(--gold);
  border-radius: 6px;
  padding: 13px 20px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  transition:
    background 0.15s,
    transform 0.15s;
}
.button:hover {
  background: #f0cc14;
  color: #000;
  transform: translateY(-1px);
}
.button.secondary {
  color: #eee;
  background: #191919;
  border-color: #333;
}
.button.secondary:hover {
  background: #262626;
  border-color: #666;
}
.button.small {
  font-size: 11px;
  padding: 9px 13px;
  gap: 9px;
}
.button.full {
  width: 100%;
}
.text-link {
  font-size: 12px;
  border-bottom: 1px solid #62625b;
  padding-bottom: 5px;
}
.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  margin-bottom: 24px;
  min-width: 0;
}
.grid {
  display: grid;
  gap: 24px;
  align-items: start;
}
.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));
}
.grid > .panel {
  margin-bottom: 0;
}
.grid + section,
.grid + .grid {
  margin-top: 24px;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 10px 0 32px;
}
.page-heading p:last-child {
  margin-bottom: 0;
}
.section-heading,
.panel-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}
.section-heading h2,
.panel-heading h2 {
  margin-bottom: 0;
}
.section-heading .eyebrow {
  margin-bottom: 8px;
}
.section-heading > a {
  font-size: 11px;
  color: var(--muted);
}
.panel-heading h2 {
  font-size: 15px;
  color: var(--gold);
}
.panel-heading h2 span {
  color: #fff;
  margin-left: 9px;
}
hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 28px 0;
}
.fine-print {
  font-size: 11px;
  line-height: 1.7;
  color: #8f8f88;
  margin: 20px 0 0;
}
.skip {
  position: absolute;
  top: -100px;
  left: 20px;
  z-index: 200;
  background: var(--gold);
  color: #000;
  padding: 10px;
}
.skip:focus {
  top: 0;
}
.sidebar {
  height: 100vh;
  height: 100dvh;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  scrollbar-gutter: stable;
  width: 230px;
  position: fixed;
  inset: 0 auto 0 0;
  background: #050505;
  border-right: 1px solid #222;
  display: flex;
  flex-direction: column;
  padding: 18px 16px;
  z-index: 30;
}
.sidebar > * {
  flex-shrink: 0;
}
.brand {
  display: block;
  text-align: center;
  padding: 3px 0 25px;
}
.brand img {
  object-fit: contain;
}
.nav-label {
  font-size: 9px;
  letter-spacing: 2px;
  color: #666;
  margin: 12px 16px;
}
.nav-item {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 13px;
  color: #8e8e88;
  padding: 12px 14px;
  margin: 4px 0;
  background: none;
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: 12px;
  text-align: left;
}
.nav-item.active {
  background: #dcb8000e;
  border-color: #dcb80022;
  color: var(--gold);
}
.nav-item:hover {
  background: #151515;
  color: #fff;
}
.nav-item i {
  height: 5px;
  width: 5px;
  background: var(--gold);
  border-radius: 50%;
  margin-left: auto;
}
.sidebar-bottom {
  flex-shrink: 0;
  margin-top: auto;
}
.manager-chip {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 20px 10px 6px;
  border-top: 1px solid #252525;
  margin-top: 20px;
}
.manager-chip strong {
  font-size: 11px;
}
.manager-chip small {
  display: block;
  color: #777;
}
.manager-chip a {
  margin-left: auto;
  color: #888;
}
.avatar {
  display: grid;
  place-items: center;
  background: #272415;
  color: var(--gold);
  width: 34px;
  height: 34px;
  font-size: 13px;
  border-radius: 50%;
}
.has-sidebar .app-body {
  margin-left: 230px;
}
.topbar {
  min-height: 82px;
  padding: 0 38px;
  border-bottom: 1px solid #252525;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: #0a0a0a;
}
.breadcrumb {
  font-size: 9px;
  letter-spacing: 1.1px;
  color: #8e8e87;
}
.breadcrumb b {
  color: #444;
  margin: 0 15px;
}
.top-right {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  color: #8e8e87;
}
.club-top {
  display: flex;
  gap: 10px;
  align-items: center;
  color: #ddd;
  border-left: 1px solid #333;
  margin-left: 14px;
  padding-left: 22px;
}
.club-top img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}
.main {
  max-width: 1500px;
  padding: 38px;
  margin: 0 auto;
  min-height: calc(100vh - 160px);
}
footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 38px;
  color: #666;
  font-size: 9px;
  border-top: 1px solid #222;
  letter-spacing: 0.7px;
}
footer b {
  font-weight: 400;
  margin-left: 20px;
}
.creator-credit { white-space: nowrap; }
.creator-credit a { color: #c6b55f; text-underline-offset: 3px; }
.creator-credit a:hover { text-decoration: underline; }
.mobile-brand,
.mobile-nav {
  display: none;
}
.badge {
  object-fit: contain;
  width: 40px;
  height: 40px;
}
.badge.big {
  width: 90px;
  height: 90px;
}
.badge.huge {
  width: 100px;
  height: 100px;
}
.club-banner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid #4a411d;
  background: linear-gradient(110deg, #211e10, #15140c 65%, #1b1a12);
  padding: 32px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 24px;
}
.club-banner:after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border: 1px solid #dcb80013;
  border-radius: 50%;
  right: 150px;
  top: -100px;
  pointer-events: none;
}
.club-banner-info {
  display: flex;
  align-items: center;
  gap: 24px;
}
.club-banner h2 {
  font-size: 30px;
  margin-bottom: 9px;
}
.club-banner .eyebrow {
  margin-bottom: 8px;
}
.club-banner p:last-child {
  font-size: 12px;
  margin-bottom: 0;
  color: #b5b199;
}
.banner-stat {
  margin-right: 38px;
  z-index: 1;
}
.banner-stat > span {
  display: block;
  color: #a8a48d;
  letter-spacing: 1.4px;
  font-size: 9px;
}
.banner-stat strong {
  font-size: 42px;
  line-height: 1.4;
  color: var(--gold);
}
.banner-stat small {
  font-weight: 400;
  color: #8d8b79;
  font-size: 14px;
}
.banner-edit {
  position: absolute;
  top: 18px;
  right: 20px;
  color: #a8a48d;
}
.metric-grid {
  gap: 16px;
  margin-bottom: 24px;
}
.metric {
  padding: 22px 24px;
}
.metric > span {
  font-size: 9px;
  letter-spacing: 1.3px;
  color: #92928c;
}
.metric > strong {
  display: block;
  font-size: 33px;
  font-weight: 600;
  letter-spacing: -1.2px;
  margin: 8px 0 2px;
}
.metric > small {
  color: #81817c;
  font-size: 10px;
}
.dashboard-grid {
  grid-template-columns: 1.05fr 1fr;
  margin-bottom: 24px;
}
.match-time {
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.4px;
}
.versus {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 20px;
  padding: 20px 5px;
}
.versus > div {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 12px;
  text-align: center;
  width: 40%;
}
.versus img {
  object-fit: contain;
}
.versus > span {
  font-size: 16px;
  color: #777;
}
.versus strong {
  font-size: 13px;
}
.countdown {
  text-align: center;
  color: var(--gold);
  letter-spacing: 2px;
  font-size: 17px;
  margin: 18px 0 25px;
}
.empty {
  text-align: center;
  padding: 38px 25px;
  color: #999;
}
.empty p {
  font-size: 12px;
  max-width: 430px;
  margin: 12px auto 25px;
}
.empty h3 {
  color: #ddd;
  font-size: 17px;
}
.empty-icon {
  display: grid;
  place-items: center;
  background: #dcb8000b;
  border: 1px solid #dcb80020;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  color: var(--gold);
  margin: 0 auto 24px;
}
.formation-art {
  display: flex;
  align-items: center;
  gap: 35px;
  padding: 5px 0 18px;
}
.formation-art > div:last-child {
  display: flex;
  flex-direction: column;
}
.formation-art strong {
  font-size: 32px;
  line-height: 1.4;
}
.formation-art .eyebrow {
  margin-bottom: 2px;
  font-size: 9px;
}
.mini-pitch {
  width: 170px;
  height: 125px;
  border: 1px solid #5d5931;
  border-radius: 6px;
  position: relative;
  background: repeating-linear-gradient(
    0deg,
    #202016 0px,
    #202016 17px,
    #242419 17px,
    #242419 34px
  );
}
.mini-pitch:before {
  content: "";
  position: absolute;
  top: 49%;
  left: 0;
  right: 0;
  border-top: 1px solid #565232;
}
.mini-pitch i {
  position: absolute;
  border: 1px solid #565232;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  top: 44px;
  left: 66px;
}
.mini-player {
  position: absolute;
  border: 1px solid #a38c21;
  border-radius: 4px;
  background: #dcb800;
  color: #0a0a00;
  font-size: 8px;
  transform: translate(-50%, -50%);
  padding: 1px 4px;
  font-weight: 700;
}
.mp-0 {
  left: 50%;
  top: 89%;
}
.mp-1 {
  left: 50%;
  top: 65%;
}
.mp-2 {
  left: 24%;
  top: 42%;
}
.mp-3 {
  left: 76%;
  top: 42%;
}
.mp-4 {
  left: 50%;
  top: 16%;
}
.tactics-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 25px;
  margin: 0;
}
.tactics-list > div {
  display: flex;
  justify-content: space-between;
  padding-bottom: 8px;
  border-bottom: 1px solid #282828;
  font-size: 10px;
}
.tactics-list dt {
  color: #888;
}
.tactics-list dd {
  margin: 0;
  color: #ddd;
}
.fixture-row {
  display: grid;
  grid-template-columns: 125px 1fr 50px 1fr 85px;
  align-items: center;
  gap: 16px;
  border-top: 1px solid #292929;
  padding: 17px 0;
}
.fixture-row:hover {
  color: #fff;
  background: #ffffff03;
}
.fixture-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.fixture-meta > span {
  font-size: 9px;
  color: var(--gold);
  letter-spacing: 1px;
}
.fixture-meta small {
  font-size: 9px;
  color: #888;
}
.fixture-club {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 550;
}
.fixture-club img {
  object-fit: contain;
  width: 32px;
  height: 32px;
}
.fixture-club.home {
  justify-content: flex-end;
  text-align: right;
}
.fixture-score {
  text-align: center;
  font-size: 15px;
  white-space: nowrap;
  background: #242424;
  padding: 5px 0;
  border-radius: 4px;
}
.fixture-row > .pill {
  justify-self: end;
  font-size: 8px;
}
.note {
  border-left: 2px solid #695919;
  padding: 10px 17px;
  margin-top: 26px;
  color: #c6c5b9;
}
.note strong {
  font-size: 12px;
}
.note p {
  font-size: 11px;
  line-height: 1.8;
  margin: 6px 0 0;
}
.club-builder {
  grid-template-columns: 1.4fr 1fr;
}
.club-builder .panel {
  margin-bottom: 24px;
}
.badge-picker {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}
.badge-option {
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere;
  position: relative;
  cursor: pointer;
  border: 1px solid #303030;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 4px;
  gap: 8px;
  background: #191919;
}
.badge-option input {
  position: absolute;
  opacity: 0;
  width: 1px;
}
.badge-option:has(input:checked) {
  border-color: var(--gold);
  background: #dcb80010;
}
.badge-option:has(input:focus-visible) {
  outline: 2px solid #fff;
}
.badge-option img {
  object-fit: contain;
  width: 100%;
  max-width: 68px;
  height: 68px;
}
.badge-option span,
.badge-option figcaption {
  font-size: 9px;
  color: #aaa;
}
.kit-preview {
  height: 240px;
  display: grid;
  place-items: center;
  background: radial-gradient(ellipse, #dcb8000a, transparent 70%);
}
.kit-preview svg {
  width: 200px;
  height: 200px;
  filter: drop-shadow(0 10px 16px #000);
}
.kit-main {
  fill: var(--kit-primary, #dcb800);
  stroke: #ffffff20;
}
.kit-trim {
  fill: var(--kit-secondary, #000);
}
label {
  display: block;
  color: #bbb;
  font-size: 11px;
  font-weight: 500;
  margin: 16px 0;
}
input,
select {
  display: block;
  width: 100%;
  background: #0c0c0c;
  color: #eee;
  border: 1px solid #353535;
  border-radius: 5px;
  padding: 12px 13px;
  margin-top: 7px;
  font-size: 12px;
  min-width: 0;
}
input::placeholder {
  color: #5f5f5a;
}
input[type="color"] {
  height: 45px;
  padding: 5px;
  cursor: pointer;
}
input[type="range"] {
  padding: 0;
  accent-color: var(--gold);
}
input[type="checkbox"] {
  width: 16px;
  margin: 0;
  accent-color: var(--gold);
}
.checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
}
.form-feedback {
  border: 1px solid #853e35;
  border-radius: 5px;
  padding: 12px;
  color: #f1b6ad;
  background: #4b211c44;
  font-size: 12px;
}
.form-feedback.success {
  border-color: #61591f;
  color: #e1cd62;
  background: #25230a;
}
.squad-grid {
  grid-template-columns: 1.25fr 1fr;
}
.pitch {
  height: 470px;
  border: 1px solid #585536;
  border-radius: 7px;
  position: relative;
  background: repeating-linear-gradient(
    0deg,
    #1b2117 0,
    #1b2117 59px,
    #1e251a 59px,
    #1e251a 118px
  );
  margin: 20px 0;
}
.pitch:before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  border-top: 1px solid #596249;
}
.pitch:after {
  content: "";
  position: absolute;
  border: 1px solid #69715366;
  inset: 12px;
  pointer-events: none;
}
.pitch-circle {
  position: absolute;
  width: 100px;
  height: 100px;
  border: 1px solid #596249;
  border-radius: 50%;
  top: calc(50% - 50px);
  left: calc(50% - 50px);
}
.pitch-goal {
  width: 40%;
  height: 65px;
  border: 1px solid #596249;
  position: absolute;
  left: 30%;
}
.pitch-goal.top {
  top: 12px;
}
.pitch-goal.bottom {
  bottom: 12px;
}
.pitch-player {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 43%;
  text-align: center;
  z-index: 1;
}
.shirt-number {
  display: grid;
  place-items: center;
  background: var(--gold);
  color: #000;
  width: 38px;
  height: 38px;
  margin: auto;
  border-radius: 6px 6px 10px 10px;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 4px 14px #0006;
}
.pitch-player label {
  font-size: 9px;
  color: #c0c6b4;
  margin: 4px 0 0;
}
.pitch-player select {
  padding: 5px 3px;
  font-size: 10px;
  margin: 3px 0 0;
  text-align: center;
  background: #10150ef0;
  border-color: #4e5544;
}
.slot-0 {
  left: 50%;
  top: 85%;
}
.slot-1 {
  left: 50%;
  top: 64%;
}
.slot-2 {
  left: 25%;
  top: 40%;
}
.slot-3 {
  left: 75%;
  top: 40%;
}
.slot-4 {
  left: 50%;
  top: 16%;
}
.pitch[data-formation="2-1-1"] .slot-1 {
  left: 25%;
  top: 65%;
}
.pitch[data-formation="2-1-1"] .slot-2 {
  left: 75%;
  top: 65%;
}
.pitch[data-formation="2-1-1"] .slot-3 {
  left: 50%;
  top: 40%;
}
.pitch[data-formation="1-1-2"] .slot-2 {
  left: 50%;
  top: 40%;
}
.pitch[data-formation="1-1-2"] .slot-3 {
  left: 25%;
  top: 16%;
}
.pitch[data-formation="1-1-2"] .slot-4 {
  left: 75%;
  top: 16%;
}
.panel-actions {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: center;
}
.panel-actions > span {
  font-size: 10px;
}
.player-row {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #121212;
  border: 1px solid #2a2a2a;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 9px;
}
.player-row:hover {
  border-color: #5b5125;
  color: #fff;
}
.player-number {
  font-size: 13px;
  color: #777;
  width: 20px;
}
.player-row strong {
  font-size: 12px;
}
.player-row small {
  display: block;
  font-size: 9px;
  color: #84847e;
  margin-top: 3px;
}
.player-row small span {
  color: var(--gold);
}
.fitness {
  margin-left: auto;
  font-size: 10px;
  color: #a4b28c;
}
.rating {
  background: #282513;
  border: 1px solid #4b4220;
  color: var(--gold);
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 4px;
}
.tactics-grid {
  grid-template-columns: 1.45fr 1fr;
}
.tactic-control {
  border: 0;
  padding: 20px 0;
  margin: 10px 0 0;
  border-top: 1px solid #2c2c2c;
}
.tactic-control legend {
  font-size: 14px;
  font-weight: 600;
  padding-top: 16px;
  color: #eee;
  float: left;
}
.tactic-control p {
  clear: both;
  font-size: 11px;
  padding-top: 7px;
}
.segmented {
  display: flex;
  gap: 8px;
}
.segmented label {
  flex: 1;
  margin: 0;
  cursor: pointer;
}
.segmented input {
  position: absolute;
  opacity: 0;
  width: 1px;
}
.segmented span {
  display: block;
  text-align: center;
  border: 1px solid #363636;
  background: #1b1b1b;
  border-radius: 5px;
  padding: 11px;
  font-size: 11px;
}
.segmented input:checked + span {
  color: var(--gold);
  border-color: #8b7621;
  background: #dcb8000c;
}
.segmented input:focus-visible + span {
  outline: 2px solid var(--gold);
}
.gold-panel {
  background: linear-gradient(135deg, #262310, #15140e);
  border-color: #4c4322;
}
.gold-panel h2 {
  font-size: 29px;
  line-height: 1.3;
  margin-top: 22px;
}
.gold-panel p {
  font-size: 12px;
  line-height: 1.9;
  color: #b3af96;
}
.table-wrap {
  overflow: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 12px;
}
th {
  font-size: 9px;
  letter-spacing: 1px;
  color: #85857f;
  font-weight: 500;
  text-align: left;
  padding: 15px 12px;
  background: #ffffff03;
  white-space: nowrap;
}
td {
  border-bottom: 1px solid #262626;
  padding: 13px 12px;
}
td small {
  display: block;
  color: #777;
  font-size: 9px;
}
.table-club {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 140px;
  font-size: 12px;
}
.table-club .badge {
  width: 32px;
  height: 32px;
}
.position {
  color: #888;
}
.position.top-three {
  color: var(--gold);
}
.own-club {
  background: #dcb80008;
}
.own-club td {
  border-bottom-color: #494021;
}
.points {
  font-weight: 750;
}
.filters {
  display: flex;
  align-items: end;
  gap: 16px;
  padding-bottom: 20px;
  margin-bottom: 10px;
  border-bottom: 1px solid #333;
}
.filters label {
  flex: 1;
  margin: 0;
}
.filters button {
  margin-bottom: 1px;
}
.trophy-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: #dcb8000d;
  color: var(--gold);
  border: 1px solid #766320;
  border-radius: 50%;
  margin-bottom: 25px;
}
.trophy-icon svg {
  width: 28px;
  height: 28px;
}
.achievement {
  min-height: 270px;
}
.achievement p {
  font-size: 12px;
}
.achievement small {
  color: #777;
  font-size: 10px;
}
.achievement.locked .trophy-icon {
  color: #666;
  border-color: #353535;
  background: #202020;
}
.achievement.locked .eyebrow {
  color: #666;
}
.achievement.locked h2 {
  color: #aaa;
}
.profile-banner {
  margin-top: 20px;
}
.kit-swatches {
  display: flex;
  gap: 6px;
}
.kit-swatches span {
  width: 26px;
  height: 50px;
  border-radius: 3px;
  border: 1px solid #777;
}
.honour {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid #2e2e2e;
  color: var(--gold);
}
.honour strong {
  color: #eee;
  font-size: 13px;
}
.honour small {
  display: block;
  color: #888;
  margin-top: 4px;
}
.player-header {
  display: flex;
  align-items: center;
  gap: 35px;
  padding: 35px;
}
.player-monogram {
  position: relative;
  width: 140px;
  height: 160px;
  border: 1px solid #8f772a;
  background: linear-gradient(135deg, #504518, #18170d);
  color: var(--gold);
  font-size: 50px;
  font-weight: 700;
  display: grid;
  place-items: center;
  clip-path: polygon(0 0, 100% 0, 100% 85%, 50% 100%, 0 85%);
}
.player-monogram small {
  position: absolute;
  bottom: 15px;
  letter-spacing: 3px;
  font-size: 12px;
}
.player-header h1 {
  font-size: 30px;
  font-weight: 400;
  margin: 14px 0;
}
.player-header h1 strong {
  font-weight: 750;
}
.player-header p {
  font-size: 12px;
}
.overall {
  margin-left: auto;
  display: flex;
  flex-direction: column;
  text-align: center;
}
.overall span {
  font-size: 10px;
  letter-spacing: 2px;
  color: #aaa;
}
.overall strong {
  font-size: 70px;
  color: var(--gold);
  line-height: 1.4;
}
.overall small {
  color: #aaa;
}
.attribute {
  margin: 23px 0;
}
.attribute > div {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
}
.attribute strong {
  color: var(--gold);
}
progress {
  height: 5px;
  width: 100%;
  border: 0;
  display: block;
  margin-top: 9px;
  accent-color: var(--gold);
  border-radius: 8px;
}
progress::-webkit-progress-bar {
  background: #2b2b2b;
  border-radius: 8px;
}
progress::-webkit-progress-value {
  background: var(--gold);
  border-radius: 8px;
}
.narrow {
  max-width: 680px;
}
.scoreboard {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 25px;
  padding: 45px 30px;
  background: radial-gradient(ellipse at center, #2c2612, #13130f 70%);
  border-color: #494024;
}
.score-team {
  width: 30%;
  text-align: center;
}
.score-team h2 {
  font-size: 19px;
  margin-top: 15px;
}
.score-team > span {
  font-size: 9px;
  letter-spacing: 2px;
  color: #888;
}
.score-centre {
  text-align: center;
}
.score-centre > strong {
  display: block;
  font-size: 55px;
  font-weight: 600;
  letter-spacing: 5px;
  white-space: nowrap;
}
.score-centre .eyebrow {
  justify-content: center;
  margin: 0;
}
.score-centre > span:last-child {
  font-size: 10px;
  color: #aaa;
}
.replay-controls {
  display: flex;
  gap: 10px;
  align-items: center;
}
.replay-controls label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  margin: 0;
}
.replay-controls select {
  margin: 0;
  padding: 7px;
}
.timeline {
  max-height: 420px;
  overflow: auto;
  margin-top: 25px;
}
.timeline-event {
  display: flex;
  gap: 20px;
  border-bottom: 1px solid #2a2a2a;
  padding: 16px 5px;
  font-size: 12px;
}
.timeline-event time {
  color: #8b8b84;
  min-width: 35px;
}
.timeline-event.goal {
  background: #dcb8000b;
  color: var(--gold);
  font-weight: 600;
}
.timeline-event.goal time {
  color: var(--gold);
}
.timeline-event.red {
  color: #e1a39b;
}
.match-stats > div {
  display: flex;
  justify-content: space-between;
  text-align: center;
  padding: 13px 10px;
  border-bottom: 1px solid #292929;
}
.match-stats > div span {
  color: #aaa;
  font-size: 12px;
}
.match-stats strong {
  width: 55px;
  color: var(--gold);
}
.admin-row {
  border-top: 1px solid #333;
  padding: 22px 0;
}
.admin-row h3 {
  font-size: 16px;
}
.admin-row p {
  font-size: 12px;
}
.toast {
  position: fixed;
  right: 25px;
  bottom: 25px;
  z-index: 200;
  background: #272410;
  color: #eee2a5;
  border: 1px solid #8c7922;
  padding: 15px 22px;
  border-radius: 8px;
  box-shadow: 0 8px 30px #0008;
  max-width: calc(100vw - 50px);
  font-size: 12px;
}
.toast.error {
  background: #351a17;
  color: #f2c4bf;
  border-color: #8c453b;
}
.guest .topbar {
  max-width: 1500px;
  margin: auto;
  border: 0;
  background: transparent;
  min-height: 100px;
  padding: 0 65px;
}
.guest .main {
  padding: 35px 65px;
}
.guest-brand img {
  object-fit: contain;
}
.guest-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 12px;
}
.guest footer {
  max-width: 1370px;
  margin: auto;
  padding-left: 0;
  padding-right: 0;
}
.hero {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  min-height: 550px;
  align-items: center;
  gap: 35px;
  padding: 35px 0 70px;
}
.hero h1 {
  font-size: clamp(50px, 5.6vw, 82px);
  line-height: 1.06;
  font-weight: 700;
  letter-spacing: -4px;
  margin: 24px 0;
}
.hero .lead {
  font-size: 14px;
  line-height: 1.9;
  max-width: 490px;
  color: #a5a59b;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 30px;
}
.hero-facts {
  display: flex;
  gap: 35px;
  margin-top: 50px;
  padding-top: 25px;
  border-top: 1px solid #2b2b2b;
  max-width: 500px;
}
.hero-facts span {
  font-size: 8px;
  letter-spacing: 1px;
  color: #909089;
  display: flex;
  flex-direction: column;
}
.hero-facts strong {
  font-size: 27px;
  color: #ddd;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: -1px;
}
.hero-art {
  position: relative;
  text-align: center;
  min-height: 430px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.hero-art:before {
  position: absolute;
  content: "";
  inset: -20px;
  background: radial-gradient(ellipse, #dcb8000d, transparent 65%);
}
.hero-art img {
  width: 80%;
  height: auto;
  max-width: 380px;
  z-index: 1;
  filter: drop-shadow(0 20px 45px #dcb80010);
}
.hero-ring {
  position: absolute;
  width: 100%;
  aspect-ratio: 1;
  border: 1px solid #dcb80015;
  border-radius: 50%;
  transform: rotate(-20deg);
}
.hero-ring:before,
.hero-ring:after {
  content: "";
  position: absolute;
  border: 1px solid #dcb8000b;
  inset: 28px;
  border-radius: 50%;
}
.hero-ring:after {
  inset: 60px;
}
.art-caption {
  margin-top: 25px;
  z-index: 1;
}
.art-caption span {
  font-size: 8px;
  letter-spacing: 3px;
  color: #8e896c;
  display: block;
}
.art-caption strong {
  font-size: 19px;
  letter-spacing: -0.5px;
  font-weight: 500;
}
.how {
  border-top: 1px solid #282828;
  padding-top: 50px;
}
.how h2 {
  font-size: 32px;
}
.how .muted {
  font-size: 11px;
}
.feature {
  padding: 28px;
  min-height: 210px;
}
.feature h3 {
  font-size: 20px;
  margin: 18px 0 13px;
}
.feature p {
  font-size: 12px;
  line-height: 1.9;
}
.step {
  color: var(--gold);
  font-size: 11px;
  border: 1px solid #69591a;
  padding: 5px 8px;
  border-radius: 4px;
}
.landing-strip {
  margin-top: 45px;
  padding: 30px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid #292929;
}
.landing-strip span {
  font-weight: 600;
  font-size: 17px;
}
.landing-strip p {
  font-size: 11px;
  margin: 0;
}
.landing-strip a {
  color: var(--gold);
  font-size: 12px;
}
.auth-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 90px;
  align-items: center;
  max-width: 1100px;
  margin: 25px auto 50px;
}
.auth-story h1 {
  font-size: 60px;
  line-height: 1.1;
  letter-spacing: -3px;
}
.auth-story p {
  font-size: 12px;
}
.auth-story img {
  object-fit: contain;
  margin: 25px 0;
}
.auth-card {
  padding: 38px;
}
.auth-card h2 {
  font-size: 30px;
  margin: 25px 0 10px;
}
.auth-card > p {
  font-size: 12px;
}
.auth-links {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  margin-top: 22px;
  color: #b4ae88;
}
@media (min-width: 1600px) {
  .main {
    padding: 45px 55px;
  }
  .hero-art img {
    max-width: 420px;
  }
}
@media (max-width: 1200px) {
  .sidebar {
    width: 205px;
  }
  .has-sidebar .app-body {
    margin-left: 205px;
  }
  .main {
    padding: 28px;
  }
  .topbar {
    padding: 0 28px;
  }
  .top-right > span {
    display: none;
  }
  .fixture-row {
    grid-template-columns: 100px 1fr 45px 1fr;
    gap: 10px;
  }
  .fixture-row > .pill {
    display: none;
  }
  .badge-picker {
    grid-template-columns: repeat(3, 1fr);
  }
  .metric {
    padding: 20px 16px;
  }
  .auth-grid {
    gap: 40px;
  }
  .guest .main,
  .guest .topbar {
    padding-left: 35px;
    padding-right: 35px;
  }
  .hero h1 {
    font-size: 65px;
  }
  .hero-facts {
    gap: 26px;
  }
  .hero-actions {
    gap: 18px;
  }
  .hero .button {
    padding: 12px;
    font-size: 11px;
  }
  .guest footer {
    padding: 25px 35px;
  }
  .tactics-list {
    gap: 10px;
  }
  .club-banner h2 {
    font-size: 27px;
  }
}
@media (max-width: 1000px) {
  .dashboard-grid,
  .squad-grid,
  .tactics-grid {
    grid-template-columns: 1fr;
  }
  .grid.four {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid.three {
    grid-template-columns: repeat(2, 1fr);
  }
  .club-builder {
    grid-template-columns: 1fr 1fr;
  }
  .pitch {
    height: 480px;
  }
  .hero {
    grid-template-columns: 1.25fr 1fr;
    gap: 10px;
  }
  .hero h1 {
    font-size: 54px;
    letter-spacing: -2px;
  }
  .hero-art {
    min-height: 300px;
  }
  .hero-facts {
    gap: 22px;
  }
  .hero-facts span {
    font-size: 7px;
  }
  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }
  .auth-story h1 {
    font-size: 45px;
  }
  .auth-grid {
    gap: 25px;
  }
  .auth-card {
    padding: 25px;
  }
  .auth-story img {
    width: 160px;
    height: 160px;
  }
  .desktop-cell {
    display: none;
  }
  .formation-art {
    justify-content: center;
  }
  .player-header {
    gap: 20px;
  }
  .player-monogram {
    width: 100px;
    height: 130px;
    font-size: 35px;
  }
  .player-header h1 {
    font-size: 25px;
  }
  .overall strong {
    font-size: 50px;
  }
}
@media (max-width: 760px) {
  .sidebar {
    display: none;
  }
  .has-sidebar .app-body {
    margin-left: 0;
  }
  .topbar {
    min-height: 66px;
    padding: 0 20px;
  }
  .mobile-brand {
    display: block;
    font-size: 23px;
    font-weight: 800;
    letter-spacing: -2px;
    color: var(--gold);
  }
  .mobile-brand span {
    color: #444;
    margin-left: 10px;
  }
  .breadcrumb {
    margin-right: auto;
    font-size: 8px;
    letter-spacing: 0.5px;
  }
  .breadcrumb b {
    margin: 0 7px;
  }
  .top-right {
    display: none;
  }
  .main {
    padding: 26px 20px 35px;
  }
  .page-heading {
    margin-top: 0;
    align-items: flex-start;
    gap: 15px;
  }
  .page-heading > .button,
  .page-heading > .pill {
    font-size: 9px;
    padding: 9px;
    gap: 5px;
    white-space: nowrap;
  }
  .page-heading h1 {
    font-size: 30px;
  }
  .page-heading p {
    font-size: 12px;
  }
  .panel {
    padding: 20px;
  }
  .club-banner {
    padding: 24px 20px;
    gap: 12px;
  }
  .club-banner-info {
    gap: 16px;
  }
  .badge.big {
    width: 63px;
    height: 63px;
  }
  .club-banner h2 {
    font-size: 23px;
  }
  .club-banner p:last-child {
    font-size: 10px;
  }
  .banner-stat {
    margin-right: 0;
    min-width: 70px;
  }
  .banner-stat > span {
    font-size: 7px;
    letter-spacing: 0.7px;
  }
  .banner-stat strong {
    font-size: 28px;
  }
  .banner-stat small {
    font-size: 10px;
  }
  .banner-edit {
    top: 7px;
    right: 12px;
  }
  .metric-grid {
    gap: 12px;
  }
  .metric {
    padding: 19px;
  }
  .metric > strong {
    font-size: 29px;
  }
  .metric > span {
    font-size: 8px;
  }
  .mobile-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-around;
    background: #0c0c0cf5;
    border-top: 1px solid #353535;
    z-index: 50;
    padding: 11px 5px max(11px, env(safe-area-inset-bottom));
  }
  .mobile-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    color: #85857e;
    font-size: 8px;
    min-width: 54px;
  }
  .mobile-nav a.active {
    color: var(--gold);
  }
  .has-sidebar footer {
    padding: 20px 20px 100px;
    font-size: 7px;
  }
  .has-sidebar footer > span:last-child {
    max-width: 50%;
    text-align: right;
  }
  footer b {
    margin-left: 0;
    display: block;
  }
  .club-builder {
    grid-template-columns: 1fr;
  }
  .badge-picker {
    grid-template-columns: repeat(5, 1fr);
  }
  .grid.two {
    grid-template-columns: 1fr;
  }
  .kit-preview {
    height: 170px;
  }
  .kit-preview svg {
    width: 160px;
    height: 160px;
  }
  .club-builder .grid.two {
    grid-template-columns: 1fr 1fr;
  }
  .filters {
    flex-wrap: wrap;
    gap: 12px;
  }
  .filters label {
    min-width: 100px;
  }
  .filters .button {
    padding: 11px;
  }
  .fixture-row {
    grid-template-columns: 1fr 40px 1fr;
    position: relative;
    padding-top: 38px;
    gap: 8px;
    padding-bottom: 15px;
  }
  .fixture-meta {
    position: absolute;
    top: 12px;
    left: 0;
    right: 0;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  .fixture-club {
    font-size: 10px;
    gap: 5px;
  }
  .fixture-club img {
    width: 27px;
    height: 27px;
  }
  .fixture-score {
    font-size: 13px;
  }
  .table-club {
    min-width: 130px;
    font-size: 11px;
    gap: 8px;
  }
  th,
  td {
    padding-left: 8px;
    padding-right: 8px;
  }
  .table-club .badge {
    width: 27px;
    height: 27px;
  }
  td {
    font-size: 11px;
  }
  .grid.three {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .achievement {
    padding: 20px;
    min-height: 265px;
  }
  .achievement h2 {
    font-size: 20px;
  }
  .achievement .eyebrow {
    font-size: 8px;
  }
  .player-header {
    padding: 22px;
    gap: 17px;
    flex-wrap: wrap;
  }
  .player-header .overall {
    flex-direction: row;
    align-items: center;
    width: 100%;
    margin: 0;
    border-top: 1px solid #333;
    justify-content: space-between;
    padding-top: 12px;
  }
  .overall strong {
    font-size: 32px;
  }
  .overall span {
    font-size: 9px;
  }
  .player-header h1 {
    font-size: 26px;
  }
  .player-header p {
    font-size: 10px;
  }
  .profile-banner h1 {
    font-size: 27px;
  }
  .scoreboard {
    padding: 30px 15px;
    gap: 12px;
  }
  .badge.huge {
    width: 65px;
    height: 65px;
  }
  .score-team h2 {
    font-size: 13px;
  }
  .score-team > span {
    font-size: 7px;
  }
  .score-centre > strong {
    font-size: 34px;
    letter-spacing: 2px;
  }
  .score-centre > span:last-child {
    font-size: 8px;
  }
  .replay-controls {
    flex-wrap: wrap;
    gap: 7px;
  }
  .replay-controls .button {
    font-size: 9px;
    padding: 7px;
  }
  .replay-controls label {
    font-size: 9px;
  }
  .section-heading:has(.replay-controls) {
    align-items: start;
    flex-direction: column;
  }
  .toast {
    bottom: 90px;
    right: 15px;
    max-width: calc(100vw - 30px);
  }
  .guest .topbar {
    padding: 0 20px;
    min-height: 80px;
  }
  .guest-brand img {
    width: 95px;
    height: 55px;
  }
  .guest-nav {
    gap: 16px;
    font-size: 10px;
  }
  .guest-nav .button {
    font-size: 9px;
    padding: 9px;
    gap: 5px;
  }
  .guest-nav .button svg {
    display: none;
  }
  @media (max-width: 360px) {
    .guest .topbar {
      gap: 10px;
      padding-inline: 12px;
    }
    .guest-brand img {
      width: 72px;
      height: 48px;
    }
    .guest-nav {
      justify-content: flex-end;
      flex-wrap: wrap;
      gap: 6px 10px;
    }
  }
  .guest .main {
    padding: 15px 20px;
  }
  .guest footer {
    padding: 20px;
    font-size: 7px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-top: 25px;
    gap: 30px;
  }
  .hero-copy .eyebrow {
    font-size: 8px;
    letter-spacing: 1.6px;
  }
  .hero h1 {
    font-size: clamp(48px, 11vw, 76px);
    letter-spacing: -2.8px;
  }
  .hero .lead {
    font-size: 13px;
  }
  .hero-actions {
    flex-direction: row;
    align-items: center;
    gap: 22px;
  }
  .hero .button {
    font-size: 10px;
    padding: 12px;
    gap: 10px;
  }
  .hero .button svg {
    width: 16px;
  }
  .hero .text-link {
    font-size: 10px;
    white-space: nowrap;
  }
  .hero-art {
    min-height: 300px;
    max-width: 350px;
    justify-self: center;
    width: 100%;
    margin-top: 20px;
  }
  .hero-art img {
    max-width: 240px;
  }
  .hero-ring {
    max-width: 320px;
  }
  .hero-facts {
    margin-top: 35px;
    justify-content: space-between;
  }
  .hero-facts span {
    font-size: 8px;
  }
  .hero-facts strong {
    font-size: 25px;
  }
  .how {
    padding-top: 35px;
  }
  .how > .section-heading {
    align-items: start;
    flex-direction: column;
  }
  .how h2 {
    font-size: 29px;
  }
  .how .grid.three {
    grid-template-columns: 1fr;
  }
  .feature {
    min-height: 180px;
  }
  .landing-strip {
    align-items: start;
    flex-direction: column;
  }
  .landing-strip span {
    font-size: 18px;
  }
  .auth-grid {
    grid-template-columns: 1fr;
    margin: 20px 0 40px;
  }
  .auth-story {
    display: none;
  }
  .auth-card {
    max-width: 500px;
    width: 100%;
    margin: auto;
  }
  .auth-card h2 {
    font-size: 28px;
  }
  .auth-links {
    font-size: 10px;
  }
  .guest .page-heading {
    margin-top: 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
.error-page {
  padding: 50px 0;
  max-width: 750px;
}
.error-code {
  font-size: 95px;
  font-weight: 700;
  line-height: 1;
  color: var(--gold);
  margin-bottom: 25px;
}
.error-footnote {
  display: block;
  font-size: 10px;
  color: #888;
  margin-top: 30px;
}
.cron-commands pre {
  max-width: 100%;
  overflow-x: auto;
  padding: 16px;
  background: var(--bg, #101010);
  border: 1px solid var(--border, #333);
  border-radius: 8px;
}
.pagination {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 20px 0;
}
.matchday-group {
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.matchday-group .section-heading {
  flex-wrap: wrap;
}
.fixture-feed-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
}
.fixture-feed-controls > p {
  flex-basis: 100%;
  margin: 0;
}
[data-fixtures-next][hidden] { display: none; }
.squad-rating {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  line-height: 1.5;
  white-space: nowrap;
}
.squad-rating-number { font-weight: 800; }
.squad-stars { color: var(--gold); font-size: 15px; letter-spacing: 1px; }
.squad-stars .empty-stars { color: #777; }
.squad-rating.unrated { color: var(--muted); font-size: 12px; }
.fixture-rating { display: block; font-size: 10px; margin-top: 4px; }
.fixture-rating .squad-rating { gap: 4px; justify-content: inherit; }
.fixture-rating .squad-rating { white-space: normal; }
.fixture-club > span { min-width: 0; overflow-wrap: anywhere; }
.fixture-rating .squad-stars { font-size: 10px; letter-spacing: 0; }
.squad-rating-card > .squad-rating { font-size: 24px; margin-bottom: 12px; }
.metric .squad-rating { font-size: 28px; }
.metric > .squad-rating { display: flex; color: var(--text); letter-spacing: 0; margin: 8px 0 2px; }
.training-player {
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}
.stat-boards { margin-bottom: 24px; }
.stat-board .section-heading { align-items: flex-start; flex-wrap: wrap; }
.stat-ranking-list { list-style: none; margin: 0; padding: 0; }
.stat-ranking-list > li { display: flex; align-items: center; gap: 14px; padding: 16px 0; border-top: 1px solid var(--border); }
.stat-place { color: var(--muted); min-width: 20px; font-size: 12px; }
.stat-player { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.stat-player a { font-weight: 650; }
.stat-player small { display: block; margin-top: 5px; color: var(--muted); font-size: 11px; }
.stat-value { font-size: 24px; color: var(--gold); flex-shrink: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.player-stat-cards { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.player-stat-card { background: var(--raised); border-radius: 8px; padding: 16px; }
.player-stat-card h3 { font-size: 12px; color: var(--muted); }
.player-stat-card dl, .performance-card dl { display: flex; flex-wrap: wrap; gap: 18px; margin: 0; }
.player-stat-card dt, .performance-card dt { color: var(--muted); font-size: 10px; }
.player-stat-card dd, .performance-card dd { margin: 5px 0 0; font-size: 21px; font-weight: 700; }
.performance-card { padding: 20px 0; border-top: 1px solid var(--border); }
.performance-card > a { display: block; margin-bottom: 14px; color: var(--gold); }
.award-card { height: 100%; overflow-wrap: anywhere; }
.award-symbol { display: inline-flex; color: var(--gold); margin-bottom: 18px; }
.award-value { color: var(--gold); font-size: 32px; font-weight: 750; }
.award-value small { display: block; font-size: 12px; color: var(--muted); }
.award-league-links { display: flex; flex-wrap: wrap; gap: 12px; }
.league-page-links { display: flex; flex-wrap: wrap; gap: 12px; min-width: 0; }
.potm-card { border: 1px solid #6e5b1b; border-radius: 10px; background: #dcb8000a; padding: 20px; margin: 20px 0; }
.potm-card h3 { margin: 12px 0; color: var(--gold); }
@media (max-width: 440px) { .player-stat-cards { grid-template-columns: 1fr; } }
.training-player summary {
  cursor: pointer;
  line-height: 1.6;
}
.pagination > span {
  margin-right: auto;
  color: var(--muted, #aaa);
}
.cron-commands li {
  margin-bottom: 12px;
}
.admin-panel [id] {
  scroll-margin-top: 24px;
}
.admin-panel .mobile-nav button {
  background: transparent;
  color: inherit;
  border: 0;
  font: inherit;
}
.admin-mobile-links {
  position: absolute;
  bottom: 100%;
  left: 0;
  right: 0;
  background: #171717;
  padding: 12px;
  max-height: 65vh;
  overflow-y: auto;
}
.admin-panel .mobile-nav summary {
  cursor: pointer;
}
.admin-panel .mobile-nav a,
.admin-panel .mobile-nav button,
.admin-panel .mobile-nav summary {
  min-height: 44px;
  justify-content: center;
  font-size: 12px;
}
.admin-mobile-links a[aria-current="page"] {
  color: var(--gold);
}
.debug-panel {
  padding: 25px;
  background: #161616;
  border: 1px solid #333;
  border-radius: 8px;
  overflow-wrap: anywhere;
}
.debug-panel p,
.debug-panel code,
.trace-list {
  font-size: 12px;
}
.debug-heading {
  display: flex;
  justify-content: space-between;
  color: #888;
}
.trace-list li {
  padding: 10px;
}
.trace-list span {
  display: block;
  color: #777;
}
.mini-pitch[data-formation="2-1-1"] .mp-1 {
  left: 24%;
  top: 65%;
}
.mini-pitch[data-formation="2-1-1"] .mp-2 {
  left: 76%;
  top: 65%;
}
.mini-pitch[data-formation="2-1-1"] .mp-3 {
  left: 50%;
  top: 42%;
}
.mini-pitch[data-formation="1-1-2"] .mp-2 {
  left: 50%;
  top: 42%;
}
.mini-pitch[data-formation="1-1-2"] .mp-3 {
  left: 24%;
  top: 16%;
}
.mini-pitch[data-formation="1-1-2"] .mp-4 {
  left: 76%;
  top: 16%;
}
/* Private-beta operations and recovery */
.operations-metrics {
  margin: 8px 0 22px;
}
.operations-metrics span {
  display: block;
  font-size: 9px;
  color: var(--muted);
  letter-spacing: 1px;
}
.operations-metrics strong {
  display: block;
  font-size: 17px;
  margin-top: 8px;
}
.operation-alert {
  border-left: 3px solid var(--gold);
  padding: 14px 18px;
  margin: 14px 0;
  background: #dcb80008;
}
.operation-alert p {
  margin: 5px 0;
  font-size: 12px;
}
.operation-alert a {
  font-size: 11px;
}
.operation-alert.critical {
  border-color: #c47568;
  background: #c475680a;
}
.pill.danger {
  border-color: #9e5648;
  background: #49241d;
  color: #f2c1b8;
}
.operations-panel details {
  margin-top: 22px;
}
.operations-panel summary {
  cursor: pointer;
  color: var(--gold);
  font-size: 12px;
}
.recovery-notice {
  margin: 20px 0;
}
.beta-checklist {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
}
.beta-checklist li {
  background: #191919;
  border: 1px solid #333;
  border-radius: 7px;
  padding: 16px;
}
.beta-checklist strong {
  font-size: 12px;
}
.beta-checklist p {
  font-size: 11px;
  margin: 7px 0;
}
.beta-checklist a {
  font-size: 11px;
  color: var(--gold);
}
@media (max-width: 760px) {
  .beta-checklist {
    grid-template-columns: 1fr;
  }
  .operations-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 20px;
  }
  .operations-metrics strong {
    font-size: 15px;
  }
}
@media (max-width: 760px) {
  input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not(
      [type="color"]
    ):not([type="range"]),
  select {
    font-size: 16px;
    min-height: 44px;
  }
  .pitch-player select {
    font-size: 12px;
    min-height: 40px;
  }
  .button {
    min-height: 44px;
  }
  .replay-controls select {
    min-height: 40px;
  }
}

.cup-builder{border:1px solid var(--border,#333);border-radius:10px;margin:18px 0;padding:16px;min-width:0}.cup-builder legend{padding:0 8px;font-weight:700}.cup-rule{border-top:1px solid var(--border,#333);padding:16px 0}.cup-tie{border-top:1px solid var(--border,#333);padding:14px 0}.cup-tie h3{font-size:16px}.filter-submit{align-self:end;padding-bottom:14px}.cup-builder .grid{gap:12px}.cup-builder input{max-width:100%}

/* Announcements, contact and notification controls. */
.push-consent{position:fixed;right:24px;bottom:24px;z-index:80;width:min(380px,calc(100% - 32px));padding:22px;border:1px solid #766320;border-radius:14px;background:#151710;box-shadow:0 18px 70px #0009}.push-consent h2{font-size:22px;line-height:1.2;margin:10px 0}.push-consent p{font-size:12px;color:var(--muted)}.push-consent .eyebrow{color:var(--gold)}.push-consent .fine-print:empty{display:none}.push-consent[hidden],[data-push-enable][hidden],[data-push-disable][hidden],[data-app-install][hidden],[data-app-installed][hidden]{display:none!important}.push-settings{margin-bottom:24px}.push-settings [data-push-status]{padding:12px 14px;border:1px solid var(--border);border-radius:8px;font-size:12px;color:var(--muted)}@media(max-width:760px){.push-consent{bottom:90px;right:16px}}
.panel{min-width:0;overflow-wrap:anywhere}.communications-grid{align-items:start}textarea{display:block;width:100%;padding:12px;border:1px solid #333;border-radius:6px;background:#151515;color:var(--text);font:inherit;line-height:1.6;resize:vertical}@media(max-width:1000px){.grid.two.communications-grid{grid-template-columns:minmax(0,1fr)}.communications-grid .selected-conversation{order:-1}}
.page-heading>div{min-width:0;overflow-wrap:anywhere}.notification-dialog-heading>div{min-width:0;overflow-wrap:anywhere}.notification-dialog-heading>button{flex-shrink:0}@media(max-width:650px){.page-heading{flex-wrap:wrap;gap:16px}.page-heading>div{flex-basis:100%}}
.notification-bell{position:relative;display:inline-flex;align-items:center;justify-content:center;min-width:42px;min-height:42px;margin-left:auto;flex-shrink:0;border:1px solid var(--border);border-radius:50%;color:var(--text)}.notification-badge{position:absolute;right:-5px;top:-6px;min-width:19px;height:19px;padding:0 4px;border-radius:20px;background:var(--gold);color:#000;font-size:10px;font-weight:800;display:grid;place-content:center}.notification-badge[hidden]{display:none}.nav-counter{margin-left:auto;padding:2px 6px;border-radius:20px;background:var(--gold);color:#000;font-size:10px}.notification-dialog{width:min(650px,calc(100% - 32px));max-height:90dvh;overflow:auto;padding:24px;color:var(--text);background:var(--surface);border:1px solid var(--border);border-radius:var(--radius)}.notification-dialog::backdrop{background:rgba(0,0,0,.78)}.notification-dialog-heading{display:flex;gap:14px;justify-content:space-between;align-items:flex-start}.notification-dialog-heading h2{font-size:24px}.notification-dialog-items{max-height:55dvh;overflow:auto;margin:18px 0}.notification-popup-card{padding:16px;border:1px solid var(--border);border-radius:8px;margin-bottom:10px}.notification-popup-card h3{font-size:17px}.notification-popup-card p,.notification-body{white-space:normal;overflow-wrap:anywhere}.notification-popup-card small{color:var(--muted)}.notification-card.unread,.notification-popup-card.unread{border-left:3px solid var(--gold)}.notification-card .section-heading{gap:12px;flex-wrap:wrap}.notification-actions{display:flex;gap:12px;flex-wrap:wrap}.notification-actions form{margin:0}.contact-reply{border-left:2px solid var(--gold);padding:14px 18px;margin-top:18px;background:var(--raised);overflow-wrap:anywhere}.contact-honeypot{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}[data-contact-fields][hidden]{display:none!important}[data-contact-captcha]{margin-top:16px;max-width:100%;overflow:hidden}textarea{max-width:100%;min-height:110px}form fieldset{min-width:0}@media(max-width:650px){.notification-dialog{padding:18px}.notification-dialog-heading h2{font-size:20px}.notification-card h2{font-size:24px}.notification-bell{min-width:38px;min-height:38px}}
