:root{color-scheme:dark;--bg:#080f20;--panel:#101a2e;--line:#243047;--text:#f2f6ff;--muted:#a3afc4;--blue:#80caff;--accent:#9df0d0;font-family:Arial,Helvetica,sans-serif;background:var(--bg);color:var(--text);font-synthesis:none;scroll-behavior:smooth}*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 85% 13%,#14274888,transparent 28%);line-height:1.6}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible{outline:3px solid var(--accent);outline-offset:5px}.wrap{width:min(1280px,calc(100% - 80px));margin-inline:auto}.header{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:112px;border-bottom:1px solid #ffffff0e}.brand{display:flex;align-items:center;gap:12px;font-size:12px;font-weight:800;line-height:1.25;letter-spacing:1.5px}.brand-icon{width:43px;height:43px;border:1px solid #467394;border-radius:12px;color:var(--blue);font-size:34px;font-weight:700;letter-spacing:-7px;line-height:1;padding-left:5px}.brand-icon span{font-size:22px;vertical-align:top}.brand-dot,.title-dot{color:var(--blue)}nav{display:flex;gap:32px;color:var(--muted);font-size:14px}nav a:hover{color:white}.button{display:inline-flex;align-items:center;justify-content:center;gap:25px;background:var(--blue);color:#08192b;border:1px solid transparent;border-radius:7px;padding:17px 22px;font-size:12px;font-weight:800;letter-spacing:.65px;min-height:48px;transition:background .2s,transform .2s}.button:hover{background:#a5ddff;transform:translateY(-2px)}.button span{font-size:19px;line-height:1}.button.secondary{background:transparent;border-color:#3b4960;color:var(--text)}.button.secondary:hover{background:#1b2941}.button.small{font-size:12px;padding:11px 16px;text-transform:none;letter-spacing:0}.hero{position:relative;display:grid;grid-template-columns:1.2fr 1fr;align-items:center;min-height:600px;padding-block:62px 68px}.hero-copy{z-index:1}.eyebrow{font-size:11px;letter-spacing:2.2px;color:var(--blue);font-weight:700;margin:0 0 22px}.live-dot{display:inline-block;height:6px;width:6px;background:var(--accent);border-radius:50%;box-shadow:0 0 12px #9df0d066;margin-right:9px;vertical-align:middle}h1{font-size:clamp(44px,5.3vw,76px);font-weight:850;line-height:1.04;letter-spacing:-3.5px;margin:0 0 26px}h1>span:first-of-type{color:var(--blue)}.hero h2{font-size:13px;letter-spacing:1.1px}.intro{font-size:16px;line-height:1.85;color:var(--muted);margin:18px 0 30px}.actions{display:flex;gap:12px;flex-wrap:wrap}.hero-note{font-size:11px;color:#a0acc0;margin:17px 0 0}.globe-scene{height:470px;position:relative;display:grid;place-items:center;min-width:0}.globe{width:370px;aspect-ratio:1;position:relative;border:1px solid #4872a455;border-radius:50%;background:radial-gradient(circle at 32% 27%,#1e4874,#102d50 45%,#081427 78%);box-shadow:inset -24px -12px 50px #020916,0 0 70px #3b87c320;overflow:hidden;transform:rotate(-12deg)}.globe svg{position:absolute;inset:0;width:100%;height:100%;filter:drop-shadow(0 0 3px #6dc3ff55)}.globe-grid{position:absolute;inset:0;border-radius:50%;background:repeating-linear-gradient(0deg,transparent 0 48px,#6aaeff12 49px 50px),repeating-linear-gradient(90deg,transparent 0 48px,#6aaeff12 49px 50px);opacity:.8}.orbit{position:absolute;width:110%;height:60%;border:1px solid #79baff1c;border-radius:50%;transform:rotate(-32deg)}.orbit-two{width:99%;height:82%;transform:rotate(32deg)}.globe-tag{position:absolute;background:#15223be8;border:1px solid #3d577466;backdrop-filter:blur(8px);padding:10px 14px;border-radius:7px;font-size:11px;box-shadow:0 10px 30px #0003}.tag-top{right:0;top:70px}.tag-bottom{bottom:65px;left:10px}.coordinate{position:absolute;bottom:3px;font-size:9px;letter-spacing:3px;color:#778ba8}.demo-strip{display:flex;align-items:center;gap:12px;color:var(--muted);font-size:12px;margin-bottom:18px}.pill{display:inline-block;white-space:nowrap;font-size:9px;font-weight:700;letter-spacing:1.3px;color:#a3bfdf;background:#1c2b4266;border:1px solid #34465f;border-radius:4px;padding:4px 7px}.stats{display:grid;grid-template-columns:repeat(3,1fr);border:1px solid var(--line);background:linear-gradient(110deg,#142239,#0e1729);border-radius:12px;padding:30px 0}.stats>div{padding:0 34px;border-right:1px solid var(--line)}.stats>div:last-child{border:0}.stats>div>span{font-size:13px;color:var(--muted)}.stats strong{display:block;line-height:1.5;font-size:36px;font-weight:600;letter-spacing:-1px;margin:8px 0}.stats small{color:#95a4bc;font-size:11px}.stat-accent{float:right;color:var(--blue);font-size:27px;font-weight:400}.flag{font-size:28px;letter-spacing:0}.section{padding-top:90px;scroll-margin-top:25px}h2{font-size:30px;line-height:1.25;letter-spacing:-.8px;margin:0 0 16px;font-weight:600}h2>span:not(.title-dot){color:var(--muted)}.experiment{display:grid;grid-template-columns:1fr 1.25fr;gap:70px;padding-bottom:65px;border-bottom:1px solid var(--line)}.experiment h2{font-size:36px}.experiment-copy p{color:var(--muted);margin:0 0 18px;font-size:15px;line-height:1.85}.truths{display:flex;gap:24px;color:#c4d9ef;font-size:12px;margin-top:24px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:25px;margin-bottom:28px}.section-heading .eyebrow{margin-bottom:13px}.section-heading p:not(.eyebrow){font-size:14px;color:var(--muted);margin:0}.sort-label{font-size:11px;color:var(--muted);min-width:185px}select,input{display:block;border:1px solid #3a4a65;border-radius:6px;background:#142139;color:var(--text);padding:11px 12px;min-height:46px;width:100%;margin-top:7px}select{cursor:pointer;font-size:13px}.world-grid{display:grid;grid-template-columns:1.05fr 1fr;gap:20px}.panel{background:linear-gradient(130deg,#121e33,#0d1729);border:1px solid var(--line);border-radius:10px;overflow:hidden}.panel-top{display:flex;justify-content:space-between;align-items:center;padding:22px;gap:12px}.panel h3{font-size:14px;font-weight:500;margin:0}.table-scroll{overflow-x:auto}table{width:100%;border-collapse:collapse;white-space:nowrap;text-align:left;font-size:13px}th{font-size:10px;font-weight:400;color:var(--muted);padding:12px 16px;background:#16223a77}td{padding:16px;border-bottom:1px solid #23304988}td:first-child,th:first-child{padding-left:23px;color:#8d9fba;width:38px}td:last-child,th:last-child{text-align:right;padding-right:23px}td:nth-child(3),th:nth-child(3){text-align:right}tbody tr:first-child{background:#1d35514d}tbody tr:first-child td:first-child{color:var(--accent)}.country-flag{margin-right:9px;font-size:17px}.panel-foot{font-size:10px;color:var(--muted);padding:14px 22px;margin:0}.map-panel{display:flex;flex-direction:column}.world-map{display:grid;align-items:center;flex:1;padding:10px 14px;background:radial-gradient(ellipse,#28446a22,transparent 70%)}.world-map svg{width:100%}.map-caption{padding:22px;display:flex;flex-direction:column;gap:6px;font-size:12px}.map-caption small{color:var(--muted);font-size:10px}.people-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.person{position:relative;display:flex;gap:16px;align-items:center;padding:26px 22px;border:1px solid var(--line);border-radius:9px;background:#101a2c}.avatar{width:48px;height:48px;display:grid;place-items:center;flex-shrink:0;background:#223752;border:1px solid #355174;border-radius:50%;color:var(--blue);font-size:15px}.person h3{font-size:15px;margin:0}.person p{font-size:11px;color:var(--muted);margin:4px 0}.person small{font-size:10px;color:var(--blue)}.person-rank{margin-left:auto;align-self:flex-start;color:#7e91ad;font-size:11px}.privacy-note{font-size:12px;color:var(--muted);text-align:center;margin-top:20px}.about-panel{display:grid;grid-template-columns:175px 1fr;gap:36px;border-block:1px solid var(--line);padding:38px 0;align-items:center}.photo-placeholder{display:flex;align-items:center;justify-content:center;flex-direction:column;min-height:185px;border:1px dashed #38506f;border-radius:8px;color:#8094ad;text-align:center;font-size:11px;background:#111d31}.photo-placeholder svg{width:65px;height:65px;margin-bottom:12px}.about-panel .eyebrow{margin-bottom:14px}.about-panel h2{font-size:25px}.about-panel p:not(.eyebrow){max-width:720px;color:var(--muted);font-size:14px}.text-button{background:none;border:0;color:var(--blue);padding:8px 0;font-size:13px}.closing{text-align:center;padding-block:90px}.closing h2{font-size:48px;margin-top:18px}.closing p{color:var(--muted);font-size:14px;margin-bottom:28px}.closing .actions{justify-content:center}footer{border-top:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:25px;padding-block:30px;font-size:11px}footer>span{font-size:12px;font-weight:700}footer small{display:block;font-weight:400;color:var(--muted);font-size:10px;margin-top:5px}footer p{color:var(--muted)}footer a{color:var(--blue)}dialog{width:min(490px,calc(100% - 32px));max-height:90dvh;overflow-y:auto;border:1px solid #425371;border-radius:14px;background:#111d32;color:var(--text);padding:32px;box-shadow:0 30px 100px #0009}dialog::backdrop{background:#020817cc;backdrop-filter:blur(7px)}body:has(dialog[open]){overflow:hidden}dialog h2{margin-top:22px}dialog p{color:var(--muted);font-size:14px}dialog small{display:block;color:var(--muted);font-size:11px}.close{position:absolute;right:12px;top:10px;border:0;background:transparent;color:var(--muted);width:40px;height:40px;font-size:28px}fieldset{border:0;margin:24px 0 18px;padding:0}legend,dialog label{font-size:13px}dialog label{display:block;margin:16px 0}dialog label[hidden]{display:none}.amounts{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:12px}.amount{padding:10px;background:#182841;color:white;border:1px solid #3b4e6a;border-radius:6px}.amount[aria-pressed=true]{background:var(--blue);color:#09172a;border-color:var(--blue)}.full{width:100%;margin-top:10px}#support-result,#share-result{color:var(--accent)}.skip{position:fixed;left:15px;top:-100px;padding:10px;background:var(--blue);color:#08192b;z-index:10}.skip:focus{top:12px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.noscript{padding:20px;background:#253752;text-align:center}
@media(min-width:1450px){.hero{min-height:660px}.globe{width:410px}.globe-scene{height:500px}}
@media(max-width:1050px){.wrap{width:calc(100% - 48px)}nav{gap:18px}.hero{grid-template-columns:1.3fr 1fr}.globe{width:300px}.globe-scene{height:390px}.hero .actions{flex-direction:column;align-items:flex-start}.hero h1{font-size:58px}.stats>div{padding:0 22px}.stats strong{font-size:29px}.world-grid{grid-template-columns:1fr}.world-map{max-width:650px;width:100%;margin:auto}.people-grid{gap:10px}.person{padding:20px 14px;gap:10px}.experiment{gap:30px}}
@media(max-width:760px){.wrap{width:calc(100% - 36px)}.header{min-height:86px;gap:12px}.header nav{display:none}.brand{font-size:10px;letter-spacing:1px}.brand-icon{width:37px;height:37px;font-size:29px}.header .small{font-size:10px;padding:9px 11px;gap:8px}.hero{grid-template-columns:1fr;padding-top:43px;padding-bottom:32px;overflow:hidden}.hero .eyebrow{font-size:9px;letter-spacing:1.5px}.hero h1{font-size:clamp(39px,9.8vw,66px);letter-spacing:-2px}.hero h2{font-size:11px;letter-spacing:.4px}.intro{font-size:15px}.hero .actions{align-items:stretch}.button{font-size:11px;padding:15px 18px}.globe-scene{height:330px;width:min(100%,430px);margin:22px auto 0}.globe{width:260px}.tag-top{top:40px;font-size:10px}.tag-bottom{bottom:35px;font-size:10px}.coordinate{font-size:8px}.demo-strip{font-size:10px;align-items:flex-start;gap:8px}.stats{grid-template-columns:1fr;padding:0 20px}.stats>div{padding:20px 0;border-right:0;border-bottom:1px solid var(--line)}.stats strong{font-size:32px;margin:4px 0}.stats small{font-size:11px}.stats>div>span{font-size:12px}.stat-accent{margin-right:10px}.section{padding-top:55px}.experiment{grid-template-columns:1fr;gap:10px;padding-bottom:35px}.experiment h2{font-size:30px}.experiment-copy p{font-size:14px}.truths{gap:12px;justify-content:space-between;font-size:10px}.eyebrow{font-size:9px;letter-spacing:1.4px;margin-bottom:16px}h2{font-size:26px}.section-heading{align-items:flex-start;flex-direction:column;gap:20px}.section-heading p:not(.eyebrow){font-size:13px}.sort-label{width:100%}.panel-top{padding:18px}.panel h3{font-size:12px}th{font-size:9px;padding:10px 8px}td{font-size:12px;padding:14px 8px}td:first-child,th:first-child{padding-left:13px;width:25px}td:last-child,th:last-child{padding-right:13px}.country-flag{margin-right:5px;font-size:14px}.panel-foot{padding:13px;font-size:9px}.people-grid{grid-template-columns:1fr}.person{padding:22px}.privacy-note{text-align:left;font-size:11px}.about-panel{grid-template-columns:1fr;gap:24px;padding:28px 0}.photo-placeholder{width:145px;min-height:155px}.about-panel h2{font-size:25px}.closing{padding-block:60px}.closing h2{font-size:37px}.closing .actions{flex-direction:column}footer{align-items:flex-start;flex-wrap:wrap;gap:12px}footer p{width:100%;order:2;margin:4px 0}dialog{padding:26px 22px}.map-caption{font-size:11px}}
@media(prefers-reduced-motion:reduce){:root{scroll-behavior:auto}*{transition:none!important}}

/* Responsive pass V1: contain content at its source, without hiding page overflow. */
.hero-copy,.stats>div,.world-grid>*,.people-grid>*,.person>div,.about-panel>*,.section-heading>div{min-width:0}
.hero{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr)}
.hero-copy{container-type:inline-size}
.hero h1{font-size:clamp(32px,10.8cqi,76px)}
.globe-scene{overflow:clip}
.globe{max-width:85%}
.world-map svg{display:block;height:auto;max-width:100%}
.person h3,.person p,.person small,dialog p{overflow-wrap:anywhere}
.brand{min-height:44px;flex-shrink:0}
.brand-icon{flex-shrink:0}
nav a,footer a{display:inline-flex;align-items:center;min-height:44px}
.menu-toggle{display:none}
.header-actions{display:flex;align-items:center;gap:10px;min-width:0}.language-picker select{width:auto;min-width:76px;margin:0;min-height:42px;padding:8px 28px 8px 9px;font-size:11px;background:#142139;border-color:#3a4a65}.language-picker{display:block}
.mobile-cell-label{display:none}
.text-button,.amount{min-height:48px}
.close{width:44px;height:44px;background:#111d32;border-radius:8px}
dialog{max-height:calc(100dvh - 32px);overscroll-behavior:contain;scroll-padding-block:20px;padding-top:58px}
dialog form,dialog fieldset{min-width:0}
dialog input,dialog select{font-size:16px;min-width:0;min-height:48px}
dialog label,dialog legend{font-size:14px}
dialog small{font-size:12px;line-height:1.65}
.amounts{grid-template-columns:repeat(3,minmax(0,1fr))}
.amount{font-size:16px}
.truths{flex-wrap:wrap}
@media(hover:none){.button:hover{transform:none}}

@media(min-width:761px) and (max-width:1050px){
  .stats>div{padding-inline:18px}
  .stats strong{font-size:28px}
  .stats small{font-size:12px}
  .people-grid{grid-template-columns:1fr}
  .person{padding:24px;gap:20px}
  .person h3{font-size:17px}
  .person p,.person small{font-size:14px}
}
@media(max-width:900px){
  .header{position:relative;flex-wrap:wrap;gap:12px;min-height:88px;padding-block:14px}
  .header>.button{display:none}
  .menu-toggle{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:48px;min-width:88px;padding:10px 14px;border:1px solid #405574;border-radius:7px;background:#142139;color:var(--text);font-size:14px;margin-left:auto}
  .header nav{display:none;flex:0 0 100%;flex-direction:column;gap:4px;padding:12px;background:#101c31;border:1px solid var(--line);border-radius:8px}
  .menu-toggle[aria-expanded=true]~nav{display:flex}
  .header nav a{min-height:48px;padding:10px 12px;font-size:16px;border-radius:5px}
  .header nav a:hover{background:#20324d}
  .hero{grid-template-columns:minmax(0,1fr);padding-block:40px 32px;min-height:0;overflow:visible}
  .hero h1{font-size:clamp(32px,10.8cqi,76px);letter-spacing:-.045em}
  .hero .actions{align-items:stretch;flex-direction:row}
  .hero .actions .button{flex:1 1 260px}
  .globe-scene{width:min(100%,460px);height:380px;margin:24px auto 0}
  .globe{width:300px}
  .tag-top{top:40px;right:8px}
  .tag-bottom{bottom:40px;left:8px}
  .experiment{grid-template-columns:1fr;gap:12px}
}
@media(max-width:760px){
  .wrap{width:calc(100% - 32px)}
  .hero .eyebrow,.eyebrow{font-size:11px;letter-spacing:1.3px;line-height:1.7}
  .hero h2{font-size:14px;line-height:1.6;letter-spacing:.5px}
  .hero .intro,.experiment-copy p,.about-panel p:not(.eyebrow),.closing p{font-size:16px;line-height:1.8}
  .intro br{display:none}
  .button{min-height:52px;font-size:12px;padding:15px 14px;gap:12px;line-height:1.5}
  .hero-note{font-size:13px;line-height:1.7}
  .globe-scene{height:330px}
  .globe{width:270px}
  .globe-tag{font-size:11px;padding:9px 11px;max-width:calc(100% - 16px)}
  .coordinate{font-size:9px;letter-spacing:1.6px}
  .demo-strip{flex-direction:column;gap:10px;font-size:13px;line-height:1.7}
  .pill{font-size:10px;letter-spacing:1px}
  .stats>div>span{font-size:14px}
  .stats small{font-size:13px}
  .stats>div{padding-block:22px}
  .stats strong{font-size:34px}
  .truths{justify-content:flex-start;gap:10px 20px;font-size:13px}
  .section-heading p:not(.eyebrow){font-size:15px;line-height:1.7}
  .sort-label{font-size:14px;min-width:0}
  .sort-label select{font-size:16px;min-height:48px}
  .panel-top{padding:18px 14px;align-items:flex-start}
  .panel h3{font-size:15px;line-height:1.5}
  .world-map{padding:14px 8px}
  .map-caption{font-size:14px;padding:18px 14px}
  .map-caption small{font-size:12px}
  .panel-foot{font-size:12px;line-height:1.7;padding:16px}
  .person{padding:20px 16px;gap:14px}
  .person h3{font-size:17px}
  .person p,.person small{font-size:14px}
  .person-rank{font-size:13px}
  .privacy-note{font-size:14px;line-height:1.75}
  .photo-placeholder{font-size:13px;width:160px;min-height:175px}
  .text-button{font-size:15px}
  footer{flex-direction:column;gap:18px;padding-block:28px}
  footer>span{font-size:14px}
  footer small,footer p,footer a{font-size:13px;line-height:1.8}
  footer p{order:0}
  dialog{width:calc(100% - 24px);max-width:490px;max-height:calc(100dvh - 24px);padding:58px 18px 24px}
  dialog h2{font-size:26px;line-height:1.3;margin-top:16px}
  dialog p{font-size:15px}
}
/* Two-line country rows retain both ranking metrics without sideways scrolling. */
@media(max-width:600px){
  .table-scroll{overflow:visible}
  table,tbody{display:block;width:100%;white-space:normal}
  thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
  tbody tr{display:grid;grid-template-columns:28px minmax(0,1fr) minmax(0,1fr);gap:12px 8px;padding:18px 14px;border-bottom:1px solid var(--line)}
  tbody td{display:block;min-width:0;border:0;padding:0;font-size:16px;text-align:left!important;line-height:1.5}
  tbody td:first-child{padding:0;width:auto;font-size:14px;grid-column:1;grid-row:1}
  tbody td:nth-child(2){grid-column:2/4;font-weight:600}
  tbody td:nth-child(3){grid-column:2}
  tbody td:last-child{grid-column:3;padding:0}
  .mobile-cell-label{display:block;font-size:12px;font-weight:400;color:var(--muted);margin-bottom:3px}
}

/* World Ranking V1 */
[hidden]{display:none!important}
button:disabled{cursor:default;opacity:.5;transform:none!important}
#ranking-status,.ranking-help,#country-count{font-size:14px;line-height:1.75;color:var(--muted)}
.top-countries{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:24px 0}
.top-country{display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:16px;min-width:0;padding:25px;background:linear-gradient(125deg,#1b3453,#111c30);border:1px solid #395579;border-radius:10px;color:var(--text)}
.top-country:hover{border-color:var(--blue);background:#1b304b}
.top-country-label{color:#c4d8f0;font-size:14px;line-height:1.5}
.top-country strong{display:flex;align-items:center;flex-wrap:wrap;gap:12px;font-size:23px;line-height:1.4}
.top-country-value{font-size:26px;color:var(--blue);letter-spacing:-.5px}
.top-country small{font-size:12px;color:var(--muted);margin-top:auto}
.country-badge{display:inline-block;flex-shrink:0;white-space:nowrap;font-size:11px;letter-spacing:.4px;color:var(--blue);padding:5px 7px;background:#1c2c45;border:1px solid #38516f;border-radius:5px;line-height:1.6}
.ranking-controls{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1.3fr);gap:16px;margin:28px 0}
.ranking-controls label,.people-limit{font-size:14px;color:var(--muted);min-width:0}
.ranking-controls input,.ranking-controls select,.people-limit select{font-size:16px;min-height:50px;min-width:0}
.ranking-help{margin:0;padding:0 22px 20px}
#ranking>.ranking-help{padding:20px 0 0}
.full-ranking table{table-layout:fixed;white-space:normal}
.full-ranking th{font-size:13px;line-height:1.5}
.full-ranking th:first-child{width:70px}
.full-ranking th:nth-child(2){width:34%}
.full-ranking th:nth-child(n+3),.full-ranking td:nth-child(n+3){text-align:right}
.full-ranking td{font-size:15px;vertical-align:middle;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.full-ranking th[aria-sort=descending]{color:var(--blue)}
.full-ranking tbody tr:first-child{background:transparent}
.full-ranking tbody tr:hover{background:#20334b66}
.country-link{display:flex;align-items:center;gap:10px;width:100%;min-height:48px;padding:5px 0;border:0;background:none;color:var(--text);text-align:left;font-size:15px;line-height:1.6}
.country-link:hover{color:var(--blue)}
.country-link>span:last-child{min-width:0;overflow-wrap:anywhere}
.ranking-pagination{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:20px 22px;border-top:1px solid var(--line)}
.ranking-pagination>div{display:flex;gap:10px}
.ranking-pagination p{margin:0}
.empty-state{padding:24px;color:var(--muted)}
.country-atlas{margin-top:28px}
.atlas-legend{display:flex;flex-wrap:wrap;gap:12px 22px;padding:0 22px 18px;font-size:13px;color:var(--muted)}
.atlas-legend span{display:flex;align-items:center;gap:8px}
.atlas-legend i{width:15px;height:15px;border:1px solid #607492;border-radius:3px}
[data-level="0"]{background:#172238;color:#adbad0}
[data-level="1"]{background:#264f74;color:#f1f8ff}
[data-level="2"]{background:#337fb0;color:white}
[data-level="3"]{background:#87d0ff;color:#08192b}
.atlas-regions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;align-items:start;padding:0 22px 24px}
.atlas-region{min-width:0;border:1px solid #34465e;border-radius:8px;background:#0c1628;overflow:hidden}
.atlas-region summary{cursor:pointer;padding:15px 14px;min-height:56px;font-size:14px}
.atlas-region summary>span{display:block;font-size:12px;margin-top:4px;color:var(--muted)}
.atlas-region summary:focus-visible{outline:3px solid var(--accent);outline-offset:-4px}
.atlas-tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(44px,1fr));gap:8px;padding:12px}
.country-tile{min-width:44px;min-height:44px;border:1px solid #4b6684;border-radius:5px;font-size:13px;font-weight:700}
.country-tile:hover{outline:2px solid var(--blue);outline-offset:1px}
.people-limit{min-width:160px}
#people-count{padding:0 0 20px}
.country-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:24px 0}
.country-details>div{min-width:0}
.country-details>div:first-child,.country-details>div:last-child{grid-column:1/-1}
.country-details dt{font-size:13px;color:var(--muted);margin-bottom:5px}
.country-details dd{margin:0;font-size:20px;overflow-wrap:anywhere}
#country-title{overflow-wrap:anywhere}
#country-title .country-badge{display:table;margin-bottom:14px}
#country-dialog .close{position:sticky;top:0;float:right;margin-top:-46px;margin-right:-8px;z-index:2;box-shadow:0 0 0 3px #111d32}
#country-invite{white-space:normal;line-height:1.7}
@media(max-width:1050px){
  .ranking-controls{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ranking-controls label:last-child{grid-column:1/-1}
  .top-country{padding:20px 16px}
  .top-country strong{font-size:20px}
  .top-country-value{font-size:23px}
  .atlas-regions{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:760px){
  .top-countries{grid-template-columns:1fr;gap:12px}
  .top-country{padding:22px;gap:12px}
  .top-country strong{font-size:23px}
  .top-country-value{font-size:26px}
  .ranking-controls{grid-template-columns:minmax(0,1fr);gap:20px}
  .ranking-controls label:last-child{grid-column:auto}
  .ranking-controls select{font-size:16px;padding-inline:9px}
  .ranking-help{padding:0 14px 20px;font-size:14px}
  .full-ranking .table-scroll{overflow:visible}
  .full-ranking table,.full-ranking tbody{display:block;width:100%;white-space:normal}
  .full-ranking thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
  .full-ranking tbody tr{display:grid;grid-template-columns:30px minmax(0,1fr) minmax(0,1fr);gap:14px 8px;padding:18px 14px;border-bottom:1px solid var(--line)}
  .full-ranking tbody td{display:block;min-width:0;border:0;padding:0;text-align:left!important;font-size:16px;line-height:1.5}
  .full-ranking tbody td:first-child{grid-column:1;grid-row:1;width:auto;padding-top:10px;font-size:13px}
  .full-ranking tbody td:nth-child(2){grid-column:2/4}
  .full-ranking tbody td:nth-child(3){grid-column:2}
  .full-ranking tbody td:nth-child(4){grid-column:3}
  .full-ranking tbody td:last-child{grid-column:2/4;padding-top:10px;border-top:1px solid #2c3e58}
  .full-ranking .mobile-cell-label{display:block;font-size:12px;color:var(--muted);margin-bottom:4px}
  .country-link{font-size:16px;flex-wrap:wrap;gap:8px;align-content:center}
  .country-link>span:last-child{flex:1 1 125px}
  .ranking-pagination{flex-direction:column;align-items:stretch;padding:20px 14px;gap:14px}
  .ranking-pagination>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
  .ranking-pagination .button{padding:12px 8px;font-size:12px}
  .atlas-regions{grid-template-columns:1fr;padding:0 14px 20px}
  .atlas-legend{padding-inline:14px;gap:12px}
  .people-limit{width:100%}
}

/* Real World Map V2: geographic SVG, local data, inline mobile details. */
.country-flag-badge{display:inline-flex;align-items:center;gap:6px;flex-shrink:0;vertical-align:middle;line-height:1.2}
.flag-emoji{font-family:'Apple Color Emoji','Segoe UI Emoji','Noto Color Emoji',sans-serif;font-size:25px;font-weight:400;letter-spacing:0}
.country-flag-badge small{font-size:10px!important;letter-spacing:.4px;color:var(--muted);margin:0!important}
.person-country{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.person-country .flag-emoji{font-size:21px}
.country-link[aria-pressed=true]{color:var(--accent)}
.country-link[aria-pressed=true]::after{content:'✓';color:var(--accent);margin-left:auto}
.real-world-map{margin-top:40px;padding:32px;border:1px solid #304769;border-radius:14px;background:radial-gradient(ellipse at 50% 32%,#16365888,transparent 65%),#0c172a;min-width:0}
.map-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}
.map-heading .eyebrow{margin-bottom:14px}
.map-heading h3{font-size:clamp(23px,3vw,34px);line-height:1.2;letter-spacing:-.8px;margin:0 0 14px}
.map-heading p:not(.eyebrow){font-size:17px;color:var(--muted);margin:0}
.map-toolbar{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin:26px 0 14px}
.map-toolbar label{display:block;min-width:0;flex:0 1 400px;font-size:14px;color:var(--muted)}
.map-toolbar select{font-size:16px;min-height:48px;width:100%;min-width:0}
.map-zoom{display:flex;gap:8px;flex-shrink:0}
.map-zoom button{background:#172940;color:var(--text);border:1px solid #425c7a;border-radius:6px;min-width:48px;min-height:48px;padding:8px 14px;font-size:16px}
.map-zoom button:hover{background:#244565}
.map-help,.map-source{font-size:13px;line-height:1.7;color:var(--muted)}
.map-stage{position:relative;min-width:0;margin:26px -10px 10px}
:is(#world-svg,#survey-world-svg){display:block;width:100%;height:auto;aspect-ratio:1000/420;overflow:hidden;border-radius:10px;background:radial-gradient(ellipse,#142c4999,transparent 75%);touch-action:pan-y}
.map-graticule{stroke:#5894c2;stroke-opacity:.12;stroke-width:.6;fill:none;pointer-events:none}
.map-context{fill:#182539;stroke:#4b6177;stroke-width:.35}
.map-country{fill:#20334c;stroke:#6e88a0;stroke-width:.5;cursor:pointer;transition:fill .15s,stroke .15s}
.map-country[data-level="0"]{fill:#20334c}
.map-country[data-level="1"]{fill:#2b638a}
.map-country[data-level="2"]{fill:#428fb8}
.map-country[data-level="3"]{fill:#78c9ed}
.map-country[data-level="4"]{fill:#abf4da;stroke:#d4fff0;stroke-width:.9}
.map-country:hover,.map-country:focus-visible{fill:#d3eaff;stroke:#fff;stroke-width:1.2;outline:none}
.map-country.selected{stroke:#fff6b3;stroke-width:2;filter:drop-shadow(0 0 2px #ffe893)}
.selection-marker{fill:none;stroke:#fff6b3;stroke-width:1.5;pointer-events:none}
:is(#world-svg,#survey-world-svg).zoomed{cursor:grab}
:is(#world-svg,#survey-world-svg).zoomed:active{cursor:grabbing}
.map-tooltip{position:absolute;right:12px;top:12px;z-index:3;width:280px;max-width:calc(100% - 24px);border:1px solid #7191b5;background:#101d33f5;box-shadow:0 12px 40px #0006;border-radius:9px;padding:18px;overflow-wrap:anywhere}
.tooltip-name{display:flex;align-items:center;flex-wrap:wrap;gap:10px;font-size:16px}
.map-tooltip dl{display:grid;grid-template-columns:1fr auto;gap:8px;font-size:13px;margin:16px 0}
.map-tooltip dt{color:var(--muted)}
.map-tooltip dd{margin:0;text-align:right}
.map-tooltip small{font-size:11px;color:var(--muted)}
.map-status{display:flex;justify-content:space-between;align-items:center;gap:14px;font-size:13px;color:var(--muted);margin:14px 0}
.map-status p{margin:0;color:#d0e6ff}
#map-zoom-status{white-space:nowrap}
.map-legend{display:flex;flex-wrap:wrap;gap:12px 20px;font-size:13px;padding:18px 0;border-block:1px solid #2a3d56}
.map-legend span{display:inline-flex;align-items:center;gap:8px}
.map-legend i{display:block;width:15px;height:15px;border:1px solid #5c7794;border-radius:3px}
[data-map-level="0"]{background:#20334c}[data-map-level="1"]{background:#2b638a}[data-map-level="2"]{background:#428fb8}[data-map-level="3"]{background:#78c9ed}[data-map-level="4"]{background:#abf4da}
.selection-key{color:#fff6b3}
.map-source a{text-decoration:underline;color:var(--blue)}
.map-country-panel{padding:26px;margin-top:28px;border:1px solid #3c5877;border-radius:10px;background:#101d30;min-width:0;scroll-margin-block:20px}
.map-country-panel:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.map-country-panel h3{display:flex;align-items:center;flex-wrap:wrap;gap:12px;font-size:26px;line-height:1.4;margin:20px 0 12px}
.map-country-panel p{font-size:14px;color:var(--muted);overflow-wrap:anywhere}
.map-country-panel .country-details{grid-template-columns:repeat(5,minmax(0,1fr));gap:22px}
.map-country-panel .country-details>div{grid-column:auto}
.map-country-panel .country-details dd{font-size:19px}
.map-country-panel .button{max-width:100%}
@media(max-width:1024px){.map-country-panel .country-details{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){
  .real-world-map{padding:22px 14px;margin-top:30px}
  .map-heading{flex-direction:column;gap:14px}
  .map-heading h3{font-size:25px;letter-spacing:-.5px}
  .map-heading p:not(.eyebrow){font-size:16px}
  .map-toolbar{flex-direction:column;align-items:stretch;gap:16px}
  .map-toolbar label{flex-basis:auto}
  .map-zoom{justify-content:flex-start}
  .map-stage{margin:20px -8px 10px}
  .map-status{flex-direction:column;align-items:flex-start}
  .map-tooltip{position:relative;right:auto;top:auto;margin:12px auto 0;width:100%;max-width:100%;box-shadow:none}
  .map-legend{gap:12px 14px;font-size:12px}
  .map-country-panel{padding:20px 14px}
  .map-country-panel h3{font-size:24px}
  .map-country-panel .country-details{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 12px}
  .map-country-panel .country-details>div:first-child,.map-country-panel .country-details>div:last-child{grid-column:1/-1}
  .map-country-panel .button{width:100%;font-size:11px;padding-inline:8px}
}

/* Four country controls stay readable without affecting the survey controls. */
#ranking .ranking-controls{grid-template-columns:repeat(4,minmax(0,1fr))}
#ranking .ranking-controls label{grid-column:auto}
@media(max-width:1050px){#ranking .ranking-controls{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){#ranking .ranking-controls{grid-template-columns:1fr}}

/* Phase 1 survey */
.survey-list{display:grid;gap:10px}.survey-row{display:grid;grid-template-columns:2fr repeat(4,1fr);gap:16px;align-items:center;padding:18px;border:1px solid #263958;border-radius:14px;background:#101b30}.survey-row button{display:flex;align-items:center;gap:9px;text-align:left;color:#eef6ff;background:none;border:0;min-height:48px;font:inherit;cursor:pointer}.survey-row button[aria-pressed=true]{color:#abf4da}.survey-row small{display:block;color:#a8bbd3;font-size:12px;margin-bottom:6px}.survey-row strong{font-size:17px}.phase-teaser{padding-block:40px}#phase-two>summary{cursor:pointer;min-height:56px;padding-block:18px;color:#a8d9ff}.survey-choices{display:flex;gap:16px}.survey-choices label{flex:1;display:flex;align-items:center;gap:12px;padding:14px;border:1px solid #45617c;border-radius:10px}.survey-choices input{width:22px;height:22px;margin:0}.survey-choices label:has(:checked){border-color:#8bdeff;background:#173651}.share-platforms{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:20px 0}.survey-map-mode{display:block;max-width:360px;margin-block:20px}#survey-country-details{grid-template-columns:repeat(3,minmax(0,1fr))}#survey-dialog h2{font-size:clamp(24px,5vw,34px)}#survey-dialog select{width:100%;min-width:0}#survey-dialog fieldset{min-width:0}#survey-dialog p{line-height:1.55}#survey-result{color:#abf4da}#native-share{margin-bottom:16px}
@media(max-width:760px){.survey-row{grid-template-columns:1fr 1fr;gap:14px;padding:14px}.survey-row button{grid-column:1/-1}.survey-row strong{font-size:16px}.survey-row small{font-size:13px}#survey-country-details{grid-template-columns:repeat(2,minmax(0,1fr))}.share-platforms .button{padding-inline:12px}.survey-choices{gap:10px}}

/* Post-vote result: shared modal, independent form/result states. */
#post-vote[hidden],#survey-form[hidden]{display:none}
.post-country{display:flex;align-items:center;gap:12px;text-transform:uppercase;overflow-wrap:anywhere}.post-country .flag-emoji{font-size:32px}
#post-vote-title{font-size:clamp(25px,5vw,36px);line-height:1.12;margin:18px 0}
.post-answer{padding:18px;border:1px solid #355272;background:#142d49;border-radius:14px;margin:20px 0}.post-answer>strong{display:block;font-size:38px;color:#a8e8ff}.post-answer p{margin-bottom:0}
.post-stats{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:16px 0}.post-stats>div{min-width:0;padding:12px;border:1px solid #2c405c;border-radius:10px}.post-stats dt{font-size:13px;color:#a8bbd3}.post-stats dd{margin:7px 0 0;font-size:20px;font-weight:700;overflow-wrap:anywhere}.post-actions{display:grid;gap:12px;margin-top:24px}.post-actions button{white-space:normal;overflow-wrap:anywhere;line-height:1.5;min-height:52px}.post-retry{display:block;min-height:48px;background:none;border:0;color:#a8deff;text-decoration:underline;font:inherit;font-size:13px;margin-top:10px;cursor:pointer}#share-message{white-space:pre-line}#post-vote>small{display:block;line-height:1.5}#survey-submit-note{display:block;margin-top:10px}#survey-submit-note[hidden]{display:none}
/* V2: the person and question lead; detailed exploration is optional. */
.story-hero{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:64px;padding-block:56px;min-height:0}
.creator-portrait{margin:0;min-width:0;aspect-ratio:4/5;border:1px solid #385372;border-radius:18px;background:radial-gradient(ellipse at 50% 30%,#25486b,#101c31 70%);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:40px;box-shadow:0 24px 70px #0003}
.portrait-mark{font-size:clamp(70px,10vw,140px);line-height:1;color:#729abe;font-weight:700;letter-spacing:-8px}
.creator-portrait figcaption{text-align:center;font-size:12px;letter-spacing:2px;padding:16px;color:#d0e2f5}.creator-portrait figcaption span{display:block;margin-top:10px;font-size:12px;letter-spacing:0;color:var(--muted)}
.story-hero h1{font-size:clamp(32px,8.7cqi,64px);letter-spacing:-2px}.story-hero h2{font-size:clamp(21px,3vw,30px);letter-spacing:-.5px;line-height:1.3}.story-hero .hero-copy>p:not(.eyebrow){font-size:16px;color:#b7c5d9;line-height:1.75}.story-hero .hero-copy .story-phase{font-size:12px;color:var(--accent);letter-spacing:1px}
.story-question{padding:36px;border:1px solid #365571;border-radius:16px;background:linear-gradient(120deg,#182e49,#101c30)}.story-question h2{max-width:800px;font-size:clamp(23px,3.4vw,36px)}.story-question>p:last-child,.story-leaders>p{color:var(--muted);font-size:15px}.story-question .actions{margin-top:24px}.story-question .button{min-width:180px}.story-leaders .top-country>span{font-size:26px;color:var(--accent)}
.ranking-destination>summary{padding-block:24px;border-block:1px solid var(--line);cursor:pointer;font-size:16px;color:var(--blue);min-height:64px}.ranking-destination[open]{padding-bottom:50px}.ranking-destination .phase-teaser{padding-top:60px}.story-leaders{max-width:1100px}#survey-amount-label[hidden]{display:none}
@media(max-width:900px){.story-hero{gap:30px}.story-hero .eyebrow{font-size:10px;letter-spacing:1px}}
@media(max-width:760px){.story-hero{grid-template-columns:minmax(0,1fr);gap:28px;padding-block:28px}.creator-portrait{aspect-ratio:auto;min-height:210px;gap:12px}.portrait-mark{font-size:64px;letter-spacing:-4px}.creator-portrait figcaption{padding:8px}.story-hero h1{font-size:clamp(30px,9cqi,50px)}.story-question{padding:24px 18px}.story-question .button{width:100%;min-width:0}.story-question .actions{display:grid;grid-template-columns:1fr;width:100%}.story-leaders .top-countries{grid-template-columns:1fr}.story-hero .hero-copy>p:not(.eyebrow){font-size:16px}.ranking-destination>summary{font-size:14px}}
/* Phase 1 amount choices: native single-selection controls, styled as buttons. */
.survey-amount-buttons{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:12px}
.survey-amount-buttons label{position:relative;margin:0;cursor:pointer;min-width:0}
.survey-amount-buttons input{position:absolute;opacity:0;width:100%;height:100%;margin:0;cursor:pointer}
.survey-amount-buttons span{display:flex;align-items:center;justify-content:center;min-height:50px;border:1px solid #45617c;border-radius:8px;font-size:16px;background:#142139}
.survey-amount-buttons input:checked+span{background:var(--blue);border-color:var(--blue);color:#08192b;font-weight:700}
.survey-amount-buttons input:focus-visible+span{outline:3px solid var(--accent);outline-offset:3px}
#survey-payment-note{color:var(--muted);font-size:14px}
/* Immediate survey result: one clear country outcome. */
.post-country-summary{padding-block:10px 18px}.post-country-summary h3{font-size:clamp(26px,6vw,38px);line-height:1.2;color:var(--accent);overflow-wrap:anywhere;margin:12px 0 20px}.post-country-summary p{font-size:16px;margin:8px 0}.post-country-summary p:last-child{color:var(--muted)}#post-vote .post-answer p:first-child{font-size:22px;font-weight:700;margin-top:0}
/* Simplified Phase 1 explorer; detailed controls remain available on demand. */
#world-talks>.ranking-controls{display:block;max-width:640px}#world-talks>.ranking-controls>label{display:block}
.survey-disclosure{margin-block:16px;color:var(--muted);font-size:14px}.survey-disclosure>summary{cursor:pointer;display:list-item;min-height:48px;padding:12px 0;color:var(--blue);font-size:12px;letter-spacing:1px;font-weight:700}.survey-advanced{display:grid;grid-template-columns:1fr 1fr;gap:18px;padding-block:10px}.survey-advanced label{display:block}
#world-talks .survey-row{grid-template-columns:minmax(0,1fr) auto;padding:20px 24px}#world-talks .survey-row button{grid-column:auto;min-width:0;flex-wrap:wrap}#world-talks .survey-row button strong{text-transform:uppercase}#world-talks .survey-row-outcome{text-align:right}#world-talks .survey-row-outcome>strong{font-size:25px;color:var(--accent)}#world-talks .survey-row-outcome>small{margin:3px 0 0;font-size:14px}
#survey-country-summary>strong{display:block;font-size:clamp(28px,5vw,40px);color:var(--accent);line-height:1.3;margin:20px 0}#survey-country-summary p{margin:8px 0;font-size:16px}#survey-country-title{text-transform:uppercase}#world-talks .map-heading>div>.eyebrow{display:none}
@media(max-width:760px){#world-talks .survey-row{grid-template-columns:minmax(0,1fr);gap:8px;padding:16px}#world-talks .survey-row-outcome{text-align:left}.survey-advanced{grid-template-columns:1fr}}

@media(max-width:760px){.header-actions{gap:6px}.header-actions .button{display:none}.language-picker select{min-width:70px}.header{flex-wrap:wrap}}

