:root {
  color-scheme: light dark;
  font-family: "Microsoft YaHei UI", "Segoe UI", sans-serif;
  background: #f6f8f9;
  color: #172126;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 280px;
  background: #f6f8f9;
  color: #172126;
}

.inner {
  width: min(1040px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  border-bottom: 1px solid #d9e0e3;
  background: #ffffff;
}

.brand-row {
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 6px;
  font-size: 32px;
  line-height: 1.1;
  letter-spacing: 0;
}

.brand-row p,
.muted {
  margin-bottom: 0;
  color: #5d6b72;
}

.channel {
  border: 1px solid #a8b5bb;
  border-radius: 4px;
  padding: 6px 10px;
  color: #36515c;
  font-size: 13px;
  font-weight: 700;
}

.summary-band {
  padding: 54px 0;
  background: #eef4f3;
  border-bottom: 1px solid #d5e1df;
}

.summary-grid,
.details-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
}

.summary-grid > div {
  min-width: 0;
}

.label {
  display: block;
  margin-bottom: 8px;
  color: #42545c;
  font-size: 14px;
  font-weight: 700;
}

.summary-grid strong {
  display: block;
  margin-bottom: 18px;
  color: #123d3a;
  font-size: 34px;
  line-height: 1.15;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.download {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  padding: 8px 15px;
  background: #0f766e;
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
}

.download:hover,
.download:focus-visible {
  background: #0b5e58;
}

.details-band {
  padding: 46px 0 64px;
  background: #ffffff;
}

h2 {
  margin-bottom: 18px;
  font-size: 18px;
  letter-spacing: 0;
}

dl {
  margin: 0;
}

dl div {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #e2e7e9;
}

dt {
  color: #64737a;
}

dd {
  margin: 0;
  font-weight: 650;
}

.notice {
  border-left: 4px solid #d89a16;
  padding: 4px 0 4px 20px;
}

.notice p,
.error-band p {
  margin-bottom: 0;
  color: #52636b;
  line-height: 1.8;
}

.error-band {
  padding: 24px 0;
  border-top: 1px solid #efc2bd;
  background: #fff1ef;
  color: #852c23;
}

footer {
  padding: 22px 0;
  border-top: 1px solid #d9e0e3;
  color: #66757c;
  font-size: 13px;
}

.hidden {
  display: none;
}

@media (max-width: 680px) {
  .inner {
    width: min(100% - 28px, 1040px);
  }

  .brand-row {
    min-height: 96px;
  }

  h1 {
    font-size: 27px;
  }

  .summary-band {
    padding: 36px 0;
  }

  .summary-grid,
  .details-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .summary-grid strong {
    font-size: 29px;
  }
}

@media (prefers-color-scheme: dark) {
  :root,
  body {
    background: #151a1c;
    color: #eef3f4;
  }

  .topbar,
  .details-band {
    background: #1c2326;
    border-color: #354247;
  }

  .summary-band {
    background: #19302e;
    border-color: #31504d;
  }

  .summary-grid strong {
    color: #8fe0d7;
  }

  .brand-row p,
  .muted,
  dt,
  .notice p,
  .error-band p,
  footer {
    color: #aab8bd;
  }

  dl div,
  footer {
    border-color: #354247;
  }

  .channel {
    border-color: #607278;
    color: #c4d7dc;
  }

  .error-band {
    border-color: #72433f;
    background: #351f1d;
    color: #ffb7af;
  }
}
