/* 最高价 zuigaojia.cn — 样式表 */
:root {
  --bg: #fffdfa;
  --bg-soft: #f7f2ec;
  --card: #ffffff;
  --border: #ece5dc;
  --border-strong: #ddd4c8;
  --text: #2b2925;
  --muted: #8b8378;
  --accent: #e5644b;
  --accent-hover: #cf5238;
  --accent-soft: #fdeee9;
  --accent-text: #c94b32;
  --top-bg: #fdf1ec;
  --top-border: #f6d9cb;
  --success: #2f9e5f;
  --success-soft: #e3f5ea;
  --shadow: 0 1px 2px rgba(60, 40, 20, .04), 0 8px 24px -12px rgba(60, 40, 20, .18);
  --radius: 18px;
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #1f1d1a;
  --bg-soft: #282521;
  --card: #2a2723;
  --border: #3a3631;
  --border-strong: #4a4540;
  --text: #f1ece4;
  --muted: #a49c90;
  --accent: #ef7c63;
  --accent-hover: #f58f79;
  --accent-soft: #3b2a25;
  --accent-text: #f2907a;
  --top-bg: #352a25;
  --top-border: #4d372f;
  --success: #5cc986;
  --success-soft: #24352b;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 30px -14px rgba(0, 0, 0, .6);
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent-text); }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { line-height: 1.25; margin: 0; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: 1040px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--accent); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }
.hide-sm { display: inline; }

/* ---------- 按钮 ---------- */
.btn-primary, .btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 11px 20px; border-radius: 999px; font-weight: 600; font-size: 14.5px;
  border: 1px solid transparent; transition: background .15s, color .15s, transform .1s, box-shadow .15s;
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 6px 18px -8px rgba(229, 100, 75, .7); }
.btn-primary:hover { background: var(--accent-hover); color: #fff; transform: translateY(-1px); }
.btn-primary:disabled { opacity: .6; cursor: default; transform: none; }
.btn-ghost { background: var(--card); border-color: var(--border-strong); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-text); }
.btn-sm { padding: 7px 14px; font-size: 13px; }

/* ---------- 头部 ---------- */
.site-header { padding: 14px 0 0; }
.header-inner { display: flex; align-items: center; gap: 14px; }
.logo { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 20px; letter-spacing: -.01em; }
.logo:hover { color: inherit; }
.logo-mark { width: 26px; height: 26px; fill: var(--accent); }
.live-pill {
  display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; padding: 5px 11px;
  border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--border); color: var(--text);
}
.live-pill:hover { color: inherit; border-color: var(--border-strong); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 3px rgba(47, 158, 95, .18); display: inline-block; animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 3px rgba(47, 158, 95, .18); } 50% { box-shadow: 0 0 0 6px rgba(47, 158, 95, .05); } }
.main-nav { margin-left: auto; display: flex; gap: 20px; font-size: 14.5px; font-weight: 500; }
.main-nav a[aria-current="page"] { color: var(--accent-text); }
.header-actions { display: flex; gap: 4px; }
.icon-btn { width: 36px; height: 36px; border-radius: 50%; border: 0; background: transparent; display: inline-flex; align-items: center; justify-content: center; color: var(--text); }
.icon-btn:hover { background: var(--bg-soft); }
.icon-btn svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.menu-btn { display: none; }
.ico-sun { display: none; }
:root[data-theme="dark"] .ico-sun { display: block; }
:root[data-theme="dark"] .ico-moon { display: none; }

/* 分类标签行 */
.chips-wrap { display: flex; align-items: center; gap: 8px; margin-top: 16px; position: relative; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 4px 2px; flex: 1; -webkit-overflow-scrolling: touch; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 5px; padding: 6px 12px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--card); font-size: 13px; font-weight: 500; color: var(--text); white-space: nowrap;
  transition: border-color .15s, background .15s;
}
.chip:hover { border-color: var(--border-strong); color: var(--text); }
.chip.active { background: var(--accent-soft); border-color: var(--accent); color: var(--accent-text); }
.chip-ico { font-size: 13px; line-height: 1; }
.chip-explore { color: var(--accent-text); border-style: dashed; }

/* ---------- Hero / 认领表单 ---------- */
.hero { text-align: center; padding: 34px 0 10px; }
.board-tabs { display: inline-flex; background: var(--bg-soft); border: 1px solid var(--border); border-radius: 999px; padding: 4px; gap: 2px; }
.tab { display: inline-flex; align-items: center; gap: 5px; padding: 6px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.tab:hover { color: var(--text); }
.tab.active { background: var(--accent); color: #fff; box-shadow: 0 4px 12px -6px rgba(229, 100, 75, .8); }
.tab-ico { font-size: 13px; }
.hero-title { font-size: 42px; font-weight: 800; letter-spacing: -.02em; margin: 22px 0 22px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; }
.stepper { display: inline-flex; align-items: center; gap: 4px; }
.step { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--border); background: var(--card); color: var(--muted); font-size: 18px; line-height: 1; display: inline-flex; align-items: center; justify-content: center; }
.step:hover { border-color: var(--accent); color: var(--accent-text); }
.amount-wrap { display: inline-flex; align-items: baseline; color: var(--accent); font-weight: 800; }
.yen { font-size: .8em; margin-right: 2px; }
.amount-input { width: 5ch; min-width: 3ch; border: 0; background: transparent; color: var(--accent); font-weight: 800; font-size: inherit; padding: 0; text-align: left; outline: none; border-bottom: 2px dashed transparent; font-variant-numeric: tabular-nums; }
.amount-input:focus { border-bottom-color: var(--accent); }
.claim-form { display: flex; gap: 10px; max-width: 760px; margin: 0 auto; }
.input-wrap { flex: 1; display: flex; align-items: center; gap: 8px; background: var(--card); border: 1px solid var(--border-strong); border-radius: 999px; padding: 0 16px; transition: border-color .15s, box-shadow .15s; }
.input-wrap:focus-within, .select-wrap:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.input-wrap svg { width: 18px; height: 18px; fill: none; stroke: var(--muted); stroke-width: 1.8; flex: 0 0 auto; }
.input-wrap input { flex: 1; border: 0; background: transparent; padding: 12px 0; outline: none; min-width: 0; }
.select-wrap { position: relative; background: var(--card); border: 1px solid var(--border-strong); border-radius: 999px; min-width: 190px; display: flex; align-items: center; }
.select-wrap::after { content: ""; position: absolute; right: 14px; top: 50%; width: 8px; height: 8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.select-wrap select { appearance: none; -webkit-appearance: none; border: 0; background: transparent; padding: 12px 34px 12px 16px; width: 100%; outline: none; }
.btn-claim { padding: 12px 22px; }
.claim-hint { min-height: 22px; margin-top: 12px; font-size: 13.5px; color: var(--muted); }
.claim-hint.is-error { color: #c0392b; }
.claim-hint.is-info { color: var(--accent-text); }
.claim-hint strong { font-weight: 700; }
.hero-note { font-size: 13px; color: var(--muted); margin: 6px 0 0; }
.cat-intro { margin: 16px 0 0; font-size: 14px; color: var(--muted); text-align: center; }
.cat-intro strong { color: var(--text); }
.cat-intro a { color: var(--accent-text); }

/* ---------- 榜单卡片 ---------- */
.board-list { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 10px; }
.card {
  position: relative; display: grid; grid-template-columns: 44px 48px 1fr; gap: 14px; align-items: center;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.card:hover { border-color: var(--border-strong); box-shadow: var(--shadow); }
.card-top { background: var(--top-bg); border-color: var(--top-border); }
.card-top:hover { border-color: var(--accent); }
.rank { font-weight: 800; font-size: 15px; color: var(--muted); font-variant-numeric: tabular-nums; }
.card-top .rank { color: var(--accent-text); font-size: 17px; }
.card[data-rank="1"] .rank { font-size: 19px; }
.card-avatar { display: block; }
.avatar { --size: 48px; width: var(--size); height: var(--size); border-radius: calc(var(--size) * .28); overflow: hidden; background: var(--bg-soft); display: inline-flex; align-items: center; justify-content: center; position: relative; flex: 0 0 auto; border: 1px solid var(--border); }
.avatar img { width: 100%; height: 100%; object-fit: contain; padding: calc(var(--size) * .1); background: #fff; }
.avatar-initial { display: none; width: 100%; height: 100%; align-items: center; justify-content: center; font-weight: 800; font-size: calc(var(--size) * .42); color: #fff; background: hsl(var(--hue) 55% 55%); }
.avatar-fallback .avatar-initial { display: flex; }
.card-body { min-width: 0; }
.card-head { display: flex; align-items: baseline; gap: 12px; }
.card-title { font-weight: 700; font-size: 15.5px; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card-amount { font-weight: 800; color: var(--accent-text); font-variant-numeric: tabular-nums; white-space: nowrap; }
.card-desc { margin: 2px 0 4px; color: var(--muted); font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; font-size: 12.5px; color: var(--muted); }
.card-meta .dot { opacity: .6; }
.card-meta .domain { overflow: hidden; text-overflow: ellipsis; max-width: 200px; }
.cat-tag { display: inline-flex; align-items: center; gap: 3px; font-weight: 600; color: var(--text); background: var(--bg-soft); border-radius: 999px; padding: 1px 8px; }
.cat-tag:hover { background: var(--accent-soft); color: var(--accent-text); }
.detail-link { color: var(--accent-text); font-weight: 500; }
.claim-rank {
  position: absolute; right: 14px; bottom: -12px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--accent);
  background: var(--card); color: var(--accent-text); font-size: 12.5px; font-weight: 600; opacity: 0; transform: translateY(4px); transition: opacity .15s, transform .15s; z-index: 2;
}
.card:hover .claim-rank, .card:focus-within .claim-rank { opacity: 1; transform: translateY(0); }
.claim-rank:hover { background: var(--accent); color: #fff; }
.board-insert { list-style: none; }
.board-divider { list-style: none; display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 12px; margin: 8px 0; }
.board-divider::before, .board-divider::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.empty-board { text-align: center; padding: 60px 20px; border: 1px dashed var(--border-strong); border-radius: var(--radius); margin-top: 26px; }
.empty-board h1, .empty-board h2 { font-size: 22px; margin-bottom: 8px; }
.empty-board p { color: var(--muted); }
.empty-note { color: var(--muted); font-size: 13.5px; margin: 0; }
.empty-note a { color: var(--accent-text); }

/* 侧栏样式的插入块 */
.side-box { border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px; background: var(--bg-soft); margin: 6px 0; }
.side-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 10px; flex-wrap: wrap; }
.side-head h2 { font-size: 15px; font-weight: 700; display: inline-flex; align-items: center; gap: 8px; }
.side-more { font-size: 13px; color: var(--accent-text); font-weight: 500; }
.mini-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.mini-item { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; background: var(--card); border: 1px solid var(--border); }
.mini-item:hover { border-color: var(--accent); color: inherit; }
.mini-rank { font-weight: 800; color: var(--muted); font-size: 13px; width: 28px; flex: 0 0 auto; }
.mini-body { flex: 1; min-width: 0; display: grid; }
.mini-title { font-weight: 600; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini-desc { font-size: 12.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini-amount { font-weight: 700; color: var(--accent-text); font-size: 13.5px; white-space: nowrap; }
.mini-list.compact .mini-item { padding: 6px 8px; }
.activity-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.activity-item { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 10px; }
.activity-item:hover { background: var(--card); color: inherit; }
.activity-body { flex: 1; min-width: 0; display: grid; }
.activity-title { font-weight: 600; font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.activity-sub { font-size: 12.5px; color: var(--muted); }
.activity-time { font-size: 12px; color: var(--muted); white-space: nowrap; }
#activityMore { margin-top: 8px; }

/* 分页 */
.pagination { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 26px 0 10px; flex-wrap: wrap; }
.page-btn { min-width: 34px; height: 34px; padding: 0 10px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; border: 1px solid var(--border); background: var(--card); font-size: 13.5px; font-weight: 600; }
.page-btn:hover { border-color: var(--accent); color: var(--accent-text); }
.page-btn.active { background: var(--accent); border-color: var(--accent); color: #fff; }
.page-btn.disabled { opacity: .4; }
.page-gap { color: var(--muted); padding: 0 4px; }
.page-info { width: 100%; text-align: center; font-size: 12.5px; color: var(--muted); margin-top: 6px; }

/* 数据条 */
.stats-strip { margin: 40px 0 10px; text-align: center; }
.stats-title { font-size: 13.5px; color: var(--muted); }
.stats-title a { color: var(--accent-text); }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.stat { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 16px 12px; display: grid; gap: 4px; }
.stat-value { font-size: 24px; font-weight: 800; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.stat-label { font-size: 12.5px; color: var(--muted); }
.stat-label a { color: var(--accent-text); }

/* ---------- 页脚 ---------- */
.site-footer { margin-top: 60px; padding: 28px 0 40px; border-top: 1px solid var(--border); font-size: 13px; color: var(--muted); }
.footer-inner { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between; }
.footer-brand { display: grid; gap: 2px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 14px; }
.footer-nav a:hover, .footer-brand a:hover { color: var(--accent-text); }
.footer-icp { width: 100%; display: flex; gap: 14px; font-size: 12px; }

/* 搜索层 */
.search-overlay { position: fixed; inset: 0; background: rgba(30, 20, 10, .45); backdrop-filter: blur(4px); z-index: 90; display: flex; align-items: flex-start; justify-content: center; padding: 12vh 20px; }
.search-box { width: 100%; max-width: 560px; background: var(--card); border-radius: 20px; padding: 18px; box-shadow: var(--shadow); }
.search-box form, .search-form { display: flex; gap: 10px; }
.search-box input, .search-form input { flex: 1; padding: 12px 16px; border-radius: 999px; border: 1px solid var(--border-strong); background: var(--bg); outline: none; min-width: 0; }
.search-box input:focus, .search-form input:focus { border-color: var(--accent); }
.search-box p { margin: 10px 0 0; font-size: 12px; }

/* ---------- 通用页面 ---------- */
.page-head { padding: 34px 0 10px; }
.page-head h1 { font-size: 34px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 8px; }
.lead { color: var(--muted); font-size: 15.5px; max-width: 720px; }
.breadcrumb { margin-top: 24px; font-size: 13px; color: var(--muted); }
.breadcrumb a:hover { color: var(--accent-text); }
.notice { background: var(--accent-soft); border: 1px solid var(--top-border); border-radius: 14px; padding: 12px 16px; margin: 20px 0; font-size: 14px; }
.notice-success { background: var(--success-soft); border-color: transparent; }
.badge-live { display: inline-block; vertical-align: middle; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--success-soft); color: var(--success); margin-left: 6px; }

.prose { max-width: 720px; padding: 30px 0 0; }
.prose h1 { font-size: 34px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 18px; }
.prose h2 { font-size: 20px; font-weight: 700; margin: 30px 0 10px; }
.prose p, .prose li { font-size: 15.5px; line-height: 1.7; }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 1em; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--top-border); }
.about-stats { margin: 16px 0 10px; }
.faq-list { display: grid; gap: 10px; margin-top: 20px; }
.faq-item { border: 1px solid var(--border); border-radius: 14px; background: var(--card); padding: 0 18px; }
.faq-item summary { cursor: pointer; list-style: none; padding: 16px 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 20px; color: var(--muted); flex: 0 0 auto; }
.faq-item[open] summary::after { content: "−"; }
.faq-item summary h2 { font-size: 16px; margin: 0; }
.faq-body { padding: 0 0 16px; }
.faq-body p { margin-bottom: 8px; }
.faq-links { display: flex; flex-wrap: wrap; gap: 12px; font-size: 13px; }

/* 产品详情 */
.product-hero { margin-top: 16px; border: 2px solid var(--text); border-radius: 22px; padding: 26px 28px; background: var(--card); }
:root[data-theme="dark"] .product-hero { border-color: var(--border-strong); }
.product-head { display: flex; gap: 16px; align-items: center; }
.product-title { font-size: 30px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 6px; }
.product-desc { margin: 18px 0 0; font-size: 16px; line-height: 1.65; }
.product-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.rank-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-top: 18px; }
.rank-card { border: 1px solid var(--border); border-radius: 18px; background: var(--card); padding: 18px 20px; display: grid; gap: 2px; }
.rank-label { font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.rank-value { font-size: 32px; font-weight: 800; letter-spacing: -.02em; }
.rank-sub { font-size: 13px; color: var(--muted); }
.rank-card a { margin-top: 8px; font-size: 13px; color: var(--accent-text); font-weight: 500; }
.product-about { margin-top: 34px; }
.product-about h2, .siblings h2 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.qa-list { margin: 16px 0 0; display: grid; gap: 12px; }
.qa { border-left: 3px solid var(--top-border); padding-left: 14px; }
.qa dt { font-weight: 700; margin-bottom: 4px; }
.qa dd { margin: 0; color: var(--muted); }
.siblings { margin-top: 34px; }

/* 分类页 */
.hot-box { border: 1px solid var(--top-border); background: var(--top-bg); border-radius: var(--radius); padding: 16px 18px; margin-top: 14px; }
.hot-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px; }
.hot-card { display: grid; gap: 4px; background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 14px; }
.hot-card:hover { border-color: var(--accent); color: inherit; }
.hot-rank { font-size: 11.5px; font-weight: 700; color: var(--accent-text); letter-spacing: .04em; }
.hot-name { font-weight: 700; font-size: 15px; }
.hot-sub { font-size: 12.5px; color: var(--muted); }
.hot-leader { display: flex; align-items: center; gap: 8px; margin-top: 6px; font-size: 12.5px; color: var(--muted); }
.hot-leader-title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hot-amount { font-weight: 700; color: var(--accent-text); }
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; margin-top: 18px; }
.cat-card { border: 1px solid var(--border); border-radius: var(--radius); background: var(--card); padding: 16px; }
.cat-card h2 { display: flex; align-items: center; gap: 8px; font-size: 15.5px; font-weight: 700; margin-bottom: 12px; }
.cat-card h2 a { display: inline-flex; align-items: center; gap: 8px; flex: 1; }
.cat-ico { width: 30px; height: 30px; border-radius: 9px; background: var(--accent-soft); display: inline-flex; align-items: center; justify-content: center; font-size: 15px; }
.cat-count { font-size: 12px; font-weight: 600; color: var(--muted); background: var(--bg-soft); padding: 2px 8px; border-radius: 999px; }

/* 每日榜 */
.day-box { border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; margin-top: 16px; background: var(--card); }
.day-live { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.day-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.day-head h2 { font-size: 20px; font-weight: 800; }
.day-note { font-size: 13px; color: var(--accent-text); margin: 6px 0 0; }
.day-box .board-list { margin-top: 14px; }
.day-actions { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }

/* ---------- 支付页 ---------- */
.pay-wrap { max-width: 560px; margin: 30px auto 0; }
.pay-card { background: var(--card); border: 1px solid var(--border); border-radius: 22px; padding: 28px; box-shadow: var(--shadow); }
.pay-card h1 { font-size: 24px; font-weight: 800; margin-bottom: 18px; }
.pay-success { text-align: center; }
.pay-emoji { font-size: 44px; line-height: 1; margin-bottom: 8px; }
.pay-summary { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; background: var(--bg-soft); }
.pay-title { font-weight: 700; }
.pay-lines { margin: 18px 0; display: grid; gap: 8px; }
.pay-lines > div { display: flex; justify-content: space-between; gap: 12px; font-size: 14.5px; }
.pay-lines dt { color: var(--muted); }
.pay-lines dd { margin: 0; font-weight: 600; text-align: right; }
.pay-total { border-top: 1px solid var(--border); padding-top: 10px; margin-top: 4px; }
.pay-total dd { font-size: 22px; font-weight: 800; color: var(--accent-text); }
.pay-channels { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pay-channel { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px; border-radius: 14px; border: 1.5px solid var(--border-strong); background: var(--card); font-weight: 700; font-size: 15px; transition: border-color .15s, background .15s; }
.pay-channel:hover, .pay-channel.active { border-color: var(--accent); background: var(--accent-soft); }
.pc-ico { width: 26px; height: 26px; border-radius: 7px; display: inline-flex; align-items: center; justify-content: center; }
.pc-ico svg { width: 18px; height: 18px; fill: #fff; }
.pc-wechat { background: #07c160; }
.pc-alipay { background: #1677ff; }
.pay-area { margin-top: 18px; text-align: center; }
.qr-box { display: inline-block; padding: 14px; background: #fff; border-radius: 16px; border: 1px solid var(--border); }
.qr-code svg, .qr-code img { display: block; width: 220px; height: 220px; }
.qr-hint { margin: 10px 0 0; font-size: 13px; color: var(--muted); }
.pay-status { margin: 12px 0 0; font-size: 14px; color: var(--muted); display: flex; align-items: center; justify-content: center; gap: 8px; }
.spinner { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--border-strong); border-top-color: var(--accent); animation: spin .8s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.pay-error { color: #c0392b; font-size: 14px; margin: 12px 0 0; background: #fdecea; padding: 10px 12px; border-radius: 10px; }
:root[data-theme="dark"] .pay-error { background: #3d2320; color: #ff9b8f; }
.mock-box { margin-top: 18px; padding: 12px 14px; border: 1px dashed var(--border-strong); border-radius: 12px; font-size: 13.5px; display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.mock-box p { margin: 0; }
.pay-terms { margin: 18px 0 4px; font-size: 12.5px; color: var(--muted); line-height: 1.6; }
.pay-terms a { color: var(--accent-text); }
.pay-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 20px 0; }

/* ---------- 响应式 ---------- */
@media (max-width: 860px) {
  .main-nav { display: none; position: absolute; right: 20px; top: 56px; background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 8px; flex-direction: column; gap: 0; box-shadow: var(--shadow); z-index: 50; min-width: 150px; }
  .main-nav a { padding: 10px 14px; border-radius: 10px; }
  .main-nav a:hover { background: var(--bg-soft); }
  .site-header.menu-open .main-nav { display: flex; }
  .header-inner { position: relative; }
  .menu-btn { display: inline-flex; }
  .header-actions { margin-left: auto; }
  .hide-sm { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 14.5px; }
  .container { padding: 0 14px; }
  .live-pill .muted { display: none; }
  .hero { padding-top: 22px; }
  .hero-title { font-size: 28px; gap: 6px; margin: 16px 0; }
  .step { width: 26px; height: 26px; font-size: 15px; }
  .claim-form { flex-direction: column; }
  .select-wrap { min-width: 0; }
  .btn-claim { width: 100%; }
  .card { grid-template-columns: 30px 40px 1fr; gap: 10px; padding: 12px; }
  .avatar { --size: 40px !important; }
  .card-head { flex-wrap: wrap; gap: 2px 10px; }
  .card-title { white-space: normal; font-size: 14.5px; }
  .card-desc { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .claim-rank { position: static; opacity: 1; transform: none; grid-column: 1 / -1; justify-self: start; margin-top: 2px; }
  .card-meta .domain { max-width: 140px; }
  .product-hero { padding: 20px; }
  .product-title { font-size: 22px; }
  .rank-value { font-size: 26px; }
  .page-head h1, .prose h1 { font-size: 26px; }
  .pay-card { padding: 20px; }
  .pay-channels { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
.logo, .live-pill { white-space: nowrap; }
.pay-lines dt { flex: 0 0 auto; white-space: nowrap; }
.pay-lines dd { min-width: 0; }
.pay-summary > div { min-width: 0; }
.pay-summary .small { word-break: break-all; }
@media (max-width: 400px) {
  .live-pill { display: none; }
}
@media (hover: none) {
  .claim-rank { opacity: 1; transform: none; }
}
