/* ============================================
   前台样式 · 8套主题支持 · H5 自适应
   ============================================ */

/* ===== 8套主题变量定义 ===== */
html[data-theme="dark"] {
  --bg:#0a1510; --bg-gradient:linear-gradient(135deg,#0a1510 0%,#0d1a14 100%);
  --card-bg:#14241c; --card-border:rgba(255,255,255,.12); --card-shadow:0 4px 16px rgba(0,0,0,.4);
  --text:#ffffff; --text-secondary:#d1d5db; --text-muted:#9ca3af;
  --primary:#34d399; --primary-dark:#10b981; --primary-light:#6ee7b7; --accent:#22d3ee;
  --input-bg:rgba(255,255,255,.08); --input-border:rgba(255,255,255,.18);
  --header-bg:rgba(10,21,16,.92); --header-border:rgba(255,255,255,.1);
  --hover-bg:rgba(52,211,153,.12); --tag-bg:rgba(52,211,153,.1); --tag-border:rgba(52,211,153,.25);
  --table-head:rgba(255,255,255,.05); --table-border:rgba(255,255,255,.08);
  --footer-bg:rgba(10,21,16,.8); --footer-border:rgba(255,255,255,.08);
  --badge-free:rgba(16,185,129,.9); --badge-coins:rgba(245,158,11,.9); --badge-vip:rgba(236,72,153,.9);
  --dropdown-bg:#14241c;
}
html[data-theme="light"] {
  --bg:#f4f7f5; --bg-gradient:linear-gradient(135deg,#f4f7f5 0%,#ecfdf5 100%);
  --card-bg:#ffffff; --card-border:#e5e7eb; --card-shadow:0 2px 12px rgba(0,0,0,.05);
  --text:#1f2e26; --text-secondary:#4b5563; --text-muted:#9ca3af;
  --primary:#059669; --primary-dark:#047857; --primary-light:#10b981; --accent:#0ea5e9;
  --input-bg:#ffffff; --input-border:#d1d5db;
  --header-bg:rgba(255,255,255,.92); --header-border:#e2e8e5;
  --hover-bg:rgba(16,185,129,.1); --tag-bg:#ecfdf5; --tag-border:#a7f3d0;
  --table-head:#f9fafb; --table-border:#f3f4f6;
  --footer-bg:#ffffff; --footer-border:#e5e7eb;
  --badge-free:#d1fae5; --badge-coins:#fef3c7; --badge-vip:#fce7f3;
  --dropdown-bg:#ffffff;
}
html[data-theme="glass"] {
  --bg:#ecfdf5; --bg-gradient:linear-gradient(135deg,#ecfdf5 0%,#f0fdfa 35%,#eff6ff 70%,#faf5ff 100%);
  --card-bg:#ffffff; --card-border:rgba(16,185,129,.15); --card-shadow:0 4px 20px rgba(0,0,0,.05);
  --text:#0f172a; --text-secondary:#475569; --text-muted:#94a3b8;
  --primary:#0891b2; --primary-dark:#0e7490; --primary-light:#06b6d4; --accent:#10b981;
  --input-bg:rgba(255,255,255,.6); --input-border:rgba(16,185,129,.15);
  --header-bg:rgba(255,255,255,.6); --header-border:rgba(16,185,129,.15);
  --hover-bg:rgba(16,185,129,.08); --tag-bg:rgba(6,182,212,.08); --tag-border:rgba(6,182,212,.2);
  --table-head:rgba(16,185,129,.06); --table-border:rgba(16,185,129,.06);
  --footer-bg:rgba(255,255,255,.4); --footer-border:rgba(16,185,129,.1);
  --badge-free:rgba(16,185,129,.9); --badge-coins:rgba(245,158,11,.9); --badge-vip:rgba(236,72,153,.9);
  --blur:blur(16px);
  --dropdown-bg:#ffffff;
}
html[data-theme="warm"] {
  --bg:#fff7ed; --bg-gradient:linear-gradient(135deg,#fff7ed 0%,#fef3c7 35%,#ffedd5 70%,#fce7f3 100%);
  --card-bg:#ffffff; --card-border:rgba(234,88,12,.15); --card-shadow:0 4px 20px rgba(234,88,12,.08);
  --text:#1c1917; --text-secondary:#57534e; --text-muted:#a8a29e;
  --primary:#ea580c; --primary-dark:#c2410c; --primary-light:#f97316; --accent:#db2777;
  --input-bg:rgba(255,255,255,.7); --input-border:rgba(234,88,12,.15);
  --header-bg:rgba(255,255,255,.7); --header-border:rgba(234,88,12,.12);
  --hover-bg:rgba(234,88,12,.08); --tag-bg:rgba(234,88,12,.06); --tag-border:rgba(234,88,12,.18);
  --table-head:rgba(234,88,12,.05); --table-border:rgba(234,88,12,.06);
  --footer-bg:rgba(255,255,255,.5); --footer-border:rgba(234,88,12,.1);
  --badge-free:rgba(34,197,94,.9); --badge-coins:rgba(234,88,12,.9); --badge-vip:rgba(219,39,119,.9);
  --blur:blur(16px);
  --dropdown-bg:#fff7ed;
}
html[data-theme="ocean"] {
  --bg:#eff6ff; --bg-gradient:linear-gradient(135deg,#eff6ff 0%,#e0e7ff 35%,#f0f9ff 70%,#faf5ff 100%);
  --card-bg:#ffffff; --card-border:rgba(79,70,229,.15); --card-shadow:0 4px 20px rgba(59,130,246,.08);
  --text:#0f172a; --text-secondary:#475569; --text-muted:#94a3b8;
  --primary:#4f46e5; --primary-dark:#4338ca; --primary-light:#6366f1; --accent:#06b6d4;
  --input-bg:rgba(255,255,255,.65); --input-border:rgba(79,70,229,.15);
  --header-bg:rgba(255,255,255,.65); --header-border:rgba(79,70,229,.12);
  --hover-bg:rgba(79,70,229,.08); --tag-bg:rgba(79,70,229,.06); --tag-border:rgba(79,70,229,.18);
  --table-head:rgba(79,70,229,.05); --table-border:rgba(79,70,229,.06);
  --footer-bg:rgba(255,255,255,.45); --footer-border:rgba(79,70,229,.1);
  --badge-free:rgba(16,185,129,.9); --badge-coins:rgba(245,158,11,.9); --badge-vip:rgba(139,92,246,.9);
  --blur:blur(16px);
  --dropdown-bg:#ffffff;
}
html[data-theme="cyber"] {
  --bg:#0f0524; --bg-gradient:linear-gradient(135deg,#0f0524 0%,#1a0b3d 40%,#0d1b2a 75%,#1a0b3d 100%);
  --card-bg:#1a0b3d; --card-border:rgba(236,72,153,.25); --card-shadow:0 4px 24px rgba(236,72,153,.15);
  --text:#f0e6ff; --text-secondary:#c4b5fd; --text-muted:#8b7bb8;
  --primary:#ec4899; --primary-dark:#db2777; --primary-light:#f472b6; --accent:#06b6d4;
  --input-bg:rgba(15,5,36,.8); --input-border:rgba(236,72,153,.3);
  --header-bg:rgba(15,5,36,.85); --header-border:rgba(236,72,153,.2);
  --hover-bg:rgba(236,72,153,.12); --tag-bg:rgba(6,182,212,.1); --tag-border:rgba(6,182,212,.3);
  --table-head:rgba(236,72,153,.1); --table-border:rgba(236,72,153,.15);
  --footer-bg:rgba(15,5,36,.7); --footer-border:rgba(236,72,153,.15);
  --badge-free:rgba(16,185,129,.9); --badge-coins:rgba(245,158,11,.9); --badge-vip:rgba(236,72,153,.9);
  --blur:blur(16px);
  --dropdown-bg:#1a0b3d;
}
html[data-theme="forest"] {
  --bg:#1a2e1a; --bg-gradient:linear-gradient(135deg,#1a2e1a 0%,#2d4a2d 35%,#1f3a2e 70%,#3d2e1f 100%);
  --card-bg:#2d4a2d; --card-border:rgba(132,204,22,.2); --card-shadow:0 4px 20px rgba(0,0,0,.2);
  --text:#f0f7e6; --text-secondary:#d4e4b8; --text-muted:#8fa870;
  --primary:#84cc16; --primary-dark:#65a30d; --primary-light:#a3e635; --accent:#d97706;
  --input-bg:rgba(26,46,26,.8); --input-border:rgba(132,204,22,.25);
  --header-bg:rgba(26,46,26,.85); --header-border:rgba(132,204,22,.15);
  --hover-bg:rgba(132,204,22,.12); --tag-bg:rgba(217,119,6,.1); --tag-border:rgba(217,119,6,.25);
  --table-head:rgba(132,204,22,.08); --table-border:rgba(132,204,22,.12);
  --footer-bg:rgba(26,46,26,.7); --footer-border:rgba(132,204,22,.12);
  --badge-free:rgba(132,204,22,.9); --badge-coins:rgba(217,119,6,.9); --badge-vip:rgba(236,72,153,.9);
  --blur:blur(16px);
  --dropdown-bg:#2d4a2d;
}
html[data-theme="mono"] {
  --bg:#ffffff; --bg-gradient:linear-gradient(135deg,#ffffff 0%,#f9fafb 50%,#f3f4f6 100%);
  --card-bg:#ffffff; --card-border:#e5e7eb; --card-shadow:0 1px 3px rgba(0,0,0,.06);
  --text:#111827; --text-secondary:#4b5563; --text-muted:#9ca3af;
  --primary:#000000; --primary-dark:#1f2937; --primary-light:#374151; --accent:#6b7280;
  --input-bg:#ffffff; --input-border:#d1d5db;
  --header-bg:rgba(255,255,255,.95); --header-border:#e5e7eb;
  --hover-bg:rgba(0,0,0,.05); --tag-bg:#f3f4f6; --tag-border:#e5e7eb;
  --table-head:#f9fafb; --table-border:#f3f4f6;
  --footer-bg:#f9fafb; --footer-border:#e5e7eb;
  --badge-free:#111827; --badge-coins:#4b5563; --badge-vip:#6b7280;
  --dropdown-bg:#ffffff;
}
html[data-theme="luxury"] {
  --bg:#0f1f1a; --bg-gradient:linear-gradient(135deg,#0f1f1a 0%,#0a1628 50%,#0f1f1a 100%);
  --card-bg:#1a2e28; --card-border:rgba(212,175,55,.2); --card-shadow:0 4px 20px rgba(0,0,0,.3);
  --text:#f5f5f0; --text-secondary:#d4d4c8; --text-muted:#9a9a8c;
  --primary:#d4af37; --primary-dark:#b8941f; --primary-light:#e8c84a; --accent:#10b981;
  --input-bg:rgba(255,255,255,.06); --input-border:rgba(212,175,55,.25);
  --header-bg:rgba(15,31,26,.92); --header-border:rgba(212,175,55,.15);
  --hover-bg:rgba(212,175,55,.12); --tag-bg:rgba(212,175,55,.08); --tag-border:rgba(212,175,55,.25);
  --table-head:rgba(212,175,55,.06); --table-border:rgba(212,175,55,.1);
  --footer-bg:rgba(15,31,26,.8); --footer-border:rgba(212,175,55,.1);
  --badge-free:rgba(16,185,129,.9); --badge-coins:rgba(212,175,55,.9); --badge-vip:rgba(212,175,55,.95);
  --blur:blur(16px);
  --dropdown-bg:#0f1f1a;
}
html[data-theme="okx"] {
  --bg:#0b0e11; --bg-gradient:linear-gradient(135deg,#0b0e11 0%,#131722 50%,#0b0e11 100%);
  --card-bg:#1e2329; --card-border:#2b3139; --card-shadow:0 4px 16px rgba(0,0,0,.4);
  --text:#eaecef; --text-secondary:#b7bdc6; --text-muted:#848e9c;
  --primary:#f0b90b; --primary-dark:#c99400; --primary-light:#f8d12f; --accent:#f0b90b;
  --input-bg:#1e2329; --input-border:#2b3139;
  --header-bg:rgba(11,14,17,.95); --header-border:#2b3139;
  --hover-bg:rgba(240,185,11,.1); --tag-bg:rgba(240,185,11,.08); --tag-border:rgba(240,185,11,.25);
  --table-head:#1e2329; --table-border:#2b3139;
  --footer-bg:#0b0e11; --footer-border:#2b3139;
  --badge-free:rgba(33,191,115,.9); --badge-coins:rgba(240,185,11,.9); --badge-vip:rgba(246,70,93,.9);
  --dropdown-bg:#1e2329;
}
html[data-theme="huobi"] {
  --bg:#12161c; --bg-gradient:linear-gradient(135deg,#12161c 0%,#1a1f29 50%,#12161c 100%);
  --card-bg:#1c2128; --card-border:#2a3038; --card-shadow:0 4px 16px rgba(0,0,0,.4);
  --text:#ffffff; --text-secondary:#a9b1bc; --text-muted:#7a8594;
  --primary:#21bf73; --primary-dark:#1a9c5e; --primary-light:#4dd492; --accent:#f6465d;
  --input-bg:#1c2128; --input-border:#2a3038;
  --header-bg:rgba(18,22,28,.95); --header-border:#2a3038;
  --hover-bg:rgba(33,191,115,.1); --tag-bg:rgba(33,191,115,.08); --tag-border:rgba(33,191,115,.25);
  --table-head:#1c2128; --table-border:#2a3038;
  --footer-bg:#12161c; --footer-border:#2a3038;
  --badge-free:rgba(33,191,115,.9); --badge-coins:rgba(246,146,70,.9); --badge-vip:rgba(246,70,93,.9);
  --dropdown-bg:#1c2128;
}
html[data-theme="premium"] {
  --bg:#0a0a0f; --bg-gradient:linear-gradient(135deg,#0a0a0f 0%,#12121c 35%,#0f0f18 70%,#0a0a0f 100%);
  --card-bg:#14141e; --card-border:rgba(201,169,97,.3); --card-shadow:0 4px 20px rgba(0,0,0,.5),0 0 30px rgba(201,169,97,.05);
  --text:#f5f5f7; --text-secondary:#c5c5ce; --text-muted:#8a8a96;
  --primary:#c9a961; --primary-dark:#a8894a; --primary-light:#e0c98f; --accent:#4a9eff;
  --input-bg:#14141e; --input-border:rgba(201,169,97,.3);
  --header-bg:rgba(10,10,15,.95); --header-border:rgba(201,169,97,.3);
  --hover-bg:rgba(201,169,97,.1); --tag-bg:rgba(201,169,97,.08); --tag-border:rgba(201,169,97,.3);
  --table-head:#14141e; --table-border:rgba(201,169,97,.2);
  --footer-bg:#0a0a0f; --footer-border:rgba(201,169,97,.3);
  --badge-free:rgba(74,158,255,.9); --badge-coins:rgba(201,169,97,.9); --badge-vip:rgba(224,201,143,.9);
  --blur:blur(16px);
  --dropdown-bg:#14141e;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: var(--bg-gradient, linear-gradient(135deg, #ecfdf5 0%, #f0fdfa 35%, #eff6ff 70%, #faf5ff 100%));
  background-attachment: fixed;
  color: var(--text, #0f172a); line-height: 1.65;
  min-height: 100vh; display: flex; flex-direction: column;
}
img { max-width: 100%; }
a { color: var(--primary, #0891b2); text-decoration: none; }
a:hover { color: var(--primary-dark, #0e7490); }
code, .mono { font-family: ui-monospace, "SF Mono", Consolas, monospace; font-size: .92em; }
.container { width: 100%; max-width: 1600px; margin: 0 auto; padding: 0 16px; }

/* ---------- 顶栏 ---------- */
.site-header { background: var(--header-bg, rgba(255,255,255,.6)); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-bottom: 1px solid var(--header-border, rgba(16,185,129,.15)); position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; gap: 8px; height: 62px; }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; margin-right: auto; }
.brand-logo {
  width: 38px; height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #10b981, #06b6d4); color: #fff; font-weight: 800; font-size: 18px;
  box-shadow: 0 4px 12px rgba(16,185,129,.3);
}
.brand-text b { display: block; color: var(--text, #0f172a); font-size: 18px; letter-spacing: .5px; font-weight: 700; }
.brand-text small { display: block; color: var(--text-muted, #94a3b8); font-size: 11px; }
.site-nav { display: flex; gap: 4px; flex-wrap: nowrap; align-items: center; white-space: nowrap; }
.site-nav a {
  padding: 8px 13px; border-radius: 8px; font-size: 14px; color: var(--text-secondary, #475569);
  transition: background .2s, color .2s;
}
.site-nav a:hover, .site-nav a.active { background: var(--hover-bg, rgba(16,185,129,.1)); color: var(--primary, #0891b2); }
.nav-toggle { display: none; background: none; border: 1px solid rgba(16,185,129,.2); border-radius: 8px; padding: 8px 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 18px; height: 2px; background: #0891b2; margin: 3px 0; }

/* ---------- 主区 ---------- */
.site-main { flex: 1; padding-top: 22px; padding-bottom: 40px; min-width: 0; }

/* 提示条 */
.alert { border-radius: 10px; padding: 12px 16px; margin: 12px 0; font-size: 14px; border: 1px solid; }
.alert-success { background: #ecfdf5; border-color: #6ee7b7; color: #047857; }
.alert-error { background: #fef2f2; border-color: #fca5a5; color: #b91c1c; }
.alert-warning { background: #fffbeb; border-color: #fcd34d; color: #92400e; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 32px 0 24px; text-align: center; background: transparent; }
.hero-layout {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 24px;
  align-items: stretch;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 20px;
}
.hero-inner {
  position: relative; z-index: 1;
  max-width: 100%;
  margin: 0 auto;
  width: 100%;
  padding: 40px 32px;
  border-radius: 20px;
  overflow: hidden;
  background: var(--card-bg, rgba(255,255,255,.6));
  backdrop-filter: blur(10px);
  border: 1px solid var(--border, rgba(255,255,255,.2));
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-inner::before {
  content: ""; position: absolute; inset: -20%; pointer-events: none; filter: blur(60px); opacity: .4;
  background: radial-gradient(circle at 15% 20%, #6ee7b7 0%, transparent 50%),
              radial-gradient(circle at 85% 15%, #67e8f9 0%, transparent 50%),
              radial-gradient(circle at 75% 80%, #c4b5fd 0%, transparent 50%),
              radial-gradient(circle at 25% 75%, #fda4af 0%, transparent 45%);
}
.hero h1 { font-size: clamp(26px, 5vw, 40px); letter-spacing: 1px; margin-bottom: 6px;
  background: linear-gradient(90deg, var(--text,#0f172a), var(--primary,#0891b2), var(--accent,#10b981), var(--text,#0f172a), var(--primary,#0891b2));
  background-size: 300% auto;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  animation: logoShine 4s linear infinite;
  display: inline-block;
}
.hero p { color: var(--text-secondary, #475569); font-size: 15px; margin-bottom: 22px; }
.hero-search { display: flex; gap: 8px; max-width: 560px; margin: 0 auto; }
.hero-search input {
  flex: 1; padding: 13px 16px; border-radius: 12px; border: 1px solid var(--input-border, rgba(16,185,129,.2));
  background: var(--input-bg, rgba(255,255,255,.7)); backdrop-filter: blur(10px);
  color: var(--text, #0f172a); font-size: 15px; outline: none; min-width: 0;
  box-shadow: 0 4px 12px rgba(0,0,0,.04);
}
.hero-search input::placeholder { color: var(--text-muted, #94a3b8); }
.hero-search input:focus { border-color: var(--primary-light, #06b6d4); box-shadow: 0 0 0 3px rgba(6,182,212,.15), 0 4px 12px rgba(0,0,0,.04); }
.hero-search button {
  padding: 13px 28px; border: 0; border-radius: 12px;
  background: linear-gradient(135deg, var(--accent, #10b981), var(--primary-light, #06b6d4)); color: #fff;
  font-size: 15px; font-weight: 700; cursor: pointer;
  box-shadow: 0 4px 16px rgba(16,185,129,.35);
  transition: transform .15s, box-shadow .15s;
}
.hero-search button:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(6,182,212,.4); }
.hero-stats { display: flex; justify-content: center; gap: 28px; margin-top: 16px; font-size: 13px; color: var(--text-muted, #64748b); flex-wrap: wrap; }
.hero-stats b { color: var(--primary, #0891b2); font-size: 18px; display: block; }

/* 首页技术搭建服务卡片 */
.hero-tech-card {
  background: linear-gradient(135deg, var(--card-bg, #fff) 0%, var(--tag-bg, rgba(16,185,129,.06)) 100%);
  border: 2px solid var(--primary, #10b981);
  border-radius: 16px;
  padding: 24px 16px;
  text-align: center;
  position: relative;
  box-shadow: 0 8px 24px rgba(0,0,0,.1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.hero-tech-card .htc-icon { font-size: 32px; margin-bottom: 6px; }
.hero-tech-card .htc-title {
  font-size: 16px; font-weight: 700; color: var(--primary, #10b981); margin-bottom: 6px;
}
.hero-tech-card .htc-desc {
  font-size: 11.5px; color: var(--text-secondary, #475569); line-height: 1.5; margin-bottom: 10px;
}
.hero-tech-card .htc-price { margin-bottom: 10px; }
.hero-tech-card .htc-price-num {
  font-size: 28px; font-weight: 800; color: var(--primary, #10b981);
}
.hero-tech-card .htc-price-unit {
  font-size: 13px; color: var(--text-muted, #94a3b8); margin-left: 2px;
}
.hero-tech-card .htc-btn {
  display: block; width: 100%; padding: 9px;
  background: linear-gradient(135deg, var(--primary, #10b981), var(--accent, #06b6d4));
  color: #fff; border: none; border-radius: 10px;
  font-size: 13px; font-weight: 600; cursor: pointer; text-decoration: none;
  transition: transform .15s, box-shadow .15s;
  box-shadow: 0 2px 8px rgba(16,185,129,.3);
}
.hero-tech-card .htc-btn:hover {
  transform: translateY(-1px); box-shadow: 0 4px 12px rgba(16,185,129,.4);
}
.hero-tech-card .htc-note {
  font-size: 10.5px; color: var(--text-muted, #94a3b8); margin-top: 8px; line-height: 1.4;
}
.hero-tech-card .htc-customers {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  margin-top: 8px;
  background: var(--card-bg, #fff);
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 10px;
  padding: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,.15);
  z-index: 9999;
}
.hero-tech-card .htc-customer-item {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 10px; border-radius: 8px;
  text-decoration: none; color: var(--text, #1e293b); font-size: 13px;
  transition: background .15s;
}
.hero-tech-card .htc-customer-item:hover {
  background: var(--tag-bg, rgba(16,185,129,.08));
}
.hero-tech-card .htc-customer-icon { font-size: 16px; }
.hero-tech-card .htc-customer-empty {
  text-align: center; padding: 12px; color: var(--text-muted, #94a3b8); font-size: 12px;
}

/* 公告 */
.notice-bar { max-width: 1600px; margin: 0 auto 18px; padding: 10px 16px; border: 1px solid rgba(16,185,129,.2); border-radius: 10px; background: rgba(255,255,255,.6); backdrop-filter: blur(10px); font-size: 14px; color: #065f46; }

/* ---------- 分类导航 ---------- */
.cat-nav { display: flex; gap: 10px; flex-wrap: wrap; margin: 18px 0 26px; }
.cat-item {
  padding: 9px 15px; border-radius: 999px; border: 1px solid var(--input-border, rgba(16,185,129,.15));
  background: var(--input-bg, rgba(255,255,255,.6)); backdrop-filter: blur(10px);
  font-size: 14px; color: var(--text-secondary, #475569); display: inline-flex; align-items: center; gap: 4px;
  transition: all .15s;
}
.cat-item small { color: var(--text-muted, #94a3b8); font-size: 12px; }
.cat-item:hover, .cat-item.on { border-color: var(--primary-light, #06b6d4); color: var(--primary, #0891b2); background: var(--card-bg, rgba(255,255,255,.85)); box-shadow: 0 2px 8px rgba(6,182,212,.15); }

/* ---------- 区块 ---------- */
.block { margin-bottom: 30px; }
.block-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.block-head h2 { font-size: 17px; color: var(--text, #0f172a); }
.block-head .more { font-size: 13px; color: var(--primary, #0891b2); }
.empty { text-align: center; color: var(--text-muted, #94a3b8); padding: 36px 0; font-size: 14px; }
.search-count { color: var(--text-muted, #64748b); font-size: 13px; margin-bottom: 14px; }
.search-highlight { background: #fbbf24; color: #78350f; font-weight: 700; padding: 1px 4px; border-radius: 4px; box-shadow: 0 1px 3px rgba(251,191,36,.4); }

/* ---------- 资源卡片 ---------- */
.res-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.res-card {
  background: var(--card-bg, #ffffff);
  border: 1px solid var(--card-border, #e5e7eb); border-radius: 14px;
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .2s, box-shadow .2s, border-color .2s;
  box-shadow: var(--card-shadow, 0 4px 16px rgba(0,0,0,.05));
}
.res-card:hover { transform: translateY(-6px); border-color: rgba(6,182,212,.5); box-shadow: 0 16px 40px rgba(6,182,212,.2); }
.res-card:hover .res-detail-btn { opacity: 1; transform: translateY(0); }
.res-detail-btn { display: block; text-align: center; padding: 8px 0; margin-top: 10px; border-radius: 8px; background: linear-gradient(135deg, var(--accent,#10b981), var(--primary-light,#06b6d4)); color: #fff; font-size: 13px; font-weight: 600; text-decoration: none; opacity: 0; transform: translateY(4px); transition: all .2s; }
.res-detail-btn:hover { filter: brightness(1.1); }
.res-cover { position: relative; display: block; aspect-ratio: 1/1; background: #f1f5f9; overflow: hidden; border-radius: 12px 12px 0 0; }
.res-cover img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.res-cover-ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 34px; color: #06b6d4; font-weight: 800; }
.badge { position: absolute; top: 8px; right: 8px; font-size: 11px; padding: 3px 8px; border-radius: 6px; font-weight: 600; backdrop-filter: blur(4px); }
.badge-free { background: rgba(16,185,129,.9); color: #fff; }
.badge-coins { background: rgba(245,158,11,.9); color: #fff; }
.badge-vip { background: rgba(236,72,153,.9); color: #fff; }
.badge-permanent { background: linear-gradient(135deg,#fbbf24,#d4af37); color: #fff; font-weight: 700; }
.badge-discount { background: linear-gradient(135deg,#f59e0b,#ef4444); color: #fff; font-size: 10px; padding: 2px 6px; left: auto; right: 8px; top: 8px; }
.price-compare-bar { position: absolute; bottom: 0; left: 0; right: 0; display: flex; background: rgba(0,0,0,.72); backdrop-filter: blur(6px); padding: 6px 4px; gap: 2px; }
.price-compare-bar .pcb-item { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 1px; }
.price-compare-bar .pcb-label { font-size: 10px; color: rgba(255,255,255,.65); }
.price-compare-bar .pcb-price { font-size: 13px; font-weight: 700; color: #fff; }
.price-compare-bar .pcb-original { text-decoration: line-through; color: rgba(255,255,255,.5); font-size: 11px; }
.price-compare-bar .pcb-vip { color: #fbbf24; }
.price-compare-bar .pcb-permanent { color: #34d399; }
.res-price-box { padding: 4px 0 8px; height: 60px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; box-sizing: border-box; }
/* 纯文字样式 */
.res-price-free { font-size: 18px; font-weight: 800; color: #10b981; line-height: 1.2; }
.res-price-vip { font-size: 18px; font-weight: 800; color: #ec4899; line-height: 1.2; }
.res-price-permanent { font-size: 18px; font-weight: 800; background: linear-gradient(135deg,#fbbf24,#d4af37); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; line-height: 1.2; }
.res-price-coins-vip { font-size: 15px; font-weight: 600; color: var(--text-secondary,#475569); line-height: 1.2; }
.res-price-coins-vip b { color: #f59e0b; font-size: 18px; }
.res-price-vip-inline { color: #ec4899; font-weight: 800; }
/* 色块标签样式 */
.price-tag { display: inline-block; padding: 5px 12px; border-radius: 8px; font-size: 13px; font-weight: 700; line-height: 1.3; white-space: nowrap; }
.price-tag-free { background: linear-gradient(135deg, #10b981, #059669); color: #fff; box-shadow: 0 2px 8px rgba(16,185,129,.3); }
.price-tag-vip { background: linear-gradient(135deg, #ec4899, #db2777); color: #fff; box-shadow: 0 2px 8px rgba(236,72,153,.3); }
.price-tag-permanent { background: linear-gradient(135deg, #fbbf24, #d97706); color: #fff; box-shadow: 0 2px 8px rgba(251,191,36,.3); }
.price-tag-coins { background: linear-gradient(135deg, #f59e0b, #d97706); color: #fff; box-shadow: 0 2px 8px rgba(245,158,11,.3); }
.price-tag-vip-free { background: linear-gradient(135deg, #ec4899, #db2777); color: #fff; box-shadow: 0 2px 8px rgba(236,72,153,.3); }
.res-price-compare { display: flex; gap: 20px; width: 100%; }
.res-price-compare .rpc-item { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.res-price-compare .rpc-label { font-size: 11px; color: var(--text-muted,#94a3b8); line-height: 1; }
.res-price-compare .rpc-val { font-size: 17px; font-weight: 800; line-height: 1.2; }
.res-price-compare .rpc-original { text-decoration: line-through; color: var(--text-muted,#94a3b8); font-size: 14px; }
.res-price-compare .rpc-vip { color: #f59e0b; }
.res-price-compare .rpc-permanent { color: #10b981; }
.res-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.res-title { font-size: 14.5px; font-weight: 600; line-height: 1.4; height: 42px; overflow: hidden; }
.res-title a { color: var(--text, #0f172a); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.res-title a:hover { color: var(--primary, #0891b2); }
.res-summary { color: var(--text-muted, #64748b); font-size: 12.5px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.res-meta { display: flex; gap: 10px; color: #9ca3af; font-size: 12px; margin-top: auto; flex-wrap: wrap; }

/* ---------- 分页 ---------- */
.pager-wrap { margin: 22px 0; }
.pager { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; }
.pager-btn { min-width: 36px; text-align: center; padding: 7px 12px; border-radius: 8px; border: 1px solid var(--input-border, rgba(16,185,129,.15)); background: var(--input-bg, rgba(255,255,255,.6)); color: var(--text-secondary, #475569); font-size: 13px; backdrop-filter: blur(8px); }
.pager-btn:hover { border-color: var(--primary-light, #06b6d4); color: var(--primary, #0891b2); background: var(--input-bg-hover, rgba(255,255,255,.85)); }
.pager-btn.is-active { background: linear-gradient(135deg,var(--accent,#10b981),var(--primary-light,#06b6d4)); border-color: transparent; color: #fff; font-weight: 700; box-shadow: 0 2px 8px rgba(16,185,129,.3); }
.pager-dot { color: var(--text-muted, #94a3b8); align-self: center; }

/* ---------- 面包屑 / 页头 ---------- */
.breadcrumb { font-size: 13px; color: var(--text-muted, #94a3b8); margin-bottom: 14px; display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.breadcrumb a { color: var(--primary, #0891b2); }
.page-head { margin-bottom: 22px; }
.page-head h1 { font-size: 24px; margin-bottom: 4px; color: var(--text, #0f172a); }
.page-head p { color: var(--text-muted, #64748b); font-size: 14px; }
.page-head.center { text-align: center; padding: 30px 0; }

/* 全部资源页：标题+分类导航（分类导航固定在标题下方） */
.page-head-with-cats {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.page-head-left { width: 100%; max-width: none; flex-shrink: 1; }
.page-head-left h1 { white-space: normal; overflow: visible; text-overflow: clip; }
.page-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-start;
  flex: none;
  width: 100%;
}
.page-cat {
  padding: 9px 15px;
  border-radius: 999px;
  font-size: 14px;
  color: var(--text-secondary, #64748b);
  background: var(--input-bg, rgba(255,255,255,.6));
  border: 1px solid var(--input-border, rgba(16,185,129,.15));
  text-decoration: none;
  transition: all .15s;
  backdrop-filter: blur(8px);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.page-cat:hover { background: var(--card-bg, rgba(255,255,255,.85)); color: var(--primary, #0891b2); border-color: var(--primary-light, #06b6d4); }
.page-cat.active { background: linear-gradient(135deg,var(--accent, #10b981),var(--primary-light, #06b6d4)); color: #fff; border-color: transparent; font-weight: 600; box-shadow: 0 2px 8px rgba(16,185,129,.3); }
.page-cat small { font-size: 12px; opacity: .7; }
.page-cat.active small { opacity: .9; }

/* 导航下拉菜单 */
.nav-dropdown { position: relative; }
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--dropdown-bg, var(--card-bg, #fff));
  backdrop-filter: none; -webkit-backdrop-filter: none;
  border: 1px solid var(--card-border, rgba(0,0,0,.08));
  border-radius: 14px;
  padding: 12px 8px 8px;
  min-width: 160px;
  max-height: 320px;
  overflow-y: auto;
  box-shadow: 0 16px 40px rgba(0,0,0,.2);
  z-index: 100;
  opacity: 0;
  transition: opacity .15s, transform .15s;
  margin-top: 0;
}
/* 透明连接区域，防止鼠标移动时菜单消失 */
.nav-dropdown-menu::after {
  content: '';
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
  background: transparent;
}
.nav-dropdown:hover .nav-dropdown-menu {
  display: block;
  opacity: 1;
}
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 6px solid var(--card-border, rgba(255,255,255,.9));
}
.nav-dropdown-menu a {
  display: block;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13px;
  color: var(--text, #0f172a);
  white-space: nowrap;
  transition: background .15s, color .15s;
}
.nav-dropdown-menu a:hover { background: rgba(16,185,129,.1); color: var(--primary, #0891b2); }
.nav-dropdown-menu a.active { background: rgba(16,185,129,.15); color: var(--primary, #0891b2); font-weight: 600; }
/* 语言切换菜单 */
.nav-lang .nav-lang-trigger { cursor: pointer; white-space: nowrap; display: flex; align-items: center; gap: 6px; }
.nav-lang-menu { min-width: 160px; max-height: none !important; overflow: visible !important; }
.nav-lang-menu a { display: flex; align-items: center; gap: 8px; }
.lang-flag { width: 20px; height: 14px; object-fit: cover; border-radius: 2px; vertical-align: middle; box-shadow: 0 1px 2px rgba(0,0,0,.2); }
.search-inline { max-width: 520px; margin-top: 14px; }

/* ---------- 详情页 ---------- */
.detail {
  background: var(--card-bg, rgba(255,255,255,.65)); backdrop-filter: var(--blur, blur(16px)); -webkit-backdrop-filter: var(--blur, blur(16px));
  border: 1px solid var(--card-border, rgba(255,255,255,.8)); border-radius: 16px; padding: 24px;
  box-shadow: var(--card-shadow, 0 4px 20px rgba(0,0,0,.05));
}
.detail-head h1 { font-size: 22px; margin-bottom: 8px; color: var(--text, #0f172a); }
.detail-meta { display: flex; gap: 16px; color: var(--text-muted, #94a3b8); font-size: 13px; flex-wrap: wrap; }
.detail-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.tag { font-size: 12px; color: var(--primary, #0891b2); background: var(--tag-bg, rgba(6,182,212,.08)); border: 1px solid var(--tag-border, rgba(6,182,212,.2)); padding: 3px 10px; border-radius: 999px; }
.detail-content { font-size: 15px; line-height: 1.9; color: var(--text, #0f172a); word-break: break-word; }
.detail-content p, .detail-content div, .detail-content span, .detail-content li, .detail-content td, .detail-content th { color: var(--text, #0f172a) !important; }
.detail-content h1, .detail-content h2, .detail-content h3, .detail-content h4, .detail-content h5, .detail-content h6 { color: var(--text, #0f172a) !important; }
.detail-content a { color: var(--primary, #0891b2); }
.detail-content img { border-radius: 10px; max-width: 100%; height: auto; display: block; margin: 12px auto; cursor: zoom-in; }
.detail-cover { margin: 16px 0; border-radius: 12px; overflow: hidden; }
.detail-cover img { max-width: 100%; height: auto; display: block; border-radius: 12px; }
.detail-summary { margin-top: 16px; background: rgba(16,185,129,.06); border: 1px solid rgba(16,185,129,.15); border-radius: 10px; padding: 12px 14px; font-size: 14px; color: #065f46; }
.detail-tip { margin-top: 12px; font-size: 14px; color: #92400e; }
.get-box {
  margin-top: 22px; border: 1px solid rgba(16,185,129,.25); border-radius: 14px;
  padding: 18px; background: rgba(16,185,129,.06);
  backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
}
.get-box-top { margin-top: 12px; }
.get-info b { font-size: 16px; color: var(--accent, #047857); display: block; }
.get-info span { font-size: 13px; color: var(--text-muted, #64748b); }
.get-info .price-tag { color: #fff; }
.get-info .price-line { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.get-info .price-original { text-decoration: line-through; color: var(--text-muted, #94a3b8); font-size: 12px; }
.get-info .price-discount { color: #ef4444; font-weight: 700; font-size: 15px; }
.get-info .discount-tag { display: inline-block; padding: 2px 8px; border-radius: 4px; background: linear-gradient(135deg,#f59e0b,#ef4444); color: #fff; font-size: 11px; font-weight: 700; }
.get-info .price-highlight { font-size: 18px; font-weight: 700; color: var(--accent, #047857); display: inline-block; margin-top: 4px; }

/* ---------- 按钮 ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 11px 22px; border-radius: 10px; font-size: 14px; font-weight: 600; border: 1px solid transparent; cursor: pointer; text-align: center; transition: transform .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: linear-gradient(135deg, var(--accent, #10b981), var(--primary-light, #06b6d4)); color: #fff; box-shadow: 0 4px 14px rgba(16,185,129,.3); }
.btn-primary:hover { box-shadow: 0 6px 20px rgba(6,182,212,.4); }
.btn-outline { background: var(--input-bg, rgba(255,255,255,.5)); backdrop-filter: blur(8px); border-color: var(--input-border, rgba(16,185,129,.2)); color: var(--text-secondary, #475569); }
.btn-outline:hover { border-color: var(--primary-light, #06b6d4); color: var(--primary, #0891b2); background: rgba(255,255,255,.8); }
.btn-sm { padding: 7px 14px; font-size: 13px; }

/* ---------- 认证页 ---------- */
.auth-wrap { display: flex; justify-content: center; padding: 30px 0 50px; }
.auth-card {
  width: 100%; max-width: 420px;
  background: var(--card-bg, rgba(255,255,255,.7)); backdrop-filter: var(--blur, blur(20px)); -webkit-backdrop-filter: var(--blur, blur(20px));
  border: 1px solid var(--card-border, rgba(255,255,255,.9)); border-radius: 18px; padding: 28px;
  box-shadow: var(--card-shadow, 0 8px 32px rgba(0,0,0,.08));
}
.auth-card h1 { font-size: 20px; margin-bottom: 4px; color: var(--text, #0f172a); }
.auth-sub { color: var(--text-muted, #64748b); font-size: 13px; margin-bottom: 12px; }
.auth-card label { display: block; font-size: 13px; color: var(--text-secondary, #475569); margin: 14px 0 4px; }
.auth-card input { width: 100%; padding: 11px 12px; border-radius: 10px; border: 1px solid var(--input-border, rgba(16,185,129,.15)); background: var(--input-bg, rgba(255,255,255,.6)); color: var(--text, #0f172a); font-size: 14px; outline: none; }
.auth-card input:focus { border-color: var(--primary-light, #06b6d4); box-shadow: 0 0 0 3px rgba(6,182,212,.12); }
.auth-card .btn { width: 100%; margin-top: 18px; }
.captcha-row { display: flex; gap: 10px; }
.captcha-row input { flex: 1; }
.captcha-img { width: 120px; height: 44px; border-radius: 10px; cursor: pointer; border: 1px solid var(--input-border, rgba(16,185,129,.15)); }
.auth-links { display: flex; justify-content: space-between; margin-top: 16px; font-size: 13px; color: var(--text-muted, #64748b); }
.auth-links a { color: var(--primary, #0891b2); }

/* ---------- 用户中心 ---------- */
.uc-layout { display: flex; gap: 20px; align-items: flex-start; }
.uc-menu {
  width: 200px; flex-shrink: 0;
  background: var(--card-bg, rgba(255,255,255,.65)); backdrop-filter: var(--blur, blur(16px));
  border: 1px solid var(--card-border, rgba(255,255,255,.8)); border-radius: 14px; padding: 16px;
  position: sticky; top: 80px;
  box-shadow: var(--card-shadow, 0 4px 16px rgba(0,0,0,.04));
}
.uc-user { text-align: center; padding-bottom: 14px; border-bottom: 1px solid var(--card-border, rgba(16,185,129,.1)); margin-bottom: 10px; }
.uc-avatar { width: 52px; height: 52px; margin: 0 auto 8px; border-radius: 50%; background: linear-gradient(135deg, var(--accent,#10b981), var(--primary-light,#06b6d4)); color: #fff; font-size: 22px; font-weight: 800; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(16,185,129,.3); }
.uc-user b { display: block; font-size: 15px; color: var(--text, #0f172a); }
.uc-user small { color: var(--text-muted, #94a3b8); font-size: 12px; }
.uc-menu nav a { display: block; padding: 9px 12px; border-radius: 8px; font-size: 14px; color: var(--text-secondary, #475569); margin-bottom: 2px; transition: all .15s; }
.uc-menu nav a:hover, .uc-menu nav a.on { background: rgba(16,185,129,.08); color: var(--primary, #0891b2); }
.uc-menu-divider { height: 1px; background: var(--card-border, rgba(16,185,129,.1)); margin: 8px 0; }
.uc-menu-logout { color: #ef4444 !important; }
.uc-menu-logout:hover { background: rgba(239,68,68,.08) !important; color: #dc2626 !important; }
.uc-main { flex: 1; min-width: 0; }
.uc-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; margin-bottom: 22px; }
.uc-card {
  background: var(--card-bg, rgba(255,255,255,.65)); backdrop-filter: var(--blur, blur(16px));
  border: 1px solid var(--card-border, rgba(255,255,255,.8)); border-radius: 14px; padding: 18px;
  box-shadow: var(--card-shadow, 0 2px 12px rgba(0,0,0,.04));
}
.uc-card-label { color: var(--text-muted, #64748b); font-size: 13px; }
.uc-card-value { font-size: 22px; font-weight: 800; margin: 6px 0 10px; color: var(--primary, #0891b2); }
.uc-card-value.is-vip { color: #db2777; }
.uc-card-value.is-permanent { color: #d4af37; background: linear-gradient(135deg,#fbbf24,#d4af37); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; font-weight: 800; }
.uc-card-sub { color: var(--text-muted, #94a3b8); font-size: 13px; }

/* 表单 */
.form-grid { display: grid; gap: 8px; max-width: 460px; }
.form-grid label { font-size: 13px; color: var(--text-secondary, #475569); }
.form-grid input, .form-grid textarea { padding: 10px 12px; border-radius: 10px; border: 1px solid var(--input-border, rgba(16,185,129,.15)); background: var(--input-bg, rgba(255,255,255,.6)); color: var(--text, #0f172a); font-size: 14px; outline: none; width: 100%; }
.form-grid input:focus { border-color: var(--primary-light, #06b6d4); box-shadow: 0 0 0 3px rgba(6,182,212,.12); }
.form-grid .btn { justify-self: start; margin-top: 8px; }

/* 充值 */
.recharge-tip { font-size: 14px; margin-bottom: 16px; color: var(--text-muted, #64748b); }
.amount-presets { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.amount-btn { padding: 9px 16px; border-radius: 10px; border: 1px solid var(--input-border, rgba(16,185,129,.15)); background: var(--input-bg, rgba(255,255,255,.6)); color: var(--text-secondary, #475569); font-size: 14px; cursor: pointer; backdrop-filter: blur(8px); transition: all .15s; }
.amount-btn:hover, .amount-btn.on { border-color: var(--primary-light, #06b6d4); color: var(--primary, #0891b2); background: var(--input-bg-hover, rgba(255,255,255,.85)); }
.amount-custom { width: 150px !important; }
.pay-options { display: grid; gap: 10px; }
.pay-option { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--input-border, rgba(16,185,129,.12)); border-radius: 12px; cursor: pointer; background: var(--input-bg, rgba(255,255,255,.6)); backdrop-filter: blur(8px); transition: all .15s; }
.pay-option:has(input:checked) { border-color: var(--primary-light, #06b6d4); background: var(--card-bg-featured, rgba(6,182,212,.06)); }
.pay-option input { accent-color: var(--primary-light, #06b6d4); width: 18px; height: 18px; }
.pay-option-body b { display: block; font-size: 14.5px; color: var(--text, #0f172a); }
.pay-option-body small { color: var(--text-muted, #94a3b8); font-size: 12px; }

/* ---------- 表格 ---------- */
.table-scroll { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 13.5px; background: var(--card-bg, rgba(255,255,255,.6)); backdrop-filter: blur(12px); border-radius: 12px; overflow: hidden; min-width: 640px; border: 1px solid var(--card-border, rgba(255,255,255,.8)); }
.table th { background: var(--table-head, rgba(16,185,129,.06)); color: var(--text-muted, #64748b); text-align: left; padding: 10px 12px; font-weight: 600; white-space: nowrap; }
.table td { padding: 10px 12px; border-top: 1px solid var(--table-border, rgba(16,185,129,.06)); color: var(--text-secondary, #334155); vertical-align: middle; }
.table tr:hover td { background: rgba(255,255,255,.4); }
.st { font-size: 12px; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.st-paid { background: rgba(16,185,129,.12); color: #047857; }
.st-pending { background: rgba(245,158,11,.12); color: #92400e; }
.st-closed { background: rgba(100,116,139,.1); color: #64748b; }
.money-in { color: var(--primary, #0891b2); font-weight: 600; }
.money-out { color: #dc2626; font-weight: 600; }

/* ---------- VIP 套餐 ---------- */
.vip-status { display: inline-block; margin-top: 10px; padding: 8px 18px; border-radius: 999px; background: rgba(236,72,153,.08); border: 1px solid rgba(236,72,153,.2); color: #db2777; font-size: 14px; }
.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.plan-card {
  position: relative;
  background: var(--card-bg, rgba(255,255,255,.65)); backdrop-filter: var(--blur, blur(16px));
  border: 1px solid var(--card-border, rgba(255,255,255,.8)); border-radius: 16px; padding: 26px 20px; text-align: center;
  box-shadow: 0 4px 16px rgba(0,0,0,.04);
  transition: transform .2s, box-shadow .2s;
}
.plan-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,.08); }
.plan-card.featured { border-color: var(--primary-light, rgba(6,182,212,.4)); background: var(--card-bg-featured, rgba(6,182,212,.06)); box-shadow: 0 8px 28px rgba(6,182,212,.15); }
.plan-tag { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg,var(--accent,#10b981),var(--primary-light,#06b6d4)); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 12px; border-radius: 999px; white-space: nowrap; box-shadow: 0 2px 8px rgba(16,185,129,.3); }
.plan-card h3 { font-size: 16px; color: var(--text, #0f172a); }
.plan-price b { font-size: 34px; color: var(--primary, #0891b2); }
.plan-price small { color: var(--text-muted, #64748b); }
.plan-days { color: var(--text-muted, #64748b); font-size: 13px; margin: 6px 0; }
.plan-desc { color: var(--text-muted, #94a3b8); font-size: 12px; margin-bottom: 14px; line-height: 1.6; white-space: pre-line; }
.plan-card .btn { width: 100%; }

/* ---------- 收银台 ---------- */
.cashier { display: flex; justify-content: center; padding: 20px 0 40px; }
.cashier-card {
  width: 100%; max-width: 460px;
  background: var(--card-bg, rgba(255,255,255,.7)); backdrop-filter: var(--blur, blur(20px));
  border: 1px solid var(--card-border, rgba(255,255,255,.9)); border-radius: 18px; padding: 26px; text-align: center;
  box-shadow: 0 8px 32px rgba(0,0,0,.08);
}
.cashier-head h1 { font-size: 20px; margin-bottom: 8px; color: var(--text, #0f172a); }
.cashier-head span { display: block; color: var(--text-muted, #64748b); font-size: 13px; margin: 4px 0; }
.pay-qr { margin: 22px auto; width: 240px; height: 240px; background: #fff; border-radius: 14px; padding: 12px; border: 1px solid rgba(16,185,129,.15); }
.pay-qr img, .pay-qr canvas { width: 100%; height: 100%; display: block; }
.pay-tip { color: var(--text-muted, #64748b); font-size: 14px; }
.pay-wait { margin-top: 14px; font-size: 13px; color: #92400e; }
.pay-tip-box { margin: 18px 0; padding: 16px; border-radius: 12px; background: rgba(16,185,129,.06); border: 1px solid rgba(16,185,129,.15); color: #065f46; font-size: 14px; }
.usdt-box { text-align: left; margin-top: 18px; }
.usdt-qr { text-align: center; margin: 0 0 16px; }
.usdt-qr img { width: 220px; max-width: 100%; border-radius: 12px; background: #fff; padding: 10px; box-sizing: border-box; border: 1px solid rgba(16,185,129,.15); }
.usdt-qr p { margin-top: 8px; }
.usdt-amount { text-align: center; margin-bottom: 16px; }
.usdt-amount span { display: block; color: var(--text-muted, #64748b); font-size: 13px; }
.usdt-amount b { font-size: 28px; color: var(--primary, #0891b2); }
.usdt-field { margin-bottom: 12px; }
.usdt-field span { display: block; font-size: 13px; color: var(--text-secondary, #475569); margin-bottom: 4px; }
.copy-row { display: flex; gap: 8px; align-items: center; }
.copy-row code { flex: 1; padding: 10px; border-radius: 10px; background: var(--input-bg, rgba(255,255,255,.6)); border: 1px solid var(--input-border, rgba(16,185,129,.12)); font-size: 13px; word-break: break-all; color: var(--text-secondary, #334155); }
.cashier-foot { margin-top: 20px; padding-top: 14px; border-top: 1px solid var(--card-border, rgba(16,185,129,.1)); display: flex; justify-content: space-between; font-size: 12px; color: var(--text-muted, #94a3b8); }
.cashier-foot a { color: var(--primary, #0891b2); }

/* ---------- 结果页 ---------- */
.result-page { padding: 50px 0; }
.result-icon { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 14px; display: flex; align-items: center; justify-content: center; font-size: 30px; font-weight: 800; }
.result-icon.ok { background: rgba(16,185,129,.12); color: #047857; border: 2px solid #10b981; }
.result-icon.no { background: rgba(239,68,68,.1); color: #b91c1c; border: 2px solid #ef4444; }
.result-actions { display: flex; justify-content: center; gap: 12px; margin-top: 20px; flex-wrap: wrap; }
.err-code { font-size: 60px; font-weight: 800; color: var(--primary, #0891b2); line-height: 1; margin-bottom: 8px; }

/* ---------- 评论区 ---------- */
.comment-form { margin-bottom: 18px; }
.comment-form textarea { width: 100%; padding: 12px; border-radius: 12px; border: 1px solid var(--input-border, rgba(16,185,129,.15)); background: var(--input-bg, rgba(255,255,255,.6)); color: var(--text, #0f172a); font-size: 14px; resize: vertical; outline: none; }
.comment-form textarea:focus { border-color: var(--primary-light, #06b6d4); box-shadow: 0 0 0 3px rgba(6,182,212,.12); }
.comment-login { color: var(--text-muted, #64748b); font-size: 14px; margin-bottom: 14px; }
.comment-item { padding: 12px 0; border-bottom: 1px solid var(--card-border, rgba(16,185,129,.08)); }
.comment-head { display: flex; justify-content: space-between; font-size: 13px; color: var(--text-muted, #94a3b8); margin-bottom: 4px; }
.comment-head b { color: var(--primary, #0891b2); }
.comment-item p { font-size: 14px; color: var(--text-secondary, #334155); }

/* ---------- 页脚 ---------- */
.site-footer { border-top: 1px solid var(--footer-border, rgba(16,185,129,.1)); padding: 22px 0; margin-top: auto; background: transparent; backdrop-filter: blur(10px); }
.footer-inner { text-align: center; color: var(--text-muted, #94a3b8); font-size: 13px; display: grid; gap: 4px; }
.footer-link { color: var(--primary, #0891b2); text-decoration: none; transition: color .15s; }
.footer-link:hover { color: var(--primary-light, #06b6d4); text-decoration: underline; }

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  .res-grid { grid-template-columns: repeat(3, 1fr); }
  .uc-layout { flex-direction: column; }
  .uc-menu { width: 100%; position: static; display: flex; align-items: center; gap: 8px; overflow-x: auto; }
  .uc-menu nav { display: flex; gap: 4px; }
  .uc-menu nav a { white-space: nowrap; margin-bottom: 0; }
  .uc-user { border-bottom: 0; padding-bottom: 0; margin-bottom: 0; padding-right: 12px; }
  .uc-avatar { margin: 0 auto; }
}
@media (max-width: 720px) {
  .res-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; top: 62px; left: 0; right: 0; background: var(--card-bg, #fff); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border, rgba(16,185,129,.1)); flex-direction: column; padding: 10px 16px; gap: 2px; box-shadow: 0 8px 24px rgba(0,0,0,.1); }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 11px 8px; }
  .site-nav .nav-dropdown { width: 100%; }
  .site-nav .nav-dropdown > a { display: block; }
  .site-nav .nav-dropdown-menu {
    display: block;
    position: static;
    transform: none;
    box-shadow: none;
    border: 0;
    background: transparent;
    padding: 0 0 0 16px;
    max-height: none;
    opacity: 1;
  }
  .site-nav .nav-dropdown-menu::before { display: none; }
  .site-nav .nav-dropdown-menu a { padding: 8px; font-size: 13px; color: var(--text-muted, #94a3b8); }
  .site-nav .nav-user-trigger { width: 100%; justify-content: flex-start; }
  .site-nav .nav-user-menu { padding: 6px 0; display: block !important; opacity: 1 !important; position: static; transform: none; box-shadow: none; border: 0; background: transparent; }
  .site-nav .nav-balance-tag { width: fit-content; margin: 4px 0; }
  .hero { padding: 40px 0 34px; }
  .hero-stats { gap: 20px; }
  .detail { padding: 16px; }
  .get-box { flex-direction: column; align-items: stretch; }
  .get-box .btn { width: 100%; }
  .pay-qr { width: 200px; height: 200px; }
  .brand-text small { display: none; }
  .nav-search { flex: 0 1 140px; min-width: 100px; }
  .nav-search input { padding: 6px 8px; font-size: 13px; }
  .nav-search button { padding: 6px 10px; }
}
@media (max-width: 480px) {
  .header-inner { gap: 6px; }
  .brand-text b { font-size: 14px; }
  .brand-logo { width: 32px; height: 32px; font-size: 15px; }
  .nav-search { flex: 0 1 110px; min-width: 80px; }
  .nav-search input { font-size: 12px; padding: 6px; }
  .nav-search button { padding: 6px 8px; font-size: 12px; }
  .nav-balance-tag .nb-amount { display: none; }
}
@media (max-width: 420px) {
  .res-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .amount-presets .amount-custom { width: 100% !important; }
  .trust-bar { grid-template-columns: 1fr 1fr; gap: 10px; padding: 14px; }
  .trust-item b { font-size: 12px; }
  .trust-item p { font-size: 11px; }
  .trust-icon { font-size: 22px; }
}

/* ---------- 导航搜索框 ---------- */
.nav-search {
  display: flex;
  align-items: center;
  margin: 0 12px 0 8px;
  background: var(--input-bg, rgba(255,255,255,.5));
  border: 1px solid var(--input-border, rgba(16,185,129,.15));
  border-radius: 22px;
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
  flex: 0 1 320px;
  min-width: 180px;
  backdrop-filter: blur(8px);
}
.nav-search:focus-within { border-color: var(--primary-light, #06b6d4); box-shadow: 0 0 0 3px rgba(6,182,212,.15); }
.nav-search input {
  background: transparent;
  border: 0;
  outline: 0;
  color: var(--text, #0f172a);
  padding: 8px 14px;
  font-size: 13px;
  width: 100%;
  min-width: 0;
}
.nav-search input::placeholder { color: var(--text-muted, #94a3b8); }
.nav-search button {
  background: linear-gradient(135deg, var(--primary, #10b981), var(--primary-light, #06b6d4));
  border: 0;
  color: #fff;
  cursor: pointer;
  padding: 8px 14px;
  font-size: 14px;
  transition: opacity .15s;
}
.nav-search button:hover { opacity: .9; }

/* ---------- VIP / 用户徽章 ---------- */
.nav-vip-badge, .nav-user-badge, .nav-perm-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: transform .15s, box-shadow .2s;
}
.nav-vip-badge:hover, .nav-user-badge:hover, .nav-perm-badge:hover {
  transform: translateY(-1px);
  text-decoration: none;
}
.nav-vip-badge {
  background: linear-gradient(135deg, #10b981, #06b6d4);
  color: #fff;
  animation: vipGlow 2s ease-in-out infinite;
  box-shadow: 0 2px 8px rgba(16,185,129,.3);
}
.nav-perm-badge {
  background: linear-gradient(135deg, #fbbf24, #f59e0b, #d97706);
  color: #fff;
  animation: permGlow 1.8s ease-in-out infinite;
  box-shadow: 0 2px 8px rgba(251,191,36,.4);
}
.nav-user-badge {
  background: rgba(16,185,129,.08);
  color: #0891b2;
  border: 1px solid rgba(16,185,129,.2);
}
.nav-balance {
  display: inline-block;
  margin-left: 4px;
  padding: 2px 8px;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: #fff;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
}

/* 用户按钮 */
.nav-user-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px 5px 5px;
  border-radius: 20px;
  background: var(--card-bg, rgba(255,255,255,.7));
  border: 1px solid var(--border, rgba(16,185,129,.15));
  text-decoration: none;
}
.nav-user-trigger:hover { background: var(--hover-bg, rgba(16,185,129,.08)); text-decoration: none; }
.nav-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary, #10b981), var(--primary-light, #06b6d4));
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}
.nav-user-trigger.is-vip .nav-avatar { background: linear-gradient(135deg, #10b981, #06b6d4); }
.nav-user-trigger.is-perm .nav-avatar { background: linear-gradient(135deg, #fbbf24, #f59e0b, #d97706); }
.nav-username { font-size: 13px; font-weight: 600; color: var(--text, #0f172a); }
.nav-vip-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  background: linear-gradient(135deg, #10b981, #06b6d4);
  color: #fff;
  line-height: 1.4;
  white-space: nowrap;
}
.nav-vip-tag.perm {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: #fff;
}

/* 瓜币余额标签 */
.nav-balance-tag {
  display: inline-flex !important;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  border-radius: 20px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .15s, box-shadow .2s;
  box-shadow: 0 2px 8px rgba(217,119,6,.35);
  text-shadow: 0 1px 2px rgba(0,0,0,.3);
}
.nav-balance-tag:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(217,119,6,.45); text-decoration: none; }
.nb-icon { font-size: 13px; }
.nb-amount { font-size: 12px; font-weight: 800; }
.nb-plus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(255,255,255,.3);
  font-size: 12px;
  font-weight: 700;
  margin-left: 2px;
}
@keyframes vipGlow {
  0%, 100% { box-shadow: 0 2px 8px rgba(16,185,129,.3); }
  50% { box-shadow: 0 2px 16px rgba(6,182,212,.5); }
}
@keyframes permGlow {
  0%, 100% { box-shadow: 0 2px 8px rgba(251,191,36,.4); }
  50% { box-shadow: 0 2px 16px rgba(251,191,36,.7); }
}

/* ---------- 详情页下载按钮组 ---------- */
.dl-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}
.dl-btn {
  min-width: 120px;
  text-align: center;
}

/* ---------- Logo 动画 ---------- */
.brand-anim .brand-logo {
  animation: logoPulse 3s ease-in-out infinite;
}
.brand-anim .brand-name {
  background: linear-gradient(90deg, #0f172a, #0891b2, #10b981, #0f172a, #0891b2);
  background-size: 300% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: logoShine 3s linear infinite, nameGlow 4s ease-in-out infinite;
  display: inline-block;
}
.brand-anim .brand-sub {
  animation: subSlideIn 1.4s ease-out, subFlicker 5s ease-in-out 1.4s infinite;
  display: inline-block;
}
@keyframes logoPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 4px 12px rgba(16,185,129,.3); }
  50% { transform: scale(1.08); box-shadow: 0 4px 24px rgba(6,182,212,.5); }
}
@keyframes logoShine {
  to { background-position: 300% center; }
}
@keyframes nameGlow {
  0%, 100% { filter: drop-shadow(0 0 2px rgba(6,182,212,.3)); }
  50% { filter: drop-shadow(0 0 8px rgba(16,185,129,.5)); }
}
@keyframes subSlideIn {
  from { opacity: 0; transform: translateX(-12px); letter-spacing: 4px; }
  to { opacity: 1; transform: translateX(0); letter-spacing: normal; }
}
@keyframes subFlicker {
  0%, 100% { opacity: 1; }
  50% { opacity: .75; }
}

/* 首页 hero 标题不换行 */
.hero-title-nowrap {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* USDT 收银台联系客服按钮 */
.pay-contact-btn {
  text-align: center;
  margin-top: 10px;
}
.pay-contact-btn .btn {
  border-color: rgba(16,185,129,.3);
  color: #0891b2;
  background: rgba(255,255,255,.5);
}

/* ---------- 首页广告位 ---------- */
.hero-ads {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  margin: 0 auto 18px;
}
.hero-ad {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 4px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  transition: transform .15s, box-shadow .15s;
  overflow: hidden;
  min-height: 32px;
  border: 1px dashed currentColor;
  background: transparent;
  backdrop-filter: blur(4px);
}
.hero-ad:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,.06); }
.hero-ad img { width: 100%; height: 32px; object-fit: cover; border-radius: 6px; }
.hero-ad-empty { opacity: .55; border: 1px dashed currentColor; background: transparent !important; }

/* ---------- 联系客服浮动按钮 ---------- */
.customer-float {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 999;
}
/* 右下角浮动按钮组 */
.float-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.float-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--card-bg, rgba(255,255,255,.9));
  backdrop-filter: blur(10px);
  color: var(--text, #0f172a);
  border: 1px solid var(--border, #e2e8f0);
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0,0,0,.1);
  transition: transform .2s, box-shadow .2s, background .2s;
  font-size: 16px;
  font-weight: 700;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .3s, transform .3s, visibility .3s;
}
.float-action-btn.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.float-action-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,.15);
  background: var(--primary, #10b981);
  color: #fff;
  border-color: var(--primary, #10b981);
}
.customer-float-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10b981, #06b6d4);
  color: #fff;
  border: 0;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(16,185,129,.4);
  transition: transform .2s, box-shadow .2s;
  animation: cfPulse 2.5s ease-in-out infinite;
}
.customer-float-btn:hover { transform: scale(1.08); }
.cf-icon { font-size: 20px; line-height: 1; }
.cf-text { font-size: 10px; margin-top: 2px; }
@keyframes cfPulse {
  0%, 100% { box-shadow: 0 4px 16px rgba(16,185,129,.4); }
  50% { box-shadow: 0 4px 28px rgba(6,182,212,.6); }
}
.customer-panel {
  position: absolute;
  bottom: 68px;
  right: 0;
  background: var(--card-bg, #fff);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 14px;
  padding: 8px;
  min-width: 180px;
  box-shadow: 0 12px 40px rgba(0,0,0,.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.customer-panel.open { opacity: 1; visibility: visible; transform: translateY(0); }
.customer-panel-head {
  padding: 8px 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary, #0891b2);
  border-bottom: 1px solid var(--border, #e2e8f0);
  margin-bottom: 4px;
}
.customer-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--text, #1e293b);
  text-decoration: none;
  font-size: 13px;
  transition: background .15s;
}
.customer-item:hover { background: var(--tag-bg, rgba(16,185,129,.08)); color: var(--primary, #0891b2); }
.customer-icon { font-size: 16px; }

/* ---------- 响应式补充 ---------- */
@media (max-width: 720px) {
  .hero-ads { grid-template-columns: repeat(2, 1fr); }
  .customer-float { right: 12px; bottom: 16px; }
  .customer-float-btn { width: 48px; height: 48px; }
  .cat-nav { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 4px; }
  .cat-nav::-webkit-scrollbar { display: none; }
  .cat-item { flex-shrink: 0; }
  .trust-bar { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 420px) {
  .hero-ads { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- 富文本编辑器 ---------- */
.rte-wrap {
  border: 1px solid rgba(16,185,129,.15);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255,255,255,.7);
  backdrop-filter: blur(10px);
}
.rte-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px;
  padding: 6px 8px;
  background: rgba(255,255,255,.5);
  border-bottom: 1px solid rgba(16,185,129,.1);
}
.rte-btn {
  background: var(--input-bg, #ffffff);
  border: 1px solid var(--input-border, rgba(16,185,129,.15));
  color: var(--text-secondary, #334155);
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 13px;
  cursor: pointer;
  transition: background .15s, color .15s;
  min-width: 28px;
}
.rte-btn:hover { background: rgba(16,185,129,.08); color: var(--primary, #0891b2); border-color: var(--primary-light, #06b6d4); }
.rte-btn:active { background: rgba(16,185,129,.15); }
.rte-btn:disabled { opacity: .5; cursor: not-allowed; }
.rte-select {
  background: var(--input-bg, #ffffff);
  border: 1px solid var(--input-border, rgba(16,185,129,.15));
  color: var(--text-secondary, #334155);
  padding: 4px 6px;
  border-radius: 6px;
  font-size: 13px;
  cursor: pointer;
}
.rte-color {
  width: 32px;
  height: 26px;
  padding: 0;
  border: 1px solid rgba(16,185,129,.15);
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
}
.rte-sep {
  width: 1px;
  height: 18px;
  background: rgba(16,185,129,.15);
  margin: 0 4px;
}
.rte-editor {
  min-height: 220px;
  padding: 12px 14px;
  color: var(--text, #0f172a);
  font-size: 14px;
  line-height: 1.7;
  outline: none;
  overflow-y: auto;
  max-height: 500px;
}
.rte-editor:focus { background: rgba(255,255,255,.3); }
.rte-editor.rte-empty::before {
  content: attr(data-placeholder);
  color: var(--text-muted, #94a3b8);
  pointer-events: none;
}
.rte-editor h2 { font-size: 20px; color: var(--primary, #0891b2); margin: 12px 0 8px; }
.rte-editor h3 { font-size: 17px; color: var(--accent, #10b981); margin: 10px 0 6px; }
.rte-editor p { margin: 6px 0; }
.rte-editor img { max-width: 100%; height: auto; border-radius: 10px; margin: 8px 0; cursor: zoom-in; }
.rte-editor a { color: var(--primary, #0891b2); text-decoration: underline; }
.rte-editor ul, .rte-editor ol { padding-left: 24px; margin: 6px 0; }
.rte-editor blockquote { border-left: 3px solid var(--primary-light, #06b6d4); padding-left: 12px; color: var(--text-muted, #64748b); margin: 8px 0; }

/* USDT 收银台内联客服列表 */
.pay-contact-wrap { text-align: center; margin-top: 12px; }
.usdt-customer-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 10px;
  padding: 12px;
  background: rgba(16,185,129,.06);
  border: 1px solid rgba(16,185,129,.2);
  border-radius: 12px;
  backdrop-filter: blur(10px);
}
.usdt-customer-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: #ffffff;
  border: 1px solid rgba(16,185,129,.2);
  border-radius: 20px;
  color: #0891b2;
  font-size: 13px;
  text-decoration: none;
  transition: background .15s, box-shadow .15s;
}
.usdt-customer-item:hover { background: rgba(16,185,129,.08); box-shadow: 0 2px 8px rgba(16,185,129,.15); }

/* 详情页右侧用户信息卡片 */
.detail-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 20px;
  align-items: start;
}
.detail-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.detail-sidebar .user-side-card {
  width: 100%;
  position: static;
}
.detail-sidebar .tech-service-card {
  position: relative;
}
.user-side-card {
  background: var(--card-bg, #ffffff);
  border: 1px solid var(--card-border, #e5e7eb);
  border-radius: 16px;
  padding: 18px;
  position: sticky;
  top: 80px;
  box-shadow: var(--card-shadow, 0 4px 20px rgba(0,0,0,.05));
  color: var(--text, #0f172a);
}
.user-side-card .usc-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10b981, #06b6d4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  margin: 0 auto 10px;
  box-shadow: 0 4px 12px rgba(16,185,129,.3);
}
.user-side-card .usc-name {
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  color: var(--text, #0f172a);
  margin-bottom: 4px;
}
.user-side-card .usc-vip {
  text-align: center;
  font-size: 12px;
  margin-bottom: 14px;
}
.user-side-card .usc-stats {
  display: flex;
  justify-content: space-around;
  padding: 10px 0;
  border-top: 1px solid var(--card-border, rgba(16,185,129,.08));
  border-bottom: 1px solid var(--card-border, rgba(16,185,129,.08));
  margin-bottom: 12px;
}
.user-side-card .usc-stat-num { font-size: 18px; font-weight: 700; color: var(--primary, #0891b2); }
.user-side-card .usc-stat-label { font-size: 11px; color: var(--text-muted, #94a3b8); margin-top: 2px; }
.user-side-card .usc-btn {
  display: block;
  text-align: center;
  padding: 8px;
  background: linear-gradient(135deg, #10b981, #06b6d4);
  color: #fff;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(16,185,129,.3);
  transition: box-shadow .15s, transform .15s;
}
.user-side-card .usc-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(6,182,212,.4); }
.user-side-card .usc-login-tip {
  text-align: center;
  color: var(--text-muted, #94a3b8);
  font-size: 13px;
  padding: 20px 0;
}
.user-side-card .usc-login-links {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}
.user-side-card .usc-login-links a {
  flex: 1;
  text-align: center;
  padding: 8px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}
@media (max-width: 900px) {
  .detail-layout { grid-template-columns: 1fr; }
  .detail-sidebar { order: -1; }
  .user-side-card { position: static; }
  .detail-sidebar .tech-service-card { position: static !important; }
  .tech-service-card { min-height: auto; }
  .tech-service-card .tsc-customers {
    position: static;
    transform: none;
    width: 100%;
    margin-top: 10px;
  }
  .hero-layout { grid-template-columns: 1fr; }
  .hero-tech-card { max-width: 320px; margin: 0 auto; position: relative; z-index: 9999; }
  .hero-inner { padding: 28px 20px; }
}

/* 技术搭建服务模块 */
.tech-service-card {
  width: 100%;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: linear-gradient(135deg, var(--card-bg, #fff) 0%, var(--tag-bg, rgba(16,185,129,.06)) 100%);
  border: 1px solid var(--primary, #10b981);
  position: relative;
  padding: 20px 16px;
}
.tech-service-card .tsc-icon {
  font-size: 32px;
  margin-bottom: 6px;
}
.tech-service-card .tsc-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary, #10b981);
  margin-bottom: 6px;
}
.tech-service-card .tsc-desc {
  font-size: 12px;
  color: var(--text-secondary, #475569);
  line-height: 1.5;
  margin-bottom: 10px;
}
.tech-service-card .tsc-desc b {
  color: var(--primary, #10b981);
}
.tech-service-card .tsc-price {
  margin-bottom: 10px;
}
.tech-service-card .tsc-price-num {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary, #10b981);
}
.tech-service-card .tsc-price-unit {
  font-size: 13px;
  color: var(--text-muted, #94a3b8);
  margin-left: 2px;
}
.tech-service-card .tsc-btn {
  display: block;
  width: 100%;
  padding: 9px;
  background: linear-gradient(135deg, var(--primary, #10b981), var(--accent, #06b6d4));
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s;
  box-shadow: 0 2px 8px rgba(16,185,129,.3);
}
.tech-service-card .tsc-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(16,185,129,.4);
}
.tech-service-card .tsc-note {
  font-size: 10.5px;
  color: var(--text-muted, #94a3b8);
  margin-top: 8px;
  line-height: 1.4;
}

/* 技术搭建卡片客服列表 */
.tech-service-card .tsc-customers {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  margin-top: 8px;
  background: var(--card-bg, #fff);
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 10px;
  padding: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,.15);
  z-index: 9999;
}
.tech-service-card .tsc-customer-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--text, #1e293b);
  font-size: 13px;
  transition: background .15s;
}
.tech-service-card .tsc-customer-item:hover {
  background: var(--tag-bg, rgba(16,185,129,.08));
}
.tech-service-card .tsc-customer-icon {
  font-size: 16px;
}
.tech-service-card .tsc-customer-empty {
  text-align: center;
  padding: 12px;
  color: var(--text-muted, #94a3b8);
  font-size: 12px;
}

/* VIP 徽章通用样式 */
.vip-badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
}
.vip-badge.vip-lifetime {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: #78350f;
  box-shadow: 0 2px 8px rgba(251,191,36,.3);
}
.vip-badge.vip-normal {
  background: linear-gradient(135deg, #10b981, #06b6d4);
  color: #fff;
  box-shadow: 0 2px 8px rgba(16,185,129,.3);
}
.vip-badge.vip-none {
  background: rgba(100,116,139,.1);
  color: #64748b;
}

/* 图片灯箱 */
.img-lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.88); z-index: 9999; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; cursor: zoom-out; }
.img-lightbox.open { opacity: 1; visibility: visible; }
.img-lightbox-img { max-width: 92vw; max-height: 90vh; object-fit: contain; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.img-lightbox-close { position: absolute; top: 20px; right: 28px; font-size: 36px; color: #fff; cursor: pointer; line-height: 1; opacity: .7; transition: opacity .2s; z-index: 10000; }
.img-lightbox-close:hover { opacity: 1; }

/* 首页安全保障说明 */
.trust-bar { max-width: 1600px; margin: 32px auto 0; padding: 20px 24px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; background: var(--card-bg, rgba(255,255,255,.65)); backdrop-filter: blur(16px); border: 1px solid var(--card-border, rgba(255,255,255,.8)); border-radius: 14px; }
.trust-item { display: flex; align-items: center; gap: 12px; }
.trust-icon { font-size: 28px; flex-shrink: 0; }
.trust-item b { font-size: 14px; color: var(--text, #0f172a); display: block; }
.trust-item p { font-size: 12px; color: var(--text-muted, #64748b); margin: 2px 0 0; }

/* 性能优化：全局禁用毛玻璃效果，提升滚动流畅度（导航栏除外） */
.hero-search input, .notice-bar, .cat-item, .badge,
.price-compare-bar, .pager-btn, .btn-outline, .amount-btn, .pay-option,
.table, .site-footer, .trust-bar, .dropdown, .modal, .card, .panel,
.sidebar, .widget, .tag, .chip, .tooltip, .popover {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
