/* KG 助手 · 维修案例站 */
:root {
  --bg: #0a0f14;
  --bg-2: #0e151c;
  --panel: #121c25;
  --panel-2: #16222d;
  --line: #1f2f3c;
  --line-2: #2a3f51;
  --txt: #e8f0f6;
  --txt-2: #9db0c0;
  --txt-3: #64798a;
  --acc: #ff8a3d;
  --acc-2: #ffb374;
  --cyan: #35d0ba;
  --blue: #4aa8ff;
  --red: #ff5c6c;
  --green: #43d17c;
  --yellow: #ffcf4a;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 12px 34px rgba(0, 0, 0, .45);
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Consolas, "Cascadia Mono", monospace;
  --sans: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, sans-serif;
}

html[data-theme="light"] {
  --bg: #f2f5f8;
  --bg-2: #e9eef3;
  --panel: #ffffff;
  --panel-2: #f6f9fb;
  --line: #dbe3ea;
  --line-2: #c6d2dc;
  --txt: #16222d;
  --txt-2: #55697a;
  --txt-3: #8299aa;
  --acc: #e2661a;
  --acc-2: #c9540f;
  --cyan: #0e9c8b;
  --blue: #1a72d6;
  --red: #d93a4c;
  --green: #1f9e56;
  --yellow: #b8860b;
  --shadow: 0 10px 26px rgba(20, 40, 60, .12);
}

* { box-sizing: border-box; }

html, body { height: 100%; }

html { background: var(--bg); }

body {
  margin: 0;
  background:
    radial-gradient(1100px 520px at 82% -12%, rgba(255, 138, 61, .10), transparent 62%),
    radial-gradient(900px 480px at -8% 8%, rgba(53, 208, 186, .08), transparent 60%),
    var(--bg);
  color: var(--txt);
  font-family: var(--sans);
  font-size: 14.5px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--cyan); text-decoration: none; }
a:hover { color: var(--acc-2); }

code, pre, .mono { font-family: var(--mono); }

/* ============ 顶栏 ============ */
header.topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  backdrop-filter: blur(14px);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  border-bottom: 1px solid var(--line);
}
.topbar-in {
  max-width: 1400px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 10px; cursor: pointer; user-select: none; }
.brand .mark {
  width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(145deg, var(--acc), #c24f13);
  display: grid; place-items: center;
  font-weight: 800; font-size: 15px; color: #1b0d02;
  box-shadow: 0 4px 14px rgba(255, 138, 61, .35);
  letter-spacing: -.5px;
}
.brand h1 { margin: 0; font-size: 16.5px; font-weight: 800; letter-spacing: .3px; }
.brand small { display: block; color: var(--txt-3); font-size: 11px; font-weight: 500; letter-spacing: .6px; }

nav.mainnav { display: flex; gap: 4px; flex-wrap: wrap; }
nav.mainnav a {
  padding: 7px 13px;
  border-radius: 999px;
  color: var(--txt-2);
  font-size: 13.5px;
  font-weight: 600;
  transition: .16s;
  white-space: nowrap;
}
nav.mainnav a:hover { background: var(--panel-2); color: var(--txt); }
nav.mainnav a.on { background: linear-gradient(180deg, rgba(255, 138, 61, .22), rgba(255, 138, 61, .10)); color: var(--acc-2); box-shadow: inset 0 0 0 1px rgba(255, 138, 61, .35); }

.top-right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.searchbox { position: relative; }
.searchbox input {
  width: 208px; padding: 8px 12px 8px 32px;
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 999px; color: var(--txt); font-family: var(--sans); font-size: 13px;
  outline: none; transition: .16s;
}
.searchbox input:focus { border-color: var(--acc); width: 280px; box-shadow: 0 0 0 3px rgba(255, 138, 61, .12); }
.searchbox::before {
  content: "⌕"; position: absolute; left: 11px; top: 50%; transform: translateY(-50%);
  color: var(--txt-3); font-size: 16px; pointer-events: none;
}
.iconbtn {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: var(--panel); border: 1px solid var(--line); color: var(--txt-2);
  cursor: pointer; font-size: 15px; transition: .16s;
}
.iconbtn:hover { color: var(--acc); border-color: var(--acc); }

/* ============ 布局 ============ */
main { max-width: 1400px; margin: 0 auto; padding: 26px 20px 90px; }
.view { animation: fade .28s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.pagehead { margin: 4px 0 22px; }
.pagehead h2 { margin: 0 0 6px; font-size: 24px; letter-spacing: -.2px; }
.pagehead p { margin: 0; color: var(--txt-2); font-size: 13.5px; max-width: 900px; }
.eyebrow { color: var(--acc); font-size: 11.5px; letter-spacing: 2.4px; font-weight: 800; text-transform: uppercase; }

/* ============ 首页 hero ============ */
.hero {
  position: relative; overflow: hidden;
  border: 1px solid var(--line); border-radius: 20px;
  padding: 38px 34px;
  background:
    radial-gradient(680px 300px at 88% 0%, rgba(255, 138, 61, .16), transparent 66%),
    radial-gradient(520px 280px at 12% 110%, rgba(53, 208, 186, .13), transparent 64%),
    linear-gradient(160deg, var(--panel), var(--bg-2));
  box-shadow: var(--shadow);
}
.hero h2 { margin: 8px 0 12px; font-size: 34px; line-height: 1.2; letter-spacing: -.6px; }
.hero h2 em { font-style: normal; color: var(--acc); }
.hero p { margin: 0; color: var(--txt-2); max-width: 660px; font-size: 14.5px; }
.hero .herocta { margin-top: 24px; display: flex; gap: 10px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 10px 18px; border-radius: 11px; border: 1px solid var(--line-2);
  background: var(--panel-2); color: var(--txt); font-size: 13.5px; font-weight: 700;
  cursor: pointer; transition: .16s; font-family: var(--sans);
}
.btn:hover { border-color: var(--acc); color: var(--acc); transform: translateY(-1px); }
.btn.primary { background: linear-gradient(160deg, var(--acc), #d05a12); border-color: transparent; color: #1b0d02; }
.btn.primary:hover { color: #1b0d02; filter: brightness(1.08); }
.btn.sm { padding: 6px 12px; font-size: 12.5px; border-radius: 9px; }

.statrow { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-top: 18px; }
.stat {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 15px 17px; cursor: pointer; transition: .18s;
}
.stat:hover { border-color: var(--acc); transform: translateY(-2px); }
.stat b { display: block; font-size: 27px; letter-spacing: -.6px; line-height: 1.15; }
.stat span { color: var(--txt-3); font-size: 12.5px; font-weight: 600; }
.stat i { font-style: normal; font-size: 11px; color: var(--txt-3); display: block; margin-top: 3px; }

.section { margin-top: 38px; }
.section > h3 { margin: 0 0 4px; font-size: 17px; display: flex; align-items: center; gap: 9px; }
.section > h3::before { content: ""; width: 4px; height: 17px; border-radius: 2px; background: var(--acc); }
.section > p.sub { margin: 0 0 16px; color: var(--txt-3); font-size: 13px; }

/* ============ 卡片 / 网格 ============ */
.grid { display: grid; gap: 14px; }
.grid.cols-auto { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.grid.cols-3 { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }

.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: .18s; position: relative;
}
.card:hover { border-color: var(--line-2); box-shadow: 0 10px 26px rgba(0, 0, 0, .28); transform: translateY(-2px); }

.navcard { padding: 20px; cursor: pointer; display: block; color: inherit; }
.navcard:hover { color: inherit; }
.navcard .ico { font-size: 26px; line-height: 1; }
.navcard h4 { margin: 12px 0 5px; font-size: 15.5px; }
.navcard p { margin: 0; color: var(--txt-2); font-size: 12.8px; line-height: 1.55; }
.navcard .badge { position: absolute; top: 16px; right: 16px; }

/* 案例卡 */
.casecard { cursor: pointer; display: flex; flex-direction: column; }
.casecard .thumb {
  position: relative; aspect-ratio: 4 / 3; background: #08101a; overflow: hidden;
  display: grid; place-items: center;
}
.casecard .thumb img { width: 100%; height: 100%; object-fit: cover; transition: .4s; }
.casecard:hover .thumb img { transform: scale(1.05); }
.casecard .thumb .noimg {
  color: var(--txt-3); font-size: 12px; text-align: center; padding: 12px;
  display: grid; gap: 6px; place-items: center;
}
.casecard .thumb .noimg b { font-size: 22px; opacity: .5; }
.casecard .body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.casecard .ttl { font-size: 13.8px; font-weight: 700; line-height: 1.45; }
.casecard .meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }

.tag {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 2px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 700;
  background: var(--panel-2); color: var(--txt-2); border: 1px solid var(--line);
  white-space: nowrap;
}
.tag.brand { color: var(--cyan); border-color: rgba(53, 208, 186, .35); background: rgba(53, 208, 186, .10); }
.tag.acc { color: var(--acc); border-color: rgba(255, 138, 61, .38); background: rgba(255, 138, 61, .11); }
.tag.blue { color: var(--blue); border-color: rgba(74, 168, 255, .35); background: rgba(74, 168, 255, .10); }
.tag.green { color: var(--green); border-color: rgba(67, 209, 124, .35); background: rgba(67, 209, 124, .10); }
.tag.red { color: var(--red); border-color: rgba(255, 92, 108, .35); background: rgba(255, 92, 108, .10); }
.tag.mono { font-family: var(--mono); letter-spacing: .3px; }
.badge {
  position: absolute; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 800;
  background: rgba(10, 15, 20, .72); border: 1px solid var(--line-2); color: var(--txt-2);
  backdrop-filter: blur(6px);
}
html[data-theme="light"] .badge {
  background: rgba(255, 255, 255, .90); border-color: rgba(20, 30, 40, .16); color: #22303c;
}

/* ============ 筛选栏 ============ */
.filterbar {
  display: flex; gap: 10px; align-items: center; flex-wrap: wrap;
  padding: 12px 14px; margin-bottom: 18px;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  position: sticky; top: 61px; z-index: 40;
  backdrop-filter: blur(10px);
}
.filterbar .fl { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.filterbar .lbl { color: var(--txt-3); font-size: 12px; font-weight: 700; letter-spacing: .5px; white-space: nowrap; flex: 0 0 auto; padding-top: 5px; }
.filterbar .frow { display: flex; gap: 8px; align-items: flex-start; width: 100%; }
.filterbar .frow + .frow { margin-top: 8px; padding-top: 9px; border-top: 1px dashed var(--line); }
.filterbar .frow.resline { align-items: center; gap: 10px; padding-top: 8px; }
.filterbar .cnt { font-size: 12.5px; color: var(--txt-2); }
.filterbar .cnt b { color: var(--acc-2); }
.chip.sm { padding: 3px 10px; font-size: 12px; font-weight: 600; }

.chip {
  padding: 5px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 700;
  background: var(--panel-2); border: 1px solid var(--line); color: var(--txt-2);
  cursor: pointer; transition: .14s; font-family: var(--sans); white-space: nowrap;
}
.chip:hover { color: var(--txt); border-color: var(--line-2); }
.chip.on { background: rgba(255, 138, 61, .16); border-color: var(--acc); color: var(--acc-2); }
.chip .n { opacity: .62; font-size: 11px; margin-left: 4px; }

input.txt, select.sel, textarea.txt {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-sm);
  color: var(--txt); padding: 8px 12px; font-size: 13px; font-family: var(--sans); outline: none;
  transition: .15s;
}
input.txt:focus, select.sel:focus, textarea.txt:focus { border-color: var(--acc); box-shadow: 0 0 0 3px rgba(255, 138, 61, .10); }
select.sel { cursor: pointer; }
textarea.txt { font-family: var(--mono); font-size: 12.5px; line-height: 1.65; resize: vertical; width: 100%; }

/* ============ 表格 ============ */
.tablewrap { border: 1px solid var(--line); border-radius: var(--radius); overflow-x: auto; overflow-y: hidden; background: var(--panel); }
table.dt { width: 100%; border-collapse: collapse; font-size: 13px; }
table.dt th {
  text-align: left; padding: 10px 13px; background: var(--panel-2);
  color: var(--txt-3); font-size: 11.5px; letter-spacing: 1px; text-transform: uppercase;
  font-weight: 800; border-bottom: 1px solid var(--line); white-space: nowrap; position: sticky; top: 0;
}
table.dt td { padding: 9px 13px; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.dt tr:last-child td { border-bottom: none; }
table.dt tbody tr:hover { background: rgba(255, 138, 61, .05); }
table.dt td.mono { font-family: var(--mono); font-size: 12.5px; letter-spacing: .2px; }
.tscroll { max-height: 620px; overflow: auto; }

/* ============ 灯箱 ============ */
.lightbox {
  position: fixed; inset: 0; z-index: 200; display: none;
  background: rgba(4, 8, 12, .93); backdrop-filter: blur(8px);
  padding: 26px;
}
.lightbox.open { display: grid; grid-template-rows: auto 1fr; gap: 14px; }
.lb-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.lb-head h4 { margin: 0; font-size: 15px; }
.lb-head .spacer { flex: 1; }
.lb-body { display: grid; place-items: center; overflow: auto; }
.lb-body img { max-width: 100%; max-height: 100%; border-radius: 10px; box-shadow: 0 24px 60px rgba(0, 0, 0, .6); }
.lb-zoom { color: var(--txt-3); font-size: 12px; }

/* ============ 工具面板 ============ */
.toolgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 16px; align-items: start; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.panel > header {
  padding: 13px 16px; border-bottom: 1px solid var(--line); background: var(--panel-2);
  display: flex; align-items: center; gap: 9px;
}
.panel > header h4 { margin: 0; font-size: 14px; }
.panel > header .hint { color: var(--txt-3); font-size: 11.5px; margin-left: auto; }
.panel .pad { padding: 16px; display: grid; gap: 12px; }
.field { display: grid; gap: 5px; }
.field label { font-size: 12px; font-weight: 700; color: var(--txt-2); letter-spacing: .3px; }
.field .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

pre.out {
  margin: 0; padding: 12px 14px; border-radius: var(--radius-sm);
  background: #05090d; border: 1px solid #16222d; color: #b6e3ff;
  font-size: 12.5px; line-height: 1.72; overflow: auto; max-height: 320px; white-space: pre-wrap;
  word-break: break-all;
}
html[data-theme="light"] pre.out { background: #0d1a24; }

.loglines { display: grid; gap: 2px; max-height: 300px; overflow: auto; font-family: var(--mono); font-size: 12.2px; }
.loglines div { padding: 3px 9px; border-radius: 5px; white-space: pre-wrap; word-break: break-all; }
.loglines .err { background: rgba(255, 92, 108, .13); color: #ff9aa5; }
.loglines .warn { background: rgba(255, 207, 74, .12); color: #ffd97a; }
.loglines .ok { background: rgba(67, 209, 124, .10); color: #7ee2a6; }

.checklist { display: grid; gap: 8px; }
.checkitem {
  display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px;
  background: var(--panel-2); border: 1px solid var(--line); border-radius: var(--radius-sm);
  cursor: pointer; transition: .14s; font-size: 13px;
}
.checkitem:hover { border-color: var(--line-2); }
.checkitem input { margin-top: 3px; accent-color: var(--acc); width: 15px; height: 15px; cursor: pointer; }
.checkitem.done { opacity: .5; }
.checkitem.done .ctxt { text-decoration: line-through; }
.checkitem .ctxt small { display: block; color: var(--txt-3); font-size: 11.5px; margin-top: 2px; }

.kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: 13px; }
.kv dt { color: var(--txt-3); font-size: 12px; }
.kv dd { margin: 0; font-family: var(--mono); font-size: 12.5px; word-break: break-all; }

/* ============ 详情页 ============ */
.detail-head {
  display: flex; gap: 16px; align-items: flex-start; flex-wrap: wrap;
  padding: 20px; border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(150deg, var(--panel), var(--bg-2));
}
.detail-head .code-badge {
  width: 58px; height: 58px; border-radius: 14px; display: grid; place-items: center;
  font-weight: 800; font-size: 20px; background: rgba(255, 138, 61, .14);
  border: 1px solid rgba(255, 138, 61, .32); color: var(--acc);
}
.detail-head h2 { margin: 0 0 5px; font-size: 22px; }
.detail-head .sub { color: var(--txt-3); font-size: 12.5px; font-family: var(--mono); }
.detail-head .spacer { flex: 1; }

.empty { text-align: center; padding: 60px 20px; color: var(--txt-3); }
.empty b { display: block; font-size: 30px; margin-bottom: 8px; opacity: .35; }

/* ============ 页脚 ============ */
footer {
  border-top: 1px solid var(--line); padding: 26px 20px 40px; margin-top: 60px;
  color: var(--txt-3); font-size: 12.5px;
}
footer .fin { max-width: 1400px; margin: 0 auto; display: flex; gap: 20px; flex-wrap: wrap; justify-content: space-between; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 99px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: var(--txt-3); }

.toast {
  position: fixed; left: 50%; bottom: 34px; transform: translate(-50%, 20px);
  background: var(--panel); border: 1px solid var(--acc); color: var(--txt);
  padding: 10px 20px; border-radius: 999px; font-size: 13px; font-weight: 700;
  opacity: 0; pointer-events: none; transition: .25s; z-index: 300; box-shadow: var(--shadow);
}
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- 刷机包下载页 ---------- */
.romq {
  width: 300px; max-width: 100%; padding: 7px 12px; border-radius: 999px;
  border: 1px solid var(--line-2); background: var(--panel-2); color: var(--txt);
  font-size: 13px; outline: none; font-family: inherit;
}
.romq:focus { border-color: var(--acc); }
.romcard { padding: 15px 17px; }
.romcard .ttl { font-size: 15.5px; font-weight: 800; line-height: 1.35; }
.romcard .meta { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.romcard .aliases { margin-top: 5px; font-size: 11.5px; color: var(--txt-3); line-height: 1.5; word-break: break-all; }
.romfile {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  margin-top: 9px; padding-top: 9px; border-top: 1px dashed var(--line);
  font-size: 12.5px;
}
.romfile .fn { flex: 1 1 190px; font-family: var(--mono); font-size: 12px; color: var(--txt-2); word-break: break-all; }
.romfile .fs { color: var(--txt-3); font-size: 11.5px; white-space: nowrap; }
a.dl {
  display: inline-block; padding: 3px 10px; border-radius: 999px;
  background: color-mix(in srgb, var(--acc) 16%, transparent);
  border: 1px solid color-mix(in srgb, var(--acc) 42%, transparent);
  color: var(--acc-2); font-size: 12px; font-weight: 700; white-space: nowrap;
}
a.dl:hover { background: color-mix(in srgb, var(--acc) 26%, transparent); }
a.dl.ghost {
  background: transparent;
  border-color: color-mix(in srgb, var(--txt-2) 40%, transparent);
  color: var(--txt-2); font-weight: 600;
}
a.dl.ghost:hover { background: color-mix(in srgb, var(--txt-2) 14%, transparent); color: var(--txt); }
.romgroup { margin-bottom: 22px; }
.romgh {
  font-size: 14px; font-weight: 800; margin-bottom: 9px; color: var(--txt);
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.dim { color: var(--txt-3); }
.mobtag { display: none; }
/* 直链文件名：版本号下方的小字 */
.fnamesub {
  display: block; margin-top: 4px; font-family: var(--sans);
  font-size: 11px; color: var(--txt-3); letter-spacing: 0;
  word-break: break-all; max-width: 340px; line-height: 1.4;
}

@media (max-width: 780px) {
  table.dt.romtable th:nth-child(2),
  table.dt.romtable td:nth-child(2),
  table.dt.romtable th:nth-child(3),
  table.dt.romtable td:nth-child(3),
  table.dt.romtable th:nth-child(4),
  table.dt.romtable td:nth-child(4) { display: none; }
  table.dt.romtable td, table.dt.romtable th { padding: 8px 7px; font-size: 12px; }
  table.dt.romtable td.mono { font-size: 11px; letter-spacing: 0; word-break: break-all; }
  table.dt.romtable a.dl { padding: 2px 8px; font-size: 11px; }
  table.dt.romtable .mobtag {
    display: block; margin-top: 4px; font-family: var(--sans);
    font-size: 11px; color: var(--txt-3); letter-spacing: 0; word-break: normal;
  }
  table.dt.romtable td:last-child { min-width: 152px; }
  table.dt.romtable .fnamesub { font-size: 10px; max-width: 150px; }
  .romq { width: 100%; }
}

@media (max-width: 780px) {
  .topbar-in { flex-wrap: wrap; gap: 6px; padding: 8px 12px; }
  .brand h1 { font-size: 14.5px; }
  .brand small { font-size: 9.5px; letter-spacing: .3px; }
  .top-right { order: 3; width: 100%; margin-left: 0; }
  .searchbox { flex: 1; }
  .searchbox input, .searchbox input:focus { width: 100%; }
  nav.mainnav { order: 4; width: 100%; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 2px; }
  nav.mainnav a { padding: 6px 10px; font-size: 12.5px; }
  .hero { padding: 26px 20px; }
  .hero h2 { font-size: 25px; }
  .filterbar { position: static; }
  main { padding: 18px 14px 70px; }
  .statrow { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 460px) {
  .statrow { grid-template-columns: 1fr; }
  .hero h2 { font-size: 22px; }
  .detail-head { flex-wrap: wrap; }
}

/* 包表格里的标签（中国稳定版 / 小米官方直链 等） */
.ptag { display:inline-block; padding:1px 7px; border-radius:6px; font-size:11.5px; font-weight:600;
        background:rgba(120,140,160,.16); color:var(--txt-2); }
.ptag.hl { background:rgba(255,138,61,.18); color:var(--acc); }
