/* Build 21.361 — sharper tiles, softer area highlights, richer target badges. */
.bt22360-tile-layer, .bt22360-lowres-fallback { pointer-events:none; }
.bt22360-tile-layer image {
  pointer-events:none;
  image-rendering: optimizeQuality;
}
.bt22359-action-grid button[data-cooldown-active="yes"]:disabled {
  opacity:.84; color:#e5c994; background:rgba(125,92,36,.17);
  border:1px solid rgba(208,172,105,.34); cursor:not-allowed;
  font-variant-numeric:tabular-nums; font-weight:700;
}
.bt22359-action-grid button[data-cooldown-active="yes"]:disabled:focus-visible {
  outline:2px solid #e5bb67;outline-offset:2px;
}

/* Soften hover/selection presentation: rely on dedicated blurred overlays, not hard polygon outlines. */
#underworld .bt22335-city-outline,
#underworld .bt22335-approved-city:hover .bt22335-city-outline,
#underworld .bt22335-approved-city:focus-visible .bt22335-city-outline,
#underworld .bt22335-approved-city.selected .bt22335-city-outline,
#underworld .bt22335-approved-city.home:not(.selected):hover .bt22335-city-outline,
#underworld .bt22335-approved-city.home:not(.selected):focus-visible .bt22335-city-outline {
  opacity:0 !important;
  fill:transparent !important;
  stroke:transparent !important;
  filter:none !important;
}
#underworld .bt22338-active-overlay,
#underworld .bt22339-hover-overlay{pointer-events:none !important; isolation:isolate !important;}
#underworld .bt22361-active-boundary-soft{
  fill:rgba(56,178,237,.24) !important;
  stroke:none !important;
  filter:url(#bt22361-soft-highlight) !important;
  pointer-events:none !important;
}
#underworld .bt22361-hover-boundary-soft{
  fill:rgba(74,197,242,.20) !important;
  stroke:none !important;
  filter:url(#bt22361-soft-hover) !important;
  pointer-events:none !important;
}
#underworld .bt22338-active-boundary{
  fill:rgba(56,178,237,.10) !important;
  stroke:rgba(205,247,255,.45) !important;
  stroke-width:1.2 !important;
  vector-effect:non-scaling-stroke !important;
  filter:none !important;
  pointer-events:none !important;
}
#underworld .bt22339-hover-boundary{
  fill:rgba(74,197,242,.08) !important;
  stroke:rgba(216,248,255,.38) !important;
  stroke-width:1.0 !important;
  vector-effect:non-scaling-stroke !important;
  filter:none !important;
  pointer-events:none !important;
}

/* Target badges */
#underworld .bt22330-target-back{
  fill:#0c1013 !important;
  stroke:rgba(232,204,148,.76) !important;
  stroke-width:1.9 !important;
  vector-effect:non-scaling-stroke !important;
  filter:drop-shadow(0 2px 6px rgba(0,0,0,.88)) !important;
}
#underworld .bt22319-target:hover .bt22330-target-back,
#underworld .bt22319-target.selected .bt22330-target-back,
#underworld .bt22340-family-member:hover .bt22330-target-back,
#underworld .bt22340-family-member.selected .bt22330-target-back{
  stroke:#8bdcff !important;
  stroke-width:2.6 !important;
  filter:drop-shadow(0 0 9px rgba(82,181,235,.72)) !important;
}
#underworld .bt22331-target-photo{pointer-events:none !important; filter:saturate(1.04) contrast(1.04) !important;}
#underworld .bt22361-level-badge circle{
  fill:#11161b !important;
  stroke:#efd39d !important;
  stroke-width:1.5 !important;
}
#underworld .bt22361-level-badge text{
  fill:#fff7e5 !important;
  font-family:'Inter',sans-serif !important;
  font-size:10px !important;
  font-weight:900 !important;
  text-anchor:middle !important;
  pointer-events:none !important;
}
#underworld .bt22361-strength-badge rect{
  fill:rgba(10,13,16,.88) !important;
  stroke:rgba(162,224,245,.46) !important;
  stroke-width:1 !important;
}
#underworld .bt22361-strength-badge text{
  fill:#dff7ff !important;
  font-family:'Inter',sans-serif !important;
  font-size:8px !important;
  font-weight:800 !important;
  text-anchor:middle !important;
  pointer-events:none !important;
}
#underworld .bt22340-family-hub .bt22340-family-halo{
  fill:rgba(213,173,98,.10) !important;
  stroke:#d6b476 !important;
  stroke-width:2 !important;
  filter:drop-shadow(0 0 6px rgba(245,202,110,.65)) !important;
}
#underworld .bt22340-family-hub .bt22340-family-disc{fill:#111419 !important;stroke:#ffe1a0 !important;stroke-width:2.5 !important;}
#underworld .bt22340-member-badge{fill:#09131a !important;stroke:#b3ecff !important;stroke-width:1.6 !important;}
#underworld .bt22340-member-count{fill:#eefdff !important;font-family:'Inter',sans-serif !important;font-size:12px !important;font-weight:900 !important;text-anchor:middle !important;}

/* Sidebar thumbnails keep the same generated icon language. */
#underworld .bt22330-row-icon{
  width:34px !important;height:34px !important;display:grid !important;place-items:center !important;
  flex:0 0 34px !important;border-radius:50% !important;overflow:hidden !important;
  background:#0d1012 !important;border:1px solid rgba(215,177,105,.34) !important;
  box-shadow:0 2px 6px rgba(0,0,0,.35) !important;
}
#underworld .bt22330-row-icon img,
#underworld .bt22341-member-tile img,
#underworld .bt22340-roster-row img{
  width:100% !important;height:100% !important;object-fit:cover !important;display:block !important;
}
