
.region-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  justify-content: flex-end;
  pointer-events: none;
  visibility: hidden;
}
.region-overlay.is-active {
  pointer-events: auto;
  visibility: visible;
}
.region-overlay__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.region-overlay.is-active .region-overlay__backdrop {
  opacity: 1;
}
.region-overlay__panel {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: #fff;
  height: 100%;
  box-shadow: -10px 0 30px rgba(15, 23, 42, 0.1);
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}
.region-overlay.is-active .region-overlay__panel {
  transform: translateX(0);
}
.region-overlay__close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: #f1f5f9;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--ink-80);
  transition: all 0.2s;
  z-index: 10;
}
.region-overlay__close:hover {
  background: #e2e8f0;
  color: var(--ink);
}
.region-overlay__content {
  padding: 48px 32px 32px;
  overflow-y: auto;
}
.region-badge {
  display: inline-block;
  background: #eff6ff;
  color: #0f172a;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}
.region-overlay__header h3 {
  font-size: 2rem;
  margin: 0 0 4px;
}
.region-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid #e2e8f0;
}
.r-stat {
  background: #f8fafc;
  padding: 20px;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
}
.r-stat__val {
  display: block;
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
  line-height: 1.1;
}
.r-stat__lbl {
  font-size: 0.85rem;
  color: var(--ink-60);
  font-weight: 500;
}
.region-types {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 24px;
}
.r-type__header {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.r-type__bar {
  height: 8px;
  background: #f1f5f9;
  border-radius: 4px;
  overflow: hidden;
}
.r-type__fill {
  height: 100%;
  border-radius: 4px;
  transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
