/* ==========================================================================
   jichangpush.blog - 现代化中文科技资讯媒体风格样式表 (Pure Native CSS)
   规范：纯原生 CSS，零重型框架依赖，极速秒开，完美兼容移动端与桌面端
   ========================================================================== */

:root {
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-light: #eff6ff;
  --primary-border: #bfdbfe;
  --accent: #0ea5e9;
  --success: #10b981;
  --success-bg: #ecfdf5;
  --warning: #f59e0b;
  --warning-bg: #fffbeb;
  --danger: #ef4444;
  --danger-bg: #fef2f2;
  
  --text-main: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  
  --bg-body: #f8fafc;
  --bg-card: #ffffff;
  --bg-subtle: #f1f5f9;
  --bg-elevated: #ffffff;
  
  --border-color: #e2e8f0;
  --border-subtle: #cbd5e1;
  
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-full: 9999px;
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  
  --container-max: 1200px;
  --article-max: 880px;
  
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

/* Reset & Global */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-main);
  background-color: var(--bg-body);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

input, button, select, textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.article-container {
  width: 100%;
  max-width: var(--article-max);
  margin-left: auto;
  margin-right: auto;
}

.table-page-container {
  max-width: 1160px;
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  text-decoration: none !important;
}

.site-logo .logo-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  border-radius: var(--radius-md);
  font-size: 1rem;
}

.site-logo .logo-highlight {
  color: var(--primary);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  padding: 0.5rem 0.85rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-md);
  text-decoration: none !important;
  transition: all 0.15s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
  background-color: var(--primary-light);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.search-trigger-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.85rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.15s ease;
}

.search-trigger-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background-color: var(--primary-light);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  padding: 0.5rem;
  color: var(--text-main);
  font-size: 1.5rem;
  line-height: 1;
}

/* Hero Section */
.hero-section {
  padding: 3.5rem 0 2.5rem;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-body) 100%);
  border-bottom: 1px solid var(--border-color);
}

.hero-content {
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.85rem;
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--primary);
  background-color: var(--primary-light);
  border: 1px solid var(--primary-border);
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
}

.hero-title {
  font-size: 2.25rem;
  line-height: 1.25;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 1.75rem;
}

.hero-keywords {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.keyword-tag {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 0.825rem;
  color: var(--text-muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.35rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  text-decoration: none !important;
  transition: all 0.15s ease;
  border: 1px solid transparent;
}

.btn-primary {
  background-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 2px 4px rgba(37, 99, 235, 0.25);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  color: #ffffff;
}

.btn-secondary {
  background-color: #ffffff;
  color: var(--text-main);
  border-color: var(--border-color);
}

.btn-secondary:hover {
  background-color: var(--bg-subtle);
  border-color: var(--text-light);
  color: var(--text-main);
}

.btn-sm {
  padding: 0.35rem 0.75rem;
  font-size: 0.85rem;
}

/* Quick Answer Section */
.quick-answer-box {
  background: #ffffff;
  border: 1px solid var(--primary-border);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin: 2rem 0;
  box-shadow: var(--shadow-sm);
}

.quick-answer-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.75rem;
}

.quick-answer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.quick-answer-item {
  background: var(--bg-body);
  padding: 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.quick-answer-item h4 {
  font-size: 0.95rem;
  color: var(--primary);
  margin-bottom: 0.35rem;
  font-weight: 700;
}

.quick-answer-item p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Section Common */
.section {
  padding: 3.5rem 0;
}

.section-alt {
  background-color: #ffffff;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.section-header {
  margin-bottom: 2rem;
  text-align: center;
}

.section-tag {
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--primary);
  margin-bottom: 0.4rem;
}

.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.section-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-top: 0.5rem;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

/* Cards & Grids */
.cards-grid,
.airports-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.airport-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  position: relative;
}

.airport-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-border);
}

.airport-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.85rem;
}

.airport-name-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.airport-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.55rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
}

.badge-verified {
  background-color: var(--success-bg);
  color: var(--success);
  border: 1px solid #a7f3d0;
}

.badge-official {
  background-color: var(--primary-light);
  color: var(--primary);
  border: 1px solid var(--primary-border);
}

.badge-unverified {
  background-color: var(--warning-bg);
  color: var(--warning);
  border: 1px solid #fde68a;
}

.badge-tag {
  background-color: var(--bg-subtle);
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
}

.airport-price-row {
  margin: 0.75rem 0 1rem;
  padding: 0.75rem 1rem;
  background-color: var(--bg-body);
  border-radius: var(--radius-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.price-val {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--danger);
}

.price-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.airport-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.spec-item {
  display: flex;
  flex-direction: column;
}

.spec-label {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.spec-value {
  font-weight: 600;
  color: var(--text-main);
}

.airport-pros-cons {
  margin: 0.85rem 0;
  font-size: 0.85rem;
  flex-grow: 1;
}

.pros-list, .cons-list {
  list-style: none;
  margin-bottom: 0.5rem;
}

.pros-list li {
  color: #047857;
  display: flex;
  align-items: flex-start;
  gap: 0.35rem;
  margin-bottom: 0.25rem;
}

.cons-list li {
  color: #b91c1c;
  display: flex;
  align-items: flex-start;
  gap: 0.35rem;
  margin-bottom: 0.25rem;
}

.airport-card-footer {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  gap: 0.75rem;
}

/* Category Grid */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.category-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-decoration: none !important;
  color: inherit;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
}

.category-card:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.cat-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.cat-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.35rem;
}

.cat-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Responsive Table */
.table-wrapper, .table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  margin: 1.5rem 0;
  scrollbar-width: none; /* Hide scrollbar in Firefox */
  -ms-overflow-style: none; /* Hide scrollbar in IE/Edge */
}

.table-wrapper::-webkit-scrollbar,
.table-responsive::-webkit-scrollbar {
  display: none; /* Hide scrollbar in Chrome/Safari/WebKit */
  width: 0;
  height: 0;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
  min-width: 0;
  table-layout: auto;
}

.data-table th, .data-table td {
  padding: 0.8rem 0.95rem;
  border-bottom: 1px solid var(--border-color);
  vertical-align: middle;
}

.data-table th {
  background-color: var(--bg-subtle);
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
}

.article-container .data-table {
  width: 100%;
  min-width: 0;
}

.article-container .data-table th,
.article-container .data-table td {
  padding: 0.75rem 0.85rem;
  font-size: 0.875rem;
  white-space: normal;
  word-break: break-word;
}

.article-container .data-table th {
  white-space: nowrap;
}

.data-table tr:hover td {
  background-color: #f8fafc;
}

.table-coupon-chip {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.825rem;
  font-weight: 700;
  color: #dc2626;
  background-color: #fee2e2;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  border: 1px solid #fecaca;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.85rem;
}

.rank-1 { background-color: #fef08a; color: #854d0e; }
.rank-2 { background-color: #e2e8f0; color: #334155; }
.rank-3 { background-color: #fed7aa; color: #9a3412; }
.rank-other { background-color: var(--bg-subtle); color: var(--text-muted); }

/* Comparison Tool Interactive Styles */
.compare-container {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.compare-selector-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-color);
}

.compare-select {
  padding: 0.5rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background-color: #fff;
  font-size: 0.9rem;
  min-width: 180px;
}

.compare-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.compare-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.75rem;
  background-color: var(--primary-light);
  color: var(--primary);
  border: 1px solid var(--primary-border);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
}

.compare-chip button {
  background: none;
  border: none;
  color: var(--primary);
  cursor: pointer;
  font-weight: bold;
  padding: 0;
  line-height: 1;
}

/* Article & Prose */
.article-header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.breadcrumbs a {
  color: var(--text-muted);
}

.breadcrumbs a:hover {
  color: var(--primary);
}

.article-title {
  font-size: 2.15rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--text-main);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.prose {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #1e293b;
}

.prose h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 2.25rem;
  margin-bottom: 1rem;
  color: var(--text-main);
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--bg-subtle);
}

.prose h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
  color: var(--text-main);
}

.prose p {
  margin-bottom: 1.25rem;
}

.prose ul, .prose ol {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}

.prose li {
  margin-bottom: 0.5rem;
}

.prose blockquote {
  border-left: 4px solid var(--primary);
  background-color: var(--primary-light);
  padding: 1rem 1.25rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 1.5rem 0;
  color: #1e3a8a;
  font-style: normal;
}

.prose code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  background-color: var(--bg-subtle);
  padding: 0.2em 0.4em;
  border-radius: var(--radius-sm);
  color: #be185d;
}

.callout {
  padding: 1.25rem;
  border-radius: var(--radius-md);
  margin: 1.5rem 0;
  border: 1px solid transparent;
}

.callout-info {
  background-color: var(--primary-light);
  border-color: var(--primary-border);
  color: #1e40af;
}

.callout-warning {
  background-color: var(--warning-bg);
  border-color: #fde68a;
  color: #92400e;
}

.callout-success {
  background-color: var(--success-bg);
  border-color: #a7f3d0;
  color: #065f46;
}

/* FAQ Accordion */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 1rem 1.25rem;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-main);
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: background 0.15s ease;
}

.faq-question:hover {
  background-color: var(--bg-body);
}

.faq-answer {
  padding: 0 1.25rem 1rem;
  font-size: 0.925rem;
  color: var(--text-secondary);
  line-height: 1.6;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-icon {
  transition: transform 0.2s ease;
  font-size: 0.85rem;
}

/* Live Search Modal */
.search-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 100;
  align-items: flex-start;
  justify-content: center;
  padding: 4rem 1rem 1rem;
}

.search-modal.active {
  display: flex;
}

.search-dialog {
  background: #ffffff;
  width: 100%;
  max-width: 600px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.search-input-wrap {
  display: flex;
  align-items: center;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border-color);
  gap: 0.75rem;
}

.search-input {
  width: 100%;
  border: none;
  outline: none;
  font-size: 1.1rem;
  color: var(--text-main);
}

.search-results {
  max-height: 400px;
  overflow-y: auto;
  padding: 0.75rem;
}

.search-result-item {
  display: block;
  padding: 0.75rem;
  border-radius: var(--radius-md);
  text-decoration: none !important;
  color: var(--text-main);
  transition: background 0.15s ease;
}

.search-result-item:hover {
  background-color: var(--bg-subtle);
}

.search-result-title {
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.2rem;
}

.search-result-desc {
  font-size: 0.825rem;
  color: var(--text-secondary);
}

/* Footer */
.site-footer {
  margin-top: auto;
  background-color: #0f172a;
  color: #94a3b8;
  padding: 3.5rem 0 2rem;
  border-top: 1px solid #1e293b;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-brand h3 {
  color: #f8fafc;
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.footer-col h4 {
  color: #f8fafc;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #94a3b8;
  font-size: 0.875rem;
  text-decoration: none;
}

.footer-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid #1e293b;
  text-align: center;
  font-size: 0.825rem;
  color: #64748b;
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-full);
  background-color: var(--primary);
  color: #ffffff;
  border: none;
  box-shadow: var(--shadow-md);
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 40;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.back-to-top:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
}

.back-to-top.visible {
  display: flex;
}

/* Responsive Breakpoints */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 1.75rem;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .main-nav {
    display: none;
    position: absolute;
    top: 4rem;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    flex-direction: column;
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    gap: 0.5rem;
  }
  
  .main-nav.active {
    display: flex;
  }
  
  .nav-link {
    width: 100%;
    padding: 0.75rem 1rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .cards-grid {
    grid-template-columns: 1fr;
  }
  
  .compare-selector-bar {
    flex-direction: column;
    align-items: stretch;
  }
}


/* ==========================================================================
   Multi-Column Tech Portal & Editorial Magazine Framework Additions
   打造非卡片化差异排版、双栏资讯门户流、Sticky侧栏与焦点热榜展台
   ========================================================================== */

/* 1. 顶部新闻快讯条 (Top Ticker) */
.top-ticker {
  background: linear-gradient(90deg, #070d1e 0%, #0c1838 50%, #070d1e 100%);
  color: #94a3b8;
  font-size: 0.825rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(59, 130, 246, 0.2);
}
.ticker-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.ticker-content {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.ticker-badge {
  background: #ef4444;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
}
.ticker-links {
  display: flex;
  gap: 1rem;
  font-size: 0.8rem;
}
.ticker-links a {
  color: #cbd5e1;
}
.ticker-links a:hover {
  color: #38bdf8;
  text-decoration: none;
}

/* 2. 双栏门户布局 (Portal Layout) */
.portal-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin: 2.5rem 0;
}
@media (min-width: 992px) {
  .portal-layout {
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 2.5rem;
  }
}
.portal-main {
  min-width: 0;
}
.portal-sidebar {
  min-width: 0;
}
.sticky-sidebar {
  position: sticky;
  top: 5rem;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

/* 3. 门户 Hero 头条大杂烩 (Portal Lead Hero) */
.portal-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin: 1.5rem 0 2.5rem;
}
@media (min-width: 900px) {
  .portal-hero {
    grid-template-columns: 1.65fr 1fr;
    align-items: stretch;
  }
}
.portal-hero-lead {
  background: linear-gradient(135deg, rgba(8, 14, 30, 0.86) 0%, rgba(10, 20, 50, 0.78) 55%, rgba(15, 23, 42, 0.88) 100%),
              url('../images/hero-network-bg.jpg') center right / cover no-repeat;
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 16px 36px -8px rgba(2, 6, 23, 0.45);
  border: 1px solid rgba(59, 130, 246, 0.3);
  position: relative;
  overflow: hidden;
}
.portal-hero-lead::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.25) 0%, rgba(245, 158, 11, 0.1) 45%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.portal-hero-lead .lead-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(30, 58, 138, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(147, 197, 253, 0.4);
  color: #bfdbfe;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.28rem 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}
.portal-hero-lead h1 {
  color: #ffffff;
  font-size: 1.85rem;
  line-height: 1.35;
  margin-bottom: 0.85rem;
  font-weight: 800;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.65);
}
.portal-hero-lead p {
  color: #e2e8f0;
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}
.portal-hero-side {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.portal-hero-side h3 {
  font-size: 1.1rem;
  color: var(--text-main);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--bg-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* 4. 侧边栏 Widget 组件 (Sidebar Widgets) */
.sidebar-widget {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-sm);
}
.widget-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* 5. 榜单微列表 (Mini Ranking List) */
.ranking-mini-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.ranking-mini-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0.75rem;
  border-radius: var(--radius-sm);
  background: var(--bg-subtle);
  transition: all 0.15s ease;
  text-decoration: none !important;
}
.ranking-mini-item:hover {
  background: var(--primary-light);
  transform: translateX(2px);
}
.rank-badge {
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  margin-right: 0.65rem;
  flex-shrink: 0;
}
.rank-badge-1 { background: #fbbf24; color: #78350f; }
.rank-badge-2 { background: #94a3b8; color: #1e293b; }
.rank-badge-3 { background: #d97706; color: #ffffff; }
.rank-badge-n { background: #e2e8f0; color: #64748b; }
.rank-name-box {
  flex: 1;
  min-width: 0;
}
.rank-brand-name {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rank-brand-sub {
  font-size: 0.775rem;
  color: var(--text-muted);
}
.rank-brand-price {
  font-size: 0.85rem;
  font-weight: 700;
  color: #ef4444;
  white-space: nowrap;
}

/* 6. 优惠券代码速查盒 (Coupon Vault) */
.coupon-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8fafc;
  border: 1px dashed var(--primary);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.5rem;
}
.coupon-label {
  font-size: 0.825rem;
  color: var(--text-main);
  font-weight: 600;
}
.coupon-code {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: #dc2626;
  background: #fee2e2;
  padding: 0.15rem 0.45rem;
  border-radius: 3px;
  user-select: all;
}

/* 7. 横向图文资讯流 (Media Stream / Non-card Item) */
.media-stream {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.media-item {
  display: flex;
  gap: 1.25rem;
  padding: 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
  align-items: flex-start;
  text-decoration: none !important;
}
.media-item:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}
.media-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}
.media-body {
  flex: 1;
  min-width: 0;
}
.media-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.45;
  margin-bottom: 0.35rem;
}
.media-item:hover .media-title {
  color: var(--primary);
}
.media-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 0.6rem;
}
.media-meta {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.775rem;
  color: var(--text-muted);
}

/* 8. 编辑部精选标杆卡 (Featured Hero Showcase) */
.featured-showcase {
  background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
  border: 2px solid #10b981;
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-md);
  position: relative;
}
.featured-ribbon {
  position: absolute;
  top: -12px;
  right: 20px;
  background: #059669;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.85rem;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
  letter-spacing: 0.05em;
}

/* 9. 文章双栏门户布局 (Article Dual Column Portal) */
.article-portal-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin: 1.5rem 0 3rem;
}
@media (min-width: 1024px) {
  .article-portal-layout {
    grid-template-columns: minmax(0, 1fr) 300px;
    align-items: start;
  }
}
.article-main-body {
  min-width: 0;
}
.article-sidebar {
  min-width: 0;
}

/* 10. 文章目录小组件 (TOC Widget) */
.toc-box {
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}
.toc-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.85rem;
}
.toc-list a {
  color: var(--text-secondary);
  text-decoration: none;
  line-height: 1.4;
  display: block;
  padding-left: 0.5rem;
  border-left: 2px solid transparent;
}
.toc-list a:hover {
  color: var(--primary);
  border-left-color: var(--primary);
}

/* ==========================================================================
   11. 文章翻页导航 (Article Pagination Navigation - 上一篇 / 下一篇)
   ========================================================================== */
.article-pagination-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin: 2.5rem 0 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
}

.pagination-card {
  display: flex;
  flex-direction: column;
  padding: 1.25rem 1.4rem;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.pagination-card:hover {
  border-color: var(--primary);
  box-shadow: 0 6px 16px -2px rgba(37, 99, 235, 0.12);
  transform: translateY(-2px);
}

.pagination-card.prev {
  text-align: left;
}

.pagination-card.next {
  text-align: right;
}

.pagination-label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.04em;
  margin-bottom: 0.45rem;
}

.pagination-card.next .pagination-label {
  justify-content: flex-end;
}

.pagination-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s ease;
}

.pagination-card:hover .pagination-title {
  color: var(--primary);
}

.pagination-category {
  font-size: 0.775rem;
  color: var(--text-muted);
  margin-top: 0.4rem;
}

@media (max-width: 640px) {
  .article-pagination-nav {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .pagination-card.next {
    text-align: left;
  }
  .pagination-card.next .pagination-label {
    justify-content: flex-start;
  }
}

/* ==========================================================================
   12. 延伸推荐阅读模块 (Related Reading Section)
   ========================================================================== */
.related-reading-section {
  margin: 2rem 0;
  padding: 1.5rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
}

.related-reading-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-color);
}

.related-reading-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.related-reading-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.related-reading-card {
  display: flex;
  flex-direction: column;
  padding: 1rem;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all 0.2s ease;
}

.related-reading-card:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.08);
  transform: translateY(-2px);
}

.related-reading-card-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.45;
  margin-bottom: 0.45rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.related-reading-card:hover .related-reading-card-title {
  color: var(--primary);
}

.related-reading-card-meta {
  font-size: 0.775rem;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  margin-top: auto;
}

/* ==========================================================================
   13. 正文精准内链样式 (In-Article Internal Links)
   ========================================================================== */
.internal-link {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(37, 99, 235, 0.35);
  text-underline-offset: 3px;
  transition: all 0.2s ease;
}

.internal-link:hover {
  color: var(--primary-hover);
  text-decoration-color: var(--primary-hover);
  background-color: rgba(37, 99, 235, 0.05);
  border-radius: 2px;
}

/* ==========================================================================
   14. 联络我们导航按钮与官方模态框 (Contact Modal & Nav Trigger)
   ========================================================================== */
.nav-contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.42rem 0.85rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--primary);
  background: var(--primary-light);
  border: 1px solid rgba(37, 99, 235, 0.25);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  font-family: inherit;
  margin-left: 0.25rem;
}

.nav-contact-btn:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
  transform: translateY(-1px);
}

.nav-contact-btn svg {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.nav-contact-btn:hover svg {
  transform: scale(1.1);
}

/* Contact Modal Backdrop */
.contact-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  overflow-y: auto;
}

.contact-modal.active {
  display: flex;
}

/* Dialog Box */
.contact-dialog {
  background: #ffffff;
  width: 100%;
  max-width: 580px;
  border-radius: var(--radius-xl);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.9);
  animation: contactModalScaleIn 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

@keyframes contactModalScaleIn {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(8px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Dialog Header */
.contact-dialog-header {
  padding: 1.5rem 1.75rem 1.25rem;
  background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
  border-bottom: 1px solid var(--border-color);
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.contact-header-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--primary);
  background: rgba(37, 99, 235, 0.1);
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.5rem;
}

.contact-dialog-title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.contact-dialog-subtitle {
  margin: 0.4rem 0 0 0;
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.contact-close-btn {
  background: #ffffff;
  border: 1px solid var(--border-color);
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.15s ease;
  flex-shrink: 0;
  margin-left: 1rem;
}

.contact-close-btn:hover {
  background: #fee2e2;
  color: #dc2626;
  border-color: #fca5a5;
  transform: rotate(90deg);
}

/* Dialog Body */
.contact-dialog-body {
  padding: 1.5rem 1.75rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* Contact Cards */
.contact-card {
  display: flex;
  gap: 1.25rem;
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  background: #ffffff;
  transition: all 0.2s ease;
  position: relative;
}

.contact-card:hover {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  border-color: #cbd5e1;
}

.contact-card-telegram {
  border-left: 4px solid #229ed9;
  background: linear-gradient(180deg, #ffffff 0%, #f0f9ff 100%);
}

.contact-card-email {
  border-left: 4px solid #ea4335;
  background: linear-gradient(180deg, #ffffff 0%, #fef2f2 100%);
}

.contact-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.telegram-icon {
  background: #e0f2fe;
  color: #0284c7;
}

.email-icon {
  background: #fee2e2;
  color: #dc2626;
}

.contact-card-info {
  flex: 1;
  min-width: 0;
}

.contact-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.contact-method-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
}

.contact-badge-status {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
}

.badge-instant {
  background: #dcfce7;
  color: #15803d;
}

.badge-email {
  background: #ffedd5;
  color: #c2410c;
}

.contact-account-highlight {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0.35rem 0 0.5rem;
}

.contact-handle-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.contact-code {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  background: #ffffff;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
}

.contact-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0 0 0.85rem 0;
}

.contact-action-group {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.btn-contact-action {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  text-decoration: none !important;
  transition: all 0.15s ease;
}

.btn-telegram {
  background: #0284c7;
  color: #ffffff !important;
}

.btn-telegram:hover {
  background: #0369a1;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(2, 132, 199, 0.3);
}

.btn-email {
  background: #dc2626;
  color: #ffffff !important;
}

.btn-email:hover {
  background: #b91c1c;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(220, 38, 38, 0.3);
}

.btn-copy-account {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.85rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: inherit;
}

.btn-copy-account:hover {
  background: #f8fafc;
  border-color: #94a3b8;
  color: var(--text-primary);
}

/* Security Notice */
.contact-security-notice {
  padding: 1rem 1.15rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  font-size: 0.825rem;
  line-height: 1.55;
  color: #475569;
}

.security-notice-header {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: #0f172a;
  margin-bottom: 0.35rem;
}

.security-icon {
  font-size: 1rem;
}

@media (max-width: 768px) {
  .nav-contact-btn {
    width: 100%;
    justify-content: center;
    margin: 0.5rem 0 0 0;
    padding: 0.6rem 1rem;
  }
}

@media (max-width: 640px) {
  .contact-modal {
    padding: 1rem;
    align-items: flex-end;
  }
  .contact-dialog {
    max-height: 90vh;
    overflow-y: auto;
  }
  .contact-dialog-header {
    padding: 1.25rem 1.25rem 1rem;
  }
  .contact-dialog-body {
    padding: 1.25rem;
  }
  .contact-card {
    flex-direction: column;
    gap: 0.85rem;
  }
  .contact-action-group {
    flex-direction: column;
  }
  .btn-contact-action, .btn-copy-account {
    justify-content: center;
    width: 100%;
  }
}
