.world-live-page {
  min-height: 100vh;
  background:
    radial-gradient(ellipse at 50% -25%, rgba(32, 100, 148, 0.2), transparent 60%),
    #050914;
  color: #eaf2ff;
}

.world-live-header {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 66px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 max(1.4rem, calc((100vw - 1440px) / 2));
  border-bottom: 1px solid rgba(157, 189, 231, 0.12);
  background: rgba(5, 9, 20, 0.9);
}

.world-live-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: #eaf4ff;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-decoration: none;
  white-space: nowrap;
}

.world-live-brand > span {
  display: grid;
  width: 1.8rem;
  height: 1.8rem;
  place-items: center;
  border: 1px solid #68c9f4;
  border-radius: 50%;
  color: #9be3ff;
  font-family: Georgia, serif;
  font-size: 1rem;
  font-weight: 400;
}

.world-live-header nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(0.65rem, 2vw, 1.6rem);
}

.world-live-header nav a {
  color: #91a2bb;
  font-size: 0.72rem;
  text-decoration: none;
}

.world-live-header nav a:hover,
.world-live-header nav a[aria-current="page"] {
  color: #9de4ff;
}

.world-live-header-status,
.world-live-eyebrow,
.world-live-view-top,
.world-live-card-label {
  font-size: 0.59rem;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.world-live-header-status {
  display: inline-flex;
  align-items: center;
  gap: 0.48rem;
  color: #91a9c4;
  white-space: nowrap;
}

.world-live-header-status i,
.world-live-eyebrow span,
.world-live-view-top i {
  width: 0.42rem;
  height: 0.42rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #73d7ff;
  box-shadow: 0 0 12px rgba(80, 190, 245, 0.65);
}

.world-live-shell {
  width: min(1440px, calc(100% - 2.8rem));
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 3.4rem) 0 2rem;
}

.world-live-intro {
  margin-bottom: 1.3rem;
}

.world-live-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.7rem;
  color: #83cff2;
}

.world-live-intro h1 {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 4rem);
  letter-spacing: -0.065em;
  line-height: 1.05;
}

.world-live-intro h1 em {
  color: #82d7ff;
  font-style: normal;
}

.world-live-intro > p:last-child {
  margin: 0.7rem 0 0;
  color: #9aabc1;
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
}

.world-live-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 320px);
  align-items: start;
  gap: 1rem;
}

.world-live-globe-stage {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.48;
  min-height: 390px;
  background:
    radial-gradient(ellipse at 50% 49%, rgba(28, 99, 153, 0.2), transparent 45%),
    radial-gradient(ellipse at 50% 55%, rgba(5, 15, 30, 0.3), transparent 67%),
    #020711;
  touch-action: none;
}

.world-live-globe-stage::before,
.world-live-globe-stage::after {
  position: absolute;
  inset: 15% 16%;
  border: 1px solid rgba(117, 194, 240, 0.07);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.world-live-globe-stage::after {
  inset: 4% 31%;
  transform: rotate(28deg);
}

.world-live-globe-stage canvas {
  display: block;
  width: 100%;
  height: 100%;
  cursor: grab;
  outline: none;
  touch-action: none;
}

.world-live-globe-stage canvas:active {
  cursor: grabbing;
}

.world-live-globe-stage canvas:focus-visible {
  outline: 2px solid #70d5ff;
  outline-offset: -3px;
}

.world-live-globe-loader,
.world-live-globe-error {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  padding: 1rem;
  background: rgba(2, 7, 17, 0.86);
  color: #b8cde3;
  font-size: 0.8rem;
  text-align: center;
}

.world-live-globe-loader[hidden],
.world-live-globe-error[hidden] {
  display: none;
}

.world-live-globe-error strong {
  color: #eef7ff;
}

.world-live-globe-error span {
  max-width: 24rem;
  color: #91a4bd;
  line-height: 1.55;
}

.world-live-spinner {
  width: 1.6rem;
  height: 1.6rem;
  border: 2px solid rgba(115, 215, 255, 0.2);
  border-top-color: #73d7ff;
  border-radius: 50%;
  animation: world-live-spin 0.8s linear infinite;
}

@keyframes world-live-spin {
  to { transform: rotate(360deg); }
}

.world-live-globe-hint {
  position: absolute;
  z-index: 1;
  top: 0.85rem;
  left: 50%;
  width: max-content;
  max-width: calc(100% - 1rem);
  padding: 0.45rem 0.65rem;
  transform: translateX(-50%);
  border: 1px solid rgba(130, 180, 222, 0.12);
  border-radius: 5px;
  background: rgba(4, 11, 22, 0.66);
  color: #9bafc7;
  font-size: 0.51rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-align: center;
  pointer-events: none;
}

.world-live-globe-hint span {
  color: #63c4f2;
}

.world-live-globe-controls {
  position: absolute;
  z-index: 1;
  right: 0.85rem;
  bottom: 0.8rem;
  display: flex;
  gap: 0.4rem;
}

.world-live-globe-controls button {
  min-width: 2rem;
  min-height: 2rem;
  padding: 0.35rem 0.55rem;
  border: 1px solid rgba(130, 180, 222, 0.24);
  border-radius: 6px;
  background: rgba(4, 12, 24, 0.82);
  color: #c2d9ee;
  font: inherit;
  font-size: 0.68rem;
  cursor: pointer;
  backdrop-filter: blur(8px);
}

.world-live-globe-controls button:hover {
  border-color: rgba(104, 201, 244, 0.6);
  color: #bdeaff;
}

.world-live-globe-controls button[aria-pressed="false"] {
  color: #87a0ba;
}

.world-live-zoom-slider {
  position: absolute;
  z-index: 1;
  right: 0.85rem;
  bottom: 3.35rem;
  width: min(9rem, 34%);
  accent-color: #70d5ff;
}

.world-live-globe-footer span:last-child {
  color: #7189a4;
  text-align: right;
}

.world-live-satellite {
  margin-top: 1rem;
}

.world-live-view,
.world-live-card,
.world-live-explore {
  overflow: hidden;
  border: 1px solid rgba(130, 180, 222, 0.16);
  border-radius: 12px;
  background: rgba(9, 18, 32, 0.86);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.22);
}

.world-live-view-top {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 1rem;
  color: #9eafc4;
}

.world-live-view-top > span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.world-live-view-top > span:last-child {
  color: #7189a4;
  font-size: 0.52rem;
}

.world-live-view-top i {
  display: inline-block;
}

.world-live-image-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background:
    radial-gradient(ellipse at center, rgba(17, 53, 87, 0.34), transparent 65%),
    #01040a;
}

.world-live-earth-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 240ms ease;
}

.world-live-earth-image[hidden],
.world-live-image-error[hidden] {
  display: none;
}

.world-live-image-loading,
.world-live-image-error {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  color: #afc4dd;
  font-size: 0.82rem;
  text-align: center;
}

.world-live-image-error {
  flex-direction: column;
  gap: 0.5rem;
}

.world-live-image-error strong {
  color: #ecf4ff;
}

.world-live-image-error span {
  max-width: 26rem;
  color: #91a4bd;
  line-height: 1.55;
}

.world-live-view-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.8rem 1rem;
  color: #91a4bd;
  font-size: 0.72rem;
}

.world-live-view-footer a {
  color: #91ddff;
  font-weight: 700;
  text-decoration: none;
}

.world-live-image-controls {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 0.8rem;
  border-top: 1px solid rgba(130, 180, 222, 0.12);
}

.world-live-image-controls button {
  min-height: 34px;
  padding: 0.45rem 0.65rem;
  border: 1px solid rgba(130, 180, 222, 0.2);
  border-radius: 6px;
  background: rgba(18, 35, 57, 0.8);
  color: #b7cbe2;
  font: inherit;
  font-size: 0.68rem;
  cursor: pointer;
}

.world-live-image-controls button:hover:not(:disabled) {
  border-color: rgba(104, 201, 244, 0.52);
  color: #c9efff;
}

.world-live-image-controls button:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}

.world-live-image-controls > span {
  min-width: 3.6rem;
  color: #8296af;
  font-size: 0.65rem;
  text-align: center;
}

.world-live-image-controls #earth-image-refresh {
  margin-left: auto;
  border-color: rgba(104, 201, 244, 0.34);
  color: #9bdfff;
}

.world-live-info {
  display: grid;
  gap: 0.8rem;
}

.world-live-card {
  padding: 1.1rem;
}

.world-live-card-label {
  margin: 0 0 0.65rem;
  color: #83cff2;
}

.world-live-card h2 {
  margin: 0;
  font-size: 1.08rem;
  letter-spacing: -0.03em;
}

.world-live-card > p:not(.world-live-card-label) {
  margin: 0.65rem 0 0;
  color: #99abc1;
  font-size: 0.78rem;
  line-height: 1.65;
}

.world-live-button {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  padding: 0.65rem 0.8rem;
  border: 1px solid rgba(104, 201, 244, 0.4);
  border-radius: 7px;
  background: rgba(35, 117, 161, 0.16);
  color: #b5eaff;
  font-size: 0.76rem;
  font-weight: 700;
  text-decoration: none;
}

.world-live-button:hover {
  background: rgba(35, 117, 161, 0.28);
}

.world-live-note {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  color: #8fcff0;
}

.world-live-note > span {
  padding-top: 0.1rem;
}

.world-live-card.world-live-note > p {
  margin: 0;
  font-size: 0.72rem;
}

.world-live-explore {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  color: #dcecff;
  text-decoration: none;
}

.world-live-explore strong,
.world-live-explore small {
  display: block;
}

.world-live-explore strong {
  font-size: 0.76rem;
}

.world-live-explore small {
  margin-top: 0.3rem;
  color: #91a4bd;
  font-size: 0.65rem;
}

.world-live-explore > span:last-child {
  color: #91ddff;
}

.world-live-disclaimer {
  margin: 1rem 0 0;
  color: #71839a;
  font-size: 0.67rem;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .world-live-header {
    flex-wrap: wrap;
    padding: 0.75rem 1rem;
  }

  .world-live-header nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 0.2rem;
  }

  .world-live-header nav a {
    flex: 0 0 auto;
  }

  .world-live-layout {
    grid-template-columns: 1fr;
  }

  .world-live-globe-stage {
    aspect-ratio: 1.5;
    min-height: 340px;
  }

  .world-live-info {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .world-live-info > :first-child {
    grid-row: span 2;
  }
}

@media (max-width: 560px) {
  .world-live-shell {
    width: calc(100% - 1.2rem);
    padding-top: 1.35rem;
  }

  .world-live-view-top {
    min-height: 40px;
    padding: 0.6rem 0.7rem;
    font-size: 0.48rem;
    letter-spacing: 0.08em;
  }

  .world-live-view-top > span:last-child {
    font-size: 0.43rem;
    text-align: right;
  }

  .world-live-globe-stage {
    aspect-ratio: 1;
    min-height: 300px;
  }

  .world-live-globe-hint {
    top: 0.6rem;
    font-size: 0.43rem;
    letter-spacing: 0.07em;
  }

  .world-live-globe-controls {
    right: 0.55rem;
    bottom: 0.55rem;
    gap: 0.3rem;
  }

  .world-live-globe-controls button {
    min-width: 1.9rem;
    min-height: 1.9rem;
    padding: 0.3rem 0.42rem;
    font-size: 0.59rem;
  }

  .world-live-zoom-slider {
    right: 0.6rem;
    bottom: 2.8rem;
  }

  .world-live-globe-footer {
    font-size: 0.62rem;
  }

  .world-live-view-footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 0.7rem;
    font-size: 0.67rem;
  }

  .world-live-image-controls {
    flex-wrap: wrap;
    gap: 0.4rem;
    padding: 0.55rem;
  }

  .world-live-image-controls button {
    font-size: 0.62rem;
  }

  .world-live-image-controls #earth-image-refresh {
    flex-basis: 100%;
    margin-left: 0;
  }

  .world-live-info {
    grid-template-columns: 1fr;
  }

  .world-live-info > :first-child {
    grid-row: auto;
  }
}
