/* ==========================================================================
   专业代售 · 电竞账号代售平台
   设计系统 / 全站样式
   ========================================================================== */

:root {
  --bg: #070a12;
  --bg-deep: #04060c;
  --bg-soft: #0b101c;
  --panel: #0f1624;
  --panel-2: #131c2d;
  --panel-3: #182337;
  --line: rgba(151, 174, 208, 0.13);
  --line-strong: rgba(151, 174, 208, 0.24);
  --text: #eef4ff;
  --text-2: #c5d2e6;
  --muted: #8c9bb4;
  --dim: #5d6b83;
  --cyan: #23e2c5;
  --cyan-deep: #00a9b8;
  --violet: #8b6bff;
  --gold: #ffc46b;
  --pink: #ff6f91;
  --green: #55df92;
  --danger: #ff5d7a;
  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 26px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
  --font: "HarmonyOS Sans SC", "MiSans", "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  --display: "Bahnschrift", "DIN Alternate", "HarmonyOS Sans SC", "Microsoft YaHei", sans-serif;
  --container: 1280px;
}

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

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

body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(900px 620px at 78% -8%, rgba(75, 54, 168, 0.24), transparent 62%),
    radial-gradient(720px 580px at 8% 6%, rgba(0, 154, 170, 0.13), transparent 60%),
    radial-gradient(600px 500px at 50% 110%, rgba(24, 80, 120, 0.12), transparent 65%),
    var(--bg);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(140, 170, 210, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(140, 170, 210, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 72%);
}

::selection { background: rgba(35, 226, 197, 0.28); color: #fff; }

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
img, svg { display: block; max-width: 100%; }
ul, ol { list-style: none; }
table { border-collapse: collapse; width: 100%; }

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--cyan);
  font-family: var(--display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 20px;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), transparent);
}

.section {
  position: relative;
  padding: 88px 0;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 36px;
}

.section-title {
  margin-top: 12px;
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.section-title em {
  font-style: normal;
  background: linear-gradient(100deg, var(--cyan), #8ef3ff 45%, var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-desc {
  max-width: 540px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
}

.section-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: none;
  color: var(--text-2);
  font-size: 14px;
  transition: color 0.2s, gap 0.2s;
}

.section-link:hover { color: var(--cyan); gap: 13px; }

/* ---------- 按钮 ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 46px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, border-color 0.2s, color 0.2s;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none !important; box-shadow: none !important; }

.btn-primary {
  background: linear-gradient(110deg, #25e4c6, #0eb6cf 52%, #5b8dff);
  color: #041014;
  box-shadow: 0 10px 34px rgba(21, 210, 197, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn-primary:hover { box-shadow: 0 14px 44px rgba(21, 210, 197, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.5); }

.btn-ghost {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.025);
  color: var(--text-2);
}

.btn-ghost:hover { border-color: rgba(35, 226, 197, 0.5); background: rgba(35, 226, 197, 0.07); color: #fff; }

.btn-gold {
  background: linear-gradient(110deg, #ffd791, #ffb64f);
  color: #241603;
  box-shadow: 0 10px 30px rgba(255, 180, 79, 0.2);
}

.btn-sm { height: 36px; padding: 0 15px; font-size: 13px; border-radius: 8px; }
.btn-lg { height: 54px; padding: 0 32px; font-size: 15px; border-radius: 12px; }
.btn-block { width: 100%; }

/* ---------- 顶部信息条 ---------- */
.topbar {
  position: relative;
  z-index: 60;
  height: 36px;
  border-bottom: 1px solid rgba(151, 174, 208, 0.08);
  background: rgba(5, 8, 15, 0.72);
  color: var(--muted);
  font-size: 12px;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 24px;
}

.topbar-note {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.topbar-note strong { color: var(--cyan); font-weight: 600; }

.live-dot {
  position: relative;
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(35, 226, 197, 0.1);
}

.live-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border: 1px solid var(--cyan);
  border-radius: inherit;
  animation: pulse 2.4s ease-out infinite;
}

@keyframes pulse {
  0% { transform: scale(0.6); opacity: 0.9; }
  80%, 100% { transform: scale(1.9); opacity: 0; }
}

.topbar-links { display: flex; align-items: center; gap: 18px; flex: none; }
.topbar-links a:hover { color: var(--text); }
.topbar-sep { width: 1px; height: 11px; background: var(--line-strong); }

/* ---------- 页头 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
}

.site-header.is-stuck {
  border-bottom-color: var(--line);
  background: rgba(7, 10, 18, 0.82);
  backdrop-filter: blur(18px) saturate(140%);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 34px;
  height: 76px;
}

.brand { display: flex; align-items: center; gap: 12px; flex: none; }

.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background:
    linear-gradient(145deg, rgba(35, 226, 197, 0.2), rgba(139, 107, 255, 0.16)),
    #0b1420;
  border: 1px solid rgba(35, 226, 197, 0.38);
  box-shadow: 0 0 26px rgba(35, 226, 197, 0.16), inset 0 0 16px rgba(35, 226, 197, 0.08);
  overflow: hidden;
}

.brand-mark::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: conic-gradient(from 180deg, transparent, rgba(35, 226, 197, 0.55), transparent 42%);
  animation: spin 7s linear infinite;
  opacity: 0.55;
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 9px;
  background: #08101b;
}

.brand-mark svg { position: relative; z-index: 1; width: 24px; height: 24px; }

@keyframes spin { to { transform: rotate(360deg); } }

.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-size: 19px; font-weight: 800; letter-spacing: 0.06em; }
.brand-text small {
  margin-top: 4px;
  color: var(--dim);
  font-family: var(--display);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.24em;
}

.main-nav { display: flex; align-items: center; gap: 4px; }

.nav-link {
  position: relative;
  display: flex;
  align-items: center;
  height: 38px;
  padding: 0 13px;
  color: var(--text-2);
  font-size: 14px;
  font-weight: 500;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}

.nav-link:hover { color: #fff; background: rgba(255, 255, 255, 0.04); }

.nav-link.active { color: #fff; }
.nav-link.active::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--cyan), rgba(35, 226, 197, 0));
  box-shadow: 0 0 10px var(--cyan);
}

.header-tools { display: flex; align-items: center; gap: 12px; margin-left: auto; }

.header-search {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 200px;
  height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.025);
  transition: border-color 0.2s, background 0.2s, width 0.25s;
}

.header-search:focus-within { width: 236px; border-color: rgba(35, 226, 197, 0.45); background: rgba(35, 226, 197, 0.04); }
.header-search svg { width: 15px; height: 15px; color: var(--dim); flex: none; }
.header-search input { width: 100%; border: 0; outline: 0; background: transparent; font-size: 12.5px; }
.header-search input::placeholder { color: var(--dim); }
.header-search button { display: none; }

.auth-actions { display: flex; align-items: center; gap: 8px; }

.user-menu { position: relative; }

.user-chip {
  display: flex;
  align-items: center;
  gap: 9px;
  height: 40px;
  padding: 0 8px 0 5px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.025);
  transition: border-color 0.2s, background 0.2s;
}

.user-chip:hover { border-color: rgba(35, 226, 197, 0.35); background: rgba(35, 226, 197, 0.05); }

.avatar {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: linear-gradient(145deg, var(--avatar, #23e2c5), #1c2740);
  color: #041014;
  font-size: 13px;
  font-weight: 800;
  flex: none;
}

.user-chip-name { max-width: 74px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12.5px; }

.user-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 190px;
  padding: 8px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: #0d1421;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: 0.2s;
}

.user-menu:hover .user-dropdown, .user-menu.is-open .user-dropdown { opacity: 1; visibility: visible; transform: none; }

.dropdown-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 11px;
  border-radius: 7px;
  color: var(--text-2);
  font-size: 12.5px;
}

.dropdown-link:hover { background: rgba(35, 226, 197, 0.08); color: #fff; }
.dropdown-link span { color: var(--dim); font-size: 10px; }
.dropdown-divider { height: 1px; margin: 6px 4px; background: var(--line); }

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  margin: 4px auto;
  background: var(--text);
  transition: 0.2s;
}

.mobile-nav {
  display: none;
  padding: 10px 24px 22px;
  border-top: 1px solid var(--line);
  background: rgba(7, 10, 18, 0.98);
}

.mobile-nav a {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid rgba(151, 174, 208, 0.07);
  color: var(--text-2);
  font-size: 14px;
}

/* ---------- 首页 Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 62px 0 74px;
}

.hero::before {
  content: "";
  position: absolute;
  top: -220px;
  right: -120px;
  width: 780px;
  height: 780px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(96, 68, 214, 0.19), transparent 64%);
  pointer-events: none;
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
  background:
    linear-gradient(90deg, transparent 49.8%, rgba(130, 160, 200, 0.06) 50%, transparent 50.2%) 0 0 / 25% 100%,
    linear-gradient(transparent 49.8%, rgba(130, 160, 200, 0.05) 50%, transparent 50.2%) 0 0 / 100% 25%;
  mask-image: radial-gradient(ellipse at 60% 30%, black, transparent 70%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: 56px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 32px;
  padding: 0 13px;
  border: 1px solid rgba(35, 226, 197, 0.2);
  border-radius: 999px;
  background: rgba(35, 226, 197, 0.055);
  color: #a9f5e9;
  font-size: 11.5px;
  letter-spacing: 0.04em;
}

.hero-eyebrow b {
  color: var(--cyan);
  font-family: var(--display);
  font-size: 10px;
  letter-spacing: 0.12em;
}

.hero h1 {
  margin-top: 24px;
  font-size: clamp(42px, 5.3vw, 68px);
  line-height: 1.14;
  font-weight: 900;
  letter-spacing: -0.045em;
}

.hero h1 .line { display: block; }

.hero h1 .gradient {
  background: linear-gradient(100deg, #55f5db 2%, #8ef3ff 38%, #a993ff 82%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 24px rgba(35, 226, 197, 0.15));
}

.hero-sub {
  max-width: 500px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.95;
}

.hero-sub strong { color: var(--text-2); font-weight: 600; }

.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 34px; }

.hero-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  color: var(--dim);
  font-size: 11.5px;
}

.hero-note svg { width: 14px; height: 14px; color: var(--green); }

.hero-metrics {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 42px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.hero-metric { padding-right: 32px; margin-right: 32px; border-right: 1px solid var(--line); }
.hero-metric:last-child { border: 0; padding-right: 0; margin-right: 0; }

.hero-metric strong {
  display: block;
  font-family: var(--display);
  font-size: 27px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.hero-metric strong span { color: var(--cyan); font-size: 14px; margin-left: 2px; }
.hero-metric small { display: block; margin-top: 3px; color: var(--dim); font-size: 11px; }

/* Hero 视觉 */
.hero-stage {
  position: relative;
  height: 560px;
  perspective: 1200px;
}

.stage-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(120, 160, 220, 0.13);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.stage-ring.r1 { width: 470px; height: 470px; }
.stage-ring.r2 { width: 570px; height: 570px; border-style: dashed; opacity: 0.6; animation: spin 48s linear infinite; }
.stage-ring.r3 { width: 350px; height: 350px; border-color: rgba(35, 226, 197, 0.1); }

.stage-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 470px;
  height: 470px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(35, 226, 197, 0.11), rgba(90, 68, 200, 0.1) 42%, transparent 68%);
  filter: blur(10px);
}

.featured-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 340px;
  transform: translate(-50%, -50%) rotateY(-7deg) rotateX(3deg);
  border: 1px solid rgba(160, 190, 230, 0.2);
  border-radius: 22px;
  background: linear-gradient(155deg, rgba(24, 36, 56, 0.96), rgba(9, 14, 24, 0.98));
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.52), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  overflow: hidden;
  transform-style: preserve-3d;
}

.featured-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.12), transparent 30%, transparent 70%, rgba(35, 226, 197, 0.08));
}

.featured-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--display);
  font-size: 10px;
  letter-spacing: 0.16em;
}

.featured-card-top span:last-child { color: var(--cyan); }

.featured-art {
  position: relative;
  height: 208px;
  overflow: hidden;
  background:
    radial-gradient(circle at 70% 24%, rgba(255, 201, 118, 0.35), transparent 35%),
    linear-gradient(145deg, #483013, #1a1208 58%, #0c0a07);
}

.featured-art .big-mark {
  position: absolute;
  right: -8px;
  bottom: -42px;
  color: rgba(255, 214, 151, 0.1);
  font-size: 200px;
  font-weight: 900;
  line-height: 1;
}

.featured-art .art-lines {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 220, 170, 0.13) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 220, 170, 0.13) 1px, transparent 1px);
  background-size: 32px 32px;
  transform: perspective(400px) rotateX(55deg) scale(1.6);
  transform-origin: bottom;
  opacity: 0.4;
}

.featured-art .art-chip {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 5px 9px;
  border: 1px solid rgba(255, 216, 156, 0.28);
  border-radius: 6px;
  background: rgba(20, 14, 6, 0.55);
  color: #ffd9a0;
  font-family: var(--display);
  font-size: 9px;
  letter-spacing: 0.12em;
  backdrop-filter: blur(8px);
}

.featured-art .art-title {
  position: absolute;
  left: 18px;
  bottom: 17px;
  font-size: 25px;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.6);
}

.featured-art .art-title small { display: block; margin-top: 2px; color: rgba(255, 239, 217, 0.62); font-family: var(--display); font-size: 9px; font-weight: 600; letter-spacing: 0.2em; }

.featured-body { padding: 17px 18px 18px; }
.featured-name { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; }
.verified { display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: rgba(85, 223, 146, 0.14); color: var(--green); font-size: 9px; }

.featured-specs { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 9px; }
.featured-specs span { padding: 3px 7px; border-radius: 4px; background: rgba(255, 255, 255, 0.045); color: var(--muted); font-size: 10px; }

.featured-price-row { display: flex; align-items: flex-end; justify-content: space-between; margin-top: 15px; }
.featured-price { color: #ffcf87; font-family: var(--display); font-size: 30px; font-weight: 800; line-height: 1; }
.featured-price small { margin-right: 2px; font-size: 13px; }
.featured-price-label { margin-top: 5px; color: var(--dim); font-size: 9px; letter-spacing: 0.08em; }
.featured-buy { display: grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 12px; background: linear-gradient(140deg, #ffd894, #ffb54f); color: #241603; font-size: 18px; font-weight: 800; box-shadow: 0 8px 24px rgba(255, 180, 79, 0.22); }

.float-tag {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: rgba(12, 19, 32, 0.86);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  color: var(--text-2);
  font-size: 11px;
  backdrop-filter: blur(14px);
  animation: float 6s ease-in-out infinite;
}

.float-tag b { color: var(--cyan); font-family: var(--display); font-size: 13px; }
.float-tag .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }
.float-tag.t1 { top: 78px; left: 2px; animation-delay: -1.5s; }
.float-tag.t2 { right: -10px; top: 166px; animation-delay: -3s; }
.float-tag.t3 { bottom: 86px; left: 16px; animation-delay: -4.2s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

/* ---------- 信任条 ---------- */
.trust-bar {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.012);
}

.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }

.trust-item {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 24px 26px;
  border-right: 1px solid var(--line);
}

.trust-item:last-child { border-right: 0; }

.trust-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(35, 226, 197, 0.18);
  border-radius: 10px;
  background: rgba(35, 226, 197, 0.06);
  color: var(--cyan);
  flex: none;
}

.trust-icon svg { width: 18px; height: 18px; }
.trust-item strong { display: block; font-size: 13px; font-weight: 700; }
.trust-item small { display: block; margin-top: 2px; color: var(--dim); font-size: 10.5px; }

/* ---------- 游戏专区 ---------- */
.game-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }

.game-card {
  position: relative;
  height: 168px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    radial-gradient(120% 130% at 85% 10%, color-mix(in srgb, var(--c1) 20%, transparent), transparent 52%),
    linear-gradient(145deg, rgba(20, 30, 48, 0.85), rgba(9, 14, 23, 0.92));
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s;
}

.game-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--c1) 42%, transparent); }

.game-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.07), transparent 70%);
  transform: translateX(-60%);
  transition: 0.6s;
}

.game-card:hover::before { opacity: 1; transform: translateX(60%); }

.game-mark {
  position: absolute;
  right: -4px;
  bottom: -44px;
  color: color-mix(in srgb, var(--c1) 12%, transparent);
  font-size: 142px;
  font-weight: 900;
  line-height: 1;
  pointer-events: none;
  transition: transform 0.4s;
}

.game-card:hover .game-mark { transform: scale(1.06) rotate(-3deg); }

.game-card-top { display: flex; align-items: center; justify-content: space-between; }
.game-tag { padding: 3px 7px; border: 1px solid color-mix(in srgb, var(--c1) 28%, transparent); border-radius: 4px; color: var(--c1); font-family: var(--display); font-size: 8px; letter-spacing: 0.14em; }
.game-count { color: var(--dim); font-size: 10px; }
.game-count b { color: var(--text-2); font-family: var(--display); }

.game-card h3 { position: relative; margin-top: 36px; font-size: 20px; font-weight: 800; letter-spacing: 0.01em; }
.game-card p { position: relative; margin-top: 3px; color: var(--dim); font-family: var(--display); font-size: 9px; letter-spacing: 0.14em; }
.game-arrow { position: absolute; right: 18px; bottom: 18px; color: var(--c1); font-size: 16px; opacity: 0.65; transition: transform 0.25s; }
.game-card:hover .game-arrow { transform: translate(3px, -3px); }

/* ---------- 账号卡片 ---------- */
.account-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.account-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }

.account-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(165deg, rgba(17, 25, 40, 0.94), rgba(9, 14, 23, 0.96));
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.account-card:hover { transform: translateY(-5px); border-color: rgba(35, 226, 197, 0.32); box-shadow: 0 22px 50px rgba(0, 0, 0, 0.35); }

.cover {
  position: relative;
  height: 178px;
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 20%, color-mix(in srgb, var(--c1) 36%, transparent), transparent 38%),
    radial-gradient(circle at 20% 90%, color-mix(in srgb, var(--c2) 60%, transparent), transparent 55%),
    linear-gradient(145deg, #182238, #0b101a 70%);
  --c1: #23e2c5;
  --c2: #164a55;
}

.cover[data-game="wzry"] { --c1: #f6b45a; --c2: #6d3f14; }
.cover[data-game="hpjy"] { --c1: #6fd08c; --c2: #123d2a; }
.cover[data-game="lol"] { --c1: #62b6ff; --c2: #12355c; }
.cover[data-game="cf"] { --c1: #ff8a5b; --c2: #58210f; }
.cover[data-game="ys"] { --c1: #9d8cff; --c2: #2c2358; }
.cover[data-game="cs2"] { --c1: #f5c451; --c2: #4f3b0d; }
.cover[data-game="df"] { --c1: #7de0c3; --c2: #0d3c34; }
.cover[data-game="yjwj"] { --c1: #ff7d9c; --c2: #4d1625; }

.cover::before {
  content: "";
  position: absolute;
  inset: -20%;
  background: conic-gradient(from 210deg at 55% 45%, transparent, color-mix(in srgb, var(--c1) 18%, transparent), transparent 42%);
  opacity: 0.8;
}

.cover-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(color-mix(in srgb, var(--c1) 13%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--c1) 13%, transparent) 1px, transparent 1px);
  background-size: 28px 28px;
  transform: perspective(360px) rotateX(58deg) scale(1.9) translateY(22%);
  transform-origin: bottom;
  opacity: 0.42;
}

.cover-orb {
  position: absolute;
  top: 22px;
  right: 26px;
  width: 108px;
  height: 108px;
  border: 1px solid color-mix(in srgb, var(--c1) 50%, transparent);
  border-radius: 50%;
  box-shadow: inset 0 0 36px color-mix(in srgb, var(--c1) 16%, transparent), 0 0 38px color-mix(in srgb, var(--c1) 10%, transparent);
}

.cover-orb::before, .cover-orb::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--c1) 32%, transparent);
}

.cover-orb::before { inset: 12px; border-style: dashed; }
.cover-orb::after { inset: 30px; background: color-mix(in srgb, var(--c1) 20%, transparent); border: 0; filter: blur(6px); }

.cover-mark {
  position: absolute;
  right: 7px;
  bottom: -30px;
  color: color-mix(in srgb, var(--c1) 15%, transparent);
  font-size: 148px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.08em;
  transition: transform 0.4s;
}

.account-card:hover .cover-mark { transform: scale(1.04) translateY(-3px); }

.cover-en {
  position: absolute;
  left: 15px;
  bottom: 13px;
  color: color-mix(in srgb, var(--c1) 75%, #fff);
  font-family: var(--display);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.17em;
  opacity: 0.8;
}

.cover-game {
  position: absolute;
  top: 14px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border: 1px solid color-mix(in srgb, var(--c1) 34%, transparent);
  border-radius: 5px;
  background: rgba(5, 8, 14, 0.45);
  color: var(--c1);
  font-size: 10px;
  font-weight: 600;
  backdrop-filter: blur(8px);
}

.cover-game i { width: 4px; height: 4px; border-radius: 50%; background: currentColor; }

.cover-badges { position: absolute; top: 44px; left: 14px; display: flex; flex-wrap: wrap; gap: 4px; max-width: 62%; }
.mini-badge { padding: 2px 6px; border-radius: 3px; background: rgba(5, 8, 14, 0.55); color: var(--text-2); font-size: 9px; backdrop-filter: blur(6px); }
.mini-badge.hot { background: rgba(255, 111, 145, 0.15); color: #ff9fb4; }
.mini-badge.gold { background: rgba(255, 196, 107, 0.14); color: var(--gold); }

.cover-views {
  position: absolute;
  top: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  gap: 4px;
  color: rgba(255, 255, 255, 0.6);
  font-family: var(--display);
  font-size: 9px;
}

.cover-views svg { width: 11px; height: 11px; }

.cover.art-1 .cover-orb { top: 30px; right: 56px; width: 88px; height: 88px; }
.cover.art-1 .cover-mark { right: auto; left: -6px; bottom: -24px; font-size: 162px; }
.cover.art-2 .cover-orb { top: 44px; right: 18px; width: 128px; height: 128px; opacity: 0.7; }
.cover.art-2 .cover-mark { bottom: -52px; right: 30px; }
.cover.art-3 .cover-orb { top: 12px; right: 30px; width: 100px; height: 100px; }
.cover.art-3 .cover-mark { left: 50%; right: auto; transform: translateX(-50%); bottom: -54px; font-size: 180px; opacity: 0.7; }

.account-body { display: flex; flex-direction: column; flex: 1; padding: 14px 15px 15px; }
.account-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 42px; font-size: 14px; font-weight: 700; line-height: 1.5; letter-spacing: 0.01em; }
.account-sub { margin-top: 5px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: var(--dim); font-size: 10.5px; }

.account-specs { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 10px; }
.account-specs span { padding: 2px 6px; border: 1px solid rgba(151, 174, 208, 0.1); border-radius: 3px; color: var(--muted); font-size: 9.5px; }

.account-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; margin-top: 13px; padding-top: 12px; border-top: 1px solid rgba(151, 174, 208, 0.08); }
.price { color: #ffd18b; font-family: var(--display); font-size: 24px; font-weight: 800; line-height: 1; letter-spacing: -0.02em; }
.price small { margin-right: 2px; font-size: 11px; font-weight: 600; }
.price-old { margin-left: 5px; color: var(--dim); font-family: var(--display); font-size: 10px; text-decoration: line-through; }
.buy-mini { display: inline-grid; place-items: center; height: 30px; padding: 0 11px; border: 1px solid rgba(35, 226, 197, 0.26); border-radius: 6px; background: rgba(35, 226, 197, 0.07); color: var(--cyan); font-size: 11px; font-weight: 700; transition: 0.2s; }
.buy-mini:hover { background: var(--cyan); color: #041014; }

/* ---------- 公告 / 交易动态 ---------- */
.live-section { padding-top: 0; }

.live-grid { display: grid; grid-template-columns: 1.45fr 0.55fr; gap: 16px; }

.panel {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(13, 20, 32, 0.7);
  overflow: hidden;
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 17px 20px;
  border-bottom: 1px solid var(--line);
}

.panel-title { display: flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 700; }
.panel-title i { width: 3px; height: 14px; border-radius: 2px; background: linear-gradient(var(--cyan), var(--violet)); box-shadow: 0 0 8px rgba(35, 226, 197, 0.5); }
.panel-more { color: var(--dim); font-size: 11px; }
.panel-more:hover { color: var(--cyan); }

.announce-list { padding: 6px 0; }
.announce-item { display: flex; align-items: center; gap: 12px; padding: 12px 20px; transition: background 0.2s; }
.announce-item:hover { background: rgba(255, 255, 255, 0.025); }
.announce-type { flex: none; min-width: 38px; padding: 2px 6px; border: 1px solid rgba(35, 226, 197, 0.2); border-radius: 4px; color: var(--cyan); font-size: 9px; text-align: center; }
.announce-type.activity { border-color: rgba(255, 196, 107, 0.24); color: var(--gold); }
.announce-type.safety { border-color: rgba(255, 111, 145, 0.24); color: var(--pink); }
.announce-text { flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: var(--text-2); font-size: 12px; }
.announce-date { flex: none; color: var(--dim); font-family: var(--display); font-size: 10px; }

.deal-list { padding: 7px 0; max-height: 280px; overflow: hidden; }
.deal-item { display: flex; align-items: center; gap: 10px; padding: 9px 18px; font-size: 11px; }
.deal-avatar { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 7px; background: rgba(35, 226, 197, 0.09); color: var(--cyan); font-size: 9px; flex: none; }
.deal-info { min-width: 0; flex: 1; }
.deal-info b { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 10.5px; font-weight: 500; color: var(--text-2); }
.deal-info small { display: block; color: var(--dim); font-size: 9px; }
.deal-price { flex: none; color: #ffd18b; font-family: var(--display); font-size: 11px; font-weight: 700; }

/* ---------- 代售 CTA ---------- */
.consign-band {
  position: relative;
  padding: 48px;
  border: 1px solid rgba(151, 174, 208, 0.16);
  border-radius: 24px;
  background:
    radial-gradient(600px 300px at 88% 10%, rgba(139, 107, 255, 0.2), transparent 60%),
    radial-gradient(500px 300px at 8% 100%, rgba(35, 226, 197, 0.12), transparent 60%),
    linear-gradient(135deg, #101a2b, #0a0f1a);
  overflow: hidden;
}

.consign-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(130, 160, 200, 0.045) 1px, transparent 1px), linear-gradient(rgba(130, 160, 200, 0.045) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(90deg, transparent, black 50%, transparent);
  pointer-events: none;
}

.consign-band-inner { position: relative; display: grid; grid-template-columns: 1fr 0.9fr; align-items: center; gap: 50px; }
.consign-band h2 { margin-top: 12px; font-size: clamp(26px, 3vw, 38px); line-height: 1.25; font-weight: 800; letter-spacing: -0.02em; }
.consign-band p { max-width: 470px; margin-top: 12px; color: var(--muted); font-size: 13px; }
.consign-actions { display: flex; align-items: center; gap: 18px; margin-top: 26px; }
.consign-actions small { color: var(--dim); font-size: 11px; }
.consign-actions small b { color: var(--gold); }

.consign-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.consign-step { position: relative; padding: 18px; border: 1px solid rgba(151, 174, 208, 0.11); border-radius: 12px; background: rgba(255, 255, 255, 0.025); }
.consign-step span { color: var(--cyan); font-family: var(--display); font-size: 10px; letter-spacing: 0.1em; }
.consign-step strong { display: block; margin-top: 8px; font-size: 13px; }
.consign-step small { display: block; margin-top: 3px; color: var(--dim); font-size: 10px; }

/* ---------- 保障与评价 ---------- */
.guarantee-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.guarantee-card { position: relative; padding: 28px 26px; border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(160deg, rgba(18, 27, 43, 0.8), rgba(9, 14, 23, 0.85)); transition: border-color 0.25s, transform 0.25s; }
.guarantee-card:hover { border-color: rgba(35, 226, 197, 0.25); transform: translateY(-3px); }
.guarantee-no { position: absolute; top: 22px; right: 24px; color: rgba(151, 174, 208, 0.14); font-family: var(--display); font-size: 34px; font-weight: 800; }
.guarantee-icon { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid rgba(35, 226, 197, 0.2); border-radius: 11px; background: rgba(35, 226, 197, 0.06); color: var(--cyan); }
.guarantee-icon svg { width: 20px; height: 20px; }
.guarantee-card h3 { margin-top: 20px; font-size: 16px; font-weight: 700; }
.guarantee-card p { margin-top: 8px; color: var(--muted); font-size: 12px; line-height: 1.9; }

.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.review-card { padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: rgba(13, 20, 32, 0.65); }
.stars { color: var(--gold); font-family: var(--display); font-size: 12px; letter-spacing: 0.12em; }
.review-text { min-height: 68px; margin-top: 13px; color: var(--text-2); font-size: 12.5px; line-height: 1.9; }
.review-user { display: flex; align-items: center; gap: 10px; margin-top: 18px; padding-top: 15px; border-top: 1px solid var(--line); }
.review-user .avatar { width: 30px; height: 30px; font-size: 11px; }
.review-user strong { display: block; font-size: 11.5px; }
.review-user small { color: var(--dim); font-size: 9.5px; }
.review-game { margin-left: auto; color: var(--dim); font-size: 9.5px; }

/* ---------- 页脚 ---------- */
.site-footer { position: relative; margin-top: 40px; border-top: 1px solid var(--line); background: rgba(5, 8, 14, 0.65); }
.footer-top { display: grid; grid-template-columns: 1.4fr 0.7fr 0.7fr 0.9fr; gap: 44px; padding: 54px 0 42px; }
.footer-brand p { max-width: 300px; margin-top: 15px; color: var(--dim); font-size: 11.5px; line-height: 1.9; }
.footer-social { display: flex; gap: 8px; margin-top: 18px; }
.footer-social span { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid var(--line); border-radius: 7px; color: var(--dim); font-size: 9px; font-family: var(--display); }
.footer-col h4 { margin-bottom: 15px; color: var(--text-2); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; }
.footer-col a { display: block; margin-bottom: 9px; color: var(--dim); font-size: 11.5px; }
.footer-col a:hover { color: var(--cyan); }
.footer-service { padding: 14px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255, 255, 255, 0.02); }
.footer-service small { color: var(--dim); font-size: 9.5px; }
.footer-service strong { display: block; margin-top: 3px; color: var(--cyan); font-family: var(--display); font-size: 18px; letter-spacing: 0.03em; }
.footer-service span { display: block; margin-top: 5px; color: var(--dim); font-size: 9.5px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 0 26px; border-top: 1px solid var(--line); color: var(--dim); font-size: 10px; }
.footer-bottom-links { display: flex; gap: 18px; }
.footer-bottom-links a:hover { color: var(--text-2); }

/* ---------- 内页 Hero ---------- */
.page-hero {
  position: relative;
  padding: 46px 0 38px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  top: -160px;
  right: 5%;
  width: 520px;
  height: 400px;
  background: radial-gradient(circle, rgba(96, 68, 214, 0.18), transparent 65%);
  pointer-events: none;
}

.breadcrumb { display: flex; align-items: center; gap: 7px; color: var(--dim); font-size: 11px; }
.breadcrumb a:hover { color: var(--cyan); }
.breadcrumb span { color: rgba(151, 174, 208, 0.32); }
.page-hero h1 { margin-top: 17px; font-size: clamp(28px, 3.6vw, 40px); line-height: 1.25; font-weight: 800; letter-spacing: -0.03em; }
.page-hero p { max-width: 620px; margin-top: 9px; color: var(--muted); font-size: 13px; }

/* ---------- 市场页 ---------- */
.market-wrap { padding: 34px 0 88px; }
.market-layout { display: grid; grid-template-columns: 248px minmax(0, 1fr); gap: 24px; align-items: start; }

.filter-panel { position: sticky; top: 96px; border: 1px solid var(--line); border-radius: 14px; background: rgba(13, 20, 32, 0.7); overflow: hidden; }
.filter-head { display: flex; align-items: center; justify-content: space-between; padding: 15px 17px; border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 700; }
.filter-reset { border: 0; background: none; color: var(--dim); font-size: 10px; }
.filter-reset:hover { color: var(--pink); }
.filter-group { padding: 15px 17px; border-bottom: 1px solid rgba(151, 174, 208, 0.08); }
.filter-group:last-child { border-bottom: 0; }
.filter-label { margin-bottom: 10px; color: var(--dim); font-size: 10px; letter-spacing: 0.08em; }
.filter-options { display: flex; flex-wrap: wrap; gap: 6px; }
.filter-chip { padding: 5px 9px; border: 1px solid transparent; border-radius: 5px; background: rgba(255, 255, 255, 0.035); color: var(--muted); font-size: 10.5px; transition: 0.2s; }
.filter-chip:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); }
.filter-chip.active { border-color: rgba(35, 226, 197, 0.35); background: rgba(35, 226, 197, 0.1); color: var(--cyan); }
.filter-price { display: flex; align-items: center; gap: 6px; }
.filter-price input { width: 100%; height: 32px; padding: 0 8px; border: 1px solid var(--line); border-radius: 5px; outline: 0; background: rgba(255, 255, 255, 0.03); font-family: var(--display); font-size: 11px; }
.filter-price input:focus { border-color: rgba(35, 226, 197, 0.35); }
.filter-price span { color: var(--dim); font-size: 10px; }
.filter-apply { width: 100%; height: 32px; margin-top: 8px; border: 1px solid rgba(35, 226, 197, 0.22); border-radius: 5px; background: rgba(35, 226, 197, 0.06); color: var(--cyan); font-size: 10.5px; }
.filter-apply:hover { background: rgba(35, 226, 197, 0.12); }

.market-main { min-width: 0; }
.market-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 17px; padding: 13px 16px; border: 1px solid var(--line); border-radius: 12px; background: rgba(13, 20, 32, 0.6); }
.result-count { color: var(--muted); font-size: 11.5px; }
.result-count b { color: var(--cyan); font-family: var(--display); font-size: 15px; }
.sort-tabs { display: flex; gap: 2px; }
.sort-tab { padding: 5px 10px; border: 0; border-radius: 5px; background: transparent; color: var(--dim); font-size: 11px; }
.sort-tab:hover { color: var(--text-2); }
.sort-tab.active { background: rgba(35, 226, 197, 0.09); color: var(--cyan); }
.market-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }

.empty-state { padding: 70px 20px; border: 1px dashed var(--line-strong); border-radius: 14px; text-align: center; }
.empty-icon { display: grid; place-items: center; width: 54px; height: 54px; margin: 0 auto 16px; border: 1px solid var(--line); border-radius: 50%; color: var(--dim); font-family: var(--display); font-size: 20px; }
.empty-state h3 { font-size: 15px; }
.empty-state p { margin-top: 6px; color: var(--dim); font-size: 12px; }

.pagination { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 30px; }
.page-btn { display: grid; place-items: center; min-width: 34px; height: 34px; padding: 0 9px; border: 1px solid var(--line); border-radius: 6px; background: transparent; color: var(--muted); font-family: var(--display); font-size: 11px; }
.page-btn:hover:not(:disabled) { border-color: rgba(35, 226, 197, 0.3); color: var(--cyan); }
.page-btn.active { border-color: rgba(35, 226, 197, 0.35); background: rgba(35, 226, 197, 0.1); color: var(--cyan); }
.page-btn:disabled { opacity: 0.3; cursor: not-allowed; }

/* ---------- 详情页 ---------- */
.detail-wrap { padding: 32px 0 80px; }
.detail-top { display: grid; grid-template-columns: 1.04fr 0.96fr; gap: 34px; align-items: start; }
.detail-art { position: relative; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: #0a101a; }
.detail-art .cover { height: 440px; }
.detail-art .cover-mark { font-size: 340px; bottom: -90px; right: 10px; }
.detail-art .cover-en { font-size: 11px; left: 24px; bottom: 20px; }
.detail-art .cover-game { top: 20px; left: 20px; font-size: 12px; padding: 6px 11px; }
.detail-art .cover-views { top: 22px; right: 22px; font-size: 11px; }
.detail-art .cover-en { display: none; }
.detail-art-caption { position: absolute; left: 24px; right: 24px; bottom: 58px; z-index: 2; pointer-events: none; }
.detail-art-caption small { display: block; color: #ffd18b; font-family: var(--display); font-size: 9px; font-weight: 700; letter-spacing: 0.18em; opacity: 0.78; }
.detail-art-caption h2 { max-width: 88%; margin-top: 6px; font-size: 26px; font-weight: 900; line-height: 1.3; letter-spacing: -0.01em; text-shadow: 0 4px 26px rgba(0, 0, 0, 0.7); }
.art-strip { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; border-top: 1px solid var(--line); background: rgba(255, 255, 255, 0.02); }
.art-strip span { color: var(--dim); font-size: 10px; letter-spacing: 0.08em; }
.art-strip b { color: var(--text-2); font-family: var(--display); font-size: 10px; letter-spacing: 0.1em; }

.detail-info { padding-top: 3px; }
.detail-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.detail-tag { padding: 3px 8px; border: 1px solid rgba(35, 226, 197, 0.18); border-radius: 4px; background: rgba(35, 226, 197, 0.05); color: var(--cyan); font-size: 9.5px; }
.detail-tag.gold { border-color: rgba(255, 196, 107, 0.22); background: rgba(255, 196, 107, 0.05); color: var(--gold); }
.detail-title { margin-top: 14px; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.35; font-weight: 800; letter-spacing: -0.02em; }
.detail-sub { margin-top: 8px; color: var(--muted); font-size: 12.5px; }
.detail-code { margin-top: 10px; color: var(--dim); font-family: var(--display); font-size: 10px; letter-spacing: 0.08em; }

.price-box { margin-top: 24px; padding: 20px 22px; border: 1px solid rgba(255, 196, 107, 0.16); border-radius: 14px; background: linear-gradient(120deg, rgba(255, 196, 107, 0.06), rgba(255, 255, 255, 0.015)); }
.price-label { color: var(--dim); font-size: 10px; letter-spacing: 0.08em; }
.price-main { display: flex; align-items: baseline; gap: 9px; margin-top: 4px; }
.price-main strong { color: #ffd18b; font-family: var(--display); font-size: 42px; line-height: 1; font-weight: 800; letter-spacing: -0.03em; }
.price-main strong small { margin-right: 3px; font-size: 18px; }
.price-main del { color: var(--dim); font-family: var(--display); font-size: 13px; }
.price-note { display: flex; align-items: center; gap: 6px; margin-top: 10px; color: var(--muted); font-size: 10.5px; }
.price-note b { color: var(--green); font-weight: 600; }

.spec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--line); overflow: hidden; }
.spec-item { padding: 13px 14px; background: #0d1522; }
.spec-item small { display: block; color: var(--dim); font-size: 9.5px; }
.spec-item strong { display: block; margin-top: 3px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: var(--text-2); font-size: 12px; font-weight: 600; }

.seller-row { display: flex; align-items: center; gap: 11px; margin-top: 17px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 11px; background: rgba(255, 255, 255, 0.02); }
.seller-logo { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 9px; background: linear-gradient(145deg, rgba(35, 226, 197, 0.15), rgba(139, 107, 255, 0.12)); border: 1px solid rgba(35, 226, 197, 0.2); color: var(--cyan); font-size: 13px; font-weight: 800; }
.seller-row strong { display: block; font-size: 11.5px; }
.seller-row small { display: block; margin-top: 2px; color: var(--dim); font-size: 9.5px; }
.seller-badge { margin-left: auto; padding: 3px 7px; border-radius: 4px; background: rgba(85, 223, 146, 0.08); color: var(--green); font-size: 9px; }

.buy-actions { display: flex; gap: 10px; margin-top: 18px; }
.buy-actions .btn { flex: 1; }
.detail-guarantee { display: flex; flex-wrap: wrap; gap: 15px; margin-top: 15px; color: var(--dim); font-size: 9.5px; }
.detail-guarantee span { display: flex; align-items: center; gap: 5px; }
.detail-guarantee i { width: 4px; height: 4px; border-radius: 50%; background: var(--green); }

.detail-body { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; margin-top: 38px; align-items: start; }
.content-panel { border: 1px solid var(--line); border-radius: 16px; background: rgba(13, 20, 32, 0.6); overflow: hidden; }
.content-panel-head { display: flex; align-items: center; gap: 18px; padding: 0 22px; border-bottom: 1px solid var(--line); }
.content-tab { position: relative; padding: 16px 0; border: 0; background: none; color: var(--dim); font-size: 12px; font-weight: 600; }
.content-tab.active { color: var(--text); }
.content-tab.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--cyan); box-shadow: 0 0 8px rgba(35, 226, 197, 0.5); }
.content-body { padding: 26px 24px; }
.prose h3 { margin: 0 0 10px; font-size: 15px; }
.prose h3:not(:first-child) { margin-top: 26px; }
.prose p { color: var(--muted); font-size: 12.5px; line-height: 2; }
.prose ul { margin-top: 8px; }
.prose li { position: relative; padding-left: 15px; margin-bottom: 7px; color: var(--muted); font-size: 12px; line-height: 1.85; }
.prose li::before { content: ""; position: absolute; top: 8px; left: 0; width: 4px; height: 4px; border-radius: 50%; background: var(--cyan); }

.side-panel { padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: rgba(13, 20, 32, 0.7); }
.side-panel h4 { display: flex; align-items: center; gap: 8px; font-size: 12px; }
.side-panel h4 i { width: 3px; height: 12px; border-radius: 2px; background: var(--cyan); }
.side-list { margin-top: 14px; }
.side-list li { display: flex; align-items: flex-start; gap: 9px; padding: 7px 0; color: var(--muted); font-size: 10.5px; line-height: 1.7; }
.side-list li b { color: var(--cyan); font-family: var(--display); font-size: 9px; margin-top: 2px; }
.side-list li:not(:last-child) { border-bottom: 1px dashed rgba(151, 174, 208, 0.08); }
.side-contact { margin-top: 16px; padding-top: 15px; border-top: 1px solid var(--line); }
.side-contact small { color: var(--dim); font-size: 9.5px; }
.side-contact strong { display: block; margin-top: 3px; color: var(--cyan); font-size: 13px; }

.similar-section { margin-top: 46px; }

/* ---------- 登录 / 注册 ---------- */
.auth-page { min-height: calc(100vh - 112px); display: grid; place-items: center; padding: 50px 0 70px; }
.auth-wrap { display: grid; grid-template-columns: 1fr 0.92fr; width: min(1040px, 100%); min-height: 590px; border: 1px solid var(--line); border-radius: 24px; background: #0a101a; box-shadow: var(--shadow); overflow: hidden; }

.auth-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 44px;
  background:
    radial-gradient(500px 380px at 80% 12%, rgba(139, 107, 255, 0.28), transparent 58%),
    radial-gradient(420px 360px at 10% 90%, rgba(35, 226, 197, 0.18), transparent 58%),
    linear-gradient(150deg, #121c2e, #080c14);
  overflow: hidden;
}

.auth-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(120, 160, 210, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(120, 160, 210, 0.05) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
}

.auth-visual > * { position: relative; }
.auth-visual h2 { margin-top: 40px; font-size: 34px; line-height: 1.4; font-weight: 800; letter-spacing: -0.03em; }
.auth-visual h2 em { font-style: normal; color: var(--cyan); }
.auth-visual p { max-width: 340px; margin-top: 14px; color: var(--muted); font-size: 12.5px; line-height: 1.9; }
.auth-points { display: grid; gap: 10px; margin-top: 34px; }
.auth-point { display: flex; align-items: center; gap: 10px; color: var(--text-2); font-size: 11.5px; }
.auth-point span { display: grid; place-items: center; width: 20px; height: 20px; border: 1px solid rgba(35, 226, 197, 0.25); border-radius: 50%; color: var(--cyan); font-size: 9px; }
.auth-quote { margin-top: auto; padding-top: 30px; color: var(--dim); font-family: var(--display); font-size: 9px; letter-spacing: 0.16em; }

.auth-panel { padding: 46px 50px; background: #0b111c; }
.auth-panel-head { margin-bottom: 28px; }
.auth-panel-head h1 { font-size: 25px; font-weight: 800; letter-spacing: -0.02em; }
.auth-panel-head p { margin-top: 7px; color: var(--dim); font-size: 11.5px; }
.auth-tabs { display: flex; gap: 24px; margin-bottom: 26px; border-bottom: 1px solid var(--line); }
.auth-tab { position: relative; padding: 0 0 12px; border: 0; background: none; color: var(--dim); font-size: 13px; font-weight: 600; }
.auth-tab.active { color: var(--text); }
.auth-tab.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--cyan); }

.form-group { margin-bottom: 16px; }
.form-label { display: flex; align-items: center; justify-content: space-between; margin-bottom: 7px; color: var(--muted); font-size: 10.5px; }
.form-label span { color: var(--dim); font-size: 9.5px; }
.form-control { width: 100%; height: 44px; padding: 0 13px; border: 1px solid var(--line); border-radius: 8px; outline: 0; background: rgba(255, 255, 255, 0.025); color: var(--text); font-size: 13px; transition: border-color 0.2s, background 0.2s, box-shadow 0.2s; }
.form-control::placeholder { color: var(--dim); }
.form-control:focus { border-color: rgba(35, 226, 197, 0.45); background: rgba(35, 226, 197, 0.03); box-shadow: 0 0 0 3px rgba(35, 226, 197, 0.06); }
textarea.form-control { height: auto; min-height: 100px; padding: 11px 13px; resize: vertical; line-height: 1.7; }
select.form-control { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 17px) 19px, calc(100% - 12px) 19px; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-hint { margin-top: 6px; color: var(--dim); font-size: 9.5px; }
.form-error { display: none; margin-bottom: 12px; padding: 9px 11px; border: 1px solid rgba(255, 93, 122, 0.25); border-radius: 6px; background: rgba(255, 93, 122, 0.06); color: #ff9db0; font-size: 10.5px; }
.form-error.show { display: block; }

.demo-box { margin-top: 19px; padding: 12px 14px; border: 1px dashed rgba(35, 226, 197, 0.22); border-radius: 8px; background: rgba(35, 226, 197, 0.035); }
.demo-box small { display: block; color: var(--dim); font-size: 9px; letter-spacing: 0.08em; }
.demo-box div { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 5px; }
.demo-box code { color: var(--cyan); font-family: var(--display); font-size: 11px; letter-spacing: 0.03em; }
.demo-box button { border: 0; background: none; color: var(--text-2); font-size: 9.5px; text-decoration: underline; text-underline-offset: 3px; }
.demo-box button:hover { color: var(--cyan); }

.auth-switch { margin-top: 22px; color: var(--dim); font-size: 11px; text-align: center; }
.auth-switch a { color: var(--cyan); }

/* ---------- 代售页 ---------- */
.consign-page { padding: 40px 0 88px; }
.consign-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 24px; align-items: start; }
.consign-form-panel { border: 1px solid var(--line); border-radius: 18px; background: rgba(13, 20, 32, 0.65); overflow: hidden; }
.consign-form-head { padding: 24px 28px; border-bottom: 1px solid var(--line); background: linear-gradient(120deg, rgba(35, 226, 197, 0.04), transparent); }
.consign-form-head h2 { font-size: 18px; font-weight: 800; }
.consign-form-head p { margin-top: 6px; color: var(--dim); font-size: 11px; }
.consign-form-body { padding: 28px; }
.form-section { margin-bottom: 30px; }
.form-section:last-child { margin-bottom: 0; }
.form-section-title { display: flex; align-items: center; gap: 10px; margin-bottom: 17px; font-size: 12px; font-weight: 700; }
.form-section-title span { display: grid; place-items: center; width: 21px; height: 21px; border: 1px solid rgba(35, 226, 197, 0.25); border-radius: 5px; color: var(--cyan); font-family: var(--display); font-size: 9px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }

.fee-calculator { margin-top: 9px; padding: 14px 16px; border: 1px solid rgba(255, 196, 107, 0.16); border-radius: 9px; background: rgba(255, 196, 107, 0.035); }
.fee-row { display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 10.5px; }
.fee-row + .fee-row { margin-top: 6px; }
.fee-row strong { color: var(--gold); font-family: var(--display); font-size: 13px; }

.consign-side { display: grid; gap: 14px; }
.side-card { padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: rgba(13, 20, 32, 0.67); }
.side-card h3 { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.side-card h3 i { width: 3px; height: 12px; border-radius: 2px; background: var(--cyan); }
.side-card p { margin-top: 11px; color: var(--muted); font-size: 11px; line-height: 1.9; }
.side-steps { margin-top: 17px; }
.side-step { position: relative; display: flex; gap: 12px; padding-bottom: 18px; }
.side-step:last-child { padding-bottom: 0; }
.side-step::before { content: ""; position: absolute; top: 20px; left: 9px; bottom: 0; width: 1px; background: var(--line); }
.side-step:last-child::before { display: none; }
.side-step span { display: grid; place-items: center; width: 19px; height: 19px; border: 1px solid rgba(35, 226, 197, 0.25); border-radius: 50%; color: var(--cyan); font-family: var(--display); font-size: 8px; flex: none; }
.side-step strong { display: block; font-size: 11px; }
.side-step small { display: block; margin-top: 2px; color: var(--dim); font-size: 9.5px; }

.faq-list { margin-top: 14px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 13px 0; border: 0; background: none; color: var(--text-2); font-size: 11px; text-align: left; }
.faq-q i { color: var(--dim); font-style: normal; transition: transform 0.2s; }
.faq-item.open .faq-q i { transform: rotate(45deg); color: var(--cyan); }
.faq-a { display: none; padding: 0 0 13px; color: var(--dim); font-size: 10.5px; line-height: 1.9; }
.faq-item.open .faq-a { display: block; }

/* ---------- 用户中心 ---------- */
.user-page { padding: 34px 0 80px; }
.user-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 24px; align-items: start; }
.user-side { position: sticky; top: 96px; border: 1px solid var(--line); border-radius: 16px; background: rgba(13, 20, 32, 0.7); overflow: hidden; }
.user-profile { padding: 22px; border-bottom: 1px solid var(--line); text-align: center; }
.user-profile .avatar { width: 54px; height: 54px; margin: 0 auto 10px; border-radius: 14px; font-size: 19px; }
.user-profile strong { display: block; font-size: 14px; }
.user-profile small { display: block; margin-top: 3px; color: var(--dim); font-family: var(--display); font-size: 10px; letter-spacing: 0.05em; }
.user-balance { margin-top: 13px; padding: 10px; border: 1px solid rgba(255, 196, 107, 0.13); border-radius: 8px; background: rgba(255, 196, 107, 0.04); }
.user-balance small { display: block; color: var(--dim); font-size: 9px; }
.user-balance b { display: block; margin-top: 2px; color: var(--gold); font-family: var(--display); font-size: 20px; }
.user-nav { padding: 9px; }
.user-nav button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border: 0; border-radius: 7px; background: none; color: var(--muted); font-size: 11.5px; text-align: left; transition: 0.2s; }
.user-nav button:hover { background: rgba(255, 255, 255, 0.035); color: var(--text); }
.user-nav button.active { background: rgba(35, 226, 197, 0.08); color: var(--cyan); }
.user-nav button span { margin-left: auto; color: var(--dim); font-family: var(--display); font-size: 9px; }
.user-nav .logout { color: var(--dim); border-top: 1px solid var(--line); border-radius: 0; margin-top: 8px; padding-top: 13px; }

.user-main { min-width: 0; }
.user-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 20px; }
.user-head h1 { font-size: 23px; font-weight: 800; letter-spacing: -0.02em; }
.user-head p { margin-top: 4px; color: var(--dim); font-size: 11px; }

.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.stat-card { position: relative; padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: rgba(13, 20, 32, 0.65); overflow: hidden; }
.stat-card::after { content: ""; position: absolute; right: -20px; bottom: -30px; width: 80px; height: 80px; border-radius: 50%; background: radial-gradient(circle, rgba(35, 226, 197, 0.1), transparent 70%); }
.stat-card small { color: var(--dim); font-size: 9.5px; }
.stat-card strong { display: block; margin-top: 7px; font-family: var(--display); font-size: 24px; font-weight: 800; }
.stat-card strong em { color: var(--cyan); font-style: normal; font-size: 12px; margin-left: 3px; }

.panel-block { margin-top: 18px; border: 1px solid var(--line); border-radius: 14px; background: rgba(13, 20, 32, 0.62); overflow: hidden; }
.panel-block-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.panel-block-head h2 { font-size: 13px; font-weight: 700; }
.panel-block-link { border: 0; background: none; color: var(--dim); font-size: 10px; }
.panel-block-link:hover { color: var(--cyan); }
.panel-block-body { padding: 5px 20px; }

.order-list { padding: 5px 0; }
.order-item { display: grid; grid-template-columns: 1fr auto; gap: 10px 18px; padding: 15px 0; border-bottom: 1px solid rgba(151, 174, 208, 0.08); }
.order-item:last-child { border-bottom: 0; }
.order-name { font-size: 12px; font-weight: 600; }
.order-meta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 5px; color: var(--dim); font-family: var(--display); font-size: 9.5px; }
.order-price { color: var(--gold); font-family: var(--display); font-size: 15px; font-weight: 700; text-align: right; }
.order-actions { display: flex; justify-content: flex-end; gap: 7px; margin-top: 7px; }

.status-pill { display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px; border-radius: 4px; background: rgba(255, 255, 255, 0.05); color: var(--muted); font-size: 9px; }
.status-pill::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
.status-pill.pending { background: rgba(255, 196, 107, 0.08); color: var(--gold); }
.status-pill.paid, .status-pill.delivering { background: rgba(98, 182, 255, 0.08); color: #7cc4ff; }
.status-pill.completed, .status-pill.listed, .status-pill.paid { background: rgba(85, 223, 146, 0.08); color: var(--green); }
.status-pill.cancelled, .status-pill.refund, .status-pill.rejected { background: rgba(255, 93, 122, 0.08); color: #ff8da2; }
.status-pill.reviewing, .status-pill.sold { background: rgba(139, 107, 255, 0.1); color: #b0a1ff; }

.data-table { width: 100%; font-size: 11px; }
.data-table th { padding: 11px 12px; border-bottom: 1px solid var(--line); color: var(--dim); font-size: 9.5px; font-weight: 500; text-align: left; letter-spacing: 0.04em; }
.data-table td { padding: 13px 12px; border-bottom: 1px solid rgba(151, 174, 208, 0.06); color: var(--text-2); }
.data-table tr:last-child td { border-bottom: 0; }
.data-table .muted { color: var(--dim); font-family: var(--display); font-size: 9.5px; }
.table-wrap { width: 100%; overflow-x: auto; }

.user-section { display: none; }
.user-section.active { display: block; animation: fadeIn 0.3s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }

.asset-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 14px; }
.asset-hero { padding: 26px; border: 1px solid rgba(255, 196, 107, 0.16); border-radius: 14px; background: radial-gradient(300px 200px at 80% 10%, rgba(255, 196, 107, 0.1), transparent 65%), rgba(13, 20, 32, 0.7); }
.asset-hero small { color: var(--dim); font-size: 10px; }
.asset-hero strong { display: block; margin-top: 6px; color: #ffd18b; font-family: var(--display); font-size: 38px; font-weight: 800; }
.asset-hero .btn { margin-top: 17px; }
.asset-tips { padding: 24px; border: 1px solid var(--line); border-radius: 14px; background: rgba(13, 20, 32, 0.62); }
.asset-tips h3 { font-size: 12px; }
.asset-tips li { position: relative; padding-left: 13px; margin-top: 9px; color: var(--dim); font-size: 10.5px; line-height: 1.8; }
.asset-tips li::before { content: ""; position: absolute; top: 7px; left: 0; width: 3px; height: 3px; border-radius: 50%; background: var(--cyan); }

/* ---------- 通用弹窗 / Toast ---------- */
.modal-backdrop { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; background: rgba(3, 6, 11, 0.76); backdrop-filter: blur(7px); opacity: 0; visibility: hidden; transition: 0.25s; }
.modal-backdrop.show { opacity: 1; visibility: visible; }
.modal { width: min(460px, 100%); border: 1px solid var(--line-strong); border-radius: 16px; background: #0d1522; box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55); transform: translateY(12px) scale(0.98); transition: 0.25s; }
.modal-backdrop.show .modal { transform: none; }
.modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; padding: 20px 22px 14px; }
.modal-head h3 { font-size: 16px; font-weight: 800; }
.modal-head p { margin-top: 4px; color: var(--dim); font-size: 10.5px; }
.modal-close { display: grid; place-items: center; width: 27px; height: 27px; border: 1px solid var(--line); border-radius: 6px; background: none; color: var(--dim); font-size: 15px; line-height: 1; }
.modal-close:hover { color: var(--text); border-color: var(--line-strong); }
.modal-body { padding: 4px 22px 20px; }
.modal-foot { display: flex; justify-content: flex-end; gap: 8px; padding: 15px 22px; border-top: 1px solid var(--line); }
.modal-product { display: flex; gap: 12px; padding: 12px; border: 1px solid var(--line); border-radius: 9px; background: rgba(255, 255, 255, 0.02); }
.modal-product .cover { width: 70px; height: 58px; border-radius: 6px; flex: none; }
.modal-product .cover-mark { font-size: 50px; bottom: -12px; }
.modal-product strong { display: block; font-size: 11.5px; line-height: 1.5; }
.modal-product small { display: block; margin-top: 4px; color: var(--dim); font-size: 9.5px; }
.modal-price { margin-left: auto; color: var(--gold); font-family: var(--display); font-size: 15px; font-weight: 700; white-space: nowrap; }
.modal-summary { margin-top: 13px; }
.modal-summary div { display: flex; justify-content: space-between; padding: 7px 0; color: var(--muted); font-size: 11px; }
.modal-summary div:last-child { padding-top: 11px; margin-top: 5px; border-top: 1px dashed var(--line); }
.modal-summary strong { color: var(--gold); font-family: var(--display); font-size: 18px; }

.toast-stack { position: fixed; top: 22px; right: 22px; z-index: 200; display: grid; gap: 8px; }
.toast { display: flex; align-items: center; gap: 9px; min-width: 240px; max-width: 360px; padding: 12px 15px; border: 1px solid var(--line-strong); border-radius: 9px; background: #101a29; box-shadow: var(--shadow); color: var(--text-2); font-size: 11.5px; animation: toastIn 0.25s ease; }
.toast::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); flex: none; }
.toast.error::before { background: var(--danger); box-shadow: 0 0 8px var(--danger); }
.toast.success::before { background: var(--green); box-shadow: 0 0 8px var(--green); }
@keyframes toastIn { from { opacity: 0; transform: translateY(-8px); } }

.about-story { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.help-steps { grid-template-columns: repeat(4, 1fr); margin-top: 24px; }
.safety-grid { grid-template-columns: repeat(4, 1fr); }

/* ---------- 动画 ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1180px) {
  .header-search { display: none; }
  .hero-inner { gap: 30px; }
  .hero-stage { height: 520px; transform: scale(0.92); transform-origin: center right; }
  .game-grid { grid-template-columns: repeat(4, 1fr); }
  .account-grid { grid-template-columns: repeat(3, 1fr); }
  .account-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
  .market-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { gap: 28px; }
}

@media (max-width: 980px) {
  .main-nav { display: none; }
  .menu-toggle { display: block; }
  .header-inner { height: 66px; gap: 14px; }
  .mobile-nav.open { display: block; }
  .hero { padding: 42px 0 56px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-stage { display: none; }
  .hero h1 { max-width: 660px; }
  .hero-sub { max-width: 560px; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .game-grid { grid-template-columns: repeat(2, 1fr); }
  .account-grid { grid-template-columns: repeat(2, 1fr); }
  .live-grid { grid-template-columns: 1fr; }
  .consign-band { padding: 34px; }
  .consign-band-inner { grid-template-columns: 1fr; gap: 28px; }
  .about-story { grid-template-columns: 1fr; gap: 26px; }
  .help-steps, .safety-grid { grid-template-columns: 1fr 1fr; }
  .guarantee-grid, .review-grid { grid-template-columns: 1fr; }
  .review-grid { gap: 10px; }
  .footer-top { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-col:last-child { grid-column: 1 / -1; max-width: 320px; }
  .market-layout { grid-template-columns: 1fr; }
  .filter-panel { position: static; }
  .filter-groups { display: none; }
  .filter-panel.mobile-open .filter-groups { display: grid; grid-template-columns: 1fr 1fr; }
  .filter-head { cursor: pointer; }
  .detail-top { grid-template-columns: 1fr; gap: 24px; }
  .detail-art .cover { height: 360px; }
  .detail-body { grid-template-columns: 1fr; }
  .auth-wrap { grid-template-columns: 1fr; width: min(520px, 100%); }
  .auth-visual { display: none; }
  .auth-panel { padding: 40px; }
  .consign-layout { grid-template-columns: 1fr; }
  .consign-side { grid-template-columns: 1fr 1fr; }
  .user-layout { grid-template-columns: 1fr; }
  .user-side { position: static; }
  .user-profile { display: flex; align-items: center; gap: 13px; text-align: left; padding: 15px 18px; }
  .user-profile .avatar { margin: 0; width: 42px; height: 42px; font-size: 15px; }
  .user-balance { margin: 0 0 0 auto; padding: 7px 12px; min-width: 96px; }
  .user-balance b { font-size: 15px; }
  .user-nav { display: flex; overflow-x: auto; gap: 4px; padding: 7px; }
  .user-nav button { white-space: nowrap; width: auto; padding: 8px 11px; }
  .user-nav button span { display: none; }
  .user-nav .logout { margin: 0; border: 0; padding: 8px 11px; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .asset-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .container { width: calc(100% - 32px); }
  .auth-actions { display: none; }
  .topbar-links { display: none; }
  .topbar-inner { justify-content: center; }
  .section { padding: 60px 0; }
  .section-head { align-items: flex-start; flex-direction: column; gap: 14px; }
  .hero { padding: 34px 0 44px; }
  .hero h1 { font-size: 40px; margin-top: 18px; }
  .hero-sub { font-size: 13px; }
  .hero-actions .btn { flex: 1; }
  .hero-metrics { margin-top: 32px; padding-top: 20px; }
  .hero-metric { padding-right: 17px; margin-right: 17px; }
  .hero-metric strong { font-size: 22px; }
  .hero-metric small { font-size: 9.5px; }
  .game-card { height: 142px; padding: 16px; }
  .game-card h3 { margin-top: 27px; font-size: 17px; }
  .game-mark { font-size: 112px; bottom: -30px; }
  .account-grid, .account-grid.cols-3 { grid-template-columns: 1fr 1fr; gap: 10px; }
  .cover { height: 140px; }
  .cover-mark { font-size: 118px; bottom: -24px; }
  .cover-en { display: none; }
  .cover-badges { display: none; }
  .account-body { padding: 11px 11px 12px; }
  .account-title { font-size: 12px; min-height: 38px; }
  .account-sub { font-size: 9.5px; }
  .account-specs { display: none; }
  .price { font-size: 20px; }
  .buy-mini { height: 27px; padding: 0 8px; font-size: 10px; }
  .section-title { font-size: 27px; }
  .trust-item { padding: 17px 15px; gap: 9px; }
  .trust-icon { width: 32px; height: 32px; border-radius: 8px; }
  .trust-icon svg { width: 15px; height: 15px; }
  .trust-item strong { font-size: 11.5px; }
  .trust-item small { font-size: 9px; }
  .consign-band { padding: 24px; border-radius: 18px; }
  .consign-band h2 { font-size: 25px; }
  .consign-actions { flex-wrap: wrap; gap: 12px; }
  .consign-steps { gap: 8px; }
  .consign-step { padding: 14px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 26px; padding: 38px 0 30px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-col:last-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
  .footer-bottom-links { flex-wrap: wrap; gap: 12px; }
  .market-grid { gap: 10px; }
  .market-toolbar { flex-wrap: wrap; gap: 8px; padding: 11px 12px; }
  .sort-tabs { width: 100%; overflow-x: auto; }
  .sort-tab { white-space: nowrap; }
  .filter-panel.mobile-open .filter-groups { grid-template-columns: 1fr; }
  .detail-art .cover { height: 280px; }
  .detail-art .cover-mark { font-size: 220px; bottom: -60px; }
  .detail-art-caption { left: 18px; right: 18px; bottom: 54px; }
  .detail-art-caption h2 { font-size: 19px; }
  .detail-art-caption small { font-size: 8px; }
  .spec-grid { grid-template-columns: 1fr 1fr; }
  .detail-body { margin-top: 26px; }
  .content-body { padding: 20px 17px; }
  .content-panel-head { padding: 0 17px; gap: 14px; }
  .auth-page { padding: 24px 0 50px; }
  .auth-panel { padding: 28px 22px; }
  .auth-wrap { min-height: 0; border-radius: 18px; }
  .form-row { grid-template-columns: 1fr; }
  .consign-form-body { padding: 20px 18px; }
  .consign-form-head { padding: 20px 18px; }
  .consign-side { grid-template-columns: 1fr; }
  .page-hero { padding: 30px 0 26px; }
  .consign-page, .user-page, .market-wrap { padding-top: 24px; }
  .stat-grid { gap: 8px; }
  .stat-card { padding: 14px; }
  .stat-card strong { font-size: 20px; }
  .panel-block-body { padding: 4px 14px; }
  .panel-block-head { padding: 14px; }
  .user-head h1 { font-size: 20px; }
  .order-item { grid-template-columns: 1fr; gap: 5px; }
  .order-price { text-align: left; }
  .order-actions { justify-content: flex-start; }
  .toast-stack { left: 16px; right: 16px; top: 16px; }
  .toast { min-width: 0; width: 100%; }
  .modal { border-radius: 14px; }
}

@media (max-width: 480px) {
  .account-grid, .account-grid.cols-3 { grid-template-columns: 1fr 1fr; }
  .cover { height: 118px; }
  .cover-game { top: 9px; left: 9px; font-size: 9px; padding: 3px 6px; }
  .cover-views { display: none; }
  .cover-mark { font-size: 96px; bottom: -18px; }
  .cover-orb { width: 74px; height: 74px; top: 38px; right: 12px; }
  .account-title { font-size: 11.5px; }
  .price { font-size: 18px; }
  .price-old { display: none; }
  .hero h1 { font-size: 34px; }
  .hero-metrics { flex-wrap: wrap; gap: 16px 0; }
  .game-grid { gap: 9px; }
  .game-card { height: 128px; padding: 13px; }
  .game-card h3 { font-size: 15px; margin-top: 22px; }
  .game-card p { font-size: 7.5px; }
  .game-mark { font-size: 92px; }
  .section-title { font-size: 24px; }
}
