/* 「关于本站」弹窗第二版（2026-11-17）：品牌头 + 毛玻璃正文卡片；手机端底部抽屉、下拉关闭 */
html.ab2-lock, html.ab2-lock body { overflow: hidden; }
#modal-about.ab2 {
  --ab2-dim: 1;
  background: rgba(20, 15, 48, calc(.5 * var(--ab2-dim)));
  -webkit-backdrop-filter: blur(calc(8px * var(--ab2-dim))) saturate(1.2);
  backdrop-filter: blur(calc(8px * var(--ab2-dim))) saturate(1.2);
  align-items: center;
  animation: ab2-fade .25s ease backwards;
  justify-content: center;
}
#modal-about.ab2 .about-card {
  max-width: 760px;
  width: min(760px, calc(100vw - 32px));
  padding: 0;
  border-radius: 24px;
  overflow: hidden;
  color: #262236;
  background: linear-gradient(180deg, rgba(255, 255, 255, .9), rgba(248, 246, 255, .86));
  -webkit-backdrop-filter: blur(26px) saturate(1.6);
  backdrop-filter: blur(26px) saturate(1.6);
  border: 0;
  box-shadow: 0 0 0 1px rgba(26, 18, 84, .28), 0 34px 90px rgba(18, 12, 60, .42), 0 6px 18px rgba(18, 12, 60, .16);
  animation: ab2-pop .32s cubic-bezier(.2, .9, .3, 1.1) backwards;
}
@keyframes ab2-pop { from { opacity: 0; transform: translateY(18px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes ab2-fade { from { background-color: rgba(20, 15, 48, 0); } }
@keyframes ab2-up { from { transform: translateY(100%); } to { transform: none; } }

/* 品牌头：首页横幅同款靛紫渐变 */
#modal-about.ab2 .about-card { position: relative; }
#modal-about.ab2 .ab2-hero {
  position: relative;
  margin: 0 -20px;
  padding: 22px 24px 18px;
  color: #fff;
  background:
    radial-gradient(420px 220px at 92% 0, rgba(255, 196, 110, .34), transparent 62%),
    radial-gradient(420px 260px at 0 120%, rgba(134, 112, 255, .62), transparent 62%),
    linear-gradient(128deg, #1f1a52, #352aa0 52%, #4a39c9);
}
#modal-about.ab2 .ab2-hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 224, 166, .6), transparent);
}
#modal-about.ab2 .ab2-grab { display: none; }
#modal-about.ab2 .ab2-brand { display: flex; align-items: center; gap: 14px; padding-right: 44px; }
#modal-about.ab2 .ab2-logo { width: 58px; height: 58px; border-radius: 16px; flex: none; background: rgba(255, 255, 255, .14); box-shadow: 0 6px 18px rgba(0, 0, 0, .25), inset 0 0 0 1px rgba(255, 255, 255, .25); object-fit: contain; padding: 4px; }
#modal-about.ab2 .ab2-eyebrow { font: 800 11px/1 system-ui, sans-serif; letter-spacing: .16em; color: #ffd99a; opacity: .95; }
#modal-about.ab2 .ab2-name { font-size: 21px; font-weight: 900; line-height: 1.3; margin: 5px 0 3px; letter-spacing: .02em; }
#modal-about.ab2 .ab2-slogan { font-size: 13px; line-height: 1.5; color: rgba(255, 255, 255, .78); }
#modal-about.ab2 .ab2-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 16px 0 14px; }
#modal-about.ab2 .ab2-stats span {
  display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 9px 4px; border-radius: 14px;
  font-size: 12px; color: rgba(255, 255, 255, .78);
  background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14);
}
#modal-about.ab2 .ab2-stats b { font-size: 19px; line-height: 1.2; color: #fff; font-weight: 900; }
#modal-about.ab2 .ab2-acts { display: flex; flex-wrap: wrap; gap: 8px; }
#modal-about.ab2 .ab2-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; padding: 0 16px;
  border-radius: 999px; border: 0; cursor: pointer; text-decoration: none; white-space: nowrap;
  font: 700 14px/1 inherit; font-family: inherit; color: #fff;
  background: rgba(255, 255, 255, .14); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22);
  transition: transform .15s, background .15s;
}
#modal-about.ab2 .ab2-btn:hover { background: rgba(255, 255, 255, .22); transform: translateY(-1px); }
#modal-about.ab2 .ab2-btn.gold { color: #2a1f5c; background: linear-gradient(135deg, #ffe0a6, #f6bb63); box-shadow: 0 6px 18px rgba(246, 187, 99, .38); font-weight: 800; }
#modal-about.ab2 .ab2-btn.gold:hover { background: linear-gradient(135deg, #ffe8bd, #f8c679); }
#modal-about.ab2 .modal-head { position: absolute; top: 14px; right: 14px; margin: 0; }
#modal-about.ab2 .modal-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
#modal-about.ab2 .modal-head { z-index: 5; }
#modal-about.ab2 .modal-close { min-width: 38px; min-height: 38px; width: 38px; height: 38px; border-radius: 12px; color: #fff; background: rgba(30, 24, 80, .42); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 0; font-size: 16px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }
#modal-about.ab2 .modal-close:hover { background: rgba(30, 24, 80, .6); }

/* 正文 */
#modal-about.ab2 .about-body { padding: 0 20px 22px; scroll-padding-top: 56px; }
#modal-about.ab2 .ab2-toc {
  position: sticky; top: 0; z-index: 2; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none;
  margin: 0 -20px 6px; padding: 10px 64px 10px 20px;
  background: rgba(250, 248, 255, .82); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(76, 63, 211, .1);
}
#modal-about.ab2 .ab2-toc::-webkit-scrollbar { display: none; }
#modal-about.ab2 .ab2-chip {
  flex: none; height: 30px; padding: 0 12px; border-radius: 999px; border: 0; cursor: pointer;
  font: 700 12.5px/1 inherit; font-family: inherit; color: #3a2fb0; background: #efedfc; white-space: nowrap;
}
#modal-about.ab2 .ab2-chip:hover { background: #e2defb; }
#modal-about.ab2 .ab2-sec {
  margin: 12px 0 0; padding: 14px 16px 8px; border-radius: 18px;
  background: rgba(255, 255, 255, .78); border: 1px solid rgba(76, 63, 211, .1);
  box-shadow: 0 6px 20px rgba(40, 30, 120, .06);
}
#modal-about.ab2 .about-body h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 8px !important; color: #1d1b29; }
#modal-about.ab2 .ab2-ic {
  width: 32px; height: 32px; flex: none; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 10px; font-size: 17px; background: linear-gradient(135deg, #efedfc, #fbf2e1); box-shadow: inset 0 0 0 1px rgba(76, 63, 211, .12);
}
#modal-about.ab2 .about-body p, #modal-about.ab2 .about-body li { color: #3a3650; }
#modal-about.ab2 .about-body strong { color: #1d1b29; }
#modal-about.ab2 .ab2-sec.ticks ul { list-style: none; padding-left: 0; }
#modal-about.ab2 .ab2-sec.ticks li { position: relative; padding-left: 26px; }
#modal-about.ab2 .ab2-sec.ticks li::before {
  content: "✓"; position: absolute; left: 0; top: .32em; width: 18px; height: 18px; border-radius: 6px;
  display: flex; align-items: center; justify-content: center; font: 900 11px/1 system-ui, sans-serif;
  color: #fff; background: linear-gradient(135deg, #6a5cf0, #4c3fd3);
}
#modal-about.ab2 .ab2-sec.chips p { margin-bottom: 10px; }
#modal-about.ab2 .ab2-sec.chips p > strong:first-child { display: block; margin-bottom: 4px; font-size: .92em; color: #4c3fd3; }
#modal-about.ab2 .ab2-sec.chips a {
  display: inline-block; margin: 0 2px 6px 0; padding: 3px 10px; border-radius: 999px; line-height: 1.6;
  font-size: .9em; text-decoration: none; color: #3a2fb0; background: #f3f1fe; box-shadow: inset 0 0 0 1px #dcd7f8;
}
#modal-about.ab2 .ab2-sec.chips a:hover { background: #4c3fd3; color: #fff; box-shadow: none; }
#modal-about.ab2 .ab2-sec.faq p { padding: 10px 12px; border-radius: 12px; background: rgba(76, 63, 211, .045); }
#modal-about.ab2 .ab2-sec.faq p > strong:first-child { display: block; margin-bottom: 2px; color: #3a2fb0; }
#modal-about.ab2 .ab2-sec.faq p > strong:first-child::before { content: "Q "; color: #f0a63a; font-weight: 900; }
#modal-about.ab2 .ab2-all { margin-top: 14px; border-radius: 16px; background: rgba(255, 255, 255, .6); border: 1px dashed rgba(76, 63, 211, .22); }
#modal-about.ab2 .ab2-all summary { cursor: pointer; padding: 12px 16px; font-weight: 800; color: #3a2fb0; list-style: none; }
#modal-about.ab2 .ab2-all summary::-webkit-details-marker { display: none; }
#modal-about.ab2 .ab2-all summary small { margin-left: 8px; font-weight: 600; color: #8a85a0; }
#modal-about.ab2 .ab2-all .about-all { padding: 0 16px 10px; font-size: .92em; }

/* 手机：底部抽屉 */
@media (max-width: 640px) {
  #modal-about.ab2 { align-items: flex-end; padding: 0 !important; }
  #modal-about.ab2 .about-card {
    will-change: transform;
    width: 100%; max-width: none; border-radius: 22px 22px 0 0;
    max-height: 92vh; max-height: 92dvh;
    animation: ab2-up .36s cubic-bezier(.32, .72, .35, 1) backwards;
    padding-bottom: env(safe-area-inset-bottom, 0px) !important;
  }
  #modal-about.ab2 .ab2-hero { margin: 0 -12px; padding: 22px 16px 14px; }
  #modal-about.ab2 .ab2-grab { display: block; position: absolute; top: 8px; left: 50%; width: 42px; height: 5px; margin-left: -21px; border-radius: 3px; background: rgba(255, 255, 255, .5); }
  #modal-about.ab2 .modal-head { top: 12px; right: 10px; }
  #modal-about.ab2 .ab2-logo { width: 48px; height: 48px; border-radius: 14px; }
  #modal-about.ab2 .ab2-name { font-size: 18px; }
  #modal-about.ab2 .ab2-slogan { font-size: 12px; }
  #modal-about.ab2 .ab2-stats { gap: 6px; margin: 12px 0 12px; }
  #modal-about.ab2 .ab2-stats span { padding: 7px 2px; font-size: 11px; border-radius: 12px; }
  #modal-about.ab2 .ab2-stats b { font-size: 16px; }
  #modal-about.ab2 .ab2-acts { gap: 7px; }
  #modal-about.ab2 .ab2-btn { flex: 1 1 0; min-height: 38px; padding: 0 8px; font-size: 13px; }
  #modal-about.ab2 .ab2-btn.gold { flex-basis: 100%; min-height: 42px; font-size: 14.5px; }
  #modal-about.ab2 .about-body { padding: 0 12px 18px; }
  #modal-about.ab2 .ab2-toc { margin: 0 -12px 4px; padding: 8px 56px 8px 12px; }
  #modal-about.ab2 .ab2-sec { padding: 12px 12px 6px; border-radius: 16px; }
}
@media (prefers-reduced-motion: reduce) { #modal-about.ab2 .about-card { animation: none; } }

/* 2026-11-17：横幅按钮图标（留空不显示；可视化编辑时空的也能点） */
#app .hero .btn-ic:empty { display: none; }
html.hve-on #app .hero .btn-ic { display: inline-block; min-width: 1.2em; text-align: center; }
html.hve-on #app .hero .btn-ic:empty::before { content: "＋"; opacity: .6; }

/* 2026-11-18 第三版：
   1) 原生滚动条占 10px，品牌头紫色到不了右边、加上卡片 1px 白描边 → 右侧和四周一圈白边很割裂。
      改成隐藏原生滚动条 + 自绘悬浮指示条（.ab2-rail），紫色区域铺满整张卡片。
   2) 电脑端四个按钮：等宽三栏，金色「复制链接」居中放大，左右是复制邀请语 / 反馈；电脑端不显示系统分享。 */
#modal-about.ab2 .about-body { scrollbar-width: none; -ms-overflow-style: none; }
#modal-about.ab2 .about-body::-webkit-scrollbar { display: none; width: 0; height: 0; }

/* 品牌头：底部柔和收边，和下面浅色目录过渡自然 */
#modal-about.ab2 .ab2-hero {
  padding: 24px 28px 20px;
  background:
    radial-gradient(520px 240px at 100% -10%, rgba(255, 196, 110, .30), transparent 60%),
    radial-gradient(480px 300px at -6% 120%, rgba(134, 112, 255, .55), transparent 62%),
    linear-gradient(128deg, #1f1a52, #352aa0 55%, #4636c2);
}
#modal-about.ab2 .ab2-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(1px 1px at 18% 30%, rgba(255,255,255,.5), transparent 60%),
              radial-gradient(1px 1px at 62% 18%, rgba(255,255,255,.4), transparent 60%),
              radial-gradient(1.5px 1.5px at 84% 64%, rgba(255,230,180,.55), transparent 60%),
              radial-gradient(1px 1px at 40% 72%, rgba(255,255,255,.3), transparent 60%);
}
#modal-about.ab2 .ab2-hero > :not(.ab2-grab) { position: relative; }
#modal-about.ab2 .ab2-stats span {
  background: linear-gradient(180deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .06));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16);
}

/* 按钮：电脑端三栏，金色居中 */
#modal-about.ab2 .ab2-acts {
  display: grid; grid-template-columns: 1fr 1.45fr 1fr; align-items: center; gap: 10px;
}
#modal-about.ab2 .ab2-btn { width: 100%; min-height: 42px; padding: 0 12px; font-size: 14px; }
#modal-about.ab2 .ab2-btn.gold { min-height: 48px; font-size: 15.5px; letter-spacing: .02em; }
#modal-about.ab2 .ab2-btn[data-act="invite"] { order: 1; }
#modal-about.ab2 .ab2-btn.gold { order: 2; }
#modal-about.ab2 .ab2-btn[href="#feedback"] { order: 3; }
#modal-about.ab2 .ab2-btn[data-act="share"] { display: none; }

/* 自绘滚动指示条：悬浮在卡片右侧，不占宽度；在紫色区上是浅色，到正文上是紫色 */
#modal-about.ab2 .ab2-rail {
  position: absolute; z-index: 6; right: 4px; top: 62px; bottom: 14px; width: 12px;
  opacity: .55; transition: opacity .3s ease; cursor: pointer;
}
#modal-about.ab2 .ab2-rail.on, #modal-about.ab2 .about-card:hover .ab2-rail.can { opacity: 1; }
#modal-about.ab2 .ab2-rail:not(.can) { display: none; }
#modal-about.ab2 .ab2-thumb {
  position: absolute; left: 3px; width: 6px; top: 0; min-height: 36px; border-radius: 6px;
  background: rgba(76, 63, 211, .42); box-shadow: 0 0 0 1px rgba(255, 255, 255, .55);
  transition: width .15s, left .15s, background-color .2s;
}
#modal-about.ab2 .ab2-rail.lite .ab2-thumb { background: rgba(255, 255, 255, .55); box-shadow: 0 0 0 1px rgba(30, 20, 90, .25); }
#modal-about.ab2 .ab2-rail:hover .ab2-thumb, #modal-about.ab2 .ab2-rail.drag .ab2-thumb { left: 1px; width: 10px; background: rgba(76, 63, 211, .7); }
#modal-about.ab2 .ab2-rail.lite:hover .ab2-thumb, #modal-about.ab2 .ab2-rail.lite.drag .ab2-thumb { background: rgba(255, 255, 255, .8); }

@media (max-width: 640px) {
  #modal-about.ab2 .ab2-hero { padding: 24px 16px 16px; }
  #modal-about.ab2 .ab2-acts { grid-template-columns: 1fr 1fr 1fr; gap: 7px; }
  #modal-about.ab2 .ab2-btn { min-height: 38px; padding: 0 6px; font-size: 13px; }
  #modal-about.ab2 .ab2-btn.gold { order: 0; grid-column: 1 / -1; min-height: 44px; font-size: 15px; }
  #modal-about.ab2 .ab2-btn[data-act="share"] { display: inline-flex; order: 2; }
  #modal-about.ab2 .ab2-acts:not(:has([data-act="share"])) { grid-template-columns: 1fr 1fr; }
  #modal-about.ab2 .ab2-rail { right: 2px; top: 56px; width: 8px; }
  #modal-about.ab2 .ab2-thumb { left: 2px; width: 4px; }
}
