/* MineDuckyLauncher 官网样式 —— 与启动器同一套视觉语言 */
:root {
  --bg: #060907;
  --bg-2: #080d0a;
  --panel: #0c1210;
  --panel-2: #101815;
  --line: #1b2821;
  --line-2: #2a3c32;
  --text: #e9f3ec;
  --muted: #85988c;
  --muted-2: #5a6d61;
  --accent: #36d399;
  --accent-dk: #1e8a5c;
  --gold: #f0b429;
  --blue: #7aa2ff;
  --mono: "Cascadia Mono", Consolas, monospace;
  --ui: "Segoe UI Variable Display", "Segoe UI", "Microsoft YaHei UI", system-ui, sans-serif;
  --max: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--ui);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(1100px 620px at 78% -12%, rgba(54, 211, 153, .13), transparent 68%),
    radial-gradient(900px 500px at 8% 8%, rgba(122, 162, 255, .06), transparent 70%);
}

body::after {
  content: "";
  position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: .55;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.017) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.017) 1px, transparent 1px);
  background-size: 56px 56px;
}

a { color: inherit; text-decoration: none; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 28px; position: relative; z-index: 2; }

/* ---------------- 顶栏 ---------------- */
.nav {
  position: sticky; top: 0; z-index: 40;
  border-bottom: 1px solid var(--line);
  background: rgba(6, 9, 7, .86);
  backdrop-filter: blur(10px);
}
.nav .wrap { display: flex; align-items: center; gap: 30px; height: 62px; }

.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: .18em; font-size: 13px; }
.logo .mark {
  width: 12px; height: 12px; background: var(--accent);
  box-shadow: 12px 0 0 -3px var(--accent-dk), 0 12px 0 -3px var(--accent-dk);
  transform: translateY(-3px);
}
.logo small { color: var(--muted-2); font-weight: 500; letter-spacing: .1em; font-size: 10px; margin-left: 2px; }

.nav-links { display: flex; gap: 26px; margin-left: 12px; font-size: 13.5px; }
.nav-links a { color: var(--muted); transition: color .15s; }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a.active { position: relative; }
.nav-links a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -22px; height: 2px; background: var(--accent);
}

.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 12px; }

/* ---------------- 按钮 ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 22px;
  background: var(--accent);
  color: #04150d;
  font-weight: 750;
  font-size: 14px;
  letter-spacing: .04em;
  border: 0; border-radius: 2px;
  cursor: pointer;
  box-shadow: 0 4px 0 rgba(0,0,0,.45);
  transition: transform .1s, box-shadow .1s, filter .15s;
  font-family: var(--ui);
}
.btn:hover { filter: brightness(1.07); }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 rgba(0,0,0,.45); }
.btn.lg { padding: 15px 30px; font-size: 15.5px; }
.btn.blue { background: var(--blue); color: #05101f; }
.btn.ghost {
  background: transparent; color: var(--text);
  border: 1px solid var(--line-2); box-shadow: none; font-weight: 600;
}
.btn.ghost:hover { background: rgba(255,255,255,.04); border-color: #3a5145; }
.btn.sm { padding: 8px 14px; font-size: 12.5px; box-shadow: 0 3px 0 rgba(0,0,0,.4); }
.btn.is-disabled { opacity: .45; pointer-events: none; }

/* ---------------- Hero ---------------- */
.hero { padding: 70px 0 54px; }
.hero .wrap { display: grid; grid-template-columns: .96fr 1.04fr; gap: 46px; align-items: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 11px; letter-spacing: .22em; color: var(--accent);
  border: 1px solid rgba(54,211,153,.25);
  background: rgba(54,211,153,.06);
  padding: 5px 10px;
  margin-bottom: 22px;
}
.eyebrow i { width: 6px; height: 6px; background: var(--accent); box-shadow: 0 0 10px var(--accent); }

h1.hero-title {
  font-size: 58px;
  line-height: 1.04;
  letter-spacing: -.035em;
  font-weight: 800;
  margin-bottom: 18px;
}
h1.hero-title em { font-style: normal; color: var(--accent); }

.hero-sub { color: var(--muted); font-size: 15.5px; max-width: 520px; margin-bottom: 30px; }

.arch-pick { display: flex; gap: 10px; margin-bottom: 22px; }
.arch {
  flex: 1;
  padding: 12px 14px;
  border: 1px solid var(--line-2);
  background: rgba(13, 19, 16, .7);
  border-radius: 2px;
  cursor: pointer;
  text-align: left;
  color: var(--text);
  font-family: var(--ui);
  transition: .16s;
  position: relative;
}
.arch:hover { border-color: #3a5145; }
.arch.active { border-color: var(--accent); background: rgba(54,211,153,.08); box-shadow: inset 0 0 0 1px rgba(54,211,153,.2); }
.arch b { display: block; font-size: 13.5px; letter-spacing: .04em; }
.arch span { font-size: 11px; color: var(--muted-2); letter-spacing: .06em; }
.arch.active b { color: var(--accent); }
.arch .badge {
  position: absolute; top: -8px; right: 8px;
  font-size: 9px; letter-spacing: .1em;
  background: var(--accent); color: #04150d; padding: 1px 5px; font-weight: 700;
}

.dl-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.dl-meta { font-family: var(--mono); font-size: 11.5px; color: var(--muted-2); line-height: 1.9; }
.dl-meta b { color: var(--text); font-weight: 600; }
.sha { word-break: break-all; }

/* 启动器窗口预览（纯 CSS，与客户端实际界面同配色） */
.window {
  position: relative;
  border: 1px solid #dfe3e9;
  background: #ffffff;
  box-shadow: 0 24px 70px rgba(20, 30, 45, .18);
  font-size: 10px;
  overflow: hidden;
  border-radius: 6px;
  color: #1d2129;
}
.window .bar {
  height: 26px; display: flex; align-items: center; gap: 8px;
  padding: 0 10px; border-bottom: 1px solid #e6e9ee;
  background: #f7f8fa; color: #86909c;
  font-family: var(--mono); font-size: 9px; letter-spacing: .16em;
}
.window .bar .dots { margin-left: auto; display: flex; gap: 5px; }
.window .bar .dots i { width: 7px; height: 7px; border: 1px solid #d3dae3; display: block; }
.win-body { display: grid; grid-template-columns: 118px 1fr; height: 330px; }
.win-side { border-right: 1px solid #e6e9ee; padding: 12px 10px; display: flex; flex-direction: column; gap: 8px; background: #fafbfc; }
.win-brand { display: flex; align-items: center; gap: 6px; font-size: 8.5px; letter-spacing: .14em; font-weight: 700; margin-bottom: 4px; color: #4e5969; }
.win-brand i { width: 9px; height: 9px; background: #2b6cf0; border-radius: 2px; display: block; }
.win-card { padding: 7px 7px 7px 8px; border-left: 2px solid transparent; background: #fff; border-radius: 4px; color: #4e5969; }
.win-card b { display: block; font-size: 10.5px; }
.win-card span { font-size: 8px; color: #86909c; }
.win-card.on { border-left-color: #2b6cf0; background: #eaf1fe; }
.win-card.on b { color: #2b6cf0; }
.win-main { padding: 14px; display: flex; flex-direction: column; gap: 10px; background: #f2f4f7; }
.win-hero {
  border: 1px solid #e3e7ed; border-radius: 5px; padding: 12px;
  background: #fff;
  position: relative; overflow: hidden;
}
.win-hero b { display: block; font-size: 30px; letter-spacing: -.03em; line-height: 1; color: #1d2129; }
.win-hero span { font-size: 9px; color: #86909c; }
.win-hero .wm { position: absolute; right: -4px; bottom: -22px; font-size: 78px; font-weight: 900; opacity: .04; }
.win-chips { display: flex; gap: 5px; margin-top: 9px; }
.win-chips i { font-style: normal; font-size: 8px; border: 1px solid #e3e7ed; border-radius: 3px; padding: 2px 5px; color: #4e5969; }
.win-play {
  width: 96px; height: 30px; background: #2b6cf0; color: #fff; border-radius: 4px;
  display: grid; place-items: center; font-size: 10px; font-weight: 700; letter-spacing: .06em;
}
.win-log { flex: 1; border: 1px solid #e3e7ed; border-radius: 5px; background: #fff; padding: 7px 9px; font-family: var(--mono); font-size: 8px; color: #6b7280; line-height: 1.8; overflow: hidden; }
.win-log u { color: #12a150; text-decoration: none; }

/* ---------------- 数据条 ---------------- */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(9,13,10,.6); }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 22px 26px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat b { display: block; font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.stat span { font-size: 11.5px; letter-spacing: .14em; color: var(--muted-2); }

/* ---------------- 通用区块 ---------------- */
.section { padding: 74px 0; }
.section-head { margin-bottom: 34px; max-width: 680px; }
.section-head .kicker { font-size: 10.5px; letter-spacing: .24em; color: var(--accent); margin-bottom: 12px; display: block; }
.section-head h2 { font-size: 34px; letter-spacing: -.025em; line-height: 1.15; margin-bottom: 10px; }
.section-head p { color: var(--muted); font-size: 14.5px; }

/* 版本卡 */
.versions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.vcard {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(16,24,19,.9), rgba(10,15,12,.75));
  padding: 22px 20px 20px;
  position: relative;
  transition: .18s;
  border-top: 2px solid var(--vc, var(--accent));
}
.vcard:hover { transform: translateY(-3px); border-color: var(--line-2); box-shadow: 0 18px 40px rgba(0,0,0,.45); }
.vcard .vtag { font-size: 9.5px; letter-spacing: .18em; color: var(--vc); }
.vcard h3 { font-size: 30px; font-weight: 800; letter-spacing: -.03em; margin: 8px 0 4px; }
.vcard .vsub { font-size: 12px; color: var(--muted-2); margin-bottom: 14px; min-height: 36px; }
.vcard ul { list-style: none; display: flex; flex-direction: column; gap: 7px; }
.vcard li { font-size: 12px; color: var(--muted); padding-left: 13px; position: relative; line-height: 1.55; }
.vcard li::before { content: ""; position: absolute; left: 0; top: 8px; width: 4px; height: 4px; background: var(--line-2); }
.vcard li.warn { color: #d9b46b; }
.vcard li.warn::before { background: var(--gold); }
.vcard .vmeta { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.vcard .vmeta span { font-size: 10px; border: 1px solid var(--line-2); padding: 3px 7px; color: var(--muted); }

/* 特性网格 */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.feature { background: #0a100d; padding: 26px 22px; }
.feature .num { font-family: var(--mono); font-size: 10px; color: var(--accent); letter-spacing: .14em; }
.feature h4 { font-size: 15.5px; margin: 10px 0 7px; }
.feature p { font-size: 12.5px; color: var(--muted); line-height: 1.65; }

/* 明暗块 */
.panel {
  border: 1px solid var(--line);
  background: rgba(11, 17, 14, .7);
  padding: 26px;
}
.panel h3 { font-size: 15px; margin-bottom: 12px; letter-spacing: .02em; }

pre, code { font-family: var(--mono); }
pre {
  background: #050806; border: 1px solid var(--line); padding: 14px 16px;
  font-size: 12px; color: #9db8a9; overflow-x: auto; line-height: 1.75;
}
code.inline { background: #050806; border: 1px solid var(--line); padding: 1px 6px; font-size: 12.5px; color: var(--accent); }

table { width: 100%; border-collapse: collapse; font-size: 13px; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); }
th { font-size: 10.5px; letter-spacing: .16em; color: var(--muted-2); font-weight: 600; text-transform: uppercase; }
td { color: var(--muted); }
td b { color: var(--text); font-weight: 600; }
td .mono { font-family: var(--mono); font-size: 11.5px; }

.ok { color: var(--accent); }
.warn { color: var(--gold); }
.bad { color: #ff7a7a; }

/* 下载页 */
.dl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 34px; }
.dl-grid.three { grid-template-columns: repeat(3, 1fr); }
.tag-rec {
  font-size: 9.5px; letter-spacing: .12em;
  background: var(--accent); color: #04150d;
  padding: 2px 6px; border-radius: 3px;
  vertical-align: 3px; margin-left: 6px; font-weight: 700;
}
.dl-note { margin-top: 10px; font-size: 11px; color: var(--muted-2); }
.dl-note .warn { color: var(--gold); }
.inline-link { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.inline-link:hover { color: #7ff0b8; }
.dl-card {
  border: 1px solid var(--line); border-top: 2px solid var(--accent);
  background: linear-gradient(180deg, rgba(16,24,19,.9), rgba(10,15,12,.7));
  padding: 24px;
  min-width: 0;
}
.dl-card h3 { font-size: 20px; letter-spacing: -.01em; margin-bottom: 4px; }
.dl-card .sub { font-size: 12px; color: var(--muted-2); margin-bottom: 18px; }
.dl-card .meta { display: flex; gap: 18px; margin-top: 16px; font-family: var(--mono); font-size: 11px; color: var(--muted-2); }
.dl-card .meta b { color: var(--text); font-weight: 600; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step { border: 1px solid var(--line); padding: 20px; background: rgba(10,15,12,.6); }
.step b { font-family: var(--mono); font-size: 11px; color: var(--accent); letter-spacing: .14em; }
.step h4 { margin: 8px 0 6px; font-size: 14.5px; }
.step p { font-size: 12.5px; color: var(--muted); }

.callout {
  border: 1px solid rgba(240,180,41,.3);
  background: rgba(240,180,41,.06);
  padding: 16px 18px;
  font-size: 12.5px;
  color: #d9b46b;
  line-height: 1.7;
}
.callout b { color: var(--gold); }

/* 页脚 */
footer { border-top: 1px solid var(--line); padding: 34px 0 40px; margin-top: 20px; }
footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 12px; color: var(--muted-2); }
footer a { color: var(--muted); }
footer a:hover { color: var(--text); }
footer .fcol { display: flex; gap: 22px; }

/* 页面头 */
.page-head { padding: 54px 0 40px; border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: 42px; letter-spacing: -.03em; margin-bottom: 10px; }
.page-head p { color: var(--muted); max-width: 640px; }
.crumb { font-family: var(--mono); font-size: 10.5px; color: var(--muted-2); letter-spacing: .14em; margin-bottom: 14px; }
.crumb a:hover { color: var(--accent); }

/* --- 真实截图 --- */
.hero-shot { position: relative; margin: 0; }
.hero-shot img {
  display: block; width: 100%; height: auto;
  border-radius: 8px; border: 1px solid var(--line-2);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .55);
}
.hero-shot figcaption {
  margin-top: 10px; text-align: right;
  font-size: 11px; color: var(--muted-2); letter-spacing: .06em;
}

/* 深色模式下，首页右侧换成深色主题截图（同一台启动器，两套皮肤） */
.hero-shot .shot-dark,
.hero-shot .cap-dark,
.shot-grid .shot-dark { display: none; }
html[data-theme="dark"] .hero-shot .shot-light,
html[data-theme="dark"] .hero-shot .cap-light,
html[data-theme="dark"] .shot-grid .shot-light { display: none; }
html[data-theme="dark"] .hero-shot .shot-dark,
html[data-theme="dark"] .shot-grid .shot-dark { display: block; }
html[data-theme="dark"] .hero-shot .cap-dark { display: inline; }

.logo-img { width: 20px; height: 20px; border-radius: 4px; display: block; }
.logo { gap: 8px; }
.nav-author { font-size: 11.5px; color: var(--muted-2); letter-spacing: .04em; }
.nav-author b { color: var(--muted); font-weight: 600; }
.hero-note { margin-top: 14px; font-size: 11.5px; color: var(--muted-2); letter-spacing: .03em; }
.hero-note b { color: var(--muted); }

.hero-points { list-style: none; display: flex; flex-direction: column; gap: 8px; margin: 0 0 18px; }
.hero-points li { position: relative; padding-left: 16px; font-size: 13px; color: var(--muted); }
.hero-points li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 5px; height: 5px; background: var(--accent);
}
.hero-points b { color: var(--text); font-weight: 600; }

.shots-section { padding-top: 10px; }
.shot-grid { display: grid; grid-template-columns: 1fr; gap: 18px; max-width: 940px; }
.shot {
  margin: 0; border: 1px solid var(--line); border-radius: 6px; overflow: hidden;
  background: #0b0f0d; transition: border-color .18s, transform .18s;
}
.shot:hover { border-color: var(--line-2); transform: translateY(-2px); }
.shot img { display: block; width: 100%; height: auto; }
.shot figcaption { padding: 10px 14px; font-size: 11.5px; color: var(--muted); border-top: 1px solid var(--line); }

.author-section { padding-top: 10px; }
.author-card {
  display: flex; gap: 20px; align-items: flex-start;
  padding: 26px; border: 1px solid var(--line); border-radius: 6px;
  background: linear-gradient(180deg, rgba(16, 24, 19, .85), rgba(10, 15, 12, .7));
}
.author-card img { border-radius: 12px; flex: none; }
.author-text { flex: 1; min-width: 0; }
.author-text h3 { font-size: 20px; margin: 6px 0 8px; letter-spacing: -.01em; }
.author-text p { font-size: 13px; color: var(--muted); line-height: 1.8; max-width: 700px; }
.author-links { display: flex; flex-direction: column; gap: 8px; flex: none; }

.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 16px; align-items: start; }

@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 34px; }
  .versions, .features, .dl-grid, .steps, .stats .wrap, .shot-grid, .split { grid-template-columns: 1fr; }
  .dl-grid.three { grid-template-columns: 1fr; }
  .stat { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
  h1.hero-title { font-size: 42px; }
  .nav-links { display: none; }
  .nav-author { display: none; }
  .author-card { flex-direction: column; }
  .author-links { flex-direction: row; }
}

/* ================= 深浅色主题 ================= */
/* 默认（无 data-theme）沿用上面的深色变量；data-theme="light" 时整体换一套 */
html[data-theme="light"] {
  color-scheme: light;
  --bg: #f3f6fb;
  --bg-2: #eef2f9;
  --panel: #ffffff;
  --panel-2: #f7f9fd;
  --line: #e2e8f2;
  --line-2: #c8d4e4;
  --text: #16202e;
  --muted: #5a6a7e;
  --muted-2: #8393a7;
  --accent: #0f9d58;
  --accent-dk: #0b7a3f;
  --gold: #a9761a;
  --blue: #2b6cf0;
}
html[data-theme="dark"] { color-scheme: dark; }

html[data-theme="light"] body::before {
  background:
    radial-gradient(1100px 620px at 78% -12%, rgba(15, 157, 88, .10), transparent 68%),
    radial-gradient(900px 500px at 8% 8%, rgba(43, 108, 240, .07), transparent 70%);
}
html[data-theme="light"] body::after {
  background-image:
    linear-gradient(to right, rgba(16, 32, 52, .045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(16, 32, 52, .045) 1px, transparent 1px);
}
html[data-theme="light"] .nav { background: rgba(255, 255, 255, .86); }
html[data-theme="light"] .btn { color: #fff; box-shadow: 0 3px 0 rgba(16, 32, 52, .18); }
html[data-theme="light"] .btn:active { box-shadow: 0 1px 0 rgba(16, 32, 52, .18); }
html[data-theme="light"] .btn.blue { color: #fff; }
html[data-theme="light"] .btn.ghost { color: var(--text); }
html[data-theme="light"] .btn.ghost:hover { background: rgba(16, 32, 52, .05); border-color: var(--line-2); }
html[data-theme="light"] .arch { background: rgba(255, 255, 255, .9); }
html[data-theme="light"] .arch:hover { border-color: var(--line-2); }
html[data-theme="light"] .arch.active { background: rgba(15, 157, 88, .09); }
html[data-theme="light"] .tag-rec { color: #fff; }
html[data-theme="light"] .stats { background: rgba(255, 255, 255, .72); }
html[data-theme="light"] .vcard { background: linear-gradient(180deg, #fff, #f8fafd); }
html[data-theme="light"] .feature { background: #fff; }
html[data-theme="light"] .panel { background: rgba(255, 255, 255, .86); }
html[data-theme="light"] pre { background: #f2f5fa; color: #26313f; }
html[data-theme="light"] code.inline { background: #eef3fa; color: var(--accent-dk); }
html[data-theme="light"] .bad { color: #d14343; }
html[data-theme="light"] .inline-link:hover { color: var(--accent-dk); }
html[data-theme="light"] .dl-card { background: linear-gradient(180deg, #fff, #f7fafd); }
html[data-theme="light"] .step { background: rgba(255, 255, 255, .86); }
html[data-theme="light"] .callout { background: rgba(240, 180, 41, .14); color: #7d5c12; border-color: rgba(169, 118, 26, .34); }
html[data-theme="light"] .vcard li.warn { color: #8a6410; }
html[data-theme="light"] .hero-shot img { box-shadow: 0 22px 54px rgba(16, 32, 52, .18); }
html[data-theme="light"] .shot { background: #fff; }
html[data-theme="light"] .author-card { background: linear-gradient(180deg, #fff, #f7fafd); }

/* 主题切换按钮 */
.theme-toggle {
  width: 32px; height: 32px; display: grid; place-items: center;
  border: 1px solid var(--line-2); border-radius: 3px;
  background: transparent; color: var(--muted);
  cursor: pointer; transition: color .15s, border-color .15s, background .15s;
}
.theme-toggle:hover { color: var(--text); border-color: var(--accent); }
.theme-toggle svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }
.theme-toggle .i-sun { display: none; }
html[data-theme="light"] .theme-toggle .i-sun { display: block; }
html[data-theme="light"] .theme-toggle .i-moon { display: none; }

/* ---------------- 模组页 ---------------- */
.mods-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.mod-item {
  border: 1px solid var(--line); border-top: 2px solid var(--accent);
  padding: 20px; background: var(--panel-2);
  display: flex; flex-direction: column; gap: 10px;
}
.mod-item h3 { font-size: 17px; letter-spacing: -.01em; }
.mod-item p { font-size: 12.5px; color: var(--muted); line-height: 1.7; }
.mod-item .m-meta { font-size: 11px; color: var(--muted-2); display: flex; gap: 12px; flex-wrap: wrap; font-family: var(--mono); }
.mod-item .m-acts { margin-top: auto; padding-top: 6px; display: flex; gap: 10px; }
.mods-empty-card { border: 1px dashed var(--line-2); padding: 30px; text-align: center; color: var(--muted); font-size: 13px; }

.mod-item h3 { display: flex; align-items: center; gap: 8px; }
.mod-item .mod-tag {
  font-size: 10px; font-weight: 600; letter-spacing: .04em;
  font-family: var(--mono); text-transform: uppercase;
  padding: 1px 6px; border: 1px solid var(--line-2); color: var(--muted);
}
.mod-item .mod-tag:first-letter { text-transform: uppercase; }

/* 模组页工具条 */
.mods-toolbar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.mt-field { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }
.mt-field select {
  height: 30px; padding: 0 8px; font-family: var(--mono); font-size: 12px;
  background: var(--panel-2); color: var(--text);
  border: 1px solid var(--line-2); border-radius: 2px;
}
.mt-loader { display: inline-flex; border: 1px solid var(--line-2); }
.mt-tab {
  border: 0; background: transparent; color: var(--muted);
  font-size: 12px; padding: 6px 12px; cursor: pointer; font-family: var(--ui);
}
.mt-tab + .mt-tab { border-left: 1px solid var(--line-2); }
.mt-tab:hover { background: var(--panel-2); color: var(--text); }
.mt-tab.active { background: var(--accent); color: #04150d; font-weight: 700; }
.mt-state { font-size: 11.5px; color: var(--muted-2); font-family: var(--mono); }

/* 模组分块 */
.mod-block { margin-bottom: 34px; }
.mod-block-title { font-size: 20px; letter-spacing: -.01em; margin-bottom: 6px; display: flex; align-items: baseline; gap: 10px; }
.mod-block-title span { font-size: 12px; color: var(--muted-2); font-family: var(--mono); }
.mod-block-desc { font-size: 12.5px; color: var(--muted); margin-bottom: 14px; }
.mod-search-row { display: flex; gap: 10px; margin-bottom: 16px; }
.mod-search-row input {
  flex: 1; height: 38px; padding: 0 12px; font-size: 13px;
  background: var(--panel-2); color: var(--text);
  border: 1px solid var(--line-2); border-radius: 2px; outline: none;
  font-family: var(--ui);
}
.mod-search-row input:focus { border-color: var(--accent); }
.mod-item h3 .mod-tag { margin-left: 2px; }
.mod-item .mod-icon { width: 26px; height: 26px; border-radius: 3px; }
