/* EP-01-02 행사 안내 — split-flap departure board */
.board{background:linear-gradient(180deg,#15181c,#0d0f12);border-radius:var(--xe-radius-card);padding:36px 40px 32px;box-shadow:inset 0 1px 0 rgba(255,255,255,.06),inset 0 0 0 1px #23272d,0 30px 80px -40px rgba(0,0,0,.9);position:relative;overflow:hidden}
.board::before{content:"";position:absolute;inset:0;background:repeating-linear-gradient(180deg,rgba(255,255,255,.015) 0 2px,transparent 2px 4px);pointer-events:none}
.board-top{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;padding-bottom:22px;border-bottom:2px solid #23272d}
.board-title{font-size:48px;font-weight:700;font-style:italic;letter-spacing:-0.02em;line-height:1;color:#fff;display:flex;align-items:baseline;gap:16px}
.board-title span{font-size:20px;font-style:normal;font-weight:600;color:var(--lamp-text-2)}
.board-train{font-size:15px;font-weight:700;letter-spacing:.12em;color:var(--gold-400);white-space:nowrap}
.board-cols{display:grid;grid-template-columns:150px 1fr 170px;gap:24px;padding:18px 0 10px;font-size:17px;font-weight:600;color:#fff}
.board-cols span:last-child{text-align:right}
.board-row{display:grid;grid-template-columns:150px 1fr 170px;gap:24px;align-items:center;padding:14px 0;border-top:1px solid #1d2126}
.b-k{font-size:22px;font-weight:700;color:#fff}
.b-v{display:flex;flex-wrap:wrap;align-items:center;gap:12px;min-height:56px}
.b-s{text-align:right;font-size:15px;font-weight:700;letter-spacing:.08em;color:var(--gold-400)}
.b-s.dim{color:#6b7078}
.b-s.live{color:#7fd39a}
.b-s.live::before{content:"";display:inline-block;width:8px;height:8px;border-radius:50%;background:currentColor;margin-right:8px;vertical-align:1px;box-shadow:0 0 8px currentColor;animation:twinkle 1.6s ease-in-out infinite}
/* flaps */
.flap{display:flex;flex-wrap:wrap;gap:4px}
.flap i{position:relative;display:inline-flex;align-items:center;justify-content:center;width:40px;height:54px;border-radius:5px;background:linear-gradient(180deg,#24282e 0 49%,#1a1d22 51% 100%);box-shadow:inset 0 0 0 1px #2e333a,0 2px 0 #08090b;font-style:normal;font-size:28px;font-weight:700;color:var(--gold-400);line-height:1;font-variant-numeric:tabular-nums}
.flap i::after{content:"";position:absolute;left:0;right:0;top:50%;height:1px;background:#07080a;box-shadow:0 1px 0 rgba(255,255,255,.04)}
.flap i.sp{background:transparent;box-shadow:none;width:14px}
.flap i.flip{animation:flip .09s linear}
@keyframes flip{0%{transform:scaleY(1)}50%{transform:scaleY(.15)}100%{transform:scaleY(1)}}
/* placeholder rendered as blank flaps + dashed label */
.flap-ph{display:inline-flex;align-items:center;gap:10px;font-size:20px;font-weight:600;color:var(--lamp-text-2);border-bottom:0;padding:0}
.flap-ph::before{content:"";width:132px;height:54px;border-radius:5px;background:repeating-linear-gradient(90deg,#1f2328 0 40px,transparent 40px 44px);box-shadow:inset 0 0 0 1px #262a30;flex-shrink:0}
.flap-ph{text-decoration:underline dashed;text-underline-offset:6px}
.board-foot{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:22px;padding-top:24px;border-top:2px solid #23272d}
.board-foot p{font-size:16px;color:var(--lamp-text-2)}
@media (max-width:1099px){.board-cols,.board-row{grid-template-columns:96px 1fr 120px;gap:16px}.flap i{width:32px;height:44px;font-size:22px}.flap-ph::before{width:104px;height:44px;background:repeating-linear-gradient(90deg,#1f2328 0 32px,transparent 32px 36px)}.board-title{font-size:40px}}
@media (max-width:767px){
.board{padding:22px 18px 20px;border-radius:var(--xe-radius-card-m)}
.board-top{flex-direction:column;align-items:flex-start;gap:8px;padding-bottom:16px}
.board-title{font-size:30px;gap:10px}.board-title span{font-size:15px}
.board-train{font-size:12px}
.board-cols{display:none}
.board-row{grid-template-columns:1fr auto;gap:10px 12px;padding:16px 0}
.b-k{font-size:16px}
.b-s{font-size:12px}
.b-v{grid-column:1/-1;min-height:0;gap:8px}
.flap{gap:3px}
.flap i{width:26px;height:36px;font-size:18px;border-radius:4px}
.flap i.sp{width:8px}
.flap-ph{font-size:16px}
.flap-ph::before{width:84px;height:36px;background:repeating-linear-gradient(90deg,#1f2328 0 26px,transparent 26px 29px)}
.board-foot{flex-direction:column;align-items:stretch;gap:14px}
.board-foot .btn{width:100%}
}
@media (prefers-reduced-motion:reduce){.flap i.flip,.b-s.live::before{animation:none}}

/* mobile: fixed bottom CTA covers mid-page CTAs — keep only hero + final + fixed */
@media (max-width:767px){
.cta-block:not(#heroCta):not(#finalCta) > .btn-gold.cta,.board-foot > .btn-gold.cta{display:none}
.cta-block:not(#heroCta):not(#finalCta):not(:has(> :not(.btn-gold))){display:none}
.board-foot{padding-top:16px}
}

/* floating train menu */
.fab{position:fixed;right:28px;bottom:28px;z-index:45;display:flex;flex-direction:column;align-items:flex-end;gap:12px;opacity:0;transform:translateY(12px);pointer-events:none;transition:opacity .25s,transform .25s}
.fab.show{opacity:1;transform:none;pointer-events:auto}
.fab-btn{position:relative;width:68px;height:68px;border-radius:50%;border:0;cursor:pointer;background:var(--gold-400);color:var(--gold-ink);display:flex;align-items:center;justify-content:center;box-shadow:0 0 0 6px rgba(255,207,107,.14),0 12px 36px -6px rgba(255,196,102,.55);transition:transform .2s,background .2s}
.fab-btn:hover{background:var(--gold-500);transform:translateY(-2px)}
.fab-btn:active{background:var(--gold-600);transform:scale(.96)}
.fab-btn svg{width:32px;height:32px}
.fab-btn[aria-expanded="true"] svg{animation:chug .5s ease-in-out}
@keyframes chug{0%,100%{transform:translateX(0)}30%{transform:translateX(-3px)}60%{transform:translateX(3px)}}
.fab-top{display:none}
.fab-menu{display:flex;flex-direction:column;align-items:flex-end;gap:10px;opacity:0;transform:translateY(10px) scale(.96);transform-origin:bottom right;pointer-events:none;transition:opacity .2s,transform .2s}
.fab.open .fab-menu{opacity:1;transform:none;pointer-events:auto}
.fab-item{display:flex;align-items:center;gap:12px;min-height:52px;padding:0 6px 0 20px;border-radius:999px;border:0;cursor:pointer;background:var(--ember-100);color:var(--ink-on-dark);font:600 16px/1 var(--xe-font);box-shadow:inset 0 0 0 1px var(--ember-200),0 10px 30px -10px rgba(0,0,0,.8);transition:box-shadow .2s}
.fab-item:hover{box-shadow:inset 0 0 0 1px var(--gold-400),0 10px 30px -10px rgba(0,0,0,.8)}
.fab-item i{width:40px;height:40px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:var(--ember-150);color:var(--gold-400)}
.fab-item svg{width:20px;height:20px}
.fab-apply i{background:var(--gold-400);color:var(--gold-ink)}
.fab-item[disabled]{cursor:not-allowed;color:var(--lamp-text-2)}
.fab-item[disabled] i{background:var(--ember-150);color:var(--lamp-text-2)}
.demo{right:auto;left:20px}
.demo .box{right:auto;left:0}
@media (max-width:767px){
.fab{right:16px;bottom:calc(92px + env(safe-area-inset-bottom))}
.fab-menu{display:none}
.fab-btn{width:56px;height:56px;flex-direction:column;gap:1px}
.fab-btn svg{width:24px;height:24px}
.fab-top{display:block;font-size:10px;font-weight:800;letter-spacing:.08em;line-height:1}
.demo{left:12px;right:auto;bottom:calc(92px + env(safe-area-inset-bottom))}
}
@media (prefers-reduced-motion:reduce){.fab,.fab-menu{transition:none}.fab-btn[aria-expanded="true"] svg{animation:none}}

/* steam locomotive glyph — game-icons.net "Steam locomotive" by Delapouite, CC BY 3.0 */
.fab-btn .fab-loco{display:block;width:36px;height:36px}
.fab-btn[aria-expanded="true"] .fab-loco{animation:chug .5s ease-in-out}
@media (max-width:767px){.fab-btn .fab-loco{width:26px;height:26px}}

.fab-menu{align-items:stretch}
.fab-item{justify-content:space-between}
.fab-apply{justify-content:center;padding:0 20px;background:var(--gold-400);color:var(--gold-ink);box-shadow:0 10px 30px -10px rgba(0,0,0,.8)}
.fab-apply:hover{background:var(--gold-500);box-shadow:0 10px 30px -10px rgba(0,0,0,.8)}
.fab-apply[disabled]{background:var(--ember-150);color:var(--lamp-text-2)}

/* GNB aligned to the content column: brand flush with section left edge, last menu label flush with right edge */
.gnb .wrap{max-width:1440px;padding:0 var(--xe-gutter)}
.menu{margin-right:-16px}
.burger{margin-right:-10px}
@media (max-width:767px){.gnb .wrap{padding:0 var(--xe-gutter-m)}}

/* footer — compact multi-column */
.foot{padding:40px 0 48px}
.foot .wrap{display:flex;flex-direction:column;gap:20px}
.foot-top{display:flex;justify-content:space-between;align-items:center;gap:16px;padding-bottom:20px;border-bottom:1px solid var(--ember-150)}
.foot-title{margin:0;font-size:16px;font-weight:600;color:var(--ink-on-dark)}
.foot .links{display:flex;gap:20px;font-size:15px;grid-column:auto}
.foot-info{margin:0;display:flex;flex-wrap:wrap;gap:8px 40px;font-size:15px}
.foot-info>div{display:flex;gap:10px;min-width:0}.foot-info dd{flex:1;min-width:0}
.foot-info dt{color:var(--lamp-text-2);white-space:nowrap}.foot-info dd{margin:0;color:var(--ink-on-dark);word-break:keep-all}
.foot .copy{margin:0;font-size:13px;color:var(--lamp-text-2)}

@media (max-width:767px){.foot{padding:32px 0 112px}.foot-top{flex-direction:column;align-items:flex-start;gap:10px;padding-bottom:16px}.foot-title{font-size:15px}.foot-info{grid-template-columns:1fr;gap:8px;font-size:14px}.foot-info dt{width:72px;flex:none}.foot .links{font-size:14px}}

@media (min-width:768px){.head.head-route{text-align:center;margin-left:auto;margin-right:auto;align-items:center}}
@media (min-width:768px){.head-route+.route{max-width:760px;margin-left:auto;margin-right:auto}}
.foot-info dd{white-space:nowrap}.foot-info>div{flex:none}
@media (max-width:767px){.foot-info{flex-direction:column}.foot-info dd{white-space:normal}.foot-info>div{flex:auto}}
@media (max-width:767px){.steps,.steps.three{grid-template-columns:1fr}.shots{margin-top:40px;padding-right:0}}
@media (min-width:768px){.head-route~.cta-block{align-items:center;text-align:center}}
@media (max-width:767px){.step{padding:22px 24px;display:grid;grid-template-columns:auto 1fr;align-items:baseline;gap:8px 10px}.step .n{grid-column:1;grid-row:1;width:auto}.step h3{grid-column:2;grid-row:1;margin:0}.step p{grid-column:1/-1;grid-row:2;margin:0;text-align:left;min-width:0}.steps.three .step p br{display:none}.steps.three .step p{word-break:keep-all}}
/* Keep the full KV aspect ratio from village.css, including in short windows. */

/* feature headlines — KV title language: gold keyword + star rule */
.h-feature{font-weight:700;letter-spacing:-0.03em;line-height:1.28}
.h-feature em{font-style:normal;color:var(--gold-400);text-shadow:0 0 28px rgba(255,196,102,.28)}
.paper .h-feature em{color:var(--gold-on-paper);text-shadow:none}
.h-feature::before{content:"";display:block;width:88px;height:12px;margin:0 0 20px;background:radial-gradient(circle at 50% 50%,var(--gold-400) 0 3px,transparent 3.5px),linear-gradient(90deg,transparent,var(--gold-400) 30%,transparent 42%,transparent 58%,var(--gold-400) 70%,transparent) center/100% 1px no-repeat}
.paper .h-feature::before{background:radial-gradient(circle at 50% 50%,var(--gold-on-paper) 0 3px,transparent 3.5px),linear-gradient(90deg,transparent,var(--gold-on-paper) 30%,transparent 42%,transparent 58%,var(--gold-on-paper) 70%,transparent) center/100% 1px no-repeat}
.final .h-feature::before,.head-route .h-feature::before{margin-left:auto;margin-right:auto}
@media (max-width:767px){.head-route .h-feature::before{margin-left:0}.h-feature::before{width:72px;margin-bottom:14px}}

/* Keep the application period on two lines at every viewport width. */
.b-period{flex-direction:column;align-items:flex-start}
.b-period .flap{flex-wrap:nowrap}
