.hdp-wiki-portal {
  position: relative;
  z-index: 1000;
  top: 0;
  min-height: 62px;
  padding: 0 18px;
  color: #fff;
  background: #5b0732;
  border-bottom: 2px solid #ffd75e;
  box-shadow: 0 12px 35px rgba(91, 7, 50, .2);
  font-family: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
}
.hdp-wiki-brand { float: left; display: block; height: 62px; color: #fff; line-height: 62px; text-decoration: none; }
.hdp-wiki-mark { display: inline-block; width: 38px; height: 38px; margin: 12px 9px 0 0; color: #5b0732; line-height: 38px; text-align: center; vertical-align: top; background: #ffd75e; border-radius: 10px; font-weight: 950; }
.hdp-wiki-name { font-size: 14px; font-weight: 850; white-space: nowrap; }
.hdp-wiki-links { float: right; display: block; height: 62px; margin-left: auto; overflow: hidden; white-space: nowrap; }
.hdp-wiki-links a { display: inline-block; height: 62px; padding: 0 11px; color: #fff; font-size: 12px; font-weight: 750; line-height: 62px; text-decoration: none; white-space: nowrap; }
.hdp-wiki-links a:hover, .hdp-wiki-links .is-active { color: #fff4a4; background: #771044; }
.hdp-wiki-portal::after { content: ""; display: block; clear: both; }
.hdp-nav-compact { display: none; }
.hdp-portal-ready .vector-header-container, .hdp-portal-ready .vector-sticky-header { top: 62px !important; }
.mw-logo-icon { display: none !important; }

@supports (display: flex) {
  .hdp-wiki-portal { position: sticky; display: flex; align-items: center; gap: 22px; padding: 0 max(18px, calc((100vw - 1180px) / 2)); border-bottom-width: 1px; background: rgba(91, 7, 50, .96); }
  .hdp-wiki-brand { float: none; display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; height: auto; line-height: normal; }
  .hdp-wiki-mark { display: inline-grid; place-items: center; margin: 0; line-height: normal; background: linear-gradient(135deg, #fff4a4, #ff8cbd 58%, #e92d94); }
  .hdp-wiki-links { float: none; min-width: 0; height: auto; display: flex; align-items: stretch; margin-left: auto; overflow-x: auto; scrollbar-width: none; }
  .hdp-wiki-links a { position: relative; min-height: 62px; height: auto; display: grid; place-items: center; line-height: normal; }
  .hdp-wiki-links .is-active::after { content: ""; position: absolute; right: 11px; bottom: 0; left: 11px; height: 2px; background: linear-gradient(90deg, #fff3a1, #ffd75e); }
}

@media (max-width: 760px) {
  .hdp-wiki-portal { padding: 0 6px; }
  .hdp-wiki-name { display: none; }
  .hdp-wiki-mark { width: 34px; height: 34px; font-size: 12px; }
  .hdp-wiki-links a { padding: 0 6px; font-size: 10px; }
  .hdp-nav-wide { display: none; }
  .hdp-nav-compact { display: inline; }
}
