:root {
  color-scheme: dark;
  --page: #091326;
  --page-glow: #0d1d34;
  --surface: #111d34;
  --surface-raised: #172642;
  --surface-token: linear-gradient(135deg, #173653 0%, #142947 48%, #111e36 100%);
  --text: #edf3fa;
  --muted: #8d9bb2;
  --soft: #b8c3d2;
  --line: rgba(160, 184, 216, .14);
  --line-strong: rgba(160, 184, 216, .21);
  --accent: #29d2cd;
  --accent-dim: rgba(41, 210, 205, .14);
  --nav-band: var(--surface);
  --nav-band-line: var(--line);
  --shadow: 0 18px 44px rgba(1, 8, 22, .16);
  --radius: 10px;
  --drawer-scrim: rgba(3, 8, 19, .78);
}

:root[data-theme="light"] {
  color-scheme: light;
  /* ── 亮色色系「冷雾青 Mist Teal」：冷雾蓝页面底 + 米黄卡面 ── */

  /* 面：页面底 → 卡面 → 凸起块；米黄只落在卡面 */
  --page: #E9EFF7;
  --page-glow: #E9EFF7;
  --surface: #FAF4E6;
  --surface-raised: #F1F6FC;
  --surface-token: linear-gradient(135deg, #FAF4E6 0%, #F7F1E1 100%);

  /* 主菜单横栏与卡面同色（用户指定淡米黄 #FAF4E6） */
  --nav-band: #FAF4E6;
  --nav-band-line: #E4D9BE;

  /* 字：石墨蓝三级 */
  --text: #0A1526;
  --soft: #22334D;
  --muted: #5B6C83;
  --content: #4F6179;

  /* 线：冷雾描边 */
  --line: #E2E9F2;
  --line-strong: #C6D3E2;

  /* 强调：青蓝，米黄底上 5.3:1 */
  --accent: #0A5568;
  --accent-strong: #074A5C;
  --accent-dim: rgba(10, 85, 104, .12);
  --accent-soft: rgba(10, 85, 104, .07);

  /* 影：冷调双层投影 */
  --shadow: 0 1px 2px rgba(16, 31, 53, .04), 0 14px 30px -18px rgba(16, 31, 53, .22);
  --radius: 10px;
  --drawer-scrim: rgba(233, 239, 247, .98);
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--page); scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background: radial-gradient(ellipse at 49% 15%, var(--page-glow), transparent 53%), var(--page);
  font-family: "DM Sans", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
button, input { font: inherit; }
button:focus-visible, input:focus-visible, a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.site-header {
  height: 68px;
  display: grid;
  grid-template-columns: minmax(190px, 1fr) auto minmax(235px, 1fr);
  align-items: center;
  gap: 20px;
  padding: 0 clamp(22px, 3vw, 54px);
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--page) 88%, transparent);
  position: relative;
  z-index: 2;
  backdrop-filter: blur(18px);
}
.brand { width: fit-content; font-size: 23px; letter-spacing: .025em; font-weight: 700; white-space: nowrap; }
.brand span { background: linear-gradient(100deg, var(--text), #c9d7e9 65%, var(--accent)); color: transparent; background-clip: text; }
.primary-nav { display: flex; align-items: center; gap: clamp(18px, 2.1vw, 38px); height: 100%; white-space: nowrap; }
.primary-nav a { color: var(--soft); font-size: 15px; height: 100%; display: inline-flex; align-items: center; position: relative; transition: color .18s ease; }
.primary-nav a:hover, .primary-nav a.is-current { color: var(--text); }
.primary-nav a.is-current::after { content: ""; position: absolute; height: 2px; border-radius: 3px; bottom: 0; left: 14%; right: 14%; background: var(--accent); box-shadow: 0 0 14px color-mix(in srgb, var(--accent) 48%, transparent); }
.header-actions { display: flex; justify-content: flex-end; align-items: center; gap: 18px; white-space: nowrap; }
.menu-toggle { display: none; }
.mobile-drawer { display: none; }
.search-form { display: flex; align-items: center; gap: 5px; }
.search-form input { width: 58px; background: transparent; border: 0; color: var(--text); outline: 0; transition: width .22s ease; }
.search-form input::placeholder { color: var(--soft); opacity: 1; }
.search-form:focus-within input { width: 125px; }
.icon-button { border: 0; padding: 4px; width: 24px; height: 28px; background: transparent; color: var(--soft); cursor: pointer; }
.icon-button svg { fill: none; stroke: currentColor; stroke-width: 1.7; width: 20px; height: 20px; }
.theme-toggle { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; color: var(--accent); border: 1px solid color-mix(in srgb, var(--accent) 23%, transparent); border-radius: 20px; background: var(--accent-dim); cursor: pointer; font-size: 13px; }
.theme-icon { font-size: 16px; line-height: 1; }
.login-link { font-size: 14px; color: var(--soft); }
.language-switch button, .mobile-language button { padding: 6px 3px; border: 0; color: var(--soft); background: transparent; cursor: pointer; font-size: 12px; }

.dashboard-layout {
  width: min(100% - 6vw, 1840px);
  margin: 14px auto 28px;
  display: grid;
  grid-template-columns: minmax(230px, .92fr) minmax(540px, 2.28fr) minmax(250px, .98fr);
  gap: 16px;
  align-items: stretch;
}
.left-rail { padding: 19px 20px 18px 4px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 25px; }
.rail-section { padding: 0 8px 19px 2px; border-bottom: 1px solid var(--line); }
.rail-section:last-child { border-bottom: 0; }
.section-heading { margin: 0 0 15px; font-size: 19px; line-height: 1.35; font-weight: 650; letter-spacing: .015em; }
.story-list { display: flex; flex-direction: column; }
.story-item { padding: 12px 0 14px; border-bottom: 1px solid var(--line); }
.story-item:first-child { padding-top: 3px; }
.story-item:last-child { border-bottom: 0; padding-bottom: 0; }
.story-title { display: block; font-size: 16px; line-height: 1.55; font-weight: 600; }
.story-summary { margin: 7px 0 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.story-meta { display: flex; justify-content: space-between; gap: 10px; color: var(--muted); font-size: 12px; margin-top: 15px; }
.story-meta span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.story-meta time { flex: none; }
.empty-note { color: var(--muted); font-size: 13px; margin: 10px 0; }

.main-column { min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.token-panel { min-width: 0; flex: 1 1 auto; padding: 26px 25px 20px; background: var(--surface-token); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); display: flex; flex-direction: column; }
.panel-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 0 1px 18px; }
.panel-heading h1 { margin: 0; font-size: 18px; line-height: 1.4; letter-spacing: 0; font-weight: 400; }
.live-mark { color: var(--muted); font-size: 11px; letter-spacing: .04em; display: flex; align-items: center; gap: 7px; }
.live-mark i { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; box-shadow: 0 0 12px var(--accent); }
.token-table-wrap { overflow-x: auto; border-radius: 6px; }
.token-table { width: 100%; min-width: 550px; border-collapse: collapse; text-align: left; }
.token-table th { color: var(--soft); background: rgba(160, 184, 216, .055); font-size: 12px; font-weight: 500; white-space: nowrap; padding: 14px 8px; border-bottom: 1px solid var(--line); }
.token-table td { color: var(--text); font-size: 13px; padding: 16px 8px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.token-table tbody tr { transition: background-color .16s ease; }
.token-table tbody tr:hover { background: color-mix(in srgb, var(--accent) 6%, transparent); }
.token-table tr:last-child td { border-bottom: 0; }
.token-table .model-name { font-weight: 600; }
.token-table td small { color: var(--muted); font-size: 10px; }
.token-table .pending { color: var(--muted); }
.panel-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 17px; color: var(--muted); font-size: 11px; }
.panel-bottom a { color: var(--accent); font-size: 13px; font-weight: 600; }
.panel-bottom b { margin-left: 4px; font-weight: 500; }
.feature-section { padding: 0; }
.feature-heading { display: flex; justify-content: space-between; align-items: center; padding: 0 3px 9px; }
.feature-heading h2 { margin: 0; font-size: 17px; font-weight: 650; }
.feature-heading > a { color: var(--muted); font-size: 12px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.feature-card { min-height: 170px; padding: 19px 17px 16px; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: linear-gradient(140deg, color-mix(in srgb, var(--surface-raised) 92%, #1e4d79), var(--surface)); display: flex; flex-direction: column; }
.feature-line { width: 17px; height: 3px; border-radius: 3px; background: var(--accent); opacity: .8; margin-bottom: 11px; }
.feature-card h3 { font-size: 16px; line-height: 1.4; margin: 0 0 7px; font-weight: 650; }
.feature-card p { color: var(--muted); font-size: 12px; line-height: 1.6; margin: 0; }
.feature-meta { margin-top: auto; padding-top: 12px; display: flex; justify-content: space-between; font-size: 10px; color: var(--muted); }
.feature-card-empty { justify-content: flex-start; }
.feature-dash { display: block; width: 16px; height: 3px; margin-top: auto; background: var(--accent); border-radius: 3px; }

.right-rail { display: flex; flex-direction: column; gap: 14px; }
.right-panel { padding: 18px 20px 12px; background: var(--surface); border: 1px solid color-mix(in srgb, var(--line) 82%, transparent); border-radius: var(--radius); box-shadow: 0 12px 30px rgba(1, 8, 22, .08); }
.right-heading { display: flex; justify-content: space-between; align-items: center; position: relative; padding-bottom: 13px; margin-bottom: 2px; border-bottom: 1px solid var(--line); }
.right-heading::after { content: ""; position: absolute; width: 42px; height: 2px; background: var(--accent); bottom: -1px; left: 0; border-radius: 3px; }
.right-heading h2 { margin: 0; color: var(--accent); font-size: 18px; font-weight: 650; }
.right-heading > a { color: var(--muted); font-size: 11px; opacity: 0; transition: opacity .15s; }
.right-panel:hover .right-heading > a, .right-heading > a:focus-visible { opacity: 1; }
.right-story { padding: 13px 0 12px; border-bottom: 1px solid var(--line); }
.right-story:last-child { border: 0; }
.right-story h3 { margin: 0; font-size: 15px; line-height: 1.5; font-weight: 600; }
.right-story-meta { display: flex; gap: 13px; color: var(--muted); font-size: 11px; margin-top: 7px; }

.site-footer { width: min(100% - 6vw, 1840px); margin: 28px auto 0; color: var(--muted); }
.footer-rule { height: 1px; background: var(--line); position: relative; }
.footer-rule i { display: block; position: absolute; height: 2px; width: 104px; top: -1px; left: 0; background: var(--accent); opacity: .72; }
.footer-links { display: flex; align-items: center; gap: 32px; padding: 18px 0 25px; font-size: 13px; }
.copyright { position: absolute; right: max(3vw, calc((100vw - 1840px) / 2)); margin-top: -51px; font-size: 12px; }

.content-page, .article-page { width: min(100% - 40px, 1000px); min-height: 65vh; margin: 38px auto 76px; }
.content-page > h1, .section-head h1, .article-header h1 { font-size: clamp(22px, 2.2vw, 28px); font-weight: 600; letter-spacing: -.02em; line-height: 1.32; }
.back-link { color: var(--muted); font-size: 13px; }
.page-intro, .article-summary { max-width: 74ch; color: var(--soft); font-size: 15px; line-height: 1.8; }
.article-list { margin-top: 26px; border-top: 1px solid var(--line); }
.token-page-ad { position: relative; display: flex; align-items: center; justify-content: center; width: 970px; max-width: 100%; height: 90px; margin: 14px 0 24px; overflow: hidden; color: var(--soft); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); font-size: 14px; text-align: center; transition: color .16s ease, border-color .16s ease; }
.token-page-ad span { padding: 0 24px; }
.token-page-ad img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.token-page-ad small { position: absolute; right: 10px; bottom: 5px; color: var(--muted); font-size: 10px; }
.token-page-ad:hover { color: var(--text); border-color: var(--line-strong); }
:root[data-theme="light"] .token-page-ad { background: repeating-linear-gradient(135deg, rgba(10, 85, 104, .05) 0 7px, rgba(10, 85, 104, 0) 7px 14px), var(--surface-raised); border: 1px dashed var(--line-strong); color: var(--muted); }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.section-head h1 { margin: 0; }
.section-title-ad { flex: 0 0 auto; position: relative; display: flex; align-items: center; justify-content: center; width: 468px; max-width: 100%; height: 60px; overflow: hidden; color: var(--soft); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); font-size: 13px; line-height: 1.5; text-align: center; transition: color .16s ease, border-color .16s ease; }
.section-title-ad span { padding: 0 18px; }
.section-title-ad img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.section-title-ad small { position: absolute; right: 8px; bottom: 4px; color: var(--muted); font-size: 10px; }
.section-title-ad:hover { color: var(--text); border-color: var(--line-strong); }
:root[data-theme="light"] .section-title-ad { background: repeating-linear-gradient(135deg, rgba(10, 85, 104, .05) 0 7px, rgba(10, 85, 104, 0) 7px 14px), var(--surface-raised); border: 1px dashed var(--line-strong); color: var(--muted); }
.sub-nav { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 26px; padding-bottom: 2px; }
.sub-nav-item { padding: 10px 22px; color: var(--soft); font-size: 14px; line-height: 1.5; text-decoration: none; border: 1px solid var(--line); border-radius: 999px; transition: color .16s ease, border-color .16s ease, background-color .16s ease; }
.sub-nav-item:hover { color: var(--text); border-color: var(--line-strong); background: color-mix(in srgb, var(--accent) 8%, transparent); }
.sub-nav-item.is-active { color: var(--accent); border-color: color-mix(in srgb, var(--accent) 55%, transparent); background: var(--accent-dim); }
.article-list-item { display: grid; grid-template-columns: 104px 1fr; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.article-list-item > time { color: var(--muted); font-size: 12px; padding-top: 4px; }
.article-list-item h2 { margin: 0; font-size: 16px; font-weight: 600; line-height: 1.5; }
.article-list-item p { color: var(--muted); margin: 6px 0 0; font-size: 14px; line-height: 1.7; }
.page-search { display: flex; margin: 28px 0; gap: 10px; }
.page-search input { flex: 1; min-width: 0; border: 1px solid var(--line-strong); border-radius: 6px; padding: 11px 14px; color: var(--text); background: var(--surface); font-size: 14px; }
.page-search button { border: 0; border-radius: 6px; padding: 0 22px; background: var(--accent); color: #071624; font-size: 14px; font-weight: 650; cursor: pointer; }
.article-page { max-width: 840px; }
.article-header { padding: 26px 0 22px; border-bottom: 1px solid var(--line); }
.article-category { margin: 0; color: var(--accent); font-size: 12px; letter-spacing: .06em; }
.article-header h1 { margin: 10px 0; }
.article-byline { display: flex; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: 13px; margin-top: 16px; }
.article-body { font-size: 16px; line-height: 1.85; padding: 24px 0; overflow-wrap: anywhere; }
.article-body p { margin: 0 0 1.2em; }
.article-media figure { margin: 0 0 24px; }
.article-media img { display: block; width: 100%; height: auto; max-height: 720px; object-fit: contain; border-radius: 8px; }
.article-media figcaption { color: var(--muted); text-align: center; margin-top: 9px; font-size: 12px; }
.source-link { border-top: 1px solid var(--line); padding-top: 18px; color: var(--muted); font-size: 13px; }
.source-link a { color: var(--accent); }
.full-token-table { margin-top: 30px; border: 1px solid var(--line); border-radius: 8px; }
.full-token-table .token-table { min-width: 960px; }
.full-token-table a { color: var(--accent); }
.empty-cell { text-align: center; color: var(--muted) !important; padding: 35px !important; }
.login-page { width: min(100% - 40px, 430px); min-height: 65vh; margin: 70px auto 90px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.login-page h1 { margin: 28px 0 6px; font-size: 30px; }
.login-page > p { color: var(--muted); }
.login-form { display: flex; flex-direction: column; gap: 10px; margin-top: 26px; }
.login-form label { font-size: 13px; color: var(--soft); margin-top: 8px; }
.login-form input { width: 100%; border: 1px solid var(--line-strong); border-radius: 6px; padding: 12px 13px; color: var(--text); background: var(--page); }
.login-form button { margin-top: 10px; padding: 12px; border: 0; border-radius: 6px; background: var(--accent); color: #071624; font-weight: 700; cursor: pointer; }
.login-form ul.errorlist { margin: 0; padding-left: 18px; color: #f18a89; font-size: 12px; }
.login-form label span { color: var(--muted); font-size: 11px; margin-left: 5px; }
.register-prompt { color: var(--muted); font-size: 13px; margin-top: 22px; }
.register-prompt a { color: var(--accent); font-weight: 600; }
.register-page { margin-top: 36px; }

@media (min-width: 1500px) {
  .dashboard-layout { margin-top: 16px; grid-template-columns: minmax(280px, .92fr) minmax(620px, 2.3fr) minmax(290px, .98fr); gap: 18px; }
  .left-rail { padding-top: 22px; }
  .story-title { font-size: 17px; }
  .right-panel { padding: 20px 22px 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}


/* Homepage design system — UI specification V2.0 */
:root {
  color-scheme: dark;
  --page: #0F172A;
  --page-glow: #0F172A;
  --surface: #1E293B;
  --surface-raised: #334155;
  --surface-token: #1E293B;
  --text: #F1F5F9;
  --soft: #CBD5E1;
  --muted: #94A3B8;
  --line: #334155;
  --line-strong: #475569;
  --accent: #38BDF8;
  --accent-dim: rgba(56, 189, 248, .12);
  --nav-band: var(--surface);
  --nav-band-line: var(--line);
  --shadow: 0 2px 8px rgba(0, 0, 0, .08);
  --radius: 6px;
  --drawer-scrim: rgba(15, 23, 42, .97);
}
:root[data-theme="light"] {
  color-scheme: light;
  /* ── 亮色色系「冷雾青 Mist Teal」：冷雾蓝页面底 + 米黄卡面 ── */

  /* 面：页面底 → 卡面 → 凸起块；米黄只落在卡面 */
  --page: #E9EFF7;
  --page-glow: #E9EFF7;
  --surface: #FAF4E6;
  --surface-raised: #F1F6FC;
  --surface-token: linear-gradient(135deg, #FAF4E6 0%, #F7F1E1 100%);

  /* 主菜单横栏与卡面同色（用户指定淡米黄 #FAF4E6） */
  --nav-band: #FAF4E6;
  --nav-band-line: #E4D9BE;

  /* 字：石墨蓝三级 */
  --text: #0A1526;
  --soft: #22334D;
  --muted: #5B6C83;
  --content: #4F6179;

  /* 线：冷雾描边 */
  --line: #E2E9F2;
  --line-strong: #C6D3E2;

  /* 强调：青蓝，米黄底上 5.3:1 */
  --accent: #0A5568;
  --accent-strong: #074A5C;
  --accent-dim: rgba(10, 85, 104, .12);
  --accent-soft: rgba(10, 85, 104, .07);

  /* 影：冷调双层投影 */
  --shadow: 0 1px 2px rgba(16, 31, 53, .04), 0 14px 30px -18px rgba(16, 31, 53, .22);
  --radius: 10px;
  --drawer-scrim: rgba(233, 239, 247, .98);
}
html { background: var(--page); }
body {
  color: var(--text);
  background: var(--page);
  font-family: "PingFang SC", "Microsoft YaHei", Inter, system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.55;
}
/* 14 结构冻结（2026-10-24）：桌面端任何窗口宽度都不重排，窄窗口交给浏览器横向滚动条 */
body { min-width: 1280px; }
a { color: inherit; }
a:hover { color: var(--accent); }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.site-header { display: block; height: auto; padding: 0; border: 0; background: var(--page); position: relative; z-index: 5; backdrop-filter: none; }
.header-inner { width: min(calc(100% - 48px), 1440px); margin: 0 auto; }
.header-top { height: 56px; border-bottom: 1px solid var(--line); }
.top-inner { height: 100%; display: grid; grid-template-columns: minmax(170px, 1fr) minmax(300px, 468px) minmax(390px, 1fr); align-items: center; gap: 20px; }
.brand { justify-self: start; display: flex; align-items: center; width: 182px; height: 52px; color: var(--text); }
.brand-logo { display: block; width: 100%; height: auto; max-height: 50px; object-fit: contain; object-position: left center; }
.brand-logo-light { display: none; }
:root[data-theme="light"] .brand-logo-dark { display: none; }
:root[data-theme="light"] .brand-logo-light { display: block; }
.brand span { background: none; color: inherit; }
.top-ad-wrap { min-width: 0; }
.member-nav { justify-self: end; display: flex; align-items: center; gap: 0; white-space: nowrap; color: var(--soft); font-size: 13px; }
.member-nav > a, .member-nav .language-switch { padding: 0 11px; border-right: 1px solid var(--line); }
.member-nav > a:last-child { padding-right: 0; border-right: 0; }
.member-nav .member-login { color: var(--accent); }
.language-switch button { color: var(--muted); font-size: 12px; }
.ad-slot { position: relative; display: flex; justify-content: center; align-items: center; overflow: hidden; color: var(--soft); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-align: center; font-size: 13px; }
.ad-slot:hover { color: var(--text); border-color: var(--line-strong); }
.ad-slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ad-slot span { padding: 12px 36px 12px 16px; }
.ad-slot small { position: absolute; right: 8px; bottom: 5px; color: var(--muted); font-size: 10px; }
.ad-placeholder { color: var(--muted); }

/* 首页顶部整宽大横幅（导航下方，通满全屏宽度，高度随视口放大） */
.top-banner-strip { width: 970px; max-width: calc(100% - 48px); margin: 20px auto 0; }
.ad-slot-banner { position: relative; display: flex; align-items: center; justify-content: center; width: 100%;
  height: 90px; overflow: hidden; color: var(--soft); background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  font-size: 17px; text-align: center; }
.ad-slot-banner span { padding: 0 40px; }
.ad-slot-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ad-slot-banner small { position: absolute; right: 12px; bottom: 8px; color: rgba(235,245,255,.72); font-size: 11px;
  background: rgba(6,15,28,.45); padding: 2px 7px; border-radius: 999px; }
.ad-slot-banner:hover { color: var(--text); }
.ad-slot-header { width: 100%; height: 44px; max-height: 44px; }
.ad-slot-header span { padding: 0 40px 0 12px; font-size: 12px; line-height: 44px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ad-slot-header small { right: 10px; bottom: 5px; }
.ad-slot-top { height: 36px; }
/* 顶部细横幅只有 36px 高，默认的 12px 上下内边距会把文字挤出去，这里单独收紧 */
.ad-slot-top span { padding: 0 46px 0 14px; font-size: 12px; line-height: 36px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ad-slot-rail { width: 100%; height: 125px; min-height: 125px; flex: 0 0 auto; }
.ad-slot-wide { width: 100%; height: 90px; min-height: 90px; }
.ad-slot-wide img { object-fit: contain; object-position: center; }
.ad-slot-rail img { object-position: left center; }

/* 首页两侧竖版旗帜广告：贴在页面左右空白处，随页面滚动固定，窄屏自动不显示 */
.side-flag { display: none; position: fixed; top: 300px; z-index: 6; width: 88px; height: 360px; flex-direction: column; align-items: center; justify-content: center; overflow: hidden; color: var(--soft); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); text-align: center; font-size: 13px; line-height: 1.65; transition: color .16s ease, border-color .16s ease; }
.side-flag span { padding: 20px 12px; }
.side-flag img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.side-flag small { position: absolute; right: 8px; bottom: 6px; color: var(--muted); font-size: 10px; }
.side-flag:hover { color: var(--text); border-color: var(--line-strong); }
.side-flag-left { left: calc(50% - 820px); }
.side-flag-right { right: calc(50% - 820px); }
@media (min-width: 1700px) { .side-flag { display: flex; } }
:root[data-theme="light"] .side-flag { background: repeating-linear-gradient(135deg, rgba(10, 85, 104, .05) 0 7px, rgba(10, 85, 104, 0) 7px 14px), var(--surface-raised); border: 1px dashed var(--line-strong); color: var(--muted); }
/* 左栏入口卡：尺寸同 .ad-slot-rail，实体边框区别于虚线广告位 */
.rail-link-card { min-height: 72px; flex: 0 0 auto; display: flex; align-items: center; justify-content: center; color: var(--text); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); font-size: 15px; font-weight: 600; letter-spacing: .02em; text-align: center; transition: color .18s ease, border-color .18s ease; }
.rail-link-card:hover { color: var(--accent); border-color: var(--accent); }
.nav-row { height: 60px; background: transparent; border-bottom: 1px solid transparent; }
.nav-inner { height: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 16px; background: var(--nav-band); border-bottom: 1px solid var(--nav-band-line); }
.primary-nav { grid-column: 2; justify-self: center; display: flex; align-items: center; justify-content: center; gap: clamp(14px, 1.55vw, 24px); min-width: 0; height: 100%; white-space: nowrap; }
.primary-nav a { position: relative; display: inline-flex; align-items: center; height: 100%; color: var(--text); font-size: 15px; font-weight: 400; transition: color .16s ease; }
.primary-nav a:hover, .primary-nav a.is-current { color: var(--accent); }
.primary-nav a.is-current::after { content: none; }
.header-actions { grid-column: 3; grid-row: 1; justify-self: end; display: flex; align-items: center; gap: 12px; white-space: nowrap; }
.search-form { width: 216px; height: 34px; display: flex; flex-direction: row-reverse; align-items: center; gap: 6px; padding: 0 9px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); }
.search-form:focus-within { border-color: var(--accent); }
.search-form input { width: 100%; min-width: 0; height: 100%; color: var(--text); background: transparent; border: 0; outline: 0; font-size: 13px; }
.search-form input::placeholder { color: var(--muted); }
.search-form:focus-within input { width: 100%; }
.icon-button { display: inline-flex; justify-content: center; align-items: center; flex: 0 0 24px; width: 24px; height: 28px; padding: 2px; color: var(--muted); border: 0; background: transparent; cursor: pointer; }
.icon-button svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.theme-toggle { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; padding: 0; color: var(--soft); border: 1px solid transparent; border-radius: 6px; background: transparent; cursor: pointer; }
.theme-toggle:hover { background: var(--surface-raised); color: var(--accent); }
.theme-toggle svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.menu-toggle { display: none; }
.mobile-drawer { display: none; }

.dashboard-layout {
  width: min(calc(100% - 48px), 1440px);
  margin: 16px auto 24px;
  display: grid;
  grid-template-columns: minmax(0, 24fr) minmax(0, 52fr) minmax(0, 24fr);
  gap: 24px;
  align-items: start;
}
.left-rail, .main-column, .right-rail { min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.left-rail { padding: 0; border: 0; }
.content-panel { min-width: 0; padding: 20px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); box-shadow: var(--shadow); }
.news-panel { padding: 18px 20px 14px; }
.module-heading, .right-heading { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-width: 0; margin: 0 0 8px; }
.module-heading h2, .right-heading h2 { margin: 0; color: var(--text); font-size: 18px; line-height: 1.4; font-weight: 400; }
.module-heading > a { flex: 0 0 auto; display: inline-flex; justify-content: center; align-items: center; width: 28px; height: 28px; color: var(--muted); font-size: 22px; line-height: 1; }
.module-heading > a:hover { color: var(--accent); }
.story-list { display: flex; flex-direction: column; }
.story-item { padding: 11px 0; border-bottom: 1px solid var(--line); }
.story-item:first-child { padding-top: 6px; }
.story-item:last-child { padding-bottom: 4px; border-bottom: 0; }
.story-link { display: block; min-width: 0; }
.story-title { display: block; overflow: hidden; color: var(--text); font-size: 14px; line-height: 1.5; font-weight: 400; text-overflow: ellipsis; white-space: nowrap; }
.story-link:hover .story-title { color: var(--accent); }
.story-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 6px; color: var(--muted); font-size: 12px; line-height: 1.4; }
.story-meta > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.story-meta time { flex: 0 0 auto; }
.empty-note { margin: 10px 0 2px; color: var(--muted); font-size: 13px; line-height: 1.6; }

.main-column { gap: 16px; }
.token-panel { flex: initial; padding: 0; overflow: hidden; }
.panel-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 56px; padding: 12px 20px; border-bottom: 1px solid var(--line); }
.panel-heading h1 { margin: 0; color: var(--text); font-size: 18px; line-height: 1.4; font-weight: 400; letter-spacing: 0; }
.text-link { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-size: 14px; white-space: nowrap; }
.text-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.text-link svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.token-table-wrap { width: 100%; overflow-x: auto; border-radius: 0; }
.token-table { width: 100%; min-width: 600px; border-collapse: collapse; table-layout: fixed; text-align: left; }
.token-table th { padding: 10px 8px; color: var(--soft); background: var(--surface-raised); border-bottom: 1px solid var(--line); font-size: 14px; line-height: 1.4; font-weight: 500; white-space: nowrap; }
.token-table td { padding: 12px 8px; color: var(--text); border-bottom: 1px solid var(--line); font-size: 14px; line-height: 1.45; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.token-table th:first-child, .token-table td:first-child { padding-left: 20px; }
.token-table th:last-child, .token-table td:last-child { padding-right: 20px; }
.token-table tbody tr { transition: background-color .16s ease; }
.token-table tbody tr:hover { background: color-mix(in srgb, var(--surface-raised) 56%, transparent); }
.token-table tbody tr:last-child td { border-bottom: 0; }
.token-table .model-name { font-weight: 500; }
.token-table td small { display: block; margin-top: 1px; color: var(--muted); font-size: 11px; white-space: nowrap; }
.token-table .price-unit { color: var(--muted); font-size: 12px; }
.token-table .updated-cell { color: var(--muted); font-size: 12px; }
.token-empty-row td { color: var(--muted); }

.feature-section { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; padding: 0; }
.feature-stack { align-self: start; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.feature-module { min-width: 0; min-height: 112px; padding: 16px 20px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); box-shadow: var(--shadow); }
.feature-module .module-heading { margin: 0; }
.feature-module .module-heading h2 { font-size: 18px; }
.feature-module .feature-story { display: block; margin-top: 9px; color: var(--text); font-size: 13px; line-height: 1.5; }
.feature-story small { display: block; margin-top: 5px; color: var(--muted); font-size: 12px; }
.feature-module .empty-note { margin-top: 5px; }
.feature-industry { min-height: 180px; }
.feature-industry .module-heading { margin-bottom: 6px; }
.industry-story { padding: 10px 0; border-bottom: 1px solid var(--line); }
.industry-story:last-child { border-bottom: 0; }
.industry-story a, .industry-story .industry-title { display: block; overflow: hidden; color: var(--text); font-size: 14px; line-height: 1.45; text-overflow: ellipsis; white-space: nowrap; }
.industry-story > span:not(.industry-title) { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; }
.feature-industry > .empty-note { margin-top: 12px; }
.feature-items { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.feature-item { min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 7px 4px 6px; color: var(--soft); text-align: center; border: 1px solid transparent; border-radius: 6px; transition: background-color .16s ease, border-color .16s ease, transform .16s ease; }
.feature-item:hover { color: var(--text); border-color: var(--line); background: color-mix(in srgb, var(--surface-raised) 70%, transparent); transform: translateY(-1px); }
.feature-icon { width: 36px; height: 36px; display: grid; place-items: center; flex: 0 0 36px; border: 1px solid color-mix(in srgb, currentColor 18%, transparent); border-radius: 11px; background: color-mix(in srgb, currentColor 9%, var(--surface)); }
.feature-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature-icon-chatgpt { color: #65D6A3; }
.feature-icon-claude { color: #F3A276; }
.feature-icon-gemini { color: #83A9FF; }
.feature-icon-deepseek { color: #6E8BFF; }
.feature-icon-qwen { color: #C58BF2; }
.feature-icon-copilot { color: #E77FC5; }
.feature-icon-research { color: #70C9D4; }
.feature-icon-code { color: #A995F5; }
.feature-icon-writing { color: #E5B978; }
.feature-item-title { max-width: 100%; overflow: hidden; color: var(--text); font-size: 12px; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
.feature-item small { max-width: 100%; overflow: hidden; color: var(--muted); font-size: 10px; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }

.right-rail { gap: 16px; }
.right-rail .ad-slot { width: 100%; }
.right-rail .news-panel { padding: 18px 20px 14px; }
.right-rail .module-heading { margin-bottom: 8px; }
.right-rail .story-item { padding: 11px 0; }
.right-rail .story-item:last-child { padding-bottom: 2px; }
.right-heading { padding-bottom: 0; border: 0; }
.right-heading::after { content: none; }
.right-heading h2 { color: var(--text); }
.right-heading > a { display: none; }

.site-footer { width: 100%; max-width: none; margin: 24px 0 0; padding: 0 max(24px, calc((100% - 1440px) / 2)); color: var(--muted); background: #0B1220; }
:root[data-theme="light"] .site-footer { background: #E9EFF6; }
.footer-rule { display: none; }
.footer-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 0; padding: 26px 0 18px; font-size: 13px; }
.footer-links a { padding: 0 12px; border-right: 1px solid var(--line); }
.footer-links a:last-child { border-right: 0; }
.copyright { position: static; display: block; margin: 0; padding: 16px 0 22px; border-top: 1px solid var(--line); text-align: center; font-size: 13px; }

.account-page { width: min(calc(100% - 40px), 720px); min-height: 280px; margin: 48px auto 72px; padding: 28px; }
.account-page h1 { margin: 0; font-size: 28px; font-weight: 600; }
.account-kicker { margin: 0 0 9px; color: var(--accent); font-size: 11px; letter-spacing: .12em; }
.account-intro { color: var(--muted); }
.account-details { margin: 24px 0; border-top: 1px solid var(--line); }
.account-details div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.account-details dt { color: var(--muted); }
.account-details dd { margin: 0; }
.account-action { padding: 9px 14px; color: var(--soft); border: 1px solid var(--line); border-radius: 6px; background: transparent; cursor: pointer; }
.account-action:hover { color: var(--accent); border-color: var(--accent); }

/* ===================================================================
   15 会员中心与站内通知（2026-10-25）
   =================================================================== */
.member-nav .member-logout { display: inline-flex; align-items: center; }
.member-nav .member-logout button { padding: 0; border: 0; background: transparent; color: var(--soft); font-family: inherit; font-size: 13px; cursor: pointer; }
.member-nav .member-logout button:hover { color: var(--accent); }
.nav-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 16px; height: 16px; margin-left: 5px; padding: 0 4px; border-radius: 8px; background: var(--accent); color: #071624; font-size: 11px; font-weight: 600; line-height: 1; }
.site-messages { width: min(calc(100% - 48px), 1440px); margin: 16px auto 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.site-message { padding: 11px 16px; border: 1px solid var(--line-strong); border-radius: 6px; background: var(--surface); color: var(--soft); font-size: 13px; }
.site-message.success { color: var(--text); border-color: color-mix(in srgb, var(--accent) 45%, transparent); }
.account-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 22px 0 4px; }
.account-stat { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface-raised); }
.account-stat strong { color: var(--text); font-size: 20px; font-weight: 500; }
.account-stat span { color: var(--muted); font-size: 12px; }
.account-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 18px 0 6px; }
.account-subhead { margin: 26px 0 10px; color: var(--text); font-size: 16px; font-weight: 400; }
.login-form select { width: 100%; padding: 12px 13px; color: var(--text); border: 1px solid var(--line-strong); border-radius: 6px; background: var(--page); }
.notice-list { display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; }
.notice-item { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.notice-item:last-child { border-bottom: 0; }
.notice-main { min-width: 0; }
.notice-title { margin: 0; color: var(--text); font-size: 14px; }
.notice-item.is-unread .notice-title { font-weight: 600; }
.notice-item.is-unread .notice-title::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 8px; border-radius: 50%; background: var(--accent); vertical-align: middle; }
.notice-body { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.notice-meta { margin: 5px 0 0; color: var(--muted); font-size: 12px; }
.notice-tabs { display: flex; gap: 8px; margin: 18px 0 6px; }
.notice-tab { padding: 7px 12px; color: var(--soft); border: 1px solid var(--line); border-radius: 6px; font-size: 13px; }
.notice-tab.is-current { color: var(--accent); border-color: var(--accent); }
.notice-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 14px 0 0; }

/* 15.1 会员区与站内信（2026-10-25） */
.login-note { margin: 18px 0 0; padding: 12px 14px; color: var(--content, var(--soft)); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 6px; background: var(--surface-raised); font-size: 13px; line-height: 1.8; }
.login-note a { color: var(--accent); }
.form-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-2col label { display: block; }
.field-help { margin: -2px 0 6px; color: var(--muted); font-size: 12px; }
.empty-note { margin: 18px 0 0; padding: 16px; color: var(--muted); border: 1px dashed var(--line-strong); border-radius: 6px; background: var(--surface); font-size: 13px; }
.member-console { color: var(--accent); font-weight: 600; }
.member-hero { display: flex; align-items: center; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.member-hero h1 { margin: 0; font-size: 23px; font-weight: 600; }
.member-hero p { margin: 6px 0 0; color: var(--muted); font-size: 13px; }
.member-avatar { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 54px; height: 54px; border-radius: 50%; color: #071624; background: linear-gradient(140deg, var(--accent), color-mix(in srgb, var(--accent) 52%, #0B1220)); font-size: 22px; font-weight: 600; }
.member-avatar.sm { width: 34px; height: 34px; font-size: 15px; }
.member-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 20px 0 4px; }
.member-primary { padding: 10px 20px; color: #071624; background: var(--accent); border: 1px solid var(--accent); border-radius: 6px; font-size: 14px; font-weight: 600; text-decoration: none; }
.member-primary:hover { background: var(--accent-strong, var(--accent)); }
.member-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 10px 0 0; }
.member-card { padding: 16px; border: 1px solid var(--line); border-radius: var(--radius, 6px); background: var(--surface-raised); }
.member-card h2 { margin: 0 0 8px; font-size: 15px; font-weight: 600; color: var(--text); }
.msg-list { display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; }
.msg-item { display: flex; align-items: flex-start; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.msg-item:last-child { border-bottom: 0; }
.msg-main { flex: 1; min-width: 0; }
.msg-subject { margin: 0; font-size: 14px; color: var(--text); }
.msg-subject a { color: inherit; text-decoration: none; }
.msg-subject a:hover { color: var(--accent); }
.msg-item.is-unread .msg-subject { font-weight: 600; }
.msg-item.is-unread .msg-subject a::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 8px; border-radius: 50%; background: var(--accent); vertical-align: middle; }
.msg-excerpt { margin: 4px 0 0; overflow: hidden; color: var(--muted); font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.msg-meta { display: flex; flex-wrap: wrap; gap: 10px; margin: 5px 0 0; color: var(--muted); font-size: 12px; }
.msg-time { flex: none; color: var(--muted); font-size: 12px; white-space: nowrap; }
.msg-letter { margin: 20px 0 0; padding: 18px; color: var(--content, var(--soft)); border: 1px solid var(--line); border-radius: var(--radius, 6px); background: var(--surface-raised); font-size: 14px; line-height: 1.85; white-space: pre-wrap; word-break: break-word; }
.msg-letter-head { display: flex; align-items: center; gap: 14px; margin: 18px 0 0; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.msg-letter-head h1 { margin: 0; font-size: 20px; font-weight: 600; }
.msg-letter-head p { margin: 6px 0 0; color: var(--muted); font-size: 13px; }
.notice-pager { display: flex; align-items: center; gap: 12px; padding-top: 14px; color: var(--muted); font-size: 13px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

/* ===================================================================
   亮色色系「冷雾青 Mist Teal」· 应用层
   作用域全部限定 [data-theme="light"]，暗色渲染路径零改动
   =================================================================== */

/* 1 页面底：纯冷雾蓝底，不做顶部柔光 */
:root[data-theme="light"] body {
  background: var(--page);
}

/* 2 顶栏：与页面底同色，只留细描边（不做白色分层） */
:root[data-theme="light"] .site-header {
  background: var(--page);
}
:root[data-theme="light"] .header-top { border-bottom-color: var(--line); }
:root[data-theme="light"] .member-nav > a,
:root[data-theme="light"] .member-nav .language-switch { border-right-color: var(--line); }
:root[data-theme="light"] .member-nav { color: var(--soft); }
:root[data-theme="light"] .primary-nav a { color: var(--soft); }
:root[data-theme="light"] .primary-nav a:hover { color: var(--text); }
:root[data-theme="light"] .primary-nav a.is-current { color: var(--accent); }
:root[data-theme="light"] .primary-nav a.is-current::after {
  content: ""; position: absolute; left: 14%; right: 14%; bottom: 14px; height: 2px;
  border-radius: 2px; background: var(--accent);
}
:root[data-theme="light"] .theme-toggle { color: var(--soft); border-color: var(--line); }
:root[data-theme="light"] .theme-toggle:hover { color: var(--accent); border-color: var(--accent); background: var(--accent-soft); }
:root[data-theme="light"] .icon-button { color: var(--muted); }
:root[data-theme="light"] .icon-button:hover { color: var(--accent); }
:root[data-theme="light"] .search-form { background: #FFFFFF; border-color: var(--line-strong); }
:root[data-theme="light"] .search-form:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-dim); }

/* 3 卡面：统一米黄面 + 冷灰描边 + 双层柔影；页面底比卡面暗一档，边界才立得住 */
:root[data-theme="light"] .content-panel,
:root[data-theme="light"] .token-panel,
:root[data-theme="light"] .feature-stack,
:root[data-theme="light"] .login-page,
:root[data-theme="light"] .account-page { border-color: var(--line); box-shadow: var(--shadow); }
:root[data-theme="light"] .account-page { background: var(--surface); }

/* 4 模块标题：左侧一枚青蓝短标，全站统一的识别记号 */
:root[data-theme="light"] .module-heading h2::before,
:root[data-theme="light"] .panel-heading h1::before {
  content: ""; display: inline-block; width: 3px; height: .8em; margin-right: 9px;
  border-radius: 2px; background: var(--accent); vertical-align: -.02em;
}
:root[data-theme="light"] .module-heading > a { color: var(--muted); border-radius: 6px; }
:root[data-theme="light"] .module-heading > a:hover { color: var(--accent); background: var(--accent-soft); }
:root[data-theme="light"] .panel-heading { border-bottom-color: var(--line); }
:root[data-theme="light"] .text-link { color: var(--accent); }

/* 5 Token 表：表头一档冷灰蓝，行线更细，模型列加深 */
:root[data-theme="light"] .token-table th { background: var(--surface-raised); color: var(--soft); border-bottom-color: var(--line-strong); }
:root[data-theme="light"] .token-table td { color: var(--content); border-bottom-color: var(--line); }
:root[data-theme="light"] .token-table .model-name { color: var(--content); font-weight: 600; }
:root[data-theme="light"] .token-table tbody tr:hover { background: var(--accent-soft); }
:root[data-theme="light"] .token-table .pending,
:root[data-theme="light"] .token-table td small { color: var(--muted); }
:root[data-theme="light"] .token-empty-row td { color: var(--muted); }

/* 6 列表行与分隔线 */
:root[data-theme="light"] .story-item,
:root[data-theme="light"] .industry-story,
:root[data-theme="light"] .feature-module + .feature-module,
:root[data-theme="light"] .account-details div,
:root[data-theme="light"] .article-list-item,
:root[data-theme="light"] .mobile-nav a,
:root[data-theme="light"] .mobile-member-links a { border-color: var(--line); }
:root[data-theme="light"] .story-title,
:root[data-theme="light"] .industry-story a,
:root[data-theme="light"] .industry-story .industry-title,
:root[data-theme="light"] .feature-story,
:root[data-theme="light"] .feature-item-title,
:root[data-theme="light"] .article-list-item h2,
:root[data-theme="light"] .article-list-item h2 a { color: var(--content); }
:root[data-theme="light"] .story-summary,
:root[data-theme="light"] .story-meta,
:root[data-theme="light"] .industry-story > span:not(.industry-title) { color: var(--muted); }

/* 7 图标砖：白底 + 品牌色描边与浅底，白面下依然立得住 */
:root[data-theme="light"] .feature-item { color: var(--content); }
:root[data-theme="light"] .feature-item:hover { color: var(--text); border-color: var(--line); background: var(--surface-raised); }
:root[data-theme="light"] .feature-icon { border-color: color-mix(in srgb, currentColor 26%, transparent); background: color-mix(in srgb, currentColor 8%, #FFFFFF); }
:root[data-theme="light"] .feature-icon-chatgpt { color: #0E8A6B; }
:root[data-theme="light"] .feature-icon-claude { color: #B85C33; }
:root[data-theme="light"] .feature-icon-gemini { color: #3A63D8; }
:root[data-theme="light"] .feature-icon-deepseek { color: #2549D6; }
:root[data-theme="light"] .feature-icon-qwen { color: #7B2FBF; }
:root[data-theme="light"] .feature-icon-copilot { color: #B33A8C; }
:root[data-theme="light"] .feature-icon-research { color: #0C6E86; }
:root[data-theme="light"] .feature-icon-code { color: #5B3FC4; }
:root[data-theme="light"] .feature-icon-writing { color: #9A6414; }

/* 8 广告位：斜纹底 + 虚线框，一眼看出是预留位而不是空白 */
:root[data-theme="light"] .ad-slot {
  background: repeating-linear-gradient(135deg, rgba(10, 85, 104, .05) 0 7px, rgba(10, 85, 104, 0) 7px 14px), var(--surface-raised);
  border: 1px dashed var(--line-strong); color: var(--muted);
}
:root[data-theme="light"] .ad-slot:hover { border-color: var(--accent); color: var(--accent); }
:root[data-theme="light"] .ad-slot small { color: var(--muted); }

/* 9 表单与按钮：白底输入 + 青蓝实底按钮（白字） */
:root[data-theme="light"] .page-search input,
:root[data-theme="light"] .mobile-search input,
:root[data-theme="light"] .login-form input { color: var(--text); background: #FFFFFF; border-color: var(--line-strong); }
:root[data-theme="light"] .page-search input:focus,
:root[data-theme="light"] .mobile-search input:focus,
:root[data-theme="light"] .login-form input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-dim); outline: 0; }
:root[data-theme="light"] .page-search button,
:root[data-theme="light"] .mobile-search button,
:root[data-theme="light"] .login-form button { color: #FFFFFF; background: var(--accent); }
:root[data-theme="light"] .page-search button:hover,
:root[data-theme="light"] .mobile-search button:hover,
:root[data-theme="light"] .login-form button:hover { background: var(--accent-strong); }
:root[data-theme="light"] .login-form ul.errorlist { color: #C0392B; }
:root[data-theme="light"] .account-action { color: var(--soft); border-color: var(--line-strong); }
:root[data-theme="light"] .account-action:hover { color: var(--accent); border-color: var(--accent); }

/* 15.1 会员与通知：亮色微调 */
:root[data-theme="light"] .account-stat { background: #FFFFFF; border-color: var(--line); }
:root[data-theme="light"] .notice-tab { color: var(--soft); border-color: var(--line-strong); }
:root[data-theme="light"] .notice-tab.is-current { color: var(--accent); border-color: var(--accent); }
:root[data-theme="light"] .login-form select { color: var(--text); background: #FFFFFF; border-color: var(--line-strong); }
:root[data-theme="light"] .site-message { background: #FFFFFF; color: var(--text); }
:root[data-theme="light"] .member-nav .member-logout button { color: var(--soft); }


/* 15.2 会员区与站内信：亮色微调 */
:root[data-theme="light"] .login-note { background: #FFFDF6; border-color: var(--line-strong); border-left-color: var(--accent); color: var(--content); }
:root[data-theme="light"] .member-avatar { color: #FFFFFF; background: linear-gradient(140deg, #0E8A6B, #14A886); }
:root[data-theme="light"] .member-primary { color: #FFFFFF; background: var(--accent); }
:root[data-theme="light"] .member-card { background: #FFFFFF; border-color: var(--line); }
:root[data-theme="light"] .msg-letter { background: #FFFFFF; border-color: var(--line); }
:root[data-theme="light"] .empty-note { background: #FFFFFF; border-color: var(--line-strong); }

/* 10 页脚：一档更深的冷雾蓝收口，与内容区明确分开 */
:root[data-theme="light"] .site-footer {
  background: linear-gradient(180deg, #E4EBF4 0%, #DDE6F1 100%);
  border-top: 1px solid var(--line); color: var(--soft);
}
:root[data-theme="light"] .footer-links a { color: var(--soft); border-right-color: rgba(16, 31, 53, .12); }
:root[data-theme="light"] .footer-links a:hover { color: var(--accent); }
:root[data-theme="light"] .copyright { color: #2F4159; border-top-color: rgba(16, 31, 53, .10); }

/* 11 移动端抽屉：浅色下用不透明冷雾底 */
:root[data-theme="light"] .mobile-drawer:not([hidden]) { background: var(--drawer-scrim); }
:root[data-theme="light"] .mobile-member-links a,
:root[data-theme="light"] .mobile-nav a { color: var(--text); }

/* 13 主菜单横栏：底色取 --nav-band（暗色=卡面色，明色=淡米黄），只铺在内层 .nav-inner 上，左右边界与下方卡片对齐 */
:root[data-theme="light"] .nav-row .search-form { border-color: #E4D9BE; }
:root[data-theme="light"] .nav-row .search-form input::placeholder { color: #45556D; }
:root[data-theme="light"] .nav-row .theme-toggle { border-color: #E6DCC4; }


/* ===================================================================
   16 资源下载与教程附件（2026-10-25）：下载列表、文章附件区、富文本正文
   =================================================================== */
.download-list { display: grid; gap: 12px; margin: 18px 0 0; padding: 0; list-style: none; }
.download-item { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.download-item h2 { margin: 0 0 4px; font-size: 15px; font-weight: 600; color: var(--text); }
.download-item p { margin: 0 0 6px; font-size: 13px; line-height: 1.6; color: var(--content, var(--muted)); }
.download-meta { font-size: 12px; color: var(--muted); }
.download-button { flex: none; padding: 7px 18px; font-size: 13px; color: var(--accent); background: var(--accent-dim); border: 1px solid var(--accent); border-radius: 6px; text-decoration: none; white-space: nowrap; }
.download-button:hover { background: var(--accent-soft, var(--accent-dim)); }
.pager { display: flex; align-items: center; gap: 12px; margin: 18px 0 0; font-size: 13px; color: var(--muted); }
.pager a { color: var(--accent); text-decoration: none; }
.pager a:hover { text-decoration: underline; }
.article-downloads { margin: 4px 0 0; padding: 16px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.article-downloads h2 { margin: 0 0 10px; font-size: 15px; font-weight: 600; color: var(--text); }
.article-downloads ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.article-downloads li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; font-size: 13px; }
.article-downloads a { color: var(--accent); text-decoration: none; }
.article-downloads a:hover { text-decoration: underline; }
.article-downloads .download-size,
.article-downloads small { font-size: 12px; color: var(--muted); }
.article-body h2 { margin: 1.5em 0 .6em; font-size: 19px; font-weight: 600; letter-spacing: -.01em; }
.article-body h3 { margin: 1.3em 0 .5em; font-size: 17px; font-weight: 600; }
.article-body ul, .article-body ol { margin: 0 0 1.4em; padding-left: 1.4em; }
.article-body li { margin-bottom: .4em; }
.article-body blockquote { margin: 1.4em 0; padding: 10px 18px; border-left: 3px solid var(--accent); background: var(--accent-soft, var(--accent-dim)); color: var(--content, var(--soft)); }
.article-body img { max-width: 100%; height: auto; border-radius: var(--radius); }
.article-body figure { margin: 1.4em 0; text-align: center; }
.article-body figure img { max-height: 520px; width: auto; max-width: 100%; margin: 0 auto; display: block; }
.article-body a { color: var(--accent); }
.article-body hr { margin: 1.8em 0; border: 0; border-top: 1px solid var(--line); }
.article-body table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: 14px; }
.article-body th, .article-body td { padding: 8px 10px; border: 1px solid var(--line); text-align: left; }

/* 17 二级 / 三级页面排版收敛（2026-10-25，v21）：字号回到 §12.3 体系（正文 16px / 资讯标题 16px / 说明 13px） */
.article-header h1 { font-size: clamp(24px, 2.5vw, 32px); }
.article-list-item h2 a { color: inherit; text-decoration: none; }
.article-list-item h2 a:hover { color: var(--accent); }
.content-page .token-table td, .content-page .token-table th { font-size: 13px; }
.info-page .page-intro { max-width: 72ch; }

/* 18 页脚上方友情链接：第一排七枚图标 + 第二/三排文字链（2026-10-27，v52） */
.link-deck { padding: 30px 0 6px; border-bottom: 1px solid rgba(120, 150, 190, .16); }
.deck-icons { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 24px; padding-bottom: 22px; }
.deck-icon { display: flex; align-items: center; justify-content: center; color: var(--muted); transition: transform .16s ease; }
.deck-icon em { font-style: normal; font-size: 12px; line-height: 1.25; white-space: nowrap; }
.deck-tile { display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 15px; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 6px 14px rgba(0, 0, 0, .2); }
.deck-tile img { display: block; width: 54px; height: 54px; }
.deck-icon:hover { color: var(--text); transform: translateY(-2px); }
.deck-icon:hover .deck-tile { box-shadow: 0 2px 6px rgba(0, 0, 0, .32), 0 10px 20px rgba(70, 150, 255, .3); }
.deck-links { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 0; padding: 9px 0; font-size: 12px; border-top: 1px solid rgba(120, 150, 190, .12); }
.deck-label { flex: none; margin-right: 6px; padding: 1px 8px; color: var(--accent); font-size: 10.5px; letter-spacing: .09em; border: 1px solid color-mix(in srgb, var(--accent) 34%, transparent); border-radius: 3px; }
.deck-label-next { margin-left: 20px; }
.deck-links a { padding: 2px 9px; color: var(--soft); border-right: 1px solid rgba(120, 150, 190, .12); }
.deck-links a:last-child { border-right: 0; }
.deck-links a:hover { color: var(--accent); }
:root[data-theme="light"] .link-deck { border-bottom-color: rgba(16, 31, 53, .12); }
:root[data-theme="light"] .deck-links { border-top-color: rgba(16, 31, 53, .1); }
:root[data-theme="light"] .deck-tile { box-shadow: 0 1px 2px rgba(16, 31, 53, .16); }
:root[data-theme="light"] .deck-icon em { color: var(--soft); }
:root[data-theme="light"] .deck-links a { color: var(--soft); border-right-color: rgba(16, 31, 53, .1); }
/* 页脚链接区通栏广告（夹在图标排与文字链之间） */
.ad-slot-deck { width: 970px; max-width: 100%; height: 90px; min-height: 90px; margin: 0 auto 20px; border-radius: 6px; }
.ad-slot-deck img { object-fit: cover; object-position: center; }
/* 主导航行左侧品牌 LOGO（2026-10-27） */

/* 顶部左侧日期时间（小字号两行） */
.top-clock { display: flex; flex-direction: column; justify-content: center; gap: 1px; line-height: 1.3; }
.tc-date { color: var(--soft); font-size: 12px; letter-spacing: .02em; }
.tc-time { color: var(--muted); font-size: 11px; letter-spacing: .06em; font-variant-numeric: tabular-nums; }
.tc-weather { margin-left: 6px; color: var(--muted); letter-spacing: 0; }
.nav-brand { grid-column: 1; justify-self: start; width: 150px; height: 40px; align-self: center; }
.nav-brand .brand-logo { max-height: 38px; }



/* 亮色版背景图（老板 2026-11-02 指定：华海视界_亮色版背景图_v7） */
:root[data-theme="light"] body {
  background-image: url("/static/dashboard/bg/bright-bg-v7.jpg");
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* 亮色版：顶部横栏整条透明，露出背景图（2026-11-02 老板指出左右模块不透） */
:root[data-theme="light"] .site-header { background: transparent; }
:root[data-theme="light"] .header-top,
:root[data-theme="light"] .nav-row,
:root[data-theme="light"] .header-inner { background: transparent; }

/* 亮色版：页脚 7 个图标底板半透明，露出背景图（2026-11-02 老板指出底部同顶部问题） */
:root[data-theme="light"] .deck-tile { background: rgba(255, 255, 255, .55); backdrop-filter: blur(3px); }

/* 亮色版：页脚整条渐变底去掉，露出背景图（2026-11-02 老板指出底部横栏左右不透） */
:root[data-theme="light"] .site-footer { background: transparent; }

/* 亮色版：顶部主菜单横栏（logo → 明暗切换按钮）恢复卡片底色，两端留白仍透明（老板 2026-11-02 定） */
:root[data-theme="light"] .header-inner.nav-inner { background: var(--surface); }

/* 透明处理同步到暗色版（暗色不设背景图，透出的是页面底色，2026-11-02 老板定） */
.site-header, .header-top, .nav-row, .header-inner { background: transparent; }
.header-inner.nav-inner { background: var(--surface); }
.site-footer { background: transparent; }
.deck-tile { background: rgba(255, 255, 255, .10); backdrop-filter: blur(3px); }
