/* hidden 속성은 클래스의 display(grid·flex)보다 앞선다(참석 폼·티맵 버튼 숨김이 안 되던 문제) */
[hidden] { display: none !important; }

/* ───────── 글꼴 ───────── */
@font-face { font-family: 'Bookk'; src: url(../assets/fonts/BookkMyungjo_Light.ttf) format('truetype'); font-weight: 300; font-display: swap; }
@font-face { font-family: 'Maru'; src: url(../assets/fonts/MaruBuri-Light.woff2) format('woff2'); font-weight: 300; font-display: swap; }
@font-face { font-family: 'Maru'; src: url(../assets/fonts/MaruBuri-Regular.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Maru'; src: url(../assets/fonts/MaruBuri-SemiBold.woff2) format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Cinzel'; src: url(../assets/fonts/Cinzel.woff2) format('woff2'); font-weight: 400 900; font-display: swap; }
@font-face { font-family: 'Cormorant'; src: url(../assets/fonts/CormorantGaramond.woff2) format('woff2'); font-weight: 300 700; font-display: swap; }
@font-face { font-family: 'Pinyon'; src: url(../assets/fonts/PinyonScript-Regular.woff2) format('woff2'); font-display: swap; }

:root {
  --paper: #f7f1e6; --paper-2: #efe6d6; --ink: #2f2820; --ink-soft: #6c6052; --line: #e0d2ba;
  --gold: #b0874a; --gold-2: #dcc08a; --gold-3: #84652f; --rose: #c4837a;
  --night: #17192b;
  --foil: linear-gradient(100deg, #8a6a36 0%, #dcc08a 22%, #fff4d6 34%, #c9a35f 48%, #8a6a36 62%, #ead29c 80%, #a37f45 100%);
  --seal: polygon(50% 0, 61% 3%, 72% 1%, 80% 9%, 91% 12%, 95% 24%, 100% 35%, 97% 47%, 100% 60%, 94% 70%, 92% 82%, 81% 88%, 72% 98%, 60% 96%, 50% 100%, 39% 96%, 28% 99%, 19% 89%, 8% 84%, 5% 72%, 0 61%, 3% 48%, 0 36%, 6% 25%, 9% 12%, 20% 9%, 29% 1%, 40% 4%);
  --fs: 1; --w: min(100vw, 480px); --safe-b: env(safe-area-inset-bottom, 0px);
}
* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; }
html.big { --fs: 1.16; }
body { font-family: 'Maru', 'Apple SD Gothic Neo', sans-serif; font-variant-numeric: lining-nums; color: var(--ink);
  font-size: calc(15.5px * var(--fs)); line-height: 1.85; letter-spacing: -0.01em; word-break: keep-all;
  background: #1b1712; overflow-x: hidden; }
body.lock { overflow: hidden; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
#app { width: var(--w); margin: 0 auto; background: var(--paper) url(../assets/img/paper.jpg); overflow: hidden; }
@media (min-width: 520px) { #app { box-shadow: 0 0 80px rgba(0, 0, 0, .5); } }

/* ───────── 공통 ───────── */
.sec { position: relative; padding: 96px 28px 88px; text-align: center; overflow: hidden; }
.sec.slim { padding: 72px 28px; }
.paper2 { background: #f2ebde url(../assets/img/paper.jpg); background-blend-mode: luminosity; }
.bg-word { position: absolute; top: 34px; left: 50%; transform: translateX(-50%); font-family: 'Pinyon', cursive; font-size: 92px; line-height: 1; color: var(--gold); opacity: .12; white-space: nowrap; pointer-events: none; }
.eyebrow { position: relative; font-family: 'Cinzel', serif; font-weight: 600; font-size: calc(11.5px * var(--fs)); letter-spacing: .42em; padding-left: .42em; color: var(--gold); }
.eyebrow.light { color: var(--gold-2); }
.title { position: relative; font-family: 'Bookk', serif; font-weight: 300; font-size: calc(29px * var(--fs)); line-height: 1.42; letter-spacing: -0.02em; margin: 10px 0 32px; }
.title.light { color: #fbf3e2; }
.desc { color: var(--ink-soft); font-size: calc(14.5px * var(--fs)); margin: -10px 0 28px; }
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 1.1s ease, transform 1.1s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 24px; border-radius: 999px; font-size: calc(14.5px * var(--fs)); transition: transform .15s, box-shadow .2s; }
.btn:active { transform: scale(.97); }
.btn.line { border: 1px solid var(--gold-2); color: var(--gold-3); background: rgba(255, 255, 255, .55); margin-top: 30px; }
.btn.soft { background: #fff; border: 1px solid var(--line); box-shadow: 0 2px 12px rgba(110, 80, 40, .07); }
.btn.gold { color: #fffaf0; background: linear-gradient(135deg, #c8a062, #94702f); box-shadow: 0 10px 24px rgba(148, 112, 47, .32); }
.btn.glass { color: #fff; background: rgba(30, 22, 14, .38); border: 1px solid rgba(255, 255, 255, .4); }
.btn.block { width: 100%; min-height: 56px; font-size: calc(16px * var(--fs)); }
.btn[disabled] { opacity: .55; cursor: default; }
.chip { display: inline-flex; align-items: center; gap: 4px; min-height: 34px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: calc(12.5px * var(--fs)); color: var(--gold-3); }
.chip .ic { width: 14px; height: 14px; }
.row-btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }

.ic { width: 18px; height: 18px; display: inline-block; background: currentColor; -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; flex: none; }
.ic-phone { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6'%3E%3Cpath d='M5 4h3l2 5-2.5 1.5a11 11 0 0 0 6 6L15 14l5 2v3a2 2 0 0 1-2 2A16 16 0 0 1 3 6a2 2 0 0 1 2-2z'/%3E%3C/svg%3E"); }
.ic-sms { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6'%3E%3Cpath d='M4 5h16v11H9l-5 4z'/%3E%3C/svg%3E"); }
.ic-cal { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6'%3E%3Crect x='3.5' y='5' width='17' height='15' rx='2'/%3E%3Cpath d='M3.5 10h17M8 3v4M16 3v4'/%3E%3C/svg%3E"); }
.ic-g { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Cpath d='M20 12.2A8 8 0 1 1 17.6 6.4M20 12h-7'/%3E%3C/svg%3E"); }
.ic-pin { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6'%3E%3Cpath d='M12 21s-7-6.3-7-11.5a7 7 0 0 1 14 0C19 14.7 12 21 12 21z'/%3E%3Ccircle cx='12' cy='9.5' r='2.5'/%3E%3C/svg%3E"); }
.ic-check { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.ic-heart { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6'%3E%3Cpath d='M12 20s-8-5-8-11a4.5 4.5 0 0 1 8-2.6A4.5 4.5 0 0 1 20 9c0 6-8 11-8 11z'/%3E%3C/svg%3E"); }
.ic-share { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6'%3E%3Cpath d='M12 3v12M7.5 7.5L12 3l4.5 4.5M5 13v6h14v-6'/%3E%3C/svg%3E"); }
.ic-link { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6'%3E%3Cpath d='M10 14a4 4 0 0 0 5.7 0l3-3a4 4 0 0 0-5.7-5.7l-1 1M14 10a4 4 0 0 0-5.7 0l-3 3a4 4 0 0 0 5.7 5.7l1-1'/%3E%3C/svg%3E"); }
.ic-pen { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6'%3E%3Cpath d='M4 20l4-1 11-11-3-3L5 16z'/%3E%3C/svg%3E"); }
.ic-copy { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6'%3E%3Crect x='8' y='8' width='12' height='12' rx='2'/%3E%3Cpath d='M16 8V5a1 1 0 0 0-1-1H5a1 1 0 0 0-1 1v10a1 1 0 0 0 1 1h3'/%3E%3C/svg%3E"); }
.ic-music { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6'%3E%3Cpath d='M9 18V5l11-2v13'/%3E%3Ccircle cx='6.5' cy='18' r='2.5'/%3E%3Ccircle cx='17.5' cy='16' r='2.5'/%3E%3C/svg%3E"); }
.ic-play { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 4.5v15l13-7.5z'/%3E%3C/svg%3E"); }

/* ───────── 오프너: 봉인된 카드 ───────── */
.opener { position: fixed; inset: 0; z-index: 90; pointer-events: none; display: flex; justify-content: center; }
.opener-leaf { width: calc(var(--w) / 2); height: 100%; background: #f3e8d2 url(../assets/img/paper.jpg); transition: transform 1.6s cubic-bezier(.7, 0, .2, 1) .9s; box-shadow: inset 0 0 90px rgba(150, 110, 60, .16); }
.opener-leaf.left { transform-origin: left; border-right: 1px solid #d6c39d; }
.opener-leaf.right { transform-origin: right; border-left: 1px solid #d6c39d; }
.opener-center { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); text-align: center; transition: opacity .6s .6s; }
.opener-date { font-family: 'Cinzel'; font-weight: 600; letter-spacing: .4em; font-size: 12px; color: var(--gold-3); margin-bottom: 18px; padding-left: .4em; white-space: nowrap; }
.opener-seal { width: 92px; height: 92px; margin: 0 auto; display: grid; place-items: center; clip-path: var(--seal);
  background: radial-gradient(circle at 35% 28%, #c8574d, #8d2b27 62%, #6c1d1a); }
.opener-seal span { font-family: 'Pinyon', cursive; font-size: 46px; color: #f6d9cd; margin-top: 6px; }
.opener-hint { font-family: 'Pinyon', cursive; font-size: 30px; color: var(--gold); margin-top: 14px; }
.opener.open .opener-leaf.left { transform: perspective(1400px) rotateY(-100deg); }
.opener.open .opener-leaf.right { transform: perspective(1400px) rotateY(100deg); }
.opener.open .opener-center { opacity: 0; }
.opener.gone { display: none; }

/* ───────── 표지: 글자가 인물 뒤로 ───────── */
.cover { position: relative; height: 100svh; min-height: 640px; max-height: 940px; overflow: hidden; color: #fff; background: #222; }
.cover-bg, .cover-cut { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; transform: scale(1.14); transition: transform 7s cubic-bezier(.2, .6, .2, 1); }
.ready .cover-bg, .ready .cover-cut { transform: scale(1.02); }
.cover-cut { z-index: 3; pointer-events: none; }
.cover-shade { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(20, 14, 8, .55) 0%, rgba(20, 14, 8, .05) 22%, rgba(20, 14, 8, 0) 50%, rgba(20, 14, 8, .25) 66%, rgba(20, 14, 8, .82) 100%); }
.cover-word { position: absolute; z-index: 2; left: 0; right: 0; top: 22%; text-align: center; font-family: 'Pinyon', cursive; line-height: .82; color: #fff8e8; text-shadow: 0 4px 30px rgba(60, 40, 10, .35); pointer-events: none; }
.cover-word span { display: block; font-size: calc(var(--w) * .30); opacity: 0; transform: translateY(40px); transition: opacity 1.6s, transform 1.6s cubic-bezier(.2, .7, .2, 1); }
.cover-word span:last-child { font-size: calc(var(--w) * .26); margin-left: 34%; transition-delay: .25s; }
.ready .cover-word span { opacity: .96; transform: none; }
.cover-top { position: absolute; z-index: 4; top: calc(20px + env(safe-area-inset-top, 0px)); left: 22px; right: 70px; display: flex; align-items: center; gap: 12px; font-family: 'Cinzel'; font-weight: 600; font-size: 10.5px; letter-spacing: .32em; }
.cover-top i { flex: 1; height: 1px; background: rgba(255, 255, 255, .6); }
.cover-bottom { position: absolute; z-index: 4; left: 22px; right: 22px; bottom: 66px; }
.cover-bottom > * { opacity: 0; transform: translateY(16px); transition: opacity 1.2s .5s, transform 1.2s .5s cubic-bezier(.2, .7, .2, 1); }
.ready .cover-bottom > * { opacity: 1; transform: none; }
.cover-names { font-family: 'Bookk', serif; font-weight: 300; font-size: calc(34px * var(--fs)); letter-spacing: .03em; display: flex; align-items: baseline; gap: 12px; text-shadow: 0 2px 14px rgba(0, 0, 0, .45); }
.cover-names em { font-family: 'Pinyon'; font-style: normal; font-size: .9em; color: var(--gold-2); }
.cover-meta { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: 12px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .55); }
.cover-date { font-family: 'Cormorant', serif; font-weight: 500; font-size: calc(56px * var(--fs)); line-height: .95; }
.cover-date small { display: block; margin-top: 6px; font-family: 'Cinzel'; font-weight: 600; font-size: 11px; letter-spacing: .26em; }
.cover-info { text-align: right; font-size: calc(13.5px * var(--fs)); line-height: 1.6; text-shadow: 0 1px 8px rgba(0, 0, 0, .5); }
.scroll-cue { position: absolute; z-index: 4; left: 50%; bottom: 14px; transform: translateX(-50%); width: 24px; height: 38px; border: 1.5px solid rgba(255, 255, 255, .7); border-radius: 14px; }
.scroll-cue i { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: wheel 1.8s infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
.sparkles { position: absolute; inset: 0; z-index: 3; pointer-events: none; background-image:
  radial-gradient(2px 2px at 18% 62%, #fff 50%, transparent 52%), radial-gradient(1.6px 1.6px at 76% 48%, #fff6d8 50%, transparent 52%),
  radial-gradient(2.2px 2.2px at 62% 72%, #fff 50%, transparent 52%), radial-gradient(1.4px 1.4px at 34% 40%, #fff6d8 50%, transparent 52%),
  radial-gradient(1.8px 1.8px at 86% 70%, #fff 50%, transparent 52%), radial-gradient(1.5px 1.5px at 48% 84%, #fff6d8 50%, transparent 52%);
  animation: twinkle 2.6s ease-in-out infinite alternate; }
@keyframes twinkle { from { opacity: .2; } to { opacity: 1; } }

/* ───────── 초대글: 폴라로이드 + 실링왁스 ───────── */
.polaroid { position: relative; width: 74%; margin: 4px auto 44px; background: #fff; padding: 12px 12px 46px; box-shadow: 0 18px 40px rgba(80, 55, 25, .2), 0 2px 6px rgba(80, 55, 25, .1); rotate: -3deg; }
.polaroid img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 25%; }
.polaroid figcaption { position: absolute; left: 0; right: 0; bottom: 8px; font-family: 'Pinyon', cursive; font-size: 24px; color: var(--gold-3); }
.wax { position: absolute; right: -18px; bottom: 22px; width: 74px; height: 74px; display: grid; place-items: center; rotate: 14deg; clip-path: var(--seal);
  background: radial-gradient(circle at 35% 28%, #c8574d, #8d2b27 62%, #6c1d1a); }
.wax b { font-family: 'Pinyon'; font-weight: 400; font-size: 25px; color: #f6d9cd; }
.greeting p { min-height: 1.85em; font-size: calc(15.5px * var(--fs)); }
.parents { margin: 40px auto 0; display: grid; gap: 12px; width: fit-content; }
.parents p { display: flex; align-items: baseline; justify-content: center; gap: 5px; white-space: nowrap; font-size: calc(15px * var(--fs)); }
.parents small { color: var(--ink-soft); font-size: .85em; } .parents b { font-weight: 400; color: var(--gold-3); }
.parents strong { font-family: 'Bookk'; font-weight: 300; font-size: 1.35em; margin-left: 8px; }

/* ───────── 사진 구분 화면 ───────── */
.divider { position: relative; height: 82svh; min-height: 520px; overflow: hidden; background: #111; }
.divider-img { position: absolute; inset: -18% 0; }
.divider-img img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.divider::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .1), rgba(0, 0, 0, .05) 40%, rgba(15, 10, 5, .62)); }
.divider-text { position: absolute; z-index: 2; left: 0; right: 0; bottom: 64px; text-align: center; color: #fff; }
.divider-text p { font-family: 'Bookk'; font-size: calc(26px * var(--fs)); line-height: 1.55; text-shadow: 0 2px 18px rgba(0, 0, 0, .5); }
.divider-text .script { font-family: 'Pinyon'; font-size: 40px; color: var(--gold-2); margin-bottom: 6px; }

/* ───────── 날짜 ───────── */
.date-graphic { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 18px 0 4px; font-family: 'Cormorant', serif; color: var(--ink); }
.date-graphic b { font-weight: 500; font-size: calc(96px * var(--fs)); line-height: .9; letter-spacing: -.02em; }
.date-graphic i { width: 1px; height: 84px; background: var(--gold); rotate: 22deg; }
.date-graphic .yr { font-family: 'Cinzel'; font-weight: 600; font-size: 12px; letter-spacing: .3em; writing-mode: vertical-rl; color: var(--gold); }
.when-sub { color: var(--ink-soft); margin: 8px 0 30px; font-size: calc(15px * var(--fs)); }
.when-sub b { font-family: 'Cinzel'; font-weight: 600; letter-spacing: .22em; color: var(--gold-3); display: block; font-size: 12.5px; }
.calendar { background: #fffdf8; border: 1px solid var(--line); border-radius: 20px; padding: 22px 16px 16px; box-shadow: 0 14px 34px rgba(120, 90, 50, .09); }
.calendar h3 { font-family: 'Cinzel'; font-weight: 600; letter-spacing: .3em; font-size: calc(14px * var(--fs)); color: var(--gold-3); margin-bottom: 12px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); row-gap: 6px; font-family: 'Cormorant', serif; font-weight: 600; font-size: calc(18px * var(--fs)); }
.cal-grid span { height: 40px; display: grid; place-items: center; position: relative; z-index: 0; }
.cal-grid .dow { font-family: 'Maru'; font-weight: 400; font-size: calc(12px * var(--fs)); color: var(--ink-soft); height: 26px; }
.cal-grid .sun { color: #c0706a; } .cal-grid .sat { color: #6f86b8; }
.cal-grid .day-on { color: #fff; font-size: .88em; padding-bottom: 4px; }
.cal-grid .day-on::before { content: ''; position: absolute; inset: -2px; z-index: -1; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23b35a52' d='M12 21.5s-9.5-5.8-9.5-12.6A5.2 5.2 0 0 1 12 5.8a5.2 5.2 0 0 1 9.5 3.1c0 6.8-9.5 12.6-9.5 12.6z'/%3E%3C/svg%3E") center / 44px no-repeat; animation: beat 2.4s ease-in-out infinite; filter: drop-shadow(0 4px 8px rgba(160, 60, 50, .35)); }
@keyframes beat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.14); } 30% { transform: scale(1); } 45% { transform: scale(1.08); } }
.countband { background: radial-gradient(120% 120% at 50% 0%, #2a2440, var(--night)); color: #f2e6cf; padding: 46px 14px 42px; text-align: center; }
.countdown { display: flex; align-items: flex-start; justify-content: center; gap: 2px; }
.countdown div { min-width: 70px; }
.countdown i { font-family: 'Cormorant'; font-size: 36px; line-height: 1.1; color: var(--gold-2); font-style: normal; opacity: .6; }
.countdown b { display: block; font-family: 'Cormorant', serif; font-weight: 500; font-size: calc(46px * var(--fs)); line-height: 1.05; font-variant-numeric: lining-nums tabular-nums; background: var(--foil); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: foil 6s ease-in-out infinite; }
.countdown span { font-family: 'Cinzel'; font-size: 9px; letter-spacing: .2em; color: #b9ad97; }
.countdown-msg { margin-top: 14px; font-size: calc(14.5px * var(--fs)); color: #e8dcc5; }
.countdown-msg em { font-style: normal; color: var(--gold-2); font-weight: 600; }
@keyframes foil { 0%, 100% { background-position: 0% 0; } 50% { background-position: 100% 0; } }

/* ───────── 영상: 화면 가득 ───────── */
.film { position: relative; height: 100svh; min-height: 620px; max-height: 960px; overflow: hidden; background: #0e1022; color: #fff; }
.film video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.film-shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(10, 10, 25, .72) 0%, rgba(10, 10, 25, 0) 26%, rgba(10, 10, 25, 0) 72%, rgba(10, 10, 25, .75) 100%); }
.film-head { position: absolute; top: 0; left: 0; right: 0; padding: 46px 24px 0; text-align: center; pointer-events: none; transition: opacity 1s; }
.film-head .title { font-size: calc(24px * var(--fs)); margin-bottom: 0; text-shadow: 0 2px 16px rgba(0, 0, 0, .5); }
.film.quiet .film-head { opacity: 0; }
.film-play { position: absolute; left: 50%; top: 50%; width: 80px; height: 80px; margin: -40px 0 0 -40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 250, 238, .92); box-shadow: 0 10px 34px rgba(0, 0, 0, .35); transition: opacity .3s, transform .3s; }
.film-play i { width: 26px; height: 26px; margin-left: 5px; background: var(--gold-3); -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat;
  --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 4.5v15l13-7.5z'/%3E%3C/svg%3E"); }
.film-play::before { content: ''; position: absolute; inset: -10px; border-radius: 50%; border: 1px solid rgba(255, 245, 220, .6); animation: ring 2s infinite; }
@keyframes ring { from { transform: scale(.85); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }
.film.playing .film-play { opacity: 0; transform: scale(.8); pointer-events: none; }
.film-foot { position: absolute; left: 0; right: 0; bottom: 0; padding: 0 16px 26px; }
.chapters { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; }
.chapters button { min-height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(255, 240, 210, .4); background: rgba(20, 18, 30, .6); color: #f3e7cf; font-family: 'Bookk'; font-size: calc(14.5px * var(--fs)); transition: .25s; }
.chapters button.on { background: linear-gradient(135deg, #dcc08a, #a9843f); color: #1c1a2c; border-color: transparent; }
.film-bar { height: 3px; margin: 14px 6px 0; border-radius: 3px; background: rgba(255, 255, 255, .22); overflow: hidden; }
.film-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gold-2), #fff3d0); }

/* ───────── 우리의 이야기 ───────── */
.story { list-style: none; display: grid; gap: 56px; position: relative; }
.story::before { content: ''; position: absolute; left: 50%; top: 10px; bottom: 10px; width: 1px; background: linear-gradient(transparent, var(--gold-2) 10%, var(--gold-2) 90%, transparent); }
.story li { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: center; }
.story li:nth-child(even) .st-photo { order: 2; }
.story li::after { content: ''; position: absolute; left: 50%; top: 50%; width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px; border-radius: 50%; background: var(--paper); border: 1.5px solid var(--gold); }
.st-photo { background: #fff; padding: 7px 7px 26px; box-shadow: 0 10px 24px rgba(80, 55, 25, .16); rotate: -3deg; }
.story li:nth-child(even) .st-photo { rotate: 3deg; }
.st-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.st-text { text-align: left; }
.story li:nth-child(even) .st-text { text-align: right; }
.st-text .tag { font-family: 'Cinzel'; font-weight: 600; font-size: 10px; letter-spacing: .26em; color: var(--gold); }
.st-text h3 { font-family: 'Bookk'; font-weight: 300; font-size: calc(30px * var(--fs)); line-height: 1.2; margin: 4px 0 2px; }
.st-text .sub { font-size: calc(12.5px * var(--fs)); color: var(--rose); margin-bottom: 8px; }
.st-text p { font-size: calc(13.5px * var(--fs)); line-height: 1.7; color: var(--ink-soft); }
.st-text .chip { margin-top: 10px; }

/* ───────── 갤러리 ───────── */
.dark { background: #15120e; color: #efe4d0; padding-left: 0; padding-right: 0; }
.carousel { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 13% 6px; scrollbar-width: none; }
.carousel::-webkit-scrollbar { display: none; }
.carousel button { flex: 0 0 74%; scroll-snap-align: center; border-radius: 14px; overflow: hidden; aspect-ratio: 3 / 4; transition: transform .45s, opacity .45s, box-shadow .45s; transform: scale(.9); opacity: .5; }
.carousel button.cur { transform: none; opacity: 1; box-shadow: 0 20px 40px rgba(0, 0, 0, .5); }
.carousel img { width: 100%; height: 100%; object-fit: cover; }
.dots { display: flex; justify-content: center; gap: 6px; margin: 16px 0 18px; }
.dots i { width: 6px; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .25); transition: .3s; }
.dots i.on { width: 20px; background: var(--gold-2); }
.thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 0 24px; }
.thumbs button { aspect-ratio: 1; border-radius: 8px; overflow: hidden; opacity: .5; transition: .3s; }
.thumbs button.on { opacity: 1; box-shadow: 0 0 0 2px var(--gold-2); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.thumbs.many { grid-template-columns: none; grid-auto-flow: column; grid-template-rows: repeat(2, 1fr); grid-auto-columns: calc((100% - 18px) / 4.4);
  overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.thumbs.many::-webkit-scrollbar { display: none; }
.thumbs.many button { scroll-snap-align: center; }
.dots .count { font-family: 'Cinzel', serif; font-size: 12px; letter-spacing: .2em; color: var(--gold-2); }

/* ───────── 오시는 길 ───────── */
.venue-name { font-family: 'Bookk'; font-size: calc(22px * var(--fs)); }
.venue-addr { color: var(--ink-soft); display: flex; gap: 8px; justify-content: center; align-items: center; flex-wrap: wrap; margin: 4px 0 22px; }
.map-card { border-radius: 20px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 12px 30px rgba(120, 90, 50, .12); }
.map-paper { position: relative; height: 220px; background: #efe6d2 url(../assets/img/paper.jpg); }
.map-paper .road { position: absolute; background: #fffaf0; box-shadow: 0 0 0 1px #e1d2b4; }
.road.r1 { left: -10%; right: -10%; top: 58%; height: 16px; rotate: -8deg; }
.road.r2 { top: -10%; bottom: -10%; left: 46%; width: 14px; rotate: 12deg; }
.road.r3 { left: 10%; right: 30%; top: 24%; height: 9px; rotate: 18deg; }
.map-paper .river { position: absolute; left: -10%; right: -10%; bottom: -30px; height: 70px; border-radius: 50%; background: #cfdde3; rotate: -4deg; opacity: .8; }
.pin { position: absolute; left: 50%; top: 46%; transform: translate(-50%, -100%); display: flex; flex-direction: column; align-items: center; animation: bob 2.4s ease-in-out infinite; }
.pin img { width: 54px; filter: drop-shadow(0 6px 6px rgba(120, 60, 50, .35)); }
.pin span { margin-top: 4px; background: #fff; border-radius: 999px; padding: 2px 12px; font-size: 12.5px; box-shadow: 0 3px 10px rgba(0, 0, 0, .1); white-space: nowrap; }
@keyframes bob { 50% { transform: translate(-50%, -108%); } }
.nav-btns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.nav { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 50px; border-radius: 14px; background: #fff; border: 1px solid var(--line); font-size: calc(13.5px * var(--fs)); }
.nav b { width: 20px; height: 20px; border-radius: 6px; display: grid; place-items: center; color: #fff; font-family: 'Cinzel'; font-size: 11px; }
.n-naver { background: #03c75a; } .n-kakao { background: #fee500; color: #3b1e1e !important; } .n-tmap { background: linear-gradient(135deg, #e5004f, #5a2bd8); }
.transport { margin-top: 30px; text-align: left; display: grid; gap: 10px; }
.transport div { display: grid; grid-template-columns: 62px 1fr; gap: 12px; padding: 14px 16px; background: rgba(255, 255, 255, .65); border-radius: 14px; border: 1px solid var(--line); }
.transport b { font-family: 'Bookk'; font-weight: 300; color: var(--gold-3); }

/* ───────── 안내 카드 ───────── */
.info-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; text-align: left; }
.info-cards article { background: #fffdf8; border: 1px solid var(--line); border-radius: 18px; padding: 18px 16px; box-shadow: 0 8px 20px rgba(120, 90, 50, .06); }
.info-cards h3 { font-family: 'Bookk'; font-weight: 300; font-size: calc(18px * var(--fs)); margin: 6px 0 4px; }
.info-cards .n { font-family: 'Cinzel'; font-weight: 600; font-size: 10px; letter-spacing: .24em; color: var(--gold); }
.info-cards p { font-size: calc(13px * var(--fs)); line-height: 1.65; color: var(--ink-soft); }

/* ───────── 참석: 티켓 ───────── */
.ticket { text-align: left; border-radius: 22px; overflow: hidden; box-shadow: 0 20px 44px rgba(90, 60, 25, .18); background: #fffdf8; }
.ticket-head { position: relative; padding: 24px 22px 28px; color: #f6ead2; background: linear-gradient(135deg, #2b2416, #4a3a22); }
.ticket-head::after { content: ''; position: absolute; left: 0; right: 0; bottom: -9px; height: 18px; background: radial-gradient(circle at 9px 9px, #fffdf8 6px, transparent 6.5px) -2px 0 / 18px 18px repeat-x; }
.t-label { font-family: 'Cinzel'; font-weight: 600; font-size: 10.5px; letter-spacing: .3em; color: var(--gold-2); }
.t-names { font-family: 'Bookk'; font-size: calc(28px * var(--fs)); margin: 6px 0 2px; }
.t-names em { font-family: 'Pinyon'; font-style: normal; color: var(--gold-2); }
.t-when { font-family: 'Cormorant'; font-size: 17px; letter-spacing: .08em; opacity: .9; }
.ticket-body { padding: 26px 20px 22px; display: grid; gap: 18px; }
fieldset { border: 0; }
legend, .lbl { font-size: calc(13.5px * var(--fs)); color: var(--ink-soft); margin-bottom: 8px; display: block; }
.lbl small { opacity: .8; }
.seg { display: flex; gap: 8px; flex-wrap: wrap; }
.seg legend { width: 100%; }
.seg label { flex: 1; min-width: 84px; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: flex; align-items: center; justify-content: center; min-height: 50px; border-radius: 14px; border: 1px solid var(--line); background: #fff; font-size: calc(14.5px * var(--fs)); transition: .2s; }
.seg input:checked + span { border-color: var(--gold); background: #fbf2df; color: var(--gold-3); box-shadow: inset 0 0 0 1px var(--gold); font-weight: 600; }
.seg input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.when-attend { display: grid; gap: 18px; }
.when-attend[hidden] { display: none; }
.field { display: block; }
.field input, .field textarea { width: 100%; min-height: 52px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: #fff; font: inherit; font-size: calc(15px * var(--fs)); color: var(--ink); resize: none; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(176, 135, 74, .16); }
.field.err input, .field.err textarea, .seg.err span { border-color: #c96d63; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 14px; background: #fff; overflow: hidden; }
.stepper button { width: 54px; height: 50px; font-size: 22px; color: var(--gold-3); }
.stepper output { width: 52px; text-align: center; font-family: 'Cormorant'; font-weight: 600; font-size: 26px; }
.form-note { font-size: 12px; color: var(--ink-soft); text-align: center; margin-top: -6px; }
.ticket-done { padding: 30px 22px 26px; text-align: center; }
.stamp { display: inline-block; font-family: 'Cinzel'; font-weight: 700; letter-spacing: .3em; padding: 6px 14px 6px 18px; color: #a23c34; border: 2px solid #a23c34; border-radius: 8px; rotate: -8deg; margin-bottom: 16px; opacity: .85; }
.ticket-done p { margin-bottom: 14px; }

/* ───────── 계좌 ───────── */
.accounts { display: grid; gap: 12px; text-align: left; }
.acc { background: #fffdf8; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.acc > button { width: 100%; display: flex; justify-content: space-between; align-items: center; min-height: 60px; padding: 0 20px; font-family: 'Bookk'; font-size: calc(17px * var(--fs)); }
.acc > button::after { content: ''; width: 9px; height: 9px; border-right: 1.5px solid var(--gold-3); border-bottom: 1.5px solid var(--gold-3); rotate: 45deg; transition: rotate .3s; margin-top: -4px; }
.acc.open > button::after { rotate: -135deg; margin-top: 4px; }
.acc-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
.acc.open .acc-body { grid-template-rows: 1fr; }
.acc-body > div { overflow: hidden; }
.acc-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 20px; border-top: 1px dashed var(--line); }
.acc-row p { font-size: calc(14px * var(--fs)); line-height: 1.55; }
.acc-row p small { display: block; color: var(--ink-soft); font-size: .86em; }
.acc-row .btns { display: flex; gap: 6px; flex: none; }
.chip.pay { background: #fee500; border-color: #fee500; color: #3b1e1e; }

/* ───────── 방명록 ───────── */
.gb-list { display: grid; gap: 12px; text-align: left; }
.gb-item { position: relative; background: #fffdf8; border: 1px solid var(--line); border-radius: 18px; padding: 18px 18px 16px; box-shadow: 0 6px 16px rgba(120, 90, 50, .06); }
.gb-item:nth-child(odd) { rotate: -.6deg; } .gb-item:nth-child(even) { rotate: .6deg; }
.gb-item header { display: flex; align-items: baseline; gap: 8px; margin-bottom: 4px; }
.gb-item b { font-family: 'Bookk'; font-weight: 300; font-size: 1.1em; color: var(--gold-3); }
.gb-item time { font-family: 'Cormorant'; font-size: 13px; color: var(--ink-soft); }
.gb-item p { white-space: pre-line; font-size: calc(14.5px * var(--fs)); }
.gb-del { position: absolute; top: 10px; right: 10px; width: 32px; height: 32px; border-radius: 50%; color: var(--ink-soft); font-size: 18px; }
.gb-empty { text-align: center; color: var(--ink-soft); padding: 20px 0; }

/* ───────── 스냅 ───────── */
.missions { list-style: none; display: grid; gap: 8px; margin: -6px 0 26px; }
.missions li { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: #fffdf8; border: 1px solid var(--line); border-radius: 14px; text-align: left; }
.missions b { font-family: 'Cormorant'; font-weight: 600; font-size: 22px; color: var(--gold); }

/* ───────── 마무리 ───────── */
.ending { position: relative; min-height: 92svh; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; color: #fff; text-align: center; padding: 0 24px calc(96px + var(--safe-b)); }
.ending-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.ending-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 8, 5, .1) 30%, rgba(10, 8, 5, .78) 78%); }
.ending-text { position: relative; }
.script { font-family: 'Pinyon', cursive; font-size: calc(62px * var(--fs)); line-height: 1.1; color: #fff6e2; text-shadow: 0 3px 22px rgba(0, 0, 0, .4); }
.thanks { margin: 10px 0 14px; color: #f0e6d4; }
.sign { font-family: 'Bookk'; font-size: calc(21px * var(--fs)); }
.credit { position: relative; margin-top: 30px; font-size: 10.5px; color: rgba(255, 255, 255, .55); line-height: 1.6; }

/* ───────── 빠른 메뉴·상단 도구 ───────── */
.quickbar { position: fixed; left: 50%; bottom: calc(10px + var(--safe-b)); transform: translate(-50%, 140%); width: calc(var(--w) - 24px); z-index: 40; display: grid; grid-template-columns: repeat(5, 1fr); padding: 6px; border-radius: 22px;
  background: rgba(255, 252, 245, .97); box-shadow: 0 12px 34px rgba(30, 20, 10, .25), 0 0 0 1px rgba(220, 192, 138, .4); transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.quickbar.show { transform: translate(-50%, 0); }
.quickbar > * { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 52px; border-radius: 16px; font-size: calc(11.5px * var(--fs)); color: var(--ink-soft); }
.quickbar .ic { width: 20px; height: 20px; color: var(--gold-3); }
.quickbar .primary { background: linear-gradient(135deg, #c8a062, #94702f); color: #fffaf0; }
.quickbar .primary .ic { color: #fffaf0; }
.top-tools { position: fixed; top: calc(12px + env(safe-area-inset-top, 0px)); right: max(12px, calc((100vw - var(--w)) / 2 + 12px)); z-index: 45; display: flex; gap: 8px; }
.top-tools button { width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 252, 245, .95); box-shadow: 0 4px 14px rgba(0, 0, 0, .15); font-family: 'Bookk'; font-size: 16px; color: var(--gold-3); display: grid; grid-auto-flow: column; align-items: baseline; place-content: center; }
.top-tools button[hidden] { display: none; }
.top-tools button small { font-size: 11px; }
.top-tools button[aria-pressed=true] { background: var(--gold-3); color: #fff; }

/* ───────── 시트·라이트박스·토스트 ───────── */
.sheet { position: fixed; inset: 0; z-index: 70; background: rgba(20, 14, 8, .5); display: flex; align-items: flex-end; justify-content: center; animation: fade .25s; }
.sheet[hidden] { display: none; }
.sheet-body { position: relative; width: var(--w); max-height: 88vh; max-height: 88dvh; overflow: auto; background: var(--paper) url(../assets/img/paper.jpg); border-radius: 26px 26px 0 0; padding: 30px 22px calc(26px + var(--safe-b)); animation: up .35s cubic-bezier(.2, .8, .2, 1); }
.sheet-body h3 { font-family: 'Bookk'; font-weight: 300; font-size: 23px; text-align: center; margin-bottom: 20px; }
.sheet-body form { display: grid; gap: 16px; }
.sheet-close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; }
.sheet-close::before, .sheet-close::after, .lb-close::before, .lb-close::after { content: ''; position: absolute; left: 50%; top: 50%; width: 18px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%) rotate(45deg); }
.sheet-close::after, .lb-close::after { transform: translate(-50%, -50%) rotate(-45deg); }
@keyframes up { from { transform: translateY(100%); } }
@keyframes fade { from { opacity: 0; } }
.contact-grid { display: grid; gap: 10px; }
.contact-grid h4 { font-family: 'Cinzel'; font-size: 11px; letter-spacing: .3em; color: var(--gold); margin: 10px 0 0; text-align: center; }
.c-row { display: flex; align-items: center; justify-content: space-between; background: #fffdf8; border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px 10px 18px; }
.c-row p { font-size: 15px; } .c-row p small { color: var(--ink-soft); margin-right: 6px; }
.c-row .btns { display: flex; gap: 6px; }
.c-row a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #f3e8d2; color: var(--gold-3); }
.lightbox { position: fixed; inset: 0; z-index: 80; background: rgba(10, 8, 6, .97); animation: fade .25s; }
.lightbox[hidden] { display: none; }
.lb-track { display: flex; height: 100%; transition: transform .35s cubic-bezier(.2, .8, .2, 1); touch-action: pan-y; }
.lb-track figure { flex: 0 0 100%; display: grid; place-items: center; padding: 60px 10px; }
.lb-track img { max-height: 100%; object-fit: contain; border-radius: 6px; }
.lb-close { position: absolute; top: calc(12px + env(safe-area-inset-top, 0px)); right: 12px; width: 46px; height: 46px; color: #fff; z-index: 2; }
.lb-nav { position: absolute; top: 50%; width: 46px; height: 80px; margin-top: -40px; color: #fff; opacity: .7; }
.lb-nav::before { content: ''; position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; border-left: 1.5px solid; border-bottom: 1.5px solid; }
.lb-nav.prev { left: 4px; } .lb-nav.prev::before { transform: translate(-30%, -50%) rotate(45deg); }
.lb-nav.next { right: 4px; } .lb-nav.next::before { transform: translate(-70%, -50%) rotate(-135deg); }
.lb-count { position: absolute; bottom: calc(22px + var(--safe-b)); left: 0; right: 0; text-align: center; color: #ddd; font-family: 'Cormorant'; letter-spacing: .2em; }
.toast { position: fixed; left: 50%; bottom: calc(96px + var(--safe-b)); transform: translate(-50%, 20px); background: rgba(30, 22, 14, .92); color: #fff; padding: 12px 20px; border-radius: 999px; font-size: 14px; opacity: 0; pointer-events: none; transition: .3s; z-index: 95; white-space: nowrap; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.petals { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 30; }
.petals.off { display: none; }
/* 화면 밖 섹션의 반복 애니메이션은 멈춘다 (GPU·페인트 절약) */
.offscreen, .offscreen *, .offscreen *::before, .offscreen *::after { animation-play-state: paused !important; }

/* ═════════ 컨셉 스킨: <html data-concept="…"> (mvp/pipeline/build.py 가 넣는다). 없으면 위의 아이보리 그대로 ═════════ */

/* ── ② 미드나잇 랜턴: 남색 밤, 금색 선, 별빛 ── */
html[data-concept=midnight] {
  --paper: #131938; --paper-2: #192049; --ink: #efe6cf; --ink-soft: #b5b3cb; --line: rgba(216, 182, 111, .26);
  --gold: #d8b56a; --gold-2: #ecd49a; --gold-3: #e9c97f; --rose: #eaa9b0; --night: #0a0e22;
  --stars: radial-gradient(1.2px 1.2px at 24px 30px, rgba(255, 236, 190, .6) 50%, transparent 52%) 0 0 / 150px 170px,
    radial-gradient(1.6px 1.6px at 96px 118px, rgba(255, 236, 190, .45) 50%, transparent 52%) 0 0 / 210px 230px,
    radial-gradient(1px 1px at 60px 70px, rgba(200, 210, 255, .5) 50%, transparent 52%) 0 0 / 120px 130px;
}
html[data-concept=midnight] body { background: var(--night); }
html[data-concept=midnight] #app { background: var(--stars), #131938 url(../assets/img/paper.jpg); background-blend-mode: normal, normal, normal, multiply; }
html[data-concept=midnight] .paper2 { background: var(--stars), #1a2148 url(../assets/img/paper.jpg); background-blend-mode: normal, normal, normal, multiply; }
html[data-concept=midnight] .bg-word { opacity: .1; text-shadow: 0 0 30px rgba(236, 212, 154, .6); }
html[data-concept=midnight] .title { color: #f6ecd3; }
html[data-concept=midnight] .btn.line { color: var(--gold-2); background: rgba(255, 255, 255, .04); }
html[data-concept=midnight] .btn.soft, html[data-concept=midnight] .chip { background: rgba(255, 255, 255, .06); border-color: var(--line); color: var(--gold-2); box-shadow: none; }
html[data-concept=midnight] .btn.gold, html[data-concept=midnight] .quickbar .primary,
html[data-concept=midnight] .chapters button.on { color: #161a38; background: linear-gradient(135deg, #f2d590, #c39a4e); box-shadow: 0 10px 26px rgba(232, 190, 100, .28); }
html[data-concept=midnight] .quickbar .primary .ic { color: #161a38; }
html[data-concept=midnight] :is(.calendar, .info-cards article, .acc, .gb-item, .missions li, .c-row, .transport div, .nav, .seg span, .stepper, .field input, .field textarea) {
  background: rgba(255, 255, 255, .045); border-color: var(--line); color: var(--ink); box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
html[data-concept=midnight] .field input::placeholder, html[data-concept=midnight] .field textarea::placeholder { color: #8a88a6; }
html[data-concept=midnight] .seg input:checked + span { background: rgba(216, 181, 106, .16); color: var(--gold-2); }
html[data-concept=midnight] .cal-grid .sun { color: #f39a94; } html[data-concept=midnight] .cal-grid .sat { color: #9fb5ff; }
html[data-concept=midnight] .cal-grid .day-on { color: #161a38; }
html[data-concept=midnight] .cal-grid .day-on::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23e2c27a' d='M12 1.5l2.9 6.6 7.1.7-5.4 4.8 1.6 7-6.2-3.7-6.2 3.7 1.6-7L2 8.8l7.1-.7z'/%3E%3C/svg%3E"); filter: drop-shadow(0 0 10px rgba(255, 214, 130, .7)); }
html[data-concept=midnight] .countband { background: radial-gradient(120% 120% at 50% 0%, #26306a, var(--night)); }
html[data-concept=midnight] .ticket { background: #1a2148; box-shadow: 0 20px 44px rgba(0, 0, 0, .4); }
html[data-concept=midnight] .ticket-head { background: linear-gradient(135deg, #2b316a, #43346f); }
html[data-concept=midnight] .ticket-head::after { background-image: radial-gradient(circle at 9px 9px, #1a2148 6px, transparent 6.5px); }
html[data-concept=midnight] .stamp { color: var(--gold-2); border-color: var(--gold-2); }
html[data-concept=midnight] .polaroid, html[data-concept=midnight] .st-photo { background: #f7efdc; box-shadow: 0 18px 44px rgba(0, 0, 0, .45), 0 0 40px rgba(255, 214, 140, .12); }
html[data-concept=midnight] .polaroid figcaption { color: #8d6a2c; }
html[data-concept=midnight] .opener-seal, html[data-concept=midnight] .wax { background: radial-gradient(circle at 35% 28%, #fbe4a6, #d2a656 55%, #8f6a2b); box-shadow: 0 0 30px rgba(255, 210, 120, .45); }
html[data-concept=midnight] .opener-seal span, html[data-concept=midnight] .wax b { color: #1c2048; }
html[data-concept=midnight] .opener-leaf { background: var(--stars), #141a3a; border-color: rgba(216, 182, 111, .45); box-shadow: inset 0 0 120px rgba(0, 0, 0, .45); }
html[data-concept=midnight] .opener-date { color: var(--gold-2); } html[data-concept=midnight] .opener-hint { color: var(--gold); text-shadow: 0 0 18px rgba(255, 214, 140, .5); }
html[data-concept=midnight] .cover-word { color: #ffe7b0; text-shadow: 0 0 26px rgba(255, 205, 120, .55), 0 0 4px rgba(255, 240, 200, .6); }
html[data-concept=midnight] .cover-shade { background: linear-gradient(180deg, rgba(8, 10, 34, .6) 0%, rgba(8, 10, 34, .08) 22%, rgba(8, 10, 34, 0) 50%, rgba(8, 10, 34, .3) 66%, rgba(8, 10, 34, .88) 100%); }
html[data-concept=midnight] .divider::after { background: linear-gradient(180deg, rgba(8, 10, 34, .15), rgba(8, 10, 34, .05) 40%, rgba(8, 10, 34, .7)); }
html[data-concept=midnight] .dark { background: var(--stars), #0a0e22; }
html[data-concept=midnight] .map-paper { background: #1c2450 url(../assets/img/paper.jpg); background-blend-mode: multiply; }
html[data-concept=midnight] .map-paper .road { background: rgba(255, 238, 200, .2); box-shadow: 0 0 0 1px rgba(216, 182, 111, .3); }
html[data-concept=midnight] .map-paper .river { background: #2e3f72; }
html[data-concept=midnight] .pin span { background: #1b2349; color: var(--ink); }
html[data-concept=midnight] .quickbar { background: rgba(19, 25, 56, .96); box-shadow: 0 12px 34px rgba(0, 0, 0, .45), 0 0 0 1px rgba(216, 182, 111, .35); }
html[data-concept=midnight] .quickbar > * { color: var(--ink-soft); }
html[data-concept=midnight] .quickbar .ic, html[data-concept=midnight] .top-tools button { color: var(--gold-2); }
html[data-concept=midnight] .top-tools button { background: rgba(19, 25, 56, .92); box-shadow: 0 4px 14px rgba(0, 0, 0, .4), 0 0 0 1px rgba(216, 182, 111, .35); }
html[data-concept=midnight] .top-tools button[aria-pressed=true] { background: var(--gold); color: #161a38; }
html[data-concept=midnight] .sheet-body { background: var(--stars), #141a38; color: var(--ink); }
html[data-concept=midnight] .c-row a { background: rgba(216, 181, 106, .16); }
html[data-concept=midnight] .acc > button, html[data-concept=midnight] .sheet-close { color: var(--ink); }

/* ── ③ 스프링 스크랩북: 연두·분홍 파스텔, 마스킹 테이프, 기울어진 사진 ── */
html[data-concept=spring] {
  --paper: #fbf8ef; --paper-2: #f2f7e8; --ink: #3c4634; --ink-soft: #6c7861; --line: #e2e7d0;
  --gold: #79a35e; --gold-2: #f3b5c3; --gold-3: #5a8646; --rose: #d9768e; --night: #6f9a58;
  --foil: linear-gradient(100deg, #fff 0%, #ffe1e9 25%, #fff 40%, #fbd0da 62%, #fff 80%, #ffe9ee 100%);
  --tape-pink: repeating-linear-gradient(45deg, rgba(243, 181, 195, .9) 0 7px, rgba(255, 238, 242, .9) 7px 14px);
  --tape-mint: repeating-linear-gradient(-45deg, rgba(190, 222, 164, .9) 0 7px, rgba(240, 250, 230, .9) 7px 14px);
  --gingham: repeating-linear-gradient(0deg, rgba(243, 181, 195, .13) 0 12px, transparent 12px 24px),
    repeating-linear-gradient(90deg, rgba(243, 181, 195, .13) 0 12px, transparent 12px 24px);
}
html[data-concept=spring] body { background: #e9f1de; }
html[data-concept=spring] #app { background: #fbf8ef url(../assets/img/paper.jpg); background-blend-mode: multiply; }
html[data-concept=spring] .paper2 { background: radial-gradient(rgba(121, 163, 94, .2) 1.6px, transparent 2.2px) 0 0 / 22px 22px, #f0f6e6; }
html[data-concept=spring] .bg-word { color: var(--rose); opacity: .14; }
html[data-concept=spring] .eyebrow { color: var(--rose); }
html[data-concept=spring] .btn.line { border-color: var(--gold-2); color: var(--rose); background: #fff; }
html[data-concept=spring] .btn.gold, html[data-concept=spring] .quickbar .primary,
html[data-concept=spring] .chapters button.on { color: #fff; background: linear-gradient(135deg, #a3cb84, #6f9a58); box-shadow: 0 10px 24px rgba(111, 154, 88, .3); }
html[data-concept=spring] .chip { color: var(--gold-3); }
html[data-concept=spring] :is(.calendar, .info-cards article, .acc, .gb-item, .missions li, .c-row) { background: #fffdf8; border: 1.5px dashed #f0c8d1; }
html[data-concept=spring] :is(.calendar, .gb-item, .info-cards article) { position: relative; }
html[data-concept=spring] :is(.calendar, .gb-item)::before, html[data-concept=spring] .polaroid::before, html[data-concept=spring] .st-photo::before {
  content: ''; position: absolute; top: -12px; left: 50%; width: 96px; height: 24px; transform: translateX(-50%) rotate(-5deg); background: var(--tape-pink); opacity: .92; box-shadow: 0 1px 2px rgba(0, 0, 0, .06); z-index: 1; }
html[data-concept=spring] .gb-item:nth-child(even)::before, html[data-concept=spring] .story li:nth-child(even) .st-photo::before { background: var(--tape-mint); transform: translateX(-50%) rotate(6deg); }
html[data-concept=spring] .st-photo { position: relative; }
html[data-concept=spring] .st-photo::before { width: 70px; height: 20px; top: -10px; }
html[data-concept=spring] .gb-item:nth-child(odd) { rotate: -1.4deg; } html[data-concept=spring] .gb-item:nth-child(even) { rotate: 1.2deg; }
html[data-concept=spring] .polaroid { rotate: -4deg; box-shadow: 0 16px 34px rgba(110, 120, 80, .18); }
html[data-concept=spring] .polaroid figcaption { color: var(--rose); }
html[data-concept=spring] .opener-seal, html[data-concept=spring] .wax { background: radial-gradient(circle at 35% 28%, #fbd2db, #e88ea4 60%, #c96d84); }
html[data-concept=spring] .opener-seal span, html[data-concept=spring] .wax b { color: #fff; }
html[data-concept=spring] .opener-leaf { background: var(--gingham), #fdf8f0; border-color: #f0c8d1; box-shadow: inset 0 0 90px rgba(200, 150, 160, .14); }
html[data-concept=spring] .opener-date { color: var(--gold-3); } html[data-concept=spring] .opener-hint { color: var(--rose); }
html[data-concept=spring] .cover-word { color: #fffdf7; text-shadow: 0 4px 26px rgba(200, 110, 130, .35); }
html[data-concept=spring] .cover-shade { background: linear-gradient(180deg, rgba(70, 60, 50, .35) 0%, rgba(70, 60, 50, 0) 24%, rgba(70, 60, 50, 0) 54%, rgba(60, 70, 45, .28) 68%, rgba(52, 62, 40, .78) 100%); }
html[data-concept=spring] .cover-names em { color: #ffd2dc; }
html[data-concept=spring] .divider::after { background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0) 45%, rgba(52, 62, 40, .6)); }
html[data-concept=spring] .cal-grid .sun { color: #d9768e; } html[data-concept=spring] .cal-grid .sat { color: #6d9bc4; }
html[data-concept=spring] .cal-grid .day-on::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='%23e88ea4'%3E%3Ccircle cx='12' cy='6' r='5'/%3E%3Ccircle cx='17.7' cy='10.2' r='5'/%3E%3Ccircle cx='15.5' cy='17' r='5'/%3E%3Ccircle cx='8.5' cy='17' r='5'/%3E%3Ccircle cx='6.3' cy='10.2' r='5'/%3E%3C/g%3E%3Ccircle cx='12' cy='12' r='3.4' fill='%23ffe08a'/%3E%3C/svg%3E"); filter: drop-shadow(0 4px 8px rgba(220, 120, 140, .3)); }
html[data-concept=spring] .countband { background: var(--gingham), linear-gradient(160deg, #b2d494, #7fa865); color: #fff; }
html[data-concept=spring] .countdown i { color: #fff; }
html[data-concept=spring] .countdown span, html[data-concept=spring] .countdown-msg { color: #f6fbef; }
html[data-concept=spring] .countdown-msg em { color: #fff3c4; }
html[data-concept=spring] .dark { background: var(--gingham), #fdf6f0; color: var(--ink); }
html[data-concept=spring] .dark .title.light { color: var(--ink); } html[data-concept=spring] .dark .eyebrow.light { color: var(--rose); }
html[data-concept=spring] .carousel button { border-radius: 4px; background: #fff; padding: 8px 8px 30px; }
html[data-concept=spring] .carousel button.cur { box-shadow: 0 16px 34px rgba(110, 120, 80, .22); rotate: -1.5deg; }
html[data-concept=spring] .dots i { background: rgba(121, 163, 94, .28); } html[data-concept=spring] .dots i.on { background: var(--rose); }
html[data-concept=spring] .thumbs button.on { box-shadow: 0 0 0 2px var(--rose); }
html[data-concept=spring] .ticket { box-shadow: 0 18px 40px rgba(110, 120, 80, .16); }
html[data-concept=spring] .ticket-head { color: #fff; background: var(--gingham), linear-gradient(135deg, #f0a9b9, #dc7f97); }
html[data-concept=spring] .t-label, html[data-concept=spring] .t-names em { color: #fff6d8; }
html[data-concept=spring] .seg input:checked + span { border-color: var(--gold); background: #eff7e6; color: var(--gold-3); }
html[data-concept=spring] .stamp { color: var(--rose); border-color: var(--rose); }
html[data-concept=spring] .film-bar i { background: linear-gradient(90deg, #f3b5c3, #fff); }
html[data-concept=spring] .map-paper { background: #eef5e2 url(../assets/img/paper.jpg); background-blend-mode: multiply; }
html[data-concept=spring] .quickbar { box-shadow: 0 12px 34px rgba(80, 90, 60, .2), 0 0 0 1.5px rgba(243, 181, 195, .6); }
html[data-concept=spring] .top-tools button { color: var(--gold-3); box-shadow: 0 4px 14px rgba(80, 90, 60, .15), 0 0 0 1.5px rgba(243, 181, 195, .6); }
html[data-concept=spring] .c-row a { background: #fde8ee; color: var(--rose); }

/* 우리의 이야기 영상(사진 슬라이드쇼) */
.reel { position: relative; aspect-ratio: 4 / 5; margin: 6px 0 46px; border-radius: 16px; overflow: hidden; background: #18130e; box-shadow: 0 18px 40px -18px rgba(40, 28, 14, .55); isolation: isolate; }
.reel-stage, .reel-stage figure { position: absolute; inset: 0; margin: 0; }
.reel-stage figure { opacity: 0; transition: opacity 1.1s ease; }
.reel-stage figure.on { opacity: 1; z-index: 1; }
.reel-stage img { width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 50%; }
.reel-stage figure.on img { animation: var(--dur, 4s) linear both; }
.reel-stage .kb0 img { animation-name: kb0; } .reel-stage .kb1 img { animation-name: kb1; }
.reel-stage .kb2 img { animation-name: kb2; } .reel-stage .kb3 img { animation-name: kb3; }
@keyframes kb0 { from { transform: scale(1.04); } to { transform: scale(1.16) translate(-2%, -1.5%); } }
@keyframes kb1 { from { transform: scale(1.16) translate(2%, 1%); } to { transform: scale(1.04); } }
@keyframes kb2 { from { transform: scale(1.08) translate(-2.5%, 0); } to { transform: scale(1.14) translate(2.5%, -1%); } }
@keyframes kb3 { from { transform: scale(1.12) translate(0, 2%); } to { transform: scale(1.05) translate(0, -2%); } }
.reel.paused .reel-stage figure.on img { animation-play-state: paused; }
.reel::after { content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(180deg, rgba(0, 0, 0, .28), transparent 18%, transparent 55%, rgba(12, 8, 4, .72)); }
.reel-bars { position: absolute; z-index: 4; top: 12px; left: 12px; right: 12px; display: flex; gap: 4px; }
.reel-bars i { flex: 1; height: 2.5px; border-radius: 2px; background: rgba(255, 255, 255, .32); overflow: hidden; }
.reel-bars b { display: block; height: 100%; width: 0; background: #fff; }
.reel-cap { position: absolute; z-index: 3; left: 0; right: 0; bottom: 26px; padding: 0 24px; text-align: center; color: #fff; text-shadow: 0 1px 8px rgba(0, 0, 0, .45); pointer-events: none; }
.reel-cap .tag { font-family: 'Cinzel', serif; font-weight: 600; font-size: calc(10.5px * var(--fs)); letter-spacing: .38em; padding-left: .38em; color: var(--gold-2); }
.reel-cap h3 { font-family: 'Bookk', serif; font-weight: 300; font-size: calc(24px * var(--fs)); margin: 6px 0 4px; }
.reel-cap .sub { font-size: calc(13px * var(--fs)); opacity: .88; }
.reel-cap.rise > * { animation: reelRise .9s cubic-bezier(.2, .7, .2, 1) both; }
.reel-cap.rise > :nth-child(2) { animation-delay: .12s; } .reel-cap.rise > :nth-child(3) { animation-delay: .24s; }
@keyframes reelRise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.reel-btn { position: absolute; z-index: 5; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .6);
  background: rgba(20, 14, 8, .38); backdrop-filter: blur(6px); opacity: 0; transition: opacity .3s; }
.reel-btn i { position: absolute; left: 26px; top: 21px; border-left: 16px solid #fff; border-top: 11px solid transparent; border-bottom: 11px solid transparent; }
.reel.paused .reel-btn, .reel.done .reel-btn, .reel:not(.playing) .reel-btn { opacity: 1; }
.reel.playing .reel-btn { opacity: 0; pointer-events: none; }
.reel.done .reel-btn i { left: 22px; top: 20px; width: 20px; height: 20px; border: 3px solid #fff; border-left-color: transparent; border-radius: 50%; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .opener { display: none; }
}
