#futsal-title,
#kingsguard-current-season-label,
#kingsguard-hero-season,
#kingsguard-snapshot-season,
#kingsguard-squad-season,
#squad-title,
#kingsguard-medal-gateway {
  overflow-wrap: anywhere;
}

.kg-hub-page main { gap: 0; }

.kg-hub-page main > .section:not(.futsal-hero) {
  width: min(1180px, calc(100% - 2rem));
  margin: clamp(2.5rem, 5vw, 3.5rem) auto 0;
}

.kg-hub-page main > .section:last-child { margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }

.kg-hub-page .button,
.kg-hub-page summary,
.kg-hub-page .futsal-chart-control,
.kg-hub-page .futsal-quick-filter,
.kg-hub-page :is(select, input) { min-height: 44px; }

.kg-hub-page .futsal-panel {
  padding: clamp(1.25rem, 2.8vw, 2rem);
  border-color: rgba(119, 193, 221, 0.17);
  border-radius: 12px;
  box-shadow: none;
}

.kg-hub-page .section-heading { align-items: end; }
.kg-hub-page .section-heading h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); line-height: 1; }
.kg-hub-page .section-heading h3 { margin: 0.1rem 0 0; font-size: clamp(1.35rem, 2.4vw, 1.85rem); }

.kg-hub-page .section-heading p:not(.eyebrow) {
  max-width: 50rem;
  margin: 0.4rem 0 0;
  color: #b8c7d3;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.5;
}

.kg-hub-page .eyebrow { font-size: 0.72rem; letter-spacing: 0.08em; }

.kg-hub-page :is(.button, summary, .section-nav a, .kg-hub-player-link, .kg-hub-text-link):focus-visible {
  outline: 3px solid #78ddff;
  outline-offset: 3px;
}

.kg-hub-page .futsal-hero {
  height: clamp(17rem, 28vw, 20rem);
  min-height: 0;
  max-height: 20rem;
  border-radius: 12px;
  background: linear-gradient(120deg, #071b29, #0a3445);
}

/* Quiet court markings replace the mismatched photographic backdrop. */
.kg-hub-page { background: radial-gradient(ellipse at top right, rgba(55,198,255,0.07), transparent 55%), #101f2d; }
.kg-hub-page .futsal-hero::after {
  inset: 1.5rem 3% 1.5rem auto;
  width: 44%;
  border: 1px solid rgba(120,220,240,0.14);
  border-radius: 8px;
  background: linear-gradient(90deg, transparent 49.8%, rgba(120,220,240,0.14) 50%, transparent 50.2%),
    radial-gradient(circle at center, transparent 0 3.2rem, rgba(120,220,240,0.14) 3.25rem 3.3rem, transparent 3.35rem);
  pointer-events: none;
}

.kg-hub-page .futsal-hero-copy { width: min(46rem, 100%); }

.kg-hub-hero-lockup {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
}

.kg-hub-hero-crest {
  display: grid;
  flex: 0 0 76px;
  width: 76px;
  height: 76px;
  padding: 0.45rem;
  place-items: center;
  background: rgba(5, 20, 31, 0.72);
  border: 1px solid rgba(177, 229, 255, 0.46);
  border-radius: 30% 30% 43% 43% / 24% 24% 54% 54%;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.24), inset 0 0 0 4px rgba(9, 112, 162, 0.12);
}

.kg-hub-page .kg-hub-hero-crest img {
  position: static;
  inset: auto;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.kg-hub-page .futsal-hero-copy h1 {
  margin: 0.18rem 0 0;
  font-size: clamp(3rem, 6vw, 4rem);
  line-height: 0.94;
}

.kg-hub-page .futsal-hero-copy .kg-hub-hero-line {
  max-width: 35rem;
  margin: 0.85rem 0 0;
  color: #e6edf4;
  font-size: 0.98rem;
  line-height: 1.5;
}

.kg-hub-page .futsal-hero-actions { margin-top: 1rem; }
.kg-hub-page .futsal-hero-actions .button { padding: 0.72rem 1rem; }

.kg-hub-next {
  padding: clamp(1.25rem, 2.8vw, 2rem);
  background: linear-gradient(135deg, rgba(6, 46, 70, 0.88), rgba(5, 25, 39, 0.97)), var(--panel, #071b29);
  border: 1px solid rgba(55, 198, 255, 0.34);
  border-radius: 16px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
}

.kg-hub-next-heading { margin-bottom: 1rem; }
.kg-hub-next-heading h2 { font-size: clamp(1.9rem, 3.8vw, 2.8rem); }
.kg-hub-gateway, .kg-hub-fixture-details, .kg-hub-medal-copy { min-width: 0; }

.kg-hub-gateway-loading,
.kg-hub-gateway-empty p,
.kg-hub-summary-loading,
.kg-hub-summary-message { margin: 0; color: var(--muted, #9fb2c0); }

.kg-hub-summary-loading { padding: 0.8rem 0; font: 700 0.76rem/1.45 "JetBrains Mono", monospace; }
.kg-hub-summary-message { grid-column: 1 / -1; padding: 1rem 0; }
.kg-hub-summary-message.is-error { color: #e5b7bf; }

.kg-hub-fixture-card {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(12rem, 0.8fr) auto;
  align-items: center;
  gap: clamp(1rem, 3vw, 2rem);
  min-width: 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(132, 207, 235, 0.2);
}

.kg-hub-match {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(0.55rem, 2vw, 1.1rem);
  min-width: 0;
}

.kg-hub-team {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  text-align: center;
}

.kg-hub-team strong { min-width: 0; overflow-wrap: anywhere; font-size: clamp(0.9rem, 1.8vw, 1.08rem); line-height: 1.2; }

.kg-hub-fixture-state {
  margin: 0 0 0.4rem;
  color: var(--accent, #35c5f4);
  font: 800 0.68rem/1.35 "JetBrains Mono", monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.kg-hub-team-badge {
  display: inline-grid;
  flex: 0 0 68px;
  width: 68px;
  height: 68px;
  box-sizing: border-box;
  padding: 0.55rem;
  place-items: center;
  color: #f7fcff;
  background: linear-gradient(145deg, #214c74, #0b2238);
  border: 1px solid rgba(174, 228, 255, 0.42);
  border-radius: 34% 34% 46% 46% / 27% 27% 56% 56%;
  box-shadow: inset 0 0 0 4px rgba(0, 0, 0, 0.12);
  font: 800 1rem/1 "JetBrains Mono", monospace;
  letter-spacing: 0.04em;
}

.kg-hub-team-badge.is-violet { background: linear-gradient(145deg, #663f90, #211b48); }
.kg-hub-team-badge.is-ember { background: linear-gradient(145deg, #9a503a, #3a1b1b); }
.kg-hub-team-badge.is-teal { background: linear-gradient(145deg, #23776f, #12333b); }
.kg-hub-team-badge img { display: block; width: 100%; height: 100%; object-fit: contain; }
.kg-hub-versus { color: var(--muted, #9fb2c0); font: 700 0.72rem/1 "JetBrains Mono", monospace; text-transform: uppercase; }
.kg-hub-kickoff { margin: 0; color: #f4fbff; font-size: clamp(1rem, 2vw, 1.25rem); font-weight: 800; }

.kg-hub-tip-action { display: grid; min-width: 10rem; justify-items: end; gap: 0.65rem; }
.kg-hub-tip-status { display: inline-flex; align-items: center; gap: 0.45rem; color: #d9e9f1; font: 700 0.72rem/1.2 "JetBrains Mono", monospace; text-transform: uppercase; }
.kg-hub-tip-status::before { width: 0.55rem; height: 0.55rem; content: ""; background: #8096a2; border-radius: 50%; }
.kg-hub-tip-status.is-open::before { background: #51e5a8; box-shadow: 0 0 0 4px rgba(81, 229, 168, 0.12); }
.kg-hub-tip-status.is-submitted::before { background: #38c8ff; box-shadow: 0 0 0 4px rgba(56, 200, 255, 0.12); }
.kg-hub-tip-status.is-locked::before { background: #ffba62; }

.kg-hub-gateway-empty { display: flex; min-width: 0; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1rem; border-top: 1px solid rgba(132, 207, 235, 0.2); }
.kg-hub-gateway-empty strong { display: block; margin-bottom: 0.25rem; color: #f4fbff; font-size: 1.05rem; }

.kg-hub-page #futsal-latest-list { min-height: 0; }
.kg-hub-page #futsal-latest-list .futsal-latest-card { grid-template-columns: 5.6rem 4.8rem minmax(0, 1fr) 8.5rem; min-height: 4.25rem; padding: 0.7rem 0.8rem; background: rgba(38, 59, 75, 0.36); border-color: rgba(143, 163, 178, 0.1); }
.kg-hub-page #futsal-latest-list :is(small, em) { display: none; }
.kg-hub-page :is(#futsal-latest-list, #kingsguard-history-preview) .futsal-score { color: #eef6fb; }

.kg-hub-text-link { display: inline-flex; min-height: 44px; align-items: center; color: #80ddff; font: 800 0.76rem/1.2 "JetBrains Mono", monospace; text-decoration: none; text-transform: uppercase; }

.kg-hub-page #kingsguard-headline-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); min-height: 0; }
.kg-hub-page #kingsguard-headline-grid article { min-height: 7.3rem; padding: 1rem; background: rgba(38, 59, 75, 0.34); border-color: rgba(143, 163, 178, 0.1); }
.kg-hub-page #kingsguard-headline-grid .stat-label,
.kg-hub-opponent-highlight > span,
.kg-hub-gd-metrics span { color: #7bdcff; font-size: 0.7rem; letter-spacing: 0.04em; }

.kg-hub-record-details { margin-top: 1rem; border-top: 1px solid rgba(132, 207, 235, 0.16); }
.kg-hub-record-details summary { display: flex; align-items: center; padding: 0.75rem 0; color: #8ddfff; cursor: pointer; font: 800 0.76rem/1.2 "JetBrains Mono", monospace; text-transform: uppercase; }
.kg-hub-record-details .futsal-archive-summary { margin-top: 0.25rem; }

.kg-hub-squad { padding: clamp(1.25rem, 2.8vw, 2rem) 0; border-block: 1px solid rgba(132, 207, 235, 0.16); }
.kg-hub-squad-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.65rem; margin: 1rem 0 0; padding: 0; list-style: none; }

.kg-hub-player-tile { display: flex; min-width: 0; min-height: 58px; align-items: center; gap: 0.7rem; padding: 0.55rem 0.7rem; color: #edf8fc; background: rgba(9, 39, 55, 0.5); border-left: 2px solid rgba(55, 198, 255, 0.5); border-radius: 0 8px 8px 0; font-weight: 800; }
.kg-hub-player-link { display: grid; width: 100%; min-width: 0; min-height: 44px; grid-template-columns: 36px minmax(0, 1fr) auto; align-items: center; gap: 0.7rem; color: #edf8fc; text-decoration: none; }
.kg-hub-player-mark { display: grid; flex: 0 0 36px; width: 36px; height: 36px; place-items: center; color: #d9f5ff; background: linear-gradient(145deg, rgba(31, 182, 255, 0.25), rgba(10, 42, 61, 0.88)); border: 1px solid rgba(96, 207, 255, 0.28); border-radius: 50%; font: 800 0.68rem/1 "JetBrains Mono", monospace; }
.kg-hub-player-name { min-width: 0; overflow-wrap: anywhere; }
.kg-hub-player-arrow { color: #75dcff; font-size: 0.9rem; }
.kg-hub-squad-message { grid-column: 1 / -1; }

.kg-hub-action-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.85rem; }
.kg-hub-action-card { display: flex; min-width: 0; min-height: 11rem; align-items: end; justify-content: space-between; gap: 1rem; padding: clamp(1.15rem, 2.4vw, 1.6rem); background: linear-gradient(135deg, rgba(8, 49, 70, 0.82), rgba(6, 25, 39, 0.95)); border: 1px solid rgba(60, 195, 250, 0.24); border-radius: 12px; }
.kg-hub-action-card.is-medal { background: linear-gradient(135deg, rgba(69, 51, 17, 0.44), rgba(7, 27, 40, 0.96)); border-color: rgba(255, 200, 87, 0.24); }
.kg-hub-action-card h3, .kg-hub-medal-copy h3 { margin: 0.2rem 0 0.35rem; color: #f4fbff; font-size: clamp(1.25rem, 2.4vw, 1.65rem); }
.kg-hub-action-card p:not(.eyebrow), .kg-hub-medal-copy p:not(.eyebrow) { margin: 0; color: #aebfca; font-size: 0.86rem; line-height: 1.45; }

.kg-hub-explorer { display: grid; gap: 1rem; }
.kg-hub-gd-preview { display: grid; grid-template-columns: minmax(15rem, 0.72fr) minmax(0, 1.28fr); align-items: stretch; gap: 1rem; min-width: 0; }
.kg-hub-gd-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem; }
.kg-hub-gd-metrics > div { display: grid; min-width: 0; align-content: center; padding: 1rem; background: rgba(38, 59, 75, 0.34); border-left: 2px solid rgba(31, 182, 255, 0.52); }
.kg-hub-gd-metrics strong { display: block; margin: 0.25rem 0; color: #f4fbff; font: 800 clamp(1.65rem, 4vw, 2.4rem)/1 "JetBrains Mono", monospace; }
.kg-hub-gd-metrics small { color: #aebfca; font-size: 0.74rem; font-weight: 700; }

.kg-hub-gd-spark { display: grid; min-width: 0; min-height: 9rem; place-items: center; padding: 0.55rem 0.7rem; overflow: hidden; background: linear-gradient(180deg, rgba(31, 182, 255, 0.08), rgba(6, 22, 34, 0.45)); border: 1px solid rgba(119, 193, 221, 0.14); border-radius: 8px; }
.kg-hub-gd-spark svg { display: block; width: 100%; height: 7rem; }
.kg-hub-gd-spark line { stroke: rgba(223, 245, 255, 0.24); stroke-dasharray: 4 5; }
.kg-hub-gd-spark path { fill: none; stroke: #32c8ff; stroke-width: 2.5; vector-effect: non-scaling-stroke; }
.kg-hub-gd-spark circle { fill: #f4fbff; stroke: #32c8ff; stroke-width: 3; vector-effect: non-scaling-stroke; }
.kg-hub-gd-spark text { fill: #f4fbff; font: 800 12px/1 "JetBrains Mono", monospace; }

.kg-hub-disclosure { min-width: 0; border-top: 1px solid rgba(132, 207, 235, 0.16); }
.kg-hub-disclosure > summary { position: relative; display: grid; min-width: 0; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 0.35rem 1rem; padding: 0.9rem 2rem 0.9rem 0; color: #82ddff; cursor: pointer; list-style: none; }
.kg-hub-disclosure > summary::-webkit-details-marker { display: none; }
.kg-hub-disclosure > summary::after { position: absolute; right: 0.25rem; content: "+"; color: #eef9ff; font-size: 1.35rem; font-weight: 700; }
.kg-hub-disclosure[open] > summary::after { content: "−"; }
.kg-hub-disclosure > summary span { font: 800 0.8rem/1.3 "JetBrains Mono", monospace; letter-spacing: 0.02em; text-transform: uppercase; }
.kg-hub-disclosure > summary small { color: #95aebb; font-size: 0.76rem; font-weight: 700; text-align: right; }
.kg-hub-disclosure-body { display: grid; gap: 1rem; min-width: 0; padding-top: 0.5rem; }

.kg-hub-page .futsal-chart-summary.is-loading { min-height: 7rem; }
.kg-hub-page .futsal-chart-loading { margin: 0; padding: 1rem; color: var(--muted, #9fb2c0); font: 700 0.76rem/1.45 "JetBrains Mono", monospace; }
.kg-hub-page .futsal-chart-stage > .futsal-chart-loading { display: grid; min-height: 18rem; place-items: center; text-align: center; }
.kg-hub-page .futsal-chart-control, .kg-hub-page .futsal-quick-filter { padding: 0.55rem 0.78rem; }
.kg-hub-page .futsal-chart-stage { overflow: hidden; }

.kg-hub-records { display: grid; gap: 0.8rem; margin-top: 0.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(132, 207, 235, 0.16); }
.kg-hub-history-preview { display: grid; gap: 0.45rem; }
.kg-hub-history-preview .futsal-archive-row { background: rgba(38, 59, 75, 0.3); border-color: rgba(143, 163, 178, 0.09); }
.kg-hub-page .futsal-filter-status { min-height: 1.2em; margin: -0.25rem 0 0.7rem; color: #aebdca; font-size: 0.78rem; font-weight: 750; }

.kg-hub-page .opponent-controls { display: flex; flex-wrap: wrap; align-items: end; gap: 0.65rem; }
.kg-hub-page .opponent-controls input { padding: 0.72rem 0.85rem; color: #eef6fb; background: rgba(20, 34, 48, 0.92); border: 1px solid rgba(143, 163, 178, 0.24); border-radius: 8px; font: inherit; }
.kg-hub-page .opponent-controls input:focus-visible { outline: 2px solid #78ddff; outline-offset: 2px; }

.kg-hub-opponent-highlights { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.65rem; }
.kg-hub-opponent-highlight { display: grid; min-width: 0; min-height: 8rem; align-content: center; gap: 0.35rem; padding: 1rem; background: rgba(38, 59, 75, 0.32); border-left: 2px solid rgba(55, 198, 255, 0.44); }
.kg-hub-opponent-highlight > span { font-family: "JetBrains Mono", monospace; font-weight: 800; text-transform: uppercase; }
.kg-hub-opponent-highlight strong { min-width: 0; overflow-wrap: anywhere; color: #eef8fc; font-size: 1.04rem; }
.kg-hub-opponent-highlight small { color: #aebfca; font-size: 0.76rem; font-weight: 700; line-height: 1.4; }

.kg-hub-page .canonical-section-error { margin: 0; padding: 1rem; color: #ffe3e9; background: rgba(80, 22, 34, 0.28); border: 1px solid rgba(255, 120, 145, 0.3); border-radius: 8px; }
.kg-hub-methodology { padding-block: 0.4rem !important; }
.kg-hub-methodology .kg-hub-disclosure { border-top: 0; }
.kg-hub-methodology h3 { margin: 0.75rem 0 0; color: #f3f9fc; font-size: 1.15rem; }

@media (min-width: 901px) {
  .kg-hub-page #futsal-latest-list { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.6rem; }
  .kg-hub-page #futsal-latest-list .futsal-latest-card {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas: "result date" "score score" "opponent opponent";
    align-content: center;
    gap: 0.45rem 0.6rem;
    min-height: 8.4rem;
    padding: 0.9rem;
  }
  .kg-hub-page #futsal-latest-list .result-badge { grid-area: result; justify-self: start; }
  .kg-hub-page #futsal-latest-list .futsal-score { grid-area: score; font-size: 1.55rem; }
  .kg-hub-page #futsal-latest-list .futsal-opponent-name { grid-area: opponent; white-space: normal; }
  .kg-hub-page #futsal-latest-list time { grid-area: date; justify-self: end; text-align: right; }
}

@media (max-width: 900px) {
  .kg-hub-fixture-card { grid-template-columns: minmax(0, 1fr) minmax(11rem, 0.72fr); }
  .kg-hub-tip-action { grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr) auto; align-items: center; justify-items: start; min-width: 0; }
  .kg-hub-tip-action .button { justify-self: end; }
  .kg-hub-action-card { align-items: stretch; flex-direction: column; }
  .kg-hub-gd-preview { grid-template-columns: minmax(0, 1fr); }
  .kg-hub-opponent-highlights { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .kg-hub-page .section-nav { flex-wrap: nowrap; justify-content: flex-start; gap: 0.15rem; padding-inline: 0.5rem; overflow-x: auto; scrollbar-width: none; }
  .kg-hub-page .section-nav::-webkit-scrollbar { display: none; }
  .kg-hub-page .section-nav a { flex: 0 0 auto; padding-inline: 0.7rem; font-size: 0.75rem; }
  .kg-hub-page main > .section:not(.futsal-hero) { width: min(1180px, calc(100% - 1rem)); margin-top: 2rem; }
  .kg-hub-page .futsal-panel { padding: 1rem; }
  .kg-hub-page .section-heading { align-items: flex-start; }
  .kg-hub-page .section-heading h2 { font-size: clamp(1.8rem, 9vw, 2.25rem); }
  .kg-hub-page .futsal-hero { height: 16.25rem; min-height: 16.25rem; max-height: 16.25rem; padding: 1rem; }
  .kg-hub-hero-lockup { align-items: end; gap: 0.75rem; }
  .kg-hub-hero-crest { flex-basis: 54px; width: 54px; height: 54px; padding: 0.35rem; }
  .kg-hub-page .futsal-hero-copy h1 { font-size: clamp(2.25rem, 11.5vw, 2.75rem); }
  .kg-hub-page .futsal-hero-copy .kg-hub-hero-line { max-width: 18rem; margin-top: 0.65rem; font-size: 0.88rem; }
  .kg-hub-page .futsal-hero-actions { margin-top: 0.75rem; }
  .kg-hub-next { padding: 1rem; }
  .kg-hub-next-heading .event-chip { display: none; }
  .kg-hub-fixture-card { grid-template-columns: minmax(0, 1fr); gap: 0.8rem; }
  .kg-hub-match { gap: 0.45rem; }
  .kg-hub-team { gap: 0.4rem; }
  .kg-hub-team-badge { flex-basis: 52px; width: 52px; height: 52px; padding: 0.42rem; font-size: 0.78rem; }
  .kg-hub-fixture-details { text-align: center; }
  .kg-hub-tip-action { grid-column: auto; grid-template-columns: minmax(0, 1fr); justify-items: stretch; }
  .kg-hub-tip-action .button { width: 100%; justify-self: stretch; }
  .kg-hub-tip-status { justify-self: center; }
  .kg-hub-gateway-empty { align-items: stretch; flex-direction: column; }
  .kg-hub-gateway-empty .button { width: 100%; }

  .kg-hub-page #futsal-latest-list .futsal-latest-card { grid-template-columns: 3.7rem 3.6rem minmax(0, 1fr); grid-template-areas: "result score opponent" "result score date"; gap: 0.25rem 0.55rem; min-height: 5.5rem; padding: 0.7rem; }
  .kg-hub-page #futsal-latest-list .result-badge { grid-area: result; }
  .kg-hub-page #futsal-latest-list .futsal-score { grid-area: score; font-size: 1.18rem; }
  .kg-hub-page #futsal-latest-list .futsal-opponent-name { grid-area: opponent; white-space: normal; }
  .kg-hub-page #futsal-latest-list time { grid-area: date; justify-self: start; text-align: left; }

  .kg-hub-page #kingsguard-headline-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kg-hub-page #kingsguard-headline-grid article { min-height: 7.5rem; padding: 0.8rem; }
  .kg-hub-page #kingsguard-headline-grid strong { font-size: clamp(1.2rem, 7vw, 1.6rem); }
  .kg-hub-squad-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem; }
  .kg-hub-player-tile { min-height: 56px; gap: 0.5rem; padding: 0.45rem 0.55rem; font-size: 0.88rem; }
  .kg-hub-player-link { grid-template-columns: 32px minmax(0, 1fr) auto; gap: 0.5rem; }
  .kg-hub-player-mark { flex-basis: 32px; width: 32px; height: 32px; font-size: 0.62rem; }
  .kg-hub-action-grid { grid-template-columns: minmax(0, 1fr); }
  .kg-hub-action-card { min-height: 0; padding: 1rem; }
  .kg-hub-action-card .button { width: 100%; }
  .kg-hub-gd-metrics { gap: 0.45rem; }
  .kg-hub-gd-metrics > div { padding: 0.75rem; }
  .kg-hub-gd-metrics strong { font-size: 1.55rem; }
  .kg-hub-gd-spark { min-height: 7.5rem; }
  .kg-hub-gd-spark svg { height: 6rem; }
  .kg-hub-disclosure > summary { grid-template-columns: minmax(0, 1fr); padding-block: 0.8rem; }
  .kg-hub-disclosure > summary small { max-width: 17rem; text-align: left; }
  .kg-hub-page .futsal-chart-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kg-hub-page .opponent-controls, .kg-hub-page .opponent-controls label, .kg-hub-page .opponent-controls input, .kg-hub-page .opponent-controls select { width: 100%; }
  .kg-hub-opponent-highlights { gap: 0.45rem; }
  .kg-hub-opponent-highlight { min-height: 7.5rem; padding: 0.75rem; }
  .kg-hub-opponent-highlight strong { font-size: 0.92rem; }
  .kg-hub-history-preview .futsal-archive-row { min-height: 5.75rem; padding: 0.7rem; }
  .kg-hub-methodology { padding-inline: 1rem !important; }
}

/* Step 11J.2: a compact next-match gateway, not a second hero. */
.kg-hub-next {
  padding: clamp(0.9rem, 2vw, 1.25rem);
}

.kg-hub-next-heading { margin-bottom: 0.65rem; }
.kg-hub-next-heading h2 { font-size: clamp(1.55rem, 3vw, 2rem); }

.kg-hub-fixture-card {
  gap: clamp(0.75rem, 2vw, 1.25rem);
  padding-top: 0.65rem;
}

.kg-hub-team { gap: 0.35rem; }
.kg-hub-team-badge {
  flex-basis: 64px;
  width: 64px;
  height: 64px;
  padding: 0.45rem;
}

.kg-hub-team-badge.has-real-logo {
  padding: 0.15rem;
  background: rgba(5, 24, 38, 0.32);
  border-color: rgba(174, 228, 255, 0.16);
  border-radius: var(--pl4ne-radius-control, 8px);
  box-shadow: none;
}

.kg-hub-tip-action { gap: 0.4rem; }

@media (max-width: 620px) {
  .kg-hub-next { padding: 0.8rem; }
  .kg-hub-next-heading { margin-bottom: 0.5rem; }
  .kg-hub-fixture-card { grid-template-columns: minmax(0, 0.85fr) auto; gap: 0.55rem; padding-top: 0.55rem; }
  .kg-hub-match { grid-column: 1 / -1; }
  .kg-hub-team { gap: 0.25rem; }
  .kg-hub-team-badge { flex-basis: 58px; width: 58px; height: 58px; padding: 0.35rem; }
  .kg-hub-team-badge.has-real-logo { padding: 0.1rem; }
  .kg-hub-fixture-details { display: grid; align-content: center; justify-content: start; gap: 0.2rem; text-align: left; }
  .kg-hub-fixture-state { margin: 0; }
  .kg-hub-kickoff { font-size: 0.95rem; }
  .kg-hub-tip-action { grid-column: 2; grid-template-columns: minmax(0, 1fr); align-items: center; justify-items: end; }
  .kg-hub-tip-action .button { width: auto; justify-self: end; }
  .kg-hub-tip-status { justify-self: end; }
}

@media (max-width: 340px) {
  .kg-hub-page .futsal-hero-copy h1 { font-size: 2.15rem; }
  .kg-hub-page #futsal-latest-list .futsal-latest-card { grid-template-columns: 3.35rem 3.25rem minmax(0, 1fr); gap-inline: 0.4rem; }
  .kg-hub-page #futsal-latest-list .result-badge { padding-inline: 0.3rem; font-size: 0.6rem; }
  .kg-hub-player-tile { font-size: 0.82rem; }
}

@media (prefers-reduced-motion: reduce) {
  .kg-hub-page :is(.match-row, .futsal-chart-control, .futsal-quick-filter) { transition: none; }
}
