/* XQTeam ROM 库 · 视觉参考 opddys.site（深绿底 + 斜纹 + 白色大圆角卡） */
:root {
  --oppo-green: #08783f;
  --green-deep: #05602f;
  --button-green: #0bb67b;
  --button-green-h: #08a970;
  --text: #15212c;
  --muted: #9ea9b6;
  --line: #d9dee5;
  --radius: 13px;
  --shadow: 0 18px 42px rgba(0, 48, 27, .18);
  --shadow-s: 0 8px 22px rgba(0, 48, 27, .12);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { min-height: 100%; margin: 0; }
body {
  background: var(--oppo-green);
  color: var(--text);
  font-family: "Microsoft YaHei", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
body::before {
  position: fixed; top: -170px; left: -180px; width: 610px; height: 470px;
  background: repeating-linear-gradient(148deg, transparent 0 22px, rgba(91, 214, 164, .28) 23px 24px, transparent 25px 34px);
  content: ""; opacity: .7; pointer-events: none; transform: rotate(-7deg); z-index: 0;
}
body::after {
  position: fixed; right: -150px; bottom: -190px; width: 520px; height: 420px;
  background: repeating-linear-gradient(148deg, transparent 0 26px, rgba(91, 214, 164, .16) 27px 28px, transparent 29px 40px);
  content: ""; opacity: .8; pointer-events: none; transform: rotate(-7deg); z-index: 0;
}
.wrap { position: relative; z-index: 1; max-width: 1120px; margin: 0 auto; padding: 26px 20px 46px; }

/* 顶栏 */
.topbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.logo { display: flex; align-items: baseline; gap: 8px; color: #fff; text-decoration: none; }
.logo b { color: #9df3cd; font: 400 26px/1 Arial, sans-serif; letter-spacing: -2px; }
.logo span { color: rgba(255, 255, 255, .78); font-size: 12px; }
.topnav { display: flex; align-items: center; gap: 26px; }
.topnav a { color: rgba(255, 255, 255, .82); font-size: 13px; text-decoration: none; transition: color .18s ease; }
@media (hover: hover) and (pointer: fine) {
.topnav a:hover { color: #fff; }
}

/* 卡片 */
.card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px 22px; }
.card + .card { margin-top: 14px; }
.hero { position: relative; overflow: hidden; padding: 26px 26px 22px; }
.hero-main { position: relative; z-index: 1; max-width: 640px; }
.hero h1 { margin: 0 0 8px; font-size: 22px; font-weight: 600; }
.hero .sub { margin: 0 0 18px; color: var(--muted); font-size: 13px; line-height: 1.7; }

/* hero 大插画 */
.hero-strip { position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--bc, var(--button-green)); }

/* 搜索 */
.search { display: flex; align-items: center; gap: 9px; height: 38px; padding: 0 12px; border: 1px solid var(--line); border-radius: 7px; transition: border-color .2s, box-shadow .2s; }
.search:focus-within { border-color: var(--button-green); box-shadow: 0 0 0 2px rgba(11, 182, 123, .12); }
.search svg { flex: 0 0 auto; color: var(--muted); }
.search input { width: 100%; height: 36px; border: 0; outline: 0; background: transparent; color: var(--text); font: inherit; font-size: 14px; }
.search input::placeholder { color: #b8c1cc; }

/* 统计 */
.stats { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.stat { flex: 1 1 128px; padding: 10px 13px; border: 1px solid #e4eee9; border-radius: 9px; background: #f5faf7; }
.stat b { display: block; margin-bottom: 2px; color: #087942; font-size: 18px; font-weight: 600; }
.stat span { color: var(--muted); font-size: 12px; }

/* 筛选 */
.filters { display: grid; gap: 11px; }
.frow { display: flex; align-items: flex-start; gap: 10px; }
.ft { flex: 0 0 40px; padding-top: 7px; color: var(--muted); font-size: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; }
.chips.scroll { max-height: 68px; overflow-y: auto; }
.chip { height: 30px; padding: 0 13px; border: 1px solid var(--line); border-radius: 15px; background: #fff; color: var(--text); font: inherit; font-size: 13px; cursor: pointer; transition: border-color .18s ease, background-color .18s ease, color .18s ease, box-shadow .18s ease, transform .12s ease; white-space: nowrap; }
@media (hover: hover) and (pointer: fine) {
.chip:hover { border-color: #b7d9cb; }
}
.chip:active { transform: scale(.95); }
.chip.on { border-color: var(--button-green); background: var(--button-green); color: #fff; box-shadow: 0 6px 14px rgba(11, 182, 123, .28); }

/* 列表头 */
.listhead { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 16px 2px 0; flex-wrap: wrap; }
.count { color: rgba(255, 255, 255, .86); font-size: 13px; }
.seg { display: flex; gap: 6px; }
.seg button { height: 28px; padding: 0 12px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 14px; background: rgba(255, 255, 255, .12); color: #fff; font: inherit; font-size: 12px; cursor: pointer; transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .12s ease; }
.seg button.on { border-color: #fff; background: #fff; color: #08783f; font-weight: 600; }
.seg button:active { transform: scale(.96); }

/* 机型卡（带品牌色条） */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(266px, 1fr)); gap: 13px; margin-top: 14px; }
.mcard { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 9px; padding: 16px 16px 16px 19px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-s); color: inherit; text-decoration: none; transition: transform .22s cubic-bezier(.22,.68,.32,1.02), box-shadow .22s ease; }
.mcard::before { position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--bc, var(--button-green)); content: ""; }
.mcard::after { position: absolute; right: -40px; top: -40px; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(circle, rgba(11, 182, 123, .10), transparent 70%); content: ""; pointer-events: none; }
@media (hover: hover) and (pointer: fine) {
.mcard:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
}
.mcard:active { transform: translateY(-1px) scale(.99); }
.mcard h3 { margin: 0; font-size: 15px; font-weight: 600; line-height: 1.4; }
.mcard .code { color: #637482; font-size: 12px; }
.mcard .code .bdet { display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: var(--bc, var(--button-green)); vertical-align: middle; }
.mcard .code .bname { color: var(--bc, var(--button-green)); font-weight: 600; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { padding: 3px 8px; border-radius: 9px; background: #eef6f2; color: #0a7a4c; font-size: 11px; }
.tag.region { background: #f1f5fb; color: #37699e; }
.tag.and { background: #fff4e6; color: #a76515; }
.tag.more { background: #f4f5f7; color: var(--muted); }
.tag.warn { background: #fdecea; color: #c0392b; }
.tag.dyn { background: #e9f7f1; color: #08783f; }
.mcard .foot { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 1px; margin-top: auto; padding-top: 2px; }
.mcard .foot small { width: 100%; color: #637482; font-size: 11px; line-height: 1.5; }
.mcard .foot .go { display: inline-block; margin-top: 1px; white-space: nowrap; color: var(--button-green); font-size: 12px; font-weight: 600; transition: transform .22s cubic-bezier(.22,.68,.32,1.02); }
@media (hover: hover) and (pointer: fine) {
.mcard:hover .go { transform: translateX(3px); }
}

/* 包列表 */
.pkgs { display: block; }
.pkgrow { padding: 14px 0; border-bottom: 1px dashed #e6ecef; }
.pkgrow:last-child { border-bottom: 0; }
.pkg { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 16px; }
.pkg .ver { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 13.5px; word-break: break-all; }
.pkg .meta { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 8px; align-items: center; }
.pkg .size { color: var(--muted); font-size: 12px; }
.acts { display: flex; gap: 8px; align-items: center; }
.btn { display: inline-flex; align-items: center; height: 32px; padding: 0 15px; border: 1px solid var(--button-green); border-radius: 7px; background: var(--button-green); color: #fff; font: inherit; font-size: 13px; text-decoration: none; cursor: pointer; transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .12s ease; }
@media (hover: hover) and (pointer: fine) {
.btn:hover { background: var(--button-green-h); border-color: var(--button-green-h); }
}
.btn:active { transform: scale(.97); }
.btn.ghost { border-color: var(--line); background: #fff; color: #0a7a4c; }
@media (hover: hover) and (pointer: fine) {
.btn.ghost:hover { border-color: var(--button-green); background: #f4fbf7; }
}
.btn[disabled] { opacity: .6; cursor: wait; }

/* 解析预览面板（C16 直连 + 倒计时） */
.preview { margin-top: 12px; padding: 12px 13px; border: 1px solid #d6ece1; border-radius: 9px; background: #f6fbf8; }
.preview .hd { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.preview .st { color: #0a7a4c; font-size: 12px; font-weight: 600; }
.preview .st.warn { color: #a76515; }
.preview .st.err { color: #c0392b; }
.preview .u { max-height: 58px; overflow: auto; color: #1b3a2c; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 11.5px; line-height: 1.6; word-break: break-all; }
.preview .row2 { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.preview .cd { color: #a76515; font-size: 12px; }
.preview .cd b { font-family: ui-monospace, Menlo, Consolas, monospace; }
.preview .mini { height: 27px; padding: 0 11px; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: #0a7a4c; font: inherit; font-size: 12px; cursor: pointer; }
@media (hover: hover) and (pointer: fine) {
.preview .mini:hover { border-color: var(--button-green); }
}

.empty { padding: 34px 10px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-s); color: var(--muted); font-size: 13px; text-align: center; }
.more { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 16px; color: rgba(255, 255, 255, .85); font-size: 12.5px; }

/* 面包屑与说明 */
.crumb { margin: 0 0 10px; color: rgba(255, 255, 255, .8); font-size: 12px; }
.crumb a { color: rgba(255, 255, 255, .9); text-decoration: none; }
.crumb span::before { margin: 0 6px; content: "/"; color: rgba(255, 255, 255, .5); }
.hero-title { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; flex-wrap: wrap; }
.hero-title h1 { margin: 0; font-size: 22px; font-weight: 600; }
.hero-title i { padding: 3px 9px; border-radius: 10px; background: #eef6f2; color: #0a7a4c; font-size: 12px; font-style: normal; }
.hero-title i.brand { background: var(--bc, #eef6f2); color: #fff; }
.tip { margin-top: 14px; color: rgba(255, 255, 255, .82); font-size: 12px; line-height: 1.75; }

/* 页脚 */
.foot { position: relative; z-index: 1; padding: 0 20px 40px; color: rgba(255, 255, 255, .72); font-size: 12px; text-align: center; }
.foot a { color: rgba(255, 255, 255, .92); text-decoration: none; }
.dot { margin: 0 6px; }

.chip em { margin-left: 6px; font-size: 11px; font-style: normal; opacity: .62; }
.chip.on em { opacity: .85; }

@media (max-width: 980px) {
}
@media (max-width: 720px) {
  .wrap { padding: 18px 14px 36px; }
  .card { padding: 16px 16px; }
  .hero { padding: 20px 18px; }
  .hero h1 { font-size: 19px; }
  .hero { display: flex; flex-direction: column; }
  .pkg { grid-template-columns: 1fr; }
  .acts { justify-content: flex-start; }
  .grid { grid-template-columns: 1fr; }
  .topnav { gap: 16px; }
}

/* 顺滑动效 */
@keyframes cardIn { from { opacity: 0; translate: 0 12px; } to { opacity: 1; translate: 0 0; } }
.mcard.in { animation: cardIn .34s cubic-bezier(.22,.68,.32,1.02) backwards; }
@keyframes rowIn { from { opacity: 0; translate: 0 9px; } to { opacity: 1; translate: 0 0; } }
.pkgrow.in { animation: rowIn .3s cubic-bezier(.22,.68,.32,1.02) backwards; }
@keyframes softIn { from { opacity: 0; translate: 0 -4px; } to { opacity: 1; translate: 0 0; } }
.preview:not([hidden]) { animation: softIn .22s ease; }
@keyframes spin { to { transform: rotate(360deg); } }
.spin { width: 16px; height: 16px; flex: 0 0 auto; border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-delay: 0s !important; transition-duration: .001s !important; }
}

/* —— 点击手感：去掉安卓默认蓝色点按高亮 / 焦点方框，避免误选中 —— */
button, .topnav a, .logo, .crumb a, .foot a, .btn, .mcard { -webkit-tap-highlight-color: transparent; }
button, .topnav a, .logo, .crumb a, .foot a, .btn, .mini, .chip, .mcard, .seg button { -webkit-user-select: none; user-select: none; }
button, .topnav a, .logo, .crumb a, .foot a, .btn, .mcard, .seg button { touch-action: manipulation; }
button:focus, .chip:focus, .seg button:focus, .btn:focus, .mini:focus { outline: none; }
button:focus-visible, a:focus-visible { outline: 2px solid #0bb67b; outline-offset: 2px; }

/* —— 跨页面顺滑过渡：点进机型 / 返回列表 都带方向滑动（支持 View Transition 的浏览器生效）—— */
/* —— 页面进入动效（不用 View Transition：QQ \/ X5 内核会留下盖住整屏的绿底）—— */
/* 页面动效已关闭：跨页 View Transition 在 QQ \/ X5 内核会留下整屏绿底，改为无动效确保正文始终可见 */

/* ===== v20261017 · 手机图片大卡片 + 版本选择 ===== */
.grid { grid-template-columns: repeat(auto-fill, minmax(244px, 1fr)); gap: 14px; }
.mcard { padding: 10px 12px 13px 15px; gap: 7px; }
.mcard .dart { position: relative; aspect-ratio: 1 / 1; margin: 2px -2px 2px -5px; border-radius: 12px; overflow: hidden; background: linear-gradient(180deg, #fff 0%, #f3f7fa 100%); }
.mcard .dart svg, .mcard .dart img { position: absolute; inset: 0; width: 100%; height: 100%; }
.mcard .dart img { object-fit: contain; padding: 7px 9px; box-sizing: border-box; filter: drop-shadow(0 10px 16px rgba(21,33,44,.13)); }
.mcard .dart svg { transition: transform .38s cubic-bezier(.22,.68,.32,1.02); }
@media (hover: hover) and (pointer: fine) { .mcard:hover .dart svg { transform: scale(1.045); } }
.mcard.nopkg .dart { filter: grayscale(.95) opacity(.55); }
.mcard h3 { font-size: 15.5px; }
.regpick { display: grid; grid-template-columns: repeat(auto-fill, minmax(136px, 1fr)); gap: 9px; margin: 2px 0 13px; }
.regpick .reg { display: flex; flex-direction: column; gap: 3px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font: inherit; color: #173a2c; text-align: left; cursor: pointer; transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease; }
.regpick .reg span { font-size: 14px; font-weight: 600; }
.regpick .reg em { font-style: normal; font-size: 11px; color: var(--muted); }
.regpick .reg.on { border-color: var(--button-green); background: #eaf8f2; box-shadow: 0 0 0 2px rgba(11,182,123,.12); }
.regpick .reg.on em { color: #0a7a4c; }
@media (max-width: 720px) {
  .grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .mcard { padding: 8px 9px 11px 11px; }
  .mcard h3 { font-size: 13.5px; }
  .mcard .code { font-size: 11px; }
}


/* 真机实拍图：作为标题下方的一张产品照，不裁切、不压字 */


/* 首页 hero：真机渲染图（覆盖旧规则） */
@media (min-width: 721px) {
}
@media (max-width: 720px) {
}

/* 机型实机图（百度百科产品图） */
.mcard .dart img { transition: opacity .25s ease; }

/* hero 图（首页插画 / 机型实机图） */
.hero { padding-right: 26px; }
.hero-art { position: absolute; right: 10px; top: 8px; bottom: 8px; width: auto; margin: 0; opacity: 1;
  display: flex; align-items: center; justify-content: flex-end; pointer-events: none; }
.hero-art img { display: block; height: 100%; width: auto; max-height: 176px; object-fit: contain;
  border: 0; border-radius: 0; background: transparent; box-shadow: none;
}
.hero-art svg { display: block; width: 240px; height: auto; }
@media (min-width: 721px) { .hero { padding-right: 268px; } .hero-art { width: 250px; } }
@media (max-width: 720px) {
  .hero { padding-right: 18px; }
  .hero { display: flex; flex-direction: column; }
  .hero-main { order: 1; }
  .hero-art { position: static; order: 3; width: 54%; max-width: 178px; margin: 6px auto 0; justify-content: center; align-items: center; }
  .hero-art img { height: auto; width: 100%; max-height: 210px; }
  .hero-art svg { width: 62%; max-width: 210px; margin-left: auto; }
}

.mcard .dart { background: linear-gradient(180deg, #fff 0%, #f2f6f9 100%); }

/* 联想：官方线刷包说明 */
.lvnote { padding: 16px 18px; }
.lvnote-t { font-weight: 700; color: #e2231a; font-size: 15px; margin-bottom: 8px; }
.lvnote-p { margin: 6px 0; color: #4a5566; font-size: 13.5px; line-height: 1.7; }
.lvnote code, .lvnote .mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }


/* 机型详情覆盖层（音频不中断） */
#xqm-frame{position:fixed;inset:0;z-index:9000;background:#eef3f6;transform:translateX(100%);transition:transform .32s cubic-bezier(.22,.8,.28,1);will-change:transform;overflow:hidden}
#xqm-frame.on{transform:none}
#xqm-frame iframe{display:block;width:100%;height:100%;border:0;background:#fff}
html.xqm-lock,html.xqm-lock body{overflow:hidden}


/* ===== 品牌首页 + 毛玻璃（2026-10-19，背景换成 LQBBY ACG 海景） ===== */
body.rom-home { background: #0a211b; }
body.rom-home::before {
  position: fixed; inset: 0; width: auto; height: auto; left: 0; top: 0;
  background:
    linear-gradient(180deg, rgba(3,26,20,.34) 0%, rgba(3,26,20,.08) 24%, rgba(3,26,20,.02) 52%, rgba(3,26,20,.32) 100%),
    url("../img/bg-home.jpg?v=20261019lq") center 42% / cover no-repeat;
  opacity: 1; transform: none; z-index: 0; filter: saturate(1.02);
}
body.rom-home::after { display: none; }
body.rom-home .wrap { max-width: 1180px; }
body.rom-home .topbar, body.rom-home .foot { position: relative; z-index: 2; }
body.rom-home .topbar { text-shadow: 0 1px 10px rgba(0,25,18,.38); }
body.rom-home .logo { color: #fff; text-shadow: 0 1px 10px rgba(0,25,18,.38); }
body.rom-home .logo b { color: #fff; font: 700 23px/1 "Arial Black", "Microsoft YaHei", sans-serif; letter-spacing: -.6px; }
body.rom-home .logo span { color: #d6ffee; font-size: 12px; letter-spacing: .5px; }
body.rom-home .topnav a { color: rgba(255,255,255,.84); text-shadow: 0 1px 8px rgba(0,25,18,.38); }
body.rom-home .topnav a.on { color: #fff; font-weight: 600; }
body.rom-home .topnav a::after { display: none; }
body.rom-home .card {
  background: rgba(255,255,255,.56);
  -webkit-backdrop-filter: blur(26px) saturate(1.45);
  backdrop-filter: blur(26px) saturate(1.45);
  border: 1px solid rgba(255,255,255,.62);
  box-shadow: 0 26px 64px rgba(6,42,26,.18);
}
body.rom-home .hero { overflow: visible; background: rgba(255,255,255,.72); }
body.rom-home .hero .sub { color: #405662; }
body.rom-home .stat span { color: #5d707c; }
body.rom-home .search { background: rgba(255,255,255,.78); border-color: rgba(255,255,255,.9); }
body.rom-home .tip { color: rgba(255,255,255,.9); text-shadow: 0 1px 3px rgba(0,40,20,.45); }
body.rom-home .foot { color: rgba(255,255,255,.92); text-shadow: 0 1px 4px rgba(0,25,15,.55); }
body.rom-home .foot a { color: #fff; }

.brandhome { margin-top: 14px; padding: 20px 22px 22px; }
.bh-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 15px; }
.bh-head h2 { margin: 0 0 3px; font-size: 17px; font-weight: 650; letter-spacing: .2px; }
.bh-head p { margin: 0; color: #6b7c88; font-size: 12.5px; }
.bh-total { color: #6b7c88; font-size: 12px; white-space: nowrap; }
.bh-total b { color: #15212c; font-size: 15px; font-variant-numeric: tabular-nums; }

.bgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.bcard {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
  min-height: 132px; padding: 17px 17px 15px; border-radius: 15px; cursor: pointer; text-align: left;
  background: rgba(255,255,255,.62); border: 1px solid rgba(255,255,255,.82);
  -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3);
  box-shadow: 0 10px 24px rgba(6,42,26,.10), inset 0 1px 0 rgba(255,255,255,.7);
  color: #15212c; font: inherit;
  transition: transform .24s cubic-bezier(.22,.68,.32,1.02), box-shadow .24s ease, background .24s ease;
}
.bcard::before { position: absolute; left: 14px; right: 14px; top: 0; height: 3px; border-radius: 0 0 3px 3px; background: var(--bc, #0bb67b); content: ""; opacity: .9; }
.bcard:hover { transform: translateY(-3px); background: rgba(255,255,255,.82); box-shadow: 0 20px 38px rgba(6,42,26,.18), inset 0 1px 0 #fff; }
.bcard:active { transform: translateY(-1px) scale(.995); }
.blogo { display: flex; align-items: center; height: 34px; color: var(--bc); font: 700 21px/1 "Arial Black", "Microsoft YaHei", sans-serif; letter-spacing: -.3px; }
.blogo.mi i { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 11px; background: #ff6a00; color: #fff; font: 700 17px/1 Arial, sans-serif; font-style: normal; letter-spacing: -1px; }
.blogo.redmi { color: #e8452c; font-weight: 800; letter-spacing: .3px; }
.blogo.oppo { color: #00913a; letter-spacing: 1.5px; }
.blogo.oneplus { color: #f5010c; font-size: 15px; letter-spacing: .6px; }
.blogo.realme { color: #e89b00; font-weight: 700; letter-spacing: -.6px; }
.blogo.vivo { color: #415fff; font-weight: 700; letter-spacing: .5px; }
.blogo.iqoo { color: #008fd6; letter-spacing: .3px; }
.blogo.lenovo { color: #e2231a; font-size: 19px; }
.blogo.redmagic { color: #e60012; font-size: 16px; letter-spacing: -.2px; }
.blogo.blackshark { color: #00a86b; font-size: 13px; letter-spacing: .4px; }
.blogo.samsung { color: #1428a0; font-size: 13px; letter-spacing: .2px; }
.bcount { margin-top: auto; color: #677987; font-size: 12px; line-height: 1.5; }
.bcount b { color: #15212c; font-size: 18px; font-weight: 650; font-variant-numeric: tabular-nums; }
.bcount em { display: block; margin-top: 2px; color: #9aa7b4; font-style: normal; font-size: 11px; }
.barrow { position: absolute; right: 15px; bottom: 14px; color: #9fb0bd; font-size: 16px; transition: transform .22s ease, color .22s ease; }
.bcard:hover .barrow { transform: translateX(3px); color: #08783f; }

body.rom-home .mcard {
  background: rgba(255,255,255,.9);
  -webkit-backdrop-filter: blur(18px) saturate(1.18);
  backdrop-filter: blur(18px) saturate(1.18);
  border: 1px solid rgba(255,255,255,.78);
  box-shadow: 0 14px 32px rgba(6,42,26,.12);
}
body.rom-home .mcard .dart { background: linear-gradient(180deg, #fff 0%, #eef4f8 100%); }
body.rom-home .mcard .dart img { object-fit: contain; }
body.brand-mode .hero { padding-bottom: 20px; }
.allbrands { flex: 0 0 auto; padding: 7px 11px; border: 1px solid rgba(8,120,63,.22); border-radius: 8px; background: rgba(255,255,255,.6); color: #08783f; font: inherit; font-size: 12.5px; cursor: pointer; }
.allbrands:hover { background: #fff; }

@media (max-width: 900px) { .bgrid { grid-template-columns: repeat(3, minmax(0,1fr)); } }
@media (max-width: 640px) {
  body.rom-home .wrap { padding: 18px 14px 34px; }
  .brandhome { padding: 17px 16px 18px; }
  .bgrid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
  .bcard { min-height: 122px; padding: 14px 14px 13px; }
  .blogo { height: 30px; font-size: 18px; }
  .bh-total { display: none; }
  .listhead { flex-wrap: wrap; gap: 8px; }
  .allbrands { order: -1; }
}

/* 2026-10-19 品牌首页收口 */
.stats{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px!important}
@media(max-width:720px){.stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
.blogo>svg{width:34px;height:34px;display:block;fill:currentColor}

/* 品牌页/筛选页也保持同一套毛玻璃底 */
body.rom-home .stat{background:rgba(255,255,255,.5);border-color:rgba(255,255,255,.72);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}
body.rom-home .filters,body.rom-home .listhead,body.rom-home .grid{position:relative}

/* ===== 机型详情：版本卡 + 毛玻璃（2026-10-19） ===== */
body.model-detail { background: #e6efe9; }
body.model-detail .wrap { max-width: 980px; }
body.model-detail .hero { padding-bottom: 20px; }
body.model-detail .hero-art { opacity: .96; }
body.model-detail #pkgs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
  margin-top: 14px;
}
body.model-detail #pkgs .pkgrow {
  position: relative;
  overflow: hidden;
  padding: 16px 16px 15px;
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 15px;
  background: rgba(255,255,255,.62);
  -webkit-backdrop-filter: blur(18px) saturate(1.35);
  backdrop-filter: blur(18px) saturate(1.35);
  box-shadow: 0 14px 32px rgba(6,42,26,.13), inset 0 1px 0 rgba(255,255,255,.75);
  transition: transform .22s cubic-bezier(.22,.68,.32,1.02), box-shadow .22s ease, background .22s ease;
}
body.model-detail #pkgs .pkgrow::before {
  position: absolute; left: 16px; top: 0; width: 46px; height: 3px;
  border-radius: 0 0 3px 3px; background: var(--bc, var(--button-green)); content: "";
}
@media (hover: hover) and (pointer: fine) {
  body.model-detail #pkgs .pkgrow:hover { transform: translateY(-2px); background: rgba(255,255,255,.72); box-shadow: 0 20px 40px rgba(6,42,26,.17), inset 0 1px 0 #fff; }
}
body.model-detail #pkgs .pkgrow:last-child { border-bottom: 1px solid rgba(255,255,255,.8); }
body.model-detail #pkgs .pkg { display: flex; flex-direction: column; gap: 12px; }
body.model-detail #pkgs .pkgmain { min-width: 0; }
body.model-detail #pkgs .ver { font-size: 14px; line-height: 1.55; }
body.model-detail .vbadge {
  display: inline-block; margin-right: 7px; padding: 2px 6px; border-radius: 6px;
  background: rgba(11,182,123,.12); color: #08783f; font-size: 10.5px; font-weight: 600;
  vertical-align: 1px;
}
body.model-detail #pkgs .meta { margin-top: 8px; gap: 6px; }
body.model-detail #pkgs .acts { flex-wrap: wrap; gap: 7px; margin-top: 2px; }
body.model-detail #pkgs .btn { height: 31px; padding: 0 12px; font-size: 12.5px; }
body.model-detail #pkgs .preview { margin-top: 12px; background: rgba(255,255,255,.76); border-color: rgba(11,182,123,.2); }
@media (max-width: 720px) {
  body.model-detail #pkgs { grid-template-columns: 1fr; gap: 10px; }
  body.model-detail #pkgs .pkgrow { padding: 14px 14px 13px; }
  body.model-detail #pkgs .ver { font-size: 13.5px; }
}

/* 机型详情 hero：缩成小图，优先露出下面的版本卡 */
body.model-detail .hero-art { max-height: 168px; }
body.model-detail .hero-art img,
body.model-detail .hero-art svg { max-height: 168px; height: auto; width: auto; max-width: 100%; }
@media (max-width: 720px) {
  body.model-detail .hero-art { width: 42%; max-width: 150px; max-height: 150px; margin: 8px auto 0; }
  body.model-detail .hero-art img,
  body.model-detail .hero-art svg { max-height: 150px; }
  body.model-detail .hero { padding-bottom: 14px; }
}

body.model-detail .listhead .count { color: #fff; text-shadow: 0 1px 4px rgba(0, 35, 18, .55); }

/* 手机端机型详情：保留一张小产品图，仍优先露出区域/版本卡 */
@media (max-width: 720px) {
  body.model-detail .hero-art { display: flex; width: 150px; max-width: 150px; max-height: 190px; margin: 10px auto 0; padding: 6px 8px; box-sizing: border-box; border-radius: 12px; background: #fff; box-shadow: 0 8px 20px rgba(12,52,72,.14); justify-content: center; align-items: center; }
  body.model-detail .hero-art img,
  body.model-detail .hero-art svg { max-height: 178px; height: auto; width: auto; max-width: 100%; }
  body.model-detail .hero { padding: 16px 16px 14px; }
  body.model-detail .hero-title h1 { font-size: 20px; }
  body.model-detail .hero .sub { margin-bottom: 0; }
}

/* 机型详情：信息区再压暗一点，保证文字在风景图上的可读性 */
body.model-detail .hero { background: rgba(255,255,255,.72); }
body.model-detail .filters { background: rgba(255,255,255,.72); }
body.model-detail .hero .sub { color: #4e5e6a; }

body.model-detail #pkgs .pkg .size { color: #5f707c; }

/* 列表头也做成一条毛玻璃，避免白字压在风景图上 */
body.rom-home .listhead {
  margin-top: 14px; padding: 8px 12px;
  border: 1px solid rgba(255,255,255,.72); border-radius: 12px;
  background: rgba(255,255,255,.58);
  -webkit-backdrop-filter: blur(14px) saturate(1.25);
  backdrop-filter: blur(14px) saturate(1.25);
}
body.rom-home .listhead .count { color: #0c4a32; text-shadow: none; }
body.rom-home .listhead .seg button { color: #2c5c47; border-color: rgba(8,120,63,.18); background: rgba(255,255,255,.62); }
body.rom-home .listhead .seg button.on { color: #fff; border-color: #08783f; background: #08783f; }

/* 人机验证失败提示（轻提示，不再弹窗） */
#xqToast { position: fixed; left: 50%; bottom: 26px; z-index: 9999; max-width: min(88vw, 420px); padding: 11px 16px; border-radius: 12px; background: rgba(12, 38, 26, .94); color: #eaf6ef; font: 500 13px/1.5 -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif; box-shadow: 0 12px 30px rgba(0, 20, 10, .28); transform: translate(-50%, 14px); opacity: 0; pointer-events: none; transition: opacity .18s ease, transform .18s ease; }
#xqToast.on { opacity: 1; transform: translate(-50%, 0); }
@media (prefers-reduced-motion: reduce) { #xqToast { transition: none; } }
