/* Home summaries share the club's glass material and a compact sports hierarchy. */
#site[data-section="home"] {
  --home-ink: #132c4b;
  --home-secondary: #51677f;
  --home-line: #375c8224;
}
#site[data-section="home"] .home-overview { display: block; }
#site[data-section="home"] .home-overview .dashboard {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  align-items: stretch;
  gap: 20px;
  margin: 20px 0 0;
}
#site[data-section="home"] :is(.home-panel, .home-overview .dashboard .home-panel) {
  min-width: 0;
  padding: 28px;
  border-radius: 24px;
  border: 1px solid #ffffffed;
  background: linear-gradient(145deg, #ffffffec, #f0f6fcd9);
  box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 #aac2d326, 0 8px 24px -16px #223c6266;
  color: var(--home-ink);
}
#site[data-section="home"] :is(.standings-summary, .home-gallery) { margin: 20px 0 0; }
.home-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-bottom: 24px;
}
#site[data-section="home"] .home-panel .eyebrow {
  font: 500 12px/1.4 Onest, sans-serif;
  letter-spacing: 0;
  text-transform: none;
  color: var(--home-secondary);
}
#site[data-section="home"] .home-panel :is(h2, h3) {
  margin: 4px 0 0;
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: 0;
  color: var(--home-ink);
}
#site[data-section="home"] .home-panel-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid #a7bfd65e;
  border-radius: 12px;
  color: #214f87;
  background: #ffffff70;
  font-size: 13px;
  font-weight: 500;
  text-align: center;
}
#site[data-section="home"] .home-panel-action:hover { background: #fff; border-color: #779dbe; }
#site[data-section="home"] .home-panel a:focus-visible {
  outline: 2px solid #245dc1;
  outline-offset: 4px;
}
#site[data-section="home"] .result-summary { display: flex; flex-direction: column; }
#site[data-section="home"] .result-match {
  display: block;
  border-radius: 16px;
  color: inherit;
  text-decoration: none;
}
#site[data-section="home"] .result-scoreline {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  max-width: 480px;
  margin: 0 auto;
  padding: 0 0 16px;
}
.result-team { display: grid; justify-items: center; gap: 12px; min-width: 0; text-align: center; }
.result-team-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid #fff;
  border-radius: 50%;
  background: linear-gradient(145deg, #ffffff, #dae8f4);
  box-shadow: inset 0 1px 0 #fff, inset 0 -2px 4px #6f94b530, 0 4px 12px #1e426111;
  color: #244e7b;
  font-size: 18px;
  font-weight: 600;
}
.result-team-mark img { display: block; width: 36px; height: 40px; }
.result-team-name { color: var(--home-ink); font-size: 14px; font-weight: 500; line-height: 1.4; overflow-wrap: anywhere; }
#site[data-section="home"] .result-scoreline .score {
  margin: 0;
  color: #2057b8;
  font-size: 60px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: .02em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.result-score-label { display: block; margin-top: 8px; color: var(--home-secondary); font: 400 12px/1.4 Onest, sans-serif; text-align: center; }
#site[data-section="home"] .result-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px 12px;
  margin: 0 0 20px;
  color: var(--home-secondary);
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}
.result-meta span + span { padding-left: 12px; border-left: 1px solid #8ca7be80; }
#site[data-section="home"] .result-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  padding: 10px 0;
  border-top: 1px solid var(--home-line);
  color: #24578e;
  font-size: 13px;
  font-weight: 500;
}
.result-match:hover .result-link { color: #174bb1; }
.home-panel-foot { margin-top: auto; padding-top: 16px; }
#site[data-section="home"] .home-panel-foot :is(.demo-note, .muted) {
  margin: 0;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #c3ad7838;
  background: #f9f4e8b3;
  color: #755a29;
  font-size: 12px;
  line-height: 1.5;
}
#site[data-section="home"] .home-panel-foot .pill { font-size: 12px; color: #395b77; background: #e5eff666; border-color: #bbcedb; }
#site[data-section="home"] .season-summary { display: flex; flex-direction: column; }
#site[data-section="home"] .season-summary .metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: auto 0;
  padding: 24px 0 28px;
}
#site[data-section="home"] .season-summary .metrics > div {
  padding: 4px 12px;
  border-radius: 0;
  background: none;
  box-shadow: none;
  text-align: center;
}
#site[data-section="home"] .season-summary .metrics > div + div { border-left: 1px solid var(--home-line); }
#site[data-section="home"] .season-summary .metrics strong {
  font-family: "Fira Sans Extra Condensed", sans-serif;
  font-size: 56px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}
#site[data-section="home"] .season-summary .metrics > div:nth-child(2) strong { color: #2057b8; }
#site[data-section="home"] .season-summary .metrics small { margin-top: 12px; color: var(--home-secondary); font-size: 13px; }
#site[data-section="home"] .home-panel-caption {
  margin: 0;
  padding-top: 16px;
  border-top: 1px solid var(--home-line);
  color: var(--home-secondary);
  font-size: 12px;
  line-height: 1.6;
}
#site[data-section="home"] .league-table-heading { margin-bottom: 18px; }
.league-table-meta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 12px; }
.league-group-size { color: var(--home-secondary); font-size: 13px; }
.league-own-position { display: inline-flex; align-items: center; gap: 7px; padding: 7px 11px; border: 1px solid #b9d4ef; border-radius: 10px; background: #e8f2ff; color: #245a95; font-size: 12px; font-weight: 700; }
.league-own-position img { object-fit: contain; }
.league-table-guide { margin: 0 0 18px; color: var(--home-secondary); font-size: 12px; line-height: 1.7; }
.league-scroll-hint { display: none; }
#site[data-section="home"] .league-table-scroll {
  --league-rank-width: 44px;
  --league-team-width: 210px;
  border: 1px solid #cddded;
  border-radius: 16px;
  background: #f7fbff;
  scrollbar-width: thin;
  scrollbar-color: #8eaed0 #e8f0f8;
  scroll-padding-inline-start: calc(var(--league-rank-width) + var(--league-team-width));
}
#site[data-section="home"] .league-table-scroll:focus-visible { outline: 2px solid #387cbd; outline-offset: 4px; }
#site[data-section="home"] .league-table { min-width: 700px; table-layout: fixed; border-collapse: separate; border-spacing: 0; font-size: 12px; }
#site[data-section="home"] .league-matrix { min-width: 1060px; }
#site[data-section="home"] .league-table :is(th, td) { height: 52px; padding: 5px 7px; border-bottom: 1px solid #dce7f1; text-align: center; }
#site[data-section="home"] .league-table thead { color: #526b84; background: #eaf1f9; }
#site[data-section="home"] .league-table thead th { font-weight: 600; }
#site[data-section="home"] .league-table .league-column-groups th { height: 42px; font-size: 11px; }
#site[data-section="home"] .league-table abbr { text-decoration: none; cursor: help; }
#site[data-section="home"] .league-table tbody tr { --league-row: #f7fbff; background: var(--league-row); }
#site[data-section="home"] .league-table tbody tr:nth-child(even) { --league-row: #f0f6fc; }
#site[data-section="home"] .league-table tbody tr:is(:hover, :focus-within) { --league-row: #e8f2fc; }
#site[data-section="home"] .league-table tbody tr:last-child > * { border-bottom: 0; }
#site[data-section="home"] .league-table .league-place-col {
  position: sticky; left: 0; z-index: 2; width: var(--league-rank-width); min-width: var(--league-rank-width); padding-inline: 6px; background: var(--league-row, #eaf1f9);
}
#site[data-section="home"] .league-table .league-team-col {
  position: sticky; left: var(--league-rank-width); z-index: 2;
  width: var(--league-team-width); min-width: var(--league-team-width); max-width: var(--league-team-width);
  padding: 0 12px; text-align: left; color: var(--home-ink); background: var(--league-row, #eaf1f9);
  border-right: 1px solid #cddded; box-shadow: 5px 0 8px -7px #3a628b;
}
#site[data-section="home"] .league-table thead :is(.league-place-col, .league-team-col) { z-index: 3; }
.league-team-link { display: flex; align-items: center; justify-content: space-between; gap: 6px; min-height: 50px; padding-block: 8px; line-height: 1.45; }
.league-team-link span { min-width: 0; overflow-wrap: anywhere; }
.league-team-link .external-arrow { flex: 0 0 13px; width: 13px; height: 13px; color: #6e91b2; }
#site[data-section="home"] .league-table a { text-decoration: none; border-radius: 6px; }
#site[data-section="home"] .league-table a:hover { color: #175c9d; text-decoration: underline; text-underline-offset: 3px; }
#site[data-section="home"] .league-table a:focus-visible { outline: 2px solid #387cbd; outline-offset: -2px; }
#site[data-section="home"] .league-table .league-own-team { --league-row: #e1edfc; color: #194e85; }
#site[data-section="home"] .league-table .league-own-team:is(:hover, :focus-within) { --league-row: #d7e8fb; }
#site[data-section="home"] .league-own-team .league-team-col { color: #174d86; font-weight: 800; box-shadow: inset 3px 0 #3e80bf, 5px 0 8px -7px #3a628b; }
#site[data-section="home"] .league-own-team .league-rank { background: #2c659e; color: #fff; }
#site[data-section="home"] .league-rank { min-width: 27px; height: 27px; background: #e6eef7; color: #54708c; border-radius: 8px; font-size: 11px; }
#site[data-section="home"] .league-table .league-opponent { min-width: 48px; padding: 3px; }
.league-opponent-link { display: inline-grid; place-items: center; width: 44px; min-height: 44px; font-variant-numeric: tabular-nums; }
.league-opponent--own .league-opponent-link { color: #17558f; background: #d5e7fb; font-weight: 800; }
#site[data-section="home"] .league-table .league-game-cell { min-width: 48px; padding: 4px; }
.league-game { display: inline-grid; place-items: center; min-width: 36px; height: 29px; padding-inline: 3px; border-radius: 7px; font-size: 12px; font-weight: 650; white-space: nowrap; }
.league-game--win { background: #dcebf9; color: #225f99; box-shadow: inset 0 0 0 1px #c2daee; }
.league-game--loss { color: #66788a; background: #e8edf3; }
.league-game--pending { color: #91a3b5; font-weight: 400; }
.league-game--draw { color: #506c87; background: #e4edf6; }
#site[data-section="home"] .league-table .league-game-self { color: #9eb6cf; background-image: repeating-linear-gradient(135deg, transparent, transparent 5px, #a9bfd216 5px, #a9bfd216 6px); font-size: 18px; }
#site[data-section="home"] .league-table .league-stat { min-width: 48px; color: #425d77; }
#site[data-section="home"] .league-table .league-stat-start { border-left: 1px solid #c4d7e9; }
#site[data-section="home"] .league-table .league-points { font-size: 15px; font-weight: 800; color: #234c76; background: #a9c9e21c; }
#site[data-section="home"] .league-table-updated { margin-top: 12px; color: var(--home-secondary); font-size: 11px; }
.league-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 1100px) { .league-scroll-hint { display: block; margin-top: 5px; color: #426d95; } }
@media (max-width: 650px) {
  #site[data-section="home"] .league-table-scroll { --league-rank-width: 34px; --league-team-width: 142px; border-radius: 12px; }
  #site[data-section="home"] .league-matrix { min-width: 980px; }
  #site[data-section="home"] .league-table .league-team-col { padding-inline: 8px; }
  .league-team-link { font-size: 11px; }
  .league-team-link .external-arrow { flex-basis: 11px; width: 11px; height: 11px; }
  #site[data-section="home"] .league-column-groups th[colspan] { text-align: left; padding-inline: 12px; }
  .league-table-guide { font-size: 11px; }
  .league-own-position { font-size: 11px; padding: 6px 8px; }
}
@media (forced-colors: active) {
  #site[data-section="home"] .league-table :is(th, td) { background: Canvas; color: CanvasText; border-color: CanvasText; }
  #site[data-section="home"] .league-table a { color: LinkText; }
  #site[data-section="home"] .league-table .league-own-team > * { border-block: 2px solid Highlight; }
  .league-game, .league-own-position { border: 1px solid CanvasText; }
}
#site[data-section="home"] :is(#league-standings-table > .muted, .home-gallery .empty, .home-result-empty) {
  display: grid;
  place-content: center;
  min-height: 132px;
  margin: 0;
  padding: 24px;
  border: 1px dashed #a8bdce;
  border-radius: 16px;
  background: #edf4fa73;
  color: var(--home-secondary);
  font-size: 14px;
  line-height: 1.7;
  text-align: center;
}
#site[data-section="home"] .home-result-empty { flex: 1; }
#site[data-section="home"] .home-gallery .section-head { margin: 0 0 24px; }
#site[data-section="home"] .home-gallery .photos { gap: 16px; }
#site[data-section="home"] .home-gallery .photo { border-radius: 16px; }
#site[data-section="home"] .league-note { margin: 24px 4px 0; color: var(--home-secondary); font-size: 12px; line-height: 1.7; }
@media (max-width: 900px) {
  #site[data-section="home"] .home-overview .dashboard { grid-template-columns: minmax(0, 1fr); }
  #site[data-section="home"] .season-summary .metrics { padding: 12px 0 28px; }
}
@media (max-width: 650px) {
  #site[data-section="home"] :is(.home-panel, .home-overview .dashboard .home-panel) { padding: 16px; border-radius: 20px; }
  #site[data-section="home"] .home-panel :is(h2, h3) { font-size: 26px; }
  .home-panel-head { margin-bottom: 16px; }
  #site[data-section="home"] .result-scoreline { gap: 12px; }
  #site[data-section="home"] .result-scoreline .score { font-size: 48px; }
  .result-team-name { font-size: 12px; }
  .result-team-mark { width: 44px; height: 44px; }
  #site[data-section="home"] .season-summary .metrics strong { font-size: 48px; }
  #site[data-section="home"] .season-summary .metrics > div { padding: 4px 8px; }
  #site[data-section="home"] .season-summary .metrics small { font-size: 12px; }
  #site[data-section="home"] .home-gallery .section-head { align-items: flex-start; }
}
@media (prefers-contrast: more) {
  #site[data-section="home"] .home-panel { border-color: #627f99; background: #fff; }
}
@media (forced-colors: active) {
  #site[data-section="home"] :is(.home-panel, .home-overview .dashboard .home-panel, .result-team-mark, .home-panel-action) {
    background: Canvas; color: CanvasText; border: 1px solid ButtonText; box-shadow: none;
  }
  #site[data-section="home"] .home-panel :is(h2, h3, .eyebrow, .score, .result-team-name, .result-score-label, .result-meta, .result-link, .home-panel-caption, .metrics strong, .metrics small) { color: CanvasText; }
}
