/* 301Windows多功能电脑工具箱官网样式
   设计语言：技术精密风（Technical Precision）。
   以克制的蓝色为主调，叠加细网格 / 噪点纹理、等宽字体标签、精密分层的
   细边框与微阴影，配合克制的微动效，营造「精密仪器面板」的工程质感。 */
:root {
    --blue: #2563EB;          /* 主色 */
    --blue-deep: #1D4ED8;     /* 深蓝 / 强调 */
    --blue-hi: #3B82F6;       /* 亮蓝 / 悬浮 */
    --blue-soft: #EAF1FF;     /* 极浅蓝底 */
    --accent: #0891B2;        /* 技术青：次级强调色 */
    --accent-soft: #E0F5FA;   /* 技术青浅底 */
    --ink: #16202E;           /* 正文 */
    --ink-2: #4C5B70;         /* 次级 */
    --ink-3: #8895A8;         /* 弱化 */
    --line: #E4EAF1;          /* 分割线 */
    --line-2: #CFD9E4;        /* 输入框边框 */
    --bg: #F6F8FB;            /* 页面底色 */
    --bg-2: #EDF2F8;          /* 次级底 */
    --card: #ffffff;
    --err: #DC2626;
    --ok: #16A34A;
    --warn: #D97706;
    --radius: 10px;
    --radius-sm: 7px;
    --radius-btn: 7px;
    --mono: "JetBrains Mono", "SFMono-Regular", "SF Mono", Menlo, Consolas, "Liberation Mono", "Courier New", monospace;
    --sans: "Microsoft YaHei", "PingFang SC", system-ui, -apple-system, "Segoe UI", sans-serif;
    --grid-line: rgba(37, 99, 235, .05);   /* 细网格线颜色 */
    --noise-op: .028;                      /* 噪点纹理透明度 */
    --shadow-sm: 0 1px 2px rgba(16, 26, 40, .05), 0 1px 3px rgba(16, 26, 40, .04);
    --shadow-md: 0 10px 28px rgba(23, 45, 84, .09), 0 2px 7px rgba(16, 26, 40, .05);
    --shadow-line: inset 0 1px 0 rgba(255, 255, 255, .6);
}

/* ---------- 深色主题 ---------- */
:root[data-theme="dark"] {
    --blue: #60A5FA;          /* 亮蓝 */
    --blue-deep: #93C5FD;
    --blue-hi: #38BDF8;
    --blue-soft: #1E2B4A;     /* 深蓝底 */
    --accent: #22D3EE;
    --accent-soft: #10333D;
    --ink: #E6EBF5;
    --ink-2: #AEB9CE;
    --ink-3: #6E7A90;
    --line: #26324A;
    --line-2: #35435F;
    --bg: #0E1421;            /* 深底 */
    --bg-2: #172033;          /* 次级深底 */
    --card: #182135;
    --err: #F87171;
    --ok: #4ADE80;
    --warn: #FBBF24;
    --grid-line: rgba(96, 165, 250, .06);
    --noise-op: .04;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .35);
    --shadow-md: 0 12px 30px rgba(0, 0, 0, .5);
    --shadow-line: inset 0 1px 0 rgba(255, 255, 255, .04);
}
:root[data-theme="dark"] body { background: var(--bg); }
:root[data-theme="dark"] .topbar { background: var(--card); }
:root[data-theme="dark"] .mock-dots i:first-child { background: #e56b63; }
:root[data-theme="dark"] .mock-dots i:nth-child(2) { background: #e0a34d; }
:root[data-theme="dark"] .mock-dots i:nth-child(3) { background: #5fbf6b; }
:root[data-theme="dark"] ::-webkit-scrollbar-thumb { background: #39424d; background-clip: content-box; }
:root[data-theme="dark"] ::-webkit-scrollbar-thumb:hover { background-color: #4a5561; }
:root[data-theme="dark"] .page-loading { background: var(--bg); }
:root[data-theme="dark"] .loader-text { color: var(--ink-3); }
:root[data-theme="dark"] .sup-item:hover { background: var(--card); }
:root[data-theme="dark"] .fb-reply { background: rgba(102, 187, 106, .1); }
:root[data-theme="dark"] .u-table tbody tr:nth-child(even) { background: rgba(255, 255, 255, .02); }
:root[data-theme="dark"] .uc-empty, :root[data-theme="dark"] .btn-ghost { background: transparent; }
:root[data-theme="dark"] .tag-bug {
    background: rgba(255, 138, 128, .12); color: #ff8a80;
}
:root[data-theme="dark"] .st0,
:root[data-theme="dark"] .adm-status.st0, :root[data-theme="dark"] .dl-xp .dl-os {
    background: rgba(224, 163, 77, .12); color: #ffb74d;
}
:root[data-theme="dark"] .nav .nav-ghost:hover, :root[data-theme="dark"] .btn-danger:hover { background: rgba(255, 138, 128, .1); }
:root[data-theme="dark"] .nav-toggle:hover { border-color: #4a5561; }
:root[data-theme="dark"] .tag-other, :root[data-theme="dark"] .st2, :root[data-theme="dark"] .adm-status.st2 { background: rgba(102, 187, 106, .1); }
:root[data-theme="dark"] .db-warn { background: rgba(224, 163, 77, .1); }
:root[data-theme="dark"] .uc-avatar,
:root[data-theme="dark"] .uc-avatar-preview, :root[data-theme="dark"] .nav-avatar,
:root[data-theme="dark"] .cmt-avatar, :root[data-theme="dark"] .u-av { background: var(--bg-2); }
:root[data-theme="dark"] .uc-info-item,
:root[data-theme="dark"] .uc-stat,
:root[data-theme="dark"] .uc-rank-item,
:root[data-theme="dark"] .fb-stat-item,
:root[data-theme="dark"] .adm-content { background: var(--bg); }
:root[data-theme="dark"] .fb-stat-num b { color: var(--blue); }
:root[data-theme="dark"] .fb-stat-num span { color: var(--ink-3); }
:root[data-theme="dark"] .fb-ic-bug { background: rgba(255, 138, 128, .12); color: #ff8a80; }
:root[data-theme="dark"] .fb-ic-feat { background: var(--blue-soft); color: var(--blue); }
:root[data-theme="dark"] .fb-ic-done { background: rgba(102, 187, 106, .1); color: var(--ok); }
:root[data-theme="dark"] .fb-item:hover { border-color: var(--blue); }
:root[data-theme="dark"] .fb-type-opt span { border-color: var(--line); }
:root[data-theme="dark"] .fb-count.over b { color: var(--err); }
:root[data-theme="dark"] .hero-badge { border-color: rgba(90, 167, 230, .35); }
:root[data-theme="dark"] .btn-primary:disabled { background: #2e3a48; color: #8a94a0; }
:root[data-theme="dark"] .cmt-del { color: #5a626c; }
:root[data-theme="dark"] .field input:hover,
:root[data-theme="dark"] .field textarea:hover,
:root[data-theme="dark"] .field select:hover,
:root[data-theme="dark"] .btn-plain:hover,
:root[data-theme="dark"] .fb-cmt-input:hover { border-color: #3a444f; }

/* ---------- 深浅色切换按钮 ---------- */
.theme-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 32px; height: 32px; margin-left: 8px;
    border: 1px solid var(--line); border-radius: 8px; background: var(--card);
    color: var(--ink-2); cursor: pointer;
    transition: border-color .15s, color .15s, background .15s;
}
.theme-toggle:hover { border-color: var(--blue); color: var(--blue); }
.theme-toggle svg { stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.theme-toggle .ic-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .ic-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .ic-moon { display: none; }
.theme-toggle .ic-moon { fill: currentColor; stroke: none; }

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
/* 导航栏锚点链接改为瞬时跳转，避免点击后页面突然滚到底部 */
.topbar nav a[href*='#'], .nav-toggle { scroll-behavior: auto; }

body {
    font: 14px/1.75 var(--sans);
    color: var(--ink);
    background: var(--bg);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

/* 文本选中：统一为蓝色，与主色一致 */
::selection { background: rgba(22, 45, 78, .18); }
:root[data-theme="dark"] ::selection { background: rgba(90, 167, 230, .25); }

/* 细滚动条：浅色、悬浮加深，贴合扁平主题（仅 WebKit / Chromium） */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: #c6cfd9; border-radius: 6px; border: 2px solid transparent; background-clip: content-box; }
::-webkit-scrollbar-thumb:hover { background-color: #aeb9c5; }
::-webkit-scrollbar-track { background: transparent; }

.container { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* ---------- 加载遮罩 ----------
   彗尾弧线转圈，与软件内加载动画同款风格；
   纯 CSS 兜底：即使 JS 出错，遮罩也会在 1.2s 后自动淡出并禁用点击。 */
.page-loading {
    position: fixed; inset: 0; z-index: 99;
    background: var(--bg);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 16px;
    animation: auto-dismiss .5s ease 1.2s forwards;
}
@keyframes auto-dismiss {
    to { opacity: 0; visibility: hidden; pointer-events: none; }
}
.page-loading.hide { opacity: 0; visibility: hidden; pointer-events: none; animation: none; }
.loader-ring {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: conic-gradient(from 90deg, rgba(43, 143, 214, 0) 0deg, var(--blue-hi) 300deg, var(--blue) 360deg);
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3px));
    mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3px));
    animation: spin .9s linear infinite;
}
.loader-text { color: var(--ink-3); letter-spacing: 5px; font-size: 12.5px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- 顶栏 ---------- */
.topbar {
    background: var(--card);
    border-bottom: 1px solid var(--line);
    position: sticky; top: 0; z-index: 10;
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 58px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand-logo { width: 30px; height: 30px; display: block; flex-shrink: 0; }
.brand-name { font-size: 15px; font-weight: 600; transition: color .15s; }
.brand:hover .brand-name { color: var(--blue); }

/* 移动端汉堡按钮（宽屏隐藏） */
.nav-toggle {
    display: none; width: 40px; height: 34px; padding: 0;
    border: 1px solid var(--line); border-radius: 8px; background: var(--card);
    cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
}
.nav-toggle:hover { border-color: #c8d2dd; }
.nav-toggle span { display: block; width: 16px; height: 2px; border-radius: 1px; background: var(--ink-2); transition: transform .18s, opacity .18s; }
.nav-toggle.on span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.on span:nth-child(2) { opacity: 0; }
.nav-toggle.on span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a, .nav .nav-user {
    padding: 6px 13px; border-radius: var(--radius-sm); color: var(--ink-2); font-size: 14px;
    transition: color .15s, background .15s;
}
.nav a:hover { background: var(--bg); text-decoration: none; color: var(--ink); }
/* 选中项：浅蓝胶囊 + 蓝字（现代导航高亮，不用下划线） */
.nav a.on {
    color: var(--blue); background: var(--blue-soft); font-weight: 600;
}
.nav .nav-user { color: var(--ink); font-weight: 600; }
.nav .nav-user.on { color: var(--blue); }
.nav .nav-ghost { color: var(--ink-3); }
.nav .nav-ghost:hover { color: var(--err); background: #fdecea; }
/* 登录入口做成蓝色小胶囊，突出主操作 */
.nav .nav-login {
    background: var(--blue); color: #fff; font-weight: 600;
    border-radius: 16px; padding: 6px 18px; margin-left: 6px;
    transition: background .15s;
}
.nav .nav-login:hover { background: var(--blue-deep); color: #fff; }
.nav .nav-login.on { box-shadow: none; border-radius: 16px; }

main { min-height: 60vh; padding: 38px 0 56px; }

/* ---------- 首页 hero ---------- */
.hero {
    display: flex; gap: 48px; align-items: center; margin-bottom: 72px;
    position: relative;
    padding: 52px 44px;
    background: var(--card);
    border-radius: 16px;
    border: 1px solid var(--line);
    overflow: hidden;
}
.hero-left { flex: 1.1; min-width: 0; position: relative; z-index: 1; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 7px;
    font-size: 12.5px; font-weight: 600; color: var(--blue);
    background: var(--blue-soft); border: 1px solid #cfe3f6;
    border-radius: 6px; padding: 4px 13px; margin-bottom: 18px;
}
.hero-badge::before {
    content: ""; width: 7px; height: 7px; border-radius: 50%;
    background: var(--ok);
}
.hero-left h1 {
    font-size: 44px; line-height: 1.25; margin-bottom: 16px;
    letter-spacing: -.3px; font-weight: 700; color: var(--ink);
}
.hero-left h1 .hl { color: var(--blue); }
.hero-desc { color: var(--ink-2); margin-bottom: 28px; max-width: 490px; font-size: 15px; line-height: 1.85; }
.hero-actions { display: flex; gap: 12px; margin-bottom: 22px; }
.hero-stats { display: flex; gap: 26px; margin-bottom: 20px; }
.hero-stat { display: flex; flex-direction: column; }
.hero-stat + .hero-stat { padding-left: 26px; border-left: 1px solid var(--line); }
.hero-stat b { display: inline-block; transition: color .15s; }
.hero-stat:hover b { color: var(--blue); }
.hero-stat b { font-size: 22px; font-weight: 800; color: var(--ink); line-height: 1.3; }
.hero-stat span { font-size: 12px; color: var(--ink-3); margin-top: 2px; }
.hero-meta { color: var(--ink-3); font-size: 13px; }
.hero-meta b { color: var(--ink); }

/* 软件界面示意图（纯 CSS，不用图） */
.hero-right { flex: 1; min-width: 0; position: relative; z-index: 1; }
.hero-shot {
    margin: 0;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}
.hero-shot img { display: block; width: 100%; height: auto; }
.hero-shot figcaption {
    padding: 9px 14px;
    font-size: 12px;
    color: var(--muted);
    border-top: 1px solid var(--line);
    background: var(--bg-2);
    text-align: center;
}
.mock-window {
    background: var(--card); border: 1px solid var(--line); border-radius: 10px;
    overflow: hidden;
}
.mock-titlebar {
    display: flex; align-items: center; gap: 10px;
    padding: 11px 14px; border-bottom: 1px solid var(--line);
    background: var(--bg-2);
}
.mock-dots i {
    display: inline-block; width: 10px; height: 10px; border-radius: 50%;
    margin-right: 5px;
    box-shadow: inset 0 1px 2px rgba(0,0,0,.15);
}
.mock-dots i:first-child { background: #ff5f57; }
.mock-dots i:nth-child(2) { background: #febc2e; }
.mock-dots i:nth-child(3) { background: #28c840; }
.mock-title { font-size: 12px; color: var(--ink-3); }
.mock-body { display: flex; min-height: 234px; }
.mock-side {
    width: 100px; border-right: 1px solid var(--line);
    padding: 10px 0; background: var(--bg-2);
    flex-shrink: 0;
}
.mock-item {
    display: block; padding: 7px 14px; font-size: 12px; color: var(--ink-2);
    border-left: 3px solid transparent;
}
.mock-item.on { color: var(--blue); border-left-color: var(--blue); background: var(--blue-soft); font-weight: 600; }
.mock-main { flex: 1; padding: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 11px; align-content: start; }
.mock-card {
    border: 1px solid var(--line); border-radius: 6px; padding: 11px 12px;
    background: var(--card); box-shadow: 0 1px 3px rgba(22,45,78,.04);
}
.mock-card .mock-row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.mock-card label { font-size: 12px; color: var(--ink-3); }
.mock-card .mock-val { font-size: 12px; font-weight: 700; color: var(--ink); }
.mock-bar { height: 6px; background: var(--bg); border-radius: 3px; overflow: hidden; }
.mock-bar i { display: block; height: 100%; background: var(--blue-hi); border-radius: 3px; transition: width .9s ease; }
.mock-bar.warn i { background: #e8a33d; }

/* mock 窗口底部状态栏：模拟软件底部状态条，右上角显示"系统已激活" */
.mock-statusbar {
    display: flex; justify-content: space-between; align-items: center;
    padding: 8px 16px; border-top: 1px solid var(--line); background: var(--bg-2);
    font-size: 11.5px; color: var(--ink-3);
}
.mock-statusbar .ok-dot {
    display: inline-flex; align-items: center; gap: 6px;
    color: var(--ok); font-weight: 600;
}
.mock-statusbar .ok-dot::before {
    content: ""; width: 7px; height: 7px; border-radius: 50%;
    background: var(--ok);
}

/* ---------- 区块 ---------- */
.sec-title { font-size: 20px; font-weight: 700; letter-spacing: .3px; margin-bottom: 20px; position: relative; padding-left: 14px; }
.sec-title::before {
    content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
    width: 4px; height: 20px; background: var(--blue); border-radius: 2px;
}
.sec-title-sm { font-size: 17px; margin-bottom: 14px; position: relative; padding-left: 10px; }
.sec-title-sm::before {
    content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
    width: 4px; height: 14px; background: var(--blue); border-radius: 2px;
}
section { margin-bottom: 72px; }

.card {
    background: var(--card); border: 1px solid var(--line);
    border-radius: var(--radius); padding: 20px;
    box-shadow: var(--shadow-sm);
    transition: border-color .18s;
}

/* ---------- 功能一览：文档式分区面板（发丝分割线 + 深浅底纹，非等大卡片） ---------- */
.feat-panel {
    background: var(--card); border: 1px solid var(--line);
    border-radius: var(--radius); overflow: hidden;
    box-shadow: 0 2px 8px rgba(22,45,78,.04);
}
.feat-row { display: flex; gap: 16px; padding: 20px 24px; align-items: flex-start; transition: background .15s; border-left: 3px solid transparent; }
.feat-row + .feat-row { border-top: 1px solid var(--line); }
.feat-row:hover { background: var(--bg-2); border-left-color: var(--blue-hi); }
.feat-icon {
    width: 36px; height: 36px; border-radius: 8px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    background: var(--blue-soft);
}
.feat-icon svg { width: 18px; height: 18px; stroke: var(--blue); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.feat-body { flex: 1; min-width: 0; }
.feat-body h3 { font-size: 14.5px; margin-bottom: 4px; font-weight: 600; }
.feat-body p { color: var(--ink-2); font-size: 13px; line-height: 1.75; }

.two-col { display: flex; gap: 24px; }
.two-col .col { flex: 1; min-width: 0; }
.log-card .log-head { display: flex; justify-content: space-between; margin-bottom: 10px; }
.log-card .log-head b {
    background: var(--blue-soft); color: var(--blue);
    font-size: 13px; padding: 1px 10px; border-radius: 10px;
}
.log-card .log-head span { color: var(--ink-3); font-size: 13px; align-self: center; }
.log-body {
    font: 13px/1.9 Consolas, "Microsoft YaHei", monospace;
    color: var(--ink-2); white-space: pre-wrap; word-break: break-all;
}

.dl-card { text-align: center; padding: 28px 24px; position: relative; }
.dl-card:hover { border-color: var(--line-2); }
.dl-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.dl-wrap .dl-tip { grid-column: 1 / -1; text-align: center; }
.dl-os {
    display: inline-block; font-size: 11.5px; font-weight: 600; color: var(--blue);
    background: var(--blue-soft); border: 1px solid #cfe3f6;
    border-radius: 12px; padding: 1px 11px; margin-bottom: 10px;
}

/* ---------- XP 停更：归档卡片 ---------- */
/* XP 下载卡：顶部一条细琥珀色标记 + 最终版标签 */
.dl-xp { position: relative; border-color: #f0dcb6; }
.dl-xp::before {
    content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 3px;
    background: var(--warn); border-radius: var(--radius) var(--radius) 0 0;
}
/* 归档标签：琥珀色小徽章 */
.xp-final-tag {
    display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .5px;
    color: #b35a00; background: #fff8ee;
    border: 1px solid #ffcc80; border-left: 3px solid #e8a33d;
    border-radius: 10px; padding: 2px 10px; margin-bottom: 10px;
}
.dl-xp .dl-os { color: var(--warn); background: #fdf3e6; border-color: #f0dcb6; }
/* 归档说明行：雪花图标 + 小字 */
.xp-frozen {
    display: flex; align-items: center; justify-content: center; gap: 6px;
    font-size: 12px; color: var(--warn); margin: -6px 0 14px; line-height: 1.6;
}
.xp-frozen svg { flex-shrink: 0; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; }
:root[data-theme="dark"] .dl-xp { border-color: rgba(224, 163, 77, .35); }
:root[data-theme="dark"] .xp-final-tag { background: rgba(224, 163, 77, .12); color: #ffb74d; border-color: rgba(224, 163, 77, .35); }
:root[data-theme="dark"] .btn-xp { color: #ffb74d; border-color: rgba(224, 163, 77, .4); }
:root[data-theme="dark"] .btn-xp:hover { background: rgba(224, 163, 77, .1); border-color: #e0a34d; }

.dl-name { font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.dl-info { color: var(--ink-3); font-size: 13px; margin-bottom: 16px; }
.dl-tip { margin-top: 4px; font-size: 12px; color: var(--ink-3); line-height: 1.7; }
/* 主下载按钮加大：视觉上的第一主操作 */
.dl-card .btn-primary { padding: 12px 24px; font-size: 15px; }
/* ---------- 下载中心增强：卡片精致感 + 微阴影 + 悬浮升级 ---------- */
body.home .dl-wrap {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 20px;
    align-items: start;
}
body.home .dl-card {
    border-radius: 10px;
    padding: 26px 24px;
    background: #FFFFFF;
    transition: box-shadow .2s, border-color .2s;
    box-shadow: 0 1px 4px rgba(22,45,78,.05);
}
body.home .dl-card:hover {
    box-shadow: none;
    border-color: var(--blue);
}
body.home .dl-main {
    border: 1.5px solid var(--blue);
    background: #FFFFFF;
}
body.home .dl-main:hover {
    border-color: var(--blue-deep);
}
body.home .dl-xp {
    border: 1px solid #E8D9C4;
    background: #FDFCF8;
}
body.home .dl-name {
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -.2px;
    color: #1A2130;
    margin-bottom: 6px;
}
body.home .dl-xp .dl-name { font-size: 15px; }
body.home .dl-info { font-size: 12.5px; color: #8C98A8; margin-bottom: 14px; }
body.home .dl-safe {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 6px;
    margin-bottom: 12px;
}
body.home .safe-item {
    background: #EEF2F8; color: #5B6775; border-radius: 4px;
    font-size: 11.5px; padding: 2px 8px;
}
body.home .dl-note {
    background: #FFFBF2; border: 1px solid #F0DCC4; border-left: 3px solid #E8A33D;
    border-radius: 0; font-size: 11.5px; color: #8C6A1E; padding: 8px 12px;
    text-align: left; margin-bottom: 14px;
}
body.home .dl-tip { font-size: 12px; color: #8C98A8; text-align: center; margin-top: 10px; }
body.home .dl-tip a { color: var(--blue); text-decoration: none; }
body.home .dl-tip a:hover { text-decoration: underline; }
body.home .dl-card .btn-primary {
    background: var(--blue); border-radius: 7px; font-weight: 600; padding: 11px 20px;
    box-shadow: none;
}
body.home .dl-card .btn-primary:hover {
    background: var(--blue-deep); box-shadow: none;
}
body.home .dl-card .btn-xp {
    background: transparent;
    border: 1px solid #D4B87A;
    color: #8C6A1E;
    border-radius: 8px;
    font-weight: 600;
    padding: 11px 20px;
}
body.home .dl-card .btn-xp:hover {
    background: #FFF8EE;
    border-color: #B8923F;
    color: #6B4E0A;
}
body.home .rec-tag {
    background: var(--blue); color: #fff; border-radius: 5px;
    font-size: 11px; font-weight: 700; padding: 3px 10px;
    display: inline-block; margin-bottom: 12px;
}
body.home .xp-final-tag {
    background: #FFF8EE; color: #8C6A1E; border: 1px solid #E8D9C4; border-left: 3px solid #E8A33D;
    border-radius: 5px; font-size: 11px; font-weight: 700; padding: 3px 10px;
    display: inline-block; margin-bottom: 12px;
}
body.home .dl-os {
    border-radius: 5px; font-size: 11px; font-weight: 600;
    color: #3A4A63; background: #EEF2F8; border: 1px solid #DCE3ED;
    display: inline-block; padding: 2px 10px; margin-bottom: 10px;
}
body.home .xp-frozen {
    display: flex; align-items: center; justify-content: center; gap: 6px;
    font-size: 12px; color: #B8923F; margin: 6px 0 14px; line-height: 1.6;
}
body.home .xp-frozen svg { flex-shrink: 0; stroke: currentColor; fill: none; stroke-width: 1.6; }
/* 更新日志卡片 — 蓝左描边 + 微阴影 + 版本号胶囊高亮 */
body.home .log-card {
    border: 1px solid #E3E8F0;
    border-left: 3px solid var(--blue);
    border-radius: 0;
    background: transparent;
    padding: 22px 24px;
    box-shadow: 0 1px 4px rgba(22, 45, 78, .04);
    transition: box-shadow .2s;
}
body.home .log-card:hover {
    box-shadow: 0 4px 14px rgba(22, 45, 78, .08);
}
body.home .log-head {
    display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px;
    padding-bottom: 12px; border-bottom: 1px dashed #E3E8F0;
}
body.home .log-head b {
    background: var(--blue-soft);
    color: var(--blue);
    font-size: 13px; padding: 3px 12px; border-radius: 6px; font-weight: 700;
    box-shadow: none;
}
body.home .log-head span { color: #8C98A8; font-size: 12.5px; }
body.home .log-body {
    font: 13px/2 Consolas, "Microsoft YaHei", monospace;
    color: #5B6775; white-space: pre-wrap; word-break: break-all;
    background: #F8FAFC;
    border: 1px solid #EEF2F7;
    border-radius: 6px;
    padding: 14px 16px;
    margin: 0;
    position: relative;
}
body.home .log-body::before {
    content: "更新日志";
    position: absolute; top: -9px; left: 12px;
    font-size: 10px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase;
    color: var(--blue); background: #F8FAFC;
    padding: 0 6px;
}
/* 下载中心区块标题 */
body.home .two-col .sec-title { font-size: 22px; }

@media (max-width: 560px) {
    .dl-wrap { grid-template-columns: 1fr; }
}

.req-card ul { list-style: none; }
.req-card li {
    display: flex; padding: 10px 8px; border-bottom: 1px dashed var(--line);
    position: relative;
}
.req-card li:last-child { border-bottom: none; }
.req-card li:nth-child(even) { background: var(--bg-2); }
.req-card li::before {
    content: ""; position: absolute; left: 8px; top: 50%; transform: translateY(-50%);
    width: 4px; height: 14px; border-radius: 2px; background: transparent; transition: background .15s;
}
.req-card li:hover::before { background: var(--blue-hi); }
.req-card li b { width: 110px; color: var(--ink); flex-shrink: 0; font-weight: 600; }
.req-card li span { color: var(--ink-2); }

/* ---------- 支持的操作系统 ---------- */
.sup-card {
    display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px;
    padding: 24px 20px;
    background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
}
.sup-item {
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    padding: 20px 10px; border-radius: 10px; border: 1px solid var(--line);
    background: var(--bg); text-align: center;
    transition: border-color .18s, background .18s;
}
.sup-item:hover {
    border-color: #b9d3ec; background: #f8fbff;
}
:root[data-theme="dark"] .sup-item:hover {
    border-color: rgba(90,167,230,.35); background: rgba(22,45,78,.3);
}
.sup-item img { display: block; }
.sup-item .sup-logo { display: block; }
.sup-item b { font-size: 14px; color: var(--ink); }
.sup-item span { font-size: 12px; color: var(--ink-3); }
/* XP 已停更：图标降饱和 + 琥珀色小标记 */
.sup-xp-off { border-style: dashed; }
.sup-xp-off img { opacity: .6; filter: grayscale(.4); }
.sup-off-tag {
    font-style: normal; font-size: 11px; font-weight: 600; color: var(--warn);
    background: #fff3e0; border: 1px solid #ffcc80; border-radius: 9px; padding: 0 8px;
}
:root[data-theme="dark"] .sup-off-tag { background: rgba(224, 163, 77, .12); color: #ffb74d; border-color: rgba(224, 163, 77, .35); }
@media (max-width: 860px) {
    .sup-card { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 520px) {
    .sup-card { grid-template-columns: repeat(2, 1fr); }
}

/* XP 下载按钮：次要样式，与主下载按钮拉开层次（放在 .btn-plain 之后才能生效） */

/* ---------- 按钮 ---------- */
.btn {
    display: inline-block; padding: 10px 26px; border-radius: var(--radius-btn);
    font-size: 14px; font-weight: 600; cursor: pointer; border: 1px solid transparent;
    transition: background .18s, border-color .18s, box-shadow .18s, transform .1s;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(.97); }
.btn-primary {
    background: var(--blue);
    color: #fff;
    box-shadow: none;
}
.btn-primary:hover { background: var(--blue-deep); box-shadow: none; }
.btn-primary:active { transform: scale(.98); }
.btn-primary:disabled { background: #9db9d2; box-shadow: none; cursor: not-allowed; transform: none; }
.btn-plain { background: var(--card); color: var(--ink); border-color: var(--line); }
.btn-plain:hover { background: var(--bg-2); border-color: var(--blue); color: var(--blue); box-shadow: none; }
.btn-block { display: block; width: 100%; text-align: center; }
.dl-card .btn-block + .btn-block { margin-top: 10px; }
.btn-xp { color: var(--blue); border-color: #b9d3ec; }
.btn-xp:hover { background: var(--blue-soft); border-color: var(--blue); box-shadow: none; }

/* ---------- 表单 / 登录注册 / 反馈 ---------- */
.auth-box { max-width: 420px; margin: 46px auto 54px; }
/* 登录页卡片：顶部实色细线 + 轻阴影 */
.auth-card {
    padding: 34px 32px 26px;
    box-shadow: 0 1px 3px rgba(22, 45, 78, .05);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    position: relative;
    overflow: hidden;
}
.auth-card::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: var(--blue);
}
.auth-head { text-align: center; margin-bottom: 22px; }
.auth-logo-img { width: 54px; height: 54px; display: block; margin: 0 auto 12px; }
.auth-title { font-size: 20px; margin-bottom: 4px; font-weight: 700; letter-spacing: -0.3px; }
.auth-sub { font-size: 12.5px; color: var(--ink-3); }
.tabs { display: flex; border-bottom: 1px solid var(--line); margin-bottom: 22px; position: relative; }
.tab {
    flex: 1; padding: 10px 0; background: none; border: none; cursor: pointer;
    font-size: 15px; color: var(--ink-2); border-bottom: 2px solid transparent;
    font-family: inherit; transition: color .15s, background .15s;
}
.tab:hover { color: var(--ink); background: rgba(37, 99, 235, .04); }
.tab.on { color: var(--blue); border-bottom-color: var(--blue); font-weight: 700; }

.field { display: block; margin-bottom: 16px; }
.field span { display: block; font-size: 13px; color: var(--ink-2); margin-bottom: 5px; font-weight: 500; }
/* 输入框外层包装：密码框右侧放眼睛按钮 */
.field-wrap { position: relative; }
.field-wrap input { padding-right: 42px; }
.field input, .field textarea, .field select {
    width: 100%; padding: 9px 12px; font-size: 14px; font-family: inherit;
    border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--card);
    color: var(--ink); outline: none; transition: border-color .15s, box-shadow .15s;
}
.field select { appearance: none; -webkit-appearance: none; cursor: pointer;
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%238b949e' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
    background-position: right 12px center; background-size: 10px 6px; background-repeat: no-repeat;
    padding-right: 32px; }
.field input:hover, .field textarea:hover, .field select:hover { border-color: #c8d2dd; }
.field input:focus, .field textarea:focus, .field select:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .14), 0 1px 3px rgba(37, 99, 235, .06);
}
.field input::placeholder { color: var(--ink-3); opacity: .8; }
/* 密码眼睛按钮：贴输入框右内侧 */
.pw-toggle {
    position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
    width: 26px; height: 26px; display: inline-flex; align-items: center; justify-content: center;
    background: transparent; border: 0; cursor: pointer; color: var(--ink-3);
    border-radius: 50%; transition: color .15s, background .15s, box-shadow .15s;
}
.pw-toggle:hover { color: var(--blue); background: var(--blue-soft); box-shadow: 0 0 0 3px rgba(37, 99, 235, .08); }
.pw-toggle svg { display: block; }
.field textarea { resize: vertical; }
.field-err {
    display: block; font-style: normal; font-size: 12px; color: var(--err);
    min-height: 16px; margin-top: 3px;
}

.auth-note { margin-top: 18px; font-size: 12px; color: var(--ink-3); text-align: center; }
.mt8 { margin-top: 8px; }
.form-msg { font-size: 13px; margin-top: 10px; min-height: 18px; padding: 4px 10px; border-radius: 6px; }
.form-msg.ok { color: var(--ok); background: rgba(34, 197, 94, .08); }
.form-msg.bad { color: var(--err); background: rgba(239, 68, 68, .08); }

/* 反馈分段选择 */
.seg { display: flex; gap: 8px; margin-bottom: 16px; }
.seg label input { display: none; }
.seg label span {
    display: inline-block; padding: 5px 15px; border: 1px solid var(--line);
    border-radius: 15px; font-size: 13px; color: var(--ink-2); cursor: pointer;
    transition: border-color .15s, color .15s, background .15s;
}
.seg label span:hover { border-color: var(--blue-hi); color: var(--blue); }
.seg label input:checked + span {
    border-color: var(--blue); color: var(--blue); background: var(--blue-soft); font-weight: 600;
}

/* ---------- 反馈广场 ---------- */
.fb-tabs {
    display: flex; gap: 10px; margin-bottom: 20px; flex-wrap: wrap;
}
.fb-tab {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 9px 22px; border: 1px solid var(--line); border-radius: 10px;
    font-size: 14px; color: var(--ink-2); background: var(--card);
    box-shadow: var(--shadow-sm);
    transition: border-color .15s, color .15s, background .15s, transform .12s;
}
.fb-tab i { font-style: normal; font-size: 11.5px; color: var(--ink-3); background: var(--bg-2); border-radius: 9px; padding: 0 8px; line-height: 17px; transition: background .15s, color .15s; }
.fb-tab:hover { border-color: var(--blue-hi); color: var(--blue); text-decoration: none; }
.fb-tab.on { background: var(--blue); border-color: var(--blue); color: #fff; font-weight: 600; }
.fb-tab.on i { background: rgba(255, 255, 255, .2); color: #fff; }
.fb-tab.on:hover { background: var(--blue-deep); border-color: var(--blue-deep); color: #fff; }

.db-warn { border-color: #f0c9a8; background: #fdf6ee; color: var(--warn); margin-bottom: 20px; }
.db-warn p { color: var(--ink-2); font-size: 13px; margin-top: 4px; }

.fb-hero {
    display: flex; justify-content: space-between; align-items: flex-end;
    gap: 24px; margin-bottom: 22px; flex-wrap: wrap;
}
.fb-hero-left { flex: 1; min-width: 0; }
.fb-hero-desc { color: var(--ink-2); max-width: 560px; margin-top: 6px; }
.fb-stat { display: flex; gap: 12px; }
.fb-stat-item {
    display: flex; align-items: center; gap: 12px;
    background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 14px 20px; min-width: 170px;
    box-shadow: var(--shadow-sm);
}
.fb-stat-ic {
    width: 38px; height: 38px; border-radius: 9px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
}
.fb-stat-ic svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.fb-ic-bug { background: #fdecea; color: var(--err); }
.fb-ic-feat { background: var(--blue-soft); color: var(--blue); }
.fb-ic-done { background: #eef6ee; color: var(--ok); }
.fb-stat-num { display: flex; flex-direction: column; }
.fb-stat-num b { font-size: 21px; line-height: 1.3; }
.fb-stat-num span { font-size: 12px; color: var(--ink-3); }

.fb-layout { display: flex; gap: 28px; align-items: flex-start; }
.fb-list-col { flex: 1.6; min-width: 0; }
.fb-form-col { flex: 1; min-width: 0; position: sticky; top: 78px; }
.fb-login-tip { color: var(--ink-2); font-size: 13px; }

.fb-filter {
    background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 6px 4px; margin-bottom: 16px;
}
.fb-filter-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 7px 12px; }
.fb-filter-row + .fb-filter-row { border-top: 1px dashed var(--line); }
.fb-filter-label { font-size: 12.5px; color: var(--ink-3); width: 32px; flex-shrink: 0; }
.chip {
    padding: 4px 14px; border: 1px solid transparent; border-radius: 14px;
    font-size: 13px; color: var(--ink-2); background: transparent;
    transition: border-color .15s, color .15s, background .15s;
}
.chip:hover { text-decoration: none; color: var(--blue); }
.chip.on { background: var(--blue); border-color: var(--blue); color: #fff; font-weight: 600; }

.fb-item {
    margin-bottom: 14px; padding: 18px 20px; position: relative;
    transition: border-color .18s, box-shadow .18s;
}
.fb-item::before {
    content: ""; position: absolute; left: -1px; top: 14px; bottom: 14px; width: 3px;
    background: var(--blue); border-radius: 2px; opacity: 0; transition: opacity .18s;
}
.fb-item:hover { box-shadow: var(--shadow-md); }
.fb-item:hover::before { opacity: 1; }
.fb-item-head { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; flex-wrap: wrap; }
.fb-title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15.5px; font-weight: 600; }
.tag {
    font-size: 12px; padding: 2px 10px; border-radius: 10px;
    background: var(--bg-2); color: var(--ink-2); flex-shrink: 0;
}
.tag-bug { background: #fdecea; color: var(--err); }
.tag-feature { background: var(--blue-soft); color: var(--blue); }
.tag-other { background: var(--bg-2); color: var(--ink-2); }
.fb-status {
    font-size: 12px; flex-shrink: 0; font-weight: 600;
    padding: 2px 10px; border-radius: 10px;
}
.st0 { color: var(--warn); background: #fdf3e6; }
.st1 { color: var(--blue); background: var(--blue-soft); }
.st2 { color: var(--ok); background: #eef6ee; }
.fb-meta { display: flex; gap: 14px; font-size: 12px; color: var(--ink-3); margin-bottom: 10px; flex-wrap: wrap; }
.fb-author { color: var(--ink-2); font-weight: 600; }
.fb-item-body { color: var(--ink-2); font-size: 13.5px; line-height: 1.65; }
.fb-reply { margin-top: 10px; padding: 10px 14px; background: #f2f8f1; border-left: 3px solid var(--ok); font-size: 13px; border-radius: 0 7px 7px 0; line-height: 1.6; }
.fb-reply b { color: var(--ok); margin-right: 4px; }
.fb-time { margin-top: 8px; font-size: 12px; color: var(--ink-3); }
.empty-tip { color: var(--ink-2); padding: 28px 18px; text-align: center; background: var(--bg-2); border: 1px dashed var(--line); border-radius: var(--radius); }

.fb-item-foot { margin-top: 14px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.bs-count-static { font-size: 12px; color: var(--ink-3); }
.btn-support {
    display: inline-flex; align-items: center; gap: 6px;
    border: 1px solid var(--line); background: var(--card); color: var(--ink-2);
    border-radius: 17px; padding: 5px 15px; font-size: 13px; cursor: pointer;
    font-family: inherit; transition: border-color .15s, color .15s, background .15s, transform .1s;
}
.btn-support:hover { border-color: var(--blue); color: var(--blue); }
.btn-support:active { transform: scale(.97); }
.btn-support.on { border-color: var(--blue); color: var(--blue); background: var(--blue-soft); font-weight: 600; }
.btn-support .bs-count { font-size: 13px; font-weight: 700; }
.bs-arrow {
    width: 0; height: 0; flex-shrink: 0;
    border-left: 5px solid transparent; border-right: 5px solid transparent;
    border-bottom: 7px solid currentColor; opacity: .7;
}
.btn-support.on .bs-arrow { opacity: 1; }

/* 评论按钮 */
.btn-comment {
    display: inline-flex; align-items: center; gap: 5px;
    border: 1px solid var(--line); background: var(--card); color: var(--ink-2);
    border-radius: 17px; padding: 5px 15px; font-size: 13px; cursor: pointer;
    font-family: inherit; transition: border-color .15s, color .15s, background .15s;
}
.btn-comment:hover { border-color: var(--blue); color: var(--blue); }
.btn-comment.on { border-color: var(--blue); color: var(--blue); background: var(--blue-soft); font-weight: 600; }
.btn-comment .bc-count { font-size: 13px; font-weight: 700; }

/* 评论区 */
.fb-comments {
    margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line);
    display: grid; grid-template-rows: 0fr; transition: grid-template-rows .25s ease;
}
.fb-comments > .fb-cmt-inner { overflow: hidden; min-height: 0; }
.fb-comments[hidden] { display: none; }
.fb-comments.open { grid-template-rows: 1fr; }
.fb-cmt-list { display: grid; gap: 10px; }
.cmt-empty { color: var(--ink-3); font-size: 12.5px; padding: 6px 0; }
.cmt { padding: 10px 14px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 9px; }
.cmt-head { display: flex; align-items: center; gap: 10px; font-size: 12px; margin-bottom: 5px; }
.cmt-name { color: var(--ink); font-weight: 600; }
.cmt-name.me { color: var(--blue); }
.cmt-loc { color: var(--ink-3); }
.cmt-time { color: var(--ink-3); margin-left: auto; }
.cmt-del {
    border: none; background: none; color: #b0b7bf; cursor: pointer;
    font-size: 15px; line-height: 1; padding: 0 2px; font-family: inherit;
}
.cmt-del:hover { color: var(--err); }
.cmt-body { font-size: 13px; color: var(--ink); word-break: break-word; white-space: pre-wrap; line-height: 1.6; }
.fb-cmt-form { display: flex; gap: 8px; margin-top: 12px; }
.fb-cmt-input {
    flex: 1; padding: 9px 12px; font-size: 13px; font-family: inherit;
    border: 1px solid var(--line); border-radius: 8px; background: var(--card);
    color: var(--ink); outline: none; transition: border-color .15s, box-shadow .15s;
}
.fb-cmt-input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(22, 45, 78, .14); }
.fb-cmt-err { font-size: 12px; color: var(--err); min-height: 16px; margin-top: 4px; }
.fb-cmt-login { font-size: 12.5px; color: var(--ink-3); margin-top: 10px; }

/* 反馈表单侧栏 */
.fb-form { padding: 20px; }
.fb-type-pick { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; margin-bottom: 18px; }
.fb-type-opt { position: relative; cursor: pointer; }
.fb-type-opt input { position: absolute; opacity: 0; pointer-events: none; }
.fb-type-opt span {
    display: flex; flex-direction: column; align-items: center; gap: 7px;
    padding: 12px 6px 10px; border: 1px solid var(--line); border-radius: 10px;
    font-size: 12.5px; color: var(--ink-2); text-align: center;
    transition: border-color .15s, color .15s, background .15s;
}
.fb-type-opt .fb-type-ic {
    width: 32px; height: 32px; border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    background: var(--bg-2); color: var(--ink-3);
    transition: background .15s, color .15s;
}
.fb-type-opt .fb-type-ic svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.fb-type-opt:hover span { border-color: var(--blue-hi); color: var(--blue); }
.fb-type-opt input:checked + span { border-color: var(--blue); color: var(--blue); background: var(--blue-soft); font-weight: 600; }
.fb-type-opt input:checked + .fb-type-ic, .fb-type-opt input:checked + span .fb-type-ic { background: var(--blue); color: #fff; }
.fb-count-row { display: flex; align-items: center; justify-content: space-between; margin-top: 4px; }
.fb-count { font-size: 11.5px; color: var(--ink-3); flex-shrink: 0; margin-left: 8px; }
.fb-count b { color: var(--ink-2); font-weight: 600; }
.fb-count.over { color: var(--err); }
.field > span small { color: var(--ink-3); font-weight: 400; margin-left: 6px; font-size: 11.5px; }

.pager { display: flex; align-items: center; justify-content: center; gap: 18px; margin: 22px 0 6px; color: var(--ink-2); }
.pager a { padding: 5px 16px; border: 1px solid var(--line); border-radius: 7px; background: var(--card); transition: border-color .15s, color .15s; }
.pager a:hover { border-color: var(--blue); color: var(--blue); text-decoration: none; }

/* ---------- 首页社区动态 ---------- */
.comm-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 16px; }
.comm-more { font-size: 13px; }
.comm-empty { color: var(--ink-2); text-align: center; padding: 26px; }
.comm-list { display: grid; gap: 10px; }
.comm-item {
    display: flex; align-items: center; gap: 12px; padding: 14px 18px;
    transition: border-color .18s, background .15s, box-shadow .15s;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--card);
}
.comm-item:hover { border-color: var(--blue-hi); background: var(--bg-2); box-shadow: 0 2px 8px rgba(22,45,78,.05); }
.comm-item-main { flex: 1; min-width: 0; }
.comm-item-main b { display: block; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.comm-item-meta { font-size: 12px; color: var(--ink-3); }
.comm-item-vote { font-size: 12px; color: var(--ink-2); flex-shrink: 0; background: var(--bg); border-radius: 12px; padding: 2px 12px; }
.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--warn); margin-right: 4px; vertical-align: 1px; }
.dot-doing { background: var(--blue); }
.dot-ok { background: var(--ok); }
:root[data-theme="dark"] .comm-item { border-color: var(--line); background: var(--card); }
:root[data-theme="dark"] .comm-item:hover { border-color: rgba(96, 165, 250, .4); background: var(--bg-2); box-shadow: 0 2px 8px rgba(0,0,0,.2); }
:root[data-theme="dark"] .comm-item-vote { background: var(--bg-2); }

/* ---------- 管理后台 ---------- */
.adm-head {
    display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap;
    margin-bottom: 20px; padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
    margin-left: -1px; margin-right: -1px; padding-left: 16px; padding-right: 16px;
}
.adm-list { display: grid; gap: 14px; margin-top: 16px; }
.adm-item { padding: 16px 18px; }
.adm-content {
    color: var(--ink); font-size: 13px; background: var(--bg-2);
    border: 1px solid var(--line); border-radius: 7px;
    padding: 10px 12px; margin: 8px 0 12px; max-height: 160px; overflow: auto;
}
.adm-tools { border-top: 1px dashed var(--line); padding-top: 12px; }
.adm-reply {
    width: 100%; padding: 8px 11px; font-size: 13px; font-family: inherit;
    border: 1px solid var(--line); border-radius: 7px; outline: none; resize: vertical;
    margin-bottom: 8px; transition: border-color .15s, box-shadow .15s;
}
.adm-reply:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(22, 45, 78, .14); }
.adm-btns { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.btn-sm { padding: 5px 14px; font-size: 13px; }
.btn-danger { background: var(--card); color: var(--err); border-color: #e8b4b4; }
.btn-danger:hover { background: #fdecea; border-color: var(--err); }
.adm-msg { font-size: 13px; min-height: 18px; }
.adm-msg.ok { color: var(--ok); }
.adm-msg.bad { color: var(--err); }
.adm-status {
    font-size: 12px; flex-shrink: 0; font-weight: 600;
    padding: 1px 9px; border-radius: 10px;
}
.adm-status.st0 { color: var(--warn); background: #fdf3e6; }
.adm-status.st1 { color: var(--blue); background: var(--blue-soft); }
.adm-status.st2 { color: var(--ok); background: #eef6ee; }

/* ---------- 用户中心 ---------- */
.uc-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 18px; align-items: start; }
.uc-profile { padding: 24px; }
.uc-id { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.uc-avatar {
    width: 84px; height: 84px; border-radius: 50%; flex-shrink: 0; overflow: hidden;
    /* 底色与默认头像 SVG 的浅蓝圆底一致，避免边缘透出脏色环 */
    background: #BADEFF; color: #fff; font-size: 24px; font-weight: 600;
    display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid var(--line);
}
.uc-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.uc-name { font-size: 18px; }
.uc-badge {
    font-style: normal; font-size: 11px; font-weight: 600; color: var(--blue);
    background: var(--blue-soft); border-radius: 4px; padding: 1px 6px; vertical-align: 2px;
}
.uc-join { color: var(--ink-3); font-size: 13px; margin-top: 2px; }
.uc-ip { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.uc-loc-tag {
    font-size: 12px; color: var(--blue); background: var(--blue-soft);
    border-radius: 4px; padding: 1px 7px;
}
.uc-ip-raw { font-size: 12px; color: var(--ink-3); }
.uc-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.uc-stat {
    border: 1px solid var(--line); border-radius: 8px; padding: 13px 8px;
    text-align: center; background: var(--bg-2);
}
.uc-stat b { display: block; font-size: 21px; color: var(--blue); line-height: 1.4; }
.uc-stat span { font-size: 12px; color: var(--ink-3); }
.uc-tip { margin-top: 14px; font-size: 12px; color: var(--ink-3); }

.uc-sign { padding: 22px; }
.uc-week { display: flex; justify-content: space-between; margin: 14px 0 18px; }
.uc-day { display: flex; flex-direction: column; align-items: center; gap: 5px; }
.uc-day .uc-dot {
    width: 14px; height: 14px; border-radius: 50%;
    border: 1px solid var(--line); background: var(--card);
    transition: background .15s, border-color .15s;
}
.uc-day.on .uc-dot { background: var(--blue); border-color: var(--blue); }
.uc-day span { font-size: 11px; color: var(--ink-3); }
.uc-day.today .uc-dot { box-shadow: 0 0 0 3px var(--blue-soft); }
.uc-day.today span { color: var(--blue); font-weight: 600; }
.uc-actions { margin-top: 18px; display: flex; gap: 10px; flex-wrap: wrap; }

/* 个人资料编辑 */
.uc-edit { margin-top: 18px; padding: 24px; }
.uc-form { margin-top: 16px; }
.uc-avatar-row { display: flex; align-items: center; gap: 18px; margin-bottom: 20px; }
.uc-avatar-preview {
    width: 84px; height: 84px; border-radius: 50%; flex-shrink: 0; overflow: hidden;
    background: #BADEFF; color: #fff; font-size: 30px; font-weight: 600;
    display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid var(--line);
}
.uc-avatar-preview img { width: 100%; height: 100%; object-fit: cover; display: block; }
.uc-avatar-ops { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.uc-avatar-ops .uc-tip { width: 100%; margin: 0; }
.btn-file { cursor: pointer; }
.uc-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.uc-form-foot { display: flex; align-items: center; gap: 14px; margin-top: 4px; }
.uc-form-foot .form-msg { margin: 0; }

/* ---------- 后台用户管理表格 ---------- */
.adm-users { padding: 0; overflow: hidden; }
.u-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.u-table th, .u-table td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--line); }
.u-table th { background: var(--bg-2); color: var(--ink-2); font-weight: 600; }
.u-table tr:last-child td { border-bottom: none; }
.u-table tbody tr:nth-child(even) { background: #fcfdfe; }
.u-table tbody tr:hover { background: var(--blue-soft); }
.u-table .u-name { font-weight: 600; }
.u-table .u-points { color: var(--blue); }
.u-table .pub-log { max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink-2); }

/* ---------- 后台版本发布表单 ---------- */
.pub-form-card { margin-bottom: 8px; }

/* ---------- 后台版本记录：网盘/下载列 ---------- */
.ver-dl-link { color: var(--blue); text-decoration: none; }
.ver-dl-link:hover { color: var(--blue-deep); text-decoration: underline; }
.netdisk-tag {
    font-size: 11.5px; font-weight: 600; color: var(--blue);
    background: var(--blue-soft); border-radius: 999px; padding: 1px 8px;
    vertical-align: 1px;
}
.netdisk-cell { max-width: 300px; }
.netdisk-link {
    display: inline-block; vertical-align: bottom;
    max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    color: var(--blue); text-decoration: none;
}
.netdisk-link:hover { color: var(--blue-deep); text-decoration: underline; }

.pub-row { display: flex; gap: 16px; align-items: flex-start; flex-wrap: wrap; }
.pub-row .field { flex: 1; min-width: 200px; }
.pub-v { max-width: 220px; flex: 0 0 200px; }
.pub-force { flex: 0 0 auto; min-width: 0; }
.pub-check {
    display: inline-flex; align-items: center; gap: 6px; height: 38px;
    font-size: 14px; color: var(--ink); cursor: pointer;
}
.pub-check input { width: 15px; height: 15px; accent-color: var(--blue); cursor: pointer; }
.pub-file { max-width: 260px; flex: 0 0 240px; }
.pub-file input[type="file"] {
    padding: 8px 10px;
    border: 1px dashed var(--line-2);
    border-radius: var(--radius-sm);
    background: var(--bg-2);
    color: var(--ink-3);
    font-size: 12.5px;
    cursor: pointer;
    transition: border-color .15s, background .15s, color .15s;
    width: 100%;
}
.pub-file input[type="file"]:hover { border-color: var(--blue-hi); background: var(--blue-soft); color: var(--ink); }
.pub-file input[type="file"]::file-selector-button {
    border: 1px solid var(--line); border-radius: 5px;
    background: var(--card); color: var(--ink-2);
    padding: 3px 10px; margin-right: 8px; cursor: pointer;
    font-size: 12px; transition: all .12s;
}
.pub-file input[type="file"]::file-selector-button:hover { border-color: var(--blue); color: var(--blue); }
.pub-form-card .form-msg { margin-top: 12px; }

/* ---------- 安装页 ---------- */
.install-box { max-width: 560px; margin: 60px auto; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.install-box h1 { font-size: 20px; margin-bottom: 16px; }
.ok-line { color: var(--ok); }
.err-line { color: var(--err); }

/* ---------- 页脚 ---------- */
.footer {
    border-top: 1px solid var(--line);
    background: var(--bg-2); color: var(--ink-2);
    margin-top: 30px; padding: 38px 0 24px; font-size: 13px;
}
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer-brand { display: flex; flex-direction: column; gap: 8px; }
.foot-logo { display: flex; align-items: center; gap: 9px; }
.foot-logo img { display: block; flex-shrink: 0; }
.foot-logo b { font-size: 16px; color: var(--ink); }
.footer-brand span { font-size: 12px; color: var(--ink-3); max-width: 440px; line-height: 1.7; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-links a { color: var(--ink-2); transition: color .15s; }
.footer-links a:hover { color: var(--blue); text-decoration: none; }
.footer-links .sep { color: var(--ink-3); }
.footer-bottom {
    margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line);
    display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
    font-size: 12px; color: var(--ink-3);
}
.footer-bottom a { color: var(--ink-2); }
.footer-bottom a:hover { color: var(--blue); }
.footer-ver { display: inline-flex; align-items: center; gap: 6px; }
.footer-ver .vdot { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }

/* ---------- 响应式 ---------- */
@media (max-width: 860px) {
    .hero { flex-direction: column; }
    .hero-right { width: 100%; }
    .two-col, .fb-layout { flex-direction: column; }
    .fb-form-col { position: static; width: 100%; }
    .fb-hero { align-items: flex-start; }
    .uc-layout { grid-template-columns: 1fr; }
    .uc-grid2 { grid-template-columns: 1fr; }

    /* 顶栏：导航折叠进下拉面板（完整折叠定义已收敛至文件末尾终层，此处仅保留 .topbar-inner 定位与汉堡按钮） */
    .topbar-inner { position: relative; }
    .nav-toggle { display: flex; }
}
@media (max-width: 560px) {
    .hero-left h1 { font-size: 25px; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .hero-actions .btn { text-align: center; }
    main { padding: 26px 0 44px; }
    section { margin-bottom: 40px; }
    .hero { margin-bottom: 40px; }
    .fb-stat { flex-wrap: wrap; }
    .fb-stat div { flex: 1; min-width: 0; padding: 10px 12px; }
    .comm-item { flex-wrap: wrap; }
    .comm-item-vote { width: 100%; text-align: right; }
    .uc-stats { grid-template-columns: 1fr 1fr; }
    .uc-id { flex-wrap: wrap; }
    .uc-avatar-row { gap: 14px; }
    .uc-week { gap: 4px; }
    .adm-users { overflow-x: auto; }
    .u-table { min-width: 640px; }
    .card { padding: 16px; }
    .auth-card { padding: 24px 20px 20px; }
    .brand-name { font-size: 14px; }
}

/* ---------- 追加：默认头像 / 排名 / 用户管理 ---------- */
/* 顶栏：头像 + 昵称 */
.nav-user { display: inline-flex; align-items: center; gap: 7px; }
.nav-avatar {
    width: 32px; height: 32px; border-radius: 50%; object-fit: cover;
    flex-shrink: 0; display: block; border: 1px solid var(--line);
    background: #BADEFF;
}
.nav-nick { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; display: inline; vertical-align: middle; font-size: 14px; max-width: 90px; }

/* 圆形头像容器（默认头像统一回退用） */
.u-av {
    display: inline-block; width: 28px; height: 28px; border-radius: 50%;
    overflow: hidden; vertical-align: middle; margin-right: 8px;
    border: 1px solid var(--line); background: #BADEFF;
}
.u-av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cmt-avatar {
    width: 22px; height: 22px; border-radius: 50%; overflow: hidden;
    flex-shrink: 0; display: inline-block; border: 1px solid var(--line);
    background: #BADEFF;
}
.cmt-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* 用户中心：信息分组（标签 + 值，两列网格） */
.uc-block { margin-top: 16px; }
.uc-block-title {
    font-size: 12.5px; font-weight: 600; color: var(--ink-2);
    letter-spacing: .4px; margin-bottom: 8px;
}
.uc-info { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 12px; }
.uc-info-item {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    min-height: 38px;
    border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; background: var(--bg-2);
}
.uc-info-item span { font-size: 12px; color: var(--ink-3); flex-shrink: 0; }
.uc-info-item b { font-size: 13px; font-weight: 600; color: var(--ink); text-align: right; word-break: break-all; }
/* 字段缺失时的占位文案：弱化显示，不出现刺眼的破折号 */
.uc-info-item b.uc-none { font-weight: 400; color: var(--ink-3); }

/* 用户中心 / 用户主页：扁平 Fluent 卡片（细边框、无渐变、无多余阴影、8px 圆角） */
.uc-profile, .uc-sign, .uc-rank, .uc-edit,
.uc-board .fb-tabs, .uc-board .adm-users, .uc-board .empty-tip,
.uc-profile:hover, .uc-sign:hover, .uc-rank:hover, .uc-edit:hover,
.uc-board .fb-tabs:hover, .uc-board .adm-users:hover {
    border-radius: 8px; box-shadow: none;
}

/* 用户中心：我的排名 */
.uc-rank { margin-top: 18px; padding: 22px; }
.uc-rank-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.uc-rank-grid-1 { grid-template-columns: 1fr; margin-top: 6px; }
.uc-rank-item {
    border: 1px solid var(--line); border-radius: 8px; padding: 14px 12px;
    text-align: center; background: var(--bg-2);
}
.uc-rank-item span { display: block; font-size: 12px; color: var(--ink-3); margin-bottom: 4px; }
.uc-rank-item b { font-size: 15px; color: var(--blue); }

/* 排行榜表格 */
.uc-board { margin-top: 40px; }
.rank-table tbody tr { cursor: pointer; }
.rank-no { font-weight: 600; color: var(--ink-2); width: 56px; }
.rank-table .u-name { color: var(--ink); }
.rank-table .u-name:hover { color: var(--blue); }
.rank-os { color: var(--ink-2); max-width: 240px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* 地区级联选择 */
.field-region { display: block; }
.region-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* 后台用户搜索 */
.adm-search { display: flex; align-items: center; gap: 8px; }
.adm-search-input {
    padding: 8px 12px; font-size: 14px; font-family: inherit;
    border: 1px solid var(--line); border-radius: 7px; background: var(--card);
    color: var(--ink); outline: none; transition: border-color .15s, box-shadow .15s;
}
.adm-search-input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(22, 45, 78, .14); }

/* 键盘焦点环：仅键盘导航时显示，提升无障碍可达性 */
a:focus-visible, button:focus-visible, .chip:focus-visible, .fb-tab:focus-visible, .pager a:focus-visible,
.seg label span:focus-visible {
    outline: 2px solid var(--blue-hi); outline-offset: 2px;
}

@media (max-width: 560px) {
    .uc-info, .uc-rank-grid { grid-template-columns: 1fr; }
    .region-pair { grid-template-columns: 1fr; }
    .adm-search { width: 100%; }
    .adm-search-input { flex: 1; min-width: 0; }
    .fb-layout { flex-direction: column; }
    .fb-form-col { position: static; }
    .fb-stat { flex-wrap: wrap; }
    .fb-stat-item { flex: 1; min-width: 140px; }
    .fb-type-pick { grid-template-columns: 1fr; }
}

/* ---------- 全站顶部：XP 停更公告条 ---------- */
.top-notice {
    border-top: 1px solid var(--line);
    background: var(--bg-2);
    font-size: 12.5px;
}
.top-notice-inner {
    display: flex; align-items: center; gap: 8px;
    padding: 7px 0; color: var(--ink-2); line-height: 1.6;
}
.top-notice .tn-ic {
    flex-shrink: 0; stroke: var(--ink-3); fill: none;
    stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}
.top-notice b { color: var(--ink); font-weight: 600; }
.top-notice .tn-text { flex: 1; min-width: 0; }
.top-notice .tn-link { flex-shrink: 0; font-weight: 600; color: var(--blue); white-space: nowrap; }
.top-notice .tn-link:hover { text-decoration: underline; }
:root[data-theme="dark"] .top-notice { background: var(--bg-2); border-top-color: var(--line); }
:root[data-theme="dark"] .top-notice .tn-ic { stroke: var(--ink-3); }
:root[data-theme="dark"] .top-notice .tn-link { color: var(--blue); }

/* ---------- 下载中心：主推多功能标准版，XP 版降级 ---------- */
.dl-wrap { grid-template-columns: 1.45fr 1fr; }
.dl-main {
    border-color: rgba(22,45,78,.28);
    border-width: 1.5px;
    box-shadow: var(--shadow-sm);
    position: relative;
}
.dl-main::before {
    content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px;
    background: var(--blue);
    border-radius: var(--radius) var(--radius) 0 0;
}
.rec-tag {
    display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .5px;
    color: var(--blue); background: var(--blue-soft); border: 1px solid rgba(34,136,200,.2);
    border-radius: 10px; padding: 2px 10px; margin-bottom: 10px;
}
.dl-main .dl-name { font-size: 18px; }
.dl-xp .dl-name { font-size: 15px; }
:root[data-theme="dark"] .dl-main { border-color: rgba(96, 165, 250, .3); }
:root[data-theme="dark"] .dl-main::before { background: var(--blue); }
:root[data-theme="dark"] .rec-tag { color: var(--blue); background: var(--blue-soft); border-color: var(--line-2); }

/* ---------- 后台：数据总览 ---------- */
.adm-sub { font-size: 12.5px; color: var(--ink-3); align-self: center; }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.stat-card { padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; }
.stat-card:hover { border-color: var(--line-2); }
.stat-card .stat-val { color: var(--blue); }
.stat-label { font-size: 12.5px; color: var(--ink-3); }
.stat-val { font-size: 26px; font-weight: 700; line-height: 1.2; color: var(--ink); font-variant-numeric: tabular-nums; }
.stat-val.is-warn { color: var(--warn); }
.stat-foot { font-size: 12px; color: var(--ink-3); }

/* 后台头部小统计胶囊（反馈管理 状态汇总） */
.adm-head .fb-stat { align-self: center; }
.adm-head .fb-stat div {
    display: flex; align-items: baseline; gap: 5px;
    background: var(--bg-2); border: 1px solid var(--line);
    border-radius: 999px; padding: 4px 12px;
}
.adm-head .fb-stat b { font-size: 15px; font-weight: 700; color: var(--ink); }
.adm-head .fb-stat span { font-size: 12px; color: var(--ink-3); }
.adm-dash-cols { margin-top: 22px; }
.dash-list { padding: 6px; }
.dash-row {
    display: flex; align-items: center; gap: 8px;
    padding: 9px 10px; border-radius: 7px; color: var(--ink);
    border-bottom: 1px solid var(--line);
}
.dash-row:last-child { border-bottom: none; }
.dash-row:hover { background: var(--bg-2); text-decoration: none; }
.dash-row .u-av { margin-right: 0; }
.dash-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.dash-main b { font-size: 13.5px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dash-main em { font-size: 12px; font-style: normal; color: var(--ink-3); }
.dash-empty { padding: 14px 10px; font-size: 13px; color: var(--ink-3); }

/* ---------- 后台：用户管理操作列 ---------- */
.btn-xs { padding: 4px 10px; font-size: 12px; border-radius: 6px; }
.u-ops { white-space: nowrap; }
.u-ops .btn-xs { margin-right: 4px; }
.u-self { font-size: 12px; color: var(--ink-3); }

/* ---------- 后台：趋势分析条形图 ---------- */
.trend-bar-group { display: flex; flex-direction: column; gap: 10px; }
.trend-bar-row { display: flex; align-items: center; gap: 10px; }
.trend-bar-label { width: 90px; font-size: 13px; color: var(--ink); flex-shrink: 0; font-weight: 500; }
.trend-bar-track { flex: 1; height: 8px; background: var(--line); border-radius: 999px; overflow: hidden; }
.trend-bar-fill { height: 100%; background: var(--blue); border-radius: 999px; transition: width .4s ease; }
.trend-bar-num { width: 72px; text-align: right; font-size: 13px; color: var(--ink-2); flex-shrink: 0; font-weight: 600; }
.trend-bar-num em { font-size: 11.5px; color: var(--ink-3); font-style: normal; font-weight: 400; }

@media (max-width: 860px) {
    .dl-wrap { grid-template-columns: 1fr; }
    .stat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
    .top-notice .tn-text { font-size: 12px; }
    .top-notice .tn-link { display: none; }
}
@media (max-width: 520px) {
    .stat-grid { grid-template-columns: 1fr; }
}

/* ---------- 后台：搜索/导出行 + 反馈批量操作 ---------- */
.adm-bar {
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px; flex-wrap: wrap; margin-top: 16px; padding: 12px 16px;
}
.adm-bar-right { display: flex; align-items: center; gap: 8px; }
.adm-head-right { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

.adm-batch {
    display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
    margin-top: 14px; padding: 10px 16px;
}
.adm-batch-all {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 13px; color: var(--ink-2); cursor: pointer;
}
.adm-batch-count { font-size: 12.5px; color: var(--ink-3); }
.adm-batch-btns { display: flex; align-items: center; gap: 8px; margin-left: auto; }

.fb-check { width: 15px; height: 15px; flex-shrink: 0; cursor: pointer; accent-color: var(--blue); }

/* ---------- 后台：版本记录操作 + 内联编辑 ---------- */
.ver-ops { white-space: nowrap; }
.ver-ops .btn-xs { margin-right: 4px; }
.ver-edit-row > td { background: var(--bg-2); padding: 12px 16px; }
.ver-edit-ta { width: 100%; box-sizing: border-box; resize: vertical; font: 13px/1.7 inherit; }
.ver-edit-row .adm-btns { margin-top: 8px; }

/* 次要按钮禁用态：批量/用户操作时统一弱化 */
.btn-plain:disabled, .btn-danger:disabled { opacity: .5; cursor: not-allowed; }

/* ---------- 反馈广场：系统分区 ---------- */
.fb-group { margin-top: 22px; }
.fb-group-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 2px 12px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--blue-soft);
}
.fb-group-ic {
    width: 28px; height: 28px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    border-radius: 8px; background: var(--blue-soft); color: var(--blue);
}
.fb-group-ic svg {
    width: 16px; height: 16px; fill: none; stroke: currentColor;
    stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}
.fb-group-title { font-size: 15px; font-weight: 600; color: var(--ink); margin: 0; }
.fb-group-count {
    font-size: 12px; color: var(--ink-2);
    background: var(--bg-2); border: 1px solid var(--line);
    border-radius: 999px; padding: 1px 10px;
}
.fb-group-more { margin-left: auto; font-size: 12.5px; color: var(--blue); white-space: nowrap; }
.fb-group-more:hover { color: var(--blue-deep); text-decoration: none; }
.fb-group-body { display: grid; gap: 0; }
.fb-os {
    display: inline-block;
    padding: 1px 7px;
    border-radius: 999px;
    background: var(--blue-soft);
    color: var(--blue);
    font-size: 11.5px;
}
.fb-os-select {
    width: 100%;
    box-sizing: border-box;
    padding: 8px 10px;
    border: 1px solid var(--line-2);
    border-radius: var(--radius-sm);
    background: var(--card);
    color: var(--ink);
    font: inherit;
    font-size: 13.5px;
}
.fb-os-select:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(22, 45, 78, .12);
}
:root[data-theme="dark"] .fb-os-select:focus { box-shadow: 0 0 0 3px rgba(90, 167, 230, .18); }
:root[data-theme="dark"] .fb-group-head { border-bottom-color: var(--line-2); }
:root[data-theme="dark"] .fb-group-ic { background: rgba(90, 167, 230, .14); }
:root[data-theme="dark"] .fb-group-more { color: var(--blue-hi); }
:root[data-theme="dark"] .fb-group-more:hover { color: var(--blue-deep); }

/* ---------- 后台：操作日志表 ---------- */
.log-table td, .log-table th { padding: 10px 14px; }
.log-id { color: var(--ink-3); font-size: 12px; }
.log-time { color: var(--ink-3); font-size: 12.5px; white-space: nowrap; }
.log-note { color: var(--ink); font-size: 13px; }

/* ---------- 后台：日志筛选栏 ---------- */
.log-filter-bar {
    display: flex; flex-wrap: wrap; gap: 6px;
    padding: 10px 16px; margin-bottom: 14px;
}
.log-filter-bar .chip {
    font-size: 12px; padding: 3px 12px;
    border-radius: 999px; color: var(--ink-2);
    border: 1px solid var(--line); background: var(--card);
    transition: border-color .15s, color .15s, background .15s;
}
.log-filter-bar .chip:hover { border-color: var(--blue-hi); color: var(--blue); text-decoration: none; }
.log-filter-bar .chip.on { background: var(--blue); border-color: var(--blue); color: #fff; font-weight: 600; }
.log-filter-bar .chip.on:hover { background: var(--blue-deep); border-color: var(--blue-deep); }

/* ---------- 统计卡片图标 ---------- */
.stat-card {
    position: relative;
    padding-top: 18px;
}
.stat-card .stat-icon {
    width: 36px; height: 36px; border-radius: 10px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center; margin-bottom: 8px;
}
.stat-card .stat-icon svg {
    width: 18px; height: 18px; fill: none; stroke: currentColor;
    stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.stat-icon-blue   .stat-icon { background: rgba(22, 45, 78, .10); color: var(--blue); }
.stat-icon-green  .stat-icon { background: rgba(22, 163, 74, .10); color: #16A34A; }
.stat-icon-purple .stat-icon { background: rgba(124, 58, 237, .10); color: #7C3AED; }
.stat-icon-warn   .stat-icon { background: rgba(178, 106, 35, .10); color: var(--warn); }
:root[data-theme="dark"] .stat-icon-blue   .stat-icon { background: rgba(96, 165, 250, .15); color: #60A5FA; }
:root[data-theme="dark"] .stat-icon-green  .stat-icon { background: rgba(74, 222, 128, .15); color: #4ADE80; }
:root[data-theme="dark"] .stat-icon-purple .stat-icon { background: rgba(168, 85, 247, .15); color: #C084FC; }
:root[data-theme="dark"] .stat-icon-warn   .stat-icon { background: rgba(251, 191, 36, .15); color: #FBBF24; }

/* ---------- 后台：数据总览分区 ---------- */
.adm-block { margin-bottom: 18px; }
.adm-block .sec-title-sm { margin-bottom: 14px; }

/* ---------- 系统分布条 ---------- */
.sys-dist-grid { display: flex; flex-direction: column; gap: 8px; }
.sys-dist-item {
    display: flex; align-items: center; gap: 10px;
    text-decoration: none; color: inherit;
    padding: 6px 4px; border-radius: 6px; transition: background .15s;
}
.sys-dist-item:hover { background: var(--bg-2); }
.sys-dist-name { width: 90px; font-size: 13.5px; font-weight: 500; color: var(--ink); flex-shrink: 0; }
.sys-dist-bar {
    flex: 1; height: 10px; background: var(--line); border-radius: 999px; overflow: hidden;
}
.sys-dist-fill { height: 100%; background: var(--blue); border-radius: 999px; transition: width .3s ease; }
.sys-dist-count { width: 36px; text-align: right; font-size: 13px; color: var(--ink-2); font-weight: 600; flex-shrink: 0; }

/* ---------- 官网主页：正版认证标识 ---------- */
.cert-badge {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 11.5px; font-weight: 700; color: var(--blue);
    background: var(--blue-soft); border: 1px solid rgba(34,136,200,.18);
    border-radius: 999px; padding: 3px 12px; margin-bottom: 12px;
}
.cert-badge i { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
:root[data-theme="dark"] .cert-badge { background: rgba(96, 165, 250, .08); color: var(--blue); border-color: rgba(96, 165, 250, .2); }
:root[data-theme="dark"] .cert-badge i { background: var(--blue); }

/* ---------- 官网主页：安全承诺 + 开发团队（追加层） ---------- */
/* 主下载卡安全承诺徽章 */
.dl-safe { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 14px 0 4px; }
.safe-item {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 12px; font-weight: 600; color: var(--ok);
    background: #eef6ee; border: 1px solid #d8e9d9;
    border-radius: 12px; padding: 3px 12px;
}
.safe-item .dot-ok { width: 6px; height: 6px; background: var(--ok); }
.dl-tip b { color: var(--ink); font-weight: 600; }
.dl-note {
    margin: 10px 0 14px; padding: 11px 14px;
    background: #fff9ee;
    border: 1px solid #f0dcb6; border-left: 3px solid #e8a33d;
    border-radius: 8px; font-size: 12px; line-height: 1.75; color: var(--warn);
    text-align: left;
}
.dl-note b { color: var(--ink); font-weight: 700; }
:root[data-theme="dark"] .dl-note {
    background: rgba(224,163,77,.1);
    color: #ffb74d; border-color: rgba(224,163,77,.3); border-left-color: rgba(224,163,77,.6);
}
:root[data-theme="dark"] .dl-note b { color: var(--ink); }
:root[data-theme="dark"] .safe-item { background: rgba(102, 187, 106, .1); color: #66bb6a; border-color: rgba(102, 187, 106, .25); }
:root[data-theme="dark"] .safe-item .dot-ok { background: #66bb6a; }

/* ---------- 统一成功弹窗（登录 / 注册 / 软件授权共用） ---------- */
.auth-ok {
    position: fixed; inset: 0; z-index: 10000;
    background: rgba(15, 20, 30, .45);
    display: flex; align-items: center; justify-content: center; padding: 16px;
    animation: aok-fade .16s ease;
}
@keyframes aok-fade { from { opacity: 0; } to { opacity: 1; } }
.auth-ok-box {
    width: 100%; max-width: 320px;
    padding: 30px 24px 24px; text-align: center;
    background: var(--card); border: 1px solid var(--line); border-radius: 12px;
    box-shadow: 0 12px 36px -12px rgba(15, 20, 30, .35);
}
.auth-ok-check { display: inline-block; line-height: 0; }
.auth-ok-check svg { width: 56px; height: 56px; }
.auth-ok-check circle {
    fill: none; stroke: var(--ok); stroke-width: 3;
    stroke-dasharray: 151; stroke-dashoffset: 151;
    transition: stroke-dashoffset .5s ease-out .05s;
}
.auth-ok-check path {
    fill: none; stroke: var(--ok); stroke-width: 4; stroke-linecap: round;
    stroke-dasharray: 36; stroke-dashoffset: 36;
    transition: stroke-dashoffset .35s ease-out .5s;
}
.auth-ok.go .auth-ok-check circle,
.auth-ok.go .auth-ok-check path { stroke-dashoffset: 0; }
.auth-ok-title { margin: 12px 0 0; font-size: 17px; font-weight: 700; color: var(--ink); }
.auth-ok-sub { margin: 6px 0 0; font-size: 13px; color: var(--ink-3); line-height: 1.6; }
.auth-ok-link {
    display: inline-block; margin-top: 14px; font-size: 13px; font-weight: 600;
    color: var(--blue); text-decoration: none;
}
.auth-ok-link:hover { text-decoration: underline; }
:root[data-theme="dark"] .auth-ok-box { box-shadow: 0 12px 36px -12px rgba(0, 0, 0, .6); }

/* ---------- 头像裁剪对话框 ---------- */
.crop-overlay {
    position: fixed; inset: 0; z-index: 10001;
    background: rgba(15, 20, 30, .5);
    display: flex; align-items: center; justify-content: center; padding: 16px;
    overscroll-behavior: contain;
}
/* 让 hidden 属性真正生效，避免弹层常显、取消关闭无反应 */
.crop-overlay[hidden] { display: none; }
.lg-mask[hidden], #logout-mask[hidden] { display: none !important; }
.tp-popup-mask[hidden], #tp-announce-popup[hidden] { display: none !important; }
.crop-box {
    width: 100%; max-width: 320px;
    padding: 18px 16px 16px; text-align: center;
}
.crop-box h4 { font-size: 15px; color: var(--ink); font-weight: 700; margin: 0 0 6px; }
.crop-stage {
    background: #f3f5f8; border-radius: 10px;
    overflow: hidden; margin: 12px 0 14px;
}
:root[data-theme="dark"] .crop-stage { background: #1a2028; }
/* 裁剪视口：尺寸走 --crop-size，小屏自动缩小；脚本按实际尺寸取景，不依赖固定像素值 */
.crop-view {
    --crop-size: 240px;
    width: var(--crop-size); height: var(--crop-size); margin: 0 auto;
    overflow: hidden; position: relative;
    border: 1px dashed var(--line-2); border-radius: 8px;
    cursor: grab;
    /* 手指的拖动 / 双指缩放交给脚本处理，否则浏览器会当成页面滚动 */
    touch-action: none;
    background:
        linear-gradient(45deg, rgba(0,0,0,.04) 25%, transparent 25%, transparent 75%, rgba(0,0,0,.04) 75%),
        linear-gradient(45deg, rgba(0,0,0,.04) 25%, transparent 25%, transparent 75%, rgba(0,0,0,.04) 75%) ,
        #fff;
    background-size: 12px 12px, 12px 12px;
    background-position: 0 0, 6px 6px;
}
:root[data-theme="dark"] .crop-view {
    background:
        linear-gradient(45deg, rgba(255,255,255,.03) 25%, transparent 25%, transparent 75%, rgba(255,255,255,.03) 75%),
        linear-gradient(45deg, rgba(255,255,255,.03) 25%, transparent 25%, transparent 75%, rgba(255,255,255,.03) 75%),
        #1a2028;
}
#crop-img {
    position: absolute; left: 0; top: 0;
    width: auto; height: auto;
    transform-origin: 0 0;
    user-select: none; pointer-events: none;
}
/* 输出尺寸输入行 */
.crop-size-row {
    display: flex; align-items: flex-end; justify-content: center; gap: 6px;
    margin: 2px 0 12px;
}
.crop-size-field {
    display: flex; flex-direction: column; align-items: center; gap: 3px;
}
.crop-size-field span { font-size: 12px; color: var(--ink-3); }
.crop-size-field input {
    width: 64px; height: 30px; box-sizing: border-box;
    text-align: center; font-size: 14px; color: var(--ink);
    background: var(--card); border: 1px solid var(--line); border-radius: 8px;
    outline: none;
}
.crop-size-field input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.crop-size-x { font-size: 14px; color: var(--ink-3); padding-bottom: 8px; }
/* 可拖动矩形选区：锁定输出宽高比，四角可缩放 */
.crop-select {
    position: absolute; left: 0; top: 0;
    width: 0; height: 0;
    box-sizing: border-box;
    border: 1.5px solid rgba(34, 211, 238, .95);
    background: rgba(34, 211, 238, .08);
    box-shadow: 0 0 0 999px rgba(10, 14, 20, .42);
    cursor: move;
    touch-action: none;
    display: none;
    z-index: 3;
}
.crop-view.croping .crop-select { display: block; }
.crop-select .cs-h {
    position: absolute; width: 13px; height: 13px; box-sizing: border-box;
    background: #fff; border: 1.5px solid var(--blue-hi); border-radius: 3px;
    z-index: 4;
}
.crop-select .cs-nw { left: -7px; top: -7px; cursor: nwse-resize; }
.crop-select .cs-ne { right: -7px; top: -7px; cursor: nesw-resize; }
.crop-select .cs-sw { left: -7px; bottom: -7px; cursor: nesw-resize; }
.crop-select .cs-se { right: -7px; bottom: -7px; cursor: nwse-resize; }
.crop-select .cs-label {
    position: absolute; left: 1px; top: -22px;
    font-size: 11px; line-height: 1; white-space: nowrap; color: #fff;
    background: rgba(15, 23, 42, .82); border-radius: 4px; padding: 3px 6px;
    pointer-events: none;
}
:root[data-theme="dark"] .crop-select { border-color: rgba(34, 211, 238, .9); background: rgba(34, 211, 238, .06); }
.crop-btns { display: flex; gap: 10px; justify-content: center; }
.crop-btns .btn { min-width: 84px; }

/* ---------- 软件授权登录页（auth.php） ---------- */
.oauth-user {
    display: flex; align-items: center; gap: 12px;
    padding: 13px 14px; margin: 2px 0 16px;
    border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg-2);
}
.oauth-avatar {
    width: 44px; height: 44px; border-radius: 50%;
    object-fit: cover; border: 1px solid var(--line); flex-shrink: 0; background: var(--card);
}
.oauth-userinfo { flex: 1; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.oauth-userinfo b { font-size: 14.5px; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.oauth-userinfo span { font-size: 12px; color: var(--ink-3); }
.oauth-badge {
    flex-shrink: 0; font-size: 11px; line-height: 1.7; color: var(--blue);
    background: var(--blue-soft); border-radius: 999px; padding: 2px 9px;
}
.oauth-caption {
    font-size: 12px; color: var(--ink-3); letter-spacing: .2px;
    margin: 0 0 8px 2px;
}
.oauth-perms {
    list-style: none; margin: 0 0 12px; padding: 0;
    border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden;
    background: var(--card);
}
.oauth-perms li {
    font-size: 13px; color: var(--ink-2); line-height: 1.65;
    padding: 10px 14px 10px 34px; position: relative;
    border-bottom: 1px solid var(--line);
}
.oauth-perms li:last-child { border-bottom: 0; }
.oauth-perms li::before {
    content: ''; position: absolute; left: 14px; top: 14px;
    width: 11px; height: 6px; box-sizing: border-box;
    border-left: 1.8px solid var(--blue-hi); border-bottom: 1.8px solid var(--blue-hi);
    transform: rotate(-45deg);
}
.oauth-hint {
    font-size: 12px; color: var(--ink-3); line-height: 1.7;
    margin: 0 0 18px 2px;
}
/* 登录页：头部发丝线保留，顶线由卡片 ::before 统一处理（更淡） */
.auth-card.login-card .auth-head {
    padding-bottom: 18px; border-bottom: 1px solid var(--line);
    border-top-left-radius: 0; border-top-right-radius: 0;
}
/* 提交按钮区：与表单底部留白收紧，按钮与下方链接之间加一层细分割 */
.auth-actions { margin: 6px 0 14px; }
.auth-actions .btn-primary {
    padding: 11px 26px;
    border-radius: 8px;
    font-weight: 700;
    letter-spacing: .5px;
}
.auth-actions .btn-primary:hover {
    background: var(--blue-deep);
    box-shadow: none;
}
.auth-actions .btn-primary:active { transform: scale(.98); }
/* 「没有账号？立即注册」快捷切换行 */
.auth-alt {
    display: flex; justify-content: center; align-items: center; gap: 12px;
    font-size: 12.5px; color: var(--ink-3); margin: 2px 0 14px;
}
.auth-alt a { color: var(--blue); font-weight: 600; transition: color .15s; }
.auth-alt a:hover { color: var(--blue-deep); text-decoration: underline; text-underline-offset: 3px; }
.auth-alt-home {
    color: var(--ink-3); text-decoration: none; border-bottom: 1px dashed var(--line-2);
    padding-bottom: 1px; transition: color .15s, border-color .15s;
}
.auth-alt-home:hover { color: var(--blue); border-bottom-color: var(--blue); }
:root[data-theme="dark"] .auth-alt a { color: var(--blue); }
:root[data-theme="dark"] .auth-alt-home { color: var(--ink-3); border-bottom-color: var(--line-2); }
:root[data-theme="dark"] .auth-actions .btn-primary {
    background: var(--blue);
    box-shadow: none;
}
:root[data-theme="dark"] .auth-actions .btn-primary:hover {
    background: var(--blue-deep);
    box-shadow: none;
}
:root[data-theme="dark"] .auth-actions .btn-primary:active {
    transform: scale(.98);
    box-shadow: none;
}
/* 深色主题：输入框 hover / focus 边框色 */
:root[data-theme="dark"] .field input:hover,
:root[data-theme="dark"] .field textarea:hover,
:root[data-theme="dark"] .field select:hover { border-color: #3a444f; }
:root[data-theme="dark"] .field input:focus,
:root[data-theme="dark"] .field textarea:focus,
:root[data-theme="dark"] .field select:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(34, 211, 238, .18);
}
:root[data-theme="dark"] .pw-toggle:hover { background: rgba(34, 211, 238, .12); color: var(--blue); }

/* 授权页头部：发丝分割线 */
.auth-card .auth-head {
    padding-bottom: 18px; border-bottom: 1px solid var(--line);
    border-top-left-radius: var(--radius); border-top-right-radius: var(--radius);
}
.auth-card .auth-logo-img {
    width: 60px; height: 60px; padding: 9px; margin: 0 auto 12px;
    background: var(--blue-soft); border: 1px solid var(--line); border-radius: var(--radius-sm);
    box-sizing: border-box;
}
:root[data-theme="dark"] .auth-card .auth-logo-img { background: var(--blue-soft); }
/* 用户信息行：头像加发丝描边，昵称行收紧基线，徽章贴右对齐 */
.oauth-user { transition: border-color .15s, box-shadow .15s; }
.oauth-user:hover { border-color: var(--line-2); box-shadow: var(--shadow-sm); }
:root[data-theme="dark"] .oauth-user { background: var(--bg-2); }
:root[data-theme="dark"] .oauth-perms li { color: var(--ink-2); }
/* 权限区：caption + 列表包进浅底面板，勾号用青蓝描边圆点，更有「参数清单」质感 */
.oauth-perm-box {
    background: var(--bg-2); border: 1px solid var(--line);
    border-radius: var(--radius-sm); padding: 12px 14px 10px; margin-bottom: 12px;
}
.oauth-perm-box .oauth-caption { margin: 0 0 8px; }
.oauth-perm-box .oauth-perms { border: 0; background: transparent; margin: 0; }
.oauth-perm-box .oauth-perms li {
    padding: 8px 12px 8px 30px; background: var(--card);
    border: 1px solid var(--line); border-radius: var(--radius-sm);
    margin-bottom: 8px;
}
.oauth-perm-box .oauth-perms li:last-child { margin-bottom: 0; }
.oauth-perm-box .oauth-perms li::before {
    left: 12px; top: 50%; width: 12px; height: 12px; box-sizing: border-box;
    border: 1.6px solid var(--blue-hi); border-radius: 50%; transform: translateY(-50%);
    border-left: 1.6px solid var(--blue-hi);
    content: ''; position: absolute;
}
/* 授权成功页 */
.auth-success { text-align: center; padding: 34px 24px 30px; }
.auth-success .auth-head { padding-bottom: 0; border-bottom: 0; background: none; }
.oauth-success-body { margin-top: 18px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.oauth-success-icon {
    position: relative; width: 54px; height: 54px; border-radius: 50%;
    background: var(--blue); color: #fff;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 4px;
    box-shadow: none;
    animation: oauthIconPop .3s ease backwards;
}
@keyframes oauthIconPop {
    from { opacity: 0; transform: scale(.6); }
    to   { opacity: 1; transform: scale(1); }
}
.oauth-success-icon span { font-size: 26px; font-weight: 600; line-height: 1; }
.oauth-success-body p { font-size: 14px; color: var(--ink-2); margin: 0; }
.oauth-fallback { font-size: 12px; color: var(--ink-3); }
.oauth-fallback a { color: var(--blue); text-decoration: underline; }
.auth-success #oauth-retry-btn { margin-top: 8px; }
:root[data-theme="dark"] .oauth-success-icon { background: var(--blue); }

/* ---------- 移动端适配：触屏交互细节 ---------- */
/* 窄屏下裁剪视口跟着缩小，保证裁剪弹窗在手机上能完整显示 */
@media (max-width: 420px) {
    .crop-view { --crop-size: 200px; }
}
@media (max-width: 340px) {
    .crop-view { --crop-size: 168px; }
}

@media (max-width: 620px) {
    /* 标签条 / 筛选条改成横向滚动收纳，别把版心撑破 */
    .tabs { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .tab { flex: 0 0 auto; padding: 10px 16px; white-space: nowrap; }
    .log-filter-bar { overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 2px; }
    .seg { flex-wrap: wrap; }

    /* 触屏没有 hover：去掉只对鼠标有意义的悬停位移，避免点上去先跳一下 */
    .btn:active { transform: none; }
    .stat-card:hover { transform: none; box-shadow: var(--shadow-sm); }
    .sup-item:hover { background: var(--card); border-color: var(--line); }
    .btn-primary:hover { box-shadow: none; }

    /* iOS 在输入框字号小于 16px 时会自动放大整页，这里统一抬到 16px */
    .field input, .field textarea, .field select,
    .adm-search-input, .ver-edit-ta { font-size: 16px; }

    /* 触屏点击目标偏小的按钮补一点内边距 */
    .btn-xs { padding: 6px 12px; }
}

/* ============================================================
   后台 UI 精修：现代扁平质感，真人手写层次
   ============================================================ */

/* —— 数据卡片：轻微左线标记，强化数据面板感 —— */
.stat-card::before {
    content: '';
    position: absolute;
    left: 0; top: 12px; bottom: 12px;
    width: 3px; border-radius: 999px;
    background: var(--blue-hi); opacity: 0;
    transition: opacity .18s;
}
.stat-card:hover::before { opacity: 1; }

/* —— 表格：表头左侧青色标记 + 更干净的行间距 —— */
.u-table thead tr th:first-child,
.rank-table thead tr th:first-child {
    border-left: 3px solid var(--blue-hi);
    padding-left: 11px;
}
.u-table tbody tr {
    transition: background .15s ease;
}

/* —— 分页器：现代胶囊风格 —— */
.pager { gap: 6px; }
.pager a {
    border-radius: 8px; padding: 6px 14px; font-size: 13px;
    background: var(--card); border: 1px solid var(--line);
    color: var(--ink-2); font-weight: 500;
    box-shadow: 0 1px 2px rgba(22,45,78,.04);
    transition: all .15s ease;
}
.pager a:hover {
    border-color: var(--blue); color: var(--blue);
}
.pager span {
    font-size: 12.5px; color: var(--ink-3);
    min-width: 60px; text-align: center;
    padding: 4px 8px;
}

/* —— 后台工具栏 —— */
.adm-bar {
    background: var(--bg-2);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    border-radius: 0 0 var(--radius) var(--radius);
}

/* —— 批选栏：深背景强调层 —— */
.adm-batch {
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    margin-top: 14px;
    box-shadow: inset 0 1px 0 var(--card);
}

/* —— 操作日志表：紧凑行高 + 等宽时间 —— */
.log-table td, .log-table th { padding: 9px 12px; font-size: 12.5px; }
.log-table .log-time { font-variant-numeric: tabular-nums; color: var(--ink-3); }
.log-table tbody tr:hover { background: var(--blue-soft); }
.log-table thead tr th:first-child,
.log-table tbody tr td:first-child { border-left: 3px solid var(--blue-hi); padding-left: 9px; }

/* —— 版本卡片：发布人/时间微标注 —— */
.pub-form-card {
    border-left: 3px solid var(--blue-hi);
    box-shadow: var(--shadow-sm);
}

/* —— 用户操作按钮组：更紧凑排列 —— */
.u-ops .btn-xs {
    margin-right: 3px; margin-bottom: 3px;
    font-size: 12px; padding: 3px 10px;
    border-radius: 6px;
}
.u-ops .btn-xs:hover { border-color: var(--blue); color: var(--blue); }
.u-self {
    display: inline-block;
    font-size: 12px; color: var(--ink-3);
    background: var(--bg-2); border: 1px solid var(--line);
    border-radius: 6px; padding: 2px 8px; margin-right: 4px;
}

/* —— 空状态提示 —— */
.empty-tip {
    background: var(--bg-2);
    border: 1px dashed var(--line-2);
    border-radius: var(--radius);
}

/* —— 登录注册：标题与输入框层次强化 —— */
.auth-card { padding: 36px 34px 28px; }
.auth-title {
    letter-spacing: -.3px; color: var(--ink);
}
.field-wrap input {
    transition: border-color .15s, box-shadow .15s, background .15s;
}
.field-wrap input:focus {
    background: var(--bg);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .1);
    border-color: var(--blue-hi);
}

/* —— 搜索框：更清晰焦点态 —— */
.adm-search-input {
    border-radius: var(--radius-sm);
    transition: border-color .15s, box-shadow .15s;
}
.adm-search-input:focus {
    border-color: var(--blue-hi);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .1);
}

/* —— 版本发布：文件上传区域优化 —— */
.file-upload-area {
    border: 2px dashed var(--line-2);
    border-radius: var(--radius);
    padding: 20px; text-align: center;
    color: var(--ink-3); font-size: 13px;
    background: var(--bg-2);
    transition: border-color .15s, background .15s;
    cursor: pointer;
}
.file-upload-area:hover {
    border-color: var(--blue-hi);
    background: var(--blue-soft);
}

/* —— 深色主题：补充适配 —— */
:root[data-theme="dark"] .stat-card::before { background: var(--blue); }
:root[data-theme="dark"] .u-table thead tr th:first-child { border-left-color: var(--blue); }
:root[data-theme="dark"] .log-table thead tr th:first-child,
:root[data-theme="dark"] .log-table tbody tr td:first-child { border-left-color: var(--blue); }
:root[data-theme="dark"] .empty-tip {
    background: var(--bg-2);
    border-color: var(--line-2);
}
:root[data-theme="dark"] .adm-bar {
    background: var(--bg-2);
}

/* ============================================================
   全站统一刷新层：清爽简约蓝色系
   在原有设计系统之上统一覆盖，所有页面同步生效
   ============================================================ */

body { background: var(--bg); }
:root[data-theme="dark"] body { background: var(--bg); }
::selection { background: rgba(37, 99, 235, .18); }
:root[data-theme="dark"] ::selection { background: rgba(96, 165, 250, .3); }

/* ---------- 顶栏：简洁白色 + 蓝色品牌 ---------- */
.topbar {
    background: var(--card);
    border-bottom: 1px solid var(--line);
}
:root[data-theme="dark"] .topbar { background: var(--card); }
.topbar-inner { height: 62px; }
.brand-logo { transition: transform .2s ease; }
.brand-name {
    font-size: 16px; font-weight: 700; letter-spacing: -.2px;
    color: var(--blue);
}

.nav a, .nav .nav-user { border-radius: 8px; font-weight: 500; }
.nav a:hover { background: var(--blue-soft); color: var(--blue); }
.nav a.on { background: var(--blue); color: #fff; font-weight: 600; }
.nav .nav-user.on { color: var(--blue); background: transparent; }
.nav .nav-login {
    background: var(--blue); color: #fff; border-radius: 8px;
}
.nav .nav-login:hover { background: var(--blue-deep); }
.theme-toggle { border-radius: 8px; }
.theme-toggle:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-soft); }

/* ---------- Hero：纯色横幅 ---------- */
.hero {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
}
.hero-badge {
    background: var(--blue-soft); color: var(--blue); border: 1px solid var(--line-2);
    border-radius: 6px; padding: 4px 10px; font-size: 12px; font-weight: 500;
}
.hero-badge::before { background: var(--ok); }
.cert-badge {
    background: var(--card); border: 1px solid var(--line); color: var(--blue);
    border-radius: 8px; box-shadow: var(--shadow-sm);
}
.cert-badge i { background: var(--blue); }
.hero-left h1 { font-size: 42px; font-weight: 800; letter-spacing: -.6px; color: var(--ink); }
.hero-left h1 .hl {
    color: var(--blue);
    background: none; -webkit-background-clip: border-box; background-clip: border-box;
    -webkit-text-fill-color: var(--blue);
}
.hero-stat b { font-size: 24px; font-weight: 700; color: var(--blue); }
.hero-stat:hover b { color: var(--blue-deep); }
.hero-stat + .hero-stat { border-left: 1px solid var(--line); }

/* 模拟窗口：简洁卡片 */
.mock-window {
    border-radius: 12px; border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
}
:root[data-theme="dark"] .mock-window { box-shadow: var(--shadow-sm); }
.mock-titlebar { background: var(--bg-2); }
.mock-bar i { background: var(--blue); }
.mock-item.on { background: var(--blue); color: #fff; border-left-color: transparent; border-radius: 0 6px 6px 0; }

/* ---------- 区块标题 ---------- */
.sec-title { font-size: 20px; font-weight: 700; letter-spacing: 0; }
.sec-title::before { width: 4px; height: 18px; background: var(--blue); border-radius: 2px; }
:root[data-theme="dark"] .sec-title::before { background: var(--blue); }
.sec-title-sm::before { background: var(--blue); }

/* ---------- 卡片 ---------- */
.card {
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: border-color .2s, box-shadow .2s;
}
.card:hover { box-shadow: var(--shadow-sm); }

/* ---------- 按钮：蓝色实心 + 平面 ---------- */
.btn { border-radius: var(--radius-btn); font-weight: 500; }
.btn-primary {
    background: var(--blue); color: #fff;
}
.btn-primary::after { display: none; }
.btn-primary:hover { background: var(--blue-deep); }
.btn-primary:disabled { background: var(--line-2); color: var(--ink-3); }
.btn-plain { border-radius: var(--radius-btn); }
.btn-plain:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-soft); }
.btn-xp { border-radius: var(--radius-btn); }
.btn-xp:hover { background: var(--blue-soft); border-color: var(--blue); }

/* ---------- 功能一览 ---------- */
.feat-panel { border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.feat-row:hover { background: var(--bg-2); border-left-color: var(--blue); }
.feat-icon {
    border-radius: 8px; background: var(--blue-soft);
}
.feat-icon svg { stroke: var(--blue); }
.feat-body h3 { font-size: 15px; font-weight: 600; }

/* ---------- 下载卡片 ---------- */
.dl-card { border-radius: var(--radius); }
.dl-main { border-color: var(--blue); box-shadow: var(--shadow-sm); }
.dl-main::before { height: 3px; background: var(--blue); }
.rec-tag { background: var(--blue); color: #fff; border: none; border-radius: 6px; }
.dl-os { color: var(--blue); background: var(--blue-soft); border-color: var(--line-2); border-radius: 6px; }
.dl-card:hover { border-color: var(--line-2); }
:root[data-theme="dark"] .dl-main::before { background: var(--blue); }

/* ---------- 支持的系统 ---------- */
.sup-card { border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.sup-item { border-radius: 10px; }
.sup-item:hover { border-color: var(--blue); background: var(--blue-soft); box-shadow: var(--shadow-sm); }

/* ---------- 表单 / 登录注册（已由新简约扁平层接管，仅保留反馈相关）---------- */

/* ---------- 反馈广场（auth-section 内的残留规则，移至 body.feedback 专属段）---------- */
/* （已在文件末尾 body.feedback 段中统一处理，此处保留为空注释） */

/* ---------- 分页 ---------- */
.pager a { border-radius: 8px; }
.pager a:hover { border-color: var(--blue); color: var(--blue); }

/* ---------- 社区动态 ---------- */
.comm-item { border-radius: 10px; }
.comm-item:hover { border-color: var(--blue); background: var(--blue-soft); box-shadow: var(--shadow-sm); }
.comm-item-vote { border-radius: 8px; }

/* ---------- 后台 ---------- */
.adm-head {
    border-bottom: 1px solid var(--line);
    background: var(--bg-2);
    border-radius: var(--radius) var(--radius) 0 0;
}
.stat-card { border-radius: var(--radius); border-top: none; border-image: none; }
.stat-card::before { background: var(--blue); width: 3px; }
.stat-card:hover { border-color: var(--blue); }
.stat-val { font-weight: 700; color: var(--ink); }
.stat-icon { border-radius: 8px; }
.stat-icon-blue .stat-icon { background: var(--blue-soft); color: var(--blue); }
.stat-icon-green .stat-icon { background: rgba(22, 163, 74, .10); color: #16A34A; }
.stat-icon-purple .stat-icon { background: rgba(124, 58, 237, .10); color: #7C3AED; }
.stat-icon-warn .stat-icon { background: rgba(217, 119, 6, .10); color: #D97706; }
:root[data-theme="dark"] .stat-icon-blue .stat-icon { background: rgba(96, 165, 250, .15); color: #60A5FA; }
:root[data-theme="dark"] .stat-icon-green .stat-icon { background: rgba(74, 222, 128, .15); color: #4ADE80; }
:root[data-theme="dark"] .stat-icon-purple .stat-icon { background: rgba(168, 85, 247, .15); color: #C084FC; }
:root[data-theme="dark"] .stat-icon-warn .stat-icon { background: rgba(251, 191, 36, .15); color: #FBBF24; }
.u-table thead tr th:first-child, .rank-table thead tr th:first-child { border-left: 3px solid var(--blue); }
.u-table th { background: var(--bg-2); }
.u-table tbody tr:hover { background: var(--blue-soft); }
.u-table tbody tr:nth-child(even) { background: transparent; }
.adm-bar { border-radius: 0 0 var(--radius) var(--radius); }
.adm-batch { border-radius: var(--radius); }
.log-filter-bar .chip.on { background: var(--blue); border-color: transparent; }
.pub-form-card { border-left: 3px solid var(--blue); }
.empty-tip { border-radius: var(--radius); }
.adm-search-input { border-radius: var(--radius-sm); background: var(--bg-2); }
.adm-search-input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37, 99, 235, .12); }
.adm-content { border-radius: var(--radius-sm); background: var(--bg-2); }
.adm-reply { border-radius: var(--radius-sm); background: var(--bg-2); }
.adm-reply:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37, 99, 235, .12); }
.btn-danger { border-radius: var(--radius-btn); }
.trend-bar-fill { background: var(--blue); }
.trend-bar-track { height: 8px; border-radius: 4px; }
.sys-dist-fill { background: var(--blue); border-radius: 4px; }
.fb-group-ic { background: var(--blue-soft); color: var(--blue); border-radius: 8px; }
.fb-group-head { border-bottom: 2px solid var(--blue-soft); }

/* ---------- 后台卡片 & 行间距 ---------- */
.adm-item {
    border-radius: var(--radius);
    border: 1px solid var(--line);
    transition: border-color .2s, box-shadow .2s;
}
.adm-item:hover { border-color: var(--blue); box-shadow: var(--shadow-sm); }
.dash-row { border-radius: 8px; border-bottom: none !important; transition: background .15s; }
.dash-row:hover { background: var(--bg-2); }
.uc-badge {
    font-style: normal; font-size: 11px; font-weight: 600;
    background: var(--blue-soft); color: var(--blue); border-radius: 4px; padding: 1px 6px; vertical-align: 2px;
}
.u-points { color: var(--blue); font-weight: 700; }

/* ---------- 用户中心 ---------- */
.uc-stat { border-radius: 10px; background: var(--bg-2); }
.uc-stat b { color: var(--blue); }
.uc-avatar, .uc-avatar-preview, .nav-avatar, .u-av, .cmt-avatar { border: 2px solid var(--card); }
.uc-day.on .uc-dot { background: var(--blue); border-color: transparent; }
.uc-info-item { border-radius: 10px; }
.uc-rank-item { border-radius: 10px; }

/* ---------- 页脚 ---------- */
.footer {
    background: var(--bg-2);
    border-top: 1px solid var(--line);
}
.footer-bottom .vdot { background: var(--blue); box-shadow: 0 0 0 3px rgba(37, 99, 235, .12); }

/* ---------- 顶部公告条 ---------- */
.top-notice { background: var(--blue-soft); border-top: 1px solid var(--line); }
:root[data-theme="dark"] .top-notice { background: var(--blue-soft); }
.top-notice .tn-link { color: var(--blue); font-weight: 700; }

/* ---------- 加载动画 ---------- */
.loader-ring {
    background: conic-gradient(from 90deg, transparent 0deg, var(--blue) 280deg, var(--blue-hi) 360deg);
}
.loader-text { letter-spacing: 6px; font-weight: 500; }

/* ---------- 注册欢迎弹窗 / 头像裁剪 ---------- */
.auth-ok-box, .crop-box { border-radius: 14px; box-shadow: var(--shadow-md); }
.oauth-success-icon { background: var(--blue); }
.crop-select { border-color: var(--blue); background: rgba(37, 99, 235, .10); box-shadow: 0 0 0 999px rgba(10, 14, 20, .45); }
.crop-select .cs-h { border-color: var(--blue); }

/* ---------- 安装页 / 日志 ---------- */
.install-box { border-radius: 14px; box-shadow: var(--shadow-md); }
.log-card .log-head b { background: var(--blue-soft); color: var(--blue); border-radius: 6px; }

/* ---------- 移动端：顶栏下拉面板圆角（已合并至文件末尾终层，避免覆盖 display:none 折叠） ---------- */
@media (max-width: 560px) {
    .hero { padding: 30px 22px; border-radius: 14px; }
    .hero-left h1 { font-size: 27px; }
    .auth-card { border-radius: 12px; }
}

/* ============================================================
   首页专属覆写层（仅 body.home 生效，不污染后台 / 反馈 / 登录页）
   设计取向：真人手写的系统工具官网
   · 浅灰白底 + 顶部柔和淡蓝 / 淡紫光晕，无大面积纯白
   · 大内容区块去卡片化（无圆角、无白底、无大阴影）
   · 圆角只留给小标签、按钮这类组件
   · 主标题放大加粗 + 关键词实蓝；说明文字更小更灰
   · 板块间距疏密变化（组内紧凑、板块间留白加大）
   ============================================================ */

/* ---------- 页面底色：纯浅灰白，无光晕 ---------- */
body.home { background: var(--bg); }
body.home::selection { background: rgba(37, 99, 235, .16); }
body.home .page-loading { background: #F5F6F8; }

/* ---------- 首页背景：纯色扁平，不使用渐变光晕 ---------- */

/* ---------- 顶部公告条：轻量提示条，不套卡片圆角 ---------- */
body.home .top-notice {
    background: rgba(37, 99, 235, .05);
    border-top: 1px solid rgba(37, 99, 235, .12);
    border-radius: 0;
}

/* ---------- 顶栏：半透明 + 细边，与浅灰白底融合 ---------- */
body.home .topbar {
    background: rgba(255, 255, 255, .82);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid #ECEEF1;
}
body.home .brand-name { color: var(--ink); letter-spacing: -.2px; }
body.home .brand:hover .brand-name { color: var(--blue); }

/* ---------- 板块间距疏密：Hero 与下一板块拉开，其余板块间留白加大 ---------- */
body.home main { padding-top: 40px; }
body.home section { margin-bottom: 84px; }
body.home .hero { margin-bottom: 96px; }
body.home .two-col { margin-bottom: 84px; }

/* ---------- Hero：左右分栏首屏（左文案 / 右软件界面示意） ---------- */
body.home .hero {
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 64px 48px 56px;
    gap: 56px;
}
body.home .hero-left { flex: 1.05; }
body.home .hero-right { flex: 0.95; }
body.home .hero-left h1 {
    font-size: 50px;
    line-height: 1.18;
    font-weight: 800;
    letter-spacing: -1.1px;
    margin-bottom: 18px;
    color: #1A2130;
}
body.home .hero-left h1 .hl {
    color: var(--blue);
    background: none;
    -webkit-background-clip: border-box;
    -webkit-text-fill-color: var(--blue);
}
body.home .hero-desc {
    font-size: 14.5px;
    color: #5B6775;
    max-width: 480px;
    line-height: 1.95;
    margin-bottom: 28px;
}

/* 徽章药丸：浅蓝底蓝字，纯文字 */
body.home .hero-badge {
    background: var(--blue-soft);
    border: 1px solid rgba(37, 99, 235, .18);
    color: var(--blue);
    font-size: 12px;
    font-weight: 600;
    border-radius: 999px;
    padding: 4px 14px;
    margin-bottom: 22px;
    box-shadow: none;
}
body.home .hero-badge::before { display: none; }

/* 数据行：大号蓝色数字 + 小字说明 */
body.home .hero-stats { margin-bottom: 26px; }
body.home .hero-stat b {
    font-size: 30px;
    font-weight: 800;
    color: var(--blue);
    letter-spacing: -.5px;
}
body.home .hero-stat span { font-size: 11.5px; color: #8C98A8; }
body.home .hero-meta { font-size: 12.5px; color: #8C98A8; }

/* CTA：实心蓝 + 白底描边 */
body.home .hero .btn-primary {
    background: var(--blue);
    border-radius: 8px;
    box-shadow: none;
}
body.home .hero .btn-primary:hover { background: var(--blue-deep); box-shadow: none; }
body.home .hero .btn-primary:active { transform: scale(.98); }
body.home .hero .btn-plain {
    background: #FFFFFF;
    border: 1px solid #C9D4E3;
    color: #3A4A63;
    border-radius: 8px;
    box-shadow: none;
}
body.home .hero .btn-plain:hover { background: #F7F9FC; border-color: var(--blue); color: var(--blue); box-shadow: none; }

/* ---------- 右栏：软件界面示意 + 悬浮版本横幅 ---------- */
/* 横幅小卡片：压在窗口顶边上 */
body.home .mock-banner {
    position: relative;
    z-index: 2;
    display: inline-flex;
    width: -moz-fit-content;
    width: fit-content;
    margin: 0 0 -15px 28px;
    padding: 7px 14px;
    background: var(--blue-soft);
    border: 1px solid rgba(37, 99, 235, .22);
    border-radius: 6px;
    color: var(--blue);
    font-size: 12.5px;
    font-weight: 600;
    text-decoration: none;
}
body.home .mock-banner:hover { background: #E2ECFF; }

body.home .mock-window { border-radius: 8px; border: 1px solid #DCE3ED; box-shadow: 0 2px 14px rgba(22, 45, 78, .06); }
body.home .hero-shot { border-radius: 8px; border: 1px solid #DCE3ED; box-shadow: 0 2px 14px rgba(22, 45, 78, .06); }
body.home .hero-shot figcaption { font-size: 12px; padding: 8px 14px; }
/* 标题栏：程序图标 + 名称 + 右侧最小化/关闭小方块 */
body.home .mock-app-ic {
    width: 13px; height: 13px; border-radius: 3px;
    background: var(--blue); flex-shrink: 0;
}
body.home .mock-winbtns { margin-left: auto; display: inline-flex; gap: 7px; }
body.home .mock-winbtns i {
    width: 11px; height: 11px; border-radius: 2px;
    border: 1px solid #C9D4E3; display: inline-block;
}
body.home .mock-winbtns i.close { background: #E56B63; border-color: #E56B63; }
/* 侧栏分组小标题 */
body.home .mock-side { width: 116px; padding: 12px 0; }
body.home .mock-group {
    display: block; padding: 10px 14px 4px;
    font-size: 10.5px; color: #9AA7BA; letter-spacing: .5px;
}
/* 右列：扁平监控列表（行 + 细进度条），替代原 2×2 网格 */
body.home .mock-main { display: block; padding: 14px 16px 10px; }
body.home .mock-sec-head {
    display: flex; justify-content: space-between; align-items: baseline;
    margin-bottom: 6px;
}
body.home .mock-sec-head b { font-size: 12.5px; font-weight: 700; color: #1A2130; }
body.home .mock-sec-head span { font-size: 11px; color: #8C98A8; }
body.home .mock-card {
    display: block; background: transparent;
    border: none; border-bottom: 1px solid #EDF1F6; border-radius: 0;
    box-shadow: none; padding: 9px 2px;
}
body.home .mock-card:last-child { border-bottom: none; }
body.home .mock-card .mock-row { margin-bottom: 6px; }
body.home .mock-bar { height: 4px; border-radius: 2px; }
body.home .mock-bar i { border-radius: 2px; }

/* ---------- 区块标题：去掉蓝色渐变竖条，改用细分割 + 大留白 ---------- */
body.home .sec-title {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -.3px;
    color: #1A2130;
    margin-bottom: 24px;
    padding-left: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}
body.home .sec-title::before {
    display: block;
    content: "";
    position: static;
    transform: none;
    width: 26px;
    height: 3px;
    border-radius: 2px;
    background: var(--blue);
    flex-shrink: 0;
}
body.home .comm-head .sec-title { font-size: 22px; }

/* ---------- 功能一览：去卡片化，无白底无圆角无阴影，发丝分割线 ---------- */
body.home .feat-panel {
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
}
body.home .feat-row {
    background: transparent;
    padding: 22px 0;
}
body.home .feat-row + .feat-row {
    border-top: 1px solid #E7ECF3;
}
body.home .feat-row:hover {
    background: transparent;
    border-left-color: var(--blue);
}
body.home .feat-row:hover .feat-body h3 { color: var(--blue); }
body.home .feat-icon {
    background: transparent;
    box-shadow: none;
    border-radius: 7px;
}
body.home .feat-row:hover .feat-icon {
    background: rgba(37, 99, 235, .07);
}
body.home .feat-body h3 {
    font-size: 15px;
    font-weight: 700;
    color: #1A2130;
    margin-bottom: 5px;
    transition: color .15s;
}
body.home .feat-body p {
    font-size: 13px;
    color: #5B6775;
    line-height: 1.85;
}

/* ---------- 更新日志 + 下载卡片：去白底大圆角，主卡细边框高亮 ---------- */
body.home .dl-card {
    background: transparent;
    border: 1px solid #E3E8F0;
    border-radius: 0;
    box-shadow: none;
}
body.home .dl-main {
    border: 1px solid var(--blue);
    background: #FFFFFF;
    box-shadow: none;
}
body.home .dl-main::before { display: none; }
body.home .dl-xp {
    border: 1px solid #E3E8F0;
    background: #FDFCF8;
}
body.home .dl-card:hover {
    box-shadow: 0 2px 10px rgba(22, 45, 78, .06);
    transform: none;
}
body.home .rec-tag {
    background: var(--blue);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .4px;
}
body.home .dl-main .dl-name { font-size: 17px; }
body.home .dl-xp .dl-name { font-size: 15px; }
body.home .dl-os {
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    color: #3A4A63;
    background: #EEF2F8;
    border: 1px solid #DCE3ED;
}
body.home .dl-name {
    font-size: 16px;
    font-weight: 800;
    letter-spacing: -.2px;
    color: #1A2130;
}
body.home .dl-info { font-size: 12.5px; color: #8C98A8; }
body.home .dl-card .btn-primary {
    background: var(--blue);
    border-radius: 8px;
    font-weight: 700;
    box-shadow: none;
    padding: 12px 24px;
    font-size: 15px;
}
body.home .dl-card .btn-primary:hover {
    background: var(--blue-deep);
    box-shadow: none;
}
body.home .dl-card .btn-primary:active { transform: scale(.98); }
body.home .dl-card .btn-plain {
    background: #FFFFFF;
    border: 1px solid #C9D4E3;
    color: #3A4A63;
    border-radius: 8px;
    box-shadow: none;
}
body.home .dl-card .btn-plain:hover { background: #F7F9FC; border-color: var(--blue); color: var(--blue); box-shadow: none; }
body.home .safe-item {
    border-radius: 4px;
    font-size: 11.5px;
}
body.home .dl-note {
    border-radius: 0;
    border: 1px solid #F0DCC4;
    border-left: 3px solid #E8A33D;
    background: #FFFBF2;
}

/* ---------- 支持系统：去白底大圆角，发丝分割，图标去悬浮投影 ---------- */
body.home .sup-card {
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    gap: 0;
}
body.home .sup-item {
    border: 1px solid #E7ECF3;
    border-radius: 0;
    background: transparent;
    padding: 22px 14px;
    box-shadow: none;
}
body.home .sup-item + .sup-item { border-left: none; }
body.home .sup-item:hover {
    background: #FFFFFF;
    border-color: var(--blue);
    box-shadow: none;
    transform: none;
}
body.home .sup-item b { font-size: 14px; font-weight: 700; }
body.home .sup-off-tag {
    border-radius: 4px;
    font-size: 10.5px;
}

/* ---------- 系统要求：去白底大圆角，发丝线 ---------- */
body.home .req-card {
    background: transparent;
    border: 1px solid #E7ECF3;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
}
body.home .req-card li {
    border-bottom: 1px solid #E7ECF3;
    background: transparent;
}
body.home .req-card li:nth-child(even) { background: transparent; }
body.home .req-card li:hover::before { background: var(--blue); }
body.home .req-card li b { color: #1A2130; font-weight: 700; }
body.home .req-card li span { color: #5B6775; }

/* ---------- 社区动态：去白底圆角，发丝分割 ---------- */
body.home .comm-list { gap: 0; }
body.home .comm-item {
    background: transparent;
    border: 1px solid #E7ECF3;
    border-radius: 0;
    padding: 15px 18px;
}
body.home .comm-item + .comm-item { border-top: none; }
body.home .comm-item:hover {
    background: #FFFFFF;
    border-color: var(--blue);
    box-shadow: none;
}
body.home .comm-item-main b { font-size: 14px; font-weight: 700; color: #1A2130; }
body.home .comm-item-meta { font-size: 12px; color: #8C98A8; }
body.home .comm-item-vote {
    background: #EEF2F8;
    border-radius: 4px;
    font-size: 11.5px;
    color: #5B6775;
}
body.home .comm-empty {
    background: #FFFFFF;
    border: 1px dashed #DCE3ED;
    border-radius: 0;
    padding: 30px;
}

/* ---------- 深色主题适配（首页） ---------- */
:root[data-theme="dark"] body.home { background: #0F1523; }
:root[data-theme="dark"] body.home .topbar {
    background: rgba(27, 36, 56, .85);
    border-bottom-color: var(--line);
}
:root[data-theme="dark"] body.home .hero-left h1 { color: var(--ink); }
:root[data-theme="dark"] body.home .hero-desc { color: var(--ink-2); }
:root[data-theme="dark"] body.home .hero-stat span { color: var(--ink-3); }
:root[data-theme="dark"] body.home .hero-meta { color: var(--ink-3); }
:root[data-theme="dark"] body.home .hero-badge { border-color: rgba(96, 165, 250, .28); }
:root[data-theme="dark"] body.home .hero .btn-plain {
    background: var(--card);
    border-color: var(--line-2);
    color: var(--ink-2);
}
:root[data-theme="dark"] body.home .hero .btn-plain:hover {
    background: var(--blue-soft);
    border-color: var(--blue);
    color: var(--blue);
}
/* 右栏 mock 深色适配 */
:root[data-theme="dark"] body.home .mock-banner { border-color: rgba(96, 165, 250, .3); }
:root[data-theme="dark"] body.home .mock-banner:hover { background: #24335A; }
:root[data-theme="dark"] body.home .hero-shot { border-color: var(--line-2); }
:root[data-theme="dark"] body.home .hero-shot figcaption { background: var(--bg-2); color: var(--ink-3); border-top-color: var(--line); }
:root[data-theme="dark"] body.home .mock-window { border-color: var(--line-2); }
:root[data-theme="dark"] body.home .mock-winbtns i { border-color: var(--line-2); }
:root[data-theme="dark"] body.home .mock-group { color: var(--ink-3); }
:root[data-theme="dark"] body.home .mock-sec-head b { color: var(--ink); }
:root[data-theme="dark"] body.home .mock-sec-head span { color: var(--ink-3); }
:root[data-theme="dark"] body.home .mock-card { border-bottom-color: var(--line); }
:root[data-theme="dark"] body.home .sec-title { color: var(--ink); }
:root[data-theme="dark"] body.home .feat-row + .feat-row { border-top-color: var(--line); }
:root[data-theme="dark"] body.home .feat-body h3 { color: var(--ink); }
:root[data-theme="dark"] body.home .feat-body p { color: var(--ink-2); }
:root[data-theme="dark"] body.home .feat-row:hover .feat-icon { background: rgba(96, 165, 250, .12); }
:root[data-theme="dark"] body.home .log-card {
    border-color: var(--line);
    border-left-color: var(--blue);
    box-shadow: 0 1px 4px rgba(0, 0, 0, .3);
}
:root[data-theme="dark"] body.home .log-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, .4);
}
:root[data-theme="dark"] body.home .log-head {
    border-bottom-color: var(--line);
}
:root[data-theme="dark"] body.home .log-head b {
    background: rgba(37, 99, 235, .18);
    box-shadow: none;
}
:root[data-theme="dark"] body.home .log-body {
    background: rgba(255, 255, 255, .04);
    border-color: var(--line);
    color: #94A3B8;
}
:root[data-theme="dark"] body.home .log-body::before {
    background: #0F1523;
    color: rgba(96, 165, 250, .8);
}
:root[data-theme="dark"] body.home .dl-card {
    border-color: var(--line);
}
:root[data-theme="dark"] body.home .dl-main {
    border-color: var(--blue);
    background: var(--card);
}
:root[data-theme="dark"] body.home .dl-xp {
    border-color: rgba(224, 163, 77, .35);
    background: var(--bg-2);
}
:root[data-theme="dark"] body.home .dl-os {
    color: var(--ink-2);
    background: var(--bg-2);
    border-color: var(--line-2);
}
:root[data-theme="dark"] body.home .dl-name { color: var(--ink); }
:root[data-theme="dark"] body.home .dl-info { color: var(--ink-3); }
:root[data-theme="dark"] body.home .dl-card .btn-plain {
    background: var(--card);
    border-color: var(--line-2);
    color: var(--ink-2);
    border-radius: 8px;
}
:root[data-theme="dark"] body.home .dl-card .btn-plain:hover {
    background: var(--blue-soft);
    border-color: var(--blue);
    color: var(--blue);
}
:root[data-theme="dark"] body.home .dl-note {
    background: rgba(224, 163, 77, .08);
    border-color: rgba(224, 163, 77, .3);
}
:root[data-theme="dark"] body.home .sup-item {
    border-color: var(--line);
}
:root[data-theme="dark"] body.home .sup-item:hover {
    background: var(--card);
    border-color: var(--blue);
}
:root[data-theme="dark"] body.home .sup-item b { color: var(--ink); }
:root[data-theme="dark"] body.home .sup-item span { color: var(--ink-3); }
:root[data-theme="dark"] body.home .req-card { border-color: var(--line); }
:root[data-theme="dark"] body.home .req-card li { border-bottom-color: var(--line); }
:root[data-theme="dark"] body.home .req-card li b { color: var(--ink); }
:root[data-theme="dark"] body.home .req-card li span { color: var(--ink-2); }
:root[data-theme="dark"] body.home .comm-item {
    border-color: var(--line);
}
:root[data-theme="dark"] body.home .comm-item:hover {
    background: var(--bg-2);
    border-color: var(--blue);
}
:root[data-theme="dark"] body.home .comm-item-main b { color: var(--ink); }
:root[data-theme="dark"] body.home .comm-item-vote {
    background: var(--bg-2);
    color: var(--ink-2);
}
:root[data-theme="dark"] body.home .comm-empty {
    background: var(--card);
    border-color: var(--line-2);
}
:root[data-theme="dark"] body.home .top-notice {
    background: rgba(96, 165, 250, .08);
    border-top-color: rgba(96, 165, 250, .18);
}

/* ---------- 首页移动端：保持疏密节奏与无卡片化 ---------- */
@media (max-width: 560px) {
    body.home main { padding-top: 24px; }
    body.home section { margin-bottom: 56px; }
    body.home .hero { margin-bottom: 56px; padding: 34px 22px 28px; }
    body.home .hero-left h1 { font-size: 30px; }
    body.home .hero-desc { margin-bottom: 22px; }
    body.home .hero-stat b { font-size: 22px; }
    body.home .dl-main .dl-name { font-size: 15px; }
    body.home .dl-xp .dl-name { font-size: 14px; }
    /* 下载卡片：更紧凑内边距 + 圆角优化 */
    body.home .dl-card { padding: 22px 16px 18px; border-radius: 12px; }
    body.home .dl-main .dl-name { font-size: 16px; letter-spacing: -.3px; }
    body.home .dl-xp .dl-name { font-size: 14px; }
    body.home .dl-info { font-size: 12px; margin-bottom: 12px; }
    body.home .dl-safe { gap: 5px; margin-bottom: 10px; }
    body.home .safe-item { font-size: 11px; padding: 2px 7px; }
    body.home .dl-card .btn-primary { padding: 11px 18px; font-size: 14px; width: 100%; }
    body.home .dl-card .btn-plain { padding: 10px 18px; font-size: 13px; width: 100%; }
    body.home .dl-tip { font-size: 11.5px; margin-top: 8px; padding: 0 4px; }
    body.home .rec-tag { font-size: 10px; padding: 2px 8px; margin-bottom: 8px; }
    body.home .dl-os { font-size: 10.5px; padding: 1px 8px; margin-bottom: 8px; }
    body.home .xp-final-tag { font-size: 10px; padding: 2px 8px; margin-bottom: 8px; }
    body.home .xp-frozen { font-size: 11px; margin: -4px 0 12px; }
    /* 更新日志卡片 */
    body.home .log-card { padding: 18px 16px; }
    body.home .log-head { margin-bottom: 8px; }
    body.home .log-head b { font-size: 13px; padding: 3px 10px; }
    body.home .log-head span { font-size: 12px; }
    body.home .log-body { font-size: 12.5px; line-height: 1.8; padding: 12px; }
}

/* ============================================================
   后台专属覆写层（仅 body.admin 生效，不影响前台 / 反馈 / 登录页）
   设计取向：真人手写的管理系统 —— 信息密度优先、克制装饰
   · 浅灰底；内容块白底 + 发丝边框，不用大圆角 / 重阴影
   · 顶部 tab 改为「底边指示」的克制分段控件，不再是彩色胶囊
   · 统计卡去掉彩色顶条与悬浮位移；蓝色只用于强调
   · 颜色全部走主题变量，深浅色自动适配
   ============================================================ */

body.admin { background: var(--bg); }

/* ---------- 顶栏：与全站一致，细边分割 ---------- */
body.admin .topbar { background: var(--card); border-bottom: 1px solid var(--line); }
body.admin .brand-name { color: var(--ink); }
body.admin .brand:hover .brand-name { color: var(--blue); }

/* ---------- 主容器留白收紧，信息更紧凑 ---------- */
body.admin main { padding-top: 26px; padding-bottom: 64px; }

/* ---------- 顶部 tab：底边指示的分段控件 ---------- */
body.admin .fb-tabs {
    display: flex; gap: 0; flex-wrap: wrap;
    background: transparent; border: none;
    border-bottom: 1px solid var(--line);
    border-radius: 0; padding: 0; margin-bottom: 4px;
}
body.admin .fb-tab {
    position: relative;
    padding: 11px 15px;
    border: none !important; border-radius: 0;
    background: transparent;
    color: var(--ink-3);
    font-size: 13.5px; font-weight: 500;
    box-shadow: none;
    transform: none !important;
}
body.admin .fb-tab i {
    background: var(--bg-2); color: var(--ink-3);
    border-radius: 6px; font-size: 11px;
}
body.admin .fb-tab:hover { color: var(--blue); background: transparent; }
body.admin .fb-tab.on {
    background: transparent; color: var(--blue); font-weight: 600;
    box-shadow: none;
}
body.admin .fb-tab.on::after {
    content: ''; position: absolute; left: 11px; right: 11px; bottom: -1px;
    height: 2px; background: var(--blue); border-radius: 2px 2px 0 0;
}
body.admin .fb-tab.on i { background: var(--blue-soft); color: var(--blue); }
body.admin .fb-tab.on:hover { background: transparent; color: var(--blue); }

/* ---------- 页面标题区：去灰底圆角顶盖，改细分割线 ---------- */
body.admin .adm-head {
    display: flex; align-items: center; gap: 16px;
    background: transparent; border: none; border-radius: 0;
    border-bottom: 1px solid var(--line);
    padding: 20px 0 14px; margin-bottom: 4px;
}
body.admin .sec-title {
    font-size: 19px; font-weight: 700; color: var(--ink);
    letter-spacing: -.2px; padding-left: 0;
}
body.admin .sec-title::before { display: none; }
body.admin .adm-sub { font-size: 12.5px; color: var(--ink-3); }

/* ---------- 统计卡：去彩色顶条 / 去位移 / 细边框 ---------- */
body.admin .stat-grid { gap: 12px; margin-top: 18px; }
body.admin .stat-card {
    background: var(--card); border: 1px solid var(--line);
    border-radius: 10px; box-shadow: none;
    padding: 16px 18px;
    transform: none !important;
}
body.admin .stat-card::before { display: none; }
body.admin .stat-card:hover { border-color: var(--line-2); box-shadow: none; }
body.admin .stat-card .stat-icon { border-radius: 8px; transform: none !important; }
body.admin .stat-label { font-size: 12.5px; color: var(--ink-3); }
body.admin .stat-val, body.admin .stat-card .stat-val {
    font-size: 25px; font-weight: 800; color: var(--ink); letter-spacing: -.5px;
}
body.admin .stat-val.is-warn { color: var(--warn); }
body.admin .stat-foot { font-size: 11.5px; color: var(--ink-3); }

/* ---------- 内容块：统一细边框 + 小圆角，去重阴影 ---------- */
body.admin .card,
body.admin .adm-block,
body.admin .adm-users,
body.admin .pub-form-card,
body.admin .fb-filter,
body.admin .empty-tip {
    background: var(--card); border: 1px solid var(--line);
    border-radius: 10px; box-shadow: none;
}
body.admin .card:hover { box-shadow: none; }
body.admin .adm-block { padding: 20px 22px; margin-bottom: 16px; }
body.admin .pub-form-card { border-left: 1px solid var(--line); padding: 22px; }

/* ---------- 表格：紧凑、表头浅灰、行悬浮淡蓝 ---------- */
body.admin .u-table { font-size: 13.5px; }
body.admin .u-table thead tr th {
    background: var(--bg-2); color: var(--ink-3);
    font-weight: 600; border-bottom: 1px solid var(--line);
    padding: 11px 14px;
}
body.admin .u-table thead tr th:first-child { border-left: none; }
body.admin .u-table tbody tr td { padding: 12px 14px; border-bottom: 1px solid var(--line); }
body.admin .u-table tbody tr:last-child td { border-bottom: none; }
body.admin .u-table tbody tr:hover { background: var(--blue-soft); }

/* ---------- 表单 / 筛选 / 批量栏 ---------- */
body.admin .adm-search-input { background: var(--card); border-radius: 8px; }
body.admin .chip { border-radius: 7px; background: var(--card); }
body.admin .chip.on { background: var(--blue); border-color: var(--blue); color: #fff; }
body.admin .adm-bar { border-radius: 10px; }
body.admin .adm-content, body.admin .adm-reply { background: var(--bg-2); }

/* ---------- 危险按钮：描边红，不抢眼 ---------- */
body.admin .btn-danger {
    background: transparent; color: var(--err); border: 1px solid var(--line-2);
}
body.admin .btn-danger:hover {
    background: var(--bg-2); border-color: var(--err); color: var(--err);
}

/* ---------- 分页 / 空状态 ---------- */
body.admin .pager { margin-top: 18px; }
body.admin .empty-tip { color: var(--ink-3); }

/* ---------- 移动端：统计卡两列 / tab 紧凑 ---------- */
@media (max-width: 720px) {
    body.admin .stat-grid { grid-template-columns: repeat(2, 1fr); }
    body.admin .fb-tab { padding: 10px 11px; font-size: 13px; }
    body.admin .adm-head { flex-wrap: wrap; }
}

/* ============================================================
   前台页面专属覆写层（body.feedback / body.user / body.auth-page）
   设计取向：轻微背景区分各页，保持克制蓝色系，无多余装饰
   ============================================================ */

/* ---------- 反馈广场：现代专业简约 UI ---------- */
body.feedback { background: var(--bg); background-image: none; }
:root[data-theme="dark"] body.feedback { background: var(--bg); background-image: none; }
body.feedback::after { opacity: 0; }
body.feedback main { padding-top: 28px; }

/* 页面标题区 */
body.feedback > main > .fb-hero {
    display: flex; justify-content: space-between; align-items: flex-end;
    gap: 20px; margin-bottom: 24px; flex-wrap: wrap;
    padding-bottom: 20px;
}
body.feedback .fb-hero-left { flex: 1; min-width: 0; }
body.feedback .fb-hero h2 { font-size: 20px; font-weight: 700; color: var(--ink); margin: 0 0 6px; letter-spacing: -.3px; }
body.feedback .fb-hero-desc { color: var(--ink-2); font-size: 13.5px; line-height: 1.7; max-width: 520px; margin: 0; }

/* 统计指标：轻量数据条 */
body.feedback .fb-stat {
    display: flex; gap: 28px; align-items: center; flex-shrink: 0;
    padding: 14px 24px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(16,26,40,.04);
}
body.feedback .fb-stat-item {
    display: flex; align-items: center; gap: 10px; min-width: 0;
}
body.feedback .fb-stat-ic {
    width: 34px; height: 34px; flex-shrink: 0; border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
}
body.feedback .fb-stat-ic svg { width: 16px; height: 16px; }
body.feedback .fb-stat-ic.fb-ic-bug { background: rgba(220,38,38,.08); color: var(--err); }
body.feedback .fb-stat-ic.fb-ic-feat { background: rgba(37,99,235,.08); color: var(--blue); }
body.feedback .fb-stat-ic.fb-ic-done { background: rgba(22,163,74,.08); color: var(--ok); }
:root[data-theme="dark"] .fb-stat-ic.fb-ic-bug { background: rgba(220,38,38,.14); }
:root[data-theme="dark"] .fb-stat-ic.fb-ic-feat { background: rgba(37,99,235,.14); }
:root[data-theme="dark"] .fb-stat-ic.fb-ic-done { background: rgba(22,163,74,.14); }
body.feedback .fb-stat-num { display: flex; flex-direction: column; }
body.feedback .fb-stat-num b { font-size: 18px; line-height: 1.2; color: var(--ink); font-weight: 700; }
body.feedback .fb-stat-num span { font-size: 11px; color: var(--ink-3); letter-spacing: .3px; }

/* Tab 栏：现代分段控制器 */
body.feedback .fb-tabs {
    display: flex; gap: 0; margin: 0 0 20px;
    border-radius: 8px;
    background: var(--bg-2);
    border: 1px solid var(--line);
    overflow: hidden;
    padding: 3px;
}
body.feedback .fb-tab {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 7px 20px;
    border: none; border-radius: 6px; background: none; box-shadow: none;
    font-size: 13.5px; font-weight: 500; color: var(--ink-2); text-decoration: none;
    transition: all .15s ease;
    flex: 1; justify-content: center;
}
body.feedback .fb-tab i {
    font-style: normal; font-size: 11px; color: var(--ink-3);
    background: var(--line); padding: 1px 7px; border-radius: 99px; line-height: 1.4;
    transition: all .15s ease;
}
body.feedback .fb-tab:hover { color: var(--ink); }
body.feedback .fb-tab.on {
    background: var(--card); color: var(--ink); font-weight: 600;
    box-shadow: 0 1px 4px rgba(16,26,40,.08);
}
body.feedback .fb-tab.on i { background: var(--blue-soft); color: var(--blue); font-weight: 600; }
:root[data-theme="dark"] body.feedback .fb-tab.on { background: var(--card); box-shadow: 0 2px 6px rgba(0,0,0,.15); }

/* 筛选栏：标签式过滤器 */
body.feedback .fb-filter { margin: 0 0 20px; padding: 0; }
body.feedback .fb-filter-row {
    display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
    padding: 0; margin-bottom: 10px;
}
body.feedback .fb-filter-row:last-child { margin-bottom: 0; }
body.feedback .fb-filter-label {
    font-size: 11px; font-weight: 600; color: var(--ink-3);
    width: 34px; flex-shrink: 0; text-transform: uppercase; letter-spacing: .5px;
}

/* 筛选 Chip：现代胶囊标签 */
body.feedback .chip {
    padding: 4px 13px; border: 1px solid var(--line); border-radius: 99px;
    font-size: 12.5px; font-weight: 500; color: var(--ink-2);
    background: var(--card); text-decoration: none;
    transition: all .12s ease; cursor: pointer;
}
body.feedback .chip:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-soft); }
body.feedback .chip.on {
    border-color: var(--blue); background: var(--blue);
    color: #fff; font-weight: 600;
}
:root[data-theme="dark"] body.feedback .chip { background: var(--card); }
:root[data-theme="dark"] body.feedback .chip.on { background: var(--blue); border-color: var(--blue); color: #fff; }

/* 反馈条目：现代列表行 */
body.feedback .fb-list-col .fb-item {
    background: var(--card) !important;
    border: 1px solid var(--line) !important;
    border-radius: 10px !important;
    box-shadow: 0 1px 3px rgba(16,26,40,.04) !important;
    padding: 18px 20px !important; margin: 0 0 10px !important;
    position: relative !important;
    transition: border-color .18s ease, box-shadow .18s ease;
}
body.feedback .fb-list-col .fb-item:hover {
    border-color: var(--line-2) !important;
    box-shadow: 0 4px 12px rgba(16,26,40,.08) !important;
}
body.feedback .fb-list-col .fb-item::before { display: none !important; }
:root[data-theme="dark"] body.feedback .fb-item { background: var(--card) !important; border-color: var(--line-2) !important; }
:root[data-theme="dark"] body.feedback .fb-item:hover { border-color: var(--blue-hi) !important; box-shadow: 0 4px 16px rgba(0,0,0,.2) !important; }

/* 条目内部 */
body.feedback .fb-item-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; flex-wrap: wrap; }
body.feedback .fb-title { flex: 1; min-width: 0; font-size: 15px; font-weight: 600; color: var(--ink); line-height: 1.4; }
body.feedback .tag {
    font-size: 11px; font-weight: 600; padding: 2px 10px;
    border-radius: 99px; background: var(--bg-2); color: var(--ink-2);
    border: 1px solid var(--line);
}
body.feedback .tag-bug { background: rgba(220,38,38,.06); color: var(--err); border-color: rgba(220,38,38,.15); }
body.feedback .tag-feature { background: rgba(37,99,235,.06); color: var(--blue); border-color: rgba(37,99,235,.15); }
body.feedback .tag-other { background: var(--bg-2); color: var(--ink-3); border-color: var(--line); }
body.feedback .fb-status {
    font-size: 11px; font-weight: 600; padding: 2px 10px;
    border-radius: 99px; flex-shrink: 0;
}
body.feedback .st0 { background: rgba(217,119,6,.1); color: var(--warn); }
body.feedback .st1 { background: rgba(37,99,235,.1); color: var(--blue); }
body.feedback .st2 { background: rgba(22,163,74,.1); color: var(--ok); }
:root[data-theme="dark"] body.feedback .st0 { background: rgba(217,119,6,.18); }
:root[data-theme="dark"] body.feedback .st1 { background: rgba(37,99,235,.18); }
:root[data-theme="dark"] body.feedback .st2 { background: rgba(22,163,74,.18); }
body.feedback .fb-meta { display: flex; gap: 14px; font-size: 12px; color: var(--ink-3); margin-bottom: 8px; flex-wrap: wrap; }
body.feedback .fb-author { color: var(--ink-2); font-weight: 600; }
body.feedback .fb-os {
    display: inline-flex; align-items: center; padding: 1px 9px;
    border-radius: 99px; background: var(--blue-soft); color: var(--blue);
    font-size: 11px; font-weight: 500;
}
:root[data-theme="dark"] body.feedback .fb-os { background: rgba(37,99,235,.15); color: var(--blue-hi); }
body.feedback .fb-item-body { color: var(--ink-2); font-size: 13.5px; line-height: 1.7; margin: 0; }
body.feedback .fb-reply {
    margin: 10px 0 0; padding: 10px 14px;
    background: rgba(22,163,74,.05); border-left: 3px solid var(--ok);
    font-size: 13px; border-radius: 6px; line-height: 1.65; color: var(--ink-2);
}
body.feedback .fb-reply b { color: var(--ok); margin-right: 6px; font-weight: 700; font-size: 12px; }
:root[data-theme="dark"] body.feedback .fb-reply { background: rgba(22,163,74,.1); }

/* 操作按钮 */
body.feedback .fb-item-foot { margin-top: 14px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding-top: 12px; border-top: 1px solid var(--line); }
:root[data-theme="dark"] body.feedback .fb-item-foot { border-top-color: var(--line-2); }
body.feedback .bs-count-static { font-size: 12px; color: var(--ink-3); }
body.feedback .bs-count-static a { color: var(--blue); text-decoration: none; }
body.feedback .bs-count-static a:hover { text-decoration: underline; }
body.feedback .btn-support {
    display: inline-flex; align-items: center; gap: 5px;
    border: 1px solid var(--line); background: var(--card); color: var(--ink-2);
    border-radius: 99px; padding: 4px 14px; font-size: 12.5px; font-weight: 500;
    cursor: pointer; font-family: inherit; transition: all .15s ease;
}
body.feedback .btn-support:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-soft); }
body.feedback .btn-support.on { border-color: var(--blue); background: var(--blue); color: #fff; }
body.feedback .btn-support.on:hover { background: var(--blue-deep); }
body.feedback .btn-support .bs-arrow { font-style: normal; font-size: 11px; }
body.feedback .btn-support .bs-count { font-size: 12.5px; font-weight: 700; }
body.feedback .btn-support.on .bs-count { color: #fff; }
body.feedback .btn-comment {
    display: inline-flex; align-items: center; gap: 4px;
    border: none; background: none; color: var(--ink-3);
    border-radius: 99px; padding: 4px 12px; font-size: 12.5px;
    cursor: pointer; font-family: inherit; transition: all .15s ease;
}
body.feedback .btn-comment:hover { color: var(--blue); background: var(--blue-soft); }
body.feedback .btn-comment .bc-count { font-size: 12.5px; font-weight: 700; color: var(--ink-2); }
:root[data-theme="dark"] body.feedback .btn-support { background: var(--card); border-color: var(--line-2); }
:root[data-theme="dark"] body.feedback .btn-support:hover { border-color: var(--blue-hi); background: rgba(37,99,235,.1); }

/* 评论区 */
body.feedback .fb-comments { margin: 0; padding: 14px 0 0; border-top: 1px dashed var(--line); }
:root[data-theme="dark"] body.feedback .fb-comments { border-top-color: var(--line-2); }
body.feedback .fb-comments > .fb-cmt-inner { overflow: hidden; min-height: 0; }
body.feedback .fb-comments[hidden] { display: none; }
body.feedback .fb-cmt-list { display: grid; gap: 10px; }
body.feedback .cmt-empty { color: var(--ink-3); font-size: 12px; padding: 4px 0; }
body.feedback .cmt {
    padding: 12px 14px; background: var(--bg-2);
    border: 1px solid var(--line); border-radius: 8px;
}
:root[data-theme="dark"] body.feedback .cmt { background: rgba(255,255,255,.03); border-color: var(--line-2); }
body.feedback .cmt-head { display: flex; align-items: center; gap: 10px; font-size: 11.5px; margin-bottom: 5px; }
body.feedback .cmt-name { color: var(--ink); font-weight: 600; }
body.feedback .cmt-name.me { color: var(--blue); }
body.feedback .cmt-loc, body.feedback .cmt-time { color: var(--ink-3); }
body.feedback .cmt-time { margin-left: auto; }
body.feedback .cmt-del {
    border: none; background: none; color: var(--ink-3); cursor: pointer;
    font-size: 14px; line-height: 1; padding: 0 2px; font-family: inherit;
}
body.feedback .cmt-del:hover { color: var(--err); }
body.feedback .cmt-body { font-size: 13px; color: var(--ink-2); word-break: break-word; white-space: pre-wrap; line-height: 1.6; }
body.feedback .fb-cmt-form { display: flex; gap: 8px; margin-top: 12px; align-items: center; }
body.feedback .fb-cmt-input {
    flex: 1; border: 1px solid var(--line); border-radius: 8px;
    background: var(--card); padding: 8px 12px; font-size: 13px;
    color: var(--ink); outline: none; transition: border-color .15s ease, box-shadow .15s ease;
    font-family: inherit;
}
body.feedback .fb-cmt-input:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(37,99,235,.1);
}
:root[data-theme="dark"] body.feedback .fb-cmt-input { background: var(--card); border-color: var(--line-2); }
:root[data-theme="dark"] body.feedback .fb-cmt-input:focus { border-color: var(--blue-hi); box-shadow: 0 0 0 3px rgba(59,130,246,.15); }
body.feedback .fb-cmt-err { font-size: 11.5px; color: var(--err); min-height: 15px; margin-top: 4px; width: 100%; }
body.feedback .fb-cmt-login { font-size: 12px; color: var(--ink-3); margin-top: 10px; }
body.feedback .fb-cmt-login a { color: var(--blue); text-decoration: none; }
body.feedback .fb-cmt-login a:hover { text-decoration: underline; }

/* 系统分区 */
body.feedback .fb-group { margin-top: 24px; }
body.feedback .fb-group:first-of-type { margin-top: 0; }
body.feedback .fb-group-head {
    display: flex; align-items: center; gap: 10px;
    margin: 0 0 12px; padding: 0;
}
body.feedback .fb-group-ic {
    width: 28px; height: 28px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    background: var(--blue-soft); border-radius: 7px;
}
body.feedback .fb-group-ic svg {
    width: 14px; height: 14px; fill: none; stroke: var(--blue);
    stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}
:root[data-theme="dark"] body.feedback .fb-group-ic { background: rgba(37,99,235,.15); }
:root[data-theme="dark"] body.feedback .fb-group-ic svg { stroke: var(--blue-hi); }
body.feedback .fb-group-title { font-size: 15px; font-weight: 700; color: var(--ink); margin: 0; letter-spacing: -.2px; }
body.feedback .fb-group-count { font-size: 11.5px; color: var(--ink-3); font-weight: 500; }
body.feedback .fb-group-more {
    margin-left: auto; font-size: 12.5px; font-weight: 500;
    color: var(--blue); white-space: nowrap; text-decoration: none;
    transition: opacity .12s;
}
body.feedback .fb-group-more:hover { opacity: .7; text-decoration: underline; }
body.feedback .fb-group-body { display: grid; gap: 10px; }

/* 空状态 */
body.feedback .empty-tip.card {
    background: var(--card); border: 1px solid var(--line);
    border-radius: 10px; padding: 32px 20px; text-align: center;
    color: var(--ink-3); font-size: 13.5px;
    box-shadow: 0 1px 3px rgba(16,26,40,.04);
}
:root[data-theme="dark"] body.feedback .empty-tip.card { background: var(--card); border-color: var(--line-2); }

/* 分页 */
body.feedback .pager { margin: 20px 0 4px; display: flex; align-items: center; justify-content: center; gap: 6px; }
body.feedback .pager a {
    padding: 7px 18px; font-size: 13px; font-weight: 500;
    color: var(--ink-2); text-decoration: none;
    background: var(--card); border: 1px solid var(--line); border-radius: 8px;
    transition: all .12s ease;
}
body.feedback .pager a:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-soft); }
:root[data-theme="dark"] body.feedback .pager a { background: var(--card); border-color: var(--line-2); }
body.feedback .pager span { font-size: 13px; color: var(--ink-3); padding: 0 6px; }

/* 侧栏表单 */
body.feedback .fb-form-col { padding-top: 0; }
body.feedback .fb-form-col h2 { margin-bottom: 16px; }
body.feedback .fb-form-col .card {
    background: var(--card); border: 1px solid var(--line);
    border-radius: 10px; box-shadow: 0 1px 3px rgba(16,26,40,.04);
    padding: 20px;
}
:root[data-theme="dark"] body.feedback .fb-form-col .card { background: var(--card); border-color: var(--line-2); }
body.feedback .fb-login-tip {
    font-size: 13px; color: var(--ink-2); line-height: 1.6;
    padding: 0; margin: 0;
}
body.feedback .fb-login-tip a { color: var(--blue); text-decoration: none; font-weight: 500; }
body.feedback .fb-login-tip a:hover { text-decoration: underline; }
body.feedback .fb-type-pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 18px; }
body.feedback .fb-type-opt { position: relative; cursor: pointer; }
body.feedback .fb-type-opt input { position: absolute; opacity: 0; pointer-events: none; }
body.feedback .fb-type-opt span {
    display: flex; flex-direction: column; align-items: center; gap: 7px;
    padding: 12px 8px 11px;
    border: 1.5px solid var(--line); border-radius: 8px;
    font-size: 12px; font-weight: 500; color: var(--ink-2); text-align: center;
    background: var(--card); transition: all .15s ease;
}
body.feedback .fb-type-opt .fb-type-ic {
    width: 28px; height: 28px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: var(--bg-2); color: var(--ink-3);
    transition: all .15s ease;
}
body.feedback .fb-type-opt .fb-type-ic svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
body.feedback .fb-type-opt:hover span { border-color: var(--ink-2); color: var(--ink); }
body.feedback .fb-type-opt:hover .fb-type-ic { background: var(--bg-2); }
body.feedback .fb-type-opt input:checked + span {
    border-color: var(--blue); background: var(--blue-soft); color: var(--blue); font-weight: 600;
}
body.feedback .fb-type-opt input:checked + .fb-type-ic { background: var(--blue); color: #fff; }
:root[data-theme="dark"] body.feedback .fb-type-opt input:checked + span { background: rgba(37,99,235,.12); border-color: var(--blue-hi); color: var(--blue-hi); }
:root[data-theme="dark"] body.feedback .fb-type-opt input:checked + .fb-type-ic { background: var(--blue); color: #fff; }
body.feedback .fb-count-row { display: flex; align-items: center; justify-content: flex-end; margin-top: 4px; gap: 8px; }
body.feedback .fb-count { font-size: 11px; color: var(--ink-3); }
body.feedback .fb-count b { color: var(--ink-2); font-weight: 600; }
body.feedback .fb-count.over { color: var(--err); }
body.feedback .fb-count.over b { color: var(--err); }

/* 表单字段 */
body.feedback .field { margin-bottom: 16px; }
body.feedback .field > span {
    font-size: 12.5px; color: var(--ink); font-weight: 600;
    margin-bottom: 6px; display: block;
}
body.feedback .field > span small { color: var(--ink-3); font-weight: 400; margin-left: 6px; font-size: 11px; }
body.feedback .field input, body.feedback .field textarea, body.feedback .field select {
    border-radius: 7px; border: 1px solid var(--line);
    background: var(--card); padding: 9px 12px; font-size: 13.5px; color: var(--ink);
    outline: none; transition: border-color .15s ease, box-shadow .15s ease;
    width: 100%; box-sizing: border-box; font-family: inherit;
}
body.feedback .field textarea { resize: vertical; min-height: 100px; line-height: 1.6; }
body.feedback .field input:focus, body.feedback .field textarea:focus, body.feedback .field select:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(37,99,235,.1);
}
:root[data-theme="dark"] body.feedback .field input,
:root[data-theme="dark"] body.feedback .field textarea,
:root[data-theme="dark"] body.feedback .field select {
    background: var(--card); border-color: var(--line-2);
}
:root[data-theme="dark"] body.feedback .field input:focus,
:root[data-theme="dark"] body.feedback .field textarea:focus,
:root[data-theme="dark"] body.feedback .field select:focus {
    border-color: var(--blue-hi);
    box-shadow: 0 0 0 3px rgba(59,130,246,.15);
}
body.feedback .fb-os-select {
    appearance: none; -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238895A8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 12px center;
    padding-right: 32px !important; cursor: pointer;
}
:root[data-theme="dark"] body.feedback .fb-os-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238895A8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
}
body.feedback .field .field-err { font-size: 11.5px; color: var(--err); min-height: 15px; margin-top: 4px; display: block; }
body.feedback .btn-block { border-radius: 8px; width: 100%; margin-top: 4px; padding: 10px; font-size: 14px; }
body.feedback .form-msg { margin-top: 10px; font-size: 12.5px; min-height: 18px; }

/* 深色主题全局适配 */
:root[data-theme="dark"] body.feedback .fb-hero { padding-bottom: 20px; }
:root[data-theme="dark"] body.feedback .fb-stat { background: var(--card); border-color: var(--line-2); box-shadow: none; }
:root[data-theme="dark"] body.feedback .fb-tabs { background: rgba(255,255,255,.05); border-color: var(--line-2); }
:root[data-theme="dark"] body.feedback .chip { background: var(--card); }
:root[data-theme="dark"] body.feedback .fb-item { background: var(--card); }

/* ---------- 用户中心：卡片化，信息分组清晰 ---------- */
body.user { background: var(--bg); }
:root[data-theme="dark"] body.user { background: #0D1320; }
body.user main { padding-top: 28px; }
body.user .uc-layout .card { border-radius: var(--radius); }
body.user .uc-stats .uc-stat { border-radius: var(--radius-sm); }
body.user .uc-block { background: var(--bg-2); border: 1px solid var(--line-2); border-radius: var(--radius-sm); padding: 14px 16px; }
body.user .uc-block-title { margin-bottom: 10px; }
body.user .uc-info { grid-template-columns: repeat(2, 1fr); gap: 8px; }
body.user .uc-info-item { border-radius: 6px; }
body.user .uc-sign { border-radius: var(--radius); }
body.user .uc-rank .uc-rank-item { border-radius: var(--radius-sm); }
body.user .adm-users { border-radius: var(--radius); }
body.user .uc-edit { border-radius: var(--radius); }
body.user .uc-board { margin-top: 24px; }
body.user .uc-board .empty-tip { border-radius: var(--radius); }
:root[data-theme="dark"] body.user .uc-block { background: var(--bg); border-color: var(--line-2); }
:root[data-theme="dark"] body.user .uc-info-item { background: var(--bg); }

/* ============================================================
   首页视觉精修层（仅 body.home 生效，不动后台 / 反馈 / 登录页）
   取向：保留"去卡片化、真人手写系统工具官网"基调，
   叠加克制的微动效 + 细节打磨，增强层次与品质感
   ============================================================ */

/* ---------- 1. 首屏 hero 入场：元素依次上浮渐显 ----------
   仅用 CSS 动画做装饰，不依赖 opacity:0 初始隐藏，
   任何情况下首屏文字都默认可见，杜绝「主页没有字」。 */
@media (prefers-reduced-motion: no-preference) {
    body.home .hero-left > *,
    body.home .hero-right > * {
        animation: homeFadeUp .55s cubic-bezier(.22, .65, .36, 1) backwards;
    }
    body.home .hero-left > *:nth-child(1) { animation-delay: .04s; }
    body.home .hero-left > *:nth-child(2) { animation-delay: .10s; }
    body.home .hero-left > *:nth-child(3) { animation-delay: .16s; }
    body.home .hero-left > *:nth-child(4) { animation-delay: .22s; }
    body.home .hero-left > *:nth-child(5) { animation-delay: .28s; }
    body.home .hero-right > * { animation-delay: .16s; }
}
@keyframes homeFadeUp {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ---------- 2. 滚动渐显：区块卡片进入视口时淡入上浮 ----------
   默认（无 JS）完全可见；有 JS 时也保持可见（仅轻微下移），
   滚动触发 .in 后平滑归位。任何情况下文字都可见，杜绝「主页没有字」。 */
body.home .rev {
    opacity: 1;
    transform: none;
}
html.js body.home .rev {
    opacity: 1;
    transform: translateY(14px);
    transition: opacity .6s cubic-bezier(.22, .65, .36, 1), transform .6s cubic-bezier(.22, .65, .36, 1);
    will-change: opacity, transform;
}
body.home .rev.in {
    opacity: 1;
    transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
    html.js body.home .rev { opacity: 1; transform: none; transition: none; }
}

/* ---------- 3. hero 打磨：标题排版 ---------- */
body.home .hero-left h1 {
    text-wrap: balance;
}
/* mock 窗口：hover 仅轻微加深边框，不上浮 */
body.home .hero-shot {
    transition: box-shadow .3s;
}
body.home .hero-shot:hover {
    box-shadow: 0 4px 18px rgba(22, 45, 78, .10);
}
:root[data-theme="dark"] body.home .hero-shot:hover { box-shadow: 0 4px 18px rgba(0, 0, 0, .5); }

/* ---------- 4. 功能一览：图标质感 + hover 平滑上浮 ---------- */
body.home .feat-row {
    position: relative;
    padding-left: 8px;
}
body.home .feat-row .feat-icon {
    transition: background .2s;
}
body.home .feat-row::after {
    content: "";
    position: absolute;
    left: 0; top: 50%;
    width: 3px; height: 0;
    border-radius: 2px;
    background: var(--blue);
    transform: translateY(-50%);
    transition: height .2s ease;
}
body.home .feat-row:hover::after { height: 60%; }

/* ---------- 5. 下载卡片：hover 仅加深描边，不上浮不发光 ---------- */
body.home .dl-main {
    position: relative;
    transition: border-color .2s;
}
body.home .dl-main:hover {
    border-color: var(--blue-deep);
    box-shadow: none;
}
body.home .dl-xp {
    transition: border-color .2s;
}
body.home .dl-xp:hover {
    border-color: #D8C6A6;
    box-shadow: none;
}

/* ---------- 6. 支持系统 / 系统要求：hover 仅换底色，不上浮 ---------- */
body.home .sup-item {
    transition: background .2s, border-color .2s;
}
body.home .sup-item:hover {
    background: var(--bg-2);
    box-shadow: none;
}
body.home .sup-item b, body.home .sup-item span {
    transition: color .18s;
}
body.home .sup-item:hover b { color: var(--blue); }
body.home .req-card li {
    transition: background .18s;
}
body.home .req-card li:hover { background: rgba(37, 99, 235, .045); }
:root[data-theme="dark"] body.home .req-card li:hover { background: rgba(96, 165, 250, .08); }

/* ---------- 7. 社区动态：hover 左描边，不上浮不发光 ---------- */
body.home .comm-item {
    position: relative;
    transition: background .2s, border-color .2s;
}
body.home .comm-item:hover {
    box-shadow: none;
}
body.home .comm-item::before {
    content: "";
    position: absolute;
    left: -1px; top: 0; bottom: 0;
    width: 3px;
    border-radius: 0 2px 2px 0;
    background: var(--blue);
    opacity: 0;
    transition: opacity .2s;
}
body.home .comm-item:hover::before { opacity: 1; }

/* ---------- 8. 区块标题：辅助小字说明（可选扩展） ---------- */
body.home .sec-title { position: relative; }
body.home .sec-title .sub {
    font-size: 12.5px;
    font-weight: 500;
    color: #8C98A8;
    letter-spacing: 0;
    margin-left: auto;
}
:root[data-theme="dark"] body.home .sec-title .sub { color: var(--ink-3); }

/* ---------- 9. 移动端：动效收敛，保持流畅 ---------- */
@media (max-width: 560px) {
    /* 移动端：取消 hero 入场动画，默认完全可见 */
    body.home .hero-left > *, body.home .hero-right > * {
        animation: none;
        opacity: 1;
    }
    body.home .hero-shot:hover { transform: none; box-shadow: 0 2px 14px rgba(22, 45, 78, .06); }
    body.home .sup-item:hover { transform: none; }
    body.home .dl-main:hover, body.home .dl-xp:hover { transform: none; }
}

/* ---------- 10. 反馈广场手机版优化 ---------- */
@media (max-width: 560px) {
    /* 统计区：纵向堆叠 */
    body.feedback .fb-hero { flex-direction: column; align-items: flex-start; gap: 16px; }
    body.feedback .fb-stat { width: 100%; justify-content: space-between; gap: 16px; padding: 12px 16px; }
    body.feedback .fb-stat-item { gap: 8px; }
    body.feedback .fb-stat-ic { width: 30px; height: 30px; }
    body.feedback .fb-stat-ic svg { width: 14px; height: 14px; }
    body.feedback .fb-stat-num b { font-size: 16px; }
    body.feedback .fb-stat-num span { font-size: 10px; }

    /* Tab：水平滚动 */
    body.feedback .fb-tabs { overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
    body.feedback .fb-tabs::-webkit-scrollbar { display: none; }
    body.feedback .fb-tab { flex: 0 0 auto; padding: 7px 18px; font-size: 13px; }
    body.feedback .fb-tab i { display: none; }

    /* 筛选：标签换行 */
    body.feedback .fb-filter { margin-bottom: 16px; }
    body.feedback .fb-filter-row { gap: 6px; margin-bottom: 8px; }
    body.feedback .fb-filter-label { width: auto; margin-bottom: 2px; }
    body.feedback .chip { padding: 4px 12px; font-size: 12px; }

    /* 条目：紧凑 */
    body.feedback .fb-list-col .fb-item { padding: 14px 16px !important; margin: 0 0 8px !important; }
    body.feedback .fb-title { font-size: 14px; }
    body.feedback .fb-meta { gap: 10px; font-size: 11.5px; margin-bottom: 6px; }
    body.feedback .fb-os { display: none; }
    body.feedback .fb-item-body { font-size: 13px; }
    body.feedback .fb-reply { padding: 8px 12px; font-size: 12.5px; }
    body.feedback .fb-item-foot { gap: 8px; padding-top: 10px; }
    body.feedback .btn-support, body.feedback .btn-comment { padding: 4px 12px; font-size: 12px; }

    /* 表单 */
    body.feedback .fb-form-col .card { padding: 16px; }
    body.feedback .fb-type-pick { grid-template-columns: 1fr 1fr; gap: 8px; }
    body.feedback .field { margin-bottom: 14px; }
    body.feedback .field input, body.feedback .field textarea, body.feedback .field select { padding: 10px 12px; font-size: 14px; }

    /* 评论区 */
    body.feedback .fb-comments { padding: 10px 0 0; }
    body.feedback .fb-cmt-list { gap: 8px; }
    body.feedback .cmt { padding: 10px 12px; }

    /* 分区 */
    body.feedback .fb-group { margin-top: 18px; }
    body.feedback .fb-group-head { gap: 8px; }
    body.feedback .fb-group-ic { width: 24px; height: 24px; }
    body.feedback .fb-group-ic svg { width: 12px; height: 12px; }
    body.feedback .fb-group-title { font-size: 14px; }

    /* 分页 */
    body.feedback .pager { gap: 4px; margin: 16px 0 4px; }
    body.feedback .pager a { padding: 6px 14px; font-size: 12.5px; }
}

/* ==========================================================================
   技术精密风 · 全站主控层（Technical Precision Master Layer）
   追加于文件末尾。依赖 :root 中的 --mono / --accent / --grid-line / --noise-op。
   作用：在保留既有页面结构的前提下，统一收敛为「精密仪器面板」质感：
   细网格底纹 + 噪点、等宽技术标签、精密分层边框与微阴影、克制的微动效。
   ========================================================================== */

/* ---------- 0. 基底：细网格 + 噪点 ---------- */
body, body.home, body.admin, body.feedback, body.user, body.auth-page, body.docs {
    background-color: var(--bg);
    background-image:
        linear-gradient(var(--grid-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
    background-size: 30px 30px, 30px 30px;
    background-attachment: fixed;
}
body::after {
    content: ""; position: fixed; inset: 0; z-index: 1; pointer-events: none;
    opacity: var(--noise-op);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 140px 140px;
}

/* ---------- 1. 顶栏：扁平 Material3 · 无阴影无毛玻璃 ---------- */
.topbar {
    background: var(--card);
    border-bottom: 1px solid var(--line);
    box-shadow: none;
}
:root[data-theme="dark"] .topbar { background: var(--card); box-shadow: none; }
.topbar-inner { height: 60px; }
.brand { gap: 9px; }
.brand-name {
    font-size: 15.5px; font-weight: 700; letter-spacing: -.2px;
    color: var(--ink);
}
.brand:hover .brand-name { color: var(--blue); }
.brand-logo { filter: none; }

/* 导航：M3 胶囊高亮（secondary-container），去掉下划线模板感 */
.nav { gap: 2px; }
.nav a, .nav .nav-user {
    border-radius: 999px; padding: 7px 14px;
    font-size: 13.5px; letter-spacing: .2px; color: var(--ink-2);
    transition: color .15s, background .15s;
}
.nav a:hover { background: var(--bg-2); color: var(--ink); }
.nav a.on {
    background: var(--blue-soft); color: var(--blue); font-weight: 600;
    position: relative;
}
.nav a.on::after { content: none; }
.nav .nav-user { color: var(--ink); font-weight: 600; }
.nav .nav-user:hover { background: var(--bg-2); }
.nav .nav-user.on { background: var(--blue-soft); color: var(--blue); }
.nav .nav-ghost { color: var(--ink-3); border-radius: 999px; }
.nav .nav-ghost:hover { color: var(--err); background: var(--err-soft, #fdecea); }
.nav .nav-login {
    border-radius: 999px; padding: 7px 18px; margin-left: 8px;
    background: var(--blue); color: #fff; font-weight: 600;
    box-shadow: none;
}
.nav .nav-login:hover { background: var(--blue-deep); color: #fff; }
.nav .nav-login.on { background: var(--blue-deep); color: #fff; }

/* 头像：细描边环，选中态加主色环 */
.nav-avatar { border: 1px solid var(--line-2); }
.nav .nav-user.on .nav-avatar { border-color: var(--blue); }

.theme-toggle { border-radius: 999px; }
.theme-toggle:hover { background: var(--bg-2); }

/* ---------- 2. 主标题：精密刻度 + 等宽辅助 ---------- */
.sec-title {
    font-size: 19px; font-weight: 750; letter-spacing: -.2px;
    padding-left: 15px; margin-bottom: 18px;
}
.sec-title::before {
    width: 3px; height: 19px; border-radius: 0;
    background: linear-gradient(180deg, var(--blue), var(--accent));
}
.sec-title-sm { padding-left: 11px; letter-spacing: -.1px; }
.sec-title-sm::before {
    width: 3px; height: 14px; border-radius: 0;
    background: linear-gradient(180deg, var(--blue), var(--accent));
}

/* ---------- 3. 卡片：精密边框 + 微阴影 + 顶部高光 ---------- */
.card {
    border-radius: var(--radius);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm), var(--shadow-line);
    transition: border-color .18s, box-shadow .18s, transform .18s;
}
.card:hover { box-shadow: var(--shadow-md), var(--shadow-line); }

/* ---------- 4. 按钮：纯净平实 + 精准反馈 ----------
   去掉渐变/堆叠阴影，统一为扁平纯色 + 单层柔和投影；
   主按钮在深色主题下用绝对色值保证对比稳定，hover 仅做微位移。 */
.btn {
    border-radius: 8px;
    padding: 9px 22px;
    font-weight: 600;
    letter-spacing: .2px;
    transition: background .16s, border-color .16s, color .16s, box-shadow .16s, transform .12s;
}
.btn:active { transform: translateY(0); }
.btn-primary,
.dl-card .btn-primary,
.auth-actions .btn-primary,
body.home .hero .btn-primary,
body.home .dl-card .btn-primary {
    background: var(--blue);
    border: 1px solid var(--blue);
    color: #fff;
    border-radius: 8px;
    padding: 9px 24px;
    font-weight: 600;
    box-shadow: 0 1px 2px rgba(16, 26, 40, .10);
}
.btn-primary:hover,
.dl-card .btn-primary:hover,
.auth-actions .btn-primary:hover,
body.home .hero .btn-primary:hover,
body.home .dl-card .btn-primary:hover {
    background: var(--blue-deep);
    border-color: var(--blue-deep);
    box-shadow: 0 4px 12px rgba(37, 99, 235, .20);
    transform: translateY(-1px);
}
.btn-primary:active,
.dl-card .btn-primary:active,
.auth-actions .btn-primary:active,
body.home .hero .btn-primary:active,
body.home .dl-card .btn-primary:active {
    background: #1D4ED8;
    border-color: #1D4ED8;
    box-shadow: 0 1px 2px rgba(16, 26, 40, .10);
    transform: translateY(0);
}
.btn-primary:disabled,
body.home .hero .btn-primary:disabled {
    background: var(--line-2); border-color: var(--line-2); color: var(--ink-3);
    box-shadow: none; transform: none;
}
.btn-plain,
body.home .hero .btn-plain {
    background: var(--card);
    border: 1px solid var(--line-2);
    color: var(--ink);
    border-radius: 8px;
    padding: 9px 22px;
    font-weight: 600;
    box-shadow: 0 1px 2px rgba(16, 26, 40, .04);
}
.btn-plain:hover,
body.home .hero .btn-plain:hover {
    background: color-mix(in srgb, var(--blue) 6%, var(--card));
    border-color: var(--blue);
    color: var(--blue);
    box-shadow: 0 3px 10px rgba(37, 99, 235, .10);
    transform: translateY(-1px);
}
.btn-xp, body.home .dl-card .btn-xp { border-radius: 8px; font-weight: 600; }
.btn-xp:hover { transform: translateY(-1px); }

/* ---------- 5. 标签 / 芯片 / 分页：中英混排的克制排版 ----------
   中文标签一律使用界面无衬线字体（等宽会让中英字形割裂、字距失衡）；
   等宽字体只保留给纯数字 / 版本号 / 拉丁文。
   下面这些标签里多为中文，因此统一回退到 --sans。 */
.tag, .chip, .fb-tab, .pager a, .pager span,
.hero-badge, .mock-banner, .sup-tag, .dl-os,
.fb-group-count, .fb-status, .adm-status, .fb-os {
    font-family: var(--sans);
    letter-spacing: .2px;
}
.tag, .sup-tag, .dl-os, .fb-os { font-size: 11.5px; font-weight: 500; }
.chip { border-radius: 6px; font-size: 12px; }
.chip.on { box-shadow: 0 3px 10px rgba(37, 99, 235, .25); }
.fb-tab { border-radius: 7px; }
.pager a, .pager span { border-radius: 6px; }

/* Hero 徽章：克制的浅蓝药丸，中文字体回归无衬线 */
.hero-badge,
body.home .hero-badge {
    border-radius: 999px;
    font-family: var(--sans);
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: .3px;
    padding: 5px 15px;
    color: var(--blue);
    background: linear-gradient(180deg, #FFFFFF, var(--blue-soft));
    border: 1px solid color-mix(in srgb, var(--blue) 24%, var(--line));
    box-shadow: 0 1px 2px rgba(37, 99, 235, .07), var(--shadow-line);
}
:root[data-theme="dark"] .hero-badge,
:root[data-theme="dark"] body.home .hero-badge {
    background: linear-gradient(180deg, rgba(96, 165, 250, .14), rgba(96, 165, 250, .05));
    border-color: color-mix(in srgb, var(--blue) 30%, var(--line));
}

/* ---------- 6. 首页 Hero：非对称精密版式 ---------- */
body.home .hero {
    background: transparent; border: 0; border-radius: 0;
    box-shadow: none; padding: 44px 0 60px; margin-bottom: 56px;
    border-bottom: 1px solid var(--line);
    position: relative;
}
body.home .hero::before {
    content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
    background: linear-gradient(90deg, var(--blue) 0 64px, transparent 64px);
}
body.home .hero-left { flex: 1.16; min-width: 0; }
body.home .hero-right { flex: .84; min-width: 0; }
body.home .hero-left h1 {
    font-size: 34px; line-height: 1.28; letter-spacing: -.6px; font-weight: 800;
}
body.home .hero-left h1 .hl {
    background: linear-gradient(120deg, var(--blue), var(--accent));
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
body.home .hero-desc { font-size: 14px; line-height: 1.9; color: var(--ink-2); }
body.home .hero-stats { gap: 0; }
body.home .hero-stat {
    padding: 0 22px; border-left: 1px solid var(--line);
}
body.home .hero-stat:first-child { padding-left: 0; border-left: 0; }
body.home .hero-stat b {
    font-family: var(--mono); font-size: 24px; font-weight: 700;
    letter-spacing: -.4px; font-variant-numeric: tabular-nums;
}
body.home .hero-stat span {
    font-family: var(--sans); font-size: 12px; letter-spacing: .2px;
    color: var(--ink-3);
}
body.home .hero-meta {
    font-family: var(--sans); font-size: 12.5px; letter-spacing: .1px;
    color: var(--ink-3);
}
body.home .hero-meta b { color: var(--ink-2); font-weight: 600; }
body.home .mock-banner {
    border-radius: 8px; letter-spacing: .3px;
    border: 1px solid color-mix(in srgb, var(--blue) 22%, var(--line));
}
body.home .hero-shot {
    border-radius: 10px;
    box-shadow: 0 18px 40px rgba(23, 45, 84, .14), 0 0 0 1px var(--line);
}

/* ---------- 7.5 下方 section：滚动进入淡入（一次性）+ 下载推荐卡锚点 ----------
   仅装饰性入场，opacity 初始不隐藏；reduced-motion 下完全静止，首屏永不可见风险为 0。 */
@media (prefers-reduced-motion: no-preference) {
    body.home .features,
    body.home .two-col,
    body.home .sys-support,
    body.home .sys-req,
    body.home .community {
        animation: homeSecIn .5s ease backwards;
    }
    body.home .two-col { animation-delay: .08s; }
    body.home .sys-support { animation-delay: .14s; }
    body.home .sys-req { animation-delay: .2s; }
    body.home .community { animation-delay: .26s; }
}
@keyframes homeSecIn {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}
/* 推荐下载卡：顶部一条极细蓝色发丝，作为下载区视觉锚点（不做满色块） */
body.home .dl-card.dl-main { position: relative; }
body.home .dl-card.dl-main::before {
    content: ""; position: absolute; left: 16px; right: 16px; top: -1px;
    height: 2px; border-radius: 2px;
    background: linear-gradient(90deg, var(--blue), color-mix(in srgb, var(--blue) 35%, transparent));
}

/* ---------- 7. 功能面板：等宽序号 + 悬停精密反馈 ---------- */
.feat-panel { border-radius: var(--radius); box-shadow: var(--shadow-sm), var(--shadow-line); }
.feat-row { padding: 18px 22px; }
.feat-row:hover { border-left-color: var(--accent); }
.feat-icon {
    border-radius: 7px;
    background: linear-gradient(135deg, var(--blue-soft), color-mix(in srgb, var(--accent-soft) 70%, var(--blue-soft)));
}
.feat-body h3 { font-size: 15px; font-weight: 700; letter-spacing: -.1px; }

/* ---------- 8. 表单控件：精密内描边 ---------- */
.field input, .field textarea, .field select,
.set-input, .fb-cmt-input, .fb-os-select {
    border-radius: 7px;
    transition: border-color .15s, box-shadow .15s, background .15s;
}
.field input:focus, .field textarea:focus, .field select:focus,
.set-input:focus, .fb-cmt-input:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue) 14%, transparent);
}

/* ---------- 9. 表格：精密网格 ---------- */
.u-table th {
    font-family: var(--sans); font-size: 12px; font-weight: 600;
    letter-spacing: .2px; color: var(--ink-2);
}

/* ---------- 10. 公告条 / 页脚：精密收尾 ---------- */
.top-notice {
    background: color-mix(in srgb, var(--blue-soft) 70%, var(--card));
    border-top: 1px solid var(--line);
    font-size: 12.5px;
}
.footer {
    border-top: 1px solid var(--line);
    background: color-mix(in srgb, var(--bg) 60%, var(--card));
}
.footer-links a { font-size: 13px; letter-spacing: .2px; }
.footer-bottom { font-family: var(--sans); font-size: 12.5px; letter-spacing: .1px; }
.footer-ver { letter-spacing: .3px; }
.footer-ver .vdot {
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok) 18%, transparent);
    animation: tp-pulse 2.4s ease-in-out infinite;
}
@keyframes tp-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: .45; }
}

/* ---------- 11. 公告条（运营工具）：固定单行，不滚动 ----------
   左侧"新"徽标 + 居中文案 + 右侧 CTA，整条可点击跳转下载区。
   文案过长时中间区域截断省略，避免挤压两侧。 */
.tp-marquee {
    position: relative;
    display: flex; align-items: center; gap: 10px;
    padding: 10px 18px;
    background: var(--blue-soft);
    border-bottom: 1px solid var(--line);
    text-decoration: none; cursor: pointer;
}
.tp-marquee-new {
    flex-shrink: 0; font-size: 11px; font-weight: 700; letter-spacing: .5px;
    color: #fff; background: var(--blue);
    padding: 3px 9px; border-radius: 999px;
    box-shadow: 0 1px 4px rgba(37, 99, 235, .35);
}
.tp-marquee-text {
    flex: 1 1 auto; min-width: 0;
    font-family: var(--sans); font-size: 13px; color: var(--ink-2);
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.tp-marquee-cta {
    flex-shrink: 0; font-size: 13px; font-weight: 600; color: var(--blue);
    transition: opacity .15s;
}
.tp-marquee:hover .tp-marquee-cta { opacity: .7; }
:root[data-theme="dark"] .tp-marquee { background: rgba(0, 94, 235, .14); }

/* ---------- 12. 站点公告弹窗（运营工具） ---------- */
.tp-popup-mask {
    position: fixed; inset: 0; z-index: 60; display: flex;
    align-items: center; justify-content: center; padding: 24px;
    background: rgba(12, 20, 32, .5); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
    opacity: 0; pointer-events: none; transition: opacity .22s ease;
}
.tp-popup-mask.on { opacity: 1; pointer-events: auto; }
.tp-popup {
    position: relative;
    width: 100%; max-width: 460px; background: var(--card);
    border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: var(--shadow-md); overflow: hidden;
    transform: translateY(12px) scale(.98); transition: transform .24s cubic-bezier(.2,.8,.3,1);
}
.tp-popup-mask.on .tp-popup { transform: none; }
.tp-popup-head {
    display: flex; align-items: center; gap: 9px; padding: 15px 18px;
    border-bottom: 1px solid var(--line);
    background: linear-gradient(180deg, color-mix(in srgb, var(--blue) 7%, var(--card)), var(--card));
}
.tp-popup-head b { font-size: 15px; font-weight: 700; }
.tp-popup-head .tp-popup-dot {
    width: 8px; height: 8px; border-radius: 50%; background: var(--blue);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--blue) 18%, transparent);
}
.tp-popup-body {
    padding: 18px; font-size: 13.5px; line-height: 1.85; color: var(--ink-2);
    max-height: 50vh; overflow-y: auto; word-break: break-word;
}
.tp-popup-foot {
    display: flex; justify-content: flex-end; gap: 10px; padding: 12px 18px 16px;
}
.tp-popup-x {
    position: absolute; top: 12px; right: 14px; border: 0; background: transparent;
    color: var(--ink-3); font-size: 20px; line-height: 1; cursor: pointer;
}
.tp-popup-x:hover { color: var(--err); }

/* ---------- 13. 友情链接（运营工具） ---------- */
.footer-friend {
    display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px;
    padding: 14px 0; border-top: 1px solid var(--line); margin-top: 16px;
}
.footer-friend b {
    font-family: var(--sans); font-size: 12px; font-weight: 600;
    letter-spacing: .2px; color: var(--ink-3);
}
.footer-friend a { font-size: 12.5px; color: var(--ink-2); }
.footer-friend a:hover { color: var(--blue); }
.icp-link {
    margin-left: 10px; padding-left: 10px; border-left: 1px solid var(--line);
    color: var(--ink-3); font-size: 12px;
}
.icp-link:hover { color: var(--blue); }

/* ---------- 14. 下载页说明 / 强制更新提示 ---------- */
.tp-dl-note {
    margin-top: 14px; padding: 12px 16px; border-radius: 8px;
    border: 1px solid var(--line); border-left: 3px solid var(--accent);
    background: color-mix(in srgb, var(--accent-soft) 55%, var(--card));
    font-size: 12.5px; line-height: 1.8; color: var(--ink-2);
}
.tp-update-tip {
    display: flex; align-items: center; gap: 10px;
    padding: 9px 16px; font-size: 12.5px; font-family: var(--sans);
    background: color-mix(in srgb, var(--warn) 12%, var(--card));
    border-bottom: 1px solid var(--line); color: var(--warn);
}
.tp-update-tip b { color: var(--warn); }

/* ---------- 15. 移动端收敛 ---------- */
@media (max-width: 560px) {
    body.home .hero { padding: 30px 0 40px; }
    body.home .hero-left h1 { font-size: 26px; }
    body.home .hero-stat { padding: 0 14px; }
    body.home .hero-stat b { font-size: 19px; }
}

/* 授权登录（auth.php）：信息行 + 权限清单 */
body.auth-page .oauth-user {
    border: 1px solid var(--line); border-radius: 10px;
    background: var(--bg-2); padding: 14px 16px; margin: 2px 0 16px;
}
body.auth-page .oauth-avatar {
    width: 42px; height: 42px; border-radius: 50%;
    border: 1px solid var(--line); object-fit: cover; background: var(--card);
}
body.auth-page .oauth-userinfo b { font-size: 14.5px; font-weight: 650; color: var(--ink); }
body.auth-page .oauth-userinfo span { font-size: 12px; }
body.auth-page .oauth-badge {
    font-size: 11px; color: var(--blue); background: var(--blue-soft);
    border-radius: 999px; padding: 3px 10px; font-weight: 600;
}
:root[data-theme="dark"] body.auth-page .oauth-user { background: var(--bg-2); }

body.auth-page .oauth-perm-box {
    background: var(--bg-2); border: 1px solid var(--line);
    border-radius: 10px; padding: 14px 16px; margin-bottom: 12px;
}
body.auth-page .oauth-perm-box .oauth-caption { font-size: 12px; margin: 0 0 9px; }
body.auth-page .oauth-perm-box .oauth-perms { border: 0; background: transparent; margin: 0; }
body.auth-page .oauth-perm-box .oauth-perms li {
    padding: 9px 12px 9px 30px; margin-bottom: 8px;
    background: var(--card); border: 1px solid var(--line);
    border-radius: 8px; font-size: 13px;
}
body.auth-page .oauth-perm-box .oauth-perms li:last-child { margin-bottom: 0; }
body.auth-page .oauth-perm-box .oauth-perms li::before {
    left: 13px; top: 50%; width: 13px; height: 13px;
    border: 1.6px solid var(--blue); border-radius: 50%;
    box-sizing: border-box; transform: translateY(-50%);
}
body.auth-page .oauth-hint { font-size: 12px; }

/* 授权成功页：成功图标更克制（纯色圆 + 微投影），不放大光晕 */
body.auth-page .oauth-success-icon {
    width: 52px; height: 52px; border-radius: 50%;
    background: var(--blue); color: #fff;
    box-shadow: 0 4px 12px rgba(37, 99, 235, .24);
}
body.auth-page .oauth-success-icon span { font-size: 24px; font-weight: 700; }
body.auth-page .auth-success #oauth-retry-btn {
    width: 100%; margin-top: 6px;
}

/* ==========================================================================
   简约专业风 · 官网首页重设计层（置于最末，优先级最高）
   方向：真实软件工具产品落地页，克制、现代、可信。
   · 浅蓝灰底 + 顶部极淡蓝光晕，局部色块区分区域，不大面积纯白
   · 大内容区块去卡片化（无白底无统一大圆角），仅少量浅色小卡片
   · 圆角只给按钮 / 小标签，且分区域差异化，不全局统一
   · 主按钮实心蓝视觉权重最高；次按钮描边更小更轻
   · 文字层级拉开：主标题最大加粗，正文中灰，辅助说明浅灰，统计数字放大加粗
   · 间距疏密变化：组内紧凑、大板块间留白充足，不要全部数值相等
   ========================================================================== */

/* ---------- 令牌：主色收敛为工程蓝 ---------- */
:root {
    --blue: #2563eb;
    --blue-deep: #1d4ed8;
    --blue-hi: #3b82f6;
    --blue-soft: #eaf1ff;
    --radius: 10px;
    --radius-sm: 7px;
    --radius-btn: 7px;
    --noise-op: 0;
}

/* ---------- 页面底色：极浅蓝灰，去网格噪点，顶部淡蓝光晕 ---------- */
body, body.home, body.admin, body.feedback, body.user, body.docs {
    background-color: #f5f7fb;
    background-image: none;
}
body::after { display: none; }
body.home::before {
    content: ""; position: absolute; inset: 0 0 auto 0; height: 640px; pointer-events: none; z-index: 0;
    background:
        radial-gradient(42rem 26rem at 18% -6%, rgba(37,99,235,.07), transparent 60%),
        radial-gradient(46rem 30rem at 88% -4%, rgba(8,145,178,.05), transparent 62%);
}
body.home { position: relative; }
:root[data-theme="dark"] { --noise-op: 0; }
:root[data-theme="dark"] body,
:root[data-theme="dark"] body.home,
:root[data-theme="dark"] body.admin,
:root[data-theme="dark"] body.feedback,
:root[data-theme="dark"] body.user,
:root[data-theme="dark"] body.docs { background-color: #0e1421; background-image: none; }
:root[data-theme="dark"] body.home::before {
    background:
        radial-gradient(42rem 26rem at 18% -6%, rgba(37,99,235,.10), transparent 60%),
        radial-gradient(46rem 30rem at 88% -4%, rgba(8,145,178,.08), transparent 62%);
}

/* ---------- 顶栏：纯白，细底边，无厚重阴影 ---------- */
.topbar {
    background: #ffffff;
    -webkit-backdrop-filter: none; backdrop-filter: none;
    border-bottom: 1px solid #e6eaf1;
    box-shadow: 0 1px 0 rgba(22,45,78,.03);
}
:root[data-theme="dark"] .topbar {
    background: #121a2b;
    border-bottom-color: #24304a;
    box-shadow: none;
}
.brand-logo { filter: none; }

/* ---------- 按钮：主实心蓝（视觉权重最高）、次描边（更小更轻） ---------- */
.btn-primary,
.dl-card .btn-primary,
.auth-actions .btn-primary,
body.home .hero .btn-primary,
body.home .dl-card .btn-primary {
    background: var(--blue);
    border: 1px solid var(--blue);
    color: #fff;
    border-radius: 8px;
    padding: 10px 26px;
    font-weight: 600;
    box-shadow: 0 6px 14px -6px rgba(37,99,235,.45);
    transition: background .18s, box-shadow .18s, transform .1s;
}
.btn-primary:hover,
.dl-card .btn-primary:hover,
.auth-actions .btn-primary:hover,
body.home .hero .btn-primary:hover,
body.home .dl-card .btn-primary:hover {
    background: var(--blue-deep);
    border-color: var(--blue-deep);
    box-shadow: 0 8px 18px -6px rgba(37,99,235,.5);
    transform: translateY(-1px);
}
.btn-primary:active { transform: translateY(0); }

/* 次要按钮：细描边，尺寸更小，与主按钮拉开层次 */
.btn-plain,
body.home .hero .btn-plain {
    background: #fff;
    border: 1px solid #cfd8e4;
    color: #3a4a63;
    border-radius: 6px;
    padding: 8px 20px;
    font-size: 13.5px;
    font-weight: 600;
    box-shadow: none;
    transition: background .18s, border-color .18s, color .18s;
}
.btn-plain:hover,
body.home .hero .btn-plain:hover {
    background: #f6f8fc;
    border-color: var(--blue);
    color: var(--blue);
    box-shadow: none;
    transform: none;
}
:root[data-theme="dark"] .btn-plain,
:root[data-theme="dark"] body.home .hero .btn-plain {
    background: #16213a;
    border-color: #2c3b5c;
    color: #b9c4d6;
}
:root[data-theme="dark"] .btn-plain:hover {
    background: #1c2944;
    border-color: var(--blue);
    color: var(--blue-hi);
}
:root[data-theme="dark"] .btn-primary,
:root[data-theme="dark"] body.home .hero .btn-primary {
    background: var(--blue);
    border-color: var(--blue);
}

/* ---------- 首屏 Hero：左右分栏，主标题最大加粗 ---------- */
body.home .hero {
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 68px 44px 60px;
    gap: 60px;
    margin-bottom: 60px;
    position: relative;
}
body.home .hero-left { flex: 1.15; min-width: 0; }
body.home .hero-right { flex: .85; min-width: 0; }
body.home .hero-left h1 {
    font-size: 46px;
    line-height: 1.18;
    font-weight: 800;
    letter-spacing: -1.1px;
    margin-bottom: 20px;
    color: #16202e;
    font-family: var(--sans);
}
body.home .hero-left h1 .hl {
    color: var(--blue);
    background: none;
    -webkit-background-clip: border-box;
    background-clip: border-box;
    -webkit-text-fill-color: var(--blue);
}
body.home .hero-desc {
    font-size: 15.5px;
    color: #5b6775;
    max-width: 500px;
    line-height: 1.9;
    margin-bottom: 30px;
    font-family: var(--sans);
}
body.home .hero-badge {
    background: var(--blue-soft);
    border: 1px solid rgba(37,99,235,.18);
    color: var(--blue);
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: .3px;
    border-radius: 999px;
    padding: 5px 15px;
    margin-bottom: 22px;
    box-shadow: none;
}
body.home .hero-badge::before { display: none; }

/* 统计数字：放大加粗，蓝色，竖发丝分隔，非卡片 */
body.home .hero-stats { margin-bottom: 30px; gap: 0; }
body.home .hero-stat { padding: 0 24px; border-left: 1px solid #e3e9f1; }
body.home .hero-stat:first-child { padding-left: 0; border-left: 0; }
body.home .hero-stat b {
    font-family: var(--mono);
    font-size: 30px;
    font-weight: 800;
    color: var(--blue);
    letter-spacing: -.5px;
    font-variant-numeric: tabular-nums;
}
body.home .hero-stat span { font-size: 12px; color: #8c98a8; margin-top: 3px; }
body.home .hero-meta { font-size: 12.5px; color: #8c98a8; font-family: var(--sans); }
body.home .hero-meta b { color: #3a4a63; font-weight: 600; }

/* 右栏截图：细边框 + 极淡阴影，10px 圆角（区域差异化） */
body.home .mock-banner {
    position: relative;
    z-index: 2;
    display: inline-flex;
    width: -moz-fit-content;
    width: fit-content;
    margin: 0 0 14px 28px;
    padding: 7px 14px;
    background: var(--blue-soft);
    border: 1px solid rgba(37,99,235,.22);
    border-radius: 6px;
    color: var(--blue);
    font-size: 12.5px;
    font-weight: 600;
    font-family: var(--sans);
    text-decoration: none;
    transition: background .15s;
}
body.home .mock-banner:hover { background: #e2ecff; }
body.home .hero-shot {
    border-radius: 10px;
    border: 1px solid #dde4ee;
    box-shadow: 0 14px 32px rgba(23,45,84,.10), 0 0 0 1px #dde4ee;
}
body.home .hero-shot figcaption { font-size: 12px; padding: 8px 14px; }

/* ---------- 区块标题：细蓝竖条 + 22px 加粗，保留技术感标记 ---------- */
body.home .sec-title {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -.3px;
    color: #16202e;
    margin-bottom: 24px;
    padding-left: 14px;
    position: relative;
    font-family: var(--sans);
}
body.home .sec-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    border-radius: 2px;
    background: var(--blue);
}
body.home .comm-head .sec-title { margin-bottom: 0; }

/* ---------- 间距节奏（疏密变化，非均匀） ---------- */
body.home main { padding-top: 8px; }
body.home section { margin-bottom: 0; }
body.home .hero { margin-bottom: 60px; }
body.home .ann-block { margin-bottom: 76px; }
body.home .features { margin-bottom: 88px; }
body.home .two-col { margin-bottom: 64px; }
body.home .sys-support { margin-bottom: 64px; }
body.home .sys-req { margin-bottom: 64px; }
body.home .community { margin-bottom: 72px; }

/* ---------- 功能一览：2 列浅色小卡片（6px 圆角，无阴影） ---------- */
body.home .feat-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
}
body.home .feat-row {
    background: #fbfcfe;
    border: 1px solid #e7ecf3;
    border-radius: 6px;
    padding: 22px 22px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    transition: border-color .18s, background .18s;
}
body.home .feat-row + .feat-row { border-top: 1px solid #e7ecf3; }
body.home .feat-row:hover {
    background: #fff;
    border-color: #c3d5ef;
    border-left-color: var(--blue);
}
body.home .feat-icon {
    background: var(--blue-soft);
    border-radius: 7px;
    box-shadow: none;
    width: 38px;
    height: 38px;
}
body.home .feat-row:hover .feat-icon { background: var(--blue-soft); }
body.home .feat-body h3 {
    font-size: 15.5px;
    font-weight: 700;
    color: #1a2130;
    margin-bottom: 6px;
    font-family: var(--sans);
}
body.home .feat-body p {
    font-size: 13px;
    color: #5b6775;
    line-height: 1.8;
    font-family: var(--sans);
}
@media (max-width: 700px) {
    body.home .feat-panel { grid-template-columns: 1fr; }
}

/* ---------- 更新日志 + 下载中心：左日志浅底面板，右主下载卡突出 ---------- */
body.home .two-col { gap: 34px; align-items: flex-start; }
/* 更新日志：浅蓝灰底面板，非白卡，无圆角 */
body.home .log-card {
    background: #fbfcfe;
    border: 1px solid #e7ecf3;
    border-left: 3px solid var(--blue);
    border-radius: 0;
    padding: 22px 24px;
    box-shadow: none;
}
body.home .log-card:hover { box-shadow: none; }
body.home .log-head {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 14px; padding-bottom: 12px;
    border-bottom: 1px dashed #dde4ee;
}
body.home .log-head b {
    background: var(--blue-soft);
    color: var(--blue);
    font-size: 13px;
    padding: 3px 12px;
    border-radius: 6px;
    font-weight: 700;
    box-shadow: none;
}
body.home .log-head span { color: #8c98a8; font-size: 12.5px; }
body.home .log-body {
    font: 13px/1.95 Consolas, "Microsoft YaHei", monospace;
    color: #5b6775;
    white-space: pre-wrap; word-break: break-all;
    background: #f4f7fb;
    border: 1px solid #e9eef5;
    border-radius: 6px;
    padding: 14px 16px;
    margin: 0;
    position: relative;
}
body.home .log-body::before { display: none; }

/* 下载主卡：白底 10px 圆角 + 顶部蓝色发丝（唯一突出的卡） */
body.home .dl-wrap { display: flex; flex-direction: column; gap: 14px; }
body.home .dl-card {
    background: #fff;
    border: 1px solid #e3e9f1;
    border-radius: 10px;
    padding: 28px 24px;
    box-shadow: none;
    text-align: center;
    position: relative;
    transition: border-color .18s;
}
body.home .dl-main { border: 1px solid #bcd2f0; }
body.home .dl-main::before {
    content: "";
    position: absolute; left: 12px; right: 12px; top: -1px;
    height: 2px; border-radius: 2px;
    background: var(--blue);
}
body.home .dl-card:hover { border-color: var(--blue); box-shadow: none; }
body.home .rec-tag {
    background: var(--blue);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .4px;
    display: inline-block;
    padding: 3px 10px;
    margin-bottom: 12px;
}
body.home .dl-os {
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    color: #3a4a63;
    background: #eef2f8;
    border: 1px solid #dce3ed;
    display: inline-block;
    padding: 2px 10px;
    margin-bottom: 10px;
}
body.home .dl-name { font-size: 17px; font-weight: 800; letter-spacing: -.2px; color: #1a2130; margin-bottom: 6px; }
body.home .dl-info { font-size: 12.5px; color: #8c98a8; margin-bottom: 14px; }
body.home .dl-safe { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-bottom: 12px; }
body.home .safe-item {
    background: #eef2f8; color: #5b6775; border-radius: 4px;
    font-size: 11.5px; padding: 2px 8px;
}
body.home .dl-note {
    background: #fffbf2; border: 1px solid #f0dcc4; border-left: 3px solid #e8a33d;
    border-radius: 0; font-size: 11.5px; color: #8c6a1e; padding: 8px 12px;
    text-align: left; margin-bottom: 14px;
}
body.home .dl-card .btn-primary { padding: 12px 24px; font-size: 15px; }
body.home .dl-tip { font-size: 12px; color: #8c98a8; text-align: center; margin-top: 6px; }
body.home .dl-tip a { color: var(--blue); text-decoration: none; }
body.home .dl-tip a:hover { text-decoration: underline; }

/* XP 块：哑光浅卡 6px 圆角，非白卡，与主卡差异化 */
body.home .dl-xp {
    background: #fbf8f3;
    border: 1px solid #e8dcc8;
    border-radius: 6px;
    padding: 24px 22px;
}
body.home .dl-xp .dl-name { font-size: 15px; }
body.home .xp-final-tag {
    background: #fff8ee; color: #8c6a1e; border: 1px solid #e8d9c4; border-left: 3px solid #e8a33d;
    border-radius: 4px; font-size: 11px; font-weight: 700; padding: 3px 10px;
    display: inline-block; margin-bottom: 12px;
}
body.home .dl-xp .dl-os { color: #8c6a1e; background: #f3ecde; border-color: #e8dcc8; }
body.home .xp-frozen {
    display: flex; align-items: center; justify-content: center; gap: 6px;
    font-size: 12px; color: #b8923f; margin: 6px 0 14px; line-height: 1.6;
}
body.home .dl-card .btn-xp {
    background: transparent; border: 1px solid #d4b87a; color: #8c6a1e;
    border-radius: 6px; font-weight: 600; padding: 11px 20px;
}
body.home .dl-card .btn-xp:hover {
    background: #fff8ee; border-color: #b8923f; color: #6b4e0a; transform: none;
}

/* ---------- 支持的操作系统：无卡片，上下发丝线 + 竖向分隔 ---------- */
body.home .sys-support .sec-title { margin-bottom: 22px; }
body.home .sup-card {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
}
body.home .sup-item {
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    padding: 24px 12px;
    border: none;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    text-align: center;
}
body.home .sup-item + .sup-item { border-left: 1px solid #e7ecf3; }
body.home .sup-item:hover { background: #f8fafd; border-color: transparent; transform: none; }
body.home .sup-item b { font-size: 14px; font-weight: 700; }
body.home .sup-item span { font-size: 12px; color: #8c98a8; }
body.home .sup-xp-off { opacity: .72; }
body.home .sup-off-tag {
    border-radius: 4px; font-size: 10.5px; font-weight: 600;
    color: var(--warn); background: #fff3e0; border: 1px solid #ffcc80;
    padding: 0 8px;
}
@media (max-width: 860px) { body.home .sup-card { grid-template-columns: repeat(3, 1fr); } body.home .sup-item:nth-child(4) { border-left: none; } }
@media (max-width: 520px) { body.home .sup-card { grid-template-columns: repeat(2, 1fr); } }

/* ---------- 系统要求：无卡片，2 列 grid + 发丝线 ---------- */
body.home .req-card {
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
}
body.home .req-card ul { display: grid; grid-template-columns: 1fr 1fr; gap: 0; list-style: none; }
body.home .req-card li {
    display: flex; flex-direction: column; gap: 4px;
    padding: 16px 18px;
    border-bottom: 1px solid #e7ecf3;
    background: transparent;
    position: relative;
}
body.home .req-card li:nth-child(odd) { border-right: 1px solid #e7ecf3; }
body.home .req-card li:nth-child(3) { border-bottom: none; }
body.home .req-card li:nth-child(4) { border-bottom: none; }
body.home .req-card li::before { display: none; }
body.home .req-card li:hover::before { background: transparent; }
body.home .req-card li b { font-size: 13px; color: #16202e; font-weight: 700; font-family: var(--sans); }
body.home .req-card li span { font-size: 13px; color: #5b6775; font-family: var(--sans); }
@media (max-width: 640px) {
    body.home .req-card ul { grid-template-columns: 1fr; }
    body.home .req-card li:nth-child(odd) { border-right: none; }
    body.home .req-card li:nth-child(3) { border-bottom: 1px solid #e7ecf3; }
}

/* ---------- 社区反馈动态：无卡片，发丝分隔行 ---------- */
body.home .comm-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 18px; }
body.home .comm-more { font-size: 13px; color: var(--blue); text-decoration: none; }
body.home .comm-more:hover { text-decoration: underline; }
body.home .comm-list { display: grid; gap: 0; }
body.home .comm-item {
    display: flex; align-items: center; gap: 12px;
    padding: 16px 18px;
    background: transparent;
    border: none;
    border-bottom: 1px solid #e7ecf3;
    border-radius: 0;
    box-shadow: none;
    transition: background .15s;
}
body.home .comm-item:hover { background: #f8fafd; border-color: transparent; box-shadow: none; }
body.home .comm-item:last-child { border-bottom: none; }
body.home .comm-item-main b { display: block; font-size: 14px; font-weight: 700; color: #16202e; font-family: var(--sans); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.home .comm-item-main i { display: block; font-size: 12.5px; color: #7a8799; margin-top: 2px; font-style: normal; font-family: var(--sans); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.home .comm-item-meta { flex-shrink: 0; font-size: 11.5px; color: #9aa6b7; white-space: nowrap; }
body.home .comm-empty { padding: 40px 18px; text-align: center; font-size: 14px; color: #8c98a8; font-family: var(--sans); }

/* ---------- 深色主题 · 首页 ---------- */
:root[data-theme="dark"] body.home { background-color: #0e1421; }
:root[data-theme="dark"] body.home::before {
    background:
        radial-gradient(42rem 26rem at 18% -6%, rgba(37,99,235,.10), transparent 60%),
        radial-gradient(46rem 30rem at 88% -4%, rgba(8,145,178,.07), transparent 62%);
}
:root[data-theme="dark"] body.home .sec-title { color: #e2eaf5; }
:root[data-theme="dark"] body.home .sec-title::before { background: var(--blue-hi); }
:root[data-theme="dark"] body.home .feat-row { background: #141c2e; border-color: #24304a; }
:root[data-theme="dark"] body.home .feat-row:hover { background: #182238; border-color: #2d4060; }
:root[data-theme="dark"] body.home .feat-body h3 { color: #d6e0f0; }
:root[data-theme="dark"] body.home .feat-body p { color: #8a9ab5; }
:root[data-theme="dark"] body.home .log-card { background: #141c2e; border-color: #24304a; border-left-color: var(--blue-hi); }
:root[data-theme="dark"] body.home .log-body { color: #b0bdd0; }
:root[data-theme="dark"] body.home .dl-card { background: #141c2e; border-color: #24304a; }
:root[data-theme="dark"] body.home .dl-main { border-color: #2d4a78; }
:root[data-theme="dark"] body.home .dl-main::before { background: var(--blue-hi); }
:root[data-theme="dark"] body.home .sup-item + .sup-item { border-left-color: #24304a; }
:root[data-theme="dark"] body.home .sup-item:hover { background: #182238; }
:root[data-theme="dark"] body.home .sup-item b { color: #d6e0f0; }
:root[data-theme="dark"] body.home .sup-item span { color: #7a8fa8; }
:root[data-theme="dark"] body.home .sup-off-tag { background: rgba(224,163,77,.12); color: #ffb74d; border-color: rgba(224,163,77,.35); }
:root[data-theme="dark"] body.home .req-card li { border-bottom-color: #24304a; }
:root[data-theme="dark"] body.home .req-card li:nth-child(odd) { border-right-color: #24304a; }
:root[data-theme="dark"] body.home .req-card li b { color: #d6e0f0; }
:root[data-theme="dark"] body.home .req-card li span { color: #7a8fa8; }
:root[data-theme="dark"] body.home .comm-item { border-bottom-color: #24304a; }
:root[data-theme="dark"] body.home .comm-item:hover { background: #182238; }
:root[data-theme="dark"] body.home .comm-item-main b { color: #d6e0f0; }
:root[data-theme="dark"] body.home .comm-item-main i { color: #7a8fa8; }
:root[data-theme="dark"] body.home .comm-item-meta { color: #5e6f85; }
:root[data-theme="dark"] body.home .comm-empty { color: #7a8fa8; }
:root[data-theme="dark"] body.home .dl-tip { color: #7a8fa8; }
:root[data-theme="dark"] body.home .hero-desc { color: #8a9ab5; }
:root[data-theme="dark"] body.home .hero-meta { color: #6e7e94; }
:root[data-theme="dark"] body.home .hero-meta b { color: #c0cce0; }
:root[data-theme="dark"] body.home .hero-stat b { color: #e8f0ff; }
:root[data-theme="dark"] body.home .hero-stat span { color: #6e7e94; }
:root[data-theme="dark"] body.home .hero-shot { border-color: #24304a; box-shadow: 0 14px 32px rgba(0,0,0,.35), 0 0 0 1px #24304a; }
:root[data-theme="dark"] body.home .mock-banner { background: #1a2744; border-color: rgba(96,165,250,.28); }
:root[data-theme="dark"] body.home .mock-banner:hover { background: #1e2f52; }
:root[data-theme="dark"] body.home .mock-window { border-color: #24304a; box-shadow: 0 2px 14px rgba(0,0,0,.3); }
:root[data-theme="dark"] body.home .dl-xp { border-color: #24304a; }
:root[data-theme="dark"] body.home .tp-dl-note { color: #6e7e94; }

/* ---------- 移动端适配 ---------- */
@media (max-width: 900px) {
    body.home .hero { flex-direction: column; padding: 40px 28px 36px; gap: 32px; margin-bottom: 44px; }
    body.home .hero-right { order: -1; }
    body.home .hero-left { text-align: center; }
    body.home .hero-stats { justify-content: center; }
    body.home .hero-actions { justify-content: center; }
    body.home .hero-shot { max-width: 100%; }
    body.home .two-col { flex-direction: column; gap: 48px; }
    body.home .feat-panel { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    body.home .hero { padding: 28px 18px 24px; gap: 24px; margin-bottom: 32px; }
    body.home .hero h1 { font-size: 26px; }
    body.home .hero-stats { gap: 16px; }
    body.home .hero-stat b { font-size: 20px; }
    body.home .hero-actions { flex-direction: column; }
    body.home .hero-actions .btn-primary,
    body.home .hero-actions .btn-outline { width: 100%; text-align: center; justify-content: center; }
    body.home .ann-block,
    body.home .features,
    body.home .two-col,
    body.home .sys-support,
    body.home .sys-req,
    body.home .community { margin-bottom: 36px; }
    body.home .sec-title { font-size: 18px; padding-left: 12px; margin-bottom: 16px; }
    body.home .feat-row { padding: 16px; gap: 12px; }
    body.home .dl-card { padding: 20px 16px; }
    body.home .mock-banner { margin: 0 0 10px 0; }
}
@media (max-width: 480px) {
    body.home .hero h1 { font-size: 22px; }
    body.home .hero-stat b { font-size: 18px; }
    body.home .sup-card { grid-template-columns: repeat(2, 1fr); }
    body.home .sup-item:nth-child(4),
    body.home .sup-item:nth-child(5) { border-left: none; }
}

/* ==========================================================================
   登录 / 注册 / 授权 + 导航栏 + 退出弹窗 精修层
   置于最末，覆盖前面所有层。
   · 登录/授权卡片：更收紧、圆角与主色统一
   · 导航栏：细线分隔、胶囊选中态、hover 微阴影
   · 退出确认弹窗：居中对话框，深浅色双适配
   · 移动端：导航折叠面板、统计数字字号、登录卡边距
   ========================================================================== */


/* ---------- 导航栏：细线、胶囊、微交互 ---------- */
.topbar {
    position: sticky; top: 0; z-index: 20;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid #e6eaf1;
    box-shadow: 0 1px 0 rgba(22,45,78,.04);
}
.topbar-inner { height: 56px; }
.brand { display: flex; align-items: center; gap: 9px; }
.brand-logo { width: 28px; height: 28px; }
.brand-name {
    font-size: 14.5px; font-weight: 650; color: var(--ink);
    letter-spacing: -.2px;
}
.brand:hover .brand-name { color: var(--blue); }

.nav { display: flex; align-items: center; gap: 2px; }
.nav a, .nav .nav-user {
    padding: 6px 12px; border-radius: 7px;
    font-size: 13.5px; color: var(--ink-2);
    transition: color .15s, background .15s;
}
.nav a:hover { background: var(--bg-2); color: var(--ink); text-decoration: none; }
.nav a.on {
    color: var(--blue); background: var(--blue-soft);
    font-weight: 600;
}
.nav .nav-user { gap: 6px; }
.nav .nav-avatar { width: 28px; height: 28px; border-radius: 50%; }
.nav .nav-nick { font-size: 13.5px; max-width: 72px; }
.nav .nav-ghost {
    padding: 6px 12px; border-radius: 7px; font-size: 13.5px;
    color: var(--ink-3); background: transparent; border: 0; cursor: pointer;
    transition: color .15s, background .15s;
}
.nav .nav-ghost:hover { color: var(--err); background: #fdecea; }
:root[data-theme="dark"] .nav .nav-ghost:hover { background: rgba(248,113,113,.12); }
.nav .nav-login {
    background: var(--blue); color: #fff; font-weight: 600;
    border-radius: 999px; padding: 7px 18px; margin-left: 4px;
    transition: background .15s, box-shadow .15s;
}
.nav .nav-login:hover {
    background: var(--blue-deep);
    color: #fff;
    box-shadow: 0 2px 8px rgba(37,99,235,.25);
}
.nav .nav-login.on { background: var(--blue-deep); }

/* 主题切换按钮 */
.theme-toggle {
    width: 34px; height: 34px; border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid var(--line); background: var(--card);
    cursor: pointer; color: var(--ink-3);
    transition: color .15s, border-color .15s, background .15s;
}
.theme-toggle:hover { color: var(--blue); border-color: var(--blue); background: var(--blue-soft); }
:root[data-theme="dark"] .theme-toggle { background: #182135; border-color: #2a3a5c; }

/* ---------- 退出确认弹窗 ---------- */
.lg-mask {
    position: fixed; inset: 0; z-index: 9990;
    background: rgba(15, 23, 42, .48);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: opacity .2s;
}
.lg-mask.on { opacity: 1; }
.lg-dialog {
    width: 340px; max-width: calc(100vw - 48px);
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 20px 60px rgba(0,0,0,.18);
    transform: translateY(8px) scale(.97);
    transition: transform .2s;
}
.lg-mask.on .lg-dialog { transform: translateY(0) scale(1); }
.lg-dialog-head {
    display: flex; align-items: center; gap: 12px;
    margin-bottom: 12px;
}
.lg-dialog-ico {
    width: 36px; height: 36px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    border-radius: 10px;
    background: #fef2f2; color: var(--err);
}
.lg-dialog-head b { font-size: 15px; font-weight: 700; color: var(--ink); }
.lg-dialog-text { font-size: 13px; color: var(--ink-3); line-height: 1.7; margin: 0 0 20px; }
.lg-dialog-actions { display: flex; gap: 8px; }
.lg-dialog-actions .btn-plain { flex: 1; text-align: center; }
.lg-dialog-actions .btn-primary { flex: 1.4; text-align: center; background: var(--err); border-color: var(--err); box-shadow: 0 4px 12px rgba(220,38,38,.25); }
.lg-dialog-actions .btn-primary:hover { background: #b91c1c; border-color: #b91c1c; }
.lg-dialog-actions .btn-primary:disabled { opacity: .6; cursor: not-allowed; }

:root[data-theme="dark"] .lg-mask { background: rgba(0,0,0,.55); }
:root[data-theme="dark"] .lg-dialog { background: #182135; border-color: #2a3a5c; }
:root[data-theme="dark"] .lg-dialog-head b { color: #e2eaf5; }
:root[data-theme="dark"] .lg-dialog-text { color: #8a9ab5; }
:root[data-theme="dark"] .lg-dialog-ico { background: rgba(248,113,113,.12); color: #f87171; }
:root[data-theme="dark"] .lg-dialog-actions .btn-primary { background: #ef4444; border-color: #ef4444; }
:root[data-theme="dark"] .lg-dialog-actions .btn-primary:hover { background: #dc2626; }

/* ---------- 移动端导航折叠面板 · 终层收敛 ----------
   此前分散在 1148 / 2311 / 4669 三处 @media(max-width:860px) 块，
   因媒体查询不增加特异性，后定义者（2311 旧块）曾覆盖 display:none，
   导致手机端面板无法折叠、一直显示。现仅保留此终层作为唯一定义。 */
@media (max-width: 860px) {
    .nav {
        display: none;
        position: absolute; left: 0; right: 0; top: 100%;
        flex-direction: column; align-items: stretch; gap: 4px;
        background: var(--card);
        border: 1px solid var(--line);
        border-top: none;
        border-radius: 0 0 12px 12px;
        padding: 8px;
        box-shadow: 0 8px 24px rgba(0,0,0,.08);
        z-index: 30;
    }
    .nav.open { display: flex; }
    .nav a, .nav .nav-user, .nav .nav-ghost {
        padding: 10px 12px; border-radius: 8px;
        font-size: 14px;
    }
    .nav a.on { background: var(--blue-soft); color: var(--blue); font-weight: 600; box-shadow: none; }
    .nav .nav-login { margin-left: 0; text-align: center; border-radius: 8px; padding: 10px 18px; }
    .nav .nav-ghost:hover { background: var(--err-soft, #fdecea); }
    /* 汉堡按钮：移动端可见，展开时变为 × 形 */
    .nav-toggle {
        display: flex;
        border: 1px solid var(--line); border-radius: 8px; background: var(--card);
    }
    .nav-toggle:hover { background: var(--bg-2); }
    /* 深浅色切换：移动端移入导航面板底部，与汉堡按钮对称 */
    .theme-toggle {
        display: inline-flex; margin: 4px auto 0;
        width: 36px; height: 36px; border-radius: 8px;
        border: 1px solid var(--line); background: var(--card);
        color: var(--ink-2); cursor: pointer;
        transition: border-color .15s, color .15s, background .15s;
    }
    .theme-toggle:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-soft); }
}
@media (max-width: 860px) {
    :root[data-theme="dark"] .nav {
        background: var(--card); border-color: var(--line);
        box-shadow: 0 8px 24px rgba(0,0,0,.45);
    }
}

/* ---------- 移动端登录卡 + 数字字体 ---------- */
@media (max-width: 640px) {
    /* 统计数字：等宽数字字体 + 更大字号，保证手机上对齐且醒目 */
    body.home .hero-stat b {
        font-family: var(--sans);
        font-size: 24px;
        letter-spacing: -.4px;
        font-variant-numeric: tabular-nums;
    }
    body.home .hero-stats { gap: 18px; }
    body.home .hero-stat { padding: 0 16px; }
}
@media (max-width: 480px) {
    body.home .hero-stat b { font-size: 20px; }
    body.home .hero-stat { padding: 0 12px; }
    body.home .hero-stats { gap: 14px; }
}

/* 统计数字统一：等宽数字字体（桌面） */
body.home .hero-stat b {
    font-variant-numeric: tabular-nums;
    letter-spacing: -.5px;
}

/* ============================================================
   下载中心终层：扁平 Material3 · 细边框 · 无上浮无发光
   （置于文件末尾统一压过此前各层的冲突样式）
   ============================================================ */

/* 双栏区块：标题装饰条去渐变，改纯色 */
#download .sec-title::before { background: var(--blue); }

/* 更新日志卡：白底细边框，去掉左色条与阴影 */
body.home .log-card {
    border: 1px solid var(--line);
    border-left: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--card);
    padding: 18px 20px;
    box-shadow: none;
}
body.home .log-card:hover { box-shadow: none; border-color: var(--line-2); }
body.home .log-card .log-head b {
    background: var(--blue-soft); color: var(--blue);
    border-radius: 6px; padding: 2px 9px;
    font-family: var(--mono); font-size: 13px;
}
body.home .log-card .log-body { font-size: 12.5px; line-height: 1.9; color: var(--ink-2); }

/* 下载卡容器与卡片：细边框、无阴影、hover 仅描边加深 */
body.home .dl-wrap { grid-template-columns: 1.35fr 1fr; gap: 14px; }
body.home .dl-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: none;
    padding: 22px 20px;
    transition: border-color .15s;
}
body.home .dl-card:hover { box-shadow: none; border-color: var(--line-2); }
body.home .dl-main { border: 1px solid var(--blue); }
body.home .dl-main::before { content: none; }
body.home .dl-xp { background: var(--card); border: 1px solid var(--line); }
body.home .dl-xp::before { content: none; }

/* 标签统一小圆角：推荐=蓝底白字实心，归档=琥珀描边，OS=中性灰底 */
body.home .rec-tag {
    background: var(--blue); color: #fff;
    border: none; border-radius: 6px;
    font-size: 11px; font-weight: 700; letter-spacing: .5px;
    padding: 3px 10px; margin-bottom: 10px;
}
body.home .xp-final-tag {
    background: transparent; color: var(--warn);
    border: 1px solid var(--warn); border-left: 1px solid var(--warn);
    border-radius: 6px;
    font-size: 11px; font-weight: 700; letter-spacing: .5px;
    padding: 2px 9px; margin-bottom: 10px;
}
body.home .dl-os {
    background: var(--bg-2); color: var(--ink-2);
    border: 1px solid var(--line); border-radius: 6px;
    font-size: 11px; font-weight: 600;
    padding: 2px 9px; margin-bottom: 10px;
}
body.home .dl-xp .dl-os { color: var(--warn); background: transparent; border-color: var(--line); }

/* 文本层级 */
body.home .dl-name { font-size: 17px; font-weight: 700; color: var(--ink); margin-bottom: 4px; letter-spacing: -.2px; }
body.home .dl-xp .dl-name { font-size: 15px; }
body.home .dl-info { font-size: 12.5px; color: var(--ink-3); margin-bottom: 12px; }

/* 安全项芯片：中性灰底小圆角，绿点保留语义 */
body.home .dl-safe { gap: 6px; margin: 0 0 12px; }
body.home .safe-item {
    background: var(--bg-2); color: var(--ink-2);
    border: none; border-radius: 6px;
    font-size: 11.5px; padding: 3px 9px;
}
body.home .safe-item .dot-ok { background: var(--ok); }

/* 安全说明：中性底 + 琥珀左标记 */
body.home .dl-note {
    background: var(--bg-2); border: 1px solid var(--line); border-left: 3px solid var(--warn);
    border-radius: 8px;
    font-size: 12px; color: var(--ink-2);
    padding: 9px 12px; text-align: left; margin: 0 0 14px;
}
body.home .dl-note b { color: var(--ink); }

/* XP 归档说明行：弱化为次要文本 */
body.home .xp-frozen { font-size: 12px; color: var(--ink-3); margin: 0 0 12px; }
body.home .xp-frozen svg { stroke: var(--ink-3); }

/* 主按钮：实心蓝、扁平、hover 只加深不上浮 */
body.home .dl-card .btn-primary {
    background: var(--blue); border: 1px solid var(--blue); color: #fff;
    border-radius: 8px; padding: 11px 20px;
    font-size: 14.5px; font-weight: 600;
    box-shadow: none; transform: none;
    transition: background .15s, border-color .15s;
}
body.home .dl-card .btn-primary:hover,
body.home .dl-card .btn-primary:active {
    background: var(--blue-deep); border-color: var(--blue-deep); color: #fff;
    box-shadow: none; transform: none;
}

/* XP 次按钮：描边次要级，视觉权重低于主按钮 */
body.home .dl-card .btn-xp {
    background: var(--card); border: 1px solid var(--line-2); color: var(--ink-2);
    border-radius: 8px; padding: 10px 18px;
    font-size: 13.5px; font-weight: 600;
    box-shadow: none; transform: none;
    transition: background .15s, border-color .15s, color .15s;
}
body.home .dl-card .btn-xp:hover,
body.home .dl-card .btn-xp:active {
    background: var(--bg-2); border-color: var(--ink-3); color: var(--ink);
    box-shadow: none; transform: none;
}

/* 底部提示与统计说明：收紧、去色条 */
body.home .dl-tip { font-size: 12px; color: var(--ink-3); margin-top: 2px; line-height: 1.7; }
.dl-wrap .tp-dl-note {
    background: var(--bg-2); border: 1px solid var(--line); border-left: 1px solid var(--line);
    border-radius: 8px;
    font-size: 12px; color: var(--ink-2); padding: 10px 14px; margin-top: 2px;
}
.dl-wrap .tp-dl-note b { color: var(--ink); }

/* 深色主题微调：归档标签保持琥珀语义 */
:root[data-theme="dark"] body.home .xp-final-tag {
    background: transparent; color: #fbbf24; border-color: rgba(251,191,36,.4);
}
:root[data-theme="dark"] body.home .dl-xp .dl-os { color: #fbbf24; }
:root[data-theme="dark"] body.home .safe-item { background: var(--blue-soft); color: var(--ink-2); }
:root[data-theme="dark"] body.home .safe-item .dot-ok { background: #4ade80; }

/* 响应式：压过上方 body.home 选择器的特异性，保证窄屏正常单列堆叠 */
@media (max-width: 860px) {
    body.home .dl-wrap { grid-template-columns: 1fr; gap: 12px; }
}
@media (max-width: 560px) {
    body.home .dl-card { padding: 18px 16px; }
    body.home .dl-name { font-size: 16px; }
    body.home .log-card { padding: 16px; }
}

/* ============================================================
   首页终层：把 Hero 以外的各区块统一为扁平 Material3 卡片系统
   （与导航栏、下载中心一致：12px 圆角 · 1px 细边 · 无阴影 · hover 仅描边加深）
   置于文件末尾统一压过此前各层的冲突样式
   ============================================================ */

/* ---- 通用卡片外观 ---- */
body.home .feat-panel,
body.home .sup-card,
body.home .req-card,
body.home .comm-item,
body.home .comm-empty {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: none;
}

/* ---- 功能一览：卡片内发丝分割行 ---- */
body.home .feat-panel { padding: 0 22px; }
body.home .feat-row { padding: 20px 0; background: transparent; border-left-color: transparent; }
body.home .feat-row + .feat-row { border-top: 1px solid var(--line); }
body.home .feat-row:hover { background: transparent; border-left-color: transparent; }
body.home .feat-icon { width: 38px; height: 38px; border-radius: 10px; background: var(--blue-soft); box-shadow: none; }
body.home .feat-row:hover .feat-icon { background: var(--blue-soft); }
body.home .feat-body h3 { font-size: 15px; font-weight: 700; color: var(--ink); }
body.home .feat-row:hover .feat-body h3 { color: var(--blue); }
body.home .feat-body p { font-size: 13px; color: var(--ink-2); line-height: 1.8; }

/* ---- 支持的系统：卡片内浅底磁贴，无描边，hover 仅深化底色 ---- */
body.home .sup-card { padding: 16px; gap: 12px; grid-template-columns: repeat(5, 1fr); }
body.home .sup-item {
    background: var(--bg-2);
    border: none;
    border-radius: 10px;
    box-shadow: none; transform: none;
    transition: background .15s;
}
body.home .sup-item:hover { background: var(--bg); border: none; box-shadow: none; transform: none; }
body.home .sup-item + .sup-item { border-left: none; }
body.home .sup-xp-off { border: 1px dashed var(--line-2); background: var(--bg-2); }
body.home .sup-off-tag { border-radius: 6px; }

/* ---- 系统要求：卡片内实线分隔行 ---- */
body.home .req-card { padding: 6px 18px; }
body.home .req-card li { padding: 12px 8px; border-bottom: 1px solid var(--line); background: transparent; }
body.home .req-card li:nth-child(even) { background: transparent; }
body.home .req-card li::before { display: none; }
body.home .req-card li:hover { background: var(--bg-2); border-radius: 8px; }
body.home .req-card li b { width: 96px; color: var(--ink); font-weight: 700; }
body.home .req-card li span { color: var(--ink-2); }

/* ---- 社区动态：独立圆角卡片，间距分隔 ---- */
body.home .comm-list { gap: 10px; }
body.home .comm-item { padding: 14px 18px; }
body.home .comm-item:hover { border-color: var(--line-2); background: var(--card); box-shadow: none; }
body.home .comm-item-main b { font-size: 14px; font-weight: 700; color: var(--ink); }
body.home .comm-item-vote { background: var(--bg-2); color: var(--ink-2); border-radius: 8px; }

/* ---- 页脚：去发光，扁平状态点 ---- */
.footer-ver .vdot { box-shadow: none; background: var(--ok); }

/* ---- 深色主题：以更高特异性压过此前各层的深色覆写 ---- */
:root[data-theme="dark"] body.home .log-card { box-shadow: none; border-left-color: var(--line); }
:root[data-theme="dark"] body.home .sup-item { background: var(--bg-2); border-color: transparent; }
:root[data-theme="dark"] body.home .sup-item:hover {
    background: var(--bg); border-color: transparent; box-shadow: none;
}

/* ============================================================
   反馈广场 · 终层（压过此前所有 .fb-* / .chip / .fb-tab 覆盖）
   现代专业简约：统一 10px 圆角、细边框、微阴影、胶囊按钮
   选中态用 --blue-soft 底 + --blue 字 + 1.5px 边框
   ============================================================ */

/* 顶部 Tab：分段控制器 */
.fb-tab {
    border-radius: 6px;
    box-shadow: none;
    padding: 7px 20px;
}
.fb-tab:hover { box-shadow: none; color: var(--ink); }
.fb-tab.on { background: var(--card); border-color: transparent; color: var(--ink); box-shadow: 0 1px 4px rgba(16,26,40,.08); }
.fb-tab.on:hover { background: var(--card); box-shadow: 0 1px 4px rgba(16,26,40,.08); }
.fb-tab.on i { background: var(--blue-soft); color: var(--blue); font-weight: 600; }

/* 统计磁贴 */
.fb-stat-item {
    box-shadow: none;
    border-radius: 8px;
    padding: 0;
    gap: 10px;
}
.fb-stat-ic { border-radius: 8px; }
.fb-stat-num b { color: var(--ink); font-weight: 700; }
.fb-stat-num span { color: var(--ink-3); font-size: 11px; }

/* 反馈卡片：微阴影，hover 加深 */
.fb-item {
    box-shadow: 0 1px 3px rgba(16,26,40,.04);
    border-radius: 10px;
    border: 1px solid var(--line);
    transition: border-color .18s, box-shadow .18s;
}
.fb-item:hover {
    box-shadow: 0 4px 12px rgba(16,26,40,.08);
    border-color: var(--line-2);
    background: var(--card);
}

/* 状态标签：胶囊 */
.tag-bug { background: rgba(220,38,38,.06); color: var(--err); border-radius: 99px; padding: 2px 10px; border: 1px solid rgba(220,38,38,.15); }
.tag-feature { background: rgba(37,99,235,.06); color: var(--blue); border-radius: 99px; padding: 2px 10px; border: 1px solid rgba(37,99,235,.15); }
.tag-other { background: var(--bg-2); color: var(--ink-2); border-radius: 99px; padding: 2px 10px; border: 1px solid var(--line); }
.st0 { background: rgba(217,119,6,.1); color: var(--warn); border-radius: 99px; padding: 2px 10px; font-weight: 600; font-size: 11px; }
.st1 { background: rgba(37,99,235,.1); color: var(--blue); border-radius: 99px; padding: 2px 10px; font-weight: 600; font-size: 11px; }
.st2 { background: rgba(22,163,74,.1); color: var(--ok); border-radius: 99px; padding: 2px 10px; font-weight: 600; font-size: 11px; }

/* 官方回复：左色条 + 浅绿底 */
.fb-reply {
    background: rgba(22,163,74,.05);
    border-left: 3px solid var(--ok);
    border-radius: 6px;
    padding: 10px 14px;
}

/* 支持 / 评论按钮：胶囊 */
.btn-support, .btn-comment {
    box-shadow: none;
    border-radius: 99px;
}
.btn-support:hover, .btn-comment:hover {
    box-shadow: none;
    border-color: var(--blue);
    color: var(--blue);
    background: var(--blue-soft);
}
.btn-support.on, .btn-comment.on {
    background: var(--blue);
    border-color: var(--blue);
    color: #fff;
    box-shadow: none;
}

/* 评论区 */
.fb-cmt-list { gap: 10px; }
.cmt { background: var(--bg-2); border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; }

/* 筛选面板：胶囊 chip */
.fb-filter {
    box-shadow: none;
    background: none;
    border: none;
    border-radius: 0;
    padding: 0;
}
.fb-filter-row + .fb-filter-row { border-top: none; }
.chip {
    border-radius: 99px;
    background: var(--card);
    border: 1px solid var(--line);
}
.chip:hover { background: var(--blue-soft); border-color: var(--blue); color: var(--blue); }
.chip.on {
    background: var(--blue);
    border-color: var(--blue);
    color: #fff;
    font-weight: 600;
}

/* 系统分区头部 */
.fb-group-head {
    border-bottom: none;
    padding: 0;
}
.fb-group-ic {
    width: 28px; height: 28px;
    border-radius: 7px;
    background: var(--blue-soft);
    color: var(--blue);
}
.fb-group-title { font-size: 15px; font-weight: 700; color: var(--ink); }
.fb-group-count { font-size: 11.5px; color: var(--ink-3); }
.fb-group-more { color: var(--blue); font-weight: 500; font-size: 12.5px; }
.fb-group-more:hover { color: var(--blue-deep); text-decoration: underline; }

/* 类型选择：圆角方形，选中蓝色填充图标 */
.fb-type-opt span {
    border-radius: 8px;
    background: var(--card);
    border: 1.5px solid var(--line);
    padding: 12px 8px 11px;
}
.fb-type-opt:hover span {
    border-color: var(--ink-2);
    background: var(--card);
    color: var(--ink);
}
.fb-type-opt input:checked + span {
    background: var(--blue-soft);
    border-color: var(--blue);
    color: var(--blue);
    font-weight: 600;
}
.fb-type-opt input:checked + .fb-type-ic,
.fb-type-opt input:checked + span .fb-type-ic {
    background: var(--blue);
    color: #fff;
    border-radius: 50%;
}

/* 表单卡片 */
.fb-form, body.feedback .auth-form.fb-form {
    box-shadow: 0 1px 3px rgba(16,26,40,.04);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 20px;
}
body.feedback .auth-form {
    background: var(--card);
}

/* 空状态 */
.empty-tip {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(16,26,40,.04);
}

/* 分页 */
.pager a {
    border-radius: 8px;
    padding: 7px 18px;
    background: var(--card);
    border: 1px solid var(--line);
    transition: all .12s;
}
.pager a:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-soft); }

/* 深色主题覆盖 */
:root[data-theme="dark"] .fb-tab { background: var(--card); color: var(--ink-2); box-shadow: none; }
:root[data-theme="dark"] .fb-tab.on { background: var(--card); color: var(--ink); box-shadow: 0 2px 6px rgba(0,0,0,.15); }
:root[data-theme="dark"] .fb-stat-item { background: var(--card); box-shadow: none; }
:root[data-theme="dark"] .fb-item { background: var(--card); box-shadow: none; border-color: var(--line-2); }
:root[data-theme="dark"] .fb-item:hover { background: var(--card); border-color: var(--blue-hi); box-shadow: 0 4px 16px rgba(0,0,0,.2); }
:root[data-theme="dark"] .fb-filter { background: none; }
:root[data-theme="dark"] .chip.on { background: var(--blue); color: #fff; }
:root[data-theme="dark"] .fb-group-ic { background: rgba(37,99,235,.15); color: var(--blue-hi); }
:root[data-theme="dark"] .fb-type-opt span { background: var(--card); }
:root[data-theme="dark"] .fb-form { background: var(--card); box-shadow: none; }
:root[data-theme="dark"] .empty-tip { background: var(--card); border-color: var(--line-2); }

/* 响应式：断点 900 / 560 */
@media (max-width: 900px) {
    .fb-layout { flex-direction: column; }
    .fb-form-col { position: static; width: 100%; }
    .fb-hero { flex-direction: column; align-items: flex-start; gap: 16px; }
    .fb-stat { width: 100%; gap: 16px; padding: 12px 16px; }
    .fb-stat-item { gap: 8px; }
}
@media (max-width: 560px) {
    .fb-tab { padding: 7px 16px; font-size: 13px; }
    .fb-type-pick { grid-template-columns: 1fr; gap: 8px; }
    .fb-filter-row { gap: 6px; }
    .chip { font-size: 12.5px; padding: 3px 12px; }
}

/* 压掉全局 .card:hover 在反馈页的投影（.card 基类与 .fb-item 同时存在） */
.card.fb-item:hover {
    box-shadow: none;
    border-color: var(--line-2);
}
:root[data-theme="dark"] .card.fb-item:hover {
    box-shadow: none;
    border-color: var(--line-2);
}
:root[data-theme="dark"] body.home .sup-xp-off { border: 1px dashed var(--line-2); }
:root[data-theme="dark"] body.home .comm-item { background: var(--card); border-color: var(--line); }
:root[data-theme="dark"] body.home .comm-item:hover { background: var(--card); border-color: var(--line-2); box-shadow: none; }

/* ---- 响应式：压过上方 body.home 特异性的覆盖，保证窄屏正常 ---- */
@media (max-width: 860px) {
    body.home .sup-card { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
    body.home .feat-panel { padding: 0 16px; }
    body.home .sup-card { grid-template-columns: repeat(2, 1fr); padding: 12px; gap: 10px; }
    body.home .req-card { padding: 4px 14px; }
    body.home .req-card li { flex-direction: column; gap: 2px; }
    body.home .req-card li b { width: auto; }
}

/* ---------- 反馈广场：终层扁平覆盖（压过技术精密层） ---------- */
body.feedback { background: transparent !important; background-image: none !important; }
body.feedback::after { display: none; }
body.feedback .chip { border-radius: 0 !important; background: none !important; box-shadow: none !important; }
body.feedback .chip.on { color: var(--ink) !important; font-weight: 700 !important; }
body.feedback .fb-tab { border-radius: 0 !important; background: none !important; box-shadow: none !important; }
body.feedback .pager a, body.feedback .pager span { border-radius: 0 !important; background: none !important; box-shadow: none !important; border: none !important; }
body.feedback .fb-filter { background: none !important; border: none !important; }
body.feedback .fb-group-head { background: none !important; border-left: none !important; }
body.feedback .fb-group-ic { background: none !important; }
body.feedback .fb-type-opt span { background: none !important; }
body.feedback .fb-form { background: none !important; box-shadow: none !important; }
body.feedback .empty-tip { background: none !important; border: none !important; }
:root[data-theme="dark"] body.feedback .fb-stat-item { background: none !important; }
:root[data-theme="dark"] body.feedback .fb-item { background: none !important; border: none !important; }
:root[data-theme="dark"] body.feedback .fb-item:hover { background: none !important; }

/* ============================================================
   用户中心终层：扁平 Material3 卡片系统（与首页 / 文档中心一致）
   12px 圆角 · 1px 细边 · 无阴影 · hover 仅描边加深
   ============================================================ */
body.user { background: var(--bg); }

/* 主卡片 */
body.user .uc-profile,
body.user .uc-sign,
body.user .uc-rank,
body.user .uc-edit,
body.user .uc-board .adm-users,
body.user .uc-board .empty-tip {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: none;
}
body.user .uc-profile:hover,
body.user .uc-sign:hover,
body.user .uc-rank:hover,
body.user .uc-edit:hover,
body.user .uc-board .adm-users:hover { border-color: var(--line-2); box-shadow: none; }

/* 信息分组：浅底面板 + 内嵌白色信息条 */
body.user .uc-block {
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 14px 16px;
}
body.user .uc-info-item {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 8px;
}
body.user .uc-info-item b { color: var(--ink); }

/* 统计磁贴 / 排名磁贴 */
body.user .uc-stat,
body.user .uc-rank-item {
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: 10px;
}
body.user .uc-stat b,
body.user .uc-rank-item b { color: var(--blue); }

/* 头像：细边 */
body.user .uc-avatar,
body.user .uc-avatar-preview { border: 1px solid var(--line); }

/* 排行榜 tab：扁平胶囊，选中用浅蓝底（secondary-container） */
body.user .uc-board .fb-tabs { gap: 8px; }
body.user .uc-board .fb-tab {
    border-radius: 999px;
    padding: 7px 18px;
    font-size: 13.5px;
    background: var(--card);
    border: 1px solid var(--line);
    color: var(--ink-2);
    box-shadow: none;
    transform: none;
}
body.user .uc-board .fb-tab:hover { border-color: var(--line-2); color: var(--ink); background: var(--card); }
body.user .uc-board .fb-tab.on {
    background: var(--blue-soft);
    border-color: transparent;
    color: var(--blue);
    font-weight: 600;
}

/* 排行榜表格：细线分隔，hover 浅底 */
body.user .u-table th { background: var(--bg-2); color: var(--ink-2); }
body.user .u-table td { color: var(--ink-2); }
body.user .u-table tbody tr:nth-child(even) { background: transparent; }
body.user .u-table tbody tr:hover { background: var(--bg-2); }
body.user .rank-table .u-name { color: var(--ink); }
body.user .rank-table .u-name:hover { color: var(--blue); }
body.user .u-points { color: var(--blue); font-weight: 700; }

/* 深色主题：高特异性覆盖，令变量生效 */
:root[data-theme="dark"] body.user { background: var(--bg); }
:root[data-theme="dark"] body.user .uc-block { background: var(--bg-2); border-color: var(--line); }
:root[data-theme="dark"] body.user .uc-info-item { background: var(--card); border-color: var(--line); }
:root[data-theme="dark"] body.user .uc-stat,
:root[data-theme="dark"] body.user .uc-rank-item { background: var(--bg-2); border-color: var(--line); }
:root[data-theme="dark"] body.user .uc-board .fb-tab { background: var(--card); border-color: var(--line); color: var(--ink-2); }
:root[data-theme="dark"] body.user .uc-board .fb-tab:hover { border-color: var(--line-2); color: var(--ink); background: var(--card); }
:root[data-theme="dark"] body.user .uc-board .fb-tab.on { background: var(--blue-soft); border-color: transparent; color: var(--blue); }
:root[data-theme="dark"] body.user .u-table th { background: var(--bg-2); color: var(--ink-2); }
:root[data-theme="dark"] body.user .u-table tbody tr:nth-child(even) { background: transparent; }
:root[data-theme="dark"] body.user .u-table tbody tr:hover { background: var(--bg-2); }

/* ============================================================
   首页 Hero 终层：扁平 M3 收尾
   - 移除顶部径向渐变光晕 / mock 窗口投影 / 按钮 hover 上浮与投影
   - 残余硬编码色改为 CSS 变量，自动适配深浅主题
   ============================================================ */

/* ---- 页面顶部光晕：扁平化后移除 ---- */
body.home::before { display: none; }
:root[data-theme="dark"] body.home::before { display: none; }

/* ---------- 导航终层：扁平 Material3 · 细边框 · 无光晕 ----------
   收敛分散在 1283/2277/3599 的 top-notice 与页脚 vdot 光晕；
   移动端折叠见上方 860px 终层。 */

/* 顶栏：去投影，仅 1px 细底边 */
.topbar { box-shadow: none; }
:root[data-theme="dark"] .topbar { box-shadow: none; }

/* 公告条：纯卡片细底边，去掉蓝色色混与深色覆写 */
.top-notice {
    background: var(--card);
    border-top: 1px solid var(--line);
    box-shadow: none;
}
:root[data-theme="dark"] .top-notice { background: var(--card); }
.top-notice .tn-ic { stroke: var(--ink-3); }
.top-notice b { color: var(--ink); }

/* 页脚：细顶边、纯色底，vdot 去光晕脉冲改静态小点 */
.footer { border-top: 1px solid var(--line); box-shadow: none; }
.footer-ver .vdot { box-shadow: none; animation: none; }

/* ---- Hero CTA：hover 仅加深底色，不上浮、无投影 ---- */
body.home .hero .btn-primary:hover { background: var(--blue-deep); box-shadow: none; transform: none; }
body.home .hero .btn-primary:active { transform: scale(.98); }
body.home .hero .btn-plain { background: var(--card); border-color: var(--line-2); color: var(--ink-2); }
body.home .hero .btn-plain:hover { background: var(--bg-2); border-color: var(--blue); color: var(--blue); transform: none; }
:root[data-theme="dark"] body.home .hero .btn-primary:hover { background: var(--blue-deep); box-shadow: none; transform: none; }
:root[data-theme="dark"] body.home .hero .btn-plain { background: var(--card); border-color: var(--line-2); color: var(--ink-2); }
:root[data-theme="dark"] body.home .hero .btn-plain:hover { background: var(--bg-2); border-color: var(--blue); color: var(--blue); }

/* ---- 下载卡 CTA：同样去 hover 投影与上浮 ---- */
body.home .dl-card .btn-primary:hover { box-shadow: none; transform: none; }
:root[data-theme="dark"] body.home .dl-card .btn-primary:hover { box-shadow: none; transform: none; }

/* ---- mock 窗口 / 界面截图：去投影，仅细边，hover 描边加深 ---- */
body.home .hero-shot,
body.home .mock-window { box-shadow: none; }
body.home .hero-shot:hover,
body.home .mock-window:hover { box-shadow: none; transform: none; border-color: var(--line-2); }
body.home .hero-shot { border: 1px solid var(--line); border-radius: 8px; }
body.home .hero-shot figcaption { background: var(--bg-2); color: var(--ink-3); border-top: 1px solid var(--line); }
:root[data-theme="dark"] body.home .hero-shot,
:root[data-theme="dark"] body.home .mock-window { box-shadow: none; }
:root[data-theme="dark"] body.home .hero-shot:hover,
:root[data-theme="dark"] body.home .mock-window:hover { box-shadow: none; transform: none; border-color: var(--line-2); }

/* ---- mock 横幅：hover 用变量浅蓝 ---- */
body.home .mock-banner:hover { background: var(--blue-soft); }
:root[data-theme="dark"] body.home .mock-banner:hover { background: var(--blue-soft); }

/* ---- 标题与正文：硬编码色统一走变量 ---- */
body.home .hero-left h1 { color: var(--ink); }
body.home .hero-desc { color: var(--ink-2); }
body.home .hero-stat b { color: var(--blue); }
body.home .hero-stat span { color: var(--ink-3); }
body.home .hero-meta { color: var(--ink-3); }
body.home .hero-stat + .hero-stat { border-left-color: var(--line); }
body.home .sec-title { color: var(--ink); }
:root[data-theme="dark"] body.home .hero-left h1 { color: var(--ink); }
:root[data-theme="dark"] body.home .hero-desc { color: var(--ink-2); }
:root[data-theme="dark"] body.home .hero-stat span { color: var(--ink-3); }
:root[data-theme="dark"] body.home .hero-meta { color: var(--ink-3); }
:root[data-theme="dark"] body.home .hero-stat + .hero-stat { border-left-color: var(--line); }
:root[data-theme="dark"] body.home .sec-title { color: var(--ink); }

/* ---- 功能一览图标 hover 深化：变量化 ---- */
body.home .feat-row:hover .feat-icon { background: var(--blue-soft); }
:root[data-theme="dark"] body.home .feat-row:hover .feat-icon { background: var(--blue-soft); }

/* ---- 公告区块：独立细边卡片，行 hover 浅底 ---- */
body.home .ann-block { margin-bottom: 64px; }
body.home .ann-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: none;
    overflow: hidden;
    margin-top: 14px;
}
body.home .ann-rows { margin: 0; border-top: none; }
body.home .ann-row { padding: 13px 18px; transition: background .15s; }
body.home .ann-row:hover { background: var(--bg-2); }
body.home .ann-row:hover .ann-row-title { color: var(--blue); }
body.home .ann-row-title { color: var(--ink-2); }
body.home .ann-row-date { color: var(--ink-3); }
:root[data-theme="dark"] body.home .ann-card { background: var(--card); border-color: var(--line); }
:root[data-theme="dark"] body.home .ann-row { color: var(--ink-2); }
:root[data-theme="dark"] body.home .ann-row:hover { background: var(--bg-2); }
:root[data-theme="dark"] body.home .ann-row-title { color: var(--ink-2); }
:root[data-theme="dark"] body.home .ann-row-date { color: var(--ink-3); }

/* ============================================================
   支持的操作系统 · 终层（压过此前所有 sup-item 覆盖）
   独立圆角磁贴 + hover 蓝色描边高亮；XP 灰显 + 琥珀色停更标签
   ============================================================ */

/* 卡片容器：扁平白卡 + 浅底磁贴 */
body.home .sup-card {
    padding: 16px;
    gap: 10px;
    grid-template-columns: repeat(5, 1fr);
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: none;
}

/* 磁贴：圆角 + 浅底 + 无描边；hover 仅描边变色（不上浮、无投影） */
body.home .sup-item {
    background: var(--bg-2);
    border: 1px solid transparent;
    border-radius: 10px;
    padding: 18px 8px;
    gap: 6px;
    box-shadow: none;
    transform: none;
    transition: border-color .18s, background .18s;
}
body.home .sup-item + .sup-item { border-left: none; }
body.home .sup-item:hover {
    background: var(--bg);
    border-color: var(--line-2);
    box-shadow: none;
    transform: none;
}

/* 图标：统一尺寸 */
body.home .sup-item .sup-logo,
body.home .sup-item img { width: 40px; height: 40px; display: block; }

/* Win7：旗帜 + 文字横版 logo，放大显示 */
body.home .sup-item .sup-logo-win7 { width: 64px; height: auto; }
/* XP：旗帜 + 文字横版 logo，保持宽幅比例 */
body.home .sup-item .sup-logo-xp { width: 48px; height: auto; }

/* 文字 */
body.home .sup-item b { font-size: 14px; font-weight: 700; color: var(--ink); letter-spacing: -.2px; }
body.home .sup-item span { font-size: 12px; color: var(--ink-3); font-weight: 500; }
body.home .sup-item:hover b { color: var(--blue); }

/* XP 停更：虚线框 + 图标灰显 + 琥珀色标签 */
body.home .sup-xp-off {
    border: 1px dashed var(--line-2);
    background: var(--bg-2);
    opacity: 1;
}
body.home .sup-xp-off img,
body.home .sup-xp-off .sup-logo { opacity: .55; filter: grayscale(.55); }
body.home .sup-xp-off b { color: var(--ink-2); }
body.home .sup-xp-off span { color: var(--ink-3); }
body.home .sup-xp-off:hover { background: var(--bg); border-color: var(--line-2); }
body.home .sup-xp-off:hover b { color: var(--ink-2); }

body.home .sup-off-tag {
    border-radius: 999px;
    font-size: 10.5px;
    font-weight: 600;
    color: var(--warn);
    background: rgba(251, 191, 36, .12);
    border: 1px solid rgba(251, 191, 36, .35);
    padding: 2px 10px;
    margin-top: 2px;
}

/* ---- 深色主题：高特异性覆盖，变量生效 ---- */
:root[data-theme="dark"] body.home .sup-card { background: var(--card); border-color: var(--line); }
:root[data-theme="dark"] body.home .sup-item { background: var(--bg-2); border-color: transparent; }
:root[data-theme="dark"] body.home .sup-item:hover { background: var(--bg); border-color: var(--line-2); box-shadow: none; }
:root[data-theme="dark"] body.home .sup-item b { color: var(--ink); }
:root[data-theme="dark"] body.home .sup-item span { color: var(--ink-3); }
:root[data-theme="dark"] body.home .sup-item:hover b { color: var(--blue); }
:root[data-theme="dark"] body.home .sup-xp-off { border-color: var(--line-2); background: var(--bg-2); opacity: 1; }
:root[data-theme="dark"] body.home .sup-xp-off img,
:root[data-theme="dark"] body.home .sup-xp-off .sup-logo { opacity: .55; filter: grayscale(.55); }
:root[data-theme="dark"] body.home .sup-xp-off b { color: var(--ink-2); }
:root[data-theme="dark"] body.home .sup-xp-off:hover { background: var(--bg); border-color: var(--line-2); }
:root[data-theme="dark"] body.home .sup-xp-off:hover b { color: var(--ink-2); }
:root[data-theme="dark"] body.home .sup-off-tag { background: rgba(251, 191, 36, .12); color: var(--warn); border-color: rgba(251, 191, 36, .35); }

/* ---- 响应式：带 body.home 压过此前带 body.home 的断点 ---- */
@media (max-width: 860px) {
    body.home .sup-card { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
    body.home .sup-card { grid-template-columns: repeat(2, 1fr); padding: 12px; gap: 8px; }
    body.home .sup-item { padding: 14px 6px; }
}

/* ============================================================
   首页终层美化（压过此前所有 body.home 覆写）
   取向：延续克制的「精密仪器」风格 —— 不新增卡片、不放大阴影、
   不改已稳定的系统图标磁贴，只在节奏 / 间距 / 微交互上收束打磨。
   ============================================================ */

/* ---- 1. 排版节奏：统一板块间距，Hero 收一点留白 ---- */
body.home main { padding-top: 34px; }
body.home section { margin-bottom: 76px; }
body.home section:last-of-type { margin-bottom: 56px; }
body.home .hero { margin-bottom: 72px; padding: 52px 48px 48px; }
body.home .ann-block { margin-bottom: 56px; }

/* ---- 2. 标题：更紧凑的上下节奏，长条改为方点，与图标圆角呼应 ---- */
body.home .sec-title { font-size: 22px; margin-bottom: 20px; }
body.home .sec-title::before {
    width: 8px; height: 8px; border-radius: 2px;
    background: var(--blue);
}

/* ---- 3. Hero 徽章：细描边 + 微内高光，与整体细边卡片语言一致 ---- */
body.home .hero-badge {
    background: var(--blue-soft);
    border: 1px solid color-mix(in srgb, var(--blue) 22%, var(--line));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55);
}
:root[data-theme="dark"] body.home .hero-badge {
    background: var(--blue-soft);
    border-color: color-mix(in srgb, var(--blue) 30%, var(--line));
    box-shadow: none;
}

/* ---- 4. Hero 统计：数字与说明间距收紧，分隔线更浅更细 ---- */
body.home .hero-stats { margin-bottom: 24px; }
body.home .hero-stat { padding: 0 20px; }
body.home .hero-stat b { font-size: 26px; }
body.home .hero-stat + .hero-stat { border-left-color: var(--line); }

/* ---- 5. 功能一览：更舒适的行距，分隔发丝更浅 ---- */
body.home .feat-row { padding: 20px 0; }
body.home .feat-row + .feat-row { border-top-color: #EDF1F6; }
:root[data-theme="dark"] body.home .feat-row + .feat-row { border-top-color: var(--line); }

/* ---- 6. 主 CTA：hover 时微内高光，保留扁平不上浮 ---- */
body.home .hero .btn-primary,
body.home .dl-card .btn-primary {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18);
}
body.home .hero .btn-primary:hover,
body.home .dl-card .btn-primary:hover {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22);
}

/* ---- 8. 公告行：hover 背景走主题变量，深浅色自动适配 ---- */
body.home .ann-row:hover { background: var(--bg-2); }

/* ---- 9. 响应式：移动端收拢节奏 ---- */
@media (max-width: 560px) {
    body.home main { padding-top: 20px; }
    body.home section { margin-bottom: 52px; }
    body.home .hero { margin-bottom: 48px; padding: 30px 20px 26px; }
    body.home .sec-title { font-size: 20px; margin-bottom: 16px; }
}

/* ============================================================
   页脚专业简约（终层：压过此前所有 .footer 覆写，全站生效）
   取向：去重留白、细边分栏、克制的文字层级 —— 像一份工程文档的结尾。
   ============================================================ */

/* 页脚主体：纯页面底色 + 细顶边，去掉灰底色块 */
.footer {
    background: var(--bg);
    border-top: 1px solid var(--line);
    margin-top: 0;
    padding: 44px 0 26px;
    font-size: 13px;
    color: var(--ink-2);
}

/* 主区：品牌 + 链接两栏，垂直对齐更干净 */
.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 32px 48px;
    flex-wrap: wrap;
}

/* 品牌列 */
.footer-brand { display: flex; flex-direction: column; gap: 10px; max-width: 480px; }
.foot-logo { align-items: center; gap: 10px; }
.foot-logo img { display: block; }
.foot-logo b { font-size: 15px; font-weight: 700; color: var(--ink); letter-spacing: -.2px; }
.footer-brand span { font-size: 12.5px; line-height: 1.75; color: var(--ink-3); }

/* 链接列：紧凑横排，去掉中间的分隔符圆点 */
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 22px; align-items: center; padding-top: 2px; }
.footer-links .sep { display: none; }
.footer-links a { font-size: 12.5px; color: var(--ink-2); text-decoration: none; transition: color .15s; }
.footer-links a:hover { color: var(--blue); }

/* 底部条：版权 + 服务状态，一行两端对齐 */
.footer-bottom {
    margin-top: 28px; padding-top: 16px;
    border-top: 1px solid var(--line);
    display: flex; justify-content: space-between; align-items: center;
    gap: 12px; flex-wrap: wrap;
    font-size: 12px; color: var(--ink-3);
}
.footer-bottom a { color: var(--ink-3); text-decoration: none; transition: color .15s; }
.footer-bottom a:hover { color: var(--blue); }

/* 服务状态：绿色小点 + 小号灰字 */
.footer-ver { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; color: var(--ink-3); letter-spacing: .2px; }
.footer-ver .vdot { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); box-shadow: none; animation: none; }

/* 友情链接（若启用）：收进主区分隔带 */
.footer-friend { margin-top: 18px; padding: 14px 0 0; border-top: 1px solid var(--line); }
.footer-friend b { font-size: 11.5px; font-weight: 600; color: var(--ink-3); letter-spacing: .4px; }
.footer-friend a { font-size: 12.5px; color: var(--ink-2); }
.footer-friend a:hover { color: var(--blue); }

/* ICP 备案链接 */
.icp-link { margin-left: 12px; padding-left: 12px; border-left: 1px solid var(--line); font-size: 12px; color: var(--ink-3); }
.icp-link:hover { color: var(--blue); }

/* ---- 深色主题：跟随主题变量 ---- */
:root[data-theme="dark"] .footer { background: var(--bg); border-top-color: var(--line); }
:root[data-theme="dark"] .foot-logo b { color: var(--ink); }
:root[data-theme="dark"] .footer-ver .vdot { background: var(--ok); }

/* ---- 移动端：两栏折成单列，保持紧凑 ---- */
@media (max-width: 560px) {
    .footer { padding: 34px 0 22px; }
    .footer-inner { flex-direction: column; gap: 20px; }
    .footer-brand { max-width: 100%; }
    .footer-bottom { margin-top: 22px; }
}


/* ============================================================
   登录 / 注册页 · 简约终层
   取向：无卡片、无光晕、无渐变、无浮起动画。
   内容直接落在页面底色上，普通网站登录页的正常做法。
   ============================================================ */

/* ---- 1. 页面与容器 ---- */
body.auth-page { background: var(--bg); }
body.auth-page .auth-wrap { width: 100%; max-width: 400px; }
body.auth-page main {
    min-height: calc(100vh - 160px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px 48px;
}

/* ---- 2. 顶栏透明、隐藏公告条 ---- */
body.auth-page .topbar { background: transparent; border-bottom: none; box-shadow: none; }
:root[data-theme="dark"] body.auth-page .topbar { background: transparent; }
body.auth-page .top-notice { display: none; }

/* ---- 3. 去卡片 ---- */
body.auth-page .auth-card,
body.auth-page .auth-box.card {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    overflow: visible !important;
}
body.auth-page .auth-card::before,
body.auth-page .auth-card::after,
body.auth-page .auth-card.login-card::before {
    content: none !important;
    display: none !important;
}
body.auth-page .auth-card-inner { padding: 0 !important; }

/* ---- 4. 头部：真实 logo 直接显示，不加装饰 ---- */
body.auth-page .auth-header {
    text-align: center;
    padding: 0 0 26px !important;
    margin: 0 !important;
    border-bottom: none !important;
}
body.auth-page .auth-logo-img {
    width: 50px !important;
    height: 50px !important;
    margin: 0 auto 14px !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    background: none !important;
    box-shadow: none !important;
}
body.auth-page .auth-title {
    font-size: 21px !important;
    font-weight: 700 !important;
    letter-spacing: -.3px !important;
    color: var(--ink) !important;
    margin: 0 0 7px !important;
    -webkit-text-fill-color: var(--ink) !important;
    background: none !important;
}
body.auth-page .auth-subtitle {
    font-size: 13px !important;
    color: var(--ink-3) !important;
    line-height: 1.65 !important;
    margin: 0 auto !important;
    max-width: 320px;
}

/* ---- 5. 第三方登录：图标用品牌色，文字用中性色 ---- */
body.auth-page .social-section {
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
}
body.auth-page .social-btns {
    display: flex;
    gap: 12px;
    margin: 0 0 10px !important;
}
body.auth-page .sbtn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 42px;
    padding: 0 14px !important;
    border-radius: 10px !important;
    border: 1px solid var(--line-2) !important;
    background: var(--card) !important;
    color: var(--ink-2) !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: border-color .15s, background .15s;
    transform: none !important;
    box-shadow: none !important;
}
body.auth-page .sbtn:hover {
    background: var(--bg-2) !important;
    border-color: var(--ink-3) !important;
    transform: none !important;
    box-shadow: none !important;
}
:root[data-theme="dark"] body.auth-page .sbtn {
    background: var(--bg-2) !important;
    border-color: var(--line-2) !important;
}
:root[data-theme="dark"] body.auth-page .sbtn:hover {
    background: var(--card) !important;
}
body.auth-page .sbtn-svg { width: 19px; height: 19px; flex-shrink: 0; }
body.auth-page .sbtn-wx .sbtn-svg { color: #07C160 !important; }
body.auth-page .sbtn-qq .sbtn-svg path { fill: #12B7F5 !important; }
body.auth-page .social-hint {
    text-align: center;
    font-size: 12px !important;
    color: var(--ink-3) !important;
    line-height: 1.6 !important;
    margin: 0 !important;
}

/* ---- 6. 分隔线 ---- */
body.auth-page .auth-divider {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 18px 0 14px !important;
    margin: 0 !important;
    border: none !important;
}
body.auth-page .auth-divider::before,
body.auth-page .auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--line);
}
body.auth-page .auth-divider .divider-text {
    font-size: 12px !important;
    color: var(--ink-3) !important;
    white-space: nowrap !important;
}

/* ---- 7. 错误/提示条 ---- */
body.auth-page .auth-alert {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 8px;
    background: color-mix(in srgb, var(--err) 8%, var(--card));
    border: 1px solid color-mix(in srgb, var(--err) 28%, var(--line));
    color: var(--err);
    font-size: 12.5px;
    line-height: 1.5;
    margin-bottom: 14px;
}
:root[data-theme="dark"] body.auth-page .auth-alert {
    background: color-mix(in srgb, var(--err) 14%, var(--bg-2));
}

/* ---- 8. Tabs：下划线切换 ---- */
body.auth-page .tabs {
    display: flex !important;
    gap: 26px !important;
    padding: 0 !important;
    margin: 0 0 22px !important;
    background: transparent !important;
    border: none !important;
    border-bottom: 1px solid var(--line) !important;
    border-radius: 0 !important;
}
body.auth-page .tab {
    flex: 0 0 auto !important;
    padding: 0 1px 11px !important;
    margin: 0 0 -1px !important;
    font-size: 14.5px !important;
    font-weight: 600 !important;
    color: var(--ink-3) !important;
    background: transparent !important;
    border: none !important;
    border-bottom: 2px solid transparent !important;
    border-radius: 0 !important;
    cursor: pointer !important;
    transition: color .15s, border-color .15s;
}
body.auth-page .tab:hover { color: var(--ink) !important; }
body.auth-page .tab.on {
    color: var(--blue) !important;
    background: transparent !important;
    border-bottom-color: var(--blue) !important;
    font-weight: 700 !important;
    box-shadow: none !important;
}
:root[data-theme="dark"] body.auth-page .tab.on {
    color: var(--blue-hi) !important;
    border-bottom-color: var(--blue-hi) !important;
}

/* ---- 9. 表单输入 ---- */
body.auth-page .auth-form {
    padding: 0 !important;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 13px;
}
body.auth-page .field-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
body.auth-page .field-label {
    font-size: 12px !important;
    font-weight: 600 !important;
    color: var(--ink-2) !important;
    padding: 0 1px !important;
    margin: 0 !important;
}
body.auth-page .field-wrap {
    display: flex !important;
    align-items: center !important;
    height: 42px !important;
    border-radius: 10px !important;
    border: 1px solid var(--line-2) !important;
    background: var(--card) !important;
    padding: 0 12px !important;
    transition: border-color .15s, box-shadow .15s;
}
body.auth-page .field-wrap:focus-within {
    border-color: var(--blue) !important;
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue) 12%, transparent) !important;
}
body.auth-page .field-wrap input {
    flex: 1 !important;
    min-width: 0 !important;
    border: none !important;
    background: none !important;
    padding: 0 !important;
    height: 100% !important;
    font-size: 14px !important;
    color: var(--ink) !important;
    outline: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    font-family: inherit !important;
}
body.auth-page .field-wrap input::placeholder { color: var(--ink-3) !important; }
body.auth-page .pw-toggle {
    flex-shrink: 0 !important;
    width: 28px !important;
    height: 28px !important;
    border: none !important;
    background: none !important;
    color: var(--ink-3) !important;
    cursor: pointer !important;
    border-radius: 6px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: color .15s, background .15s;
}
body.auth-page .pw-toggle:hover {
    color: var(--ink) !important;
    background: color-mix(in srgb, var(--ink) 7%, transparent) !important;
}
body.auth-page .field-err {
    font-size: 11.5px !important;
    color: var(--err) !important;
    line-height: 1.4 !important;
    padding: 0 1px !important;
    margin: 0 !important;
}
body.auth-page .field-err:empty { display: none !important; }

/* ---- 10. 主按钮：实心蓝，无渐变无投影 ---- */
body.auth-page .btn-submit {
    width: 100% !important;
    height: 44px !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 10px !important;
    background: var(--blue) !important;
    color: #fff !important;
    font-size: 14.5px !important;
    font-weight: 600 !important;
    letter-spacing: .06em !important;
    cursor: pointer !important;
    transition: background .15s;
    margin-top: 6px !important;
    box-shadow: none !important;
}
body.auth-page .btn-submit:hover {
    background: var(--blue-deep) !important;
    transform: none !important;
    box-shadow: none !important;
    filter: none !important;
}
body.auth-page .btn-submit:active {
    background: var(--blue-deep) !important;
    transform: none !important;
    filter: none !important;
}

/* ---- 11. 底部 ---- */
body.auth-page .auth-footer {
    padding: 18px 0 0 !important;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
body.auth-page .auth-alt {
    font-size: 13px !important;
    color: var(--ink-2) !important;
    margin: 0 !important;
}
body.auth-page .auth-alt a {
    color: var(--blue) !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    border-bottom: none !important;
}
body.auth-page .auth-alt a:hover { text-decoration: underline !important; }
body.auth-page .back-link {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    font-size: 12px !important;
    color: var(--ink-3) !important;
    text-decoration: none !important;
    border-bottom: none !important;
    transition: color .15s;
}
body.auth-page .back-link:hover { color: var(--ink-2) !important; }
body.auth-page .auth-note {
    text-align: center !important;
    font-size: 12px !important;
    color: var(--ink-3) !important;
    padding: 12px 0 0 !important;
    line-height: 1.6 !important;
    margin: 0 !important;
    border-top: none !important;
}

/* ---- 12. 已登录成功状态 ---- */
body.auth-page .auth-success {
    padding: 6px 0 0 !important;
    text-align: center !important;
    margin: 0 !important;
}
body.auth-page .success-icon {
    width: 52px !important;
    height: 52px !important;
    margin: 0 auto 16px !important;
    border-radius: 50% !important;
    background: color-mix(in srgb, var(--ok) 10%, var(--card)) !important;
    border: 1px solid color-mix(in srgb, var(--ok) 30%, transparent) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: var(--ok) !important;
    box-shadow: none !important;
    animation: none !important;
}
body.auth-page .success-icon svg { width: 26px; height: 26px; }
:root[data-theme="dark"] body.auth-page .success-icon {
    background: color-mix(in srgb, var(--ok) 16%, var(--bg-2)) !important;
}
body.auth-page .success-title {
    font-size: 18px !important;
    font-weight: 700 !important;
    margin: 0 0 6px !important;
    color: var(--ink) !important;
}
body.auth-page .success-sub {
    font-size: 13px !important;
    color: var(--ink-2) !important;
    margin: 0 0 22px !important;
    line-height: 1.6 !important;
}
body.auth-page .success-actions {
    display: flex !important;
    gap: 10px !important;
    justify-content: center !important;
    margin: 0 !important;
}
body.auth-page .btn-action {
    display: inline-flex !important;
    align-items: center !important;
    padding: 10px 22px !important;
    border-radius: 8px !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: background .15s, color .15s, border-color .15s;
}
body.auth-page .btn-action-primary {
    background: var(--blue) !important;
    color: #fff !important;
    border: none !important;
    box-shadow: none !important;
}
body.auth-page .btn-action-primary:hover {
    background: var(--blue-deep) !important;
    transform: none !important;
}
body.auth-page .btn-action-ghost {
    background: var(--card) !important;
    color: var(--ink-2) !important;
    border: 1px solid var(--line-2) !important;
}
body.auth-page .btn-action-ghost:hover {
    color: var(--ink) !important;
    border-color: var(--ink-3) !important;
    background: var(--card) !important;
}

/* ---- 13. 响应式 ---- */
@media (max-width: 560px) {
    body.auth-page main { padding: 24px 16px 36px !important; }
    body.auth-page .social-btns { flex-direction: column !important; gap: 10px !important; }
    body.auth-page .tabs { gap: 18px !important; }
    body.auth-page .success-actions { flex-direction: column !important; }
    body.auth-page .btn-action { justify-content: center !important; }
}

/* ============================================================
   首页 · 手机版兼容终层（压过此前所有 body.home 移动端覆写）
   取向：完整响应式覆盖 —— 从平板到手机全尺寸，各板块节奏收紧、
   交互友好、文字可读性优先。
   ============================================================ */

/* ---- 1. 平板 / 小笔记本（≤ 900px） ---- */
@media (max-width: 900px) {
    body.home .hero {
        flex-direction: column; gap: 36px;
        padding: 40px 28px 36px;
        margin-bottom: 44px;
    }
    body.home .hero-right { order: -1; }
    body.home .hero-left { text-align: center; }
    body.home .hero-desc { max-width: 540px; margin: 0 auto 24px; }
    body.home .hero-stats { justify-content: center; }
    body.home .hero-actions { justify-content: center; }
    body.home .hero-meta { margin: 0; text-align: center; }
    body.home .hero-shot { max-width: 100%; margin: 0 auto; }
    body.home .mock-banner { margin: 0 0 12px 0; }

    body.home .two-col { flex-direction: column; gap: 48px; margin-bottom: 48px; }
    body.home .two-col .col { flex: 1; }

    body.home .feat-panel { grid-template-columns: 1fr; }
    body.home .feat-row { padding: 18px 16px; }
}

/* ---- 2. 手机竖屏（≤ 640px） ---- */
@media (max-width: 640px) {
    body.home main { padding-top: 24px; }
    body.home section { margin-bottom: 40px; }

    /* Hero：紧凑上下堆叠 */
    body.home .hero {
        padding: 28px 20px 24px; gap: 24px;
        margin-bottom: 32px;
    }
    body.home .hero-left h1 { font-size: 26px; letter-spacing: -.5px; }
    body.home .hero-badge { font-size: 11.5px; padding: 3px 12px; }
    body.home .hero-desc { font-size: 13.5px; line-height: 1.85; max-width: 100%; margin-bottom: 20px; }
    body.home .hero-stats { gap: 16px; margin-bottom: 20px; }
    body.home .hero-stat { padding: 0 14px; }
    body.home .hero-stat b { font-size: 22px; }
    body.home .hero-stat span { font-size: 11px; }
    body.home .hero-actions { flex-direction: column; gap: 10px; }
    body.home .hero-actions .btn-primary,
    body.home .hero-actions .btn-plain,
    body.home .hero-actions .btn-outline { width: 100%; text-align: center; justify-content: center; padding: 11px; }
    body.home .hero-meta { font-size: 11.5px; }
    body.home .hero-shot { border-radius: 8px; }
    body.home .mock-banner { font-size: 12px; padding: 6px 12px; }

    /* 公告 */
    body.home .ann-head { flex-direction: column; gap: 8px; align-items: flex-start; }
    body.home .ann-more { font-size: 12.5px; }
    body.home .ann-row { padding: 10px 2px; font-size: 13.5px; }
    body.home .ann-row-date { font-size: 12px; }

    /* 功能一览 */
    body.home .sec-title { font-size: 18px; margin-bottom: 14px; }
    body.home .feat-row { padding: 14px 12px; gap: 10px; }
    body.home .feat-icon { width: 38px; height: 38px; }
    body.home .feat-icon svg { width: 18px; height: 18px; }
    body.home .feat-body h3 { font-size: 14.5px; }
    body.home .feat-body p { font-size: 12.5px; line-height: 1.7; }

    /* 更新日志 + 下载 */
    body.home .log-card { padding: 16px; }
    body.home .log-head b { font-size: 15px; }
    body.home .log-head span { font-size: 12px; }
    body.home .log-body { font-size: 12.5px; line-height: 1.7; padding: 12px; }
    body.home .dl-card { padding: 18px 14px; }
    body.home .dl-name { font-size: 15px; }
    body.home .dl-info { font-size: 12px; }
    body.home .dl-note { font-size: 12px; line-height: 1.65; }
    body.home .dl-tip { font-size: 11.5px; }
    body.home .dl-card .btn-block { padding: 10px; font-size: 13.5px; }
    body.home .safe-item { font-size: 11.5px; }
    body.home .rec-tag,
    body.home .xp-final-tag { font-size: 10.5px; padding: 2px 8px; }
    body.home .dl-os { font-size: 11px; }

    /* 支持系统 */
    body.home .sup-card { padding: 16px; gap: 12px; grid-template-columns: repeat(2, 1fr); }
    body.home .sup-item { padding: 18px 10px; gap: 6px; }
    body.home .sup-item + .sup-item { border-left: none; border-top: 1px solid var(--line); }
    body.home .sup-item:nth-child(2),
    body.home .sup-item:nth-child(4) { border-left: 1px solid var(--line); border-top: none; }
    body.home .sup-item:nth-child(3) { border-top: 1px solid var(--line); }
    body.home .sup-item:nth-child(4) { border-left: 1px solid var(--line); }
    body.home .sup-item:nth-child(5) { border-left: 1px solid var(--line); border-top: 1px solid var(--line); }
    body.home .sup-item:nth-child(6) { border-top: 1px solid var(--line); }
    body.home .sup-item b { font-size: 13px; }
    body.home .sup-item span { font-size: 11px; }
    body.home .sup-logo { width: 36px; height: 22px; }
    body.home .sup-logo-win7 { width: 32px; }
    body.home .sup-off-tag { font-size: 10px; padding: 1px 6px; }

    /* 系统要求 */
    body.home .req-card ul { grid-template-columns: 1fr; }
    body.home .req-card li { padding: 14px 12px; }
    body.home .req-card li:nth-child(odd) { border-right: none; }
    body.home .req-card li:nth-child(3) { border-bottom: 1px solid var(--line); }
    body.home .req-card li b { font-size: 12.5px; }
    body.home .req-card li span { font-size: 12.5px; }

    /* 社区反馈 */
    body.home .comm-head { flex-direction: column; gap: 6px; align-items: flex-start; }
    body.home .comm-more { font-size: 12.5px; }
    body.home .comm-item { padding: 14px 12px; gap: 10px; }
    body.home .comm-item .tag { font-size: 10.5px; padding: 2px 8px; }
    body.home .comm-item-main b { font-size: 13.5px; }
    body.home .comm-item-main i { font-size: 12px; }
    body.home .comm-item-vote { font-size: 11px; }
    body.home .comm-empty { padding: 28px 14px; font-size: 13px; }

    /* 页脚 */
    body.home .footer { padding: 32px 0 20px; }
    body.home .footer-inner { flex-direction: column; gap: 24px; }
    body.home .footer-brand { max-width: 100%; align-items: flex-start; }
    body.home .footer-links { flex-direction: column; align-items: flex-start; gap: 8px 0; }
    body.home .footer-bottom { flex-direction: column; align-items: flex-start; gap: 6px; }
    body.home .icp-link { margin-left: 0; padding-left: 0; border-left: none; }
}

/* ---- 3. 小手机（≤ 480px） ---- */
@media (max-width: 480px) {
    body.home .hero { padding: 24px 16px 20px; }
    body.home .hero-left h1 { font-size: 22px; }
    body.home .hero-stat b { font-size: 19px; }
    body.home .hero-stats { gap: 12px; }
    body.home .hero-stat { padding: 0 10px; }
    body.home .feat-body p { font-size: 12px; }
    body.home .dl-card { padding: 16px 12px; }
    body.home .sup-card { grid-template-columns: repeat(2, 1fr); padding: 14px; gap: 10px; }
    body.home .sup-item { padding: 14px 8px; }
    body.home .comm-item { padding: 12px 10px; }
}

/* ---- 4. 极小屏（≤ 360px） ---- */
@media (max-width: 360px) {
    body.home .hero-left h1 { font-size: 20px; }
    body.home .hero-stat b { font-size: 17px; }
    body.home .hero-stat span { font-size: 10px; }
}

/* ---- 5. 深色主题 · 手机版补充 ---- */
@media (max-width: 640px) {
    :root[data-theme="dark"] body.home .hero { padding: 28px 16px 24px; }
    :root[data-theme="dark"] body.home .sup-item + .sup-item { border-top-color: var(--line-2); }
    :root[data-theme="dark"] body.home .sup-item:nth-child(2),
    :root[data-theme="dark"] body.home .sup-item:nth-child(4) { border-left-color: var(--line-2); }
    :root[data-theme="dark"] body.home .sup-item:nth-child(3) { border-top-color: var(--line-2); }
    :root[data-theme="dark"] body.home .sup-item:nth-child(5) { border-left-color: var(--line-2); border-top-color: var(--line-2); }
    :root[data-theme="dark"] body.home .sup-item:nth-child(6) { border-top-color: var(--line-2); }
    :root[data-theme="dark"] body.home .req-card li { border-bottom-color: var(--line-2); }
    :root[data-theme="dark"] body.home .comm-item { border-bottom-color: var(--line-2); }
}

/* ============================================================
   反馈广场 · 现代化终层（压过此前所有 body.feedback 覆写层）
   取向：精致 Material3 卡片系统 —— 12px 圆角 · 1px 细边 ·
   无硬阴影 · hover 仅描边加深 · 克制蓝色点缀
   完整覆盖各板块 + 移动端响应式 + 深色主题
   ============================================================ */

/* ---- 1. 页面基底 ---- */
body.feedback {
    background: var(--bg) !important;
    background-image: none !important;
}
body.feedback::after { display: none !important; }
body.feedback main { padding-top: 32px; }
:root[data-theme="dark"] body.feedback { background: var(--bg) !important; }

/* ---- 2. 页面标题区 ---- */
body.feedback > main > .fb-hero {
    display: flex !important; justify-content: space-between; align-items: flex-end;
    gap: 24px; margin-bottom: 28px; flex-wrap: wrap;
    padding-bottom: 24px;
}
body.feedback .fb-hero-left { flex: 1; min-width: 0; }
body.feedback .fb-hero h2 {
    font-size: 22px !important; font-weight: 700;
    color: var(--ink) !important; margin: 0 0 8px !important;
    letter-spacing: -.4px;
}
body.feedback .fb-hero-desc {
    color: var(--ink-2) !important; font-size: 14px !important;
    line-height: 1.75; max-width: 540px; margin: 0;
}

/* ---- 3. 统计指标 ---- */
body.feedback .fb-stat {
    display: flex !important; gap: 32px; align-items: center; flex-shrink: 0;
    padding: 16px 28px !important;
    background: var(--card) !important;
    border: 1px solid var(--line) !important;
    border-radius: 12px !important;
    box-shadow: none !important;
}
body.feedback .fb-stat-item {
    display: flex !important; align-items: center; gap: 10px; min-width: 0;
}
body.feedback .fb-stat-ic {
    width: 36px !important; height: 36px !important; flex-shrink: 0;
    border-radius: 9px !important;
    display: flex; align-items: center; justify-content: center;
}
body.feedback .fb-stat-ic svg { width: 17px !important; height: 17px !important; }
body.feedback .fb-stat-ic.fb-ic-bug {
    background: rgba(220,38,38,.08) !important; color: var(--err) !important;
}
body.feedback .fb-stat-ic.fb-ic-feat {
    background: rgba(37,99,235,.08) !important; color: var(--blue) !important;
}
body.feedback .fb-stat-ic.fb-ic-done {
    background: rgba(22,163,74,.08) !important; color: var(--ok) !important;
}
:root[data-theme="dark"] .fb-stat-ic.fb-ic-bug { background: rgba(220,38,38,.14) !important; }
:root[data-theme="dark"] .fb-stat-ic.fb-ic-feat { background: rgba(37,99,235,.14) !important; }
:root[data-theme="dark"] .fb-stat-ic.fb-ic-done { background: rgba(22,163,74,.14) !important; }
body.feedback .fb-stat-num { display: flex !important; flex-direction: column; }
body.feedback .fb-stat-num b {
    font-size: 20px !important; line-height: 1.2 !important;
    color: var(--ink) !important; font-weight: 700;
}
body.feedback .fb-stat-num span {
    font-size: 11.5px !important; color: var(--ink-3) !important;
    letter-spacing: .3px;
}
:root[data-theme="dark"] body.feedback .fb-stat {
    background: var(--card) !important; border-color: var(--line-2) !important;
}

/* ---- 4. Tab 栏 ---- */
body.feedback .fb-tabs {
    display: flex !important; gap: 0; margin: 0 0 24px;
    border-radius: 9px !important;
    background: var(--bg-2) !important;
    border: 1px solid var(--line) !important;
    overflow: hidden; padding: 3px;
}
body.feedback .fb-tab {
    display: inline-flex !important; align-items: center; gap: 6px;
    padding: 8px 22px !important;
    border: none !important; border-radius: 7px !important;
    background: none !important; box-shadow: none !important;
    font-size: 13.5px !important; font-weight: 500 !important;
    color: var(--ink-2) !important; text-decoration: none;
    transition: all .18s ease;
    flex: 1; justify-content: center;
}
body.feedback .fb-tab i {
    font-style: normal !important; font-size: 11px !important;
    color: var(--ink-3) !important;
    background: var(--line) !important;
    padding: 1px 8px !important; border-radius: 99px !important;
    line-height: 1.4; transition: all .18s ease;
}
body.feedback .fb-tab:hover { color: var(--ink) !important; }
body.feedback .fb-tab.on {
    background: var(--card) !important; color: var(--ink) !important; font-weight: 600 !important;
    box-shadow: 0 1px 4px rgba(16,26,40,.08) !important;
}
body.feedback .fb-tab.on i {
    background: var(--blue-soft) !important; color: var(--blue) !important;
    font-weight: 600 !important;
}
:root[data-theme="dark"] body.feedback .fb-tabs {
    background: rgba(255,255,255,.05) !important;
    border-color: var(--line-2) !important;
}
:root[data-theme="dark"] body.feedback .fb-tab.on {
    background: var(--card) !important;
    box-shadow: 0 2px 6px rgba(0,0,0,.15) !important;
}

/* ---- 5. 筛选栏 ---- */
body.feedback .fb-filter { margin: 0 0 24px !important; padding: 0 !important; }
body.feedback .fb-filter-row {
    display: flex !important; align-items: center; gap: 8px;
    flex-wrap: wrap; padding: 0 !important; margin-bottom: 12px;
}
body.feedback .fb-filter-row:last-child { margin-bottom: 0 !important; }
body.feedback .fb-filter-label {
    font-size: 11px !important; font-weight: 600 !important;
    color: var(--ink-3) !important;
    width: 36px; flex-shrink: 0;
    text-transform: uppercase; letter-spacing: .6px;
}
body.feedback .chip {
    padding: 5px 14px !important;
    border: 1px solid var(--line) !important;
    border-radius: 99px !important;
    font-size: 12.5px !important; font-weight: 500 !important;
    color: var(--ink-2) !important;
    background: var(--card) !important;
    text-decoration: none;
    transition: all .15s ease; cursor: pointer;
    box-shadow: none !important;
}
body.feedback .chip:hover {
    border-color: var(--blue) !important; color: var(--blue) !important;
    background: var(--blue-soft) !important;
}
body.feedback .chip.on {
    border-color: var(--blue) !important; background: var(--blue) !important;
    color: #fff !important; font-weight: 600 !important;
}
:root[data-theme="dark"] body.feedback .chip { background: var(--card) !important; }
:root[data-theme="dark"] body.feedback .chip.on {
    background: var(--blue) !important; border-color: var(--blue) !important; color: #fff !important;
}

/* ---- 6. 反馈条目 ---- */
body.feedback .fb-list-col .fb-item {
    background: var(--card) !important;
    border: 1px solid var(--line) !important;
    border-radius: 12px !important;
    box-shadow: none !important;
    padding: 20px 24px !important;
    margin: 0 0 12px !important;
    position: relative !important;
    transition: border-color .18s ease, box-shadow .18s ease;
}
body.feedback .fb-list-col .fb-item:hover {
    border-color: var(--line-2) !important;
    box-shadow: 0 2px 12px rgba(16,26,40,.06) !important;
}
body.feedback .fb-list-col .fb-item::before { display: none !important; }
:root[data-theme="dark"] body.feedback .fb-item {
    background: var(--card) !important; border-color: var(--line-2) !important;
}
:root[data-theme="dark"] body.feedback .fb-item:hover {
    border-color: var(--blue-hi) !important;
    box-shadow: 0 2px 14px rgba(0,0,0,.2) !important;
}

/* 条目内部 */
body.feedback .fb-item-head {
    display: flex !important; align-items: center; gap: 10px;
    margin-bottom: 10px !important; flex-wrap: wrap;
}
body.feedback .fb-title {
    flex: 1; min-width: 0;
    font-size: 15px !important; font-weight: 600 !important;
    color: var(--ink) !important; line-height: 1.45;
}
body.feedback .tag {
    font-size: 11px !important; font-weight: 600 !important;
    padding: 3px 10px !important;
    border-radius: 99px !important;
    background: var(--bg-2) !important;
    color: var(--ink-2) !important;
    border: 1px solid var(--line) !important;
}
body.feedback .tag-bug {
    background: rgba(220,38,38,.06) !important;
    color: var(--err) !important;
    border-color: rgba(220,38,38,.15) !important;
}
body.feedback .tag-feature {
    background: rgba(37,99,235,.06) !important;
    color: var(--blue) !important;
    border-color: rgba(37,99,235,.15) !important;
}
body.feedback .tag-other {
    background: var(--bg-2) !important;
    color: var(--ink-3) !important;
    border-color: var(--line) !important;
}
body.feedback .fb-status {
    font-size: 11px !important; font-weight: 600 !important;
    padding: 3px 10px !important;
    border-radius: 99px !important; flex-shrink: 0;
}
body.feedback .st0 { background: rgba(217,119,6,.1) !important; color: var(--warn) !important; }
body.feedback .st1 { background: rgba(37,99,235,.1) !important; color: var(--blue) !important; }
body.feedback .st2 { background: rgba(22,163,74,.1) !important; color: var(--ok) !important; }
:root[data-theme="dark"] body.feedback .st0 { background: rgba(217,119,6,.18) !important; }
:root[data-theme="dark"] body.feedback .st1 { background: rgba(37,99,235,.18) !important; }
:root[data-theme="dark"] body.feedback .st2 { background: rgba(22,163,74,.18) !important; }
body.feedback .fb-meta {
    display: flex !important; gap: 14px !important;
    font-size: 12px !important; color: var(--ink-3) !important;
    margin-bottom: 10px !important; flex-wrap: wrap;
}
body.feedback .fb-author { color: var(--ink-2) !important; font-weight: 600 !important; }
body.feedback .fb-os {
    display: inline-flex !important; align-items: center;
    padding: 2px 10px !important;
    border-radius: 99px !important;
    background: var(--blue-soft) !important; color: var(--blue) !important;
    font-size: 11px !important; font-weight: 500 !important;
}
:root[data-theme="dark"] body.feedback .fb-os {
    background: rgba(37,99,235,.15) !important; color: var(--blue-hi) !important;
}
body.feedback .fb-item-body {
    color: var(--ink-2) !important;
    font-size: 13.5px !important; line-height: 1.75 !important;
    margin: 0;
}
body.feedback .fb-reply {
    margin: 12px 0 0 !important; padding: 12px 16px !important;
    background: rgba(22,163,74,.05) !important;
    border-left: 3px solid var(--ok) !important;
    font-size: 13px !important;
    border-radius: 8px !important;
    line-height: 1.7 !important; color: var(--ink-2) !important;
}
body.feedback .fb-reply b {
    color: var(--ok) !important; margin-right: 6px;
    font-weight: 700 !important; font-size: 12px;
}
:root[data-theme="dark"] body.feedback .fb-reply { background: rgba(22,163,74,.1) !important; }

/* 操作按钮 */
body.feedback .fb-item-foot {
    margin-top: 16px !important;
    display: flex !important; align-items: center; gap: 10px;
    flex-wrap: wrap;
    padding-top: 14px !important;
    border-top: 1px solid var(--line) !important;
}
:root[data-theme="dark"] body.feedback .fb-item-foot { border-top-color: var(--line-2) !important; }
body.feedback .bs-count-static { font-size: 12px !important; color: var(--ink-3) !important; }
body.feedback .bs-count-static a { color: var(--blue) !important; text-decoration: none !important; }
body.feedback .bs-count-static a:hover { text-decoration: underline !important; }
body.feedback .btn-support {
    display: inline-flex !important; align-items: center; gap: 5px;
    border: 1px solid var(--line) !important;
    background: var(--card) !important; color: var(--ink-2) !important;
    border-radius: 99px !important;
    padding: 5px 14px !important; font-size: 12.5px !important; font-weight: 500 !important;
    cursor: pointer; font-family: inherit;
    transition: all .15s ease;
}
body.feedback .btn-support:hover {
    border-color: var(--blue) !important;
    color: var(--blue) !important;
    background: var(--blue-soft) !important;
}
body.feedback .btn-support.on {
    border-color: var(--blue) !important;
    background: var(--blue) !important; color: #fff !important;
}
body.feedback .btn-support.on:hover { background: var(--blue-deep) !important; }
body.feedback .btn-support .bs-arrow { font-style: normal !important; font-size: 11px !important; }
body.feedback .btn-support .bs-count { font-size: 12.5px !important; font-weight: 700 !important; }
body.feedback .btn-support.on .bs-count { color: #fff !important; }
body.feedback .btn-comment {
    display: inline-flex !important; align-items: center; gap: 4px;
    border: none !important; background: none !important;
    color: var(--ink-3) !important;
    border-radius: 99px !important;
    padding: 5px 12px !important; font-size: 12.5px !important;
    cursor: pointer; font-family: inherit;
    transition: all .15s ease;
}
body.feedback .btn-comment:hover { color: var(--blue) !important; background: var(--blue-soft) !important; }
body.feedback .btn-comment .bc-count {
    font-size: 12.5px !important; font-weight: 700 !important; color: var(--ink-2) !important;
}
:root[data-theme="dark"] body.feedback .btn-support {
    background: var(--card) !important; border-color: var(--line-2) !important;
}
:root[data-theme="dark"] body.feedback .btn-support:hover {
    border-color: var(--blue-hi) !important; background: rgba(37,99,235,.1) !important;
}

/* 评论区 */
body.feedback .fb-comments {
    margin: 0 !important; padding: 16px 0 0 !important;
    border-top: 1px dashed var(--line) !important;
}
:root[data-theme="dark"] body.feedback .fb-comments { border-top-color: var(--line-2) !important; }
body.feedback .fb-comments > .fb-cmt-inner { overflow: hidden; min-height: 0; }
body.feedback .fb-comments[hidden] { display: none !important; }
body.feedback .fb-cmt-list { display: grid !important; gap: 12px; }
body.feedback .cmt-empty { color: var(--ink-3) !important; font-size: 12px !important; padding: 4px 0; }
body.feedback .cmt {
    padding: 12px 16px !important;
    background: var(--bg-2) !important;
    border: 1px solid var(--line) !important;
    border-radius: 10px !important;
}
:root[data-theme="dark"] body.feedback .cmt {
    background: rgba(255,255,255,.03) !important; border-color: var(--line-2) !important;
}
body.feedback .cmt-head {
    display: flex !important; align-items: center; gap: 10px;
    font-size: 11.5px !important; margin-bottom: 6px;
}
body.feedback .cmt-name { color: var(--ink) !important; font-weight: 600 !important; }
body.feedback .cmt-name.me { color: var(--blue) !important; }
body.feedback .cmt-loc, body.feedback .cmt-time { color: var(--ink-3) !important; }
body.feedback .cmt-time { margin-left: auto !important; }
body.feedback .cmt-del {
    border: none !important; background: none !important;
    color: var(--ink-3) !important; cursor: pointer;
    font-size: 14px !important; line-height: 1; padding: 0 2px; font-family: inherit;
}
body.feedback .cmt-del:hover { color: var(--err) !important; }
body.feedback .cmt-body {
    font-size: 13px !important; color: var(--ink-2) !important;
    word-break: break-word; white-space: pre-wrap; line-height: 1.65;
}
body.feedback .fb-cmt-form {
    display: flex !important; gap: 10px !important;
    margin-top: 14px !important; align-items: center;
}
body.feedback .fb-cmt-input {
    flex: 1 !important;
    border: 1px solid var(--line) !important;
    border-radius: 9px !important;
    background: var(--card) !important;
    padding: 9px 14px !important; font-size: 13px !important;
    color: var(--ink) !important; outline: none;
    transition: border-color .15s ease, box-shadow .15s ease;
    font-family: inherit;
}
body.feedback .fb-cmt-input:focus {
    border-color: var(--blue) !important;
    box-shadow: 0 0 0 3px rgba(37,99,235,.1) !important;
}
:root[data-theme="dark"] body.feedback .fb-cmt-input {
    background: var(--card) !important; border-color: var(--line-2) !important;
}
:root[data-theme="dark"] body.feedback .fb-cmt-input:focus {
    border-color: var(--blue-hi) !important;
    box-shadow: 0 0 0 3px rgba(59,130,246,.15) !important;
}
body.feedback .fb-cmt-err { font-size: 11.5px !important; color: var(--err) !important; min-height: 15px; margin-top: 4px; width: 100%; }
body.feedback .fb-cmt-login { font-size: 12px !important; color: var(--ink-3) !important; margin-top: 12px; }
body.feedback .fb-cmt-login a { color: var(--blue) !important; text-decoration: none !important; }
body.feedback .fb-cmt-login a:hover { text-decoration: underline !important; }

/* ---- 7. 系统分区 ---- */
body.feedback .fb-group { margin-top: 28px !important; }
body.feedback .fb-group:first-of-type { margin-top: 0 !important; }
body.feedback .fb-group-head {
    display: flex !important; align-items: center; gap: 12px;
    margin: 0 0 14px !important; padding: 0 !important;
    background: none !important; border-left: none !important;
}
body.feedback .fb-group-ic {
    width: 30px !important; height: 30px !important; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    background: var(--blue-soft) !important;
    border-radius: 8px !important;
}
body.feedback .fb-group-ic svg {
    width: 15px !important; height: 15px !important;
    fill: none; stroke: var(--blue) !important;
    stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}
:root[data-theme="dark"] body.feedback .fb-group-ic { background: rgba(37,99,235,.15) !important; }
:root[data-theme="dark"] body.feedback .fb-group-ic svg { stroke: var(--blue-hi) !important; }
body.feedback .fb-group-title {
    font-size: 16px !important; font-weight: 700 !important;
    color: var(--ink) !important; margin: 0 !important;
    letter-spacing: -.2px;
}
body.feedback .fb-group-count { font-size: 12px !important; color: var(--ink-3) !important; font-weight: 500; }
body.feedback .fb-group-more {
    margin-left: auto !important;
    font-size: 13px !important; font-weight: 500 !important;
    color: var(--blue) !important;
    white-space: nowrap; text-decoration: none;
    transition: opacity .15s ease;
}
body.feedback .fb-group-more:hover { opacity: .65 !important; text-decoration: underline; }
body.feedback .fb-group-body { display: grid !important; gap: 12px; }

/* ---- 8. 空状态 ---- */
body.feedback .empty-tip.card {
    background: var(--card) !important;
    border: 1px solid var(--line) !important;
    border-radius: 12px !important;
    padding: 36px 24px !important;
    text-align: center;
    color: var(--ink-3) !important; font-size: 14px !important;
    box-shadow: none !important;
}
:root[data-theme="dark"] body.feedback .empty-tip.card {
    background: var(--card) !important; border-color: var(--line-2) !important;
}

/* ---- 9. 分页 ---- */
body.feedback .pager {
    margin: 24px 0 4px !important;
    display: flex !important; align-items: center; justify-content: center; gap: 8px;
}
body.feedback .pager a {
    padding: 8px 20px !important;
    font-size: 13px !important; font-weight: 500 !important;
    color: var(--ink-2) !important; text-decoration: none !important;
    background: var(--card) !important;
    border: 1px solid var(--line) !important;
    border-radius: 8px !important;
    transition: all .15s ease;
}
body.feedback .pager a:hover {
    border-color: var(--blue) !important;
    color: var(--blue) !important;
    background: var(--blue-soft) !important;
}
:root[data-theme="dark"] body.feedback .pager a {
    background: var(--card) !important; border-color: var(--line-2) !important;
}
body.feedback .pager span {
    font-size: 13px !important; color: var(--ink-3) !important;
    padding: 0 8px;
}

/* ---- 10. 侧栏表单 ---- */
body.feedback .fb-form-col { padding-top: 0 !important; }
body.feedback .fb-form-col h2 { margin-bottom: 18px !important; }
body.feedback .fb-form-col .card {
    background: var(--card) !important;
    border: 1px solid var(--line) !important;
    border-radius: 12px !important;
    box-shadow: none !important;
    padding: 22px !important;
}
:root[data-theme="dark"] body.feedback .fb-form-col .card {
    background: var(--card) !important; border-color: var(--line-2) !important;
}
body.feedback .fb-login-tip {
    font-size: 13.5px !important; color: var(--ink-2) !important;
    line-height: 1.7; padding: 0 !important; margin: 0 !important;
}
body.feedback .fb-login-tip a {
    color: var(--blue) !important; text-decoration: none !important;
    font-weight: 500;
}
body.feedback .fb-login-tip a:hover { text-decoration: underline !important; }

/* 类型选择 */
body.feedback .fb-type-pick {
    display: grid !important; grid-template-columns: repeat(3, 1fr);
    gap: 10px; margin-bottom: 20px !important;
}
body.feedback .fb-type-opt { position: relative; cursor: pointer; }
body.feedback .fb-type-opt input { position: absolute; opacity: 0; pointer-events: none; }
body.feedback .fb-type-opt span {
    display: flex !important; flex-direction: column; align-items: center; gap: 8px;
    padding: 14px 10px 12px !important;
    border: 1.5px solid var(--line) !important;
    border-radius: 10px !important;
    font-size: 12.5px !important; font-weight: 500 !important;
    color: var(--ink-2) !important; text-align: center;
    background: var(--card) !important;
    transition: all .15s ease;
}
body.feedback .fb-type-opt .fb-type-ic {
    width: 30px !important; height: 30px !important;
    border-radius: 50% !important;
    display: flex; align-items: center; justify-content: center;
    background: var(--bg-2) !important; color: var(--ink-3) !important;
    transition: all .15s ease;
}
body.feedback .fb-type-opt .fb-type-ic svg {
    width: 15px !important; height: 15px !important;
    fill: none; stroke: currentColor !important;
    stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}
body.feedback .fb-type-opt:hover span {
    border-color: var(--ink-2) !important; color: var(--ink) !important;
}
body.feedback .fb-type-opt:hover .fb-type-ic { background: var(--bg-2) !important; }
body.feedback .fb-type-opt input:checked + span {
    border-color: var(--blue) !important;
    background: var(--blue-soft) !important;
    color: var(--blue) !important; font-weight: 600;
}
body.feedback .fb-type-opt input:checked + .fb-type-ic {
    background: var(--blue) !important; color: #fff !important;
}
:root[data-theme="dark"] body.feedback .fb-type-opt input:checked + span {
    background: rgba(37,99,235,.12) !important;
    border-color: var(--blue-hi) !important;
    color: var(--blue-hi) !important;
}
:root[data-theme="dark"] body.feedback .fb-type-opt input:checked + .fb-type-ic {
    background: var(--blue) !important; color: #fff !important;
}
body.feedback .fb-count-row {
    display: flex !important; align-items: center;
    justify-content: flex-end; margin-top: 6px !important; gap: 8px;
}
body.feedback .fb-count { font-size: 11.5px !important; color: var(--ink-3) !important; }
body.feedback .fb-count b { color: var(--ink-2) !important; font-weight: 600 !important; }
body.feedback .fb-count.over { color: var(--err) !important; }
body.feedback .fb-count.over b { color: var(--err) !important; }

/* 表单字段 */
body.feedback .field { margin-bottom: 18px !important; }
body.feedback .field > span {
    font-size: 13px !important; color: var(--ink) !important;
    font-weight: 600 !important; margin-bottom: 7px; display: block;
}
body.feedback .field > span small {
    color: var(--ink-3) !important; font-weight: 400 !important;
    margin-left: 6px !important; font-size: 11.5px;
}
body.feedback .field input,
body.feedback .field textarea,
body.feedback .field select {
    border-radius: 9px !important;
    border: 1px solid var(--line) !important;
    background: var(--card) !important;
    padding: 10px 14px !important;
    font-size: 14px !important;
    color: var(--ink) !important;
    outline: none;
    transition: border-color .15s ease, box-shadow .15s ease;
    width: 100%; box-sizing: border-box; font-family: inherit;
}
body.feedback .field textarea {
    resize: vertical !important;
    min-height: 110px !important; line-height: 1.7 !important;
}
body.feedback .field input:focus,
body.feedback .field textarea:focus,
body.feedback .field select:focus {
    border-color: var(--blue) !important;
    box-shadow: 0 0 0 3px rgba(37,99,235,.1) !important;
}
:root[data-theme="dark"] body.feedback .field input,
:root[data-theme="dark"] body.feedback .field textarea,
:root[data-theme="dark"] body.feedback .field select {
    background: var(--card) !important; border-color: var(--line-2) !important;
}
:root[data-theme="dark"] body.feedback .field input:focus,
:root[data-theme="dark"] body.feedback .field textarea:focus,
:root[data-theme="dark"] body.feedback .field select:focus {
    border-color: var(--blue-hi) !important;
    box-shadow: 0 0 0 3px rgba(59,130,246,.15) !important;
}
body.feedback .fb-os-select {
    appearance: none !important; -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238895A8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 14px center !important;
    padding-right: 34px !important; cursor: pointer;
}
:root[data-theme="dark"] body.feedback .fb-os-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238895A8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") !important;
}
body.feedback .field .field-err {
    font-size: 11.5px !important; color: var(--err) !important;
    min-height: 15px; margin-top: 5px !important; display: block;
}
body.feedback .btn-block {
    border-radius: 9px !important; width: 100% !important;
    margin-top: 6px !important; padding: 11px !important;
    font-size: 14.5px !important;
}
body.feedback .form-msg {
    margin-top: 12px !important; font-size: 13px !important; min-height: 20px;
}

/* ---- 11. 移动端响应式（≤ 640px） ---- */
@media (max-width: 640px) {
    body.feedback main { padding-top: 20px; }

    /* 页面标题区 */
    body.feedback > main > .fb-hero {
        flex-direction: column !important; align-items: flex-start !important;
        gap: 16px !important; margin-bottom: 20px !important;
        padding-bottom: 16px !important;
    }
    body.feedback .fb-hero h2 { font-size: 18px !important; }
    body.feedback .fb-hero-desc { font-size: 13px !important; max-width: 100%; }
    body.feedback .fb-stat {
        width: 100% !important; justify-content: space-between !important;
        gap: 14px !important; padding: 12px 16px !important;
    }
    body.feedback .fb-stat-item { gap: 8px !important; }
    body.feedback .fb-stat-ic { width: 30px !important; height: 30px !important; }
    body.feedback .fb-stat-ic svg { width: 14px !important; height: 14px !important; }
    body.feedback .fb-stat-num b { font-size: 16px !important; }
    body.feedback .fb-stat-num span { font-size: 10px !important; }

    /* Tab：水平滚动 */
    body.feedback .fb-tabs {
        overflow-x: auto !important; scrollbar-width: none;
        -webkit-overflow-scrolling: touch !important;
        margin-bottom: 18px !important;
    }
    body.feedback .fb-tabs::-webkit-scrollbar { display: none !important; }
    body.feedback .fb-tab {
        flex: 0 0 auto !important;
        padding: 7px 18px !important; font-size: 13px !important;
    }
    body.feedback .fb-tab i { display: none !important; }

    /* 筛选 */
    body.feedback .fb-filter { margin-bottom: 16px !important; }
    body.feedback .fb-filter-row { gap: 6px !important; margin-bottom: 8px !important; }
    body.feedback .fb-filter-label { width: auto !important; margin-bottom: 3px !important; font-size: 10.5px !important; }
    body.feedback .chip { padding: 4px 12px !important; font-size: 12px !important; }

    /* 条目 */
    body.feedback .fb-list-col .fb-item {
        padding: 16px 16px !important; margin: 0 0 10px !important;
    }
    body.feedback .fb-title { font-size: 14.5px !important; }
    body.feedback .fb-meta { gap: 10px !important; font-size: 11.5px !important; margin-bottom: 8px !important; }
    body.feedback .fb-os { display: none !important; }
    body.feedback .fb-item-body { font-size: 13px !important; }
    body.feedback .fb-reply { padding: 10px 12px !important; font-size: 12.5px !important; }
    body.feedback .fb-item-foot { gap: 8px !important; padding-top: 10px !important; }
    body.feedback .btn-support, body.feedback .btn-comment {
        padding: 4px 12px !important; font-size: 12px !important;
    }

    /* 表单 */
    body.feedback .fb-form-col .card { padding: 18px 16px !important; }
    body.feedback .fb-type-pick { grid-template-columns: 1fr 1fr !important; gap: 8px !important; }
    body.feedback .field { margin-bottom: 14px !important; }
    body.feedback .field input,
    body.feedback .field textarea,
    body.feedback .field select { padding: 10px 12px !important; font-size: 13.5px !important; }
    body.feedback .field textarea { min-height: 100px !important; }

    /* 评论区 */
    body.feedback .fb-comments { padding: 12px 0 0 !important; }
    body.feedback .fb-cmt-list { gap: 8px !important; }
    body.feedback .cmt { padding: 10px 12px !important; }
    body.feedback .fb-cmt-form { gap: 8px !important; margin-top: 10px !important; }

    /* 系统分区 */
    body.feedback .fb-group { margin-top: 20px !important; }
    body.feedback .fb-group-head { gap: 8px !important; margin-bottom: 10px !important; }
    body.feedback .fb-group-ic { width: 24px !important; height: 24px !important; border-radius: 6px !important; }
    body.feedback .fb-group-ic svg { width: 12px !important; height: 12px !important; }
    body.feedback .fb-group-title { font-size: 14px !important; }
    body.feedback .fb-group-more { font-size: 12px !important; }

    /* 分页 */
    body.feedback .pager { gap: 6px !important; margin: 18px 0 4px !important; }
    body.feedback .pager a { padding: 6px 14px !important; font-size: 12.5px !important; }

    /* 空状态 */
    body.feedback .empty-tip.card { padding: 28px 16px !important; font-size: 13px !important; }
}

/* ---- 12. 小手机（≤ 480px） ---- */
@media (max-width: 480px) {
    body.feedback .fb-hero h2 { font-size: 16px !important; }
    body.feedback .fb-stat { padding: 10px 12px !important; gap: 10px !important; }
    body.feedback .fb-stat-ic { width: 28px !important; height: 28px !important; }
    body.feedback .fb-stat-num b { font-size: 14px !important; }
    body.feedback .fb-stat-num span { font-size: 9.5px !important; }

    body.feedback .fb-list-col .fb-item { padding: 14px 12px !important; margin: 0 0 8px !important; }
    body.feedback .fb-title { font-size: 14px !important; }
    body.feedback .fb-meta { gap: 8px !important; font-size: 11px !important; }
    body.feedback .fb-item-body { font-size: 12.5px !important; }
    body.feedback .fb-reply { padding: 8px 10px !important; font-size: 12px !important; }
    body.feedback .fb-item-foot { gap: 6px !important; padding-top: 8px !important; }
    body.feedback .btn-support, body.feedback .btn-comment {
        padding: 3px 10px !important; font-size: 11.5px !important;
    }

    body.feedback .fb-type-pick { grid-template-columns: 1fr 1fr !important; gap: 6px !important; }
    body.feedback .fb-type-opt span { padding: 10px 6px 9px !important; font-size: 11.5px !important; }
    body.feedback .fb-type-opt .fb-type-ic { width: 26px !important; height: 26px !important; }
    body.feedback .fb-type-opt .fb-type-ic svg { width: 13px !important; height: 13px !important; }

    body.feedback .cmt { padding: 8px 10px !important; }
    body.feedback .cmt-head { font-size: 11px !important; gap: 8px !important; }
    body.feedback .cmt-body { font-size: 12.5px !important; }
    body.feedback .fb-cmt-input { padding: 8px 10px !important; font-size: 12.5px !important; }

    body.feedback .pager a { padding: 5px 12px !important; font-size: 12px !important; }

    body.feedback .fb-group-head { gap: 6px !important; }
    body.feedback .fb-group-ic { width: 22px !important; height: 22px !important; }
    body.feedback .fb-group-title { font-size: 13.5px !important; }
}

/* ---- 13. 极小屏（≤ 360px） ---- */
@media (max-width: 360px) {
    body.feedback .fb-hero h2 { font-size: 15px !important; }
    body.feedback .fb-stat { padding: 8px 10px !important; gap: 8px !important; }
    body.feedback .fb-stat-ic { width: 26px !important; height: 26px !important; }
    body.feedback .fb-stat-num b { font-size: 13px !important; }
    body.feedback .fb-stat-num span { font-size: 9px !important; }

    body.feedback .fb-list-col .fb-item { padding: 12px 10px !important; }
    body.feedback .fb-title { font-size: 13.5px !important; }
    body.feedback .fb-item-body { font-size: 12px !important; }
}

/* ---- 14. 深色主题 · 移动端补充 ---- */
@media (max-width: 640px) {
    :root[data-theme="dark"] body.feedback .fb-stat { border-color: var(--line-2) !important; }
    :root[data-theme="dark"] body.feedback .fb-tabs {
        background: rgba(255,255,255,.05) !important;
        border-color: var(--line-2) !important;
    }
    :root[data-theme="dark"] body.feedback .chip { background: var(--card) !important; }
    :root[data-theme="dark"] body.feedback .fb-item {
        background: var(--card) !important; border-color: var(--line-2) !important;
    }
    :root[data-theme="dark"] body.feedback .fb-item:hover {
        border-color: var(--blue-hi) !important;
        box-shadow: 0 2px 14px rgba(0,0,0,.2) !important;
    }
    :root[data-theme="dark"] body.feedback .cmt {
        background: rgba(255,255,255,.03) !important;
        border-color: var(--line-2) !important;
    }
    :root[data-theme="dark"] body.feedback .fb-group-ic {
        background: rgba(37,99,235,.15) !important;
    }
    :root[data-theme="dark"] body.feedback .fb-group-ic svg { stroke: var(--blue-hi) !important; }
    :root[data-theme="dark"] body.feedback .fb-item-foot { border-top-color: var(--line-2) !important; }
    :root[data-theme="dark"] body.feedback .fb-comments { border-top-color: var(--line-2) !important; }
    :root[data-theme="dark"] body.feedback .fb-type-opt input:checked + span {
        background: rgba(37,99,235,.12) !important;
        border-color: var(--blue-hi) !important;
        color: var(--blue-hi) !important;
    }
    :root[data-theme="dark"] body.feedback .fb-type-opt input:checked + .fb-type-ic {
        background: var(--blue) !important; color: #fff !important;
    }
}

/* ============================================================
   全站统一层 · 公共组件视觉规范化（终层）
   ------------------------------------------------------------
   · 覆盖：首页 / 反馈广场 / 帮助文档 / 个人中心 / 管理后台，
           以及无 body class 的页面（公告详情、安装页）
   · 排除：body.auth-page —— 登录页刻意保留独立的透明顶栏皮肤
   · 语言：扁平 Material3「精密仪器」
           卡片 12px · 按钮 8px · 输入 9px · 分段 9px · 胶囊 999px · 弹窗 14px
           统一 1px 细边、无投影、无上浮，仅以描边 / 底色变化表达状态
   ============================================================ */

/* ---------- A1. 顶栏骨架 ---------- */
body:not(.auth-page) .topbar {
    position: sticky; top: 0; z-index: 60;
    background: var(--card);
    border-bottom: 1px solid var(--line);
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}
body:not(.auth-page) .topbar-inner { height: 58px; gap: 16px; }

/* ---------- A2. 品牌 ---------- */
body:not(.auth-page) .brand { gap: 9px; }
body:not(.auth-page) .brand-logo { width: 28px; height: 28px; border-radius: 7px; }
body:not(.auth-page) .brand-name {
    font-size: 15px; font-weight: 700; letter-spacing: -.2px; color: var(--ink);
}
body:not(.auth-page) .brand:hover .brand-name { color: var(--blue); }

/* ---------- A3. 导航链接：统一胶囊 ---------- */
body:not(.auth-page) .topbar .nav { gap: 4px; }
body:not(.auth-page) .topbar .nav a,
body:not(.auth-page) .topbar .nav .nav-user,
body:not(.auth-page) .topbar .nav .nav-ghost {
    padding: 7px 14px; border-radius: 999px;
    font-size: 13.5px; font-weight: 500; color: var(--ink-2);
    border: 1px solid transparent;
    transition: color .15s, background .15s, border-color .15s;
}
body:not(.auth-page) .topbar .nav a:hover,
body:not(.auth-page) .topbar .nav .nav-ghost:hover {
    background: var(--bg-2); color: var(--ink); text-decoration: none;
}
body:not(.auth-page) .topbar .nav a.on {
    color: var(--blue); background: var(--blue-soft);
    border-color: color-mix(in srgb, var(--blue) 20%, transparent);
    font-weight: 600;
}
body:not(.auth-page) .topbar .nav .nav-ghost:hover {
    color: var(--err); background: var(--err-soft, #fdecea); border-color: transparent;
}
body:not(.auth-page) .topbar .nav .nav-user { gap: 7px; }
body:not(.auth-page) .topbar .nav .nav-avatar {
    width: 26px; height: 26px; border-radius: 50%;
    border: 1px solid var(--line); object-fit: cover;
}
body:not(.auth-page) .topbar .nav .nav-nick { font-size: 13.5px; max-width: 76px; }
body:not(.auth-page) .topbar .nav .nav-login {
    margin-left: 4px; padding: 8px 18px;
    background: var(--blue); color: #fff; font-weight: 600;
    border: 1px solid var(--blue); border-radius: 999px; box-shadow: none;
    transition: background .15s, border-color .15s;
}
body:not(.auth-page) .topbar .nav .nav-login:hover,
body:not(.auth-page) .topbar .nav .nav-login.on {
    background: var(--blue-deep); border-color: var(--blue-deep); color: #fff; box-shadow: none;
}

/* ---------- A4. 主题切换 ---------- */
body:not(.auth-page) .topbar .theme-toggle {
    width: 34px; height: 34px; border-radius: 999px;
    display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid var(--line); background: var(--card);
    color: var(--ink-3); cursor: pointer;
    transition: color .15s, border-color .15s, background .15s;
}
body:not(.auth-page) .topbar .theme-toggle:hover {
    color: var(--blue); border-color: var(--blue); background: var(--blue-soft);
}

/* ---------- B. 公告条 ---------- */
body:not(.auth-page) .top-notice { border-bottom: 1px solid var(--line); }
body:not(.auth-page) .top-notice .tn-link { font-weight: 600; }
body:not(.auth-page) .tp-marquee-new { box-shadow: none; }

/* ---------- C. 页脚 ---------- */
body:not(.auth-page) .footer {
    border-top: 1px solid var(--line);
    background: color-mix(in srgb, var(--bg) 60%, var(--card));
}
body:not(.auth-page) .footer a { text-decoration: none; }
body:not(.auth-page) .footer-links a { font-size: 13px; color: var(--ink-2); transition: color .15s; }
body:not(.auth-page) .footer-links a:hover { color: var(--blue); }
body:not(.auth-page) .footer-links .sep { color: var(--ink-3); opacity: .6; }
body:not(.auth-page) .footer-bottom { font-size: 12.5px; color: var(--ink-3); }
body:not(.auth-page) .footer-friend b { color: var(--ink-2); font-weight: 600; }
body:not(.auth-page) .footer-friend a { color: var(--ink-3); transition: color .15s; }
body:not(.auth-page) .footer-friend a:hover { color: var(--blue); }

/* ---------- D. 按钮：统一 8px 圆角、去投影、去上浮 ---------- */
body:not(.auth-page) .btn,
body:not(.auth-page) .btn-block,
body:not(.auth-page) .btn-file { border-radius: 8px; }
body:not(.auth-page) .btn-sm { border-radius: 7px; }
body:not(.auth-page) .btn-xs { border-radius: 6px; }
body:not(.auth-page) .btn,
body:not(.auth-page) .btn:hover { transform: none; }
body:not(.auth-page) .btn-primary,
body:not(.auth-page) .btn-primary:hover,
body:not(.auth-page) .btn-plain,
body:not(.auth-page) .btn-plain:hover,
body:not(.auth-page) .btn-danger,
body:not(.auth-page) .btn-danger:hover { box-shadow: none; }

/* ---------- E. 卡片：12px 圆角 · 1px 细边 · 无投影 · hover 仅描边加深 ---------- */
body:not(.auth-page) .card {
    border-radius: 12px;
    border: 1px solid var(--line);
    box-shadow: none;
}
body:not(.auth-page) .card:hover {
    border-color: var(--line-2);
    box-shadow: none;
    transform: none;
}
body:not(.auth-page) .db-warn.card { border-radius: 12px; box-shadow: none; }

/* ---------- F. 表单控件：9px 圆角 + focus 蓝色光晕 ---------- */
body:not(.auth-page) .field input,
body:not(.auth-page) .field textarea,
body:not(.auth-page) .field select,
body:not(.auth-page) .set-input,
body:not(.auth-page) .fb-cmt-input,
body:not(.auth-page) .fb-os-select { border-radius: 9px; }
body:not(.auth-page) .field input:focus,
body:not(.auth-page) .field textarea:focus,
body:not(.auth-page) .field select:focus,
body:not(.auth-page) .set-input:focus,
body:not(.auth-page) .fb-cmt-input:focus,
body:not(.auth-page) .fb-os-select:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue) 14%, transparent);
    outline: none;
}
body:not(.auth-page) .field textarea { line-height: 1.7; }

/* ---------- G. 区块标题：20px/750，非后台统一蓝色竖条 ---------- */
body:not(.auth-page) .sec-title {
    font-size: 20px; font-weight: 750; letter-spacing: -.3px; color: var(--ink);
}
body:not(.auth-page):not(.admin) .sec-title::before {
    width: 3px; height: 18px; border-radius: 2px; background: var(--blue);
}

/* ---------- H. 筛选 Chip：统一胶囊 ---------- */
body:not(.auth-page) .chip { border-radius: 999px; }

/* ---------- I. 分页：统一 8px ---------- */
body:not(.auth-page) .pager a,
body:not(.auth-page) .pager span { border-radius: 8px; }
body:not(.auth-page) .pager a:hover { border-color: var(--blue); color: var(--blue); }

/* ---------- J. 弹窗 / 空状态 ---------- */
body:not(.auth-page) .lg-dialog {
    border-radius: 14px; border: 1px solid var(--line); background: var(--card);
    box-shadow: 0 18px 48px -12px rgba(16,26,40,.28);
}
body:not(.auth-page) .empty-tip { border-radius: 12px; box-shadow: none; }

/* ---------- K. Tab 分段控件（反馈广场已自带，其余页面向其对齐） ---------- */
body:not(.auth-page):not(.feedback) .fb-tabs {
    display: flex; gap: 0; flex-wrap: wrap;
    background: var(--bg-2); border: 1px solid var(--line);
    border-radius: 9px; padding: 3px; margin: 0 0 20px;
}
body:not(.auth-page):not(.feedback) .fb-tab {
    border: none; border-radius: 7px; position: static; transform: none;
    padding: 8px 20px; background: none; box-shadow: none;
    color: var(--ink-2); font-size: 13.5px; font-weight: 500;
}
body:not(.auth-page):not(.feedback) .fb-tab:hover { color: var(--ink); background: none; }
body:not(.auth-page):not(.feedback) .fb-tab.on {
    background: var(--card); color: var(--ink); font-weight: 600;
    box-shadow: 0 1px 4px rgba(16,26,40,.08);
}
body:not(.auth-page):not(.feedback) .fb-tab.on:hover { background: var(--card); color: var(--ink); }
body:not(.auth-page):not(.feedback) .fb-tab.on::after { content: none !important; display: none !important; }
body:not(.auth-page):not(.feedback) .fb-tab i {
    background: var(--line); color: var(--ink-3); border-radius: 99px; font-size: 11px;
}
body:not(.auth-page):not(.feedback) .fb-tab.on i {
    background: var(--blue-soft); color: var(--blue); font-weight: 600;
}

/* ---------- L. 移动端再声明（媒体查询不增特异性，须在终层重述） ---------- */
@media (max-width: 860px) {
    body:not(.auth-page) .topbar-inner { height: 56px; gap: 12px; }
    body:not(.auth-page) .topbar .nav {
        display: none;
        position: absolute; left: 0; right: 0; top: 100%;
        flex-direction: column; align-items: stretch; gap: 4px;
        background: var(--card);
        border: 1px solid var(--line); border-top: none;
        border-radius: 0 0 12px 12px;
        padding: 8px; box-shadow: 0 12px 28px -10px rgba(16,26,40,.18);
        z-index: 30;
    }
    body:not(.auth-page) .topbar .nav.open { display: flex; }
    body:not(.auth-page) .topbar .nav a,
    body:not(.auth-page) .topbar .nav .nav-user,
    body:not(.auth-page) .topbar .nav .nav-ghost {
        padding: 11px 14px; border-radius: 9px; font-size: 14px;
    }
    body:not(.auth-page) .topbar .nav a.on {
        background: var(--blue-soft); color: var(--blue); border-color: transparent;
    }
    body:not(.auth-page) .topbar .nav .nav-login {
        margin-left: 0; text-align: center; border-radius: 9px; padding: 11px 18px;
    }
    body:not(.auth-page) .topbar .theme-toggle {
        width: 36px; height: 36px; border-radius: 999px; margin: 4px auto 0;
    }
}
@media (max-width: 640px) {
    body:not(.auth-page) .card { border-radius: 12px; }
    body:not(.auth-page) .sec-title { font-size: 19px; }
}
@media (max-width: 480px) {
    body:not(.auth-page) .topbar .nav a,
    body:not(.auth-page) .topbar .nav .nav-user,
    body:not(.auth-page) .topbar .nav .nav-ghost { font-size: 14px; }
}

/* ---------- M. 深色主题补充 ---------- */
:root[data-theme="dark"] body:not(.auth-page) .topbar {
    background: var(--card); border-bottom-color: var(--line);
}
:root[data-theme="dark"] body:not(.auth-page) .topbar .theme-toggle {
    background: var(--card); border-color: var(--line);
}
:root[data-theme="dark"] body:not(.auth-page) .topbar .nav .nav-ghost:hover {
    background: rgba(248,113,113,.12); color: #f87171;
}
:root[data-theme="dark"] body:not(.auth-page) .footer {
    background: color-mix(in srgb, var(--bg) 70%, var(--card));
}
:root[data-theme="dark"] body:not(.auth-page):not(.feedback) .fb-tabs {
    background: rgba(255,255,255,.05); border-color: var(--line-2);
}
:root[data-theme="dark"] body:not(.auth-page):not(.feedback) .fb-tab.on {
    background: var(--card); box-shadow: 0 2px 6px rgba(0,0,0,.15);
}
:root[data-theme="dark"] body:not(.auth-page):not(.feedback) .fb-tab i {
    background: rgba(255,255,255,.08); color: var(--ink-3);
}
:root[data-theme="dark"] body:not(.auth-page):not(.feedback) .fb-tab.on i {
    background: var(--blue-soft); color: var(--blue);
}


