/* ==========================================================================
   AION 2 INTERACTIVE MAP (QUESTLOG.GG STYLE)
   High-Performance Pan & Zoom, Region Selector, Filterable Markers & Progress
   ========================================================================== */

/* Full Width Map Tab Overrides - remove empty margins and borders */
#tab-map {
  width: 100%;
  padding: 0 !important;
  margin: 0 !important;
}

/* When viewing the map, allow container to span the entire screen width */
.container:has(#tab-map.active),
main.container:has(#tab-map.active),
main.container.map-mode {
  max-width: 100% !important;
  padding: 0.5rem 1rem 1rem 1rem !important;
  margin: 0 !important;
  width: 100% !important;
}

.map-page-container {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
}

/* --- Top Bar: Region Selector & Quick Search --- */
.map-topbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: rgba(9, 13, 21, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 0.85rem 1.25rem;
}

.map-region-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.map-region-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  padding: 0.45rem 0.9rem;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.map-region-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #f8fafc;
  border-color: rgba(255, 255, 255, 0.2);
}

.map-region-btn.active {
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  border-color: #38bdf8;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.25);
}

.map-region-btn.faction-elyos.active {
  background: rgba(217, 119, 6, 0.15);
  color: #fbbf24;
  border-color: #f59e0b;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.25);
}

.map-region-btn.faction-asmodian.active {
  background: rgba(225, 29, 72, 0.15);
  color: #fb7185;
  border-color: #f43f5e;
  box-shadow: 0 0 12px rgba(244, 63, 94, 0.25);
}

.map-region-btn.faction-contested.active {
  background: rgba(168, 85, 247, 0.15);
  color: #c084fc;
  border-color: #a855f7;
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.25);
}

.map-region-tag {
  font-size: 0.68rem;
  text-transform: uppercase;
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.35);
  font-weight: 700;
}

.map-topbar-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-grow: 1;
  max-width: 420px;
  justify-content: flex-end;
}

.map-search-box {
  position: relative;
  width: 100%;
}

.map-search-input {
  width: 100%;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 0.45rem 0.85rem 0.45rem 2.2rem;
  color: #e2e8f0;
  font-size: 0.82rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}

.map-search-input:focus {
  border-color: #38bdf8;
  box-shadow: 0 0 8px rgba(56, 189, 248, 0.2);
}

.map-search-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  color: #64748b;
}

/* --- Main Layout: Sidebar & Viewport --- */
.map-workspace {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 0.75rem;
  min-height: 750px;
  height: calc(100vh - 170px);
  position: relative;
  transition: grid-template-columns 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
}

.map-workspace.sidebar-collapsed {
  grid-template-columns: 0px 1fr;
  gap: 0;
}

@media (max-width: 1024px) {
  .map-workspace {
    grid-template-columns: 1fr;
    height: auto;
  }
  .map-workspace.sidebar-collapsed {
    grid-template-columns: 1fr;
  }
}

/* --- Left Sidebar (Filters, Progress & Marker List) --- */
.map-sidebar {
  background: #090d15;
  border: 1px solid #182232;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: opacity 0.25s ease, transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.25s;
  width: 320px;
}

.map-workspace.sidebar-collapsed .map-sidebar {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-15px);
  width: 0;
  border: none;
  padding: 0;
}

/* Floating button to open sidebar when collapsed */
.map-sidebar-open-btn {
  display: none;
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 30;
  align-items: center;
  gap: 0.5rem;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(56, 189, 248, 0.5);
  color: #38bdf8;
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6), 0 0 12px rgba(56, 189, 248, 0.25);
  transition: all 0.2s ease;
}

.map-sidebar-open-btn.visible {
  display: flex;
}

.map-sidebar-open-btn:hover {
  background: rgba(30, 41, 59, 0.98);
  border-color: #38bdf8;
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.7), 0 0 16px rgba(56, 189, 248, 0.4);
}

.map-sidebar-close-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  border-radius: 6px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s;
  padding: 0;
}

.map-sidebar-close-btn:hover {
  background: rgba(239, 68, 68, 0.15);
  border-color: #ef4444;
  color: #ef4444;
}

.map-sidebar-header {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #182232;
  background: rgba(15, 23, 42, 0.4);
}

.map-progress-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.map-progress-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  font-weight: 600;
  color: #e2e8f0;
}

.map-progress-pct {
  color: #38bdf8;
  font-weight: 700;
}

.map-progress-bar-bg {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  overflow: hidden;
}

.map-progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #0284c7, #38bdf8);
  border-radius: 4px;
  transition: width 0.3s ease;
}

.map-sidebar-content {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.map-filter-group-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.map-filter-btn-toggle {
  background: none;
  border: none;
  color: #38bdf8;
  font-size: 0.72rem;
  cursor: pointer;
  padding: 0;
}

.map-filter-btn-toggle:hover {
  text-decoration: underline;
}

/* QuestLog Accordion Filter System */
.map-accordion-group {
  margin-bottom: 0.65rem;
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.2s ease;
}

.map-accordion-group:hover {
  border-color: rgba(255, 255, 255, 0.14);
}

.map-accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.65rem;
  background: rgba(255, 255, 255, 0.025);
  cursor: pointer;
  user-select: none;
  transition: background 0.15s ease;
}

.map-accordion-header:hover {
  background: rgba(255, 255, 255, 0.06);
}

.map-accordion-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: #f1f5f9;
}

.map-accordion-chevron {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
  color: #94a3b8;
  flex-shrink: 0;
}

.map-accordion-chevron.collapsed {
  transform: rotate(-90deg);
}

.map-accordion-color-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.map-accordion-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.map-accordion-badge {
  font-size: 0.68rem;
  padding: 0.08rem 0.4rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.map-accordion-toggle-btn {
  background: none;
  border: none;
  color: #38bdf8;
  font-size: 0.7rem;
  cursor: pointer;
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  transition: all 0.15s ease;
}

.map-accordion-toggle-btn:hover {
  background: rgba(56, 189, 248, 0.15);
  text-decoration: underline;
}

.map-accordion-body {
  padding: 0.45rem 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.map-accordion-body.collapsed {
  display: none;
}

.map-category-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.map-category-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.45rem 0.65rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}

.map-category-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

.map-category-item.active {
  background: rgba(56, 189, 248, 0.08);
  border-color: rgba(56, 189, 248, 0.3);
}

.map-cat-left {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.8rem;
  color: #cbd5e1;
  font-weight: 500;
}

.map-cat-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  border-radius: 4px;
}

.map-cat-count {
  font-size: 0.72rem;
  background: rgba(255, 255, 255, 0.08);
  color: #94a3b8;
  padding: 0.1rem 0.4rem;
  border-radius: 10px;
  font-weight: 600;
}

.map-category-item.active .map-cat-count {
  background: rgba(56, 189, 248, 0.2);
  color: #38bdf8;
}

/* Markers List in Sidebar */
.map-markers-sidebar-list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  max-height: 260px;
  overflow-y: auto;
}

.map-marker-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.4rem 0.6rem;
  border-radius: 6px;
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 0.78rem;
  color: #94a3b8;
  cursor: pointer;
  transition: all 0.15s;
}

.map-marker-row:hover {
  background: rgba(56, 189, 248, 0.1);
  color: #f8fafc;
  border-color: rgba(56, 189, 248, 0.25);
}

.map-marker-row.is-collected {
  opacity: 0.5;
  text-decoration: line-through;
}

/* --- Map Viewport & Stage --- */
.map-viewport {
  position: relative;
  background: #06090e;
  border: 1px solid #182232;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: grab;
  user-select: none;
}

.map-viewport:active {
  cursor: grabbing;
}

.map-viewport::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(56, 189, 248, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 189, 248, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 1;
}

.map-stage {
  position: absolute;
  transform-origin: center center;
  transition: transform 0.05s linear;
  will-change: transform;
}

.map-backdrop-img {
  display: block;
  max-width: none;
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.12);
  pointer-events: none;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: high-quality;
  backface-visibility: hidden;
  transform: translateZ(0);
}

/* Marker Pins */
.map-pin {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.9);
  border: 2px solid #38bdf8;
  cursor: pointer;
  z-index: 10;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6), 0 0 10px rgba(56, 189, 248, 0.4);
}

.map-pin:hover {
  transform: translate(-50%, -50%) scale(1.3);
  z-index: 30;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.8), 0 0 16px rgba(56, 189, 248, 0.8);
}

.map-pin.is-active {
  transform: translate(-50%, -50%) scale(1.35);
  border-color: #f59e0b;
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.8);
  z-index: 40;
}

.map-pin.is-collected {
  opacity: 0.55;
  border-color: #10b981;
  box-shadow: none;
}

.map-pin-img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  pointer-events: none;
}

/* Category specific pin border colors */
.map-pin.cat-feather { border-color: #38bdf8; box-shadow: 0 0 10px rgba(56, 189, 248, 0.6); }
.map-pin.cat-cube { border-color: #f59e0b; box-shadow: 0 0 10px rgba(245, 158, 11, 0.65); }
.map-pin.cat-ore { border-color: #f59e0b; box-shadow: 0 0 10px rgba(217, 119, 6, 0.65); }
.map-pin.cat-gem { border-color: #06b6d4; box-shadow: 0 0 10px rgba(6, 182, 212, 0.7); }
.map-pin.cat-herb { border-color: #10b981; box-shadow: 0 0 10px rgba(16, 185, 129, 0.65); }
.map-pin.cat-wood { border-color: #b45309; box-shadow: 0 0 10px rgba(180, 83, 9, 0.65); }
.map-pin.cat-crops { border-color: #84cc16; box-shadow: 0 0 10px rgba(132, 204, 22, 0.65); }
.map-pin.cat-od { border-color: #a78bfa; box-shadow: 0 0 10px rgba(167, 139, 250, 0.65); }
.map-pin.cat-boss { border-color: #ef4444; box-shadow: 0 0 10px rgba(239, 68, 68, 0.6); }
.map-pin.cat-dungeon { border-color: #c084fc; box-shadow: 0 0 10px rgba(192, 132, 252, 0.6); }
.map-pin.cat-rift { border-color: #06b6d4; box-shadow: 0 0 10px rgba(6, 182, 212, 0.6); }
.map-pin.cat-stronghold { border-color: #fbbf24; box-shadow: 0 0 10px rgba(251, 191, 36, 0.6); }
.map-pin.cat-shugo { border-color: #fb923c; box-shadow: 0 0 10px rgba(251, 146, 60, 0.6); }
.map-pin.cat-teleport { border-color: #38bdf8; box-shadow: 0 0 12px rgba(56, 189, 248, 0.8); background: radial-gradient(circle, rgba(56, 189, 248, 0.3) 0%, rgba(15, 23, 42, 0.95) 100%); }
.map-pin.cat-material { border-color: #10b981; box-shadow: 0 0 10px rgba(16, 185, 129, 0.65); }

/* --- HUD Overlays --- */
.map-hud-topleft {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 20;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  background: rgba(9, 13, 21, 0.85);
  backdrop-filter: blur(8px);
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  pointer-events: none;
}

.map-hud-region-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: #f8fafc;
}

.map-hud-region-level {
  font-size: 0.72rem;
  color: #38bdf8;
  font-weight: 600;
}

.map-hud-coords {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  z-index: 20;
  background: rgba(9, 13, 21, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.35rem 0.65rem;
  border-radius: 6px;
  font-family: monospace;
  font-size: 0.75rem;
  color: #94a3b8;
  pointer-events: none;
}

.map-hud-controls {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  z-index: 20;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.map-ctrl-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.15s;
}

.map-ctrl-btn:hover {
  background: #1e293b;
  color: #38bdf8;
  border-color: #38bdf8;
  transform: translateY(-1px);
}

/* --- Marker Detail Drawer / Modal --- */
.map-detail-card {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 340px;
  max-width: calc(100% - 2rem);
  background: rgba(13, 18, 28, 0.95);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 12px;
  padding: 1.25rem;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.8), 0 0 20px rgba(56, 189, 248, 0.15);
  z-index: 30;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  animation: mapCardSlide 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes mapCardSlide {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}

.map-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
}

.map-card-title-box {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.map-card-category-badge {
  font-size: 0.68rem;
  text-transform: uppercase;
  color: #38bdf8;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.map-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
  line-height: 1.3;
}

.map-card-close-btn {
  background: none;
  border: none;
  color: #64748b;
  font-size: 1.2rem;
  cursor: pointer;
  line-height: 1;
  padding: 0.2rem;
}

.map-card-close-btn:hover {
  color: #e2e8f0;
}

.map-card-meta {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.map-card-pill {
  font-size: 0.72rem;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  color: #94a3b8;
  font-weight: 500;
}

.map-card-pill.level {
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  font-weight: 600;
}

.map-card-desc {
  font-size: 0.82rem;
  color: #cbd5e1;
  line-height: 1.5;
  background: rgba(0, 0, 0, 0.25);
  padding: 0.65rem 0.85rem;
  border-radius: 6px;
  border-left: 3px solid #38bdf8;
}

.map-card-drops-title {
  font-size: 0.72rem;
  text-transform: uppercase;
  color: #94a3b8;
  font-weight: 700;
  margin-top: 0.2rem;
}

.map-card-drops-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.map-card-drop-item {
  font-size: 0.75rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  color: #fbbf24;
}

.map-card-collect-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #f8fafc;
  padding: 0.6rem;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
  margin-top: 0.5rem;
}

.map-card-collect-btn:hover {
  background: rgba(16, 185, 129, 0.15);
  border-color: #10b981;
  color: #10b981;
}

.map-card-collect-btn.is-collected {
  background: rgba(16, 185, 129, 0.2);
  border-color: #10b981;
  color: #34d399;
}

/* Material Filter Grid & Specific Badges */
.map-material-filter-grid {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  max-height: 260px;
  overflow-y: auto;
  padding-right: 0.25rem;
}

.map-material-filter-grid::-webkit-scrollbar {
  width: 4px;
}
.map-material-filter-grid::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
}

.map-mat-filter-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.65rem;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  color: #cbd5e1;
  font-size: 0.75rem;
  font-family: inherit;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s;
  width: 100%;
}

.map-mat-filter-btn:hover {
  background: rgba(30, 41, 59, 0.85);
  border-color: rgba(56, 189, 248, 0.4);
  color: #f8fafc;
  transform: translateX(2px);
}

.map-mat-filter-btn.active {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.25), rgba(99, 102, 241, 0.25));
  border-color: #38bdf8;
  color: #38bdf8;
  font-weight: 600;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.25);
}

.map-mat-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 4px;
  background: rgba(2, 6, 23, 0.4);
  padding: 1px;
}

.map-mat-name {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.map-mat-count {
  font-size: 0.68rem;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.1rem 0.35rem;
  border-radius: 10px;
  font-family: monospace;
}


