/* 개운항공 GAEUN AIR — 공항·탑승권 컨셉. 공용 style.css 위에 덮어쓴다. */
:root { --ga-red: #E2553A; --ga-navy: #12152B; --ga-cream: #F7F4EE; --mono: "IBM Plex Mono", ui-monospace, Consolas, monospace; }
body { background: var(--ga-cream); }
.ga-wrap { max-width: 560px; margin: 0 auto; padding: 0 14px 40px; min-height: 100vh; }
.ga-main { animation: viewIn .35s ease both; }

/* 머리 */
.ga-top { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 -14px; padding: 10px 14px;
  background: rgba(247, 244, 238, .9); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(0, 0, 0, .05); }
.ga-logo { display: flex; align-items: center; gap: 10px; border: 0; background: none; padding: 0; cursor: pointer; text-align: left; }
.ga-mark { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: var(--ga-navy); color: #fff; font-family: var(--mono); font-weight: 700; font-size: 15px; letter-spacing: .02em; flex: none; }
.ga-mark.sm { width: 30px; height: 30px; font-size: 12px; border-radius: 8px; }
.ga-logo-t { display: flex; flex-direction: column; line-height: 1.25; }
.ga-logo-t b { font-size: 16px; }
.ga-logo-t em { display: none; }
.ga-logo-t small { font-size: 11.5px; color: var(--muted); }
.ga-mytix { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 6px 8px 6px 14px; border-radius: 99px; border: 1px solid var(--line); background: #fff; font-weight: 700; font-size: 14px; cursor: pointer; }
.ga-mytix i { font-style: normal; display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 99px; background: var(--ga-red); color: #fff; font-size: 12.5px; }

/* 히어로 */
.ga-hero { position: relative; overflow: hidden; margin-top: 16px; padding: 26px 22px 22px; border-radius: 26px; color: #F6F0E4;
  background: radial-gradient(90% 80% at 100% 0%, #4A2340 0%, transparent 60%), radial-gradient(80% 60% at 0% 100%, #1F3A6B 0%, transparent 60%), var(--ga-navy);
  box-shadow: 0 20px 40px rgba(18, 21, 43, .25); }
.ga-hero-art { position: absolute; right: -20px; top: -10px; width: 260px; opacity: .55; pointer-events: none; }
.ga-chip { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 99px; border: 1px solid rgba(242, 223, 179, .35); background: rgba(255, 255, 255, .06); color: var(--gold2); font-size: 12.5px; font-weight: 700; }
.ga-chip i { width: 8px; height: 8px; border-radius: 50%; background: #3BD48A; box-shadow: 0 0 0 4px rgba(59, 212, 138, .2); animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .35; } }
.ga-hero h1 { position: relative; margin-top: 16px; font-size: 31px; font-weight: 800; line-height: 1.28; letter-spacing: -.02em; }
.ga-lead { position: relative; margin-top: 12px; font-size: 14.5px; line-height: 1.7; color: rgba(246, 240, 228, .8); }
.ga-lead b { color: #fff; }
.ga-hero-foot { position: relative; display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 18px; padding-top: 14px; border-top: 1px dashed rgba(242, 223, 179, .25); font-size: 12.5px; color: rgba(246, 240, 228, .8); }
.ga-hero-foot span { display: inline-flex; align-items: center; gap: 4px; }
.ga-hero-foot .ic { width: 15px; height: 15px; color: #3BD48A; }

/* 사무장 말풍선 */
.ga-crew { display: flex; gap: 12px; align-items: flex-start; margin-top: 14px; padding: 14px 16px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: 0 6px 16px rgba(18, 21, 43, .05); }
.ga-crew-av { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--ga-navy); font-size: 22px; flex: none; }
.ga-crew p { font-size: 14px; line-height: 1.65; color: #2A2D3A; }
.ga-crew b { color: var(--ga-red); }

/* 체크인 데스크 */
.ga-desk { margin-top: 14px; padding: 18px 16px 20px; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: 0 12px 30px rgba(18, 21, 43, .07); }
.ga-desk-h { display: flex; align-items: center; gap: 8px; padding-bottom: 12px; margin-bottom: 6px; border-bottom: 2px dashed var(--line); font-size: 14px; }
.ga-red { color: var(--ga-red); font-family: var(--mono); font-weight: 700; font-size: 12.5px; letter-spacing: .06em; }
.ga-gate { margin-left: auto; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.ga-f { margin-top: 16px; }
.ga-l { display: block; font-size: 13.5px; font-weight: 700; margin-bottom: 8px; }
.ga-l small { font-weight: 500; color: var(--muted); }
.ga-lrow { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.ga-lrow .ga-l { margin: 0; }
.ga-in { width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--ga-cream); font: inherit; font-size: 16px; color: var(--ink); }
.ga-in:focus { outline: none; border-color: var(--ga-navy); background: #fff; }
.ga-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 4px; border-radius: 16px; background: var(--ga-cream); border: 1px solid var(--line); }
.ga-seg.four { grid-template-columns: repeat(4, 1fr); }
.ga-sb { display: flex; flex-direction: column; align-items: center; gap: 2px; min-height: 46px; padding: 8px 6px; border: 0; border-radius: 12px; background: transparent; cursor: pointer; color: var(--muted); }
.ga-sb b { font-size: 14px; color: var(--ink); }
.ga-sb small { font-size: 11.5px; }
.ga-sb.on { background: var(--ga-navy); }
.ga-sb.on b { color: #fff; }
.ga-sb.on small { color: rgba(246, 240, 228, .7); }
.ga-paxbox { margin-top: 14px; padding: 2px 0; }
.ga-paxbox + .ga-paxbox { margin-top: 18px; padding-top: 14px; border-top: 1px dashed var(--line); }
.ga-pax { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 14px; }
.ga-pax span { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--ga-red); color: #fff; font-size: 12.5px; }
.ga-wish { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 2px; border-radius: 18px; border: 1.5px solid transparent; }
.ga-wish.invalid { border-color: #D64545; background: #FFF6F6; }
.ga-w { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-height: 96px; padding: 14px; border-radius: 16px; border: 1.5px solid var(--line); background: #fff; cursor: pointer; text-align: left; transition: transform .1s, background .15s; }
.ga-w:active { transform: scale(.98); }
.ga-w-ic { font-size: 22px; margin-bottom: 6px; }
.ga-w b { font-size: 15px; }
.ga-w small { font-size: 12px; color: var(--muted); }
.ga-w.on { background: var(--ga-navy); border-color: var(--ga-navy); color: #fff; }
.ga-w.on small { color: rgba(246, 240, 228, .7); }
.ga-pick { position: absolute; top: 12px; right: 12px; padding: 2px 8px; border-radius: 6px; background: var(--ga-red); color: #fff; font-family: var(--mono); font-size: 11px; font-weight: 700; }
.ga-cta { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 60px; margin-top: 22px; border: 0; border-radius: 18px; cursor: pointer;
  background: linear-gradient(135deg, #EE6A4C, #D9432A); color: #fff; font: inherit; font-size: 17px; font-weight: 800; box-shadow: 0 12px 26px rgba(226, 85, 58, .35); position: relative; overflow: hidden; }
.ga-cta::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .3) 50%, transparent 70%); transform: translateX(-100%); animation: shine 2.8s ease-in-out infinite; }
.ga-cta:active { transform: scale(.99); }
.ga-feat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.ga-feat div { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 14px 6px; border-radius: 16px; background: #fff; border: 1px solid var(--line); text-align: center; }
.ga-feat span { font-size: 22px; }
.ga-feat b { font-size: 13px; margin-top: 4px; }
.ga-feat small { font-size: 11.5px; color: var(--muted); }

/* 목록 시트 */
.pk-list { display: grid; gap: 6px; }
.pk-li { display: grid; grid-template-columns: 40px 1fr; grid-template-rows: auto auto; column-gap: 10px; align-items: center; text-align: left; min-height: 56px; padding: 9px 12px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; cursor: pointer; }
.pk-li .pk-ani { grid-row: span 2; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--ga-cream); font-size: 20px; color: var(--c, var(--ink)); font-weight: 800; }
.pk-li .pk-ani .ic { width: 20px; height: 20px; }
.pk-li b { font-size: 14.5px; }
.pk-li small { font-size: 12px; color: var(--muted); }
.pk-li.on { border-color: var(--ga-navy); background: #F2F3FA; }
.tix { display: grid; gap: 8px; }
.tix-i { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 14px; border: 1px solid var(--line); background: #fff; cursor: pointer; text-align: left; }
.tix-i img, .tix-noimg { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; flex: none; display: grid; place-items: center; background: var(--ga-cream); }
.tix-i span { flex: 1; display: flex; flex-direction: column; }
.tix-i small { color: var(--muted); font-size: 12.5px; }
.tix-i em { font-style: normal; font-weight: 700; color: var(--ga-red); font-size: 13px; }

/* 수하물 X-ray */
.view-xray { padding: 0; max-width: none; }
.ga-xray { position: relative; min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 30px 18px; overflow: hidden;
  background: radial-gradient(80% 60% at 50% 30%, #17305A 0%, #070915 75%); color: #E8F1FF; text-align: center; }
.xr-screen { position: relative; width: min(340px, 88vw); height: 220px; border-radius: 18px; overflow: hidden; background: #0B1A33; box-shadow: inset 0 0 0 2px rgba(120, 190, 255, .35), 0 0 40px rgba(60, 140, 255, .2); }
.xr-frame { position: absolute; top: 8px; left: 12px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; color: rgba(140, 200, 255, .7); }
.xr-belt { position: absolute; left: 0; right: 0; bottom: 22px; height: 10px; background: repeating-linear-gradient(90deg, rgba(140, 200, 255, .25) 0 14px, transparent 14px 22px); animation: belt .6s linear infinite; }
@keyframes belt { to { background-position: 22px 0; } }
.xr-bag { position: absolute; left: 50%; bottom: 34px; width: 210px; height: 128px; margin-left: -105px; display: grid; grid-template-columns: repeat(4, 1fr); align-content: center; gap: 6px; padding: 14px;
  border-radius: 18px; border: 2px solid rgba(140, 200, 255, .5); background: rgba(60, 120, 220, .12); transform: translateX(-260px); }
.xr-bag::before { content: ""; position: absolute; top: -14px; left: 50%; width: 50px; height: 14px; margin-left: -25px; border: 2px solid rgba(140, 200, 255, .5); border-bottom: 0; border-radius: 10px 10px 0 0; }
.scan .xr-bag { transform: none; transition: transform 1s cubic-bezier(.3, .8, .3, 1); }
.xr-it { font-family: var(--serif); font-size: 24px; font-weight: 700; color: rgba(140, 200, 255, .25); transition: color .4s, text-shadow .4s; }
.scan .xr-it { color: var(--c); text-shadow: 0 0 12px var(--c); transition-delay: calc(1s + var(--k) * 110ms); }
.xr-beam { position: absolute; top: 0; bottom: 0; left: -40px; width: 30px; background: linear-gradient(90deg, transparent, rgba(110, 220, 255, .55), transparent); opacity: 0; }
.scan .xr-beam { opacity: 1; animation: beam 1.6s ease-in-out .9s 2; }
@keyframes beam { from { left: -40px; } to { left: 100%; } }
.xr-alarm { position: absolute; inset: 0; pointer-events: none; }
.alert .xr-alarm { animation: alarm .5s ease-in-out 3; box-shadow: inset 0 0 0 4px #FF5A4A; }
@keyframes alarm { 50% { box-shadow: inset 0 0 0 4px transparent; } }
.xr-meter { display: grid; gap: 6px; width: min(340px, 88vw); opacity: .25; transition: opacity .5s; }
.weigh .xr-meter { opacity: 1; }
.xr-m { display: grid; grid-template-columns: 26px 1fr 24px; align-items: center; gap: 8px; color: var(--c); }
.xr-m .ic { width: 18px; height: 18px; }
.xr-m i { height: 10px; border-radius: 99px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.xr-m em { display: block; height: 100%; background: var(--c); width: 0; transition: width .8s ease; }
.weigh .xr-m em { width: var(--w); }
.xr-m b { font-family: var(--mono); color: #E8F1FF; font-size: 13px; }
.alert .xr-m.lack { animation: alarm2 .5s ease-in-out 3; }
.alert .xr-m.lack b { color: #FF7A6A; }
@keyframes alarm2 { 50% { opacity: .3; } }
.xr-line { min-height: 1.6em; font-family: var(--mono); font-size: 14.5px; color: #9FD3FF; opacity: 0; }
.xr-line.in { animation: lineIn .5s ease both; }
.xr-crew { min-height: 3em; max-width: 26em; font-size: 14px; color: #FFD9A8; }
.print .xr-screen { animation: printOut .7s ease forwards; }
@keyframes printOut { to { transform: translateY(-12px) scale(.98); opacity: .6; } }

/* 보딩패스 */
.ga-pass-wrap .ga-crew { margin-top: 16px; }
.bp-stack { display: grid; gap: 12px; margin-top: 14px; }
.bp { position: relative; border-radius: 22px; background: #fff; box-shadow: 0 18px 40px rgba(18, 21, 43, .16); overflow: hidden; animation: passIn .8s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--i) * .15s); }
@keyframes passIn { from { opacity: 0; transform: translateY(-30px) scaleY(.9); } to { opacity: 1; transform: none; } }
.bp-head { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: var(--c); color: #fff; }
.bp-head .ga-mark { background: rgba(255, 255, 255, .2); }
.bp-ttl { margin-left: auto; font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: .1em; }
.bp-route { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; padding: 16px 18px 6px; }
.bp-ap { display: flex; flex-direction: column; }
.bp-ap.r { text-align: right; }
.bp-ap small, .bp-c small { font-family: var(--mono); font-size: 10.5px; color: #9AA0AE; letter-spacing: .08em; }
.bp-ap b { font-family: var(--mono); font-size: 36px; line-height: 1.05; letter-spacing: -.01em; }
.bp-ap span { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.bp-fly { display: flex; align-items: center; gap: 6px; color: var(--c); }
.bp-fly i { flex: 1; border-top: 2px dashed color-mix(in srgb, var(--c) 45%, #fff); }
.bp-fly .ic { width: 24px; height: 24px; transform: rotate(45deg); }
.bp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 12px; padding: 10px 18px 12px; }
.bp-c { display: flex; flex-direction: column; min-width: 0; }
.bp-c b { font-size: 15.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bp-c.big b { font-family: var(--mono); font-size: 20px; color: var(--c); }
.bp-cls { display: flex; align-items: center; gap: 10px; margin: 0 14px 12px; padding: 10px 12px; border-radius: 14px; background: color-mix(in srgb, var(--c) 12%, #fff); }
.bp-cls-ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--c); color: #fff; flex: none; }
.bp-cls b { display: block; font-size: 14.5px; color: var(--c); }
.bp-cls span { font-size: 12.5px; color: #474B59; }
.bp-perf { position: relative; height: 0; margin: 0 16px; border-top: 2px dashed #DAD4C7; }
.bp-perf::before, .bp-perf::after { content: ""; position: absolute; top: -13px; width: 24px; height: 24px; border-radius: 50%; background: var(--ga-cream); }
.bp-perf::before { left: -28px; } .bp-perf::after { right: -28px; }
.bp-stub { display: flex; align-items: center; gap: 12px; padding: 14px 18px 16px; }
.bp-bar { flex: 1; height: 40px; fill: #1B1D29; }
.bp-stamp { display: inline-flex; align-items: center; gap: 4px; padding: 6px 10px; border: 2px solid #2E9E62; border-radius: 10px; color: #2E9E62; font-size: 12px; font-weight: 800; transform: rotate(-6deg); white-space: nowrap; }
.bp-stamp .ic { width: 15px; height: 15px; }
.bp-stack.duo .bp:nth-child(2) { margin-top: -4px; }

/* 블록 */
.ga-blk { position: relative; margin-top: 16px; padding: 20px 16px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: 0 8px 22px rgba(18, 21, 43, .05); }
.ga-blk > h2 { font-size: 19px; font-weight: 800; display: flex; align-items: center; gap: 8px; }
.ga-blk > h2::before { content: ""; width: 6px; height: 18px; border-radius: 3px; background: var(--ga-red); }
.ga-sub { color: var(--muted); font-size: 13.5px; margin-top: 6px; }
.ga-note { font-size: 13px; color: #474B59; background: var(--ga-cream); border-radius: 10px; padding: 8px 12px; margin-top: 10px; }
.ga-p { font-size: 14.5px; margin-top: 8px; color: #2A2D3A; }
.xr-dm { margin-top: 10px; font-size: 14px; }
.xr-dm span { font-weight: 800; color: var(--ga-red); }
.xr-dm b { font-family: var(--serif); }
.xr-rows { display: grid; gap: 6px; margin-top: 14px; }
.xr-row { display: grid; grid-template-columns: 34px 1fr auto 52px; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; background: var(--ga-cream); }
.xr-row.lack { background: color-mix(in srgb, var(--c) 14%, #fff); box-shadow: inset 0 0 0 1.5px var(--c); }
.xr-ic { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--c); color: #fff; }
.xr-ic .ic { width: 18px; height: 18px; }
.xr-row b { font-size: 14.5px; }
.xr-row b small { font-weight: 500; color: var(--muted); font-size: 12px; }
.xr-blocks { display: flex; gap: 3px; }
.xr-blocks i { width: 12px; height: 16px; border-radius: 3px; background: rgba(0, 0, 0, .08); }
.xr-blocks i.on { background: var(--c); }
.xr-row em { font-style: normal; font-size: 12px; font-weight: 800; text-align: right; color: var(--muted); }
.xr-row.lack em { color: var(--ga-red); }
.xr-bagrow { margin-top: 14px; }
.xr-bagrow small { font-size: 12.5px; font-weight: 700; color: var(--muted); }
.xr-bagrow .pillar { background: var(--ga-cream); border-color: var(--line); }
.xr-bagrow .pillar small { color: var(--muted); }
.xr-bagrow .pillar .ch { filter: none; }
.xr-verdict { display: flex; gap: 12px; align-items: flex-start; margin-top: 14px; padding: 14px; border-radius: 16px; background: linear-gradient(135deg, color-mix(in srgb, var(--c) 16%, #fff), #fff); }
.xr-verdict .v-ic { width: 46px; height: 46px; flex: none; animation: none; }
.xr-verdict .v-ic .ic { width: 24px; height: 24px; }
.xr-verdict b { font-size: 16px; }
.xr-verdict p { font-size: 13.5px; color: #474B59; margin-top: 4px; }
.duo-score { display: flex; align-items: baseline; gap: 10px; margin-top: 10px; }
.duo-score b { font-family: var(--mono); font-size: 30px; color: var(--ga-red); }
.duo-score span { font-weight: 800; }
.duo-fill { display: flex; align-items: center; gap: 8px; margin-top: 8px; padding: 10px 12px; border-radius: 12px; background: color-mix(in srgb, var(--c) 12%, #fff); font-size: 13.5px; font-weight: 600; }
.duo-fill .ic { width: 20px; height: 20px; color: var(--c); flex: none; }
.route-list { display: grid; gap: 10px; margin-top: 12px; }
.route { display: grid; grid-template-columns: 104px 1fr; gap: 12px; padding: 10px; border-radius: 16px; border: 1.5px solid var(--line); }
.route.cur { border-color: var(--ga-navy); background: #F5F6FB; }
.route-ph { border-radius: 12px; aspect-ratio: 1; height: auto; }
.route-ph figcaption { display: none; }
.route-code { font-family: var(--mono); font-size: 11.5px; font-weight: 700; color: var(--ga-red); }
.route h3 { font-size: 16px; margin-top: 2px; }
.route p { font-size: 13px; color: #474B59; margin-top: 4px; }
.route .btn { margin-top: 8px; }
.route-cur { display: inline-flex; align-items: center; gap: 4px; margin-top: 8px; font-size: 13px; font-weight: 800; color: var(--ga-navy); }
.route-cur .ic { width: 16px; height: 16px; }
.wish-card { display: flex; gap: 12px; margin-top: 12px; padding: 14px; border-radius: 16px; background: color-mix(in srgb, var(--c) 12%, #fff); }
.wish-ic { font-size: 30px; }
.wish-card b { font-size: 15.5px; }
.wish-card p { font-size: 13.5px; color: #2A2D3A; margin-top: 6px; line-height: 1.7; }
.wish-spots { display: flex; gap: 6px; align-items: center; margin-top: 10px; font-size: 13px; color: var(--muted); }
.wish-spots .ic { width: 16px; height: 16px; color: var(--gold); flex: none; }
.plan-tools .row { margin-top: 8px; }
.ga-blk .gauge { margin-top: 14px; }
.ga-blk .btn.primary { background: linear-gradient(135deg, #EE6A4C, #D9432A); box-shadow: 0 8px 18px rgba(226, 85, 58, .3); }
.ga-pass-wrap > .row .btn.primary { background: linear-gradient(135deg, #EE6A4C, #D9432A); box-shadow: 0 8px 18px rgba(226, 85, 58, .3); }
.ga-blk .btn.big.confirm { background: linear-gradient(135deg, var(--day), color-mix(in srgb, var(--day) 70%, #000)) !important; }
.ga-blk .complete .btn.primary { background: #fff !important; color: var(--ink); }
.ga-pass-wrap .disclaimer { margin: 16px 4px 0; }
@media (max-width: 380px) {
  .ga-hero h1 { font-size: 26px; }
  .bp-ap b { font-size: 30px; }
  .ga-seg.four .ga-sb b { font-size: 12.5px; }
}
