.mtv-age-groups {
  --ag-primary: var(--mtv-color-primary, var(--mtv-primary, #0B7447));
  --ag-primary-dark: var(--mtv-color-primary-hover, #085B37);
  --ag-secondary: var(--mtv-color-secondary, var(--mtv-secondary, #FFC700));
  --ag-surface: var(--mtv-color-card-bg, #FFFFFF);
  --ag-surface-alt: var(--mtv-color-surface, #F8FAFC);
  --ag-surface-seniors: #E8F5EE;
  --ag-border: var(--mtv-color-border, #E2E8F0);
  --ag-text: var(--mtv-color-text, #1E293B);
  --ag-text-muted: var(--mtv-color-text-muted, #475569);
  --ag-cohort-bg: #E8F5EE;
  --ag-cohort-text: #085B37;
  --ag-notice-bg: #FFFBEB;
  --ag-notice-border: #D97706;
  --ag-shadow-sticky: rgba(15, 23, 42, 0.12);
  display: grid;
  gap: 1.125rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin-block: 1.5rem;
  color: var(--ag-text);
  container-type: inline-size;
  container-name: mtv-age-groups;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme=light]) .mtv-age-groups {
    --ag-surface: #1E293B;
    --ag-surface-alt: #162032;
    --ag-surface-seniors: #113325;
    --ag-border: #334155;
    --ag-text: #F8FAFC;
    --ag-text-muted: #CBD5E1;
    --ag-cohort-bg: #0D3B29;
    --ag-cohort-text: #A7F3D0;
    --ag-notice-bg: #1E293B;
    --ag-notice-border: #FFC700;
    --ag-shadow-sticky: rgba(0, 0, 0, 0.45);
  }
}
[data-theme=dark] .mtv-age-groups {
  --ag-surface: #1E293B;
  --ag-surface-alt: #162032;
  --ag-surface-seniors: #113325;
  --ag-border: #334155;
  --ag-text: #F8FAFC;
  --ag-text-muted: #CBD5E1;
  --ag-cohort-bg: #0D3B29;
  --ag-cohort-text: #A7F3D0;
  --ag-notice-bg: #1E293B;
  --ag-notice-border: #FFC700;
  --ag-shadow-sticky: rgba(0, 0, 0, 0.45);
}

.mtv-age-groups__header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  min-width: 0;
}

.mtv-age-groups__badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  background-color: var(--ag-secondary);
  color: #1E293B;
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.mtv-age-groups__title {
  margin: 0;
  color: var(--ag-text);
  font-size: var(--mtv-font-h3, clamp(1.2rem, calc(1.05rem + 0.7vw), 1.625rem));
  line-height: 1.25;
  text-wrap: balance;
}

.mtv-age-groups__scroll-hint {
  display: none;
  margin: 0;
  color: var(--ag-text-muted);
  font-size: 0.875rem;
  font-weight: 600;
}

.mtv-age-groups__sr-caption {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.mtv-age-groups__table-wrap {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--ag-border);
  border-radius: 0.75rem;
  background-color: var(--ag-surface);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
  transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.mtv-age-groups__table-wrap:focus-visible {
  outline: 3px solid var(--ag-primary);
  box-shadow: 0 0 0 5px var(--ag-secondary);
  outline-offset: 2px;
}

.mtv-age-groups__table {
  width: 100%;
  margin: 0;
  border-collapse: separate;
  border-spacing: 0;
  color: var(--ag-text);
  font-size: 0.9375rem;
  line-height: 1.4;
}
.mtv-age-groups__table th,
.mtv-age-groups__table td {
  padding: 0.8125rem 0.9375rem;
  text-align: left;
  vertical-align: middle;
  border-bottom: 1px solid var(--ag-border);
}

.mtv-age-groups__table thead th {
  background-color: var(--ag-primary);
  color: #FFFFFF;
  font-size: 0.78125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  border-bottom: 2px solid var(--ag-secondary);
}
.mtv-age-groups__table thead th:first-child {
  background-color: var(--ag-primary-dark);
}

.mtv-age-groups__table tbody tr {
  background-color: var(--ag-surface);
  transition: background-color 0.2s ease;
}
.mtv-age-groups__table tbody tr:nth-child(even) {
  background-color: var(--ag-surface-alt);
}
.mtv-age-groups__table tbody tr.mtv-age-groups__row--seniors {
  background-color: var(--ag-surface-seniors);
}
.mtv-age-groups__table tbody tr:last-child th, .mtv-age-groups__table tbody tr:last-child td {
  border-bottom: none;
}

.mtv-age-groups__table tbody th.mtv-age-groups__col-group {
  font-weight: 700;
  color: var(--ag-text);
  background-color: inherit;
  border-right: 1px solid var(--ag-border);
}

.mtv-age-groups__cell-main {
  display: block;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
}

.mtv-age-groups__col-group .mtv-age-groups__cell-main {
  font-weight: 700;
}

.mtv-age-groups__cell-sub {
  display: block;
  margin-top: 0.125rem;
  color: var(--ag-text-muted);
  font-size: 0.78125rem;
  font-weight: 500;
  line-height: 1.25;
  white-space: nowrap;
}

.mtv-age-groups__cell-sub--cohort {
  padding-inline-start: 0.375rem;
}

.mtv-age-groups__dual-marker {
  margin-inline-start: 0.125rem;
  color: var(--ag-primary);
  font-weight: 800;
}

[data-theme=dark] .mtv-age-groups__dual-marker {
  color: var(--ag-secondary);
}

.mtv-age-groups__cohort {
  display: inline-block;
  padding: 0.1875rem 0.625rem;
  border-radius: 9999px;
  background-color: var(--ag-cohort-bg);
  color: var(--ag-cohort-text);
  font-weight: 700;
  font-size: 0.84375rem;
  line-height: 1.35;
  white-space: nowrap;
}

.mtv-age-groups__footnote {
  margin: -0.25rem 0 0;
  color: var(--ag-text-muted);
  font-size: 0.84375rem;
  line-height: 1.5;
  text-wrap: pretty;
}

@container mtv-age-groups (max-width: 699px) {
  .mtv-age-groups__table {
    font-size: 0.875rem;
  }

  .mtv-age-groups__table th,
.mtv-age-groups__table td {
    padding: 0.625rem 0.65rem;
  }

  .mtv-age-groups__table thead th {
    font-size: 0.71875rem;
    letter-spacing: 0.025em;
  }

  .mtv-age-groups__cell-sub {
    font-size: 0.75rem;
  }

  .mtv-age-groups__cohort {
    padding: 0.15rem 0.5rem;
    font-size: 0.8125rem;
  }
}
@container mtv-age-groups (max-width: 539px) {
  .mtv-age-groups--auto .mtv-age-groups__table-wrap {
    overflow: visible;
    border: none;
    background: transparent;
    box-shadow: none;
  }
  .mtv-age-groups--auto .mtv-age-groups__table {
    display: block;
    width: 100%;
    min-width: 0;
  }
  .mtv-age-groups--auto .mtv-age-groups__table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
  .mtv-age-groups--auto .mtv-age-groups__table tbody {
    display: grid;
    gap: 0.75rem;
  }
  .mtv-age-groups--auto .mtv-age-groups__table tbody tr.mtv-age-groups__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    border: 1px solid var(--ag-border);
    border-inline-start: 4px solid var(--ag-primary);
    border-radius: 0.75rem;
    background-color: var(--ag-surface);
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.05);
    overflow: hidden;
  }
  .mtv-age-groups--auto .mtv-age-groups__table tbody tr.mtv-age-groups__row--seniors {
    border-inline-start-color: var(--ag-secondary);
    background-color: var(--ag-surface-seniors);
  }
  .mtv-age-groups--auto .mtv-age-groups__table tbody th.mtv-age-groups__col-group {
    position: static;
    grid-column: 1;
    grid-row: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.25rem 0.5rem;
    padding: 0.75rem 0.875rem;
    background-color: var(--ag-surface-alt);
    border-right: none;
    border-bottom: 1px solid var(--ag-border);
    box-shadow: none;
  }
  .mtv-age-groups--auto .mtv-age-groups__table tbody tr.mtv-age-groups__row--seniors th.mtv-age-groups__col-group {
    background-color: var(--ag-surface-seniors);
  }
  .mtv-age-groups--auto .mtv-age-groups__table tbody td.mtv-age-groups__col-cohort {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    padding: 0.625rem 0.875rem;
    background-color: var(--ag-surface-alt);
    border-bottom: 1px solid var(--ag-border);
    text-align: right;
  }
  .mtv-age-groups--auto .mtv-age-groups__table tbody tr.mtv-age-groups__row--seniors td.mtv-age-groups__col-cohort {
    background-color: var(--ag-surface-seniors);
  }
  .mtv-age-groups--auto .mtv-age-groups__table tbody td.mtv-age-groups__col-age,
.mtv-age-groups--auto .mtv-age-groups__table tbody td.mtv-age-groups__col-duration,
.mtv-age-groups--auto .mtv-age-groups__table tbody td.mtv-age-groups__col-ball {
    grid-column: 1/-1;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.25rem 0.75rem;
    padding: 0.5625rem 0.875rem;
    text-align: right;
    border-bottom: 1px solid var(--ag-border);
  }
  .mtv-age-groups--auto .mtv-age-groups__table tbody td.mtv-age-groups__col-age::before,
.mtv-age-groups--auto .mtv-age-groups__table tbody td.mtv-age-groups__col-duration::before,
.mtv-age-groups--auto .mtv-age-groups__table tbody td.mtv-age-groups__col-ball::before {
    content: attr(data-label);
    color: var(--ag-text-muted);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    text-align: left;
    flex-shrink: 0;
  }
  .mtv-age-groups--auto .mtv-age-groups__table tbody tr:last-child td,
.mtv-age-groups--auto .mtv-age-groups__table tbody tr td:last-child {
    border-bottom: none;
  }
  .mtv-age-groups--auto .mtv-age-groups__cell-sub--cohort {
    padding-inline-start: 0;
  }

  .mtv-age-groups--scroll .mtv-age-groups__scroll-hint {
    display: flex;
    align-items: center;
    gap: 0.375rem;
  }

  .mtv-age-groups--scroll .mtv-age-groups__table {
    min-width: 33rem;
  }

  .mtv-age-groups--scroll .mtv-age-groups__table thead th:first-child,
.mtv-age-groups--scroll .mtv-age-groups__table tbody th.mtv-age-groups__col-group {
    position: sticky;
    left: 0;
    z-index: 2;
    box-shadow: 3px 0 6px -2px var(--ag-shadow-sticky);
  }

  .mtv-age-groups--scroll .mtv-age-groups__table thead th:first-child {
    z-index: 3;
  }
}
@container mtv-age-groups (max-width: 329px) {
  .mtv-age-groups--auto .mtv-age-groups__cell-main,
.mtv-age-groups--auto .mtv-age-groups__cell-sub {
    white-space: normal;
  }
}
@supports not (container-type: inline-size) {
  @media (max-width: 575px) {
    .mtv-age-groups--auto .mtv-age-groups__table-wrap {
      overflow: visible;
      border: none;
      background: transparent;
      box-shadow: none;
    }
    .mtv-age-groups--auto .mtv-age-groups__table {
      display: block;
      width: 100%;
      min-width: 0;
    }
    .mtv-age-groups--auto .mtv-age-groups__table thead {
      position: absolute;
      width: 1px;
      height: 1px;
      padding: 0;
      margin: -1px;
      overflow: hidden;
      clip: rect(0, 0, 0, 0);
      white-space: nowrap;
      border: 0;
    }
    .mtv-age-groups--auto .mtv-age-groups__table tbody {
      display: grid;
      gap: 0.75rem;
    }
    .mtv-age-groups--auto .mtv-age-groups__table tbody tr.mtv-age-groups__row {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      border: 1px solid var(--ag-border);
      border-inline-start: 4px solid var(--ag-primary);
      border-radius: 0.75rem;
      background-color: var(--ag-surface);
      box-shadow: 0 2px 6px rgba(15, 23, 42, 0.05);
      overflow: hidden;
    }
    .mtv-age-groups--auto .mtv-age-groups__table tbody tr.mtv-age-groups__row--seniors {
      border-inline-start-color: var(--ag-secondary);
      background-color: var(--ag-surface-seniors);
    }
    .mtv-age-groups--auto .mtv-age-groups__table tbody th.mtv-age-groups__col-group {
      position: static;
      grid-column: 1;
      grid-row: 1;
      display: flex;
      flex-wrap: wrap;
      align-items: baseline;
      gap: 0.25rem 0.5rem;
      padding: 0.75rem 0.875rem;
      background-color: var(--ag-surface-alt);
      border-right: none;
      border-bottom: 1px solid var(--ag-border);
      box-shadow: none;
    }
    .mtv-age-groups--auto .mtv-age-groups__table tbody tr.mtv-age-groups__row--seniors th.mtv-age-groups__col-group {
      background-color: var(--ag-surface-seniors);
    }
    .mtv-age-groups--auto .mtv-age-groups__table tbody td.mtv-age-groups__col-cohort {
      grid-column: 2;
      grid-row: 1;
      display: flex;
      flex-direction: column;
      align-items: flex-end;
      justify-content: center;
      padding: 0.625rem 0.875rem;
      background-color: var(--ag-surface-alt);
      border-bottom: 1px solid var(--ag-border);
      text-align: right;
    }
    .mtv-age-groups--auto .mtv-age-groups__table tbody tr.mtv-age-groups__row--seniors td.mtv-age-groups__col-cohort {
      background-color: var(--ag-surface-seniors);
    }
    .mtv-age-groups--auto .mtv-age-groups__table tbody td.mtv-age-groups__col-age,
.mtv-age-groups--auto .mtv-age-groups__table tbody td.mtv-age-groups__col-duration,
.mtv-age-groups--auto .mtv-age-groups__table tbody td.mtv-age-groups__col-ball {
      grid-column: 1/-1;
      display: flex;
      flex-wrap: wrap;
      align-items: baseline;
      justify-content: space-between;
      gap: 0.25rem 0.75rem;
      padding: 0.5625rem 0.875rem;
      text-align: right;
      border-bottom: 1px solid var(--ag-border);
    }
    .mtv-age-groups--auto .mtv-age-groups__table tbody td.mtv-age-groups__col-age::before,
.mtv-age-groups--auto .mtv-age-groups__table tbody td.mtv-age-groups__col-duration::before,
.mtv-age-groups--auto .mtv-age-groups__table tbody td.mtv-age-groups__col-ball::before {
      content: attr(data-label);
      color: var(--ag-text-muted);
      font-size: 0.75rem;
      font-weight: 700;
      letter-spacing: 0.03em;
      text-transform: uppercase;
      text-align: left;
      flex-shrink: 0;
    }
    .mtv-age-groups--auto .mtv-age-groups__table tbody tr:last-child td,
.mtv-age-groups--auto .mtv-age-groups__table tbody tr td:last-child {
      border-bottom: none;
    }
    .mtv-age-groups--auto .mtv-age-groups__cell-sub--cohort {
      padding-inline-start: 0;
    }
  }
}
.mtv-age-groups__notice {
  padding: 1.0625rem 1.25rem;
  border: 1px solid var(--ag-border);
  border-inline-start: 4px solid var(--ag-notice-border);
  border-radius: 0.75rem;
  background-color: var(--ag-notice-bg);
  color: var(--ag-text);
  min-width: 0;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.mtv-age-groups__notice-title {
  margin: 0 0 0.5rem;
  color: var(--ag-text);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  text-wrap: balance;
}

.mtv-age-groups__notice-intro {
  margin: 0 0 0.625rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  text-wrap: pretty;
}

.mtv-age-groups__notice-list {
  margin: 0;
  padding-inline-start: 1.25rem;
  display: grid;
  gap: 0.375rem;
  font-size: 0.9375rem;
  line-height: 1.5;
}

@media (prefers-reduced-motion: reduce) {
  .mtv-age-groups,
.mtv-age-groups__table-wrap,
.mtv-age-groups__table tbody tr,
.mtv-age-groups__notice {
    transition: none;
  }
}

/*# sourceMappingURL=age-groups.css.map */
