:root {
  --canvas: #f3f5f9;
  --surface: #ffffff;
  --surface-soft: #f8fafc;
  --ink: #1f2933;
  --muted: #667085;
  --line: #e3e7ed;
  --line-strong: #d4dae3;
  --accent: #168a55;
  --accent-soft: #eaf7f0;
  --blue: #2f6fed;
  --orange: #f25c05;
  --risk: #c83b3b;
  --shadow: 0 8px 24px rgba(25, 35, 50, 0.06);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.25;
  letter-spacing: 0;
}

h1 {
  font-size: 34px;
}

h2 {
  font-size: 22px;
}

h3 {
  font-size: 18px;
}

.site-shell {
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr);
  min-height: 100vh;
}

.sidebar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100vh;
  padding: 0 14px 18px;
  border-right: 1px solid var(--line);
  background: var(--surface);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 72px;
  padding: 10px 8px;
}

.brand-mark {
  display: grid;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 6px;
  background: #17202b;
  color: #ffffff;
  font-size: 18px;
  font-weight: 800;
}

.brand-copy {
  display: grid;
  min-width: 0;
  line-height: 1.2;
}

.brand-copy strong {
  font-size: 16px;
}

.brand-copy small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.sidebar-section-label {
  padding: 16px 12px 8px;
  color: #98a2b3;
  font-size: 12px;
}

.sidebar-nav {
  display: grid;
  gap: 4px;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 44px;
  padding: 9px 12px;
  border-left: 3px solid transparent;
  border-radius: 4px;
  color: #475467;
  font-size: 14px;
  font-weight: 600;
}

.sidebar-link:hover {
  background: var(--surface-soft);
  color: var(--ink);
}

.sidebar-link.is-active {
  border-left-color: #17202b;
  background: #eef0f3;
  color: #17202b;
}

.nav-icon {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  color: currentColor;
  font-size: 15px;
  font-weight: 800;
}

.sidebar-status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding: 12px;
  color: var(--muted);
  font-size: 12px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.main-stage {
  min-width: 0;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 15;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 58px;
  padding: 10px 22px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
}

.breadcrumb-home {
  color: #475467;
  font-size: 18px;
}

.topbar-note {
  color: var(--muted);
  font-size: 13px;
}

.workspace {
  width: min(1540px, 100%);
  min-height: calc(100vh - 116px);
  margin: 0 auto;
  padding: 16px 20px 48px;
}

.announcement {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  border: 1px solid #162b3f;
  border-radius: 7px;
  background: #0a1a29;
  box-shadow: var(--shadow);
}

.announcement-art,
.announcement-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.announcement-art {
  object-fit: cover;
  object-position: center 48%;
}

.announcement-shade {
  background: rgba(3, 14, 24, 0.66);
}

.announcement-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 260px;
  max-width: 880px;
  padding: 26px 32px;
  color: #ffffff;
}

.announcement-badge {
  align-self: flex-start;
  margin-bottom: 20px;
  padding: 5px 10px;
  border-radius: 3px;
  background: var(--orange);
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
}

.announcement h1 {
  max-width: 980px;
  font-size: 30px;
  text-wrap: balance;
}

.lead {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.announcement .lead {
  max-width: 780px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 15px;
}

.announcement-footer {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
}

.announcement-date {
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 700;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 5px;
  background: #ffffff;
  color: #17202b;
  font-size: 14px;
  font-weight: 800;
}

.button:hover {
  background: var(--accent-soft);
  color: #0b6b40;
}

.market-panel,
.guide-panel,
.notice-band,
.article-shell {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.market-panel {
  margin-top: 18px;
}

.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
}

.panel-kicker {
  display: block;
  margin-bottom: 2px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
}

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

.panel-date {
  color: var(--muted);
  font-size: 12px;
}

.ticker-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  min-height: 86px;
  padding: 16px 22px;
  border-left: 1px solid var(--line);
}

.ticker-item:first-child {
  border-left: 0;
}

.ticker-index {
  display: grid;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--surface-soft);
  color: var(--blue);
  font-size: 11px;
  font-weight: 900;
}

.ticker-value {
  font-size: 16px;
  font-weight: 800;
}

.ticker-note {
  margin-top: 2px;
  color: var(--muted);
  font-size: 13px;
}

.main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 18px;
  align-items: start;
  padding-top: 18px;
}

.reviews-section {
  min-width: 0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
  padding: 2px 2px 0;
}

.section-heading p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.review-count {
  flex: 0 0 auto;
  padding: 4px 9px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  background: var(--surface);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.review-list {
  display: grid;
  gap: 10px;
}

.article-card {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.article-card:hover {
  transform: translateY(-1px);
  border-color: #bec7d3;
  box-shadow: var(--shadow);
}

.article-card a {
  position: relative;
  display: grid;
  gap: 9px;
  padding: 18px 54px 18px 20px;
}

.article-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.session-pill {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 8px;
  border-radius: 4px;
  background: #fff3e8;
  color: #b54708;
  font-size: 12px;
  font-weight: 700;
}

.card-arrow {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: var(--surface-soft);
  color: var(--blue);
  font-size: 16px;
  font-weight: 800;
}

.meta-row,
.tag-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
}

.meta-pill,
.tag {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 12px;
}

.meta-pill {
  background: #f0f2f5;
  color: #667085;
}

.tag {
  border: 1px solid #cfe9da;
  background: var(--accent-soft);
  color: #147046;
}

.side-column {
  position: sticky;
  top: 76px;
  display: grid;
  gap: 14px;
}

.guide-panel,
.notice-band {
  padding: 20px;
}

.guide-panel h2 {
  font-size: 19px;
}

.guide-intro {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.guide-list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.guide-list li {
  display: grid;
  gap: 2px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.guide-list strong {
  font-size: 14px;
}

.guide-list span {
  color: var(--muted);
  font-size: 13px;
}

.risk-label {
  display: inline-block;
  color: var(--risk);
  font-size: 13px;
  font-weight: 800;
}

.notice-band p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.site-footer {
  color: var(--muted);
  font-size: 12px;
}

.footer-inner {
  width: min(1540px, 100%);
  margin: 0 auto;
  padding: 18px 22px 28px;
}

.footer-inner p {
  margin: 0;
}

.article-workspace {
  width: min(1180px, 100%);
}

.back-link {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  margin-bottom: 12px;
  color: #475467;
  font-size: 14px;
  font-weight: 700;
}

.back-link:hover {
  color: var(--blue);
}

.article-shell {
  max-width: 980px;
  margin: 0 auto;
  padding: 34px 42px 42px;
}

.article-header {
  display: grid;
  gap: 13px;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.article-header h1 {
  font-size: 32px;
}

.article-content {
  min-width: 0;
  color: #344054;
  font-size: 16px;
  overflow-wrap: anywhere;
}

.article-content h2 {
  margin-top: 34px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: 23px;
}

.article-content h3 {
  margin-top: 24px;
  color: var(--ink);
  font-size: 18px;
}

.article-content p,
.article-content ul,
.article-content ol,
.article-content table,
.article-content blockquote {
  margin: 15px 0 0;
}

.article-content blockquote {
  padding: 10px 14px;
  border-left: 4px solid var(--accent);
  background: var(--accent-soft);
  color: #315d49;
}

.article-content blockquote p {
  margin: 0;
}

.article-content table {
  display: block;
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 6px;
  border-collapse: collapse;
  background: var(--surface);
}

.article-content th,
.article-content td {
  min-width: 140px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.article-content th {
  background: #eef4ff;
  color: #344054;
}

.article-content tr:last-child td {
  border-bottom: 0;
}

.article-nav {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.article-nav a {
  color: var(--blue);
  font-weight: 700;
}

@media (max-width: 980px) {
  .site-shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: sticky;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    height: auto;
    padding: 0 12px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .brand {
    min-height: 58px;
    padding: 8px 6px;
  }

  .brand-copy small,
  .sidebar-section-label,
  .sidebar-status {
    display: none;
  }

  .sidebar-nav {
    display: flex;
    justify-content: flex-end;
    min-width: 0;
    overflow-x: auto;
  }

  .sidebar-link {
    flex: 0 0 auto;
    min-height: 38px;
    border-left: 0;
    border-bottom: 2px solid transparent;
  }

  .sidebar-link.is-active {
    border-bottom-color: #17202b;
  }

  .topbar {
    position: static;
    min-height: 50px;
  }

  .main-grid {
    grid-template-columns: 1fr;
  }

  .side-column {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .sidebar {
    display: block;
    padding-bottom: 7px;
  }

  .brand {
    min-height: 52px;
  }

  .sidebar-nav {
    justify-content: flex-start;
    padding-bottom: 2px;
  }

  .sidebar-link {
    padding: 7px 9px;
    font-size: 13px;
  }

  .nav-icon {
    display: none;
  }

  .topbar {
    padding: 9px 13px;
  }

  .topbar-note {
    display: none;
  }

  .workspace {
    padding: 12px 11px 36px;
  }

  .announcement,
  .announcement-content {
    min-height: 300px;
  }

  .announcement-content {
    padding: 22px 18px;
  }

  .announcement h1,
  .article-header h1 {
    font-size: 26px;
  }

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

  .panel-heading {
    padding: 16px;
  }

  .ticker-strip {
    grid-template-columns: 1fr;
  }

  .ticker-item {
    min-height: 74px;
    padding: 13px 16px;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .ticker-item:first-child {
    border-top: 0;
  }

  .side-column {
    grid-template-columns: 1fr;
  }

  .article-card a,
  .guide-panel,
  .notice-band {
    padding: 16px;
  }

  .article-card a {
    padding-right: 46px;
  }

  .card-arrow {
    top: 14px;
    right: 14px;
  }

  .article-shell {
    padding: 22px 17px 30px;
  }

  .article-content {
    font-size: 15px;
  }

  .article-content h2 {
    font-size: 21px;
  }

  .article-content th,
  .article-content td {
    min-width: 125px;
    padding: 9px 10px;
    font-size: 13px;
  }

  .article-nav {
    align-items: flex-start;
    flex-direction: column;
  }
}
