/* Control ANDRIK v54.81 EMERGENCY RECOVERY
   Visual-only fixes on top of the last working analytics scripts. */

/* Selected country: both weekly labels stay inside the card and opposite each other. */
.analytics-v54-46-page .analytics-map-top.has-country-focus .country-weekly-gain{
  display:grid!important;
  grid-template-columns:minmax(0,.88fr) minmax(0,1.12fr)!important;
  align-items:start!important;
  gap:10px!important;
  width:100%!important;
  margin-top:8px!important;
  overflow:hidden!important;
  font-size:clamp(.60rem,2.55vw,.76rem)!important;
  line-height:1.18!important;
}
.analytics-v54-46-page .analytics-map-top.has-country-focus .country-weekly-current,
.analytics-v54-46-page .analytics-map-top.has-country-focus .country-weekly-compare{
  display:block!important;
  min-width:0!important;
  max-width:100%!important;
  overflow:hidden!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
}
.analytics-v54-46-page .analytics-map-top.has-country-focus .country-weekly-current{
  text-align:left!important;
}
.analytics-v54-46-page .analytics-map-top.has-country-focus .country-weekly-compare{
  text-align:right!important;
}
.analytics-v54-46-page .analytics-map-top.has-country-focus .country-weekly-marquee-track{
  display:block!important;
  width:100%!important;
  min-width:100%!important;
  transform:none!important;
  animation:none!important;
}
.analytics-v54-46-page .analytics-map-top.has-country-focus .country-weekly-marquee-track>span{
  display:block!important;
  width:100%!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
}
.analytics-v54-46-page .analytics-map-top.has-country-focus .country-weekly-marquee-track>span:nth-child(2){
  display:none!important;
}

/* Activity screen heading. */
.control-activity-page .control-page-heading{
  display:block!important;
  width:100%!important;
  text-align:center!important;
  padding-left:0!important;
  padding-right:0!important;
}
.control-activity-page .control-page-heading>div{
  width:100%!important;
  text-align:center!important;
}
.control-activity-page .control-page-heading .eyeline,
.control-activity-page .control-page-heading h1,
.control-activity-page .control-page-heading p{
  margin-left:auto!important;
  margin-right:auto!important;
  text-align:center!important;
}

/* Keep the restored focused-country buttons compact and safely inside the card. */
.analytics-v54-46-page .analytics-map-top.has-country-focus .map-focus-actions.is-visible{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:8px!important;
}
.analytics-v54-46-page .analytics-map-top.has-country-focus .map-focus-action{
  min-width:0!important;
  width:100%!important;
  overflow:hidden!important;
}
