/* A quiet, visitor-facing overview; the working table is behind disclosure. */
.stats {
  --stats-muted: #65717e;
  --stats-line: #e2e7ee;
  --stats-accent: #638dff;
  margin: 76px 0 34px;
  min-width: 0;
}
.stats h2,
.stats h3,
.stats p,
.stats dl,
.stats dd {
  margin: 0;
}
.stats button {
  font: inherit;
  transition:
    color 0.18s,
    background 0.18s,
    border-color 0.18s;
}
.stats button:disabled {
  cursor: default;
  opacity: 0.35;
}
.stats button:focus-visible,
.stats summary:focus-visible,
.stats [tabindex="0"]:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}
.stats-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  margin-bottom: 30px;
}
.stats .stats-eyebrow {
  margin-bottom: 15px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--stats-muted);
}
.stats h2 {
  font-size: clamp(2.25rem, 4.2vw, 3.75rem);
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -0.055em;
}
.stats h2 span {
  color: var(--blue);
}
.stats .stats-intro {
  padding: 0 2px 6px 0;
  color: var(--stats-muted);
  font-size: 1rem;
  line-height: 1.7;
}
.stats-showcase {
  overflow: hidden;
  border: 1px solid #1b2944;
  border-radius: 28px;
  background: #0a1120;
  background-image: radial-gradient(
    ellipse at 95% 0%,
    #1e438b45,
    transparent 60%
  );
  color: #f7f9ff;
  box-shadow: 0 24px 54px -34px #0b1c5660;
}
.stats-showcase-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  padding: 25px 34px 0;
}
.stats-estimate-badge {
  padding: 7px 11px;
  border: 1px solid #46526b;
  border-radius: 50px;
  color: #d2dbea;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.stats-segments {
  display: inline-flex;
  padding: 4px;
  gap: 3px;
  border: 1px solid var(--stats-line);
  border-radius: 11px;
  background: #edf0f5;
}
.stats-segments button {
  padding: 9px 17px;
  min-height: 40px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #566473;
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
}
.stats-segments button:hover {
  background: #f8faff;
}
.stats-segments button[aria-pressed="true"] {
  background: white;
  color: var(--ink);
  box-shadow: 0 2px 4px #15223112;
}
.stats-periods {
  border-color: #34415a;
  background: #121d31;
}
.stats-periods button {
  color: #b4c1d9;
}
.stats-periods button:hover {
  background: #23314b;
  color: white;
}
.stats-periods button[aria-pressed="true"] {
  background: #f1f5ff;
  color: #172a53;
}
.stats-showcase button:focus-visible,
.stats-showcase [tabindex="0"]:focus-visible {
  outline-color: #9cb7ff;
}
.stats-stage {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: center;
  gap: 52px;
  padding: 48px 46px 42px;
}
.stats-audience {
  min-width: 0;
}
.stats .stats-audience-number {
  display: flex;
  align-items: baseline;
  gap: 15px;
  color: #fff;
  font-size: clamp(4.5rem, 8.8vw, 8.1rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.075em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.stats-audience-number span {
  font-size: 0.38em;
  letter-spacing: -0.055em;
  color: #7e9fff;
}
.stats-audience h3 {
  margin-top: 23px;
  font-size: clamp(1.15rem, 1.8vw, 1.55rem);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.02em;
}
.stats .stats-audience-note {
  margin-top: 11px;
  color: #a6b3cb;
  font-size: 0.8125rem;
}
.stats-chart-panel {
  min-width: 0;
  padding-top: 6px;
}
.stats-chart-header {
  display: flex;
  align-items: center;
  gap: 12px;
}
.stats-chart-header h3 {
  font-size: 0.875rem;
  color: #c0cbe0;
  font-weight: 600;
}
.stats-chart-key {
  width: 18px;
  height: 3px;
  background: #7e9fff;
  border-radius: 5px;
}
.stats-chart-readout {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  min-height: 30px;
  margin-top: 10px !important;
}
.stats-chart-readout strong {
  font-weight: 600;
  font-size: 1.05rem;
  color: #f0f5ff;
  font-variant-numeric: tabular-nums;
}
.stats-chart-readout span {
  color: #a6b3cb;
  font-size: 0.75rem;
}
.stats-chart {
  position: relative;
  height: 146px;
  margin-top: 22px;
  margin-left: 48px;
  cursor: crosshair;
  touch-action: pan-y;
}
.stats-chart svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.stats-grid-line {
  stroke: #33405a;
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 3 6;
}
.stats-chart-line {
  fill: none;
  stroke: #7e9fff;
  stroke-width: 3;
  vector-effect: non-scaling-stroke;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.stats-chart-guide {
  stroke: #758bb4;
  stroke-width: 1;
  stroke-dasharray: 3 4;
  vector-effect: non-scaling-stroke;
}
.stats-chart-cursor-dot {
  position: absolute;
  width: 10px;
  height: 10px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #f53686;
  box-shadow: 0 0 0 5px #f536861d;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.stats-chart-y {
  position: absolute;
  right: calc(100% + 9px);
  transform: translateY(-50%);
  color: #9baac6;
  font-size: 0.75rem;
  white-space: nowrap;
}
.stats-chart-axis {
  position: relative;
  min-height: 1.25rem;
  margin: 10px 0 0 48px;
  color: #9baac6;
  font-size: 0.75rem;
}
.stats-chart-axis > span {
  position: absolute;
  white-space: nowrap;
}
.stats .stats-chart-hint {
  margin-top: 12px;
  color: #98a8c4;
  font-size: 0.75rem;
  line-height: 1.5;
}
.stats-results {
  padding: 24px 46px 0;
  border-top: 1px solid #2a354c;
}
.stats .stats-results-label {
  margin-bottom: 19px;
  color: #a6b3cb;
  font-size: 0.8125rem;
}
.stats-results-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.stats-results-grid > div {
  min-width: 0;
  border-right: 1px solid #303b52;
  padding-right: 20px;
}
.stats-results-grid > div:last-child {
  border: 0;
  padding-right: 0;
}
.stats-results-grid dt {
  color: #c0cbe0;
  font-size: 0.875rem;
}
.stats-results-grid dd {
  margin-top: 9px;
  font-size: clamp(1.5rem, 2.8vw, 2.45rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.stats-results-grid > div:nth-child(2) dd {
  color: #ff80b4;
}
.stats .stats-period-caption {
  margin: 27px 46px 24px;
  color: #98a8c4;
  font-size: 0.75rem;
}
.stats .stats-disclaimer {
  margin: 15px 4px 0;
  color: var(--stats-muted);
  font-size: 0.8125rem;
  line-height: 1.6;
}
.stats-details {
  margin-top: 25px;
  border: 1px solid var(--stats-line);
  border-radius: 18px;
  background: white;
  overflow: hidden;
}
.stats-details > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 23px 28px;
  cursor: pointer;
  list-style: none;
}
.stats-details > summary::-webkit-details-marker {
  display: none;
}
.stats-details > summary:hover {
  background: #f9fbff;
}
.stats-details > summary strong {
  font-size: 1rem;
  font-weight: 600;
}
.stats-details > summary small {
  display: block;
  font-size: 0.8125rem;
  color: var(--stats-muted);
  margin-top: 4px;
}
.stats-disclosure-icon {
  width: 32px;
  height: 32px;
  flex: none;
  position: relative;
  border-radius: 50%;
  background: #edf2ff;
  color: var(--blue);
}
.stats-disclosure-icon::before,
.stats-disclosure-icon::after {
  content: "";
  position: absolute;
  left: 10px;
  top: 15px;
  width: 12px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.2s;
}
.stats-disclosure-icon::after {
  transform: rotate(90deg);
}
.stats-details[open] .stats-disclosure-icon::after {
  transform: rotate(0);
}
.stats-details-content {
  padding-top: 24px;
  border-top: 1px solid var(--stats-line);
}
.stats-filter-heading {
  padding: 0 28px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.stats-details h3 {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.stats-filter-heading p {
  font-size: 0.8125rem;
  color: var(--stats-muted);
}
.stats-streams {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 8px 28px 14px;
  margin-top: 10px;
  scrollbar-width: thin;
}
.stats-streams button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: none;
  min-height: 42px;
  padding: 9px 15px;
  border: 1px solid #dce2e9;
  border-radius: 50px;
  background: white;
  font-size: 0.875rem;
  font-weight: 600;
  color: #56626f;
}
.stats-streams button:hover {
  border-color: #9dadd0;
}
.stats-streams button[aria-pressed="true"] {
  background: #162129;
  color: white;
  border-color: #162129;
}
.stats-stream-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 50%;
  background: var(--stream-color, #fff);
}
.stats-table-panel {
  margin-top: 6px;
}
.stats-table-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 17px 28px 22px;
}
.stats-table-toolbar p {
  margin-top: 5px;
  font-size: 0.8125rem;
  color: var(--stats-muted);
}
.stats-table-scroll {
  width: 100%;
  overflow-x: auto;
  scrollbar-width: thin;
}
.stats-table {
  width: 100%;
  min-width: 1100px;
  border-collapse: separate;
  border-spacing: 0;
  text-align: right;
  font-size: 0.875rem;
  font-variant-numeric: tabular-nums;
}
.stats-table th,
.stats-table td {
  padding: 18px;
  border-bottom: 1px solid #edf0f4;
  white-space: nowrap;
}
.stats-table th:first-child,
.stats-table td:first-child {
  padding-left: 28px;
  text-align: left;
}
.stats-table thead th {
  padding: 0;
  border-top: 1px solid #edf0f4;
  background: #f6f8fb;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #586676;
}
.stats-table thead th:first-child {
  padding-left: 10px;
}
.stats-table th button {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  width: 100%;
  min-height: 59px;
  padding: 13px 18px;
  border: 0;
  background: none;
  font-size: inherit;
  font-weight: inherit;
  white-space: nowrap;
  text-align: inherit;
}
.stats-table th:first-child button {
  justify-content: flex-start;
}
.stats-table th button:hover {
  color: var(--blue);
  background: #edf2ff;
}
.stats-table th[aria-sort]:not([aria-sort="none"]) {
  color: var(--blue);
}
.stats-sort-icon {
  font-size: 0.875rem;
  color: #8a97ab;
}
.stats-table tbody th {
  font-weight: 600;
}
.stats-table tbody tr:hover > * {
  background: #f8faff;
}
.stats-table tbody tr:nth-child(even) {
  background: #fcfdff;
}
.stats-table .stats-sales-cell {
  color: #12775b;
  font-weight: 600;
}
.stats-table .stats-pending-cell {
  color: #966410;
}
.stats-table .stats-money-cell {
  font-weight: 800;
}
.stats-table small {
  display: block;
  margin-top: 3px;
  color: var(--stats-muted);
  font-size: 0.75rem;
  font-weight: 400;
}
.stats-table tfoot {
  background: #edf2ff;
}
.stats-table tfoot th,
.stats-table tfoot td {
  border-bottom: 0;
  font-weight: 800;
}
.stats-channel-label {
  display: flex;
  align-items: center;
  gap: 10px;
}
.stats-share-track {
  width: 105px;
  height: 3px;
  margin-top: 8px;
  border-radius: 3px;
  overflow: hidden;
  background: #e5eaf2;
}
.stats-share-track span {
  display: block;
  height: 100%;
  background: var(--stream-color);
}
.stats-table-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 16px 28px;
  border-top: 1px solid var(--stats-line);
}
.stats-table-bottom p {
  font-size: 0.75rem;
  color: var(--stats-muted);
}
.stats-pagination {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
}
.stats-pagination > span {
  margin-right: 8px;
  font-size: 0.8125rem;
  color: var(--stats-muted);
}
.stats-pagination button {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--stats-line);
  border-radius: 8px;
  background: white;
  font-size: 1rem;
}
.stats-pagination button:not(:disabled):hover {
  background: #edf2ff;
  border-color: #b8c8ee;
}
.stats-order-details {
  border-top: 1px solid var(--stats-line);
  padding: 24px 28px;
}
.stats-status-list {
  display: flex;
  gap: 22px 36px;
  flex-wrap: wrap;
  margin-top: 17px !important;
}
.stats-status-list > div {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: 0.875rem;
}
.stats-status-list dt {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--stats-muted);
}
.stats-status-list dt::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: none;
  border-radius: 50%;
  background: var(--status-color);
}
.stats-status-list dd {
  white-space: nowrap;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.stats-status-list dd small {
  margin-left: 7px;
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--stats-muted);
}
.stats-methodology {
  padding: 0 28px 26px;
  color: var(--stats-muted);
  font-size: 0.875rem;
}
.stats-methodology summary {
  width: fit-content;
  padding: 8px 0;
  cursor: pointer;
  font-weight: 600;
}
.stats-methodology > div {
  max-width: 990px;
  padding-top: 8px;
}
.stats-methodology p + p {
  margin-top: 10px;
}
.stats .stats-fallback {
  margin-top: 24px;
  padding: 24px;
  background: white;
  border: 1px solid var(--stats-line);
  border-radius: 16px;
}
.stats-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
@keyframes stats-arrive {
  from {
    opacity: 0.55;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes stats-trace {
  from {
    stroke-dashoffset: 1;
  }
  to {
    stroke-dashoffset: 0;
  }
}
.stats[data-stats-entered="true"] .stats-audience {
  animation: stats-arrive 0.65s both;
}
.stats[data-stats-entered="true"] .stats-chart-line {
  stroke-dasharray: 1;
  animation: stats-trace 0.95s ease-out both;
}
@media (max-width: 1150px) {
  .stats-stage {
    padding: 38px 32px;
    gap: 32px;
  }
  .stats-results {
    padding-inline: 32px;
  }
  .stats .stats-period-caption {
    margin-inline: 32px;
  }
  .stats-showcase-top {
    padding-inline: 28px;
  }
}
@media (max-width: 850px) {
  .stats {
    margin-top: 54px;
  }
  .stats-stage {
    gap: 22px;
    padding-inline: 26px;
  }
  .stats .stats-audience-number {
    font-size: 5.2rem;
    gap: 9px;
  }
  .stats-audience h3 {
    font-size: 1.1rem;
  }
  .stats-results {
    padding-inline: 26px;
  }
  .stats-results-grid {
    gap: 18px;
  }
  .stats-results-grid > div {
    padding-right: 12px;
  }
  .stats-results-grid dt {
    font-size: 0.8125rem;
  }
  .stats-results-grid dd {
    font-size: 1.6rem;
  }
  .stats .stats-period-caption {
    margin-inline: 26px;
  }
  .stats .stats-intro {
    display: none;
  }
}
@media (max-width: 650px) {
  .stats-heading {
    margin-bottom: 24px;
  }
  .stats h2 {
    font-size: clamp(2.3rem, 9.7vw, 3.1rem);
  }
  .stats-showcase {
    border-radius: 21px;
  }
  .stats-showcase-top {
    padding: 22px 22px 0;
    gap: 17px;
  }
  .stats-periods {
    width: 100%;
  }
  .stats-periods button {
    flex: 1;
    padding: 9px 8px;
  }
  .stats-stage {
    grid-template-columns: minmax(0, 1fr);
    padding: 30px 24px 26px;
    gap: 34px;
  }
  .stats .stats-audience-number {
    font-size: clamp(4.8rem, 21vw, 6.6rem);
  }
  .stats-audience h3 {
    margin-top: 17px;
    font-size: 1.2rem;
  }
  .stats-audience h3 br {
    display: none;
  }
  .stats-audience-note {
    max-width: none;
  }
  .stats-chart {
    height: 116px;
  }
  .stats-chart-hint {
    font-size: 0.75rem;
  }
  .stats-results {
    padding: 22px 24px 0;
  }
  .stats .stats-results-label {
    margin-bottom: 3px;
  }
  .stats-results-grid {
    display: block;
  }
  .stats-results-grid > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 15px 0;
    border: 0;
    border-bottom: 1px solid #2a354c;
  }
  .stats-results-grid > div:last-child {
    padding-right: 0;
  }
  .stats-results-grid dt {
    max-width: 44%;
    font-size: 0.875rem;
  }
  .stats-results-grid dd {
    margin: 0;
    font-size: clamp(1.35rem, 5.5vw, 1.8rem);
  }
  .stats .stats-period-caption {
    margin: 15px 24px 23px;
  }
  .stats-details > summary {
    padding: 20px;
  }
  .stats-details > summary small {
    max-width: 195px;
  }
  .stats-filter-heading {
    padding-inline: 20px;
  }
  .stats-streams {
    padding-inline: 20px;
  }
  .stats-table-toolbar {
    align-items: stretch;
    flex-direction: column;
    padding: 15px 20px 20px;
  }
  .stats-table-toolbar .stats-segments button {
    flex: 1;
  }
  .stats-table-bottom {
    padding: 15px 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .stats-pagination {
    align-self: flex-end;
  }
  .stats-order-details {
    padding: 22px 20px;
  }
  .stats-status-list {
    display: block;
  }
  .stats-status-list > div {
    margin-top: 13px;
    justify-content: space-between;
  }
  .stats-methodology {
    padding-inline: 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .stats *,
  .stats *::before,
  .stats *::after {
    animation: none !important;
    transition: none !important;
  }
  .stats .stats-chart-line {
    stroke-dasharray: none;
  }
}
