/* 주유픽 — 프레스런 디자인 시스템(로워드 블루 · Noto Sans KR · 크고 굵고 짧게) */

:root {
	--jyp-text: #191f28;
	--jyp-text-2: #3a3f46;
	--jyp-sub: #535a64;
	--jyp-faint: #8b95a1;
	--jyp-line: #e3e6ea;
	--jyp-bg: #f8f8f8;
	--jyp-gray: #f0f0f0;
	--jyp-gray-2: #fafafa;
	--jyp-white: #ffffff;
	--jyp-blue: #4a75df;
	--jyp-blue-500: #6891f8;
	--jyp-tint: #f0f4ff;
	--jyp-tint-line: #c9d6f6;
	--jyp-red: #ea5b5b;
	--jyp-yellow: #fadb14;
	--jyp-mono-40: #aaaaaa;
	--jyp-dark: #191f28;
	--jyp-font: "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
	--jyp-radius: 18px;
	--jyp-col: 480px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	background: var(--jyp-bg);
	color: var(--jyp-text);
	font-family: var(--jyp-font);
	font-size: 16px;
	line-height: 1.6;
	letter-spacing: -0.01em;
	word-break: keep-all;
	overflow-wrap: anywhere;
}

img { max-width: 100%; height: auto; }
a { color: var(--jyp-text); text-decoration: none; }
a:hover { color: var(--jyp-blue); }
button, input, select, textarea { font-family: inherit; letter-spacing: inherit; }
button { cursor: pointer; }
input::placeholder { color: var(--jyp-sub); }
p { margin: 0; }
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid var(--jyp-blue); outline-offset: 2px; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0);
	white-space: nowrap; border: 0;
}

.jyp-skip {
	position: absolute; left: 8px; top: -60px; z-index: 100;
	padding: 10px 14px; border-radius: 10px;
	background: var(--jyp-dark); color: #fff; font-weight: 700;
}
.jyp-skip:focus { top: 8px; color: #fff; }

.jyp-icon { flex-shrink: 0; }
.jyp-blue { color: var(--jyp-blue); }

/* ── 바탕 틀 ───────────────────────────────── */
.jyp-page { min-height: 100vh; }
.jyp-col {
	max-width: var(--jyp-col);
	min-height: 100vh;
	margin: 0 auto;
	background: var(--jyp-white);
	display: flex;
	flex-direction: column;
}
.jyp-main { flex: 1; padding-bottom: 40px; }

/* ── 머리글 ───────────────────────────────── */
.jyp-header {
	position: sticky; top: 0; z-index: 30;
	height: 60px;
	padding: 0 12px 0 20px;
	display: flex; align-items: center; justify-content: space-between;
	background: rgba(255, 255, 255, 0.96);
	border-bottom: 1px solid var(--jyp-line);
	backdrop-filter: saturate(1.4) blur(6px);
}
.admin-bar .jyp-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .jyp-header { top: 46px; } }
.jyp-brand { display: inline-flex; align-items: center; gap: 8px; color: var(--jyp-text); }
.jyp-brand:hover { color: var(--jyp-text); }
.jyp-brand-name { font-size: 22px; line-height: 30px; font-weight: 900; letter-spacing: -0.04em; }
.custom-logo-link img { max-height: 40px; width: auto; display: block; }

.jyp-iconbtn {
	width: 44px; height: 44px;
	border: 0; border-radius: 12px;
	background: transparent; color: var(--jyp-text);
	display: inline-flex; align-items: center; justify-content: center;
}
.jyp-iconbtn:hover { background: var(--jyp-gray); }

/* ── 메뉴 서랍 ───────────────────────────────── */
.jyp-drawer { position: fixed; inset: 0; z-index: 60; }
.jyp-drawer-backdrop { position: absolute; inset: 0; width: 100%; border: 0; background: rgba(25, 31, 40, 0.45); }
.jyp-drawer-panel {
	position: absolute; top: 0; right: 0; bottom: 0;
	width: min(320px, 86vw);
	background: #fff;
	padding: 8px 20px 24px;
	overflow-y: auto;
	box-shadow: -8px 0 24px rgba(25, 31, 40, 0.16);
}
.jyp-drawer-head { height: 52px; display: flex; align-items: center; justify-content: space-between; font-size: 18px; }
.jyp-menu, .jyp-menu .sub-menu { list-style: none; margin: 0; padding: 0; }
.jyp-menu a {
	display: flex; align-items: center;
	min-height: 52px;
	border-bottom: 1px solid var(--jyp-line);
	font-size: 18px; font-weight: 700;
}
.jyp-menu .sub-menu a { padding-left: 14px; font-size: 16px; font-weight: 500; }
body.jyp-drawer-open { overflow: hidden; }

/* ── 공통 글자·버튼 ───────────────────────────────── */
.jyp-h1 { margin: 0; font-size: 28px; line-height: 36px; font-weight: 700; letter-spacing: -0.03em; }
.jyp-h2 { margin: 0; font-size: 22px; line-height: 30px; font-weight: 700; letter-spacing: -0.03em; }
.jyp-h3 { margin: 0; font-size: 20px; line-height: 28px; font-weight: 700; letter-spacing: -0.03em; }
.jyp-sub { margin: 4px 0 0; font-size: 14px; line-height: 20px; color: var(--jyp-sub); }

.jyp-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 6px;
	min-height: 44px;
	padding: 0 16px;
	border-radius: 14px;
	border: 1px solid transparent;
	font-size: 16px; font-weight: 700; line-height: 1.2;
	text-align: center;
}
.jyp-btn-primary { background: var(--jyp-blue); border-color: var(--jyp-blue); color: #fff; font-size: 19px; min-height: 52px; padding: 0 22px; }
.jyp-btn-primary:hover { color: #fff; background: #3f68cf; }
.jyp-btn-outline { background: #fff; border-color: var(--jyp-line); color: var(--jyp-text); }
.jyp-btn-outline:hover { color: var(--jyp-text); background: var(--jyp-gray-2); }
.jyp-btn-sm { min-height: 44px; padding: 0 12px; border-radius: 999px; font-size: 15px; gap: 4px; }
.jyp-btn-sm .jyp-icon { color: var(--jyp-blue); }
.jyp-btn-lg { min-height: 56px; border-radius: 16px; font-size: 18px; flex: 1; }
.jyp-btn-lg.jyp-btn-primary { font-size: 19px; }
.jyp-btn-lg.is-grow { flex: 2; }
.jyp-btn-yellow { background: var(--jyp-yellow); border-color: var(--jyp-yellow); color: var(--jyp-text); font-size: 18px; min-height: 52px; }
.jyp-btn-yellow:hover { color: var(--jyp-text); filter: brightness(0.97); }
.jyp-btn-ghost { background: transparent; border-color: rgba(255, 255, 255, 0.45); color: #fff; font-size: 18px; min-height: 52px; }
.jyp-btn-ghost:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }

.jyp-pill-dark {
	display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0;
	min-height: 44px; padding: 0 16px;
	border-radius: 999px;
	background: var(--jyp-dark); color: #fff;
	font-size: 15px; font-weight: 700;
	white-space: nowrap;
}
.jyp-pill-dark:hover { color: #fff; background: #2b323d; }

/* ── 홈: 위치·검색 ───────────────────────────────── */
.jyp-loc { padding: 20px 20px 16px; }
.jyp-loc-label { display: flex; align-items: center; gap: 6px; font-size: 14px; line-height: 20px; color: var(--jyp-sub); }
.jyp-loc-row { margin-top: 6px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.jyp-loc-name { margin: 0; font-size: 24px; line-height: 32px; font-weight: 700; letter-spacing: -0.03em; min-width: 0; }

.jyp-search { position: relative; margin-top: 14px; }
.jyp-input {
	display: flex; align-items: center; gap: 10px;
	height: 52px; padding: 0 16px;
	border-radius: 14px;
	background: var(--jyp-gray);
	color: var(--jyp-sub);
}
.jyp-input input {
	flex: 1; min-width: 0; height: 48px;
	border: 0; background: transparent; outline: none;
	font-size: 16px; color: var(--jyp-text);
}
.jyp-input input::-webkit-search-cancel-button { -webkit-appearance: none; }
.jyp-input:focus-within { box-shadow: 0 0 0 2px var(--jyp-blue); }
.jyp-input.is-float { background: #fff; box-shadow: 0 2px 10px rgba(25, 31, 40, 0.14); border-radius: 16px; }
.jyp-input.is-float:focus-within { box-shadow: 0 0 0 2px var(--jyp-blue), 0 2px 10px rgba(25, 31, 40, 0.14); }

.jyp-suggest {
	position: absolute; left: 0; right: 0; top: 58px; z-index: 20;
	margin: 0; padding: 6px;
	list-style: none;
	background: #fff;
	border: 1px solid var(--jyp-line);
	border-radius: 14px;
	box-shadow: 0 8px 24px rgba(25, 31, 40, 0.12);
	max-height: 320px; overflow-y: auto;
}
.jyp-suggest a {
	display: flex; align-items: center; justify-content: space-between; gap: 8px;
	min-height: 48px; padding: 0 12px;
	border-radius: 10px;
	font-size: 17px; font-weight: 700;
}
.jyp-suggest a span { font-size: 13px; font-weight: 500; color: var(--jyp-sub); }
.jyp-suggest a:hover, .jyp-suggest a.is-active { background: var(--jyp-tint); color: var(--jyp-text); }
.jyp-suggest-empty { padding: 12px; font-size: 15px; color: var(--jyp-sub); }

/* ── 유종 탭 ───────────────────────────────── */
.jyp-tabs-wrap { padding: 0 20px 16px; }
.jyp-tabs {
	display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px;
	padding: 4px; border-radius: 16px;
	background: var(--jyp-gray);
}
.jyp-tab {
	width: 100%; height: 48px;
	border: 0; border-radius: 12px;
	background: transparent; color: var(--jyp-sub);
	font-size: 19px; font-weight: 700;
}
.jyp-tab:hover { color: var(--jyp-text); }
.jyp-tab.is-on { background: var(--jyp-blue); color: #fff; box-shadow: 0 2px 8px rgba(74, 117, 223, 0.35); }

/* ── 홈: 최저가 카드 ───────────────────────────────── */
.jyp-hero-wrap { padding: 0 20px 28px; }
.jyp-prompt {
	padding: 28px 22px;
	border-radius: 22px;
	background: var(--jyp-tint);
	border: 1px solid var(--jyp-tint-line);
	text-align: center;
}
.jyp-prompt-title { font-size: 20px; line-height: 28px; font-weight: 700; }
.jyp-prompt-sub { margin-top: 6px; font-size: 15px; line-height: 22px; color: var(--jyp-text-2); }
.jyp-prompt .jyp-btn { margin-top: 16px; }

.jyp-hero { border-radius: 22px; background: var(--jyp-dark); color: #fff; padding: 24px; }
.jyp-hero-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.jyp-hero-label { font-size: 15px; line-height: 22px; color: rgba(255, 255, 255, 0.8); }
.jyp-hero-badge {
	flex-shrink: 0;
	height: 26px; padding: 0 10px;
	border-radius: 999px;
	background: var(--jyp-yellow); color: var(--jyp-text);
	font-size: 13px; font-weight: 700;
	display: inline-flex; align-items: center;
}
.jyp-hero-price { margin-top: 10px; display: flex; align-items: baseline; gap: 6px; }
.jyp-hero-num { font-size: 52px; line-height: 56px; font-weight: 900; color: var(--jyp-yellow); letter-spacing: -0.03em; }
.jyp-hero-unit { font-size: 18px; font-weight: 700; }
.jyp-hero-name { margin-top: 8px; font-size: 16px; line-height: 24px; }
.jyp-hero-line { margin-top: 18px; height: 1px; background: rgba(255, 255, 255, 0.14); }
.jyp-hero-save { margin-top: 16px; font-size: 16px; line-height: 24px; }
.jyp-hero-save b { color: var(--jyp-yellow); }
.jyp-hero-save-sub { margin-top: 6px; font-size: 15px; line-height: 22px; color: rgba(255, 255, 255, 0.8); }
.jyp-hero-btns { margin-top: 20px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.jyp-hero-empty {
	padding: 28px 24px;
	border-radius: 22px;
	background: var(--jyp-gray-2);
	border: 1px solid var(--jyp-line);
	text-align: center;
}
.jyp-hero-empty p:first-child { font-size: 19px; line-height: 28px; font-weight: 700; }
.jyp-hero-empty p + p { margin-top: 6px; font-size: 15px; line-height: 22px; color: var(--jyp-sub); }
.jyp-hero-empty .jyp-btn { margin-top: 16px; }

.jyp-skel { border-radius: 22px; background: linear-gradient(90deg, #f0f0f0 25%, #f7f7f7 50%, #f0f0f0 75%); background-size: 200% 100%; animation: jyp-shimmer 1.2s infinite; }
.jyp-skel.is-hero { height: 300px; }
.jyp-skel.is-card { height: 132px; border-radius: 18px; }
@keyframes jyp-shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .jyp-skel { animation: none; } }

/* ── 홈: 목록 ───────────────────────────────── */
.jyp-list-sec { padding: 0 20px; }
.jyp-list-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.jyp-controls { margin-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.jyp-chips { display: flex; gap: 6px; }
.jyp-chip {
	height: 44px; padding: 0 13px;
	border-radius: 999px;
	border: 1px solid var(--jyp-line);
	background: #fff; color: var(--jyp-sub);
	font-size: 15px; font-weight: 500;
}
.jyp-chip.is-on { border: 1.5px solid var(--jyp-blue); background: var(--jyp-tint); color: var(--jyp-text); font-weight: 700; }
.jyp-sort {
	display: inline-flex; align-items: center; gap: 4px; flex-shrink: 0;
	height: 44px; padding: 0 12px;
	border: 0; border-radius: 12px;
	background: var(--jyp-gray); color: var(--jyp-text);
	font-size: 15px; font-weight: 700;
}

.jyp-cards { margin-top: 16px; display: flex; flex-direction: column; gap: 12px; }
.jyp-cards:empty { display: none; }
.jyp-card {
	display: flex; gap: 12px; justify-content: space-between;
	padding: 18px;
	border-radius: var(--jyp-radius);
	border: 1px solid var(--jyp-line);
	background: #fff; color: var(--jyp-text);
}
.jyp-card:hover { color: var(--jyp-text); border-color: #cfd4da; box-shadow: 0 2px 10px rgba(25, 31, 40, 0.06); }
.jyp-card-main { flex: 1; min-width: 0; }
.jyp-card-top { display: flex; align-items: center; gap: 6px; }
.jyp-badge-best {
	height: 26px; padding: 0 9px;
	border-radius: 8px;
	background: var(--jyp-yellow); color: var(--jyp-text);
	font-size: 13px; font-weight: 700;
	display: inline-flex; align-items: center;
}
.jyp-badge-rank {
	min-width: 26px; height: 26px; padding: 0 6px;
	border-radius: 8px;
	background: var(--jyp-gray); color: var(--jyp-text);
	font-size: 13px; font-weight: 700;
	display: inline-flex; align-items: center; justify-content: center;
}
.jyp-card-brand { font-size: 13px; line-height: 18px; color: var(--jyp-sub); }
.jyp-card-name {
	margin-top: 8px;
	font-size: 19px; line-height: 26px; font-weight: 700; letter-spacing: -0.03em;
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.jyp-card-meta { margin-top: 4px; font-size: 14px; line-height: 20px; color: var(--jyp-sub); }
.jyp-card-tags { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.jyp-card-tags:empty { display: none; }
.jyp-tag {
	height: 28px; padding: 0 8px;
	border-radius: 8px;
	background: var(--jyp-gray); color: var(--jyp-sub);
	font-size: 13px; font-weight: 500;
	display: inline-flex; align-items: center;
}
.jyp-chip-premium {
	height: 28px; padding: 0 8px;
	border-radius: 8px;
	background: var(--jyp-tint);
	border: 1px solid var(--jyp-tint-line);
	color: var(--jyp-text);
	font-size: 13px; font-weight: 700;
	display: inline-flex; align-items: center; gap: 3px;
	white-space: nowrap;
}
.jyp-chip-premium .jyp-icon { color: var(--jyp-blue); stroke-width: 3; }
.jyp-chip-premium.is-small { height: 22px; padding: 0 6px; border-radius: 6px; font-size: 12px; gap: 2px; }
.jyp-card-side { display: flex; flex-direction: column; align-items: flex-end; justify-content: center; flex-shrink: 0; }
.jyp-card-gap { margin-top: 4px; font-size: 13px; line-height: 18px; color: var(--jyp-sub); white-space: nowrap; }
.jyp-empty { margin-top: 16px; padding: 20px; border-radius: 16px; background: var(--jyp-gray-2); text-align: center; font-size: 15px; color: var(--jyp-sub); }
.jyp-stale { margin-top: 10px; padding: 10px 12px; border-radius: 12px; background: #fff8d6; font-size: 14px; color: var(--jyp-text-2); }

/* 가격(큰 숫자 + 작은 단위) */
.jyp-price { display: inline-flex; align-items: baseline; gap: 2px; white-space: nowrap; }
.jyp-price-num { font-weight: 900; letter-spacing: -0.03em; }
.jyp-price-unit { font-size: 15px; font-weight: 700; color: var(--jyp-text); }
.jyp-price.is-card .jyp-price-num { font-size: 28px; line-height: 34px; }
.jyp-price.is-card.is-best .jyp-price-num { color: var(--jyp-blue); }
.jyp-price.is-avg { margin-top: 6px; }
.jyp-price.is-avg .jyp-price-num { font-size: 26px; line-height: 32px; }
.jyp-price.is-avg .jyp-price-unit { font-size: 14px; }
.jyp-price.is-row .jyp-price-num { font-size: 21px; line-height: 28px; }
.jyp-price.is-row .jyp-price-unit { font-size: 13px; }
.jyp-price.is-line .jyp-price-num { font-size: 24px; line-height: 30px; }
.jyp-price.is-line .jyp-price-unit { font-size: 14px; }
.jyp-price.is-stat .jyp-price-num { font-size: 26px; line-height: 32px; }
.jyp-price.is-stat .jyp-price-unit { font-size: 14px; }

/* ── 광고 ───────────────────────────────── */
.jyp-ad { margin: 0; overflow: hidden; }
.jyp-list-sec .jyp-ad-feed, .jyp-sec .jyp-ad-feed { margin-top: 12px; }
.jyp-cards + .jyp-ad-feed + .jyp-cards, .jyp-cards + .jyp-cards { margin-top: 12px; }
/* 채울 광고가 없으면(애드센스가 unfilled 표시) 빈 자리를 접습니다. */
ins.adsbygoogle[data-ad-status="unfilled"] { display: none !important; }
.jyp-ad:has(ins.adsbygoogle[data-ad-status="unfilled"]) { display: none; }
.jyp-ad-content { padding: 28px 20px 0; }
.jyp-article .jyp-ad-content { padding: 28px 0 0; }

/* ── 구역 ───────────────────────────────── */
.jyp-sec { padding: 32px 20px 0; }
.jyp-sec.is-tight { padding-top: 8px; }

.jyp-avg-grid { margin-top: 14px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.jyp-avg { padding: 16px; border-radius: 16px; background: var(--jyp-bg); }
.jyp-avg-name { font-size: 15px; line-height: 22px; color: var(--jyp-sub); }
.jyp-diff { margin-top: 4px; display: flex; align-items: center; gap: 4px; font-size: 14px; line-height: 20px; color: var(--jyp-sub); }

.jyp-region-grid { margin-top: 14px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.jyp-region-tile {
	height: 52px;
	border-radius: 14px;
	background: var(--jyp-bg); color: var(--jyp-text);
	font-size: 16px; font-weight: 700;
	display: flex; align-items: center; justify-content: center; gap: 4px;
	text-align: center;
}
.jyp-region-tile:hover { background: var(--jyp-tint); color: var(--jyp-text); }
.jyp-region-tile.is-wide { grid-column: span 2; background: var(--jyp-tint); border: 1px solid var(--jyp-tint-line); }
.jyp-region-tile.is-wide .jyp-icon { color: var(--jyp-blue); }

.jyp-posts { margin-top: 6px; display: flex; flex-direction: column; }
.jyp-post-row { display: flex; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--jyp-line); color: var(--jyp-text); }
.jyp-thumb { width: 72px; height: 72px; flex-shrink: 0; border-radius: 14px; overflow: hidden; background: var(--jyp-gray); }
.jyp-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.jyp-thumb.is-icon {
	display: flex; align-items: center; justify-content: center;
	background: var(--jyp-dark); color: var(--jyp-yellow);
}
.jyp-thumb.is-icon.is-white { color: #fff; }
.jyp-post-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.jyp-post-title { font-size: 17px; line-height: 24px; font-weight: 700; }
.jyp-post-meta { margin-top: 4px; font-size: 13px; line-height: 18px; color: var(--jyp-sub); }

.jyp-pager { margin-top: 20px; }
.jyp-pager .nav-links { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.jyp-pager .page-numbers {
	min-width: 44px; height: 44px; padding: 0 12px;
	border-radius: 12px; border: 1px solid var(--jyp-line);
	display: inline-flex; align-items: center; justify-content: center;
	font-weight: 700;
}
.jyp-pager .page-numbers.current { background: var(--jyp-blue); border-color: var(--jyp-blue); color: #fff; font-size: 19px; }

/* ── 바닥글 ───────────────────────────────── */
.jyp-footer { background: var(--jyp-dark); color: #fff; padding: 32px 20px 40px; }
.jyp-brand.is-dark { color: #fff; }
.jyp-brand.is-dark .jyp-brand-name { font-size: 20px; line-height: 28px; }
.jyp-footer-nav { margin-top: 16px; }
.jyp-footer-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 14px; line-height: 24px; }
.jyp-footer-menu a { color: #fff; display: inline-flex; min-height: 32px; align-items: center; }
.jyp-footer-menu a:hover { color: var(--jyp-yellow); }
.jyp-footer-text { margin-top: 16px; font-size: 14px; line-height: 22px; color: rgba(255, 255, 255, 0.8); }
.jyp-footer-text p { margin: 0 0 6px; }
.jyp-footer-copy { margin-top: 12px; font-size: 13px; line-height: 20px; color: rgba(255, 255, 255, 0.8); }

/* ── 주유소 상세 ───────────────────────────────── */
.jyp-mini-map {
	position: relative;
	height: 180px;
	overflow: hidden;
	background-color: #e9edf2;
	background-image:
		linear-gradient(90deg, transparent 47%, #fff 47%, #fff 53%, transparent 53%),
		linear-gradient(0deg, transparent 44%, #fff 44%, #fff 52%, transparent 52%);
	background-size: 160px 120px, 200px 100px;
}
.jyp-mini-map > div[data-jyp-map-canvas], .jyp-mini-map img { display: block; }
.jyp-mini-map.is-ready .jyp-mini-map-pin { display: none; }
.jyp-mini-map-pin {
	position: absolute; left: 50%; top: 84px; transform: translate(-50%, -100%);
	height: 36px; padding: 0 12px;
	border-radius: 10px;
	background: var(--jyp-dark); color: #fff;
	font-size: 15px; font-weight: 700;
	display: flex; align-items: center; gap: 6px;
	white-space: nowrap;
	box-shadow: 0 4px 12px rgba(25, 31, 40, 0.28);
}
.jyp-mini-map-pin span { width: 8px; height: 8px; border-radius: 50%; background: var(--jyp-yellow); }
.jyp-mini-map-link {
	position: absolute; right: 12px; bottom: 12px; z-index: 3;
	min-height: 44px; padding: 0 14px;
	border-radius: 999px;
	background: #fff; color: var(--jyp-text);
	font-size: 14px; font-weight: 700;
	display: flex; align-items: center; gap: 5px;
	box-shadow: 0 2px 8px rgba(25, 31, 40, 0.16);
}

.jyp-st-head { padding: 20px 20px 18px; }
.jyp-chip-row { display: flex; flex-wrap: wrap; gap: 6px; }
.jyp-chip-gray {
	height: 28px; padding: 0 9px;
	border-radius: 8px;
	background: var(--jyp-gray); color: var(--jyp-sub);
	font-size: 13px; font-weight: 500;
	display: inline-flex; align-items: center;
}
.jyp-st-name { margin: 10px 0 0; font-size: 28px; line-height: 36px; font-weight: 700; letter-spacing: -0.03em; }
.jyp-st-meta { margin-top: 6px; font-size: 15px; line-height: 22px; color: var(--jyp-sub); }
.jyp-st-meta + .jyp-st-meta { margin-top: 2px; }
.jyp-st-meta a { color: var(--jyp-sub); text-decoration: underline; text-underline-offset: 3px; }

.jyp-st-block { padding: 0 20px 20px; }
.jyp-st-block > .jyp-h3 { margin-bottom: 12px; }

.jyp-banner { display: flex; gap: 14px; align-items: center; padding: 18px; border-radius: var(--jyp-radius); }
.jyp-banner.is-yes { background: var(--jyp-tint); border: 1px solid var(--jyp-tint-line); }
.jyp-banner.is-no { background: var(--jyp-gray-2); border: 1px solid var(--jyp-line); }
.jyp-banner-icon { width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.jyp-banner.is-yes .jyp-banner-icon { background: var(--jyp-blue); color: #fff; }
.jyp-banner.is-yes .jyp-banner-icon .jyp-icon { stroke-width: 3; }
.jyp-banner.is-no .jyp-banner-icon { background: var(--jyp-gray); color: var(--jyp-sub); }
.jyp-banner-title { font-size: 18px; line-height: 26px; font-weight: 700; }
.jyp-banner-sub { margin-top: 2px; font-size: 15px; line-height: 22px; color: var(--jyp-text-2); }

.jyp-price-card { border: 1px solid var(--jyp-line); border-radius: 20px; overflow: hidden; }
.jyp-price-card-head {
	display: flex; align-items: center; justify-content: space-between; gap: 8px;
	padding: 18px 20px;
	border-bottom: 1px solid var(--jyp-line);
}
.jyp-time { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; line-height: 18px; color: var(--jyp-sub); white-space: nowrap; }
.jyp-price-line {
	display: flex; align-items: center; justify-content: space-between; gap: 12px;
	padding: 16px 20px;
	border-bottom: 1px solid var(--jyp-line);
}
.jyp-price-line:last-child { border-bottom: 0; }
.jyp-price-line.is-premium { background: var(--jyp-tint); }
.jyp-price-line-name { display: flex; align-items: center; gap: 8px; font-size: 17px; line-height: 24px; }
.jyp-price-line.is-premium .jyp-price-line-name { font-weight: 700; }
.jyp-price-line.is-off .jyp-price-line-name { color: var(--jyp-sub); }
.jyp-price-line-val { display: flex; flex-direction: column; align-items: flex-end; }
.jyp-gap { font-size: 12px; line-height: 16px; color: var(--jyp-sub); }
.jyp-off-text { font-size: 15px; color: var(--jyp-sub); }
.jyp-chip-sell {
	height: 24px; padding: 0 8px;
	border-radius: 6px;
	background: #fff; border: 1px solid var(--jyp-tint-line);
	color: var(--jyp-text);
	font-size: 12px; font-weight: 700;
	display: inline-flex; align-items: center; gap: 3px;
}
.jyp-chip-sell .jyp-icon { color: var(--jyp-blue); stroke-width: 3.4; }

.jyp-calc { padding: 18px 20px; border-radius: var(--jyp-radius); background: var(--jyp-bg); }
.jyp-calc-label { font-size: 15px; line-height: 22px; color: var(--jyp-sub); }
.jyp-calc-total { margin-top: 4px; display: flex; align-items: baseline; gap: 4px; }
.jyp-calc-total span:first-child { font-size: 32px; line-height: 38px; font-weight: 900; letter-spacing: -0.03em; }
.jyp-calc-save { margin-top: 2px; min-height: 20px; font-size: 14px; line-height: 20px; color: var(--jyp-sub); }
.jyp-calc-opts { margin-top: 14px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.jyp-calc-opt {
	width: 100%; height: 48px;
	border-radius: 12px;
	border: 1px solid var(--jyp-line);
	background: #fff; color: var(--jyp-sub);
	font-size: 16px; font-weight: 500;
}
.jyp-calc-opt.is-on { border: 1.5px solid var(--jyp-blue); background: var(--jyp-tint); color: var(--jyp-text); font-weight: 700; }

.jyp-fac-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.jyp-fac { display: flex; align-items: center; gap: 10px; padding: 14px; border-radius: 14px; border: 1px solid var(--jyp-line); }
.jyp-fac > span:last-child { display: flex; flex-direction: column; }
.jyp-fac-icon { width: 40px; height: 40px; flex-shrink: 0; border-radius: 12px; background: var(--jyp-tint); color: var(--jyp-blue); display: flex; align-items: center; justify-content: center; }
.jyp-fac-name { font-size: 16px; line-height: 22px; font-weight: 700; }
.jyp-fac-state { font-size: 13px; line-height: 18px; color: var(--jyp-sub); }
.jyp-fac.is-off { background: var(--jyp-gray-2); }
.jyp-fac.is-off .jyp-fac-icon { background: var(--jyp-gray); color: var(--jyp-mono-40); }
.jyp-fac.is-off .jyp-fac-name { font-weight: 500; color: var(--jyp-sub); }

.jyp-near { display: flex; flex-direction: column; }
.jyp-near-row { display: flex; align-items: center; gap: 10px; padding: 14px 0; border-bottom: 1px solid var(--jyp-line); color: var(--jyp-text); }
.jyp-near-row:last-child { border-bottom: 0; }
.jyp-near-row > .jyp-icon { color: var(--jyp-faint); }
.jyp-near-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.jyp-near-name { display: flex; align-items: center; gap: 6px; font-size: 17px; line-height: 24px; font-weight: 700; }
.jyp-near-meta { margin-top: 2px; font-size: 13px; line-height: 18px; color: var(--jyp-sub); }
.jyp-chip-best {
	height: 22px; padding: 0 7px;
	border-radius: 6px;
	background: var(--jyp-yellow); color: var(--jyp-text);
	font-size: 12px; font-weight: 700;
	display: inline-flex; align-items: center;
}

.jyp-actionbar {
	position: sticky; bottom: 0; z-index: 20;
	margin-top: 8px;
	padding: 12px 20px calc(16px + env(safe-area-inset-bottom));
	background: #fff;
	border-top: 1px solid var(--jyp-line);
	display: flex; gap: 10px;
}
.jyp-station-page { padding-bottom: 0; }

/* ── 지역 페이지 ───────────────────────────────── */
.jyp-crumb { padding: 6px 20px 0; }
.jyp-crumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 2px; font-size: 14px; line-height: 20px; color: var(--jyp-sub); }
.jyp-crumb li { display: inline-flex; align-items: center; gap: 2px; }
.jyp-crumb a { min-height: 44px; display: inline-flex; align-items: center; color: var(--jyp-sub); }
.jyp-crumb .jyp-icon { color: var(--jyp-faint); }
.jyp-crumb [aria-current] { color: var(--jyp-text); font-weight: 700; }
.jyp-region-head { padding: 4px 20px 18px; }
.jyp-main > .jyp-region-head:first-child { padding-top: 24px; }
.jyp-region-head .jyp-sub { margin-top: 8px; font-size: 15px; line-height: 22px; }

.jyp-stats { padding: 0 20px 24px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.jyp-stat { padding: 16px; border-radius: 16px; background: var(--jyp-bg); }
.jyp-stat-label { font-size: 14px; line-height: 20px; color: var(--jyp-sub); }
.jyp-stat-val { margin-top: 6px; font-size: 26px; line-height: 32px; font-weight: 900; }
.jyp-stat-sub { margin-top: 4px; font-size: 13px; line-height: 18px; color: var(--jyp-sub); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jyp-stat.is-dark { background: var(--jyp-dark); color: #fff; }
.jyp-stat.is-dark .jyp-stat-label, .jyp-stat.is-dark .jyp-stat-sub { color: rgba(255, 255, 255, 0.8); }
.jyp-stat.is-dark .jyp-price-num { color: var(--jyp-yellow); }
.jyp-stat.is-dark .jyp-price-unit { color: #fff; }

.jyp-rlist {
	margin-top: 12px;
	display: flex; flex-direction: column; gap: 1px;
	background: var(--jyp-line);
	border: 1px solid var(--jyp-line);
	border-radius: var(--jyp-radius);
	overflow: hidden;
}
.jyp-rrow { display: flex; align-items: center; gap: 12px; padding: 14px; background: #fff; color: var(--jyp-text); }
.jyp-rrow:hover { background: var(--jyp-gray-2); color: var(--jyp-text); }
.jyp-rank {
	width: 30px; height: 30px; flex-shrink: 0;
	border-radius: 9px;
	background: var(--jyp-gray); color: var(--jyp-text);
	font-size: 15px; font-weight: 700;
	display: flex; align-items: center; justify-content: center;
}
.jyp-rank.is-top { background: var(--jyp-yellow); font-weight: 900; }
.jyp-rrow-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.jyp-rrow-name { font-size: 17px; line-height: 24px; font-weight: 700; letter-spacing: -0.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jyp-rrow-meta { margin-top: 3px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; font-size: 13px; line-height: 18px; color: var(--jyp-sub); }
.jyp-rlist-empty { padding: 20px; background: #fff; text-align: center; font-size: 15px; color: var(--jyp-sub); }
.jyp-list-note { margin-top: 10px; }
.jyp-rlist.is-loading { opacity: 0.5; }

.jyp-summary { margin-top: 10px; font-size: 16px; line-height: 28px; color: var(--jyp-text-2); }

.jyp-faq { margin-top: 8px; border-top: 1px solid var(--jyp-line); }
.jyp-faq-item { border-bottom: 1px solid var(--jyp-line); }
.jyp-faq-item summary {
	list-style: none;
	display: flex; align-items: center; justify-content: space-between; gap: 12px;
	min-height: 56px; padding: 14px 0;
	font-size: 17px; line-height: 26px; font-weight: 700;
	cursor: pointer;
}
.jyp-faq-item summary::-webkit-details-marker { display: none; }
.jyp-faq-item summary .jyp-icon { color: var(--jyp-sub); transition: transform 0.15s; }
.jyp-faq-item[open] summary .jyp-icon { transform: rotate(180deg); }
.jyp-faq-item p { padding: 0 0 16px; font-size: 15px; line-height: 24px; color: var(--jyp-text-2); }

.jyp-link-chips { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.jyp-link-chip {
	min-height: 44px; padding: 0 16px;
	border-radius: 999px;
	border: 1px solid var(--jyp-line);
	color: var(--jyp-text);
	font-size: 15px; font-weight: 700;
	display: inline-flex; align-items: center;
}
.jyp-link-chip:hover { border-color: var(--jyp-blue); background: var(--jyp-tint); color: var(--jyp-text); }

/* ── 안내 상자 ───────────────────────────────── */
.jyp-notice { margin-top: 16px; padding: 24px 20px; border-radius: var(--jyp-radius); background: var(--jyp-gray-2); border: 1px solid var(--jyp-line); text-align: center; }
.jyp-notice > p:first-child { font-size: 17px; line-height: 26px; font-weight: 700; }
.jyp-notice .jyp-btn { margin-top: 14px; }
.jyp-notice-admin { margin-top: 12px; font-size: 14px; }
.jyp-notice-admin a { color: var(--jyp-text); text-decoration: underline; }

/* ── 글·페이지 본문 ───────────────────────────────── */
.jyp-article { padding: 24px 20px 0; }
.jyp-article-head .jyp-sub { margin-top: 8px; }
.jyp-article-thumb { margin: 20px 0 0; }
.jyp-article-thumb img { border-radius: 16px; display: block; }
.jyp-content { margin-top: 20px; font-size: 17px; line-height: 1.8; color: var(--jyp-text-2); }
.jyp-sec.jyp-content { margin-top: 0; }
.jyp-content > * + * { margin-top: 1em; }
.jyp-content h2 { margin-top: 1.8em; font-size: 22px; line-height: 1.4; color: var(--jyp-text); }
.jyp-content h3 { margin-top: 1.6em; font-size: 19px; line-height: 1.45; color: var(--jyp-text); }
.jyp-content a { color: var(--jyp-text); text-decoration: underline; text-decoration-color: var(--jyp-blue); text-underline-offset: 3px; }
.jyp-content ul, .jyp-content ol { padding-left: 1.3em; }
.jyp-content blockquote { margin: 1.2em 0; padding: 12px 16px; border-radius: 12px; background: var(--jyp-bg); }
.jyp-content table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; }
.jyp-content th, .jyp-content td { padding: 8px 10px; border: 1px solid var(--jyp-line); }
.jyp-content img { border-radius: 12px; }
.jyp-post-nav { padding: 28px 20px 0; }
.jyp-post-nav .nav-links { display: grid; gap: 10px; }
.jyp-post-nav a { display: flex; flex-direction: column; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--jyp-line); }
.jyp-post-nav-title { font-size: 16px; font-weight: 700; color: var(--jyp-text); }
.jyp-404 { padding-top: 48px; text-align: center; }
.jyp-404 .jyp-btn { margin-top: 20px; }

/* ── 지도 화면 ───────────────────────────────── */
body.jyp-mapbody { background: var(--jyp-bg); }
.jyp-map-app {
	position: relative;
	max-width: var(--jyp-col);
	height: 100vh; height: 100dvh;
	min-height: 560px;
	margin: 0 auto;
	overflow: hidden;
	background: #e9edf2;
}
.admin-bar .jyp-map-app { height: calc(100vh - 32px); height: calc(100dvh - 32px); }
.jyp-map-canvas { position: absolute; inset: 0; }
.jyp-map-top { position: absolute; top: 0; left: 0; right: 0; z-index: 10; padding: 12px 16px 0; pointer-events: none; }
.jyp-map-top > * { pointer-events: auto; }
.jyp-map-bar { display: flex; gap: 8px; }
.jyp-map-btn {
	width: 52px; height: 52px; flex-shrink: 0;
	border-radius: 16px;
	background: #fff; color: var(--jyp-text);
	box-shadow: 0 2px 10px rgba(25, 31, 40, 0.14);
	display: flex; align-items: center; justify-content: center;
}
.jyp-map-search { flex: 1; min-width: 0; }
.jyp-map-fuels { margin-top: 10px; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.jyp-map-fuels::-webkit-scrollbar { display: none; }
.jyp-map-fuel {
	flex-shrink: 0;
	height: 44px; padding: 0 16px;
	border: 0; border-radius: 999px;
	background: #fff; color: var(--jyp-text);
	font-size: 16px; font-weight: 500;
	box-shadow: 0 2px 8px rgba(25, 31, 40, 0.12);
}
.jyp-map-fuel.is-on { background: var(--jyp-dark); color: #fff; font-weight: 700; }
.jyp-map-research {
	position: absolute; left: 50%; top: 132px; z-index: 11; transform: translateX(-50%);
	min-height: 44px; padding: 0 16px;
	border: 0; border-radius: 999px;
	background: #fff; color: var(--jyp-text);
	font-size: 15px; font-weight: 700;
	display: inline-flex; align-items: center; gap: 6px;
	box-shadow: 0 4px 14px rgba(25, 31, 40, 0.2);
	white-space: nowrap;
}
.jyp-map-research .jyp-icon { color: var(--jyp-blue); }
.jyp-map-float {
	position: absolute; left: 16px; right: 16px; bottom: 24px; z-index: 10;
	display: flex; align-items: center; justify-content: space-between; gap: 8px;
	pointer-events: none;
	transition: bottom 0.2s;
}
.jyp-map-float > * { pointer-events: auto; }
.jyp-map-app.has-sheet .jyp-map-float { bottom: var(--jyp-sheet-h, 300px); }
.jyp-map-legend {
	height: 40px; padding: 0 12px;
	border-radius: 999px;
	background: #fff; color: var(--jyp-text);
	font-size: 14px; font-weight: 700;
	display: inline-flex; align-items: center; gap: 6px;
	box-shadow: 0 2px 8px rgba(25, 31, 40, 0.14);
}
.jyp-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--jyp-blue); display: inline-block; flex-shrink: 0; }
.jyp-map-locate {
	width: 52px; height: 52px;
	border: 0; border-radius: 50%;
	background: #fff; color: var(--jyp-blue);
	display: flex; align-items: center; justify-content: center;
	box-shadow: 0 2px 10px rgba(25, 31, 40, 0.18);
}
.jyp-sheet {
	position: absolute; left: 0; right: 0; bottom: 0; z-index: 12;
	padding: 10px 20px calc(20px + env(safe-area-inset-bottom));
	background: #fff;
	border-radius: 24px 24px 0 0;
	box-shadow: 0 -6px 24px rgba(25, 31, 40, 0.12);
}
.jyp-sheet-handle { width: 40px; height: 5px; margin: 0 auto; border-radius: 3px; background: var(--jyp-line); }
.jyp-sheet-close { position: absolute; right: 8px; top: 8px; }
.jyp-sheet-top { margin-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-right: 36px; }
.jyp-sheet-dist { font-size: 15px; font-weight: 700; flex-shrink: 0; }
.jyp-sheet-name { margin: 8px 0 0; font-size: 22px; line-height: 30px; font-weight: 700; letter-spacing: -0.03em; }
.jyp-sheet-meta { margin-top: 2px; font-size: 14px; line-height: 20px; color: var(--jyp-sub); }
.jyp-sheet-prices { margin-top: 14px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.jyp-sheet-price { padding: 12px; border-radius: 14px; background: var(--jyp-bg); }
.jyp-sheet-price.is-premium { background: var(--jyp-tint); border: 1px solid var(--jyp-tint-line); }
.jyp-sheet-price-name { font-size: 13px; line-height: 18px; color: var(--jyp-sub); }
.jyp-sheet-price.is-premium .jyp-sheet-price-name { color: var(--jyp-text-2); font-weight: 700; }
.jyp-sheet-price .jyp-price-num { font-size: 20px; line-height: 26px; }
.jyp-sheet-price .jyp-price-unit { font-size: 12px; }
.jyp-sheet-price .jyp-off-text { display: block; margin-top: 3px; font-size: 14px; }
.jyp-sheet-btns { margin-top: 14px; display: flex; gap: 10px; }
.jyp-map-msg {
	position: absolute; left: 50%; top: 132px; z-index: 13; transform: translateX(-50%);
	max-width: calc(100% - 32px);
	padding: 10px 16px;
	border-radius: 14px;
	background: var(--jyp-dark); color: #fff;
	font-size: 15px; line-height: 22px; text-align: center;
	box-shadow: 0 4px 14px rgba(25, 31, 40, 0.24);
}
.jyp-map-nokey { position: absolute; left: 16px; right: 16px; top: 140px; z-index: 14; }
.jyp-map-nokey .jyp-notice { background: #fff; }

/* 지도 위 가격 핀 */
.jyp-pin {
	position: relative;
	display: flex; flex-direction: column; align-items: center;
	padding: 0; border: 0; background: transparent;
	font-family: var(--jyp-font);
	transform: translateY(-4px);
}
.jyp-pin-box {
	height: 40px; padding: 0 11px;
	border-radius: 11px;
	background: #fff; color: var(--jyp-text);
	box-shadow: 0 2px 8px rgba(25, 31, 40, 0.18);
	display: flex; align-items: center; gap: 5px;
	font-size: 16px; font-weight: 700; white-space: nowrap;
}
.jyp-pin-tail { width: 10px; height: 10px; margin-top: -6px; background: #fff; transform: rotate(45deg); }
.jyp-pin.is-best .jyp-pin-box { height: 44px; padding: 0 12px; background: var(--jyp-dark); color: var(--jyp-yellow); font-size: 18px; font-weight: 900; box-shadow: 0 4px 12px rgba(25, 31, 40, 0.28); }
.jyp-pin.is-best .jyp-pin-tail { background: var(--jyp-dark); width: 12px; height: 12px; margin-top: -7px; }
.jyp-pin-tag {
	height: 22px; padding: 0 6px;
	border-radius: 6px;
	background: var(--jyp-yellow); color: var(--jyp-text);
	font-size: 12px; font-weight: 700;
	display: inline-flex; align-items: center;
}
.jyp-pin.is-sel .jyp-pin-box { height: 44px; border: 2.5px solid var(--jyp-blue); font-size: 18px; font-weight: 900; box-shadow: 0 4px 12px rgba(74, 117, 223, 0.35); }
.jyp-pin.is-sel.is-best .jyp-pin-box { border-color: var(--jyp-yellow); }
.jyp-pin.is-sel { z-index: 5; }
.jyp-me { width: 44px; height: 44px; border-radius: 50%; background: rgba(74, 117, 223, 0.2); display: flex; align-items: center; justify-content: center; }
.jyp-me span { width: 16px; height: 16px; border-radius: 50%; background: var(--jyp-blue); border: 3px solid #fff; box-shadow: 0 1px 4px rgba(25, 31, 40, 0.3); }

/* ── 넓은 화면 ───────────────────────────────── */
@media (min-width: 600px) {
	.jyp-col { box-shadow: 0 0 0 1px var(--jyp-line); }
	.jyp-map-app { box-shadow: 0 0 0 1px var(--jyp-line); }
}
@media (max-width: 360px) {
	.jyp-loc-name { font-size: 21px; line-height: 28px; }
	.jyp-tab { font-size: 18px; }
	.jyp-chip { padding: 0 10px; }
	.jyp-hero-num { font-size: 46px; }
	.jyp-region-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.jyp-region-tile.is-wide { grid-column: span 3; }
}
