/* WhatIsMyIP.info — site styles. Everything is served from this site: fonts, icons (inline SVG), flags. No frameworks. */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/assets/fonts/inter-latin-wght-normal.woff2") format("woff2-variations"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/assets/fonts/inter-latin-ext-wght-normal.woff2") format("woff2-variations"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/jetbrains-mono-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/jetbrains-mono-latin-600-normal.woff2") format("woff2"); }

:root {
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --bg: #f4f7fc; --bg2: #eaf0fa; --surface: #ffffff; --surface2: #f7f9fd; --text: #0d1626; --muted: #566883; --faint: #8392aa;
  --border: #e1e8f3; --border2: #cfd9ea; --accent: #2563eb; --accent2: #06b6d4; --accent3: #7c3aed;
  --ok: #0f9d6b; --ok-bg: #e4f7ef; --warn: #b7791f; --warn-bg: #fdf3dc; --bad: #d1324a; --bad-bg: #fde9ec; --info-bg: #e8f0ff;
  --grad: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%); --grad-text: linear-gradient(120deg, #2563eb 10%, #06b6d4 60%, #7c3aed 100%);
  --shadow: 0 1px 2px rgba(15, 30, 60, .05), 0 8px 24px -8px rgba(15, 30, 60, .10); --shadow-lg: 0 2px 4px rgba(15, 30, 60, .05), 0 22px 48px -16px rgba(15, 30, 60, .22);
  --radius: 18px; --radius-sm: 12px; --wrap: 1560px; color-scheme: light;
}
[data-theme="dark"] {
  --bg: #080d18; --bg2: #0c1424; --surface: #101a2d; --surface2: #0d1626; --text: #e7eefb; --muted: #94a5c3; --faint: #6b7d9c;
  --border: #1d2a42; --border2: #2a3a58; --accent: #5b9bff; --accent2: #2dd4e6; --accent3: #a78bfa;
  --ok: #34d39a; --ok-bg: #0f2c25; --warn: #f2bd5a; --warn-bg: #2f2512; --bad: #ff6b83; --bad-bg: #351821; --info-bg: #14264a;
  --grad: linear-gradient(135deg, #3b82f6 0%, #22d3ee 100%); --grad-text: linear-gradient(120deg, #6aa8ff 10%, #2dd4e6 60%, #b79bff 100%);
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 10px 28px -10px rgba(0, 0, 0, .6); --shadow-lg: 0 2px 4px rgba(0, 0, 0, .4), 0 26px 56px -18px rgba(0, 0, 0, .75); color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 400 16px/1.6 var(--font); color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; min-height: 100vh; display: flex; flex-direction: column; }
body::before { content: ""; position: fixed; inset: 0 0 auto 0; height: 560px; z-index: -1; pointer-events: none;
  background: radial-gradient(60% 80% at 15% 0%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 70%), radial-gradient(50% 70% at 90% 0%, color-mix(in srgb, var(--accent2) 14%, transparent), transparent 70%); }
main { flex: 1; }
img { max-width: 100%; }
a { color: var(--accent); text-decoration: none; text-underline-offset: 3px; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 800; }
h2 { font-size: 1.35rem; font-weight: 700; }
h3 { font-size: 1.05rem; font-weight: 650; }
p { margin: 0 0 1em; }
code, .mono { font-family: var(--mono); font-size: .92em; }
.wrap { width: min(var(--wrap), 100% - clamp(32px, 5vw, 96px)); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 14px; border-radius: 8px; z-index: 100; box-shadow: var(--shadow); }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 55%, transparent); outline-offset: 2px; border-radius: 6px; }
.ico { width: 1.15em; height: 1.15em; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.2em; }

/* Header */
.site-head { position: sticky; top: 0; z-index: 50; backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  background: color-mix(in srgb, var(--bg) 78%, transparent); border-bottom: 1px solid color-mix(in srgb, var(--border) 80%, transparent); }
.head-row { display: flex; align-items: center; gap: 18px; height: 66px; }
.brand { display: flex; align-items: center; gap: 11px; color: var(--text); font-weight: 800; font-size: 1.15rem; letter-spacing: -.03em; text-decoration: none !important; }
.brand img { width: 36px; height: 36px; border-radius: 10px; box-shadow: 0 4px 14px -4px color-mix(in srgb, var(--accent) 60%, transparent); }
.brand b { font-weight: 800; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav { display: flex; gap: 4px; margin-left: 10px; }
.nav a { color: var(--muted); font-weight: 550; font-size: .95rem; padding: 8px 12px; border-radius: 10px; text-decoration: none; transition: background .15s, color .15s; }
.nav a:hover { background: var(--bg2); color: var(--text); }
.nav a[aria-current="page"] { color: var(--text); background: var(--bg2); }
.head-search { margin-left: auto; position: relative; width: min(320px, 34vw); }
.head-search input { width: 100%; height: 42px; padding: 0 14px 0 40px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); color: var(--text); font: inherit; font-size: .95rem; transition: border-color .15s, box-shadow .15s; }
.head-search input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent); }
.head-search .ico { position: absolute; left: 13px; top: 12px; color: var(--faint); }
.icon-btn { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); color: var(--muted); cursor: pointer; transition: transform .15s, color .15s, border-color .15s; }
.icon-btn:hover { color: var(--text); border-color: var(--border2); transform: translateY(-1px); }
.icon-btn .ico { width: 19px; height: 19px; }
.theme-sun { display: none; } [data-theme="dark"] .theme-sun { display: block; } [data-theme="dark"] .theme-moon { display: none; }
.menu-btn { display: none; }

/* Hero */
.hero { padding: clamp(28px, 6vw, 64px) 0 12px; text-align: center; }
.hero .kicker { display: flex; width: fit-content; max-width: 100%; margin: 0 auto; align-items: center; gap: 8px; font-size: .85rem; font-weight: 650; color: var(--muted); background: var(--surface); border: 1px solid var(--border); padding: 6px 14px; border-radius: 99px; box-shadow: var(--shadow); }
.hero .kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 color-mix(in srgb, var(--ok) 60%, transparent); animation: ping 2.4s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 9px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.ip-big { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 14px; margin: 20px auto 8px; max-width: 100%; }
.ip-big .ip { font: 700 clamp(1.7rem, 7.2vw, 4.2rem)/1.1 var(--mono); letter-spacing: -.04em; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; overflow-wrap: break-word; min-width: 0; max-width: 100%; text-align: center; }
.copy { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); color: var(--text); font: 600 .9rem var(--font); cursor: pointer; transition: transform .15s, border-color .15s, background .15s; white-space: nowrap; }
.copy:hover { border-color: var(--accent); transform: translateY(-1px); }
.copy.done { background: var(--ok-bg); border-color: var(--ok); color: var(--ok); }
.where { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; font-size: clamp(1.05rem, 2.4vw, 1.4rem); font-weight: 600; margin-bottom: 8px; }
.where .flag, .flag { height: 24px; width: auto; border-radius: 4px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .12), 0 3px 8px -3px rgba(0, 0, 0, .35); vertical-align: -.3em; }
.where .flag { height: 30px; }
.subtle { color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 14px 0 0; }
.chip { display: inline-flex; align-items: center; gap: 7px; padding: 6px 13px; border-radius: 99px; background: var(--surface); border: 1px solid var(--border); font-size: .88rem; font-weight: 550; color: var(--text); }
.chip .ico { color: var(--accent); width: 1em; height: 1em; }
.chip.ok { background: var(--ok-bg); border-color: transparent; color: var(--ok); } .chip.ok .ico { color: var(--ok); }
.chip.warn { background: var(--warn-bg); border-color: transparent; color: var(--warn); } .chip.warn .ico { color: var(--warn); }
.chip.bad { background: var(--bad-bg); border-color: transparent; color: var(--bad); } .chip.bad .ico { color: var(--bad); }
.search-big { margin: 30px auto 0; max-width: 720px; display: flex; gap: 10px; padding: 8px; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow-lg); }
.search-big input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--text); font: 500 1.05rem var(--font); padding: 0 14px; outline: none; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 24px; border-radius: 12px; border: 0; cursor: pointer; font: 650 1rem var(--font); color: #fff; background: var(--grad); box-shadow: 0 8px 20px -8px color-mix(in srgb, var(--accent) 70%, transparent); transition: transform .15s, box-shadow .15s, filter .15s; text-decoration: none !important; }
.btn:hover { transform: translateY(-1px); filter: brightness(1.06); box-shadow: 0 12px 26px -8px color-mix(in srgb, var(--accent) 75%, transparent); }
.btn.ghost { background: var(--surface); color: var(--text); border: 1px solid var(--border); box-shadow: none; }
.hint { margin-top: 10px; font-size: .88rem; color: var(--faint); }
.hint a { color: var(--muted); font-family: var(--mono); font-size: .92em; }

/* Layout of the results */
.section { margin: 36px 0; }
.section > h2 { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.section > h2 .ico { color: var(--accent); width: 1.25em; height: 1.25em; }
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }
.grid.two { grid-template-columns: repeat(auto-fit, minmax(420px, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); transition: box-shadow .2s, transform .2s, border-color .2s; min-width: 0; }
.card:hover { box-shadow: var(--shadow-lg); }
.card > h3 { display: flex; align-items: center; gap: 9px; font-size: .78rem; text-transform: uppercase; letter-spacing: .09em; color: var(--muted); font-weight: 700; margin-bottom: 14px; }
.card > h3 .ico { color: var(--accent); }
.big { font-size: 1.55rem; font-weight: 750; letter-spacing: -.02em; line-height: 1.25; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 9px 18px; margin: 0; }
.facts dt { color: var(--muted); font-size: .9rem; }
.facts dd { margin: 0; font-weight: 550; overflow-wrap: anywhere; min-width: 0; }
.facts dd small, .small { font-weight: 400; color: var(--muted); font-size: .88em; }
.tag { display: inline-block; padding: 2px 9px; border-radius: 7px; background: var(--bg2); font-size: .82rem; font-weight: 600; color: var(--muted); margin: 0 4px 4px 0; }
.tag.ok { background: var(--ok-bg); color: var(--ok); } .tag.bad { background: var(--bad-bg); color: var(--bad); } .tag.warn { background: var(--warn-bg); color: var(--warn); }
.notice { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--info-bg); font-size: .95rem; margin: 14px 0; }
.notice.warn { background: var(--warn-bg); } .notice.bad { background: var(--bad-bg); } .notice.ok { background: var(--ok-bg); }
.notice .ico { margin-top: 3px; }

/* Tables */
.tbl-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
table.tbl { width: 100%; border-collapse: collapse; font-size: .93rem; }
.tbl th, .tbl td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
.tbl thead th { position: sticky; top: 0; background: var(--surface2); font-size: .76rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); white-space: nowrap; }
.tbl tbody tr:last-child td { border-bottom: 0; }
.tbl tbody tr { transition: background .15s; } .tbl tbody tr:hover { background: var(--surface2); }
.tbl td.num, .tbl td.mono { font-family: var(--mono); font-size: .88rem; }
.tbl .prov { font-weight: 650; white-space: nowrap; } .tbl .prov small { display: block; font-weight: 400; color: var(--faint); font-size: .78rem; }
.tbl td.na { color: var(--faint); }
.tbl td.diff { background: color-mix(in srgb, var(--warn) 12%, transparent); }
.tbl tr.rest td { color: var(--muted); }
.tbl .flagcell { display: inline-flex; align-items: center; gap: 8px; }
.summary-line { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; margin: 0 0 14px; font-size: .95rem; }
.cols-2 { columns: 2 260px; column-gap: 28px; } .cols-2 > * { break-inside: avoid; }
.kv-list { list-style: none; margin: 0; padding: 0; } .kv-list li { padding: 6px 0; border-bottom: 1px dashed var(--border); display: flex; justify-content: space-between; gap: 14px; } .kv-list li:last-child { border: 0; }
.pre { font: 400 .84rem/1.55 var(--mono); background: var(--surface2); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 14px; overflow-x: auto; white-space: pre-wrap; overflow-wrap: anywhere; max-height: 380px; margin: 0; }
.status { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; font-size: .88rem; }
.status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--faint); }
.status.ok::before { background: var(--ok); } .status.bad::before { background: var(--bad); } .status.warn::before { background: var(--warn); }
.zones { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.zone { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 14px; border-radius: 12px; background: var(--surface2); border: 1px solid var(--border); font-weight: 550; font-size: .93rem; }
.zone.listed { background: var(--bad-bg); border-color: transparent; color: var(--bad); }
.zone small { font-weight: 600; }
.mapbox { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: var(--bg2); }

/* Loading */
.panel { position: relative; min-height: 120px; }
.panel .body { animation: rise .45s cubic-bezier(.2, .7, .2, 1); }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.skel { display: grid; gap: 12px; padding: 4px 0; }
.skel i { display: block; height: 14px; border-radius: 7px; background: linear-gradient(90deg, var(--bg2) 25%, color-mix(in srgb, var(--bg2) 55%, var(--surface)) 50%, var(--bg2) 75%); background-size: 200% 100%; animation: shimmer 1.4s infinite linear; }
.skel i:nth-child(2) { width: 82%; } .skel i:nth-child(3) { width: 64%; } .skel i:nth-child(4) { width: 90%; }
@keyframes shimmer { to { background-position: -200% 0; } }
.retry { cursor: pointer; background: none; border: 1px solid var(--border); color: var(--accent); border-radius: 10px; padding: 6px 12px; font: 600 .9rem var(--font); }

/* Content pages */
.page { max-width: 820px; margin: 44px auto 56px; }
.page h1 { margin-bottom: .3em; } .page h2 { margin-top: 1.6em; }
.page li { margin-bottom: .4em; }
.lead { font-size: 1.15rem; color: var(--muted); }
.form-row { display: grid; gap: 6px; margin-bottom: 16px; }
.form-row label { font-weight: 650; font-size: .92rem; }
.form-row input, .form-row textarea { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--border2); background: var(--surface); color: var(--text); font: inherit; }
.form-row input:focus, .form-row textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent); }
.hp { position: absolute; left: -9999px; }

/* Ads */
.ad-slot { margin: 28px auto; text-align: center; min-height: 0; }

/* Footer */
.site-foot { margin-top: 60px; border-top: 1px solid var(--border); background: var(--surface); padding: 36px 0 28px; font-size: .92rem; color: var(--muted); }
.foot-grid { display: grid; gap: 26px; grid-template-columns: 1.6fr repeat(2, 1fr); }
.foot-grid h4 { margin: 0 0 10px; color: var(--text); font-size: .86rem; text-transform: uppercase; letter-spacing: .08em; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; } .foot-grid li { margin-bottom: 6px; }
.foot-grid a { color: var(--muted); } .foot-grid a:hover { color: var(--accent); }
.credit-line { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--border); font-size: .84rem; color: var(--faint); }

/* Responsive */
@media (max-width: 860px) {
  .head-search { display: none; } .nav { display: none; position: absolute; top: 66px; left: 0; right: 0; flex-direction: column; background: var(--surface); padding: 10px 20px 16px; border-bottom: 1px solid var(--border); box-shadow: var(--shadow-lg); margin: 0; }
  .nav.open { display: flex; } .menu-btn { display: grid; margin-left: auto; } .head-row .icon-btn.theme { margin-left: 0; }
  .grid.two { grid-template-columns: 1fr; } .foot-grid { grid-template-columns: 1fr; }
  .search-big { flex-direction: column; padding: 10px; } .search-big input { height: 48px; } .btn { width: 100%; }
  .facts { grid-template-columns: 1fr; gap: 2px 0; } .facts dt { margin-top: 10px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
@media print { .site-head, .site-foot, .ad-slot, .search-big, .copy { display: none !important; } body::before { display: none; } .card { box-shadow: none; } }

/* Elevation gauge and the Embossify link */
.elev { width: 100%; height: auto; display: block; border-radius: 14px; }
.elev-sky { fill: color-mix(in srgb, var(--accent2) 14%, var(--surface2)); }
.elev-sea { fill: color-mix(in srgb, #3b82c4 55%, var(--surface2)); }
.elev-tick { stroke: var(--muted); stroke-width: 1.2; }
.elev-lbl { font: 600 7.5px var(--font); fill: var(--muted); }
.elev-stem { stroke: var(--text); stroke-width: 1.6; stroke-dasharray: 3 3; opacity: .55; }
.elev-dot { fill: var(--accent); filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .3)); }
.elev-pin { animation: drop .7s cubic-bezier(.2, .9, .3, 1.2); transform-origin: 50% 0; }
@keyframes drop { from { transform: translateY(-14px); opacity: 0; } to { transform: none; opacity: 1; } }
.embossify-link { display: flex; align-items: center; gap: 14px; margin-top: 16px; padding: 14px 16px; border-radius: var(--radius-sm); color: var(--text); text-decoration: none !important;
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 10%, var(--surface)), color-mix(in srgb, var(--accent3) 10%, var(--surface))); border: 1px solid var(--border); transition: transform .15s, box-shadow .15s, border-color .15s; }
.embossify-link:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); border-color: var(--accent); }
.embossify-link small { color: var(--muted); font-weight: 450; }
.embossify-link > .ico { margin-left: auto; color: var(--muted); }
.embossify-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--grad); color: #fff; flex: none; }
.embossify-ico .ico { width: 22px; height: 22px; }

/* Home page: the "ask when you want it" bars */
.more-card { display: flex; align-items: center; justify-content: space-between; gap: 22px; flex-wrap: wrap; background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 8%, var(--surface)), color-mix(in srgb, var(--accent2) 10%, var(--surface))); }
.more-card h3 { text-transform: none; letter-spacing: -.01em; font-size: 1.1rem; color: var(--text); }
[hidden] { display: none !important; }

/* Website icon and card (for domain lookups) */
.site-ico { width: 56px; height: 56px; object-fit: contain; border-radius: 14px; background: var(--surface); padding: 6px; box-shadow: 0 0 0 1px var(--border), var(--shadow); flex: none; }
.ip-big .site-ico { width: clamp(44px, 9vw, 64px); height: clamp(44px, 9vw, 64px); }
.site-card { display: flex; gap: 18px; align-items: flex-start; }
.site-card .site-ico { width: 64px; height: 64px; }
@media (max-width: 520px) { .site-card { flex-direction: column; } }

/* ---------- Map ---------- */
.map-card { padding: 14px; }
.ipmap { position: relative; }
.map-frame { position: relative; border-radius: calc(var(--radius) - 6px); overflow: hidden; aspect-ratio: 2 / 1; min-height: 240px; background: #cfe3f7; border: 1px solid var(--border); touch-action: pan-y; }
[data-theme="dark"] .map-frame { background: #0b1830; }
.ipmap.explore .map-frame { touch-action: none; cursor: grab; box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 40%, transparent); }
.ipmap.explore .map-frame:active { cursor: grabbing; }
.map-svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; user-select: none; -webkit-user-select: none; }
.map-svg .sea { fill: #cfe3f7; } [data-theme="dark"] .map-svg .sea { fill: #0b1830; }
.map-svg .grid { fill: none; stroke: rgba(30, 64, 110, .12); stroke-width: .12; vector-effect: non-scaling-stroke; } [data-theme="dark"] .map-svg .grid { stroke: rgba(150, 190, 255, .09); }
.map-svg .land { fill: #f3f6f0; stroke: #b6c3b0; stroke-width: .6; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
[data-theme="dark"] .map-svg .land { fill: #1a2740; stroke: #2e4163; }
.map-svg .land.hl { fill: #e6f0dc; stroke: #8fae83; } [data-theme="dark"] .map-svg .land.hl { fill: #1f3050; stroke: #46608f; }
.map-svg .region { fill: none; stroke: #b6c3b0; stroke-width: .5; vector-effect: non-scaling-stroke; } [data-theme="dark"] .map-svg .region { stroke: #2e4163; }
.map-svg .region.hl { fill: color-mix(in srgb, var(--accent) 14%, transparent); stroke: var(--accent); stroke-width: 1; }
.map-svg .acc { fill: color-mix(in srgb, var(--c) 14%, transparent); stroke: var(--c); stroke-width: 1; stroke-dasharray: 4 3; vector-effect: non-scaling-stroke; }
.map-svg .city circle { r: var(--cr); fill: #64748b; } [data-theme="dark"] .map-svg .city circle { fill: #94a3b8; }
.map-svg .city text { font: 600 var(--ts) var(--font, system-ui); fill: #475569; paint-order: stroke; stroke: rgba(255, 255, 255, .85); stroke-width: calc(var(--ts) * .28); }
[data-theme="dark"] .map-svg .city text { fill: #cbd5e1; stroke: rgba(11, 24, 48, .85); }
.map-svg .leader { stroke: var(--c); stroke-width: 1.4; vector-effect: non-scaling-stroke; opacity: .8; }
.pin { cursor: pointer; outline: none; }
.pin-body path { fill: var(--c); stroke: #fff; stroke-width: 2; paint-order: stroke; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .35)); }
.pin-body circle { fill: #fff; }
.pin-body { transform-box: fill-box; transform-origin: 50% 100%; transition: transform .18s; }
.pin:hover .pin-body, .pin:focus-visible .pin-body { transform: scale(1.28); }
.pin { animation: pin-drop .5s cubic-bezier(.3, 1.6, .5, 1) both; }
@keyframes pin-drop { from { opacity: 0; } to { opacity: 1; } }
.map-ctl { position: absolute; right: 10px; top: 10px; display: flex; flex-direction: column; gap: 1px; background: var(--border2); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); }
.map-ctl button { width: 40px; height: 40px; border: 0; background: var(--surface); color: var(--text); font: 600 1.3rem var(--font); cursor: pointer; display: grid; place-items: center; }
.map-ctl button:hover { background: var(--surface2); color: var(--accent); }
.map-ctl .ico { width: 18px; height: 18px; }
.map-lock, .map-done { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); border: 0; cursor: pointer; border-radius: 999px; padding: 10px 18px; font: 600 .9rem var(--font); display: inline-flex; gap: 8px; align-items: center; box-shadow: var(--shadow-lg); }
.map-lock { background: color-mix(in srgb, var(--surface) 92%, transparent); color: var(--text); backdrop-filter: blur(6px); white-space: nowrap; }
.map-lock .ico { width: 18px; height: 18px; color: var(--accent); }
.map-done { background: var(--accent); color: #fff; }
.map-lock[hidden], .map-done[hidden] { display: none; }
.map-tip { position: absolute; z-index: 3; max-width: 260px; padding: 9px 12px; border-radius: 10px; background: var(--surface); color: var(--text); border: 1px solid var(--border2); border-left: 4px solid var(--c, var(--accent)); box-shadow: var(--shadow-lg); pointer-events: none; font-size: .85rem; line-height: 1.35; }
.map-tip strong { display: block; } .map-tip span { color: var(--muted); }
.map-legend { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.map-legend button { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--border2); background: var(--surface2); color: var(--text); font: 600 .82rem var(--font); cursor: pointer; }
.map-legend button i { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.map-legend button[aria-pressed="false"] { opacity: .45; text-decoration: line-through; }
.spread { margin-top: 10px; font-size: .92rem; color: var(--muted); }
@media (max-width: 640px) { .map-frame { aspect-ratio: 4 / 3; } .map-lock span { font-size: .85rem; } }
/* ---------- Globe ---------- */
.geo-tabs { display: inline-flex; gap: 4px; padding: 4px; margin: 0 0 12px; border-radius: 999px; background: var(--surface2); border: 1px solid var(--border); }
.geo-tabs button { display: inline-flex; align-items: center; gap: 7px; border: 0; background: none; color: var(--muted); font: 650 .9rem var(--font); padding: 8px 16px; border-radius: 999px; cursor: pointer; }
.geo-tabs button .ico { width: 16px; height: 16px; }
.geo-tabs button[aria-selected="true"] { background: var(--grad); color: #fff; box-shadow: 0 6px 16px -8px color-mix(in srgb, var(--accent) 80%, transparent); }
.geo-tabs button:not([aria-selected="true"]):hover { color: var(--text); }
.globe { position: relative; height: clamp(300px, 44vw, 660px); border-radius: calc(var(--radius) - 6px); overflow: hidden; touch-action: pan-y; cursor: grab;
  background: radial-gradient(70% 90% at 50% 40%, color-mix(in srgb, var(--accent) 12%, var(--surface2)), var(--surface2)); border: 1px solid var(--border); }
[data-theme="dark"] .globe { background: radial-gradient(70% 90% at 50% 40%, #10244a, #050b1a); }
.globe canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity .6s; }
.globe.ready canvas { opacity: 1; }
.globe:active { cursor: grabbing; }
.globe-hint { position: absolute; left: 14px; bottom: 10px; font-size: .78rem; color: var(--muted); pointer-events: none; max-width: 70%; }
[data-theme="dark"] .globe-hint { color: #8fa6cc; }
.globe-recenter { position: absolute; right: 12px; bottom: 12px; width: 40px; height: 40px; border-radius: 12px; border: 0; background: var(--surface); color: var(--accent); cursor: pointer; display: grid; place-items: center; box-shadow: var(--shadow); }
.globe-recenter:hover { background: var(--surface2); }
.globe-recenter .ico { width: 20px; height: 20px; }
.legend-dot { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--border2); background: var(--surface2); font: 600 .82rem var(--font); }
.legend-dot i { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
@media (max-width: 640px) { .globe-hint { font-size: .72rem; } }
.pin-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 14px; }
.pin-bar p { margin: 0; flex: 1 1 280px; font-size: .92rem; }
.pin-bar .btn { height: 44px; }
@media (max-width: 640px) { .pin-bar .btn { flex: 1 1 100%; } }

/* ---------- Blacklist gauge and tiles ---------- */
.bl-head { display: flex; align-items: center; gap: 22px; padding: 18px 20px; margin-bottom: 14px; border-radius: 16px; border: 1px solid var(--border); background: var(--surface2); transition: background .4s, border-color .4s; }
.bl-head.ok { background: linear-gradient(135deg, var(--ok-bg), var(--surface2) 80%); border-color: color-mix(in srgb, var(--ok) 35%, var(--border)); }
.bl-head.bad { background: linear-gradient(135deg, var(--bad-bg), var(--surface2) 80%); border-color: color-mix(in srgb, var(--bad) 45%, var(--border)); }
.bl-head.warn { background: linear-gradient(135deg, var(--warn-bg), var(--surface2) 80%); }
.bl-ring { position: relative; width: 112px; height: 112px; flex: none; }
.bl-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.bl-ring circle { fill: none; stroke-width: 12; stroke-linecap: butt; transition: stroke-dasharray .5s, stroke-dashoffset .5s; }
.bl-ring .track { stroke: color-mix(in srgb, var(--faint) 28%, transparent); }
.bl-ring .clear { stroke: var(--ok); } .bl-ring .listed { stroke: var(--bad); } .bl-ring .unknown { stroke: var(--faint); }
.bl-head.busy .bl-ring svg { animation: bl-spin 1.4s linear infinite; } .bl-head.busy .bl-ring .track { stroke-dasharray: 60 230; stroke: var(--accent); }
@keyframes bl-spin { to { transform: rotate(270deg); } }
.bl-num { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; line-height: 1.05; }
.bl-num b { font: 750 1.9rem var(--font); letter-spacing: -.03em; } .bl-num b i { font: 600 1rem var(--font); color: var(--muted); font-style: normal; }
.bl-num small { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; color: var(--muted); }
.bl-head.ok .bl-num b { color: var(--ok); } .bl-head.bad .bl-num b { color: var(--bad); }
.bl-text { min-width: 0; } .bl-text h4 { margin: 0 0 4px; font-size: 1.25rem; letter-spacing: -.01em; }
.bl-head.ok h4 { color: var(--ok); } .bl-head.bad h4 { color: var(--bad); }
.bl-text p { margin: 0 0 8px; color: var(--muted); font-size: .93rem; } .bl-text p.small { margin: 8px 0 0; }
.bl-key { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; font-size: .85rem; font-weight: 650; }
.bl-key .k { display: inline-flex; align-items: center; gap: 6px; } .bl-key .k i { width: 10px; height: 10px; border-radius: 50%; }
.bl-key .ok i { background: var(--ok); } .bl-key .bad i { background: var(--bad); } .bl-key .grey i { background: var(--faint); }
.zones { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.zone { display: flex; align-items: center; justify-content: flex-start; gap: 12px; padding: 10px 12px; border-radius: 12px; background: var(--surface2); border: 1px solid var(--border); border-left: 4px solid var(--faint); font-weight: 600; font-size: .92rem; color: var(--text); }
.zone .zi { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--faint) 20%, transparent); color: var(--muted); }
.zone .zi .ico { width: 16px; height: 16px; stroke-width: 2.6; }
.zone { min-width: 0; } .zone .zn { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; } .zone small { font-weight: 600; color: var(--muted); font-size: .78rem; }
.zone.st-clear { background: var(--ok-bg); border-left-color: var(--ok); } .zone.st-clear .zi { background: var(--ok); color: #fff; } .zone.st-clear small { color: var(--ok); }
.zone.st-listed { background: var(--bad-bg); border-left-color: var(--bad); box-shadow: 0 6px 18px -10px var(--bad); } .zone.st-listed .zi { background: var(--bad); color: #fff; } .zone.st-listed small { color: var(--bad); font-weight: 750; }
.zone.st-listed, .zone.st-listed .zn { color: var(--bad); }
.zone.st-listed { order: 0; } .zone.st-unknown { order: 1; } .zone.st-clear { order: 2; } .zone.st-na { display: none; }
@media (max-width: 560px) { .bl-head { flex-direction: column; text-align: center; } .bl-key { justify-content: center; } .zones { grid-template-columns: repeat(2, minmax(0, 1fr)); } .zone { padding: 9px 10px; gap: 9px; } .zone .zn { overflow-wrap: anywhere; } }
/* ---------- Owner header (company icon) ---------- */
.owner { display: flex; align-items: center; gap: 14px; padding: 12px 14px; margin: 0 0 14px; border-radius: 14px; background: var(--surface2); border: 1px solid var(--border); }
.owner-ico { width: 48px; height: 48px; flex: none; border-radius: 12px; object-fit: contain; background: #fff; padding: 6px; box-shadow: 0 0 0 1px var(--border), 0 6px 14px -8px rgba(0, 0, 0, .35); }
.owner-letter { display: grid; place-items: center; background: var(--grad); color: #fff; font: 750 1.4rem var(--font); padding: 0; }
.owner-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; } .owner-text strong { font-size: 1.05rem; overflow-wrap: anywhere; } .owner-text .subtle { font-size: .85rem; }
/* ---------- Map layers (terrain, elevation, satellite ...) ---------- */
.map-layers { position: absolute; left: 10px; top: 10px; z-index: 2; display: flex; gap: 2px; padding: 3px; max-width: calc(100% - 70px); overflow-x: auto; scrollbar-width: none; background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(6px); border-radius: 12px; box-shadow: var(--shadow); }
.map-layers::-webkit-scrollbar { display: none; }
.map-layers button { flex: none; border: 0; background: none; color: var(--muted); font: 650 .8rem var(--font); padding: 7px 11px; border-radius: 9px; cursor: pointer; white-space: nowrap; }
.map-layers button:hover { color: var(--text); }
.map-layers button[aria-pressed="true"] { background: var(--accent); color: #fff; }
.map-svg .tile { opacity: 0; transition: opacity .35s; image-rendering: auto; }
.map-svg .tile.on { opacity: 1; }
.ipmap[data-layer]:not([data-layer="map"]) .map-frame { background: #0b1830; }
.ipmap[data-layer]:not([data-layer="map"]) .map-svg .sea, .ipmap[data-layer]:not([data-layer="map"]) .map-svg .land { fill: transparent; }
.ipmap[data-layer]:not([data-layer="map"]) .map-svg .grid { stroke: rgba(255, 255, 255, .12); }
.ipmap[data-layer]:not([data-layer="map"]) .map-svg .land { stroke: rgba(255, 255, 255, .55); }
.ipmap[data-layer]:not([data-layer="map"]) .map-svg .land.hl { stroke: #ffd166; stroke-width: 1.4; }
.ipmap[data-layer]:not([data-layer="map"]) .map-svg .region { stroke: rgba(255, 255, 255, .4); }
.ipmap[data-layer]:not([data-layer="map"]) .map-svg .city text { fill: #fff; stroke: rgba(0, 0, 0, .75); stroke-width: calc(var(--ts) * .3); }
.ipmap[data-layer]:not([data-layer="map"]) .map-svg .city circle { fill: #fff; }
.map-credit { position: absolute; left: 10px; bottom: 10px; z-index: 2; max-width: calc(100% - 120px); font-size: .68rem; line-height: 1.3; color: #fff; text-shadow: 0 1px 3px rgba(0, 0, 0, .9); pointer-events: none; }
.map-credit span[hidden] { display: none; }
.map-ramp { position: absolute; left: 10px; bottom: 34px; z-index: 2; width: min(260px, 52%); pointer-events: none; color: #fff; text-shadow: 0 1px 3px rgba(0, 0, 0, .9); font-size: .66rem; font-weight: 650; }
.map-ramp i { display: block; height: 9px; border-radius: 5px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .5); background: linear-gradient(90deg, #08163f 0%, #0e3476 14%, #1e60ac 26%, #46a0d0 34%, #80c1e5 38%, #56a060 42%, #84bc62 52%, #c8d076 64%, #d6b870 76%, #ba8e58 86%, #96706a 94%, #fff 100%); }
.map-ramp span { display: flex; justify-content: space-between; margin-top: 3px; }
.map-lock { bottom: 40px; }
@media (max-width: 640px) { .map-layers button { padding: 7px 9px; font-size: .76rem; } .map-credit { max-width: calc(100% - 20px); bottom: 6px; } .map-ramp { bottom: 30px; } }
.globe .globe-skins { left: 12px; top: 12px; }
.globe .globe-hint { max-width: calc(100% - 90px); }

/* ---------- Wider layout ---------- */
.page.prose { max-width: 900px; margin-inline: auto; }
.map-frame { max-height: min(74vh, 720px); }
@media (min-width: 1100px) { .map-frame { aspect-ratio: 2.3 / 1; } }

/* ---------- Data grid (every service, every data point) ---------- */
.gridcard { padding: 14px; }
.grid-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin: 0 0 12px; }
.grid-bar .grid-status { flex: 1 1 320px; margin: 0; }
.switch { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 600; cursor: pointer; }
.switch input { width: 18px; height: 18px; accent-color: var(--accent); }
.btn.small { height: 38px; padding: 0 14px; font-size: .88rem; border-radius: 10px; }
.grid-scroll { overflow: auto; max-width: 100%; border: 1px solid var(--border); border-radius: 14px; max-height: min(78vh, 920px); }
.dgrid { border-collapse: separate; border-spacing: 0; width: 100%; min-width: max-content; font-size: .88rem; }
.dgrid th, .dgrid td { padding: 8px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); white-space: nowrap; background: var(--surface); }
.dgrid thead th { position: sticky; top: 0; z-index: 3; background: var(--surface2); font-size: .82rem; vertical-align: bottom; }
.dgrid thead th.col { min-width: 150px; font-weight: 700; } .dgrid thead th small { display: block; font-weight: 500; color: var(--muted); }
.dgrid thead th small.warnt { color: var(--warn); }
.dgrid thead th .dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 7px; vertical-align: 0; }
.dgrid thead th.wait { opacity: .6; animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.dgrid .rowhead { position: sticky; left: 0; z-index: 2; min-width: 170px; background: var(--surface2); font-weight: 650; border-right: 1px solid var(--border); }
.dgrid thead .rowhead { z-index: 4; }
.dgrid .rowhead small.agree { display: block; font-weight: 600; font-size: .72rem; } .dgrid small.agree.same { color: var(--ok); } .dgrid small.agree.mixed { color: var(--warn); }
.dgrid tr.grp th { position: static; background: color-mix(in srgb, var(--accent) 9%, var(--surface2)); color: var(--accent); text-transform: uppercase; letter-spacing: .08em; font-size: .72rem; padding: 7px 12px; }
.dgrid td.diff { background: color-mix(in srgb, var(--warn) 16%, var(--surface)); font-weight: 650; }
.dgrid td.num { font-variant-numeric: tabular-nums; } .dgrid td.na { color: var(--faint); }
.dgrid .flag { height: 15px; width: auto; vertical-align: -2px; border-radius: 2px; }
.dgrid tbody tr:hover td { background: color-mix(in srgb, var(--accent) 6%, var(--surface)); } .dgrid tbody tr:hover td.diff { background: color-mix(in srgb, var(--warn) 22%, var(--surface)); }
@media (max-width: 640px) { .dgrid { font-size: .82rem; } .dgrid .rowhead { min-width: 118px; } .dgrid thead th.col { min-width: 124px; } .dgrid th, .dgrid td { padding: 7px 9px; } }
.dgrid thead th { text-transform: none; letter-spacing: 0; }

/* ---------- Facts on the left, map or globe on the right (desktop) ---------- */
.geo-layout { display: grid; gap: 18px; }
.geo-main { min-width: 0; } .geo-main .map-card { margin-bottom: 0 !important; }
.geo-side { display: grid; gap: 18px; align-content: start; order: -1; min-width: 0; }
@media (min-width: 1020px) {
  .geo-layout { grid-template-columns: minmax(330px, 1fr) 2fr; align-items: start; }
  .geo-side { order: 0; grid-column: 1; grid-row: 1; } .geo-main { grid-column: 2; grid-row: 1; }
  .geo-layout:not(:has(.geo-side .card)) { grid-template-columns: 1fr; } .geo-layout:not(:has(.geo-side .card)) .geo-main { grid-column: 1; }
  .geo-main .map-frame { aspect-ratio: auto; height: clamp(460px, 42vw, 680px); max-height: none; }
  .geo-main .globe { height: clamp(460px, 42vw, 680px); }
  .geo-side .card { padding: 18px 20px; } .geo-side .facts { font-size: .92rem; }
}
@media (min-width: 1020px) { .hero-lookup { padding-top: 30px; padding-bottom: 0; } .hero-lookup .search-big { display: none; } .hero-lookup .ip-big { margin-top: 14px; } .hero-lookup .chips { margin-bottom: 8px; } }

/* ---------- Range, network and country pages ---------- */
.ent { font-weight: 600; } a.ent.mono { font-weight: 600; }
.bitbar { display: flex; flex-wrap: wrap; gap: 2px; row-gap: 3px; } .bitbar i { width: 14px; height: 24px; border-radius: 3px; background: color-mix(in srgb, var(--faint) 30%, transparent); }
.bitbar i.n { background: var(--accent); } .bitbar i.g { margin-left: 8px; } .bitbar.v6 i { width: 6px; height: 16px; border-radius: 2px; } .bitbar.v6 i.g { margin-left: 5px; }
.tagcloud { display: flex; flex-wrap: wrap; gap: 6px; } .tagcloud .tag { font-size: .84rem; }
.plain { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; } .plain li { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; padding: 8px 12px; border-radius: 10px; background: var(--surface2); border: 1px solid var(--border); }
.statrow { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 10px; } .statrow div { padding: 12px 14px; border-radius: 12px; background: var(--surface2); border: 1px solid var(--border); }
.statrow b { display: block; font: 750 1.5rem var(--font); letter-spacing: -.02em; } .statrow span { font-size: .8rem; color: var(--muted); font-weight: 600; }
.statgrid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.stat { padding: 16px 18px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); min-width: 0; }
.stat span { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; color: var(--muted); } .stat b { display: block; font: 750 1.7rem/1.15 var(--font); letter-spacing: -.02em; margin: 4px 0 2px; overflow-wrap: anywhere; } .stat small { color: var(--muted); font-size: .82rem; }
.meter { margin: 0 0 14px; } .mhead { display: flex; justify-content: space-between; font-size: .92rem; font-weight: 600; margin-bottom: 6px; } .mtrack { height: 10px; border-radius: 6px; background: color-mix(in srgb, var(--faint) 25%, transparent); overflow: hidden; }
.mtrack i { display: block; height: 100%; border-radius: 6px; background: var(--grad); } .meter small { color: var(--muted); }
.agebar { display: flex; height: 16px; border-radius: 8px; overflow: hidden; margin: 0 0 10px; } .agebar i, .agekey i { display: block; } .agebar .a, .agekey .a { background: #38bdf8; } .agebar .b, .agekey .b { background: var(--accent); } .agebar .c, .agekey .c { background: #a78bfa; }
.agekey { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .88rem; margin-bottom: 16px; } .agekey span { display: inline-flex; align-items: center; gap: 6px; } .agekey i { width: 10px; height: 10px; border-radius: 50%; }
.citylist { list-style: none; margin: 0; padding: 0; counter-reset: c; } .citylist li { counter-increment: c; display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--border); font-size: .94rem; }
.citylist li::before { content: counter(c); width: 1.6em; color: var(--faint); font-weight: 700; font-size: .82rem; } .citylist li span { flex: 1; } .citylist li b { font-variant-numeric: tabular-nums; }
.countrygrid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.countrycard { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); color: var(--text); transition: transform .15s, border-color .15s, box-shadow .15s; }
.countrycard:hover { transform: translateY(-2px); border-color: var(--accent); box-shadow: var(--shadow); } .countrycard .flag { height: 26px; flex: none; } .countrycard span { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; } .countrycard small { color: var(--muted); }
.country-top .geo-main, .country-top .geo-side { min-width: 0; } .country-top .geo-side { align-content: start; }
.cutout-card { display: grid; place-items: center; padding: 22px; min-height: 360px; background: radial-gradient(70% 70% at 50% 40%, color-mix(in srgb, var(--accent) 10%, var(--surface)), var(--surface)); }
.cutout { width: 100%; height: auto; max-height: 520px; display: block; overflow: visible; }
.cutout .s0 { stop-color: #ffffff; } .cutout .s1 { stop-color: #d7e3f7; } .cutout .c-side use { fill: #9db3d6; } .cutout .c-shadow use { fill: rgba(20, 40, 90, .38); }
.cutout .c-rim { fill: none; stroke: rgba(255, 255, 255, .95); stroke-width: 1.2; vector-effect: non-scaling-stroke; stroke-linejoin: round; } .cutout .c-top { stroke: rgba(60, 90, 150, .35); stroke-width: .8; vector-effect: non-scaling-stroke; }
[data-theme="dark"] .cutout .s0 { stop-color: #6f9cf2; } [data-theme="dark"] .cutout .s1 { stop-color: #3558b8; } [data-theme="dark"] .cutout .c-side use { fill: #1b2d63; } [data-theme="dark"] .cutout .c-shadow use { fill: rgba(0, 0, 0, .6); }
[data-theme="dark"] .cutout .c-rim { stroke: rgba(190, 215, 255, .7); } [data-theme="dark"] .cutout .c-top { stroke: rgba(10, 20, 50, .6); }
.cutout .c-pin circle { fill: #ff4d6d; stroke: #fff; stroke-width: 2; vector-effect: non-scaling-stroke; } .cutout .c-pin .ring { fill: none; stroke: #ff4d6d; opacity: .55; }
.prose p { margin: 0 0 12px; } .prose p:last-child { margin: 0; }
@media (min-width: 1020px) {
  .geo-layout.country-top, .geo-layout.country-top:not(:has(.geo-side .card)) { grid-template-columns: minmax(320px, 5fr) 7fr; align-items: stretch; }
  .geo-layout.country-top .geo-main { grid-column: 1; grid-row: 1; } .geo-layout.country-top .geo-side { grid-column: 2; grid-row: 1; }
  .country-top .cutout-card { height: 100%; } .country-top .statgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1019px) { .country-top .geo-main { order: 0; } .country-top .geo-side { order: 1; } .country-top .statgrid { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); } }
a.ent:hover { text-decoration: underline; }
.flaglink { display: inline-flex; line-height: 0; border-radius: 4px; transition: transform .15s; } .flaglink:hover { transform: scale(1.08); }

/* ---------- Slide-down sections and questions ---------- */
details.slide { margin-bottom: 8px; }
details.slide > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; padding: 6px 0; border-radius: 12px; user-select: none; }
details.slide > summary::-webkit-details-marker { display: none; }
details.slide > summary h2 { flex: 1; margin: 0; }
details.slide > summary::after { content: ""; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--surface2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238392aa' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / 18px no-repeat; border: 1px solid var(--border); transition: transform .25s, background-color .2s; }
details.slide[open] > summary::after { transform: rotate(180deg); }
details.slide > summary:hover::after { border-color: var(--accent); }
details.slide > summary:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 55%, transparent); outline-offset: 2px; }
details.slide[open] > summary { margin-bottom: 8px; }
details.slide > summary a { position: relative; z-index: 1; }
.slide-tools { display: flex; justify-content: flex-end; gap: 8px; margin: 6px 0 -6px; }
.slide-tools button { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--border2); background: var(--surface); color: var(--muted); font: 600 .8rem var(--font); padding: 6px 12px; border-radius: 999px; cursor: pointer; }
.slide-tools button:hover { color: var(--accent); border-color: var(--accent); } .slide-tools .ico { width: 14px; height: 14px; }
.faqlist { display: grid; gap: 8px; }
details.qa { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
details.qa[open] { border-color: color-mix(in srgb, var(--accent) 45%, var(--border)); box-shadow: var(--shadow); }
details.qa > summary { list-style: none; cursor: pointer; padding: 14px 52px 14px 18px; font-weight: 650; position: relative; }
details.qa > summary::-webkit-details-marker { display: none; }
details.qa > summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font: 500 1.5rem var(--font); color: var(--accent); transition: transform .2s; }
details.qa[open] > summary::after { content: "\2212"; }
details.qa > summary:hover { background: var(--surface2); }
.qa-body { padding: 2px 18px 16px; color: var(--muted); line-height: 1.6; } .qa-body p { margin: 0 0 10px; } .qa-body p:last-child { margin-bottom: 0; } .qa-body strong { color: var(--text); } .qa-body .facts { margin-top: 6px; }
@media print { details > *:not(summary) { display: block !important; } }
/* Guide articles: a diagram comes as a light and a dark picture; the one matching the site's theme shows. */
.prose .art { display: block; width: 100%; max-width: 760px; height: auto; margin: 22px auto 6px; border-radius: 16px; box-shadow: var(--shadow); }
.prose .art-dark { display: none; }
[data-theme="dark"] .prose .art-light { display: none; }
[data-theme="dark"] .prose .art-dark { display: block; }
.prose .art-caption { text-align: center; color: var(--muted); font-size: .88rem; margin: 6px auto 22px; max-width: 60ch; }
.prose .lead { font-size: 1.12rem; color: var(--muted); }
.prose .guide-list { list-style: none; padding: 0; display: grid; gap: 12px; margin: 18px 0; }
.prose .guide-list li { border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 14px 18px; background: var(--surface); box-shadow: var(--shadow); }
.prose .guide-list a { font-weight: 700; font-size: 1.05rem; }
.prose .guide-list span { display: block; color: var(--muted); font-size: .92rem; margin-top: 2px; }
.prose .callout { border-left: 4px solid var(--accent); background: var(--info-bg); border-radius: 10px; padding: 12px 16px; margin: 16px 0; }
/* Phones: grid children may shrink below their content, and a wide table scrolls inside the article instead of widening the page. */
.geo-layout > *, .map-card, .ipmap { min-width: 0; max-width: 100%; }
.prose table { display: block; max-width: 100%; overflow-x: auto; }
@media (max-width: 640px) { .map-frame { min-height: 0; width: 100%; } }

.prose, .prose a, .prose li { overflow-wrap: anywhere; }

/* Compare page: the verdict and the analysis under the map. */
#compare-analysis .grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 16px 0; }
#compare-analysis .grid-2 > .card, #compare-analysis > .card { margin: 0; min-width: 0; }
#compare-analysis > .card { margin-bottom: 16px; }
#compare-analysis h3 { margin: 0 0 4px; }
.count-pill { font-size: .78rem; font-weight: 700; background: var(--info-bg); color: var(--accent); border-radius: 99px; padding: 2px 10px; margin-left: 8px; vertical-align: middle; }
.verdict { display: grid; gap: 18px; }
.verdict-main { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.verdict-label { display: grid; gap: 4px; min-width: 0; }
.verdict-label .eyebrow { font-size: .76rem; text-transform: uppercase; letter-spacing: .09em; color: var(--muted); font-weight: 700; }
.verdict-label strong { font-size: clamp(1.35rem, 3vw, 2rem); line-height: 1.15; letter-spacing: -.02em; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.verdict-label .flag { border-radius: 4px; box-shadow: 0 1px 4px rgba(0,0,0,.25); }
.conf { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: center; padding: 12px 18px; border-radius: var(--radius-sm); max-width: 360px; background: var(--bg2); }
.conf b { grid-column: 2; } .conf small { grid-column: 2; color: var(--muted); }
.conf-dot { grid-row: 1 / span 2; width: 14px; height: 14px; border-radius: 50%; background: var(--faint); }
.conf-high { background: var(--ok-bg); } .conf-high .conf-dot { background: var(--ok); } .conf-high b { color: var(--ok); }
.conf-medium { background: var(--warn-bg); } .conf-medium .conf-dot { background: var(--warn); } .conf-medium b { color: var(--warn); }
.conf-low { background: var(--bad-bg); } .conf-low .conf-dot { background: var(--bad); } .conf-low b { color: var(--bad); }
.vstats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.vstats > div { background: var(--surface2); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 12px 16px; }
.vstats b { display: block; font-size: 1.5rem; line-height: 1.2; letter-spacing: -.02em; }
.vstats b small { font-size: .85rem; font-weight: 600; color: var(--muted); }
.vstats span { color: var(--muted); font-size: .84rem; }
.grp-row { padding: 12px 0; border-top: 1px solid var(--border); } .grp-row:first-child { border-top: 0; }
.grp-row.main .grp-head b { color: var(--accent); }
.grp-head { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.grp-members, .dissent { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.member { display: inline-flex; align-items: center; gap: 6px; background: var(--bg2); border-radius: 99px; padding: 3px 11px; font-size: .84rem; }
.member em { font-style: normal; font-weight: 600; }
.member .dot, .score .dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; flex: none; }
.field-row { padding: 10px 0; border-top: 1px solid var(--border); } .field-row:first-child { border-top: 0; }
.field-top { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.field-top > span { font-weight: 600; min-width: 0; overflow-wrap: anywhere; }
.field-top small { margin-left: auto; font-weight: 600; } .field-top small.same { color: var(--ok); } .field-top small.mixed { color: var(--warn); }
.bar { height: 8px; border-radius: 99px; background: var(--bg2); overflow: hidden; margin-top: 6px; }
.bar i { display: block; height: 100%; border-radius: 99px; background: var(--ok); } .bar i.warn { background: var(--warn); } .bar i.bad { background: var(--bad); }
.score th[scope="row"] { text-align: left; white-space: nowrap; font-weight: 650; } .score th[scope="row"] .dot { margin-right: 8px; }
.score th[scope="row"] small { display: block; font-weight: 400; color: var(--faint); font-size: .78rem; margin-left: 18px; white-space: normal; }
.score .yes { color: var(--ok); font-weight: 800; } .score .no { color: var(--bad); font-weight: 800; }
@media (max-width: 860px) { #compare-analysis .grid-2 { grid-template-columns: 1fr; } .conf { max-width: none; width: 100%; } }