/* The popup on the signed-in player's own flag -- see flag-hint.js. Its own
   file so it is linked through assetUrl() and never served stale. */
.flag-img[data-flag-hint] {
  cursor: pointer;
}

.flag-img[data-flag-hint]:focus-visible {
  outline: 2px solid #22c55e;
  outline-offset: 2px;
}

.flag-hint {
  position: absolute;
  z-index: 10000;
  max-width: 260px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #10141c;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.4;
  text-align: left;
  display: none;
}

.flag-hint.is-open {
  display: block;
}

.flag-hint__text {
  margin: 0 0 10px;
}

.flag-hint__link {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: #22c55e;
  color: #07130b;
  font-weight: 800;
  text-decoration: none;
}

.flag-hint__link:hover {
  background: #4ade80;
}
