@font-face {
  font-family: "GmarketSans";
  font-weight: 300;
  font-style: normal;
  font-display: swap;
  src: url("https://cdn.jsdelivr.net/gh/webfontworld/gmarket/GmarketSansLight.woff2") format("woff2");
}
@font-face {
  font-family: "GmarketSans";
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  src: url("https://cdn.jsdelivr.net/gh/webfontworld/gmarket/GmarketSansMedium.woff2") format("woff2");
}
@font-face {
  font-family: "GmarketSans";
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url("https://cdn.jsdelivr.net/gh/webfontworld/gmarket/GmarketSansBold.woff2") format("woff2");
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "GmarketSans", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  background: #fff1f6;
  color: #3d342c;
  font-size: 15px;
  line-height: 1.75;
  font-weight: 500;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
.skip {
  position: absolute;
  left: -999px;
  background: #1f2937;
  color: #fff;
  padding: 8px 12px;
  z-index: 20;
}
.skip:focus { left: 12px; top: 12px; }
.header {
  background: linear-gradient(135deg, #ff4b8b 0%, #d63a86 100%);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 30;
}
.header-content {
  max-width: 490px;
  margin: 0 auto;
  min-height: 64px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.logo {
  color: #fff;
  text-decoration: none;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.cupid { overflow: visible; display: block; flex: 0 0 auto; }
.cupid-heart { transform-origin: 18px 16px; animation: cupid-heart 1.5s ease-in-out infinite; }
.cupid-arrow { transform-origin: 16px 18px; animation: cupid-arrow 1.5s ease-in-out infinite; }
@keyframes cupid-heart {
  0%, 34% { transform: scale(1); }
  48% { transform: scale(1.18); }
  58% { transform: scale(.9) rotate(-8deg); }
  74% { transform: scale(1.06); }
  100% { transform: scale(1); }
}
@keyframes cupid-arrow {
  0% { transform: translate(-14px, 8px); opacity: 0; }
  18% { opacity: 1; }
  50% { transform: translate(0, 0); opacity: 1; }
  100% { transform: translate(0, 0); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .cupid-heart, .cupid-arrow { animation: none; }
}
.header-tools { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgba(255, 255, 255, .18);
  border: 1px solid rgba(255, 255, 255, .85);
  border-radius: 8px;
  padding: 0;
  cursor: pointer;
}
.icon-btn:hover { background: rgba(255, 255, 255, .3); }
a.icon-btn { text-decoration: none; }
body[data-page="nearby"] {
  height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
}
body[data-page="nearby"] .header { flex: 0 0 auto; }
body[data-page="nearby"] .foot { display: none; }
.nearby-wrap {
  flex: 1 1 auto;
  min-height: 0;
  max-width: 490px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  background: #fff;
}
.nearby-status {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 0;
  padding: 6px 14px;
  font-size: .78rem;
  font-weight: 500;
  line-height: 1.4;
  color: #374151;
  background: #f8f9ff;
  border-bottom: 1px solid #e8e8ee;
}
.nearby-status button {
  flex: 0 0 auto;
  border: 1px solid #c7d2fe;
  background: #fff;
  color: #667eea;
  border-radius: 8px;
  padding: 4px 8px;
  font: inherit;
  font-size: .75rem;
  font-weight: 700;
  cursor: pointer;
}
.nearby-cats {
  flex: 0 0 auto;
  display: flex;
  overflow-x: auto;
  border-bottom: 1px solid #e8e8ee;
  background: #fff;
}
.nearby-cats button {
  flex: 1 0 auto;
  min-width: 64px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: none;
  padding: 12px 8px 10px;
  font: inherit;
  font-size: .86rem;
  font-weight: 700;
  color: #888;
  cursor: pointer;
}
.nearby-cats button.active { color: #667eea; border-bottom-color: #667eea; }
.nearby-filters {
  flex: 0 0 auto;
  display: flex;
  gap: 6px;
  padding: 8px 12px;
  overflow-x: auto;
  border-bottom: 1px solid #e8e8ee;
}
.nearby-filters button {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px solid #e9ecef;
  background: #f8f9fa;
  color: #555;
  border-radius: 999px;
  padding: 6px 12px;
  font: inherit;
  font-size: .8rem;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}
.nearby-filters button.active { background: #667eea; border-color: #667eea; color: #fff; }
.nearby-filters button:disabled { opacity: .38; cursor: not-allowed; }
.nearby-filters .theme-caret { width: 10px; height: 10px; transition: transform .2s ease; }
.nearby-filters button.is-open .theme-caret { transform: rotate(180deg); }
.nearby-themes { flex: 0 0 auto; padding: 8px 12px 10px; background: #f8f9fa; border-bottom: 1px solid #e8e8ee; }
.nearby-themes[hidden] { display: none; }
.nearby-theme-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.nearby-theme-grid button {
  border: 1.5px solid #e9ecef;
  background: #fff;
  border-radius: 10px;
  padding: 8px 4px;
  font: inherit;
  font-size: .72rem;
  font-weight: 700;
  color: #333;
  cursor: pointer;
}
.nearby-theme-grid button.active { border-color: #e91e63; background: #fdf2f8; }
.nearby-map-wrap { position: relative; flex: 0 0 42vh; height: 42vh; }
#nearby-map { height: 100%; width: 100%; background: #dbe4f0; }
.nearby-wrap.is-homecare .nearby-map-wrap,
.nearby-wrap.is-homecare .nearby-healing { display: none; }
.nearby-healing {
  flex: 0 0 0;
  height: 0;
  display: flex;
  justify-content: flex-end;
  padding: 0 12px;
  position: relative;
  z-index: 6;
  pointer-events: none;
}
.healing-chip {
  --heart-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z'/%3E%3C/svg%3E");
  pointer-events: auto;
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  width: 92px;
  height: 84px;
  padding: 18px 8px 0;
  transform: translateY(calc(-100% - 6px));
  border: 0;
  background: transparent;
  color: #be123c;
  font: inherit;
  font-size: .78rem;
  font-weight: 700;
  cursor: pointer;
  filter: drop-shadow(0 5px 10px rgba(190, 18, 60, .28));
}
.healing-chip::before, .healing-chip::after {
  content: "";
  position: absolute;
  -webkit-mask-image: var(--heart-mask);
  mask-image: var(--heart-mask);
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  pointer-events: none;
}
.healing-chip::before { inset: 0; background: #f43f5e; }
.healing-chip::after { inset: 3px; background: #fff; }
.healing-chip-label, .healing-switch { position: relative; z-index: 1; }
.healing-switch { width: 32px; height: 18px; border-radius: 999px; background: #e5e7eb; }
.healing-knob {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .22);
  transition: transform .15s ease;
}
.healing-chip.is-on { color: #fff; filter: drop-shadow(0 6px 12px rgba(255, 107, 107, .45)); }
.healing-chip.is-on::before { background: #fff; }
.healing-chip.is-on::after { background: linear-gradient(135deg, #ff6b6b, #ff8e8e); }
.healing-chip.is-on .healing-switch { background: rgba(255, 255, 255, .38); }
.healing-chip.is-on .healing-knob { transform: translateX(14px); }
.nearby-list { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 4px 12px 24px; background: #f5f6f8; }
.nearby-list h2 { margin: 8px 0 10px; font-size: .92rem; }
.nearby-list .empty { padding: 24px 8px; text-align: center; color: #6b7280; }
.shop-card {
  display: flex;
  width: 100%;
  background: #fff;
  border: 1px solid #e8e8ee;
  border-radius: 16px;
  overflow: hidden;
  margin: 0 0 10px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .08);
}
.shop-card.is-selected { border-color: #667eea; box-shadow: 0 0 0 2px rgba(102, 126, 234, .25); }
.shop-card .card-image { position: relative; width: 92px; height: 118px; flex-shrink: 0; background: #eee; overflow: hidden; }
.shop-card .card-image img { width: 100%; height: 100%; object-fit: cover; }
.shop-card .image-overlay { position: absolute; top: 5px; left: 50%; transform: translateX(-50%); z-index: 2; }
.shop-card .shop-type {
  background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
  color: #fff;
  padding: 3px 6px;
  border-radius: 7px;
  font-size: .62rem;
  font-weight: 700;
  white-space: nowrap;
}
.shop-card .shop-type-outcall { background: linear-gradient(135deg, #64b5f6, #90caf9); }
.shop-card .card-body { flex: 1; min-width: 0; padding: 8px 10px 9px 12px; }
.shop-card .row1 { display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.shop-card h3 { margin: 0; min-width: 0; flex: 1; font-size: .98rem; font-weight: 700; }
.shop-card .card-name { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shop-card .km { color: #667eea; font-weight: 700; font-size: .82rem; white-space: nowrap; }
.shop-card p { margin: 3px 0 0; font-size: .8rem; color: #6b7280; line-height: 1.35; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shop-card .price { color: #111; font-weight: 700; font-size: .9rem; }
.shop-card .price-label { font-size: .72rem; color: #888; font-weight: 700; margin-right: 4px; }
.map-label-icon { background: none !important; border: none !important; }
.map-pin button { padding: 0; font: inherit; cursor: pointer; }
.map-pin {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 8px;
  filter: drop-shadow(0 3px 6px rgba(45, 38, 90, .22));
}
button.map-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 220px;
  padding: 5px 11px;
  background: #fffdf8;
  border: 2px solid #5c6ad6;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7);
}
button.map-label.is-selected { border-color: #c46a58; box-shadow: 0 0 0 3px rgba(196, 106, 88, .28); }
.map-name { font-weight: 800; color: #241f33; max-width: 108px; overflow: hidden; text-overflow: ellipsis; }
.map-price { font-weight: 800; color: #e11d48; padding-left: 6px; border-left: 1px solid #e4e7f4; }
.map-cluster {
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #667eea;
  color: #fff;
  border: 2px solid #fff;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.map-pin::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 10px solid #fffdf8;
  margin-top: -1px;
}
.map-pin--cluster::after { border-top-color: #667eea; }
.map-pin::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 10px;
  height: 10px;
  margin-left: -5px;
  background: #667eea;
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .3);
}
.my-dot {
  width: 16px;
  height: 16px;
  background: #2563eb;
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(37, 99, 235, .25);
}
.nearby-picker {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;
  max-height: 42%;
  overflow: auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .2);
  z-index: 5;
}
.nearby-picker[hidden] { display: none; }
.nearby-picker-title { padding: 10px 12px 6px; font-size: .82rem; font-weight: 700; color: #444; border-bottom: 1px solid #eee; }
.pick-row {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  border: 0;
  border-bottom: 1px solid #f3f4f6;
  background: #fff;
  padding: 9px 12px;
  text-align: left;
  font: inherit;
  cursor: pointer;
}
.pick-name { flex: 1; min-width: 0; font-weight: 700; font-size: .88rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pick-price { color: #e11d48; font-weight: 700; font-size: .82rem; white-space: nowrap; }
.finder, .filter-section, .main-content, .foot-inner {
  max-width: 490px;
  margin: 0 auto;
}
.finder { background: #fff; padding: 16px 16px 4px; display: flex; flex-direction: column; gap: 12px; }
.text-search {
  position: relative;
  display: flex;
  align-items: center;
  width: calc(50% - 5px);
  height: 44px;
  background: #f8f9fa;
  border: 2px solid transparent;
  border-radius: 12px;
  padding: 0 4px 0 12px;
}
.text-search:focus-within {
  border-color: #667eea;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, .12);
}
.text-search input {
  flex: 1;
  width: 100%;
  height: 40px;
  border: 0;
  background: transparent;
  padding: 0;
  font: inherit;
  font-size: .95rem;
  color: #333;
  outline: none;
  min-width: 0;
  scroll-margin-top: 84px;
}
.text-search input::placeholder { color: #999; }
.search-icon {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border: 0;
  background: transparent;
  color: #667eea;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}
.loc-selects { display: flex; flex-direction: column; gap: 10px; }
.loc-row {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 10px;
  align-items: stretch;
}
.loc-row select {
  flex: 1 1 0;
  width: 50%;
  min-width: 0;
  max-width: 50%;
}
.loc-selects select {
  width: 100%;
  height: 44px;
  border: 0;
  background: #f8f9fa url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23667eea' d='M1 1l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 12px center;
  border-radius: 12px;
  padding: 0 30px 0 12px;
  font: inherit;
  font-size: .92rem;
  color: #333;
  appearance: none;
}
.loc-selects select:has(option[value=""]:checked) { color: #999; }
.loc-selects select:focus {
  outline: none;
  box-shadow: 0 0 0 2px #667eea;
  background-color: #fff;
}
.loc-selects select:disabled { color: #b0b0b0; }
.loc-selects .loc-row select {
  flex: 1 1 0;
  width: 50%;
  max-width: none;
  min-width: 0;
}
.filter-section { background: #fff; padding: 10px 12px 14px; }
.filter-container {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}
.filter-container::-webkit-scrollbar { display: none; }
.filter-btn {
  flex: 0 0 auto;
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  color: #666;
  text-decoration: none;
  border-radius: 20px;
  padding: 8px 14px;
  font: inherit;
  font-size: .9rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}
.filter-btn.active, .filter-btn:hover {
  background: #667eea;
  color: #fff;
  border-color: #667eea;
}
.theme-select {
  flex: 0 0 auto;
  height: 38px;
  border: 1px solid #e9ecef;
  background: #f8f9fa url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23666' d='M1 1l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 10px center;
  border-radius: 20px;
  padding: 0 28px 0 14px;
  font: inherit;
  font-size: .9rem;
  font-weight: 700;
  color: #666;
  appearance: none;
  cursor: pointer;
}
.theme-select.is-on {
  background-color: #667eea;
  color: #fff;
  border-color: #667eea;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23fff' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
}
.type-filter-dropdown { position: relative; flex: 0 0 auto; }
.type-filter-btn { display: inline-flex; align-items: center; gap: 6px; }
.type-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 148px;
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
  z-index: 25;
  overflow: hidden;
}
.type-dropdown-menu.show { display: block; }
.type-dropdown-item {
  display: block;
  width: 100%;
  text-align: left;
  background: #fff;
  border: 0;
  border-bottom: 1px solid #f3f3f3;
  color: #555;
  text-decoration: none;
  padding: 12px 16px;
  font: inherit;
  font-size: .92rem;
  cursor: pointer;
}
.type-dropdown-item:hover { background: #f4f6ff; color: #667eea; }
.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(20, 16, 40, .35);
  z-index: 40;
}
.side-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: min(280px, 86vw);
  height: 100%;
  background: #fff;
  z-index: 50;
  overflow: auto;
  padding: 20px 16px 32px;
  box-shadow: -8px 0 24px rgba(0, 0, 0, .16);
}
.side-menu[hidden], .nav-backdrop[hidden] { display: none; }
.side-title { margin: 0 0 12px; font-size: 1.1rem; font-weight: 700; color: #667eea; }
.menu-rule { border: 0; border-top: 1px solid #e6e6ee; margin: 8px 0; }
.side-menu a {
  display: block;
  padding: 11px 4px;
  border-bottom: 1px solid #f2f2f2;
  text-decoration: none;
  color: #333;
  font-weight: 700;
}
.info-dialog {
  border: 0;
  border-radius: 16px;
  padding: 20px 18px 16px;
  max-width: 420px;
  width: calc(100% - 32px);
  color: #333;
}
.info-dialog h2 { margin: 0 0 8px; font-size: 1.15rem; }
.info-dialog p { margin: 0 0 10px; font-size: .92rem; line-height: 1.6; font-weight: 500; }
.info-dialog a { color: #667eea; }
.info-dialog button {
  border: 0;
  background: #667eea;
  color: #fff;
  border-radius: 999px;
  padding: 8px 16px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.info-dialog::backdrop { background: rgba(20, 16, 40, .4); }
.main-content { padding: 16px; }
.results-header h1 {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  margin: 0 0 12px;
  color: #2c2622;
}
.detail-name {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.25;
  margin: 0 0 6px;
  color: #2c2622;
}
.massage-list { display: flex; flex-direction: column; gap: 8px; }
.massage-card {
  display: flex;
  flex-direction: row;
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 8px 22px rgba(61, 52, 44, .06);
  content-visibility: auto;
  contain-intrinsic-size: 460px 150px;
}
.massage-card[hidden] { display: none; }
.card-image {
  position: relative;
  width: 85px;
  flex: 0 0 85px;
  background: #e7f0ec;
}
.shop-image, .ph {
  width: 100%;
  height: 100%;
  min-height: 148px;
  object-fit: cover;
}
.ph {
  display: grid;
  place-items: center;
  color: #2f6f62;
  font-size: 1.6rem;
  font-weight: 700;
}
.image-overlay {
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
}
.shop-type {
  background: linear-gradient(135deg, #c46a58, #d98978);
  color: #fff;
  border-radius: 9px;
  padding: 4px 6px;
  font-size: .68rem;
  font-weight: 700;
  white-space: nowrap;
}
.shop-type-outcall { background: linear-gradient(135deg, #3d8f80, #7eb8ab); }
.card-content {
  flex: 1;
  min-width: 0;
  padding: 8px 10px 8px 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 6px;
}
.shop-name {
  font-size: 1.14rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.3;
  color: #2c2622;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.name-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.shop-km { flex: 0 0 auto; color: #667eea; font-size: .82rem; font-weight: 700; white-space: nowrap; }
.shop-km:empty { display: none; }
.shop-district { color: #2f6f62; font-size: .78rem; font-weight: 700; margin-top: 2px; letter-spacing: -0.02em; display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.flags { display: inline-flex; align-items: center; gap: 3px; }
.flag { width: 20px; height: 14px; object-fit: cover; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .18); }
.greeting {
  color: #8a8178;
  font-size: .8rem;
  font-weight: 300;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-footer { display: flex; flex-direction: column; gap: 3px; }
.price {
  color: #c46a58;
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: -0.04em;
  line-height: 1.2;
}
.price-label {
  color: #2f6f62;
  background: #eef3ef;
  border-radius: 6px;
  padding: 2px 6px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-right: 5px;
  position: relative;
  top: -1px;
}
.shop-address-info {
  color: #9a9188;
  font-size: .72rem;
  font-weight: 300;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.crumb { font-size: .82rem; color: #777; margin-bottom: 10px; }
.crumb a { color: #2f6f62; text-decoration: none; }
.result-note { color: #2f6f62; font-size: .88rem; margin: 0 0 12px; }
.detail { padding-top: 12px; padding-bottom: 28px; }
.detail-cover {
  border-radius: 18px;
  overflow: hidden;
  background: #e7f0ec;
  box-shadow: 0 12px 28px rgba(47, 79, 69, .12);
}
.detail-hero, .heroimg, .detail-cover img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #e7f0ec;
}
.hero-slider { position: relative; }
.hero-track {
  display: flex;
  align-items: flex-start;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.hero-track::-webkit-scrollbar { display: none; }
.hero-track .heroimg {
  flex: 0 0 100%;
  min-width: 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
.hero-nav {
  position: absolute;
  top: 50%;
  width: 34px;
  height: 34px;
  margin-top: -17px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, .38);
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}
.hero-prev { left: 10px; }
.hero-next { right: 10px; }
.hero-count {
  position: absolute;
  right: 12px;
  bottom: 10px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .5);
  color: #fff;
  font-size: .78rem;
  font-weight: 600;
}
.detail-cover .ph {
  min-height: 180px;
  aspect-ratio: 16 / 10;
  font-size: 2.6rem;
}
.detail-card {
  margin-top: 14px;
  background: #fffdfb;
  border-radius: 24px;
  padding: 20px 18px 16px;
  box-shadow: 0 10px 28px rgba(61, 52, 44, .06);
}
.detail-card .shop-district { font-size: .92rem; font-weight: 700; }
.detail-price {
  margin: 14px 0 0;
  color: #c46a58;
  font-weight: 700;
  font-size: 1.55rem;
  letter-spacing: -0.05em;
  line-height: 1.15;
}
.detail-price .price-label {
  font-size: .72rem;
  top: -4px;
}
.fact-list { display: flex; flex-direction: column; gap: 0; margin-top: 14px; border-top: 1px solid #efe7dc; }
.fact {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 8px;
  background: transparent;
  padding: 12px 2px;
  border-bottom: 1px solid #f3ebe3;
  box-shadow: none;
}
.fact span { color: #2f6f62; font-size: .75rem; font-weight: 700; letter-spacing: -0.02em; padding-top: 3px; }
.fact address, .fact p, .fact a { margin: 0; font-style: normal; font-size: .95rem; font-weight: 500; word-break: keep-all; line-height: 1.65; color: #3d342c; }
.fact a { color: #2f6f62; text-decoration: none; }
.call {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
  min-height: 48px;
  border-radius: 24px;
  text-decoration: none;
  color: #fff;
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #c46a58 0%, #e0b1a2 100%);
  box-shadow: 0 10px 22px rgba(196, 106, 88, .28);
}
body[data-page="shop"] { padding-bottom: 78px; background: #fff1f6; }
.detail-actions {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  z-index: 35;
  width: min(490px, 100%);
  display: grid;
  grid-template-columns: 1fr 1fr 40px;
  gap: 8px;
  align-items: center;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: #fff;
  border-top: 1px solid #efe7dc;
  box-shadow: 0 -8px 24px rgba(61, 52, 44, .06);
}
.detail-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  border: 0;
  border-radius: 12px;
  background: #ff4d8d;
  color: #fff;
  font: inherit;
  font-size: .95rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(255, 77, 141, .35);
}
.detail-action:disabled { background: #f3b3c9; color: #fff; cursor: default; }
.detail-actions .icon-btn {
  background: #ff4d8d;
  border-color: transparent;
  color: #fff;
}
.route-dialog {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  margin: 0;
  border: 0;
  padding: 0;
  background: transparent;
}
.route-dialog:not([open]) { display: none; }
.route-dialog[open] {
  display: flex;
  align-items: center;
  justify-content: center;
}
.route-dialog::backdrop { background: rgba(28, 24, 38, .5); }
.route-sheet {
  width: min(340px, calc(100% - 28px));
  background: #fff;
  border-radius: 24px;
  padding: 20px 16px 14px;
  box-shadow: 0 18px 48px rgba(28, 24, 38, .28);
}
.route-title { margin: 0; text-align: center; font-size: 1.05rem; font-weight: 700; color: #2c2622; }
.route-address {
  margin: 6px 0 16px;
  text-align: center;
  color: #6b7280;
  font-size: .78rem;
  font-weight: 500;
  line-height: 1.45;
}
.route-apps { display: flex; justify-content: space-between; gap: 8px; }
.route-app {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: #2c2622;
  text-decoration: none;
  font-size: .75rem;
  font-weight: 700;
  text-align: center;
}
.route-icon {
  width: 68px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  box-shadow: 0 8px 18px rgba(28, 24, 38, .12);
}
.route-icon svg { display: block; }
.route-close {
  display: block;
  width: 100%;
  margin-top: 16px;
  min-height: 40px;
  border: 0;
  border-radius: 12px;
  background: #f3f4f6;
  color: #4b5563;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.near-shops { margin-top: 16px; }
.near-shops h2 {
  margin: 0 0 10px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #2f6f62;
  letter-spacing: -0.04em;
}
.near-card {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 0 0 8px;
  padding: 8px;
  background: #fffdfb;
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 6px 18px rgba(61, 52, 44, .05);
}
.near-card img, .near-ph {
  width: 74px;
  height: 74px;
  flex: 0 0 74px;
  border-radius: 12px;
  object-fit: cover;
  background: #eee;
}
.near-ph {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #2f6f62;
}
.near-card span { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.near-card strong {
  font-size: 1rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.near-card em { font-style: normal; color: #667eea; font-size: .78rem; font-weight: 700; }
.near-card small { color: #6b7280; font-size: .78rem; font-weight: 500; }
.near-card b { color: #c46a58; font-size: .9rem; }
.prose { margin-top: 4px; background: transparent; padding: 0; }
body[data-page="shop"] .detail,
body[data-page="shop"] .detail-card,
body[data-page="shop"] .story,
body[data-page="shop"] .near-card,
body[data-page="shop"] .detail-tabs,
body[data-page="shop"] .prose {
  background: #fff;
}
.detail-tabs {
  position: sticky;
  top: 64px;
  z-index: 25;
  margin: 14px 0 2px;
  background: rgba(255, 253, 251, .96);
  border: 1px solid #efe7dc;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(61, 52, 44, .06);
  backdrop-filter: blur(8px);
}
.detail-tabs-inner { display: flex; }
.detail-tab {
  flex: 1;
  min-height: 46px;
  border: 0;
  background: transparent;
  color: #9a9188;
  font: inherit;
  font-size: .92rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  cursor: pointer;
}
.detail-tab.is-active {
  color: #2c2622;
  box-shadow: inset 0 -2px 0 #c46a58;
}
.detail-panel { scroll-margin-top: 124px; }
.story-price .rate-list {
  margin: 8px 0 14px;
  padding: 2px 12px;
  background: #fff;
  border: 1px solid #f0e7de;
  border-radius: 16px;
}
.story-price .rate { padding: 13px 2px; }
.shop-map-canvas {
  height: 210px;
  margin: 0 0 14px;
  border-radius: 12px;
  overflow: hidden;
  background: #eef1f4;
}
.shop-pin-wrap { background: none !important; border: 0 !important; }
.shop-pin {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #ff4d6d;
  border: 3px solid #fff;
  box-shadow: 0 6px 14px rgba(255, 77, 109, .4);
  position: relative;
}
.shop-pin::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 7px;
  width: 10px;
  height: 7px;
  border: 2px solid #fff;
  border-bottom: 0;
  border-radius: 6px 6px 0 0;
}
.shop-pin::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 15px;
  width: 14px;
  height: 9px;
  background: #fff;
  border-radius: 1px;
}
.shop-map .shop-addr {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin: 0 0 10px;
  color: #111;
  font-size: .95rem;
  font-weight: 700;
  line-height: 1.45;
}
.shop-addr-pin { flex: 0 0 18px; margin-top: 2px; color: #111; }
.shop-copy {
  display: block;
  width: 100%;
  min-height: 46px;
  margin: 0 0 16px;
  border: 0;
  border-radius: 12px;
  background: #f3f4f6;
  color: #111;
  font: inherit;
  font-size: .95rem;
  font-weight: 700;
  cursor: pointer;
}
.shop-map .shop-way-title {
  margin: 0 0 6px;
  color: #111;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.4;
}
.shop-map .shop-way ul { margin: 0 0 8px; padding-left: 18px; }
.shop-map .shop-way li {
  margin: 0 0 4px;
  color: #111;
  font-size: .95rem;
  font-weight: 500;
  line-height: 1.5;
}
.story {
  margin-top: 14px;
  background: #fffdfb;
  border-radius: 24px;
  padding: 18px 18px 8px;
  box-shadow: 0 10px 28px rgba(61, 52, 44, .05);
}
.story h2 {
  margin: 0 0 12px;
  padding: 0;
  border: 0;
  font-size: 1.08rem;
  font-weight: 700;
  color: #2f6f62;
  letter-spacing: -0.04em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.story.shop-map h2 { color: #111; }
.story.reviews .story-body p {
  margin: 0 0 10px;
  padding: 10px 12px;
  background: #f7f4ee;
  border-radius: 12px;
  color: #3d342c;
  font-weight: 500;
}
.story-body p {
  margin: 0 0 11px;
  padding: 0;
  background: transparent;
  box-shadow: none;
  color: #5c534c;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.9;
}
.story-body p.point {
  margin: 16px 0 8px;
  color: #2c2622;
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.35;
}
.story-price .story-body p.point {
  padding: 10px 12px;
  background: #f3f4f6;
  border-radius: 10px;
}
.rate-list {
  margin: 4px 0 12px;
  border-top: 1px solid #f0e7de;
}
.rate {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 2px;
  border-bottom: 1px solid #f0e7de;
}
.rate-time {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #1c1c1c;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.35;
}
.rate-time::before,
.story-staff .story-body p::before {
  content: "♥";
  color: #ff2d6a;
  font-weight: 700;
}
.rate-pay {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px 10px;
  text-align: right;
}
.rate-pay b {
  color: #e03131;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.04em;
}
.rate-pay s {
  color: #b7aea6;
  font-size: .88rem;
  font-weight: 500;
  text-decoration: line-through;
}
.foot { color: #9a9188; font-size: .78rem; font-weight: 300; line-height: 1.7; padding: 8px 16px 28px; }
.result-note { font-weight: 500; }
.faq summary { font-size: .95rem; }
.empty { color: #777; }
.auth-wrap { max-width: 490px; margin: 0 auto; padding: 18px 16px 40px; }
.auth-card {
  background: #fffdf8;
  border-radius: 18px;
  padding: 22px 18px 18px;
  box-shadow: 0 8px 24px rgba(61, 52, 44, .08);
}
.auth-card h1 { margin: 0 0 6px; font-size: 1.35rem; letter-spacing: -0.04em; color: #2c2622; }
.auth-card h2 { margin: 16px 0 6px; font-size: 1rem; color: #2c2622; }
.auth-card p { margin: 0 0 10px; line-height: 1.6; }
.auth-lead { margin: 0 0 8px; color: #6b7280; font-size: .86rem; }
.auth-card label { display: block; margin: 12px 0 6px; font-size: .82rem; font-weight: 700; color: #4b5563; }
.auth-card textarea,
.auth-card input {
  width: 100%;
  min-height: 44px;
  border: 1px solid #e5e0d6;
  border-radius: 12px;
  padding: 0 12px;
  font: inherit;
  background: #fff;
  color: #2c2622;
}
.auth-msg { min-height: 1.3em; margin: 12px 0 0; color: #b42318; font-size: .84rem; }
.auth-submit, .auth-logout {
  display: block;
  width: 100%;
  margin-top: 10px;
  min-height: 46px;
  border: 0;
  border-radius: 12px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.auth-submit { background: #667eea; color: #fff; text-align: center; text-decoration: none; line-height: 46px; }
.auth-card textarea { min-height: 120px; padding: 10px 12px; resize: vertical; }
.auth-logout { background: #f3f4f6; color: #4b5563; }
.faq details {
  background: #fff;
  border-radius: 12px;
  padding: 10px 12px;
  margin: 8px 0;
}
.faq summary { cursor: pointer; font-weight: 700; }
@media (min-width: 860px) {
  body { background: #fff1f6; }
  .header-content, .finder, .filter-section, .main-content, .foot-inner, .auth-wrap {
    max-width: 520px;
  }
}
