/* ==========================================================================
   币润 BiRun 设计系统 —— 专业新闻门户（对标 BlockBeats）
   ========================================================================== */

:root {
  --brand: #1a56ff;
  --brand-hover: #0f44e0;
  --up: #0ecb81;
  --down: #f6465d;
  --hot: #ff4d4f;
  --bg: #ffffff;
  --bg-soft: #f7f8fa;
  --bg-panel: #ffffff;
  --line: #f0f1f2;
  --line-strong: #e5e6e8;
  --text-1: #17181a;
  --text-2: #4b4f55;
  --text-3: #9499a0;
  --shadow: 0 1px 2px rgba(0,0,0,.03), 0 4px 16px rgba(0,0,0,.04);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.10);
  --radius: 8px;
  --header-h: 60px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", sans-serif;
}
[data-theme="dark"] {
  --brand: #3b6fff;
  --brand-hover: #5c88ff;
  --bg: #101114;
  --bg-soft: #17181c;
  --bg-panel: #17181c;
  --line: #232529;
  --line-strong: #2e3136;
  --text-1: #eceef1;
  --text-2: #b3b8bf;
  --text-3: #6d737b;
  --shadow: 0 1px 2px rgba(0,0,0,.4);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.5);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text-1);
  font-size: 15px;
  line-height: 1.6;
  transition: background .25s, color .25s;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font-family: inherit; }
img { max-width: 100%; }

/* ============ Header ============ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: 1200px; margin: 0 auto; height: var(--header-h);
  display: flex; align-items: center; gap: 36px; padding: 0 24px;
}
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-mark {
  width: 34px; height: 34px; border-radius: 8px;
  background: var(--text-1); color: var(--bg);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 17px;
}
.logo-mark.small { width: 28px; height: 28px; font-size: 14px; border-radius: 6px; }
.logo-text { font-size: 19px; font-weight: 800; letter-spacing: -.01em; }
.logo-text em { font-style: normal; font-weight: 600; font-size: 13px; color: var(--text-3); margin-left: 6px; letter-spacing: .02em; }

.main-nav { display: flex; gap: 4px; flex: 1; }
.main-nav a {
  padding: 8px 14px; font-size: 15px; font-weight: 500; color: var(--text-2);
  border-radius: 6px; transition: color .15s, background .15s;
}
.main-nav a:hover { color: var(--text-1); background: var(--bg-soft); }
.main-nav a.active { color: var(--text-1); font-weight: 700; }

.header-actions { display: flex; align-items: center; gap: 10px; }
.search-box {
  position: relative; display: flex; align-items: center;
  background: var(--bg-soft); border-radius: 18px; padding: 0 14px; height: 36px; width: 200px;
  border: 1px solid transparent; transition: border-color .15s, width .2s;
}
.search-box:focus-within { border-color: var(--line-strong); width: 260px; }
.search-box i { font-size: 13px; color: var(--text-3); margin-right: 8px; }
.search-box input { border: none; outline: none; background: none; font-size: 14px; width: 100%; color: var(--text-1); }
.search-dropdown {
  position: absolute; top: calc(100% + 8px); right: 0; width: 380px; max-height: 420px; overflow-y: auto;
  background: var(--bg-panel); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 6px; z-index: 200;
}
.search-dropdown a, .search-dropdown .sr-item { display: block; padding: 10px 12px; border-radius: 6px; font-size: 14px; }
.search-dropdown a:hover { background: var(--bg-soft); }
.search-dropdown .sr-tag { font-size: 11px; color: var(--brand); margin-right: 6px; font-weight: 600; }
.search-dropdown .sr-empty { padding: 16px; color: var(--text-3); font-size: 13px; text-align: center; }

.icon-btn {
  width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  color: var(--text-2); font-size: 15px; transition: background .15s;
}
.icon-btn:hover { background: var(--bg-soft); color: var(--text-1); }
.theme-icon-light { display: none; }
[data-theme="dark"] .theme-icon-dark { display: none; }
[data-theme="dark"] .theme-icon-light { display: inline; }
.mobile-only { display: none; }
.mobile-menu { border-top: 1px solid var(--line); padding: 8px 16px; }
.mobile-menu a { display: block; padding: 12px 8px; font-size: 15px; font-weight: 500; border-bottom: 1px solid var(--line); }
.mobile-menu a:last-child { border-bottom: none; }

/* 行情条 */
.ticker-strip {
  display: flex; gap: 28px; overflow-x: auto; white-space: nowrap;
  max-width: 1200px; margin: 0 auto; padding: 8px 24px;
  border-top: 1px solid var(--line); font-size: 12.5px;
  scrollbar-width: none;
}
.ticker-strip::-webkit-scrollbar { display: none; }
.tick { display: inline-flex; align-items: baseline; gap: 7px; flex-shrink: 0; }
.tick .t-sym { font-weight: 700; color: var(--text-1); }
.tick .t-price { color: var(--text-2); font-variant-numeric: tabular-nums; }
.tick .t-chg { font-weight: 600; font-variant-numeric: tabular-nums; }
.t-up { color: var(--up); } .t-down { color: var(--down); }

/* ============ 布局 ============ */
.page-main { max-width: 1200px; margin: 0 auto; padding: 28px 24px 60px; }
.home-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; }

/* ============ Hero 头条 ============ */
.hero-section { margin-bottom: 8px; }
.hero-card {
  display: block; padding: 26px 28px; border-radius: 12px;
  background: linear-gradient(135deg, #17181a 0%, #2a2d34 100%);
  color: #fff; margin-bottom: 28px; position: relative; overflow: hidden;
}
[data-theme="dark"] .hero-card { background: linear-gradient(135deg, #1d2026 0%, #2a2f3a 100%); border: 1px solid var(--line-strong); }
.hero-card::after {
  content: ''; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(59,111,255,.35), transparent 65%);
}
.hero-kicker { font-size: 12px; font-weight: 700; letter-spacing: .12em; color: #8ea8ff; text-transform: uppercase; margin-bottom: 10px; }
.hero-title { font-size: 24px; font-weight: 800; line-height: 1.4; letter-spacing: -.01em; margin-bottom: 10px; }
.hero-desc { font-size: 14px; color: rgba(255,255,255,.65); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hero-meta { margin-top: 14px; font-size: 12.5px; color: rgba(255,255,255,.45); }

/* ============ 文章 Feed（左图右文 / 左文右图 经典门户行） ============ */
.section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.section-head h2 { font-size: 18px; font-weight: 800; letter-spacing: -.01em; }
.more-link { font-size: 13px; color: var(--text-3); }
.more-link:hover { color: var(--brand); }

.article-feed { display: flex; flex-direction: column; }
.feed-item {
  display: flex; gap: 20px; padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.feed-item:last-child { border-bottom: none; }
.feed-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.feed-title {
  font-size: 17px; font-weight: 700; line-height: 1.5; letter-spacing: -.01em;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  transition: color .15s;
}
.feed-item:hover .feed-title { color: var(--brand); }
.feed-summary {
  margin-top: 8px; font-size: 13.5px; color: var(--text-3); line-height: 1.65;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.feed-meta { margin-top: auto; padding-top: 10px; font-size: 12.5px; color: var(--text-3); display: flex; align-items: center; gap: 8px; }
.feed-meta .cat { color: var(--brand); font-weight: 600; }
.feed-meta .dot::before { content: '·'; }
.feed-thumb {
  width: 200px; height: 125px; border-radius: 8px; overflow: hidden; flex-shrink: 0;
  background: var(--bg-soft); display: flex; align-items: center; justify-content: center;
}
.feed-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.feed-item:hover .feed-thumb img { transform: scale(1.04); }
.feed-thumb .thumb-ph { font-size: 28px; font-weight: 800; color: var(--text-3); opacity: .35; letter-spacing: .05em; }

/* ============ 右侧快讯栏（律动式核心） ============ */
.home-sidebar { display: flex; flex-direction: column; gap: 20px; }
.nf-panel {
  background: var(--bg-panel); border: 1px solid var(--line); border-radius: 12px;
  overflow: hidden;
}
.nf-panel-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 18px 12px;
}
.nf-panel-head h2 { font-size: 16px; font-weight: 800; display: flex; align-items: center; gap: 8px; }
.live-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--hot); display: inline-block;
  animation: live-pulse 1.6s ease-out infinite;
}
@keyframes live-pulse {
  0% { box-shadow: 0 0 0 0 rgba(255,77,79,.5); }
  70% { box-shadow: 0 0 0 7px rgba(255,77,79,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,77,79,0); }
}
.nf-list { padding: 0 18px; max-height: 560px; overflow-y: auto; }
.nf-item {
  position: relative; padding: 0 0 18px 20px; border-left: 1px solid var(--line-strong);
  margin-left: 6px;
}
.nf-item:last-child { padding-bottom: 6px; }
.nf-item::before {
  content: ''; position: absolute; left: -4.5px; top: 7px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--text-3);
}
.nf-item.important::before { border-color: var(--hot); background: var(--hot); }
.nf-time { font-size: 12px; color: var(--text-3); font-variant-numeric: tabular-nums; margin-bottom: 4px; }
.nf-title { font-size: 14px; font-weight: 600; line-height: 1.55; cursor: pointer; transition: color .15s; }
.nf-title:hover { color: var(--brand); }
.nf-item.important .nf-title { color: var(--hot); }
.nf-item.important .nf-title:hover { color: var(--hot); opacity: .85; }
.nf-body { font-size: 13px; color: var(--text-2); line-height: 1.7; margin-top: 6px; display: none; }
.nf-item.open .nf-body { display: block; }
.nf-tags { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.nf-more-btn {
  display: block; text-align: center; padding: 12px; font-size: 13.5px; font-weight: 600;
  color: var(--text-2); border-top: 1px solid var(--line); transition: color .15s, background .15s;
}
.nf-more-btn:hover { color: var(--brand); background: var(--bg-soft); }

/* 标签 */
.tag { font-size: 11.5px; font-weight: 600; padding: 2px 8px; border-radius: 4px; line-height: 1.6; }
.tag-bull { color: var(--up); background: rgba(14,203,129,.09); }
.tag-bear { color: var(--down); background: rgba(246,70,93,.09); }
.tag-coin { color: var(--brand); background: rgba(26,86,255,.07); }
.tag-src { color: var(--text-3); font-size: 12px; }
.tag-src a:hover { color: var(--brand); }

/* ============ 侧栏小组件 ============ */
.side-widget {
  background: var(--bg-panel); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px;
}
.widget-title { font-size: 15px; font-weight: 800; margin-bottom: 12px; }
.fg-block { display: flex; align-items: center; gap: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 10px; }
.fg-num { font-size: 34px; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1; }
.fg-label { font-size: 13px; font-weight: 600; margin-top: 4px; }
.fg-bar { flex: 1; height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--down), #f7b955, var(--up)); position: relative; }
.fg-bar i {
  position: absolute; top: -3px; width: 12px; height: 12px; border-radius: 50%;
  background: var(--bg); border: 3px solid var(--text-1); transform: translateX(-50%);
}
.hot-list { display: flex; flex-direction: column; }
.hot-item { display: flex; align-items: center; gap: 10px; padding: 7px 0; font-size: 13.5px; }
.hot-rank { width: 18px; font-weight: 800; color: var(--text-3); font-size: 13px; text-align: center; }
.hot-item:nth-child(1) .hot-rank, .hot-item:nth-child(2) .hot-rank, .hot-item:nth-child(3) .hot-rank { color: var(--hot); }
.hot-item img { width: 20px; height: 20px; border-radius: 50%; }
.hot-sym { font-weight: 700; }
.hot-name { color: var(--text-3); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; }
.hot-cap { color: var(--text-3); font-size: 12px; }

.fund-item { padding: 10px 0; border-bottom: 1px solid var(--line); }
.fund-item:last-child { border-bottom: none; }
.fund-top { display: flex; justify-content: space-between; align-items: baseline; }
.fund-name { font-size: 14px; font-weight: 700; }
.fund-amount { font-size: 14px; font-weight: 800; color: var(--brand); font-variant-numeric: tabular-nums; }
.fund-sub { font-size: 12.5px; color: var(--text-3); margin-top: 3px; }

.cal-item { display: flex; gap: 10px; padding: 8px 0; align-items: flex-start; }
.cal-icon { font-size: 15px; line-height: 1.5; }
.cal-title { font-size: 13.5px; font-weight: 600; line-height: 1.5; }
.cal-date { font-size: 12px; color: var(--text-3); margin-top: 2px; }

/* ============ 快讯页（按日期分组时间轴） ============ */
.nf-page { max-width: 720px; margin: 0 auto; }
.nf-page-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.nf-page-head h1 { font-size: 24px; font-weight: 800; display: flex; align-items: center; gap: 10px; }
.nf-filters, .art-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.nf-filters button, .art-filters button {
  padding: 6px 16px; font-size: 13.5px; font-weight: 600; border-radius: 16px;
  color: var(--text-2); background: var(--bg-soft); transition: all .15s;
}
.nf-filters button:hover, .art-filters button:hover { color: var(--text-1); }
.nf-filters button.active, .art-filters button.active { background: var(--text-1); color: var(--bg); }

.nf-date-group { margin-bottom: 6px; }
.nf-date-head {
  position: sticky; top: calc(var(--header-h) + 0px); z-index: 10;
  background: var(--bg); padding: 10px 0; font-size: 15px; font-weight: 800;
  display: flex; align-items: center; gap: 10px;
}
.nf-date-head::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.nf-timeline .nf-item { padding-bottom: 22px; }
.nf-timeline .nf-title { font-size: 15.5px; }
.nf-timeline .nf-body { display: block; font-size: 14px; }
.nf-timeline .nf-item.important .nf-title { font-size: 16px; }

.load-more-wrap { text-align: center; padding: 28px 0; }
.load-more-wrap button {
  padding: 10px 36px; font-size: 14px; font-weight: 600; border-radius: 20px;
  border: 1px solid var(--line-strong); color: var(--text-2); transition: all .15s;
}
.load-more-wrap button:hover { color: var(--brand); border-color: var(--brand); }

/* ============ 文章页 ============ */
.art-page { max-width: 860px; margin: 0 auto; }
.art-page-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; flex-wrap: wrap; gap: 12px; }
.art-page-head h1 { font-size: 24px; font-weight: 800; }

/* ============ 文章详情 ============ */
.art-detail { max-width: 720px; margin: 0 auto; }
.art-crumb { font-size: 13px; color: var(--text-3); margin-bottom: 18px; }
.art-crumb a:hover { color: var(--brand); }
.art-h1 { font-size: 30px; font-weight: 800; line-height: 1.4; letter-spacing: -.015em; margin-bottom: 18px; }
.art-byline {
  display: flex; align-items: center; gap: 14px; font-size: 13.5px; color: var(--text-3);
  padding-bottom: 22px; border-bottom: 1px solid var(--line); margin-bottom: 26px;
}
.art-lead {
  font-size: 15px; color: var(--text-2); line-height: 1.8;
  background: var(--bg-soft); border-left: 3px solid var(--text-1);
  padding: 14px 18px; border-radius: 0 8px 8px 0; margin-bottom: 26px;
}
.art-body { font-size: 16px; line-height: 1.9; color: var(--text-1); }
.art-body h2 { font-size: 21px; font-weight: 800; margin: 36px 0 14px; letter-spacing: -.01em; }
.art-body h3 { font-size: 18px; font-weight: 700; margin: 28px 0 12px; }
.art-body p { margin: 16px 0; }
.art-body ul, .art-body ol { padding-left: 24px; margin: 16px 0; }
.art-body li { margin: 8px 0; }
.art-body a { color: var(--brand); }
.art-body a:hover { text-decoration: underline; }
.art-body blockquote { border-left: 3px solid var(--line-strong); padding-left: 16px; color: var(--text-2); margin: 20px 0; }
.art-body code { background: var(--bg-soft); padding: 2px 6px; border-radius: 4px; font-size: .9em; }
.art-body img { border-radius: 8px; margin: 16px 0; }
.art-disclaimer { margin-top: 44px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--text-3); }

/* ============ Footer ============ */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-soft); margin-top: 40px; }
.footer-inner {
  max-width: 1200px; margin: 0 auto; padding: 36px 24px;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-name { font-size: 15px; font-weight: 800; }
.footer-slogan { font-size: 12.5px; color: var(--text-3); }
.footer-links { display: flex; gap: 22px; font-size: 13.5px; color: var(--text-2); flex-wrap: wrap; }
.footer-links a:hover { color: var(--brand); }
.footer-meta { font-size: 12px; color: var(--text-3); text-align: right; }

/* ============ 骨架屏 ============ */
.skeleton-row {
  height: 84px; border-radius: 8px; margin-bottom: 14px;
  background: linear-gradient(90deg, var(--bg-soft) 25%, var(--line) 50%, var(--bg-soft) 75%);
  background-size: 200% 100%; animation: sk 1.3s infinite;
}
.skeleton-row.big { height: 140px; }
@keyframes sk { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.empty-hint { text-align: center; color: var(--text-3); font-size: 13.5px; padding: 32px 0; }

/* ============ 管理后台 ============ */
.admin-login { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--bg-soft); padding: 20px; }
.admin-login-card {
  width: 100%; max-width: 380px; background: var(--bg-panel); border: 1px solid var(--line);
  border-radius: 14px; padding: 40px 36px; box-shadow: var(--shadow);
}
.admin-login-logo { text-align: center; margin-bottom: 16px; }
.admin-login-logo .logo-mark { width: 46px; height: 46px; font-size: 22px; border-radius: 12px; }
.admin-login-card h1 { font-size: 19px; font-weight: 800; text-align: center; margin-bottom: 26px; }
.login-error { color: var(--down); font-size: 13px; text-align: center; margin-top: 14px; }

.admin-shell { min-height: 100vh; background: var(--bg-soft); }
.admin-header {
  height: 56px; background: var(--bg-panel); border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; padding: 0 24px;
  position: sticky; top: 0; z-index: 50;
}
.admin-header-left { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.admin-header-right { display: flex; align-items: center; gap: 18px; font-size: 13.5px; color: var(--text-2); }
.admin-header-right a:hover { color: var(--brand); }
.admin-header-right button { color: var(--down); font-size: 13.5px; }
.admin-body { max-width: 1100px; margin: 0 auto; padding: 24px; }
.admin-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 12px; margin-bottom: 20px; }
.stat-card { background: var(--bg-panel); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; }
.stat-num { font-size: 22px; font-weight: 800; font-variant-numeric: tabular-nums; }
.stat-label { font-size: 12px; color: var(--text-3); margin-top: 2px; }
.admin-tabs { display: flex; gap: 6px; margin-bottom: 16px; flex-wrap: wrap; }
.admin-tab {
  padding: 8px 18px; font-size: 13.5px; font-weight: 600; border-radius: 8px;
  color: var(--text-2); background: var(--bg-panel); border: 1px solid var(--line);
}
.admin-tab.active { background: var(--text-1); color: var(--bg); border-color: var(--text-1); }
.admin-card { background: var(--bg-panel); border: 1px solid var(--line); border-radius: 12px; padding: 22px; }
.admin-card h2 { font-size: 16px; font-weight: 800; margin-bottom: 14px; }
.admin-card h3 { font-size: 14.5px; font-weight: 700; }
.admin-hint { font-size: 12.5px; color: var(--text-3); margin-bottom: 14px; }

.form-input {
  width: 100%; padding: 10px 14px; border-radius: 8px; font-size: 14px;
  background: var(--bg-soft); border: 1px solid var(--line); color: var(--text-1);
  outline: none; transition: border-color .15s;
}
.form-input:focus { border-color: var(--brand); background: var(--bg-panel); }
textarea.form-input { resize: vertical; line-height: 1.7; }
.form-grid { display: grid; gap: 10px; }
.form-grid.cols-4 { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.form-grid.cols-3 { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.btn-primary {
  padding: 10px 28px; border-radius: 8px; font-size: 14px; font-weight: 700;
  background: var(--text-1); color: var(--bg); transition: opacity .15s; width: fit-content;
}
.admin-login-card .btn-primary { width: 100%; margin-top: 14px; }
.btn-primary:hover { opacity: .85; }
.btn-primary:disabled { opacity: .5; cursor: not-allowed; }

.admin-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.admin-table th { text-align: left; padding: 10px 12px; font-size: 12px; color: var(--text-3); font-weight: 600; border-bottom: 1px solid var(--line-strong); white-space: nowrap; }
.admin-table td { padding: 11px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.admin-table tr:hover td { background: var(--bg-soft); }
.t-link { color: var(--brand); } .t-danger { color: var(--down); } .t-ok { color: var(--up); }
.result-pre { margin-top: 12px; font-size: 12px; background: var(--bg-soft); border-radius: 8px; padding: 12px; overflow-x: auto; white-space: pre-wrap; }
.admin-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 20px; }
.admin-sub-card { border: 1px solid var(--line); border-radius: 10px; padding: 16px; }
.radio-row { display: flex; gap: 16px; flex-wrap: wrap; font-size: 13.5px; margin: 12px 0; }
.radio-row label { display: flex; align-items: center; gap: 5px; cursor: pointer; }
.admin-section { margin-bottom: 28px; }
.admin-section-title { font-size: 15px; font-weight: 700; margin: 0 0 14px; display: flex; align-items: center; gap: 6px; }
.admin-section-title i { color: var(--brand); font-size: 13px; }
.form-stack { display: grid; gap: 12px; margin-top: 12px; }
.table-wrap { overflow-x: auto; }
.cell-title { max-width: 320px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cell-nowrap { white-space: nowrap; }
.t-brand { color: var(--brand); }
.t-muted { color: var(--text-3); }
.check-label { display: flex; align-items: center; gap: 6px; font-size: 13.5px; cursor: pointer; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12.5px; }
.empty-cell { text-align: center; color: var(--text-3); padding: 28px 0 !important; }
.admin-table button { background: none; border: none; cursor: pointer; font-size: 13px; padding: 0; font-family: inherit; }

/* ============ 响应式 ============ */
@media (max-width: 1024px) {
  .home-grid { grid-template-columns: 1fr; }
  .home-sidebar { order: -1; }
  .nf-list { max-height: 400px; }
}
@media (max-width: 768px) {
  .main-nav { display: none; }
  .mobile-only { display: inline-flex; }
  .search-box { width: 140px; }
  .search-box:focus-within { width: 170px; }
  .search-dropdown { width: 300px; }
  .header-inner { gap: 12px; padding: 0 16px; }
  .page-main { padding: 20px 16px 48px; }
  .feed-thumb { width: 116px; height: 78px; }
  .feed-title { font-size: 15.5px; }
  .feed-summary { display: none; }
  .hero-title { font-size: 19px; }
  .art-h1 { font-size: 23px; }
  .art-body { font-size: 15.5px; }
  .admin-2col { grid-template-columns: 1fr; }
  .footer-meta { text-align: left; }
}
