/* One transparent overview keeps the worldwide population and language figures together. */
.world-overview{position:fixed;left:32px;top:var(--world-overview-top,340px);z-index:5;width:225px;max-width:225px;max-height:var(--world-overview-height,500px);margin:0;padding:0;overflow:hidden;background:transparent;border:0;box-shadow:none;backdrop-filter:none;font-family:var(--atlas-grotesk)}
.world-overview-toggle{--world-header-height:80px;display:flex;align-items:center;justify-content:space-between;gap:12px;box-sizing:border-box;width:100%;height:var(--world-header-height);min-height:44px;margin:0;padding:10px 0;border:0;border-top:1px solid #ffffff24;border-radius:0;background:transparent;color:#b5b5b5;font-family:inherit;font-size:12px;line-height:1.4;font-weight:500;letter-spacing:0;text-align:left;cursor:pointer;transition:height 280ms cubic-bezier(.22,1,.36,1)}
.world-overview-preview{display:flex;flex-direction:column;gap:6px;min-width:0}
.world-overview-total{color:#e0e0e0;font-size:28px;font-weight:550;line-height:1.05;letter-spacing:-.8px;white-space:nowrap;font-variant-numeric:tabular-nums}
.world-overview-language-preview{color:#999;font-size:13px;font-weight:400;line-height:1.3}
.world-overview-expanded-label{display:none}
.world-overview.is-open>.world-overview-toggle{height:44px}
.world-overview.is-open>.world-overview-toggle .world-overview-preview{display:none}
.world-overview.is-open>.world-overview-toggle .world-overview-expanded-label{display:block}
.world-overview-toggle:hover{color:#eee;border-top-color:#ffffff44}
.world-overview-toggle:focus-visible{outline:1px solid #999;outline-offset:-1px}
.world-overview-chevron{width:12px;height:12px;flex:0 0 12px;fill:none;stroke:currentColor;stroke-width:1.1;stroke-linecap:round;stroke-linejoin:round;opacity:.6;transition:transform 260ms cubic-bezier(.22,1,.36,1),opacity 220ms ease}
.world-overview.is-open>.world-overview-toggle .world-overview-chevron{transform:rotate(90deg);opacity:1}
.world-overview-body{height:0;min-height:0;overflow:hidden;opacity:0;background:transparent;transition:height 280ms cubic-bezier(.22,1,.36,1),opacity 200ms ease}
.world-overview.is-open>.world-overview-body{height:var(--world-content-height,420px);opacity:1}
.world-overview-scroll::-webkit-scrollbar{width:0;height:0}
.world-overview-scroll:focus-visible{outline:1px solid #888;outline-offset:-1px}
.world-overview-content{display:grid;gap:12px;align-content:start;box-sizing:border-box;height:100%;margin:0;padding:2px 0 8px;overflow-y:auto;overscroll-behavior:contain;touch-action:pan-y;scrollbar-width:none;background:transparent}
.world-overview :is(.global-scripture,.global-population){position:relative;inset:auto;display:block;width:100%;max-width:none;margin:0;padding:0;transform:none;border:0;background:none;color:#999}
.world-overview .global-scripture{padding-top:12px;border-top:1px solid #ffffff24}
.world-overview :is(.global-scripture-stats,.global-population-stats){grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 14px}
.world-overview :is(.global-scripture-stat:first-child,.global-population-metric:first-child){grid-column:1/-1}
.world-overview :is(.global-scripture-stat,.global-population-stat) dd{font-size:18px;font-weight:600;line-height:1.05;letter-spacing:-.5px;color:#ddd;white-space:nowrap}
.world-overview :is(.global-scripture-stat:first-child,.global-population-metric:first-child) dd{font-size:20px}
.world-overview :is(.global-scripture-stat,.global-population-stat) dt{margin:5px 0 0;font-size:10px;font-weight:400;line-height:1.35;color:#929292}
.world-overview .global-population-note{margin-top:4px;font-size:10px;line-height:1.35}
.world-overview-source{display:block;min-height:24px;margin:0;padding:0;border:0;border-radius:0;background:transparent;color:#929292;font-family:inherit;font-size:10px;font-weight:400;line-height:1.4;white-space:normal;text-align:left;cursor:pointer}
.world-overview-source:hover{color:#eee}
.world-overview-source:focus-visible{outline:1px solid #999;outline-offset:3px}
.global-scripture-source{display:block;margin-top:18px;font-size:11px;line-height:1.4;color:#aaa;text-decoration:underline;text-underline-offset:4px;white-space:normal}
.global-scripture-source:hover{color:#eee}
.global-scripture-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 14px;margin:0}
.global-scripture-stat{display:flex;flex-direction:column;min-width:0;margin:0}
.global-scripture-stat:first-child{grid-column:1/-1}
.global-scripture-stat dd{order:0;margin:0;color:#ddd;font-size:18px;font-weight:600;line-height:1.05;letter-spacing:-.5px;font-variant-numeric:tabular-nums}
.global-scripture-stat dt{order:1;margin:5px 0 0;font-size:9px;line-height:1.3;font-weight:400;color:#929292;white-space:normal}
.in-history .world-overview{display:none}
#world-overview-sources-dialog{box-sizing:border-box;width:min(620px,calc(100vw - 36px));max-height:calc(100dvh - 36px);margin:auto;padding:26px;overflow-y:auto;overscroll-behavior:contain;background:#0b0b0b;border:1px solid #ffffff2a;border-radius:0;box-shadow:0 18px 70px #0009;color:#aaa;font-family:var(--atlas-grotesk)}
#world-overview-sources-dialog::backdrop{background:#000a;backdrop-filter:blur(4px)}
#world-overview-sources-dialog h2{font-size:22px;font-weight:600;letter-spacing:-.5px;line-height:1.15;margin:0 28px 24px 0;color:#eee}
#world-overview-sources-dialog h3{font-size:17px;font-weight:500;line-height:1.3;margin:0 0 16px;color:#ddd}
#world-overview-sources-dialog .world-source-group+.world-source-group{margin-top:26px;padding-top:24px;border-top:1px solid #ffffff24}
#world-overview-sources-dialog .global-scripture-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
#world-overview-sources-dialog :is(.global-scripture-stat,.global-population-stat) dd{font-size:28px;line-height:1.05;letter-spacing:-.5px;color:#eee}
#world-overview-sources-dialog :is(.global-scripture-stat,.global-population-stat) dt{margin-top:7px;font-size:12px;line-height:1.4;color:#aaa}
#world-overview-sources-dialog p{margin:12px 0 0;font-size:12px;line-height:1.6;color:#999}
.world-overview-sources-close{position:sticky;top:0;float:right;z-index:2;width:36px;height:36px;margin:-13px -14px 0 0;border:0;background:#0b0b0b;color:#bbb;font-size:25px;line-height:1;cursor:pointer}
.world-overview-sources-close:focus-visible{outline:1px solid #999;outline-offset:2px}
@media(min-width:761px) and (max-width:1100px){.world-overview{left:24px;width:195px;max-width:195px}.world-overview-total{font-size:27px}.world-overview-language-preview{font-size:12px}.world-overview :is(.global-scripture-stat,.global-population-stat) dd{font-size:16px}.world-overview :is(.global-scripture-stat:first-child,.global-population-metric:first-child) dd{font-size:18px}}
@media(max-width:760px), (max-width:1000px) and (max-height:500px){
 .world-overview{left:18px;z-index:8;box-sizing:border-box;width:225px;max-width:calc(100vw - 36px)}
 /* Keep the dropdown inline and its text aligned, while shielding it from the globe. */
 .world-overview.is-open{left:8px;width:245px;max-width:calc(100vw - 16px);padding:0 10px;background:rgba(4,8,12,.9);box-shadow:0 6px 20px #0003;backdrop-filter:blur(6px)}
 .world-overview-toggle{--world-header-height:72px;padding:8px 0}
 .world-overview-total{font-size:27px}
 .mobile-panel-expanded .world-overview{display:none}
}
@media(max-width:1000px) and (max-height:500px) and (orientation:landscape){.world-overview{left:14px;width:min(225px,calc(52vw - 28px))}.world-overview.is-open{left:4px;width:min(245px,calc(52vw - 8px))}}
@media(prefers-reduced-motion:reduce){.world-overview-toggle,.world-overview-body,.world-overview-chevron{transition:none}}
