:root {
  --bg: #f6f7f2;
  --surface: #ffffff;
  --text: #121511;
  --muted: #646b63;
  --line: #d9ddd2;
  --green: #146c43;
  --shadow: 0 12px 34px rgba(18, 21, 17, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.top-strip {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  min-height: 30px;
  padding: 5px 150px 5px 14px;
  background: #050706;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0;
  text-align: left;
}

.language-select {
  position: absolute;
  right: 12px;
  top: 50%;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}

.language-select select {
  height: 22px;
  padding: 0 22px 0 8px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: #161a18;
  color: #fff;
  font: inherit;
  font-size: 11px;
}

.site-header {
  width: 100%;
  background: #062640;
}

.site-header a {
  display: block;
  color: inherit;
  text-decoration: none;
}

.site-header img {
  display: block;
  width: 100%;
  min-height: 150px;
  max-height: 360px;
  object-fit: cover;
  object-position: center top;
}

.page-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: min(1960px, calc(100% - 54px));
  margin: 14px auto 0;
}

.page-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
}

.page-nav a.is-current,
.stage-nav a.is-active {
  border-color: #1e68a6;
  background: linear-gradient(180deg, #124f8c 0%, #0b2d5a 100%);
  color: #fff;
  box-shadow: 0 7px 18px rgba(13, 77, 143, 0.18);
}

.stage-nav a.has-videos.is-active {
  border-color: #1e68a6;
  background: linear-gradient(180deg, #124f8c 0%, #0b2d5a 100%);
  color: #fff;
}

.tournament-top {
  position: sticky;
  top: 0;
  z-index: 20;
  margin-top: 12px;
  padding: 0;
  background: var(--bg);
}

.tournament-top::before {
  content: "";
  display: block;
  height: 1px;
  margin-bottom: 12px;
  background: rgba(18, 21, 17, 0.14);
}

.stage-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-bottom: 8px;
}

.stage-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #eef3f7;
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
}

.stage-nav a.has-videos {
  border-color: #e3b16a;
  background: linear-gradient(180deg, #fff4dc 0%, #ffe4b8 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55);
}

.x-follow-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  min-height: 30px;
  margin: 6px auto 12px;
  padding: 5px 10px;
  border: 1px solid rgba(18, 21, 17, 0.14);
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  box-shadow: 0 6px 14px rgba(18, 21, 17, 0.04);
}

.x-follow-section {
  display: flex;
  justify-content: center;
  padding: 0;
}

.x-follow-section .x-follow-cta {
  display: flex;
  width: fit-content;
}

.site-footer {
  display: grid;
  justify-items: center;
  gap: 10px;
  width: min(1960px, calc(100% - 54px));
  margin: 26px auto 0;
  padding: 18px 0 24px;
  border-top: 1px solid rgba(18, 21, 17, 0.12);
}

.site-footer .x-follow-cta {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 16px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
}

.footer-links a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-links a:hover {
  color: var(--ink);
}

.site-footer small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.4;
}

.x-follow-cta:hover {
  border-color: rgba(18, 21, 17, 0.28);
}

.policy-section {
  max-width: 980px;
}

.policy-section h1 {
  margin: 0 0 18px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
}

.policy-section p {
  margin: 0 0 14px;
  color: #343a34;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.9;
}

.policy-section a {
  color: #0d4d8f;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.x-follow-cta img {
  display: block;
  width: 28px;
  height: 28px;
  margin: -7px 0 -7px -4px;
  object-fit: contain;
}

.x-follow-cta-worldcup img {
  width: 34px;
  height: 34px;
  margin: -10px 0 -10px -5px;
}

.x-follow-cta span {
  color: var(--muted);
}

.x-follow-cta strong {
  font-weight: 900;
}

.league-section {
  width: min(1960px, calc(100% - 54px));
  margin: 0 auto;
}

.league-section {
  scroll-margin-top: 24px;
  padding: 34px 0 10px;
}

.league-section.tournament-top {
  margin: 0 auto;
  padding: 0;
}

.league-section[id] {
  scroll-margin-top: 118px;
}

.match-detail-page {
  width: min(1180px, calc(100% - 54px));
  margin: 0 auto;
  padding-top: 28px;
}

.match-breadcrumb {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.match-breadcrumb a {
  color: inherit;
}

.match-detail-page h1 {
  margin: 0;
  color: var(--text);
  font-size: clamp(26px, 3.2vw, 42px);
  line-height: 1.15;
}

.match-lead {
  max-width: 980px;
  margin: 14px 0 22px;
  color: #4f584f;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.7;
}

.match-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.7fr);
  gap: 18px;
  align-items: start;
}

.match-detail-grid-single {
  grid-template-columns: minmax(0, 760px);
}

.match-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  gap: 18px;
  align-items: start;
}

.match-detail-main {
  min-width: 0;
}

.match-detail-side {
  position: static;
}

.match-video-panel,
.match-info-panel,
.match-result-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.match-video-panel {
  width: min(70%, 980px);
  margin: 0 auto;
  padding: 10px;
}

.match-video-panel iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 6px;
  background: #101512;
}

.match-video-panel .related-video-list {
  margin-top: 8px;
}

.match-video-panel.is-loaded {
  padding: 10px;
}

.match-video-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 8px;
}

.match-related-video-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.match-related-video-buttons button,
.match-video-actions a,
.match-video-open-button {
  border: 0;
  border-radius: 999px;
  background: #0d3e78;
  color: #fff;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.match-related-video-buttons button,
.match-video-actions a {
  padding: 7px 12px;
}

.match-related-video-buttons button.is-active {
  background: #071e3b;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.22);
}

.match-video-open-button {
  display: inline-grid;
  grid-template-columns: 96px 1fr;
  align-items: center;
  gap: 10px;
  max-width: 520px;
  padding: 8px 12px 8px 8px;
  text-align: left;
}

.match-video-open-button img {
  width: 96px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 999px;
}

.match-info-panel,
.match-result-panel {
  padding: 16px;
}

.match-info-panel h2,
.match-result-panel h2 {
  margin: 0 0 12px;
  font-size: 18px;
  line-height: 1.3;
}

.match-info-list {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 8px 12px;
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
}

.match-info-list dt {
  color: var(--muted);
  font-weight: 900;
}

.match-info-list dd {
  margin: 0;
  font-weight: 800;
}

.match-result-panel {
  margin-top: 18px;
}

.match-detail-main > .match-result-panel:first-child {
  margin-top: 0;
}

.match-result-primary {
  border-color: rgba(13, 62, 120, 0.22);
  background: linear-gradient(180deg, #fff 0%, #f8fbff 100%);
}

.match-result-panel p {
  margin: 0;
  color: #394139;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.7;
}

.match-result-panel small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.match-detail-empty {
  color: var(--muted);
}

.match-score-board {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 8px 18px;
  align-items: center;
  margin-bottom: 16px;
  padding: 16px;
  border-radius: 8px;
  background: #0d1f3d;
  color: #fff !important;
}

.match-score-board * {
  color: #fff !important;
}

.match-score-team {
  min-width: 0;
  color: #fff;
  font-size: clamp(17px, 2vw, 24px);
  font-weight: 900;
  line-height: 1.2;
  white-space: nowrap;
}

.match-score-team-home {
  grid-column: 1;
  text-align: center;
}

.match-score-team-away {
  grid-column: 3;
  text-align: center;
}

.match-score-number {
  min-width: 0;
  color: #fff;
  text-align: center;
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 900;
  line-height: 1;
}

.match-score-number-home {
  grid-column: 1;
}

.match-score-number-away {
  grid-column: 3;
}

.match-score-separator {
  grid-column: 2;
  color: rgba(255, 255, 255, 0.86) !important;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900;
  line-height: 1;
}

.match-video-wide {
  width: 100%;
}

.match-events-grid,
.match-events-stack {
  display: grid;
  gap: 12px;
}

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

.match-event-block {
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(13, 31, 61, 0.12);
  border-radius: 8px;
  background: #fff;
}

.match-event-block-wide {
  grid-column: 1 / -1;
}

.match-event-block h3 {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 9px;
  color: #0d1f3d;
  font-size: 15px;
  line-height: 1.3;
}

.match-event-accordion summary {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: #0d1f3d;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.3;
  cursor: pointer;
  list-style: none;
}

.match-event-accordion summary::-webkit-details-marker {
  display: none;
}

.match-event-accordion summary::after {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  margin-left: auto;
  border-top: 2px solid #0d3e78;
  border-right: 2px solid #0d3e78;
  opacity: 0.76;
  transform: rotate(225deg);
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.match-event-accordion[open] summary {
  margin-bottom: 9px;
}

.match-event-accordion[open] summary::after {
  transform: rotate(135deg);
}

.match-event-count {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.match-event-title-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.35em;
  color: inherit;
  font-size: 1.05em;
  line-height: 1;
}

.match-event-list,
.match-substitution-list {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.match-event-list li {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 2px 10px;
  align-items: baseline;
  font-size: 13px;
  line-height: 1.35;
}

.match-event-list li > span:last-child {
  grid-column: 2;
  color: var(--muted);
  font-weight: 500;
}

.match-event-list strong,
.match-substitution-list strong {
  color: #151914;
  font-weight: 900;
}

.match-event-team {
  color: var(--muted) !important;
  font-weight: 500 !important;
}

.match-card-icon {
  display: inline-block;
  width: 10px;
  height: 14px;
  margin-right: 8px;
  border-radius: 2px;
  box-shadow: 0 1px 2px rgba(18, 21, 17, 0.18);
  transform: translateY(1px);
}

.match-card-icon-pair {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-right: 8px;
  transform: translateY(1px);
}

.match-card-icon-pair .match-card-icon {
  margin-right: 0;
}

.match-card-icon.is-yellow {
  background: #ffd23c;
}

.match-card-icon.is-red {
  background: #e33131;
}

.match-event-minute {
  display: inline-flex;
  justify-content: center;
  min-width: 42px;
  padding: 2px 7px;
  border-radius: 999px;
  background: #edf3fb;
  color: #0d3e78;
  font-size: 12px;
  font-weight: 900;
}

.match-substitution-list li {
  display: grid;
  grid-template-columns: 52px minmax(86px, 0.7fr) repeat(2, minmax(0, 1fr));
  gap: 8px;
  align-items: center;
  padding: 7px 0;
  border-top: 1px solid rgba(13, 31, 61, 0.1);
  font-size: 13px;
  line-height: 1.35;
}

.match-substitution-list li:first-child {
  border-top: 0;
}

.match-substitution-list b {
  margin-right: 4px;
  color: #0d3e78;
  font-size: 11px;
  font-weight: 900;
}

.match-broadcast-panel {
  border-color: rgba(13, 31, 61, 0.18);
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.broadcast-time-list {
  display: grid;
  gap: 8px;
  margin: 0 0 12px;
  font-size: 13px;
}

.broadcast-time-list div {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 12px;
}

.broadcast-time-list dt {
  color: var(--muted);
  font-weight: 900;
}

.broadcast-time-list dd {
  margin: 0;
  font-weight: 900;
}

.broadcast-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.broadcast-list li {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  align-items: center;
  padding: 9px 10px;
  border: 1px solid rgba(13, 31, 61, 0.1);
  border-radius: 7px;
  background: #fff;
  font-size: 13px;
}

.broadcast-list strong {
  color: #0d1f3d;
  font-weight: 900;
}

.broadcast-list span,
.broadcast-note {
  color: var(--muted);
  font-weight: 800;
}

.match-result-panel .broadcast-note {
  margin-top: 12px;
  font-size: 12px;
}

.scorer-list {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 1.2em;
  color: #394139;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.6;
}

.match-related-list {
  display: grid;
  gap: 8px;
}

.match-related-list a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 34px 10px 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--text);
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.match-related-list a::after {
  content: "";
  position: absolute;
  right: 13px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-top: 2px solid #0d3e78;
  border-right: 2px solid #0d3e78;
  opacity: 0.72;
  transform: translateY(-50%) rotate(45deg);
}

.match-related-list small {
  margin: 0;
  white-space: nowrap;
}

.section-top {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.section-description {
  margin: -4px 0 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.55;
}

.league-section h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.1;
  letter-spacing: 0;
}

.year-heading {
  padding-bottom: 0;
}

.month-section {
  padding-top: 20px;
}

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

.filters label {
  display: grid;
  gap: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.filters select {
  min-width: 116px;
  height: 36px;
  padding: 0 30px 0 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: 14px;
  font-weight: 800;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.video-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: none;
  cursor: pointer;
}

.video-card.is-playing {
  border-color: #0a4b91;
  box-shadow: 0 0 0 2px rgba(10, 75, 145, 0.12);
}

.media {
  aspect-ratio: 16 / 9;
  background: #10120f;
}

.media iframe,
.thumb-button,
.thumb-button img {
  display: block;
  width: 100%;
  height: 100%;
}

.media iframe {
  border: 0;
}

.thumb-button {
  padding: 0;
  border: 0;
  background: #10120f;
  cursor: pointer;
}

.thumb-button img {
  object-fit: cover;
}

.video-info {
  min-width: 0;
  padding: 9px 10px 10px;
}

.video-info h3 {
  margin: 0 0 4px;
  overflow: hidden;
  font-size: 15px;
  line-height: 1.35;
  letter-spacing: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.video-info p {
  margin: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.video-info .video-description {
  display: -webkit-box;
  margin-top: 6px;
  overflow: hidden;
  color: #737a70;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.45;
  text-overflow: clip;
  white-space: normal;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.related-videos {
  margin-top: 8px;
  padding: 0;
  border: 0;
  background: transparent;
}

.related-video-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.related-video-list button,
.related-video-list a,
.match-result-link {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 8px;
  border: 1px solid #0d1f3d;
  border-radius: 999px;
  background: #0d1f3d;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.2;
  text-decoration: none;
}

.related-video-list button:hover,
.related-video-list a:hover,
.match-result-link:hover {
  border-color: #15325f;
  background: #15325f;
}

.related-video-list button.is-active {
  border-color: #071e3b;
  background: #071e3b;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.2);
}

.inline-video-actions {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.inline-video-head,
.team-video-player-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 2px 2px 0;
}

.inline-video-head strong,
.team-video-player-head strong {
  min-width: 0;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.35;
}

.inline-video-head button,
.team-video-player-head button {
  flex: 0 0 auto;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f6f7f2;
  color: var(--text);
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.match-result-link {
  flex: 0 0 auto;
  margin-left: auto;
  border-color: #be6b18;
  background: linear-gradient(180deg, #f59f35 0%, #d87916 100%);
}

.match-result-link:hover {
  border-color: #a95c11;
  background: linear-gradient(180deg, #e98d24 0%, #bd6814 100%);
}

.inline-video-player {
  grid-column: 1 / -1;
  display: grid;
  gap: 8px;
  width: min(70%, 980px);
  justify-self: center;
  overflow: hidden;
  padding: 8px;
  border: 1px solid rgba(10, 75, 145, 0.16);
  border-radius: 8px;
  background: #fff;
}

.inline-video-player iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 6px;
  background: #101512;
}

.japan-player-videos {
  display: grid;
  gap: 12px;
}

.japan-player-lead {
  max-width: 860px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.65;
}

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

.japan-player-row {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.japan-player-profile {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.japan-player-profile strong {
  color: var(--text);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.35;
}

.japan-player-profile span,
.japan-player-empty {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
}

.japan-player-empty {
  margin: 0;
  padding: 9px 0;
}

.japan-player-video-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(190px, 240px);
  gap: 8px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  padding-bottom: 4px;
  scrollbar-width: thin;
}

.japan-player-video-card {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  gap: 4px;
  min-width: 0;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fdfefb;
  color: var(--text);
  text-align: left;
  font: inherit;
  cursor: pointer;
  text-decoration: none;
}

.japan-player-video-card.is-playing {
  border-color: #0a4b91;
  box-shadow: 0 0 0 2px rgba(10, 75, 145, 0.13);
}

.japan-player-video-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #101512;
}

.japan-player-video-card.is-external {
  background: #f7fbff;
}

.japan-player-video-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 16 / 9;
  padding: 10px;
  background: linear-gradient(135deg, #0d1f3d 0%, #0a4b91 100%);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.35;
  text-align: center;
}

.japan-player-video-card span {
  justify-self: start;
  margin: 6px 8px 0;
  padding: 3px 7px;
  border-radius: 999px;
  background: #0d1f3d;
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  line-height: 1.2;
}

.japan-player-video-card strong {
  display: -webkit-box;
  overflow: hidden;
  padding: 0 8px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.35;
}

.japan-player-video-card small {
  padding: 0 8px 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.3;
}

.japan-player-inline {
  grid-column: 2;
  width: min(100%, 760px);
  justify-self: start;
}

.imobile-ad-section {
  display: flex;
  justify-content: center;
  padding-top: 8px;
  padding-bottom: 8px;
  background: transparent;
}

.worldcup-group-grid > .imobile-ad-section {
  grid-column: 1 / -1;
}

.imobile-ad-slot {
  display: flex;
  justify-content: center;
  width: 100%;
  min-height: 90px;
}

.imobile-ad-sp {
  display: none;
}

.imobile-bottom-banner-sp {
  display: none;
}

.imobile-native-slot {
  width: 100%;
  min-height: 120px;
}

.empty-state {
  margin: 0;
  padding: 18px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.45);
}

.standings-panel {
  width: min(680px, 100%);
  margin-top: 18px;
  border: 1px solid #0a2e63;
  border-radius: 8px;
  background: linear-gradient(135deg, #081b3a 0%, #0b4f96 55%, #1699d3 100%);
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(8, 27, 58, 0.16);
}

.standings-panel[open] {
  background: var(--surface);
}

.standings-panel[open] .standings-head {
  background: linear-gradient(135deg, #081b3a 0%, #0b4f96 55%, #1699d3 100%);
}

.standings-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  cursor: pointer;
  list-style: none;
}

.standings-panel[open] .standings-head {
  border-bottom: 1px solid var(--line);
}

.standings-head::-webkit-details-marker {
  display: none;
}

.standings-head::after {
  content: "＋";
  flex: 0 0 auto;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
}

.standings-panel[open] .standings-head::after {
  content: "−";
}

.standings-head span {
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.2;
}

.standings-head small {
  margin-left: auto;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}

.standings-table-wrap {
  overflow-x: auto;
}

.standings-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 13px;
}

.standings-table th,
.standings-table td {
  padding: 8px 10px;
  border-bottom: 1px solid var(--line);
  text-align: right;
  white-space: nowrap;
}

.standings-table th:nth-child(2),
.standings-table td:nth-child(2) {
  text-align: left;
}

.standings-table th {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

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

.team-cell {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-width: 0;
  font-weight: 800;
}

.team-cell span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.team-cell img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.schedule-card {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.schedule-card h3,
.schedule-card p {
  margin: 0;
}

.schedule-card h3 {
  font-size: 17px;
  line-height: 1.35;
}

.schedule-card p {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.45;
}

.match-schedule-card {
  margin-bottom: 12px;
}

.scheduled-match-list {
  display: grid;
  gap: 8px;
  margin-top: 8px;
}

.scheduled-match {
  display: grid;
  gap: 2px;
  padding: 10px 12px;
  border: 1px solid rgba(10, 75, 145, 0.14);
  border-radius: 8px;
  background: #f3f7fb;
}

.scheduled-match strong {
  font-size: 16px;
  line-height: 1.35;
}

.scheduled-match span {
  color: #0a4b91;
  font-size: 13px;
  font-weight: 900;
}

.scheduled-match small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}

.worldcup-overview {
  display: grid;
  gap: 18px;
}

.worldcup-group-links {
  position: sticky;
  top: 50px;
  z-index: 12;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin-top: -8px;
  padding: 8px 0 10px;
  background: var(--bg);
  box-shadow: 0 -8px 0 var(--bg);
  scrollbar-width: none;
}

.worldcup-group-links::-webkit-scrollbar {
  display: none;
}

.worldcup-group-links a {
  flex: 0 0 auto;
  padding: 9px 12px;
  border: 1px solid rgba(9, 47, 93, 0.14);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
}

.worldcup-group-links a.is-active {
  border-color: #1e68a6;
  background: linear-gradient(180deg, #124f8c 0%, #0b2d5a 100%);
  color: #fff;
  box-shadow: 0 7px 18px rgba(13, 77, 143, 0.18);
}

.worldcup-group-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.worldcup-group-card {
  scroll-margin-top: 150px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.worldcup-group-head {
  position: relative;
  display: grid;
  gap: 4px;
  padding: 13px 14px 13px 34px;
  overflow: hidden;
  background: linear-gradient(100deg, #170e10 0%, #241517 58%, #32191d 100%);
  color: #fff;
}

.worldcup-group-head::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 18px;
  background: linear-gradient(90deg, #0069c4 0 6px, #00b25d 6px 12px, #e21d30 12px 18px);
}

.worldcup-group-head h3,
.worldcup-group-head p {
  position: relative;
  z-index: 1;
  margin: 0;
}

.worldcup-group-head h3 {
  font-size: 19px;
  line-height: 1.2;
}

.worldcup-group-head p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}

.worldcup-team-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.worldcup-group-summary {
  margin: 0;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.55;
}

.worldcup-team-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.25;
}

.worldcup-team-list a {
  flex: 0 0 auto;
  min-height: 24px;
  padding: 6px 9px;
  border: 1px solid rgba(10, 75, 145, 0.24);
  border-radius: 999px;
  background: #f5f9ff;
  color: #0a4b91;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
}

.worldcup-team-list a:hover {
  border-color: #0a4b91;
  color: #063463;
}

.worldcup-team-list li:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.worldcup-team-list li:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.worldcup-team-list li:nth-child(even) {
  padding-left: 14px;
}

.worldcup-standings {
  overflow: hidden;
  margin: 12px 14px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(18, 21, 17, 0.06);
}

.worldcup-standings h4 {
  margin: 0;
  padding: 11px 14px 10px;
  border-bottom: 1px solid var(--line);
  background: #f7f8f4;
  color: var(--text);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.25;
}

.worldcup-standings-table-wrap {
  overflow-x: auto;
}

.worldcup-standings-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
}

.worldcup-standings-table th,
.worldcup-standings-table td {
  padding: 8px 8px;
  border-bottom: 1px solid var(--line);
  text-align: center;
  white-space: nowrap;
}

.worldcup-standings-table th {
  background: #e9e9e6;
  color: #343837;
  font-weight: 900;
}

.worldcup-standings-table th:nth-child(2),
.worldcup-standings-table td:nth-child(2) {
  width: 42%;
  text-align: left;
}

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

.worldcup-standings-team {
  display: inline-block;
  max-width: 170px;
  overflow: hidden;
  font-weight: 900;
  color: var(--text);
  text-decoration: underline;
  text-overflow: ellipsis;
  vertical-align: bottom;
  white-space: nowrap;
}

.worldcup-standings-team:hover {
  color: #0a4b91;
}

.worldcup-fixtures {
  display: grid;
}

.worldcup-display-switch {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  width: min(720px, 100%);
  margin: -6px 0 18px;
  padding: 4px;
  border: 1px solid #cbd7cd;
  border-radius: 14px;
  background: #eef3f1;
}

.worldcup-display-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 8px 16px;
  border-radius: 11px;
  color: #0a3d78;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.worldcup-display-switch a:hover {
  background: #dfecef;
}

.worldcup-display-switch a.is-active {
  background: linear-gradient(135deg, #0c2d5b 0%, #0b5fa5 100%);
  color: #fff;
  box-shadow: 0 6px 14px rgba(6, 39, 84, 0.16);
}

.worldcup-schedule-section .section-description {
  margin-bottom: 18px;
}

.worldcup-schedule-list {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.worldcup-fixture {
  position: relative;
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 10px 40px 10px 14px;
  border-bottom: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.worldcup-fixture.has-video {
  grid-template-columns: 76px 104px minmax(0, 1fr);
  min-height: 78px;
}

.worldcup-fixture.has-result {
  background: linear-gradient(90deg, rgba(12, 45, 91, 0.045), rgba(255, 255, 255, 0));
}

.worldcup-fixture:hover {
  background: #f7fbff;
}

.worldcup-fixture:last-child {
  border-bottom: 0;
}

.worldcup-fixture time {
  display: grid;
  gap: 3px;
  color: #0a4b91;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.35;
}

.worldcup-fixture time small {
  color: #515b52;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.2;
}

.worldcup-fixture time .fixture-status-finished {
  width: fit-content;
  padding: 2px 6px;
  border-radius: 999px;
  background: #102a4c;
  color: #fff;
  font-size: 10px;
}

.worldcup-fixture time .fixture-status-live {
  width: fit-content;
  padding: 2px 6px;
  border-radius: 999px;
  background: #d8172d;
  color: #fff;
  font-size: 10px;
}

.worldcup-fixture-main {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.worldcup-fixture strong,
.fixture-match-link {
  min-width: 0;
  color: var(--text);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.35;
  text-decoration: none;
}

.fixture-match-link:hover {
  color: #0a4b91;
}

.worldcup-fixture span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.35;
}

.worldcup-fixture .fixture-broadcast {
  width: fit-content;
  padding: 3px 7px;
  border-radius: 999px;
  background: #fff5df;
  color: #8a5200;
  font-weight: 900;
}

.worldcup-fixture .fixture-result-score {
  width: fit-content;
  padding: 3px 10px;
  border-radius: 999px;
  background: #102a4c;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
}

.fixture-row-arrow {
  position: absolute;
  right: 14px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-top: 2px solid #0d3e78;
  border-right: 2px solid #0d3e78;
  opacity: 0.72;
  transform: translateY(-50%) rotate(45deg);
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.worldcup-fixture:hover .fixture-row-arrow {
  opacity: 1;
  transform: translate(2px, -50%) rotate(45deg);
}

.worldcup-bracket-section {
  padding-top: 24px;
}

.worldcup-bracket-scroll {
  overflow-x: auto;
  padding: 4px 0 10px;
  scrollbar-width: thin;
}

.worldcup-bracket {
  --bracket-line: #47515d;
  --bracket-card: #ffffff;
  --bracket-card-muted: #f8faf8;
  --bracket-pad-x: 18px;
  --bracket-left-width: 650px;
  --bracket-center-width: 130px;
  --bracket-gap: 16px;
  --bracket-center-x: calc(var(--bracket-pad-x) + var(--bracket-left-width) + var(--bracket-gap) + var(--bracket-center-width) / 2);
  position: relative;
  display: grid;
  grid-template-columns: var(--bracket-left-width) var(--bracket-center-width) var(--bracket-left-width);
  gap: var(--bracket-gap);
  align-items: center;
  min-width: 1478px;
  padding: 110px var(--bracket-pad-x) 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(0, 105, 196, 0.08), rgba(0, 178, 93, 0.06), rgba(226, 29, 48, 0.07)),
    #fff;
}

.bracket-side {
  position: relative;
  width: 650px;
  height: 678px;
}

.bracket-node {
  position: absolute;
  left: var(--x);
  top: var(--y);
  display: grid;
  align-content: center;
  width: var(--w);
  height: var(--h);
  padding: 6px 30px 6px 9px;
  border: 2px solid #111;
  background: var(--bracket-card);
  color: var(--text);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.25;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.12);
}

.bracket-node span {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.bracket-node em {
  position: absolute;
  right: 6px;
  bottom: 4px;
  color: var(--muted);
  font-size: 9px;
  font-style: normal;
  font-weight: 900;
}

.bracket-node.is-placeholder {
  border-color: rgba(17, 17, 17, 0.55);
  background: var(--bracket-card-muted);
  color: #5c655d;
  padding: 6px 8px;
}

.bracket-line {
  position: absolute;
  background: var(--bracket-line);
  pointer-events: none;
}

.bracket-line-h {
  left: var(--x);
  top: var(--y);
  width: var(--w);
  height: 2px;
  transform: translateY(-1px);
}

.bracket-line-v {
  left: var(--x);
  top: var(--y);
  width: 2px;
  height: var(--h);
  transform: translateX(-1px);
}

.bracket-center {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: center;
  min-height: 678px;
}

.bracket-final-top {
  position: absolute;
  top: 18px;
  left: var(--bracket-center-x);
  z-index: 3;
  display: grid;
  gap: 4px;
  width: 250px;
  padding: 12px 18px;
  border: 2px solid #111;
  border-radius: 4px;
  background: linear-gradient(180deg, #ffffff 0%, #f6fbff 100%);
  text-align: center;
  transform: translateX(-50%);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.12);
}

.bracket-final-top span {
  color: #0a4b91;
  font-size: 14px;
  font-weight: 900;
}

.bracket-final-top strong {
  overflow: hidden;
  color: var(--text);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.25;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.bracket-final-top small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.bracket-final-connector {
  position: absolute;
  left: calc(var(--bracket-center-x) - var(--bracket-center-width) / 2);
  top: 110px;
  width: var(--bracket-center-width);
  height: 317px;
  pointer-events: none;
}

.bracket-final-connector::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 2px;
  height: 317px;
  background: var(--bracket-line);
  transform: translateX(-1px);
}

.bracket-final-connector::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 130px;
  height: 2px;
  background: var(--bracket-line);
}

.squad-page-head {
  padding-top: 26px;
}

.squad-page-head h1 {
  margin: 0;
  font-size: clamp(28px, 4.2vw, 52px);
  line-height: 1.12;
}

.squad-page-head p {
  max-width: 920px;
  margin: 12px 0 0;
  color: #4f584f;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.7;
}

.squad-nav {
  padding-top: 0;
}

.squad-group {
  margin-top: 18px;
}

.squad-group-head h2 {
  margin: 0 0 6px;
  color: #fff;
  font-size: 28px;
  line-height: 1.15;
}

.squad-team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding-top: 12px;
}

.squad-team-card {
  overflow: hidden;
  scroll-margin-top: 122px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.squad-team-card.is-unannounced {
  background: rgba(255, 255, 255, 0.58);
}

.squad-team-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  border-bottom: 1px solid var(--line);
}

.squad-team-head h3 {
  margin: 0;
  font-size: 21px;
  line-height: 1.25;
}

.squad-team-info {
  display: grid;
  gap: 3px;
  padding: 10px 14px 0;
}

.squad-team-info p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
}

.squad-meta {
  display: grid;
  gap: 6px;
  justify-items: end;
  align-content: start;
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.squad-status {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
}

.squad-status.is-final {
  background: #e9f7ef;
  color: #12633d;
}

.squad-status.is-preliminary {
  background: #fff5df;
  color: #8a5200;
}

.squad-status.is-unannounced {
  background: #eef2f4;
  color: #667078;
}

.squad-players {
  display: grid;
  gap: 10px;
  padding: 14px;
}

.squad-position h4 {
  margin: 0 0 6px;
  color: #0d1f3d;
  font-size: 13px;
  line-height: 1.3;
}

.squad-position h4 span {
  color: var(--muted);
  font-size: 11px;
}

.squad-position ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.squad-position li,
.squad-empty {
  color: #2e352f;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.45;
}

.player-name {
  font-weight: 750;
}

.player-club {
  color: #6f776f;
  font-weight: 500;
}

.squad-empty {
  margin: 0;
  color: var(--muted);
}

.squad-source {
  display: block;
  padding: 0 14px 14px;
  color: #0a4b91;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}

.team-detail-link {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin: 0 14px 10px;
  padding: 0 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, #0d1f3d 0%, #0a4b91 100%);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
}

.team-page {
  padding-bottom: 20px;
}

.team-hero {
  padding-top: 28px;
}

.team-hero h1 {
  max-width: 1100px;
  margin: 0;
  font-size: clamp(30px, 4.8vw, 58px);
  line-height: 1.12;
}

.team-hero p:not(.match-breadcrumb) {
  max-width: 980px;
  margin: 14px 0 0;
  color: #4f584f;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.75;
}

.team-section {
  margin-top: 18px;
  padding-top: 0;
}

.team-section h2 {
  margin: 0 0 12px;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.2;
}

.team-squad-meta {
  display: grid;
  gap: 4px;
  margin-bottom: 12px;
}

.team-squad-meta p,
.team-empty {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.55;
}

.team-squad-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.team-squad-list section,
.team-fixture-row,
.team-video-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.team-squad-list section {
  padding: 14px;
}

.team-squad-list h3 {
  margin: 0 0 8px;
  color: #0d1f3d;
  font-size: 16px;
  line-height: 1.3;
}

.team-squad-list h3 span {
  color: var(--muted);
  font-size: 12px;
}

.team-squad-list ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.team-squad-list li {
  color: #2e352f;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.45;
}

.team-fixture-list {
  display: grid;
  gap: 8px;
}

.team-fixture-row {
  position: relative;
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 3px 12px;
  align-items: center;
  padding: 10px 40px 10px 14px;
  color: var(--text);
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.team-fixture-row:hover {
  background: #f7fbff;
}

.team-fixture-row time {
  grid-row: span 2;
  display: grid;
  gap: 3px;
  color: #0a4b91;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.35;
}

.team-fixture-row time small {
  color: #515b52;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.2;
}

.team-fixture-row strong {
  min-width: 0;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.35;
}

.team-fixture-row span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.35;
}

.team-fixture-row .fixture-row-arrow {
  color: transparent;
}

.team-video-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.team-video-card {
  overflow: hidden;
  color: var(--text);
  font: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.team-video-card.is-playing {
  border-color: #0a4b91;
  box-shadow: 0 0 0 2px rgba(10, 75, 145, 0.12);
}

.team-video-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #101512;
}

.team-video-card span,
.team-video-card small {
  display: block;
  padding: 0 9px;
}

.team-video-card span {
  padding-top: 8px;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.35;
}

.team-video-card small {
  padding-top: 4px;
  padding-bottom: 9px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.team-video-player {
  grid-column: 1 / -1;
  justify-self: center;
  overflow: hidden;
  width: min(70%, 980px);
  padding: 8px;
  border: 1px solid rgba(10, 75, 145, 0.2);
  border-radius: 8px;
  background: #fff;
}

.team-video-player iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 6px;
  background: #101512;
}

.team-related div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.team-related a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: #0d1f3d;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}

.fixture-detail-link {
  width: fit-content;
  margin-top: 4px;
  padding: 4px 8px;
  border: 1px solid rgba(13, 31, 61, 0.2);
  border-radius: 999px;
  background: #fff;
  color: #0d1f3d;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.2;
  text-decoration: none;
}

.fixture-detail-link:hover {
  border-color: #0d1f3d;
}

.fixture-video-list {
  display: grid;
  gap: 5px;
}

.fixture-video-card {
  display: block;
  padding: 0;
  border: 1px solid rgba(10, 75, 145, 0.16);
  border-radius: 7px;
  background: #f3f7fb;
  cursor: pointer;
}

.fixture-video-card.is-playing {
  border-color: #0a4b91;
  box-shadow: 0 0 0 2px rgba(10, 75, 145, 0.12);
}

.fixture-video-media,
.fixture-video-thumb {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 5px;
  background: #101512;
}

.fixture-video-media iframe,
.fixture-video-media img {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

.fixture-video-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  font-weight: 900;
}

.fixture-player {
  grid-column: 2 / -1;
  margin-top: 4px;
  width: 100%;
  justify-self: stretch;
}

.worldcup-video-block {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.worldcup-video-block h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.3;
}

.worldcup-qualifying-board {
  display: grid;
  gap: 18px;
}

.qualifying-group-block {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.qualifying-group-head {
  position: relative;
  display: grid;
  gap: 4px;
  padding: 13px 14px 13px 34px;
  overflow: hidden;
  background: linear-gradient(100deg, #170e10 0%, #241517 58%, #32191d 100%);
  color: #fff;
}

.qualifying-group-head::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 18px;
  background: linear-gradient(90deg, #0069c4 0 6px, #00b25d 6px 12px, #e21d30 12px 18px);
}

.qualifying-group-head h3,
.qualifying-group-head p {
  position: relative;
  z-index: 1;
  margin: 0;
}

.qualifying-group-head h3 {
  font-size: 19px;
  line-height: 1.2;
}

.qualifying-group-head p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}

.qualifying-country-list {
  display: grid;
}

.qualifying-country-row {
  display: grid;
  gap: 8px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}

.qualifying-country-row:last-child {
  border-bottom: 0;
}

.qualifying-country-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.qualifying-country-head h3 {
  margin: 0;
  font-size: 16px;
  line-height: 1.25;
}

.qualifying-country-head small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.3;
}

.qualifying-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x proximity;
}

.qualifying-video-card {
  flex: 0 0 220px;
  scroll-snap-align: start;
}

.qualifying-empty {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
}

.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: #050706;
  color: #fff;
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(18, 21, 17, 0.22);
}

@media (max-width: 760px) {
  .site-header img {
    width: 100%;
    height: auto;
    min-height: 0;
    max-height: none;
    object-fit: contain;
    transform: scale(1.4);
    transform-origin: center center;
  }

  .site-header-en-image {
    transform: scale(1.4);
    transform-origin: center center;
  }

  .site-header {
    overflow: hidden;
  }

  .inline-video-player {
    width: 100%;
  }

  .match-video-panel {
    width: 100%;
  }

  .japan-player-row {
    grid-template-columns: 1fr;
  }

  .japan-player-video-rail {
    grid-auto-columns: minmax(150px, 64vw);
  }

  .japan-player-inline {
    grid-column: 1;
    width: 100%;
  }

  .team-video-player {
    width: 100%;
  }

  .imobile-ad-sp {
    display: flex;
  }

  body.has-imobile-bottom-banner,
  body:has(.imobile-bottom-banner-sp) {
    padding-bottom: 96px;
  }

  .imobile-bottom-banner-sp {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 80;
    display: flex;
    justify-content: center;
    width: 100%;
    min-height: 50px;
    padding: 4px 0 calc(4px + env(safe-area-inset-bottom));
    background: rgba(246, 247, 242, 0.96);
    border-top: 1px solid var(--line);
    box-shadow: 0 -8px 24px rgba(18, 21, 17, 0.12);
  }

  .inline-video-actions,
  .match-detail-grid,
  .match-detail-layout {
    grid-template-columns: 1fr;
  }

  .match-detail-side {
    position: static;
  }

  .match-score-board {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 8px 12px;
    padding: 14px 10px;
  }

  .match-score-team {
    font-size: 14px;
  }

  .match-score-team-away {
    text-align: center;
  }

  .match-score-number {
    min-width: 0;
    font-size: clamp(42px, 15vw, 62px);
  }

  .match-score-separator {
    font-size: clamp(30px, 10vw, 44px);
  }

  .match-events-grid {
    grid-template-columns: 1fr;
  }

  .match-substitution-list li {
    grid-template-columns: 52px 1fr;
  }

  .match-substitution-list strong {
    grid-column: 2;
  }

  .match-substitution-list span:nth-child(n+3) {
    grid-column: 2;
  }

  .inline-video-actions {
    flex-direction: column;
  }

  .match-detail-page {
    width: min(100% - 28px, 1180px);
    padding-top: 18px;
  }

  .match-detail-page h1 {
    font-size: clamp(30px, 10vw, 44px);
  }

  .match-info-list {
    grid-template-columns: 76px 1fr;
  }

  .match-related-list a {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  .section-top {
    align-items: flex-start;
    flex-direction: column;
  }

  .standings-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .back-to-top {
    bottom: 116px;
  }

  .worldcup-group-links {
    top: 54px;
  }

  .worldcup-group-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .squad-team-grid {
    grid-template-columns: 1fr;
  }

  .team-squad-list,
  .team-video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .top-strip {
    justify-content: space-between;
    padding: 5px 8px;
    text-align: left;
  }

  .language-select {
    position: static;
    flex: 0 0 auto;
    transform: none;
  }

  .language-select > span {
    display: none;
  }

  .league-section {
    width: min(100% - 16px, 1960px);
  }

  .page-nav {
    width: min(100% - 16px, 1960px);
  }

  .league-section {
    padding-top: 24px;
  }

  .league-section h2 {
    font-size: 22px;
  }

  .filters select {
    min-width: 104px;
    height: 34px;
    font-size: 13px;
  }

  .video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  .video-info {
    padding: 7px 7px 8px;
  }

  .video-info h3 {
    margin-bottom: 3px;
    font-size: 12px;
    line-height: 1.3;
  }

  .video-info p {
    font-size: 10px;
  }

  .video-info .video-description {
    margin-top: 4px;
    font-size: 10px;
    line-height: 1.35;
    -webkit-line-clamp: 2;
  }

  .x-follow-cta {
    gap: 6px;
    padding: 5px 8px;
    font-size: 11px;
  }

  .x-follow-cta-worldcup img {
    width: 31px;
    height: 31px;
    margin: -8px 0 -8px -5px;
  }

  .standings-panel {
    width: 100%;
  }

  .standings-head {
    padding: 10px 11px;
  }

  .standings-head span {
    font-size: 15px;
  }

  .standings-table-wrap {
    overflow-x: hidden;
  }

  .standings-table {
    min-width: 0;
    table-layout: fixed;
    font-size: 11px;
  }

  .standings-table th,
  .standings-table td {
    padding: 7px 3px;
  }

  .standings-table th:nth-child(1),
  .standings-table td:nth-child(1) {
    width: 34px;
  }

  .standings-table th:nth-child(2),
  .standings-table td:nth-child(2) {
    width: auto;
  }

  .standings-table th:nth-child(3),
  .standings-table td:nth-child(3),
  .standings-table th:nth-child(4),
  .standings-table td:nth-child(4),
  .standings-table th:nth-child(5),
  .standings-table td:nth-child(5) {
    width: 32px;
  }

  .team-cell {
    gap: 4px;
  }

  .team-cell img {
    display: inline-block;
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
  }

  .team-cell span {
    font-size: 10px;
  }

  .worldcup-group-links a {
    padding: 8px 10px;
    font-size: 12px;
  }

  .worldcup-display-switch {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    margin: -2px 0 18px;
    padding: 5px;
    border-radius: 12px;
  }

  .worldcup-display-switch a {
    min-height: 44px;
    padding: 10px 6px;
    border-radius: 9px;
    font-size: 14px;
  }

  .worldcup-bracket {
    min-width: 1478px;
    padding: 12px;
  }

  .bracket-node {
    font-size: 10px;
  }

  .worldcup-group-head {
    padding: 11px 12px 11px 34px;
  }

  .squad-page-head h1 {
    font-size: 30px;
  }

  .squad-team-head {
    padding: 12px;
  }

  .squad-team-head h3 {
    font-size: 18px;
  }

  .squad-position ul {
    grid-template-columns: 1fr;
  }

  .team-squad-list,
  .team-video-grid {
    grid-template-columns: 1fr;
  }

  .team-squad-list ul {
    grid-template-columns: 1fr;
  }

  .team-fixture-row {
    grid-template-columns: 74px minmax(0, 1fr);
    padding: 10px 12px;
  }

  .qualifying-group-head {
    padding: 11px 12px 11px 34px;
  }

  .qualifying-country-row {
    padding: 10px 12px;
  }

  .qualifying-country-head h3 {
    font-size: 14px;
  }

  .qualifying-video-card {
    flex-basis: 150px;
  }

  .worldcup-team-list {
    padding: 10px 12px;
  }

  .worldcup-standings {
    margin: 0;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .worldcup-standings h4 {
    padding: 12px;
    font-size: 16px;
  }

  .worldcup-standings-table-wrap {
    overflow-x: visible;
  }

  .worldcup-standings-table {
    min-width: 0;
    font-size: 12px;
  }

  .worldcup-standings-table th,
  .worldcup-standings-table td {
    padding: 9px 3px;
  }

  .worldcup-standings-table th:nth-child(2),
  .worldcup-standings-table td:nth-child(2) {
    width: 38%;
  }

  .worldcup-standings-team {
    max-width: 108px;
  }

  .worldcup-fixture {
    grid-template-columns: 64px minmax(0, 1fr);
    padding: 10px 34px 10px 12px;
  }

  .worldcup-fixture.has-video {
    grid-template-columns: 64px 72px minmax(0, 1fr);
    min-height: 62px;
  }

  .worldcup-fixture strong,
  .fixture-match-link {
    font-size: 15px;
  }

  .fixture-row-arrow {
    right: 10px;
    width: 8px;
    height: 8px;
  }

  .fixture-player {
    grid-column: 1 / -1;
  }

  .fixture-video-thumb {
    font-size: 9px;
  }
}
