.godzilla-world {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.godzilla-foreground { z-index: 1; }
.titan-ground-contact { filter: blur(9px); }

.titan-sprite {
  filter: brightness(.87) saturate(.74) drop-shadow(0 2px 4px #071109);
}

.titan-angered .titan-sprite {
  filter: brightness(.94) saturate(.83) drop-shadow(0 0 5px #9ce75255) drop-shadow(0 3px 5px #071109);
}

.titan-hit .titan-sprite {
  filter: brightness(1.2) saturate(.64) drop-shadow(0 0 6px #d6ff8688);
}

.titan-beam-halo { opacity: .76; }
.titan-charge-ring {
  transform-origin: center;
  transform-box: fill-box;
  animation: titan-charge-spin 2.7s linear infinite;
}

.godzilla-status {
  --titan-accent: #bded7c;
  position: absolute;
  z-index: 4;
  top: clamp(15px, 4dvh, 32px);
  left: 50%;
  width: min(275px, 44vw);
  padding: 8px 11px 9px;
  transform: translateX(-50%);
  border: 1px solid #a8d88b53;
  border-radius: 8px;
  background: linear-gradient(165deg, #172617e8, #080f0adf);
  box-shadow: 0 5px 14px #0208038f, inset 0 1px #c5ff7e17;
  color: #e4f6d1;
  pointer-events: none;
}

.godzilla-status[data-phase="angered"] {
  --titan-accent: #ffb370;
  border-color: #ff984188;
  box-shadow: 0 5px 14px #0208038f, inset 0 1px #ffb16c2e;
}

.godzilla-status[data-tone="danger"] {
  --titan-accent: #f9cf76;
  border-color: #f9cf7691;
}

.godzilla-status[data-tone="success"] { --titan-accent: #ccff8c; }

.godzilla-status-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.godzilla-identity {
  display: flex;
  align-items: center;
  gap: 5px;
  flex: none;
}

.godzilla-anger {
  padding: 2px 3px;
  border: 1px solid #ff9d5b70;
  border-radius: 3px;
  color: #ffd2a8;
  background: #7e2f244b;
  font: 900 7px/1 var(--mono);
  letter-spacing: .07em;
}

.godzilla-status strong {
  color: var(--titan-accent);
  font: 900 11px/1 var(--mono);
  letter-spacing: .09em;
}

.godzilla-warning {
  color: #eff9e3;
  font: 700 8px/1.2 var(--mono);
  text-align: right;
}

.godzilla-health {
  height: 5px;
  overflow: hidden;
  border: 1px solid #badc8645;
  border-radius: 2px;
  background: #070d08;
}

.godzilla-health span {
  display: block;
  height: 100%;
  background: linear-gradient(#efffbd, var(--titan-accent) 66%, #4e7836);
  transform: scaleX(var(--titan-health, 1));
  transform-origin: left;
  transition: transform 160ms ease-out;
}

@keyframes titan-charge-spin { to { transform: rotate(360deg); } }

@media (max-width: 650px) and (orientation: portrait) {
  .godzilla-status { top: 65px; width: min(218px, 63vw); }
  .godzilla-status-line { gap: 5px; }
  .godzilla-warning { font-size: 7px; }
}

@media (max-width: 480px) and (orientation: portrait) {
  .godzilla-status { left: var(--edge); width: min(218px, calc(100% - 127px - 2 * var(--edge))); transform: none; }
}

@media (max-width: 360px) and (orientation: portrait) {
  .godzilla-identity { flex-direction: column; align-items: flex-start; gap: 3px; }
}

@media (prefers-reduced-motion: reduce) {
  .godzilla-health span { transition: none; }
  .titan-charge-ring { animation: none; }
}
