/* Keep the same embroidered-flag hero and directory treatment for the new studios. */
body.ll-world-studio .game-hero {
  --orbit-woven-flag: var(--ll-world-flag);
  --atlas-flag-art: var(--ll-world-flag);
}

.ll-world-studio .ll-world-hero-country {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: .55rem;
  color: inherit;
  font-size: .78rem;
  font-weight: 750;
}

.ll-world-hero-country img,
.ll-format-flag,
.ll-world-marker img {
  flex: none;
  object-fit: cover;
  border-radius: 3px;
}

.ll-world-studio .ll-draw-format-date {
  max-width: 21rem;
  margin: 1rem 0;
}

.ll-draw-format-date input {
  display: block;
  margin: .35rem 0;
}

.ll-format-flag {
  vertical-align: text-bottom;
  margin-inline-end: .45rem;
}

.ll-world-marker {
  white-space: nowrap;
}

.atlas-map-mx { top: 49%; left: 20%; }
.atlas-map-pt { top: 59%; left: 26%; }
.atlas-map-ch { top: 42.25%; left: 42%; }
.atlas-map-za { top: 72%; left: 55%; }
.atlas-map-sg { top: 61%; right: 18%; }
.atlas-map-hk { top: 44%; right: 9%; }
.atlas-map-kr { top: 25%; right: 23%; }
.atlas-map-tw { top: 35%; right: 22%; }

@media (max-width: 1300px) {
  /* At smaller sizes the globe labels use three columns to leave each
     country an independent tap target. */
  .atlas-map-ie, .atlas-map-de, .atlas-map-kr { --marker-row: 0; }
  .atlas-map-ca, .atlas-map-eu, .atlas-map-jp { --marker-row: 1; }
  .atlas-map-uk, .atlas-map-fr, .atlas-map-tw { --marker-row: 2; }
  .atlas-map-us, .atlas-map-ch, .atlas-map-hk { --marker-row: 3; }
  .atlas-map-pl, .atlas-map-pt, .atlas-map-sg { --marker-row: 4; }
  .atlas-map-mx, .atlas-map-it, .atlas-map-au { --marker-row: 5; }
  .atlas-map-es, .atlas-map-gr, .atlas-map-nz { --marker-row: 6; }
  .atlas-map-br, .atlas-map-za { --marker-row: 7; }

  .atlas-map-ie, .atlas-map-ca, .atlas-map-uk, .atlas-map-us,
  .atlas-map-pl, .atlas-map-mx, .atlas-map-es, .atlas-map-br { --marker-column: 0; }
  .atlas-map-de, .atlas-map-eu, .atlas-map-fr, .atlas-map-ch,
  .atlas-map-pt, .atlas-map-it, .atlas-map-gr, .atlas-map-za { --marker-column: 1; }
  .atlas-map-kr, .atlas-map-jp, .atlas-map-tw, .atlas-map-hk,
  .atlas-map-sg, .atlas-map-au, .atlas-map-nz { --marker-column: 2; }

  html[data-theme] body.visual-perfection-home .atlas-globe-scene > .atlas-globe-marker {
    top: calc(1.5% + var(--marker-row) * 12.25%) !important;
    left: calc(1% + var(--marker-column) * 33.33%) !important;
    right: auto !important;
    bottom: auto !important;
    max-width: calc(33.33% - 4px);
    min-height: 24px;
    padding-inline: 5px !important;
  }

  .atlas-globe-scene > .atlas-globe-marker .atlas-marker-label {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

.ll-world-studio[data-game="lotofacil"] .format-ball-row,
.ll-world-studio[data-game="lotofacil"] .ll-ticket-main-balls {
  flex-wrap: wrap;
}
