/* 一毛机场资讯 (yimaojichang.world) - Editorial Bento & Data-Matrix 设计框架
   纯原生 CSS · 零外部依赖 · 温润纸感底色 + 深墨排版 + 翡翠青主色 */

:root {
  --bg-page: #fafaf9;
  --bg-surface: #ffffff;
  --bg-subtle: #f5f5f4;
  --bg-accent-soft: #f0fdfa;
  --bg-warn-soft: #fffbeb;
  --bg-dark: #0f172a;
  --text-main: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --brand-primary: #0f766e;
  --brand-hover: #115e59;
  --brand-bright: #14b8a6;
  --brand-light: #99f6e4;
  --border-color: #e7e5e4;
  --border-strong: #d6d3d1;
  --ok-text: #047857;
  --ok-bg: #ecfdf5;
  --warn-text: #b45309;
  --warn-bg: #fffbeb;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --container-max: 1220px;
  --prose-max: 780px;
  --font-sans: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Noto Sans SC", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

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

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.72;
  color: var(--text-main);
  background-color: var(--bg-page);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-primary); text-decoration: none; }
a:hover { color: var(--brand-hover); text-decoration: underline; }

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 2px solid var(--brand-primary);
  outline-offset: 2px;
}

h1, h2, h3, h4 {
  color: var(--text-main);
  line-height: 1.32;
  margin-top: 0;
  font-weight: 800;
  letter-spacing: -0.015em;
}

h1 { font-size: clamp(1.75rem, 3vw, 2.35rem); margin-bottom: 0.75rem; }
h2 { font-size: clamp(1.32rem, 2.2vw, 1.65rem); margin-bottom: 0.65rem; }
h3 { font-size: 1.12rem; margin-bottom: 0.45rem; }
p { margin: 0 0 0.95rem; color: var(--text-secondary); }
ul, ol { margin: 0 0 1rem; padding-left: 1.35rem; color: var(--text-secondary); }
li { margin-bottom: 0.35rem; }

code, pre { font-family: var(--font-mono); font-size: 0.9em; }
code {
  background: var(--bg-subtle);
  padding: 0.14rem 0.4rem;
  border-radius: 4px;
  color: var(--text-main);
  border: 1px solid var(--border-color);
}
pre {
  background: var(--bg-dark);
  color: #e2e8f0;
  padding: 1rem 1.2rem;
  border-radius: var(--radius-md);
  overflow-x: auto;
  line-height: 1.55;
  margin: 0 0 1.25rem;
}
pre code { background: transparent; border: none; padding: 0; color: inherit; }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--brand-primary);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 999;
}
.skip-link:focus { left: 0.75rem; top: 0.75rem; border-radius: var(--radius-sm); }

/* Header */
.site-header {
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 64px;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 800;
  font-size: 1.12rem;
  color: var(--text-main);
  flex-shrink: 0;
}
.site-logo:hover { text-decoration: none; color: var(--brand-primary); }

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--brand-primary);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 800;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  flex-wrap: wrap;
}
.main-nav a {
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.4rem 0.72rem;
  border-radius: 999px;
  white-space: nowrap;
}
.main-nav a:hover, .main-nav a.active {
  background: var(--bg-accent-soft);
  color: var(--brand-primary);
  text-decoration: none;
}

.header-actions { display: flex; align-items: center; gap: 0.5rem; flex-shrink: 0; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.52rem 1rem;
  min-height: 38px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--brand-primary); color: #fff; }
.btn-primary:hover { background: var(--brand-hover); color: #fff; }
.btn-secondary { background: var(--bg-surface); color: var(--text-main); border-color: var(--border-strong); }
.btn-secondary:hover { background: var(--bg-subtle); color: var(--text-main); }
.btn-ghost { background: transparent; color: var(--brand-primary); border-color: var(--brand-light); }
.btn-ghost:hover { background: var(--bg-accent-soft); }
.btn-sm { min-height: 32px; padding: 0.3rem 0.72rem; font-size: 0.84rem; }

.mobile-menu-btn {
  display: none;
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 0.4rem 0.75rem;
  min-height: 38px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
}

@media (max-width: 960px) {
  .mobile-menu-btn { display: inline-flex; align-items: center; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-color);
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 1.25rem 1rem;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 0.65rem 0.85rem; border-radius: var(--radius-sm); }
}

/* Search Modal */
.search-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.56);
  z-index: 300;
  padding: 4rem 1rem 1rem;
}
.search-overlay.open { display: block; }
.search-dialog {
  max-width: 660px;
  margin: 0 auto;
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.22);
  overflow: hidden;
}
.search-input-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border-color);
}
.search-input-row input {
  flex: 1;
  border: none;
  font-size: 1rem;
  color: var(--text-main);
  background: transparent;
  padding: 0.35rem;
}
.search-input-row input:focus { outline: none; }
.search-results { max-height: 390px; overflow-y: auto; padding: 0.5rem; }
.search-result-item { display: block; padding: 0.65rem 0.85rem; border-radius: var(--radius-sm); color: var(--text-main); }
.search-result-item:hover { background: var(--bg-accent-soft); text-decoration: none; }
.search-result-title { font-weight: 600; font-size: 0.95rem; display: block; }
.search-result-meta { font-size: 0.82rem; color: var(--text-muted); }

/* Contact Button & Modal */
.contact-header-btn {
  gap: 0.35rem;
}
.contact-dialog {
  max-width: 680px;
  margin: 0 auto;
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.24);
  overflow: hidden;
}
.contact-dialog-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.35rem 1rem;
  background: linear-gradient(135deg, #f0fdfa 0%, #ffffff 65%);
  border-bottom: 1px solid var(--border-color);
}
.contact-dialog-head h2 {
  margin: 0.35rem 0 0.2rem;
  font-size: 1.18rem;
  color: var(--text-main);
}
.contact-dialog-sub {
  margin: 0;
  font-size: 0.86rem;
  color: var(--text-muted);
}
.contact-dialog-body {
  padding: 1.2rem 1.35rem 1.35rem;
}
.contact-lead {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--text-muted);
}
.contact-channel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.95rem;
}
@media (max-width: 640px) {
  .contact-channel-grid { grid-template-columns: 1fr; }
}
.contact-channel-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.85rem;
  padding: 1rem 1.05rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background: var(--bg-subtle);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.contact-channel-card:hover {
  border-color: var(--brand-light);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
}
.contact-channel-top {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.contact-icon-badge {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-icon-gmail {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
}
.contact-icon-tlg {
  background: #eff6ff;
  color: #0284c7;
  border: 1px solid #bae6fd;
}
.contact-channel-name {
  font-weight: 700;
  font-size: 0.96rem;
  color: var(--text-main);
  margin: 0 0 0.15rem;
}
.contact-channel-role {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
}
.contact-channel-value {
  display: block;
  padding: 0.48rem 0.7rem;
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.86rem;
  color: var(--text-main);
  word-break: break-all;
}
.contact-channel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.btn-gmail {
  background: #ea4335;
  color: #fff;
  border-color: #dc2626;
}
.btn-gmail:hover {
  background: #c5221f;
  color: #fff;
}
.btn-telegram {
  background: #0284c7;
  color: #fff;
  border-color: #0369a1;
}
.btn-telegram:hover {
  background: #0369a1;
  color: #fff;
}
.contact-dialog-foot {
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Breadcrumb */
.breadcrumb {
  padding: 0.85rem 0;
  font-size: 0.86rem;
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--brand-primary); }

/* Sections */
.section { padding: 2.5rem 0; }
.section-alt {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.4rem;
}
.section-desc { color: var(--text-muted); margin: 0.2rem 0 0; max-width: 680px; font-size: 0.95rem; }

/* Split Asymmetric Hero + Quick Picker Panel */
.hero-split-wrap {
  background: radial-gradient(circle at 85% 15%, rgba(20, 184, 166, 0.12), transparent 55%), var(--bg-surface);
  border-bottom: 1px solid var(--border-color);
  padding: 2.75rem 0;
}
.hero-split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: center;
}
@media (max-width: 960px) {
  .hero-split { grid-template-columns: 1fr; }
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.22rem 0.72rem;
  border-radius: 999px;
  background: var(--bg-accent-soft);
  color: var(--brand-primary);
  font-size: 0.82rem;
  font-weight: 700;
  border: 1px solid var(--brand-light);
  margin-bottom: 0.85rem;
}
.hero-lead { font-size: 1.04rem; color: var(--text-secondary); margin-bottom: 1.25rem; }
.hero-links { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 0.9rem; }
.hero-note { font-size: 0.84rem; color: var(--text-muted); margin: 0; }

/* Interactive Hero Global Node Globe */
.hero-globe-panel {
  background: radial-gradient(circle at 50% 38%, #134e4a 0%, #0f172a 68%, #020617 100%);
  border: 1px solid #1e293b;
  border-radius: var(--radius-lg);
  padding: 1rem 1.1rem 1.05rem;
  color: #f8fafc;
  box-shadow: 0 22px 44px -18px rgba(15, 23, 42, 0.55);
  position: relative;
  overflow: hidden;
}
.hero-globe-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}
.hero-globe-title {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffffff;
}
.hero-globe-sub {
  font-size: 0.74rem;
  color: #5eead4;
}
.globe-svg-wrap {
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
}
.globe-svg {
  width: 100%;
  height: auto;
  display: block;
}
.globe-orbit {
  transform-origin: 200px 145px;
  animation: globeOrbitSpin 32s linear infinite;
}
@keyframes globeOrbitSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.globe-arc {
  fill: none;
  stroke: rgba(45, 212, 191, 0.42);
  stroke-width: 1.5;
  stroke-dasharray: 5 5;
  animation: arcDash 18s linear infinite;
  transition: stroke 0.2s ease, stroke-width 0.2s ease;
}
.globe-arc.active {
  stroke: #34d399;
  stroke-width: 2.4;
}
@keyframes arcDash {
  from { stroke-dashoffset: 160; }
  to { stroke-dashoffset: 0; }
}
.globe-pin { cursor: pointer; }
.globe-pin-ring {
  fill: rgba(20, 184, 166, 0.25);
  stroke: #2dd4bf;
  stroke-width: 1.2;
  transition: all 0.2s ease;
}
.globe-pin.active .globe-pin-ring {
  fill: rgba(52, 211, 153, 0.42);
  stroke: #ffffff;
  stroke-width: 1.8;
}
.globe-pin-core {
  fill: #2dd4bf;
  transition: fill 0.2s ease;
}
.globe-pin.active .globe-pin-core {
  fill: #fde047;
}
.globe-pin-label {
  font-size: 11px;
  font-weight: 700;
  fill: #e2e8f0;
  font-family: var(--font-sans);
  paint-order: stroke;
  stroke: #0f172a;
  stroke-width: 3px;
  stroke-linejoin: round;
}
.globe-pin.active .globe-pin-label {
  fill: #fde047;
}

.globe-country-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  justify-content: center;
  margin: 0.4rem 0 0.65rem;
}
.globe-country-btn {
  background: rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 999px;
  padding: 0.22rem 0.62rem;
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
}
.globe-country-btn:hover { color: #ffffff; border-color: #2dd4bf; }
.globe-country-btn.active {
  background: #0d9488;
  color: #ffffff;
  border-color: #5eead4;
}

.globe-info-card {
  background: rgba(15, 23, 42, 0.78);
  border: 1px solid rgba(94, 234, 212, 0.24);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.78rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.globe-info-card strong { font-size: 0.88rem; color: #ffffff; display: block; }
.globe-info-card small { font-size: 0.76rem; color: #99f6e4; }
.globe-info-card a { color: #fde047; font-size: 0.8rem; font-weight: 700; white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
  .globe-orbit, .globe-arc, .pulse-dot, .route-line { animation: none; }
}

/* Editorial 4-Step Numbered Strip */
.strip-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}
@media (max-width: 960px) { .strip-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .strip-grid { grid-template-columns: 1fr; } }

.strip-item {
  border-top: 3px solid var(--brand-primary);
  padding-top: 0.9rem;
}
.strip-num {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--brand-primary);
  margin-bottom: 0.35rem;
  display: block;
}

/* Horizontal Spotlight Rows (Section 4) */
.spotlight-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
@media (max-width: 820px) { .spotlight-grid { grid-template-columns: 1fr; } }

.spotlight-row {
  background: var(--bg-page);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.spotlight-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.spotlight-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.1rem;
  font-size: 0.88rem;
  padding: 0.5rem 0.75rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
}

/* Bento Tiles (Section 6) */
.bento-6 {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.85rem;
}
@media (max-width: 1080px) { .bento-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) { .bento-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.bento-tile {
  background: var(--bg-page);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  color: var(--text-main);
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.bento-tile:hover {
  border-color: var(--brand-primary);
  transform: translateY(-2px);
  text-decoration: none;
}

/* Dark Ink Spotlight Banner (Section 7) */
.dark-banner {
  background: var(--bg-dark);
  color: #f8fafc;
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.dark-banner h2 { color: #ffffff; margin-bottom: 0.35rem; }
.dark-banner p { color: #cbd5e1; margin: 0; max-width: 700px; }

/* Magazine Split Feed (Sections 8-11) */
.magazine-split {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 2rem;
  align-items: start;
}
@media (max-width: 960px) { .magazine-split { grid-template-columns: 1fr; } }

.feed-list {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.feed-item {
  padding: 1rem 1.2rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}
.feed-item:last-child { border-bottom: none; }
.feed-item:hover { background: var(--bg-page); }
.feed-item-title { font-weight: 700; font-size: 1rem; color: var(--text-main); display: block; margin-bottom: 0.25rem; }
.feed-item-desc { font-size: 0.88rem; color: var(--text-muted); margin: 0; }
@media (max-width: 600px) {
  .feed-item { flex-direction: column; gap: 0.65rem; }
}

/* Standard Grids & Cards (for subpages) */
.grid { display: grid; gap: 1.15rem; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.card-muted {
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.1rem;
}
.card-title { font-size: 1.08rem; font-weight: 700; margin: 0; }
.card-meta { display: flex; flex-wrap: wrap; gap: 0.45rem; font-size: 0.82rem; color: var(--text-muted); align-items: center; }

/* Tags */
.tag {
  display: inline-block;
  padding: 0.16rem 0.55rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  background: var(--bg-subtle);
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
  white-space: nowrap;
}
.tag-blue { background: var(--bg-accent-soft); color: var(--brand-primary); border-color: var(--brand-light); }
.tag-warn { background: var(--warn-bg); color: var(--warn-text); border-color: #fde68a; }
.tag-ok { background: var(--ok-bg); color: var(--ok-text); border-color: #a7f3d0; }

/* Brand Hero Summary Banner */
.brand-hero-bar {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-left: 5px solid var(--brand-primary);
  border-radius: var(--radius-md);
  padding: 1.35rem 1.5rem;
  margin-bottom: 1.5rem;
}
.brand-stat-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
}
@media (max-width: 720px) { .brand-stat-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.brand-stat-box small { display: block; font-size: 0.78rem; color: var(--text-muted); }
.brand-stat-box strong { font-size: 1.02rem; color: var(--text-main); }

/* Podium Top-3 on Ranking Pages */
.podium-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.25rem 0 1.75rem;
}
@media (max-width: 820px) { .podium-grid { grid-template-columns: 1fr; } }
.podium-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-top: 4px solid var(--brand-primary);
  border-radius: var(--radius-md);
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

/* Modern Ranking Matrix + Right Sticky Dynamic Country Node Panel */
.ranking-matrix-split {
  display: grid;
  grid-template-columns: minmax(0, 1.58fr) minmax(300px, 0.92fr);
  gap: 1.35rem;
  align-items: start;
}
@media (max-width: 1020px) {
  .ranking-matrix-split { grid-template-columns: 1fr; }
}

.rank-shell {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 32px -14px rgba(15, 23, 42, 0.1);
  overflow: hidden;
}
.rank-shell-bar {
  background: linear-gradient(135deg, #0f172a 0%, #134e4a 100%);
  color: #f8fafc;
  padding: 0.85rem 1.1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.rank-shell-bar strong { font-size: 0.96rem; color: #ffffff; }
.rank-shell-bar small { font-size: 0.8rem; color: #99f6e4; }

.rank-table { width: 100%; }
.rank-table th {
  background: #f8fafc;
  font-size: 0.82rem;
  color: var(--text-muted);
  text-transform: none;
  letter-spacing: 0.01em;
  padding: 0.7rem 0.8rem;
}
.rank-table td {
  padding: 0.78rem 0.8rem;
  transition: background-color 0.15s ease;
}
.rank-table tbody tr:hover td {
  background: #f0fdfa;
}

.rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 800;
  background: var(--bg-subtle);
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
}
.rank-badge-1 { background: linear-gradient(135deg, #fef3c7, #fde68a); color: #92400e; border-color: #f59e0b; }
.rank-badge-2 { background: linear-gradient(135deg, #f1f5f9, #e2e8f0); color: #1e293b; border-color: #94a3b8; }
.rank-badge-3 { background: linear-gradient(135deg, #ffedd5, #fed7aa); color: #9a3412; border-color: #fb923c; }

.line-pill {
  display: inline-block;
  padding: 0.12rem 0.5rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  white-space: nowrap;
}
.line-pill-iepl { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.line-pill-dedicated { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }
.line-pill-transit { background: #f1f5f9; color: #475569; border: 1px solid #cbd5e1; }

.rank-brand-name {
  font-weight: 700;
  font-size: 0.96rem;
  color: var(--text-main);
  display: inline-block;
  margin-right: 0.35rem;
}
.rank-sub-line {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.18rem;
  line-height: 1.4;
}
.rank-price-main {
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 0.96rem;
  color: var(--brand-primary);
}

/* Right Sticky Dynamic Country Node Radar Panel */
.node-radar-panel {
  position: sticky;
  top: 82px;
  background: linear-gradient(165deg, #0f172a 0%, #111827 55%, #064e3b 145%);
  color: #f8fafc;
  border: 1px solid #1e293b;
  border-radius: var(--radius-lg);
  padding: 1.15rem;
  box-shadow: 0 18px 36px -16px rgba(15, 23, 42, 0.45);
}
@media (max-width: 1020px) { .node-radar-panel { position: static; } }

.node-radar-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}
.node-radar-title {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 800;
  font-size: 0.98rem;
  color: #ffffff;
}
.pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: yimaoPulse 1.8s infinite;
}
@keyframes yimaoPulse {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.75); }
  70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.radar-mode-btn {
  background: rgba(255, 255, 255, 0.08);
  color: #5eead4;
  border: 1px solid rgba(94, 234, 212, 0.25);
  border-radius: 999px;
  padding: 0.2rem 0.65rem;
  font-size: 0.74rem;
  font-weight: 600;
  cursor: pointer;
}
.radar-mode-btn:hover { background: rgba(255, 255, 255, 0.14); }

.country-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.38rem;
  margin-bottom: 0.9rem;
}
.country-pill {
  background: rgba(30, 41, 59, 0.9);
  color: #cbd5e1;
  border: 1px solid #334155;
  border-radius: 999px;
  padding: 0.28rem 0.65rem;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}
.country-pill:hover { border-color: #14b8a6; color: #ffffff; }
.country-pill.active {
  background: #0d9488;
  color: #ffffff;
  border-color: #2dd4bf;
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.35);
}

.route-flow {
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid #334155;
  border-radius: var(--radius-md);
  padding: 0.7rem 0.85rem;
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.78rem;
}
.route-line {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, #1e293b, #14b8a6, #1e293b);
  background-size: 200% 100%;
  animation: routeFlow 2.2s linear infinite;
  border-radius: 2px;
}
@keyframes routeFlow {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

.node-feed-list { display: grid; gap: 0.55rem; }
.node-feed-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.78rem;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.node-feed-card:hover {
  border-color: rgba(45, 212, 191, 0.5);
  transform: translateX(2px);
}
.node-feed-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.25rem;
}
.node-feed-top a { color: #ffffff; font-weight: 700; font-size: 0.89rem; }
.node-feed-top a:hover { color: #5eead4; }
.node-ping {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: #34d399;
  white-space: nowrap;
}
.node-feed-dc {
  font-size: 0.75rem;
  color: #94a3b8;
  margin-bottom: 0.38rem;
  display: block;
}
.node-bar-track {
  height: 5px;
  background: rgba(148, 163, 184, 0.18);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 0.42rem;
}
.node-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #0d9488, #34d399);
  border-radius: 999px;
  transition: width 0.4s ease;
}
.node-feed-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: #cbd5e1;
}
.node-feed-foot a { color: #5eead4; font-weight: 600; }

.node-radar-note {
  margin: 0.75rem 0 0;
  font-size: 0.73rem;
  color: #94a3b8;
  line-height: 1.45;
}

/* Key-value list */
.kv-list { display: grid; gap: 0.38rem; font-size: 0.9rem; margin: 0.25rem 0; }
.kv-row { display: flex; justify-content: space-between; gap: 0.75rem; border-bottom: 1px dashed var(--border-color); padding-bottom: 0.3rem; }
.kv-label { color: var(--text-muted); flex-shrink: 0; }
.kv-val { color: var(--text-main); font-weight: 600; text-align: right; }

/* Callouts */
.callout {
  border-left: 4px solid var(--brand-primary);
  background: var(--bg-accent-soft);
  padding: 1rem 1.2rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 1.15rem 0;
}
.callout-warn { border-left-color: var(--warn-text); background: var(--warn-bg); }
.callout-title { font-weight: 700; color: var(--text-main); margin-bottom: 0.25rem; display: block; }

/* Tables */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.article-body table {
  font-size: 0.86rem;
}
.article-body th,
.article-body td {
  padding: 0.62rem 0.68rem;
}
th, td {
  padding: 0.75rem 0.85rem;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
  vertical-align: middle;
}
th {
  background: var(--bg-subtle);
  color: var(--text-main);
  font-weight: 700;
  white-space: nowrap;
}
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover { background: var(--bg-page); }

.td-nowrap { white-space: nowrap; }
.td-sub { display: block; font-size: 0.76rem; color: var(--text-muted); font-weight: 400; margin-top: 0.1rem; white-space: nowrap; }
.table-actions { display: inline-flex; align-items: center; gap: 0.4rem; white-space: nowrap; }

/* Article Layout + Sidebar */
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, var(--prose-max)) minmax(240px, 1fr);
  gap: 2.25rem;
  align-items: start;
  padding: 1.5rem 0 3rem;
}
.article-body {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  min-width: 0;
}
.article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  position: sticky;
  top: 84px;
}
.sidebar-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.05rem;
}
.sidebar-box h3 {
  font-size: 0.96rem;
  margin-bottom: 0.6rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid var(--border-color);
}
.sidebar-list { list-style: none; padding: 0; margin: 0; font-size: 0.89rem; }
.sidebar-list li { margin-bottom: 0.42rem; }

@media (max-width: 960px) {
  .article-layout { grid-template-columns: 1fr; }
  .article-body { padding: 1.25rem; }
  .article-sidebar { position: static; }
}

/* Prev / Next Article Pager & Sibling Nav */
.article-pager {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1.75rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--border-color);
}
@media (max-width: 640px) {
  .article-pager { grid-template-columns: 1fr; }
}
.pager-card {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  padding: 0.9rem 1.05rem;
  background: var(--bg-page);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-main);
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.pager-card:hover {
  border-color: var(--brand-primary);
  background: var(--bg-accent-soft);
  text-decoration: none;
}
.pager-card.pager-next {
  text-align: right;
  align-items: flex-end;
}
@media (max-width: 640px) {
  .pager-card.pager-next { text-align: left; align-items: flex-start; }
}
.pager-dir {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--brand-primary);
}
.pager-title {
  font-size: 0.93rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text-main);
}

.sibling-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.75rem 0 1.35rem;
}

.back-to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.5rem;
  z-index: 90;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  background: var(--bg-dark);
  color: #ffffff;
  border: 1px solid #334155;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.25);
}
.back-to-top.visible { display: inline-flex; }
.back-to-top:hover { background: var(--brand-primary); border-color: var(--brand-primary); }

/* FAQ */
.faq-split {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 2rem;
  align-items: start;
}
@media (max-width: 820px) { .faq-split { grid-template-columns: 1fr; } }
.faq-list { display: grid; gap: 0.65rem; }
.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.9rem 1.15rem;
}
.faq-item summary { font-weight: 700; color: var(--text-main); cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item[open] summary { margin-bottom: 0.5rem; color: var(--brand-primary); }

/* Archive Toolbar & List (for 100 articles & 30 tutorials) */
.archive-toolbar {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1rem 1.15rem;
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.archive-search-input {
  width: 100%;
  max-width: 420px;
  min-height: 38px;
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
}

/* Compare Controls */
.compare-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  margin-bottom: 1.25rem;
}
.compare-controls select {
  min-height: 38px;
  padding: 0.38rem 0.75rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  background: var(--bg-surface);
}
.compare-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.compare-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--bg-accent-soft);
  color: var(--brand-primary);
  border: 1px solid var(--brand-light);
  border-radius: 999px;
  padding: 0.28rem 0.75rem;
  font-size: 0.86rem;
  font-weight: 600;
}
.compare-chip button {
  background: transparent;
  border: none;
  color: var(--brand-primary);
  font-weight: 700;
  cursor: pointer;
  padding: 0 0.2rem;
  font-size: 1rem;
  line-height: 1;
}

/* Footer */
.site-footer {
  background: var(--bg-dark);
  color: #cbd5e1;
  padding: 2.75rem 0 2rem;
  margin-top: 2rem;
}
.site-footer a { color: #5eead4; }
.site-footer a:hover { color: #ffffff; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-heading { color: #ffffff; font-size: 0.96rem; margin-bottom: 0.75rem; }
.footer-links { list-style: none; padding: 0; margin: 0; font-size: 0.89rem; }
.footer-links li { margin-bottom: 0.42rem; }
.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 1.25rem;
  font-size: 0.83rem;
  color: #94a3b8;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
}
