:root {
  --bg: #f7f8fa;
  --surface: #ffffff;
  --border: #e3e6ea;
  --text: #1c2430;
  --muted: #6b7585;
  --accent: #c0392b;      /* 俄罗斯红，呼应主题 */
  --accent-2: #14507a;    /* 深蓝 */
  --green: #1e8e4e;
  --blue: #1f6fb2;
  --amber: #b8860b;
  --red: #c0392b;
  --shadow: 0 1px 3px rgba(20,30,45,.08);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Noto Sans", Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 24px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand .logo { font-size: 28px; }
.brand h1 { font-size: 20px; margin: 0; }
.tagline { margin: 2px 0 0; color: var(--muted); font-size: 13px; }

.lang-switch { display: flex; gap: 6px; }
.lang-switch button {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  padding: 6px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
  transition: all .15s;
}
.lang-switch button.active {
  background: var(--accent-2);
  color: #fff;
  border-color: var(--accent-2);
}

.demo-banner {
  background: #fff7e6;
  border-bottom: 1px solid #ffe1a8;
  color: #8a5a00;
  padding: 8px 24px;
  font-size: 13px;
  text-align: center;
}

.tabs {
  display: flex;
  gap: 4px;
  padding: 12px 24px 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.tab {
  border: none;
  background: none;
  padding: 10px 18px;
  font-size: 15px;
  color: var(--muted);
  cursor: pointer;
  border-bottom: 3px solid transparent;
}
.tab.active { color: var(--accent); border-bottom-color: var(--accent); font-weight: 600; }

.controls {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: var(--surface);
  flex-wrap: wrap;
}
.controls label { color: var(--muted); font-size: 14px; }
#dateSelect {
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  background: #fff;
}
.updated-at { color: var(--muted); font-size: 13px; }

.briefing {
  max-width: 920px;
  margin: 20px auto;
  padding: 0 24px 40px;
}

.overview {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 22px;
  box-shadow: var(--shadow);
}
.overview h2 { margin: 0 0 8px; font-size: 15px; color: var(--accent-2); }
.overview ul { margin: 0; padding-left: 18px; }
.overview li { margin: 4px 0; font-size: 14.5px; }

.section { margin-bottom: 26px; }
.section-title {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 12px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--border);
}

.item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 12px;
  box-shadow: var(--shadow);
}
.item-title { font-size: 15.5px; font-weight: 600; margin: 0 0 6px; }
.item-summary { font-size: 14px; color: #2c3540; margin: 0 0 10px; }
.item-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; font-size: 12.5px; color: var(--muted); }
.item-meta a { color: var(--accent-2); text-decoration: none; }
.item-meta a:hover { text-decoration: underline; }

.badge {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  border: 1px solid transparent;
}
.badge-dual { color: var(--green); background: #e7f6ec; border-color: #bce6c9; }
.badge-official { color: var(--blue); background: #e7f1fa; border-color: #bcdaef; }
.badge-single { color: var(--amber); background: #fbf3df; border-color: #ecd9a8; }
.badge-rumor { color: var(--red); background: #fbeae8; border-color: #f0c4be; }

.rates {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 22px;
  font-size: 14px;
  box-shadow: var(--shadow);
}
.rates strong { color: var(--accent-2); }
.rates .rate { margin-right: 18px; }

.empty { text-align: center; color: var(--muted); padding: 40px 0; }
.loading { text-align: center; color: var(--muted); padding: 40px 0; }

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 18px 24px;
  font-size: 12.5px;
  color: var(--muted);
  text-align: center;
}
.site-footer .muted { margin: 4px 0; }

@media (max-width: 600px) {
  .site-header, .tabs, .controls { padding-left: 14px; padding-right: 14px; }
  .briefing { padding: 0 14px 32px; }
}
