/* ============================================================
   域名出售站全局主题 — Nebula 深色科技风
   深空蓝黑底 · 霓虹青紫渐变 · 玻璃拟态卡片 · 光效点缀
   （类名与旧版保持一致，页面可直接换装）
   ============================================================ */

:root {
  /* ---- 基础色板 ---- */
  --bg-dark:      #05070f;                 /* 页面最深背景 */
  --bg-topbar:    rgba(10, 14, 28, .85);   /* 顶部信息栏 */
  --bg-navbar:    rgba(8, 12, 24, .78);    /* 导航栏（玻璃） */
  --bg-search:    rgba(13, 19, 38, .5);    /* Hero / 筛选区 */
  --bg-content:   transparent;             /* 内容区 */
  --bg-stripe-1:  rgba(17, 24, 46, .55);   /* 表格奇数行 */
  --bg-stripe-2:  rgba(23, 32, 58, .55);   /* 表格偶数行 */
  --bg-hover:     rgba(34, 211, 238, .08); /* 表格hover */
  --bg-detail:    rgba(15, 23, 42, .6);

  /* ---- 霓虹色 ---- */
  --neon-cyan:    #22d3ee;
  --neon-violet:  #8b5cf6;
  --neon-indigo:  #6366f1;
  --neon-green:   #34d399;
  --amber:        #fbbf24;

  /* ---- 兼容旧变量名（旧页面样式平滑过渡） ---- */
  --border-blue:  rgba(139, 92, 246, .35);
  --border-cyan:  rgba(34, 211, 238, .35);
  --link:         #38bdf8;
  --link-hover:   #22d3ee;
  --green:        #34d399;
  --yellow:       #fbbf24;
  --price-yellow: #fbbf24;
  --price-red:    #fb7185;
  --red:          #fb7185;
  --grey:         #7c8aa5;
  --thead-text:   #8ea2c0;
  --text-white:   #e6ecf7;
  --text-dim:     #8ea2c0;
  --text-1:       #cbd5e1;

  /* ---- 渐变与效果 ---- */
  --grad-main:    linear-gradient(135deg, #22d3ee 0%, #6366f1 55%, #8b5cf6 100%);
  --grad-text:    linear-gradient(120deg, #22d3ee, #818cf8 60%, #c084fc);
  --border-glass: rgba(148, 163, 184, .14);
  --glow-cyan:    0 0 24px rgba(34, 211, 238, .35);
  --glow-violet:  0 0 28px rgba(139, 92, 246, .35);
  --shadow-card:  0 8px 32px rgba(0, 0, 0, .45);

  --radius: 16px;
  --radius-sm: 10px;
  --transition: 0.25s ease;
  --max-w: 1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: "Microsoft YaHei", "PingFang SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  /* 星云光斑背景 */
  background-image:
    radial-gradient(1100px 560px at 12% -8%, rgba(99, 102, 241, .20), transparent 62%),
    radial-gradient(900px 480px at 108% 12%, rgba(34, 211, 238, .13), transparent 60%),
    radial-gradient(760px 560px at 50% 112%, rgba(139, 92, 246, .12), transparent 62%);
  background-attachment: fixed;
}

/* 细网格科技底纹 */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(148, 163, 184, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, .045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 30%, transparent 78%);
}

a { color: var(--link); text-decoration: none; transition: color 0.2s; }
a:hover, a:active { color: var(--link-hover); }
ul, li, ol { list-style: none; padding: 0; }
img { max-width: 100%; vertical-align: middle; }
::selection { background: rgba(139, 92, 246, .45); color: #fff; }

/* ===== 顶部信息栏 ===== */
.topbar {
  width: 100%;
  background: var(--bg-topbar);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--text-dim);
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-glass);
}
.topbar .container {
  max-width: var(--max-w); margin: 0 auto; padding: 0 20px;
  display: flex; align-items: center; justify-content: space-between;
}
.topbar .topbar-left { display: flex; align-items: center; gap: 10px; }
.topbar .topbar-left span { color: var(--text-dim); letter-spacing: .3px; }
.topbar .topbar-right a { color: var(--neon-cyan); font-size: 13px; }
.topbar .topbar-right a:hover { color: #fff; }

/* ===== 导航栏（玻璃悬浮） ===== */
.navbar {
  background: var(--bg-navbar);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-glass);
  position: sticky; top: 0; z-index: 100;
}
.navbar .container {
  max-width: var(--max-w); margin: 0 auto; padding: 0 20px;
  display: flex; align-items: center; justify-content: space-between;
  height: 76px; gap: 16px;
}
.navbar-brand {
  display: flex; align-items: center; gap: 12px;
  font-size: 21px; font-weight: 800; color: #fff;
}
.logo-icon {
  width: 44px; height: 44px; border-radius: 13px;
  background: var(--grad-main);
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-size: 20px; font-weight: 800;
  box-shadow: var(--glow-violet), inset 0 1px 0 rgba(255,255,255,.25);
  flex-shrink: 0;
}
.navbar-brand .brand-text {
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.navbar-brand .brand-text:hover { filter: brightness(1.25); }
.nav-menu { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; }
.nav-menu a {
  font-size: 15px; font-weight: 600; color: var(--text-1);
  padding: 8px 14px; border-radius: 9px; transition: all 0.2s;
  position: relative;
}
.nav-menu a:hover { color: #fff; background: rgba(148, 163, 184, .1); }
.nav-menu a.nav-admin {
  color: var(--grey); font-size: 13px; font-weight: 400;
  border: 1px solid var(--border-glass);
}

/* ===== 域名 Hero 区 ===== */
.domain-hero {
  padding: 64px 20px 72px;
  position: relative; overflow: hidden;
}
.domain-hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 90% at 50% -20%, rgba(99, 102, 241, .22), transparent 60%),
    radial-gradient(ellipse 40% 60% at 50% 120%, rgba(34, 211, 238, .10), transparent 65%);
  pointer-events: none;
}
.domain-hero .container {
  max-width: var(--max-w); margin: 0 auto;
  position: relative; z-index: 1;
}
.domain-hero .hero-domain {
  font-size: clamp(32px, 7vw, 62px); font-weight: 900;
  text-align: center; margin-bottom: 12px; letter-spacing: -1px;
  word-break: break-all;
  background: linear-gradient(120deg, #6ee7b7, #22d3ee 55%, #818cf8);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  filter: drop-shadow(0 0 22px rgba(34, 211, 238, .25));
}
.domain-hero .hero-domain .tld {
  -webkit-text-fill-color: transparent;
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  font-weight: 700;
}
.domain-hero .hero-tagline {
  font-size: 17px; color: var(--text-1); text-align: center; opacity: .9;
  margin-bottom: 26px; font-weight: 500;
}
.domain-hero .hero-price {
  display: flex; align-items: baseline; justify-content: center; gap: 6px;
  margin-bottom: 6px;
}
.domain-hero .price-currency {
  font-size: 24px; font-weight: 700; color: var(--amber);
}
.domain-hero .price-amount {
  font-size: 44px; font-weight: 900; color: var(--amber);
  letter-spacing: -1px; font-variant-numeric: tabular-nums;
  text-shadow: 0 0 26px rgba(251, 191, 36, .3);
}
.domain-hero .hero-price-note {
  font-size: 14px; color: var(--text-dim); text-align: center; margin-bottom: 30px;
}
.domain-hero .hero-btns {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
}
.domain-hero .btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 12px 30px; border-radius: 12px; font-size: 15px; font-weight: 700;
  text-decoration: none; transition: all var(--transition); border: none; cursor: pointer;
}
.btn-buy {
  background: var(--grad-main); color: #fff;
  box-shadow: var(--glow-violet);
}
.btn-buy:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 34px rgba(139, 92, 246, .55);
  color: #fff;
}
.btn-qq {
  background: rgba(56, 189, 248, .12); color: var(--neon-cyan);
  border: 1px solid rgba(34, 211, 238, .35);
}
.btn-qq:hover {
  background: rgba(56, 189, 248, .2); color: #fff;
  border-color: var(--neon-cyan); transform: translateY(-2px);
  box-shadow: var(--glow-cyan);
}
.btn-call {
  background: rgba(148, 163, 184, .08); color: var(--text-1);
  border: 1px solid var(--border-glass);
}
.btn-call:hover { background: rgba(148, 163, 184, .14); color: #fff; transform: translateY(-2px); }
.btn-copy {
  background: transparent; color: var(--text-1);
  border: 1px dashed rgba(148, 163, 184, .35);
}
.btn-copy:hover { background: rgba(148, 163, 184, .08); color: var(--neon-cyan); border-color: var(--neon-cyan); }

/* 已售出徽章 */
.sold-badge {
  display: inline-block; margin: 16px auto 0; padding: 9px 32px;
  background: rgba(251, 113, 133, .12); border: 1px solid rgba(251, 113, 133, .4);
  border-radius: 999px; color: #fb7185; font-size: 15px; font-weight: 700;
  letter-spacing: 3px;
}

/* ===== 主体容器 ===== */
.domain-section { padding: 8px 0 48px; }
.domain-section .container {
  max-width: var(--max-w); margin: 0 auto; padding: 0 20px;
}

/* ===== 区块标题 ===== */
.section-head {
  height: 46px;
  padding-left: 14px;
  font-size: 16px; font-weight: 700; color: #fff;
  border-bottom: 1px solid var(--border-glass);
  margin-bottom: 18px;
  display: flex; align-items: center; gap: 8px;
  position: relative;
}
.section-head::before {
  content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 4px; height: 20px; border-radius: 2px;
  background: var(--grad-main); box-shadow: var(--glow-cyan);
}
.section-head .head-icon { font-size: 18px; }
.section-head .head-sub { font-size: 12px; color: var(--grey); font-weight: 400; margin-left: 4px; }

/* ===== 玻璃卡片基类 ===== */
.glass {
  background: rgba(15, 23, 42, .55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

/* ===== 域名信息表格 ===== */
.info-table {
  width: 100%; border-collapse: separate; border-spacing: 0;
  font-size: 15px; overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border-glass);
}
.info-table thead { background: rgba(34, 211, 238, .07); }
.info-table thead th {
  color: var(--thead-text); font-size: 13px; font-weight: 700;
  padding: 12px 16px; text-align: left; letter-spacing: 1px;
  border-bottom: 1px solid var(--border-glass);
  text-transform: uppercase;
}
.info-table tbody tr { transition: background .2s; }
.info-table tbody tr:nth-child(odd) { background: rgba(17, 24, 46, .5); }
.info-table tbody tr:nth-child(even) { background: rgba(23, 32, 58, .5); }
.info-table tbody tr:hover { background: var(--bg-hover); }
.info-table tbody td { padding: 13px 16px; color: var(--text-white); font-size: 15px; }
.info-table td.td-label { color: var(--thead-text); font-weight: 600; width: 140px; }
.info-table td.td-value { color: var(--text-white); }
.info-table td.td-price {
  color: var(--amber); font-weight: 700; font-size: 18px;
  text-shadow: 0 0 18px rgba(251, 191, 36, .25);
}
.info-table td.td-domain {
  font-weight: 700; font-size: 18px;
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ===== 卖点区块 ===== */
.highlights-wrap { margin-top: 26px; }
.highlights-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
  margin-top: 8px;
}
.highlight-card {
  background: rgba(15, 23, 42, .55);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius);
  padding: 24px 18px; text-align: center;
  transition: all var(--transition);
}
.highlight-card:hover {
  border-color: rgba(34, 211, 238, .45);
  background: rgba(23, 34, 62, .65);
  transform: translateY(-4px);
  box-shadow: var(--glow-cyan);
}
.hl-icon {
  width: 56px; height: 56px; margin: 0 auto 12px; border-radius: 16px;
  background: rgba(34, 211, 238, .1); border: 1px solid rgba(34, 211, 238, .25);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; line-height: 1;
}
.hl-title {
  font-size: 15px; font-weight: 700; color: var(--neon-cyan);
  margin-bottom: 6px;
}
.highlight-card:hover .hl-title { color: #fff; }
.hl-desc { font-size: 13px; color: var(--text-dim); line-height: 1.7; }

/* ===== 域名描述 ===== */
.domain-desc {
  margin-top: 22px;
  background: rgba(15, 23, 42, .55);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  border-left: 3px solid var(--neon-cyan);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 24px;
}
.domain-desc-text { font-size: 15px; color: var(--text-1); line-height: 1.9; }

/* ===== 双栏布局 ===== */
.main-wrap {
  display: grid; grid-template-columns: 1fr 310px; gap: 20px;
  margin-top: 26px; align-items: start;
}

/* ===== 购买平台 ===== */
.platform-area {
  background: rgba(15, 23, 42, .5);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius);
  padding-bottom: 6px; overflow: hidden;
}
.platform-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px;
  padding: 18px;
}
.platform-card {
  background: rgba(17, 24, 46, .55);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  padding: 18px; transition: all var(--transition);
  display: flex; flex-direction: column; gap: 7px;
}
.platform-card:hover {
  background: rgba(23, 34, 62, .7);
  border-color: rgba(139, 92, 246, .45);
  transform: translateY(-3px);
  box-shadow: var(--glow-violet);
}
.pc-header { display: flex; align-items: center; gap: 10px; margin-bottom: 2px; }
.pc-icon {
  width: 42px; height: 42px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
}
.pc-icon.blue   { background: rgba(56, 189, 248, .12);  border: 1px solid rgba(56, 189, 248, .3); }
.pc-icon.green  { background: rgba(52, 211, 153, .12);  border: 1px solid rgba(52, 211, 153, .3); }
.pc-icon.purple { background: rgba(139, 92, 246, .12);  border: 1px solid rgba(139, 92, 246, .3); }
.pc-icon.orange { background: rgba(251, 191, 36, .12);  border: 1px solid rgba(251, 191, 36, .3); }
.pc-icon.red    { background: rgba(251, 113, 133, .12); border: 1px solid rgba(251, 113, 133, .3); }
.pc-icon.cyan   { background: rgba(34, 211, 238, .12);  border: 1px solid rgba(34, 211, 238, .3); }
.pc-title-row { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.pc-title { font-size: 15px; font-weight: 700; color: #fff; }
.pc-badge {
  background: var(--grad-main); color: #fff;
  font-size: 11px; font-weight: 700;
  padding: 2px 9px; border-radius: 999px; line-height: 1.5;
}
.pc-desc { font-size: 13px; color: var(--text-dim); line-height: 1.6; }
.pc-action { margin-top: auto; padding-top: 10px; }
.pc-price {
  display: inline-block; font-size: 14px; font-weight: 700; color: var(--amber);
  padding: 6px 14px; border-radius: 8px;
  background: rgba(251, 191, 36, .08); border: 1px solid rgba(251, 191, 36, .2);
}
.pc-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 4px;
  width: 100%; padding: 10px; border-radius: 10px;
  font-size: 14px; font-weight: 700;
  text-decoration: none; border: none; cursor: pointer; transition: all var(--transition);
}
.pc-btn.primary {
  background: rgba(56, 189, 248, .12); color: var(--neon-cyan);
  border: 1px solid rgba(34, 211, 238, .35);
}
.pc-btn.primary:hover { background: rgba(56, 189, 248, .22); color: #fff; border-color: var(--neon-cyan); }
.pc-btn.success {
  background: var(--grad-main); color: #fff; border: none;
  box-shadow: 0 0 18px rgba(139, 92, 246, .35);
}
.pc-btn.success:hover { filter: brightness(1.15); color: #fff; }

.platform-empty {
  padding: 44px 20px; text-align: center; color: var(--grey); font-size: 14px;
}

/* ===== 持有人卡片 ===== */
.seller-card {
  background: linear-gradient(165deg, rgba(30, 41, 72, .75), rgba(13, 19, 38, .8));
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(139, 92, 246, .25);
  border-radius: var(--radius);
  padding: 26px 22px;
  position: sticky; top: 96px;
  box-shadow: var(--shadow-card);
}
.seller-head {
  font-size: 16px; font-weight: 700; color: #fff;
  padding-bottom: 14px; border-bottom: 1px solid var(--border-glass);
  margin-bottom: 20px; display: flex; align-items: center; gap: 8px;
}
.seller-avatar {
  width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 14px;
  background: var(--grad-main);
  box-shadow: var(--glow-violet), inset 0 1px 0 rgba(255,255,255,.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 32px; color: #fff; font-weight: 800;
}
.seller-id {
  text-align: center; font-size: 20px; font-weight: 800; color: #fff;
  letter-spacing: 1px; margin-bottom: 4px;
}
.seller-role {
  text-align: center; font-size: 13px; color: var(--text-dim); margin-bottom: 22px;
}
.seller-btns { display: flex; flex-direction: column; gap: 9px; }
.seller-btns .s-btn {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 15px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 500;
  text-decoration: none; color: var(--text-white);
  transition: all var(--transition);
  background: rgba(148, 163, 184, .06);
  border: 1px solid var(--border-glass);
  cursor: pointer; text-align: left;
}
.seller-btns .s-btn:hover {
  background: rgba(34, 211, 238, .1);
  border-color: rgba(34, 211, 238, .45);
  color: #fff; transform: translateX(3px);
}
.seller-btns .s-btn .s-icon { width: 20px; text-align: center; font-size: 16px; }
.seller-btns .s-btn .s-label { font-size: 12px; color: var(--grey); }

/* ===== 未登记域名：兜底页 ===== */
.fallback-hero { padding: 90px 20px 110px; text-align: center; position: relative; }
.fallback-hero .container { max-width: var(--max-w); margin: 0 auto; }
.fallback-domain {
  font-size: clamp(28px, 6vw, 52px); font-weight: 900;
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  margin-bottom: 14px; word-break: break-all;
}
.fallback-desc {
  font-size: 16px; color: var(--text-dim); max-width: 480px; margin: 0 auto 30px;
}

/* ===== Footer ===== */
.footer {
  background: rgba(8, 12, 24, .8);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-glass);
  padding: 42px 20px 28px;
}
.footer .container { max-width: var(--max-w); margin: 0 auto; }
.footer-inner {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 32px; align-items: center;
}
.footer-brand {
  display: flex; align-items: center; gap: 10px;
  font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 6px;
}
.footer-brand .logo-icon { width: 34px; height: 34px; font-size: 15px; border-radius: 10px; }
.footer-desc { font-size: 13px; color: var(--grey); line-height: 1.7; }
.footer-links { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.footer-links a { color: var(--text-dim); font-size: 14px; }
.footer-links a:hover { color: var(--neon-cyan); }
.footer-social { display: flex; gap: 10px; justify-content: flex-end; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 11px;
  background: rgba(148, 163, 184, .07);
  border: 1px solid var(--border-glass);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-dim); font-size: 15px; transition: all 0.2s;
}
.footer-social a:hover {
  background: rgba(34, 211, 238, .12); color: var(--neon-cyan);
  border-color: rgba(34, 211, 238, .4);
}
.footer-copy {
  text-align: center; font-size: 12px; color: #475569;
  margin-top: 28px; padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .05);
}

/* ===== Toast ===== */
#toast {
  position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--grad-main); color: #fff;
  padding: 12px 26px; border-radius: 12px;
  font-size: 14px; font-weight: 600;
  box-shadow: var(--glow-violet), 0 8px 32px rgba(0, 0, 0, 0.4);
  opacity: 0; pointer-events: none; transition: all 0.3s ease; z-index: 200;
}
#toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ===== 滚动显现动画 ===== */
.reveal { opacity: 0; transform: translateY(20px); transition: all 0.55s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ===== 滚动条 ===== */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #0a0f1e; }
::-webkit-scrollbar-thumb { background: rgba(139, 92, 246, .35); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: rgba(139, 92, 246, .55); }

/* ===== 响应式 ===== */
@media (max-width: 960px) {
  .main-wrap { grid-template-columns: 1fr; gap: 16px; }
  .seller-card { position: static; }
  .highlights-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; text-align: center; gap: 20px; }
  .footer-social { justify-content: center; }
}

@media (max-width: 640px) {
  .topbar { font-size: 12px; }
  .navbar .container { height: 64px; padding: 0 14px; }
  .navbar-brand { font-size: 18px; gap: 8px; }
  .navbar-brand .logo-icon { width: 36px; height: 36px; font-size: 16px; border-radius: 10px; }
  .nav-menu a { font-size: 14px; padding: 6px 10px; }
  .nav-menu a.nav-admin { font-size: 12px; }
  .domain-hero { padding: 40px 16px 50px; }
  .domain-hero .hero-domain { font-size: 32px; }
  .domain-hero .hero-tagline { font-size: 15px; }
  .domain-hero .btn { padding: 10px 20px; font-size: 14px; }
  .domain-hero .price-amount { font-size: 34px; }
  .domain-hero .price-currency { font-size: 20px; }
  .domain-section .container { padding: 0 14px; }
  .platform-grid { grid-template-columns: 1fr; }
  .highlights-grid { grid-template-columns: 1fr; }
  .info-table td.td-label { width: 100px; font-size: 13px; }
  .info-table tbody td { font-size: 14px; padding: 10px 12px; }
  .seller-card { padding: 20px 16px; }
  .footer-inner { padding: 0; }
}

@media (max-width: 400px) {
  .nav-menu { gap: 2px; }
  .nav-menu a { padding: 4px 8px; font-size: 13px; }
  .domain-hero .hero-btns { flex-direction: column; align-items: stretch; }
  .domain-hero .btn { justify-content: center; }
}

/* ===== Reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition: none !important; animation: none !important; }
}

/* ============================================================
   在线客服 · 悬浮侧边栏（Nebula 主题 · customer-service.php）
   ============================================================ */

/* ---------- 右侧竖向按钮栏 ---------- */
.cs-bar {
  position: fixed; right: 14px; top: 50%; transform: translateY(-50%);
  z-index: 120; display: flex; flex-direction: column; gap: 8px;
}
.cs-btn {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px;
  width: 56px; padding: 10px 4px 8px; border-radius: 14px;
  background: rgba(15, 23, 42, .72);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-glass); box-shadow: var(--shadow-card);
  color: var(--text-1); font-size: 11px; line-height: 1.2; cursor: pointer;
  transition: border-color .2s, transform .2s, box-shadow .2s, color .2s;
}
.cs-btn .cs-ico { font-size: 19px; line-height: 1; }
.cs-btn:hover {
  color: #fff; border-color: rgba(34, 211, 238, .5);
  transform: translateX(-3px); box-shadow: var(--glow-cyan);
}
.cs-btn:focus-visible { outline: 2px solid var(--neon-cyan); outline-offset: 2px; }

/* 主按钮（客服）渐变高亮 */
.cs-btn.cs-main {
  background: var(--grad-main); border: none; color: #fff;
  box-shadow: 0 0 18px rgba(139, 92, 246, .45); padding: 12px 4px 10px;
}
.cs-btn.cs-main:hover { transform: translateX(-3px); box-shadow: 0 0 28px rgba(139, 92, 246, .65); }
.cs-btn.cs-main.active { transform: translateX(-3px) scale(.97); }

/* 在线呼吸圆点 */
.cs-dot {
  position: absolute; top: 7px; right: 8px; width: 7px; height: 7px; border-radius: 50%;
  background: #34d399; box-shadow: 0 0 8px #34d399;
  animation: csPulse 2s ease-in-out infinite;
}
.cs-dot.big {
  position: static; width: 9px; height: 9px; margin-right: 8px; flex: none;
}
@keyframes csPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .45; transform: scale(.78); }
}

/* ---------- 展开面板 ---------- */
.cs-panel {
  position: fixed; right: 84px; top: 50%; transform: translateY(-50%) translateX(16px);
  z-index: 121; width: 296px; max-width: calc(100vw - 96px);
  border-radius: 18px; overflow: hidden;
  background: rgba(13, 18, 34, .92);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass); box-shadow: 0 18px 48px rgba(2, 6, 23, .7);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
}
.cs-panel.open { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(-50%) translateX(0); }

.cs-panel-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px;
  background: linear-gradient(135deg, rgba(34, 211, 238, .16), rgba(139, 92, 246, .16));
  border-bottom: 1px solid var(--border-glass);
}
.cs-panel-title { display: flex; align-items: center; font-size: 15px; font-weight: 700; color: #fff; }
.cs-close {
  width: 28px; height: 28px; border-radius: 8px; border: none; cursor: pointer;
  background: rgba(148, 163, 184, .14); color: var(--text-1); font-size: 17px; line-height: 1;
  transition: background .2s, color .2s;
}
.cs-close:hover { background: rgba(239, 68, 68, .22); color: #fff; }

.cs-panel-body { padding: 14px 16px 16px; }
.cs-hi {
  margin: 0 0 12px; font-size: 13.5px; line-height: 1.8; color: var(--text-1);
  background: rgba(34, 211, 238, .07); border: 1px dashed rgba(34, 211, 238, .25);
  border-radius: 10px; padding: 10px 12px;
}
.cs-row {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  width: 100%; padding: 11px 12px; margin-bottom: 8px; border-radius: 10px;
  background: rgba(15, 23, 42, .6); border: 1px solid var(--border-glass);
  color: var(--text-1); font-size: 13.5px; text-align: left; text-decoration: none;
  transition: border-color .2s, transform .2s, background .2s;
}
button.cs-row { cursor: pointer; font-family: inherit; }
.cs-row-label { color: var(--text-dim); flex: none; }
.cs-row-value { font-weight: 700; color: var(--neon-cyan); word-break: break-all; text-align: right; }
.cs-link:hover {
  border-color: rgba(139, 92, 246, .5); background: rgba(139, 92, 246, .1);
  transform: translateX(-2px);
}
.cs-link:hover .cs-row-value { color: #fff; }
.cs-tip {
  margin-top: 10px; font-size: 12px; line-height: 1.7; color: var(--text-dim);
  text-align: center; padding: 8px 10px; border-radius: 8px;
  background: rgba(148, 163, 184, .06);
}

/* ---------- 响应式 ---------- */
@media (max-width: 760px) {
  .cs-bar { right: 8px; gap: 6px; }
  .cs-btn { width: 44px; padding: 8px 2px 6px; font-size: 10px; border-radius: 12px; }
  .cs-btn .cs-ico { font-size: 16px; }
  .cs-dot { top: 5px; right: 6px; width: 6px; height: 6px; }
  .cs-panel { right: 60px; width: calc(100vw - 76px); max-width: 320px; }
}

