.l3-sport-hub {
  width: min(calc(100% - 2rem), var(--l3-content-width, 1240px));
  margin: 1.4rem auto;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1rem;
}

.l3-own-table {
  overflow-x: auto;
}
.l3-own-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
}
.l3-own-table th,
.l3-own-table td {
  padding: 0.65rem 0.55rem;
  border-bottom: 1px solid #e2e5e7;
  text-align: center;
  white-space: nowrap;
}
.l3-own-table th {
  background: #f3f5f6;
  color: #59636c;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.l3-own-table th:nth-child(2),
.l3-own-table td:nth-child(2) {
  text-align: left;
}
.l3-own-table td:nth-child(2) > span,
.l3-own-table td:nth-child(2) > a {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.l3-sport-club-link {
  color: inherit;
  text-decoration: none;
}
.l3-sport-club-link:hover b {
  color: #657000;
  text-decoration: underline;
}
.l3-own-table > small {
  display: block;
  padding: 0.65rem 0.4rem 0;
  color: #737d86;
  text-align: right;
}
.l3-sport-empty {
  display: grid;
  gap: 0.3rem;
  place-items: center;
  padding: 2.6rem 1rem;
  color: #66717b;
  text-align: center;
}
.l3-sport-empty strong {
  color: #11171d;
}
.l3-sport-match.is-corrected {
  box-shadow: inset 4px 0 #dba617;
}
.l3-sport-module {
  grid-column: span 6;
  background: #fff;
  color: #11171d;
  border: 1px solid #dde1e4;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}
.l3-sport-module--table {
  grid-column: span 12;
}
.l3-sport-module__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #0b0e11;
  color: #fff;
  border-left: 5px solid #e4f202;
  padding: 1rem 1.1rem;
}
.l3-sport-module__head small {
  color: #e4f202;
  font-weight: 900;
  letter-spacing: 0.12em;
}
.l3-sport-module__head h2 {
  color: #fff;
  margin: 0.1rem 0 0;
  font-size: 1.25rem;
}
.l3-sport-module__head > span {
  font-size: 0.72rem;
  font-weight: 900;
  color: #e4f202;
  border: 1px solid #59616a;
  padding: 0.35rem 0.5rem;
}
.l3-sport-module__body {
  padding: 0.85rem;
}
.l3-own-table tbody tr.has-competition-zone td {
  background: var(--l3-zone-background);
}
.l3-own-table tbody tr.has-competition-zone td:first-child {
  box-shadow: inset 4px 0 var(--l3-zone-color);
  color: var(--l3-zone-color);
  font-weight: 900;
}
.l3-own-table tbody tr.is-direct-promotion {
  --l3-zone-color: #168553;
  --l3-zone-background: #eff9f4;
}
.l3-own-table tbody tr.is-promotion-playoff {
  --l3-zone-color: #bd7b00;
  --l3-zone-background: #fff8e8;
}
.l3-own-table tbody tr.is-relegation {
  --l3-zone-color: #c5323b;
  --l3-zone-background: #fff1f2;
}
.l3-sport-table-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 1rem;
  margin: 0.7rem 0.4rem 0;
  color: #5d6670;
  font-size: 0.78rem;
}
.l3-sport-table-legend span {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.l3-sport-table-legend i {
  width: 10px;
  height: 10px;
  flex: 0 0 10px;
  border-radius: 50%;
  background: #168553;
}
.l3-sport-table-legend .is-promotion-playoff i {
  background: #bd7b00;
}
.l3-sport-table-legend .is-relegation i {
  background: #c5323b;
}
.l3-sport-match {
  display: block;
  color: inherit;
  text-decoration: none;
  padding: 0.8rem 0.65rem;
  border-bottom: 1px solid #e4e7e9;
  transition: 0.18s;
}
.l3-sport-match:last-child {
  border-bottom: 0;
}
.l3-sport-match:hover {
  background: #f6f8f9;
  color: inherit;
}
.l3-sport-match time {
  display: block;
  color: #68727c;
  font-weight: 750;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  margin-bottom: 0.55rem;
}
.l3-sport-match > div,
.l3-sport-match > .l3-sport-match__teams {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 52px minmax(0, 1fr);
  gap: 0.55rem;
  align-items: center;
}
.l3-sport-match > div > span,
.l3-sport-match > .l3-sport-match__teams > span,
.l3-sport-match > .l3-sport-match__teams > a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}
.l3-sport-match > div > span:nth-child(3),
.l3-sport-match > .l3-sport-match__teams > span:nth-child(3),
.l3-sport-match > .l3-sport-match__teams > a:nth-child(3) {
  justify-content: flex-end;
  text-align: right;
}
.l3-sport-match > div > span b,
.l3-sport-match > .l3-sport-match__teams > span b,
.l3-sport-match > .l3-sport-match__teams > a b {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.l3-sport-match > div > strong,
.l3-sport-match > .l3-sport-match__teams > strong {
  text-align: center;
  background: #11171d;
  color: #fff;
  font-size: 1rem;
  padding: 0.4rem 0.25rem;
}
.l3-sport-match > small {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  color: #7a838c;
  margin-top: 0.5rem;
  font-size: 0.7rem;
}
.l3-sport-match > small a {
  flex: 0 0 auto;
  color: #596500;
  font-weight: 850;
}
.l3-sport-crest {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: grid;
  place-items: center;
  background: linear-gradient(
    135deg,
    var(--l3-club-primary, #20262c),
    var(--l3-club-secondary, #e4f202)
  );
  border-radius: 5px;
}
.l3-sport-crest img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}
.l3-sport-crest b {
  font-size: 0.65rem;
  color: #fff;
  text-shadow: 0 1px 3px #000;
}
.l3-sport-hide-desktop {
  display: none !important;
}
@media (min-width: 783px) and (max-width: 1024px) {
  .l3-sport-hide-desktop {
    display: block !important;
  }
  .l3-sport-hide-tablet {
    display: none !important;
  }
  .l3-sport-module {
    grid-column: span 12;
  }
}
@media (max-width: 782px) {
  .l3-public-sport {
    margin-bottom: 2rem;
    padding-bottom: 0.8rem;
    border-radius: 0 0 10px 10px;
  }
  .l3-sport-hide-desktop {
    display: block !important;
  }
  .l3-sport-hide-mobile {
    display: none !important;
  }
  .l3-sport-hub {
    width: min(calc(100% - 1.25rem), var(--l3-content-width, 1240px));
    grid-template-columns: 1fr;
  }
  .l3-sport-module,
  .l3-sport-module--table {
    grid-column: 1;
  }
  .l3-sport-module__head {
    padding: 0.8rem;
  }
  .l3-sport-module__head h2 {
    font-size: 1rem;
  }
  .l3-sport-module__head > span {
    font-size: 0.62rem;
  }
  .l3-sport-module__body {
    padding: 0.4rem;
  }
  .l3-sport-match {
    padding: 0.7rem 0.45rem;
  }
  .l3-sport-match > div,
  .l3-sport-match > .l3-sport-match__teams {
    grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1fr);
    gap: 0.3rem;
  }
  .l3-sport-match > div > span,
  .l3-sport-match > .l3-sport-match__teams > span,
  .l3-sport-match > .l3-sport-match__teams > a {
    display: grid;
    justify-items: start;
    gap: 0.2rem;
  }
  .l3-sport-match > div > span:nth-child(3),
  .l3-sport-match > .l3-sport-match__teams > span:nth-child(3),
  .l3-sport-match > .l3-sport-match__teams > a:nth-child(3) {
    justify-items: end;
  }
  .l3-sport-match > div > span b,
  .l3-sport-match > .l3-sport-match__teams > span b,
  .l3-sport-match > .l3-sport-match__teams > a b {
    font-size: 0.78rem;
    max-width: 105px;
  }
  .l3-sport-crest {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
  }
  .l3-sport-crest img {
    width: 25px;
    height: 25px;
  }
}

/* Public Spielplan & Tabelle page. */
.l3-public-sport {
  --l3-public-bg: #070a0d;
  --l3-public-surface: #0d1217;
  --l3-public-surface-strong: #111820;
  --l3-public-surface-soft: #151d25;
  --l3-public-border: rgba(255, 255, 255, 0.09);
  --l3-public-border-strong: rgba(255, 255, 255, 0.16);
  --l3-public-text: #f5f7f8;
  --l3-public-muted: #9aa5ae;
  width: 100%;
  margin: 0 auto 3rem;
  padding-bottom: clamp(1rem, 2.5vw, 2rem);
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 22%, rgba(228, 242, 2, 0.07), transparent 28rem),
    var(--l3-public-bg);
  color: var(--l3-public-text);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.2);
}
.l3-public-sport__hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: end;
  padding: clamp(1.4rem, 3vw, 2.4rem);
  background: radial-gradient(circle at 85% 15%, rgba(228, 242, 2, 0.2), transparent 26%), #0b0e11;
  color: #fff;
  border-left: 6px solid #e4f202;
}
.l3-public-sport__hero span,
.l3-public-sport__section-head small {
  color: #c9d600;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}
.l3-public-sport__hero h2 {
  margin: 0.35rem 0 0.6rem;
  color: #fff;
  font-size: clamp(1.45rem, 3vw, 2.25rem);
}
.l3-public-sport__hero p {
  max-width: 720px;
  margin: 0;
  color: #cbd1d6;
}
.l3-public-sport__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(82px, 1fr));
  border: 1px solid #3b4248;
}
.l3-public-sport__facts span {
  display: grid;
  gap: 0.1rem;
  min-width: 88px;
  padding: 0.75rem;
  color: #aeb6bd;
  text-align: center;
  letter-spacing: 0;
  text-transform: none;
}
.l3-public-sport__facts span + span {
  border-left: 1px solid #3b4248;
}
.l3-public-sport__facts b {
  color: #fff;
  font-size: 1.15rem;
}
.l3-public-sport__tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: #0a0f13;
  border: 1px solid var(--l3-public-border);
  border-top: 0;
}
.l3-public-sport__tabs a {
  padding: 0.9rem 0.7rem;
  color: #aeb7bf;
  font-size: 0.82rem;
  font-weight: 850;
  text-align: center;
  text-decoration: none;
  border-bottom: 4px solid transparent;
}
.l3-public-sport__tabs a + a {
  border-left: 1px solid var(--l3-public-border);
}
.l3-public-sport__tabs a:hover,
.l3-public-sport__tabs a.is-active {
  color: #fff;
  background: linear-gradient(180deg, rgba(228, 242, 2, 0.08), rgba(228, 242, 2, 0.025));
  border-bottom-color: #e4f202;
}
.l3-public-sport__content {
  position: relative;
  padding: 1.5rem clamp(0.85rem, 2vw, 1.5rem) 0;
  transition: opacity 0.16s ease;
}
.l3-public-sport.is-loading .l3-public-sport__content {
  opacity: 0.42;
  pointer-events: none;
}
.l3-public-sport.is-loading .l3-public-sport__tabs {
  cursor: progress;
}
.l3-public-sport__filter-panel {
  margin-bottom: 1.5rem;
  overflow: hidden;
  background: var(--l3-public-surface);
  border: 1px solid var(--l3-public-border);
  border-radius: 8px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.14);
}
.l3-public-sport__filter-panel > summary {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  min-height: 50px;
  padding: 0.75rem 1rem;
  cursor: pointer;
  list-style: none;
  color: var(--l3-public-text);
}
.l3-public-sport__filter-panel > summary::-webkit-details-marker {
  display: none;
}
.l3-public-sport__filter-panel > summary span {
  font-weight: 900;
}
.l3-public-sport__filter-panel > summary b {
  color: var(--l3-public-muted);
  font-size: 0.76rem;
  text-align: right;
}
.l3-public-sport__filter-panel[open] > summary {
  background: var(--l3-public-surface-strong);
  border-bottom: 1px solid var(--l3-public-border);
}
.l3-public-sport__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: end;
  margin: 0;
  padding: 1rem;
  background: #0a0f13;
}
.l3-public-sport__filters label {
  display: grid;
  gap: 0.35rem;
  color: #aeb8c0;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.l3-public-sport__filters select,
.l3-public-sport__filters button {
  min-height: 43px;
  border: 1px solid var(--l3-public-border-strong);
  background: var(--l3-public-surface-strong);
  color: var(--l3-public-text);
  padding: 0 0.8rem;
  font: inherit;
  font-size: 0.88rem;
  text-transform: none;
  letter-spacing: 0;
}
.l3-public-sport__filters button {
  cursor: pointer;
  border-color: #e4f202;
  background: #e4f202;
  color: #0b0e11;
  font-weight: 850;
}
.l3-public-sport__filters button:hover {
  border-color: #f1ff42;
  background: #f1ff42;
}
.l3-public-sport__filters a {
  align-self: center;
  color: #d5e000;
  font-size: 0.82rem;
}
.l3-public-sport__section-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
  margin-bottom: 0.8rem;
}
.l3-public-sport__section-head h2 {
  margin: 0.1rem 0 0;
  color: #fff;
  font-size: 1.45rem;
}
.l3-public-sport__section-head > span {
  color: #aab2b9;
  font-size: 0.78rem;
  font-weight: 800;
}
.l3-public-matchday {
  margin-bottom: 0.75rem;
  overflow: hidden;
  background: var(--l3-public-surface);
  border: 1px solid var(--l3-public-border);
  border-radius: 8px;
  box-shadow: 0 9px 24px rgba(0, 0, 0, 0.15);
}
.l3-public-matchday summary {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) auto auto;
  gap: 1rem;
  align-items: center;
  cursor: pointer;
  padding: 0.9rem 1rem;
  list-style: none;
  border-left: 4px solid #e4f202;
}
.l3-public-matchday summary::-webkit-details-marker {
  display: none;
}
.l3-public-matchday summary span {
  font-weight: 900;
}
.l3-public-matchday summary b,
.l3-public-matchday summary em {
  color: var(--l3-public-muted);
  font-size: 0.78rem;
  font-style: normal;
}
.l3-public-matchday[open] summary {
  background: linear-gradient(90deg, rgba(228, 242, 2, 0.07), transparent 42%), var(--l3-public-surface-strong);
  border-bottom: 1px solid var(--l3-public-border);
}
.l3-public-matchday__matches {
  padding: 0 0.8rem;
}
.l3-public-match {
  display: grid;
  grid-template-columns: 165px minmax(0, 1fr) 58px minmax(0, 1fr) 92px;
  gap: 0.75rem;
  align-items: center;
  min-height: 68px;
  padding: 0.65rem 0.25rem;
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid var(--l3-public-border);
  transition: background 0.18s ease, transform 0.18s ease;
}
.l3-public-match:last-child {
  border-bottom: 0;
}
.l3-public-match:hover {
  background: rgba(255, 255, 255, 0.035);
  color: inherit;
}
.l3-public-match.is-corrected {
  box-shadow: inset 3px 0 #dba617;
}
.l3-public-match time,
.l3-public-match small {
  color: var(--l3-public-muted);
  font-size: 0.74rem;
}
.l3-public-match small {
  display: flex;
  justify-content: space-between;
  gap: 0.35rem;
  align-items: center;
}
.l3-public-match small a {
  color: #d5e000;
  font-weight: 850;
  text-decoration: none;
}
.l3-public-match__club {
  display: flex;
  gap: 0.55rem;
  align-items: center;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}
.l3-public-match__club.is-home {
  justify-content: flex-end;
  text-align: right;
}
.l3-public-match__club b {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.l3-public-match__score {
  min-width: 48px;
  padding: 0.45rem 0.3rem;
  background: #05080a;
  color: var(--l3-public-text);
  border: 1px solid var(--l3-public-border-strong);
  border-radius: 6px;
  text-align: center;
}
.l3-public-sport__table {
  padding: 0.8rem;
  overflow: hidden;
  background: var(--l3-public-surface);
  border: 1px solid var(--l3-public-border);
  border-radius: 8px;
  box-shadow: 0 9px 24px rgba(0, 0, 0, 0.15);
}
.l3-public-sport__content .l3-sport-empty {
  background: var(--l3-public-surface);
  border: 1px solid var(--l3-public-border);
  border-radius: 8px;
  color: var(--l3-public-muted);
}
.l3-public-sport__content .l3-sport-empty strong {
  color: var(--l3-public-text);
}
.l3-public-sport__table .l3-own-table th,
.l3-public-sport__table .l3-own-table td {
  border-bottom-color: var(--l3-public-border);
}
.l3-public-sport__table .l3-own-table th {
  background: #090d11;
  color: #aeb8c0;
}
.l3-public-sport__table .l3-own-table td {
  color: #e6eaed;
}
.l3-public-sport__table .l3-own-table tbody tr:not(.has-competition-zone):nth-child(even) td {
  background: rgba(255, 255, 255, 0.025);
}
.l3-public-sport__table .l3-own-table tbody tr:hover td {
  background: rgba(228, 242, 2, 0.055);
}
.l3-public-sport__table .l3-own-table tbody tr.is-direct-promotion {
  --l3-zone-color: #40d28d;
  --l3-zone-background: rgba(26, 165, 99, 0.13);
}
.l3-public-sport__table .l3-own-table tbody tr.is-promotion-playoff {
  --l3-zone-color: #f0b83f;
  --l3-zone-background: rgba(219, 166, 23, 0.14);
}
.l3-public-sport__table .l3-own-table tbody tr.is-relegation {
  --l3-zone-color: #ff6b73;
  --l3-zone-background: rgba(197, 50, 59, 0.14);
}
.l3-public-sport__table .l3-sport-club-link:hover b {
  color: #e4f202;
}
.l3-public-sport__table .l3-own-table > small,
.l3-public-sport__table .l3-sport-table-legend {
  color: var(--l3-public-muted);
}
.l3-public-sport__more {
  display: flex;
  justify-content: center;
  gap: 1rem;
  align-items: center;
  margin-top: 1.25rem;
}
.l3-public-sport__more a,
.l3-public-sport__more span {
  padding: 0.65rem 0.8rem;
  color: var(--l3-public-muted);
  font-size: 0.8rem;
  font-weight: 800;
  text-decoration: none;
}
.l3-public-sport__more a {
  border: 1px solid var(--l3-public-border-strong);
  background: var(--l3-public-surface-strong);
  color: var(--l3-public-text);
}
.l3-public-sport__more a:hover {
  background: #e4f202;
  border-color: #e4f202;
  color: #11171d;
}

@media (max-width: 782px) {
  .l3-public-sport__hero {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1rem 0.9rem;
    border-left: 0;
    border-top: 5px solid #e4f202;
    border-radius: 0 0 10px 10px;
  }
  .l3-public-sport__hero h2 {
    margin: 0.25rem 0 0.45rem;
    font-size: 1.45rem;
    line-height: 1.15;
  }
  .l3-public-sport__hero p {
    display: none;
  }
  .l3-public-sport__facts {
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
  }
  .l3-public-sport__facts span {
    min-width: 0;
    padding: 0.65rem 0.25rem;
    font-size: 0.64rem;
  }
  .l3-public-sport__facts b {
    font-size: 1.05rem;
  }
  .l3-public-sport__tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-radius: 0 0 9px 9px;
    overflow: hidden;
  }
  .l3-public-sport__tabs a {
    display: grid;
    place-items: center;
    min-height: 45px;
    padding: 0.55rem 0.3rem;
    font-size: 0.76rem;
    line-height: 1.2;
  }
  .l3-public-sport__tabs a:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--l3-public-border);
  }
  .l3-public-sport__tabs a:nth-child(4) {
    border-top: 1px solid var(--l3-public-border);
  }
  .l3-public-sport__filter-panel {
    margin-bottom: 0.9rem;
    border-radius: 9px;
    overflow: hidden;
  }
  .l3-public-sport__filter-panel > summary {
    min-height: 46px;
    padding: 0.65rem 0.75rem;
  }
  .l3-public-sport__filter-panel > summary b {
    max-width: 58%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .l3-public-sport__filters {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
    padding: 0.75rem;
  }
  .l3-public-sport__filters select,
  .l3-public-sport__filters button {
    width: 100%;
  }
  .l3-public-sport__filters button,
  .l3-public-sport__filters a {
    grid-column: 1 / -1;
  }
  .l3-public-sport__filters a {
    padding: 0.25rem;
    text-align: center;
  }
  .l3-public-sport__content {
    padding: 1rem 0.65rem 0;
  }
  .l3-public-sport__section-head {
    align-items: center;
    margin-bottom: 0.65rem;
  }
  .l3-public-sport__section-head h2 {
    font-size: 1.2rem;
    line-height: 1.15;
  }
  .l3-public-sport__section-head > span {
    max-width: 92px;
    text-align: right;
    line-height: 1.25;
  }
  .l3-public-matchday {
    margin-bottom: 0.55rem;
    overflow: hidden;
    border-radius: 10px;
  }
  .l3-public-matchday summary {
    grid-template-columns: 1fr auto;
    gap: 0.3rem 0.8rem;
    min-height: 54px;
    padding: 0.62rem 0.72rem;
  }
  .l3-public-matchday summary b {
    grid-row: 2;
  }
  .l3-public-matchday summary em {
    grid-column: 2;
    grid-row: 1 / span 2;
  }
  .l3-public-matchday__matches {
    padding: 0;
  }
  .l3-public-match {
    grid-template-columns: minmax(0, 1fr) 48px minmax(0, 1fr);
    gap: 0.32rem;
    min-height: 88px;
    padding: 0.48rem 0.58rem;
  }
  .l3-public-match time {
    grid-column: 1 / -1;
    justify-self: center;
    padding: 0.18rem 0.5rem;
    background: rgba(255, 255, 255, 0.065);
    color: #aeb8c0;
    border-radius: 999px;
    text-align: center;
  }
  .l3-public-match small {
    grid-column: 1 / -1;
    line-height: 1.35;
    text-align: center;
  }
  .l3-public-match__club {
    display: grid;
    gap: 0.25rem;
  }
  .l3-public-match__club.is-home {
    justify-items: end;
  }
  .l3-public-match__club.is-away {
    justify-items: start;
  }
  .l3-public-match__club b {
    max-width: 125px;
    font-size: 0.78rem;
    line-height: 1.2;
    white-space: normal;
  }
  .l3-public-match__score {
    min-width: 44px;
    padding: 0.5rem 0.25rem;
    border-radius: 6px;
    font-size: 1rem;
  }
  .l3-public-match .l3-sport-crest {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
  }
  .l3-public-match .l3-sport-crest img {
    width: 27px;
    height: 27px;
  }
  .l3-public-sport__table {
    max-width: 100%;
    padding: 0;
    overflow: hidden;
    border-radius: 10px;
  }
  .l3-public-sport__table::before {
    content: "Kompaktansicht · wichtigste Werte";
    display: block;
    padding: 0.55rem 0.65rem;
    background: #080c0f;
    color: #e4f202;
    font-size: 0.66rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-align: left;
    text-transform: uppercase;
  }
  .l3-public-sport__table .l3-own-table {
    max-width: 100%;
    overflow: visible;
  }
  .l3-public-sport__table .l3-own-table table {
    width: 100%;
    min-width: 0;
    table-layout: fixed;
  }
  .l3-public-sport__table .l3-own-table th,
  .l3-public-sport__table .l3-own-table td {
    padding: 0.5rem 0.2rem;
    font-size: 0.74rem;
  }
  .l3-public-sport__table .l3-own-table th:nth-child(4),
  .l3-public-sport__table .l3-own-table td:nth-child(4),
  .l3-public-sport__table .l3-own-table th:nth-child(5),
  .l3-public-sport__table .l3-own-table td:nth-child(5),
  .l3-public-sport__table .l3-own-table th:nth-child(6),
  .l3-public-sport__table .l3-own-table td:nth-child(6),
  .l3-public-sport__table .l3-own-table th:nth-child(7),
  .l3-public-sport__table .l3-own-table td:nth-child(7) {
    display: none;
  }
  .l3-public-sport__table .l3-own-table th:first-child,
  .l3-public-sport__table .l3-own-table td:first-child {
    width: 32px;
  }
  .l3-public-sport__table .l3-own-table th:nth-child(2),
  .l3-public-sport__table .l3-own-table td:nth-child(2) {
    width: auto;
    text-align: left;
  }
  .l3-public-sport__table .l3-own-table th:nth-child(3),
  .l3-public-sport__table .l3-own-table td:nth-child(3),
  .l3-public-sport__table .l3-own-table th:nth-child(8),
  .l3-public-sport__table .l3-own-table td:nth-child(8),
  .l3-public-sport__table .l3-own-table th:nth-child(9),
  .l3-public-sport__table .l3-own-table td:nth-child(9) {
    width: 40px;
    text-align: center;
  }
  .l3-public-sport__table .l3-own-table tbody tr:not(.has-competition-zone):nth-child(even) td {
    background: rgba(255, 255, 255, 0.025);
  }
  .l3-public-sport__table .l3-own-table td:nth-child(2) b {
    display: block;
    max-width: min(34vw, 135px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .l3-public-sport__table .l3-own-table td:nth-child(2) > span,
  .l3-public-sport__table .l3-own-table td:nth-child(2) > a {
    gap: 0.35rem;
  }
  .l3-public-sport__table .l3-own-table .l3-sport-crest {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
  }
  .l3-public-sport__table .l3-own-table .l3-sport-crest img {
    width: 25px;
    height: 25px;
  }
  .l3-public-sport__table .l3-own-table > small {
    padding: 0.7rem;
    white-space: normal;
    text-align: left;
  }
  .l3-public-sport__table .l3-sport-table-legend {
    justify-content: flex-start;
    gap: 0.55rem 0.9rem;
    padding: 0 0.65rem 0.75rem;
  }
  .l3-public-sport__more {
    flex-direction: column;
    gap: 0.5rem;
  }
  .l3-public-sport__more a {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 390px) {
  .l3-public-sport__filters {
    grid-template-columns: 1fr;
  }
  .l3-public-sport__filters button,
  .l3-public-sport__filters a {
    grid-column: auto;
  }
  .l3-public-match {
    padding-inline: 0.45rem;
  }
  .l3-public-match__club b {
    max-width: 105px;
    font-size: 0.74rem;
  }
}

/* Automatically managed club directory and profile pages. */
body.l3-club-profile-page .l3-main > .wp-block-post-title,
body.l3-club-directory-page .l3-main > .wp-block-post-title {
  display: none;
}
.l3-club-profile,
.l3-club-directory {
  width: min(calc(100% - 2rem), var(--l3-content-width, 1240px));
  margin: 1.2rem auto 3rem;
  color: #11171d;
}
.l3-club-profile {
  --l3-club-dashboard-bg: #070a0d;
  --l3-club-dashboard-surface: #0d1217;
  --l3-club-dashboard-surface-strong: #111820;
  --l3-club-dashboard-border: rgba(255, 255, 255, 0.09);
  --l3-club-dashboard-muted: #98a3ac;
  overflow: hidden;
  padding-bottom: 1rem;
  background:
    radial-gradient(circle at 4% 32%, color-mix(in srgb, var(--l3-club-primary, #20262c) 18%, transparent), transparent 26rem),
    var(--l3-club-dashboard-bg);
  color: #f5f7f8;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.2);
}
.l3-club-breadcrumb {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 0.7rem;
  color: #8b949c;
  font-size: 0.75rem;
}
.l3-club-breadcrumb a {
  color: #b8c400;
  text-decoration: none;
}
.l3-club-breadcrumb b {
  color: #d8dde1;
}
.l3-club-profile__hero {
  overflow: hidden;
  background: radial-gradient(circle at 88% 12%, rgba(255, 255, 255, 0.16), transparent 24%), linear-gradient(125deg, var(--l3-club-primary, #20262c), #0b0e11 70%);
  color: #fff;
  border-top: 6px solid var(--l3-club-secondary, #e4f202);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.16);
}
.l3-club-profile__identity {
  display: flex;
  gap: clamp(1rem, 2.5vw, 2rem);
  align-items: center;
  padding: clamp(1.3rem, 3.5vw, 2.7rem);
}
.l3-club-profile__identity > .l3-sport-crest {
  width: 116px;
  height: 116px;
  flex-basis: 116px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}
.l3-club-profile__identity > .l3-sport-crest img {
  width: 98px;
  height: 98px;
}
.l3-club-profile__identity > .l3-sport-crest b {
  color: var(--l3-club-primary, #20262c);
  font-size: 1.4rem;
  text-shadow: none;
}
.l3-club-profile__identity span,
.l3-club-directory__hero span,
.l3-club-panel header small,
.l3-club-section > header small {
  color: var(--l3-club-accent, var(--l3-club-secondary, #e4f202));
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.13em;
}
.l3-club-profile__identity h1,
.l3-club-directory__hero h1 {
  margin: 0.22rem 0 0.45rem;
  color: #fff;
  font-size: clamp(2rem, 5vw, 4.1rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}
.l3-club-profile__identity p,
.l3-club-directory__hero p {
  margin: 0;
  color: #d1d7db;
}
.l3-club-profile__facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(4, 8, 11, 0.42);
}
.l3-club-profile__facts > span,
.l3-club-profile__facts > a {
  display: grid;
  gap: 0.1rem;
  padding: 0.9rem 1rem;
  color: #fff;
  text-align: center;
  text-decoration: none;
}
.l3-club-profile__facts > * + * {
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}
.l3-club-profile__facts small {
  color: #aeb7be;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}
.l3-club-profile__facts b {
  font-size: 1.45rem;
  line-height: 1;
}
.l3-club-profile__facts span span,
.l3-club-profile__facts a span {
  color: #bec6cc;
  font-size: 0.68rem;
}
.l3-club-profile__dashboard,
.l3-club-profile__fixtures {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.75fr);
  gap: 1rem;
  margin-top: 1rem;
  padding: 0 1rem;
}
.l3-club-panel,
.l3-club-section {
  overflow: hidden;
  background: linear-gradient(145deg, var(--l3-club-dashboard-surface-strong), var(--l3-club-dashboard-surface));
  border: 1px solid var(--l3-club-dashboard-border);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}
.l3-club-panel > header,
.l3-club-section > header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
  padding: 0.9rem 1rem;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--l3-club-primary, #20262c) 28%, #0a0d11), #090c0f 62%);
  border-left: 4px solid var(--l3-club-accent, var(--l3-club-secondary, #e4f202));
  border-bottom: 1px solid var(--l3-club-dashboard-border);
}
.l3-club-panel header h2,
.l3-club-section > header h2 {
  margin: 0.12rem 0 0;
  color: #fff;
  font-size: 1.2rem;
}
.l3-club-panel header a,
.l3-club-section > header a {
  color: var(--l3-club-accent, var(--l3-club-secondary, #e4f202));
  font-size: 0.74rem;
  font-weight: 900;
  text-decoration: none;
}
.l3-club-panel--next .l3-club-match-card {
  border-bottom: 0;
}
.l3-club-panel--next > .l3-club-match-card {
  margin: 0.65rem;
  border-bottom: 1px solid var(--l3-club-dashboard-border);
}
.l3-club-standing-card {
  display: grid;
  grid-template-columns: 115px minmax(0, 1fr);
  align-items: stretch;
  min-height: 148px;
}
.l3-club-standing-card > strong {
  display: grid;
  place-content: center;
  background: linear-gradient(145deg, color-mix(in srgb, var(--l3-club-primary, #20262c) 82%, #161b20), #080b0e);
  color: #fff;
  font-size: 3rem;
  text-align: center;
}
.l3-club-standing-card > strong small {
  display: block;
  color: var(--l3-club-accent, var(--l3-club-secondary, #e4f202));
  font-size: 0.58rem;
  letter-spacing: 0.14em;
}
.l3-club-standing-card > div {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
}
.l3-club-standing-card > div span {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.45rem 0.8rem;
  border-bottom: 1px solid var(--l3-club-dashboard-border);
  color: var(--l3-club-dashboard-muted);
  font-size: 0.76rem;
}
.l3-club-standing-card > div span:last-child {
  border-bottom: 0;
}
.l3-club-standing-card > div b {
  color: #fff;
  font-size: 1.1rem;
}
.l3-club-section {
  margin-top: 1rem;
  margin-right: 1rem;
  margin-left: 1rem;
}
.l3-club-profile__fixtures .l3-club-section {
  margin-right: 0;
  margin-top: 0;
  margin-left: 0;
}
.l3-club-news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding: 1rem;
}
.l3-club-news-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--l3-club-dashboard-border);
  background: #10161b;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.l3-club-news-card:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--l3-club-accent, #e4f202) 50%, transparent);
  box-shadow: 0 13px 28px rgba(0, 0, 0, 0.28);
}
.l3-club-news-card__media {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #151b20;
}
.l3-club-news-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}
.l3-club-news-card:hover .l3-club-news-card__media img {
  transform: scale(1.035);
}
.l3-club-news-card__media.has-placeholder {
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1rem;
  font-weight: 950;
  text-decoration: none;
}
.l3-club-news-card__media.has-placeholder span span {
  color: #e4f202;
}
.l3-club-news-card__body {
  padding: 0.85rem;
}
.l3-club-news-card time {
  color: var(--l3-club-dashboard-muted);
  font-size: 0.68rem;
}
.l3-club-news-card h3 {
  margin: 0.35rem 0 0.45rem;
  font-size: 1rem;
  line-height: 1.22;
}
.l3-club-news-card h3 a {
  color: #f6f8f9;
  text-decoration: none;
}
.l3-club-news-card p {
  display: -webkit-box;
  margin: 0;
  color: #aeb7be;
  font-size: 0.78rem;
  line-height: 1.45;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.l3-club-match-list {
  display: grid;
  gap: 0.55rem;
  padding: 0.65rem;
}
.l3-club-match-card {
  padding: 0.62rem 0.7rem;
  border: 1px solid var(--l3-club-dashboard-border);
  background: rgba(255, 255, 255, 0.025);
}
.l3-club-match-card:last-child {
  border-bottom: 1px solid var(--l3-club-dashboard-border);
}
.l3-club-match-card time,
.l3-club-match-card small {
  display: block;
  color: var(--l3-club-dashboard-muted);
  font-size: 0.7rem;
  text-align: center;
}
.l3-club-match-card small {
  display: flex;
  justify-content: space-between;
  gap: 0.65rem;
  align-items: center;
}
.l3-club-match-card small a {
  flex: 0 0 auto;
  color: var(--l3-club-accent, #e4f202);
  font-weight: 850;
  text-decoration: none;
}
.l3-club-match-card__teams {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 50px minmax(0, 1fr);
  gap: 0.55rem;
  align-items: center;
  margin: 0.42rem 0;
}
.l3-club-match-card__teams > a {
  display: flex;
  gap: 0.45rem;
  align-items: center;
  min-width: 0;
  color: #f4f6f7;
  text-decoration: none;
}
.l3-club-match-card__teams > a:first-child {
  flex-direction: row-reverse;
  text-align: right;
}
.l3-club-match-card__teams b {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.78rem;
}
.l3-club-match-card__teams > strong {
  padding: 0.42rem 0.25rem;
  background: #050709;
  border: 1px solid #2b343c;
  color: #fff;
  text-align: center;
}
.l3-club-profile .l3-sport-empty {
  min-height: 0;
  padding: 1.55rem 1rem;
  background: transparent;
  color: #f4f6f7;
}
.l3-club-profile .l3-sport-empty strong {
  color: #f4f6f7;
}
.l3-club-profile .l3-sport-empty span {
  color: var(--l3-club-dashboard-muted);
}
.l3-club-directory__hero {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: end;
  padding: clamp(1.4rem, 3vw, 2.5rem);
  background: radial-gradient(circle at 88% 12%, rgba(228, 242, 2, 0.17), transparent 25%), #0b0e11;
  border-left: 6px solid #e4f202;
}
.l3-club-directory__hero span {
  color: #d1dd00;
}
.l3-club-directory__hero h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
}
.l3-club-directory__hero > strong {
  flex: 0 0 auto;
  padding: 0.55rem 0.8rem;
  background: #e4f202;
  color: #0b0e11;
  font-size: 0.78rem;
}
.l3-club-directory__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}
.l3-club-directory-card {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  gap: 0.85rem;
  align-items: center;
  min-width: 0;
  padding: 0.85rem;
  background: #fff;
  color: #11171d;
  border: 1px solid #dde1e4;
  border-left: 5px solid var(--l3-club-primary, #20262c);
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.l3-club-directory-card:hover {
  transform: translateY(-2px);
  color: #11171d;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.09);
}
.l3-club-directory-card > .l3-sport-crest {
  width: 54px;
  height: 54px;
  flex-basis: 54px;
  background: #f3f5f6;
}
.l3-club-directory-card > .l3-sport-crest img {
  width: 47px;
  height: 47px;
}
.l3-club-directory-card > span {
  display: grid;
  min-width: 0;
}
.l3-club-directory-card small {
  color: #7a848c;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}
.l3-club-directory-card b {
  overflow: hidden;
  font-size: 1rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.l3-club-directory-card em {
  color: #66717a;
  font-size: 0.7rem;
  font-style: normal;
}
.l3-club-directory-card > i {
  color: #7b8700;
  font-size: 1.25rem;
  font-style: normal;
}

@media (max-width: 782px) {
  body.l3-club-profile-page .l3-main {
    padding-right: 0;
    padding-left: 0;
  }
  body.l3-club-profile-page .l3-main > .wp-block-post-content {
    max-width: none !important;
  }
  .l3-club-profile {
    width: 100%;
    margin-top: 0;
    padding-bottom: 0.65rem;
    box-shadow: none;
  }
  .l3-club-directory {
    width: min(calc(100% - 1rem), var(--l3-content-width, 1240px));
    margin-top: 0.6rem;
  }
  .l3-club-profile .l3-club-breadcrumb {
    padding-right: 0.85rem;
    padding-left: 0.85rem;
  }
  .l3-club-profile__hero {
    border-top: 0;
    box-shadow: none;
  }
  .l3-club-profile .l3-club-panel,
  .l3-club-profile .l3-club-section {
    border: 1px solid var(--l3-club-dashboard-border);
    border-radius: 4px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  }
  .l3-club-profile__identity {
    align-items: center;
    padding: 1rem 0.85rem;
  }
  .l3-club-profile__identity > .l3-sport-crest {
    width: 76px;
    height: 76px;
    flex-basis: 76px;
    border-radius: 13px;
  }
  .l3-club-profile__identity > .l3-sport-crest img {
    width: 66px;
    height: 66px;
  }
  .l3-club-profile__identity h1 {
    font-size: clamp(1.5rem, 8vw, 2.15rem);
  }
  .l3-club-profile__identity p {
    display: none;
  }
  .l3-club-profile__facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .l3-club-profile__facts > *:nth-child(3) {
    border-left: 0;
  }
  .l3-club-profile__facts > *:nth-child(n + 3) {
    border-top: 1px solid rgba(255, 255, 255, 0.16);
  }
  .l3-club-profile__facts > span,
  .l3-club-profile__facts > a {
    padding: 0.65rem 0.4rem;
  }
  .l3-club-profile__dashboard,
  .l3-club-profile__fixtures {
    grid-template-columns: 1fr;
    gap: 0.65rem;
    margin-top: 0.65rem;
    padding: 0 0.55rem;
  }
  .l3-club-profile > .l3-club-section {
    margin: 0.65rem 0.55rem 0;
  }
  .l3-club-panel > header,
  .l3-club-section > header {
    align-items: center;
    padding: 0.75rem;
  }
  .l3-club-panel header h2,
  .l3-club-section > header h2 {
    font-size: 1.05rem;
  }
  .l3-club-news-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    padding: 0.55rem;
  }
  .l3-club-news-card {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
    min-height: 96px;
    border-width: 1px;
    box-shadow: none;
  }
  .l3-club-news-card__media {
    height: 100%;
    aspect-ratio: auto;
  }
  .l3-club-news-card__body {
    padding: 0.58rem 0.65rem;
  }
  .l3-club-news-card h3 {
    display: -webkit-box;
    margin: 0.25rem 0 0;
    font-size: 0.86rem;
    line-height: 1.2;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }
  .l3-club-news-card p {
    display: none;
  }
  .l3-club-match-card__teams {
    grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1fr);
    gap: 0.3rem;
    margin: 0.34rem 0;
  }
  .l3-club-match-card__teams > a {
    display: grid;
    grid-template-rows: 34px minmax(1.9rem, auto);
    align-content: start;
    align-self: stretch;
    justify-items: start;
    gap: 0.25rem;
  }
  .l3-club-match-card__teams > a:first-child {
    justify-items: end;
  }
  .l3-club-match-card__teams b {
    display: block;
    max-width: 115px;
    min-height: 1.9rem;
    line-height: 1.2;
    white-space: normal;
  }
  .l3-club-match-card__teams > strong {
    align-self: center;
  }
  .l3-club-match-list {
    gap: 0.45rem;
    padding: 0.5rem;
  }
  .l3-club-match-card {
    padding: 0.52rem 0.45rem;
  }
  .l3-club-profile .l3-sport-empty {
    padding: 1.15rem 0.8rem;
  }
  .l3-club-directory__hero {
    display: block;
    padding: 1rem;
    border-left: 0;
    border-top: 5px solid #e4f202;
  }
  .l3-club-directory__hero h1 {
    font-size: 1.8rem;
  }
  .l3-club-directory__hero p {
    margin-bottom: 0.8rem;
    font-size: 0.82rem;
  }
  .l3-club-directory__grid {
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }
}

@media (max-width: 390px) {
  .l3-club-profile__identity {
    gap: 0.7rem;
  }
  .l3-club-profile__identity > .l3-sport-crest {
    width: 64px;
    height: 64px;
    flex-basis: 64px;
  }
  .l3-club-profile__identity > .l3-sport-crest img {
    width: 56px;
    height: 56px;
  }
  .l3-club-profile__identity h1 {
    font-size: 1.5rem;
  }
  .l3-club-standing-card {
    grid-template-columns: 98px minmax(0, 1fr);
  }
}

/* Dynamic, indexable match detail pages. */
body.l3-match-detail-page .l3-main > .wp-block-post-title {
  display: none;
}
.l3-match-detail {
  --l3-club-dashboard-bg: #070a0d;
  --l3-club-dashboard-surface: #0d1217;
  --l3-club-dashboard-surface-strong: #111820;
  --l3-club-dashboard-border: rgba(255, 255, 255, 0.09);
  --l3-club-dashboard-muted: #98a3ac;
  width: min(calc(100% - 2rem), var(--l3-content-width, 1240px));
  margin: 1.2rem auto 3rem;
  overflow: hidden;
  padding-bottom: 1rem;
  background:
    radial-gradient(circle at 5% 35%, color-mix(in srgb, var(--l3-home-primary, #20262c) 17%, transparent), transparent 27rem),
    radial-gradient(circle at 95% 35%, color-mix(in srgb, var(--l3-away-primary, #20262c) 14%, transparent), transparent 27rem),
    #070a0d;
  color: #f5f7f8;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.2);
}
.l3-match-breadcrumb {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 0.7rem;
  color: #8b949c;
  font-size: 0.75rem;
}
.l3-match-breadcrumb a {
  color: #cdd900;
  text-decoration: none;
}
.l3-match-breadcrumb b {
  color: #d8dde1;
}
.l3-match-detail__hero {
  overflow: hidden;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--l3-home-primary, #20262c) 72%, #080b0e), transparent 44%),
    linear-gradient(270deg, color-mix(in srgb, var(--l3-away-primary, #20262c) 68%, #080b0e), #0a0e12 46%);
  border-top: 6px solid #e4f202;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.18);
}
.l3-match-detail__meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 0.85rem clamp(1rem, 3vw, 2rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}
.l3-match-detail__meta > div > span,
.l3-match-detail__section > header small,
.l3-match-team-run > header small {
  color: #e4f202;
  font-size: 0.66rem;
  font-weight: 950;
  letter-spacing: 0.13em;
}
.l3-match-detail__meta > div {
  min-width: 0;
}
.l3-match-detail__meta h1 {
  margin: 0.12rem 0 0;
  color: #fff;
  font-size: clamp(0.92rem, 1.7vw, 1.25rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
}
.l3-match-detail__meta > b {
  padding: 0.38rem 0.6rem;
  background: rgba(228, 242, 2, 0.12);
  border: 1px solid rgba(228, 242, 2, 0.42);
  color: #eef67b;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.l3-match-detail__meta > b.is-cancelled,
.l3-match-detail__meta > b.is-abandoned {
  background: rgba(197, 50, 59, 0.15);
  border-color: rgba(235, 91, 101, 0.55);
  color: #ffabb1;
}
.l3-match-detail__scoreboard {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(150px, 0.44fr) minmax(0, 1fr);
  gap: clamp(0.7rem, 3vw, 2.5rem);
  align-items: center;
  padding: clamp(1.5rem, 4vw, 3rem);
}
.l3-match-detail__scoreboard > a {
  display: grid;
  justify-items: center;
  min-width: 0;
  color: #fff;
  text-align: center;
  text-decoration: none;
}
.l3-match-detail__scoreboard > a > .l3-sport-crest {
  width: 108px;
  height: 108px;
  flex-basis: 108px;
  margin-bottom: 0.75rem;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 19px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}
.l3-match-detail__scoreboard > a > .l3-sport-crest img {
  width: 92px;
  height: 92px;
}
.l3-match-detail__scoreboard > a > strong {
  font-size: clamp(1rem, 2vw, 1.35rem);
  line-height: 1.12;
}
.l3-match-detail__scoreboard > a > small {
  margin-top: 0.35rem;
  color: #bfc7cd;
  font-size: 0.72rem;
  font-weight: 800;
}
.l3-match-detail__scoreboard > div {
  display: grid;
  justify-items: center;
  text-align: center;
}
.l3-match-detail__scoreboard > div > span,
.l3-match-detail__scoreboard > div > small {
  color: #aeb7be;
  font-size: 0.72rem;
}
.l3-match-detail__scoreboard > div > b {
  min-width: 102px;
  margin: 0.55rem 0;
  padding: 0.7rem 0.9rem;
  background: #050709;
  border: 1px solid #38424b;
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}
.l3-match-detail__facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(3, 6, 9, 0.55);
}
.l3-match-detail__facts > span {
  display: grid;
  gap: 0.18rem;
  min-width: 0;
  padding: 0.85rem 1rem;
  text-align: center;
}
.l3-match-detail__facts > span + span {
  border-left: 1px solid rgba(255, 255, 255, 0.13);
}
.l3-match-detail__facts small {
  color: #929da6;
  font-size: 0.59rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}
.l3-match-detail__facts b {
  overflow: hidden;
  color: #f3f6f8;
  font-size: 0.82rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.l3-match-detail__section {
  overflow: hidden;
  margin: 1rem 1rem 0;
  background: linear-gradient(145deg, #111820, #0d1217);
  border: 1px solid var(--l3-club-dashboard-border);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}
.l3-match-detail__section > header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
  padding: 0.9rem 1rem;
  background: linear-gradient(90deg, color-mix(in srgb, var(--l3-home-primary, #20262c) 25%, #0a0d11), #090c0f 62%);
  border-left: 4px solid #e4f202;
  border-bottom: 1px solid var(--l3-club-dashboard-border);
}
.l3-match-detail__section > header h2 {
  margin: 0.12rem 0 0;
  color: #fff;
  font-size: 1.2rem;
}
.l3-match-detail__section > header a {
  color: #e4f202;
  font-size: 0.74rem;
  font-weight: 900;
  text-decoration: none;
}
.l3-match-comparison {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  padding: 0.75rem;
}
.l3-match-comparison > a {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 0.7rem;
  align-items: center;
  min-width: 0;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.028);
  border: 1px solid var(--l3-club-dashboard-border);
  color: #f4f6f7;
  text-decoration: none;
}
.l3-match-comparison > a .l3-sport-crest {
  width: 46px;
  height: 46px;
  flex-basis: 46px;
}
.l3-match-comparison > a .l3-sport-crest img {
  width: 40px;
  height: 40px;
}
.l3-match-comparison > a > span {
  display: grid;
  min-width: 0;
}
.l3-match-comparison > a > span b {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.l3-match-comparison > a > span small {
  color: #98a3ac;
  font-size: 0.7rem;
}
.l3-match-comparison > a > strong {
  color: #e4f202;
  font-size: 1.55rem;
}
.l3-match-detail__columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  padding: 0 1rem;
}
.l3-match-detail__columns > .l3-match-detail__section {
  margin-right: 0;
  margin-left: 0;
}
.l3-match-team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  padding: 0.65rem;
}
.l3-match-team-run {
  min-width: 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--l3-club-dashboard-border);
}
.l3-match-team-run > header {
  display: flex;
  gap: 0.55rem;
  align-items: center;
  padding: 0.6rem;
  border-bottom: 1px solid var(--l3-club-dashboard-border);
}
.l3-match-team-run > header .l3-sport-crest {
  width: 34px;
  height: 34px;
  flex-basis: 34px;
}
.l3-match-team-run > header .l3-sport-crest img {
  width: 30px;
  height: 30px;
}
.l3-match-team-run > header h3 {
  margin: 0.05rem 0 0;
  color: #fff;
  font-size: 0.84rem;
}
.l3-match-team-run > div > p {
  margin: 0;
  padding: 1rem 0.7rem;
  color: #98a3ac;
  font-size: 0.74rem;
}
.l3-match-context-card {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 0.5rem;
  align-items: center;
  min-width: 0;
  padding: 0.55rem 0.6rem;
  color: #f4f6f7;
  border-bottom: 1px solid var(--l3-club-dashboard-border);
  text-decoration: none;
}
.l3-match-context-card:last-child {
  border-bottom: 0;
}
.l3-match-context-card .l3-sport-crest {
  width: 32px;
  height: 32px;
  flex-basis: 32px;
}
.l3-match-context-card .l3-sport-crest img {
  width: 28px;
  height: 28px;
}
.l3-match-context-card > span {
  display: grid;
  min-width: 0;
}
.l3-match-context-card > span small {
  color: #89949d;
  font-size: 0.61rem;
}
.l3-match-context-card > span b {
  overflow: hidden;
  font-size: 0.74rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.l3-match-context-card > strong {
  color: #e4f202;
  font-size: 0.69rem;
}
.l3-match-detail__news .l3-club-news-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.l3-match-detail .l3-sport-empty {
  min-height: 0;
  padding: 1.55rem 1rem;
  background: transparent;
  color: #f4f6f7;
}
.l3-match-detail .l3-sport-empty strong,
.l3-match-detail .l3-sport-empty a {
  color: #f4f6f7;
}
.l3-match-detail .l3-sport-empty span {
  color: #98a3ac;
}
.l3-match-detail__footer {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1rem 1rem 0;
  padding-top: 1rem;
  border-top: 1px solid var(--l3-club-dashboard-border);
}
.l3-match-detail__footer a {
  padding: 0.62rem 0.75rem;
  background: #111820;
  border: 1px solid #35404a;
  color: #f4f6f7;
  font-size: 0.7rem;
  font-weight: 850;
  text-decoration: none;
}
.l3-match-detail__footer a:hover {
  border-color: #e4f202;
  color: #e4f202;
}

@media (max-width: 980px) {
  .l3-match-detail__columns {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

@media (max-width: 782px) {
  body.l3-match-detail-page .l3-main {
    padding-right: 0;
    padding-left: 0;
  }
  body.l3-match-detail-page .l3-main > .wp-block-post-content {
    max-width: none !important;
  }
  .l3-match-detail {
    width: 100%;
    margin-top: 0;
    padding-bottom: 0.65rem;
    box-shadow: none;
  }
  .l3-match-breadcrumb {
    padding-right: 0.85rem;
    padding-left: 0.85rem;
  }
  .l3-match-detail__hero {
    border-top: 0;
    box-shadow: none;
  }
  .l3-match-detail__meta {
    padding: 0.7rem 0.75rem;
  }
  .l3-match-detail__scoreboard {
    grid-template-columns: minmax(0, 1fr) 72px minmax(0, 1fr);
    gap: 0.35rem;
    padding: 1.2rem 0.55rem;
  }
  .l3-match-detail__scoreboard > a > .l3-sport-crest {
    width: 70px;
    height: 70px;
    flex-basis: 70px;
    margin-bottom: 0.5rem;
    border-radius: 13px;
  }
  .l3-match-detail__scoreboard > a > .l3-sport-crest img {
    width: 61px;
    height: 61px;
  }
  .l3-match-detail__scoreboard > a > strong {
    display: -webkit-box;
    min-height: 2.3rem;
    font-size: 0.82rem;
    line-height: 1.15;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }
  .l3-match-detail__scoreboard > a > small {
    font-size: 0.64rem;
  }
  .l3-match-detail__scoreboard > div > span {
    max-width: 76px;
    font-size: 0.59rem;
    line-height: 1.2;
  }
  .l3-match-detail__scoreboard > div > b {
    min-width: 62px;
    margin: 0.38rem 0;
    padding: 0.6rem 0.35rem;
    font-size: 1.45rem;
  }
  .l3-match-detail__scoreboard > div > small {
    font-size: 0.61rem;
  }
  .l3-match-detail__facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .l3-match-detail__facts > span:nth-child(3) {
    border-left: 0;
  }
  .l3-match-detail__facts > span:nth-child(n + 3) {
    border-top: 1px solid rgba(255, 255, 255, 0.13);
  }
  .l3-match-detail__facts > span {
    padding: 0.65rem 0.45rem;
  }
  .l3-match-detail__facts b {
    white-space: normal;
  }
  .l3-match-detail__section {
    margin: 0.65rem 0.55rem 0;
    border-radius: 4px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  }
  .l3-match-detail__columns {
    padding: 0;
  }
  .l3-match-detail__columns > .l3-match-detail__section {
    margin-right: 0.55rem;
    margin-left: 0.55rem;
  }
  .l3-match-detail__section > header {
    align-items: center;
    padding: 0.75rem;
  }
  .l3-match-detail__section > header h2 {
    font-size: 1.05rem;
  }
  .l3-match-comparison {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    padding: 0.55rem;
  }
  .l3-match-team-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    padding: 0.55rem;
  }
  .l3-match-detail__news .l3-club-news-grid {
    grid-template-columns: 1fr;
  }
  .l3-match-detail__footer {
    display: grid;
    margin: 0.65rem 0.55rem 0;
  }
  .l3-match-detail__footer a {
    text-align: center;
  }
  .l3-club-match-card small {
    font-size: 0.65rem;
  }
}

@media (max-width: 390px) {
  .l3-match-detail__scoreboard > a > .l3-sport-crest {
    width: 62px;
    height: 62px;
    flex-basis: 62px;
  }
  .l3-match-detail__scoreboard > a > .l3-sport-crest img {
    width: 54px;
    height: 54px;
  }
  .l3-match-detail__meta > div > span {
    font-size: 0.59rem;
  }
  .l3-match-detail__meta h1 {
    font-size: 0.86rem;
  }
}
