/* WORLDCARD NEXA FAMILY FINAL */
@font-face{
  font-family:"Worldcard Nexa";
  src:url("../fonts/nexa-book.woff2") format("woff2");
  font-weight:300;
  font-style:normal;
  font-display:swap;
}

@font-face{
  font-family:"Worldcard Nexa";
  src:url("../fonts/nexa-regular.woff2") format("woff2");
  font-weight:400 650;
  font-style:normal;
  font-display:swap;
}

@font-face{
  font-family:"Worldcard Nexa";
  src:url("../fonts/nexa-heavy.woff2") format("woff2");
  font-weight:700 850;
  font-style:normal;
  font-display:swap;
}

@font-face{
  font-family:"Worldcard Nexa";
  src:url("../fonts/nexa-xbold.woff2") format("woff2");
  font-weight:860 950;
  font-style:normal;
  font-display:swap;
}

:root{
  --wc-font-clean:"Worldcard Nexa", "Avenir Next", "Inter", "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  --bg:#05070a;
  --black:#000;
  --panel:#050505;
  --panel2:#08090a;
  --text:#f5f7fb;
  --muted:rgba(245,247,251,.66);
  --muted2:rgba(245,247,251,.42);
  --line:rgba(255,255,255,.12);
  --line2:rgba(255,255,255,.19);
  --soft:rgba(255,255,255,.055);
  --radius:22px;
  --shadow:0 24px 80px rgba(0,0,0,.42), inset 0 1px 0 rgba(255,255,255,.055);
}

*{
  box-sizing:border-box;
}

html,
body{
  margin:0;
  min-height:100%;
  max-width:100%;
  overflow-x:hidden;
}

body{
  color:var(--text);
  background:var(--bg);
  font-family:var(--wc-font-clean);
}

button,
select,
input,
textarea{
  font:inherit;
  font-family:var(--wc-font-clean);
}

button{
  color:inherit;
}

h1,
h2,
h3,
p{
  margin-top:0;
}

h1{
  margin:0 0 2px;
  font-size:28px;
  line-height:1;
  letter-spacing:-.055em;
}

h2{
  margin:0;
  font-size:clamp(42px,5.4vw,72px);
  line-height:.9;
  letter-spacing:-.075em;
}

h3{
  margin:0 0 12px;
  font-size:28px;
  line-height:1;
  letter-spacing:-.05em;
}

::selection{
  background:rgba(255,255,255,.16);
  color:#fff;
}

/* SHELL */

.app-shell{
  width:min(1220px,calc(100% - 42px));
  margin:0 auto;
  padding:18px 0 28px;
}

.topbar{
  min-height:72px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:0 0 16px;
  border-bottom:1px solid var(--line);
}

.brand p,
.panel p{
  margin:0;
  color:var(--muted);
}

.top-actions{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.chip{
  min-height:38px;
  padding:0 14px;
  border:1px solid var(--line);
  border-radius:999px;
  color:var(--muted);
  background:var(--soft);
  cursor:pointer;
  font-size:13px;
  font-weight:800;
}

.chip.active{
  color:#05070a;
  background:var(--text);
  border-color:var(--text);
}

.control-panel{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:12px;
  padding:16px 0 14px;
}

.control-panel[style*="none"]{
  display:none !important;
}

select{
  width:100%;
  height:42px;
  min-height:42px;
  margin:0;
  padding:0 14px;
  border:1px solid rgba(255,255,255,.16);
  border-radius:13px;
  color:var(--text);
  background:#050505;
  outline:none;
  font-size:13px;
  font-weight:850;
}

.view{
  display:none;
}

.view.active{
  display:block;
}

.panel{
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:linear-gradient(180deg,rgba(255,255,255,.075),rgba(255,255,255,.032));
  box-shadow:var(--shadow);
  padding:20px;
}

/* STARTER: QUESTIONS ONLY */

.starter-view{
  display:none;
}

body.not-started{
  background:#030405;
}

body.not-started .starter-view{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
}

body.not-started .control-panel,
body.not-started .view,
body.not-started .topbar,
body.not-started .starter-card > .eyebrow,
body.not-started .starter-card > h1,
body.not-started .starter-card > h2,
body.not-started .starter-card > p,
body.not-started .starter-divider,
body.not-started .country-search-label,
body.not-started .country-picker,
body.not-started #starterCountrySearch,
body.not-started #starterCountryGrid{
  display:none !important;
}

body.not-started .app-shell{
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:0;
}

.starter-card{
  width:min(980px,100%);
  padding:28px;
  border:1px solid rgba(255,255,255,.16);
  border-radius:28px;
  background:linear-gradient(180deg,rgba(255,255,255,.055),rgba(255,255,255,.02)),#070809;
  box-shadow:none;
}

.world-question-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
  margin:0;
}

.world-question-btn{
  min-height:118px;
  padding:20px 20px 18px;
  border:1px solid rgba(255,255,255,.16);
  border-radius:20px;
  background:linear-gradient(180deg,rgba(255,255,255,.07),rgba(255,255,255,.025)),#08090a;
  box-shadow:none;
  color:#fff;
  text-align:left;
  cursor:pointer;
  overflow:hidden;
}

.world-question-btn:hover,
.world-question-btn:focus{
  border-color:rgba(255,255,255,.32);
  background:linear-gradient(180deg,rgba(255,255,255,.105),rgba(255,255,255,.035)),#090a0b;
  outline:none;
}

.world-question-btn:before,
.world-question-btn:after,
.world-question-btn *:before,
.world-question-btn *:after{
  display:none !important;
  content:none !important;
}

.world-question-btn strong{
  display:block;
  margin:0 0 14px;
  padding:0;
  border:0;
  background:transparent;
  color:#fff;
  font-size:clamp(20px,2vw,28px);
  line-height:.94;
  font-weight:950;
  letter-spacing:-.055em;
  text-transform:none;
}

.world-question-btn span{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:max-content;
  max-width:100%;
  min-height:24px;
  padding:7px 10px;
  border:1px solid rgba(255,255,255,.16);
  border-radius:999px;
  background:rgba(255,255,255,.045);
  color:rgba(255,255,255,.72);
  font-size:10px;
  line-height:1;
  font-weight:900;
  letter-spacing:.14em;
  text-transform:uppercase;
}

/* COUNTRY PAGE */

.country-reality-grid{
  display:grid;
  grid-template-columns:minmax(0,1.08fr) minmax(430px,.92fr);
  gap:12px;
  align-items:start;
}

.country-main,
.reality-main,
.radius-main{
  min-height:420px;
  overflow:hidden;
}

.country-title{
  position:relative;
  min-height:72px;
  margin-bottom:18px;
  padding-right:244px;
}

#selectedCountryName{
  margin:0;
}

.score-pair{
  position:absolute;
  top:-2px;
  right:0;
  display:flex;
  gap:10px;
}

.score-box{
  width:108px;
  height:72px;
  border:1px solid rgba(255,255,255,.15);
  border-radius:22px;
  background:rgba(255,255,255,.045);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:6px;
  text-align:center;
}

.score-box span{
  color:rgba(255,255,255,.55);
  font-size:9px;
  line-height:1;
  font-weight:950;
  text-transform:uppercase;
  letter-spacing:.16em;
}

.score-box strong{
  color:#fff;
  font-size:17px;
  line-height:1;
  font-weight:950;
  letter-spacing:-.055em;
  white-space:nowrap;
}

body.wc-general-data-mode .score-pair{
  display:none !important;
}

body.wc-general-data-mode .country-title{
  padding-right:0;
}

.amount-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
  width:100%;
  align-content:start;
}

.metric-card,
.reality-tile,
.data-stat,
.method-grid div{
  min-height:84px;
  padding:14px;
  border:1px solid rgba(255,255,255,.11);
  border-radius:16px;
  background:rgba(255,255,255,.025);
  display:flex;
  flex-direction:column;
  justify-content:center;
  overflow:hidden;
}

.metric-card span,
.reality-tile span,
.data-stat span{
  display:block;
  margin:0 0 8px;
  color:rgba(255,255,255,.52);
  font-size:10px;
  font-weight:850;
  text-transform:uppercase;
  letter-spacing:.16em;
  line-height:1.1;
}

.metric-card strong,
.reality-tile strong,
.data-stat strong{
  display:block;
  color:#f6f6f7;
  font-size:20px;
  line-height:1.05;
  font-weight:900;
  letter-spacing:-.04em;
}

.reality-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:14px;
  margin-bottom:18px;
}

#realityTitle{
  font-size:clamp(42px,5.4vw,72px);
  line-height:.9;
  letter-spacing:-.075em;
}

.view-toggle,
[data-reality-mode]{
  display:none !important;
}

.reality-content.tiles{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
}

.reality-content.bars,
#radiusList.radius-list{
  display:flex;
  flex-direction:column;
  gap:9px;
}

.radius-row{
  display:grid;
  grid-template-columns:122px minmax(120px,1fr) 54px;
  align-items:center;
  gap:12px;
}

.radius-row > span{
  color:rgba(255,255,255,.72);
  font-size:12px;
  font-weight:850;
  line-height:1.05;
}

.radius-row .bar{
  height:10px;
  border-radius:999px;
  background:rgba(255,255,255,.09);
  overflow:hidden;
}

.radius-row .bar i{
  display:block;
  height:100%;
  min-width:2px;
  border-radius:999px;
  background:#fff;
}

.radius-row strong{
  display:block;
  text-align:right;
  color:#f4f4f5;
  font-size:12px;
  line-height:1;
  font-weight:850;
}

/* COLLAPSIBLE PROOF / FORMULA */

.formula-panel,
.proof-panel{
  margin-top:12px;
  overflow:hidden;
}

.collapse-bar{
  min-height:68px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:14px;
  cursor:pointer;
}

.collapse-bar span,
.collapse-bar button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:32px;
  padding:0 14px;
  border:1px solid rgba(255,255,255,.16);
  border-radius:999px;
  background:rgba(255,255,255,.07);
  color:rgba(255,255,255,.9);
  font-size:11px;
  font-weight:950;
  letter-spacing:.13em;
  line-height:1;
  text-transform:uppercase;
}

.collapse-bar button{
  min-width:66px;
  cursor:pointer;
}

.formula-panel[data-formula-open="false"],
.proof-panel[data-proof-open="false"]{
  height:68px;
  min-height:68px;
  max-height:68px;
  padding:0 18px;
}

.formula-panel[data-formula-open="false"] .collapse-content,
.proof-panel[data-proof-open="false"] .collapse-content{
  display:none;
}

.formula-panel[data-formula-open="true"],
.proof-panel[data-proof-open="true"]{
  height:auto;
  padding:18px;
}

.formula-panel[data-formula-open="true"] .collapse-bar,
.proof-panel[data-proof-open="true"] .collapse-bar{
  min-height:32px;
  margin-bottom:16px;
}

.formula-inputs{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
}

.formula-inputs div,
.proof-card{
  padding:14px;
  border:1px solid var(--line);
  border-radius:16px;
  background:rgba(0,0,0,.18);
}

.formula-inputs strong,
.proof-card strong{
  display:block;
  margin-bottom:6px;
  font-size:14px;
}

.formula-inputs span,
.proof-card span{
  display:block;
  color:var(--muted2);
  font-size:12px;
  line-height:1.45;
}

.proof-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
}

/* WORLD VIEW */

body.worldcard-world-focus .topbar,
body.worldcard-world-focus header,
body.worldcard-world-focus .site-header,
body.worldcard-world-focus .app-header,
body.worldcard-world-focus .top-bar,
body.worldcard-world-focus .brand-row,
body.worldcard-world-focus .brand-bar,
body.worldcard-world-focus .main-header,
body.worldcard-world-focus .page-header,
body.worldcard-world-focus .nav-shell,
body.worldcard-world-focus .wc-header{
  display:none !important;
}

body.worldcard-world-focus .app-shell,
body.worldcard-world-focus main,
body.worldcard-world-focus .app-main,
body.worldcard-world-focus .shell,
body.worldcard-world-focus .page-shell,
body.worldcard-world-focus .wc-shell{
  padding-top:0 !important;
  margin-top:0 !important;
}

#worldView{
  color:#fff;
}

#worldView *,
#wcWorldView *{
  box-shadow:none;
}

#worldView.view.active,
#wcWorldView.view.active,
#worldView.active,
#wcWorldView.active{
  display:block !important;
  visibility:visible !important;
  opacity:1 !important;
  min-height:1px !important;
}

.wc-world-clean-panel,
.wc-world-country-list-panel,
.wc-world-list-panel{
  display:block !important;
  visibility:visible !important;
  opacity:1 !important;
  background:#000 !important;
  color:#fff !important;
  border:1px solid rgba(255,255,255,.18) !important;
  border-radius:22px !important;
  box-shadow:none !important;
}

.wc-world-clean-panel{
  padding:28px !important;
  margin:0 0 14px !important;
}

.wc-world-country-list-panel{
  padding:18px !important;
}

#worldQuestionSelect,
.wc-world-question-select,
.wc-question-selector-tall{
  display:block !important;
  visibility:visible !important;
  opacity:1 !important;
  width:100% !important;
  max-width:none !important;
  min-height:74px !important;
  height:74px !important;
  padding:0 48px 0 16px !important;
  border:1px solid rgba(255,255,255,.22) !important;
  border-radius:14px !important;
  background:#000 !important;
  color:#fff !important;
  font-family:var(--wc-font-clean) !important;
  font-size:20px !important;
  line-height:1.12 !important;
  font-weight:850 !important;
  letter-spacing:-.022em !important;
  white-space:normal !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
  box-shadow:none !important;
  outline:none !important;
}

.wc-world-answer-text{
  display:none !important;
}

.wc-world-answer-block{
  display:block !important;
  visibility:visible !important;
  opacity:1 !important;
  margin-top:24px !important;
  max-width:1180px !important;
}

.wc-world-answer-block strong{
  display:block !important;
  margin:0 0 14px !important;
  color:#fff !important;
  font-family:var(--wc-font-clean) !important;
  font-size:clamp(34px,4vw,52px) !important;
  line-height:1.06 !important;
  font-weight:850 !important;
  letter-spacing:-.035em !important;
}

.wc-world-answer-block p{
  max-width:1120px !important;
  margin:0 0 14px !important;
  color:rgba(255,255,255,.9) !important;
  font-family:var(--wc-font-clean) !important;
  font-size:clamp(20px,1.9vw,27px) !important;
  line-height:1.28 !important;
  font-weight:700 !important;
  letter-spacing:-.018em !important;
}

.wc-world-answer-block small{
  display:block !important;
  max-width:1120px !important;
  color:rgba(255,255,255,.62) !important;
  font-family:var(--wc-font-clean) !important;
  font-size:15px !important;
  line-height:1.55 !important;
  font-weight:600 !important;
  letter-spacing:0 !important;
  white-space:pre-line !important;
}

.wc-world-list-head,
.wc-world-list-title,
.wc-world-list-head span{
  display:none !important;
}

.wc-country-rank-list{
  display:block !important;
  visibility:visible !important;
  opacity:1 !important;
}

.wc-country-rank-row{
  appearance:none !important;
  -webkit-appearance:none !important;
  width:100% !important;
  display:grid !important;
  grid-template-columns:36px minmax(170px,1fr) minmax(180px,42%) 64px !important;
  align-items:center !important;
  gap:16px !important;
  padding:14px 0 !important;
  border:0 !important;
  border-top:1px solid rgba(255,255,255,.10) !important;
  background:transparent !important;
  color:#fff !important;
  text-align:left !important;
  cursor:pointer !important;
  visibility:visible !important;
  opacity:1 !important;
  font-family:var(--wc-font-clean) !important;
}

.wc-country-rank-row:first-child{
  border-top:0 !important;
}

.wc-country-rank-row:hover{
  background:rgba(255,255,255,.06) !important;
}

.wc-country-rank-row:hover .wc-country-rank-name strong{
  text-decoration:underline;
  text-underline-offset:4px;
}

.wc-country-rank-row:focus{
  outline:1px solid rgba(255,255,255,.42);
  outline-offset:2px;
}

.wc-country-rank-num{
  color:rgba(255,255,255,.62) !important;
  font:900 12px/1 var(--wc-font-clean) !important;
}

.wc-country-rank-name{
  font-family:var(--wc-font-clean) !important;
  font-weight:750 !important;
  letter-spacing:-.012em !important;
}

.wc-country-rank-name strong{
  display:block !important;
  color:#fff !important;
  font:950 15px/1.05 var(--wc-font-clean) !important;
  letter-spacing:-.02em !important;
}

.wc-country-rank-name span{
  display:block !important;
  margin-top:5px !important;
  color:rgba(255,255,255,.50) !important;
  font:900 9px/1 var(--wc-font-clean) !important;
  letter-spacing:.24em !important;
  text-transform:uppercase !important;
}

.wc-country-rank-bar{
  height:8px !important;
  border-radius:999px !important;
  background:rgba(255,255,255,.08) !important;
  overflow:hidden !important;
}

.wc-country-rank-bar i{
  display:block !important;
  height:100% !important;
  border-radius:999px !important;
  background:#fff !important;
}

.wc-country-rank-score{
  color:#fff !important;
  text-align:right !important;
  font:650 13px/1 var(--wc-font-clean) !important;
}

/* WORLD SORT TOGGLE */

.wc-world-sort-toggle{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:8px !important;
  width:100% !important;
  margin:12px 0 !important;
  padding:8px !important;
  border:1px solid rgba(255,255,255,.12) !important;
  border-radius:18px !important;
  background:rgba(255,255,255,.025) !important;
}

.wc-world-sort-toggle button{
  appearance:none !important;
  -webkit-appearance:none !important;
  min-height:36px !important;
  padding:0 16px !important;
  border:1px solid rgba(255,255,255,.15) !important;
  border-radius:999px !important;
  background:rgba(255,255,255,.055) !important;
  color:rgba(255,255,255,.68) !important;
  font-family:var(--wc-font-clean) !important;
  font-size:11px !important;
  line-height:1 !important;
  font-weight:900 !important;
  letter-spacing:.08em !important;
  text-transform:uppercase !important;
  cursor:pointer !important;
}

.wc-world-sort-toggle button.active{
  background:#fff !important;
  border-color:#fff !important;
  color:#05070a !important;
}

/* DATA ISSUE LABEL */

.wc-data-issue-chip{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  margin-left:8px !important;
  padding:4px 7px !important;
  border:1px solid rgba(255,70,70,.65) !important;
  border-radius:999px !important;
  background:rgba(255,70,70,.14) !important;
  color:#ff7b7b !important;
  font-style:normal !important;
  font-size:8px !important;
  line-height:1 !important;
  font-weight:950 !important;
  letter-spacing:.13em !important;
  vertical-align:middle !important;
}

.wc-country-rank-row.wc-data-integrity-issue{
  border-left:3px solid rgba(255,70,70,.9) !important;
  padding-left:12px !important;
}

.wc-country-rank-row.wc-data-integrity-issue .wc-country-rank-score{
  color:#ff7b7b !important;
}

.wc-country-rank-row.wc-data-integrity-issue .wc-country-rank-bar i{
  background:#ff7b7b !important;
}

/* OLD WORLD RENDER KILL SWITCH */

.world-hero-panel,
.world-dashboard-panel,
.world-ranking-panel,
.world-controls,
.world-hero-score,
.world-pulse-grid,
.world-pulse-hero,
.world-pulse-tile,
.world-dashboard-list,
.world-dashboard-row,
.world-list,
.wc-world-answer-card,
.wc-world-answer-score,
.wc-world-answer-status,
.wc-world-answer-title,
.wc-world-answer-pill,
#wc-runtime-reality-panel,
.wc-runtime-reality-panel,
[data-wc-runtime-reality-panel="true"]{
  display:none !important;
}

/* COMPARE / DATA / METHOD */

.compare-controls,
.world-controls{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
  margin-bottom:12px;
}

.compare-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}

.compare-card h2{
  margin-bottom:12px;
}

.compare-score{
  font-size:58px;
  line-height:.9;
  letter-spacing:-.075em;
  margin:14px 0;
}

.compare-metrics{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
}

.compare-line{
  display:grid;
  grid-template-columns:160px 1fr 1fr;
  gap:10px;
  align-items:center;
  margin-top:12px;
  padding:12px;
  border:1px solid var(--line);
  border-radius:16px;
  background:rgba(0,0,0,.18);
}

.data-grid,
.method-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  margin-top:18px;
}

.method{
  max-width:940px;
}

.method p{
  max-width:720px;
  line-height:1.65;
}

.method-grid strong,
.method-grid span,
.method-note strong,
.method-note span{
  display:block;
}

.method-grid strong{
  margin-bottom:10px;
}

.method-grid span,
.method-note span{
  color:var(--muted);
  font-size:13px;
  line-height:1.5;
}

.method-note{
  margin-top:14px;
  padding:14px;
  border:1px solid var(--line);
  border-radius:16px;
  background:rgba(0,0,0,.18);
}

.eyebrow{
  margin:0 0 8px;
  color:rgba(255,255,255,.62);
  text-transform:uppercase;
  letter-spacing:.16em;
  font-size:11px;
  font-weight:850;
}

.worldcard-error-banner,
.wc-error-banner,
[data-worldcard-error-banner="true"]{
  display:none !important;
}

/* RESPONSIVE */

@media(max-width:980px){
  .app-shell{
    width:min(100% - 28px,1220px);
  }

  .topbar{
    align-items:flex-start;
    flex-direction:column;
  }

  .country-reality-grid,
  .formula-inputs,
  .proof-grid,
  .data-grid,
  .method-grid,
  .compare-controls,
  .world-controls,
  .compare-grid{
    grid-template-columns:1fr !important;
  }

  .country-title{
    padding-right:0;
  }

  .score-pair{
    position:relative;
    top:auto;
    right:auto;
    margin-top:12px;
  }

  .amount-grid,
  .reality-content.tiles{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .radius-row,
  .compare-line{
    grid-template-columns:1fr;
  }

  .radius-row strong{
    text-align:left;
  }

  .world-question-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media(max-width:720px){
  main,
  section,
  .page,
  .wrap,
  .container,
  .shell,
  .card,
  .panel,
  .result-card,
  .ranking-card,
  .country-ranking,
  .ranking-list{
    max-width:100%;
    box-sizing:border-box;
  }

  select,
  button,
  .question,
  .question-pill,
  .question-select,
  .question-trigger,
  .question-button,
  .question-control,
  .question-dropdown,
  .wc-question,
  .wc-question-pill,
  .wc-question-select,
  .wc-question-trigger,
  [class*="question"]{
    max-width:100%;
    min-width:0;
    box-sizing:border-box;
  }

  .wc-country-rank-row{
    grid-template-columns:28px minmax(0,1fr) 54px !important;
    gap:10px !important;
    padding:14px 0 !important;
  }

  .wc-country-rank-bar{
    grid-column:2 / 4 !important;
    height:7px !important;
  }

  .wc-country-rank-name strong{
    font-size:14px !important;
    line-height:1.05 !important;
  }

  .wc-country-rank-name span{
    font-size:9px !important;
    letter-spacing:.22em !important;
  }

  .wc-country-rank-score{
    font-size:14px !important;
    line-height:1 !important;
  }

  .result-card h1,
  .result-card h2,
  .result-card .headline,
  .result-card [class*="headline"],
  .result-card [class*="title"]{
    max-width:100%;
    overflow-wrap:normal;
    word-break:normal;
    line-height:1.08;
  }
}

@media(max-width:680px){
  .app-shell{
    width:min(100% - 22px,1220px);
  }

  .topbar{
    gap:22px !important;
  }

  .topbar .top-actions{
    display:grid !important;
    grid-template-columns:repeat(5,minmax(0,1fr)) !important;
    gap:6px !important;
    width:100% !important;
    max-width:100% !important;
    flex-wrap:nowrap !important;
    overflow:visible !important;
  }

  .topbar .top-actions .chip{
    width:100% !important;
    min-width:0 !important;
    max-width:100% !important;
    height:38px !important;
    min-height:38px !important;
    padding:0 2px !important;
    border-radius:999px !important;
    font-size:clamp(10px,2.75vw,12px) !important;
    line-height:1 !important;
    letter-spacing:-.04em !important;
    white-space:nowrap !important;
    overflow:hidden !important;
    text-overflow:clip !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    text-align:center !important;
  }

  .control-panel{
    grid-template-columns:1fr 1fr;
    gap:8px;
  }

  select{
    font-size:12px;
    padding:0 10px;
  }

  h2,
  #realityTitle{
    font-size:42px;
  }

  .amount-grid,
  .reality-content.tiles{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .metric-card,
  .reality-tile{
    min-height:78px;
    padding:12px;
  }

  .metric-card strong,
  .reality-tile strong{
    font-size:18px;
  }

  #worldQuestionSelect,
  .wc-world-question-select,
  .wc-question-selector-tall{
    min-height:82px !important;
    height:82px !important;
    padding:0 42px 0 14px !important;
    font-size:18px !important;
    line-height:1.1 !important;
  }

  .wc-world-clean-panel{
    padding:20px !important;
  }

  .wc-world-answer-block strong{
    font-size:34px !important;
  }

  .wc-world-answer-block p{
    font-size:20px !important;
    line-height:1.2 !important;
  }

  .wc-world-answer-block small{
    font-size:13px !important;
  }

  .wc-world-sort-toggle{
    gap:6px !important;
    margin:10px 0 !important;
    padding:7px !important;
    border-radius:16px !important;
  }

  .wc-world-sort-toggle button{
    flex:1 1 0 !important;
    min-width:0 !important;
    min-height:34px !important;
    padding:0 8px !important;
    font-size:9.5px !important;
    letter-spacing:.055em !important;
    white-space:nowrap !important;
  }

  .wc-data-issue-chip{
    display:flex !important;
    width:max-content !important;
    margin:5px 0 0 !important;
  }
}

@media(max-width:560px){
  .world-question-grid{
    grid-template-columns:1fr;
  }

  .world-question-btn{
    min-height:88px;
  }
}

@media(max-width:430px){
  #worldQuestionSelect,
  .wc-world-question-select,
  .wc-question-selector-tall{
    min-height:88px !important;
    height:88px !important;
    padding:0 40px 0 13px !important;
    font-size:17px !important;
    line-height:1.08 !important;
  }

  .metric-grid,
  .stats-grid,
  .country-metrics,
  .data-grid,
  [class*="metric-grid"],
  [class*="stats-grid"],
  [class*="country-metrics"],
  [class*="data-grid"]{
    gap:12px;
  }

  .stat,
  .stat-card,
  .metric,
  .metric-card,
  .metric-tile,
  .country-metric,
  .data-point,
  [class*="stat-card"],
  [class*="metric-card"],
  [class*="metric-tile"],
  [class*="country-metric"],
  [class*="data-point"]{
    padding:22px 18px;
    border-radius:26px;
  }

  .stat .label,
  .stat-card .label,
  .metric .label,
  .metric-card .label,
  .metric-tile .label,
  .country-metric .label,
  .data-point .label,
  [class*="stat-card"] .label,
  [class*="metric-card"] .label,
  [class*="metric-tile"] .label,
  [class*="country-metric"] .label,
  [class*="data-point"] .label{
    font-size:clamp(11px,3.2vw,14px);
    letter-spacing:.16em;
  }

  .stat .value,
  .stat-card .value,
  .metric .value,
  .metric-card .value,
  .metric-tile .value,
  .country-metric .value,
  .data-point .value,
  [class*="stat-card"] .value,
  [class*="metric-card"] .value,
  [class*="metric-tile"] .value,
  [class*="country-metric"] .value,
  [class*="data-point"] .value{
    font-size:clamp(26px,7.5vw,36px);
  }
}

@media(max-width:390px){
  .topbar .top-actions{
    gap:5px !important;
  }

  .topbar .top-actions .chip{
    height:36px !important;
    min-height:36px !important;
    font-size:10px !important;
    letter-spacing:-.05em !important;
  }
}