/* 西域门户补充样式（主布局沿用 overview.css / app.css） */
.top-hint {
  font-size: 0.82rem;
  color: rgba(90, 70, 50, 0.75);
  align-self: center;
  padding-right: 8px;
}

.xy-section-tag {
  margin: 0 0 8px;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: rgba(255, 220, 170, 0.75);
  font-weight: 600;
}
.xy-section-tag--dark {
  color: #8a6a48;
}

.ov-city-btns {
  display: grid;
  gap: 10px;
  margin-top: 4px;
}
.ov-city-btns .btn {
  width: 100%;
  justify-content: center;
}

.ov-county-tabs--sub {
  margin-top: 10px;
}

.ov-enter-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  margin-top: 12px;
  width: 100%;
  cursor: pointer;
  border: none;
}

.xy-city-marker { background: none !important; border: none !important; }
.xy-city-marker .wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  transform: translate(8px, -8px);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  pointer-events: auto;
}
.xy-city-marker .row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 5px;
}
.xy-city-marker .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #fff 0 22%, #e85a28 28% 100%);
  border: 2px solid #fff;
  box-shadow: 0 0 0 3px rgba(232, 90, 40, 0.35), 0 4px 12px rgba(0, 0, 0, 0.35);
  flex-shrink: 0;
}
.xy-city-marker .pulse {
  position: absolute;
  left: -4px;
  top: -2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid rgba(232, 90, 40, 0.55);
  animation: xyPulse 1.8s ease-out infinite;
  pointer-events: none;
}
@keyframes xyPulse {
  0% { transform: scale(0.7); opacity: 0.9; }
  100% { transform: scale(1.8); opacity: 0; }
}
.xy-city-marker .cnt {
  color: #1a120c;
  font-weight: 400;
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.02em;
  text-shadow: 0 0 3px rgba(255, 248, 235, 0.95), 0 1px 2px rgba(255, 248, 235, 0.8);
  white-space: nowrap;
}
.xy-city-marker .lab {
  color: #1a120c;
  font-weight: 400;
  font-size: 12px;
  line-height: 1.1;
  letter-spacing: 0.04em;
  text-shadow: 0 0 3px rgba(255, 248, 235, 0.95), 0 1px 2px rgba(255, 248, 235, 0.8);
  white-space: nowrap;
  padding-left: 1px;
}

.xy-prov-tooltip {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: #1a120c !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  letter-spacing: 0.06em;
  padding: 2px 4px !important;
  pointer-events: none !important;
  text-shadow: 0 0 3px rgba(255, 248, 235, 0.95), 0 1px 2px rgba(255, 248, 235, 0.85);
}
.leaflet-tooltip-pane .xy-prov-tooltip {
  z-index: 1 !important;
}
.xy-prov-tooltip::before {
  display: none !important;
  border: none !important;
}

.hami-county-label {
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  color: #1a120c !important;
  font-weight: 800 !important;
  font-size: 16px !important;
  text-shadow: 0 0 3px rgba(255, 248, 235, 0.95), 0 1px 2px rgba(255, 248, 235, 0.85) !important;
}

/* 各模块唯一标题 */
.xy-module-title {
  margin: 0 0 0.85rem;
  font-size: 1.35rem;
  font-weight: 700;
  color: #1a2332;
  text-align: center;
  letter-spacing: 0.04em;
}
.xy-module-title--light {
  color: rgba(255, 236, 210, 0.95);
  margin: 0 auto 1rem;
  max-width: 1200px;
  padding: 0 1rem;
}
.ov-china.xy-section {
  padding-top: 1.1rem;
}
.ov-hami-title .xy-module-title {
  margin-bottom: 0.75rem;
}

/* 统计区右侧：按门类分组的点位滚动列表 */
.ov-point-panel {
  display: flex;
  flex-direction: column;
  min-height: 520px;
  height: min(72vh, 680px);
  background: #fffcf7;
  border: 1px solid #c9b79a;
  border-radius: 6px;
  box-shadow: var(--shadow, 0 10px 28px rgba(42, 28, 18, 0.08));
  overflow: hidden;
}
.ov-point-panel-head {
  padding: 0.85rem 1rem 0.7rem;
  border-bottom: 1px solid #e4d6c0;
  background: linear-gradient(180deg, #fbf5ea 0%, #f4ebda 100%);
}
.ov-point-panel-head h3 {
  margin: 0;
  font-size: 1rem;
  color: #3a2c1c;
  letter-spacing: 0.04em;
}
.ov-point-panel-head p {
  margin: 0.3rem 0 0;
  font-size: 0.78rem;
  color: #7a6548;
}
.ov-point-list {
  flex: 1;
  overflow: auto;
  padding: 0.55rem 0.65rem 0.9rem;
  scrollbar-width: thin;
  scrollbar-color: #c9b79a transparent;
}
.ov-point-empty {
  margin: 1.5rem 0.5rem;
  text-align: center;
  color: #8a7358;
  font-size: 0.88rem;
}
.ov-point-group {
  margin: 0 0 0.75rem;
}
.ov-point-cat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin: 0 0 0.4rem;
  padding: 0.35rem 0.45rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: #5a4632;
  background: rgba(196, 90, 44, 0.08);
  border-left: 3px solid #c45a2c;
  border-radius: 0 4px 4px 0;
}
.ov-point-cat em {
  font-style: normal;
  font-size: 0.75rem;
  font-weight: 700;
  color: #c45a2c;
  background: #fff7ec;
  border: 1px solid rgba(196, 90, 44, 0.25);
  border-radius: 999px;
  padding: 0.05rem 0.45rem;
}
.ov-point-items {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.ov-point-item {
  display: block;
  padding: 0.55rem 0.65rem;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid #e6d8c4;
  border-radius: 6px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.ov-point-item:hover {
  border-color: #c45a2c;
  box-shadow: 0 6px 16px rgba(196, 90, 44, 0.12);
  transform: translateY(-1px);
}
.ov-point-name {
  display: block;
  font-size: 0.88rem;
  line-height: 1.4;
  color: #2a1c12;
  font-weight: 600;
}
.ov-point-meta {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.72rem;
  color: #8a7358;
  line-height: 1.35;
}

.ov-stats {
  min-height: 520px;
  height: min(72vh, 680px);
  overflow: hidden;
  border-radius: 6px;
}
.ov-hami-row--3 .ov-stats-body {
  overflow: auto;
}
.ov-hami-row--3 .ov-stats-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 0.45rem 0.35rem;
}
.ov-hami-row--3 .ov-stat-num {
  font-size: 1.35rem;
}
.ov-hami-row--3 .ov-stat-label {
  font-size: 0.68rem;
}

/* 总标题由点位图管理台编辑；门户仅展示 */
#site-title {
  cursor: default;
}

.xy-workspace {
  background: #ebe4d8;
  border-top: 1px solid #d5cfc3;
  padding: 1.25rem 1.1rem 1.5rem;
}
.xy-workspace-head {
  max-width: 1200px;
  margin: 0 auto 0.85rem;
}
.xy-workspace-frame-wrap {
  max-width: 1400px;
  margin: 0 auto;
  border: 1px solid #c9b79a;
  border-radius: 6px;
  overflow: hidden;
  background: #fffcf7;
  box-shadow: 0 10px 30px rgba(26, 35, 50, 0.08);
  min-height: calc(100vh - 120px);
  height: calc(100vh - 100px);
}
#workspace-frame {
  display: block;
  width: 100%;
  height: 100%;
  min-height: calc(100vh - 120px);
  border: 0;
  background: #fffcf7;
}
