.sapd-wc {
  --sapd-wc-bg: #f1f5f9;
  --sapd-wc-panel: #ffffff;
  --sapd-wc-surface: #eaf1f8;
  --sapd-wc-border: #b8c7d9;
  --sapd-wc-border-strong: #8fa7c1;
  --sapd-wc-text: #152033;
  --sapd-wc-muted: #43546a;
  --sapd-wc-accent: #0f4f8a;
  --sapd-wc-accent-soft: #dcecff;
  --sapd-wc-shadow: 0 12px 30px rgba(21, 32, 51, 0.13);
  --sapd-wc-live: #16a34a;
  --sapd-wc-live-soft: #f0fdf4;
  --sapd-wc-finished: #64748b;
  --sapd-wc-finished-soft: #f8fafc;
  --sapd-wc-warn: #b45309;
  --sapd-wc-warn-soft: #fffbeb;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--sapd-wc-text);
}

body.sapd-wc-page,
body.sapd-wc-home-page {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #eef3f8;
  color: var(--sapd-wc-text);
}

.sapd-wc *,
.sapd-wc-empty {
  box-sizing: border-box;
}

body.sapd-wc-page .l-sidebar,
body.sapd-wc-page #sidebar,
body.sapd-wc-page .p-sidebar,
body.sapd-wc-page .c-sidebar,
body.sapd-wc-home-page .l-sidebar,
body.sapd-wc-home-page #sidebar,
body.sapd-wc-home-page .p-sidebar,
body.sapd-wc-home-page .c-sidebar {
  display: none !important;
}

body.sapd-wc-page .p-articleThumb,
body.sapd-wc-page .p-articleThumb img,
body.sapd-wc-page .p-articleThumb__img,
body.sapd-wc-page .p-articleHead .c-postThumb,
body.sapd-wc-page .p-articleHead .p-postList__thumb,
body.sapd-wc-page .p-articleHead__thumb,
body.sapd-wc-home-page .p-articleThumb,
body.sapd-wc-home-page .p-articleThumb img,
body.sapd-wc-home-page .p-articleThumb__img,
body.sapd-wc-home-page .p-articleHead .c-postThumb,
body.sapd-wc-home-page .p-articleHead .p-postList__thumb,
body.sapd-wc-home-page .p-articleHead__thumb {
  display: none !important;
  visibility: hidden !important;
  width: 0 !important;
  height: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

body.sapd-wc-home-page .l-content {
  display: block !important;
}

body.sapd-wc-page .l-mainContent,
body.sapd-wc-page .l-mainContent__inner,
body.sapd-wc-page .l-article,
body.sapd-wc-home-page .l-mainContent,
body.sapd-wc-home-page .l-mainContent__inner,
body.sapd-wc-home-page .l-article {
  width: 100% !important;
  max-width: 100% !important;
}

.sapd-wc__title {
  display: flex;
  gap: 10px;
  align-items: center;
  min-height: 30px;
  margin: 0 0 14px;
  color: var(--sapd-wc-text);
  font-size: 22px;
  line-height: 1.35;
}

.sapd-wc__title::before,
.sapd-wc-section-title::before {
  content: "";
  width: 5px;
  min-width: 5px;
  height: 1.2em;
  border-radius: 999px;
  background: var(--sapd-wc-accent);
}

.sapd-wc-home {
  display: grid;
  gap: 28px;
  contain: layout style;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.sapd-wc-home__hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(240px, 0.65fr);
  gap: 22px;
  align-items: stretch;
  min-height: 218px;
  padding: 22px;
  border: 1px solid var(--sapd-wc-border);
  border-radius: 8px;
  background: linear-gradient(135deg, #ffffff 0%, #f4f7fb 100%);
  box-shadow: var(--sapd-wc-shadow);
  contain: layout paint style;
}

.sapd-wc-home__hero-main {
  display: grid;
  align-content: center;
  gap: 13px;
  min-width: 0;
}

.sapd-wc-home__eyebrow {
  display: inline-flex;
  width: fit-content;
  min-height: 28px;
  align-items: center;
  padding: 4px 9px;
  border: 1px solid #b8cdea;
  border-radius: 8px;
  background: var(--sapd-wc-accent-soft);
  color: var(--sapd-wc-accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.sapd-wc-home__title {
  margin: 0;
  color: var(--sapd-wc-text);
  font-size: 34px;
  line-height: 1.2;
}

.sapd-wc-home__lead {
  max-width: 680px;
  margin: 0;
  color: var(--sapd-wc-muted);
  font-size: 15px;
  line-height: 1.8;
}

.sapd-wc-home__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sapd-wc-home__chips span {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  flex: 0 1 auto;
  min-width: 0;
  min-height: 32px;
  padding: 5px 9px;
  border: 1px solid var(--sapd-wc-border);
  border-radius: 8px;
  background: #fff;
  color: var(--sapd-wc-text);
  font-size: 12px;
  font-weight: 800;
}

.sapd-wc-home__chips strong {
  flex: 0 0 auto;
  color: var(--sapd-wc-muted);
  font-size: 11px;
}

.sapd-wc-home__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px;
  border: 1px solid var(--sapd-wc-border);
  border-radius: 8px;
  background: #fff;
  scroll-behavior: smooth;
}

.sapd-wc-home__nav a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 12px;
  border: 1px solid var(--sapd-wc-border);
  border-radius: 8px;
  background: var(--sapd-wc-surface);
  color: var(--sapd-wc-text);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.sapd-wc-home__nav a:hover {
  background: var(--sapd-wc-accent-soft);
  border-color: var(--sapd-wc-accent);
  color: var(--sapd-wc-accent);
}

/* タブボタン */
.sapd-wc-tab-btn {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 14px;
  border: 1px solid var(--sapd-wc-border);
  border-radius: 8px;
  background: var(--sapd-wc-surface);
  color: var(--sapd-wc-text);
  font-size: 13px;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

.sapd-wc-tab-btn:hover {
  background: var(--sapd-wc-accent-soft);
  border-color: var(--sapd-wc-accent);
  color: var(--sapd-wc-accent);
}

.sapd-wc-tab-btn:focus-visible {
  outline: 2px solid var(--sapd-wc-accent);
  outline-offset: 2px;
}

.sapd-wc-tab-btn--active {
  background: var(--sapd-wc-accent) !important;
  border-color: var(--sapd-wc-accent) !important;
  color: #fff !important;
}

/* タブパネル: JS有効時の制御 */
.sapd-wc-home--js-ready .sapd-wc-home__section {
  display: none;
}

.sapd-wc-home--js-ready .sapd-wc-home__section--active {
  display: block;
}

/* タブ切り替え時はセクション全幅を確保 */
.sapd-wc-home--js-ready .sapd-wc-home__sections {
  display: block;
}

.sapd-wc-home__stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin: 0;
}

.sapd-wc-home__stats div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
  min-height: 70px;
  padding: 14px;
  border: 1px solid var(--sapd-wc-border);
  border-radius: 8px;
  background: var(--sapd-wc-bg);
  box-shadow: 0 4px 14px rgba(21, 32, 51, 0.05);
}

.sapd-wc-home__stats dt {
  color: var(--sapd-wc-muted);
  font-size: 12px;
  font-weight: 700;
}

.sapd-wc-home__stats dd {
  margin: 0;
  color: var(--sapd-wc-text);
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
}

.sapd-wc-home__sections {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.sapd-wc-home__section {
  content-visibility: auto;
  contain-intrinsic-size: auto 840px;
  padding: 16px;
  border: 1px solid var(--sapd-wc-border);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  box-shadow: 0 6px 18px rgba(21, 32, 51, 0.05);
  scroll-margin-top: 24px;
}

.sapd-wc-home__section--standings {
  contain-intrinsic-size: auto 1680px;
}

.sapd-wc-home__section--today,
.sapd-wc-home__section--upcoming {
  contain-intrinsic-size: auto 920px;
}

.sapd-wc-home__section--schedule {
  contain-intrinsic-size: auto 1560px;
}

.sapd-wc-home__section--teams {
  contain-intrinsic-size: auto 1180px;
}

.sapd-wc-home__section--articles {
  contain-intrinsic-size: auto 170px;
}

.sapd-wc-home__section--today,
.sapd-wc-home__section--upcoming,
.sapd-wc-home__section--standings,
.sapd-wc-home__section--schedule,
.sapd-wc-home__section--teams,
.sapd-wc-home__section--articles {
  grid-column: 1 / -1;
}

.sapd-wc-home__section .sapd-wc-matches,
.sapd-wc-home__section .sapd-wc-squad,
.sapd-wc-home__section .sapd-wc-standings,
.sapd-wc-home__section .sapd-wc-team-articles {
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

.sapd-wc .google-anno-sc,
.sapd-wc .google-anno-skip .google-anno-sc {
  display: none !important;
}

.sapd-wc-home-standings {
  display: grid;
  gap: 18px;
}

.sapd-wc-home-teams,
.sapd-wc-home-articles,
.sapd-wc-team-articles {
  display: grid;
  gap: 12px;
}

.sapd-wc-matches,
.sapd-wc-squad,
.sapd-wc-standings,
.sapd-wc-team-articles {
  content-visibility: auto;
  contain-intrinsic-size: auto 520px;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.sapd-wc-squad {
  contain-intrinsic-size: auto 760px;
}

.sapd-wc-matches {
  contain-intrinsic-size: auto 620px;
  padding: 16px;
  border: 1px solid var(--sapd-wc-border);
  border-top: 3px solid var(--sapd-wc-accent);
  border-radius: 8px;
  background: linear-gradient(180deg, #f8fbff 0%, #edf3f9 100%);
  box-shadow: var(--sapd-wc-shadow);
}

.sapd-wc-home-teams__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.sapd-wc-team-card {
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--sapd-wc-border);
  border-top: 3px solid #475e7a;
  border-radius: 8px;
  background: var(--sapd-wc-bg);
  box-shadow: 0 6px 18px rgba(21, 32, 51, 0.05);
}

.sapd-wc-team-card__flag {
  width: 44px;
  height: 30px;
  aspect-ratio: 22 / 15;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 4px;
  background: #fff;
  object-fit: cover;
}

.sapd-wc-team-card h3 {
  margin: 0;
  font-size: 16px;
  line-height: 1.35;
}

.sapd-wc-team-card h3 a,
.sapd-wc-home-articles__list a,
.sapd-wc-team-articles__list a {
  color: var(--sapd-wc-text);
  text-decoration: none;
}

.sapd-wc-team-card h3 a:hover,
.sapd-wc-home-articles__list a:hover,
.sapd-wc-team-articles__list a:hover {
  color: var(--sapd-wc-accent);
  text-decoration: underline;
}

.sapd-wc-team-card dl {
  display: grid;
  gap: 7px;
  margin: 0;
}

.sapd-wc-team-card dl div {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
  padding: 7px 8px;
  border: 1px solid #e7edf5;
  border-radius: 8px;
  background: var(--sapd-wc-surface);
}

.sapd-wc-team-card dt {
  color: var(--sapd-wc-muted);
  font-size: 12px;
  font-weight: 700;
}

.sapd-wc-team-card dd {
  margin: 0;
  font-size: 12px;
  font-weight: 800;
  text-align: right;
}

.sapd-wc-home-articles__list,
.sapd-wc-team-articles__list {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--sapd-wc-border);
  border-radius: 8px;
  background: var(--sapd-wc-border);
}

.sapd-wc-home-articles__list article,
.sapd-wc-team-articles__list article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  background: var(--sapd-wc-bg);
}

.sapd-wc-home-articles__list article:hover,
.sapd-wc-team-articles__list article:hover {
  background: #f8fbff;
}

.sapd-wc-home-articles__list time,
.sapd-wc-team-articles__list time {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 4px 8px;
  border: 1px solid #e0e7f1;
  border-radius: 8px;
  background: var(--sapd-wc-surface);
  color: var(--sapd-wc-muted);
  font-size: 12px;
  font-weight: 700;
}

.sapd-wc-home__more {
  margin: 4px 0 0;
  text-align: center;
}

.sapd-wc-home__more a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 16px;
  border: 1px solid var(--sapd-wc-border);
  border-radius: 8px;
  background: var(--sapd-wc-bg);
  color: var(--sapd-wc-accent);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.sapd-wc-home__more a:hover {
  border-color: var(--sapd-wc-accent);
  background: var(--sapd-wc-accent-soft);
}

.sapd-wc-match-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  contain: layout paint style;
  content-visibility: auto;
  contain-intrinsic-size: auto 248px;
}

.sapd-wc-match-list--count-1 {
  grid-template-columns: minmax(0, 1fr);
}

.sapd-wc-match-list--count-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sapd-wc-match-days {
  display: grid;
  gap: 18px;
  contain: layout style;
}

.sapd-wc-match-day {
  display: grid;
  gap: 12px;
  content-visibility: auto;
  contain-intrinsic-size: auto 310px;
}

.sapd-wc-match-day__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid #b8cdea;
  border-radius: 8px;
  background: var(--sapd-wc-accent-soft);
  color: var(--sapd-wc-text);
}

.sapd-wc-match-day__head time {
  font-size: 16px;
  font-weight: 900;
}

.sapd-wc-match-day__head span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 3px 8px;
  border-radius: 999px;
  background: #ffffff;
  color: var(--sapd-wc-accent);
  font-size: 12px;
  font-weight: 800;
}

.sapd-wc-calendar-view {
  display: grid;
  gap: 14px;
  margin-bottom: 20px;
  padding: 14px;
  border: 1px solid var(--sapd-wc-border-strong);
  border-top: 3px solid var(--sapd-wc-accent);
  border-radius: 8px;
  background: linear-gradient(180deg, #f8fbff 0%, #eaf1f8 100%);
  box-shadow: 0 10px 26px rgba(21, 32, 51, 0.12);
}

.sapd-wc-calendar-view__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  padding: 2px 2px 10px;
  border-bottom: 1px solid #c7d5e5;
}

.sapd-wc-calendar-view__head h3 {
  margin: 0;
  color: var(--sapd-wc-text);
  font-size: 18px;
}

.sapd-wc-calendar-view__head p {
  margin: 0;
  color: var(--sapd-wc-muted);
  font-size: 13px;
}

.sapd-wc-calendar-months {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 520px), 1fr));
  gap: 16px;
}

.sapd-wc-calendar-month {
  display: grid;
  gap: 10px;
  min-width: 0;
  overflow-x: auto;
}

.sapd-wc-calendar-month h4 {
  margin: 0;
  padding: 7px 10px;
  border: 1px solid #a8bdd4;
  border-radius: 6px;
  background: #1e3a5f;
  color: #ffffff;
  font-size: 16px;
}

.sapd-wc-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  min-width: 720px;
  border: 1px solid #9fb2c8;
  border-radius: 8px;
  overflow: hidden;
  background: #9fb2c8;
  gap: 1px;
}

.sapd-wc-calendar-weekday,
.sapd-wc-calendar-day {
  min-width: 0;
  background: #fff;
}

.sapd-wc-calendar-weekday {
  min-height: 34px;
  display: grid;
  place-items: center;
  color: #18385c;
  font-size: 12px;
  font-weight: 900;
  background: #dbe8f7;
}

.sapd-wc-calendar-day {
  min-height: 80px;
  padding: 7px;
  background: #fbfdff;
}

.sapd-wc-calendar-day > time {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  color: #334155;
  font-size: 12px;
  font-weight: 900;
}

.sapd-wc-calendar-day--has-match {
  background: #e7f1fb;
}

.sapd-wc-calendar-day--has-match > time {
  background: var(--sapd-wc-accent);
  color: #ffffff;
}

.sapd-wc-calendar-matches {
  display: grid;
  gap: 5px;
  margin: 7px 0 0 !important;
  padding: 0 !important;
  list-style: none !important;
  counter-reset: none !important;
}

.sapd-wc-calendar-matches li {
  list-style: none !important;
  padding-left: 0 !important;
}

.sapd-wc-calendar-matches li::before,
.sapd-wc-calendar-matches li::marker {
  content: none !important;
  display: none !important;
}

.sapd-wc-calendar-matches a {
  display: grid;
  gap: 2px;
  padding: 6px;
  border: 1px solid #84a8ce;
  border-left: 3px solid var(--sapd-wc-accent);
  border-radius: 6px;
  background: #ffffff;
  color: var(--sapd-wc-text);
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(21, 32, 51, 0.08);
}

.sapd-wc-calendar-matches a:hover {
  border-color: var(--sapd-wc-accent);
  background: #f2f7fd;
}

.sapd-wc-calendar-matches time {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #0f4f8a;
  font-size: 11px;
  font-weight: 900;
}

.sapd-wc-calendar-japan-flag {
  border-radius: 2px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  vertical-align: middle;
  flex-shrink: 0;
}

.sapd-wc-calendar-matches span {
  display: -webkit-box;
  overflow: hidden;
  color: #10223a;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.sapd-wc-match-card {
  display: grid;
  grid-template-rows: auto auto minmax(72px, auto) auto;
  gap: 14px;
  min-height: 214px;
  padding: 16px;
  border: 1px solid var(--sapd-wc-border-strong);
  border-top: 4px solid var(--sapd-wc-accent);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff 0%, #eef5fb 100%);
  box-shadow: 0 10px 26px rgba(21, 32, 51, 0.12);
  contain: layout paint style;
  transition: box-shadow 0.18s ease, transform 0.18s ease;
}

.sapd-wc-match-card:hover {
  border-color: #6f93b7;
  box-shadow: 0 16px 38px rgba(21, 32, 51, 0.18);
  transform: translateY(-2px);
}

.sapd-wc-match-card--detail {
  gap: 16px;
  padding: 18px;
  border-color: #8fa7c1;
  border-top-color: #0f4f8a;
  background: linear-gradient(180deg, #f9fcff 0%, #eaf1f8 100%);
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.sapd-wc-match-card--detail:hover {
  box-shadow: 0 8px 22px rgba(21, 32, 51, 0.06);
  transform: none;
}

.sapd-wc-match-card--detail .sapd-wc-match-card__context {
  margin-left: auto;
  margin-right: auto;
}

.sapd-wc-match-card--detail .sapd-wc-match-card__meta {
  grid-template-columns: 1fr 1fr;
  width: min(100%, 560px);
  margin-left: auto;
  margin-right: auto;
}

.sapd-wc-match-card--detail .sapd-wc-match-card__place {
  width: min(100%, 560px);
  justify-self: center;
}

.sapd-wc-match-card__teams {
  display: flex;
  align-items: center;
}

.sapd-wc-match-card__meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  color: var(--sapd-wc-muted);
}

.sapd-wc-match-card__context {
  width: fit-content;
  margin: 0;
  padding: 4px 10px;
  border: 1px solid #8fb2dc;
  border-radius: 999px;
  background: #dcecff;
  color: #0f4f8a;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.sapd-wc-match-card__chip,
.sapd-wc-match-card__place {
  display: grid;
  gap: 4px;
  align-items: start;
  min-height: 46px;
  margin: 0;
  padding: 8px 11px;
  border: 1px solid #9fb2c8;
  border-radius: 8px;
  background: #f8fbff;
  color: #10223a;
  line-height: 1.35;
}

.sapd-wc-match-card__chip span,
.sapd-wc-match-card__place span {
  color: #415873;
  font-size: 11px;
  font-weight: 800;
}

.sapd-wc-match-card__chip strong,
.sapd-wc-match-card__place strong {
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
  overflow-wrap: anywhere;
}

.sapd-wc-match-card__chip--time {
  min-width: 168px;
  border-color: #6f9bc8;
  border-left: 4px solid #0f4f8a;
  background: linear-gradient(180deg, #e9f4ff 0%, #dbeafe 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7);
}

.sapd-wc-match-card__chip--time span {
  color: #174b7d;
  font-size: 12px;
}

.sapd-wc-match-card__chip--time strong {
  font-size: 17px;
  color: #092f56;
  letter-spacing: 0;
}

.sapd-wc-match-card__chip--status {
  min-width: 112px;
  border-color: #789ec6;
  border-left: 4px solid #426d9b;
  background: #e6f0fa;
  color: #15375d;
}

.sapd-wc-match-card__teams {
  display: grid;
  grid-template-columns: minmax(118px, 1fr) auto minmax(118px, 1fr);
  gap: 8px;
  align-items: center;
  min-height: 60px;
  width: min(100%, 560px);
  justify-self: center;
  padding: 8px 10px;
  border: 1px solid #9fb2c8;
  border-radius: 8px;
  background: #eaf1f8;
}

.sapd-wc-match-card--detail .sapd-wc-match-card__teams {
  width: min(100%, 560px);
  justify-self: center;
  grid-template-columns: minmax(118px, 1fr) 64px minmax(118px, 1fr);
  padding: 10px 12px;
  border: 1px solid #8fa7c1;
  border-radius: 8px;
  background: #eef5fb;
}

.sapd-wc-match-card__team {
  display: flex;
  align-items: center;
  min-width: 0;
  min-height: 38px;
  font-weight: 700;
  line-height: 1.45;
}

.sapd-wc-match-card--detail .sapd-wc-match-card__team {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 10px;
  border: 1px solid #a9bed5;
  border-radius: 8px;
  background: #ffffff;
  font-size: 15px;
}

/* 詳細ページの国旗はやや小さく */
.sapd-wc-match-card--detail .sapd-wc-flag {
  width: 20px;
  height: 14px;
}

.sapd-wc-team-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  min-height: 24px;
  max-width: 100%;
}

.sapd-wc-team-link a {
  min-width: 0;
}

.sapd-wc-match-card__team .sapd-wc-team-link {
  width: 100%;
}

.sapd-wc-match-card__team .sapd-wc-team-link a {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sapd-wc-match-card__team:last-child {
  text-align: right;
}

.sapd-wc-match-card--detail .sapd-wc-match-card__team:last-child {
  justify-content: flex-end;
}

.sapd-wc-match-card__team:last-child .sapd-wc-team-link {
  justify-content: flex-end;
}

/* 試合カード内チームリンク: デフォルトはテキスト色、ホバー時だけアクセント色 */
.sapd-wc-match-card__team a {
  color: var(--sapd-wc-text);
  text-decoration: none;
}

.sapd-wc-match-card__team a:hover {
  color: var(--sapd-wc-accent);
  text-decoration: underline;
}

/* テーブル・関連記事・リンクリスト */
.sapd-wc-match-card__link,
.sapd-wc-table a,
.sapd-wc-related a,
.sapd-wc-link-list a {
  color: var(--sapd-wc-accent);
  text-decoration: none;
}

.sapd-wc-match-card__link:hover,
.sapd-wc-table a:hover,
.sapd-wc-related a:hover,
.sapd-wc-link-list a:hover {
  text-decoration: underline;
}

.sapd-wc-match-card__score {
  min-width: 64px;
  min-height: 36px;
  padding: 6px 10px;
  border: 1px solid #8fa7c1;
  border-radius: 6px;
  background: #152033;
  color: #ffffff;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-align: center;
}

.sapd-wc-match-card--detail .sapd-wc-match-card__score {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid #0f172a;
  background: #0f172a;
  color: #fff;
  font-size: 15px;
}

.sapd-wc-match-card__footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
}

.sapd-wc-match-card__place {
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  justify-self: stretch;
  border-left: 4px solid #6f93b7;
  background: #eef5fb;
}

.sapd-wc-match-card__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: end;
  min-height: 38px;
  padding: 8px 18px;
  border: none;
  border-radius: 8px;
  background: #1e3a5f;
  color: #fff !important;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
  text-decoration: none !important;
}

.sapd-wc-match-card__link:hover {
  background: #162c47;
  color: #fff !important;
  text-decoration: none !important;
}

.sapd-wc-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 8px;
  border-radius: 999px;
  background: #f1f4f8;
  color: #334155;
  font-size: 12px;
  font-weight: 700;
}

.sapd-wc-flag {
  display: block;
  width: 20px;
  height: 14px;
  min-width: 20px;
  max-width: 20px;
  min-height: 14px;
  max-height: 14px;
  aspect-ratio: 16 / 11;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 4px;
  object-fit: cover;
  flex: 0 0 auto;
  background: #fff;
  box-shadow: 0 2px 6px rgba(21, 32, 51, 0.1);
}

.sapd-wc-table-wrap {
  contain: layout paint style;
  min-height: 180px;
  overflow-x: auto;
  border: 1px solid var(--sapd-wc-border);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(21, 32, 51, 0.05);
}

.sapd-wc-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  background: var(--sapd-wc-bg);
}

.sapd-wc-table th,
.sapd-wc-table td {
  padding: 11px 12px;
  border-bottom: 1px solid var(--sapd-wc-border);
  text-align: left;
  vertical-align: middle;
}

.sapd-wc-table th {
  background: #edf2f8;
  color: #334155;
  font-size: 13px;
  font-weight: 800;
}

.sapd-wc-table tbody tr:nth-child(even) td {
  background: #fbfdff;
}

.sapd-wc-table tbody tr:hover td {
  background: #f7faff;
}

.sapd-wc-table tr:last-child td {
  border-bottom: 0;
}

.sapd-wc-table--standings th:not(:nth-child(2)),
.sapd-wc-table--standings td:not(:nth-child(2)) {
  text-align: center;
}

.sapd-wc-table--standings {
  min-width: 620px;
  table-layout: fixed;
}

.sapd-wc-table--standings .sapd-wc-table__col-rank {
  width: 44px;
}

.sapd-wc-table--standings .sapd-wc-table__col-team {
  width: 180px;
}

.sapd-wc-table--standings .sapd-wc-table__col-stat {
  width: 50px;
}

.sapd-wc-table--standings tbody td:first-child {
  color: var(--sapd-wc-accent);
  font-weight: 900;
  font-size: 13px;
}

.sapd-wc-table--standings th:nth-child(2),
.sapd-wc-table--standings td:nth-child(2) {
  text-align: left;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.sapd-wc-table--standings td:nth-child(2) {
  font-weight: 800;
}

/* 勝点列（最終列）を強調 */
.sapd-wc-table--standings th:last-child {
  background: #e8edf5;
}

.sapd-wc-table--standings td:last-child {
  font-weight: 900;
  color: var(--sapd-wc-text);
  background: #f4f7fb;
}

.sapd-wc-table--standings tbody tr.sapd-wc-standings__qualify td:last-child {
  background: #dcfce7;
  color: var(--sapd-wc-live);
}

.sapd-wc-table--standings tbody tr.sapd-wc-standings__third td:last-child {
  background: #fef3c7;
}

/* 順位表内の国旗を小さく */
.sapd-wc-table--standings .sapd-wc-flag {
  width: 20px;
  height: 14px;
  border-radius: 3px;
}

.sapd-wc-squad__groups {
  display: grid;
  gap: 16px;
}

.sapd-wc-squad__section {
  display: grid;
  gap: 10px;
}

.sapd-wc-squad__section {
  --sapd-wc-pos-color: var(--sapd-wc-accent);
  --sapd-wc-pos-bg: var(--sapd-wc-accent-soft);
  --sapd-wc-pos-border: #b8cdea;
}

.sapd-wc-squad__section--gk {
  --sapd-wc-pos-color: #92400e;
  --sapd-wc-pos-bg: #fffbeb;
  --sapd-wc-pos-border: #fde68a;
}

.sapd-wc-squad__section--df {
  --sapd-wc-pos-color: #1e40af;
  --sapd-wc-pos-bg: #eff6ff;
  --sapd-wc-pos-border: #bfdbfe;
}

.sapd-wc-squad__section--mf {
  --sapd-wc-pos-color: #065f46;
  --sapd-wc-pos-bg: #ecfdf5;
  --sapd-wc-pos-border: #a7f3d0;
}

.sapd-wc-squad__section--fw {
  --sapd-wc-pos-color: #991b1b;
  --sapd-wc-pos-bg: #fef2f2;
  --sapd-wc-pos-border: #fecaca;
}

.sapd-wc-squad__section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--sapd-wc-border);
  border-left: 5px solid var(--sapd-wc-pos-color);
  border-radius: 8px;
  background: #ffffff;
}

.sapd-wc-squad__section-head h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  margin: 0;
  color: var(--sapd-wc-text);
  font-size: 16px;
  line-height: 1.35;
}

.sapd-wc-squad__section-head h3 span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  min-height: 26px;
  padding: 3px 7px;
  border: 1px solid var(--sapd-wc-pos-border);
  border-radius: 8px;
  background: var(--sapd-wc-pos-bg);
  color: var(--sapd-wc-pos-color);
  font-size: 12px;
  font-weight: 900;
}

.sapd-wc-squad__section-head strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--sapd-wc-pos-color);
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.sapd-wc-squad__player-list {
  display: grid;
  gap: 10px;
}

.sapd-wc-squad-card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid var(--sapd-wc-border);
  border-radius: 8px;
  background: #ffffff;
  color: var(--sapd-wc-text);
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(21, 32, 51, 0.04);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.sapd-wc-squad-card:hover {
  border-color: #b8cdea;
  box-shadow: 0 12px 24px rgba(21, 32, 51, 0.1);
  color: var(--sapd-wc-text);
  text-decoration: none;
  transform: translateY(-2px);
}

.sapd-wc-squad-card__pos {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1.5px solid var(--sapd-wc-pos-border);
  border-radius: 8px;
  background: var(--sapd-wc-pos-bg);
  color: var(--sapd-wc-pos-color);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.sapd-wc-squad-card__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 7px;
  min-width: 0;
}

.sapd-wc-squad-card__name {
  display: -webkit-box;
  overflow: hidden;
  color: var(--sapd-wc-text);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.sapd-wc-squad-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.sapd-wc-squad-card__meta span,
.sapd-wc-squad-card__note {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  max-width: 100%;
  padding: 3px 8px;
  border: 1px solid #dbe5ef;
  border-radius: 999px;
  background: var(--sapd-wc-surface);
  color: var(--sapd-wc-muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}

.sapd-wc-squad-card__number {
  border-color: #152033 !important;
  background: #152033 !important;
  color: #ffffff !important;
}

.sapd-wc-squad-card__note {
  justify-self: start;
  border-color: var(--sapd-wc-pos-border);
  background: var(--sapd-wc-pos-bg);
  color: var(--sapd-wc-pos-color);
}

.sapd-wc-match-card__details {
  display: grid;
  gap: 12px;
  margin-top: 4px;
}

.sapd-wc-match-tabs {
  display: grid;
  gap: 12px;
  margin-top: 4px;
}

.sapd-wc-match-tabs__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px;
  border: 1px solid var(--sapd-wc-border);
  border-radius: 8px;
  background: #fff;
}

.sapd-wc-match-tabs__tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 6px 14px;
  border: 1px solid var(--sapd-wc-border);
  border-radius: 8px;
  background: var(--sapd-wc-surface);
  color: var(--sapd-wc-text);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.sapd-wc-match-tabs__tab:hover {
  border-color: var(--sapd-wc-accent);
  background: var(--sapd-wc-accent-soft);
  color: var(--sapd-wc-accent);
  text-decoration: none;
}

.sapd-wc-match-tabs__tab--active,
.sapd-wc-match-tabs__tab--active:hover {
  border-color: var(--sapd-wc-accent);
  background: var(--sapd-wc-accent);
  color: #fff;
}

.sapd-wc-match-prediction {
  padding: 16px;
  border: 1px solid var(--sapd-wc-border);
  border-top: 2px solid #cbd5e1;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(21, 32, 51, 0.04);
}

.sapd-wc-match-prediction__content {
  color: var(--sapd-wc-text);
  font-size: 15px;
  line-height: 1.85;
}

.sapd-wc-match-prediction__content > :first-child {
  margin-top: 0;
}

.sapd-wc-match-prediction__content > :last-child {
  margin-bottom: 0;
}

.sapd-wc-match-prediction__content table {
  width: 100%;
  margin: 14px 0;
  border-collapse: collapse;
  border: 1px solid var(--sapd-wc-border);
  background: #fff;
}

.sapd-wc-match-prediction__content th,
.sapd-wc-match-prediction__content td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--sapd-wc-border);
  text-align: left;
  vertical-align: top;
}

.sapd-wc-match-prediction__content th {
  width: 28%;
  background: #edf2f8;
  color: #334155;
  font-weight: 800;
}

.sapd-wc-match-prediction__source {
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--sapd-wc-border);
  font-size: 13px;
  font-weight: 800;
}

.sapd-wc-match-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: min(100%, 760px);
  justify-self: center;
}

.sapd-wc-match-nav__item {
  display: grid;
  gap: 4px;
  min-height: 72px;
  padding: 11px 12px;
  border: 1px solid var(--sapd-wc-border);
  border-radius: 8px;
  background: #fff;
  color: var(--sapd-wc-text);
  text-decoration: none;
}

.sapd-wc-match-nav__item:hover {
  border-color: var(--sapd-wc-accent);
  color: var(--sapd-wc-text);
  text-decoration: none;
}

.sapd-wc-match-nav__item span {
  color: var(--sapd-wc-accent);
  font-size: 12px;
  font-weight: 900;
}

.sapd-wc-match-nav__item strong {
  overflow-wrap: anywhere;
  font-size: 13px;
  line-height: 1.45;
}

.sapd-wc-match-nav__item small {
  color: var(--sapd-wc-muted);
  font-size: 12px;
  font-weight: 800;
}

.sapd-wc-match-nav__item--next {
  text-align: right;
}

.sapd-wc-match-nav__item--empty {
  opacity: 0.55;
  pointer-events: none;
}

.sapd-wc-match-card--detail .sapd-wc-match-card__details > * {
  padding: 14px;
  border: 1px solid var(--sapd-wc-border);
  border-top: 2px solid #cbd5e1;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(21, 32, 51, 0.04);
}

.sapd-wc-link-list,
.sapd-wc-related ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.sapd-wc-link-list li,
.sapd-wc-related li {
  padding: 8px 10px;
  border: 1px solid #e6ecf5;
  border-radius: 8px;
  background: var(--sapd-wc-surface);
}

.sapd-wc-related h3 {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 0 0 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--sapd-wc-border);
  font-size: 15px;
  font-weight: 800;
}

.sapd-wc-related h3::before {
  content: "";
  width: 4px;
  min-width: 4px;
  height: 1.1em;
  border-radius: 999px;
  background: var(--sapd-wc-accent);
}

.sapd-wc-section-title {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 0 0 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--sapd-wc-border);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.35;
}

.sapd-wc-stats,
.sapd-wc-lineups {
  display: grid;
  gap: 12px;
}

.sapd-wc-stats__grid {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--sapd-wc-border);
  border-radius: 8px;
  background: var(--sapd-wc-border);
}

.sapd-wc-stat-row {
  display: grid;
  grid-template-columns: minmax(64px, 1fr) minmax(120px, 1.5fr) minmax(64px, 1fr);
  align-items: center;
  background: var(--sapd-wc-bg);
}

.sapd-wc-stat-row__value,
.sapd-wc-stat-row__label {
  padding: 9px 10px;
  text-align: center;
}

.sapd-wc-stat-row__value {
  color: var(--sapd-wc-text);
  font-weight: 800;
}

.sapd-wc-stat-row__label {
  min-height: 34px;
  border-right: 1px solid var(--sapd-wc-border);
  border-left: 1px solid var(--sapd-wc-border);
  background: var(--sapd-wc-surface);
  color: var(--sapd-wc-muted);
  font-size: 13px;
  font-weight: 700;
}

.sapd-wc-lineups__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.sapd-wc-lineup-side {
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--sapd-wc-border);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.sapd-wc-lineup-side h4,
.sapd-wc-lineup-side h5 {
  margin: 0 0 8px;
}

.sapd-wc-lineup-side h4 {
  padding-bottom: 9px;
  border-bottom: 1px solid var(--sapd-wc-border);
  font-size: 15px;
}

.sapd-wc-lineup-side h5 {
  margin-top: 12px;
  padding: 6px 8px;
  border-radius: 8px;
  background: var(--sapd-wc-surface);
  color: var(--sapd-wc-muted);
  font-size: 13px;
}

.sapd-wc-lineup-list {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sapd-wc-lineup-list li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 54px;
  gap: 8px;
  align-items: center;
  padding: 8px;
  border: 1px solid #e7edf5;
  border-radius: 8px;
  background: #fff;
}

.sapd-wc-lineup-list li:last-child {
  border-bottom: 1px solid #e7edf5;
}

.sapd-wc-lineup-list__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  border-radius: 8px;
  background: var(--sapd-wc-surface);
  color: var(--sapd-wc-muted);
  font-weight: 800;
  text-align: center;
}

.sapd-wc-lineup-list__name {
  min-width: 0;
  font-weight: 700;
}

.sapd-wc-lineup-list__pos {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  border: 1px solid #e7edf5;
  border-radius: 8px;
  background: #fff;
  color: var(--sapd-wc-muted);
  font-size: 13px;
  text-align: right;
}

.sapd-wc-source {
  margin: 0;
  padding: 9px 10px;
  border: 1px solid #e7edf5;
  border-radius: 8px;
  background: var(--sapd-wc-surface);
  color: var(--sapd-wc-muted);
  font-size: 12px;
}

.sapd-wc-empty {
  margin: 0;
  padding: 14px;
  border: 1px solid var(--sapd-wc-border);
  border-radius: 8px;
  background: #fff;
  color: var(--sapd-wc-muted);
  font-weight: 700;
}

.sapd-wc-team-detail {
  display: grid;
  gap: 22px;
  margin-bottom: 24px;
  contain: layout style;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.sapd-wc-team-detail__summary {
  display: grid;
  gap: 14px;
  min-height: 0;
  padding: 20px;
  border: 1px solid #b8c7d9;
  border-top: 3px solid #1e3a5f;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(21, 32, 51, 0.1);
}

.sapd-wc-team-detail__flag {
  display: none !important;
}

.sapd-wc-team-detail__facts {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: 100%;
  margin: 0;
}

.sapd-wc-team-detail__facts div {
  min-width: 0;
  min-height: 64px;
  padding: 10px 12px;
  border: 1px solid #c5d1df;
  border-radius: 8px;
  background: #f8fbff;
  box-shadow: 0 2px 6px rgba(21, 32, 51, 0.04);
  transition: border-color 0.15s;
}

.sapd-wc-team-detail__facts div:hover {
  border-color: #c0cce0;
}

.sapd-wc-team-detail__facts dt {
  color: var(--sapd-wc-muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.sapd-wc-team-detail__facts dd {
  margin: 3px 0 0;
  color: #0f172a;
  font-size: 15px;
  font-weight: 800;
}

.sapd-wc-team-detail__facts a {
  color: var(--sapd-wc-accent);
  text-decoration: none;
}

.sapd-wc-team-detail__facts a:hover {
  text-decoration: underline;
}

.sapd-wc-team-tabs__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px;
  border: 1px solid #b8c7d9;
  border-radius: 8px;
  background: #ffffff;
}

.sapd-wc-team-tabs__panels {
  display: grid;
}

.sapd-wc-team-tabs__panel {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid #b8c7d9;
  border-top: 2px solid #1e3a5f;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 6px 18px rgba(21, 32, 51, 0.06);
}

.sapd-wc-team-detail--js-ready .sapd-wc-team-tabs__panel {
  display: none;
}

.sapd-wc-team-detail--js-ready .sapd-wc-team-tabs__panel--active {
  display: grid;
}

.sapd-wc-team-tabs__panel .sapd-wc-matches,
.sapd-wc-team-tabs__panel .sapd-wc-squad,
.sapd-wc-team-tabs__panel .sapd-wc-team-articles {
  max-width: none;
  margin: 0;
  contain: layout style;
}

.sapd-wc-team-tabs__panel .sapd-wc-calendar-view,
.sapd-wc-team-tabs__panel .sapd-wc-table-wrap,
.sapd-wc-team-tabs__panel .sapd-wc-match-card,
.sapd-wc-team-tabs__panel .sapd-wc-squad-card,
.sapd-wc-team-tabs__panel .sapd-wc-squad__section-head {
  border-color: #c5d1df;
}

.sapd-wc-builder-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 18px;
  max-width: 1180px;
}

.sapd-wc-builder-panel,
.sapd-wc-builder-result {
  padding: 16px;
  border: 1px solid #c3c4c7;
  border-radius: 8px;
  background: #fff;
}

.sapd-wc-builder-result h2:first-child {
  margin-top: 0;
}

#sapd-wc-sc-output {
  min-height: 96px;
  font-size: 14px;
}

#sapd-wc-sc-copy-message {
  margin-left: 8px;
  color: #2271b1;
  font-weight: 600;
}

@media (max-width: 640px) {
  .sapd-wc-home__hero {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .sapd-wc-home__title {
    font-size: 26px;
  }

  .sapd-wc-home__stats {
    grid-template-columns: 1fr;
  }

  .sapd-wc-home__stats div {
    display: flex;
    padding: 10px;
  }

  .sapd-wc-home__stats dd {
    font-size: 20px;
  }

  .sapd-wc-home-teams__grid {
    grid-template-columns: 1fr;
  }

  .sapd-wc-home-articles__list article,
  .sapd-wc-team-articles__list article {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .sapd-wc-match-card__meta {
    grid-template-columns: 1fr;
  }

  .sapd-wc-match-card__footer {
    grid-template-columns: 1fr;
  }

  .sapd-wc-match-card__link {
    justify-self: stretch;
    text-align: center;
  }

  .sapd-wc-match-tabs__nav {
    display: grid;
    grid-template-columns: 1fr;
  }

  .sapd-wc-team-tabs__nav {
    display: grid;
    grid-template-columns: 1fr;
  }

  .sapd-wc-match-tabs__tab,
  .sapd-wc-team-tabs__nav .sapd-wc-tab-btn {
    width: 100%;
  }

  .sapd-wc-match-nav {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .sapd-wc-match-nav__item--next {
    text-align: left;
  }

  .sapd-wc-match-prediction__content th,
  .sapd-wc-match-prediction__content td {
    display: block;
    width: 100%;
  }

  .sapd-wc-match-card__teams {
    grid-template-columns: 1fr;
    gap: 8px;
    width: 100%;
  }

  .sapd-wc-match-card--detail .sapd-wc-match-card__teams {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .sapd-wc-match-card__team,
  .sapd-wc-match-card__team:last-child {
    text-align: center;
  }

  .sapd-wc-match-card--detail .sapd-wc-match-card__team,
  .sapd-wc-match-card--detail .sapd-wc-match-card__team:last-child {
    justify-content: center;
  }

  .sapd-wc-match-card__score {
    justify-self: center;
  }

  .sapd-wc-squad__section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .sapd-wc-squad-card {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 9px;
    padding: 10px;
  }

  .sapd-wc-squad-card__pos {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    font-size: 11px;
  }

  .sapd-wc-squad-card__name {
    font-size: 14px;
  }

  .sapd-wc-squad-card__meta span,
  .sapd-wc-squad-card__note {
    min-height: 22px;
    padding: 2px 7px;
    font-size: 11px;
  }

  .sapd-wc-lineups__grid {
    grid-template-columns: 1fr;
  }

  .sapd-wc-team-detail__summary,
  .sapd-wc-team-detail__facts {
    grid-template-columns: 1fr;
  }

  .sapd-wc-team-detail__summary {
    display: grid;
  }
}

@media (max-width: 960px) {
  .sapd-wc-home__hero,
  .sapd-wc-home__sections {
    grid-template-columns: 1fr;
  }

  .sapd-wc-match-list--count-1 {
    grid-template-columns: minmax(0, 1fr);
  }

  .sapd-wc-home__stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .sapd-wc-team-detail__facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sapd-wc-home__stats div {
    display: grid;
    gap: 5px;
  }

  .sapd-wc-builder-layout {
    grid-template-columns: 1fr;
  }

  .sapd-wc-home-teams__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .sapd-wc-match-list,
  .sapd-wc-match-list--count-2,
  .sapd-wc-match-list--count-3 {
    grid-template-columns: 1fr;
    contain-intrinsic-size: auto 290px;
  }

  .sapd-wc-match-day__head,
  .sapd-wc-calendar-view__head {
    align-items: flex-start;
    flex-direction: column;
  }

  .sapd-wc-calendar-view {
    padding: 12px;
  }

  .sapd-wc-home-teams__grid {
    grid-template-columns: 1fr;
  }

  .sapd-wc-home__stats {
    grid-template-columns: 1fr;
  }

  .sapd-wc-home__stats div {
    display: flex;
  }

  .sapd-wc-match-card {
    min-height: 256px;
  }
}

/* ============================================================
   試合ステータス別スタイル
   ============================================================ */

/* 試合中 (live) — カード上部ボーダーを緑に */
.sapd-wc-match-card.sapd-wc-match-status--live {
  border-top-color: var(--sapd-wc-live);
}

/* 終了 (finished) — 上部ボーダーをグレーに */
.sapd-wc-match-card.sapd-wc-match-status--finished {
  border-top-color: #94a3b8;
}

/* 延期 (postponed) / 中止 (cancelled) */
.sapd-wc-match-card.sapd-wc-match-status--postponed,
.sapd-wc-match-card.sapd-wc-match-status--cancelled {
  border-top-color: #f59e0b;
}

/* 状態チップ — 試合中 */
.sapd-wc-match-card__chip--status.sapd-wc-status--live {
  border-color: #86efac;
  background: var(--sapd-wc-live-soft);
  color: var(--sapd-wc-live);
}

/* 状態チップ — 終了 */
.sapd-wc-match-card__chip--status.sapd-wc-status--finished {
  border-color: #cbd5e1;
  background: var(--sapd-wc-finished-soft);
  color: var(--sapd-wc-finished);
}

/* 状態チップ — 延期 */
.sapd-wc-match-card__chip--status.sapd-wc-status--postponed {
  border-color: #fcd34d;
  background: var(--sapd-wc-warn-soft);
  color: var(--sapd-wc-warn);
}

/* 状態チップ — 中止 */
.sapd-wc-match-card__chip--status.sapd-wc-status--cancelled {
  border-color: #cbd5e1;
  background: #f1f5f9;
  color: #64748b;
  text-decoration: line-through;
}

/* ライブ点滅ドット (::before で strong 要素の前に表示) */
.sapd-wc-match-card__chip--status.sapd-wc-status--live strong::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sapd-wc-live);
  margin-right: 5px;
  vertical-align: middle;
  animation: sapd-wc-pulse 1.4s ease-in-out infinite;
}

@keyframes sapd-wc-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.7); }
}

/* ============================================================
   スコア表示の改善
   ============================================================ */

.sapd-wc-match-card__score {
  font-size: 18px;
}

/* live 状態ではスコアを強調 */
.sapd-wc-match-status--live .sapd-wc-match-card__score {
  border-color: #86efac;
  background: var(--sapd-wc-live-soft);
  color: var(--sapd-wc-live);
}

/* finished 状態ではスコアをグレーアウト、ホバー抑制 */
.sapd-wc-match-status--finished .sapd-wc-match-card__score {
  color: var(--sapd-wc-muted);
}

.sapd-wc-match-status--finished.sapd-wc-match-card:hover {
  box-shadow: var(--sapd-wc-shadow);
  transform: none;
}

/* 延期・中止はカード全体を薄く */
.sapd-wc-match-status--postponed,
.sapd-wc-match-status--cancelled {
  opacity: 0.75;
}

/* ============================================================
   カレンダービューの改善
   ============================================================ */

.sapd-wc-calendar-day--has-match {
  background: #eef4fb;
}

.sapd-wc-calendar-day--has-match > time {
  font-weight: 900;
}

/* ============================================================
   順位表：突破圏ハイライト
   ============================================================ */

.sapd-wc-table--standings tbody tr.sapd-wc-standings__qualify td {
  background: #f0fdf4;
}

.sapd-wc-table--standings tbody tr.sapd-wc-standings__qualify:hover td {
  background: #dcfce7;
}

.sapd-wc-table--standings tbody tr.sapd-wc-standings__qualify td:first-child {
  color: var(--sapd-wc-live);
  font-weight: 900;
}

/* 3位（プレーオフ圏内） */
.sapd-wc-table--standings tbody tr.sapd-wc-standings__third td {
  background: #fffbeb;
}

.sapd-wc-table--standings tbody tr.sapd-wc-standings__third:hover td {
  background: #fef3c7;
}

/* ============================================================
   チームリンク・フォーカスアクセシビリティ
   ============================================================ */

.sapd-wc a:focus-visible {
  outline: 2px solid var(--sapd-wc-accent);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ============================================================
   詳細ページ: match-card__details セクションタイトル余白
   ============================================================ */

.sapd-wc-match-card--detail .sapd-wc-match-card__details .sapd-wc-section-title {
  margin-top: 0;
}

/* ============================================================
   モバイル: 試合ステータスチップのフォントサイズ
   ============================================================ */

@media (max-width: 640px) {
  .sapd-wc-match-card__chip--status,
  .sapd-wc-match-card__chip--time {
    font-size: 12px;
  }

  .sapd-wc-match-card__score {
    font-size: 16px;
  }
}

/* ============================================================
   試合イベントタイムライン
   ============================================================ */

.sapd-wc-events {
  display: grid;
  gap: 12px;
}

.sapd-wc-events__list {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--sapd-wc-border);
  border-radius: 8px;
  background: var(--sapd-wc-border);
}

.sapd-wc-events__row {
  display: grid;
  grid-template-columns: 42px 28px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  padding: 9px 12px;
  background: #fff;
  font-size: 13px;
}

.sapd-wc-events__row:hover {
  background: #f8fbff;
}

.sapd-wc-events__row--goal {
  background: #f8fff9;
}

.sapd-wc-events__row--goal:hover {
  background: #effdf2;
}

.sapd-wc-events__row--away {
  direction: ltr;
}

.sapd-wc-events__minute {
  color: var(--sapd-wc-muted);
  font-size: 12px;
  font-weight: 800;
  text-align: right;
  white-space: nowrap;
}

.sapd-wc-events__icon {
  text-align: center;
  font-size: 15px;
  line-height: 1;
}

.sapd-wc-events__desc {
  min-width: 0;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.sapd-wc-events__assist,
.sapd-wc-events__sub-in {
  display: block;
  color: var(--sapd-wc-muted);
  font-size: 12px;
  font-weight: 600;
  margin-top: 2px;
}

.sapd-wc-events__tag {
  display: inline-block;
  padding: 1px 5px;
  border-radius: 4px;
  background: #fee2e2;
  color: #991b1b;
  font-size: 11px;
  font-weight: 800;
  margin-left: 5px;
  vertical-align: middle;
}

.sapd-wc-events__team {
  color: var(--sapd-wc-muted);
  font-size: 11px;
  font-weight: 700;
  text-align: right;
  white-space: nowrap;
}

/* ============================================================
   チームフォーム（W/D/L バッジ）
   ============================================================ */

.sapd-wc-form {
  display: grid;
  gap: 12px;
}

.sapd-wc-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.sapd-wc-form__col {
  padding: 14px;
  border: 1px solid var(--sapd-wc-border);
  border-radius: 8px;
  background: #fff;
}

.sapd-wc-form__team {
  margin: 0 0 10px;
  color: var(--sapd-wc-muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.sapd-wc-form__badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.sapd-wc-form__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 900;
  cursor: default;
}

.sapd-wc-form__badge--w {
  background: var(--sapd-wc-live-soft);
  color: var(--sapd-wc-live);
  border: 1px solid #86efac;
}

.sapd-wc-form__badge--d {
  background: #fefce8;
  color: #92400e;
  border: 1px solid #fde68a;
}

.sapd-wc-form__badge--l {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

/* ============================================================
   グループ順位表インライン（試合詳細ページ）
   ============================================================ */

.sapd-wc-group-standing-in-match {
  margin: 0;
}

.sapd-wc-group-standing-in-match .sapd-wc-standings {
  max-width: none;
  margin: 0;
}

/* ============================================================
   試合詳細ページ: 視認性強化
   ============================================================ */

.sapd-wc-match-card--detail {
  border-color: #b8c7d9;
  border-top-color: #1e3a5f;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(21, 32, 51, 0.1);
}

.sapd-wc-match-card--detail .sapd-wc-match-card__meta,
.sapd-wc-match-card--detail .sapd-wc-match-card__teams,
.sapd-wc-match-card--detail .sapd-wc-match-card__place,
.sapd-wc-match-tabs__nav,
.sapd-wc-match-nav__item {
  border-color: #b8c7d9;
  background: #ffffff;
}

.sapd-wc-match-card--detail .sapd-wc-match-card__chip,
.sapd-wc-match-card--detail .sapd-wc-match-card__place,
.sapd-wc-match-card--detail .sapd-wc-match-card__team {
  border-color: #c5d1df;
  background: #f8fbff;
  color: #152033;
}

.sapd-wc-match-card--detail .sapd-wc-match-card__chip span,
.sapd-wc-match-card--detail .sapd-wc-match-card__place span {
  color: #475569;
}

.sapd-wc-match-card--detail .sapd-wc-match-card__chip strong,
.sapd-wc-match-card--detail .sapd-wc-match-card__place strong,
.sapd-wc-match-card--detail .sapd-wc-match-card__team a {
  color: #0f172a;
}

.sapd-wc-match-card__chip--time {
  border-color: #8fb2dc;
  background: #edf6ff;
}

.sapd-wc-match-card__chip--time span,
.sapd-wc-match-card__chip--time strong {
  color: #174b7d;
}

.sapd-wc-match-card__chip--status {
  border-color: #9eb9da;
  background: #f1f6fb;
  color: #18385c;
}

.sapd-wc-match-card__chip--status.sapd-wc-status--scheduled {
  border-color: #8fb2dc;
  background: #edf6ff;
  color: #174b7d;
}

.sapd-wc-match-card__chip--status.sapd-wc-status--scheduled span,
.sapd-wc-match-card__chip--status.sapd-wc-status--scheduled strong {
  color: #174b7d;
}

.sapd-wc-match-card--detail .sapd-wc-match-card__score {
  border-color: #0f172a;
  background: #0f172a;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.18);
}

.sapd-wc-match-nav__item {
  border-left: 4px solid #1e3a5f;
  box-shadow: 0 4px 14px rgba(21, 32, 51, 0.06);
}

.sapd-wc-match-nav__item--next {
  border-right: 4px solid #1e3a5f;
  border-left-width: 1px;
}

.sapd-wc-match-nav__item span,
.sapd-wc-match-tabs__tab {
  color: #174b7d;
}

.sapd-wc-match-tabs__tab {
  border-color: #b8c7d9;
  background: #f8fbff;
}

.sapd-wc-match-tabs__tab--active,
.sapd-wc-match-tabs__tab--active:hover {
  border-color: #1e3a5f;
  background: #1e3a5f;
  color: #ffffff;
}

.sapd-wc-table--standings th:last-child,
.sapd-wc-table--standings td:last-child {
  border-left: 2px solid #9fb2c8;
  border-right: 1px solid #9fb2c8;
}

.sapd-wc-table--standings th:last-child {
  background: #dbe8f7;
  color: #17365d;
}

.sapd-wc-table--standings td:last-child {
  background: #eef4fb;
  color: #10223a;
  font-weight: 900;
}

.sapd-wc-table--standings tbody tr.sapd-wc-standings__qualify td:last-child {
  border-left-color: #66b98a;
  border-right-color: #9bd3b3;
  background: #d7f4e1;
  color: #065f46;
}

.sapd-wc-table--standings tbody tr.sapd-wc-standings__third td:last-child {
  border-left-color: #e1ad45;
  border-right-color: #edc86f;
  background: #fdecc2;
  color: #78350f;
}

/* ============================================================
   WCページ共通: 日程・詳細・国ページの視認性強化
   ============================================================ */

body.sapd-wc-page .p-articleThumb,
body.sapd-wc-page .p-articleThumb img,
body.sapd-wc-page .p-articleThumb__img,
body.sapd-wc-home-page .p-articleThumb,
body.sapd-wc-home-page .p-articleThumb img,
body.sapd-wc-home-page .p-articleThumb__img {
  display: none !important;
  visibility: hidden !important;
  width: 0 !important;
  height: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

.sapd-wc-team-detail__summary,
.sapd-wc-team-tabs__panel,
.sapd-wc-matches,
.sapd-wc-calendar-view,
.sapd-wc-match-card,
.sapd-wc-match-card--detail {
  border-color: #8fa7c1;
  background: linear-gradient(180deg, #f9fcff 0%, #eaf1f8 100%);
  box-shadow: 0 12px 30px rgba(21, 32, 51, 0.13);
}

.sapd-wc-team-detail__summary,
.sapd-wc-team-tabs__panel,
.sapd-wc-matches,
.sapd-wc-calendar-view,
.sapd-wc-match-card--detail {
  border-top: 3px solid #0f4f8a;
}

.sapd-wc-team-tabs__nav,
.sapd-wc-match-tabs__nav,
.sapd-wc-match-nav__item {
  border-color: #8fa7c1;
  background: #eaf1f8;
}

.sapd-wc-team-detail__facts div,
.sapd-wc-match-card__meta,
.sapd-wc-match-card__teams,
.sapd-wc-match-card__place,
.sapd-wc-match-card__chip,
.sapd-wc-match-card--detail .sapd-wc-match-card__team {
  border-color: #9fb2c8;
  background: #f8fbff;
  color: #10223a;
}

.sapd-wc-match-card__chip--time {
  border-color: #6f9bc8;
  border-left: 4px solid #0f4f8a;
  background: linear-gradient(180deg, #e9f4ff 0%, #dbeafe 100%);
}

.sapd-wc-match-card__chip--time span,
.sapd-wc-match-card__chip--time strong {
  color: #092f56;
}

.sapd-wc-match-card__chip--status,
.sapd-wc-match-card__chip--status.sapd-wc-status--scheduled {
  border-color: #789ec6;
  border-left: 4px solid #426d9b;
  background: #e6f0fa;
  color: #15375d;
}

.sapd-wc-match-card__chip--status span,
.sapd-wc-match-card__chip--status strong,
.sapd-wc-match-card__chip--status.sapd-wc-status--scheduled span,
.sapd-wc-match-card__chip--status.sapd-wc-status--scheduled strong {
  color: #15375d;
}

.sapd-wc-match-card__place {
  border-left: 4px solid #6f93b7;
}

.sapd-wc-match-card__chip span,
.sapd-wc-match-card__place span,
.sapd-wc-team-detail__facts dt {
  color: #415873;
}

.sapd-wc-match-card__chip strong,
.sapd-wc-match-card__place strong,
.sapd-wc-team-detail__facts dd,
.sapd-wc-match-card--detail .sapd-wc-match-card__team a {
  color: #0f172a;
}

.sapd-wc-match-card__score,
.sapd-wc-match-card--detail .sapd-wc-match-card__score {
  border-color: #0f172a;
  background: #0f172a;
  color: #ffffff;
}

.sapd-wc-calendar-month h4 {
  border-color: #1e3a5f;
  background: #1e3a5f;
  color: #ffffff;
}

.sapd-wc-calendar-weekday {
  background: #dbe8f7;
  color: #18385c;
}

.sapd-wc-calendar-day {
  background: #fbfdff;
}

.sapd-wc-calendar-day--has-match {
  background: #e7f1fb;
}

.sapd-wc-calendar-matches a {
  border-color: #84a8ce;
  border-left: 3px solid #0f4f8a;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(21, 32, 51, 0.08);
}

.sapd-wc-calendar-matches a:hover {
  background: #f2f7fd;
}

.sapd-wc-calendar-matches time {
  color: #0f4f8a;
}

.sapd-wc-calendar-matches span {
  color: #10223a;
}

body.single-post .sapd-wc-match-card--detail .sapd-wc-match-tabs,
body.single-post .sapd-wc-match-card--detail .sapd-wc-match-card__details {
  display: none !important;
}

body.single-post:not(.single-sapd_wc_match):not(.single-sapd_wc_team) .p-articleThumb {
  display: block !important;
  visibility: visible !important;
  width: auto !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 2em 0 !important;
  padding: 0 !important;
  overflow: visible !important;
}

body.single-post:not(.single-sapd_wc_match):not(.single-sapd_wc_team) .p-articleThumb img,
body.single-post:not(.single-sapd_wc_match):not(.single-sapd_wc_team) .p-articleThumb__img {
  display: block !important;
  visibility: visible !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.sapd-wc-related--articles .sapd-wc-related-card-list {
  gap: 10px;
}

.sapd-wc-related--articles li {
  padding: 0;
  border: 0;
  background: transparent;
}

.sapd-wc-related-card {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 82px;
  padding: 8px;
  border: 1px solid #d7e0eb;
  border-radius: 8px;
  background: #ffffff;
  color: #152033;
  text-decoration: none;
  box-shadow: 0 3px 12px rgba(21, 32, 51, 0.05);
}

.sapd-wc-related-card:hover {
  border-color: #8fb2dc;
  background: #f8fbff;
  color: #152033;
  text-decoration: none;
}

.sapd-wc-related-card__thumb {
  display: block;
  width: 112px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid #d7e0eb;
  border-radius: 7px;
  background: linear-gradient(135deg, #e8eef6 0%, #f7f9fc 100%);
}

.sapd-wc-related-card__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sapd-wc-related-card__body {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.sapd-wc-related-card__title {
  display: -webkit-box;
  overflow: hidden;
  color: #152033;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.sapd-wc-related-card time {
  color: #627089;
  font-size: 12px;
  font-weight: 800;
}

/* ============================================================
   モバイル追加対応
   ============================================================ */

@media (max-width: 640px) {
  .sapd-wc-match-card--detail .sapd-wc-match-card__teams {
    grid-template-columns: 1fr;
    gap: 10px;
    width: 100%;
  }

  .sapd-wc-match-card--detail .sapd-wc-match-card__score {
    justify-self: center;
    min-width: 88px;
  }

  .sapd-wc-match-card--detail .sapd-wc-match-card__team,
  .sapd-wc-match-card--detail .sapd-wc-match-card__team:last-child {
    justify-content: center;
    text-align: center;
  }

  .sapd-wc-match-card__team:last-child .sapd-wc-team-link {
    justify-content: center;
  }

  .sapd-wc-related-card {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 10px;
  }

  .sapd-wc-related-card__thumb {
    width: 92px;
  }

  .sapd-wc-events__row {
    grid-template-columns: 38px 24px minmax(0, 1fr);
    font-size: 12px;
  }

  .sapd-wc-events__team {
    display: none;
  }

  .sapd-wc-form__grid {
    grid-template-columns: 1fr;
  }
}
