:root {
  color-scheme: light;
  --page: #edf3f3;
  --surface: #fbfdfd;
  --surface-soft: #f4f8f7;
  --ink: #182526;
  --muted: #687979;
  --line: rgba(26, 66, 65, 0.09);
  --brand: #17686b;
  --brand-deep: #104f52;
  --red: #ea3f31;
  --red-deep: #c92620;
  --blue: #2678d9;
  --blue-deep: #185fba;
  --cyan: #22a9cb;
  --cyan-deep: #16829f;
  --purple: #8b35d7;
  --purple-deep: #6922b2;
  --shadow: 0 10px 30px rgba(30, 73, 72, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--page);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background: var(--page);
  color: var(--ink);
  font-family:
    "PingFang SC",
    "Microsoft YaHei",
    system-ui,
    -apple-system,
    sans-serif;
  letter-spacing: 0;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.page-shell {
  width: min(100%, 720px);
  min-height: 100vh;
  margin: 0 auto;
  background: var(--surface-soft);
  box-shadow: var(--shadow);
}

.site-header {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: calc(14px + env(safe-area-inset-top)) 18px 14px;
  border-bottom: 1px solid var(--line);
  background: rgba(251, 253, 253, 0.96);
}

.brand-lockup {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  position: relative;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border: 1px solid rgba(23, 104, 107, 0.12);
  border-radius: 8px;
  background: #e6f1f0;
  overflow: hidden;
}

.brand-mark span {
  position: absolute;
  display: block;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  box-shadow: inset 0 -3px 5px rgba(13, 47, 49, 0.18);
}

.brand-mark span:nth-child(1) {
  top: 7px;
  left: 8px;
  background: var(--cyan);
}

.brand-mark span:nth-child(2) {
  top: 10px;
  right: 7px;
  background: var(--purple);
}

.brand-mark span:nth-child(3) {
  bottom: 6px;
  left: 14px;
  background: var(--red);
}

.brand-kicker {
  margin: 0 0 2px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
}

h1 {
  max-width: 12em;
  margin: 0;
  overflow: hidden;
  color: var(--brand-deep);
  font-size: 20px;
  font-weight: 750;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.action-link {
  display: inline-flex;
  min-width: 82px;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  padding: 8px 13px;
  border-radius: 6px;
  background: var(--brand);
  box-shadow: 0 5px 14px rgba(23, 104, 107, 0.2);
  color: #f7fbfa;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.action-link:active {
  background: var(--brand-deep);
  transform: translateY(1px);
}

.is-hidden {
  display: none !important;
}

.site-notice {
  margin: 0;
  padding: 10px 18px;
  border-bottom: 1px solid var(--line);
  background: #eaf3f1;
  color: #506b69;
  font-size: 12px;
  line-height: 1.55;
  overflow-wrap: anywhere;
  white-space: pre-line;
}

.content-list {
  display: grid;
  gap: 8px;
  padding: 8px 0;
}

.info-entry {
  position: relative;
  padding: 20px 18px 22px;
  border-top: 1px solid rgba(26, 66, 65, 0.045);
  border-bottom: 1px solid rgba(26, 66, 65, 0.06);
  background: var(--surface);
}

.entry-heading {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}

.entry-marker {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(23, 104, 107, 0.1);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(34, 169, 203, 0.14), rgba(139, 53, 215, 0.09)),
    #f0f7f6;
  color: var(--brand);
  font-size: 17px;
  font-weight: 800;
}

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

.entry-name h2 {
  margin: 0;
  overflow-wrap: anywhere;
  color: #1c6271;
  font-size: 18px;
  font-weight: 720;
  line-height: 1.3;
}

.entry-date {
  align-self: start;
  padding-top: 2px;
  color: #31403f;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  line-height: 1.4;
  white-space: nowrap;
}

.entry-summary {
  margin: 0 0 12px;
  color: #765d72;
  font-size: 13px;
  line-height: 1.6;
  overflow-wrap: anywhere;
  white-space: pre-line;
}

.entry-data {
  margin-top: 17px;
  padding-left: 56px;
}

.data-section {
  display: grid;
  gap: 11px;
}

.data-row {
  display: grid;
  grid-template-columns: minmax(54px, auto) minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}

.data-label {
  color: #374746;
  font-size: 14px;
  line-height: 1.35;
  white-space: nowrap;
}

.reference-section .data-label {
  color: #9c393f;
}

.ball-list {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  gap: 8px;
}

.number-ball {
  position: relative;
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  flex: 0 0 38px;
  border: 1px solid rgba(60, 70, 70, 0.08);
  border-radius: 50%;
  box-shadow:
    inset 0 -5px 7px rgba(57, 27, 19, 0.16),
    inset 0 4px 5px rgba(255, 255, 255, 0.22),
    0 2px 4px rgba(25, 62, 61, 0.14);
  color: #f9fbfb;
  font-size: 17px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.number-ball::after {
  position: absolute;
  top: 5px;
  left: 9px;
  width: 12px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  content: "";
  filter: blur(1px);
}

.number-ball.red {
  background: linear-gradient(145deg, #f45b47, var(--red-deep));
}

.number-ball.blue {
  background: linear-gradient(145deg, #4396e9, var(--blue-deep));
}

.number-ball.cyan {
  background: linear-gradient(145deg, #4cc4df, var(--cyan-deep));
}

.number-ball.purple {
  background: linear-gradient(145deg, #a74ee9, var(--purple-deep));
}

.section-divider {
  height: 1px;
  margin: 14px 0;
  background: linear-gradient(90deg, rgba(23, 104, 107, 0.42), rgba(23, 104, 107, 0.06));
}

.status-panel {
  display: grid;
  min-height: 260px;
  place-items: center;
  align-content: center;
  gap: 16px;
  padding: 32px 20px;
  background: var(--surface);
  color: var(--muted);
  text-align: center;
}

.status-panel h2 {
  margin: 0;
  color: var(--ink);
  font-size: 18px;
}

.status-panel p {
  max-width: 24em;
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
}

.status-panel button {
  min-height: 38px;
  padding: 8px 16px;
  border: 0;
  border-radius: 6px;
  background: var(--brand);
  color: #f7fbfa;
  font: inherit;
  font-size: 14px;
  font-weight: 650;
}

.loading-dots {
  display: flex;
  gap: 7px;
}

.loading-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  animation: pulse 1.1s infinite ease-in-out;
  background: var(--brand);
}

.loading-dots span:nth-child(2) {
  animation-delay: 0.14s;
}

.loading-dots span:nth-child(3) {
  animation-delay: 0.28s;
}

.site-footer {
  padding: 24px 18px calc(28px + env(safe-area-inset-bottom));
  color: #7b8c8b;
  text-align: center;
}

.site-footer p {
  margin: 9px 0 0;
  font-size: 11px;
  line-height: 1.5;
}

.site-footer a {
  display: inline-block;
  margin-top: 5px;
  color: inherit;
  font-size: 11px;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.footer-rule {
  display: block;
  width: 28px;
  height: 2px;
  margin: 0 auto;
  background: rgba(23, 104, 107, 0.22);
}

@keyframes pulse {
  0%,
  70%,
  100% {
    opacity: 0.35;
    transform: scale(0.8);
  }
  35% {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 440px) {
  .site-header {
    min-height: 74px;
    padding-right: 14px;
    padding-left: 14px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  h1 {
    max-width: 9em;
    font-size: 18px;
  }

  .action-link {
    min-width: 72px;
    min-height: 36px;
    padding: 7px 10px;
    font-size: 13px;
  }

  .info-entry {
    padding: 18px 14px 20px;
  }

  .entry-heading {
    grid-template-columns: 40px minmax(0, 1fr) auto;
    gap: 9px;
  }

  .entry-marker {
    width: 38px;
    height: 38px;
    font-size: 15px;
  }

  .entry-name h2 {
    font-size: 16px;
  }

  .entry-date {
    font-size: 12px;
  }

  .entry-data {
    margin-top: 15px;
    padding-left: 49px;
  }

  .data-row {
    grid-template-columns: 50px minmax(0, 1fr);
    gap: 8px;
  }

  .data-label {
    font-size: 13px;
  }

  .ball-list {
    gap: 6px;
  }

  .number-ball {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
    font-size: 15px;
  }
}

@media (max-width: 350px) {
  .entry-date {
    display: none;
  }

  .entry-heading {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .entry-data {
    padding-left: 47px;
  }

  .number-ball {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .loading-dots span {
    animation: none;
  }
}
