.score67-board,
.score67-standings {
  --score67-blue: #0164ff;
  --score67-ink: #0f172a;
  --score67-muted: #64748b;
  --score67-line: #e2e8f0;
  --score67-soft: #f8fafc;
  width: 100%;
  background: #ffffff;
  border: 1px solid var(--score67-line);
  margin: 22px 0;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.score67-board *,
.score67-standings * {
  box-sizing: border-box;
}

.score67-board__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--score67-line);
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.score67-board__title {
  min-width: 0;
}

.score67-kicker {
  margin: 0 0 5px;
  font-size: 11px;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--score67-blue);
}

.score67-board h2,
.score67-standings h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.15;
  color: var(--score67-ink);
  letter-spacing: -0.03em;
}

.score67-board__summary {
  margin-top: 6px;
  color: var(--score67-muted);
  font-size: 13px;
  font-weight: 700;
}

.score67-board__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.score67-sync-note {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 800;
  color: var(--score67-muted);
  white-space: nowrap;
}

.score67-sync-note::before {
  content: '';
  width: 7px;
  height: 7px;
  background: #10b981;
  border-radius: 99px;
  display: inline-block;
}

.score67-refresh {
  border: 0;
  background: var(--score67-blue);
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
  padding: 10px 14px;
  cursor: pointer;
  min-height: 38px;
}

.score67-refresh:hover,
.score67-refresh:focus {
  filter: brightness(0.94);
  outline: none;
}

.score67-board__content,
.score67-standings__content {
  padding: 14px;
  background: #f7f9fc;
}

.score67-empty {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 22px;
  border: 1px dashed #cbd5e1;
  background: #ffffff;
  color: #475569;
}

.score67-empty strong {
  color: var(--score67-ink);
  font-size: 15px;
}

.score67-league-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.score67-league-group {
  background: #ffffff;
  border: 1px solid var(--score67-line);
  overflow: hidden;
}

.score67-league-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  background: #f8fafc;
  border-bottom: 1px solid var(--score67-line);
}

.score67-league-head span {
  color: #334155;
  font-size: 13px;
  font-weight: 900;
}

.score67-league-head em {
  color: #64748b;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  white-space: nowrap;
}

.score67-match-list {
  display: grid;
  grid-template-columns: 1fr;
}

.score67-match-card {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  align-items: stretch;
  background: #ffffff;
  border-bottom: 1px solid var(--score67-line);
}

.score67-match-card:last-child {
  border-bottom: 0;
}

.score67-match-card:hover {
  background: #fbfdff;
}

.score67-match-time {
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--score67-line);
  color: var(--score67-muted);
  font-size: 12px;
  font-weight: 900;
}

.score67-match-card.is-live .score67-match-time span {
  color: #dc2626;
}

.score67-match-card__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  min-height: 64px;
  padding: 12px 14px;
}

.score67-team {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 900;
  color: var(--score67-ink);
}

.score67-team img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  flex: 0 0 26px;
}

.score67-team span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

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

.score67-score {
  display: grid;
  grid-template-columns: 30px 52px 30px;
  align-items: center;
  gap: 6px;
  text-align: center;
}

.score67-score strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  font-size: 22px;
  line-height: 1;
  color: var(--score67-ink);
  letter-spacing: -0.05em;
}

.score67-score span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 7px;
  background: #eef4ff;
  color: var(--score67-blue);
  font-size: 12px;
  font-weight: 950;
}

.score67-match-card.is-live .score67-score span {
  background: #fee2e2;
  color: #dc2626;
}

.score67-match-card.is-finished .score67-score span {
  background: #f1f5f9;
  color: #475569;
}

.score67-table-wrap {
  overflow-x: auto;
  background: #ffffff;
  border: 1px solid var(--score67-line);
}

.score67-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
}

.score67-table th,
.score67-table td {
  padding: 12px 11px;
  border-bottom: 1px solid var(--score67-line);
  font-size: 13px;
  text-align: left;
}

.score67-table th {
  background: #f8fafc;
  color: #475569;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 11px;
}

.score67-table td {
  color: var(--score67-ink);
  font-weight: 700;
}

.score67-table tr:hover td {
  background: #fbfdff;
}

.score67-table-team {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 210px;
  font-weight: 900;
}

.score67-table-team img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  flex: 0 0 24px;
}

@media (max-width: 720px) {
  .score67-board,
  .score67-standings {
    margin: 14px 0;
    box-shadow: none;
  }

  .score67-board__header {
    align-items: flex-start;
    padding: 14px;
  }

  .score67-board h2,
  .score67-standings h2 {
    font-size: 21px;
  }

  .score67-board__summary {
    font-size: 12px;
  }

  .score67-sync-note {
    display: none;
  }

  .score67-refresh {
    min-height: 34px;
    padding: 8px 11px;
    font-size: 12px;
  }

  .score67-board__content,
  .score67-standings__content {
    padding: 8px;
  }

  .score67-league-list {
    gap: 8px;
  }

  .score67-league-head {
    padding: 9px 10px;
  }

  .score67-match-card {
    grid-template-columns: 54px minmax(0, 1fr);
  }

  .score67-match-time {
    font-size: 11px;
  }

  .score67-match-card__body {
    grid-template-columns: minmax(0, 1fr) 78px;
    grid-template-areas:
      'home score'
      'away score';
    gap: 7px 10px;
    min-height: 78px;
    padding: 10px;
  }

  .score67-team--home {
    grid-area: home;
  }

  .score67-team--away {
    grid-area: away;
    flex-direction: row;
    text-align: left;
  }

  .score67-score {
    grid-area: score;
    grid-template-columns: 24px 40px 24px;
    gap: 3px;
    justify-content: end;
  }

  .score67-score strong {
    min-width: 24px;
    font-size: 19px;
  }

  .score67-score span {
    min-height: 25px;
    padding: 0 5px;
    font-size: 11px;
  }

  .score67-team {
    gap: 7px;
    font-size: 13px;
  }

  .score67-team img {
    width: 22px;
    height: 22px;
    flex-basis: 22px;
  }
}
