/* The UK website's country picker (site/lib/uk-country-picker.mjs), as the UK Tournament Diary's
   (www.hl-outdoors.co.uk assets/country-picker.css): the flag button in the top bar (in the phone menu on a phone),
   the footer button and the list they open. The desk has no dark theme, so the diary's dark rules are left out. */
.headerInner nav .countryButton { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; flex: 0 0 40px; min-height: 0; margin-left: -8px; padding: 0; border: 1px solid #dadeda; border-radius: 10px; background: #fff; box-shadow: none; cursor: pointer; transition: none; }
.headerInner nav .countryButton:hover, .headerInner nav .countryButton:focus-visible { background: #ebe7de; }
.countryButton:focus-visible { outline: 3px solid #b8734a; outline-offset: 2px; }
.countryButton .flag { width: 24px; height: 16px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,.12); }
.headerInner .mobileNav .mobileCountry { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 0; margin-top: 4px; padding: 11px 13px; border: 0; border-top: 1px solid #e6e2d8; border-radius: 0 0 8px 8px; background: transparent; box-shadow: none; color: #36423d; font: inherit; font-size: 0.86rem; font-weight: 700; text-align: left; cursor: pointer; transition: none; }
.mobileCountry .flag { width: 24px; height: 16px; flex: 0 0 24px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,.12); }
.mobileCountry span { white-space: nowrap; }
.mobileCountry small { margin-left: auto; padding-left: 12px; white-space: nowrap; color: #8f5430; font-size: 0.78rem; font-weight: 650; }
.headerInner .mobileNav .mobileCountry:hover, .headerInner .mobileNav .mobileCountry:focus-visible { background: #f5f3ee; }

.countryDialog :focus-visible, .footerCountry:focus-visible { outline: 3px solid #b8734a; outline-offset: 2px; }
.countryDialog { width: min(560px, calc(100% - 24px)); max-height: min(640px, calc(100% - 24px)); padding: 0; border: 1px solid #dadeda; border-radius: 16px; background: #fbfaf7; color: #23322c; box-shadow: 0 24px 60px rgba(20,28,24,.28); overflow: auto; }
.countryDialog::backdrop { background: rgba(20,28,24,.45); }
.countryDialogHead { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 16px 10px 20px; background: inherit; }
.countryDialogHead h2 { margin: 0; font-size: 1.25rem; line-height: 1.2; color: inherit; }
.countryClose { display: inline-grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 10px; background: transparent; color: inherit; cursor: pointer; }
.countryClose:hover { background: #ebe7de; }
.countryClose svg { width: 22px; height: 22px; }
.countryCurrent { display: flex; align-items: center; gap: 14px; margin: 0 20px; padding: 12px 16px; border: 2px solid #23322c; border-radius: 14px; background: #fff; color: inherit; text-decoration: none; }
.countryCurrent .flag { width: 42px; height: 28px; flex: 0 0 42px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(0,0,0,.12); }
.countryCurrent span { display: grid; gap: 2px; flex: 1; min-width: 0; }
.countryCurrent strong { font-size: 1.05rem; }
.countryCurrent small { color: #5d6863; font-size: 0.85rem; }
.countryTick { width: 24px; height: 24px; flex: 0 0 24px; }
.countrySearch { display: flex; align-items: center; gap: 10px; margin: 12px 20px 0; padding: 0 14px; border: 1px solid #cfd4cf; border-radius: 12px; background: #fff; }
.countrySearch svg { width: 20px; height: 20px; flex: 0 0 20px; color: #5d6863; }
.countrySearch input { flex: 1; min-width: 0; height: 46px; padding: 0; border: 0 !important; outline: 0; background: transparent; color: inherit; font: inherit; font-size: 1rem; }
.countrySearch input:focus, .countrySearch input:focus-visible { outline: none !important; box-shadow: none !important; }
.countrySearch:focus-within { border-color: #b8734a; box-shadow: 0 0 0 3px rgba(184,115,74,.25); }
.countryTiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 10px; margin: 0; padding: 14px 20px 20px; list-style: none; }
.countryTiles li[hidden] { display: none; }
.countryTiles a { display: grid; justify-items: center; gap: 8px; padding: 14px 6px 12px; border: 1px solid #dadeda; border-radius: 12px; background: #fff; color: inherit; font-size: 0.9rem; font-weight: 600; text-align: center; text-decoration: none; }
.countryTiles a:hover { border-color: #b8734a; }
.countryTiles a[aria-current="page"] { border: 2px solid #23322c; padding: 13px 5px 11px; }
.countryTiles .flag { width: 42px; height: 28px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(0,0,0,.12); }
.countryTiles span { max-width: 100%; line-height: 1.2; overflow-wrap: anywhere; }
.countryTiles a { align-content: start; }
/* The language under each country's name, as in the HL Archery app (Dean, 7 November 2026). */
.countryTiles a { gap: 6px; }
.countryTiles small { margin-top: -2px; color: #5d6863; font-size: 0.78rem; font-weight: 500; line-height: 1.2; }
.countryNone { margin: 0; padding: 0 20px 22px; color: #5d6863; }
@media (max-width: 620px) {
  .countryDialog { width: 100%; max-width: 100%; max-height: 88%; margin: auto 0 0; border-radius: 16px 16px 0 0; border-bottom: 0; }
  .countryTiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 12px 16px 24px; }
  .countryCurrent, .countrySearch { margin-left: 16px; margin-right: 16px; }
  .countryDialogHead { padding-left: 16px; }
}

.footerCountryRow { display: flex; justify-content: center; }
.footerCountryRow .footerCountryLine { margin: 18px 0 0; text-align: center; }
.footerCountry { display: inline-flex; align-items: center; gap: 8px; min-height: 0; padding: 6px 12px; box-shadow: none; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; background: transparent; color: #d8dfdc; font: inherit; font-size: 0.85rem; font-weight: 400; line-height: inherit; cursor: pointer; transition: none; }
.footerCountry:hover { border-color: rgba(255,255,255,.55); background: transparent; color: #fff; }
.footerCountry .flag { width: 21px; height: 14px; border-radius: 2px; }
.footerCountryChange { text-decoration: underline; text-underline-offset: 3px; opacity: .85; }
.footerCountryChange::before { content: "\00b7"; display: inline-block; margin-right: 8px; text-decoration: none; }
/* The desk's own button look (copper, shadow, 48px tall) is not the picker's. */
.countryClose { min-height: 0; box-shadow: none; transition: none; }
