#leisure-btn { display: none !important; }
.leisure-launch {
  position: relative;
  width: 46px;
  height: 46px;
  flex: none;
  margin: 8px 0;
}
.leisure-launch-arrow {
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  padding: 0;
  background: rgba(26, 26, 46, 0.92);
  color: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.leisure-launch-arrow svg {
  width: 22px;
  height: 22px;
  display: block;
  transition: transform 0.28s ease;
}
.leisure-launch.is-open .leisure-launch-arrow svg { transform: rotate(180deg); }
.leisure-launch-item {
  position: absolute;
  left: 54px;
  top: 50%;
  height: 40px;
  padding: 0 14px;
  border: 0;
  border-radius: 20px;
  background: rgba(26, 26, 46, 0.94);
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  opacity: 0;
  transform: translateY(-50%) translateX(-10px);
  pointer-events: none;
  transition: opacity 0.28s ease, transform 0.28s ease;
}
.leisure-launch.is-open .leisure-launch-item {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
  pointer-events: auto;
}
#leisure-sheet {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 2600;
  max-height: 78vh;
  background: rgba(22, 22, 42, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  color: #f4f6fb;
  border-radius: 20px 20px 0 0;
  padding: 0 0 max(env(safe-area-inset-bottom), 16px);
  box-shadow: 0 -6px 32px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
#leisure-sheet [data-leisure-view]:not(.hidden) {
  overflow-y: auto;
  min-height: 0;
  flex: 1 1 auto;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  overscroll-behavior: contain;
}
#leisure-sheet.hidden { display: none; }
#leisure-sheet [data-leisure-view="loading"],
#leisure-sheet [data-leisure-view="list"],
#leisure-sheet [data-leisure-view="place"] { padding: 64px 16px max(env(safe-area-inset-bottom), 16px); }
.leisure-card-one .leisure-col { cursor: pointer; }
.leisure-back {
  position: absolute; top: 22px; left: 12px; z-index: 6;
  width: 34px; height: 34px; border: 0; border-radius: 10px; padding: 0;
  background: rgba(6, 10, 16, 0.45); color: #fff; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}
.leisure-back.hidden { display: none; }
.leisure-back svg { width: 22px; height: 22px; }
.leisure-back path { stroke-width: 2.8; }
.leisure-place-photo .leisure-col { width: 100%; aspect-ratio: 16 / 10; border-radius: 16px; }
.leisure-place-title { margin: 12px 0 8px; font-size: 22px; font-weight: 800; }
.leisure-place-text { margin: 10px 0 0; color: #d5d8e6; font-size: 14px; line-height: 1.4; }
.leisure-capsule {
  display: flex; align-items: center; gap: 8px; margin-top: 14px;
  padding: 8px 8px 8px 12px; border-radius: 14px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08);
}
.leisure-capsule svg { width: 18px; height: 18px; flex: none; color: #f4f6fb; }
.leisure-capsule span { flex: 1; min-width: 0; color: #f4f6fb; font-size: 15px; }
.leisure-copy {
  width: 36px; height: 36px; border: 0; border-radius: 10px; cursor: pointer;
  background: rgba(255,255,255,.08); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
}
.leisure-copy svg { width: 16px; height: 16px; }
.leisure-copy.is-done { background: #2196F3; }
#leisure-sheet.is-compact,
#leisure-sheet:not(:has(.leisure-recent:not(.hidden))) { padding-bottom: 0; }
#leisure-sheet.is-compact .leisure-hero,
#leisure-sheet:not(:has(.leisure-recent:not(.hidden))) .leisure-hero {
  margin-bottom: 0;
  border-radius: 20px 20px 0 0;
}
#leisure-sheet [data-leisure-view="choose"] > .leisure-recent,
#leisure-sheet [data-leisure-view="choose"] > .leisure-status { margin: 0 16px; }
.leisure-drag {
  position: absolute; top: 0; left: 0; right: 0; z-index: 7;
  display: flex; justify-content: center;
  padding: 8px 0 0;
  touch-action: none;
}
.leisure-drag-bar {
  width: 40px; height: 4px; border-radius: 2px;
  background: rgba(255,255,255,0.78);
}
#leisure-close {
  position: absolute; top: 22px; right: 12px; z-index: 6;
  background: rgba(6, 10, 16, 0.45);
}
.leisure-map-btn {
  position: absolute; top: 22px; right: 54px; z-index: 6;
  height: 34px; padding: 0 12px; border: 0; border-radius: 12px;
  background: linear-gradient(135deg, #7B2FBE 0%, #4F46E5 100%);
  color: #fff; font-size: 13px; font-weight: 600; cursor: pointer;
  box-shadow: 0 2px 8px rgba(108, 92, 231, 0.4);
}
.leisure-map-btn.hidden { display: none; }
body.leisure-map-lock #quick-filter-bar,
body.leisure-map-lock #map-search-bar,
body.leisure-map-lock #map-controls,
body.leisure-map-lock #signal-controls,
body.leisure-map-lock #map-controls-bottom,
body.leisure-map-lock #fab-container,
body.leisure-map-lock #bottom-route-bar,
body.leisure-map-lock #bottom-sheet,
body.leisure-map-lock #zoom-indicator,
body.leisure-map-lock #nearby-parkings-vignette,
body.leisure-map-lock #nearby-parkings-sheet,
body.leisure-map-lock #my-signals-panel,
body.leisure-map-lock #nearby-signals-panel,
body.leisure-map-lock #signal-sheet,
body.leisure-map-lock .leaflet-control-container {
  visibility: hidden;
  pointer-events: none;
}
body.leisure-map-lock .leaflet-marker-pane,
body.leisure-map-lock .leaflet-marker-pane *,
body.leisure-map-lock .leaflet-shadow-pane,
body.leisure-map-lock .leaflet-shadow-pane *,
body.leisure-map-lock .leaflet-popup-pane,
body.leisure-map-lock .leaflet-popup-pane *,
body.leisure-map-lock .leaflet-tooltip-pane,
body.leisure-map-lock .leaflet-tooltip-pane * {
  pointer-events: none !important;
}
.leisure-map-x {
  position: fixed; left: 50%; bottom: calc(112px + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%); z-index: 2550;
  height: 46px; padding: 0 18px; border: 0; border-radius: 23px;
  background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
  color: #fff; font-family: inherit; font-size: 15px; font-weight: 700; line-height: 46px;
  cursor: pointer; box-shadow: 0 4px 16px rgba(185, 28, 28, 0.45);
}
.leisure-vignette {
  position: absolute; left: 0; top: 0; pointer-events: none;
  background: radial-gradient(circle at 50% 46%, rgba(0,0,0,0.04) 0%, rgba(0,0,0,0.28) 48%, rgba(0,0,0,0.62) 100%);
}
.leaflet-div-icon.leisure-pin-icon { background: transparent; border: 0; }
.leisure-pin { position: relative; width: 46px; height: 46px; }
.leisure-pin-glow {
  position: absolute; left: 3px; top: 3px; width: 40px; height: 40px;
  border-radius: 16px; background: rgba(255,255,255,0.22);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.leisure-pin-photo {
  position: absolute; left: 5px; top: 5px; width: 36px; height: 36px;
  border-radius: 14px; overflow: hidden;
}
.leisure-pin-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.leisure-pin-name { display: none; }
.leisure-pin.is-near .leisure-pin-glow {
  left: -7px; top: -7px; width: 60px; height: 60px; border-radius: 22px;
}
.leisure-pin.is-near .leisure-pin-photo {
  left: -5px; top: -5px; width: 56px; height: 56px; border-radius: 20px;
}
.leisure-pin.is-near .leisure-pin-name {
  display: -webkit-box;
  position: absolute; left: 50%; top: 58px; transform: translateX(-50%);
  box-sizing: border-box; width: 124px; margin: 0; padding: 3px 7px;
  text-align: center; color: #fff; font-size: 13px; font-weight: 800; line-height: 1.2;
  background: rgba(12, 14, 22, 0.82); border-radius: 8px;
  -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
}
.leisure-hero {
  position: relative;
  overflow: hidden;
  height: 52vw;
  max-height: 220px;
  min-height: 176px;
  margin: 0 0 12px;
  border-radius: 20px 20px 18px 18px;
}
.leisure-hero img {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; object-fit: cover; object-position: center 42%;
}
.leisure-hero::after {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(to bottom, rgba(6, 10, 16, 0.55), rgba(6, 10, 16, 0) 42%),
    rgba(6, 10, 16, 0.38);
  pointer-events: none;
}
.leisure-hero h2 {
  position: absolute; top: 22px; left: 16px; right: 16px; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  min-height: 34px; margin: 0 40px;
  color: #fff; font-size: 26px; font-weight: 800; line-height: 1.15; text-align: center;
}
.leisure-hero .leisure-coord-row {
  position: absolute; left: 16px; right: 16px; top: 50%; z-index: 2;
  transform: translateY(-50%);
}
.leisure-loading {
  position: absolute; left: 16px; right: 16px; top: calc(50% + 64px); z-index: 2;
  margin: 0; text-align: center;
  color: rgba(255, 255, 255, 0.72); font-size: 14px; font-weight: 600;
}
.leisure-loading.hidden { display: none; }
.leisure-search-veil {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: rgba(6, 10, 16, 0.72);
  border-radius: 20px 20px 0 0;
}
.leisure-search-veil.hidden { display: none; }
.leisure-spinner {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.28);
  border-top-color: #fff;
  animation: leisure-spin 0.8s linear infinite;
}
@keyframes leisure-spin { to { transform: rotate(360deg); } }
.leisure-search-veil-text {
  margin: 0;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
}
#leisure-sheet:has(.leisure-search-veil:not(.hidden)) .leisure-loading { visibility: hidden; }

.leisure-icon {
  width: 34px; height: 34px; border: 0; border-radius: 10px;
  background: rgba(255,255,255,.08); color: #fff; font-size: 18px;
}
.leisure-modes { display: flex; gap: 8px; }
.leisure-modes button, .leisure-card {
  border: 0; color: inherit; cursor: pointer;
}
.leisure-modes button {
  flex: 1; height: 44px; border-radius: 12px; background: #2196F3; font-weight: 700;
}
.leisure-status { color: #e7c56a; font-size: 13px; margin: 0; }
.leisure-status:empty { display: none; }
.leisure-weather {
  display: flex; align-items: center; justify-content: flex-start; gap: 6px;
  margin: 0 0 6px;
}
.leisure-weather.hidden { display: none; }
.leisure-weather svg { width: 18px; height: 18px; flex: none; color: #fff; opacity: 1; }
.leisure-weather span { font-size: 13px; line-height: 1.2; color: rgba(255, 255, 255, 0.5); }
.leisure-city { margin: 0 0 8px; font-size: 22px; font-weight: 800; line-height: 1.15; }
.leisure-facts { margin: 0 0 18px; }
.leisure-facts:empty { display: none; margin: 0; }
.leisure-facts p { margin: 0 0 8px; color: #b7bdd0; font-size: 14px; line-height: 1.5; }
.leisure-facts p:last-child { margin-bottom: 0; }
#leisure-list, #leisure-detail { overflow: auto; }
.leisure-card {
  width: 100%; display: flex; gap: 12px; text-align: left;
  background: #24243a; border-radius: 16px; padding: 8px; margin-bottom: 8px;
}
.leisure-photo {
  width: 84px; height: 84px; border-radius: 12px; background: #2e3348; flex: none; overflow: hidden;
}
.leisure-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.leisure-card strong { display: block; padding-top: 8px; font-size: 15px; }
.leisure-empty, #leisure-detail { color: #d5d8e6; white-space: pre-line; font-size: 15px; }
.leisure-coord-row { display: flex; flex-direction: column; gap: 8px; }
#leisure-coords {
  display: none;
  width: 100%; height: 44px; border: 0; border-radius: 12px; box-sizing: border-box;
  background: rgba(22, 22, 42, 0.42); color: #f4f6fb; padding: 0 12px; font-size: 15px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
body.leisure-admin #leisure-coords { display: block; }
#leisure-coords::placeholder { color: #9aa3b8; }
#leisure-find { display: none !important; }
.leisure-mode-row { display: flex; gap: 8px; width: 100%; align-items: flex-start; }
.leisure-mode-col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 0; }
.leisure-mode-hint {
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px; font-weight: 600; line-height: 1.2; text-align: center;
}
.leisure-mode-btn {
  width: 100%; height: 44px; border-radius: 12px; cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(22, 22, 42, 0.42); color: #f4f6fb;
  font-family: inherit; font-size: 15px; font-weight: 700;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.2);
}
.leisure-cols-head, .leisure-pair {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
}
.leisure-cols-head { margin: 4px 0 8px; color: #9aa3b8; font-size: 12px; font-weight: 700; }
.leisure-pair { margin-bottom: 8px; }
.leisure-card-one { margin-bottom: 14px; }
.leisure-card-one .leisure-col { width: 100%; aspect-ratio: 16 / 10; }
.leisure-place-name {
  margin: 2px 0 0; color: #f4f6fb;
  font-size: 16px; font-weight: 700; text-align: right; line-height: 1.15;
}
.leisure-place-name.is-mid { font-size: 14px; }
.leisure-place-name.is-long { font-size: 12px; }
.leisure-on-photo {
  position: absolute; top: 10px; right: 10px; left: 50%; z-index: 2;
  margin: 0; color: #fff;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2;
  overflow: hidden;
  text-shadow: 0 1px 4px rgba(0,0,0,.7);
}
.leisure-col {
  position: relative;
  aspect-ratio: 1; border-radius: 12px; background: #2e3348; overflow: hidden;
}
.leisure-col img { width: 100%; height: 100%; object-fit: cover; display: block; }
.leisure-col.has-name::before {
  content: "";
  position: absolute; left: 0; right: 0; top: 0; height: 58%; z-index: 1;
  background: linear-gradient(to bottom, rgba(0,0,0,.84), rgba(0,0,0,0));
  pointer-events: none;
}
.leisure-col.has-name .leisure-type {
  width: fit-content;
  max-width: 42%;
  align-items: center;
  padding: 4px 8px 4px 6px;
}
.leisure-col.has-name .leisure-type span {
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.2;
}
.leisure-col.is-loading img { filter: blur(18px); transform: scale(1.15); }
.leisure-spin {
  position: absolute; left: 50%; top: 50%; z-index: 1;
  width: 36px; height: 36px; margin: -18px 0 0 -18px;
  border-radius: 50%; border: 3px solid rgba(255,255,255,.35); border-top-color: #fff;
  animation: leisure-spin .8s linear infinite;
}
@keyframes leisure-spin { to { transform: rotate(360deg); } }
.leisure-col.has-walk::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 52%;
  background: linear-gradient(to top, rgba(0,0,0,.78), rgba(0,0,0,0));
  pointer-events: none;
}
.leisure-walk {
  position: absolute; right: 10px; bottom: 8px; z-index: 1;
  display: flex; gap: 14px; align-items: flex-end;
}
.leisure-stat { display: flex; gap: 6px; align-items: center; color: #fff; }
.leisure-stat svg { width: 18px; height: 18px; flex: none; }
.leisure-stat strong { display: block; font-size: 15px; font-weight: 700; line-height: 1.05; }
.leisure-stat span { display: block; margin-top: 1px; font-size: 11px; line-height: 1.1; color: rgba(255,255,255,.78); }
.leisure-walk-solo { position: static; justify-content: flex-end; margin: 6px 0 0; }
.leisure-walk-solo .leisure-stat { color: #f4f6fb; }
.leisure-walk-solo .leisure-stat span { color: #9aa3b8; }
.leisure-google {
  position: absolute; left: 10px; bottom: 8px; z-index: 3;
  display: inline-flex; align-items: center; gap: 5px;
  height: 32px; padding: 0 10px 0 8px; border: 0; border-radius: 10px;
  background: rgba(0, 0, 0, 0.5); color: #fff;
  font-size: 13px; font-weight: 700; cursor: pointer;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.leisure-google svg { width: 16px; height: 16px; flex: none; }
.leisure-type.is-long { font-size: 11px; }
.leisure-type {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  display: inline-flex; align-items: center; gap: 6px;
  max-width: calc(100% - 20px);
  padding: 6px 11px 6px 8px; border-radius: 999px;
  background: rgba(16, 20, 28, .62); color: #fff;
  font-size: 13px; font-weight: 650; line-height: 1;
  backdrop-filter: blur(8px);
}
.leisure-type svg { width: 15px; height: 15px; flex: none; }
.leisure-type-solo {
  position: static; max-width: 100%; margin: 0 0 6px;
  align-items: flex-start; font-size: 13px;
}
.leisure-type-solo span {
  min-width: 0; white-space: normal; overflow-wrap: anywhere; line-height: 1.25;
}
.leisure-recent h3 { margin: 12px 0 8px; font-size: 18px; font-weight: 700; }
.leisure-recent-row {
  display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px;
  scroll-snap-type: x mandatory;
}
.leisure-recent-card {
  flex: 0 0 158px; scroll-snap-align: start; text-align: left;
  border: 0; padding: 0; color: inherit; background: #23263a;
  border-radius: 16px; overflow: hidden; cursor: pointer;
}
.leisure-recent-card .leisure-col { aspect-ratio: 16 / 10; border-radius: 0; }
.leisure-recent-body { padding: 8px 10px 10px; }
.leisure-recent-body strong {
  display: block; font-size: 14px; font-weight: 700;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.leisure-recent-sub {
  margin: 3px 0 6px; color: #9aa3b8; font-size: 12px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.leisure-recent-foot {
  display: flex; align-items: center; gap: 6px;
  color: #d5d9e6; font-size: 12px;
}
.leisure-recent-foot svg { width: 14px; height: 14px; flex: none; }
.leisure-cities-row { margin-top: 10px; }
.leisure-city-card {
  position: relative; flex: 0 0 158px; scroll-snap-align: start;
  border: 0; padding: 0; color: #fff; background: #23263a;
  border-radius: 16px; overflow: hidden; cursor: pointer;
}
.leisure-city-card .leisure-col { width: 100%; aspect-ratio: 16 / 10; border-radius: 0; }
.leisure-city-card .leisure-col::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 58%;
  background: linear-gradient(to top, rgba(0,0,0,.78), rgba(0,0,0,0));
  pointer-events: none;
}
.leisure-city-card-name {
  position: absolute; left: 10px; right: 10px; bottom: 8px; z-index: 1;
  font-size: 15px; font-weight: 700; line-height: 1.15; text-align: left;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
