:root {
  --ink: #102a43;
  --muted: #627d98;
  --paper: #f6f3ed;
  --white: #fffdf9;
  --line: #d9e2ec;
  --accent: #e66b3d;
  --accent-soft: #fff0e8;
  --shadow: 0 12px 40px rgba(16, 42, 67, .08);
}

* { box-sizing: border-box; }
html { color-scheme: light; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif; }
a { color: inherit; }
.shell { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.hero { position: relative; overflow: hidden; min-height: 510px; color: white; background: radial-gradient(circle at 78% 28%, #285272 0, transparent 28%), linear-gradient(125deg, #0b2239 0%, #153b59 70%, #1d4d6d 100%); }
.hero::after { content: ""; position: absolute; inset: 0; opacity: .13; background-image: linear-gradient(rgba(255,255,255,.18) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.18) 1px, transparent 1px); background-size: 52px 52px; mask-image: linear-gradient(90deg, transparent, black); }
.nav, .hero-content { position: relative; z-index: 1; }
.nav { height: 82px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.16); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: white; font-weight: 700; font-size: 20px; text-decoration: none; letter-spacing: .08em; }
.brand-mark { width: 36px; height: 36px; display: grid; place-items: center; background: var(--accent); border-radius: 9px 2px 9px 2px; }
.nav-note { font-size: 13px; color: #d9e2ec; letter-spacing: .12em; }
.hero-content { padding: 70px 0 60px; }
.eyebrow { margin: 0 0 16px; color: #a9c5d8; font-size: 12px; font-weight: 800; letter-spacing: .22em; }
.eyebrow.ink { color: var(--accent); }
h1 { margin: 0; font-family: Georgia, "Songti SC", serif; font-size: clamp(46px, 6vw, 76px); line-height: 1.08; font-weight: 600; letter-spacing: -.03em; }
h1 em { color: #ffc2a9; font-style: normal; }
.intro { max-width: 610px; margin: 24px 0 32px; color: #d9e2ec; font-size: 16px; line-height: 1.8; }
.stats { display: flex; gap: 42px; }
.stats div { display: grid; }
.stats strong { font: 700 24px Georgia, serif; }
.stats span { margin-top: 3px; color: #9fb3c8; font-size: 12px; }
.main { padding: 0 0 70px; }
.toolbar { position: relative; z-index: 2; margin-top: -30px; padding: 16px; display: grid; grid-template-columns: minmax(260px, 1fr) 180px 150px auto; gap: 10px; background: var(--white); border: 1px solid rgba(255,255,255,.8); border-radius: 16px; box-shadow: var(--shadow); }
.toolbar input, .toolbar select, .toolbar button { height: 46px; width: 100%; border: 1px solid var(--line); border-radius: 9px; background: white; color: var(--ink); font: inherit; }
.toolbar input { padding: 0 14px 0 40px; }
.toolbar select { padding: 0 34px 0 12px; }
.search-wrap { position: relative; }
.search-wrap > span { position: absolute; z-index: 1; left: 14px; top: 9px; color: var(--muted); font-size: 23px; }
.toolbar input:focus, .toolbar select:focus { outline: 3px solid rgba(230,107,61,.16); border-color: var(--accent); }
.toolbar .refresh { width: 112px; padding: 0 16px; border-color: var(--ink); background: var(--ink); color: white; cursor: pointer; font-weight: 700; }
.toolbar .refresh:hover { background: #1f4a69; }
.toolbar .refresh:disabled { cursor: wait; opacity: .55; }
.section-head { margin: 64px 0 24px; display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.section-head h2 { margin: 0; font: 600 32px Georgia, "Songti SC", serif; }
.result-meta { margin: 0 0 5px; color: var(--muted); font-size: 13px; }
.notice { margin-bottom: 18px; padding: 12px 14px; border: 1px solid #efc9b8; border-radius: 9px; background: var(--accent-soft); color: #8d4027; font-size: 13px; }
.article-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.article-card { min-height: 280px; padding: 24px; display: flex; flex-direction: column; background: var(--white); border: 1px solid #e4e7eb; border-radius: 14px; box-shadow: 0 4px 20px rgba(16,42,67,.035); transition: transform .18s ease, box-shadow .18s ease; }
.article-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.source { overflow: hidden; color: var(--accent); font-size: 12px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.date { flex: none; color: #829ab1; font-size: 11px; }
.article-card h3 { margin: 22px 0 12px; font-size: 19px; line-height: 1.55; font-weight: 750; }
.summary { margin: 0; display: -webkit-box; overflow: hidden; color: var(--muted); font-size: 13px; line-height: 1.7; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.read-link { margin-top: auto; padding-top: 22px; color: var(--ink); font-size: 13px; font-weight: 800; text-decoration: none; }
.read-link::after { content: " →"; color: var(--accent); }
.read-link:hover { color: var(--accent); }
.skeleton { height: 280px; border-radius: 14px; background: linear-gradient(100deg, #ece8e0 30%, #f8f6f1 45%, #ece8e0 60%); background-size: 220% 100%; animation: shimmer 1.4s infinite; }
@keyframes shimmer { to { background-position-x: -220%; } }
.empty { padding: 70px 20px; text-align: center; color: var(--muted); }
.empty span { color: var(--ink); font: 600 24px Georgia, serif; }
.footer { padding: 26px 0 36px; display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

@media (max-width: 860px) {
  .toolbar { grid-template-columns: 1fr 1fr; }
  .search-wrap { grid-column: 1 / -1; }
  .toolbar .refresh { width: 100%; }
  .article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .shell { width: min(100% - 28px, 1120px); }
  .hero { min-height: 480px; }
  .nav { height: 68px; }
  .hero-content { padding: 58px 0 70px; }
  h1 { font-size: 45px; }
  .intro { font-size: 14px; }
  .stats { gap: 28px; }
  .toolbar { margin-top: -38px; grid-template-columns: 1fr 1fr; padding: 12px; }
  .toolbar .refresh { grid-column: 1 / -1; }
  .section-head { margin-top: 46px; align-items: start; flex-direction: column; gap: 8px; }
  .article-grid { grid-template-columns: 1fr; }
  .article-card { min-height: 245px; }
  .footer { flex-direction: column; gap: 4px; }
}

