/* [project]/src/features/map/map.css [app-client] (css) */
@layer components {
  @keyframes map-spin {
    0% {
      transform: rotate(0);
    }

    100% {
      transform: rotate(360deg);
    }
  }

  @keyframes popup-fade {
    from {
      opacity: 0;
      transform: translateY(6px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  :where(html:has([data-page-style="map"])) footer, :where(html:has([data-page-style="map"])) .back-to-top {
    display: none !important;
  }

  :where(html:has([data-page-style="map"])) .map-page {
    background-color: var(--color-bg, #fff);
    width: 100%;
    min-height: calc(100vh - var(--header-height-desktop, 72px));
    flex-direction: column;
    display: flex;
  }

  :where(html:has([data-page-style="map"])) .map-page-header {
    background: #fff;
    flex-shrink: 0;
    padding: 24px 0 16px;
  }

  :where(html:has([data-page-style="map"])) .map-page-header h1 {
    color: var(--color-text-title, #0b2238);
    letter-spacing: -.03em;
    margin: 0;
    font-size: clamp(26px, 2.5vw, 36px);
    font-weight: 800;
    line-height: 1.12;
  }

  :where(html:has([data-page-style="map"])) .map-page-header p {
    max-width: 680px;
    color: var(--color-text-muted, #526177);
    margin: 6px 0 0;
    font-size: 15px;
    line-height: 1.45;
  }

  :where(html:has([data-page-style="map"])) .map-categories {
    flex-shrink: 0;
    padding-bottom: 16px;
  }

  :where(html:has([data-page-style="map"])) .map-categories-label {
    color: var(--color-text-title, #0b2238);
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 600;
  }

  :where(html:has([data-page-style="map"])) .map-categories-list {
    flex-wrap: wrap;
    gap: 8px;
    display: flex;
  }

  :where(html:has([data-page-style="map"])) .map-category-chip {
    border-radius: var(--radius-pill, 9999px);
    border: 1px solid var(--color-border, #e2e8f0);
    color: var(--color-text-main, #1e293b);
    cursor: pointer;
    white-space: nowrap;
    -webkit-user-select: none;
    user-select: none;
    background: #fff;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    font-size: 13px;
    font-weight: 500;
    transition: all .2s;
    display: inline-flex;
  }

  :where(html:has([data-page-style="map"])) .map-category-chip:hover {
    border-color: var(--color-accent, #0077b6);
    color: var(--color-accent, #0077b6);
    background: var(--color-accent-soft, #e0f2fe);
  }

  :where(html:has([data-page-style="map"])) .map-category-chip.selected {
    background: var(--color-accent, #0077b6);
    color: #fff;
    border-color: var(--color-accent, #0077b6);
  }

  :where(html:has([data-page-style="map"])) .map-category-chip .map-cat-icon {
    flex-shrink: 0;
    width: 15px;
    height: 15px;
  }

  :where(html:has([data-page-style="map"])) .map-page-body-container {
    width: 100%;
    max-width: var(--container-max, 1240px);
    flex-direction: column;
    flex: 1;
    min-height: 0;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
  }

  :where(html:has([data-page-style="map"])) .map-page-body {
    border: 1px solid var(--color-border, #e2e8f0);
    border-radius: var(--radius-xl, 16px);
    width: 100%;
    height: clamp(540px, 100vh - 280px, 800px);
    box-shadow: var(--shadow-sm, 0 1px 3px #0b22380d);
    margin-bottom: 24px;
    display: flex;
    position: relative;
    overflow: hidden;
  }

  :where(html:has([data-page-style="map"])) .map-sidebar {
    border-right: 1px solid var(--color-border, #e2e8f0);
    background: #fff;
    flex-direction: column;
    flex-shrink: 0;
    width: 380px;
    height: 100%;
    display: flex;
    overflow: hidden;
  }

  :where(html:has([data-page-style="map"])) .map-sidebar-header {
    border-bottom: 1px solid var(--color-border, #e2e8f0);
    background: #fff;
    flex-shrink: 0;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px 10px;
    display: flex;
  }

  :where(html:has([data-page-style="map"])) .map-sidebar-title {
    color: var(--color-text-title, #0b2238);
    font-size: 14px;
    font-weight: 700;
  }

  :where(html:has([data-page-style="map"])) .map-sidebar-count {
    color: var(--color-text-muted, #526177);
    background: var(--color-bg-alt, #f8fafc);
    border-radius: var(--radius-sm, 6px);
    border: 1px solid var(--color-border, #e2e8f0);
    padding: 2px 8px;
    font-size: 12px;
  }

  :where(html:has([data-page-style="map"])) .map-place-list {
    overscroll-behavior: contain;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
  }

  :where(html:has([data-page-style="map"])) .map-place-list::-webkit-scrollbar {
    width: 5px;
  }

  :where(html:has([data-page-style="map"])) .map-place-list::-webkit-scrollbar-track {
    background: none;
  }

  :where(html:has([data-page-style="map"])) .map-place-list::-webkit-scrollbar-thumb {
    background: var(--color-border, #e2e8f0);
    border-radius: 4px;
  }

  :where(html:has([data-page-style="map"])) .map-place-item {
    border-bottom: 1px solid var(--color-border, #e2e8f0);
    cursor: pointer;
    text-align: left;
    background: none;
    border-top: none;
    border-left: none;
    border-right: none;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px 18px;
    font-family: inherit;
    transition: background .15s;
    display: flex;
  }

  :where(html:has([data-page-style="map"])) .map-place-item:hover {
    background: var(--color-bg-alt, #f8fafc);
  }

  :where(html:has([data-page-style="map"])) .map-place-item.active {
    background: var(--color-accent-soft, #e0f2fe);
    border-left: 3px solid var(--color-accent, #0077b6);
    padding-left: 15px;
  }

  :where(html:has([data-page-style="map"])) .map-place-item-image {
    border-radius: var(--radius-md, 8px);
    background: var(--color-bg-alt, #f8fafc);
    flex-shrink: 0;
    width: 72px;
    height: 54px;
    position: relative;
    overflow: hidden;
  }

  :where(html:has([data-page-style="map"])) .map-place-item-image img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    display: block;
  }

  :where(html:has([data-page-style="map"])) .map-place-item-content {
    flex: 1;
    min-width: 0;
  }

  :where(html:has([data-page-style="map"])) .map-place-item-category {
    color: var(--color-accent, #0077b6);
    text-transform: uppercase;
    letter-spacing: .4px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
  }

  :where(html:has([data-page-style="map"])) .map-place-item-title {
    color: var(--color-text-title, #0b2238);
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-top: 2px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.25;
    overflow: hidden;
  }

  :where(html:has([data-page-style="map"])) .map-place-item-address {
    color: var(--color-text-muted, #526177);
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-top: 2px;
    font-size: 12px;
    overflow: hidden;
  }

  :where(html:has([data-page-style="map"])) .map-place-item-arrow {
    width: 18px;
    height: 18px;
    color: var(--color-text-light, #8292a6);
    flex-shrink: 0;
    transition: color .15s, transform .15s;
  }

  :where(html:has([data-page-style="map"])) .map-place-item:hover .map-place-item-arrow {
    color: var(--color-accent, #0077b6);
    transform: translateX(2px);
  }

  :where(html:has([data-page-style="map"])) .map-area {
    background: #eef2f6;
    flex: 1;
    height: 100%;
    min-height: 0;
    max-height: 100%;
    position: relative;
  }

  :where(html:has([data-page-style="map"])) .map-container, :where(html:has([data-page-style="map"])) .map-canvas {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
  }

  :where(html:has([data-page-style="map"])) .map-loading {
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    z-index: 10;
    background: #f8fafcd9;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 12px;
    display: flex;
    position: absolute;
    inset: 0;
  }

  :where(html:has([data-page-style="map"])) .map-loading-spinner {
    border: 3px solid var(--color-border, #e2e8f0);
    border-top-color: var(--color-accent, #0077b6);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    animation: .8s linear infinite map-spin;
  }

  :where(html:has([data-page-style="map"])) .map-loading-text {
    color: var(--color-text-muted, #526177);
    font-size: 14px;
    font-weight: 500;
  }

  :where(html:has([data-page-style="map"])) .map-error {
    background: var(--color-bg-alt, #f8fafc);
    text-align: center;
    z-index: 10;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 24px;
    display: flex;
    position: absolute;
    inset: 0;
  }

  :where(html:has([data-page-style="map"])) .map-error-icon {
    color: #ef4444;
  }

  :where(html:has([data-page-style="map"])) .map-error-text {
    color: var(--color-text-main, #1e293b);
    font-size: 15px;
    font-weight: 600;
  }

  :where(html:has([data-page-style="map"])) .map-error-subtext {
    color: var(--color-text-muted, #526177);
    max-width: 360px;
    font-size: 13px;
  }

  :where(html:has([data-page-style="map"])) .map-error-retry {
    background: var(--color-accent, #0077b6);
    color: #fff;
    border-radius: var(--radius-md, 8px);
    cursor: pointer;
    border: none;
    margin-top: 4px;
    padding: 9px 20px;
    font-size: 14px;
    font-weight: 600;
    transition: background .2s;
  }

  :where(html:has([data-page-style="map"])) .map-error-retry:hover {
    background: var(--color-accent-hover, #005f92);
  }

  :where(html:has([data-page-style="map"])) .map-custom-marker {
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    transition: transform .2s cubic-bezier(.34, 1.56, .64, 1);
    display: inline-flex;
    position: relative;
    transform: translate(-50%, -100%);
  }

  :where(html:has([data-page-style="map"])) .map-custom-marker:hover {
    transform: translate(-50%, -100%)scale(1.12);
    z-index: 20 !important;
  }

  :where(html:has([data-page-style="map"])) .map-custom-marker.active {
    transform: translate(-50%, -100%)scale(1.18);
    z-index: 30 !important;
  }

  :where(html:has([data-page-style="map"])) .map-custom-pin {
    border: 2.5px solid var(--color-accent, #0077b6);
    background: #fff;
    border-radius: 50% 50% 50% 0;
    justify-content: center;
    align-items: center;
    width: 38px;
    height: 38px;
    transition: all .2s;
    display: flex;
    transform: rotate(-45deg);
    box-shadow: 0 3px 10px #0b22382e;
  }

  :where(html:has([data-page-style="map"])) .map-custom-pin-icon {
    color: var(--color-accent, #0077b6);
    justify-content: center;
    align-items: center;
    display: flex;
    transform: rotate(45deg);
  }

  :where(html:has([data-page-style="map"])) .map-custom-marker.active .map-custom-pin {
    background: var(--color-accent, #0077b6);
    border-color: #fff;
    box-shadow: 0 4px 16px #0077b666;
  }

  :where(html:has([data-page-style="map"])) .map-custom-marker-title {
    background: var(--color-accent, #0077b6);
    color: #fff;
    border-radius: var(--radius-sm, 6px);
    white-space: nowrap;
    box-shadow: var(--shadow-md, 0 4px 14px -2px #0b223826);
    border: 1px solid var(--color-accent, #0077b6);
    pointer-events: none;
    z-index: 40;
    padding: 3px 8px;
    font-size: 11px;
    font-weight: 600;
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 50%;
    transform: translateX(-50%);
  }

  :where(html:has([data-page-style="map"])) .map-custom-marker.active .map-custom-marker-title {
    display: block;
  }

  :where(html:has([data-page-style="map"])) .map-popup {
    z-index: 35;
    border-radius: var(--radius-lg, 12px);
    border: 1px solid var(--color-border, #e2e8f0);
    pointer-events: auto;
    background: #fff;
    width: 280px;
    animation: .2s ease-out popup-fade;
    position: absolute;
    overflow: hidden;
    box-shadow: 0 16px 36px -4px #0b223833, 0 0 0 1px #e2e8f0cc;
  }

  :where(html:has([data-page-style="map"])) .map-popup:before {
    content: "";
    border-left: 1px solid var(--color-border, #e2e8f0);
    border-top: 1px solid var(--color-border, #e2e8f0);
    z-index: 3;
    background: #fff;
    width: 12px;
    height: 12px;
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%)rotate(45deg);
  }

  :where(html:has([data-page-style="map"])) .map-popup-close {
    cursor: pointer;
    z-index: 2;
    width: 28px;
    height: 28px;
    color: var(--color-text-title, #0b2238);
    background: #ffffffeb;
    border: none;
    border-radius: 50%;
    justify-content: center;
    align-items: center;
    transition: background .15s, box-shadow .15s;
    display: flex;
    position: absolute;
    top: 8px;
    right: 8px;
  }

  :where(html:has([data-page-style="map"])) .map-popup-close:hover {
    box-shadow: var(--shadow-sm);
    background: #fff;
  }

  :where(html:has([data-page-style="map"])) .map-popup-image {
    object-fit: cover;
    background: var(--color-bg-alt, #f8fafc);
    width: 100%;
    height: 140px;
    display: block;
  }

  :where(html:has([data-page-style="map"])) .map-popup-body {
    padding: 14px 16px 16px;
  }

  :where(html:has([data-page-style="map"])) .map-popup-title {
    color: var(--color-text-title, #0b2238);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
  }

  :where(html:has([data-page-style="map"])) .map-popup-meta {
    color: var(--color-text-muted, #526177);
    margin-top: 4px;
    font-size: 12px;
    line-height: 1.35;
  }

  :where(html:has([data-page-style="map"])) .map-popup-link {
    background: var(--color-accent, #0077b6);
    color: #fff;
    border-radius: var(--radius-md, 8px);
    justify-content: center;
    align-items: center;
    gap: 6px;
    width: 100%;
    margin-top: 12px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: background .2s;
    display: inline-flex;
  }

  :where(html:has([data-page-style="map"])) .map-popup-link:hover {
    background: var(--color-accent-hover, #005f92);
    color: #fff;
  }

  :where(html:has([data-page-style="map"])) .map-sheet {
    display: none;
  }

  @media (max-width: 1023px) {
    :where(html:has([data-page-style="map"])) .map-page {
      height: calc(100vh - var(--header-height, 64px));
      height: calc(100dvh - var(--header-height, 64px));
      min-height: unset;
      position: relative;
      overflow: hidden;
    }

    :where(html:has([data-page-style="map"])) .map-page-header {
      display: none;
    }

    :where(html:has([data-page-style="map"])) .map-categories {
      z-index: 20;
      -webkit-backdrop-filter: blur(12px);
      backdrop-filter: blur(12px);
      background: #fffffff0;
      border-bottom: 1px solid #e2e8f0cc;
      padding: 10px 16px;
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
    }

    :where(html:has([data-page-style="map"])) .map-categories-label {
      display: none;
    }

    :where(html:has([data-page-style="map"])) .map-categories-list {
      -webkit-overflow-scrolling: touch;
      scrollbar-width: none;
      flex-wrap: nowrap;
      padding-bottom: 2px;
      overflow-x: auto;
    }

    :where(html:has([data-page-style="map"])) .map-categories-list::-webkit-scrollbar {
      display: none;
    }

    :where(html:has([data-page-style="map"])) .map-category-chip {
      flex-shrink: 0;
      padding: 6px 12px;
      font-size: 12px;
      box-shadow: 0 1px 3px #0b22380f;
    }

    :where(html:has([data-page-style="map"])) .map-page-body-container {
      max-width: none;
      height: 100%;
      margin: 0;
      padding: 0;
      position: absolute;
      inset: 0;
    }

    :where(html:has([data-page-style="map"])) .map-page-body {
      height: 100%;
      max-height: none;
      min-height: none;
      border: none;
      border-radius: 0;
      margin: 0;
      position: absolute;
      inset: 0;
    }

    :where(html:has([data-page-style="map"])) .map-sidebar, :where(html:has([data-page-style="map"])) .map-popup {
      display: none;
    }

    :where(html:has([data-page-style="map"])) .map-sheet {
      z-index: 30;
      padding-bottom: env(safe-area-inset-bottom, 0px);
      background: #fff;
      border-radius: 20px 20px 0 0;
      flex-direction: column;
      max-height: 80vh;
      transition: transform .3s cubic-bezier(.32, .72, 0, 1);
      display: flex;
      position: fixed;
      bottom: 0;
      left: 0;
      right: 0;
      overflow: hidden;
      box-shadow: 0 -4px 24px #0b223824;
    }

    :where(html:has([data-page-style="map"])) .map-sheet--collapsed {
      transform: translateY(calc(100% - 64px - env(safe-area-inset-bottom, 0px)));
    }

    :where(html:has([data-page-style="map"])) .map-sheet--list {
      height: 52vh;
      transform: translateY(0);
    }

    :where(html:has([data-page-style="map"])) .map-sheet--detail {
      height: auto;
      max-height: 82vh;
      transform: translateY(0);
    }

    :where(html:has([data-page-style="map"])) .map-sheet-grabber {
      cursor: grab;
      touch-action: none;
      flex-shrink: 0;
      justify-content: center;
      padding: 10px 0 6px;
      display: flex;
    }

    :where(html:has([data-page-style="map"])) .map-sheet-grabber-line {
      background: #cbd5e1;
      border-radius: 2px;
      width: 36px;
      height: 4px;
    }

    :where(html:has([data-page-style="map"])) .map-sheet-header {
      flex-shrink: 0;
      justify-content: space-between;
      align-items: center;
      padding: 0 18px 10px;
      display: flex;
    }

    :where(html:has([data-page-style="map"])) .map-sheet-title {
      color: var(--color-text-title, #0b2238);
      font-size: 16px;
      font-weight: 700;
    }

    :where(html:has([data-page-style="map"])) .map-sheet-toggle-btn {
      color: var(--color-accent, #0077b6);
      cursor: pointer;
      background: none;
      border: none;
      padding: 4px 6px;
      font-size: 13px;
      font-weight: 600;
    }

    :where(html:has([data-page-style="map"])) .map-sheet-close-btn {
      background: var(--color-bg-alt, #f8fafc);
      border: 1px solid var(--color-border, #e2e8f0);
      cursor: pointer;
      width: 30px;
      height: 30px;
      color: var(--color-text-title, #0b2238);
      border-radius: 50%;
      justify-content: center;
      align-items: center;
      display: flex;
    }

    :where(html:has([data-page-style="map"])) .map-sheet-content {
      overscroll-behavior: contain;
      touch-action: pan-y;
      flex: 1;
      padding: 0 16px 16px;
      overflow-y: auto;
    }

    :where(html:has([data-page-style="map"])) .map-sheet-content::-webkit-scrollbar {
      width: 4px;
    }

    :where(html:has([data-page-style="map"])) .map-sheet-content::-webkit-scrollbar-thumb {
      background: var(--color-border, #e2e8f0);
    }

    :where(html:has([data-page-style="map"])) .map-sheet-detail-image {
      border-radius: var(--radius-md, 8px);
      object-fit: cover;
      background: var(--color-bg-alt, #f8fafc);
      width: 100%;
      height: 180px;
      margin-bottom: 12px;
      display: block;
    }

    :where(html:has([data-page-style="map"])) .map-sheet-detail-title {
      color: var(--color-text-title, #0b2238);
      font-size: 18px;
      font-weight: 700;
      line-height: 1.25;
    }

    :where(html:has([data-page-style="map"])) .map-sheet-detail-meta {
      color: var(--color-text-muted, #526177);
      margin-top: 4px;
      font-size: 13px;
      line-height: 1.4;
    }

    :where(html:has([data-page-style="map"])) .map-sheet-detail-desc {
      color: var(--color-text-main, #1e293b);
      margin-top: 10px;
      font-size: 14px;
      line-height: 1.5;
    }

    :where(html:has([data-page-style="map"])) .map-sheet-actions {
      flex-direction: column;
      gap: 8px;
      margin-top: 14px;
      display: flex;
    }

    :where(html:has([data-page-style="map"])) .map-sheet-route-btn {
      background: var(--color-accent, #0077b6);
      color: #fff;
      border-radius: var(--radius-md, 8px);
      justify-content: center;
      align-items: center;
      gap: 8px;
      padding: 12px 16px;
      font-size: 14px;
      font-weight: 600;
      text-decoration: none;
      transition: background .2s;
      display: flex;
    }

    :where(html:has([data-page-style="map"])) .map-sheet-route-btn:hover {
      background: var(--color-accent-hover, #005f92);
      color: #fff;
    }

    :where(html:has([data-page-style="map"])) .map-sheet-detail-link {
      color: var(--color-accent, #0077b6);
      border: 1px solid var(--color-border, #e2e8f0);
      border-radius: var(--radius-md, 8px);
      background: #fff;
      justify-content: center;
      align-items: center;
      gap: 6px;
      padding: 10px 16px;
      font-size: 14px;
      font-weight: 600;
      text-decoration: none;
      transition: border-color .2s;
      display: flex;
    }

    :where(html:has([data-page-style="map"])) .map-sheet-detail-link:hover {
      border-color: var(--color-accent, #0077b6);
    }

    :where(html:has([data-page-style="map"])) .map-sheet-gallery {
      scrollbar-width: none;
      gap: 8px;
      padding-top: 12px;
      display: flex;
      overflow-x: auto;
    }

    :where(html:has([data-page-style="map"])) .map-sheet-gallery::-webkit-scrollbar {
      display: none;
    }

    :where(html:has([data-page-style="map"])) .map-sheet-gallery-item {
      border-radius: var(--radius-sm, 6px);
      flex-shrink: 0;
      width: 90px;
      height: 65px;
      overflow: hidden;
    }

    :where(html:has([data-page-style="map"])) .map-sheet-gallery-item img {
      object-fit: cover;
      width: 100%;
      height: 100%;
      display: block;
    }
  }
}

/*# sourceMappingURL=src_features_map_map_0be5ilg.css.map*/