/* Palworld Map Viewer — dark mode, mobile-first */

.pw-map-root {
  display: block;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 16px;
  color: #e8eef4;
  margin: 24px 0;
}

.pw-map-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
  align-items: center;
}

.pw-map-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--chip-color);
  border-radius: 999px;
  cursor: pointer;
  font-size: 13px;
  user-select: none;
  color: #e8eef4;
}

.pw-map-filter-chip input {
  margin: 0;
  accent-color: var(--chip-color);
}

.pw-map-reset {
  margin-left: auto;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #e8eef4;
  border-radius: 999px;
  cursor: pointer;
  font-size: 13px;
}

.pw-map-reset:hover { background: rgba(255, 255, 255, 0.18); }

.pw-map-svg {
  width: 100%;
  height: auto;
  aspect-ratio: 1000 / 800;
  background: #0f1418;
  border-radius: 8px;
  display: block;
  cursor: grab;
  user-select: none;
}

.pw-map-svg:active { cursor: grabbing; }

.pw-poi { cursor: pointer; transition: opacity 0.15s; }
.pw-poi:hover circle:first-child { opacity: 1; r: 13; }

.pw-map-detail {
  margin-top: 14px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  min-height: 80px;
}

.pw-map-detail-hint {
  color: rgba(232, 238, 244, 0.65);
  font-size: 14px;
  line-height: 1.5;
}

.pw-map-detail-cat {
  font-size: 11px;
  letter-spacing: 0.08em;
  font-weight: 700;
  margin-bottom: 4px;
}

.pw-map-detail-name {
  font-size: 17px;
  font-weight: 600;
  color: #ffd86b;
  margin-bottom: 2px;
}

.pw-map-detail-region {
  font-size: 13px;
  color: rgba(232, 238, 244, 0.65);
  margin-bottom: 8px;
}

.pw-map-detail-desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(232, 238, 244, 0.88);
}

.pw-map-cta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 14px;
}

@media (min-width: 600px) {
  .pw-map-cta { grid-template-columns: 1fr 1fr; }
}

.pw-map-cta-link {
  display: block;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 8px;
  color: #e8eef4;
  text-decoration: none;
  transition: background 0.2s;
}

.pw-map-cta-link:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #e8eef4;
  text-decoration: none;
}

.pw-map-cta-link strong {
  display: block;
  color: #ffd86b;
  margin-bottom: 2px;
}

.pw-map-cta-link span {
  font-size: 13px;
  color: rgba(232, 238, 244, 0.75);
}
