/* 레이아웃: 유틸바 + 헤더 / 큰 제목 + 검색 바 / 칩 한 줄 / 카드 + 지도 / 예약 상세 / 푸터. 화이트 바탕에 포인트 색 하나 */
:root {
  --bg: #ffffff; --surface: #ffffff; --ink: #191f28; --muted: #6b7684; --line: #eceff3; --line-strong: #d5dae1;
  --espresso: #191f28; --espresso-2: #333d4b; --cream: #ffffff;
  --gold: #3182f6; --gold-deep: #1b64da; --gold-soft: #eaf3ff;
  --cheap: #0a8f5a; --cheap-soft: #e3f6ec; --pricey: #d9363e; --pricey-soft: #fdecee; --info-soft: #f2f4f6;
  --display: 'Noto Sans KR', 'Malgun Gothic', system-ui, sans-serif;
  --body: 'Noto Sans KR', 'Malgun Gothic', system-ui, sans-serif;
  --radius: 16px; --shadow: 0 10px 30px rgba(25, 31, 40, .10);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); font-size: 15px; color: var(--ink); background: var(--bg); line-height: 1.55; }
body.lock { overflow: hidden; }
button, select, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
.ico { flex: none; vertical-align: -3px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.muted { color: var(--muted); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }

/* 버튼 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 6px 13px; border-radius: 9px; border: 1px solid var(--line-strong); background: var(--surface); font-weight: 500; font-size: 14px; line-height: 1.4; transition: border-color .15s, background .15s, box-shadow .15s; }
.btn:hover { border-color: var(--gold); }
.btn.primary { background: var(--gold); border-color: var(--gold-deep); color: #fff; font-weight: 700; }
.btn.primary:hover { background: var(--gold-deep); border-color: var(--gold-deep); }
.btn.dark { background: var(--espresso); border-color: var(--espresso); color: var(--cream); font-weight: 700; }
.btn.danger { color: var(--pricey); border-color: #e7b9ae; }
.btn.lg { padding: 9px 18px; font-size: 14.5px; }
.btn.sm { padding: 3px 10px; font-size: 13px; border-radius: 7px; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn.block { display: flex; width: 100%; }

/* 헤더 */
.utility { background: var(--espresso); color: #e9dcc4; font-size: 12.5px; }
.utility .wrap { display: flex; justify-content: space-between; gap: 12px; padding-top: 7px; padding-bottom: 7px; flex-wrap: wrap; }
.utility b { color: var(--gold-soft); }
.topbar { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.topbar .wrap { display: flex; align-items: center; gap: 20px; padding-top: 12px; padding-bottom: 12px; }
.logo { display: flex; align-items: center; gap: 9px; font-family: var(--display); font-size: 26px; color: var(--espresso); text-decoration: none; letter-spacing: .5px; white-space: nowrap; }
.logo-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--espresso); color: var(--gold-soft); }
.mainnav { display: flex; gap: 4px; flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.mainnav::-webkit-scrollbar { display: none; }
.mainnav button { border: none; background: none; padding: 6px 12px; border-radius: 8px; font-size: 14px; font-weight: 700; color: var(--espresso-2); white-space: nowrap; }
.mainnav button:hover { background: var(--gold-soft); }
.userbox { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.userbox .hello { font-size: 14px; color: var(--muted); }
.pts { font-size: 12px; font-weight: 700; background: var(--gold-soft); color: var(--gold-deep); padding: 3px 9px; border-radius: 99px; }

/* 히어로 */
.hero { background: var(--espresso); color: var(--cream); padding: 30px 0 78px; position: relative; overflow: hidden; }
.hero .wrap { position: relative; z-index: 1; }
.eyebrow { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 99px; background: rgba(49, 130, 246, .14); color: var(--gold-soft); font-size: 13px; font-weight: 700; }
.hero h1 { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(24px, 3.6vw, 36px); line-height: 1.25; letter-spacing: .5px; text-wrap: balance; }
.hero h1 em { font-style: normal; color: #e7b95a; }
.hero p { margin: 0; max-width: 34em; color: #d9c9ac; font-size: 17px; }
.hero-stats { display: flex; gap: 28px; margin-top: 26px; flex-wrap: wrap; }
.hero-stats div { font-size: 13px; color: #cdbb9b; }
.hero-stats b { display: block; font-family: var(--display); font-weight: 700; font-size: 28px; color: #fff; line-height: 1.1; }

/* 검색 패널 */
.panel { position: relative; z-index: 2; margin-top: -46px; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 14px 36px rgba(25, 31, 40, .14); padding: 8px; }
.panel-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 30px; align-items: start; }
.pgroup { border: 1px solid var(--line); border-radius: 14px; padding: 26px; background: #ffffff; min-width: 0; }
.pgroup h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 18px; font-size: 16px; color: var(--espresso); }
.pgroup h3 .step { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--gold); color: #fff; font-size: 12px; font-weight: 700; }
.field { display: grid; gap: 7px; margin-bottom: 20px; min-width: 0; }
.field > label, .field > .lbl { font-size: 13px; font-weight: 700; color: var(--muted); }
.row2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.row3 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 10px; }
.row3 > .field:first-child { grid-column: 1 / -1; }
select, input[type=date], input[type=text], input[type=email], input[type=password], textarea {
  width: 100%; padding: 6px 10px; border: 1px solid var(--line-strong); border-radius: 9px; background: var(--surface); min-width: 0; font-size: 14px;
}
select:focus, input:focus, textarea:focus { border-color: var(--gold); }
.seg { display: flex; gap: 4px; width: 100%; padding: 4px; border: 1px solid var(--line-strong); border-radius: 12px; background: #f2f4f6; }
.seg button { flex: 1; border: none; border-radius: 9px; background: transparent; color: var(--ink); padding: 7px 14px; font-size: 14px; font-weight: 500; transition: background .15s, box-shadow .15s; }
.seg button:hover:not(:disabled):not([aria-pressed=true]) { background: rgba(255, 255, 255, .6); }
.seg button[aria-pressed=true] { background: var(--surface); color: var(--espresso); font-weight: 700; box-shadow: 0 1px 3px rgba(25, 31, 40, .2); }
.seg button:disabled { opacity: .4; cursor: not-allowed; }
.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chip { display: inline-flex; align-items: center; gap: 5px; padding: 5px 12px; border-radius: 99px; border: 1px solid var(--line-strong); background: var(--surface); font-size: 14px; transition: border-color .15s, background .15s; }
.chip:hover { border-color: var(--gold); }
.chip.more { border-style: dashed; color: var(--muted); }
.chip[aria-pressed=true] { background: var(--gold-soft); border-color: var(--gold); color: var(--gold-deep); font-weight: 700; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 10px; overflow: hidden; background: var(--surface); }
.stepper button { width: 30px; height: 30px; border: none; background: var(--gold-soft); font-size: 16px; font-weight: 700; }
.stepper button:hover { background: var(--line); }
.stepper span { min-width: 48px; font-size: 14px; text-align: center; font-weight: 700; }
.note { font-size: 13px; line-height: 1.5; color: var(--muted); margin: 0; }
.panel-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.panel-actions { display: flex; gap: 10px; align-items: center; }

/* 카테고리 */
.section { padding: 64px 0 0; }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 12px; margin-bottom: 28px; flex-wrap: wrap; }
.sec-head h2 { margin: 0; font-family: var(--display); font-weight: 700; font-size: 26px; color: var(--espresso); letter-spacing: .3px; display: flex; align-items: center; gap: 10px; }
.sec-head h2::before { content: ""; width: 5px; height: 22px; border-radius: 4px; background: var(--gold); }
.sec-head p { margin: 2px 0 0; color: var(--muted); }

/* 결과 */
[id^=sec-] { scroll-margin-top: 80px; }
.regionchips { margin-bottom: 22px; }
.tag.rank { background: var(--gold); color: #fff; }
.avgstrip { display: flex; flex-wrap: wrap; gap: 12px 30px; align-items: center; padding: 18px 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); color: var(--ink); margin-bottom: 16px; }
.avgstrip .t { font-weight: 700; display: flex; align-items: center; gap: 7px; }
.avgstrip .v { font-size: 14px; color: var(--muted); }
.avgstrip .v b { color: var(--ink); font-size: 16px; margin-left: 3px; }
.resbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }
.resbar .count { font-size: 18px; font-weight: 700; }
.resbar .count small { font-weight: 400; color: var(--muted); margin-left: 6px; font-size: 14px; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.tab { padding: 5px 13px; border-radius: 99px; border: 1px solid var(--line-strong); background: var(--surface); font-size: 14px; }
.tab:hover { border-color: var(--gold); }
.map-toggle { margin-left: 4px; border-radius: 10px; }
.tab[aria-pressed=true] { background: var(--espresso); border-color: var(--espresso); color: var(--cream); font-weight: 700; }
.reslayout { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); }
.reslayout.withmap { grid-template-columns: minmax(0, 1fr) minmax(320px, 34%); align-items: start; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 26px; list-style: none; margin: 0; padding: 0; }
.withmap .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; cursor: pointer; transition: transform .18s, box-shadow .18s, border-color .18s; display: flex; flex-direction: column; box-shadow: 0 1px 3px rgba(25, 31, 40, .05); }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.card.hl { outline: 3px solid var(--gold); }
.thumbbox { position: relative; aspect-ratio: 400 / 190; background: var(--line); }
.thumbbox .photo { display: block; width: 100%; height: 100%; }
.tags { position: absolute; top: 10px; left: 10px; right: 10px; display: flex; gap: 6px; flex-wrap: wrap; }
.tag { padding: 2px 9px; border-radius: 99px; font-size: 11.5px; font-weight: 700; background: rgba(25, 31, 40, .8); color: var(--cream); backdrop-filter: blur(4px); box-shadow: 0 1px 4px rgba(0, 0, 0, .18); }
.tag.low { background: rgba(255, 255, 255, .92); color: var(--cheap); font-weight: 600; }
.tag.high { background: rgba(255, 255, 255, .92); color: var(--pricey); font-weight: 600; }
.tag.even { background: rgba(255, 255, 255, .9); color: var(--muted); }
.cbody { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 11px; flex: 1; }
.cname { font-weight: 700; font-size: 17px; line-height: 1.3; }
.cloc { display: flex; gap: 6px; align-items: center; color: var(--muted); font-size: 13px; flex-wrap: wrap; }
.cloc span { display: inline-flex; align-items: center; gap: 3px; }
.crate { font-size: 13.5px; }
.crate .star { color: var(--gold); }
.cfac { display: flex; gap: 5px; flex-wrap: wrap; }
.cfac span { font-size: 12px; padding: 2px 8px; border-radius: 6px; background: var(--info-soft); color: #4b5a6d; }
.cprice { display: flex; justify-content: space-between; align-items: baseline; margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--line-strong); }
.cprice .p { font-size: 13px; color: var(--muted); }
.cprice .p b { font-size: 24px; font-weight: 700; color: var(--ink); }
.cseats { font-size: 13px; font-weight: 700; }
.cseats.few { color: var(--pricey); }
.cseats.none { color: var(--muted); }
.avgbar { font-size: 12px; color: var(--muted); }
.avgbar .track { position: relative; height: 6px; margin: 6px 0 3px; border-radius: 99px; background: var(--line); }
.avgbar .mid { position: absolute; left: 50%; top: -3px; width: 2px; height: 12px; background: var(--muted); border-radius: 2px; }
.avgbar .dot { position: absolute; top: -3px; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line-strong); }
.dot.low { background: var(--cheap); } .dot.high { background: var(--pricey); } .dot.even { background: var(--muted); }
.diff { font-weight: 400; }
.diff.low, .diff.high { color: var(--muted); }
.pv { font-size: 16px; font-weight: 700; color: var(--ink); }
.empty { grid-column: 1 / -1; text-align: center; padding: 56px 16px; border: 1px dashed var(--line-strong); border-radius: var(--radius); background: var(--surface); }
.empty h3 { margin: 0 0 6px; }

/* 지도 */
.mapbox { position: sticky; top: 92px; height: min(680px, calc(100dvh - 116px)); min-height: 360px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-strong); background: #eef1f5; }
.fakemap { position: absolute; inset: 0; background:
  linear-gradient(90deg, transparent 49.4%, rgba(49, 130, 246, .10) 49.4% 50.6%, transparent 50.6%) 0 0 / 120px 120px,
  linear-gradient(0deg, transparent 49.4%, rgba(49, 130, 246, .10) 49.4% 50.6%, transparent 50.6%) 0 0 / 120px 120px,
  #eef1f5; }
.fakemap::after { content: ""; position: absolute; left: -10%; right: -10%; top: 62%; height: 42px; background: rgba(120, 160, 190, .28); transform: rotate(-8deg); }
.pin { position: absolute; transform: translate(-50%, -100%); border: none; background: none; padding: 0; display: flex; flex-direction: column; align-items: center; z-index: 2; }
.pin .bubble, .kpin .bubble { background: var(--espresso); color: var(--cream); font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 8px; white-space: nowrap; box-shadow: 0 2px 6px rgba(0, 0, 0, .25); }
.pin .bubble.low, .kpin .bubble.low { background: var(--cheap); }
.pin .bubble.high, .kpin .bubble.high { background: var(--pricey); }
.pin::after { content: ""; width: 0; height: 0; border: 6px solid transparent; border-top-color: var(--espresso); margin-top: -1px; }
.pin.on { z-index: 3; }
.pin.on .bubble { outline: 3px solid var(--gold); }
.maplink { position: absolute; right: 8px; bottom: 8px; z-index: 5; padding: 4px 10px; border-radius: 8px; background: rgba(255, 255, 255, .94); color: var(--espresso); font-size: 12px; font-weight: 700; text-decoration: none; box-shadow: 0 1px 4px rgba(0, 0, 0, .2); }
.maplink:hover { background: var(--gold-soft); }
.kpin { border: none; background: none; padding: 0; cursor: pointer; display: flex; flex-direction: column; align-items: center; }
.kpin::after { content: ""; border: 6px solid transparent; border-top-color: var(--espresso); margin-top: -1px; }
.kpin:has(.bubble.low)::after { border-top-color: var(--cheap); }
.kpin:has(.bubble.high)::after { border-top-color: var(--pricey); }
.origin { position: absolute; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: #2f6bff; border: 3px solid #fff; box-shadow: 0 0 0 6px rgba(47, 107, 255, .2); z-index: 1; }
.maplabel { position: absolute; left: 10px; bottom: 10px; font-size: 12px; background: rgba(255, 255, 255, .9); padding: 4px 9px; border-radius: 8px; z-index: 4; color: var(--muted); }
.mapbox .kmap { position: absolute; inset: 0; }
.mapnotice { position: absolute; top: 12px; left: 12px; right: 12px; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: 10px; background: rgba(255, 255, 255, .97); color: var(--ink); font-size: 12px; box-shadow: 0 2px 8px rgba(25, 31, 40, .08); }
.mapnotice .btn { flex-shrink: 0; }

/* 이용 안내(비즈니스 분할도) */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; position: relative; }
.flowcard { background: var(--surface); border: 1px dashed var(--line-strong); border-radius: 16px; padding: 24px 24px 26px; }
.flowcard .fh { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.flowcard .fi { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: var(--espresso); color: var(--gold-soft); }
.flowcard .fn { font-size: 12px; font-weight: 700; color: var(--gold-deep); }
.flowcard h3 { margin: 0; font-size: 17px; }
.flowcard ul { margin: 0; padding-left: 18px; font-size: 14px; }
.flowcard li { margin-bottom: 11px; }
.flowcard li small { display: block; color: var(--muted); font-size: 12.5px; }

/* 후기 스트립 */
.revgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.revcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: 0 1px 3px rgba(25, 31, 40, .04); transition: border-color .15s, box-shadow .15s; display: flex; flex-direction: column; gap: 8px; cursor: pointer; text-align: left; }
.revcard:hover { border-color: var(--gold); }
.stars { color: var(--gold); letter-spacing: 1px; }
.stars .off { color: var(--line-strong); }
.revcard .who { font-size: 13px; color: var(--muted); }

/* 상세 */
.crumbs { display: flex; gap: 8px; align-items: center; padding: 26px 0 16px; font-size: 13.5px; color: var(--muted); flex-wrap: wrap; }
.crumbs button { border: none; background: none; padding: 0; color: var(--gold-deep); font-weight: 700; }
.dhead { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; flex-wrap: wrap; margin-bottom: 24px; }
.dhead h1 { margin: 0; font-family: var(--display); font-weight: 700; font-size: 34px; color: var(--espresso); letter-spacing: .3px; }
.dhead .meta { display: flex; gap: 14px; flex-wrap: wrap; color: var(--muted); font-size: 14px; margin-top: 4px; }
.dhead .meta span { display: inline-flex; align-items: center; gap: 4px; }
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; border-radius: 18px; overflow: hidden; height: 360px; }
.gallery figure { margin: 0; position: relative; min-width: 0; min-height: 0; }
.gallery figure:first-child { grid-row: 1 / 3; }
.gallery .photo { display: block; width: 100%; height: 100%; }
.gallery figcaption { position: absolute; left: 8px; bottom: 8px; font-size: 12px; background: rgba(25, 31, 40, .75); color: var(--cream); padding: 2px 8px; border-radius: 6px; }
.photonote { font-size: 12px; color: var(--muted); margin: 6px 0 0; text-align: right; }
.dlayout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 44px; align-items: start; margin-top: 32px; }
.dlayout > * { min-width: 0; }
.subnav { position: sticky; top: 69px; z-index: 5; display: flex; gap: 4px; background: var(--bg); padding: 8px 0; border-bottom: 1px solid var(--line); overflow-x: auto; margin-bottom: 8px; }
.subnav button { border: none; background: none; padding: 8px 14px; font-weight: 700; color: var(--muted); border-radius: 9px; white-space: nowrap; }
.subnav button:hover { color: var(--espresso); background: var(--gold-soft); }
.dsec { padding: 36px 0 12px; scroll-margin-top: 120px; }
.dsec h2 { margin: 0 0 20px; font-size: 20px; color: var(--espresso); display: flex; align-items: center; gap: 8px; }
.tablewrap { overflow-x: auto; }
table.price { width: 100%; min-width: 520px; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
table.price th, table.price td { padding: 11px 12px; text-align: right; border-bottom: 1px solid var(--line); font-size: 14px; }
table.price th:first-child, table.price td:first-child { text-align: left; font-weight: 700; }
table.price thead th { background: var(--gold-soft); color: var(--gold-deep); font-size: 13px; }
table.price td small { display: block; font-size: 11.5px; }
.facgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.facitem { display: flex; align-items: center; gap: 8px; padding: 13px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; font-size: 14px; }
.facitem.off { opacity: .45; }
.facitem .ci { color: var(--gold-deep); }
.infolist { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.infolist li { display: flex; gap: 10px; align-items: flex-start; }
.infolist .ico { color: var(--gold-deep); margin-top: 3px; }
.locgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.mini { position: relative; height: 220px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line-strong); }

/* 좌석 현황 */
.seatstat { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 12px; }
.seatstat .big { font-size: 22px; font-weight: 700; }
.legend { display: flex; gap: 14px; font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.legend i { display: inline-block; width: 14px; height: 14px; border-radius: 4px; vertical-align: -2px; margin-right: 4px; border: 1px solid var(--line-strong); }
.legend .f { background: var(--surface); } .legend .t { background: #e5e8eb; } .legend .s { background: var(--gold); border-color: var(--gold); }
.seatmap { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 26px; }
.screen { text-align: center; font-size: 12px; color: var(--muted); border-bottom: 3px solid var(--line-strong); padding-bottom: 6px; margin-bottom: 16px; letter-spacing: 3px; }
.seats { display: grid; grid-template-columns: repeat(auto-fill, minmax(40px, 1fr)); gap: 7px; }
.seat { height: 34px; border-radius: 8px; border: 1px solid var(--line-strong); background: var(--surface); font-size: 12.5px; font-weight: 700; }
.seat:hover:not(:disabled) { border-color: var(--gold); background: var(--gold-soft); }
.seat:disabled { background: #e5e8eb; color: #9aa3ad; text-decoration: line-through; cursor: not-allowed; }
.seat.sel { background: var(--gold); border-color: var(--gold); color: #fff; }
.rooms { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
.rooms .seat { height: 64px; line-height: 1.3; }

/* 예약 카드 */
.bookcard { position: sticky; top: 76px; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 18px; padding: 26px; box-shadow: var(--shadow); }
.bookcard h3 { margin: 0 0 20px; font-size: 18px; color: var(--espresso); }
.sumrows { border-top: 1px dashed var(--line-strong); margin-top: 20px; padding-top: 16px; display: grid; gap: 9px; font-size: 14px; }
.sumrows div { display: flex; justify-content: space-between; gap: 10px; }
.sumrows .total { font-size: 19px; font-weight: 700; border-top: 1px solid var(--line); padding-top: 8px; margin-top: 4px; }
.err { color: var(--pricey); font-size: 13px; margin: 8px 0 0; }
.ok { color: var(--cheap); font-size: 13px; }
.refund { font-size: 12.5px; color: var(--muted); margin: 10px 0 0; }

/* 후기 */
.revhead { display: flex; gap: 22px; align-items: center; padding: 22px 26px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; margin-bottom: 14px; flex-wrap: wrap; }
.revhead .num { font-family: var(--display); font-size: 44px; line-height: 1; color: var(--espresso); }
.revitem { padding: 20px 0; border-bottom: 1px solid var(--line); }
.revitem .top { display: flex; gap: 10px; align-items: center; font-size: 13px; color: var(--muted); margin-bottom: 4px; }

/* 내 예약 */
.pagehead { padding: 44px 0 26px; }
.pagehead h1 { margin: 0; font-family: var(--display); font-weight: 700; font-size: 34px; color: var(--espresso); }
.reslist { display: grid; gap: 20px; margin-bottom: 40px; }
.rescard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; gap: 16px; align-items: center; }
.rescard .rthumb { border-radius: 10px; overflow: hidden; aspect-ratio: 4 / 3; }
.rescard .rthumb .photo { display: block; width: 100%; height: 100%; }
.rescard h3 { margin: 0 0 4px; font-size: 17px; }
.rescard .rinfo { font-size: 14px; color: var(--muted); display: grid; gap: 2px; }
.rescard .ractions { display: flex; flex-direction: column; gap: 6px; align-items: stretch; min-width: 130px; }
.status { display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 9px; border-radius: 99px; margin-left: 6px; vertical-align: 2px; }
.status.UPCOMING { background: var(--gold-soft); color: var(--gold-deep); }
.status.ACTIVE { background: var(--cheap-soft); color: var(--cheap); }
.status.COMPLETED { background: var(--info-soft); color: #4b5a6d; }
.status.CANCELED { background: var(--pricey-soft); color: var(--pricey); }
.cancelbox { grid-column: 1 / -1; background: var(--pricey-soft); border-radius: 10px; padding: 12px 14px; display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 14px; }

/* 푸터 */
.footer { margin-top: 96px; background: var(--espresso); color: #d8c9ae; }
.footer .cols { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; padding-top: 56px; padding-bottom: 40px; }
.footer h4 { margin: 0 0 12px; color: #fff; font-size: 15px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; }
.footer button { border: none; background: none; padding: 0; color: inherit; text-align: left; }
.footer button:hover { color: #fff; text-decoration: underline; }
.footer .logo { color: #fff; margin-bottom: 10px; }
.footer .logo-mark { background: var(--gold); color: #fff; }
.footer p { margin: 0 0 6px; font-size: 14px; }
.footer .legal { border-top: 1px solid rgba(255, 255, 255, .12); font-size: 12.5px; color: #b9a98c; }
.footer .legal .wrap { padding-top: 16px; padding-bottom: 22px; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }

/* 모달 / 토스트 */
.modal { position: fixed; inset: 0; z-index: 50; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(25, 31, 40, .5); }
.modal[hidden] { display: none; }
.modal-body { position: relative; width: min(560px, 100%); max-height: 92vh; overflow-y: auto; background: var(--surface); border-radius: 20px; padding: 26px; }
.modal-body h2 { margin: 0 0 4px; font-family: var(--display); font-weight: 700; font-size: 26px; color: var(--espresso); }
.modal-x { position: absolute; top: 12px; right: 14px; border: none; background: none; font-size: 24px; line-height: 1; padding: 4px 8px; }
.form { display: grid; gap: 12px; margin-top: 14px; }
.radios { display: grid; gap: 8px; }
.radios label { display: flex; align-items: center; gap: 10px; padding: 11px 13px; border: 1px solid var(--line-strong); border-radius: 12px; cursor: pointer; }
.radios label:has(input:checked) { border-color: var(--gold); background: var(--gold-soft); font-weight: 700; }
.stepdots { display: flex; gap: 6px; margin: 4px 0 10px; }
.stepdots i { height: 4px; flex: 1; border-radius: 4px; background: var(--line); }
.stepdots i.on { background: var(--gold); }
.receipt { text-align: center; padding: 8px 0; }
.receipt .big-check { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--cheap-soft); color: var(--cheap); margin: 6px auto 10px; }
.starpick { display: flex; gap: 4px; }
.starpick button { border: none; background: none; font-size: 32px; color: var(--line-strong); padding: 0 2px; line-height: 1; }
.starpick button.on { color: var(--gold); }
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 60; background: var(--espresso); color: var(--cream); padding: 11px 20px; border-radius: 99px; font-size: 14px; box-shadow: var(--shadow); max-width: calc(100vw - 32px); }
.toast[hidden] { display: none; }

/* 상단 로그인·회원가입 버튼은 눈에 띄게 */
.userbox .btn { padding: 9px 18px; font-size: 14px; }
.adv { margin-top: 24px; }
.seathint { margin: 16px 0 0; font-size: 13px; line-height: 1.5; color: var(--muted); }
/* 화면 전환과 메뉴 이동 애니메이션 */
#view.enter { animation: viewIn .32s ease-out; }
@keyframes viewIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.sec-flash { border-radius: 8px; animation: secFlash 1.5s ease-out; }
@keyframes secFlash { 0% { background: var(--gold-soft); box-shadow: 0 0 0 10px var(--gold-soft); } 100% { background: transparent; box-shadow: 0 0 0 10px transparent; } }

/* 위치를 못 받았을 때 결과 위에 계속 보이는 안내 (배경 없이 글자만) */
.locnote { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 18px; margin: 0 0 18px; font-size: 14px; color: var(--muted); }
.locnote b { color: var(--ink); }
.locbtns { display: flex; flex-wrap: wrap; gap: 8px; }

/* 카드: 평균 대비는 가격 아래 작은 회색 글씨 (색으로 눈에 띄지 않게) */
.cprice { align-items: flex-end; }
.cprice .p { display: block; }
.cavg { display: block; margin-top: 3px; font-size: 12.5px; font-weight: 400; color: var(--muted); }

/* 한글 제목이 글자 중간에서 줄바꿈되지 않게 단어 단위로 */
h1, h2, h3, .hero h1 { word-break: keep-all; }
/* ---- 한 줄 검색 바 ---- */
.sbar { display: grid; grid-template-columns: minmax(150px, .9fr) minmax(230px, 1.6fr) minmax(140px, .9fr) minmax(190px, 1.2fr) auto; align-items: stretch; }
.sb-cell { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 4px; min-width: 0; padding: 12px 20px; border-radius: 16px; transition: background .15s; }
.sb-cell + .sb-cell::before { content: ""; position: absolute; left: 0; top: 20%; bottom: 20%; width: 1px; background: var(--line); }
.sb-cell:hover, .sb-cell:focus-within { background: #f5f8ff; }
.sb-lbl { font-size: 13px; font-weight: 700; color: var(--muted); }
.sb-pair { display: flex; align-items: center; gap: 6px; min-width: 0; }
.sb-dash { color: var(--muted); }
.sbar select, .sbar input[type=date] { border: none; background: transparent; padding: 2px 0; font-size: 14px; font-weight: 600; min-width: 0; text-overflow: ellipsis; cursor: pointer; }
.sbar select:focus, .sbar input:focus { outline: none; }
.sb-mode .seg { padding: 3px; }
.sb-mode .seg button { padding: 5px 12px; }
.sb-go { align-self: center; margin: 0 8px 0 12px; padding: 12px 24px; border-radius: 14px; }
.sb-foot { display: flex; align-items: center; gap: 10px 16px; flex-wrap: wrap; padding: 6px 16px 12px; }
.sb-foot .note { flex: 1; min-width: 0; display: inline-flex; align-items: center; gap: 6px; }
.sb-note { padding: 0 20px 4px; }
.adv { margin: 0; padding: 4px 12px 14px; }
/* ---- 카테고리 칩 한 줄 ---- */
.section-tight { padding-top: 22px; }
#sec-compare { padding-top: 14px; }
.cats { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 10px; scrollbar-width: none; }
.cats::-webkit-scrollbar { display: none; }
.cat { flex: none; display: inline-flex; align-items: center; gap: 7px; padding: 8px 16px; border-radius: 99px; border: 1px solid var(--line-strong); background: var(--surface); font-size: 14px; font-weight: 600; white-space: nowrap; transition: border-color .15s, background .15s; }
.cat .ci { display: inline-flex; color: var(--gold-deep); }
.cat:hover { border-color: var(--gold); }
.cat[aria-pressed=true] { border-color: var(--gold); background: var(--gold-soft); color: var(--gold-deep); }
/* ---- 카드 사진은 마우스를 올리면 살짝 커진다 ---- */
.thumbbox { overflow: hidden; }
.thumbbox .photo { transition: transform .35s ease; }
.card:hover .thumbbox .photo { transform: scale(1.04); }

@media (max-width: 1000px) {
  .panel-grid, .dlayout { grid-template-columns: 1fr; }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .footer .cols { grid-template-columns: 1fr 1fr; }
  .reslayout.withmap { grid-template-columns: 1fr; }
  .mapbox { position: relative; top: 0; height: 340px; order: -1; }
  .bookcard { position: static; }
  .gallery { height: 280px; }
  .withmap .grid { grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); }
  .subnav { top: 69px; }
}
@media (max-width: 640px) {
  .utility .wrap > span:last-child { display: none; }
  .topbar .wrap { flex-wrap: wrap; gap: 8px 12px; }
  .userbox { margin-left: auto; }
  .mainnav { order: 3; flex-basis: 100%; }
  .mainnav button { padding: 10px; font-size: 13px; }
  .userbox .hello { display: none; }
  .hero { padding-top: 34px; }
  .panel { padding: 14px; }
  .pgroup { padding: 16px; }
  .panel-grid { gap: 14px; }
  .panel-foot { margin-top: 18px; padding-top: 16px; }
  .panel-foot > .muted { font-size: 13px; }
  .panel-actions { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px; width: 100%; }
  .panel-actions .btn { padding-left: 10px; padding-right: 10px; }
  .panel-actions .primary { font-size: 13px; }
  select, input[type=date], input[type=text], input[type=email], input[type=password], textarea { font-size: 16px; }
  button.chip, .tab { min-height: 44px; }
  .resbar { align-items: stretch; gap: 14px; }
  .resbar .tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
  .resbar .map-toggle { grid-column: 1 / -1; margin-left: 0; }
  .resbar .count small { display: block; margin: 4px 0 0; }
  .subnav { top: 116px; }
  [id^=sec-] { scroll-margin-top: 134px; }
  .dsec { scroll-margin-top: 184px; }
  .row3 { grid-template-columns: 1fr 1fr; }
  .row3 .field:first-child { grid-column: 1 / -1; }
  .flow, .locgrid { grid-template-columns: 1fr; }
  .withmap .grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; height: 260px; }
  .gallery figure:first-child { grid-column: 1 / 3; grid-row: 1; }
  .gallery figure:nth-child(n+4) { display: none; }
  .rescard { grid-template-columns: 1fr; }
  .rescard .rthumb { display: none; }
  .rescard .ractions { flex-direction: row; flex-wrap: wrap; }
  .footer .cols { grid-template-columns: 1fr; }
  .dhead h1 { font-size: 28px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } #view.enter, .sec-flash { animation: none; } .card, .cat { transition: none; } .card:hover, .cat:hover { transform: none; } .thumbbox .photo { transition: none; } .card:hover .thumbbox .photo { transform: none; } }

/* 카카오 데이터에 없는 정보로는 걸러낼 수 없을 때 */
.chip:disabled, .cat:disabled { opacity: .45; cursor: not-allowed; }
.chip:disabled:hover, .cat:disabled:hover { border-color: var(--line-strong); transform: none; box-shadow: none; }

/* 카페가 많을 때 지도에 찍는 작은 점 */
.kdot, .pindot { border: none; background: none; padding: 0; cursor: pointer; }
.pindot { position: absolute; transform: translate(-50%, -50%); z-index: 2; }
.dotm { display: block; width: 14px; height: 14px; border-radius: 50%; background: var(--espresso); border: 2px solid #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .4); }
.dotm.low { background: var(--cheap); }
.dotm.high { background: var(--pricey); }
.kdot:hover .dotm, .pindot:hover .dotm { transform: scale(1.35); }

/* ---- 검색 바 반응형 ---- */
@media (max-width: 1000px) {
  .sbar { grid-template-columns: 1fr 1fr; }
  .sb-cell + .sb-cell::before { display: none; }
  .sb-cell { border-bottom: 1px solid var(--line); border-radius: 0; }
  .sb-go { grid-column: 1 / -1; margin: 10px 8px 6px; }
  .hero { padding-bottom: 70px; }
}
@media (max-width: 640px) {
  .sbar { grid-template-columns: 1fr 1fr; }
  .sb-mode, #sec-area { grid-column: 1 / -1; }
  .sb-cell { padding: 10px 14px; }
  .sb-pair select { flex: 1; }
  .sb-foot .note { flex-basis: 100%; order: 3; }
  .hero h1 { font-size: 22px; }
}

/* ---- 화이트 테마 ---- */
.utility { background: #f4f6f8; color: var(--muted); }
.utility b { color: var(--ink); }
.logo { font-weight: 800; letter-spacing: -.5px; }
.hero { background: var(--bg); color: var(--ink); padding: 44px 0 4px; overflow: visible; }
.hero h1 { color: var(--ink); font-size: clamp(26px, 3.6vw, 40px); font-weight: 800; letter-spacing: -.8px; line-height: 1.3; }
.hero h1 em { color: var(--gold); }
.panel { margin-top: 24px; border: 1px solid var(--line-strong); box-shadow: 0 8px 28px rgba(25, 31, 40, .08); }
.sb-cell:hover, .sb-cell:focus-within { background: #f5f8ff; }
.avgline { margin: 0 0 18px; font-size: 13px; color: var(--muted); }
.avgline b { color: var(--ink); font-weight: 700; }
.card { box-shadow: none; }
.card:hover { box-shadow: 0 12px 30px rgba(25, 31, 40, .10); }
.gallery-one { grid-template-columns: 1fr; grid-template-rows: 1fr; height: 240px; }
.footer { background: #f4f6f8; color: var(--muted); }
.footer h4, .footer .logo { color: var(--ink); }
.footer button:hover { color: var(--ink); }
.footer .legal { border-top-color: var(--line); color: var(--muted); }

/* 지도에서 고른 카페: 목록 맨 위에 고정 */
.selcafe { position: sticky; top: 92px; z-index: 6; background: var(--surface); border: 1px solid var(--gold); border-radius: var(--radius); padding: 16px 44px 16px 18px; margin-bottom: 16px; box-shadow: 0 6px 20px rgba(25, 31, 40, .08); }
.selcafe .selk { font-size: 12px; font-weight: 700; color: var(--gold); margin-bottom: 4px; }
.selcafe .selname { font-size: 18px; font-weight: 800; color: var(--ink); line-height: 1.35; }
.selcafe .seladdr, .selcafe .selmeta { font-size: 13.5px; color: var(--muted); margin-top: 4px; display: flex; align-items: center; gap: 4px; }
.selcafe .selprice { margin-top: 10px; font-size: 14px; color: var(--ink); }
.selcafe .selprice b { font-size: 18px; margin: 0 2px; }
.selcafe .selbtns { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.selcafe .selx { position: absolute; top: 8px; right: 10px; width: 28px; height: 28px; border: 0; background: transparent; font-size: 22px; line-height: 1; color: var(--muted); cursor: pointer; border-radius: 6px; }
.selcafe .selx:hover { background: var(--line); color: var(--ink); }
@media (max-width: 900px) { .selcafe { top: 8px; } }

/* 회원가입: 휴대폰 인증 · 소셜 로그인 */
.phonerow { display: flex; gap: 8px; align-items: stretch; }
.phonerow input { flex: 1; min-width: 0; }
.social { display: grid; gap: 8px; margin-top: 6px; text-align: center; }
.social .btn { width: 100%; justify-content: center; text-decoration: none; }

/* 지도 보기: 왼쪽에 컴팩트한 목록(한 줄에 카페 하나), 오른쪽에 큰 지도. 지역을 고르면 그 지역의 모든 카페를 한눈에 훑어볼 수 있다. */
.reslayout.withmap { grid-template-columns: minmax(340px, 440px) minmax(0, 1fr); gap: 16px; }
.withmap .grid { grid-template-columns: 1fr; gap: 10px; }
.withmap .card { flex-direction: row; align-items: stretch; border-radius: 14px; }
.withmap .card:hover { transform: none; }
.withmap .thumbbox { flex: 0 0 92px; width: 92px; aspect-ratio: auto; }
.withmap .thumbbox .tags { top: 6px; left: 6px; right: auto; }
.withmap .thumbbox .tag:not(.rank) { display: none; }
.withmap .cbody { padding: 12px 14px; gap: 5px; min-width: 0; }
.withmap .cname { font-size: 15px; }
.withmap .cloc { font-size: 12.5px; gap: 4px 8px; }
.withmap .crate { font-size: 12.5px; }
.withmap .cfac { display: none; }
.withmap .cprice { flex-direction: column; align-items: flex-start; gap: 3px; margin-top: 2px; padding-top: 6px; border-top: 0; }
.withmap .cprice .p b { font-size: 18px; }
.withmap .cprice .cavg { display: block; font-size: 12px; margin-top: 1px; }
.withmap .cseats { font-size: 12px; }
.withmap .mapbox { height: calc(100dvh - 116px); min-height: 480px; }
@media (max-width: 1000px) {
  .reslayout.withmap { grid-template-columns: 1fr; }
  .withmap .mapbox { position: relative; top: 0; height: 340px; min-height: 0; order: -1; }
}

/* 로그인·회원가입 창: 라벨이 위에 있는 입력칸, 소셜 버튼, 비밀번호 확인, 약관 동의 */
.auth { max-width: 400px; margin: 0 auto; }
.auth h2 { font-size: 24px; margin: 0; }
.authsub { margin: 4px 0 18px; font-size: 14px; }
.aform { display: grid; gap: 14px; }
.af { display: grid; gap: 6px; min-width: 0; }
.af > label { font-size: 13px; font-weight: 700; color: var(--ink); }
.af input[type=email], .af input[type=password], .af input[type=text], .af input[type=tel] {
  width: 100%; min-width: 0; height: 44px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--surface); font-size: 15px;
}
.af input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-soft); outline: none; }
.af .phonerow { display: flex; gap: 8px; }
.af .phonerow input { flex: 1; }
.af .phonerow .btn { height: 44px; padding: 0 14px; white-space: nowrap; }
.hint { margin: 0; font-size: 12.5px; color: var(--muted); }
.hint.good { color: var(--cheap); }
.hint.bad { color: var(--pricey); }
.hint:empty { display: none; }
.agree { display: flex; align-items: center; gap: 8px; font-size: 13.5px; cursor: pointer; }
.agree input { width: 18px; height: 18px; accent-color: var(--gold); flex: none; }
.agree span { flex: 1; }
.agree em { color: var(--pricey); font-style: normal; font-size: 12.5px; }
.linkbtn { border: 0; background: none; padding: 0; color: var(--muted); font-size: 13px; text-decoration: underline; cursor: pointer; }
.linkbtn.strong { color: var(--gold-deep); font-weight: 700; text-decoration: none; }
.demo { margin: 0; font-size: 12.5px; color: var(--muted); text-align: center; }
.aform .err { margin: 0; }
.aform .err:empty { display: none; }
.socialbox { display: grid; gap: 8px; }
.soc { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 46px; border: 0; border-radius: 10px; font-size: 15px; font-weight: 700; cursor: pointer; text-decoration: none; }
.soc.kakao { background: #fee500; color: #191919; }
.soc.naver { background: #03c75a; color: #fff; }
.soc .nmark { font-size: 17px; font-weight: 900; line-height: 1; }
.soc:hover { filter: brightness(.96); }
.orline { display: flex; align-items: center; gap: 10px; margin: 16px 0; color: var(--muted); font-size: 12.5px; }
.orline::before, .orline::after { content: ''; flex: 1; height: 1px; background: var(--line-strong); }
.authfoot { margin: 18px 0 0; text-align: center; font-size: 13.5px; color: var(--muted); }

/* =====================================================================================
   디자인 정리 (2026-11-04): 단색 · 벤토 그리드 · 큰 타이포 · 알약형 버튼 (그라데이션 없음)
   ===================================================================================== */
:root {
  --blue: #3182f6; --blue-d: #1b64da; --ink: #191f28;
  --p-blue: #e8f1ff; --p-mint: #dff6ef; --p-violet: #eee9ff; --p-peach: #ffeee6; --p-yellow: #fff3cf; --p-gray: #f4f6f9;
  --c-mint: #0d9488; --c-violet: #6d4cff; --c-peach: #ef5f3c; --c-yellow: #b7791f;
}

/* ---- 상단 ---- */
.mainnav button[aria-current="page"] { color: var(--blue-d); background: var(--p-blue); }
.mainnav button[aria-disabled="true"] { opacity: .42; cursor: not-allowed; }
.mainnav button[aria-disabled="true"]:hover { background: none; }
.userbox .ghost { border-color: transparent; background: transparent; font-weight: 700; color: var(--espresso-2); }
.userbox .ghost:hover { background: var(--p-blue); border-color: transparent; }
.userbox .ghost[aria-current="page"] { color: var(--blue-d); background: var(--p-blue); }
.utility .ulink { background: none; border: none; padding: 0; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.utility .ulink:hover { color: var(--blue-d); }
#view { padding-bottom: 36px; }

/* ---- 분리된 화면의 머리 ---- */
.pghead { padding: 46px 0 38px; background: var(--p-gray); }
.pg-kicker { display: inline-block; padding: 5px 12px; border-radius: 99px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .4px; }
.pghead h1 { margin: 14px 0 8px; font-size: clamp(30px, 4vw, 46px); font-weight: 800; letter-spacing: -1.4px; line-height: 1.15; }
.pghead p { margin: 0; color: var(--muted); font-size: 16px; }

/* ---- 검색 조건(이용 옵션 + 지역 설정) ---- */
.slayout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 20px; align-items: start; margin-top: 24px; }
.spanel { display: grid; gap: 18px; min-width: 0; }
.scard { background: #fff; border: 1px solid #e8ebf0; border-radius: 28px; padding: 24px 16px 22px; }
.scard-h { display: flex; align-items: center; gap: 14px; padding: 0 12px 14px; }
.scard-h h2 { margin: 0; font-size: 21px; font-weight: 800; letter-spacing: -.5px; }
.scard-h p { margin: 2px 0 0; color: var(--muted); font-size: 14px; }
.sbar-3 { grid-template-columns: minmax(150px, .9fr) minmax(170px, 1fr) minmax(190px, 1.2fr); }
.sbar-1 { grid-template-columns: minmax(260px, 1fr); }
.pg-one { padding: 6px 18px 4px; }
.pg-one .pgroup h3 { margin-top: 14px; }
.sidesum { position: sticky; top: 92px; background: #fff; border: 1px solid #e8ebf0; border-radius: 28px; padding: 24px 22px; }
.sidesum h3 { margin: 0 0 12px; font-size: 18px; font-weight: 800; }
.sidesum dl { margin: 0 0 16px; display: grid; gap: 2px; }
.sidesum dl div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid #f0f2f5; font-size: 14px; }
.sidesum dt { color: var(--muted); flex: none; }
.sidesum dd { margin: 0; font-weight: 700; text-align: right; min-width: 0; overflow-wrap: anywhere; }
.sidesum .btn.primary { border-radius: 99px; padding: 13px 18px; }
.sidesum .btn { border-radius: 99px; }
.gatenote { margin: 10px 0 0; text-align: center; color: var(--muted); font-size: 13px; }
.pg-cta { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 22px 0 6px; }

/* ---- 비교·추천 ---- */
.sumpanel { margin-top: 20px; padding: 12px 16px; border-radius: 99px; border: 1px solid #e8ebf0; box-shadow: none; }
.sum { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.sum-chips { display: flex; gap: 8px; flex-wrap: wrap; min-width: 0; }
.sumchip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 99px; border: none; background: var(--p-gray); font-size: 13.5px; font-weight: 700; color: var(--espresso-2); }
.sumchip:hover { background: var(--p-blue); color: var(--blue-d); }
.sumchip .ico { color: var(--blue-d); }
.sum-act { display: flex; gap: 8px; }
.card { border-radius: 24px; }
.card:hover { box-shadow: 0 14px 30px rgba(25, 31, 40, .10); border-color: var(--line-strong); }

/* ---- 아이콘 동그라미 (파스텔 + 진한 아이콘) ---- */
.hm-fi { display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px; border-radius: 50%; flex: none; }
.hm-fi.f1, .flow .flowcard:nth-child(1) .fi { background: var(--p-blue); color: var(--blue-d); }
.hm-fi.f2, .flow .flowcard:nth-child(2) .fi { background: var(--p-mint); color: var(--c-mint); }
.hm-fi.f3, .flow .flowcard:nth-child(3) .fi { background: var(--p-violet); color: var(--c-violet); }
.hm-fi.f4, .flow .flowcard:nth-child(4) .fi { background: var(--p-peach); color: var(--c-peach); }
.scard-h .hm-fi { width: 46px; height: 46px; }

/* ---- 홈: 히어로 ---- */
.hm-hero { background: #fff; padding: 14px 14px 0; }
.hm-heroblock { position: relative; overflow: hidden; border-radius: 44px; background: var(--p-blue); }
.hm-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hm-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .16; }
.hm-hero-in { position: relative; z-index: 1; display: grid; grid-template-columns: 1.08fr .92fr; gap: 48px; align-items: center; padding: 76px 36px 124px; }
.hm-badge { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 99px; background: #fff; color: var(--blue-d); font-size: 13px; font-weight: 800; }
.hm-copy h1 { margin: 20px 0 18px; font-size: clamp(34px, 4.2vw, 54px); font-weight: 800; line-height: 1.16; letter-spacing: -2px; color: var(--ink); text-wrap: balance; }
.hm-copy h1 em { font-style: normal; color: var(--blue); box-shadow: inset 0 -.3em 0 rgba(255, 255, 255, .95); }
.hm-copy > p { margin: 0 0 28px; max-width: 30em; font-size: 18px; color: #4e5968; line-height: 1.65; }
.hm-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.hm-big { padding: 16px 30px; font-size: 16px; border-radius: 99px; font-weight: 800; }
.hm-cta .primary.hm-big { background: var(--ink); border-color: var(--ink); color: #fff; }
.hm-cta .primary.hm-big:hover { background: #000; border-color: #000; transform: translateY(-1px); }
.hm-ghost { background: #fff; border-color: #d5dae1; }
.hm-stats { display: flex; gap: 34px; margin-top: 38px; flex-wrap: wrap; }
.hm-stats div { font-size: 13px; color: var(--muted); }
.hm-stats b { display: block; font-size: 26px; font-weight: 800; color: var(--ink); line-height: 1.15; letter-spacing: -.6px; }

/* ---- 홈: 벤토 타일 ---- */
.hm-bento { display: grid; grid-template-columns: 1fr 1fr; grid-template-areas: "price seat" "price seat" "ok ok"; grid-auto-rows: minmax(150px, auto); gap: 14px; }
.bt { position: relative; border-radius: 28px; padding: 22px; transition: transform .25s ease; }
.bt:hover { transform: translateY(-4px); }
.bt-price { grid-area: price; background: #fff; display: flex; flex-direction: column; }
.bt-seat { grid-area: seat; background: #fff; }
.bt-ok { grid-area: ok; background: var(--ink); color: #fff; display: flex; align-items: center; gap: 12px; }
.bt-stat { grid-area: stat; background: var(--p-yellow); display: flex; flex-direction: column; justify-content: center; }
.bt-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 13.5px; }
.bt-tag { padding: 3px 9px; border-radius: 99px; background: #fff; color: var(--cheap); font-size: 12px; font-weight: 800; white-space: nowrap; }
.bt-price-n { margin: auto 0 30px; padding-top: 18px; font-size: 40px; font-weight: 800; letter-spacing: -1.4px; line-height: 1; }
.bt-price-n small { display: block; margin-top: 14px; font-size: 13px; font-weight: 600; color: #5b6b85; letter-spacing: 0; }
.bt-bars { display: grid; gap: 6px; }
.bt-bars i { display: block; height: 9px; border-radius: 9px; background: var(--blue); }
.bt-bars i.avg { background: #cfe0fb; }
.bt-cap { display: flex; justify-content: space-between; margin-top: 8px; font-size: 11.5px; color: #5b6b85; }
.bt-n { color: var(--blue-d); font-weight: 800; font-size: 12.5px; }
.bt-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; margin-top: 14px; }
.bt-grid i { aspect-ratio: 1; border-radius: 7px; background: #fff; border: 1px solid #d5dae1; }
.bt-grid i.t { background: #e5e8ec; border-color: #e5e8ec; }
.bt-check { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: var(--blue); color: #fff; flex: none; }
.bt, .bt b, .bt small, .bt span { word-break: keep-all; }
.bt-ok b { display: block; font-size: 14px; }
.bt-ok small { color: #aab4c3; font-size: 12.5px; }
.bt-stat b { font-size: 44px; font-weight: 800; letter-spacing: -1.6px; line-height: 1; color: #5b4a12; }
.bt-stat span { margin-top: 6px; font-size: 13.5px; color: #7a6520; font-weight: 600; }
.hm-note { margin: 10px 4px 0; font-size: 11.5px; color: #5b6b85; text-align: right; }

/* ---- 홈: 빠른 검색 바 (알약형) ---- */
.hm-sw { position: relative; z-index: 3; margin-top: -40px; }
.hm-search { display: grid; grid-template-columns: 1.4fr 1fr 1fr auto auto; align-items: center; max-width: 980px; margin: 0 auto; padding: 8px 8px 8px 12px; background: #fff; border: 1px solid #e3e7ee; border-radius: 99px; box-shadow: 0 14px 34px rgba(25, 31, 40, .12); }
.hs-cell { position: relative; display: flex; flex-direction: column; gap: 2px; min-width: 0; padding: 10px 22px; border-radius: 99px; cursor: pointer; }
.hs-geo { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 54px; margin-right: 8px; padding: 0 20px; border: none; border-radius: 99px; background: var(--p-blue); color: var(--blue-d); font-size: 15px; font-weight: 800; white-space: nowrap; cursor: pointer; transition: background .15s; }
.hs-geo:hover { background: #dbe8fd; }
.hs-cell + .hs-cell::before { content: ""; position: absolute; left: 0; top: 24%; bottom: 24%; width: 1px; background: #e5e8ec; }
.hs-cell:hover { background: var(--p-gray); }
.hs-cell span { font-size: 12px; font-weight: 800; color: var(--ink); }
.hs-cell select, .hs-cell input { border: none; background: transparent; padding: 0; font-size: 14.5px; color: #4e5968; font-weight: 600; min-width: 0; text-overflow: ellipsis; cursor: pointer; }
.hs-cell select:focus, .hs-cell input:focus { outline: none; }
.hs-go { display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 54px; border-radius: 50%; border: none; background: var(--blue); color: #fff; transition: transform .15s, background .15s; }
.hs-go:hover { background: var(--blue-d); transform: scale(1.06); }

/* ---- 홈: 카테고리 타일 (큰 둥근 타일 격자) ---- */
.hm-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.hm-cat { display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; gap: 24px; min-height: 140px; padding: 22px; border-radius: 28px; border: none; background: var(--p-gray); text-align: left; transition: transform .22s ease, background .22s ease; }
.hm-cat b { font-size: 18px; font-weight: 800; letter-spacing: -.4px; color: var(--ink); }
.hm-ti { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: #fff; color: var(--blue-d); }
.hm-cat:nth-child(4n+1):hover { background: var(--p-blue); } .hm-cat:nth-child(4n+2):hover { background: var(--p-mint); }
.hm-cat:nth-child(4n+3):hover { background: var(--p-violet); } .hm-cat:nth-child(4n):hover { background: var(--p-peach); }
.hm-cat:nth-child(4n+2) .hm-ti { color: var(--c-mint); } .hm-cat:nth-child(4n+3) .hm-ti { color: var(--c-violet); } .hm-cat:nth-child(4n) .hm-ti { color: var(--c-peach); }
.hm-cat:hover { transform: translateY(-4px); }

/* ---- 홈: 섹션 공통 ---- */
.hm-sec { padding-top: 92px; }
.hm-head { text-align: left; margin-bottom: 34px; max-width: 760px; }
.hm-head h2 { margin: 14px 0 8px; font-size: clamp(28px, 3.6vw, 44px); font-weight: 800; letter-spacing: -1.4px; line-height: 1.15; }
.hm-head p { margin: 0; color: var(--muted); font-size: 17px; }

/* ---- 홈: 기능 벤토 ---- */
.hm-feat { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.hm-fcard { position: relative; grid-column: span 2; text-align: left; display: flex; flex-direction: column; gap: 10px; min-height: 270px; padding: 30px; border-radius: 32px; border: none; transition: transform .25s ease; }
.hm-fcard.f1, .hm-fcard.f4 { grid-column: span 4; }
.hm-fcard.f1 { background: var(--p-blue); } .hm-fcard.f2 { background: var(--p-mint); }
.hm-fcard.f3 { background: var(--p-violet); } .hm-fcard.f4 { background: var(--p-peach); }
.hm-fcard:hover { transform: translateY(-5px); }
.hm-fcard .hm-fi { background: #fff; width: 56px; height: 56px; }
.hm-fcard h3 { margin: auto 0 0; font-size: 26px; font-weight: 800; letter-spacing: -.8px; }
.hm-fcard p { margin: 0; max-width: 24em; color: #4e5968; font-size: 15.5px; line-height: 1.6; }
.hm-go { position: absolute; right: 26px; top: 28px; display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; background: #fff; font-size: 18px; font-weight: 800; transition: transform .25s ease; }
.hm-fcard:hover .hm-go { transform: translateX(4px); }
.hm-fcard.f1 .hm-go { color: var(--blue-d); } .hm-fcard.f2 .hm-go { color: var(--c-mint); }
.hm-fcard.f3 .hm-go { color: var(--c-violet); } .hm-fcard.f4 .hm-go { color: var(--c-peach); }

/* ---- 홈: 4단계 ---- */
.hm-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.hm-steps li { display: flex; flex-direction: column; gap: 6px; padding: 26px 24px 28px; border-radius: 28px; background: var(--p-gray); }
.hm-sn { font-size: 46px; font-weight: 800; letter-spacing: -2px; line-height: 1; color: #c3ccdb; margin-bottom: 18px; }
.hm-steps li:hover .hm-sn { color: var(--blue); }
.hm-steps b { font-size: 19px; font-weight: 800; letter-spacing: -.4px; }
.hm-steps small { color: var(--muted); font-size: 14px; }

/* ---- 홈: 숫자 띠(어두운 단색) ---- */
.hm-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding: 46px 28px; border-radius: 36px; color: #fff; background: var(--ink); text-align: center; }
.hm-band b { display: block; font-size: clamp(30px, 3.8vw, 48px); font-weight: 800; letter-spacing: -1.4px; line-height: 1.1; }
.hm-band span { display: block; margin-top: 8px; font-size: 14px; color: #9aa5b4; }

/* ---- 마지막 시작 블록(파란 단색) ---- */
.hm-final { text-align: center; padding: 64px 24px; border-radius: 36px; background: var(--blue); color: #fff; }
.hm-final h2 { margin: 0 0 10px; font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; letter-spacing: -1.2px; }
.hm-final p { margin: 0 0 26px; color: rgba(255, 255, 255, .86); font-size: 17px; }
.hm-final .hm-cta { justify-content: center; }
.hm-white { padding: 16px 32px; font-size: 16px; border-radius: 99px; font-weight: 800; color: var(--blue-d); background: #fff; border-color: #fff; }
.hm-white:hover { background: #f2f7ff; border-color: #f2f7ff; transform: translateY(-1px); }

/* ---- 스크롤하면 나타남 ---- */
.rv-on .rv { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.rv-on .rv.in { opacity: 1; transform: none; }

/* ---- 이용 안내 ---- */
.flow .flowcard { border-radius: 28px; transition: transform .2s; }
.flow .flowcard:hover { transform: translateY(-4px); }
.gd-refund { display: flex; gap: 16px; align-items: center; margin-top: 24px; padding: 24px 26px; border-radius: 28px; background: var(--p-peach); }
.gd-refund .hm-fi { background: #fff; }
.gd-refund b { font-size: 17px; }
.gd-refund p { margin: 4px 0 0; color: #5b6573; font-size: 14.5px; line-height: 1.6; }

/* ---- 카페 상세 · 로그인 창 · 내 예약 ---- */
.bookcard { border: 1px solid #e8ebf0; border-radius: 28px; box-shadow: none; }
.dhead h1 { letter-spacing: -1px; }
.gallery { border-radius: 28px; }
.dsec h2 .ico { color: var(--blue-d); }
.crumbs button { font-weight: 700; }
.modal-body { border-radius: 28px; box-shadow: 0 30px 80px rgba(25, 31, 40, .28); overflow-x: hidden; }
.modal-body h2 { letter-spacing: -.8px; }
.modal-body .btn.primary { border-radius: 99px; padding: 12px 18px; }
.modal-body input:focus, .modal-body select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(49, 130, 246, .18); outline: none; }
.empty { background: var(--p-gray); border: 1px dashed #cfd6e3; border-radius: 24px; }
.rescard { border-radius: 24px; }

/* ---- 작은 화면 ---- */
@media (max-width: 1000px) {
  .slayout { grid-template-columns: 1fr; }
  .sidesum { position: static; }
  .hm-hero-in { grid-template-columns: 1fr; padding: 48px 28px 100px; gap: 32px; }
  .hm-tiles { grid-template-columns: repeat(2, 1fr); }
  .hm-feat { grid-template-columns: repeat(2, 1fr); }
  .hm-fcard, .hm-fcard.f1, .hm-fcard.f4 { grid-column: span 1; }
  .hm-fcard.f1, .hm-fcard.f4 { grid-column: span 2; }
  .hm-steps, .hm-band { grid-template-columns: repeat(2, 1fr); }
  .sumpanel { border-radius: 24px; }
}
@media (max-width: 640px) {
  .pghead { padding: 32px 0 28px; }
  .scard { padding: 18px 8px 16px; border-radius: 22px; }
  .sbar-3, .sbar-1 { grid-template-columns: 1fr; }
  .hm-hero { padding: 8px 8px 0; }
  .hm-heroblock { border-radius: 30px; }
  .hm-hero-in { padding: 34px 18px 92px; }
  .hm-search { grid-template-columns: 1fr 1fr; border-radius: 28px; padding: 8px; gap: 2px; }
  .hs-cell { padding: 10px 14px; border-radius: 20px; }
  .hs-cell:first-child { grid-column: 1 / -1; }
  .hs-geo { grid-column: 1 / -1; width: 100%; height: 48px; margin: 4px 0 0; border-radius: 20px; }
  .hs-cell + .hs-cell::before { display: none; }
  .hs-go { grid-column: 1 / -1; width: 100%; height: 50px; border-radius: 20px; margin-top: 4px; }
  .hm-cat { min-height: 116px; padding: 16px; border-radius: 22px; }
  .hm-copy > p { font-size: 16px; }
  .hm-big { padding: 14px 22px; flex: 1; }
  .hm-bento { grid-template-areas: "price price" "seat seat" "ok ok"; }
  .hm-feat, .hm-steps { grid-template-columns: 1fr; }
  .hm-fcard, .hm-fcard.f1, .hm-fcard.f4 { grid-column: span 1; min-height: 220px; padding: 24px; }
  .hm-band { grid-template-columns: repeat(2, 1fr); padding: 30px 14px; border-radius: 28px; }
  .hm-sec { padding-top: 64px; }
  .hm-final { padding: 44px 18px; border-radius: 28px; }
  .gd-refund { flex-direction: column; align-items: flex-start; }
  .pg-cta .btn.lg, .sum-act { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .bt, .hm-fcard, .hm-go, .hm-cat, .hs-go, .flow .flowcard, .hm-cta .primary.hm-big { transition: none; }
  .bt:hover, .hm-fcard:hover, .hm-cat:hover, .flow .flowcard:hover { transform: none; }
  .rv-on .rv { opacity: 1; transform: none; transition: none; }
}

/* ---- 평균 대비를 한눈에: 알약 + 비교 막대 ---- */
.cdiff { margin-top: 12px; }
.dbadge { display: inline-flex; align-items: center; gap: 4px; padding: 6px 11px; border-radius: 99px; font-size: 13.5px; font-weight: 800; line-height: 1.2; }
.dbadge.low { background: var(--cheap-soft); color: var(--cheap); }
.dbadge.high { background: var(--pricey-soft); color: var(--pricey); }
.dbadge.even { background: var(--p-gray); color: #4e5968; }
.dbadge.sm { display: flex; width: max-content; margin-top: 6px; padding: 3px 9px; font-size: 12px; }
.dbar { position: relative; height: 8px; margin: 12px 0 5px; border-radius: 8px; background: #edf0f4; }
.dbar i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 8px; background: var(--blue); }
.dbar i.low { background: var(--cheap); } .dbar i.high { background: var(--pricey); }
.dbar b { position: absolute; top: -4px; width: 2px; height: 16px; border-radius: 2px; background: var(--ink); transform: translateX(-1px); }
.dcap { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--muted); }
table.price td .pv { display: block; }
.bt-tag { color: var(--cheap); }
table.price td:first-child, table.price th:first-child { white-space: nowrap; min-width: 92px; }
table.price td { vertical-align: top; }

/* ---- 시설은 '예시'임을 분명히 ---- */
.cfac .exlab { font-size: 11.5px; font-weight: 800; color: var(--blue-d); background: var(--p-blue); border-radius: 99px; padding: 2px 8px; }
.chip .exs { margin-left: 5px; font-size: 11px; font-weight: 700; color: var(--muted); }

/* ---- 첫 화면이 그려지기 전의 자리표시 ---- */
.boot { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 55vh; color: var(--muted); font-size: 15px; font-weight: 600; }
.boot-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--blue); animation: bootPulse 1s ease-in-out infinite; }
@keyframes bootPulse { 0%, 100% { transform: scale(.7); opacity: .5; } 50% { transform: scale(1.15); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .boot-dot { animation: none; } }

/* ---- 요금 카드: 제목과 알약이 부딪히지 않게 두 줄로, 높이도 넉넉하게 ---- */
.bt-top { flex-wrap: wrap; gap: 6px 10px; }
.bt-top b { white-space: nowrap; }
.bt-price .bt-top { flex-direction: column; align-items: flex-start; gap: 8px; }
.bt-tag { white-space: nowrap; padding: 4px 10px; font-size: 12.5px; }
.bt-price { padding: 24px 22px; }
.bt-price-n { padding-top: 22px; }
.bt-seat .bt-top { align-items: center; }

/* ---- 모바일 다듬기: 한 줄 유지 · 정렬 · 단어 단위 줄바꿈 ---- */
body { word-break: keep-all; overflow-wrap: break-word; } /* 한국어가 단어 중간에서 꺾이지 않게 */
.bt-price .bt-tag { background: var(--cheap-soft); }      /* 흰 카드 위에서도 알약이 보이게 */
@media (max-width: 640px) {
  /* 헤더: 로고와 로그인 영역이 한 줄에 놓이게 줄인다 */
  .topbar .wrap { flex-wrap: wrap; gap: 4px 8px; padding-top: 8px; padding-bottom: 4px; }
  .logo { font-size: 20px; gap: 7px; }
  .logo-mark { width: 30px; height: 30px; border-radius: 9px; }
  .userbox { gap: 4px; margin-left: auto; }
  .userbox .btn { padding: 7px 11px; font-size: 13px; white-space: nowrap; }
  .userbox .ghost { padding: 7px 8px; }
  .userbox .pts { font-size: 11.5px; padding: 3px 7px; }
  .mainnav { margin: 0 -6px; }
  .mainnav button { padding: 8px 12px; font-size: 14px; }
  /* 검색 조건: 반경 칸과 내 위치 버튼을 위아래로 */
  .pgroup .row2 { grid-template-columns: 1fr; }
  .pgroup .row2 .btn { white-space: nowrap; }
  /* 상세: 메뉴 5개가 한 줄에, 시설은 한 칸씩 */
  .subnav { gap: 0; }
  .subnav button { padding: 8px 9px; font-size: 13.5px; }
  .facgrid { grid-template-columns: 1fr; gap: 10px; }
  .facitem { white-space: nowrap; }
  .demo { font-size: 12px; }
}
/* 더 작은 폰(360px 이하, 320px 이하)에서도 헤더가 한 줄이 되도록 단계적으로 줄인다 */
@media (max-width: 380px) {
  .logo { font-size: 18px; gap: 6px; }
  .logo-mark { width: 26px; height: 26px; border-radius: 8px; }
  .userbox { gap: 3px; }
  .userbox .btn { padding: 6px 9px; font-size: 12.5px; }
  .userbox .ghost { padding: 6px 6px; }
}
@media (max-width: 340px) {
  .logo { font-size: 17px; }
  .userbox .btn { padding: 6px 7px; font-size: 12px; }
  .userbox .ghost { padding: 6px 5px; }
  .userbox .pts { font-size: 11px; padding: 2px 6px; }
}
.dbadge { white-space: nowrap; }
@media (max-width: 340px) { .dlead { display: none; } .dbadge { font-size: 12.5px; padding: 5px 9px; } }

/* 잠긴 비교·추천 메뉴 안내 말풍선 */
.navtip { position: fixed; z-index: 1000; background: var(--ink, #191f28); color: #fff; font-size: 13px; font-weight: 600; line-height: 1.4; padding: 8px 12px; border-radius: 10px; pointer-events: none; max-width: calc(100vw - 16px); white-space: nowrap; }
.navtip[hidden] { display: none; }
.navtip::before { content: ''; position: absolute; top: -5px; left: 50%; margin-left: -5px; border: 5px solid transparent; border-top: 0; border-bottom-color: var(--ink, #191f28); }
