/* ELIE v5.1.29 — Update header alignment and unified boss archive detail. */
.update-center-emblem,
.update-center-logo{display:none!important}
.update-center-header{
  grid-template-columns:minmax(0,1fr) auto!important;
  gap:22px!important;
  padding-left:0!important;
}
.update-center-heading{
  min-width:0!important;
  grid-column:1!important;
  grid-row:1!important;
  margin:0!important;
  text-align:left!important;
  justify-self:stretch!important;
}
.update-center-heading small,
.update-center-heading h2,
.update-center-heading p{text-align:left!important}
.update-center-header>strong{
  grid-column:2!important;
  grid-row:1!important;
}
html[dir="rtl"] .update-center-header{
  grid-template-columns:minmax(0,1fr) auto!important;
  padding-left:0!important;
  padding-right:0!important;
}
html[dir="rtl"] .update-center-heading{
  grid-column:1!important;
  text-align:right!important;
}
html[dir="rtl"] .update-center-heading small,
html[dir="rtl"] .update-center-heading h2,
html[dir="rtl"] .update-center-heading p{text-align:right!important}
html[dir="rtl"] .update-center-header>strong{
  grid-column:2!important;
  align-items:flex-end!important;
}

/* Boss details now deliberately inherit the exact Species detail structure. */
.species-detail.archive-detail-overlay .detail-description-zone .description{
  white-space:pre-line!important;
}

@media (orientation:landscape) and (pointer:coarse) and (max-width:899px),
       (orientation:landscape) and (pointer:coarse) and (max-height:519px){
  .update-center-header{
    grid-template-columns:minmax(0,1fr) auto!important;
    gap:10px!important;
    padding:0 40px 7px 0!important;
  }
  .update-center-heading{
    min-width:0!important;
    margin:0!important;
    text-align:left!important;
  }
  .update-center-heading small,
  .update-center-heading h2,
  .update-center-heading p{text-align:left!important}
  html[dir="rtl"] .update-center-header{padding:0 0 7px 40px!important}
  html[dir="rtl"] .update-center-heading,
  html[dir="rtl"] .update-center-heading small,
  html[dir="rtl"] .update-center-heading h2,
  html[dir="rtl"] .update-center-heading p{text-align:right!important}
}
