/* Floating controls, a light drawer and brief field signals share the quiet battle surface. */
.shell.battle-mode #pause.needs-resume {
  color: #fff4cb;
  background: linear-gradient(145deg, #377daf, #194d77);
  border: 2px solid #ffe18c;
  box-shadow:
    0 3px 0 #8b6e35,
    0 0 14px #319ef080,
    inset 0 1px #c7efff80;
  animation: resume-beacon 2.2s ease-in-out infinite;
}
@keyframes resume-beacon {
  0%,
  100% {
    box-shadow:
      0 3px 0 #8b6e35,
      0 0 12px #319ef080,
      0 0 0 0 #eac76c40,
      inset 0 1px #c7efff80;
  }
  50% {
    box-shadow:
      0 3px 0 #8b6e35,
      0 0 24px #43b5ffb0,
      0 0 0 7px #eac76c00,
      inset 0 1px #c7efff80;
    border-color: #fff2bd;
  }
}
#battle-view .map-container,
#battle-view #arena {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.shell.battle-mode #battle-view .hand-dock {
  position: relative;
  padding: 10px 5px 4px;
  border-top: 4px solid #fffdf0;
  border-radius: 24px 24px 0 0;
  background: linear-gradient(#fffbecb8, #f4edda00 52px);
  box-shadow:
    0 -3px 10px #a38b6330,
    inset 0 1px #fff;
}
#battle-view #rally .hq-boost-label {
  border: 1px solid #fff4bf;
  border-radius: 10px;
  background: linear-gradient(#fff0a2, #edb938);
  color: #66481e;
  box-shadow:
    0 3px 0 #a17a32,
    inset 0 1px #fffbe0;
  padding: 5px 7px;
}
#battle-view #rally:disabled .hq-boost-label {
  background: linear-gradient(#e7dab2, #ccb77d);
  border-color: #f9edcc;
  color: #796944;
  box-shadow: 0 2px #a59671;
}
#battle-view #rally:disabled {
  opacity: 0.75;
}
#battle-view .periphery-status {
  display: none;
}
#battle-view #battle-toast {
  top: 18%;
  bottom: auto;
  left: 50%;
  transform: translate(-50%, 8px);
  max-width: min(85%, 430px);
  width: max-content;
  padding: 9px 20px;
  border: 0;
  border-radius: 0;
  background: linear-gradient(90deg, transparent, #fff9e8ef 15%, #fff9e8ef 85%, transparent);
  color: #294f5d;
  box-shadow: none;
  font:
    800 clamp(12px, 2vw, 15px) / 1.35 'Nunito',
    sans-serif;
  text-shadow: 0 1px #fff;
  transition:
    opacity 0.3s,
    transform 0.3s;
}
#battle-view #battle-toast.show {
  transform: translate(-50%, 0);
}
#battle-announcement {
  z-index: 20;
}
#battle-announcement .outpost-impact {
  gap: 8px;
  padding: 10px 28px;
  background: linear-gradient(90deg, transparent, #fff5dae8 22%, #fff5dae8 78%, transparent);
  border: 0;
  border-radius: 0;
  box-shadow: none;
  color: #42565b;
}
#battle-announcement .outpost-impact img {
  width: 34px;
  height: 34px;
  filter: drop-shadow(0 2px 2px #78684944);
}
#battle-announcement .outpost-impact strong {
  font-size: clamp(22px, 4vw, 32px);
  color: #1e6675;
  text-shadow: 0 2px #fff4cf;
}
#battle-announcement .outpost-impact small {
  font-size: 11px;
  font-weight: 700;
}
#battle-announcement .outpost-impact span {
  font-size: 10px;
  letter-spacing: 0.08em;
}
#battle-announcement .outpost-impact.is-loss strong {
  color: #a94c3c;
}
#battle-announcement .outpost-impact i {
  display: none;
}
#battle-view #enemy-intel {
  border: 0;
  border-left: 3px solid #ca8063;
  border-radius: 0 12px 12px 0;
  background: linear-gradient(90deg, #fff7e8f0, #fff7e8c0);
  box-shadow: 0 3px 10px #745b3520;
  color: #634639;
}
#battle-view #enemy-intel b {
  color: #734332;
  text-shadow: none;
}
#battle-view #enemy-intel em {
  color: #7e6554;
}
@media (prefers-reduced-motion: reduce) {
  .shell.battle-mode #pause.needs-resume {
    animation: none;
    box-shadow:
      0 3px #8b6e35,
      0 0 18px #43b5ff99;
  }
  #battle-view #battle-toast {
    transition: none;
  }
}
