/* ============================================================
 * Fish Ai 业务弹窗视觉升级层 v2 · 深渊极光重设计
 * 作用域：模型价格 / 模型上新 / 个人中心 / 邀请返利 / 加入Q群 / 积分购买
 * 设计语言：深色饱和渐变 Hero + 白字 + 双光斑漂浮 + 辉光呼吸徽章
 * 叠加在 index-modals.css 之后加载；常驻动画仅 transform/filter/opacity，
 * 并在文件末尾提供 prefers-reduced-motion 全量守卫。
 * ============================================================ */

/* ===== 0. 共享动画（GPU 合成：transform / filter / opacity） ===== */
@keyframes imOrbA {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50%      { transform: translate3d(16px, 20px, 0) scale(1.12); }
}
@keyframes imOrbB {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50%      { transform: translate3d(-18px, -14px, 0) scale(1.08); }
}
@keyframes imDot {
  0%   { opacity: 1; }
  70%, 100% { opacity: .35; }
}
@keyframes imIconBreath {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.06); }
}
@keyframes imGlow {
  0%, 100% { filter: brightness(1); }
  50%      { filter: brightness(1.16); }
}
@keyframes imCardIn {
  from { opacity: 0; transform: translateY(14px); }
}
@keyframes imModalIn {
  from { opacity: 0; transform: translateY(18px) scale(.962); }
}
@keyframes imBtnBreath {
  0%, 100% { filter: drop-shadow(0 10px 22px rgba(99, 102, 241, .35)); }
  50%      { filter: drop-shadow(0 14px 30px rgba(99, 102, 241, .52)); }
}

/* ===== 1. 弹窗容器：入场弹簧 + 圆角 + 玻璃关闭钮 ===== */
.modal {
  border-radius: 22px;
  animation: imModalIn .42s cubic-bezier(.22, 1, .36, 1) backwards;
}
.modal-close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--bg-soft);
  transition: background-color .18s, color .18s, transform .32s cubic-bezier(.34, 1.56, .64, 1);
}
.modal-close:hover {
  background: rgba(220, 38, 38, .14);
  color: #ef4444;
  transform: rotate(90deg);
}
html[data-theme="dark"] .modal-close:hover {
  background: rgba(248, 113, 113, .15);
  color: #fca5a5;
}

/* ===== 2. 模型价格：青→靛 Hero（配合 app-modals.js 新头部结构） ===== */
.mp-head {
  display: block;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  margin: -20px -20px 16px;
  padding: 22px 22px 20px;
  border-bottom: 0;
  background: linear-gradient(120deg, #155e75 0%, #3730a3 48%, #4338ca 100%);
  box-shadow: 0 18px 42px rgba(30, 27, 75, .45), inset 0 0 0 1px rgba(103, 232, 249, .18);
}
.mp-orb {
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  pointer-events: none;
}
.mp-orb-a {
  width: 230px; height: 230px; right: -80px; top: -120px;
  background: radial-gradient(circle, rgba(103, 232, 249, .38), transparent 68%);
  animation: imOrbA 9s ease-in-out infinite;
}
.mp-orb-b {
  width: 190px; height: 190px; left: -60px; bottom: -110px;
  background: radial-gradient(circle, rgba(165, 180, 252, .34), transparent 68%);
  animation: imOrbB 11s ease-in-out infinite;
}
.mp-hero-row {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}
.mp-hero-icon {
  width: 52px; height: 52px;
  flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 16px;
  color: #fff;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 0 22px rgba(103, 232, 249, .28);
  animation: imIconBreath 4.5s ease-in-out infinite;
}
.mp-hero-icon svg { width: 26px; height: 26px; }
.mp-hero-meta { flex: 1; min-width: 0; }
.mp-hero-eyebrow {
  display: flex; align-items: center; gap: 7px;
  margin-bottom: 5px;
  color: rgba(255, 255, 255, .82);
  font: 800 9px/1.2 Consolas, Menlo, monospace;
  letter-spacing: .18em;
}
.mp-hero-eyebrow i {
  width: 7px; height: 7px; border-radius: 50%;
  background: #5eead4;
  box-shadow: 0 0 10px rgba(94, 234, 212, .65);
  animation: imDot 2.2s ease-out infinite;
}
.mp-title {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -.3px;
  color: #fff;
  text-shadow: 0 3px 14px rgba(2, 6, 23, .35);
}
.mp-hero-sub { margin-top: 4px; color: rgba(255, 255, 255, .78); font-size: 12px; }
.mp-legend { display: flex; gap: 7px; flex-wrap: wrap; }
.mp-leg-item {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 11px;
  border-radius: 999px;
  color: rgba(255, 255, 255, .92);
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .28);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.mp-leg-item b { color: #fff; font-weight: 800; }

/* 价格卡片：hover 顶部品牌色细条 + 上浮 */
.model-card { position: relative; overflow: hidden; }
.model-card::before {
  content: '';
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--mc-accent, #22d3ee), transparent 78%);
  opacity: 0;
  transition: opacity .2s ease;
}
.model-card:hover::before { opacity: 1; }
.model-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg), var(--glow-shadow);
}

/* ===== 3. 列表卡片错峰入场 ===== */
.price-grid .model-card,
.nm-list .nm-card { animation: imCardIn .5s cubic-bezier(.22, 1, .36, 1) backwards; }
.price-grid .model-card:nth-child(1), .nm-list .nm-card:nth-child(1) { animation-delay: .05s; }
.price-grid .model-card:nth-child(2), .nm-list .nm-card:nth-child(2) { animation-delay: .1s; }
.price-grid .model-card:nth-child(3), .nm-list .nm-card:nth-child(3) { animation-delay: .15s; }
.price-grid .model-card:nth-child(4), .nm-list .nm-card:nth-child(4) { animation-delay: .2s; }
.price-grid .model-card:nth-child(5), .nm-list .nm-card:nth-child(5) { animation-delay: .25s; }
.price-grid .model-card:nth-child(6), .nm-list .nm-card:nth-child(6) { animation-delay: .3s; }
.price-grid .model-card:nth-child(7), .nm-list .nm-card:nth-child(7) { animation-delay: .35s; }
.price-grid .model-card:nth-child(8), .nm-list .nm-card:nth-child(8) { animation-delay: .4s; }

/* ===== 4. 模型上新：琥珀→洋红 Hero ===== */
.nm-head {
  background: linear-gradient(120deg, #92400e 0%, #b45309 48%, #9d174d 100%);
  box-shadow: 0 18px 42px rgba(120, 53, 15, .4), inset 0 0 0 1px rgba(251, 191, 36, .22);
}
.nm-head::before {
  width: 230px; height: 230px; top: -80px; right: -70px;
  background: radial-gradient(circle, rgba(254, 243, 199, .3), transparent 68%);
  animation: imOrbA 9s ease-in-out infinite;
}
.nm-head::after {
  width: 190px; height: 190px; bottom: -100px; left: -60px;
  background: radial-gradient(circle, rgba(251, 207, 232, .26), transparent 68%);
  animation: imOrbB 11s ease-in-out infinite;
}
.nm-head-icon {
  animation: nmPop .6s cubic-bezier(.34, 1.56, .64, 1), imIconBreath 4.5s .7s ease-in-out infinite;
  background: linear-gradient(135deg, #fbbf24, #f43f5e);
  box-shadow: 0 8px 22px rgba(244, 63, 94, .5), inset 0 1px rgba(255, 255, 255, .4), 0 0 22px rgba(251, 191, 36, .3);
}
.nm-head-title { color: #fff; text-shadow: 0 3px 14px rgba(2, 6, 23, .4); }
.nm-head-sub { color: rgba(255, 255, 255, .82); }
.nm-head-count {
  color: #fff;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 0 18px rgba(251, 191, 36, .25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: imGlow 3.6s ease-in-out infinite;
}

/* ===== 5. 个人中心：深空蓝紫 Hero ===== */
.profile-hero {
  background: linear-gradient(120deg, #1e3a8a 0%, #3730a3 46%, #6d28d9 100%);
  box-shadow: 0 18px 42px rgba(49, 46, 129, .5), inset 0 0 0 1px rgba(129, 140, 248, .28);
}
.profile-hero::after {
  opacity: .4;
  background-image:
    linear-gradient(rgba(255, 255, 255, .09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .09) 1px, transparent 1px);
}
.profile-glow-one { background: radial-gradient(circle, rgba(103, 232, 249, .38), transparent 68%); animation: imOrbA 9s ease-in-out infinite; }
.profile-glow-two { background: radial-gradient(circle, rgba(196, 181, 253, .34), transparent 68%); animation: imOrbB 11s ease-in-out infinite; }
.profile-hero .profile-eyebrow { color: rgba(255, 255, 255, .78); }
.profile-hero .profile-name { color: #fff; text-shadow: 0 3px 14px rgba(2, 6, 23, .35); }
.profile-hero .profile-name span {
  color: #99f6e4;
  border-color: rgba(153, 246, 228, .4);
  background: rgba(153, 246, 228, .12);
}
.profile-hero .profile-id { color: rgba(255, 255, 255, .72); }
.profile-hero .profile-id b { color: #c4b5fd; }
.profile-hero .profile-status {
  color: #fff;
  border-color: rgba(255, 255, 255, .32);
  background: rgba(255, 255, 255, .13);
}
.profile-points-card { border-top-color: rgba(255, 255, 255, .22); }
.profile-hero .ppc-label { color: rgba(255, 255, 255, .7); }
.profile-hero .ppc-gem { color: #67e8f9; }
.profile-hero .ppc-value { color: #fff; text-shadow: 0 6px 24px rgba(2, 6, 23, .4), 0 0 26px rgba(129, 140, 248, .5); }
.profile-hero .ppc-hint { color: rgba(255, 255, 255, .62); }
.profile-hero .ppc-btn.primary {
  color: #4338ca;
  background: #fff;
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(2, 6, 23, .35), 0 0 18px rgba(129, 140, 248, .3);
}
.profile-hero .ppc-btn.primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(2, 6, 23, .45), 0 0 24px rgba(129, 140, 248, .4); }
.profile-hero .ppc-btn.ghost {
  color: #fff;
  background: rgba(255, 255, 255, .14);
  border-color: rgba(255, 255, 255, .35);
}
.profile-hero .ppc-btn.ghost:hover { background: rgba(255, 255, 255, .24); border-color: rgba(255, 255, 255, .55); }
.profile-online-dot { border-color: rgba(255, 255, 255, .85); }

/* ===== 6. 邀请返利：玫红→紫红 Hero ===== */
.referral-banner {
  border-bottom: 0;
  background: linear-gradient(120deg, #9d174d 0%, #86198f 50%, #5b21b6 100%);
  box-shadow: 0 18px 42px rgba(112, 26, 117, .42), inset 0 0 0 1px rgba(251, 207, 232, .2);
}
.referral-banner::before {
  width: 210px; height: 210px; top: -80px; right: -60px;
  background: radial-gradient(circle, rgba(251, 207, 232, .3), transparent 68%);
  animation: imOrbA 9s ease-in-out infinite;
}
.referral-banner::after {
  background: radial-gradient(circle, rgba(233, 213, 255, .26), transparent 68%);
  animation: imOrbB 11s ease-in-out infinite;
}
.rb-tag {
  color: #fff;
  background: rgba(255, 255, 255, .14);
  border-color: rgba(255, 255, 255, .32);
}
.rb-tag i { background: #6ee7b7; box-shadow: 0 0 10px rgba(110, 231, 183, .6); animation: imDot 2.2s ease-out infinite; }
.rb-title { color: #fff; text-shadow: 0 3px 14px rgba(2, 6, 23, .4); }
.rb-sub { color: rgba(255, 255, 255, .8); }
.rb-rate {
  background: rgba(255, 255, 255, .14);
  border-color: rgba(255, 255, 255, .35);
  animation: imGlow 3.6s ease-in-out infinite;
}
.rb-rate strong { color: #fff; }
.rb-rate strong small { color: #fff; }
.rb-rate span { color: rgba(255, 255, 255, .72); }

/* ===== 7. 加入Q群：官方社群弹窗（自包含重设计 · 深海青绿 Hero + 玻璃群号卡 + 入群步骤） ===== */
.qq-panel { position: relative; }

/* -- Hero：全出血深海渐变 + 双极光斑 + 网格 + 掠光 -- */
.qq-hero {
  position: relative;
  overflow: hidden;
  margin: -20px -20px 16px;
  padding: 22px 22px 20px;
  border: 0;
  border-radius: 0;
  color: #fff;
  background: linear-gradient(125deg, #032a33 0%, #0a4a5c 42%, #0f766e 100%);
}
.qq-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .3;
  background-image:
    linear-gradient(rgba(255, 255, 255, .09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .09) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(85% 95% at 50% 0%, #000 25%, transparent 100%);
  mask-image: radial-gradient(85% 95% at 50% 0%, #000 25%, transparent 100%);
}
.qq-aurora { position: absolute; width: 220px; height: 220px; border-radius: 50%; filter: blur(30px); pointer-events: none; }
.qq-aurora-one { top: -80px; right: -60px; background: radial-gradient(circle, rgba(165, 243, 252, .34), transparent 68%); animation: imOrbA 9s ease-in-out infinite; }
.qq-aurora-two { bottom: -90px; left: -70px; background: radial-gradient(circle, rgba(153, 246, 228, .3), transparent 68%); animation: imOrbB 11s ease-in-out infinite; }
.qq-sheen {
  position: absolute;
  top: -25%;
  bottom: -25%;
  left: -50%;
  width: 32%;
  background: linear-gradient(100deg, transparent 0%, rgba(255, 255, 255, .17) 50%, transparent 100%);
  transform: skewX(-18deg);
  animation: qqSheen 5.8s ease-in-out infinite;
  pointer-events: none;
}
@keyframes qqSheen {
  0%, 55% { transform: skewX(-18deg) translateX(-160%); }
  100%    { transform: skewX(-18deg) translateX(580%); }
}
.qq-verified {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: max-content;
  margin-bottom: 14px;
  padding: 4px 12px;
  border-radius: 999px;
  color: #ecfeff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .18em;
  background: rgba(255, 255, 255, .13);
  border: 1px solid rgba(255, 255, 255, .32);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.qq-verified i { width: 6px; height: 6px; border-radius: 50%; background: #6ee7b7; box-shadow: 0 0 10px rgba(110, 231, 183, .6); animation: imDot 2.2s ease-out infinite; }

.qq-identity { position: relative; z-index: 1; display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.qq-group-icon {
  position: relative;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  color: #fff;
  border-radius: 16px;
  background: rgba(255, 255, 255, .13);
  border: 1px solid rgba(255, 255, 255, .36);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 8px 22px rgba(2, 6, 23, .42), 0 0 18px rgba(103, 232, 249, .3);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.qq-group-icon svg { width: 27px; height: 27px; position: relative; z-index: 1; }
.qq-group-icon span {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, .28), transparent 55%);
  pointer-events: none;
}
.qq-identity-copy { min-width: 0; }
.qq-identity-copy h4 { margin: 0 0 3px; color: #fff; font-size: 19px; font-weight: 800; letter-spacing: -.3px; text-shadow: 0 3px 14px rgba(2, 6, 23, .4); }
.qq-identity-copy p { margin: 0; color: rgba(255, 255, 255, .78); font-size: 12px; line-height: 1.55; }

/* -- 群号卡：白底玻璃 + 大号等宽数字 -- */
.qq-number-box {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 15px;
  border: 1px solid rgba(13, 148, 136, .28);
  border-radius: 14px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 10px 26px rgba(2, 6, 23, .38), inset 0 1px 0 rgba(255, 255, 255, .9);
  animation: imGlow 3.6s ease-in-out infinite;
}
.qq-number-meta { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.qq-number-label { color: #64748b; font-size: 10.5px; font-weight: 700; letter-spacing: .04em; }
.qq-number-label b {
  margin-left: 4px;
  padding: 1px 7px;
  border-radius: 999px;
  color: #0f766e;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: .06em;
  background: rgba(16, 185, 129, .12);
  border: 1px solid rgba(16, 185, 129, .32);
}
.qq-number {
  color: #0f766e;
  font-size: 26px;
  font-weight: 900;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: 1.4px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 20px rgba(13, 148, 136, .22);
}
.qq-copy-btn {
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 42px;
  padding: 0 18px;
  border: 0;
  border-radius: 11px;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .02em;
  background: linear-gradient(135deg, #0d9488, #06b6d4);
  box-shadow: 0 7px 18px rgba(2, 6, 23, .35), 0 0 16px rgba(103, 232, 249, .28), inset 0 1px 0 rgba(255, 255, 255, .25);
  cursor: pointer;
  transition: transform .16s var(--ease-out), box-shadow .18s var(--ease-out), filter .18s var(--ease-out);
}
.qq-copy-btn svg { width: 16px; height: 16px; }
.qq-copy-btn::after {
  content: '';
  position: absolute;
  top: -30%;
  bottom: -30%;
  left: -60%;
  width: 36%;
  background: linear-gradient(100deg, transparent 0%, rgba(255, 255, 255, .45) 50%, transparent 100%);
  transform: skewX(-20deg);
  animation: qqSheen 3.8s ease-in-out infinite;
  pointer-events: none;
}
.qq-copy-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow: 0 11px 24px rgba(2, 6, 23, .45), 0 0 22px rgba(103, 232, 249, .4), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.qq-copy-btn:active { transform: translateY(0) scale(.97); }
.qq-copy-btn.copied { color: #fff; background: linear-gradient(135deg, #059669, #10b981); }

/* -- 三大权益卡 -- */
.qq-benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 12px; }
.qq-benefit {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 14px 13px 13px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--shadow);
  transition: transform .18s var(--ease-out), box-shadow .18s var(--ease-out), border-color .18s var(--ease-out);
  animation: imCardIn .4s ease-out both;
}
.qq-benefit:nth-child(2) { animation-delay: .06s; }
.qq-benefit:nth-child(3) { animation-delay: .12s; }
.qq-benefit:hover { transform: translateY(-3px); border-color: rgba(var(--glow), .4); box-shadow: var(--shadow), var(--glow-shadow); }
.qq-benefit-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: #fff;
  border-radius: 11px;
  background: var(--qb-grad, linear-gradient(135deg, #0d9488, #06b6d4));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .32), 0 5px 13px -3px var(--qb-glow, rgba(13, 148, 136, .5));
}
.qq-benefit-icon svg { width: 18px; height: 18px; }
.qq-benefit-model .qq-benefit-icon { background: linear-gradient(135deg, #0ea5e9, #6366f1); --qb-glow: rgba(99, 102, 241, .5); }
.qq-benefit-help .qq-benefit-icon { background: linear-gradient(135deg, #10b981, #0d9488); --qb-glow: rgba(16, 185, 129, .5); }
.qq-benefit-dev .qq-benefit-icon { background: linear-gradient(135deg, #8b5cf6, #d946ef); --qb-glow: rgba(139, 92, 246, .5); }
.qq-benefit strong { color: var(--text); font-size: 13px; font-weight: 800; letter-spacing: -.1px; }
.qq-benefit span { color: var(--text-secondary); font-size: 11px; line-height: 1.5; }

/* -- 入群三步骤 -- */
.qq-steps {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  margin-bottom: 10px;
  border: 1px dashed rgba(13, 148, 136, .4);
  border-radius: 12px;
  background: rgba(13, 148, 136, .06);
  animation: imCardIn .4s ease-out .18s both;
}
.qq-step { display: flex; align-items: center; gap: 6px; min-width: 0; }
.qq-step b {
  flex-shrink: 0;
  width: 19px;
  height: 19px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-size: 10.5px;
  font-weight: 800;
  background: linear-gradient(135deg, #0d9488, #06b6d4);
  box-shadow: 0 3px 8px -2px rgba(13, 148, 136, .55);
}
.qq-step span { color: var(--text-secondary); font-size: 11.5px; font-weight: 600; white-space: nowrap; }
.qq-steps i { flex: 1; min-width: 6px; height: 2px; border-radius: 99px; background: linear-gradient(90deg, #67e8f9, #5eead4); opacity: .55; }

/* -- 底部提示条 -- */
.qq-group-tip {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 9px 12px;
  color: var(--text-secondary);
  background: var(--bg-soft);
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  font-size: 11.5px;
  line-height: 1.5;
  animation: imCardIn .4s ease-out .24s both;
}
.qq-group-tip i {
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2dd4bf;
  box-shadow: 0 0 10px rgba(45, 212, 191, .65);
  animation: imDot 2.2s ease-out infinite;
}

/* -- 移动端适配 -- */
@media (max-width: 540px) {
  .qq-identity-copy h4 { font-size: 17px; }
  .qq-identity-copy p { font-size: 11px; }
  .qq-number-box { flex-wrap: wrap; gap: 10px; padding: 12px 13px; }
  .qq-number { font-size: 23px; letter-spacing: 1.1px; }
  .qq-copy-btn { width: 100%; justify-content: center; }
  .qq-benefits { gap: 8px; }
  .qq-benefit { padding: 12px 11px; border-radius: 12px; }
  .qq-benefit-icon { width: 33px; height: 33px; border-radius: 10px; }
  .qq-benefit strong { font-size: 12.5px; }
  .qq-benefit span { font-size: 10.5px; }
  .qq-steps { gap: 6px; padding: 9px 10px; }
  .qq-step b { width: 18px; height: 18px; font-size: 10px; }
  .qq-step span { font-size: 10.5px; }
}


/* ===== 8. 模型上新卡片：暗色补丁（琥珀卡在暗色下收敛为暗调） ===== */
html[data-theme="dark"] .nm-card {
  background: linear-gradient(135deg, rgba(120, 53, 15, .2), rgba(15, 23, 42, .55) 60%);
  border-color: rgba(245, 158, 11, .28);
}
html[data-theme="dark"] .nm-card::before {
  background: radial-gradient(circle, rgba(251, 191, 36, .14), transparent 70%);
}
html[data-theme="dark"] .nm-card.active {
  background: linear-gradient(135deg, rgba(120, 53, 15, .3), rgba(15, 23, 42, .6) 60%);
}
html[data-theme="dark"] .nm-card.active .nm-name { color: #fcd34d; }
html[data-theme="dark"] .nm-head-title,
html[data-theme="dark"] .nm-head-sub,
html[data-theme="dark"] .nm-head-count { color: #fff; }

/* ===== 9. 移动端适配 ===== */
@media (max-width: 700px) {
  .mp-head, .qq-hero { margin: -16px -16px 14px; padding: 17px 16px 16px; }
  .nm-head { margin: -16px -16px 14px; padding: 18px 16px; }
  .referral-banner { margin: -16px -16px 15px; }
  .mp-hero-icon { width: 44px; height: 44px; border-radius: 13px; }
  .mp-hero-icon svg { width: 22px; height: 22px; }
  .mp-title { font-size: 18px; }
  .mp-hero-row { gap: 11px; }
  .mp-legend { flex-basis: 100%; }
  .nm-head-title { font-size: 16.5px; }
  .rb-title { font-size: 17px; }
}

/* ===== 13. 积分购买：宝石紫深色 Hero + 充值转化强化 ===== */
.points-purchase {
  background: linear-gradient(180deg, rgba(99, 102, 241, .07) 0, rgba(34, 211, 238, .04) 190px, transparent 190px);
}
/* Hero：紫→靛→青 深色渐变 + 光斑 */
.points-head {
  padding: 22px 22px 20px;
  margin: 0 -20px 14px;
  border-bottom: 0;
  background: linear-gradient(120deg, #4c1d95 0%, #4f46e5 48%, #0e7490 100%);
  box-shadow: 0 18px 42px rgba(49, 46, 129, .45), inset 0 0 0 1px rgba(196, 181, 253, .24);
}
.points-head::after {
  opacity: .38;
  background-image:
    linear-gradient(rgba(255, 255, 255, .09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .09) 1px, transparent 1px);
}
.points-head-glow-one {
  background: radial-gradient(circle, rgba(196, 181, 253, .38), transparent 68%);
  animation: imOrbA 9s ease-in-out infinite;
}
.points-head-glow-two {
  background: radial-gradient(circle, rgba(103, 232, 249, .32), transparent 68%);
  animation: imOrbB 11s ease-in-out infinite;
}
.points-head-kicker {
  padding: 4px 12px;
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .32);
}
.points-head-kicker i { background: #6ee7b7; box-shadow: 0 0 10px rgba(110, 231, 183, .6); animation: imDot 2.2s ease-out infinite; }
.points-head-title {
  color: #fff;
  text-shadow: 0 3px 14px rgba(30, 27, 75, .45);
}
.points-head-sub { color: rgba(255, 255, 255, .78); }
/* 余额卡：白底票券卡 + 呼吸辉光（深色 Hero 上双主题高对比成立） */
.points-balance {
  background: #fff;
  border-color: rgba(79, 70, 225, .28);
  box-shadow: 0 10px 26px rgba(2, 6, 23, .38);
  animation: imGlow 3.6s ease-in-out infinite;
}
.points-balance .pb-label { color: #64748b; font-size: 9.5px; }
.points-balance .pb-value { color: #4338ca; font-size: 19px; text-shadow: none; }
.pb-after {
  margin-top: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  color: #047857;
  background: rgba(16, 185, 129, .12);
  border: 1px solid rgba(5, 150, 105, .3);
}

/* 套餐卡：错峰入场 + 选中放大 + best 流动描边 */
.points-grid .points-card { animation: imCardIn .5s cubic-bezier(.22, 1, .36, 1) backwards; }
.points-grid .points-card:nth-child(1) { animation-delay: .05s; }
.points-grid .points-card:nth-child(2) { animation-delay: .11s; }
.points-grid .points-card:nth-child(3) { animation-delay: .17s; }
.points-grid .points-card:nth-child(4) { animation-delay: .23s; }
.points-grid .points-card:nth-child(5) { animation-delay: .29s; }
.points-grid .points-card:nth-child(6) { animation-delay: .35s; }
.points-card.active { transform: scale(1.025); }
.points-card.active:hover { transform: scale(1.025) translateY(-3px); }
.points-card.best::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 14px;
  padding: 1.5px;
  background: conic-gradient(from var(--spin), #f59e0b, #f43f5e 35%, #a855f7 68%, #f59e0b);
  -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;
  animation: spinRing 3.2s linear infinite;
  pointer-events: none;
}
.pc-tag-line {
  padding: 2.5px 12px;
  letter-spacing: 1px;
  box-shadow: 0 3px 10px rgba(245, 158, 11, .5), inset 0 1px rgba(255, 255, 255, .35);
}
.pc-price { font-size: 21px; }
.pc-meta i { font-size: 9.5px; }

/* 支付按钮：加高加大 + 光带扫过 + 呼吸辉光 */
.pay-btn {
  position: relative;
  overflow: hidden;
  margin-top: 20px;
  padding: 16px;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 1px;
  background: var(--grad-brand);
}
.pay-btn:not(:disabled) { animation: imBtnBreath 2.6s ease-in-out infinite; }
.pay-btn::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0; left: -75%;
  width: 45%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .38), transparent);
  transform: skewX(-20deg);
  transition: transform .55s ease;
  pointer-events: none;
}
.pay-btn:hover:not(:disabled)::after { transform: skewX(-20deg) translateX(456%); }
.pay-btn.alipay {
  background: linear-gradient(135deg, #2897ff, #1677ff);
  box-shadow: 0 4px 14px rgba(22, 119, 255, .32);
}
.pay-btn.alipay:not(:disabled) { animation: none; }

/* 信任条轻玻璃化 */
.ptb-item {
  background: var(--surface);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.ptb-item b { color: #34d399; }

@media (max-width: 700px) {
  .points-head { padding: 17px 16px 16px; }
  .points-balance { min-width: 128px; }
  .points-balance .pb-value { font-size: 15px; }
  .pay-btn { padding: 14px; font-size: 15px; }
}

/* ===== 14. 智能体更新日期徽章（Harness 弹窗 / FishCode 弹窗） ===== */
.hm-fresh {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: 6px;
  padding: 2px 9px;
  border-radius: 999px;
  color: #34d399;
  background: rgba(16, 185, 129, .12);
  border: 1px solid rgba(52, 211, 153, .35);
  font-size: 10.5px;
  font-weight: 800;
}
.hm-fresh::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px rgba(52, 211, 153, .6);
  animation: imDot 2.2s ease-out infinite;
}
.fish-update-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: 8px;
  padding: 2px 10px;
  border-radius: 999px;
  vertical-align: 2px;
  color: #60a5fa;
  background: rgba(59, 130, 246, .12);
  border: 1px solid rgba(96, 165, 250, .4);
  font-size: 10.5px;
  font-weight: 800;
}
.fish-update-pill i { width: 6px; height: 6px; border-radius: 50%; background: #3b82f6; box-shadow: 0 0 8px rgba(59, 130, 246, .6); flex-shrink: 0; }
html[data-theme="dark"] .hm-fresh {
  color: #6ee7b7;
  background: rgba(6, 78, 59, .4);
  border-color: rgba(110, 231, 183, .3);
}
html[data-theme="dark"] .fish-update-pill {
  color: #93c5fd;
  background: rgba(30, 58, 138, .35);
  border-color: rgba(96, 165, 250, .3);
}

/* ===== 15. Hero 深色主题品牌色描边辉光（1px 同色 30% 内环 + 外辉光） ===== */
html[data-theme="dark"] .mp-head { box-shadow: 0 18px 42px rgba(30, 27, 75, .5), inset 0 0 0 1px rgba(103, 232, 249, .3), 0 0 34px rgba(34, 211, 238, .18); }
html[data-theme="dark"] .nm-head { box-shadow: 0 18px 42px rgba(120, 53, 15, .45), inset 0 0 0 1px rgba(251, 191, 36, .3), 0 0 34px rgba(245, 158, 11, .16); }
html[data-theme="dark"] .profile-hero { box-shadow: 0 18px 42px rgba(49, 46, 129, .5), inset 0 0 0 1px rgba(129, 140, 248, .3), 0 0 34px rgba(99, 102, 241, .18); }
html[data-theme="dark"] .referral-banner { box-shadow: 0 18px 42px rgba(112, 26, 117, .45), inset 0 0 0 1px rgba(251, 113, 133, .3), 0 0 34px rgba(236, 72, 153, .16); }
html[data-theme="dark"] .qq-hero { box-shadow: inset 0 0 0 1px rgba(103, 232, 249, .3), 0 0 34px rgba(34, 211, 238, .18); }
/* ===== 16. API 日志：flatpickr 自定义时段（品牌化范围日历） ===== */
.api-range-field { flex: 1 1 230px; min-width: 0; }
.api-range-box { position: relative; display: flex; flex: 1; min-width: 0; }
.api-range-box input {
  width: 100%;
  min-width: 0;
  padding-right: 32px;
  cursor: pointer;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-weight: 600;
}
.api-range-clear {
  position: absolute;
  right: 7px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  display: none;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: var(--text-muted);
  background: transparent;
  cursor: pointer;
  transition: color .15s var(--ease-out), background .15s var(--ease-out);
}
.api-range-clear svg { width: 12px; height: 12px; }
.api-range-clear:hover { color: var(--text); background: var(--bg-hover); }
.api-range-box input:not(:placeholder-shown) ~ .api-range-clear { display: grid; }

/* flatpickr 日历：深渊极光品牌化（玻璃面板 + 渐变选中区间） */
.flatpickr-calendar {
  background:
    radial-gradient(120% 70% at 18% 0%, rgba(var(--glow), .07), transparent 60%),
    radial-gradient(90% 60% at 85% 100%, rgba(var(--glow-violet), .06), transparent 62%),
    var(--surface-solid);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-lg), var(--glow-shadow);
  overflow: hidden;
}
.flatpickr-calendar.arrowTop:before, .flatpickr-calendar.arrowTop:after,
.flatpickr-calendar.arrowBottom:before, .flatpickr-calendar.arrowBottom:after { display: none; }
.flatpickr-months { padding: 8px 6px 0; border-bottom: 1px solid var(--border-soft); }
.flatpickr-months .flatpickr-month { color: var(--text); fill: var(--text); }
.flatpickr-current-month { color: var(--text); font-weight: 700; }
.flatpickr-current-month input,
.flatpickr-current-month .flatpickr-monthDropdown-months { color: var(--text); background: transparent; font-weight: 700; }
.flatpickr-monthDropdown-month { background-color: var(--surface-solid); color: var(--text); }
.flatpickr-months .flatpickr-prev-month,
.flatpickr-months .flatpickr-next-month {
  width: 28px;
  height: 28px;
  top: 9px;
  display: grid;
  place-items: center;
  color: var(--accent);
  fill: var(--accent);
  border-radius: 9px;
}
.flatpickr-months .flatpickr-prev-month svg,
.flatpickr-months .flatpickr-next-month svg { width: 15px; height: 15px; }
.flatpickr-months .flatpickr-prev-month:hover,
.flatpickr-months .flatpickr-next-month:hover { color: var(--primary); fill: var(--primary); background: var(--bg-hover); }
.flatpickr-weekdays { background: transparent; }
span.flatpickr-weekday { color: var(--text-muted); font-weight: 700; }
.flatpickr-days { padding: 6px 6px 8px; }
.flatpickr-day { color: var(--text); font-weight: 600; border-radius: 9px; }
.flatpickr-day:hover, .flatpickr-day:focus { background: var(--bg-hover); color: var(--text); border-color: transparent; }
.flatpickr-day.today { border-color: rgba(var(--glow), .55); color: var(--accent); }
.flatpickr-day.today:hover { background: var(--bg-hover); border-color: rgba(var(--glow), .55); }
.flatpickr-day.selected, .flatpickr-day.startRange, .flatpickr-day.endRange {
  background: var(--grad-brand);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 14px -2px rgba(var(--glow), .55);
}
.flatpickr-day.selected:hover, .flatpickr-day.startRange:hover, .flatpickr-day.endRange:hover,
.flatpickr-day.selected:focus, .flatpickr-day.startRange:focus, .flatpickr-day.endRange:focus {
  background: var(--grad-brand);
  color: #fff;
  border-color: transparent;
}
.flatpickr-day.inRange {
  background: rgba(var(--glow), .2);
  color: var(--text);
  border-color: transparent;
  box-shadow: -5px 0 0 rgba(var(--glow), .2), 5px 0 0 rgba(var(--glow), .2);
}
.flatpickr-day.inRange:hover { background: rgba(var(--glow), .3); }
.flatpickr-day.flatpickr-disabled, .flatpickr-day.prevMonthDay, .flatpickr-day.nextMonthDay { color: var(--text-muted); opacity: .45; }
.flatpickr-day.flatpickr-disabled:hover, .flatpickr-day.prevMonthDay:hover, .flatpickr-day.nextMonthDay:hover {
  background: transparent;
  color: var(--text-muted);
  border-color: transparent;
}

html[data-theme="dark"] .points-head { box-shadow: 0 18px 42px rgba(49, 46, 129, .5), inset 0 0 0 1px rgba(196, 181, 253, .3), 0 0 34px rgba(139, 92, 246, .18); }

/* ===== 无障碍：减弱动效（v2 层全量守卫） ===== */
@media (prefers-reduced-motion: reduce) {
  .modal,
  .price-grid .model-card,
  .nm-list .nm-card,
  .mp-orb-a, .mp-orb-b,
  .mp-hero-icon, .mp-hero-eyebrow i,
  .nm-head::before, .nm-head::after, .nm-head-icon, .nm-head-count,
  .profile-glow-one, .profile-glow-two,
  .referral-banner::before, .referral-banner::after, .rb-tag i,
  .qq-aurora-one, .qq-aurora-two, .qq-verified i, .qq-number-box,
  .qq-sheen, .qq-copy-btn::after, .qq-group-tip i,
  .qq-benefit, .qq-steps, .qq-group-tip,
  .flatpickr-calendar,
  .points-head-glow-one, .points-head-glow-two, .points-head-kicker i,
  .points-balance,
  .points-grid .points-card,
  .points-card.best::after,
  .pay-btn, .pay-btn:not(:disabled), .pay-btn::after,
  .hm-fresh::before {
    animation: none !important;
    transition-duration: .01ms !important;
  }
}
