/* ==============================================================================
 * mbaitools 设计系统（方向 D · 门户精作版）
 * 2026-07-21 全量重写。唯一视觉真相：docs/redesign-css/ 五个 mock
 *   dir-d-portal.html（首页）/ page-tool.html（工具详情）/ page-category.html（分类）
 *   page-news.html（快讯 daily）/ page-article.html（文章单页）
 * 交接组件（榜单奖牌 / 评分控件 / 教程步骤 / 资讯数据条 / 搜索控制台 / 404）
 * 来自 design_handoff_mbaitools_redesign/README.md，已改用本文件令牌重写。
 *
 * 硬规矩（CLAUDE.md）：
 *   1. 零框架、零构建、零 jQuery；不引 Google Fonts。Space Grotesk 自托管（下方
 *      @font-face），中文走访客本机字体栈（--font 正文栈，见 body）。
 *   2. --ink 深色底上不要用 --ac（2.90:1 不过 AA），用 --ac-on-ink（#9AAAFF，AA 达标）。
 *   3. --faint 只用于装饰（svg 图标、marker 式序号、分隔符 ·）；一切真实信息文字
 *      （日期 / 计数 / 来源 / 版权 / 核验行）用 --muted。mock 里写在真实文字上的
 *      faint 已按本规矩统一提到 --muted，灰度差一档以内，视觉不变。
 *
 * 模板约定（后续 PHP agent 必读）：
 *   - 图标一律 sprite：<svg class="ic"><use href="#i-xxx"/></svg>，assets/icons.svg。
 *   - 「卡片容器」class 常需与 .box 搭配：<section class="box hero-card">、
 *     <article class="box art">、<div class="box cat-head">、<div class="box fbar2">、
 *     <a class="box fcard">。.box 提供白底 / 边框 / 圆角 / padding / 下间距。
 *   - 当前态一律 .on（.nav a.on / .side-item.on / .htab.on / .fchip.on / .pagi a.on）。
 * ============================================================================== */

/* ------------------------------------------------------------------------------
 * Space Grotesk：自托管拉丁子集，可变字重 500–700（一个文件覆盖全部字重）。
 * SIL Open Font License 1.1，许可证全文见 assets/fonts/space-grotesk-OFL.txt。
 * 中文不加载任何 webfont。unicode-range 限定拉丁，汉字永远不会命中本 @font-face。
 * ------------------------------------------------------------------------------ */
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("../fonts/space-grotesk-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ------------------------------------------------------------------------------
 * 设计令牌（以 mock 为准）
 * ------------------------------------------------------------------------------ */
:root {
  /* 设计稿是纯亮色稿；显式声明避免系统暗色把表单控件染深。 */
  color-scheme: light;

  --bg: #F4F5F7;        /* 页面画布底 */
  --card: #FFF;         /* 卡片 / 顶栏 / 侧栏底 */
  --ink: #171A21;       /* 主文字、深色区块底 */
  --body: #4B515B;      /* 正文次级 */
  --muted: #8A8F98;     /* 说明文字、元信息（真实文字的最低档） */
  --faint: #B4B9C0;     /* ⚠️ 仅装饰：图标、marker 序号、分隔符。勿作文字色 */
  --line: #E9ECF0;      /* 卡片 / 输入框边框 */
  --hair: #F0F2F5;      /* 列表内 hairline */

  --ac: #3D56D6;        /* 品牌主色、链接、CTA */
  --ac-ink: #2A3EA8;    /* 主色 hover */
  --ac-soft: #EEF1FF;   /* 主色浅底（徽章底、选中态） */
  --ac-on-ink: #9AAAFF; /* ⚠️ --ink 深色底上的唯一合法主色文字（AA 达标） */

  --green: #0E8A62;     --green-soft: #E6F5EE;   /* 免费 / 优点 / 已核验 */
  --orange: #C25E10;    --orange-soft: #FDF3E7;  /* 警示 / 避坑 / 快讯标 */
  --rose: #C2366B;      --rose-soft: #FBEAF0;    /* 分类色标之一 */

  /* 补充令牌（交接 README：中文版 5 星评分控件） */
  --star: #F5A623;
  --star-empty: #E3E6EC;
}

/* ------------------------------------------------------------------------------
 * 基础 reset
 * ------------------------------------------------------------------------------ */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  /* 中文系统栈：-apple-system 覆盖 macOS/iOS，PingFang/雅黑/Noto 覆盖各平台中文。
     数字与拉丁默认也由该栈渲染；需要 Space Grotesk 的地方（logo/序号/数据）见 .sg。 */
  font-family: -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
svg { display: block; }
button, input, select, textarea { font-family: inherit; }
::placeholder { color: var(--muted); opacity: 1; }

/* Space Grotesk 工具类：logo 字标、序号、数据、英文标签。 */
.sg { font-family: "Space Grotesk", -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif; }

/* sprite 图标默认尺寸；各处用更具体的选择器覆写。 */
.ic { width: 15px; height: 15px; flex: none; }

/* ------------------------------------------------------------------------------
 * 无障碍（保留自旧 site.css，勿删）
 * .screen-reader-text：WP 核心 + 主题 7 个 PHP 模板输出；.skip-link：header.php。
 * ------------------------------------------------------------------------------ */
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 100000;
  top: 10px;
  left: 10px;
  min-height: 44px;
  padding: 10px 18px;
  transform: translateY(-180%);
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-weight: 800;
}

.skip-link:focus { transform: translateY(0); }

/* ------------------------------------------------------------------------------
 * 顶栏 .topbar
 * 结构：<header class="topbar"><div class="topbar-in">
 *   <a class="logo"><svg/><b class="sg">mbaitools</b></a>
 *   <nav class="nav">…<a class="on">…</nav>
 *   <span class="sp"></span> 弹性占位
 *   <a class="sbtn">搜索</a> <span class="lang"><a class="on">中</a><a>EN</a></span>
 *   <a class="btn-ac">提交工具</a>
 * ------------------------------------------------------------------------------ */
.topbar { position: sticky; top: 0; z-index: 60; background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.topbar-in { height: 56px; display: flex; align-items: center; gap: 22px; padding: 0 22px; }
.logo { display: flex; align-items: center; gap: 8px; }
.logo svg { width: 26px; height: 26px; }
.logo b { font-size: 16.5px; letter-spacing: -.02em; }
.nav { display: flex; gap: 18px; margin-left: 8px; height: 100%; }
.nav a { position: relative; display: flex; align-items: center; gap: 5px; font-size: 13px; color: var(--body); }
.nav a .ic { width: 14px; height: 14px; color: var(--muted); }
.nav a.on { color: var(--ink); font-weight: 700; }
.nav a.on .ic { color: var(--ac); }
.nav a:hover { color: var(--ink); }
.topbar .sp { flex: 1; }
.sbtn { width: 32px; height: 32px; border: 1px solid var(--line); border-radius: 9px; display: grid; place-items: center; color: var(--body); background: #fff; transition: border-color .15s, color .15s; }
.sbtn:hover { border-color: var(--ac); color: var(--ac); }
.sbtn .ic { width: 15px; height: 15px; }
.lang { display: flex; border: 1px solid var(--line); border-radius: 99px; padding: 2px; background: #fff; }
.lang a { font-size: 11px; padding: 3px 10px; border-radius: 99px; color: var(--muted); }
.lang a.on { background: var(--ink); color: #fff; font-weight: 600; }
.lang a:not(.on):hover { color: var(--ink); }

/* WP admin-bar 修正：登录管理员时粘性顶栏避开 32px 工具条。 */
@media (min-width: 783px) {
  .admin-bar .topbar { top: 32px; }
  .admin-bar .sidebar { top: 88px; height: calc(100vh - 88px); }
}
@media (max-width: 782px) {
  .admin-bar .topbar { top: 46px; }
  .admin-bar .sidebar { top: 102px; height: calc(100vh - 102px); }
}

/* ------------------------------------------------------------------------------
 * 按钮
 * .btn-ac = 主色 CTA（mock 顶栏「提交工具」/ 详情页「访问官网」）。
 * .btn-ink = 墨色实心（404「返回首页」）；.btn-ol = 白底描边（404「报告失效链接」）。
 * ------------------------------------------------------------------------------ */
.btn-ac { background: var(--ac); color: #fff; font-size: 12.5px; font-weight: 500; padding: 8px 14px; border-radius: 9px; display: flex; gap: 5px; align-items: center; border: 0; cursor: pointer; box-shadow: 0 4px 12px rgba(61, 86, 214, .22); }
.btn-ac .ic { width: 13px; height: 13px; }
.btn-ac:hover { background: var(--ac-ink); }
.btn-ink { background: var(--ink); color: #fff; font-size: 12.5px; font-weight: 500; padding: 8px 14px; border-radius: 9px; display: inline-flex; gap: 5px; align-items: center; border: 1px solid var(--ink); cursor: pointer; }
.btn-ink:hover { background: #262B36; }
.btn-ol { background: #fff; color: var(--body); font-size: 12.5px; font-weight: 500; padding: 8px 14px; border-radius: 9px; display: inline-flex; gap: 5px; align-items: center; border: 1px solid var(--line); cursor: pointer; }
.btn-ol:hover { border-color: var(--ac); color: var(--ac); }

/* 资讯详情页分享按钮行（复制链接走 site.js [data-copy] 委托） */
.nshare { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 14px 0; }
.nshare-label { font-size: 12px; color: var(--muted); }
.nshare-btn { padding: 6px 12px; font-size: 13px; line-height: 1.4; cursor: pointer; }
.nshare-btn.is-copied { border-color: var(--ac); color: var(--ac); }

/* ------------------------------------------------------------------------------
 * 骨架 .shell = 侧栏 200px + 主区
 * ------------------------------------------------------------------------------ */
.shell { display: grid; grid-template-columns: 200px minmax(0, 1fr); }

/* 侧栏 */
.sidebar { background: #fff; border-right: 1px solid var(--line); position: sticky; top: 56px; height: calc(100vh - 56px); overflow: auto; padding: 14px 10px; }
.side-label { font-size: 11px; color: var(--faint); padding: 10px 12px 6px; letter-spacing: .04em; }
.side-item { display: flex; align-items: center; gap: 9px; padding: 7.5px 12px; border-radius: 8px; font-size: 13px; color: var(--body); }
.side-item .ic { width: 15px; height: 15px; color: var(--muted); }
.side-item .cnt { margin-left: auto; font-family: "Space Grotesk", sans-serif; font-size: 10.5px; color: var(--muted); }
.side-item:hover { background: var(--bg); color: var(--ink); }
.side-item.on { background: var(--ac-soft); color: var(--ac); font-weight: 600; }
.side-item.on .ic { color: var(--ac); }

.main { padding: 20px 24px 48px; min-width: 0; }

/* ------------------------------------------------------------------------------
 * Hero（首页搜索 hero + 快讯 ticker）
 * ------------------------------------------------------------------------------ */
.hero { background: linear-gradient(160deg, #EDF0FE 0%, #F7F8FD 45%, #FFF 100%); border: 1px solid #E2E7F8; border-radius: 16px; padding: 28px 26px 0; text-align: center; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(#C7D0F2 1px, transparent 1px); background-size: 22px 22px; opacity: .35; -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%); mask-image: linear-gradient(180deg, #000, transparent 70%); }
.hero > * { position: relative; }
.hero h1 { font-size: 27px; font-weight: 900; letter-spacing: .01em; }
.hero h1 em { font-style: normal; color: var(--ac); }
.hero .sub { margin-top: 8px; font-size: 12.5px; color: var(--muted); display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.hero .sub span { display: flex; align-items: center; gap: 5px; }
.hero .sub .ic { width: 13px; height: 13px; color: var(--green); }
.hero .search { margin: 20px auto 0; max-width: 560px; display: flex; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 5px 5px 5px 14px; box-shadow: 0 8px 24px rgba(61, 86, 214, .08); }
.hero .search .ic { color: var(--muted); }
.hero .search input { flex: 1; border: 0; outline: 0; font-size: 13.5px; font-family: inherit; background: transparent; color: var(--ink); }
.hero .search button { border: 0; background: var(--ac); color: #fff; font-size: 13px; font-weight: 500; padding: 9px 22px; border-radius: 9px; cursor: pointer; font-family: inherit; }
.hero .search button:hover { background: var(--ac-ink); }
.hero .engines { display: flex; justify-content: center; gap: 4px; margin-top: 12px; padding-bottom: 16px; }
.hero .engines a { font-size: 12px; color: var(--muted); padding: 4px 12px; border-radius: 99px; }
.hero .engines a.on { color: var(--ac); font-weight: 600; background: var(--ac-soft); }
.hero .engines a:hover { color: var(--ac); }
.hero .hot { display: flex; justify-content: center; gap: 8px; margin-top: 14px; flex-wrap: wrap; align-items: center; font-size: 12px; color: var(--muted); }
.hero .hot a { font-size: 12px; color: var(--body); background: #fff; border: 1px solid var(--line); border-radius: 99px; padding: 4px 12px; }
.hero .hot a:hover { border-color: var(--ac); color: var(--ac); }

/* 快讯滚动条（hero 底部通栏） */
.ticker { display: flex; align-items: center; gap: 10px; background: #fff; border-top: 1px solid var(--line); margin: 0 -26px; padding: 10px 22px; text-align: left; }
.ticker .lb { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 900; color: var(--orange); flex: none; }
.ticker .lb svg { width: 13px; height: 13px; }
.ticker .headlines { display: flex; gap: 22px; overflow: hidden; flex: 1; }
.ticker .hl { display: flex; gap: 8px; align-items: baseline; font-size: 12.5px; color: var(--body); white-space: nowrap; }
.ticker .hl .n { font-family: "Space Grotesk", sans-serif; font-size: 10.5px; font-weight: 600; color: var(--muted); }
.ticker .hl:hover { color: var(--ac); }
.ticker .all { flex: none; font-size: 11.5px; color: var(--muted); display: flex; align-items: center; gap: 4px; }
.ticker .all svg { width: 12px; height: 12px; }
.ticker .all:hover { color: var(--ac); }

/* ------------------------------------------------------------------------------
 * 快讯面板 .hub（竖 tab + banner 卡 + 封面卡）
 * .htab 当前态 .on；封面卡 .ccard 也单独复用于文章页「相关快讯」。
 * ------------------------------------------------------------------------------ */
.hub { margin-top: 20px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px; display: grid; grid-template-columns: 78px minmax(0, 1fr); gap: 14px; }
.hub-tabs { display: flex; flex-direction: column; gap: 6px; border-right: 1px solid var(--hair); padding-right: 12px; }
.htab { display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 11px 4px; border-radius: 10px; font-size: 11.5px; color: var(--muted); cursor: pointer; }
.htab svg { width: 18px; height: 18px; }
.htab:hover { background: var(--bg); color: var(--ink); }
.htab.on { background: var(--ac-soft); color: var(--ac); font-weight: 700; }
.hub-banners { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 12px; }
.bcard { border-radius: 11px; padding: 13px 15px; position: relative; overflow: hidden; min-height: 66px; display: flex; flex-direction: column; justify-content: center; transition: transform .15s; }
.bcard:hover { transform: translateY(-2px); }
.bcard b { font-size: 15px; font-weight: 900; }
.bcard small { font-size: 10.5px; opacity: .72; margin-top: 1px; }
.bcard .art { position: absolute; right: 6px; bottom: -10px; width: 56px; height: 56px; opacity: .28; }
.bcard .art svg { width: 100%; height: 100%; }
.b1 { background: var(--ac-soft); color: var(--ac); }
.b2 { background: var(--green-soft); color: var(--green); }
.b3 { background: var(--rose-soft); color: var(--rose); }
.b4 { background: var(--orange-soft); color: var(--orange); }
.hub-covers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.ccard { display: block; }
.ccard:hover .cv-t { color: var(--ac); }
.ccard .cv-img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 10px; border: 1px solid var(--hair); display: block; }
.ccard .cv-t { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 12.5px; font-weight: 600; margin-top: 7px; line-height: 1.5; }
.ccard .cv-m { display: block; font-size: 11px; color: var(--muted); margin-top: 3px; }
.ccard .cv-concept { display: flex; align-items: center; justify-content: center; padding: 12px; }
.ccard .cv-concept b { color: #fff; font-size: 21px; font-weight: 900; line-height: 1.35; text-align: center; text-shadow: 0 1px 10px rgba(15, 23, 42, .3); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ------------------------------------------------------------------------------
 * 入口卡 .entries（渐变头 + 清单体）
 * 配色修饰 .e1 靛 / .e2 绿 / .e3 橙 / .e4 玫红。
 * ------------------------------------------------------------------------------ */
.entries { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; margin-top: 16px; }
.ecard { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; transition: transform .15s, box-shadow .15s; }
.ecard:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(23, 26, 33, .09); }
.band { position: relative; display: flex; align-items: center; gap: 9px; padding: 13px 16px; color: #fff; overflow: hidden; }
.band .wm { position: absolute; right: -6px; top: 50%; transform: translateY(-50%); width: 64px; height: 64px; opacity: .16; pointer-events: none; }
.band .wm svg { width: 100%; height: 100%; }
.band > svg { width: 16px; height: 16px; flex: none; }
.band b { font-size: 14px; font-weight: 900; }
.band .chip { margin-left: auto; font-size: 10px; font-weight: 600; background: rgba(255, 255, 255, .22); padding: 2px 9px; border-radius: 99px; flex: none; }
.e1 .band { background: linear-gradient(135deg, #3D56D6, #7A5CFF); }
.e2 .band { background: linear-gradient(135deg, #0B7A56, #2FBF8F); }
.e3 .band { background: linear-gradient(135deg, #C25E10, #F2994A); }
.e4 .band { background: linear-gradient(135deg, #A92B5E, #E5638F); }
.rows { padding: 6px 0; }
.it { display: flex; gap: 9px; align-items: baseline; padding: 7.5px 16px; border-bottom: 1px solid var(--hair); font-size: 12.5px; color: var(--body); }
.it:last-child { border: 0; }
.it .n { font-family: "Space Grotesk", sans-serif; font-size: 10.5px; font-weight: 600; color: var(--faint); flex: none; }
.it .t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.it:hover .t { color: var(--ac); font-weight: 500; }
.it:hover .n { color: var(--ac); }
.efoot { display: flex; align-items: center; gap: 5px; padding: 9px 16px; border-top: 1px solid var(--hair); font-size: 11.5px; color: var(--muted); }
.efoot svg { width: 12px; height: 12px; }
.efoot:hover { color: var(--ac); }

/* ------------------------------------------------------------------------------
 * 区块 .sec（首页各板块标题行）
 * ------------------------------------------------------------------------------ */
.sec { margin-top: 30px; }
.sec-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.sec-head .sic { width: 28px; height: 28px; border-radius: 8px; background: var(--ac-soft); color: var(--ac); display: grid; place-items: center; }
.sec-head .sic svg { width: 15px; height: 15px; }
.sec-head h2 { font-size: 17px; font-weight: 900; }
.sec-head .cnt { font-family: "Space Grotesk", sans-serif; font-size: 12px; color: var(--muted); font-weight: 600; }
.sec-head .more { margin-left: auto; font-size: 12.5px; color: var(--ac); display: flex; align-items: center; gap: 4px; }
.sec-head .more .ic { width: 13px; height: 13px; }
.sec-head .more:hover { color: var(--ac-ink); }

/* ------------------------------------------------------------------------------
 * 工具格 .grid5 + 紧凑工具卡 .tcard（全站复用）
 * .fav = favicon 容器（favicon-first，抓不到时模板加 .nofav 显示字母 monogram）。
 * .mono 六色轮换（交接 README）：默认 ink 底白字，修饰类
 *   .m-blue / .m-green / .m-orange / .m-rose / .m-sand（ink 即默认，无需修饰类）。
 *   交接原值 blue=#EEF1FF/#3D56D6、green=#E6F5EE/#0E8A62、orange=#FCF1E4/#B45A0F、
 *   rose=#FBEAF0/#C2366B、sand≈主色 10% 浅底/#3D56D6 —— 已映射到本文件令牌。
 * .pt 定价标：.free 绿 / .paid 灰。
 * ------------------------------------------------------------------------------ */
.grid5 { display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: 12px; }
.tcard { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 13px 14px; display: flex; min-width: 0; align-items: center; gap: 11px; transition: border-color .15s, box-shadow .15s; }

/* 最新收录懒加载：骨架卡 + 隐形 sentinel（滚动近底自动加载；无 JS 时只见首屏 15 个，不报错）。 */
.lazy-foot { height: 1px; margin-top: 8px; }
.tcard-skel { display: block; pointer-events: none; }
.tcard-skel .sk-ico, .tcard-skel .sk-line { background: var(--line); border-radius: 6px; animation: mbai-skpulse 1.2s ease-in-out infinite; }
.tcard-skel .sk-ico { width: 22px; height: 22px; display: inline-block; }
.tcard-skel .sk-line { display: block; height: 10px; margin-top: 8px; }
.tcard-skel .sk-w60 { width: 60%; }
.tcard-skel .sk-w90 { width: 90%; }
.tcard-skel .sk-w40 { width: 40%; }
@keyframes mbai-skpulse { 0%, 100% { opacity: .45; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .tcard-skel .sk-ico, .tcard-skel .sk-line { animation: none; } }
.tcard:hover { border-color: var(--ac); box-shadow: 0 8px 20px rgba(23, 26, 33, .06); }
.fav { width: 42px; height: 42px; background: #fff; border: 1px solid var(--hair); border-radius: 10px; display: grid; place-items: center; flex: none; }
.fav img { width: 26px; height: 26px; object-fit: contain; }
.fav .mono { display: none; width: 26px; height: 26px; border-radius: 7px; background: var(--ink); color: #fff; font-size: 11px; font-weight: 700; place-items: center; }
.fav.nofav img { display: none; }
.fav.nofav .mono { display: grid; }
.mono.m-blue { background: var(--ac-soft); color: var(--ac); }
.mono.m-green { background: var(--green-soft); color: var(--green); }
.mono.m-orange { background: var(--orange-soft); color: var(--orange); }
.mono.m-rose { background: var(--rose-soft); color: var(--rose); }
.mono.m-sand { background: #E9EDFB; color: var(--ac); }
.tcard .tx { min-width: 0; flex: 1; }
.tcard .nm { display: flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 600; }
.tcard .nm .t { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tcard .tg { display: block; font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
.tcard .pt { margin-left: auto; font-size: 9.5px; font-weight: 500; padding: 1.5px 7px; border-radius: 99px; flex: none; }
.pt.free { background: var(--green-soft); color: var(--green); }
.pt.paid { background: var(--hair); color: var(--muted); }

/* ------------------------------------------------------------------------------
 * 场景 chips .scenes
 * ------------------------------------------------------------------------------ */
.scenes { display: flex; gap: 8px; flex-wrap: wrap; }
.scene { background: #fff; border: 1px solid var(--line); border-radius: 99px; padding: 6px 14px; font-size: 12.5px; color: var(--body); display: flex; gap: 6px; align-items: baseline; }
.scene b { font-family: "Space Grotesk", sans-serif; font-size: 11px; color: var(--muted); font-weight: 600; }
.scene:hover { border-color: var(--ac); color: var(--ac); }

/* ------------------------------------------------------------------------------
 * 内容三列 .cols3 / .rcol / .ritem（榜单·教程·资讯列表栏）
 * ------------------------------------------------------------------------------ */
.cols3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.rcol { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; }
.rcol h3 { font-size: 13.5px; font-weight: 700; display: flex; gap: 7px; align-items: center; margin-bottom: 6px; }
.rcol h3 .ic { width: 14px; height: 14px; color: var(--ac); }
.rcol h3 .more { margin-left: auto; font-size: 11.5px; color: var(--muted); font-weight: 400; }
.rcol h3 .more:hover { color: var(--ac); }
.ritem { display: flex; gap: 9px; padding: 7px 0; border-bottom: 1px solid var(--hair); font-size: 12.5px; color: var(--body); align-items: baseline; }
.ritem:last-child { border: 0; }
.ritem:hover { color: var(--ac); }
.ritem .n { font-family: "Space Grotesk", sans-serif; font-size: 10.5px; color: var(--faint); font-weight: 600; }
.ritem .t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ------------------------------------------------------------------------------
 * 页脚 .footer / .flinks / .fbar
 * ------------------------------------------------------------------------------ */
.footer { margin-top: 40px; background: #fff; border-top: 1px solid var(--line); color: var(--muted); }
.footer-in { padding: 34px 22px 26px; display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 56px; font-size: 12.5px; }
.fbrand .logo { margin-bottom: 12px; }
.fbrand p { line-height: 1.85; color: var(--muted); }
.fbrand .vrf { display: flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 11.5px; color: var(--muted); }
.fbrand .vrf .ic { width: 13px; height: 13px; color: var(--green); }
.flinks p { margin-bottom: 10px; line-height: 2; }
.flinks b { color: var(--ink); font-size: 12.5px; margin-right: 10px; }
.flinks a { color: var(--muted); font-size: 12px; white-space: nowrap; }
.flinks a:hover { color: var(--ac); }
.flinks a:not(:last-child)::after { content: "·"; color: var(--faint); margin: 0 8px; }
.fbar { border-top: 1px solid var(--hair); padding: 14px 22px; display: flex; align-items: center; font-size: 11.5px; color: var(--muted); }
.fbar .r { margin-left: auto; display: flex; gap: 18px; }
.fbar .r a { display: flex; align-items: center; gap: 5px; }
.fbar .r a:hover { color: var(--ac); }
.fbar .r .ic { width: 12px; height: 12px; }

/* ------------------------------------------------------------------------------
 * 面包屑 .crumb
 * ------------------------------------------------------------------------------ */
.crumb { font-size: 12px; color: var(--muted); margin-bottom: 14px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.crumb a:hover { color: var(--ac); }
.crumb b { color: var(--ink); }

/* ------------------------------------------------------------------------------
 * 内容页骨架 .tplay = 主列 + 300px 右栏
 * .box = 通用白底卡片容器；.bt = 卡片块标题；.pill = 小胶囊；.pagi = 分页。
 * .pill 修饰：.free 绿 / .cat 主色（分类）。WP 分页把 .pagi a.on 输出在当前页。
 * ------------------------------------------------------------------------------ */
.tplay { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; align-items: start; }
.box { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px; margin-bottom: 14px; }
.bt { font-size: 15px; font-weight: 900; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.bt .ic { width: 15px; height: 15px; color: var(--ac); }
.pill { display: inline-flex; font-size: 11px; padding: 2.5px 10px; border-radius: 99px; background: var(--hair); color: var(--muted); font-weight: 500; }
.pill.free { background: var(--green-soft); color: var(--green); }
.pill.cat { background: var(--ac-soft); color: var(--ac); }
.pagi { display: flex; gap: 6px; justify-content: center; margin-top: 22px; }
.pagi a { min-width: 32px; height: 32px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); border-radius: 8px; font-size: 12.5px; color: var(--body); padding: 0 8px; }
.pagi a.on { background: var(--ac); color: #fff; border-color: var(--ac); font-weight: 600; }
.pagi a:hover:not(.on) { border-color: var(--ac); color: var(--ac); }

/* ------------------------------------------------------------------------------
 * 工具详情页
 * .hero-card（头部大卡，配 .box）/ .editor（编辑点评）/ .fgrid（核验信息 4 格）/
 * .para / .checks（✓ 清单）/ .duo + .good/.bad（优点绿 / 限制橙双栏）/
 * .steps（编号步骤，counter 自动编号）/ .pricebox / .src（来源与核验）
 * ------------------------------------------------------------------------------ */
.hero-card { display: flex; gap: 16px; align-items: flex-start; }
.hero-card .fav { width: 60px; height: 60px; border-radius: 14px; }
.hero-card .fav img { width: 36px; height: 36px; }
.hero-card .fav .mono { width: 40px; height: 40px; font-size: 15px; border-radius: 10px; }
.hero-card h1 { font-size: 22px; font-weight: 900; }
.hero-card .badges { display: flex; gap: 6px; margin: 8px 0 10px; flex-wrap: wrap; }
.hero-card .one { font-size: 13px; color: var(--body); line-height: 1.75; }
.hero-card .vrf { display: flex; align-items: center; gap: 5px; font-size: 11.5px; color: var(--muted); margin-top: 10px; }
.hero-card .vrf .ic { width: 12px; height: 12px; color: var(--green); }
.hero-card .vrf a { color: var(--ac); }
.hero-card .visit { margin-left: auto; flex: none; padding: 10px 18px; }
.editor { background: var(--ac-soft); border-color: #DCE2FB; }
.editor p { font-size: 13.5px; color: var(--body); line-height: 1.85; }
.fgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.fgrid > div { background: var(--bg); border-radius: 10px; padding: 12px 14px; }
.fgrid small { font-size: 11px; color: var(--muted); display: block; }
.fgrid b { font-size: 13.5px; margin-top: 3px; display: block; }
.fgrid b.ok { color: var(--green); }
.para { font-size: 13.5px; color: var(--body); line-height: 1.9; }
.checks { list-style: none; }
.checks li { font-size: 13px; color: var(--body); padding: 6px 0 6px 26px; position: relative; }
.checks li::before { content: "✓"; position: absolute; left: 2px; color: var(--green); font-weight: 700; }
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.duo .box { margin-bottom: 0; }
.good { background: #F2FAF6; border-color: #D3EBDF; }
.bad { background: #FDF6EE; border-color: #F5E3C8; }
.good .bt { color: var(--green); }
.bad .bt { color: var(--orange); }
.steps { counter-reset: s; list-style: none; }
.steps li { counter-increment: s; font-size: 13px; padding: 8px 0 8px 42px; position: relative; color: var(--body); }
.steps li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: 9px; font-family: "Space Grotesk", sans-serif; font-weight: 700; color: var(--ac); font-size: 13px; }
.pricebox { background: var(--green-soft); border: 1px solid #D3EBDF; border-radius: 10px; padding: 13px 16px; font-size: 13px; color: var(--body); display: flex; align-items: center; gap: 8px; }
.pricebox b { color: var(--green); margin-left: auto; font-weight: 700; }
.src p { font-size: 12.5px; color: var(--muted); line-height: 1.9; }
.src a { color: var(--ac); }

/* ------------------------------------------------------------------------------
 * 右栏 widget（.trail = 右栏容器）
 * .cta = 访问官网卡；.wrow = 带 favicon 的工具行；.trow = 编号文字行（快讯/日期）。
 * ------------------------------------------------------------------------------ */
.trail .box { padding: 16px 18px; }
.cta .btn-ac { display: flex; justify-content: center; width: 100%; padding: 11px; font-size: 13.5px; }
.cta p { text-align: center; font-size: 11px; color: var(--muted); margin-top: 9px; }
.wrow { display: flex; gap: 10px; align-items: center; padding: 7.5px 0; border-bottom: 1px solid var(--hair); }
.wrow:last-child { border: 0; }
.wrow .fav { width: 32px; height: 32px; border-radius: 8px; }
.wrow .fav img { width: 20px; height: 20px; }
.wrow .fav .mono { width: 24px; height: 24px; font-size: 10px; border-radius: 6px; }
.wrow .wtx { min-width: 0; }
.wrow b { font-size: 12.5px; font-weight: 600; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wrow small { font-size: 11px; color: var(--muted); display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wrow:hover b { color: var(--ac); }
.trow { display: flex; gap: 9px; padding: 7.5px 0; border-bottom: 1px solid var(--hair); font-size: 12.5px; color: var(--body); align-items: baseline; }
.trow:last-child { border: 0; }
.trow .n { font-family: "Space Grotesk", sans-serif; font-size: 10.5px; color: var(--muted); font-weight: 600; flex: none; }
.trow .t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.trow:hover .t { color: var(--ac); }

/* ------------------------------------------------------------------------------
 * 分类页
 * .cat-head（分类头，配 .box；.sic2 大图标徽章，底色由内联 style 给：
 *   style="background:var(--ac-soft);color:var(--ac)"，按分类色换）/
 * .fbar2（筛选行，配 .box）/ .fchip（筛选 chip，当前 .on）/
 * .feed + .fcard（文章 feed 卡，配 .box）
 * ------------------------------------------------------------------------------ */
.cat-head { display: flex; align-items: center; gap: 15px; }
.cat-head .sic2 { width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; flex: none; }
.cat-head .sic2 svg { width: 23px; height: 23px; }
.cat-head h1 { font-size: 21px; font-weight: 900; }
.cat-head p { font-size: 12.5px; color: var(--muted); margin-top: 3px; }
.fbar2 { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.fchip { font-size: 12px; color: var(--body); background: var(--bg); border: 1px solid var(--line); border-radius: 99px; padding: 5px 13px; cursor: pointer; display: flex; gap: 5px; align-items: baseline; }
.fchip b { font-family: "Space Grotesk", sans-serif; font-size: 11px; color: var(--muted); font-weight: 600; }
.fchip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.fchip.on b { color: rgba(255, 255, 255, .6); }
.fchip:hover { border-color: var(--ac); }
.fbar2 .sort { margin-left: auto; font-size: 12px; color: var(--muted); }
.fbar2 .sort b { color: var(--ink); }
.feed { display: flex; flex-direction: column; gap: 12px; }
.fcard { display: grid; grid-template-columns: 224px minmax(0, 1fr); gap: 18px; align-items: center; padding: 16px; margin-bottom: 0; }
.fcard:hover { border-color: var(--ac); }
.fc-img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 10px; border: 1px solid var(--hair); }
.fc-tx b { font-size: 15.5px; font-weight: 900; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.55; }
.fc-tx p { font-size: 12.5px; color: var(--muted); margin-top: 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.7; }
.fc-tx small { font-size: 11px; color: var(--muted); margin-top: 8px; display: block; }
.fcard:hover .fc-tx b { color: var(--ac); }

/* ------------------------------------------------------------------------------
 * 文章单页 .art（榜单 / 教程 / 资讯 / 百科正文通用，配 .box）
 * .tag-news 文章类型标；修饰类 .tag-guide 绿（教程）/ .tag-rank 主色（榜单）。
 * .body = the_content() 容器，正文 typographic 全在这里。
 * 上一篇/下一篇 .pn。
 * ------------------------------------------------------------------------------ */
.art { padding: 28px 32px; }
.art .tag-news { display: inline-block; font-size: 11px; font-weight: 700; background: var(--orange-soft); color: var(--orange); padding: 3px 11px; border-radius: 99px; margin-bottom: 12px; }
.art .tag-guide { background: var(--green-soft); color: var(--green); }
.art .tag-rank { background: var(--ac-soft); color: var(--ac); }
.art h1 { font-size: 23px; font-weight: 900; line-height: 1.45; }
.art .meta { font-size: 12px; color: var(--muted); margin: 12px 0 18px; display: flex; gap: 14px; flex-wrap: wrap; }
.art .mt-note { font-size: 12px; color: var(--muted); margin: 0 0 14px; }
.art .cover { width: 100%; border-radius: 12px; border: 1px solid var(--hair); margin-bottom: 18px; display: block; }
.art .lede { font-size: 14px; color: var(--ink); background: var(--bg); border-radius: 10px; padding: 14px 18px; line-height: 1.85; margin-bottom: 8px; }
.art .body p { font-size: 13.5px; color: var(--body); line-height: 1.95; margin: 12px 0; }
.art .body h2 { font-size: 16.5px; font-weight: 900; margin: 24px 0 10px; }
.art .body h3 { font-size: 14.5px; font-weight: 700; margin: 20px 0 8px; }
.art .body h4 { font-size: 13.5px; font-weight: 700; margin: 16px 0 6px; }
.art .body blockquote { border-left: 3px solid var(--ac); background: var(--ac-soft); padding: 13px 18px; border-radius: 0 10px 10px 0; font-size: 13px; color: var(--body); margin: 14px 0; line-height: 1.8; }
.art .body blockquote p { margin: 0; }
.art .body ul, .art .body ol { margin: 12px 0; padding-left: 22px; font-size: 13.5px; color: var(--body); line-height: 1.9; }
.art .body li { margin: 4px 0; }
.art .body a { color: var(--ac); border-bottom: 1px dashed rgba(61, 86, 214, .4); }
.art .body a:hover { border-bottom-style: solid; }
.art .body strong { color: var(--ink); }
.art .body code { background: var(--bg); border: 1px solid var(--hair); border-radius: 5px; padding: 1px 6px; font-size: 12.5px; }
.art .body pre { background: var(--ink); color: #E9EBF2; border-radius: 10px; padding: 14px 16px; overflow: auto; font-size: 12.5px; line-height: 1.7; margin: 14px 0; }
.art .body pre code { background: transparent; border: 0; padding: 0; color: inherit; }
.art .body table { width: 100%; border-collapse: collapse; font-size: 12.5px; color: var(--body); margin: 14px 0; }
.art .body th, .art .body td { border: 1px solid var(--line); padding: 8px 12px; text-align: left; }
.art .body th { background: var(--bg); font-weight: 700; color: var(--ink); }
.art .body hr { border: 0; border-top: 1px solid var(--line); margin: 22px 0; }
.art .body img { max-width: 100%; height: auto; border-radius: 10px; }
.art .body figure { margin: 14px 0; }
.art .body figcaption { font-size: 11.5px; color: var(--muted); text-align: center; margin-top: 6px; }
.art .tags { display: flex; gap: 8px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--hair); flex-wrap: wrap; }
.art .tags a { font-size: 11.5px; color: var(--muted); background: var(--bg); border: 1px solid var(--line); border-radius: 99px; padding: 4px 12px; }
.art .tags a:hover { color: var(--ac); border-color: var(--ac); }
.pn { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pn a { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 13px 16px; font-size: 12.5px; color: var(--body); }
.pn a small { display: block; font-size: 11px; color: var(--muted); margin-bottom: 3px; }
.pn a:hover { border-color: var(--ac); color: var(--ac); }
.pn .next { text-align: right; }

/* WP 核心内容类（the_content() 数据库输出，模板管不到，必须保留并适配新令牌） */
.art .body .alignleft { float: left; margin: 4px 18px 12px 0; }
.art .body .alignright { float: right; margin: 4px 0 12px 18px; }
.art .body .aligncenter { display: block; margin: 12px auto; }
.art .body .alignnone { margin: 12px 0; }
.art .body .wp-caption { max-width: 100%; }
.art .body .wp-caption-text { font-size: 11.5px; color: var(--muted); text-align: center; margin-top: 6px; }
.art .body .gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 14px 0; }
.art .body .gallery-caption { font-size: 11.5px; color: var(--muted); text-align: center; margin-top: 4px; }

/* ------------------------------------------------------------------------------
 * 快讯 daily 页
 * .nhead（页头卡，配 .box）/ .nlist + .ndate（日期分组）/ .nitem（单条快讯）/
 * .ntag 分类标（.g1 模型靛 / .g2 产品绿 / .g3 融资橙 / .g4 政策玫红）/
 * .nh 标题链 / .ns 摘要 / .nl 文内工具链 / .nsrc 来源
 * ------------------------------------------------------------------------------ */
.nhead h1 { font-size: 21px; font-weight: 900; }
.nmeta { display: flex; align-items: center; gap: 14px; margin-top: 8px; font-size: 12px; color: var(--muted); flex-wrap: wrap; }
.nmeta .live { display: flex; align-items: center; gap: 6px; color: var(--green); font-weight: 600; }
.nmeta .live i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(14, 138, 98, .15); }
.nintro { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--hair); font-size: 12.5px; color: var(--muted); line-height: 1.8; }
.nlist { padding-top: 6px; }
.ndate { display: flex; align-items: baseline; gap: 8px; font-size: 15px; font-weight: 900; margin: 20px 0 10px; }
.ndate:first-child { margin-top: 0; }
.ndate small { font-size: 11.5px; color: var(--muted); font-weight: 500; }
.nitem { background: #fff; border: 1px solid var(--line); border-radius: 13px; padding: 15px 18px; margin-bottom: 10px; transition: border-color .15s, box-shadow .15s; }
.nitem:hover { border-color: var(--ac); box-shadow: 0 8px 20px rgba(23, 26, 33, .05); }
.ntop { display: flex; gap: 9px; align-items: baseline; }
.ntag { flex: none; font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 6px; position: relative; top: -1px; }
.ntag.g1 { background: var(--ac-soft); color: var(--ac); }
.ntag.g2 { background: var(--green-soft); color: var(--green); }
.ntag.g3 { background: var(--orange-soft); color: var(--orange); }
.ntag.g4 { background: var(--rose-soft); color: var(--rose); }
.nh { font-size: 14.5px; font-weight: 700; display: flex; gap: 6px; align-items: baseline; line-height: 1.55; }
.nh .ic { width: 12px; height: 12px; color: var(--faint); flex: none; }
.nh:hover { color: var(--ac); }
.nh:hover .ic { color: var(--ac); }
.ns { font-size: 12.5px; color: var(--muted); margin-top: 7px; line-height: 1.75; }
.nl { color: var(--ac); border-bottom: 1px dashed rgba(61, 86, 214, .4); }
.nl:hover { border-bottom-style: solid; }
.nsrc { display: inline-block; font-size: 11px; color: var(--muted); background: var(--bg); border-radius: 6px; padding: 2px 9px; margin-top: 8px; }
.nmeta a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.nmeta a:hover { color: var(--ac); }
.nsrc a { color: inherit; }
.nsrc a:hover { color: var(--ac); }
.ncredit { text-align: center; font-size: 11px; color: var(--faint); margin-top: 14px; }
.ncredit a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.ncredit a:hover { color: var(--ac); }
.nitem::after { content: ""; display: block; clear: both; }
.nfig { display: block; margin-top: 10px; }
/* 配图原比例自适应、只缩不放（源图多为 640px 宽，竖长图限高等比缩窄），不裁切不放大。 */
.nfig img { max-width: 100%; max-height: 300px; width: auto; height: auto; border-radius: 10px; display: block; border: 1px solid var(--line); background: var(--bg); }
@media (max-width: 640px) { .nfig img { max-height: 240px; } }

/* 资讯详情页（/news/a/{id}/ 虚拟路由） */
.ndetail { padding: 22px 24px; }
.ndetail h1 { font-size: 20px; font-weight: 900; line-height: 1.5; margin-top: 10px; }
.ndetail .nmeta { margin-top: 10px; }
.ndetail .nfig { margin-top: 16px; }
.ndetail .nfig img { max-height: 520px; }
.ndetail .nlead { font-size: 14px; line-height: 1.9; color: var(--body); margin-top: 16px; }
.ndetail .nactions { margin-top: 18px; }
.ndetail .nactions .btn-ac { display: inline-flex; }
.ndetail .ncredit { text-align: left; margin-top: 18px; padding-top: 12px; border-top: 1px solid var(--hair); }

/* ------------------------------------------------------------------------------
 * 深色 CTA .cta-dark（交接首页「本周在看什么」等深底行动卡）
 * 深底上的链接 / 强调文字一律 var(--ac-on-ink)，勿用 --ac。
 * ------------------------------------------------------------------------------ */
.cta-dark { background: var(--ink); border-radius: 16px; padding: 22px 24px; color: #fff; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.cta-dark .cd-tx { flex: 1; min-width: 200px; }
.cta-dark h3 { font-size: 16px; font-weight: 900; }
.cta-dark p { font-size: 12.5px; color: rgba(255, 255, 255, .62); margin-top: 4px; line-height: 1.7; }
.cta-dark a.cd-link { color: var(--ac-on-ink); }
.cta-dark a.cd-link:hover { color: #fff; }
.cta-dark .btn-ac { flex: none; }

/* ==============================================================================
 * 以下为交接组件（design_handoff_mbaitools_redesign/README.md），
 * 视觉已改用本文件令牌重写。class 命名为本次新定，模板 agent 按注释使用。
 * ============================================================================== */

/* ------------------------------------------------------------------------------
 * 榜单排名列表 .rk（single-mbai_ranking）
 * <div class="rk">
 *   <div class="rk-item rk-champ">          ← 冠军卡：主色浅渐变底 + 缎带 + 大奖牌
 *     <span class="rk-ribbon">编辑首选</span>
 *     <span class="rk-medal lg">1</span>
 *     <span class="fav">…</span>
 *     <div class="rk-tx"><b>工具名</b><small>一句话点评</small></div>
 *     <span class="rate">…评分…</span>
 *   </div>
 *   <a class="rk-item"><span class="rk-medal m2">2</span>…</a>   ← 前 3 实心奖牌
 *   <a class="rk-item"><span class="rk-medal m4">4</span>…</a>   ← 4–5 描边奖牌
 * </div>
 * 评分标准权重胶囊（40/35/25）：<div class="rk-weights"><span class="pill">40% 输出可直接交付</span>…</div>
 * ------------------------------------------------------------------------------ */
.rk { display: flex; flex-direction: column; gap: 12px; }
.rk-item { display: flex; gap: 14px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; transition: border-color .15s, box-shadow .15s; }
.rk-item:hover { border-color: var(--ac); box-shadow: 0 8px 20px rgba(23, 26, 33, .06); }
.rk-champ { position: relative; background: linear-gradient(135deg, #EDF0FE 0%, #FFF 70%); border-color: #C9D3F5; padding: 20px; }
.rk-ribbon { position: absolute; top: -1px; right: 18px; background: var(--ac); color: #fff; font-size: 10.5px; font-weight: 700; padding: 3px 10px; border-radius: 0 0 8px 8px; }
.rk-medal { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-family: "Space Grotesk", sans-serif; font-size: 14px; font-weight: 700; }
.rk-medal.lg { width: 46px; height: 46px; font-size: 17px; background: var(--ac); color: #fff; }
/* 前 3 名实心奖牌：冠军主色、2/3 墨色；4–5 名描边奖牌。 */
.rk-medal.m1 { background: var(--ac); color: #fff; }
.rk-medal.m2, .rk-medal.m3 { background: var(--ink); color: #fff; }
.rk-medal.m4, .rk-medal.m5 { background: var(--card); color: var(--body); border: 1.5px solid var(--line); }
.rk-tx { min-width: 0; flex: 1; }
.rk-tx b { display: block; font-size: 15px; font-weight: 900; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rk-tx small { display: block; font-size: 12px; color: var(--muted); margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rk-item:hover .rk-tx b { color: var(--ac); }
.rk-weights { display: flex; gap: 6px; flex-wrap: wrap; margin: 10px 0 18px; }

/* ------------------------------------------------------------------------------
 * 评分控件
 * 中文版（zh）：5 星带半星，overflow 宽度裁剪法，支持任意小数。
 * <span class="rate">
 *   <span class="stars">
 *     <span class="stars-bg">5 × <svg><use href="#i-star-fill"/></svg></span>
 *     <span class="stars-fg" style="width:94%">5 × 同上</span>   ← width = 分/5×100
 *   </span>
 *   <b class="score">4.7</b>
 * </span>
 * 英文版（en）：不用星，用进度条（width = 分×10%，如 4.7 → 47%）。
 * <span class="rate"><span class="ratebar"><i style="width:94%"></i></span><b class="score">4.7</b></span>
 * 大尺寸（详情页 hero）：.stars.lg
 * ------------------------------------------------------------------------------ */
.rate { display: inline-flex; align-items: center; gap: 7px; flex: none; }
.rate .score { font-family: "Space Grotesk", sans-serif; font-size: 13px; font-weight: 700; color: var(--ink); }
.stars { position: relative; display: inline-flex; line-height: 0; vertical-align: middle; }
.stars-bg { display: inline-flex; gap: 1px; color: var(--star-empty); }
.stars-fg { position: absolute; inset: 0; display: inline-flex; gap: 1px; color: var(--star); overflow: hidden; white-space: nowrap; }
.stars svg { width: 14px; height: 14px; }
.stars.lg svg { width: 18px; height: 18px; }
.ratebar { width: 120px; height: 6px; border-radius: 3px; background: #EEF0F4; overflow: hidden; }
.ratebar i { display: block; height: 100%; background: var(--ac); border-radius: 3px; }

/* ------------------------------------------------------------------------------
 * 教程组件（single-mbai_guide）
 * 编号步骤：复用上方 .steps（counter 自动 01/02/03 徽章）。
 * .prompt = 深色提示词框（可直接复制的 prompt）。深底文字 #E9EBF2，
 *   标签用 --ac-on-ink：<div class="prompt"><span class="p-lb">提示词</span>…</div>
 * .pitfall = 避坑橙框：<div class="pitfall"><b>避坑</b>…</div>
 * ------------------------------------------------------------------------------ */
.prompt { position: relative; background: var(--ink); color: #E9EBF2; border-radius: 10px; padding: 14px 16px; font-size: 12.5px; line-height: 1.85; margin: 10px 0; }
.prompt .p-lb { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .08em; color: var(--ac-on-ink); margin-bottom: 6px; }
.prompt code { font-family: inherit; color: #fff; }
.pitfall { background: var(--orange-soft); border: 1px solid #F5E3C8; border-radius: 10px; padding: 12px 16px; font-size: 12.5px; color: var(--body); line-height: 1.8; margin: 10px 0; }
.pitfall b { color: var(--orange); }

/* ------------------------------------------------------------------------------
 * 资讯关键数据条 .ndata（single-mbai_news，3 个关键数字：0.3s / -80% / 50+）
 * <div class="ndata">
 *   <div class="nd"><b>0.3s</b><small>平均响应时间</small></div> …
 * </div>
 * ------------------------------------------------------------------------------ */
.ndata { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; margin: 16px 0; }
.ndata .nd { background: var(--bg); border-radius: 10px; padding: 13px 15px; }
.ndata .nd b { display: block; font-family: "Space Grotesk", sans-serif; font-size: 20px; font-weight: 700; color: var(--ac); letter-spacing: -.01em; }
.ndata .nd small { display: block; font-size: 11px; color: var(--muted); margin-top: 3px; line-height: 1.5; }

/* ------------------------------------------------------------------------------
 * 搜索控制台 .finder（search.php，深色 FINDER masthead）
 * <div class="finder">
 *   <span class="fk">FINDER</span><h1>搜索工具</h1>
 *   <form class="fs">…大搜索框…</form>
 *   <div class="fe"><a class="on">站内</a><a>Bing</a>…</div>      ← 多源引擎切换
 *   <div class="ff">
 *     <select>…分类/场景/平台/价格…</select>
 *     <span class="fchipd">免费可用 ×</span>                        ← 当前筛选 chips
 *     <a class="fclear">清除全部</a>
 *   </div>
 * </div>
 * 深底规矩：强调文字 / 链接用 --ac-on-ink；select 的 option 显式回深色文字防白字。
 * ------------------------------------------------------------------------------ */
.finder { background: var(--ink); border-radius: 16px; padding: 24px 24px 20px; color: #fff; }
.finder .fk { font-family: "Space Grotesk", sans-serif; font-size: 10.5px; font-weight: 700; letter-spacing: .22em; color: var(--ac-on-ink); }
.finder h1 { font-size: 20px; font-weight: 900; margin-top: 6px; }
.finder .fs { display: flex; align-items: center; background: #fff; border-radius: 12px; padding: 5px 5px 5px 14px; margin-top: 16px; max-width: 560px; }
.finder .fs .ic { color: var(--muted); }
.finder .fs input { flex: 1; border: 0; outline: 0; font-size: 13.5px; font-family: inherit; background: transparent; color: var(--ink); }
.finder .fs button { border: 0; background: var(--ac); color: #fff; font-size: 13px; font-weight: 500; padding: 9px 22px; border-radius: 9px; cursor: pointer; font-family: inherit; }
.finder .fs button:hover { background: var(--ac-ink); }
.finder .fe { display: flex; gap: 4px; margin-top: 12px; flex-wrap: wrap; }
.finder .fe a { font-size: 12px; color: rgba(255, 255, 255, .62); padding: 4px 12px; border-radius: 99px; }
.finder .fe a.on { color: #fff; font-weight: 600; background: rgba(255, 255, 255, .14); }
.finder .fe a:hover { color: #fff; }
.finder .ff { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .12); }
.finder .ff select { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); color: #fff; border-radius: 9px; padding: 6px 10px; font-size: 12px; font-family: inherit; }
.finder .ff select option { color: var(--ink); }
.finder .fchipd { display: inline-flex; align-items: baseline; gap: 5px; font-size: 12px; color: #fff; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .18); border-radius: 99px; padding: 4px 12px; }
.finder .fclear { margin-left: auto; font-size: 12px; color: var(--ac-on-ink); }
.finder .fclear:hover { color: #fff; }

/* ------------------------------------------------------------------------------
 * 404 页 .nf（404.php）
 * <div class="nf">
 *   <span class="nf-k">404 / LOST ROUTE</span>
 *   <div class="nf-code">4<svg><use href="#logo-mark"/></svg>4</div>   ← logo 火花标代 0
 *   <h1>这个页面没有找到</h1>
 *   <p class="nf-sub">…</p>
 *   <form class="nf-search">…</form>
 *   <div class="nf-actions"><a class="btn-ink">返回首页</a><a class="btn-ol">报告失效链接</a></div>
 *   <div class="nf-cats"><a class="scene">写文章</a>…</div>            ← 热门分类，复用 .scene
 *   <div class="nf-tools grid5">…3 张推荐工具卡 .tcard…</div>          ← 复用工具卡
 * </div>
 * ------------------------------------------------------------------------------ */
.nf { max-width: 620px; margin: 0 auto; text-align: center; padding: 36px 0 8px; }
.nf .nf-k { font-family: "Space Grotesk", sans-serif; font-size: 11px; font-weight: 700; letter-spacing: .24em; color: var(--ac); }
.nf .nf-code { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 8px 0 4px; font-family: "Space Grotesk", sans-serif; font-size: 92px; font-weight: 700; line-height: 1; color: var(--ink); letter-spacing: -.02em; }
.nf .nf-code svg { width: 72px; height: 72px; }
.nf h1 { font-size: 20px; font-weight: 900; }
.nf .nf-sub { font-size: 13px; color: var(--muted); margin-top: 8px; line-height: 1.8; }
.nf .nf-search { margin: 18px auto 0; max-width: 460px; display: flex; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 5px 5px 5px 14px; }
.nf .nf-search .ic { color: var(--muted); }
.nf .nf-search input { flex: 1; border: 0; outline: 0; font-size: 13.5px; font-family: inherit; background: transparent; color: var(--ink); }
.nf .nf-search button { border: 0; background: var(--ac); color: #fff; font-size: 13px; font-weight: 500; padding: 9px 22px; border-radius: 9px; cursor: pointer; font-family: inherit; }
.nf .nf-search button:hover { background: var(--ac-ink); }
.nf .nf-actions { display: flex; justify-content: center; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.nf .nf-cats { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-top: 22px; }
.nf .nf-tools { margin-top: 26px; text-align: left; }

/* ------------------------------------------------------------------------------
 * 表单控件 .field（page-submit-tool 提交工具页等）
 * <div class="field"><label>名称 <b class="req">*</b></label><input type="text"><p class="hint">…</p></div>
 * ------------------------------------------------------------------------------ */
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 12.5px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.field .req { color: var(--rose); }
.field input[type="text"], .field input[type="url"], .field input[type="email"], .field input[type="number"], .field select, .field textarea { width: 100%; background: #fff; border: 1px solid var(--line); border-radius: 9px; padding: 9px 12px; font-size: 13px; font-family: inherit; color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--ac); box-shadow: 0 0 0 3px rgba(61, 86, 214, .12); }
.field textarea { min-height: 110px; resize: vertical; }
.field .hint { font-size: 11.5px; color: var(--muted); margin-top: 5px; }

/* ------------------------------------------------------------------------------
 * 响应式主断点 960px
 * ------------------------------------------------------------------------------ */
@media (max-width: 960px) {
  /* 骨架：侧栏与顶部导航退场，主区单列 */
  .shell { grid-template-columns: minmax(0, 1fr); }
  .sidebar { display: none; }
  .nav { display: none; }
  .topbar-in { gap: 12px; padding: 0 14px; }
  .main { padding: 16px 14px 40px; }

  /* 首页组件 */
  .grid5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .entries { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cols3 { grid-template-columns: minmax(0, 1fr); }
  .hero { padding: 24px 16px 18px; }
  .hero h1 { font-size: 21px; }
  .ticker { margin: 0 -16px; }
  .hub { grid-template-columns: minmax(0, 1fr); }
  .hub-tabs { flex-direction: row; border-right: 0; border-bottom: 1px solid var(--hair); padding-right: 0; padding-bottom: 12px; }
  .hub-banners, .hub-covers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-in { grid-template-columns: minmax(0, 1fr); gap: 24px; }

  /* 内页组件 */
  .tplay { grid-template-columns: minmax(0, 1fr); }
  .fgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .duo { grid-template-columns: minmax(0, 1fr); }
  .fcard { grid-template-columns: minmax(0, 1fr); }
  .hero-card { flex-wrap: wrap; }
  .hero-card .visit { margin-left: 0; }
  .art { padding: 20px 18px; }
  .pn { grid-template-columns: minmax(0, 1fr); }
  .pn .next { text-align: left; }
  .art .body .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  /* 交接组件 */
  .rk-item { flex-wrap: wrap; }
  .finder .fclear { margin-left: 0; width: 100%; }
  .nf .nf-code { font-size: 64px; }
  .nf .nf-code svg { width: 52px; height: 52px; }
}

/* FAQ（工具详情页） */
.faq-item { border-top: 1px solid var(--hair); padding: 10px 0; }
.faq-item:first-of-type { border-top: 0; }
.faq-item summary { font-size: 13.5px; font-weight: 600; cursor: pointer; list-style: none; position: relative; padding-right: 26px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; position: absolute; right: 4px; top: -1px; font-family: 'Space Grotesk', sans-serif; font-weight: 600; color: var(--faint); font-size: 16px; }
.faq-item[open] summary::after { content: '−'; }
.faq-item summary:hover { color: var(--ac); }
.faq-item p { font-size: 13px; color: var(--body); line-height: 1.8; margin: 8px 0 2px; }

/* hub 项目组封面：图标坐底 */
.cv-fav { display: grid; place-items: center; }
.cv-fav img { width: 56px; height: 56px; object-fit: contain; }

/* ------------------------------------------------------------------------------
 * 模型排行榜（page-models.php）
 * .podium = TOP 3 渐变领奖台（概念封面同套渐变：p1 靛紫 / p2 蓝青 / p3 橙玫），
 *   水印名次 + 大 Tokens 数（Space Grotesk）+ 相对第 1 名的白条。
 * .ltable = 全量榜（第 4 名起）：厂商字母块 .lmono（6 色按 author 哈希）+
 *   Tokens 比例条 .lbar + ▲▼ 日变化 + 吸顶表头；移动端横向滚动。
 * ------------------------------------------------------------------------------ */
.podium { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.pcard { position: relative; overflow: hidden; border-radius: 14px; padding: 18px; color: #fff; min-height: 196px; display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s; }
.pcard:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(23, 26, 33, .12); }
.pcard.p1 { background: linear-gradient(135deg, #4F46E5, #8B5CF6); }
.pcard.p2 { background: linear-gradient(135deg, #2563EB, #06B6D4); }
.pcard.p3 { background: linear-gradient(135deg, #EA580C, #F43F5E); }
.pcard .pno { position: absolute; right: 8px; top: -20px; font-family: "Space Grotesk", sans-serif; font-size: 112px; font-weight: 700; line-height: 1; opacity: .15; pointer-events: none; }
.pcard .prow { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.pcard .prk { font-family: "Space Grotesk", sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .08em; background: rgba(255, 255, 255, .22); border-radius: 99px; padding: 3px 10px; }
.pcard .pchg { font-size: 11.5px; font-weight: 700; background: rgba(255, 255, 255, .22); border-radius: 99px; padding: 3px 10px; }
.pcard .pchg.up::before { content: '▲ '; font-size: 8px; }
.pcard .pchg.down::before { content: '▼ '; font-size: 8px; }
.pcard .pnm { font-size: 19px; font-weight: 900; display: block; }
.pcard .psl { font-size: 11px; color: rgba(255, 255, 255, .66); margin-top: 2px; word-break: break-all; display: block; }
.pcard .phead { display: flex; align-items: center; gap: 10px; margin-top: 12px; min-width: 0; }
.pcard .plogo { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: rgba(255, 255, 255, .94); flex: none; }
.pcard .plogo img { width: 22px; height: 22px; object-fit: contain; border-radius: 4px; }
.pcard .ptk { margin-top: auto; padding-top: 14px; font-family: "Space Grotesk", sans-serif; font-size: 30px; font-weight: 700; line-height: 1; display: flex; align-items: baseline; gap: 8px; }
.pcard .ptk small { font-size: 11px; font-weight: 500; color: rgba(255, 255, 255, .66); }
.pcard .pbar { display: block; height: 4px; border-radius: 99px; background: rgba(255, 255, 255, .22); margin-top: 10px; overflow: hidden; }
.pcard .pbar i { display: block; height: 100%; background: #fff; border-radius: 99px; }
.pcard .pmt { font-size: 11px; color: rgba(255, 255, 255, .72); margin-top: 8px; }

.ltable-box { padding: 8px 0 12px; margin-top: 16px; }
.lsec { display: flex; align-items: baseline; gap: 8px; padding: 12px 16px 2px; }
.lsec b { font-size: 14px; font-weight: 900; }
.lsec span { font-size: 11.5px; color: var(--muted); }
.ltable-wrap { overflow-x: auto; }
.ltable { width: 100%; border-collapse: collapse; font-size: 13px; }
.ltable th { position: sticky; top: 0; z-index: 2; background: #fff; font-size: 11px; font-weight: 600; letter-spacing: .04em; color: var(--muted); text-align: left; padding: 8px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.ltable td { padding: 9px 12px; border-bottom: 1px solid var(--hair); vertical-align: middle; }
.ltable tbody tr:hover { background: var(--bg); }
.ltable .lr { width: 44px; }
.ltable .ln { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ltable .ltk { min-width: 96px; }
.lrank { display: inline-block; min-width: 22px; text-align: center; font-weight: 700; font-size: 12px; color: var(--muted); background: var(--bg); border-radius: 7px; padding: 3px 6px; }
.lcell { display: flex; align-items: center; gap: 10px; min-width: 0; }
.lmono { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; font-size: 12px; font-weight: 700; flex: none; }
.lmono.img { background: #fff; border: 1px solid var(--line); }
.lmono.img img { width: 18px; height: 18px; object-fit: contain; border-radius: 4px; }
.lmono.t0 { background: var(--ink); color: #fff; }
.lmono.t1 { background: var(--ac-soft); color: var(--ac); }
.lmono.t2 { background: var(--green-soft); color: var(--green); }
.lmono.t3 { background: var(--orange-soft); color: var(--orange); }
.lmono.t4 { background: var(--rose-soft); color: var(--rose); }
.lmono.t5 { background: #E9EBF2; color: #475569; }
.lmodel { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.lmodel b { font-size: 13.5px; font-weight: 700; color: var(--ink); }
.lmodel small { font-size: 11px; color: var(--faint); }
.lvar { display: inline-block; width: fit-content; font-size: 10px; font-weight: 600; color: var(--ac); background: var(--ac-soft); border-radius: 99px; padding: 1px 8px; margin-top: 2px; }
.lbar { display: block; height: 3px; border-radius: 99px; background: var(--hair); margin-top: 4px; }
.lbar i { display: block; height: 100%; background: var(--ac); border-radius: 99px; }
.lchg { font-weight: 700; font-size: 12px; }
.lchg.up { color: var(--green); }
.lchg.down { color: var(--rose); }
.lchg.up::before { content: '▲ '; font-size: 8px; }
.lchg.down::before { content: '▼ '; font-size: 8px; }
.lnote { font-size: 11.5px; color: var(--muted); padding: 10px 16px 0; }
.llink { color: var(--ink); }
.llink:hover b { color: var(--ac); }
.plink { color: #fff; }
.plink:hover .pnm { text-decoration: underline; }

/* 榜单骨架屏 .lskel：452KB 全量行流式下载期间先出占位（排名圆点 + 名称两行 +
   数值条，呼吸脉冲），只挂在 .is-loading 下；行解析完由内联脚本撤 class，
   无 JS 时 noscript 兜底直放真实榜。行本体始终在原始 HTML 里，SEO 无影响。 */
.lskel { display: none; }
.ltable-box.is-loading .lskel { display: block; }
.ltable-box.is-loading .ltable tbody { display: none; }
.lsk-row { display: flex; align-items: center; gap: 14px; padding: 13px 12px; border-bottom: 1px solid var(--hair); }
.lsk-c { width: 30px; height: 30px; border-radius: 8px; background: var(--bg); flex: none; }
.lsk-lines { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 7px; }
.lsk-lines i { display: block; height: 11px; border-radius: 6px; background: var(--bg); width: 34%; }
.lsk-lines i:last-child { width: 22%; height: 9px; }
.lsk-n { width: 72px; height: 13px; border-radius: 7px; background: var(--bg); flex: none; }
.lsk-c, .lsk-lines i, .lsk-n { animation: lsk-pulse 1.5s ease-in-out infinite; }
.lsk-row:nth-child(3n) .lsk-c, .lsk-row:nth-child(3n) .lsk-lines i, .lsk-row:nth-child(3n) .lsk-n { animation-delay: .22s; }
.lsk-row:nth-child(3n+1) .lsk-c, .lsk-row:nth-child(3n+1) .lsk-lines i, .lsk-row:nth-child(3n+1) .lsk-n { animation-delay: .4s; }
.lsk-row:nth-child(4n) .lsk-lines i:first-child { width: 27%; }
.lsk-row:nth-child(5n) .lsk-lines i:first-child { width: 41%; }
@keyframes lsk-pulse { 0%, 100% { opacity: .45; } 50% { opacity: 1; } }
/* 每行 4 个数值条（span 位 3-6），移动端只留第 1 个（位 3），藏 4-6 位。 */
@media (max-width: 700px) { .lsk-n:nth-of-type(n+4) { display: none; } .lsk-n { width: 54px; } }
@media (prefers-reduced-motion: reduce) { .lsk-c, .lsk-lines i, .lsk-n { animation: none; } }

/* 模型详情页（page-model.php，虚拟路由 /models/{author}/{slug}/） */
.mtags { display: flex; gap: 6px; flex-wrap: wrap; }
.mtag { font-size: 11.5px; font-weight: 600; color: var(--body); background: var(--bg); border: 1px solid var(--line); border-radius: 99px; padding: 4px 12px; }
.model-profile-page .hero-card .fav img { width: 36px; height: 36px; object-fit: contain; }
.model-profile-page .visit .btn-ac { background: var(--ac); color: #fff; font-size: 12.5px; font-weight: 500; padding: 8px 14px; border-radius: 9px; display: inline-flex; gap: 5px; align-items: center; border: 1px solid var(--ac); }
.model-profile-page .visit .btn-ac:hover { background: var(--ac-ink); border-color: var(--ac-ink); }

@media (max-width: 960px) {
  .podium { grid-template-columns: minmax(0, 1fr); }
  .pcard { min-height: 0; }
}
