body.freetime-map-view {
  --ft-rect-radius-sm: 10px;
  --ft-rect-radius: 12px;
  --ft-rect-radius-md: 14px;
  --ft-rect-radius-lg: 16px;
  --ft-control-height: 48px;
}

body.freetime-map-view .page {
  position: relative;
  background: #000000 !important;
  overflow: hidden;
}

body.freetime-map-view .page::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(310deg, #000000, #17da69, #000000, #000000);
  background-size: 800% 800%;
  -webkit-animation: ftMapGradient 20s ease infinite;
  -moz-animation: ftMapGradient 20s ease infinite;
  animation: ftMapGradient 20s ease infinite;
  opacity: 0.9;
}

body.freetime-map-view .page::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 24%, rgba(23, 218, 105, 0.14), transparent 34%),
    radial-gradient(circle at 82% 76%, rgba(23, 218, 105, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(2, 4, 5, 0.34), rgba(2, 4, 5, 0.52));
}

body.freetime-map-view header,
body.freetime-map-view .subbar,
body.freetime-map-view .app,
body.freetime-map-view .listWrap,
body.freetime-map-view .mapWrap {
  position: relative;
  z-index: 1;
}

body.freetime-map-view header {
  z-index: 9200 !important;
  overflow: visible !important;
  isolation: isolate;
}

body.freetime-map-view .subbar {
  z-index: 9100;
}

body.freetime-map-view .app,
body.freetime-map-view .listWrap,
body.freetime-map-view .mapWrap {
  z-index: 10;
}

body.freetime-map-view .headerRight,
body.freetime-map-view .auth,
body.freetime-map-view .addMenuWrap {
  position: relative;
  z-index: 9300;
  overflow: visible !important;
}

body.freetime-map-view .auth {
  gap: 12px;
  flex-wrap: wrap;
}

body.freetime-map-view .topMenuBtn,
body.freetime-map-view .addBtn,
body.freetime-map-view .hamburger,
body.freetime-map-view .fdropBtn,
body.freetime-map-view .guestBtn,
body.freetime-map-view .advBtn,
body.freetime-map-view .sortBtn,
body.freetime-map-view .locBtnGhost,
body.freetime-map-view .locBtnPrimary,
body.freetime-map-view .locIconBtn,
body.freetime-map-view .radiusWrap,
body.freetime-map-view .locInput,
body.freetime-map-view .addDropdown,
body.freetime-map-view .addDropdown a,
body.freetime-map-view .drawerLink,
body.freetime-map-view .drawerGroupBtn,
body.freetime-map-view .drawerSubLink,
body.freetime-map-view .topMenuLink,
body.freetime-map-view .fdropOptionSurface,
body.freetime-map-view .fdropOptionSwitch,
body.freetime-map-view .appModeBtn,
body.freetime-map-view .groupTabBtn,
body.freetime-map-view .cardTag,
body.freetime-map-view .cardAddBtn,
body.freetime-map-view .tripClose,
body.freetime-map-view .tripSplitBtn,
body.freetime-map-view .advBtnGhost,
body.freetime-map-view .advInput,
body.freetime-map-view .accBtn,
body.freetime-map-view .guestPanel,
body.freetime-map-view .fdropPanel,
body.freetime-map-view .sortMenu,
body.freetime-map-view .locSuggest,
body.freetime-map-view .drawer,
body.freetime-map-view .topMenuPanel,
body.freetime-map-view .advDrawer,
body.freetime-map-view .tripDrawer,
body.freetime-map-view .listTop,
body.freetime-map-view .tripItemRow,
body.freetime-map-view .tripDayCard,
body.freetime-map-view .card,
body.freetime-map-view #map {
  border-radius: var(--ft-rect-radius-md) !important;
}

body.freetime-map-view .topMenuPanel,
body.freetime-map-view .drawer,
body.freetime-map-view .advDrawer,
body.freetime-map-view .tripDrawer,
body.freetime-map-view .card,
body.freetime-map-view #map {
  border-radius: var(--ft-rect-radius-lg) !important;
}

body.freetime-map-view .drawerSubLink,
body.freetime-map-view .topMenuLink,
body.freetime-map-view .cardTag,
body.freetime-map-view .cardAddBtn {
  border-radius: var(--ft-rect-radius) !important;
}

body.freetime-map-view .topMenuBtn,
body.freetime-map-view .addBtn,
body.freetime-map-view .hamburger,
body.freetime-map-view .fdropBtn,
body.freetime-map-view .guestBtn,
body.freetime-map-view .advBtn,
body.freetime-map-view .sortBtn,
body.freetime-map-view .locBtnGhost,
body.freetime-map-view .locBtnPrimary,
body.freetime-map-view .locInput,
body.freetime-map-view .radiusWrap,
body.freetime-map-view .drawerLink,
body.freetime-map-view .drawerGroupBtn,
body.freetime-map-view .drawerSubLink,
body.freetime-map-view .topMenuLink,
body.freetime-map-view .appModeBtn,
body.freetime-map-view .groupTabBtn,
body.freetime-map-view .cardAddBtn,
body.freetime-map-view .advBtnGhost,
body.freetime-map-view .advInput,
body.freetime-map-view .accBtn {
  min-height: var(--ft-control-height) !important;
}

body.freetime-map-view .drawerLink,
body.freetime-map-view .drawerGroupBtn,
body.freetime-map-view .drawerSubLink,
body.freetime-map-view .topMenuLink,
body.freetime-map-view .groupTabBtn,
body.freetime-map-view .cardAddBtn {
  display: flex;
  align-items: center;
}

body.freetime-map-view .drawerSubLink,
body.freetime-map-view .topMenuLink {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

body.freetime-map-view .radiusWrap,
body.freetime-map-view .locInput {
  min-height: var(--ft-control-height) !important;
}

body.freetime-map-view .topMenuBtn,
body.freetime-map-view .addBtn,
body.freetime-map-view .fdropBtn,
body.freetime-map-view .guestBtn,
body.freetime-map-view .advBtn,
body.freetime-map-view .sortBtn,
body.freetime-map-view .locBtnGhost,
body.freetime-map-view .locBtnPrimary,
body.freetime-map-view .radiusWrap,
body.freetime-map-view .locInput,
body.freetime-map-view .groupTabBtn,
body.freetime-map-view .appModeBtn {
  position: relative;
  overflow: hidden;
  will-change: transform, box-shadow, border-color, background-color;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 200ms ease,
    color 180ms ease !important;
}

body.freetime-map-view .topMenuBtn::after,
body.freetime-map-view .addBtn::after,
body.freetime-map-view .fdropBtn::after,
body.freetime-map-view .guestBtn::after,
body.freetime-map-view .advBtn::after,
body.freetime-map-view .sortBtn::after,
body.freetime-map-view .locBtnGhost::after,
body.freetime-map-view .locBtnPrimary::after,
body.freetime-map-view .radiusWrap::after,
body.freetime-map-view .locInput::after,
body.freetime-map-view .groupTabBtn::after,
body.freetime-map-view .appModeBtn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 0%,
    transparent 32%,
    rgba(255, 255, 255, 0.11) 48%,
    transparent 64%,
    transparent 100%
  );
  transform: translateX(-135%);
  opacity: 0;
  pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
  body.freetime-map-view .topMenuBtn:hover,
  body.freetime-map-view .addBtn:hover,
  body.freetime-map-view .fdropBtn:hover,
  body.freetime-map-view .guestBtn:hover,
  body.freetime-map-view .advBtn:hover,
  body.freetime-map-view .sortBtn:hover,
  body.freetime-map-view .locBtnGhost:hover,
  body.freetime-map-view .locBtnPrimary:hover,
  body.freetime-map-view .radiusWrap:hover,
  body.freetime-map-view .locInput:hover,
  body.freetime-map-view .groupTabBtn:hover,
  body.freetime-map-view .appModeBtn:hover {
    transform: translateY(-2px);
    border-color: rgba(23, 218, 105, 0.28) !important;
    background: rgba(23, 218, 105, 0.08) !important;
    box-shadow:
      0 16px 30px rgba(0, 0, 0, 0.24),
      0 0 0 1px rgba(23, 218, 105, 0.1);
  }

  body.freetime-map-view .topMenuBtn:hover::after,
  body.freetime-map-view .addBtn:hover::after,
  body.freetime-map-view .fdropBtn:hover::after,
  body.freetime-map-view .guestBtn:hover::after,
  body.freetime-map-view .advBtn:hover::after,
  body.freetime-map-view .sortBtn:hover::after,
  body.freetime-map-view .locBtnGhost:hover::after,
  body.freetime-map-view .locBtnPrimary:hover::after,
  body.freetime-map-view .radiusWrap:hover::after,
  body.freetime-map-view .locInput:hover::after,
  body.freetime-map-view .groupTabBtn:hover::after,
  body.freetime-map-view .appModeBtn:hover::after {
    opacity: 1;
    transform: translateX(135%);
    transition:
      transform 620ms ease,
      opacity 220ms ease;
  }
}

body.freetime-map-view .topMenuBtn:active,
body.freetime-map-view .addBtn:active,
body.freetime-map-view .fdropBtn:active,
body.freetime-map-view .guestBtn:active,
body.freetime-map-view .advBtn:active,
body.freetime-map-view .sortBtn:active,
body.freetime-map-view .locBtnGhost:active,
body.freetime-map-view .locBtnPrimary:active,
body.freetime-map-view .groupTabBtn:active,
body.freetime-map-view .appModeBtn:active {
  transform: translateY(0) scale(0.985);
}

body.freetime-map-view .topMenuWrap {
  position: relative;
  z-index: 9300;
  overflow: visible !important;
}

body.freetime-map-view .topMenuBtn {
  min-height: 50px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: #f5f7f8;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease;
}

body.freetime-map-view .topMenuBtn:hover,
body.freetime-map-view .topMenuBtn:focus-visible,
body.freetime-map-view .topMenuBtn[aria-expanded="true"] {
  transform: translateY(-1px);
  border-color: rgba(23, 218, 105, 0.34);
  background: rgba(23, 218, 105, 0.1);
  box-shadow:
    0 16px 34px rgba(0, 0, 0, 0.24),
    0 0 0 1px rgba(23, 218, 105, 0.12);
}

body.freetime-map-view .topMenuBtn .caret {
  color: #17da69;
  transition: transform 160ms ease;
}

body.freetime-map-view .topMenuBtn[aria-expanded="true"] .caret {
  transform: rotate(180deg);
}

body.freetime-map-view .addBtn {
  min-height: 50px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(25, 229, 111, 0.45) !important;
  background:
    linear-gradient(135deg, rgba(23, 218, 105, 0.22), rgba(6, 12, 10, 0.88)) !important;
  color: #ecfff4 !important;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.02em;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.26);
}

body.freetime-map-view .addBtn .caret {
  color: #19e56f !important;
}

body.freetime-map-view .addBtn:hover,
body.freetime-map-view .addBtn:focus-visible,
body.freetime-map-view .addBtn[aria-expanded="true"] {
  border-color: rgba(61, 235, 128, 0.72) !important;
  background:
    linear-gradient(135deg, rgba(23, 218, 105, 0.34), rgba(8, 16, 12, 0.9)) !important;
  color: #ffffff !important;
  box-shadow:
    0 16px 34px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(23, 218, 105, 0.16);
}

body.freetime-map-view .topMenuPanel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 280px;
  display: none;
  padding: 10px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(7, 10, 12, 0.96);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.52);
  backdrop-filter: blur(18px);
}

body.freetime-map-view .topMenuPanel.open {
  display: grid;
  gap: 8px;
}

body.freetime-map-view .topMenuLink {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: var(--ft-control-height) !important;
  padding: 0 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: #dfe6e9 !important;
  font-size: 13px;
  font-weight: 700;
  text-align: left;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease,
    color 160ms ease;
}

body.freetime-map-view .topMenuLink:hover,
body.freetime-map-view .topMenuLink:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(23, 218, 105, 0.3);
  background: rgba(23, 218, 105, 0.1);
  color: #ffffff !important;
  box-shadow:
    0 16px 34px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(23, 218, 105, 0.12);
}

body.freetime-map-view .topMenuLinkButton {
  font: inherit;
  cursor: pointer;
}

body.freetime-map-view .addDropdown {
  z-index: 9500 !important;
  top: calc(100% + 10px) !important;
  right: 0;
  min-width: 280px;
  padding: 10px !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  background: rgba(7, 10, 12, 0.96) !important;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.52) !important;
  backdrop-filter: blur(18px);
}

body.freetime-map-view .addDropdown.open {
  display: grid;
  gap: 8px;
}

body.freetime-map-view .addDropdown a {
  width: 100%;
  display: flex;
  align-items: center;
  min-height: var(--ft-control-height) !important;
  padding: 0 14px !important;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: #dfe6e9 !important;
  font-size: 13px;
  font-weight: 700;
  text-align: left;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease,
    color 160ms ease;
}

body.freetime-map-view .addDropdown a:hover,
body.freetime-map-view .addDropdown a:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(23, 218, 105, 0.3);
  background: rgba(23, 218, 105, 0.1) !important;
  color: #ffffff !important;
  box-shadow:
    0 16px 34px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(23, 218, 105, 0.12);
}

body.freetime-map-view header,
body.freetime-map-view .subbar {
  background: rgba(4, 7, 8, 0.72) !important;
  backdrop-filter: blur(18px);
}

body.freetime-map-view header {
  min-height: 72px;
  padding: 6px 14px;
  gap: 10px;
}

body.freetime-map-view .brand {
  min-width: 0;
  gap: 10px;
}

body.freetime-map-view .logo.tn-logo {
  --tn-size: 84px;
}

body.freetime-map-view .brandText .name {
  font-size: 11px;
}

body.freetime-map-view .mapHeaderNav {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: 10px;
  flex: 0 1 auto;
}

body.freetime-map-view .mapHeaderNav a {
  color: rgba(245, 247, 248, 0.88);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  transition: color 160ms ease, opacity 160ms ease;
}

body.freetime-map-view .mapHeaderNav a:hover,
body.freetime-map-view .mapHeaderNav a:focus-visible {
  color: #ffffff;
  opacity: 1;
}

body.freetime-map-view .topMenuBtn,
body.freetime-map-view .addBtn,
body.freetime-map-view .hamburger {
  min-height: 40px;
}

body.freetime-map-view .topMenuBtn,
body.freetime-map-view .addBtn {
  padding: 0 14px;
}

body.freetime-map-view .headerPromo,
body.freetime-map-view .advHandle,
body.freetime-map-view .tripHandle {
  display: none !important;
}

body.freetime-map-view .drawerLinkButton {
  width: 100%;
  text-align: left;
  font: inherit;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

body.freetime-map-view .app,
body.freetime-map-view .listWrap,
body.freetime-map-view .mapWrap {
  background: transparent !important;
}

body.freetime-map-view .listWrap,
body.freetime-map-view .tripBody,
body.freetime-map-view .advDrawer,
body.freetime-map-view .drawer {
  scrollbar-width: thin;
  scrollbar-color: rgba(23, 218, 105, 0.72) rgba(255, 255, 255, 0.06);
}

body.freetime-map-view .listWrap::-webkit-scrollbar,
body.freetime-map-view .tripBody::-webkit-scrollbar,
body.freetime-map-view .advDrawer::-webkit-scrollbar,
body.freetime-map-view .drawer::-webkit-scrollbar {
  width: 12px;
}

body.freetime-map-view .listWrap::-webkit-scrollbar-track,
body.freetime-map-view .tripBody::-webkit-scrollbar-track,
body.freetime-map-view .advDrawer::-webkit-scrollbar-track,
body.freetime-map-view .drawer::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

body.freetime-map-view .listWrap::-webkit-scrollbar-thumb,
body.freetime-map-view .tripBody::-webkit-scrollbar-thumb,
body.freetime-map-view .advDrawer::-webkit-scrollbar-thumb,
body.freetime-map-view .drawer::-webkit-scrollbar-thumb {
  background:
    linear-gradient(180deg, rgba(23, 218, 105, 0.95), rgba(23, 218, 105, 0.55));
  border-radius: 999px;
  border: 2px solid rgba(5, 9, 10, 0.86);
  box-shadow:
    0 0 0 1px rgba(23, 218, 105, 0.1),
    0 8px 18px rgba(23, 218, 105, 0.18);
}

body.freetime-map-view .listWrap::-webkit-scrollbar-thumb:hover,
body.freetime-map-view .tripBody::-webkit-scrollbar-thumb:hover,
body.freetime-map-view .advDrawer::-webkit-scrollbar-thumb:hover,
body.freetime-map-view .drawer::-webkit-scrollbar-thumb:hover {
  background:
    linear-gradient(180deg, rgba(61, 235, 128, 0.98), rgba(23, 218, 105, 0.72));
  box-shadow:
    0 0 0 1px rgba(23, 218, 105, 0.14),
    0 10px 22px rgba(23, 218, 105, 0.24);
}

body.freetime-map-view .listTop,
body.freetime-map-view .sortMenu,
body.freetime-map-view .drawer,
body.freetime-map-view .guestPanel,
body.freetime-map-view .fdropPanel,
body.freetime-map-view .advDrawer,
body.freetime-map-view .tripDrawer {
  background: rgba(7, 10, 12, 0.84) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.42) !important;
  backdrop-filter: blur(18px);
}

body.freetime-map-view .drawerOverlay {
  z-index: 9400 !important;
}

body.freetime-map-view .drawer {
  z-index: 9500 !important;
  width: min(312px, calc(100vw - 44px));
  padding: 10px;
  display: none;
  gap: 8px;
  border-radius: 18px !important;
  box-shadow: 0 22px 68px rgba(0, 0, 0, 0.44) !important;
}

body.freetime-map-view .drawer.open {
  display: grid;
}

body.freetime-map-view .drawerLink,
body.freetime-map-view .drawerGroupBtn,
body.freetime-map-view .drawerSubLink {
  position: relative;
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: #f5f7f8 !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease,
    color 160ms ease;
}

body.freetime-map-view .drawerLink,
body.freetime-map-view .drawerGroupBtn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

body.freetime-map-view .drawerLinkButton {
  width: 100%;
  padding: 10px 14px;
  text-align: left;
  cursor: pointer;
}

body.freetime-map-view .drawerLink:hover,
body.freetime-map-view .drawerGroupBtn:hover,
body.freetime-map-view .drawerSubLink:hover,
body.freetime-map-view .drawerLink:focus-visible,
body.freetime-map-view .drawerGroupBtn:focus-visible,
body.freetime-map-view .drawerSubLink:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(23, 218, 105, 0.32);
  background: rgba(23, 218, 105, 0.1);
  color: #ffffff !important;
  box-shadow:
    0 16px 34px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(23, 218, 105, 0.12);
}

body.freetime-map-view .drawerGroupBtn[aria-expanded="true"] {
  border-color: rgba(23, 218, 105, 0.36);
  background: rgba(23, 218, 105, 0.12);
  color: #ffffff !important;
}

body.freetime-map-view .drawerGroupBtn .caret {
  color: #17da69;
  transition: transform 160ms ease;
}

body.freetime-map-view .drawerGroupBtn[aria-expanded="true"] .caret {
  transform: rotate(180deg);
}

body.freetime-map-view .drawerGroupPanel {
  display: none;
  padding: 4px 0 0;
}

body.freetime-map-view .drawerGroupPanel.open {
  display: grid;
  gap: 6px;
}

body.freetime-map-view .drawerSubLink {
  display: block;
  padding: 10px 12px 10px 15px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 700;
  color: #dfe6e9 !important;
}

body.freetime-map-view .drawerSubButton {
  width: 100%;
  text-align: left;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: inherit;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}

body.freetime-map-view .drawerSep {
  height: 1px;
  margin: 4px 4px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.16), transparent);
}

body.freetime-map-view .drawerAuth {
  margin-top: 2px;
  border-color: rgba(23, 218, 105, 0.18);
  background: linear-gradient(135deg, rgba(23, 218, 105, 0.12), rgba(23, 218, 105, 0.05));
  color: #eafff2 !important;
}

body.freetime-map-view .listTop {
  top: 0;
  background:
    linear-gradient(180deg, rgba(4, 8, 10, 0.76), rgba(4, 8, 10, 0.8)),
    linear-gradient(310deg, #031009, #17da69, #031009, #020405) !important;
  background-size: auto, 800% 800%;
  -webkit-animation: ftMapGradient 20s ease infinite;
  -moz-animation: ftMapGradient 20s ease infinite;
  animation: ftMapGradient 20s ease infinite;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.04) !important;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: nowrap;
  gap: 8px;
}

body.freetime-map-view .groupTabs {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  min-width: 0;
}

body.freetime-map-view .groupTabRow {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
}

body.freetime-map-view .listActions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
  flex: 0 0 auto;
}

body.freetime-map-view .listMeta,
body.freetime-map-view .sortWrap {
  flex: 0 0 auto;
}

body.freetime-map-view .listTitle {
  font-size: 13px;
}

body.freetime-map-view .listSub {
  font-size: 11px;
}

body.freetime-map-view .listActionBtn,
body.freetime-map-view .sortBtn {
  min-height: 38px;
  padding: 0 12px;
  font-size: 13px;
}

body.freetime-map-view .groupTabBtn {
  min-height: 38px;
  padding: 8px 12px;
  font-size: 13px;
  white-space: nowrap;
}

body.freetime-map-view .sortBtn .caret {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

body.freetime-map-view .listActionBtn {
  border-color: rgba(23, 218, 105, 0.24) !important;
  background: rgba(23, 218, 105, 0.08) !important;
  color: #e8fff2 !important;
}

body.freetime-map-view .advDrawerTop {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

body.freetime-map-view .advDrawer {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

body.freetime-map-view .advDrawer,
body.freetime-map-view .advDrawer .tripTitle,
body.freetime-map-view .advDrawer .listSub,
body.freetime-map-view .advDrawer .advLabel,
body.freetime-map-view .advDrawer .advCheck,
body.freetime-map-view .advDrawer .accBtn,
body.freetime-map-view .advDrawer .accCaret,
body.freetime-map-view .advDrawer .guestLabel,
body.freetime-map-view .advDrawer .guestSummary,
body.freetime-map-view .advDrawer .guestRowTitle,
body.freetime-map-view .advDrawer .guestRowSub,
body.freetime-map-view .advDrawer .gCount,
body.freetime-map-view .advDrawer .advSuggTitle,
body.freetime-map-view .advDrawer .advSuggMeta,
body.freetime-map-view .advDrawer .advInput,
body.freetime-map-view .advDrawer .advBtnGhost {
  color: #111111 !important;
}

body.freetime-map-view .advDrawer .advInput::placeholder {
  color: rgba(17, 17, 17, 0.58) !important;
}

body.freetime-map-view .advDrawer .guestBtn,
body.freetime-map-view .advDrawer .advInput,
body.freetime-map-view .advDrawer .advBtnGhost,
body.freetime-map-view .advDrawer .accBtn {
  background: rgba(255, 255, 255, 0.9) !important;
}

body.freetime-map-view .advDrawer .advBlock,
body.freetime-map-view .advDrawer .advAcc,
body.freetime-map-view .advDrawer .advFooter {
  margin: 0 !important;
}

body.freetime-map-view .advDrawer .advBlock {
  padding: 14px !important;
}

body.freetime-map-view .advDrawer .advLabel {
  display: block;
  margin-bottom: 10px;
}

body.freetime-map-view .advDrawer .advInput,
body.freetime-map-view .advDrawer .guestBtn,
body.freetime-map-view .advDrawer .advBtnGhost,
body.freetime-map-view .advDrawer .accBtn {
  min-height: 48px !important;
  border-radius: 16px !important;
}

body.freetime-map-view .advDrawer .advInput {
  width: 100%;
}

body.freetime-map-view .advDrawer .advCheck {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: flex-start;
}

body.freetime-map-view .advDrawer .advCheck input {
  flex: 0 0 auto;
}

body.freetime-map-view .advDrawer .advSuggest {
  margin-top: 10px;
}

body.freetime-map-view .advDrawer .accBtn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
}

body.freetime-map-view .advDrawer .advFooter {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

body.freetime-map-view .advClearAllBtn {
  flex: 0 0 auto;
  min-height: 44px !important;
  white-space: nowrap;
}

body.freetime-map-view .advGuestMount:empty {
  display: none;
}

body.freetime-map-view .advGuestMount #guest {
  width: 100%;
}

body.freetime-map-view .advGuestMount .guestBtn {
  width: 100%;
  justify-content: space-between;
}

body.freetime-map-view .advGuestMount .guestPanel {
  position: relative;
  top: auto;
  left: auto;
  transform: none;
  width: 100%;
  max-width: none;
  margin-top: 12px;
}

body.freetime-map-view .advGuestMount .guestRow {
  align-items: center;
}

body.freetime-map-view .guestText {
  align-items: flex-start;
  flex-direction: column;
  gap: 6px;
}

body.freetime-map-view .guestSummary {
  font-size: 12px;
  font-weight: 600;
  color: #a9b3b7;
  line-height: 1.3;
}

body.freetime-map-view .guestPanel {
  background: rgba(7, 10, 12, 0.92) !important;
  border-color: rgba(255, 255, 255, 0.14) !important;
}

body.freetime-map-view .guestPanel .guestRowTitle {
  color: #f5f7f8 !important;
}

body.freetime-map-view .guestPanel .guestRowSub {
  color: #b8c5ce !important;
}

body.freetime-map-view .guestPanel .gCount {
  color: #ffffff !important;
}

body.freetime-map-view .guestPanel .gBtn {
  color: #f5f7f8 !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  background: rgba(255, 255, 255, 0.04) !important;
}

body.freetime-map-view .guestPanel .guestRow + .guestRow {
  border-top-color: rgba(255, 255, 255, 0.24) !important;
}

body.freetime-map-view .appModeSwitch {
  display: none;
  position: relative;
  z-index: 2;
  margin: 12px 18px 0;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(7, 10, 12, 0.76);
  backdrop-filter: blur(18px);
}

body.freetime-map-view .appModeBtn {
  flex: 1 1 0;
  min-height: 42px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #f5f7f8;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

body.freetime-map-view .appModeBtn.is-active {
  background: linear-gradient(135deg, rgba(23, 218, 105, 0.22), rgba(23, 218, 105, 0.08));
  color: #edfff5;
  box-shadow: 0 10px 22px rgba(23, 218, 105, 0.12);
}

body.freetime-map-view .card,
body.freetime-map-view .sortBtn,
body.freetime-map-view .fdropBtn,
body.freetime-map-view .guestBtn,
body.freetime-map-view .advBtn,
body.freetime-map-view .locInput,
body.freetime-map-view .locBtnGhost,
body.freetime-map-view .radiusWrap,
body.freetime-map-view .tripItemRow,
body.freetime-map-view .tripDayCard {
  border-color: rgba(255, 255, 255, 0.08) !important;
  background: rgba(255, 255, 255, 0.04) !important;
  color: #f5f7f8 !important;
}

body.freetime-map-view .locRadius {
  min-width: 0;
}

body.freetime-map-view .radiusWrap {
  width: 100%;
  min-width: 0 !important;
  max-width: 100%;
  overflow: hidden;
  gap: 8px;
}

body.freetime-map-view .radiusLabel {
  flex: 0 0 auto;
  min-width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-variant-numeric: tabular-nums;
}

body.freetime-map-view .radiusSlider {
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  max-width: 100%;
  --radius-progress: 10%;
}

body.freetime-map-view #radiusKmValue {
  display: inline-block;
  min-width: 3ch;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

body.freetime-map-view .radiusSlider::-webkit-slider-runnable-track {
  background:
    linear-gradient(
      90deg,
      rgba(23, 218, 105, 0.95) 0%,
      rgba(23, 218, 105, 0.72) var(--radius-progress),
      rgba(255, 255, 255, 0.14) var(--radius-progress),
      rgba(255, 255, 255, 0.08) 100%
    ) !important;
  transition: background 160ms ease;
}

body.freetime-map-view .radiusSlider::-moz-range-track {
  background:
    linear-gradient(
      90deg,
      rgba(23, 218, 105, 0.95) 0%,
      rgba(23, 218, 105, 0.72) var(--radius-progress),
      rgba(255, 255, 255, 0.14) var(--radius-progress),
      rgba(255, 255, 255, 0.08) 100%
    ) !important;
  transition: background 160ms ease;
}

body.freetime-map-view .radiusSlider::-webkit-slider-thumb {
  transition:
    transform 140ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

body.freetime-map-view .radiusSlider::-moz-range-thumb {
  transition:
    transform 140ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

body.freetime-map-view .radiusSlider:hover::-webkit-slider-thumb,
body.freetime-map-view .radiusSlider:focus-visible::-webkit-slider-thumb {
  box-shadow: 0 0 0 7px rgba(23, 218, 105, 0.24);
}

body.freetime-map-view .radiusSlider:hover::-moz-range-thumb,
body.freetime-map-view .radiusSlider:focus-visible::-moz-range-thumb {
  box-shadow: 0 0 0 7px rgba(23, 218, 105, 0.24);
}

body.freetime-map-view .radiusSlider:active::-webkit-slider-thumb {
  transform: scale(1.08);
}

body.freetime-map-view .radiusSlider:active::-moz-range-thumb {
  transform: scale(1.08);
}

body.freetime-map-view .card {
  border-radius: 22px !important;
}

body.freetime-map-view .cardTag,
body.freetime-map-view .ftu-badge,
body.freetime-map-view .sortOpt.isActive {
  background: rgba(23, 218, 105, 0.1) !important;
  border-color: rgba(23, 218, 105, 0.24) !important;
  color: #d9ffe9 !important;
}

body.freetime-map-view .cardActions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

body.freetime-map-view .locBtnGhost.is-active {
  border-color: rgba(23, 218, 105, 0.52) !important;
  background: linear-gradient(135deg, rgba(23, 218, 105, 0.2), rgba(23, 218, 105, 0.08)) !important;
  color: #ecfff4 !important;
  box-shadow: 0 12px 24px rgba(23, 218, 105, 0.18) !important;
}

body.freetime-map-view .cardTopRow {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin: 8px 12px 0;
}

body.freetime-map-view .cardImg {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: rgba(7, 11, 14, 0.42);
}

body.freetime-map-view .cardPriceBubble {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 4;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 5px 9px;
  border-radius: 999px;
  border: 1px solid rgba(214, 220, 226, 0.9);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.2);
  white-space: nowrap;
}

body.freetime-map-view .cardPriceWrap {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: nowrap;
  white-space: nowrap;
}

body.freetime-map-view .cardPrice {
  color: #334155 !important;
  font-weight: 900;
  font-size: 13px;
  line-height: 1;
}

body.freetime-map-view .cardPriceNew {
  color: #ef4444 !important;
  font-weight: 900;
  font-size: 13px;
  line-height: 1;
}

body.freetime-map-view .cardPriceOld {
  color: #6b7280 !important;
  opacity: 1 !important;
  font-size: 11px;
  line-height: 1;
}

body.freetime-map-view .cardPriceBubble .cardPrice {
  position: static;
  top: auto;
  right: auto;
  z-index: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

body.freetime-map-view .cardTravel {
  margin-top: 6px;
  color: #c7d2db;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

body.freetime-map-view .ftHeatLegend {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 620;
  width: 180px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(6, 10, 12, 0.85);
  backdrop-filter: blur(8px);
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.34);
}

body.freetime-map-view .ftHeatLegendTitle {
  color: #eff8f2;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 8px;
}

body.freetime-map-view .ftHeatLegendScale {
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, #3dda7a, #b7ec2d, #ffb020, #ff6a1f, #ff2e2e);
}

body.freetime-map-view .ftHeatLegendLabels {
  margin-top: 7px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(228, 238, 244, 0.84);
  font-size: 11px;
  font-weight: 700;
}

body.freetime-map-view .ftHeatLegendMax {
  margin-top: 7px;
  color: rgba(210, 222, 229, 0.84);
  font-size: 10px;
  font-weight: 700;
  text-align: right;
}

@media (max-width: 767px) {
  body.freetime-map-view .ftHeatLegend {
    right: 10px;
    bottom: 10px;
    width: 152px;
    padding: 8px 10px;
  }
}

body.freetime-map-view .cardFavBtn,
body.freetime-map-view .popupFavBtn {
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
  color: #d6dee6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

body.freetime-map-view .cardFavBtn svg,
body.freetime-map-view .popupFavBtn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

body.freetime-map-view .popupFavBtn {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
}

body.freetime-map-view .leaflet-popup-content {
  margin: 10px !important;
}

body.freetime-map-view .ftPopupCard {
  width: min(300px, calc(100vw - 88px));
  color: #eaf2f8;
}

body.freetime-map-view .ftPopupMedia {
  width: 100%;
  height: 128px;
  margin-bottom: 10px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
}

body.freetime-map-view .ftPopupMedia img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
}

body.freetime-map-view .ftPopupTop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

body.freetime-map-view .ftPopupTitle {
  color: #f5f9fd;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.25;
}

body.freetime-map-view .ftPopupDesc {
  color: #d2dde6;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 10px;
}

body.freetime-map-view .ftPopupTags {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

body.freetime-map-view .ftPopupTag {
  display: inline-flex;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(229, 239, 245, 0.66);
  color: #e7eff4;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  background: rgba(255, 255, 255, 0.02);
}

body.freetime-map-view .ftPopupLink {
  display: inline-flex;
  margin-top: 12px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(25, 229, 111, 0.54);
  color: #ecfff3;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  background: linear-gradient(135deg, rgba(25, 229, 111, 0.17), rgba(25, 229, 111, 0.08));
  transition: transform 160ms ease, filter 160ms ease;
}

body.freetime-map-view .ftPopupLink:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

body.freetime-map-view .cardFavBtn:hover,
body.freetime-map-view .popupFavBtn:hover {
  transform: translateY(-1px);
  border-color: rgba(25, 229, 111, 0.5);
  background: rgba(25, 229, 111, 0.13);
  color: #8effbf;
}

body.freetime-map-view .cardFavBtn.is-active,
body.freetime-map-view .popupFavBtn.is-active {
  border-color: rgba(25, 229, 111, 0.58);
  background: linear-gradient(135deg, rgba(25, 229, 111, 0.22), rgba(18, 200, 95, 0.14));
  color: #19e56f;
  box-shadow: 0 10px 24px rgba(25, 229, 111, 0.2);
}

body.freetime-map-view .cardFavBtn.is-pending,
body.freetime-map-view .popupFavBtn.is-pending {
  opacity: 0.7;
  pointer-events: none;
}

body.freetime-map-view .ftFavoriteToast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  transform: translate(-50%, 14px);
  opacity: 0;
  pointer-events: none;
  z-index: 2400;
  max-width: min(calc(100vw - 28px), 440px);
  width: max-content;
  min-height: 44px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid rgba(25, 229, 111, 0.42);
  background:
    linear-gradient(135deg, rgba(25, 229, 111, 0.2), rgba(25, 229, 111, 0.04)),
    rgba(7, 10, 14, 0.94);
  box-shadow:
    0 14px 34px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(25, 229, 111, 0.12);
  color: #ecfff3;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
  transition:
    opacity 260ms ease,
    transform 260ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

body.freetime-map-view .ftFavoriteToast.is-open {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 767px) {
  body.freetime-map-view .ftFavoriteToast {
    bottom: 16px;
    padding: 11px 14px;
    font-size: 13px;
  }
}

body.freetime-map-view .cardPrice,
body.freetime-map-view .cardPriceNew {
  color: #ef4444 !important;
}

body.freetime-map-view .cardPrice {
  color: #334155 !important;
}

body.freetime-map-view .cardPriceOld {
  color: #6b7280 !important;
  opacity: 1 !important;
}

body.freetime-map-view .groupTabBtn {
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  background: rgba(255, 255, 255, 0.035) !important;
  color: #f5f7f8 !important;
  box-shadow: none !important;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

body.freetime-map-view .groupTabBtn:hover {
  transform: translateY(-1px);
  border-color: rgba(23, 218, 105, 0.24) !important;
  background: rgba(23, 218, 105, 0.08) !important;
}

body.freetime-map-view .groupTabBtn.isActive {
  background: linear-gradient(135deg, rgba(23, 218, 105, 0.18), rgba(23, 218, 105, 0.08)) !important;
  border-color: rgba(23, 218, 105, 0.34) !important;
  color: #edfff5 !important;
  box-shadow: 0 10px 24px rgba(23, 218, 105, 0.12) !important;
}

body.freetime-map-view .cardName,
body.freetime-map-view .listTitle,
body.freetime-map-view .guestLabel,
body.freetime-map-view .advLabel,
body.freetime-map-view .tripTitle {
  color: #f5f7f8 !important;
}

body.freetime-map-view .cardMeta,
body.freetime-map-view .listSub,
body.freetime-map-view .guestRowSub,
body.freetime-map-view .tripItemType {
  color: #a9b3b7 !important;
}

body.freetime-map-view .tripSection,
body.freetime-map-view .tripDayName,
body.freetime-map-view .tripItemTitle,
body.freetime-map-view .tripNotesLabel,
body.freetime-map-view .tripNotesCounter {
  color: #eef4f9 !important;
}

body.freetime-map-view .tripDayName,
body.freetime-map-view .tripItemTitle {
  font-weight: 800;
}

body.freetime-map-view .tripItemType {
  color: #b7c4cf !important;
}

body.freetime-map-view .tripNotesInput {
  border-color: rgba(255, 255, 255, 0.14) !important;
  background: rgba(255, 255, 255, 0.04) !important;
  color: #f3f7fb !important;
}

body.freetime-map-view .tripNotesInput::placeholder {
  color: rgba(183, 196, 207, 0.82) !important;
}

body.freetime-map-view .tripNotesInput:focus {
  border-color: rgba(23, 218, 105, 0.5) !important;
  box-shadow: 0 0 0 4px rgba(23, 218, 105, 0.14) !important;
}

body.freetime-map-view #map {
  border-radius: 24px !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  background: rgba(5, 8, 10, 0.18) !important;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.42) !important;
}

@-webkit-keyframes ftMapGradient {
  0% { background-position: 0% 75%; }
  50% { background-position: 100% 26%; }
  100% { background-position: 0% 75%; }
}

@-moz-keyframes ftMapGradient {
  0% { background-position: 0% 75%; }
  50% { background-position: 100% 26%; }
  100% { background-position: 0% 75%; }
}

@keyframes ftMapGradient {
  0% { background-position: 0% 75%; }
  50% { background-position: 100% 26%; }
  100% { background-position: 0% 75%; }
}

body.freetime-map-view .app {
  grid-template-columns: minmax(400px, 34vw) minmax(0, 1fr) !important;
}

body.freetime-map-view .listWrap,
body.freetime-map-view .mapWrap {
  min-width: 0;
}

body.freetime-map-view .mapWrap {
  padding: 0 !important;
  display: flex;
}

body.freetime-map-view #map {
  flex: 1 1 auto;
  width: 100%;
  height: 100%;
  min-height: 100%;
}

body.freetime-map-view .cardsGrid {
  gap: 16px;
}

body.freetime-map-view .subbar {
  min-height: 76px;
  height: auto !important;
  padding: 12px 18px !important;
  gap: 14px !important;
}

body.freetime-map-view .subbarLeft,
body.freetime-map-view .subbarCenter,
body.freetime-map-view .subbarRight {
  min-width: 0;
}

body.freetime-map-view .locInline,
body.freetime-map-view #filterBar {
  max-width: 100%;
}

body.freetime-map-view .fdrop,
body.freetime-map-view .guest,
body.freetime-map-view .advFilters,
body.freetime-map-view .sortWrap {
  min-width: 0;
}

  body.freetime-map-view .fdropBtn,
  body.freetime-map-view .guestBtn,
  body.freetime-map-view .advBtn,
  body.freetime-map-view .sortBtn,
  body.freetime-map-view .locBtnGhost {
    min-height: var(--ft-control-height) !important;
  }

body.freetime-map-view .locSuggest,
body.freetime-map-view .fdropPanel,
body.freetime-map-view .guestPanel,
body.freetime-map-view .sortMenu {
  max-width: min(92vw, 420px);
}

body.freetime-map-view .fdropPanel {
  padding: 10px !important;
}

body.freetime-map-view .fdropPanel.open {
  display: grid !important;
  gap: 8px;
}

body.freetime-map-view .fdropOption {
  position: relative;
  display: block;
  cursor: pointer;
}

body.freetime-map-view .fdropCheck {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}

body.freetime-map-view .fdropOptionSurface {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.025)),
    rgba(6, 9, 10, 0.86);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  overflow: hidden;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

body.freetime-map-view .fdropOptionSurface::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(23, 218, 105, 0.14), transparent 55%);
  opacity: 0;
  transition: opacity 180ms ease;
  pointer-events: none;
}

body.freetime-map-view .fdropOptionMarker {
  flex: 0 0 10px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(23, 218, 105, 0.46);
  box-shadow: 0 0 0 6px rgba(23, 218, 105, 0.08);
  position: relative;
  z-index: 1;
}

body.freetime-map-view .fdropOptionCopy {
  min-width: 0;
  display: grid;
  gap: 4px;
  position: relative;
  z-index: 1;
}

body.freetime-map-view .fdropOptionTitle {
  display: block;
  color: #f5f7f8;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
}

body.freetime-map-view .fdropOptionHint {
  display: block;
  color: #97a7ad;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.3;
}

body.freetime-map-view .fdropOptionSwitch {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: #c8d2d6;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
  transition:
    border-color 160ms ease,
    background 160ms ease,
    color 160ms ease,
    box-shadow 160ms ease;
}

body.freetime-map-view .fdropOptionSwitchDot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  transition:
    transform 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease;
}

body.freetime-map-view .fdropOption:hover .fdropOptionSurface,
body.freetime-map-view .fdropCheck:focus-visible + .fdropOptionSurface {
  transform: translateY(-1px);
  border-color: rgba(23, 218, 105, 0.24);
  box-shadow:
    0 16px 34px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

body.freetime-map-view .fdropOption:hover .fdropOptionSurface::before,
body.freetime-map-view .fdropCheck:focus-visible + .fdropOptionSurface::before {
  opacity: 1;
}

body.freetime-map-view .fdropCheck:checked + .fdropOptionSurface {
  border-color: rgba(23, 218, 105, 0.36);
  background:
    linear-gradient(135deg, rgba(23, 218, 105, 0.16), rgba(23, 218, 105, 0.05)),
    rgba(6, 9, 10, 0.92);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(23, 218, 105, 0.12);
}

body.freetime-map-view .fdropCheck:checked + .fdropOptionSurface::before {
  opacity: 1;
}

body.freetime-map-view .fdropCheck:checked + .fdropOptionSurface .fdropOptionMarker {
  background: #17da69;
  box-shadow: 0 0 0 8px rgba(23, 218, 105, 0.14);
}

body.freetime-map-view .fdropCheck:checked + .fdropOptionSurface .fdropOptionSwitch {
  border-color: rgba(23, 218, 105, 0.28);
  background: rgba(23, 218, 105, 0.16);
  color: #ecfff3;
}

body.freetime-map-view .fdropCheck:checked + .fdropOptionSurface .fdropOptionSwitchDot {
  background: #17da69;
  box-shadow: 0 0 0 6px rgba(23, 218, 105, 0.14);
  transform: scale(1.1);
}

@media (max-width: 1500px) {
  body.freetime-map-view .app {
    grid-template-columns: minmax(520px, 40vw) minmax(0, 1fr) !important;
  }

  body.freetime-map-view .listTop {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 8px;
    overflow: visible;
  }

  body.freetime-map-view .listMeta {
    flex: 0 0 auto;
    min-width: fit-content;
  }

  body.freetime-map-view .listActions {
    flex: 0 0 auto;
    width: auto;
    min-width: fit-content;
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
  }

  body.freetime-map-view .listActions > * {
    min-width: fit-content;
    width: auto;
  }

  body.freetime-map-view .sortWrap,
  body.freetime-map-view .listActionBtn,
  body.freetime-map-view .sortBtn {
    width: auto;
  }

  body.freetime-map-view .sortBtn {
    justify-content: space-between;
  }

  body.freetime-map-view .groupTabs {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    justify-content: flex-start;
    overflow: visible;
  }

  body.freetime-map-view .groupTabRow {
    width: auto;
    display: flex;
    gap: 8px;
  }

  body.freetime-map-view .groupTabBtn {
    width: auto;
    white-space: nowrap;
    justify-content: center;
  }

  body.freetime-map-view .cardsGrid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 1180px) {
  body.freetime-map-view .appModeSwitch {
    display: flex;
    gap: 8px;
  }

  body.freetime-map-view.is-mobile-map-view .listWrap {
    display: none !important;
  }

  body.freetime-map-view.is-mobile-list-view .mapWrap {
    display: none !important;
  }

  html:has(body.freetime-map-view),
  body.freetime-map-view,
  body.freetime-map-view .page {
    height: auto !important;
    min-height: 100svh !important;
    overflow: auto !important;
  }

  body.freetime-map-view .page {
    padding-bottom: 24px;
  }

  body.freetime-map-view header {
    height: auto;
    min-height: 68px;
    padding: 12px 18px;
    gap: 12px;
    flex-wrap: wrap;
  }

  body.freetime-map-view .brand {
    min-width: 0;
    flex: 1 1 auto;
  }

  body.freetime-map-view .headerRight {
    margin-left: auto;
  }

  body.freetime-map-view .topMenuWrap--desktop {
    display: none;
  }

  body.freetime-map-view .mapHeaderNav {
    display: none;
  }

  body.freetime-map-view .headerPromo {
    position: static;
    left: auto;
    transform: none;
    order: 3;
    width: 100%;
    justify-content: center;
  }

  body.freetime-map-view .subbar {
    padding: 14px 18px !important;
    align-items: stretch;
  }

  body.freetime-map-view .subbarCenter {
    align-items: stretch;
  }

  body.freetime-map-view .subbarLeft,
  body.freetime-map-view .subbarCenter,
  body.freetime-map-view .subbarRight {
    width: 100%;
    flex-wrap: wrap;
    gap: 12px;
  }

  body.freetime-map-view .locInline {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
    align-items: stretch;
    gap: 12px;
    width: 100%;
  }

  body.freetime-map-view .locField,
  body.freetime-map-view .locRadius {
    width: 100%;
    min-width: 0;
  }

  body.freetime-map-view .locInput,
  body.freetime-map-view .radiusWrap {
    width: 100% !important;
    min-width: 0 !important;
  }

  body.freetime-map-view #filterBar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 12px;
  }

  body.freetime-map-view .fdrop,
  body.freetime-map-view .guest,
  body.freetime-map-view .advFilters {
    width: 100%;
  }

  body.freetime-map-view .fdropBtn,
  body.freetime-map-view .guestBtn,
  body.freetime-map-view .advBtn,
  body.freetime-map-view .locBtnGhost {
    width: 100%;
    justify-content: center;
  }

  body.freetime-map-view .subbarRight {
    display: none;
  }

  body.freetime-map-view .app {
    grid-template-columns: 1fr !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
    gap: 18px;
    padding: 18px;
  }

  body.freetime-map-view .mapWrap {
    order: 1;
    min-height: clamp(360px, 55svh, 620px) !important;
    height: auto !important;
    overflow: hidden !important;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
  }

  body.freetime-map-view .listWrap {
    order: 2;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    border-right: 0 !important;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
  }

  body.freetime-map-view #map {
    min-height: clamp(340px, 52svh, 580px);
  }

  body.freetime-map-view .cardsGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body.freetime-map-view .listTop {
    display: grid;
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 10px;
    overflow: visible;
  }

  body.freetime-map-view .listMeta,
  body.freetime-map-view .listActions,
  body.freetime-map-view .groupTabs {
    width: 100%;
    min-width: 0;
  }

  body.freetime-map-view .listActions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  body.freetime-map-view .listActions > * {
    width: 100%;
    min-width: 0;
  }

  body.freetime-map-view .sortWrap {
    width: 100%;
  }

  body.freetime-map-view .listActionBtn,
  body.freetime-map-view .sortBtn {
    width: 100%;
    min-height: 38px;
    padding: 0 12px;
    font-size: 13px;
  }

  body.freetime-map-view .groupTabs {
    overflow: visible;
  }

  body.freetime-map-view .groupTabRow {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  body.freetime-map-view .groupTabBtn {
    width: 100%;
    min-height: 38px;
    padding: 8px 10px;
    font-size: 13px;
    white-space: normal;
  }

  body.freetime-map-view .advDrawer,
  body.freetime-map-view .tripDrawer {
    top: auto !important;
    bottom: 18px !important;
    width: min(460px, calc(100vw - 36px)) !important;
    max-width: calc(100vw - 36px) !important;
    height: min(72svh, 680px) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 24px !important;
  }

  body.freetime-map-view .advDrawer {
    left: 18px !important;
    transform: translateY(calc(100% + 24px));
  }

  body.freetime-map-view .advDrawer.open {
    transform: translateY(0);
  }

  body.freetime-map-view .tripDrawer {
    right: 18px !important;
    transform: translateY(calc(100% + 24px));
  }

  body.freetime-map-view .tripDrawer.open {
    transform: translateY(0);
  }
}

@media (max-width: 820px) {
  body.freetime-map-view header {
    padding: 10px 12px;
  }

  body.freetime-map-view .headerPromo {
    display: none;
  }

  body.freetime-map-view .auth {
    gap: 10px;
  }

  body.freetime-map-view .subbar {
    padding: 12px !important;
    gap: 10px !important;
  }

  body.freetime-map-view .locInline {
    grid-template-columns: 1fr;
  }

  body.freetime-map-view #filterBar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  body.freetime-map-view .subbarRight {
    justify-content: stretch;
  }

  body.freetime-map-view .locBtnGhost {
    width: 100%;
  }

  body.freetime-map-view .app {
    gap: 14px;
    padding: 12px;
  }

  body.freetime-map-view .appModeSwitch {
    margin: 10px 12px 0;
  }

  body.freetime-map-view .mapWrap {
    min-height: min(52svh, 440px) !important;
    padding: 0 !important;
  }

  body.freetime-map-view #map {
    min-height: min(50svh, 420px);
    border-radius: 20px !important;
  }

  body.freetime-map-view .listTop {
    gap: 9px;
    padding: 12px;
  }

  body.freetime-map-view .listMeta,
  body.freetime-map-view .listActions,
  body.freetime-map-view .groupTabs {
    width: 100%;
    min-width: 0;
  }

  body.freetime-map-view .sortWrap {
    width: 100%;
  }

  body.freetime-map-view .listActions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  body.freetime-map-view .listActions > * {
    width: 100%;
    min-width: 0;
  }

  body.freetime-map-view .listActionBtn,
  body.freetime-map-view .sortBtn {
    width: 100%;
    min-height: 38px;
    padding: 0 12px;
    font-size: 13px;
    justify-content: center;
  }

  body.freetime-map-view .sortBtn {
    justify-content: space-between;
  }

  body.freetime-map-view .groupTabs {
    overflow: visible;
  }

  body.freetime-map-view .groupTabRow {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  body.freetime-map-view .groupTabBtn {
    width: 100%;
    justify-content: center;
    white-space: normal;
    min-height: 38px;
    padding: 8px 10px;
    font-size: 13px;
  }

  body.freetime-map-view .cardsGrid {
    grid-template-columns: 1fr !important;
    padding: 12px;
    gap: 12px;
  }

  body.freetime-map-view .cardImg {
    height: 180px;
  }

  body.freetime-map-view .fdropPanel,
  body.freetime-map-view .guestPanel,
  body.freetime-map-view .locSuggest,
  body.freetime-map-view .sortMenu {
    left: 0 !important;
    right: 0 !important;
    transform: none !important;
    width: 100% !important;
    max-width: none !important;
  }

  body.freetime-map-view .advDrawer,
  body.freetime-map-view .tripDrawer {
    inset: auto 12px 12px 12px !important;
    width: auto !important;
    max-width: none !important;
    height: min(74svh, 620px) !important;
  }

  body.freetime-map-view .advDrawerTop {
    flex-direction: column;
    align-items: stretch;
  }

  body.freetime-map-view .advClearAllBtn {
    width: 100%;
  }

  body.freetime-map-view .advHandle,
  body.freetime-map-view .tripHandle {
    width: 116px !important;
    height: 40px !important;
  }
}

@media (max-width: 560px) {
  body.freetime-map-view .brandText .name {
    font-size: 15px;
  }

  body.freetime-map-view .topMenuWrap--desktop {
    display: none;
  }

  body.freetime-map-view .headerRight,
  body.freetime-map-view .auth {
    gap: 8px;
  }

  body.freetime-map-view .addBtn {
    padding: 0 14px !important;
    min-height: var(--ft-control-height) !important;
  }

  body.freetime-map-view #filterBar {
    grid-template-columns: 1fr;
  }

  body.freetime-map-view .listTop {
    gap: 8px;
    padding: 12px;
  }

  body.freetime-map-view .listActions {
    gap: 6px;
  }

  body.freetime-map-view .radiusWrap {
    padding: 10px 14px !important;
  }

  body.freetime-map-view .radiusSlider {
    width: 100%;
  }

  body.freetime-map-view .groupTabRow {
    gap: 6px;
  }

  body.freetime-map-view .listActionBtn,
  body.freetime-map-view .groupTabBtn {
    font-size: 12px;
    padding: 8px 10px;
  }

  body.freetime-map-view .sortBtn {
    font-size: 12px;
    padding: 0 10px;
  }

  body.freetime-map-view .cardImg {
    height: 168px;
  }

  body.freetime-map-view .advDrawer,
  body.freetime-map-view .tripDrawer {
    height: min(78svh, 560px) !important;
    padding: 12px !important;
  }
}

@media (max-width: 1180px) {
  body.freetime-map-view .page {
    padding-bottom: max(88px, calc(72px + env(safe-area-inset-bottom))) !important;
  }

  body.freetime-map-view.is-mobile-list-view .cardsGrid {
    padding-bottom: calc(120px + env(safe-area-inset-bottom)) !important;
  }
}

@media (max-width: 820px) {
  body.freetime-map-view.is-mobile-list-view .cardsGrid {
    padding-bottom: calc(136px + env(safe-area-inset-bottom)) !important;
  }
}
