/* ==========================================================================
   机场Clash服务指南 - jichang-clash.blog 样式表
   视觉定位：双色分区的服务说明手册
   浅雾绿导航区 (#f2f7f4, #e2ece6) | 奶白阅读区 (#fafaf7, #ffffff)
   深墨绿标题 (#16382f, #1b4338) | 暖土橙提示 (#cf6532, #b85424)
   ========================================================================== */

:root {
  --primary: #14362d;
  --primary-hover: #1f4f41;
  --primary-light: #e8f3ed;
  --bg-body: #fafaf7;
  --bg-card: #ffffff;
  --bg-sidebar: #eff5f1;
  --bg-sidebar-hover: #e3ede7;
  --bg-section-tint: #f3f8f5;
  --bg-code: #eef3ef;
  
  --text-main: #24332e;
  --text-muted: #576b63;
  --text-subtle: #798d85;
  --text-heading: #14362d;
  
  --accent-orange: #cf6532;
  --accent-orange-bg: #fdf5f0;
  --accent-orange-border: #f5cfbd;
  
  --border-light: #e4ece7;
  --border-focus: #1b4338;
  
  --sidebar-width: 250px;
  --header-height: 64px;
  --content-max-width: 860px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.75;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
  position: relative;
}

/* ==========================================================================
   布局结构：桌面左侧站点导航 + 单列宽松正文
   ========================================================================== */

.site-wrapper {
  display: flex;
  min-height: 100vh;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  background: linear-gradient(to right, var(--bg-sidebar) var(--sidebar-width), var(--bg-body) var(--sidebar-width));
}

/* 左侧栏 (桌面端) */
.site-sidebar {
  width: var(--sidebar-width);
  background-color: var(--bg-sidebar);
  border-right: 1px solid var(--border-light);
  flex-shrink: 0;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  padding: 32px 20px 24px 24px;
  z-index: 100;
}

.sidebar-brand {
  margin-bottom: 28px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-heading);
}

.brand-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  object-fit: cover;
  box-shadow: 0 2px 6px rgba(20, 54, 45, 0.12);
}

.brand-info {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-heading);
  letter-spacing: -0.01em;
}

.brand-domain {
  font-size: 0.78rem;
  color: var(--text-subtle);
  font-family: var(--font-mono);
}

/* 导航链接 */
.sidebar-nav {
  margin-bottom: auto;
}

.sidebar-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sidebar-nav-item > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.15s ease;
}

.sidebar-nav-item > a:hover {
  background-color: var(--bg-sidebar-hover);
  color: var(--text-heading);
}

.sidebar-nav-item.active > a {
  background-color: #dceae2;
  color: var(--text-heading);
  font-weight: 600;
  border-left: 3px solid var(--text-heading);
}

.sidebar-nav-item.primary > a {
  background-color: var(--accent-orange-bg);
  color: var(--accent-orange);
  border: 1px solid var(--accent-orange-border);
  font-weight: 600;
}

.sidebar-nav-item.primary > a:hover {
  background-color: #faede6;
}

.sidebar-nav-item.primary.active > a {
  background-color: #f7e6dc;
  border-left: 3px solid var(--accent-orange);
}

/* 左侧栏底部简短范围说明 */
.sidebar-scope {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--text-subtle);
}

.sidebar-scope strong {
  color: var(--text-muted);
  display: block;
  margin-bottom: 4px;
}

/* 主内容容器 */
.site-main-area {
  flex: 1 1 0%;
  display: flex;
  flex-direction: column;
  min-width: 0;
  max-width: 100%;
  width: 100%;
  overflow-x: hidden;
}

/* 顶部通用 Header（桌面与移动共用，右侧放搜索栏） */
.site-header {
  height: var(--header-height);
  border-bottom: 1px solid var(--border-light);
  background-color: rgba(250, 250, 247, 0.95);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
}

.header-breadcrumbs {
  font-size: 0.88rem;
  color: var(--text-subtle);
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.header-breadcrumbs a:hover {
  color: var(--text-heading);
  text-decoration: underline;
}

.header-breadcrumbs .sep {
  color: #a4b4ac;
}

.mobile-brand {
  display: none;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-heading);
}

.mobile-brand-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
}

.mobile-brand-text {
  font-size: 1rem;
  font-weight: 700;
}

/* 站内搜索栏 */
.header-search {
  position: relative;
  display: flex;
  align-items: center;
}

.search-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.search-icon {
  position: absolute;
  left: 12px;
  width: 16px;
  height: 16px;
  color: var(--text-subtle);
  pointer-events: none;
}

.search-input {
  width: 240px;
  height: 36px;
  padding: 0 12px 0 36px;
  font-size: 0.88rem;
  border: 1px solid var(--border-light);
  border-radius: 20px;
  background-color: #ffffff;
  color: var(--text-main);
  outline: none;
  transition: all 0.2s ease;
}

.search-input:focus {
  width: 300px;
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(20, 54, 45, 0.08);
}

.search-shortcut {
  position: absolute;
  right: 10px;
  font-size: 0.72rem;
  background-color: var(--bg-sidebar);
  color: var(--text-subtle);
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid var(--border-light);
  pointer-events: none;
}

/* 搜索结果下拉框 */
.search-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 380px;
  max-height: 480px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 28px rgba(20, 54, 45, 0.12);
  overflow-y: auto;
  display: none;
  z-index: 1000;
}

.search-dropdown.open {
  display: block;
}

.search-results-header {
  padding: 10px 16px;
  font-size: 0.78rem;
  color: var(--text-subtle);
  background-color: var(--bg-sidebar);
  border-bottom: 1px solid var(--border-light);
  font-weight: 600;
}

.search-results-list {
  list-style: none;
}

.search-result-item {
  border-bottom: 1px solid var(--border-light);
}

.search-result-item:last-child {
  border-bottom: none;
}

.search-result-link {
  display: block;
  padding: 12px 16px;
  text-decoration: none;
  color: var(--text-main);
  transition: background-color 0.15s ease;
}

.search-result-link:hover, .search-result-link:focus {
  background-color: var(--bg-section-tint);
}

.search-result-title {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-heading);
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.search-result-tag {
  font-size: 0.7rem;
  padding: 2px 6px;
  border-radius: 4px;
  background: #e2ede6;
  color: var(--text-heading);
  font-weight: 500;
}

.search-result-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.search-no-results {
  padding: 24px;
  text-align: center;
  font-size: 0.88rem;
  color: var(--text-subtle);
}

/* ==========================================================================
   正文排版（单列宽松正文、各标题独占一行、空行规范）
   ========================================================================== */

.site-content {
  flex-grow: 1;
  padding: 32px 24px 80px 24px;
  max-width: var(--content-max-width);
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
  min-width: 0;
  overflow-x: hidden;
}

/* 文章头部 */
.page-header {
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-light);
}

.page-category-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-heading);
  background-color: #e2ede6;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 14px;
}

.page-category-badge.orange {
  color: var(--accent-orange);
  background-color: var(--accent-orange-bg);
  border: 1px solid var(--accent-orange-border);
}

/* 标题样式：所有标题独占一行，标题与正文间有清晰距离 */
h1 {
  font-size: 2.1rem;
  line-height: 1.35;
  color: var(--text-heading);
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}

.page-lead {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.page-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.82rem;
  color: var(--text-subtle);
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* 页内目录 TOC */
.table-of-contents {
  background-color: var(--bg-sidebar);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin: 28px 0 40px 0;
}

.toc-header {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.toc-list {
  list-style: none;
  columns: 2;
  column-gap: 24px;
}

.toc-list li {
  margin-bottom: 8px;
  break-inside: avoid;
}

.toc-list a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  line-height: 1.5;
  transition: color 0.15s ease;
}

.toc-list a:hover {
  color: var(--text-heading);
  text-decoration: underline;
}

/* H2 章节分区：轻微背景分区与大号问题句组织 */
.content-section {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 36px;
}

.content-section.tinted {
  background-color: var(--bg-section-tint);
}

h2 {
  font-size: 1.42rem;
  line-height: 1.4;
  color: var(--text-heading);
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-light);
  scroll-margin-top: 90px;
}

h3 {
  font-size: 1.15rem;
  line-height: 1.45;
  color: var(--text-heading);
  font-weight: 600;
  margin-top: 28px;
  margin-bottom: 14px;
  scroll-margin-top: 90px;
}

p {
  margin-bottom: 18px;
  font-size: 0.98rem;
}

p:last-child {
  margin-bottom: 0;
}

ul, ol {
  margin: 14px 0 20px 24px;
  font-size: 0.98rem;
}

li {
  margin-bottom: 8px;
}

/* 强调与提示框 */
.callout {
  padding: 16px 20px;
  border-radius: var(--radius-md);
  margin: 22px 0;
  font-size: 0.92rem;
  line-height: 1.7;
}

.callout-notice {
  background-color: var(--bg-sidebar);
  border-left: 4px solid var(--text-heading);
  color: var(--text-main);
}

.callout-orange {
  background-color: var(--accent-orange-bg);
  border-left: 4px solid var(--accent-orange);
  color: #7d3311;
}

.callout strong {
  color: var(--text-heading);
  display: block;
  margin-bottom: 4px;
}

.callout-orange strong {
  color: var(--accent-orange);
}

/* ==========================================================================
   定义列表样式 (服务字段以简洁定义列表展开)
   ========================================================================== */

.service-specs {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 10px 16px;
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin: 18px 0 24px 0;
  font-size: 0.9rem;
}

.service-specs dt {
  font-weight: 600;
  color: var(--text-muted);
  border-right: 1px solid var(--border-light);
  padding-right: 12px;
}

.service-specs dd {
  color: var(--text-main);
}

/* ==========================================================================
   全球云 (Quanqiu Cloud) 专属超级曝光组件
   ========================================================================== */
.featured-hero-box {
  background: linear-gradient(135deg, #14362d 0%, #1c4b3f 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 28px 30px;
  margin: 24px 0 32px 0;
  box-shadow: 0 8px 26px rgba(20, 54, 45, 0.16);
  position: relative;
  border: 1px solid #2e6253;
}

.featured-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: #f9c23c;
  color: #14362d;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 12px;
}

.featured-hero-title {
  color: #ffffff;
  font-size: 1.55rem;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 10px;
  line-height: 1.35;
}

.featured-hero-desc {
  color: #d8eae1;
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.featured-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-bottom: 20px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-meta-item {
  font-size: 0.88rem;
  color: #e5f2ec;
}

.hero-meta-item strong {
  color: #ffffff;
}

.hero-coupon-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(207, 101, 50, 0.3);
  border: 1px dashed #f5a076;
  padding: 3px 10px;
  border-radius: 6px;
  color: #ffe0d0;
  font-size: 0.88rem;
}

.hero-coupon-pill code {
  color: #ffc4a8;
  font-weight: 800;
  font-size: 1.05rem;
  font-family: var(--font-mono);
}

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

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--accent-orange);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all 0.15s ease;
  box-shadow: 0 4px 12px rgba(207, 101, 50, 0.35);
}

.btn-hero-primary:hover {
  background-color: #b85424;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(207, 101, 50, 0.45);
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(255, 255, 255, 0.14);
  color: #ffffff !important;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.28);
  transition: all 0.15s ease;
}

.btn-hero-secondary:hover {
  background-color: rgba(255, 255, 255, 0.22);
  border-color: #ffffff;
}

/* ==========================================================================
   机场推荐概览对比表格 (去除核心定位与线路协议两列)
   ========================================================================== */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 20px 0 28px 0;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background: #ffffff;
}

.airport-overview-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.88rem;
  line-height: 1.5;
}

.airport-overview-table th {
  background-color: var(--bg-sidebar);
  color: var(--text-heading);
  font-weight: 700;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-light);
  white-space: nowrap;
}

.airport-overview-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-light);
  vertical-align: middle;
  color: var(--text-main);
  white-space: nowrap;
}

.airport-overview-table tr:last-child td {
  border-bottom: none;
}

.airport-overview-table tr:hover td {
  background-color: #f7faf8;
}

.table-row-featured td {
  background-color: #f5fbf7 !important;
  border-top: 2px solid #235446;
  border-bottom: 2px solid #235446 !important;
}

.table-row-featured .col-name strong {
  color: #14362d;
  font-size: 0.96rem;
}

.table-rank-badge {
  display: inline-block;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  font-family: var(--font-mono);
  background: var(--bg-sidebar);
  color: var(--text-muted);
}

.table-rank-badge.top-1 {
  background: #f9c23c;
  color: #14362d;
}

.table-coupon-badge {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  background: #fdf5f0;
  border: 1px dashed #f5cfbd;
  color: #cf6532;
  font-weight: 700;
}

.table-btn-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  background: var(--text-heading);
  color: #ffffff !important;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.table-btn-link:hover {
  background: #235446;
}

.table-btn-details {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 0.82rem;
  font-weight: 500;
  text-decoration: none;
  background: var(--bg-sidebar);
  color: var(--text-heading) !important;
  border: 1px solid var(--border-light);
  white-space: nowrap;
}

.table-btn-details:hover {
  background: #e2ede6;
}

/* ==========================================================================
   图3 机场资料卡片：打直往下、紧凑优雅的垂直流排版 (Compact Vertical Layout)
   控制页面不冗长、杜绝水平滑动
   ========================================================================== */
.airport-compact-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 12px 0 16px 0;
  width: 100%;
  box-sizing: border-box;
}

.compact-spec-row {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 8px 12px;
  background-color: #fafcfb;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  width: 100%;
  box-sizing: border-box;
}

.compact-spec-row.highlight {
  background-color: #f5fbf7;
  border-left: 3px solid var(--text-heading);
}

.spec-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-heading);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.spec-text {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-main);
  word-break: break-word;
  overflow-wrap: break-word;
}

.airport-header-badges {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.airport-detail-vertical {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 14px 0 18px 0;
  width: 100%;
  box-sizing: border-box;
}

.detail-block {
  background-color: #fafcfb;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  width: 100%;
  box-sizing: border-box;
}

.detail-block.highlight {
  background-color: #f7fbf9;
  border-left: 3px solid var(--text-heading);
}

.detail-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-top: 0;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.detail-content {
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--text-main);
  margin-bottom: 0;
  word-break: break-word;
  overflow-wrap: break-word;
}

.detail-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.88rem;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.detail-list li {
  padding-left: 14px;
  position: relative;
  line-height: 1.55;
  margin-bottom: 0;
  word-break: break-word;
  overflow-wrap: break-word;
}

.detail-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--text-heading);
  font-weight: bold;
}

.detail-coupon-box {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 6px 10px;
  background-color: #fdf5f0;
  border: 1px dashed #f5cfbd;
  border-radius: 6px;
}

.detail-coupon-code {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 800;
  color: var(--accent-orange);
  background: #ffffff;
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid #f5cfbd;
}

.detail-coupon-desc {
  font-size: 0.84rem;
  color: #7d3311;
}

.featured-airport {
  border: 2px solid #235446 !important;
  box-shadow: 0 6px 20px rgba(20, 54, 45, 0.08) !important;
  background: #ffffff;
  position: relative;
}

.airport-rank-badge {
  background: var(--text-heading);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
}

.airport-rank-badge.crown {
  background: #f9c23c;
  color: #14362d;
  font-weight: 800;
}

/* ==========================================================================
   机场推荐核心卡片 / 单体条目 (紧凑无溢出设计)
   ========================================================================== */

.airport-entry {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  margin-bottom: 20px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  scroll-margin-top: 90px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}

.airport-entry:hover {
  border-color: #bed5ca;
  box-shadow: 0 4px 16px rgba(20, 54, 45, 0.05);
}

.airport-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-light);
}

.airport-name-h3 {
  margin: 0;
  font-size: 1.25rem;
  color: var(--text-heading);
  display: flex;
  align-items: center;
  gap: 8px;
}

.airport-index-badge {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  background: var(--bg-sidebar);
  color: var(--text-muted);
  padding: 2px 7px;
  border-radius: 4px;
}

.airport-pricing-badge {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--accent-orange);
  background: var(--accent-orange-bg);
  padding: 3px 9px;
  border-radius: 5px;
  border: 1px solid var(--accent-orange-border);
  white-space: nowrap;
}

.airport-coupon-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.82rem;
  background-color: #f7f9f8;
  border: 1px dashed #7ea395;
  color: #174236;
  padding: 3px 8px;
  border-radius: 4px;
  white-space: nowrap;
}

.airport-coupon-tag code {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--accent-orange);
  font-size: 0.88rem;
}

.airport-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border-light);
  max-width: 100%;
  box-sizing: border-box;
}

.btn-affiliate {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: var(--text-heading);
  color: #ffffff !important;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: all 0.15s ease;
  max-width: 100%;
  word-break: break-word;
}

.btn-affiliate:hover {
  background-color: #235446;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(20, 54, 45, 0.15);
}

.btn-affiliate.btn-primary-featured {
  background-color: var(--accent-orange);
  box-shadow: 0 4px 12px rgba(207, 101, 50, 0.28);
}

.btn-affiliate.btn-primary-featured:hover {
  background-color: #b85424;
}

.affiliate-disclaimer-note {
  font-size: 0.78rem;
  color: var(--text-subtle);
  line-height: 1.4;
}

/* 本站核心服务 CTA (仅一处主要CTA) */
.core-cta-box {
  background: linear-gradient(135deg, #f2f8f5 0%, #e4eee8 100%);
  border: 1px solid #bfd9cd;
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  margin: 32px 0;
  position: relative;
}

.core-cta-box h3 {
  margin-top: 0;
  margin-bottom: 12px;
  color: var(--text-heading);
}

.btn-primary-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--accent-orange);
  color: #ffffff !important;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  margin-top: 14px;
}

.btn-primary-cta:hover {
  background-color: #b85424;
  transform: translateY(-1px);
}

/* ==========================================================================
   常见问题 FAQ 排版
   ========================================================================== */

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 20px;
}

.faq-question-h3 {
  font-size: 1.15rem;
  color: var(--text-heading);
  margin-top: 0;
  margin-bottom: 14px;
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.faq-q-badge {
  color: var(--accent-orange);
  font-weight: 800;
  font-size: 1.2rem;
  line-height: 1;
}

.faq-answer {
  color: var(--text-main);
  font-size: 0.95rem;
  line-height: 1.75;
}

.faq-answer a {
  color: var(--text-heading);
  text-decoration: underline;
}

/* ==========================================================================
   页脚布局
   ========================================================================== */

.site-footer {
  border-top: 1px solid var(--border-light);
  background-color: var(--bg-sidebar);
  padding: 40px 32px 32px 32px;
  font-size: 0.85rem;
  color: var(--text-subtle);
  line-height: 1.7;
}

.footer-content {
  max-width: var(--content-max-width);
  margin: 0 auto;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 20px;
}

.footer-brand-summary {
  max-width: 440px;
}

.footer-brand-title {
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 6px;
  font-size: 0.95rem;
}

.footer-links-group {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}

.footer-link {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s ease;
}

.footer-link:hover {
  color: var(--text-heading);
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.78rem;
}

/* ==========================================================================
   移动端底部文字导航与响应式适配
   ========================================================================== */

.mobile-bottom-nav {
  display: none;
}

@media (max-width: 900px) {
  .site-wrapper {
    background: var(--bg-body) !important;
  }

  /* 隐藏桌面左侧栏 */
  .site-sidebar {
    display: none !important;
  }

  .site-header {
    padding: 0 16px;
    height: 56px;
  }

  .mobile-brand {
    display: flex;
  }

  .header-breadcrumbs {
    display: none;
  }

  .search-input {
    width: 170px;
    height: 34px;
  }

  .search-input:focus {
    width: 220px;
  }

  .search-shortcut {
    display: none;
  }

  .search-dropdown {
    width: calc(100vw - 32px);
    right: -16px;
  }

  .site-content {
    padding: 24px 16px 90px 16px; /* 为底部安全区和底栏预留空间 */
  }

  h1 {
    font-size: 1.65rem;
  }

  .content-section {
    padding: 20px 16px;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
  }

  .table-of-contents {
    padding: 16px;
  }

  .toc-list {
    columns: 1;
  }

  .service-specs {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .service-specs dt {
    border-right: none;
    border-bottom: 1px dashed var(--border-light);
    padding-bottom: 4px;
    padding-right: 0;
    margin-top: 6px;
  }

  .airport-entry {
    padding: 18px 16px;
  }

  /* 移动端底部五项固定文字导航 */
  .mobile-bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 58px;
    background-color: rgba(239, 245, 241, 0.98);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--border-light);
    z-index: 999;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    justify-content: space-around;
    align-items: center;
  }

  .mobile-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 48px; /* 触摸目标不小于 44px */
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 500;
    padding: 4px 2px;
    transition: color 0.15s ease;
  }

  .mobile-nav-item.active {
    color: var(--text-heading);
    font-weight: 700;
  }

  .mobile-nav-item.primary {
    color: var(--accent-orange);
    font-weight: 700;
  }

  .mobile-nav-item.primary.active {
    color: #a4481b;
  }

  .site-footer {
    padding-bottom: 74px; /* 为移动底栏预留空间 */
  }
}

/* ==========================================================================
   客户端专区定制样式 (第三方代理客户端下载与检索)
   ========================================================================== */

.client-filter-section {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-bottom: 28px;
}

.client-filter-header {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.client-search-input {
  width: 260px;
  height: 38px;
  padding: 0 14px;
  font-size: 0.9rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background-color: var(--bg-body);
  color: var(--text-main);
  outline: none;
  transition: all 0.2s ease;
}

.client-search-input:focus {
  border-color: var(--border-focus);
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(20, 54, 45, 0.08);
}

.client-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}

.filter-pill {
  padding: 6px 14px;
  border-radius: 20px;
  background-color: var(--bg-sidebar);
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid var(--border-light);
  transition: all 0.15s ease;
  user-select: none;
}

.filter-pill:hover {
  background-color: var(--bg-sidebar-hover);
  color: var(--text-heading);
}

.filter-pill.active {
  background-color: var(--text-heading);
  color: #ffffff;
  border-color: var(--text-heading);
  font-weight: 600;
}

.client-count-badge {
  font-size: 0.82rem;
  color: var(--text-subtle);
}

/* 客户端卡片条目 */
.client-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 24px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  scroll-margin-top: 90px;
}

.client-card:hover {
  border-color: #bed5ca;
  box-shadow: 0 4px 14px rgba(20, 54, 45, 0.06);
}

.client-card.hidden {
  display: none !important;
}

.client-card-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-light);
}

.client-name-title {
  margin: 0;
  font-size: 1.25rem;
  color: var(--text-heading);
  display: flex;
  align-items: center;
  gap: 10px;
}

.client-status-badge {
  font-size: 0.78rem;
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: 600;
}

.status-active {
  background-color: #e2ede6;
  color: #174236;
}

.status-stopped {
  background-color: #fbe8e4;
  color: #9c2e17;
}

.status-slow {
  background-color: #fcf1d9;
  color: #8c6314;
}

.status-unverified {
  background-color: #edf2ef;
  color: #60756c;
}

.client-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 8px 16px;
  font-size: 0.88rem;
  margin: 14px 0 18px 0;
  padding: 12px 16px;
  background-color: var(--bg-sidebar);
  border-radius: var(--radius-sm);
}

.client-meta-item {
  color: var(--text-muted);
}

.client-meta-item strong {
  color: var(--text-heading);
  margin-right: 4px;
}

/* 下载链接组 */
.client-downloads-block {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--border-light);
}

.download-block-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.download-links-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  max-width: 100%;
}

.download-links-list li {
  max-width: 100%;
}

.download-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: all 0.15s ease;
  line-height: 1.4;
  max-width: 100%;
  word-break: break-word;
  white-space: normal;
}

.download-link-btn,
.btn-direct,
.btn-release,
.btn-store,
.btn-project {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: all 0.15s ease;
  line-height: 1.4;
  max-width: 100%;
  word-break: break-word;
  white-space: normal;
  background-color: #1e453b !important;
  color: #ffffff !important;
  border: 1px solid #1e453b !important;
}

.download-link-btn:hover,
.btn-direct:hover,
.btn-release:hover,
.btn-store:hover,
.btn-project:hover {
  background-color: #2b5d50 !important;
  border-color: #2b5d50 !important;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(20, 54, 45, 0.18);
}

.download-empty-notice {
  font-size: 0.85rem;
  color: var(--text-subtle);
  background-color: #f7f9f8;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px dashed #cedbd4;
}

.client-note-box {
  margin-top: 10px;
  font-size: 0.82rem;
  color: #8c4217;
  background-color: #fdf5f0;
  padding: 8px 12px;
  border-radius: 4px;
  border-left: 3px solid var(--accent-orange);
}

/* ==========================================================================
   Clash 机场小导航与专题分类样式
   ========================================================================== */

/* ==========================================================================
   侧边栏二级小导航（仅手动点击箭头切换，鼠标移上去绝对不自动展开）
   ========================================================================== */

.sidebar-nav-item.has-subnav {
  position: relative;
}

.sidebar-nav-item.has-subnav > a {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* 展开折叠小箭头指示器（独立点击触发区） */
.subnav-arrow-icon,
.subnav-arrow-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.60rem;
  color: var(--text-subtle);
  transition: transform 0.22s ease, color 0.15s ease, background-color 0.15s ease;
  margin-left: auto;
  line-height: 1;
  padding: 4px 6px;
  border-radius: 4px;
  cursor: pointer;
}

.subnav-arrow-icon:hover,
.subnav-arrow-btn:hover {
  background-color: rgba(20, 54, 45, 0.08);
  color: var(--text-heading);
}

/* 当手动展开时，小箭头翻转 */
.sidebar-nav-item.has-subnav.is-open > a .subnav-arrow-icon,
.sidebar-nav-item.has-subnav.is-open > a .subnav-arrow-btn {
  transform: rotate(180deg);
  color: var(--text-heading);
}

/* 默认完全折叠隐藏，禁用指针事件，严禁 hover 自动展开 */
.sidebar-nav-item.has-subnav .sidebar-subnav-list {
  list-style: none;
  max-height: 0;
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
  margin: 0;
  padding: 0 0 0 10px;
  border-left: 2px solid transparent;
  pointer-events: none;
  transition: max-height 0.28s cubic-bezier(0.2, 0, 0, 1),
              opacity 0.2s ease,
              visibility 0.2s ease,
              margin 0.2s ease,
              border-color 0.2s ease;
  will-change: max-height, opacity;
}

/* 仅在点击展开类名 (.is-open) 生效时展开；鼠标悬停绝不自动展开 */
.sidebar-nav-item.has-subnav.is-open .sidebar-subnav-list {
  max-height: 480px;
  opacity: 1;
  visibility: visible;
  margin: 4px 0 8px 12px;
  padding: 0 0 0 10px;
  border-left: 2px solid #cedbd4;
  pointer-events: auto;
}

.sidebar-subnav-item {
  margin-bottom: 3px;
}

.sidebar-subnav-item a {
  padding: 5px 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  display: block;
  text-decoration: none;
  transition: all 0.15s ease;
  line-height: 1.35;
}

.sidebar-subnav-item a:hover {
  color: var(--text-heading);
  background-color: var(--bg-sidebar-hover);
}

.sidebar-subnav-item.active a {
  color: var(--text-heading);
  font-weight: 700;
  background-color: #dceae2;
  border-left: 2px solid var(--text-heading);
}

/* 正文顶部专题小导航栏 */
.clash-subnav-wrapper {
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin-bottom: 24px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
}

.clash-subnav-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.clash-subnav-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.clash-subnav-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 20px;
  font-size: 0.86rem;
  font-weight: 500;
  text-decoration: none;
  background-color: var(--bg-sidebar);
  color: var(--text-main);
  border: 1px solid var(--border-light);
  transition: all 0.15s ease;
  white-space: nowrap;
}

.clash-subnav-item:hover {
  background-color: var(--bg-sidebar-hover);
  color: var(--text-heading);
  border-color: #b8cfc3;
  transform: translateY(-1px);
}

.clash-subnav-item.active {
  background-color: var(--text-heading) !important;
  color: #ffffff !important;
  border-color: var(--text-heading) !important;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(20, 54, 45, 0.2);
}

.clash-subnav-item.active .badge-count {
  background-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

.clash-subnav-item .badge-count {
  font-size: 0.72rem;
  padding: 1px 6px;
  border-radius: 10px;
  background-color: #dceae2;
  color: var(--text-muted);
}

/* 分类专题卡片栅格 */
.category-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin: 20px 0 30px;
}

.category-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.2s ease;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
}

.category-card:hover {
  border-color: #a3c2b2;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(20, 54, 45, 0.08);
}

.category-card-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  background-color: #eaf3ee;
  color: var(--text-heading);
  margin-bottom: 10px;
}

.category-card-badge.orange {
  background-color: #faede6;
  color: var(--accent-orange);
}

.category-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 8px;
  line-height: 1.4;
}

.category-card-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 14px;
  flex: 1;
}

.category-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-heading);
  border-top: 1px dashed var(--border-light);
  padding-top: 10px;
}

.category-card-footer span.arrow {
  color: var(--accent-orange);
  transition: transform 0.15s ease;
}

.category-card:hover .category-card-footer span.arrow {
  transform: translateX(4px);
}

/* 专题推荐卡片特色标签 */
.sub-curated-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  background: #fdf1ea;
  color: #cf6532;
  border: 1px solid #f6cfb8;
  margin-right: 6px;
}


/* ==========================================================================
   Clash 节点实时检测与连通性监测专用样式
   排版明显 · 文字并行 · 绝无隐藏或截断内容
   ========================================================================== */

/* 节点监测页面专属宽屏排版：确保多列大表格文字完全横向并行展开 */
.nodes-monitoring-page .site-content {
  max-width: 1260px;
  width: 100%;
}

/* 全球云 👑 首推顶配专线 VIP 展示卡片 */
.vip-node-showcase {
  background: linear-gradient(135deg, #16382c 0%, #1e4d3c 60%, #14362d 100%);
  border: 1px solid #2f735b;
  border-radius: 12px;
  padding: 24px;
  margin: 20px 0 28px 0;
  color: #f0f7f4;
  box-shadow: 0 8px 24px rgba(20, 54, 45, 0.15);
  position: relative;
  overflow: hidden;
}

.vip-node-showcase::before {
  content: "👑 首推顶配";
  position: absolute;
  top: 14px;
  right: -32px;
  transform: rotate(45deg);
  background: #d4a34b;
  color: #14362d;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 36px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.vip-showcase-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.vip-showcase-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
}

.vip-showcase-badge {
  background: rgba(212, 163, 75, 0.2);
  color: #f7d088;
  border: 1px solid rgba(212, 163, 75, 0.4);
  padding: 3px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
}

.vip-showcase-desc {
  font-size: 0.92rem;
  line-height: 1.6;
  color: #d1e2db;
  margin-bottom: 16px;
}

.vip-showcase-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.vip-metric-item {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 10px;
  text-align: center;
}

.vip-metric-val {
  font-size: 1.15rem;
  font-weight: 800;
  color: #6ee7b7;
  display: block;
  white-space: nowrap;
}

.vip-metric-lbl {
  font-size: 0.75rem;
  color: #a8cfc0;
  margin-top: 2px;
  display: block;
  white-space: nowrap;
}

.vip-showcase-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.vip-coupon-box {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.25);
  padding: 6px 14px;
  border-radius: 6px;
  border: 1px dashed #d4a34b;
  font-size: 0.88rem;
  white-space: nowrap;
}

.vip-coupon-code {
  font-family: monospace;
  font-weight: 800;
  color: #ffd166;
  font-size: 1.05rem;
  letter-spacing: 0.5px;
}

.btn-vip-action {
  background: linear-gradient(135deg, #e67e22, #cf6532);
  color: #ffffff !important;
  font-weight: 800;
  padding: 10px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.95rem;
  box-shadow: 0 4px 12px rgba(207, 101, 50, 0.35);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.btn-vip-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(207, 101, 50, 0.5);
}

/* 机场快速选择条 */
.airport-switcher-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.airport-switcher-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.switcher-label {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-heading);
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.airport-select-input {
  font-size: 0.92rem;
  padding: 8px 14px;
  border-radius: 6px;
  border: 1px solid var(--border-light);
  background: var(--bg-card);
  color: var(--text-heading);
  font-weight: 600;
  outline: none;
  cursor: pointer;
  min-width: 260px;
}

.airport-select-input:focus {
  border-color: #14362d;
  box-shadow: 0 0 0 2px rgba(20, 54, 45, 0.1);
}

.airport-chips-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  flex-wrap: nowrap;
  padding-bottom: 4px;
  scrollbar-width: thin;
}

.airport-chip-btn {
  background: var(--bg-body);
  border: 1px solid var(--border-light);
  color: var(--text-heading);
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.airport-chip-btn:hover {
  border-color: #14362d;
  color: #14362d;
}

.airport-chip-btn.active {
  background-color: #14362d !important;
  color: #ffffff !important;
  border-color: #14362d !important;
}

.airport-chip-btn.is-top1 {
  border-color: #d4a34b;
  color: #9c6c17;
}

.airport-chip-btn.is-top1.active {
  background: linear-gradient(135deg, #14362d, #1f4f3e);
  color: #ffd166;
  border-color: #d4a34b;
}

/* 区域与过滤器栏：文字绝对并行展开，绝无截断 */
.node-control-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

.region-tabs-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  flex-wrap: nowrap;
  padding-bottom: 8px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--border-light);
  scrollbar-width: thin;
}

.region-tab-btn {
  background: #f5f8f6;
  border: 1px solid var(--border-light);
  color: var(--text-heading);
  padding: 7px 15px;
  border-radius: 6px;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.region-tab-btn:hover {
  background: #e5efe9;
  border-color: #14362d;
  color: #14362d;
}

.region-tab-btn.active {
  background-color: #14362d !important;
  color: #ffffff !important;
  border-color: #14362d !important;
  box-shadow: 0 2px 6px rgba(20, 54, 45, 0.25);
}

.node-tools-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.search-box-wrap {
  flex: 1 1 300px;
  min-width: 240px;
  position: relative;
}

.node-search-field {
  width: 100%;
  height: 42px;
  padding: 0 14px 0 38px;
  border-radius: 6px;
  border: 1px solid var(--border-light);
  font-size: 0.88rem;
  background: var(--bg-card);
  color: var(--text-heading);
  outline: none;
  box-sizing: border-box;
}

.node-search-field:focus {
  border-color: #14362d;
  box-shadow: 0 0 0 2px rgba(20, 54, 45, 0.1);
}

.search-icon-svg {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-subtle);
  pointer-events: none;
}

.node-action-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.btn-ctrl {
  height: 42px;
  padding: 0 18px;
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid var(--border-light);
  background: #ffffff;
  color: var(--text-heading);
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-ctrl:hover {
  background: var(--bg-body);
  border-color: #14362d;
  color: #14362d;
}

.btn-ctrl.btn-primary-act {
  background-color: #14362d !important;
  color: #ffffff !important;
  border-color: #14362d !important;
  box-shadow: 0 2px 6px rgba(20, 54, 45, 0.25);
}

.btn-ctrl.btn-primary-act:hover {
  background-color: #1f4f41 !important;
  border-color: #1f4f41 !important;
  color: #ffffff !important;
}

/* 官方订阅直达跳转高光按钮（被选中的订阅按钮） */
.btn-status-cta {
  background-color: #14362d !important;
  color: #ffffff !important;
  border: 1px solid #14362d !important;
  font-weight: 700 !important;
  padding: 6px 14px !important;
  border-radius: 6px !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  font-size: 0.82rem !important;
  line-height: 1.2 !important;
  transition: all 0.18s ease !important;
  white-space: nowrap !important;
  box-shadow: 0 2px 6px rgba(20, 54, 45, 0.2);
}

.btn-status-cta:hover {
  background-color: #cf6532 !important;
  border-color: #cf6532 !important;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(207, 101, 50, 0.35);
}

/* 测速进度条 */
.test-progress-wrap {
  margin: 14px 0 6px 0;
  display: none;
}

.progress-track {
  height: 6px;
  background: #e2ece7;
  border-radius: 3px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #14362d, #6ee7b7);
  transition: width 0.15s ease;
}

.progress-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-subtle);
  margin-top: 4px;
}

/* 状态概览条 */
.nodes-status-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: #f2f7f4;
  border: 1px solid #d5e5dc;
  border-radius: 6px;
  font-size: 0.86rem;
  color: var(--text-heading);
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 10px;
}

/* 节点表格：排版明显 · 绝对文字并行 · 没有隐藏内容 */
.node-table-container {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  overflow-x: auto;
  overflow-y: visible;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  margin-bottom: 28px;
  -webkit-overflow-scrolling: touch;
}

.node-table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
  font-size: 0.86rem;
  text-align: left;
  table-layout: auto;
}

.node-table th {
  background: #e8f2ec;
  color: var(--text-heading);
  font-weight: 700;
  padding: 12px 14px;
  border-bottom: 2px solid #c7ded2;
  white-space: nowrap;
  font-size: 0.86rem;
}

.node-table td {
  padding: 11px 14px;
  border-bottom: 1px solid #e5ede8;
  color: var(--text-body);
  vertical-align: middle;
  white-space: nowrap;
}

.node-table tr:hover {
  background-color: #f2f7f4;
}

.col-num {
  width: 44px;
  color: var(--text-subtle);
  font-size: 0.82rem;
  text-align: center;
  font-weight: 600;
  white-space: nowrap;
}

.col-name {
  white-space: nowrap;
  font-weight: 600;
  color: var(--text-heading);
}

.node-name-wrap {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.node-flag {
  font-size: 1.15rem;
  line-height: 1;
  display: inline-block;
  vertical-align: middle;
}

.node-name-text {
  white-space: nowrap;
  font-weight: 600;
}

.node-line-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  background: #e8f4ed;
  color: #1a5c3e;
  border: 1px solid #bce1ce;
  padding: 2px 7px;
  border-radius: 4px;
  white-space: nowrap;
}

.col-region {
  white-space: nowrap;
  font-weight: 600;
  color: var(--text-heading);
}

.region-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  font-weight: 600;
}

.col-proto {
  white-space: nowrap;
}

.col-mul {
  white-space: nowrap;
}

.col-ping {
  white-space: nowrap;
}

.col-loss {
  white-space: nowrap;
}

.col-unlock {
  white-space: nowrap;
}

.badge-proto {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  white-space: nowrap;
  display: inline-block;
}

.proto-shadowsocks { background: #e3f2fd; color: #1565c0; border: 1px solid #bbdefb; }
.proto-trojan { background: #f3e5f5; color: #7b1fa2; border: 1px solid #e1bee7; }
.proto-vmess { background: #e8f5e9; color: #2e7d32; border: 1px solid #c8e6c9; }
.proto-hysteria2 { background: #fff3e0; color: #e65100; border: 1px solid #ffe0b2; }

.badge-mul {
  font-size: 0.76rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  background: #f0f0f0;
  color: #444;
  border: 1px solid #ddd;
  white-space: nowrap;
}

.ping-cell {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 3px 9px;
  border-radius: 4px;
  white-space: nowrap;
}

.ping-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.ping-good {
  background: #e6f9ed;
  color: #0d8a43;
}
.ping-good .ping-indicator {
  background: #10b981;
  box-shadow: 0 0 6px rgba(16, 185, 129, 0.6);
}

.ping-med {
  background: #fef9e7;
  color: #b7791f;
}
.ping-med .ping-indicator {
  background: #f59e0b;
  box-shadow: 0 0 6px rgba(245, 158, 11, 0.6);
}

.ping-normal {
  background: #eef2ff;
  color: #4338ca;
}
.ping-normal .ping-indicator {
  background: #6366f1;
}

.loss-badge {
  font-size: 0.82rem;
  color: #0d8a43;
  font-weight: 700;
  white-space: nowrap;
}

.unlock-tags-wrap {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.node-unlock-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 4px;
  background: #f0f4f2;
  color: #2d4a3e;
  border: 1px solid #d0ded7;
  white-space: nowrap;
}

.col-actions {
  white-space: nowrap;
  text-align: right;
}

.actions-wrap {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.btn-node-tool {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 4px 10px;
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: 4px;
  border: 1px solid var(--border-light);
  background: #ffffff;
  color: var(--text-heading);
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.btn-node-tool.test-single-btn {
  background: #eaf5ef;
  border-color: #badcc9;
  color: #0f5132;
}

.btn-node-tool:hover {
  border-color: #14362d;
  color: #14362d;
  background: #d8ede1;
}

/* 移动端卡片视图 */
.node-mobile-cards {
  display: none;
}

.node-mobile-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 14px;
  margin-bottom: 10px;
}

.node-mobile-card .card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.node-mobile-card .node-title {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-heading);
  flex: 1;
}

.node-mobile-card .card-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.node-mobile-card .card-unlock {
  margin-bottom: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.node-mobile-card .card-actions {
  display: flex;
  gap: 8px;
  border-top: 1px solid var(--border-light);
  padding-top: 8px;
}

.node-mobile-card .card-actions .btn-node-tool {
  flex: 1;
  padding: 8px;
  text-align: center;
}

/* Toast 提示 */
.nodes-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #14362d;
  color: #ffffff;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  border: 1px solid #2f735b;
  z-index: 9999;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.nodes-toast.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

@media (max-width: 900px) {
  .node-table-container {
    display: none;
  }
  .node-mobile-cards {
    display: block;
    margin-bottom: 24px;
  }
  .nodes-toast {
    left: 20px;
    right: 20px;
    bottom: 70px;
    text-align: center;
  }
}

