
/* BLACKSAW2081 LAB v2.9.13
   Dokładne usunięcie zaznaczonych starych paneli WWW.
   Plansza i stała pełnoekranowa ramka HUD pozostają bez zmian. */

/* Lewy stary panel graczy + legenda */
.game-layout > aside.left-hud{
  display:none !important;
}

/* Prawy stary panel: tura / co teraz / misja / stos / pola / obiekty */
.game-layout > aside.panel{
  display:none !important;
}

/* Stary napis/logo w lewym górnym rogu */
.topbar > .brand{
  display:none !important;
}

/* Zostawiamy tylko przyciski po prawej w topbarze. */
.topbar{
  justify-content:flex-end !important;
}

/* Po usunięciu boków zachowujemy duży rozmiar planszy i centrujemy ją
   bez zmniejszania do minimalnej szerokości. */
.game-layout{
  display:grid !important;
  grid-template-columns:1fr !important;
  width:100% !important;
  max-width:none !important;
  justify-items:center !important;
  align-items:start !important;
}

.game-layout > .board-column{
  grid-column:1 !important;
  width:min(78vw, 1180px) !important;
  max-width:1180px !important;
  min-width:760px !important;
  justify-self:center !important;
}

.game-layout > .board-column .board-wrap{
  width:100% !important;
  max-width:none !important;
  margin-left:auto !important;
  margin-right:auto !important;
}

/* Nie ruszamy osi, planszy, strzałek ani pełnoekranowego HUD-u. */


/* v2.9.14 — przywrócenie dużej planszy po usunięciu bocznych paneli. */
body .game-layout{
  grid-template-columns:1fr !important;
  justify-items:center !important;
}

body .game-layout > .board-column{
  width:min(78vw, 1180px) !important;
  max-width:1180px !important;
  min-width:760px !important;
  margin:0 auto !important;
}

body .game-layout > .board-column .board-wrap{
  width:100% !important;
  max-width:none !important;
  margin:0 auto !important;
}

@media (max-width: 1100px){
  body .game-layout > .board-column{
    width:92vw !important;
    min-width:0 !important;
  }
}
