/* 케이맛집 공통 디자인 (2026-11-19)
 * 따뜻한 크림색 바탕 + 고춧가루 빨강 + 노릇한 노랑, 간판 느낌 제목(Black Han Sans)
 * 법률톡과 같은 기본 이름(btn, card, input, chip ...)을 그대로 써서 로그인·가입·관리 화면을 함께 씀 */
:root {
  --red: #e8432e;
  --red-d: #c5321f;
  --red-soft: #fff0ec;
  --yellow: #ffb21e;
  --yellow-soft: #fff6df;
  --green: #2f9e44;
  --ink: #2b1d14;
  --ink-2: #5e4b3d;
  --ink-3: #9a8777;
  --line: #efe3d6;
  --line-2: #e4d4c3;
  --bg: #fffaf4;
  --bg-2: #fbf1e5;
  --card: #ffffff;
  --navy: #2b1d14; /* 법률톡 화면에서 쓰던 이름 → 진한 갈색 */
  --blue: #e8432e;
  --blue-soft: #fff0ec;
  --ok: #2f9e44;
  --bad: #d63322;
  --radius: 16px;
  --shadow: 0 2px 12px rgba(80, 40, 10, .07);
  --shadow-lg: 0 14px 40px rgba(80, 40, 10, .14);
  --display: 'Black Han Sans', 'Pretendard', sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body { font-family: 'Pretendard', -apple-system, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif; background: var(--bg); color: var(--ink); line-height: 1.6; font-size: 15px; word-break: keep-all; overflow-wrap: anywhere; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
input[type=file] { max-width: 100%; min-width: 0; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 16px; }
main.wrap { min-height: 60vh; }

/* ---------- 머리말 ---------- */
.ke-header { background: rgba(255, 250, 244, .94); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.ke-header .wrap { display: flex; align-items: center; gap: 18px; height: 64px; }
.ke-logo { display: flex; align-items: center; gap: 9px; white-space: nowrap; flex: none; }
.ke-logo svg { width: 38px; height: 38px; flex: none; }
.ke-logo .nm { display: flex; flex-direction: column; line-height: 1; }
.ke-logo .nm b { font-family: var(--display); font-weight: 400; font-size: 23px; color: var(--ink); letter-spacing: -.3px; }
.ke-logo .nm small { font-size: 10.5px; font-weight: 800; letter-spacing: 2.4px; color: var(--red); margin-top: 3px; }
.ke-nav { display: flex; align-items: center; gap: 4px; flex: 1; min-width: 0; }
.ke-nav > a { padding: 8px 12px; border-radius: 10px; font-weight: 800; color: var(--ink-2); white-space: nowrap; font-size: 15px; }
.ke-nav > a:hover, .ke-nav > a.on { background: var(--red-soft); color: var(--red); }
.ke-hsearch { display: flex; align-items: center; flex: 1 1 340px; max-width: 420px; min-width: 150px; margin: 0 6px; border: 1.5px solid var(--line-2); border-radius: 999px; background: #fff; overflow: hidden; }
.ke-hsearch:focus-within { border-color: var(--red); box-shadow: 0 0 0 3px var(--red-soft); }
.ke-hsearch input { flex: 1; min-width: 0; border: 0; outline: 0; padding: 9px 16px; font-size: 14px; background: transparent; }
.ke-hsearch button { flex: none; border: 0; background: var(--red); color: #fff; font-weight: 800; font-size: 14px; padding: 9px 18px; cursor: pointer; }
.ke-user { display: flex; gap: 6px; align-items: center; white-space: nowrap; margin-left: auto; }
.ke-user a { padding: 8px 13px; border-radius: 10px; font-weight: 800; font-size: 14px; border: 1px solid var(--line-2); background: #fff; }
.ke-user a.primary { background: var(--ink); color: #fff; border-color: var(--ink); }
.ke-user a.primary:hover { background: var(--red); border-color: var(--red); }
.ke-burger { display: none; flex-direction: column; justify-content: center; gap: 4px; width: 40px; height: 38px; padding: 0 9px; border: 1px solid var(--line-2); border-radius: 10px; background: #fff; cursor: pointer; flex: none; }
.ke-burger span { display: block; height: 2px; border-radius: 2px; background: var(--ink); }
.ke-drawer { position: fixed; inset: 0; z-index: 120; visibility: hidden; overflow: hidden; }
.ke-drawer.open { visibility: visible; }
.ke-drawer-bg { position: absolute; inset: 0; background: rgba(43, 29, 20, .45); opacity: 0; transition: opacity .2s; }
.ke-drawer.open .ke-drawer-bg { opacity: 1; }
.ke-drawer-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(310px, 86vw); background: var(--bg); box-shadow: -8px 0 30px rgba(0, 0, 0, .15); transform: translateX(100%); transition: transform .22s; overflow-y: auto; padding: 0 0 24px; }
.ke-drawer.open .ke-drawer-panel { transform: none; }
.ke-drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.ke-drawer-x { border: 0; background: none; font-size: 20px; cursor: pointer; }
.ke-drawer-panel a { display: block; padding: 13px 18px; font-weight: 800; border-bottom: 1px solid var(--line); }
.ke-drawer-panel .dmenus { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-bottom: 1px solid var(--line); }
.ke-drawer-panel .dmenus a { border: 0; padding: 9px 18px; font-weight: 700; font-size: 14px; color: var(--ink-2); }
@media (max-width: 860px) {
  .ke-nav { display: none; }
  .ke-burger { display: flex; }
  .ke-user a:not(.primary) { display: none; }
  .ke-header .wrap { gap: 10px; height: 58px; }
  .ke-logo svg { width: 34px; height: 34px; }
  .ke-logo .nm b { font-size: 21px; }
}

/* ---------- 꼬리말 ---------- */
.ke-footer { background: #241811; color: #cdbcae; margin-top: 64px; padding: 36px 0 44px; font-size: 13px; }
.ke-footer .top { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 18px; }
.ke-footer .brand b { font-family: var(--display); font-weight: 400; font-size: 22px; color: #fff; }
.ke-footer .brand p { margin-top: 4px; color: #a8968a; }
.ke-footer .links { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.ke-footer .links a { color: #eaded3; font-weight: 700; }
.ke-footer .notice { color: #a8968a; margin-bottom: 10px; line-height: 1.7; }
.ke-footer .biz { color: #8e7d71; line-height: 1.8; }

/* ---------- 기본 부품 ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 12px 18px; border-radius: 12px; font-weight: 800; border: 1px solid transparent; cursor: pointer; font-size: 15px; transition: filter .15s, transform .15s; white-space: nowrap; }
.btn:hover { filter: brightness(1.06); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .5; cursor: default; filter: none; }
.btn-primary { background: var(--red); color: #fff; }
.btn-navy { background: var(--ink); color: #fff; }
.btn-gold { background: var(--yellow); color: var(--ink); }
.btn-line { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn-danger { background: #fff; color: var(--bad); border-color: #f3c7c0; }
.btn-block { width: 100%; }
.btn-sm { padding: 7px 12px; font-size: 13px; border-radius: 9px; }
.chip { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 999px; background: var(--bg-2); color: var(--ink-2); font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.chip.blue, .chip.red { background: var(--red-soft); color: var(--red-d); }
.chip.gold { background: var(--yellow-soft); color: #8a5a00; }
.chip.ad { background: #fff; color: #8a5a00; border: 1px solid #f0cf8f; font-size: 11.5px; padding: 1px 8px; }
.chip.new { background: var(--green); color: #fff; font-size: 11.5px; padding: 1px 8px; }
.muted { color: var(--ink-3); }
.small { font-size: 13px; }
.req { color: var(--bad); }
.empty { text-align: center; color: var(--ink-3); padding: 40px 10px; }
.form { display: flex; flex-direction: column; gap: 14px; }
.field label { display: block; font-weight: 800; font-size: 14px; margin-bottom: 6px; }
.field label .req { color: var(--bad); }
.field .hint, .hint { font-size: 12.5px; color: var(--ink-3); margin-top: 4px; }
.input, select.input, textarea.input { width: 100%; padding: 11px 13px; border: 1px solid var(--line-2); border-radius: 12px; background: #fff; font-size: 15px; }
textarea.input { min-height: 90px; resize: vertical; line-height: 1.6; }
.input:focus { outline: 3px solid var(--red-soft); border-color: var(--red); }
.row { display: flex; gap: 8px; }
.row > * { flex: 1; min-width: 0; }
.check { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; cursor: pointer; }
.check input { margin-top: 4px; width: 17px; height: 17px; flex: none; accent-color: var(--red); }
.check-row { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.msg { font-size: 14px; padding: 10px 12px; border-radius: 12px; display: none; }
.msg.show { display: block; }
.msg.bad { background: #fdecea; color: var(--bad); }
.msg.ok { background: #e9f7ec; color: var(--ok); }
.auth-box { max-width: 440px; margin: 40px auto; padding: 28px 24px; }
.auth-box h1 { font-size: 22px; margin-bottom: 18px; text-align: center; }
.kakao-btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 50px; border-radius: 12px; background: #FEE500; color: rgba(0, 0, 0, .85) !important; font-weight: 800; font-size: 16px; }
.kakao-btn:hover { filter: brightness(.97); }
.or-line { display: flex; align-items: center; gap: 10px; margin: 16px 0 6px; color: var(--ink-3); font-size: 13px; }
.or-line::before, .or-line::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 18px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { padding: 11px 14px; border: none; background: none; font-weight: 800; color: var(--ink-3); cursor: pointer; border-bottom: 3px solid transparent; white-space: nowrap; font-size: 15px; }
.tabs button.on { color: var(--red); border-color: var(--red); }
.tab-pane { display: none; }
.tab-pane.on { display: block; }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th, .tbl td { padding: 9px 8px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.tbl th { background: var(--bg); font-size: 13px; color: var(--ink-2); white-space: nowrap; }
.tbl-wrap { overflow-x: auto; }
.modal-dim { position: fixed; inset: 0; background: rgba(43, 29, 20, .55); display: none; align-items: center; justify-content: center; z-index: 200; padding: 16px; }
.modal-dim.open { display: flex; }
.modal { background: #fff; border-radius: 18px; padding: 26px 22px; width: 100%; max-width: 380px; text-align: center; box-shadow: var(--shadow-lg); }
.modal h3 { font-size: 19px; margin-bottom: 8px; }
.modal p { color: var(--ink-2); margin-bottom: 16px; }
.modal .btns { display: flex; gap: 8px; }
.modal .btns .btn { flex: 1; }
.doc h2 { font-size: 18px; margin: 26px 0 10px; }
.doc h3 { font-size: 16px; margin: 18px 0 6px; }
.doc p, .doc li { margin-bottom: 8px; }
.doc ul, .doc ol { padding-left: 22px; }
.doc table { width: 100%; border-collapse: collapse; margin: 10px 0; font-size: 14px; }
.doc th, .doc td { border: 1px solid var(--line); padding: 8px; text-align: left; vertical-align: top; }
.doc th { background: var(--bg); white-space: nowrap; }
.doc .lead { font-size: 16px; color: var(--ink-2); }
.doc .date { color: var(--ink-3); font-size: 13px; }
.doc .todo { background: #fff3cd; color: #8a6100; padding: 0 4px; border-radius: 4px; }
.doc a { color: var(--red); text-decoration: underline; }
.rich b, .rich strong { font-weight: 800; }
.rich hr { border: none; border-top: 1px solid var(--line); margin: 12px 0; }
.map-links { display: inline-flex; gap: 6px; flex-wrap: wrap; }
.map-btn { display: inline-flex; align-items: center; gap: 4px; padding: 6px 11px; border-radius: 9px; font-size: 13px; font-weight: 800; border: 1px solid var(--line-2); background: #fff; }
.map-btn.daum::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: #ffcd00; }
.map-btn.naver::before { content: ''; width: 9px; height: 9px; border-radius: 2px; background: #03c75a; }

/* ---------- 제목 줄 ---------- */
.sec { margin-top: 44px; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.sec-head h2 { font-size: 22px; font-weight: 900; letter-spacing: -.4px; }
.sec-head h2 small { display: block; font-size: 13px; font-weight: 700; color: var(--ink-3); letter-spacing: 0; margin-top: 2px; }
.sec-head .more { font-size: 14px; font-weight: 800; color: var(--ink-2); white-space: nowrap; }
.sec-head .more:hover { color: var(--red); }
.kicker { display: inline-block; font-size: 12px; font-weight: 900; letter-spacing: 1.6px; color: var(--red); text-transform: uppercase; margin-bottom: 2px; }

/* ---------- 메뉴 동그라미 ---------- */
.menu-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 14px 8px; }
.menu-it { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; cursor: pointer; border: 0; background: none; padding: 4px 2px; border-radius: 14px; }
.menu-it .ic { width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center; font-size: 36px; background: color-mix(in srgb, var(--mc) 13%, #fff); border: 2px solid color-mix(in srgb, var(--mc) 22%, #fff); transition: transform .18s, box-shadow .18s; }
.menu-it:hover .ic, .menu-it.on .ic { transform: translateY(-3px) scale(1.04); box-shadow: 0 8px 18px color-mix(in srgb, var(--mc) 30%, transparent); border-color: var(--mc); }
.menu-it b { font-size: 14px; font-weight: 800; line-height: 1.2; }
.menu-it small { font-size: 11px; color: var(--ink-3); font-weight: 600; line-height: 1.1; }
.menu-it .n { font-size: 11px; color: var(--mc); font-weight: 800; }
@media (max-width: 860px) {
  .menu-grid { grid-template-columns: repeat(5, 1fr); gap: 12px 4px; }
  .menu-it .ic { width: 58px; height: 58px; font-size: 28px; }
  .menu-it b { font-size: 12.5px; }
  .menu-it small { display: none; }
}
@media (max-width: 420px) { .menu-grid { grid-template-columns: repeat(4, 1fr); } }

/* ---------- 가게 카드 ---------- */
.st-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 1000px) { .st-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .st-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
.st-card { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .18s, box-shadow .18s; cursor: pointer; min-width: 0; }
.st-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.st-card .ph { position: relative; aspect-ratio: 4 / 3; background: color-mix(in srgb, var(--mc, #e8432e) 14%, #fff8f0); overflow: hidden; }
.st-card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.st-card:hover .ph img { transform: scale(1.05); }
.st-card .ph .emo { position: absolute; inset: 0; display: grid; place-items: center; font-size: 64px; background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, .7), transparent 55%), linear-gradient(135deg, color-mix(in srgb, var(--mc) 18%, #fff7ec), color-mix(in srgb, var(--mc) 38%, #ffe4c9)); }
.st-card .badge-menu { position: absolute; left: 10px; top: 10px; display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px 4px 7px; border-radius: 999px; background: rgba(255, 255, 255, .94); font-size: 12px; font-weight: 800; color: var(--ink); box-shadow: 0 2px 8px rgba(0, 0, 0, .1); }
.st-card .flags { position: absolute; right: 10px; top: 10px; display: flex; gap: 4px; }
.st-card .bd { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 5px; flex: 1; min-width: 0; }
.st-card .loc { font-size: 12.5px; color: var(--ink-3); font-weight: 700; display: flex; gap: 6px; flex-wrap: wrap; }
.st-card .loc .price { color: var(--ink-2); }
.st-card h3 { font-size: 17px; font-weight: 900; letter-spacing: -.3px; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-card .hl { font-size: 13.5px; color: var(--ink-2); line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.9em; }
.st-card .tags { display: flex; flex-wrap: wrap; gap: 4px; }
.st-card .tags span { font-size: 12px; font-weight: 800; color: var(--mc, var(--red)); background: color-mix(in srgb, var(--mc, #e8432e) 9%, #fff); padding: 2px 8px; border-radius: 7px; }
.st-card .sig { font-size: 12.5px; color: var(--ink-2); border-top: 1px dashed var(--line-2); padding-top: 7px; margin-top: auto; display: flex; justify-content: space-between; gap: 8px; }
.st-card .sig b { font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-card .sig span { color: var(--red-d); font-weight: 800; white-space: nowrap; }
.st-card .call { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 8px; padding: 9px 10px; border-radius: 11px; background: var(--red-soft); color: var(--red-d); font-weight: 900; font-size: 14px; }
.st-card .call:hover { background: var(--red); color: #fff; }
.st-card.sample { cursor: default; }
.st-card.sample .call { background: var(--bg-2); color: var(--ink-2); }
@media (max-width: 760px) {
  .st-card { border-radius: 14px; }
  .st-card .bd { padding: 10px 11px 12px; gap: 4px; }
  .st-card h3 { font-size: 15.5px; }
  .st-card .hl { font-size: 12.5px; }
  .st-card .tags span:nth-child(n+3) { display: none; }
  .st-card .call { font-size: 13px; padding: 8px 6px; }
  .st-card .ph .emo { font-size: 48px; }
}
.sample-note { font-size: 13px; color: #8a5a00; background: var(--yellow-soft); border: 1px dashed #f0cf8f; border-radius: 12px; padding: 9px 12px; margin-bottom: 12px; }

/* 광고 칸 (가로로 넘김) */
.ad-strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 1fr); gap: 14px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.ad-strip .st-card { min-width: 0; }

/* 칩 줄 */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips.scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.chips.scroll::-webkit-scrollbar { display: none; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 8px 15px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; font-weight: 800; font-size: 14px; color: var(--ink-2); white-space: nowrap; cursor: pointer; }
.pill:hover { border-color: var(--red); color: var(--red); }
.pill.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.pill .n { font-size: 11.5px; font-weight: 800; opacity: .65; }

/* 지역 타일 */
.region-grid { display: grid; grid-template-columns: repeat(9, 1fr); gap: 8px; }
.region-grid a { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 14px 4px; border-radius: 14px; background: #fff; border: 1px solid var(--line); font-weight: 900; font-size: 15px; transition: all .15s; }
.region-grid a small { font-size: 11.5px; font-weight: 700; color: var(--ink-3); }
.region-grid a:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.region-grid a:hover small { color: #d9c9bb; }
@media (max-width: 860px) { .region-grid { grid-template-columns: repeat(6, 1fr); } }
@media (max-width: 480px) { .region-grid { grid-template-columns: repeat(5, 1fr); gap: 6px; } .region-grid a { padding: 10px 2px; font-size: 14px; } }

/* 매거진 */
.mg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 860px) { .mg-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .mg-grid { grid-template-columns: 1fr; } }
.mg-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); transition: transform .18s, box-shadow .18s; }
.mg-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.mg-card .cv { aspect-ratio: 16 / 9; background: var(--bg-2); display: grid; place-items: center; font-size: 54px; overflow: hidden; }
.mg-card .cv img { width: 100%; height: 100%; object-fit: cover; }
.mg-card .bd { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; }
.mg-card h3 { font-size: 17px; font-weight: 900; line-height: 1.35; letter-spacing: -.3px; }
.mg-card p { font-size: 13.5px; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mg-card .meta { font-size: 12px; color: var(--ink-3); font-weight: 600; }
.rank-list { counter-reset: rk; display: flex; flex-direction: column; }
.rank-list a { counter-increment: rk; display: flex; gap: 14px; align-items: baseline; padding: 12px 4px; border-bottom: 1px solid var(--line); }
.rank-list a::before { content: counter(rk); font-family: var(--display); font-size: 22px; color: var(--red); width: 22px; flex: none; text-align: center; }
.rank-list a b { font-weight: 800; line-height: 1.4; }
.rank-list a:hover b { color: var(--red); }
.rank-list a small { display: block; color: var(--ink-3); font-size: 12px; margin-top: 2px; }

/* 사진 미리 보기 · 사진첩 */
.gal-prev { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.gal-prev img { width: 72px; height: 72px; object-fit: cover; border-radius: 10px; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; }
.gallery figcaption { font-size: 12.5px; color: var(--ink-2); margin-top: 4px; }

/* 펼침 목록 (지역 고르기) */
.dd { position: relative; }
.dd-btn { width: 100%; text-align: left; background: #fff; cursor: pointer; position: relative; padding-right: 30px; }
.dd-btn::after { content: '▾'; position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: var(--ink-3); }
.dd-list { position: absolute; top: calc(100% + 4px); left: 0; right: 0; z-index: 30; max-height: 260px; overflow-y: auto; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg); padding: 4px; }
.dd-list button { display: block; width: 100%; text-align: left; padding: 9px 12px; border: 0; background: none; border-radius: 8px; font-size: 15px; cursor: pointer; }
.dd-list button:hover, .dd-list button.on { background: var(--red-soft); font-weight: 800; color: var(--red-d); }

/* 사진 크게 보기 */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(20, 12, 6, .92); display: none; align-items: center; justify-content: center; padding: 20px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 86vh; border-radius: 10px; }
.lightbox .cap { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: #eee; font-size: 14px; }
.lightbox .x, .lightbox .nv { position: absolute; border: 0; background: rgba(255, 255, 255, .14); color: #fff; width: 44px; height: 44px; border-radius: 50%; font-size: 22px; cursor: pointer; }
.lightbox .x { top: 16px; right: 16px; }
.lightbox .nv.prev { left: 12px; top: 50%; }
.lightbox .nv.next { right: 12px; top: 50%; }
