﻿/* =============================================
   DEFIER Official Site — Apple/Google Light Style
   ============================================= */

:root {
  --white: #ffffff;
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --ink: #1d1d1f;
  --ink-secondary: #6e6e73;
  --ink-tertiary: #86868b;
  --accent: #c2903f;
  --accent-hover: #ad7f31;
  --accent-light: #fdf7ec;
  --green: #34c759;
  --red: #ff3b30;
  --border: rgba(0, 0, 0, 0.08);
  --border-strong: rgba(0, 0, 0, 0.12);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.1);
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --max-width: 1120px;
  --font: "Inter", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  --transition: 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
}

/* ===== RESET ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

/* ===== CONTAINER ===== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 52px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.brand-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), #e0b46a);
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-secondary);
  transition: color var(--transition);
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-cta {
  padding: 6px 16px;
  border-radius: 980px;
  background: var(--accent);
  color: var(--white) !important;
  font-weight: 600 !important;
  transition: background var(--transition), transform var(--transition);
}

.nav-cta:hover {
  background: var(--accent-hover) !important;
  transform: scale(1.02);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 980px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(194, 144, 63, 0.3);
}

.btn-ghost {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--border-strong);
}

.btn-ghost:hover {
  background: var(--bg-alt);
  border-color: var(--ink-tertiary);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 17px;
}

/* ===== HERO ===== */
.hero {
  padding: 140px 0 80px;
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(194, 144, 63, 0.06) 0%, transparent 60%),
    var(--bg);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 980px;
  background: var(--accent-light);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(40px, 8vw, 80px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
}

.hero-title1 {
  font-size: clamp(30px, 6vw, 60px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
}

.hero-line1 {
  display: block;
}

.hero-line2 {
  display: block;
  background: linear-gradient(135deg, var(--accent), #e0b46a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 18px;
  color: var(--ink-secondary);
  max-width: 680px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-bottom: 60px;
}

.hero-metrics {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  padding: 32px 48px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  max-width: 720px;
  margin: 0 auto;
}

.hero-metric {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.hero-metric-value {
  font-size: 42px;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--ink);
}

.hero-metric-unit {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
}

.hero-metric-label {
  font-size: 12px;
  color: var(--ink-tertiary);
  font-weight: 500;
}

.hero-metric-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
}

/* ===== SECTIONS ===== */
.section {
  padding: 100px 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 60px;
}

.section-eyebrow {
  display: inline-flex;
  padding: 4px 12px;
  border-radius: 980px;
  background: var(--accent-light);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 17px;
  color: var(--ink-secondary);
  line-height: 1.6;
}

/* ===== FEATURES GRID ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  padding: 36px 28px;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.feature-card:hover {
  border-color: rgba(194, 144, 63, 0.2);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--accent);
}

.feature-icon svg {
  width: 24px;
  height: 24px;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.feature-card p {
  font-size: 14px;
  color: var(--ink-secondary);
  line-height: 1.65;
}

/* ===== HOW IT WORKS — STEPS ===== */
.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  margin-bottom: 64px;
}

.step {
  flex: 1;
  max-width: 220px;
  text-align: center;
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  font-size: 16px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.step-content h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.step-content p {
  font-size: 13px;
  color: var(--ink-secondary);
  line-height: 1.6;
}

.step-arrow {
  display: flex;
  align-items: center;
  padding-top: 12px;
  color: var(--ink-tertiary);
  flex-shrink: 0;
}

.step-arrow svg {
  width: 24px;
  height: 24px;
}

/* ===== DIAGRAM ===== */
.diagram {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 40px 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.diagram-box {
  padding: 24px 28px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-strong);
  background: var(--bg-alt);
  text-align: center;
  min-width: 180px;
}

.diagram-box-accent {
  border-color: var(--accent);
  background: var(--accent-light);
}

.diagram-label {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 12px;
}

.diagram-items {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.diagram-items span {
  font-size: 12px;
  color: var(--ink-secondary);
}

.diagram-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 0 8px;
}

.diagram-line {
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, var(--border-strong), var(--accent), var(--border-strong));
  border-radius: 1px;
}

.diagram-tags {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.diagram-tags span {
  font-size: 10px;
  color: var(--ink-tertiary);
  white-space: nowrap;
}

/* ===== SAFETY COMPARE ===== */
.compare {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  margin-bottom: 48px;
  background: var(--white);
}

.compare-header {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}

.compare-col-label {
  padding: 16px 20px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.compare-col-label.compare-us {
  color: var(--accent);
}

.compare-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  border-bottom: 1px solid var(--border);
}

.compare-row:last-child {
  border-bottom: none;
}

.compare-item {
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.compare-cell {
  padding: 14px 20px;
  font-size: 14px;
  line-height: 1.5;
}

.compare-cell.compare-them {
  color: var(--ink-tertiary);
}

.compare-cell.compare-us {
  color: var(--ink);
  font-weight: 500;
  background: rgba(194, 144, 63, 0.03);
}

/* ===== SAFETY GRID ===== */
.safety-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.safety-card {
  padding: 24px;
  border-radius: var(--radius-sm);
  background: var(--white);
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.safety-card:hover {
  border-color: rgba(194, 144, 63, 0.2);
  box-shadow: var(--shadow-sm);
}

.safety-card h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 6px;
}

.safety-card p {
  font-size: 13px;
  color: var(--ink-secondary);
  line-height: 1.55;
}

/* ===== SPECS ===== */
.specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.spec-group {
  padding: 32px;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid var(--border);
}

.spec-group h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  font-size: 14px;
}

.spec-row:last-child {
  border-bottom: none;
}

.spec-row span:first-child {
  color: var(--ink-secondary);
  font-weight: 500;
}

.spec-row span:last-child {
  font-weight: 600;
  color: var(--ink);
}

/* ===== GAMES ===== */
.games-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.game-card {
  padding: 24px 16px;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid var(--border);
  text-align: center;
  transition: all var(--transition);
}

.game-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.game-name {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}

.game-sub {
  font-size: 13px;
  color: var(--ink-tertiary);
}

.games-note {
  text-align: center;
  margin-top: 28px;
  font-size: 15px;
  color: var(--ink-secondary);
  line-height: 1.6;
}

/* ===== PACKAGE ===== */
.package-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.package-item {
  text-align: center;
  padding: 32px 16px;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid var(--border);
}

.package-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  color: var(--accent);
}

.package-icon svg {
  width: 48px;
  height: 48px;
  stroke-width: 1;
}

.package-name {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
}

.package-desc {
  font-size: 12px;
  color: var(--ink-tertiary);
}

/* ===== FAQ ===== */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item summary {
  padding: 20px 0;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color var(--transition);
}

.faq-item summary:hover {
  color: var(--accent);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 22px;
  font-weight: 300;
  color: var(--ink-tertiary);
  transition: transform var(--transition);
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 0 20px;
}

.faq-answer p {
  font-size: 15px;
  color: var(--ink-secondary);
  line-height: 1.7;
}

/* ===== CTA ===== */
.section-cta {
  background:
    radial-gradient(ellipse at 50% 100%, rgba(194, 144, 63, 0.09) 0%, transparent 60%),
    var(--bg);
}

.cta-inner {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.cta-inner h2 {
  font-size: clamp(32px, 6vw, 56px);
  font-weight: 900;
  letter-spacing: -0.04em;
  margin-bottom: 16px;
}

.cta-inner > p {
  font-size: 18px;
  color: var(--ink-secondary);
  margin-bottom: 36px;
  line-height: 1.6;
}

.cta-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin-bottom: 32px;
}

.cta-price-symbol {
  font-size: 24px;
  font-weight: 700;
  color: var(--ink);
}

.cta-price-value {
  font-size: 64px;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--ink);
}

.cta-price-note {
  font-size: 14px;
  color: var(--ink-tertiary);
  margin-left: 8px;
}

.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-bottom: 28px;
}

.cta-guarantee {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.cta-guarantee span {
  font-size: 13px;
  color: var(--ink-secondary);
  font-weight: 500;
}

/* ===== FOOTER ===== */
.footer {
  padding: 32px 0;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 16px;
}

.footer-brand small {
  color: var(--ink-tertiary);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer-copy {
  font-size: 12px;
  color: var(--ink-tertiary);
}

/* ===== REVEAL ANIMATION ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== UTILITIES ===== */
.hide-mobile {
  display: inline;
}

/* =============================================
   悬浮 QQ 群联系方式 (Floating Action Button)
   ============================================= */

.floating-qq {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

/* 蓝色悬浮按钮 */
.qq-trigger {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #c2903f, #e0b46a);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(194, 144, 63,0.35);
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
  position: relative;
  z-index: 2;
}

.floating-qq:hover .qq-trigger {
  transform: scale(1.08);
  box-shadow: 0 12px 28px rgba(194, 144, 63, 0.45);
}

/* 毛玻璃展示卡片 */
.qq-card {
  position: absolute;
  bottom: 72px;
  right: 0;
  width: 220px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  
  /* 初始隐藏状态：向下偏移并缩小 */
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px) scale(0.95);
  transform-origin: bottom right;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* 带有轻微回弹的动画 */
  z-index: 1;
}

/* 鼠标悬停整体区域时显示卡片 */
.floating-qq:hover .qq-card {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

/* 二维码图片 */
.qq-qr img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin-bottom: 16px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.qq-text {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-secondary);
  margin-bottom: 4px;
}

/* QQ群号与复制提示 */
.qq-number {
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 16px;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  position: relative;
  transition: color 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.qq-number:hover {
  color: var(--accent);
}

.copy-hint {
  font-size: 10px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-light);
  padding: 2px 8px;
  border-radius: 99px;
  opacity: 0;
  transform: translateY(5px);
  transition: all 0.2s ease;
}

.qq-number:hover .copy-hint {
  opacity: 1;
  transform: translateY(0);
}

/* 一键加群按钮 */
.qq-join-btn {
  display: block;
  width: 100%;
  padding: 10px 0;
  background: var(--bg-alt);
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
  border-radius: 99px;
  transition: background 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

.qq-join-btn:hover {
  background: var(--accent);
  color: white;
  transform: translateY(-2px);
}

.qq-join-btn:active {
  transform: translateY(0);
}



/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .safety-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .package-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .games-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .steps {
    flex-wrap: wrap;
    gap: 8px;
  }

  .step-arrow {
    display: none;
  }

  .step {
    max-width: none;
    flex: 0 0 calc(50% - 8px);
  }

  .diagram {
    flex-direction: column;
    gap: 16px;
  }

  .diagram-connector {
    transform: rotate(90deg);
    padding: 8px 0;
  }
}

@media (min-width: 768px) {
    .hero-actions img{
        max-width: 60px;margin-right: 30px;
    }
}
@media (max-width: 768px) {
    .hero-actions img{
        max-width: 80px;
    }
  .container {
    padding: 0 20px;
  }

 .nav-links {
    /* 移除 display: none，改为 flex 布局配合透明度隐藏 */
    display: flex;
    position: fixed;
    height: 100vh;
    top: 52px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start; /* 从顶部往下排，比居中更自然 */
    padding-top: 10vh; /* 顶部留白 */
    gap: 16px;
    
    /* 核心动画属性：渐显并带有轻微的下拉效果 */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s;
  }

  .nav-links.open {
    /* 展开状态 */
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-links a {
    font-size: 18px;
    font-weight: 600;
    width: 100%;
    text-align: center;
    padding: 12px 20px; /* 增加点击区域大小 */
    transition: transform 0.2s ease, color 0.2s ease;
  }
  
  .nav-links a:active {
    transform: scale(0.96); /* 手机端点击按下时的微缩放反馈 */
  }

  /* 针对移动端优化购买/Pro按钮的样式 */
  .nav-links a.nav-cta {
    width: auto;
    min-width: 200px;
    padding: 14px 24px;
    margin-top: 12px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle.open span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero {
    padding: 120px 0 60px;
  }

  .hero-sub {
    font-size: 16px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
  }

  .hero-metrics {
    flex-wrap: wrap;
    gap: 20px;
    padding: 24px;
  }

  .hero-metric-divider {
    display: none;
  }

  .hero-metric {
    flex: 0 0 calc(50% - 12px);
  }

  .hero-metric-value {
    font-size: 36px;
  }

  .section {
    padding: 64px 0;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .safety-grid {
    grid-template-columns: 1fr;
  }

  .specs-grid {
    grid-template-columns: 1fr;
  }

  .package-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .games-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .compare-header,
  .compare-row {
    grid-template-columns: 0.8fr 1fr 1fr;
  }

  .compare-col-label,
  .compare-item,
  .compare-cell {
    padding: 10px 12px;
    font-size: 12px;
  }

  .step {
    flex: 0 0 100%;
  }

  .diagram-box {
    min-width: auto;
    width: 100%;
  }

  .cta-price-value {
    font-size: 48px;
  }

  .cta-price-note {
    display: block;
    margin-left: 0;
    margin-top: 4px;
  }

  .cta-price {
    flex-wrap: wrap;
  }

  .cta-actions {
    flex-direction: column;
    align-items: center;
  }

  .cta-guarantee {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .hide-mobile {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 36px;
  }

  .section-title {
    font-size: 26px;
  }

  .package-grid {
    grid-template-columns: 1fr;
  }
}


/* ================= 针对新增公告栏板块的补充样式 ================= */
.announcement-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 860px;
    margin: 0 auto;
}

/* 修改原有的 .announcement-item 对齐方式 */
.announcement-item {
    display: flex;
    align-items: center; 
    justify-content: space-between;
    padding: 20px 28px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: all var(--transition);
    cursor: pointer;
}

/* 保持日期样式不变，但限制最小宽度以对齐 */
.announcement-date {
    font-size: 14px;
    color: var(--accent);
    font-weight: 700;
    flex-shrink: 0;
    width: 120px;
    letter-spacing: 0.02em;
}

/* 新增：包裹标题和简介的文本容器 */
.announcement-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px; /* 标题与简介之间的间距 */
    padding-right: 20px;
    overflow: hidden;
}

/* 调整标题样式（替代原 .announcement-content） */
.announcement-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 新增：简介描述样式 */
.announcement-desc {
    font-size: 13px;
    color: var(--ink-secondary);
    line-height: 1.5;
    /* CSS 实现超过两行自动省略号 */
    display: -webkit-box;
    -webkit-line-clamp: 2; 
    -webkit-box-orient: vertical;
    overflow: hidden;
    white-space: normal;
}

/* 移动端适配调整 */
@media (max-width: 768px) {
    .announcement-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 16px 20px;
    }
    .announcement-date {
        width: auto;
        font-size: 12px;
    }
    .announcement-text {
        padding-right: 0;
    }
}
/* =============================================
   详情页专属样式 (Article Detail)
   ============================================= */
.page-header {
    padding: 120px 0 40px;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
    text-align: center;
}

.breadcrumb {
    font-size: 13px;
    color: var(--ink-tertiary);
    margin-bottom: 24px;
    font-weight: 500;
}

.breadcrumb a {
    color: var(--ink-secondary);
    transition: color var(--transition);
}

.breadcrumb a:hover {
    color: var(--accent);
}

.article-title {
    font-size: clamp(28px, 5vw, 42px);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--ink);
    max-width: 860px;
    margin: 0 auto 20px;
    line-height: 1.2;
}

.article-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    font-size: 13px;
    color: var(--ink-tertiary);
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* 详情正文区域 */
.article-body {
    padding: 60px 0 100px;
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.8;
    color: var(--ink);
}

.article-content p {
    margin-bottom: 24px;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    margin: 32px 0;
    border: 1px solid var(--border);
}

.article-content h2, 
.article-content h3 {
    font-weight: 700;
    color: var(--ink);
    margin: 48px 0 16px;
    letter-spacing: -0.01em;
}

.article-content h2 { font-size: 24px; }
.article-content h3 { font-size: 20px; }

.article-content ul, 
.article-content ol {
    margin-bottom: 24px;
    padding-left: 24px;
    color: var(--ink-secondary);
}

.article-content li {
    margin-bottom: 8px;
}

.article-content a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* 上一篇/下一篇导航 */
.article-nav {
    max-width: 800px;
    margin: 60px auto 0;
    padding-top: 40px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.article-nav-item {
    flex: 1;
    padding: 20px;
    border-radius: var(--radius-md);
    background: var(--bg-alt);
    border: 1px solid var(--border);
    transition: all var(--transition);
    text-decoration: none !important;
}

.article-nav-item:hover {
    background: var(--white);
    border-color: rgba(194, 144, 63, 0.2);
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

.article-nav-label {
    font-size: 12px;
    color: var(--ink-tertiary);
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 8px;
    display: block;
}

.article-nav-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 768px) {
    .article-nav {
        flex-direction: column;
    }
}



/* =============================================
   全局共用：右下角悬浮侧边栏 (Global Floating Sidebar)
   ============================================= */
.global-sidebar {
    position: fixed;
    right: 24px;
    bottom: 40px; /* 距离底部的高度，可根据需要调整 */
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sidebar-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--white);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink-secondary);
    cursor: pointer;
    transition: all var(--transition);
    position: relative;
}

.sidebar-btn:hover {
    color: var(--accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(194, 144, 63, 0.2);
}

.sidebar-btn svg {
    width: 22px;
    height: 22px;
}

/* 主题色按钮（作为最重要的行动号召，如微信） */
.sidebar-btn.primary {
    background: linear-gradient(135deg, var(--accent), #e0b46a);
    color: var(--white);
    border: none;
}

.sidebar-btn.primary:hover {
    box-shadow: 0 8px 24px rgba(194, 144, 63, 0.35);
    color: var(--white);
}

/* 左侧悬浮弹窗 (二维码与信息) */
.sidebar-popup {
    position: absolute;
    right: 48px; /* 从按钮左侧弹出 */
    bottom: 0;
    width: 220px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: var(--radius-md);
    padding: 16px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    
    /* 初始隐藏，带方向和缩放的缓动动画 */
    opacity: 0;
    visibility: hidden;
    transform: translateX(15px) scale(0.95);
    transform-origin: right bottom;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none; /* 隐藏时防止遮挡点击 */
}

.sidebar-btn:hover .sidebar-popup {
    opacity: 1;
    visibility: visible;
    transform: translateX(0) scale(1);
    pointer-events: auto;
}

.sidebar-popup img {
    width: 100%;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    margin-bottom: 12px;
    box-shadow: var(--shadow-sm);
}

.sidebar-popup .popup-title {
    font-size: 12px;
    font-weight: 600;
    color: var(--ink-secondary);
    margin-bottom: 4px;
}

.sidebar-popup .popup-text {
    font-size: 18px;
    font-weight: 800;
    color: var(--ink);
    user-select: all; /* 允许双击一键复制 */
}

/* 隐藏返回顶部按钮的初始状态 */
#backToTop {
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
}

#backToTop.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* 移动端适配 */
@media (max-width: 768px) {
    .global-sidebar {
        right: 16px;
        bottom: 24px;
        gap: 10px;
    }
    .sidebar-btn {
        width: 44px;
        height: 44px;
    }
    /* 移动端屏幕小，悬浮窗容易溢出屏幕，改为点击呼出或缩小显示 */
    .sidebar-popup {
        display: none; 
    }
}
/* ===== 本站在参考版式上的补充样式（安装三步 / 子页 / 后台） ===== */

/* 安装三步 */
.installation-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.setup-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition);
}
.setup-card:hover {
  border-color: rgba(227, 159, 0, 0.28);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.setup-shot {
  background: var(--bg-alt);
  aspect-ratio: 3 / 2;
  overflow: hidden;
}
.setup-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.setup-no {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin: 20px 24px 6px;
}
.setup-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 0 24px 8px;
}
.setup-card p {
  font-size: 14px;
  color: var(--ink-secondary);
  line-height: 1.65;
  margin: 0 24px 24px;
}
.games-note {
  max-width: 720px;
}

/* 通用小按钮 */
.btn-mini {
  font: inherit;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  padding: 8px 14px;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-mini:hover { background: var(--bg-alt); border-color: var(--ink-tertiary); }
.btn-save {
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: var(--ink);
  border: 0;
  border-radius: 8px;
  padding: 9px 20px;
  cursor: pointer;
}
.btn-save:hover { background: #000; }
.btn-block { width: 100%; }

/* ===== 子页（防伪查询 / 管理后台） ===== */
.page {
  display: none;
  padding: 104px 0 90px;
}
.page.on { display: block; }
.page-inner { max-width: 1000px; }
.back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--ink-tertiary);
  margin-bottom: 28px;
}
.back:hover { color: var(--ink); }
.page-head { margin-bottom: 32px; }
.page-title {
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 6px 0 14px;
}
.page-desc {
  font-size: 16px;
  color: var(--ink-secondary);
  line-height: 1.7;
  max-width: 640px;
}

/* 防伪卡 */
.vcard {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: var(--shadow-md);
  max-width: 760px;
}
.vlabel {
  font-size: 10.5px;
  letter-spacing: 0.2em;
  color: var(--ink-tertiary);
  font-weight: 600;
}
.vin {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.vin input {
  flex: 1;
  min-width: 240px;
  height: 52px;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  padding: 0 16px;
  font-size: 17px;
  font-family: var(--font);
  letter-spacing: 0.06em;
  outline: none;
  background: var(--white);
  transition: all 0.2s;
}
.vin input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(227, 159, 0, 0.14); }
.vin .btn { height: 52px; padding: 0 34px; border-radius: 10px; }
.vhint {
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--ink-tertiary);
  line-height: 1.8;
}
.res {
  margin-top: 22px;
  border-radius: var(--radius-md);
  padding: 20px 22px;
  display: none;
  border: 1px solid transparent;
}
.res.show { display: block; }
.res.ok { background: #f3fbf5; border-color: rgba(52, 199, 89, 0.26); }
.res.warn { background: var(--accent-light); border-color: rgba(227, 159, 0, 0.32); }
.res.bad { background: #fdf4f4; border-color: rgba(255, 59, 48, 0.22); }
.res .rhead { display: flex; gap: 14px; align-items: flex-start; }
.res .ico {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.res.ok .ico { background: rgba(52, 199, 89, 0.14); }
.res.warn .ico { background: rgba(227, 159, 0, 0.18); }
.res.bad .ico { background: rgba(255, 59, 48, 0.12); }
.res .ico svg { width: 16px; height: 16px; fill: none; stroke-width: 2; }
.res.ok .ico svg { stroke: #1f8f43; }
.res.warn .ico svg { stroke: #b87900; }
.res.bad .ico svg { stroke: #c0392b; }
.res h3 { font-size: 15.5px; font-weight: 700; }
.res p { margin-top: 6px; font-size: 13px; color: var(--ink-secondary); line-height: 1.7; }
.res .meta {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 24px;
  font-size: 11.5px;
  color: var(--ink-tertiary);
}
.res .meta b { color: var(--ink); font-weight: 600; }

.vtips {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 22px;
  max-width: 760px;
}
.vtip {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 22px 20px;
}
.vtip > span { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; color: var(--accent); }
.vtip > b { display: block; margin-top: 10px; font-size: 13.5px; }
.vtip > p { margin-top: 7px; font-size: 12.5px; color: var(--ink-secondary); line-height: 1.7; }

/* 后台登录 */
.auth {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 420px;
  box-shadow: var(--shadow-md);
}
.auth h2 { font-size: 24px; font-weight: 900; letter-spacing: -0.02em; }
.auth p { margin-top: 10px; font-size: 13px; color: var(--ink-tertiary); line-height: 1.75; }
.field { margin-top: 18px; }
.field label {
  display: block;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: var(--ink-tertiary);
  text-transform: uppercase;
  font-weight: 600;
}
.field input {
  width: 100%;
  height: 44px;
  margin-top: 8px;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  padding: 0 14px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  background: var(--white);
  transition: all 0.2s;
}
.field input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(227, 159, 0, 0.12); }
.auth .btn { margin-top: 22px; border-radius: 10px; }
.amsg { margin-top: 12px; font-size: 12.5px; color: #c0392b; min-height: 18px; line-height: 1.6; }

/* 后台主体 */
body.adminmode .nav-links { display: none; }
body.adminmode .nav-brand::after {
  content: "管理后台";
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ink-tertiary);
  border-left: 1px solid var(--border);
  margin-left: 4px;
  padding-left: 10px;
}
.admin-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.admin-user { display: flex; align-items: center; gap: 14px; font-size: 12.5px; color: var(--ink-tertiary); }
.linkbtn {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  font-size: 12.5px;
  color: var(--ink-tertiary);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.demo-note {
  background: var(--accent-light);
  border-left: 3px solid var(--accent);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 12.5px;
  color: #8a6a2e;
  line-height: 1.75;
  margin-bottom: 16px;
}
.astats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.astat {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px;
}
.astat > b { display: block; font-size: 26px; font-weight: 900; letter-spacing: -0.03em; line-height: 1.1; }
.astat > span { display: block; margin-top: 6px; font-size: 11.5px; color: var(--ink-tertiary); }

.acard {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 24px 18px;
  margin-top: 16px;
}
.acard-h {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}
.acard h3 { font-size: 15.5px; font-weight: 700; letter-spacing: -0.01em; }
.acard .sub { margin-top: 5px; font-size: 12.5px; color: var(--ink-tertiary); line-height: 1.7; }
.cacts { display: flex; gap: 8px; align-items: center; }

.ctools { display: flex; align-items: center; gap: 14px; padding: 16px 0 10px; }
.ctools input {
  flex: 1;
  font: inherit;
  font-size: 13px;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  padding: 9px 12px;
  background: var(--white);
  outline: none;
}
.ctools input:focus { border-color: var(--accent); }
.chesub { font-size: 11.5px; color: var(--ink-tertiary); white-space: nowrap; }
.cg { display: flex; flex-wrap: wrap; gap: 6px; padding-bottom: 12px; }
.cg button {
  font: inherit;
  font-size: 12px;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--white);
  color: var(--ink-secondary);
  cursor: pointer;
  transition: all 0.2s;
}
.cg button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.clist { max-height: 560px; overflow: auto; border-top: 1px solid var(--border); }
.crow {
  display: grid;
  grid-template-columns: 200px 1fr 64px;
  gap: 16px;
  align-items: start;
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
}
.crow:last-child { border-bottom: 0; }
.cl b {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cl i { display: block; font-size: 10.5px; color: var(--ink-tertiary); font-style: normal; margin-top: 3px; }
.crow textarea {
  width: 100%;
  font: inherit;
  font-size: 13px;
  line-height: 1.62;
  color: var(--ink);
  border: 1px solid var(--border-strong);
  border-radius: 9px;
  padding: 8px 10px;
  background: var(--white);
  resize: vertical;
  min-height: 40px;
  outline: none;
}
.crow textarea:focus { border-color: var(--accent); }
.crow.dirty textarea { border-color: var(--accent); background: #fffdf6; }
.cimg { display: flex; gap: 12px; align-items: center; width: 100%; }
.cimg img {
  width: 94px;
  height: 64px;
  object-fit: contain;
  background: var(--bg-alt);
  border-radius: 8px;
  border: 1px solid var(--border);
}
.cup {
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid var(--border-strong);
  background: var(--white);
  cursor: pointer;
  white-space: nowrap;
}
.cup input { display: none; }
.cimg-path { font-size: 11px; color: var(--ink-tertiary); word-break: break-all; }
.creset {
  border: 0;
  background: none;
  font: inherit;
  font-size: 11.5px;
  color: var(--ink-tertiary);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 0;
  align-self: center;
}
.creset:disabled { opacity: 0.35; cursor: default; text-decoration: none; }
.cempty { padding: 26px 0; font-size: 13px; color: var(--ink-tertiary); text-align: center; }

.gen-row { display: flex; gap: 10px; align-items: center; margin-top: 16px; flex-wrap: wrap; }
.gen-row input {
  height: 42px;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  padding: 0 12px;
  font-size: 13px;
  font-family: inherit;
  outline: none;
  background: var(--white);
}
.gen-row input:focus { border-color: var(--accent); }
.gen-row .num { width: 110px; }
.gen-row .grow { flex: 1; min-width: 170px; }
.gen-row .btn { height: 42px; padding: 0 24px; border-radius: 10px; font-size: 13.5px; }
.gen-out {
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--ink-secondary);
  display: none;
  white-space: pre-wrap;
  word-break: break-all;
  background: var(--bg-alt);
  border-radius: 10px;
  padding: 14px 16px;
  max-height: 220px;
  overflow: auto;
  line-height: 1.9;
}
.gen-out.show { display: block; }
.gen-tip { color: var(--ink-secondary); margin-bottom: 8px; }

.toolbar { display: flex; gap: 10px; align-items: center; margin-top: 16px; flex-wrap: wrap; }
.toolbar select,
.toolbar input {
  height: 38px;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  padding: 0 10px;
  font-size: 12.5px;
  font-family: inherit;
  background: var(--white);
  outline: none;
}
.toolbar input { flex: 1; min-width: 150px; }
.toolbar .sp { flex: 1; }
.tw { overflow: auto; margin-top: 14px; }
.at { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.at th,
.at td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--border); white-space: nowrap; }
.at thead th { font-size: 11px; letter-spacing: 0.05em; color: var(--ink-tertiary); font-weight: 600; background: var(--bg-alt); }
.at .mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px; }
.at .ops button {
  font: inherit;
  font-size: 11.5px;
  background: none;
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  padding: 4px 10px;
  cursor: pointer;
}
.at .ops button:hover { background: var(--bg-alt); }
.bs { display: inline-block; font-size: 11px; padding: 3px 9px; border-radius: 999px; border: 1px solid transparent; }
.bs.u { color: #8a6a2e; background: rgba(227, 159, 0, 0.1); border-color: rgba(227, 159, 0, 0.28); }
.bs.a { color: #1f8f43; background: rgba(52, 199, 89, 0.1); border-color: rgba(52, 199, 89, 0.26); }
.bs.o { color: #9a9ea4; background: rgba(0, 0, 0, 0.04); border-color: var(--border); }
.empty { padding: 36px 0; text-align: center; font-size: 12.5px; color: var(--ink-tertiary); }

.pager {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
  font-size: 11.5px;
  color: var(--ink-tertiary);
}
.pg { display: flex; gap: 8px; }
.pg button {
  font: inherit;
  font-size: 11.5px;
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid var(--border-strong);
  background: var(--white);
  cursor: pointer;
}
.pg button:disabled { opacity: 0.45; cursor: not-allowed; }

@media (max-width: 1024px) {
  .installation-grid { grid-template-columns: 1fr; }
  .vtips { grid-template-columns: 1fr; }
  .astats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .page { padding: 84px 0 60px; }
  .vcard { padding: 22px; }
  .vin .btn { width: 100%; }
  .auth { padding: 26px; }
  .crow { grid-template-columns: 1fr; gap: 8px; }
  .cl b { white-space: normal; }
  .acard { padding: 18px 18px 12px; }
}
/* 微信二维码卡片 */
.qr-block {
  margin: 30px auto 0;
  max-width: 640px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
}
.qr-img {
  width: 340px;
  height: 340px;
  max-width: 82vw;
  object-fit: contain;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--white);
  padding: 6px;
}
.qr-title {
  font-size: 16px;
  font-weight: 400;
  color: var(--ink-secondary);
  line-height: 1.7;
}
.qr-desc {
  margin-top: 6px;
  font-size: 16px;
  color: var(--ink-secondary);
  line-height: 1.7;
}
.qr-tip {
  margin-top: 8px;
  font-size: 13px;
  color: var(--ink-tertiary);
  line-height: 1.6;
}

/* 品牌 logo 尺寸 */
.brand-logo {
  height: 30px;
  width: auto;
}
.footer-brand .brand-logo {
  height: 26px;
}
.hero-actions img {
  height: 76px;
  width: auto;
  max-width: none;
}
@media (max-width: 768px) {
  .brand-logo { height: 26px; }
  .hero-actions img { height: 58px; max-width: none; }
}

/* 首屏风扇视频（白底视频用 multiply 融进浅色背景） */
.hero-actions {
  margin-bottom: 18px;
}
.hero-fan {
  display: flex;
  justify-content: center;
  margin: 0 auto 30px;
}
.hero-fan video {
  display: block;
  width: min(350px, 74vw);
  max-width: 100%;
  height: auto;
  mix-blend-mode: lighten;
  pointer-events: none;
}
@media (max-width: 768px) {
  .hero-fan video { width: min(360px, 82vw); }
}

/* 手机端：首屏副标题不再强制换行，避免整页横向溢出 */
@media (max-width: 768px) {
  .hero-sub br { display: none; }
  .hero-fan video { width: min(300px, 78vw); }
}
