.drawer.pokepedia-drawer {
  width: min(1120px, 100%);
}
.pokepedia-drawer .drawer-panel {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.pokepedia-drawer .drawer-head {
  flex-shrink: 0;
}
.pokepedia-panel {
  display: flex;
  flex: 1;
  min-height: 0;
  flex-direction: column;
}
.pokepedia-panel-tools {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 12px;
  padding: 10px 0;
  font: 400 12px/1.4 var(--ui-font-body);
  color: var(--ui-color-text-muted);
}
.pokepedia-panel-tools a {
  color: var(--ui-color-primary);
}
#pokepedia-frame {
  flex: 1;
  min-width: 0;
  min-height: 0;
  width: 100%;
  border: 1px solid var(--ui-color-border);
  background: var(--ui-color-background);
}
@media (max-width: 1200px) {
  .topbar #nav-pokepedia > span:last-child {
    display: none;
  }
}
@media (max-width: 380px) {
  .topbar #nav-pokepedia {
    display: none;
  }
  .pokepedia-panel-tools > span {
    display: none;
  }
}
