/* Country codes add identity while names and location controls stay readable. */
.country-code-badge,
.brand > .country-code-badge,
.studio-brand > .country-code-badge,
.welcome-wordmark > .country-code-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 28px;
  margin-left: 9px;
  padding: 4px 7px;
  border: 1px solid currentColor;
  border-radius: 4px;
  color: var(--country-primary, var(--primary, #0a653d));
  background: transparent;
  font: 700 14px/1.1 'DM Sans', Arial, sans-serif;
  letter-spacing: .01em;
  white-space: nowrap;
  vertical-align: middle;
}
body[data-country="GH"] { --edition-code-ink: #a5232b; }
body[data-country="GH"] .country-code-badge { color: var(--edition-code-ink); }
.welcome-wordmark > .country-code-badge { color: var(--welcome-accent, #d0e84c); }
body[data-country="GH"] .welcome-wordmark > .country-code-badge { color: var(--welcome-accent, #f0ce43); }
.country-code-badge--inline { margin-left: 7px; padding: 2px 5px; min-height: 23px; font-size: 13px; border-color: color-mix(in srgb, currentColor 35%, transparent); }
.poster-location { flex-wrap: wrap; row-gap: 6px; }
.poster-location .country-code-badge { align-self: center; }
.popup-location .country-code-badge { margin-left: auto; }
.country-option-code { font: 700 14px/1 'DM Sans', Arial, sans-serif; opacity: .85; }
.country-switcher [data-country-choice] { gap: 9px; }
.site-header .header-actions .header-country-picker { max-width: none; flex-shrink: 0; }
.site-header .header-country-picker select { width: 108px; flex-shrink: 0; }
.edition-label { flex-wrap: wrap; row-gap: 6px; line-height: 1.5; }
.brand, .wordmark, .studio-brand { white-space: nowrap; }
.account-header .country-label select { min-width: 150px; }
.studio-header .header-actions select { max-width: none; min-width: 151px; }
@media (min-width: 761px) and (max-width: 1250px) {
  .site-header .header-inner > .wordmark > .country-code-badge { display: none; }
}
@media (max-width: 760px) {
  .site-header .header-inner > .wordmark > .country-code-badge { display: none; }
  .site-header .header-country-picker .country-flag { display: none; }
  .site-header .header-actions .header-country-picker { gap: 4px; padding: 7px 6px; }
  .site-header .header-country-picker select { width: 101px; font-size: 14px; }
  .country-switcher { width: 100%; }
  .country-switcher [data-country-choice] { flex: 1; padding: 10px; gap: 7px; }
  .country-option-code { font-size: 13px; }
  .account-header, .policy-header { flex-wrap: wrap; height: auto; }
  .account-header { row-gap: 17px; }
  .account-header .header-links { margin-left: auto; }
  .brand > .country-code-badge, .studio-brand > .country-code-badge { min-height: 25px; font-size: 13px; padding: 3px 5px; margin-left: 6px; }
  .policy-header { row-gap: 12px; }
  .policy-header nav { margin-left: auto; }
}
@media (max-width: 370px) {
  .site-header .header-inner > .wordmark { font-size: 25px; gap: 1px; }
  .site-header .header-inner > .wordmark .brand-spark .icon { width: 19px; height: 19px; }
  .site-header .header-actions .signup-trigger { min-width: 0; max-width: none; font-size: 11px; padding: 10px 6px; }
  .site-header .header-country-picker select { width: 94px; font-size: 13px; }
  .country-switcher [data-country-choice] { padding: 10px 7px; gap: 5px; font-size: 14px; }
  .country-switcher .country-flag { width: 21px; height: 15px; }
  .country-option-code { font-size: 12px; }
  .studio-header .header-actions select { min-width: 143px; padding-left: 8px; padding-right: 23px; }
}
