/* 扁平规范：无渐变 / 阴影 / 模糊；字重 400/500；颜色全部走 CSS 变量，深色模式重定义 */
:root {
  --surface-0: #FFF7E8; --surface-1: #FFFFFF; --surface-2: #FFFFFF;
  --text-primary: #1D1B16; --text-secondary: #4A463D; --text-muted: #6B665B; --text-accent: #B83A08;
  --brand: #1F5FE0; --brand-text: #FFFFFF; --border: rgba(29, 27, 22, .18); --border-strong: rgba(29, 27, 22, .36);
  --tbd-bg: #FFE38A; --tbd-text: #6B4A00; --ok-bg: #D3F5DC; --ok-text: #0B7A36;
}
@media (prefers-color-scheme: dark) {
  :root {
    --surface-0: #15130F; --surface-1: #1F1C17; --surface-2: #26221C;
    --text-primary: #F3EEE4; --text-secondary: #D4CDBF; --text-muted: #A59E90; --text-accent: #FF9A5C;
    --brand: #6E9BFF; --brand-text: #0B1530; --border: rgba(243, 238, 228, .2); --border-strong: rgba(243, 238, 228, .4);
    --tbd-bg: #4A3A00; --tbd-text: #FFE38A; --ok-bg: #0E3A1E; --ok-text: #8BE3A8;
  }
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font: 400 16px/1.7 -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif; background: var(--surface-0); color: var(--text-primary); }
h1 { font-size: 22px; font-weight: 500; margin: 0 0 4px; }
h2 { font-size: 18px; font-weight: 500; margin: 0 0 8px; }
.wrap { max-width: 1100px; margin: 0 auto; padding: 20px 16px; }
.card { background: var(--surface-1); border: .5px solid var(--border); border-radius: 12px; padding: 1rem 1.25rem; margin-bottom: 12px; }
.muted { color: var(--text-muted); }
.price { color: var(--text-accent); font-weight: 500; }
.tag { display: inline-block; font-size: 12px; padding: 0 8px; border-radius: 8px; background: var(--tbd-bg); color: var(--tbd-text); }
.tag.ok { background: var(--ok-bg); color: var(--ok-text); }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
a { color: var(--brand); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.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; }
sup.tm { font-size: .6em; line-height: 0; vertical-align: super; margin-left: 1px; }
/* 版权行：次要文字色、小字号；底部留出手机端吸底栏 / 悬浮菜单的空间 */
.site-footer { text-align: center; font-size: 12px; color: var(--text-muted); padding: 16px 16px calc(16px + env(safe-area-inset-bottom)); }
body.with-bar .site-footer { padding-bottom: calc(120px + env(safe-area-inset-bottom)); }
