
/*** T3SB identifier: t3sbsCSSassets_36831 */

/* t3sbs_assets_36831 */
:root {
  --legend-width: 340px;
  --ui-bg: #ffffff;
  --ui-bg-soft: #faf7f1;
  --ui-border: rgba(106, 88, 60, 0.14);
  --ui-border-strong: rgba(106, 88, 60, 0.22);
  --ui-text: #222222;
  --ui-muted: #666666;
  --ui-hover: #f5f1e8;
  --ui-active: #ece7db;
  --ui-shadow: 0 14px 38px rgba(27, 22, 14, 0.12);
  --radius: 18px;
  --radius-inner: 14px;
  --legend-panel-max: clamp(170px, 30vh, 320px);
  --park-map-zoom: 1;
  --park-map-icon-render-scale: 1;

  --marker-size-default: 34px;
  --marker-size-gastro: 38px;
  --marker-size-animal: 38px;
  --marker-size-parking: 34px;
  --marker-size-toilet: 34px;
  --marker-size-experience: 54px;

  --hover-scale: 1.16;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

.park-map {
  color: var(--ui-text);
  width: 100%;
  min-width: 0;
  overflow-x: clip;
}

.park-map__shell {
  background: linear-gradient(180deg, #fcfaf5 0%, #f7f1e5 100%);
  border: 1px solid var(--ui-border);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--ui-shadow);
  overflow: hidden;
  width: 100%;
  min-width: 0;
}

.park-map__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1rem 0;
  min-width: 0;
}

.park-map__header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: auto;
  min-width: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.park-map__title {
  margin: 0;
  font-size: clamp(1.1rem, 1rem + 0.6vw, 1.45rem);
  line-height: 1.2;
  letter-spacing: 0.01em;
}

.park-map__legend-toggle,
.park-map__icons-toggle,
.park-map__zoom-button {
  appearance: none;
  border: 1px solid var(--ui-border-strong);
  background: rgba(255, 255, 255, 0.88);
  color: var(--ui-text);
  border-radius: 999px;
  padding: 0.75rem 1rem;
  min-height: 44px;
  min-width: 44px;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  touch-action: manipulation;
}

.park-map__zoom-button {
  padding: 0.7rem 0.9rem;
}

.park-map__legend-toggle:hover,
.park-map__icons-toggle:hover,
.park-map__zoom-button:hover {
  background: #fff;
  border-color: rgba(106, 88, 60, 0.3);
  transform: translateY(-1px);
}

.park-map__legend-toggle:focus-visible,
.park-map__icons-toggle:focus-visible,
.park-map__zoom-button:focus-visible,
.park-legend__close:focus-visible,
.legend-group__main:focus-visible,
.legend-group__arrow-btn:focus-visible,
.legend-item:focus-visible,
.map-marker__button:focus-visible,
.map-marker__link:focus-visible {
  outline: 2px solid rgba(106, 88, 60, 0.45);
  outline-offset: 2px;
}

.park-map__layout {
  display: grid;
  grid-template-columns: minmax(280px, var(--legend-width)) minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
  min-height: min(78vh, 980px);
  padding: 1rem;
  min-width: 0;
}

.park-legend {
  min-width: 0;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid var(--ui-border);
  border-right: 0;
  border-radius: var(--radius-inner) 0 0 var(--radius-inner);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  min-height: 0;
  position: relative;
  z-index: 2;
}

.park-legend__topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1rem 0.9rem;
  border-bottom: 1px solid rgba(106, 88, 60, 0.1);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.86) 0%, rgba(250, 247, 241, 0.94) 100%);
  border-top-left-radius: var(--radius-inner);
  position: sticky;
  top: 0;
  z-index: 2;
}

.park-legend__title {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.2;
  min-width: 0;
}

.park-legend__close {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--ui-muted);
  font-size: 1.65rem;
  line-height: 1;
  cursor: pointer;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  transition: background 0.2s ease, color 0.2s ease;
  touch-action: manipulation;
}

.park-legend__close:hover {
  background: var(--ui-hover);
  color: var(--ui-text);
}

.park-legend__nav {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  overflow-x: hidden;
  padding: 0.5rem;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-gutter: stable;
}

.legend-group {
  background: transparent;
  border: 1px solid transparent;
  border-radius: 14px;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  min-width: 0;
}

.legend-group + .legend-group {
  margin-top: 0.3rem;
}

.legend-group.is-open,
.legend-group:focus-within {
  background: rgba(255, 255, 255, 0.6);
  border-color: rgba(106, 88, 60, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.legend-group__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch;
  min-width: 0;
}

.legend-group__main {
  width: 100%;
  appearance: none;
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 0.9rem;
  min-height: 48px;
  text-align: left;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  color: inherit;
  border-radius: 12px;
  transition: background 0.2s ease, color 0.2s ease;
  touch-action: manipulation;
}

.legend-group__main:hover {
  background: var(--ui-hover);
}

.legend-group__main[aria-current="true"] {
  background: var(--ui-active);
  font-weight: 700;
}

.legend-group__arrow-btn {
  appearance: none;
  border: 0;
  background: transparent;
  width: 48px;
  min-width: 48px;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--ui-muted);
  border-radius: 12px;
  margin: 0.25rem 0.25rem 0.25rem 0;
  transition: background 0.2s ease, color 0.2s ease;
  touch-action: manipulation;
}

.legend-group__arrow-btn:hover {
  background: var(--ui-hover);
  color: var(--ui-text);
}

.legend-group__arrow {
  font-size: 0.95rem;
  transition: transform 0.22s ease;
}

.legend-group.is-open .legend-group__arrow {
  transform: rotate(180deg);
}

.legend-group__main-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  width: 100%;
}

.legend-group__icon {
  width: 30px;
  height: 30px;
  object-fit: contain;
  flex: 0 0 auto;
}

.legend-group__label {
  min-width: 0;
  line-height: 1.3;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.legend-group__panel {
  display: none;
  padding: 0.15rem 0.35rem 0.45rem 0.8rem;
}

.legend-group.is-open .legend-group__panel {
  display: block;
}

.legend-group__panel-inner {
  display: grid;
  gap: 0.2rem;
  max-height: var(--legend-panel-max);
  overflow: auto;
  overflow-x: hidden;
  padding: 0.15rem 0.2rem 0.2rem;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-gutter: stable;
}

.legend-item {
  width: 100%;
  appearance: none;
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.75rem;
  min-height: 46px;
  text-align: left;
  cursor: pointer;
  border-radius: 10px;
  font: inherit;
  color: inherit;
  transition: background 0.2s ease;
  touch-action: manipulation;
}

.legend-item:hover {
  background: var(--ui-hover);
}

.legend-item[aria-current="true"] {
  background: var(--ui-active);
  font-weight: 600;
}

.legend-item__thumb {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
}

.legend-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.legend-item__label {
  min-width: 0;
  line-height: 1.3;
  font-size: 0.94em;
  color: var(--ui-muted);
  overflow-wrap: anywhere;
  word-break: break-word;
}

.park-map__stage {
  min-width: 0;
  min-height: 0;
  display: flex;
  background: transparent;
  width: 100%;
  position: relative;
}

.park-map__zoom-controls {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: flex-end;
  max-width: calc(100% - 2rem);
}

.park-map__zoom-value {
  min-width: 70px;
  min-height: 44px;
  padding: 0.7rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--ui-border-strong);
  background: rgba(255, 255, 255, 0.88);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: inherit;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  user-select: none;
  -webkit-user-select: none;
}

.park-map__zoom-button--reset {
  min-width: 68px;
}

.park-map__image-wrap {
  position: relative;
  border-radius: 0 var(--radius-inner) var(--radius-inner) 0;
  overflow: hidden;
  background: #f3ecdf;
  border: 1px solid var(--ui-border);
  width: 100%;
  min-height: 100%;
  isolation: isolate;
  cursor: default;
  touch-action: none;
}

.park-map__image-wrap.is-zoomed {
  cursor: grab;
}

.park-map__image-wrap.is-dragging {
  cursor: grabbing;
}

.park-map__image-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.park-map__zoom-layer {
  position: relative;
  width: 100%;
  transform-origin: 0 0;
  will-change: transform;
}

.park-map__image {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

.park-map__markers {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.map-marker {
  position: absolute;
  transform: translate(-50%, -100%);
  pointer-events: auto;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.map-marker.is-visible {
  display: inline-flex;
}

.map-marker:hover,
.map-marker:focus-within {
  z-index: 50;
}

.map-marker__button,
.map-marker__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  padding: calc(6px / var(--park-map-zoom));
  margin: calc(-6px / var(--park-map-zoom));
  min-width: calc(44px / var(--park-map-zoom));
  min-height: calc(44px / var(--park-map-zoom));
  cursor: pointer;
  text-decoration: none;
  touch-action: manipulation;
}

.map-marker__visual {
  transition: transform 0.18s ease;
  transform-origin: center bottom;
  filter: drop-shadow(
    0
    calc(5px / var(--park-map-zoom))
    calc(10px / var(--park-map-zoom))
    rgba(0, 0, 0, 0.22)
  );
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.map-marker:hover .map-marker__visual,
.map-marker:focus-within .map-marker__visual {
  transform: scale(var(--hover-scale));
}

.map-marker__icon {
  display: block;
  width: calc(var(--marker-size-default) * var(--park-map-icon-render-scale));
  height: calc(var(--marker-size-default) * var(--park-map-icon-render-scale));
  object-fit: contain;
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.map-marker--animal .map-marker__icon {
  width: calc(var(--marker-size-animal) * var(--park-map-icon-render-scale));
  height: calc(var(--marker-size-animal) * var(--park-map-icon-render-scale));
}

.map-marker--gastro .map-marker__icon {
  width: calc(var(--marker-size-gastro) * var(--park-map-icon-render-scale));
  height: calc(var(--marker-size-gastro) * var(--park-map-icon-render-scale));
}

.map-marker--parking .map-marker__icon {
  width: calc(var(--marker-size-parking) * var(--park-map-icon-render-scale));
  height: calc(var(--marker-size-parking) * var(--park-map-icon-render-scale));
}

.map-marker--toilet .map-marker__icon {
  width: calc(var(--marker-size-toilet) * var(--park-map-icon-render-scale));
  height: calc(var(--marker-size-toilet) * var(--park-map-icon-render-scale));
}

.map-marker--experience .map-marker__icon {
  width: calc(var(--marker-size-experience) * var(--park-map-icon-render-scale));
  height: calc(var(--marker-size-experience) * var(--park-map-icon-render-scale));
}

.map-marker__tooltip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + (8px / var(--park-map-zoom)));
  transform: translateX(-50%) scale(calc(1 / var(--park-map-zoom)));
  transform-origin: center bottom;
  white-space: nowrap;
  max-width: min(220px, 70vw);
  overflow: hidden;
  text-overflow: ellipsis;
  background: rgba(0, 0, 0, 0.82);
  color: #fff;
  font-size: 0.85rem;
  line-height: 1.25;
  padding: 0.35rem 0.55rem;
  border-radius: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
  z-index: 51;
}

.map-marker:hover .map-marker__tooltip,
.map-marker:focus-within .map-marker__tooltip {
  opacity: 1;
}

@media (min-width: 1025px) {
  .park-map__legend-toggle,
  .park-legend__close {
    display: none;
  }
}

@media (max-width: 1240px) {
  :root {
    --legend-width: 300px;
    --marker-size-default: 32px;
    --marker-size-gastro: 35px;
    --marker-size-animal: 35px;
    --marker-size-parking: 32px;
    --marker-size-toilet: 32px;
    --marker-size-experience: 46px;
  }
}

@media (max-width: 1024px) {
  :root {
    --legend-panel-max: min(34vh, 260px);
    --marker-size-default: 30px;
    --marker-size-gastro: 33px;
    --marker-size-animal: 33px;
    --marker-size-parking: 30px;
    --marker-size-toilet: 30px;
    --marker-size-experience: 42px;
  }

  .park-map__shell {
    overflow: visible;
  }

  .park-map__layout {
    grid-template-columns: 1fr;
    min-height: 0;
    position: relative;
  }

  .park-map__stage {
    min-height: 0;
  }

  .park-map__image-wrap {
    border-radius: var(--radius-inner);
  }

  .park-legend {
    position: absolute;
    top: 1rem;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    max-height: calc(100dvh - 2rem);
    border-radius: var(--radius-inner);
    border-right: 1px solid var(--ui-border);
    box-shadow: 0 22px 40px rgba(0, 0, 0, 0.18);
    display: none;
    z-index: 10;
  }

  .park-legend.is-open {
    display: flex;
  }

  .park-legend__topbar {
    border-top-right-radius: var(--radius-inner);
  }

  .park-legend__close {
    display: inline-grid;
  }

  .park-map__zoom-controls {
    top: auto;
    bottom: 1rem;
    right: 1rem;
    left: 1rem;
    max-width: none;
    justify-content: flex-end;
  }
}

@media (max-width: 767px) {
  :root {
    --radius: 16px;
    --radius-inner: 12px;
    --legend-panel-max: min(32vh, 220px);
    --marker-size-default: 28px;
    --marker-size-gastro: 30px;
    --marker-size-animal: 30px;
    --marker-size-parking: 28px;
    --marker-size-toilet: 28px;
    --marker-size-experience: 38px;
  }

  .park-map__header {
    padding: 0.85rem 0.85rem 0;
  }

  .park-map__header-actions {
    width: 100%;
    justify-content: stretch;
    gap: 0.6rem;
  }

  .park-map__legend-toggle,
  .park-map__icons-toggle {
    flex: 1 1 0;
    justify-content: center;
    text-align: center;
    padding: 0.72rem 0.9rem;
    font-size: 0.96rem;
  }

  .park-map__layout {
    padding: 0.85rem;
  }

  .legend-group__main,
  .legend-item {
    font-size: 0.96rem;
  }

  .legend-group__icon {
    width: 28px;
    height: 28px;
  }

  .legend-item__thumb {
    width: 26px;
    height: 26px;
  }

  .park-map__zoom-controls {
    gap: 0.4rem;
  }

  .park-map__zoom-button,
  .park-map__zoom-value {
    min-height: 42px;
    font-size: 0.92rem;
  }

  .park-map__zoom-value {
    min-width: 62px;
    padding: 0.65rem 0.75rem;
  }

  .map-marker__tooltip {
    max-width: min(180px, 72vw);
  }
}

@media (max-width: 480px) {
  :root {
    --radius: 14px;
    --radius-inner: 11px;
    --legend-panel-max: min(30vh, 190px);
    --marker-size-default: 24px;
    --marker-size-gastro: 26px;
    --marker-size-animal: 26px;
    --marker-size-parking: 24px;
    --marker-size-toilet: 24px;
    --marker-size-experience: 32px;
  }

  .park-map__shell {
    border-radius: calc(var(--radius) + 2px);
  }

  .park-map__header {
    padding: 0.75rem 0.75rem 0;
  }

  .park-map__header-actions {
    gap: 0.5rem;
  }

  .park-map__layout {
    padding: 0.75rem;
  }

  .park-map__legend-toggle,
  .park-map__icons-toggle {
    padding: 0.68rem 0.75rem;
    font-size: 0.92rem;
  }

  .park-legend {
    top: 0.75rem;
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.75rem;
    max-height: calc(100dvh - 1.5rem);
  }

  .park-legend__topbar {
    padding: 0.85rem 0.85rem 0.8rem;
  }

  .park-legend__nav {
    padding: 0.4rem;
  }

  .legend-group__main {
    gap: 0.65rem;
    padding: 0.8rem 0.8rem;
  }

  .legend-item {
    gap: 0.65rem;
    padding: 0.62rem 0.68rem;
  }

  .legend-group__label,
  .legend-item__label {
    font-size: 0.93rem;
  }

  .legend-group__arrow-btn {
    width: 44px;
    min-width: 44px;
    min-height: 44px;
    margin: 0.15rem 0.15rem 0.15rem 0;
  }

  .park-map__image-wrap {
    border-radius: var(--radius-inner);
  }

  .park-map__zoom-controls {
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.75rem;
    justify-content: space-between;
  }

  .park-map__zoom-button,
  .park-map__zoom-value {
    min-height: 40px;
    padding: 0.6rem 0.7rem;
  }

  .park-map__zoom-value {
    min-width: 58px;
  }

  .map-marker__tooltip {
    max-width: min(150px, 76vw);
  }
}

@media (hover: none) and (pointer: coarse) {
  .park-map__legend-toggle:hover,
  .park-map__icons-toggle:hover,
  .park-map__zoom-button:hover,
  .park-legend__close:hover,
  .legend-group__main:hover,
  .legend-group__arrow-btn:hover,
  .legend-item:hover {
    transform: none;
  }

  .map-marker:hover .map-marker__visual {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .park-map__legend-toggle,
  .park-map__icons-toggle,
  .park-map__zoom-button,
  .park-legend__close,
  .legend-group,
  .legend-group__main,
  .legend-group__arrow-btn,
  .legend-group__arrow,
  .legend-item,
  .map-marker__visual,
  .map-marker__tooltip,
  .park-map__zoom-layer {
    transition: none;
  }
}
	

