@font-face {
  font-family: 'HakgyoansimNadeuriTTF-B';
  src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/2408-5@1.0/HakgyoansimNadeuriTTF-B.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  font-family: var(--font-main);
  color: #102037;
  background: #eef5fb;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --bg: #eef5fb;
  --surface: rgba(255,255,255,.84);
  --surface-solid: #ffffff;
  --surface-2: #f4f8fc;
  --text: #102037;
  --muted: #63728a;
  --line: rgba(25,52,83,.12);
  --accent: #235cf3;
  --accent-2: #58a6ff;
  --accent-soft: #e8f0ff;
  --navy: #07162a;
  --shadow: 0 24px 80px rgba(23,50,84,.12);
  --font-main: 'HakgyoansimNadeuriTTF-B', 'Malgun Gothic', 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: var(--font-main);
}

:root[data-theme="dark"] {
  color: #ecf4ff;
  background: #07111f;
  --bg: #07111f;
  --surface: rgba(12,26,45,.84);
  --surface-solid: #0d1b2e;
  --surface-2: #11243b;
  --text: #eef6ff;
  --muted: #91a3ba;
  --line: rgba(190,216,244,.12);
  --accent: #7aa7ff;
  --accent-2: #55d5ff;
  --accent-soft: rgba(74,125,255,.13);
  --navy: #030914;
  --shadow: 0 28px 90px rgba(0,0,0,.28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; min-height: 100vh; background: var(--bg); color: var(--text); }
button, input { font: inherit; }
button { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 45%, transparent); outline-offset: 3px; }
a { color: inherit; text-decoration: none; }

.shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.app-shell { min-height: 100vh; overflow: hidden; background:
  radial-gradient(circle at 12% 0%, color-mix(in srgb, var(--accent-2) 12%, transparent), transparent 28%),
  radial-gradient(circle at 92% 12%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 30%), var(--bg); }

.top-nav, .minimal-nav { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.top-nav nav { display: flex; align-items: center; gap: 28px; color: var(--muted); font-size: 14px; }
.top-nav nav a:hover { color: var(--text); }
.brand { display: inline-flex; align-items: center; gap: 10px; border: 0; background: none; padding: 0; cursor: pointer; font-family: var(--font-main); font-weight: 800; font-size: 18px; letter-spacing: -.03em; }
.brand-mark { width: 34px; height: 34px; border-radius: 11px; display: inline-grid; place-items: center; background: var(--navy); color: white; transform: rotate(-8deg); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.theme-switch, .icon-button { width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); display: grid; place-items: center; cursor: pointer; }

.hero { min-height: 610px; display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 58px; padding-top: 32px; padding-bottom: 72px; }
.hero-copy h1, .boarding-intro h1, .landing-page h1 { font-family: var(--font-main); font-size: clamp(46px, 6vw, 78px); line-height: .99; letter-spacing: -.065em; margin: 18px 0 24px; }
.hero-copy h1 em { font-style: normal; color: var(--accent); }
.hero-copy > p { max-width: 650px; color: var(--muted); font-size: 17px; line-height: 1.8; }
.eyebrow { display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 11px; letter-spacing: .13em; text-transform: uppercase; color: var(--accent); font-weight: 500; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 16px 22px; margin-top: 30px; color: var(--muted); font-size: 13px; }
.hero-trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero-visual { position: relative; min-height: 390px; display: flex; align-items: center; }
.hero-card { position: absolute; right: 7%; bottom: 12%; width: 220px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 18px; background: color-mix(in srgb, var(--surface-solid) 88%, transparent); box-shadow: var(--shadow); backdrop-filter: blur(20px); }
.hero-card small { color: var(--muted); font-family: var(--mono); font-size: 9px; letter-spacing: .12em; }
.hero-card > div { display: flex; align-items: center; justify-content: space-between; margin: 9px 0 5px; font-size: 21px; }
.hero-card > span { color: var(--muted); font-size: 12px; }

.route-map { width: 100%; min-height: 430px; border: 1px solid var(--line); border-radius: 26px; background: linear-gradient(150deg, color-mix(in srgb, var(--surface-solid) 84%, transparent), color-mix(in srgb, var(--accent-soft) 40%, transparent)); position: relative; overflow: hidden; color: var(--accent); box-shadow: var(--shadow); }
.route-map::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--accent) 7%, transparent), transparent 60%); pointer-events: none; }
.route-map svg { display: block; width: 100%; height: 100%; min-height: inherit; }
.route-map--compact { min-height: 360px; transform: perspective(1000px) rotateY(-5deg) rotateX(2deg); }
.grid-lines line { stroke: color-mix(in srgb, var(--muted) 15%, transparent); stroke-width: 1; }
.continent-shape { fill: color-mix(in srgb, var(--muted) 10%, transparent); stroke: color-mix(in srgb, var(--muted) 17%, transparent); stroke-width: 1.3; }
.route-base { fill: none; stroke: color-mix(in srgb, var(--muted) 20%, transparent); stroke-width: 2.5; stroke-dasharray: 8 9; }
.route-line { fill: none; stroke: url(#routeGlow); stroke-width: 4; stroke-linecap: round; }
.airport-dot { fill: var(--surface-solid); stroke: currentColor; stroke-width: 4; }
.airport-dot--destination { fill: currentColor; }
.plane-marker { fill: currentColor; }
.route-city { position: absolute; bottom: 24px; display: flex; flex-direction: column; }
.route-city--from { left: 28px; }
.route-city--to { right: 28px; text-align: right; }
.route-city b { font-family: var(--mono); font-size: 22px; }
.route-city span { color: var(--muted); font-size: 11px; margin-top: 3px; }

.planner-section { padding: 42px 0 110px; }
.planner-head { display: flex; justify-content: space-between; gap: 32px; align-items: end; margin-bottom: 24px; }
.planner-head h2, .section-kicker h2, .privacy-inner h2 { font-family: var(--font-main); font-size: clamp(30px, 4vw, 46px); line-height: 1.08; letter-spacing: -.045em; margin: 10px 0 0; max-width: 720px; }
.mini-stats { display: flex; flex-wrap: wrap; gap: 10px; }
.mini-stats span { min-width: 105px; padding: 10px 12px; border: 1px solid var(--line); background: var(--surface); border-radius: 13px; color: var(--muted); display: grid; grid-template-columns: auto auto; gap: 1px 7px; align-items: center; font-size: 10px; }
.mini-stats span b { color: var(--text); font-family: var(--mono); font-size: 15px; }
.planner-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.planner-card { border: 1px solid var(--line); border-radius: 22px; background: var(--surface); backdrop-filter: blur(18px); padding: 26px; box-shadow: 0 10px 40px rgba(15,42,75,.04); min-height: 260px; }
.card-step { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 25px; }
.card-step > span { font-family: var(--mono); color: var(--accent); font-size: 11px; padding-top: 2px; }
.card-step small { color: var(--muted); font-family: var(--mono); font-size: 9px; letter-spacing: .12em; }
.card-step h3 { margin: 4px 0 0; font-family: var(--font-main); font-size: 20px; letter-spacing: -.025em; }
.selected-airport { display: flex; align-items: center; gap: 15px; padding: 16px; border: 1px solid var(--line); background: var(--surface-2); border-radius: 17px; }
.selected-airport > div:nth-child(2) { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.selected-airport b { font-size: 15px; }
.selected-airport span { color: var(--muted); font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 3px; }
.airport-badge { width: 58px; height: 50px; border-radius: 13px; display: grid; place-items: center; font: 600 16px var(--mono); background: var(--navy); color: #fff; }
.home-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.privacy-note { display: flex; align-items: center; gap: 7px; margin: 16px 0 0; color: var(--muted); font-size: 11px; }
.button { min-height: 42px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface-solid); display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; font-weight: 600; font-size: 13px; transition: transform .18s ease, border-color .18s ease, background .18s ease; }
.button:hover { transform: translateY(-1px); border-color: color-mix(in srgb, var(--accent) 35%, var(--line)); }
.button:disabled { opacity: .55; cursor: wait; transform: none; }
.button--primary { background: var(--navy); color: white; border-color: transparent; }
.button--small { min-height: 34px; padding: 0 12px; font-size: 11px; }
.button--ghost { background: transparent; }
.duration-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 7px; }
.duration-grid button { height: 62px; border-radius: 13px; border: 1px solid var(--line); background: var(--surface-2); cursor: pointer; font: 600 16px var(--mono); transition: .18s ease; }
.duration-grid button small { display: block; color: var(--muted); font-size: 8px; margin-top: 3px; font-family: var(--font-main); }
.duration-grid button.selected, .intent-grid button.selected, .destination-list button.selected { border-color: var(--accent); background: var(--accent-soft); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 30%, transparent); }
.custom-duration { display: flex; align-items: center; gap: 9px; margin-top: 12px; color: var(--muted); font-size: 11px; }
.custom-duration input { width: 88px; border: 1px solid var(--line); background: var(--surface-solid); color: var(--text); border-radius: 10px; padding: 9px 10px; }
.intent-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.intent-grid button { text-align: left; min-height: 70px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface-2); padding: 12px; cursor: pointer; }
.intent-grid b { display: block; font-size: 13px; }
.intent-grid small { display: block; margin-top: 5px; color: var(--muted); font-size: 9px; }
.outcome-input { display: block; margin-top: 14px; }
.outcome-input > span { display: block; margin-bottom: 7px; color: var(--muted); font-size: 10px; font-weight: 600; }
.outcome-input span small { font-weight: 400; }
.outcome-input input { width: 100%; padding: 12px 13px; border-radius: 11px; border: 1px solid var(--line); background: var(--surface-solid); color: var(--text); font-size: 12px; }
.selected-destination { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 14px; }
.selected-destination > div:first-child { display: flex; align-items: center; gap: 12px; }
.selected-destination > div:first-child > div { display: flex; flex-direction: column; }
.selected-destination b { font-size: 13px; }
.selected-destination small { color: var(--muted); margin-top: 3px; font-size: 10px; }
.airport-code-large { font: 600 28px var(--mono); color: var(--accent); }
.destination-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 7px; }
.destination-list button { display: flex; align-items: center; justify-content: space-between; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); padding: 10px 12px; cursor: pointer; text-align: left; }
.destination-list button span { display: flex; flex-direction: column; }
.destination-list b { font: 600 12px var(--mono); }
.destination-list small { color: var(--muted); font-size: 9px; margin-top: 2px; }
.destination-list em { font-style: normal; color: var(--muted); font: 400 9px var(--mono); }
.ready-bar { margin-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 26px; padding: 22px 26px; border-radius: 20px; background: var(--navy); color: white; box-shadow: 0 22px 60px rgba(3,12,25,.22); }
.ready-route { display: flex; align-items: center; gap: 10px; margin: 7px 0 5px; font: 500 18px var(--mono); }
.ready-route span { width: 40px; height: 1px; background: rgba(255,255,255,.22); }
.ready-bar p { margin: 0; color: rgba(255,255,255,.55); font-size: 11px; max-width: 700px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.button--takeoff { background: #f4f8ff; color: #081323; border: none; min-height: 50px; padding: 0 20px; flex-shrink: 0; }

.feature-section { padding: 100px 0 120px; }
.section-kicker { text-align: center; max-width: 780px; margin: 0 auto 44px; }
.section-kicker h2 { margin-inline: auto; }
.section-kicker > p { color: var(--muted); line-height: 1.7; max-width: 620px; margin: 16px auto 0; font-size: 14px; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.feature-grid article { position: relative; min-height: 250px; border: 1px solid var(--line); background: var(--surface); border-radius: 20px; padding: 24px; overflow: hidden; }
.feature-grid article > span { position: absolute; right: 18px; top: 16px; font: 400 10px var(--mono); color: var(--muted); }
.feature-grid article > svg { color: var(--accent); margin-top: 9px; }
.feature-grid h3 { font-family: var(--font-main); font-size: 17px; margin: 46px 0 10px; }
.feature-grid p { color: var(--muted); font-size: 12px; line-height: 1.65; margin: 0; }
.privacy-section { background: var(--navy); color: white; padding: 80px 0; }
.privacy-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.privacy-inner h2 { color: white; }
.privacy-points { display: grid; gap: 18px; }
.privacy-points p { margin: 0; padding-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.58); line-height: 1.7; font-size: 13px; }
.privacy-points b { color: white; }
.site-footer { min-height: 100px; display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 28px; color: var(--muted); font-size: 11px; }

.modal-backdrop { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 20px; background: rgba(2,9,18,.72); backdrop-filter: blur(12px); }
.modal { width: min(720px, 100%); max-height: min(82vh, 780px); display: flex; flex-direction: column; border-radius: 24px; border: 1px solid var(--line); background: var(--surface-solid); box-shadow: 0 40px 120px rgba(0,0,0,.35); overflow: hidden; }
.modal-head { padding: 24px 24px 18px; display: flex; justify-content: space-between; align-items: start; }
.modal-head h2 { font-family: var(--font-main); font-size: 24px; margin: 5px 0 0; letter-spacing: -.03em; }
.search-box { margin: 0 24px 14px; min-height: 48px; display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); background: var(--surface-2); border-radius: 13px; padding: 0 14px; color: var(--muted); }
.search-box input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--text); font-size: 13px; }
.airport-results { overflow-y: auto; padding: 0 16px 16px; }
.airport-row { width: 100%; display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 12px; text-align: left; border: 0; border-bottom: 1px solid var(--line); background: transparent; padding: 13px 8px; cursor: pointer; }
.airport-row:hover { background: var(--surface-2); }
.airport-row--selected { color: var(--accent); }
.airport-code { font: 600 15px var(--mono); }
.airport-meta { display: flex; flex-direction: column; }
.airport-meta b { font-size: 12px; color: var(--text); }
.airport-meta small { color: var(--muted); font-size: 10px; margin-top: 3px; }
.airport-region { font-size: 9px; color: var(--muted); }
.empty-state { color: var(--muted); text-align: center; padding: 45px 20px; font-size: 12px; }
.toast { position: fixed; z-index: 100; left: 50%; bottom: 26px; transform: translateX(-50%); padding: 11px 16px; border-radius: 12px; background: #07111f; color: #fff; box-shadow: 0 14px 50px rgba(0,0,0,.28); font-size: 12px; max-width: min(90vw, 620px); text-align: center; }

.boarding-screen { min-height: 100vh; background: var(--bg); }
.boarding-wrap { padding: 54px 0 100px; text-align: center; }
.boarding-intro { max-width: 700px; margin: 0 auto 44px; }
.boarding-intro h1 { font-size: clamp(42px, 5vw, 64px); margin-bottom: 18px; }
.boarding-intro p { color: var(--muted); line-height: 1.7; }
.boarding-pass { width: min(930px, 100%); margin: 0 auto; min-height: 380px; display: grid; grid-template-columns: 1fr 190px; text-align: left; border-radius: 24px; overflow: hidden; background: #f7f1df; color: #111a23; box-shadow: 0 35px 90px rgba(2,12,24,.2); transform: rotate(-.35deg); }
.pass-main { padding: 32px; position: relative; }
.pass-main::before { content: ""; position: absolute; inset: 0; opacity: .22; background-image: radial-gradient(#6d6044 0.6px, transparent 0.6px); background-size: 7px 7px; pointer-events: none; }
.pass-top, .pass-route, .pass-data, .pass-intent { position: relative; z-index: 1; }
.pass-top { display: flex; justify-content: space-between; align-items: center; font: 500 10px var(--mono); letter-spacing: .14em; color: #655d4e; }
.pass-top > div { display: flex; align-items: center; gap: 10px; color: #111a23; }
.pass-top .brand-mark { width: 30px; height: 30px; border-radius: 9px; }
.pass-route { display: grid; grid-template-columns: 1fr 1.5fr 1fr; align-items: center; gap: 22px; margin: 50px 0 40px; }
.pass-route > div:last-child { text-align: right; }
.pass-route small, .pass-data small, .pass-intent small { display: block; font: 500 8px var(--mono); color: #786e5d; letter-spacing: .11em; }
.pass-route strong { display: block; font: 500 58px var(--mono); letter-spacing: -.08em; margin: 5px 0; }
.pass-route span { color: #685f50; font-size: 11px; }
.pass-route-line { display: flex; align-items: center; color: #3b5379; }
.pass-route-line span { flex: 1; height: 1px; background: #ada083; }
.pass-data { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; border-top: 1px dashed #afa38a; padding-top: 22px; }
.pass-data b { display: block; font: 500 11px var(--mono); margin-top: 5px; }
.pass-intent { margin-top: 26px; border-left: 3px solid #3b5379; padding-left: 13px; }
.pass-intent p { margin: 5px 0 0; font-size: 12px; font-weight: 600; }
.pass-stub { border-left: 2px dashed #a99c82; padding: 30px 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 13px; position: relative; background: rgba(109,96,68,.035); }
.pass-stub::before, .pass-stub::after { content: ""; width: 24px; height: 24px; border-radius: 50%; position: absolute; left: -13px; background: var(--bg); }
.pass-stub::before { top: -12px; }.pass-stub::after { bottom: -12px; }
.pass-stub > span { font: 600 24px var(--mono); }
.pass-stub small { font: 500 9px var(--mono); color: #6f6656; }
.barcode { width: 100%; height: 92px; background: repeating-linear-gradient(90deg, #1c1a16 0 2px, transparent 2px 5px, #1c1a16 5px 6px, transparent 6px 10px); opacity: .78; }
.tear-button { margin-top: 36px; min-height: 56px; border: 0; border-radius: 15px; background: var(--navy); color: white; padding: 0 24px; display: inline-flex; align-items: center; gap: 9px; cursor: pointer; font-weight: 700; box-shadow: 0 15px 45px rgba(3,12,25,.2); }
.keyboard-hint { margin-top: 14px; color: var(--muted); font: 400 10px var(--mono); }

.flight-screen { min-height: 100vh; background: var(--navy); color: #eef6ff; display: grid; grid-template-rows: auto 1fr auto; }
.flight-toolbar { min-height: 66px; display: flex; align-items: center; justify-content: space-between; padding: 0 24px; border-bottom: 1px solid rgba(255,255,255,.08); background: rgba(3,10,20,.62); backdrop-filter: blur(18px); }
.flight-identity { display: flex; align-items: center; gap: 10px; font: 500 11px var(--mono); }
.flight-identity span:last-child { color: #7f93ab; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: #63e6be; box-shadow: 0 0 14px #63e6be; }
.flight-controls { display: flex; gap: 4px; }
.flight-controls button { min-height: 36px; border: 1px solid transparent; border-radius: 10px; background: transparent; color: #8fa4bd; display: inline-flex; align-items: center; gap: 6px; padding: 0 9px; font-size: 9px; cursor: pointer; }
.flight-controls button:hover, .flight-controls button.active { color: #fff; background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.08); }
.flight-controls .pause-control { color: #dcecff; }
.flight-cockpit { width: min(1380px, calc(100% - 36px)); margin: auto; display: grid; grid-template-columns: 1.2fr .8fr; gap: 18px; padding: 24px 0; align-items: stretch; }
.flight-map-panel .route-map { min-height: 610px; background: linear-gradient(150deg, #07182c, #0b2038); border-color: rgba(255,255,255,.08); box-shadow: none; color: #6ed7ff; }
.flight-map-panel .continent-shape { fill: rgba(129,180,220,.06); stroke: rgba(146,194,232,.12); }
.flight-map-panel .grid-lines line { stroke: rgba(255,255,255,.05); }
.flight-map-panel .route-city span { color: #8296ae; }
.timer-panel { min-height: 610px; border: 1px solid rgba(255,255,255,.08); border-radius: 26px; background: linear-gradient(160deg, rgba(255,255,255,.055), rgba(255,255,255,.018)); padding: 36px; display: flex; flex-direction: column; justify-content: center; }
.phase-line { display: flex; justify-content: space-between; color: #7e93aa; font: 500 10px var(--mono); text-transform: uppercase; letter-spacing: .1em; }
.timer-display { font: 500 clamp(58px, 7vw, 96px)/1 var(--mono); letter-spacing: -.075em; margin: 22px 0 24px; color: #fff; white-space: nowrap; }
.paused-badge { margin: -10px 0 22px; padding: 8px 10px; border-radius: 8px; background: rgba(255,190,90,.1); color: #ffd995; font: 500 9px var(--mono); }
.progress-rail { height: 4px; border-radius: 5px; background: rgba(255,255,255,.08); overflow: hidden; }
.progress-rail span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #5b8cff, #60d8ff); box-shadow: 0 0 14px rgba(96,216,255,.6); }
.flight-metrics { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-top: 30px; }
.flight-metrics div { padding: 14px 0; border-top: 1px solid rgba(255,255,255,.07); }
.flight-metrics small, .flight-intent small { display: block; color: #71879e; font: 500 8px var(--mono); letter-spacing: .1em; }
.flight-metrics b { display: block; margin-top: 6px; font: 500 11px var(--mono); }
.flight-intent { margin-top: 24px; padding: 18px; border-radius: 14px; background: rgba(89,139,255,.08); border: 1px solid rgba(89,139,255,.14); }
.flight-intent p { margin: 7px 0 0; color: #dfeaff; font-size: 13px; line-height: 1.5; }
.flight-footer { min-height: 60px; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.08); background: rgba(3,10,20,.6); }
.audio-slider { display: flex; align-items: center; gap: 10px; color: #8297af; }
.audio-slider label { display: flex; align-items: center; gap: 12px; font-size: 9px; }
.audio-slider input { width: 150px; accent-color: #6bb9ff; }
.end-flight { border: 0; background: transparent; color: #788ca2; cursor: pointer; font-size: 10px; }
.end-flight:hover { color: #ff9a9a; }

.landing-page { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding-top: 60px; padding-bottom: 60px; }
.landing-orbit { width: 82px; height: 82px; border-radius: 50%; display: grid; place-items: center; color: var(--accent); border: 1px solid var(--line); background: var(--surface); margin-bottom: 22px; box-shadow: var(--shadow); }
.landing-page h1 { font-size: clamp(46px, 6vw, 72px); margin: 12px 0; }
.lede { color: var(--muted); margin: 0 0 34px; }
.landing-ticket { width: min(720px, 100%); text-align: left; padding: 28px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); box-shadow: var(--shadow); }
.landing-route { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; padding-bottom: 24px; border-bottom: 1px dashed var(--line); color: var(--accent); }
.landing-route > div:last-child { text-align: right; }
.landing-route small { display: block; color: var(--muted); font: 500 8px var(--mono); }
.landing-route strong { display: block; font: 500 36px var(--mono); margin-top: 4px; color: var(--text); }
.landing-route span { color: var(--muted); font-size: 10px; }
.ticket-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; padding-top: 22px; }
.ticket-grid small, .outcome-review small { color: var(--muted); font: 500 8px var(--mono); letter-spacing: .09em; }
.ticket-grid b { display: block; margin-top: 6px; font-size: 12px; }
.outcome-review { margin-top: 22px; padding: 14px; border-radius: 12px; background: var(--surface-2); }
.outcome-review p { margin: 6px 0 0; font-size: 12px; }
.landing-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; margin-top: 24px; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; min-height: auto; gap: 24px; padding-top: 60px; }
  .hero-copy { text-align: center; }.hero-copy > p { margin-inline: auto; }.hero-trust { justify-content: center; }
  .hero-visual { max-width: 760px; width: 100%; margin: 0 auto; }.route-map--compact { transform: none; }
  .planner-grid { grid-template-columns: 1fr; }.planner-head { align-items: start; flex-direction: column; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }.privacy-inner { grid-template-columns: 1fr; gap: 36px; }
  .flight-cockpit { grid-template-columns: 1fr; }.flight-map-panel .route-map, .timer-panel { min-height: 430px; }
  .boarding-pass { grid-template-columns: 1fr 150px; }.pass-route strong { font-size: 45px; }.pass-data { grid-template-columns: repeat(3,1fr); }
}

@media (max-width: 680px) {
  .shell { width: min(100% - 24px, 1180px); }.top-nav { min-height: 64px; }.top-nav nav a { display: none; }
  .hero { padding-top: 38px; padding-bottom: 48px; }.hero-copy h1 { font-size: 46px; }.hero-copy > p { font-size: 14px; }.hero-trust { gap: 10px; font-size: 11px; }
  .hero-card { right: 5%; bottom: 10%; width: 185px; }.route-map--compact { min-height: 300px; }
  .planner-section { padding-bottom: 70px; }.mini-stats { width: 100%; }.mini-stats span { flex: 1; min-width: 90px; }
  .planner-card { padding: 20px; }.duration-grid { grid-template-columns: repeat(3,1fr); }.intent-grid { grid-template-columns: 1fr; }.destination-list { grid-template-columns: 1fr; }
  .selected-destination { align-items: flex-start; }.selected-destination .button { padding-inline: 10px; }.ready-bar { align-items: stretch; flex-direction: column; }.button--takeoff { width: 100%; }
  .feature-section { padding: 75px 0; }.feature-grid { grid-template-columns: 1fr; }.feature-grid article { min-height: 210px; }.feature-grid h3 { margin-top: 32px; }
  .privacy-section { padding: 60px 0; }.site-footer { grid-template-columns: 1fr; padding: 28px 0; gap: 9px; }
  .airport-row { grid-template-columns: 48px 1fr; }.airport-region, .airport-row > svg { display: none; }
  .boarding-wrap { padding-top: 32px; }.boarding-intro h1 { font-size: 44px; }.boarding-pass { grid-template-columns: 1fr; transform: none; }.pass-stub { display: none; }.pass-main { padding: 22px; }.pass-route { grid-template-columns: 1fr auto 1fr; gap: 8px; margin: 35px 0 28px; }.pass-route strong { font-size: 34px; }.pass-route-line span { display: none; }.pass-data { grid-template-columns: repeat(2,1fr); }
  .flight-toolbar { padding: 0 12px; }.flight-identity span:last-child { display: none; }.flight-controls button span { display: none; }.flight-controls button { width: 34px; justify-content: center; padding: 0; }.flight-cockpit { width: calc(100% - 20px); padding: 10px 0; }.flight-map-panel .route-map { min-height: 310px; border-radius: 18px; }.timer-panel { min-height: 380px; border-radius: 18px; padding: 24px; }.timer-display { font-size: 56px; }.flight-metrics { grid-template-columns: repeat(3,1fr); gap: 4px; }.flight-footer { padding: 0 12px; }.audio-slider label { font-size: 0; }.audio-slider input { width: 100px; }
  .landing-page h1 { font-size: 46px; }.landing-ticket { padding: 20px; }.ticket-grid { grid-template-columns: repeat(2,1fr); }.landing-actions { width: 100%; }.landing-actions .button { flex: 1; min-width: 140px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .001ms !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
}

.guide-section, .faq-section { padding: 70px 0 110px; }
.guide-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; }
.guide-grid article { min-height: 210px; border: 1px solid var(--line); background: var(--surface); border-radius: 20px; padding: 24px; }
.guide-grid article > b { display: inline-block; font: 500 11px var(--mono); color: var(--accent); padding: 8px 10px; border-radius: 9px; background: var(--accent-soft); }
.guide-grid h3 { margin: 34px 0 8px; font-family: var(--font-main); font-size: 18px; letter-spacing: -.025em; }
.guide-grid p { color: var(--muted); font-size: 12px; line-height: 1.7; margin: 0; }
.faq-grid { width: min(860px,100%); margin: 0 auto; border-top: 1px solid var(--line); }
.faq-grid details { border-bottom: 1px solid var(--line); padding: 0 4px; }
.faq-grid summary { list-style: none; cursor: pointer; padding: 20px 0; font-weight: 700; font-size: 14px; display: flex; justify-content: space-between; gap: 20px; }
.faq-grid summary::-webkit-details-marker { display:none; }
.faq-grid summary::after { content:'+'; font: 400 18px var(--mono); color: var(--accent); }
.faq-grid details[open] summary::after { content:'–'; }
.faq-grid details p { color: var(--muted); line-height: 1.75; font-size: 12px; padding: 0 0 20px; margin: 0; max-width: 760px; }

@media (max-width: 980px) { .guide-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 680px) { .guide-section, .faq-section { padding: 60px 0 75px; } .guide-grid { grid-template-columns: 1fr; } .guide-grid article { min-height: 180px; } }

/* =========================================================
   BIGONG / 비공 — My Portal visual system
   Mirrors the user's existing portal language: pastel radial
   background, translucent glass cards, pill controls, rounded
   26–28px surfaces, and soft blue/pink/violet accents.
   ========================================================= */
:root {
  --bg-a: #fff7ec;
  --bg-b: #eef8ff;
  --bg-c: #f8f0ff;
  --bg: #f5f7fb;
  --surface: rgba(255,255,255,.74);
  --surface-solid: rgba(255,255,255,.94);
  --surface-2: rgba(255,255,255,.58);
  --text: #253044;
  --muted: #6b7280;
  --line: rgba(120,144,180,.22);
  --accent: #7ecff7;
  --accent-2: #ff9bcf;
  --accent-3: #c7b7ff;
  --accent-soft: rgba(238,248,255,.82);
  --navy: #253044;
  --shadow: 0 18px 42px rgba(94,120,160,.16);
}

:root[data-theme="dark"] {
  --bg-a: #1d2230;
  --bg-b: #192837;
  --bg-c: #29243a;
  --bg: #1d2432;
  --surface: rgba(38,46,62,.78);
  --surface-solid: rgba(42,50,67,.96);
  --surface-2: rgba(255,255,255,.06);
  --text: #f4f5fb;
  --muted: #b5bac8;
  --line: rgba(202,213,235,.16);
  --accent: #9bdfff;
  --accent-2: #ffacd7;
  --accent-3: #cfc3ff;
  --accent-soft: rgba(139,215,255,.10);
  --navy: #151a25;
  --shadow: 0 20px 48px rgba(0,0,0,.26);
}

html,
body,
body *,
button,
input,
select,
textarea,
option,
summary {
  font-family: var(--font-main) !important;
}

body {
  background:
    radial-gradient(circle at 12% 8%, rgba(255,211,235,.62), transparent 34%),
    radial-gradient(circle at 88% 10%, rgba(139,215,255,.48), transparent 32%),
    radial-gradient(circle at 50% 100%, rgba(199,183,255,.34), transparent 36%),
    linear-gradient(135deg, var(--bg-a) 0%, var(--bg-b) 48%, var(--bg-c) 100%);
  background-attachment: fixed;
}

:root[data-theme="dark"] body {
  background:
    radial-gradient(circle at 12% 8%, rgba(255,143,199,.11), transparent 34%),
    radial-gradient(circle at 88% 10%, rgba(139,215,255,.10), transparent 32%),
    radial-gradient(circle at 50% 100%, rgba(199,183,255,.09), transparent 36%),
    linear-gradient(135deg, var(--bg-a) 0%, var(--bg-b) 48%, var(--bg-c) 100%);
}

.app-shell,
.boarding-screen,
.landing-page {
  background: transparent;
}

.shell { width: min(1180px, calc(100% - 32px)); }

.top-nav,
.minimal-nav {
  min-height: 76px;
  margin-top: 14px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255,255,255,.55);
  box-shadow: 0 12px 30px rgba(94,120,160,.10);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
:root[data-theme="dark"] .top-nav,
:root[data-theme="dark"] .minimal-nav { background: rgba(35,42,57,.66); }

.brand { gap: 11px; color: var(--text); font-weight: 800; }
.brand > span:last-child { display: inline-flex; align-items: baseline; gap: 7px; }
.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  color: #253044;
  background: linear-gradient(135deg, rgba(139,215,255,.92), rgba(255,143,199,.82), rgba(199,183,255,.86));
  box-shadow: 0 10px 24px rgba(94,120,160,.14), inset 0 0 0 1px rgba(255,255,255,.48);
  transform: rotate(-7deg);
}

.top-nav nav { gap: 9px; }
.top-nav nav a,
.theme-switch,
.icon-button {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.66);
  border-radius: 999px;
  color: var(--muted);
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}
.top-nav nav a { padding: 9px 13px; font-size: 12px; font-weight: 800; }
.theme-switch, .icon-button { width: 40px; height: 40px; }
.top-nav nav a:hover,
.theme-switch:hover,
.icon-button:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(94,120,160,.14); color: var(--text); }

.hero {
  min-height: 550px;
  grid-template-columns: minmax(0,1.05fr) minmax(360px,.95fr);
  gap: 18px;
  padding: 24px 0 18px;
  align-items: stretch;
}
.hero-copy,
.hero-visual {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.hero-copy {
  padding: clamp(28px, 5vw, 54px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-copy::after {
  content: '';
  position: absolute;
  right: -70px;
  top: -85px;
  width: 250px;
  height: 250px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255,143,199,.38), rgba(139,215,255,.35), rgba(199,183,255,.28));
  pointer-events: none;
}
.hero-copy > * { position: relative; z-index: 1; }
.hero-copy h1,
.boarding-intro h1,
.landing-page h1 {
  color: #172033;
  font-size: clamp(2.5rem, 5.3vw, 4.9rem);
  line-height: .96;
  letter-spacing: -.058em;
  margin: 16px 0 22px;
}
:root[data-theme="dark"] .hero-copy h1,
:root[data-theme="dark"] .boarding-intro h1,
:root[data-theme="dark"] .landing-page h1 { color: var(--text); }
.hero-copy h1 em {
  color: #53657d;
  background: linear-gradient(100deg, #79c9f0, #e98cbe, #a998e8);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-copy > p { font-size: 15px; line-height: 1.75; }

.eyebrow {
  width: fit-content;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.62);
  color: var(--muted);
  font-family: inherit;
  font-size: .78rem;
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 800;
}
:root[data-theme="dark"] .eyebrow { background: rgba(255,255,255,.07); }

.hero-trust { margin-top: 24px; gap: 8px; }
.hero-trust span {
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.58);
  font-size: 11px;
  font-weight: 750;
}
:root[data-theme="dark"] .hero-trust span { background: rgba(255,255,255,.05); }

.hero-visual { min-height: 100%; padding: 14px; align-items: stretch; }
.hero-visual .route-map { flex: 1; }
.route-map,
.planner-card,
.feature-grid article,
.guide-grid article,
.landing-ticket,
.modal,
.timer-panel {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.route-map {
  min-height: 100%;
  border-radius: 24px;
  color: #76c7ef;
  background:
    radial-gradient(circle at 82% 12%, rgba(255,143,199,.18), transparent 32%),
    radial-gradient(circle at 15% 80%, rgba(199,183,255,.19), transparent 34%),
    linear-gradient(150deg, rgba(255,255,255,.80), rgba(238,248,255,.70));
  box-shadow: none;
}
:root[data-theme="dark"] .route-map {
  background: linear-gradient(150deg, rgba(30,42,58,.84), rgba(39,40,61,.74));
}
.route-map--compact { min-height: 100%; transform: none; }
.grid-lines line { stroke: rgba(120,144,180,.13); }
.continent-shape { fill: rgba(139,215,255,.08); stroke: rgba(120,144,180,.17); }
.route-base { stroke: rgba(120,144,180,.32); }
.route-city b { color: var(--text); }

.hero-card {
  right: 30px;
  bottom: 30px;
  border-radius: 20px;
  background: rgba(255,255,255,.80);
  box-shadow: 0 14px 32px rgba(94,120,160,.16);
}
:root[data-theme="dark"] .hero-card { background: rgba(39,47,63,.88); }

.planner-section { padding: 18px 0 70px; }
.planner-head {
  align-items: center;
  margin: 0 0 14px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}
.planner-head h2,
.section-kicker h2,
.privacy-inner h2 {
  color: var(--text);
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  line-height: 1.12;
  letter-spacing: -.045em;
}
.mini-stats span {
  min-width: 110px;
  padding: 11px 13px;
  border-radius: 18px;
  background: rgba(255,255,255,.62);
  box-shadow: none;
  font-weight: 800;
}
:root[data-theme="dark"] .mini-stats span { background: rgba(255,255,255,.05); }

.planner-grid { gap: 14px; }
.planner-card { border-radius: 26px; padding: 22px; min-height: 250px; transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease; }
.planner-card:hover,
.feature-grid article:hover,
.guide-grid article:hover { transform: translateY(-3px); filter: brightness(1.015); box-shadow: 0 22px 46px rgba(94,120,160,.18); }
.card-step > span {
  min-width: 38px;
  height: 30px;
  display: grid;
  place-items: center;
  padding: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(139,215,255,.72), rgba(255,143,199,.58));
  color: #253044;
  font-family: inherit;
  font-size: 11px;
  font-weight: 900;
}
.card-step small { font-family: inherit; font-weight: 800; letter-spacing: .04em; }
.card-step h3 { color: var(--text); font-family: inherit; font-size: 18px; }

.selected-airport,
.custom-duration input,
.outcome-input input,
.selected-destination,
.destination-list button,
.duration-grid button,
.intent-grid button,
.search-box,
.outcome-review {
  border-color: var(--line);
  background: rgba(255,255,255,.58);
}
:root[data-theme="dark"] .selected-airport,
:root[data-theme="dark"] .custom-duration input,
:root[data-theme="dark"] .outcome-input input,
:root[data-theme="dark"] .selected-destination,
:root[data-theme="dark"] .destination-list button,
:root[data-theme="dark"] .duration-grid button,
:root[data-theme="dark"] .intent-grid button,
:root[data-theme="dark"] .search-box,
:root[data-theme="dark"] .outcome-review { background: rgba(255,255,255,.05); }

.selected-airport { border-radius: 20px; }
.airport-badge {
  border-radius: 16px;
  background: linear-gradient(135deg, #8bd7ff, #c7b7ff);
  color: #253044;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.42);
}
.button {
  min-height: 40px;
  border-radius: 999px;
  background: rgba(255,255,255,.70);
  font-size: 12px;
  font-weight: 850;
  box-shadow: none;
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}
:root[data-theme="dark"] .button { background: rgba(255,255,255,.06); }
.button:hover { transform: translateY(-2px); border-color: var(--line); box-shadow: 0 10px 24px rgba(94,120,160,.14); }
.button--primary,
.button--takeoff,
.tear-button {
  color: #253044;
  background: linear-gradient(135deg, rgba(139,215,255,.95), rgba(255,143,199,.88), rgba(199,183,255,.88));
  border: 1px solid rgba(255,255,255,.55);
  box-shadow: 0 12px 26px rgba(94,120,160,.16);
}
.button--ghost { background: rgba(255,255,255,.38); }

.duration-grid button,
.intent-grid button { border-radius: 18px; }
.duration-grid button.selected,
.intent-grid button.selected,
.destination-list button.selected {
  border-color: rgba(120,144,180,.34);
  background: rgba(255,255,255,.92);
  box-shadow: 0 10px 24px rgba(94,120,160,.14), inset 0 -3px 0 rgba(139,215,255,.22);
}
:root[data-theme="dark"] .duration-grid button.selected,
:root[data-theme="dark"] .intent-grid button.selected,
:root[data-theme="dark"] .destination-list button.selected { background: rgba(255,255,255,.12); }

.ready-bar {
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}
.ready-route { color: var(--text); }

.feature-section,
.guide-section,
.faq-section { padding: 46px 0 64px; }
.section-kicker { margin-bottom: 24px; }
.feature-grid,
.guide-grid { gap: 14px; }
.feature-grid article,
.guide-grid article { border-radius: 26px; }
.feature-grid article > svg { color: #7ac9ef; }
.guide-grid article > b {
  color: #253044;
  background: linear-gradient(135deg, rgba(139,215,255,.58), rgba(255,143,199,.46));
  border-radius: 999px;
  font-family: inherit;
  font-weight: 850;
}
.faq-grid {
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 0 22px;
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}
.faq-grid details:last-child { border-bottom: 0; }

.privacy-section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 28px;
  padding: 0;
  border-radius: 28px;
  color: var(--text);
  background: transparent;
}
.privacy-inner {
  width: 100%;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}
.privacy-inner h2 { color: var(--text); }
.privacy-points p { color: var(--muted); border-bottom-color: var(--line); }
.privacy-points b { color: var(--text); }
.site-footer { min-height: 90px; }

.modal-backdrop { background: rgba(47,55,72,.28); backdrop-filter: blur(15px); }
.modal { border-radius: 28px; background: rgba(255,255,255,.88); }
:root[data-theme="dark"] .modal { background: rgba(35,42,57,.94); }
.search-box { border-radius: 18px; }
.airport-row { border-radius: 16px; border-bottom: 0; margin-bottom: 4px; }
.airport-row:hover { background: rgba(238,248,255,.84); }
:root[data-theme="dark"] .airport-row:hover { background: rgba(255,255,255,.06); }
.airport-row--selected { background: linear-gradient(135deg, rgba(139,215,255,.18), rgba(255,143,199,.12)); color: var(--text); }
.toast { border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.90); color: var(--text); box-shadow: var(--shadow); backdrop-filter: blur(18px); font-weight: 800; }

.boarding-wrap { padding-top: 42px; }
.boarding-intro {
  max-width: 760px;
  padding: 26px;
  border-radius: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}
.boarding-intro h1 { font-size: clamp(2.35rem, 4.8vw, 4.1rem); }
.boarding-pass {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(255,255,255,.94), rgba(255,247,236,.92), rgba(238,248,255,.92));
  color: #253044;
  box-shadow: 0 22px 55px rgba(94,120,160,.18);
}
.pass-main::before { opacity: .10; }
.pass-top, .pass-route small, .pass-data small, .pass-intent small, .pass-route span { color: #6b7280; }
.pass-route-line { color: #84ccef; }
.pass-route-line span, .pass-data { border-color: rgba(120,144,180,.30); }
.pass-stub { border-left-color: rgba(120,144,180,.30); background: rgba(199,183,255,.08); }
.barcode { opacity: .58; }
.tear-button { border-radius: 999px; }

/* Keep the in-flight view immersive, but carry the portal palette into it. */
.flight-screen {
  background:
    radial-gradient(circle at 14% 10%, rgba(139,215,255,.14), transparent 32%),
    radial-gradient(circle at 88% 18%, rgba(255,143,199,.10), transparent 30%),
    linear-gradient(145deg, #20293a, #1b2434 55%, #29243a);
  color: #f4f6fb;
}
.flight-toolbar,
.flight-footer { background: rgba(24,31,45,.66); border-color: rgba(214,225,244,.10); backdrop-filter: blur(18px); }
.flight-controls button { border-radius: 999px; }
.flight-controls button:hover,
.flight-controls button.active { background: rgba(255,255,255,.09); }
.flight-map-panel .route-map {
  border-radius: 28px;
  background:
    radial-gradient(circle at 85% 12%, rgba(255,143,199,.12), transparent 32%),
    linear-gradient(150deg, rgba(30,43,60,.92), rgba(34,40,60,.91));
  color: #8bd7ff;
  border-color: rgba(214,225,244,.12);
  box-shadow: 0 20px 46px rgba(0,0,0,.16);
}
.timer-panel {
  border-radius: 28px;
  background: rgba(255,255,255,.055);
  border-color: rgba(214,225,244,.12);
  box-shadow: 0 20px 46px rgba(0,0,0,.16);
}
.progress-rail span { background: linear-gradient(90deg, #8bd7ff, #ff8fc7, #c7b7ff); box-shadow: 0 0 16px rgba(139,215,255,.38); }
.flight-intent { border-radius: 20px; background: rgba(199,183,255,.08); border-color: rgba(199,183,255,.17); }

.landing-page { padding-inline: 16px; }
.landing-orbit {
  color: #253044;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(139,215,255,.72), rgba(255,143,199,.58), rgba(199,183,255,.62));
}
.landing-ticket { border-radius: 28px; }
.outcome-review { border-radius: 18px; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-copy { text-align: left; }
  .hero-copy > p { margin-inline: 0; }
  .hero-trust { justify-content: flex-start; }
  .hero-visual { min-height: 390px; }
}

@media (max-width: 680px) {
  .shell { width: min(100% - 20px, 1180px); }
  .top-nav, .minimal-nav { margin-top: 10px; min-height: 62px; padding-inline: 12px; border-radius: 20px; }
  .brand-mark { width: 34px; height: 34px; border-radius: 12px; }
  .hero { padding-top: 14px; }
  .hero-copy, .hero-visual { border-radius: 24px; }
  .hero-copy { padding: 26px 22px; }
  .hero-copy h1 { font-size: 2.7rem; }
  .hero-visual { min-height: 315px; padding: 10px; }
  .hero-card { right: 20px; bottom: 20px; }
  .planner-head, .planner-card, .ready-bar, .feature-grid article, .guide-grid article, .faq-grid, .privacy-inner { border-radius: 22px; }
  .privacy-section { width: min(100% - 20px, 1180px); }
}
.brand-en { color: var(--muted); font-size: .62em; font-weight: 800; letter-spacing: .08em; }

/* standalone portal integration */
.portal-back {
  display:inline-flex; align-items:center; gap:7px; min-height:38px; padding:0 13px;
  border:1px solid var(--line); border-radius:999px; background:rgba(255,255,255,.66);
  color:var(--muted); font-size:12px; font-weight:800; box-shadow:0 8px 22px rgba(94,120,160,.10);
}
:root[data-theme="dark"] .portal-back { background:rgba(35,42,57,.66); }
.brand-en { font-size:.63em; color:var(--muted); letter-spacing:.08em; }
.icon-glyph { font-size:18px; line-height:1; }
.feature-icon { font-size:28px; color:var(--accent); margin-top:9px; }
.flight-controls button { cursor:pointer; }
.volume-wrap { display:flex; align-items:center; gap:8px; }
.volume-wrap input { width:90px; accent-color:#8bd7ff; }
.hero-trust .dot { width:7px; height:7px; border-radius:50%; background:var(--accent); display:inline-block; }
.modal[hidden], .toast[hidden] { display:none !important; }
.route-map .plane-marker text { fill:currentColor; font-size:28px; font-weight:900; dominant-baseline:middle; text-anchor:middle; }
.landing-route .plane-text, .pass-route-line .plane-text, .ready-route .plane-text { font-size:20px; }
.flight-toolbar .flight-controls button { min-width:58px; }
.flight-toolbar .flight-controls button span { font-size:9px; }
@media(max-width:700px){
  .portal-back span:last-child{display:none}
  .volume-wrap input{display:none}
  .flight-toolbar .flight-controls button span{display:none}
  .flight-toolbar .flight-controls button{min-width:36px}
}


/* Destination selection: duration recommendation or direct country selection */
.destination-mode-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: -4px 0 14px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255,255,255,.35);
}
.destination-mode-tabs button {
  min-height: 38px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--muted);
  font-weight: 800;
  cursor: pointer;
}
.destination-mode-tabs button.selected {
  color: var(--text);
  background: rgba(255,255,255,.92);
  box-shadow: 0 8px 18px rgba(94,120,160,.12);
}
:root[data-theme="dark"] .destination-mode-tabs { background: rgba(255,255,255,.035); }
:root[data-theme="dark"] .destination-mode-tabs button.selected { background: rgba(255,255,255,.10); }
.destination-helper {
  margin: 12px 0 10px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}
.country-picker { margin: 12px 0 10px; }
.country-picker label { display: grid; grid-template-columns: 42px 1fr; gap: 10px; align-items: center; }
.country-picker label > span { color: var(--muted); font-size: 11px; font-weight: 800; }
.country-picker select {
  width: 100%;
  min-height: 42px;
  padding: 0 38px 0 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,.70);
  color: var(--text);
  font-weight: 800;
  outline: none;
}
:root[data-theme="dark"] .country-picker select { background: rgba(255,255,255,.07); }
.destination-list .empty-state {
  grid-column: 1 / -1;
  padding: 16px;
  border: 1px dashed var(--line);
  border-radius: 16px;
  color: var(--muted);
  font-size: 11px;
  text-align: center;
}

/* Asiana-inspired focus boarding pass — original, non-logo layout */
.asiana-pass {
  grid-template-columns: 92px minmax(0,1fr) 230px;
  background: #fffdf8;
  border: 1px solid rgba(84,54,56,.18);
  color: #292427;
  overflow: hidden;
}
.asiana-side {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px 14px;
  background: linear-gradient(180deg, #5a1321 0 38%, #8d1e2d 38% 71%, #d15a39 71% 100%);
  color: #fff;
}
.asiana-side::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, transparent 0 42%, rgba(255,255,255,.16) 42% 47%, transparent 47% 100%);
  pointer-events: none;
}
.asiana-wordmark,
.focus-mark {
  position: relative;
  z-index: 1;
  font-size: 11px;
  line-height: 1.15;
  letter-spacing: .08em;
  font-weight: 900;
}
.focus-mark { font-size: 9px; opacity: .86; }
.asiana-pass .pass-main { padding: 28px 30px 26px; }
.asiana-pass .pass-main::before {
  opacity: .06;
  background-image: radial-gradient(#6a5452 .55px, transparent .55px);
}
.asiana-pass .pass-top { align-items: flex-start; color: #6b5a5b; }
.asiana-pass .pass-top > div { display: grid; gap: 3px; }
.asiana-pass .pass-top b { color: #5a1321; font-size: 14px; letter-spacing: .01em; }
.asiana-pass .pass-top small,
.asiana-pass .pass-top > span { color: #8a7777; font-size: 9px; letter-spacing: .08em; }
.pass-passenger { position: relative; z-index: 1; margin-top: 22px; }
.pass-passenger small { display: block; color: #917e7e; font-size: 8px; letter-spacing: .08em; font-weight: 800; }
.pass-passenger b { display: block; margin-top: 4px; color: #292427; font-size: 16px; letter-spacing: .025em; }
.asiana-pass .pass-route { margin: 28px 0 24px; }
.asiana-pass .pass-route small,
.asiana-pass .pass-data small,
.asiana-pass .pass-intent small { color: #917e7e; }
.asiana-pass .pass-route strong { color: #3a3032; font-size: 54px; }
.asiana-pass .pass-route-line { color: #8d1e2d; }
.asiana-pass .pass-route-line span { background: rgba(90,19,33,.25); }
.asiana-pass .pass-data { border-top: 1px dashed rgba(90,19,33,.24); padding-top: 18px; }
.asiana-pass .pass-data b { color: #332b2d; font-size: 12px; }
.asiana-pass .pass-data .seat-value { color: #8d1e2d; font-size: 20px; line-height: .85; }
.pass-class-row { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.pass-class-row span {
  padding: 6px 9px;
  border-radius: 999px;
  background: #f4e7e4;
  color: #6f1725;
  font-size: 8px;
  letter-spacing: .055em;
  font-weight: 900;
}
.asiana-pass .pass-intent { border-left-color: #8d1e2d; }
.asiana-pass .pass-stub {
  align-items: stretch;
  justify-content: flex-start;
  gap: 15px;
  padding: 26px 20px;
  border-left: 1px dashed rgba(90,19,33,.32);
  background: #faf5ee;
}
.stub-airline { color: #5a1321; font-size: 10px; font-weight: 900; letter-spacing: .06em; }
.stub-route { display: flex; align-items: center; justify-content: space-between; color: #3a3032; }
.stub-route b { font-size: 25px; }
.stub-route span { color: #8d1e2d; }
.stub-passenger small,
.stub-info small { display: block; color: #917e7e; font-size: 7px; letter-spacing: .07em; }
.stub-passenger b { display: block; margin-top: 3px; font-size: 10px; }
.stub-info { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.stub-info span:first-child { grid-column: 1 / -1; }
.stub-info b { display: block; margin-top: 3px; font-size: 12px; }
.asiana-pass .barcode { margin-top: auto; }

@media (max-width: 900px) {
  .asiana-pass { grid-template-columns: 68px minmax(0,1fr); }
  .asiana-pass .pass-stub { display: none; }
}
@media (max-width: 600px) {
  .destination-mode-tabs { grid-template-columns: 1fr; }
  .asiana-pass { grid-template-columns: 46px minmax(0,1fr); }
  .asiana-side { padding: 16px 8px; }
  .asiana-wordmark { writing-mode: vertical-rl; transform: rotate(180deg); font-size: 9px; }
  .focus-mark { display: none; }
  .asiana-pass .pass-main { padding: 20px 16px; }
  .asiana-pass .pass-route strong { font-size: 34px; }
  .asiana-pass .pass-data { grid-template-columns: repeat(2,1fr); }
}

/* One typography system everywhere. */
:root { --mono: var(--font-main); }
html, body, body *, button, input, select, textarea, option, summary {
  font-family: var(--font-main) !important;
}

/* v3: simplified planner and larger flight-log counters */
.mini-stats span {
  min-width: 126px;
  padding: 14px 16px;
  grid-template-columns: auto 1fr;
  column-gap: 10px;
  row-gap: 2px;
  font-size: 13px;
}
.mini-stats span b {
  font-family: var(--font-main) !important;
  font-size: 26px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -.02em;
}
.mini-stats span small {
  grid-column: 2;
  font-size: 11px;
  line-height: 1.1;
  font-weight: 800;
}
.planner-head { min-height: 82px; }
.intent-grid button b { font-size: 12px; line-height: 1.25; }
.country-picker label { grid-template-columns: 42px 1fr; }
.country-picker input {
  width: 100%;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,.70);
  color: var(--text);
  font: 800 13px var(--font-main);
  outline: none;
}
:root[data-theme="dark"] .country-picker input { background: rgba(255,255,255,.07); }
@media (max-width: 680px) {
  .mini-stats { width: 100%; display: grid; grid-template-columns: repeat(3,1fr); }
  .mini-stats span { min-width: 0; padding: 12px 10px; }
  .mini-stats span b { font-size: 22px; }
  .mini-stats span small { font-size: 9px; }
}

/* v4: real map + route-synchronised airplane window */
.route-map {
  min-height: 430px;
  background: #dfeaf2;
  isolation: isolate;
}
.route-map--compact { min-height: 360px; }
.route-map .map-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0;
  transition: opacity .25s ease;
}
.route-map.map-ready .map-canvas { opacity: 1; }
.route-map .map-fallback {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(rgba(77,111,144,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(77,111,144,.08) 1px, transparent 1px),
    radial-gradient(circle at 50% 45%, rgba(139,215,255,.26), transparent 42%),
    linear-gradient(145deg,#e9f4fb,#dbe7ef);
  background-size: 72px 72px,72px 72px,auto,auto;
}
.route-map .map-fallback span {
  position: absolute;
  left: 15%; right: 15%; top: 50%;
  height: 1px;
  background: rgba(85,108,132,.22);
}
.route-map .route-city {
  z-index: 520;
  top: auto;
  bottom: 18px;
  padding: 8px 10px;
  border: 1px solid rgba(255,255,255,.66);
  border-radius: 13px;
  background: rgba(255,255,255,.86);
  box-shadow: 0 8px 24px rgba(50,70,90,.15);
  backdrop-filter: blur(8px);
  pointer-events: none;
}
.route-map .route-city--from { left: 18px; }
.route-map .route-city--to { right: 18px; text-align: right; }
.route-map .route-city b { color: #26374a; font-size: 17px; }
.route-map .route-city span { color: #66788c; font-size: 9px; }
.route-map .leaflet-container { background: #dbe8ef; font-family: var(--font-main) !important; }
.route-map .leaflet-control-attribution {
  font-size: 8px !important;
  color: #65758a;
  background: rgba(255,255,255,.72) !important;
}
.route-map .leaflet-control-attribution a { color: #526a82; }
.route-map .leaflet-control-zoom a { color:#32465b; background:rgba(255,255,255,.88); }
.leaflet-plane-wrap { background: transparent !important; border: 0 !important; }
.leaflet-plane {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #76202f;
  font-size: 25px;
  line-height: 1;
  transform: rotate(calc(var(--heading) - 45deg));
  filter: drop-shadow(0 2px 2px rgba(255,255,255,.92)) drop-shadow(0 4px 7px rgba(24,38,52,.34));
  transform-origin: 50% 50%;
}
.hero-visual .route-map { box-shadow: none; }

.flight-visual-panel {
  position: relative;
  min-width: 0;
  min-height: 610px;
  border: 1px solid rgba(214,225,244,.12);
  border-radius: 28px;
  overflow: hidden;
  background: rgba(255,255,255,.04);
  box-shadow: 0 20px 46px rgba(0,0,0,.16);
}
.flight-visual-stage { height: 100%; min-height: 610px; }
.flight-visual-stage > .route-map,
.flight-visual-stage > .window-view { min-height: 610px; height: 100%; border: 0; border-radius: 0; box-shadow: none; }
.visual-tabs {
  position: absolute;
  z-index: 700;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 3px;
  padding: 4px;
  border: 1px solid rgba(255,255,255,.32);
  border-radius: 999px;
  background: rgba(24,31,45,.72);
  backdrop-filter: blur(14px);
  box-shadow: 0 7px 18px rgba(0,0,0,.18);
}
.visual-tabs button {
  min-width: 74px;
  height: 30px;
  padding: 0 13px;
  border: 0;
  border-radius: 999px;
  color: #9db0c4;
  background: transparent;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .08em;
  cursor: pointer;
}
.visual-tabs button.active { color:#29364a; background:#f7fbff; }
.flight-visual-stage .route-city { bottom: 14px; }

/* Airplane window: location/phase/light follow the current great-circle route. */
.window-view {
  --sky-top:#78b9e8;
  --sky-bottom:#d5eefb;
  --horizon:#cde5ef;
  --ground:#7f9f83;
  --ground2:#496d58;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 610px;
  padding: 54px 22px 18px;
  color: #eef6ff;
  background: linear-gradient(145deg,#1f2938,#2b3344);
}
.window-view.dawn { --sky-top:#728bb7; --sky-bottom:#f6b6a5; --horizon:#ffd5b8; --ground:#6c786f; --ground2:#42524c; }
.window-view.dusk { --sky-top:#535982; --sky-bottom:#e99991; --horizon:#ffc0a0; --ground:#525b57; --ground2:#313d3a; }
.window-view.night { --sky-top:#08152a; --sky-bottom:#1d3151; --horizon:#314a68; --ground:#1c2a27; --ground2:#0e1717; }
.window-view.ocean { --ground:#2d7899; --ground2:#174862; }
.window-view.night.ocean { --ground:#0d334b; --ground2:#081d2c; }
.window-meta,
.window-status {
  position: relative;
  z-index: 12;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: #a5b5c7;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .07em;
}
.window-meta { position:absolute; top:19px; left:22px; right:22px; }
.window-status { padding-top: 13px; }
.window-status b { color:#f5f8fb; font-size:10px; }
.aircraft-window {
  min-height: 480px;
  display: grid;
  place-items: center;
  padding: 14px 0 8px;
}
.window-frame {
  width: min(92%, 770px);
  height: min(470px, 68vh);
  min-height: 410px;
  padding: 22px;
  border-radius: 46% 46% 42% 42% / 21% 21% 21% 21%;
  background: linear-gradient(145deg,#d9dadd,#9da2aa 48%,#e8e9eb 73%,#7d838c);
  box-shadow: inset 0 0 0 6px rgba(255,255,255,.35), inset 0 0 24px rgba(22,28,36,.58), 0 18px 42px rgba(0,0,0,.34);
}
.window-glass {
  position: relative;
  width: 100%; height: 100%;
  overflow: hidden;
  border-radius: 45% 45% 40% 40% / 20% 20% 20% 20%;
  background: linear-gradient(var(--sky-top),var(--sky-bottom) 57%,var(--horizon) 58%,var(--ground) 59%,var(--ground2) 100%);
  box-shadow: inset 0 0 0 4px rgba(22,34,47,.40), inset 0 0 28px rgba(0,0,0,.30);
}
.sky-glow {
  position:absolute; inset:0;
  background: radial-gradient(circle at 70% 22%,rgba(255,255,255,.42),transparent 22%), linear-gradient(180deg,rgba(255,255,255,.10),transparent 45%);
  opacity:.7;
}
.window-view.night .sky-glow { opacity:.14; }
.sun-disc {
  position:absolute; right:15%; top:18%; width:44px; height:44px; border-radius:50%;
  background:#fff6d8; box-shadow:0 0 38px rgba(255,227,162,.78);
  opacity:.78;
}
.window-view.night .sun-disc { width:30px; height:30px; background:#e7efff; box-shadow:0 0 22px rgba(216,227,255,.5); opacity:.68; }
.stars-layer { position:absolute; inset:0 0 45%; opacity:0; background-image:radial-gradient(#fff 1px,transparent 1.4px),radial-gradient(#d4e8ff 1px,transparent 1.4px); background-size:53px 47px,79px 67px; background-position:7px 11px,31px 4px; }
.window-view.night .stars-layer { opacity:.62; }
.horizon-layer { position:absolute; left:-5%; right:-5%; top:56%; height:7%; background:linear-gradient(180deg,rgba(255,255,255,.36),rgba(255,255,255,.02)); filter:blur(3px); }
.ground-layer { position:absolute; left:-8%; right:-8%; top:59%; bottom:-5%; background:
  radial-gradient(ellipse at 22% 22%,rgba(255,255,255,.10),transparent 20%),
  linear-gradient(155deg,transparent 0 30%,rgba(20,42,35,.15) 30% 32%,transparent 32% 50%,rgba(20,42,35,.14) 50% 52%,transparent 52%),
  linear-gradient(180deg,var(--ground),var(--ground2));
}
.window-view.ocean .ground-layer { background:linear-gradient(165deg,rgba(255,255,255,.14),transparent 18%),repeating-linear-gradient(175deg,rgba(255,255,255,.08) 0 1px,transparent 1px 11px),linear-gradient(180deg,var(--ground),var(--ground2)); }
.window-view.clouds .ground-layer { background:linear-gradient(180deg,#b9d3df,#6d8fa3); }
.city-lights { position:absolute; left:0; right:0; top:64%; bottom:0; opacity:0; background-image:radial-gradient(#f8d778 1.2px,transparent 1.5px),radial-gradient(#f0a770 1px,transparent 1.5px); background-size:26px 31px,43px 39px; }
.window-view.night.land .city-lights { opacity:.58; }
.cloud-layer { position:absolute; pointer-events:none; filter:blur(.5px); }
.cloud-layer::before,.cloud-layer::after { content:""; position:absolute; border-radius:50%; background:rgba(255,255,255,.72); box-shadow:45px 8px 0 9px rgba(255,255,255,.63),88px -3px 0 17px rgba(255,255,255,.71),132px 10px 0 4px rgba(255,255,255,.56); }
.cloud-layer--far { left:7%; top:44%; width:200px; height:42px; opacity:.55; transform:scale(.8); }
.cloud-layer--far::before { width:70px; height:28px; }
.cloud-layer--near { right:-5%; top:48%; width:250px; height:60px; opacity:.77; transform:scale(1.1); }
.cloud-layer--near::before { width:88px; height:36px; }
.window-view.takeoff .cloud-layer--near,.window-view.landing .cloud-layer--near { opacity:.18; top:38%; }
.window-view.cruise .cloud-layer--far { top:50%; }
.window-view.climb .cloud-layer--near,.window-view.descent .cloud-layer--near { opacity:.92; }
.wing {
  position:absolute;
  z-index:9;
  right:-4%; bottom:8%;
  width:57%; height:25%;
  transform:skewX(-18deg) rotate(-7deg);
  transform-origin:right bottom;
}
.wing::before {
  content:""; position:absolute; right:0; bottom:0; width:100%; height:58%;
  clip-path:polygon(0 55%,100% 0,100% 68%,18% 88%);
  background:linear-gradient(180deg,#f8f9fb,#aab0b7 55%,#777e87);
  box-shadow:0 7px 16px rgba(0,0,0,.28);
}
.wing::after {
  content:""; position:absolute; right:0; top:3%; width:18%; height:73%;
  clip-path:polygon(40% 0,100% 0,100% 100%,0 94%);
  background:linear-gradient(160deg,#8f2432,#5b0f1e);
}
.window-view.takeoff .ground-layer,.window-view.landing .ground-layer { top:48%; }
.window-view.takeoff .horizon-layer,.window-view.landing .horizon-layer { top:46%; }
.window-view.takeoff .wing,.window-view.landing .wing { bottom:4%; transform:skewX(-18deg) rotate(-3deg) scale(1.04); }
.window-view.climb .ground-layer { top:63%; }
.window-view.descent .ground-layer { top:54%; }

@media (max-width: 980px) {
  .flight-visual-panel,.flight-visual-stage,.flight-visual-stage > .route-map,.flight-visual-stage > .window-view { min-height: 480px; }
  .aircraft-window { min-height:390px; }
  .window-frame { height:380px; min-height:360px; }
}
@media (max-width: 680px) {
  .route-map--compact { min-height:300px; }
  .route-map .route-city { bottom:10px; padding:6px 8px; }
  .route-map .route-city--from { left:10px; }.route-map .route-city--to { right:10px; }
  .flight-visual-panel,.flight-visual-stage,.flight-visual-stage > .route-map,.flight-visual-stage > .window-view { min-height:360px; }
  .visual-tabs { top:9px; }.visual-tabs button { min-width:62px; height:27px; }
  .window-view { min-height:360px; padding:44px 10px 12px; }
  .window-meta { top:14px; left:13px; right:13px; font-size:7px; }
  .window-status { font-size:7px; gap:5px; }.window-status b { font-size:8px; }
  .aircraft-window { min-height:270px; }
  .window-frame { width:96%; height:270px; min-height:270px; padding:14px; border-radius:45% 45% 40% 40% / 22% 22% 22% 22%; }
  .sun-disc { width:31px; height:31px; }
}


/* v5: authentic window footage. MAP remains the route-accurate view; WINDOW is ambient real footage. */
.flight-visual-stage { transition: opacity .18s ease; }
.flight-visual-stage.window-switching { opacity:.18; }
.real-window { background:linear-gradient(180deg,#1b2638 0%,#202a3a 100%); }
.real-aircraft-window { display:flex; align-items:center; justify-content:center; }
.real-window .window-frame { position:relative; overflow:hidden; background:linear-gradient(145deg,#e8ebee,#aeb5bf 42%,#eef1f4 72%,#919aa6); }
.real-window-glass { position:relative; overflow:hidden; background:#111827; }
.window-video { position:absolute; inset:-2%; width:104%; height:104%; object-fit:cover; object-position:center; filter:saturate(.92) contrast(1.02) brightness(.98); transform:scale(1.025); }
.window-video--dawn { filter:saturate(.92) contrast(1.02) brightness(.92) sepia(.08) hue-rotate(-8deg); }
.window-video--dusk { filter:saturate(.9) contrast(1.05) brightness(.78) sepia(.14) hue-rotate(-10deg); }
.window-video--night { filter:saturate(.68) contrast(1.12) brightness(.30) hue-rotate(8deg); }
.window-video-vignette { position:absolute; inset:0; pointer-events:none; background:radial-gradient(ellipse at 50% 45%,transparent 48%,rgba(5,11,20,.18) 77%,rgba(3,8,15,.52) 100%),linear-gradient(180deg,rgba(255,255,255,.05),transparent 22%); }
.real-window .window-status b { font-size:12px; letter-spacing:.12em; }
.real-window .window-status span { opacity:.72; }
@media(max-width:700px){.real-window .window-status b{font-size:10px}}


/* v6: full-bleed high-quality real window footage */
.real-window { padding: 46px 18px 14px; }
.real-aircraft-window { min-height: 500px; padding: 0; }
.real-window .window-frame {
  width: min(98%, 980px);
  height: min(560px, 72vh);
  min-height: 460px;
  padding: 7px;
  border-radius: 30px;
  background: linear-gradient(145deg,rgba(242,245,248,.95),rgba(170,180,193,.9));
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.36), 0 18px 42px rgba(0,0,0,.32);
}
.real-window .window-glass { border-radius: 24px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.window-video { inset:0; width:100%; height:100%; transform:none; object-fit:cover; }
.window-video-vignette { background:linear-gradient(180deg,rgba(7,13,24,.03),transparent 72%,rgba(7,13,24,.18)); }
@media(max-width:980px){
  .real-aircraft-window{min-height:390px}
  .real-window .window-frame{width:100%;height:390px;min-height:360px;border-radius:24px;padding:5px}
  .real-window .window-glass{border-radius:19px}
}
@media(max-width:680px){
  .real-window{padding:42px 8px 10px}
  .real-aircraft-window{min-height:280px}
  .real-window .window-frame{height:285px;min-height:270px;border-radius:19px;padding:4px}
  .real-window .window-glass{border-radius:15px}
}
