body #map {
  bottom: auto;
  height: calc(100% - 68px);
}

body #findMe {
  right: 10px;
  bottom: calc(112px + env(safe-area-inset-bottom, 0px));
  width: 44px;
  height: 44px;
  touch-action: manipulation;
}

body #findMe.holding:not(.loading) {
  animation: home2-geo-hold 0.7s linear forwards;
}

body #findMe.active {
  color: #fff;
  background: #2688eb;
}

body #findMe.loading i {
  display: none;
}

body #findMe.loading::after {
  box-sizing: border-box;
  width: 18px;
  height: 18px;
  border: 2px solid #ddd;
  border-top-color: #2688eb;
  border-radius: 50%;
  content: '';
  animation: map-loading-spin 0.8s linear infinite;
}

body #resetMap {
  position: fixed;
  right: 10px;
  bottom: calc(164px + env(safe-area-inset-bottom, 0px));
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  color: #333;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.25);
  font-size: 24px;
  line-height: 1;
}

.geo-error {
  position: fixed;
  right: 10px;
  bottom: calc(216px + env(safe-area-inset-bottom, 0px));
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 8px;
  box-sizing: border-box;
  width: calc(100% - 20px);
  max-width: 300px;
  padding: 10px;
  border-radius: 10px;
  color: #555;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  font-size: 12px;
}

.geo-error[hidden] {
  display: none;
}

.geo-error button {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #555;
  background: #f0f0f0;
  font-size: 20px;
  line-height: 28px;
}

.map-loading {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 10px;
  color: #555;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
  font-size: 13px;
  transform: translate(-50%, -50%);
}

.map-loading__spinner {
  width: 16px;
  height: 16px;
  border: 2px solid #eee;
  border-top-color: #db5db9;
  border-radius: 50%;
  animation: map-loading-spin 0.8s linear infinite;
}

@keyframes map-loading-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes home2-geo-hold {
  from {
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.25), 0 0 0 0 rgba(38, 136, 235, 0.45);
    transform: scale(1);
  }
  to {
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.25), 0 0 0 7px rgba(38, 136, 235, 0.08);
    transform: scale(1.08);
  }
}

.map-retry {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 6;
  box-sizing: border-box;
  width: calc(100% - 40px);
  max-width: 280px;
  padding: 14px;
  border-radius: 10px;
  color: #555;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
  font-size: 13px;
  text-align: center;
  transform: translate(-50%, -50%);
}

.map-retry[hidden] {
  display: none;
}

.map-retry button {
  display: block;
  width: 100%;
  margin-top: 10px;
  padding: 9px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, #db5db9 0%, #fabd62 100%);
  font: inherit;
  font-weight: 600;
}

.map-hint {
  position: fixed;
  top: calc(68px + env(safe-area-inset-top, 0px));
  left: 50%;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 8px;
  box-sizing: border-box;
  width: calc(100% - 40px);
  max-width: 330px;
  padding: 10px 10px 10px 13px;
  border-radius: 10px;
  color: #555;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  font-size: 12px;
  transform: translateX(-50%);
}

.map-hint[hidden] {
  display: none;
}

.map-hint button {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #555;
  background: #f0f0f0;
  font-size: 20px;
  line-height: 28px;
}

.map-filter-control {
  position: fixed;
  left: 10px;
bottom: calc(88px + env(safe-area-inset-bottom, 0px));
  z-index: 5;
}

#fullCard.home2-short-card-open {
  position: fixed;
  top: auto;
  right: 12px;
  bottom: calc(78px + env(safe-area-inset-bottom, 0px));
  left: 12px;
  z-index: 7;
  display: block;
  box-sizing: border-box;
  width: auto;
  height: auto;
  padding: 0;
  max-height: calc(100dvh - 160px - env(safe-area-inset-bottom, 0px));
  overflow-x: hidden;
  overflow-y: auto;
  opacity: 1;
  background: transparent;
}

.home2-short-loading,
.home2-short-error {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  max-width: 420px;
  min-height: 92px;
  margin: 0 auto;
  padding: 16px;
  border-radius: 14px;
  color: #666;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 3px 16px rgba(0, 0, 0, 0.25);
  font-size: 13px;
}

.home2-short-loading {
  gap: 9px;
}

.home2-short-error {
  flex-direction: column;
  gap: 10px;
  text-align: center;
}

.home2-short-error button {
  min-height: 40px;
  padding: 8px 14px;
  border: 0;
  border-radius: 9px;
  color: #fff;
  background: linear-gradient(135deg, #db5db9 0%, #fabd62 100%);
  font: inherit;
  font-weight: 600;
}

.home2-short-card {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  padding: 15px;
  border-radius: 14px;
  color: #444;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 3px 16px rgba(0, 0, 0, 0.25);
}

.home2-short-card h2 {
  margin: 0 34px 10px 0;
  font-size: 17px;
}

.home2-short-card p {
  margin: 7px 0;
  font-size: 13px;
}

.home2-short-card a {
  color: inherit;
}

.home2-short-card__time {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
}

.home2-work-status {
  padding: 3px 7px;
  border-radius: 8px;
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
}

.home2-work-status--open {
  background: #35a853;
}

.home2-work-status--closed {
  background: #d9534f;
}

.home2-work-status--soon {
  background: #e49a22;
}

.home2-short-card__close {
  position: absolute;
  top: 9px;
  right: 9px;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #555;
  background: #f0f0f0;
  font-size: 21px;
}

.home2-short-card__services {
  width: 100%;
  margin-top: 8px;
  padding: 10px;
  border: 0;
  border-radius: 9px;
  color: #fff;
  background: linear-gradient(135deg, #db5db9 0%, #fabd62 100%);
  font-size: 13px;
  font-weight: 600;
}

.home2-short-card__actions {
  display: flex;
  gap: 8px;
  margin-top: 9px;
}

.home2-short-card__action {
  flex: 1;
  box-sizing: border-box;
  padding: 9px 8px;
  border: 1px solid #e6dfe4;
  border-radius: 9px;
  color: #555;
  background: #fff;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
}

.home2-short-card button:focus-visible,
.home2-short-card a:focus-visible,
#fullCard.home2-full-card-open a:focus-visible,
body #findMe:focus-visible,
body #resetMap:focus-visible {
  outline: 3px solid rgba(38, 136, 235, 0.45);
  outline-offset: 2px;
}

#fullCard.home2-full-card-open {
  box-sizing: border-box;
  top: calc(50px + env(safe-area-inset-top, 0px));
  height: calc(100% - 50px - env(safe-area-inset-top, 0px));
  padding: 12px 0 calc(78px + env(safe-area-inset-bottom, 0px));
  overflow-x: hidden;
  background: #f6f5f7;
  animation: home2-card-in 0.22s ease-out;
}

#fullCard.home2-full-card-open .item-info {
  display: block;
  width: 100%;
  max-width: 640px;
  min-height: 100%;
  margin: 0 auto;
}

#fullCard.home2-full-card-open .mainCaption {
  position: sticky;
  top: 0;
  z-index: 20;
  box-sizing: border-box;
  align-items: center;
  min-height: 54px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(8px);
}

#fullCard.home2-full-card-open .mainCaption h1 {
  overflow: hidden;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
  text-overflow: ellipsis;
  text-transform: none;
  white-space: nowrap;
}

#fullCard.home2-full-card-open .link-back a {
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border-radius: 50%;
  background: #f1f1f1;
  font-size: 20px;
}

#fullCard.home2-full-card-open .captionClub {
  box-sizing: border-box;
  width: auto;
  margin: 12px;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid rgba(219, 93, 185, 0.1);
  background: linear-gradient(145deg, #fff 0%, #fffafc 100%);
  box-shadow: 0 5px 18px rgba(46, 35, 43, 0.1);
}

#fullCard.home2-full-card-open .captionClub-info {
  align-items: center;
  gap: 8px;
}

#fullCard.home2-full-card-open .captionClub-info .flex-center {
  justify-content: center;
  color: #29262a;
  font-size: 17px;
  font-weight: 700;
}

#fullCard.home2-full-card-open .captionClub h2 {
  margin: 0;
  color: #625d62;
  font-size: 13px;
  line-height: 1.35;
  text-align: center;
}

#fullCard.home2-full-card-open .captionClub-info-right {
  justify-content: center;
}

#fullCard.home2-full-card-open .home2-club-status {
  display: flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  padding: 6px 9px;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 600;
}

#fullCard.home2-full-card-open .home2-club-status i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

#fullCard.home2-full-card-open .home2-club-status--open {
  color: #267a3d;
  background: #edf8f0;
}

#fullCard.home2-full-card-open .home2-club-status--open i {
  background: #35a853;
  box-shadow: 0 0 0 3px rgba(53, 168, 83, 0.14);
}

#fullCard.home2-full-card-open .home2-club-status--closed {
  color: #666;
  background: #f0f0f0;
}

#fullCard.home2-full-card-open .home2-club-status--closed i {
  background: #8a8a8a;
  box-shadow: 0 0 0 3px rgba(138, 138, 138, 0.14);
}

#fullCard.home2-full-card-open .getNavigator {
  margin: 2px 0 0;
}

#fullCard.home2-full-card-open .getNavigator a {
  box-sizing: border-box;
  max-width: none;
  min-height: 34px;
  padding: 0 12px 0 32px;
  border: 1px solid rgba(219, 93, 185, 0.16);
  border-radius: 17px;
  background-color: #fff;
  background-size: 25px 25px;
  background-position: 5px center;
  box-shadow: 0 2px 7px rgba(0, 0, 0, 0.07);
  font-size: 12px;
  font-weight: 600;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

#fullCard.home2-full-card-open .getNavigator a:active {
  box-shadow: none;
  transform: scale(0.97);
}

#fullCard.home2-full-card-open .search-crumbs {
  box-sizing: border-box;
  gap: 8px;
  padding: 4px 12px 8px;
  scrollbar-width: none;
}

#fullCard.home2-full-card-open .search-crumbs::-webkit-scrollbar {
  display: none;
}

#fullCard.home2-full-card-open .search-crumbs li {
  flex: 0 0 auto;
  height: auto;
  margin: 0;
  border: 1px solid #ddd;
  background: #fff;
}

#fullCard.home2-full-card-open .search-crumbs li a {
  box-sizing: border-box;
  padding: 10px 14px;
  color: #555;
  font-size: 13px;
}

#fullCard.home2-full-card-open .search-crumbs li.active {
  border-color: transparent;
  background: linear-gradient(135deg, #db5db9 0%, #fabd62 100%);
  box-shadow: 0 3px 9px rgba(219, 93, 185, 0.25);
}

#fullCard.home2-full-card-open .search-crumbs li.active a {
  color: #fff;
}

#fullCard.home2-full-card-open .item-info__services {
  box-sizing: border-box;
  gap: 10px;
  padding: 2px 12px 24px;
}

#fullCard.home2-full-card-open .item-info__services li > a {
  min-height: 68px;
  margin: 0;
  padding: 14px 15px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: 14px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

#fullCard.home2-full-card-open .item-info__services li > a:active {
  bottom: auto;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.08);
  transform: scale(0.985);
}

#fullCard.home2-full-card-open .item-info__services li > a.home2-link-loading {
  pointer-events: none;
  opacity: 0.65;
}

#fullCard.home2-full-card-open .item-info__services li > a.home2-link-loading::after {
  align-self: center;
  width: 15px;
  height: 15px;
  margin-left: 8px;
  border: 2px solid #ddd;
  border-top-color: #db5db9;
  border-radius: 50%;
  content: '';
  animation: map-loading-spin 0.8s linear infinite;
}

#fullCard.home2-full-card-open .item-info__services-name {
  min-width: 0;
}

#fullCard.home2-full-card-open .item-info__services-name h3 {
  overflow-wrap: anywhere;
  font-size: 14px;
  line-height: 1.25;
}

#fullCard.home2-full-card-open .item-info__services-name p {
  overflow-wrap: anywhere;
  margin-top: 4px;
  color: #777;
  font-size: 12px;
  line-height: 1.3;
}

#fullCard.home2-full-card-open .item-info__services li span {
  max-width: 38%;
  text-align: right;
  color: #333;
  font-size: 14px;
  white-space: nowrap;
}

#fullCard.home2-full-card-open .item-info__services li > a > span {
  padding: 5px 7px;
  border-radius: 9px;
  background: rgba(219, 93, 185, 0.09);
  font-weight: 700;
}

.home2-service-mode {
  display: inline-block;
  margin-top: 5px;
  padding: 3px 6px;
  border-radius: 7px;
  font-size: 9px;
  font-weight: 600;
  line-height: 1;
}

.home2-service-mode--online {
  color: #2688eb;
  background: rgba(38, 136, 235, 0.1);
}

.home2-service-mode--queue {
  color: #666;
  background: #eee;
}

.home2-full-loading,
.home2-full-error {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  flex-direction: column;
  gap: 10px;
  color: #666;
}

.home2-full-error button {
  padding: 9px 16px;
  border: 0;
  border-radius: 9px;
  color: #fff;
  background: linear-gradient(135deg, #db5db9 0%, #fabd62 100%);
  font-weight: 600;
}

.home2-empty-services {
  justify-content: center;
  box-sizing: border-box;
  padding: 24px 15px;
  border-radius: 14px;
  color: #777;
  background: #fff;
  font-size: 13px;
  text-align: center;
}

.home2-notice {
  position: fixed;
  right: 16px;
  bottom: calc(86px + env(safe-area-inset-bottom, 0px));
  left: 16px;
  z-index: 120;
  max-width: 420px;
  margin: 0 auto;
  padding: 12px 14px;
  border-radius: 11px;
  color: #fff;
  background: #555;
  box-shadow: 0 3px 14px rgba(0, 0, 0, 0.25);
  font-size: 13px;
  text-align: center;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.home2-notice.out {
  opacity: 0;
  transform: translateY(8px);
}

@keyframes home2-card-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  #fullCard.home2-full-card-open,
  #fullCard.home2-full-card-open .item-info__services li > a,
  body #findMe.holding:not(.loading) {
    animation: none;
    transition: none;
  }
}

@media (max-width: 380px) {
  #fullCard.home2-short-card-open {
    right: 8px;
    left: 8px;
  }

  .home2-short-card {
    padding: 12px;
  }

  .home2-short-card h2 {
    font-size: 16px;
  }

  #fullCard.home2-full-card-open .item-info__services li > a {
    padding: 12px;
  }

  #fullCard.home2-full-card-open .item-info__services li > a > span {
    max-width: 42%;
    font-size: 13px;
  }
}

.map-filter-toggle {
  padding: 8px 11px;
  border: 0;
  border-radius: 9px;
  color: #fff;
  background: linear-gradient(135deg, #db5db9 0%, #fabd62 100%);
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
  font-size: 12px;
  white-space: nowrap;
}

.map-filter-toggle span {
  display: inline-block;
  min-width: 14px;
  padding: 2px 4px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.25);
  font-size: 10px;
  text-align: center;
}

.map-legend {
  position: absolute;
  bottom: 42px;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
  padding: 4px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
  color: #444;
  font-size: 11px;
  line-height: 1;
}

.map-legend[hidden] {
  display: none;
}

.map-filter {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 8px;
  border: 0;
  border-radius: 6px;
  color: #444;
  background: transparent;
  font: inherit;
  white-space: nowrap;
}

.map-filter.active {
  color: #fff;
  background: linear-gradient(135deg, #db5db9 0%, #fabd62 100%);
}

.map-filter.active .map-legend__dot {
  box-shadow: 0 0 0 1px #fff;
}

.map-filter__count {
  min-width: 14px;
  padding: 2px 4px;
  border-radius: 7px;
  background: rgba(0, 0, 0, 0.08);
  font-size: 10px;
  text-align: center;
}

.map-filter.active .map-filter__count {
  background: rgba(255, 255, 255, 0.25);
}

.map-legend__dot {
  display: block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.map-legend__dot--online {
  background: linear-gradient(135deg, #db5db9 0%, #fabd62 100%);
}

.map-legend__dot--info {
  background: linear-gradient(135deg, #777 0%, #aaa 100%);
}

.map-load-error {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  padding: 30px;
  color: #555;
  background: #f5f5f5;
  text-align: center;
}

.map-user-marker {
  position: relative;
  z-index: 3;
  width: 90px;
  height: 28px;
  transform: translate(-10px, -14px);
}

.map-user-marker__dot {
  position: absolute;
  top: 0;
  left: 0;
  box-sizing: border-box;
  width: 20px;
  height: 20px;
  border: 4px solid #fff;
  border-radius: 50%;
  background: #2688eb;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.map-user-marker__title {
  position: absolute;
  top: -4px;
  left: 24px;
  padding: 5px 8px;
  border-radius: 8px;
  color: #fff;
  background: #2688eb;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.map-wash-marker {
  position: relative;
  box-sizing: border-box;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  transform: translate(-50%, -100%);
  cursor: pointer;
  pointer-events: none;
  transition: transform 0.15s ease;
  touch-action: manipulation;
}

.map-wash-marker.active {
  z-index: 2;
  transform: translate(-50%, -100%) scale(1.12);
}

#map.has-active-wash .map-wash-marker:not(.active) {
  opacity: 0.48;
}

.map-wash-marker__pin {
  position: absolute;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 42px;
  height: 42px;
  border: 3px solid #fff;
  border-radius: 50% 50% 50% 0;
  color: #fff;
  background: linear-gradient(135deg, #db5db9 0%, #fabd62 100%);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.32);
  pointer-events: auto;
  transform: rotate(-45deg);
}

.map-wash-marker--info .map-wash-marker__pin,
.map-wash-marker--info .map-wash-marker__title {
  background: linear-gradient(135deg, #777 0%, #aaa 100%);
}

.map-wash-marker__logo {
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -1px;
  transform: rotate(45deg);
}

.map-wash-marker__title {
  position: absolute;
  bottom: 7px;
  left: 36px;
  max-width: 190px;
  padding: 6px 10px;
  overflow: hidden;
  border: 2px solid #fff;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, #db5db9 0%, #fabd62 100%);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.1;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.15s ease;
}

#map.show-wash-titles .map-wash-marker__title,
.map-wash-marker.active .map-wash-marker__title {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

#map.map-in-action .map-wash-marker__title {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}
