:root {
  --etana-primary: #0A3D62;
  --etana-title-color: #07111F;
  --etana-text-color: #475467;
  --etana-border-color: rgba(16, 24, 40, .10);
  --etana-section-bg: #FFFFFF;
  --etana-panel-bg: #FFFFFF;
  --etana-map-height: 520px;
  --etana-mobile-map-height: 430px;
  --etana-layout-gap: 22px;
  --etana-radius: 24px;
  --etana-region-button-min-height: 64px;
  --etana-post-card-padding: 16px;
  --etana-post-card-gap: 14px;
  --etana-tooltip-bg: #111827;
  --etana-tooltip-text: #ffffff;
  --etana-tooltip-font-size: 12px;
  --etana-tooltip-radius: 12px;
  --etana-tooltip-opacity: .94;
  --etana-sea-color: #eaf2f5;
  --etana-city-label-color: #243244;
  --etana-city-label-muted-color: #7A8A91;
  --etana-city-label-font-size: 12px;
  --etana-mobile-city-label-font-size: 10px;
  --etana-city-label-opacity: 1;
  --etana-city-label-muted-opacity: .45;
  --etana-city-label-weight: 600;
}

.etana-regions-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr);
  gap: var(--etana-layout-gap);
  align-items: stretch;
  margin: 0;
  background: transparent;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.etana-panel-left {
  grid-template-columns: minmax(320px, .8fr) minmax(0, 1.2fr);
}
.etana-panel-left .etana-map-column { grid-column: 2; grid-row: 1; }
.etana-panel-left .etana-posts-panel { grid-column: 1; grid-row: 1; }

.etana-panel-below,
.etana-no-panel {
  grid-template-columns: 1fr;
}

.etana-map-stage,
.etana-posts-panel {
  border: 1px solid var(--etana-border-color);
  border-radius: var(--etana-radius);
  background: var(--etana-section-bg);
  box-shadow: 0 16px 50px rgba(15, 23, 42, .08);
}

.etana-map-stage {
  display: flex;
  flex-direction: column;
  padding: 22px;
  overflow: hidden;
  background: #F7F9FC;
}

.etana-map-header {
  position: relative;
  padding: 0 0 16px 0;
}

.etana-map-kicker,
.etana-posts-kicker {
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 11px;
  color: var(--etana-primary);
  font-weight: 800;
}

.etana-map-title,
.etana-posts-title {
  margin: 0;
  color: var(--etana-title-color);
  line-height: 1.12;
  letter-spacing: -.02em;
  font-weight: 800;
}

.etana-map-title {
  font-size: clamp(24px, 2.15vw, 34px);
  max-width: 620px;
}

.etana-posts-title {
  font-size: clamp(20px, 1.7vw, 28px);
}

.etana-map-subtitle,
.etana-posts-copy {
  margin: 9px 0 0;
  color: var(--etana-text-color);
  font-size: 13px;
  line-height: 1.6;
}

.etana-map-canvas,
.etana-map-stage .leaflet-container {
  width: 100%;
  height: var(--etana-map-height);
  min-height: var(--etana-map-height);
  border-radius: calc(var(--etana-radius) - 4px);
  overflow: hidden;
  border: 1px solid var(--etana-border-color);
  background: #F4F6F8;
}

.etana-map-chipbar {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.etana-map-chip {
  appearance: none;
  border: 1px solid var(--etana-border-color);
  border-radius: 18px;
  padding: 13px 14px;
  text-align: left;
  background: #FFFFFF;
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  cursor: pointer;
  min-height: var(--etana-region-button-min-height);
}

.etana-map-chip strong,
.etana-map-chip span {
  display: block;
}

.etana-map-chip strong {
  font-size: 13px;
  color: #111827;
}

.etana-map-chip span {
  margin-top: 4px;
  font-size: 12px;
  color: #667085;
}

.etana-map-chip.is-active,
.etana-map-chip:hover {
  transform: translateY(-2px);
  background: var(--etana-primary);
  border-color: var(--etana-primary);
}

.etana-map-chip.is-active strong,
.etana-map-chip.is-active span,
.etana-map-chip:hover strong,
.etana-map-chip:hover span {
  color: #fff;
}

.etana-posts-panel {
  padding: 24px;
  display: flex;
  flex-direction: column;
  background: var(--etana-panel-bg);
}

.etana-posts-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  border-bottom: 1px solid var(--etana-border-color);
  padding-bottom: 18px;
  margin-bottom: 18px;
}

.etana-panel-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--etana-primary);
  color: #fff !important;
  text-decoration: none;
  font-weight: 700;
  white-space: nowrap;
}

.etana-posts-list {
  display: grid;
  gap: var(--etana-post-card-gap);
}

.etana-post-card {
  border: 1px solid var(--etana-border-color);
  border-radius: 18px;
  padding: var(--etana-post-card-padding);
  background: #fff;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.etana-post-card:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--etana-primary) 22%, transparent);
  box-shadow: 0 10px 28px rgba(15, 23, 42, .08);
}

.etana-post-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
  font-size: 12px;
}

.etana-post-cat {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(10,61,98,.07);
  color: var(--etana-primary);
  font-weight: 700;
}

.etana-post-date {
  color: var(--etana-text-color);
}

.etana-post-link {
  text-decoration: none;
  color: var(--etana-title-color);
}

.etana-post-link h4 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 800;
  color: var(--etana-title-color);
}

.etana-post-link p {
  margin: 0;
  color: var(--etana-text-color);
  font-size: 14px;
  line-height: 1.55;
}

.etana-empty-state {
  border: 1px dashed var(--etana-border-color);
  border-radius: 18px;
  padding: 18px;
  color: var(--etana-text-color);
  font-size: 14px;
}

.etana-region-tooltip {
  border: 0 !important;
  border-radius: var(--etana-tooltip-radius, 12px) !important;
  padding: 10px 12px !important;
  background: var(--etana-tooltip-bg, #111827) !important;
  color: var(--etana-tooltip-text, #ffffff) !important;
  opacity: var(--etana-tooltip-opacity, .94) !important;
  box-shadow: 0 10px 30px rgba(0,0,0,.18) !important;
  font-weight: 700;
  font-size: var(--etana-tooltip-font-size, 12px);
}

.etana-region-tooltip::before,
.etana-city-label::before {
  display: none;
}

.etana-city-label {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--etana-city-label-color, #243244) !important;
  font-size: var(--etana-city-label-font-size, 12px);
  font-weight: var(--etana-city-label-weight, 600);
  line-height: 1.15;
  letter-spacing: 0;
  opacity: var(--etana-city-label-opacity, 1);
  text-shadow: none !important;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  padding: 0 0 0 3px !important;
  transition: color .18s ease, opacity .18s ease;
}

.etana-city-label-muted {
  color: var(--etana-city-label-muted-color, #7A8A91) !important;
  opacity: var(--etana-city-label-muted-opacity, .45) !important;
}

.etana-city-label-active {
  color: var(--etana-city-label-color, #243244) !important;
  opacity: var(--etana-city-label-opacity, 1) !important;
}

.etana-regions-layout .leaflet-control-attribution {
  display: none;
}

.etana-regions-layout .leaflet-control-zoom {
  border: 0;
  box-shadow: 0 10px 28px rgba(15, 23, 42, .14);
  margin-bottom: 10px !important;
  margin-left: 10px !important;
}

.etana-regions-layout .leaflet-control-zoom a {
  border: 0 !important;
  color: #111827;
}

.etana-regions-layout .leaflet-interactive:focus {
  outline: none;
}

@media (max-width: 980px) {
  .etana-regions-layout,
  .etana-panel-left {
    grid-template-columns: 1fr;
  }

  .etana-panel-left .etana-map-column,
  .etana-panel-left .etana-posts-panel {
    grid-column: auto;
    grid-row: auto;
  }

  .etana-posts-panel {
    min-height: auto;
  }
}

@media (max-width: 767px) {
  .etana-map-stage {
    padding: var(--etana-post-card-padding);
  }

  .etana-map-canvas,
  .etana-map-stage .leaflet-container {
    height: var(--etana-mobile-map-height);
    min-height: var(--etana-mobile-map-height);
  }

  .etana-map-chipbar {
    grid-template-columns: 1fr;
  }

  .etana-map-title {
    font-size: 26px;
  }

  .etana-posts-panel {
    padding: 18px;
  }

  .etana-posts-head {
    flex-direction: column;
    align-items: stretch;
  }

  .etana-panel-cta {
    width: 100%;
  }
}


/* v0.3 administrative layer and compact controls */
.etana-admin-label {
  border: 0 !important;
  background: rgba(255,255,255,.92) !important;
  box-shadow: 0 6px 16px rgba(15,23,42,.10) !important;
  color: #344054 !important;
  border-radius: 999px !important;
  padding: 3px 8px !important;
  font-size: 10.5px;
  line-height: 1.15;
  font-weight: 700;
  white-space: nowrap;
  pointer-events: none;
}

.etana-admin-label::before {
  display: none;
}

.etana-map-chip {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.etana-post-card[data-no-excerpt="true"] .etana-post-link h4 {
  margin-bottom: 0;
}


/* v0.6.2 geographic boundary labels */
.etana-geo-label-icon {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  pointer-events: none;
}

.etana-geo-label {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(255,255,255,.38);
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);
  color: #3e5161;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: .01em;
  white-space: nowrap;
  text-shadow: 0 1px 0 rgba(255,255,255,.75);
  user-select: none;
}

.etana-geo-label-mediterranean {
  font-style: italic;
  background: rgba(255,255,255,.24);
}


/* v0.6.3 refinements */
.etana-geo-label {
  padding: 0 !important;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-radius: 0 !important;
  font-weight: 500;
  letter-spacing: .01em;
  text-shadow: none !important;
}

.etana-geo-label-iraq {
  transform: translateX(0) translateY(0);
  font-size: 10px !important;
  opacity: .58 !important;
}

.etana-geo-label-lebanon {
  transform: translateX(0) translateY(0) rotate(-10deg);
  font-size: 8px !important;
  font-style: italic;
  opacity: .55 !important;
  letter-spacing: .01em;
}

.etana-geo-label-jordan {
  transform: translateX(0) translateY(0);
  font-size: 10px !important;
}

.etana-geo-label-mediterranean {
  transform: translateX(-8px) translateY(0);
  font-size: 10px !important;
}


/* v0.6.4 geographic label and NE boundary fixes */
.etana-geo-label-icon {
  z-index: 999 !important;
}

.etana-geo-label-iraq {
  font-weight: 600;
}

.etana-geo-label-lebanon {
  font-weight: 500;
}


.etana-geo-label-turkey {
  transform: translateX(0) translateY(-2px);
  font-size: 10px !important;
}



/* v0.6.6 text clutter reduction */
.etana-city-label {
  font-size: 11px !important;
  font-weight: 500 !important;
  color: #26384a !important;
  opacity: .92;
}

.etana-city-label-suwayda {
  font-size: 11px !important;
}

.etana-city-label-quneitra,
.etana-city-label-damascus,
.etana-city-label-homs {
  opacity: .9;
}

.etana-geo-label-iraq,
.etana-geo-label-lebanon,
.etana-geo-label-jordan {
  pointer-events: none;
}


/* v0.6.7 precise coordinate-based geographic label placement */
.etana-geo-label-icon {
  width: auto !important;
  height: auto !important;
}

.etana-geo-label {
  transform: translate(0, -50%);
}

.etana-geo-label-turkey {
  transform: translate(0, -50%);
  font-size: 10px !important;
}

.etana-geo-label-iraq {
  transform: translate(0, -50%);
  font-size: 10px !important;
  opacity: .62 !important;
}

.etana-geo-label-lebanon {
  transform: translate(0, -50%) rotate(-8deg);
  font-size: 8px !important;
  font-style: italic;
  opacity: .58 !important;
  letter-spacing: .01em;
}

.etana-geo-label-jordan {
  transform: translate(0, -50%);
  font-size: 10px !important;
}

.etana-geo-label-mediterranean {
  transform: translate(0, -50%);
  font-size: 10px !important;
}


/* v0.6.8 mobile responsive tuning */
@media (max-width: 767px) {
  .etana-regions-layout {
    gap: 14px;
  }

  .etana-map-stage {
    padding: 16px !important;
    border-radius: 18px !important;
  }

  .etana-map-header {
    padding-bottom: 12px !important;
  }

  .etana-map-kicker {
    font-size: 10px !important;
    letter-spacing: .14em !important;
    margin-bottom: 8px !important;
  }

  .etana-map-title {
    font-size: clamp(23px, 6.2vw, 27px) !important;
    line-height: 1.12 !important;
    max-width: 100% !important;
    letter-spacing: -.025em !important;
  }

  .etana-map-subtitle {
    font-size: 13px !important;
    line-height: 1.55 !important;
    max-width: 100% !important;
  }

  .etana-map-canvas,
  .etana-map-stage .leaflet-container {
    height: var(--etana-mobile-map-height) !important;
    min-height: var(--etana-mobile-map-height) !important;
    border-radius: 16px !important;
  }

  .etana-posts-panel {
    padding: 18px !important;
    border-radius: 18px !important;
  }

  .etana-posts-title {
    font-size: 23px !important;
  }

  .etana-posts-copy {
    font-size: 13px !important;
  }

  .etana-post-link h4 {
    font-size: 16px !important;
    line-height: 1.35 !important;
  }

  .etana-post-link p {
    font-size: 13px !important;
  }

  .etana-city-label {
    font-size: 9.5px !important;
    font-weight: 500 !important;
    opacity: .86 !important;
  }

  .etana-region-tooltip {
    font-size: 11px !important;
    padding: 8px 10px !important;
  }
}

@media (max-width: 430px) {
  .etana-map-title {
    font-size: 24px !important;
  }

  .etana-map-subtitle {
    font-size: 12.5px !important;
  }

  .etana-city-label {
    font-size: 9px !important;
  }

  .etana-geo-label {
    font-size: 8px !important;
    opacity: .45 !important;
  }
}

@media (max-width: 380px) {
  .etana-map-stage {
    padding: 14px !important;
  }

  .etana-map-title {
    font-size: 23px !important;
  }

  .etana-map-subtitle {
    font-size: 12px !important;
  }

  .etana-city-label {
    font-size: 8.5px !important;
  }
}


/* v0.6.9 softer mobile city markers */
@media (max-width: 767px) {
  .etana-regions-layout .leaflet-interactive {
    vector-effect: non-scaling-stroke;
  }
}


/* v0.7.0 cartographic edge-gap cover */
.etana-regions-layout .leaflet-overlay-pane svg path {
  shape-rendering: geometricPrecision;
}


/* v0.7.2 marker/tooltip controls */
.etana-regions-layout .leaflet-tooltip.etana-region-tooltip {
  backdrop-filter: blur(var(--etana-theme-panel-blur, 4px));
  -webkit-backdrop-filter: blur(var(--etana-theme-panel-blur, 4px));
}


/* v0.7.5 sea/water color control */
.etana-map-canvas,
.etana-map-stage .leaflet-container {
  background: var(--etana-sea-color, #eaf2f5);
}


@media (max-width: 767px) {
  .etana-city-label {
    font-size: var(--etana-mobile-city-label-font-size, 10px);
  }
}


/* v0.9.4 study-focused shortcode mode */
.etana-study-mode {
  grid-template-columns: 1fr;
}

.etana-study-mode .etana-map-stage {
  box-shadow: 0 12px 38px rgba(15, 23, 42, .07);
}

.etana-study-mode .etana-map-canvas {
  min-height: min(var(--etana-map-height), 680px);
}


/* v0.9.5 study event / incident layer */
.etana-event-legend {
  background: rgba(255,255,255,var(--etana-theme-panel-mobile-opacity, .92));
  border: 1px solid rgba(15,23,42,.12);
  border-radius: 12px;
  padding: 10px 12px;
  box-shadow: 0 12px 30px rgba(15,23,42,.12);
  color: #1f2937;
  font-size: 12px;
  line-height: 1.35;
}

.etana-event-legend strong {
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #475569;
}

.etana-event-legend span {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 4px 0;
  white-space: nowrap;
}

.etana-event-legend i {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.85);
  box-shadow: 0 0 0 1px rgba(15,23,42,.10);
}

.etana-event-marker {
  filter: drop-shadow(0 5px 10px rgba(15,23,42,.25));
}

.etana-event-popup-shell .leaflet-popup-content {
  margin: 0;
}

.etana-event-popup {
  overflow: hidden;
  border-radius: 10px;
  color: #1f2937;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.etana-event-popup h4 {
  margin: 6px 0 4px;
  color: #111827;
  font-size: 15px;
  line-height: 1.25;
}

.etana-event-popup p {
  margin: 8px 0;
  color: #374151;
  font-size: 13px;
  line-height: 1.45;
}

.etana-event-type {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: color-mix(in srgb, var(--etana-event-color) 13%, white);
  color: var(--etana-event-color);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 4px 7px;
  margin-top: 2px;
}

.etana-event-meta,
.etana-event-source {
  color: #64748b;
  font-size: 12px;
  line-height: 1.35;
}

.etana-event-link {
  display: inline-flex;
  margin-top: 8px;
  color: var(--etana-primary, #31679a);
  font-weight: 800;
  text-decoration: none;
}

.etana-event-image {
  display: block;
  width: 100%;
  max-height: 150px;
  object-fit: cover;
  margin: 0 0 8px;
  border-radius: 8px;
}


/* v1.0.1 event icon markers */
.etana-event-divicon {
  background: transparent !important;
  border: 0 !important;
}

.etana-event-icon-marker {
  position: relative;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--etana-event-color, #64748B);
  border: 2px solid rgba(255,255,255,.96);
  color: #fff;
  box-shadow: 0 8px 18px rgba(15,23,42,.28);
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
  transform: translateZ(0);
}

.etana-event-icon-inner {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  text-shadow: 0 1px 2px rgba(0,0,0,.22);
}

.etana-event-icon-marker.has-pulse .etana-event-icon-pulse {
  position: absolute;
  inset: -7px;
  border-radius: inherit;
  background: color-mix(in srgb, var(--etana-event-color, #64748B) 42%, transparent);
  opacity: .55;
  animation: etanaEventPulse 1.7s ease-out infinite;
}

@keyframes etanaEventPulse {
  0% { transform: scale(.72); opacity: .55; }
  70% { transform: scale(1.45); opacity: 0; }
  100% { transform: scale(1.45); opacity: 0; }
}

.etana-event-legend i {
  display: inline-grid;
  place-items: center;
  color: #fff;
  font-style: normal;
  font-size: 8px;
  font-weight: 900;
  line-height: 1;
}


/* v1.0.2 Lucide-style SVG and manual custom event icons */
.etana-event-svg {
  width: 58%;
  height: 58%;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.etana-event-custom-img {
  display: block;
  width: 62%;
  height: 62%;
  object-fit: contain;
  filter: drop-shadow(0 1px 1px rgba(0,0,0,.18));
}

.etana-event-text-icon {
  display: inline-grid;
  place-items: center;
  width: 100%;
  height: 100%;
  font-weight: 900;
}

.etana-event-legend .etana-event-svg {
  width: 9px;
  height: 9px;
  stroke-width: 2.6;
}

.etana-event-legend .etana-event-custom-img {
  width: 9px;
  height: 9px;
  filter: none;
}

.etana-event-legend .etana-event-text-icon {
  font-size: 8px;
}


/* v1.0.4 refined event popup card */
.etana-event-popup-shell .leaflet-popup-content-wrapper {
  padding: 0;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 22px 55px rgba(15,23,42,.22);
  border: 1px solid rgba(15,23,42,.08);
}

.etana-event-popup-shell .leaflet-popup-content {
  margin: 0 !important;
  width: auto !important;
  min-width: 260px;
  max-width: 320px;
}

.etana-event-popup-shell .leaflet-popup-tip {
  background: #fff;
  box-shadow: 0 8px 20px rgba(15,23,42,.16);
}

.etana-event-popup-shell .leaflet-popup-close-button {
  top: 10px !important;
  right: 10px !important;
  width: 26px !important;
  height: 26px !important;
  line-height: 24px !important;
  border-radius: 999px;
  background: rgba(15,23,42,.06);
  color: #64748b !important;
  font-size: 18px !important;
  font-weight: 600 !important;
  transition: background .18s ease, color .18s ease;
}

.etana-event-popup-shell .leaflet-popup-close-button:hover {
  background: rgba(15,23,42,.12);
  color: #0f172a !important;
}

.etana-event-popup {
  position: relative;
  padding: 16px 16px 14px;
  border-top: 5px solid var(--etana-event-color, #64748B);
  border-radius: 0;
  background: #fff;
  color: #1f2937;
}

.etana-event-popup-head {
  display: grid;
  grid-template-columns: 34px minmax(0,1fr);
  gap: 10px;
  align-items: start;
  padding-right: 28px;
}

.etana-event-popup-icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: var(--etana-event-color, #64748B);
  color: #fff;
  box-shadow: 0 8px 20px color-mix(in srgb, var(--etana-event-color, #64748B) 28%, transparent);
}

.etana-event-popup-icon .etana-event-svg {
  width: 17px;
  height: 17px;
}

.etana-event-popup h4 {
  margin: 5px 0 0;
  font-size: 15px;
  line-height: 1.25;
  font-weight: 850;
  color: #0f172a;
  letter-spacing: -.01em;
}

.etana-event-popup .etana-event-type {
  margin: 0;
  padding: 3px 7px;
  font-size: 10px;
  line-height: 1.2;
  background: color-mix(in srgb, var(--etana-event-color, #64748B) 12%, white);
  color: var(--etana-event-color, #64748B);
}

.etana-event-details {
  display: grid;
  gap: 6px;
  margin: 13px 0 0;
  padding: 10px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid rgba(15,23,42,.06);
}

.etana-event-rowline {
  display: grid;
  grid-template-columns: 68px minmax(0,1fr);
  gap: 8px;
  align-items: baseline;
  font-size: 12px;
  line-height: 1.35;
}

.etana-event-rowline span {
  color: #94a3b8;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: 10px;
}

.etana-event-rowline strong {
  color: #334155;
  font-weight: 650;
  overflow-wrap: anywhere;
}

.etana-event-description {
  margin: 11px 0 0 !important;
  color: #334155 !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
}

.etana-event-link {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(15,23,42,.08);
  width: 100%;
  justify-content: space-between;
}

.etana-event-link::after {
  content: "→";
  margin-left: 8px;
}



/* v1.0.7 main map posts panel reset */
.etana-regions-layout:not(.etana-study-mode) {
  grid-template-columns: minmax(0, 1.28fr) minmax(340px, .72fr);
}

.etana-regions-layout:not(.etana-study-mode) .etana-posts-panel {
  padding: 22px;
  max-height: calc(var(--etana-map-height) + 46px);
  overflow: hidden;
}

.etana-regions-layout:not(.etana-study-mode) .etana-posts-head {
  padding-bottom: 15px;
  margin-bottom: 14px;
  gap: 14px;
}

.etana-regions-layout:not(.etana-study-mode) .etana-posts-kicker {
  font-size: 10px;
  letter-spacing: .14em;
  margin-bottom: 7px;
}

.etana-regions-layout:not(.etana-study-mode) .etana-posts-title {
  font-size: clamp(22px, 1.55vw, 30px);
  line-height: 1.08;
}

.etana-regions-layout:not(.etana-study-mode) .etana-posts-copy {
  margin-top: 8px;
  font-size: 12.5px;
  line-height: 1.45;
  max-width: 520px;
}

.etana-regions-layout:not(.etana-study-mode) .etana-panel-cta {
  min-height: 38px;
  padding: 0 15px;
  font-size: 13px;
  box-shadow: 0 8px 18px color-mix(in srgb, var(--etana-primary) 22%, transparent);
}

.etana-regions-layout:not(.etana-study-mode) .etana-posts-list {
  display: grid;
  gap: 10px;
  overflow: auto;
  padding-right: 4px;
  scrollbar-width: thin;
  scrollbar-color: color-mix(in srgb, var(--etana-primary) 36%, #cbd5e1) transparent;
}

.etana-regions-layout:not(.etana-study-mode) .etana-posts-list::-webkit-scrollbar {
  width: 6px;
}

.etana-regions-layout:not(.etana-study-mode) .etana-posts-list::-webkit-scrollbar-thumb {
  background: color-mix(in srgb, var(--etana-primary) 34%, #cbd5e1);
  border-radius: 999px;
}

.etana-regions-layout:not(.etana-study-mode) .etana-post-card {
  border-radius: 16px;
  padding: 14px 16px;
  box-shadow: none;
}

.etana-regions-layout:not(.etana-study-mode) .etana-post-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(15, 23, 42, .065);
}

.etana-regions-layout:not(.etana-study-mode) .etana-post-meta {
  align-items: center;
  gap: 9px;
  margin-bottom: 9px;
  font-size: 11px;
}

.etana-regions-layout:not(.etana-study-mode) .etana-post-cat {
  padding: 4px 9px;
  font-size: 11px;
  line-height: 1.2;
  background: color-mix(in srgb, var(--etana-primary) 8%, white);
}

.etana-regions-layout:not(.etana-study-mode) .etana-post-date {
  font-size: 11px;
  color: #64748b;
}

.etana-regions-layout:not(.etana-study-mode) .etana-post-link h4 {
  margin: 0 0 7px;
  font-size: clamp(15px, .95vw, 17px);
  line-height: 1.28;
  letter-spacing: -.01em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.etana-regions-layout:not(.etana-study-mode) .etana-post-link p {
  font-size: 12.7px;
  line-height: 1.48;
  color: #475569;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.etana-regions-layout:not(.etana-study-mode) .etana-post-card[data-no-excerpt="true"] .etana-post-link h4 {
  margin-bottom: 0;
}

@media (max-width: 1024px) {
  .etana-regions-layout:not(.etana-study-mode) {
    grid-template-columns: 1fr;
  }

  .etana-regions-layout:not(.etana-study-mode) .etana-posts-panel {
    max-height: none;
    overflow: visible;
  }

  .etana-regions-layout:not(.etana-study-mode) .etana-posts-list {
    overflow: visible;
    padding-right: 0;
  }
}


/* v1.0.9 latest-mode homepage panel behavior */
.etana-posts-panel[data-panel-mode="latest"] .etana-posts-kicker::after {
  content: "Latest";
  display: inline-flex;
  margin-left: 8px;
  padding: 2px 6px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--etana-primary) 8%, white);
  color: var(--etana-primary);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .08em;
  vertical-align: middle;
}

.etana-posts-panel[data-panel-mode="latest"] .etana-panel-cta {
  background: var(--etana-primary);
}

.etana-posts-panel[data-panel-mode="region"] .etana-posts-kicker::after {
  content: "Region";
  display: inline-flex;
  margin-left: 8px;
  padding: 2px 6px;
  border-radius: 999px;
  background: #f8fafc;
  color: #64748b;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .08em;
  vertical-align: middle;
}


/* v1.0.11 X follow CTA */
.etana-panel-cta.etana-panel-cta-x {
  gap: 8px;
}

.etana-panel-cta .etana-x-icon {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: rgba(255,255,255,.16);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  font-family: Arial, Helvetica, sans-serif;
}

.etana-panel-cta.etana-panel-cta-x:hover .etana-x-icon {
  background: rgba(255,255,255,.24);
}


/* v1.0.12 stronger X follow button */
.etana-panel-cta.etana-panel-cta-x {
  position: relative;
  gap: 9px;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 0 !important;
  background: #050505 !important;
  color: #ffffff !important;
  border: 2px solid #050505;
  box-shadow: 0 10px 22px rgba(0,0,0,.18);
  clip-path: polygon(11px 0, 100% 0, calc(100% - 11px) 100%, 0 100%);
  letter-spacing: .01em;
}

.etana-panel-cta.etana-panel-cta-x::before {
  content: "";
  position: absolute;
  inset: 2px;
  border: 1px solid rgba(255,255,255,.22);
  clip-path: inherit;
  pointer-events: none;
}

.etana-panel-cta.etana-panel-cta-x:hover {
  background: #000000 !important;
  border-color: #000000;
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(0,0,0,.24);
}

.etana-panel-cta.etana-panel-cta-x .etana-x-icon {
  width: 19px;
  height: 19px;
  border-radius: 0;
  background: transparent;
  border: 0;
  border-bottom-width: 0;
  border-top-width: 0;
  color: #fff;
  font-size: 12px;
  clip-path: polygon(5px 0, 100% 0, calc(100% - 5px) 100%, 0 100%);
}

.etana-panel-cta.etana-panel-cta-x:hover .etana-x-icon {
  background: rgba(255,255,255,.08);
}


/* v1.0.14 remove X follow CTA border */
.etana-panel-cta.etana-panel-cta-x {
  border: 0 !important;
  border-top-width: 0 !important;
  border-bottom-width: 0 !important;
  border-left-width: 0 !important;
  border-right-width: 0 !important;
}

.etana-panel-cta.etana-panel-cta-x::before {
  border: 0 !important;
}


/* v1.0.15 optional posts panel element visibility */
.etana-posts-panel [hidden] {
  display: none !important;
}

.etana-post-card[data-no-meta="true"] .etana-post-link h4 {
  margin-top: 0;
}


/* v1.0.16 theme-compatible post category labels */
.etana-post-cat.p-category {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}


/* v1.0.17 use theme category badge structure */
.etana-post-meta .etana-post-cat-wrap,
.etana-post-meta .s-cat-wrap {
  display: inline-flex;
  align-items: center;
  margin: 0;
}

.etana-post-meta .etana-post-cat-wrap .p-category {
  white-space: nowrap;
}

.etana-post-meta .etana-post-cat-wrap + .etana-post-date {
  align-self: center;
}


/* v1.0.18 compact category badges inside ETANA map panel only */
.etana-posts-panel .etana-post-cat-wrap.ecat-size-big .p-category,
.etana-posts-panel .etana-post-cat-wrap .p-category {
  font-size: 10.5px !important;
  line-height: 1.15 !important;
  padding-top: 5px !important;
  padding-bottom: 5px !important;
  padding-left: 10px !important;
  padding-right: 12px !important;
}

.etana-posts-panel .etana-post-cat-wrap.ecat-size-big,
.etana-posts-panel .etana-post-cat-wrap .s-cat-wrap {
  line-height: 1 !important;
}


/* v1.0.19 Explore tags footer */
.etana-explore-tags {
  margin-top: 14px;
  padding-top: 13px;
  border-top: 1px solid var(--etana-border-color);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.etana-explore-tags[hidden] {
  display: none !important;
}

.etana-explore-label {
  font-size: 12px;
  font-weight: 800;
  color: var(--etana-title-color);
}

.etana-explore-list {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}

.etana-explore-tag {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 4px 9px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--etana-primary) 8%, white);
  color: var(--etana-primary) !important;
  text-decoration: none !important;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.1;
  border: 1px solid color-mix(in srgb, var(--etana-primary) 12%, transparent);
}

.etana-explore-tag:hover {
  background: var(--etana-primary);
  color: #fff !important;
}


/* v1.0.20 refined Explore topics footer */
.etana-posts-panel .etana-explore-tags {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(16, 24, 40, .10);
  display: block;
}

.etana-posts-panel .etana-explore-tags[hidden] {
  display: none !important;
}

.etana-posts-panel .etana-explore-label {
  display: block;
  margin: 0 0 9px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: #64748b;
}

.etana-posts-panel .etana-explore-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
}

.etana-posts-panel .etana-explore-tag {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 5px 10px 5px 9px;
  border-radius: 999px;
  background: #f4f7fa;
  color: #2f5f8f !important;
  border: 1px solid rgba(49, 103, 154, .12);
  text-decoration: none !important;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}

.etana-posts-panel .etana-explore-tag::before {
  content: "#";
  margin-right: 3px;
  color: color-mix(in srgb, var(--etana-primary) 70%, #94a3b8);
  font-weight: 900;
}

.etana-posts-panel .etana-explore-tag:hover {
  transform: translateY(-1px);
  background: var(--etana-primary);
  border-color: var(--etana-primary);
  color: #fff !important;
}

.etana-posts-panel .etana-explore-tag:hover::before {
  color: #fff;
}


/* v1.0.21 inline Explore footer */
.etana-posts-panel .etana-explore-tags {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(16, 24, 40, .10);
}

.etana-posts-panel .etana-explore-label {
  display: inline-flex;
  align-items: center;
  margin: 0;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: none;
  color: #64748b;
  white-space: nowrap;
}

.etana-posts-panel .etana-explore-list {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
}


/* v1.0.28 refined admin-label readability */
.etana-admin-anchor {
  background: transparent !important;
  border: 0 !important;
}

.etana-admin-label {
  z-index: 1000 !important;
}

.etana-admin-label-damascus,
.etana-admin-label-rural-damascus {
  font-size: 10px !important;
}

.etana-admin-label-damascus {
  transform: translateY(-2px);
}

.etana-admin-label-rural-damascus {
  transform: translateX(2px);
}

.etana-admin-label-quneitra,
.etana-admin-label-dar-a,
.etana-admin-label-as-sweida {
  font-size: 9.7px !important;
  padding: 3px 7px !important;
}


/* v1.0.29 mobile-first admin label style */
@media (max-width: 767px) {
  .etana-regions-layout .etana-admin-label {
    font-size: 8.8px !important;
    line-height: 1.05 !important;
    font-weight: 800 !important;
    padding: 2px 5px !important;
    border-radius: 7px !important;
    background: rgba(255,255,255,.96) !important;
    color: #243244 !important;
    box-shadow: 0 4px 10px rgba(15,23,42,.12) !important;
    letter-spacing: -.01em;
    max-width: 86px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .etana-regions-layout .etana-admin-label-rural-damascus {
    max-width: 74px;
  }

  .etana-regions-layout .etana-admin-label-deir-ez-zor,
  .etana-regions-layout .etana-admin-label-al-hasakeh {
    max-width: 76px;
  }

  .etana-regions-layout .etana-admin-label::before {
    display: inline-block !important;
    content: "";
    width: 4px;
    height: 4px;
    border-radius: 999px;
    margin-right: 4px;
    background: var(--etana-primary);
    vertical-align: middle;
    transform: translateY(-1px);
  }

  .etana-regions-layout .etana-admin-label-damascus,
  .etana-regions-layout .etana-admin-label-aleppo,
  .etana-regions-layout .etana-admin-label-ar-raqqa,
  .etana-regions-layout .etana-admin-label-deir-ez-zor,
  .etana-regions-layout .etana-admin-label-al-hasakeh {
    background: rgba(255,255,255,.98) !important;
  }
}

@media (max-width: 480px) {
  .etana-regions-layout .etana-admin-label {
    font-size: 8px !important;
    padding: 2px 4px !important;
    max-width: 68px;
    box-shadow: 0 3px 8px rgba(15,23,42,.10) !important;
  }

  .etana-regions-layout .etana-admin-label::before {
    width: 3px;
    height: 3px;
    margin-right: 3px;
  }

  .etana-regions-layout .etana-admin-label-damascus,
  .etana-regions-layout .etana-admin-label-dar-a,
  .etana-regions-layout .etana-admin-label-as-sweida {
    max-width: 62px;
  }
}


/* v1.0.30 mobile admin-label cleanup */
@media (max-width: 767px) {
  .etana-regions-layout .etana-admin-label {
    font-size: 8.5px !important;
    line-height: 1.05 !important;
    padding: 2px 5px !important;
    border-radius: 6px !important;
    background: rgba(255,255,255,.96) !important;
    color: #253547 !important;
    box-shadow: 0 4px 10px rgba(15,23,42,.10) !important;
    max-width: 78px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .etana-regions-layout .etana-admin-label::before {
    display: none !important;
    content: none !important;
  }

  .etana-regions-layout .etana-admin-label-rural-damascus,
  .etana-regions-layout .etana-admin-label-deir-ez-zor,
  .etana-regions-layout .etana-admin-label-al-hasakeh {
    max-width: 72px;
  }
}

@media (max-width: 480px) {
  .etana-regions-layout .etana-admin-label {
    font-size: 8px !important;
    padding: 2px 4px !important;
    max-width: 66px;
  }
}


/* v1.0.37 dark-mode map label shadow cleanup */
:where(
  html.dark,
  body.dark,
  body.dark-mode,
  body.is-dark,
  body.is-dark-mode,
  body.dark-scheme,
  body.theme-dark,
  body[data-theme="dark"],
  html[data-theme="dark"],
  .dark-mode,
  .is-dark-mode
) .etana-regions-layout .etana-geo-label,
:where(
  html.dark,
  body.dark,
  body.dark-mode,
  body.is-dark,
  body.is-dark-mode,
  body.dark-scheme,
  body.theme-dark,
  body[data-theme="dark"],
  html[data-theme="dark"],
  .dark-mode,
  .is-dark-mode
) .etana-regions-layout .etana-city-label,
:where(
  html.dark,
  body.dark,
  body.dark-mode,
  body.is-dark,
  body.is-dark-mode,
  body.dark-scheme,
  body.theme-dark,
  body[data-theme="dark"],
  html[data-theme="dark"],
  .dark-mode,
  .is-dark-mode
) .etana-regions-layout .etana-admin-label {
  text-shadow: none !important;
}

:where(
  html.dark,
  body.dark,
  body.dark-mode,
  body.is-dark,
  body.is-dark-mode,
  body.dark-scheme,
  body.theme-dark,
  body[data-theme="dark"],
  html[data-theme="dark"],
  .dark-mode,
  .is-dark-mode
) .etana-regions-layout .etana-admin-label {
  box-shadow: 0 4px 10px rgba(0,0,0,.14) !important;
}


/* v1.0.43 loading guard fallback */
.etana-map-fallback-message {
  position: absolute;
  inset: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 1px dashed rgba(49, 103, 154, .32);
  border-radius: calc(var(--etana-radius, 24px) - 8px);
  color: var(--etana-text-color, #475467);
  background: rgba(255,255,255,.72);
  font-weight: 700;
  padding: 20px;
  z-index: 10;
}

.etana-map-load-failed .etana-map-canvas {
  position: relative;
}


/* v1.0.45 local admin coordinate picker */
.etana-local-coordinate-picker {
  background:
    linear-gradient(rgba(49,103,154,.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(49,103,154,.10) 1px, transparent 1px),
    #eef4f8 !important;
  background-size: 36px 36px, 36px 36px, auto !important;
}


/* v1.0.54 ACLED-like transparent stats box, no inner scroll on desktop */
.etana-map-stage {
  position: relative;
}

.etana-theme-layer-panel[hidden] {
  display: none !important;
}

.etana-theme-layer-panel {
  position: absolute;
  right: var(--etana-theme-panel-offset-x, 0px);
  bottom: var(--etana-theme-panel-offset-y, 0px);
  z-index: 780;
  width: min(var(--etana-theme-panel-width, 286px), 31%);
  min-width: 248px;
  pointer-events: auto;
}

.etana-theme-layer-panel *,
.etana-theme-layer-panel *::before,
.etana-theme-layer-panel *::after {
  border-radius: 0 !important;
}

.etana-theme-tray {
  border: 0;
  border-left: 1px solid rgba(49,103,154,.20);
  border-top: 1px solid rgba(49,103,154,.20);
  background: rgba(255,255,255,var(--etana-theme-panel-opacity, .58));
  box-shadow: none;
  backdrop-filter: blur(var(--etana-theme-panel-blur, 4px));
}

.etana-theme-tray-toggle {
  width: 100%;
  min-height: 28px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 8px;
  border: 0;
  background: rgba(35,74,112,var(--etana-theme-panel-header-opacity, .92));
  color: #FFFFFF;
  font: inherit;
  text-align: left;
  padding: 6px 9px;
}

.etana-theme-layer-panel.is-desktop-panel .etana-theme-tray-toggle {
  cursor: default;
  pointer-events: none;
}

.etana-theme-layer-panel.is-touch-tray .etana-theme-tray-toggle {
  cursor: pointer;
}

.etana-theme-tray-toggle span {
  display: none;
}

.etana-theme-tray-toggle strong {
  min-width: 0;
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 950;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.etana-theme-tray-toggle em {
  color: rgba(255,255,255,.86);
  font-size: 9.5px;
  font-style: normal;
  white-space: nowrap;
}

.etana-theme-tray-toggle i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border: 1px solid rgba(255,255,255,.34);
  color: #FFFFFF;
  font-style: normal;
  font-weight: 950;
  line-height: 1;
}

.etana-theme-tray-body[hidden] {
  display: none !important;
}

.etana-theme-tray-body {
  overflow: visible;
  max-height: none;
  padding: 7px 9px 8px;
}

.etana-theme-panel-summary {
  border: 0;
  background: transparent;
  padding: 0 0 6px;
  margin: 0 0 6px;
  border-bottom: 1px solid rgba(49,103,154,.14);
  min-height: 36px;
}

.etana-theme-panel-summary strong {
  display: block;
  color: var(--etana-title-color);
  font-size: 10.5px;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 1px;
}

.etana-theme-panel-summary span {
  display: block;
  color: var(--etana-text-color);
  font-size: 9px;
  line-height: 1.2;
}

.etana-theme-panel-section {
  margin-top: 6px;
}

.etana-theme-panel-section-title {
  display: grid;
  grid-template-columns: 1fr 42px;
  gap: 8px;
  align-items: center;
  min-height: 20px;
  padding: 0 0 3px;
}

.etana-theme-panel-section-title span,
.etana-theme-panel-section-title em {
  color: var(--etana-title-color);
  font-size: 9px;
  font-weight: 950;
  letter-spacing: .05em;
  text-transform: uppercase;
  font-style: normal;
}

.etana-theme-panel-section-title em {
  text-align: right;
  color: var(--etana-text-color);
  opacity: .78;
}

.etana-theme-layer-list,
.etana-theme-panel-rows {
  display: grid;
  gap: 0;
  border: 1px solid rgba(49,103,154,.12);
  background: rgba(255,255,255,.45);
  overflow: hidden;
}

.etana-theme-chip,
.etana-theme-category-row {
  width: 100%;
  min-height: 24px;
  display: grid;
  grid-template-columns: 1fr 42px;
  align-items: center;
  gap: 8px;
  border: 0;
  border-bottom: 1px solid rgba(49,103,154,.10);
  background: transparent;
  color: var(--etana-title-color);
  font: inherit;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.1;
  text-align: left;
  padding: 4px 7px;
  cursor: pointer;
  box-sizing: border-box;
  transform: none !important;
  contain: layout paint;
}

.etana-theme-chip:last-child,
.etana-theme-category-row:last-child {
  border-bottom: 0;
}

.etana-theme-chip em,
.etana-theme-category-row em {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
  height: auto;
  padding: 0;
  background: transparent;
  color: var(--etana-primary);
  font-size: 10px;
  font-style: normal;
  font-weight: 950;
  text-align: right;
}

.etana-theme-chip:hover,
.etana-theme-chip:focus,
.etana-theme-chip.is-active,
button.etana-theme-category-row:hover,
button.etana-theme-category-row:focus,
button.etana-theme-category-row.is-active {
  border-color: rgba(49, 103, 154, .12);
  background: rgba(49,103,154,.12);
  color: var(--etana-title-color);
  outline: none;
}

.etana-theme-chip.is-active,
.etana-theme-category-row.is-active {
  background: rgba(49,103,154,var(--etana-theme-active-intensity, .24));
  box-shadow: inset 3px 0 0 rgba(49,103,154,.85);
}

.etana-theme-content-type-section {
  margin-top: 7px;
}

.etana-theme-panel-empty-line {
  color: var(--etana-text-color);
  font-size: 10px;
  line-height: 1.35;
  padding: 5px 0;
  opacity: .76;
}

.etana-theme-panel-actions {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 6px;
  margin-top: 7px;
  padding-top: 7px;
  border-top: 1px solid rgba(49,103,154,.14);
  background: transparent;
}

.etana-theme-reset,
.etana-theme-view-results {
  border-radius: 0 !important;
  font: inherit;
  font-size: 9.5px;
  font-weight: 900;
  min-height: 26px;
  padding: 5px 7px;
  cursor: pointer;
}

.etana-theme-reset {
  border: 1px solid rgba(49,103,154,.20);
  background: rgba(255,255,255,.52);
  color: var(--etana-title-color);
}

.etana-theme-view-results {
  border: 1px solid rgba(35,74,112,.96);
  background: rgba(35,74,112,.96);
  color: #FFFFFF;
}

.etana-theme-view-results:disabled {
  cursor: not-allowed;
  opacity: .55;
}

.etana-theme-layer-empty {
  color: var(--etana-text-color);
  font-size: 11px;
  line-height: 1.35;
  padding: 8px 9px;
}

.etana-regions-layout .leaflet-tooltip.is-theme-highlight,
.etana-regions-layout .etana-city-label.is-theme-highlight {
  background: var(--etana-primary) !important;
  color: #FFFFFF !important;
  opacity: 1 !important;
}

.etana-regions-layout .leaflet-tooltip.is-theme-muted,
.etana-regions-layout .etana-city-label.is-theme-muted {
  opacity: .36 !important;
}

@media (max-width: 980px) {
  .etana-theme-layer-panel {
    width: min(270px, 36%);
    min-width: 232px;
  }
}

@media (max-width: 767px) {
  .etana-theme-layer-panel {
    left: 0;
    right: 0;
    top: auto;
    bottom: 0;
    width: auto;
    min-width: 0;
  }

  .etana-theme-tray {
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
    background: rgba(255,255,255,var(--etana-theme-panel-mobile-opacity, .92));
  }

  .etana-theme-tray-toggle {
    min-height: 44px;
    grid-template-columns: 1fr auto auto;
    gap: 8px;
  }

  .etana-theme-tray-toggle strong {
    font-size: 13px;
  }

  .etana-theme-tray-toggle i {
    display: inline-flex;
  }

  .etana-theme-tray-body {
    max-height: 42vh;
    overflow: auto;
    padding: 9px 12px 10px;
  }

  .etana-theme-panel-actions {
    position: sticky;
    bottom: -10px;
    background: rgba(255,255,255,var(--etana-theme-panel-mobile-opacity, .92));
    padding-bottom: 2px;
  }

  .etana-theme-chip,
  .etana-theme-category-row {
    min-height: 30px;
    font-size: 10.5px;
  }
}


/* v1.0.56 hover-stability guard */
.etana-theme-chip span,
.etana-theme-category-row span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.etana-theme-layer-panel.is-desktop-panel .etana-theme-chip:hover:not(.is-active),
.etana-theme-layer-panel.is-desktop-panel .etana-theme-category-row:hover:not(.is-active) {
  background: rgba(49,103,154,.10);
}


/* v1.0.56.2 hard reflow-loop guard */
.etana-theme-layer-panel {
  contain: layout paint style;
}

.etana-theme-tray,
.etana-theme-tray-body,
.etana-theme-layer-list,
.etana-theme-panel-rows {
  contain: layout paint;
}

.etana-theme-chip,
.etana-theme-category-row,
.etana-theme-reset,
.etana-theme-view-results {
  transition: background-color .12s ease, color .12s ease, opacity .12s ease !important;
  transform: none !important;
  will-change: auto !important;
}

.etana-theme-layer-panel.is-desktop-panel .etana-theme-chip,
.etana-theme-layer-panel.is-desktop-panel .etana-theme-category-row {
  height: 24px;
  min-height: 24px;
  max-height: 24px;
}


/* v1.0.56.21 — neighboring provincial borders visibility/order guard */
.etana-regional-map .etana-neighbor-admin-border {
  pointer-events: none;
  vector-effect: non-scaling-stroke;
}


/* v1.0.56.24 — server-first latest panel paint */
.etana-posts-panel[data-server-first-panel="1"] .etana-posts-list {
  min-height: 0;
}


/* v1.0.56.25 — Latest tags by region */
.etana-map-canvas {
  position: relative;
}

.etana-region-tags-overlay {
  position: absolute;
  left: 50%;
  top: 24%;
  z-index: 735;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  max-width: min(360px, calc(100% - 28px));
  transform: translate(-50%, -8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.etana-region-tags-overlay.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
  pointer-events: auto;
}

.etana-region-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 130px;
  min-height: 28px;
  padding: 5px 11px;
  border: 1px solid rgba(49, 103, 154, 0.35);
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.92);
  color: #174f7c;
  font-size: 12px;
  font-weight: 750;
  line-height: 1;
  text-decoration: none !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow: none;
  backdrop-filter: blur(4px);
}

.etana-region-tag:hover,
.etana-region-tag:focus-visible {
  border-color: rgba(49, 103, 154, 0.68);
  background: #fff;
  color: #0f416a;
  outline: 2px solid rgba(49, 103, 154, 0.22);
  outline-offset: 2px;
}

.etana-theme-region-tags {
  display: grid;
  gap: 8px;
  margin: 10px 0 14px;
}

.etana-theme-region-tags > span {
  display: block;
  color: #315a7d;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .075em;
  line-height: 1;
  text-transform: uppercase;
}

.etana-theme-region-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.etana-theme-region-tags .etana-region-tag {
  min-height: 26px;
  padding: 5px 10px;
  font-size: 12px;
  background: rgba(255, 255, 255, 0.86);
}

@media (max-width: 767px), (hover: none) {
  .etana-region-tags-overlay {
    display: none !important;
  }

  .etana-theme-region-tags {
    margin: 8px 0 14px;
  }

  .etana-theme-region-tags .etana-region-tag {
    max-width: 100%;
  }
}


/* v1.0.56.26 — collision-aware latest tags overlay */
.etana-region-tags-overlay {
  will-change: opacity, transform, left, top;
}

.etana-region-tags-overlay .etana-region-tag {
  position: relative;
  z-index: 1;
}


/* v1.0.56.27 — mobile Theme tray hard-open guard */
@media (max-width: 767px), (hover: none) {
  .etana-theme-layer-panel.is-touch-tray {
    pointer-events: auto;
    touch-action: manipulation;
  }

  .etana-theme-layer-panel.is-touch-tray .etana-theme-tray-toggle,
  .etana-theme-layer-panel.is-touch-tray .etana-theme-chip,
  .etana-theme-layer-panel.is-touch-tray .etana-theme-category-row,
  .etana-theme-layer-panel.is-touch-tray .etana-theme-reset,
  .etana-theme-layer-panel.is-touch-tray .etana-theme-view-results {
    touch-action: manipulation;
  }

  .etana-theme-layer-panel.is-touch-tray.is-expanded .etana-theme-tray-body {
    display: block;
  }
}


/* v1.0.56.28 — iOS region touch hit-test fallback */
@media (max-width: 767px), (hover: none) {
  .etana-map-canvas .leaflet-tooltip,
  .etana-map-canvas .leaflet-marker-icon,
  .etana-map-canvas .etana-city-label,
  .etana-map-canvas .etana-admin-label,
  .etana-map-canvas .etana-geo-label,
  .etana-map-canvas .etana-geo-label-icon {
    pointer-events: none !important;
  }

  .etana-map-canvas .leaflet-container,
  .etana-map-canvas .leaflet-pane,
  .etana-map-canvas .leaflet-overlay-pane svg,
  .etana-map-canvas .leaflet-interactive {
    -webkit-tap-highlight-color: transparent;
  }
}


/* v1.0.56.29 — usage hint and mobile manual tray open */
.etana-map-usage-hint {
  display: none;
}

.etana-map-usage-hint__mobile {
  display: none;
}

@media (max-width: 767px), (hover: none) {
  .etana-map-usage-hint {
    display: block;
    left: 12px;
    right: 12px;
    top: 10px;
    max-width: none;
    padding: 7px 9px;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.86);
    font-size: 10.5px;
    line-height: 1.25;
  }

  .etana-map-usage-hint__desktop {
    display: none;
  }

  .etana-map-usage-hint__mobile {
    display: inline;
  }
}


/* v1.0.56.30 — desktop pinned Latest Tags toolbar */
.etana-desktop-region-tags-bar {
  position: absolute;
  left: 18px;
  top: 18px;
  z-index: 742;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px 12px;
  max-width: min(620px, calc(100% - 36px));
  min-height: 38px;
  padding: 7px 9px 7px 11px;
  border: 1px solid rgba(49, 103, 154, 0.18);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.86);
  color: #243244;
  box-shadow: none;
  backdrop-filter: blur(7px);
}

.etana-desktop-region-tags-bar[hidden] {
  display: none !important;
}

.etana-desktop-region-tags-context {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  min-width: 0;
  padding-right: 2px;
}

.etana-desktop-region-tags-label {
  color: #31679a;
  font-size: 9px;
  font-weight: 950;
  letter-spacing: .07em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.etana-desktop-region-tags-context strong {
  max-width: 180px;
  overflow: hidden;
  color: #243244;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.etana-desktop-region-tags-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  min-width: 0;
}

.etana-desktop-region-tags-bar .etana-region-tag {
  max-width: 150px;
  min-height: 26px;
  padding: 5px 10px;
  border-color: rgba(49, 103, 154, 0.28);
  background: rgba(255, 255, 255, 0.94);
  font-size: 11px;
  font-weight: 800;
}

.etana-desktop-region-tags-bar .etana-region-tag:hover,
.etana-desktop-region-tags-bar .etana-region-tag:focus-visible {
  border-color: #31679a;
  background: rgba(49, 103, 154, 0.08);
  color: #174f7c;
}

@media (max-width: 767px), (hover: none) {
  .etana-desktop-region-tags-bar {
    display: none !important;
  }

  .etana-map-usage-hint {
    display: block;
  }
}


/* v1.0.56.31 — square-corner ETANA UI
   Removes rounded styling from every plugin frontend component. */
.etana-regions-layout,
.etana-regions-layout *,
.etana-regions-layout *::before,
.etana-regions-layout *::after,
.etana-filter-results-header,
.etana-filter-results-header *,
.etana-filter-results-header *::before,
.etana-filter-results-header *::after,
.etana-study-map,
.etana-study-map *,
.etana-study-map *::before,
.etana-study-map *::after {
  border-radius: 0 !important;
}

/* Leaflet elements may be generated outside normal component class rules. */
.etana-map-canvas,
.etana-map-canvas *,
.etana-map-canvas *::before,
.etana-map-canvas *::after,
.etana-map-stage .leaflet-container,
.etana-map-stage .leaflet-control,
.etana-map-stage .leaflet-control *,
.etana-map-stage .leaflet-tooltip,
.etana-map-stage .leaflet-popup,
.etana-map-stage .leaflet-popup-content-wrapper,
.etana-map-stage .leaflet-popup-tip,
.etana-map-stage .leaflet-marker-icon,
.etana-map-stage .leaflet-div-icon {
  border-radius: 0 !important;
}

/* Strong explicit selectors for themes with high-specificity component styles. */
.etana-map-stage,
.etana-map-canvas,
.etana-posts-panel,
.etana-post-card,
.etana-panel-cta,
.etana-map-chip,
.etana-theme-layer-panel,
.etana-theme-tray,
.etana-theme-tray-toggle,
.etana-theme-chip,
.etana-theme-category-row,
.etana-theme-reset,
.etana-theme-view-results,
.etana-region-tag,
.etana-desktop-region-tags-bar,
.etana-map-usage-hint,
.etana-explore-tag,
.etana-filter-results-header__chip,
.etana-filter-results-header__clear,
.etana-city-label,
.etana-admin-label,
.etana-region-tooltip,
.etana-event-popup,
.etana-event-marker {
  border-radius: 0 !important;
}


/* v1.0.56.32 — compact click-pinned Latest Tags bar */
.etana-desktop-region-tags-bar {
  left: 12px;
  top: 8px;
  gap: 6px 9px;
  max-width: min(540px, calc(100% - 24px));
  min-height: 30px;
  padding: 4px 6px 4px 8px;
  border: 1px solid rgba(49, 103, 154, 0.16);
  border-radius: 0 !important;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(6px);
}

.etana-desktop-region-tags-context {
  gap: 5px;
  padding-right: 1px;
}

.etana-desktop-region-tags-label {
  font-size: 8px;
  letter-spacing: .065em;
}

.etana-desktop-region-tags-context strong {
  max-width: 150px;
  font-size: 10px;
  line-height: 1;
}

.etana-desktop-region-tags-list {
  gap: 5px;
}

.etana-desktop-region-tags-bar .etana-region-tag {
  max-width: 125px;
  min-height: 22px;
  padding: 4px 7px;
  border: 1px solid rgba(49, 103, 154, 0.24);
  border-radius: 0 !important;
  background: rgba(255, 255, 255, 0.96);
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
}

.etana-desktop-region-tags-bar .etana-region-tag:hover,
.etana-desktop-region-tags-bar .etana-region-tag:focus-visible {
  border-color: rgba(49, 103, 154, 0.58);
  background: rgba(49, 103, 154, 0.07);
  outline: 1px solid rgba(49, 103, 154, 0.22);
  outline-offset: 1px;
}


/* v1.0.56.33 — click-only Theme Box + map stage background */
.etana-map-stage {
  background: #FEFEFE !important;
}


/* v1.0.56.34 — Subject label, border hierarchy, unified controls, compact publications */

/* 1) One clearer outer frame; lighter internal borders. */
.etana-regions-layout,
.etana-map-stage,
.etana-posts-panel {
  border-color: rgba(49, 103, 154, 0.22) !important;
}

.etana-map-canvas,
.etana-posts-head,
.etana-post-card,
.etana-theme-layer-panel,
.etana-theme-panel-section,
.etana-theme-panel-rows,
.etana-theme-layer-list,
.etana-desktop-region-tags-bar {
  border-color: rgba(49, 103, 154, 0.12) !important;
}

.etana-theme-chip,
.etana-theme-category-row,
.etana-filter-results-header__chip,
.etana-filter-results-header__clear,
.etana-post-meta,
.etana-explore-tags {
  border-color: rgba(49, 103, 154, 0.09) !important;
}

.etana-map-stage,
.etana-posts-panel,
.etana-post-card {
  box-shadow: none !important;
}

/* 3) Unified 24px height for compact controls. */
.etana-theme-chip,
.etana-theme-category-row,
.etana-theme-reset,
.etana-theme-view-results,
.etana-region-tag,
.etana-desktop-region-tags-bar .etana-region-tag,
.etana-explore-tag,
.etana-filter-results-header__chip,
.etana-filter-results-header__clear {
  min-height: 24px !important;
  height: 24px !important;
  max-height: 24px !important;
  padding-top: 4px !important;
  padding-bottom: 4px !important;
  line-height: 1 !important;
}

.etana-theme-chip,
.etana-theme-category-row,
.etana-theme-reset,
.etana-theme-view-results {
  display: flex;
  align-items: center;
}

.etana-theme-reset,
.etana-theme-view-results {
  justify-content: center;
}

/* 5) Lighter, less dense Latest publications layout. */
.etana-posts-panel {
  padding: 16px 18px !important;
}

.etana-posts-head {
  margin-bottom: 10px !important;
  padding-bottom: 10px !important;
}

.etana-posts-list {
  gap: 8px !important;
}

.etana-post-card {
  margin: 0 !important;
  padding: 10px 12px !important;
}

.etana-post-card h4 {
  margin: 0 0 4px !important;
  line-height: 1.22 !important;
}

.etana-post-card p {
  margin: 0 !important;
  line-height: 1.34 !important;
}

.etana-post-meta {
  margin-bottom: 5px !important;
}

.etana-posts-panel .etana-explore-tags {
  margin-top: 9px !important;
  padding-top: 8px !important;
  gap: 6px !important;
}

@media (max-width: 767px) {
  .etana-posts-panel {
    padding: 14px !important;
  }

  .etana-post-card {
    padding: 9px 10px !important;
  }
}


/* v1.0.56.36 — reliable long-tag truncation + desktop instruction */

/* Reserve room for the top-right instruction on wide desktop layouts. */
.etana-desktop-region-tags-bar {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  align-items: center;
  width: fit-content;
  min-width: 0;
  max-width: min(650px, calc(100% - 300px));
}

.etana-desktop-region-tags-context,
.etana-desktop-region-tags-list {
  min-width: 0;
}

.etana-desktop-region-tags-list {
  flex-wrap: nowrap;
  overflow: hidden;
}

/* Long tags keep their beginning and truncate only at the end. */
.etana-region-tag {
  min-width: 0;
}

.etana-desktop-region-tags-bar .etana-region-tag {
  display: inline-flex;
  flex: 0 1 auto;
  align-items: center;
  justify-content: flex-start;
  min-width: 0;
  max-width: 190px;
  overflow: hidden;
  text-align: left;
  direction: ltr;
}

.etana-region-tag__label {
  display: block;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Minimal desktop guidance, positioned independently from Latest Tags. */
.etana-desktop-map-instruction {
  position: absolute;
  top: 8px;
  right: 12px;
  z-index: 741;
  max-width: 260px;
  padding: 6px 9px 6px 10px;
  border: 0;
  border-left: 2px solid #31679A;
  border-radius: 0 !important;
  background: rgba(254, 254, 254, 0.90);
  color: #3E5161;
  font-size: 10px;
  font-weight: 750;
  line-height: 1.3;
  letter-spacing: .005em;
  pointer-events: none;
  box-shadow: none;
  backdrop-filter: blur(5px);
}

/* At narrower desktop widths, stack the instruction below the tag bar. */
@media (min-width: 768px) and (max-width: 1050px) {
  .etana-desktop-region-tags-bar {
    max-width: calc(100% - 24px);
  }

  .etana-desktop-map-instruction {
    top: 42px;
    right: 12px;
    max-width: 230px;
  }
}

@media (max-width: 767px), (hover: none) {
  .etana-desktop-map-instruction {
    display: none !important;
  }
}


/* v1.0.56.37 — unified map instruction controls */
.etana-map-instruction {
  position: absolute;
  top: 8px;
  right: 12px;
  z-index: 743;
  max-width: 260px;
  padding: 6px 9px 6px 10px;
  border: 0;
  border-left: 2px solid var(--etana-map-instruction-accent, #31679A);
  border-radius: 0 !important;
  background: var(--etana-map-instruction-background, #FEFEFE);
  color: var(--etana-map-instruction-text-color, #3E5161);
  font-size: var(--etana-map-instruction-font-size, 10px);
  font-weight: var(--etana-map-instruction-font-weight, 700);
  line-height: 1.3;
  letter-spacing: .005em;
  pointer-events: none;
  box-shadow: none;
}

/* Keep enough room between the instruction and Latest Tags on wide screens. */
@media (min-width: 1051px) {
  .etana-desktop-region-tags-bar {
    max-width: min(650px, calc(100% - 300px));
  }
}

@media (min-width: 768px) and (max-width: 1050px) {
  .etana-map-instruction {
    top: 42px;
    right: 12px;
    max-width: 230px;
  }
}

/* Same note on mobile, smaller and aligned across the top of the map. */
@media (max-width: 767px), (hover: none) {
  .etana-map-instruction {
    display: block !important;
    top: 7px;
    right: 8px;
    left: 8px;
    max-width: none;
    padding: 5px 7px 5px 8px;
    border-left-width: 2px;
    font-size: var(--etana-map-instruction-mobile-font-size, 9px);
    line-height: 1.25;
  }

  /* The old split mobile hint is deprecated and must not duplicate the unified note. */
  .etana-map-usage-hint {
    display: none !important;
  }
}


/* v1.0.56.38 — separate desktop and mobile map instructions */

/* Restore the previous compact desktop note design. */
.etana-desktop-map-instruction {
  position: absolute;
  top: 8px;
  right: 12px;
  z-index: 743;
  max-width: 260px;
  padding: 6px 9px 6px 10px;
  border: 0;
  border-left: 2px solid var(--etana-desktop-instruction-accent, #31679A);
  border-radius: 0 !important;
  background: var(--etana-desktop-instruction-background, #FEFEFE);
  color: var(--etana-desktop-instruction-text-color, #3E5161);
  font-size: var(--etana-desktop-instruction-font-size, 10px);
  font-weight: var(--etana-desktop-instruction-font-weight, 750);
  line-height: 1.3;
  letter-spacing: .005em;
  pointer-events: none;
  box-shadow: none;
  backdrop-filter: blur(5px);
}

/* Mobile-only version. */
.etana-mobile-map-instruction {
  display: none;
}

@media (min-width: 768px) and (max-width: 1050px) {
  .etana-desktop-map-instruction {
    top: 42px;
    right: 12px;
    max-width: 230px;
  }
}

@media (max-width: 767px), (hover: none) {
  .etana-desktop-map-instruction {
    display: none !important;
  }

  .etana-mobile-map-instruction {
    position: absolute;
    display: block !important;
    top: 7px;
    right: 8px;
    left: 8px;
    z-index: 743;
    max-width: none;
    padding: 5px 7px 5px 8px;
    border: 0;
    border-left: 2px solid var(--etana-mobile-instruction-accent, #31679A);
    border-radius: 0 !important;
    background: var(--etana-mobile-instruction-background, #FEFEFE);
    color: var(--etana-mobile-instruction-text-color, #3E5161);
    font-size: var(--etana-mobile-instruction-font-size, 9px);
    font-weight: var(--etana-mobile-instruction-font-weight, 700);
    line-height: 1.25;
    pointer-events: none;
    box-shadow: none;
  }

  .etana-map-instruction,
  .etana-map-usage-hint {
    display: none !important;
  }
}


/* v1.0.56.39 — explanatory exclamation icon */
.etana-desktop-map-instruction,
.etana-mobile-map-instruction {
  align-items: center;
  gap: 7px;
}

.etana-desktop-map-instruction {
  display: inline-flex;
}

.etana-map-instruction-icon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border: 1px solid currentColor;
  border-radius: 0 !important;
  color: var(--etana-desktop-instruction-accent, #31679A);
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
}

.etana-map-instruction-text {
  min-width: 0;
}

@media (max-width: 767px), (hover: none) {
  .etana-mobile-map-instruction {
    align-items: center;
    gap: 6px;
  }

  .etana-mobile-map-instruction .etana-map-instruction-icon {
    width: 15px;
    height: 15px;
    color: var(--etana-mobile-instruction-accent, #31679A);
    font-size: 9px;
  }
}


/* v1.0.56.40 — borderless explanatory icon */
.etana-map-instruction-icon {
  width: auto !important;
  height: auto !important;
  border: 0 !important;
  background: transparent !important;
  padding: 0 !important;
  font-size: 13px;
  line-height: 1;
}

@media (max-width: 767px), (hover: none) {
  .etana-mobile-map-instruction .etana-map-instruction-icon {
    width: auto !important;
    height: auto !important;
    border: 0 !important;
    font-size: 11px;
  }
}


/* v1.0.56.42 — the tag itself expands on hover/focus */
.etana-desktop-region-tags-list {
  overflow: visible !important;
}

.etana-desktop-region-tags-bar .etana-region-tag {
  position: relative;
  z-index: 1;
  max-width: 190px;
  transition:
    max-width .18s ease,
    padding .18s ease,
    transform .18s ease,
    box-shadow .18s ease,
    border-color .18s ease,
    background-color .18s ease;
  transform-origin: left center;
}

@media (hover: hover) and (pointer: fine) {
  .etana-desktop-region-tags-bar .etana-region-tag:hover,
  .etana-desktop-region-tags-bar .etana-region-tag:focus-visible {
    z-index: 20;
    flex: 0 0 auto;
    max-width: min(330px, 62vw);
    height: auto !important;
    max-height: none !important;
    min-height: 26px !important;
    padding: 6px 10px !important;
    overflow: visible;
    background: #ffffff;
    border-color: rgba(49, 103, 154, 0.42) !important;
    box-shadow: 0 8px 18px rgba(17, 35, 58, 0.13);
    transform: translateY(-3px);
  }

  .etana-desktop-region-tags-bar .etana-region-tag:hover .etana-region-tag__label,
  .etana-desktop-region-tags-bar .etana-region-tag:focus-visible .etana-region-tag__label {
    max-width: none;
    overflow: visible;
    text-overflow: clip;
    white-space: nowrap;
  }
}


/* v1.0.56.43 — backend-controlled Latest Tags Bar design */
.etana-desktop-region-tags-bar {
  font-family: var(--etana-latest-tags-font-family, inherit);
  background: var(--etana-latest-tags-bar-bg, rgba(255, 255, 255, 0.88));
  border-color: var(--etana-latest-tags-bar-border, rgba(52, 88, 123, 0.16));
  backdrop-filter: blur(var(--etana-latest-tags-bar-blur, 6px));
  max-width: min(var(--etana-latest-tags-bar-max-width, 650px), calc(100% - 24px));
}

.etana-desktop-region-tags-label {
  color: var(--etana-latest-tags-label-color, #34587B);
  font-size: var(--etana-latest-tags-label-font-size, 8px);
  font-weight: var(--etana-latest-tags-label-font-weight, 950);
}

.etana-desktop-region-tags-context strong {
  color: var(--etana-latest-tags-region-color, #243244);
  font-size: var(--etana-latest-tags-region-font-size, 10px);
  font-weight: var(--etana-latest-tags-region-font-weight, 900);
}

.etana-desktop-region-tags-bar .etana-region-tag {
  max-width: var(--etana-latest-tag-max-width, 190px);
  background: var(--etana-latest-tag-bg, rgba(255, 255, 255, 0.96));
  border-color: var(--etana-latest-tag-border, rgba(52, 88, 123, 0.24));
  color: var(--etana-latest-tag-text, #34587B);
  font-size: var(--etana-latest-tag-font-size, 10px);
  font-weight: var(--etana-latest-tag-font-weight, 800);
}

@media (min-width: 1051px) {
  .etana-desktop-region-tags-bar {
    max-width: min(var(--etana-latest-tags-bar-max-width, 650px), calc(100% - 300px));
  }
}

@media (hover: hover) and (pointer: fine) {
  .etana-desktop-region-tags-bar .etana-region-tag:hover,
  .etana-desktop-region-tags-bar .etana-region-tag:focus-visible {
    max-width: min(var(--etana-latest-tag-expanded-max-width, 330px), 62vw);
    background: var(--etana-latest-tag-hover-bg, #FFFFFF);
    border-color: var(--etana-latest-tag-hover-border, rgba(52, 88, 123, 0.42)) !important;
    color: var(--etana-latest-tag-hover-text, #34587B);
    outline-color: var(--etana-latest-tag-hover-border, rgba(52, 88, 123, 0.42));
    box-shadow: 0 8px 18px var(--etana-latest-tag-hover-shadow, rgba(52, 88, 123, 0.13));
    transform: translateY(calc(-1 * var(--etana-latest-tag-hover-lift, 3px)));
  }
}


/* v1.0.56.45 — dark mode color polish */
:where(
  html.dark,
  body.dark,
  body.dark-mode,
  body.is-dark,
  body.is-dark-mode,
  body.dark-scheme,
  body.theme-dark,
  body[data-theme="dark"],
  html[data-theme="dark"],
  .dark-mode,
  .is-dark-mode
) .etana-regions-layout,
:where(
  html.dark,
  body.dark,
  body.dark-mode,
  body.is-dark,
  body.is-dark-mode,
  body.dark-scheme,
  body.theme-dark,
  body[data-theme="dark"],
  html[data-theme="dark"],
  .dark-mode,
  .is-dark-mode
) .etana-filter-results-header {
  --etana-primary: #7BAFDF;
  --etana-title-color: #F3F7FC;
  --etana-text-color: #B8C8D8;
  --etana-border-color: rgba(123, 175, 223, .16);
  --etana-section-bg: #0A131C;
  --etana-panel-bg: #0A131C;
  --etana-latest-tags-bar-bg: rgba(10, 19, 28, 0.90);
  --etana-latest-tags-bar-border: rgba(123, 175, 223, 0.24);
  --etana-latest-tags-label-color: #93BCE4;
  --etana-latest-tags-region-color: #F3F7FC;
  --etana-latest-tag-bg: rgba(19, 33, 47, 0.96);
  --etana-latest-tag-border: rgba(123, 175, 223, 0.24);
  --etana-latest-tag-text: #D9E9FA;
  --etana-latest-tag-hover-bg: rgba(37, 63, 88, 0.96);
  --etana-latest-tag-hover-border: rgba(160, 199, 236, 0.42);
  --etana-latest-tag-hover-text: #FFFFFF;
  --etana-latest-tag-hover-shadow: rgba(0, 0, 0, 0.28);
  --etana-desktop-instruction-background: rgba(10, 19, 28, 0.88);
  --etana-desktop-instruction-text-color: #C8D9EA;
  --etana-desktop-instruction-accent: #93BCE4;
  --etana-mobile-instruction-background: rgba(10, 19, 28, 0.90);
  --etana-mobile-instruction-text-color: #C8D9EA;
  --etana-mobile-instruction-accent: #93BCE4;
}

:where(
  html.dark,
  body.dark,
  body.dark-mode,
  body.is-dark,
  body.is-dark-mode,
  body.dark-scheme,
  body.theme-dark,
  body[data-theme="dark"],
  html[data-theme="dark"],
  .dark-mode,
  .is-dark-mode
) .etana-map-stage,
:where(
  html.dark,
  body.dark,
  body.dark-mode,
  body.is-dark,
  body.is-dark-mode,
  body.dark-scheme,
  body.theme-dark,
  body[data-theme="dark"],
  html[data-theme="dark"],
  .dark-mode,
  .is-dark-mode
) .etana-posts-panel {
  background: #0A131C !important;
  border-color: rgba(123, 175, 223, .18) !important;
}

:where(
  html.dark,
  body.dark,
  body.dark-mode,
  body.is-dark,
  body.is-dark-mode,
  body.dark-scheme,
  body.theme-dark,
  body[data-theme="dark"],
  html[data-theme="dark"],
  .dark-mode,
  .is-dark-mode
) .etana-map-stage {
  background: #0A131C !important;
}

:where(
  html.dark,
  body.dark,
  body.dark-mode,
  body.is-dark,
  body.is-dark-mode,
  body.dark-scheme,
  body.theme-dark,
  body[data-theme="dark"],
  html[data-theme="dark"],
  .dark-mode,
  .is-dark-mode
) .etana-map-canvas,
:where(
  html.dark,
  body.dark,
  body.dark-mode,
  body.is-dark,
  body.is-dark-mode,
  body.dark-scheme,
  body.theme-dark,
  body[data-theme="dark"],
  html[data-theme="dark"],
  .dark-mode,
  .is-dark-mode
) .etana-map-stage .leaflet-container {
  background: linear-gradient(180deg, #0B1621 0%, #09131C 100%) !important;
  border-color: rgba(123, 175, 223, .14) !important;
}

:where(
  html.dark,
  body.dark,
  body.dark-mode,
  body.is-dark,
  body.is-dark-mode,
  body.dark-scheme,
  body.theme-dark,
  body[data-theme="dark"],
  html[data-theme="dark"],
  .dark-mode,
  .is-dark-mode
) .etana-posts-head,
:where(
  html.dark,
  body.dark,
  body.dark-mode,
  body.is-dark,
  body.is-dark-mode,
  body.dark-scheme,
  body.theme-dark,
  body[data-theme="dark"],
  html[data-theme="dark"],
  .dark-mode,
  .is-dark-mode
) .etana-posts-panel .etana-explore-tags,
:where(
  html.dark,
  body.dark,
  body.dark-mode,
  body.is-dark,
  body.is-dark-mode,
  body.dark-scheme,
  body.theme-dark,
  body[data-theme="dark"],
  html[data-theme="dark"],
  .dark-mode,
  .is-dark-mode
) .etana-post-card,
:where(
  html.dark,
  body.dark,
  body.dark-mode,
  body.is-dark,
  body.is-dark-mode,
  body.dark-scheme,
  body.theme-dark,
  body[data-theme="dark"],
  html[data-theme="dark"],
  .dark-mode,
  .is-dark-mode
) .etana-theme-layer-panel,
:where(
  html.dark,
  body.dark,
  body.dark-mode,
  body.is-dark,
  body.is-dark-mode,
  body.dark-scheme,
  body.theme-dark,
  body[data-theme="dark"],
  html[data-theme="dark"],
  .dark-mode,
  .is-dark-mode
) .etana-theme-panel-section,
:where(
  html.dark,
  body.dark,
  body.dark-mode,
  body.is-dark,
  body.is-dark-mode,
  body.dark-scheme,
  body.theme-dark,
  body[data-theme="dark"],
  html[data-theme="dark"],
  .dark-mode,
  .is-dark-mode
) .etana-theme-panel-rows,
:where(
  html.dark,
  body.dark,
  body.dark-mode,
  body.is-dark,
  body.is-dark-mode,
  body.dark-scheme,
  body.theme-dark,
  body[data-theme="dark"],
  html[data-theme="dark"],
  .dark-mode,
  .is-dark-mode
) .etana-theme-layer-list,
:where(
  html.dark,
  body.dark,
  body.dark-mode,
  body.is-dark,
  body.is-dark-mode,
  body.dark-scheme,
  body.theme-dark,
  body[data-theme="dark"],
  html[data-theme="dark"],
  .dark-mode,
  .is-dark-mode
) .etana-desktop-region-tags-bar {
  border-color: rgba(123, 175, 223, .16) !important;
}

:where(
  html.dark,
  body.dark,
  body.dark-mode,
  body.is-dark,
  body.is-dark-mode,
  body.dark-scheme,
  body.theme-dark,
  body[data-theme="dark"],
  html[data-theme="dark"],
  .dark-mode,
  .is-dark-mode
) .etana-post-card {
  background: #0F1B27 !important;
}

:where(
  html.dark,
  body.dark,
  body.dark-mode,
  body.is-dark,
  body.is-dark-mode,
  body.dark-scheme,
  body.theme-dark,
  body[data-theme="dark"],
  html[data-theme="dark"],
  .dark-mode,
  .is-dark-mode
) .etana-post-card:hover {
  background: #132334 !important;
  border-color: rgba(123, 175, 223, .24) !important;
  box-shadow: none !important;
}

:where(
  html.dark,
  body.dark,
  body.dark-mode,
  body.is-dark,
  body.is-dark-mode,
  body.dark-scheme,
  body.theme-dark,
  body[data-theme="dark"],
  html[data-theme="dark"],
  .dark-mode,
  .is-dark-mode
) .etana-post-cat {
  background: rgba(123, 175, 223, .12) !important;
  color: #D5E6F8 !important;
}

:where(
  html.dark,
  body.dark,
  body.dark-mode,
  body.is-dark,
  body.is-dark-mode,
  body.dark-scheme,
  body.theme-dark,
  body[data-theme="dark"],
  html[data-theme="dark"],
  .dark-mode,
  .is-dark-mode
) .etana-posts-panel .etana-explore-label {
  color: #8EA9C6 !important;
}

:where(
  html.dark,
  body.dark,
  body.dark-mode,
  body.is-dark,
  body.is-dark-mode,
  body.dark-scheme,
  body.theme-dark,
  body[data-theme="dark"],
  html[data-theme="dark"],
  .dark-mode,
  .is-dark-mode
) .etana-posts-panel .etana-explore-tag {
  background: rgba(18, 33, 48, .9) !important;
  border-color: rgba(123, 175, 223, .18) !important;
  color: #D5E6F8 !important;
}

:where(
  html.dark,
  body.dark,
  body.dark-mode,
  body.is-dark,
  body.is-dark-mode,
  body.dark-scheme,
  body.theme-dark,
  body[data-theme="dark"],
  html[data-theme="dark"],
  .dark-mode,
  .is-dark-mode
) .etana-posts-panel .etana-explore-tag::before {
  color: #8FB9E3 !important;
}

:where(
  html.dark,
  body.dark,
  body.dark-mode,
  body.is-dark,
  body.is-dark-mode,
  body.dark-scheme,
  body.theme-dark,
  body[data-theme="dark"],
  html[data-theme="dark"],
  .dark-mode,
  .is-dark-mode
) .etana-posts-panel .etana-explore-tag:hover {
  background: #34587B !important;
  border-color: #34587B !important;
  color: #FFFFFF !important;
}

:where(
  html.dark,
  body.dark,
  body.dark-mode,
  body.is-dark,
  body.is-dark-mode,
  body.dark-scheme,
  body.theme-dark,
  body[data-theme="dark"],
  html[data-theme="dark"],
  .dark-mode,
  .is-dark-mode
) .etana-theme-tray {
  background: rgba(10, 19, 28, .78) !important;
  border-left-color: rgba(123, 175, 223, .18) !important;
  border-top-color: rgba(123, 175, 223, .18) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

:where(
  html.dark,
  body.dark,
  body.dark-mode,
  body.is-dark,
  body.is-dark-mode,
  body.dark-scheme,
  body.theme-dark,
  body[data-theme="dark"],
  html[data-theme="dark"],
  .dark-mode,
  .is-dark-mode
) .etana-theme-tray-toggle {
  background: rgba(52, 88, 123, .96) !important;
}

:where(
  html.dark,
  body.dark,
  body.dark-mode,
  body.is-dark,
  body.is-dark-mode,
  body.dark-scheme,
  body.theme-dark,
  body[data-theme="dark"],
  html[data-theme="dark"],
  .dark-mode,
  .is-dark-mode
) .etana-theme-panel-summary,
:where(
  html.dark,
  body.dark,
  body.dark-mode,
  body.is-dark,
  body.is-dark-mode,
  body.dark-scheme,
  body.theme-dark,
  body[data-theme="dark"],
  html[data-theme="dark"],
  .dark-mode,
  .is-dark-mode
) .etana-theme-panel-actions {
  border-color: rgba(123, 175, 223, .14) !important;
}

:where(
  html.dark,
  body.dark,
  body.dark-mode,
  body.is-dark,
  body.is-dark-mode,
  body.dark-scheme,
  body.theme-dark,
  body[data-theme="dark"],
  html[data-theme="dark"],
  .dark-mode,
  .is-dark-mode
) .etana-theme-layer-list,
:where(
  html.dark,
  body.dark,
  body.dark-mode,
  body.is-dark,
  body.is-dark-mode,
  body.dark-scheme,
  body.theme-dark,
  body[data-theme="dark"],
  html[data-theme="dark"],
  .dark-mode,
  .is-dark-mode
) .etana-theme-panel-rows {
  background: rgba(255, 255, 255, .03) !important;
  border-color: rgba(123, 175, 223, .12) !important;
}

:where(
  html.dark,
  body.dark,
  body.dark-mode,
  body.is-dark,
  body.is-dark-mode,
  body.dark-scheme,
  body.theme-dark,
  body[data-theme="dark"],
  html[data-theme="dark"],
  .dark-mode,
  .is-dark-mode
) .etana-theme-chip,
:where(
  html.dark,
  body.dark,
  body.dark-mode,
  body.is-dark,
  body.is-dark-mode,
  body.dark-scheme,
  body.theme-dark,
  body[data-theme="dark"],
  html[data-theme="dark"],
  .dark-mode,
  .is-dark-mode
) .etana-theme-category-row {
  color: #EEF4FB !important;
  border-bottom-color: rgba(123, 175, 223, .10) !important;
}

:where(
  html.dark,
  body.dark,
  body.dark-mode,
  body.is-dark,
  body.is-dark-mode,
  body.dark-scheme,
  body.theme-dark,
  body[data-theme="dark"],
  html[data-theme="dark"],
  .dark-mode,
  .is-dark-mode
) .etana-theme-chip em,
:where(
  html.dark,
  body.dark,
  body.dark-mode,
  body.is-dark,
  body.is-dark-mode,
  body.dark-scheme,
  body.theme-dark,
  body[data-theme="dark"],
  html[data-theme="dark"],
  .dark-mode,
  .is-dark-mode
) .etana-theme-category-row em {
  color: #9FC3E8 !important;
}

:where(
  html.dark,
  body.dark,
  body.dark-mode,
  body.is-dark,
  body.is-dark-mode,
  body.dark-scheme,
  body.theme-dark,
  body[data-theme="dark"],
  html[data-theme="dark"],
  .dark-mode,
  .is-dark-mode
) .etana-theme-chip:hover,
:where(
  html.dark,
  body.dark,
  body.dark-mode,
  body.is-dark,
  body.is-dark-mode,
  body.dark-scheme,
  body.theme-dark,
  body[data-theme="dark"],
  html[data-theme="dark"],
  .dark-mode,
  .is-dark-mode
) .etana-theme-chip:focus,
:where(
  html.dark,
  body.dark,
  body.dark-mode,
  body.is-dark,
  body.is-dark-mode,
  body.dark-scheme,
  body.theme-dark,
  body[data-theme="dark"],
  html[data-theme="dark"],
  .dark-mode,
  .is-dark-mode
) button.etana-theme-category-row:hover,
:where(
  html.dark,
  body.dark,
  body.dark-mode,
  body.is-dark,
  body.is-dark-mode,
  body.dark-scheme,
  body.theme-dark,
  body[data-theme="dark"],
  html[data-theme="dark"],
  .dark-mode,
  .is-dark-mode
) button.etana-theme-category-row:focus {
  background: rgba(123, 175, 223, .10) !important;
}

:where(
  html.dark,
  body.dark,
  body.dark-mode,
  body.is-dark,
  body.is-dark-mode,
  body.dark-scheme,
  body.theme-dark,
  body[data-theme="dark"],
  html[data-theme="dark"],
  .dark-mode,
  .is-dark-mode
) .etana-theme-chip.is-active,
:where(
  html.dark,
  body.dark,
  body.dark-mode,
  body.is-dark,
  body.is-dark-mode,
  body.dark-scheme,
  body.theme-dark,
  body[data-theme="dark"],
  html[data-theme="dark"],
  .dark-mode,
  .is-dark-mode
) .etana-theme-category-row.is-active {
  background: rgba(52, 88, 123, .36) !important;
  box-shadow: inset 3px 0 0 rgba(147, 188, 228, .92) !important;
}

:where(
  html.dark,
  body.dark,
  body.dark-mode,
  body.is-dark,
  body.is-dark-mode,
  body.dark-scheme,
  body.theme-dark,
  body[data-theme="dark"],
  html[data-theme="dark"],
  .dark-mode,
  .is-dark-mode
) .etana-theme-reset {
  background: rgba(255, 255, 255, .04) !important;
  border-color: rgba(123, 175, 223, .18) !important;
  color: #E8F0F8 !important;
}

:where(
  html.dark,
  body.dark,
  body.dark-mode,
  body.is-dark,
  body.is-dark-mode,
  body.dark-scheme,
  body.theme-dark,
  body[data-theme="dark"],
  html[data-theme="dark"],
  .dark-mode,
  .is-dark-mode
) .etana-theme-view-results {
  background: #34587B !important;
  border-color: #34587B !important;
  color: #FFFFFF !important;
}

:where(
  html.dark,
  body.dark,
  body.dark-mode,
  body.is-dark,
  body.is-dark-mode,
  body.dark-scheme,
  body.theme-dark,
  body[data-theme="dark"],
  html[data-theme="dark"],
  .dark-mode,
  .is-dark-mode
) .etana-desktop-map-instruction,
:where(
  html.dark,
  body.dark,
  body.dark-mode,
  body.is-dark,
  body.is-dark-mode,
  body.dark-scheme,
  body.theme-dark,
  body[data-theme="dark"],
  html[data-theme="dark"],
  .dark-mode,
  .is-dark-mode
) .etana-mobile-map-instruction {
  box-shadow: none !important;
}

:where(
  html.dark,
  body.dark,
  body.dark-mode,
  body.is-dark,
  body.is-dark-mode,
  body.dark-scheme,
  body.theme-dark,
  body[data-theme="dark"],
  html[data-theme="dark"],
  .dark-mode,
  .is-dark-mode
) .etana-map-instruction-icon {
  color: #93BCE4 !important;
}

:where(
  html.dark,
  body.dark,
  body.dark-mode,
  body.is-dark,
  body.is-dark-mode,
  body.dark-scheme,
  body.theme-dark,
  body[data-theme="dark"],
  html[data-theme="dark"],
  .dark-mode,
  .is-dark-mode
) .etana-regions-layout .etana-geo-label,
:where(
  html.dark,
  body.dark,
  body.dark-mode,
  body.is-dark,
  body.is-dark-mode,
  body.dark-scheme,
  body.theme-dark,
  body[data-theme="dark"],
  html[data-theme="dark"],
  .dark-mode,
  .is-dark-mode
) .etana-regions-layout .etana-city-label,
:where(
  html.dark,
  body.dark,
  body.dark-mode,
  body.is-dark,
  body.is-dark-mode,
  body.dark-scheme,
  body.theme-dark,
  body[data-theme="dark"],
  html[data-theme="dark"],
  .dark-mode,
  .is-dark-mode
) .etana-regions-layout .etana-admin-label {
  box-shadow: 0 3px 8px rgba(0, 0, 0, .24) !important;
}


/* v1.0.56.47 — remove obsolete duplicate Tap label from mobile tray */
.etana-theme-layer-panel.is-touch-tray .etana-theme-tray-toggle i::after {
  content: none !important;
  display: none !important;
}


/* v1.0.56.50 — reserved map shell and lightweight loading state */
.etana-map-canvas-shell {
  position: relative;
  display: block;
  width: 100%;
  height: var(--etana-map-height);
  min-height: var(--etana-map-height);
  overflow: hidden;
  background: var(--etana-sea-color, #F4F6F8);
}

.etana-map-canvas-shell > .etana-map-canvas {
  height: 100%;
  min-height: 100%;
}

.etana-map-loading {
  position: absolute;
  inset: 0;
  z-index: 650;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 20px;
  background: linear-gradient(135deg, rgba(255, 255, 255, .94), rgba(244, 248, 251, .88));
  color: #34587B;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.25;
  letter-spacing: .01em;
  pointer-events: none;
  opacity: 1;
  visibility: visible;
  transition: opacity 180ms ease, visibility 180ms ease;
}

.etana-map-loading[hidden] {
  display: none !important;
}

.etana-map-loading.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.etana-map-loading-dot {
  display: inline-block;
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  background: #34587B;
  border-radius: 0 !important;
  animation: etana-map-loading-pulse 1s ease-in-out infinite;
}

.etana-map-loading.is-error {
  color: #7B3434;
  background: rgba(255, 250, 250, .96);
}

.etana-map-loading.is-error .etana-map-loading-dot {
  background: #7B3434;
  animation: none;
}

@keyframes etana-map-loading-pulse {
  0%, 100% {
    opacity: .35;
    transform: scale(.82);
  }
  50% {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 767px) {
  .etana-map-canvas-shell {
    height: var(--etana-mobile-map-height);
    min-height: var(--etana-mobile-map-height);
  }

  .etana-map-loading {
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .etana-map-loading,
  .etana-map-loading-dot {
    animation: none !important;
    transition: none !important;
  }
}

:where(
  html.dark,
  body.dark,
  body.dark-mode,
  body.is-dark,
  body.is-dark-mode,
  body.dark-scheme,
  body.theme-dark,
  body[data-theme="dark"],
  html[data-theme="dark"],
  .dark-mode,
  .is-dark-mode
) .etana-map-loading {
  background: linear-gradient(135deg, rgba(10, 19, 28, .96), rgba(16, 29, 41, .92));
  color: #CFE2F4;
}

:where(
  html.dark,
  body.dark,
  body.dark-mode,
  body.is-dark,
  body.is-dark-mode,
  body.dark-scheme,
  body.theme-dark,
  body[data-theme="dark"],
  html[data-theme="dark"],
  .dark-mode,
  .is-dark-mode
) .etana-map-loading-dot {
  background: #93BCE4;
}
