/* Phase 3: Map, Cards, District Panel, Search, Detail Views & Responsive Components */

.main-view {
  min-height: 75vh;
}

.page-shell {
  padding-top: calc(var(--nav-height) + 1.5rem);
  padding-bottom: 4rem;
}

/* Search Bar & Autocomplete */
.search-bar-wrap {
  position: relative;
  width: 100%;
  max-width: 580px;
}

.search-input-group {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  background: #101d18;
  border: 1px solid rgba(169, 189, 178, 0.28);
  border-radius: var(--radius-pill);
  padding: 0.42rem 0.65rem 0.42rem 1rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.search-input-group:focus-within {
  border-color: var(--accent-emerald-bright);
  box-shadow: 0 0 0 3px rgba(63, 168, 123, 0.16);
}

.search-input-group input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 0.9rem;
  outline: none;
}

.search-input-group input::placeholder {
  color: #8ba398;
}

.search-suggestions {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 980;
  background: #101b17;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-elevated);
  overflow: hidden;
}

.suggestion-item {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 1rem;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-primary);
  text-align: left;
  cursor: pointer;
}

.suggestion-item:hover {
  background: rgba(63, 168, 123, 0.14);
}

/* Floating Events Banner above Map */
.events-floating-banner {
  background: linear-gradient(90deg, rgba(212, 163, 89, 0.18), rgba(46, 125, 91, 0.18));
  border: 1px solid rgba(212, 163, 89, 0.32);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.25rem;
  margin-bottom: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
}

/* Interactive Map Stage */
.district-pill-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.9rem;
}

.district-pill {
  background: rgba(18, 32, 27, 0.78);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  border-radius: var(--radius-pill);
  padding: 0.38rem 0.85rem;
  font-size: 0.82rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.district-pill:hover,
.district-pill.is-active {
  background: rgba(46, 125, 91, 0.28);
  border-color: var(--accent-emerald-bright);
  color: var(--text-primary);
}

.map-workspace {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-strong);
  overflow: hidden;
  background: #0a100f;
  box-shadow: var(--shadow-elevated);
}

.map-toolbar-dock {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 0.9rem;
  background: linear-gradient(180deg, rgba(16, 29, 24, 0.98) 0%, rgba(12, 21, 18, 0.96) 100%);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
  z-index: 35;
}

.map-toolbar-left,
.map-toolbar-right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

@media (min-width: 1120px) {
  .map-toolbar-left {
    flex-wrap: nowrap;
  }
}

.map-stage {
  position: relative;
  height: 600px;
}

.map-canvas {
  width: 100%;
  height: 100%;
}

.map-control-group {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  background: rgba(10, 15, 14, 0.75);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 0.28rem;
}

.map-ctrl-btn,
.map-ctrl-select {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid transparent;
  color: var(--text-primary);
  border-radius: 7px;
  padding: 0.38rem 0.68rem;
  font-size: 0.78rem;
  font-weight: 500;
  cursor: pointer;
  transition: background var(--transition-fast), border-color var(--transition-fast);
}

.map-ctrl-select {
  background: #101d18;
  border-color: rgba(169, 189, 178, 0.25);
  padding: 0.42rem 0.75rem;
}

.map-ctrl-btn:hover,
.map-ctrl-btn.is-active {
  background: rgba(63, 168, 123, 0.26);
  border-color: var(--accent-emerald-bright);
  color: #fff;
}

.map-status-toast {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 20;
  background: rgba(10, 15, 14, 0.84);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 0.34rem 0.82rem;
  font-size: 0.74rem;
  color: var(--text-secondary);
  max-width: min(440px, calc(100% - 420px));
  pointer-events: none;
}

/* Google Maps-style Bottom Photo Carousel Dock */
.map-photo-strip-wrap {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 25;
  background: rgba(10, 17, 14, 0.86);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 0.5rem 0.65rem 0.6rem;
  box-shadow: var(--shadow-elevated);
  transition: right var(--transition-fast), transform var(--transition-fast);
}

.map-workspace.has-info-panel .map-photo-strip-wrap {
  right: 414px;
}

.map-photo-strip-wrap.is-collapsed {
  right: auto;
  width: auto;
  padding-bottom: 0.5rem;
}

.map-photo-strip-wrap.is-collapsed .map-photo-strip,
.map-photo-strip-wrap.is-collapsed #map-photo-prev,
.map-photo-strip-wrap.is-collapsed #map-photo-next {
  display: none;
}

.map-photo-strip-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.45rem;
}

.map-photo-strip-wrap.is-collapsed .map-photo-strip-bar {
  margin-bottom: 0;
}

.map-photo-strip-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}

.map-photo-strip-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.map-photo-strip-actions {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  flex-shrink: 0;
}

.map-photo-strip {
  display: flex;
  gap: 0.55rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 0.15rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(63, 168, 123, 0.45) transparent;
}

.map-photo-strip::-webkit-scrollbar {
  height: 5px;
}

.map-photo-strip::-webkit-scrollbar-thumb {
  background: rgba(63, 168, 123, 0.45);
  border-radius: 999px;
}

.map-photo-card {
  position: relative;
  flex: 0 0 144px;
  height: 92px;
  border-radius: 9px;
  overflow: hidden;
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  background: #0d1d16;
  cursor: pointer;
  padding: 0;
  text-align: left;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.map-photo-card:hover,
.map-photo-card.is-selected {
  transform: translateY(-2px);
  border-color: var(--accent-gold);
}

.map-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.map-photo-card-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 0.35rem 0.48rem;
  background: linear-gradient(transparent, rgba(5, 10, 8, 0.92));
  color: #f3f7f5;
}

.map-photo-card-name {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.map-photo-card-sub {
  display: block;
  font-size: 0.64rem;
  color: rgba(212, 226, 219, 0.85);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Map Lightbox Modal */
.map-photo-lightbox {
  position: absolute;
  inset: 0;
  z-index: 45;
  background: rgba(5, 9, 8, 0.92);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

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

.map-lightbox-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
}

.map-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(16, 29, 24, 0.85);
  border: 1px solid var(--border-strong);
  color: #fff;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.map-lightbox-nav.is-prev {
  left: 14px;
}

.map-lightbox-nav.is-next {
  right: 14px;
}

.map-lightbox-figure {
  margin: 0;
  max-width: min(820px, 85%);
  max-height: 90%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.map-lightbox-figure img {
  max-width: 100%;
  max-height: 440px;
  border-radius: var(--radius-md);
  object-fit: contain;
  border: 1px solid var(--border-strong);
}

.map-lightbox-figure figcaption {
  font-size: 0.82rem;
  color: var(--text-secondary);
  text-align: center;
}

.panel-gallery-strip {
  display: flex;
  gap: 0.45rem;
  overflow-x: auto;
  margin-top: 0.45rem;
  padding-bottom: 0.2rem;
}

.panel-gallery-thumb {
  flex: 0 0 68px;
  height: 48px;
  border-radius: 6px;
  overflow: hidden;
  border: 1.5px solid var(--border-subtle);
  padding: 0;
  background: #102019;
  cursor: pointer;
}

.panel-gallery-thumb.is-active {
  border-color: var(--accent-gold);
}

.panel-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Right-side District / Marker Info Panel (Desktop) -> Bottom Sheet (Mobile) */
.map-info-panel {
  position: absolute;
  top: 12px;
  right: 12px;
  bottom: 12px;
  width: min(390px, calc(100% - 24px));
  z-index: 30;
  background: rgba(12, 20, 17, 0.95);
  backdrop-filter: blur(18px);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 1.15rem;
  overflow-y: auto;
  display: none;
  box-shadow: var(--shadow-elevated);
}

.map-info-panel.is-open {
  display: block;
}

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.panel-list {
  display: grid;
  gap: 0.55rem;
  margin: 0.65rem 0 1rem;
}

.panel-list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.65rem;
  padding: 0.6rem 0.75rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  font-size: 0.84rem;
}

.panel-list-item:hover {
  border-color: var(--accent-emerald-bright);
}

/* Destination & Gem Cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(275px, 1fr));
  gap: 1.25rem;
}

.dest-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.dest-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
}

.dest-card-media {
  height: 175px;
  position: relative;
  background:
    radial-gradient(circle at 80% 25%, rgba(212, 163, 89, 0.2), transparent 50%),
    radial-gradient(circle at 20% 70%, rgba(63, 168, 123, 0.28), transparent 55%),
    linear-gradient(145deg, #0d2119 0%, #173428 52%, #0c1713 100%);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: flex-end;
  padding: 0.85rem;
}

.dest-card-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dest-card-body {
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.55rem;
}

.dest-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  font-size: 0.76rem;
  color: var(--text-secondary);
}

.dest-card-title {
  margin: 0;
  font-size: 1.12rem;
  font-weight: 600;
}

.dest-card-desc {
  margin: 0;
  font-size: 0.87rem;
  color: var(--text-secondary);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.dest-card-footer {
  margin-top: auto;
  padding-top: 0.65rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.verification-pill {
  font-size: 0.72rem;
  padding: 0.18rem 0.55rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
}

.verification-pill.is-verified,
.verification-pill.is-official {
  color: var(--accent-emerald-bright);
  border-color: rgba(63, 168, 123, 0.35);
  background: rgba(63, 168, 123, 0.12);
}

.verification-pill.is-needs_verification {
  color: var(--accent-gold);
  border-color: rgba(212, 163, 89, 0.35);
  background: rgba(212, 163, 89, 0.12);
}

/* Detail Page Layout */
.detail-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

.detail-kv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 0.9rem;
}

.kv-box {
  padding: 0.85rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
}

.kv-label {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.kv-value {
  font-size: 0.9rem;
  color: var(--text-primary);
}

.radius-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.9rem;
}

/* Footer Grid */
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
  margin: 0.6rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}

.footer-links a {
  color: var(--text-secondary);
}

.footer-links a:hover {
  color: var(--text-primary);
}

.empty-state {
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border: 1px dashed var(--border-subtle);
  color: var(--text-secondary);
  background: rgba(18, 32, 27, 0.45);
}

/* Authority & Destination Photography Containers */
.panel-cover-banner {
  position: relative;
  height: 156px;
  margin: -0.25rem 0 0.9rem;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: linear-gradient(145deg, #0d2119 0%, #173428 100%);
}

.panel-cover-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.panel-cover-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.45rem 0.65rem;
  font-size: 0.72rem;
  color: #eef4f1;
  background: linear-gradient(transparent, rgba(7, 13, 10, 0.88));
}

.panel-thumb {
  width: 46px;
  height: 46px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--border-subtle);
  background: #102019;
}

.detail-hero-showcase {
  margin-bottom: 1.35rem;
}

.detail-hero-banner {
  position: relative;
  height: clamp(270px, 38vw, 430px);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 0.65rem;
  border: 1px solid var(--border-strong);
  background: linear-gradient(145deg, #0d2119 0%, #173428 100%);
}

.detail-hero-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  display: block;
  cursor: zoom-in;
}

.detail-hero-toolbar {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 4;
  display: flex;
  gap: 0.45rem;
  align-items: center;
}

.detail-hero-nav {
  position: absolute;
  top: auto;
  bottom: 52px;
  z-index: 4;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: rgba(10, 17, 14, 0.82);
  color: #fff;
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
}

.detail-hero-nav:hover {
  background: rgba(63, 168, 123, 0.45);
}

.detail-hero-nav.is-prev {
  left: 12px;
}

.detail-hero-nav.is-next {
  right: 12px;
}

.detail-hero-filmstrip {
  display: flex;
  gap: 0.55rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(63, 168, 123, 0.45) transparent;
}

.detail-filmstrip-thumb {
  position: relative;
  flex: 0 0 132px;
  height: 82px;
  border-radius: 9px;
  overflow: hidden;
  border: 2px solid var(--border-subtle);
  background: #0d1d16;
  padding: 0;
  cursor: pointer;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.detail-filmstrip-thumb:hover,
.detail-filmstrip-thumb.is-active {
  transform: translateY(-2px);
  border-color: var(--accent-gold);
}

.detail-filmstrip-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.detail-photo-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(5, 9, 8, 0.94);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.detail-photo-lightbox[hidden] {
  display: none;
}

.authority-gallery-card {
  cursor: zoom-in;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.authority-gallery-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent-gold);
}

.authority-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.85rem;
  margin-top: 0.75rem;
}

.authority-gallery-card {
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: rgba(15, 28, 22, 0.72);
}

.authority-gallery-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
}

.authority-gallery-card figcaption {
  padding: 0.55rem 0.7rem;
  font-size: 0.78rem;
  color: var(--text-secondary);
}

@media (max-width: 960px) {
  .detail-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .map-stage {
    height: 490px;
  }
  .map-toolbar-dock {
    padding: 0.6rem;
  }
  /* Mobile bottom sheet for district & marker panels */
  .map-info-panel {
    top: auto;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-height: 62%;
    border-radius: 18px 18px 0 0;
  }
  .map-workspace.has-info-panel .map-photo-strip-wrap {
    right: 12px;
  }
  .map-photo-card {
    flex: 0 0 124px;
    height: 82px;
  }
  .map-status-toast {
    max-width: calc(100% - 24px);
  }
}

/* =========================================
   NORTH BENGAL EXPLORE — MAP UI REDESIGN
   Google Maps inspired | Existing map logic preserved
========================================= */

.map-workspace {
  border: 1px solid rgba(63, 168, 123, 0.28);
  border-radius: 18px;
  background: #0b1210;
  box-shadow:
    0 18px 55px rgba(0, 0, 0, 0.38),
    0 0 0 1px rgba(255, 255, 255, 0.025);
}

.map-toolbar-dock {
  padding: 0.85rem 1rem;
  background: rgba(12, 23, 19, 0.97);
  border-bottom: 1px solid rgba(169, 189, 178, 0.16);
}

.map-toolbar-left,
.map-toolbar-right {
  gap: 0.6rem;
}

.map-stage {
  height: 680px;
  background: #dce5df;
}

.map-canvas {
  width: 100%;
  height: 100%;
}

.map-control-group {
  gap: 0.35rem;
  padding: 0.32rem;
  border-radius: 12px;
  background: rgba(10, 18, 15, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(12px);
}

.map-ctrl-btn,
.map-ctrl-select {
  min-height: 36px;
  border-radius: 9px;
  padding: 0.48rem 0.78rem;
  font-size: 0.8rem;
  transition: all 180ms ease;
}

.map-ctrl-btn:hover,
.map-ctrl-btn.is-active {
  background: rgba(63, 168, 123, 0.28);
  border-color: var(--accent-emerald-bright);
  box-shadow: 0 0 12px rgba(63, 168, 123, 0.12);
}

.district-pill {
  padding: 0.48rem 0.95rem;
  font-weight: 600;
  background: #12201b;
  border-color: rgba(169, 189, 178, 0.2);
}

.district-pill:hover,
.district-pill.is-active {
  background: rgba(46, 125, 91, 0.35);
  box-shadow: 0 3px 12px rgba(46, 125, 91, 0.15);
}

.map-status-toast {
  background: rgba(10, 18, 15, 0.9);
  border-color: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(14px);
  padding: 0.5rem 0.9rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.map-photo-strip-wrap {
  background: rgba(10, 18, 15, 0.91);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 15px;
  padding: 0.7rem;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(18px);
}

.map-photo-card {
  flex-basis: 158px;
  height: 100px;
  border-radius: 11px;
  border-color: rgba(255, 255, 255, 0.15);
}

.map-photo-card:hover,
.map-photo-card.is-selected {
  transform: translateY(-3px);
  border-color: var(--accent-gold);
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.3);
}

.map-photo-card-overlay {
  padding: 0.55rem;
  background: linear-gradient(
    transparent,
    rgba(5, 10, 8, 0.94)
  );
}

.map-photo-card-name {
  font-size: 0.75rem;
}

.map-info-panel {
  width: min(400px, calc(100% - 24px));
  background: rgba(12, 21, 17, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(20px);
}

.panel-list-item {
  border-radius: 10px;
  padding: 0.75rem;
  transition: border-color 180ms ease, background 180ms ease;
}

.panel-list-item:hover {
  background: rgba(63, 168, 123, 0.1);
}

@media (min-width: 1200px) {
  .map-stage {
    height: 720px;
  }
}

@media (max-width: 768px) {
  .map-workspace {
    border-radius: 13px;
  }

  .map-toolbar-dock {
    padding: 0.65rem;
  }

  .map-stage {
    height: 570px;
  }

  .map-control-group {
    max-width: 100%;
  }

  .map-ctrl-btn,
  .map-ctrl-select {
    min-height: 38px;
    padding: 0.45rem 0.65rem;
  }

  .map-photo-strip-wrap {
    left: 8px;
    right: 8px;
    bottom: 8px;
    padding: 0.55rem;
  }

  .map-photo-card {
    flex-basis: 132px;
    height: 88px;
  }

  .map-info-panel {
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-height: 62%;
    border-radius: 18px 18px 0 0;
  }
}

@media (max-width: 420px) {
  .map-stage {
    height: 520px;
  }

  .map-photo-card {
    flex-basis: 116px;
    height: 80px;
  }
}
