.globe-widget {
  position: relative;
  width: min(760px, 100%);
  color: #fff;
}

.planet-stage.globe-widget {
  aspect-ratio: auto;
  justify-self: center;
}

.share-note { display: none !important; }
.hero-actions .watch { display: none !important; }

.light-quote-attribution {
  display: block;
  margin: 12px 0 0 26px;
  color: #d4af37;
  font: 700 .68rem/1.4 "DM Sans", sans-serif;
  font-style: normal;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.humanitarian-current-heading {
  max-width: 900px;
  font-size: clamp(2.2rem, 4.5vw, 4.8rem) !important;
  line-height: 1 !important;
}

/* Humanitarian content opens on a quiet teaser and reveals details by horizontal scroll. */
#world-need .world-stats.humanitarian-carousel {
  display: flex;
  gap: 0;
  overflow-x: auto;
  overflow-y: hidden;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 22px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-color: #d4af37 rgba(255,255,255,.08);
  scrollbar-width: thin;
}

#world-need .world-stats.humanitarian-carousel > * {
  flex: 0 0 100%;
  min-width: 100%;
  min-height: 390px;
  margin: 0;
  border: 0;
  border-right: 1px solid rgba(255,255,255,.16);
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

#world-need .world-stats.humanitarian-carousel > article:not(.humanitarian-teaser) {
  align-content: center;
  grid-template-columns: minmax(160px,.42fr) 1fr;
  padding: clamp(34px,7vw,82px);
  background: linear-gradient(135deg,rgba(255,255,255,.035),rgba(115,87,216,.07));
}

#world-need .world-stats.humanitarian-carousel > article:not(.humanitarian-teaser) > span {
  font-size: clamp(2.8rem,7vw,6.4rem);
}

.humanitarian-teaser {
  display: grid !important;
  place-items: center;
  padding: clamp(34px,7vw,80px) !important;
  background:
    radial-gradient(circle at 50% 45%, rgba(115,87,216,.25), transparent 38%),
    rgba(255,255,255,.025) !important;
  text-align: center;
}

.humanitarian-teaser-inner {
  max-width: 720px;
}

.humanitarian-teaser img {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 45px rgba(212,175,55,.34);
}

.humanitarian-teaser h3 {
  margin: 22px 0 12px !important;
  color: #fff;
  font: 600 clamp(2.6rem,6vw,5.2rem)/.95 "Manrope", sans-serif !important;
  letter-spacing: -.06em !important;
  text-transform: none !important;
}

.humanitarian-teaser p {
  max-width: 620px;
  margin: 0 auto 24px !important;
  color: #c9c2d5 !important;
  font-size: 1rem !important;
}

.humanitarian-open,
.humanitarian-arrow {
  border: 0;
  border-radius: 999px;
  color: #181426;
  background: #d4af37;
  cursor: pointer;
  font: 700 .72rem/1 "DM Sans", sans-serif;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.humanitarian-open { min-height: 48px; padding: 0 23px; }

.humanitarian-carousel-controls {
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto;
  gap: 14px;
  align-items: center;
  margin-top: 18px;
}

.humanitarian-arrow {
  width: 48px;
  height: 48px;
  padding: 0;
  color: #fff;
  border: 1px solid rgba(255,255,255,.24);
  background: rgba(255,255,255,.06);
  font-size: 1.1rem;
}

.humanitarian-arrow:hover,
.humanitarian-arrow:focus-visible,
.humanitarian-open:hover,
.humanitarian-open:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.humanitarian-carousel-status {
  margin: 0;
  color: #b9b1c5;
  font-size: .72rem;
  letter-spacing: .08em;
  text-align: center;
  text-transform: uppercase;
}

.humanitarian-arrow:disabled {
  cursor: default;
  opacity: .35;
}

.app-install-button {
  position: fixed;
  z-index: 90;
  right: 18px;
  bottom: 18px;
  min-height: 46px;
  border: 1px solid rgba(255,255,255,.38);
  border-radius: 999px;
  padding: 0 19px;
  color: #fff;
  background: #513c9e;
  box-shadow: 0 15px 45px rgba(8,7,21,.35);
  cursor: pointer;
  font: 700 .7rem/1 "DM Sans", sans-serif;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.ios-install-note {
  position: fixed;
  z-index: 100;
  left: 50%;
  bottom: 78px;
  width: min(390px, calc(100% - 28px));
  transform: translateX(-50%);
  padding: 18px 48px 18px 18px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 16px;
  color: #fff;
  background: #17102f;
  box-shadow: 0 22px 65px rgba(0,0,0,.4);
  font-family: "DM Sans", sans-serif;
}

.ios-install-note strong,
.ios-install-note span { display: block; }
.ios-install-note span { margin-top: 4px; color: #d4cedd; font-size: .82rem; }
.ios-install-note button { position: absolute; top: 9px; right: 12px; border: 0; color: #fff; background: transparent; cursor: pointer; font-size: 1.4rem; }

#world-need .humanitarian-carousel .wars-box,
#world-need .humanitarian-carousel .sources-box {
  overflow-y: auto;
  padding: clamp(30px,6vw,68px);
}

#world-need .humanitarian-carousel .sources-box {
  color: #181426;
}

.globe-viewport {
  position: relative;
  aspect-ratio: 7 / 4;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 28px;
  background: #080715;
  box-shadow: 0 34px 90px rgba(3,2,15,.42), 0 0 80px rgba(115,87,216,.2);
  isolation: isolate;
}

.globe-world {
  position: absolute;
  inset: 0;
  transition: transform 850ms cubic-bezier(.2,.8,.2,1);
}

.globe-world::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8,7,21,.38), transparent 45%, rgba(8,7,21,.1));
  pointer-events: none;
}

.globe-image {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  mix-blend-mode: normal !important;
  filter: saturate(1.08) contrast(1.06) !important;
  animation: globe-breathe 12s ease-in-out infinite !important;
}

.globe-matrix {
  position: absolute;
  z-index: 1;
  left: 53.5%;
  top: 8%;
  width: 43%;
  height: 84%;
  border: 1px solid rgba(212,175,55,.35);
  border-radius: 50%;
  box-shadow: 0 0 22px rgba(212,175,55,.12), inset 0 0 24px rgba(165,138,245,.12);
  opacity: .35;
  pointer-events: none;
  transform: rotate(-7deg);
  transition: opacity .5s ease, filter .5s ease;
}

.globe-matrix::before,
.globe-matrix::after {
  content: "";
  position: absolute;
  inset: 9%;
  border: 1px solid rgba(165,138,245,.24);
  border-radius: 50%;
  transform: rotate(48deg) scaleY(.72);
}

.globe-matrix::after {
  inset: -4% 15%;
  border-color: rgba(212,175,55,.25);
  transform: rotate(-44deg) scaleX(.7);
}

.globe-matrix-node {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff4b8;
  box-shadow: 0 0 12px 4px rgba(212,175,55,.58);
  transform: translate(-50%,-50%);
}

.globe-widget.is-matrix-pulsing .globe-matrix {
  opacity: 1;
  animation: globe-matrix-pulse 2.4s ease-in-out infinite;
}

.globe-widget.is-matrix-pulsing .globe-matrix-node {
  animation: globe-matrix-node-pulse 1.6s ease-in-out infinite;
}

.globe-widget.is-matrix-pulsing .globe-matrix-node:nth-child(2n) { animation-delay: .25s; }
.globe-widget.is-matrix-pulsing .globe-matrix-node:nth-child(3n) { animation-delay: .5s; }

.globe-links {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  z-index: 2;
}

.globe-links line {
  stroke: rgba(245,212,110,.38);
  stroke-width: .22;
  stroke-dasharray: 1.2 1.4;
  vector-effect: non-scaling-stroke;
  animation: globe-flow 5s linear infinite;
}

.globe-links line.is-new {
  stroke: rgba(255,244,189,.95);
  stroke-width: .44;
  animation: globe-connect 1.2s ease both;
}

.globe-links line.is-matrix-link {
  stroke: rgba(255,247,194,1);
  stroke-width: .7;
  stroke-dasharray: 1 1;
  filter: drop-shadow(0 0 3px #fff) drop-shadow(0 0 7px #d4af37);
}

.globe-marker-layer {
  position: absolute;
  inset: 0;
  z-index: 4;
}

.globe-marker {
  position: absolute;
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #fff7c7;
  box-shadow: 0 0 0 5px rgba(212,175,55,.16), 0 0 20px 7px rgba(212,175,55,.82);
  transform: translate(-50%,-50%);
  cursor: pointer;
  transition: transform .25s ease, opacity .25s ease;
}

.globe-marker:hover,
.globe-marker:focus-visible,
.globe-marker.is-focused {
  outline: 0;
  transform: translate(-50%,-50%) scale(1.75);
  z-index: 5;
}

.globe-marker.is-anchor {
  width: 15px;
  height: 15px;
  background: #fff;
  box-shadow: 0 0 0 8px rgba(212,175,55,.2), 0 0 34px 15px rgba(212,175,55,.9);
  animation: globe-anchor-pulse 1.6s ease-in-out infinite;
}

.globe-marker.is-anchor::before {
  content: "";
  position: absolute;
  width: 4px;
  height: 145px;
  left: 50%;
  bottom: 4px;
  transform: translateX(-50%);
  background: linear-gradient(transparent, rgba(255,255,255,.94) 55%, #d4af37);
  filter: drop-shadow(0 0 8px #fff) drop-shadow(0 0 16px #d4af37);
  transform-origin: bottom;
  animation: globe-beam-rise 1.1s ease both;
}

.globe-location-card {
  position: absolute;
  z-index: 7;
  left: 18px;
  bottom: 18px;
  max-width: min(320px, calc(100% - 36px));
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,.18);
  border-left: 2px solid #d4af37;
  border-radius: 12px;
  background: rgba(8,7,21,.78);
  backdrop-filter: blur(14px);
  box-shadow: 0 14px 40px rgba(0,0,0,.28);
}

.globe-location-card small,
.globe-location-card span {
  display: block;
}

.globe-location-card small {
  color: #d4af37;
  font: 700 .62rem/1.2 "DM Sans", sans-serif;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.globe-location-card strong {
  display: block;
  margin: 3px 0 1px;
  font: 600 1rem/1.25 "Manrope", sans-serif;
}

.globe-location-card span {
  color: #c8c1d4;
  font-size: .72rem;
}

.globe-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  margin-top: 14px;
}

.globe-region-control,
.globe-anchor-control {
  min-height: 44px;
  border-radius: 999px;
  font: 700 .7rem/1 "DM Sans", sans-serif;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.globe-region-control {
  width: 100%;
  border: 1px solid rgba(255,255,255,.22);
  padding: 0 42px 0 17px;
  color: #fff;
  background: #171229;
}

.globe-anchor-control {
  border: 0;
  padding: 0 20px;
  color: #181426;
  background: #d4af37;
  box-shadow: 0 10px 30px rgba(212,175,55,.2);
  cursor: pointer;
}

.globe-anchor-control:hover,
.globe-anchor-control:focus-visible {
  background: #e0c45a;
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.globe-status {
  grid-column: 1 / -1;
  min-height: 20px;
  margin: 0;
  color: rgba(255,255,255,.7);
  font-size: .72rem;
  text-align: center;
}

.globe-zoom-controls {
  position: absolute;
  z-index: 9;
  top: 14px;
  right: 14px;
  display: flex;
  gap: 6px;
  padding: 6px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  background: rgba(8,7,21,.76);
  backdrop-filter: blur(12px);
}

.globe-zoom-controls button {
  min-width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  color: #fff;
  background: rgba(255,255,255,.07);
  cursor: pointer;
  font: 700 1rem/1 "DM Sans", sans-serif;
}

.globe-zoom-controls .globe-zoom-home {
  width: auto;
  padding: 0 13px;
  color: #181426;
  border-color: #d4af37;
  background: #d4af37;
  font-size: .65rem;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.globe-zoom-controls button:hover,
.globe-zoom-controls button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.globe-widget.is-anchored .globe-viewport {
  box-shadow: 0 34px 90px rgba(3,2,15,.42), 0 0 105px rgba(212,175,55,.27);
}

@keyframes globe-breathe {
  50% { filter: saturate(1.18) contrast(1.08) brightness(1.05); }
}

@keyframes globe-flow {
  to { stroke-dashoffset: -10; }
}

@keyframes globe-connect {
  from { opacity: 0; stroke-dashoffset: 24; }
  to { opacity: 1; stroke-dashoffset: 0; }
}

@keyframes globe-anchor-pulse {
  50% { transform: translate(-50%,-50%) scale(1.25); }
}

@keyframes globe-beam-rise {
  from { opacity: 0; transform: translateX(-50%) scaleY(0); }
  to { opacity: 1; transform: translateX(-50%) scaleY(1); }
}

@keyframes globe-matrix-pulse {
  0%,100% {
    filter: brightness(.9);
    box-shadow: 0 0 24px rgba(212,175,55,.2), inset 0 0 26px rgba(165,138,245,.14);
  }
  50% {
    filter: brightness(1.55);
    box-shadow: 0 0 52px 12px rgba(212,175,55,.42), 0 0 88px 20px rgba(115,87,216,.28), inset 0 0 38px rgba(255,255,255,.24);
  }
}

@keyframes globe-matrix-node-pulse {
  0%,100% { transform: translate(-50%,-50%) scale(.85); opacity: .72; }
  50% { transform: translate(-50%,-50%) scale(1.65); opacity: 1; }
}

@media (max-width: 760px) {
  .planet-stage.globe-widget {
    width: min(100%, 720px);
    margin-top: 25px;
  }
  .globe-viewport {
    aspect-ratio: 7 / 4;
    border-radius: 20px;
  }

  .globe-image {
    object-position: center !important;
  }

  .globe-controls {
    grid-template-columns: 1fr;
  }

  .globe-anchor-control {
    width: 100%;
  }

  .globe-status {
    grid-column: auto;
  }

  .globe-location-card {
    left: 10px;
    right: 10px;
    bottom: 10px;
    max-width: none;
    padding: 10px 12px;
  }

  .globe-location-card span {
    display: none;
  }

  .globe-zoom-controls {
    top: 8px;
    right: 8px;
  }

  .globe-zoom-controls button {
    min-width: 32px;
    height: 32px;
  }

  .globe-zoom-controls .globe-zoom-home {
    padding: 0 9px;
    font-size: .58rem;
  }

  #world-need .world-stats.humanitarian-carousel > * {
    min-height: 520px;
  }

  #world-need .world-stats.humanitarian-carousel > article:not(.humanitarian-teaser) {
    align-content: center;
    grid-template-columns: 1fr;
    padding: 30px 24px;
  }

  #world-need .humanitarian-carousel .wars-box,
  #world-need .humanitarian-carousel .sources-box {
    padding: 28px 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .globe-world,
  .globe-image,
  .globe-links line,
  .globe-marker,
  .globe-marker::before,
  .globe-matrix,
  .globe-matrix-node {
    animation: none !important;
    transition: none !important;
  }
}
