/**
 * Kapela — Style : villes et pays de l'espace RAPIDONS (drapeaux, lignes des villes, fuseau et heure locale)
 * Auteur : Jacks Ngalangala
 */

.drapeau {
  display: inline-grid;
  place-items: center;
  flex: none;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 0 0 1px var(--line);
  background: var(--bg);
  font-size: 10px;
  color: var(--muted);
}
.drapeau svg {
  display: block;
}

.ville-pays {
  gap: 4px;
}
.ville-pays-tete {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

/* Une ville : nom, fuseau et heure, chiffres, actions */
.ville-ligne {
  flex-wrap: wrap;
  gap: 10px 16px;
}
.ville-ligne.masquee .ville-nom b {
  color: var(--muted);
}
.ville-nom {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  flex: 1 1 180px;
  min-width: 0;
}
.ville-nom small {
  font-size: 12px;
}
.ville-fuseau {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.ville-ligne .ville-fuseau {
  flex: 0 1 300px;
}
.ville-fuseau .inp {
  min-height: 36px;
  min-width: 0;
  flex: 1;
}
.ville-heure {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  white-space: nowrap;
}
.ville-chiffres {
  display: flex;
  flex-direction: column;
  font-size: 12.5px;
  color: var(--muted);
  flex: 0 0 140px;
}
.ville-chiffres b {
  color: var(--ink);
}
.ville-actions {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.ville-actif {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  margin-right: 6px;
  cursor: pointer;
}
.ville-actif span {
  min-width: 62px;
}
.ville-ordre {
  display: inline-flex;
}

@media (max-width: 720px) {
  .ville-ligne .ville-fuseau {
    flex: 1 1 100%;
  }
  .ville-chiffres {
    flex: 1 1 auto;
  }
}

/* Sur téléphone : le nom du pays et le texte d'introduction sur toute la largeur, les réglages en dessous */
.ville-intro .grow {
  flex: 1 1 320px;
}
.ville-pays-tete .grow {
  flex: 1 1 220px;
}
