/* ==========================================================================
   下载站前台样式 · 日漫 / 二次元主题
   移动优先，桌面渐进增强；主色由站点配置注入（--brand）
   ========================================================================== */

:root {
  --brand: #7b5cff;          /* 主色：紫罗兰 */
  --brand-2: #ff6fae;        /* 辅色：樱花粉 */
  --brand-3: #4fd8e8;        /* 点缀：晴空青 */
  --ink: #2b2140;
  --ink-2: #6c6386;
  --paper: #fff;
  --bg: #fff5fa;
  --line: rgba(123, 92, 255, .18);
  --sky-1: #ffe3f0;
  --sky-2: #e6ddff;
  --sky-3: #d6f3ff;
  --radius: 22px;
  --sticker: 0 4px 0 rgba(43, 33, 64, .12);
  --shadow: 0 10px 30px rgba(123, 92, 255, .16);
  --maxw: 1080px;
  --font-round: "Yu Gothic", "Hiragino Maru Gothic ProN", "YuGothic", "PingFang SC",
                "Microsoft YaHei", "Segoe UI", system-ui, sans-serif;
}

/* 用主色派生渐变（不支持 color-mix 的浏览器保留上面的默认值） */
@supports (color: color-mix(in srgb, red, blue)) {
  :root {
    --brand-2: color-mix(in srgb, var(--brand) 42%, #ff3d8b);
    --brand-3: color-mix(in srgb, var(--brand) 30%, #22e0ff);
    --line: color-mix(in srgb, var(--brand) 20%, transparent);
    --sky-1: color-mix(in srgb, var(--brand-2) 22%, #fff);
    --sky-2: color-mix(in srgb, var(--brand) 18%, #fff);
    --sky-3: color-mix(in srgb, var(--brand-3) 22%, #fff);
    --ink: color-mix(in srgb, var(--brand) 30%, #1a1330);
    --ink-2: color-mix(in srgb, var(--brand) 32%, #5a5470);
    --bg: color-mix(in srgb, var(--brand-2) 8%, #fff);
    --shadow: 0 10px 30px color-mix(in srgb, var(--brand) 20%, transparent);
    --sticker: 0 4px 0 color-mix(in srgb, var(--brand) 26%, #2b2140);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font: 16px/1.7 var(--font-round);
  position: relative;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.28; margin: 0; font-weight: 800; letter-spacing: .5px; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 16px; }

/* 背景：柔和网点 + 渐变天空 */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(circle at 12% 8%, var(--sky-1), transparent 42%),
    radial-gradient(circle at 88% 4%, var(--sky-3), transparent 40%),
    radial-gradient(circle at 50% 96%, var(--sky-2), transparent 46%),
    linear-gradient(180deg, #fff, var(--bg) 60%);
}
body::after {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image: radial-gradient(var(--line) 1px, transparent 1.6px);
  background-size: 18px 18px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, .5), transparent 55%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, .5), transparent 55%);
}

/* 飘落的樱花瓣 */
.petals { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.petal {
  position: absolute; top: -24px; width: 13px; height: 11px;
  background: linear-gradient(140deg, #fff, var(--brand-2));
  border-radius: 80% 10% 80% 10%;
  opacity: .75; filter: drop-shadow(0 2px 3px rgba(123, 92, 255, .18));
  animation: fall linear infinite;
}
@keyframes fall {
  0% { transform: translate3d(0, -6vh, 0) rotate(0deg); }
  50% { transform: translate3d(28px, 45vh, 0) rotate(220deg); }
  100% { transform: translate3d(-16px, 104vh, 0) rotate(420deg); }
}
@media (prefers-reduced-motion: reduce) {
  .petals { display: none; }
  * { animation-duration: .001s !important; transition-duration: .001s !important; }
}

/* 手写感日文小标 */
.kana {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11.5px; font-weight: 700; letter-spacing: 2.4px;
  color: var(--brand); opacity: .82; text-transform: uppercase;
}
.kana::before { content: "✦"; font-size: 10px; }

/* ---------- 顶栏（悬浮贴纸胶囊） ---------- */
.site-head {
  position: sticky; top: 0; z-index: 30; padding: 8px 0 0;
}
.site-head__row {
  display: flex; align-items: center; gap: 10px;
  max-width: var(--maxw); margin: 0 auto; padding: 8px 10px 8px 12px;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(12px) saturate(160%);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  border: 2px solid var(--line);
  border-radius: 999px; box-shadow: var(--sticker);
}
.brand { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 16px; min-width: 0; }
.brand > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.brand__logo {
  width: 34px; height: 34px; flex: none; border-radius: 12px;
  background: linear-gradient(150deg, var(--brand), var(--brand-2));
  color: #fff; display: flex; align-items: center; justify-content: center; font-size: 16px;
  box-shadow: inset 0 -3px 6px rgba(0, 0, 0, .12);
}
.brand__logo img { width: 100%; height: 100%; border-radius: 12px; object-fit: cover; }
.nav { margin-left: auto; display: flex; gap: 2px; align-items: center; }
.nav a { padding: 8px 11px; border-radius: 999px; font-size: 14px; font-weight: 700; color: var(--ink-2); }
.nav a:hover { background: var(--sky-2); color: var(--brand); }
.nav .nav__cta {
  background: linear-gradient(140deg, var(--brand-2), var(--brand));
  color: #fff; box-shadow: 0 3px 0 rgba(43, 33, 64, .16);
}
.nav .nav__cta:hover { background: linear-gradient(140deg, var(--brand-2), var(--brand)); color: #fff; filter: brightness(1.05); }

/* ---------- 公告 ---------- */
.notice { position: relative; z-index: 1; margin: 10px 0 0; }
.notice__row {
  display: flex; gap: 9px; align-items: flex-start;
  max-width: var(--maxw); margin: 0 auto; padding: 9px 16px;
  background: repeating-linear-gradient(120deg, #fff6c9, #fff6c9 12px, #ffefb0 12px, #ffefb0 24px);
  border-top: 2px dashed #f0c33d; border-bottom: 2px dashed #f0c33d;
  color: #7a5300; font-size: 13.5px; font-weight: 600;
}
.notice__row b { flex: none; }
.notice__row b::before { content: "📢 "; }

/* ---------- Hero ---------- */
.hero {
  position: relative; z-index: 1; margin-top: 12px;
  padding: 26px 0 34px;
  background:
    radial-gradient(60% 70% at 82% 12%, rgba(255, 255, 255, .85), transparent 60%),
    linear-gradient(160deg, var(--sky-1) 0%, var(--sky-2) 48%, var(--sky-3) 100%);
  border-bottom: 3px solid var(--line);
  overflow: hidden;
}
/* 云朵 */
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 999px;
  background: rgba(255, 255, 255, .78); filter: blur(.4px);
}
.hero::before { width: 160px; height: 44px; top: 42px; left: -34px; box-shadow: 40px -14px 0 -6px rgba(255, 255, 255, .7); }
.hero::after { width: 120px; height: 34px; bottom: 46px; right: -22px; box-shadow: -34px -12px 0 -8px rgba(255, 255, 255, .62); }
.hero__inner { position: relative; z-index: 2; display: grid; gap: 22px; }
.hero__app { display: flex; gap: 14px; align-items: center; }
.hero__logo {
  width: 62px; height: 62px; flex: none; border-radius: 20px;
  background: linear-gradient(150deg, var(--brand), var(--brand-2));
  border: 3px solid #fff; box-shadow: var(--sticker), 0 10px 22px rgba(123, 92, 255, .3);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; font-weight: 800; color: #fff; overflow: hidden;
}
.hero__logo img { width: 100%; height: 100%; object-fit: cover; }
.hero h1 {
  font-size: 27px; letter-spacing: 1px;
  background: linear-gradient(120deg, var(--brand) 10%, var(--brand-2) 60%, #1f1738 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  word-break: break-word;
}
.hero p.slogan { margin: 4px 0 0; color: var(--ink-2); font-size: 14.5px; font-weight: 600; max-width: 34ch; }
.hero__mascot {
  flex: none; width: 56px; margin-left: auto; align-self: flex-start; margin-top: 2px;
  animation: bob 4s ease-in-out infinite; filter: drop-shadow(0 4px 8px rgba(123, 92, 255, .18));
}
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-8px) rotate(3deg); } }

.features { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.features li {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 700; color: var(--ink);
  background: rgba(255, 255, 255, .8); border: 2px solid var(--line);
  border-radius: 999px; padding: 4px 12px; box-shadow: 0 2px 0 rgba(123, 92, 255, .12);
}
.features li::before { content: "✿"; color: var(--brand-2); font-size: 12px; }

/* ---------- 下载按钮（贴纸卡片） ---------- */
.dl { display: grid; gap: 14px; grid-template-columns: 1fr; }
.dl-card {
  position: relative; display: flex; align-items: center; gap: 12px; text-align: left;
  background: var(--paper); color: var(--ink); font: inherit; cursor: pointer; width: 100%;
  border: 3px solid var(--ink); border-radius: 20px; padding: 14px 16px;
  box-shadow: 5px 6px 0 rgba(43, 33, 64, .16);
  transition: transform .14s ease, box-shadow .14s ease;
}
.dl-card:nth-child(odd) { transform: rotate(-.5deg); }
.dl-card:nth-child(even) { transform: rotate(.5deg); }
.dl-card:hover { transform: translateY(-3px) rotate(0deg); box-shadow: 7px 10px 0 rgba(43, 33, 64, .18); }
.dl-card:active { transform: translateY(1px); box-shadow: 2px 3px 0 rgba(43, 33, 64, .18); }
.dl-card::after {
  content: ""; position: absolute; inset: 4px; border-radius: 15px;
  border: 1.5px dashed rgba(123, 92, 255, .28); pointer-events: none;
}
.dl-card.is-recommended { border-color: var(--brand-2); background: linear-gradient(140deg, #fff, var(--sky-1)); }
.dl-card__icon {
  flex: none; width: 44px; height: 44px; border-radius: 14px;
  background: linear-gradient(150deg, var(--brand), var(--brand-2)); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: inset 0 -4px 8px rgba(0, 0, 0, .16);
}
.dl-card__icon svg { width: 25px; height: 25px; fill: currentColor; }
.dl-card__text { min-width: 0; flex: 1; }
.dl-card__title { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; font-weight: 800; font-size: 16.5px; }
.dl-card__sub { display: block; font-size: 12.5px; color: var(--ink-2); margin-top: 3px; font-weight: 600; }
.dl-card__arrow {
  flex: none; width: 30px; height: 30px; border-radius: 50%;
  border: 2px solid var(--ink); display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 800; background: #fff;
}
.badge {
  font-size: 11px; font-weight: 800; color: #fff; padding: 2px 9px; border-radius: 999px;
  background: var(--brand); border: 1.5px solid #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .2);
  letter-spacing: .4px;
}
.badge--green { background: linear-gradient(140deg, #22c55e, #0f9d58); }
.badge--grey { background: #8b84a8; }
.dl__tip { font-size: 13px; color: var(--ink-2); margin: 12px 0 0; font-weight: 600; }
.dl__empty {
  background: rgba(255, 255, 255, .78); border: 3px dashed var(--brand-2); border-radius: 20px;
  padding: 20px 18px; font-size: 14px; font-weight: 700; color: var(--ink-2); text-align: center;
}
.dl__empty::before { content: "(´・ω・`)"; display: block; font-size: 22px; margin-bottom: 6px; color: var(--brand); }

/* 扫码 */
.qr { display: none; margin-top: 10px; }
.qr.is-on { display: block; }
.qr__box {
  background: #fff; border: 3px solid var(--ink); border-radius: 18px; padding: 10px;
  width: 172px; box-shadow: 4px 5px 0 rgba(43, 33, 64, .14);
}
.qr__box img { width: 148px; height: 148px; }
.qr__box p { margin: 6px 0 2px; font-size: 11.5px; color: var(--ink-2); text-align: center; font-weight: 700; }

/* ---------- 通用区块 ---------- */
.section { position: relative; z-index: 1; padding: 34px 0; }
.section--alt { background: rgba(255, 255, 255, .62); border-top: 2px dashed var(--line); border-bottom: 2px dashed var(--line); }
.section__head { display: flex; align-items: flex-end; gap: 10px 14px; flex-wrap: wrap; margin-bottom: 20px; }
.section__head h2 { font-size: 21px; letter-spacing: 1px; }
.section__head h2::after { content: ""; display: block; width: 46px; height: 5px; border-radius: 999px; background: linear-gradient(90deg, var(--brand-2), var(--brand)); margin-top: 6px; }
.section__head p { margin: 0; color: var(--ink-2); font-size: 13.5px; font-weight: 600; }
.section__head .more { margin-left: auto; font-size: 13.5px; color: var(--brand); font-weight: 800; }
.section__head .kana { width: 100%; margin-bottom: -12px; }

.grid { display: grid; gap: 16px; grid-template-columns: 1fr; }

/* 节点软件卡片 */
.node-card {
  position: relative; background: var(--paper); border: 3px solid var(--ink); border-radius: 20px;
  padding: 16px 16px 18px; box-shadow: 5px 6px 0 rgba(43, 33, 64, .12);
  display: flex; flex-direction: column; gap: 10px; transition: transform .14s ease;
}
.node-card:hover { transform: translateY(-3px); }
.node-card__top { display: flex; align-items: center; gap: 11px; }
.node-card__icon {
  width: 40px; height: 40px; border-radius: 13px; flex: none;
  background: var(--sky-2); display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--line);
}
.node-card__icon svg { width: 22px; height: 22px; fill: var(--brand); }
.node-card h3 { font-size: 16px; }
.node-card__plat {
  display: inline-block; margin-top: 4px; font-size: 11px; font-weight: 800; letter-spacing: .6px;
  color: var(--brand); background: var(--sky-2); border-radius: 999px; padding: 1px 9px;
}
.node-card__desc { margin: 0; font-size: 13.5px; color: var(--ink-2); flex: 1; font-weight: 600; }
.node-card__meta { display: flex; gap: 7px; flex-wrap: wrap; }
.node-card__meta i { font-style: normal; font-size: 11.5px; font-weight: 700; color: var(--ink-2); background: #f5f2ff; border: 1.5px solid var(--line); border-radius: 8px; padding: 2px 8px; }
.node-card__badge { position: absolute; top: -10px; right: 12px; transform: rotate(6deg); border-color: var(--brand-2) !important; }

/* 按钮 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  border-radius: 14px; padding: 12px 18px; font: inherit; font-weight: 800; font-size: 15px;
  letter-spacing: .5px; color: #fff; cursor: pointer;
  background: linear-gradient(140deg, var(--brand-2), var(--brand));
  border: 2.5px solid var(--ink); box-shadow: 3px 4px 0 rgba(43, 33, 64, .18);
  transition: transform .12s ease, filter .12s ease;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.05); }
.btn:active { transform: translateY(1px); box-shadow: 1px 2px 0 rgba(43, 33, 64, .18); }
.btn--ghost { background: #fff; color: var(--brand); }
.btn--block { width: 100%; }

/* 教程卡片 */
.tut-card {
  position: relative; background: var(--paper); border: 3px solid var(--ink); border-radius: 20px;
  overflow: hidden; box-shadow: 5px 6px 0 rgba(43, 33, 64, .12);
  display: flex; flex-direction: column; transition: transform .14s ease, box-shadow .14s ease;
}
.tut-card:hover { transform: translateY(-4px) rotate(-.6deg); box-shadow: 7px 10px 0 rgba(43, 33, 64, .14); }
.tut-card__cover {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden;
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .55) 0 8px, transparent 8px 16px),
    linear-gradient(140deg, var(--sky-1), var(--sky-2) 55%, var(--sky-3));
  display: flex; align-items: center; justify-content: center;
  border-bottom: 3px solid var(--ink);
}
.tut-card__cover::after {
  content: "チュートリアル"; position: absolute; bottom: 6px; right: 8px;
  font-size: 10px; font-weight: 800; letter-spacing: 1px; color: var(--brand); opacity: .4;
}
.tut-card__cover svg { width: 40px; height: 40px; fill: var(--brand); opacity: .5; }
.tut-card__cover img { width: 100%; height: 100%; object-fit: cover; }
.tut-card__body { padding: 14px 15px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.tut-card h3 { font-size: 15.5px; }
.tut-card p { margin: 0; font-size: 13px; color: var(--ink-2); flex: 1; font-weight: 600; }
.tut-card time { font-size: 11.5px; color: #a79fc0; font-weight: 700; letter-spacing: .5px; }

/* FAQ：对话气泡 */
.faq { display: grid; gap: 12px; }
.faq details {
  background: #fff; border: 2.5px solid var(--line); border-radius: 18px 18px 18px 6px;
  padding: 13px 16px; box-shadow: 3px 4px 0 rgba(123, 92, 255, .1);
}
.faq details[open] { border-color: var(--brand); }
.faq summary { font-weight: 800; cursor: pointer; list-style: none; font-size: 15px; padding: 11px 0 11px 30px; position: relative; overflow-wrap: anywhere; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before {
  content: "Q"; position: absolute; left: 0; top: 12px; width: 24px; height: 24px;
  border-radius: 8px; background: var(--brand); color: #fff; font-size: 12px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.faq details[open] summary::before { content: "A"; background: var(--brand-2); }
.faq p { margin: 10px 0 0; color: var(--ink-2); font-size: 14px; font-weight: 600; overflow-wrap: anywhere; }

/* ---------- 教程列表 / 详情页 ---------- */
.page-head {
  position: relative; z-index: 1; overflow: hidden; color: var(--ink); padding: 26px 0 24px;
  background:
    radial-gradient(50% 80% at 85% 20%, rgba(255, 255, 255, .8), transparent 60%),
    linear-gradient(150deg, var(--sky-1), var(--sky-2) 55%, var(--sky-3));
  border-bottom: 3px solid var(--line);
}
.page-head h1 { font-size: 25px; letter-spacing: 1.5px; }
.page-head p { margin: 6px 0 0; color: var(--ink-2); font-size: 14px; font-weight: 600; }
.crumb { font-size: 13px; color: var(--ink-2); margin-bottom: 12px; font-weight: 600; }
.crumb a { color: var(--brand); }

.article {
  position: relative; z-index: 1; background: var(--paper);
  border: 3px solid var(--ink); border-radius: 24px; box-shadow: 6px 8px 0 rgba(43, 33, 64, .12);
  padding: 22px 18px 26px; margin: 20px 0 34px;
}
/* 和纸胶带 */
.article::before {
  content: ""; position: absolute; top: -13px; left: 50%; transform: translateX(-50%) rotate(-2.5deg);
  width: 118px; height: 26px; border-radius: 3px; opacity: .85;
  background: repeating-linear-gradient(90deg, var(--brand-2), var(--brand-2) 7px, rgba(255, 255, 255, .65) 7px, rgba(255, 255, 255, .65) 14px);
}
.article h1 { font-size: 23px; margin-bottom: 6px; letter-spacing: 1px; }
.article__meta { color: #a79fc0; font-size: 12.5px; font-weight: 700; padding-bottom: 14px; border-bottom: 2px dashed var(--line); margin-bottom: 16px; letter-spacing: .5px; }
.article__cover { border-radius: 16px; overflow: hidden; border: 2.5px solid var(--ink); margin-bottom: 18px; }
.article__body { font-size: 15.5px; }
.article__body p { margin: 0 0 14px; }
.article__body h2 { font-size: 18px; margin: 24px 0 12px; padding: 6px 0 6px 14px; position: relative; letter-spacing: 1px; }
.article__body h2::before {
  content: ""; position: absolute; left: 0; top: 6px; bottom: 8px; width: 6px; border-radius: 999px;
  background: linear-gradient(180deg, var(--brand-2), var(--brand));
}
.article__body figure {
  margin: 18px auto; padding: 10px 10px 0; background: #fff;
  border: 2.5px solid var(--ink); border-radius: 16px; box-shadow: 4px 5px 0 rgba(43, 33, 64, .1);
  max-width: 520px;
}
.article__body figure img { border-radius: 10px; }
.article__body figcaption { font-size: 12.5px; color: var(--ink-2); margin: 9px 0; text-align: center; font-weight: 700; }
.article__foot { margin-top: 24px; padding-top: 16px; border-top: 2px dashed var(--line); display: flex; gap: 10px; flex-wrap: wrap; }
.related { display: grid; gap: 14px; grid-template-columns: 1fr; }

/* ---------- 状态 ---------- */
.state { position: relative; z-index: 1; padding: 40px 18px; text-align: center; color: var(--ink-2); font-weight: 600; }
.state b { display: block; font-size: 17px; color: var(--ink); margin-bottom: 6px; }
.state a { color: var(--brand); font-weight: 800; }
.skeleton {
  background: linear-gradient(90deg, #f3edff 25%, #fff 50%, #f3edff 75%);
  background-size: 200% 100%; animation: sk 1.3s infinite;
  border-radius: 18px; border: 2px dashed var(--line); height: 74px; margin-bottom: 12px;
}
@keyframes sk { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* ---------- 页脚 ---------- */
.site-foot {
  position: relative; z-index: 1; margin-top: 14px; padding: 26px 0 28px;
  background: linear-gradient(180deg, #2c2350, #1d1734); color: #cfc7ea; font-size: 13.5px;
  border-top: 3px solid var(--brand);
}
.site-foot::before {
  content: ""; position: absolute; inset: 0; opacity: .35; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .5) 1px, transparent 1.4px);
  background-size: 26px 26px;
}
.site-foot__row { position: relative; display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; }
.site-foot__row b { color: #fff; font-size: 15px; letter-spacing: .8px; }
.site-foot a { color: #ffd9ea; font-weight: 700; }
.site-foot__row .sp { margin-left: auto; }
.site-foot small { position: relative; display: block; margin-top: 14px; color: #8f86b8; font-size: 12px; }

/* ---------- 移动端吸底下载条 ---------- */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: none; gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-top: 3px solid var(--ink); box-shadow: 0 -8px 24px rgba(123, 92, 255, .16);
}
.mobile-bar.is-on { display: flex; }
.mobile-bar .btn { flex: 1; padding: 13px 10px; font-size: 15px; }
.mobile-bar .btn--ghost { flex: 0 0 34%; }

/* ---------- 触控与窄屏细节 ---------- */
@media (max-width: 719px) {
  body { padding-bottom: 82px; }
  .nav a:not(.nav__cta) { display: none; }
  .site-head { padding-top: 6px; }
  .hero { padding: 20px 0 28px; }
  .hero__mascot { width: 50px; }
  .hero h1 { font-size: 23px; }
  .dl-card { padding: 13px 14px; }
  .section { padding: 28px 0; }
  .section__head h2 { font-size: 19px; }
  .article { padding: 20px 15px 24px; }
  .tut-card__cover { aspect-ratio: 16 / 8; }
  a, button, summary { -webkit-tap-highlight-color: rgba(123, 92, 255, .16); }
}
@media (max-width: 359px) {
  .wrap { padding: 0 12px; }
  .hero h1 { font-size: 20px; }
  .dl-card__title { font-size: 15px; }
}

/* ---------- 平板 / 桌面 ---------- */
@media (min-width: 600px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .related { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 780px) {
  .hero { padding: 44px 0 52px; }
  .hero__inner { grid-template-columns: 1.05fr .95fr; align-items: center; gap: 30px; }
  .hero h1 { font-size: 34px; }
  .hero p.slogan { font-size: 15.5px; }
  .hero__logo { width: 76px; height: 76px; border-radius: 24px; font-size: 30px; }
  .hero__mascot { width: 84px; }
  .site-head__row { padding: 9px 10px 9px 14px; }
  .section { padding: 46px 0; }
  .section__head h2 { font-size: 24px; }
  .article { padding: 32px 38px 38px; margin-top: 26px; }
  .article h1 { font-size: 28px; }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .related { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .page-head { padding: 34px 0 30px; }
  .page-head h1 { font-size: 30px; }
}
@media (min-width: 1024px) {
  .faq { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
}
/* 横屏手机 / 矮屏：不显示吸底条以外的多余留白 */
@media (max-height: 620px) and (max-width: 820px) {
  .hero { padding: 18px 0 24px; }
  .petals { display: none; }
}
