:root {
  --forest-950: #062f25;
  --forest-900: #0b4f3b;
  --forest-800: #11664d;
  --forest-700: #16805f;
  --mint-100: #e8f5ef;
  --mint-50: #f3faf6;
  --navy-900: #153047;
  --blue-700: #1769aa;
  --blue-100: #e8f3fb;
  --orange-500: #f47b20;
  --yellow-300: #ffd66b;
  --ink: #17211d;
  --muted: #5b6862;
  --line: #d8e1dc;
  --surface: #ffffff;
  --page: #eef4f0;
  --danger: #a83b2d;
  --shadow: 0 12px 36px rgba(7, 54, 40, .11);
  --radius-lg: 24px;
  --radius-md: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--page);
  font-family: "Pretendard", "Noto Sans KR", "Malgun Gothic", system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.55;
}
button, input, select { font: inherit; }
button, select, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; }

.skip-link {
  position: fixed;
  left: 20px;
  top: -80px;
  z-index: 1000;
  padding: 14px 20px;
  color: #fff;
  background: var(--navy-900);
  border-radius: 10px;
  font-weight: 800;
}
.skip-link:focus { top: 16px; }

.site-header {
  color: #fff;
  background: linear-gradient(115deg, var(--forest-950), var(--forest-800));
  border-bottom: 4px solid var(--yellow-300);
}
.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1000px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0;
}
.brand-block { display: flex; align-items: center; gap: 15px; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  background: #fff;
  border-radius: 18px;
  font-size: 29px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
}
.brand-eyebrow { margin: 0 0 2px; color: #ccecdf; font-size: .82rem; font-weight: 800; letter-spacing: .06em; }
.site-header h1, .site-header .site-title { display: block; margin: 0; font-size: clamp(1.35rem, 2.5vw, 2rem); font-weight: 900; line-height: 1.2; letter-spacing: -.03em; }
.build-status {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  padding: 9px 14px;
  color: #f4fff9;
  background: rgba(255,255,255,.11);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  font-size: .86rem;
  font-weight: 750;
}
.build-status span { width: 10px; height: 10px; background: var(--yellow-300); border-radius: 50%; box-shadow: 0 0 0 5px rgba(255,214,107,.18); }
.build-status b { font: inherit; }

main { width: min(1000px, calc(100% - 32px)); margin: 28px auto 48px; }
.ad-slot {
  position: relative;
  display: grid;
  justify-items: center;
  width: min(1200px, 100%);
  min-height: 320px;
  margin: 0 auto 24px;
  padding: 10px 0;
  overflow: hidden;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 0;
}
.ad-slot .adsbygoogle { display: block; width: 100%; height: 300px; }
.home-top-ad { width: 100%; min-height: 290px; }
.home-top-ad .adsbygoogle { width: min(970px, 100%); height: 250px; }
.ad-slot-section { margin-top: 4px; margin-bottom: 24px; background: transparent; border: 0; box-shadow: none; }
.post-hero .ad-slot { z-index: 1; margin: 20px auto 18px; }
.finder, .map-panel, .list-panel, .data-note { background: var(--surface); border: 1px solid rgba(8,66,49,.08); box-shadow: var(--shadow); }
.finder { padding: clamp(22px, 3vw, 34px); border-radius: var(--radius-lg); }
.finder-heading, .panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.section-kicker { margin: 0 0 3px; color: var(--forest-700); font-size: .82rem; font-weight: 850; letter-spacing: .04em; }
h2 { margin: 0; color: var(--navy-900); font-size: clamp(1.25rem, 2vw, 1.65rem); line-height: 1.3; letter-spacing: -.025em; }
.location-button, .map-reload {
  min-height: 48px;
  padding: 9px 17px;
  color: var(--forest-900);
  background: var(--mint-100);
  border: 1px solid #b9ddcd;
  border-radius: 13px;
  font-weight: 850;
}
.location-button:hover, .map-reload:hover { background: #d5eee3; }
.location-button:disabled { cursor: wait; opacity: .72; }
.location-message { min-height: 1.5em; margin: 8px 0 0; color: var(--forest-800); font-size: .84rem; font-weight: 800; }

.filter-form {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr minmax(260px, 1.5fr);
  gap: 14px;
  margin-top: 24px;
}
.filter-form label { display: grid; gap: 7px; color: var(--navy-900); font-weight: 800; }
.brand-filter[hidden] { display: none; }
.filter-form label > span:first-child { font-size: .84rem; }
select, input[type="search"] {
  width: 100%;
  min-height: 56px;
  color: var(--ink);
  background: #fff;
  border: 2px solid var(--line);
  border-radius: 13px;
  outline: none;
}
select { padding: 0 42px 0 15px; }
input[type="search"] { padding: 0 15px 0 48px; }
select:focus, input[type="search"]:focus { border-color: var(--forest-700); box-shadow: 0 0 0 4px rgba(22,128,95,.14); }
select:disabled { color: #8a9690; background: #f2f5f3; }
.search-input-wrap { position: relative; display: block; }
.search-input-wrap svg { position: absolute; left: 16px; top: 50%; width: 22px; transform: translateY(-50%); fill: none; stroke: var(--forest-800); stroke-width: 2; }

.type-filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 0; padding: 0; border: 0; }
.type-filters legend { float: left; margin-right: 10px; padding: 10px 0; color: var(--navy-900); font-weight: 850; }
.type-filters button { min-height: 46px; padding: 8px 18px; color: #46544d; background: #f4f7f5; border: 1px solid var(--line); border-radius: 999px; font-weight: 800; }
.type-filters button:hover { border-color: var(--forest-700); }
.type-filters button.is-active { color: #fff; background: var(--forest-800); border-color: var(--forest-800); box-shadow: 0 6px 18px rgba(17,102,77,.2); }

.summary-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 170px)) 1fr;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  padding: 16px 20px;
  color: #fff;
  background: var(--navy-900);
  border-radius: var(--radius-md);
}
.summary-strip div { display: flex; align-items: baseline; gap: 8px; }
.summary-strip strong { color: var(--yellow-300); font-size: 1.5rem; line-height: 1; }
.summary-strip span { font-size: .82rem; font-weight: 800; }
.summary-strip p { margin: 0; color: #d8e6ef; font-size: .8rem; text-align: right; }

.breadcrumb { display: flex; align-items: center; gap: 12px; margin: 20px 6px; color: var(--muted); }
.breadcrumb span { font-size: .86rem; font-weight: 750; }
.breadcrumb strong { color: var(--navy-900); font-size: 1.08rem; }
.breadcrumb strong::before { content: "›"; margin-right: 12px; color: var(--orange-500); }

.region-count-panel {
  display: grid;
  grid-template-columns: minmax(220px, .75fr) minmax(0, 2fr);
  align-items: center;
  gap: 20px;
  margin: 0 0 20px;
  padding: 18px 22px;
  background: #fff;
  border: 1px solid rgba(8,66,49,.09);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(7,54,40,.07);
}
.region-counts { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin: 0; }
.region-counts div { padding: 11px 12px; text-align: center; background: var(--mint-50); border: 1px solid #deebe5; border-radius: 12px; }
.region-counts dt { color: var(--muted); font-size: .74rem; font-weight: 800; }
.region-counts dd { margin: 2px 0 0; color: var(--navy-900); font-size: .86rem; font-weight: 800; }
.region-counts strong { margin-right: 2px; color: var(--forest-800); font-size: 1.18rem; }

.nearby-mode-banner { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: -4px 0 20px; padding: 14px 18px; color: #fff; background: var(--blue-700); border-radius: 14px; }
.nearby-mode-banner[hidden] { display: none; }
.nearby-mode-banner button { min-height: 42px; padding: 8px 14px; color: var(--navy-900); background: #fff; border: 0; border-radius: 10px; font-weight: 850; }

.results-layout { display: grid; grid-template-columns: 1fr; gap: 20px; align-items: start; }
.map-panel, .list-panel { overflow: hidden; border-radius: var(--radius-lg); }
.panel-heading { min-height: 92px; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.map-canvas { position: relative; min-height: 650px; overflow: hidden; background: linear-gradient(140deg, #dfeee7 0%, #f2f8f4 45%, #d8ebe2 100%); }
.map-grid { position: absolute; inset: 0; opacity: .42; background-image: linear-gradient(rgba(13,94,70,.13) 1px, transparent 1px), linear-gradient(90deg, rgba(13,94,70,.13) 1px, transparent 1px); background-size: 54px 54px; transform: rotate(-7deg) scale(1.15); }
.map-canvas::before, .map-canvas::after { content: ""; position: absolute; border-radius: 50%; border: 34px solid rgba(255,255,255,.62); }
.map-canvas::before { width: 330px; height: 330px; left: -70px; bottom: -85px; }
.map-canvas::after { width: 270px; height: 270px; right: -30px; top: -90px; }
.map-label { position: absolute; z-index: 1; color: rgba(9,76,56,.48); font-size: .78rem; font-weight: 850; }
.map-label-north { left: 53%; top: 13%; }
.map-label-west { left: 12%; top: 52%; }
.map-label-east { right: 9%; bottom: 26%; }
.map-markers { position: absolute; inset: 0; z-index: 2; }
.map-marker {
  position: absolute;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: #fff;
  background: var(--forest-800);
  border: 4px solid #fff;
  border-radius: 50% 50% 50% 10%;
  box-shadow: 0 8px 18px rgba(3, 50, 37, .28);
  transform: translate(-50%, -100%) rotate(-45deg);
  font-weight: 900;
}
.map-marker span { transform: rotate(45deg); }
.map-marker:hover, .map-marker:focus { z-index: 3; background: var(--orange-500); }
.map-marker.marker-type-outdoor, .naver-marker.marker-type-outdoor { background: var(--forest-800); }
.map-marker.marker-type-indoor, .map-marker.marker-type-practice,
.naver-marker.marker-type-indoor, .naver-marker.marker-type-practice { background: var(--navy-900); }
.map-marker.marker-type-screen_parkgolf, .naver-marker.marker-type-screen_parkgolf { background: var(--blue-700); }
.map-canvas.has-real-map > .map-grid,
.map-canvas.has-real-map > .map-label,
.map-canvas.has-real-map > .map-markers,
.map-canvas.has-real-map > .map-notice { display: none; }
.naver-marker {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: #fff;
  background: var(--forest-800);
  border: 4px solid #fff;
  border-radius: 50% 50% 50% 9px;
  box-shadow: 0 7px 16px rgba(3,50,37,.32);
  transform: rotate(-45deg);
  font-weight: 900;
  cursor: pointer;
}
.naver-marker span { transform: rotate(45deg); }
.current-location-marker { display: block; width: 22px; height: 22px; background: #247bea; border: 4px solid #fff; border-radius: 50%; box-shadow: 0 0 0 7px rgba(36,123,234,.2), 0 4px 12px rgba(0,0,0,.25); }
.map-legend { position: absolute; z-index: 5; top: 16px; left: 16px; display: flex; flex-wrap: wrap; gap: 9px; padding: 9px 11px; background: rgba(255,255,255,.94); border: 1px solid #ccd9d3; border-radius: 12px; box-shadow: 0 5px 16px rgba(7,55,41,.12); }
.map-legend span { display: inline-flex; align-items: center; gap: 5px; color: var(--navy-900); font-size: .72rem; font-weight: 850; }
.map-legend i { width: 12px; height: 12px; border-radius: 50%; }
.legend-outdoor { background: var(--forest-800); }
.legend-indoor { background: var(--navy-900); }
.legend-screen { background: var(--blue-700); }
.map-notice { position: absolute; z-index: 4; left: 50%; bottom: 22px; display: grid; gap: 2px; width: min(86%, 430px); padding: 14px 18px; background: rgba(255,255,255,.94); border: 1px solid #cddbd4; border-radius: 14px; box-shadow: 0 10px 26px rgba(7,55,41,.14); transform: translateX(-50%); text-align: center; }
.map-notice strong { color: var(--navy-900); font-size: .94rem; }
.map-notice span { color: var(--muted); font-size: .76rem; }

.list-panel { min-height: 744px; }
.list-heading select { width: auto; min-height: 46px; font-size: .86rem; }
.facility-list { display: grid; gap: 14px; max-height: 650px; padding: 18px; overflow: auto; scrollbar-color: #91b9a8 transparent; }
.facility-card { padding: 20px; background: #fff; border: 2px solid #e1e8e4; border-radius: 18px; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.facility-card:hover { transform: translateY(-2px); border-color: #acd3c2; box-shadow: 0 10px 25px rgba(9,73,54,.1); }
.card-topline { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.card-number { display: grid; place-items: center; width: 30px; height: 30px; margin-right: auto; color: #fff; background: var(--navy-900); border-radius: 9px; font-size: .76rem; font-weight: 900; }
.type-badge, .status-badge { display: inline-flex; align-items: center; min-height: 30px; padding: 4px 10px; border-radius: 999px; font-size: .73rem; font-weight: 850; }
.type-badge { color: var(--forest-900); background: var(--mint-100); }
.type-badge[data-type="screen_parkgolf"], .type-badge[data-type="indoor"] { color: #31558c; background: var(--blue-100); }
.type-badge[data-type="practice"] { color: #734011; background: #fff1df; }
.status-badge { color: #246447; background: #e7f5ec; }
.status-badge[data-status="미운영"] { color: var(--danger); background: #fdebea; }
.facility-card h3 { margin: 0; color: var(--navy-900); font-size: 1.2rem; line-height: 1.35; letter-spacing: -.02em; }
.area-label { margin: 5px 0 14px; color: var(--forest-700); font-weight: 850; }
.area-label::before { content: "⌖"; margin-right: 6px; color: var(--orange-500); }
.quick-info { display: grid; grid-template-columns: auto 1fr; gap: 6px 13px; margin: 0 0 16px; font-size: .86rem; }
.quick-info div { display: contents; }
.quick-info dt { color: var(--muted); font-weight: 750; }
.quick-info dd { margin: 0; color: #27352f; font-weight: 700; }
.card-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }

.shortcut {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 51px;
  padding: 9px 15px;
  overflow: hidden;
  color: #fff;
  border-radius: 13px;
  text-align: center;
  text-decoration: none;
  font-weight: 900;
  transition: transform .18s ease, filter .18s ease;
}
.shortcut:hover { transform: translateY(-2px); filter: brightness(1.08); }
.shortcut:focus-visible { outline: 4px solid var(--yellow-300); outline-offset: 2px; }
.shortcut-no-icon { justify-content: center; padding-inline: 15px; text-align: center; }
.shortcut-detail { background: var(--forest-800); }
.shortcut-route { background: var(--blue-700); }
.shortcut-reserve { background: #a64d14; }
.shortcut-phone-reserve { background: #6b3ca0; }
.shortcut-walkin { background: #5d6571; }
.shortcut-tmap { background: #111827; }
.shortcut-naver { background: #087f35; }
.shortcut-kakao { color: #291f00; background: #f8d447; }
.route-actions .route-shortcut { min-height: 64px; padding: 9px 9px 9px 20px; justify-content: space-between; text-align: left; }
.route-service-icon-box { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; background: #fff; border: 1px solid rgba(15,23,42,.1); border-radius: 13px; box-shadow: 0 2px 7px rgba(15,23,42,.14); overflow: hidden; }
.route-service-icon { display: block; width: 36px; height: 36px; object-fit: contain; }

.app-install-overlay { position: fixed; z-index: 9999; inset: 0; display: grid; place-items: center; padding: 22px; background: rgba(3,28,21,.76); backdrop-filter: blur(4px); }
.app-install-card { width: min(440px, 100%); padding: 28px 24px 22px; color: var(--navy-900); text-align: center; background: #fff; border-radius: 22px; box-shadow: 0 24px 80px rgba(0,0,0,.34); }
.app-install-icon { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 14px; background: var(--mint-50); border-radius: 18px; font-size: 2rem; }
.app-install-card h3 { margin: 0; font-size: 1.32rem; }
.app-install-card > p { margin: 10px 0 0; color: var(--muted); line-height: 1.6; }
.app-install-card .app-install-countdown { color: var(--forest-800); font-size: .9rem; font-weight: 800; }
.app-install-actions { display: grid; grid-template-columns: 1fr 100px; gap: 9px; margin-top: 20px; }
.app-install-actions a, .app-install-actions button { display: grid; place-items: center; min-height: 52px; padding: 10px 14px; border: 0; border-radius: 13px; font: inherit; font-weight: 900; text-decoration: none; }
.app-install-actions a { color: #fff; background: var(--blue-700); }
.app-install-actions button { color: var(--navy-900); background: #edf2ef; }
.app-install-actions a:focus-visible, .app-install-actions button:focus-visible { outline: 4px solid var(--yellow-300); outline-offset: 2px; }

.empty-state { padding: 64px 24px; text-align: center; color: var(--muted); }
.empty-state span { display: block; margin-bottom: 10px; font-size: 2.2rem; }
.empty-state strong { display: block; color: var(--navy-900); font-size: 1.08rem; }
.empty-state p { margin: 6px 0 0; font-size: .88rem; }

.data-note { display: flex; align-items: flex-start; gap: 16px; margin-top: 20px; padding: 22px 26px; border-radius: var(--radius-md); }
.data-note-icon { flex: 0 0 auto; display: grid; place-items: center; width: 34px; height: 34px; color: #fff; background: var(--orange-500); border-radius: 50%; font-weight: 900; }
.data-note h2 { font-size: 1rem; }
.data-note p { margin: 4px 0 0; color: var(--muted); font-size: .86rem; }

.facility-dialog { width: min(820px, calc(100% - 24px)); max-height: calc(100vh - 40px); padding: 0; overflow: auto; border: 0; border-radius: 22px; box-shadow: 0 24px 80px rgba(0,0,0,.32); }
.facility-dialog::backdrop { background: rgba(3,28,21,.7); backdrop-filter: blur(3px); }
.dialog-close { position: sticky; z-index: 2; top: 14px; float: right; width: 44px; height: 44px; margin: 14px 14px -58px 0; color: var(--navy-900); background: #fff; border: 1px solid var(--line); border-radius: 50%; font-size: 1.6rem; line-height: 1; }
.dialog-body { padding: 30px; }
.dialog-body h2 { padding-right: 50px; font-size: 1.65rem; }
.dialog-location { color: var(--forest-700); font-weight: 850; }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 22px 0; }
.detail-item { padding: 14px 16px; background: var(--mint-50); border-radius: 13px; }
.detail-item span { display: block; margin-bottom: 3px; color: var(--muted); font-size: .76rem; font-weight: 800; }
.detail-item strong { display: block; color: var(--navy-900); font-size: .93rem; }
.dialog-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 9px; }
.dialog-actions a { min-height: 54px; justify-content: center; text-align: center; }
.dialog-source { margin: 20px 0 0; color: var(--muted); font-size: .76rem; }
.dialog-source a { color: var(--blue-700); font-weight: 800; }
.dialog-badges { display: flex; gap: 8px; margin-bottom: 10px; }
.status-warning { padding: 14px 16px; color: #79261e; background: #fff0ed; border: 1px solid #f5b8af; border-radius: 13px; font-size: .88rem; }
.walk-in-note { margin: 14px 0 0; padding: 14px 16px; color: #3c4650; background: #f0f3f5; border: 1px solid #d8dfe3; border-radius: 13px; font-size: .86rem; outline: none; }
.walk-in-note:focus { box-shadow: 0 0 0 4px rgba(23,105,170,.14); }
.recommendation-section { margin-top: 25px; padding: 20px; background: #f4f8fb; border: 1px solid #d9e7f1; border-radius: 17px; }
.recommendation-section h3 { margin: 0; color: var(--navy-900); font-size: 1.08rem; }
.recommendation-section > p { margin: 5px 0 14px; color: var(--muted); font-size: .84rem; }
.recommendation-list { display: grid; gap: 8px; }
.recommendation-item { display: grid; grid-template-columns: 32px 1fr auto; align-items: center; gap: 10px; width: 100%; min-height: 58px; padding: 9px 11px; text-align: left; background: #fff; border: 1px solid #d7e3ea; border-radius: 12px; }
.recommendation-item:hover { border-color: var(--blue-700); }
.recommendation-number { display: grid; place-items: center; width: 30px; height: 30px; color: #fff; background: var(--blue-700); border-radius: 9px; font-size: .76rem; font-weight: 900; }
.recommendation-item strong, .recommendation-item small { display: block; }
.recommendation-item strong { color: var(--navy-900); font-size: .88rem; }
.recommendation-item small { margin-top: 2px; color: var(--muted); font-size: .7rem; }
.recommendation-item b { color: var(--forest-800); font-size: .84rem; }
.recommendation-section .radius-note { margin: 9px 0; text-align: right; font-size: .7rem; }
.show-nearby-button { width: 100%; min-height: 50px; color: #fff; background: var(--blue-700); border: 0; border-radius: 12px; font-weight: 900; }
.recommendation-empty { padding: 12px; text-align: center; background: #fff; border-radius: 11px; }
.route-dialog > p:not(.section-kicker) { color: var(--muted); }
.back-detail-button { width: 100%; min-height: 50px; margin-top: 13px; color: var(--navy-900); background: #f1f5f3; border: 1px solid var(--line); border-radius: 13px; font-weight: 850; }
.back-detail-button:hover { background: #e5eee9; }

.site-footer { display: flex; justify-content: space-between; gap: 20px; padding: 28px 6px 0; color: var(--muted); font-size: .76rem; }
.site-footer p { margin: 0; }

@media (max-width: 1120px) {
  .filter-form { grid-template-columns: repeat(2, 1fr); }
  .results-layout { grid-template-columns: 1fr; }
  .map-canvas { min-height: 520px; }
  .list-panel { min-height: auto; }
  .facility-list { max-height: none; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .summary-strip { grid-template-columns: repeat(3, 1fr); }
  .summary-strip p { grid-column: 1 / -1; text-align: left; }
  .region-count-panel { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  body { font-size: 17px; }
  .site-header-inner { align-items: flex-start; width: 100%; padding: 18px; }
  .brand-mark { width: 46px; height: 46px; border-radius: 14px; font-size: 24px; }
  .build-status { display: none; }
  main { width: calc(100% - 20px); margin-top: 14px; }
  .ad-slot { width: min(300px, 100%); min-height: 278px; margin-bottom: 18px; padding-top: 7px; border-radius: 13px; }
  .ad-slot .adsbygoogle { width: 100%; height: 250px; }
  .home-top-ad { width: min(300px, 100%); min-height: 278px; }
  .post-hero .ad-slot { margin-top: 17px; margin-bottom: 16px; }
  .finder { padding: 20px 16px; border-radius: 19px; }
  .finder-heading { align-items: flex-start; }
  .location-button { padding-inline: 11px; font-size: .82rem; }
  .filter-form { grid-template-columns: 1fr; margin-top: 20px; }
  .type-filters legend { width: 100%; }
  .type-filters button { flex: 1 1 auto; }
  .summary-strip { grid-template-columns: 1fr; padding: 18px; }
  .summary-strip div { justify-content: space-between; padding-bottom: 9px; border-bottom: 1px solid rgba(255,255,255,.15); }
  .summary-strip p { grid-column: auto; }
  .region-count-panel { padding: 17px; }
  .region-counts { grid-template-columns: repeat(2, 1fr); }
  .region-counts div:first-child { grid-column: 1 / -1; }
  .nearby-mode-banner { align-items: stretch; flex-direction: column; }
  .results-layout { gap: 14px; }
  .map-panel, .list-panel { border-radius: 18px; }
  .panel-heading { min-height: 82px; padding: 17px; }
  .map-reload { display: none; }
  .map-canvas { min-height: 440px; }
  .facility-list { grid-template-columns: 1fr; padding: 12px; }
  .facility-card { padding: 18px; }
  .card-actions { gap: 8px; }
  .shortcut { min-height: 56px; }
  .data-note { padding: 18px; }
  .detail-grid, .dialog-actions { grid-template-columns: 1fr; }
  .dialog-body { padding: 24px 18px; }
  .recommendation-section { padding: 16px 12px; }
  .app-install-overlay { padding: 14px; }
  .app-install-card { padding: 24px 17px 17px; border-radius: 18px; }
  .app-install-actions { grid-template-columns: 1fr; }
  .site-footer { display: grid; gap: 5px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

.share-dock {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1200;
  display: grid;
  grid-template-columns: 180px;
  gap: 9px;
}
.share-dock-button {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  min-height: 54px;
  padding: 11px 15px;
  border: 1px solid rgba(15,23,42,.12);
  border-radius: 15px;
  box-shadow: 0 8px 24px rgba(15,23,42,.2);
  font: inherit;
  font-size: .92rem;
  font-weight: 950;
  cursor: pointer;
  transition: transform .16s ease, filter .16s ease;
}
.share-dock-button:hover { transform: translateY(-2px); filter: brightness(1.03); }
.share-dock-button:focus-visible { outline: 4px solid var(--yellow-300); outline-offset: 2px; }
.share-dock-button svg { flex: 0 0 auto; width: 25px; height: 25px; }
.share-kakao { color: #261f00; background: #fee500; }
.share-copy { color: #fff; background: var(--forest-800); }
.share-copy.is-complete { background: #18794e; }
.share-dock-status { position: absolute; right: 0; bottom: calc(100% + 8px); width: max-content; max-width: 280px; margin: 0; padding: 9px 12px; color: #fff; background: #17261f; border-radius: 10px; box-shadow: var(--shadow-soft); font-size: .8rem; font-weight: 800; }
.share-dock-status:empty { display: none; }

@media (max-width: 720px) {
  body { padding-bottom: calc(78px + env(safe-area-inset-bottom)); }
  .share-dock {
    right: 0;
    bottom: 0;
    left: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 9px 10px calc(9px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,.96);
    border-top: 1px solid #d7e1da;
    box-shadow: 0 -7px 22px rgba(15,23,42,.14);
    backdrop-filter: blur(10px);
  }
  .share-dock-button { justify-content: center; min-height: 52px; padding: 10px 8px; border-radius: 12px; box-shadow: none; font-size: .88rem; }
  .share-dock-status { right: 10px; left: 10px; width: auto; max-width: none; text-align: center; }
}

@media print { .share-dock { display: none !important; } }
