:root {
  --navy: #0d1b3e; --navy-2: #132a52; --gold: #c9a24b; --ember: #e8621f;
  --ink: #f4efe6; --surface: #fbf7ef; --surface-ink: #24262b; --muted: #737984;
  --line: #e4ddce; --ok-bg: #e6f4ea; --ok-ink: #1e6b37; --wait-bg: #fdf3e0;
  --wait-ink: #875018; --cancel-bg: #f1f1f3; --cancel-ink: #62666e;
  --sold-bg: #f6e4e4; --sold-ink: #9a3434;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; font-family: Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Segoe UI", sans-serif; color: var(--surface-ink); background: var(--surface); line-height: 1.6; word-break: keep-all; }
a { color: var(--ember); }
.wrap { max-width: 560px; margin: 0 auto; padding: 0 16px 64px; }
.hero { background: radial-gradient(1200px 400px at 50% -120px, #24407a 0%, var(--navy) 55%, #081026 100%); color: var(--ink); padding: 56px 16px 40px; text-align: center; }
.hero .kicker { color: var(--gold); letter-spacing: .08em; font-size: 13px; margin: 0 0 10px; }
.hero h1 { font-size: 26px; margin: 0 0 14px; font-weight: 800; }
.hero .lead { font-size: 15px; margin: 0; color: #d8e0f0; }
.hero .meta { margin-top: 18px; font-size: 14px; color: #dfc176; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px; margin-top: 20px; }
.card h2 { font-size: 18px; margin: 0 0 12px; }
.card h3 { font-size: 15px; margin: 16px 0 6px; }
dl.kv { margin: 0; display: grid; grid-template-columns: 88px 1fr; gap: 6px 12px; font-size: 14px; }
dl.kv dt { color: var(--muted); } dl.kv dd { margin: 0; }
.product { border: 1px solid var(--line); border-radius: 12px; padding: 14px; margin-top: 12px; display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.product .price { font-weight: 800; font-size: 17px; white-space: nowrap; }
.product .desc { font-size: 13px; color: var(--muted); margin: 4px 0 0; }
.badge { display: inline-block; font-size: 12px; padding: 2px 8px; border-radius: 999px; font-weight: 700; }
.badge.open { background: var(--ok-bg); color: var(--ok-ink); } .badge.sold { background: var(--sold-bg); color: var(--sold-ink); }
table.sessions { width: 100%; border-collapse: collapse; font-size: 14px; margin-top: 8px; }
table.sessions th, table.sessions td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--line); }
table.sessions th { color: var(--muted); font-weight: 600; }
form label { display: block; font-size: 13px; color: var(--muted); margin: 14px 0 4px; }
form input[type=text], form input[type=tel], form input[type=password], form select { width: 100%; min-height: 44px; padding: 11px 12px; font-size: 15px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font-family: inherit; }
form input:focus, form select:focus, button:focus-visible, a:focus-visible { outline: 3px solid rgba(232, 98, 31, .35); outline-offset: 2px; }
.checkline { display: flex; gap: 8px; align-items: flex-start; margin-top: 12px; font-size: 13px; color: var(--surface-ink); }
.checkline input { margin-top: 4px; min-width: 18px; min-height: 18px; }
.consent-detail { font-size: 12px; color: var(--muted); margin: 6px 0 0; }
.btn { display: inline-block; width: 100%; min-height: 48px; text-align: center; margin-top: 18px; padding: 12px 16px; font-size: 16px; font-weight: 800; border: 0; border-radius: 12px; background: var(--ember); color: #fff; cursor: pointer; font-family: inherit; text-decoration: none; }
.btn:disabled { opacity: .6; cursor: default; } .btn.ghost { background: transparent; color: var(--ember); border: 1px solid var(--ember); }
.error { color: var(--sold-ink); font-size: 13px; margin-top: 10px; min-height: 18px; }
.summary { display: grid; gap: 8px; margin: 12px 0; }
.summary > div { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; border-bottom: 1px solid var(--line); padding-bottom: 6px; }
.summary dt { color: var(--muted); margin: 0; } .summary dd { margin: 0; font-weight: 600; text-align: right; }
.deposit { background: var(--surface); border: 1px dashed var(--gold); border-radius: 12px; padding: 14px; margin: 14px 0; }
.deposit .amount { font-size: 22px; font-weight: 800; margin: 4px 0 8px; } .deposit .hint { font-size: 12px; color: var(--wait-ink); margin: 8px 0 0; }
footer.site { text-align: center; font-size: 12px; color: var(--muted); margin-top: 28px; }
.status-badge { display: inline-block; font-size: 12px; font-weight: 800; padding: 3px 10px; border-radius: 999px; }
.status-badge.s-pending { background: var(--wait-bg); color: var(--wait-ink); } .status-badge.s-confirmed { background: var(--ok-bg); color: var(--ok-ink); } .status-badge.s-cancelled { background: var(--cancel-bg); color: var(--cancel-ink); }
.muted { color: var(--muted); font-size: 13px; }
.admin-bar { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 12px; }
.admin-bar select, .admin-bar button { min-height: 44px; padding: 8px 10px; font-size: 13px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font-family: inherit; }
.cap-chip { display: inline-block; font-size: 12px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 3px 8px; margin: 2px 4px 2px 0; }
.admin-row { border: 1px solid var(--line); border-radius: 12px; padding: 12px; margin-top: 10px; background: #fff; }
.admin-row.s-cancelled { opacity: .65; } .ar-head { display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.ar-actions { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.ar-actions button { min-height: 44px; padding: 8px 12px; font-size: 13px; font-weight: 700; border: 1px solid var(--ember); color: var(--ember); background: #fff; border-radius: 8px; cursor: pointer; font-family: inherit; }
.ar-actions button.danger { border-color: var(--sold-ink); color: var(--sold-ink); }
.admin-row .memo { font-size: 13px; background: var(--surface); border-radius: 8px; padding: 6px 8px; margin: 6px 0 0; white-space: pre-wrap; }
#toast { position: fixed; z-index: 10; left: 16px; right: 16px; bottom: 16px; background: var(--navy); color: #fff; padding: 12px 14px; border-radius: 10px; font-size: 13px; text-align: center; }
@media (min-width: 720px) { .wrap.admin { max-width: 960px; } }

/* ---- 홈(행사 소개) 랜딩 ---- */
.hero-home { position: relative; color: var(--ink); text-align: center; overflow: hidden; padding: 0; isolation: isolate; }
.hero-home__bg { position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(180deg, rgba(8,16,38,.62) 0%, rgba(8,16,38,.72) 55%, rgba(8,16,38,.92) 100%), url("/assets/img/hero.jpg"); background-size: cover; background-position: center 38%; }
.hero-home__inner { max-width: 560px; margin: 0 auto; padding: 88px 20px 64px; }
.hero-home .kicker { color: var(--gold); letter-spacing: .12em; font-size: 12px; margin: 0 0 14px; text-shadow: 0 1px 8px rgba(0,0,0,.5); }
.hero-home__title { font-size: 44px; letter-spacing: .04em; margin: 0; font-weight: 800; color: #f6e7c4; text-shadow: 0 2px 20px rgba(0,0,0,.55); }
.hero-home__sub { font-size: 15px; margin: 12px 0 0; color: #e7ecf7; text-shadow: 0 1px 10px rgba(0,0,0,.55); }
.hero-home__meta { margin: 20px 0 0; font-size: 14px; font-weight: 700; color: #e9cd8b; text-shadow: 0 1px 10px rgba(0,0,0,.6); }
.hero-home__cta { width: auto; display: inline-block; margin-top: 26px; padding: 13px 30px; box-shadow: 0 10px 30px rgba(232,98,31,.35); }
.hero-home__note { font-size: 12px; margin: 12px 0 0; color: #c7cfe0; }

.intro { max-width: 560px; margin: 26px auto 0; font-size: 16px; line-height: 1.75; text-align: center; }
.intro strong { color: var(--ember); font-weight: 700; }

.photo-band { margin: 22px 0 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; }
.photo-band img { display: block; width: 100%; height: 240px; object-fit: cover; object-position: center 60%; }
.photo-band figcaption { padding: 16px 18px 18px; }
.photo-band figcaption h2 { margin: 0 0 6px; font-size: 18px; }
.photo-band figcaption p { margin: 0; font-size: 14px; color: var(--surface-ink); }

.feature-grid { list-style: none; margin: 4px 0 12px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.feature-grid li { border: 1px solid var(--line); border-radius: 12px; padding: 14px; display: flex; flex-direction: column; gap: 4px; }
.feature-grid strong { font-size: 14px; }
.feature-grid span:not(.feature-grid__ico) { font-size: 12.5px; color: var(--muted); line-height: 1.5; }

.provide { display: flex; gap: 16px; align-items: flex-start; }
.provide img { width: 132px; height: auto; align-self: stretch; max-height: 280px; flex: none; object-fit: cover; border-radius: 12px; }
.provide__big { font-size: 16px; font-weight: 700; margin: 6px 0 8px; color: var(--ember); }

.pay-note { font-size: 12px; color: var(--muted); margin: 12px 0 0; line-height: 1.6; }
.pay-note strong { color: var(--wait-ink); }

.hero-home__org { margin: 10px 0 0; font-size: 11px; letter-spacing: .06em; color: #cdb87f; text-shadow: 0 1px 10px rgba(0,0,0,.6); }

.council__lead { font-size: 14px; margin: 0 0 14px; }
dl.council__kv { grid-template-columns: auto 1fr; column-gap: 16px; row-gap: 10px; }
dl.council__kv dt { white-space: nowrap; font-weight: 700; color: var(--surface-ink); }
.council__partners { margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--line); }
.council__partners-label { font-size: 13px; margin: 0 0 10px; }
.council__partners ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; }
.council__partners li { display: flex; align-items: center; }
.council__partners img { height: 30px; width: auto; display: block; object-fit: contain; }
.council__partners li:has(img) span { display: none; }
.council__partners li span { font-size: 13px; font-weight: 600; border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; background: #fff; }

@media (min-width: 620px) {
  .photo-band { display: grid; grid-template-columns: 44% 1fr; }
  .photo-band img { height: 100%; min-height: 210px; }
  .photo-band--rev img { order: 2; }
  .photo-band figcaption { align-self: center; }
  .provide img { width: 200px; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }
html { scroll-behavior: smooth; }
