.main-sponsor {
  display: flex;
  align-items: center;
  gap: 14px;
  width: max-content;
  max-width: 100%;
  padding: 6px 16px 6px 6px;
  margin: 0 0 22px;
  border: 1px solid #dce3ef;
  border-left: 4px solid #e7333a;
  border-radius: 10px;
  background: #fff;
  color: #111827;
  box-shadow: 0 10px 30px #040c2433;
  transition: box-shadow .2s;
}
.main-sponsor:hover { box-shadow: 0 0 0 3px #e7333a80; }
.main-sponsor img {
  width: 86px;
  height: 56px;
  object-fit: cover;
  object-position: center;
  border-radius: 5px;
}
.main-sponsor small, .main-sponsor strong { display: block; }
.main-sponsor small { color: #465068; font-size: 12px; }
.main-sponsor strong { font: 900 27px/1 var(--display); letter-spacing: .03em; }
.main-sponsor .sponsor-arrow { margin-left: 8px; color: #ba202c; }
#partners .main-sponsor { margin: 0 0 26px; padding-right: 24px; }
#partners .main-sponsor img { width: 124px; height: 76px; }
.next-venue {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
  padding: 16px 20px;
  border: 1px solid #cedcf5;
  border-left: 4px solid #1d55cb;
  border-radius: 10px;
  background: #fff;
}
.next-venue[hidden] { display: none; }
.next-venue strong, .next-venue small, .next-venue span { display: block; }
.next-venue span { color: #1a4ba8; font-size: 13px; font-weight: 800; }
.next-venue strong { margin: 3px 0; font-size: clamp(16px, 2vw, 21px); line-height: 1.4; }
.next-venue small { color: #4a5a73; }
.next-venue button, .table-detail-toggle {
  border: 1px solid #bdd0f2;
  border-radius: 7px;
  padding: 8px 10px;
  background: #edf4ff;
  color: #163977;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.next-venue button { flex: none; }
.fixture-location { grid-column: 1/-1; text-align: center; color: #425675; padding-bottom: 6px; }
.table-detail-toggle { display: none; }
#standings .table-wrap { border-radius: 10px; }
#standings .table-wrap table { min-width: 0; }
#standings th, #standings td { padding-inline: clamp(5px, 1.1vw, 16px); }
.player-stats { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 5px; }
.player-stat { padding: 2px 5px; border-radius: 4px; background: #e8f2ff; color: #173d7f; font: 600 12px/1.5 var(--thai); }
.player-stat.yellow { background: #fff1b1; color: #513b00; }
.player-stat.red { background: #ffe2e5; color: #911927; }
.scorer-new-portrait { display: grid; place-items: center; aspect-ratio: 278/690; background: #102a5a; overflow: hidden; }
.scorer-new-portrait img { width: 100%; height: 100%; object-fit: cover; }
.scorer-new-portrait.crest-only img { width: 58%; height: auto; object-fit: contain; }
@media (max-width: 760px) {
  #standings .table-wrap { margin: 0; border: 1px solid var(--line); }
  #standings .table-wrap:not(.show-full) :is(th, td):nth-child(n+4):nth-child(-n+9) { display: none; }
  #standings .table-wrap:not(.show-full) th:nth-child(2) { width: 100%; }
  #standings .table-wrap:not(.show-full) .table-team { gap: 7px; }
  #standings .table-wrap:not(.show-full) .table-team strong { font-size: 14px; line-height: 1.35; overflow-wrap: anywhere; }
  #standings .table-wrap:not(.show-full) .table-logo { width: 26px; height: 26px; flex: 0 0 26px; }
  #standings .table-wrap:not(.show-full) td:last-child { font-weight: 900; }
  #standings .table-wrap :is(th,td) { padding: 10px 6px; white-space: normal; }
  #standings .table-wrap.show-full table { min-width: 660px; }
  #standings .table-more { text-align: center; padding: 10px; }
  .table-detail-toggle { display: inline-block; margin-bottom: 10px; }
  .main-sponsor { margin-bottom: 16px; }
  .next-venue { padding: 12px; }
}
