/* ========================================
   精品ID网 - 主样式表（参考极品ID网风格）
   域名: yy.mba
   ======================================== */

:root {
  --primary: #f5a623;
  --primary-dark: #e8940a;
  --primary-light: #fff3cd;
  --accent: #ef4444;
  --accent2: #10b981;
  --bg: #f9fafb;
  --bg-card: #ffffff;
  --text: #111827;
  --text-sub: #4b5563;
  --text-muted: #9ca3af;
  --border: #e5e7eb;
  --radius: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --shadow: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md: 0 4px 6px rgba(0,0,0,.04), 0 2px 4px rgba(0,0,0,.03);
  --shadow-lg: 0 10px 15px rgba(0,0,0,.06), 0 4px 6px rgba(0,0,0,.04);
  --shadow-xl: 0 20px 25px rgba(0,0,0,.08);
  --header-h: 64px;
  --container: 1280px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
ul { list-style: none; }
input, button, select, textarea { font-family: inherit; outline: none; font-size: inherit; }

/* ===== 滚动条 ===== */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #d1d5db; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: #9ca3af; }

/* ===== 容器 ===== */
.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.container-wide { max-width: 1440px; margin: 0 auto; padding: 0 24px; }

/* ===== 公告条 ===== */
.notice-bar {
  background: #111827;
  color: #e5e7eb;
  text-align: center;
  font-size: 12px;
  padding: 7px 16px;
  letter-spacing: .3px;
}
.notice-bar a { color: var(--primary); margin-left: 8px; font-weight: 600; }
.notice-bar a:hover { text-decoration: underline; }

/* ===== 顶部栏 ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
  height: var(--header-h);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 100%;
}

/* ===== Logo ===== */
.logo a { display: flex; align-items: baseline; gap: 6px; white-space: nowrap; }
.logo-text {
  font-size: 22px;
  font-weight: 900;
  color: #f59e0b;
  letter-spacing: -0.5px;
}
.logo-sub { font-size: 11px; color: var(--text-muted); letter-spacing: 1px; }

/* ===== 主搜索框（顶部）===== */
.header-search {
  flex: 1;
  max-width: 520px;
  display: flex;
  align-items: center;
  gap: 0;
}
.header-search .platform-select {
  height: 38px;
  padding: 0 12px;
  border: 1.5px solid var(--border);
  border-right: none;
  border-radius: 8px 0 0 8px;
  background: #f9fafb;
  color: var(--text);
  min-width: 90px;
  cursor: pointer;
  font-size: 13px;
}
.header-search input {
  flex: 1;
  height: 38px;
  border: 1.5px solid var(--border);
  padding: 0 14px;
  font-size: 14px;
  border-radius: 0;
}
.header-search input:focus { border-color: var(--primary); }
.header-search .btn-search {
  height: 38px;
  padding: 0 20px;
  background: #f59e0b;
  color: #fff;
  border: 1.5px solid #f59e0b;
  border-radius: 0 8px 8px 0;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: background .15s;
}
.header-search .btn-search:hover { background: #d97706; }

/* ===== 顶部热门标签 ===== */
.hot-tags {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
  white-space: nowrap;
}
.hot-tags span { color: var(--text-muted); }
.hot-tags a {
  color: var(--accent);
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
}
.hot-tags a:hover { text-decoration: underline; }

/* ===== 右上角用户区 ===== */
.header-user {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  margin-left: auto;
}
.btn-login, .btn-register {
  height: 34px;
  padding: 0 16px;
  border-radius: 8px;
  font-size: 13px;
  cursor: pointer;
  transition: all .15s;
  display: inline-flex;
  align-items: center;
  font-weight: 600;
}
.btn-login {
  border: 1.5px solid #d1d5db;
  color: var(--text-sub);
  background: #fff;
}
.btn-login:hover { border-color: #f59e0b; color: #f59e0b; background: #fffbeb; }
.btn-register {
  background: #f59e0b;
  color: #fff;
  border: 1.5px solid #f59e0b;
}
.btn-register:hover { background: #d97706; border-color: #d97706; }

.user-avatar-wrap {
  display: flex; align-items: center; gap: 6px; cursor: pointer;
  padding: 4px 10px;
  border-radius: 8px;
  transition: background .15s;
}
.user-avatar-wrap:hover { background: #f3f4f6; }
.user-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: #f59e0b;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 14px;
  overflow: hidden;
}
.user-avatar img { width: 100%; height: 100%; object-fit: cover; }
.user-name { font-size: 13px; font-weight: 600; color: var(--text); }

/* 用户下拉 */
.user-dropdown {
  position: absolute; top: 58px; right: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
  min-width: 160px;
  padding: 6px 0;
  z-index: 901;
}
.user-dropdown a {
  display: block;
  padding: 9px 16px;
  font-size: 13px;
  color: var(--text-sub);
  transition: background .1s;
}
.user-dropdown a:hover { background: #f9fafb; color: var(--text); }
.user-dropdown.hidden { display: none; }

/* ===== 平台导航条（横向滚动）===== */
.nav-bar {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: var(--header-h);
  z-index: 800;
}
.nav-bar-inner {
  display: flex;
  align-items: center;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(245,158,11,.3) transparent;
}
.nav-bar-inner::-webkit-scrollbar { height: 4px; }
.nav-bar-inner::-webkit-scrollbar-track { background: transparent; }
.nav-bar-inner::-webkit-scrollbar-thumb { background: rgba(245,158,11,.3); border-radius: 10px; }
.nav-bar-inner::-webkit-scrollbar-thumb:hover { background: rgba(245,158,11,.6); }

.nav-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-sub);
  border-bottom: 3px solid transparent;
  white-space: nowrap;
  transition: all .15s;
  cursor: pointer;
  flex-shrink: 0;
}
.nav-item:hover { color: #f59e0b; background: #fffbeb; }
.nav-item.active {
  color: #f59e0b;
  border-bottom-color: #f59e0b;
}
.nav-item.qq { color: #ef4444; }
.nav-item.qq:hover { color: #dc2626; }
.nav-item.phone { color: #ef4444; }
.nav-item.phone:hover { color: #dc2626; }
.nav-item .icon { font-size: 18px; }

/* ===== 主内容区 ===== */
.main-content { padding: 24px 0 60px; }

/* ===== Hero横幅（简化）===== */
.hero {
  background: linear-gradient(135deg, #1e293b 0%, #1e3a5f 100%);
  padding: 36px 0 28px;
  text-align: center;
  color: #fff;
}
.hero-title { font-size: 32px; font-weight: 900; margin-bottom: 6px; letter-spacing: -0.5px; }
.hero-title span { color: #fbbf24; }
.hero-sub { font-size: 14px; color: rgba(255,255,255,.65); margin-bottom: 24px; }
.hero-stats {
  display: flex; justify-content: center; gap: 48px; margin-top: 20px;
}
.hero-stat { text-align: center; }
.hero-stat-num { font-size: 26px; font-weight: 900; color: #fbbf24; display: block; }
.hero-stat-label { font-size: 12px; color: rgba(255,255,255,.55); }

/* ===== 平台入口卡片 ===== */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 28px;
}
.platform-card {
  background: #fff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  padding: 22px 16px;
  text-align: center;
  cursor: pointer;
  transition: all .2s;
  border: 1.5px solid transparent;
  position: relative;
  overflow: hidden;
}
.platform-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: #fde68a;
}
.platform-card .pcard-icon { font-size: 32px; margin-bottom: 10px; display: block; }
.platform-card .pcard-name { font-size: 15px; font-weight: 700; margin-bottom: 4px; color: var(--text); }
.platform-card .pcard-count { font-size: 12px; color: var(--text-muted); }
.platform-card .pcard-badge {
  position: absolute; top: 12px; right: 12px;
  background: #ef4444; color: #fff;
  font-size: 10px; font-weight: 700;
  padding: 2px 8px; border-radius: 20px;
}

/* ===== 精选标题 ===== */
.section-title {
  font-size: 18px; font-weight: 800;
  margin-bottom: 16px;
  display: flex; align-items: center; gap: 8px;
  color: var(--text);
}
.section-title::before {
  content: ''; display: block;
  width: 4px; height: 20px;
  background: #f59e0b;
  border-radius: 2px;
}

/* ===== 筛选面板 ===== */
.filter-panel {
  background: #fff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  margin-bottom: 24px;
}

/* 筛选头部 */
.filter-header {
  background: #111827;
  color: #fff;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.filter-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.filter-header-title {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .5px;
}
.filter-header-count {
  font-size: 12px;
  color: #9ca3af;
}
.filter-header-count span { color: #fbbf24; font-weight: 700; }

/* 筛选行 */
.filter-rows {
  background: #f9fafb;
  padding: 16px 20px;
}
.filter-row {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--border);
}
.filter-row:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.filter-label {
  min-width: 56px;
  font-size: 13px;
  color: var(--text-sub);
  font-weight: 700;
  padding-top: 5px;
  flex-shrink: 0;
  text-align: right;
  padding-right: 16px;
}
.filter-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex: 1;
}
.filter-tag {
  height: 32px;
  padding: 0 14px;
  border-radius: 6px;
  font-size: 13px;
  border: 1.5px solid transparent;
  background: #fff;
  color: var(--text-sub);
  cursor: pointer;
  transition: all .15s;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  user-select: none;
  font-weight: 500;
}
.filter-tag:hover { background: #fef3c7; color: #b45309; border-color: #fcd34d; }
.filter-tag.active {
  background: #f59e0b;
  color: #fff;
  border-color: #f59e0b;
  font-weight: 700;
  box-shadow: 0 2px 4px rgba(245,158,11,.3);
}
.filter-tag.highlight-tag {
  background: #fef3c7;
  color: #92400e;
  border-color: #fcd34d;
}
.filter-tag.highlight-tag.active {
  background: #f59e0b;
  color: #fff;
}

/* 搜索行 */
.filter-search-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.filter-search-row .filter-label { padding-top: 9px; }
.filter-search-box {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  flex: 1;
  max-width: 420px;
  background: #fff;
  transition: border-color .15s;
}
.filter-search-box:focus-within { border-color: #f59e0b; box-shadow: 0 0 0 3px rgba(245,158,11,.1); }
.filter-search-box input {
  flex: 1;
  height: 38px;
  padding: 0 14px;
  border: none;
  font-size: 14px;
  background: transparent;
}
.filter-search-box .btn-search-inner {
  height: 38px;
  padding: 0 20px;
  background: #f59e0b;
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  transition: background .15s;
}
.filter-search-box .btn-search-inner:hover { background: #d97706; }
.hot-kw {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--text-muted);
  flex-wrap: wrap;
}
.hot-kw span { color: var(--text-muted); }
.kw-tag { color: #ef4444; font-weight: 700; cursor: pointer; font-size: 13px; }
.kw-tag:hover { text-decoration: underline; }

/* ===== 列表工具栏 ===== */
.list-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.sort-tabs {
  display: flex;
  gap: 4px;
  background: #fff;
  border-radius: 10px;
  border: 1px solid var(--border);
  overflow: hidden;
  padding: 3px;
}
.sort-tab {
  padding: 6px 14px;
  font-size: 13px;
  color: var(--text-sub);
  cursor: pointer;
  border-radius: 7px;
  transition: all .15s;
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 500;
}
.sort-tab:hover { background: #f3f4f6; color: var(--text); }
.sort-tab.active { background: #f59e0b; color: #fff; font-weight: 700; }
.list-count { font-size: 13px; color: var(--text-muted); }

/* ===== 号码卡片网格 ===== */
.id-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.id-card {
  background: #fff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  padding: 20px;
  cursor: pointer;
  transition: all .2s;
  position: relative;
  overflow: hidden;
}
.id-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: #fcd34d;
}
.id-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--primary);
  opacity: 0;
  transition: opacity .2s;
}
.id-card:hover::after { opacity: 1; }
.id-card-platform {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 10px;
}

/* 平台图标样式 */
.plat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
  line-height: 1;
  font-family: -apple-system, 'Helvetica Neue', Arial, sans-serif;
}
.icon-mi       { background: #ff6900; font-size: 11px; }
.icon-kugou    { background: #1e7eff; font-style: italic; font-weight: 900; font-size: 14px; }
.icon-alipay   { background: #1677ff; font-size: 13px; }
.icon-kuaishou { background: #ff5000; font-size: 13px; }
.icon-qq       { background: #12b7f5; font-size: 14px; }
.icon-domain   { background: #1677ff; }
.icon-xunlei        { background: #0099ff; font-size: 13px; transform: scaleX(-1); }
.icon-email         { background: #e5e5e5; color: #ff0000; font-size: 13px; font-weight: 900; }
.icon-douyin        { background: #111111; font-size: 12px; }
.icon-xiaohongshu   { background: #fe2c55; font-size: 11px; }
.icon-phone         { background: #07c160; font-size: 12px; }

.id-card-number {
  font-size: 22px;
  font-weight: 900;
  font-family: 'SF Mono', 'Courier New', monospace;
  letter-spacing: 2px;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.3;
  word-break: break-all;
}
.id-card-type {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  background: #eff6ff;
  color: #2563eb;
  font-weight: 600;
  margin-bottom: 12px;
}
.id-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.id-card-price {
  font-size: 20px;
  font-weight: 900;
  color: #ef4444;
}
.id-card-price::before { content: '¥'; font-size: 12px; }
.id-card-length {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
}
.id-card-desc {
  margin-top: 8px;
  font-size: 12px;
  color: var(--text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ===== 号码表格（兼容旧版） ===== */
.id-table {
  width: 100%;
  background: #fff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  border-collapse: collapse;
}
.id-table th {
  background: #f9fafb;
  padding: 12px 16px;
  font-size: 12px;
  color: var(--text-sub);
  font-weight: 700;
  text-align: left;
  border-bottom: 1px solid var(--border);
  text-transform: uppercase;
  letter-spacing: .5px;
}
.id-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #f3f4f6;
  vertical-align: middle;
  font-size: 14px;
}
.id-table tr:last-child td { border-bottom: none; }
.id-table tr:hover td { background: #fffbeb; }

/* 号码文字 */
.id-number {
  font-size: 18px;
  font-weight: 900;
  font-family: 'SF Mono', 'Courier New', monospace;
  letter-spacing: 1.5px;
  color: var(--text);
  cursor: pointer;
}
.id-number:hover { color: #f59e0b; }
.id-number .digit-special { color: #ef4444; }
.id-number .digit-lucky { color: #f59e0b; }

.id-platform-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  background: #f3f4f6;
  color: var(--text-sub);
}

.id-type-tag {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 11px;
  background: #eff6ff;
  color: #2563eb;
  font-weight: 600;
}

.id-price {
  font-size: 17px;
  font-weight: 900;
  color: #ef4444;
}
.id-price::before { content: '¥'; font-size: 12px; }

.btn-buy {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 14px;
  background: #f59e0b;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  transition: all .15s;
}
.btn-buy:hover { background: #d97706; transform: translateY(-1px); box-shadow: 0 2px 4px rgba(245,158,11,.3); }

/* ===== 弹窗 ===== */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.45);
  backdrop-filter: blur(4px);
  z-index: 9998;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .2s;
}
.modal-overlay.show { opacity: 1; pointer-events: auto; }
.modal {
  background: #fff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  padding: 28px 32px;
  min-width: 380px;
  max-width: 520px;
  width: 90%;
  transform: translateY(16px) scale(.97);
  transition: all .2s;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}
.modal-overlay.show .modal { transform: none; }
.modal-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: #f3f4f6;
  border: none;
  cursor: pointer;
  font-size: 16px;
  color: var(--text-muted);
  display: flex; align-items: center; justify-content: center;
  transition: all .15s;
}
.modal-close:hover { background: #fee2e2; color: #ef4444; }
.modal-title { font-size: 18px; font-weight: 800; margin-bottom: 20px; color: var(--text); }

/* 购买弹窗 */
.buy-modal-number {
  font-size: 30px; font-weight: 900;
  font-family: 'SF Mono', 'Courier New', monospace;
  letter-spacing: 3px;
  text-align: center;
  color: var(--text);
  padding: 18px;
  background: #f9fafb;
  border-radius: 10px;
  margin-bottom: 16px;
}
.buy-modal-info {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 10px; margin-bottom: 16px;
}
.buy-info-item { display: flex; flex-direction: column; gap: 3px; }
.buy-info-label { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: .3px; }
.buy-info-val { font-size: 14px; font-weight: 600; color: var(--text); }
.buy-modal-price {
  text-align: center; font-size: 34px; font-weight: 900;
  color: #ef4444; margin-bottom: 20px;
}
.buy-modal-price::before { content: '¥'; font-size: 16px; vertical-align: top; margin-top: 6px; display: inline-block; }
.btn-buy-confirm {
  width: 100%; height: 48px;
  background: #f59e0b;
  color: #fff; border: none;
  border-radius: 10px;
  font-size: 16px; font-weight: 700;
  cursor: pointer; transition: all .15s;
}
.btn-buy-confirm:hover { background: #d97706; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(245,158,11,.3); }

/* ===== 右下角浮窗 ===== */
.fab-wrap {
  position: fixed;
  right: 20px;
  bottom: 80px;
  z-index: 8888;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
}
.fab-menu {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
  transition: all .25s;
  transform-origin: bottom right;
}
.fab-menu.hidden { opacity: 0; pointer-events: none; transform: scale(.85) translateY(16px); }
.fab-btn-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: #fff;
  border-radius: 30px;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  border: 1px solid var(--border);
  transition: all .15s;
  white-space: nowrap;
}
.fab-btn-item:hover { box-shadow: var(--shadow-xl); transform: translateX(-4px); border-color: #f59e0b; color: #f59e0b; }
.fab-btn-item .fab-icon { font-size: 18px; }

.fab-toggle {
  width: 50px; height: 50px;
  background: #f59e0b;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(245,158,11,.35);
  transition: all .25s;
  border: none;
  color: #fff;
}
.fab-toggle:hover { transform: scale(1.08); box-shadow: 0 6px 20px rgba(245,158,11,.45); }
.fab-toggle.open { background: #ef4444; transform: rotate(45deg); }

/* 浮窗弹出 */
.fab-popup {
  position: fixed;
  right: 80px;
  bottom: 80px;
  background: #fff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  padding: 20px 24px;
  z-index: 9000;
  min-width: 200px;
  text-align: center;
  opacity: 0; pointer-events: none;
  transform: translateX(10px);
  transition: all .2s;
}
.fab-popup.show { opacity: 1; pointer-events: auto; transform: translateX(0); }
.fab-popup-title { font-size: 12px; color: var(--text-muted); margin-bottom: 8px; }
.fab-popup-val { font-size: 20px; font-weight: 900; color: var(--text); letter-spacing: 1px; }
.fab-popup-close {
  position: absolute; top: 8px; right: 10px;
  background: none; border: none;
  color: var(--text-muted); cursor: pointer; font-size: 16px;
}
.fab-popup-close:hover { color: #ef4444; }

/* ===== 表单 ===== */
.form-group { margin-bottom: 16px; }
.form-label { font-size: 13px; color: var(--text-sub); font-weight: 600; margin-bottom: 6px; display: block; }
.form-input {
  width: 100%; height: 44px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 0 14px;
  font-size: 14px;
  transition: border-color .15s, box-shadow .15s;
  background: #fff;
}
.form-input:focus { border-color: #f59e0b; box-shadow: 0 0 0 3px rgba(245,158,11,.1); }
.form-input.error { border-color: #ef4444; }
.form-error { font-size: 12px; color: #ef4444; margin-top: 4px; }
.form-btn {
  width: 100%; height: 48px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all .15s;
}
.form-btn.primary { background: #f59e0b; color: #fff; }
.form-btn.primary:hover { background: #d97706; }

/* 第三方登录 */
.social-login-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 20px;
}
.social-btn {
  height: 44px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid var(--border);
  background: #fff;
  transition: all .15s;
}
.social-btn:hover { box-shadow: var(--shadow); }
.social-btn.qq { border-color: #3b82f6; color: #3b82f6; }
.social-btn.qq:hover { background: #3b82f6; color: #fff; }
.social-btn.wechat { border-color: #10b981; color: #10b981; }
.social-btn.wechat:hover { background: #10b981; color: #fff; }
.social-btn .icon { font-size: 18px; }

.divider-text {
  text-align: center;
  color: var(--text-muted);
  font-size: 12px;
  margin: 16px 0;
  position: relative;
}
.divider-text::before, .divider-text::after {
  content: ''; position: absolute; top: 50%;
  width: calc(50% - 30px);
  height: 1px; background: var(--border);
}
.divider-text::before { left: 0; }
.divider-text::after { right: 0; }

/* ===== 分页 ===== */
.pagination {
  display: flex; align-items: center; gap: 6px;
  justify-content: center; margin-top: 24px;
}
.page-btn {
  min-width: 34px; height: 34px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #fff;
  font-size: 13px;
  cursor: pointer;
  transition: all .15s;
  display: flex; align-items: center; justify-content: center;
  padding: 0 8px;
  font-weight: 500;
}
.page-btn:hover { border-color: #f59e0b; color: #f59e0b; }
.page-btn.active { background: #f59e0b; color: #fff; border-color: #f59e0b; font-weight: 700; }
.page-btn:disabled { opacity: .35; cursor: default; }

/* ===== 空状态 ===== */
.empty-state {
  text-align: center; padding: 60px 20px;
  color: var(--text-muted);
}
.empty-state .empty-icon { font-size: 48px; margin-bottom: 12px; }
.empty-state p { font-size: 15px; }

/* ===== 成交滚动条 ===== */
.sold-banner {
  background: #fefce8;
  border-top: 3px solid #f59e0b;
  border-bottom: 3px solid #f59e0b;
  padding: 16px 0;
  overflow: hidden;
}
.sold-banner-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.sold-banner-title {
  font-size: 15px;
  font-weight: 700;
  color: #92400e;
  white-space: nowrap;
}
.sold-marquee-wrap {
  overflow: hidden;
  position: relative;
}
.sold-marquee-track {
  display: flex;
  gap: 24px;
  animation: soldScroll 40s linear infinite;
  width: max-content;
}
.sold-marquee-reverse {
  animation: soldScrollReverse 40s linear infinite;
}
.sold-marquee-item {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 1px solid #fde68a;
  border-radius: 20px;
  padding: 6px 16px;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 600;
  color: #111827;
  box-shadow: 0 1px 3px rgba(245,158,11,.1);
  flex-shrink: 0;
}
.sold-marquee-item .sold-platform {
  color: #d97706;
  font-size: 12px;
}
.sold-marquee-item .sold-number {
  font-family: monospace;
  letter-spacing: 1px;
  color: #111827;
}
.sold-marquee-item .sold-check {
  color: #16a34a;
  font-size: 12px;
}
@keyframes soldScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== 页脚 ===== */
.footer {
  background: #111827;
  color: rgba(255,255,255,.65);
  padding: 40px 0 24px;
  margin-top: 48px;
}
.footer-inner {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px; margin-bottom: 32px;
}
.footer-brand .logo-text { color: #fbbf24; font-size: 20px; }
.footer-brand p { font-size: 13px; margin-top: 10px; line-height: 1.8; }
.footer-col h4 { font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 12px; }
.footer-col a { display: block; font-size: 13px; margin-bottom: 6px; color: rgba(255,255,255,.5); transition: color .15s; }
.footer-col a:hover { color: #fbbf24; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 20px;
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,.35);
}

/* ===== Toast ===== */
.toast-wrap {
  position: fixed; top: 80px; right: 20px;
  z-index: 99999; display: flex; flex-direction: column; gap: 8px;
  pointer-events: none;
}
.toast {
  padding: 12px 20px; border-radius: 10px;
  box-shadow: var(--shadow-xl);
  font-size: 14px; font-weight: 600;
  display: flex; align-items: center; gap: 8px;
  transform: translateX(120%); transition: transform .25s;
  pointer-events: auto;
}
.toast.show { transform: translateX(0); }
.toast.success { background: #d1fae5; color: #065f46; }
.toast.error { background: #fee2e2; color: #991b1b; }
.toast.info { background: #dbeafe; color: #1e40af; }

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .id-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .platform-grid { grid-template-columns: repeat(2, 1fr); }
  .id-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .header-search { max-width: 260px; }
  .hero-stats { gap: 28px; }
  .filter-row { flex-direction: column; gap: 8px; }
  .filter-label { text-align: left; padding-right: 0; }
}
@media (max-width: 480px) {
  .platform-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .id-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .hero-stats { gap: 20px; }
  .hero-title { font-size: 24px; }
  .footer-inner { grid-template-columns: 1fr; }
  .hot-tags { display: none; }
}
