/* 부산 여행 사이트 — 남색 + 주황 한 가지. PC·휴대폰 모두 (좁으면 한 줄씩 쌓임, 아래 메뉴 고정) */
:root {
  --ink: #0F2438; --ink-2: #24384C; --muted: #4A5B6C; --line: #DDE4EA; --soft: #F3F6F9; --ground: #FFFFFF;
  --accent: #C2410C; --accent-soft: #FFF4EC; --accent-ink: #8A2D08; --sea: #1E3A55; --sea-text: #C9D6E2;
  --line-green: #06C755; --tg-blue: #1C7FBF;
  --radius: 16px; --gutter: 32px;
  --head: "Plus Jakarta Sans", "Noto Sans", system-ui, sans-serif;
  --body: "Noto Sans", system-ui, -apple-system, "Segoe UI", "Hiragino Sans", "PingFang SC", "Microsoft JhengHei", sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 16px/1.6 var(--body); }
img { display: block; max-width: 100%; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--accent); }
h1, h2, h3 { font-family: var(--head); letter-spacing: -0.02em; line-height: 1.2; margin: 0; }
h1 { font-size: clamp(28px, 4vw, 44px); font-weight: 800; }
h2 { font-size: clamp(22px, 2.6vw, 32px); font-weight: 800; }
h3 { font-size: 18px; font-weight: 600; font-family: var(--body); letter-spacing: 0; }
p { margin: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 8px; background: #fff; padding: 8px 12px; z-index: 50; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }
.center { text-align: center; }
.note { font-size: 13px; color: var(--muted); }
.sub { color: var(--muted); font-size: 14px; }
.empty { color: var(--muted); padding: 24px 0; }
.notice { background: var(--accent-soft); color: var(--accent-ink); padding: 12px 14px; border-radius: 12px; font-size: 14px; margin: 12px 0; }
.ko { color: var(--muted); }

/* 단추 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px;
  border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--ink); font: 600 15px var(--body); cursor: pointer; }
.btn:hover { border-color: var(--ink); color: var(--ink); }
.btn.accent { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn.white { background: #fff; border-color: #fff; color: var(--ink); }
.btn.line { background: var(--line-green); border-color: var(--line-green); color: #fff; }
.btn.tg { background: var(--tg-blue); border-color: var(--tg-blue); color: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.chips.scroll { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
.chip { flex: none; display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; color: var(--ink); font: 14px var(--body); cursor: pointer; white-space: nowrap; }
.chip[aria-current="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

/* 맨 위 */
.top { border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: 0; z-index: 20; }
/* 한 줄: 로고 · 메뉴 · 돋보기 · 언어(맨 오른쪽). 메뉴만 줄어들고, 언어는 늘 같은 줄 */
.top-row { display: flex; flex-wrap: nowrap; align-items: center; gap: 12px 20px; padding-top: 12px; padding-bottom: 12px; }
.logo { display: flex; align-items: center; gap: 10px; font: 800 21px var(--head); letter-spacing: -0.02em; }
.mark { display: inline-flex; width: 34px; height: 34px; border-radius: 8px; background: var(--ink); color: #fff;
  align-items: center; justify-content: center; font-size: 16px; }
.logo { flex: none; white-space: nowrap; }
.nav { display: flex; flex-wrap: wrap; gap: 2px; flex: 1 1 auto; min-width: 0; }
.nav a { padding: 10px 12px; font-weight: 600; font-size: 15px; white-space: nowrap; }
.search-btn { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; }
.search-btn svg { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; }
.search-btn[aria-expanded="true"] { background: var(--ink); border-color: var(--ink); }
.search-btn[aria-expanded="true"] svg { stroke: #fff; }
.search-row { border-top: 1px solid var(--line); background: var(--soft); padding: 14px 0; }
.search-row .big-search { max-width: 1280px; }
.nav a.accent { color: var(--accent); }
.langs { flex: none; display: flex; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; }
.langs a { padding: 6px 11px; border-radius: 999px; font-size: 13px; color: var(--muted); }
.langs a[aria-current="true"] { background: var(--ink); color: #fff; font-weight: 600; }

/* 첫 화면 */
.hero { background: var(--soft); }
.hero-row { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; padding-top: 56px; padding-bottom: 56px; }
.hero-text { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.hero h1 { font-size: clamp(32px, 5vw, 54px); }
.lead { font-size: 18px; color: var(--muted); max-width: 580px; }
.big-search { display: flex; flex-wrap: wrap; gap: 8px; max-width: 600px; }
.big-search input { flex: 1 1 260px; min-width: 0; height: 56px; padding: 0 16px; border: 1.5px solid var(--ink); border-radius: 12px; font: 16px var(--body); background: #fff; }
.big-search .btn { height: 56px; }
.quick { display: none; gap: 10px; }
.quick-btn { flex: 1; padding: 16px; border-radius: 14px; color: #fff; font-weight: 600; }
.quick-btn.dark { background: var(--ink); }
.quick-btn.accent { background: var(--accent); }
.quick-btn:hover { color: #fff; }
.hero-photos { flex: 1 1 420px; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: 200px 200px; gap: 12px; }
.hp { border-radius: var(--radius); background: #C9D8E6; overflow: hidden; }
.hp img { width: 100%; height: 100%; object-fit: cover; }
.hp1 { grid-row: span 2; }

.plan { display: flex; flex-wrap: wrap; gap: 24px; padding-top: 40px; }
.plan > * { flex: 1 1 420px; min-width: 0; }
.box { border: 1px solid var(--line); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.box.dark, .dates.dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.box.dark p { color: var(--sea-text); }
.small-h { font: 600 15px var(--body); color: var(--muted); letter-spacing: 0; }
.wx-now { display: flex; align-items: center; gap: 16px; }
.wx-now > div { flex: 1; }
.big { font: 800 30px var(--head); }
.wx { width: 44px; height: 44px; flex: none; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; }
.wx-day .wx { width: 26px; height: 26px; }
.wx-pop { font-size: 14px; color: var(--muted); text-align: right; }
.wx-pop strong { color: var(--ink); }
.wx-days { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.wx-day { background: var(--soft); border-radius: 12px; padding: 10px 6px; display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 13px; }
.wx-day .d { font-weight: 600; }
.dates h2 { font-size: 24px; }
.dates-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.dates label { flex: 1 1 150px; display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; }
.dates input { height: 48px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; font: 15px var(--body); color: var(--ink); background: #fff; }
.dates.dark .chip { background: transparent; color: #fff; border-color: #3A5672; }
.dates .chips { margin: 0; }

/* 묶음 */
.sec { padding-top: 56px; }
.sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.sec-head p { color: var(--muted); margin-top: 6px; }
.sec-head > a { font-weight: 600; color: var(--accent); }
.sub-h { font-size: 22px; margin: 32px 0 16px; }
.count { margin: 24px 0 16px; }
.grid { display: grid; gap: 24px; }
.g3 { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.g4 { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.gd { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }

/* 카드 */
.card { position: relative; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.card-link { display: block; }
.card-link:hover h3 { color: var(--accent); }
.ph { aspect-ratio: 16 / 10; background: #D3DAE4; }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.when { position: absolute; left: 12px; top: 12px; background: #fff; font-size: 13px; font-weight: 700; padding: 5px 10px; border-radius: 8px; }
.card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; }
.meta { display: flex; gap: 8px; align-items: center; font-size: 14px; color: var(--muted); }
.code { font: 700 13px var(--head); background: var(--ink); color: #fff; padding: 3px 8px; border-radius: 6px; letter-spacing: 0; }
.heart { position: absolute; right: 8px; top: 8px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255,255,255,.92);
  display: flex; align-items: center; justify-content: center; cursor: pointer; }
.heart svg { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linejoin: round; }
.heart[aria-pressed="true"] svg { fill: var(--accent); }
.dist { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; min-height: 64px; }
.dist:hover { border-color: var(--ink); }
.dist span { display: flex; flex-direction: column; }
.dno { font: 800 22px var(--head); color: var(--accent); min-width: 32px; }
.big-no { font-size: inherit; }
.rows { display: flex; flex-direction: column; gap: 10px; }
.row { position: relative; border: 1px solid var(--line); border-radius: 14px; }
.row-link { display: flex; gap: 12px; align-items: center; padding: 10px 60px 10px 10px; }
.row-ph { width: 76px; height: 76px; flex: none; border-radius: 10px; background: #D3DAE4; overflow: hidden; }
.row-ph img { width: 100%; height: 100%; object-fit: cover; }
.row-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.row-meta { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.row .heart { top: 50%; transform: translateY(-50%); background: transparent; }
.pager { display: flex; justify-content: center; align-items: center; gap: 16px; margin-top: 32px; }

.map-promo { background: var(--ink); color: #fff; border-color: var(--ink); }
.map-promo p { color: var(--sea-text); margin: 10px 0 16px; max-width: 560px; }
.ask { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 24px 32px; }
.ask-text { flex: 1 1 420px; display: flex; flex-direction: column; gap: 10px; }
.ask-text > p:not(.note) { color: var(--muted); }
.hours { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink) !important; }
.hours svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.ask-btns { flex: 1 1 320px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ask-btns .btn { min-height: 56px; }

/* 상세 */
.detail { padding-top: 24px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); }
.title-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 24px; }
.title-row h1 { margin: 10px 0 4px; }
.title-row .meta .code { font-size: 16px; padding: 4px 10px; }
.kind { font-weight: 600; color: var(--accent); }
.when-line { font-weight: 700; color: var(--accent); margin-top: 6px; }
.title-btns { display: flex; gap: 8px; align-items: center; }
.title-btns .heart { position: static; border: 1px solid var(--line); width: 48px; height: 48px; }
.hero-ph { border-radius: 20px; overflow: hidden; background: #BCD3E4; max-height: 520px; margin-bottom: 36px; }
.hero-ph img { width: 100%; height: 100%; max-height: 520px; object-fit: cover; }
.detail-cols { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.detail-main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 36px; }
.detail-main h2 { font-size: 24px; margin-bottom: 12px; }
.body-text { white-space: pre-line; font-size: 17px; line-height: 1.75; color: var(--ink-2); }
.info { display: grid; grid-template-columns: 170px minmax(0, 1fr); border-top: 1px solid var(--line); margin: 0; }
.info dt, .info dd { padding: 14px 0; border-bottom: 1px solid var(--line); margin: 0; }
.info dt { font-weight: 600; }
.info dd { white-space: pre-line; color: var(--ink-2); overflow-wrap: anywhere; }
.get-there { flex: 1 1 320px; min-width: 0; position: sticky; top: 90px; }
.mini-map { height: 220px; border-radius: 12px; background: #DCE6EE; z-index: 0; }
.dir-list { display: flex; flex-direction: column; gap: 10px; }
.dir { display: flex; align-items: center; gap: 14px; min-height: 52px; padding: 0 16px; border: 1px solid var(--line); border-radius: 12px; font-weight: 600; }
.dir:hover { border-color: var(--ink); }
.dir span:nth-child(2) { flex: 1; }
.dir-i { width: 28px; height: 28px; border-radius: 8px; color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; }
.big-map { height: 70vh; min-height: 420px; border-radius: 16px; margin-top: 16px; z-index: 0; }
.legend { display: flex; gap: 16px; margin-top: 14px; font-size: 14px; }
.lg::before { content: ""; display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: 6px; vertical-align: -1px; }
.lg.a::before { background: #0B6E99; } .lg.f::before { background: #C2410C; } .lg.d::before { background: #2F7D4A; }
.share input { flex: 1; min-width: 0; height: 44px; padding: 0 12px; border: 0; border-radius: 10px; background: var(--sea); color: #fff; font: 14px var(--body); }
.share-row { display: flex; gap: 8px; }

/* 보여주기 카드 */
.card-page { min-height: 100vh; display: flex; flex-direction: column; }
.card-top { background: var(--soft); padding: 8px 12px 14px; display: flex; flex-direction: column; gap: 10px; }
.card-bar { display: flex; align-items: center; justify-content: space-between; font-size: 14px; font-weight: 600; color: var(--muted); }
.icon-btn { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; font-size: 20px; }
.modes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; max-width: 640px; width: 100%; margin: 0 auto; }
.mode { min-height: 48px; display: flex; align-items: center; justify-content: center; text-align: center; border-radius: 10px; border: 1px solid var(--line); background: #fff; font-weight: 600; font-size: 14px; }
.mode[aria-current="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.card-main { flex: 1; padding: 28px 22px; display: flex; flex-direction: column; gap: 22px; max-width: 760px; width: 100%; margin: 0 auto; font-family: "Noto Sans KR", var(--body); }
.phrase { font-size: clamp(28px, 6vw, 44px); font-weight: 900; line-height: 1.35; color: var(--accent); }
.card-box { display: flex; flex-direction: column; gap: 10px; padding: 20px; border: 2px solid var(--ink); border-radius: 16px; }
.card-name { font-size: clamp(34px, 7vw, 56px); font-weight: 900; line-height: 1.2; }
.card-addr { font-size: clamp(19px, 3.5vw, 26px); line-height: 1.5; }
.card-tel { font-size: 20px; font-weight: 700; }
.thanks { font-size: 20px; font-weight: 700; }
.card-foot { border-top: 1px solid var(--line); padding: 14px 16px 22px; display: flex; flex-direction: column; gap: 10px; max-width: 760px; width: 100%; margin: 0 auto; }

/* 아래 */
.foot { border-top: 1px solid var(--line); background: var(--soft); margin-top: 72px; }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; padding-top: 36px; padding-bottom: 36px; }
.foot-row p { font-size: 14px; color: var(--muted); max-width: 680px; margin-top: 8px; }
.foot-name { font-family: var(--head); font-size: 18px; }
.tabs { display: none; }

/* 첫 화면 묶음: PC 는 한 줄 4개 고정(최대 8개 = 2줄), 휴대폰은 4개만 */
.home-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .home-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* 넓지 않은 PC·태블릿: 메뉴 글자를 조금 줄여 한 줄 유지 */
@media (max-width: 1180px) and (min-width: 761px) {
  .nav a { padding: 8px 8px; font-size: 14px; }
  .langs a { padding: 6px 8px; }
  .logo { font-size: 18px; }
}

/* 휴대폰 */
@media (max-width: 760px) {
  :root { --gutter: 16px; }
  body { padding-bottom: 72px; }
  .top { position: static; }
  .top-row { gap: 10px; }
  .nav { display: none; }
  .search-btn { margin-left: auto; }
  .langs a { padding: 6px 8px; }
  .hero-row { padding-top: 24px; padding-bottom: 24px; gap: 20px; }
  .hero-photos { display: none; }
  .quick { display: flex; }
  .plan { padding-top: 20px; }
  .sec { padding-top: 36px; }
  .grid { gap: 14px; }
  .box { padding: 18px; }
  .info { grid-template-columns: 1fr; }
  .info dt { border-bottom: 0; padding-bottom: 0; }
  .get-there { position: static; }
  .tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    background: #fff; border-top: 1px solid var(--line); padding: 4px 0 calc(8px + env(safe-area-inset-bottom)); }
  .tabs a { min-height: 52px; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 600; color: var(--muted); border-top: 3px solid transparent; }
  .tabs a[aria-current="page"] { color: var(--accent); border-top-color: var(--accent); }
  .card-page { padding-bottom: 0; }
  .home-grid { grid-template-columns: 1fr; }
  .home-grid > .card:nth-child(n+5) { display: none; }
}

/* ── v3: 떠 있는 질문 단추, 질문 양식, 게시판, 개인정보 ── */
.pc-only { }
.fab { position: fixed; right: 20px; bottom: 20px; z-index: 40; }
.fab > summary { list-style: none; display: flex; align-items: center; gap: 8px; height: 56px; padding: 0 20px 0 16px; border-radius: 999px;
  background: var(--accent); color: #fff; font-weight: 700; cursor: pointer; box-shadow: 0 6px 20px rgba(15, 36, 56, .25); }
.fab > summary::-webkit-details-marker { display: none; }
.fab > summary svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.fab[open] > summary { background: var(--ink); }
.fab-panel { position: absolute; right: 0; bottom: 68px; width: 300px; max-width: calc(100vw - 32px); background: #fff; border: 1px solid var(--line);
  border-radius: 16px; padding: 18px; display: flex; flex-direction: column; gap: 10px; box-shadow: 0 10px 30px rgba(15, 36, 56, .2); }
.fab-panel .hours { font-size: 14px; margin: 0; }
.fab-board { font-weight: 600; color: var(--accent); text-align: center; padding-top: 4px; }
.hp img { transition: opacity .4s ease; }
.hp img.fade { opacity: 0; }
.foot-nav { display: flex; gap: 18px; flex-wrap: wrap; }
.ask-form { display: flex; flex-direction: column; gap: 16px; margin-top: 16px; }
.ask-form label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 14px; }
.ask-form input[type=text], .ask-form input[type=email], .ask-form input[type=password], .ask-form input[type=date], .ask-form textarea {
  min-height: 48px; padding: 10px 12px; border: 1px solid #B8C4CF; border-radius: 10px; font: 15px/1.5 var(--body); color: var(--ink); background: #fff; }
.ask-form textarea { border: 1.5px solid var(--ink); resize: vertical; }
.ask-form .check { flex-direction: row; align-items: center; gap: 10px; font-weight: 400; min-height: 44px; }
.ask-form .check input { width: 20px; height: 20px; accent-color: var(--accent); }
.stages { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.stages legend { padding: 0; margin-bottom: 8px; font-weight: 600; font-size: 14px; }
.stage { cursor: pointer; }
.stage input { position: absolute; opacity: 0; }
.stage span { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 60px; padding: 8px; text-align: center;
  border: 1px solid var(--line); border-radius: 12px; }
.stage small { font-weight: 400; color: var(--muted); }
.stage input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.stage input:checked + span small { color: var(--sea-text); }
.stage input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.big-btn { min-height: 54px; font-size: 16px; }
.form-msg { color: #B42318; font-weight: 600; }
.grecaptcha-badge { visibility: hidden; }
.board-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.board-list li a { display: flex; flex-direction: column; gap: 4px; padding: 16px 4px; border-bottom: 1px solid var(--line); }
.b-title { font-weight: 600; font-size: 17px; display: flex; align-items: center; gap: 8px; }
.b-meta { font-size: 13px; color: var(--muted); }
.b-meta .ok { color: #2F7D4A; font-weight: 600; }
.lock { width: 18px; height: 18px; fill: none; stroke: var(--muted); stroke-width: 2; }
.post-body { margin: 20px 0; }
.reply { margin-top: 16px; background: var(--soft); border: 0; }
.pw-form { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
.pw-form label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 14px; flex: 1 1 200px; }
.pw-form input { min-height: 48px; padding: 0 12px; border: 1px solid #B8C4CF; border-radius: 10px; font: 15px var(--body); }
.pw-form .form-msg { flex-basis: 100%; }
.prose h2 { font-size: 22px; margin: 28px 0 8px; }
.prose ul { padding-left: 20px; }
.prose li { margin: 6px 0; }
.prose p { margin: 8px 0; }
.center-chips { justify-content: center; }
@media (max-width: 760px) {
  .pc-only { display: none !important; }
  .fab { right: 14px; bottom: calc(74px + env(safe-area-inset-bottom)); }
  .fab > summary { height: 52px; }
  .two { grid-template-columns: 1fr; }
}
.when.pick { background: var(--accent); color: #fff; }

/* ── 상세 사진 묶음 (v9): PC 는 큰 사진 + 오른쪽 2장, 휴대폰은 밀어 넘기는 줄. 누르면 크게 보기 ── */
.gal { position: relative; display: grid; gap: 8px; height: 480px; margin-bottom: 36px; border-radius: 20px; overflow: hidden; }
.gal-1 { grid-template-columns: 1fr; }
.gal-2 { grid-template-columns: 2fr 1fr; }
.gal-3 { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; }
.gal-3 .gal-main { grid-row: span 2; }
.gal button { position: relative; padding: 0; border: 0; background: #BCD3E4; cursor: zoom-in; overflow: hidden; min-height: 0; }
.gal img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.gal button:hover img { transform: scale(1.03); }
.gal-more { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(15, 36, 56, .55);
  color: #fff; font: 800 28px var(--head); }
.gal-count { display: none; }
.gal-strip { display: none; }
.viewer { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(8, 18, 28, .96); color: #fff; }
.viewer[open] { display: flex; align-items: center; justify-content: center; }
.viewer figure { margin: 0; max-width: 92vw; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.viewer img { max-width: 92vw; max-height: 80vh; object-fit: contain; border-radius: 8px; }
.viewer figcaption { font-size: 15px; text-align: center; color: #E6EDF3; }
.v-n { color: #9FB2C4; margin-left: 8px; }
.viewer button { position: absolute; border: 0; background: rgba(255, 255, 255, .12); color: #fff; width: 52px; height: 52px; border-radius: 50%;
  font-size: 28px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.viewer button:hover { background: rgba(255, 255, 255, .25); }
.v-close { top: 16px; right: 16px; font-size: 20px !important; }
.v-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.v-next { right: 16px; top: 50%; transform: translateY(-50%); }
@media (max-width: 760px) {
  .gal { display: block; height: auto; border-radius: 14px; margin-bottom: 8px; }
  .gal .gal-side { display: none; }
  .gal .gal-main { display: block; width: 100%; aspect-ratio: 4 / 3; }
  .gal-count { display: block; position: absolute; right: 10px; bottom: 10px; background: rgba(15, 36, 56, .75); color: #fff;
    font-size: 13px; padding: 4px 10px; border-radius: 999px; }
  .gal-strip { display: flex; gap: 6px; overflow-x: auto; scroll-snap-type: x mandatory; margin-bottom: 24px; padding-bottom: 4px; }
  .gal-strip button { flex: none; width: 76px; height: 58px; padding: 0; border: 0; border-radius: 8px; overflow: hidden; scroll-snap-align: start; }
  .gal-strip img { width: 100%; height: 100%; object-fit: cover; }
  .v-prev, .v-next { display: none !important; }
}
