:root {
  color-scheme: light;
  --bg: #f5f3ef;
  --panel: #fffefa;
  --ink: #242830;
  --muted: #68727e;
  --line: #ddd7cc;
  --rose: #c9586a;
  --cyan: #1c7f85;
  --amber: #a67518;
  --iris: #6d61a8;
  font-family: "Segoe UI", "Noto Sans SC", "Microsoft YaHei", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--bg);
}

a {
  color: inherit;
  text-decoration: none;
}

:focus-visible {
  outline: 3px solid #c52b70;
  outline-offset: 4px;
}

.topbar a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0 10px;
  border-bottom: 1px solid var(--line);
}

.brand {
  font-size: 0.96rem;
  font-weight: 850;
}

nav {
  display: flex;
  gap: 16px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.shell {
  display: grid;
  grid-template-columns: minmax(220px, 0.55fr) minmax(0, 1.45fr);
  gap: 28px;
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
  padding: 38px 0 72px;
}

.intro {
  padding-top: 4px;
}

.kicker {
  margin: 0 0 10px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 12px;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.06;
  letter-spacing: 0;
}

.intro p:last-child {
  max-width: 16rem;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.panel {
  grid-column: 2;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.panel + .panel {
  margin-top: 16px;
}

.panel-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}

.panel-head h2 {
  margin: 0;
  font-size: 1rem;
  letter-spacing: 0;
}

.panel-head span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 750;
}

.index-list {
  display: grid;
}

.index-row {
  --accent: var(--cyan);
  display: grid;
  grid-template-columns: minmax(9rem, 1.2fr) minmax(7rem, 0.8fr) auto;
  gap: 14px;
  align-items: center;
  min-height: 54px;
  padding: 13px 16px;
  border-left: 3px solid transparent;
  border-bottom: 1px solid var(--line);
}

.index-row:last-child {
  border-bottom: 0;
}

.index-row:hover {
  border-left-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 6%, var(--panel));
}

.index-row strong {
  font-size: 1rem;
  line-height: 1.35;
}

.index-row span {
  color: var(--muted);
  font-size: 0.9rem;
}

.index-row em {
  justify-self: end;
  color: var(--accent);
  font-size: 0.84rem;
  font-style: normal;
  font-weight: 850;
  white-space: nowrap;
}

.rose { --accent: var(--rose); }
.cyan { --accent: var(--cyan); }
.amber { --accent: var(--amber); }
.iris { --accent: var(--iris); }

.updates ol {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.updates li {
  display: grid;
  grid-template-columns: 6.2rem 1fr;
  gap: 14px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  color: #424b56;
  line-height: 1.6;
}

.updates li:last-child {
  border-bottom: 0;
}

.updates time {
  color: var(--muted);
  font-size: 0.88rem;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 760px) {
  .topbar {
    width: min(100% - 24px, 980px);
    padding-top: 18px;
  }

  .shell {
    grid-template-columns: 1fr;
    width: min(100% - 24px, 980px);
    gap: 24px;
    padding-top: 30px;
  }

  .panel {
    grid-column: 1;
  }

  .intro p:last-child {
    max-width: none;
  }

  .index-row {
    grid-template-columns: 1fr auto;
  }

  .index-row span {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

@media (max-width: 480px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .index-row,
  .updates li {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .index-row em {
    justify-self: start;
  }
}
