body:has(#play:not([hidden])) {
  isolation: isolate;
}

body:has(#play:not([hidden]))::before {
  display: block;
  background: linear-gradient(#06131d29, #06131d72), var(--scene) center / cover;
  pointer-events: none;
}

#game .hero {
  aspect-ratio: auto;
  min-height: clamp(180px, 26vh, 260px);
  background: none;
  padding: 10px 2px;
}

#game .hero-content {
  width: 100%;
}

#game .hero h1,
#game .hero h2 {
  color: #fff;
  text-shadow: 0 2px 5px #031018, 0 0 12px #031018;
}

#game .stat,
#game article,
#game .policy-choice,
#game .hero .eta17 {
  background: #07192351;
  border: 1px solid #bceeff80;
  box-shadow: inset 0 0 9px #bceeff17, 0 2px 8px #02101742;
  text-shadow: 0 1px 3px #001018, 0 0 5px #001018, 0 0 9px #001018;
}

#game .stat {
  padding: 8px;
}

#game .stat small,
#game .stat b,
#game .hero .eta17 small,
#game article small,
#game .detail-hint {
  color: #fff;
}

#game .hero .eta17 {
  margin: 8px 0 0;
  box-sizing: border-box;
}

#game .hero .eta17 strong,
#game .moon-icon {
  color: #ffe29a;
  text-shadow: 0 1px 4px #241503, 0 0 12px #ffbb4a90;
}

#game .moon-icon {
  font-size: 20px;
  line-height: 1;
  vertical-align: middle;
}

#game .delta16 {
  color: #edf6fa;
}

#game .popnews17 {
  background: #04141d6e;
}

#game .war-alert {
  background: #481f22b5;
  border-color: #ffae9a;
}

.choice-effect {
  display: block;
  width: fit-content;
  margin-top: 4px;
  padding: 2px 7px;
  border: 1px solid rgba(189, 223, 255, .36);
  border-radius: 6px;
  background: rgba(12, 27, 44, .66);
  color: #ceebff;
  font-size: .75rem;
  font-weight: 500;
  line-height: 1.35;
}
