/* بخش «کشورها»: کرهٔ زمین، پنل کشور، فهرست قاره‌ها */
.geo{background:radial-gradient(1100px 620px at 50% -10%,#1b2c63 0,#0b1226 58%,#070b18 100%);color:#F1EFE8;padding:144px 0 52px;margin-top:-100px;overflow:hidden}
/* بخش تیره تا بالای صفحه و زیرِ سربرگ شناور ادامه دارد (سربرگ ۸۴ تا ۹۲ پیکسل است)، تا نوار روشن بالای آن دیده نشود */
.geo-in{display:grid;grid-template-columns:minmax(250px,320px) minmax(0,1fr) minmax(250px,310px);gap:30px;align-items:center}
.geo-k{display:inline-flex;align-items:center;gap:8px;font-size:13.5px;font-weight:800;color:#FCB605;letter-spacing:0}
.geo-k::before{content:"";width:9px;height:9px;border-radius:50%;background:#FCB605;box-shadow:0 0 0 4px rgba(252,182,5,.22)}
.geo-h h1{font-size:clamp(36px,5vw,58px);font-weight:900;line-height:1.2;margin:10px 0 12px;color:#fff}
.geo-d{color:#c6c9d6;font-size:16px;line-height:1.9}
.geo-st{display:flex;gap:26px;margin:22px 0}
.geo-st b{display:block;font-size:30px;font-weight:900;color:#FCB605;line-height:1.25}
.geo-st span{font-size:13px;color:#a9adbd}
.geo-ly{display:inline-flex;flex-wrap:wrap;padding:4px;border-radius:22px;background:rgba(255,255,255,.09);gap:4px}
.geo-yr{display:flex;align-items:center;gap:10px;margin-top:14px;font-size:13.5px;color:#c6c9d6}
.geo-yr[hidden]{display:none}
.geo-yr input{flex:1;min-width:0;direction:ltr;accent-color:#FCB605;min-height:32px}
.geo-yr output{min-width:44px;text-align:center;font-weight:900;font-size:17px;color:#FCB605}
.geo-lg em{font-style:normal}
.geo-msg{color:#ffb4a8}
.geo-c .geo-hl{color:#FCB605}
.geo-c dd.geo-hl{font-size:16px}
.geo-more{display:block;text-align:center;margin-top:10px;font-size:13.5px;color:#dfe2ee;text-decoration:underline;text-underline-offset:3px}
.geo .geo-more:hover{color:#FCB605}
/* نقشهٔ کشور به‌جای تصویر شاخص: کاشی‌های نقشه مثل یک عکس، بدون جاوااسکریپت */
.cmap{position:relative;background:#aad3df;direction:ltr;isolation:isolate;container-type:inline-size}
/* --t اندازهٔ هر کاشی است و با عرض قاب کوچک و بزرگ می‌شود (مبنا: قاب ۸۴۲ پیکسلی)، پس نقشه مثل یک عکس هم‌نسبت می‌ماند */
.cmap-t{--t:256px;position:absolute;left:calc(50% - var(--ox)*var(--t));top:calc(50% - var(--oy)*var(--t));display:grid;grid-template-columns:repeat(5,var(--t));grid-auto-rows:var(--t);width:calc(5*var(--t))}
@supports (width:1cqw){.cmap-t{--t:calc(100cqw*256/842)}}
.cmap-t i{display:block;width:calc(var(--t) + .6px);height:calc(var(--t) + .6px);background:var(--d) 0 0/100% 100% no-repeat}
/* زمینهٔ نقشه آرام و کم‌رنگ است تا خودِ کشور دیده شود؛ بیرون از مرز یک لایهٔ روشن می‌گیرد و خط مرز پررنگ است */
.cmap-t i{filter:saturate(.32) contrast(.94) brightness(1.03)}
.cmap-o{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.cmap-o.m{display:none}
.cmap-v{fill:rgba(251,250,247,.62)}
.cmap-l{fill:rgba(252,182,5,.09);stroke:#8A6500;stroke-width:2.25;vector-effect:non-scaling-stroke;stroke-linejoin:round}
html[data-theme="dark"] .cmap-v{fill:rgba(17,19,23,.5)}
html[data-theme="dark"] .cmap-l{stroke:#F2B705}
.art-b .art-i.cmap,.art-i.cmap{margin-bottom:0;border-radius:18px 18px 0 0}
.cmap-go{position:absolute;left:12px;bottom:12px;z-index:2;display:inline-flex;align-items:center;gap:8px;border:1px solid rgba(21,23,28,.16);border-radius:12px;background:rgba(255,255,255,.94);color:#15171C;font:inherit;font-size:13px;font-weight:800;padding:8px 14px;min-height:42px;cursor:pointer;box-shadow:0 2px 10px rgba(0,0,0,.12);direction:rtl}
.cmap-go:hover{background:#FCB605;border-color:#FCB605;color:#15171C}
/* نوار «در یک نگاه»، چسبیده به پایین نقشه */
.cbr{margin:0 0 30px;border:1px solid var(--ln);border-top:0;border-radius:0 0 18px 18px;background:var(--sf);overflow:hidden}
/* خانه‌ها خودشان در هر عرضی ردیف‌بندی می‌شوند: یک ردیف در قاب پهن، سه‌تایی و دوتایی در قاب باریک‌تر، بدون خانهٔ خالی */
.cbr-f{display:flex;flex-wrap:wrap;gap:1px;background:var(--ln)}
.cbr-f li{flex:1 1 138px;background:var(--sf);padding:14px 16px 13px;min-width:0}
.cbr{container-type:inline-size}
/* قاب میانه: پنج خانه ۳+۲ و چهار خانه ۲+۲؛ قاب باریک: دوتایی */
@container (max-width:700px){.cbr-f li{flex-basis:30%}.cbr-f li:first-child:nth-last-child(4),.cbr-f li:first-child:nth-last-child(4)~li{flex-basis:45%}}
@container (max-width:430px){.cbr-f li{flex-basis:45%}}
.cbr-k{display:block;font-size:12.5px;line-height:1.6;color:var(--mu);font-weight:700}
.cbr-f b{display:block;font-size:20px;font-weight:900;line-height:1.55;color:var(--tx);overflow-wrap:anywhere}
.cbr-f small{display:block;font-size:12px;line-height:1.6;color:var(--mu)}
.cbr-n{display:flex;align-items:center;flex-wrap:wrap;gap:8px 14px;padding:12px 16px;border-top:1px solid var(--ln)}
.cbr-n ul{display:flex;flex-wrap:wrap;gap:8px}
.cbr-n a,.cbr-n li>span{display:inline-flex;align-items:center;gap:7px;min-height:38px;padding:4px 12px;border:1px solid var(--ln);border-radius:999px;font-size:14px;font-weight:700;line-height:1.5}
.cbr-n li>span{color:var(--mu);font-weight:400;border-style:dashed}
.haft .cbr-n a:hover{border-color:var(--gold);color:inherit}
.cbr-n img{width:20px;height:15px;border-radius:2px;border:1px solid var(--ln);flex:none}
.cbr-s{padding:10px 16px 12px;border-top:1px solid var(--ln);font-size:12.5px;color:var(--mu)}
.cbr-s a{text-decoration:underline;text-underline-offset:3px}
.cmap-go[disabled]{opacity:.7;cursor:progress}
.cmap-c{position:absolute;right:0;bottom:0;z-index:2;background:rgba(255,255,255,.82);color:#333;font-size:11px;line-height:1.6;padding:1px 7px;border-top-left-radius:6px}
.haft .cmap-c a{color:#0b4a8a;text-decoration:underline}
.cmap.live{background:var(--alt)}
.cmap.live .leaflet-container{position:absolute;inset:0;font-family:inherit}
html[data-theme="dark"] .cmap-t{filter:brightness(.86) contrast(1.04)}
@media(max-width:520px){
.art-i.cmap{aspect-ratio:4/3}
.cmap-t{grid-template-columns:repeat(3,var(--t));width:calc(3*var(--t));left:calc(50% - var(--mx)*var(--t));top:calc(50% - var(--my)*var(--t))}
@supports (width:1cqw){.cmap-t{--t:calc(100cqw*256/390)}}
.cmap-t i{background-image:var(--m)}
.cmap-t .o{display:none}
.cmap-o.d{display:none}
.cmap-o.m{display:block}
.cbr-f b{font-size:18px}
}
/* صفحهٔ موضوع کشور: نمودار */
.cst{--s1:#B07D00;--s2:#2F6FB5;margin:40px 0 8px;padding-top:32px;border-top:1px solid var(--ln);scroll-margin-top:140px}
html[data-theme="dark"] .cst{--s1:#B88A00;--s2:#4C8AD1}
.cst>h2{font-size:26px;font-weight:900;margin-bottom:16px}
.cst-map{height:340px;border-radius:var(--r);overflow:hidden;border:1px solid var(--ln);background:var(--alt);direction:ltr;position:relative;z-index:0}
.cst-map img{max-width:none}
.cst-wait{display:grid;place-items:center;height:100%;min-height:140px;color:var(--mu);font-size:14px;direction:rtl;text-align:center;padding:0 12px}
.cst-note{font-size:13px;color:var(--mu);margin-top:8px}
.cst-note a{text-decoration:underline;text-underline-offset:3px}
.cst-bar{display:flex;flex-wrap:wrap;gap:12px 16px;align-items:center;justify-content:space-between;margin:26px 0 14px}
.cst-tabs{display:inline-flex;flex-wrap:wrap;gap:4px;padding:4px;border-radius:14px;background:var(--alt)}
.cst-tabs button{border:0;background:none;color:var(--so);font:inherit;font-size:14px;font-weight:800;padding:8px 14px;border-radius:10px;cursor:pointer;min-height:42px}
.cst-tabs button.on{background:var(--sf);color:var(--tx);box-shadow:0 1px 3px rgba(0,0,0,.14)}
.cst-cmp{display:inline-flex;align-items:center;gap:8px;font-size:14px;color:var(--so)}
.cst-cmp select{min-height:44px;border-radius:10px;border:1px solid var(--ln);background:var(--sf);color:var(--tx);font:inherit;font-size:14px;padding:0 10px;max-width:200px}
.cst-fig{margin:0;padding:16px;border:1px solid var(--ln);border-radius:var(--r);background:var(--sf)}
.cst-fig figcaption{font-weight:800;font-size:15.5px;margin-bottom:6px}
.cst-leg{display:flex;flex-wrap:wrap;gap:6px 16px;font-size:13.5px;color:var(--so);margin-bottom:6px}
.cst-leg[hidden]{display:none}
.cst-leg i{display:inline-block;width:14px;height:3px;border-radius:2px;margin-inline-end:6px;vertical-align:middle}
.cst-ch{position:relative;direction:ltr;min-height:140px}
.cst-ch svg{display:block;width:100%;height:auto;touch-action:pan-y;overflow:visible}
.cst-ch text{font-family:inherit;font-size:12px;fill:var(--mu);paint-order:stroke;stroke:var(--sf);stroke-width:4px;stroke-linejoin:round}
.cst-ch text.v{fill:var(--tx);font-weight:800;font-size:12.5px}
.cst-tip{position:absolute;pointer-events:none;background:var(--sf);color:var(--tx);border:1px solid var(--ln);border-radius:10px;padding:8px 10px;font-size:13px;line-height:1.75;box-shadow:0 6px 18px rgba(0,0,0,.16);direction:rtl;white-space:nowrap;z-index:2}
.cst-tip[hidden]{display:none}
.cst-tip b{display:block}
.cst-tip i{display:inline-block;width:10px;height:10px;border-radius:50%;margin-inline-end:6px}
.cst-tb{margin-top:12px;font-size:14px}
.cst-tb summary{cursor:pointer;font-weight:800;padding:9px 0}
.cst-tb table{width:100%;border-collapse:collapse;margin-top:4px}
.cst-tb th,.cst-tb td{padding:7px 4px;border-bottom:1px solid var(--ln);text-align:start;font-variant-numeric:tabular-nums}
.cst-tb thead th{color:var(--mu);font-weight:700}
.cst-tb tbody th{font-weight:700}
@media(max-width:720px){.cst-map{height:280px}.cst-bar{align-items:stretch}.cst-cmp select{max-width:none;flex:1}.cst-cmp{flex:1}}
.geo-ly button{border:0;background:none;color:#dfe2ee;font:inherit;font-size:14px;font-weight:800;padding:8px 16px;border-radius:999px;cursor:pointer;min-height:42px}
.geo-ly button.on{background:#FCB605;color:#15171C}
.geo-lg{margin-top:14px;font-size:13px;color:#a9adbd;display:flex;flex-wrap:wrap;gap:6px 16px;align-items:center;min-height:24px}
.geo-lg span{display:inline-flex;align-items:center;gap:7px}
.geo-lg span[hidden]{display:none}
.geo-lg i{width:12px;height:12px;border-radius:3px}
.geo-bar{display:inline-block;width:130px;height:8px;border-radius:99px;background:linear-gradient(to left,#26386e,#3f7fc1,#FCB605)}
.geo-g{justify-self:center;width:min(100%,560px)}
.geo-g canvas{display:block;width:100%;aspect-ratio:1;touch-action:pan-y;cursor:grab;border-radius:50%;outline-offset:6px}
.geo-g canvas.drag{cursor:grabbing}
.geo-hint{text-align:center;font-size:12.5px;color:#8f94a8;margin-top:10px}
.geo.no-globe .geo-g,.geo.no-globe .geo-ly,.geo.no-globe .geo-lg{display:none}
.geo.no-globe .geo-in{grid-template-columns:minmax(0,1.2fr) minmax(260px,1fr)}
.geo-p{background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.13);border-radius:18px;padding:18px;min-height:280px}
.geo-sel span{display:block;font-size:12.5px;color:#a9adbd;margin-bottom:6px}
.geo-sel select{width:100%;min-height:46px;border-radius:12px;border:1px solid rgba(255,255,255,.2);background:#0f1832;color:#fff;font:inherit;font-size:15px;padding:0 12px}
.geo-c{margin-top:16px}
.geo-e{color:#a9adbd;font-size:14.5px;line-height:1.9}
.geo-n{display:flex;align-items:center;gap:12px}
.geo-n img{width:54px;height:40px;border-radius:6px;object-fit:cover;border:1px solid rgba(255,255,255,.25);flex:none;background:#fff}
.geo-n h2{font-size:24px;font-weight:900;line-height:1.3;color:#fff}
.geo-n small{display:block;font-size:13px;color:#a9adbd;font-weight:400}
.geo-c dl{display:grid;grid-template-columns:auto 1fr;gap:8px 14px;margin:16px 0;font-size:14.5px}
.geo-c dt{color:#a9adbd}
.geo-c dd{margin:0;font-weight:800;text-align:end;color:#fff}
.geo-c .geo-df{font-size:14px;line-height:1.9;color:#d5d8e4;margin-bottom:14px}
.geo-c .btn{width:100%;justify-content:center;text-align:center}
.geo-c .geo-no{font-size:13.5px;color:#a9adbd;border-top:1px solid rgba(255,255,255,.12);padding-top:12px}
.geo-pg{padding-top:36px}
.geo-top{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:14px;margin-bottom:6px}
.geo-top h2{font-size:26px;font-weight:900}
.geo-find{display:flex;align-items:center;gap:8px;border:1px solid var(--ln);background:var(--sf);border-radius:12px;padding:0 12px;min-height:46px;min-width:min(100%,280px);color:var(--mu)}
.geo-find input{border:0;background:none;font:inherit;color:var(--tx);width:100%;min-height:44px;outline:0}
.geo-find:focus-within{border-color:var(--ring)}
.geo-r{font-size:21px;font-weight:900;margin:30px 0 14px;display:flex;align-items:baseline;gap:10px}
.geo-r span{font-size:13.5px;color:var(--mu);font-weight:700}
.geo-l{display:grid;grid-template-columns:repeat(auto-fill,minmax(205px,1fr));gap:10px}
.geo-l li[hidden]{display:none}
.geo-l a{display:flex;align-items:center;gap:12px;padding:10px 12px;border:1px solid var(--ln);border-radius:14px;background:var(--sf);min-height:62px;transition:border-color .15s,transform .15s}
.geo-l a:hover{border-color:var(--gold);color:inherit;transform:translateY(-1px)}
.geo-l img{width:36px;height:27px;border-radius:4px;object-fit:cover;border:1px solid var(--ln);flex:none;background:#fff}
.geo-l b{display:block;font-weight:800;line-height:1.5}
.geo-l small{display:block;color:var(--mu);font-size:12.5px;line-height:1.5}
.geo-none{color:var(--mu);margin-top:24px}
@media(max-width:1060px){.geo-in{grid-template-columns:minmax(0,1fr) minmax(250px,320px)}.geo-h{grid-column:1/-1}}
@media(max-width:720px){.geo{padding:124px 0 34px}.geo-in{grid-template-columns:1fr;gap:22px}.geo-g{width:min(100%,360px)}.geo-p{min-height:0}.geo-st{gap:20px;margin:16px 0}.geo-l{grid-template-columns:repeat(auto-fill,minmax(150px,1fr))}}
@media(prefers-reduced-motion:reduce){.geo-l a{transition:none}}
