:root {
  color-scheme: dark;
  --bg: #0c0d10;
  --bg-elevated: #121418;
  --card: #17191e;
  --card-hover: #20232b;
  --card-inset: #111317;
  --border: rgba(255, 255, 255, 0.12);
  --border-strong: rgba(255, 255, 255, 0.24);
  --text: #ffffff;
  --muted: #c2c8d2;
  --muted-soft: #9aa2b1;
  --brand: #60a5fa;
  --brand-solid: #2563eb;
  --brand-soft: rgba(255, 255, 255, 0.08);
  --hero-bg: linear-gradient(180deg, #16181e 0%, #0c0d10 100%);
  --hero-text: #ffffff;
  --hero-sub: #d1d5db;
  --header-bg: rgba(12, 13, 16, 0.92);
  --pass: #4ade80;
  --pass-solid: #16a34a;
  --pass-bg: rgba(22, 163, 74, 0.16);
  --pass-border: rgba(74, 222, 128, 0.45);
  --warn: #fcd34d;
  --warn-solid: #f59e0b;
  --warn-bg: rgba(245, 158, 11, 0.16);
  --warn-border: rgba(252, 211, 77, 0.45);
  --fail: #fda4af;
  --fail-solid: #e11d48;
  --fail-bg: rgba(225, 29, 72, 0.18);
  --fail-border: rgba(253, 164, 175, 0.46);
  --info-bg: #1e2128;
  --info-border: rgba(255, 255, 255, 0.18);
  --shadow-card: 0 10px 28px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  --shadow-glow: 0 0 20px rgba(96, 165, 250, 0.18);
  --radius: 16px;
  --radius-sm: 10px;
  --font: 'Pretendard Variable', 'Pretendard', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif;
}

[data-theme="light"] {
  color-scheme: light;
  --bg: #f4f7fb;
  --bg-elevated: #edf2f8;
  --card: #ffffff;
  --card-hover: #f8fafc;
  --card-inset: #f1f5f9;
  --border: #e2e8f0;
  --border-strong: #cbd5e1;
  --text: #0f172a;
  --muted: #475569;
  --muted-soft: #64748b;
  --brand: #2563eb;
  --brand-solid: #1d4ed8;
  --brand-soft: #eff6ff;
  --hero-bg: linear-gradient(135deg, #111827 0%, #1f2937 100%);
  --hero-text: #ffffff;
  --hero-sub: #d1d5db;
  --header-bg: rgba(255, 255, 255, 0.94);
  --pass: #059669;
  --pass-solid: #10b981;
  --pass-bg: #ecfdf5;
  --pass-border: #a7f3d0;
  --warn: #b45309;
  --warn-solid: #f59e0b;
  --warn-bg: #fffbeb;
  --warn-border: #fde68a;
  --fail: #dc2626;
  --fail-solid: #ef4444;
  --fail-bg: #fef2f2;
  --fail-border: #fecaca;
  --info-bg: #eff6ff;
  --info-border: #bfdbfe;
  --shadow-card: 0 6px 24px rgba(15, 23, 42, 0.06);
  --shadow-glow: 0 0 18px rgba(37, 99, 235, 0.14);
}

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

html {
  font-size: 17.5px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.ico {
  width: 16px;
  height: 16px;
  display: inline-block;
  vertical-align: -3px;
  flex-shrink: 0;
}

.ico-sm {
  width: 14px;
  height: 14px;
  vertical-align: -2px;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--header-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, #2563eb, #0ea5e9);
  color: #ffffff;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.brand-sub {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  margin-top: -2px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.nav-link {
  font-size: 0.86rem;
  font-weight: 700;
  color: #d1d5db;
  padding: 8px 12px;
  border-radius: 999px;
  transition: background 0.15s, color 0.15s;
}

.nav-link:hover {
  background: var(--card-hover);
  color: var(--text);
}

.nav-link.active {
  background: var(--brand-solid);
  color: #ffffff;
  border: 1px solid transparent;
}

[data-theme="light"] .nav-link {
  color: #475569;
}

[data-theme="light"] .nav-link.active {
  background: #2563eb;
  color: #ffffff;
}

/* Theme Toggle */
.theme-toggle {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #23262f;
  border: 1.5px solid #fbbf24;
  color: #fef3c7;
  padding: 8px 15px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.84rem;
  font-weight: 800;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 0 0 14px rgba(251, 191, 36, 0.22);
  transition: border-color 0.15s, color 0.15s, background 0.15s, transform 0.12s, box-shadow 0.15s;
}

.theme-toggle .ico-sun {
  color: #fbbf24;
}

.theme-toggle:hover {
  transform: translateY(-1px);
  background: #2d313d;
  box-shadow: 0 0 18px rgba(251, 191, 36, 0.34);
}

[data-theme="light"] .theme-toggle {
  background: #18181b;
  border: 1.5px solid #18181b;
  color: #ffffff;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.16);
}

[data-theme="light"] .theme-toggle .ico-moon {
  color: #fde047;
}

[data-theme="light"] .theme-toggle:hover {
  background: #27272a;
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.24);
}

.theme-toggle .ico-moon,
.theme-toggle .theme-label-dark {
  display: none;
}

[data-theme="light"] .theme-toggle .ico-sun,
[data-theme="light"] .theme-toggle .theme-label-light {
  display: none;
}

[data-theme="light"] .theme-toggle .ico-moon,
[data-theme="light"] .theme-toggle .theme-label-dark {
  display: inline-block;
}

/* Hero Banner */
.hero {
  background: var(--hero-bg);
  color: var(--hero-text);
  padding: 34px 0 38px;
  border-bottom: 1px solid var(--border);
}

.hero-compact {
  padding: 26px 0 28px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--hero-sub);
  margin-bottom: 12px;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #f3f4f6;
  margin-bottom: 12px;
}

.hero-title-group {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero h1 {
  margin: 0 0 8px;
  font-size: clamp(1.5rem, 3vw, 2.15rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.24;
  color: var(--hero-text);
}

.hero-desc {
  margin: 0;
  max-width: 720px;
  font-size: 0.96rem;
  color: var(--hero-sub);
  line-height: 1.6;
}

/* Airline IATA Emblems */
.airline-emblem {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-grid;
  place-items: center;
  font-weight: 900;
  font-size: 0.94rem;
  letter-spacing: -0.02em;
  color: #ffffff;
  flex-shrink: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 4px 12px rgba(0, 0, 0, 0.28);
}

.airline-emblem-sm {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  font-size: 0.7rem;
}

.airline-emblem-lg {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  font-size: 1.15rem;
}

/* Step 1: My Airline Picker Card */
.airline-picker-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 18px 20px;
  margin: 22px 0 16px;
}

.picker-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.step-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--brand-solid);
  border: 1px solid transparent;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.picker-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.picker-title-row h2 {
  margin: 0;
  font-size: 1.04rem;
  font-weight: 800;
  letter-spacing: -0.015em;
}

.airline-select {
  appearance: auto;
  min-width: 230px;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--card-inset);
  color: var(--text);
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
}

.airline-select:focus {
  outline: none;
  border-color: var(--brand);
}

.quick-airline-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.airline-chip {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 7px;
  border-radius: 11px;
  border: 1px solid var(--border);
  background: var(--card-inset);
  color: var(--text);
  font-family: inherit;
  font-size: 0.87rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, color 0.15s, transform 0.1s;
}

.airline-chip:hover {
  border-color: var(--border-strong);
  color: var(--text);
  background: var(--card-hover);
}

.airline-chip.active {
  background: rgba(37, 99, 235, 0.28);
  border-color: #60a5fa;
  color: #ffffff;
  box-shadow: var(--shadow-glow);
}

[data-theme="light"] .airline-chip.active {
  background: #eff6ff;
  border-color: #2563eb;
  color: #1d4ed8;
}

/* Bento Cards & Main Checker */
.checker-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  margin: 20px 0 24px;
  overflow: hidden;
}

.bento-checker-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: 16px;
  margin-bottom: 18px;
  align-items: stretch;
}

.bento-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.checker-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.checker-top-strip {
  padding: 16px 22px;
  background: var(--card-inset);
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.mode-tabs {
  display: inline-flex;
  background: var(--card-inset);
  padding: 4px;
  border-radius: 12px;
  border: 1px solid var(--border);
  gap: 4px;
}

.mode-tab {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 0;
  background: transparent;
  padding: 9px 15px;
  border-radius: 9px;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.15s, color 0.15s, box-shadow 0.15s;
}

.mode-tab:hover {
  color: var(--text);
}

.mode-tab.active {
  background: var(--brand-solid);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
}

.mode-hint {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 8px 0 0;
}

.mode-hint strong {
  color: var(--text);
}

.checker-body {
  padding: 20px 22px 22px;
}

.preset-row {
  margin-bottom: 14px;
}

.section-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.preset-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.preset-btn {
  appearance: none;
  border: 1px solid var(--border);
  background: var(--card-inset);
  color: var(--text);
  padding: 7px 12px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s;
}

.preset-btn:hover {
  border-color: var(--brand);
  color: var(--brand);
  background: var(--card-hover);
}

.preset-btn.active {
  background: var(--brand-solid);
  border-color: var(--brand-solid);
  color: #ffffff;
}

.brand-presets-fold {
  margin-top: 10px;
}

.brand-presets-fold summary {
  font-size: 0.79rem;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.brand-presets-fold summary:hover {
  color: var(--text);
}

.brand-presets-fold summary::before {
  content: "+";
  display: inline-grid;
  place-items: center;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--card-inset);
  border: 1px solid var(--border-strong);
  font-weight: 900;
  font-size: 0.78rem;
  color: var(--brand);
}

.brand-presets-fold[open] summary::before {
  content: "-";
}

.brand-presets-fold .preset-list {
  margin-top: 8px;
}

.preset-note {
  margin-top: 10px;
  font-size: 0.82rem;
  color: var(--text);
  background: var(--info-bg);
  border: 1px solid var(--info-border);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-weight: 600;
  min-height: 36px;
  display: flex;
  align-items: center;
}

[data-theme="light"] .preset-note {
  color: #1e40af;
}

/* Inputs Grid */
.inputs-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.inputs-grid-2x2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.input-box {
  background: var(--card-inset);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  transition: border-color 0.15s, background 0.15s;
}

.input-box:focus-within {
  border-color: var(--brand);
  background: var(--card-hover);
  box-shadow: 0 0 0 3px var(--brand-soft);
}

.input-box label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 4px;
}

.input-box input {
  width: 100%;
  border: 0;
  background: transparent;
  font-family: inherit;
  font-size: 1.24rem;
  font-weight: 800;
  color: var(--text);
  outline: none;
  padding: 2px 0;
}

/* Weight Slider Bar */
.weight-slider-bar {
  margin-top: 12px;
  padding: 11px 14px;
  background: var(--card-inset);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.weight-slider-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 8px;
}

.weight-slider-head-title {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.stepper-group {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.stepper-group strong {
  color: var(--text);
  font-size: 0.9rem;
  min-width: 54px;
  text-align: center;
}

.step-btn {
  appearance: none;
  border: 1px solid var(--border-strong);
  background: var(--card);
  color: var(--text);
  border-radius: 7px;
  padding: 3px 9px;
  font-family: inherit;
  font-size: 0.76rem;
  font-weight: 800;
  cursor: pointer;
}

.step-btn:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.kg-slider {
  width: 100%;
  accent-color: var(--brand-solid);
  cursor: pointer;
  margin: 0;
}

.bag-summary-bar {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.sum-pill {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--muted);
}

.sum-pill strong {
  color: var(--text);
}

.btn-reset {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid var(--border-strong);
  background: var(--card-inset);
  color: var(--muted);
  font-family: inherit;
  font-size: 0.79rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}

.btn-reset:hover {
  border-color: var(--brand);
  color: var(--text);
}

/* Verdict Banner & Blueprint SVG */
.verdict-banner {
  border-radius: 12px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  margin-bottom: 12px;
  min-height: 76px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.verdict-banner.is-pass {
  background: var(--pass-bg);
  border-color: var(--pass-border);
}

.verdict-banner.is-warn {
  background: var(--warn-bg);
  border-color: var(--warn-border);
}

.verdict-banner.is-fail {
  background: var(--fail-bg);
  border-color: var(--fail-border);
}

.verdict-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.verdict-title {
  margin: 0 0 3px;
  font-size: 1.08rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.verdict-banner.is-pass .verdict-title {
  color: var(--pass);
}

.verdict-banner.is-warn .verdict-title {
  color: var(--warn);
}

.verdict-banner.is-fail .verdict-title {
  color: var(--fail);
}

.verdict-sub {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text);
  font-weight: 600;
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

.is-pass .status-dot {
  background: var(--pass-solid);
  box-shadow: 0 0 10px var(--pass-solid);
}

.is-warn .status-dot {
  background: var(--warn-solid);
  box-shadow: 0 0 10px var(--warn-solid);
}

.is-fail .status-dot {
  background: var(--fail-solid);
  box-shadow: 0 0 10px var(--fail-solid);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.77rem;
  font-weight: 800;
  padding: 5px 11px;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
}

.badge-pass {
  background: var(--pass-bg);
  color: var(--pass);
  border: 1px solid var(--pass-border);
}

.badge-warn {
  background: var(--warn-bg);
  color: var(--warn);
  border: 1px solid var(--warn-border);
}

.badge-fail {
  background: var(--fail-bg);
  color: var(--fail);
  border: 1px solid var(--fail-border);
}

.svg-stage {
  background: var(--card-inset);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 8px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.svg-stage svg {
  width: 100%;
  height: auto;
  display: block;
}

/* Solution Box */
.solution-box {
  margin-top: 12px;
  background: var(--card-inset);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 13px 15px;
  min-height: 82px;
}

.solution-box.is-pass {
  background: var(--pass-bg);
  border-color: var(--pass-border);
}

.solution-box.is-warn {
  background: var(--warn-bg);
  border-color: var(--warn-border);
}

.solution-box.is-fail {
  background: var(--fail-bg);
  border-color: var(--fail-border);
}

.solution-title {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.86rem;
  font-weight: 900;
  margin-bottom: 5px;
  color: var(--text);
}

.solution-list {
  margin: 0;
  padding-left: 18px;
  font-size: 0.83rem;
  color: var(--text);
  line-height: 1.55;
}

.solution-actions {
  margin-top: 9px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.btn-action {
  appearance: none;
  border: 0;
  background: var(--brand-solid);
  color: #ffffff;
  font-family: inherit;
  font-size: 0.81rem;
  font-weight: 800;
  padding: 8px 14px;
  border-radius: 9px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
}

.btn-action:hover {
  filter: brightness(1.1);
}

/* Smart Alternative Passing Airlines Strip */
.alt-strip {
  background: var(--card);
  border: 1px solid var(--pass-border);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-card);
}

.alt-strip-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.alt-strip-title {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--pass);
  display: flex;
  align-items: center;
  gap: 7px;
}

.alt-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Stats & Filter Toolbar */
.toolbar-panel {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 18px;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.stat-filter {
  appearance: none;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  color: var(--text);
  transition: border-color 0.15s, background 0.15s;
}

.stat-filter:hover {
  border-color: var(--border-strong);
}

.stat-filter.active {
  border-color: var(--brand);
  background: var(--brand-soft);
}

.stat-num {
  font-size: 1.4rem;
  font-weight: 900;
  line-height: 1.1;
}

.stat-label {
  font-size: 0.77rem;
  font-weight: 700;
  color: var(--muted);
  margin-top: 3px;
}

.c-pass { color: var(--pass); }
.c-warn { color: var(--warn); }
.c-fail { color: var(--fail); }

.filter-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.region-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.pill-btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--muted);
  font-family: inherit;
  font-size: 0.83rem;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.15s;
}

.pill-btn:hover {
  border-color: var(--brand);
  color: var(--text);
}

.pill-btn.active {
  background: var(--brand-solid);
  border-color: var(--brand-solid);
  color: #ffffff;
}

.search-input {
  min-width: 240px;
  flex: 0 1 320px;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--card-inset);
  color: var(--text);
  font-family: inherit;
  font-size: 0.87rem;
  outline: none;
}

.search-input::placeholder {
  color: var(--muted-soft);
}

.search-input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-soft);
}

/* Airline Cards Grid */
.airline-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}

.airline-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  box-shadow: var(--shadow-card);
  transition: transform 0.14s, border-color 0.14s;
}

.airline-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
}

.airline-card.is-pass { border-top: 3px solid var(--pass-solid); }
.airline-card.is-info { border-top: 3px solid var(--brand); }
.airline-card.is-warn { border-top: 3px solid var(--warn-solid); }
.airline-card.is-fail { border-top: 3px solid var(--fail-solid); }

.card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

.card-title-group {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.airline-title {
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  margin: 0;
}

.airline-meta {
  font-size: 0.83rem;
  color: var(--muted);
  font-weight: 600;
  margin-top: 2px;
}

.spec-line {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--text);
}

.spec-chip {
  background: var(--card-inset);
  border: 1px solid var(--border);
  padding: 4px 9px;
  border-radius: 7px;
  font-weight: 700;
}

.reason-box {
  font-size: 0.82rem;
  line-height: 1.48;
  border-radius: 9px;
  padding: 9px 11px;
  font-weight: 600;
}

.reason-pass {
  background: var(--pass-bg);
  color: var(--pass);
  border: 1px solid var(--pass-border);
}

.reason-warn {
  background: var(--warn-bg);
  color: var(--warn);
  border: 1px solid var(--warn-border);
}

.reason-fail {
  background: var(--fail-bg);
  color: var(--fail);
  border: 1px solid var(--fail-border);
}

.card-foot {
  margin-top: auto;
  padding-top: 9px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: var(--muted);
}

.detail-link {
  color: var(--brand);
  font-weight: 800;
}

.detail-link:hover {
  text-decoration: underline;
}

/* Pass Meters (Carriers Guide) */
.pass-meter {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 11px 12px;
  background: var(--card-inset);
  border: 1px solid var(--border);
  border-radius: 10px;
}

.pass-meter-row {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.pass-meter-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.79rem;
  color: var(--muted);
  font-weight: 700;
}

.pass-meter-head strong {
  color: var(--text);
  font-size: 0.85rem;
}

.pass-meter-track {
  height: 8px;
  background: rgba(148, 163, 184, 0.16);
  border-radius: 999px;
  overflow: hidden;
}

.pass-meter-fill {
  height: 100%;
  border-radius: 999px;
  background: var(--pass-solid);
  transition: width 0.25s ease;
}

.pass-meter-fill.is-checked {
  background: var(--brand);
}

/* Content Sections & KPI Grid */
.content-section {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-card);
}

.content-section h2 {
  margin: 0 0 14px;
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.content-section h3 {
  margin: 18px 0 8px;
  font-size: 1.02rem;
  font-weight: 800;
}

.kpi-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.kpi-tile {
  background: var(--card-inset);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 13px;
}

.kpi-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.77rem;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 5px;
}

.kpi-value {
  font-size: 1.06rem;
  font-weight: 900;
  color: var(--text);
}

.kpi-sub {
  font-size: 0.77rem;
  color: var(--muted);
  margin-top: 3px;
}

.note-callout {
  background: var(--card-inset);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 13px 15px;
  margin-top: 14px;
  font-size: 0.87rem;
  color: var(--text);
  line-height: 1.65;
}

/* Collapsible Fold & Tables */
.seo-fold {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-card);
}

.seo-fold > summary {
  cursor: pointer;
  list-style: none;
  font-size: 1rem;
  font-weight: 800;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.seo-fold > summary::after {
  content: "펼치기 ▾";
  font-size: 0.79rem;
  font-weight: 700;
  color: var(--brand);
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--brand-soft);
  border: 1px solid var(--info-border);
  flex-shrink: 0;
}

.seo-fold[open] > summary::after {
  content: "접기 ▴";
}

.seo-fold[open] > summary {
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

th, td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

th {
  background: var(--card-inset);
  font-size: 0.79rem;
  font-weight: 800;
  color: var(--muted);
  white-space: nowrap;
}

tr:last-child td {
  border-bottom: 0;
}

tr:hover td {
  background: var(--card-hover);
}

/* Special Guide 3-Tab Interface (Stroller -> Golf -> Battery) */
.special-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 22px 0 18px;
}

.special-tab {
  appearance: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 16px;
  border-radius: 13px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--muted);
  font-family: inherit;
  font-size: 0.96rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.15s;
}

.special-tab:hover {
  border-color: var(--border-strong);
  color: var(--text);
  background: var(--card-hover);
}

.special-tab.active {
  background: var(--brand-solid);
  border-color: var(--brand-solid);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.35);
}

.special-panel {
  display: none;
}

.special-panel.active {
  display: block;
}

.special-my-card {
  background: var(--card-inset);
  border: 1px solid var(--brand);
  border-radius: 13px;
  padding: 16px 18px;
  margin-top: 14px;
}

.special-my-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

table[data-active-topic="stroller"] [data-special-col]:not([data-special-col="stroller"]),
table[data-active-topic="golf"] [data-special-col]:not([data-special-col="golf"]),
table[data-active-topic="battery"] [data-special-col]:not([data-special-col="battery"]) {
  display: none;
}

/* Tips, FAQ, Directory */
.tips-list {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 8px;
  font-size: 0.92rem;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  background: var(--card-inset);
}

.faq-item h3 {
  margin: 0 0 6px;
  font-size: 0.95rem;
}

.faq-item p {
  margin: 0;
  font-size: 0.87rem;
  color: var(--muted);
}

.directory-links {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 8px;
  margin-top: 16px;
}

.dir-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--card-inset);
  font-size: 0.84rem;
  font-weight: 700;
}

.dir-link:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.dir-code {
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--muted);
}

/* Wh Calculator */
.wh-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.wh-result {
  margin-top: 14px;
  padding: 15px 18px;
  border-radius: var(--radius-sm);
  font-weight: 800;
  font-size: 1rem;
}

.info-box {
  background: var(--card-inset);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}

.tldr-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 14px 0 4px;
}

.tldr-card {
  background: var(--card-inset);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
}

.tldr-title {
  font-size: 0.94rem;
  font-weight: 800;
  margin: 0 0 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.tldr-desc {
  font-size: 0.84rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}

/* Footer */
.site-footer {
  margin-top: 40px;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  color: var(--muted);
  padding: 32px 0 40px;
  font-size: 0.84rem;
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--text);
  font-weight: 700;
}

.footer-links a:hover {
  color: var(--brand);
  text-decoration: underline;
}

.disclaimer-text {
  max-width: 780px;
  font-size: 0.78rem;
  line-height: 1.6;
  color: var(--muted-soft);
  margin-top: 14px;
}

.empty-state {
  grid-column: 1 / -1;
  background: var(--card);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  color: var(--muted);
}

@media (max-width: 960px) {
  .bento-checker-grid {
    grid-template-columns: 1fr;
  }
  .kpi-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .tldr-grid-3 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 16.5px;
  }
  .header-inner {
    flex-wrap: wrap;
    padding: 10px 14px;
  }
  .main-nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
    padding-top: 4px;
  }
  .inputs-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .stats-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .special-tabs {
    grid-template-columns: 1fr;
  }
  .search-input {
    width: 100%;
    flex: 1 1 100%;
  }
  .airline-select {
    width: 100%;
  }
}
