/* ============================================================
   包子一体优化箱 — 软件下载站样式
   深色主体，无外部依赖，无外部字体请求。
   ============================================================ */

:root {
  --font: "Inter", "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei UI",
    "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", "Cascadia Code", ui-monospace, Consolas, monospace;

  --bg: #080b14;
  --bg-2: #0b1120;
  --card: #0e1524;
  --card-2: #121a2c;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.15);

  --text: #e9eefb;
  --dim: #9aa7c0;
  --mute: #6a7691;

  --acc: #40e0d0;
  --acc-2: #7c8cff;
  --acc-3: #ff7ac6;
  --ink: #04201f;

  --r-s: 9px;
  --r-m: 14px;
  --r-l: 20px;
  --shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.95);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --wrap: 1180px;
  --gut: clamp(16px, 3.4vw, 34px);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

/* ---------------- 站点背景：Luna 主视觉（含动效） ---------------- */
/* 第一层：主视觉，52 秒一轮缓慢推拉（Ken Burns），不参与布局 */
body::before {
  content: "";
  position: fixed;
  inset: -10%;
  z-index: -3;
  background-image: url("/assets/img/luna-bg.jpg");
  background-image: image-set(
    url("/assets/img/luna-bg.webp") type("image/webp"),
    url("/assets/img/luna-bg.jpg") type("image/jpeg")
  );
  background-position: center 42%;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0.52;
  filter: saturate(1.18) contrast(1.06) brightness(0.86);
  transform: scale(1.06);
  animation: site-drift 52s var(--ease) infinite alternate;
  pointer-events: none;
  will-change: transform;
}

/* 第二层：青 / 靛双色光 + 纵向压暗，保证正文对比度 */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(1100px 560px at 16% -12%, rgba(64, 224, 208, 0.16), transparent 62%),
    radial-gradient(880px 520px at 92% -8%, rgba(124, 140, 255, 0.2), transparent 60%),
    linear-gradient(180deg, rgba(8, 11, 20, 0.44) 0%, rgba(8, 11, 20, 0.8) 42%, rgba(8, 11, 20, 0.94) 100%);
  animation: site-glow 26s ease-in-out infinite alternate;
}

@keyframes site-drift {
  from { transform: scale(1.06) translate3d(0, 0, 0); }
  to   { transform: scale(1.16) translate3d(-2.2%, -1.6%, 0); }
}
@keyframes site-glow {
  from { opacity: 0.92; }
  to   { opacity: 1; }
}

/* 首屏：光带缓慢扫过（只影响观感，不吃交互） */
.hero { isolation: isolate; }
.hero::after {
  content: "";
  position: absolute;
  inset: -18% -12% auto -12%;
  height: 78%;
  z-index: 0;
  background: linear-gradient(
    100deg,
    transparent 40%,
    rgba(140, 225, 255, 0.1) 48%,
    rgba(255, 255, 255, 0.14) 50%,
    rgba(140, 225, 255, 0.1) 52%,
    transparent 60%
  );
  transform: translateX(-26%);
  animation: hero-sheen 11s ease-in-out infinite;
  pointer-events: none;
}
.hero-inner { z-index: 1; }
@keyframes hero-sheen {
  0%   { transform: translateX(-26%); opacity: 0; }
  12%  { opacity: 1; }
  55%  { opacity: 1; }
  70%, 100% { transform: translateX(26%); opacity: 0; }
}

/* 卡片改成磨砂玻璃，让背景透出来 */
.app {
  background: linear-gradient(168deg, rgba(14, 21, 36, 0.82), rgba(11, 17, 32, 0.9));
  -webkit-backdrop-filter: blur(10px) saturate(1.06);
  backdrop-filter: blur(10px) saturate(1.06);
}
.app:hover {
  background: linear-gradient(168deg, rgba(18, 26, 44, 0.88), rgba(11, 17, 32, 0.94));
}

/* 侧栏与页脚也做轻微磨砂，避免背景断层 */
.side-block,
.foot {
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

/* 移动端降低背景强度，省电也更好读 */
@media (max-width: 720px) {
  body::before { opacity: 0.3; background-position: center 30%; }
  .hero::after { display: none; }
  .app { -webkit-backdrop-filter: none; backdrop-filter: none; }
}

h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { list-style: none; padding: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
svg { display: block; }
img { max-width: 100%; display: block; }

:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; border-radius: 5px; }
::selection { background: rgba(64, 224, 208, 0.35); }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gut);
}
.wrap.narrow { max-width: 840px; }

/* ---------------- topbar ---------------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8, 11, 20, 0.82);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  height: 64px;
}

.brand { display: inline-flex; align-items: center; gap: 9px; flex: 0 0 auto; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 32px; height: 32px;
  border-radius: 9px;
  background: linear-gradient(140deg, var(--acc), var(--acc-2));
  box-shadow: 0 8px 20px -10px rgba(64, 224, 208, 0.7);
}
.brand-mark svg {
  width: 17px; height: 17px;
  fill: none; stroke: var(--ink);
  stroke-width: 2.2; stroke-linejoin: round;
}
.brand-mark.small { width: 28px; height: 28px; border-radius: 8px; }
.brand-mark.small svg { width: 15px; height: 15px; }
.brand-text { font-weight: 700; font-size: 15.5px; letter-spacing: 0.01em; }

.topnav { display: flex; gap: 2px; margin-left: 8px; }
.topnav a {
  padding: 7px 12px;
  font-size: 14px;
  color: var(--dim);
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}
.topnav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }

.search {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  width: min(340px, 34vw);
  padding: 0 10px 0 12px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.04);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.search:focus-within {
  border-color: rgba(64, 224, 208, 0.55);
  box-shadow: 0 0 0 3px rgba(64, 224, 208, 0.12);
  background: rgba(255, 255, 255, 0.06);
}
.search svg {
  width: 16px; height: 16px;
  flex: 0 0 auto;
  fill: none; stroke: var(--mute);
  stroke-width: 1.8; stroke-linecap: round;
}
.search input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: none;
  font-size: 13.5px;
  outline: none;
}
.search input::placeholder { color: var(--mute); }
.search kbd {
  flex: 0 0 auto;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--mute);
  padding: 2px 6px;
  border-radius: 5px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.menu-btn {
  display: none;
  width: 38px; height: 38px;
  border-radius: 10px;
  border: 1px solid var(--line-2);
  place-items: center;
}
.menu-btn span {
  display: block;
  width: 16px; height: 1.6px;
  margin: 3px 0;
  background: var(--dim);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(4.6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-4.6px) rotate(-45deg); }

/* ---------------- hero ---------------- */
.hero {
  position: relative;
  padding: clamp(48px, 7vw, 86px) 0 clamp(34px, 5vw, 54px);
  overflow: hidden;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: -1;
}
.orb-a {
  width: 46vw; height: 46vw;
  top: -20vw; left: -8vw;
  background: radial-gradient(circle, rgba(64, 224, 208, 0.32), transparent 68%);
}
.orb-b {
  width: 40vw; height: 40vw;
  top: -8vw; right: -12vw;
  background: radial-gradient(circle, rgba(124, 140, 255, 0.3), transparent 68%);
}
.hero-inner { position: relative; }
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--dim);
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.03);
}
.live {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--acc);
  box-shadow: 0 0 0 3px rgba(64, 224, 208, 0.2);
  animation: blink 2.4s ease-in-out infinite;
}
@keyframes blink {
  0%, 100% { box-shadow: 0 0 0 3px rgba(64, 224, 208, 0.2); }
  50% { box-shadow: 0 0 0 7px rgba(64, 224, 208, 0.02); }
}

h1 {
  margin-top: 20px;
  font-size: clamp(2rem, 4.6vw, 3.15rem);
  line-height: 1.12;
  letter-spacing: -0.026em;
  font-weight: 720;
}
.hero-sub {
  margin-top: 16px;
  max-width: 44em;
  color: var(--dim);
  font-size: clamp(0.95rem, 1.3vw, 1.03rem);
}

.hero-search {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  max-width: 640px;
  padding: 7px 7px 7px 16px;
  border-radius: 14px;
  border: 1px solid var(--line-2);
  background: var(--card);
  box-shadow: var(--shadow);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.hero-search:focus-within {
  border-color: rgba(64, 224, 208, 0.5);
  box-shadow: 0 0 0 4px rgba(64, 224, 208, 0.09), var(--shadow);
}
.hero-search svg {
  width: 19px; height: 19px;
  flex: 0 0 auto;
  fill: none; stroke: var(--mute);
  stroke-width: 1.8; stroke-linecap: round;
}
.hero-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: none;
  font-size: 15px;
  outline: none;
  padding: 8px 0;
}
.hero-search input::placeholder { color: var(--mute); }
.hero-search button {
  flex: 0 0 auto;
  padding: 10px 22px;
  border-radius: 10px;
  font-weight: 620;
  font-size: 14px;
  color: var(--ink);
  background: linear-gradient(135deg, var(--acc), #6fd8ff);
  transition: transform 0.2s var(--ease), filter 0.2s;
}
.hero-search button:hover { transform: translateY(-1px); filter: brightness(1.06); }

.hot-words {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--mute);
}
.hot-words button {
  padding: 4px 11px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--dim);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.hot-words button:hover {
  color: var(--acc);
  border-color: rgba(64, 224, 208, 0.45);
  background: rgba(64, 224, 208, 0.07);
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(18px, 4vw, 48px);
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.hero-stats li { display: grid; gap: 2px; }
.hero-stats b {
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.hero-stats span { font-size: 12px; color: var(--mute); letter-spacing: 0.04em; }

/* ---------------- 分类条 ---------------- */
.catbar {
  position: sticky;
  top: 64px;
  z-index: 40;
  background: rgba(8, 11, 20, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.catbar-inner {
  display: flex;
  gap: 8px;
  padding-block: 12px;
  overflow-x: auto;
  scrollbar-width: none;
}
.catbar-inner::-webkit-scrollbar { display: none; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--dim);
  background: rgba(255, 255, 255, 0.02);
  transition: color 0.2s, border-color 0.2s, background 0.2s, transform 0.2s;
}
.chip:hover { color: var(--text); border-color: var(--line-2); transform: translateY(-1px); }
.chip.is-active {
  color: var(--ink);
  font-weight: 620;
  border-color: transparent;
  background: linear-gradient(135deg, var(--acc), #6fd8ff);
}
.chip-n {
  font-family: var(--mono);
  font-size: 11px;
  padding: 1px 5px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.08);
}
.chip.is-active .chip-n { background: rgba(0, 0, 0, 0.16); }

/* ---------------- 主区布局 ---------------- */
.library {
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr);
  gap: clamp(20px, 3vw, 34px);
  padding-block: clamp(26px, 4vw, 40px);
  align-items: start;
}

.side {
  position: sticky;
  top: 132px;
  display: grid;
  gap: 14px;
}
.side-block {
  padding: 16px;
  border-radius: var(--r-m);
  border: 1px solid var(--line);
  background: var(--card);
}
.side-title {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 14px;
}

.filter-group { margin-bottom: 18px; }
.filter-group:last-of-type { margin-bottom: 0; }
.filter-label {
  font-size: 12.5px;
  color: var(--dim);
  margin-bottom: 8px;
}
.filter-opts, .sort-opts { display: grid; gap: 2px; }

.cb, .rd {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 8px;
  border-radius: 8px;
  font-size: 13.5px;
  color: var(--dim);
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
}
.cb:hover, .rd:hover { background: rgba(255, 255, 255, 0.04); color: var(--text); }
.cb input, .rd input {
  appearance: none;
  -webkit-appearance: none;
  width: 15px; height: 15px;
  flex: 0 0 auto;
  margin: 0;
  border: 1.5px solid var(--line-2);
  border-radius: 4px;
  background: transparent;
  transition: border-color 0.18s, background 0.18s;
  position: relative;
}
.rd input { border-radius: 50%; }
.cb input:checked, .rd input:checked {
  border-color: var(--acc);
  background: var(--acc);
}
.cb input:checked::after {
  content: "";
  position: absolute;
  left: 3px; top: 0px;
  width: 7px; height: 4px;
  border-left: 1.8px solid var(--ink);
  border-bottom: 1.8px solid var(--ink);
  transform: rotate(-45deg);
}
.rd input:checked::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--ink);
}

.reset-btn {
  width: 100%;
  margin-top: 14px;
  padding: 8px;
  border-radius: 8px;
  border: 1px dashed var(--line-2);
  font-size: 12.5px;
  color: var(--mute);
  transition: color 0.2s, border-color 0.2s;
}
.reset-btn:hover { color: var(--acc); border-color: rgba(64, 224, 208, 0.5); }

.ranking { display: grid; gap: 2px; }
.ranking li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 6px;
  border-radius: 8px;
  transition: background 0.18s;
}
.ranking li:hover { background: rgba(255, 255, 255, 0.04); }
.rk {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 20px; height: 20px;
  border-radius: 6px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--mute);
  background: rgba(255, 255, 255, 0.06);
}
.rk-1 { color: var(--ink); background: linear-gradient(135deg, var(--acc), #6fd8ff); }
.rk-2 { color: #0b1120; background: #b9c6e6; }
.rk-3 { color: #1a1208; background: #d8a06a; }
.ranking a {
  flex: 1;
  min-width: 0;
  display: grid;
  gap: 1px;
  cursor: pointer;
}
.ranking b {
  font-size: 13px;
  font-weight: 550;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ranking em { font-size: 11px; color: var(--mute); font-style: normal; }
.rk-dl {
  flex: 0 0 auto;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--mute);
}

.side-note {
  padding: 14px 16px;
  border-radius: var(--r-m);
  border: 1px solid rgba(255, 208, 102, 0.24);
  background: rgba(255, 208, 102, 0.06);
}
.side-note strong { display: block; font-size: 12.5px; color: #ffd166; margin-bottom: 5px; }
.side-note p { font-size: 12.5px; color: var(--dim); line-height: 1.6; }

/* ---------------- 列表头 ---------------- */
.lib-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}
.lib-head h2 {
  font-size: 1.16rem;
  font-weight: 660;
  letter-spacing: -0.01em;
  display: flex;
  align-items: baseline;
  gap: 9px;
}
.count {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--mute);
  font-weight: 400;
}
.sort-hint { font-size: 12.5px; color: var(--mute); }
.lib-tools { display: flex; align-items: center; gap: 10px; }
.filter-toggle {
  display: none;
  align-items: center;
  gap: 4px;
  padding: 7px 13px;
  border-radius: 9px;
  border: 1px solid var(--line-2);
  font-size: 13px;
  color: var(--dim);
  background: rgba(255, 255, 255, 0.03);
}
.filter-toggle:hover { color: var(--text); }
.filter-toggle[aria-expanded="true"] {
  color: var(--acc);
  border-color: rgba(64, 224, 208, 0.45);
  background: rgba(64, 224, 208, 0.08);
}

/* ---------------- 软件卡片 ---------------- */
.app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(316px, 1fr));
  gap: 14px;
}

.app {
  display: flex;
  flex-direction: column;
  padding: 18px;
  border-radius: var(--r-m);
  border: 1px solid var(--line);
  background: linear-gradient(168deg, var(--card), var(--bg-2));
  transition: transform 0.32s var(--ease), border-color 0.24s, box-shadow 0.32s, background 0.24s;
}
.app:hover {
  transform: translateY(-3px);
  border-color: var(--line-2);
  box-shadow: var(--shadow);
  background: linear-gradient(168deg, var(--card-2), var(--bg-2));
}
.app[hidden] { display: none; }

.app-top { display: flex; gap: 12px; align-items: flex-start; }
.app-icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 13px;
  font-size: 20px;
  font-weight: 700;
  color: var(--c, var(--acc));
  background: color-mix(in srgb, var(--c, var(--acc)) 15%, transparent);
  border: 1px solid color-mix(in srgb, var(--c, var(--acc)) 30%, transparent);
  letter-spacing: -0.02em;
}
.app-title { flex: 1; min-width: 0; }
.app-title h3 {
  font-size: 15px;
  font-weight: 640;
  letter-spacing: -0.006em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.app-title p {
  margin-top: 3px;
  font-size: 12.5px;
  color: var(--mute);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.app-badges { display: flex; flex-direction: column; gap: 4px; align-items: flex-end; }
.bdg {
  font-size: 10.5px;
  letter-spacing: 0.05em;
  padding: 2px 7px;
  border-radius: 5px;
  color: var(--mute);
  border: 1px solid var(--line-2);
  white-space: nowrap;
}
.bdg-hot {
  color: var(--ink);
  border-color: transparent;
  background: linear-gradient(135deg, var(--acc), #6fd8ff);
  font-weight: 700;
}

.app-desc {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.62;
  color: var(--dim);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.app-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin-top: 14px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.app-meta li {
  display: grid;
  gap: 1px;
  font-size: 12px;
  color: var(--text);
  min-width: 0;
}
.app-meta span {
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--mute);
}
.app-meta li:nth-child(3) {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.app-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
}
.app-dl {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--mute);
  font-variant-numeric: tabular-nums;
}
.app-dl svg {
  width: 14px; height: 14px;
  fill: none; stroke: currentColor;
  stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}
.app-actions { display: flex; gap: 7px; }

.btn-sm {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 13px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 560;
  transition: transform 0.2s var(--ease), background 0.2s, border-color 0.2s, filter 0.2s;
  white-space: nowrap;
}
.btn-sm svg {
  width: 14px; height: 14px;
  fill: none; stroke: currentColor;
  stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round;
}
.btn-ghost {
  color: var(--dim);
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.03);
}
.btn-ghost:hover { color: var(--text); background: rgba(255, 255, 255, 0.08); }
.btn-solid {
  color: var(--ink);
  background: linear-gradient(135deg, var(--acc), #6fd8ff);
  font-weight: 640;
}
.btn-solid:hover { transform: translateY(-1px); filter: brightness(1.05); }

.empty {
  margin-top: 22px;
  padding: 40px 20px;
  text-align: center;
  color: var(--dim);
  border: 1px dashed var(--line-2);
  border-radius: var(--r-m);
}
.empty button {
  color: var(--acc);
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
}

/* ---------------- 通用 section ---------------- */
.section { padding-block: clamp(46px, 7vw, 84px); }
.sec-head { margin-bottom: clamp(26px, 4vw, 40px); }
.kicker {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--acc);
  margin-bottom: 12px;
}
h2 {
  font-size: clamp(1.5rem, 3vw, 2.05rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 680;
}
.sec-sub { margin-top: 14px; color: var(--dim); max-width: 42em; }

/* ---------------- 教程 ---------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.steps li {
  padding: 22px;
  border-radius: var(--r-m);
  border: 1px solid var(--line);
  background: var(--card);
  position: relative;
  overflow: hidden;
}
.steps li::after {
  content: "";
  position: absolute;
  inset: auto -30% -60% auto;
  width: 130px; height: 130px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(64, 224, 208, 0.12), transparent 70%);
}
.stp {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--acc);
  display: block;
  margin-bottom: 12px;
}
.steps h3 { font-size: 15px; font-weight: 620; margin-bottom: 7px; }
.steps p { font-size: 13.5px; color: var(--dim); line-height: 1.65; }

.warn {
  display: flex;
  gap: 14px;
  margin-top: 18px;
  padding: 18px 20px;
  border-radius: var(--r-m);
  border: 1px solid rgba(255, 208, 102, 0.26);
  background: rgba(255, 208, 102, 0.05);
}
.warn svg {
  flex: 0 0 auto;
  width: 20px; height: 20px;
  margin-top: 2px;
  fill: none; stroke: #ffd166;
  stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}
.warn strong { display: block; font-size: 13.5px; color: #ffd166; margin-bottom: 5px; }
.warn p { font-size: 13px; color: var(--dim); line-height: 1.68; }

/* ---------------- FAQ ---------------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 2px;
  font-size: 14.5px;
  font-weight: 560;
  cursor: pointer;
  list-style: none;
  transition: color 0.2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--acc); }
.chev {
  flex: 0 0 auto;
  width: 9px; height: 9px;
  margin-top: -3px;
  border-right: 1.7px solid var(--mute);
  border-bottom: 1.7px solid var(--mute);
  transform: rotate(45deg);
  transition: transform 0.3s var(--ease), border-color 0.2s;
}
details[open] .chev { transform: rotate(-135deg); border-color: var(--acc); }
.faq-body { padding: 0 2px 20px; }
.faq-body p { font-size: 13.5px; color: var(--dim); line-height: 1.72; max-width: 54em; }

/* ---------------- 反馈 ---------------- */
.fb-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.fb-list {
  display: grid;
  margin-top: 28px;
  border-top: 1px solid var(--line);
}
.fb-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
}
.fb-list span { color: var(--mute); font-size: 12px; letter-spacing: 0.05em; }
.fb-list b { font-weight: 560; }

.fb-form {
  display: grid;
  gap: 15px;
  padding: clamp(20px, 3vw, 28px);
  border-radius: var(--r-m);
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: var(--shadow);
}
.field { display: grid; gap: 7px; }
.field label { font-size: 12.5px; color: var(--dim); letter-spacing: 0.04em; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 11px 13px;
  border-radius: var(--r-s);
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.035);
  font-size: 14px;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.field textarea { resize: vertical; min-height: 118px; line-height: 1.6; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 36px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: rgba(64, 224, 208, 0.6);
  box-shadow: 0 0 0 3px rgba(64, 224, 208, 0.12);
  background: rgba(255, 255, 255, 0.055);
}
.field input::placeholder, .field textarea::placeholder { color: var(--mute); }
.field.is-bad input, .field.is-bad textarea { border-color: rgba(255, 107, 129, 0.75); }
.err {
  font-style: normal;
  font-size: 12px;
  color: #ff8b9c;
  opacity: 0;
  transition: opacity 0.2s;
}
.field.is-bad .err { opacity: 1; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.btn-block { width: 100%; padding: 12px; border-radius: 10px; font-size: 14.5px; }
.form-note {
  min-height: 18px;
  font-size: 13px;
  opacity: 0;
  transition: opacity 0.25s;
}
.form-note.show { opacity: 1; }
.form-note.ok { color: var(--acc); }
.form-note.bad { color: #ff8b9c; }

/* ---------------- 页脚 ---------------- */
.foot {
  margin-top: clamp(40px, 6vw, 70px);
  padding-block: 34px;
  border-top: 1px solid var(--line);
}
.foot-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
}
.foot-brand { display: flex; align-items: center; gap: 11px; }
.foot-brand strong { font-size: 14px; font-weight: 640; }
.foot-brand p { font-size: 12px; color: var(--mute); }
.foot-links { display: flex; gap: 18px; font-size: 13px; color: var(--dim); }
.foot-links a:hover { color: var(--acc); }
.copy { font-size: 12px; color: var(--mute); font-family: var(--mono); }

/* ---------------- 弹窗 ---------------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: clamp(12px, 3vw, 32px);
}
.modal[hidden] { display: none; }
.modal-veil {
  position: absolute;
  inset: 0;
  background: rgba(4, 6, 12, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: fade 0.25s var(--ease);
}
@keyframes fade { from { opacity: 0; } }
.modal-panel {
  position: relative;
  width: min(760px, 100%);
  max-height: min(88vh, 900px);
  overflow-y: auto;
  border-radius: var(--r-l);
  border: 1px solid var(--line-2);
  background: linear-gradient(175deg, var(--card-2), var(--bg-2));
  box-shadow: 0 40px 100px -40px #000;
  animation: pop 0.32s var(--ease);
}
@keyframes pop {
  from { opacity: 0; transform: translateY(14px) scale(0.985); }
}
.modal-x {
  position: absolute;
  top: 14px; right: 14px;
  display: grid;
  place-items: center;
  width: 32px; height: 32px;
  border-radius: 9px;
  color: var(--dim);
  border: 1px solid var(--line-2);
  background: rgba(8, 11, 20, 0.7);
  transition: color 0.2s, background 0.2s;
  z-index: 2;
}
.modal-x:hover { color: var(--text); background: rgba(255, 255, 255, 0.1); }
.modal-x svg {
  width: 15px; height: 15px;
  fill: none; stroke: currentColor;
  stroke-width: 1.9; stroke-linecap: round;
}
.modal-body { padding: clamp(20px, 3.4vw, 32px); }

.md-head { display: flex; gap: 16px; align-items: flex-start; padding-right: 40px; }
.md-icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 58px; height: 58px;
  border-radius: 16px;
  font-size: 25px;
  font-weight: 700;
  color: var(--c, var(--acc));
  background: color-mix(in srgb, var(--c, var(--acc)) 15%, transparent);
  border: 1px solid color-mix(in srgb, var(--c, var(--acc)) 32%, transparent);
}
.md-head h3 { font-size: 1.28rem; font-weight: 680; letter-spacing: -0.015em; }
.md-tagline { margin-top: 4px; font-size: 13.5px; color: var(--dim); }
.md-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.md-tags span {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 5px;
  color: var(--mute);
  border: 1px solid var(--line-2);
}

.md-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 20px;
  border-radius: var(--r-s);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--line);
}
.md-facts div {
  padding: 11px 12px;
  background: var(--bg-2);
  display: grid;
  gap: 2px;
}
.md-facts span { font-size: 10.5px; letter-spacing: 0.06em; color: var(--mute); }
.md-facts b { font-size: 13px; font-weight: 580; }

.md-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.md-cta .btn-solid { padding: 11px 24px; border-radius: 10px; font-size: 14px; }
.md-cta small { font-size: 12px; color: var(--mute); }

.md-sec { margin-top: 24px; }
.md-sec h4 {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 11px;
}
.md-list { display: grid; gap: 9px; }
.md-list li {
  position: relative;
  padding-left: 20px;
  font-size: 13.5px;
  color: var(--dim);
  line-height: 1.66;
}
.md-list li::before {
  content: "";
  position: absolute;
  left: 3px; top: 0.6em;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--acc);
}
.md-steps { display: grid; gap: 10px; counter-reset: ms; }
.md-steps li {
  position: relative;
  padding-left: 32px;
  font-size: 13.5px;
  color: var(--dim);
  line-height: 1.66;
  counter-increment: ms;
}
.md-steps li::before {
  content: counter(ms);
  position: absolute;
  left: 0; top: 1px;
  display: grid;
  place-items: center;
  width: 21px; height: 21px;
  border-radius: 6px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--acc);
  background: rgba(64, 224, 208, 0.12);
}
.md-log { display: grid; gap: 7px; }
.md-log li {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--dim);
  padding: 8px 11px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.035);
}

/* 网盘镜像 */
.mirrors { display: grid; gap: 8px; }
.mirror {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 13px;
  border-radius: 10px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.03);
  font-size: 13.5px;
  transition: border-color 0.2s, background 0.2s, transform 0.2s var(--ease);
}
.mirror:hover {
  border-color: rgba(64, 224, 208, 0.45);
  background: rgba(64, 224, 208, 0.07);
  transform: translateX(2px);
}
.mirror-name { font-weight: 560; flex: 0 0 auto; }
.mirror-note { font-size: 12px; color: var(--mute); }
/* 提取码：独立小胶囊，点一下复制，不跟链接一起跳走 */
.mirror-code {
  flex: 0 0 auto;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px dashed rgba(64, 224, 208, 0.45);
  background: rgba(64, 224, 208, 0.08);
  color: var(--acc);
  cursor: copy;
  user-select: none;
  transition: background 0.2s, border-color 0.2s;
}
.mirror-code:hover {
  background: rgba(64, 224, 208, 0.16);
  border-color: var(--acc);
}
.mirror svg {
  margin-left: auto;
  flex: 0 0 auto;
  width: 13px; height: 13px;
  fill: none; stroke: var(--mute);
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.mirror:hover svg { stroke: var(--acc); }
.mirror-tip {
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--mute);
}
.mirror-tip code {
  font-family: var(--mono);
  font-size: 11.5px;
  padding: 1px 5px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}
.bdg-net { color: #7cc4ff; border-color: rgba(124, 196, 255, 0.4); }

/* ---------------- 文档页（关于 / 隐私 / 条款 / 404） ---------------- */
.doc-wrap {
  max-width: 840px;
  margin: 0 auto;
  padding: clamp(36px, 6vw, 64px) var(--gut) clamp(60px, 9vw, 100px);
}
.doc-head { margin-bottom: 30px; }
.doc-head .kicker { margin-bottom: 10px; }
.doc-head h1 {
  font-size: clamp(1.7rem, 3.6vw, 2.3rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
  font-weight: 700;
  margin: 0;
}
.doc-meta {
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--mute);
}
.doc-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 0;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.doc-toc a {
  font-size: 12.5px;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--dim);
  transition: color 0.2s, border-color 0.2s;
}
.doc-toc a:hover { color: var(--acc); border-color: rgba(64, 224, 208, 0.45); }

.doc h2 {
  font-size: 1.12rem;
  font-weight: 640;
  letter-spacing: -0.01em;
  margin: 34px 0 12px;
  scroll-margin-top: 86px;
}
.doc h3 { font-size: 0.98rem; font-weight: 600; margin: 22px 0 8px; }
.doc p { color: var(--dim); font-size: 14.5px; line-height: 1.8; margin: 10px 0; }
.doc ul, .doc ol { padding-left: 22px; margin: 10px 0; }
.doc ul { list-style: disc; }
.doc ol { list-style: decimal; }
.doc li { color: var(--dim); font-size: 14.5px; line-height: 1.8; margin: 5px 0; }
.doc li::marker { color: var(--mute); }
.doc strong { color: var(--text); font-weight: 600; }
.doc a { color: var(--acc); border-bottom: 1px solid rgba(64, 224, 208, 0.35); }
.doc a:hover { border-bottom-color: var(--acc); }
.doc code {
  font-family: var(--mono);
  font-size: 12.5px;
  padding: 1px 5px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
}
.doc-note {
  margin: 22px 0;
  padding: 14px 16px;
  border-radius: var(--r-s);
  border: 1px solid rgba(255, 208, 102, 0.24);
  background: rgba(255, 208, 102, 0.05);
  color: var(--dim);
  font-size: 13.5px;
  line-height: 1.7;
}
.doc-note strong { color: #ffd166; }
.doc-foot {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  font-size: 13px;
  color: var(--mute);
}

/* 404 */
.err-page {
  min-height: 62vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 60px 20px;
}
.err-code {
  font-family: var(--mono);
  font-size: clamp(3.6rem, 12vw, 7rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  background: linear-gradient(120deg, var(--acc), var(--acc-2) 55%, var(--acc-3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.err-page h1 {
  font-size: clamp(1.2rem, 2.6vw, 1.6rem);
  font-weight: 640;
  margin: 18px 0 8px;
  letter-spacing: -0.01em;
}
.err-page p { color: var(--dim); font-size: 14px; max-width: 34em; margin: 0 auto; }
.err-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 26px; }
.err-actions .btn-solid, .err-actions .btn-ghost { padding: 10px 22px; border-radius: 10px; font-size: 14px; }

/* ---------------- 响应式 ---------------- */
@media (max-width: 1020px) {
  .library { grid-template-columns: 200px minmax(0, 1fr); }
  .side { position: static; }
  .topnav { display: none; }
  .menu-btn { display: grid; }
  .steps { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .library { grid-template-columns: 1fr; }
  .filter-toggle { display: inline-flex; }
  .side {
    display: none;
    padding-bottom: 6px;
  }
  .side.open { display: grid; }
  .fb-grid { grid-template-columns: 1fr; }
  .app-grid { grid-template-columns: 1fr; }
  .md-facts { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .search { display: none; }
  .topnav {
    display: none;
    position: fixed;
    inset: 64px 0 auto 0;
    flex-direction: column;
    padding: 12px var(--gut) 20px;
    gap: 2px;
    background: rgba(8, 11, 20, 0.98);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
  }
  .topnav.open { display: flex; }
  .topnav a { padding: 12px 6px; font-size: 15px; }
  .menu-btn { margin-left: auto; }
  .catbar { top: 64px; }
  .hero-stats { gap: 20px; }
  .br-sm { display: none; }
  .hero-search { padding-left: 12px; }
  .hero-search button { padding: 9px 16px; }
}

@media (max-width: 460px) {
  .app-meta { grid-template-columns: 1fr 1fr; }
  .app-actions .btn-sm { padding: 7px 10px; font-size: 12.5px; }
  .brand-text { font-size: 14px; }
}


/* ---------------- 覆盖：磨砂卡片（放在文件末尾，确保生效） ---------------- */
.app {
  background: linear-gradient(168deg, rgba(14, 21, 36, 0.78), rgba(11, 17, 32, 0.88));
  -webkit-backdrop-filter: blur(12px) saturate(1.08);
  backdrop-filter: blur(12px) saturate(1.08);
  border-color: rgba(255, 255, 255, 0.1);
}
.app:hover {
  background: linear-gradient(168deg, rgba(18, 26, 44, 0.86), rgba(11, 17, 32, 0.92));
  border-color: rgba(255, 255, 255, 0.18);
}

/* 侧栏面板、下载榜、FAQ 也透一点背景，避免大面积死黑 */
.side-block,
.faq details,
.foot {
  -webkit-backdrop-filter: blur(10px) saturate(1.05);
  backdrop-filter: blur(10px) saturate(1.05);
}

@media (max-width: 720px) {
  .app { -webkit-backdrop-filter: none; backdrop-filter: none; background: linear-gradient(168deg, rgba(14, 21, 36, 0.92), rgba(11, 17, 32, 0.96)); }
}


/* ---------------- 反馈 Q 群：首屏左右悬浮卡 ---------------- */
.qq-layer { position: fixed; inset: 0; z-index: 45; pointer-events: none; }

.qq-fab {
  position: absolute;
  top: 46%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 196px;
  padding: 11px 13px;
  border-radius: 14px;
  border: 1px solid var(--line-2);
  background: rgba(10, 16, 28, 0.72);
  -webkit-backdrop-filter: blur(12px) saturate(1.1);
  backdrop-filter: blur(12px) saturate(1.1);
  box-shadow: 0 22px 48px -28px rgba(0, 0, 0, 0.95);
  color: var(--text);
  text-decoration: none;
  pointer-events: auto;
  transition: transform 0.32s var(--ease), border-color 0.22s, background 0.22s, box-shadow 0.32s;
  cursor: pointer;
}
.qq-fab--l { left: 20px; }
.qq-fab--r { right: 20px; flex-direction: row-reverse; text-align: right; }

.qq-fab:hover {
  border-color: rgba(64, 224, 208, 0.55);
  background: rgba(12, 20, 34, 0.86);
  box-shadow: 0 26px 56px -26px rgba(64, 224, 208, 0.35);
}
.qq-fab--l:hover { transform: translateY(-50%) translateX(4px); }
.qq-fab--r:hover { transform: translateY(-50%) translateX(-4px); }

.qq-ico {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
  color: #04201f;
  background: linear-gradient(140deg, var(--acc), #6fd8ff);
  box-shadow: 0 0 0 0 rgba(64, 224, 208, 0.5);
  animation: qq-pulse 3.4s ease-out infinite;
}
@keyframes qq-pulse {
  0%, 72%, 100% { box-shadow: 0 0 0 0 rgba(64, 224, 208, 0.45); }
  86% { box-shadow: 0 0 0 9px rgba(64, 224, 208, 0); }
}

.qq-txt { display: grid; gap: 2px; min-width: 0; }
.qq-txt em {
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--dim);
}
.qq-num {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text);
}
.qq-num--empty { color: var(--mute); font-weight: 500; }
.qq-note {
  font-size: 11px;
  line-height: 1.35;
  color: var(--mute);
  display: none;
}
.qq-hint {
  font-size: 11px;
  color: var(--acc);
  white-space: nowrap;
}

/* 宽屏时露出说明文字，窄屏收起 */
@media (min-width: 1320px) {
  .qq-note { display: block; }
  .qq-fab { max-width: 210px; }
}

/* 平板 / 手机：缩成图标，避免压住内容 */
@media (max-width: 980px) {
  .qq-fab { top: auto; bottom: 78px; padding: 10px; border-radius: 50%; max-width: none; }
  .qq-fab--l { left: 12px; }
  .qq-fab--r { right: 12px; }
  .qq-txt, .qq-hint { display: none; }
  .qq-fab--r { flex-direction: row; }
}


/* 复制群号后的提示条 */
.qq-toast {
  position: fixed;
  left: 50%;
  bottom: 34px;
  transform: translate(-50%, 16px);
  z-index: 80;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(64, 224, 208, 0.45);
  background: rgba(8, 14, 24, 0.94);
  color: var(--text);
  font-size: 13px;
  letter-spacing: 0.02em;
  box-shadow: 0 20px 46px -22px rgba(0, 0, 0, 0.95);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.26s var(--ease), transform 0.26s var(--ease);
}
.qq-toast.is-on { opacity: 1; transform: translate(-50%, 0); }


/* ---------------- 品牌图标：包子 logo ---------------- */
.brand-mark.has-logo {
  background: none;
  box-shadow: 0 8px 20px -12px rgba(64, 224, 208, 0.55);
  overflow: hidden;
}
.brand-mark.has-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}
