/* Compact dark lacquer frame; the formation remains its own animation canvas. */
#game-root .battle-view {
  display: flex;
  flex-direction: column;
  background: #302923;
  padding: 0;
}
#game-root .battle-scene-heading,
#game-root .battle-view > .battle-view__controls {
  box-sizing: border-box;
  width: 100%;
  flex-shrink: 0;
  background: linear-gradient(110deg, #302923, #3b3026, #302923);
  border: 1px solid #a98a51;
  box-shadow: inset 0 0 0 3px #302923, inset 0 0 0 4px #77603c;
  color: #f5e8ca;
}
#game-root .battle-scene-heading {
  height: 70px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 3px;
  padding: 7px 16px;
  text-align: center;
}
#game-root [data-role="battle-scene-title"] {
  color: #efd5a0;
  font-size: 24px;
  line-height: 1.2;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#game-root [data-role="battle-scene-progress"] { color: #f5e8ca; font-size: 15px; line-height: 1.3; }
#game-root .battle-view .battle-view__stage {
  width: 100%;
  max-width: none !important;
  height: auto;
  min-height: 0;
  max-height: none;
  aspect-ratio: auto !important;
  flex: 1 1 0;
  box-shadow: none;
}
#game-root .battle-view > .battle-view__controls {
  position: static;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 16px;
}
#game-root .battle-view > .battle-view__controls button {
  min-height: 38px;
  min-width: 70px;
  border: 1px solid #af8c4b;
  border-radius: 5px;
  background: #493924;
  color: #fff0ce;
  font-size: 16px;
  text-shadow: none;
}
#game-root .battle-view > .battle-view__controls button:disabled { opacity: .65; }
#game-root .battle-view > .battle-view__controls .battle-round-control {
  margin-right: auto;
  border: 0;
  background: transparent;
  color: #f5e8ca;
  font-size: 16px;
  padding: 0;
  text-shadow: none;
}
