/* ============================================================
   GINTOL · 精选软件商店
   Orange app-store style / light theme
   ============================================================ */

:root {
  --o: #ff6a13;
  --o-deep: #e45400;
  --o-light: #ff9a4d;
  --o-soft: #fff1e5;
  --o-pale: #fff8f2;
  --ink: #1b1917;
  --ink-2: #45403a;
  --muted: #8a817a;
  --line: #ece7e1;
  --bg: #fbfaf9;
  --card: #ffffff;
  --shadow-sm: 0 2px 10px rgba(38, 25, 12, .045);
  --shadow-md: 0 12px 34px rgba(38, 25, 12, .10);
  --shadow-lg: 0 28px 70px rgba(46, 24, 8, .20);
  --radius: 18px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
/* 类选择器里的 display 会盖过 UA 的 [hidden]，这里统一兜底 */
[hidden] { display: none !important; }
html {
  scroll-behavior: smooth;
  /* 顶部为 sticky header 预留锚点偏移，并叠加刘海屏安全区 */
  scroll-padding-top: calc(92px + env(safe-area-inset-top, 0px));
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  /* clip 不建立滚动容器，既能挡住装饰元素溢出，又不破坏 sticky */
  overflow-x: clip;
}
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  overflow-wrap: break-word;
  -webkit-tap-highlight-color: transparent;
}
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
h1, h2, h3, h4, p { margin: 0; }
ol, ul { margin: 0; padding: 0; list-style: none; }
img, video, canvas, iframe { max-width: 100%; }
img { height: auto; }
/* 去掉双击缩放的 300ms 延迟，同时保留双指缩放 */
a, button, label, select, [role="button"] { touch-action: manipulation; }
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.container { width: min(1240px, calc(100% - 48px)); margin: 0 auto; }

/* ---------- 通用按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 46px; padding: 0 22px; border-radius: 12px;
  font-size: 14.5px; font-weight: 650; letter-spacing: .01em;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn .ico { width: 17px; height: 17px; stroke-width: 2; }
button.btn { border: 0; cursor: pointer; font-family: inherit; text-decoration: none; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--o); color: #fff; box-shadow: 0 8px 20px rgba(255, 106, 19, .28); }
.btn-primary:hover { background: var(--o-deep); box-shadow: 0 12px 26px rgba(255, 106, 19, .34); }
.btn-white { background: #fff; color: var(--o-deep); box-shadow: 0 10px 26px rgba(120, 45, 0, .18); }
.btn-white:hover { box-shadow: 0 14px 32px rgba(120, 45, 0, .26); }
.btn-ghost-light { color: #fff; border: 1px solid rgba(255, 255, 255, .48); background: rgba(255, 255, 255, .08); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .18); }
.btn-block { width: 100%; }
.btn-soft { background: var(--o-soft); color: var(--o-deep); }
.btn-soft:hover { background: #ffe4ce; }

.section-kicker {
  font-size: 11.5px; font-weight: 800; letter-spacing: .19em;
  color: var(--o); text-transform: uppercase; margin-bottom: 10px;
}
.section-kicker.light { color: var(--o-light); }
.section-title-row { display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; margin-bottom: 26px; }
.section-title-row h2 { font-size: 27px; letter-spacing: -.025em; font-weight: 750; }
.section-title-row p { color: var(--muted); font-size: 14px; }
.section-title-row.light h2 { color: #fff; }
.section-title-row.light p { color: rgba(255, 255, 255, .6); }
.text-link { margin-left: auto; color: var(--o-light); font-size: 13.5px; font-weight: 650; display: inline-flex; align-items: center; gap: 6px; }
.text-link .ico { width: 16px; height: 16px; }
.text-link:hover { gap: 10px; }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 60;
  /* 刘海屏 / 全屏模式下让白色毛玻璃铺到状态栏后面 */
  padding-top: env(safe-area-inset-top, 0px);
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid rgba(236, 231, 225, .9);
}
.header-inner { height: 74px; display: flex; align-items: center; gap: 26px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex: none; }
.brand-mark { width: 40px; height: 40px; display: block; }
.brand-mark svg { width: 100%; height: 100%; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 19px; font-weight: 820; letter-spacing: .075em; }
.brand-text small { font-size: 10.5px; color: var(--muted); letter-spacing: .04em; margin-top: 3px; }
.main-nav { display: flex; align-items: center; gap: 4px; margin-left: 14px; }
.nav-link { padding: 8px 13px; border-radius: 9px; font-size: 14px; font-weight: 550; color: var(--ink-2); transition: .18s; }
.nav-link:hover { background: var(--o-pale); color: var(--o-deep); }
.nav-link.is-active { color: var(--o-deep); font-weight: 700; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.search-box {
  display: flex; align-items: center; gap: 9px;
  width: 268px; height: 40px; padding: 0 12px;
  background: #f5f3f1; border: 1px solid transparent; border-radius: 11px;
  color: var(--muted); transition: .2s;
}
.search-box:focus-within { background: #fff; border-color: var(--o-light); box-shadow: 0 0 0 4px rgba(255, 106, 19, .10); }
.search-box .ico { width: 17px; height: 17px; }
.search-box input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 13.5px; color: var(--ink); }
.search-box input::placeholder { color: #a49b93; }
.search-box input::-webkit-search-cancel-button { cursor: pointer; }
.search-box kbd {
  font: 600 11px var(--font); color: #a49b93; background: #fff;
  border: 1px solid var(--line); border-radius: 5px; padding: 1px 6px;
}
.icon-btn {
  width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center;
  color: var(--ink-2); background: #f5f3f1; position: relative; transition: .18s;
}
.icon-btn:hover { background: var(--o-soft); color: var(--o-deep); }
.icon-btn .ico { width: 19px; height: 19px; }
.badge {
  position: absolute; top: -5px; right: -5px; min-width: 18px; height: 18px; padding: 0 4px;
  border-radius: 9px; background: var(--o); color: #fff; font-size: 10.5px; font-weight: 700;
  display: grid; place-items: center; border: 2px solid #fff;
}
.fav-btn.is-on { background: var(--o); color: #fff; }
/* 登录入口：未登录是描边图标，登录后右上角出现小圆点 */
.user-btn { position: relative; }
.user-btn .user-dot {
  position: absolute; top: 7px; right: 8px;
  width: 8px; height: 8px; border-radius: 50%;
  background: #2fbf71; box-shadow: 0 0 0 2px #fff;
}
.user-btn.is-on { color: var(--o-deep); background: var(--o-soft); }
.menu-btn { display: none; }
.mobile-nav { display: none; }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(118deg, #ff9436 0%, #ff6a13 44%, #ee4d05 100%);
  color: #fff;
}
.hero-bg-grid {
  position: absolute; inset: 0; opacity: .16;
  background-image: linear-gradient(rgba(255,255,255,.55) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.55) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(100deg, transparent 5%, #000 55%, transparent 100%);
  -webkit-mask-image: linear-gradient(100deg, transparent 5%, #000 55%, transparent 100%);
}
.hero::before {
  content: ""; position: absolute; width: 540px; height: 540px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 224, 180, .42), transparent 68%);
  top: -230px; right: -80px; pointer-events: none;
}
.hero-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.04fr .96fr; gap: 30px; align-items: center;
  padding: 74px 0 92px; min-height: 512px;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 13px; border-radius: 99px; font-size: 11px; font-weight: 750; letter-spacing: .14em;
  background: rgba(255, 255, 255, .17); border: 1px solid rgba(255, 255, 255, .28);
}
.eyebrow .ico { width: 14px; height: 14px; stroke-width: 2; }
.hero-copy h1 {
  font-size: clamp(34px, 4vw, 52px); line-height: 1.24; letter-spacing: -.035em;
  font-weight: 800; margin: 20px 0 18px;
}
.hero-copy h1 em {
  font-style: normal; padding: 0 4px; border-radius: 4px;
  background: linear-gradient(to top, rgba(255, 255, 255, .3) 0 12px, transparent 12px);
}
.hero-sub { max-width: 520px; font-size: 15.5px; line-height: 1.85; color: rgba(255, 255, 255, .88); }
.hero-actions { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.hero-stats { display: flex; align-items: center; gap: 22px; margin-top: 42px; }
.hero-stats > div { display: flex; flex-direction: column; line-height: 1.3; }
.hero-stats strong { font-size: 21px; font-weight: 780; letter-spacing: -.02em; }
.hero-stats span { font-size: 11.5px; color: rgba(255, 255, 255, .75); margin-top: 2px; }
.hero-stats i { width: 1px; height: 30px; background: rgba(255, 255, 255, .3); }

/* ---------- 全站搜索 ---------- */
.gs-hero { position: relative; z-index: 20; max-width: 620px; margin-top: 24px; }
.gs-form {
  display: flex; align-items: center; gap: 10px; height: 58px; padding: 0 8px 0 18px;
  background: #fff; border-radius: 16px;
  box-shadow: 0 16px 38px rgba(92, 30, 0, .24), inset 0 0 0 1px rgba(255, 255, 255, .6);
  transition: box-shadow .18s ease, transform .18s ease;
}
.gs-form:focus-within {
  box-shadow: 0 20px 46px rgba(80, 24, 0, .3), 0 0 0 3px rgba(255, 255, 255, .38);
  transform: translateY(-1px);
}
.gs-ico { width: 20px; height: 20px; flex: none; color: #a69e97; stroke-width: 2.2; fill: none; stroke: currentColor; }
.gs-form input {
  flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent;
  font-family: inherit; font-size: 16px; color: #241f1b;
}
.gs-form input::placeholder { color: #a8a09a; font-size: 14.5px; }
.gs-form input::-webkit-search-cancel-button,
.gs-form input::-webkit-search-results-button,
.gs-form input::-webkit-search-decoration { -webkit-appearance: none; display: none; }
.gs-kbd {
  flex: none; font-family: inherit; font-size: 11px; color: #9b938c;
  border: 1px solid #e7e1db; background: #faf8f6; border-radius: 6px; padding: 2px 7px;
}
.gs-btn {
  flex: none; height: 44px; padding: 0 20px; border: 0; border-radius: 12px;
  background: linear-gradient(135deg, #ff8a2b, #f0520a); color: #fff;
  font-family: inherit; font-size: 14px; font-weight: 700; cursor: pointer;
  box-shadow: 0 5px 14px rgba(240, 82, 10, .28); transition: .16s ease;
}
.gs-btn:hover { filter: brightness(1.06); transform: translateY(-1px); }
.gs-panel {
  position: fixed; z-index: 120; overflow-y: auto; padding: 8px;
  background: #fff; color: #241f1b; border: 1px solid #eee8e2; border-radius: 16px;
  box-shadow: 0 30px 72px rgba(50, 20, 0, .3);
  animation: gsPanelIn .16s ease;
}
.gs-panel[hidden] { display: none !important; }
@keyframes gsPanelIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.gs-hot { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; padding: 10px 10px 12px; }
.gs-hot-label { font-size: 11.5px; color: #9b938c; font-weight: 650; margin-right: 2px; }
.gs-hot-word {
  border: 1px solid #eee7e0; background: #fbf9f7; color: #4b453f; border-radius: 999px;
  padding: 6px 12px; min-height: 32px; font-family: inherit; font-size: 12.5px; cursor: pointer;
  transition: .15s ease;
}
.gs-hot-word:hover { border-color: #ffc49b; background: #fff2e7; color: #c2410c; }
.gs-hot-link {
  margin-left: auto; display: inline-flex; align-items: center; gap: 4px;
  font-size: 12px; color: #c2410c; text-decoration: none; font-weight: 600;
}
.gs-hot-link .ico { width: 13px; height: 13px; }
.gs-item {
  display: flex; align-items: center; gap: 11px; padding: 10px 11px;
  border-radius: 11px; text-decoration: none; color: inherit; transition: background .12s ease;
}
.gs-item:hover, .gs-item.is-active { background: #fff4ea; }
.gs-kind { width: 34px; height: 34px; flex: none; border-radius: 10px; display: grid; place-items: center; background: #fff1e5; color: #e45400; }
.gs-kind .ico { width: 17px; height: 17px; }
.gs-kind.is-article { background: #eef4ff; color: #2f6fd0; }
.gs-kind.is-guide { background: #eefaf3; color: #12855b; }
.gs-kind.is-app { background: #f3efff; color: #6b46c1; }
.gs-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.gs-title { font-size: 14px; font-weight: 650; line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gs-title mark { background: #ffe0c2; color: #b93d00; border-radius: 3px; padding: 0 1px; }
.gs-meta { font-size: 11.5px; color: #8a817a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gs-type { flex: none; font-size: 10.5px; padding: 3px 8px; border-radius: 6px; background: #f4f1ee; color: #7a716a; white-space: nowrap; }
.gs-type.is-software { background: #fff1e5; color: #c2410c; }
.gs-type.is-article { background: #eef4ff; color: #2f6fd0; }
.gs-type.is-guide { background: #eefaf3; color: #12855b; }
.gs-type.is-app { background: #f3efff; color: #6b46c1; }
.gs-go { width: 14px; height: 14px; flex: none; color: #c9c0b8; }
.gs-empty { padding: 30px 18px 26px; text-align: center; color: #8a817a; }
.gs-empty b { display: block; color: #241f1b; font-size: 15px; margin-bottom: 6px; }
.gs-empty p { font-size: 12.5px; margin: 0 0 14px; }
.gs-empty-btn {
  display: inline-flex; align-items: center; height: 38px; padding: 0 16px;
  border-radius: 9px; background: #ff6a13; color: #fff; text-decoration: none;
  font-size: 13px; font-weight: 650;
}
.gs-foot {
  display: flex; align-items: center; gap: 14px; padding: 9px 12px 7px;
  border-top: 1px solid #f1ece7; margin-top: 6px; font-size: 11px; color: #a49b94;
}
.gs-foot span { display: inline-flex; align-items: center; gap: 4px; }
.gs-foot kbd {
  font-family: inherit; font-size: 10px; border: 1px solid #e9e3dd; background: #fbf9f7;
  border-radius: 4px; padding: 1px 4px; color: #8a817a;
}
.gs-foot-brand { margin-left: auto; color: #c2410c; font-weight: 600; }


/* Hero 右侧插画 */
.hero-visual { position: relative; height: 400px; }
.glow { position: absolute; border-radius: 50%; filter: blur(2px); }
.glow-a { width: 340px; height: 340px; right: 20px; top: 10px; background: radial-gradient(circle, rgba(255, 255, 255, .22), transparent 68%); }
.glow-b { width: 220px; height: 220px; left: -20px; bottom: -30px; background: radial-gradient(circle, rgba(255, 199, 120, .32), transparent 70%); }
.mock-window {
  position: absolute; top: 18px; right: 8px; width: 410px;
  background: #fff; border-radius: 20px; padding: 0 0 18px;
  box-shadow: 0 34px 70px rgba(104, 36, 0, .32);
  transform: rotate(-2.2deg); color: var(--ink);
}
.mock-bar { height: 42px; display: flex; align-items: center; gap: 6px; padding: 0 16px; border-bottom: 1px solid #f2eee9; }
.mock-bar span { width: 9px; height: 9px; border-radius: 50%; background: #ffd9c3; }
.mock-bar span:nth-child(2) { background: #ffe7c2; }
.mock-bar span:nth-child(3) { background: #d9f0dc; }
.mock-bar b { margin-left: auto; font-size: 10.5px; font-weight: 600; color: #b5aca4; }
.mock-body { padding: 18px 20px 0; }
.mock-heading { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 14px; }
.mock-heading span { font-size: 15px; font-weight: 750; }
.mock-heading small { font-size: 10.5px; color: var(--o); background: var(--o-soft); padding: 3px 8px; border-radius: 6px; font-weight: 650; }
.mock-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.mock-app { display: flex; align-items: center; gap: 9px; min-width: 0; padding: 9px; border: 1px solid #f1ece7; border-radius: 12px; background: #fff; }
.mock-txt { min-width: 0; flex: 1; }
.mock-ico {
  width: 36px; height: 36px; border-radius: 10px; flex: none; display: grid; place-items: center;
  background: linear-gradient(140deg, var(--a), var(--b)); color: #fff; font-size: 11px; font-weight: 800;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35);
}
.mock-app b { display: block; font-size: 11.5px; font-weight: 700; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-app small { display: block; font-size: 9.5px; color: #a49b93; line-height: 1.4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-progress { display: flex; align-items: center; gap: 10px; margin-top: 16px; font-size: 10.5px; color: var(--muted); }
.mock-progress > div { flex: 1; height: 6px; background: #f3efe9; border-radius: 4px; overflow: hidden; }
.mock-progress i { display: block; width: 98%; height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--o-light), var(--o)); }
.mock-progress b { color: var(--o-deep); font-size: 11px; }
.float-card {
  position: absolute; display: flex; align-items: center; gap: 10px;
  background: #fff; color: var(--ink); border-radius: 14px; padding: 11px 14px;
  box-shadow: 0 18px 40px rgba(105, 40, 0, .24); z-index: 3;
}
.float-card small { display: block; font-size: 10px; color: var(--muted); line-height: 1.3; }
.float-card strong { display: block; font-size: 19px; line-height: 1.2; font-weight: 780; letter-spacing: -.02em; }
.float-card strong span { font-size: 12px; }
.float-temp { left: 4px; bottom: 44px; transform: rotate(3deg); }
.fc-ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--o-soft); color: var(--o); }
.float-temp em { font-size: 10px; font-style: normal; color: var(--o-deep); background: var(--o-soft); padding: 3px 7px; border-radius: 6px; font-weight: 700; }
.float-badge { right: -6px; bottom: 6px; transform: rotate(-3deg); }
.float-badge > .ico { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: #16a576; color: #fff; stroke-width: 2.4; }
.float-badge strong { font-size: 13px; }
.hero-wave {
  position: absolute; bottom: -1px; left: 0; width: 100%; height: 46px;
  background: var(--bg); border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

/* ============================================================
   分类
   ============================================================ */
.cats-wrap { padding: 40px 0 6px; }
.cat-strip { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.cat-chip {
  display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px;
  border-radius: 11px; background: #fff; border: 1px solid var(--line);
  font-size: 13.5px; font-weight: 600; color: var(--ink-2);
  box-shadow: var(--shadow-sm); transition: .18s;
}
.cat-chip .ico { width: 17px; height: 17px; color: var(--muted); }
.cat-chip .cnt { font-size: 11px; color: #b0a7a0; font-weight: 600; }
.cat-chip:hover { border-color: var(--o-light); color: var(--o-deep); transform: translateY(-2px); }
.cat-chip:hover .ico { color: var(--o); }
.cat-chip.is-active { background: var(--o); border-color: var(--o); color: #fff; box-shadow: 0 8px 18px rgba(255, 106, 19, .26); }
.cat-chip.is-active .ico, .cat-chip.is-active .cnt { color: #fff; opacity: .9; }

/* ============================================================
   应用区
   ============================================================ */
.content-section { padding: 34px 0 84px; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 306px; gap: 30px; align-items: start; }
.main-col { min-width: 0; }
.list-toolbar { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.list-toolbar h2 { font-size: 22px; font-weight: 750; letter-spacing: -.02em; }
.list-toolbar p { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.toolbar-right { display: flex; align-items: center; gap: 9px; }
.filter-pill {
  display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 13px;
  border-radius: 10px; border: 1px solid var(--line); background: #fff;
  font-size: 12.5px; font-weight: 600; color: var(--ink-2); transition: .18s;
}
.filter-pill .ico { width: 15px; height: 15px; }
.filter-pill:hover { border-color: var(--o-light); color: var(--o-deep); }
.filter-pill.is-on { background: var(--o-soft); border-color: #ffc79b; color: var(--o-deep); }
.filter-pill.is-on .ico { fill: var(--o); stroke: var(--o); }
.sort-box {
  display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 11px;
  border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--muted);
}
.sort-box > span { font-size: 12px; }
.sort-box select { border: 0; outline: 0; background: transparent; font-size: 12.5px; font-weight: 650; color: var(--ink-2); cursor: pointer; padding-right: 2px; }
.sort-box .ico { width: 14px; height: 14px; pointer-events: none; }

.app-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.app-card {
  position: relative; min-width: 0; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 19px; cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  animation: fadeUp .45s backwards;
  display: flex; flex-direction: column;
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.app-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: #ffcda8; }
.app-top { display: flex; align-items: flex-start; gap: 12px; }
.app-icon {
  width: 54px; height: 54px; flex: none; border-radius: 15px; display: grid; place-items: center;
  color: #fff; font-size: 17px; font-weight: 800; letter-spacing: -.04em;
  background: linear-gradient(140deg, var(--a), var(--b));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .38), 0 7px 16px rgba(40, 25, 12, .14);
}
.app-meta { min-width: 0; flex: 1; padding-top: 3px; }
.app-name { font-size: 15.5px; font-weight: 730; letter-spacing: -.015em; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-dev { font-size: 11.5px; color: var(--muted); margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.heart-btn {
  width: 30px; height: 30px; flex: none; border-radius: 9px; display: grid; place-items: center;
  color: #bdb4ac; transition: .18s;
}
.heart-btn .ico { width: 17px; height: 17px; }
.heart-btn:hover { background: var(--o-soft); color: var(--o); }
.heart-btn.is-on { color: var(--o); }
.heart-btn.is-on .ico { fill: var(--o); stroke: var(--o); }
.heart-btn.pop { animation: pop .32s ease; }
@keyframes pop { 50% { transform: scale(1.32); } }
.app-desc {
  font-size: 12.8px; color: var(--ink-2); line-height: 1.7; margin: 15px 0 13px;
  min-height: 44px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.app-stats { display: flex; align-items: center; gap: 7px; font-size: 11.5px; color: var(--muted); }
.app-stats .star { width: 14px; height: 14px; fill: #ffab2e; stroke: #ffab2e; stroke-width: 1; }
.app-stats b { color: var(--ink-2); font-weight: 700; font-size: 12.5px; }
.app-stats .dot { color: #d6cfc8; }
.app-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 13px; }
.tag { font-size: 10.5px; font-weight: 600; padding: 3px 8px; border-radius: 6px; background: #f6f3f0; color: #8b827a; }
.tag.orange { background: var(--o-soft); color: var(--o-deep); }
.tag.green { background: #e9f7ef; color: #19805c; }
.app-bottom { display: flex; align-items: center; gap: 8px; margin-top: 17px; padding-top: 15px; border-top: 1px solid #f3efe9; }
.mini-btn {
  flex: 1; height: 34px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; gap: 5px;
  font-size: 12px; font-weight: 680; background: #f6f3f0; color: var(--ink-2); transition: .18s;
}
.mini-btn:hover { background: var(--o-soft); color: var(--o-deep); }
.mini-btn .ico { width: 14px; height: 14px; }
.mini-btn.solid { flex: none; padding: 0 15px; background: var(--o-soft); color: var(--o-deep); }
.mini-btn.solid:hover { background: var(--o); color: #fff; }

.empty-state { text-align: center; padding: 74px 20px; background: #fff; border: 1px dashed var(--line); border-radius: var(--radius); }
.empty-ico { width: 58px; height: 58px; border-radius: 18px; margin: 0 auto 16px; display: grid; place-items: center; background: var(--o-soft); color: var(--o); }
.empty-ico .ico { width: 27px; height: 27px; }
.empty-state h3 { font-size: 17px; }
.empty-state p { font-size: 13px; color: var(--muted); margin: 6px 0 18px; }

/* ============================================================
   侧栏
   ============================================================ */
.side-col { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 16px; }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-sm); }
.side-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.side-head h3 { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 730; }
.side-head h3 .ico { width: 17px; height: 17px; color: var(--o); }
.side-head > span { font-size: 10px; font-weight: 750; letter-spacing: .1em; color: var(--o); background: var(--o-soft); padding: 3px 7px; border-radius: 5px; }
.rank-list li { display: flex; align-items: center; gap: 11px; padding: 8px 0; cursor: pointer; border-bottom: 1px solid #f5f1ec; }
.rank-list li:last-child { border-bottom: 0; }
.rank-num { width: 20px; flex: none; font-size: 13px; font-weight: 780; color: #c2b9b1; text-align: center; font-variant-numeric: tabular-nums; }
.rank-list li:nth-child(-n+3) .rank-num { color: var(--o); }
.rank-ico { width: 34px; height: 34px; flex: none; border-radius: 10px; display: grid; place-items: center; color: #fff; font-size: 10px; font-weight: 800; background: linear-gradient(140deg, var(--a), var(--b)); }
.rank-txt { min-width: 0; flex: 1; }
.rank-txt b { display: block; font-size: 12.5px; font-weight: 680; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rank-txt small { display: block; font-size: 10.5px; color: var(--muted); }
.rank-dl { font-size: 10.5px; color: var(--o-deep); font-weight: 700; flex: none; }
.rank-list li:hover .rank-txt b { color: var(--o-deep); }
.side-desc { font-size: 12px; color: var(--muted); line-height: 1.7; margin: -6px 0 16px; }
.roadmap-steps { position: relative; padding-left: 4px; }
.roadmap-steps::before { content: ""; position: absolute; left: 14px; top: 14px; bottom: 16px; width: 1.5px; background: #f2e7dd; }
.rm-step { position: relative; display: flex; align-items: center; gap: 11px; width: 100%; padding: 7px 4px; text-align: left; border-radius: 9px; transition: .18s; }
.rm-step:hover { background: var(--o-pale); }
.rm-dot {
  width: 22px; height: 22px; flex: none; border-radius: 50%; z-index: 1;
  background: #fff; border: 1.5px solid #ffcda8; color: var(--o);
  display: grid; place-items: center; font-size: 10px; font-weight: 800;
}
.rm-step:hover .rm-dot { background: var(--o); border-color: var(--o); color: #fff; }
.rm-txt { flex: 1; min-width: 0; }
.rm-txt b { display: block; font-size: 12.5px; font-weight: 650; color: var(--ink-2); }
.rm-txt small { display: block; font-size: 10.5px; color: var(--muted); }
.rm-arrow { width: 14px; height: 14px; color: #c8bfb7; }
.submit-card { position: relative; overflow: hidden; background: #231e1a; border-color: #231e1a; color: #fff; }
.submit-glow { position: absolute; width: 200px; height: 200px; right: -70px; top: -90px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 106, 19, .55), transparent 68%); }
.submit-tag { position: relative; font-size: 10px; font-weight: 700; letter-spacing: .1em; color: #ffb477; }
.submit-card h3 { position: relative; font-size: 19px; font-weight: 750; margin: 8px 0 8px; }
.submit-card p { position: relative; font-size: 12px; color: rgba(255,255,255,.62); line-height: 1.75; margin-bottom: 18px; }

/* ============================================================
   教程区
   ============================================================ */
.guide-section { background: #211c18; padding: 66px 0 76px; position: relative; overflow: hidden; }
.guide-section::before { content: ""; position: absolute; width: 500px; height: 500px; left: -180px; bottom: -300px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 106, 19, .18), transparent 70%); }
.guide-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; position: relative; }
.guide-card {
  border-radius: 16px; overflow: hidden; cursor: pointer; background: #2c2621;
  border: 1px solid rgba(255, 255, 255, .07); transition: transform .22s, box-shadow .22s, border-color .22s;
}
.guide-card:hover { transform: translateY(-6px); border-color: rgba(255, 154, 77, .55); box-shadow: 0 22px 44px rgba(0,0,0,.32); }
.guide-cover { height: 126px; position: relative; padding: 16px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; background: linear-gradient(140deg, var(--a), var(--b)); }
.guide-cover::after { content: ""; position: absolute; width: 150px; height: 150px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.24); right: -46px; top: -52px; }
.guide-cover::before { content: ""; position: absolute; width: 96px; height: 96px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.16); right: -18px; top: -20px; }
.guide-cover .cover-ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.2); color: #fff; }
.guide-cover .cover-ico .ico { width: 19px; height: 19px; }
.guide-cover .cover-no { font-size: 40px; font-weight: 820; line-height: 1; color: rgba(255,255,255,.9); letter-spacing: -.05em; }
.guide-lv { position: absolute; right: 14px; top: 16px; font-size: 10px; font-weight: 700; padding: 4px 9px; border-radius: 6px; background: rgba(255,255,255,.22); color: #fff; backdrop-filter: blur(4px); }
.guide-body { padding: 17px 17px 18px; }
.guide-meta { display: flex; align-items: center; gap: 12px; font-size: 11px; color: rgba(255,255,255,.5); margin-bottom: 9px; }
.guide-meta span { display: inline-flex; align-items: center; gap: 4px; }
.guide-meta .ico { width: 13px; height: 13px; }
.guide-body h3 { font-size: 15px; font-weight: 700; color: #fff; line-height: 1.5; min-height: 45px; }
.guide-body p { font-size: 12px; color: rgba(255,255,255,.55); line-height: 1.7; margin-top: 8px; min-height: 40px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.guide-more { display: flex; align-items: center; justify-content: space-between; margin-top: 15px; padding-top: 13px; border-top: 1px solid rgba(255,255,255,.08); font-size: 12px; font-weight: 650; color: #ffab70; }
.guide-more .ico { width: 15px; height: 15px; transition: transform .2s; }
.guide-card:hover .guide-more .ico { transform: translateX(4px); }

/* ============================================================
   关于 & 页脚
   ============================================================ */
.about-section { padding: 64px 0; background: var(--bg); }
.about-inner { display: flex; align-items: center; gap: 26px; }
.about-mark { width: 60px; height: 60px; flex: none; border-radius: 17px; display: grid; place-items: center; background: var(--o-soft); color: var(--o); }
.about-mark .ico { width: 29px; height: 29px; }
.about-copy { flex: 1; }
.about-copy h2 { font-size: 23px; font-weight: 760; letter-spacing: -.025em; margin-bottom: 8px; }
.about-copy p { font-size: 13.5px; color: var(--muted); line-height: 1.8; max-width: 720px; }
.site-footer { background: #fff; border-top: 1px solid var(--line); padding: 44px 0 0; padding-bottom: env(safe-area-inset-bottom, 0px); }
.footer-inner { display: flex; justify-content: space-between; gap: 40px; padding-bottom: 38px; }
.footer-brand p { font-size: 12.5px; color: var(--muted); margin-top: 14px; max-width: 250px; line-height: 1.7; }
.footer-links { display: flex; gap: 64px; }
.footer-links > div { display: flex; flex-direction: column; gap: 9px; }
.footer-links h4 { font-size: 12.5px; font-weight: 730; margin-bottom: 3px; }
.footer-links a { font-size: 12.5px; color: var(--muted); transition: .18s; }
.footer-links a:hover { color: var(--o); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 18px 0 22px; border-top: 1px solid var(--line); font-size: 11.5px; color: #a09890; }

/* ============================================================
   弹窗
   ============================================================ */
.modal-root { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 22px; }
.modal-mask { position: absolute; inset: 0; background: rgba(30, 22, 16, .56); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: fadeIn .2s both; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal-panel {
  position: relative; width: min(760px, 100%); max-height: min(88vh, 900px); overflow-y: auto;
  background: #fff; border-radius: 24px; box-shadow: var(--shadow-lg);
  animation: modalIn .28s cubic-bezier(.2,.9,.3,1) both;
}
@keyframes modalIn { from { opacity: 0; transform: translateY(22px) scale(.97); } to { opacity: 1; transform: none; } }
.modal-panel::-webkit-scrollbar { width: 8px; }
.modal-panel::-webkit-scrollbar-thumb { background: #e3dcd4; border-radius: 8px; }
.modal-close { position: absolute; top: 18px; right: 18px; z-index: 4; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.9); color: var(--ink-2); box-shadow: 0 2px 10px rgba(0,0,0,.1); }
.modal-close:hover { background: var(--o-soft); color: var(--o-deep); }
.modal-close .ico { width: 17px; height: 17px; }

.dt-hero { padding: 30px 32px 26px; background: linear-gradient(120deg, var(--o-pale), #fff 72%); border-bottom: 1px solid var(--line); display: flex; gap: 20px; align-items: flex-start; }
.dt-icon { width: 76px; height: 76px; flex: none; border-radius: 20px; display: grid; place-items: center; color: #fff; font-size: 24px; font-weight: 800; letter-spacing: -.04em; background: linear-gradient(140deg, var(--a), var(--b)); box-shadow: inset 0 1px 0 rgba(255,255,255,.4), 0 10px 24px rgba(40,25,12,.16); }
.dt-head { flex: 1; min-width: 0; padding-top: 2px; }
.dt-head .dt-cat { font-size: 11px; font-weight: 700; color: var(--o-deep); letter-spacing: .04em; }
.dt-head h2 { font-size: 25px; font-weight: 780; letter-spacing: -.03em; margin: 4px 0 3px; }
.dt-head .dt-dev { font-size: 12.5px; color: var(--muted); }
.dt-rate { display: flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 12px; color: var(--muted); }
.dt-rate .star { width: 15px; height: 15px; fill: #ffab2e; stroke: #ffab2e; stroke-width: 1; }
.dt-rate b { color: var(--ink); font-size: 14px; }
.dt-actions { display: flex; gap: 9px; margin-top: 16px; flex-wrap: wrap; }
.dt-actions .btn { height: 40px; padding: 0 17px; font-size: 13px; }
.dt-actions .btn-outline { border: 1px solid var(--line); background: #fff; color: var(--ink-2); }
.dt-actions .btn-outline:hover { border-color: var(--o-light); color: var(--o-deep); }
.dt-body { padding: 26px 32px 34px; }
.dt-specs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.dt-specs div { background: #faf8f6; border-radius: 11px; padding: 11px 13px; }
.dt-specs small { display: block; font-size: 10.5px; color: var(--muted); }
.dt-specs b { display: block; font-size: 13px; font-weight: 700; margin-top: 3px; }
.dt-block { margin-top: 26px; }
.dt-block h3 { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 730; margin-bottom: 11px; }
.dt-block h3 .ico { width: 18px; height: 18px; color: var(--o); }
.dt-block p { font-size: 13.5px; color: var(--ink-2); line-height: 1.85; }
/* 应用介绍图片画廊 */
.dt-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 11px; margin-top: 15px; }
.dt-shot { margin: 0; border-radius: 12px; overflow: hidden; background: var(--bg-2); border: 1px solid var(--line); }
.dt-shot-img { display: block; width: 100%; height: 128px; object-fit: cover; cursor: zoom-in; transition: transform .35s ease; }
.dt-shot:hover .dt-shot-img { transform: scale(1.04); }
.dt-shot figcaption { padding: 8px 10px; font-size: 11.5px; line-height: 1.4; color: var(--muted); }
/* 图片放大查看 */
.lb-wrap { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lb-back { align-self: flex-start; }
.lb-img { display: block; max-width: 100%; max-height: 72vh; width: auto; height: auto; border-radius: 12px; object-fit: contain; box-shadow: 0 18px 50px rgba(0,0,0,.35); }
.lb-cap { margin: 0; font-size: 13px; color: var(--ink-2); text-align: center; }
.dt-tags { display: flex; gap: 7px; flex-wrap: wrap; margin-top: 12px; }
.dt-steps { counter-reset: st; }
.dt-step { position: relative; display: flex; gap: 14px; padding: 11px 0; }
.dt-step::before {
  counter-increment: st; content: counter(st);
  width: 25px; height: 25px; flex: none; border-radius: 8px;
  background: var(--o-soft); color: var(--o-deep); font-size: 12px; font-weight: 800;
  display: grid; place-items: center;
}
.dt-step b { display: block; font-size: 13.5px; font-weight: 700; margin-bottom: 2px; }
.dt-step span { font-size: 12.8px; color: var(--ink-2); line-height: 1.75; }
.dt-tip { display: flex; gap: 11px; padding: 14px 16px; border-radius: 12px; background: #fff8ed; border: 1px solid #ffe6c2; margin-top: 22px; }
.dt-tip .ico { width: 19px; height: 19px; color: #e08a00; flex: none; margin-top: 2px; }
.dt-tip b { display: block; font-size: 12.5px; color: #9a5c00; margin-bottom: 3px; }
.dt-tip p { font-size: 12.5px; color: #8a6323; line-height: 1.7; }
.dt-note { font-size: 11.5px; color: var(--muted); line-height: 1.7; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }

.gt-hero { padding: 34px 34px 28px; background: linear-gradient(135deg, var(--a), var(--b)); color: #fff; position: relative; overflow: hidden; }
.gt-hero::after { content: ""; position: absolute; width: 240px; height: 240px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.22); right: -60px; top: -110px; }
.gt-hero .gt-lv { display: inline-block; font-size: 10.5px; font-weight: 700; padding: 4px 10px; border-radius: 6px; background: rgba(255,255,255,.22); }
.gt-hero h2 { font-size: 25px; font-weight: 780; letter-spacing: -.025em; line-height: 1.4; margin: 14px 0 10px; max-width: 560px; }
.gt-hero p { font-size: 13.5px; color: rgba(255,255,255,.85); line-height: 1.8; max-width: 600px; }
.gt-meta { display: flex; gap: 18px; margin-top: 18px; font-size: 12px; color: rgba(255,255,255,.88); }
.gt-meta span { display: inline-flex; align-items: center; gap: 6px; }
.gt-meta .ico { width: 15px; height: 15px; }
.gt-body { padding: 28px 34px 34px; }
.gt-intro { font-size: 13.5px; color: var(--ink-2); line-height: 1.85; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.gt-related { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 20px; }
.gt-related span { font-size: 11.5px; font-weight: 650; color: var(--o-deep); background: var(--o-soft); padding: 5px 10px; border-radius: 7px; }
.gt-related small { font-size: 11.5px; color: var(--muted); align-self: center; margin-right: 4px; }
.simple-hero { padding: 34px 32px 26px; background: linear-gradient(120deg, var(--o-pale), #fff); border-bottom: 1px solid var(--line); }
.simple-hero h2 { font-size: 24px; font-weight: 780; letter-spacing: -.025em; }
.simple-hero p { font-size: 13.5px; color: var(--ink-2); margin-top: 8px; line-height: 1.8; }

.toast {
  position: fixed; left: 50%; bottom: 34px; z-index: 200; transform: translate(-50%, 24px);
  background: #2a231d; color: #fff; padding: 11px 20px; border-radius: 11px;
  font-size: 13px; font-weight: 600; box-shadow: var(--shadow-md);
  opacity: 0; pointer-events: none; transition: .25s ease;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

body.modal-open { overflow: hidden; }
/* iOS 用固定定位锁滚动，比单纯 overflow:hidden 更可靠（配合 app.js 记录 scrollY） */
@media (max-width: 900px) {
  body.modal-open { position: fixed; left: 0; right: 0; width: 100%; }
}

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1180px) {
  .app-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .search-box { width: 210px; }
  .main-nav { gap: 0; margin-left: 4px; }
  .nav-link { padding: 8px 9px; font-size: 13px; }
}
@media (max-width: 1020px) {
  .layout { grid-template-columns: minmax(0, 1fr); }
  .side-col { position: static; display: grid; grid-template-columns: repeat(3, 1fr); align-items: start; }
  .hero-inner { grid-template-columns: 1fr .82fr; }
  .mock-window { width: 350px; right: -10px; }
  .hero-visual { height: 360px; }
}
@media (max-width: 900px) {
  .main-nav { display: none; }
  .menu-btn { display: grid; }
  .header-inner { flex-wrap: wrap; height: auto; padding: 12px 0; gap: 10px; }
  .header-actions { display: contents; }
  .search-box { order: 5; flex: 1 0 100%; width: 100%; margin-top: 4px; }
  .fav-btn, .menu-btn { order: 2; }
  .fav-btn { margin-left: auto; }
  .mobile-nav { display: grid; gap: 2px; padding: 6px 0 12px; border-top: 1px solid var(--line); }
  .mobile-nav a { padding: 9px 4px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
  .mobile-nav a:hover { color: var(--o); }
  .hero-inner { grid-template-columns: 1fr; padding: 54px 0 76px; }
  .hero-visual { display: none; }
  .hero-copy h1 { font-size: clamp(32px, 7vw, 46px); }
  .footer-links { gap: 32px; }
}
@media (max-width: 620px) {
  .container { width: min(100% - 32px, 1240px); }
  .app-grid { grid-template-columns: minmax(0, 1fr); }
  .guide-grid { grid-template-columns: 1fr; }
  .side-col { grid-template-columns: 1fr; }
  .hero-stats { gap: 13px; }
  .hero-stats strong { font-size: 17px; }
  .hero-stats span { font-size: 10px; }
  .section-title-row h2 { font-size: 23px; }
  .list-toolbar { flex-direction: column; align-items: flex-start; }
  .footer-inner { flex-direction: column; gap: 28px; }
  .footer-links { justify-content: space-between; gap: 14px; }
  .about-inner { flex-direction: column; align-items: flex-start; }
  .dt-hero { padding: 26px 20px 22px; gap: 14px; }
  .dt-icon { width: 62px; height: 62px; font-size: 19px; border-radius: 16px; }
  .dt-head h2 { font-size: 21px; }
  .dt-body, .gt-body { padding: 22px 20px 28px; }
  .gt-hero { padding: 28px 22px; }
  .gt-hero h2 { font-size: 21px; }
  .dt-specs { grid-template-columns: repeat(2, 1fr); }
  .modal-root { padding: 10px; }
}

/* ============================================================
   ENHANCEMENTS · 让界面更生动
   ============================================================ */

/* 顶部阅读进度 */
.scroll-progress {
  position: fixed; top: 0; left: 0; width: 100%; height: 3px; z-index: 95;
  transform: scaleX(0); transform-origin: 0 50%; pointer-events: none;
  background: linear-gradient(90deg, #ffb067, var(--o) 55%, #e93b62);
  box-shadow: 0 0 12px rgba(255, 106, 19, .65); will-change: transform;
}
.site-header.is-scrolled { box-shadow: 0 8px 26px rgba(38, 25, 12, .085); border-bottom-color: rgba(255, 106, 19, .14); }

/* 回到顶部 */
.back-top {
  position: fixed; right: 26px; bottom: 26px; z-index: 55;
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  background: var(--o); color: #fff; box-shadow: 0 12px 28px rgba(255, 106, 19, .36);
  opacity: 0; visibility: hidden; transform: translateY(14px) scale(.9);
  transition: opacity .28s, visibility .28s, transform .28s cubic-bezier(.2,.9,.3,1), box-shadow .28s;
}
.back-top .ico { width: 20px; height: 20px; transform: rotate(-90deg); stroke-width: 2.2; }
.back-top.show { opacity: 1; visibility: visible; transform: none; }
.back-top:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(255, 106, 19, .48); }

/* Hero：光标柔光、闪烁星点 */
.hero-cursor-glow {
  position: absolute; z-index: 1; width: 460px; height: 460px; border-radius: 50%;
  left: 0; top: 0; opacity: 0; pointer-events: none; transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255, 235, 195, .32), rgba(255, 190, 120, .13) 45%, transparent 70%);
  transition: opacity .45s;
}
.hero.is-pointing .hero-cursor-glow { opacity: 1; }
.hero-spark {
  position: absolute; z-index: 2; width: 7px; height: 7px; border-radius: 50%;
  background: rgba(255, 255, 255, .85); box-shadow: 0 0 12px 3px rgba(255, 255, 255, .45);
  pointer-events: none; animation: twinkle 3.4s ease-in-out infinite;
}
.hero-spark.sp1 { left: 47%; top: 20%; }
.hero-spark.sp2 { left: 62%; top: 74%; width: 5px; height: 5px; animation-delay: 1.1s; }
.hero-spark.sp3 { left: 88%; top: 24%; width: 6px; height: 6px; animation-delay: 2.2s; }
@keyframes twinkle { 0%, 100% { transform: scale(.5); opacity: .25; } 50% { transform: scale(1.25); opacity: 1; } }

/* Hero：背景缓慢流动 */
.hero-bg-grid { animation: gridDrift 36s linear infinite; }
@keyframes gridDrift { to { background-position: 46px 46px; } }
.glow-a { animation: breathe 9s ease-in-out infinite; }
.glow-b { animation: breathe 11s ease-in-out infinite reverse; }
@keyframes breathe { 0%, 100% { transform: scale(1); opacity: .8; } 50% { transform: scale(1.13); opacity: 1; } }

/* Hero：插画漂浮（关键帧保留各自原有旋转） */
.mock-window { animation: floatWin 6.5s ease-in-out infinite; }
@keyframes floatWin { 0%, 100% { transform: translateY(0) rotate(-2.2deg); } 50% { transform: translateY(-10px) rotate(-1.7deg); } }
.float-temp { animation: floatA 5.2s ease-in-out infinite; }
@keyframes floatA { 0%, 100% { transform: translateY(0) rotate(3deg); } 50% { transform: translateY(-8px) rotate(1.5deg); } }
.float-badge { animation: floatB 6s ease-in-out infinite .6s; }
@keyframes floatB { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-7px) rotate(-1deg); } }
.mock-progress i { animation: progressFill 1.6s cubic-bezier(.2,.9,.3,1) both .3s; }
@keyframes progressFill { from { width: 0; } to { width: 98%; } }

/* 编辑精选专题 */
.featured-section { padding: 30px 0 4px; }
.featured-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-bottom: 20px; }
.featured-head h2 { font-size: 27px; font-weight: 750; letter-spacing: -.025em; margin-top: 2px; }
.featured-head p { font-size: 14px; color: var(--muted); margin-top: 5px; }
.featured-live { display: inline-flex; align-items: center; gap: 7px; font-size: 11.5px; font-weight: 650; color: #19805c; background: #e9f7ef; padding: 6px 12px; border-radius: 99px; }
.featured-live i { width: 7px; height: 7px; border-radius: 50%; background: #16a576; animation: pulseDot 2s infinite; }
@keyframes pulseDot { 70% { box-shadow: 0 0 0 8px rgba(22, 165, 118, 0); } 100% { box-shadow: 0 0 0 0 rgba(22, 165, 118, 0); } }
.featured-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.featured-card {
  position: relative; overflow: hidden; min-height: 170px; padding: 22px; border-radius: 18px;
  cursor: pointer; color: #fff; background: linear-gradient(135deg, var(--a), var(--b));
  box-shadow: 0 12px 28px rgba(40, 25, 12, .13);
  transform: perspective(760px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .2s ease, box-shadow .3s ease;
}
.featured-card:hover { transform: perspective(760px) translateY(-6px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); box-shadow: 0 22px 44px rgba(40, 25, 12, .24); }
.featured-card::before { content: ""; position: absolute; width: 210px; height: 210px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .22); right: -62px; top: -86px; transition: transform .6s; }
.featured-card:hover::before { transform: scale(1.18) rotate(18deg); }
.featured-card::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .22) 48%, transparent 66%); transform: translateX(-130%); transition: transform .75s ease; }
.featured-card:hover::after { transform: translateX(130%); }
.fc-top { display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 1; }
.fc-tag { font-size: 10.5px; font-weight: 700; letter-spacing: .05em; padding: 4px 10px; border-radius: 7px; background: rgba(255, 255, 255, .22); }
.fc-ico { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .2); transition: transform .35s; }
.fc-ico .ico { width: 21px; height: 21px; }
.featured-card:hover .fc-ico { transform: rotate(-12deg) scale(1.12); }
.fc-title { position: relative; z-index: 1; font-size: 18px; font-weight: 750; line-height: 1.45; margin-top: 16px; letter-spacing: -.01em; }
.fc-sub { position: relative; z-index: 1; font-size: 12px; color: rgba(255, 255, 255, .84); line-height: 1.7; margin-top: 5px; max-width: 300px; }
.fc-bottom { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; margin-top: 16px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .22); font-size: 11.5px; font-weight: 650; }
.fc-bottom > span:last-child { display: inline-flex; align-items: center; gap: 6px; }
.fc-bottom .ico { width: 16px; height: 16px; transition: transform .25s; }
.featured-card:hover .fc-bottom .ico { transform: translateX(5px); }
.fc-stat { opacity: .85; }

/* 应用卡片：光泽、图标、标签 */
.app-card { overflow: hidden; }
.app-card::after { content: ""; position: absolute; top: -40%; left: -70%; width: 45%; height: 180%; opacity: 0; pointer-events: none; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .5), transparent); transform: rotate(18deg); transition: left .65s ease, opacity .2s; }
.app-card:hover::after { left: 130%; opacity: 1; }
.app-icon { transition: transform .3s cubic-bezier(.2,.9,.3,1), box-shadow .3s; }
.app-card:hover .app-icon { transform: translateY(-3px) rotate(-5deg) scale(1.06); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 14px 24px rgba(40, 25, 12, .22); }
.app-card:hover .star { animation: starPop .55s ease; }
@keyframes starPop { 40% { transform: scale(1.35) rotate(18deg); } }
.mini-btn .ico { transition: transform .25s; }
.app-card:hover .mini-btn:first-child .ico { transform: translateX(-2px); }
.app-card:hover .mini-btn.solid { background: var(--o); color: #fff; }
.tag { transition: transform .2s, background .2s; }
.app-card:hover .tag.orange { transform: translateY(-2px); background: #ffe0c6; }

/* 分类 & 榜单 */
.cat-chip .ico { transition: transform .25s; }
.cat-chip:hover .ico { transform: scale(1.18) rotate(-8deg); }
.cat-chip.is-active { animation: chipActive .4s cubic-bezier(.2,.9,.3,1); }
@keyframes chipActive { 0% { transform: scale(.94); } 55% { transform: scale(1.05); } 100% { transform: scale(1); } }
.rank-list li:nth-child(-n+3) .rank-num { width: 22px; height: 22px; line-height: 22px; border-radius: 7px; color: #fff; background: linear-gradient(140deg, #ffb067, #f0520a); box-shadow: 0 4px 10px rgba(255, 106, 19, .3); }
.rank-list li:nth-child(2) .rank-num { background: linear-gradient(140deg, #b9c3d0, #7a8798); }
.rank-list li:nth-child(3) .rank-num { background: linear-gradient(140deg, #e4ae82, #b87a4e); }
.rank-ico { transition: transform .25s; }
.rank-list li:hover .rank-ico { transform: scale(1.12) rotate(-6deg); }
.rm-dot { transition: transform .25s, background .25s, color .25s; }
.rm-step:hover .rm-dot { transform: scale(1.14); }

/* 教程封面 */
.guide-cover::after { animation: coverRing 9s ease-in-out infinite alternate; }
@keyframes coverRing { to { transform: translate(-14px, 12px) scale(1.14); } }
.guide-cover .cover-ico { transition: transform .35s; }
.guide-card:hover .cover-ico { transform: rotate(-12deg) scale(1.1); }
.guide-card:hover .cover-no { animation: noPop .5s ease; }
@keyframes noPop { 45% { transform: translateY(-5px) scale(1.06); } }

/* 弹窗细节 */
.dt-step { border-radius: 10px; padding-left: 6px; transition: background .2s, transform .2s; }
.dt-step:hover { background: var(--o-pale); transform: translateX(3px); }
.dt-specs div { transition: transform .25s, box-shadow .25s; }
.dt-specs div:hover { transform: translateY(-3px); box-shadow: 0 8px 18px rgba(38, 25, 12, .08); }

/* 主按钮流光 */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(100deg, transparent 35%, rgba(255, 255, 255, .28) 50%, transparent 65%); transform: translateX(-120%); transition: transform .7s; }
.btn-primary:hover::after { transform: translateX(120%); }

/* 收藏 & 空状态 */
.heart-btn.is-on .ico { filter: drop-shadow(0 2px 5px rgba(255, 106, 19, .5)); }
.badge { animation: badgeIn .4s cubic-bezier(.2,1.6,.4,1); }
@keyframes badgeIn { from { transform: scale(0); } to { transform: scale(1); } }
.empty-ico { animation: emptyBob 4s ease-in-out infinite; }
@keyframes emptyBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
.toast { display: flex; align-items: center; gap: 8px; }
.toast .ico { width: 16px; height: 16px; color: #7ee0b0; stroke-width: 2.4; }

/* 滚动入场：用独立的 translate 属性，避免覆盖 hover 的 transform */
[data-reveal].reveal-pending, .side-card.reveal-pending, .guide-card.reveal-pending, .featured-card.reveal-pending { opacity: 0; translate: 0 22px; }
[data-reveal].is-in, .side-card.is-in, .guide-card.is-in, .featured-card.is-in { opacity: 1; translate: 0 0; transition: opacity .6s ease, translate .6s cubic-bezier(.2,.9,.3,1); }

@media (max-width: 1020px) { .featured-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { html { scroll-padding-top: calc(124px + env(safe-area-inset-top, 0px)); } }
@media (max-width: 620px) {
  .featured-grid { grid-template-columns: 1fr; }
  .featured-card { min-height: 152px; }
  .back-top { right: 16px; bottom: 16px; }
  .hero-cursor-glow, .hero-spark { display: none; }
  .featured-head h2, .section-title-row h2 { font-size: 23px; }
}

/* 尊重系统「减少动态效果」设置 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  [data-reveal].reveal-pending, .side-card.reveal-pending, .guide-card.reveal-pending, .featured-card.reveal-pending { opacity: 1; translate: none; }
}

/* ---------- 后台上传的自定义图标 ---------- */
.app-ic { position: relative; overflow: hidden; }
.app-ic .ic-txt { position: relative; z-index: 1; line-height: 1; }
.app-ic .ic-img {
  position: absolute; inset: 0; z-index: 2; display: block;
  width: 100%; height: 100%; object-fit: cover; border-radius: inherit;
}
.app-ic.fit-contain .ic-img { object-fit: contain; padding: 5px; background: linear-gradient(140deg, var(--a), var(--b)); }
.app-ic.has-logo .ic-txt { visibility: hidden; }
.brand-mark { overflow: hidden; border-radius: 11px; }
.brand-logo-img { width: 100%; height: 100%; display: block; object-fit: cover; }

/* ---------- 下载：入口、来源列表与提示 ---------- */
.toast.is-error .ico { color: #ffb08c; }
.mini-btn.solid .ico { width: 14px; height: 14px; }

.dl-hero { display: flex; gap: 18px; align-items: flex-start; padding: 30px 32px 26px; background: linear-gradient(120deg, var(--o-pale), #fff 72%); border-bottom: 1px solid var(--line); }
.dl-hero .dt-icon { flex: none; }
.dl-head { min-width: 0; }
.dl-head h2 { font-size: 22px; font-weight: 780; letter-spacing: -.025em; margin: 4px 0 7px; }
.dl-head p { font-size: 13px; color: var(--ink-2); line-height: 1.8; }
.dl-body { padding: 24px 32px 32px; }
.dl-main {
  width: 100%; height: 50px; border-radius: 12px; display: flex; align-items: center; justify-content: center; gap: 9px;
  background: var(--o); color: #fff; font-size: 15px; font-weight: 720;
  box-shadow: 0 10px 24px rgba(255, 106, 19, .28); transition: .2s;
}
.dl-main:hover { background: var(--o-deep); transform: translateY(-2px); box-shadow: 0 14px 28px rgba(255, 106, 19, .34); }
.dl-main .ico { width: 19px; height: 19px; }
.dl-main .ico:last-child { width: 16px; height: 16px; opacity: .8; }
.dl-specs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.dl-specs div { background: #faf8f6; border-radius: 11px; padding: 10px 12px; min-width: 0; }
.dl-specs small { display: block; font-size: 10.5px; color: var(--muted); }
.dl-specs b { display: block; font-size: 12.5px; font-weight: 700; margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dl-list { margin-top: 24px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; }
.dl-list-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; background: #faf8f6; border-bottom: 1px solid var(--line); font-size: 12.5px; }
.dl-list-head b { font-weight: 700; }
.dl-list-head span { color: var(--muted); font-size: 11px; }
.dl-row { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 16px; text-align: left; border-bottom: 1px solid #f5f1ec; transition: .18s; }
.dl-row:last-child { border-bottom: 0; }
.dl-row:hover { background: var(--o-pale); }
.dl-row-ico { width: 34px; height: 34px; flex: none; border-radius: 10px; display: grid; place-items: center; background: var(--o-soft); color: var(--o-deep); }
.dl-row-ico .ico { width: 17px; height: 17px; }
.dl-row-txt { min-width: 0; flex: 1; }
.dl-row-txt b { display: block; font-size: 13px; font-weight: 700; }
.dl-row-txt small { display: block; font-size: 11px; color: var(--muted); margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dl-row-tag { flex: none; font-size: 10.5px; font-weight: 650; color: var(--ink-2); background: #f6f3f0; padding: 4px 9px; border-radius: 6px; }
.dl-row-tag.direct { color: #0d8a63; background: #e6f7ef; }
.dl-empty { padding: 22px 16px; font-size: 13px; color: var(--muted); line-height: 1.8; }
.dl-tip { display: flex; gap: 11px; margin-top: 18px; padding: 14px 16px; border-radius: 12px; background: #fff8f1; border: 1px solid #ffe3c9; }
.dl-tip > .ico { width: 19px; height: 19px; flex: none; color: var(--o); }
.dl-tip b { font-size: 12.5px; }
.dl-tip p { font-size: 12px; color: var(--ink-2); line-height: 1.75; margin-top: 3px; }
.dl-back { margin-top: 16px; display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 650; color: var(--o-deep); }
.dl-back:hover { text-decoration: underline; }
.dl-back .ico { width: 15px; height: 15px; }

@media (max-width: 620px) {
  .dl-hero { padding: 24px 20px 20px; gap: 14px; }
  .dl-head h2 { font-size: 19px; }
  .dl-body { padding: 20px 20px 28px; }
  .dl-specs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dl-row { gap: 9px; padding: 11px 12px; }
  .dl-row-tag { font-size: 10px; padding: 3px 6px; }
}

/* ============================================================
   视频教程（详情页内嵌播放器）
   ============================================================ */
.tag.video { display: inline-flex; align-items: center; gap: 4px; background: #fff0e4; color: #d9510a; }
.tag.video .ico { width: 11px; height: 11px; fill: currentColor; stroke: none; }

.dt-video h3 { margin-bottom: 12px; }
.vt-tag { font-size: 10.5px; font-weight: 700; padding: 3px 8px; border-radius: 6px; background: var(--o-soft); color: var(--o-deep); }
.vt-tabs { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.vt-tab {
  padding: 6px 13px; border-radius: 9px; font-size: 12px; font-weight: 680; font-family: inherit;
  background: #f7f3ef; color: var(--ink-2); border: 1px solid transparent; transition: .18s;
}
.vt-tab:hover { background: #fff1e5; color: var(--o-deep); }
.vt-tab.is-on { background: var(--o); color: #fff; box-shadow: 0 6px 14px rgba(255, 106, 19, .25); }
.vt-tabs-hint { font-size: 11.5px; color: #a89e95; }

.vt-frame {
  position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden;
  background: #17110c; border: 1px solid #efe7df;
  box-shadow: 0 14px 34px rgba(38, 25, 12, .1);
}
.vt-facade {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0; padding: 0; margin: 0;
  font: inherit; cursor: pointer; display: grid; place-items: center; color: #fff; text-align: left;
  background-image: linear-gradient(140deg, var(--a, #FF9A4D), var(--b, #F0520A));
  background-size: cover; background-position: center;
}
.vt-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.vt-facade::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(130% 95% at 50% 118%, rgba(0, 0, 0, .62), rgba(0, 0, 0, .1) 62%, transparent 78%);
}
.vt-facade::before {
  content: ""; position: absolute; inset: 0; opacity: .15; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .45) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .45) 1px, transparent 1px);
  background-size: 34px 34px;
  animation: vtGrid 22s linear infinite;
}
@keyframes vtGrid { to { background-position: 34px 34px, 34px 34px; } }
.vt-play {
  position: relative; z-index: 2; width: 68px; height: 68px; border-radius: 50%;
  display: grid; place-items: center; color: var(--o);
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 14px 32px rgba(60, 22, 0, .28);
  transition: transform .25s cubic-bezier(.2, 1.4, .4, 1), box-shadow .25s;
}
.vt-play .ico { width: 27px; height: 27px; fill: currentColor; stroke: none; margin-left: 2px; }
.vt-facade:hover .vt-play { transform: scale(1.09); box-shadow: 0 18px 40px rgba(60, 22, 0, .34); }
.vt-cap { position: absolute; left: 20px; right: 20px; bottom: 16px; z-index: 2; }
.vt-cap b { display: block; font-size: 14.5px; font-weight: 730; text-shadow: 0 2px 10px rgba(0, 0, 0, .4); }
.vt-cap small { display: block; margin-top: 3px; font-size: 11.5px; color: rgba(255, 255, 255, .82); }
.vt-iframe, .vt-video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.vt-video { background: #000; object-fit: contain; }
.vt-err { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; background: rgba(0, 0, 0, .74); color: #fff; font-size: 12px; padding: 10px 14px; }
.vt-err a { color: #ffb37a; text-decoration: underline; }
.vt-fallback {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; padding: 24px; text-align: center; color: #fff;
  background: linear-gradient(140deg, #2a1c12, #17110c);
}
.vt-fallback p { color: #fff; font-size: 13px; }
.vt-note { display: flex; gap: 7px; align-items: flex-start; margin-top: 10px; font-size: 11.5px; color: #a89e95; line-height: 1.65; }
.vt-note .ico { width: 14px; height: 14px; flex: none; margin-top: 2px; stroke-width: 2; }

@media (max-width: 560px) {
  .vt-play { width: 56px; height: 56px; }
  .vt-play .ico { width: 23px; height: 23px; }
  .vt-cap { left: 14px; right: 14px; bottom: 12px; }
  .vt-cap b { font-size: 13px; }
  .vt-frame { border-radius: 12px; }
}

/* ============================================================
   移动端适配（Mobile / Touch）
   —— 断点约定 ——
   1180  桌面窄屏：应用卡 3 → 2 列
   1024  平板横屏：主栏与侧栏上下堆叠
    900  导航折叠：汉堡菜单 + 搜索独占一行，Hero 单列
    768  平板竖屏：分类横滑、弹窗改为底部抽屉
    640  手机：单列卡片、精选横滑、容器留白 16px
    420  小屏手机：按钮撑满、标题与图标缩小
    360  超窄屏：进一步压缩间距
   另有 (hover:none) 触控规则、(orientation:landscape) 矮屏补丁
   ============================================================ */

/* ---------- 1. 触控设备：取消 hover 位移，改为按压反馈 ---------- */
@media (hover: none) {
  .btn:hover, .cat-chip:hover, .app-card:hover, .featured-card:hover,
  .guide-card:hover, .featured-card:hover::before, .dt-specs div:hover { transform: none; }
  .app-card:hover { box-shadow: var(--shadow-sm); border-color: var(--line); }
  .app-card:hover .app-icon { transform: none; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .38), 0 7px 16px rgba(40, 25, 12, .14); }
  /* 光泽扫过、3D 倾斜等效果只在鼠标设备上有意义 */
  .app-card::after, .featured-card::after { display: none; }
  .app-card:active { transform: scale(.988); }
  .featured-card:active, .guide-card:active { transform: scale(.99); }
  .btn:active { transform: scale(.97); }
  .cat-chip:active { transform: scale(.96); }
  .mini-btn:active { background: var(--o-soft); color: var(--o-deep); }
  .heart-btn:active { background: var(--o-soft); }
  /* 触控目标不小于 40–44px */
  .icon-btn { width: 44px; height: 44px; }
  .heart-btn { width: 40px; height: 40px; }
  .heart-btn .ico { width: 19px; height: 19px; }
  .mini-btn { height: 40px; }
  .filter-pill, .sort-box { height: 42px; }
  .dt-actions .btn, .dl-main { height: 48px; }
  .nav-link { min-height: 40px; display: inline-flex; align-items: center; }
  /* 触屏阅读：最小字号 ≥11px */
  .tag { font-size: 11px; }
  .rank-txt small, .rank-dl { font-size: 11px; }
  .app-desc { font-size: 13px; }
  /* 触屏（含手机横屏）输入控件 ≥16px，iOS 聚焦不放大页面 */
  .search-box input, .sort-box select { font-size: 16px; }
}
.sheet-grab { display: none; }

/* ---------- 2. ≤1024 平板横屏 ---------- */
@media (max-width: 1024px) {
  .container { width: min(100% - 40px, 1240px); }
  .content-section { padding: 28px 0 64px; }
  .layout { grid-template-columns: minmax(0, 1fr); }
  .side-col { position: static; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; }
  .hero-inner { padding: 52px 0 72px; }
  .modal-panel { max-height: 90dvh; }
}

/* ---------- 3. ≤900 导航折叠 + Hero 单列 ---------- */
@media (max-width: 900px) {
  .header-inner { padding: 10px 0 8px; gap: 8px 10px; }
  .brand { gap: 9px; }
  .brand-mark { width: 36px; height: 36px; }
  .brand-text strong { font-size: 17px; }
  .brand-text small { font-size: 10px; }
  .search-box { height: 44px; border-radius: 12px; }
  .search-box input { font-size: 16px; } /* ≥16px：iOS 聚焦时不会自动放大页面 */
  .search-box kbd { display: none; }
  .icon-btn { width: 42px; height: 42px; }
  .mobile-nav { animation: navIn .22s ease both; }
  .mobile-nav a { display: flex; align-items: center; min-height: 46px; padding: 0 6px; border-radius: 10px; }
  .mobile-nav a:active { background: var(--o-pale); color: var(--o-deep); }

  .hero-inner { grid-template-columns: 1fr; min-height: 0; padding: 40px 0 62px; }
  .hero-visual { display: none; }
  .hero-copy h1 { font-size: clamp(30px, 6.6vw, 44px); margin: 16px 0 14px; }
  .hero-sub { font-size: 15px; line-height: 1.8; }
  .hero-actions { margin-top: 24px; }
  .hero-stats { margin-top: 30px; }
  .hero-spark, .hero-cursor-glow { display: none; }
  .hero-wave { height: 32px; }

  .side-col { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .submit-card { grid-column: 1 / -1; }
  .guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guide-section { padding: 54px 0 62px; }
  .about-section { padding: 48px 0; }
}
@keyframes navIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- 4. ≤768 分类横滑 + 弹窗抽屉 ---------- */
@media (max-width: 768px) {
  html { scroll-padding-top: calc(118px + env(safe-area-inset-top, 0px)); }

  /* 分类条：横向滑动，边缘出血，隐藏滚动条 */
  .cat-strip {
    flex-wrap: nowrap; overflow-x: auto; overflow-y: hidden;
    margin-inline: -20px; padding: 4px 20px 10px;
    scroll-snap-type: x proximity; scroll-padding-inline: 20px;
    overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .cat-strip::-webkit-scrollbar { display: none; }
  .cat-chip { flex: none; scroll-snap-align: start; height: 44px; }
  /* 平板上也保证正文可读性 */
  .tag { font-size: 11px; }
  .rank-txt small, .rank-dl { font-size: 11px; }
  .rm-txt small, .side-desc { font-size: 11.5px; }

  .section-title-row { align-items: flex-start; }
  .section-title-row .text-link { margin-left: 0; }
  .dt-specs, .dl-specs { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  /* 弹窗 → 底部抽屉 */
  .modal-root { padding: 0; align-items: end; }
  .modal-panel {
    width: 100%; max-width: none; max-height: 92vh; max-height: 92dvh;
    border-radius: 22px 22px 0 0;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
    animation: sheetIn .34s cubic-bezier(.2, .9, .3, 1) backwards;
  }
  @keyframes sheetIn { from { opacity: .6; transform: translateY(100%); } to { opacity: 1; transform: none; } }
  .sheet-grab {
    display: block; position: absolute; left: 50%; top: 8px; z-index: 6;
    width: 44px; height: 5px; margin-left: -22px; border-radius: 3px;
    background: rgba(0, 0, 0, .16); pointer-events: none;
  }
  /* 关闭按钮随内容滚动固定在视口内，长内容也够得着 */
  .modal-close {
    position: sticky; top: 10px; z-index: 5;
    width: 40px; height: 40px; border-radius: 12px;
    margin: 10px 12px -40px auto;
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
    box-shadow: 0 3px 12px rgba(30, 20, 12, .16);
  }
  .modal-close .ico { width: 18px; height: 18px; }
  .dt-hero, .gt-hero, .dl-hero, .simple-hero { padding-right: 18px; }
  .dt-head { padding-right: 34px; }
  .modal-panel .dt-body, .modal-panel .gt-body, .modal-panel .dl-body, .modal-panel .simple-hero { padding-left: 18px; padding-right: 18px; }

  /* 视频：竖屏下保持 16:9，播放按钮可点区域放大 */
  .vt-frame { border-radius: 14px; }
  .vt-play { width: 60px; height: 60px; }
  .vt-tab { min-height: 38px; padding: 0 14px; }
  .vt-note { font-size: 12px; }
}

/* ---------- 5. ≤640 手机 ---------- */
@media (max-width: 640px) {
  html { scroll-padding-top: calc(112px + env(safe-area-inset-top, 0px)); }
  .container { width: min(100% - 32px, 1240px); }
  .header-inner { padding: 9px 0 7px; }

  .hero-inner { padding: 32px 0 50px; }
  .hero-copy h1 { font-size: clamp(28px, 8vw, 38px); line-height: 1.26; }
  .eyebrow { font-size: 10px; padding: 5px 11px; }
  .hero-sub { font-size: 14px; }
  .hero-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 18px; }
  .hero-stats > div { flex-direction: row; align-items: baseline; gap: 7px; }
  .hero-stats strong { font-size: 18px; }
  .hero-stats span { margin-top: 0; font-size: 11.5px; }
  .hero-stats i { display: none; }
  .hero-wave { height: 26px; }

  .cats-wrap { padding: 28px 0 2px; }
  .cat-strip { margin-inline: -16px; padding: 4px 16px 10px; scroll-padding-inline: 16px; }
  .section-title-row h2, .featured-head h2 { font-size: 22px; }
  .section-title-row p, .featured-head p { font-size: 13px; }
  .featured-section { padding: 22px 0 0; }

  /* 编辑精选：横向滑动卡片组 */
  .featured-grid {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(86%, 340px);
    gap: 12px; overflow-x: auto; overscroll-behavior-x: contain;
    margin-inline: -16px; padding: 4px 16px 14px; scroll-padding-inline: 16px;
    scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .featured-grid::-webkit-scrollbar { display: none; }
  .featured-card { scroll-snap-align: center; min-height: 152px; }

  .app-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .app-card { padding: 16px; }
  .app-icon { width: 50px; height: 50px; border-radius: 14px; font-size: 16px; }
  .app-name { font-size: 15px; }
  .app-desc { font-size: 13px; margin: 12px 0 11px; min-height: 0; }
  .app-bottom { margin-top: 14px; padding-top: 13px; gap: 7px; }
  .mini-btn { height: 42px; font-size: 12.5px; }
  .mini-btn.solid { padding: 0 18px; }
  .tag { font-size: 11px; }

  .list-toolbar { gap: 12px; }
  .toolbar-right { width: 100%; }
  .filter-pill { flex: 1; justify-content: center; }
  .sort-box { flex: none; }
  .sort-box select { font-size: 16px; } /* 避免 iOS 聚焦缩放 */

  .side-col { grid-template-columns: 1fr; }
  .submit-card { grid-column: auto; }
  .side-card { padding: 18px; }
  .rank-txt small, .rank-dl { font-size: 11px; }
  .rm-txt small, .side-desc { font-size: 11.5px; }

  .guide-grid { grid-template-columns: 1fr; gap: 12px; }
  .guide-cover { height: 108px; }
  .guide-body h3 { min-height: 0; }

  .about-mark { width: 52px; height: 52px; border-radius: 15px; }
  .about-copy h2 { font-size: 20px; }
  .about-copy p { font-size: 13px; }
  .footer-inner { padding-bottom: 28px; gap: 24px; }
  .footer-links { flex-wrap: wrap; gap: 22px 16px; }
  .footer-bottom { flex-direction: column; gap: 8px; font-size: 11px; }

  .back-top { width: 44px; height: 44px; right: 14px; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); }
  .toast { bottom: calc(18px + env(safe-area-inset-bottom, 0px)); max-width: calc(100% - 32px); font-size: 12.5px; }

  .dt-hero { padding: 24px 18px 20px; }
  .dt-body, .gt-body, .dl-body { padding: 20px 18px 26px; }
  .dt-head h2 { font-size: 21px; }
  .dt-block p, .gt-intro { font-size: 13.5px; }
  .dt-step span { font-size: 13px; }
  .dl-main { height: 52px; font-size: 15px; }
  .dl-row { min-height: 52px; }
  .modal-panel { max-height: 94dvh; }
}

/* ---------- 6. ≤420 小屏手机 ---------- */
@media (max-width: 420px) {
  .brand-text small { display: none; }
  .search-box { height: 42px; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero-actions .btn { width: 100%; height: 48px; }
  .hero-stats { gap: 10px 12px; }
  .hero-stats strong { font-size: 17px; }
  .hero-stats span { font-size: 11px; }
  .dt-icon { width: 56px; height: 56px; font-size: 18px; border-radius: 15px; }
  .dt-head h2 { font-size: 20px; }
  .dt-actions .btn { flex: 1 1 100%; }
  .dt-specs div { padding: 9px 11px; }
  .dl-row-tag { display: none; }
  .footer-links > div { width: calc(50% - 8px); }
  .modal-close { width: 38px; height: 38px; }
  .vt-tabs-hint { display: none; }
}

/* ---------- 7. ≤360 超窄屏 ---------- */
@media (max-width: 360px) {
  .container { width: calc(100% - 24px); }
  .cat-strip { margin-inline: -12px; padding-inline: 12px; scroll-padding-inline: 12px; }
  .featured-grid { margin-inline: -12px; padding-inline: 12px; scroll-padding-inline: 12px; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 8px 10px; }
  .hero-stats strong { font-size: 16px; }
  .dt-hero { padding: 22px 14px 18px; gap: 12px; }
  .dt-body, .gt-body, .dl-body { padding: 18px 14px 24px; }
}

/* ---------- 8. 横屏矮屏：抽屉改成居中弹窗，避免只剩一条缝 ---------- */
@media (orientation: landscape) and (max-height: 500px) {
  .modal-root { padding: 8px; align-items: center; }
  .modal-panel { border-radius: 16px; max-height: 96dvh; width: min(760px, 100%); }
  .sheet-grab { display: none; }
  .modal-close {
    position: sticky; top: 8px; width: 38px; height: 38px;
    margin: 8px 10px -38px auto;
  }
  .hero-inner { padding: 26px 0 34px; }
  .hero-stats { margin-top: 18px; }
}

/* ============================================================
   加载性能补丁
   —— 首屏之外的整段区域延后渲染（content-visibility），
      滚动到附近才布局绘制，减少初次渲染的长任务；
      移动端去掉顶栏毛玻璃，改为不透明背景，滚动更顺。
   ============================================================ */
.featured-section,
.guide-section,
.about-section,
.site-footer {
  content-visibility: auto;
  contain-intrinsic-size: auto 600px;
}
.guide-section { contain-intrinsic-size: auto 720px; }
.site-footer { contain-intrinsic-size: auto 320px; }

/* 首屏统计数字未就绪时不闪烁 */
.hero-stats strong[data-count] { font-variant-numeric: tabular-nums; }

/* 触屏 / 低性能设备：毛玻璃换成实色，明显降低滚动掉帧 */
@media (max-width: 900px), (hover: none) {
  .site-header {
    background: rgba(255, 255, 255, .97);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}
@media (prefers-reduced-transparency: reduce) {
  .site-header, .modal-mask, .guide-lv { backdrop-filter: none; -webkit-backdrop-filter: none; }
}

/* ============================================================
   仅会员可见的下载链接：卡片标记 / 列表提示 / 下载弹窗门禁
   ============================================================ */
.tag.lock { display: inline-flex; align-items: center; gap: 3px; background: #fff1e4; color: #b24e08; }
.tag.lock .ico { width: 11px; height: 11px; }
.mini-btn.solid.is-locked {
  background: #fff3e8; color: #b24e08; border: 1px dashed #ffbd85;
  box-shadow: none;
}
.mini-btn.solid.is-locked:hover { background: #ffe9d5; color: #943c00; }

.member-notice {
  display: flex; align-items: center; gap: 14px;
  margin: 0 0 18px; padding: 14px 18px;
  border: 1px solid #ffd8b6; border-radius: 14px;
  background: linear-gradient(100deg, #fff6ee, #fffdfb);
}
.mn-ico {
  width: 40px; height: 40px; flex: none; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--o-soft); color: var(--o-deep);
}
.mn-ico .ico { width: 20px; height: 20px; }
.mn-copy { flex: 1; min-width: 0; }
.mn-copy b { display: block; font-size: 14px; font-weight: 720; }
.mn-copy small { display: block; font-size: 12px; color: var(--ink-2); margin-top: 2px; line-height: 1.6; }
.member-notice .btn-sm { flex: none; height: 38px; }

.dl-gate {
  text-align: center; padding: 30px 22px 26px;
  border: 1px dashed #ffc79b; border-radius: 16px;
  background: linear-gradient(160deg, #fff8f1, #fff 82%);
}
.dl-gate-ico {
  width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 18px;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(140deg, #FF9A4D, #F0520A);
  box-shadow: 0 10px 22px rgba(255, 106, 19, .28);
}
.dl-gate-ico .ico { width: 26px; height: 26px; }
.dl-gate h3 { font-size: 18px; font-weight: 760; letter-spacing: -.02em; }
.dl-gate p { font-size: 13.5px; color: var(--ink-2); line-height: 1.8; max-width: 480px; margin: 8px auto 0; }
.dl-gate-btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin: 20px 0 12px; }
.dl-gate-btns .btn { height: 46px; min-width: 150px; }
.dl-gate-btns .btn-outline { border: 1px solid var(--line); background: #fff; color: var(--ink-2); }
.dl-gate-btns .btn-outline:hover { border-color: #ffc79b; color: var(--o-deep); background: var(--o-pale); }
.dl-gate small { display: block; font-size: 11.5px; color: var(--muted); line-height: 1.7; }

@media (max-width: 640px) {
  .member-notice { flex-wrap: wrap; padding: 12px 14px; gap: 10px; margin-bottom: 14px; }
  .mn-ico { width: 34px; height: 34px; border-radius: 10px; }
  .member-notice .btn-sm { width: 100%; }
  .dl-gate { padding: 24px 16px 20px; }
  .dl-gate h3 { font-size: 16.5px; }
  .dl-gate p { font-size: 13px; }
  .dl-gate-btns { flex-direction: column; margin: 18px 0 10px; }
  .dl-gate-btns .btn { width: 100%; min-width: 0; }
}

/* ============================================================
   首页最新文章
   ============================================================ */
.journal-section { padding: 70px 0 78px; background: linear-gradient(180deg, #fff, var(--bg)); }
.journal-link { color: var(--o-deep); }
.journal-link:hover { color: var(--o); }
.journal-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.journal-card {
  display: flex; flex-direction: column; min-width: 0; text-decoration: none; color: inherit;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.journal-card:hover { transform: translateY(-5px); border-color: #ffd7bb; box-shadow: var(--shadow-md); }
.jc-cover {
  position: relative; height: 168px; overflow: hidden; flex: none;
  background: linear-gradient(135deg, #ffd0ad, #ff7927 62%, #e45400);
  display: grid; place-items: center;
}
.jc-cover img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.journal-card:hover .jc-cover img { transform: scale(1.045); }
.jc-ph { font-size: 30px; font-weight: 800; letter-spacing: .16em; color: rgba(255,255,255,.9); }
.jc-type, .jc-pin {
  position: absolute; top: 12px; left: 12px; padding: 4px 9px; border-radius: 7px;
  background: rgba(255,255,255,.94); color: var(--o-deep); font-size: 11px; font-weight: 750;
}
.jc-pin { left: auto; right: 12px; background: rgba(27,25,23,.76); color: #fff; }
.jc-body { display: flex; flex-direction: column; flex: 1; padding: 17px 18px 18px; }
.jc-meta { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 11.5px; }
.jc-body h3 {
  margin: 9px 0 8px; font-size: 16.5px; line-height: 1.5; font-weight: 740;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.jc-body p {
  margin: 0; color: var(--ink-2); font-size: 12.5px; line-height: 1.8;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.jc-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 15px; }
.jc-tags span {
  padding: 3px 8px; border-radius: 6px; background: #f6f3ef; color: #716a63; font-size: 10.5px; font-weight: 650;
}
.jc-tags .jc-mark { background: var(--o-soft); color: var(--o-deep); }
.jc-tags .jc-mark.alt { background: #e9f6ef; color: #168055; }
.jc-tags .jc-mark.ext { background: #eaf0ff; color: #2c4bcb; }
.journal-empty { grid-column: 1 / -1; color: var(--muted); font-size: 14px; text-align: center; padding: 40px 0; }
@media (max-width: 1024px) {
  .journal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .journal-section { padding: 52px 0 58px; }
  .journal-grid { grid-template-columns: minmax(0, 1fr); }
  .jc-cover { height: 160px; }
  .journal-link { margin-left: 0; }
}

/* ---------- 全站搜索 · 响应式 ---------- */
@media (max-width: 900px) {
  .gs-hero { max-width: 540px; }
}
@media (max-width: 640px) {
  .gs-hero { max-width: none; margin-top: 20px; }
  .gs-form { height: 52px; padding: 0 7px 0 14px; gap: 8px; border-radius: 14px; }
  .gs-form input { font-size: 16px; }
  .gs-form input::placeholder { font-size: 13.5px; }
  .gs-kbd { display: none; }
  .gs-btn { height: 40px; padding: 0 15px; border-radius: 10px; font-size: 13.5px; }
  .gs-panel { border-radius: 14px; padding: 6px; }
  .gs-hot { padding: 9px 8px 10px; gap: 6px; }
  .gs-hot-link { display: none; }
  .gs-item { padding: 9px 8px; gap: 9px; }
  .gs-kind { width: 32px; height: 32px; }
  .gs-title { font-size: 13.5px; }
  .gs-type { display: none; }
  .gs-foot { padding: 8px 8px 6px; gap: 10px; }
  .gs-foot-brand { display: none; }
}
@media (max-width: 380px) {
  .gs-btn { padding: 0 12px; font-size: 13px; }
  .gs-form input::placeholder { font-size: 12.5px; }
}

/* ============================================================
   GINTOL · 新增模块：合作伙伴 / 侧栏售后 / 悬浮客服
   ============================================================ */

/* ---------- 合作伙伴：品牌 Logo 墙 + 简介卡片 ---------- */
.partners-section{padding:72px 0 78px;background:linear-gradient(180deg,#fff 0%,#fbfaf9 100%)}
.partners-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.partner-link{text-decoration:none;color:inherit;display:block}
.partner-card{position:relative;display:flex;align-items:center;gap:18px;height:100%;
  background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:22px;
  box-shadow:var(--shadow-sm);transition:transform .24s,box-shadow .24s,border-color .24s;overflow:hidden}
.partner-card::before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:var(--pc);opacity:.85}
.partner-link:hover .partner-card{transform:translateY(-5px);box-shadow:var(--shadow-md);border-color:color-mix(in srgb,var(--pc) 45%,var(--line))}
.partner-logo{flex:0 0 auto;width:74px;height:74px;border-radius:16px;display:grid;place-items:center;overflow:hidden;
  background:color-mix(in srgb,var(--pc) 10%,#fff);border:1px solid color-mix(in srgb,var(--pc) 20%,#fff)}
.partner-logo-img{width:100%;height:100%;object-fit:contain;padding:8px}
.partner-logo-txt{font-size:22px;font-weight:850;letter-spacing:-.5px;color:var(--pc)}
.partner-info{min-width:0;flex:1}
.partner-info h3{margin:0 0 6px;font-size:18px;font-weight:820;color:var(--ink);display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}
.partner-info h3 small{font-size:11px;font-weight:700;letter-spacing:1px;color:var(--muted);text-transform:uppercase}
.partner-info p{margin:0;font-size:13px;line-height:1.6;color:var(--muted)}
.partner-arrow{position:absolute;top:16px;right:16px;color:#c7bfb6;opacity:0;transition:opacity .24s,transform .24s}
.partner-link:hover .partner-arrow{opacity:1;transform:translate(2px,-2px);color:var(--pc)}
.partner-arrow .ico{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2}

/* ---------- 侧栏售后快捷卡 ---------- */
.side-card.service-card{border-color:#ffd9bd;background:linear-gradient(160deg,#fff8f1,#fff)}
.side-card.service-card .btn-block+.btn-block{margin-top:9px}
.service-quick{display:flex;flex-direction:column;gap:7px;margin:10px 0 14px}
.sq-item{display:inline-flex;align-items:center;gap:7px;font-size:12.5px;color:#8a5a32;background:#fff;
  border:1px solid #f0e2d4;border-radius:9px;padding:8px 11px;line-height:1.4;word-break:break-all}
.sq-item .ico{width:14px;height:14px;flex:0 0 auto;fill:none;stroke:#e45400;stroke-width:1.9}

/* ---------- 悬浮售后客服按钮 ---------- */
.service-fab,.sup-fab{position:fixed;right:20px;bottom:86px;z-index:60;display:flex;align-items:center;gap:7px;
  background:linear-gradient(135deg,var(--o-light),var(--o-deep));color:#fff;text-decoration:none;
  border-radius:999px;padding:12px 17px;box-shadow:0 10px 26px rgba(228,84,0,.38);
  font-size:14px;font-weight:750;transition:transform .2s,box-shadow .2s}
.service-fab:hover,.sup-fab:hover{transform:translateY(-3px);box-shadow:0 14px 32px rgba(228,84,0,.5)}
.service-fab .ico,.sup-fab svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.9}
.sup-fab{border:0;cursor:pointer;font-family:inherit}

@media(max-width:900px){.partners-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:640px){
  .partners-section{padding:56px 0 60px}
  .partners-grid{grid-template-columns:1fr;gap:12px}
  .partner-card{padding:18px;gap:14px}
  .partner-logo{width:60px;height:60px}
  .partner-logo-txt{font-size:18px}
  .partner-info h3{font-size:16px}
  .partner-info p{font-size:12.5px}
  .service-fab,.sup-fab{right:16px;bottom:78px;padding:11px 14px;font-size:13px}
}

/* ============================================================
   全站「联系客服」窗口 · QQ 二维码 / QQ 号复制 / 一键会话
   ============================================================ */
.sup-root[hidden]{display:none!important}
.sup-root{position:fixed;inset:0;z-index:200;display:grid;place-items:center;padding:20px}
.sup-mask{position:absolute;inset:0;background:rgba(24,20,16,.56);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);animation:fadeIn .2s both}
.sup-panel{position:relative;z-index:1;width:min(720px,100%);max-height:min(88vh,860px);overflow:auto;
  background:#fff;border:1px solid #f1e5d9;border-radius:20px;box-shadow:0 30px 80px rgba(25,18,10,.28);
  animation:supIn .26s cubic-bezier(.2,.8,.2,1) both}
@keyframes supIn{from{opacity:0;transform:translateY(16px) scale(.97)}to{opacity:1;transform:none}}
.sup-close{position:absolute;top:16px;right:16px;width:36px;height:36px;border:0;border-radius:50%;
  background:#f6f7f9;color:#6b7280;cursor:pointer;display:grid;place-items:center;z-index:2;transition:background .2s,color .2s}
.sup-close:hover{background:#ffe9d8;color:#e45400}
.sup-close svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2}
.sup-head{padding:28px 30px 18px;background:linear-gradient(120deg,#fff6ee,#fff);border-bottom:1px solid #f2ece6;border-radius:20px 20px 0 0}
.sup-kicker{display:inline-flex;align-items:center;gap:6px;font-size:11px;font-weight:800;letter-spacing:1.3px;color:#e45400;
  background:#fff;border:1px solid #ffd9bd;border-radius:999px;padding:6px 12px}
.sup-kicker svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.9}
.sup-head h3{font-size:clamp(21px,3vw,27px);font-weight:850;letter-spacing:-.5px;margin:14px 0 6px;color:#1c2333}
.sup-head p{margin:0;font-size:14px;color:#7a8494;line-height:1.7;max-width:90%}
.sup-body{padding:24px 30px 28px}
.sup-qr-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:16px;justify-items:center}
.sup-qr-card{width:100%;max-width:230px;text-align:center;background:#fafbfc;border:1px solid #eceff4;border-radius:16px;padding:14px}
.sup-qr-tag{display:inline-block;font-size:12px;font-weight:750;color:#e45400;background:#fff2e7;border-radius:999px;padding:5px 12px;margin-bottom:12px}
.sup-qr-box{width:100%;aspect-ratio:1/1;background:#fff;border:1px solid #eceff4;border-radius:12px;overflow:hidden;
  display:grid;place-items:center;padding:8px}
.sup-qr-box img{width:100%;height:100%;object-fit:contain;display:block}
.sup-qr-empty{display:flex;flex-direction:column;gap:8px;color:#a2a9b5;font-size:13px;line-height:1.6;text-align:center}
.sup-qr-empty small{font-size:11px;color:#c0c6d0}
.sup-qr-tip{margin:10px 0 0;font-size:12px;color:#8a92a3}
.sup-qq-panel{margin-top:20px;background:linear-gradient(120deg,#fff7f0,#fff);border:1px solid #ffdcc0;border-radius:16px;padding:18px 20px;
  display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.sup-label{display:block;font-size:12px;font-weight:700;color:#9aa1ad;margin-bottom:6px}
.sup-qq-num{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.sup-qq-num strong{font-size:clamp(20px,3vw,26px);font-weight:850;letter-spacing:.5px;color:#1c2333;font-variant-numeric:tabular-nums}
.sup-qq-empty{font-size:14px;color:#9aa1ad}
.sup-copy{display:inline-flex;align-items:center;gap:6px;border:1px solid #ffd0ac;background:#fff;color:#e45400;
  border-radius:9px;padding:7px 11px;font-size:12.5px;font-weight:720;cursor:pointer;font-family:inherit;transition:background .2s,border-color .2s}
.sup-copy:hover{background:#fff2e7;border-color:#ffb77e}
.sup-copy.is-done{background:#e9f8ef;border-color:#a9e2bf;color:#128a4c}
.sup-copy svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.9}
.sup-copy-main{padding:9px 14px;font-size:13.5px}
.sup-chat{display:inline-flex;align-items:center;gap:8px;border:0;background:linear-gradient(135deg,#ff8a34,#e45400);color:#fff;
  border-radius:11px;padding:12px 18px;font-size:14px;font-weight:750;text-decoration:none;white-space:nowrap}
.sup-chat:hover{filter:brightness(1.05)}
.sup-chat svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2}
.sup-rows{margin-top:18px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.sup-row{display:flex;align-items:center;justify-content:space-between;gap:10px;background:#fafbfc;border:1px solid #eceff4;
  border-radius:12px;padding:12px 14px;min-width:0}
.sup-row-label{display:inline-flex;align-items:center;gap:6px;font-size:12.5px;color:#9aa1ad;flex:0 0 auto}
.sup-row-label svg{width:15px;height:15px;fill:none;stroke:#e45400;stroke-width:1.8}
.sup-row-val{display:inline-flex;align-items:center;gap:8px;min-width:0}
.sup-row-val strong{font-size:13.5px;color:#1c2333;word-break:break-all;text-align:right}
.sup-row-link{display:inline-grid;place-items:center;color:#e45400}
.sup-row-link svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.9}
.sup-note{display:flex;align-items:flex-start;gap:9px;margin-top:18px;padding:13px 15px;border-radius:12px;
  background:#fff8f1;border:1px solid #ffe3cc;color:#8a5a32;font-size:12.8px;line-height:1.7}
.sup-note svg{width:16px;height:16px;flex:0 0 auto;fill:none;stroke:#e45400;stroke-width:1.9;margin-top:2px}
.sup-toast{position:fixed;left:50%;bottom:26px;transform:translate(-50%,12px);z-index:300;opacity:0;pointer-events:none;
  background:#1c2333;color:#fff;border-radius:999px;padding:10px 18px;font-size:13px;transition:opacity .2s,transform .2s}
.sup-toast.show{opacity:1;transform:translate(-50%,0)}
@media(max-width:640px){
  .sup-root{padding:10px;align-items:end}
  .sup-panel{width:100%;max-height:92vh;border-radius:18px 18px 0 0}
  .sup-head{padding:22px 20px 16px;border-radius:18px 18px 0 0}
  .sup-head p{max-width:100%}
  .sup-body{padding:18px 20px 24px}
  .sup-rows{grid-template-columns:1fr}
  .sup-qq-panel{flex-direction:column;align-items:flex-start}
  .sup-chat{width:100%;justify-content:center}
  .sup-close{top:12px;right:12px}
}

/* ============================================================
   导航 · 使用教程下拉（展示全部已发布文章，不做隐藏 / 折叠）
   ============================================================ */
.nav-drop { position: relative; display: flex; align-items: center; }
.nav-drop-btn { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.nav-caret {
  width: 0; height: 0; margin-top: 1px;
  border-left: 4.5px solid transparent; border-right: 4.5px solid transparent;
  border-top: 5px solid currentColor; opacity: .6; transition: transform .2s, opacity .2s;
}
.nav-drop:hover .nav-caret, .nav-drop.is-open .nav-caret { transform: rotate(180deg); opacity: 1; }
/* 悬停过渡用的透明桥，避免鼠标从导航移到面板时菜单闪退 */
.nav-drop::before { content: ''; position: absolute; left: -8px; right: -8px; top: 100%; height: 14px; }
.nav-menu {
  position: absolute; left: -18px; top: calc(100% + 12px); z-index: 90;
  width: min(640px, calc(100vw - 48px));
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 24px 56px rgba(30, 40, 80, .16);
  padding: 12px 12px 10px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.nav-drop:hover .nav-menu, .nav-drop:focus-within .nav-menu, .nav-drop.is-open .nav-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nm-head {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 4px 8px 10px; margin-bottom: 6px; border-bottom: 1px solid var(--line);
  font-size: 12px; color: var(--muted); letter-spacing: .02em;
}
.nm-head b { font-size: 12.5px; color: var(--ink); font-weight: 700; }
.nm-list { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; max-height: min(58vh, 440px); overflow: auto; }
.nm-item {
  display: flex; flex-direction: column; gap: 3px; min-width: 0;
  padding: 8px 10px; border-radius: 10px; transition: background .16s;
}
.nm-item b {
  font-size: 13px; font-weight: 600; color: var(--ink); line-height: 1.45;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.nm-item small { font-size: 11px; color: var(--muted); }
.nm-item:hover { background: var(--o-pale); }
.nm-item:hover b { color: var(--o-deep); }
.nm-empty { grid-column: 1 / -1; padding: 14px 8px; font-size: 12.5px; color: var(--muted); }
.nm-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin-top: 8px; padding: 10px 8px 2px; border-top: 1px solid var(--line);
  font-size: 12.5px; color: var(--muted);
}
.nm-foot a { color: var(--o-deep); font-weight: 650; display: inline-flex; align-items: center; gap: 5px; }
.nm-foot .ico { width: 15px; height: 15px; }

/* 移动端菜单里的文章列表：同样全部展开，不折叠 */
.mobile-news { display: grid; gap: 2px; margin: 4px 0 6px; }
.mobile-news-title {
  font-size: 11.5px; font-weight: 700; letter-spacing: .06em; color: var(--muted);
  padding: 10px 2px 4px;
}
.mobile-news a {
  display: block; padding: 9px 12px; border-radius: 9px; font-size: 13px;
  color: var(--ink-2); background: #faf9f8;
}
.mobile-news a:hover { background: var(--o-soft); color: var(--o-deep); }
.mobile-news .mn-empty { font-size: 12.5px; color: var(--muted); padding: 8px 4px; }

/* ============================================================
   首页 / 使用教程 · 文章列表页
   ============================================================ */
.home-main { min-height: 60vh; }
.home-bar { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.home-tabs { flex-wrap: wrap; max-width: 100%; }
.home-bar-right { display: flex; align-items: center; gap: 10px; flex: 1 1 320px; justify-content: flex-end; }
.home-bar-right .news-search { flex: 1 1 200px; max-width: 300px; }
.home-bar-right .news-sort { flex: 0 0 auto; }
.article-cat {
  display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 999px;
  background: var(--o-soft); color: var(--o-deep); font-size: 11.5px; font-weight: 700;
}

/* ============================================================
   软件分享（独立页面）
   ============================================================ */
.apps-page-hero {
  padding: 34px 0 30px;
  background: linear-gradient(120deg, var(--o-pale), #fff 68%);
  border-bottom: 1px solid var(--line);
}
.apps-page-hero h1 { font-size: clamp(22px, 3vw, 30px); font-weight: 820; letter-spacing: -.01em; }
.apps-page-hero p { margin-top: 9px; max-width: 640px; color: var(--ink-2); font-size: 14px; line-height: 1.85; }
.apps-page-hero .section-kicker { margin-bottom: 8px; }
.apps-main .content-section { padding-top: 26px; }
.apps-main .cat-strip { margin-bottom: 4px; }
/* 软件详情里的视频教程（B 站 / mp4 直链） */
.dt-video iframe, .dt-video video {
  width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 14px;
  background: #000; display: block;
}
/* 步骤正文允许写入 Markdown 的加粗、列表等 */
.dt-step .md-inline { display: block; }
.dt-step .md-inline p { margin: 0 0 7px; }
.dt-step .md-inline p:last-child { margin-bottom: 0; }
.dt-step .md-inline ul, .dt-step .md-inline ol { margin: 4px 0 7px; padding-left: 20px; list-style: revert; }
.dt-step .md-inline li { margin: 3px 0; }
.dt-step .md-inline h2, .dt-step .md-inline h3 { font-size: 14px; margin: 8px 0 5px; }
.dt-step .md-inline code { font-size: 12px; }

/* ============================================================
   商城 · 列表
   ============================================================ */
.shop-hero {
  position: relative; overflow: hidden;
  padding: 44px 0 38px;
  background: linear-gradient(118deg, #fff4ea 0%, #fff 46%, #f3f6ff 100%);
  border-bottom: 1px solid var(--line);
}
.shop-hero::after {
  content: ''; position: absolute; right: -90px; top: -110px; width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(255, 106, 19, .16), transparent 68%);
}
.shop-hero h1 { font-size: clamp(24px, 3.4vw, 34px); font-weight: 840; letter-spacing: -.015em; }
.shop-hero p { margin-top: 10px; max-width: 640px; color: var(--ink-2); font-size: 14.5px; line-height: 1.85; }
.shop-stats { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 20px; }
.shop-stats div { display: flex; align-items: baseline; gap: 7px; }
.shop-stats strong { font-size: 20px; font-weight: 820; color: var(--o-deep); }
.shop-stats span { font-size: 12px; color: var(--muted); }
.shop-body { padding: 26px 0 76px; }
.shop-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.pd-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .22s, box-shadow .22s, border-color .22s;
}
.pd-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #ffd7bb; }
.pd-cover { position: relative; aspect-ratio: 4 / 3; background: #f4f3f1; overflow: hidden; }
.pd-cover img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s; }
.pd-card:hover .pd-cover img { transform: scale(1.04); }
.pd-cover-ph {
  width: 100%; height: 100%; display: grid; place-items: center;
  font-size: 40px; font-weight: 850; letter-spacing: .04em; color: #fff;
  background: linear-gradient(140deg, var(--a, #FF9A4D), var(--b, #F0520A));
}
.pd-cover-ph small { display: block; font-size: 12px; font-weight: 600; opacity: .82; margin-top: 6px; letter-spacing: .12em; }
.pd-badge {
  position: absolute; left: 12px; top: 12px; padding: 3px 9px; border-radius: 999px;
  background: rgba(255, 255, 255, .94); color: var(--o-deep); font-size: 11.5px; font-weight: 750;
  box-shadow: 0 4px 12px rgba(30, 40, 80, .12);
}
.pd-body { padding: 15px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.pd-name { font-size: 15px; font-weight: 750; color: var(--ink); line-height: 1.45; }
.pd-sub {
  margin-top: 6px; font-size: 12.5px; color: var(--muted); line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.pd-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 14px; }
.pd-price { display: flex; align-items: baseline; gap: 4px; color: #e85400; }
.pd-price i { font-style: normal; font-size: 13px; font-weight: 700; }
.pd-price b { font-size: 21px; font-weight: 850; letter-spacing: -.01em; }
.pd-price s { margin-left: 6px; font-size: 12px; color: #a8adb9; font-weight: 500; }
.pd-more {
  display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 650;
  color: var(--ink-2); padding: 7px 11px; border-radius: 9px; background: #f6f7fb; transition: .18s;
}
.pd-card:hover .pd-more { background: var(--o); color: #fff; }
.pd-more .ico { width: 15px; height: 15px; }
.shop-empty { text-align: center; padding: 70px 20px; background: #fff; border: 1px dashed var(--line); border-radius: var(--radius); }
.shop-empty h3 { font-size: 16px; margin-bottom: 8px; }
.shop-empty p { color: var(--muted); font-size: 13.5px; }

/* ---------- 商品详情 ---------- */
.pd-detail { padding: 26px 0 76px; }
.pd-crumb { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); margin-bottom: 18px; }
.pd-crumb:hover { color: var(--o-deep); }
.pd-crumb .ico { width: 15px; height: 15px; transform: scaleX(-1); }
.pd-top { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.pd-gallery { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.pd-main-img { aspect-ratio: 4 / 3; background: #f4f3f1; }
.pd-main-img img { width: 100%; height: 100%; object-fit: contain; display: block; background: #fff; }
.pd-thumbs { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--line); background: #fbfaf9; }
.pd-thumbs button { width: 66px; height: 50px; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); background: #fff; }
.pd-thumbs button.is-on { border-color: var(--o); box-shadow: 0 0 0 3px rgba(255, 106, 19, .12); }
.pd-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pd-info { padding: 4px 0 0; }
.pd-info h1 { font-size: clamp(20px, 2.6vw, 27px); font-weight: 830; line-height: 1.35; letter-spacing: -.01em; }
.pd-info .pd-sub { margin-top: 9px; font-size: 13.5px; -webkit-line-clamp: 4; }
.pd-price-box {
  margin-top: 18px; padding: 16px 18px; border-radius: 14px;
  background: linear-gradient(120deg, #fff6ee, #fff); border: 1px solid #ffe0c9;
  display: flex; align-items: flex-end; gap: 10px; flex-wrap: wrap;
}
.pd-price-box .pd-price b { font-size: 30px; }
.pd-price-box em {
  font-style: normal; font-size: 12px; color: var(--o-deep); background: #fff;
  border: 1px solid #ffd2b0; border-radius: 999px; padding: 3px 9px; font-weight: 650; margin-left: auto;
}
.pd-meta-list { margin-top: 16px; display: grid; gap: 9px; }
.pd-meta-list div { display: flex; gap: 10px; font-size: 13px; color: var(--ink-2); }
.pd-meta-list span { color: var(--muted); min-width: 62px; }
.pd-actions { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.pd-actions .btn { height: 46px; padding: 0 22px; font-size: 14.5px; }
.pd-note { margin-top: 14px; font-size: 12px; color: var(--muted); line-height: 1.75; }
.pd-section {
  margin-top: 26px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px 28px;
}
.pd-section h2 { font-size: 17px; font-weight: 800; margin-bottom: 16px; }
.pd-spec-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.pd-spec-table th, .pd-spec-table td { border-bottom: 1px solid var(--line); padding: 11px 4px; text-align: left; vertical-align: top; }
.pd-spec-table th { width: 160px; color: var(--muted); font-weight: 600; }
.pd-rel { margin-top: 30px; }
.pd-rel h2 { font-size: 17px; margin-bottom: 14px; }
.pd-rel .shop-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

@media (max-width: 980px) {
  .shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pd-top { grid-template-columns: 1fr; }
  .pd-rel .shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .nav-menu { left: -8px; width: min(340px, calc(100vw - 28px)); }
  .nm-list { grid-template-columns: 1fr; max-height: min(52vh, 380px); }
  .home-bar-right { flex: 1 1 100%; justify-content: stretch; }
  .home-bar-right .news-search { max-width: none; }
  .shop-grid { grid-template-columns: 1fr; }
  .pd-rel .shop-grid { grid-template-columns: 1fr; }
  .pd-section { padding: 20px 18px; }
  .pd-price-box .pd-price b { font-size: 26px; }
  .pd-spec-table th { width: 110px; }
}

/* ============================================================
   首页 v2：幻灯片 + 全站搜索 + 文章列表（浅色主题配色）
   ============================================================ */
.home-hero-inner { position: relative; display: grid; grid-template-columns: 1.06fr .94fr; align-items: center; gap: 36px; padding: 58px 0 66px; }
.home-hero-inner .hero-copy h1 { margin: 18px 0 14px; font-size: clamp(32px, 4.8vw, 50px); font-weight: 830; letter-spacing: -.03em; line-height: 1.16; color: var(--ink); }
.home-hero-inner .hero-copy h1 em { font-style: normal; background: linear-gradient(120deg, #ff9436, #f0520a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.home-hero-inner .hero-sub { max-width: 520px; font-size: 15.5px; line-height: 1.85; color: var(--ink-2); margin: 0; }
.home-hero .gs-hero { max-width: 560px; margin-top: 24px; }
.home-stats { display: flex; align-items: center; gap: 26px; margin-top: 28px; }
.home-stats > div { display: flex; flex-direction: column; line-height: 1.3; }
.home-stats strong { font-size: 22px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.home-stats span { font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.home-stats i { width: 1px; height: 30px; background: linear-gradient(to bottom, transparent, #d7dbe6, transparent); }

/* 右侧机箱科幻展示 */
.hero-case { position: relative; height: 480px; }
.hc-glow {
  position: absolute; inset: 10% 8%; border-radius: 50%;
  background: radial-gradient(circle at 55% 46%, rgba(56, 189, 248, .18), rgba(125, 211, 252, .10) 46%, transparent 72%);
  filter: blur(8px);
}
.hc-ring {
  position: absolute; left: 50%; top: 50%;
  width: clamp(300px, 62%, 430px); aspect-ratio: 1;
  border-radius: 50%; transform: translate(-50%, -50%);
}
.hc-ring-a { border: 1.5px dashed rgba(100, 116, 139, .30); animation: hcSpin 30s linear infinite; }
.hc-ring-b { width: clamp(360px, 76%, 520px); border: 1px solid rgba(56, 189, 248, .20); animation: hcSpin 46s linear infinite reverse; }
.hc-ring-b::before {
  content: ""; position: absolute; top: -4px; left: 50%; width: 8px; height: 8px; margin-left: -4px;
  border-radius: 50%; background: #38bdf8; box-shadow: 0 0 12px 3px rgba(56, 189, 248, .55);
}
@keyframes hcSpin { from { transform: translate(-50%, -50%) rotate(0deg); } to { transform: translate(-50%, -50%) rotate(360deg); } }
/* 机箱 3D 动态展示：风扇旋转 / 灯效呼吸 / 玻璃反光 / 整机悬浮微倾 */
.hc-stage { position: relative; width: 100%; height: 100%; perspective: 950px; display: flex; align-items: center; justify-content: center; }
.hc-svg {
  width: min(94%, 560px); height: auto; display: block;
  filter: drop-shadow(0 26px 44px rgba(56, 189, 248, .18));
  transform: rotateY(-10deg) rotateX(7deg);
  transform-style: preserve-3d;
  animation: hcHover 7s ease-in-out infinite;
  will-change: transform;
}
@keyframes hcHover {
  0%, 100% { transform: rotateY(-10deg) rotateX(7deg) translateY(0); }
  50% { transform: rotateY(-5deg) rotateX(4deg) translateY(-13px); }
}
/* 风扇叶片持续旋转（各扇不同转速，更真实） */
.hc-blades { transform-box: fill-box; transform-origin: center; }
.hc-f1 { animation: hcFanSpin 1.35s linear infinite; }
.hc-f2 { animation: hcFanSpin 1.55s linear infinite; }
.hc-f3 { animation: hcFanSpin 1.45s linear infinite; }
.hc-f4 { animation: hcFanSpin 1.1s linear infinite; }
@keyframes hcFanSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
/* 灯效呼吸 */
.hc-fanring { animation: hcPulse 2.6s ease-in-out infinite; }
.hc-glowint { animation: hcPulse 3.2s ease-in-out infinite; }
.hc-ram1 { animation: hcPulse 2.2s ease-in-out infinite; }
.hc-ram2 { animation: hcPulse 2.2s ease-in-out infinite .55s; }
@keyframes hcPulse { 0%, 100% { opacity: .45; } 50% { opacity: .95; } }
/* 玻璃反光扫过 */
.hc-sheen { animation: hcSheen 5.5s ease-in-out infinite; }
@keyframes hcSheen {
  0%, 12% { transform: translateX(-130px); opacity: 0; }
  30% { opacity: 1; }
  55%, 100% { transform: translateX(150px); opacity: 0; }
}
/* 落地投影随悬浮呼吸 */
.hc-shadow { animation: hcShadow 7s ease-in-out infinite; }
@keyframes hcShadow { 0%, 100% { opacity: .18; } 50% { opacity: .12; } }
@media (prefers-reduced-motion: reduce) {
  .hc-blades, .hc-svg, .hc-sheen, .hc-fanring, .hc-glowint, .hc-ram1, .hc-ram2, .hc-shadow, .hc-chip { animation: none !important; }
}
.hc-chip {
  position: absolute; display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 13px; border-radius: 999px;
  background: rgba(255, 255, 255, .82); backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 106, 19, .22); box-shadow: 0 8px 22px rgba(240, 82, 10, .10);
  font-size: 12px; font-weight: 600; color: var(--ink);
  animation: hcFloat 6s ease-in-out infinite;
}
.hc-chip .ico { width: 14px; height: 14px; color: #f0520a; }
.hc-chip-1 { left: 2%; top: 20%; animation-delay: .8s; }
.hc-chip-2 { right: 0; top: 46%; animation-delay: 1.8s; }
.hc-chip-3 { left: 10%; bottom: 10%; animation-delay: 2.8s; }

.home-spotlight { padding: 40px 0 34px; }
.home-spotlight .spotlight-top { margin-bottom: 16px; }

.home-list-wrap { padding-top: 26px; }
.section-head-row { display: flex; align-items: end; justify-content: space-between; gap: 14px; margin-bottom: 16px; }
.section-title-lg { margin: 8px 0 0; font-size: clamp(22px, 2.4vw, 30px); font-weight: 780; letter-spacing: -.035em; }
.home-list-wrap .home-bar { margin-bottom: 18px; }

/* 文章列表样式：一行一篇，封面居左（提高权重，覆盖 news.css 网格） */
.news-grid.news-list { display: flex; flex-direction: column; gap: 12px; }
.news-grid.news-list .news-card {
  display: flex; flex-direction: row; align-items: stretch;
  padding: 14px 18px 14px 14px; gap: 18px;
}
.news-grid.news-list .nc-cover { width: 218px; min-width: 218px; height: 128px; border-radius: 12px; }
.news-grid.news-list .nc-body { padding: 6px 0 0; display: flex; flex-direction: column; }
.news-grid.news-list .nc-body h3 { font-size: 17px; margin: 0 0 6px; line-height: 1.45; }
.news-grid.news-list .nc-body p { margin: 0 0 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-grid.news-list .nc-foot { margin-top: auto; }
/* 分类名：显示在发布时间前，不再覆盖封面图 */
.nc-cat { color: #f0520a; font-weight: 600; }
@media (max-width: 860px) {
  .news-grid.news-list .news-card { flex-direction: column; padding: 0; gap: 0; }
  .news-grid.news-list .nc-cover { width: 100%; min-width: 0; height: 150px; border-radius: 14px 14px 0 0; }
  .news-grid.news-list .nc-body { padding: 14px 16px 16px; }
}
@media (max-width: 1024px) {
  .home-hero-inner { grid-template-columns: 1fr; gap: 18px; padding: 46px 0 54px; }
  /* 覆盖原站移动端隐藏 .hero-visual 的规则：3D 机箱动画在手机端同样展示 */
  .home-hero .hero-case { display: block; }
  .hero-case { height: 360px; margin-top: 6px; }
  .hc-svg { width: min(90%, 460px); max-width: 100%; }
  .hc-chip-1 { left: 6%; top: 12%; }
  .hc-chip-2 { right: 4%; top: 42%; }
  .hc-chip-3 { left: 12%; bottom: 6%; }
}
@media (max-width: 720px) {
  .home-hero-inner { padding: 36px 0 44px; }
  .home-stats { gap: 16px; margin-top: 24px; }
  .home-stats strong { font-size: 18px; }
  .hero-case { height: 300px; }
  .hc-svg { width: min(88%, 340px); max-width: 100%; }
  .hc-chip { padding: 6px 10px; font-size: 11px; }
  .hc-chip-1 { left: 0; top: 8%; }
  .hc-chip-2 { right: 0; top: 40%; }
  .hc-chip-3 { left: 4%; bottom: 4%; }
  .home-spotlight { padding: 26px 0 24px; }
  .section-head-row { flex-direction: column; align-items: flex-start; gap: 4px; }
}
