:root {
  --ink: #183c34;
  --ink-2: #31584e;
  --muted: #687a74;
  --cream: #f4f0e6;
  --paper: #fbfaf6;
  --white: #fff;
  --line: #ddd9cd;
  --accent: #de704d;
  --accent-soft: #f5ddd3;
  --green-soft: #deebe5;
  --shadow: 0 18px 50px rgba(24, 60, 52, 0.08);
  font-family: "Noto Sans SC", "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  color: var(--ink);
  background: var(--cream);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--cream); color: var(--ink); }
button, input, select { font: inherit; }
a { color: inherit; }
.skip-link { position: fixed; top: -80px; left: 1rem; z-index: 100; padding: .7rem 1rem; background: var(--white); }
.skip-link:focus { top: 1rem; }
.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; }

.site-header { height: 74px; padding: 0 max(5vw, 24px); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(24, 60, 52, .16); background: rgba(244, 240, 230, .92); backdrop-filter: blur(14px); position: sticky; top: 0; z-index: 20; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-weight: 800; letter-spacing: .08em; }
.brand-mark { width: 31px; height: 31px; display: grid; align-content: center; gap: 4px; padding: 6px; border-radius: 8px; background: var(--ink); }
.brand-mark i { height: 2px; display: block; background: var(--cream); border-radius: 10px; }
.brand-mark i:nth-child(2) { width: 75%; }
.brand-mark i:nth-child(3) { width: 45%; background: var(--accent); }
nav { display: flex; align-items: stretch; align-self: stretch; gap: 35px; }
nav a { display: flex; align-items: center; text-decoration: none; font-size: 14px; color: var(--muted); position: relative; }
nav a:hover, nav a.active { color: var(--ink); }
nav a.active::after { content: ""; position: absolute; height: 2px; background: var(--accent); bottom: -1px; left: 0; right: 0; }
.header-status { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #c6a045; box-shadow: 0 0 0 4px rgba(198,160,69,.14); }
.status-dot.ready { background: #4d8d70; box-shadow: 0 0 0 4px rgba(77,141,112,.14); }
.status-dot.error { background: var(--accent); box-shadow: 0 0 0 4px rgba(222,112,77,.14); }

main { overflow: hidden; }
.hero { min-height: 510px; padding: 86px max(7vw, 28px) 70px; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(340px, .65fr); gap: clamp(50px, 9vw, 150px); align-items: center; position: relative; }
.hero::before { content: ""; position: absolute; width: 430px; height: 430px; border: 1px solid rgba(24,60,52,.08); border-radius: 50%; top: -160px; left: 38%; box-shadow: 0 0 0 80px rgba(24,60,52,.02), 0 0 0 160px rgba(24,60,52,.015); pointer-events: none; }
.eyebrow, .section-kicker, .side-card-heading p { margin: 0 0 18px; font-size: 11px; font-weight: 800; letter-spacing: .18em; color: var(--accent); }
.eyebrow { display: flex; align-items: center; gap: 9px; }
.eyebrow span { width: 25px; height: 2px; background: var(--accent); }
.hero h1 { max-width: 720px; margin: 0; font-family: "STSong", "Songti SC", serif; font-size: clamp(48px, 6vw, 82px); font-weight: 700; line-height: 1.08; letter-spacing: -.055em; }
.hero h1 em { display: block; color: var(--accent); font-style: normal; }
.hero-description { max-width: 650px; margin: 30px 0 0; color: var(--muted); line-height: 1.9; font-size: 16px; }
.hero-actions { display: flex; gap: 12px; margin-top: 32px; }
.button { min-height: 48px; border: 1px solid var(--ink); padding: 0 22px; border-radius: 4px; display: inline-flex; justify-content: center; align-items: center; gap: 25px; text-decoration: none; cursor: pointer; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button.primary { color: var(--cream); background: var(--ink); }
.button.secondary { color: var(--ink); background: transparent; }

.hero-card { background: var(--ink); color: var(--cream); padding: 26px 28px 21px; box-shadow: 16px 16px 0 rgba(222,112,77,.17); position: relative; }
.hero-card::before { content: ""; position: absolute; left: 0; top: 0; width: 5px; height: 58px; background: var(--accent); }
.hero-card-heading { display: flex; justify-content: space-between; align-items: center; padding-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,.16); font-size: 13px; letter-spacing: .12em; }
.live-pill { border: 1px solid rgba(255,255,255,.3); border-radius: 20px; padding: 3px 8px; color: #ffad8f; font-size: 9px; }
.hero-event { display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.hero-event:last-child { border-bottom: 0; }
.event-date strong { display: block; font-family: Georgia, serif; font-size: 25px; font-weight: 500; line-height: 1; }
.event-date span { font-size: 10px; color: #aebeb8; }
.event-copy p { margin: 0 0 7px; font-size: 14px; line-height: 1.5; }
.event-copy span { font-size: 11px; color: #aebeb8; }
.hero-card-note { margin: 5px 0 0; padding-top: 15px; border-top: 1px solid rgba(255,255,255,.16); color: #9eafa9; font-size: 10px; text-align: right; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--paper); border-block: 1px solid var(--line); padding: 0 max(5vw, 24px); }
.stats article { min-height: 120px; display: flex; align-items: center; justify-content: center; gap: 17px; border-right: 1px solid var(--line); }
.stats article:last-child { border-right: 0; }
.stat-icon { width: 39px; height: 39px; display: grid; place-items: center; border: 1px solid var(--ink); border-radius: 50%; font-family: serif; }
.stat-icon.accent { border-color: var(--accent); color: var(--accent); }
.stats strong { display: block; font-family: Georgia, serif; font-size: 29px; font-weight: 500; line-height: 1.1; }
.stats p { margin: 5px 0 0; font-size: 11px; color: var(--muted); }

.content-grid { max-width: 1500px; margin: 0 auto; padding: 80px max(5vw, 24px) 110px; display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 55px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; margin-bottom: 26px; }
.section-heading h2, .side-card-heading h2 { margin: 0; font-family: "STSong", "Songti SC", serif; font-size: 32px; }
.section-heading p:last-child { margin: 0; color: var(--muted); font-size: 12px; }
.filters { display: grid; grid-template-columns: minmax(210px, 1fr) repeat(3, 135px); gap: 10px; margin-bottom: 18px; }
.filters input, .filters select { width: 100%; height: 44px; border: 1px solid var(--line); border-radius: 3px; background: var(--paper); color: var(--ink); outline: none; }
.filters input:focus, .filters select:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(24,60,52,.08); }
.filters select { padding: 0 34px 0 13px; cursor: pointer; }
.search-field { position: relative; }
.search-field > span:not(.sr-only) { position: absolute; z-index: 1; left: 15px; top: 10px; font-size: 21px; color: var(--muted); }
.search-field input { padding: 0 15px 0 43px; }
.focus-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin: -2px 0 18px; }
.focus-filter > span { display: inline-flex; align-items: center; gap: 7px; margin-right: 4px; color: var(--ink-2); font-size: 11px; font-weight: 700; }
.focus-filter > span i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.focus-filter button { padding: 6px 11px; border: 1px solid var(--line); border-radius: 20px; color: var(--muted); background: transparent; font-size: 10px; cursor: pointer; }
.focus-filter button:hover, .focus-filter button[aria-pressed="true"] { color: var(--cream); border-color: var(--ink); background: var(--ink); }
.news-list { display: grid; gap: 12px; }
.news-card { position: relative; display: grid; grid-template-columns: 94px 1fr auto; gap: 20px; min-height: 148px; padding: 25px 26px; background: var(--paper); border: 1px solid var(--line); border-radius: 4px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.news-card:not(.loading):hover { transform: translateY(-2px); border-color: #b8b1a1; box-shadow: var(--shadow); }
.news-card.featured { border-left: 4px solid var(--accent); }
.news-card.priority { background: linear-gradient(105deg, #fffaf4 0, var(--paper) 55%); border-color: #d9b6a6; }
.news-card.priority::after { content: "重点关注"; position: absolute; top: -1px; right: 24px; padding: 4px 9px; color: var(--white); background: var(--accent); border-radius: 0 0 3px 3px; font-size: 9px; letter-spacing: .08em; }
.news-card.priority .verified { right: 92px; }
.news-date { padding-right: 19px; border-right: 1px solid var(--line); }
.news-date strong { display: block; font-family: Georgia, serif; font-size: 30px; font-weight: 500; line-height: 1; }
.news-date span { color: var(--muted); font-size: 11px; }
.news-body { min-width: 0; }
.news-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 10px; }
.tag { padding: 3px 8px; border-radius: 2px; color: var(--ink-2); background: var(--green-soft); font-size: 10px; }
.tag.accent { color: #a34225; background: var(--accent-soft); }
.news-meta time, .news-source { font-size: 10px; color: var(--muted); }
.news-body h3 { margin: 0; font-family: "STSong", "Songti SC", serif; font-size: 19px; line-height: 1.45; }
.news-body h3 a { text-decoration: none; }
.news-body h3 a:hover { color: var(--accent); }
.news-summary { margin: 10px 0 0; color: var(--muted); font-size: 12px; line-height: 1.7; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.news-data { align-self: center; min-width: 95px; text-align: right; }
.news-data strong { display: block; color: var(--accent); font-family: Georgia, serif; font-size: 21px; font-weight: 500; }
.news-data span { display: block; margin-top: 4px; color: var(--muted); font-size: 10px; }
.verified { position: absolute; right: 10px; top: 8px; color: #56816f; font-size: 10px; }
.load-more { width: 100%; margin-top: 14px; height: 46px; color: var(--ink); border: 1px solid var(--line); background: transparent; cursor: pointer; }
.load-more:hover { background: var(--paper); }
.empty { padding: 50px 20px; text-align: center; color: var(--muted); background: var(--paper); border: 1px dashed var(--line); }

.sidebar { display: grid; align-content: start; gap: 20px; }
.side-card { padding: 27px; background: var(--paper); border: 1px solid var(--line); }
.side-card-heading { display: flex; justify-content: space-between; align-items: end; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.side-card-heading p { margin-bottom: 8px; }
.side-card-heading h2 { font-size: 25px; }
.side-card-heading > span { padding: 4px 7px; border: 1px solid var(--line); color: var(--muted); font-size: 10px; }
.calendar-item { display: grid; grid-template-columns: 44px 1fr; gap: 15px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.calendar-item:last-child { border-bottom: 0; }
.calendar-day { height: 44px; display: grid; place-content: center; background: var(--ink); color: var(--cream); text-align: center; }
.calendar-day.pending { color: var(--muted); background: var(--green-soft); }
.calendar-day strong { font-family: Georgia, serif; font-size: 17px; line-height: 1; }
.calendar-day span { margin-top: 2px; font-size: 8px; }
.calendar-copy h3 { margin: 1px 0 7px; font-size: 12px; line-height: 1.45; }
.calendar-copy p { margin: 0; color: var(--muted); font-size: 10px; }
.calendar-tip { margin: 15px 0 0; padding: 12px; background: #f1ece0; color: var(--muted); font-size: 10px; line-height: 1.5; }
.calendar-tip span { display: inline-grid; place-content: center; width: 16px; height: 16px; margin-right: 5px; border: 1px solid var(--accent); border-radius: 50%; color: var(--accent); }
.source-item { display: grid; grid-template-columns: 34px 1fr auto; gap: 11px; align-items: center; padding: 15px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.source-item:last-child { border-bottom: 0; }
.source-badge { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--green-soft); font-family: serif; font-size: 12px; }
.source-copy strong { display: block; font-size: 11px; }
.source-copy span { display: block; margin-top: 4px; color: var(--muted); font-size: 9px; }
.source-arrow { color: var(--muted); }
.source-health { margin: -2px 0 10px; padding: 10px 11px; border-radius: 3px; background: var(--green-soft); color: var(--muted); font-size: 9px; line-height: 1.5; }
.source-copy .source-status { display: flex; align-items: center; gap: 5px; }
.source-status i { width: 6px; height: 6px; flex: 0 0 auto; border-radius: 50%; background: #a6a097; }
.source-status.ready i { background: #378363; box-shadow: 0 0 0 3px rgba(55,131,99,.12); }
.source-status.error { color: #a24838; }
.source-status.error i { background: #b75342; box-shadow: 0 0 0 3px rgba(183,83,66,.1); }
.source-status.checking i { background: var(--accent); animation: pulse 1.2s infinite; }
.source-status.portal i { background: #8b6d3f; }

footer { min-height: 105px; padding: 25px max(5vw, 24px); display: grid; grid-template-columns: 1fr 2fr 1fr; align-items: center; gap: 30px; color: #b8c6c1; background: var(--ink); font-size: 10px; }
footer p:nth-child(2) { text-align: center; }
footer p:last-child { text-align: right; }
.footer-brand { color: var(--cream); }
.footer-brand .brand-mark { border: 1px solid rgba(255,255,255,.2); }
.toast { position: fixed; right: 24px; bottom: 24px; z-index: 50; max-width: 340px; padding: 13px 17px; border-radius: 3px; color: var(--cream); background: var(--ink); box-shadow: var(--shadow); font-size: 12px; transform: translateY(30px); opacity: 0; pointer-events: none; transition: .25s; }
.toast.show { transform: translateY(0); opacity: 1; }

.skeleton { border-radius: 2px; background: linear-gradient(90deg, rgba(24,60,52,.06), rgba(24,60,52,.13), rgba(24,60,52,.06)); background-size: 200% 100%; animation: shimmer 1.5s infinite; }
.hero-card .skeleton { background: linear-gradient(90deg, rgba(255,255,255,.05), rgba(255,255,255,.11), rgba(255,255,255,.05)); background-size: 200% 100%; }
.skeleton.line { height: 16px; margin: 12px 0; }
.skeleton.line.small { width: 25%; height: 9px; }
.skeleton.line.medium { width: 65%; height: 11px; }
.skeleton.tall { height: 72px; margin: 14px 0; }
.news-card.loading { display: block; }
@keyframes shimmer { to { background-position: -200% 0; } }
@keyframes pulse { 50% { opacity: .35; transform: scale(.72); } }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; gap: 45px; padding-top: 60px; }
  .hero-card { max-width: 620px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats article:nth-child(2) { border-right: 0; }
  .stats article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .content-grid { grid-template-columns: 1fr; }
  .sidebar { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  .site-header { height: 64px; padding-inline: 18px; }
  nav { display: none; }
  .header-status span:last-child { display: none; }
  .hero { min-height: auto; padding: 48px 20px 55px; }
  .hero h1 { font-size: 47px; }
  .hero-description { font-size: 14px; }
  .hero-actions { flex-direction: column; }
  .button { width: 100%; }
  .hero-card { padding-inline: 20px; box-shadow: 9px 9px 0 rgba(222,112,77,.17); }
  .stats { padding: 0; }
  .stats article { min-height: 102px; gap: 10px; }
  .stat-icon { width: 32px; height: 32px; font-size: 12px; }
  .stats strong { font-size: 23px; }
  .content-grid { padding: 58px 16px 80px; gap: 38px; }
  .section-heading { align-items: start; }
  .section-heading h2 { font-size: 28px; }
  .section-heading > p { display: none; }
  .filters { grid-template-columns: repeat(2, 1fr); }
  .search-field { grid-column: 1 / -1; }
  .focus-filter > span { width: 100%; margin-bottom: 3px; }
  .news-card { grid-template-columns: 55px 1fr; gap: 14px; padding: 20px 15px; }
  .news-date { padding-right: 12px; }
  .news-date strong { font-size: 24px; }
  .news-data { grid-column: 2; display: flex; align-items: baseline; gap: 6px; text-align: left; }
  .news-data strong { font-size: 17px; }
  .sidebar { grid-template-columns: 1fr; }
  footer { grid-template-columns: 1fr; text-align: center; }
  footer p:nth-child(2), footer p:last-child { text-align: center; }
  .footer-brand { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
