/* =============================================================
   Novin Zehn — self-hosted country flags (SVG data URIs)

   The site previously printed country FLAG EMOJI. Windows ships no
   flag-emoji glyphs, so Windows users saw plain letters ("IR", "CA")
   where a flag should be. Font Awesome's free tier has no country
   flags, and Icons8/other CDNs are blocked by our CSP (default-src
   'self'), so these are inlined SVGs — zero external requests and
   identical rendering on every OS/browser.

   Usage: <span class="nzf nzf-ir" role="img" aria-label="Iran"></span>
   assets/js/flags.js converts existing flag emoji to these spans
   automatically (including content injected later by db-renderer.js).

   GENERATED — regenerate with tools/gen_flags.py, do not hand-edit.
   ============================================================= */

.nzf {
  display: inline-block;
  width: 1.5em;
  height: 1em;
  vertical-align: -0.14em;
  margin-inline: 0.12em;
  border-radius: 2px;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.10) inset;
  flex-shrink: 0;
}

.nzf-ir { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 16'%3E%3Crect width='24' height='5.333333333333333' y='0.0' fill='%23239f40'/%3E%3Crect width='24' height='5.333333333333333' y='5.333333333333333' fill='%23fff'/%3E%3Crect width='24' height='5.333333333333333' y='10.666666666666666' fill='%23da0000'/%3E%3Ccircle cx='12' cy='8' r='1.6' fill='%23da0000'/%3E%3C/svg%3E"); }
.nzf-ca { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 16'%3E%3Crect width='24' height='16' fill='%23fff'/%3E%3Crect width='6' height='16' fill='%23d52b1e'/%3E%3Crect width='6' height='16' x='18' fill='%23d52b1e'/%3E%3Cpath d='M12 4l.9 2.1 2.2-.5-1.2 1.9 1.9 1.2-2.3.6.3 1.5-1.8-.9-1.8.9.3-1.5-2.3-.6 1.9-1.2-1.2-1.9 2.2.5z' fill='%23d52b1e'/%3E%3C/svg%3E"); }
.nzf-de { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 16'%3E%3Crect width='24' height='5.333333333333333' y='0.0' fill='%23000'/%3E%3Crect width='24' height='5.333333333333333' y='5.333333333333333' fill='%23dd0000'/%3E%3Crect width='24' height='5.333333333333333' y='10.666666666666666' fill='%23ffce00'/%3E%3C/svg%3E"); }
.nzf-kr { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 16'%3E%3Crect width='24' height='16' fill='%23fff'/%3E%3Cpath d='M12 4a4 4 0 010 8 2 2 0 000-4 2 2 0 010-4z' fill='%23cd2e3a'/%3E%3Cpath d='M12 12a4 4 0 010-8 2 2 0 000 4 2 2 0 010 4z' fill='%230047a0'/%3E%3C/svg%3E"); }
.nzf-at { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 16'%3E%3Crect width='24' height='5.333333333333333' y='0.0' fill='%23ed2939'/%3E%3Crect width='24' height='5.333333333333333' y='5.333333333333333' fill='%23fff'/%3E%3Crect width='24' height='5.333333333333333' y='10.666666666666666' fill='%23ed2939'/%3E%3C/svg%3E"); }
.nzf-fr { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 16'%3E%3Crect width='8.0' height='16' x='0.0' fill='%23002395'/%3E%3Crect width='8.0' height='16' x='8.0' fill='%23fff'/%3E%3Crect width='8.0' height='16' x='16.0' fill='%23ed2939'/%3E%3C/svg%3E"); }
.nzf-jp { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 16'%3E%3Crect width='24' height='16' fill='%23fff'/%3E%3Ccircle cx='12' cy='8' r='4.2' fill='%23bc002d'/%3E%3C/svg%3E"); }
.nzf-us { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 16'%3E%3Crect width='24' height='1.2307692307692308' y='0.0' fill='%23b22234'/%3E%3Crect width='24' height='1.2307692307692308' y='1.2307692307692308' fill='%23fff'/%3E%3Crect width='24' height='1.2307692307692308' y='2.4615384615384617' fill='%23b22234'/%3E%3Crect width='24' height='1.2307692307692308' y='3.6923076923076925' fill='%23fff'/%3E%3Crect width='24' height='1.2307692307692308' y='4.923076923076923' fill='%23b22234'/%3E%3Crect width='24' height='1.2307692307692308' y='6.153846153846154' fill='%23fff'/%3E%3Crect width='24' height='1.2307692307692308' y='7.384615384615385' fill='%23b22234'/%3E%3Crect width='24' height='1.2307692307692308' y='8.615384615384615' fill='%23fff'/%3E%3Crect width='24' height='1.2307692307692308' y='9.846153846153847' fill='%23b22234'/%3E%3Crect width='24' height='1.2307692307692308' y='11.076923076923077' fill='%23fff'/%3E%3Crect width='24' height='1.2307692307692308' y='12.307692307692308' fill='%23b22234'/%3E%3Crect width='24' height='1.2307692307692308' y='13.538461538461538' fill='%23fff'/%3E%3Crect width='24' height='1.2307692307692308' y='14.76923076923077' fill='%23b22234'/%3E%3Crect width='10' height='8.6' fill='%233c3b6e'/%3E%3C/svg%3E"); }
.nzf-ru { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 16'%3E%3Crect width='24' height='5.333333333333333' y='0.0' fill='%23fff'/%3E%3Crect width='24' height='5.333333333333333' y='5.333333333333333' fill='%230039a6'/%3E%3Crect width='24' height='5.333333333333333' y='10.666666666666666' fill='%23d52b1e'/%3E%3C/svg%3E"); }
.nzf-cn { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 16'%3E%3Crect width='24' height='16' fill='%23de2910'/%3E%3Cpath d='M5 3l.85 2.6-2.2-1.6h2.7l-2.2 1.6z' fill='%23ffde00'/%3E%3Ccircle cx='9.5' cy='2.6' r='.7' fill='%23ffde00'/%3E%3Ccircle cx='11' cy='4.6' r='.7' fill='%23ffde00'/%3E%3Ccircle cx='11' cy='7' r='.7' fill='%23ffde00'/%3E%3Ccircle cx='9.5' cy='9' r='.7' fill='%23ffde00'/%3E%3C/svg%3E"); }
.nzf-nl { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 16'%3E%3Crect width='24' height='5.333333333333333' y='0.0' fill='%23ae1c28'/%3E%3Crect width='24' height='5.333333333333333' y='5.333333333333333' fill='%23fff'/%3E%3Crect width='24' height='5.333333333333333' y='10.666666666666666' fill='%2321468b'/%3E%3C/svg%3E"); }
.nzf-mx { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 16'%3E%3Crect width='8.0' height='16' x='0.0' fill='%23006847'/%3E%3Crect width='8.0' height='16' x='8.0' fill='%23fff'/%3E%3Crect width='8.0' height='16' x='16.0' fill='%23ce1126'/%3E%3Ccircle cx='12' cy='8' r='1.5' fill='%238b5a2b'/%3E%3C/svg%3E"); }
.nzf-gb { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 16'%3E%3Crect width='24' height='16' fill='%23012169'/%3E%3Cpath d='M0 0l24 16M24 0L0 16' stroke='%23fff' stroke-width='3.2'/%3E%3Cpath d='M0 0l24 16M24 0L0 16' stroke='%23c8102e' stroke-width='1.9'/%3E%3Cpath d='M12 0v16M0 8h24' stroke='%23fff' stroke-width='5.3'/%3E%3Cpath d='M12 0v16M0 8h24' stroke='%23c8102e' stroke-width='3.2'/%3E%3C/svg%3E"); }
.nzf-au { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 16'%3E%3Crect width='24' height='16' fill='%23012169'/%3E%3Cpath d='M0 0l12 8M12 0L0 8' stroke='%23fff' stroke-width='1.8'/%3E%3Cpath d='M6 0v8M0 4h12' stroke='%23fff' stroke-width='2.7'/%3E%3Cpath d='M6 0v8M0 4h12' stroke='%23c8102e' stroke-width='1.6'/%3E%3Ccircle cx='6' cy='12.5' r='1.2' fill='%23fff'/%3E%3Ccircle cx='17' cy='4' r='.9' fill='%23fff'/%3E%3Ccircle cx='19.5' cy='8' r='.9' fill='%23fff'/%3E%3Ccircle cx='16' cy='11' r='.9' fill='%23fff'/%3E%3Ccircle cx='20.5' cy='12.5' r='.7' fill='%23fff'/%3E%3C/svg%3E"); }
.nzf-ae { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 16'%3E%3Crect width='24' height='16' fill='%2300732f'/%3E%3Crect width='24' height='5.34' y='5.33' fill='%23fff'/%3E%3Crect width='24' height='5.33' y='10.67' fill='%23000'/%3E%3Crect width='6' height='16' fill='%23ff0000'/%3E%3C/svg%3E"); }
.nzf-tr { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 16'%3E%3Crect width='24' height='16' fill='%23e30a17'/%3E%3Ccircle cx='9.5' cy='8' r='3.6' fill='%23fff'/%3E%3Ccircle cx='10.9' cy='8' r='2.9' fill='%23e30a17'/%3E%3Cpath d='M14.6 8l2.9-.95-1.8 2.47V6.48l1.8 2.47z' fill='%23fff'/%3E%3C/svg%3E"); }
.nzf-br { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 16'%3E%3Crect width='24' height='16' fill='%23009b3a'/%3E%3Cpath d='M12 2.2L22.2 8 12 13.8 1.8 8z' fill='%23fedf00'/%3E%3Ccircle cx='12' cy='8' r='3.1' fill='%23002776'/%3E%3Cpath d='M9.1 7.1a9 9 0 015.9 1.6' fill='none' stroke='%23fff' stroke-width='.8'/%3E%3C/svg%3E"); }
.nzf-xx { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 16'%3E%3Crect width='24' height='16' fill='%235e3eb8'/%3E%3Ccircle cx='12' cy='8' r='5' fill='none' stroke='%23fff' stroke-width='1'/%3E%3Cpath d='M7 8h10M12 3v10M9 4.5c2 2.4 2 5.6 0 7M15 4.5c-2 2.4-2 5.6 0 7' fill='none' stroke='%23fff' stroke-width='.8'/%3E%3C/svg%3E"); }
