@font-face {
  font-family: "NewProLeague Geist";
  src: url("assets/fonts/geist-sans.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 100 900;
}

:root {
  /* New Pro League palette: logo black, white and electric/neon green. */
  --bg: #050805;
  --bg-soft: #080d08;
  --surface: #0b120c;
  --surface-2: #101a11;
  --surface-3: #17251a;
  --line: #263927;
  --line-soft: rgba(255, 255, 255, 0.065);
  --text: #f8fff8;
  --muted: #91a493;
  --muted-2: #687b69;
  --cyan: #39ff14;
  --cyan-soft: rgba(57, 255, 20, 0.13);
  --blue: #a7df96;
  --blue-soft: rgba(167, 223, 150, 0.14);
  --violet: #a986ff;
  --orange: #ffad72;
  --red: #ff6d7c;
  --yellow: #f5cf6c;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.42);
  --radius: 20px;
  --radius-sm: 13px;
  --sidebar: 254px;
  --font-body: "NewProLeague Geist", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Satoshi", "NewProLeague Geist", ui-sans-serif, system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  font-family: var(--font-body);
  background:
    radial-gradient(circle at 84% -5%, rgba(57, 255, 20, 0.08), transparent 27rem),
    radial-gradient(circle at 15% 100%, rgba(167, 223, 150, 0.055), transparent 30rem),
    var(--bg);
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

button:not(:disabled),
[data-route],
[data-action] {
  cursor: pointer;
}

img {
  max-width: 100%;
}

.app-shell {
  min-height: 100vh;
}

.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 50;
  display: flex;
  width: var(--sidebar);
  flex-direction: column;
  overflow-y: auto;
  border-right: 1px solid var(--line-soft);
  background: rgba(5, 8, 5, 0.96);
  backdrop-filter: blur(24px);
}

.brand-block {
  display: flex;
  min-height: 136px;
  align-items: stretch;
  justify-content: space-between;
  padding: 18px 19px;
  border-bottom: 1px solid var(--line-soft);
}

.brand-stack {
  display: grid;
  align-content: center;
  gap: 13px;
  width: 100%;
  min-width: 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
}

.brand strong,
.display-title,
.hero-title,
.metric-value,
.score,
.standing-position {
  font-family: "Space Grotesk", sans-serif;
}

.brand strong {
  display: block;
  font-size: 17px;
  line-height: 1;
  letter-spacing: 0.18em;
  white-space: nowrap;
}

.brand small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.58em;
  transform: scaleX(1.16);
  transform-origin: left center;
  white-space: nowrap;
}

.brand-logo {
  display: block;
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  border: 1px solid rgba(57, 255, 20, 0.68);
  border-radius: 50%;
  object-fit: cover;
  background: #000;
  box-shadow: 0 0 0 3px rgba(57, 255, 20, 0.08), 0 0 22px rgba(57, 255, 20, 0.16);
}

.brand-copy {
  min-width: 0;
}

.brand-social-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
}

.brand-social-link {
  display: inline-grid;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--muted);
  background: rgba(11, 18, 12, 0.82);
  text-decoration: none;
  transition: border-color 160ms ease, color 160ms ease, background 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.brand-social-link:hover,
.brand-social-link:focus-visible {
  border-color: color-mix(in srgb, var(--social-color) 50%, transparent);
  outline: 0;
  color: var(--social-color);
  background: color-mix(in srgb, var(--social-color) 9%, var(--surface));
  box-shadow: 0 0 18px color-mix(in srgb, var(--social-color) 16%, transparent);
  transform: translateY(-1px);
}

.brand-social-link svg {
  width: 16px;
  height: 16px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-social-link .social-icon-fill,
.brand-social-link .social-icon-dot {
  fill: currentColor;
  stroke: none;
}

.sidebar-section {
  padding: 24px 16px 0;
}

.eyebrow {
  margin: 0 0 10px 10px;
  color: var(--muted-2);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.nav-list {
  display: grid;
  gap: 4px;
}

.sidebar-section[hidden],
.nav-list button[hidden] {
  display: none !important;
}

.nav-list button {
  position: relative;
  display: grid;
  min-height: 42px;
  grid-template-columns: 26px 1fr auto;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 0 11px;
  border: 1px solid transparent;
  border-radius: 12px;
  color: var(--muted);
  background: transparent;
  font-size: 13px;
  font-weight: 600;
  text-align: left;
  transition: 160ms ease;
}

.nav-list button:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.035);
}

.nav-list button.active {
  border-color: rgba(57, 255, 20, 0.11);
  color: var(--text);
  background: linear-gradient(90deg, rgba(57, 255, 20, 0.12), rgba(57, 255, 20, 0.035));
}

.nav-list button.active::before {
  position: absolute;
  left: -17px;
  width: 3px;
  height: 22px;
  border-radius: 0 4px 4px 0;
  background: var(--cyan);
  content: "";
  box-shadow: 0 0 14px rgba(57, 255, 20, 0.6);
}

.nav-icon {
  display: inline-grid;
  width: 20px;
  height: 20px;
  place-items: center;
  color: currentColor;
  font-size: 16px;
  text-align: center;
}

.nav-icon svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-pill {
  min-width: 21px;
  padding: 2px 6px;
  border-radius: 10px;
  color: var(--cyan);
  background: var(--cyan-soft);
  font-size: 9px;
  font-weight: 800;
  text-align: center;
}

.nav-pill.soft {
  color: var(--muted);
  background: rgba(255, 255, 255, 0.05);
}

.sidebar-bottom {
  display: grid;
  margin-top: auto;
  padding: 18px 16px;
}

.user-mini {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 9px;
  width: 100%;
  padding: 9px 10px;
  border: 0;
  border-radius: 12px;
  color: var(--text);
  background: transparent;
  text-align: left;
}

.user-mini:hover {
  background: rgba(255, 255, 255, 0.035);
}

.user-mini-copy strong,
.user-mini-copy small {
  display: block;
}

.user-mini-copy strong {
  overflow: hidden;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-mini-copy small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 9px;
}

.user-arrow {
  color: var(--muted-2);
}

.avatar {
  display: inline-grid;
  flex: 0 0 auto;
  width: 35px;
  height: 35px;
  place-items: center;
  overflow: hidden;
  border-radius: 11px;
  color: #071006;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.03em;
}

.avatar img,
.avatar-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar-placeholder { display: grid; width: 70%; height: 70%; place-items: center; color: rgba(255,255,255,.72); }
.avatar-placeholder svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.6; }

.avatar-cyan { background: linear-gradient(140deg, var(--cyan), #a1ff8c); }
.avatar-blue { background: linear-gradient(140deg, var(--blue), #d4ffca); }
.avatar-violet { background: linear-gradient(140deg, var(--violet), #c8b7ff); }
.avatar-orange { background: linear-gradient(140deg, var(--orange), #ffd0a8); }
.avatar-red { background: linear-gradient(140deg, var(--red), #ffb1ba); }

.main-shell {
  min-height: 100vh;
  margin-left: var(--sidebar);
  min-width: 0;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  padding: 13px 28px;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(5, 8, 5, 0.78);
  backdrop-filter: blur(22px);
}

.topbar-left,
.topbar-actions,
.breadcrumb,
.top-user {
  display: flex;
  align-items: center;
}

.topbar-left { min-width: 0; flex: 1 1 auto; gap: 9px; }
.mobile-menu-toggle,
.sidebar-overlay { display: none; }

.breadcrumb {
  gap: 8px;
  color: var(--muted-2);
  font-size: 12px;
}

.breadcrumb strong {
  color: var(--text);
  font-weight: 700;
}

/* Compact persistent player replacing the old breadcrumb in the top bar. */
.music-player { display:flex; align-items:center; gap:7px; min-width:0; max-width:min(680px, 58vw); }
.music-control { width:28px; height:28px; display:grid; place-items:center; border:1px solid var(--line); border-radius:9px; background:rgba(255,255,255,.025); color:var(--muted); font-size:10px; cursor:pointer; transition:all .18s ease; }
.music-control:hover:not(:disabled) { color:var(--text); border-color:var(--cyan); background:var(--cyan-soft); }
.music-control:disabled { opacity:.35; cursor:not-allowed; }
.music-play { width:32px; height:32px; border-radius:50%; color:var(--text); border-color:rgba(57,255,20,.38); background:rgba(57,255,20,.1); }
.music-volume { display:flex; align-items:center; gap:4px; min-width:125px; max-width:180px; margin-left:5px; color:var(--muted-2); font-size:11px; }
.music-volume input { width:100%; accent-color:var(--cyan); cursor:pointer; }
.music-track-info { display:flex; flex:1 1 auto; flex-direction:column; align-items:center; justify-content:center; min-width:0; margin:4px 0 0 5px; line-height:1.2; text-align:center; }
.music-track-info strong { overflow:hidden; color:var(--text); font-family:Space Grotesk,sans-serif; font-size:11px; text-overflow:ellipsis; white-space:nowrap; }
.music-track-info small { overflow:hidden; margin-top:3px; color:var(--muted-2); font-size:8px; text-overflow:ellipsis; white-space:nowrap; }
.music-list-cell { display:flex; align-items:center; gap:8px; min-width:190px; }
.music-list-cell .music-cover { width:28px; height:28px; display:grid; place-items:center; border:1px solid rgba(57,255,20,.25); border-radius:8px; color:var(--cyan); background:rgba(57,255,20,.08); font-size:11px; }
@media (max-width: 920px) { .music-player { max-width:48vw; } .music-volume { min-width:85px; } }
@media (max-width: 680px) { .music-player { max-width:100%; width:100%; gap:5px; } .music-track-info { flex:1; } .music-volume { min-width:74px; max-width:105px; } .topbar-left { min-width:0; flex:1; } .topbar-actions { gap:6px; } }
@media (max-width: 520px) { .music-control { width:26px; height:26px; } .music-play { width:30px; height:30px; } }

.topbar-actions {
  position: relative;
  gap: 9px;
}

.search-box {
  display: grid;
  width: min(360px, 30vw);
  height: 40px;
  grid-template-columns: 25px 1fr;
  align-items: center;
  gap: 5px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--muted);
  background: rgba(11, 18, 12, 0.84);
}

.search-box:focus-within {
  border-color: rgba(57, 255, 20, 0.42);
  box-shadow: 0 0 0 3px rgba(57, 255, 20, 0.06);
}

.search-box input {
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--text);
  background: transparent;
  font-size: 11px;
}

.search-box input::placeholder {
  color: var(--muted-2);
}

.icon-button,
.language-button,
.top-user {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(11, 18, 12, 0.84);
}

.icon-button {
  position: relative;
  display: grid;
  min-width: 40px;
  place-items: center;
}

.notification-button i {
  position: absolute;
  top: 8px;
  right: 8px;
  min-width: 16px;
  height: 16px;
  padding: 0 3px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 8px;
  font-style: normal;
  font-weight: 800;
  line-height: 1;
  box-sizing: border-box;
}

.notification-button i[hidden] { display: none; }
.user-menu-count { margin-left: 7px; min-width: 16px; height: 16px; padding: 0 4px; display: inline-grid; place-items: center; border-radius: 999px; color: #081008; background: var(--cyan); font-size: 8px; line-height: 1; }
.invite-panel-list, .notification-list { display: grid; gap: 10px; }
.invite-panel-card, .notification-item { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.025); }
.notification-item { align-items: flex-start; }
.notification-item[data-action] { width: 100%; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.notification-item[data-action]:hover, .notification-item.is-unread { border-color: rgba(57,255,20,.35); background: rgba(57,255,20,.06); }
.notification-item p { margin: 5px 0 3px; color: var(--muted); font-size: 11px; }
.notification-item small, .invite-panel-card small { color: var(--muted-2); font-size: 9px; }
.music-player.is-hidden { display: none !important; }

.bell-icon {
  line-height: 1;
  color: var(--muted);
}

.bell-icon svg {
  display: block;
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.language-button {
  padding: 0 12px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
}

.top-user {
  gap: 9px;
  padding: 3px 10px 3px 4px;
  text-align: left;
}

.top-user strong,
.top-user small {
  display: block;
}

.top-user strong {
  max-width: 110px;
  overflow: hidden;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.top-user small {
  margin-top: 1px;
  color: var(--muted);
  font-size: 8px;
}

.top-user-chevron {
  margin-left: auto;
  color: var(--muted);
  font-size: 10px;
  line-height: 1;
  transition: transform 150ms ease;
}

.top-user[aria-expanded="true"] {
  border-color: rgba(57, 255, 20, 0.35);
}

.top-user[aria-expanded="true"] .top-user-chevron {
  transform: rotate(180deg);
}

.user-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 55;
  min-width: 286px;
  width: min(286px, calc(100vw - 28px));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(170deg, var(--surface-2), #0d1610);
  box-shadow: var(--shadow);
  transform-origin: top right;
  animation: user-menu-in 140ms ease both;
}

.user-menu[hidden] {
  display: none !important;
}

.notification-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 70px;
  z-index: 56;
  width: min(360px, calc(100vw - 28px));
  max-height: min(470px, calc(100vh - 96px));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(170deg, var(--surface-2), #0d1610);
  box-shadow: var(--shadow);
  transform-origin: top right;
  animation: user-menu-in 140ms ease both;
}

.notification-menu[hidden] { display: none !important; }
.notification-menu-header { padding: 14px 15px 11px; border-bottom: 1px solid var(--line); color: var(--text); font-family: "Space Grotesk", sans-serif; font-size: 13px; }
.notification-menu-body { max-height: min(405px, calc(100vh - 155px)); overflow-y: auto; padding: 11px; }
.notification-menu-empty { display: grid; min-height: 170px; place-items: center; color: var(--muted); font-size: 11px; text-align: center; }

@keyframes user-menu-in {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.user-menu-header {
  display: grid;
  gap: 8px;
  grid-template-columns: auto 1fr;
  align-items: center;
  padding: 12px;
}

.user-menu-header .avatar {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  font-size: 12px;
}

.user-menu-name {
  display: block;
  font-size: 11px;
  letter-spacing: 0.01em;
}

.user-menu-email {
  display: block;
  margin-top: 3px;
  max-width: 190px;
  color: var(--muted);
  font-size: 10px;
  overflow-wrap: anywhere;
}

.user-menu-divider {
  height: 1px;
  margin: 0 10px;
  background: var(--line);
}

.user-menu-item {
  display: grid;
  width: 100%;
  gap: 4px;
  align-items: center;
  padding: 10px 12px;
  border: 0;
  border-radius: 0;
  color: var(--text);
  background: transparent;
  text-align: left;
  text-decoration: none;
}

.user-menu-item:hover,
.user-menu-item:focus-visible {
  outline: 0;
  background: rgba(255, 255, 255, 0.05);
}

.user-menu-item span {
  display: block;
  font-size: 11px;
}

.user-menu-item small {
  color: var(--muted);
  font-size: 9px;
}

.user-menu-team-name {
  overflow-wrap: anywhere;
}

.user-menu-logout {
  color: #ffd6de;
}

.content-wrap {
  width: 100%;
  max-width: 1580px;
  margin: 0 auto;
  padding: 28px;
}

.page-root {
  animation: page-in 280ms ease both;
}

@keyframes page-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

.page-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.page-heading h1,
.page-heading h2,
.card-heading h2,
.card-heading h3 {
  margin: 0;
}

.display-title {
  font-size: clamp(26px, 3vw, 40px);
  letter-spacing: -0.035em;
}

.page-heading p,
.section-subtitle {
  max-width: 620px;
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.page-actions,
.inline-actions,
.filter-row,
.chip-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--text);
  background: var(--surface-2);
  font-size: 11px;
  font-weight: 800;
  transition: 160ms ease;
}

.button:hover {
  border-color: #364c38;
  transform: translateY(-1px);
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
  transform: none;
}

.button-primary {
  border-color: rgba(57, 255, 20, 0.4);
  color: #071006;
  background: linear-gradient(135deg, #35e80f, #82ff65);
  box-shadow: 0 10px 26px rgba(57, 255, 20, 0.12);
}

.button-danger {
  border-color: rgba(255, 109, 124, 0.28);
  color: #ffc7cd;
  background: rgba(255, 109, 124, 0.1);
}

.button-sm {
  min-height: 32px;
  padding: 0 11px;
  border-radius: 9px;
  font-size: 9px;
}

.text-button {
  padding: 0;
  border: 0;
  color: var(--cyan);
  background: transparent;
  font-size: 10px;
  font-weight: 800;
}

.hero {
  position: relative;
  display: grid;
  min-height: 335px;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  gap: 30px;
  overflow: hidden;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    linear-gradient(118deg, rgba(14, 24, 15, 0.98), rgba(8, 14, 9, 0.92)),
    var(--surface);
  box-shadow: var(--shadow);
}

.hero::before {
  position: absolute;
  inset: -60% auto auto 55%;
  width: 480px;
  height: 480px;
  border: 1px solid rgba(57, 255, 20, 0.1);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(57, 255, 20, 0.11), transparent 62%);
  content: "";
}

.hero::after {
  position: absolute;
  right: 25%;
  bottom: -120px;
  width: 340px;
  height: 180px;
  border-radius: 50%;
  background: rgba(167, 223, 150, 0.07);
  filter: blur(45px);
  content: "";
}

.hero-copy,
.hero-visual {
  position: relative;
  z-index: 1;
}

.status-line {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 17px;
  color: var(--cyan);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 5px rgba(57, 255, 20, 0.08);
}

.hero-title {
  max-width: 760px;
  margin: 0;
  font-size: clamp(34px, 5vw, 66px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.hero-title .accent {
  color: var(--cyan);
}

.hero-copy > p {
  max-width: 590px;
  margin: 20px 0 24px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 10px;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-visual {
  display: grid;
  place-items: center;
}

.league-orbit {
  position: relative;
  display: grid;
  width: min(310px, 100%);
  aspect-ratio: 1;
  place-items: center;
}

.orbit-ring {
  position: absolute;
  inset: 6%;
  border: 1px solid rgba(57, 255, 20, 0.17);
  border-radius: 50%;
}

.orbit-ring::before,
.orbit-ring::after {
  position: absolute;
  border: 1px solid rgba(167, 223, 150, 0.12);
  border-radius: 50%;
  content: "";
}

.orbit-ring::before { inset: 16%; }
.orbit-ring::after { inset: -13%; }

.orbit-core {
  position: relative;
  display: grid;
  width: 142px;
  height: 142px;
  place-items: center;
  border: 1px solid rgba(57, 255, 20, 0.34);
  border-radius: 38px;
  background: linear-gradient(145deg, rgba(57, 255, 20, 0.16), rgba(167, 223, 150, 0.08));
  box-shadow: 0 0 50px rgba(57, 255, 20, 0.11), inset 0 0 30px rgba(57, 255, 20, 0.08);
  transform: rotate(12deg);
}

.orbit-core span {
  color: var(--cyan);
  font-family: "Space Grotesk", sans-serif;
  font-size: 38px;
  font-weight: 800;
  transform: rotate(-12deg);
}

.orbit-badge {
  position: absolute;
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(11, 18, 12, 0.9);
  box-shadow: var(--shadow);
  font-size: 10px;
  font-weight: 900;
}

.orbit-badge.one { top: 0; right: 28%; color: var(--cyan); }
.orbit-badge.two { right: 0; bottom: 25%; color: var(--blue); }
.orbit-badge.three { bottom: 0; left: 26%; color: var(--orange); }
.orbit-badge.four { top: 31%; left: 0; color: var(--violet); }

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.profile-hero > .player-profile-metrics {
  grid-column: 1 / -1;
  width: 100%;
  margin-top: 4px;
}

.player-profile-inline-metrics {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 12px 0 0;
}

.player-profile-inline-metrics .metric-card {
  padding: 13px;
}

.metric-card,
.panel,
.compact-card {
  border: 1px solid var(--line-soft);
  background: rgba(11, 18, 12, 0.84);
}

.metric-card {
  position: relative;
  overflow: hidden;
  padding: 19px;
  border-radius: 16px;
}

.metric-card::after {
  position: absolute;
  top: -18px;
  right: -16px;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--glow, rgba(57, 255, 20, 0.08));
  filter: blur(5px);
  content: "";
}

.metric-card .metric-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.metric-card .metric-icon {
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  border-radius: 9px;
  color: var(--tone, var(--cyan));
  background: var(--tone-bg, var(--cyan-soft));
  font-size: 13px;
}

.metric-value {
  margin: 13px 0 4px;
  font-size: clamp(23px, 3vw, 32px);
  letter-spacing: -0.04em;
}

.metric-note {
  color: var(--muted-2);
  font-size: 9px;
}

.metric-note b {
  color: var(--cyan);
}

.dashboard-grid,
.two-column,
.admin-grid {
  display: grid;
  gap: 14px;
  margin-top: 14px;
}

.dashboard-grid {
  grid-template-columns: minmax(0, 1.45fr) minmax(310px, 0.72fr);
}

.two-column {
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
}

.panel {
  min-width: 0;
  padding: 20px;
  border-radius: 18px;
}

.panel-flush {
  padding: 0;
  overflow: hidden;
}

.card-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 15px;
}

.card-heading h2,
.card-heading h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 14px;
  letter-spacing: -0.015em;
}

.card-heading p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 9px;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 10px;
}

.data-table th {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  color: var(--muted-2);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-align: left;
  text-transform: uppercase;
}

.data-table td {
  padding: 12px;
  border-bottom: 1px solid var(--line-soft);
  color: #d4dfd5;
}

.data-table tbody tr:last-child td {
  border-bottom: 0;
}

.data-table tbody tr:hover td {
  background: rgba(255, 255, 255, 0.018);
}

.data-table td.numeric,
.data-table th.numeric {
  text-align: right;
}

.team-cell,
.player-cell {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--text);
  font-weight: 700;
}

.team-logo {
  display: grid;
  flex: 0 0 auto;
  width: 31px;
  height: 31px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--team-color, var(--cyan));
  background: rgba(255, 255, 255, 0.025);
  font-size: 8px;
  font-weight: 900;
}

.team-logo img {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}

.rank-up { color: var(--cyan); }
.rank-down { color: var(--red); }
.rank-flat { color: var(--muted-2); }

.form-badge,
.badge,
.position-badge,
.status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 800;
}

.form-badge {
  width: 20px;
  height: 20px;
  margin-right: 3px;
  font-size: 8px;
}

.form-win { color: #071006; background: var(--cyan); }
.form-draw { color: #2c250e; background: var(--yellow); }
.form-loss { color: white; background: rgba(255, 109, 124, 0.7); }

.match-list,
.activity-list,
.news-list,
.timeline {
  display: grid;
  gap: 9px;
}

.match-card {
  display: grid;
  grid-template-columns: minmax(94px, 0.8fr) auto minmax(94px, 0.8fr);
  align-items: center;
  gap: 12px;
  padding: 13px;
  border: 1px solid var(--line-soft);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.018);
}

.match-card:hover {
  border-color: rgba(57, 255, 20, 0.17);
  background: rgba(57, 255, 20, 0.025);
}

.match-team {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 800;
}

.match-team.away {
  flex-direction: row-reverse;
  text-align: right;
}

.match-center {
  min-width: 74px;
  text-align: center;
}

.score {
  display: block;
  font-size: 17px;
  letter-spacing: -0.04em;
}

.match-date {
  display: block;
  margin-top: 2px;
  color: var(--muted-2);
  font-size: 8px;
}

.match-live {
  color: var(--red);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.news-item,
.activity-item {
  display: grid;
  align-items: center;
  gap: 11px;
  padding: 11px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.018);
}

.news-item {
  grid-template-columns: 76px 1fr auto;
}

.news-cover {
  position: relative;
  display: grid;
  height: 54px;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--cover-color, var(--cyan));
  background:
    radial-gradient(circle at 80% 10%, var(--cover-bg, rgba(57, 255, 20, 0.18)), transparent 55%),
    #080f08;
  font-family: "Space Grotesk", sans-serif;
  font-size: 18px;
  font-weight: 800;
}

.news-copy strong,
.news-copy span {
  display: block;
}

.news-copy strong {
  font-size: 10px;
  line-height: 1.35;
}

.news-copy span {
  margin-top: 4px;
  color: var(--muted-2);
  font-size: 8px;
}

.badge,
.position-badge,
.status-badge {
  min-height: 23px;
  padding: 0 8px;
  font-size: 8px;
}

.badge-cyan { color: var(--cyan); background: var(--cyan-soft); }
.badge-blue { color: var(--blue); background: var(--blue-soft); }
.badge-orange { color: var(--orange); background: rgba(255, 173, 114, 0.12); }
.badge-red { color: #ff9ca7; background: rgba(255, 109, 124, 0.11); }
.badge-neutral { color: var(--muted); background: rgba(255, 255, 255, 0.045); }
.badge-violet { color: #c8b4ff; background: rgba(169, 134, 255, 0.13); }

.quick-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.quick-action {
  min-height: 96px;
  padding: 14px;
  border: 1px solid var(--line-soft);
  border-radius: 13px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.018);
  text-align: left;
}

.quick-action:hover {
  border-color: rgba(57, 255, 20, 0.18);
  background: rgba(57, 255, 20, 0.035);
}

.quick-action .quick-icon {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  margin-bottom: 10px;
  border-radius: 9px;
  color: var(--tone, var(--cyan));
  background: var(--tone-bg, var(--cyan-soft));
}

.quick-action strong,
.quick-action span {
  display: block;
}

.quick-action strong { font-size: 10px; }
.quick-action span { margin-top: 3px; color: var(--muted); font-size: 8px; }

.league-banner {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    radial-gradient(circle at 92% 20%, rgba(57, 255, 20, 0.11), transparent 25rem),
    linear-gradient(135deg, #101d12, #0b130c);
}

.league-banner::after {
  position: absolute;
  right: -110px;
  bottom: -135px;
  width: 350px;
  height: 350px;
  border: 1px solid rgba(57, 255, 20, 0.1);
  border-radius: 50%;
  content: "";
}

.league-header-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.league-identity {
  display: flex;
  align-items: center;
  gap: 18px;
}

.league-emblem {
  display: grid;
  width: 76px;
  height: 76px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(57, 255, 20, 0.3);
  border-radius: 24px;
  color: var(--cyan);
  background: rgba(57, 255, 20, 0.08);
  font-family: "Space Grotesk", sans-serif;
  font-size: 25px;
  font-weight: 800;
}

.league-identity h1 {
  margin: 5px 0 4px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(23px, 4vw, 38px);
  letter-spacing: -0.045em;
}

.league-identity p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
}

.league-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(72px, 1fr));
  gap: 10px;
}

.league-summary div {
  min-width: 82px;
  padding: 12px;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  background: rgba(5, 8, 5, 0.45);
  text-align: center;
}

.league-summary strong,
.league-summary span {
  display: block;
}

.league-summary strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 17px;
}

.league-summary span {
  margin-top: 3px;
  color: var(--muted-2);
  font-size: 8px;
  text-transform: uppercase;
}

.tabs {
  display: flex;
  gap: 3px;
  margin-top: 14px;
  padding: 5px;
  overflow-x: auto;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background: rgba(11, 18, 12, 0.72);
}

.tabs button {
  min-width: max-content;
  min-height: 37px;
  padding: 0 14px;
  border: 0;
  border-radius: 10px;
  color: var(--muted);
  background: transparent;
  font-size: 9px;
  font-weight: 800;
}

.tabs button.active {
  color: #071006;
  background: var(--cyan);
}

.filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.filter-input {
  display: flex;
  min-width: 220px;
  height: 38px;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 11px;
  color: var(--muted);
  background: var(--surface);
}

.filter-input input {
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--text);
  background: transparent;
  font-size: 10px;
}

.filter-chip {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--muted);
  background: rgba(11, 18, 12, 0.74);
  font-size: 9px;
  font-weight: 800;
}

.filter-chip.active {
  border-color: rgba(57, 255, 20, 0.3);
  color: var(--cyan);
  background: var(--cyan-soft);
}

.team-grid,
.player-grid,
.news-grid,
.stat-grid {
  display: grid;
  gap: 12px;
}

.team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.player-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.news-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.team-card,
.player-card,
.news-card,
.stat-card,
.profile-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 17px;
  background: rgba(11, 18, 12, 0.82);
  transition: 170ms ease;
}

.team-card:hover,
.player-card:hover,
.news-card:hover {
  border-color: rgba(57, 255, 20, 0.17);
  transform: translateY(-2px);
}

.team-card {
  padding: 18px;
}

.team-card::before {
  position: absolute;
  top: -70px;
  right: -40px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: var(--team-glow, rgba(57, 255, 20, 0.08));
  filter: blur(14px);
  content: "";
}

.team-card-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.team-card .team-logo {
  width: 48px;
  height: 48px;
  border-radius: 15px;
  font-size: 12px;
}

.team-card h3 {
  margin: 16px 0 4px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 16px;
}

.team-card > p {
  margin: 0;
  color: var(--muted);
  font-size: 9px;
}

.team-card-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  margin-top: 16px;
}

.team-card-stats div {
  padding: 10px 8px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.025);
  text-align: center;
}

.team-card-stats strong,
.team-card-stats span {
  display: block;
}

.team-card-stats strong { font-size: 11px; }
.team-card-stats span { margin-top: 2px; color: var(--muted-2); font-size: 7px; text-transform: uppercase; }

.player-card {
  padding: 16px;
}

.player-card-header {
  display: flex;
  align-items: center;
  gap: 11px;
}

.player-card .avatar {
  width: 44px;
  height: 44px;
  border-radius: 14px;
}

.player-card h3 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 13px;
}

.player-card p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 8px;
}

.player-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 15px;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: 8px;
}

.rating {
  color: var(--cyan);
  font-weight: 900;
}

.position-badge {
  color: var(--blue);
  background: var(--blue-soft);
}

.news-card {
  min-height: 260px;
}

.news-card-cover {
  position: relative;
  display: flex;
  min-height: 132px;
  align-items: flex-end;
  padding: 15px;
  overflow: hidden;
  background:
    linear-gradient(0deg, rgba(4, 8, 4, 0.92), transparent 75%),
    radial-gradient(circle at 78% 18%, var(--news-glow, rgba(57, 255, 20, 0.24)), transparent 31%),
    linear-gradient(135deg, #152416, #080f08);
}

.news-card-cover::before {
  position: absolute;
  top: 18px;
  right: 20px;
  width: 80px;
  height: 80px;
  border: 1px solid currentColor;
  border-radius: 23px;
  color: var(--news-color, var(--cyan));
  content: "";
  opacity: 0.25;
  transform: rotate(19deg);
}

.news-card-cover strong {
  position: relative;
  z-index: 1;
  color: var(--news-color, var(--cyan));
  font-family: "Space Grotesk", sans-serif;
  font-size: 27px;
  letter-spacing: -0.05em;
}

.news-card-body {
  padding: 16px;
}

.news-card-body h3 {
  margin: 9px 0 8px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 14px;
  line-height: 1.35;
}

.news-card-body p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.news-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 13px;
  color: var(--muted-2);
  font-size: 8px;
}

.stat-card {
  padding: 18px;
}

.stat-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.stat-card h3 {
  margin: 15px 0 4px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 13px;
}

.stat-number {
  color: var(--cyan);
  font-family: "Space Grotesk", sans-serif;
  font-size: 27px;
  font-weight: 800;
}

.stat-card p {
  margin: 0;
  color: var(--muted);
  font-size: 8px;
}

.progress-track {
  height: 4px;
  margin-top: 14px;
  overflow: hidden;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
}

.progress-track i {
  display: block;
  width: var(--progress, 70%);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}

.calendar-week {
  margin-bottom: 20px;
}

.week-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.week-header::after {
  height: 1px;
  flex: 1;
  background: var(--line-soft);
  content: "";
}

.week-header strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 12px;
}

.week-header span {
  color: var(--muted);
  font-size: 8px;
}

.team-week-panel {
  overflow: hidden;
}

.team-week-panel .card-heading {
  align-items: flex-start;
}

.formation-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(240px, .58fr);
  gap: 18px;
  align-items: stretch;
}

.formation-layout-centered { display: flex; justify-content: center; }
.formation-layout-centered .formation-pitch { width: min(100%, 720px); }
.team-week-panel .card-heading .badge { display: none; }

.formation-pitch {
  position: relative;
  min-height: 590px;
  overflow: hidden;
  border: 0;
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(32, 108, 45, .98), rgba(18, 71, 29, .99));
  box-shadow: none;
}

.formation-pitch::before,
.formation-pitch::after,
.pitch-mark,
.pitch-halfway,
.pitch-center-circle,
.pitch-box { display: none; }

.pitch-halfway {
  top: 50%;
  right: 7%;
  left: 7%;
  height: 1px;
  background: rgba(225, 255, 220, .38);
}

.pitch-center-circle {
  top: 50%;
  left: 50%;
  width: 92px;
  height: 92px;
  border: 1px solid rgba(225, 255, 220, .42);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.pitch-center-circle::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(225, 255, 220, .58);
  content: "";
  transform: translate(-50%, -50%);
}

.pitch-box {
  left: 26%;
  width: 48%;
  height: 17%;
  border: 1px solid rgba(225, 255, 220, .38);
}

.pitch-box-top { top: 5%; border-top: 0; }
.pitch-box-bottom { bottom: 5%; border-bottom: 0; }

.formation-slot {
  position: absolute;
  z-index: 2;
  width: min(28%, 180px);
  transform: translate(-50%, -50%);
}

.formation-position-square {
  display: none;
}

.week-picker { position: relative; display: block; max-width: 260px; margin-top: 10px; }

.week-picker-trigger {
  display: flex;
  min-width: 112px;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border: 1px solid rgba(223, 255, 218, .75);
  border-radius: 999px;
  background: rgba(5, 19, 8, .9);
  color: var(--text);
  cursor: pointer;
  font-size: 10px;
  font-weight: 800;
  list-style: none;
}

.week-picker-trigger::-webkit-details-marker { display: none; }

.week-picker-menu {
  position: absolute;
  z-index: 10;
  top: calc(100% + 6px);
  left: 0;
  display: flex;
  max-height: 210px;
  min-width: 160px;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(5, 8, 5, .98);
  box-shadow: 0 16px 32px rgba(0, 0, 0, .38);
  scrollbar-width: thin;
}

.week-picker-item {
  flex: 0 0 auto;
  width: 100%;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-2);
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 9px;
  font-weight: 800;
}

.week-picker-item.active,
.week-picker-item:hover { border-color: var(--green); background: rgba(57, 255, 20, .1); color: var(--text); }

.formation-edit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.formation-slot-1 { top: 90%; left: 50%; }
.formation-slot-2 { top: 74%; left: 28%; }
.formation-slot-3 { top: 74%; left: 50%; }
.formation-slot-4 { top: 74%; left: 72%; }
.formation-slot-5 { top: 57%; left: 15%; }
.formation-slot-6 { top: 57%; left: 38%; }
.formation-slot-7 { top: 57%; left: 62%; }
.formation-slot-8 { top: 57%; left: 85%; }
.formation-slot-9 { top: 39%; left: 50%; }
.formation-slot-10 { top: 20%; left: 34%; }
.formation-slot-11 { top: 20%; left: 66%; }

.formation-player-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 7px;
  align-items: center;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  min-width: 0;
  padding: 7px 8px;
  border: 1px solid rgba(223, 255, 218, .27);
  border-radius: 11px;
  background: rgba(5, 19, 8, .86);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .19), 0 0 0 1px rgba(57, 255, 20, .08);
  backdrop-filter: blur(8px);
}

.formation-player-copy {
  min-width: 0;
}

.formation-player-copy strong,
.formation-player-copy span,
.formation-player-copy small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.formation-player-copy strong {
  color: #f1fff0;
  font-size: 9px;
}

.formation-player-copy span {
  margin-top: 2px;
  color: var(--cyan);
  font-size: 7px;
  font-weight: 800;
}

.formation-player-copy small {
  margin-top: 2px;
  color: var(--muted-2);
  font-size: 7px;
}

.formation-rating {
  align-self: start;
  color: var(--cyan);
  font-family: "Space Grotesk", sans-serif;
  font-size: 11px;
}

.formation-summary {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 18px;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(57, 255, 20, .08), rgba(255, 255, 255, .018));
}

.formation-summary-kicker {
  color: var(--muted-2);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.formation-summary > strong {
  margin-top: 7px;
  color: var(--cyan);
  font-family: "Space Grotesk", sans-serif;
  font-size: 34px;
  letter-spacing: -.06em;
}

.formation-summary > p {
  margin: 7px 0 15px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.6;
}

.formation-summary-list {
  display: grid;
  gap: 6px;
  margin-top: auto;
}

.formation-summary-list > div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 5px 10px;
  padding: 7px 0;
  border-top: 1px solid var(--line-soft);
}

.formation-summary-list span {
  grid-column: 1 / -1;
  color: var(--muted-2);
  font-size: 7px;
  text-transform: uppercase;
}

.formation-summary-list strong { overflow: hidden; color: var(--text); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.formation-summary-list b { color: var(--cyan); font-size: 9px; }

.timeline-item {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
}

.timeline-marker {
  position: relative;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--cyan);
  background: var(--surface-2);
  font-size: 9px;
  font-weight: 900;
}

.timeline-item:not(:last-child) .timeline-marker::after {
  position: absolute;
  top: 29px;
  bottom: -26px;
  left: 50%;
  width: 1px;
  background: var(--line);
  content: "";
}

.timeline-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin-bottom: 10px;
  padding: 12px 14px;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.018);
}

.timeline-card strong,
.timeline-card span {
  display: block;
}

.timeline-card strong { font-size: 10px; }
.timeline-card span { margin-top: 4px; color: var(--muted); font-size: 8px; }

.transfer-direction {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 9px;
}

.transfer-direction b {
  color: var(--text);
}

.empty-state {
  display: grid;
  min-height: 300px;
  place-items: center;
  padding: 30px;
  border: 1px dashed var(--line);
  border-radius: 18px;
  text-align: center;
}

.empty-state-icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  margin: 0 auto 14px;
  border: 1px solid rgba(57, 255, 20, 0.2);
  border-radius: 18px;
  color: var(--cyan);
  background: var(--cyan-soft);
  font-size: 22px;
}

.empty-state h2 { margin: 0; font-family: "Space Grotesk", sans-serif; font-size: 18px; }
.empty-state p { max-width: 460px; margin: 9px auto 17px; color: var(--muted); font-size: 10px; line-height: 1.6; }

.form-shell {
  display: grid;
  min-height: calc(100vh - 160px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
}

.form-visual {
  position: relative;
  display: flex;
  min-height: 570px;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 36px;
  background:
    radial-gradient(circle at 30% 25%, rgba(57, 255, 20, 0.17), transparent 27%),
    radial-gradient(circle at 80% 80%, rgba(167, 223, 150, 0.11), transparent 34%),
    linear-gradient(145deg, #102012, #080f08);
}

.form-visual::before,
.form-visual::after {
  position: absolute;
  border: 1px solid rgba(57, 255, 20, 0.16);
  border-radius: 34px;
  content: "";
  transform: rotate(24deg);
}

.form-visual::before { top: 16%; left: 20%; width: 190px; height: 190px; }
.form-visual::after { top: 24%; left: 30%; width: 105px; height: 105px; border-color: rgba(167, 223, 150, 0.17); }

.form-visual-copy {
  position: relative;
  z-index: 1;
}

.form-brand-logo {
  display: block;
  width: 104px;
  height: 104px;
  margin: 0 0 22px;
  border: 2px solid rgba(57, 255, 20, 0.72);
  border-radius: 50%;
  object-fit: cover;
  background: #000;
  box-shadow: 0 0 0 8px rgba(57, 255, 20, 0.045), 0 18px 50px rgba(0, 0, 0, 0.36), 0 0 36px rgba(57, 255, 20, 0.14);
}

.form-visual h2 {
  max-width: 430px;
  margin: 0 0 12px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(28px, 4vw, 45px);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.form-visual p {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}

.auth-form-wrap {
  display: grid;
  place-items: center;
  padding: 35px;
}

.auth-form {
  width: min(460px, 100%);
}

.auth-form h1 {
  margin: 0 0 7px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 27px;
  letter-spacing: -0.04em;
}

.auth-form > p {
  margin: 0 0 23px;
  color: var(--muted);
  font-size: 10px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 12px;
}

.field {
  display: grid;
  min-width: 0;
  gap: 6px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  color: #cbd7cc;
  font-size: 9px;
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  box-sizing: border-box;
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 11px;
  outline: 0;
  color: var(--text);
  background: var(--bg-soft);
  font-size: 10px;
}

.field textarea {
  min-height: 100px;
  padding-top: 11px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(57, 255, 20, 0.42);
  box-shadow: 0 0 0 3px rgba(57, 255, 20, 0.055);
}

.checkbox-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  color: var(--muted);
  font-size: 8px;
  line-height: 1.45;
}

.checkbox-row input {
  width: 1em;
  height: 1em;
  min-height: 1em;
  flex: 0 0 1em;
  margin: 0;
  padding: 0;
  accent-color: var(--cyan);
  font-size: inherit;
}

.registration-form-grid {
  align-items: stretch;
}

.registration-form-grid > .field,
.registration-form-grid > fieldset {
  align-self: stretch;
}

.registration-form-grid .position-options,
.registration-form-grid .platform-options {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.registration-form-grid .platform-option {
  min-height: 42px;
  height: 42px;
  box-sizing: border-box;
}

.consent-field .checkbox-row {
  min-height: 18px;
}

.field-error {
  display: block;
  min-height: 0;
  color: #ff8e9b;
  font-size: 8px;
  line-height: 1.35;
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea,
.field.has-error .platform-options {
  border-color: rgba(255, 109, 124, .72);
  box-shadow: 0 0 0 3px rgba(255, 109, 124, .08);
}

.platform-field {
  min-width: 0;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
}

.platform-field legend {
  padding: 0;
  color: #cbd7cc;
  font-size: 9px;
  font-weight: 800;
}

.position-field {
  min-width: 0;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
}

.position-field legend {
  padding: 0;
  color: #cbd7cc;
  font-size: 9px;
  font-weight: 800;
}

.platform-options {
  display: grid;
  min-height: 42px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.team-platform-options {
  width: 100%;
}

.position-options {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1px;
}

.position-options-detailed {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.platform-option {
  display: flex;
  min-width: 0;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 8px;
  border: 1px solid var(--line);
  border-radius: 11px;
  color: var(--muted);
  background: var(--bg-soft);
  font-size: 8px;
  cursor: pointer;
}

.platform-option:has(input:checked) {
  border-color: rgba(57, 255, 20, .55);
  color: var(--text);
  background: rgba(57, 255, 20, .08);
}

.platform-option input {
  width: 1em;
  height: 1em;
  min-height: 1em;
  flex: 0 0 1em;
  margin: 0;
  padding: 0;
  accent-color: var(--cyan);
  font-size: inherit;
}

.registration-submit { width: 100%; margin-top: 18px; }

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 9px;
}

.form-footer a,
.form-footer button {
  border: 0;
  color: var(--cyan);
  background: transparent;
  font-weight: 800;
}

.admin-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.team-limit-panel {
  margin-top: 14px;
  background:
    radial-gradient(circle at 92% 12%, rgba(57, 255, 20, 0.08), transparent 28%),
    rgba(11, 18, 12, 0.82);
}

.team-limit-form {
  display: grid;
  grid-template-columns: minmax(180px, 320px) auto;
  align-items: end;
  gap: 10px;
  margin-top: 16px;
}

.setting-help {
  margin: 10px 0 0;
  color: var(--muted-2);
  font-size: 8px;
  line-height: 1.55;
}

.admin-status {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 9px;
}

.admin-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
}

.bar-chart {
  display: grid;
  height: 165px;
  grid-template-columns: repeat(8, 1fr);
  align-items: end;
  gap: 9px;
  padding-top: 15px;
}

.bar-chart div {
  position: relative;
  height: var(--bar, 60%);
  min-height: 12px;
  border-radius: 7px 7px 3px 3px;
  background: linear-gradient(180deg, var(--cyan), rgba(57, 255, 20, 0.18));
}

.bar-chart div span {
  position: absolute;
  right: 0;
  bottom: -19px;
  left: 0;
  color: var(--muted-2);
  font-size: 7px;
  text-align: center;
}

.admin-grid {
  grid-template-columns: minmax(0, 1.5fr) minmax(300px, 0.6fr);
}

.activity-item {
  grid-template-columns: 29px 1fr auto;
}

.activity-icon {
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  border-radius: 9px;
  color: var(--cyan);
  background: var(--cyan-soft);
  font-size: 10px;
}

.activity-copy strong,
.activity-copy span {
  display: block;
}

.activity-copy strong { font-size: 9px; }
.activity-copy span { margin-top: 3px; color: var(--muted); font-size: 8px; }
.activity-time { color: var(--muted-2); font-size: 7px; }

.admin-roster-row {
  align-items: center;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.admin-roster-row:last-child { border-bottom: 0; }

.admin-roster-row .avatar-sm {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 10px;
  font-size: 8px;
}

.registration-admin-actions,
.data-table .inline-actions {
  flex-wrap: wrap;
  gap: 6px;
}

.admin-registration-filters {
  margin: 14px 0 0;
}

.data-table code {
  color: var(--cyan);
  font-family: "IBM Plex Mono", monospace;
  font-size: 8px;
}

.profile-hero {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background:
    radial-gradient(circle at 80% 20%, rgba(57, 255, 20, 0.09), transparent 30%),
    var(--surface);
}

.profile-hero .avatar {
  width: 76px;
  height: 76px;
  border-radius: 22px;
  font-size: 20px;
}

.profile-copy h1 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 25px;
}

.profile-copy p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 10px;
}

.profile-card {
  padding: 18px;
}

.profile-details-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  margin-top: 14px;
}

.profile-details-grid .profile-card {
  min-width: 0;
}

.transfer-history-card { grid-column: 1 / -1; }
.profile-transfer-timeline { margin-top: 6px; }
.profile-transfer-timeline .timeline-card { align-items: center; }
.profile-transfer-timeline time { color: var(--muted-2); font-size: 10px; white-space: nowrap; }
@media (max-width: 720px) {
  .profile-transfer-timeline .timeline-card { align-items: flex-start; gap: 8px; flex-direction: column; }
  .profile-transfer-timeline time { white-space: normal; }
}

.profile-card h3 {
  margin: 0 0 14px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 13px;
}

.info-list {
  display: grid;
  gap: 0;
}

.info-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: 9px;
}

.info-row:last-child { border-bottom: 0; }
.info-row strong { color: var(--text); }

.rules-list {
  display: grid;
  gap: 10px;
}

.rule-item {
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background: rgba(11, 18, 12, 0.8);
}

.rule-item button {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 16px;
  border: 0;
  background: transparent;
  font-size: 11px;
  font-weight: 800;
  text-align: left;
}

.rule-content {
  display: none;
  padding: 0 16px 16px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.7;
}

.rule-item.open .rule-content { display: block; }

/* Lig Kuralları: bölüm/kategori görünümü */
.rules-page {
  display: grid;
  gap: 20px;
  padding-bottom: 28px;
}

.rules-hero {
  max-width: 860px;
  padding: 8px 0 0;
}

.rules-kicker {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--cyan);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
}

.rules-hero h1 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: -.04em;
}

.rules-hero p {
  max-width: 820px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.rules-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
}

.rules-search {
  display: flex;
  flex: 1;
  min-width: 0;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(10, 15, 12, .8);
}

.rules-search span { color: var(--muted); font-size: 18px; }
.rules-search input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--text); font-size: 14px; }

.rules-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.rules-category {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 11px;
  color: var(--muted);
  background: rgba(11, 14, 18, .74);
  font-size: 13px;
  font-weight: 800;
}

.rules-category b {
  display: grid;
  min-width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255,255,255,.08);
  font-size: 11px;
}

.rules-category.active { border-color: var(--cyan); color: #06120a; background: var(--cyan); }
.rules-category.active b { color: #06120a; background: rgba(0,0,0,.14); }

.rules-workspace {
  display: grid;
  grid-template-columns: minmax(190px, 230px) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.rules-toc {
  position: sticky;
  top: 18px;
  min-width: 0;
}

.rules-toc > p {
  margin: 0 0 10px;
  color: var(--muted-2);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .13em;
}

.rules-toc nav { display: grid; gap: 2px; max-height: min(66vh, 620px); overflow: auto; padding-right: 4px; }

.rules-toc-link {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: start;
  gap: 7px;
  width: 100%;
  padding: 9px 8px;
  border: 0;
  border-radius: 8px;
  color: var(--muted);
  background: transparent;
  font-size: 12px;
  line-height: 1.35;
  text-align: left;
}

.rules-toc-link b { color: var(--cyan); font-size: 11px; }
.rules-toc-link:hover, .rules-toc-link.active { color: var(--text); background: rgba(0, 255, 148, .1); }
.rules-toc-empty { color: var(--muted-2); font-size: 12px; }

.rules-list { display: grid; gap: 12px; }

.rules-list .rule-item {
  border-color: var(--line);
  border-radius: 15px;
  background: rgba(13, 15, 20, .82);
}

.rule-item-heading {
  display: grid !important;
  grid-template-columns: 44px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 14px;
  padding: 18px 20px !important;
}

.rule-number {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 12px;
  color: var(--cyan);
  background: rgba(0, 255, 148, .12);
  font-size: 15px;
  font-weight: 900;
}

.rule-heading-copy { display: grid; gap: 6px; min-width: 0; }
.rule-heading-copy strong { font-family: "Space Grotesk", sans-serif; font-size: 17px; }
.rule-heading-copy small { color: var(--muted-2); font-size: 11px; font-weight: 600; }
.rule-heading-copy small b { margin-right: 7px; color: var(--cyan); text-transform: uppercase; }
.rule-chevron { color: var(--cyan); font-size: 20px; transform: rotate(180deg); transition: transform .2s ease; }
.rule-item.open .rule-chevron { transform: rotate(0); }

.rules-list .rule-content { padding: 0 22px 22px 78px; color: var(--text); font-size: 14px; line-height: 1.7; }
.rule-section { padding: 15px 0; border-top: 1px solid var(--line-soft); }
.rule-section:first-child { border-top: 0; }
.rule-section h3 { margin: 0 0 8px; color: var(--cyan); font-size: 15px; }
.rule-section p { margin: 0; color: var(--muted); }
.rule-section ol { display: grid; gap: 8px; margin: 8px 0 0; padding-left: 20px; color: var(--muted); }
.rule-section li::marker { color: var(--cyan); font-weight: 800; }

@media (max-width: 820px) {
  .rules-workspace { grid-template-columns: 1fr; }
  .rules-toc { position: static; }
  .rules-toc nav { display: flex; gap: 6px; max-height: none; overflow-x: auto; padding-bottom: 4px; }
  .rules-toc-link { flex: 0 0 auto; width: auto; min-width: max-content; }
  .rules-toc-link span { max-width: 170px; }
  .rules-list .rule-content { padding-left: 22px; }
}

@media (max-width: 560px) {
  .rules-toolbar { align-items: stretch; flex-direction: column; }
  .rules-toolbar .button { width: 100%; }
  .rules-categories { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
  .rules-category { flex: 0 0 auto; }
  .rule-item-heading { grid-template-columns: 36px minmax(0, 1fr) 20px; gap: 10px; padding: 14px 14px !important; }
  .rule-number { width: 36px; height: 36px; border-radius: 10px; }
  .rule-heading-copy strong { font-size: 15px; }
  .rules-list .rule-content { padding: 0 16px 16px; font-size: 13px; }
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(2, 5, 2, 0.72);
  backdrop-filter: blur(12px);
  animation: fade-in 160ms ease both;
}

@keyframes fade-in { from { opacity: 0; } }

.modal {
  width: min(590px, 100%);
  max-height: min(790px, 90vh);
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #0e180f;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.5);
}

.modal.modal-wide { width: min(980px, 100%); }
.fixture-admin-summary { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; margin-bottom:14px; }
.fixture-admin-summary > div { display:flex; flex-direction:column; gap:4px; padding:13px; border:1px solid var(--line-soft); border-radius:14px; background:rgba(255,255,255,.02); }
.fixture-admin-summary strong { font-family:"Space Grotesk",sans-serif; font-size:15px; }
.fixture-admin-summary small { color:var(--muted-2); font-size:9px; }
.fixture-admin-notice { margin:0 0 14px; padding:12px 14px; border:1px solid rgba(255,165,0,.28); border-radius:12px; color:var(--muted); font-size:10px; }
.fixture-admin-notice.danger { border-color:rgba(255,76,76,.4); color:#ffb1b1; background:rgba(255,76,76,.06); }
.fixture-admin-week { margin:0 0 14px; padding:12px; border:1px solid var(--line-soft); border-radius:14px; background:rgba(255,255,255,.015); }
.fixture-admin-week .card-heading { margin-bottom:8px; }
.fixture-admin-row { display:grid; grid-template-columns:minmax(0,1fr) auto auto; align-items:center; gap:12px; padding:11px 0; border-top:1px solid var(--line-soft); }
.fixture-admin-teams { display:grid; grid-template-columns:minmax(0,1fr) auto minmax(0,1fr); align-items:center; gap:8px; }
.fixture-admin-teams strong:last-of-type { text-align:right; }
.fixture-admin-teams small { grid-column:1/-1; color:var(--muted-2); font-size:9px; }
.fixture-admin-score { min-width:70px; text-align:center; }
.fixture-admin-empty { min-height:220px; }
@media (max-width:700px) {
  .fixture-admin-summary { grid-template-columns:1fr; }
  .fixture-admin-row { grid-template-columns:1fr; gap:8px; }
  .fixture-admin-score { text-align:left; }
  .fixture-admin-row .inline-actions { justify-content:flex-start; }
}

.modal-header {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(12, 20, 13, 0.96);
  backdrop-filter: blur(15px);
}

.modal-header h2 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 16px;
}

.modal-body {
  padding: 20px;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 18px;
}

.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 120;
  max-width: 370px;
  padding: 13px 16px;
  border: 1px solid rgba(57, 255, 20, 0.22);
  border-radius: 13px;
  color: var(--text);
  background: rgba(11, 21, 12, 0.95);
  box-shadow: var(--shadow);
  font-size: 10px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: 180ms ease;
}

.toast.show {
  opacity: 1;
  transform: none;
}

.store-preview {
  position: relative;
  display: grid;
  min-height: 520px;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 45%, rgba(57, 255, 20, 0.13), transparent 25%),
    radial-gradient(circle at 75% 25%, rgba(167, 223, 150, 0.1), transparent 25%),
    var(--surface);
}

.store-preview::before,
.store-preview::after {
  position: absolute;
  border: 1px solid rgba(57, 255, 20, 0.11);
  border-radius: 50%;
  content: "";
}

.store-preview::before { width: 410px; height: 410px; }
.store-preview::after { width: 640px; height: 640px; }

.store-copy {
  position: relative;
  z-index: 1;
  max-width: 500px;
  padding: 30px;
  text-align: center;
}

.store-copy .store-icon {
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  margin: 0 auto 18px;
  border: 1px solid rgba(57, 255, 20, 0.25);
  border-radius: 22px;
  color: var(--cyan);
  background: var(--cyan-soft);
  font-size: 28px;
}

.store-copy h1 { margin: 0; font-family: "Space Grotesk", sans-serif; font-size: 34px; }
.store-copy p { margin: 10px 0 20px; color: var(--muted); font-size: 11px; line-height: 1.65; }

.results-panel {
  position: fixed;
  top: 68px;
  right: 252px;
  z-index: 60;
  width: min(440px, calc(100vw - 30px));
  max-height: 520px;
  overflow: auto;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(9, 16, 10, 0.98);
  box-shadow: var(--shadow);
}

.search-result {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  text-align: left;
}

.search-result:hover { background: rgba(255, 255, 255, 0.035); }
.search-result strong { display: block; font-size: 10px; }
.search-result small { display: block; margin-top: 2px; color: var(--muted); font-size: 8px; }

@media (max-width: 1180px) {
  .hero { grid-template-columns: 1fr 320px; }
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .player-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .league-header-content { align-items: flex-start; flex-direction: column; }
  .league-summary { width: 100%; }
}

@media (max-width: 920px) {
  :root { --sidebar: 242px; }
  .sidebar { transform: translateX(-105%); transition: 220ms ease; box-shadow: var(--shadow); }
  body.sidebar-open .sidebar { transform: translateX(0); }
  body.sidebar-open::after { position: fixed; inset: 0; z-index: 40; background: rgba(0,0,0,.52); content: ""; }
  .main-shell { margin-left: 0; }
  .breadcrumb { display: none; }
  .dashboard-grid,
  .two-column,
  .admin-grid { grid-template-columns: 1fr; }
  .hero { grid-template-columns: 1fr; }
  .hero-visual { display: grid; min-height: 220px; }
  .form-shell { grid-template-columns: 1fr; }
  .form-visual { display: flex; min-height: 260px; justify-content: center; }
  .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .results-panel { right: 20px; }
  .formation-layout { grid-template-columns: 1fr; }
  .formation-summary-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 690px) {
  .topbar { min-height: 68px; padding: 10px 14px; }
  .content-wrap { padding: 18px 14px 35px; }
  .search-box { width: 40px; grid-template-columns: 1fr; place-items: center; }
  .search-box input { display: none; }
  .top-user > span:not(.avatar) { display: none; }
  .top-user { padding: 3px; border: 0; background: transparent; }
  .user-menu {
    position: fixed;
    top: 72px;
    right: 12px;
    left: 12px;
    width: auto;
    min-width: 0;
    transform-origin: top center;
  }
  .notification-menu {
    position: fixed;
    top: 72px;
    right: 12px;
    width: min(360px, calc(100vw - 24px));
  }
  .hero { min-height: auto; padding: 25px 20px; }
  .hero-title { font-size: 38px; }
  .page-heading { align-items: flex-start; flex-direction: column; }
  .page-actions { width: 100%; }
  .page-actions .button { flex: 1; }
  .metric-grid,
  .team-grid,
  .player-grid,
  .news-grid,
  .stat-grid { grid-template-columns: 1fr; }
  .filter-bar { align-items: stretch; flex-direction: column; }
  .filter-input { min-width: 0; }
  .league-banner { padding: 21px; }
  .league-identity { align-items: flex-start; flex-direction: column; }
  .league-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .match-card { grid-template-columns: 1fr auto 1fr; gap: 6px; padding: 11px 8px; }
  .match-team { align-items: center; flex-direction: column; text-align: center; }
  .match-team.away { flex-direction: column; text-align: center; }
  .team-logo { width: 28px; height: 28px; }
  .match-center { min-width: 54px; }
  .team-week-panel { padding: 14px; }
  .team-week-panel .card-heading { align-items: stretch; flex-direction: column; }
  .formation-pitch { min-height: 620px; border-radius: 17px; }
  .formation-slot { width: 35%; }
  .formation-player-card { grid-template-columns: 24px minmax(0, 1fr) auto; gap: 4px; padding: 6px; }
  .formation-player-card > .avatar { display: inline-grid; width: 24px; height: 24px; font-size: 8px; }
  .formation-player-copy strong { font-size: 8px; }
  .formation-player-copy span,
  .formation-player-copy small { font-size: 6px; }
  .formation-summary { padding: 15px; }
  .formation-summary-list { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .platform-options { grid-template-columns: 1fr; }
  .position-options,
  .position-options-detailed { grid-template-columns: 1fr; }
  .team-limit-form { grid-template-columns: 1fr; align-items: stretch; }
  .auth-form-wrap { padding: 25px 18px; }
  .profile-hero { grid-template-columns: 1fr; text-align: center; }
  .profile-hero .avatar { margin: auto; }
  .profile-hero .page-actions { justify-content: center; }
}

/* Responsive interaction layer: preserve every desktop feature while making
   the navigation, controls, forms, cards, tables and dialogs usable by touch. */
@media (max-width: 920px) {
  html,
  body { overflow-x: hidden; }

  :root { --sidebar: min(320px, 86vw); }

  .mobile-menu-toggle {
    display: grid;
    width: 44px;
    min-width: 44px;
    height: 44px;
    min-height: 44px;
    place-items: center;
    flex: 0 0 44px;
    padding: 0;
    font-size: 18px;
  }

  .sidebar-overlay {
    position: fixed;
    inset: 0;
    z-index: 45;
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    background: rgba(2, 5, 2, .58);
    backdrop-filter: blur(3px);
  }

  .sidebar-overlay[hidden] { display: none; }
  body.sidebar-open { overflow: hidden; }
  body.sidebar-open::after { display: none; }
  .sidebar { width: min(320px, 86vw); }

  .topbar { gap: 10px; padding: 10px 16px; }
  .topbar-left { min-width: 0; }
  .topbar-actions { min-width: 0; }
  .music-player { max-width: min(52vw, 520px); min-width: 0; }
  .music-track-info { min-width: 0; }
  .music-track-info strong { max-width: 25vw; }
  .content-wrap { min-width: 0; padding: 22px 20px 36px; }
  .page-root,
  .panel,
  .card,
  .team-card,
  .player-card,
  .news-card { min-width: 0; }
  .results-panel { right: 20px; left: auto; width: min(440px, calc(100vw - 40px)); }
}

@media (max-width: 690px) {
  .topbar {
    min-height: 112px;
    flex-wrap: wrap;
    align-content: center;
    padding: 9px 12px;
  }

  .topbar-left {
    width: 100%;
    min-height: 44px;
    flex: 1 0 100%;
  }

  .music-player {
    width: 100%;
    max-width: none;
    gap: 5px;
  }

  .music-control { width: 34px; min-width: 34px; height: 34px; min-height: 34px; }
  .music-play { width: 38px; min-width: 38px; height: 38px; }
  .music-volume { min-width: 68px; max-width: 100px; margin-left: 2px; }
  .music-track-info { margin-left: 2px; }
  .music-track-info strong { max-width: 100%; font-size: 10px; }

  .topbar-actions {
    width: 100%;
    min-height: 44px;
    flex: 1 0 100%;
    justify-content: flex-end;
    gap: 7px;
  }

  .search-box {
    width: auto;
    min-width: 0;
    height: 44px;
    flex: 1 1 auto;
    grid-template-columns: 25px minmax(0, 1fr);
  }

  .search-box input {
    display: block;
    min-width: 0;
    font-size: 16px;
  }

  .icon-button,
  .top-user { min-height: 44px; }
  .icon-button { min-width: 44px; }
  .top-user { width: 44px; min-width: 44px; padding: 3px; justify-content: center; }
  .top-user > span:not(.avatar) { display: none; }

  .user-menu,
  .notification-menu {
    position: fixed;
    top: 116px;
    right: 10px;
    left: 10px;
    width: auto;
    max-width: none;
    min-width: 0;
    max-height: calc(100dvh - 128px);
    transform-origin: top center;
  }

  .notification-menu-body { max-height: calc(100dvh - 190px); }
  .content-wrap { padding: 18px 12px 32px; }
  .page-heading { gap: 13px; margin-bottom: 16px; }
  .page-heading h1,
  .page-heading h2 { max-width: 100%; overflow-wrap: anywhere; }
  .page-heading p { max-width: 100%; font-size: 11px; }
  .page-actions,
  .page-actions .button { width: 100%; }
  .page-actions .button { min-height: 44px; }

  .button,
  .button-sm,
  .filter-chip,
  .tabs button,
  .rule-item button { min-height: 44px; }
  .button-sm { padding-inline: 12px; }
  .inline-actions { width: 100%; }
  .inline-actions > .button { flex: 1 1 auto; min-width: 0; }

  .filter-bar { gap: 9px; margin-bottom: 12px; }
  .filter-bar .chip-row { width: 100%; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 3px; }
  .filter-bar .filter-chip { flex: 0 0 auto; margin-bottom: 0; }
  .filter-input { width: 100%; min-width: 0; min-height: 44px; }
  .filter-input input { font-size: 16px; }

  .table-wrap { max-width: 100%; margin-inline: 0; border-radius: 10px; }
  .data-table { min-width: 640px; font-size: 10px; }
  .data-table th,
  .data-table td { padding: 10px 9px; }
  .admin-players-table { min-width: 820px; }
  .admin-team-application-actions { min-width: 0; }

  .form-grid { grid-template-columns: 1fr; gap: 13px; }
  .field input,
  .field select,
  .field textarea,
  .filter-input input { font-size: 16px; }
  .field input,
  .field select { min-height: 46px; }
  .field textarea { min-height: 120px; }
  .checkbox-row { min-height: 44px; }
  .platform-options,
  .position-options,
  .position-options-detailed { grid-template-columns: 1fr; }
  .form-footer,
  .modal-actions { flex-direction: column; align-items: stretch; }
  .form-footer .button,
  .modal-actions .button { width: 100%; min-height: 46px; }

  .modal-backdrop { place-items: start center; overflow-y: auto; padding: 8px; }
  .modal { width: 100%; max-height: calc(100dvh - 16px); margin: 0; border-radius: 16px; }
  .modal-header { padding: 14px; }
  .modal-header h2 { max-width: calc(100% - 48px); overflow-wrap: anywhere; font-size: 15px; }
  .modal-body { padding: 14px; }

  .card-heading { align-items: flex-start; flex-direction: column; }
  .card-heading > .button,
  .card-heading > .inline-actions { width: 100%; }
  .card-heading > .button { min-height: 44px; }
  .team-grid,
  .player-grid,
  .news-grid,
  .stat-grid,
  .metric-grid { grid-template-columns: 1fr; }
  .team-card,
  .player-card,
  .news-card { width: 100%; }
  .team-card h3,
  .player-card h3,
  .news-card h3 { overflow-wrap: anywhere; }

  .team-detail-layout,
  .team-detail-layout.team-detail-layout-single { grid-template-columns: 1fr; }
  .team-detail-side { grid-template-columns: 1fr; }
  .team-detail-info-grid { grid-template-columns: 1fr; }
  .team-roster-row,
  .team-invite-row { align-items: flex-start; flex-direction: column; }
  .team-roster-meta { width: 100%; justify-content: flex-start; }
  .team-roster-meta > .button { flex: 1 1 auto; min-width: 0; }

  .league-summary,
  .ea-club-preview-stats,
  .ea-identity-grid,
  .ea-admin-inspector { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .league-summary div { min-width: 0; }
  .league-summary strong { font-size: 16px; }
  .formation-layout { grid-template-columns: 1fr; }
  .formation-pitch { min-height: 560px; }

  .toast { right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); left: 10px; max-width: none; text-align: center; }
  .results-panel { top: 116px; right: 10px; left: 10px; width: auto; max-height: calc(100dvh - 128px); }
}

@media (max-width: 380px) {
  .content-wrap { padding-inline: 9px; }
  .topbar { padding-inline: 8px; }
  .topbar { min-height: 132px; }
  .music-player {
    display: grid;
    width: 100%;
    grid-template-columns: 34px 38px 34px minmax(62px, 1fr);
    align-items: center;
    gap: 5px;
  }
  .music-control { width: 34px; min-width: 34px; height: 34px; }
  .music-play { width: 38px; min-width: 38px; height: 38px; }
  .music-volume { display: flex !important; min-width: 62px; max-width: none; width: auto; margin-left: 0; }
  .music-track-info { grid-column: 1 / -1; width: 100%; margin: 1px 0 0; }
  .user-menu,
  .notification-menu,
  .results-panel { top: 136px; }
  .music-track-info strong { font-size: 9px; }
  .team-logo-lg { width: 68px; height: 68px; }
  .league-summary { grid-template-columns: 1fr 1fr; gap: 5px; }
  .league-summary strong { font-size: 14px; }
  .data-table { min-width: 600px; }
}

@supports (padding: env(safe-area-inset-top)) {
  .topbar { padding-top: max(10px, env(safe-area-inset-top)); }
  .content-wrap { padding-bottom: max(32px, env(safe-area-inset-bottom)); }
}

@media (min-width: 921px) {
  .mobile-menu-toggle,
  .sidebar-overlay { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Team detail and management workspace */
.team-detail-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  overflow: hidden;
  min-height: 190px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    radial-gradient(circle at 82% 18%, var(--team-glow, rgba(57, 255, 20, 0.14)), transparent 34%),
    linear-gradient(135deg, rgba(14, 24, 15, 0.98), rgba(7, 13, 8, 0.95));
  box-shadow: var(--shadow);
}

.team-detail-hero::after {
  position: absolute;
  right: 20%;
  bottom: -100px;
  width: 250px;
  height: 180px;
  border-radius: 50%;
  background: var(--team-glow, rgba(57, 255, 20, 0.1));
  filter: blur(42px);
  content: "";
  opacity: .45;
}

.team-detail-identity,
.team-detail-stats {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
}

.team-detail-identity { gap: 18px; min-width: 0; }
.team-logo-lg { width: 92px; height: 92px; border-radius: 25px; font-size: 22px; box-shadow: 0 18px 40px rgba(0,0,0,.2); }
.team-detail-kicker { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 9px; }
.team-detail-identity h1 { margin: 0; font-family: "Space Grotesk", sans-serif; font-size: clamp(24px, 4vw, 38px); letter-spacing: -.045em; }
.team-detail-identity p { max-width: 620px; margin: 7px 0 0; color: var(--muted); font-size: 11px; line-height: 1.6; }
.team-detail-actions { margin-top: 12px; }
.team-detail-stats { gap: 8px; }
.team-detail-stats div { min-width: 84px; padding: 13px 14px; border: 1px solid var(--line-soft); border-radius: 13px; background: rgba(4, 9, 5, .32); text-align: center; }
.team-detail-stats strong,
.team-detail-stats span { display: block; }
.team-detail-stats strong { font-family: "Space Grotesk", sans-serif; font-size: 20px; }
.team-detail-stats span { margin-top: 3px; color: var(--muted-2); font-size: 8px; text-transform: uppercase; }

.team-detail-layout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(310px, .6fr); gap: 14px; margin-top: 14px; }
.team-detail-layout.team-detail-layout-single { grid-template-columns: minmax(0, 1fr); }
.team-detail-main,
.team-detail-side { display: grid; align-content: start; gap: 14px; min-width: 0; }
.team-detail-info-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.team-info-tile { min-width: 0; padding: 13px; border: 1px solid var(--line-soft); border-radius: 12px; background: rgba(255,255,255,.018); }
.team-info-tile span,
.team-info-tile strong,
.team-info-tile small { display: block; }
.team-info-tile span { color: var(--muted-2); font-size: 8px; text-transform: uppercase; letter-spacing: .08em; }
.team-info-tile strong { overflow: hidden; margin-top: 7px; color: var(--text); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.team-info-tile small { overflow: hidden; margin-top: 4px; color: var(--muted); font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.team-description { margin-top: 13px; padding-top: 13px; border-top: 1px solid var(--line-soft); }
.team-description span { color: var(--muted-2); font-size: 8px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.team-description p { margin: 7px 0 0; color: var(--muted); font-size: 10px; line-height: 1.7; white-space: pre-wrap; }

.team-roster-list { display: grid; gap: 7px; }
.team-roster-row,
.team-invite-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px; border: 1px solid var(--line-soft); border-radius: 12px; background: rgba(255,255,255,.018); }
.team-roster-player { display: flex; align-items: center; gap: 9px; min-width: 0; }
.team-roster-player > span:last-child,
.team-invite-row > div { min-width: 0; }
.team-roster-player strong,
.team-roster-player small,
.team-invite-row strong,
.team-invite-row small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.team-roster-player strong,
.team-invite-row strong { color: var(--text); font-size: 10px; }
.team-roster-player small,
.team-invite-row small { margin-top: 3px; color: var(--muted); font-size: 8px; }
.team-roster-meta { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 6px; }
.team-roster-meta .button { white-space: nowrap; }
.avatar-sm { width: 30px; height: 30px; border-radius: 9px; font-size: 9px; }
.team-empty-inline { padding: 16px; border: 1px dashed var(--line); border-radius: 11px; color: var(--muted); font-size: 9px; text-align: center; }

.team-management-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.team-management-section { margin-top: 17px; padding-top: 15px; border-top: 1px solid var(--line-soft); }
.section-label { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 9px; color: var(--muted); font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.team-invite-row + .team-invite-row { margin-top: 7px; }
.membership-card { display: flex; align-items: flex-start; gap: 10px; padding: 12px; border: 1px solid var(--line-soft); border-radius: 12px; background: rgba(255,255,255,.018); }
.membership-icon { display: grid; width: 28px; height: 28px; flex: 0 0 auto; place-items: center; border-radius: 9px; color: var(--cyan); background: var(--cyan-soft); font-size: 13px; font-weight: 900; }
.membership-card strong { display: block; font-size: 10px; }
.membership-card p { margin: 4px 0 0; color: var(--muted); font-size: 8px; line-height: 1.55; }
.form-hint { color: var(--muted-2); font-size: 8px; line-height: 1.45; }
.invite-player-results { display: grid; gap: 6px; margin-top: 8px; }
.invite-player-result { display: flex; align-items: center; gap: 9px; width: 100%; padding: 8px 9px; border: 1px solid var(--line-soft); border-radius: 10px; color: var(--text); background: rgba(255,255,255,.02); text-align: left; cursor: pointer; }
.invite-player-result:hover,
.invite-player-result:focus-visible { border-color: rgba(57,255,20,.45); background: rgba(57,255,20,.07); outline: none; }
.invite-player-result > span:nth-child(2) { min-width: 0; flex: 1; }
.invite-player-result strong,
.invite-player-result small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.invite-player-result strong { font-size: 10px; }
.invite-player-result small { margin-top: 2px; color: var(--muted); font-size: 8px; }
.invite-player-result-arrow { color: var(--cyan); font-size: 8px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.invite-player-results-empty,
.invite-player-selected { padding: 9px 10px; border: 1px dashed var(--line-soft); border-radius: 10px; color: var(--muted); font-size: 9px; }
.invite-player-selected { border-style: solid; border-color: rgba(57,255,20,.25); color: var(--cyan); background: rgba(57,255,20,.05); }

@media (max-width: 920px) {
  .team-detail-layout { grid-template-columns: 1fr; }
  .team-detail-side { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
}

@media (max-width: 690px) {
  .team-detail-hero { align-items: flex-start; flex-direction: column; padding: 21px; }
  .team-detail-identity { align-items: flex-start; flex-direction: column; }
  .team-logo-lg { width: 72px; height: 72px; border-radius: 20px; }
  .team-detail-stats { width: 100%; }
  .team-detail-stats div { flex: 1; min-width: 0; }
  .team-detail-info-grid { grid-template-columns: 1fr; }
  .team-detail-side { grid-template-columns: 1fr; }
  .team-roster-row,
  .team-invite-row { align-items: flex-start; flex-direction: column; }
  .team-roster-meta { width: 100%; justify-content: flex-start; }
  .team-roster-meta .button { flex: 1; }
}

/* EA SPORTS FC 26 Clubs integration */
.ea-verification-card {
  margin-top: 14px;
  background:
    radial-gradient(circle at 88% 15%, rgba(57, 255, 20, .09), transparent 32%),
    var(--surface);
}

.ea-identity-grid,
.ea-club-summary,
.ea-admin-inspector {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.ea-club-summary {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ea-identity-grid > div,
.ea-club-summary > div,
.ea-admin-inspector > div {
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line-soft);
  border-radius: 11px;
  background: rgba(255, 255, 255, .018);
}

.ea-identity-grid span,
.ea-identity-grid strong,
.ea-club-summary span,
.ea-club-summary strong,
.ea-admin-inspector span,
.ea-admin-inspector strong {
  display: block;
}

.ea-identity-grid span,
.ea-club-summary span,
.ea-admin-inspector span {
  color: var(--muted-2);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.ea-identity-grid strong,
.ea-club-summary strong,
.ea-admin-inspector strong {
  overflow: hidden;
  margin-top: 6px;
  color: var(--text);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ea-help {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.65;
}

.ea-card-actions,
.ea-admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 13px;
}

.ea-user-cell {
  min-width: 135px;
}

.ea-user-cell strong,
.ea-user-cell small {
  display: block;
}

.ea-user-cell strong {
  color: var(--text);
  font-size: 10px;
}

.ea-user-cell small {
  margin-top: 4px;
  color: var(--muted-2);
  font-size: 8px;
  line-height: 1.5;
}

.ea-user-cell .badge + small { margin-top: 7px; }
.ea-admin-actions { width: 100%; margin-top: 0; }
.admin-user-actions { min-width: 260px; }
.admin-role-select {
  min-width: 92px;
  padding: 7px 24px 7px 9px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(255, 255, 255, .035);
  color: var(--text);
  font: 600 9px "IBM Plex Mono", monospace;
}
.admin-role-select:focus { border-color: var(--cyan); outline: 0; box-shadow: 0 0 0 3px rgba(101, 213, 236, .12); }
.admin-role-controls { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.admin-role-controls-modal { width: 100%; }
.admin-role-controls-modal .admin-role-select,
.admin-role-controls-modal select[name="role"] { flex: 1 1 120px; }
.admin-admin-toggle { display: inline-flex; align-items: center; gap: 5px; color: var(--text); font-size: 9px; font-weight: 700; white-space: nowrap; cursor: pointer; }
.admin-admin-toggle input { accent-color: var(--cyan); }
.ea-admin-inspector { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 9px; }
.admin-data-state {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 12px 0 0;
  padding: 10px 12px;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  color: var(--muted);
  background: rgba(255, 255, 255, .018);
  font-size: 9px;
  line-height: 1.45;
}
.admin-data-state-loading { color: var(--muted); }
.admin-data-state-ready { color: var(--cyan); border-color: rgba(57, 255, 20, .2); background: rgba(57, 255, 20, .035); }
.admin-data-state-error { color: #ffb4bd; border-color: rgba(255, 109, 124, .35); background: rgba(255, 109, 124, .06); }
.admin-players-table th:last-child,
.admin-players-table td:last-child {
  position: sticky;
  right: 0;
  z-index: 1;
  background: var(--surface, #0b120c);
  box-shadow: -8px 0 14px rgba(0, 0, 0, .2);
}

.team-application-shell { grid-template-columns: minmax(300px, .72fr) minmax(0, 1.28fr); }
.team-application-status-panel { margin-bottom: 14px; }
.team-application-status-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.team-application-status-card {
  display: grid;
  gap: 10px;
  padding: 13px;
  border: 1px solid var(--line-soft);
  border-radius: 13px;
  background: rgba(255, 255, 255, .018);
}
.team-application-status-card > small { color: var(--muted-2); font-size: 8px; }
.application-flow { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-top: 18px; color: var(--muted); font-size: 9px; }
.application-flow span { display: grid; width: 22px; height: 22px; place-items: center; border-radius: 50%; color: #071007; background: var(--cyan); font-weight: 900; }
.ea-application-result {
  display: grid;
  gap: 4px;
  margin-top: 9px;
  padding: 11px 12px;
  border: 1px solid var(--line-soft);
  border-radius: 11px;
  color: var(--muted);
  background: rgba(255, 255, 255, .02);
  font-size: 9px;
  line-height: 1.5;
}
.ea-application-result strong { color: var(--text); font-size: 11px; }
.ea-application-result small { color: var(--muted-2); }
.ea-application-result.success { border-color: rgba(57, 255, 20, .32); color: var(--cyan); background: rgba(57, 255, 20, .055); }
.ea-application-result.error { border-color: rgba(255, 109, 124, .3); color: var(--red); background: rgba(255, 109, 124, .055); }
.ea-application-result.loading { border-color: rgba(111, 167, 255, .3); color: var(--blue); }
.ea-club-preview { display: grid; gap: 12px; margin-top: 10px; padding: 13px; border: 1px solid rgba(57, 255, 20, .24); border-radius: 13px; background: linear-gradient(135deg, rgba(57, 255, 20, .075), rgba(255, 255, 255, .018)); }
.ea-club-preview-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ea-club-preview-head .ea-club-identity { min-width: 0; }
.ea-club-preview-head .ea-club-identity span:last-child { min-width: 0; }
.ea-club-preview-head .ea-club-identity strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ea-club-preview-head .ea-club-identity small { overflow-wrap: anywhere; }
.ea-club-preview-stats { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 7px; }
.ea-club-preview-stats > div { min-width: 0; padding: 8px; border: 1px solid var(--line-soft); border-radius: 9px; background: rgba(255, 255, 255, .018); }
.ea-club-preview-stats span, .ea-club-preview-stats strong { display: block; }
.ea-club-preview-stats span { color: var(--muted-2); font-size: 8px; }
.ea-club-preview-stats strong { margin-top: 4px; color: var(--text); font-size: 13px; }
.ea-form-pills { display: inline-flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px; }
.ea-form-pill { display: inline-grid; min-width: 22px; height: 22px; padding: 0 6px; place-items: center; border: 1px solid rgba(57, 255, 20, .22); border-radius: 999px; color: var(--cyan); background: rgba(57, 255, 20, .08); font-size: 8px; font-weight: 900; }
.ea-form-d { border-color: rgba(255, 183, 77, .28); color: var(--orange); background: rgba(255, 183, 77, .08); }
.ea-form-l { border-color: rgba(255, 109, 124, .3); color: var(--red); background: rgba(255, 109, 124, .08); }
.ea-form-empty { color: var(--muted-2); font-size: 8px; }
.team-logo-preview { display: flex; align-items: center; gap: 11px; margin-top: 10px; padding: 10px; border: 1px solid var(--line-soft); border-radius: 12px; background: rgba(255, 255, 255, .018); }
.team-logo-preview img { width: 70px; height: 70px; object-fit: cover; border-radius: 15px; border: 1px solid rgba(255, 255, 255, .12); }
.team-logo-preview span { color: var(--muted); font-size: 9px; overflow-wrap: anywhere; }
.ea-club-identity { display: flex; align-items: center; gap: 11px; }
.ea-club-crest { display: grid; width: 58px; height: 58px; flex: 0 0 auto; place-items: center; overflow: hidden; border: 1px solid rgba(57, 255, 20, .2); border-radius: 15px; color: var(--cyan); background: var(--cyan-soft); font-weight: 900; }
.ea-club-crest img { width: 100%; height: 100%; object-fit: cover; }
.ea-club-identity strong, .ea-club-identity small { display: block; }
.ea-club-identity strong { color: var(--text); font-family: "Space Grotesk", sans-serif; font-size: 12px; }
.ea-club-identity small { margin-top: 5px; color: var(--muted-2); font-size: 8px; }
.ea-member-snapshot { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; margin-top: 12px; }
.ea-member-snapshot > div { min-width: 0; padding: 9px; border: 1px solid var(--line-soft); border-radius: 10px; background: rgba(255, 255, 255, .018); }
.ea-member-snapshot span, .ea-member-snapshot strong { display: block; }
.ea-member-snapshot span { color: var(--muted-2); font-size: 7px; text-transform: uppercase; letter-spacing: .05em; }
.ea-member-snapshot strong { margin-top: 5px; overflow: hidden; color: var(--text); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.ea-member-list { display: grid; gap: 6px; margin-top: 11px; }
.ea-member-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 9px; border-radius: 9px; background: rgba(255, 255, 255, .018); color: var(--text); font-size: 9px; }
.admin-team-application-actions { min-width: 250px; }

/* League administration */
.league-form-section {
  margin: 0 0 18px;
  padding: 15px;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,.025), rgba(255,255,255,.012));
}
.league-form-section:last-of-type { margin-bottom: 0; }
.league-form-section h3 {
  margin: 0;
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
  font-size: 13px;
  letter-spacing: -.01em;
}
.league-form-section > .form-hint,
.league-form-section > p { margin: 5px 0 13px; }
.league-form-section > summary { cursor: pointer; color: var(--text); font-family: "Space Grotesk", sans-serif; font-size: 13px; font-weight: 700; list-style: none; }
.league-form-section > summary::-webkit-details-marker { display: none; }
.league-form-section > summary::after { content: "+"; float: right; color: var(--accent); }
.league-form-section[open] > summary::after { content: "−"; }
.league-preview-card { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 13px; }
.league-preview-card > * { padding: 12px; border: 1px solid var(--line-soft); border-radius: 10px; background: rgba(57,255,20,.045); color: var(--muted); font-size: 10px; }
.league-preview-card strong { color: var(--text); font-size: 13px; }
.league-form-section .form-grid { margin-top: 0; }
.league-form-section .field label { color: var(--muted); }
.league-logo-preview,
#admin-league-logo-preview { min-height: 78px; }
#admin-league-logo-preview img { width: 78px; height: 78px; object-fit: cover; border-radius: 14px; }
.admin-league-detail { overflow: hidden; }
.admin-league-tabs { flex-wrap: wrap; }
.admin-league-tabs .filter-chip { min-height: 32px; }
.admin-league-detail .metric-grid { margin-top: 14px; }
.admin-league-detail .data-table td,
.admin-league-detail .data-table th { white-space: nowrap; }

@media (max-width: 690px) {
  .league-form-section { padding: 12px; }
  .league-preview-card { grid-template-columns: 1fr 1fr; }
  .admin-league-tabs { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
  .admin-league-tabs .filter-chip { flex: 0 0 auto; }
  .admin-league-detail .data-table td,
  .admin-league-detail .data-table th { white-space: normal; }
}

@media (max-width: 920px) {
  .ea-identity-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ea-admin-inspector { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ea-club-preview-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .team-application-shell { grid-template-columns: 1fr; }
  .team-application-status-list { grid-template-columns: 1fr; }
}

@media (max-width: 690px) {
  .ea-identity-grid,
  .ea-club-summary,
  .ea-admin-inspector { grid-template-columns: 1fr; }
  .ea-club-preview-head { align-items: flex-start; flex-direction: column; }
  .ea-form-pills { justify-content: flex-start; }
  .ea-club-preview-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ea-member-snapshot { grid-template-columns: 1fr; }
  .ea-card-actions .button,
  .ea-admin-actions .button { flex: 1; }
}

/* Readability baseline: keep the compact visual language while making every
   user-facing label, helper and metadata line comfortable to read. */
html { font-size: 16px; }
body { font-size: 14px; }
button, input, select, textarea { font-size: 14px; }
.nav-list button, .sidebar-nav button, .top-user, .user-mini { font-size: 13px !important; }
.button, .text-button, .filter-chip, .chip, .badge, .status-line { font-size: 12px !important; }
.page-heading p, .section-subtitle, .form-hint, .setting-help, .empty-state p,
.team-card p, .player-card p, .profile-copy p, .team-detail-identity p,
.notification-item p, .store-copy p, .team-empty-inline { font-size: 12px !important; }
.data-table, .data-table th, .data-table td { font-size: 12px !important; }
.tournament-team-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(180px,1fr)); gap:8px; }
.tournament-team-option { min-height:42px; }
.tournament-admin-actions { flex-wrap:wrap; margin:14px 0; }
.tournament-groups { display:grid; gap:14px; }
small, .team-card-stats span, .team-detail-stats span, .team-info-tile span,
.team-info-tile small, .team-invite-row small, .section-label, .activity-time,
.timeline-card span, .search-result small, .music-track-info small,
.formation-player-copy small, .ea-club-preview-stats span, .ea-club-identity small,
.ea-member-snapshot span, .form-footer, .info-row > span { font-size: 11px !important; }
.team-card-stats strong, .team-detail-stats strong, .team-info-tile strong,
.activity-copy strong, .formation-summary-list strong, .formation-summary-list b,
.team-invite-row strong, .invite-player-result strong, .ea-application-result strong { font-size: 12px !important; }
.music-track-info strong, .search-result strong { font-size: 13px !important; }
[style*="font-size:7px"], [style*="font-size:8px"],
[style*="font-size:9px"], [style*="font-size:10px"] { font-size: 11px !important; }

/* ePrime League-inspired typography and scrollbar treatment.  The Geist
   font is bundled locally so the visual style does not depend on a third
   party request after deployment. */
html,
body,
button,
input,
select,
textarea {
  font-family: var(--font-body) !important;
}

[style*="font-family:Space Grotesk"],
[style*="font-family: Space Grotesk"],
[style*="font-family:DM Sans"],
[style*="font-family: DM Sans"] {
  font-family: var(--font-display) !important;
}

h1, h2, h3, h4, h5, h6,
.brand strong,
.display-title,
.hero-title,
.metric-value,
.score,
.standing-position,
.page-heading h1,
.rules-hero h1,
.rule-heading-copy strong {
  font-family: var(--font-display) !important;
}

body { font-size: 16px; line-height: 1.5; }
p { font-size: 15px; line-height: 1.625; }
input, select, textarea { font-size: 14px; line-height: 1.45; }

html {
  scrollbar-width: thin;
  scrollbar-color: #1d1d26 #0a0a10;
}

*, *::before, *::after {
  scrollbar-width: thin;
  scrollbar-color: #1d1d26 #0a0a10;
}

*::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

*::-webkit-scrollbar-track {
  background: #0a0a10;
}

*::-webkit-scrollbar-thumb {
  min-height: 28px;
  border: 2px solid #0a0a10;
  border-radius: 999px;
  background: #1d1d26;
}

*::-webkit-scrollbar-thumb:hover { background: #292936; }
*::-webkit-scrollbar-corner { background: #0a0a10; }

.profile-hero-player-slot {
  grid-column: 1 / -1;
  width: 100%;
  padding-top: 4px;
}

.profile-hero-player-slot .player-profile-inline-metrics { margin: 0; }

/* Home campaign hero: image-led, editorial and deliberately specific to NPL. */
.home-hero {
  isolation: isolate;
  display: flex;
  min-height: clamp(560px, 68vh, 760px);
  align-items: center;
  margin: -28px -28px 0;
  padding: clamp(64px, 8vw, 118px) clamp(34px, 7vw, 104px) 82px;
  border: 0;
  border-bottom: 1px solid rgba(57, 255, 20, 0.18);
  border-radius: 0 0 34px 34px;
  background: #050905;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.42);
}
.home-hero::before { z-index: -1; inset: 0; width: auto; height: auto; border: 0; border-radius: 0; background: linear-gradient(90deg, rgba(3,7,3,.99) 0%, rgba(3,8,4,.97) 29%, rgba(3,8,4,.68) 53%, rgba(2,6,3,.14) 78%), linear-gradient(0deg, rgba(4,8,4,.94), transparent 27%), radial-gradient(circle at 70% 18%, rgba(57,255,20,.12), transparent 34%); }
.home-hero::after { z-index: -1; right: auto; bottom: 0; left: 0; width: 100%; height: 130px; border-radius: 0; background: linear-gradient(0deg, rgba(5,9,5,.92), transparent); filter: none; }
.home-hero-media { position: absolute; z-index: -2; inset: 0; background-image: url("assets/npl-stadium-hero.webp"); background-position: 63% center; background-size: cover; filter: saturate(1.08) contrast(1.08) brightness(.88); transform: scale(1.015); }
.home-hero-media::after { position: absolute; inset: 0 auto auto 0; width: 53%; height: 58%; background: linear-gradient(90deg, rgba(4,9,5,.7), rgba(4,9,5,.52) 63%, transparent), linear-gradient(180deg, rgba(4,9,5,.16), rgba(4,9,5,.76) 88%, transparent); content: ""; pointer-events: none; }
.home-hero-copy { width: min(720px, 61%); }
.home-hero-kicker { margin: 0 0 12px; color: rgba(255,255,255,.72); font-size: 12px; font-weight: 850; letter-spacing: .24em; text-transform: uppercase; }
.home-hero-title { max-width: 720px; color: #fff; font-size: clamp(50px, 6.1vw, 90px); font-weight: 850; line-height: .91; letter-spacing: -.065em; text-transform: none; text-wrap: balance; text-shadow: 0 5px 28px rgba(0,0,0,.5); }
.home-hero-title .accent { display: inline-block; margin-top: 12px; color: var(--cyan); text-shadow: 0 0 30px rgba(57,255,20,.18); }
.home-hero-copy > .home-hero-lead { max-width: 510px; margin: 24px 0 28px; color: rgba(244,250,244,.84); font-size: clamp(16px,1.25vw,19px) !important; font-weight: 560; line-height: 1.5; }
.home-hero-actions .button { min-height: 50px; padding: 0 22px; border-radius: 7px; font-size: 13px !important; letter-spacing: .01em; }
.home-hero-actions .button-primary { box-shadow: 0 14px 38px rgba(57,255,20,.16); }
.home-hero-actions .button-primary span { margin-left: 3px; font-size: 18px; transition: transform 160ms ease; }
.home-hero-actions .button-primary:hover span { transform: translateX(4px); }
.home-hero-secondary { border-color: rgba(255,255,255,.2); background: rgba(5,10,6,.48); backdrop-filter: blur(8px); }
.home-hero .hero-meta { gap: 10px 24px; margin-top: 32px; color: rgba(255,255,255,.58); font-size: 11px; font-weight: 700; }
.home-hero-season { position: absolute; right: clamp(28px,4vw,64px); bottom: 42px; z-index: 2; display: grid; justify-items: end; color: rgba(255,255,255,.72); text-shadow: 0 4px 20px rgba(0,0,0,.7); }
.home-hero-season > span { margin-right: 5px; font-size: 10px; font-weight: 800; letter-spacing: .28em; }
.home-hero-season strong { color: #fff; font-family: var(--font-display); font-size: clamp(34px,4vw,58px); line-height: 1; letter-spacing: -.08em; }
.home-hero-season strong span { color: var(--cyan); }
.home-hero-scroll { position: absolute; bottom: 28px; left: 50%; z-index: 2; display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.4); font-size: 9px; font-weight: 750; letter-spacing: .16em; text-transform: uppercase; transform: translateX(-50%); }
.home-hero-scroll span { display: block; width: 28px; height: 1px; background: linear-gradient(90deg, var(--cyan), transparent); }
.home-hero + .metric-grid { margin-top: 20px; }
@media (max-width: 1180px) { .home-hero { min-height: 620px; } .home-hero-copy { width: min(690px,72%); } .home-hero-media { background-position: 58% center; } }
@media (max-width: 920px) { .home-hero { display:flex; min-height:650px; padding-top:86px; } .home-hero-copy { width:min(650px,82%); } .home-hero-media { background-position:60% center; } .home-hero::before { background: linear-gradient(90deg,rgba(3,7,3,.96),rgba(3,8,4,.76) 45%,rgba(3,8,4,.24)), linear-gradient(0deg,rgba(4,8,4,.96),transparent 42%); } }
@media (max-width: 690px) { .home-hero { min-height:610px; margin:-18px -14px 0; padding:70px 20px 68px; border-radius:0 0 24px 24px; } .home-hero-copy { width:100%; } .home-hero-media { background-position:70% center; filter:saturate(1.04) contrast(1.08) brightness(.65); } .home-hero::before { background:linear-gradient(90deg,rgba(3,7,3,.94),rgba(3,8,4,.35)),linear-gradient(0deg,rgba(4,8,4,.98),rgba(4,8,4,.18) 58%); } .home-hero-title { font-size:clamp(43px,14vw,64px); } .home-hero-copy > .home-hero-lead { max-width:420px; } .home-hero-actions { align-items:stretch; flex-direction:column; } .home-hero-actions .button { width:100%; } .home-hero .hero-meta { gap:9px 14px; } .home-hero-season { right:20px; bottom:20px; } .home-hero-scroll { display:none; } }

/* Final home-page polish: compact editorial hero and denser dashboard rhythm. */
.home-hero {
  min-height: 500px;
  margin: -18px -18px 0;
  padding: clamp(52px, 6vw, 84px) clamp(28px, 5vw, 72px) 74px;
  border-radius: 0 0 22px 22px;
}
.home-hero::before {
  background: linear-gradient(90deg, rgba(2,7,3,.98) 0%, rgba(3,8,4,.95) 29%, rgba(3,8,4,.68) 51%, rgba(2,6,3,.12) 78%), linear-gradient(0deg, rgba(4,8,4,.92), transparent 30%), radial-gradient(circle at 75% 18%, rgba(57,255,20,.12), transparent 34%);
}
.home-hero::after { height: 110px; background: linear-gradient(0deg, rgba(5,9,5,.9), transparent); }
.home-hero-media { background-position: 66% center; filter: saturate(1.12) contrast(1.1) brightness(.78); }
.home-hero-media::after { width: 100%; height: 100%; background: linear-gradient(180deg, rgba(0,0,0,.12), transparent 42%, rgba(0,0,0,.3)); }
.home-hero-copy { width: min(650px, 53%); text-shadow: 0 3px 28px rgba(0,0,0,.75); }
.home-hero .status-line { margin-bottom: 28px; padding: 6px 10px; color: #b8ffa8; font-size: 9px; }
.home-hero-kicker { margin-bottom: 12px; color: rgba(223,255,218,.7); font-size: 10px; letter-spacing: .28em; }
.home-hero-title { font-size: clamp(45px, 5.1vw, 72px); line-height: .92; }
.home-hero-title .accent { margin-top: 8px; color: #7dff65; }
.home-hero-copy > .home-hero-lead { margin: 21px 0 25px; font-size: clamp(14px, 1.3vw, 18px) !important; }
.home-hero-actions .button { min-height: 43px; padding: 0 17px; border-radius: 9px; }
.home-hero-actions .button-primary { border-color: #68ff4d; background: linear-gradient(135deg, #51ee30, #8aff72); }
.home-hero-secondary { background: rgba(5,10,6,.55); }
.home-hero .hero-meta { gap: 9px 19px; margin-top: 24px; font-size: 9px; }
.home-hero-season { top: 26px; right: 28px; bottom: auto; }
.home-hero-season > span { font-size: 8px; }
.home-hero-season strong { font-size: clamp(27px, 3vw, 42px); }
.home-hero-scroll { bottom: 20px; font-size: 8px; }
.home-hero-scroll span { width: 16px; height: 23px; border: 1px solid rgba(255,255,255,.32); border-radius: 999px; background: transparent; }
.home-hero-scroll span::after { position: absolute; top: 4px; left: 50%; width: 2px; height: 5px; border-radius: 99px; background: var(--cyan); content: ""; transform: translateX(-50%); }
.home-hero + .metric-grid { gap: 10px; margin-top: 12px; }
.home-hero + .metric-grid .metric-card { min-height: 108px; padding: 15px 17px; border-radius: 11px; background: linear-gradient(145deg, rgba(12,20,13,.96), rgba(8,15,9,.92)); }
.home-hero + .metric-grid .metric-value { margin: 8px 0 3px; font-size: clamp(25px, 2.6vw, 32px); }
.home-hero + .metric-grid .metric-icon { width: 25px; height: 25px; border-radius: 7px; }
.home-heading-icon { display: inline-grid; width: 20px; height: 20px; place-items: center; margin-right: 5px; border-radius: 6px; color: var(--cyan); background: var(--cyan-soft); font-size: 11px; vertical-align: -4px; }
.home-fixtures-panel, .home-actions-panel { border-radius: 12px; background: linear-gradient(145deg, rgba(11,18,12,.95), rgba(8,14,9,.9)); }
.home-actions-panel .quick-action { border-radius: 10px; background: rgba(255,255,255,.018); }
.home-actions-panel .quick-action:hover { background: rgba(57,255,20,.045); }
@media (max-width: 920px) { .home-hero { min-height: 570px; } .home-hero-copy { width: min(650px, 78%); } }
@media (max-width: 690px) { .home-hero { min-height: 575px; margin: -14px -12px 0; padding: 68px 20px 68px; } .home-hero-copy { width: 100%; } .home-hero-title { font-size: clamp(43px, 14vw, 64px); } .home-hero-season { top: 23px; right: 20px; } }

/* Premium NPL visual system: a tighter editorial grid, solid surfaces and
   the stadium image as the only atmospheric layer. Keep this block last so
   it cleanly overrides legacy compact-dashboard treatments above. */
:root {
  --bg: #050705;
  --bg-soft: #080b08;
  --surface: #0b100c;
  --surface-2: #101711;
  --surface-3: #172219;
  --line: #273629;
  --line-soft: rgba(220, 255, 220, 0.1);
  --text: #f4faf3;
  --muted: #96a899;
  --muted-2: #6d7d6f;
  --cyan: #b3ff5e;
  --cyan-soft: rgba(179, 255, 94, 0.14);
  --blue: #a9d6ff;
  --blue-soft: rgba(169, 214, 255, 0.13);
  --sidebar: 232px;
  --radius: 16px;
  --shadow: 0 22px 55px rgba(0, 0, 0, 0.38);
}

body { background: var(--bg); color: var(--text); }
.sidebar {
  width: var(--sidebar);
  border-right-color: rgba(220, 255, 220, 0.08);
  background: #070a07;
  backdrop-filter: none;
}
.brand-block { min-height: 118px; padding: 17px 18px; border-bottom-color: rgba(220, 255, 220, 0.08); }
.brand-logo { width: 48px; height: 48px; flex-basis: 48px; border-color: rgba(179,255,94,.65); box-shadow: 0 0 0 3px rgba(179,255,94,.08); }
.brand strong { font-size: 15px; letter-spacing: .2em; }
.brand small { font-size: 11px; letter-spacing: .56em; }
.sidebar-section { padding: 20px 14px 0; }
.eyebrow { margin-left: 9px; color: #b3ff5e; font-size: 9px; letter-spacing: .2em; text-shadow: 0 0 14px rgba(179,255,94,.18); }
.nav-list { gap: 3px; }
.nav-list button { min-height: 40px; border-radius: 9px; color: #829383; font-size: 12px; }
.nav-list button:hover { color: var(--text); background: #101610; }
.nav-list button.active { border-color: rgba(179,255,94,.18); color: #eaffdf; background: #142012; }
.nav-list button.active::before { left: -15px; width: 2px; background: var(--cyan); box-shadow: 0 0 12px rgba(179,255,94,.45); }
.nav-icon { font-size: 15px; }
.nav-icon svg { width: 17px; height: 17px; }
.nav-pill { color: #ddffc3; background: rgba(179,255,94,.12); }

.main-shell { margin-left: var(--sidebar); }
.topbar { min-height: 70px; padding: 11px 26px; border-bottom-color: rgba(220,255,220,.08); background: rgba(7,10,7,.94); backdrop-filter: blur(14px); }
.music-control, .icon-button, .top-user, .search-box { border-color: #243226; background: #0d130e; }
.music-control:hover:not(:disabled), .search-box:focus-within { border-color: rgba(179,255,94,.55); background: #132013; }
.music-play { border-color: rgba(179,255,94,.5); color: #0a1208; background: var(--cyan); }
.search-box { width: min(330px, 28vw); height: 38px; border-radius: 10px; }
.top-user { min-height: 38px; border-radius: 10px; }
.top-user strong { font-size: 11px; }
.top-user small { font-size: 9px; }
.user-menu, .notification-menu { border-color: #2a392c; background: #0d130e; }

.content-wrap { max-width: 1640px; padding: 24px 26px 44px; }
.page-heading { margin-bottom: 20px; }
.display-title { font-size: clamp(30px, 3vw, 44px); letter-spacing: -.055em; }
.page-heading p, .section-subtitle { color: #91a193; font-size: 13px; line-height: 1.55; }
.button { min-height: 38px; border-color: #2a3b2c; border-radius: 9px; background: #111a12; font-size: 12px; }
.button:hover { border-color: rgba(179,255,94,.5); background: #172318; }
.button-primary, .home-hero-actions .button-primary { border-color: #b3ff5e; color: #0b1208; background: #b3ff5e; box-shadow: 0 10px 26px rgba(179,255,94,.12); }
.button-primary:hover, .home-hero-actions .button-primary:hover { background: #c5ff82; }

.home-hero {
  min-height: clamp(500px, 64vh, 680px);
  margin: -24px -26px 0;
  padding: clamp(54px, 7vw, 96px) clamp(30px, 6vw, 90px) 76px;
  border-bottom: 1px solid rgba(179,255,94,.28);
  border-radius: 0 0 24px 24px;
  background: #0a0f0b;
  box-shadow: 0 28px 65px rgba(0,0,0,.45);
}
.home-hero::before { z-index: -1; inset: 0; width: auto; height: auto; border: 0; border-radius: 0; background: linear-gradient(90deg, #050805 0%, #050805 43%, rgba(5,8,5,.94) 53%, rgba(5,8,5,.55) 68%, rgba(5,8,5,.18) 84%, rgba(5,8,5,.06) 100%); content: ""; }
.home-hero::after { z-index: -1; inset: auto 0 0; width: auto; height: 112px; border-radius: 0; background: rgba(3,7,4,.82); filter: none; content: ""; }
.home-hero-media { z-index: -2; background-position: 62% center; filter: saturate(1.1) contrast(1.08) brightness(.74); transform: scale(1.02); }
.home-hero-media::after { inset: 0; width: auto; height: auto; background: rgba(2,6,3,.3); content: ""; }
.home-hero-copy { width: min(680px, 62%); text-shadow: 0 4px 24px rgba(0,0,0,.62); }
.home-hero-kicker { margin-bottom: 14px; color: rgba(235,255,225,.72); font-size: 10px; letter-spacing: .3em; }
.home-hero-title { max-width: 720px; font-size: clamp(48px, 5.8vw, 82px); line-height: .9; letter-spacing: -.07em; }
.home-hero-title .accent { margin-top: 10px; color: var(--cyan); text-shadow: 0 0 26px rgba(179,255,94,.2); }
.home-hero-copy > .home-hero-lead { max-width: 500px; margin: 22px 0 26px; color: rgba(243,250,241,.82); font-size: clamp(15px, 1.25vw, 18px) !important; line-height: 1.5; }
.home-hero .status-line { margin-bottom: 28px; color: #caff9f; }
.home-hero .hero-meta { gap: 10px 22px; margin-top: 26px; color: rgba(234,246,232,.64); font-size: 10px; }
.home-hero-season { top: 28px; right: clamp(26px, 4vw, 58px); bottom: auto; }
.home-hero-season > span { color: rgba(234,246,232,.56); font-size: 9px; }
.home-hero-season strong { font-size: clamp(32px, 3.8vw, 56px); }
.home-hero-scroll { bottom: 22px; color: rgba(235,246,232,.44); }
.home-hero-scroll span { width: 22px; height: 24px; border: 1px solid rgba(235,246,232,.3); border-radius: 99px; background: transparent; }
.home-hero-scroll span::after { background: var(--cyan); }

.metric-grid { gap: 12px; margin-top: 14px; }
.metric-card, .panel, .compact-card { border-color: rgba(220,255,220,.1); background: #0d140e; }
.home-hero + .metric-grid .metric-card { background: #0d140e; }
.metric-card { min-height: 120px; padding: 17px 18px; border-radius: 13px; }
.metric-card::after { background: var(--glow, rgba(179,255,94,.07)); filter: blur(8px); }
.metric-card .metric-label { color: #91a193; font-size: 10px; letter-spacing: .11em; }
.metric-card .metric-icon { width: 27px; height: 27px; border-radius: 8px; }
.metric-value { margin: 11px 0 4px; font-size: clamp(26px, 2.7vw, 36px); }
.metric-note { color: #718172; font-size: 10px; }
.metric-note b { color: var(--cyan); }

.dashboard-grid, .two-column, .admin-grid { gap: 14px; margin-top: 14px; }
.dashboard-grid { grid-template-columns: minmax(0, 1.55fr) minmax(286px, .75fr); }
.panel { padding: 19px; border-radius: 14px; }
.card-heading { margin-bottom: 14px; }
.card-heading h2, .card-heading h3 { font-size: 15px; letter-spacing: -.025em; }
.card-heading p { color: #7f9081; font-size: 11px; }
.home-fixtures-panel, .home-actions-panel { border-radius: 14px; background: #0d140e; }
.match-list { gap: 8px; }
.match-card { min-height: 70px; padding: 11px 13px; border-color: rgba(220,255,220,.09); border-radius: 10px; background: #111912; }
.match-card:hover { border-color: rgba(179,255,94,.3); background: #162117; }
.match-team { font-size: 11px; }
.match-center { min-width: 82px; }
.score { font-size: 19px; }
.match-date { font-size: 9px; }
.quick-actions { gap: 8px; }
.quick-action { min-height: 94px; padding: 13px; border-color: rgba(220,255,220,.09); border-radius: 10px; background: #111912; }
.quick-action:hover { border-color: rgba(179,255,94,.3); background: #162117; }
.quick-action .quick-icon { width: 29px; height: 29px; border-radius: 8px; }
.quick-action strong { font-size: 11px; }
.quick-action span { color: #829283; font-size: 10px; }

.data-table { font-size: 12px; }
.data-table th { padding: 10px 11px; color: #718172; font-size: 9px; }
.data-table td { padding: 12px 11px; color: #d8e5d8; }
.data-table tbody tr:hover td { background: #111a12; }
.news-item, .activity-item { background: #111912; }
.news-item:hover, .activity-item:hover { background: #162117; }
.news-cover { background: #162117; }

@media (max-width: 1180px) {
  .content-wrap { padding-inline: 22px; }
  .home-hero { margin-inline: -22px; }
  .home-hero-copy { width: min(680px, 72%); }
}
@media (max-width: 920px) {
  :root { --sidebar: 242px; }
  .home-hero { min-height: 580px; padding-top: 82px; }
  .home-hero-copy { width: min(650px, 82%); }
  .dashboard-grid { grid-template-columns: 1fr; }
}
@media (max-width: 690px) {
  .topbar { min-height: 64px; padding: 9px 12px; }
  .content-wrap { padding: 16px 12px 32px; }
  .home-hero { min-height: 590px; margin: -16px -12px 0; padding: 70px 20px 70px; border-radius: 0 0 20px 20px; }
  .home-hero-copy { width: 100%; }
  .home-hero-title { font-size: clamp(44px, 14vw, 66px); }
  .home-hero-media { background-position: 70% center; filter: saturate(1.06) contrast(1.08) brightness(.63); }
  .home-hero-season { top: 22px; right: 20px; }
  .home-hero-scroll { display: none; }
  .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metric-card { min-height: 106px; padding: 14px; }
}
@media (max-width: 460px) {
  .topbar-actions { gap: 5px; }
  .search-box { width: 42px; grid-template-columns: 1fr; padding: 0; place-items: center; }
  .search-box span { font-size: 18px; }
  .search-box input { display: none; }
  .top-user > span:not(.avatar):not(.top-user-chevron) { display: none; }
  .metric-grid { grid-template-columns: 1fr; }
}

/* Overview composition: match the supplied NPL direction while keeping every
   counter and activity row connected to the existing application state. */
.home-hero { min-height: clamp(500px, 61vh, 630px); }
.home-hero-copy { width: min(690px, 61%); }
.home-hero-actions { margin-top: 0; }
.home-hero-actions .button { min-width: 190px; }
.home-hero .status-line { margin-bottom: 38px; }
.home-hero-scroll { display: flex; }
.home-hero + .metric-grid .metric-card { min-height: 116px; }
.home-hero + .metric-grid .metric-value-text { font-size: clamp(24px, 2.4vw, 34px); }
.home-activity-list { gap: 0; }
.home-activity-list .activity-item {
  min-height: 78px;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  gap: 13px;
  padding: 13px 2px;
  border-bottom: 1px solid rgba(220,255,220,.09);
  border-radius: 0;
  background: transparent;
}
.home-activity-list .activity-item:last-child { border-bottom: 0; }
.home-activity-list .activity-item:hover { background: transparent; }
.home-activity-list .activity-icon { width: 38px; height: 38px; border-radius: 50%; font-size: 13px; }
.home-activity-list .activity-copy strong { color: #eff8ed; font-size: 11px; line-height: 1.35; }
.home-activity-list .activity-copy span { margin-top: 5px; font-size: 10px; line-height: 1.35; }
.home-activity-list .activity-time { font-size: 9px; white-space: nowrap; }
.home-data-alert { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 12px 0 0; padding: 11px 14px; border: 1px solid rgba(255, 173, 114, .28); border-radius: 10px; color: #ffd8bc; background: rgba(93, 49, 25, .24); font-size: 11px; }
.home-data-alert .text-button { color: #ffd8bc; }
.match-week { display: block; margin-top: 3px; color: var(--cyan); font-size: 9px; font-weight: 700; }
@media (max-width: 920px) {
  .main-shell { margin-left: 0; }
  .home-hero-copy { width: min(650px, 82%); }
}
@media (max-width: 690px) {
  .home-hero { min-height: 610px; }
  .home-hero-copy { width: 100%; }
  .home-hero-actions { flex-direction: column; align-items: stretch; }
  .home-hero-actions .button { width: 100%; }
  .home-hero-scroll { display: none; }
  .home-activity-list .activity-item { grid-template-columns: 38px minmax(0, 1fr); }
  .home-activity-list .activity-time { grid-column: 2; }
}

/* Clean overview hero and centered live metrics. */
.home-hero {
  display: flex;
  min-height: clamp(430px, 54vh, 560px);
  align-items: center;
  padding-block: clamp(62px, 8vw, 100px);
}
.home-hero-copy {
  width: min(760px, 63%);
}
.home-hero-title {
  max-width: 760px;
  font-family: var(--font-display);
  font-size: clamp(48px, 5.5vw, 78px);
  line-height: .94;
  letter-spacing: -.065em;
}
.home-hero-title .accent {
  display: block;
  margin-top: 9px;
}
.home-hero-copy > .home-hero-lead {
  max-width: 520px;
  margin: 25px 0 0;
  color: rgba(243,250,241,.88);
  font-size: clamp(16px, 1.35vw, 20px) !important;
  font-weight: 620;
  line-height: 1.5;
}
.home-summary-card {
  display: grid;
  min-height: 128px !important;
  align-content: center;
  justify-items: center;
  text-align: center;
}
.home-summary-card .metric-label {
  display: block;
  width: 100%;
  color: #a3b5a5;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .13em;
  text-align: center;
}
.home-summary-card .metric-icon {
  position: absolute;
  top: 15px;
  right: 15px;
}
.home-summary-card .metric-value,
.home-hero + .metric-grid .home-summary-card .metric-value,
.home-hero + .metric-grid .home-summary-card .metric-value-text {
  margin: 12px 0 0;
  color: #f4faf3;
  font-family: var(--font-display);
  font-size: clamp(29px, 3vw, 40px);
  font-weight: 780;
  line-height: 1;
  letter-spacing: -.045em;
}
.home-summary-link {
  width: 100%;
  color: inherit;
  text-align: center;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}
.home-summary-link:hover,
.home-summary-link:focus-visible {
  border-color: rgba(179,255,94,.42);
  background: #142016;
  outline: none;
  transform: translateY(-2px);
}
.tournament-home-list { display: grid; min-height: 148px; }
.tournament-home-list .home-empty { align-self: center; }
.tournament-home-card {
  position: relative;
  display: grid;
  min-height: 148px;
  align-content: center;
  gap: 9px;
  width: 100%;
  padding: 20px;
  overflow: hidden;
  border: 1px solid rgba(179,255,94,.15);
  border-radius: 12px;
  color: var(--text);
  text-align: left;
  background: linear-gradient(135deg, rgba(179,255,94,.1), rgba(17,25,18,.92) 54%);
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}
.tournament-home-card::after {
  position: absolute;
  right: -40px;
  bottom: -58px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(179,255,94,.09);
  content: "";
}
.tournament-home-card:hover,
.tournament-home-card:focus-visible {
  border-color: rgba(179,255,94,.48);
  background: linear-gradient(135deg, rgba(179,255,94,.14), rgba(21,32,22,.96) 54%);
  outline: none;
  transform: translateY(-2px);
}
.tournament-home-kicker {
  color: var(--cyan);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.tournament-home-card strong {
  max-width: calc(100% - 34px);
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.05;
}
.tournament-home-meta { color: var(--muted); font-size: 11px; }
.tournament-home-arrow {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 1;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 9px;
  color: var(--cyan);
  background: rgba(179,255,94,.11);
}
.match-detail-week {
  margin-bottom: 8px;
  color: var(--cyan);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  text-align: center;
  text-transform: uppercase;
}
.match-detail-scoreboard {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(110px,.65fr) minmax(0,1fr);
  align-items: center;
  gap: 16px;
  padding: 18px 0 20px;
  text-align: center;
}
.match-detail-team {
  display: grid;
  min-width: 0;
  justify-items: center;
  align-content: center;
  gap: 10px;
}
.match-detail-team .team-logo { width: 54px; height: 54px; }
.match-detail-team strong {
  min-height: 32px;
  display: grid;
  place-items: start center;
  font-size: 13px;
  line-height: 1.25;
}
.match-detail-score { display: grid; gap: 7px; justify-items: center; }
.match-detail-score strong { font-family: var(--font-display); font-size: 30px; line-height: 1; }
.match-detail-score span { color: var(--muted); font-size: 10px; }
.match-detail-summary { margin-top: 2px; }
.match-detail-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 14px;
  padding: 5px;
  border: 1px solid var(--line-soft);
  border-radius: 11px;
  background: rgba(255,255,255,.02);
}
.match-detail-tabs button {
  flex: 1 1 130px;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--muted);
  background: transparent;
  font-size: 11px;
  font-weight: 750;
}
.match-detail-tabs button:hover,
.match-detail-tabs button.active,
.match-detail-tabs button:focus-visible {
  border-color: rgba(179,255,94,.24);
  color: var(--text);
  background: rgba(179,255,94,.1);
  outline: none;
}
.match-detail-panel {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}
.match-detail-panel[hidden] { display: none; }
.match-detail-event {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 50px;
  padding: 10px 12px;
  border: 1px solid var(--line-soft);
  border-radius: 9px;
  background: rgba(255,255,255,.02);
}
.match-detail-event > span { display: grid; gap: 3px; min-width: 0; }
.match-detail-event strong { font-size: 11px; }
.match-detail-event small { color: var(--muted); font-size: 9px; }
.match-detail-event b { color: var(--cyan); font-size: 11px; white-space: nowrap; }
.match-detail-contribution-group { display: grid; gap: 4px; }
.match-detail-assist-line { margin: -1px 0 7px 12px; color: var(--muted); font-size: 9px; line-height: 1.35; }
.match-rating-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.match-rating-grid > div {
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 70px;
  padding: 11px;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  background: rgba(255,255,255,.02);
}
.match-rating-grid .team-logo { width: 34px; height: 34px; }
.match-rating-grid span { overflow: hidden; color: var(--muted); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.match-rating-grid strong { color: var(--cyan); font-family: var(--font-display); font-size: 21px; }
@media (max-width: 560px) {
  .match-detail-scoreboard { grid-template-columns: 1fr 84px 1fr; gap: 8px; }
  .match-detail-team .team-logo { width: 44px; height: 44px; }
  .match-detail-team strong { font-size: 11px; }
  .match-rating-grid { grid-template-columns: 1fr; }
}
@media (max-width: 920px) {
  .home-hero { min-height: 500px; }
  .home-hero-copy { width: min(650px, 80%); }
}
@media (max-width: 690px) {
  .home-hero { min-height: 525px; padding: 72px 20px; }
  .home-hero-copy { width: 100%; }
  .home-hero-title { font-size: clamp(43px, 13vw, 62px); }
  .home-hero-copy > .home-hero-lead { max-width: 360px; margin-top: 21px; }
}

/* Final top-bar placement: the music player replaces the former search field. */
.topbar-left { flex: 0 0 auto; }
.topbar-actions { width: auto; min-width: 0; margin-left: auto; flex: 0 1 auto; gap: 7px; }
@media (min-width: 921px) {
  .topbar-actions { flex: 0 0 auto; }
  .notification-button { flex: 0 0 40px; }
  .top-user { display: flex; flex: 0 0 auto; min-width: 146px; visibility: visible; }
}
.fixture-ticker {
  display: block;
  min-width: 0;
  flex: 1 1 auto;
  width: auto;
  max-width: none;
  overflow: hidden;
  margin: 0 18px;
  border: 1px solid rgba(179,255,94,.14);
  border-radius: 12px;
  background: rgba(8,14,9,.82);
}
.fixture-ticker[hidden] { display: none; }
.fixture-ticker-viewport { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.fixture-ticker-track { display: flex; width: max-content; will-change: transform; animation: fixtureTickerScroll 26s linear infinite; animation-direction: normal; animation-fill-mode: both; animation-play-state: running; }
.fixture-ticker:hover .fixture-ticker-track { animation-play-state: paused; }
.fixture-ticker-match { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 18px; border: 0; border-right: 1px solid rgba(220,255,220,.08); color: var(--text); background: transparent; white-space: nowrap; cursor: pointer; }
.fixture-ticker-match:hover, .fixture-ticker-match:focus-visible { color: var(--text); background: rgba(179,255,94,.08); outline: none; }
.fixture-ticker-status { color: var(--cyan); font-size: 9px; font-weight: 800; letter-spacing: .1em; }
.fixture-ticker-team { display: inline-flex; align-items: center; gap: 6px; }
.fixture-ticker-team .team-logo { width: 24px; height: 24px; }
.fixture-ticker-team strong { font-size: 10px; }
.fixture-ticker-score { min-width: 46px; color: var(--cyan); font-family: var(--font-display); font-size: 15px; text-align: center; }
.fixture-ticker-league { margin-left: 3px; color: rgba(179,255,94,.72); font-family: "Space Grotesk", sans-serif; font-size: 10px; font-weight: 650; letter-spacing: .02em; }
@keyframes fixtureTickerScroll { from { transform: translateX(0); } to { transform: translateX(-12.5%); } }
@media (prefers-reduced-motion: reduce) {
  .fixture-ticker-track { animation: fixtureTickerScroll 26s linear infinite !important; animation-iteration-count: infinite !important; }
}
.sidebar-music-slot {
  margin-top: auto;
  padding: 18px 14px 20px;
}
.sidebar-music-slot .music-player {
  position: static;
  left: auto;
  bottom: auto;
  z-index: auto;
  display: grid;
  width: 100%;
  max-width: none;
  min-height: 0;
  grid-template-columns: 28px 32px 28px minmax(54px, 1fr);
  align-items: center;
  gap: 6px;
  padding: 9px;
  border: 1px solid #243226;
  border-radius: 12px;
  background: rgba(13,19,14,.96);
  box-shadow: 0 10px 28px rgba(0,0,0,.28);
  backdrop-filter: blur(10px);
}
.sidebar-music-slot .music-volume { min-width: 0; max-width: none; margin-left: 0; }
.sidebar-music-slot .music-track-info {
  grid-column: 1 / -1;
  width: 100%;
  margin: 2px 0 0;
}
@media (max-width: 690px) {
  .topbar { min-height: 116px; flex-wrap: wrap; }
  .topbar-left { width: auto; min-height: 44px; flex: 0 0 auto; }
  .fixture-ticker { order: 3; flex: 1 0 100%; width: 100%; max-width: none; margin: 4px 0 0; }
  .topbar-actions { order: 1; width: auto; min-width: 0; flex: 1 1 auto; }
  .sidebar-music-slot .music-track-info { display: flex !important; }
}
