:root {
  color-scheme: light;
  --bg: #f4f5f6;
  --surface: #ffffff;
  --surface-soft: #fafafa;
  --ink: #202326;
  --ink-soft: #5d6672;
  --ink-muted: #747d88;
  --border: #dfe3e7;
  --border-soft: #eceef0;
  --doll: #b42343;
  --doll-strong: #8e1732;
  --doll-soft: #fff1f3;
  --clothing: #0f766e;
  --clothing-soft: #eaf8f5;
  --warning: #9a6208;
  --warning-soft: #fff7e5;
  --error: #b42318;
  --error-soft: #fff0ee;
  --focus: #1267a5;
  --radius: 8px;
  --shadow: 0 10px 30px rgba(32, 35, 38, 0.07);
  --content: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--bg);
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

button,
a {
  touch-action: manipulation;
}

button {
  font: inherit;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  transform: translateY(-150%);
  border-radius: 4px;
  background: var(--surface);
  color: var(--ink);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header,
.hero-band {
  background: #202326;
  color: #ffffff;
}

.header-inner,
.hero-inner,
.content-shell,
.footer-inner {
  width: min(100% - 32px, var(--content));
  margin-inline: auto;
}

.header-inner {
  display: flex;
  min-height: 94px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 18px;
}

.event-kicker,
.section-kicker {
  margin: 0 0 4px;
  color: #cfd3d8;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
}

.site-header h1 {
  margin: 0;
  font-size: 28px;
  line-height: 1.25;
}

.phase-state {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  gap: 8px;
  color: #f1f3f5;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

.live-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: #ef5a72;
  box-shadow: 0 0 0 5px rgba(239, 90, 114, 0.14);
  animation: live-pulse 1.8s ease-out infinite;
}

.phase-state.is-delayed .live-dot,
.phase-state.is-pre-sale .live-dot {
  background: #f0ad3d;
  box-shadow: none;
  animation: none;
}

.phase-state.is-sold-out .live-dot {
  background: #5dd1bd;
  box-shadow: none;
  animation: none;
}

@keyframes live-pulse {
  0% { box-shadow: 0 0 0 0 rgba(239, 90, 114, 0.36); }
  70%, 100% { box-shadow: 0 0 0 8px rgba(239, 90, 114, 0); }
}

.hero-inner {
  position: relative;
  min-height: 380px;
  overflow: hidden;
}

.hero-copy {
  position: relative;
  z-index: 1;
  display: flex;
  width: 62%;
  min-height: 380px;
  flex-direction: column;
  justify-content: center;
  padding: 36px 56px 44px 0;
  background: rgba(32, 35, 38, 0.91);
}

.product-label {
  width: fit-content;
  margin-bottom: 12px;
  padding: 4px 8px;
  border-left: 3px solid #ef5a72;
  color: #e7eaed;
  font-size: 13px;
  font-weight: 700;
}

.hero-copy h2 {
  max-width: 620px;
  margin: 0;
  font-size: 40px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.hero-total {
  display: flex;
  min-height: 80px;
  align-items: baseline;
  gap: 9px;
  margin-top: 24px;
  font-size: 42px;
  font-variant-numeric: tabular-nums;
}

.hero-total strong {
  color: #ff7b91;
  font-size: 80px;
  line-height: 1;
}

.hero-breakdown,
.hero-meta {
  margin: 10px 0 0;
  color: #cfd3d8;
  font-variant-numeric: tabular-nums;
}

.hero-meta {
  min-height: 24px;
  font-size: 13px;
}

.limit-track {
  width: min(100%, 560px);
  height: 7px;
  margin-top: 18px;
  overflow: hidden;
  border-radius: 4px;
  background: #464b50;
}

.limit-track span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: #ef5a72;
  transition: width 240ms ease-out;
}

.hero-media {
  position: absolute;
  inset: 0;
  margin: 0;
}

.hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 66% 44%;
}

.status-strip {
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 8px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--warning-soft);
  color: #704600;
  text-align: center;
}

.status-strip.is-ok {
  background: #edf8f5;
  color: #0b5f58;
}

.status-strip.is-error {
  background: var(--error-soft);
  color: var(--error);
}

.retry-button {
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid currentColor;
  border-radius: 6px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-weight: 700;
}

.retry-button:active,
.page-button:active,
.segment:active {
  opacity: 0.72;
}

.retry-button:disabled,
.page-button:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.content-shell {
  padding-block: 24px 56px;
}

.speed-summary {
  display: grid;
  min-height: 104px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.summary-cell {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: 18px 20px;
  border-left: 1px solid var(--border-soft);
}

.summary-cell:first-child {
  border-left: 0;
}

.summary-cell span {
  color: var(--ink-muted);
  font-size: 13px;
}

.summary-cell strong {
  min-height: 42px;
  margin-top: 4px;
  color: var(--doll);
  font-size: 30px;
  line-height: 1.3;
  font-variant-numeric: tabular-nums;
}

.summary-cell .summary-time {
  color: var(--ink);
  font-size: 21px;
}

.product-section,
.clothing-section,
.history-section {
  margin-top: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.product-section,
.history-section {
  padding: 24px;
}

.doll-section {
  border-top: 3px solid var(--doll);
}

.section-heading {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.section-kicker {
  color: var(--ink-muted);
}

.section-heading h2 {
  margin: 0;
  font-size: 21px;
  line-height: 1.35;
}

.freshness,
.history-count {
  color: var(--ink-muted);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.freshness.is-delayed {
  color: var(--warning);
  font-weight: 700;
}

.sku-list {
  margin-top: 12px;
}

.sku-row {
  display: grid;
  min-height: 92px;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 20px;
  align-items: center;
  padding: 16px 0;
  border-top: 1px solid var(--border-soft);
}

.sku-row:first-child {
  border-top: 0;
}

.sku-name {
  min-width: 0;
}

.sku-name strong {
  display: block;
  overflow-wrap: anywhere;
}

.sku-name span,
.sku-sales small {
  color: var(--ink-muted);
  font-size: 13px;
}

.sku-sales {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.sku-sales strong {
  display: block;
  color: var(--doll);
  font-size: 22px;
}

.sku-meter {
  grid-column: 1 / -1;
  width: 100%;
  height: 6px;
  overflow: hidden;
  border-radius: 3px;
  background: #eceef0;
}

.sku-meter span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--doll);
  transition: width 240ms ease-out;
}

.sku-placeholder {
  height: 84px;
  margin-top: 1px;
  border-top: 1px solid var(--border-soft);
  background: var(--surface-soft);
}

.sku-placeholder.compact {
  height: 52px;
}

.clothing-section {
  display: grid;
  grid-template-columns: minmax(180px, 0.34fr) minmax(0, 0.66fr);
  overflow: hidden;
  border-top: 3px solid var(--clothing);
}

.clothing-media {
  min-height: 300px;
  margin: 0;
  background: #eef2f1;
}

.clothing-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.clothing-content {
  min-width: 0;
  padding: 24px;
}

.clothing-heading-row {
  align-items: center;
}

.clothing-total {
  color: var(--clothing);
  font-size: 34px;
  font-variant-numeric: tabular-nums;
}

.clothing-freshness {
  min-height: 22px;
  margin: 6px 0 0;
}

.clothing-skus {
  margin-top: 8px;
}

.clothing-row {
  display: grid;
  min-height: 54px;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  border-top: 1px solid var(--border-soft);
}

.clothing-row:first-child {
  border-top: 0;
}

.clothing-row span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.clothing-row span small {
  margin-left: 8px;
  color: var(--ink-muted);
}

.clothing-row strong {
  color: var(--clothing);
  font-size: 19px;
  font-variant-numeric: tabular-nums;
}

.history-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
}

.history-section {
  min-width: 0;
  box-shadow: none;
}

.history-heading {
  align-items: center;
}

.segmented-control {
  display: grid;
  min-height: 52px;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  margin: 18px 0 16px;
  padding: 3px;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: #f1f3f4;
}

.segment {
  min-width: 0;
  min-height: 44px;
  padding: 8px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  font-size: 13px;
  transition: background-color 180ms ease-out, color 180ms ease-out;
}

.segment.is-active {
  background: var(--surface);
  color: var(--doll-strong);
  box-shadow: 0 1px 4px rgba(32, 35, 38, 0.1);
  font-weight: 700;
}

.record-head,
.speed-record {
  display: grid;
  grid-template-columns: 82px 76px 76px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
}

.record-head {
  padding: 0 8px 8px;
  color: var(--ink-muted);
  font-size: 12px;
}

.record-list,
.timeline {
  min-height: 250px;
}

.speed-record {
  min-height: 64px;
  padding: 11px 8px;
  border-top: 1px solid var(--border-soft);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.speed-record__delta {
  color: var(--doll);
  font-size: 19px;
  font-weight: 750;
}

.speed-record__breakdown {
  color: var(--ink-muted);
  overflow-wrap: anywhere;
}

.speed-record.is-missing {
  color: var(--ink-muted);
  background: #fafafa;
}

.cadence-row {
  min-height: 46px;
  margin: 18px 0 8px;
  padding: 11px 13px;
  border-left: 3px solid var(--doll);
  background: var(--doll-soft);
  color: var(--doll-strong);
  font-size: 13px;
  font-weight: 700;
}

.milestone-record {
  position: relative;
  min-height: 76px;
  margin-left: 6px;
  padding: 10px 4px 14px 20px;
  border-left: 1px solid #d8dde1;
}

.milestone-record::before {
  position: absolute;
  top: 16px;
  left: -5px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--doll);
  content: "";
}

.milestone-record.is-missing::before {
  border: 2px solid #9aa1a9;
  background: var(--surface);
}

.milestone-record.is-final::before {
  background: var(--clothing);
  box-shadow: 0 0 0 4px var(--clothing-soft);
}

.milestone-title {
  display: flex;
  min-width: 0;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

.milestone-title strong {
  color: var(--doll);
}

.milestone-record.is-final .milestone-title strong {
  color: var(--clothing);
}

.milestone-detail {
  margin: 4px 0 0;
  color: var(--ink-muted);
  font-size: 12px;
  overflow-wrap: anywhere;
}

.empty-state {
  display: grid;
  min-height: 180px;
  place-items: center;
  margin: 0;
  padding: 24px;
  color: var(--ink-muted);
  text-align: center;
}

.pagination {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border-soft);
  color: var(--ink-muted);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.page-button {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  font-size: 20px;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: #202326;
  color: #cfd3d8;
}

.footer-inner {
  display: flex;
  min-height: 112px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 24px;
}

.footer-inner p {
  margin: 0;
  font-size: 13px;
}

.product-links {
  display: flex;
  gap: 18px;
}

.product-links a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: #ffffff;
  font-size: 14px;
  text-underline-offset: 4px;
}

@media (max-width: 820px) {
  .header-inner {
    min-height: 84px;
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
    padding-block: 16px;
  }

  .site-header h1 {
    font-size: 24px;
  }

  .hero-copy {
    width: 67%;
  }

  .hero-copy h2 {
    font-size: 32px;
  }

  .hero-total strong {
    font-size: 68px;
  }

  .history-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

@media (max-width: 600px) {
  .header-inner,
  .hero-inner,
  .content-shell,
  .footer-inner {
    width: min(100% - 24px, var(--content));
  }

  .hero-inner {
    width: 100%;
    min-height: 316px;
  }

  .hero-copy {
    width: 67%;
    min-height: 316px;
    padding: 24px 12px;
  }

  .hero-copy h2 {
    font-size: 21px;
  }

  .hero-total {
    min-height: 58px;
    margin-top: 18px;
    gap: 5px;
    font-size: 18px;
  }

  .hero-total strong {
    font-size: 48px;
  }

  .hero-breakdown {
    font-size: 13px;
  }

  .hero-media img {
    object-position: 64% 44%;
  }

  .status-strip {
    align-items: stretch;
    flex-direction: column;
    gap: 4px;
    padding-block: 8px;
  }

  .speed-summary {
    min-height: 94px;
  }

  .summary-cell {
    padding: 12px 8px;
  }

  .summary-cell span {
    font-size: 11px;
  }

  .summary-cell strong {
    min-height: 34px;
    font-size: 24px;
  }

  .summary-cell .summary-time {
    font-size: 15px;
    overflow-wrap: anywhere;
  }

  .product-section,
  .history-section,
  .clothing-content {
    padding: 18px 16px;
  }

  .section-heading h2 {
    font-size: 19px;
  }

  .clothing-section {
    grid-template-columns: 104px minmax(0, 1fr);
  }

  .clothing-media {
    min-height: 310px;
  }

  .clothing-total {
    font-size: 28px;
  }

  .clothing-heading-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .clothing-row {
    grid-template-columns: 1fr;
    gap: 1px;
    padding-block: 8px;
  }

  .clothing-row strong {
    justify-self: start;
  }

  .record-head,
  .speed-record {
    grid-template-columns: 66px 54px 60px minmax(0, 1fr);
    gap: 5px;
  }

  .record-head {
    padding-inline: 0;
    font-size: 11px;
  }

  .speed-record {
    min-height: 70px;
    padding-inline: 0;
    font-size: 12px;
  }

  .speed-record__delta {
    font-size: 17px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 370px) {
  .segment {
    font-size: 12px;
  }

  .record-head,
  .speed-record {
    grid-template-columns: 61px 50px 54px minmax(0, 1fr);
    gap: 4px;
  }

  .speed-record__breakdown {
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
