:root {
  --bg: #eef6f1;
  --surface: #ffffff;
  --ink: #10241d;
  --muted: #5a7068;
  --line: #cfddd5;
  --green: #00a878;
  --green-dark: #0b2e25;
  --soft: #e6f7ef;
  --amber: #f2a42b;
  --rose: #e55343;
  --blue: #2f80ed;
  --teal: #24c6a6;
  --shadow: 0 18px 44px rgba(0, 96, 73, 0.14);
  --shadow-soft: 0 10px 26px rgba(0, 96, 73, 0.09);
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100dvh;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.62), rgba(238, 246, 241, 0.94) 38%, rgba(233, 241, 255, 0.82)),
    var(--bg);
  color: var(--ink);
}

.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 276px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 24px 18px 20px;
  background:
    linear-gradient(180deg, #0c4b3c 0%, #08281f 100%);
  color: #f8fbf8;
  box-shadow: 18px 0 44px rgba(20, 35, 29, 0.14);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: linear-gradient(145deg, #ffffff, #dcebe4);
  color: var(--green-dark);
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.brand p,
.label {
  margin: 0 0 6px;
  color: currentColor;
  opacity: 0.66;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand h1,
.topbar h2,
.section-title h3,
.brand-card h4 {
  margin: 0;
  letter-spacing: 0;
}

.brand h1 {
  font-size: 19px;
  line-height: 1.25;
}

.brand-nav {
  display: grid;
  gap: 8px;
}

.brand-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 50px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 13px;
  background: transparent;
  color: rgba(248, 251, 248, 0.72);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.brand-button:hover,
.brand-button.is-active {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.brand-button.is-active {
  box-shadow: inset 4px 0 0 #5ff0c0;
}

.brand-button span {
  opacity: 0.7;
  font-size: 12px;
}

.home-button {
  background: rgba(255, 255, 255, 0.1);
}

.side-note {
  margin-top: auto;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.07);
}

.side-note strong {
  display: block;
  line-height: 1.7;
}

.main {
  min-height: 100dvh;
  margin-left: 276px;
  padding: 30px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px 26px;
  background:
    linear-gradient(135deg, #ffffff 0%, #f2fff8 100%);
  box-shadow: var(--shadow);
}

.topbar h2 {
  font-size: 32px;
  line-height: 1.18;
}

.topbar p:last-child {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.topbar-badge {
  display: grid;
  place-items: center;
  min-width: 92px;
  min-height: 44px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--green), var(--blue));
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.platform-section {
  margin-top: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.platform-section.is-hidden,
.cover-section.is-hidden {
  display: none;
}

.cover-section {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 18px;
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: 8px;
  padding: 20px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92) 0%, rgba(235, 255, 246, 0.9) 48%, rgba(233, 241, 255, 0.95) 100%);
  box-shadow: 0 30px 80px rgba(13, 54, 44, 0.15);
}

.cover-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(12, 75, 60, 0.07) 1px, transparent 1px),
    linear-gradient(180deg, rgba(12, 75, 60, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(135deg, black, transparent 72%);
}

.cover-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 22px;
  min-height: 360px;
  border-radius: 8px;
  padding: 36px;
  background:
    linear-gradient(135deg, rgba(6, 29, 24, 0.96), rgba(11, 77, 63, 0.92) 52%, rgba(40, 92, 160, 0.88)),
    #0b2e25;
  color: #f8fff9;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 24px 56px rgba(8, 40, 31, 0.24);
}

.cover-hero::after {
  content: "";
  position: absolute;
  inset: auto 28px 28px;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.5), transparent);
}

.cover-copy {
  align-self: end;
  max-width: 760px;
}

.cover-copy .label {
  color: #9ef2cb;
  opacity: 1;
}

.cover-section h3 {
  margin: 0;
  max-width: 820px;
  font-size: 56px;
  line-height: 1.04;
  letter-spacing: 0;
}

.cover-section p:last-child {
  max-width: 720px;
  margin: 16px 0 0;
  color: rgba(248, 255, 249, 0.76);
  font-size: 17px;
  line-height: 1.75;
}

.cover-orbit {
  position: relative;
  align-self: center;
  justify-self: end;
  display: grid;
  place-items: center;
  width: min(100%, 310px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.16) 0 28%, transparent 29%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02));
}

.cover-orbit strong {
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffffff, #d6fff1);
  color: #0b3e32;
  font-size: 30px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
}

.cover-orbit span {
  position: absolute;
  display: grid;
  place-items: center;
  min-width: 58px;
  min-height: 30px;
  border-radius: 999px;
  padding: 0 10px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(248, 255, 249, 0.92);
  font-size: 13px;
  font-weight: 900;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.cover-orbit span:nth-child(1) { top: 18px; left: 50%; transform: translateX(-50%); }
.cover-orbit span:nth-child(2) { top: 76px; right: 14px; }
.cover-orbit span:nth-child(3) { right: 20px; bottom: 72px; }
.cover-orbit span:nth-child(4) { bottom: 18px; left: 50%; transform: translateX(-50%); }
.cover-orbit span:nth-child(5) { left: 18px; bottom: 72px; }
.cover-orbit span:nth-child(6) { top: 76px; left: 14px; }

.cover-metrics {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.cover-metrics div {
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 8px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 28px rgba(20, 35, 29, 0.07);
}

.cover-metrics strong {
  display: block;
  color: #0b3e32;
  font-size: 24px;
  line-height: 1;
}

.cover-metrics span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.cover-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.cover-card {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: 184px;
  text-align: left;
  border: 1px solid rgba(16, 36, 29, 0.1);
  border-radius: 8px;
  padding: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(250, 255, 252, 0.86));
  color: inherit;
  font: inherit;
  cursor: pointer;
  box-shadow: 0 14px 34px rgba(20, 35, 29, 0.08);
}

.cover-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--brand-color, var(--green)) 24%, transparent), transparent 42%),
    linear-gradient(180deg, transparent, color-mix(in srgb, var(--brand-color, var(--green)) 8%, transparent));
  opacity: 0.7;
}

.cover-card::after {
  content: "进入观察";
  position: absolute;
  right: 16px;
  bottom: 14px;
  color: var(--brand-color, var(--green));
  font-size: 12px;
  font-weight: 900;
}

.cover-card strong {
  position: relative;
  display: block;
  margin: 28px 0 10px;
  font-size: 25px;
}

.cover-card span {
  position: relative;
  color: var(--muted);
  line-height: 1.55;
}

.cover-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  min-height: 28px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--brand-color, var(--green)) 15%, #ffffff);
  color: var(--brand-color, var(--green)) !important;
  font-size: 12px;
  font-weight: 950;
}

.cover-card em {
  position: absolute;
  left: 18px;
  bottom: 14px;
  color: #2a423a;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.cover-card:hover,
.cover-card:focus-visible {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--brand-color, var(--green)) 42%, var(--line));
  box-shadow: 0 18px 36px rgba(20, 35, 29, 0.12);
}

.cover-card:focus-visible {
  outline: 3px solid rgba(15, 107, 85, 0.3);
  outline-offset: 2px;
}

.section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.section-title h3 {
  font-size: 23px;
}

.brand-card {
  border: 1px solid var(--line);
  border-left: 5px solid var(--brand-color, var(--green));
  border-radius: 8px;
  padding: 18px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f8fffb 100%);
  box-shadow: 0 8px 22px rgba(20, 35, 29, 0.04);
}

.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.brand-card h4 {
  font-size: 21px;
}

.source {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  border-radius: 999px;
  padding: 5px 10px;
  background: linear-gradient(135deg, #e4fff4, #eaf2ff);
  color: #067657;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  text-decoration: none;
}

.source::after {
  content: "↗";
  font-size: 11px;
}

.source:hover {
  background: linear-gradient(135deg, #cffff0, #dbe8ff);
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.detail-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--brand-color, var(--green)) 22%, var(--line));
  border-radius: 8px;
  padding: 14px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(246, 255, 250, 0.98) 100%);
}

.detail-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-color, var(--green)), var(--amber));
}

.detail-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-radius: 999px;
  padding: 0 10px;
  background: color-mix(in srgb, var(--brand-color, var(--green)) 12%, #ffffff);
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

.detail-panel ul {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.detail-panel li {
  position: relative;
  padding-left: 15px;
  color: #314840;
  line-height: 1.65;
}

.detail-panel li::before {
  content: "";
  position: absolute;
  top: 0.78em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--brand-color, var(--green));
}

.media-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 14px;
}

.media-card {
  display: grid;
  gap: 7px;
  min-height: 132px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--brand-color, var(--green)) 18%, #ffffff), #ffffff 58%),
    #ffffff;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(20, 35, 29, 0.05);
}

.media-thumb {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 54px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, var(--brand-color, var(--green)), var(--teal));
  color: #fff;
  font-size: 20px;
  font-weight: 950;
}

.media-card strong {
  font-size: 14px;
  line-height: 1.35;
}

.media-card small {
  color: var(--muted);
  font-weight: 800;
}

.media-card:hover,
.media-card:focus-visible {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--brand-color, var(--green)) 42%, var(--line));
  box-shadow: 0 15px 28px rgba(20, 35, 29, 0.11);
}

.trend-panel {
  display: grid;
  gap: 12px;
  margin: 0 0 14px;
  border: 1px solid color-mix(in srgb, var(--brand-color, var(--green)) 20%, var(--line));
  border-radius: 8px;
  padding: 14px;
  background:
    linear-gradient(135deg, #fffaf0 0%, #ffffff 48%, color-mix(in srgb, var(--brand-color, var(--green)) 9%, #ffffff) 100%);
}

.trend-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.trend-head p,
.trend-source,
.trend-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.trend-head p {
  margin-top: 8px;
}

.trend-head span {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 6px 10px;
  background: color-mix(in srgb, var(--brand-color, var(--green)) 12%, #ffffff);
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
}

.trend-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
}

.trend-grid div {
  min-height: 112px;
  border: 1px solid rgba(16, 36, 29, 0.08);
  border-radius: 8px;
  padding: 11px;
  background: rgba(255, 255, 255, 0.76);
}

.trend-grid strong {
  display: block;
  margin-bottom: 7px;
  color: var(--ink);
  font-size: 13px;
}

.trend-source {
  border-top: 1px dashed var(--line);
  padding-top: 10px;
  font-size: 13px;
}

.note-list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: note;
}

.note-list li {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  border-radius: 8px;
  padding: 11px 12px;
  background:
    linear-gradient(135deg, #f4fff9 0%, #ffffff 100%);
  color: var(--muted);
  line-height: 1.55;
}

.note-list strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffffff, #ecfff7);
  color: var(--ink);
  font-size: 13px;
  box-shadow: inset 0 0 0 1px var(--line);
}

@media (max-width: 960px) {
  .sidebar {
    position: static;
    width: auto;
  }

  .side-note {
    margin-top: 0;
  }

  .main {
    margin-left: 0;
    padding: 18px;
  }

  .topbar {
    align-items: stretch;
    flex-direction: column;
  }

  .topbar-badge {
    width: fit-content;
  }

  .cover-hero {
    grid-template-columns: 1fr;
  }

  .cover-orbit {
    justify-self: start;
    width: 260px;
  }

  .cover-grid,
  .cover-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .cover-grid,
  .cover-metrics {
    grid-template-columns: 1fr;
  }

  .detail-grid,
  .media-strip,
  .trend-grid {
    grid-template-columns: 1fr;
  }

  .trend-head {
    flex-direction: column;
  }

  .cover-section h3 {
    font-size: 34px;
  }

  .cover-hero {
    min-height: auto;
    padding: 24px;
  }

  .cover-orbit {
    display: none;
  }

  .note-list li {
    grid-template-columns: 1fr;
    gap: 7px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .brand-button,
  .cover-card,
  .source,
  .media-card {
    transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
  }
}
