:root {
	/* 지수판(2026-09-30c): 흰 바탕과 가는 선, 그림자 없는 평면. 색은 가격대 3색에만 쓰고 가격은 고정폭 숫자로 쓴다. */
	--aa-bg: #f3f4f6;
	--aa-surface: #ffffff;
	--aa-ink: #14161a;
	--aa-sub: #5a616e;
	--aa-line: #dde0e6;
	--aa-line-2: #c3c8d1;
	--aa-hover: #f6f7f9;
	--aa-t1: #0d7a4e; /* ≤2,000 — 초록 */
	--aa-t2: #2356c5; /* ≤3,500 — 파랑 */
	--aa-t3: #6c44c8; /* 초과 — 보라 (구분용, 경고색 배제) */
	--aa-t0: #6b727a; /* 미확인·비공개 */
	--aa-t1-soft: #e2f2ea;
	--aa-t2-soft: #e6edfa;
	--aa-t3-soft: #efe9fa;
	--aa-accent: #14161a;
	--aa-accent-deep: #000000;
	--aa-radius: 8px;
	--aa-r-sm: 5px;
	--aa-shadow-sm: none;
	--aa-shadow-md: 0 10px 30px rgba(20, 22, 26, .14), 0 1px 3px rgba(20, 22, 26, .08);
	--aa-mono: "IBM Plex Mono", "Pretendard Variable", "Pretendard", "Apple SD Gothic Neo", sans-serif; /* 숫자·영문은 고정폭, 한글은 본문 글꼴 */
	--aa-top-h: 56px;
	--aa-ticker-h: 30px;
	--aa-dock-w: 320px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
	font-family: "Pretendard Variable", "Pretendard", "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
	background: var(--aa-bg);
	color: var(--aa-ink);
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}
a { color: var(--aa-accent); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--aa-accent-deep); text-decoration: underline; text-underline-offset: 3px; }
.aa-num { font-variant-numeric: tabular-nums; }
:focus-visible { outline: 2px solid var(--aa-accent); outline-offset: 2px; border-radius: 4px; }

button { font-family: inherit; }

/* ---------- 상단바 ---------- */
.aa-topbar {
	display: flex; align-items: center; justify-content: space-between; gap: 12px;
	padding: 12px 20px;
	background: var(--aa-bg);
	border-bottom: 1px solid var(--aa-line);
	position: sticky; top: 0; z-index: 1100;
}
.aa-brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 19px; color: var(--aa-ink); letter-spacing: -.01em; }
.aa-brand:hover { text-decoration: none; color: var(--aa-accent); }
.aa-logo { flex: 0 0 auto; display: block; transform: translateY(-1px); } /* 컵 아트가 하단 무게라 시각 중앙 보정 */
.aa-nav { display: flex; gap: 4px; flex-wrap: wrap; }
.aa-nav a {
	font-size: 14px; font-weight: 600; color: var(--aa-ink);
	padding: 6px 12px; border-radius: 999px; transition: background .15s ease;
}
.aa-nav a:hover { background: var(--aa-hover); text-decoration: none; }
.aa-nav .aa-nav-cta { background: var(--aa-accent); color: #fff; }
.aa-nav .aa-nav-cta:hover { background: var(--aa-accent-deep); color: #fff; }

/* 햄버거 (태블릿·모바일) */
.aa-nav-toggle {
	display: none; flex-direction: column; justify-content: center; gap: 5px;
	width: 44px; height: 44px; padding: 10px;
	background: transparent; border: 0; border-radius: 10px; cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}
.aa-nav-toggle span {
	display: block; height: 2.5px; border-radius: 2px; background: var(--aa-ink);
	transition: transform .2s ease, opacity .15s ease;
}
.nav-open .aa-nav-toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-open .aa-nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .aa-nav-toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 1024px) {
	.aa-nav-toggle { display: flex; }
	.aa-nav {
		display: flex; position: absolute; top: calc(100% + 6px); right: 10px;
		flex-direction: column; gap: 2px; min-width: 200px;
		background: var(--aa-surface); border: 1px solid var(--aa-line); border-radius: 14px;
		padding: 8px; box-shadow: var(--aa-shadow-md);
		/* 열림/닫힘 모두 부드럽게: display 토글 대신 opacity+transform, 닫힘엔 visibility 지연 */
		opacity: 0; visibility: hidden; pointer-events: none;
		transform: translateY(-8px) scale(.97);
		transform-origin: top right;
		transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
	}
	.nav-open .aa-nav {
		opacity: 1; visibility: visible; pointer-events: auto;
		transform: translateY(0) scale(1);
		transition: opacity .18s ease, transform .18s ease, visibility 0s;
	}
	.aa-nav a { padding: 11px 14px; border-radius: 10px; font-size: 15px; }
	.aa-nav .aa-nav-cta { margin-top: 4px; text-align: center; }
}

/* ---------- 지도 레이아웃 ---------- */
body.home { overflow: hidden; } /* 지도 페이지: 페이지 스크롤 제거 (지도 확대/이동은 그대로) */
.aa-map-wrap { position: relative; height: calc(100dvh - 57px); }
#aa-map { position: absolute; inset: 0; z-index: 1; }
.aa-panel {
	position: absolute; top: 16px; left: 16px; z-index: 1000;
	width: 300px; max-height: calc(100% - 32px); overflow-y: auto;
	border: 1px solid rgba(236, 229, 218, .9); border-radius: var(--aa-radius);
	padding: 20px; box-shadow: var(--aa-shadow-md);
	scrollbar-width: thin;
}
.aa-panel h1 { margin: 0; font-size: 23px; letter-spacing: -.02em; }
.aa-panel h2 { font-size: 12px; margin: 18px 0 8px; color: var(--aa-sub); text-transform: uppercase; letter-spacing: .06em; }
.aa-sub { margin: 4px 0 0; font-size: 13.5px; color: var(--aa-sub); }
.aa-mini-rank { margin: 0; padding-left: 20px; font-size: 14px; }
.aa-mini-rank li { margin: 6px 0; }
.aa-mini-rank .aa-num { float: right; font-weight: 700; }
.aa-panel-toggle { display: none; } /* 데스크톱에선 항상 펼침 */

@media (max-width: 640px) {
	.aa-topbar { padding: 6px 10px; gap: 8px; }
	.aa-brand { font-size: 15.5px; gap: 6px; white-space: nowrap; flex-shrink: 0; }
	.aa-brand .aa-logo { width: 22px; height: 22px; }
	.aa-map-wrap { height: calc(100dvh - 46px); }
	.aa-panel .aa-sub { display: none; } /* 모바일: 태그라인 숨겨 공간 절약 */
	.aa-panel {
		width: auto; left: 10px; right: 10px; top: auto; bottom: 10px; max-height: 54%;
		border-radius: 18px 18px 14px 14px;

		padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px));
		transition: transform .3s cubic-bezier(.4, 0, .2, 1);
		will-change: transform;
	}
	.aa-panel h1 { font-size: 18.5px; }
	.aa-panel h2 { margin: 11px 0 6px; }
	/* 접힘: 핸들+제목 한 줄만 남기고 아래로 슬라이드 */
	.aa-panel.is-collapsed {
		transform: translateY(calc(100% - 116px));
		overflow: hidden;
	}
	.aa-panel-toggle {
		display: flex; align-items: center; justify-content: center;
		position: sticky; top: -20px; /* 패널 패딩을 파고들어 시각적 최상단 고정 */
		width: calc(100% + 40px); margin: -20px -20px 2px; height: 30px;
		background: inherit; border: 0; cursor: pointer; z-index: 2;
		border-radius: 18px 18px 0 0;
		-webkit-tap-highlight-color: transparent;
	}
	.aa-panel-grip {
		width: 44px; height: 5px; border-radius: 3px; background: var(--aa-line-2);
		transition: background .15s ease;
	}
	.aa-panel-toggle:active .aa-panel-grip { background: var(--aa-sub); }
}

/* ---------- 가격 마커 (지도 divIcon/CustomOverlay) ---------- */
.aa-pin { background: transparent; border: 0; }
.aa-pin span {
	display: inline-block; padding: 4px 9px; border-radius: 999px;
	font-size: 12px; font-weight: 800; color: #fff; white-space: nowrap;
	box-shadow: 0 2px 8px rgba(0, 0, 0, .22); border: 2px solid #fff;
	font-variant-numeric: tabular-nums;
	transition: transform .12s ease;
}
.aa-pin:hover span { transform: scale(1.12); }
.aa-pin.aa-t0 span { background: #9aa0a6; } /* 미수집 — 회색 */
.aa-pin.aa-t1 span { background: var(--aa-t1); }
.aa-pin.aa-t2 span { background: var(--aa-t2); }
.aa-pin.aa-t3 span { background: var(--aa-t3); }

/* ---------- 팝업 카드 ---------- */
.aa-popup { font-size: 13px; min-width: 200px; }
.aa-popup h3 { margin: 0 0 4px; font-size: 15px; letter-spacing: -.01em; }
.aa-popup .aa-popup-price { font-size: 19px; font-weight: 800; }
.aa-popup .aa-popup-meta { color: var(--aa-sub); margin: 3px 0; font-size: 12.5px; }
.aa-popup ul { margin: 8px 0; padding-left: 16px; }
.aa-popup li { margin: 2px 0; overflow-wrap: anywhere; }
.aa-popup .aa-popup-actions { margin-top: 10px; display: flex; gap: 10px; align-items: center; }
.aa-popup .aa-popup-actions a, .aa-popup .aa-collect-btn { font-size: 12px; }

.aa-popup-card {
	background: var(--aa-surface); border: 1px solid var(--aa-line); border-radius: 14px;
	padding: 14px 16px; box-shadow: var(--aa-shadow-md);
	position: relative; max-width: 270px;
}
.aa-popup-close {
	position: absolute; top: 8px; right: 10px; border: 0; background: none;
	font-size: 18px; line-height: 1; color: var(--aa-sub); cursor: pointer;
}
.aa-popup-close:hover { color: var(--aa-ink); }

/* ---------- 필터 칩 ---------- */
.aa-filters h2 { margin-top: 14px; }
.aa-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.aa-chip {
	border: 1px solid var(--aa-line); background: var(--aa-surface); border-radius: 999px;
	padding: 5px 12px; font-size: 12.5px; font-weight: 600; cursor: pointer; color: var(--aa-ink);
	transition: all .15s ease;
}
.aa-chip:hover { border-color: var(--aa-accent); color: var(--aa-accent); }
.aa-chip.is-on { background: var(--aa-accent); border-color: var(--aa-accent); color: #fff; }
.aa-filter-count { font-size: 12.5px; color: var(--aa-t1); font-weight: 700; margin: 10px 0 0; }
.aa-admin-map-tools {
	margin: 14px -8px 2px;
	padding: 12px 8px 2px;
	border-top: 1px dashed var(--aa-line-2);
}
.aa-admin-map-tools h2 { margin-top: 0; color: #9f1239; }
.aa-admin-map-tools .aa-chip.is-on { border-color: #be123c; background: #fff1f2; color: #9f1239; }
.aa-admin-map-tools .aa-chip b { font-size: 10px; }
.aa-admin-dashboard-link {
	display: inline-flex; align-items: center; margin-top: 8px; padding: 6px 10px;
	border-radius: 8px; background: #1d2327; color: #fff; font-size: 12px; font-weight: 700;
	text-decoration: none;
}
.aa-admin-dashboard-link:hover { background: #3c434a; color: #fff; }

/* ---------- 본문 컨테이너 ---------- */
.aa-container { max-width: 760px; margin: 0 auto; padding: 36px 20px 72px; }
.aa-container h1 { font-size: 28px; letter-spacing: -.02em; margin: 8px 0 6px; }
.aa-container h2 {
	font-size: 19px; margin: 36px 0 12px; padding-left: 12px;
	border-left: 4px solid var(--aa-accent); letter-spacing: -.01em;
}
.aa-container p, .aa-container li { font-size: 15px; }
.aa-container ul { padding-left: 22px; }
.aa-container li { margin: 6px 0; }
.aa-crumb { font-size: 13px; margin-bottom: 4px; }
.aa-region { color: var(--aa-sub); margin-top: -2px; }

/* ---------- 가격 히어로 ---------- */
.aa-price-hero {
	border-radius: var(--aa-radius); padding: 22px 24px; margin: 18px 0;
	display: flex; flex-direction: column; gap: 3px; color: #fff;
	box-shadow: var(--aa-shadow-sm);
}
.aa-price-hero.aa-t1 { background: linear-gradient(135deg, var(--aa-t1), #167a42); }
.aa-price-hero.aa-t2 { background: linear-gradient(135deg, var(--aa-t2), #275d9b); }
.aa-price-hero.aa-t3 { background: linear-gradient(135deg, var(--aa-t3), #6a4daa); }
.aa-price-label { font-size: 13px; opacity: .9; }
.aa-price-value { font-size: 34px; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.aa-price-meta { font-size: 12.5px; opacity: .85; }

/* ---------- 정보/표/목록 ---------- */
.aa-info {
	display: grid; grid-template-columns: 96px 1fr; gap: 8px 12px; font-size: 14.5px;
	background: var(--aa-surface); border: 1px solid var(--aa-line); border-radius: var(--aa-radius);
	padding: 18px 20px; box-shadow: var(--aa-shadow-sm);
}
.aa-info dt { color: var(--aa-sub); }
.aa-info dd { margin: 0; }

.aa-menu-table, .aa-index-table {
	width: 100%; border-collapse: separate; border-spacing: 0; font-size: 14.5px;
	background: var(--aa-surface); border: 1px solid var(--aa-line); border-radius: var(--aa-radius);
	overflow: hidden; box-shadow: var(--aa-shadow-sm);
}
.aa-menu-table td, .aa-index-table td, .aa-index-table th {
	padding: 11px 16px; border-bottom: 1px solid var(--aa-line); text-align: left;
}
.aa-menu-table tr:last-child td, .aa-index-table tr:last-child td { border-bottom: 0; }
.aa-menu-table tr:hover td, .aa-index-table tbody tr:hover td { background: var(--aa-hover); }
.aa-menu-table td:last-child, .aa-index-table td.aa-num { text-align: right; font-weight: 700; }
.aa-index-table thead th { color: var(--aa-sub); font-size: 12px; background: var(--aa-hover); text-transform: uppercase; letter-spacing: .04em; }
/* 행 머리글(지역·카페명)은 머리글 톤이 아니라 본문 톤 — 열 하나만 음영지는 현상 방지 */
.aa-index-table tbody th { font-size: 14.5px; font-weight: 700; color: var(--aa-ink); background: transparent; }
/* 표 가로스크롤 래퍼 — 표는 온전한 table로 유지 (display:block 핵은 배경/정렬 깨짐) */
.aa-table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.aa-table-scroll .aa-index-table { min-width: max-content; width: 100%; }

.aa-history { padding-left: 20px; font-size: 14.5px; }
.aa-cafe-list { list-style: none; padding: 0; }
.aa-cafe-list li {
	display: flex; justify-content: space-between; align-items: center; gap: 12px;
	padding: 13px 4px; border-bottom: 1px solid var(--aa-line);
}
.aa-cafe-list li:hover { background: var(--aa-hover); }
.aa-pricetag { font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.aa-pricetag.aa-t1 { color: var(--aa-t1); background: var(--aa-t1-soft); padding: 3px 10px; border-radius: 999px; }
.aa-pricetag.aa-t2 { color: var(--aa-t2); background: var(--aa-t2-soft); padding: 3px 10px; border-radius: 999px; }
.aa-pricetag.aa-t3 { color: var(--aa-t3); background: var(--aa-t3-soft); padding: 3px 10px; border-radius: 999px; }

/* ---------- 폼 (수집 요청 / 문의) ---------- */
.aa-request-box {
	margin-top: 24px; padding: 18px 20px; border: 1px dashed var(--aa-line);
	border-radius: var(--aa-radius); font-size: 13.5px; background: var(--aa-surface);
}
.aa-request-box h2 { margin: 0 0 4px; font-size: 14.5px; border: 0; padding: 0; }
.aa-request-box input[type=text],
.aa-form input[type=text], .aa-form input[type=email], .aa-form textarea {
	width: 100%; padding: 11px 13px; border: 1px solid var(--aa-line); border-radius: 10px;
	margin: 4px 0 12px; font-family: inherit; font-size: 14px; background: #fff;
	transition: border-color .15s ease;
}
.aa-request-box input:focus, .aa-form input:focus, .aa-form textarea:focus {
	border-color: var(--aa-accent); outline: none;
}
.aa-form label { display: block; font-weight: 600; font-size: 13.5px; }
.aa-request-box button, .aa-collect-btn, .aa-form button {
	background: var(--aa-accent); color: #fff; border: 0; border-radius: 10px;
	padding: 10px 18px; font-weight: 700; cursor: pointer; font-size: 14px;
	transition: background .15s ease, transform .1s ease;
}
.aa-request-box button:hover, .aa-collect-btn:hover, .aa-form button:hover { background: var(--aa-accent-deep); }
.aa-request-box button:active, .aa-collect-btn:active, .aa-form button:active { transform: scale(.97); }
.aa-request-box button:disabled, .aa-collect-btn:disabled, .aa-form button:disabled { opacity: .55; cursor: wait; }
.aa-request-msg { color: var(--aa-t1); font-weight: 700; margin-top: 8px; }

/* ---------- 푸터 ---------- */
.aa-footer { border-top: 1px solid var(--aa-line); background: var(--aa-surface); margin-top: 0; }
.aa-footer-inner {
	max-width: 760px; margin: 0 auto; padding: 32px 20px 8px;
	display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.aa-footer-brand strong { font-size: 15px; }
.aa-footer-brand p { font-size: 12.5px; color: var(--aa-sub); margin: 6px 0 0; }
.aa-footer-nav { display: flex; flex-direction: column; gap: 6px; }
.aa-footer-nav a { font-size: 13px; color: var(--aa-ink); }
.aa-footer-copy {
	max-width: 760px; margin: 0 auto; padding: 12px 20px 28px;
	font-size: 11.5px; color: var(--aa-sub);
}
.aa-map-wrap ~ .aa-footer { display: none; } /* 지도 페이지에선 숨김 */
/* ---------- 광고 슬롯 (항상 "광고" 라벨, 남발 금지) ---------- */
.aa-ad {
	position: relative; display: flex; align-items: center; justify-content: center;
	background: var(--aa-bg); border: 1px dashed var(--aa-line-2); border-radius: 12px;
	color: var(--aa-sub); overflow: hidden;
}
.aa-ad-label {
	position: absolute; top: 5px; left: 9px; font-size: 10px; font-weight: 700;
	color: var(--aa-sub); letter-spacing: .08em;
}
.aa-ad-placeholder { font-size: 13px; font-weight: 800; letter-spacing: .2em; }
.aa-ad--leaderboard { width: 728px; height: 90px; max-width: 100%; }
.aa-ad--responsive { width: 100%; min-height: 100px; margin: 28px 0 4px; }
.aa-ad-bar {
	position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
	z-index: 900; max-width: calc(100% - 24px);
	filter: drop-shadow(0 4px 14px rgba(43, 37, 33, .14));
}
@media (max-width: 900px) {
	.aa-ad-bar { display: none; } /* 모바일 지도에선 하단 시트와 충돌 → 지도 광고 미노출 */
}

/* ---------- 팝업 액션 버튼 ---------- */
.aa-popup .aa-popup-actions { margin-top: 12px; gap: 8px; }
.aa-popup .aa-popup-actions a {
	display: inline-block; background: var(--aa-accent); color: #fff;
	padding: 7px 12px; border-radius: 9px; font-weight: 700;
	transition: background .15s ease;
}
.aa-popup .aa-popup-actions a:hover { background: var(--aa-accent-deep); text-decoration: none; }
.aa-popup .aa-collect-btn {
	background: #fff; color: var(--aa-accent); border: 1.5px solid var(--aa-accent);
	padding: 6px 12px; border-radius: 9px;
}
.aa-popup .aa-collect-btn:hover { background: var(--aa-hover); }

/* ---------- 문의 폼 카드 ---------- */
.aa-form {
	background: var(--aa-surface); border: 1px solid var(--aa-line); border-radius: var(--aa-radius);
	padding: 26px 28px; box-shadow: var(--aa-shadow-sm); margin-top: 20px;
}
.aa-form label + label { margin-top: 6px; }
.aa-form button { min-width: 120px; }

/* ---------- 프리미엄(입점 광고) ---------- */
/* 도형을 회전시키지 않고(알약 모양이 뒤틀림) 그라데이션 각도만 애니메이션 →
   테두리 띠는 고정, 밝은 금색 빛이 테두리 선을 따라 흘러간다. */
@property --aa-angle {
	syntax: '<angle>';
	initial-value: 0deg;
	inherits: false;
}
.aa-pin--ad span {
	position: relative; z-index: 1;
	box-shadow: 0 2px 8px rgba(0, 0, 0, .25);
}
.aa-pin--ad span::before {
	content: ''; position: absolute; inset: -6px; border-radius: 999px;
	padding: 4px; pointer-events: none;
	background: conic-gradient(from var(--aa-angle),
		#ffd75e 0deg,
		#fff6d8 40deg,
		#ffd75e 80deg,
		rgba(224, 161, 12, .3) 110deg,
		rgba(224, 161, 12, .3) 360deg);
	-webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
	-webkit-mask-composite: xor;
	mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
	mask-composite: exclude;
	animation: aa-ad-sweep 1.6s linear infinite;
}
@keyframes aa-ad-sweep {
	to { --aa-angle: 360deg; }
}
@media (prefers-reduced-motion: reduce) {
	.aa-pin--ad span::before { animation: none; }
}
.aa-ad-mini {
	font-style: normal; background: #fff; color: #a07d15;
	border-radius: 5px; padding: 0 4px; font-size: 9px; font-weight: 800;
	margin-right: 5px; vertical-align: 1px; letter-spacing: .04em;
}
.aa-popup-adbadge {
	display: inline-block; font-size: 10px; font-weight: 800; letter-spacing: .06em;
	background: #f7ecd2; color: #9c7b1e; padding: 2px 9px; border-radius: 999px;
	margin-bottom: 6px;
}
.aa-promo {
	background: #fbf6ea; border: 1px solid #f0e3c6; border-radius: 10px;
	padding: 9px 11px; font-size: 12.5px; margin: 8px 0; font-weight: 600;
}
.aa-premium-hero {
	background: #fbf6ea; border: 1px solid #f0e3c6; border-radius: var(--aa-radius);
	padding: 14px 18px; margin: 14px 0; font-size: 14.5px; font-weight: 600;
}

/* ---------- 팝업 레이아웃 안정화 ---------- */
.aa-popup-card, .aa-popup, .aa-popup * { white-space: normal; } /* 카카오 오버레이 nowrap 상속 차단 */
.aa-popup { width: 236px; word-break: keep-all; overflow-wrap: anywhere; }
.aa-popup h3 { padding-right: 20px; }
.aa-popup--ad .aa-popup-adbadge { display: inline-block; margin: 0 0 8px; }
.aa-popup-card { width: 284px; }
.aa-promo { word-break: keep-all; overflow-wrap: anywhere; }
.aa-popup img.emoji, .aa-promo img.emoji, .aa-container img.emoji {
	height: 1em !important; width: 1em !important;
	vertical-align: -0.1em; display: inline; border: 0; box-shadow: none;
}

/* ---------- 브랜드 시그니처 컬러 ---------- */
.aa-brand-dot {
	display: inline-block; width: 13px; height: 13px; border-radius: 5px;
	margin-right: 9px; vertical-align: -1.5px;
	border: 1px solid rgba(43, 37, 33, .12);
	box-shadow: inset 0 -2px 3px rgba(0, 0, 0, .08);
}
.aa-brands-table td:first-child { font-weight: 600; }
/* 브랜드 행 틴트가 호버에 덮이지 않게 반투명 호버로 교체 */
.aa-brands-table tbody tr:hover td { background: rgba(43, 37, 33, .04); }

/* ---------- 폼: 셀렉트·체크박스 ---------- */
.aa-form select {
	width: 100%; padding: 11px 13px; border: 1px solid var(--aa-line); border-radius: 10px;
	margin: 4px 0 12px; font-family: inherit; font-size: 14px; background: #fff;
}
.aa-form select:focus { border-color: var(--aa-accent); outline: none; }
.aa-fieldset {
	border: 1px solid var(--aa-line); border-radius: 12px;
	padding: 12px 16px 14px; margin: 4px 0 14px;
}
.aa-fieldset legend { font-weight: 700; font-size: 13.5px; padding: 0 6px; }
.aa-check {
	display: inline-flex !important; align-items: center; gap: 6px;
	font-weight: 500 !important; font-size: 13.5px !important;
	margin: 4px 14px 4px 0;
}
.aa-check input { accent-color: var(--aa-accent); width: 15px; height: 15px; }

/* ---------- 구조화 신청 폼 ---------- */
.aa-form input[type=date], .aa-form input[type=url] {
	width: 100%; padding: 11px 13px; border: 1px solid var(--aa-line); border-radius: 10px;
	margin: 4px 0 12px; font-family: inherit; font-size: 14px; background: #fff;
}
.aa-form input[type=date]:focus, .aa-form input[type=url]:focus { border-color: var(--aa-accent); outline: none; }
.aa-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.aa-form-hint { font-size: 12px; color: var(--aa-sub); margin: -4px 0 4px; }
.aa-sub-field {
	margin: 6px 0 4px 24px; padding: 10px 14px 2px;
	background: var(--aa-hover); border-radius: 10px; border: 1px solid var(--aa-line);
}
.aa-form .aa-fieldset { margin-bottom: 18px; }
@media (max-width: 520px) {
	.aa-form-row { grid-template-columns: 1fr; gap: 0; }
	.aa-sub-field { margin-left: 0; }
}

/* ---------- 기능 데모 (내 가게 홍보) ---------- */
.aa-demo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 14px 0 8px; }
.aa-demo-grid > * { min-width: 0; } /* 그리드 아이템이 내용 폭으로 뷰포트를 밀어내지 않게 */
.aa-demo-grid .aa-demo-card:first-child { grid-column: 1 / -1; } /* ① 마커 데모는 가로 100% */
.aa-demo-card {
	background: var(--aa-surface); border: 1px solid var(--aa-line);
	border-radius: var(--aa-radius); padding: 16px; box-shadow: var(--aa-shadow-sm);
}
.aa-demo-card h3 { font-size: 14px; margin: 0 0 10px; border: 0; padding: 0; }
.aa-demo-card p { font-size: 12.5px; color: var(--aa-sub); margin: 10px 0 0; }
.aa-demo-stage {
	display: flex; flex-direction: column; align-items: center; gap: 10px;
	padding: 18px 8px; background: var(--aa-bg); border-radius: 10px; min-height: 64px;
}
/* 의미 있는 2행: ① 일반→AD 변신 예시 ② 스타일 3종 — 행 안에서만 필요 시 줄바꿈 */
.aa-demo-row { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; }
/* 기간별 스타일 그리드 — 데모 안에서 기간↔마커 매핑을 한눈에 */
.aa-demo-periods {
	display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px 6px;
	width: 100%; margin-top: 4px; padding-top: 14px; border-top: 1px dashed var(--aa-line);
}
.aa-demo-period { display: flex; flex-direction: column; align-items: center; gap: 7px; min-width: 0; }
.aa-demo-period em { font-style: normal; font-size: 11.5px; color: var(--aa-sub); text-align: center; line-height: 1.35; }
.aa-demo-period em b { display: block; color: var(--aa-ink); font-size: 12.5px; }
@media (max-width: 640px) {
	.aa-demo-periods { grid-template-columns: repeat(2, 1fr); }
}
.aa-demo-stage .aa-pin { display: inline-block; }
.aa-demo-arrow { color: var(--aa-sub); font-weight: 800; }
.aa-demo-bubble {
	position: relative; background: #fff; border: 1px solid var(--aa-line);
	border-radius: 12px; padding: 12px 14px 10px; box-shadow: var(--aa-shadow-sm);
	font-size: 13px; margin-bottom: 12px;
}
.aa-demo-bubble::after {
	content: ''; position: absolute; bottom: -8px; left: 26px; width: 14px; height: 14px;
	background: #fff; border-right: 1px solid var(--aa-line); border-bottom: 1px solid var(--aa-line);
	transform: rotate(45deg);
}
.aa-demo-bubble .aa-popup-adbadge { display: inline-block; margin-bottom: 6px; }
.aa-demo-bubble strong { display: block; }
.aa-demo-menu { margin: 0; padding-left: 18px; font-size: 13px; }
.aa-demo-menu li { margin: 4px 0; }
@media (max-width: 680px) {
	.aa-demo-grid { grid-template-columns: 1fr; }
}

/* ---------- 컴팩트 폼 ---------- */
.aa-form--compact { padding: 18px 20px; }
.aa-form--compact input[type=text], .aa-form--compact input[type=email],
.aa-form--compact input[type=url], .aa-form--compact input[type=date],
.aa-form--compact select, .aa-form--compact textarea {
	padding: 8px 10px; margin: 2px 0 8px; font-size: 13.5px;
}
.aa-form--compact label { font-size: 12.5px; }
.aa-form--compact .aa-fieldset { padding: 10px 14px 4px; margin-bottom: 10px; }
.aa-form--compact .aa-fieldset legend { font-size: 12.5px; }
.aa-form--compact .aa-form-hint { margin: -2px 0 4px; }
.aa-form--compact .aa-sub-field { padding: 8px 12px 0; margin: 4px 0 6px 20px; }
.aa-form--compact .aa-chips { margin-bottom: 8px; }
.aa-agree-row { display: flex !important; align-items: center; margin: 10px 0 12px; font-size: 13px !important; }
.aa-agree-row a { text-decoration: underline; }

/* ---------- wpautop이 폼에 주입하는 br 무력화 (2열 그리드 보호) ---------- */
.aa-form br, .aa-chips br, .aa-demo-stage br { display: none; }

/* ---------- 폼 내부 칩(노출 기간) 업그레이드 ---------- */
.aa-form .aa-chips { gap: 8px; }
.aa-form .aa-chip {
	padding: 9px 16px; font-size: 13.5px; font-weight: 700; border-radius: 11px;
	border: 1.5px solid var(--aa-line); background: #fff; color: var(--aa-ink);
	transition: all .16s ease;
}
.aa-form .aa-chip:hover {
	border-color: var(--aa-accent); color: var(--aa-accent); background: var(--aa-hover);
	transform: translateY(-1px); box-shadow: 0 3px 10px rgba(20, 22, 26, .10);
}
.aa-form .aa-chip.is-on {
	background: linear-gradient(135deg, var(--aa-accent), var(--aa-accent-deep));
	border-color: var(--aa-accent-deep); color: #fff;
	box-shadow: 0 3px 10px rgba(20, 22, 26, .18);
}
.aa-form .aa-chip.is-on:hover { transform: none; color: #fff; }

/* ---------- 제출 버튼 풀폭 ---------- */
.aa-form button[type=submit] {
	width: 100%; padding: 13px; font-size: 15px; border-radius: 12px; margin-top: 4px;
}

/* ---------- 메인 패널: 프리미엄 카페 노출 ---------- */
.aa-premium-box {
	background: #fbf6ea; border: 1px solid #f0e3c6; border-radius: 12px;
	padding: 12px 14px; margin-top: 16px;
}
.aa-premium-box h2 { margin: 0 0 8px; display: flex; align-items: center; gap: 6px; }
.aa-premium-box .aa-popup-adbadge { margin: 0; }
.aa-premium-list { list-style: none; margin: 0; padding: 0; font-size: 13.5px; }
.aa-premium-list li { padding: 7px 0 6px; border-top: 1px dashed #f0e3c6; }
.aa-premium-list li:first-child { border-top: 0; padding-top: 2px; }
.aa-premium-list a { font-weight: 700; }
.aa-premium-list .aa-num { float: right; font-weight: 800; }
.aa-premium-promo { margin: 2px 0 0; font-size: 12px; color: #9c7b1e; }

/* ---------- 프리미엄 히어로 강화 (광택 스윕) ---------- */
.aa-premium-hero {
	position: relative; overflow: hidden;
	background: linear-gradient(120deg, #fdf7e7, #faeecb);
	border: 1.5px solid #ecd28c;
	box-shadow: 0 4px 18px rgba(242, 201, 76, .28);
	font-size: 15.5px; font-weight: 700;
}
.aa-premium-hero::after {
	content: ''; position: absolute; top: 0; bottom: 0; width: 70px; left: -100px;
	background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .8), transparent);
	transform: skewX(-20deg);
	animation: aa-shine 3.2s ease-in-out infinite;
}
@keyframes aa-shine {
	0% { left: -100px; }
	45% { left: 110%; }
	100% { left: 110%; }
}
@media (prefers-reduced-motion: reduce) {
	.aa-premium-hero::after { animation: none; }
}

/* ---------- 상세: 지도 보기·신고 버튼 ---------- */
.aa-map-focus-btn {
	display: inline-block; margin: 4px 0 2px;
	background: #fff; color: var(--aa-accent); border: 1.5px solid var(--aa-accent);
	padding: 9px 16px; border-radius: 10px; font-weight: 700; font-size: 13.5px;
	transition: all .15s ease;
}
.aa-map-focus-btn:hover { background: var(--aa-accent); color: #fff; text-decoration: none; }
.aa-detail-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.aa-naver-btn { color: #087a3c; border-color: #087a3c; }
.aa-naver-btn:hover { background: #087a3c; color: #fff; }
.aa-request-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 8px 0; }
.aa-request-actions .aa-collect-btn, .aa-request-actions .aa-closed-btn { width: 100%; }
.aa-closed-btn {
	background: #fff; color: var(--aa-ink); border: 1.5px solid var(--aa-line-2);
	padding: 10px 18px; border-radius: 10px; font-weight: 700; cursor: pointer; font-size: 14px;
	transition: all .15s ease;
}
.aa-closed-btn:hover { border-color: var(--aa-ink); background: var(--aa-hover); }
.aa-closed-btn:disabled { opacity: .55; cursor: wait; }
.aa-request-note { font-size: 12px; color: var(--aa-sub); margin: 6px 0 0; }

/* ---------- 메인 패널 프리미엄 상세보기 버튼 ---------- */
.aa-premium-focus { cursor: pointer; }
.aa-premium-detail {
	display: inline-block; margin-top: 4px; font-size: 12px; font-weight: 700;
	background: #fff; border: 1px solid #ecd28c; color: #9c7b1e;
	padding: 3px 10px; border-radius: 999px; transition: all .15s ease;
}
.aa-premium-detail:hover { background: #9c7b1e; color: #fff; text-decoration: none; }

/* ---------- 프리미엄 마커 스타일 옵션 ---------- */
.aa-ad-style-rainbow span::before {
	background: conic-gradient(from var(--aa-angle),
		#ff5e5e, #ffb84d, #ffe74d, #5ed17c, #4da3ff, #b45eff, #ff5e5e);
}
.aa-ad-style-emerald span::before {
	background: conic-gradient(from var(--aa-angle),
		#0aa574, #7dedc8 35%, rgba(10, 165, 116, .2) 60%, rgba(10, 165, 116, .2) 85%, #0aa574);
}
.aa-ad-style-aurora span::before {
	background: conic-gradient(from var(--aa-angle),
		#39c6b5, #6a8dff 30%, #b45eff 55%, rgba(57, 198, 181, .2) 75%, #39c6b5);
}

/* ---------- 상세: 내 가게 홍보 CTA (풀폭) ---------- */
.aa-promote-cta {
	display: block; width: 100%; text-align: center; box-sizing: border-box;
	margin-top: 14px; padding: 14px;
	background: linear-gradient(120deg, #fdf7e7, #faeecb);
	border: 1.5px solid #ecd28c; border-radius: 12px;
	color: #8a6a12; font-weight: 800; font-size: 15px;
	transition: all .15s ease;
}
.aa-promote-cta:hover {
	background: linear-gradient(120deg, #faeecb, #f5e2a8);
	box-shadow: 0 4px 16px rgba(242, 201, 76, .3);
	text-decoration: none; color: #6f5408;
}

/* ---------- 기간별 스타일 도트 ---------- */
.aa-style-dot {
	display: inline-block; width: 14px; height: 14px; border-radius: 999px;
	margin-right: 8px; vertical-align: -2px; border: 1px solid rgba(43, 37, 33, .12);
}

/* ---------- 얼리버드 박스 ---------- */
.aa-earlybird-box {
	background: linear-gradient(120deg, #fdf7e7, #faeecb);
	border: 1.5px solid #ecd28c; border-radius: var(--aa-radius);
	padding: 18px 22px; margin: 18px 0; box-shadow: 0 4px 18px rgba(242, 201, 76, .2);
}
.aa-earlybird-box h3 { margin: 0 0 10px; font-size: 16px; border: 0; padding: 0; }
.aa-earlybird-box ul { margin: 0; padding-left: 20px; }
.aa-earlybird-box li { margin: 5px 0; font-size: 14px; }
.aa-earlybird-box p { margin: 10px 0 0; font-size: 13px; color: #8a6a12; font-weight: 600; }

/* ---------- 모바일 전반 최적화 ---------- */
a, button { -webkit-tap-highlight-color: transparent; }
@media (max-width: 640px) {
	/* iOS 포커스 확대 방지: 입력류 16px 고정 */
	input[type=text], input[type=email], input[type=url], input[type=date],
	select, textarea { font-size: 16px !important; }
	/* 표는 셀 축소 + (필요시) 래퍼 가로 스크롤 — 랭킹·브랜드 */
	/* 랭킹 표(5열): 최저~최고 열 숨기고 셀 여백 축소 → 한 화면에 들어오게 */
	.aa-index-table th:nth-child(4):nth-last-child(2),
	.aa-index-table td:nth-child(4):nth-last-child(2) { display: none; }
	.aa-index-table th, .aa-index-table td { padding: 8px 10px; font-size: 13.5px; }
	/* 필터 칩 탭 타깃 확대 */
	.aa-chip { padding: 8px 13px; min-height: 36px; }
	/* 팝업 카드가 화면을 넘지 않게 */
	.aa-popup { max-width: min(84vw, 280px); }
	/* 본문 컨테이너 여백 축소 */
	.aa-container { padding-left: 14px; padding-right: 14px; }
	.aa-form { padding: 18px 16px; }
}

/* ---------- 가격 제보 (크라우드소스) ---------- */
.aa-report-btn {
	background: var(--aa-t1); color: #fff; border: 0; border-radius: 10px;
	padding: 10px 18px; font-weight: 700; cursor: pointer; font-size: 14px;
	transition: background .15s ease, transform .1s ease;
}
.aa-report-btn:hover { background: #166f3f; }
.aa-report-btn:active { transform: scale(.97); }
.aa-request-box .aa-report-btn { background: var(--aa-t1); }
.aa-request-box .aa-report-btn:hover { background: #166f3f; }
.aa-request-actions .aa-report-btn { grid-column: 1 / -1; width: 100%; }
.aa-popup .aa-popup-actions { flex-wrap: wrap; }
.aa-popup .aa-report-btn { padding: 6px 12px; border-radius: 9px; font-size: 12px; }

.aa-report-form {
	margin-top: 12px; padding: 14px; border: 1px solid var(--aa-line);
	border-radius: 12px; background: var(--aa-bg); max-width: 420px;
}
.aa-report-title { font-weight: 700; font-size: 13.5px; margin: 0 0 8px; color: var(--aa-ink); }
.aa-report-form input[type=number] {
	width: 100%; padding: 10px 12px; border: 1px solid var(--aa-line); border-radius: 10px;
	font-family: inherit; font-size: 15px; background: #fff; font-variant-numeric: tabular-nums;
	margin: 0;
}
.aa-report-form input[type=number]:focus { border-color: var(--aa-t1); outline: none; }
.aa-report-roles { display: flex; gap: 14px; margin: 10px 0; font-size: 13.5px; }
.aa-report-roles label { display: flex; align-items: center; gap: 5px; font-weight: 600; cursor: pointer; margin: 0; }
.aa-report-roles input { accent-color: var(--aa-t1); margin: 0; }
.aa-report-buttons { display: flex; gap: 8px; }
.aa-report-form .aa-report-submit {
	flex: 1; background: var(--aa-t1); color: #fff; border: 0; border-radius: 10px;
	padding: 9px 16px; font-weight: 700; cursor: pointer; font-size: 14px;
	transition: background .15s ease, transform .1s ease;
}
.aa-report-form .aa-report-submit:hover { background: #166f3f; }
.aa-report-form .aa-report-submit:active { transform: scale(.97); }
.aa-report-form .aa-report-submit:disabled { opacity: .55; cursor: wait; }
.aa-report-form .aa-report-cancel {
	flex: 0 0 auto; background: #fff; color: var(--aa-sub); border: 1px solid var(--aa-line);
	border-radius: 10px; padding: 8px 14px; cursor: pointer; font-size: 13.5px; font-weight: 600;
	transition: border-color .15s ease;
}
.aa-report-form .aa-report-cancel:hover { border-color: var(--aa-sub); background: #fff; }
.aa-popup .aa-report-form { padding: 10px 12px; margin-top: 10px; }
.aa-popup .aa-report-form input[type=number] { font-size: 14px; padding: 8px 10px; }

/* ---------- 팝업 액션 3버튼 통일 (상세보기·가격제보·수집요청 — 동일 크기/형태, 역할별 색) ---------- */
.aa-popup .aa-popup-actions a,
.aa-popup .aa-report-btn,
.aa-popup .aa-collect-btn {
	display: inline-block; box-sizing: border-box;
	padding: 7px 12px; border-radius: 9px;
	font-size: 12px; font-weight: 700; line-height: 1.4;
	transition: background .15s ease, border-color .15s ease;
}
.aa-popup .aa-popup-actions a { background: var(--aa-accent); color: #fff; border: 1.5px solid var(--aa-accent); }
.aa-popup .aa-popup-actions a:hover { background: var(--aa-accent-deep); border-color: var(--aa-accent-deep); }
.aa-popup .aa-report-btn { background: var(--aa-t1); color: #fff; border: 1.5px solid var(--aa-t1); }
.aa-popup .aa-report-btn:hover { background: #166f3f; border-color: #166f3f; }
.aa-popup .aa-collect-btn { background: #fff; color: var(--aa-accent); border: 1.5px solid var(--aa-accent); }
.aa-popup .aa-collect-btn:hover { background: var(--aa-hover); }

/* 상세 페이지 3버튼 동일 높이 (폰트·패딩·라디우스 일치) */
.aa-request-actions .aa-report-btn,
.aa-request-actions .aa-collect-btn,
.aa-request-actions .aa-closed-btn {
	padding: 10px 18px; border-radius: 10px; font-size: 14px; font-weight: 700; line-height: 1.5;
}

/* ---------- 상세: 액션 2버튼 50/50 + 제보 폼 풀폭 ---------- */
.aa-detail-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.aa-detail-actions .aa-map-focus-btn { width: 100%; text-align: center; margin: 0; box-sizing: border-box; }
.aa-report-form { max-width: none; width: 100%; box-sizing: border-box; }
.aa-report-form input[type=tel] {
	width: 100%; padding: 10px 12px; border: 1px solid var(--aa-line); border-radius: 10px;
	font-family: inherit; font-size: 14px; background: #fff; margin: 0 0 10px; box-sizing: border-box;
}
.aa-report-form input[type=tel]:focus { border-color: var(--aa-t1); outline: none; }

/* ---------- 가격 출처 배지 (사장님/손님 확인) ---------- */
.aa-src-badge {
	display: inline-flex; align-items: center; gap: 4px;
	font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px;
	background: rgba(255, 255, 255, .22); color: #fff; width: fit-content; margin-top: 5px;
}
.aa-popup .aa-src-badge { background: var(--aa-t1-soft); color: var(--aa-t1); padding: 2px 8px; margin: 2px 0 0; }

/* ---------- 관리자: 숨김 마커·버튼 ---------- */
.aa-pin--hidden { opacity: .5; filter: grayscale(.5); outline: 2px dashed #c0392b; outline-offset: 1px; border-radius: 12px; }
.aa-pin--hidden span { text-decoration: line-through; }
/* 관리자 전용: '제보 필요' 표시 마커 — 앰버 링 + 🙏 배지 (needs_report는 관리자에게만 전달됨) */
.aa-pin--needreport { position: relative; outline: 2px solid #f6a609; outline-offset: 2px; border-radius: 12px; }
.aa-pin--needreport::after {
	content: '🙏'; position: absolute; top: -12px; right: -11px; z-index: 3;
	font-size: 12px; line-height: 1; padding: 2px 2px 1px; border-radius: 50%;
	background: #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .3);
}
/* 관리자 전용: 자동 수집 실패 마커 — 빨간 링 + 느낌표 */
.aa-pin--collectfail { position: relative; box-shadow: 0 0 0 3px #dc2626; border-radius: 12px; }
.aa-pin--collectfail::before {
	content: '!'; position: absolute; top: -12px; left: -10px; z-index: 4;
	display: grid; place-items: center; width: 18px; height: 18px;
	border-radius: 50%; background: #dc2626; color: #fff;
	font-size: 12px; font-weight: 900; line-height: 1;
	box-shadow: 0 1px 4px rgba(0, 0, 0, .3);
}
.aa-pin--collectresolved { position: relative; box-shadow: 0 0 0 3px #0f766e; border-radius: 12px; }
.aa-pin--collectresolved::before {
	content: '✓'; position: absolute; top: -12px; left: -10px; z-index: 4;
	display: grid; place-items: center; width: 18px; height: 18px;
	border-radius: 50%; background: #0f766e; color: #fff;
	font-size: 11px; font-weight: 900; line-height: 1;
	box-shadow: 0 1px 4px rgba(0, 0, 0, .3);
}
.aa-admin-collect-fail {
	display: grid; gap: 3px; margin: 8px 0; padding: 9px 10px;
	border: 1px solid #f3a29a; border-left: 4px solid #dc2626; border-radius: 8px;
	background: #fff7f6; color: #7f1d1d; font-size: 11.5px; line-height: 1.4;
}
.aa-admin-collect-fail strong { color: #b91c1c; font-size: 12.5px; }
.aa-admin-collect-fail span { font-weight: 700; }
.aa-admin-collect-fail small { color: #7f1d1d; overflow-wrap: anywhere; }
.aa-admin-collect-fail time { color: #9f4a43; font-size: 10.5px; }
.aa-admin-collect-fail.is-resolved {
	border-color: #99d5cf; border-left-color: #0f766e;
	background: #f0fdfa; color: #115e59;
}
.aa-admin-collect-fail.is-resolved strong,
.aa-admin-collect-fail.is-resolved small { color: #115e59; }
.aa-admin-collect-fail.is-resolved time { color: #397b75; }
.aa-collect-resolve {
	justify-self: start; margin-top: 4px; padding: 5px 8px;
	border: 1px solid currentColor; border-radius: 6px; background: #fff;
	color: inherit; cursor: pointer; font-size: 11px; font-weight: 700;
}
.aa-collect-resolve:hover { background: rgba(255, 255, 255, .55); }
.aa-collect-resolve:disabled { cursor: wait; opacity: .55; }
.aa-hide-btn {
	display: inline-block; box-sizing: border-box; padding: 7px 12px; border-radius: 9px;
	font-size: 12px; font-weight: 700; line-height: 1.4; cursor: pointer;
	background: #fff; color: #c0392b; border: 1.5px solid #c0392b;
	transition: background .15s ease;
}
.aa-hide-btn:hover { background: #fdf1ef; }
.aa-hide-btn:disabled { opacity: .55; cursor: wait; }

/* ---------- 제보 동의 체크박스 ---------- */
.aa-report-consent {
	display: block; position: relative; padding-left: 23px;
	font-size: 12px; line-height: 1.5; color: var(--aa-sub);
	margin: 0 0 10px; cursor: pointer; font-weight: 500; word-break: keep-all;
}
.aa-report-consent input { position: absolute; left: 0; top: 2px; accent-color: var(--aa-t1); }
.aa-report-consent a { text-decoration: underline; text-underline-offset: 2px; }

/* ---------- 출처 뱃지 (상세보기 전용) — 아아가족/사장님/공식 확인 ---------- */
.aa-src-badge { position: relative; overflow: hidden; }
.aa-src-family { background: rgba(255, 255, 255, .25); color: #fff; }
.aa-src-owner { background: linear-gradient(100deg, #ffd76a, #ffbe3d); color: #5a3d00; }
.aa-src-admin { background: #fff; color: var(--aa-accent); }
.aa-src-owner::after, .aa-src-admin::after {
	content: ''; position: absolute; top: 0; left: -70%; width: 45%; height: 100%;
	background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .65), transparent);
	animation: aa-badge-shine 3.2s ease-in-out infinite;
}
@keyframes aa-badge-shine {
	0% { left: -70%; }
	55% { left: 130%; }
	100% { left: 130%; }
}
@media (prefers-reduced-motion: reduce) {
	.aa-src-owner::after, .aa-src-admin::after { animation: none; }
}

/* ---------- 관리자: 말풍선 가격 즉시 등록 ---------- */
.aa-admin-price { display: flex; gap: 6px; margin-top: 8px; }
.aa-admin-price input {
	flex: 1; min-width: 0; padding: 6px 10px; border: 1.5px solid var(--aa-accent);
	border-radius: 9px; font-family: inherit; font-size: 12.5px; font-variant-numeric: tabular-nums;
}
.aa-admin-price input:focus { outline: none; border-color: var(--aa-accent-deep); }
.aa-admin-price .aa-admin-save {
	flex: 0 0 auto; background: var(--aa-accent); color: #fff; border: 1.5px solid var(--aa-accent);
	border-radius: 9px; padding: 6px 14px; font-size: 12px; font-weight: 700; cursor: pointer;
}
.aa-admin-price .aa-admin-save:hover { background: var(--aa-accent-deep); }
.aa-admin-price .aa-admin-save:disabled { opacity: .55; cursor: wait; }

/* ---------- 관리자: 카페 상세 즉시 등록 박스 ---------- */
.aa-admin-price-wrap {
	margin: 12px 0 4px; padding: 12px 14px; max-width: 420px;
	border: 1.5px dashed var(--aa-accent); border-radius: 12px; background: #fff;
}
.aa-admin-price-wrap .aa-report-title { margin: 0 0 8px; }
.aa-admin-price-wrap .aa-admin-price { margin-top: 0; }
.aa-admin-price-wrap .aa-admin-price input { font-size: 14px; padding: 9px 12px; }
.aa-admin-price-wrap .aa-admin-price .aa-admin-save { font-size: 13.5px; padding: 8px 18px; }

/* ---------- 관리자: 말풍선 네이버 검색 버튼 (통일 규격 + 네이버 그린) ---------- */
.aa-popup .aa-popup-actions a.aa-naver-btn { background: #fff; color: #087a3c; border-color: #087a3c; }
.aa-popup .aa-popup-actions a.aa-naver-btn:hover { background: #087a3c; color: #fff; border-color: #087a3c; }

/* ---------- 헤더 검색 ---------- */
.aa-search { position: relative; flex: 1 1 auto; min-width: 0; max-width: 340px; margin: 0 4px; }
.aa-search input[type=search] {
	width: 100%; box-sizing: border-box; padding: 8px 14px;
	border: 1px solid var(--aa-line); border-radius: 999px;
	font-family: inherit; font-size: 13.5px; background: #fff;
	-webkit-appearance: none; appearance: none;
}
.aa-search input[type=search]:focus { border-color: var(--aa-accent); outline: none; }
.aa-search-results {
	position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 1300;
	background: #fff; border: 1px solid var(--aa-line); border-radius: 12px;
	box-shadow: var(--aa-shadow-md); overflow: hidden auto; max-height: 62vh;
}
.aa-sr-label { font-size: 11px; color: var(--aa-sub); font-weight: 700; padding: 8px 14px 2px; }
.aa-search-results a {
	display: flex; justify-content: space-between; align-items: center; gap: 10px;
	padding: 8px 14px; font-size: 13.5px; color: var(--aa-ink);
}
.aa-search-results a:hover, .aa-search-results a:focus { background: var(--aa-bg); text-decoration: none; }
.aa-search-results a .aa-sr-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.aa-sr-price { flex: 0 0 auto; color: var(--aa-t1); font-weight: 700; font-variant-numeric: tabular-nums; font-size: 12.5px; }
.aa-sr-empty { padding: 12px 14px; font-size: 13px; color: var(--aa-sub); }
@media (max-width: 640px) {
	.aa-search { max-width: none; margin: 0 6px; }
	.aa-search input[type=search] { font-size: 16px; padding: 6px 12px; } /* iOS 줌 방지 + 콤팩트 */
}

/* ---------- 검색 동네 항목: [지도]/[동네 페이지] 2택 ---------- */
.aa-sr-row {
	display: flex; justify-content: space-between; align-items: center; gap: 10px;
	padding: 8px 14px; font-size: 13.5px; color: var(--aa-ink);
}
.aa-sr-row:hover { background: var(--aa-bg); }
.aa-sr-row .aa-sr-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.aa-sr-avg { color: var(--aa-t1); font-style: normal; font-weight: 700; font-size: 12px; }
.aa-sr-acts { display: flex; gap: 6px; flex: 0 0 auto; }
.aa-sr-acts a, .aa-sr-map {
	display: inline-block; box-sizing: border-box; padding: 4px 10px; border-radius: 8px;
	font-size: 12px; font-weight: 700; line-height: 1.4; cursor: pointer;
	border: 1px solid var(--aa-accent); background: #fff; color: var(--aa-accent);
	font-family: inherit; transition: background .15s ease;
}
.aa-sr-acts a:hover { background: var(--aa-hover); text-decoration: none; }
.aa-sr-map { background: var(--aa-accent); color: #fff; }
.aa-sr-map:hover { background: var(--aa-accent-deep); }

/* ---------- 대시보드 배경: 뒷 지도가 보이도록 반투명 + 가독성용 약한 블러 (단일 정의) ---------- */
.aa-panel {
	background: rgba(252, 250, 246, .72);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}

/* ---------- 데스크톱: 헤더 검색 정중앙 (브랜드 좌 · 검색 중앙 · 내비 우) ---------- */
@media (min-width: 769px) {
	.aa-topbar { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; }
	/* 햄버거(≤1024)도 우측 칼럼에 고정 — 미지정 시 3열 시작점에 놓여 오른쪽이 크게 비었다 */
	.aa-nav-toggle { grid-column: 3; justify-self: end; }
	.aa-brand { grid-column: 1; justify-self: start; }
	.aa-search { grid-column: 2; justify-self: center; flex: none; width: 340px; max-width: 100%; margin: 0; }
	.aa-nav { grid-column: 3; justify-self: end; }
	.aa-popup { width: 286px; } /* 데스크톱 말풍선 +50px */
	.aa-popup-card { max-width: 322px; } /* 늘어난 .aa-popup(286)+패딩(32) 수용 — 메뉴 오버플로 방지 */
}

/* ---------- 상세: '제보 필요'(관리자 지정) → 손님 제보 유도 배너 ---------- */
.aa-report-cta {
	margin: 14px 0 6px; padding: 16px 18px;
	border: 1.5px solid var(--aa-t1); border-radius: 14px;
	background: linear-gradient(180deg, #f1faf4 0%, #ffffff 100%);
}
.aa-report-cta-title { margin: 0; font-size: 16px; font-weight: 800; color: var(--aa-ink); }
.aa-report-cta-sub { margin: 4px 0 12px; font-size: 13.5px; color: var(--aa-sub); line-height: 1.55; }
.aa-report-cta .aa-report-btn { width: 100%; padding: 12px 18px; font-size: 15px; }

/* ---------- 관리자: '제보 필요' 토글 (말풍선 · 상세) — 앰버 ---------- */
.aa-needreport-btn {
	background: #fff; color: #b5730a; border: 1.5px solid #e0a53d; border-radius: 10px;
	padding: 7px 12px; font-size: 12px; font-weight: 700; line-height: 1.5;
	font-family: inherit; cursor: pointer; transition: background .15s ease;
}
.aa-needreport-btn:hover { background: #fdf6e9; }
.aa-needreport-btn.is-on { background: #f6a609; color: #fff; border-color: #f6a609; }
.aa-needreport-btn:disabled { opacity: .55; cursor: wait; }
.aa-popup .aa-needreport-btn { display: inline-block; box-sizing: border-box; padding: 7px 12px; border-radius: 9px; }
.aa-admin-price-wrap .aa-needreport-btn { margin-top: 10px; width: 100%; }

/* ---------- 사장님 가격 비공개 (optout): 상호는 남기고 가격만 가림 ---------- */
.aa-pin--optout span { background: #6b7280; } /* 슬레이트 — 미수집(t0 회색)과 구분되는 '비공개' */
.aa-price-hero.aa-t0 { background: linear-gradient(135deg, #94a3b8, #64748b); }
.aa-price-private { font-size: 24px; }
.aa-optout-btn {
	background: #fff; color: #475569; border: 1.5px solid #94a3b8; border-radius: 10px;
	padding: 7px 12px; font-size: 12px; font-weight: 700; line-height: 1.5;
	font-family: inherit; cursor: pointer; transition: background .15s ease;
}
.aa-optout-btn:hover { background: #f1f5f9; }
.aa-optout-btn.is-on { background: #475569; color: #fff; border-color: #475569; }
.aa-optout-btn:disabled { opacity: .55; cursor: wait; }
.aa-popup .aa-optout-btn { display: inline-block; box-sizing: border-box; padding: 7px 12px; border-radius: 9px; }
.aa-admin-price-wrap .aa-optout-btn { margin-top: 10px; width: 100%; }

/* ---------- 제보 폼: 빠른 가격칩 + 참여 안내 (제보 참여 촉진) ---------- */
.aa-report-hint { margin: 2px 0 10px; font-size: 12.5px; color: var(--aa-sub); line-height: 1.5; }
.aa-price-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.aa-price-chip {
	flex: 1 1 auto; min-width: 58px; padding: 9px 4px; border-radius: 10px;
	border: 1.5px solid var(--aa-line); background: #fff; color: var(--aa-ink);
	font-family: inherit; font-size: 14px; font-weight: 700; cursor: pointer;
	font-variant-numeric: tabular-nums; transition: background .12s ease, border-color .12s ease;
}
.aa-price-chip:hover { border-color: var(--aa-t1); background: #f1faf4; }
.aa-price-chip.is-sel { background: var(--aa-t1); color: #fff; border-color: var(--aa-t1); }
.aa-popup .aa-price-chip { min-width: 44px; padding: 7px 3px; font-size: 12.5px; }

/* ---------- '아직 이 가격이에요' 원터치 확인 + 사회적 증거 ---------- */
.aa-confirm-box { margin: 12px 0; display: flex; flex-direction: column; gap: 8px; }
.aa-confirm-btn {
	align-self: flex-start; background: #fff; color: var(--aa-t1); border: 1.5px solid var(--aa-t1);
	border-radius: 10px; padding: 10px 18px; font-family: inherit; font-size: 14.5px; font-weight: 800;
	cursor: pointer; transition: background .15s ease, transform .1s ease;
}
.aa-confirm-btn:hover { background: #f1faf4; }
.aa-confirm-btn:active { transform: scale(.97); }
.aa-confirm-btn.is-done { background: var(--aa-t1); color: #fff; border-color: var(--aa-t1); cursor: default; }
.aa-confirm-btn:disabled { opacity: .6; cursor: wait; }
.aa-confirm-social { font-size: 13px; font-weight: 700; color: var(--aa-t1); }
.aa-confirm-social--empty { color: var(--aa-sub); font-weight: 600; }
.aa-confirm-hint { margin: 0; font-size: 12.5px; color: var(--aa-sub); line-height: 1.5; }
.aa-popup .aa-confirm-btn { padding: 7px 14px; font-size: 12px; border-radius: 9px; }
.aa-popup .aa-popup-meta.aa-confirm-social { color: var(--aa-t1); font-weight: 700; }

/* 제보 '보내기' 비활성 (동의 미체크 등) */
.aa-report-submit:disabled { opacity: .5; cursor: not-allowed; }

/* ---------- 참여형 반응 (아아 맛있어요 / 없어졌어요 / 있어요) ---------- */
.aa-vote-box { margin: 12px 0; }
.aa-vote-row { display: flex; flex-wrap: wrap; gap: 6px; }
.aa-vote-btn {
	background: #fff; border: 1.5px solid var(--aa-line); border-radius: 999px;
	padding: 6px 12px; font-family: inherit; font-size: 12.5px; font-weight: 700; color: var(--aa-ink);
	cursor: pointer; transition: background .15s ease, border-color .15s ease; line-height: 1.4;
}
.aa-vote-btn b { font-variant-numeric: tabular-nums; }
.aa-vote-tasty:hover { background: #fff7e9; border-color: #e0a53d; color: #b5730a; }
.aa-vote-gone:hover { background: #fdecea; border-color: #c0392b; color: #c0392b; }
.aa-vote-here:hover { background: #f1faf4; border-color: var(--aa-t1); color: var(--aa-t1); }
.aa-vote-btn.is-done { background: var(--aa-bg); color: var(--aa-sub); border-color: var(--aa-line); cursor: default; }
.aa-vote-btn:disabled { opacity: .7; cursor: wait; }
.aa-gone-social { margin: 0 0 8px; font-size: 13px; font-weight: 700; color: #c0392b; }
.aa-popup .aa-vote-row { margin-top: 8px; gap: 5px; }
.aa-popup .aa-vote-btn { padding: 5px 10px; font-size: 11.5px; }
.aa-popup .aa-gone-social { color: #c0392b; font-weight: 700; }

/* 프랜차이즈 '가격이 바뀌었어요' 변동 신고 */
.aa-vote-pricechg:hover { background: #f3f0fb; border-color: #7c5cc4; color: #6a4daa; }
.aa-pricechg-social { margin: 0 0 8px; font-size: 13px; font-weight: 700; color: #6a4daa; }
.aa-popup .aa-pricechg-social { color: #6a4daa; font-weight: 700; }

/* ============ 참여형 특징 태그 (vibe) + 말풍선 반응형 하드닝 (0.5.21) ============ */

/* 특징 태그 칩 클라우드 (팝업·상세 공용) */
.aa-tag-box { margin: 14px 0; }
.aa-tag-wrap { margin: 10px 0 2px; }
.aa-tag-lead { margin: 0 0 8px; font-size: 13px; font-weight: 700; color: var(--aa-ink); }
.aa-tag-lead span { display: block; font-weight: 400; font-size: 12px; color: var(--aa-sub); margin-top: 2px; }
.aa-tag-row { display: flex; flex-wrap: wrap; gap: 6px; }
.aa-tag-btn {
	display: inline-flex; align-items: center;
	background: #fff; border: 1.5px solid var(--aa-line); border-radius: 999px;
	padding: 6px 12px; font-family: inherit; font-size: 12.5px; font-weight: 600; color: var(--aa-ink);
	cursor: pointer; transition: background .15s ease, border-color .15s ease, color .15s ease;
	line-height: 1.35; max-width: 100%; box-sizing: border-box; white-space: nowrap;
}
.aa-tag-btn b { font-variant-numeric: tabular-nums; margin-left: 4px; color: var(--aa-t1); font-weight: 800; }
.aa-tag-btn.has-n { border-color: var(--aa-t1-soft); }
.aa-tag-btn:hover { background: var(--aa-bg); border-color: var(--aa-accent); }
.aa-tag-btn.is-on { background: var(--aa-t1-soft); border-color: var(--aa-t1); color: var(--aa-t1); }
.aa-tag-btn.is-on b { color: var(--aa-t1); }
.aa-tag-btn:disabled { opacity: .7; cursor: wait; }
/* 팝업 내 태그: 더 콤팩트 */
.aa-popup .aa-tag-wrap { margin: 8px 0 2px; }
.aa-popup .aa-tag-lead { font-size: 11.5px; margin-bottom: 5px; color: var(--aa-sub); font-weight: 700; }
.aa-popup .aa-tag-lead span { display: none; }
.aa-popup .aa-tag-row { gap: 5px; }
.aa-popup .aa-tag-btn { padding: 4px 9px; font-size: 11px; font-weight: 600; }

/* 말풍선 반응형 하드닝 — 내용이 카드 밖으로 넘치지 않게 (Kakao: .aa-popup-card>.aa-popup / Leaflet: .aa-popup) */
.aa-popup { width: min(86vw, 286px); box-sizing: border-box; }
.aa-popup-card { box-sizing: border-box; width: min(92vw, 322px); max-width: none; }
.aa-popup-card > .aa-popup { width: 100%; }
.aa-popup * { max-width: 100%; box-sizing: border-box; }
.aa-popup h3 { overflow-wrap: anywhere; }
.aa-popup .aa-popup-actions,
.aa-popup .aa-vote-row,
.aa-popup .aa-tag-row,
.aa-popup .aa-admin-price,
.aa-popup .aa-report-roles,
.aa-popup .aa-report-buttons,
.aa-popup .aa-price-chips { flex-wrap: wrap; }
.aa-popup .aa-admin-price { display: flex; gap: 6px; }
.aa-popup .aa-admin-price input { flex: 1 1 90px; min-width: 0; }

/* ============ 참여 감사 토스트 + 동네 랭킹 지역 필터 (0.5.22) ============ */

/* 참여 토스트 (아아가족) */
.aa-toast {
	position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%) translateY(14px);
	z-index: 3000; max-width: min(92vw, 440px);
	background: var(--aa-ink); color: #fff; text-align: center;
	padding: 12px 20px; border-radius: 999px;
	font-size: 13.5px; font-weight: 600; line-height: 1.45;
	box-shadow: 0 8px 28px rgba(0, 0, 0, .24);
	opacity: 0; pointer-events: none;
	transition: opacity .22s ease, transform .22s ease;
}
.aa-toast.is-show { opacity: 1; transform: translateX(-50%) translateY(0); }
.aa-toast b { color: #ffd76a; font-weight: 800; }
@media (max-width: 640px) {
	.aa-toast { bottom: 20px; font-size: 12.5px; padding: 11px 16px; }
}
@media (prefers-reduced-motion: reduce) {
	.aa-toast { transition: opacity .22s ease; transform: translateX(-50%); }
	.aa-toast.is-show { transform: translateX(-50%); }
}

/* 동네 랭킹 지역 필터 (시도/구 칩) */
.aa-rank-filter { margin: 4px 0 20px; }
.aa-rank-scope { font-size: 12px; font-weight: 700; color: var(--aa-sub); margin-bottom: 7px; }
.aa-rank-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.aa-rank-chips--gu { margin-top: 9px; padding-top: 9px; border-top: 1px dashed var(--aa-line); }
.aa-rank-chip {
	display: inline-block; padding: 6px 13px; border-radius: 999px;
	border: 1.5px solid var(--aa-line); background: #fff; color: var(--aa-ink);
	font-size: 12.5px; font-weight: 600; text-decoration: none;
	transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.aa-rank-chip:hover { border-color: var(--aa-accent); background: var(--aa-bg); text-decoration: none; }
.aa-rank-chip.is-on { background: var(--aa-accent); border-color: var(--aa-accent); color: #fff; }
.aa-rank-chips--gu .aa-rank-chip { font-size: 12px; padding: 5px 11px; }
.aa-rank-head { margin: 2px 0 12px; font-size: 14px; color: var(--aa-ink); }
.aa-rank-head strong { font-weight: 800; }
.aa-rank-head span { color: var(--aa-sub); font-weight: 600; font-size: 12.5px; }

/* ---------- 0.6.0 아아가족 즉시 반영 — 말풍선 출처 라인 + 참여 유도 ---------- */
.aa-popup .aa-popup-meta.aa-src-line { font-weight: 700; color: var(--aa-t1); }
.aa-popup .aa-popup-meta.aa-src-line--owner { color: #a06b00; }
.aa-popup .aa-popup-meta.aa-src-line--admin { color: var(--aa-accent); }
.aa-popup .aa-popup-meta.aa-family-cta {
	font-weight: 700; color: #a06b00;
	background: rgba(246, 166, 9, .12); border-radius: 8px; padding: 5px 8px;
}

/* ---------- 요약 카드 (수집 현황 · 아아가족) ---------- */
.aa-stat-cards {
	display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 18px 0 8px;
}
.aa-stat-card {
	background: var(--aa-surface); border: 1px solid var(--aa-line); border-radius: var(--aa-radius);
	padding: 14px 16px; box-shadow: var(--aa-shadow-sm); display: flex; flex-direction: column; gap: 3px;
}
.aa-stat-label { font-size: 12px; font-weight: 700; color: var(--aa-sub); letter-spacing: .02em; }
.aa-stat-value { font-size: 26px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.aa-stat-note { font-size: 11.5px; color: var(--aa-sub); line-height: 1.45; }
@media (max-width: 640px) {
	.aa-stat-cards { grid-template-columns: 1fr; }
	.aa-stat-value { font-size: 23px; }
}

/* ---------- 비율 막대 ---------- */
.aa-bar {
	display: inline-block; width: 68px; height: 7px; border-radius: 999px;
	background: var(--aa-line); overflow: hidden; vertical-align: middle; flex-shrink: 0;
}
.aa-bar i { display: block; height: 100%; width: var(--aa-bar-w, 0%); border-radius: 999px; background: var(--aa-t1); }
.aa-bar--fam i { background: #f6a609; }

/* ---------- 지역 수집률 표 ---------- */
.aa-cov-crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; margin: 0 0 12px; }
.aa-cov-crumb span { color: var(--aa-sub); }
.aa-cov-crumb strong { font-weight: 800; }
.aa-cov-table th[scope="row"] { font-weight: 700; white-space: nowrap; }
.aa-cov-rate { white-space: nowrap; }
.aa-cov-rate b { margin-left: 8px; font-weight: 700; font-variant-numeric: tabular-nums; }
.aa-cov-when { color: var(--aa-sub); font-size: 13px; white-space: nowrap; }
.aa-cov-foot { color: var(--aa-sub); font-size: 12.5px; line-height: 1.6; margin-top: 10px; }
.aa-index-table td.aa-rank-no { color: var(--aa-sub); font-weight: 700; font-variant-numeric: tabular-nums; width: 46px; }

/* ---------- 업데이트 기록 카드 ---------- */
.aa-update-note {
	background: var(--aa-surface); border: 1px solid var(--aa-line); border-radius: var(--aa-radius);
	padding: 16px 18px; margin: 12px 0; box-shadow: var(--aa-shadow-sm);
}
.aa-update-note h3 { font-size: 16.5px; margin: 0 0 6px; letter-spacing: -.01em; }
.aa-update-note p { margin: 4px 0; line-height: 1.65; }
.aa-update-meta { color: var(--aa-accent); font-size: 13.5px; }

/* ---------- 아아가족 랭킹 ---------- */
.aa-btn-rank { list-style: none; padding: 0; margin: 12px 0 0; }
.aa-btn-rank li {
	display: flex; align-items: center; gap: 10px; padding: 10px 14px; margin: 0 0 7px;
	background: var(--aa-surface); border: 1px solid var(--aa-line); border-radius: 12px;
	box-shadow: var(--aa-shadow-sm); font-size: 14px;
}
.aa-btn-rank-no { color: var(--aa-sub); font-weight: 800; width: 20px; font-variant-numeric: tabular-nums; }
.aa-btn-rank-label { flex: 1; font-weight: 700; }
.aa-btn-rank-num { font-weight: 800; font-variant-numeric: tabular-nums; }
.aa-btn-rank-sub { color: var(--aa-sub); font-size: 12px; white-space: nowrap; }
.aa-fam-region { color: var(--aa-sub); font-size: 13px; white-space: nowrap; }
.aa-fam-tags { display: flex; flex-wrap: wrap; gap: 4px; }
.aa-fam-tag {
	display: inline-block; padding: 3px 8px; border-radius: 999px;
	background: var(--aa-bg); border: 1px solid var(--aa-line); font-size: 11.5px; font-weight: 600; white-space: nowrap;
}
.aa-family-empty {
	background: var(--aa-bg); border: 1.5px dashed var(--aa-line); border-radius: var(--aa-radius);
	padding: 18px 20px; margin: 18px 0 4px;
}
.aa-family-empty p { margin: 4px 0; }
.aa-family-cta-btn {
	display: inline-block; margin-top: 8px; padding: 9px 16px; border-radius: 10px;
	background: var(--aa-accent); color: #fff; font-weight: 700; font-size: 14px; text-decoration: none;
}
.aa-family-cta-btn:hover { background: var(--aa-accent-deep); text-decoration: none; color: #fff; }
@media (max-width: 640px) {
	.aa-btn-rank li { flex-wrap: wrap; gap: 7px; }
	.aa-btn-rank-label { flex: 1 1 100%; }
	.aa-bar { width: 56px; }
}

/* 표 머리글은 줄바꿈 금지 — '순위'가 '순/위'로 쪼개지는 것 방지 (가로 스크롤 래퍼가 폭을 흡수) */
.aa-index-table thead th { white-space: nowrap; }

/* ---------- 지도 중앙 확대 안내 ---------- */
.aa-map-hint {
	position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
	z-index: 1200; display: flex; flex-direction: column; align-items: center; gap: 8px;
	max-width: min(320px, calc(100% - 32px));
	padding: 14px 18px; border: 0; border-radius: 16px;
	background: rgba(20, 22, 26, .9); color: #fff;
	font-size: 13.5px; font-weight: 600; line-height: 1.5; text-align: center;
	box-shadow: 0 8px 28px rgba(20, 22, 26, .25);
	pointer-events: none; cursor: default;
	-webkit-tap-highlight-color: transparent;
}
.aa-map-hint[hidden] { display: none; }
.aa-map-hint.is-action { pointer-events: auto; cursor: pointer; }
.aa-map-hint-cta {
	display: inline-block; padding: 8px 16px; border-radius: 999px;
	background: #fff; color: var(--aa-accent-deep); font-size: 13.5px; font-weight: 800;
}
.aa-map-hint.is-action:hover .aa-map-hint-cta,
.aa-map-hint.is-action:active .aa-map-hint-cta { background: var(--aa-bg); }

/* ---------- 랭킹 지역 칩: 전국 / 시·도 / 시·군·구 3줄 ---------- */
.aa-rank-chips + .aa-rank-chips { margin-top: 9px; padding-top: 9px; border-top: 1px dashed var(--aa-line); }
.aa-rank-chips--sido .aa-rank-chip { font-size: 12px; padding: 5px 11px; }

/* ---------- 아아가족 표: 기본 가운데, 버튼 목록만 왼쪽 ---------- */
.aa-index-table.aa-center-table th,
.aa-index-table.aa-center-table td,
.aa-index-table.aa-center-table td.aa-num,
.aa-index-table.aa-center-table td.aa-rank-no { text-align: center; }
.aa-index-table.aa-center-table th.aa-col-tags,
.aa-index-table.aa-center-table td.aa-fam-tags { text-align: left; }
.aa-index-table.aa-center-table td.aa-fam-tags { justify-content: flex-start; }
.aa-index-table.aa-center-table td.aa-fam-region { text-align: center; }

@media (max-width: 640px) {
	/* 모바일은 하단 시트가 지도 아래쪽을 덮어 안내가 가리지 않도록 살짝 위로 */
	.aa-map-hint { top: 38%; padding: 12px 16px; font-size: 13px; }
}

/* 태블릿(≤1024)은 햄버거로 전환되므로, 그 위 폭에서는 메뉴가 두 줄로 접히지 않게 압축 */
@media (min-width: 1025px) and (max-width: 1400px) {
	.aa-nav { flex-wrap: nowrap; gap: 2px; }
	.aa-nav a { padding: 6px 9px; font-size: 13.5px; white-space: nowrap; }
	.aa-search { max-width: 300px; }
}

/* ---------- 404 ---------- */
.aa-404-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 18px 0 8px; }
.aa-404-card {
	display: flex; flex-direction: column; gap: 3px; padding: 16px 18px;
	background: var(--aa-surface); border: 1px solid var(--aa-line); border-radius: var(--aa-radius);
	box-shadow: var(--aa-shadow-sm); color: var(--aa-ink); text-decoration: none;
	transition: border-color .15s ease, transform .15s ease;
}
.aa-404-card:hover { border-color: var(--aa-accent); text-decoration: none; transform: translateY(-1px); }
.aa-404-card strong { font-size: 15.5px; font-weight: 800; }
.aa-404-card span { font-size: 12.5px; color: var(--aa-sub); }
.aa-404-search { color: var(--aa-sub); font-size: 13px; margin-top: 14px; }
@media (max-width: 640px) {
	.aa-404-links { grid-template-columns: 1fr; }
}

/* ===== 2026-09-30: 검색 구조·접근성·표시 정리 ===== */

/* 본문 바로가기 (키보드 사용자용, 포커스 시에만 보인다) */
.aa-skip { position: absolute; left: 12px; top: -56px; z-index: 1400; background: var(--aa-accent); color: #fff; padding: 10px 16px; border-radius: 0 0 10px 10px; font-weight: 700; font-size: 14px; }
.aa-skip:focus { top: 0; color: #fff; text-decoration: none; }

/* 스크린리더 전용 텍스트 (페이지 나눔 제목 등) */
.screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important; }

/* 광고 코드가 없으면 빈 띠를 만들지 않는다 */
.aa-ad-bar:empty { display: none; }

/* 이동 경로 */
.aa-container .aa-breadcrumb { font-size: 13px; margin-bottom: 4px; }
.aa-container .aa-breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; }
.aa-container .aa-breadcrumb li { margin: 0; font-size: 13px; color: var(--aa-sub); }
.aa-container .aa-breadcrumb li + li::before { content: "›"; margin: 0 7px; color: var(--aa-sub); }
.aa-breadcrumb a { position: relative; color: var(--aa-sub); }
.aa-breadcrumb a::after { content: ""; position: absolute; inset: -6px -3px; }
.aa-breadcrumb a:hover { color: var(--aa-accent-deep); }
.aa-breadcrumb [aria-current="page"] { color: var(--aa-ink); font-weight: 600; }

/* 지역 페이지 */
.aa-region-lead { color: var(--aa-sub); margin: 12px 0 16px; }
.aa-region-grid { list-style: none; padding: 0 !important; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; }
.aa-container .aa-region-grid li { position: relative; margin: 0; background: var(--aa-surface); border: 1px solid var(--aa-line); border-radius: 12px; }
.aa-container .aa-region-grid li:hover { background: var(--aa-hover); }
.aa-region-grid a { display: block; padding: 12px 14px 2px; font-weight: 700; color: var(--aa-ink); }
.aa-region-grid a::after { content: ""; position: absolute; inset: 0; }
.aa-region-grid a:hover { text-decoration: none; color: var(--aa-accent-deep); }
.aa-region-grid-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 2px 14px 12px; font-size: 13px; color: var(--aa-sub); }
.aa-region-grid-meta .aa-pricetag { font-size: 12.5px; padding: 2px 9px; }

/* 가격 없음·비공개 표시는 가격대 색(초록·파랑·보라)을 쓰지 않는다 */
.aa-pricetag.aa-t0 { color: var(--aa-sub); background: var(--aa-bg); padding: 3px 10px; border-radius: 999px; font-weight: 700; }

/* 숨김(폐업·카페 아님) 카페 안내 */
.aa-hidden-note { background: #fff4e5; border: 1px solid #f0d9b5; color: #7a4b0f; padding: 10px 14px; border-radius: 10px; font-size: 14px; margin: 8px 0 14px; }

/* 페이지 나눔 */
.aa-container .navigation.pagination { margin: 22px 0 8px; }
.navigation.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.navigation.pagination .page-numbers { min-width: 40px; height: 40px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--aa-line); border-radius: 10px; background: var(--aa-surface); color: var(--aa-ink); font-weight: 600; font-size: 14px; }
.navigation.pagination a.page-numbers:hover { background: var(--aa-hover); text-decoration: none; }
.navigation.pagination .page-numbers.current { background: var(--aa-accent); border-color: var(--aa-accent); color: #fff; }
.navigation.pagination .page-numbers.dots { border-color: transparent; background: transparent; min-width: 24px; padding: 0 2px; }

/* 터치 영역: 레이아웃은 그대로 두고 눌리는 범위만 24px 이상으로 넓힌다 */
.aa-brand { position: relative; }
.aa-brand::after { content: ""; position: absolute; inset: -8px -4px; }
.aa-index-table tbody a { position: relative; }
.aa-index-table tbody a::after { content: ""; position: absolute; inset: -9px -4px; }
.aa-footer-nav a { position: relative; }
.aa-footer-nav a::after { content: ""; position: absolute; inset: -3px 0; }

/* 지도: 겹친 마커를 줄였을 때 알리는 작은 안내 */
.aa-declutter-note {
	position: absolute; left: 50%; top: 14px; transform: translateX(-50%);
	z-index: 1150; max-width: calc(100% - 24px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
	padding: 6px 14px; border-radius: 999px;
	background: rgba(20, 22, 26, .88); color: #fff; font-size: 12.5px; font-weight: 600;
	pointer-events: none;
}
.aa-declutter-note[hidden] { display: none; }

/* 명도 대비 보정 (WCAG AA 4.5:1): 광고 표시, 보라 가격 알약, 소개 페이지 본문에 박힌 옛 초록 */
.aa-popup-adbadge { background: #f3e3b3; color: #6f5000; }
.aa-ad-mini { color: #7a5c00; }
.aa-pricetag.aa-t3 { color: #6a4daa; }
.aa-container span[style*="#1d8a4e"] { color: var(--aa-t1) !important; }

/* 터치 영역: 목록형 링크도 24px 이상으로 */
.aa-mini-rank a, .aa-info dd a { position: relative; }
.aa-mini-rank a::after, .aa-info dd a::after { content: ""; position: absolute; inset: -5px -4px; }

/* 404 하단 복구 링크(mu-plugin이 wp_footer에 출력): 푸터 밖에서 왼쪽 끝에 붙던 것을 본문 폭에 맞춰 정돈 */
.gjc-404-recovery { max-width: 760px; margin: 0 auto; padding: 22px 20px 44px; font-size: 13px; color: var(--aa-sub); border-top: 1px dashed var(--aa-line); }
.gjc-404-recovery h2 { margin: 0 0 6px; font-size: 13.5px; color: var(--aa-ink); }
.gjc-404-recovery p { margin: 0 0 8px; font-size: 13px; }
.gjc-404-recovery ul { margin: 0; padding-left: 18px; }
.gjc-404-recovery li { margin: 3px 0; font-size: 13px; }

/* 겹침 안내: 데스크톱·태블릿에서는 왼쪽 대시보드를 피해 지도 영역의 가운데에 둔다 */
@media (min-width: 641px) {
	.aa-declutter-note { left: calc(50% + 150px); max-width: calc(50% - 170px); }
}

/* ===== 2026-09-30b: 디자인 정교화 (워마 크림·브라운 톤은 그대로 두고 위계·밀도·접근성을 다듬는다) ===== */

/* 한글은 어절 단위로 줄바꿈한다('내/려갈'처럼 어절 중간에서 끊기지 않게). 표 셀은 기존 동작을 유지한다. */
.aa-container :is(h1, h2, h3, p, li, dt, dd, label, legend),
.aa-panel :is(h1, h2, p, li, a, label),
.aa-footer :is(p, a, strong) { word-break: keep-all; overflow-wrap: break-word; }
.aa-cafe-list a { min-width: 0; overflow-wrap: anywhere; } /* 긴 상호가 가격 알약을 밀어내지 않게 */

/* 페이지 머리말: 라벨 → 제목 → 소개문 */
.aa-container .aa-eyebrow { display: block; margin: 0 0 4px; font-size: 12.5px; font-weight: 700; letter-spacing: .04em; color: var(--aa-accent); }
.aa-container .aa-eyebrow + h1 { margin-top: 0; }
.aa-container h1 { font-size: 30px; line-height: 1.3; letter-spacing: -.025em; }
.aa-content > p:first-child { font-size: 16px; line-height: 1.75; }
@media (max-width: 640px) {
	.aa-container h1 { font-size: 25px; }
	.aa-content > p:first-child { font-size: 15.5px; }
}

/* 현재 메뉴 표시 */
.aa-nav a[aria-current="page"]:not(.aa-nav-cta) { background: var(--aa-hover); color: var(--aa-accent-deep); }
.aa-nav .aa-nav-cta[aria-current="page"] { box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .55); }

/* 가격 히어로: 은은한 하이라이트, 큰 숫자, 명도 대비 보정 */
.aa-price-hero { position: relative; overflow: hidden; }
.aa-price-hero::after {
	content: ""; position: absolute; right: -46px; top: -70px; width: 200px; height: 200px; border-radius: 50%;
	background: radial-gradient(circle, rgba(255, 255, 255, .17), rgba(255, 255, 255, 0) 68%); pointer-events: none;
}
.aa-price-value { font-size: 38px; }
.aa-price-label, .aa-price-meta { opacity: .96; }
.aa-price-hero.aa-t0 { background: linear-gradient(135deg, #66748a, #4f5b6e); } /* 흰 글자 대비 4.5:1 이상 */
.aa-pin.aa-t0 span { background: #6b727a; }
@media (max-width: 640px) { .aa-price-value { font-size: 34px; } }

/* 카페 상세: 반응(태그·없어졌어요)은 핵심 정보 아래 한 카드로 모은다 */
.aa-react-card {
	margin: 26px 0 8px; padding: 16px 18px 18px; background: var(--aa-surface);
	border: 1px solid var(--aa-line); border-radius: var(--aa-radius); box-shadow: var(--aa-shadow-sm);
}
.aa-react-card .aa-tag-box, .aa-react-card .aa-vote-box { margin: 0; }
.aa-react-card .aa-tag-box + .aa-vote-box { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--aa-line); }

/* 푸터: 로고 통일, 링크 2열 */
.aa-footer-brand strong { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; }
.aa-footer-brand .aa-logo { transform: translateY(-1px); }
.aa-footer-nav { display: grid; grid-template-columns: repeat(2, max-content); gap: 8px 32px; }

/* 통계 카드·하위 지역 카드: 모바일 밀도 */
@media (max-width: 640px) {
	.aa-stat-cards { grid-template-columns: 1fr 1fr; gap: 8px; }
	.aa-stat-card:first-child { grid-column: 1 / -1; }
	.aa-stat-card { padding: 12px 14px; }
}
@media (max-width: 520px) {
	.aa-region-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
	.aa-region-grid a { padding: 11px 12px 2px; }
	.aa-region-grid-meta { flex-direction: column; align-items: flex-start; gap: 6px; padding: 2px 12px 11px; }
}

/* 모바일 홈: 대시보드는 첫 화면에서 접혀 있고, 접힌 상태에서도 무엇이 들어 있는지 보인다 */
.aa-panel-hint { display: none; }
@media (max-width: 640px) {
	.aa-panel.is-collapsed { transform: translateY(calc(100% - 100px - env(safe-area-inset-bottom, 0px))); cursor: pointer; }
	.aa-panel.is-collapsed > :not(.aa-panel-toggle):not(h1):not(.aa-panel-hint) { visibility: hidden; } /* 가려진 필터가 키보드 포커스를 받아 화면이 밀리는 것을 막는다 */
	.aa-panel.is-collapsed .aa-panel-hint { display: block; margin: 3px 0 0; font-size: 12.5px; font-weight: 600; color: var(--aa-accent); }
}

/* 동작 줄이기 설정을 존중한다 */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* 제목 안 이모지와 글자 사이 간격 */
.aa-container h2 img.emoji { margin-right: .3em; }

/* 내용이 짧은 페이지(404·문의 등)에서도 푸터를 화면 아래에 둔다 */
body:not(.home) { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; }
body:not(.home) > .aa-container { width: 100%; }
body:not(.home) > .aa-footer { margin-top: auto; }
body:not(.home) > .gjc-404-recovery { width: 100%; } /* mu-plugin이 푸터 뒤에 붙이는 404 복구 링크: flex 열에서도 본문 폭(최대 760px)으로 */

/* 리뷰 반영: 가격 비공개 문구 크기 유지, 긴 상호가 이동 경로·정보표를 넘치지 않게, 관리자 바가 있을 때 불필요한 스크롤 방지 */
.aa-price-value.aa-price-private { font-size: 24px; }
.aa-container .aa-breadcrumb li, .aa-container .aa-info dd { min-width: 0; overflow-wrap: anywhere; }
body.admin-bar:not(.home) { min-height: calc(100vh - 32px); min-height: calc(100dvh - 32px); }
@media (max-width: 782px) { body.admin-bar:not(.home) { min-height: calc(100vh - 46px); min-height: calc(100dvh - 46px); } }

/* =====================================================================
   2026-09-30c: 지수판(A) 전면 개편
   레이아웃 동작(모바일 시트·접힘·필터·말풍선 위치)은 그대로 두고 화면 표현만 바꾼다.
   원칙: 흰 바탕 + 가는 선, 그림자 없음, 색은 가격대 3색, 가격·순위·라벨은 고정폭 숫자.
   ===================================================================== */

@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/ibm-plex-mono-latin-500.woff2") format("woff2"); unicode-range: U+0000-00FF, U+2013-2014, U+2018-201F, U+2022, U+2026, U+20A9, U+2190-2193, U+2212; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/ibm-plex-mono-latin-600.woff2") format("woff2"); unicode-range: U+0000-00FF, U+2013-2014, U+2018-201F, U+2022, U+2026, U+20A9, U+2190-2193, U+2212; }

body { font-size: 15px; background: var(--aa-bg); }
a { color: var(--aa-ink); }
a:hover { color: var(--aa-ink); }
:focus-visible { outline: 2px solid var(--aa-t2); outline-offset: 2px; }
.aa-num { font-family: var(--aa-mono); font-weight: 600; letter-spacing: -.01em; }

/* ---------- 상단바 ---------- */
.aa-topbar { height: var(--aa-top-h); padding: 0 20px; background: var(--aa-surface); border-bottom: 1px solid var(--aa-line); }
.aa-brand { font-size: 18px; font-weight: 800; letter-spacing: -.03em; gap: 8px; color: var(--aa-ink); }
.aa-brand:hover { color: var(--aa-ink); }
.aa-brand .aa-logo { color: var(--aa-ink); }
.aa-brand-code { font-family: var(--aa-mono); font-size: 10px; font-weight: 600; letter-spacing: .06em; color: var(--aa-sub); border: 1px solid var(--aa-line); border-radius: 3px; padding: 2px 5px 1px; line-height: 1.3; }
.aa-search input[type=search] {
	border-radius: 6px; background: var(--aa-bg) no-repeat 11px 50% / 15px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235a616e' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E");
	padding: 8px 12px 8px 34px; border: 1px solid var(--aa-line); color: var(--aa-ink);
}
.aa-search input[type=search]:focus { background-color: var(--aa-surface); border-color: var(--aa-ink); }
.aa-search input[type=search]::placeholder { color: var(--aa-sub); }
.aa-search-results { border-radius: 8px; border-color: var(--aa-line); }
.aa-sr-label { font-family: var(--aa-mono); font-size: 10.5px; letter-spacing: .02em; }
.aa-search-results a:hover, .aa-search-results a:focus, .aa-sr-row:hover { background: var(--aa-hover); }
.aa-sr-price, .aa-sr-avg { font-family: var(--aa-mono); font-weight: 600; color: var(--aa-ink); }
.aa-sr-acts a, .aa-sr-map { border-radius: 5px; border-color: var(--aa-ink); color: var(--aa-ink); }
.aa-sr-map { background: var(--aa-ink); color: #fff; }
.aa-sr-map:hover { background: #000; }

@media (min-width: 1025px) {
	.aa-topbar { align-items: stretch; }
	.aa-brand, .aa-search { align-self: center; }
	.aa-nav { align-self: stretch; align-items: stretch; flex-wrap: nowrap; gap: 0; }
	.aa-nav a {
		display: inline-flex; align-items: center; padding: 0 10px; border-radius: 0;
		font-size: 13.5px; font-weight: 500; color: var(--aa-sub); white-space: nowrap;
		border-bottom: 2px solid transparent; margin-bottom: -1px;
	}
	.aa-nav a:hover { background: none; color: var(--aa-ink); text-decoration: none; }
	.aa-nav a[aria-current="page"]:not(.aa-nav-cta) { background: none; color: var(--aa-ink); font-weight: 700; border-bottom-color: var(--aa-ink); }
	.aa-nav .aa-nav-cta {
		align-self: center; margin: 0 0 0 8px; padding: 7px 12px; border: 1px solid var(--aa-ink); border-radius: 6px;
		background: var(--aa-surface); color: var(--aa-ink); font-weight: 700;
	}
	.aa-nav .aa-nav-cta:hover { background: var(--aa-ink); color: #fff; }
	.aa-nav .aa-nav-cta[aria-current="page"] { background: var(--aa-ink); color: #fff; box-shadow: none; }
}
@media (max-width: 1024px) {
	.aa-nav { border-radius: 8px; border-color: var(--aa-line); padding: 6px; }
	.aa-nav a { border-radius: 5px; font-weight: 500; color: var(--aa-ink); }
	.aa-nav a:hover { background: var(--aa-hover); }
	.aa-nav a[aria-current="page"]:not(.aa-nav-cta) { background: var(--aa-bg); font-weight: 700; box-shadow: inset 2px 0 0 var(--aa-ink); }
	.aa-nav .aa-nav-cta { background: var(--aa-ink); color: #fff; border-radius: 5px; }
	.aa-nav .aa-nav-cta:hover { background: #000; color: #fff; }
	.aa-nav-toggle { border-radius: 6px; }
	.aa-nav-toggle span { height: 2px; }
	.nav-open .aa-nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
	.nav-open .aa-nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 1400px) and (min-width: 1025px) {
	.aa-nav a { padding: 0 8px; font-size: 13px; }
}
@media (max-width: 1180px) and (min-width: 1025px) {
	.aa-brand-code { display: none; }
}
@media (max-width: 640px) {
	:root { --aa-top-h: 52px; }
	.aa-topbar { padding: 0 8px 0 10px; }
	.aa-nav-toggle { width: 40px; height: 40px; padding: 9px; }
	.aa-map-wrap { height: calc(100dvh - var(--aa-top-h)); }
	.aa-brand { font-size: 16.5px; }
	.aa-brand-code { display: none; }
	.aa-search input[type=search] { padding: 6px 10px 6px 32px; background-position: 10px 50%; }
}

/* ---------- 시세 띠 ---------- */
.aa-ticker {
	display: flex; align-items: center; gap: 16px; height: var(--aa-ticker-h); padding: 0 20px;
	background: var(--aa-ink); color: #c5cad4; font-family: var(--aa-mono); font-size: 11.5px; font-weight: 500;
	white-space: nowrap; overflow-x: auto; overflow-y: hidden; scrollbar-width: none;
}
.aa-ticker::-webkit-scrollbar { display: none; }
.aa-ticker b { color: #fff; font-weight: 600; }
.aa-ticker a { color: #c5cad4; text-decoration: none; }
.aa-ticker a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.aa-ticker-k { color: #fff; background: #2a2e36; padding: 2px 7px; border-radius: 3px; font-family: "Pretendard Variable", "Pretendard", sans-serif; font-size: 11px; font-weight: 700; }
.aa-ticker-sep { flex: 0 0 1px; height: 12px; background: #3a3f49; }
.aa-ticker-item { display: inline-flex; gap: 6px; align-items: baseline; }
@media (max-width: 640px) {
	body.home .aa-ticker { display: none; }
	.aa-ticker { padding: 0 12px; gap: 12px; }
}

/* ---------- 지도 화면: 데스크톱은 대시보드를 왼쪽에 붙이고, 모바일은 하단 시트 ---------- */
@media (min-width: 641px) {
	.aa-map-wrap { height: calc(100dvh - var(--aa-top-h) - var(--aa-ticker-h)); }
	#aa-map { left: var(--aa-dock-w); }
	.aa-panel {
		top: 0; left: 0; bottom: 0; width: var(--aa-dock-w); max-height: none;
		border: 0; border-right: 1px solid var(--aa-line); border-radius: 0; box-shadow: none;
		padding: 20px 20px 28px; background: var(--aa-surface); -webkit-backdrop-filter: none; backdrop-filter: none;
	}
	.aa-map-hint, .aa-ad-bar { left: calc(50% + var(--aa-dock-w) / 2); }
	.aa-declutter-note { left: calc(50% + var(--aa-dock-w) / 2); max-width: calc(100% - var(--aa-dock-w) - 32px); }
}
@media (min-width: 641px) and (max-width: 900px) {
	:root { --aa-dock-w: 288px; }
}
.aa-panel h1 { font-size: 20px; font-weight: 800; letter-spacing: -.03em; line-height: 1.3; }
.aa-sub { font-size: 13px; }
.aa-panel h2, .aa-filters h2 {
	margin: 14px 0 8px; padding-top: 12px; border-top: 1px solid var(--aa-line);
	font-family: var(--aa-mono); font-size: 10.5px; font-weight: 600; letter-spacing: .02em; color: var(--aa-sub);
}
.aa-filters h2:first-child { margin-top: 16px; }
.aa-panel .aa-premium-box h2 { border: 0; padding: 0; margin: 0 0 8px; }
.aa-panel .aa-admin-map-tools h2 { border: 0; padding: 0; margin-top: 0; color: #9f1239; }
.aa-chips { gap: 5px; }
.aa-chip {
	border-radius: var(--aa-r-sm); border: 1px solid var(--aa-line); background: var(--aa-surface);
	color: var(--aa-sub); font-weight: 500; font-size: 12.5px; padding: 5px 10px;
}
.aa-chip:hover { border-color: var(--aa-ink); color: var(--aa-ink); }
.aa-chip.is-on { background: var(--aa-ink); border-color: var(--aa-ink); color: #fff; font-weight: 600; }
.aa-filter-count { color: var(--aa-ink); font-family: var(--aa-mono); font-size: 11.5px; }
.aa-mini-rank { list-style: none; padding: 0; counter-reset: aa-rank; font-size: 13.5px; }
.aa-mini-rank li { display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; align-items: baseline; gap: 6px; margin: 0; padding: 7px 0; border-bottom: 1px dashed var(--aa-line); counter-increment: aa-rank; }
.aa-mini-rank li::before { content: counter(aa-rank); font-family: var(--aa-mono); font-size: 11.5px; color: var(--aa-sub); }
.aa-mini-rank a { color: var(--aa-ink); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.aa-mini-rank .aa-num { float: none; font-weight: 600; }
.aa-panel > p > a { font-weight: 700; font-size: 13px; }
.aa-panel .aa-request-box { margin-top: 20px; border: 1px solid var(--aa-line); border-radius: var(--aa-radius); background: var(--aa-bg); padding: 14px; }
.aa-panel .aa-request-box h2 { border: 0; padding: 0; margin: 0 0 4px; font-family: inherit; font-size: 13.5px; letter-spacing: 0; color: var(--aa-ink); }
.aa-panel .aa-request-box input[type=text] { background: var(--aa-surface); }
.aa-panel .aa-request-box button { width: 100%; }
@media (max-width: 640px) {
	.aa-panel {
		left: 0; right: 0; bottom: 0; border: 0; border-top: 1px solid var(--aa-line); border-radius: 12px 12px 0 0;
		background: var(--aa-surface); -webkit-backdrop-filter: none; backdrop-filter: none;
		box-shadow: 0 -8px 28px rgba(20, 22, 26, .14);
	}
	.aa-panel-toggle { border-radius: 12px 12px 0 0; }
	.aa-panel-grip { width: 38px; height: 4px; background: var(--aa-line-2); }
	.aa-panel h1 { font-size: 17px; }
	.aa-panel.is-collapsed .aa-panel-hint { color: var(--aa-sub); font-family: var(--aa-mono); font-size: 11.5px; }
}

/* ---------- 가격 마커: 네모난 가격표 + 고정폭 숫자 ---------- */
.aa-pin span {
	border-radius: 3px; border: 0; padding: 4px 6px 3px;
	font-family: var(--aa-mono); font-size: 12px; font-weight: 600; letter-spacing: -.02em; line-height: 1.25;
	box-shadow: 0 0 0 1.5px #fff, 0 1px 4px rgba(20, 22, 26, .38);
}
.aa-pin:hover span { transform: translateY(-1px) scale(1.06); }
.aa-pin.aa-t0 span { background: var(--aa-t0); }
.aa-pin--optout span { background: #4b5563; }
.aa-pin--ad span::before { border-radius: 7px; inset: -5px; padding: 3px; }
.aa-ad-mini { font-family: var(--aa-mono); border-radius: 2px; font-size: 8.5px; }
.aa-pin--hidden, .aa-pin--needreport, .aa-pin--collectfail, .aa-pin--collectresolved { border-radius: 5px; }

/* ---------- 말풍선 ---------- */
.aa-popup-card { border-radius: var(--aa-radius); border-color: var(--aa-line); box-shadow: var(--aa-shadow-md); }
.aa-popup h3 { font-size: 15px; font-weight: 700; letter-spacing: -.02em; }
.aa-popup .aa-popup-price { font-family: var(--aa-mono); font-size: 22px; font-weight: 600; letter-spacing: -.03em; line-height: 1.25; margin: 2px 0 4px; color: var(--aa-ink); }
.aa-popup .aa-popup-price.aa-t1 { color: var(--aa-t1); }
.aa-popup .aa-popup-price.aa-t2 { color: var(--aa-t2); }
.aa-popup .aa-popup-price.aa-t3 { color: var(--aa-t3); }
.aa-popup .aa-popup-price.aa-t0 { color: var(--aa-sub); font-family: inherit; font-size: 15px; font-weight: 700; letter-spacing: 0; }
.aa-popup .aa-popup-meta { font-size: 12px; }
.aa-popup .aa-popup-actions a,
.aa-popup .aa-report-btn,
.aa-popup .aa-collect-btn,
.aa-popup .aa-hide-btn,
.aa-popup .aa-needreport-btn,
.aa-popup .aa-optout-btn,
.aa-popup .aa-confirm-btn { border-radius: var(--aa-r-sm); }
.aa-popup .aa-popup-actions a { background: var(--aa-ink); border-color: var(--aa-ink); color: #fff; }
.aa-popup .aa-popup-actions a:hover { background: #000; border-color: #000; }
.aa-popup .aa-report-btn { background: var(--aa-surface); color: var(--aa-ink); border-color: var(--aa-ink); }
.aa-popup .aa-report-btn:hover { background: var(--aa-hover); border-color: var(--aa-ink); }
.aa-popup .aa-collect-btn { background: var(--aa-surface); color: var(--aa-sub); border-color: var(--aa-line-2); }
.aa-popup .aa-collect-btn:hover { background: var(--aa-hover); color: var(--aa-ink); }
.aa-popup .aa-popup-actions a.aa-naver-btn { background: var(--aa-surface); color: var(--aa-ink); border-color: var(--aa-line-2); }
.aa-popup .aa-popup-actions a.aa-naver-btn:hover { background: var(--aa-hover); color: var(--aa-ink); border-color: var(--aa-ink); }
.aa-popup .aa-src-badge { border-radius: 3px; }
.aa-popup-close { font-size: 20px; }

/* ---------- 지도 위 안내 ---------- */
.aa-map-hint { border-radius: var(--aa-radius); background: rgba(20, 22, 26, .92); box-shadow: 0 8px 24px rgba(20, 22, 26, .25); }
.aa-map-hint-cta { border-radius: var(--aa-r-sm); color: var(--aa-ink); font-weight: 700; }
.aa-declutter-note { border-radius: 4px; background: rgba(20, 22, 26, .88); font-size: 12px; font-weight: 500; }
.aa-ad { border-radius: var(--aa-radius); }
.aa-ad-bar { filter: none; }

/* ---------- 본문 공통 ---------- */
.aa-container { max-width: 800px; padding: 32px 20px 72px; }
.aa-container h1 { font-size: 30px; font-weight: 800; letter-spacing: -.035em; line-height: 1.25; margin: 6px 0 8px; text-wrap: balance; }
.aa-container h2 {
	margin: 40px 0 14px; padding: 12px 0 0; border: 0; border-top: 2px solid var(--aa-ink);
	font-size: 17px; font-weight: 800; letter-spacing: -.02em;
}
.aa-container :is(.aa-request-box, .aa-report-cta, .aa-demo-card, .aa-earlybird-box, .aa-react-card, .aa-form) :is(h2, h3) { border: 0; padding: 0; margin-top: 0; }
.aa-container h3 { letter-spacing: -.015em; }
.aa-container p, .aa-container li { font-size: 15px; }
.aa-content :is(p, li, dd) > a:not([class]), .aa-region-lead a { color: var(--aa-t2); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.aa-content :is(p, li, dd) > a:not([class]):hover { color: var(--aa-ink); }
.aa-index-table tbody a { color: var(--aa-ink); font-weight: 600; text-decoration: none; }
.aa-index-table tbody a:hover { text-decoration: underline; text-underline-offset: 3px; }
.aa-container .aa-eyebrow {
	display: inline-flex; align-items: center; gap: 7px; margin: 0 0 6px;
	font-family: var(--aa-mono); font-size: 11px; font-weight: 600; letter-spacing: .02em; color: var(--aa-sub);
}
.aa-container .aa-eyebrow::before { content: ""; width: 7px; height: 7px; background: var(--aa-ink); }
.aa-container .aa-breadcrumb li { font-size: 12.5px; }
.aa-content > p:first-child { color: var(--aa-ink); }
@media (max-width: 640px) {
	.aa-container { padding: 22px 16px 56px; }
	.aa-container h1 { font-size: 24px; }
	.aa-container h2 { margin-top: 32px; font-size: 16px; }
}

/* ---------- 가격 카드(카페·지역) ---------- */
.aa-price-hero,
.aa-price-hero.aa-t0, .aa-price-hero.aa-t1, .aa-price-hero.aa-t2, .aa-price-hero.aa-t3 {
	background: var(--aa-surface); color: var(--aa-ink); border: 1px solid var(--aa-line); border-radius: var(--aa-radius);
	box-shadow: none; padding: 18px 20px; margin: 16px 0; gap: 6px;
}
.aa-price-hero::after { content: none; }
.aa-hero-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.aa-price-label { font-family: var(--aa-mono); font-size: 11px; font-weight: 600; letter-spacing: .02em; color: var(--aa-sub); opacity: 1; }
.aa-price-meta { font-family: var(--aa-mono); font-size: 11.5px; font-weight: 500; color: var(--aa-sub); opacity: 1; }
.aa-price-value { font-family: var(--aa-mono); font-size: 46px; font-weight: 600; letter-spacing: -.045em; line-height: 1.05; }
.aa-price-hero.aa-t1 .aa-price-value { color: var(--aa-t1); }
.aa-price-hero.aa-t2 .aa-price-value { color: var(--aa-t2); }
.aa-price-hero.aa-t3 .aa-price-value { color: var(--aa-t3); }
.aa-price-hero.aa-t0 .aa-price-value { color: var(--aa-sub); font-family: inherit; font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.aa-price-value.aa-price-private { font-size: 22px; }
@media (max-width: 640px) { .aa-price-value { font-size: 40px; } }
.aa-src-badge { border-radius: 3px; margin-top: 2px; font-size: 11.5px; }
.aa-src-family { background: var(--aa-t1-soft); color: var(--aa-t1); }
.aa-src-owner { background: #fff1c7; color: #6b4a00; }
.aa-src-admin { background: var(--aa-bg); color: var(--aa-ink); border: 1px solid var(--aa-line); }

/* 동네 최저·평균·최고 사이의 위치 */
.aa-range { margin-top: 8px; padding-top: 12px; border-top: 1px dashed var(--aa-line); }
.aa-range-cap { font-size: 12px; color: var(--aa-sub); }
.aa-range-bar {
	position: relative; height: 8px; margin: 10px 0 7px; border-radius: 2px;
	background: linear-gradient(90deg, var(--aa-t1) 0 var(--s1, 33%), var(--aa-t2) var(--s1, 33%) var(--s2, 66%), var(--aa-t3) var(--s2, 66%));
}
.aa-range-avg { position: absolute; top: -4px; width: 2px; height: 16px; margin-left: -1px; background: var(--aa-ink); }
.aa-range-me { position: absolute; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--aa-surface); border: 3px solid var(--aa-ink); box-shadow: 0 0 0 2px var(--aa-surface); }
.aa-range-lbl { display: flex; justify-content: space-between; gap: 8px; font-family: var(--aa-mono); font-size: 11px; color: var(--aa-sub); }
.aa-range-lbl b { color: var(--aa-ink); font-weight: 600; }
.aa-range-delta { margin: 8px 0 0; font-size: 13.5px; }
.aa-range-delta b { font-family: var(--aa-mono); font-weight: 600; }
.aa-range-delta.is-low b { color: var(--aa-t1); }
.aa-range-delta.is-high b { color: var(--aa-t3); }

/* 지역 요약 수치 */
.aa-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--aa-line); border: 1px solid var(--aa-line); border-radius: var(--aa-radius); overflow: hidden; margin: 16px 0 12px; }
.aa-stats > div { background: var(--aa-surface); padding: 12px 14px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.aa-stats span { font-size: 11.5px; color: var(--aa-sub); }
.aa-stats b { font-family: var(--aa-mono); font-size: 21px; font-weight: 600; letter-spacing: -.03em; line-height: 1.15; }
.aa-stats small { font-family: var(--aa-mono); font-size: 11.5px; color: var(--aa-sub); font-weight: 500; }
.aa-stats .aa-t1 b { color: var(--aa-t1); } .aa-stats .aa-t2 b { color: var(--aa-t2); } .aa-stats .aa-t3 b { color: var(--aa-t3); }
.aa-stats + .aa-range { margin: 0 0 12px; padding: 12px 14px; border: 1px solid var(--aa-line); border-radius: var(--aa-radius); background: var(--aa-surface); }
@media (max-width: 520px) {
	.aa-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.aa-stats b { font-size: 19px; }
}

/* ---------- 정보·버튼 ---------- */
.aa-info { border-radius: var(--aa-radius); box-shadow: none; font-size: 14px; padding: 14px 18px; }
.aa-info dt { color: var(--aa-sub); font-size: 13px; }
.aa-map-focus-btn {
	border-radius: 6px; border: 1px solid var(--aa-ink); color: var(--aa-ink); background: var(--aa-surface);
	font-weight: 700; font-size: 13.5px; padding: 10px 14px;
}
.aa-map-focus-btn:hover { background: var(--aa-hover); color: var(--aa-ink); }
.aa-detail-actions > .aa-map-focus-btn:first-child { background: var(--aa-ink); color: #fff; }
.aa-detail-actions > .aa-map-focus-btn:first-child:hover { background: #000; color: #fff; }
.aa-naver-btn, .aa-naver-btn:hover { border-color: var(--aa-line-2); color: var(--aa-ink); }
.aa-naver-btn:hover { background: var(--aa-hover); border-color: var(--aa-ink); }
.aa-detail-actions--single { grid-template-columns: 1fr; margin-bottom: 16px; }

/* ---------- 표·목록 ---------- */
.aa-menu-table, .aa-index-table { border-radius: var(--aa-radius); box-shadow: none; font-size: 14px; }
.aa-menu-table td, .aa-index-table td, .aa-index-table th { padding: 10px 14px; }
.aa-menu-table tr:hover td, .aa-index-table tbody tr:hover td { background: var(--aa-hover); }
.aa-menu-table td.aa-num, .aa-index-table td.aa-num { font-family: var(--aa-mono); font-weight: 600; }
.aa-index-table thead th { font-family: var(--aa-mono); font-size: 10.5px; font-weight: 600; letter-spacing: .02em; color: var(--aa-sub); background: var(--aa-bg); }
.aa-index-table:not(.aa-brands-table):not(.aa-cov-table):not(.aa-center-table) tbody td:first-child { font-family: var(--aa-mono); font-size: 12px; color: var(--aa-sub); width: 52px; }
.aa-brands-table tbody tr, .aa-brands-table tbody tr[style] { background: transparent !important; }
.aa-brand-dot { width: 10px; height: 10px; border-radius: 2px; box-shadow: none; }
.aa-menu-hit td { font-weight: 700; }
.aa-menu-hit td:first-child::after {
	content: "지수 채택"; margin-left: 8px; padding: 1px 5px; border-radius: 3px; vertical-align: 1px;
	background: var(--aa-ink); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: .02em; white-space: nowrap;
}
.aa-container .aa-history { list-style: none; padding: 0; margin: 0; border: 1px solid var(--aa-line); border-radius: var(--aa-radius); background: var(--aa-surface); }
.aa-container .aa-history li { display: flex; justify-content: space-between; gap: 12px; margin: 0; padding: 10px 14px; border-bottom: 1px solid var(--aa-line); font-size: 14px; }
.aa-container .aa-history li:last-child { border-bottom: 0; }
.aa-history time { font-family: var(--aa-mono); font-size: 12.5px; color: var(--aa-sub); }

.aa-container .aa-cafe-list { border-top: 1px solid var(--aa-ink); padding: 0; margin-top: 18px; }
.aa-cafe-list li { padding: 12px 2px; }
.aa-cafe-list li:hover { background: var(--aa-hover); }
.aa-cafe-list a { font-weight: 600; }
.aa-pricetag, .aa-pricetag.aa-t0, .aa-pricetag.aa-t1, .aa-pricetag.aa-t2, .aa-pricetag.aa-t3 {
	display: inline-flex; align-items: center; gap: 6px; background: none; padding: 0; border-radius: 0;
	font-family: var(--aa-mono); font-weight: 600; font-size: 13.5px;
}
.aa-pricetag::before { content: ""; width: 8px; height: 8px; border-radius: 1px; background: currentColor; flex: 0 0 auto; }
.aa-pricetag.aa-t0 { color: var(--aa-sub); font-family: inherit; font-size: 13px; }
.aa-pricetag.aa-t0::before { background: none; box-shadow: inset 0 0 0 1.5px var(--aa-line-2); }
.aa-pricetag.aa-t3 { color: var(--aa-t3); }

.aa-region-lead { font-size: 14.5px; }
.aa-region-grid { gap: 8px; }
.aa-container .aa-region-grid li { border-radius: 6px; }
.aa-container .aa-region-grid li:hover { background: var(--aa-hover); border-color: var(--aa-ink); }
.aa-region-grid-meta { font-size: 12.5px; }
.aa-region-grid-meta .aa-pricetag { font-size: 12.5px; padding: 0; }

/* ---------- 참여·제보 ---------- */
.aa-react-card, .aa-request-box { border-radius: var(--aa-radius); box-shadow: none; border-style: solid; border-color: var(--aa-line); }
.aa-container .aa-request-box h2 { font-size: 15px; margin-bottom: 6px; }
.aa-tag-btn, .aa-vote-btn { border-radius: var(--aa-r-sm); border-width: 1px; font-weight: 500; }
.aa-tag-btn:hover { background: var(--aa-hover); border-color: var(--aa-ink); }
.aa-tag-btn b, .aa-vote-btn b { font-family: var(--aa-mono); font-weight: 600; }
.aa-tag-btn b { color: var(--aa-ink); }
.aa-tag-btn.is-on { background: var(--aa-ink); border-color: var(--aa-ink); color: #fff; }
.aa-tag-btn.is-on b { color: #fff; }
.aa-request-box button, .aa-collect-btn, .aa-form button { background: var(--aa-ink); border-radius: 6px; }
.aa-request-box button:hover, .aa-collect-btn:hover, .aa-form button:hover { background: #000; }
.aa-report-btn, .aa-request-box .aa-report-btn { background: var(--aa-ink); border-radius: 6px; }
.aa-report-btn:hover, .aa-request-box .aa-report-btn:hover { background: #000; }
.aa-request-actions .aa-collect-btn { background: var(--aa-surface); color: var(--aa-ink); border: 1px solid var(--aa-ink); }
.aa-request-actions .aa-collect-btn:hover { background: var(--aa-hover); }
.aa-closed-btn, .aa-request-box .aa-closed-btn { border-radius: 6px; border: 1px solid var(--aa-line-2); background: var(--aa-surface); color: var(--aa-ink); }
.aa-closed-btn:hover, .aa-request-box .aa-closed-btn:hover { border-color: var(--aa-ink); background: var(--aa-hover); }
.aa-request-actions .aa-report-btn, .aa-request-actions .aa-collect-btn, .aa-request-actions .aa-closed-btn { border-radius: 6px; }
.aa-report-cta { border: 1px dashed var(--aa-line-2); border-radius: var(--aa-radius); background: var(--aa-surface); }
.aa-report-form { border-radius: var(--aa-radius); background: var(--aa-bg); }
.aa-report-form input[type=number], .aa-report-form input[type=tel] { border-radius: 6px; font-family: var(--aa-mono); }
.aa-report-form input[type=number]:focus, .aa-report-form input[type=tel]:focus { border-color: var(--aa-ink); }
.aa-report-form .aa-report-submit { background: var(--aa-ink); border-radius: 6px; }
.aa-report-form .aa-report-submit:hover { background: #000; }
.aa-report-form .aa-report-cancel { border-radius: 6px; }
.aa-report-roles input, .aa-report-consent input { accent-color: var(--aa-ink); }
.aa-price-chip { border-radius: var(--aa-r-sm); border-width: 1px; font-family: var(--aa-mono); font-weight: 600; }
.aa-price-chip:hover { border-color: var(--aa-ink); background: var(--aa-surface); }
.aa-price-chip.is-sel { background: var(--aa-ink); border-color: var(--aa-ink); }
.aa-confirm-btn { border-radius: 6px; border-width: 1px; border-color: var(--aa-ink); color: var(--aa-ink); font-weight: 700; }
.aa-confirm-btn:hover { background: var(--aa-hover); }
.aa-confirm-btn.is-done { background: var(--aa-ink); border-color: var(--aa-ink); }
.aa-confirm-social { color: var(--aa-ink); font-weight: 600; }
.aa-request-msg { color: var(--aa-ink); }

/* 광고 표시·입점 안내 */
.aa-popup-adbadge { border-radius: 3px; letter-spacing: .02em; }
.aa-premium-box { border-radius: var(--aa-radius); background: #fffaf0; }
.aa-premium-hero { border-radius: var(--aa-radius); background: #fffaf0; border: 1px solid #ecd28c; box-shadow: none; font-size: 14.5px; }
.aa-premium-hero::after { content: none; }
.aa-premium-detail { border-radius: 4px; }
.aa-promote-cta, .aa-promote-cta:hover {
	display: flex; justify-content: space-between; align-items: center; gap: 12px; text-align: left;
	margin-top: 20px; padding: 14px 16px; border-radius: var(--aa-radius);
	background: var(--aa-surface); border: 1px solid var(--aa-line); box-shadow: none;
	color: var(--aa-ink); font-size: 14px; font-weight: 600; text-decoration: none;
}
.aa-promote-cta:hover { border-color: var(--aa-ink); background: var(--aa-hover); }
.aa-promote-cta::after { content: "→"; font-family: var(--aa-mono); }
.aa-earlybird-box { border-radius: var(--aa-radius); background: #fffaf0; box-shadow: none; }
.aa-demo-card, .aa-update-note, .aa-form { border-radius: var(--aa-radius); box-shadow: none; }
.aa-demo-stage { border-radius: 6px; }
.aa-demo-bubble { border-radius: var(--aa-radius); box-shadow: none; }

/* ---------- 폼 ---------- */
.aa-request-box input[type=text],
.aa-form input[type=text], .aa-form input[type=email], .aa-form input[type=url], .aa-form input[type=date], .aa-form textarea, .aa-form select { border-radius: 6px; }
.aa-request-box input:focus, .aa-form input:focus, .aa-form textarea:focus, .aa-form select:focus { border-color: var(--aa-ink); box-shadow: 0 0 0 3px rgba(20, 22, 26, .08); }
.aa-form .aa-chip { border-radius: 6px; border-width: 1px; font-weight: 600; }
.aa-form .aa-chip:hover { border-color: var(--aa-ink); color: var(--aa-ink); background: var(--aa-surface); transform: none; box-shadow: none; }
.aa-form .aa-chip.is-on { background: var(--aa-ink); border-color: var(--aa-ink); box-shadow: none; }
.aa-form button[type=submit] { border-radius: 6px; }
.aa-fieldset, .aa-sub-field { border-radius: 6px; }
.aa-check input { accent-color: var(--aa-ink); }

/* ---------- 요약 카드(수집 현황·아아가족)·막대·칩·페이지 나눔 ---------- */
.aa-stat-cards { gap: 1px; background: var(--aa-line); border: 1px solid var(--aa-line); border-radius: var(--aa-radius); overflow: hidden; }
.aa-stat-card { border: 0; border-radius: 0; box-shadow: none; padding: 14px 16px; }
.aa-stat-label { font-family: var(--aa-mono); font-size: 10.5px; font-weight: 600; letter-spacing: .02em; }
.aa-stat-value { font-family: var(--aa-mono); font-weight: 600; letter-spacing: -.035em; font-size: 26px; }
.aa-bar { height: 6px; border-radius: 1px; background: var(--aa-bg); box-shadow: inset 0 0 0 1px var(--aa-line); }
.aa-bar i { border-radius: 1px; background: var(--aa-ink); }
.aa-bar--fam i { background: var(--aa-t2); }
.aa-cov-rate b, .aa-cov-when, .aa-btn-rank-num, .aa-btn-rank-no { font-family: var(--aa-mono); }
.aa-btn-rank li { border-radius: 6px; box-shadow: none; }
.aa-rank-chip { border-radius: var(--aa-r-sm); border-width: 1px; font-weight: 500; color: var(--aa-sub); }
.aa-rank-chip:hover { border-color: var(--aa-ink); color: var(--aa-ink); background: var(--aa-surface); }
.aa-rank-chip.is-on { background: var(--aa-ink); border-color: var(--aa-ink); color: #fff; font-weight: 600; }
.aa-rank-scope { font-family: var(--aa-mono); font-size: 10.5px; letter-spacing: .02em; }
.aa-update-meta { color: var(--aa-sub); font-family: var(--aa-mono); font-size: 12px; }
.aa-fam-tag { border-radius: 3px; }
.aa-family-empty { border-radius: var(--aa-radius); }
.aa-family-cta-btn { border-radius: 6px; }
.navigation.pagination .page-numbers { border-radius: var(--aa-r-sm); font-family: var(--aa-mono); font-weight: 600; font-size: 13px; min-width: 38px; height: 38px; }
.navigation.pagination a.page-numbers:hover { background: var(--aa-hover); border-color: var(--aa-ink); }
.navigation.pagination .page-numbers.current { background: var(--aa-ink); border-color: var(--aa-ink); }
.navigation.pagination .prev, .navigation.pagination .next { font-family: inherit; }

/* ---------- 404 ---------- */
.aa-404-links { gap: 1px; background: var(--aa-line); border: 1px solid var(--aa-line); border-radius: var(--aa-radius); overflow: hidden; }
.aa-404-card { border: 0; border-radius: 0; box-shadow: none; }
.aa-404-card:hover { transform: none; background: var(--aa-hover); }
.aa-404-card strong::after { content: " →"; font-family: var(--aa-mono); color: var(--aa-sub); }

/* ---------- 알림·안내 ---------- */
.aa-toast { border-radius: 6px; background: var(--aa-ink); }
.aa-toast b { color: #fff; font-family: var(--aa-mono); }
.aa-skip { background: var(--aa-ink); border-radius: 0 0 6px 6px; }
.aa-hidden-note { border-radius: 6px; }

/* ---------- 푸터 ---------- */
.aa-footer { background: var(--aa-surface); border-top: 1px solid var(--aa-line); }
.aa-footer-inner { max-width: 800px; padding: 32px 20px 10px; }
.aa-footer-brand strong { font-size: 15px; font-weight: 800; letter-spacing: -.02em; }
.aa-footer-brand .aa-logo { color: var(--aa-ink); }
.aa-footer-nav { grid-template-columns: repeat(3, max-content); gap: 9px 28px; }
.aa-footer-nav a { color: var(--aa-sub); }
.aa-footer-nav a:hover { color: var(--aa-ink); }
.aa-footer-copy { max-width: 800px; font-family: var(--aa-mono); font-size: 10.5px; letter-spacing: .01em; }
@media (max-width: 640px) {
	.aa-footer-nav { grid-template-columns: repeat(2, max-content); }
}
.gjc-404-recovery { max-width: 800px; }

/* 리뷰 반영(0.9.0): 제보 가격칩 선택 표시, 정보표 링크, 포커스 표시, 지도 광고 폭 */
.aa-request-box .aa-price-chip { background: var(--aa-surface); color: var(--aa-ink); border: 1px solid var(--aa-line-2); }
.aa-request-box .aa-price-chip:hover { background: var(--aa-hover); border-color: var(--aa-ink); }
.aa-request-box .aa-price-chip.is-sel { background: var(--aa-ink); color: #fff; border-color: var(--aa-ink); }
.aa-info dd a { color: var(--aa-t2); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.aa-ticker a:focus-visible { outline: 2px solid #fff; outline-offset: 2px; border-radius: 2px; }
.aa-search input[type=search]:focus-visible { box-shadow: 0 0 0 3px rgba(35, 86, 197, .35); }
@media (min-width: 641px) { .aa-ad-bar { max-width: calc(100% - var(--aa-dock-w) - 24px); } }

/* =====================================================================
   2026-09-30d: 전면 개편 2단계 — 레이아웃·기능
   새 로고, 헤더 정보구조, 지도 범례·화면 요약, 말풍선 재구성, 페이지 머리 띠,
   카페 상세 2단, 지역 순위표, 랭킹 탭, 문서 목차, 검색 결과, 푸터.
   ===================================================================== */

/* ---------- 헤더 ---------- */
.aa-logo { transform: none; border-radius: 7px; }
.aa-brand { gap: 9px; }
.aa-brand-name { font-size: 18px; font-weight: 800; letter-spacing: -.035em; }
.aa-top-cta {
	display: inline-flex; align-items: center; white-space: nowrap; align-self: center;
	padding: 7px 12px; border: 1px solid var(--aa-ink); border-radius: 6px;
	background: var(--aa-ink); color: #fff; font-size: 13px; font-weight: 700; text-decoration: none;
}
.aa-top-cta:hover { background: #000; color: #fff; text-decoration: none; }
.aa-nav-label { display: none; }
.aa-nav-mname { display: none; }
@media (min-width: 769px) {
	.aa-topbar { display: flex; }
}
@media (min-width: 1025px) {
	.aa-topbar { gap: 0; }
	.aa-brand { margin-right: 26px; }
	.aa-nav, .aa-nav-group { display: flex; align-items: stretch; }
	.aa-nav { flex: 0 1 auto; }
	.aa-nav .aa-nav-m, .aa-nav .aa-nav-cta { display: none; }
	.aa-nav a { font-size: 14px; padding: 0 12px; }
	.aa-search { flex: 0 1 260px; width: auto; margin: 0 0 0 auto; max-width: 260px; }
	.aa-top-cta { margin-left: 10px; }
	.aa-top-cta[aria-current="page"] { box-shadow: 0 0 0 2px var(--aa-surface), 0 0 0 3px var(--aa-ink); }
}
@media (max-width: 1400px) and (min-width: 1025px) {
	.aa-nav a { padding: 0 10px; font-size: 13.5px; }
}
@media (max-width: 1024px) {
	.aa-topbar { display: flex; align-items: center; gap: 10px; }
	.aa-search { flex: 1 1 auto; width: auto; max-width: none; margin: 0; }
	.aa-top-cta { display: none; }
	.aa-nav {
		left: 0; right: 0; top: 100%; min-width: 0; border-radius: 0 0 12px 12px; border-top: 1px solid var(--aa-line);
		display: grid; grid-template-columns: 1fr 1fr; gap: 12px 18px; padding: 14px 16px 18px;
		transform-origin: top center;
	}
	.aa-nav-group { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
	.aa-nav-label { display: block; padding: 0 12px 6px; font-family: var(--aa-mono); font-size: 11px; font-weight: 600; color: var(--aa-sub); }
	.aa-nav-dname { display: none; }
	.aa-nav-mname { display: inline; }
	.aa-nav .aa-nav-cta { grid-column: 1 / -1; display: block; margin: 4px 0 0; padding: 12px; text-align: center; }
}
@media (max-width: 640px) {
	.aa-brand-name { font-size: 16.5px; }
	.aa-brand .aa-logo { width: 26px; height: 26px; }
	.aa-nav { gap: 10px 12px; padding: 12px 10px 16px; }
}

/* ---------- 지도: 범례·화면 요약 ---------- */
.aa-legend {
	position: absolute; z-index: 900; right: 12px; bottom: 28px;
	display: flex; gap: 10px; align-items: center; padding: 6px 10px;
	background: rgba(255, 255, 255, .95); border: 1px solid var(--aa-line); border-radius: 6px;
	box-shadow: 0 2px 8px rgba(20, 22, 26, .12); font-size: 11.5px; color: var(--aa-ink); white-space: nowrap;
}
.aa-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 5px; vertical-align: -1px; }
.aa-legend .aa-t1 { background: var(--aa-t1); } .aa-legend .aa-t2 { background: var(--aa-t2); }
.aa-legend .aa-t3 { background: var(--aa-t3); } .aa-legend .aa-t0 { background: var(--aa-t0); }
@media (max-width: 640px) {
	.aa-legend { right: auto; left: 10px; bottom: calc(112px + env(safe-area-inset-bottom, 0px)); gap: 8px; padding: 5px 8px; font-size: 11px; }
}

.aa-view { margin-top: 2px; }
.aa-view-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--aa-line); border: 1px solid var(--aa-line); border-radius: 6px; overflow: hidden; }
.aa-view-stats > div { background: var(--aa-surface); padding: 8px 10px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.aa-view-stats > div > span { font-size: 11px; color: var(--aa-sub); }
.aa-view-stats b { font-family: var(--aa-mono); font-size: 17px; font-weight: 600; letter-spacing: -.03em; }
.aa-view-stats small { font-size: 11px; font-weight: 500; color: var(--aa-sub); margin-left: 1px; }
.aa-view.is-empty .aa-view-stats b { color: var(--aa-sub); }
.aa-view-list { list-style: none; margin: 8px 0 0; padding: 0; counter-reset: aa-view; }
.aa-view-list li { counter-increment: aa-view; margin: 0; }
.aa-view-item {
	width: 100%; display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; gap: 6px; align-items: baseline;
	padding: 7px 0; border: 0; border-bottom: 1px dashed var(--aa-line); background: none;
	font: inherit; font-size: 13px; color: var(--aa-ink); text-align: left; cursor: pointer;
}
.aa-view-item::before { content: counter(aa-view); font-family: var(--aa-mono); font-size: 11.5px; color: var(--aa-sub); }
.aa-view-item:hover .aa-view-nm, .aa-view-item:focus-visible .aa-view-nm { text-decoration: underline; text-underline-offset: 3px; }
.aa-view-nm { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.aa-view-pr { font-family: var(--aa-mono); font-weight: 600; }
.aa-view-pr.aa-t1 { color: var(--aa-t1); } .aa-view-pr.aa-t2 { color: var(--aa-t2); } .aa-view-pr.aa-t3 { color: var(--aa-t3); }
.aa-view-empty { margin: 8px 0 0; font-size: 12.5px; color: var(--aa-sub); line-height: 1.5; }
.aa-panel-hint-open { color: var(--aa-sub); }
@media (max-width: 640px) {
	.aa-panel.is-collapsed .aa-panel-hint { font-family: inherit; font-size: 12.5px; color: var(--aa-ink); font-weight: 600; }
	.aa-panel.is-collapsed .aa-panel-hint-open { font-weight: 500; }
}

/* ---------- 말풍선 ---------- */
.aa-popup-card { padding: 14px 16px 12px; }
.aa-pop-head { margin: -14px -16px 0; padding: 14px 16px 10px; border-bottom: 1px solid var(--aa-line); }
.aa-pop-head .aa-popup-adbadge { margin: 0 0 6px; }
.aa-popup h3 { margin: 0; padding-right: 22px; font-size: 16px; line-height: 1.35; }
.aa-pop-addr { margin: 3px 0 0; font-size: 12px; color: var(--aa-sub); line-height: 1.45; }
.aa-pop-price { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.aa-popup .aa-pop-price .aa-popup-price { margin: 0; font-size: 26px; }
.aa-pop-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; }
.aa-pop-date { font-family: var(--aa-mono); font-size: 11px; color: var(--aa-sub); }
.aa-pop-src { font-size: 11px; font-weight: 700; padding: 1px 6px; border-radius: 3px; background: var(--aa-t1-soft); color: var(--aa-t1); }
.aa-pop-src--owner { background: #fff1c7; color: #6b4a00; }
.aa-pop-src--admin { background: var(--aa-bg); color: var(--aa-ink); border: 1px solid var(--aa-line); }
.aa-popup p.aa-popup-meta { margin: 6px 0 0; font-size: 12px; line-height: 1.5; }
.aa-popup p.aa-popup-meta.aa-family-cta { color: var(--aa-ink); background: var(--aa-bg); border-radius: 5px; padding: 6px 8px; font-weight: 600; }
.aa-popup p.aa-confirm-social { color: var(--aa-ink); font-weight: 600; }
.aa-pop-facts { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; }
.aa-pop-fact { font-size: 11.5px; color: var(--aa-sub); border: 1px solid var(--aa-line); border-radius: 4px; padding: 1px 6px; }
.aa-pop-fact b { font-family: var(--aa-mono); color: var(--aa-ink); font-weight: 600; }
.aa-pop-menu { width: 100%; border-collapse: collapse; margin-top: 10px; font-size: 12.5px; border-top: 1px solid var(--aa-line); }
.aa-pop-menu td { padding: 5px 0; border-bottom: 1px dashed var(--aa-line); vertical-align: top; }
.aa-pop-menu td:first-child { padding-right: 10px; overflow-wrap: anywhere; }
.aa-pop-menu td:last-child { text-align: right; white-space: nowrap; font-family: var(--aa-mono); font-weight: 600; }
.aa-popup .aa-popup-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 12px; }
.aa-popup .aa-popup-actions a, .aa-popup .aa-popup-actions .aa-confirm-btn { display: block; text-align: center; padding: 8px 10px; font-size: 12.5px; }
.aa-popup .aa-popup-actions a.aa-pop-route { background: var(--aa-surface); color: var(--aa-ink); border-color: var(--aa-ink); }
.aa-popup .aa-popup-actions a.aa-pop-route:hover { background: var(--aa-hover); }
.aa-popup .aa-popup-actions .aa-confirm-btn { grid-column: 1 / -1; }
.aa-pop-sub { display: flex; flex-wrap: wrap; gap: 2px 14px; margin-top: 10px; padding-top: 8px; border-top: 1px solid var(--aa-line); }
.aa-popup .aa-pop-sub button, .aa-popup .aa-pop-sub a {
	display: inline-block; padding: 4px 0; border: 0; border-radius: 0; background: none;
	font-size: 12.5px; font-weight: 600; color: var(--aa-sub); text-decoration: underline; text-decoration-color: var(--aa-line-2); text-underline-offset: 3px; cursor: pointer;
}
.aa-popup .aa-pop-sub button:hover, .aa-popup .aa-pop-sub a:hover { color: var(--aa-ink); background: none; text-decoration-color: var(--aa-ink); }
.aa-popup .aa-pop-sub .is-on { color: var(--aa-ink); text-decoration-color: var(--aa-ink); }
.aa-popup .aa-pop-sub .aa-hide-btn { color: #b42318; }
.aa-pop-react { margin-top: 8px; border-top: 1px solid var(--aa-line); padding-top: 6px; }
.aa-pop-react summary { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; list-style: none; cursor: pointer; padding: 4px 0; font-size: 12.5px; font-weight: 700; }
.aa-pop-react summary::-webkit-details-marker { display: none; }
.aa-pop-react summary span { font-size: 11.5px; font-weight: 500; color: var(--aa-sub); }
.aa-pop-react summary::after { content: "+"; font-family: var(--aa-mono); color: var(--aa-sub); }
.aa-pop-react[open] summary::after { content: "−"; }
.aa-pop-react .aa-tag-wrap { margin-top: 6px; }
.aa-pop-react .aa-tag-lead { display: none; }

/* ---------- 페이지 머리 띠 ---------- */
.aa-container--read { max-width: 760px; }
.aa-container--data { max-width: 1000px; }
.aa-container--wide { max-width: 1160px; }
.aa-page-head, .aa-cafe-head {
	position: relative; margin: -32px 0 24px; padding: 26px 0 22px;
	background: var(--aa-surface);
	box-shadow: 0 0 0 100vmax var(--aa-surface), 0 1px 0 100vmax var(--aa-line);
	clip-path: inset(0 -100vmax -1px);
}
.aa-page-head h1, .aa-cafe-head h1 { margin: 2px 0 4px; }
.aa-page-head .aa-breadcrumb, .aa-cafe-head .aa-breadcrumb { margin-bottom: 12px; }
.aa-container .aa-lead, .aa-page-head .aa-region-lead { margin: 8px 0 0; max-width: 66ch; font-size: 15.5px; line-height: 1.7; color: var(--aa-sub); }
.aa-page-head .aa-region-lead { font-size: 15px; }
@media (max-width: 640px) {
	.aa-page-head, .aa-cafe-head { margin-top: -22px; padding: 18px 0 18px; }
	.aa-container .aa-lead { font-size: 14.5px; }
}

/* 랭킹 탭 */
.aa-subnav { display: flex; gap: 4px; margin: 18px 0 -22px; }
.aa-subnav a { padding: 10px 14px 9px; border-bottom: 2px solid transparent; color: var(--aa-sub); font-weight: 600; font-size: 14px; text-decoration: none; }
.aa-subnav a:hover { color: var(--aa-ink); text-decoration: none; }
.aa-subnav a[aria-current="page"] { color: var(--aa-ink); border-bottom-color: var(--aa-ink); font-weight: 800; }
@media (max-width: 640px) { .aa-subnav { margin-bottom: -18px; } }

/* 구획 머리: 제목 + 오른쪽 링크 */
.aa-sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 36px 0 14px; padding-top: 12px; border-top: 2px solid var(--aa-ink); }
.aa-container .aa-sec-head h2 { margin: 0; padding: 0; border: 0; }
.aa-sec-link { font-size: 13px; font-weight: 700; color: var(--aa-ink); white-space: nowrap; }
.aa-sec-note { margin: 18px 0 8px; font-size: 13px; color: var(--aa-sub); }
.aa-container .aa-link-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.aa-container .aa-link-chips li { margin: 0; font-size: 13px; }
.aa-link-chips a { display: inline-block; padding: 5px 10px; border: 1px solid var(--aa-line); border-radius: 5px; background: var(--aa-surface); color: var(--aa-ink); }
.aa-link-chips a:hover { border-color: var(--aa-ink); text-decoration: none; }
.aa-link-chips small { font-family: var(--aa-mono); color: var(--aa-sub); font-size: 11px; }

/* 표 안의 가격 막대 */
.aa-bar-cell { white-space: nowrap; }
.aa-cellbar {
	display: inline-block; width: 72px; height: 6px; margin-right: 10px; vertical-align: 1px; border-radius: 1px;
	color: var(--aa-t2); background: linear-gradient(90deg, currentColor var(--w, 0%), var(--aa-bg) var(--w, 0%));
	box-shadow: inset 0 0 0 1px var(--aa-line);
}
.aa-cellbar.aa-t1 { color: var(--aa-t1); } .aa-cellbar.aa-t2 { color: var(--aa-t2); } .aa-cellbar.aa-t3 { color: var(--aa-t3); }
.aa-index-table td small { font-family: var(--aa-mono); color: var(--aa-sub); font-weight: 500; }
@media (max-width: 640px) {
	.aa-cellbar { width: 40px; margin-right: 6px; }
	.aa-region-table .aa-col-range, .aa-region-table th:nth-child(4) { display: none; }
}

/* ---------- 지역: 목록 + 옆 칸 ---------- */
.aa-split { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 32px; align-items: start; }
.aa-split-side { margin-top: 36px; padding: 14px 16px; background: var(--aa-surface); border: 1px solid var(--aa-line); border-radius: var(--aa-radius); }
.aa-container .aa-split-side h2 { margin: 0 0 8px; padding: 0; border: 0; font-size: 14.5px; }
.aa-container .aa-sib-list { list-style: none; margin: 0 0 10px; padding: 0; }
.aa-container .aa-sib-list li { margin: 0; font-size: 13.5px; }
.aa-sib-list a { display: flex; justify-content: space-between; gap: 8px; padding: 7px 0; border-bottom: 1px dashed var(--aa-line); color: var(--aa-ink); }
.aa-sib-list a:hover { text-decoration: none; background: var(--aa-hover); }
.aa-sib-list .aa-pricetag { font-size: 12.5px; }
@media (max-width: 900px) {
	.aa-split { grid-template-columns: 1fr; gap: 0; }
	.aa-split-side { margin-top: 24px; }
}
.aa-container .aa-cafe-list { margin-top: 0; }
.aa-cafe-list li { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 8px; align-items: center; }
.aa-rank { font-family: var(--aa-mono); font-size: 12px; color: var(--aa-sub); }
.aa-result-list li { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name price" "where price"; row-gap: 2px; }
.aa-result-list li > a { grid-area: name; }
.aa-result-where { grid-area: where; font-size: 12.5px; color: var(--aa-sub); }
.aa-result-list .aa-pricetag { grid-area: price; }

/* ---------- 카페 상세: 머리 + 2단 ---------- */
.aa-container .aa-cafe-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; padding: 0; }
.aa-container .aa-cafe-chips li { margin: 0; padding: 3px 9px; border: 1px solid var(--aa-line); border-radius: 4px; font-size: 12.5px; color: var(--aa-sub); background: var(--aa-surface); }
.aa-cafe-chips a { color: var(--aa-ink); font-weight: 700; }
.aa-cafe-chips b { font-family: var(--aa-mono); color: var(--aa-ink); font-weight: 600; }
.aa-cafe-head .aa-hidden-note { margin: 12px 0 0; }
.aa-cafe-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; }
.aa-cafe-main, .aa-cafe-side { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.aa-cafe-grid :is(.aa-cafe-main, .aa-cafe-side) > * { margin-top: 0; margin-bottom: 0; }
.aa-container .aa-cafe-sec h2 { margin: 10px 0 12px; }
.aa-cafe-page .aa-info { grid-template-columns: 80px minmax(0, 1fr); }
.aa-cafe-page .aa-detail-actions { grid-template-columns: 1.4fr 1fr 1fr; gap: 8px; }
@media (max-width: 640px) {
	.aa-cafe-page .aa-detail-actions { grid-template-columns: 1fr 1fr; }
	.aa-cafe-page .aa-detail-actions > :first-child { grid-column: 1 / -1; }
}
.aa-route-btn { border-color: var(--aa-line-2); }
.aa-nearby-sub { margin: -6px 0 10px; font-size: 12.5px; color: var(--aa-sub); }
.aa-container .aa-nearby-list { list-style: none; margin: 0; padding: 0; background: var(--aa-surface); border: 1px solid var(--aa-line); border-radius: var(--aa-radius); overflow: hidden; }
.aa-container .aa-nearby-list li { margin: 0; font-size: 13.5px; }
.aa-nearby-list a { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 10px; align-items: baseline; padding: 10px 14px; border-bottom: 1px solid var(--aa-line); color: var(--aa-ink); }
.aa-nearby-list li:last-child a { border-bottom: 0; }
.aa-nearby-list a:hover { background: var(--aa-hover); text-decoration: none; }
.aa-nearby-nm { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.aa-nearby-d { font-family: var(--aa-mono); font-size: 11.5px; color: var(--aa-sub); }
.aa-cafe-side .aa-request-box h2 { margin-top: 0; }
.aa-cafe-side .aa-promote-cta { margin-top: 0; }
@media (max-width: 960px) {
	/* 마크업 순서가 곧 화면 순서(가격 → 정보·버튼 → 메뉴 → 이력 | 근처 → 반응 → 제보)라 키보드 이동 순서도 같다 */
	.aa-cafe-grid { display: flex; flex-direction: column; align-items: stretch; gap: 14px; }
}

/* ---------- 문서: 목차 + 본문 ---------- */
.aa-container--read .aa-content, .aa-doc .aa-content {
	background: var(--aa-surface); border: 1px solid var(--aa-line); border-radius: var(--aa-radius); padding: 28px 32px;
}
.aa-container--read .aa-content > :first-child, .aa-doc .aa-content > :first-child { margin-top: 0; }
.aa-content h2 { scroll-margin-top: calc(var(--aa-top-h) + 16px); }
.aa-doc { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 36px; align-items: start; }
.aa-toc { position: sticky; top: calc(var(--aa-top-h) + 20px); padding: 4px 0; }
.aa-toc-h { margin: 0 0 8px; font-family: var(--aa-mono); font-size: 11px; font-weight: 600; color: var(--aa-sub); }
.aa-container .aa-toc ol { list-style: none; margin: 0; padding: 0; counter-reset: aa-toc; border-left: 1px solid var(--aa-line); }
.aa-container .aa-toc li { margin: 0; font-size: 13px; counter-increment: aa-toc; }
.aa-toc a { display: block; padding: 6px 0 6px 12px; color: var(--aa-sub); line-height: 1.45; }
.aa-toc a:hover { color: var(--aa-ink); text-decoration: none; box-shadow: inset 2px 0 0 var(--aa-ink); }
@media (max-width: 900px) {
	.aa-doc { display: block; }
	.aa-toc { position: static; margin-bottom: 16px; padding: 12px 14px; background: var(--aa-surface); border: 1px solid var(--aa-line); border-radius: var(--aa-radius); }
	.aa-container .aa-toc ol { border-left: 0; columns: 2; column-gap: 16px; }
	.aa-toc a { padding-left: 0; }
}
@media (max-width: 640px) {
	.aa-container--read .aa-content, .aa-doc .aa-content { padding: 20px 18px; }
	.aa-container .aa-toc ol { columns: 1; }
}

/* ---------- 푸터 ---------- */
.aa-footer-inner { max-width: 1160px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 2fr); gap: 40px; padding: 40px 24px 16px; }
.aa-footer-logo { display: inline-flex; align-items: center; gap: 9px; color: var(--aa-ink); font-size: 17px; font-weight: 800; letter-spacing: -.03em; }
.aa-footer-logo:hover { text-decoration: none; color: var(--aa-ink); }
.aa-footer-brand p { margin: 10px 0 0; font-size: 13px; line-height: 1.65; color: var(--aa-sub); max-width: 42ch; }
.aa-footer-brand .aa-footer-note { font-size: 12px; }
.aa-footer-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.aa-footer-cols div { display: flex; flex-direction: column; gap: 9px; }
.aa-footer-h { margin: 0 0 4px; font-family: var(--aa-mono); font-size: 11px; font-weight: 600; color: var(--aa-sub); }
.aa-footer-cols a { font-size: 13.5px; color: var(--aa-ink); }
.aa-footer-cols a:hover { text-decoration: underline; text-underline-offset: 3px; }
.aa-footer-copy { max-width: 1160px; padding: 16px 24px 28px; margin-top: 8px; border-top: 1px solid var(--aa-line); }
@media (max-width: 800px) {
	.aa-footer-inner { grid-template-columns: 1fr; gap: 28px; padding: 32px 16px 12px; }
	.aa-footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.aa-footer-copy { padding: 14px 16px 24px; }
}

/* ---------- 404·기타 ---------- */
.aa-404 .aa-404-links { margin-top: 0; }
.aa-page-head .aa-eyebrow { margin-bottom: 4px; }
.aa-menu-more { margin-top: 8px; }
.aa-menu-more summary { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border: 1px solid var(--aa-line-2); border-radius: 6px; background: var(--aa-surface); font-size: 13px; font-weight: 700; cursor: pointer; list-style: none; }
.aa-menu-more summary::-webkit-details-marker { display: none; }
.aa-menu-more summary::after { content: "+"; font-family: var(--aa-mono); color: var(--aa-sub); }
.aa-menu-more[open] summary::after { content: "−"; }
.aa-menu-more summary:hover { border-color: var(--aa-ink); }
.aa-menu-more .aa-menu-table { margin-top: 8px; }
.aa-index-table:not(.aa-cov-table):not(.aa-center-table) thead th:nth-child(n+3), .aa-brands-table thead th:last-child { text-align: right; }
.aa-topbar { z-index: 1350; } /* 지도 위 안내(겹침·확대)보다 위: 모바일 메뉴가 가려지지 않게 */

@media (min-width: 1025px) {
	.aa-nav a.is-group-cur { color: var(--aa-ink); font-weight: 700; border-bottom-color: var(--aa-ink); }
}
.aa-popup-card > .aa-popup { width: 100%; }
.aa-popup .aa-pop-head { max-width: none; width: auto; } /* 머리 구분선이 카드 양 끝까지 닿게(.aa-popup * 의 max-width 해제) */
