.seed-map-page .seed-map-main {
  padding-top: 5.5rem;
  padding-bottom: 2rem;
}

.seed-map-page .seed-map-subtitle {
  max-width: 52rem;
  margin-left: auto;
  margin-right: auto;
  color: #6c757d;
  font-size: 1.05rem;
}

.seed-map-toolbar .seed-map-coords {
  display: block;
  font-size: 0.9rem;
  color: #212529;
  background: #f8f9fa;
  padding: 0.35rem 0.6rem;
  border-radius: 0.25rem;
}

.seed-map-canvas-wrap {
  overflow: hidden;
  background: #111318;
}

.seed-map-canvas {
  display: block;
  width: 100%;
  height: auto;
  cursor: crosshair;
  touch-action: none;
}

.seed-map-sidebar .seed-map-structure-list {
  max-height: 28rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.seed-map-layer-section {
  padding-bottom: 0.5rem;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid #e9ecef;
}

.seed-map-layer-section:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.seed-map-layer-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #868e96;
  margin-bottom: 0.35rem;
}

.seed-map-cb-label {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.88rem;
  margin: 0;
  cursor: pointer;
}

.seed-map-cb-label input {
  margin-top: 0.2rem;
}

.seed-map-toast {
  position: fixed;
  top: 120px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10900;
  min-width: 300px;
  max-width: min(480px, calc(100vw - 24px));
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(74, 163, 223, 0.25), 0 2px 8px rgba(0, 0, 0, 0.12);
  animation: seedMapToastIn 0.35s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  font-family: 'Montserrat', sans-serif;
}

.seed-map-toast--info {
  background: linear-gradient(135deg, #4aa3df, #357abd);
}

.seed-map-toast--success {
  background: linear-gradient(135deg, #28a745, #20883a);
}

.seed-map-toast--error {
  background: linear-gradient(135deg, #dc3545, #c82333);
}

.seed-map-toast-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  color: #fff;
}

.seed-map-toast-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
}

.seed-map-toast-msg {
  flex: 1;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.4;
}

.seed-map-toast-close {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.3rem;
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
  flex-shrink: 0;
}

.seed-map-toast-close:hover {
  color: #fff;
}

.seed-map-toast--out {
  animation: seedMapToastOut 0.32s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes seedMapToastIn {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-16px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

@keyframes seedMapToastOut {
  from {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
  to {
    opacity: 0;
    transform: translateX(-50%) translateY(-16px);
  }
}

.seed-map-popup {
  position: fixed;
  z-index: 1080;
  min-width: 240px;
  max-width: min(360px, calc(100vw - 24px));
  pointer-events: auto;
}

.seed-map-popup-line {
  margin-bottom: 0.25rem;
  font-size: 0.9rem;
}

.seed-map-pokemon-list {
  font-size: 0.88rem;
  max-height: 220px;
  overflow-y: auto;
}

.seed-map-internal-links {
  font-size: 0.9rem;
  color: #6c757d;
}

.seed-map-internal-links a {
  font-weight: 600;
}
