/* ============================================================
   港人生活Life — 全新设计系统 v2.0
   融合中国大陆高效信息密度 + 香港简洁专业风格
   ============================================================ */

/* ========== Design Tokens ========== */
:root {
  /* Brand Colors — 深蓝主色 + 金色点缀 */
  --primary: #0A2540;
  --primary-light: #15396B;
  --primary-lighter: #1E4D8B;
  --primary-dark: #061A2E;
  --secondary: #D4A847;
  --secondary-light: #E0B965;
  --secondary-dark: #B08831;
  --accent: #2563EB;
  --accent-light: #3B82F6;
  --accent-dark: #1D4ED8;
  --success: #10B981;
  --success-light: #34D399;
  --warning: #F59E0B;
  --danger: #EF4444;
  --info: #6366F1;

  /* Surface Colors */
  --bg: #F5F6F8;
  --bg-warm: #FAFAF7;
  --bg-white: #FFFFFF;
  --bg-card: #FFFFFF;
  --bg-glass: rgba(255, 255, 255, 0.72);
  --bg-glass-dark: rgba(10, 37, 64, 0.85);
  --bg-hover: #F1F5F9;
  --bg-active: #E0F2FE;

  /* Text Colors */
  --ink: #0F172A;
  --ink-light: #334155;
  --ink-secondary: #475569;
  --muted: #94A3B8;
  --muted-light: #CBD5E1;
  --text-on-dark: rgba(255, 255, 255, 0.92);
  --text-on-dark-muted: rgba(255, 255, 255, 0.6);

  /* Borders */
  --rule: #E2E8F0;
  --rule-light: #F1F5F9;
  --border: rgba(10, 37, 64, 0.08);
  --border-active: rgba(37, 99, 235, 0.3);

  /* Shadows — 精致层次感 */
  --shadow-xs: 0 1px 2px rgba(10, 37, 64, 0.04);
  --shadow-sm: 0 1px 3px rgba(10, 37, 64, 0.06), 0 1px 2px rgba(10, 37, 64, 0.04);
  --shadow: 0 4px 6px -1px rgba(10, 37, 64, 0.07), 0 2px 4px -2px rgba(10, 37, 64, 0.05);
  --shadow-md: 0 4px 12px rgba(10, 37, 64, 0.08), 0 2px 4px rgba(10, 37, 64, 0.04);
  --shadow-lg: 0 12px 24px -4px rgba(10, 37, 64, 0.1), 0 4px 8px -2px rgba(10, 37, 64, 0.06);
  --shadow-xl: 0 20px 40px -8px rgba(10, 37, 64, 0.12), 0 8px 16px -4px rgba(10, 37, 64, 0.08);
  --shadow-glow: 0 0 24px rgba(212, 168, 71, 0.2);
  --shadow-blue: 0 4px 14px rgba(37, 99, 235, 0.15);

  /* Radius */
  --radius-xs: 6px;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #0A2540 0%, #15396B 50%, #0A2540 100%);
  --gradient-gold: linear-gradient(135deg, #D4A847 0%, #E0B965 100%);
  --gradient-hero: linear-gradient(135deg, #0A2540 0%, #15396B 40%, #1E4D8B 100%);
  --gradient-blue: linear-gradient(135deg, #2563EB 0%, #3B82F6 100%);
  --gradient-green: linear-gradient(135deg, #10B981 0%, #34D399 100%);
  --gradient-card: linear-gradient(145deg, #FFFFFF 0%, #F8FAFC 100%);

  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  /* Layout */
  --max-width: 1360px;
  --header-height: 68px;
  --utility-bar-height: 36px;
  --total-header-height: 104px;

  /* Z-index */
  --z-header: 1000;
  --z-dropdown: 1100;
  --z-overlay: 2000;
  --z-modal: 3000;
  --z-toast: 4000;
}

/* ========== Reset ========== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'PingFang TC', 'Microsoft YaHei', '微软雅黑', 'Source Han Sans SC', 'Noto Sans CJK SC', 'Noto Sans CJK TC', 'Helvetica Neue', Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  font-size: 15px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; transition: var(--transition-fast); }
a:hover { color: var(--accent); }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: inherit; }

/* Selection */
::selection { background: rgba(37, 99, 235, 0.15); color: var(--primary); }

/* Scrollbar */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--rule-light); }
::-webkit-scrollbar-thumb { background: var(--muted-light); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--muted); }

/* ============================================================
   Header — 双层导航：顶部工具栏 + 主导航
   ============================================================ */

/* Utility Bar (顶部工具栏) */
.utility-bar {
  background: var(--primary-dark);
  height: var(--utility-bar-height);
  color: var(--text-on-dark-muted);
  font-size: 12px;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: var(--z-header);
  transition: var(--transition);
}
.utility-bar.hidden { transform: translateY(-100%); }

.utility-bar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  height: 100%;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.utility-left {
  display: flex;
  align-items: center;
  gap: 20px;
}
.utility-left .util-item {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--text-on-dark-muted);
  transition: var(--transition-fast);
}
.utility-left .util-item:hover { color: var(--secondary); }
.utility-left .util-item svg {
  width: 13px; height: 13px;
  flex-shrink: 0;
}

.utility-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-full);
  padding: 2px;
}
.lang-btn {
  padding: 3px 10px;
  font-size: 11px;
  color: var(--text-on-dark-muted);
  border-radius: var(--radius-full);
  transition: var(--transition-fast);
  cursor: pointer;
}
.lang-btn.active {
  background: var(--secondary);
  color: var(--primary-dark);
  font-weight: 600;
}
.lang-btn:not(.active):hover { color: var(--text-on-dark); }

.utility-link {
  color: var(--text-on-dark-muted);
  transition: var(--transition-fast);
}
.utility-link:hover { color: var(--secondary); }

/* Main Header */
.site-header {
  position: fixed;
  top: var(--utility-bar-height);
  left: 0; right: 0;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--rule);
  z-index: var(--z-header);
  transition: var(--transition);
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  height: 100%;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 0.5px;
  flex-shrink: 0;
}
.logo-text { color: var(--primary); line-height: 1.2; }
.logo-text span { color: var(--secondary); }
.logo-text .logo-en {
  display: block;
  font-size: 10px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 2px;
  text-transform: uppercase;
}
.logo-img {
  width: 40px; height: 40px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

/* Main Nav */
.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  justify-content: center;
}
.main-nav > a {
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-light);
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
  position: relative;
  white-space: nowrap;
}
.main-nav > a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 60%;
  height: 2px;
  background: var(--secondary);
  border-radius: 2px;
  transition: var(--transition);
}
.main-nav > a:hover {
  color: var(--primary);
  background: var(--bg-hover);
}
.main-nav > a:hover::after { transform: translateX(-50%) scaleX(1); }
.main-nav > a.active {
  color: var(--primary);
  font-weight: 700;
}
.main-nav > a.active::after { transform: translateX(-50%) scaleX(1); }

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.btn-search {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--bg-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  transition: var(--transition-fast);
}
.btn-search:hover {
  background: var(--bg-active);
  color: var(--accent);
  transform: scale(1.05);
}

.btn-login {
  padding: 8px 22px;
  background: var(--gradient-primary);
  color: #fff;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.btn-login:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
  color: #fff;
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  width: 38px; height: 38px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  border-radius: var(--radius-sm);
  background: var(--bg-hover);
  transition: var(--transition-fast);
}
.menu-toggle span {
  width: 20px; height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition-fast);
}
.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Nav Drawer */
.mobile-nav {
  position: fixed;
  top: 0; right: -100%;
  width: 320px;
  max-width: 85vw;
  height: 100vh;
  background: var(--bg-white);
  z-index: var(--z-overlay);
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -8px 0 32px rgba(10, 37, 64, 0.15);
  overflow-y: auto;
  padding: 20px;
}
.mobile-nav.open { right: 0; }
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 37, 64, 0.4);
  backdrop-filter: blur(4px);
  z-index: var(--z-overlay) - 1;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.mobile-nav-overlay.open { opacity: 1; visibility: visible; }

.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--rule);
}
.mobile-nav-close {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--bg-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--primary);
}
.mobile-nav-list { display: flex; flex-direction: column; gap: 2px; }
.mobile-nav-list a {
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-light);
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 10px;
}
.mobile-nav-list a:hover, .mobile-nav-list a.active {
  background: var(--bg-hover);
  color: var(--primary);
}
.mobile-nav-list a .nav-icon { font-size: 18px; }
.mobile-nav-footer {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mobile-nav-footer .btn-login {
  text-align: center;
  padding: 12px;
}

/* Main content offset */
main { padding-top: var(--total-header-height); }

/* ============================================================
   Hero Section — 首页主视觉
   ============================================================ */
.hero {
  position: relative;
  background: var(--gradient-hero), url('../assets/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  background-blend-mode: overlay;
  color: #fff;
  padding: 72px 24px 88px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -20%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(212, 168, 71, 0.12) 0%, transparent 70%);
  border-radius: 50%;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -30%; left: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.hero h1 {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 12px;
  line-height: 1.2;
}
.hero h1 .hero-highlight {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero .hero-subtitle {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 36px;
  max-width: 620px;
  line-height: 1.7;
}

/* Hero Search */
.hero-search {
  display: flex;
  max-width: 600px;
  background: rgba(255, 255, 255, 0.96);
  border-radius: var(--radius);
  padding: 5px;
  box-shadow: var(--shadow-xl);
}
.hero-search input {
  flex: 1;
  border: none;
  background: none;
  padding: 14px 20px;
  font-size: 15px;
  color: var(--ink);
  outline: none;
}
.hero-search input::placeholder { color: var(--muted); }
.hero-search button {
  padding: 10px 32px;
  background: var(--gradient-primary);
  color: #fff;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}
.hero-search button:hover {
  opacity: 0.9;
  transform: translateX(2px);
}

/* Hero Tags */
.hero-tags {
  display: flex;
  gap: 8px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.hero-tags a {
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
  transition: var(--transition-fast);
}
.hero-tags a:hover {
  background: rgba(212, 168, 71, 0.15);
  border-color: rgba(212, 168, 71, 0.4);
  color: var(--secondary-light);
}

/* Hero Stats */
.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 48px;
}
.hero-stat .num {
  font-size: 34px;
  font-weight: 800;
  color: var(--secondary);
  line-height: 1;
}
.hero-stat .label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 6px;
}

/* ============================================================
   Section Layout
   ============================================================ */
.section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 56px 24px;
}
.section.tight { padding: 32px 24px; }

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}
.section-title {
  font-size: 26px;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-title::before {
  content: '';
  width: 4px;
  height: 26px;
  background: var(--gradient-gold);
  border-radius: 4px;
}
.section-title .title-en {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 1px;
}
.section-more {
  font-size: 14px;
  color: var(--ink-secondary);
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: var(--bg-hover);
  transition: var(--transition-fast);
}
.section-more:hover {
  color: var(--accent);
  background: var(--bg-active);
}

/* ============================================================
   Category Grid — 八大场景
   ============================================================ */
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.category-card {
  background: var(--gradient-card);
  border: 1px solid var(--rule);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.category-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient-gold);
  opacity: 0;
  transition: var(--transition);
}
.category-card::after {
  content: '';
  position: absolute;
  bottom: -40px; right: -40px;
  width: 120px; height: 120px;
  border-radius: 50%;
  opacity: 0.04;
  transition: var(--transition);
}
.category-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--secondary-light);
}
.category-card:hover::before { opacity: 1; }
.category-card:hover::after { opacity: 0.08; transform: scale(1.2); }
.category-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 16px;
  transition: var(--transition);
}
.category-card:hover .category-icon {
  transform: scale(1.08) rotate(-4deg);
}
.category-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}
.category-card .cat-en {
  font-size: 11px;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.category-card p {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 12px;
  line-height: 1.6;
}
.category-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.category-tags span {
  font-size: 11px;
  padding: 3px 10px;
  background: var(--bg-hover);
  color: var(--ink-secondary);
  border-radius: var(--radius-full);
  font-weight: 500;
}

/* Category color variants */
.cat-settle .category-icon { background: rgba(59, 130, 246, 0.1); color: #2563eb; }
.cat-settle::after { background: #2563eb; }
.cat-gov .category-icon { background: rgba(16, 185, 129, 0.1); color: #059669; }
.cat-gov::after { background: #059669; }
.cat-edu .category-icon { background: rgba(139, 92, 246, 0.1); color: #7c3aed; }
.cat-edu::after { background: #7c3aed; }
.cat-finance .category-icon { background: rgba(245, 158, 11, 0.1); color: #d97706; }
.cat-finance::after { background: #d97706; }
.cat-career .category-icon { background: rgba(239, 68, 68, 0.1); color: #dc2626; }
.cat-career::after { background: #dc2626; }
.cat-trade .category-icon { background: rgba(14, 165, 233, 0.1); color: #0284c7; }
.cat-trade::after { background: #0284c7; }
.cat-social .category-icon { background: rgba(236, 72, 153, 0.1); color: #db2777; }
.cat-social::after { background: #db2777; }
.cat-forum .category-icon { background: rgba(10, 37, 64, 0.1); color: var(--primary); }
.cat-forum::after { background: var(--primary); }

/* ============================================================
   Content Grid & Cards
   ============================================================ */
.content-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.content-card {
  background: var(--bg-white);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.content-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--secondary-light);
}
.content-card .card-img {
  width: 100%;
  height: 180px;
  background: var(--gradient-primary);
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}
.content-card .card-img::after {
  content: attr(data-label);
  position: absolute;
  top: 12px; left: 12px;
  padding: 4px 12px;
  background: rgba(212, 168, 71, 0.95);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  border-radius: var(--radius-xs);
  z-index: 2;
}
.content-card .card-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10, 37, 64, 0.35) 100%);
  z-index: 1;
}
.content-card .card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.content-card h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.5;
}
.content-card p {
  font-size: 13px;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 12px;
  line-height: 1.6;
}
.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
  margin-top: auto;
}
.card-meta .author { display: flex; align-items: center; gap: 6px; }
.card-engagement {
  display: flex;
  gap: 12px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--rule-light);
  font-size: 12px;
  color: var(--muted);
}
.card-read-more {
  display: inline-block;
  margin-top: 10px;
  font-size: 13px;
  color: var(--accent);
  font-weight: 600;
  transition: var(--transition-fast);
}
.card-read-more:hover { color: var(--accent-dark); gap: 8px; }

/* Hot badge */
.hot-badge {
  position: absolute;
  top: 12px; right: 12px;
  padding: 3px 10px;
  background: var(--danger);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  border-radius: var(--radius-full);
  z-index: 3;
}

/* Hot Filter Bar */
.hot-filter-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.hot-filter-btn {
  padding: 7px 18px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-secondary);
  background: var(--bg-white);
  border: 1px solid var(--rule);
  border-radius: var(--radius-full);
  transition: var(--transition-fast);
}
.hot-filter-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.hot-filter-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* ============================================================
   Info Card
   ============================================================ */
.info-card {
  background: var(--bg-white);
  border: 1px solid var(--rule);
  border-left: 4px solid var(--secondary);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 16px 0;
  transition: var(--transition);
}
.info-card:hover {
  box-shadow: var(--shadow-sm);
  border-left-color: var(--accent);
}
.info-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}
.info-card p {
  font-size: 14px;
  color: var(--ink-secondary);
  margin-bottom: 4px;
  line-height: 1.7;
}

/* Info Banner */
.info-banner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 20px;
  border-radius: var(--radius);
  margin: 16px 0;
  font-size: 14px;
  line-height: 1.7;
}
.info-banner.tip {
  background: rgba(16, 185, 129, 0.06);
  border: 1px solid rgba(16, 185, 129, 0.15);
  color: #065f46;
}
.info-banner.warn {
  background: rgba(245, 158, 11, 0.06);
  border: 1px solid rgba(245, 158, 11, 0.15);
  color: #92400e;
}
.info-banner-icon { font-size: 20px; flex-shrink: 0; }

/* ============================================================
   Sub-channels
   ============================================================ */
.sub-channels {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
  margin-top: 24px;
}
.sub-channel {
  background: var(--bg-white);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 20px;
  transition: var(--transition);
  position: relative;
}
.sub-channel:hover {
  border-color: var(--secondary-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.sub-channel h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.sub-channel h4 .icon {
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  background: var(--bg-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.sub-channel p {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 10px;
  line-height: 1.6;
}
.sub-channel .channel-meta {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: var(--muted);
}
.sub-channel .channel-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ============================================================
   Page Hero (subpages)
   ============================================================ */
.page-hero {
  background: var(--gradient-hero), url('../assets/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  background-blend-mode: overlay;
  color: #fff;
  padding: 48px 24px 40px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -30%; right: -10%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(212, 168, 71, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: -50%; left: -10%;
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}
.page-hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 16px;
}
.breadcrumb a:hover { color: var(--secondary-light); }
.breadcrumb span { color: rgba(255, 255, 255, 0.3); }
.page-hero h1 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: 1px;
}
.page-hero p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
  max-width: 680px;
  line-height: 1.7;
}

/* ============================================================
   Feature List
   ============================================================ */
.feature-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-item {
  background: var(--bg-white);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 24px;
  transition: var(--transition);
}
.feature-item:hover {
  border-color: var(--secondary-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.feature-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius);
  background: var(--bg-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 14px;
}
.feature-item h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 6px;
}
.feature-item p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

/* ============================================================
   CTA Section
   ============================================================ */
.cta-section {
  background: var(--gradient-primary);
  border-radius: var(--radius-xl);
  padding: 48px;
  text-align: center;
  color: #fff;
  margin: 48px auto;
  max-width: var(--max-width);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -30%; right: -5%;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(212, 168, 71, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}
.cta-section h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 12px;
  position: relative;
}
.cta-section p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 24px;
  position: relative;
}
.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  position: relative;
}
.cta-btn {
  padding: 12px 32px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
}
.cta-btn.primary {
  background: var(--gradient-gold);
  color: var(--primary-dark);
}
.cta-btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(212, 168, 71, 0.4);
}
.cta-btn.secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.cta-btn.secondary:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* ============================================================
   Tags & Badges
   ============================================================ */
.tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--radius-xs);
  font-size: 12px;
  font-weight: 600;
}
.tag-blue { background: #DBEAFE; color: #1E40AF; }
.tag-green { background: #D1FAE5; color: #065F46; }
.tag-orange { background: #FED7AA; color: #9A3412; }
.tag-red { background: #FEE2E2; color: #991B1B; }
.tag-gold { background: #FEF3C7; color: #92400E; }
.tag-purple { background: #EDE9FE; color: #5B21B6; }

/* ============================================================
   Stats Bar
   ============================================================ */
.stats-bar {
  display: flex;
  justify-content: center;
  gap: 56px;
  padding: 40px;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  margin: 32px 0;
  box-shadow: var(--shadow-sm);
}
.stat-item { text-align: center; }
.stat-item .num {
  font-size: 36px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}
.stat-item .num span { color: var(--secondary); font-size: 0.6em; }
.stat-item .label {
  font-size: 13px;
  color: var(--muted);
  margin-top: 8px;
}

/* ============================================================
   Compare Table
   ============================================================ */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  background: var(--bg-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  font-size: 14px;
}
.compare-table thead {
  background: var(--primary);
}
.compare-table thead th {
  padding: 14px 16px;
  text-align: left;
  font-weight: 600;
  font-size: 14px;
  color: #fff;
}
.compare-table tbody td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--rule);
  color: var(--ink-light);
}
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table tbody tr:hover { background: var(--bg-hover); }
.compare-table td.highlight {
  font-weight: 600;
  color: var(--primary);
}
.compare-table thead th:first-child { border-radius: 0; }

/* ============================================================
   Step Guide
   ============================================================ */
.step-guide {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 24px 0;
}
.step-item {
  display: flex;
  gap: 20px;
  padding: 20px;
  background: var(--bg-white);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  transition: var(--transition);
}
.step-item:hover {
  border-color: var(--secondary-light);
  box-shadow: var(--shadow-sm);
}
.step-number {
  width: 40px; height: 40px;
  background: var(--gradient-primary);
  color: #fff;
  border-radius: 50%;
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.step-content h5 {
  font-size: 15px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 6px;
}
.step-content p {
  font-size: 13px;
  color: var(--ink-secondary);
  line-height: 1.7;
  margin-bottom: 8px;
}
.step-tag {
  display: inline-block;
  padding: 3px 12px;
  background: var(--bg-active);
  color: var(--accent);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 56px 24px 24px;
  margin-top: 64px;
  position: relative;
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand .logo { color: #fff; margin-bottom: 16px; }
.footer-brand .logo-text { color: #fff; }
.footer-brand p {
  font-size: 13px;
  line-height: 1.8;
  max-width: 320px;
  color: rgba(255, 255, 255, 0.5);
}
.footer-col h5 {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 8px;
}
.footer-col h5::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 24px; height: 2px;
  background: var(--secondary);
  border-radius: 2px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  transition: var(--transition-fast);
}
.footer-col ul li a:hover {
  color: var(--secondary-light);
  padding-left: 4px;
}

.footer-logo-img {
  width: 48px; height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.footer-contact {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.8;
}
.footer-contact .contact-item {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-bottom: 4px;
}
.footer-contact .contact-icon { flex-shrink: 0; opacity: 0.7; }
.footer-contact a {
  color: rgba(255, 255, 255, 0.5);
  transition: var(--transition-fast);
}
.footer-contact a:hover { color: var(--secondary-light); }

.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
}
.footer-qrcode {
  display: flex;
  gap: 24px;
}
.qr-item { text-align: center; }
.qr-item .qr-box {
  width: 80px; height: 80px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}
.qr-item span {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
}

/* ============================================================
   Vent Module (港声港气)
   ============================================================ */
.vent-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin: 24px 0;
}
.vent-cat {
  background: var(--bg-white);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 16px 12px;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
}
.vent-cat:hover {
  border-color: var(--secondary);
  background: rgba(212, 168, 71, 0.03);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.vent-cat .vent-icon { font-size: 28px; margin-bottom: 8px; }
.vent-cat h5 {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
}
.vent-cat .count {
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
}

/* Vent flow */
.vent-flow {
  display: flex;
  align-items: center;
  gap: 0;
  margin: 32px 0;
  flex-wrap: wrap;
  justify-content: center;
}
.vent-step {
  background: var(--bg-white);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 16px 20px;
  text-align: center;
  min-width: 130px;
  position: relative;
}
.vent-step .step-num {
  width: 28px; height: 28px;
  background: var(--gradient-primary);
  color: #fff;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 8px;
}
.vent-step h5 {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
}
.vent-step p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
}
.vent-arrow {
  color: var(--secondary);
  font-size: 20px;
  padding: 0 8px;
}

/* ============================================================
   Market / 跳蚤市场
   ============================================================ */
.market-hero {
  background: var(--gradient-hero);
  color: #fff;
  padding: 48px 24px 40px;
  position: relative;
  overflow: hidden;
}
.market-hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.market-search-bar {
  display: flex;
  max-width: 600px;
  background: rgba(255, 255, 255, 0.96);
  border-radius: var(--radius);
  padding: 5px;
  margin-top: 20px;
  box-shadow: var(--shadow-xl);
}
.market-search-bar input {
  flex: 1;
  border: none;
  background: none;
  padding: 12px 18px;
  font-size: 14px;
  outline: none;
}
.market-search-bar button {
  padding: 10px 24px;
  background: var(--gradient-primary);
  color: #fff;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
}

.market-cat-nav {
  display: flex;
  gap: 8px;
  padding: 16px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
  flex-wrap: wrap;
}
.market-cat-btn {
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-secondary);
  background: var(--bg-white);
  border: 1px solid var(--rule);
  border-radius: var(--radius-full);
  transition: var(--transition-fast);
  cursor: pointer;
}
.market-cat-btn:hover { border-color: var(--accent); color: var(--accent); }
.market-cat-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.market-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
  border-bottom: 1px solid var(--rule);
}
.market-sort {
  display: flex;
  gap: 4px;
}
.market-sort-btn {
  padding: 6px 14px;
  font-size: 13px;
  color: var(--ink-secondary);
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
  cursor: pointer;
}
.market-sort-btn:hover { background: var(--bg-hover); }
.market-sort-btn.active {
  background: var(--bg-active);
  color: var(--accent);
  font-weight: 600;
}

.market-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 20px 0;
}

.product-card {
  background: var(--bg-white);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--secondary-light);
}
.product-img-area {
  height: 180px;
  background: linear-gradient(135deg, #F8FAFC 0%, #F1F5F9 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.product-badge {
  position: absolute;
  top: 10px; left: 10px;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 600;
  border-radius: var(--radius-xs);
  z-index: 2;
}
.condition-new { background: #D1FAE5; color: #065F46; }
.condition-90 { background: #DBEAFE; color: #1E40AF; }
.condition-80 { background: #FEF3C7; color: #92400E; }
.condition-70 { background: #FED7AA; color: #9A3412; }
.product-urgent {
  position: absolute;
  top: 10px; right: 10px;
  padding: 3px 10px;
  background: var(--danger);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  border-radius: var(--radius-xs);
  z-index: 2;
}
.product-info { padding: 16px; }
.product-cat-tag {
  display: inline-block;
  font-size: 11px;
  padding: 2px 8px;
  background: var(--bg-hover);
  color: var(--ink-secondary);
  border-radius: var(--radius-xs);
  margin-bottom: 8px;
}
.product-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-price {
  font-size: 20px;
  font-weight: 800;
  color: var(--danger);
  margin-bottom: 8px;
}
.product-price .currency { font-size: 13px; font-weight: 600; }
.product-price .original-price {
  font-size: 12px;
  color: var(--muted);
  text-decoration: line-through;
  font-weight: 400;
  margin-left: 6px;
}
.product-meta {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
}
.product-location { display: flex; align-items: center; gap: 3px; }

/* ============================================================
   Market Stats Bar — 跳蚤市场数据栏
   ============================================================ */
.market-stats-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: var(--bg-white);
  border: 1px solid var(--rule);
  border-radius: var(--radius-md);
  padding: 24px 32px;
  box-shadow: var(--shadow-sm);
}
.market-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 0 28px;
}
.market-stat-num {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
}
.market-stat-label {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}
.market-stat-divider {
  width: 1px;
  height: 36px;
  background: var(--rule);
}

/* Market Category Bar */
.market-cat-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding: 4px 0;
}
.market-cat-bar .market-cat-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  background: var(--bg-white);
  border: 1px solid var(--rule);
  border-radius: var(--radius-full);
  font-size: 14px;
  color: var(--ink-secondary);
  font-weight: 500;
  transition: var(--transition-fast);
  cursor: pointer;
}
.market-cat-bar .market-cat-btn .cat-icon { font-size: 16px; }
.market-cat-bar .market-cat-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--bg-active);
}
.market-cat-bar .market-cat-btn.active {
  background: var(--gradient-primary);
  color: #fff;
  border-color: var(--primary);
}

/* Market Hot Tags */
.market-hot-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.market-hot-tag {
  padding: 5px 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
  cursor: pointer;
  transition: var(--transition-fast);
}
.market-hot-tag:hover {
  background: rgba(212, 168, 71, 0.15);
  border-color: rgba(212, 168, 71, 0.4);
  color: var(--secondary-light);
}

/* Market Filter Bar */
.market-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 20px;
}
.market-filter-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.market-result-count {
  font-size: 14px;
  color: var(--ink-secondary);
}
.market-result-count strong {
  color: var(--primary);
  font-weight: 700;
}
.market-filter-right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.market-sort-select {
  padding: 8px 14px;
  border: 1px solid var(--rule);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--ink);
  background: var(--bg-white);
  cursor: pointer;
  outline: none;
  transition: var(--transition-fast);
}
.market-sort-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Market Load More */
.market-load-more {
  text-align: center;
  padding: 14px 32px;
  margin: 24px auto 0;
  width: fit-content;
  background: var(--bg-white);
  border: 1px solid var(--rule);
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-secondary);
  cursor: pointer;
  transition: var(--transition);
}
.market-load-more:hover {
  background: var(--gradient-primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: var(--shadow-blue);
}

/* Market Post CTA */
.market-post-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--gradient-primary);
  border-radius: var(--radius-lg);
  padding: 32px 40px;
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.post-cta-text h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 4px;
}
.post-cta-text p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}
.post-cta-btn {
  padding: 14px 32px;
  background: var(--gradient-gold);
  color: var(--primary-dark);
  border-radius: var(--radius-full);
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  transition: var(--transition);
  cursor: pointer;
  box-shadow: var(--shadow-glow);
}
.post-cta-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 32px rgba(212, 168, 71, 0.4);
}

/* Market Safety Grid */
.market-safety-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}
.safety-card {
  background: var(--bg-white);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  transition: var(--transition);
}
.safety-card:hover {
  border-color: var(--secondary-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.safety-icon {
  font-size: 32px;
  margin-bottom: 12px;
}
.safety-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
}
.safety-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

/* ============================================================
   Vent Feed — 吐槽信息流
   ============================================================ */
.vent-feed {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.vent-feed-item {
  display: flex;
  gap: 16px;
  background: var(--bg-white);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 20px;
  transition: var(--transition);
}
.vent-feed-item:hover {
  border-color: var(--secondary-light);
  box-shadow: var(--shadow-md);
}
.vent-feed-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.vent-feed-content {
  flex: 1;
  min-width: 0;
}
.vent-feed-header {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.vent-feed-user {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
}
.vent-feed-cat {
  font-size: 11px;
  padding: 2px 10px;
  border-radius: var(--radius-full);
  font-weight: 600;
}
.vent-feed-cat.housing { background: #DBEAFE; color: #1E40AF; }
.vent-feed-cat.job { background: #FEE2E2; color: #991B1B; }
.vent-feed-cat.medical { background: #D1FAE5; color: #065F46; }
.vent-feed-cat.education { background: #EDE9FE; color: #5B21B6; }
.vent-feed-cat.transport { background: #FEF3C7; color: #92400E; }
.vent-feed-cat.finance { background: #FED7AA; color: #9A3412; }
.vent-feed-cat.telecom { background: #CFFAFE; color: #155E75; }
.vent-feed-cat.food { background: #FCE7F3; color: #9D174D; }
.vent-feed-cat.family { background: #E0E7FF; color: #3730A3; }
.vent-feed-cat.legal { background: #F3F4F6; color: #1F2937; }
.vent-feed-status {
  font-size: 11px;
  padding: 2px 10px;
  border-radius: var(--radius-full);
  font-weight: 600;
}
.vent-feed-status.voting { background: #FEF3C7; color: #92400E; }
.vent-feed-status.processing { background: #DBEAFE; color: #1E40AF; }
.vent-feed-status.resolved { background: #D1FAE5; color: #065F46; }
.vent-feed-status.submitted { background: #F3F4F6; color: #4B5563; }
.vent-feed-time {
  font-size: 12px;
  color: var(--muted);
  margin-left: auto;
}
.vent-feed-text {
  font-size: 14px;
  color: var(--ink-light);
  line-height: 1.7;
  margin-bottom: 10px;
}
.vent-feed-footer {
  display: flex;
  gap: 16px;
  font-size: 13px;
  color: var(--muted);
}

/* Vent CTA */
.vent-cta-center {
  text-align: center;
  margin: 24px 0;
}
.vent-cta-btn {
  display: inline-block;
  padding: 14px 40px;
  background: var(--gradient-gold);
  color: var(--primary-dark);
  border-radius: var(--radius-full);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-glow);
  border: none;
}
.vent-cta-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 32px rgba(212, 168, 71, 0.4);
}

/* Vent Case Showcase */
.vent-case-showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}
.vent-case-card {
  background: var(--bg-white);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}
.vent-case-card:hover {
  border-color: var(--success-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.vent-case-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: var(--bg);
  border-bottom: 1px solid var(--rule);
}
.vent-case-header .case-cat {
  font-size: 12px;
  padding: 3px 12px;
  background: var(--bg-active);
  color: var(--accent);
  border-radius: var(--radius-full);
  font-weight: 600;
}
.vent-case-header .case-resolved {
  font-size: 12px;
  font-weight: 600;
  color: var(--success);
}
.vent-case-body {
  padding: 20px;
}
.vent-case-body h5 {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}
.vent-case-body p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 12px;
}
.vent-case-result {
  padding: 12px 16px;
  background: rgba(16, 185, 129, 0.06);
  border-left: 3px solid var(--success);
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--ink-light);
  line-height: 1.6;
}
.vent-case-result strong {
  color: var(--success);
}

/* Vote Widget */
.vote-widget {
  background: var(--bg-white);
  border: 1px solid var(--rule);
  border-radius: var(--radius-md);
  padding: 28px 32px;
  margin-top: 24px;
}
.vote-question {
  font-size: 17px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 20px;
}
.vote-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.vote-option {
  position: relative;
  padding: 14px 20px;
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-fast);
  overflow: hidden;
}
.vote-option:hover {
  border-color: var(--accent-light);
  background: var(--bg-active);
}
.vote-option.voted {
  border-color: var(--accent);
  background: var(--bg-active);
}
.vote-bar {
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  background: rgba(37, 99, 235, 0.08);
  border-radius: var(--radius-sm);
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
}
.vote-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.vote-label {
  font-size: 14px;
  color: var(--ink);
  font-weight: 500;
}
.vote-count {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
}

/* Vent Cat Selector */
.vent-cat-selector {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}
.vent-cat-option {
  padding: 16px 12px;
  background: var(--bg-white);
  border: 2px solid var(--rule);
  border-radius: var(--radius);
  text-align: center;
  cursor: pointer;
  transition: var(--transition-fast);
}
.vent-cat-option:hover {
  border-color: var(--secondary-light);
  background: var(--bg-hover);
}
.vent-cat-option.selected {
  border-color: var(--accent);
  background: var(--bg-active);
}
.vent-cat-option .cat-icon {
  font-size: 24px;
  display: block;
  margin-bottom: 6px;
}
.vent-cat-option .cat-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
}

/* Vent Submit Form */
.vent-submit-form {
  background: var(--bg-white);
  border: 1px solid var(--rule);
  border-radius: var(--radius-md);
  padding: 32px;
  margin: 24px 0;
}
.vent-form-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
}
.vent-form-desc {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 24px;
}
.vent-form-group {
  margin-bottom: 18px;
}
.vent-form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-light);
  margin-bottom: 6px;
}
.vent-form-group label .required { color: var(--danger); }
.vent-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.vent-form-input,
.vent-form-textarea,
.vent-form-select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--rule);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--ink);
  background: var(--bg-white);
  outline: none;
  transition: var(--transition-fast);
}
.vent-form-input:focus,
.vent-form-textarea:focus,
.vent-form-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}
.vent-form-textarea {
  resize: vertical;
  min-height: 120px;
}
.vent-form-hint {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}
.vent-form-submit {
  margin-top: 8px;
}
.vent-form-submit-btn {
  padding: 12px 36px;
  background: var(--gradient-primary);
  color: #fff;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}
.vent-form-submit-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* ============================================================
   Merchant Form — 商户入驻表单增强
   ============================================================ */

.merchant-form-section {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px dashed var(--rule);
}
.merchant-form-section:last-of-type {
  border-bottom: none;
  margin-bottom: 16px;
}
.merchant-form-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}
.merchant-form-section-title .section-icon {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-sm);
  background: rgba(212, 165, 116, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}
.merchant-form-section-desc {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 20px;
  margin-left: 36px;
}

/* Upload Zone */
.upload-zone {
  position: relative;
  border: 2px dashed var(--rule);
  border-radius: var(--radius-md);
  padding: 32px 20px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  background: var(--bg-subtle, #fafafa);
  overflow: hidden;
}
.upload-zone:hover {
  border-color: var(--secondary);
  background: rgba(212, 165, 116, 0.04);
}
.upload-zone.drag-over {
  border-color: var(--secondary);
  background: rgba(212, 165, 116, 0.08);
  box-shadow: 0 0 0 4px rgba(212, 165, 116, 0.1);
}
.upload-zone.has-file {
  border-style: solid;
  border-color: var(--success);
  padding: 16px;
}
.upload-zone input[type="file"] {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}
.upload-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: rgba(212, 165, 116, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: var(--secondary);
}
.upload-zone:hover .upload-icon {
  background: rgba(212, 165, 116, 0.2);
  transform: scale(1.05);
}
.upload-zone .upload-icon {
  transition: var(--transition);
}
.upload-text {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
}
.upload-hint {
  font-size: 12px;
  color: var(--muted);
}

/* Upload Preview */
.upload-preview {
  display: none;
  position: relative;
  z-index: 3;
}
.upload-preview.show {
  display: block;
}
.upload-preview-img {
  max-width: 100%;
  max-height: 240px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  margin: 0 auto;
  display: block;
}
.upload-preview-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  padding: 10px 14px;
  background: var(--bg-white);
  border: 1px solid var(--rule);
  border-radius: var(--radius-sm);
}
.upload-preview-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  margin-right: 12px;
}
.upload-preview-size {
  font-size: 12px;
  color: var(--muted);
  flex-shrink: 0;
  margin-right: 12px;
}
.upload-preview-remove {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 50%;
  background: rgba(220, 38, 38, 0.1);
  color: var(--danger);
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
}
.upload-preview-remove:hover {
  background: var(--danger);
  color: #fff;
}

/* Multiple Upload Items */
.upload-items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
  margin-top: 12px;
}
.upload-item {
  position: relative;
  border: 1px solid var(--rule);
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--bg-subtle, #fafafa);
}
.upload-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.upload-item-remove {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 22px;
  height: 22px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}
.upload-item-remove:hover {
  background: var(--danger);
}
.upload-item-name {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 4px 6px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 10px;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Required badge for upload */
.upload-required-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  background: rgba(220, 38, 38, 0.08);
  color: var(--danger);
  font-size: 11px;
  font-weight: 600;
  margin-left: 8px;
}
.upload-optional-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  background: rgba(37, 99, 235, 0.08);
  color: var(--info);
  font-size: 11px;
  font-weight: 600;
  margin-left: 8px;
}

/* Form input/select/textarea in merchant form */
.vent-submit-form input[type="text"],
.vent-submit-form input[type="tel"],
.vent-submit-form input[type="email"],
.vent-submit-form input[type="date"],
.vent-submit-form select,
.vent-submit-form textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--rule);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--ink);
  background: var(--bg-white);
  outline: none;
  transition: var(--transition-fast);
  font-family: inherit;
}
.vent-submit-form input:focus,
.vent-submit-form select:focus,
.vent-submit-form textarea:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(212, 165, 116, 0.1);
}
.vent-submit-form textarea {
  resize: vertical;
  min-height: 100px;
}

/* Vent Report Cards */
.report-card {
  background: var(--bg-white);
  border: 1px solid var(--rule);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 20px;
}
.report-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: var(--gradient-primary);
  color: #fff;
}
.report-period {
  font-size: 14px;
  font-weight: 600;
}
.report-card-body {
  padding: 24px;
}
.report-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}
.report-stat {
  text-align: center;
}
.report-stat .num {
  font-size: 26px;
  font-weight: 800;
  color: var(--primary);
}
.report-stat .label {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}
.report-highlights {
  padding: 16px;
  background: var(--bg);
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--ink-light);
  line-height: 1.7;
}

/* Reading Progress Bar */
.reading-progress {
  position: fixed;
  top: 0; left: 0;
  width: 0%;
  height: 3px;
  background: var(--gradient-gold);
  z-index: var(--z-toast);
  transition: width 0.1s ease-out;
}

/* Post Modal Footer */
.post-modal-footer {
  display: flex;
  gap: 12px;
  padding: 16px 24px;
  border-top: 1px solid var(--rule);
}
.post-form-cancel {
  flex: 1;
  padding: 10px;
  background: var(--bg-hover);
  color: var(--ink-secondary);
  border: 1px solid var(--rule);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-fast);
}
.post-form-cancel:hover {
  background: var(--rule);
}

/* Market Float Button */
.market-float-btn {
  position: fixed;
  right: 24px;
  bottom: 145px;
  z-index: var(--z-dropdown);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 14px 18px;
  background: var(--gradient-gold);
  color: var(--primary-dark);
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 13px;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  transition: var(--transition);
}
.market-float-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 0 32px rgba(212, 168, 71, 0.4);
}
.float-btn-icon { font-size: 20px; }
.float-btn-text { font-size: 11px; }

/* Post Form Row */
.post-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.post-form-tip {
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
}

/* Post Modal */
.post-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 37, 64, 0.5);
  backdrop-filter: blur(4px);
  z-index: var(--z-modal);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.post-modal-overlay.open,
.post-modal-overlay.active { display: flex; }
.post-modal {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
}
.post-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--rule);
}
.post-modal-header h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
}
.post-modal-close {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--bg-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--primary);
  transition: var(--transition-fast);
}
.post-modal-close:hover { background: var(--rule); }
.post-modal-body { padding: 24px; }
.post-form-group { margin-bottom: 16px; }
.post-form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-light);
  margin-bottom: 6px;
}
.post-form-group label .required { color: var(--danger); }
.post-form-input,
.post-form-select,
.post-form-textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--rule);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--ink);
  background: var(--bg-white);
  transition: var(--transition-fast);
  outline: none;
}
.post-form-input:focus,
.post-form-select:focus,
.post-form-textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}
.post-form-textarea { resize: vertical; min-height: 80px; }
.post-form-submit {
  width: 100%;
  padding: 12px;
  background: var(--gradient-primary);
  color: #fff;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  transition: var(--transition);
}
.post-form-submit:hover { opacity: 0.9; }

/* ============================================================
   Floating Actions
   ============================================================ */
.float-actions {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: var(--z-dropdown);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.float-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--bg-white);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--primary);
  transition: var(--transition);
  cursor: pointer;
}
.float-btn:hover {
  transform: scale(1.1);
  color: var(--accent);
  box-shadow: var(--shadow-lg);
}
.float-btn.top {
  opacity: 0;
  visibility: hidden;
}
.float-btn.top.visible {
  opacity: 1;
  visibility: visible;
}

/* ============================================================
   Responsive Design
   ============================================================ */
@media (max-width: 1280px) {
  .main-nav > a { padding: 8px 10px; font-size: 13px; }
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .market-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1024px) {
  :root {
    --total-header-height: 68px;
  }
  .utility-bar { display: block; height: auto; padding: 4px 0; }
  .utility-bar-inner { flex-wrap: wrap; gap: 4px; padding: 0 12px; }
  .utility-left .util-item:nth-child(2) { display: none; }
  .utility-link { font-size: 11px; }
  .utility-right { gap: 10px; }
  .lang-switcher { padding: 1px; }
  .lang-btn { padding: 2px 7px; font-size: 10px; }
  .site-header { top: 0; }

  .main-nav { display: none; }
  .menu-toggle { display: flex; }

  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .content-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-list { grid-template-columns: repeat(2, 1fr); }
  .vent-case-showcase { grid-template-columns: repeat(2, 1fr); }
  .report-stats { grid-template-columns: repeat(2, 1fr); }
  .vent-form-row { grid-template-columns: 1fr; }
  .post-form-row { grid-template-columns: 1fr; }
  .vent-grid { grid-template-columns: repeat(3, 1fr); }
  .market-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .hero h1 { font-size: 36px; }
  .hero-stats { gap: 32px; }
  .market-safety-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .header-actions .btn-login { display: none; }
  .hero { padding: 48px 20px 64px; }
  .hero h1 { font-size: 28px; }
  .hero .hero-subtitle { font-size: 15px; }
  .hero-search { flex-direction: column; gap: 6px; }
  .hero-search button { width: 100%; padding: 12px; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .hero-stat .num { font-size: 26px; }

  .section { padding: 40px 16px; }
  .section-title { font-size: 22px; }
  .section-header { flex-direction: column; align-items: flex-start; gap: 12px; }

  .category-grid { grid-template-columns: 1fr; }
  .content-grid { grid-template-columns: 1fr; }
  .feature-list { grid-template-columns: 1fr; }
  .vent-grid { grid-template-columns: repeat(2, 1fr); }
  .market-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-bar { flex-direction: column; gap: 24px; padding: 28px; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .cta-section { padding: 32px 20px; margin: 32px 16px; }
  .cta-section h2 { font-size: 20px; }
  .cta-buttons { flex-direction: column; }
  .page-hero { padding: 32px 20px 28px; }
  .page-hero h1 { font-size: 24px; }
  .vent-flow { flex-direction: column; }
  .vent-arrow { transform: rotate(90deg); padding: 4px 0; }
  .sub-channels { grid-template-columns: 1fr; }
  .market-toolbar { flex-direction: column; gap: 12px; align-items: flex-start; }
  .market-post-cta { flex-direction: column; text-align: center; gap: 16px; padding: 24px; }
  .market-stats-bar { flex-wrap: wrap; gap: 16px; padding: 20px; }
  .market-stat-divider { display: none; }
  .market-stat-item { padding: 0 12px; }
  .market-filter-bar { flex-direction: column; gap: 12px; align-items: flex-start; }
  .vent-case-showcase { grid-template-columns: 1fr; }
  .report-stats { grid-template-columns: repeat(2, 1fr); }
  .vent-feed-item { flex-direction: column; gap: 12px; }
  .market-float-btn { right: 16px; bottom: 130px; }
  .vote-widget { padding: 20px; }
  .vent-submit-form { padding: 20px; }
  .float-actions { right: 16px; bottom: 16px; }
  .compare-table { font-size: 13px; }
  .compare-table thead th, .compare-table tbody td { padding: 10px 12px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 24px; }
  .section-title { font-size: 20px; }
  .vent-grid { grid-template-columns: 1fr; }
  .market-grid { grid-template-columns: 1fr; }
  .category-grid { grid-template-columns: 1fr; }
  .hot-filter-bar { gap: 6px; }
  .hot-filter-btn { padding: 6px 14px; font-size: 12px; }
  .market-safety-grid { grid-template-columns: 1fr; }
  .market-stat-item { padding: 0 8px; }
  .market-stat-num { font-size: 22px; }
}

/* ============================================================
   Animations
   ============================================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.animate-in { animation: fadeInUp 0.6s ease-out forwards; }
.animate-fade { animation: fadeIn 0.8s ease-out forwards; }

.category-card, .content-card, .feature-item, .sub-channel {
  opacity: 0;
  animation: fadeInUp 0.5s ease-out forwards;
}
.category-card:nth-child(1) { animation-delay: 0.05s; }
.category-card:nth-child(2) { animation-delay: 0.1s; }
.category-card:nth-child(3) { animation-delay: 0.15s; }
.category-card:nth-child(4) { animation-delay: 0.2s; }
.category-card:nth-child(5) { animation-delay: 0.25s; }
.category-card:nth-child(6) { animation-delay: 0.3s; }
.category-card:nth-child(7) { animation-delay: 0.35s; }
.category-card:nth-child(8) { animation-delay: 0.4s; }

.content-card:nth-child(1) { animation-delay: 0.05s; }
.content-card:nth-child(2) { animation-delay: 0.1s; }
.content-card:nth-child(3) { animation-delay: 0.15s; }
.content-card:nth-child(4) { animation-delay: 0.2s; }
.content-card:nth-child(5) { animation-delay: 0.25s; }
.content-card:nth-child(6) { animation-delay: 0.3s; }

/* ============================================================
   Event Calendar — 活动日历
   ============================================================ */

/* ============================================================
   Visa Renewal — 身份续签模块
   ============================================================ */

.visa-type-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 2rem;
}
.visa-type-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px 20px;
  background: var(--bg-white);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  transition: var(--transition);
  gap: 10px;
}
.visa-type-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.visa-type-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.visa-type-card h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--primary);
}
.visa-type-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}
.visa-type-arrow {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  margin-top: auto;
  padding-top: 6px;
}

/* 港签合规助手 */
.visa-tool-box {
  background: linear-gradient(135deg, rgba(10,37,64,0.03), rgba(37,99,235,0.04));
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
}
.visa-tool-header {
  margin-bottom: 20px;
}
.visa-tool-badge {
  display: inline-block;
  padding: 4px 14px;
  background: var(--gradient-gold);
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 700;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}
.visa-tool-header h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
}
.visa-tool-header p {
  font-size: 14px;
  color: var(--ink-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}
.visa-tool-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 20px 0;
}
.visa-tool-feature {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 18px 12px;
  border: 1px solid var(--rule);
  transition: var(--transition-fast);
}
.visa-tool-feature:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-xs);
}
.visa-tool-feature .feature-num {
  font-size: 28px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 6px;
}
.visa-tool-feature .feature-label {
  font-size: 13px;
  color: var(--ink-light);
  font-weight: 600;
}
.visa-tool-feature .feature-label small {
  font-weight: 400;
  color: var(--muted);
  font-size: 12px;
}
.visa-tool-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.visa-tool-note {
  margin-top: 14px;
  font-size: 13px;
  color: var(--muted);
}

/* 续签高频问题 */
.visa-faq-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.visa-faq-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--bg-white);
  border: 1px solid var(--rule);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--ink-light);
  transition: var(--transition-fast);
  line-height: 1.4;
}
.visa-faq-item:hover {
  border-color: var(--accent);
  background: rgba(37,99,235,0.03);
  color: var(--accent);
  transform: translateX(3px);
}
.faq-q-icon {
  flex-shrink: 0;
  font-size: 14px;
}

/* 续签成功案例 */
.visa-case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.visa-case-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  background: var(--bg-white);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  transition: var(--transition);
}
.visa-case-card:hover {
  border-color: var(--secondary);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.visa-case-tag {
  align-self: flex-start;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
}
.visa-case-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
}
.visa-case-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  flex: 1;
}
.visa-case-result {
  font-size: 14px;
  font-weight: 600;
  color: var(--success);
  padding-top: 8px;
  border-top: 1px solid var(--rule);
}

/* Visa Renewal Responsive */
@media (max-width: 1024px) {
  .visa-type-grid { grid-template-columns: repeat(2, 1fr); }
  .visa-tool-features { grid-template-columns: repeat(2, 1fr); }
  .visa-faq-grid { grid-template-columns: repeat(2, 1fr); }
  .visa-case-grid { grid-template-columns: 1fr; }
  .visa-embed-iframe { height: 700px; }
}
@media (max-width: 480px) {
  .visa-type-grid { grid-template-columns: 1fr; }
  .visa-tool-box { padding: 20px 16px; }
  .visa-tool-features { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .visa-tool-feature { padding: 14px 8px; }
  .visa-tool-feature .feature-num { font-size: 22px; }
  .visa-faq-grid { grid-template-columns: 1fr; }
  .visa-tool-cta { flex-direction: column; }
  .visa-tool-cta .cta-btn { width: 100%; }
  .visa-embed-iframe { height: 600px; }
  .visa-embed-tab { font-size: 12px; padding: 6px 12px; }
}

/* iframe 嵌入式标签 */
.visa-embed-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  padding: 14px;
  background: var(--bg-white);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xs);
}
.visa-embed-tab {
  padding: 8px 16px;
  border: 1.5px solid var(--rule);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-light);
  background: var(--bg-white);
  transition: var(--transition-fast);
  cursor: pointer;
  white-space: nowrap;
}
.visa-embed-tab.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: var(--shadow-blue);
}
.visa-embed-tab:hover:not(.active) {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(37, 99, 235, 0.04);
}

.visa-embed-container {
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--bg-white);
  position: relative;
}
.visa-embed-iframe {
  width: 100%;
  height: 800px;
  border: none;
  display: block;
}
.visa-embed-fallback {
  text-align: center;
  padding: 40px 20px;
  color: var(--muted);
}

/* ============================================================
   Event Calendar — 活动日历
   ============================================================ */

.event-calendar {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 24px;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--rule);
}

.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.calendar-header h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
}
.calendar-nav {
  display: flex;
  gap: 6px;
}
.calendar-nav-btn {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--ink-secondary);
  font-size: 18px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}
.calendar-nav-btn:hover {
  background: var(--accent);
  color: #fff;
}

.calendar-body {
  /* calendar grid area */
}

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 8px;
}
.calendar-weekdays > div {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  padding: 8px 0;
}

.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.calendar-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--ink);
  border-radius: var(--radius-sm);
  background: var(--bg-warm);
  transition: var(--transition-fast);
  cursor: pointer;
  position: relative;
}
.calendar-day:hover {
  background: var(--bg-hover);
  transform: scale(1.05);
}
.calendar-day.other-month {
  background: transparent;
  color: var(--muted-light);
  cursor: default;
}
.calendar-day.other-month:hover {
  transform: none;
  background: transparent;
}
.calendar-day.today {
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  box-shadow: var(--shadow-blue);
}
.calendar-day.today:hover {
  background: var(--accent-dark);
}
.calendar-day.has-event::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--secondary);
}
.calendar-day.has-event.today::after {
  background: var(--secondary-light);
}

/* Calendar Events Side Panel */
.calendar-events {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 400px;
  overflow-y: auto;
}
.calendar-event-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: var(--radius-sm);
  background: var(--bg-warm);
  border: 1px solid var(--rule);
  transition: var(--transition-fast);
}
.calendar-event-item:hover {
  border-color: var(--border-active);
  box-shadow: var(--shadow-xs);
  transform: translateX(2px);
}
.calendar-event-date {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--gradient-primary);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1.2;
}
.calendar-event-date .day {
  font-size: 18px;
  font-weight: 800;
}
.calendar-event-date .month {
  font-size: 11px;
  opacity: 0.8;
}
.calendar-event-info {
  flex: 1;
  min-width: 0;
}
.calendar-event-info h6 {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.calendar-event-info p {
  font-size: 12px;
  color: var(--muted);
}
.calendar-event-tag {
  flex-shrink: 0;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

/* Calendar Responsive */
@media (max-width: 768px) {
  .event-calendar {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .calendar-events {
    max-height: none;
  }
}
@media (max-width: 480px) {
  .event-calendar {
    padding: 16px;
  }
  .calendar-day {
    font-size: 12px;
  }
  .calendar-weekdays > div {
    font-size: 11px;
    padding: 6px 0;
  }
  .calendar-event-item {
    padding: 10px;
    gap: 10px;
  }
  .calendar-event-date {
    width: 40px;
    height: 40px;
  }
  .calendar-event-date .day {
    font-size: 15px;
  }
  .calendar-event-tag {
    display: none;
  }
}

/* ============================================================
   Auth Modal — 登录/注册弹窗
   ============================================================ */

.hklife-auth-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6, 26, 46, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: var(--z-modal);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.hklife-auth-overlay.active {
  display: flex;
  opacity: 1;
}

.hklife-auth-modal {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 420px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  position: relative;
  transform: translateY(20px) scale(0.96);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.hklife-auth-overlay.active .hklife-auth-modal {
  transform: translateY(0) scale(1);
}

.auth-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--rule-light);
  color: var(--ink-secondary);
  font-size: 22px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: var(--transition-fast);
}
.auth-close:hover {
  background: var(--rule);
  color: var(--ink);
}

.auth-header {
  padding: 28px 28px 20px;
  border-bottom: 1px solid var(--rule);
  text-align: center;
}

.auth-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
}
.auth-logo-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: var(--gradient-primary);
  color: #fff;
  font-size: 26px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-blue);
}
.auth-logo-text {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary);
}
.auth-logo-text span {
  color: var(--secondary);
}

.auth-tabs {
  display: flex;
  gap: 0;
  background: var(--bg);
  border-radius: var(--radius-sm);
  padding: 3px;
}
.auth-tab {
  flex: 1;
  padding: 9px 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  border-radius: 6px;
  transition: var(--transition-fast);
}
.auth-tab.active {
  background: var(--bg-white);
  color: var(--primary);
  box-shadow: var(--shadow-xs);
}

.auth-form {
  padding: 24px 28px 28px;
  display: none;
}
.auth-form.active {
  display: block;
}

.auth-form-group {
  margin-bottom: 16px;
}
.auth-form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-light);
  margin-bottom: 6px;
}

.auth-input-wrap {
  position: relative;
}
.auth-input-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}
.auth-input-wrap input {
  width: 100%;
  padding: 11px 14px 11px 44px;
  border: 1.5px solid var(--rule);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--ink);
  background: var(--bg-warm);
  transition: var(--transition-fast);
}
.auth-input-wrap input:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--bg-white);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}
.auth-input-wrap input::placeholder {
  color: var(--muted-light);
}

.auth-toggle-pwd {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  border-radius: var(--radius-xs);
  transition: var(--transition-fast);
}
.auth-toggle-pwd:hover {
  color: var(--ink-light);
  background: var(--rule-light);
}

.auth-pwd-strength {
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.strength-bar {
  flex: 1;
  height: 4px;
  background: var(--rule);
  border-radius: var(--radius-full);
  overflow: hidden;
}
.strength-fill {
  height: 100%;
  width: 0%;
  border-radius: var(--radius-full);
  transition: width 0.3s ease, background 0.3s ease;
}
.strength-text {
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}

.auth-form-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  font-size: 13px;
}
.auth-remember {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--ink-secondary);
  cursor: pointer;
}
.auth-remember input {
  accent-color: var(--accent);
  width: 15px;
  height: 15px;
}
.auth-forgot {
  color: var(--accent);
  font-weight: 500;
}
.auth-forgot:hover {
  text-decoration: underline;
}

.auth-submit-btn {
  width: 100%;
  padding: 12px;
  background: var(--gradient-blue);
  color: #fff;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: var(--transition-fast);
  box-shadow: var(--shadow-blue);
}
.auth-submit-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.25);
}
.auth-submit-btn:active {
  transform: translateY(0);
}
.auth-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.auth-divider {
  text-align: center;
  margin: 20px 0;
  position: relative;
  font-size: 13px;
  color: var(--muted);
}
.auth-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--rule);
}
.auth-divider span {
  background: var(--bg-white);
  padding: 0 14px;
  position: relative;
  z-index: 1;
}

.auth-social {
  display: flex;
  gap: 10px;
}
.auth-social-btn {
  flex: 1;
  padding: 10px;
  border: 1.5px solid var(--rule);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-light);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition-fast);
  background: var(--bg-white);
}
.auth-social-btn:hover {
  border-color: var(--success);
  color: var(--success);
  background: rgba(16, 185, 129, 0.05);
}
.auth-social-btn.wechat:hover {
  border-color: #07C160;
  color: #07C160;
  background: rgba(7, 193, 96, 0.05);
}

/* User Panel (logged-in state) */
.auth-user-panel {
  padding: 28px;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}
.user-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
}
.avatar-circle {
  color: #fff;
  font-size: 32px;
  font-weight: 800;
}
.user-info h3 {
  font-size: 18px;
  color: var(--primary);
  margin-bottom: 4px;
}
.user-info p {
  font-size: 14px;
  color: var(--muted);
}
.auth-logout-btn {
  padding: 9px 24px;
  border: 1.5px solid var(--danger);
  border-radius: var(--radius-sm);
  color: var(--danger);
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition-fast);
}
.auth-logout-btn:hover {
  background: var(--danger);
  color: #fff;
}

/* ============================================================
   Consult Modal — 免费咨询弹窗
   ============================================================ */

.hklife-consult-fab {
  position: fixed;
  right: 24px;
  bottom: 245px;
  z-index: var(--z-overlay);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: var(--gradient-blue);
  color: #fff;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.3);
  transition: var(--transition);
  cursor: pointer;
}
.hklife-consult-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.4);
}
.hklife-consult-fab svg {
  flex-shrink: 0;
}

.hklife-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6, 26, 46, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: var(--z-modal);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.hklife-modal-overlay.active {
  display: flex;
  opacity: 1;
}

.hklife-modal {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  position: relative;
  transform: translateY(20px) scale(0.96);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.hklife-modal-overlay.active .hklife-modal {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--rule-light);
  color: var(--ink-secondary);
  font-size: 22px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: var(--transition-fast);
}
.modal-close:hover {
  background: var(--rule);
  color: var(--ink);
}

.modal-header {
  padding: 28px 28px 20px;
  border-bottom: 1px solid var(--rule);
  text-align: center;
}
.modal-badge {
  display: inline-block;
  padding: 4px 14px;
  background: var(--gradient-gold);
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 700;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}
.modal-header h2 {
  font-size: 20px;
  color: var(--primary);
  margin-bottom: 8px;
}
.modal-header p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

.modal-body {
  padding: 24px 28px 28px;
}

.form-group {
  margin-bottom: 18px;
}
.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-light);
  margin-bottom: 8px;
}
.form-label .required {
  color: var(--danger);
}

.form-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1.5px solid var(--rule);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-fast);
  position: relative;
}
.form-option input {
  display: none;
}
.form-option.selected {
  border-color: var(--accent);
  background: rgba(37, 99, 235, 0.04);
}
.option-icon {
  font-size: 20px;
  flex-shrink: 0;
}
.option-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}
.option-text strong {
  font-size: 14px;
  color: var(--ink);
}
.option-text small {
  font-size: 12px;
  color: var(--muted);
}
.option-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  font-size: 12px;
  transition: var(--transition-fast);
  flex-shrink: 0;
}
.form-option.selected .option-check {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.form-options-sm {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}
.form-option-sm {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  border: 1.5px solid var(--rule);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 13px;
  color: var(--ink-secondary);
  transition: var(--transition-fast);
  justify-content: center;
}
.form-option-sm input {
  display: none;
}
.form-option-sm.selected {
  border-color: var(--accent);
  background: rgba(37, 99, 235, 0.04);
  color: var(--accent);
  font-weight: 600;
}

.form-input {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--rule);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--ink);
  background: var(--bg-warm);
  transition: var(--transition-fast);
}
.form-input:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--bg-white);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--rule);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--ink);
  background: var(--bg-warm);
  transition: var(--transition-fast);
  resize: vertical;
  min-height: 70px;
  font-family: inherit;
}
.form-textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--bg-white);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-footer {
  margin-top: 8px;
}
.form-privacy {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 14px;
  text-align: center;
}
.form-submit-btn {
  width: 100%;
  padding: 13px;
  background: var(--gradient-blue);
  color: #fff;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: var(--transition-fast);
  box-shadow: var(--shadow-blue);
}
.form-submit-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.25);
}
.form-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.form-success {
  text-align: center;
  padding: 20px 0;
}
.success-icon {
  font-size: 48px;
  margin-bottom: 12px;
}
.form-success h3 {
  font-size: 20px;
  color: var(--primary);
  margin-bottom: 8px;
}
.form-success p {
  font-size: 14px;
  color: var(--ink-secondary);
  line-height: 1.8;
}
.success-tip {
  margin-top: 12px;
  font-size: 13px;
  color: var(--muted);
}

/* ============================================================
   Toast — 全局提示
   ============================================================ */

.hklife-toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  z-index: var(--z-toast);
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  background: var(--ink);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
  max-width: 90vw;
  text-align: center;
}
.hklife-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.hklife-toast-success {
  background: var(--success);
}
.hklife-toast-error {
  background: var(--danger);
}
.hklife-toast-info {
  background: var(--info);
}

/* ============================================================
   Language Switch Modal
   ============================================================ */

.lang-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.lang-modal-overlay.show {
  opacity: 1;
  visibility: visible;
}
.lang-modal {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  max-width: 420px;
  width: 90%;
  overflow: hidden;
  transform: translateY(20px);
  transition: transform 0.25s ease;
}
.lang-modal-overlay.show .lang-modal {
  transform: translateY(0);
}
.lang-modal-header {
  padding: 24px 24px 16px;
  text-align: center;
  border-bottom: 1px solid var(--rule);
}
.lang-modal-header h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}
.lang-modal-header p {
  font-size: 13px;
  color: var(--ink-light);
}
.lang-modal-body {
  padding: 20px 24px;
}
.lang-modal-option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 2px solid var(--rule);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition-fast);
  margin-bottom: 10px;
}
.lang-modal-option:hover {
  border-color: var(--secondary);
  background: rgba(212, 165, 116, 0.06);
}
.lang-modal-option.active {
  border-color: var(--secondary);
  background: rgba(212, 165, 116, 0.1);
}
.lang-modal-option-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  background: var(--rule-light);
  flex-shrink: 0;
}
.lang-modal-option.active .lang-modal-option-icon {
  background: var(--secondary);
  color: var(--primary-dark);
}
.lang-modal-option-text {
  flex: 1;
}
.lang-modal-option-text strong {
  display: block;
  font-size: 15px;
  color: var(--ink);
  margin-bottom: 2px;
}
.lang-modal-option-text span {
  font-size: 12px;
  color: var(--ink-light);
}
.lang-modal-option-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--rule);
  flex-shrink: 0;
  transition: var(--transition-fast);
}
.lang-modal-option.active .lang-modal-option-check {
  background: var(--secondary);
  border-color: var(--secondary);
}
.lang-modal-option.active .lang-modal-option-check::after {
  content: '';
  display: block;
  width: 5px;
  height: 9px;
  border: solid var(--primary-dark);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  margin: 3px auto;
}
.lang-modal-footer {
  padding: 16px 24px 24px;
  text-align: center;
}
.lang-modal-footer .btn-close-lang {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: var(--radius-md);
  background: var(--primary-dark);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}
.lang-modal-footer .btn-close-lang:hover {
  background: var(--ink);
}
.lang-modal-note {
  margin-top: 12px;
  padding: 10px 14px;
  background: rgba(255, 193, 7, 0.1);
  border-radius: var(--radius-sm);
  font-size: 12px;
  color: var(--ink-light);
  text-align: center;
  line-height: 1.6;
}

/* ============================================================
   Modal Responsive
   ============================================================ */
@media (max-width: 480px) {
  .hklife-auth-modal,
  .hklife-modal {
    max-width: 100%;
    border-radius: var(--radius-md);
  }
  .auth-header,
  .modal-header {
    padding: 22px 20px 16px;
  }
  .auth-form,
  .modal-body {
    padding: 20px;
  }
  .auth-logo-icon {
    width: 44px;
    height: 44px;
    font-size: 22px;
  }
  .hklife-consult-fab {
    right: 16px;
    bottom: 220px;
    padding: 10px 16px;
    font-size: 13px;
  }
  .hklife-consult-fab span {
    display: none;
  }
  .hklife-consult-fab svg {
    width: 28px;
    height: 28px;
  }
  .form-options-sm {
    flex-direction: column;
  }
  .hklife-toast {
    bottom: 20px;
    font-size: 13px;
    padding: 10px 18px;
  }
}

/* Print */
@media print {
  .site-header, .utility-bar, .float-actions, .footer-qrcode,
  .hklife-auth-overlay, .hklife-modal-overlay, .hklife-consult-fab,
  .hklife-toast { display: none !important; }
  body { background: #fff; color: #000; }
}



/* QR Code Images */
.qr-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-sm);
}
.qr-box {
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}
.qr-box:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

/* Customer Service QR Popup */
.cs-qr-popup {
  position: fixed;
  inset: 0;
  background: rgba(6, 26, 46, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.cs-qr-popup.active {
  display: flex;
  animation: fadeIn 0.25s ease;
}
.cs-qr-popup-inner {
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  max-width: 340px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  animation: slideUp 0.3s ease;
}
.cs-qr-popup-inner h3 {
  font-size: 20px;
  color: var(--primary-dark);
  margin-bottom: 8px;
}
.cs-qr-popup-inner p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 20px;
}
.cs-qr-popup-img {
  width: 240px;
  height: 240px;
  margin: 0 auto 16px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.cs-qr-popup-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cs-qr-popup-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.2s;
}
.cs-qr-popup-close:hover {
  color: var(--primary-dark);
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   Article / Guide Page Styles
   ============================================================ */

/* ---- Article Hero ---- */
.article-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, var(--accent-dark) 100%);
  color: #fff;
  padding: 60px 0 48px;
  position: relative;
  overflow: hidden;
}
.article-hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(212, 168, 71, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}
.article-hero-inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}
.article-hero .breadcrumb {
  margin-bottom: 20px;
}
.article-hero .breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
}
.article-hero .breadcrumb a:hover {
  color: #fff;
}
.article-hero .breadcrumb span {
  color: rgba(255, 255, 255, 0.5);
}
.article-category-badge {
  display: inline-block;
  padding: 5px 14px;
  background: rgba(212, 168, 71, 0.2);
  border: 1px solid rgba(212, 168, 71, 0.4);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  color: var(--secondary-light);
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}
.article-hero h1 {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 16px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.article-subtitle {
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 0;
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  flex-wrap: wrap;
}
.article-meta .author {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

/* ---- Article Body ---- */
.article-body {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 24px;
}
.article-body h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
  margin: 40px 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--rule);
  position: relative;
}
.article-body h2::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 60px;
  height: 2px;
  background: var(--accent);
}
.article-body h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--primary-light);
  margin: 32px 0 12px;
}
.article-body h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  margin: 24px 0 8px;
}
.article-body p {
  font-size: 15px;
  line-height: 1.9;
  color: var(--ink-secondary);
  margin-bottom: 16px;
}
.article-body ul, .article-body ol {
  margin: 0 0 20px 4px;
  padding-left: 20px;
}
.article-body li {
  font-size: 15px;
  line-height: 1.9;
  color: var(--ink-secondary);
  margin-bottom: 6px;
}
.article-body strong {
  color: var(--primary);
  font-weight: 700;
}
.article-body a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: rgba(37, 99, 235, 0.3);
  transition: var(--transition-fast);
}
.article-body a:hover {
  text-decoration-color: var(--accent);
}
.article-body blockquote {
  margin: 24px 0;
  padding: 16px 24px;
  border-left: 4px solid var(--accent);
  background: var(--bg-warm);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-light);
  font-style: italic;
}

/* ---- Callout Box ---- */
.callout {
  margin: 24px 0;
  padding: 18px 22px;
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--accent);
  background: rgba(37, 99, 235, 0.04);
  border: 1px solid rgba(37, 99, 235, 0.12);
  border-left-width: 4px;
}
.callout-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--accent-dark);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.callout-body {
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-secondary);
}
.callout-body p {
  margin-bottom: 8px;
}
.callout-body p:last-child {
  margin-bottom: 0;
}

/* ---- FAQ Accordion ---- */
.faq-list {
  margin: 32px 0;
}
.faq-item {
  border: 1px solid var(--rule);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  overflow: hidden;
  background: var(--bg-white);
  transition: var(--transition-fast);
}
.faq-item:hover {
  border-color: rgba(37, 99, 235, 0.3);
  box-shadow: var(--shadow-xs);
}
.faq-item.active {
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
}
.faq-question {
  width: 100%;
  padding: 16px 20px;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: var(--transition-fast);
}
.faq-question:hover {
  color: var(--accent-dark);
}
.faq-icon {
  font-size: 14px;
  color: var(--accent);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}
.faq-item.active .faq-icon {
  transform: rotate(90deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-item.active .faq-answer {
  max-height: 600px;
}
.faq-answer-inner {
  padding: 0 20px 18px;
  font-size: 14px;
  line-height: 1.85;
  color: var(--ink-secondary);
}
.faq-answer-inner p {
  margin-bottom: 8px;
}
.faq-answer-inner p:last-child {
  margin-bottom: 0;
}

/* ---- Checklist ---- */
.checklist {
  margin: 24px 0;
  padding: 20px 24px;
  background: var(--bg-warm);
  border-radius: var(--radius-sm);
  border: 1px solid var(--rule);
}
.checklist h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}
.checklist ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.checklist li {
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-secondary);
  padding: 6px 0 6px 28px;
  position: relative;
}
.checklist li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  top: 6px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---- Tab Bar ---- */
.tab-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 24px 0 16px;
  padding: 6px;
  background: var(--bg-warm);
  border-radius: var(--radius-sm);
  border: 1px solid var(--rule);
}
.tab-btn {
  padding: 9px 18px;
  border: none;
  border-radius: var(--radius-xs);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-light);
  background: transparent;
  cursor: pointer;
  transition: var(--transition-fast);
  white-space: nowrap;
}
.tab-btn:hover {
  background: var(--bg-white);
  color: var(--accent-dark);
}
.tab-btn.active {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-blue);
}
.tab-panel {
  display: none;
}
.tab-panel.active {
  display: block;
  animation: fadeInUp 0.3s ease-out;
}

/* ---- Info Banner Success Variant ---- */
.info-banner.success {
  border-left-color: #10B981;
  background: rgba(16, 185, 129, 0.06);
  border-color: rgba(16, 185, 129, 0.2);
  border-left-width: 4px;
}
.info-banner.success h4,
.info-banner.success .info-banner-title {
  color: #059669;
}

/* ---- Article TOC ---- */
.article-toc {
  margin: 24px 0;
  padding: 18px 22px;
  background: var(--bg-warm);
  border-radius: var(--radius-sm);
  border: 1px solid var(--rule);
}
.article-toc h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.article-toc ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.article-toc li {
  font-size: 14px;
  line-height: 2;
}
.article-toc a {
  color: var(--ink-secondary);
  text-decoration: none;
  transition: var(--transition-fast);
}
.article-toc a:hover {
  color: var(--accent-dark);
}

/* ---- Article Stats Box ---- */
.article-stats-box {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin: 24px 0;
}
.stat-box {
  padding: 18px 16px;
  background: var(--bg-warm);
  border-radius: var(--radius-sm);
  border: 1px solid var(--rule);
  text-align: center;
  transition: var(--transition-fast);
}
.stat-box:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-xs);
  transform: translateY(-2px);
}
.stat-num {
  font-size: 28px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1.2;
  margin-bottom: 4px;
}
.stat-label {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
}

/* ---- Author Card ---- */
.author-card {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 32px 0;
  padding: 20px 24px;
  background: var(--bg-warm);
  border-radius: var(--radius-sm);
  border: 1px solid var(--rule);
}
.author-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--gradient-blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
  flex-shrink: 0;
}
.author-info h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 2px;
}
.author-info p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

/* ---- Article Tags ---- */
.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
}
.tag-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  margin-right: 4px;
  align-self: center;
}
.article-tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--bg-warm);
  border: 1px solid var(--rule);
  border-radius: var(--radius-full);
  font-size: 12px;
  color: var(--ink-light);
  transition: var(--transition-fast);
  cursor: pointer;
}
.article-tag:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* ---- Related Articles ---- */
.related-articles {
  margin: 40px 0;
}
.related-articles h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--rule);
}
.related-articles .content-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

/* ---- Article Navigation ---- */
.article-nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 32px 0;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  flex-wrap: wrap;
}
.article-nav-item {
  flex: 1;
  min-width: 200px;
  padding: 16px 20px;
  background: var(--bg-warm);
  border-radius: var(--radius-sm);
  border: 1px solid var(--rule);
  text-decoration: none;
  transition: var(--transition-fast);
  display: block;
}
.article-nav-item:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}
.article-nav-item .nav-label {
  font-size: 12px;
  color: var(--muted);
  display: block;
  margin-bottom: 4px;
}
.article-nav-item .nav-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  display: block;
}
.article-nav-item.next {
  text-align: right;
}

/* ---- Case Card ---- */
.case-card {
  margin: 20px 0;
  padding: 20px 24px;
  background: var(--bg-white);
  border-radius: var(--radius-sm);
  border: 1px solid var(--rule);
  box-shadow: var(--shadow-xs);
  transition: var(--transition-fast);
}
.case-card:hover {
  border-color: rgba(37, 99, 235, 0.3);
  box-shadow: var(--shadow-sm);
}
.case-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.case-badge {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
}
.case-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}
.case-card p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-secondary);
  margin-bottom: 10px;
}
.case-result {
  padding: 10px 14px;
  background: rgba(16, 185, 129, 0.06);
  border-radius: var(--radius-xs);
  font-size: 13px;
  color: #059669;
  font-weight: 500;
  border-left: 3px solid #10B981;
}

/* ---- Responsive: Guide Pages ---- */
@media (max-width: 768px) {
  .article-hero {
    padding: 40px 0 32px;
  }
  .article-hero h1 {
    font-size: 24px;
  }
  .article-subtitle {
    font-size: 14px;
  }
  .article-body {
    padding: 24px 16px;
  }
  .article-body h2 {
    font-size: 20px;
  }
  .article-body h3 {
    font-size: 17px;
  }
  .article-body p, .article-body li {
    font-size: 14px;
  }
  .article-stats-box {
    grid-template-columns: repeat(2, 1fr);
  }
  .article-nav {
    flex-direction: column;
  }
  .article-nav-item {
    min-width: 100%;
  }
  .article-nav-item.next {
    text-align: left;
  }
  .tab-btn {
    padding: 8px 14px;
    font-size: 13px;
  }
  .author-card {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .article-hero h1 {
    font-size: 20px;
  }
  .article-stats-box {
    grid-template-columns: 1fr;
  }
  .tab-bar {
    flex-direction: column;
  }
  .tab-btn {
    width: 100%;
    text-align: center;
  }
}


/* ============================================================
   Visa Tool Cards - 续签工具快捷入口
   ============================================================ */

.visa-tool-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin: 24px 0 32px;
}

.visa-tool-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px 20px;
  background: var(--bg-white);
  border: 1.5px solid var(--rule);
  border-radius: var(--radius);
  text-decoration: none;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.visa-tool-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.visa-tool-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.visa-tool-card:hover::before {
  transform: scaleX(1);
}

.visa-tool-icon {
  font-size: 40px;
  margin-bottom: 14px;
  line-height: 1;
}

.visa-tool-body {
  flex: 1;
}

.visa-tool-body h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
}

.visa-tool-body p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-secondary);
  margin-bottom: 0;
}

.visa-tool-link {
  display: inline-block;
  margin-top: 14px;
  padding: 7px 20px;
  background: var(--bg-warm);
  border: 1px solid var(--rule);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-dark);
  transition: var(--transition-fast);
}

.visa-tool-card:hover .visa-tool-link {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: var(--shadow-blue);
}

/* Responsive */
@media (max-width: 768px) {
  .visa-tool-cards {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .visa-tool-card {
    flex-direction: row;
    text-align: left;
    padding: 18px 20px;
  }
  .visa-tool-icon {
    font-size: 32px;
    margin-bottom: 0;
    margin-right: 14px;
  }
  .visa-tool-link {
    margin-top: 0;
    margin-left: auto;
    flex-shrink: 0;
  }
}

@media (max-width: 480px) {
  .visa-tool-card {
    flex-direction: column;
    text-align: center;
  }
  .visa-tool-icon {
    margin-right: 0;
    margin-bottom: 10px;
  }
  .visa-tool-link {
    margin-top: 12px;
    margin-left: 0;
  }
}


/* ============================================================
   Community Directory (social.html)
   ============================================================ */
.community-directory {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin: 24px 0;
}
.community-card {
  padding: 18px 20px;
  background: var(--bg-white);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  transition: var(--transition-fast);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.community-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}
.community-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
}
.community-card-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.community-card-info { flex: 1; }
.community-card-info h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 2px;
}
.community-type {
  font-size: 12px;
  color: var(--muted);
}
.community-badge {
  display: inline-block;
  padding: 2px 8px;
  background: rgba(212, 168, 71, 0.1);
  color: var(--secondary-dark);
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 600;
}
.community-card-desc {
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-secondary);
}
.community-card-stats {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: var(--muted);
}
.community-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid var(--rule-light);
}
.community-join-btn {
  padding: 6px 16px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}
.community-join-btn:hover {
  background: var(--accent-dark);
  box-shadow: var(--shadow-blue);
}
.community-filter-btn {
  padding: 7px 16px;
  border: 1px solid var(--rule);
  border-radius: var(--radius-full);
  font-size: 13px;
  color: var(--ink-light);
  background: var(--bg-white);
  cursor: pointer;
  transition: var(--transition-fast);
}
.community-filter-btn.active,
.community-filter-btn:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* ============================================================
   Spotlight Cards (social.html)
   ============================================================ */
.spotlight-card {
  padding: 24px;
  background: var(--bg-white);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  text-align: center;
  transition: var(--transition-fast);
}
.spotlight-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.spotlight-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin: 0 auto 12px;
  background: var(--gradient-blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}
.spotlight-badge {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(212, 168, 71, 0.15);
  color: var(--secondary-dark);
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 8px;
}
.spotlight-content h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}
.spotlight-role {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 10px;
}
.spotlight-stats {
  display: flex;
  justify-content: center;
  gap: 16px;
  font-size: 12px;
  color: var(--ink-light);
}

/* ============================================================
   Story Cards (social.html)
   ============================================================ */
.story-card {
  padding: 24px;
  background: var(--bg-white);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  position: relative;
  transition: var(--transition-fast);
}
.story-card:hover {
  box-shadow: var(--shadow-md);
}
.story-quote {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-secondary);
  margin-bottom: 16px;
  font-style: italic;
  position: relative;
  padding-left: 20px;
}
.story-quote::before {
  content: '"';
  position: absolute;
  left: 0;
  top: -8px;
  font-size: 36px;
  color: var(--accent);
  opacity: 0.3;
  font-family: Georgia, serif;
}
.story-text {
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-secondary);
  margin-bottom: 14px;
}
.story-author {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--rule-light);
}
.story-author-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-warm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}
.story-author-info h5 {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
}
.story-author-info span {
  font-size: 11px;
  color: var(--muted);
}

/* ============================================================
   Dashboard (forum.html, social.html)
   ============================================================ */
.dashboard {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin: 24px 0;
}
.dashboard-card {
  padding: 20px;
  background: var(--bg-white);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  text-align: center;
  transition: var(--transition-fast);
}
.dashboard-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
}
.dashboard-icon {
  font-size: 28px;
  margin-bottom: 8px;
  line-height: 1;
}
.dashboard-num {
  font-size: 26px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1.2;
}
.dashboard-num .unit {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  margin-left: 2px;
}
.dashboard-label {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}
.dashboard-trend {
  font-size: 11px;
  margin-top: 6px;
  font-weight: 600;
}
.dashboard-trend.up { color: #10B981; }
.dashboard-trend.down { color: #EF4444; }

/* ============================================================
   Online Status Bar (forum.html)
   ============================================================ */
.online-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
  background: var(--bg-white);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  margin: 16px 0;
  flex-wrap: wrap;
}
.online-num {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
}
.online-num span {
  color: var(--accent);
  font-size: 18px;
}
.online-label {
  font-size: 13px;
  color: var(--muted);
}
.online-avatars {
  display: flex;
  align-items: center;
}
.online-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--bg-white);
  background: var(--gradient-blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  margin-left: -8px;
}
.online-avatar:first-child { margin-left: 0; }
.online-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  display: inline-block;
  margin-right: 4px;
}
.online-more {
  font-size: 12px;
  color: var(--muted);
  margin-left: 4px;
}
.online-stat {
  margin-left: auto;
  font-size: 12px;
  color: var(--muted);
}

/* ============================================================
   Rank List (forum.html)
   ============================================================ */
.rank-list {
  margin: 20px 0;
}
.rank-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--rule-light);
  transition: var(--transition-fast);
}
.rank-item:hover {
  background: var(--bg-warm);
}
.rank-item:last-child { border-bottom: none; }
.rank-number {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-warm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  flex-shrink: 0;
}
.rank-number.top1 { background: linear-gradient(135deg, #FFD700, #FFA500); color: #fff; }
.rank-number.top2 { background: linear-gradient(135deg, #C0C0C0, #A8A8A8); color: #fff; }
.rank-number.top3 { background: linear-gradient(135deg, #CD7F32, #B87333); color: #fff; }
.rank-content { flex: 1; min-width: 0; }
.rank-content h5 {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.rank-meta {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}
.rank-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 600;
  margin-right: 6px;
}
.rank-tag.hot { background: rgba(239, 68, 68, 0.1); color: #EF4444; }
.rank-tag.new { background: rgba(37, 99, 235, 0.1); color: var(--accent); }
.rank-tag.featured { background: rgba(212, 168, 71, 0.1); color: var(--secondary-dark); }
.rank-trend {
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.rank-trend.up { color: #10B981; }
.rank-trend.down { color: #EF4444; }
.trend-icon { margin-right: 2px; }

/* ============================================================
   Expert Wall (forum.html)
   ============================================================ */
.expert-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  margin: 20px 0;
}
.expert-card {
  padding: 20px;
  background: var(--bg-white);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  text-align: center;
  transition: var(--transition-fast);
}
.expert-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}
.expert-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  margin: 0 auto 10px;
  background: var(--gradient-blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}
.expert-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 2px;
}
.expert-title {
  font-size: 12px;
  color: var(--accent);
  margin-bottom: 8px;
  font-weight: 600;
}
.expert-stats {
  display: flex;
  justify-content: center;
  gap: 12px;
  font-size: 11px;
  color: var(--muted);
}

/* ============================================================
   Tag Cloud (forum.html)
   ============================================================ */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 20px;
  background: var(--bg-white);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  margin: 20px 0;
}
.tag-cloud-item {
  display: inline-block;
  padding: 5px 14px;
  border: 1px solid var(--rule);
  border-radius: var(--radius-full);
  font-weight: 600;
  color: var(--ink-light);
  background: var(--bg-warm);
  cursor: pointer;
  transition: var(--transition-fast);
}
.tag-cloud-item:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.tag-cloud-item.sm { font-size: 12px; }
.tag-cloud-item.md { font-size: 14px; }
.tag-cloud-item.lg { font-size: 16px; }
.tag-cloud-item.xl { font-size: 18px; font-weight: 700; }

/* ============================================================
   Quick Nav Bar (forum.html, social.html)
   ============================================================ */
.quick-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px;
  background: var(--bg-white);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  margin-bottom: 16px;
  box-shadow: var(--shadow-xs);
}
.quick-nav-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 14px;
  border: 1px solid var(--rule);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-light);
  background: var(--bg-warm);
  cursor: pointer;
  transition: var(--transition-fast);
}
.quick-nav-item:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* ============================================================
   Case Progress Steps (vent.html)
   ============================================================ */
.case-progress {
  display: flex;
  gap: 0;
  margin: 24px 0;
  overflow-x: auto;
}
.case-progress-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  padding: 0 8px;
  min-width: 80px;
}
.case-progress-step::before {
  content: '';
  position: absolute;
  top: 14px;
  left: -50%;
  width: 100%;
  height: 2px;
  background: var(--rule);
}
.case-progress-step:first-child::before { display: none; }
.case-progress-step.done::before { background: #10B981; }
.case-progress-step.current::before { background: var(--accent); }
.step-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-warm);
  border: 2px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  z-index: 1;
  margin-bottom: 8px;
}
.case-progress-step.done .step-dot {
  background: #10B981;
  border-color: #10B981;
  color: #fff;
}
.case-progress-step.current .step-dot {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
}
.step-name {
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}
.case-progress-step.current .step-name,
.case-progress-step.done .step-name {
  color: var(--primary);
  font-weight: 600;
}

/* ============================================================
   Layout Helpers
   ============================================================ */
.content-grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin: 20px 0;
}

/* ============================================================
   Responsive for new components
   ============================================================ */
@media (max-width: 768px) {
  .community-directory {
    grid-template-columns: 1fr;
  }
  .dashboard {
    grid-template-columns: repeat(2, 1fr);
  }
  .expert-wall {
    grid-template-columns: repeat(2, 1fr);
  }
  .online-bar {
    gap: 10px;
  }
  .online-stat {
    margin-left: 0;
    width: 100%;
  }
  .case-progress {
    gap: 4px;
  }
  .step-name {
    font-size: 10px;
  }
}

@media (max-width: 480px) {
  .dashboard {
    grid-template-columns: 1fr;
  }
  .expert-wall {
    grid-template-columns: 1fr;
  }
  .tag-cloud {
    padding: 14px;
  }
}


/* ============================================================
   DevOps Audit Fixes - Missing CSS Classes
   ============================================================ */

/* prev class - used in guide page navigation */
.prev {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 14px;
  background: var(--bg-white, #fff);
  border: 1px solid var(--rule, #e5e7eb);
  border-radius: var(--radius, 6px);
  color: var(--text-primary, #1a1a2e);
  text-decoration: none;
  font-size: 14px;
  transition: var(--transition-fast, all 0.2s ease);
  cursor: pointer;
}
.prev:hover {
  border-color: var(--accent, #2563EB);
  color: var(--accent, #2563EB);
}

/* other class - used in forum online status */
.other {
  color: var(--text-muted, #6b7280);
  font-size: 13px;
}

/* edu class - used in vent category tags */
.edu {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  background: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
}
