/* Bannerbruch 3.6.3 – Spielinfos nach dem eigenen Spielfeld,
   Aktionen auf großen Monitoren neben das eigene Spielfeld, Bot-Auswahl. */
.solo-panel #botDifficulty{
  display:block;width:100%;min-height:46px;margin:8px 0 17px;padding:9px 13px;
  border-radius:10px;border:1px solid #be985a;color:#f9e6b9;
  background:#162b37;font-size:15px;appearance:auto;cursor:pointer;
}
.solo-panel #botDifficulty:focus-visible{outline:3px solid #ffda91;outline-offset:2px}
/* Das Feld kommt zuerst; Avatar und Ressourcen bleiben danach sichtbar.
   Gegnerische Informationen bleiben wie bisher oberhalb seiner Felder. */
.bottom-area .player-footer{
  margin:13px 0 0;padding:12px 10px 6px;
  border-top:1px solid color-mix(in srgb,var(--realm),#d6b572 45%);
  border-bottom:0;border-radius:8px;
  background:linear-gradient(135deg,#0c1a20a3,#2c3134c9);
  box-shadow:inset 0 1px #ffebad16;
}
.bottom-area .player-footer .commander-identity{min-width:0}
.bottom-area .player-footer .mini-stats{justify-content:flex-end}
/* Breite Bildschirme: Die Chronik füllt ungefähr die Höhe des
   gegnerischen Feldes. Die Befehle liegen dadurch beim eigenen Feld. */
@media(min-width:1001px){
  .gamegrid>.sidebar{position:static;top:auto;display:flex;flex-direction:column;align-self:stretch}
  .gamegrid>.sidebar>.history-group{order:-1;margin-bottom:18px}
  .gamegrid>.sidebar>.history-group h3{margin:0 0 12px;border-top:0;padding:0 0 10px;border-bottom:1px solid #c8a36763}
  .gamegrid>.sidebar>.history-group .log{
    height:clamp(340px,47vh,470px);max-height:clamp(340px,47vh,470px);
    overflow-y:auto;overscroll-behavior:contain;
  }
  .gamegrid>.sidebar>.sidebar-kicker{padding-top:8px}
  .gamegrid>.sidebar>.controls{grid-template-columns:repeat(2,minmax(0,1fr))}
  .gamegrid>.sidebar>.controls button{min-height:50px}
}
@media(max-width:1000px){
  .gamegrid>.sidebar{display:flex;flex-direction:column}
  .gamegrid>.sidebar>.history-group{order:10;margin-top:16px}
  .gamegrid>.sidebar>.history-group .log{min-height:70px;max-height:240px;overflow-y:auto}
}
@media(max-width:650px){
  .bottom-area .player-footer{display:flex;flex-direction:column;align-items:stretch;gap:10px;padding:11px 7px 8px}
  .bottom-area .player-footer .commander-identity{width:100%}
  .bottom-area .player-footer .mini-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));width:100%;gap:4px}
  .bottom-area .player-footer .mini-stats span{min-width:0;padding:7px 2px;white-space:nowrap}
  .bottom-area .player-footer .shield-status{grid-column:1/-1}
  .bottom-area .commander-portrait{width:54px;height:54px}
}
