:root {
  color-scheme: dark;
  --bg: #0b1014;
  --panel: #12191f;
  --border: #253039;
  --text: #e9eef1;
  --muted: #89969f;
  --green: #b4ef63;
  --sidebar: 244px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font:
    14px/1.5 Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select,
summary {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled,
input:disabled {
  cursor: default;
  opacity: 0.4;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 4px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 30px;
  line-height: 1.25;
  font-weight: 650;
  letter-spacing: -1px;
}
h2 {
  font-size: 15px;
  font-weight: 600;
}
h3 {
  font-size: 16px;
}
small {
  font-size: 11px;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--sidebar);
  background: #10161b;
  border-right: 1px solid var(--border);
  padding: 34px 20px 18px;
  z-index: 20;
  display: flex;
  flex-direction: column;
}
.brand {
  display: block;
  font-size: 28px;
  font-weight: 850;
  letter-spacing: -1.4px;
  padding: 0 9px;
}
.brand > span {
  color: var(--green);
}
.brand small {
  display: block;
  font-size: 7px;
  letter-spacing: 1.9px;
  font-weight: 500;
  color: var(--muted);
  margin-top: 2px;
}
.workspace {
  display: flex;
  gap: 11px;
  align-items: center;
  margin: 38px 0 30px;
  padding: 12px 9px;
  border: 1px solid var(--border);
  border-radius: 8px;
}
.crest {
  background: #24422c;
  border: 1px solid #6a9650;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  padding: 7px;
  border-radius: 5px 5px 12px 12px;
}
.workspace strong {
  font-size: 12px;
}
.workspace small {
  display: block;
  font-size: 10px;
  color: var(--muted);
}
.workspace i,
.connection i {
  display: inline-block;
  border-radius: 50%;
  height: 5px;
  width: 5px;
  background: var(--green);
  margin-left: 4px;
}
.nav-label {
  font-size: 9px;
  letter-spacing: 1.8px;
  color: #6e7c87;
  padding: 0 12px;
  margin-bottom: 13px;
}
nav {
  display: grid;
  gap: 7px;
}
nav a {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 12px 13px;
  color: #9aa6af;
  border-radius: 6px;
  font-size: 12px;
  position: relative;
}
nav a > span {
  font-size: 20px;
  line-height: 1;
  width: 20px;
  text-align: center;
}
nav a:hover {
  background: #1b252b;
  color: white;
}
nav a.active {
  background: #202e25;
  color: var(--green);
}
nav a.active i {
  width: 5px;
  height: 5px;
  background: var(--green);
  border-radius: 50%;
  margin-left: auto;
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 42px;
}
.connection {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 5px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 18px;
}
.connection i {
  background: #d2ac61;
  flex-shrink: 0;
}
.connection strong {
  display: block;
  font-size: 10px;
  font-weight: 500;
}
.connection small {
  display: block;
  font-size: 8px;
  color: var(--muted);
  margin-top: 3px;
}
.sidebar-bottom > p {
  font-size: 9px;
  color: #62717c;
  display: flex;
  justify-content: space-between;
}
.shell {
  margin-left: var(--sidebar);
}
.topbar {
  height: 78px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 36px;
  gap: 15px;
}
.breadcrumb {
  font-size: 11px;
  color: var(--muted);
}
.breadcrumb span {
  padding: 0 12px;
  color: #4a5761;
}
.breadcrumb strong {
  color: #d8e0e4;
  font-weight: 500;
}
.top-right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.season {
  font-size: 11px;
  color: #a9b4bb;
}
.demo-pill {
  color: var(--green);
  background: #1d2b20;
  border: 1px solid #344b2e;
  font-size: 8px;
  letter-spacing: 1.2px;
  padding: 5px 9px;
  border-radius: 4px;
}
.avatar {
  width: 31px;
  height: 31px;
  border: 1px solid #3a474e;
  background: #27333a;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 10px;
}
main {
  max-width: 1580px;
  margin: auto;
  padding: 34px 36px 25px;
  min-height: calc(100vh - 135px);
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
}
.eyebrow {
  font-size: 9px;
  color: var(--green);
  letter-spacing: 2px;
  font-weight: 600;
  margin-bottom: 10px;
}
.page-heading p {
  color: var(--muted);
  font-size: 12px;
  margin-top: 10px;
}
.button {
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 11px 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  font-size: 11px;
  font-weight: 600;
}
.secondary {
  background: #151e24;
  color: #d9e1e5;
}
.primary {
  background: var(--green);
  color: #15200e;
  border-color: var(--green);
}
.button:hover {
  filter: brightness(1.13);
}
.full {
  width: 100%;
}
.hero {
  min-height: 193px;
  border: 1px solid #34503b;
  background: linear-gradient(110deg, #1d3527, #182823 53%, #13221f);
  border-radius: 9px;
  padding: 28px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  overflow: hidden;
  margin-bottom: 22px;
}
.hero > div:first-child {
  z-index: 1;
}
.tag {
  display: inline-block;
  color: var(--green);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 1.1px;
  border: 1px solid #46633e;
  background: #2b412a;
  padding: 4px 8px;
  border-radius: 3px;
}
.hero h2 {
  font-size: 28px;
  letter-spacing: -0.7px;
  margin-top: 12px;
  font-weight: 650;
}
.hero h2 span {
  display: block;
  color: #a1b6a7;
  font-size: 12px;
  letter-spacing: 0;
  font-weight: 400;
  margin-top: 5px;
}
.hero-info {
  display: flex;
  gap: 24px;
  color: #a2b2a9;
  font-size: 10px;
  margin-top: 23px;
}
.hero-crest {
  width: 98px;
  height: 116px;
  border: 2px solid #a5d878;
  border-radius: 10px 10px 44px 44px;
  background: #213e2a;
  transform: rotate(-7deg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--green);
  font-size: 42px;
  font-weight: 800;
  z-index: 1;
  margin-right: 46px;
  box-shadow: 0 0 0 7px #86b86711;
}
.hero-crest small {
  font-size: 7px;
  letter-spacing: 2px;
}
.pitch-lines {
  position: absolute;
  right: -15px;
  width: 360px;
  height: 250px;
  border: 1px solid #73946e24;
  transform: rotate(-20deg);
  border-radius: 6px;
}
.pitch-lines:after {
  content: "";
  position: absolute;
  width: 100px;
  height: 100px;
  border: 1px solid #73946e24;
  border-radius: 50%;
  top: 70px;
  left: 100px;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
.metric {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 18px 20px;
}
.metric-top {
  color: #9aa7af;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
}
.metric-top > span {
  font-size: 18px;
  color: #718273;
}
.metric > strong {
  display: block;
  font-size: 30px;
  font-weight: 600;
  line-height: 1.4;
  margin: 8px 0 4px;
  letter-spacing: -0.9px;
  overflow-wrap: anywhere;
}
.metric > small {
  color: var(--muted);
  font-size: 10px;
}
.dashboard-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 22px;
}
.panel {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--panel);
  overflow: hidden;
  margin-bottom: 22px;
}
.dashboard-grid > .panel,
.two-cols > .panel {
  margin-bottom: 0;
}
.panel-head {
  padding: 19px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid #253039aa;
}
.panel-head a {
  font-size: 10px;
  color: var(--muted);
}
.panel-head a:hover {
  color: var(--green);
}
.match-list {
  padding: 0 22px;
}
.match-row {
  display: flex;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid #25303988;
  gap: 22px;
}
.match-row:last-child {
  border-bottom: 0;
}
.date-block {
  font-size: 11px;
  width: 61px;
  color: #c5cfd5;
}
.date-block small,
.opponent small {
  display: block;
  color: var(--muted);
  font-size: 9px;
  margin-top: 4px;
}
.opponent {
  flex: 1;
}
.opponent strong {
  font-size: 12px;
  font-weight: 500;
}
.result {
  display: inline-block;
  border: 1px solid transparent;
  border-radius: 4px;
  padding: 4px 11px;
  white-space: nowrap;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 1px;
}
.win {
  background: #263d2a;
  color: #b4e48d;
  border-color: #365334;
}
.draw {
  background: #3c3523;
  color: #d8c083;
  border-color: #554a2b;
}
.loss {
  background: #3b2829;
  color: #dc9a9c;
  border-color: #553537;
}
.next-match {
  padding: 21px 24px;
}
.subtle {
  background: #1e282d;
  color: #9aaab2;
  border-color: #34434a;
  font-size: 8px;
  letter-spacing: 0.3px;
}
.versus {
  display: flex;
  align-items: center;
  justify-content: space-around;
  margin: 23px 0 18px;
  text-align: center;
}
.versus > span {
  color: #61717a;
  font-size: 10px;
  letter-spacing: 2px;
}
.versus strong {
  font-size: 11px;
  font-weight: 500;
  display: block;
  margin-top: 10px;
}
.club-badge {
  margin: auto;
  border: 1px solid #5e8550;
  background: #263f2b;
  color: var(--green);
  width: 43px;
  height: 49px;
  display: grid;
  place-items: center;
  font-weight: 750;
  font-size: 17px;
  border-radius: 5px 5px 17px 17px;
}
.away {
  background: #2d324a;
  color: #bac3ed;
  border-color: #555e83;
}
.match-meta {
  text-align: center;
  color: var(--muted);
  font-size: 9px;
  margin-bottom: 20px;
}
.match-meta span {
  padding: 0 5px;
}
.table-wrap {
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  white-space: nowrap;
}
th {
  font-size: 9px;
  font-weight: 500;
  color: #84949e;
  background: #151f25;
  padding: 12px 20px;
}
td {
  padding: 14px 20px;
  font-size: 11px;
  border-bottom: 1px solid #25303980;
}
tr:last-child td {
  border-bottom: 0;
}
tbody tr:hover {
  background: #182229;
}
.player-cell {
  display: flex;
  align-items: center;
  gap: 11px;
}
.player-cell strong {
  font-size: 11px;
  font-weight: 500;
}
.player-cell small {
  display: block;
  font-size: 9px;
  color: var(--muted);
  margin-top: 3px;
}
.player-avatar {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 35px;
  border-radius: 6px;
  background: linear-gradient(145deg, #344740, #21312d);
  color: #c6d6c5;
  font-size: 10px;
  font-weight: 600;
  flex-shrink: 0;
}
.large {
  width: 54px;
  height: 60px;
  font-size: 18px;
}
.position {
  display: inline-block;
  color: #a9b6bf;
  background: #253038;
  border: 1px solid #35414a;
  border-radius: 4px;
  padding: 3px 7px;
  font-size: 9px;
}
.rating {
  display: inline-block;
  padding: 4px 7px;
  background: #23352c;
  color: #b4dca1;
  border-radius: 4px;
  font-size: 10px;
}
.rating.high {
  color: #1a300e;
  background: var(--green);
  font-weight: 700;
}
.insight {
  display: flex;
  gap: 15px;
  margin: 22px;
  padding-bottom: 20px;
  border-bottom: 1px solid #25303980;
}
.insight:last-child {
  border-bottom: 0;
  margin-bottom: 0;
}
.insight > span {
  color: var(--green);
  background: #25372a;
  border-radius: 6px;
  width: 33px;
  height: 33px;
  flex-shrink: 0;
  text-align: center;
  padding-top: 4px;
  font-size: 19px;
}
.insight strong {
  font-size: 12px;
  font-weight: 500;
}
.insight p {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.8;
  margin: 7px 0 9px;
}
.insight a {
  font-size: 10px;
  color: var(--green);
}
.notice {
  margin-top: 22px;
  border: 1px solid #2f3c36;
  border-radius: 5px;
  background: #16201b;
  padding: 12px 17px;
  font-size: 10px;
  color: #9cafa2;
  line-height: 1.8;
}
footer {
  padding: 16px 36px 22px;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  color: #61717c;
  font-size: 9px;
}
footer span {
  color: #7f8b93;
}
.toolbar {
  display: flex;
  align-items: flex-end;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 11px;
  color: var(--muted);
  min-width: 180px;
}
.field.grow {
  flex: 1;
}
input[type="search"],
select {
  border: 1px solid #34424a;
  border-radius: 5px;
  color: #d9e1e6;
  padding: 10px 12px;
  background: #151f25;
  min-height: 40px;
  max-width: 100%;
}
input[type="checkbox"] {
  accent-color: var(--green);
  width: 16px;
  height: 16px;
}
.count {
  font-size: 11px;
  color: var(--green);
  margin-left: 8px;
}
.panel-note {
  color: var(--muted);
  font-size: 11px;
  padding: 16px 22px;
  line-height: 1.7;
}
.fitness {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 10px;
}
.meter {
  width: 50px;
  height: 4px;
  background: #2a363b;
  border-radius: 4px;
  overflow: hidden;
}
.meter i {
  display: block;
  height: 100%;
  background: var(--green);
}
.green {
  color: var(--green);
}
.empty {
  padding: 35px 22px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}
.comparison {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
  padding: 24px;
}
.compare-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  gap: 12px;
}
.compare-heading p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
}
.score {
  font-size: 28px;
  color: var(--green);
  text-align: right;
}
.score small {
  display: block;
  font-size: 10px;
  color: var(--muted);
}
.attributes {
  display: grid;
  gap: 14px;
}
.attributes > div {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 11px;
}
.attributes > div > span {
  width: 80px;
  color: var(--muted);
}
.attribute-track {
  flex: 1;
  background: #2a363b;
  height: 5px;
  border-radius: 3px;
  overflow: hidden;
}
.attribute-track i {
  display: block;
  height: 100%;
  background: var(--green);
}
.attributes strong {
  min-width: 20px;
  font-size: 11px;
}
.method {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.8;
}
.fixture-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.fixture {
  padding: 22px;
  margin-bottom: 0;
}
.fixture-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 11px;
}
.fixture h2 {
  font-size: 17px;
  margin: 22px 0;
}
.fixture h2 > span {
  color: #6c7c87;
  padding: 0 6px;
}
.fixture-details {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 11px;
}
details {
  margin-top: 20px;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}
summary {
  font-size: 11px;
  color: var(--green);
  cursor: pointer;
}
.lineup-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-top: 16px;
  font-size: 10px;
  color: #b0bdc5;
}
.lineup-list b {
  color: var(--green);
  font-size: 9px;
  margin-right: 5px;
}
.block {
  display: block;
}
.muted {
  color: var(--muted);
}
.two-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-bottom: 22px;
}
.bar-chart {
  height: 230px;
  display: flex;
  padding: 10px 30px 24px;
  gap: 22px;
  align-items: stretch;
}
.chart-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  min-width: 0;
}
.chart-col > strong {
  font-size: 11px;
  color: var(--green);
}
.chart-col > span {
  font-size: 10px;
  color: var(--muted);
}
.bar-space {
  height: 100%;
  width: 100%;
  display: flex;
  align-items: flex-end;
  background: repeating-linear-gradient(
    to top,
    transparent 0,
    transparent 39px,
    #29373d 40px
  );
}
.bar-space i {
  width: 100%;
  background: linear-gradient(to top, #4b7337, #b4ef63);
  border-radius: 4px 4px 0 0;
  max-width: 50px;
  margin: auto auto 0;
}
.profile-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 24px;
}
.profile-head p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 5px;
}
.profile-head + .attributes {
  padding: 0 24px 24px;
}
.scout-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 26px;
}
.scout-card {
  padding: 20px;
  text-align: left;
  color: var(--text);
  margin: 0;
  transition: border-color 0.15s;
}
.scout-card.selected {
  border-color: var(--green);
  background: #19241e;
}
.scout-card:hover {
  border-color: #688653;
}
.scout-card > div:first-child {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
}
.scout-card > .player-avatar {
  margin: 20px 0 15px;
}
.scout-card h2 {
  font-size: 16px;
}
.scout-card p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
}
.scout-bottom {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 23px;
  padding-top: 15px;
  border-top: 1px solid var(--border);
}
.scout-bottom strong {
  font-size: 12px;
  color: var(--green);
}
.scout-bottom span {
  font-size: 9px;
  color: var(--muted);
}
.opponent-profile {
  text-align: center;
  padding: 28px 20px;
}
.opponent-profile .club-badge {
  width: 60px;
  height: 68px;
  font-size: 24px;
  margin-bottom: 16px;
}
.opponent-profile h2 {
  font-size: 22px;
}
.opponent-profile p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 7px;
}
.intel {
  padding: 0 24px 24px;
}
.intel small {
  color: var(--green);
  font-size: 9px;
  letter-spacing: 1px;
}
.intel p {
  font-size: 12px;
  margin: 7px 0 18px;
  color: #b2bec5;
}
.formation {
  margin: 22px 24px 0;
  padding: 15px 20px;
  background: repeating-linear-gradient(
    0deg,
    #1c3928 0,
    #1c3928 42px,
    #203e2c 42px,
    #203e2c 84px
  );
  border: 1px solid #49654a;
  border-radius: 5px;
  position: relative;
}
.formation:before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid #a1bf8c35;
  pointer-events: none;
}
.formation-label {
  position: absolute;
  top: 7px;
  left: 10px;
  font-size: 10px;
  color: #afc4a6;
}
.pitch-row {
  display: flex;
  justify-content: space-around;
  position: relative;
  gap: 10px;
  margin: 10px 0;
}
.pitch-row > div {
  text-align: center;
  min-width: 35px;
}
.pitch-row span {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: #25361c;
  margin: auto;
  font-size: 10px;
  font-weight: 700;
}
.pitch-row small {
  font-size: 8px;
  display: block;
  margin-top: 3px;
  color: #c7d6bf;
}
.recommendations {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  padding: 24px;
}
.step {
  color: var(--green);
  font-size: 11px;
  display: block;
  margin-bottom: 13px;
}
.recommendations h3 {
  font-size: 15px;
  margin-bottom: 10px;
}
.recommendations p {
  font-size: 12px;
  color: #bbc6cc;
  line-height: 1.8;
  margin-bottom: 12px;
}
.recommendations small {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.8;
  display: block;
}
.integration {
  display: flex;
  gap: 15px;
  padding: 24px;
}
.integration h3 {
  font-size: 14px;
}
.integration p {
  font-size: 12px;
  color: var(--muted);
  margin: 8px 0;
}
.integration small {
  color: #91a197;
  line-height: 1.8;
}
.status-dot {
  width: 8px;
  height: 8px;
  background: #d2ac61;
  flex-shrink: 0;
  border-radius: 50%;
  margin-top: 7px;
}
.menu {
  display: none;
}
.icon-button {
  color: var(--text);
  border: 1px solid var(--border);
  background: var(--panel);
  padding: 7px 10px;
  border-radius: 5px;
}
.skip {
  position: fixed;
  left: 10px;
  top: -80px;
  background: var(--green);
  color: #16220c;
  padding: 10px;
  z-index: 100;
}
.skip:focus {
  top: 10px;
}
.loading,
.error {
  padding: 50px 20px;
  text-align: center;
}
.error p {
  color: var(--muted);
  margin: 20px 0;
}
@media (min-width: 1600px) {
  main {
    padding-top: 45px;
  }
  .hero {
    min-height: 225px;
  }
  .match-row {
    padding: 20px 0;
  }
  .metric {
    padding: 22px;
  }
}
@media (max-width: 1200px) {
  :root {
    --sidebar: 216px;
  }
  .sidebar {
    padding-left: 13px;
    padding-right: 13px;
  }
  main {
    padding: 28px 24px;
  }
  .topbar {
    padding: 0 24px;
  }
  .page-heading {
    align-items: flex-start;
  }
  h1 {
    font-size: 27px;
  }
  .hero-info {
    gap: 13px;
  }
  .hero-crest {
    margin-right: 12px;
  }
  .metric {
    padding: 16px;
  }
  .metric > strong {
    font-size: 25px;
  }
  .scout-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .dashboard-grid {
    grid-template-columns: 1.1fr 1fr;
  }
  td,
  th {
    padding-left: 14px;
    padding-right: 14px;
  }
  .match-row {
    gap: 12px;
  }
  .panel-head {
    padding: 17px;
  }
  .hero {
    padding: 25px;
  }
  .recommendations {
    gap: 15px;
  }
}
@media (max-width: 950px) {
  .sidebar {
    width: 244px;
    transform: translateX(-100%);
    transition: transform 0.2s;
  }
  .sidebar.open {
    transform: translateX(0);
    box-shadow: 12px 0 30px #0008;
  }
  .shell {
    margin-left: 0;
  }
  .menu {
    display: block;
  }
  .breadcrumb {
    margin-right: auto;
  }
  .top-right {
    gap: 12px;
  }
  .page-heading {
    align-items: center;
  }
  .dashboard-grid {
    grid-template-columns: 1.2fr 1fr;
  }
  .fixture-grid {
    gap: 15px;
  }
  .hero-crest {
    margin-right: 30px;
  }
}
@media (max-width: 650px) {
  .topbar {
    height: 65px;
    padding: 0 16px;
    gap: 10px;
  }
  .breadcrumb {
    font-size: 10px;
  }
  .breadcrumb > span {
    padding: 0 6px;
  }
  .breadcrumb {
    max-width: 46%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .top-right {
    gap: 8px;
  }
  .season,
  .avatar {
    display: none;
  }
  .demo-pill {
    font-size: 7px;
    padding: 4px 6px;
  }
  .page-heading {
    display: block;
    margin-bottom: 22px;
  }
  .page-heading .button {
    margin-top: 17px;
  }
  h1 {
    font-size: 26px;
  }
  .page-heading p {
    font-size: 12px;
    line-height: 1.8;
  }
  main {
    padding: 25px 16px;
  }
  .hero {
    padding: 23px 20px;
    min-height: 215px;
    align-items: flex-start;
  }
  .hero h2 {
    font-size: 25px;
    max-width: 220px;
  }
  .hero h2 span {
    max-width: 180px;
    font-size: 11px;
    line-height: 1.8;
  }
  .hero-crest {
    width: 58px;
    height: 72px;
    font-size: 26px;
    position: absolute;
    right: 18px;
    top: 68px;
    margin: 0;
  }
  .hero-crest small {
    font-size: 4px;
  }
  .hero-info {
    flex-wrap: wrap;
    gap: 9px 15px;
    font-size: 9px;
    max-width: 245px;
  }
  .tag {
    font-size: 7px;
  }
  .metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
  }
  .metric {
    padding: 15px 13px;
  }
  .metric-top {
    font-size: 10px;
  }
  .metric > strong {
    font-size: 25px;
  }
  .metric > small {
    font-size: 9px;
  }
  .dashboard-grid,
  .two-cols,
  .fixture-grid {
    grid-template-columns: 1fr;
    gap: 17px;
  }
  .dashboard-grid > .panel {
    margin: 0;
  }
  .panel-head h2 {
    font-size: 14px;
  }
  .panel-head a {
    font-size: 9px;
  }
  .match-row {
    padding: 15px 0;
  }
  .comparison {
    grid-template-columns: 1fr;
    padding: 20px;
  }
  .toolbar {
    gap: 13px;
  }
  .field {
    flex: 1;
    min-width: 140px;
  }
  .field.grow {
    flex-basis: 100%;
  }
  .scout-grid {
    gap: 12px;
  }
  .scout-card {
    padding: 15px;
  }
  .scout-card h2 {
    font-size: 14px;
  }
  .scout-bottom {
    flex-direction: column;
    gap: 6px;
  }
  .recommendations {
    grid-template-columns: 1fr;
  }
  .recommendations article {
    border-bottom: 1px solid var(--border);
    padding-bottom: 17px;
  }
  .recommendations article:last-child {
    border: 0;
  }
  .fixture {
    padding: 18px;
  }
  .fixture-top {
    font-size: 10px;
  }
  .fixture h2 {
    font-size: 16px;
  }
  .notice {
    font-size: 10px;
  }
  .bar-chart {
    padding-left: 22px;
    padding-right: 22px;
    gap: 18px;
  }
  footer {
    padding: 16px;
    flex-direction: column;
    gap: 6px;
  }
  .lineup-list {
    font-size: 10px;
  }
  .integration {
    padding: 20px;
  }
  .opponent-profile {
    padding: 24px 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
