/* 67 · Daily News — same palette as 67jerry.com (light default, automatic dark). */
:root {
  color-scheme: light dark;
  --bg: #ffffff; --surface: #f9f9f9; --card: #ffffff; --hover: #ececec;
  --border: #e5e5e5; --border-strong: #d1d1d1;
  --text: #0d0d0d; --muted: #5d5d5d; --faint: #8f8f8f;
  --btn: #0d0d0d; --btn-text: #ffffff;
  --accent: #0d0d0d; --chip: #f4f4f4;
  --shadow: 0 1px 2px rgba(0,0,0,.04), 0 4px 16px rgba(0,0,0,.06);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #212121; --surface: #171717; --card: #2a2a2a; --hover: #2f2f2f;
    --border: #383838; --border-strong: #4a4a4a;
    --text: #ececec; --muted: #b4b4b4; --faint: #8e8e8e;
    --btn: #ffffff; --btn-text: #0d0d0d; --accent: #ececec; --chip: #333333;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 4px 16px rgba(0,0,0,.35);
  }
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--surface); color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Noto Sans CJK SC", "Microsoft YaHei", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.en { display: none; }
.lang-en .en { display: inline; }
.lang-en .zh { display: none; }

.wrap { max-width: 760px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left)); padding-right: max(16px, env(safe-area-inset-right)); }
.top { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--border); padding-top: env(safe-area-inset-top); }
.bar { display: flex; align-items: center; justify-content: space-between; height: 56px; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 17px; white-space: nowrap; }
.logo { display: block; width: 32px; height: 32px; border-radius: 50%; object-fit: cover; flex: none; box-shadow: 0 0 0 1px var(--border); background: var(--chip); }
nav { display: flex; gap: 8px; }
.pill { appearance: none; border: 1px solid var(--border-strong); background: var(--bg); color: var(--text); border-radius: 999px; padding: 5px 12px; font: inherit; font-size: 13.5px; text-decoration: none; cursor: pointer; white-space: nowrap; line-height: 1.4; }
.pill:hover { background: var(--hover); }

.dayhead { padding: 28px 0 8px; }
.kicker { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
.dayhead h1 { margin: 4px 0 6px; font-size: clamp(24px, 6vw, 32px); line-height: 1.25; letter-spacing: -.01em; }
.updated { color: var(--muted); font-size: 14px; }
.note { margin-top: 12px; padding: 10px 14px; border-radius: 12px; background: var(--chip); color: var(--muted); font-size: 14px; }

.stories { display: flex; flex-direction: column; gap: 12px; margin: 18px 0 8px; }
.story { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 18px 18px 14px; box-shadow: var(--shadow); }
.meta { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.num { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--faint); font-size: 13px; }
.cat { font-size: 12px; font-weight: 600; padding: 2px 9px; border-radius: 999px; background: var(--chip); color: var(--muted); }
.cat-conflict { background: #fdecea; color: #b42318; } .cat-economy { background: #ecfdf3; color: #067647; }
.cat-tech { background: #eff4ff; color: #1849a9; } .cat-health { background: #fdf2fa; color: #a11043; }
.cat-climate, .cat-science { background: #f0f9ff; color: #026aa2; } .cat-politics { background: #f4f3ff; color: #5925dc; }
@media (prefers-color-scheme: dark) { .cat[class*="cat-"] { background: var(--chip); color: var(--muted); } }
.story h2 { margin: 0 0 6px; font-size: 18.5px; line-height: 1.4; letter-spacing: -.005em; }
.story p { margin: 0 0 12px; color: var(--muted); font-size: 15.5px; }
.src { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; border-top: 1px dashed var(--border); padding-top: 10px; }
.src .lbl { font-size: 12.5px; color: var(--faint); margin-right: 2px; }
.src a { font-size: 13px; text-decoration: none; border: 1px solid var(--border); border-radius: 8px; padding: 2px 8px; color: var(--text); }
.src a:hover { background: var(--hover); }

.about { color: var(--faint); font-size: 13px; padding: 8px 2px 0; }
.about p { margin: 6px 0; } .fine { font-size: 12px; }
.empty { margin: 48px 0; padding: 28px; text-align: center; background: var(--card); border: 1px solid var(--border); border-radius: 16px; color: var(--muted); }

.archive { margin: 28px 0 8px; }
.archive h3 { font-size: 15px; margin: 0 0 8px; color: var(--muted); }
.archive ul { list-style: none; margin: 0; padding: 0; background: var(--card); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; }
.archive li + li { border-top: 1px solid var(--border); }
.archive a { display: flex; gap: 14px; padding: 11px 16px; text-decoration: none; font-size: 14.5px; }
.archive a:hover { background: var(--hover); }
.archive a[aria-current] { background: var(--chip); }
.ad { flex: none; min-width: 6.5em; color: var(--faint); font-variant-numeric: tabular-nums; }
.al { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; color: var(--faint); font-size: 12.5px; padding-top: 18px; padding-bottom: max(24px, env(safe-area-inset-bottom)); }
@media (max-width: 420px) { .story { padding: 15px 14px 12px; border-radius: 14px; } .story h2 { font-size: 17.5px; } .brand > span:last-child { font-size: 15.5px; } }
