/* ==========================================================================
   플레이션 가챠샵 — 공통 스타일
   색: 흰 바탕 + 빨강(행동) · 노랑(탐색) · 파랑(정보)
   글꼴: Pretendard(본문) · Jalnan(로고·간판 글자)
   ========================================================================== */

@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css");

@font-face {
  font-family: "yg-jalnan";
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_four@1.2/Jalnan.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --red: #CF3326;
  --red-deep: #A5281D;
  --red-soft: #FBE9E6;
  --yellow: #FFD447;
  --yellow-soft: #FFF3C4;
  --blue: #2453A6;
  --blue-soft: #E4ECF9;
  --ink: #171A20;
  --muted: #5C6673;
  --line: #E4E2DD;
  --line-strong: #70757D;
  --paper: #FFFFFF;
  --neutral: #F4F3F0;
  --neutral-2: #E9E8E4;
  --error: #B42318;
  --ok: #1E7A46;
  --ok-soft: #E2F3E8;

  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif;
  --display: "yg-jalnan", "Pretendard Variable", Pretendard, "Malgun Gothic", sans-serif;

  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 8px 24px rgba(23, 26, 32, 0.08);
  --max: 1200px;
  --gutter: 20px;
  --tab-h: 64px;

  --checker: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='24' viewBox='0 0 48 24'%3E%3Crect width='48' height='24' fill='%23ffffff'/%3E%3Crect width='12' height='12' fill='%23CF3326'/%3E%3Crect x='24' width='12' height='12' fill='%23CF3326'/%3E%3Crect x='12' y='12' width='12' height='12' fill='%23FFD447'/%3E%3Crect x='36' y='12' width='12' height='12' fill='%23FFD447'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  word-break: keep-all;
  overflow-wrap: anywhere;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; line-height: 1.25; letter-spacing: -0.02em; font-weight: 800; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
small { font-size: 0.875rem; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { top: 12px; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }

/* --------------------------------------------------------------------------
   간판 요소: 체커 띠
   -------------------------------------------------------------------------- */
.checker { height: 10px; background: var(--checker); background-size: 40px 20px; }
.checker--thin { height: 6px; background-size: 24px 12px; }

/* --------------------------------------------------------------------------
   헤더
   -------------------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.96); backdrop-filter: saturate(1.2) blur(8px); border-bottom: 1px solid var(--line); }
.site-header .bar { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.logo:hover { text-decoration: none; }
.logo__mark { width: 34px; height: 34px; flex: none; }
.logo__text { font-family: var(--display); font-size: 1.25rem; letter-spacing: 0; line-height: 1; padding-top: 2px; }
.logo__sub { display: block; font-family: var(--font); font-size: 0.68rem; font-weight: 700; color: var(--muted); letter-spacing: 0.08em; margin-top: 3px; }

.nav { display: none; align-items: center; gap: 4px; }
.nav a { color: var(--ink); font-weight: 600; padding: 10px 12px; border-radius: 8px; }
.nav a:hover { background: var(--neutral); text-decoration: none; }
.nav a[aria-current="page"] { background: var(--yellow); color: var(--ink); }
.header-cta { display: inline-flex; }
@media (min-width: 1024px) {
  .nav { display: flex; }
}

@media (max-width: 479px) {
  .logo__sub { display: none; }
  .hero__capsule { width: 84px; height: 84px; right: -8px; top: -8px; }
}

/* 공지 띠 */
.notice-bar { background: var(--yellow); color: var(--ink); font-weight: 600; font-size: 0.95rem; }
.notice-bar .container { display: flex; align-items: center; gap: 12px; padding-top: 10px; padding-bottom: 10px; }
.notice-bar p { margin: 0; flex: 1; }
.notice-bar a { color: var(--ink); text-decoration: underline; }
.notice-bar button { background: none; border: 0; font-size: 1.1rem; line-height: 1; padding: 4px; color: var(--ink); }

/* 모바일 하단 메뉴 */
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: #fff; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(5, 1fr); height: calc(var(--tab-h) + env(safe-area-inset-bottom, 0px)); padding-bottom: env(safe-area-inset-bottom, 0px); }
.tabbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: var(--muted); font-size: 0.72rem; font-weight: 600; text-decoration: none; }
.tabbar a svg { width: 24px; height: 24px; }
.tabbar a[aria-current="page"] { color: var(--red); }
body { padding-bottom: calc(var(--tab-h) + env(safe-area-inset-bottom, 0px)); }
@media (min-width: 1024px) {
  .tabbar { display: none; }
  body { padding-bottom: 0; }
}

/* --------------------------------------------------------------------------
   버튼 · 태그 · 칩
   -------------------------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap; min-height: 48px; padding: 0 20px; border-radius: 10px; font-weight: 700; font-size: 1rem; border: 2px solid transparent; text-decoration: none; transition: background-color 150ms, color 150ms, border-color 150ms; }
.btn:hover { text-decoration: none; }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-deep); }
.btn--yellow { background: var(--yellow); color: var(--ink); }
.btn--yellow:hover { background: #F2C62E; }
.btn--outline { background: #fff; color: var(--ink); border-color: var(--ink); }
.btn--outline:hover { background: var(--neutral); }
.btn--ghost { background: transparent; color: var(--blue); padding: 0 8px; min-height: 40px; }
.btn--ghost:hover { background: var(--blue-soft); }
.btn--sm { min-height: 40px; padding: 0 14px; font-size: 0.9rem; border-radius: 8px; }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; }
.btn.is-busy { position: relative; color: transparent; }
.btn.is-busy::after { content: ""; position: absolute; width: 18px; height: 18px; border: 3px solid rgba(255,255,255,0.5); border-top-color: #fff; border-radius: 50%; animation: spin 0.8s linear infinite; }
.btn--outline.is-busy::after, .btn--yellow.is-busy::after { border-color: rgba(23,26,32,0.3); border-top-color: var(--ink); }
@keyframes spin { to { transform: rotate(360deg); } }

.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }

.tag { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 6px; font-size: 0.8rem; font-weight: 700; line-height: 1.5; background: var(--yellow); color: var(--ink); }
.tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: 0.8; }
.tag--plain::before { display: none; }
.tag--blue { background: var(--blue-soft); color: var(--blue); }
.tag--red { background: var(--red-soft); color: var(--red-deep); }
.tag--gray { background: var(--neutral-2); color: var(--muted); }
.tag--green { background: var(--ok-soft); color: var(--ok); }
.tag--ink { background: var(--ink); color: #fff; }

.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--line-strong); background: #fff; color: var(--ink); font-weight: 600; font-size: 0.9rem; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }

/* --------------------------------------------------------------------------
   히어로
   -------------------------------------------------------------------------- */
.hero { padding: 40px 0 24px; }
.hero__grid { display: grid; gap: 28px; }
.hero__title { font-size: clamp(2rem, 4.4vw, 3rem); line-height: 1.15; letter-spacing: -0.03em; }
.hero__title .display { font-family: var(--display); font-weight: normal; letter-spacing: 0; color: var(--red); }
.hero__lead { font-size: 1.1rem; color: var(--muted); margin: 18px 0 24px; max-width: 34em; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px; padding: 0; list-style: none; color: var(--muted); font-size: 0.95rem; font-weight: 600; }
.hero__facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero__facts svg { width: 18px; height: 18px; color: var(--red); }
.hero__photo { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--neutral); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__photo figcaption { position: absolute; left: 12px; bottom: 12px; background: rgba(255,255,255,0.92); padding: 6px 10px; border-radius: 6px; font-size: 0.8rem; font-weight: 600; }
.hero__capsule { position: absolute; right: -14px; top: -14px; width: 120px; height: 120px; opacity: 0.95; pointer-events: none; }
@media (min-width: 900px) {
  .hero { padding: 64px 0 40px; }
  .hero__grid { grid-template-columns: 1.08fr 1fr; align-items: center; gap: 48px; }
  .hero__lead { font-size: 1.2rem; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero__photo { animation: rise 600ms cubic-bezier(.2,.7,.2,1) both; animation-delay: 120ms; }
  .hero__capsule { animation: drop 700ms cubic-bezier(.2,.7,.2,1) both; animation-delay: 420ms; }
  @keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
  @keyframes drop { from { opacity: 0; transform: translateY(-30px) rotate(-12deg); } to { opacity: 1; transform: none; } }
}

/* --------------------------------------------------------------------------
   섹션 공통
   -------------------------------------------------------------------------- */
.section { padding: 56px 0; }
.section--neutral { background: var(--neutral); }
.section--tight { padding: 32px 0; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; margin-bottom: 24px; }
.section-head h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.section-head p { margin: 6px 0 0; color: var(--muted); max-width: 40em; }
.section-head .more { white-space: nowrap; font-weight: 700; }
@media (min-width: 900px) { .section { padding: 80px 0; } }

.page-head { padding: 36px 0 20px; }
.page-head h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.page-head p { color: var(--muted); margin: 10px 0 0; max-width: 40em; font-size: 1.05rem; }
.breadcrumb { font-size: 0.85rem; color: var(--muted); margin-bottom: 10px; }
.breadcrumb a { color: var(--muted); }

.prose { max-width: 72ch; }
.prose h2 { font-size: 1.4rem; margin: 2em 0 0.6em; }
.prose h3 { font-size: 1.15rem; margin: 1.6em 0 0.5em; }
.prose p, .prose li { color: #2A2F38; }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.95rem; margin: 1em 0 1.5em; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--neutral); font-weight: 700; }
.table-wrap { overflow-x: auto; }

/* --------------------------------------------------------------------------
   PLAY · COLLECT · SHARE 세 기둥
   -------------------------------------------------------------------------- */
.pillars { display: grid; gap: 12px; }
.pillar { padding: 24px; border-radius: 14px; border: 1px solid var(--line); background: #fff; position: relative; }
.pillar__word { font-family: var(--display); font-size: 1.6rem; line-height: 1; margin-bottom: 10px; }
.pillar--play .pillar__word { color: var(--red); }
.pillar--collect .pillar__word { color: #B58B00; }
.pillar--share .pillar__word { color: var(--blue); }
.pillar h3 { font-size: 1.15rem; margin-bottom: 6px; }
.pillar p { color: var(--muted); margin: 0; }
.pillar a { display: inline-block; margin-top: 12px; font-weight: 700; }
@media (min-width: 768px) { .pillars { grid-template-columns: repeat(3, 1fr); gap: 16px; } }

/* --------------------------------------------------------------------------
   상품 카드
   -------------------------------------------------------------------------- */
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 14px; }
@media (min-width: 768px) { .product-grid { grid-template-columns: repeat(3, 1fr); gap: 28px 20px; } }
@media (min-width: 1024px) { .product-grid { grid-template-columns: repeat(4, 1fr); } }

.product { display: block; color: var(--ink); text-decoration: none; }
.product:hover { text-decoration: none; }
.product__img { aspect-ratio: 1 / 1; border-radius: 12px; overflow: hidden; background: var(--neutral); position: relative; margin-bottom: 10px; }
.product__img img, .product__img svg { width: 100%; height: 100%; object-fit: cover; display: block; }
.product__img .tag { position: absolute; left: 8px; top: 8px; }
.product__img .sample { position: absolute; right: 8px; top: 8px; background: rgba(255,255,255,0.9); color: var(--muted); font-size: 0.7rem; font-weight: 700; padding: 2px 6px; border-radius: 4px; }
.product--soldout .product__img img, .product--soldout .product__img svg { filter: grayscale(0.8); opacity: 0.6; }
.product__series { font-size: 0.8rem; color: var(--muted); margin: 0; }
.product__name { font-size: 1rem; font-weight: 700; margin: 2px 0 6px; line-height: 1.35; }
.product:hover .product__name { text-decoration: underline; }
.product__meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 0.9rem; }
.product__price { font-weight: 800; }
.product__loc { font-weight: 700; color: var(--blue); background: var(--blue-soft); padding: 1px 8px; border-radius: 6px; font-size: 0.8rem; font-variant-numeric: tabular-nums; }
.product__checked { font-size: 0.75rem; color: var(--muted); margin: 4px 0 0; }

/* 검색/필터 */
.search { display: flex; gap: 8px; margin-bottom: 14px; }
.search input { flex: 1; min-height: 48px; border: 1.5px solid var(--line-strong); border-radius: 10px; padding: 0 14px; font: inherit; font-size: 1rem; }
.filter-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 20px; }
.filter-bar .count { margin-left: auto; color: var(--muted); font-weight: 600; font-size: 0.9rem; }
.filter-group { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.filter-group__label { font-size: 0.85rem; color: var(--muted); font-weight: 700; margin-right: 2px; }
.empty { padding: 36px 20px; border: 1.5px dashed var(--line-strong); border-radius: 14px; text-align: center; color: var(--muted); }
.empty strong { display: block; color: var(--ink); font-size: 1.05rem; margin-bottom: 6px; }
.empty .btn-row { justify-content: center; margin-top: 14px; }

/* 취향 찾기 */
.taste { background: var(--yellow-soft); border-radius: 16px; padding: 22px; }
.taste h2 { font-size: 1.25rem; margin-bottom: 4px; }
.taste p { color: var(--muted); margin-bottom: 14px; }
.taste .q { margin-bottom: 14px; }
.taste .q__label { font-weight: 700; font-size: 0.95rem; margin-bottom: 8px; display: block; }
.taste .result { margin-top: 14px; padding: 14px 16px; background: #fff; border-radius: 10px; font-weight: 600; }
.taste .result span { color: var(--red); }

/* 기기 번호로 찾기 */
.locate { display: flex; gap: 8px; align-items: stretch; }
.locate input { flex: 1; min-height: 48px; border: 1.5px solid var(--line-strong); border-radius: 10px; padding: 0 14px; font: inherit; font-size: 1rem; text-transform: uppercase; }
.locate .hint { font-size: 0.85rem; color: var(--muted); margin: 8px 0 0; }

/* --------------------------------------------------------------------------
   상품 상세
   -------------------------------------------------------------------------- */
.detail { display: grid; gap: 24px; padding: 20px 0 48px; }
.detail__img { aspect-ratio: 1 / 1; border-radius: 16px; overflow: hidden; background: var(--neutral); }
.detail__img img, .detail__img svg { width: 100%; height: 100%; object-fit: cover; }
.detail__series { color: var(--muted); font-weight: 600; margin-bottom: 4px; }
.detail__name { font-size: clamp(1.5rem, 3.5vw, 2.2rem); margin-bottom: 14px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 18px 0; }
.fact { background: var(--neutral); border-radius: 12px; padding: 14px 16px; }
.fact__k { display: block; font-size: 0.8rem; color: var(--muted); font-weight: 700; margin-bottom: 4px; }
.fact__v { font-size: 1.25rem; font-weight: 800; letter-spacing: -0.01em; }
.fact__v.loc { color: var(--blue); font-variant-numeric: tabular-nums; }
.status-note { padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: #fff; font-size: 0.95rem; margin: 0 0 18px; display: flex; gap: 10px; align-items: flex-start; }
.status-note .tag { flex: none; margin-top: 2px; }
@media (min-width: 900px) { .detail { grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; } }

/* 매장 도식 */
.storemap { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px; }
.storemap svg { width: 100%; height: auto; display: block; }
.storemap .zone-fill { fill: #F4F3F0; stroke: #C9C7C0; stroke-width: 2; }
.storemap .zone-fill.is-active { fill: var(--yellow); stroke: var(--ink); }
.storemap .zone-label { font-family: var(--font); font-weight: 800; font-size: 20px; fill: var(--ink); }
.storemap .zone-sub { font-family: var(--font); font-weight: 600; font-size: 12px; fill: var(--muted); }
.storemap .pin { fill: var(--red); }
.storemap__caption { font-size: 0.85rem; color: var(--muted); margin: 10px 0 0; }
.loc-code { font-family: var(--font); font-variant-numeric: tabular-nums; display: inline-flex; gap: 6px; align-items: baseline; }
.loc-code b { font-size: 1.6rem; color: var(--blue); }
.loc-code small { color: var(--muted); }

/* --------------------------------------------------------------------------
   행사 (티켓)
   -------------------------------------------------------------------------- */
.event-list { display: grid; gap: 14px; }
@media (min-width: 900px) { .event-list { grid-template-columns: 1fr 1fr; gap: 20px; } }
.ticket { display: grid; grid-template-columns: 96px 1fr; border: 1.5px solid var(--ink); border-radius: 14px; overflow: hidden; background: #fff; color: var(--ink); text-decoration: none; }
.ticket:hover { text-decoration: none; box-shadow: var(--shadow); }
.ticket__date { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 16px 8px; background: var(--ink); color: #fff; text-align: center; border-right: 2px dashed rgba(255,255,255,0.4); }
.ticket__date .d { font-size: 1.9rem; font-weight: 800; line-height: 1; }
.ticket__date .m { font-size: 0.8rem; font-weight: 700; opacity: 0.85; }
.ticket__date .tbd { font-size: 0.85rem; font-weight: 700; line-height: 1.3; }
.ticket--tbd .ticket__date { background: var(--neutral-2); color: var(--ink); border-right-color: rgba(0,0,0,0.25); }
.ticket__body { padding: 16px 18px; }
.ticket__body h3 { font-size: 1.1rem; margin: 6px 0 4px; }
.ticket__body p { color: var(--muted); margin: 0; font-size: 0.95rem; }
.ticket__meta { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 10px; font-size: 0.85rem; color: var(--muted); font-weight: 600; }
.ticket:hover h3 { text-decoration: underline; }

/* 8주 프로그램 타임라인 */
.weeks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; counter-reset: wk; }
.week { display: grid; grid-template-columns: 56px 1fr; gap: 12px; padding: 14px 16px; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.week__n { font-family: var(--display); font-size: 1.1rem; color: var(--red); line-height: 1.2; }
.week__n small { display: block; font-family: var(--font); font-size: 0.7rem; color: var(--muted); font-weight: 700; }
.week h3 { font-size: 1.05rem; margin-bottom: 4px; }
.week p { margin: 0; color: var(--muted); font-size: 0.92rem; }
@media (min-width: 900px) { .weeks { grid-template-columns: 1fr 1fr; gap: 14px; } }

/* 행사 상세 */
.event-hero { padding: 28px 0 8px; }
.event-hero h1 { font-size: clamp(1.7rem, 4vw, 2.5rem); margin: 10px 0 8px; }
.kv { list-style: none; padding: 0; margin: 20px 0; display: grid; gap: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.kv li { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: #fff; }
.kv li:last-child { border-bottom: 0; }
.kv .k { color: var(--muted); font-weight: 700; font-size: 0.9rem; }
.kv .v { font-weight: 600; }
.rule-list li { margin-bottom: 6px; }

/* --------------------------------------------------------------------------
   폼
   -------------------------------------------------------------------------- */
.form { display: grid; gap: 16px; }
.field label { display: block; font-weight: 700; margin-bottom: 6px; font-size: 0.95rem; }
.field label .req { color: var(--red); margin-left: 2px; }
.field .help { font-size: 0.85rem; color: var(--muted); margin: 6px 0 0; }
.field input[type="text"], .field input[type="email"], .field input[type="number"], .field input[type="tel"], .field input[type="datetime-local"], .field select, .field textarea {
  width: 100%; min-height: 48px; border: 1.5px solid var(--line-strong); border-radius: 10px; padding: 10px 14px; font: inherit; font-size: 1rem; background: #fff; color: var(--ink);
}
.field textarea { min-height: 120px; resize: vertical; }
.field.is-error input, .field.is-error select, .field.is-error textarea { border-color: var(--error); }
.field .error { color: var(--error); font-size: 0.85rem; font-weight: 600; margin: 6px 0 0; }
.field-row { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 0.95rem; }
.check input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--red); }
.form-note { background: var(--neutral); border-radius: 12px; padding: 14px 16px; font-size: 0.92rem; color: var(--muted); }
.result-box { border-radius: 14px; padding: 20px; border: 1.5px solid var(--line); }
.result-box--ok { border-color: var(--ok); background: var(--ok-soft); }
.result-box--wait { border-color: var(--blue); background: var(--blue-soft); }
.result-box--err { border-color: var(--error); background: var(--red-soft); }
.result-box h3 { font-size: 1.1rem; margin-bottom: 6px; }
.result-box p { margin-bottom: 0; }
.result-box .btn-row { margin-top: 12px; }

/* --------------------------------------------------------------------------
   한 칸 전시 (사진 액자)
   -------------------------------------------------------------------------- */
.frames { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (min-width: 768px) { .frames { grid-template-columns: repeat(3, 1fr); gap: 22px; } }
@media (min-width: 1024px) { .frames { grid-template-columns: repeat(4, 1fr); } }
.frame { background: #fff; padding: 10px 10px 14px; border: 1px solid var(--line); box-shadow: 0 6px 18px rgba(23,26,32,0.08); color: var(--ink); text-decoration: none; display: block; border-radius: 4px; }
.frame:hover { text-decoration: none; transform: translateY(-2px); }
.frame__img { aspect-ratio: 1 / 1; background: var(--neutral); overflow: hidden; margin-bottom: 10px; }
.frame__img img, .frame__img svg { width: 100%; height: 100%; object-fit: cover; }
.frame__title { font-weight: 800; font-size: 0.98rem; line-height: 1.3; }
.frame__meta { font-size: 0.8rem; color: var(--muted); margin-top: 4px; display: flex; justify-content: space-between; gap: 8px; }
.frame__meta .op { color: var(--blue); font-weight: 700; }

.callout { display: grid; gap: 18px; padding: 24px; border-radius: 16px; background: var(--yellow-soft); }
.callout h3 { font-size: 1.25rem; margin-bottom: 6px; }
.callout p { margin-bottom: 0; color: #4A4F58; }
.callout--blue { background: var(--blue-soft); }
.callout--red { background: var(--red-soft); }
.callout--neutral { background: var(--neutral); }
@media (min-width: 768px) { .callout { grid-template-columns: 1fr auto; align-items: center; } }

/* 게시판 4종 */
.boards { display: grid; gap: 12px; }
.board { padding: 18px 20px; border-radius: 14px; border: 1px solid var(--line); background: #fff; }
.board h3 { font-size: 1.05rem; margin-bottom: 6px; }
.board p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.board .fmt { display: inline-block; margin-top: 10px; font-size: 0.8rem; font-weight: 700; color: var(--blue); background: var(--blue-soft); padding: 2px 8px; border-radius: 6px; }
@media (min-width: 768px) { .boards { grid-template-columns: 1fr 1fr; gap: 16px; } }
@media (min-width: 1024px) { .boards--3 { grid-template-columns: repeat(3, 1fr); } }

/* 수집 패스포트 배지 */
.badges { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; list-style: none; padding: 0; margin: 0; }
@media (min-width: 768px) { .badges { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
.badge { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px; text-align: center; }
.badge__icon { width: 56px; height: 56px; margin: 0 auto 10px; border-radius: 50%; display: grid; place-items: center; background: var(--yellow-soft); color: var(--red); }
.badge__icon svg { width: 28px; height: 28px; }
.badge h3 { font-size: 1rem; margin-bottom: 4px; }
.badge p { font-size: 0.85rem; color: var(--muted); margin: 0; }

/* 단계 안내 (처음 오셨나요) */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; counter-reset: step; }
.step { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 16px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.step::before { counter-increment: step; content: counter(step); width: 44px; height: 44px; border-radius: 50%; background: var(--red); color: #fff; font-weight: 800; font-size: 1.1rem; display: grid; place-items: center; }
.step h3 { font-size: 1.05rem; margin-bottom: 4px; }
.step p { margin: 0; color: var(--muted); font-size: 0.95rem; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
.steps--4 { }
@media (min-width: 1024px) { .steps--4 { grid-template-columns: repeat(4, 1fr); } .steps--4 .step { grid-template-columns: 1fr; } .steps--4 .step::before { margin-bottom: 4px; } }

/* 사진 + 글 (촬영소 등) */
.split { display: grid; gap: 24px; align-items: center; }
.split__img { border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--neutral); }
.split__img img { width: 100%; height: 100%; object-fit: cover; }
.split h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 10px; }
.split p { color: #3B414B; }
.split ul { color: #3B414B; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 48px; } .split--rev .split__img { order: 2; } }

/* 방문 안내 */
.visit-card { background: #fff; border: 1.5px solid var(--ink); border-radius: 16px; padding: 22px; }
.visit-card h2 { font-size: 1.35rem; margin-bottom: 12px; }
.visit-card .addr { font-size: 1.15rem; font-weight: 800; margin-bottom: 4px; }
.visit-card .sub { color: var(--muted); margin-bottom: 14px; }
.hours { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 8px; }
.hours li { display: grid; grid-template-columns: 110px 1fr; gap: 10px; padding: 10px 12px; background: var(--neutral); border-radius: 10px; font-size: 0.95rem; }
.hours .k { color: var(--muted); font-weight: 700; }
.hours .v { font-weight: 700; }
.hours .v.tbd { color: var(--muted); font-weight: 600; }
.channels { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.channel { display: flex; align-items: center; gap: 10px; padding: 14px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-weight: 700; text-decoration: none; }
.channel:hover { background: var(--neutral); text-decoration: none; }
.channel svg { width: 22px; height: 22px; color: var(--red); flex: none; }
.channel.is-off { color: var(--muted); border-style: dashed; font-weight: 600; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 44px 18px 0; font-weight: 700; font-size: 1.02rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px; border-right: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); transform: translateY(-70%) rotate(45deg); transition: transform 150ms; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq .a { padding: 0 0 18px; color: #3B414B; max-width: 70ch; }
.faq .a p:last-child { margin-bottom: 0; }

/* 공지 목록 */
.notices { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.notice { padding: 16px 18px; border-radius: 12px; border: 1px solid var(--line); background: #fff; }
.notice time { font-size: 0.8rem; color: var(--muted); font-weight: 700; display: block; margin-bottom: 4px; }
.notice h3 { font-size: 1.02rem; margin-bottom: 4px; }
.notice p { margin: 0; color: #3B414B; font-size: 0.95rem; }

/* 대비표 (플레이션이 다른 점) */
.compare { width: 100%; border-collapse: collapse; font-size: 0.95rem; background: #fff; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.compare th, .compare td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { background: var(--ink); color: #fff; font-weight: 700; }
.compare tbody th { background: var(--neutral); font-weight: 700; width: 28%; }
.compare tr:last-child td, .compare tr:last-child th { border-bottom: 0; }
.compare .yes { color: var(--red); font-weight: 700; }

/* D-day */
.dday { display: inline-flex; align-items: center; gap: 10px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 999px; font-weight: 700; font-size: 0.9rem; }
.dday b { font-family: var(--display); font-weight: normal; font-size: 1.1rem; color: var(--yellow); }

/* --------------------------------------------------------------------------
   푸터
   -------------------------------------------------------------------------- */
.site-footer { background: var(--neutral); border-top: 1px solid var(--line); padding: 40px 0 28px; margin-top: 40px; font-size: 0.9rem; color: var(--muted); }
.site-footer .cols { display: grid; gap: 24px; margin-bottom: 24px; }
.site-footer h4 { font-size: 0.95rem; color: var(--ink); margin-bottom: 8px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--ink); }
.site-footer .biz { border-top: 1px solid var(--line); padding-top: 16px; font-size: 0.82rem; line-height: 1.7; }
.site-footer .biz span { white-space: nowrap; }
.site-footer .brandline { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; color: var(--ink); }
.site-footer .brandline .logo__text { font-size: 1.1rem; }
@media (min-width: 768px) { .site-footer .cols { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }

/* 유틸 */
.mt-0 { margin-top: 0 !important; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-0 { margin-bottom: 0 !important; }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }
.hidden { display: none !important; }
.center { text-align: center; }
.fine { font-size: 0.82rem; color: var(--muted); }
