/* ============================================================
   付款中心 - 样式表 (高级感 · 玻璃拟态 · 流畅动效 v2)
   ------------------------------------------------------------
   设计语言：
     - 深色空间 + 金色质感点缀
     - 玻璃拟态卡片 (blur + 内高光)
     - 统一缓动曲线 cubic-bezier(.21,1.02,.73,1)
     - 入场 stagger 动画 / 悬浮浮起 / 光泽扫过
   ============================================================ */

:root{
  --gold: #d4af37;
  --gold-soft: rgba(212,175,55,.14);
  --green: #07c160;
  --txt: #eef0f4;
  --txt-dim: #9aa0aa;
  --line: rgba(255,255,255,.09);
  --glass: linear-gradient(160deg, rgba(255,255,255,.07) 0%, rgba(255,255,255,.02) 100%);
  --ease: cubic-bezier(.21,1.02,.73,1);
  --ease-smooth: cubic-bezier(.4,0,.2,1);
}

/* ===== 1. 重置 & 基础 ===== */
* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }

html { scroll-behavior: smooth; }

html, body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
}

body {
  background:
    radial-gradient(1100px 600px at 12% -5%, rgba(212,175,55,.10) 0%, transparent 55%),
    radial-gradient(900px 600px at 95% 8%, rgba(99,140,255,.08) 0%, transparent 50%),
    radial-gradient(1200px 800px at 50% 110%, rgba(7,193,96,.07) 0%, transparent 55%),
    linear-gradient(180deg, #050608 0%, #0a0c11 40%, #0d1018 100%);
  background-attachment: fixed;
  min-height: 100vh;
  color: var(--txt);
  padding-bottom: 48px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* ===== 2. 背景纹理（噪点 + 细网格） ===== */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
  opacity: .035;
}

/* ===== 3. 顶部导航栏 ===== */
.top-nav {
  position: sticky; top: 0; z-index: 998;
  background: rgba(10,12,16,.72);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  border-bottom: 1px solid var(--line);
  display: flex; overflow-x: auto;
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
  padding: 0 4px;
  box-shadow: 0 6px 24px rgba(0,0,0,.4);
}
.top-nav::-webkit-scrollbar { display: none; }

.nav-item {
  flex: 0 0 auto; padding: 13px 14px;
  color: var(--txt-dim); text-decoration: none;
  font-size: 13px; font-weight: 500; letter-spacing: .5px;
  white-space: nowrap; border-bottom: 2px solid transparent;
  transition: color .25s var(--ease-smooth), border-color .25s var(--ease-smooth), background .25s;
  -webkit-tap-highlight-color: transparent;
}
.nav-item:hover { color: #fff; background: rgba(255,255,255,.04); }
.nav-item:active { color: #fff; }
.nav-item.active { color: var(--gold); border-bottom-color: var(--gold); }

.nav-left { display: flex; flex: 1; overflow-x: auto; scrollbar-width: none; }
.nav-left::-webkit-scrollbar { display: none; }

.nav-right {
  flex: 0 0 auto; display: flex; align-items: center;
  padding: 0 12px 0 8px; border-left: 1px solid var(--line); margin-left: 8px;
}

.nav-login-btn {
  background: linear-gradient(135deg, #e6c34f, #c79a1e);
  color: #1a1407; border: none; border-radius: 9px;
  padding: 7px 16px; font-size: 12px; font-weight: 700;
  cursor: pointer; white-space: nowrap; letter-spacing: .5px;
  box-shadow: 0 4px 14px rgba(212,175,55,.32);
  transition: transform .18s var(--ease), box-shadow .25s, filter .2s;
}
.nav-login-btn:hover { filter: brightness(1.06); box-shadow: 0 6px 20px rgba(212,175,55,.42); }
.nav-login-btn:active { transform: scale(.95); }

.nav-user-info { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #cfd3da; white-space: nowrap; }
.nav-user-info span { max-width: 120px; overflow: hidden; text-overflow: ellipsis; }
.nav-logout-btn {
  background: none; border: 1px solid rgba(255,255,255,.18);
  border-radius: 7px; color: var(--txt-dim); font-size: 11px;
  padding: 4px 10px; cursor: pointer; transition: all .2s;
}
.nav-logout-btn:hover { color: #ff6b6b; border-color: #ff6b6b; }

/* ===== 3b. 登录/注册弹窗 ===== */
.auth-overlay {
  display: none; position: fixed; inset: 0; z-index: 9999;
  background: rgba(4,5,7,.78); backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  justify-content: center; align-items: center;
  animation: fade .3s var(--ease-smooth);
}
.auth-overlay.show { display: flex; }

.auth-modal {
  background: linear-gradient(180deg, rgba(26,28,38,.96), rgba(12,14,20,.98));
  border: 1px solid rgba(212,175,55,.28);
  border-radius: 22px; padding: 34px 28px 26px;
  width: 350px; max-width: 90vw; position: relative;
  box-shadow: 0 30px 80px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.08);
  animation: pop .35s var(--ease);
}
.auth-modal::after{
  content:''; position:absolute; inset:0; border-radius:22px; pointer-events:none;
  background: radial-gradient(120% 60% at 50% -10%, rgba(212,175,55,.12), transparent 60%);
}

.auth-close {
  position: absolute; top: 12px; right: 14px;
  background: rgba(255,255,255,.06); border: none; color: #888;
  width: 30px; height: 30px; border-radius: 50%; font-size: 20px;
  cursor: pointer; line-height: 1; transition: all .2s;
}
.auth-close:hover { color: #fff; background: rgba(255,255,255,.14); }

.auth-title {
  font-size: 20px; font-weight: 700; color: #fff;
  text-align: center; margin-bottom: 22px; letter-spacing: 1px;
}
.auth-title::after{
  content:''; display:block; width:42px; height:3px; margin:10px auto 0;
  border-radius:3px; background: linear-gradient(90deg, var(--gold), #fff);
}

.auth-error {
  background: rgba(226,75,74,.14); border: 1px solid rgba(226,75,74,.3);
  border-radius: 10px; color: #ff8585; font-size: 12px;
  padding: 9px 12px; margin-bottom: 14px; text-align: center;
}

.auth-input {
  width: 100%; padding: 13px 15px; margin-bottom: 13px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px; color: #fff; font-size: 14px; outline: none;
  box-sizing: border-box; transition: border-color .25s, background .25s, box-shadow .25s;
}
.auth-input:focus { border-color: var(--gold); background: rgba(212,175,55,.06); box-shadow: 0 0 0 3px rgba(212,175,55,.12); }
.auth-input::placeholder { color: #555; }

.auth-submit-btn {
  width: 100%; padding: 13px;
  background: linear-gradient(135deg, #e6c34f, #c79a1e);
  color: #1a1407; border: none; border-radius: 12px;
  font-size: 15px; font-weight: 700; cursor: pointer; letter-spacing: 2px;
  margin-top: 6px; box-shadow: 0 6px 20px rgba(212,175,55,.32);
  transition: transform .18s var(--ease), box-shadow .25s, filter .2s;
}
.auth-submit-btn:hover { filter: brightness(1.05); box-shadow: 0 8px 26px rgba(212,175,55,.42); }
.auth-submit-btn:active { transform: scale(.97); }
.auth-submit-btn:disabled { opacity: .55; cursor: not-allowed; }

.auth-switch { text-align: center; margin-top: 16px; font-size: 13px; color: #888; }
.auth-switch a { color: var(--gold); text-decoration: none; margin-left: 4px; font-weight: 600; }
.auth-switch a:hover { text-decoration: underline; }

.auth-hint { text-align: center; font-size: 11px; color: #5a5f6a; margin-top: 14px; }

/* ===== 4. 头部 Hero ===== */
.hero {
  position: relative; padding: 46px 20px 38px; text-align: center;
  border-bottom: 1px solid rgba(255,255,255,.05); z-index: 1;
  animation: rise .7s var(--ease) both;
}
.hero .brand-mark { margin: 0 auto 18px; text-align: center; }
.hero .brand-logo {
  font-size: 34px; font-weight: 900; color: #fff;
  letter-spacing: 2px; line-height: 1; position: relative;
  display: inline-block; padding: 0 4px;
}
.hero .brand-logo .bolt {
  color: #ff3b3b; display: inline-block; margin: 0 1px; transform: skewX(-2deg);
  filter: drop-shadow(0 0 10px rgba(255,59,59,.5));
}
.hero .brand-en {
  font-size: 13px; font-weight: 400; color: var(--gold);
  letter-spacing: 7px; margin-top: 8px; opacity: .9;
}
.hero h1 {
  font-size: 26px; font-weight: 200; letter-spacing: 6px;
  background: linear-gradient(180deg, #ffffff 0%, #b9bdc7 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero .subtitle { margin-top: 10px; font-size: 11px; letter-spacing: 4px; color: var(--txt-dim); font-weight: 300; }
.hero .tagline {
  margin-top: 18px; font-size: 12px; color: #777; font-weight: 300; letter-spacing: .5px;
  display: inline-block; padding: 7px 18px; border: 1px solid var(--line);
  border-radius: 999px; background: rgba(255,255,255,.03);
}

.wrap { position: relative; padding: 22px 14px 0; z-index: 1; max-width: 720px; margin: 0 auto; }

/* ===== 5. 分组容器 ===== */
.group {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 22px; padding: 20px 16px 17px; margin-bottom: 18px;
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 10px 36px rgba(0,0,0,.42), inset 0 1px 0 rgba(255,255,255,.07);
  position: relative; overflow: hidden;
  opacity: 0; transform: translateY(16px);
  animation: rise .6s var(--ease) forwards;
}
.group:nth-of-type(1){ animation-delay:.05s; }
.group:nth-of-type(2){ animation-delay:.11s; }
.group:nth-of-type(3){ animation-delay:.17s; }
.group:nth-of-type(4){ animation-delay:.23s; }
.group:nth-of-type(5){ animation-delay:.29s; }
.group:nth-of-type(6){ animation-delay:.35s; }
.group:nth-of-type(7){ animation-delay:.41s; }

.group-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.group-title { font-size: 17px; font-weight: 700; color: #fff; letter-spacing: 1px; }
.group-title .icon { font-weight: 300; opacity: .8; margin-right: 5px; }

.badge {
  font-size: 10px; padding: 4px 11px; border-radius: 999px;
  font-weight: 600; letter-spacing: 1px; border: 1px solid currentColor;
}
.badge-silver   { color: #cdd0d6; background: rgba(205,208,214,.08); }
.badge-gold     { color: var(--gold); background: var(--gold-soft); }
.badge-platinum { color: #e8e9ec; background: rgba(232,233,236,.08); }
.badge-rose     { color: #f5a3a3; background: rgba(245,163,163,.08); }

.group-desc {
  font-size: 12px; color: var(--txt-dim); margin-bottom: 16px;
  padding-left: 2px; line-height: 1.6; font-weight: 300;
}

.tier-bar { display: flex; gap: 4px; margin-bottom: 14px; height: 3px; border-radius: 2px; overflow: hidden; }
.tier-bar div { flex: 1; }
.tier-bar .t1 { background: linear-gradient(90deg, #7d8088, #b9bdc7); }
.tier-bar .t2 { background: linear-gradient(90deg, #b9bdc7, var(--gold)); }
.tier-bar .t3 { background: linear-gradient(90deg, var(--gold), #f3e6b0); }

/* ===== 6. 套餐卡片 ===== */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 11px; }
.plan {
  position: relative;
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 16px; padding: 15px 6px 13px;
  text-align: center; cursor: pointer; overflow: hidden;
  transition: transform .28s var(--ease), border-color .28s, box-shadow .28s, background .28s;
}
.plan::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--tier-color, #888); opacity: .55; transition: opacity .3s;
}
/* 光泽扫过 */
.plan::after{
  content:''; position:absolute; top:0; left:-60%; width:55%; height:100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.14), transparent);
  transform: skewX(-18deg); transition: left .6s var(--ease-smooth); pointer-events:none;
}
.plan:hover { transform: translateY(-4px); border-color: var(--tier-color, rgba(255,255,255,.3)); box-shadow: 0 14px 30px rgba(0,0,0,.5); }
.plan:hover::after { left: 120%; }
.plan:active { transform: translateY(-1px) scale(.97); }

.tier-low      { --tier-color: #b0b4bc; --price-color: #d7dade; }
.tier-mid      { --tier-color: var(--gold); --price-color: #f0d77a; }
.tier-high     { --tier-color: #e5e4e2; --price-color: #ffffff; }
.tier-premium  { --tier-color: var(--gold); --price-color: #ffffff; }

.plan .period { font-size: 10px; color: #9498a2; font-weight: 600; letter-spacing: 2px; margin-bottom: 7px; text-transform: uppercase; }
.plan .price { color: var(--price-color); font-weight: 300; font-size: 23px; line-height: 1.1; letter-spacing: -.5px; }
.plan .price small { font-size: 12px; font-weight: 400; opacity: .7; }
.plan .meta { font-size: 10px; color: #8c9099; margin-top: 7px; font-weight: 400; letter-spacing: .5px; }

.plan.rec {
  background: linear-gradient(180deg, rgba(212,175,55,.14) 0%, rgba(212,175,55,.04) 100%);
  border-color: rgba(212,175,55,.42);
  box-shadow: 0 8px 24px rgba(212,175,55,.14);
}
.plan.rec::before { background: linear-gradient(90deg, var(--gold), #fff, var(--gold)); opacity: 1; }
.plan.rec .price { color: #fff; font-weight: 600; }

.plan .save {
  position: absolute; top: 9px; right: 9px;
  background: linear-gradient(135deg, #e6c34f, #c79a1e); color: #1a1407;
  font-size: 9px; padding: 3px 8px; border-radius: 999px; font-weight: 800;
  letter-spacing: .5px; box-shadow: 0 3px 10px rgba(212,175,55,.45);
}
.plan .rec-tag {
  position: absolute; top: -1px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(90deg, var(--gold), #fff, var(--gold));
  color: #1a1407; font-size: 9px; padding: 3px 14px; border-radius: 0 0 9px 9px;
  font-weight: 800; letter-spacing: 2px;
}

/* ===== 7. 流量卡片 ===== */
.flows { display: grid; grid-template-columns: repeat(2, 1fr); gap: 11px; }
.flow {
  position: relative;
  background: linear-gradient(160deg, rgba(255,255,255,.07) 0%, rgba(255,255,255,.02) 100%);
  border: 1px solid var(--line); border-radius: 16px; padding: 17px 10px;
  cursor: pointer; text-align: center; overflow: hidden;
  transition: transform .28s var(--ease), border-color .28s, box-shadow .28s;
}
.flow::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--tier-color, #888); opacity: .55; transition: opacity .3s;
}
.flow::after{
  content:''; position:absolute; top:0; left:-60%; width:55%; height:100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.14), transparent);
  transform: skewX(-18deg); transition: left .6s var(--ease-smooth); pointer-events:none;
}
.flow:hover { transform: translateY(-4px); border-color: var(--tier-color, rgba(255,255,255,.3)); box-shadow: 0 14px 30px rgba(0,0,0,.5); }
.flow:hover::after { left: 120%; }
.flow:active { transform: translateY(-1px) scale(.97); }
.flow .g { font-size: 25px; font-weight: 300; color: var(--price-color); letter-spacing: -1px; }
.flow .g small { font-size: 13px; font-weight: 400; opacity: .7; margin-left: 2px; }
.flow .p { font-size: 18px; font-weight: 600; color: var(--price-color); margin-top: 7px; letter-spacing: .5px; }
.flow .note { font-size: 10px; color: #8c9099; margin-top: 5px; letter-spacing: .5px; font-weight: 300; }
.flow.full { grid-column: span 2; }
.flow.full .g { font-size: 29px; }
.flow.full::before { background: linear-gradient(90deg, var(--gold), #fff, var(--gold)); opacity: 1; }

/* ===== 8. 列表项 ===== */
.list { display: flex; flex-direction: column; gap: 11px; }
.item {
  background: var(--glass);
  border: 1px solid var(--line); border-radius: 16px; padding: 15px 17px;
  display: flex; align-items: center; justify-content: space-between;
  cursor: pointer; position: relative; overflow: hidden;
  transition: transform .25s var(--ease), border-color .25s, box-shadow .25s;
}
.item::before { content: ''; position: absolute; top: 0; left: 0; bottom: 0; width: 3px; background: var(--tier-color, #888); }
.item::after{
  content:''; position:absolute; top:0; left:-60%; width:55%; height:100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.10), transparent);
  transform: skewX(-18deg); transition: left .6s var(--ease-smooth); pointer-events:none;
}
.item:hover { transform: translateY(-3px); border-color: var(--tier-color, rgba(255,255,255,.3)); box-shadow: 0 12px 26px rgba(0,0,0,.45); }
.item:hover::after { left: 120%; }
.item:active { transform: scale(.985); }
.item .l-info { display: flex; flex-direction: column; gap: 3px; }
.item .l-title { font-size: 14px; font-weight: 600; color: #fff; letter-spacing: .5px; }
.item .l-desc { font-size: 11px; color: var(--txt-dim); font-weight: 300; }
.item .l-price { color: var(--price-color); font-weight: 700; font-size: 21px; letter-spacing: -.5px; }

/* ===== 8b. 我的卡密栏目 ===== */
#cardListContainer { min-height: 40px; }
.card-login-hint { text-align: center; padding: 30px 16px; color: var(--txt-dim); font-size: 13px; line-height: 2; }
.card-login-hint .login-link { color: var(--gold); cursor: pointer; text-decoration: underline; font-weight: 600; }
.card-loading { text-align: center; padding: 30px 16px; color: var(--txt-dim); font-size: 13px; }
.card-empty { text-align: center; padding: 30px 16px; color: #6b707a; font-size: 13px; line-height: 2; }
.card-empty .empty-icon { font-size: 40px; display: block; margin-bottom: 8px; }
.card-empty-title { font-size: 14px; font-weight: 600; color: #aeb2bb; margin-bottom: 4px; }
.card-empty-desc { font-size: 12px; color: #6b707a; margin-bottom: 16px; }

.card-buy-btn {
  display: inline-block; padding: 11px 30px;
  background: linear-gradient(135deg, #e6c34f, #c79a1e); color: #1a1407; border: none;
  border-radius: 11px; font-size: 14px; font-weight: 700; cursor: pointer;
  letter-spacing: 1px; box-shadow: 0 6px 20px rgba(212,175,55,.34);
  transition: transform .18s var(--ease), box-shadow .25s, filter .2s;
}
.card-buy-btn:hover { filter: brightness(1.05); box-shadow: 0 9px 26px rgba(212,175,55,.44); }
.card-buy-btn:active { transform: scale(.96); }

.card-item-expired { opacity: .5; background: linear-gradient(160deg, rgba(120,120,120,.06) 0%, rgba(120,120,120,.02) 100%) !important; border-color: rgba(120,120,120,.15) !important; }
.card-item-expired::before { background: linear-gradient(180deg, #888, #555) !important; }
.card-item-expired .card-code-block { background: rgba(0,0,0,.2) !important; border-color: rgba(120,120,120,.1) !important; }
.card-item-expired .card-code-text { color: #999 !important; }
.card-item-expired .card-copy-sm { background: rgba(120,120,120,.15) !important; color: #888 !important; border-color: rgba(120,120,120,.2) !important; }

.card-item {
  background: linear-gradient(160deg, rgba(7,193,96,.07) 0%, rgba(7,193,96,.02) 100%);
  border: 1px solid rgba(7,193,96,.2); border-radius: 16px; padding: 16px;
  margin-bottom: 11px; position: relative; overflow: hidden;
  animation: rise .5s var(--ease) both;
}
.card-item::before { content: ''; position: absolute; top: 0; left: 0; bottom: 0; width: 3px; background: linear-gradient(180deg, var(--green), #04a14e); border-radius: 3px 0 0 3px; }
.card-item:last-child { margin-bottom: 0; }

.card-item-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 11px; }
.card-package-name { font-size: 14px; font-weight: 700; color: #fff; letter-spacing: .5px; line-height: 1.4; }
.card-status-badge {
  font-size: 10px; padding: 4px 11px; border-radius: 999px;
  font-weight: 600; letter-spacing: 1px; white-space: nowrap;
  flex-shrink: 0; margin-left: 8px;
}
.card-status-active   { background: rgba(7,193,96,.15); color: #2ee08a; border: 1px solid rgba(7,193,96,.32); }
.card-status-expiring { background: rgba(255,165,0,.15); color: #ffb84d; border: 1px solid rgba(255,165,0,.32); }
.card-status-expired  { background: rgba(226,75,74,.15); color: #ff8585; border: 1px solid rgba(226,75,74,.32); }

.card-code-block {
  background: rgba(0,0,0,.38); border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px; padding: 11px 13px; display: flex; align-items: center; gap: 10px; margin-bottom: 9px;
}
.card-code-text {
  flex: 1; font-family: 'Courier New','SF Mono', monospace; font-size: 13px;
  color: #e6e8ec; word-break: break-all; line-height: 1.5; min-width: 0;
}
.card-copy-sm {
  flex-shrink: 0; background: rgba(7,193,96,.2); color: #2ee08a;
  border: 1px solid rgba(7,193,96,.32); border-radius: 7px; padding: 6px 11px;
  font-size: 11px; cursor: pointer; white-space: nowrap; transition: background .2s, transform .15s;
}
.card-copy-sm:hover { background: rgba(7,193,96,.34); }
.card-copy-sm:active { transform: scale(.94); }

.card-meta-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 6px; font-size: 12px; color: #9aa0aa; }
.card-expiry { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; }
.card-expiry-days { font-size: 11px; padding: 3px 9px; border-radius: 999px; font-weight: 700; }
.days-safe  { background: rgba(7,193,96,.12); color: #2ee08a; }
.days-warn  { background: rgba(255,165,0,.12); color: #ffb84d; }
.days-danger{ background: rgba(226,75,74,.12); color: #ff8585; }
.card-buy-time { color: #6b707a; font-size: 11px; }

/* ===== 9. 公告 & 页脚 ===== */
.notice {
  background: var(--glass); border: 1px solid var(--line);
  border-radius: 18px; padding: 16px 18px; font-size: 12px;
  color: #b4b8c0; margin-bottom: 18px; line-height: 1.9; font-weight: 300;
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}
.notice b { color: var(--gold); font-weight: 600; }
.notice .row { margin-bottom: 4px; }
.notice .row:last-child { margin-bottom: 0; }

.footer { text-align: center; font-size: 11px; color: #5a5f6a; padding: 12px 16px 0; line-height: 1.9; font-weight: 300; letter-spacing: .5px; }
.footer b { color: var(--gold); font-weight: 600; }

/* ===== 10. 付款弹窗 ===== */
.mask {
  position: fixed; inset: 0; background: rgba(4,5,7,.82);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  display: none; align-items: center; justify-content: center;
  z-index: 999; padding: 16px; animation: fade .3s var(--ease-smooth);
}
.mask.show { display: flex; }

.modal {
  background: linear-gradient(180deg, #16181f 0%, #0b0d12 100%);
  border: 1px solid rgba(255,255,255,.1); border-radius: 24px;
  width: 100%; max-width: 360px; overflow: hidden;
  animation: pop .35s var(--ease);
  box-shadow: 0 30px 80px rgba(0,0,0,.65), inset 0 1px 0 rgba(255,255,255,.07);
}

.modal-head {
  position: relative; padding: 26px 16px 22px; text-align: center;
  background: radial-gradient(ellipse at top, rgba(212,175,55,.14) 0%, transparent 70%), linear-gradient(180deg, #16181f 0%, #0b0d12 100%);
  border-bottom: 1px solid var(--line);
}
.modal-head .label { font-size: 11px; color: #9498a2; letter-spacing: 3px; font-weight: 300; text-transform: uppercase; }
.modal-head .amt-big {
  font-size: 44px; font-weight: 200; margin: 10px 0 4px; letter-spacing: -1px;
  background: linear-gradient(180deg, #fff 0%, #9aa0aa 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.modal-head .desc { font-size: 12px; color: var(--txt-dim); font-weight: 300; letter-spacing: .5px; }
.modal-body { padding: 22px 18px 18px; }

.pay-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; padding: 16px; border: none; border-radius: 15px;
  font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 11px;
  cursor: pointer; text-decoration: none; letter-spacing: 1px;
  position: relative; overflow: hidden;
  transition: transform .18s var(--ease), box-shadow .25s, filter .2s;
}
.pay-btn .icon { font-size: 18px; }
.pay-btn:active { transform: scale(.97); }
.pay-btn:hover { filter: brightness(1.06); }
.pay-wx { background: linear-gradient(135deg, #09c46a 0%, #04a14e 100%); box-shadow: 0 6px 20px rgba(7,193,96,.32); }
.pay-ali { background: linear-gradient(135deg, #2c8bff 0%, #0a63e6 100%); box-shadow: 0 6px 20px rgba(22,119,255,.32); }

.qr-area { text-align: center; padding: 4px 0; }
.qr-area img {
  width: 220px; height: 220px; border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px; padding: 10px; background: #fff;
  box-shadow: 0 8px 28px rgba(0,0,0,.4);
}
.qr-tip { font-size: 12px; color: #9aa0aa; margin-top: 15px; line-height: 1.9; font-weight: 300; }
.qr-tip b { color: var(--gold); font-size: 14px; font-weight: 700; }

.close-btn {
  display: block; margin: 16px auto 0; background: transparent; color: #8c9099;
  border: 1px solid rgba(255,255,255,.16); padding: 9px 34px; border-radius: 999px;
  font-size: 12px; cursor: pointer; font-weight: 300; letter-spacing: 2px;
  transition: all .2s;
}
.close-btn:hover { color: #fff; border-color: rgba(255,255,255,.34); }
.back-link {
  background: none; border: none; color: var(--gold); font-size: 12px;
  display: block; margin: 11px auto 0; cursor: pointer; padding: 4px 12px;
  font-weight: 600; letter-spacing: 1px; transition: opacity .2s;
}
.back-link:hover { opacity: .8; }

.paid-btn {
  display: block; width: 100%; margin: 15px 0 0; padding: 12px 0;
  background: linear-gradient(135deg, #09c46a, #06ad56); border: none;
  border-radius: 12px; color: #fff; font-size: 14px; font-weight: 700;
  cursor: pointer; letter-spacing: 1px; box-shadow: 0 6px 18px rgba(7,193,96,.32);
  transition: transform .18s var(--ease), filter .2s;
}
.paid-btn:hover { filter: brightness(1.05); }
.paid-btn:active { transform: scale(.97); }
.paid-done, .order-status { text-align: center; color: var(--green); font-size: 13px; font-weight: 600; margin-top: 11px; letter-spacing: .5px; }
.order-status { color: #9aa0aa; }
.order-status .order-waiting { padding: 14px 0; }

.card-code-box {
  background: rgba(7,193,96,.08); border: 1px solid rgba(7,193,96,.28);
  border-radius: 14px; padding: 14px; margin: 14px auto 8px; max-width: 290px;
}
.card-code-label { font-size: 12px; color: #2ee08a; margin-bottom: 8px; font-weight: 600; }
.card-code-value {
  font-size: 15px; font-family: 'Courier New', monospace; color: #fff;
  background: rgba(0,0,0,.32); border-radius: 8px; padding: 10px 12px;
  word-break: break-all; line-height: 1.6; margin-bottom: 11px; text-align: left;
}
.card-code-copy-btn {
  display: block; width: 100%; padding: 10px; background: var(--green); color: #fff;
  border: none; border-radius: 10px; font-size: 13px; font-weight: 700; cursor: pointer;
  letter-spacing: 1px; transition: background .2s, transform .15s;
}
.card-code-copy-btn:hover { background: #06a050; }
.card-code-copy-btn:active { transform: scale(.97); }
.card-expiry-info { font-size: 14px; padding: 9px 0 4px; margin-top: 4px; font-weight: 600; }

/* ===== 11. 教程查看器 ===== */
.tut-mask {
  position: fixed; inset: 0; background: rgba(4,5,7,.92);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  display: none; align-items: center; justify-content: center; z-index: 999; padding: 12px;
  animation: fade .3s var(--ease-smooth);
}
.tut-mask.show { display: flex; }

.tut-viewer {
  background: #0c0e13; border: 1px solid rgba(255,255,255,.1); border-radius: 18px;
  width: 100%; max-width: 480px; max-height: 90vh; overflow: hidden;
  display: flex; flex-direction: column; animation: pop .35s var(--ease);
  box-shadow: 0 30px 80px rgba(0,0,0,.6);
}
.tut-viewer-head {
  display: flex; justify-content: space-between; align-items: center; padding: 14px 16px;
  background: linear-gradient(135deg, rgba(212,175,55,.18), rgba(212,175,55,.05));
  border-bottom: 1px solid rgba(255,255,255,.08); color: #fff; font-size: 15px; font-weight: 700;
}
.tut-close {
  background: rgba(255,255,255,.1); color: #fff; border: none; width: 30px; height: 30px;
  border-radius: 50%; font-size: 18px; line-height: 1; cursor: pointer; transition: all .2s;
}
.tut-close:hover { background: rgba(255,255,255,.2); }
.tut-viewer-body { flex: 1; overflow: auto; text-align: center; padding: 10px; background: #050608; -webkit-overflow-scrolling: touch; }
.tut-viewer-body img { max-width: 100%; max-height: 75vh; width: auto; height: auto; display: block; margin: 0 auto; border-radius: 8px; }
.tut-viewer-foot { padding: 11px 16px; text-align: center; background: rgba(255,255,255,.03); border-top: 1px solid rgba(255,255,255,.06); color: #8c9099; font-size: 11px; font-weight: 300; }

.tut-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; margin-bottom: 4px; }
.tut-btn {
  background: var(--glass); border: 1px solid var(--line); border-radius: 16px;
  padding: 18px 8px 15px; text-align: center; cursor: pointer;
  transition: transform .25s var(--ease), border-color .25s, box-shadow .25s, background .25s;
  -webkit-tap-highlight-color: transparent;
}
.tut-btn:hover { transform: translateY(-3px); border-color: var(--gold); box-shadow: 0 12px 26px rgba(0,0,0,.45); background: rgba(212,175,55,.06); }
.tut-btn:active { transform: scale(.97); }
.tut-emoji { font-size: 34px; margin-bottom: 8px; filter: drop-shadow(0 2px 6px rgba(0,0,0,.4)); }
.tut-name { font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 3px; letter-spacing: 1px; }
.tut-hint { font-size: 11px; color: var(--txt-dim); font-weight: 300; }

/* ===== 12. 客服弹窗 & 悬浮按钮 ===== */
.float-btn {
  position: fixed; right: 0; top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 20px 11px;
  background: linear-gradient(135deg, #1fbe22, #06ad56); color: #fff;
  border-radius: 999px 0 0 999px; font-size: 15px; font-weight: 700; letter-spacing: 1px;
  box-shadow: 0 8px 26px rgba(7,193,96,.45), 0 2px 6px rgba(0,0,0,.2);
  cursor: pointer; z-index: 100; user-select: none;
  border: 1px solid rgba(255,255,255,.22); writing-mode: vertical-rl; text-orientation: mixed;
  transition: transform .2s var(--ease), box-shadow .25s, filter .2s;
}
.float-btn:hover { filter: brightness(1.06); box-shadow: 0 10px 32px rgba(7,193,96,.55); }
.float-btn:active { transform: translateY(-50%) scale(.95); }
.float-icon { font-size: 19px; filter: drop-shadow(0 1px 2px rgba(0,0,0,.3)); writing-mode: horizontal-tb; }

.float-mask {
  position: fixed; inset: 0; background: rgba(4,5,7,.78);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  display: none; align-items: center; justify-content: center; z-index: 998; padding: 16px;
  animation: fade .3s var(--ease-smooth);
}
.float-mask.show { display: flex; }

.float-modal {
  background: linear-gradient(180deg, #16181f, #0b0d12);
  border: 1px solid rgba(255,255,255,.1); border-radius: 22px;
  width: 100%; max-width: 320px; overflow: hidden; animation: pop .35s var(--ease);
  box-shadow: 0 30px 80px rgba(0,0,0,.6);
}
.float-head {
  display: flex; justify-content: space-between; align-items: center; padding: 15px 16px;
  background: linear-gradient(135deg, rgba(7,193,96,.18), rgba(7,193,96,.05));
  border-bottom: 1px solid rgba(255,255,255,.08); color: #fff; font-size: 15px; font-weight: 600; letter-spacing: 1px;
}
.float-close {
  background: rgba(255,255,255,.08); color: #fff; border: none; width: 30px; height: 30px;
  border-radius: 50%; font-size: 18px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: all .2s;
}
.float-close:hover { background: rgba(255,255,255,.18); }
.float-body { padding: 20px 16px 22px; text-align: center; }
.friend-qr { width: 100%; max-width: 160px; border-radius: 10px; background: #fff; padding: 4px; box-shadow: 0 6px 20px rgba(0,0,0,.4); }
.float-tip { margin-top: 15px; font-size: 12px; color: #9aa0aa; line-height: 1.8; font-weight: 300; }
.float-tip b { color: var(--gold); font-weight: 700; }

/* ===== 13. 表单元素 ===== */
.contact-info { text-align: center; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,.06); }
.contact-title { font-size: 17px; font-weight: 700; color: #fff; margin-bottom: 4px; letter-spacing: 1px; }
.contact-sub { font-size: 11px; color: var(--txt-dim); font-weight: 300; }

.form-group { margin-bottom: 12px; }
.form-group label { display: block; font-size: 12px; color: #9aa0aa; margin-bottom: 5px; letter-spacing: .5px; }
.form-input {
  width: 100%; padding: 11px 13px; background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12); border-radius: 11px; color: #fff;
  font-size: 14px; font-family: inherit; outline: none;
  transition: border-color .25s, background .25s, box-shadow .25s; -webkit-appearance: none;
}
.form-input:focus { border-color: var(--green); background: rgba(7,193,96,.06); box-shadow: 0 0 0 3px rgba(7,193,96,.12); }
.form-input::placeholder { color: #555; }
.form-area { resize: none; font-family: inherit; }
select.form-input {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%23888' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 10px 6px; padding-right: 32px;
}
select.form-input option { background: #16181f; color: #fff; }

.form-submit {
  width: 100%; padding: 14px; background: linear-gradient(135deg, #1fbe22, #06ad56); color: #fff;
  border: none; border-radius: 12px; font-size: 15px; font-weight: 700; cursor: pointer;
  letter-spacing: 1px; box-shadow: 0 6px 18px rgba(7,193,96,.32); transition: transform .18s var(--ease), filter .2s;
  margin-top: 4px;
}
.form-submit:hover { filter: brightness(1.05); }
.form-submit:active { transform: scale(.98); }

.form-divider { text-align: center; margin: 14px 0 12px; position: relative; color: #555; font-size: 11px; }
.form-divider::before, .form-divider::after { content: ''; position: absolute; top: 50%; width: 40%; height: 1px; background: rgba(255,255,255,.1); }
.form-divider::before { left: 0; }
.form-divider::after  { right: 0; }
.form-divider span { background: #0b0d12; padding: 0 8px; }

.form-friend-btn {
  width: 100%; padding: 12px; background: rgba(212,175,55,.08); color: var(--gold);
  border: 1px solid rgba(212,175,55,.34); border-radius: 11px; font-size: 13px; font-weight: 600;
  cursor: pointer; letter-spacing: .5px; transition: background .2s, transform .15s;
}
.form-friend-btn:hover { background: rgba(212,175,55,.16); }
.form-friend-btn:active { transform: scale(.98); }

/* ===== 14. 加载 / 成功状态 ===== */
.loading-state { text-align: center; padding: 42px 0; }
.loading-spinner {
  width: 38px; height: 38px; margin: 0 auto 14px;
  border: 3px solid rgba(255,255,255,.1); border-top-color: var(--green); border-radius: 50%;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loading-text { color: #9aa0aa; font-size: 13px; letter-spacing: .5px; }

.success-state { text-align: center; padding: 32px 0; }
.success-icon {
  width: 64px; height: 64px; margin: 0 auto 15px;
  background: linear-gradient(135deg, #09c46a, #04a14e); border-radius: 50%;
  color: #fff; font-size: 34px; line-height: 64px; text-align: center;
  box-shadow: 0 8px 24px rgba(7,193,96,.45); animation: pop .45s var(--ease);
}
.success-title { font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 6px; letter-spacing: 1px; }
.success-sub { font-size: 12px; color: #9aa0aa; line-height: 1.8; font-weight: 300; }

/* ===== 15. 在线聊天弹窗 ===== */
.chat-overlay { position: fixed; inset: 0; z-index: 1100; background: rgba(4,5,7,.6); display: none; align-items: flex-end; justify-content: center; animation: fade .3s var(--ease-smooth); }
.chat-overlay.show { display: flex; }

.chat-modal {
  width: 100%; max-width: 440px; height: 78vh; max-height: 600px;
  background: linear-gradient(180deg, #12141b 0%, #0b0d12 100%);
  border-radius: 22px 22px 0 0; border: 1px solid rgba(255,255,255,.08); border-bottom: none;
  display: flex; flex-direction: column; overflow: hidden;
  animation: slideUp .4s var(--ease);
  box-shadow: 0 -10px 60px rgba(0,0,0,.6);
}

.chat-header {
  display: flex; align-items: center; justify-content: space-between; padding: 15px 16px;
  background: linear-gradient(135deg, #1b2746, #16213e); flex-shrink: 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.chat-header-info { display: flex; align-items: center; gap: 10px; }
.chat-header-icon { font-size: 22px; }
.chat-header-title { font-size: 15px; font-weight: 700; color: #fff; }
.chat-header-sub { font-size: 11px; color: #aab; margin-top: 1px; }
.chat-close { background: rgba(255,255,255,.08); border: none; color: #ccd; font-size: 20px; cursor: pointer; padding: 4px 10px; line-height: 1; border-radius: 8px; transition: all .2s; }
.chat-close:hover { background: rgba(255,255,255,.18); color: #fff; }

.chat-body { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 11px; background: #0d0f15; }
.chat-body::-webkit-scrollbar { width: 4px; }
.chat-body::-webkit-scrollbar-thumb { background: #2a2e3a; border-radius: 2px; }

.chat-empty { text-align: center; color: #5a5f6a; font-size: 13px; padding: 30px 0; margin: auto; }

.chat-msg-user, .chat-msg-admin { max-width: 85%; animation: msgIn .35s var(--ease) both; }
.chat-msg-user { align-self: flex-end; }
.chat-msg-admin { align-self: flex-start; }
.chat-msg-label { font-size: 10px; color: #6b707a; margin-bottom: 4px; padding: 0 4px; }
.chat-msg-content { padding: 11px 15px; border-radius: 16px; font-size: 14px; line-height: 1.55; word-break: break-word; box-shadow: 0 4px 14px rgba(0,0,0,.3); }
.chat-msg-user .chat-msg-content { background: linear-gradient(135deg, #e6c34f, #c79a1e); color: #1a1407; border-bottom-right-radius: 5px; }
.chat-msg-admin .chat-msg-content { background: #232739; color: #dfe2ea; border-bottom-left-radius: 5px; }

.chat-footer { display: flex; align-items: center; gap: 9px; padding: 11px 13px; background: #12141b; flex-shrink: 0; border-top: 1px solid rgba(255,255,255,.06); }
.chat-input {
  flex: 1; padding: 11px 15px; border-radius: 22px; border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05); color: #fff; font-size: 14px; outline: none;
  transition: border-color .25s, box-shadow .25s;
}
.chat-input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212,175,55,.12); }
.chat-input::placeholder { color: #5a5f6a; }
.chat-send-btn {
  padding: 11px 18px; border: none; border-radius: 22px;
  background: linear-gradient(135deg, #e6c34f, #c79a1e); color: #1a1407; font-size: 13px;
  font-weight: 700; cursor: pointer; white-space: nowrap; transition: transform .15s var(--ease), filter .2s;
}
.chat-send-btn:hover { filter: brightness(1.05); }
.chat-send-btn:active { transform: scale(.95); }

/* ===== 16. 卡密重新获取按钮 ===== */
.card-retry-btn {
  display: block; width: 100%; margin-top: 9px; padding: 8px 0;
  border: 1px solid rgba(212,175,55,.4); border-radius: 10px; background: rgba(212,175,55,.1);
  color: var(--gold); font-size: 12px; font-weight: 600; cursor: pointer;
  transition: all .2s;
}
.card-retry-btn:hover { background: rgba(212,175,55,.2); }
.card-retry-btn:active { transform: scale(.98); }

/* 卡密操作按钮组（竖排，两个按钮等宽同高） */
.card-actions { display: flex; flex-direction: column; gap: 9px; margin-top: 10px; }
.card-actions .card-retry-btn { margin-top: 0; }
.card-import-btn,
.card-actions .card-retry-btn {
  width: 100%; padding: 10px 0; border-radius: 11px; font-size: 12px; font-weight: 700;
  cursor: pointer; letter-spacing: .5px; transition: all .2s;
}
.card-import-btn {
  border: 1px solid rgba(7,193,96,.4); background: rgba(7,193,96,.1); color: #2ee08a;
}
.card-import-btn:hover { background: rgba(7,193,96,.2); }
.card-import-btn:active { transform: scale(.97); }

/* ===== 16b. 一键导入弹窗 ===== */
.import-overlay {
  position: fixed; inset: 0; z-index: 1200; display: none;
  background: rgba(4,5,7,.82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  align-items: center; justify-content: center; padding: 18px;
  animation: fade .3s var(--ease-smooth);
}
.import-overlay.show { display: flex; }

.import-modal {
  width: 100%; max-width: 360px; background: linear-gradient(180deg, rgba(26,28,38,.97), rgba(12,14,20,.98));
  border: 1px solid rgba(212,175,55,.26); border-radius: 24px; padding: 28px 22px 22px;
  box-shadow: 0 30px 80px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.07);
  animation: pop .35s var(--ease); position: relative; overflow: hidden;
}
.import-modal::after {
  content:''; position:absolute; inset:0; pointer-events:none; border-radius:24px;
  background: radial-gradient(120% 55% at 50% -10%, rgba(212,175,55,.12), transparent 60%);
}
.import-head { text-align: center; margin-bottom: 22px; }
.import-title { font-size: 19px; font-weight: 700; color: #fff; letter-spacing: 1px; }
.import-title::after { content:''; display:block; width:40px; height:3px; margin:9px auto 0; border-radius:3px; background: linear-gradient(90deg, var(--gold), #fff); }
.import-sub { font-size: 12px; color: var(--txt-dim); margin-top: 10px; letter-spacing: .5px; }

.import-plats { display: flex; flex-direction: column; gap: 11px; }
.import-plat {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px;
  background: var(--glass); border: 1px solid var(--line); border-radius: 14px;
  cursor: pointer; text-align: left; color: #fff; font-family: inherit;
  transition: transform .22s var(--ease), border-color .22s, box-shadow .22s, background .22s;
}
.import-plat:hover { transform: translateY(-2px); border-color: rgba(212,175,55,.45); box-shadow: 0 10px 26px rgba(0,0,0,.4); background: rgba(212,175,55,.07); }
.import-plat:active { transform: scale(.98); }
.ip-name { font-size: 15px; font-weight: 700; letter-spacing: 1px; }
.ip-desc { font-size: 11px; color: var(--txt-dim); margin-top: 2px; }

.import-apps { display: flex; flex-direction: column; gap: 11px; }
.import-app {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px;
  background: var(--glass); border: 1px solid var(--line); border-radius: 14px;
  cursor: pointer; text-align: left; color: #fff; font-family: inherit;
  transition: transform .22s var(--ease), border-color .22s, box-shadow .22s, background .22s;
}
.import-app:hover { transform: translateY(-2px); border-color: rgba(212,175,55,.45); box-shadow: 0 10px 26px rgba(0,0,0,.4); background: rgba(212,175,55,.07); }
.import-app:active { transform: scale(.98); }
.ia-logo {
  width: 42px; height: 42px; border-radius: 12px; display: flex; align-items: center;
  justify-content: center; font-size: 14px; font-weight: 800; color: #fff; flex-shrink: 0;
}
.ia-clashmi { background: linear-gradient(135deg, #d4af37, #9a7b1a); }
.ia-shadow { background: linear-gradient(135deg, #2c8bff, #0a63e6); }
.ia-info { display: flex; flex-direction: column; gap: 2px; }
.ia-name { font-size: 14px; font-weight: 700; }
.ia-desc { font-size: 11px; color: var(--txt-dim); }

.import-status { text-align: center; padding: 6px 0 14px; }
.import-manual {
  background: rgba(255,255,255,.04); border: 1px solid var(--line); border-radius: 13px;
  padding: 13px; margin-bottom: 6px;
}
.im-label { font-size: 11px; color: var(--txt-dim); margin-bottom: 8px; }
.im-code {
  font-family: 'Courier New', monospace; font-size: 12px; color: #e6e8ec;
  background: rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.1); border-radius: 8px;
  padding: 9px 11px; word-break: break-all; line-height: 1.5; max-height: 84px; overflow-y: auto;
}
.im-copy {
  width: 100%; margin-top: 9px; padding: 9px 0; border: none; border-radius: 9px;
  background: linear-gradient(135deg, #e6c34f, #c79a1e); color: #1a1407;
  font-size: 13px; font-weight: 700; cursor: pointer; font-family: inherit;
  transition: transform .15s var(--ease), filter .2s;
}
.im-copy:hover { filter: brightness(1.05); }
.im-copy:active { transform: scale(.97); }

.import-close {
  display: block; margin: 16px auto 0; background: transparent; color: #8c9099;
  border: 1px solid rgba(255,255,255,.16); padding: 9px 34px; border-radius: 999px;
  font-size: 12px; cursor: pointer; font-weight: 300; letter-spacing: 2px; font-family: inherit;
  transition: all .2s;
}
.import-close:hover { color: #fff; border-color: rgba(255,255,255,.34); }
.import-back {
  display: block; margin: 12px auto 0; background: none; border: none;
  color: var(--gold); font-size: 12px; cursor: pointer; padding: 4px 12px;
  font-weight: 600; letter-spacing: 1px; font-family: inherit; transition: opacity .2s;
}
.import-back:hover { opacity: .8; }

/* ===== 17. 订单通知中状态 ===== */
.order-waiting { text-align: center; padding: 14px; color: var(--gold); font-size: 13px; font-weight: 500; }

/* ===== 动画关键帧 ===== */
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop { from { transform: scale(.88); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
@keyframes msgIn { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .group { opacity: 1 !important; transform: none !important; }
}

/* ===== 18. SVG 图标系统（替代 emoji，避免设备无 emoji 字体时显示问号） ===== */
.ic {
  display: inline-block; width: 1.15em; height: 1.15em;
  vertical-align: -0.2em; flex-shrink: 0;
  background-color: currentColor;
  -webkit-mask: var(--ic) no-repeat center / contain;
  mask: var(--ic) no-repeat center / contain;
}
.group-title .ic { margin-right: 6px; opacity: .85; }
.ic-key{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12.65 10C11.83 7.67 9.61 6 7 6c-3.31 0-6 2.69-6 6s2.69 6 6 6c2.61 0 4.83-1.67 5.65-4H17v4h4v-4h2v-4H12.65zM7 14c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2z'/%3E%3C/svg%3E");}
.ic-bolt{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M11 21h-1l1-7H7.5c-.58 0-.57-.32-.38-.66.19-.34.05-.08.07-.12C8.48 10.94 10.42 7.54 13 3h1l-1 7h3.5c.49 0 .56.33.47.51l-.07.15C12.96 17.55 11 21 11 21z'/%3E%3C/svg%3E");}
.ic-plane{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M2.01 21L23 12 2.01 3 2 10l15 2-15 2z'/%3E%3C/svg%3E");}
.ic-book{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M18 2H6c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zM6 4h5v8l-2.5-1.5L6 12V4z'/%3E%3C/svg%3E");}
.ic-bot{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M17.6 9.48l1.84-3.18c.16-.31.04-.69-.26-.85-.29-.15-.65-.06-.83.22l-1.88 3.24c-2.86-1.21-6.08-1.21-8.94 0L5.65 5.67c-.19-.29-.58-.38-.87-.2-.28.18-.37.54-.22.83L6.4 9.48C3.3 11.25 1.28 14.44 1 18h22c-.28-3.56-2.3-6.75-5.4-8.52zM7 15.25c-.69 0-1.25-.56-1.25-1.25s.56-1.25 1.25-1.25 1.25.56 1.25 1.25-.56 1.25-1.25 1.25zm10 0c-.69 0-1.25-.56-1.25-1.25s.56-1.25 1.25-1.25 1.25.56 1.25 1.25-.56 1.25-1.25 1.25z'/%3E%3C/svg%3E");}
.ic-apple{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M18.71 19.5c-.83 1.24-1.71 2.45-3.05 2.47-1.34.03-1.77-.79-3.29-.79-1.53 0-2 .77-3.27.82-1.31.05-2.3-1.32-3.14-2.53C4.25 17 2.94 12.45 4.7 9.39c.87-1.52 2.43-2.48 4.12-2.51 1.28-.02 2.5.87 3.29.87.78 0 2.26-1.07 3.81-.91.65.03 2.47.26 3.64 1.98-.09.06-2.17 1.28-2.15 3.81.03 3.02 2.65 4.03 2.68 4.04-.03.07-.42 1.44-1.38 2.83M13 3.5c.73-.83 1.94-1.46 2.94-1.5.13 1.17-.34 2.35-1.04 3.19-.69.85-1.83 1.51-2.95 1.42-.15-1.15.41-2.35 1.05-3.11z'/%3E%3C/svg%3E");}
.ic-phone{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M17 1.01L7 1c-1.1 0-2 .9-2 2v18c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2V3c0-1.1-.9-1.99-2-1.99zM17 19H7V5h10v14z'/%3E%3C/svg%3E");}
.ic-laptop{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M20 18c1.1 0 1.99-.9 1.99-2L22 6c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2H0v2h24v-2h-4zM4 6h16v10H4V6z'/%3E%3C/svg%3E");}
.ic-wrench{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M22.7 19l-9.1-9.1c.9-2.3.4-5-1.5-6.9-2-2-5-2.4-7.4-1.3L9 6 6 9 1.6 4.7C.4 7.1.9 10.1 2.9 12.1c1.9 1.9 4.6 2.4 6.9 1.5l9.1 9.1c.4.4 1 .4 1.4 0l2.3-2.3c.5-.4.5-1.1.1-1.4z'/%3E%3C/svg%3E");}
.ic-bulb{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M9 21c0 .55.45 1 1 1h4c.55 0 1-.45 1-1v-1H9v1zm3-19C8.14 2 5 5.14 5 9c0 2.38 1.19 4.47 3 5.74V17c0 .55.45 1 1 1h6c.55 0 1-.45 1-1v-2.26c1.81-1.27 3-3.36 3-5.74 0-3.86-3.14-7-7-7z'/%3E%3C/svg%3E");}
.ic-gift{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M20 6h-2.18c.11-.31.18-.65.18-1 0-1.66-1.34-3-3-3-1.05 0-1.96.54-2.5 1.35l-.5.67-.5-.68C10.96 2.54 10.05 2 9 2 7.34 2 6 3.34 6 5c0 .35.07.69.18 1H4c-1.11 0-1.99.89-1.99 2L2 19c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V8c0-1.11-.89-2-2-2zm-5-2c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zM9 4c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm11 15H4v-2h16v2zm0-5H4V8h5.08L7 10.83 8.62 12 11 8.76l1-1.36 1 1.36L15.38 12 17 10.83 14.92 8H20v6z'/%3E%3C/svg%3E");}
.ic-check{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z'/%3E%3C/svg%3E");}
.ic-chat{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M20 2H4c-1.1 0-1.99.9-1.99 2L2 22l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zM6 9h12v2H6V9zm8 5H6v-2h8v2zm4-6H6V6h12v2z'/%3E%3C/svg%3E");}
.ic-lock{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2zm-6 9c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm3.1-9H8.9V6c0-1.71 1.39-3.1 3.1-3.1 1.71 0 3.1 1.39 3.1 3.1v2z'/%3E%3C/svg%3E");}
.ic-gear{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M19.14 12.94c.04-.3.06-.61.06-.94 0-.32-.02-.64-.07-.94l2.03-1.58c.18-.14.23-.41.12-.61l-1.92-3.32c-.12-.22-.37-.29-.59-.22l-2.39.96c-.5-.38-1.03-.7-1.62-.94l-.36-2.54c-.04-.24-.24-.41-.48-.41h-3.84c-.24 0-.43.17-.47.41l-.36 2.54c-.59.24-1.13.57-1.62.94l-2.39-.96c-.22-.08-.47 0-.59.22L2.74 8.87c-.12.21-.08.47.12.61l2.03 1.58c-.05.3-.09.63-.09.94s.02.64.07.94l-2.03 1.58c-.18.14-.23.41-.12.61l1.92 3.32c.12.22.37.29.59.22l2.39-.96c.5.38 1.03.7 1.62.94l.36 2.54c.05.24.24.41.48.41h3.84c.24 0 .44-.17.47-.41l.36-2.54c.59-.24 1.13-.56 1.62-.94l2.39.96c.22.08.47 0 .59-.22l1.92-3.32c.12-.22.07-.47-.12-.61l-2.01-1.58zM12 15.6c-1.98 0-3.6-1.62-3.6-3.6s1.62-3.6 3.6-3.6 3.6 1.62 3.6 3.6-1.62 3.6-3.6 3.6z'/%3E%3C/svg%3E");}
.ic-clip{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M19 3h-4.18C14.4 1.84 13.3 1 12 1c-1.3 0-2.4.84-2.82 2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-7 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm2 14H7v-2h7v2zm3-4H7v-2h10v2zm0-4H7V7h10v2z'/%3E%3C/svg%3E");}
.ic-refresh{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z'/%3E%3C/svg%3E");}
.ic-user{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z'/%3E%3C/svg%3E");}
.ic-inbox{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 12h-4c0 1.66-1.35 3-3 3s-3-1.34-3-3H5V5h14v10z'/%3E%3C/svg%3E");}
.ic-warn{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z'/%3E%3C/svg%3E");}
.ic-mega{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M3 9v6h4l5 5V4L7 9H3zm13.5 3c0-1.77-1.02-3.29-2.5-4.03v8.05c1.48-.73 2.5-2.25 2.5-4.02zM14 3.23v2.06c2.89.86 5 3.54 5 6.71s-2.11 5.85-5 6.71v2.06c4.01-.91 7-4.49 7-8.77s-2.99-7.86-7-8.77z'/%3E%3C/svg%3E");}
.ic-users{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M16 11c1.66 0 2.99-1.34 2.99-3S17.66 5 16 5c-1.66 0-3 1.34-3 3s1.34 3 3 3zm-8 0c1.66 0 2.99-1.34 2.99-3S9.66 5 8 5C6.34 5 5 6.34 5 8s1.34 3 3 3zm0 2c-2.33 0-7 1.17-7 3.5V19h14v-2.5c0-2.33-4.67-3.5-7-3.5zm8 0c-.29 0-.62.02-.97.05 1.16.84 1.97 1.97 1.97 3.45V19h6v-2.5c0-2.33-4.67-3.5-7-3.5z'/%3E%3C/svg%3E");}
.ic-box{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M20 8h-3V4H3c-1.1 0-2 .9-2 2v11h2c0 1.66 1.34 3 3 3s3-1.34 3-3h6c0 1.66 1.34 3 3 3s3-1.34 3-3h2v-5l-3-4zM6 18.5c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5zm13.5-9l1.96 2.5H17V9.5h2.5zm-1.5 9c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5z'/%3E%3C/svg%3E");}
.ic-money{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M11.8 10.9c-2.27-.59-3-1.2-3-2.15 0-1.09 1.01-1.85 2.7-1.85 1.78 0 2.44.85 2.5 2.1h2.21c-.07-1.72-1.12-3.3-3.21-3.81V3h-3v2.16c-1.94.42-3.5 1.68-3.5 3.61 0 2.31 1.91 3.46 4.7 4.13 2.5.6 3 1.48 3 2.41 0 .69-.49 1.79-2.7 1.79-2.06 0-2.87-.92-2.98-2.1h-2.2c.12 2.19 1.76 3.42 3.68 3.83V21h3v-2.15c1.95-.37 3.5-1.5 3.5-3.55 0-2.84-2.43-3.81-4.7-4.4z'/%3E%3C/svg%3E");}
.ic-card{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M20 4H4c-1.11 0-1.99.89-1.99 2L2 18c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V6c0-1.11-.89-2-2-2zm0 14H4v-6h16v6zm0-10H4V6h16v2z'/%3E%3C/svg%3E");}
.ic-cal{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z'/%3E%3C/svg%3E");}
.ic-note{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.39-.39-1.02-.39-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z'/%3E%3C/svg%3E");}
.ic-close{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z'/%3E%3C/svg%3E");}
.ic-clock{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm.5-13H11v6l5.25 3.15.75-1.23-4.5-2.67z'/%3E%3C/svg%3E");}
.ic-windows{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M3 5.5 10.5 4.6v6.9H3v-6zM3 13h7.5v6.9L3 19v-6zm8.5.5H21V20l-9.5-1.3v-5.2zm0-7.8L21 4v6.5h-9.5V5.7z'/%3E%3C/svg%3E");}

/* ===== 响应式 ===== */
@media (max-width: 380px) {
  .plans { grid-template-columns: repeat(2, 1fr); }
  .flows { grid-template-columns: 1fr; }
  .flow.full { grid-column: span 1; }
}
