:root {
  --teal: #5b8065;
  --teal-dark: #46654e;
  --teal-pale: #e9f0ea;
  --teal-wash: #f2f6f1;
  --gold: #8a6200;
  --gold-pale: #f6ebdd;
  --ink: #1f2826;
  --ink-soft: #34423e;
  --body: #52605c;
  --muted: #53645d;
  --focus-dark: #102a26;
  --line: #d9e5e0;
  --surface: #ffffff;
  --shadow: 0 16px 45px rgba(34, 70, 63, 0.08);
  --radius: 18px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--body);
  background: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
}

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

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

button {
  cursor: pointer;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  border-radius: 8px;
  color: #fff;
  background: var(--teal-dark);
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.page-shell,
.nav-shell {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid rgba(47, 125, 114, 0.1);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
}

.nav-shell {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--teal-dark);
}

.brand img {
  object-fit: contain;
}

.brand span {
  display: grid;
}

.brand strong {
  font-family: "STSong", "Songti SC", serif;
  font-size: 22px;
  letter-spacing: 0.08em;
  line-height: 1.2;
}

.brand small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.desktop-nav {
  display: flex;
  align-items: stretch;
  align-self: stretch;
  gap: 36px;
}

.desktop-nav a {
  position: relative;
  display: flex;
  align-items: center;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--teal);
  content: "";
  opacity: 0;
  transform: scaleX(0.35);
  transition: 180ms ease;
}

.desktop-nav a:hover,
.desktop-nav a[aria-current="page"] {
  color: var(--teal-dark);
}

.desktop-nav a:hover::after,
.desktop-nav a[aria-current="page"]::after {
  opacity: 1;
  transform: scaleX(1);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.menu-button span {
  display: block;
  height: 2px;
  margin: 4px 0;
  border-radius: 4px;
  background: var(--teal-dark);
}

.mobile-nav {
  padding: 8px 24px 20px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.mobile-nav a {
  display: block;
  padding: 12px 0;
  color: var(--ink);
  font-weight: 600;
}

.mobile-nav a[aria-current="page"] {
  color: var(--teal);
}

.resource-hero {
  overflow: hidden;
  border-bottom: 1px solid rgba(47, 125, 114, 0.08);
  background:
    radial-gradient(circle at 16% 10%, rgba(121, 183, 168, 0.14), transparent 31%),
    radial-gradient(circle at 85% 20%, rgba(184, 134, 11, 0.08), transparent 26%),
    linear-gradient(180deg, #fff 0%, #f4f9f7 100%);
}

.hero-shell {
  display: grid;
  justify-items: center;
  padding-top: 50px;
  padding-bottom: 34px;
}

.hero-copy {
  text-align: center;
}

.hero-copy h1 {
  margin: 0;
  color: var(--teal-dark);
  font-family: "STSong", "Songti SC", serif;
  font-size: clamp(38px, 4.5vw, 54px);
  font-weight: 700;
  letter-spacing: 0.055em;
  line-height: 1.15;
}

.hero-copy p {
  margin: 16px 0 0;
  color: var(--body);
  font-size: 17px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 13px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.hero-kicker span {
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: var(--gold);
}

.hero-stats {
  display: grid;
  width: min(740px, 100%);
  grid-template-columns: repeat(3, 1fr);
  margin-top: 27px;
  overflow: hidden;
  border: 1px solid rgba(47, 125, 114, 0.13);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 36px rgba(41, 73, 67, 0.05);
  backdrop-filter: blur(12px);
}

.hero-stats div {
  display: grid;
  gap: 3px;
  justify-items: center;
  padding: 14px 12px;
  text-align: center;
}

.hero-stats div + div {
  border-left: 1px solid var(--line);
}

.hero-stats strong {
  color: var(--ink);
  font-size: 14px;
}

.hero-stats span {
  color: var(--muted);
  font-size: 11px;
}

.search-form {
  display: grid;
  width: min(780px, 100%);
  min-height: 58px;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  margin-top: 28px;
  overflow: hidden;
  border: 1.5px solid var(--teal);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 35px rgba(47, 125, 114, 0.08);
}

.search-icon {
  display: grid;
  padding-left: 18px;
  color: var(--muted);
  place-items: center;
}

.search-form input {
  min-width: 0;
  padding: 14px 14px;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font-size: 16px;
}

.search-form input::placeholder {
  color: var(--muted);
  opacity: 1;
}

.search-form input:focus-visible {
  border-radius: 12px 0 0 12px;
  outline: 3px solid var(--focus-dark);
  outline-offset: -4px;
}

.search-form:focus-within {
  box-shadow: 0 0 0 4px rgba(47, 125, 114, 0.13), 0 12px 38px rgba(47, 125, 114, 0.1);
}

.search-form button {
  align-self: stretch;
  min-width: 96px;
  padding: 0 24px;
  border: 0;
  color: #fff;
  background: var(--teal);
  font-size: 16px;
  font-weight: 700;
  transition: background 180ms ease;
}

.search-form button:hover {
  background: var(--teal-dark);
}

.topic-filters {
  display: flex;
  width: min(820px, 100%);
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}

.topic-filter {
  min-height: 44px;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--body);
  background: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-weight: 700;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.topic-filter:hover {
  border-color: rgba(47, 125, 114, 0.45);
  color: var(--teal-dark);
}

.topic-filter.is-active {
  border-color: var(--teal);
  color: #fff;
  background: var(--teal);
}

.region-tabs {
  display: grid;
  width: min(820px, 100%);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 28px;
  overflow: hidden;
  border: 1px solid var(--teal);
  border-radius: 10px;
  background: #fff;
}

.region-tab {
  min-height: 52px;
  border: 0;
  color: var(--teal-dark);
  background: transparent;
  font-size: 16px;
  font-weight: 700;
  transition: 180ms ease;
}

.region-tab + .region-tab {
  border-left: 1px solid var(--teal);
}

.region-tab:hover {
  background: var(--teal-pale);
}

.region-tab.is-active {
  color: #fff;
  background: var(--teal);
}

.update-note {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 22px 0 0;
  color: var(--body);
  font-size: 14px;
}

.update-note svg {
  color: var(--teal);
}

.content-nav {
  position: sticky;
  z-index: 90;
  top: 78px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.content-nav-shell {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 34px;
  overflow-x: auto;
  scrollbar-width: none;
}

.content-nav-shell::-webkit-scrollbar {
  display: none;
}

.content-nav a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  flex: 0 0 auto;
  color: var(--body);
  font-size: 13px;
  font-weight: 700;
}

.content-nav a:hover {
  color: var(--teal);
}

.content-shell {
  padding-top: 46px;
  padding-bottom: 88px;
}

.featured-section,
.live-search-section,
.news-section,
.wechat-section,
.directory-section {
  scroll-margin-top: 146px;
  content-visibility: auto;
  contain-intrinsic-size: 1px 620px;
}

.featured-section {
  margin-bottom: 62px;
}

.live-search-section {
  margin-bottom: 62px;
}

.directory-section {
  margin-top: 62px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.section-heading h2 {
  margin: 0;
  color: var(--ink);
  font-size: 27px;
  line-height: 1.25;
}

.section-eyebrow {
  display: block;
  margin-bottom: 7px;
  color: var(--gold);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.editorial-note {
  max-width: 250px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
  text-align: right;
}

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

.section-heading p[data-state="error"] {
  color: #a65345;
}

.featured-list {
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  list-style: none;
}

.featured-item {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
  transition: background 180ms ease;
}

.featured-item:last-child {
  border-bottom: 0;
}

.featured-item:hover {
  background: var(--teal-wash);
}

.featured-item:first-child {
  background:
    linear-gradient(90deg, rgba(47, 125, 114, 0.07), transparent 44%),
    #fff;
}

.featured-rank {
  display: grid;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(47, 125, 114, 0.2);
  border-radius: 12px;
  color: var(--teal);
  background: var(--teal-pale);
  font-family: Georgia, serif;
  font-size: 18px;
  font-weight: 700;
  place-items: center;
}

.featured-item:first-child .featured-rank {
  border-color: var(--teal);
  color: #fff;
  background: var(--teal);
}

.featured-meta,
.news-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 11px;
}

.featured-badge,
.news-badge {
  padding: 4px 8px;
  border-radius: 999px;
  color: var(--teal-dark);
  background: var(--teal-pale);
  font-weight: 700;
}

.featured-badge[data-kind="evidence"],
.news-badge[data-kind="evidence"] {
  color: #725407;
  background: var(--gold-pale);
}

.featured-copy h3 {
  margin: 9px 0 0;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.5;
}

.featured-reason,
.news-reason {
  margin: 10px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.65;
}

.featured-reason strong,
.news-reason strong {
  color: var(--teal-dark);
}

.featured-action {
  display: grid;
  width: 38px;
  height: 38px;
  margin-top: 2px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--teal);
  place-items: center;
  transition: background 180ms ease, transform 180ms ease;
}

.featured-item:hover .featured-action {
  background: #fff;
  transform: translate(2px, -2px);
}

.featured-skeleton {
  height: 108px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, transparent, rgba(47, 125, 114, 0.05), transparent),
    linear-gradient(#e9f0ed 0 0) 24px 24px / 38px 38px no-repeat,
    linear-gradient(#e5ece9 0 0) 82px 24px / 38% 15px no-repeat,
    linear-gradient(#eef3f1 0 0) 82px 52px / 70% 11px no-repeat;
  background-size: 240px 100%, 38px 38px, 38% 15px, 70% 11px;
  animation: loading 1.4s linear infinite;
}

.featured-skeleton:last-child {
  border-bottom: 0;
}

.text-action {
  display: inline-flex;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 4px;
  border: 0;
  color: var(--teal);
  background: transparent;
  font-size: 14px;
  font-weight: 700;
}

.text-action:hover {
  color: var(--teal-dark);
}

.text-action svg {
  transition: transform 180ms ease;
}

.text-action:hover svg {
  transform: rotate(35deg);
}

.live-source-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: -7px 0 16px;
}

.live-source-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: #fff;
  font-size: 12px;
}

.live-source-chip::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #b5c0bc;
  content: "";
}

.live-source-chip[data-state="ok"]::before {
  background: var(--teal);
}

.live-source-chip[data-state="error"]::before {
  background: #b96052;
}

.live-search-results {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.live-result-card {
  display: flex;
  min-height: 190px;
  flex-direction: column;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: inherit;
  background: #fff;
  box-shadow: 0 8px 24px rgba(41, 73, 67, 0.06);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.live-result-card:hover {
  border-color: rgba(47, 125, 114, 0.45);
  box-shadow: 0 12px 30px rgba(41, 73, 67, 0.1);
  transform: translateY(-2px);
}

.live-result-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 11px;
}

.live-result-source {
  padding: 4px 8px;
  border-radius: 999px;
  color: var(--teal-dark);
  background: var(--teal-pale);
  font-weight: 700;
}

.live-result-card h3 {
  margin: 14px 0 0;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
}

.live-result-card p {
  display: -webkit-box;
  margin: 9px 0 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.live-result-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 17px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 700;
}

.evidence-result-card {
  min-height: 270px;
}

.evidence-title-link {
  color: inherit;
  text-decoration: none;
}

.evidence-title-link:hover {
  color: var(--teal-dark);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.evidence-authors {
  display: -webkit-box;
  margin: 10px 0 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.evidence-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 14px;
  margin: 15px 0 0;
}

.evidence-fact {
  min-width: 0;
  margin: 0;
}

.evidence-fact dt {
  color: var(--muted);
  font-size: 11px;
}

.evidence-fact dd {
  margin: 3px 0 0;
  overflow: hidden;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.evidence-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: auto;
  padding-top: 18px;
  font-size: 12px;
  font-weight: 700;
}

.evidence-action {
  color: var(--teal);
  text-decoration: none;
}

.evidence-action:hover {
  color: var(--teal-dark);
  text-decoration: underline;
}

.evidence-action.is-access {
  padding: 5px 9px;
  border-radius: 999px;
  color: #fff;
  background: var(--teal);
}

.evidence-action.is-access.is-paywall {
  color: #6c4d2d;
  background: #f5e6c8;
}

.live-search-message {
  grid-column: 1 / -1;
  padding: 38px 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--muted);
  background: #fff;
  text-align: center;
}

.live-search-message strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 16px;
}

.live-search-loading {
  min-height: 176px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background:
    linear-gradient(90deg, transparent, rgba(47, 125, 114, 0.06), transparent),
    linear-gradient(#e9f0ed 0 0) 20px 22px / 96px 11px no-repeat,
    linear-gradient(#e5ece9 0 0) 20px 54px / 78% 15px no-repeat,
    linear-gradient(#eef3f1 0 0) 20px 86px / 86% 10px no-repeat;
  background-size: 240px 100%, 96px 11px, 78% 15px, 86% 10px;
  animation: loading 1.4s linear infinite;
}

.live-search-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.news-list {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.news-item {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  min-height: 116px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
  transition: background 180ms ease;
}

.news-item:last-child {
  border-bottom: 0;
}

.news-item:hover {
  background: var(--teal-wash);
}

.news-meta {
  align-self: start;
}

.news-source {
  display: block;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.news-date {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
}

.news-copy h3 {
  margin: 0;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.5;
}

.news-tags {
  margin-bottom: 8px;
}

.news-copy p {
  display: -webkit-box;
  margin: 7px 0 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 13px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.news-copy .news-reason {
  display: block;
  margin-top: 9px;
  overflow: visible;
  color: var(--ink-soft);
  -webkit-line-clamp: unset;
}

.external-icon {
  display: grid;
  width: 38px;
  height: 38px;
  border: 1px solid transparent;
  border-radius: 10px;
  color: var(--teal);
  place-items: center;
  transition: 180ms ease;
}

.news-item:hover .external-icon {
  border-color: var(--line);
  background: #fff;
  transform: translate(2px, -2px);
}

.news-skeleton {
  height: 116px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, transparent, rgba(47, 125, 114, 0.05), transparent),
    linear-gradient(#e9f0ed 0 0) 24px 28px / 78px 12px no-repeat,
    linear-gradient(#eef3f1 0 0) 24px 54px / 60px 10px no-repeat,
    linear-gradient(#e5ece9 0 0) 180px 27px / 48% 15px no-repeat,
    linear-gradient(#eef3f1 0 0) 180px 56px / 67% 11px no-repeat;
  background-size: 240px 100%, 78px 12px, 60px 10px, 48% 15px, 67% 11px;
  animation: loading 1.4s linear infinite;
}

.news-skeleton:last-child {
  border-bottom: 0;
}

@keyframes loading {
  from { background-position: -260px 0, 24px 28px, 24px 54px, 180px 27px, 180px 56px; }
  to { background-position: calc(100% + 260px) 0, 24px 28px, 24px 54px, 180px 27px, 180px 56px; }
}

.news-empty {
  padding: 44px 24px;
  text-align: center;
}

.news-empty strong {
  display: block;
  color: var(--ink);
  font-size: 17px;
}

.news-empty span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}

.wechat-section {
  margin-top: 62px;
}

.wechat-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.wechat-card {
  display: flex;
  min-height: 210px;
  flex-direction: column;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 9px 28px rgba(41, 73, 67, 0.06);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.wechat-card:hover {
  border-color: rgba(47, 125, 114, 0.42);
  box-shadow: 0 14px 32px rgba(41, 73, 67, 0.1);
  transform: translateY(-2px);
}

.wechat-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 11px;
}

.wechat-card-source {
  color: var(--teal-dark);
  font-weight: 800;
}

.wechat-card h3 {
  margin: 14px 0 0;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
}

.wechat-card p {
  display: -webkit-box;
  margin: 9px 0 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.wechat-card-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 17px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 700;
}

.wechat-placeholder,
.wechat-loading,
.wechat-error {
  grid-column: 1 / -1;
  padding: 34px 24px;
  border: 1px dashed rgba(47, 125, 114, 0.4);
  border-radius: 15px;
  color: var(--muted);
  background: var(--teal-wash);
  text-align: center;
}

.wechat-placeholder strong,
.wechat-error strong {
  display: block;
  color: var(--ink);
  font-size: 16px;
}

.wechat-placeholder span,
.wechat-error span {
  display: block;
  margin-top: 6px;
  font-size: 12px;
}

.wechat-loading {
  min-height: 180px;
  border-style: solid;
  background:
    linear-gradient(90deg, transparent, rgba(47, 125, 114, 0.06), transparent),
    linear-gradient(#e5ece9 0 0) 22px 28px / 42% 15px no-repeat,
    linear-gradient(#eef3f1 0 0) 22px 62px / 74% 11px no-repeat;
  background-size: 240px 100%, 42% 15px, 74% 11px;
  animation: loading 1.4s linear infinite;
}

.wechat-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.directory-list {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.resource-group {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  border-bottom: 1px solid var(--line);
}

.resource-group:last-child {
  border-bottom: 0;
}

.group-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 30px 20px;
  border-right: 1px solid var(--line);
  color: var(--teal-dark);
  background: linear-gradient(180deg, #f3f8f6 0%, #fff 100%);
  text-align: center;
}

.group-label svg {
  width: 36px;
  height: 36px;
}

.group-label strong {
  font-size: 15px;
}

.group-items {
  min-width: 0;
}

.resource-row {
  display: grid;
  grid-template-columns: minmax(210px, 0.9fr) 132px minmax(250px, 1.3fr) auto;
  gap: 22px;
  align-items: center;
  min-height: 72px;
  padding: 15px 22px;
  border-bottom: 1px solid #edf2f0;
  transition: background 180ms ease;
}

.resource-row:last-child {
  border-bottom: 0;
}

.resource-row:hover {
  background: var(--teal-wash);
}

.resource-name {
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.resource-source {
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 700;
}

.resource-description {
  color: var(--muted);
  font-size: 13px;
}

.row-arrow {
  display: grid;
  width: 32px;
  height: 32px;
  color: var(--teal);
  place-items: center;
  transition: transform 180ms ease;
}

.resource-row:hover .row-arrow {
  transform: translateX(3px);
}

.empty-state {
  display: grid;
  justify-items: center;
  margin-top: 20px;
  padding: 54px 24px;
  border: 1px dashed rgba(47, 125, 114, 0.55);
  border-radius: var(--radius);
  color: #8abbb1;
  background: var(--teal-wash);
  text-align: center;
}

.empty-state[hidden] {
  display: none;
}

.empty-state h3 {
  margin: 18px 0 0;
  color: var(--ink);
  font-size: 20px;
}

.empty-state p {
  margin: 7px 0 20px;
  color: var(--muted);
  font-size: 14px;
}

.empty-state button {
  padding: 11px 20px;
  border: 0;
  border-radius: 9px;
  color: #fff;
  background: var(--teal);
  font-weight: 700;
}

.scope-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-top: 42px;
  padding: 28px 32px;
  border-left: 4px solid var(--gold);
  border-radius: 0 14px 14px 0;
  background: #faf9f4;
}

.scope-note h2 {
  margin: 0;
  color: var(--ink);
  font-size: 17px;
}

.scope-note p {
  max-width: 780px;
  margin: 7px 0 0;
  color: var(--body);
  font-size: 13px;
}

.scope-note a {
  flex: 0 0 auto;
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 700;
}

.scope-note a:hover {
  text-decoration: underline;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #f5f9f7;
}

.footer-shell {
  display: grid;
  grid-template-columns: auto auto minmax(280px, 1fr);
  gap: 70px;
  align-items: center;
  padding-top: 42px;
  padding-bottom: 42px;
}

.footer-brand strong {
  font-size: 20px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 9px 28px;
  color: var(--body);
  font-size: 13px;
}

.footer-links a:hover {
  color: var(--teal);
}

.footer-shell > p {
  justify-self: end;
  max-width: 380px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  text-align: right;
}

.footer-bottom {
  padding: 14px 24px;
  color: rgba(255, 255, 255, 0.82);
  background: var(--teal-dark);
  font-size: 12px;
  text-align: center;
}

:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
  box-shadow: 0 0 0 5px var(--focus-dark);
}

@media (max-width: 900px) {
  .desktop-nav {
    gap: 20px;
  }

  .resource-row {
    grid-template-columns: minmax(180px, 0.9fr) 110px minmax(220px, 1.2fr) auto;
    gap: 14px;
  }

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

  .footer-shell {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .footer-shell > p {
    grid-column: 1 / -1;
    justify-self: start;
    text-align: left;
  }
}

@media (max-width: 720px) {
  .page-shell,
  .nav-shell {
    width: min(100% - 32px, 1180px);
  }

  .nav-shell {
    min-height: 68px;
  }

  .brand img {
    width: 44px;
    height: 44px;
  }

  .brand strong {
    font-size: 19px;
  }

  .desktop-nav {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .hero-shell {
    padding-top: 34px;
    padding-bottom: 28px;
  }

  .hero-copy h1 {
    font-size: 36px;
    letter-spacing: 0.035em;
  }

  .hero-copy p {
    font-size: 15px;
  }

  .hero-kicker {
    font-size: 10px;
  }

  .hero-stats {
    margin-top: 22px;
  }

  .hero-stats div {
    padding: 12px 7px;
  }

  .hero-stats strong {
    font-size: 12px;
  }

  .hero-stats span {
    font-size: 10px;
    line-height: 1.4;
  }

  .search-form {
    min-height: 54px;
    margin-top: 28px;
  }

  .search-form input {
    font-size: 16px;
  }

  .search-form button {
    min-width: 76px;
    padding: 0 16px;
    font-size: 14px;
  }

  .topic-filters {
    flex-wrap: nowrap;
    justify-content: flex-start;
    margin-right: -16px;
    margin-left: -16px;
    padding: 0 16px 4px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .topic-filters::-webkit-scrollbar {
    display: none;
  }

  .topic-filter {
    flex: 0 0 auto;
  }

  .region-tabs {
    margin-top: 20px;
  }

  .region-tab {
    min-height: 48px;
    font-size: 14px;
  }

  .update-note {
    align-items: flex-start;
    font-size: 12px;
    text-align: left;
  }

  .content-nav {
    top: 68px;
  }

  .content-nav-shell {
    justify-content: flex-start;
    gap: 24px;
  }

  .editorial-note {
    display: none;
  }

  .content-shell {
    padding-top: 38px;
    padding-bottom: 58px;
  }

  .featured-section {
    margin-bottom: 48px;
  }

  .featured-item {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px;
    padding: 18px 16px;
  }

  .featured-rank {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    font-size: 16px;
  }

  .featured-copy h3 {
    font-size: 15px;
  }

  .featured-reason {
    font-size: 12px;
  }

  .featured-action {
    display: none;
  }

  .directory-section {
    margin-top: 48px;
  }

  .live-search-section {
    margin-bottom: 48px;
  }

  .live-search-results {
    grid-template-columns: 1fr;
  }

  .live-result-card {
    min-height: 176px;
    padding: 18px;
  }

  .evidence-result-card {
    min-height: 250px;
  }

  .evidence-facts {
    grid-template-columns: 1fr;
  }

  .section-heading h2 {
    font-size: 23px;
  }

  .news-item {
    grid-template-columns: 1fr auto;
    gap: 12px;
    padding: 19px 18px;
  }

  .news-meta {
    grid-column: 1 / -1;
    display: flex;
    gap: 12px;
  }

  .news-date {
    margin-top: 0;
  }

  .news-copy h3 {
    font-size: 15px;
  }

  .news-copy p {
    font-size: 12px;
  }

  .news-copy .news-reason {
    line-height: 1.6;
  }

  .news-skeleton {
    background:
      linear-gradient(90deg, transparent, rgba(47, 125, 114, 0.05), transparent),
      linear-gradient(#e9f0ed 0 0) 18px 20px / 76px 11px no-repeat,
      linear-gradient(#e5ece9 0 0) 18px 48px / 72% 14px no-repeat,
      linear-gradient(#eef3f1 0 0) 18px 76px / 82% 10px no-repeat;
    background-size: 240px 100%, 76px 11px, 72% 14px, 82% 10px;
  }

  @keyframes loading {
    from { background-position: -260px 0, 18px 20px, 18px 48px, 18px 76px; }
    to { background-position: calc(100% + 260px) 0, 18px 20px, 18px 48px, 18px 76px; }
  }

  .wechat-section {
    margin-top: 48px;
  }

  .wechat-list {
    grid-template-columns: 1fr;
  }

  .wechat-card {
    min-height: 184px;
    padding: 18px;
  }

  .resource-group {
    grid-template-columns: 1fr;
  }

  .group-label {
    flex-direction: row;
    justify-content: flex-start;
    padding: 17px 18px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    text-align: left;
  }

  .group-label svg {
    width: 28px;
    height: 28px;
  }

  .resource-row {
    grid-template-columns: 1fr auto;
    gap: 6px 12px;
    padding: 17px 18px;
  }

  .resource-source {
    grid-row: 1;
    grid-column: 1;
    margin-bottom: 3px;
    color: var(--teal);
    font-size: 11px;
  }

  .resource-name {
    grid-row: 2;
    grid-column: 1;
  }

  .resource-description {
    grid-row: 3;
    grid-column: 1;
    margin-top: 3px;
  }

  .row-arrow {
    grid-row: 1 / 4;
    grid-column: 2;
  }

  .scope-note {
    display: block;
    padding: 24px 22px;
  }

  .scope-note a {
    display: inline-block;
    margin-top: 16px;
  }

  .footer-shell {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .footer-shell > p {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
