/* ==========================================================================
   墨迹轻云 · 基础样式（未设计状态）
   --------------------------------------------------------------------------
   只保留最小可用的排版与布局：字体、行宽、间距、分隔线。
   没有卡片、没有配色方案、没有阴影 —— 等设计确定后再加。
   ========================================================================== */

:root {
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
          "Hiragino Sans GB", "Microsoft YaHei", sans-serif;

  --ink: #1a1a1a;
  --ink-2: #555;
  --ink-3: #888;
  --line: #ddd;
  --line-soft: #eee;

  --bg: #fff;
  --bg-alt: #fafafa;
  --bg-fill: #f4f4f4;

  --link: #0b57d0;
  --accent: #0b57d0;

  --radius: 12px;
  --radius-sm: 8px;
}

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

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

main { flex: 1 0 auto; }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { line-height: 1.3; font-weight: 600; }

.wrap { width: min(960px, 100% - 40px); margin-inline: auto; }

/* 顶栏（保留原始样式） */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 251, 253, .82);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, .06);
}
.nav-inner {
  width: 100%; max-width: none;
  height: 64px; display: flex; align-items: center; gap: 44px;
  padding: 0 48px;
}

.logo { display: flex; align-items: center; gap: 9px; flex: 0 0 auto; }
.logo-mark {
  width: 26px; height: 26px; border-radius: 7px;
  display: grid; place-items: center;
  background: var(--ink); color: #fff;
  font-size: 13px; font-weight: 600;
  overflow: hidden;
}
.logo-mark img { width: 100%; height: 100%; object-fit: cover; }
.logo-text { font-size: 15px; font-weight: 600; letter-spacing: -.01em; }

.nav-links { display: flex; align-items: center; gap: 38px; }
.nav-links a {
  position: relative;
  font-size: 14px; letter-spacing: 0;
  color: #6e6e73;
  padding: 4px 0;
  transition: color .2s;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink); font-weight: 600; }
.nav-links a.active::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -8px;
  height: 2px; border-radius: 1px;
  background: currentColor;
}

.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.nav-icon {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  color: rgba(29, 29, 31, .75);
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 50%;
  transition: color .2s, background .2s, border-color .2s;
}
.nav-icon:hover { color: var(--ink); background: rgba(0, 0, 0, .04); border-color: rgba(0, 0, 0, .16); }

/* 内容区 */
main .wrap { padding: 48px 0; }
h1 { font-size: 32px; margin-bottom: 12px; }
h2 { font-size: 20px; margin: 36px 0 12px; }
p { margin-bottom: 12px; color: var(--ink-2); }

/* 列表 */
.app-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-soft); }
.app-list li { border-bottom: 1px solid var(--line-soft); padding: 14px 0; }
.app-list a { display: block; }
.app-list .name { font-weight: 600; }
.app-list .meta { font-size: 13px; color: var(--ink-3); }

/* 版本 */
.release-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-soft); }
.release-list li {
  display: flex; align-items: center; gap: 16px;
  padding: 12px 0; border-bottom: 1px solid var(--line-soft);
  font-size: 14px;
}

/* 表单 */
.form { display: flex; gap: 8px; max-width: 480px; }
.form input {
  flex: 1; min-width: 0;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.form button {
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--bg-fill);
  cursor: pointer;
}

/* 正文 */
.prose { color: var(--ink-2); }
.prose h2 { color: var(--ink); }
.prose code {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 13px;
  background: var(--bg-fill);
  padding: 1px 5px;
  border-radius: 4px;
}
.prose a { color: var(--link); text-decoration: underline; }

/* 页脚 */
.site-foot {
  border-top: 1px solid var(--line-soft);
  margin-top: 48px;
  padding: 24px 0;
  font-size: 13px;
  color: var(--ink-3);
}
.site-foot .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-foot ul { list-style: none; display: flex; gap: 16px; margin: 0; padding: 0; }
.site-foot a:hover { color: var(--ink); }

/* 提示 */
.notice {
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--ink-2);
  font-size: 14px;
}
/* 小屏适配 */
@media (max-width: 720px) {
  .nav-inner { padding: 0 20px; gap: 26px; height: 56px; }
  .nav-links { gap: 22px; }
  .nav-links a { font-size: 13px; }
  .nav-links a.active::after { bottom: -6px; }
  .nav-icon { width: 30px; height: 30px; }
  .wrap { width: calc(100% - 32px); }
}

/* 软件列表（横向条目：左图标 + 右文字） */
.page-title { margin-bottom: 4px; }
.page-title p { color: var(--ink-3); font-size: 14px; }

.soft-list {
  list-style: none; margin: 32px 0 0; padding: 0;
  border-top: 1px solid var(--line-soft);
}
.soft-list li { border-bottom: 1px solid var(--line-soft); }
.soft-list a {
  display: flex; align-items: center; gap: 20px;
  padding: 20px 12px;
  margin: 0 -12px;
  border-radius: 8px;
  transition: background .18s;
}
.soft-list a:hover { background: var(--bg-alt); }

.soft-icon {
  width: 56px; height: 56px; flex: 0 0 auto;
  border-radius: 13px;
  object-fit: cover;
  background: var(--bg-fill);
}
.soft-text { min-width: 0; }
.soft-text h3 {
  font-size: 16px; font-weight: 600; letter-spacing: -.01em;
  margin-bottom: 4px;
}
.soft-text p {
  margin: 0; font-size: 14px; color: var(--ink-2); line-height: 1.55;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 详情页 */
.back { margin-bottom: 24px; font-size: 14px; }
.back a { color: var(--ink-3); }
.back a:hover { color: var(--ink); }

.app-detail { display: flex; gap: 24px; align-items: flex-start; }
.app-detail-icon {
  width: 88px; height: 88px; flex: 0 0 auto;
  border-radius: 20px; object-fit: cover;
  background: var(--bg-fill);
}
.app-detail h1 { font-size: 28px; margin-bottom: 6px; }
.app-detail-sub { font-size: 15px; color: var(--ink-2); margin-bottom: 8px; }
.app-detail-meta { font-size: 13px; color: var(--ink-3); margin: 0; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 38px; padding: 0 22px;
  border-radius: 6px; border: 1px solid var(--ink);
  background: var(--ink); color: #fff;
  font-size: 14px;
  transition: opacity .18s;
}
.btn:hover { opacity: .85; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--bg-alt); opacity: 1; }

.mt-16 { margin-top: 16px; }

/* 博客 */
.blog-head { margin-bottom: 34px; }
.blog-head h1 { font-size: 32px; margin-bottom: 8px; }
.blog-head p { color: var(--ink-2); font-size: 15px; margin: 0; }

.post-list { list-style: none; margin: 16px 0 0; padding: 0; border-top: 1px solid var(--line-soft); }
.post-item { border-bottom: 1px solid var(--line-soft); }
.post-item a {
  display: block; padding: 20px 12px; margin: 0 -12px;
  border-radius: 8px; transition: background .18s;
}
.post-item a:hover { background: var(--bg-alt); }
.post-item time { display: block; font-size: 12.5px; color: var(--ink-3); margin-bottom: 6px; }
.post-item h2 { font-size: 18px; letter-spacing: -.01em; margin-bottom: 6px; }
.post-item p { margin: 0; font-size: 14px; color: var(--ink-2); line-height: 1.55; }

.post { max-width: 720px; }
.post h1 { font-size: 30px; margin-bottom: 8px; }
.post-date { font-size: 13px; color: var(--ink-3); margin-bottom: 24px; }

/* ========== B 风格：深色横幅 + 图文列表 ========== */
.hero-band {
  background: #14233A;
  color: #fff;
  padding: 52px 0 56px;
}
.hero-band h1 { font-size: 40px; letter-spacing: -.02em; }
.hero-band .band-sub {
  color: #AEBACB; font-size: 16px; line-height: 1.6;
  margin-top: 10px; max-width: 560px;
}
.hero-band .band-action { margin-top: 24px; }
.hero-band.sm { padding: 38px 0 42px; }
.hero-band.sm h1 { font-size: 30px; }
.hero-band.sm .band-sub { margin-top: 8px; font-size: 14.5px; }

.btn-hero {
  display: inline-flex; align-items: center; justify-content: center;
  height: 38px; padding: 0 22px;
  border-radius: 980px;
  background: #E4572E; color: #fff;
  font-size: 14px;
  transition: background .2s;
}
.btn-hero:hover { background: #D04B26; }

/* 图文列表 */
.post-list { list-style: none; margin: 0; padding: 0; }
.post-item { border-bottom: 1px solid var(--line-soft); }
.post-item:first-child { border-top: 1px solid var(--line-soft); }
.post-item a {
  display: flex; gap: 26px; align-items: flex-start;
  padding: 26px 12px; margin: 0 -12px;
  border-radius: 10px;
  transition: background .18s;
}
.post-item a:hover { background: var(--bg-alt); }
.post-thumb {
  width: 240px; height: 135px; flex: 0 0 auto;
  border-radius: 10px; object-fit: cover;
  background: var(--bg-fill);
}
.post-main { min-width: 0; display: flex; flex-direction: column; height: 135px; }
.post-main h2 {
  font-size: 20px; letter-spacing: -.01em;
  margin-bottom: 8px;
}
.post-main p {
  margin: 0; font-size: 14px; color: var(--ink-2); line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.post-date { font-size: 12.5px; color: var(--ink-3); margin-top: auto; }

/* 文章页封面 */
.post-cover {
  width: 100%; max-height: 420px; object-fit: cover;
  border-radius: 12px; margin-bottom: 30px;
  background: var(--bg-fill);
}

/* 按钮改成品牌橙 */
.btn { background: #E4572E; border-color: #E4572E; color: #fff; }
.btn:hover { background: #D04B26; border-color: #D04B26; opacity: 1; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--bg-alt); }

@media (max-width: 720px) {
  .hero-band { padding: 38px 0 40px; }
  .hero-band h1 { font-size: 30px; }
  .post-item a { flex-direction: column; gap: 14px; }
  .post-thumb { width: 100%; height: 180px; }
  .post-main { height: auto; }
  .post-date { margin-top: 10px; }
}

/* ========== 动效 ========== */
:root {
  --ease-out: cubic-bezier(.22, .61, .36, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --ease-soft: cubic-bezier(.4, 0, .2, 1);
}

@keyframes mjk-rise {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes mjk-drop {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes mjk-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* 顶栏：从上方落下 */
.nav { animation: mjk-drop .55s var(--ease-out) both; }

/* 横幅内部依次升起 */
.hero-band h1 { animation: mjk-rise .7s var(--ease-out) both; }
.hero-band .band-sub { animation: mjk-rise .7s var(--ease-out) .09s both; }
.hero-band .band-action { animation: mjk-rise .7s var(--ease-out) .18s both; }

/* 列表逐条升起（--i 由模板写入） */
.post-item,
.soft-list li,
.release-list li,
.app-list li {
  animation: mjk-rise .55s var(--ease-out) both;
  animation-delay: calc(var(--i, 0) * 65ms + 120ms);
}

/* 封面图回弹 */
.post-thumb {
  transition: transform .55s var(--ease-spring), box-shadow .4s var(--ease-out);
  will-change: transform;
}
.post-item a:hover .post-thumb {
  transform: scale(1.035);
  box-shadow: 0 10px 24px rgba(20, 35, 58, .12);
}

/* 行背景与标题颜色 */
.post-item a,
.soft-list a {
  transition: background .38s var(--ease-out), transform .38s var(--ease-out);
}
.post-item h2 { transition: color .3s var(--ease-out); }
.post-item a:hover h2 { color: #E4572E; }

/* 软件图标回弹 */
.soft-icon {
  transition: transform .45s var(--ease-spring), box-shadow .4s var(--ease-out);
}
.soft-list a:hover .soft-icon {
  transform: scale(1.07);
  box-shadow: 0 8px 18px rgba(20, 35, 58, .10);
}

/* 详情页图标 */
.app-detail-icon { transition: transform .55s var(--ease-spring); }
.app-detail-icon:hover { transform: scale(1.04) rotate(-2deg); }

/* 按钮：按压回弹 */
.btn, .btn-hero {
  transition: background .25s var(--ease-out), transform .3s var(--ease-spring),
              box-shadow .3s var(--ease-out);
}
.btn:hover, .btn-hero:hover { transform: translateY(-1px); }
.btn:active, .btn-hero:active { transform: scale(.96); }

/* 导航下划线从中间展开 */
.nav-links a { position: relative; }
.nav-links a::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -8px;
  height: 2px; border-radius: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .35s var(--ease-out);
}
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.active::after { transform: scaleX(1); }

/* 搜索按钮 */
.nav-icon { transition: color .25s var(--ease-out), background .25s var(--ease-out),
                        border-color .25s var(--ease-out), transform .4s var(--ease-spring); }
.nav-icon:hover { transform: scale(1.06); }

/* 内容块淡入 */
.wrap > .page-title,
.article,
.post { animation: mjk-fade .5s var(--ease-out) both; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-delay: 0ms !important;
    transition-duration: .001ms !important;
  }
}

/* 页面切换淡入（支持的浏览器生效，其余忽略） */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: mjk-fade .16s var(--ease-out) reverse; }
::view-transition-new(root) { animation: mjk-fade .24s var(--ease-out); }

/* 语言切换 */
.lang-switch {
  display: flex; align-items: center; gap: 5px;
  font-size: 12px; color: var(--ink-3);
  margin-right: 6px;
}
.lang-switch a {
  color: var(--ink-3);
  padding: 2px 1px;
  transition: color .25s var(--ease-out);
}
.lang-switch a:hover { color: var(--ink); }
.lang-switch a.on { color: var(--ink); font-weight: 600; }
.lang-switch span { opacity: .4; font-size: 10px; }

/* 动效加强：更明显的位移与更慢的节奏 */
@keyframes mjk-rise {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes mjk-drop {
  from { opacity: 0; transform: translateY(-14px); }
  to   { opacity: 1; transform: translateY(0); }
}
.nav { animation-duration: .7s; }
.hero-band h1 { animation-duration: .85s; }
.hero-band .band-sub { animation-duration: .85s; animation-delay: .12s; }
.hero-band .band-action { animation-duration: .85s; animation-delay: .24s; }
.post-item,
.soft-list li,
.release-list li,
.app-list li {
  animation-duration: .7s;
  animation-delay: calc(var(--i, 0) * 80ms + 150ms);
}

@media (max-width: 720px) {
  .lang-switch { font-size: 11px; gap: 3px; }
}

/* 横幅改版：浅绿圆角长条，左右留白 */
.hero-band {
  width: min(1180px, calc(100% - 40px));
  margin: 24px auto 0;
  padding: 46px 0 50px;
  border-radius: 22px;
  background: #E4F3E7;
  border: 1px solid #CFE7D5;
  color: #12301E;
}
.hero-band h1 { color: #12301E; }
.hero-band .band-sub { color: #44614D; }
.hero-band.sm {
  padding: 34px 0 38px;
  border-radius: 20px;
  margin-top: 20px;
}
.hero-band.sm h1 { color: #12301E; }

@media (max-width: 720px) {
  .hero-band {
    width: calc(100% - 24px);
    margin-top: 16px;
    padding: 32px 0 36px;
    border-radius: 18px;
  }
  .hero-band.sm { padding: 26px 0 28px; }
}

/* 横幅内部的 .wrap 不带页面级上下内边距 */
.hero-band .wrap { padding: 0; }

/* 右侧社交快捷入口 */
.quick-links {
  position: fixed;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px 10px;
  border-radius: 16px;
  background: rgba(58, 60, 64, .74);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
}
.quick-links a {
  width: 54px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  color: #fff;
  opacity: .85;
  transition: opacity .25s var(--ease-out), transform .35s var(--ease-spring);
}
.quick-links a:hover { opacity: 1; transform: translateY(-2px); }
.quick-links svg { width: 24px; height: 24px; display: block; }
.quick-links span { font-size: 10.5px; letter-spacing: 0; white-space: nowrap; }

@media (max-width: 1100px) {
  .quick-links { right: 10px; padding: 10px 6px; gap: 8px; }
  .quick-links a { width: 44px; }
  .quick-links svg { width: 20px; height: 20px; }
  .quick-links span { font-size: 9.5px; }
}
@media (max-width: 720px) {
  .quick-links { display: none; }
}

/* ========== 主页：居中 Hero + 卡片区块 ========== */
.hero-center { text-align: center; }
.hero-center .display-2 {
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -.02em;
  color: #12301E;
  margin-bottom: 26px;
}
.hero-search {
  display: flex; align-items: center;
  max-width: 620px; margin: 0 auto;
  padding: 6px 6px 6px 22px;
  background: #fff;
  border-radius: 980px;
  box-shadow: 0 10px 28px rgba(18, 48, 30, .10);
}
.hero-search input {
  flex: 1; min-width: 0;
  border: 0; outline: 0; background: transparent;
  font-size: 15px; color: var(--ink);
  height: 42px;
}
.hero-search input::placeholder { color: var(--ink-3); }
.hero-search button {
  height: 42px; padding: 0 26px;
  border: 0; border-radius: 980px;
  background: #E4572E; color: #fff;
  font-size: 14px; cursor: pointer;
  transition: background .25s var(--ease-out), transform .3s var(--ease-spring);
}
.hero-search button:hover { background: #D04B26; }
.hero-search button:active { transform: scale(.96); }

.hero-hot {
  margin-top: 16px;
  font-size: 13px; color: #44614D;
  display: flex; align-items: center; justify-content: center;
  gap: 10px; flex-wrap: wrap;
}
.hero-hot a { color: #2F5A40; border-bottom: 1px dashed rgba(47, 90, 64, .45); }
.hero-hot a:hover { color: #12301E; border-bottom-color: #12301E; }

.section-block { padding: 52px 0 0; }
.section-top {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 16px; margin-bottom: 22px;
}
.section-top h2 { font-size: 22px; letter-spacing: -.02em; }
.section-top .more { font-size: 13px; color: var(--ink-3); white-space: nowrap; }
.section-top .more:hover { color: var(--ink); }

.card-grid {
  display: grid; gap: 20px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
@media (max-width: 1100px) { .card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 820px)  { .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px)  { .card-grid { grid-template-columns: 1fr; } }

.card {
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color .25s var(--ease-out), box-shadow .3s var(--ease-out),
              transform .35s var(--ease-out);
}
.card:hover {
  border-color: var(--line);
  box-shadow: 0 14px 32px rgba(20, 35, 58, .09);
  transform: translateY(-3px);
}
.card-media { aspect-ratio: 16 / 10; background: var(--bg-fill); overflow: hidden; }
.card-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s var(--ease-spring);
}
.card:hover .card-media img { transform: scale(1.04); }
.card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; }
.card-body h3 {
  font-size: 15.5px; line-height: 1.45; letter-spacing: -.01em;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  min-height: 45px;
}
.card-meta {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; font-size: 12px; color: var(--ink-3);
}
.card-meta .tag {
  padding: 2px 8px; border-radius: 6px; background: var(--bg-fill); color: var(--ink-2);
}

/* 下载渠道 */
.download-box {
  margin-top: 20px;
  max-width: 540px;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}
.dl-row {
  display: flex; align-items: center; gap: 14px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line-soft);
}
.dl-row:last-child { border-bottom: 0; }
.dl-name { font-size: 14px; font-weight: 600; min-width: 92px; }
.dl-meta { font-size: 12.5px; color: var(--ink-3); }
.dl-code {
  display: flex; align-items: center; gap: 6px;
  font-size: 12.5px; color: var(--ink-2);
}
.dl-code code {
  font-family: ui-monospace, Consolas, monospace;
  background: var(--bg-fill); padding: 2px 6px; border-radius: 5px;
}
.dl-code button {
  border: 1px solid var(--line); background: #fff; color: var(--ink-2);
  border-radius: 6px; padding: 2px 8px; font-size: 11.5px; cursor: pointer;
}
.dl-code button:hover { border-color: var(--ink-3); color: var(--ink); }
.dl-row .btn { margin-left: auto; }

@media (max-width: 520px) {
  .dl-row { flex-wrap: wrap; gap: 8px; }
  .dl-row .btn { margin-left: 0; width: 100%; }
}

/* 无图标时的首字色块 */
.soft-letter {
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1;
  background: linear-gradient(140deg, var(--g1, #8e8e93), var(--g2, #636366));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18);
  user-select: none;
}

/* 软件截图横条 */
.shot-strip {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 26px 0 8px;
  scroll-snap-type: x proximity;
}
.shot-strip img {
  flex: 0 0 auto;
  width: 300px;
  height: 170px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--line-soft);
  background: var(--bg-fill);
  scroll-snap-align: start;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
.shot-strip img:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(20, 35, 58, .12);
}
.shot-strip::-webkit-scrollbar { height: 8px; }
.shot-strip::-webkit-scrollbar-thumb { background: #d8d8de; border-radius: 4px; }
.shot-strip::-webkit-scrollbar-track { background: transparent; }

@media (max-width: 720px) {
  .shot-strip img { width: 240px; height: 136px; }
}

/* 取消顶栏与页面切换动画 */
.nav { animation: none; }
@view-transition { navigation: none; }
::view-transition-old(root),
::view-transition-new(root) { animation: none; }

/* 软件列表卡片：大图 + 图标 + 文字 */
.app-tiles {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  margin-top: 30px;
}
.app-tile {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  transition: border-color .25s var(--ease-out), box-shadow .3s var(--ease-out),
              transform .3s var(--ease-out);
}
.app-tile:hover {
  border-color: var(--line);
  box-shadow: 0 14px 32px rgba(20, 35, 58, .09);
  transform: translateY(-3px);
}
.app-tile-media {
  aspect-ratio: 16 / 10;
  background: var(--bg-fill);
  overflow: hidden;
}
.app-tile-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s var(--ease-spring);
}
.app-tile:hover .app-tile-media img { transform: scale(1.03); }

.app-tile-body {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px 16px;
}
.app-tile-icon {
  width: 44px; height: 44px; flex: 0 0 auto;
  border-radius: 11px;
  object-fit: cover;
  overflow: hidden;
}
.app-tile-text { min-width: 0; }
.app-tile-text h3 {
  font-size: 15.5px;
  letter-spacing: -.01em;
  margin-bottom: 4px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.app-tile-text p {
  margin: 0;
  font-size: 13px;
  color: var(--ink-3);
  line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 520px) {
  .app-tiles { grid-template-columns: 1fr; gap: 16px; }
}

/* 网址导航 */
.link-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  margin-top: 28px;
}
.link-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 16px 18px;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  background: #fff;
  transition: border-color .25s var(--ease-out), box-shadow .3s var(--ease-out),
              transform .3s var(--ease-out);
}
.link-card:hover {
  border-color: var(--line);
  box-shadow: 0 10px 26px rgba(20, 35, 58, .08);
  transform: translateY(-2px);
}
.link-card b { font-size: 15px; letter-spacing: -.01em; }
.link-card span { font-size: 12.5px; color: var(--ink-3); line-height: 1.55; }
.link-card em { font-style: normal; font-size: 11px; color: var(--ink-3); opacity: .8; }

/* 网址导航：分组卡片 */
.nav-block {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  padding: 20px 22px 22px;
  margin-top: 20px;
}
.nav-block-title {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 17px;
  letter-spacing: -.01em;
  margin-bottom: 16px;
}
.nav-block-title::before {
  content: "";
  width: 3px;
  height: 15px;
  border-radius: 2px;
  background: #E4572E;
}
.nav-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fill, minmax(205px, 1fr));
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--line-soft);
  border-radius: 9px;
  background: #fff;
  transition: border-color .22s var(--ease-out), box-shadow .28s var(--ease-out),
              transform .28s var(--ease-out);
}
.nav-item:hover {
  border-color: rgba(228, 87, 46, .38);
  box-shadow: 0 8px 20px rgba(20, 35, 58, .07);
  transform: translateY(-2px);
}
.nav-item-icon {
  width: 34px; height: 34px; flex: 0 0 auto;
  border-radius: 8px;
  object-fit: cover;
  display: grid; place-items: center;
  font-size: 15px;
  overflow: hidden;
}
.nav-item-text { min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.nav-item-text b {
  font-size: 13.5px; font-weight: 600;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.nav-item-text em {
  font-style: normal; font-size: 11.5px; color: var(--ink-3);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

@media (max-width: 720px) {
  .nav-block { padding: 16px; border-radius: 12px; }
  .nav-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
  .nav-item { padding: 9px 10px; }
  .nav-item-icon { width: 30px; height: 30px; font-size: 13px; }
}

/* 网址导航：站点图标 + 首字兜底 */
.nav-icon-wrap {
  position: relative;
  width: 34px; height: 34px; flex: 0 0 auto;
  border-radius: 8px;
  display: grid; place-items: center;
  overflow: hidden;
  background: linear-gradient(140deg, var(--g1, #8e8e93), var(--g2, #636366));
}
.nav-icon-letter {
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
}
.nav-icon-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 6px;
  background: #fff;
  box-sizing: border-box;
}
@media (max-width: 720px) {
  .nav-icon-wrap { width: 30px; height: 30px; }
  .nav-icon-letter { font-size: 13px; }
  .nav-icon-img { padding: 5px; }
}

/* 详情页界面大图：与主页浅绿横幅同宽、同样圆角 */
.shot-strip {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  width: min(1180px, calc(100vw - 40px));
  margin: 30px 0 34px;
  padding: 0;
  gap: 0;
  border-radius: 22px;
  border: 1px solid #CFE7D5;
  background: #E4F3E7;
  overflow: hidden;
  scroll-snap-type: x mandatory;
}
.shot-strip img {
  flex: 0 0 100%;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  border: 0;
  border-radius: 0;
  background: #fff;
  scroll-snap-align: center;
}
.shot-strip img:hover { transform: none; box-shadow: none; }
.shot-strip::-webkit-scrollbar { height: 6px; }

@media (max-width: 720px) {
  .shot-strip {
    width: calc(100vw - 24px);
    border-radius: 18px;
    margin: 20px 0 26px;
  }
}

/* 详情页界面大图：撑满列宽、固定高度、无白边 */
.shot-strip {
  position: static;
  left: auto;
  transform: none;
  width: 100%;
  height: clamp(240px, 32vw, 420px);
  margin: 30px 0 34px;
  padding: 0;
  gap: 0;
  border: 0;
  border-radius: 20px;
  background: #E4F3E7;
  overflow: hidden;
  scroll-snap-type: x mandatory;
}
.shot-strip img {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center top;
  border: 0;
  border-radius: 0;
  background: #E4F3E7;
  scroll-snap-align: center;
}
.shot-strip img:hover { transform: none; box-shadow: none; }
.shot-strip::-webkit-scrollbar { height: 6px; }

@media (max-width: 720px) {
  .shot-strip {
    height: 220px;
    border-radius: 16px;
    margin: 20px 0 26px;
  }
}

/* 详情页界面大图：固定高度，宽度按图片比例 */
.shot-strip {
  position: static;
  left: auto;
  transform: none;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  width: fit-content;
  max-width: 100%;
  height: clamp(220px, 30vw, 400px);
  margin: 30px 0 34px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow-x: auto;
  overflow-y: hidden;
}
.shot-strip img {
  flex: 0 0 auto;
  height: 100%;
  width: auto;
  max-width: none;
  object-fit: contain;
  border: 0;
  border-radius: 20px;
  background: var(--bg-fill);
  display: block;
  scroll-snap-align: start;
}
.shot-strip img:hover { transform: none; box-shadow: none; }
.shot-strip::-webkit-scrollbar { height: 6px; }

@media (max-width: 720px) {
  .shot-strip {
    height: 200px;
    gap: 10px;
    margin: 20px 0 26px;
  }
  .shot-strip img { border-radius: 16px; }
}

/* 界面大图居中 */
.shot-strip {
  margin-left: auto;
  margin-right: auto;
}

/* 界面大图放大 */
.shot-strip { height: clamp(300px, 40vw, 560px); }
@media (max-width: 720px) {
  .shot-strip { height: 260px; }
}

/* 截图可点击，新标签页查看原图 */
.shot-strip > a {
  display: block;
  flex: 0 0 auto;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
  cursor: zoom-in;
}
.shot-strip > a img {
  height: 100%;
  width: auto;
  border-radius: 0;
  transition: opacity .2s var(--ease-out);
}
.shot-strip > a:hover img { opacity: .88; }

/* 首页视频区块 */
.video-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}
.video-card {
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  transition: border-color .25s var(--ease-out), box-shadow .3s var(--ease-out),
              transform .3s var(--ease-out);
}
.video-card:hover {
  border-color: var(--line);
  box-shadow: 0 12px 28px rgba(20, 35, 58, .09);
  transform: translateY(-2px);
}
.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
}
.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-card p {
  margin: 0;
  padding: 11px 14px 13px;
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.5;
}
@media (max-width: 520px) {
  .video-grid { grid-template-columns: 1fr; }
}

/* 视频：横向排列、可左右滑动、卡片更小 */
.video-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 14px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 10px;
  scroll-snap-type: x proximity;
}
.video-card {
  flex: 0 0 260px;
  scroll-snap-align: start;
}
.video-card p { font-size: 12.5px; padding: 9px 12px 11px; }
.video-grid::-webkit-scrollbar { height: 6px; }
.video-grid::-webkit-scrollbar-thumb { background: #d8d8de; border-radius: 3px; }
.video-grid::-webkit-scrollbar-track { background: transparent; }

@media (max-width: 720px) {
  .video-card { flex: 0 0 220px; }
}

/* 视频卡片：参考资讯卡布局 */
.video-card {
  flex: 0 0 268px;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  overflow: hidden;
}
.video-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 13px;
  background: #2B2F36;
  color: #fff;
  font-size: 12px;
  letter-spacing: .01em;
}
.video-bar span {
  font-size: 11px;
  color: rgba(255, 255, 255, .55);
}
.video-bar:hover { background: #1F2329; }
.video-body { padding: 12px 14px 14px; }
.video-body h3 {
  font-size: 15px;
  line-height: 1.45;
  letter-spacing: -.01em;
  margin-bottom: 9px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  min-height: 43px;
}
.video-meta {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; font-size: 11.5px; color: var(--ink-3);
}
.video-tag {
  padding: 2px 8px;
  border-radius: 6px;
  background: var(--bg-fill);
  color: var(--ink-2);
}
.video-bvid { opacity: .7; }

@media (max-width: 720px) {
  .video-card { flex: 0 0 230px; }
}

/* 导航层级下拉 */
.nav-item { position: relative; display: flex; align-items: center; }
.nav-item > a { display: inline-flex; align-items: center; gap: 4px; }
.nav-item .caret { opacity: .55; transition: transform .2s var(--ease-out); }
.nav-item:hover .caret { transform: rotate(180deg); opacity: .8; }

.nav-sub {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translate(-50%, 6px);
  min-width: 168px;
  padding: 6px;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  box-shadow: 0 14px 34px rgba(20, 35, 58, .10);
  opacity: 0;
  visibility: hidden;
  z-index: 60;
  transition: opacity .18s var(--ease-out), transform .22s var(--ease-out),
              visibility .18s;
}
.nav-item:hover > .nav-sub,
.nav-item:focus-within > .nav-sub {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.nav-sub li { list-style: none; }
.nav-sub a {
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 13.5px;
  color: var(--ink-2);
  white-space: nowrap;
  transition: background .18s var(--ease-out), color .18s var(--ease-out);
}
.nav-sub a:hover { background: var(--bg-fill); color: var(--ink); }
.nav-sub a::after { display: none; }

/* 顶栏与页面分层：白顶栏 + 浅灰背景 + 阴影过渡 */
body {
  background: #F5F6F8;
}
.nav {
  background: #fff;
  border-bottom: 0;
  box-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 8px 24px rgba(16, 24, 40, .06);
}
main { background: transparent; }

/* 视频墙（全部视频页） */
.video-wall {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}
.video-wall .video-card {
  flex: none;
  width: 100%;
}
@media (max-width: 520px) {
  .video-wall { grid-template-columns: 1fr; }
}

/* 非线性入场：缓动 + 阶梯延迟 */
.reveal {
  opacity: 0;
  transform: translate3d(0, 22px, 0) scale(.985);
  transition:
    opacity .62s var(--ease-out),
    transform .78s var(--ease-spring);
  transition-delay: var(--d, 0ms);
  will-change: opacity, transform;
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================================
   方案 C 配色 × 方案 B 质感
   纸感暖色 + 深藏青 + 砖橙，大圆角与柔和阴影
   ========================================================================== */
:root {
  --ink: #12100D;
  --ink-2: #463F36;
  --ink-3: #8C8275;
  --line: #DDD5C7;
  --line-soft: #E9E3D8;

  --bg: #FBF9F5;
  --bg-alt: #F6F2EA;
  --bg-fill: #F1EDE4;

  --paper: #FBF9F5;
  --navy: #14233A;
  --brand: #D9532A;
  --brand-deep: #BE4420;

  --ease-soft: cubic-bezier(.22, .61, .36, 1);
  --ease-pop: cubic-bezier(.34, 1.4, .64, 1);

  --shadow-sm: 0 1px 2px rgba(60, 48, 30, .05), 0 6px 18px rgba(60, 48, 30, .05);
  --shadow-md: 0 2px 6px rgba(60, 48, 30, .06), 0 16px 38px rgba(60, 48, 30, .09);
}

body { background: var(--bg); color: var(--ink); }

/* 顶栏：纸白 + 发丝线 */
.nav {
  background: rgba(253, 252, 249, .92);
  border-bottom: 1px solid var(--line-soft);
  box-shadow: 0 1px 0 rgba(60, 48, 30, .03), 0 8px 26px rgba(60, 48, 30, .05);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
}
.logo-mark {
  background: linear-gradient(150deg, #2A3F5C, var(--navy));
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 4px 12px rgba(20, 35, 58, .22);
}
.nav-links a { color: var(--ink-2); }
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a.active::after { background: var(--brand); }

/* 横幅：暖白渐变 + 藏青文字 */
.hero-band {
  background:
    radial-gradient(120% 150% at 12% 0%, #FFFDF9 0%, #F6EFE2 52%, #EFE6D6 100%);
  border: 1px solid #E6DCCB;
  border-radius: 26px;
  box-shadow: inset 0 1px 0 #fff, 0 18px 44px rgba(60, 48, 30, .09);
}
.hero-band h1, .hero-band .display-2 { color: var(--navy); }
.hero-band .band-sub { color: #5B5348; }

/* 搜索 */
.hero-search {
  background: #fff;
  box-shadow: 0 10px 26px rgba(60, 48, 30, .12), inset 0 0 0 1px rgba(20, 35, 58, .05);
}
.hero-search input { color: var(--ink); }
.hero-search input::placeholder { color: #A79C8B; }
.hero-search button {
  background: linear-gradient(180deg, #E2603A, var(--brand));
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .26), 0 6px 16px rgba(217, 83, 42, .30);
  transition: transform .25s var(--ease-pop), filter .2s var(--ease-soft);
}
.hero-search button:hover { filter: brightness(1.05); background: linear-gradient(180deg, #E2603A, var(--brand)); }
.hero-search button:active { transform: scale(.96); }
.hero-hot { color: #6B6255; }
.hero-hot a { color: var(--navy); border-bottom-color: rgba(20, 35, 58, .35); }
.hero-hot a:hover { color: var(--brand); border-bottom-color: var(--brand); }

/* 按钮 */
.btn-hero, .btn-primary { background: var(--brand); box-shadow: 0 6px 16px rgba(217, 83, 42, .24); }
.btn-hero:hover, .btn-primary:hover { background: var(--brand-deep); }
.btn { border-color: var(--line); }
.btn:hover { border-color: var(--ink-3); }

/* 卡片：无边框 + 柔和阴影（B 的质感） */
.card, .app-tile, .video-card, .link-card, .nav-block, .download-box {
  border-color: transparent;
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease-soft), box-shadow .4s var(--ease-soft);
}
.card:hover, .app-tile:hover, .video-card:hover, .link-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

/* 视频卡深色条改成藏青 */
.video-bar { background: linear-gradient(180deg, #24384F, var(--navy)); }
.video-bar:hover { background: linear-gradient(180deg, #1B2B3E, #0F1A2A); }
.video-tag { background: var(--bg-fill); color: var(--ink-2); }

/* 标签、下拉、页脚 */
.nav-sub { background: #fff; border-color: var(--line-soft); box-shadow: var(--shadow-md); }
.link-card b { color: var(--ink); }
.footer { border-top: 1px solid var(--line-soft); background: transparent; }

/* 区块标题 */
.section-top h2 { letter-spacing: -.02em; }
.section-top .more { color: var(--ink-3); }

@media (max-width: 720px) {
  .hero-band { border-radius: 20px; }
}

/* 配色统一收尾 */
.shot-strip, .video-frame { background: var(--bg-fill); }
.hero-band.sm { background: linear-gradient(180deg, #FFFDF9, #F7F1E5); }
.post-list .post-item, .soft-list li { border-color: var(--line-soft); }
.app-detail-icon, .soft-letter { box-shadow: inset 0 1px 0 rgba(255,255,255,.2); }
::selection { background: rgba(217, 83, 42, .18); }

/* 修复：横向滑动容器裁掉上浮的卡片 */
.video-grid {
  padding: 16px 16px 18px;
  margin: -16px -16px 0;
  overflow-y: hidden;
}
.video-grid .video-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(60, 48, 30, .10);
}
/* 视频页的网格不需要滚动，正常上浮 */
.video-wall { padding: 6px 0 0; }

/* 页脚备案号 */
.foot-icp {
  justify-content: center;
  margin-top: 12px;
  font-size: 12.5px;
  color: var(--ink-3);
}
.foot-icp a { color: var(--ink-3); }
.foot-icp a:hover { color: var(--ink); text-decoration: underline; }