/* 화면별 모양 */

/* ---------- 춘봄이 지도 ---------- */
.cm { width: 100%; height: auto; aspect-ratio: 1000 / 993; touch-action: manipulation; user-select: none; -webkit-user-select: none; }
.cm-base path { fill: #FFFFFF; }
.cm-overlay path { fill: #FFFFFF; transition: fill-opacity .6s ease; }
.cm-borders path { fill: none; stroke: #2394BF; stroke-width: 2.4; stroke-linejoin: round; vector-effect: non-scaling-stroke; opacity: .75; }
.cm-labels text { font-size: 22px; font-weight: 800; fill: #16384B; text-anchor: middle; dominant-baseline: middle; paint-order: stroke; stroke: rgba(255,255,255,.9); stroke-width: 5px; pointer-events: none; }
.cm-labels text.is-dong { display: none; font-size: 9px; stroke-width: 2.5px; }
.cm.is-zoomed .cm-labels text.is-dong { display: inline; }
.cm.is-zoomed .cm-labels text:not(.is-dong) { display: none; }
.cm-hit path { fill: transparent; stroke: none; cursor: pointer; -webkit-tap-highlight-color: transparent; outline: none; }
.cm-hit path:hover { fill: rgba(35, 148, 191, .06); }
.cm-hit path:focus-visible { fill: rgba(35, 148, 191, .12); }
.cm-selected { fill: none; stroke: #086B91; stroke-width: 4.5; stroke-linejoin: round; vector-effect: non-scaling-stroke; pointer-events: none; filter: drop-shadow(0 0 3px rgba(255,255,255,.95)); }

.map-card { padding: var(--sp-5) var(--sp-3) var(--sp-4); }
.map-card .map-box { margin-left: calc(var(--sp-1) * -1); margin-right: calc(var(--sp-1) * -1); }
.map-card__head { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--sp-2); padding: 0 var(--sp-1); }
.map-box { position: relative; margin-top: var(--sp-3); border-radius: var(--r-md); background: linear-gradient(180deg, #F3FBFF, #FFFFFF); overflow: hidden; }
.map-box .state { min-height: 280px; display: grid; place-content: center; }
.map-tools { position: absolute; right: 8px; top: 8px; display: flex; gap: 6px; }
.map-tools .btn { min-height: 36px; padding: 0 12px; font-size: var(--fs-xs); box-shadow: var(--shadow-card); }
.legend-box { margin-top: var(--sp-3); }
.legend__title { margin: 0 0 8px; text-align: center; font-size: 13px; color: var(--c-muted); }
.legend__title b { display: block; color: var(--c-text); font-size: 14px; }
.legend__title span { display: block; }
/* 4칸 고정 격자: 숫자 길이가 달라도 칸이 같고, 왼쪽 → 오른쪽으로 진해진다 */
.legend { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.legend li { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 0; }
.legend__pct { font-size: 13px; font-weight: 800; color: var(--c-text); font-variant-numeric: tabular-nums; white-space: nowrap; }
.legend__note { margin: 6px 0 0; text-align: center; font-size: 12px; color: var(--c-muted); }
.legend img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; background: #fff; box-shadow: 0 0 0 1.5px var(--c-line); }

.region-panel { margin-top: var(--sp-3); padding: var(--sp-4); border-radius: var(--r-md); background: var(--c-sky); }
.region-panel__row { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); }
.region-panel__name { margin: 0; font-size: var(--fs-lg); font-weight: 800; }
.region-panel__meta { margin-top: 2px; font-size: var(--fs-xs); color: var(--c-muted); }
.region-panel .meter { margin-top: var(--sp-3); height: 8px; background: #fff; }
.region-panel--hint { text-align: center; color: var(--c-muted); font-size: var(--fs-sm); }

.cta-card { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); margin-top: var(--sp-4); }
.cta-card h3 { margin: 0; font-size: var(--fs-md); font-weight: 800; }
.cta-card p { margin: 2px 0 0; font-size: var(--fs-xs); color: var(--c-muted); }
.cta-card .btn { flex: none; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-2); margin-top: var(--sp-4); }
.stat { padding: var(--sp-3); border-radius: var(--r-md); background: var(--c-white); box-shadow: var(--shadow-card); text-align: center; }
.stat b { display: block; font-size: var(--fs-xl); color: var(--c-deep); line-height: 1.2; }
.stat span { font-size: 11px; color: var(--c-muted); }

/* ---------- 개발용 4단계 비교 ---------- */
.dev-banner { margin-bottom: var(--sp-4); padding: var(--sp-3) var(--sp-4); border-radius: var(--r-md); background: #FFF4D6; color: #6E5000; font-size: var(--fs-sm); font-weight: 700; }
.stage-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-3); }
.stage-cell { padding: var(--sp-2); border-radius: var(--r-md); background: var(--c-white); box-shadow: var(--shadow-card); text-align: center; }
.stage-cell b { display: block; font-size: var(--fs-sm); }
.stage-cell span { font-size: 11px; color: var(--c-muted); }

/* ---------- 지역 상세 ---------- */
.region-hero { display: grid; grid-template-columns: 1fr 120px; gap: var(--sp-3); align-items: center; }
.region-hero .big { font-size: 40px; font-weight: 800; color: var(--c-deep); line-height: 1; }
.region-mini { border-radius: var(--r-md); background: #F3FBFF; overflow: hidden; }

/* ---------- 탐색 ---------- */
.search { position: relative; }
.search .input { padding-left: 44px; border-radius: var(--r-pill); }
.search::before { content: "🔍"; position: absolute; left: 16px; top: 50%; transform: translateY(-50%); font-size: 16px; }

/* ---------- 장소 상세 ---------- */
.place-hero { position: relative; margin: 0 calc(var(--sp-5) * -1); aspect-ratio: 4 / 3; background: var(--c-sky); overflow: hidden; }
.place-hero img, .place-hero svg { width: 100%; height: 100%; object-fit: cover; }
.place-hero__back { position: absolute; left: var(--sp-4); top: calc(var(--sp-4) + env(safe-area-inset-top)); width: var(--tap); height: var(--tap); border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.92); font-weight: 800; box-shadow: var(--shadow-card); }
.place-body { position: relative; margin-top: -24px; padding: var(--sp-6) var(--sp-5); border-radius: 24px 24px 0 0; background: var(--c-bg); margin-left: calc(var(--sp-5) * -1); margin-right: calc(var(--sp-5) * -1); }
.place-body h2 { margin: var(--sp-2) 0 4px; font-size: var(--fs-xl); line-height: 1.3; font-weight: 800; }
.place-meta { font-size: var(--fs-xs); color: var(--c-muted); display: flex; flex-wrap: wrap; gap: 4px 12px; }
.place-text { margin: var(--sp-4) 0; white-space: pre-wrap; line-height: 1.7; }
/* 상세 버튼: 모바일 2열 고정. #like-wrap 은 다시 그리기용 껍데기라 칸을 차지하지 않게 한다 */
.place-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.place-actions > #like-wrap { display: contents; }
.place-actions .btn { width: 100%; min-width: 0; justify-content: center; gap: 0 6px; padding: 6px 10px;
  white-space: normal; flex-wrap: wrap; text-align: center; line-height: 1.25; }   /* 숫자가 커지면(999+) 숫자만 다음 줄로 */
.place-actions .btn b { white-space: nowrap; font-variant-numeric: tabular-nums; }
.comment { padding: var(--sp-3) 0; border-bottom: 1px solid var(--c-line); font-size: var(--fs-sm); }
.comment b { font-size: var(--fs-xs); color: var(--c-deep); }

/* ---------- 글쓰기 ---------- */
.dropzone { display: grid; place-items: center; gap: 4px; min-height: 160px; border: 2px dashed #A9D7EA; border-radius: var(--r-lg); background: var(--c-sky); color: var(--c-deep); text-align: center; font-weight: 800; }
.dropzone small { font-weight: 500; color: var(--c-muted); font-size: var(--fs-xs); }
.dropzone .plus { font-size: 36px; line-height: 1; color: var(--c-primary); }
.fake-map { display: grid; place-items: center; min-height: 160px; border-radius: var(--r-lg); background: repeating-linear-gradient(45deg, #EAF6FB 0 12px, #F4FAFD 12px 24px); color: var(--c-muted); font-size: var(--fs-sm); }

/* ---------- 가입 ---------- */
.join-art { display: grid; grid-template-columns: 96px 1fr; gap: var(--sp-4); align-items: center; }
.join-art img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; box-shadow: var(--shadow-card); background: var(--c-sky); }

/* ---------- 내 정보 ---------- */
.profile { display: flex; align-items: center; gap: var(--sp-4); }
.avatar { flex: none; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--c-sky); color: var(--c-deep); font-size: var(--fs-xl); font-weight: 800; }
.profile h2 { margin: 0; font-size: var(--fs-lg); font-weight: 800; }
.profile p { margin: 2px 0 0; font-size: var(--fs-xs); color: var(--c-muted); }
.notice { margin-top: var(--sp-4); padding: var(--sp-3) var(--sp-4); border-radius: var(--r-md); background: #F0F5F8; font-size: var(--fs-xs); color: var(--c-muted); line-height: 1.6; }

/* ---------- 오류 화면 ---------- */
.error-page { text-align: center; padding: 80px var(--sp-5); }
.error-page .code { font-size: 56px; font-weight: 800; color: var(--c-primary); }

/* 장소 검색 (카카오) */
.place-search{display:flex;gap:8px;margin-bottom:8px}
.place-search .input{flex:1;min-width:0}
.place-results{border:1.5px solid var(--c-line);border-radius:16px;margin-bottom:8px;max-height:240px;overflow:auto;background:#fff}
.place-results button{display:block;width:100%;text-align:left;padding:10px 14px;min-height:var(--tap);border:0;border-bottom:1px solid var(--c-line);background:none;font:inherit;color:inherit}
.place-results button:last-of-type{border-bottom:0}
.place-results small{display:block;color:var(--c-muted)}
.place-results .src{padding:6px 14px;font-size:12px;color:var(--c-muted);background:var(--c-bg)}
.pick-tools{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:4px}
.map-links{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}

/* 역대 최고의 명소: 한 장이 화면 대부분, 좌우 스와이프 (CSS scroll-snap) */
.hall-track { display: grid; grid-auto-flow: column; grid-auto-columns: 88%; gap: var(--sp-3); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; overscroll-behavior-x: contain; }
.hall-card { scroll-snap-align: center; background: var(--c-white); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-card); min-width: 0; }
.hall-card__media { display: block; aspect-ratio: 4 / 5; background: var(--c-sky); }
.hall-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hall-card__body { padding: var(--sp-4); display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.hall-card__body h3 { margin: 0; font-size: var(--fs-lg, 20px); overflow-wrap: anywhere; }
.hall-card__body p { margin: 0; font-size: var(--fs-sm); color: var(--c-muted); overflow-wrap: anywhere; }

/* 발표용 시연 모드 */
.demo-bar { display: flex; justify-content: flex-end; margin-top: 4px; }
.demo-banner { position: absolute; left: 8px; top: 8px; margin: 0; padding: 4px 10px; border-radius: 999px; background: #FFF4D6; color: #8A5A00; font-size: var(--fs-xs); font-weight: 800; box-shadow: var(--shadow-card); }
.map-card.is-demo .map-box { outline: 2px dashed #E0A800; outline-offset: 2px; border-radius: var(--r-lg); }
.demo-panel { display: grid; gap: var(--sp-2); margin-top: var(--sp-2); padding: var(--sp-3); border-radius: var(--r-md); background: #FFFBEF; border: 1.5px solid #F3DFA6; }
.demo-row { display: flex; align-items: center; gap: var(--sp-2); min-width: 0; }
.demo-row .select { flex: 1; min-width: 0; }
.demo-row input[type=range] { flex: 1; min-width: 0; height: var(--tap); accent-color: var(--c-primary); }
.demo-value { min-width: 3.2em; text-align: right; }
.demo-actions { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-2); }

/* 장소 상세 ··· 메뉴와 신고 창 */
.place-hero__more { position: absolute; right: var(--sp-4); top: calc(var(--sp-4) + env(safe-area-inset-top)); width: var(--tap); height: var(--tap); border: 0; border-radius: 50%; background: rgba(255,255,255,.92); font-weight: 800; box-shadow: var(--shadow-card); color: var(--c-text); }
.more-menu { position: absolute; right: var(--sp-4); top: calc(var(--sp-4) + var(--tap) + 6px); z-index: 5; min-width: 160px; background: var(--c-white); border-radius: var(--r-md); box-shadow: var(--shadow-float); padding: 6px; display: grid; }
.more-menu button { min-height: var(--tap); border: 0; background: none; text-align: left; padding: 0 12px; border-radius: 10px; font: inherit; font-weight: 700; color: var(--c-text); }
.more-menu button:hover, .more-menu button:focus-visible { background: var(--c-sky); }
.more-menu .is-danger { color: var(--c-danger); }
.report-dlg { width: min(400px, calc(100% - 24px)); max-height: calc(100dvh - 24px); overflow: auto; }
.report-reason { display: flex; align-items: center; gap: 8px; min-height: var(--tap); padding: 0 12px; margin-top: 6px; border: 1.5px solid var(--c-line); border-radius: 12px; font-size: var(--fs-sm); }
.report-reason:has(input:checked) { border-color: var(--c-primary); background: var(--c-sky); }

/* 관리자 */
.admin-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin: 12px 0; }
.admin-report { margin-bottom: var(--sp-3); display: grid; gap: 6px; min-width: 0; }
.admin-report h3 { margin: 0; font-size: var(--fs-md); overflow-wrap: anywhere; }
.admin-report p { margin: 0; font-size: var(--fs-sm); overflow-wrap: anywhere; }
.admin-report__head { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.admin-report__desc { background: var(--c-bg); border-radius: 10px; padding: 8px 10px; }
.admin-report__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.admin-log { margin: 0; padding-left: 18px; font-size: var(--fs-xs); color: var(--c-muted); display: grid; gap: 4px; overflow-wrap: anywhere; }

/* 내 정보: 이번 달 나의 춘천채움 */
.season-card { display: grid; gap: var(--sp-2); margin-top: var(--sp-4); min-width: 0; }
.season-card__head { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.season-card__head h3 { margin: 0; font-size: var(--fs-md); }
.season-card__sub { margin: var(--sp-2) 0 0; font-size: var(--fs-sm); }
.season-stats { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-2); }
.season-stats > div { background: var(--c-sky); border-radius: 12px; padding: 10px; display: grid; gap: 2px; min-width: 0; }
.season-stats b { font-size: var(--fs-lg, 20px); color: var(--c-primary-dark, #086B91); }
.season-stats span { font-size: var(--fs-xs); color: var(--c-muted); overflow-wrap: anywhere; }
.cand-list { display: grid; gap: 8px; }
.cand { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 10px; align-items: center; padding: 6px; border-radius: 12px; border: 1.5px solid var(--c-line); }
.cand img { width: 56px; height: 56px; object-fit: cover; border-radius: 10px; background: var(--c-sky); }
.cand__body { display: grid; gap: 2px; min-width: 0; }
.cand__body b { overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cand__body small { color: var(--c-muted); overflow-wrap: anywhere; }
.award-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: var(--fs-sm); }
.award-list a { display: block; padding: 10px 12px; border-radius: 12px; background: #FFF4D6; overflow-wrap: anywhere; }

/* 글쓰기 임시 저장 상태 (FEATURE 05) */
.draft-status { margin: 0; min-height: 1.2em; text-align: center; font-size: 12px; color: var(--c-muted); }
.draft-status[data-state="error"] { color: var(--c-danger); }

/* 지역 인기 TOP 3 (FEATURE 06) */
.top-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.top-card .place-card__media { position: relative; }
.top-card__rank { position: absolute; left: 6px; top: 6px; font-size: 22px; line-height: 1; filter: drop-shadow(0 1px 2px rgba(0,0,0,.25)); }

/* 글쓰기 가이드·미리보기·방문 팁 (FEATURE 07) */
.place-text, .visit-tips dd, .preview-dlg h2 { overflow-wrap: anywhere; word-break: break-word; }
.tip-guide { border: 1.5px dashed var(--c-line); border-radius: 18px; padding: 10px 14px; }
.tip-guide summary { cursor: pointer; font-weight: 800; padding: 4px 0; }
.tip-guide[open] summary { margin-bottom: 6px; }
.tip-guide .field { margin-top: 10px; }
.textarea--short { min-height: 64px; }
.visit-tips { background: var(--c-sky); border-radius: 16px; padding: 12px 14px; margin: 0 0 var(--sp-4); }
.visit-tips h4 { margin: 0 0 6px; font-size: 14px; }
.visit-tips dl { margin: 0; display: grid; gap: 6px; }
.visit-tips dt { font-size: 12px; font-weight: 800; color: var(--c-muted); }
.visit-tips dd { margin: 0; white-space: pre-wrap; line-height: 1.6; }
.preview-dlg { width: min(440px, calc(100vw - 24px)); max-height: calc(100dvh - 32px); overflow: auto; border: 0; border-radius: 24px; padding: 16px; box-sizing: border-box; }
.preview-dlg::backdrop { background: rgba(20, 40, 60, .45); }
.preview-dlg img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 16px; display: block; }
.preview-dlg h2 { margin: 12px 0 6px; font-size: 20px; }
.preview-dlg__actions { position: sticky; bottom: -16px; background: #fff; padding: 12px 0 4px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* 내 취향의 춘천 (BONUS 01) */
.taste-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.taste-head .card__title { margin: 0; }
.taste-why { list-style: none; margin: 4px 0 0; padding: 0; font-size: 12px; color: var(--c-primary-dark, var(--c-primary)); line-height: 1.5; }
.taste-entry { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; }
.taste-entry p { margin: 2px 0 0; font-size: 13px; color: var(--c-muted); }

/* 나의 채움 도감 (BONUS 03) */
.dex-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 8px; }
.dex-stats > div { background: var(--c-sky); border-radius: 16px; padding: 12px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.dex-stats b { font-size: 26px; line-height: 1.1; color: var(--c-primary); }
.dex-stats b small { font-size: 14px; color: var(--c-muted); }
.dex-stats span { font-size: 13px; color: var(--c-muted); }
.dex-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.dex-card { display: flex; flex-direction: column; gap: 4px; min-width: 0; min-height: 64px; padding: 12px; border-radius: 16px; border: 1.5px dashed var(--c-line); color: var(--c-muted); text-decoration: none; }
.dex-card.is-on { border: 1.5px solid var(--c-primary); background: #fff; color: inherit; }
.dex-card[aria-current="true"] { background: var(--c-sky); }
.dex-card__name { font-weight: 800; overflow-wrap: anywhere; }
.dex-card.is-on .dex-card__count { color: var(--c-primary); font-weight: 700; font-size: 13px; }
.dex-card__count { font-size: 12px; }
.dex-region { margin-top: 8px; }
@media (min-width: 600px) { .dex-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* 나만의 코스 (BONUS 04) */
.me-links { display: grid; gap: 10px; }
.course-list, .pick-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.course-card { display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: inherit; min-width: 0; }
.course-card b { overflow-wrap: anywhere; }
.course-card span { font-size: 13px; color: var(--c-muted); }
.course-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.course-order { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 8px; }
.course-item { display: grid; grid-template-columns: 28px 56px minmax(0, 1fr); grid-template-areas: "no img body" "tools tools tools"; gap: 6px 10px; align-items: center;
  background: #fff; border: 1.5px solid var(--c-line); border-radius: 16px; padding: 10px; }
.course-item__no { grid-area: no; width: 28px; height: 28px; border-radius: 50%; background: var(--c-primary); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 14px; }
.course-item > img, .course-item__ph { grid-area: img; width: 56px; height: 56px; border-radius: 12px; object-fit: cover; display: grid; place-items: center; background: var(--c-sky); }
.course-item__body { grid-area: body; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.course-item__body b { overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.course-item__body small { font-size: 12px; color: var(--c-muted); }
.course-item__tools { grid-area: tools; display: flex; justify-content: flex-end; gap: 8px; }
.course-item.is-gone { border-style: dashed; }
.course-item.is-gone .course-item__body b { color: var(--c-muted); }
.btn--icon { min-width: 44px; min-height: 44px; padding: 0; font-size: 18px; }
.course-empty { padding: 18px; text-align: center; color: var(--c-muted); border: 1.5px dashed var(--c-line); border-radius: 16px; }
.course-map { height: 240px; border-radius: 18px; overflow: hidden; border: 1.5px solid var(--c-line); background: var(--c-sky); }
.course-pin { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--c-primary); color: #fff; font-weight: 800; border: 2px solid #fff; box-shadow: 0 2px 6px rgba(0,0,0,.3); }
.course-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pick-list li { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 10px; align-items: center; }
.pick-list img { width: 48px; height: 48px; border-radius: 10px; object-fit: cover; }
.pick-list div { min-width: 0; display: flex; flex-direction: column; }
.pick-list b { overflow-wrap: anywhere; font-size: 14px; }
.pick-list small { font-size: 12px; color: var(--c-muted); }

/* 비슷한 장소 바텀시트 (BONUS 05) */
.sheet { position: fixed; inset: auto 0 0 0; margin: 0 auto; width: 100%; max-width: 480px; max-height: min(78dvh, 640px); overflow: auto;
  border: 0; border-radius: 24px 24px 0 0; padding: 10px 16px calc(16px + env(safe-area-inset-bottom)); box-sizing: border-box; }
.sheet::backdrop { background: rgba(20, 40, 60, .45); }
.sheet__grip { width: 44px; height: 5px; border-radius: 3px; background: var(--c-line); margin: 0 auto 10px; }
.sheet h3 { margin: 0 0 4px; }
.similar-list { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 10px; }
.similar-item { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 6px 10px; align-items: center; border: 1.5px solid var(--c-line); border-radius: 16px; padding: 10px; }
.similar-item img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; grid-row: span 2; }
.similar-item > div { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.similar-item b { overflow-wrap: anywhere; }
.similar-item small { font-size: 12px; color: var(--c-muted); overflow-wrap: anywhere; }
.similar-item__why { font-size: 12px; font-weight: 700; color: var(--c-primary); }
.similar-item .btn { justify-self: start; }
@media (max-width: 340px) { .legend { gap: 2px; } .legend__pct { font-size: 12px; letter-spacing: -0.2px; } }

/* 명소 탭 시연용 예시 랭킹 안내 (DEMO_MODE=1 일 때만) */
.hall-demo-note { margin: 0 0 10px; padding: 8px 12px; border-radius: 14px; background: #FFF4D6; color: #8A5A00; font-size: 13px; font-weight: 800; line-height: 1.45; }
