/* 2026-10-26 修复：软件筛选把卡片设 hidden 属性，但 .c-card{display:flex}
   的特异性压过了浏览器默认的 [hidden]{display:none}，
   导致选了分类后全部卡片仍然显示。加通用兜底。 */
[hidden] { display: none !important; }

/* ═══════════════════════════════════════════════════════════════
   Aqua Glass · 深海玻璃
   自主设计的二次元液态玻璃主题（蓝色系 / 全玻璃边框 / 丝滑动效）
   零外部素材、零 AI 生成图像，装饰全部由 CSS 与内联 SVG 绘制
   ═══════════════════════════════════════════════════════════════ */

:root {
  /* 墨色 */
  --ink: #0d1f3c;
  --ink-soft: #3d587d;
  --ink-faint: #7f97b8;

  /* 蓝色主色阶 */
  --azure: #2f6cf6;
  --azure-deep: #1a49c4;
  --sky: #4fb2f0;
  --ice: #8fd0ff;
  --peri: #7c9cff;
  --abyss: #0a2a63;

  /* 底色 */
  --tint: #e6f0ff;
  --cream: #f4f8ff;

  /* 玻璃 */
  --glass-a: rgba(255, 255, 255, .60);
  --glass-b: rgba(255, 255, 255, .30);
  --hair: rgba(255, 255, 255, .92);
  --shadow: 0 16px 44px rgba(26, 73, 196, .14), 0 2px 8px rgba(13, 31, 60, .06);
  --shadow-lift: 0 30px 70px rgba(26, 73, 196, .24), 0 6px 16px rgba(13, 31, 60, .10);
  --shadow-inset: inset 0 1px 0 rgba(255, 255, 255, .95), inset 0 -1px 0 rgba(140, 180, 240, .22);

  /* 圆角 */
  --r-sm: 14px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-xl: 38px;
  --r-pill: 999px;

  /* 缓动：全部走 transform / opacity，保证 60fps */
  --e-expo: cubic-bezier(.16, 1, .3, 1);
  --e-quint: cubic-bezier(.83, 0, .17, 1);
  --e-spring: cubic-bezier(.34, 1.42, .64, 1);
  --e-soft: cubic-bezier(.4, .1, .2, 1);

  --font: "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei",
          -apple-system, "Segoe UI", sans-serif;
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(1200px 760px at 12% -8%, #ffffff 0%, rgba(255,255,255,0) 62%),
    radial-gradient(1000px 700px at 92% 4%, rgba(143, 208, 255, .58) 0%, rgba(143, 208, 255, 0) 60%),
    radial-gradient(1100px 820px at 78% 108%, rgba(124, 156, 255, .46) 0%, rgba(124, 156, 255, 0) 62%),
    linear-gradient(178deg, #eef5ff 0%, #dfeaff 46%, #cfe1ff 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: rgba(47, 108, 246, .18); color: var(--abyss); }

/* ─────────────── 氛围背景：极光 / 光柱 / 浮尘 / 花瓣 ─────────────── */

.bg-scene { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.bg-aurora, .bg-shaft { position: absolute; inset: 0; will-change: transform; }

.bg-aurora span {
  position: absolute; display: block; border-radius: 50%;
  /* 不许加 filter: blur()：动画里有 scale，会逼浏览器每帧重光栅化整块模糊 */
  opacity: .52;
  will-change: transform;
  animation: auroraDrift 26s var(--e-soft) infinite alternate;
}
.bg-aurora span:nth-child(1) { width: 46vw; height: 46vw; left: -8vw; top: -6vw;
  background: radial-gradient(circle, rgba(79,178,240,.85), rgba(79,178,240,0) 68%); }
.bg-aurora span:nth-child(2) { width: 40vw; height: 40vw; right: -6vw; top: 18vh;
  background: radial-gradient(circle, rgba(124,156,255,.85), rgba(124,156,255,0) 68%);
  animation-duration: 32s; animation-delay: -6s; }
.bg-aurora span:nth-child(3) { width: 52vw; height: 52vw; left: 22vw; bottom: -22vw;
  background: radial-gradient(circle, rgba(143,208,255,.8), rgba(143,208,255,0) 68%);
  animation-duration: 38s; animation-delay: -14s; }

@keyframes auroraDrift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(4vw, -3vh, 0) scale(1.14); }
}

/* 斜向光柱，像动画里的丁达尔光 */
.bg-shaft span {
  position: absolute; top: -30%; height: 170%; width: 16vw;
  background: linear-gradient(180deg, rgba(255,255,255,.55), rgba(255,255,255,0) 72%);
  /* 光束本体宽 16vw（≈408px），模糊半径只占宽度 1.5%，10px→6px 肉眼无差别；
     半径越小，每帧滤镜光栅化的代价越低 */
  filter: blur(6px);
  transform: rotate(14deg); opacity: .5;
  animation: shaftSway 18s var(--e-soft) infinite alternate;
}
.bg-shaft span:nth-child(1) { left: 8%; }
.bg-shaft span:nth-child(2) { left: 44%; animation-delay: -7s; opacity: .34; }
.bg-shaft span:nth-child(3) { left: 76%; animation-delay: -12s; opacity: .4; }

/* 旋转角固定：变角度会逼浏览器每帧重画整块模糊，而看得见的摆动本来就来自
   ±3vw 平移与明暗呼吸，这两样全部保留 */
@keyframes shaftSway {
  from { transform: rotate(14deg) translateX(-3vw); opacity: .22; }
  to   { transform: rotate(14deg) translateX(3vw);  opacity: .55; }
}

/* 细网点纹理，给玻璃一点附着物 */
.bg-grain {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(26,73,196,.14) 1px, transparent 1.6px);
  background-size: 26px 26px;
  mask-image: radial-gradient(1000px 700px at 50% 0%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(1000px 700px at 50% 0%, #000 0%, transparent 78%);
  opacity: .5;
}

/* 浮尘光点 */
.bg-motes i {
  position: absolute; bottom: -8vh; display: block;
  border-radius: 50%;
  background: radial-gradient(circle, #fff 0%, rgba(255,255,255,.5) 30%, rgba(143,208,255,.34) 56%, rgba(143,208,255,0) 76%);
  animation: moteRise linear infinite;
  will-change: transform, opacity;
}
@keyframes moteRise {
  0%   { transform: translate3d(0, 0, 0) scale(.6); opacity: 0; }
  12%  { opacity: .9; }
  88%  { opacity: .7; }
  100% { transform: translate3d(var(--dx, 4vw), -116vh, 0) scale(1.1); opacity: 0; }
}

/* 飘落的花瓣（冰蓝＋白，不用粉） */
.bg-petals i {
  position: absolute; top: -6vh; display: block;
  background: linear-gradient(150deg, rgba(255,255,255,.96), rgba(160,205,255,.72));
  border-radius: 62% 38% 60% 40% / 46% 58% 42% 54%;
  box-shadow: 0 2px 8px rgba(26,73,196,.16);
  animation: petalFall linear infinite;
  will-change: transform;
}
@keyframes petalFall {
  0%   { transform: translate3d(0, -6vh, 0) rotate(0deg); opacity: 0; }
  10%  { opacity: .95; }
  100% { transform: translate3d(var(--dx, 8vw), 112vh, 0) rotate(540deg); opacity: .15; }
}

/* ─────────────── 玻璃基元：面板与玻璃边框 ─────────────── */

.glass {
  position: relative;
  background: linear-gradient(158deg, var(--glass-a) 0%, var(--glass-b) 100%);
  -webkit-backdrop-filter: blur(26px) saturate(185%);
  backdrop-filter: blur(26px) saturate(185%);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow), var(--shadow-inset);
}
/* 顶部高光弧 */
.glass::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,.7) 0%, rgba(255,255,255,0) 34%);
  opacity: .8;
}
/* 切割玻璃描边：渐变 + 遮罩挖空，只留 1px 边 */
.glass::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  padding: 1px;
  background: linear-gradient(148deg,
    rgba(255,255,255,.98) 0%,
    rgba(160,205,255,.55) 26%,
    rgba(255,255,255,.10) 52%,
    rgba(124,156,255,.62) 78%,
    rgba(255,255,255,.90) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
}

/* 扫光：只在悬停或指定元素上跑 */
.sheen { overflow: hidden; }
.sheen::after { z-index: 3; }
.sheen > .sheen-run {
  position: absolute; top: -60%; left: -70%; width: 42%; height: 220%;
  background: linear-gradient(100deg, rgba(255,255,255,0), rgba(255,255,255,.72), rgba(255,255,255,0));
  transform: rotate(8deg) translateX(0);
  opacity: 0; pointer-events: none;
}
/* 2026-10-23 站长要求：移除悬停扫光，sheen-run 保持 opacity:0 永不播放 */
.sheen:hover > .sheen-run { animation: none; }
@keyframes sheenRun {
  0%   { opacity: 0; transform: rotate(8deg) translateX(0); }
  18%  { opacity: 1; }
  100% { opacity: 0; transform: rotate(8deg) translateX(420%); }
}

.glass-text {
  font-weight: 700; letter-spacing: .14em; font-size: 12px;
  color: var(--ink-soft); text-transform: uppercase;
}

/* ─────────────── 导航 ─────────────── */

.navbar {
  position: fixed; top: 22px; right: 26px; z-index: 60;
  display: flex; gap: 4px; padding: 6px;
  border-radius: var(--r-pill);
  background: linear-gradient(150deg, rgba(255,255,255,.72), rgba(255,255,255,.42));
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  backdrop-filter: blur(28px) saturate(190%);
  box-shadow: 0 12px 34px rgba(26,73,196,.16), var(--shadow-inset);
  animation: navIn 1s var(--e-expo) both;
}
.navbar::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  padding: 1px;
  background: linear-gradient(148deg, rgba(255,255,255,.98), rgba(160,205,255,.5) 40%, rgba(124,156,255,.6));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
}
@keyframes navIn {
  from { opacity: 0; transform: translate3d(0, -22px, 0) scale(.94); }
  to   { opacity: 1; transform: none; }
}
.navbar a {
  position: relative; z-index: 1;
  padding: 11px 22px; border-radius: var(--r-pill);
  white-space: nowrap;
  font-size: 14px; font-weight: 700; letter-spacing: .04em;
  color: var(--ink-soft); text-decoration: none;
  transition: color .45s var(--e-expo), transform .45s var(--e-spring);
}
.navbar a::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(140deg, var(--azure) 0%, var(--peri) 100%);
  opacity: 0; transform: scale(.82);
  transition: opacity .45s var(--e-expo), transform .55s var(--e-spring);
  z-index: -1;
}
.navbar a:hover {
  color: var(--azure-deep);
  transform: translateY(-2px);
  background: rgba(255, 255, 255, .62);
  box-shadow: 0 4px 14px rgba(26, 73, 196, .14), 0 1px 3px rgba(13, 31, 60, .06), inset 0 0 0 1px rgba(47, 108, 246, .14);
  transition: transform .28s cubic-bezier(.22,.68,.31,.99),
              color .25s ease,
              background .25s ease,
              box-shadow .28s cubic-bezier(.22,.68,.31,.99);
}驱动 */
.navbar a:hover::before { opacity: .14; transform: scale(1); }
.navbar a.active { color: #fff; }
.navbar a.active::before { opacity: 1; transform: scale(1); }

/* ─────────────── 胶囊按钮 / 标签 ─────────────── */

.pill {
  position: relative; display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 32px; border-radius: var(--r-pill);
  font-size: 14px; font-weight: 700; letter-spacing: .05em;
  color: #fff; text-decoration: none; cursor: pointer; border: 0;
  background: linear-gradient(140deg, var(--azure) 0%, var(--peri) 100%);
  box-shadow: 0 14px 30px rgba(47,108,246,.32), inset 0 1px 0 rgba(255,255,255,.5);
  overflow: hidden; isolation: isolate;
  translate: var(--mx, 0px) var(--my, 0px);
  transition: transform .55s var(--e-spring), box-shadow .55s var(--e-expo);
  will-change: transform;
}
.pill::after {
  content: ''; position: absolute; top: 0; left: -80%; width: 55%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.62), transparent);
  transform: skewX(-18deg);
  transition: left .85s var(--e-expo);
  z-index: -1;
}
.pill:hover { transform: translateY(-4px) scale(1.03); box-shadow: 0 24px 48px rgba(47,108,246,.42), inset 0 1px 0 rgba(255,255,255,.6); }
/* 2026-10-23 站长要求：移除按钮悬停扫光带，白带停在场外 */
.pill:hover::after { left: -80%; }
.pill:active { transform: translateY(-1px) scale(.99); }

.pill.ghost {
  color: var(--azure-deep);
  background: linear-gradient(150deg, rgba(255,255,255,.72), rgba(255,255,255,.4));
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  box-shadow: 0 12px 28px rgba(26,73,196,.14), var(--shadow-inset);
}
.pill.ghost:hover { box-shadow: 0 20px 40px rgba(26,73,196,.22), var(--shadow-inset); }

.tag-chip {
  display: inline-flex; align-items: center; padding: 8px 16px;
  border-radius: var(--r-pill); font-size: 12px; font-weight: 700; letter-spacing: .08em;
  color: var(--azure-deep);
  background: linear-gradient(150deg, rgba(255,255,255,.8), rgba(255,255,255,.44));
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(14px);
  box-shadow: 0 6px 18px rgba(26,73,196,.10), inset 0 1px 0 rgba(255,255,255,.95);
}
.tag-chip::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  padding: 1px;
  background: linear-gradient(148deg, rgba(255,255,255,.95), rgba(160,205,255,.45));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
}
.tag-chip { position: relative; }

/* ─────────────── 入场动画（滚动触发） ─────────────── */

.reveal, .reveal-left, .reveal-scale { opacity: 1; transform: none; transition: none; }
.reveal { transform: translate3d(0, 34px, 0); }
.reveal-left { transform: translate3d(-40px, 0, 0); }
.reveal-scale { transform: scale(.9) translate3d(0, 20px, 0); }
.reveal.in, .reveal-left.in, .reveal-scale.in { opacity: 1; transform: none; }

/* ─────────────── 整页翻页（首页） ─────────────── */

html.home-lock, html.home-lock body { height: 100%; overflow: hidden; }
.pages-wrap {
  position: relative; z-index: 1;
  transition: transform 1.05s var(--e-quint);
  will-change: transform;
}
.page {
  min-height: 100vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 96px 20px 72px; position: relative;
}

/* ─────────────── 第一屏：非对称编辑式 hero ─────────────── */

.hero {
  width: min(1280px, 100%);
  display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  gap: clamp(28px, 4vw, 64px); align-items: center;
}
.hero-copy { display: flex; flex-direction: column; gap: 26px; align-items: flex-start; }

.wordmark-row { display: flex; align-items: center; gap: 20px; }

.logo-wrap {
  width: 96px; height: 96px; flex: none;
  display: grid; place-items: center;
  border-radius: 26px; padding: 0; overflow: hidden;
  background: linear-gradient(150deg, #dce9ff, #bcd6ff);
  box-shadow: 0 22px 46px rgba(16,44,110,.30), 0 6px 16px rgba(16,44,110,.18), var(--shadow-inset);
  opacity: 0; transform: scale(.6) rotate(-14deg);
  transition: opacity .9s var(--e-expo), transform 1.1s var(--e-spring);
}
.logo-wrap::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  padding: 1px;
  background: linear-gradient(148deg, rgba(255,255,255,.98), rgba(160,205,255,.5));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
}
.logo-wrap { position: relative; }
.logo-wrap svg, .logo-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.logo-wrap.animate { opacity: 1; transform: none; }
.logo-wrap.animate:hover { transform: translateY(-4px) rotate(-4deg); }

.letter-row { display: flex; gap: 2px; }
.letter-row .l {
  font-size: clamp(58px, 8.4vw, 118px);
  font-weight: 900; line-height: 1.06; letter-spacing: -.01em;
  background: linear-gradient(120deg, var(--azure-deep) 0%, var(--azure) 34%, var(--sky) 62%, var(--peri) 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  opacity: 0; transform: translate3d(0, 46px, 0) rotate(6deg);
  transition: opacity .8s var(--e-expo), transform .95s var(--e-spring), background-position 6s linear;
  will-change: transform, opacity;
}
.letter-row .l.show { opacity: 1; transform: none; animation: hueSlide 7s linear infinite; }
@keyframes hueSlide {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.subtitle {
  margin: 0; font-size: clamp(15px, 1.7vw, 20px);
  letter-spacing: .34em; color: var(--ink-soft); font-weight: 600;
  min-height: 1.6em;
}
.caret {
  display: inline-block; width: 2px; height: 1.05em; margin-left: 4px;
  vertical-align: -.14em; background: var(--azure);
  animation: caretBlink 1.15s steps(2, start) infinite;
}
@keyframes caretBlink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-badges { display: flex; gap: 10px; flex-wrap: wrap; }

/* hero 右侧视觉台 */
.hero-visual { position: relative; display: grid; place-items: center; }
.stage {
  position: relative; width: min(520px, 100%); aspect-ratio: 4 / 5;
  max-width: calc(70vh * .8);
  border-radius: var(--r-xl);
  background: linear-gradient(158deg, rgba(255,255,255,.66), rgba(255,255,255,.26));
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  backdrop-filter: blur(28px) saturate(190%);
  box-shadow: var(--shadow-lift), var(--shadow-inset);
  overflow: hidden;
  transition: transform 1s var(--e-expo), box-shadow 1s var(--e-expo);
  will-change: transform;
}
.stage::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  padding: 1.5px;
  background: linear-gradient(148deg,
    rgba(255,255,255,.98), rgba(160,205,255,.5) 30%,
    rgba(255,255,255,.12) 55%, rgba(124,156,255,.7) 82%, rgba(255,255,255,.95));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  z-index: 4;
}
.stage svg { position: absolute; inset: 0; width: 100%; height: 100%; }

/* 舞台里的分层视差（transform 由 JS 每帧插值驱动，不可加 transition） */
.layer { position: absolute; inset: 0; will-change: transform; }

/* 舞台角标 */
.stage-badge {
  position: absolute; right: 16px; top: 16px; z-index: 5;
  padding: 9px 16px; border-radius: var(--r-pill);
  font-size: 11px; font-weight: 800; letter-spacing: .1em;
  color: var(--azure-deep);
  background: rgba(255,255,255,.78);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 24px rgba(26,73,196,.18), inset 0 1px 0 #fff;
  animation: floatY 6s var(--e-soft) infinite;
}

/* 舞台下方说明 */
.stage-note {
  margin: 18px 0 0; max-width: 460px; text-align: center;
  font-size: 11.5px; line-height: 1.8; color: var(--ink-soft);
}

@keyframes floatY {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -12px, 0); }
}
.stage-badge { animation-name: floatY; }

/* SVG 内部动画 */
.sun-pulse { transform-origin: center; animation: sunPulse 7s var(--e-soft) infinite; }
@keyframes sunPulse { 0%,100% { opacity: .82; transform: scale(1); } 50% { opacity: 1; transform: scale(1.07); } }
.cloud-a { animation: cloudDrift 26s linear infinite; }
.cloud-b { animation: cloudDrift 38s linear infinite reverse; }
@keyframes cloudDrift { 0% { transform: translateX(-14%); } 50% { transform: translateX(14%); } 100% { transform: translateX(-14%); } }
.orb-bob { animation: orbBob 5.4s var(--e-soft) infinite; transform-origin: center; }
@keyframes orbBob { 0%,100% { transform: translate3d(0,0,0) rotate(0deg); } 50% { transform: translate3d(0,-16px,0) rotate(8deg); } }
.ray-flick { animation: rayFlick 9s var(--e-soft) infinite; }
@keyframes rayFlick { 0%,100% { opacity: .28; } 50% { opacity: .68; } }
.ripple { animation: rippleGo 6s var(--e-soft) infinite; transform-origin: center; }
@keyframes rippleGo { 0%,100% { transform: scaleX(1); opacity: .5; } 50% { transform: scaleX(1.12); opacity: .85; } }

/* 向下滚动提示 */
.scroll-hint {
  position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 11px; letter-spacing: .28em; color: var(--ink-faint); font-weight: 700;
  animation: hintFade 3.4s var(--e-soft) infinite;
}
.scroll-hint .arrow {
  width: 13px; height: 13px; border-right: 2px solid var(--azure); border-bottom: 2px solid var(--azure);
  transform: rotate(45deg); animation: bounceArrow 2s var(--e-soft) infinite;
}
@keyframes bounceArrow { 0%,100% { transform: rotate(45deg) translate3d(0,0,0); } 50% { transform: rotate(45deg) translate3d(5px,5px,0); } }
@keyframes hintFade { 0%,100% { opacity: .55; } 50% { opacity: 1; } }

/* ─────────────── 第二屏：bento 功能格 ─────────────── */

.section-title {
  margin: 0 0 10px; text-align: center;
  font-size: clamp(30px, 4.4vw, 54px); font-weight: 900; letter-spacing: -.02em;
  color: var(--ink);
}
.section-title em {
  font-style: normal;
  background: linear-gradient(120deg, var(--azure) 0%, var(--sky) 50%, var(--peri) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.section-sub {
  margin: 0 0 34px; text-align: center;
  font-size: 13px; letter-spacing: .3em; color: var(--ink-faint); font-weight: 700;
}

.bento {
  width: min(1180px, 100%);
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.glass-card {
  position: relative; grid-column: span 1;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 10px;
  min-height: 218px; padding: 26px;
  border-radius: var(--r-lg); overflow: hidden;
  opacity: 0; transform: translate3d(0, 40px, 0) scale(.96);
  transition: opacity .95s var(--e-expo), transform 1.05s var(--e-expo), box-shadow .7s var(--e-expo);
  will-change: transform, opacity;
}
.glass-card.visible { opacity: 1; transform: none; }
.glass-card.wide { grid-column: span 2; }

.glass-card .fn-text { display: flex; flex-direction: column; gap: 9px; min-width: 0; }

/* 宽卡改成横排：左图标 + 右文字，避免右侧大片留白 */
.glass-card.wide {
  flex-direction: row; align-items: center; gap: 30px;
}
.glass-card.wide .icon-wrap { position: static; flex: none; width: 66px; height: 66px; }
/* 宽卡的底板更大，图形也要跟着放大，否则小卡反而比大卡饱满 */
.glass-card.wide .icon-wrap svg { width: 40px; height: 40px; }
.glass-card.wide .fn-text { flex: 1; }
.glass-card.wide .fn-name { font-size: 22px; }
.glass-card.wide .fn-desc { max-width: 640px; }

.glass-card .icon-wrap {
  position: absolute; left: 26px; top: 26px;
  width: 58px; height: 58px; display: grid; place-items: center;
  border-radius: 18px;
  background: linear-gradient(150deg, rgba(255,255,255,.92), rgba(200,225,255,.6));
  box-shadow: 0 10px 24px rgba(26,73,196,.16), inset 0 1px 0 #fff;
  transition: transform .8s var(--e-spring);
}
.glass-card .icon-wrap svg { width: 30px; height: 30px; color: var(--azure-deep); }

.glass-card .fn-name {
  font-size: 19px; font-weight: 900; letter-spacing: .01em; color: var(--ink);
}
.glass-card .fn-desc {
  font-size: 13px; line-height: 1.85; color: var(--ink-soft);
}
/* 卡片右上角的水印序号，填补大卡留白 */
.glass-card .fn-idx {
  position: absolute; right: 18px; top: 8px;
  font-size: 74px; font-weight: 900; line-height: 1; letter-spacing: -.05em;
  color: rgba(47,108,246,.09);
  transition: color .7s var(--e-expo), transform .9s var(--e-expo);
}
/* 卡片底部渐变条 */
.glass-card .fn-bar {
  position: absolute; left: 0; bottom: 0; height: 3px; width: 100%;
  background: linear-gradient(90deg, var(--azure), var(--sky), var(--peri));
  transform: scaleX(0); transform-origin: left;
  transition: transform .9s var(--e-expo);
}

/* ─────────────── 第三屏：横向时间轴轨道 ─────────────── */

.tl-wrap { width: min(1180px, 100%); position: relative; }
.tl-rail {
  position: relative; overflow-x: auto; overflow-y: hidden;
  padding: 46px 4px 30px; margin: 0;
  scroll-snap-type: x proximity;
  scrollbar-width: thin; scrollbar-color: rgba(47,108,246,.4) transparent;
  -webkit-overflow-scrolling: touch;
}
.tl-rail::-webkit-scrollbar { height: 6px; }
.tl-rail::-webkit-scrollbar-thumb { background: rgba(47,108,246,.35); border-radius: 99px; }
.tl-rail::-webkit-scrollbar-track { background: rgba(255,255,255,.4); border-radius: 99px; }

.tl-track { display: flex; gap: 16px; position: relative; padding: 0 4px; }
/* 贯穿横线 */
.tl-track::before {
  content: ''; position: absolute; left: 0; right: 0; top: 8px; height: 2px;
  background: linear-gradient(90deg, rgba(47,108,246,.1), rgba(47,108,246,.55), rgba(124,156,255,.15));
  border-radius: 99px;
}

.tl-item {
  position: relative; flex: 0 0 250px; scroll-snap-align: start;
  padding: 34px 20px 20px;
  border-radius: var(--r-md);
  opacity: 0; transform: translate3d(0, 26px, 0);
  transition: opacity .9s var(--e-expo), transform 1s var(--e-expo), box-shadow .6s var(--e-expo);
  will-change: transform, opacity;
}
.tl-item.visible { opacity: 1; transform: none; }
.tl-dot {
  position: absolute; left: 20px; top: 2px; width: 14px; height: 14px; border-radius: 50%;
  background: linear-gradient(140deg, var(--azure), var(--sky));
  box-shadow: 0 0 0 4px rgba(255,255,255,.85), 0 6px 16px rgba(47,108,246,.4);
  transition: transform .7s var(--e-spring);
}
.tl-year {
  font-size: 26px; font-weight: 900; letter-spacing: -.01em;
  background: linear-gradient(120deg, var(--azure-deep), var(--sky));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  margin-bottom: 8px;
}
.tl-text { font-size: 12.5px; line-height: 1.9; color: var(--ink-soft); }

.tl-hint {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  margin-top: 6px; font-size: 11px; letter-spacing: .22em; color: var(--ink-faint); font-weight: 700;
}
.tl-hint .swipe {
  width: 30px; height: 16px; border-radius: 99px;
  border: 1.5px solid rgba(47,108,246,.45); position: relative;
}
.tl-hint .swipe::after {
  content: ''; position: absolute; top: 3px; left: 4px; width: 7px; height: 7px; border-radius: 50%;
  background: var(--azure); animation: swipeGo 2.4s var(--e-soft) infinite;
}
@keyframes swipeGo { 0%,100% { transform: translateX(0); } 50% { transform: translateX(13px); } }

/* ─────────────── 子页外壳 ─────────────── */

.shell {
  position: relative; z-index: 1;
  /* 子页内容区要跟着视口长大，否则宽屏上两侧全是空白 */
  width: min(1900px, 94%); margin: 0 auto; padding: 118px 20px 90px;
}
.shell-head { margin-bottom: 26px; }
.shell-head h1 {
  margin: 0 0 8px; font-size: clamp(34px, 5vw, 58px); font-weight: 900; letter-spacing: -.02em;
  background: linear-gradient(120deg, var(--ink) 0%, var(--azure-deep) 55%, var(--sky) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.shell-head .sub { margin: 0; font-size: 13px; letter-spacing: .26em; color: var(--ink-faint); font-weight: 700; }

.filter-bar {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 12px 18px; margin-bottom: 26px;
  border-radius: var(--r-pill);
}
.glass-btn {
  position: relative; padding: 10px 22px; border: 0; cursor: pointer;
  border-radius: var(--r-pill); font-family: inherit;
  font-size: 13px; font-weight: 800; letter-spacing: .06em;
  color: var(--azure-deep);
  background: linear-gradient(150deg, rgba(255,255,255,.86), rgba(210,232,255,.5));
  box-shadow: 0 8px 20px rgba(26,73,196,.12), inset 0 1px 0 #fff;
  transition: transform .35s ease, box-shadow .35s ease, color .25s ease;
}
.glass-btn:hover { transform: translateY(-3px); box-shadow: 0 16px 32px rgba(26,73,196,.2), inset 0 1px 0 #fff; }
.glass-btn:active { transform: translateY(-1px) scale(.98); }

.placeholder {
  padding: 46px 26px; text-align: center;
  font-size: 13px; letter-spacing: .24em; color: var(--ink-faint); font-weight: 700;
  border-radius: var(--r-md);
  background: linear-gradient(158deg, rgba(255,255,255,.42), rgba(255,255,255,.16));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), inset 0 -1px 0 rgba(140,180,240,.26),
              0 10px 26px rgba(26,73,196,.07);
}

/* 子页内容纵向堆叠 */
.shell-body { display: flex; flex-direction: column; gap: 22px; }

/* 子页左右分栏：左文字面板 + 右自绘玻璃装置 */
.split {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: 22px; align-items: stretch;
}
.split > .glass { display: flex; flex-direction: column; justify-content: center; }
.split > .glass > .tag-chip { align-self: flex-start; }
.split > .totem { display: grid; }

/* ─────────────── 插件卡格 ─────────────── */

/* 分类面板：默认收起，点开时丝滑入场 */
.pane { display: none; flex-direction: column; gap: 24px; padding: clamp(22px, 3vw, 38px); }
.pane.show { display: flex; animation: none; }
@keyframes paneIn {
  from { opacity: 0; transform: translate3d(0, 30px, 0) scale(.985); }
  to   { opacity: 1; transform: none; }
}
.pane-head { display: flex; flex-direction: column; gap: 8px; }
.pane-head .tag-chip { align-self: flex-start; }
.pane-head h2 { margin: 6px 0 0; font-size: clamp(20px, 2.6vw, 26px); font-weight: 900; color: var(--ink); }
.pane-head p { margin: 0; font-size: 13.5px; color: var(--ink-soft); }

/* 内容区加宽后不能再写死列数：列数随可用宽度自动增加，
   最小卡宽跟着视口在 264~300px 之间收放，加宽只多放卡片、不等比放大卡片 */
.plugin-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(clamp(264px, 15vw, 300px), 1fr)); gap: 16px; }
.c-card {
  position: relative; display: flex; flex-direction: column; gap: 10px;
  padding: 13px 13px 15px; border-radius: var(--r-md); cursor: pointer; overflow: hidden;
  transition: transform .8s var(--e-expo), box-shadow .8s var(--e-expo);
}
.c-card .z-img {
  position: relative; border-radius: var(--r-sm); overflow: hidden; aspect-ratio: 16 / 10;
  background: linear-gradient(150deg, #dce9ff, #c3d9ff);
}
.c-card .z-img img { width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 1.4s var(--e-expo); }
.c-card h3 { margin: 0; font-size: 14.5px; font-weight: 900; color: var(--ink); }
.c-card .z-desc { margin: 0; font-size: 11.5px; line-height: 1.75; color: var(--ink-soft);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.c-card .open-hint {
  margin-top: auto; font-size: 11px; font-weight: 800; letter-spacing: .1em; color: var(--azure);
  display: flex; align-items: center; gap: 8px;
}
.c-card .open-hint::after {
  content: ''; width: 22px; height: 1.5px; background: linear-gradient(90deg, var(--azure), transparent);
  transition: width .7s var(--e-expo);
}

/* ─────────────── 详情页 ─────────────── */

.detail-frame { padding: 0; overflow: hidden; margin-bottom: 26px; }
.detail-hero { position: relative; aspect-ratio: 21 / 9; overflow: hidden; background: #cfe0ff; }
.detail-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* 只保留底部淡出，让宣传图自然接上页面底色，不再给图蒙蓝色 */
.detail-hero::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(244,248,255,0) 0%, rgba(244,248,255,0) 55%, rgba(244,248,255,.92) 100%);
}
.detail-body { padding: clamp(24px, 3.4vw, 44px); }
.detail-body h1 {
  margin: 0 0 6px; font-size: clamp(26px, 3.6vw, 42px); font-weight: 900; letter-spacing: -.02em; color: var(--ink);
}
.detail-body .ver { font-size: 12px; letter-spacing: .2em; color: var(--azure); font-weight: 800; margin-bottom: 18px; }
.detail-body .body-text { font-size: 14px; line-height: 2; color: var(--ink-soft); margin: 0 0 28px; }

.feat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.feat-item {
  padding: 18px 20px; border-radius: var(--r-md);
  background: linear-gradient(150deg, rgba(255,255,255,.66), rgba(255,255,255,.3));
  box-shadow: 0 8px 22px rgba(26,73,196,.08), inset 0 1px 0 rgba(255,255,255,.9);
  transition: transform .7s var(--e-expo), box-shadow .7s var(--e-expo);
}
.feat-item b { display: block; font-size: 14px; font-weight: 900; color: var(--azure-deep); margin-bottom: 6px; }
.feat-item span, .feat-item p { font-size: 12.5px; line-height: 1.85; color: var(--ink-soft); margin: 0; }
.feat-item.full { grid-column: 1 / -1; }

.detail-cta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.detail-foot { padding: 0 clamp(24px, 3.4vw, 44px) clamp(26px, 3.4vw, 44px); }

/* 双栏：左说明右亮点 */
.detail-split {
  display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: 22px; align-items: stretch;
}
.detail-split .panel { padding: clamp(22px, 3vw, 34px); }

/* 装饰性玻璃立柱（替代外借立绘位） */
.totem {
  position: relative; display: grid; place-items: center; padding: 26px;
  border-radius: var(--r-lg); overflow: hidden;
  background: linear-gradient(158deg, rgba(255,255,255,.6), rgba(255,255,255,.24));
  -webkit-backdrop-filter: blur(24px) saturate(185%);
  backdrop-filter: blur(24px) saturate(185%);
  box-shadow: var(--shadow), var(--shadow-inset);
  min-height: 260px;
}
.totem::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; padding: 1px;
  background: linear-gradient(148deg, rgba(255,255,255,.98), rgba(160,205,255,.5) 34%, rgba(124,156,255,.66) 78%, rgba(255,255,255,.94));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
}
.totem svg { width: 100%; height: auto; max-height: 420px; }
.totem > svg { position: relative; z-index: 1; }
.totem .tag-chip { position: absolute; left: 20px; top: 20px; z-index: 2; }
.totem-glow {
  position: absolute; left: 50%; top: 58%; width: 62%; height: 34%;
  transform: translateX(-50%); border-radius: 50%; filter: blur(46px);
  background: radial-gradient(circle, rgba(143,208,255,.92), rgba(124,156,255,0) 70%);
  pointer-events: none;
}
.totem-float {
  position: relative; z-index: 1; width: 100%; display: grid; place-items: center;
  animation: floatY 7.5s var(--e-soft) infinite;
  will-change: transform;
}

.foot-note {
  margin-top: 40px; text-align: center; font-size: 11.5px; line-height: 2;
  letter-spacing: .06em; color: var(--ink-faint);
}

/* ─────────────── 公告弹窗 ─────────────── */

.notice-mask {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center; padding: 20px;
  background: rgba(13, 31, 60, .28);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  backdrop-filter: blur(16px) saturate(160%);
  opacity: 0; transition: opacity .6s var(--e-expo);
}
.notice-mask.show { opacity: 1; }
.notice-card {
  position: relative; width: min(440px, 100%); padding: 34px 30px 28px;
  border-radius: var(--r-xl); text-align: center;
  background: linear-gradient(158deg, rgba(255,255,255,.82), rgba(255,255,255,.56));
  -webkit-backdrop-filter: blur(34px) saturate(190%);
  backdrop-filter: blur(34px) saturate(190%);
  box-shadow: 0 40px 90px rgba(13,31,60,.3), var(--shadow-inset);
  opacity: 0; transform: translate3d(0, 26px, 0) scale(.94);
  transition: opacity .7s var(--e-expo), transform .9s var(--e-spring);
}
.notice-mask.show .notice-card { opacity: 1; transform: none; }
.notice-card::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; padding: 1.5px;
  background: linear-gradient(148deg, rgba(255,255,255,.98), rgba(160,205,255,.55) 40%, rgba(124,156,255,.7));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
}
.notice-card h3 { margin: 0 0 14px; font-size: 20px; font-weight: 900; color: var(--ink); }
.notice-card p { margin: 0 0 10px; font-size: 13.5px; line-height: 1.95; color: var(--ink-soft); }
.notice-card .pill { margin-top: 18px; }

/* ─────────────── 响应式 ─────────────── */

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; gap: 34px; }
  .hero-visual { order: 2; }
  .stage { width: min(420px, 100%); aspect-ratio: 5 / 5; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .glass-card { grid-column: span 1; }
  .glass-card.wide { grid-column: span 2; }
  .plugin-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-split { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  /* 导航胶囊回到顶部右侧，与左上角的账号入口同一行 */
  .navbar { top: 12px; right: 12px; gap: 1px; padding: 4px; }
  .navbar a { padding: 8px 10px; font-size: 12.5px; }
  .page { padding: 84px 16px 72px; }
  .hero { gap: 20px; }
  .hero-copy { gap: 18px; }
  .stage { width: min(320px, 80vw); }
  .stage-note { margin-top: 12px; font-size: 11px; }
  .bento { grid-template-columns: 1fr; }
  .glass-card, .glass-card.wide { grid-column: span 1; min-height: 190px; }
  .glass-card.wide { flex-direction: column; align-items: flex-start; gap: 12px; }
  .glass-card.wide .icon-wrap { width: 58px; height: 58px; }
  .glass-card.wide .fn-name { font-size: 19px; }
  .feat-grid { grid-template-columns: 1fr; }
  .shell { padding: 92px 16px 90px; }
}

@media (max-width: 480px) {
  .plugin-grid { grid-template-columns: 1fr; }
  .wordmark-row { flex-direction: column; align-items: flex-start; gap: 14px; }
  .logo-wrap { width: 68px; height: 68px; }
  .glass-card .fn-idx { display: none; }
}

/* ─────────────── 无障碍：尊重系统减动效偏好 ─────────────── */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    /* 2026-10-23 调整：0.001ms 会让悬停变化变成瞬间跳变（看起来像故障），
       改为 0.15s 短过渡 —— 尊重减少动态偏好，但不产生瞬间跳变 */
    transition-duration: .15s !important;
    scroll-behavior: auto !important;
  }
  .bg-motes, .bg-petals { display: none; }
  .reveal, .reveal-left, .reveal-scale, .glass-card, .tl-item { opacity: 1 !important; transform: none !important; }
}

/* ═══════════════════════════════════════════════════════════════
   Aqua Account · 左上角账号入口
   触发器与右侧导航同材质同高度；下拉为深色克制面板
   零外部素材，图标全部内联 SVG
   ═══════════════════════════════════════════════════════════════ */

.ac {
  /* 与 .navbar 同一光学行：top/right 对称，z 只比导航高一层 */
  position: fixed; top: 22px; left: 26px; z-index: 61;
  --ac-h: 40px;                 /* 内层高度，脚本按真实导航高度校正 */
  padding: 6px;
  border-radius: var(--r-pill);
  background: linear-gradient(150deg, rgba(255, 255, 255, .72), rgba(255, 255, 255, .42));
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  backdrop-filter: blur(28px) saturate(190%);
  box-shadow: 0 12px 34px rgba(26, 73, 196, .16), var(--shadow-inset);
  animation: acIn 1s var(--e-expo) both;
}
.ac::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  padding: 1px;
  background: linear-gradient(148deg, rgba(255, 255, 255, .98), rgba(160, 205, 255, .5) 40%, rgba(124, 156, 255, .6));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
}
@keyframes acIn {
  from { opacity: 0; transform: translate3d(0, -22px, 0) scale(.94); }
  to   { opacity: 1; transform: none; }
}

/* ─────────── 触发器 ─────────── */

.ac-btn {
  display: flex; align-items: center; gap: 9px;
  height: var(--ac-h);
  padding: 0 12px 0 10px;
  border: 0; border-radius: var(--r-pill);
  background: transparent;
  color: var(--ink-faint);
  font-family: inherit; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: color .2s var(--e-soft), background-color .2s var(--e-soft);
}
.ac-btn:hover { color: var(--azure-deep); background: rgba(255, 255, 255, .5); }
.ac-btn[data-open="1"] { color: var(--azure-deep); background: rgba(255, 255, 255, .66); }
.ac-btn:focus-visible { outline: 2px solid var(--azure); outline-offset: 2px; }

.ac-ico { flex: 0 0 auto; width: 18px; height: 18px; transition: transform .22s var(--e-spring); }
.ac-btn:hover .ac-ico { transform: scale(1.07); }

.ac-sep { flex: 0 0 auto; width: 1px; height: 15px; background: rgba(13, 31, 60, .14); }

.ac-label {
  font-size: 12.5px; font-weight: 800; letter-spacing: .18em; line-height: 1;
  white-space: nowrap;
}
.ac-name {
  max-width: 132px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font-size: 13px; font-weight: 700; letter-spacing: .04em; line-height: 1;
}
.ac-chev { flex: 0 0 auto; width: 9px; height: 9px; opacity: .8; transition: transform .2s var(--e-expo); }
.ac-btn[data-open="1"] .ac-chev { transform: rotate(180deg); }

/* 头像：首字母刻面，不用外部图片 */
.ac-avatar {
  flex: 0 0 auto;
  display: grid; place-items: center;
  width: 26px; height: 26px; border-radius: 50%;
  font-size: 11.5px; font-weight: 800; line-height: 1;
  color: #fff;
  background: linear-gradient(145deg, var(--azure) 0%, var(--peri) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), 0 2px 8px rgba(26, 73, 196, .3);
}
.ac-avatar.lg { width: 34px; height: 34px; font-size: 14px; }

/* Loading：圆形骨架 + 一条短骨，不显示任何用户名 */
.ac-skel {
  flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%;
  background: linear-gradient(100deg, rgba(127, 151, 184, .18) 30%, rgba(127, 151, 184, .34) 50%, rgba(127, 151, 184, .18) 70%);
  background-size: 220% 100%;
  animation: acShine 1.25s var(--e-soft) infinite;
}
.ac-skelbar {
  width: 58px; height: 8px; border-radius: 4px;
  background: linear-gradient(100deg, rgba(127, 151, 184, .18) 30%, rgba(127, 151, 184, .34) 50%, rgba(127, 151, 184, .18) 70%);
  background-size: 220% 100%;
  animation: acShine 1.25s var(--e-soft) infinite;
}
@keyframes acShine {
  from { background-position: 160% 0; }
  to   { background-position: -60% 0; }
}

/* ─────────── 下拉面板（深色） ─────────── */

.ac-menu {
  position: absolute; top: calc(100% + 10px); left: 0;
  width: 228px; padding: 8px;
  border-radius: 16px;
  border: 1px solid rgba(150, 170, 200, .16);
  background: linear-gradient(160deg, rgba(15, 21, 33, .93), rgba(9, 13, 22, .95));
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 26px 62px rgba(6, 12, 24, .42), inset 0 1px 0 rgba(255, 255, 255, .06);
  color: #d7e0ef;
  opacity: 0; visibility: hidden;
  transform: translate3d(0, -6px, 0) scale(.985);
  transition: opacity .17s var(--e-soft), transform .2s var(--e-expo), visibility 0s linear .2s;
}
.ac-menu[data-show="1"] {
  opacity: 1; visibility: visible;
  transform: none;
  transition: opacity .17s var(--e-soft), transform .2s var(--e-expo), visibility 0s;
}

.ac-group {
  padding: 7px 11px 5px;
  font-size: 10.5px; font-weight: 800; letter-spacing: .2em;
  color: #6f83a0;
}
.ac-item {
  display: flex; align-items: center; gap: 8px;
  width: 100%; padding: 9px 11px;
  border: 0; border-radius: 10px;
  background: transparent;
  font-family: inherit; font-size: 13px; font-weight: 600; letter-spacing: .03em;
  color: #cbd6e8; text-align: left; text-decoration: none;
  cursor: pointer;
  transition: background-color .16s var(--e-soft), color .16s var(--e-soft);
}
.ac-item:hover { background: rgba(124, 156, 255, .13); color: #fff; }
.ac-item:focus-visible { background: rgba(124, 156, 255, .17); color: #fff; outline: 1px solid rgba(143, 208, 255, .55); outline-offset: -1px; }
.ac-item.danger { color: #c9a2a2; }
.ac-item.danger:hover { background: rgba(214, 120, 120, .12); color: #f0cfcf; }

.ac-tag {
  margin-left: auto; flex: 0 0 auto;
  font-size: 9.5px; font-weight: 700; letter-spacing: .1em;
  color: #5f7391;
}

.ac-hr { height: 1px; margin: 6px 8px; background: rgba(150, 170, 200, .14); }

.ac-id { display: flex; align-items: center; gap: 10px; padding: 10px 11px 12px; }
.ac-idtxt { min-width: 0; display: block; }
.ac-nm {
  display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font-size: 13.5px; font-weight: 700; letter-spacing: .02em; color: #f2f6ff;
}
.ac-em {
  display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  margin-top: 3px; font-size: 11px; letter-spacing: .02em; color: #8296b3;
}

.ac-warn {
  padding: 9px 11px; margin-bottom: 4px;
  border-radius: 10px;
  background: rgba(196, 138, 74, .12);
  font-size: 11.5px; line-height: 1.6; color: #d9b78c;
}

.ac-foot {
  margin: 6px 11px 3px; padding-top: 7px;
  border-top: 1px solid rgba(150, 170, 200, .12);
  font-size: 10.5px; line-height: 1.6; color: #6b7f9c;
}

.ac-load { display: flex; gap: 6px; padding: 13px 11px; }
.ac-load i {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(143, 208, 255, .5);
  animation: acDot 1s var(--e-soft) infinite;
}
.ac-load i:nth-child(2) { animation-delay: .15s; }
.ac-load i:nth-child(3) { animation-delay: .3s; }
@keyframes acDot {
  0%, 100% { opacity: .28; transform: translateY(0); }
  50%      { opacity: 1;   transform: translateY(-3px); }
}

.ac-toast {
  max-height: 0; overflow: hidden; padding: 0 11px;
  font-size: 11px; line-height: 1.6; color: #9fd0f5;
  transition: max-height .2s var(--e-expo), padding .2s var(--e-expo);
}
.ac-toast[data-show="1"] { max-height: 46px; padding: 7px 11px 3px; }

/* ─────────── 窄屏：只留图标 ─────────── */

@media (max-width: 768px) {
  .ac { top: 16px; left: 16px; }
  .ac-btn { padding: 0; width: var(--ac-h); justify-content: center; }
  .ac-label, .ac-name, .ac-sep, .ac-chev { display: none; }
  .ac-menu { width: min(224px, calc(100vw - 32px)); }
}

@media (prefers-reduced-motion: reduce) {
  .ac { animation: none; }
  .ac-btn, .ac-ico, .ac-chev, .ac-menu, .ac-item, .ac-toast { transition-duration: .01ms; }
  .ac-skel, .ac-skelbar, .ac-load i { animation: none; }
}

/* ═══════════════════════════════════════════════════════════════
   Aqua Catalog · 前台条目区（分类筛选 / 自绘缺图 / 管理员「+」）
   只新增，不覆盖既有规则；必须排在玻璃与首页样式之后加载。
   ═══════════════════════════════════════════════════════════════ */

/* ── 卡片入场：脚本注入的卡片不走全站 .reveal（观察器只认首次 DOM） ── */
@keyframes catIn {
  from { opacity: 0; transform: translate3d(0, 22px, 0) scale(.985); }
  to { opacity: 1; transform: none; }
}
.cat-in { animation: none !important; }

/* ── 分类筛选条 ── */
.cat-chips {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin: 0 0 18px;
}
.cat-chip {
  appearance: none; cursor: pointer; font: inherit;
  padding: 9px 20px; border-radius: var(--r-pill);
  border: 1px solid rgba(255, 255, 255, .9);
  background: linear-gradient(140deg, rgba(255, 255, 255, .74), rgba(214, 234, 255, .42));
  box-shadow: 0 10px 24px rgba(26, 73, 196, .1), inset 0 1px 0 #fff;
  color: var(--ink-soft); font-size: 13px; font-weight: 900; letter-spacing: .06em;
  transition: transform .35s ease, box-shadow .35s ease, color .35s ease, background .35s ease;
}
.cat-chip:hover { transform: translateY(-3px); color: var(--ink); }
.cat-chip:active { transform: translateY(-1px) scale(.985); }
.cat-chip[aria-pressed="true"] {
  color: #fff;
  background: linear-gradient(140deg, var(--sky), var(--azure) 58%, var(--azure-deep));
  border-color: rgba(255, 255, 255, .96);
  box-shadow: 0 16px 34px rgba(26, 73, 196, .3), inset 0 1px 0 rgba(255, 255, 255, .55);
}
.cat-add {
  margin-left: auto; display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 18px; border-radius: var(--r-pill);
  border: 1.5px dashed rgba(47, 108, 246, .55);
  color: var(--azure); font-size: 13px; font-weight: 900; letter-spacing: .06em;
  text-decoration: none; background: rgba(255, 255, 255, .38);
  transition: transform .35s ease, background .35s ease, border-color .35s ease;
}
.cat-add:hover { transform: translateY(-3px); background: rgba(255, 255, 255, .72); border-color: var(--azure); }

/* ── 教程屏的框内滚动：滚动只能开在网格容器上，且必须限高，
      否则条目一多整屏就顶出视口（首页每屏要完整落在一屏） ── */
.learn-scroll {
  overflow-x: hidden; overflow-y: auto;
  max-height: min(58vh, 560px);
  padding-right: 4px;
  overscroll-behavior: contain;                 /* 滚到框内尽头就收手，不把滚动甩给整屏翻页 */
  scrollbar-width: thin;
  scrollbar-color: rgba(47, 108, 246, .42) transparent;
}
.learn-scroll::-webkit-scrollbar { width: 10px; }
.learn-scroll::-webkit-scrollbar-track { background: transparent; }
.learn-scroll::-webkit-scrollbar-thumb {
  border: 3px solid transparent; border-radius: 99px; background-clip: padding-box;
  background-image: linear-gradient(180deg, rgba(47, 108, 246, .5), rgba(124, 156, 255, .42));
}
.learn-scroll::-webkit-scrollbar-thumb:hover {
  background-image: linear-gradient(180deg, rgba(47, 108, 246, .74), rgba(124, 156, 255, .62));
}

/* ── 管理员「+」块：与卡片同尺寸同圆角，虚线玻璃面 ── */
.add-tile {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; min-height: 168px; padding: 22px 18px;
  border-radius: var(--r-md);
  border: 1.5px dashed rgba(47, 108, 246, .5);
  background: linear-gradient(150deg, rgba(255, 255, 255, .58), rgba(206, 228, 255, .34));
  box-shadow: var(--shadow-inset);
  color: var(--azure-deep); text-decoration: none; text-align: center;
  transition: transform .8s var(--e-expo), box-shadow .8s var(--e-expo), border-color .6s;
}
.add-tile:hover {
  
  border-color: var(--azure);
  
}
.add-tile .add-plus {
  display: grid; place-items: center;
  width: 54px; height: 54px; border-radius: 18px;
  background: linear-gradient(140deg, var(--sky), var(--azure) 60%, var(--azure-deep));
  color: #fff; font-size: 30px; font-weight: 900; line-height: 1;
  box-shadow: 0 14px 30px rgba(26, 73, 196, .3), inset 0 1px 0 rgba(255, 255, 255, .6);
}
.add-tile .add-tx { font-size: 15px; font-weight: 900; letter-spacing: .04em; color: var(--ink); }
.add-tile .add-sub { font-size: 11px; font-weight: 800; letter-spacing: .12em; color: var(--ink-faint); }

/* ── 空状态 ── */
.cat-empty {
  grid-column: 1 / -1;
  padding: clamp(28px, 5vh, 54px) 22px;
  border-radius: var(--r-md);
  border: 1px solid rgba(255, 255, 255, .8);
  background: linear-gradient(150deg, rgba(255, 255, 255, .5), rgba(214, 234, 255, .3));
  text-align: center; font-size: 14px; font-weight: 800; letter-spacing: .04em; color: var(--ink-faint);
}

/* ── 缺图时自绘的玻璃面片 ── */
.z-shard { width: 100%; height: 100%; display: block; }

/* ── 卡片上的分类小标与教程卡的行动提示 ── */
.cat-flag {
  padding: 3px 11px; border-radius: var(--r-pill);
  border: 1px solid rgba(255, 255, 255, .92);
  background: linear-gradient(140deg, rgba(255, 255, 255, .8), rgba(206, 228, 255, .5));
  color: var(--azure-deep); font-size: 11px; font-weight: 900; letter-spacing: .06em;
}
.course .open-hint {
  margin-top: 10px; font-size: 11px; font-weight: 800; letter-spacing: .1em; color: var(--azure);
  display: flex; align-items: center; gap: 8px;
}
.course .open-hint::after {
  content: ''; width: 22px; height: 1.5px; background: linear-gradient(90deg, var(--azure), transparent);
  transition: width .7s var(--e-expo);
}

@media (max-width: 768px) {
  .cat-add { margin-left: 0; }
  .learn-scroll { max-height: none; overflow: visible; padding-right: 0; }
  .add-tile { min-height: 132px; }
}

@media (prefers-reduced-motion: reduce) {
  .cat-in { animation: none; }
}

/* ═══════════════════════════════════════════════════════════════
   Aqua Software v1 · 软件页专用样式（只服务 a.html）
   排版语言向插件页／教程页对齐：顶部同一条玻璃筛选药丸 → 两条分类带 →
   底部分栏（说明玻璃卡 + 自绘装置）。
   卡片不用 16:10 封面块（软件没有可展示的图，硬撑一块图位就臃肿），
   改成「手绘徽记 + 名称 + 两行说明 + 标签」的紧凑横排，宽屏一排四张。
   首页九屏的规则（含 min-height:100vh）不引过来；.glass / .tag-chip /
   .shell / .split / .totem 全部复用玻璃主表，插件页与教程页零改动。
   ═══════════════════════════════════════════════════════════════ */

/* ── 顶部筛选条：与插件页同一位置、同一块玻璃 ── */
.sw-cats { min-width: 0; }
.sw-cats[hidden] { display: none; }
.sw-cats .cat-chips { margin: 0; flex: 1 1 auto; gap: 9px; }

/* 筛选条下面这句会跟着分类改写 */
.sw-lede {
  margin: -14px 2px 4px; font-size: 13px; line-height: 1.8; color: var(--ink-soft);
  letter-spacing: .02em;
}

/* 两条分类带的容器 */
.sw-bands { display: flex; flex-direction: column; gap: 18px; }
.sw-grid .add-tile { min-height: 0; }

/* ── 分类带：一块大玻璃，左缘一条随分类变色的光带 ── */
.sw-band {
  --sw-a1: var(--sky);
  --sw-a2: var(--azure-deep);
  position: relative;
  display: flex; flex-direction: column; gap: 18px;
  padding: clamp(20px, 2.6vw, 32px) clamp(20px, 2.8vw, 34px);
  overflow: hidden;
}
.sw-band[data-sw="graphic-design"] { --sw-a1: var(--peri); --sw-a2: #4a5fe0; }
.sw-band[hidden] { display: none; }
.sw-band::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(180deg, var(--sw-a1), var(--sw-a2));
  opacity: .9;
}
.sw-band--in { animation: swBandIn .95s var(--e-expo) both; }
@keyframes swBandIn {
  from { opacity: 0; transform: translate3d(0, 26px, 0) scale(.987); }
  to   { opacity: 1; transform: none; }
}

/* 带子标题行：徽记 + 名称 + 计数 */
.sw-band-head { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; gap: 14px; align-items: center; }
.sw-band-head h2 {
  margin: 0; font-size: clamp(19px, 2.2vw, 25px); font-weight: 900; letter-spacing: -.01em; color: var(--ink);
}
.sw-band-head .sw-band-en {
  display: block; margin-top: 5px; font-size: 11px; font-weight: 800;
  letter-spacing: .22em; color: var(--ink-faint); text-transform: uppercase;
}
.sw-band-head p { margin: 7px 0 0; font-size: 13px; line-height: 1.8; color: var(--ink-soft); }
.sw-count {
  padding: 6px 15px; border-radius: var(--r-pill); white-space: nowrap;
  font-size: 12px; font-weight: 900; letter-spacing: .08em; color: var(--azure-deep);
  background: linear-gradient(150deg, rgba(255, 255, 255, .92), rgba(206, 228, 255, .62));
  box-shadow: 0 8px 20px rgba(26, 73, 196, .13), inset 0 1px 0 #fff;
}

/* 徽记底盘（带子与卡片共用一套画法，尺寸不同） */
.sw-glyph {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 16px;
  background: linear-gradient(148deg, rgba(255, 255, 255, .95), rgba(190, 220, 255, .58));
  box-shadow: 0 10px 24px rgba(26, 73, 196, .16), inset 0 1px 0 #fff;
  color: var(--azure-deep);
}
.sw-glyph svg { width: 30px; height: 30px; display: block; }

/* 带子下方一条会跑光的细线 */
.sw-rule {
  position: relative; height: 2px; border-radius: 2px; overflow: hidden;
  background: linear-gradient(90deg, rgba(47, 108, 246, .34), rgba(124, 156, 255, .12) 60%, rgba(255, 255, 255, 0));
}
.sw-rule::after {
  content: ''; position: absolute; top: -1px; left: 0; width: 26%; height: 4px; border-radius: 99px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), var(--sw-a1), rgba(255, 255, 255, 0));
  filter: blur(.4px); animation: swRun 4.6s var(--e-soft) infinite;
}
@keyframes swRun { 0% { transform: translateX(-120%); } 70%, 100% { transform: translateX(420%); } }

/* ── 卡片栅格：列数随可用宽度自动增加，加宽只多放卡片、不等比放大 ── */
.sw-grid {
  display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(clamp(258px, 17vw, 316px), 1fr));
}

/* ── 软件卡：徽记在左、文字在右，标签与去处在底行 ── */
.sw-card {
  position: relative; display: flex; flex-direction: column; gap: 12px;
  padding: 16px 16px 14px; border-radius: var(--r-md); overflow: hidden;
  transition: transform .8s var(--e-expo), box-shadow .8s var(--e-expo);
  will-change: transform;
}
.sw-card:hover { transform: none; box-shadow: var(--shadow-lift), var(--shadow-inset); }
.sw-card .sw-top { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 13px; align-items: start; }
.sw-card .sw-badge {
  position: relative; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 19px;
  background: linear-gradient(148deg, rgba(255, 255, 255, .96), rgba(198, 226, 255, .62));
  box-shadow: 0 12px 26px rgba(26, 73, 196, .16), inset 0 1px 0 #fff;
  color: var(--azure-deep);
  animation: swBob 6.4s var(--e-soft) infinite;
}
.sw-card:nth-child(2n) .sw-badge { animation-delay: -1.6s; }
.sw-card:nth-child(3n) .sw-badge { animation-delay: -3.1s; }
.sw-card:nth-child(4n) .sw-badge { animation-delay: -4.4s; }
@keyframes swBob { 0%, 100% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(0, -5px, 0); } }
.sw-card .sw-badge svg { width: 34px; height: 34px; display: block; }
.sw-card .sw-badge::after {
  content: ''; position: absolute; inset: -3px; border-radius: 22px; pointer-events: none;
  border: 1px solid rgba(47, 108, 246, .0);
  transition: border-color .7s var(--e-expo), transform .7s var(--e-expo);
}
.sw-card:hover .sw-badge::after { border-color: rgba(47, 108, 246, .42); transform: scale(1.06); }
.sw-card:hover .sw-badge { color: var(--azure); }

.sw-card h3 { margin: 0; font-size: 16px; font-weight: 900; letter-spacing: -.01em; color: var(--ink); line-height: 1.3; }
.sw-card .sw-en {
  display: block; margin-top: 4px; font-size: 10.5px; font-weight: 800; letter-spacing: .2em;
  text-transform: uppercase;
  background: linear-gradient(120deg, var(--sw-a2) 0%, var(--sw-a1) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: var(--sw-a2);
}
.sw-card .sw-body { min-width: 0; }
.sw-card .sw-desc {
  margin: 9px 0 0; font-size: 12.5px; line-height: 1.85; color: var(--ink-soft);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}

/* 底行：左标签芯片，右去处 */
.sw-card .sw-foot {
  margin-top: auto; padding-top: 11px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  border-top: 1px solid rgba(255, 255, 255, .72);
}
.sw-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.sw-tag {
  padding: 3px 10px; border-radius: var(--r-pill);
  border: 1px solid rgba(255, 255, 255, .92);
  background: linear-gradient(140deg, rgba(255, 255, 255, .78), rgba(206, 228, 255, .46));
  color: var(--ink-soft); font-size: 11px; font-weight: 800; letter-spacing: .04em; white-space: nowrap;
}
.sw-act { margin-left: auto; display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.sw-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: var(--r-pill); text-decoration: none;
  font-size: 11.5px; font-weight: 900; letter-spacing: .05em; color: #fff;
  background: linear-gradient(140deg, var(--sw-a1), var(--sw-a2));
  box-shadow: 0 10px 22px rgba(26, 73, 196, .24), inset 0 1px 0 rgba(255, 255, 255, .5);
  transition: transform .6s var(--e-spring), box-shadow .6s var(--e-expo);
}
.sw-link:hover { transform: translateY(-2px); box-shadow: 0 16px 30px rgba(26, 73, 196, .3), inset 0 1px 0 #fff; }
.sw-link::after {
  content: ''; width: 12px; height: 1.5px; background: currentColor; opacity: .85;
  transition: width .6s var(--e-expo);
}
.sw-link:hover::after { width: 22px; }
.sw-todo {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: var(--r-pill);
  font-size: 11px; font-weight: 900; letter-spacing: .06em; color: var(--ink-faint);
  background: rgba(28, 51, 96, .07);
}
.sw-todo::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--ink-faint); opacity: .6; }

/* 卡片序号：与插件页 .p-no 同一节奏，但更小更贴角，不抢名称 */
.sw-no {
  position: absolute; right: 12px; top: 12px; z-index: 2;
  font-size: 11px; font-weight: 900; letter-spacing: .14em; color: var(--ink-faint); opacity: .72;
}

/* ── 某一条带只有一张卡时改成通栏横排：整块不留空白，看着是有意为之 ── */

/* 宽屏下把底行摊平：标签紧跟说明、去处顶到最右，通栏卡中间不再空一块 */
@media (min-width: 901px) {

}

/* ── 带子空状态 ── */
.sw-empty {
  grid-column: 1 / -1; padding: 26px 20px; text-align: center;
  border-radius: var(--r-md); border: 1px dashed rgba(47, 108, 246, .4);
  background: linear-gradient(150deg, rgba(255, 255, 255, .46), rgba(214, 234, 255, .26));
  font-size: 13px; font-weight: 800; letter-spacing: .06em; color: var(--ink-faint);
}

@media (max-width: 900px) {

}

@media (max-width: 768px) {
  .sw-cats { padding: 10px 12px; }
  .sw-cats .cat-chips { gap: 7px; }
  .sw-band-head { grid-template-columns: 40px minmax(0, 1fr); }
  .sw-band-head .sw-count { grid-column: 2; justify-self: start; }
  .sw-glyph { width: 40px; height: 40px; }
  .sw-card .sw-top { grid-template-columns: 48px minmax(0, 1fr); }
  .sw-card .sw-badge { width: 48px; height: 48px; }
  .sw-card .sw-badge svg { width: 29px; height: 29px; }
  .sw-no { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .sw-band--in, .cat-in, .sw-card .sw-badge, .sw-rule::after { animation: none; }
  .sw-card, .sw-link { transition: none; }
}

/* ═══════════════════════════════════════════════════════════
   Aqua Fav v1 · 收藏胶囊 / 个人中心收藏列表 / 轻提示
   造型语言跟着卡片底部现有的动作条走（同宽同圆角同玻璃描边），
   这样「收藏」摆在「在线观看 / 站内直接下载 / 夸克网盘下载」旁边不像外来件。
   已收藏态用本站主蓝实填，未收藏态保持玻璃空心——不靠颜色也能靠文案分辨。
   ═══════════════════════════════════════════════════════════ */

.fav-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px; border-radius: var(--r-pill, 999px);
  border: 1px solid rgba(255, 255, 255, .9);
  background: linear-gradient(140deg, rgba(255, 255, 255, .76), rgba(214, 234, 255, .44));
  box-shadow: 0 10px 24px rgba(26, 73, 196, .1), inset 0 1px 0 #fff;
  color: var(--azure-deep, #1a49c4);
  font: inherit; font-size: 12px; font-weight: 900; letter-spacing: .05em;
  cursor: pointer; -webkit-appearance: none; appearance: none;
  transition: transform .5s var(--e-expo, cubic-bezier(.16, 1, .3, 1)),
    box-shadow .5s var(--e-expo, cubic-bezier(.16, 1, .3, 1)),
    background .45s ease, color .45s ease;
}
.fav-btn:hover {
  transform: translateY(-3px); background: rgba(255, 255, 255, .86);
  box-shadow: 0 16px 30px rgba(26, 73, 196, .2), inset 0 1px 0 #fff;
}
.fav-btn:active { transform: translateY(-1px) scale(.985); }
.fav-btn:focus-visible {
  outline: 2px solid var(--azure, #2f6cf6); outline-offset: 3px;
}

.fav-ico { width: 14px; height: 14px; flex: none; display: block; }
.fav-mark {
  fill: none; stroke: currentColor; stroke-width: 1.7;
  stroke-linejoin: round; stroke-linecap: round;
  transition: fill .4s ease;
}

/* 已收藏：主蓝实填，书签里的缺口反白成一条光，一眼看出这条已经收了 */
.fav-btn[aria-pressed="true"] {
  color: #fff; border-color: rgba(255, 255, 255, .96);
  background: linear-gradient(140deg, var(--sky, #4fb2f0), var(--azure, #2f6cf6) 58%, var(--azure-deep, #1a49c4));
  box-shadow: 0 14px 30px rgba(26, 73, 196, .3), inset 0 1px 0 rgba(255, 255, 255, .5);
}
.fav-btn[aria-pressed="true"] .fav-mark { fill: currentColor; }

/* 请求在途：文案在换，图标轻轻呼吸；不置灰，避免被读成「这个功能不能点」 */
.fav-btn[data-busy] { pointer-events: none; }
.fav-btn[data-busy] .fav-ico { animation: favPulse 1.05s var(--e-expo, ease) infinite; }
@keyframes favPulse {
  0% { transform: scale(1); opacity: .55; }
  50% { transform: scale(1.16); opacity: 1; }
  100% { transform: scale(1); opacity: .55; }
}

/* ── 个人中心：一行一条收藏 ── */
.fav-list { display: grid; gap: 12px; margin-top: 16px; }
.fav-row {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 18px; border-radius: 18px;
  background: linear-gradient(150deg, rgba(255, 255, 255, .6), rgba(206, 228, 255, .34));
}
.fav-row-main { flex: 1 1 auto; min-width: 0; }
.fav-name { margin: 0; font-size: 16px; font-weight: 900; letter-spacing: .01em; }
.fav-sum {
  margin: 6px 0 0; font-size: 12.5px; line-height: 1.7; opacity: .8;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.fav-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; font-size: 11.5px; opacity: .72; }
.fav-kind {
  padding: 3px 10px; border-radius: var(--r-pill, 999px);
  border: 1px solid rgba(255, 255, 255, .9); background: rgba(255, 255, 255, .5);
  font-weight: 800; letter-spacing: .06em; opacity: 1;
}
.fav-rows { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.fav-link, .fav-note, .fav-off {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 13px; border-radius: var(--r-pill, 999px);
  border: 1px solid rgba(255, 255, 255, .9);
  background: linear-gradient(140deg, rgba(255, 255, 255, .76), rgba(214, 234, 255, .44));
  box-shadow: 0 8px 20px rgba(26, 73, 196, .08), inset 0 1px 0 #fff;
  color: var(--azure-deep, #1a49c4); font: inherit; font-size: 12px; font-weight: 900;
  letter-spacing: .05em; text-decoration: none; cursor: pointer;
  transition: transform .5s var(--e-expo, ease), box-shadow .5s var(--e-expo, ease);
}
.fav-link:hover { transform: translateY(-2px); box-shadow: 0 14px 26px rgba(26, 73, 196, .18), inset 0 1px 0 #fff; }
.fav-note, .fav-off { cursor: default; font-weight: 800; opacity: .82; }
.fav-off {
  background: rgba(255, 255, 255, .42); border-style: dashed;
  font-size: 11.5px; letter-spacing: .02em; line-height: 1.7; padding: 8px 13px;
}
.fav-btn--row { flex: none; }

/* 课程页抬头动作条：收藏跟下载链接排同一行，得是行内块才对齐 */
.crs-fav { display: inline-flex; }

.fav-count-line { display: flex; align-items: center; gap: 10px; margin-top: 4px; }
.fav-count {
  display: inline-flex; align-items: center;
  padding: 5px 14px; border-radius: var(--r-pill, 999px);
  border: 1px solid rgba(255, 255, 255, .92);
  background: linear-gradient(140deg, rgba(255, 255, 255, .8), rgba(214, 234, 255, .5));
  box-shadow: inset 0 1px 0 #fff, 0 8px 18px rgba(26, 73, 196, .08);
  font-size: 12px; font-weight: 900; letter-spacing: .06em;
  color: var(--azure-deep, #1a49c4);
}

.fav-empty {
  padding: 22px 20px; border-radius: 18px;
  border: 1px dashed rgba(255, 255, 255, .9);
  background: rgba(255, 255, 255, .4);
  font-size: 13px; line-height: 2;
}
.fav-skel { opacity: .62; }

/* ── 轻提示 ── */
.fav-toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 90;
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  max-width: min(560px, 88vw);
  padding: 12px 18px; border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, .92);
  background: linear-gradient(150deg, rgba(255, 255, 255, .9), rgba(206, 228, 255, .82));
  box-shadow: 0 22px 48px rgba(16, 46, 122, .26), inset 0 1px 0 #fff;
  color: #16307a; font-size: 12.5px; font-weight: 800; line-height: 1.7;
  opacity: 0; transform: translate(-50%, 18px); pointer-events: none;
  transition: opacity .42s var(--e-expo, ease), transform .5s var(--e-spring, cubic-bezier(.16, 1, .3, 1));
}
.fav-toast[data-show] { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.fav-toast-act {
  padding: 5px 13px; border-radius: var(--r-pill, 999px);
  background: linear-gradient(140deg, var(--sky, #4fb2f0), var(--azure, #2f6cf6) 58%, var(--azure-deep, #1a49c4));
  color: #fff; font-size: 12px; font-weight: 900; text-decoration: none; white-space: nowrap;
}

@media (max-width: 768px) {
  .fav-btn { padding: 6px 12px; font-size: 11px; }
  .fav-row { flex-direction: column; align-items: stretch; gap: 12px; }
  .fav-btn--row { align-self: flex-start; }
  .fav-toast { left: 6vw; right: 6vw; bottom: 18px; max-width: none; transform: translateY(18px); }
  .fav-toast[data-show] { transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .fav-btn, .fav-link, .fav-toast, .fav-mark { transition: none; }
  .fav-btn[data-busy] .fav-ico { animation: none; }
}

/* ═══════════════════════════════════════════════════════════
   Aqua Dl v2 · 个人中心的下载记录（按分类归组 + 分类筛选条）
   造型语言与收藏那一套同族：同一套玻璃描边、同一套主蓝胶囊、同一档圆角与投影，
   两个面板摆在同一页里必须像一次做出来的，只是下载记录多一层「分类」的分组标题。
   分组标题用一条从主蓝淡出的横线收尾，材质/教程各占一段，扫一眼就能分清。
   v2 多一个 .dl-toast 浮层：被管理员停用下载的账号点站内下载时，当场说出原因；
   造型照抄收藏那套轻提示，两处在同一页里不能长得不一样。
   ═══════════════════════════════════════════════════════════ */

.dl-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.dl-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 13px; border-radius: var(--r-pill, 999px);
  border: 1px solid rgba(255, 255, 255, .9);
  background: linear-gradient(140deg, rgba(255, 255, 255, .7), rgba(214, 234, 255, .4));
  box-shadow: 0 8px 18px rgba(26, 73, 196, .07), inset 0 1px 0 #fff;
  color: var(--azure-deep, #1a49c4);
  font: inherit; font-size: 12px; font-weight: 900; letter-spacing: .05em;
  cursor: pointer; -webkit-appearance: none; appearance: none;
  transition: transform .5s var(--e-expo, cubic-bezier(.16, 1, .3, 1)),
    box-shadow .5s var(--e-expo, cubic-bezier(.16, 1, .3, 1)),
    background .45s ease, color .45s ease;
}
.dl-chip:hover { transform: translateY(-2px); box-shadow: 0 14px 26px rgba(26, 73, 196, .18), inset 0 1px 0 #fff; }
.dl-chip:focus-visible { outline: 2px solid var(--azure, #2f6cf6); outline-offset: 3px; }
.dl-chip.on {
  color: #fff; border-color: rgba(255, 255, 255, .96);
  background: linear-gradient(140deg, var(--sky, #4fb2f0), var(--azure, #2f6cf6) 58%, var(--azure-deep, #1a49c4));
  box-shadow: 0 14px 30px rgba(26, 73, 196, .3), inset 0 1px 0 rgba(255, 255, 255, .5);
}

/* ── 分类分组：一段一类 ── */
.dl-group { margin-top: 18px; }
.dl-group:first-child { margin-top: 16px; }
.dl-group-h {
  display: flex; align-items: center; gap: 10px;
  margin: 0 0 10px; font-size: 13px; font-weight: 900; letter-spacing: .1em;
  color: var(--azure-deep, #1a49c4);
}
.dl-group-h::after {
  content: ""; flex: 1 1 auto; height: 1px;
  background: linear-gradient(90deg, rgba(47, 108, 246, .38), rgba(47, 108, 246, 0));
}
.dl-group-n {
  padding: 2px 9px; border-radius: var(--r-pill, 999px);
  border: 1px solid rgba(255, 255, 255, .9); background: rgba(255, 255, 255, .5);
  font-size: 11px; letter-spacing: .04em; opacity: .8;
}

.dl-list { display: grid; gap: 12px; margin-top: 6px; }
.dl-row {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 18px; border-radius: 18px;
  background: linear-gradient(150deg, rgba(255, 255, 255, .6), rgba(206, 228, 255, .34));
}
.dl-row-main { flex: 1 1 auto; min-width: 0; }
.dl-name { margin: 0; font-size: 16px; font-weight: 900; letter-spacing: .01em; }
.dl-sum {
  margin: 6px 0 0; font-size: 12.5px; line-height: 1.7; opacity: .8;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.dl-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; font-size: 11.5px; opacity: .72; }
.dl-rows { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.dl-link, .dl-note, .dl-off {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 13px; border-radius: var(--r-pill, 999px);
  border: 1px solid rgba(255, 255, 255, .9);
  background: linear-gradient(140deg, rgba(255, 255, 255, .76), rgba(214, 234, 255, .44));
  box-shadow: 0 8px 20px rgba(26, 73, 196, .08), inset 0 1px 0 #fff;
  color: var(--azure-deep, #1a49c4); font: inherit; font-size: 12px; font-weight: 900;
  letter-spacing: .05em; text-decoration: none; cursor: pointer;
  transition: transform .5s var(--e-expo, ease), box-shadow .5s var(--e-expo, ease);
}
.dl-link:hover { transform: translateY(-2px); box-shadow: 0 14px 26px rgba(26, 73, 196, .18), inset 0 1px 0 #fff; }
.dl-note, .dl-off { cursor: default; font-weight: 800; opacity: .82; }
.dl-off {
  background: rgba(255, 255, 255, .42); border-style: dashed;
  font-size: 11.5px; letter-spacing: .02em; line-height: 1.7; padding: 8px 13px;
}

.dl-count-line { display: flex; align-items: center; gap: 10px; margin-top: 4px; }
.dl-count {
  display: inline-flex; align-items: center;
  padding: 5px 14px; border-radius: var(--r-pill, 999px);
  border: 1px solid rgba(255, 255, 255, .92);
  background: linear-gradient(140deg, rgba(255, 255, 255, .8), rgba(214, 234, 255, .5));
  box-shadow: inset 0 1px 0 #fff, 0 8px 18px rgba(26, 73, 196, .08);
  font-size: 12px; font-weight: 900; letter-spacing: .06em;
  color: var(--azure-deep, #1a49c4);
}

.dl-empty {
  padding: 22px 20px; border-radius: 18px;
  border: 1px dashed rgba(255, 255, 255, .9);
  background: rgba(255, 255, 255, .4);
  font-size: 13px; line-height: 2;
}
.dl-skel { opacity: .62; }

/* ── 轻提示：被停用下载的账号点站内下载时当场摊开原因 ── */
.dl-toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 90;
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  max-width: min(560px, 88vw);
  padding: 12px 18px; border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, .92);
  background: linear-gradient(150deg, rgba(255, 255, 255, .9), rgba(206, 228, 255, .82));
  box-shadow: 0 22px 48px rgba(16, 46, 122, .26), inset 0 1px 0 #fff;
  color: #16307a; font-size: 12.5px; font-weight: 800; line-height: 1.7;
  opacity: 0; transform: translate(-50%, 18px); pointer-events: none;
  transition: opacity .42s var(--e-expo, ease), transform .5s var(--e-spring, cubic-bezier(.16, 1, .3, 1));
}
.dl-toast[data-show] { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.dl-toast-act {
  padding: 5px 13px; border-radius: var(--r-pill, 999px);
  background: linear-gradient(140deg, var(--sky, #4fb2f0), var(--azure, #2f6cf6) 58%, var(--azure-deep, #1a49c4));
  color: #fff; font-size: 12px; font-weight: 900; text-decoration: none; white-space: nowrap;
}

@media (max-width: 768px) {
  .dl-chip { padding: 5px 11px; font-size: 11px; }
  .dl-row { flex-direction: column; align-items: stretch; gap: 12px; }
  .dl-toast { left: 6vw; right: 6vw; bottom: 18px; max-width: none; transform: translateY(18px); }
  .dl-toast[data-show] { transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .dl-chip, .dl-link, .dl-toast { transition: none; }
}

/* ═══════════════════════════════════════════════════════════════
   Aqua Sort v2 · 前台资源栏的「排序」下拉按钮
   只服务 window.YRSort（v2）写出来的那一颗按钮＋五档菜单。
   v1 是整条五颗胶囊的横栏，右边一大片空、还跟分类条叠成两层；v2 收成
   分类条右端的一颗玻璃按钮：按钮上写当前档，点开展五档菜单，选中那档带勾。
   按钮与菜单跟分类胶囊同一套玻璃语言（浅玻璃＋选中渐变蓝），四个资源页共用。
   ═══════════════════════════════════════════════════════════════ */

/* 分类条与排序按钮同一行：分类占满剩下的宽度，排序钉在右端 */
.yr-bar {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  margin: 0 0 26px;
}
.yr-bar > .filter-bar { flex: 1 1 auto; min-width: 0; margin-bottom: 0; }

.yr-sort { position: relative; margin-left: auto; flex: 0 0 auto; }
.yr-sort[hidden] { display: none; }

.yr-sort-btn {
  appearance: none; cursor: pointer; font: inherit;
  display: flex; align-items: center; gap: 9px;
  padding: 12px 19px; border-radius: var(--r-pill);
  border: 1px solid rgba(255, 255, 255, .9);
  background: linear-gradient(150deg, rgba(255, 255, 255, .86), rgba(210, 232, 255, .5));
  box-shadow: 0 8px 20px rgba(26, 73, 196, .12), inset 0 1px 0 #fff;
  color: var(--azure-deep); font-size: 13px; font-weight: 800; letter-spacing: .06em;
  transition: transform .55s var(--e-spring), box-shadow .55s var(--e-expo), color .4s, background .5s var(--e-expo);
}
.yr-sort-btn:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(26, 73, 196, .2), inset 0 1px 0 #fff; }
.yr-sort-btn:active { transform: translateY(-1px) scale(.98); }
.yr-sort-btn:focus-visible { outline: 2px solid var(--azure); outline-offset: 3px; }

.yr-sort-word { font-size: 11px; font-weight: 800; letter-spacing: .22em; color: var(--ink-faint); }
.yr-sort-cur { font-weight: 900; color: var(--azure-deep); }
.yr-sort-caret {
  width: 11px; height: 8px; color: var(--azure); flex: 0 0 auto;
  transition: transform .4s var(--e-expo), color .4s;
}
/* 菜单开着：按钮换成选中态的渐变蓝，箭头翻上去 */
.yr-sort[data-open="1"] .yr-sort-btn {
  color: #fff;
  background: linear-gradient(140deg, var(--sky), var(--azure) 58%, var(--azure-deep));
  border-color: rgba(255, 255, 255, .96);
  box-shadow: 0 14px 30px rgba(26, 73, 196, .28), inset 0 1px 0 rgba(255, 255, 255, .55);
}
.yr-sort[data-open="1"] .yr-sort-word { color: rgba(255, 255, 255, .78); }
.yr-sort[data-open="1"] .yr-sort-cur { color: #fff; }
.yr-sort[data-open="1"] .yr-sort-caret { transform: rotate(180deg); color: #fff; }

.yr-sort-menu {
  position: absolute; top: calc(100% + 10px); right: 0; z-index: 70;
  min-width: 202px; display: flex; flex-direction: column; gap: 4px; padding: 8px;
  border-radius: 18px; border: 1px solid rgba(255, 255, 255, .88);
  background: linear-gradient(160deg, rgba(255, 255, 255, .93), rgba(226, 240, 255, .84));
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 22px 48px rgba(26, 73, 196, .22), inset 0 1px 0 #fff;
  animation: yr-sort-in .3s var(--e-expo);
}
.yr-sort-menu[hidden] { display: none; }
@keyframes yr-sort-in {
  from { opacity: 0; transform: translateY(-4px) scale(.98); }
  to { opacity: 1; transform: none; }
}

.yr-sort-opt {
  appearance: none; cursor: pointer; font: inherit;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 9px 13px; border: 0; border-radius: 12px;
  background: transparent; color: var(--ink-soft);
  font-size: 13px; font-weight: 800; letter-spacing: .04em; text-align: left;
  transition: background .3s, color .3s, transform .35s var(--e-expo);
}
.yr-sort-opt:hover { background: rgba(255, 255, 255, .78); color: var(--ink); transform: translateX(2px); }
.yr-sort-opt:focus-visible { outline: 2px solid var(--azure); outline-offset: 2px; }
.yr-sort-opt[aria-selected="true"] {
  color: #fff;
  background: linear-gradient(140deg, var(--sky), var(--azure) 58%, var(--azure-deep));
  box-shadow: 0 10px 22px rgba(26, 73, 196, .28), inset 0 1px 0 rgba(255, 255, 255, .5);
}

.yr-sort-tick {
  width: 13px; height: 11px; flex: 0 0 auto; color: var(--azure);
  opacity: 0; transform: scale(.6);
  transition: opacity .3s, transform .4s var(--e-spring), color .3s;
}
.yr-sort-opt[aria-selected="true"] .yr-sort-tick { opacity: 1; transform: none; color: #fff; }

@media (max-width: 768px) {
  .yr-bar { gap: 10px; margin-bottom: 18px; }
  .yr-sort-btn { padding: 10px 15px; font-size: 12.5px; }
  .yr-sort-menu { min-width: 178px; }
}

@media (prefers-reduced-motion: reduce) {
  .yr-sort-btn, .yr-sort-caret, .yr-sort-opt, .yr-sort-tick { transition: none; }
  .yr-sort-btn:hover, .yr-sort-btn:active, .yr-sort-opt:hover { transform: none; }
  .yr-sort-menu { animation: none; }
}

/* ═══ 2026-10-17 追加：单卡条带不再通栏放大，统一为插件页卡片节奏（342px）═══ */
.sw-band--one .sw-grid {
  grid-template-columns: repeat(auto-fill, minmax(clamp(258px, 15vw, 300px), 1fr)) !important;
}
.sw-band--one .sw-card {
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 12px !important;
  padding: 13px 13px 15px !important;
}
.sw-band--one .sw-card .sw-badge { width: 52px !important; height: 52px !important; }
.sw-band--one .sw-foot {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 8px !important;
  padding-top: 10px !important;
  border-top: 1px solid rgba(129, 166, 224, .28) !important;
  min-width: 0 !important;
}
.sw-band--one .sw-act { margin-left: 0 !important; align-self: auto !important; }
.sw-band--one .sw-tags { align-self: auto !important; }

/* ═══ 2026-10-17 二次追加：卡片高度跟内容走，消除中部大片空白 ═══
   插件页卡片是「封面图+紧凑内容」，软件页卡片没封面，之前继承的
   min-height/自动撑高让它中部空一大块，视觉上比插件卡大很多。
   这里对齐：高度由内容决定，脚部（标签+按钮）紧跟内容，不留缝。 */
.sw-band--one .sw-grid {
  align-items: start !important;
  align-content: start !important;
}
.sw-band--one .sw-card {
  min-height: 0 !important;
  height: auto !important;
  gap: 10px !important;
  padding: 13px 13px 14px !important;
}
.sw-band--one .sw-card .sw-top {
  gap: 10px !important;
}
.sw-band--one .sw-desc {
  margin: 0 !important;
  -webkit-line-clamp: 3;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.75 !important;
}
.sw-band--one .sw-foot {
  margin-top: 0 !important;
  padding-top: 10px !important;
  gap: 8px !important;
}
.sw-band--one .sw-tags {
  margin: 0 !important;
}
.sw-band--one .sw-rule {
  margin: 4px 0 0 !important;
}

/* ═══ 2026-10-17 三次追加：筛选胶囊行 sticky 置顶 ═══
   站长要求：往下滚时胶囊行钉在页顶（只在本页内），滚回顶部时回到原位。
   Adobe 下拉与胶囊同行，一起钉住。 */
.yr-bar {
  position: sticky !important;
  top: 0 !important;
  z-index: 90;
}

/* ═══ 2026-10-17 四次追加：细节修正 ═══ */
/* 1) sticky 条背景改柔和：贴页面底色，去掉硬边观感 */

/* 2) 软件卡图标区：浅蓝底改成柔和玻璃态，与插件卡封面图气质统一 */
.sw-band--one .sw-card .sw-badge,
#swBandsHost .sw-badge {
  background: linear-gradient(150deg, rgba(230, 240, 255, .55), rgba(180, 205, 250, .35)) !important;
  box-shadow: inset 0 0 0 1px rgba(129, 166, 224, .35) !important;
  border-radius: 14px !important;
}
#swBandsHost .z-img {
  background: linear-gradient(150deg, rgba(230, 240, 255, .5), rgba(170, 200, 248, .3)) !important;
}
/* 3) 标题与英文后缀之间补空格 */
#swBandsHost .c-card h3 .sw-en { margin-left: 6px; }

/* ═══ 2026-10-17 视觉优化：软件卡关系入口（配套插件/相关教程）═══
   复用学习页已验证的 .cat-act 胶囊组件（玻璃渐变+圆角 pill+hover 上浮），
   与 .cat-chip 筛选胶囊同一家族。仅作用于 #swBandsHost 卡片内部。 */
#swBandsHost .cat-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 12px; }
#swBandsHost .cat-act {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px; border-radius: var(--r-pill);
  border: 1px solid rgba(255, 255, 255, .9);
  background: linear-gradient(140deg, rgba(255, 255, 255, .76), rgba(214, 234, 255, .44));
  box-shadow: 0 10px 24px rgba(26, 73, 196, .1), inset 0 1px 0 #fff;
  color: var(--ink-soft); font-size: 12px; font-weight: 800; letter-spacing: .02em;
  text-decoration: none; cursor: pointer;
  transition: transform .25s var(--e-expo), box-shadow .25s, background .25s;
}
#swBandsHost .cat-act:hover {
  transform: translateY(-3px); background: rgba(255, 255, 255, .9);
  box-shadow: 0 16px 30px rgba(26, 73, 196, .2), inset 0 1px 0 #fff;
  color: var(--ink);
}
#swBandsHost .cat-act:active { transform: translateY(-1px) scale(.985); }
#swBandsHost .cat-act:focus-visible { outline: 2px solid var(--azure); outline-offset: 2px; }
/* 相关教程：轻微语义区分（播放/书本语义箭头方向），同一组件家族 */
#swBandsHost .cat-act.rel-tutorial { background: linear-gradient(140deg, rgba(255, 255, 255, .8), rgba(200, 226, 255, .5)); }
/* 追加在下载按钮后的关系入口不加下划线（浏览器默认样式覆盖） */
#swBandsHost .cat-act { text-decoration: none; }
/* 空状态：无关系入口时不渲染占位（JS 端控制），这里只保证间距稳定 */
#swBandsHost .c-card { display: flex; flex-direction: column; }
#swBandsHost .c-card .sw-foot { margin-top: auto; }

/* ═══ 2026-10-17 Adobe 下拉层级修复（最小补丁）═══
   根因：.sw-dd-menu 用 z-index:80，但它的父链上 .yr-bar 有 z-index:40
   （swdd-v14.css），而其下方的 #swPane 因 backdrop-filter 自建 stacking
   context。两者同在 .shell(z-index:1) 的上下文内比较时，浏览器在某些
   合成路径下会按「祖先上下文」而非「元素自身 z-index」排序，导致
   菜单背景被玻璃卡压住、只有文字浮出。
   修法：让下拉面板自己成为一个独立 stacking context（isolation），
   使其内部/外部绘制顺序确定，不再受祖先合成层影响。位置、尺寸、
   背景、圆角、阴影、文字全部保持原样。 */
.chip-dd.sw-adobe .sw-dd-menu {
  isolation: isolate;
}
/* 确保分类栏不裁剪下拉菜单（overflow 必须是 visible） */
.yr-bar { overflow: visible; }
/* 下拉面板建立独立合成层，避免被玻璃卡片的 backdrop-filter 上下文干扰 */
.chip-dd.sw-adobe .sw-dd-menu {
  isolation: isolate;
  will-change: auto;
}

/* ═══ 2026-10-17 Adobe 下拉层级修复 · 最终补丁 ═══
   根因（实测）：#swCount 是 position:relative + z-index:41（在 .shell 内），
   而 .yr-bar 只有 z-index:40（swdd-v14.css），Adobe 下拉 .sw-dd-menu 虽
   z-index:80，却锁在 .yr-bar 的 40 上下文里 → 41 > 40，#swCount 压住整个
   下拉面板，表现为「只有文字浮上来、背景陷进下面的卡片」。
   修法：把 .yr-bar 提到 42（只高过 swCount 的 41，不动其他层级），
   让下拉菜单（80）在其上下文内正常盖住 #swCount 与下方软件卡。
   不触碰 swCount 自身、不碰卡片、不碰其他分类。 */
.yr-bar {
  z-index: 42 !important;
}

/* ═══ 2026-10-17 分类栏硬边修复：sticky 合成补偿 ═══
   根因（浏览器内试验证实）：.yr-bar 的 position:sticky 创建 stacking
   context，使底板 .filter-bar.glass 的 backdrop-filter 在合成时采到
   白色层而非页面蓝紫背景——底板在按钮下方露出的 8px 呈刺眼纯白
   （RGB 252,253,255），与按钮底边、底板描边形成三重硬边。
   对照试验：yr-bar 改 static 后露白带立刻变为与插件页一致的淡蓝
   （RGB 195,228,249 ≈ 插件页 198,230,250），逐像素吻合。
   修法：保留 sticky（滚动钉顶功能），给底板垫一层与插件页 blur 后
   色彩一致的淡蓝底色，使露白带透出淡蓝。背景保持半透明以维持玻璃
   质感，按钮、下拉、其他组件全部不动。 */
.yr-bar .filter-bar.glass {
  background:
    linear-gradient(158deg, rgba(255, 255, 255, .6) 0%, rgba(255, 255, 255, .3) 100%),
    linear-gradient(180deg, rgba(214, 233, 252, .55) 0%, rgba(196, 224, 250, .6) 100%);
}

/* ═══ 2026-10-17 分类栏底部露白收紧 ═══
   站长确认：按钮下方 8px 底板露白属于多余区域（插件页虽同为 8px，
   但其下方背景偏蓝能自然衔接；软件页下方背景偏白，露白带与页面粘连
   形成「底板延伸」错觉）。
   修复：仅收紧软件页 sw-cats 的底部 padding（8→4px），顶部微调至
   10px 维持按钮垂直居中观感。底板高 52→50px。按钮本身零改动。 */
.yr-bar .filter-bar.sw-cats {
  padding-top: 10px;
  padding-bottom: 4px;
}

/* ═══ 2026-10-17 软件卡标签/按钮统一组件（长期规范）═══
   诊断结论：四卡标签已统一（h22 pad 3/10 f11 gap6），按钮已统一（h31 pad7 f12）。
   不一致的来源：
   1) 标签 22px 与按钮 31px 高度基准差 9px，两排观感失调；
   2) 无按钮的卡（SpeedTree/Photoshop）foot 由 margin:auto 推底，
      内容矮时下方留白大——这是内容差异，保留推底对齐；
   3) foot 内两排（tags 行 / act 行）的行间距无显式规则。
   本块用 CSS 变量集中管理软件卡底部组件的全部规格，
   所有现有与未来新增卡片（同一 gridCard 模板渲染）自动生效。 */
#swBandsHost {
  --sc-tag-h: 27px;
  --sc-tag-pad-y: 5px;
  --sc-tag-pad-x: 12px;
  --sc-tag-fs: 11.5px;
  --sc-tag-gap-x: 6px;
  --sc-tag-gap-y: 6px;
  --sc-act-h: 31px;
  --sc-act-pad-y: 7px;
  --sc-act-pad-x: 14px;
  --sc-act-fs: 12px;
  --sc-act-gap-x: 8px;
  --sc-foot-row-gap: 8px;
  --sc-foot-pad-top: 10px;
}
/* 信息标签：统一高度基准与内边距 */
#swBandsHost .sw-tags .sw-tag {
  display: inline-flex;
  align-items: center;
  height: var(--sc-tag-h);
  padding: var(--sc-tag-pad-y) var(--sc-tag-pad-x);
  font-size: var(--sc-tag-fs);
  box-sizing: border-box;
}
/* 标签换行后的纵向间距与横向间距统一 */
#swBandsHost .sw-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sc-tag-gap-y) var(--sc-tag-gap-x);
}
/* 功能按钮：保持既有规格，以变量表达 */
#swBandsHost .cat-act {
  display: inline-flex;
  align-items: center;
  height: var(--sc-act-h);
  padding: 0 var(--sc-act-pad-x);
  font-size: var(--sc-act-fs);
  box-sizing: border-box;
}
/* 按钮横向间距与换行纵距统一 */
#swBandsHost .sw-act {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sc-act-gap-y, var(--sc-foot-row-gap)) var(--sc-act-gap-x);
}
/* 标签排与按钮排的垂直关系：foot 为纵向 flex，行距统一 */
#swBandsHost .sw-foot {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sc-foot-row-gap);
  padding-top: var(--sc-foot-pad-top);
  margin-top: auto;
}
/* 无按钮的卡：foot 只有标签行，同样保持一致的内边距节奏 */
#swBandsHost .c-card { display: flex; flex-direction: column; }

/* ═══ 2026-10-17 Footer 双槽位对齐修复 ═══
   根因（实测）：.sw-foot 用 margin-top:auto 整体推底 + column flex。
   无操作按钮的卡（SpeedTree/Photoshop）foot 内只剩 .sw-tags 一个子元素，
   auto margin 把 foot 推到底部 → 标签行下沉到别人按钮行的高度（差 31px）。
   修法（双槽位）：
   1) .sw-foot 保持整体推底（贴卡片底部）；
   2) foot 内部改为固定两行：第一行 Tags、第二行 Actions——
      Actions 行始终保留与按钮行等高的最小高度，空时呈现为空白占位，
      标签行不再因 Actions 缺失而下沉；
   3) 行结构用 grid 两行实现（Tags row1 / Act row2），行高由内容+min-height 决定，
      不硬编码像素，长标签换行安全。
   模板侧（aqua-subpack12-a.js）已同步：.sw-act 槽位始终输出，
   无按钮时不再渲染「配套内容筹备中」占位文字。 */
#swBandsHost .sw-foot {
  display: grid;
  grid-template-rows: auto auto;
  row-gap: var(--sc-foot-row-gap);
  padding-top: var(--sc-foot-pad-top);
  margin-top: auto;
}
#swBandsHost .sw-tags {
  grid-row: 1;
  grid-column: 1;
}
#swBandsHost .sw-act {
  grid-row: 2;
  grid-column: 1;
  min-height: var(--sc-act-h);
  align-items: center;
}

/* ═══ 2026-10-17 第二轮返工：分类栏露白带根治（最小补丁）═══
   诊断结论（逐项禁用试验 + 双页亮度剖面实测）：
   白带 = 底板在按钮下方露出的区域呈白色，两层来源：
   1) 软件页 .yr-bar 为 sticky，其上下文使底板 backdrop-filter 合成
      异常（bdf 实测为 none，插件页为 blur 26px），半透明白玻璃直接
      透出 body 的白色径向光晕（软件页文档较短，白光晕在此区域更强）；
   2) 底板露白带内因渐变+inset 高光存在 +8 亮峰（y=288, avg 237 vs
      插件页同位置平滑 231→223）。
   修复：在底板半透明白玻璃之下垫一层淡蓝底色，使露白带无论 body
   光晕如何都呈与页面蓝紫背景衔接的淡蓝色；同时移除造成亮峰的
   大范围白色外发光。按钮、下拉、其他组件零改动。 */
.yr-bar .filter-bar.sw-cats {
  background:
    linear-gradient(158deg, rgba(255, 255, 255, .6) 0%, rgba(255, 255, 255, .3) 100%),
    linear-gradient(180deg, rgba(202, 226, 250, .88) 0%, rgba(184, 214, 248, .9) 100%);
  box-shadow:
    rgba(255, 255, 255, 0.9) 0px 1px 0px 0px inset,
    rgba(26, 73, 196, 0.10) 0px 12px 28px 0px;
}

/* ═══ 2026-10-17 无封面卡的图标区：透出卡片本身的玻璃底色 ═══
   站长反馈：图标（透明 PNG）下方是白色底，应该显示卡片本身的颜色。
   修复：img 去白底改透明；无 cover 的 z-img 容器背景透明，
   让卡片 .c-card 的玻璃渐变自然透出。有真图的卡不受影响。 */
#swBandsHost .z-img img {
  background: transparent;
  padding: 18px;
}
#swBandsHost .z-img:not(:has(img[src^="assets"])):not(:has(img[src^="data"])) {
  /* 空实现，防误伤；实际背景由下方规则控制 */
}

/* 无封面占位盒已不存在：z-img 背景全部透明，让卡片玻璃透出 */
#swBandsHost .z-img {
  background: transparent;
}

/* JS 驱动时禁用 CSS transform 过渡，避免双重动画 */
/* 2026-10-24 removed: blocked hover transition */

.pill {
  transition: transform .35s ease, box-shadow .35s ease;
  will-change: transform;
}
.pill:hover {
  box-shadow: 0 16px 34px rgba(47, 108, 246, .32), inset 0 1px 0 rgba(255, 255, 255, .5);
}

/* ═══════════════════════════════════════════════════════════
   Aqua Hover v3（2026-10-24 全新重做）
   悬停：柔和上浮 8px + 阴影微增。0.4s easeOutQuad，双向一致。
   移入移出同一条 transition 定义，CSS transition 原生支持中断续接。
   不使用 will-change / JS / backdrop-filter 操作。
   ═══════════════════════════════════════════════════════════ */

.glass-card, .c-card, .course, .band, .mat-cell, .tl-item, .feat-item, .stage {
  transition: transform 0.5s cubic-bezier(.25, .8, .4, 1), box-shadow 0.5s ease;
}

.pill, .glass-btn {
  transition: transform .35s cubic-bezier(.25, .46, .45, .94),
              box-shadow .35s cubic-bezier(.25, .46, .45, .94);
}
.pill:hover { transform: translateY(-3px); }
.glass-btn:hover { transform: translateY(-2px); }

@media (prefers-reduced-motion: reduce) {
  .glass-card, .c-card, .course, .band, .mat-cell, .tl-item, .feat-item,
  .stage, .pill, .glass-btn {
    transition: none;
  }
}


/* ═══ NO-ENTRANCE-ANIM-v1（2026-10-25 站长要求）═══
   内容页卡片不要任何入场浮现动画：滚动到哪就静止显示在哪。
   cat-in / reveal / reveal-left / reveal-scale 一律取消位移与淡入。 */
.cat-in,
.reveal,
.reveal-left,
.reveal-scale,
.reveal.in,
.reveal-left.in,
.reveal-scale.in {
  animation: none !important;
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
  will-change: auto !important;
}
