/* =========================================================================
 * 영화 필름 청첩장: 극장 검정 + 필름 주황
 * 글꼴: 포스터(Black Han Sans · Bebas Neue · Oswald) + 타자기(Courier Prime · 나눔고딕코딩)
 * ========================================================================= */
:root {
  --bg: #0b0908;
  --bg-2: #15110e;
  --bg-3: #1d1815;
  --cream: #f3e9d8;
  --cream-soft: #cbbda8;
  --cream-dim: #93877a;
  --orange: #f08a24;
  --amber: #ffb547;
  --red: #e2563a;
  --rule: rgba(243, 233, 216, .16);

  /* 종이 소품 (지도 · 탑승권 · 영화표) */
  --card: #fbf5ea;
  --ink: #2b211a;
  --ink-soft: #5f5142;
  --muted: #8e806c;
  --sepia: #a57c55;
  --line: rgba(43, 33, 26, .16);
  --accent: #d0631c;
  --accent-soft: rgba(208, 99, 28, .12);

  /* 지도·탑승권이 쓰는 이름 */
  --on-bg: var(--cream);
  --on-bg-soft: var(--cream-soft);
  --on-bg-label: var(--orange);
  --on-bg-accent: var(--amber);
  --on-bg-line: var(--rule);

  /* 영어 글자는 앞 글꼴, 한글은 뒤 글꼴로 자동으로 넘어가요 */
  --f-type: 'Courier Prime', 'Nanum Gothic Coding', 'Courier New', monospace;   /* 타자기 */
  --f-body: 'Gowun Batang', 'AppleMyungjo', serif;                              /* 긴 글 (대본 느낌) */
  --f-poster: 'Black Han Sans', 'Apple SD Gothic Neo', sans-serif;              /* 한글 포스터 */
  --f-poster-en: 'Bebas Neue', 'Oswald', 'Arial Narrow', sans-serif;            /* 영어 포스터 */
  --f-bill: 'Oswald', 'Nanum Gothic Coding', 'Arial Narrow', sans-serif;        /* 포스터 아래 깨알 글씨 · 크레딧 */
  --f-stamp: 'Share Tech Mono', ui-monospace, monospace;
  --f-display-en: var(--f-poster-en);

  /* 필름 구멍 (세로 띠 / 가로 띠) */
  --holes-v: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='22'%3E%3Crect x='3' y='5' width='10' height='12' rx='2.4' fill='%23ded3bf'/%3E%3C/svg%3E");
  --holes-h: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='14'%3E%3Crect x='5' y='3' width='12' height='8' rx='2' fill='%23ded3bf'/%3E%3C/svg%3E");
  color-scheme: dark;
}
html[lang='en'] { --f-poster: 'Bebas Neue', 'Oswald', 'Arial Narrow', sans-serif; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  color: var(--cream);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.85;
  background: var(--bg);
  -webkit-tap-highlight-color: transparent;
  word-break: keep-all;
  overflow-wrap: break-word;
}
html[lang='en'] body { font-family: var(--f-type); }
body.locked { overflow: hidden; }
img { max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }
[hidden] { display: none !important; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes blink { 50% { opacity: .15; } }

/* ── 페이지 ─────────────────────────────────────────────── */
.page { position: relative; max-width: 480px; min-height: 100vh; margin: 0 auto; overflow: hidden; }
.sec {
  position: relative;
  isolation: isolate;
  padding: 76px 24px;
  text-align: center;
  opacity: 0;
  transition: opacity 1s ease;
}
.sec.in { opacity: 1; }
/* 섹션 사이: 작은 필름 구멍 줄 */
.sec + .sec::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 92px;
  height: 10px;
  transform: translateX(-50%);
  background: var(--holes-h) center / 13px 10px repeat-x;
  opacity: .28;
}
.sec.cover + .sec::before, .sec.greeting::before, .sec.greeting + .sec::before, .sec.closing::before { display: none; }

.label {
  margin: 0 0 8px;
  font-family: var(--f-type);
  font-size: 12px;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--orange);
}
.sec-head .label { display: inline-flex; align-items: center; gap: 10px; }
.sec-head .label::before, .sec-head .label::after { content: ''; width: 7px; height: 9px; border-radius: 1.5px; background: #ded3bf; opacity: .5; }
.title { margin: 0 0 30px; font-family: var(--f-poster); font-size: 40px; font-weight: 400; line-height: 1.12; color: var(--cream); }
html[lang='en'] .title { font-size: 48px; letter-spacing: .04em; line-height: 1; }

/* 스크롤해서 보이면 검은 화면에서 서서히 밝아져요 (페이드 인) */
.expose { opacity: 0; transition: opacity 1s ease; }
.expose.in { opacity: 1; }
.expose .photo img, .expose > img { filter: brightness(0); transition: filter 1.8s ease .15s; }
.expose.in .photo img, .expose.in > img { filter: none; }
.instant, .instant .photo img, .instant > img, .instant .sub { transition: none !important; }

.hint { margin: 22px 0 0; font-family: var(--f-type); font-size: 12.5px; line-height: 1.7; color: var(--cream-dim); }
.muted { color: var(--muted); }

/* ── 첫 화면: 영화사 로고 + 자막 고르기 → 카운트다운 ───────── */
.intro {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  overflow: hidden;
  background: radial-gradient(ellipse 70% 50% at 50% 42%, #1a1310, #050403 70%);
  color: var(--cream);
  transition: opacity .7s ease;
}
.intro.leaving { opacity: 0; pointer-events: none; }
.film-edge { position: absolute; top: -22px; bottom: -22px; width: 24px; background: var(--holes-v) center top / 16px 22px repeat-y, #000; opacity: .45; }
.film-edge.l { left: 0; }
.film-edge.r { right: 0; }
.intro.counting .film-edge { opacity: .85; animation: filmRun .18s linear infinite; }
@keyframes filmRun { to { transform: translateY(22px); } }
.studio { text-align: center; animation: fadeIn 1.4s ease .2s both; transition: opacity .25s; }
.studio-ring { display: inline-block; width: 116px; height: 116px; padding: 5px; border-radius: 50%; background: conic-gradient(from 200deg, var(--amber), var(--orange), #9c3d10, var(--orange), var(--amber)); box-shadow: 0 0 46px rgba(240, 138, 36, .35); }
.studio-ring img { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.studio-name { margin: 20px 0 0; padding-left: .3em; font-family: var(--f-poster-en); font-size: 36px; letter-spacing: .3em; line-height: 1; }
.studio-sub { margin: 6px 0 0; font-family: var(--f-type); font-size: 14px; font-style: italic; letter-spacing: .12em; color: var(--cream-soft); }
.intro-langs { text-align: center; animation: fadeUp .8s ease 1s both; transition: opacity .25s; }
.intro-ask { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0 0 14px; font-family: var(--f-type); font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--orange); }
.intro-ask i { width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
.lang-row { display: flex; justify-content: center; gap: 12px; }
/* 음악 켜기 / 끄기: 고른 쪽이 주황색 */
.sound-row { display: flex; justify-content: center; gap: 10px; margin: 0 0 24px; }
.snd-btn { min-width: 116px; height: 40px; padding: 0 14px; border: 1.2px solid rgba(243, 233, 216, .32); border-radius: 999px; background: none; color: var(--cream-dim); font-family: var(--f-type); font-size: 14px; font-weight: 700; cursor: pointer; }
.snd-btn.sel { border-color: var(--amber); background: rgba(255, 181, 71, .12); color: var(--amber); }
.lang-btn { width: 128px; height: 50px; border: 1.3px solid rgba(243, 233, 216, .7); border-radius: 3px; background: rgba(243, 233, 216, .04); color: var(--cream); font-family: var(--f-type); font-size: 17px; font-weight: 700; cursor: pointer; }
.lang-btn:hover, .lang-btn:active { border-color: var(--amber); color: var(--amber); }
.intro.counting .studio, .intro.counting .intro-langs { visibility: hidden; opacity: 0; animation: none; pointer-events: none; }
.intro-leader { position: absolute; inset: 0; display: grid; place-items: center; animation: fadeIn .2s ease; }

/* 카운트다운 리더 (첫 화면 · 상영하기 같이 씀) */
.leader { width: min(84vw, 400px); }
.ld-frame { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 6px; background: radial-gradient(circle at 50% 50%, #9a948d 0, #6d6862 62%, #45413c 100%); box-shadow: inset 0 0 50px rgba(0, 0, 0, .65), 0 0 0 1px rgba(255, 255, 255, .06); animation: flick .14s steps(2) infinite; }
@keyframes flick { 50% { filter: brightness(1.07); } }
@property --a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.ld-sweep { position: absolute; inset: -50%; --a: 0deg; background: conic-gradient(rgba(18, 16, 14, .5) 0 var(--a), transparent var(--a)); }
.ld-sweep.go { animation: sweep var(--step, 380ms) linear forwards; }
@keyframes sweep { from { --a: 0deg; } to { --a: 360deg; } }
.ld-cross { position: absolute; inset: 0; width: 100%; height: 100%; }
.ld-cross path { fill: none; stroke: rgba(18, 16, 14, .75); stroke-width: 1.3; vector-effect: non-scaling-stroke; }
.ld-rings { position: absolute; top: 50%; left: 50%; height: 94%; transform: translate(-50%, -50%); overflow: visible; }
.ld-rings circle { fill: none; stroke: #f6f1e8; stroke-width: 1.6; }
.ld-rings circle + circle { stroke: #1d1a17; stroke-width: 1.2; }
.ld-n { position: absolute; inset: 0; display: grid; place-items: center; padding-top: .08em; font-family: 'Bebas Neue', sans-serif; font-size: min(36vw, 172px); font-weight: 400; line-height: 1; color: #15120f; }

/* ── 상단 버튼 ──────────────────────────────────────────── */
.topbar { position: fixed; top: max(12px, env(safe-area-inset-top)); right: max(12px, calc(50vw - 240px + 12px)); z-index: 40; display: flex; gap: 8px; }
.round-btn {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1.2px solid rgba(243, 233, 216, .55);
  border-radius: 50%;
  background: rgba(11, 9, 8, .55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: var(--cream);
  font-family: var(--f-type);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
#bgmBtn.on { border-color: var(--amber); color: var(--amber); }
#bgmBtn.on svg { animation: spin 2.4s linear infinite; }

/* ── 버튼 ───────────────────────────────────────────────── */
.btn-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 24px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 10px 18px;
  border: 1.2px solid rgba(243, 233, 216, .55);
  border-radius: 999px;
  background: rgba(243, 233, 216, .04);
  color: var(--cream);
  font-family: var(--f-type);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
}
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .5; }
.btn.primary { border-color: var(--orange); background: var(--orange); color: #1d0f05; }
.btn.kakao { border-color: #fee500; background: #fee500; color: #3c1e1e; }

/* ── 1. 영화 포스터 ─────────────────────────────────────── */
.sec.cover { display: flex; flex-direction: column; justify-content: space-between; min-height: 100vh; min-height: 100svh; padding: 0; overflow: hidden; color: var(--cream); }
.poster-photo { position: absolute; inset: 0; z-index: -2; }
.poster-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sec.cover::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(5, 4, 3, .8) 0%, rgba(5, 4, 3, .42) 28%, rgba(5, 4, 3, 0) 46%, rgba(5, 4, 3, 0) 76%, rgba(5, 4, 3, .85) 100%); }
.poster-top { position: relative; padding: calc(62px + env(safe-area-inset-top)) 20px 0; }
.eyebrow { margin: 0 0 12px; font-family: var(--f-type); font-size: 11.5px; letter-spacing: .3em; color: var(--amber); text-shadow: 0 1px 4px rgba(0, 0, 0, .6); }
.poster-title { margin: 0; font-family: var(--f-poster); font-size: 66px; font-weight: 400; line-height: 1; color: #fff8ec; text-shadow: 0 4px 26px rgba(0, 0, 0, .55); }
html[lang='en'] .poster-title { font-size: 62px; letter-spacing: .04em; line-height: .95; }
.poster-sub { margin: 12px 0 0; font-family: var(--f-type); font-size: 15px; font-weight: 700; letter-spacing: .18em; text-shadow: 0 1px 6px rgba(0, 0, 0, .7); }
.release { margin: 18px 0 0; font-family: var(--f-poster-en); font-size: 27px; letter-spacing: .1em; line-height: 1.2; text-shadow: 0 2px 10px rgba(0, 0, 0, .6); }
.release b { padding-left: .2em; font-family: var(--f-poster); font-weight: 400; color: var(--amber); }
html[lang='en'] .release b { padding-left: .1em; }
.poster-meta { margin: 4px 0 0; font-family: var(--f-type); font-size: 12.5px; letter-spacing: .03em; color: rgba(243, 233, 216, .9); text-shadow: 0 1px 4px rgba(0, 0, 0, .7); }
.poster-bottom { position: relative; padding: 0 18px calc(16px + env(safe-area-inset-bottom)); }
.billing { max-width: 360px; margin: 0 auto; font-family: var(--f-bill); font-size: 10.5px; font-weight: 300; line-height: 1.25; letter-spacing: .02em; text-transform: uppercase; color: rgba(243, 233, 216, .78); transform: scaleY(1.45); transform-origin: 50% 100%; }
.poster-marks { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; }
.rating { display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-type); font-size: 10.5px; color: var(--cream-soft); }
.rating b { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 50%; background: #2f9e44; color: #fff; font-family: 'Bebas Neue', sans-serif; font-size: 12.5px; font-weight: 400; letter-spacing: .03em; }
.rating.en b { border: 1.5px solid var(--cream); border-radius: 2px; background: none; color: var(--cream); font-size: 17px; }
.studio-mark { display: inline-flex; align-items: center; gap: 7px; font-family: 'Bebas Neue', sans-serif; font-size: 14px; letter-spacing: .22em; }
.studio-mark img { width: 26px; height: 26px; border-radius: 50%; }
.scroll-hint { position: absolute; left: 50%; bottom: calc(118px + env(safe-area-inset-bottom)); width: 1px; height: 34px; background: linear-gradient(var(--cream), transparent); animation: hint 2s ease-in-out infinite; }
@keyframes hint { 0%, 100% { transform: translateY(0); opacity: .35; } 50% { transform: translateY(8px); opacity: 1; } }

/* ── 2. 출연 · 제작 ─────────────────────────────────────── */
.hearts { position: relative; max-width: 360px; margin: 0 auto; aspect-ratio: 6 / 7.5; }
.heart { position: absolute; margin: 0; }
.heart img { display: block; width: 100%; height: auto; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .65)); }
.heart.expose.in img { filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .65)); }
.heart figcaption { margin-top: 4px; font-family: var(--f-type); font-size: 18px; font-weight: 700; line-height: 1.25; color: var(--cream); }
.heart figcaption small { display: block; margin-bottom: 2px; font-size: 11px; font-weight: 400; letter-spacing: .24em; text-transform: uppercase; color: var(--orange); }
html[lang='en'] .heart figcaption { font-size: 16px; }
.h-bride { top: 0; left: 0; width: 56%; }
.h-bride figcaption { width: 80%; }
.h-groom { top: 42%; right: 0; width: 52%; }
.producers { margin-top: 34px; }
.cr-role { margin: 0 0 8px; font-family: var(--f-type); font-size: 11.5px; letter-spacing: .3em; text-transform: uppercase; color: var(--orange); }
.producers p:not(.cr-role) { margin: 0 0 4px; font-size: 15.5px; line-height: 1.9; }
.producers small { margin: 0 .2em; font-size: 13px; color: var(--cream-soft); }
.producers b { font-size: 17px; color: var(--amber); }
html[lang='en'] .producers p:not(.cr-role) { margin-bottom: 14px; font-size: 13.5px; line-height: 1.6; }

/* ── 3. 개봉일: 슬레이트 ────────────────────────────────── */
.slate { position: relative; width: min(100%, 330px); margin: 56px auto 0; padding-top: 58px; text-align: left; }
.stick { position: absolute; left: 0; right: 0; height: 28px; border-radius: 3px; box-shadow: inset 0 0 0 1.5px #141210, 0 3px 6px rgba(0, 0, 0, .45); }
.stick.base { top: 30px; background: repeating-linear-gradient(-55deg, #f3e9d8 0 17px, #141210 17px 34px); }
.stick.arm { top: 0; background: repeating-linear-gradient(55deg, #f3e9d8 0 17px, #141210 17px 34px); transform-origin: 5px 100%; transform: rotate(-10deg); }
.slate.in .stick.arm { animation: clap 1.3s cubic-bezier(.55, 0, .35, 1) .5s forwards; }
@keyframes clap {
  0% { transform: rotate(-10deg); }
  45% { transform: rotate(-14deg); }
  70% { transform: rotate(0); }
  82% { transform: rotate(-3deg); }
  100% { transform: rotate(0); }
}
.slate-board { overflow: hidden; border: 2px solid #2a2420; border-radius: 0 0 6px 6px; background: #171412; box-shadow: 0 16px 32px rgba(0, 0, 0, .55); }
.sl-row { display: flex; border-bottom: 1.5px solid rgba(243, 233, 216, .45); }
.sl-row:last-child { border-bottom: 0; }
.sl-cell { flex: 1; min-width: 0; padding: 6px 10px 7px; border-right: 1.5px solid rgba(243, 233, 216, .45); }
.sl-cell:last-child { border-right: 0; }
.sl-cell small { display: block; font-family: var(--f-type); font-size: 9.5px; letter-spacing: .2em; line-height: 1.4; color: var(--cream-dim); }
/* 영어·숫자는 좁은 Bebas, 한글은 Black Han Sans */
.sl-cell b { display: block; overflow: hidden; font-family: 'Bebas Neue', 'Black Han Sans', sans-serif; font-size: 24px; font-weight: 400; letter-spacing: .03em; line-height: 1.2; white-space: nowrap; text-overflow: ellipsis; color: #fbf3e4; }
.sl-row .sl-cell:first-child:not(.wide) { flex: 1.5; }

.release-info { margin-top: 32px; }
.big-date { margin: 0; font-size: 21px; font-weight: 700; line-height: 1.6; }
html[lang='en'] .big-date { font-family: var(--f-poster-en); font-size: 32px; font-weight: 400; letter-spacing: .04em; line-height: 1.1; }
.tz { margin: 6px 0 0; font-family: var(--f-type); font-size: 11.5px; letter-spacing: .14em; color: var(--orange); }
.place { margin: 8px 0 0; font-size: 14.5px; font-weight: 700; }
.alt { margin: 8px 0 0; font-size: 13.5px; line-height: 1.6; color: var(--cream-soft); }
.alt b { color: var(--cream); }
.reception { display: inline-block; margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--rule); }

.calendar { width: min(100%, 320px); margin: 34px auto 0; padding: 18px 16px 14px; border: 1px solid var(--rule); border-radius: 4px; background: var(--bg-2); }
.cal-title { margin: 0 0 6px; font-family: var(--f-poster-en); font-size: 23px; letter-spacing: .14em; line-height: 1.2; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); row-gap: 2px; font-family: var(--f-type); font-size: 14px; }
.cal-grid span { position: relative; z-index: 0; display: flex; align-items: center; justify-content: center; height: 34px; }
.cal-grid .wd { height: 26px; font-size: 11px; color: var(--cream-dim); }
.cal-grid .sun, .cal-grid .hol-kr { color: #ff8a6a; }
.cal-grid .hol-us { color: #8fb8e8; }
.cal-grid span.the-day { color: #1d0f05; font-weight: 700; }
.cal-grid .the-day::before { content: ''; position: absolute; z-index: -1; width: 31px; height: 31px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 16px rgba(240, 138, 36, .6); }
.hd { display: inline-block; flex: none; width: 5px; height: 5px; border-radius: 50%; }
.hd.kr { background: #ff8a6a; }
.hd.us { background: #8fb8e8; }
.cal-grid .hd { position: absolute; bottom: 1px; left: 50%; transform: translateX(-50%); }
.cal-grid .the-day .hd { bottom: -4px; }
.cal-legend { margin: 12px 0 0; padding: 10px 2px 0; border-top: 1px dashed var(--rule); list-style: none; text-align: left; font-size: 12.5px; line-height: 1.7; color: var(--cream-soft); }
.cal-legend li { display: flex; align-items: center; gap: 8px; }

/* D-day 전광판: 테두리 전구가 번갈아 깜빡여요 */
.marquee { position: relative; width: min(100%, 300px); margin: 34px auto 0; padding: 12px; border-radius: 10px; background: #2a190c; box-shadow: 0 0 34px rgba(240, 138, 36, .2); }
.marquee::before { content: ''; position: absolute; inset: 3px; border-radius: 8px; background: radial-gradient(circle, #ffd27a 0 2.3px, rgba(255, 196, 102, .25) 2.8px, transparent 3.6px) 0 0 / 14px 14px; animation: bulbs 1s steps(1) infinite; }
@keyframes bulbs { 50% { background-position: 7px 7px; } }
.mq-in { position: relative; z-index: 1; padding: 12px 10px 14px; border: 1px solid rgba(255, 181, 71, .35); border-radius: 4px; background: #120d0a; }
.mq-top { margin: 0; font-family: var(--f-type); font-size: 11px; letter-spacing: .34em; color: var(--orange); }
.mq-tag { margin: 2px 0 0; font-family: 'Bebas Neue', sans-serif; font-size: 60px; letter-spacing: .06em; line-height: 1; color: var(--amber); text-shadow: 0 0 18px rgba(255, 181, 71, .55); }
.mq-text { margin: 4px 0 0; font-family: var(--f-type); font-size: 15px; font-weight: 700; line-height: 1.5; }
.mq-text b { color: var(--amber); }

/* ── 4. 초대합니다: 영화 장면 + 자막 ────────────────────── */
.sec.greeting { min-height: 100vh; min-height: 100svh; padding: 0; overflow: hidden; }
.g-photo { position: absolute; inset: 0; z-index: -2; }
.g-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* 위아래 검은 띠(레터박스) + 글씨가 잘 보이게 어둡게 */
.sec.greeting::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(5, 4, 3, .78) 0%, rgba(5, 4, 3, .3) 30%, rgba(5, 4, 3, .32) 44%, rgba(5, 4, 3, .86) 74%, rgba(5, 4, 3, .94) 100%); box-shadow: inset 0 9svh 0 #000, inset 0 -9svh 0 #000; }
.g-text { display: flex; flex-direction: column; justify-content: space-between; min-height: 100vh; min-height: 100svh; padding: calc(9svh + 30px) 24px calc(9svh + 24px); }
.greeting .title { margin-bottom: 0; color: #fff8ec; text-shadow: 0 2px 14px rgba(0, 0, 0, .6); }
.subs { padding-top: 24px; }
.sub { margin: 0 0 16px; font-size: 16px; line-height: 1.8; color: #fffdf6; text-shadow: 0 0 2px #000, 0 1px 3px rgba(0, 0, 0, .9), 0 0 12px rgba(0, 0, 0, .6); opacity: 0; transition: opacity .9s ease; transition-delay: calc(.5s + var(--i, 0) * 1s); }
.sub:last-child { margin-bottom: 0; }
.greeting.in .sub { opacity: 1; }
html[lang='en'] .sub { font-size: 15px; line-height: 1.65; }

/* ── 5. 우리 이야기: 세로 필름 ──────────────────────────── */
.filmstrip {
  position: relative;
  width: min(100%, 360px);
  margin: 0 auto;
  padding: 24px 36px 28px;
  list-style: none;
  border-radius: 4px;
  background: var(--holes-v) left 6px top 4px / 16px 22px repeat-y, var(--holes-v) right 6px top 4px / 16px 22px repeat-y, #131110;
  box-shadow: 0 0 0 1px rgba(243, 233, 216, .07), 0 22px 44px rgba(0, 0, 0, .55);
}
.scene { position: relative; margin: 0 0 28px; }
.scene:last-child { margin-bottom: 0; }
.frame { overflow: hidden; border-radius: 2px; background: #000; cursor: zoom-in; }
.frame .photo { position: relative; overflow: hidden; }
.frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
.scene-cap { margin: 10px 0 0; font-family: var(--f-type); line-height: 1.4; }
.sc-no { margin-right: 8px; font-size: 13px; font-weight: 700; letter-spacing: .06em; color: var(--orange); }
.sc-date { font-size: 12px; letter-spacing: .08em; color: var(--cream-dim); }
.sc-line { display: block; margin-top: 4px; font-size: 16px; font-weight: 700; color: var(--cream); }
.edge { position: absolute; top: 40%; left: -15px; font-family: var(--f-stamp); font-size: 8px; letter-spacing: .16em; line-height: 1; white-space: nowrap; color: rgba(240, 138, 36, .8); writing-mode: vertical-rl; transform: translateY(-50%) rotate(180deg); }

/* ── 6. 스틸컷: 가로로 흘러가는 필름 띠 ─────────────────── */
.sec.stills { padding-left: 0; padding-right: 0; }
.stills .sec-head { padding: 0 24px; }
.reel { margin: 0 0 14px; overflow: hidden; }
.reel-track {
  display: flex;
  width: max-content;
  padding: 18px 0 28px;
  background: var(--holes-h) left 0 top 2px / 22px 14px repeat-x, var(--holes-h) left 0 bottom 1px / 22px 14px repeat-x, #131110;
  animation: reelRun var(--dur, 40s) linear infinite;
}
.reel.rev .reel-track { animation-direction: reverse; }
.reel:hover .reel-track { animation-play-state: paused; }
@keyframes reelRun { to { transform: translateX(-33.3333%); } }
.still { position: relative; flex: none; height: 112px; margin-right: 14px; cursor: zoom-in; }
.still .photo { display: block; width: 100%; height: 100%; overflow: hidden; border-radius: 1px; background: #000; }
.still img { display: block; width: 100%; height: 100%; object-fit: cover; }
.still i { position: absolute; left: 1px; bottom: -13px; font-family: var(--f-stamp); font-size: 7.5px; font-style: normal; letter-spacing: .12em; line-height: 1; color: rgba(240, 138, 36, .85); }

/* ── 7. 예고편 ──────────────────────────────────────────── */
.player { position: relative; overflow: hidden; border-radius: 4px; background: #000; cursor: zoom-in; box-shadow: 0 0 0 6px #050404, 0 0 0 7px rgba(243, 233, 216, .1), 0 24px 50px rgba(0, 0, 0, .6); }
.player .photo { position: relative; overflow: hidden; }
.player img, .player video { display: block; width: 100%; height: 100%; object-fit: cover; }
.player .tframe { position: absolute; inset: 0; opacity: 0; animation: tframe calc(var(--n) * 3s) linear infinite; animation-delay: calc((var(--i) - var(--n)) * 3s); }
.player .tframe:first-child { opacity: 1; animation: none; }
@keyframes tframe { 0% { opacity: 0; } 9% { opacity: 1; } 34% { opacity: 1; } 42%, 100% { opacity: 0; } }
.pl-badge { position: absolute; top: 10px; left: 10px; display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 3px; background: rgba(5, 4, 3, .65); font-family: var(--f-type); font-size: 11px; font-weight: 700; letter-spacing: .14em; color: var(--cream); }
.pl-badge i { width: 7px; height: 7px; border-radius: 50%; background: var(--red); animation: blink 1.2s steps(2) infinite; }
.pl-bar { position: absolute; left: 12px; right: 12px; bottom: 10px; height: 3px; border-radius: 3px; background: rgba(243, 233, 216, .25); }
.pl-bar i { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--orange); animation: plbar 18s linear infinite; }
@keyframes plbar { to { width: 100%; } }

/* ── 8. 촬영지 ──────────────────────────────────────────── */
.island-card { position: relative; max-width: 400px; margin: 0 auto; padding: 12px 12px 30px; border-radius: 3px; background: var(--card); color: var(--ink); box-shadow: 0 18px 40px rgba(0, 0, 0, .55); }
.ic-tag { position: absolute; left: 14px; bottom: 8px; font-family: var(--f-type); font-size: 10.5px; letter-spacing: .22em; color: var(--ink-soft); }
.oahu-map { display: block; width: 100%; height: auto; }
.om-sea { fill: #dde4dc; }
.om-wave { fill: none; stroke: #8fa7a2; stroke-width: 1.6; stroke-linecap: round; opacity: .6; }
.om-shallow { fill: none; stroke: #a9bdb7; stroke-width: 16; stroke-linejoin: round; opacity: .5; }
.om-land { fill: #ecd9ae; stroke: #5a4632; stroke-width: 2.2; stroke-linejoin: round; }
.om-ridge { fill: none; stroke: #8a6a45; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; opacity: .75; }
.om-route { fill: none; stroke: var(--accent); stroke-width: 2.6; stroke-dasharray: 2 7; stroke-linecap: round; }
.om-palm-trunk { fill: none; stroke: #8a6a45; stroke-width: 4.2; stroke-linecap: round; }
.om-palm-ring { fill: none; stroke: #5a4632; stroke-width: 1; stroke-linecap: round; opacity: .6; }
.om-palm-leaf { fill: none; stroke: #6f8c4a; stroke-width: 5; stroke-linecap: round; }
.om-palm-nut { fill: #6b4a2b; }
.om-palm { filter: drop-shadow(0 1px 0 rgba(90, 70, 50, .35)); }
.om-dot { fill: var(--ink); stroke: #fffaf1; stroke-width: 2; }
.om-leader { fill: none; stroke: var(--ink-soft); stroke-width: 1.2; }
.om-crater { fill: none; stroke: #8a6a45; stroke-width: 2.6; stroke-linecap: round; }
.om-heart { fill: var(--accent); stroke: #fffaf1; stroke-width: 1.2; }
.om-pulse { fill: none; stroke: var(--accent); stroke-width: 2; }
.om-title { font-family: 'Bebas Neue', sans-serif; font-size: 66px; letter-spacing: .04em; fill: var(--ink); }
.om-venue { font-family: 'Black Han Sans', sans-serif; font-size: 32px; fill: var(--accent); }
html[lang='en'] .om-venue { font-family: 'Bebas Neue', sans-serif; font-size: 40px; letter-spacing: .03em; }
.om-sub { font-family: var(--f-type); font-size: 18px; font-weight: 700; fill: var(--ink-soft); }
.om-label { font-family: var(--f-type); font-size: 20px; font-weight: 700; fill: var(--ink); }
.om-tiny { font-family: var(--f-type); font-size: 16px; fill: var(--ink-soft); }
.om-region { font-family: var(--f-type); font-size: 22px; font-weight: 700; fill: #8a6a45; }
.om-ocean { font-family: var(--f-type); font-size: 14px; letter-spacing: .3em; fill: #7d958f; }
.om-halo, .om-halo-sea { paint-order: stroke; stroke-width: 6px; stroke-linejoin: round; }
.om-halo { stroke: #f6ead0; }
.om-halo-sea { stroke: #dde4dc; }
.om-compass circle { fill: none; stroke: var(--ink-soft); stroke-width: 1.4; }
.om-compass path { fill: var(--ink); }
.om-compass text { font-family: var(--f-type); font-size: 14px; fill: var(--ink); }
.om-inset-box { fill: #e8ece3; stroke: #8a6a45; stroke-width: 1.2; stroke-dasharray: 4 4; }
.om-inset ellipse { fill: #d7c49b; }
.om-inset-oahu { fill: var(--accent); }
.om-inset-ring { fill: none; stroke: var(--accent); stroke-width: 1.2; }
.venue { margin: 30px 0 4px; font-family: var(--f-poster-en); font-size: 31px; font-weight: 400; letter-spacing: .04em; line-height: 1.1; }
.venue-sub { margin: 0; font-size: 14px; color: var(--cream-soft); }
.addr { margin: 6px 0 0; font-family: var(--f-type); font-size: 12.5px; color: var(--cream-soft); }
.callsheet { max-width: 360px; margin: 24px auto 0; border: 1px solid var(--rule); border-radius: 4px; background: var(--bg-2); text-align: left; }
.cs-head { display: flex; justify-content: space-between; margin: 0; padding: 8px 14px; border-bottom: 1px dashed var(--rule); font-family: var(--f-type); font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--orange); }
.spots { margin: 0; padding: 0 14px; list-style: none; }
.spots li { display: grid; grid-template-columns: 62px 1fr; gap: 10px; padding: 12px 0; border-bottom: 1px dashed var(--rule); }
.spots li:last-child { border-bottom: 0; }
.spots .tm { padding-top: 1px; font-family: var(--f-stamp); font-size: 15px; color: var(--amber); }
.spots b { display: block; font-size: 15px; line-height: 1.5; }
.spots small { font-size: 13px; color: var(--cream-soft); }
.note { margin: 16px 0 0; font-size: 13px; line-height: 1.7; color: var(--cream-soft); }
.where .hawaii { margin-top: 48px; }

/* ── 하와이 안내 (비행기 탑승권 모양 버튼) ───────────────── */
.boarding { display: block; width: 100%; max-width: 360px; margin: 0 auto; padding: 0; border: 0; background: none; color: var(--ink); text-align: left; cursor: pointer; filter: drop-shadow(0 10px 14px rgba(40, 18, 6, .35)); transform: rotate(-1.2deg); }
.boarding:active { transform: rotate(-1.2deg) translateY(1px); }
/* 절취선 양옆이 동그랗게 파인 종이 */
.bp {
  --cut: 64px;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--cut);
  overflow: hidden;
  border-radius: 12px;
  background: #fffaf1;
  -webkit-mask: radial-gradient(circle 10px at calc(100% - var(--cut)) 0, transparent 97%, #000 100%) top / 100% 51% no-repeat, radial-gradient(circle 10px at calc(100% - var(--cut)) 100%, transparent 97%, #000 100%) bottom / 100% 51% no-repeat;
  mask: radial-gradient(circle 10px at calc(100% - var(--cut)) 0, transparent 97%, #000 100%) top / 100% 51% no-repeat, radial-gradient(circle 10px at calc(100% - var(--cut)) 100%, transparent 97%, #000 100%) bottom / 100% 51% no-repeat;
}
.bp-main { min-width: 0; }
.bp-head { display: flex; justify-content: space-between; padding: 9px 16px 8px; background: linear-gradient(90deg, #2f6f8a, #3f8aa3); color: #fff4e2; font-family: var(--f-stamp); font-size: 12px; letter-spacing: .18em; }
.bp-route { display: grid; grid-template-columns: auto 1fr auto; align-items: end; gap: 10px; padding: 14px 18px 2px; }
.bp-route small, .bp-info small { display: block; font-family: var(--f-stamp); font-size: 9.5px; letter-spacing: .16em; color: var(--muted); }
.bp-from b, .bp-to b { display: block; font-family: var(--f-stamp); font-weight: 400; color: var(--ink); line-height: 1.05; }
.bp-from b { font-size: 22px; }
.bp-to { text-align: right; }
.bp-to b { font-size: 38px; color: #2f6f8a; }
.bp-to i { display: block; font-family: var(--f-type); font-size: 11px; font-style: normal; color: var(--ink-soft); }
.bp-path { position: relative; height: 34px; margin-bottom: 14px; }
.bp-path svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.bp-path path { fill: none; stroke: #b9573a; stroke-width: 1.4; stroke-dasharray: 3 4; vector-effect: non-scaling-stroke; }
.bp-path i { position: absolute; left: 50%; top: -6px; font-size: 20px; font-style: normal; line-height: 1; color: #b9573a; transform: translateX(-50%) rotate(-8deg); }
.bp-title { display: block; padding: 8px 18px 0; font-size: 21px; font-weight: 700; line-height: 1.45; }
html[lang='en'] .bp-title { font-family: var(--f-display-en); font-size: 25px; font-weight: 600; }
.bp-sub { display: block; padding: 2px 18px 0; font-size: 12.5px; line-height: 1.6; color: var(--ink-soft); }
.bp-info { display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between; gap: 6px; margin: 12px 18px 16px; padding-top: 10px; border-top: 1px solid var(--line); font-family: var(--f-stamp); font-size: 13.5px; color: var(--ink); }
.bp-stub { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 14px; height: var(--cut); padding: 0 18px; background: #f6ecd9; }
.bp-stub::before { content: ''; position: absolute; top: 0; left: 14px; right: 14px; border-top: 2px dashed rgba(110, 92, 73, .45); }
.bp-code { flex: 1; max-width: 190px; height: 40px; color: var(--ink); }
.bp-code svg { display: block; width: 100%; height: 100%; fill: currentColor; opacity: .85; }
.bp-act { flex: none; padding: 7px 14px; border: 1.3px solid #b9573a; border-radius: 999px; color: #b9573a; font-size: 13.5px; line-height: 1.2; }
.boarding[aria-expanded='true'] .when-closed, .boarding[aria-expanded='false'] .when-open { display: none; }

.hawaii-body {
  position: relative;
  display: grid;
  gap: 13px;
  margin: 25px 0 0 5px;
  padding-left: 13px;
  border-left: 1px dashed #83aaa1;
  text-align: left;
  animation: fadeUp .5s ease;
}
.hawaii-body[hidden] { display: none; }
.hawaii-body::before { content: ''; position: absolute; left: -1px; top: -20px; height: 20px; border-left: 1px dashed #83aaa1; }
/* 위 탑승권과 같은 종이색·청록색 띠를 쓰는 하위 안내 칸 */
.hawaii-body .notebook {
  position: relative;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(110, 92, 73, .25);
  border-radius: 8px;
  background: #f8f1e3;
  color: var(--ink);
  box-shadow: 0 3px 8px rgba(24, 49, 41, .12);
  font-size: 14.5px;
  line-height: 1.85;
}
.hawaii-body .notebook::before { content: none; }
.hawaii-body .notebook h3 {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  padding: 10px 13px;
  background: #c5ddd5;
  color: #315c54;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.3;
}
html[lang='en'] .hawaii-body .notebook h3 { font-weight: 400; }
.hawaii-body .notebook .no {
  flex: none;
  margin: 0;
  font-family: var(--f-stamp);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: .08em;
  color: #58786e;
}
.hawaii-body .notebook p {
  margin: 0;
  padding: 14px 16px 16px;
  border-top: 1px dashed rgba(110, 92, 73, .4);
  border-bottom: 5px solid #eee5d2;
}
.hawaii-body .notebook a { color: #2f6d65; text-underline-offset: 3px; }
.hawaii-body .notebook .muted { color: #80725e; }
.muted { color: var(--muted); }

/* 오른쪽 절취선과 수평으로 정렬한 노선 */
.bp-head { gap: 6px; padding: 9px 10px 8px; font-size: 9px; letter-spacing: .08em; }
.bp-route { grid-template-columns: minmax(0, 1.4fr) minmax(20px, .6fr) minmax(0, 1fr); align-items: start; gap: 5px; padding: 14px 12px 2px; }
.bp-from, .bp-to { display: grid; grid-template-rows: 15px 28px 16px; }
.bp-from b, .bp-to b { font-size: clamp(16px, 4.4vw, 20px); line-height: 28px; white-space: nowrap; }
.bp-path { height: 28px; margin: 15px 0 0; }
.bp-path i { top: 2px; }
.bp-title { padding-left: 12px; padding-right: 12px; }
.bp-sub { padding-left: 12px; padding-right: 12px; }
.bp-info { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin-left: 12px; margin-right: 12px; font-size: 12px; }
.bp-stub { height: auto; padding: 18px 7px; flex-direction: column; justify-content: center; gap: 18px; }
.bp-stub::before { top: 12px; bottom: 12px; left: 0; right: auto; border-top: 0; border-left: 2px dashed rgba(110, 92, 73, .45); }
.bp-code { flex: none; width: 36px; height: 110px; }
.bp-act { padding: 10px 5px; font-size: 12px; writing-mode: vertical-rl; }

/* 크림 종이 탑승권: 본권과 오른쪽 보관용 티켓 */
.boarding { max-width: 440px; transform: rotate(-1deg); }
.bp { --cut: 90px; border-radius: 15px; background: #f8f1e3; }
.bp-main { position: relative; padding-bottom: 4px; background: radial-gradient(ellipse at 58% 44%, rgba(89, 126, 122, .09), transparent 65%); box-shadow: inset 0 0 0 1px rgba(110,92,73,.2); border-radius: 15px 0 0 15px; }
.bp-head { padding: 11px 12px; background: #567c79; border-radius: 14px 0 30px 0; font-size: 10px; letter-spacing: .07em; }
.bp-head > span:last-child { font-size: 8px; align-self: center; }
.bp-route { grid-template-columns: minmax(0, 1.4fr) 32px minmax(0, 1fr); gap: 4px; padding-top: 19px; }
.bp-from, .bp-to { grid-template-rows: 15px 30px 15px; }
.bp-from b, .bp-to b { font-size: clamp(16px, 4.2vw, 23px); line-height: 30px; letter-spacing: -.05em; }
.bp-to b { color: #365e5b; }
.bp-from i, .bp-to i { font-family: var(--f-stamp); font-style: normal; font-size: 8px; line-height: 15px; color: #ad674e; white-space: nowrap; }
.bp-path { margin-top: 15px; height: 30px; }
.bp-path svg { top: 5px; height: 20px; }
.bp-path path { stroke: #8c9b8b; stroke-dasharray: 2 3; }
.bp-path i { top: 0; font-size: 29px; color: #365e5b; transform: translateX(-50%); }
.bp-title { font-size: 18px; padding-top: 13px; }
html[lang='en'] .bp-title { font-size: 22px; }
.bp-sub { font-size: 11px; }
.bp-info { font-size: 11px; margin-top: 10px; margin-bottom: 11px; gap: 7px; }
.bp-info small { font-size: 8px; }
.bp-stub { justify-content: flex-start; gap: 9px; padding: 0 8px 12px; background: #eee5d2; border-radius: 0 15px 15px 0; }
.bp-stub::before { top: 13px; bottom: 13px; border-left: 2px dashed #b8aa91; }
.bp-stub-head { width: calc(100% + 16px); padding: 8px 4px; border-radius: 0 14px 0 22px; background: #567c79; color: #fff4e2; text-align: center; font-family: var(--f-stamp); font-size: 9px; line-height: 1.25; }
.bp-mini-route { display: grid; grid-template-columns: 1fr; text-align: center; font-family: var(--f-stamp); }
.bp-mini-route small { font-size: 7px; color: #8e806c; }
.bp-mini-route b { font-size: 12px; font-weight: 400; line-height: 1.5; color: #365e5b; }
.bp-mini-route > span { font-size: 17px; color: #ad674e; line-height: 1.2; }
.bp-stub-date { font-family: var(--f-stamp); font-size: 8px; line-height: 1.5; text-align: center; }
.bp-code { width: 100%; height: 25px; margin-top: auto; }
.bp-act { writing-mode: horizontal-tb; padding: 6px 7px; font-size: 10px; text-align: center; border-radius: 3px; }
@media (max-width: 360px) { .bp { --cut: 75px; } .bp-head > span:last-child { display: none; } .bp-route { padding-left: 9px; padding-right: 9px; grid-template-columns: minmax(0, 1.4fr) 24px minmax(0, 1fr); } .bp-from b, .bp-to b { font-size: 15px; } .bp-from i, .bp-to i { font-size: 7px; } }

/* 절취 경계에 맞춘 띠와 종이 펀칭, 낮춘 티켓 높이 */
.bp { --cut: 86px; border-radius: 13px; }
.bp-main { border-radius: 13px 0 0 13px; padding-bottom: 0; }
.bp-head { height: 34px; box-sizing: border-box; padding: 10px 12px; border-radius: 12px 0 18px 0; align-items: center; }
.bp-stub { padding: 0 8px 9px; gap: 6px; border-radius: 0 13px 13px 0; }
.bp-stub-head { height: 34px; box-sizing: border-box; padding: 6px 4px; border-radius: 0 12px 0 18px; font-size: 8px; line-height: 11px; }
.bp-stub::before { top: 12px; bottom: 12px; left: -3px; width: 6px; border: 0; background: radial-gradient(circle at center, #d4c8b2 0 1.3px, #fffaf1 1.5px 2.5px, transparent 2.8px) center top / 6px 10px repeat-y; }
.bp-route { padding-top: 11px; }
.bp-from, .bp-to { grid-template-rows: 12px 26px 12px; }
.bp-from b, .bp-to b { line-height: 26px; }
.bp-from i, .bp-to i { line-height: 12px; }
.bp-path { margin-top: 12px; height: 26px; }
.bp-title { padding-top: 7px; font-size: 17px; line-height: 1.3; }
html[lang=en] .bp-title { font-size: 20px; }
.bp-sub { font-size: 10px; line-height: 1.4; }
.bp-info { grid-template-columns: repeat(4, auto); gap: 4px; margin: 8px 10px 10px; padding-top: 7px; font-size: 8.5px; }
.bp-info small { font-size: 6.5px; letter-spacing: .08em; }
.bp-mini-route { grid-template-columns: 1fr auto 1fr; align-items: center; column-gap: 2px; margin-top: 5px; }
.bp-mini-route small { font-size: 6px; }
.bp-mini-route small:first-child { grid-column: 1; grid-row: 1; }
.bp-mini-route b:nth-child(2) { grid-column: 1; grid-row: 2; font-size: 8px; white-space: nowrap; }
.bp-mini-route > span { grid-column: 2; grid-row: 2; font-size: 11px; }
.bp-mini-route small:nth-child(4) { grid-column: 3; grid-row: 1; }
.bp-mini-route b:last-child { grid-column: 3; grid-row: 2; font-size: 10px; }
.bp-stub-date { font-size: 7px; }
.bp-code { height: 21px; }
.bp-act { padding: 5px 6px; font-size: 9px; }
@media (max-width: 360px) { .bp { --cut: 75px; } .bp-info { font-size: 7.5px; } .bp-mini-route { column-gap: 1px; } .bp-mini-route b:nth-child(2) { font-size: 7px; } }

/* 공항 사이를 잇는 긴 노선과 종이 절취선 */
.bp-route { grid-template-columns: max-content minmax(36px, 1fr) max-content; gap: 5px; }
.bp-from b { font-size: clamp(14px, 3.7vw, 19px); }
.bp-to b { font-size: clamp(19px, 5vw, 25px); }
.bp-path { min-width: 0; width: 100%; }
.bp-path svg { inset: 0; top: 3px; width: 100%; height: 22px; }
.bp-path path { stroke-width: 1; stroke-dasharray: 3 3; stroke: #8a9686; }
.bp-path i { font-size: 23px; top: 1px; padding: 0 2px; background: #f5efe2; line-height: 24px; }
.bp-stub::before { top: 11px; bottom: 11px; left: -1px; width: 2px; background: repeating-linear-gradient(to bottom, rgba(124, 108, 82, .38) 0 3px, transparent 3px 7px); filter: none; }
.bp { -webkit-mask: radial-gradient(circle 9px at calc(100% - var(--cut)) 0, transparent 96%, #000 100%) top / 100% 51% no-repeat, radial-gradient(circle 9px at calc(100% - var(--cut)) 100%, transparent 96%, #000 100%) bottom / 100% 51% no-repeat; mask: radial-gradient(circle 9px at calc(100% - var(--cut)) 0, transparent 96%, #000 100%) top / 100% 51% no-repeat, radial-gradient(circle 9px at calc(100% - var(--cut)) 100%, transparent 96%, #000 100%) bottom / 100% 51% no-repeat; }
@media (max-width: 360px) { .bp-route { grid-template-columns: max-content minmax(28px, 1fr) max-content; gap: 3px; } .bp-from b { font-size: 13px; } .bp-to b { font-size: 19px; } }

/* 노선은 비행기 뒤에서도 이어지고, 펼치기 안내는 본권 가운데에 표시 */
.bp-path i { background: transparent; padding: 0; }
.bp-main > .bp-act { display: table; margin: 9px auto 7px; padding: 7px 18px; background: #b9573a; border: 1px solid #a84b32; border-radius: 999px; color: #fffaf1; font-size: 12px; font-weight: 700; line-height: 1.2; box-shadow: 0 2px 4px rgba(100, 45, 25, .15); }

/* 안내 제목 옆 펼치기, 항로 위 비행기 */
.bp-title-row { display: flex; align-items: center; justify-content: space-between; gap: 7px; padding: 9px 12px 2px; }
.bp-title-row .bp-title { min-width: 0; padding: 0; font-size: 16px; }
html[lang='en'] .bp-title-row .bp-title { font-size: 19px; }
.bp-title-row > .bp-act { flex: none; padding: 6px 8px; border-radius: 999px; background: #b9573a; border-color: #a84b32; color: #fffaf1; font-size: 10px; font-weight: 700; line-height: 1.2; white-space: nowrap; }
.bp-path i { top: -15px; font-size: 23px; line-height: 23px; }

/* 하와이 안내 제목과 펼치기는 티켓 아래에 배치 */
.boarding { transform: none; filter: none; }
.boarding:active { transform: translateY(1px); }
.boarding > .bp { transform: none; filter: drop-shadow(0 8px 12px rgba(40, 18, 6, .3)); }
.boarding-caption { display: block; margin-top: 17px; }
.boarding-caption .bp-title-row { gap: 10px; padding: 0; }
.boarding-caption .bp-title { color: var(--on-bg); font-size: 20px; }
html[lang='en'] .boarding-caption .bp-title { font-size: 23px; }
.boarding-caption .bp-act { padding: 8px 12px; font-size: 12px; }
.boarding-caption .bp-sub { padding: 6px 0 0; color: var(--on-bg-soft); font-size: 12px; }
@media (max-width: 360px) {
  .boarding-caption .bp-title { font-size: 17px; }
  html[lang='en'] .boarding-caption .bp-title { font-size: 20px; }
  .boarding-caption .bp-title-row { gap: 7px; }
  .boarding-caption .bp-act { padding: 7px 9px; font-size: 11px; }
}

/* 티켓 안내의 작은 여행 아이콘 */
.hawaii-body .notebook h3 { align-items: center; gap: 9px; }
.travel-icon { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 30px; width: 30px; height: 30px; border-radius: 8px; background: rgba(255,255,255,.35); color: #386c60; }
.travel-icon svg { display: block; width: 21px; height: 21px; }
.travel-title { flex: 1; min-width: 0; }
.hawaii-body .notebook h3 .no { font-size: 9px; }

/* 하와이 안내 칸 제목: 타자기 글씨 */
.hawaii-body .notebook h3 { font-family: var(--f-type); font-size: 17px; font-weight: 700; }
.boarding-caption .bp-title { font-family: var(--f-poster); font-weight: 400; }
html[lang='en'] .boarding-caption .bp-title { font-size: 26px; letter-spacing: .03em; }

/* ── 9. RSVP: 영화표 ────────────────────────────────────── */
.movie-ticket { position: relative; max-width: 420px; margin: 0 auto; text-align: left; filter: drop-shadow(0 18px 28px rgba(0, 0, 0, .5)); }
.tk-head { position: relative; padding: 14px 18px 18px; border-radius: 10px 10px 0 0; background: linear-gradient(180deg, #f59d42, #e2761f); color: #2a1406; }
.tk-head::after { content: ''; position: absolute; left: 18px; right: 18px; bottom: -1px; border-bottom: 2px dashed rgba(43, 20, 6, .4); }
.tk-row { display: flex; justify-content: space-between; margin: 0; font-family: var(--f-type); font-size: 12px; font-weight: 700; letter-spacing: .26em; }
.tk-title { margin: 6px 0 10px; font-family: var(--f-poster); font-size: 34px; line-height: 1.05; text-align: center; color: #1d0d03; }
html[lang='en'] .tk-title { font-size: 42px; letter-spacing: .04em; }
.tk-info { display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between; gap: 6px; margin: 0; font-family: var(--f-stamp); font-size: 13px; line-height: 1.3; }
.tk-info small { display: block; font-size: 8.5px; letter-spacing: .16em; opacity: .7; }
.tk-body { position: relative; padding: 26px 20px 22px; border-radius: 0 0 10px 10px; background: var(--card); color: var(--ink); }
/* 절취선 양쪽의 둥근 홈 */
.tk-body::before, .tk-body::after { content: ''; position: absolute; top: -12px; width: 24px; height: 24px; border-radius: 50%; background: var(--bg); }
.tk-body::before { left: -12px; }
.tk-body::after { right: -12px; }
.tk-body .desc { margin: 0 0 20px; font-size: 14px; line-height: 1.8; color: var(--ink-soft); }
html[lang='en'] .tk-body .desc { font-size: 13.5px; line-height: 1.7; }
.field { display: block; min-width: 0; margin: 0 0 18px; padding: 0; border: 0; }
.flabel { display: block; margin-bottom: 2px; padding: 0; font-family: var(--f-type); font-size: 12.5px; font-weight: 700; color: var(--ink-soft); }
.movie-ticket input, .movie-ticket select, .movie-ticket textarea {
  width: 100%;
  padding: 6px 2px;
  border: 0;
  border-bottom: 1.3px solid var(--ink-soft);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  outline: none;
  color-scheme: light;
}
.movie-ticket input:focus, .movie-ticket select:focus, .movie-ticket textarea:focus { border-color: var(--accent); }
.movie-ticket ::placeholder { color: #b6a58f; }
.movie-ticket input[type='date'] { min-height: 38px; -webkit-appearance: none; appearance: none; }
.movie-ticket select { -webkit-appearance: none; appearance: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236e5c49' stroke-width='1.5'/%3E%3C/svg%3E") right 4px center no-repeat; }
.movie-ticket textarea { padding: 8px; border: 1.3px solid var(--line); background: rgba(255, 255, 255, .5); line-height: 1.6; resize: vertical; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.radios { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 6px; }
.seat-radio, .check { position: relative; cursor: pointer; }
.seat-radio input, .check input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.seat-radio span { display: inline-block; padding: 9px 14px; border: 1.4px solid rgba(43, 33, 26, .35); border-radius: 10px 10px 4px 4px; background: rgba(255, 255, 255, .55); font-size: 14px; transition: all .2s; }
.seat-radio input:checked + span { border-color: var(--accent); background: var(--accent); color: #fff8ec; font-weight: 700; }
.seat-radio input:focus-visible + span, .check input:focus-visible + .box { outline: 2px solid var(--accent); outline-offset: 2px; }
.check { display: flex; align-items: center; gap: 10px; margin: 8px 0; font-size: 15px; }
.check .box { display: inline-grid; place-items: center; width: 20px; height: 20px; border: 1.5px solid var(--ink-soft); background: rgba(255, 255, 255, .5); }
.check input:checked + .box::after { content: '✓'; font-family: var(--f-type); font-size: 18px; font-weight: 700; line-height: 1; color: var(--accent); }
.movie-ticket .btn.primary { width: 100%; margin-top: 8px; }
.contact-note { margin: -4px 0 14px; font-size: 13.5px; line-height: 1.6; color: var(--accent); }
.form-msg:empty { display: none; }
.form-msg { min-height: 1.4em; margin: 12px 0 0; font-size: 14px; line-height: 1.6; text-align: center; color: var(--accent); }

/* ── 10. 마음 전하실 곳 ─────────────────────────────────── */
.gift .desc { margin: 0 0 26px; font-size: 14.5px; line-height: 1.9; color: var(--cream-soft); }
.acc { margin: 0 0 10px; border: 1px solid var(--rule); border-radius: 4px; background: var(--bg-2); text-align: left; }
.acc summary { display: flex; align-items: center; justify-content: space-between; padding: 15px 18px; font-family: var(--f-type); font-weight: 700; list-style: none; cursor: pointer; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: '+'; font-family: var(--f-type); font-size: 20px; color: var(--orange); }
.acc[open] summary::after { content: '–'; }
.acc ul { margin: 0; padding: 0; list-style: none; }
.acct { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 10px; padding: 14px 18px; border-top: 1px dashed var(--rule); }
.acct .who { margin: 0; font-size: 15px; }
.acct .who small { margin-right: 8px; font-size: 12.5px; color: var(--orange); }
.acct .num { grid-column: 1; margin: 0; font-family: var(--f-stamp); font-size: 14px; color: var(--cream-soft); }
.acct .btns { grid-column: 2; grid-row: 1 / span 2; display: flex; flex-direction: column; gap: 6px; }
.mini { min-height: 32px; padding: 6px 12px; border: 1px solid rgba(243, 233, 216, .45); border-radius: 999px; background: transparent; color: var(--cream); font-family: var(--f-type); font-size: 12.5px; line-height: 1.4; text-align: center; text-decoration: none; white-space: nowrap; cursor: pointer; }
.mini.kp { border-color: #e2cc00; background: #fee500; color: #3c1e1e; }
.mini.toss { border-color: #3182f6; background: #3182f6; color: #fff; }
.mini.venmo { border-color: #3d95ce; background: #3d95ce; color: #fff; }

/* ── 11. 엔딩 크레딧 (방명록) ───────────────────────────── */
.sec.credits { padding: 72px 0 34px; }
.roll { position: relative; height: min(68vh, 560px); height: min(68svh, 560px); margin-top: 6px; overflow: hidden; cursor: pointer; -webkit-mask-image: linear-gradient(transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(transparent, #000 14%, #000 86%, transparent); }
.roll:focus-visible { outline-offset: -4px; }
.roll-inner { position: absolute; top: 0; left: 0; right: 0; padding: 0 28px; will-change: transform; }
.cr-block { margin: 0 0 48px; }
.cr-name { margin: 0; font-family: var(--f-bill); font-size: 21px; font-weight: 400; letter-spacing: .06em; line-height: 1.45; text-transform: uppercase; }
.cr-guests { margin: 14px 0 0; padding: 0; list-style: none; }
.cr-guests li { margin: 0 0 22px; }
.g-name { margin: 0; font-family: var(--f-bill); font-size: 19px; letter-spacing: .05em; line-height: 1.4; }
.g-msg { margin: 3px auto 0; max-width: 320px; font-family: var(--f-type); font-size: 14px; line-height: 1.6; color: var(--cream-soft); white-space: pre-wrap; }
.cr-guests li.mine .g-name { color: var(--amber); text-shadow: 0 0 14px rgba(255, 181, 71, .6); }
.cr-guests li.mine .g-msg { color: var(--cream); }
.cr-end { padding: 24px 0 8px; }
.roll-copy { padding-bottom: 34vh; }   /* THE END 뒤 잠깐 비었다가 처음부터 다시 */
.roll.static .roll-copy { padding-bottom: 20px; }
.cr-logo img { display: block; width: 78px; height: 78px; margin: 0 auto; border-radius: 50%; box-shadow: 0 0 30px rgba(240, 138, 36, .35); }
.cr-studio { margin: 12px 0 0; font-family: 'Bebas Neue', sans-serif; font-size: 17px; letter-spacing: .28em; color: var(--cream-soft); }
/* THE END에 빨간 X가 그어지고 → START */
.end-mark { margin-top: 30px; }
.the-end { position: relative; display: inline-block; margin: 0; padding-left: .14em; font-family: 'Bebas Neue', sans-serif; font-size: 58px; letter-spacing: .14em; line-height: 1; transition: opacity .6s ease .45s; }
.the-end span { transition: opacity .6s ease .45s; }
.end-mark.drawn .the-end span { opacity: .5; }
.x-out { position: absolute; left: -10px; top: -4px; width: calc(100% + 20px); height: calc(100% + 8px); overflow: visible; }
.x-out path { fill: none; stroke: var(--red); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.end-mark.drawn .x-out path { stroke-dashoffset: 0; transition: stroke-dashoffset .32s ease-out; }
.end-mark.drawn .x-out path + path { transition-delay: .36s; }
.start { margin: 16px 0 0; font-family: 'Bebas Neue', sans-serif; font-size: 76px; letter-spacing: .12em; line-height: 1; color: var(--amber); text-shadow: 0 0 24px rgba(255, 181, 71, .55); opacity: 0; transform: scale(.88); transition: opacity .6s ease, transform .6s cubic-bezier(.3, 1.5, .5, 1); }
.end-mark.drawn .start { opacity: 1; transform: none; transition-delay: .8s; }
.roll-state { position: absolute; top: 18%; right: 16px; display: none; padding: 3px 8px; border: 1px solid rgba(243, 233, 216, .4); border-radius: 3px; background: rgba(11, 9, 8, .7); font-family: var(--f-type); font-size: 11px; letter-spacing: .16em; color: var(--cream-soft); }
.roll-state::after { content: '❚❚ PAUSE'; }
.roll.paused .roll-state { display: block; }
.roll-hint { margin: 10px 24px 0; font-family: var(--f-type); font-size: 12px; color: var(--cream-dim); }
.cr-count { margin: 18px 24px 14px; font-family: var(--f-type); font-size: 14px; color: var(--cream-soft); }
.cr-count b { color: var(--amber); }
/* 움직임 줄이기: 저절로 올라가지 않고 손으로 스크롤 */
.roll.static { height: auto; max-height: 70vh; overflow-y: auto; cursor: auto; -webkit-mask-image: none; mask-image: none; }
.roll.static .roll-inner { position: static; padding-top: 20px; transform: none !important; }

/* ── 마무리 ─────────────────────────────────────────────── */
.sec.closing { padding: 40px 24px calc(56px + env(safe-area-inset-bottom)); }
.end-title { margin: 0; font-family: var(--f-poster); font-size: 40px; line-height: 1.15; }
html[lang='en'] .end-title { font-size: 52px; letter-spacing: .04em; line-height: 1; }
.foot span { white-space: nowrap; }
.foot { margin: 42px 0 0; font-family: var(--f-type); font-size: 11px; letter-spacing: .14em; color: var(--cream-dim); }

/* ── 크레딧에 이름 올리기 창 ────────────────────────────── */
.sheet { position: fixed; inset: 0; z-index: 66; display: flex; align-items: flex-end; justify-content: center; background: rgba(0, 0, 0, .72); animation: fadeIn .2s ease; }
.sheet-card { position: relative; width: 100%; max-width: 480px; padding: 30px 22px calc(24px + env(safe-area-inset-bottom)); border-top: 1px solid var(--rule); border-radius: 14px 14px 0 0; background: var(--bg-3); color: var(--cream); text-align: center; box-shadow: 0 -10px 30px rgba(0, 0, 0, .5); animation: sheetUp .35s cubic-bezier(.2, .8, .2, 1); }
.sheet-card h3 { margin: 0 0 6px; font-family: var(--f-poster); font-size: 28px; font-weight: 400; line-height: 1.2; }
html[lang='en'] .sheet-card h3 { font-size: 34px; letter-spacing: .03em; }
.sheet-sub { margin: 0 0 18px; font-size: 13.5px; line-height: 1.6; color: var(--cream-soft); }
.sheet-close { position: absolute; top: 8px; right: 10px; width: 44px; height: 44px; border: 0; background: none; color: var(--cream-soft); font-size: 28px; cursor: pointer; }
.gb-form { display: grid; gap: 12px; text-align: left; }
.gb-form input, .gb-form textarea { width: 100%; padding: 11px 12px; border: 1px solid var(--rule); border-radius: 4px; background: rgba(243, 233, 216, .06); color: var(--cream); font-family: var(--f-type); font-size: 16px; line-height: 1.5; outline: none; resize: vertical; }
.gb-form input:focus, .gb-form textarea:focus { border-color: var(--orange); }
.gb-form ::placeholder { color: var(--cream-dim); }
.gb-form .form-msg { color: var(--amber); }
@keyframes sheetUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }

/* ── 사진 크게 보기 ─────────────────────────────────────── */
.lightbox { position: fixed; inset: 0; z-index: 72; display: grid; place-items: center; padding: 20px; background: rgba(0, 0, 0, .95); animation: fadeIn .25s ease; }
.lb-photo { margin: 0; text-align: center; }
.lb-frame img { display: block; width: auto; max-width: 92vw; height: auto; max-height: 70vh; margin: 0 auto; object-fit: contain; box-shadow: 0 0 0 1px rgba(243, 233, 216, .12); }
.lb-photo figcaption { min-height: 24px; margin-top: 14px; font-family: var(--f-type); }
.lb-date { display: block; font-size: 12px; letter-spacing: .1em; color: var(--orange); }
.lb-cap { display: block; margin-top: 2px; font-size: 16px; font-weight: 700; color: var(--cream); }
.lb-close, .lb-nav { position: absolute; border: 0; background: none; color: var(--cream); cursor: pointer; }
.lb-close { top: max(10px, env(safe-area-inset-top)); right: 12px; width: 44px; height: 44px; font-size: 32px; line-height: 1; }
.lb-nav { top: 50%; width: 44px; height: 64px; font-size: 40px; opacity: .8; transform: translateY(-50%); }
.lb-prev { left: 2px; }
.lb-next { right: 2px; }
.lb-count { position: absolute; left: 0; right: 0; bottom: max(16px, env(safe-area-inset-bottom)); margin: 0; font-family: var(--f-stamp); font-size: 12px; letter-spacing: .2em; text-align: center; color: rgba(243, 233, 216, .7); }

/* ── 알림 ───────────────────────────────────────────────── */
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(24px + env(safe-area-inset-bottom));
  z-index: 90;
  width: max-content;
  max-width: calc(100vw - 40px);
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--cream);
  color: var(--bg);
  font-family: var(--f-type);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  opacity: 0;
  transform: translate(-50%, 16px);
  transition: opacity .25s, transform .25s;
  pointer-events: none;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ── 움직임 줄이기 설정 ─────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
  html { scroll-behavior: auto; }
  .reel { overflow-x: auto; }
  .reel-track { animation: none !important; }
}

/* 영어 안내 칸 제목도 굵게 */
html[lang='en'] .hawaii-body .notebook h3 { font-weight: 700; }
