/* =====================================================
   SteamXY 租号平台 — 全站样式
   浅色简洁风 / 主色 #1a6dff
   ===================================================== */

:root {
  --bg: #f5f7fa;
  --card: #ffffff;
  --primary: #1a6dff;
  --primary-dark: #0f56d8;
  --primary-light: #e9f0ff;
  --text: #1f2329;
  --text-2: #5f6672;
  --text-3: #9aa1ac;
  --border: #e8ecf1;
  --orange: #ff7d2d;
  --orange-light: #fff3ea;
  --green: #12b76a;
  --green-light: #e8f9f0;
  --red: #f04438;
  --yellow: #f7b500;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 2px 12px rgba(31, 35, 41, .06);
  --shadow-lg: 0 10px 32px rgba(31, 35, 41, .12);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1; }

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 14px; color: var(--text); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ---------- SVG 图标 ---------- */
.ico { width: 1.1em; height: 1.1em; display: inline-block; vertical-align: -0.18em; flex-shrink: 0; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: none;
  border-radius: var(--radius-sm);
  padding: 9px 20px;
  font-size: 14px;
  font-weight: 500;
  transition: all .18s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: 0 6px 16px rgba(26, 109, 255, .3); }
.btn-ghost { background: #fff; color: var(--text-2); border: 1px solid var(--border); }
.btn-ghost:hover { color: var(--primary); border-color: var(--primary); background: var(--primary-light); }
.btn-orange { background: var(--orange); color: #fff; }
.btn-orange:hover { background: #f06c1a; transform: translateY(-1px); box-shadow: 0 6px 16px rgba(255, 125, 45, .3); }
.btn-lg { padding: 13px 32px; font-size: 16px; border-radius: 12px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none !important; box-shadow: none !important; }

/* ---------- 标签 ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.7;
}
.tag-hot   { background: var(--orange-light); color: var(--orange); }
.tag-blue  { background: var(--primary-light); color: var(--primary); }
.tag-green { background: var(--green-light); color: var(--green); }
.tag-gray  { background: #f0f2f5; color: var(--text-3); }

/* ---------- 顶部导航 ---------- */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

/* ---------- 注销倒计时提示条（账号缓冲期中全站固定底部显示） ---------- */
.deact-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 18px;
  background: linear-gradient(135deg, #e5484d, #f2683c);
  color: #fff;
  font-size: 14px;
  box-shadow: 0 -6px 24px rgba(229, 72, 77, .35);
  flex-wrap: wrap;
  text-align: center;
}
.deact-bar .db-ico { display: inline-flex; }
.deact-bar .db-ico .ico { width: 17px; height: 17px; }
.deact-bar b { font-weight: 700; }
.deact-bar button {
  border: 1.5px solid rgba(255, 255, 255, .78);
  background: rgba(255, 255, 255, .14);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 15px;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  transition: background .15s, color .15s;
}
.deact-bar button:hover { background: #fff; color: #e5484d; }
body.has-deact-bar { padding-bottom: 62px; }
.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 64px;
}
.logo {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -.5px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.logo .logo-icon { font-size: 24px; color: var(--primary); display: inline-flex; }
.logo em { font-style: normal; color: var(--primary); }
.logo .logo-sub {
  font-size: 11px;
  font-weight: 400;
  color: var(--text-3);
  letter-spacing: 0;
  border-left: 1px solid var(--border);
  padding-left: 8px;
  margin-left: 2px;
}
.main-nav { display: flex; gap: 4px; }
.main-nav a {
  padding: 8px 14px;
  border-radius: 8px;
  color: var(--text-2);
  font-size: 15px;
  font-weight: 500;
  transition: all .15s;
}
.main-nav a:hover { color: var(--primary); background: var(--primary-light); }
.main-nav a.active { color: var(--primary); font-weight: 600; }

.header-search {
  flex: 1;
  max-width: 340px;
  margin-left: auto;
  display: flex;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
  background: var(--bg);
  transition: border-color .15s;
}
.header-search:focus-within { border-color: var(--primary); background: #fff; }
.header-search input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  padding: 8px 16px;
  min-width: 0;
}
.header-search button {
  border: none;
  background: transparent;
  color: var(--primary);
  font-weight: 600;
  padding: 0 18px;
}
.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.header-user {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px 5px 6px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  cursor: pointer;
}
.header-user:hover { border-color: var(--primary); }
.header-user .avatar {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--primary-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
}
.header-user .uname { font-weight: 500; max-width: 90px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* 顶部消息中心铃铛（登录后显示，含未读角标） */
.header-msg {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #f4f7fb;
  border: 1px solid var(--border);
  color: var(--text-2);
  transition: background .15s, color .15s, border-color .15s;
}
.header-msg:hover { background: #eef4ff; border-color: #bcd3ff; color: var(--primary); }
.header-msg .ico { width: 18px; height: 18px; }
.hm-dot {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 999px;
  background: #f04438;
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
}

.nav-toggle {
  display: none;
  border: none;
  background: transparent;
  font-size: 22px;
  color: var(--text);
  padding: 6px;
  margin-left: auto;
}
.m-auth-row { display: none; }
.m-search-row { display: none; }

/* ---------- 页脚 ---------- */
.site-footer {
  background: #20242e;
  color: #aeb4bf;
  margin-top: 64px;
  padding: 48px 0 0;
  font-size: 13px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
}
.footer-brand .logo { color: #fff; margin-bottom: 14px; }
.footer-brand p { line-height: 1.9; color: #8b919d; }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: #aeb4bf; transition: color .15s; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid #2e333f;
  padding: 18px 0;
  text-align: center;
  color: #6c7280;
  font-size: 12px;
}

/* ---------- 首页 Hero ---------- */
.hero {
  background:
    radial-gradient(800px 300px at 15% 0%, rgba(26, 109, 255, .12), transparent 60%),
    radial-gradient(700px 320px at 90% 10%, rgba(255, 125, 45, .10), transparent 60%),
    linear-gradient(180deg, #eef3fb 0%, #f6f8fc 100%);
  border-bottom: 1px solid var(--border);
  padding: 64px 0 56px;
}
.hero-inner { max-width: 720px; margin: 0 auto; text-align: center; }
.hero h1 { font-size: 40px; font-weight: 800; letter-spacing: -.5px; line-height: 1.3; }
.hero h1 em { font-style: normal; color: var(--primary); }
.hero p.hero-sub { color: var(--text-2); font-size: 16px; margin-top: 14px; }
.hero-search {
  display: flex;
  background: #fff;
  border-radius: 999px;
  padding: 6px;
  margin: 28px auto 0;
  max-width: 560px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}
.hero-search input {
  flex: 1;
  border: none;
  outline: none;
  padding: 10px 20px;
  font-size: 15px;
  background: transparent;
  min-width: 0;
}
.hero-tags { margin-top: 18px; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.hero-tags a {
  background: #fff;
  border: 1px solid var(--border);
  padding: 5px 14px;
  border-radius: 999px;
  color: var(--text-2);
  font-size: 13px;
  transition: all .15s;
}
.hero-tags a:hover { color: var(--primary); border-color: var(--primary); }
/* 主视觉背景图（首页 .hero 与租号大厅 .page-hero 共用后台同一张配置）：叠加深色遮罩保证文字可读 */
.hero.has-bg, .page-hero.has-bg {
  background-image:
    linear-gradient(180deg, rgba(9, 17, 31, .55) 0%, rgba(9, 17, 31, .72) 100%),
    var(--hero-bg);
  background-size: cover, cover;
  background-position: center, center 30%;
  background-repeat: no-repeat, no-repeat;
  border-bottom: none;
}
.hero.has-bg h1, .page-hero.has-bg h1 { color: #fff; text-shadow: 0 2px 18px rgba(0, 0, 0, .35); }
.hero.has-bg h1 em { color: #8ab6ff; }
.hero.has-bg p.hero-sub, .page-hero.has-bg p { color: rgba(255, 255, 255, .82); }
.hero.has-bg .hero-tags a { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .26); color: rgba(255, 255, 255, .92); }
.hero.has-bg .hero-tags a:hover { background: rgba(255, 255, 255, .22); border-color: rgba(255, 255, 255, .5); color: #fff; }
.page-hero.has-bg { padding: 46px 0; }
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 56px;
  margin-top: 40px;
}
.hero-stats .stat b { font-size: 26px; font-weight: 800; color: var(--text); }
.hero-stats .stat b i { font-style: normal; color: var(--orange); }
.hero-stats .stat span { display: block; color: var(--text-3); font-size: 13px; margin-top: 2px; }

/* ---------- 通用区块 ---------- */
.section { padding: 44px 0 0; }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 22px;
}
.section-head h2 { font-size: 24px; font-weight: 700; letter-spacing: -.3px; }
.section-head h2 small { font-size: 13px; font-weight: 400; color: var(--text-3); margin-left: 10px; }
.section-head .more { color: var(--text-2); font-size: 14px; }
.section-head .more:hover { color: var(--primary); }

/* ---------- 游戏快捷入口 ---------- */
.game-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 14px;
}
.game-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 8px 14px;
  text-align: center;
  transition: all .18s;
}
.game-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.game-item .g-emoji {
  width: 52px; height: 52px;
  margin: 0 auto 10px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  color: #fff;
}
.game-item b { display: block; font-size: 13px; font-weight: 600; }
.game-item span { font-size: 12px; color: var(--text-3); }

/* ---------- 账号卡片 ---------- */
.account-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.account-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all .18s;
  display: flex;
  flex-direction: column;
}
.account-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.acc-cover {
  position: relative;
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.acc-cover .cover-emoji { font-size: 54px; filter: drop-shadow(0 6px 12px rgba(0,0,0,.25)); transition: transform .25s; }
.account-card:hover .cover-emoji { transform: scale(1.12) rotate(-4deg); }
.acc-cover .cover-name {
  position: absolute;
  left: 12px;
  bottom: 10px;
  color: rgba(255,255,255,.95);
  font-weight: 700;
  font-size: 15px;
  text-shadow: 0 1px 4px rgba(0,0,0,.35);
}
.acc-cover .cover-tags { position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; }
.acc-cover .cover-tags .tag { backdrop-filter: blur(4px); }
.acc-cover .cover-status {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255,255,255,.92);
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
}
.cover-status::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
}
.cover-status.off::before { background: var(--text-3); }
.acc-body { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.acc-title { font-size: 15px; font-weight: 600; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.acc-desc { color: var(--text-3); font-size: 12.5px; margin-top: 4px; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.acc-chips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.acc-chips .chip {
  font-size: 11.5px;
  color: var(--text-2);
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 1px 8px;
  border-radius: 6px;
}
.acc-meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--border);
  color: var(--text-3);
  font-size: 11.5px;
  white-space: nowrap;
}
.acc-meta b { color: var(--text-2); font-weight: 600; }
.acc-price-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: 12px;
}
.acc-price { color: var(--orange); font-weight: 800; font-size: 20px; line-height: 1; }
.acc-price small { font-size: 12px; font-weight: 400; color: var(--text-3); }
.acc-price .price-day { font-size: 12px; color: var(--text-3); font-weight: 400; display: block; margin-top: 3px; }
.rent-btn {
  border: none;
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 8px;
  font-size: 13px;
  transition: all .15s;
}
.rent-btn:hover { background: var(--primary); color: #fff; }

/* ---------- 步骤 / 保障 ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.step-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px;
  position: relative;
}
.step-card .step-num {
  position: absolute;
  top: 18px;
  right: 20px;
  font-size: 44px;
  font-weight: 800;
  color: var(--primary-light);
  line-height: 1;
}
.step-card .step-icon { font-size: 32px; }
.step-card h3 { font-size: 16px; margin: 14px 0 6px; }
.step-card p { color: var(--text-2); font-size: 13px; }

.guarantee-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 44px 0 0;
}
.guarantee-item {
  padding: 24px 20px;
  display: flex;
  gap: 14px;
  align-items: center;
}
.guarantee-item + .guarantee-item { border-left: 1px solid var(--border); }
.guarantee-item .gi-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--primary-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.guarantee-item b { display: block; font-size: 15px; }
.guarantee-item span { font-size: 12.5px; color: var(--text-3); }

.cta-strip {
  margin-top: 44px;
  background: linear-gradient(120deg, #1a6dff 0%, #3f8bff 60%, #6fb0ff 100%);
  border-radius: var(--radius);
  color: #fff;
  padding: 34px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.cta-strip h3 { font-size: 22px; font-weight: 700; }
.cta-strip p { opacity: .85; margin-top: 6px; font-size: 14px; }
.cta-strip .btn-white { background: #fff; color: var(--primary); border: none; padding: 12px 30px; border-radius: 999px; font-size: 15px; font-weight: 600; flex-shrink: 0; }
.cta-strip .btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,.18); }

/* ---------- 面包屑 ---------- */
.breadcrumb { padding: 18px 0 0; color: var(--text-3); font-size: 13px; display: flex; gap: 8px; }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .sep { color: #c9ced8; }

/* ---------- 大厅布局 ---------- */
.listing-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 20px;
  margin-top: 20px;
  align-items: start;
}
.filter-panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 6px 18px 18px;
  position: sticky;
  top: 84px;
}
.filter-group { padding: 16px 0 14px; border-bottom: 1px dashed var(--border); }
.filter-group:last-child { border-bottom: none; }
.filter-group h4 { font-size: 14px; margin-bottom: 12px; }
.filter-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-opts button {
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text-2);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 13px;
  transition: all .15s;
}
.filter-opts button:hover { border-color: var(--primary); color: var(--primary); }
.filter-opts button.on { background: var(--primary); border-color: var(--primary); color: #fff; }
.price-inputs { display: flex; align-items: center; gap: 8px; }
.price-inputs input {
  width: 72px;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 6px 10px;
  outline: none;
}
.price-inputs input:focus { border-color: var(--primary); }
.price-presets { display: flex; gap: 6px; margin-top: 10px; flex-wrap: wrap; }
.price-presets button {
  border: 1px solid var(--border);
  background: var(--bg);
  border-radius: 6px;
  font-size: 12px;
  color: var(--text-2);
  padding: 3px 8px;
}
.price-presets button:hover { color: var(--primary); border-color: var(--primary); }
.filter-clear { width: 100%; margin-top: 14px; }

.listing-toolbar {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.listing-toolbar .sorts { display: flex; gap: 4px; }
.listing-toolbar .sorts button {
  border: none;
  background: transparent;
  padding: 6px 12px;
  border-radius: 8px;
  color: var(--text-2);
  font-size: 14px;
  white-space: nowrap;
}
.listing-toolbar .sorts button.on { color: var(--primary); background: var(--primary-light); font-weight: 600; }
.listing-toolbar .result-count { color: var(--text-3); font-size: 13px; margin-left: auto; }
.listing-toolbar .result-count b { color: var(--orange); }
.filter-toggle-btn { display: none; }

.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}
.pagination button {
  min-width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 9px;
  color: var(--text-2);
  font-size: 14px;
}
.pagination button.on { background: var(--primary); border-color: var(--primary); color: #fff; font-weight: 600; }
.pagination button:hover:not(.on):not([disabled]) { border-color: var(--primary); color: var(--primary); }
.pagination button[disabled] { opacity: .45; cursor: not-allowed; }

.empty-state {
  text-align: center;
  padding: 70px 20px;
  background: #fff;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  color: var(--text-3);
}
.empty-state .es-icon { font-size: 44px; margin-bottom: 10px; }

/* ---------- 详情页 ---------- */
.detail-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 24px;
  margin-top: 20px;
  align-items: start;
}
.gallery-panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
}
.gallery-main {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.gallery-main .cover-emoji { font-size: 96px; filter: drop-shadow(0 10px 20px rgba(0,0,0,.28)); }
.gallery-main .cover-name {
  position: absolute;
  left: 20px; bottom: 16px;
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0,0,0,.35);
}
.gallery-thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-top: 12px; }
.gallery-thumbs .thumb {
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  cursor: pointer;
  border: 2px solid transparent;
  opacity: .82;
  transition: all .15s;
  position: relative;
}
.gallery-thumbs .thumb:hover { opacity: 1; }
.gallery-thumbs .thumb.on { border-color: var(--primary); opacity: 1; }
.gallery-thumbs .thumb .t-name {
  position: absolute;
  bottom: 2px; left: 0; right: 0;
  text-align: center;
  font-size: 10px;
  color: rgba(255,255,255,.95);
  text-shadow: 0 1px 3px rgba(0,0,0,.5);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  padding: 0 3px;
}

.info-panel { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.info-panel h1 { font-size: 22px; line-height: 1.4; }
.info-panel .info-tags { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.info-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-top: 18px;
  overflow: hidden;
}
.info-stats .is-cell { text-align: center; padding: 13px 6px; background: #fafbfd; }
.info-stats .is-cell + .is-cell { border-left: 1px solid var(--border); }
.info-stats b { font-size: 17px; display: block; }
.info-stats span { font-size: 12px; color: var(--text-3); }

.book-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.book-card .price-line { display: flex; align-items: baseline; gap: 10px; }
.book-card .price-line .cur { color: var(--orange); font-size: 15px; font-weight: 700; }
.book-card .price-line .val { color: var(--orange); font-size: 32px; font-weight: 800; line-height: 1; }
.book-card .price-line .unit { color: var(--text-3); font-size: 13px; }
.book-card .price-sub { color: var(--text-3); font-size: 12.5px; margin-top: 5px; }
.book-card .price-sub b { color: var(--text-2); }
.unit-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 16px;
}
.unit-tabs button {
  border: 1.5px solid var(--border);
  background: #fff;
  border-radius: 10px;
  padding: 9px 4px;
  text-align: center;
  transition: all .15s;
}
.unit-tabs button b { display: block; font-size: 14px; color: var(--text); }
.unit-tabs button span { font-size: 11.5px; color: var(--text-3); }
.unit-tabs button.on { border-color: var(--primary); background: var(--primary-light); }
.unit-tabs button.on span { color: var(--primary); }
.qty-row { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; }
.qty-row .qty-label { color: var(--text-2); }
.stepper { display: flex; align-items: center; border: 1px solid var(--border); border-radius: 9px; overflow: hidden; }
.stepper button {
  width: 34px; height: 34px;
  border: none;
  background: var(--bg);
  font-size: 17px;
  color: var(--text-2);
}
.stepper button:hover { color: var(--primary); }
.stepper input {
  width: 46px;
  border: none;
  outline: none;
  text-align: center;
  font-weight: 600;
  font-size: 15px;
}
.book-summary { margin-top: 16px; background: var(--bg); border-radius: var(--radius-sm); padding: 13px 15px; font-size: 13px; }
.book-summary .row { display: flex; justify-content: space-between; padding: 3px 0; color: var(--text-2); }
.book-summary .row.total { border-top: 1px dashed var(--border); margin-top: 7px; padding-top: 10px; color: var(--text); font-weight: 600; font-size: 14px; }
.book-summary .row.total .amount { color: var(--orange); font-size: 21px; font-weight: 800; }
.book-card .btn-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; margin-top: 14px; }
.book-actions-ico { display: flex; gap: 16px; justify-content: center; margin-top: 14px; }
.book-actions-ico button {
  border: none; background: transparent;
  color: var(--text-3); font-size: 13px;
  display: flex; align-items: center; gap: 5px;
}
.book-actions-ico button:hover { color: var(--primary); }

.owner-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-top: 20px;
}
.owner-card h4 { font-size: 15px; margin-bottom: 14px; }
.owner-row { display: flex; align-items: center; gap: 12px; }
.owner-row .avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6fb0ff, #1a6dff);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.owner-row b { display: block; font-size: 15px; }
.owner-row .owner-meta { color: var(--text-3); font-size: 12.5px; margin-top: 2px; }
.owner-stats { display: flex; gap: 0; margin-top: 14px; border-top: 1px dashed var(--border); padding-top: 13px; }
.owner-stats div { flex: 1; text-align: center; }
.owner-stats div + div { border-left: 1px solid var(--border); }
.owner-stats b { display: block; font-size: 15px; }
.owner-stats span { font-size: 11.5px; color: var(--text-3); }

/* ---------- 详情页 Tabs ---------- */
.detail-tabs-panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-top: 24px;
  overflow: hidden;
}
.tabs-nav {
  display: flex;
  gap: 26px;
  padding: 0 24px;
  border-bottom: 1px solid var(--border);
}
.tabs-nav button {
  border: none;
  background: transparent;
  padding: 16px 2px 13px;
  font-size: 15px;
  color: var(--text-2);
  border-bottom: 2.5px solid transparent;
  margin-bottom: -1px;
  font-weight: 500;
}
.tabs-nav button.on { color: var(--primary); border-bottom-color: var(--primary); font-weight: 600; }
.tabs-body { padding: 22px 24px; }
.tab-pane { display: none; }
.tab-pane.on { display: block; }

.inventory-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.inv-item {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.inv-item .g-emoji {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; color: #fff;
  flex-shrink: 0;
}
.inv-item b { font-size: 13px; display: block; }
.inv-item span { font-size: 11.5px; color: var(--text-3); }

.notice-list li {
  position: relative;
  padding: 7px 0 7px 24px;
  color: var(--text-2);
  font-size: 13.5px;
}
.notice-list li::before {
  content: "•";
  position: absolute;
  left: 10px;
  color: var(--primary);
  font-weight: 700;
}

.review-item { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px dashed var(--border); }
.review-item:last-child { border-bottom: none; }
.review-item .avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--primary-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 19px;
  flex-shrink: 0;
}
.review-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.review-head b { font-size: 14px; }
.review-head .stars { color: var(--yellow); font-size: 12px; letter-spacing: 1px; }
.review-head .r-tag { font-size: 11.5px; color: var(--text-3); background: var(--bg); padding: 1px 8px; border-radius: 6px; }
.review-item p { color: var(--text-2); font-size: 13.5px; margin-top: 6px; }
.review-item .r-date { color: var(--text-3); font-size: 12px; margin-top: 5px; }

/* ---------- 认证横幅 / 页头条 ---------- */
.page-hero {
  background: linear-gradient(120deg, #eaf1fe 0%, #f3f6fb 70%);
  border-bottom: 1px solid var(--border);
  padding: 30px 0;
}
.page-hero h1 { font-size: 26px; font-weight: 700; }
.page-hero p { color: var(--text-2); margin-top: 6px; }

/* ---------- 个人中心 ---------- */
.user-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 20px;
  margin-top: 20px;
  align-items: start;
}
.user-side {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  position: sticky;
  top: 84px;
}
.user-side .u-head { padding: 24px 20px; text-align: center; background: linear-gradient(160deg, #eef4ff, #f8fafd); }
.user-side .u-head .avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6fb0ff, #1a6dff);
  color: #fff;
  font-size: 30px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 10px;
}
.user-side .u-head b { font-size: 16px; display: block; }
.user-side .u-head span { font-size: 12px; color: var(--text-3); }
.user-side .u-head .vip-tag { display: inline-flex; margin-top: 8px; }
.user-menu { padding: 10px; }
.user-menu button {
  width: 100%;
  border: none;
  background: transparent;
  text-align: left;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 14.5px;
  color: var(--text-2);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all .15s;
}
.user-menu button:hover { background: var(--bg); color: var(--primary); }
.user-menu button.on { background: var(--primary-light); color: var(--primary); font-weight: 600; }
.user-menu button .menu-ico { font-size: 17px; width: 22px; text-align: center; }

.user-content { min-width: 0; }
.wallet-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 20px; }
.wallet-card {
  border-radius: var(--radius);
  padding: 20px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.wallet-card::after {
  content: "";
  position: absolute;
  right: -30px; top: -30px;
  width: 120px; height: 120px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
}
.wallet-card .wc-label { font-size: 13px; opacity: .85; }
.wallet-card .wc-val { font-size: 28px; font-weight: 800; margin-top: 6px; }
.wallet-card .wc-val small { font-size: 13px; font-weight: 400; opacity: .8; }
.wallet-card .wc-btn {
  margin-top: 12px;
  background: rgba(255,255,255,.2);
  border: 1px solid rgba(255,255,255,.4);
  color: #fff;
  border-radius: 999px;
  padding: 4px 14px;
  font-size: 12px;
}
.wallet-card.wc-blue { background: linear-gradient(135deg, #1a6dff, #4d94ff); }
.wallet-card.wc-green { background: linear-gradient(135deg, #0ba360, #30cf83); }
.wallet-card.wc-orange { background: linear-gradient(135deg, #ff7d2d, #ffb02d); }

.panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.panel-head {
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.panel-head h3 { font-size: 16px; }
.panel-body { padding: 8px 22px 20px; }

.order-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px dashed var(--border);
}
.order-item:last-child { border-bottom: none; }
.order-cover {
  width: 108px; height: 68px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 30px;
  color: #fff;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}
.order-cover .oc-name {
  position: absolute;
  bottom: 3px; left: 0; right: 0;
  text-align: center;
  font-size: 10.5px;
  color: rgba(255,255,255,.95);
  text-shadow: 0 1px 3px rgba(0,0,0,.45);
}
.order-info { flex: 1; min-width: 0; }
.order-info b { font-size: 14.5px; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.order-info .o-meta { color: var(--text-3); font-size: 12.5px; margin-top: 4px; }
.order-info .o-no { color: var(--text-3); font-size: 12px; margin-top: 3px; font-family: Consolas, monospace; }
.order-amount { text-align: right; flex-shrink: 0; }
.order-amount .oa-val { color: var(--orange); font-weight: 800; font-size: 17px; }
.order-amount .oa-val small { font-size: 12px; }
.order-amount .tag { margin-top: 6px; }
.order-amount .o-btn {
  display: block;
  margin: 8px 0 0 auto;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text-2);
  border-radius: 8px;
  padding: 4px 12px;
  font-size: 12.5px;
}
.order-amount .o-btn:hover { color: var(--primary); border-color: var(--primary); }

.fav-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding-top: 12px; }

.cert-box { padding: 24px 22px; }
.cert-box .cert-row { display: flex; align-items: center; gap: 14px; padding: 14px 0; }
.cert-box .cert-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--green-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.cert-box .cert-icon.pending { background: var(--orange-light); }
.cert-box b { display: block; font-size: 14.5px; }
.cert-box span { font-size: 12.5px; color: var(--text-3); }
.cert-box .cert-btn { margin-left: auto; }

/* ---------- 无封面兜底 ---------- */
.gc-fallback { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; position: relative; overflow: hidden; }
.gc-fallback .gc-grid { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.gc-fallback .gc-fb-letter {
  width: 46px; height: 46px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .18);
  border: 1px solid rgba(255, 255, 255, .35);
  backdrop-filter: blur(2px);
  color: #fff;
  font-size: 24px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gc-fallback .gc-fb-name {
  font-size: 12px;
  color: rgba(255, 255, 255, .9);
  font-weight: 600;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .3);
  max-width: 90%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* ---------- 游戏大厅网格 ---------- */
.hall-toolbar {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.hall-search {
  display: flex;
  align-items: stretch;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
  flex: 1;
  max-width: 520px;
  transition: border-color .15s;
}
.hall-search:focus-within { border-color: var(--primary); }
.hall-search input {
  flex: 1;
  border: none;
  outline: none;
  padding: 10px 18px;
  background: transparent;
  min-width: 0;
  font-size: 14px;
}
.hall-search button {
  border: none;
  background: var(--primary);
  color: #fff;
  padding: 0 26px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}
.hall-count { color: var(--text-3); font-size: 13px; margin-left: auto; }
.hall-count b { color: var(--orange); }

/* ---------- 分类下拉（Steam 风格，多选） ---------- */
.hall-cats { position: relative; }
.hc-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 16px;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  font-size: 14px;
  color: var(--text-1);
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  transition: border-color .15s, color .15s, background .15s;
}
.hc-btn:hover { border-color: var(--primary); color: var(--primary); }
.hc-btn.on { border-color: var(--primary); color: var(--primary); background: rgba(26, 109, 255, .06); font-weight: 600; }
.hc-btn-ico { display: inline-flex; color: var(--text-3); }
.hc-btn-ico .ico { width: 16px; height: 16px; }
.hc-btn:hover .hc-btn-ico, .hc-btn.on .hc-btn-ico { color: currentColor; }
.hc-badge {
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.hc-chev { color: var(--text-3); font-size: 11px; transition: transform .15s; }
.hc-btn.open .hc-chev { transform: rotate(180deg); }
.hc-panel {
  position: absolute;
  z-index: 40;
  top: calc(100% + 8px);
  left: 0;
  width: 300px;
  max-width: 88vw;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 14px 40px rgba(15, 34, 67, .16);
  padding: 8px;
  max-height: 400px;
  overflow: auto;
}
.hc-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 9px;
  cursor: pointer;
  font-size: 13.5px;
  color: var(--text-1);
  user-select: none;
}
.hc-item:hover { background: rgba(26, 109, 255, .06); }
.hc-item input { width: 15px; height: 15px; accent-color: var(--primary); cursor: pointer; flex-shrink: 0; }
.hc-item .hc-name { flex: 1; }
.hc-item .hc-cnt { color: var(--text-3); font-size: 12px; font-style: normal; }
.hc-foot { border-top: 1px solid var(--border); margin-top: 6px; padding: 8px 4px 2px; }
.hc-foot button {
  width: 100%;
  border: none;
  background: none;
  color: var(--text-2);
  font-size: 13px;
  padding: 7px;
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
}
.hc-foot button:hover { background: rgba(26, 109, 255, .06); color: var(--primary); }

.game-hall-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.game-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all .18s;
}
.game-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.gc-cover {
  aspect-ratio: 16 / 10;
  position: relative;
  overflow: hidden;
}
.gc-cover .gc-out {
  position: absolute;
  inset: 0;
  background: rgba(31, 35, 41, .55);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
}
.gc-body { padding: 10px 12px 12px; display: flex; flex-direction: column; flex: 1; }
.gc-name {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 18px;
}
.gc-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: 7px;
}
.gc-price { color: var(--orange); font-weight: 800; font-size: 16px; line-height: 1; }
.gc-price small { font-size: 11px; font-weight: 400; color: var(--text-3); }
.gc-stock { font-size: 11.5px; color: var(--text-3); }
.gc-btn {
  margin-top: 10px;
  border: none;
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 600;
  padding: 6px 0;
  border-radius: 8px;
  font-size: 12.5px;
  text-align: center;
  cursor: pointer;
  transition: all .15s;
}
.gc-btn:hover { background: var(--primary); color: #fff; }
.gc-btn[disabled] { background: #f0f2f5; color: var(--text-3); cursor: not-allowed; }

@media (max-width: 1024px) { .game-hall-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 640px) { .game-hall-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } }

/* ---------- 登录/注册 ---------- */

/* ---------- 租期版本卡片 ---------- */
.ver-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.ver-card {
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  cursor: pointer;
  transition: all .15s;
  background: #fff;
  text-align: left;
}
.ver-card:hover { border-color: var(--primary); }
.ver-card.on { border-color: var(--primary); background: var(--primary-light); }
.ver-card b { font-size: 15px; display: block; color: var(--text); }
.ver-card .v-meta { display: flex; justify-content: space-between; margin-top: 6px; font-size: 12.5px; }
.ver-card .v-price { color: var(--orange); font-weight: 700; }
.ver-card .v-stock { color: var(--text-3); }
.ver-card.out { opacity: .55; cursor: not-allowed; }
.ver-card.out:hover { border-color: var(--border); }
.ver-card.out .v-stock { color: var(--red); }

/* ---------- 帮助中心 ---------- */
.help-notice {
  background: linear-gradient(90deg, #f16a1b, #ff9430);
  color: #fff;
  overflow: hidden;
  height: 36px;
  display: flex;
  align-items: center;
  position: relative;
}
.help-notice .hn-track {
  display: flex;
  gap: 52px;
  white-space: nowrap;
  animation: hnScroll 36s linear infinite;
  font-size: 13px;
  padding-left: 20px;
}
.help-notice .hn-item { display: inline-flex; align-items: center; gap: 7px; }
.help-notice .hn-item::before { content: "📢"; font-size: 12px; }
@keyframes hnScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.help-hero { padding: 36px 0 6px; }
.help-hero h1 { font-size: 26px; font-weight: 800; }
.help-hero p { color: var(--text-2); margin-top: 7px; }

.help-sec { margin-top: 38px; scroll-margin-top: 84px; }
.help-sec > h2 { font-size: 20px; font-weight: 800; display: flex; align-items: center; gap: 10px; }
.help-sec > h2 .hs-ico {
  width: 34px; height: 34px;
  border-radius: 10px;
  background: var(--primary-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
}

.help-intro {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 22px;
  margin-top: 14px;
  color: var(--text-2);
  line-height: 1.9;
  font-size: 14px;
}
.help-intro a { color: var(--primary); font-weight: 600; }
.help-intro a:hover { text-decoration: underline; }

.help-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 14px; }
.help-step {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 18px 16px;
  position: relative;
}
.help-step .hs-num {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 11px;
}
.help-step h3 { font-size: 15px; margin-bottom: 6px; }
.help-step p { font-size: 12.5px; color: var(--text-2); line-height: 1.75; }

.help-confirm { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 14px; }
.help-confirm .hc-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
  scroll-margin-top: 84px;
}
.help-confirm .hc-ico {
  width: 42px; height: 42px;
  border-radius: 11px;
  background: var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 11px;
}
.help-confirm h3 { font-size: 14.5px; margin-bottom: 6px; }
.help-confirm p { font-size: 12.5px; color: var(--text-2); line-height: 1.75; }

.help-contact {
  margin-top: 14px;
  background: linear-gradient(135deg, #fffaf0, #fff6e8);
  border: 1px solid #ffe3b8;
  border-radius: 14px;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  gap: 22px;
  scroll-margin-top: 84px;
}
.help-contact .hct-list { flex: 1; }
.help-contact .hct-list li {
  position: relative;
  padding: 6px 0 6px 26px;
  font-size: 13.5px;
  color: var(--text-2);
  line-height: 1.7;
}
.help-contact .hct-list li::before {
  content: "✓";
  position: absolute;
  left: 2px;
  top: 7px;
  width: 17px; height: 17px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.help-contact .hct-btn { flex-shrink: 0; text-align: center; }
.help-contact .hct-btn .btn { border-radius: 999px; padding: 11px 26px; }
.help-contact .hct-btn .hct-sub { font-size: 12px; color: var(--text-3); margin-top: 7px; }

.help-faq { margin-top: 14px; }
.help-faq .faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 10px;
  overflow: hidden;
  scroll-margin-top: 84px;
}
.help-faq .faq-q {
  width: 100%;
  border: none;
  background: transparent;
  text-align: left;
  padding: 15px 18px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
}
.help-faq .faq-q .faq-arrow {
  margin-left: auto;
  color: var(--text-3);
  font-size: 12px;
  transition: transform .2s;
  flex-shrink: 0;
}
.help-faq .faq-item.open .faq-q .faq-arrow { transform: rotate(180deg); }
.help-faq .faq-a {
  display: none;
  padding: 0 18px 16px;
  font-size: 13.5px;
  color: var(--text-2);
  line-height: 1.85;
}
.help-faq .faq-item.open .faq-a { display: block; }

.help-disclaimer {
  margin-top: 14px;
  background: #fff5f4;
  border: 1px solid #ffd4d0;
  border-radius: 14px;
  padding: 22px 24px;
  scroll-margin-top: 84px;
}
.help-disclaimer li {
  position: relative;
  padding: 6px 0 6px 16px;
  font-size: 13.5px;
  color: #8a4a44;
  line-height: 1.8;
}
.help-disclaimer li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 14px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #e07a72;
}

.help-bottom-bar {
  margin-top: 40px;
  border-top: 1px solid var(--border);
  padding: 20px 0 0;
  display: flex;
  justify-content: center;
  gap: 34px;
  flex-wrap: wrap;
  font-size: 13.5px;
}
.help-bottom-bar a { color: var(--text-2); }
.help-bottom-bar a:hover { color: var(--primary); }
.help-bottom-bar .hb-sep { color: #d4d9e0; }

@media (max-width: 1024px) {
  .help-steps, .help-confirm { grid-template-columns: repeat(2, 1fr); }
  .help-contact { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  .help-steps, .help-confirm { grid-template-columns: 1fr; }
}

/* ---------- 登录/注册 ---------- */

/* ---------- 支付弹层 ---------- */
.pay-amount {
  margin: 16px auto 4px;
  font-size: 40px;
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
}

/* ---------- 支付二维码 ---------- */
.qr-box {
  width: 216px;
  height: 216px;
  margin: 18px auto 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.qr-box img, .qr-box canvas { display: block; }

/* ---------- 提货码弹层 ---------- */
.cdk-mask {
  position: fixed;
  inset: 0;
  background: rgba(31, 35, 41, .55);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.cdk-mask.open { display: flex; }
.cdk-card {
  width: 440px;
  max-width: 100%;
  background: #fff;
  border-radius: 18px;
  padding: 34px 32px 28px;
  text-align: center;
  box-shadow: 0 24px 64px rgba(0, 0, 0, .28);
  animation: cdkPop .2s ease;
}
@keyframes cdkPop {
  from { opacity: 0; transform: translateY(10px) scale(.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.cdk-card .cdk-ok { font-size: 46px; }
.cdk-card h3 { font-size: 19px; margin: 12px 0 4px; }
.cdk-card .cdk-sub { color: var(--text-3); font-size: 13px; }
.cdk-code {
  white-space: pre-line;
  margin: 20px 0 6px;
  background: linear-gradient(135deg, #fff7ed, #ffedd5);
  border: 1.5px dashed #fdba74;
  border-radius: 12px;
  padding: 16px 12px;
  font-family: Consolas, Monaco, monospace;
  font-size: 23px;
  font-weight: 800;
  letter-spacing: 2px;
  color: #c2410c;
  user-select: all;
}
.cdk-tip { font-size: 12px; color: var(--text-3); margin-bottom: 20px; }
.cdk-actions { display: flex; gap: 12px; }
.cdk-actions .btn { flex: 1; }

/* ---------- iframe 提货弹层 ---------- */
.extract-mask {
  position: fixed;
  inset: 0;
  background: rgba(31, 35, 41, .6);
  z-index: 1100;
  display: none;
  flex-direction: column;
  padding: 18px;
}
.extract-mask.open { display: flex; }
.extract-box {
  flex: 1;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 64px rgba(0, 0, 0, .35);
}
.extract-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  background: #1b2838;
  color: #fff;
  flex-shrink: 0;
  flex-wrap: wrap;
}
.extract-bar .eb-title { font-size: 15px; font-weight: 700; }
.extract-bar .eb-code {
  white-space: pre-line;
  font-family: Consolas, Monaco, monospace;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #ffd166;
  background: rgba(255, 255, 255, .1);
  padding: 5px 14px;
  border-radius: 8px;
  user-select: all;
}
.extract-bar .eb-hint { font-size: 12px; color: #8fa5bc; }
.extract-bar .eb-act { margin-left: auto; display: flex; gap: 9px; }
.extract-bar .eb-act button, .extract-bar .eb-act a {
  border: 1px solid rgba(255, 255, 255, .3);
  background: transparent;
  color: #fff;
  border-radius: 8px;
  padding: 6px 14px;
  font-size: 13px;
  cursor: pointer;
  text-decoration: none;
}
.extract-bar .eb-act button:hover, .extract-bar .eb-act a:hover { background: rgba(255, 255, 255, .12); }
.extract-bar .eb-act .eb-primary { background: #1a6dff; border-color: #1a6dff; }
.extract-bar .eb-act .eb-primary:hover { background: #0f56d8; }
.extract-frame { flex: 1; border: none; width: 100%; background: #fff; }

@media (max-width: 640px) {
  .extract-mask { padding: 0; }
  .extract-box { border-radius: 0; }
  .cdk-card { padding: 26px 20px 22px; }
  .cdk-code { font-size: 19px; }
}
.auth-wrap {
  min-height: calc(100vh - 64px - 80px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 20px;
  background:
    radial-gradient(600px 300px at 20% 10%, rgba(26, 109, 255, .10), transparent 60%),
    radial-gradient(500px 260px at 85% 80%, rgba(255, 125, 45, .08), transparent 60%);
}
.auth-card {
  width: 100%;
  max-width: 420px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 36px 36px 30px;
  box-shadow: var(--shadow-lg);
}
.auth-card .auth-logo { text-align: center; font-size: 22px; font-weight: 800; }
.auth-card .auth-logo em { font-style: normal; color: var(--primary); }
.auth-card h2 { text-align: center; font-size: 20px; margin: 18px 0 4px; }
.auth-card .auth-sub { text-align: center; color: var(--text-3); font-size: 13px; margin-bottom: 22px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; color: var(--text-2); margin-bottom: 7px; }
.field .input-wrap {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  transition: border-color .15s;
}
.field .input-wrap:focus-within { border-color: var(--primary); }
.field .input-wrap .f-ico { padding-left: 13px; font-size: 15px; color: var(--text-3); }
.field input {
  flex: 1;
  border: none;
  outline: none;
  padding: 11px 13px;
  min-width: 0;
  background: transparent;
}
.field .input-btn {
  border: none;
  background: transparent;
  color: var(--primary);
  font-size: 13px;
  padding: 0 14px;
  white-space: nowrap;
}
.field .input-btn[disabled] { color: var(--text-3); }
.captcha-img {
  height: 44px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  flex-shrink: 0;
  margin-right: 5px;
  display: block;
}
.auth-extra { display: flex; justify-content: space-between; color: var(--text-3); font-size: 13px; margin: 4px 0 18px; }
.auth-extra a:hover { color: var(--primary); }
.auth-switch { text-align: center; color: var(--text-3); font-size: 13.5px; margin-top: 20px; padding-top: 18px; border-top: 1px dashed var(--border); }
.auth-switch a { color: var(--primary); font-weight: 600; }
.divider { display: flex; align-items: center; gap: 12px; color: var(--text-3); font-size: 12px; margin: 20px 0 14px; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.steam-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  background: #fff;
  padding: 11px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  transition: all .15s;
}
.steam-btn:hover { border-color: #1b2838; color: #1b2838; background: #f7f9fa; }
.steam-btn .st-ico {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: #1b2838;
  color: #66c0f4;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px;
  font-weight: 800;
}
.agree-row { display: flex; align-items: flex-start; gap: 7px; font-size: 12.5px; color: var(--text-3); margin: 14px 0 18px; }
.agree-row input { margin-top: 3px; }
.agree-row a { color: var(--primary); }

/* ---------- 发布出租 ---------- */
.publish-layout { max-width: 880px; margin: 0 auto; }
.steps-indicator {
  display: flex;
  justify-content: center;
  gap: 0;
  margin: 26px 0 26px;
}
.si-step { display: flex; align-items: center; }
.si-step .si-dot {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--border);
  color: var(--text-3);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}
.si-step .si-label { margin: 0 12px 0 9px; color: var(--text-3); font-size: 14px; white-space: nowrap; }
.si-step.on .si-dot { background: var(--primary); border-color: var(--primary); color: #fff; }
.si-step.on .si-label { color: var(--primary); font-weight: 600; }
.si-step.done .si-dot { background: var(--green-light); border-color: var(--green); color: var(--green); }
.si-line { width: 70px; height: 2px; background: var(--border); margin-right: 12px; }
.si-step.done + .si-line, .si-line.done { background: var(--green); }

.publish-form { padding: 26px 28px; }
.form-section-title { font-size: 16px; font-weight: 700; margin: 6px 0 4px; display: flex; align-items: center; gap: 8px; }
.form-section-title::before { content: ""; width: 4px; height: 16px; border-radius: 2px; background: var(--primary); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.form-grid .field.full { grid-column: 1 / -1; }
.hint { font-size: 12.5px; color: var(--text-3); margin-top: 6px; }
.hint b { color: var(--orange); }
.game-pick-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.game-pick {
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 10px 6px;
  text-align: center;
  cursor: pointer;
  transition: all .15s;
  background: #fff;
}
.game-pick .g-emoji {
  width: 40px; height: 40px;
  margin: 0 auto 6px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  color: #fff;
}
.game-pick span { font-size: 12px; color: var(--text-2); display: block; }
.game-pick.on { border-color: var(--primary); background: var(--primary-light); }
.game-pick.on span { color: var(--primary); font-weight: 600; }
.publish-actions { display: flex; justify-content: space-between; gap: 14px; margin-top: 26px; }
.earn-tip {
  display: flex;
  gap: 12px;
  background: var(--orange-light);
  border: 1px solid #ffd9bd;
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  margin-top: 22px;
  font-size: 13px;
  color: #a05a20;
}
.earn-tip .et-ico { font-size: 18px; }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  top: 84px;
  left: 50%;
  transform: translateX(-50%) translateY(-16px);
  background: rgba(31, 35, 41, .92);
  color: #fff;
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 14px;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: all .25s;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .game-grid { grid-template-columns: repeat(5, 1fr); }
  .account-grid { grid-template-columns: repeat(3, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .guarantee-bar { grid-template-columns: repeat(2, 1fr); }
  .guarantee-item:nth-child(3) { border-left: none; }
  .guarantee-item:nth-child(n+3) { border-top: 1px solid var(--border); }
  .detail-layout { grid-template-columns: 1fr; }
  .book-card { position: static; }
  .inventory-list { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .game-pick-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 860px) {
  .main-nav, .header-search, .header-actions { display: none; }
  .nav-toggle { display: block; }
  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 10px 16px 16px;
    box-shadow: var(--shadow-lg);
  }
  .main-nav.open .m-auth-row { display: flex; gap: 10px; margin-top: 10px; }
  .main-nav.open .m-search-row {
    display: flex;
    margin-top: 10px;
    border: 1.5px solid var(--border);
    border-radius: 999px;
    overflow: hidden;
    background: var(--bg);
  }
  .main-nav.open .m-search-row input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    padding: 10px 16px;
    min-width: 0;
    font-size: 14px;
    font-family: inherit;
  }
  .main-nav.open .m-search-row button {
    border: none;
    background: transparent;
    color: var(--primary);
    font-weight: 600;
    padding: 0 18px;
    font-size: 14px;
    font-family: inherit;
  }
  .listing-layout { grid-template-columns: 1fr; }
  .filter-panel { position: static; display: none; }
  .filter-panel.open { display: block; }
  .filter-toggle-btn { display: inline-flex; }
  .user-layout { grid-template-columns: 1fr; }
  .user-side { position: static; }
  .hero h1 { font-size: 30px; }
  .hero-stats { gap: 32px; }
  .hero { padding: 44px 0 40px; }
  .game-pick-grid { grid-template-columns: repeat(3, 1fr); }
  .form-grid { grid-template-columns: 1fr; }
  .wallet-cards { grid-template-columns: 1fr; }
  .info-stats { grid-template-columns: repeat(2, 1fr); }
  .info-stats .is-cell:nth-child(3) { border-left: none; }
  .info-stats .is-cell:nth-child(n+3) { border-top: 1px solid var(--border); }
}

@media (max-width: 640px) {
  .account-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .game-grid { grid-template-columns: repeat(3, 1fr); }
  /* 首页「全部游戏 / 进入大厅」：手机端重构为醒目大按钮（客户反馈原文字链不显眼） */
  .section-head { flex-direction: column; align-items: stretch; gap: 12px; }
  .section-head .more {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px;
    border-radius: 13px;
    background: linear-gradient(135deg, #1a6dff, #4d94ff);
    color: #fff;
    font-size: 15.5px;
    font-weight: 700;
    letter-spacing: .5px;
    box-shadow: 0 8px 22px rgba(26, 109, 255, .30);
  }
  .section-head .more:hover { color: #fff; }
  .section-head .more:active { transform: scale(.98); }
  /* 大厅工具栏：搜索占整行，分类下拉与计数在第二行 */
  .hall-toolbar { gap: 10px; }
  .hall-search { flex: 1 1 100%; max-width: none; }
  .hc-btn { height: 42px; }
  .hc-panel { width: 86vw; }
  .hall-count { margin-left: 0; }
  .steps-grid { grid-template-columns: 1fr; }
  .guarantee-bar { grid-template-columns: 1fr; }
  .guarantee-item + .guarantee-item { border-left: none; border-top: 1px solid var(--border); }
  .cta-strip { flex-direction: column; text-align: center; padding: 28px 22px; }
  .hero-stats { flex-wrap: wrap; gap: 20px 36px; }
  .acc-body { padding: 12px 12px 14px; }
  .inventory-list { grid-template-columns: repeat(2, 1fr); }
  .gallery-thumbs { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .order-item { flex-wrap: wrap; }
  .order-amount { width: 100%; display: flex; align-items: center; justify-content: space-between; text-align: left; }
  .order-amount .o-btn { margin: 0; }
  .order-amount .oa-val { order: 2; }
  .fav-grid { grid-template-columns: repeat(2, 1fr); }
  .book-card .btn-row { grid-template-columns: 1fr; }
  .auth-card { padding: 28px 22px 24px; }
  .steps-indicator { flex-wrap: wrap; gap: 10px; }
  .si-line { width: 30px; }
  .publish-form { padding: 20px 18px; }
}

/* ---------- 租号大厅：筛选区与搜索联想 ---------- */
.hall-search-box { position: relative; flex: 1; max-width: 520px; min-width: 0; }
.hall-search-box .hall-search { flex: none; width: 100%; max-width: none; }
.hall-suggest {
  position: absolute; z-index: 60; top: calc(100% + 8px); left: 0; right: 0;
  background: #fff; border: 1px solid var(--border); border-radius: 14px;
  box-shadow: 0 14px 40px rgba(15, 34, 67, .16); padding: 6px; max-height: 380px; overflow: auto;
}
.hs-item {
  display: flex; align-items: center; gap: 10px; padding: 8px 10px;
  border-radius: 10px; cursor: pointer; transition: background .12s;
}
.hs-item:hover, .hs-item.on { background: rgba(26, 109, 255, .07); }
.hs-cover { width: 44px; height: 30px; border-radius: 6px; flex-shrink: 0; background-size: cover; background-position: center; }
.hs-main { min-width: 0; flex: 1; }
.hs-name { font-size: 13px; font-weight: 600; color: var(--text-1); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hs-meta { display: flex; align-items: center; gap: 8px; margin-top: 3px; font-size: 11.5px; color: var(--text-3); white-space: nowrap; overflow: hidden; }
.hs-meta .hs-price { color: var(--orange); font-weight: 700; }

.hall-filters {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin: -6px 0 20px;
}
.hf-check {
  display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 15px;
  background: #fff; border: 1.5px solid var(--border); border-radius: 999px;
  font-size: 13px; color: var(--text-2); cursor: pointer; user-select: none;
  transition: border-color .15s, color .15s;
}
.hf-check:hover { border-color: var(--primary); color: var(--primary); }
.hf-check:has(input:checked) { border-color: var(--primary); color: var(--primary); background: rgba(26,109,255,.05); font-weight: 600; }
.hf-check input { width: 15px; height: 15px; accent-color: var(--primary); cursor: pointer; }
.hf-price {
  display: flex; align-items: center; gap: 5px; height: 40px; padding: 0 5px 0 14px;
  background: #fff; border: 1.5px solid var(--border); border-radius: 999px;
}
.hf-price:focus-within { border-color: var(--primary); }
.hf-price input {
  width: 68px; border: none; outline: none; background: transparent;
  font-size: 13px; font-family: inherit; color: var(--text-1); padding: 4px 2px;
}
.hf-price input::placeholder { color: var(--text-3); }
.hf-price span { color: var(--text-3); font-size: 12px; }
.hf-price button {
  border: none; background: var(--primary-light); color: var(--primary);
  font-weight: 600; border-radius: 999px; padding: 6px 13px; font-size: 12.5px;
  font-family: inherit; cursor: pointer;
}
.hf-price button:hover { background: var(--primary); color: #fff; }
.hf-sort select {
  height: 40px; border: 1.5px solid var(--border); border-radius: 999px;
  background: #fff; padding: 0 32px 0 14px; font-size: 13px; color: var(--text-1);
  font-family: inherit; outline: none; cursor: pointer; appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--text-3) 50%), linear-gradient(135deg, var(--text-3) 50%, transparent 50%);
  background-position: calc(100% - 17px) 17px, calc(100% - 12px) 17px;
  background-size: 5px 5px, 5px 5px; background-repeat: no-repeat;
}
.hf-sort select:focus { border-color: var(--primary); }
.hall-clear {
  height: 40px; padding: 0 14px; border: none; border-radius: 999px;
  background: transparent; color: var(--text-3); font-size: 13px; font-family: inherit; cursor: pointer;
}
.hall-clear:hover { color: var(--primary); background: rgba(26,109,255,.06); }
.game-hall-grid.is-loading { opacity: .45; pointer-events: none; transition: opacity .15s; }

@media (max-width: 640px) {
  .hall-search-box { flex: 1 1 100%; max-width: none; }
  .hall-filters { gap: 8px; margin-top: 0; }
  .hf-check { height: 38px; padding: 0 13px; }
  .hf-price { flex: 1 1 100%; height: 38px; justify-content: space-between; }
  .hf-price input { flex: 1; width: auto; }
  .hf-sort { flex: 1; min-width: 130px; }
  .hf-sort select { width: 100%; height: 38px; }
  .hall-clear { height: 38px; padding: 0 10px; }
  .hall-suggest { max-height: 300px; }
}

/* 订单支付倒计时 */
.pay-cd { color: var(--orange); font-variant-numeric: tabular-nums; letter-spacing: .3px; }
.pay-cd.is-end { color: var(--red, #e5484d); }

