body .xn-shared-head {
  --xn-head-inset: clamp(12px, 3vw, 40px);
  position: relative;
  z-index: 2;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid #e6e2e4;
  background: #fff;
  color: #24222a;
  font: 400 14px/1.25 system-ui, sans-serif;
  text-align: left;
  isolation: isolate;
}

body .xn-shared-head * { box-sizing: border-box; }

body .xn-shared-edition {
  border-bottom: 1px solid #eee9ec;
  background: #faf8f9;
}

body .xn-shared-edition-inner,
body .xn-shared-head-inner {
  width: min(calc(100% - 2 * var(--xn-head-inset)), 1320px);
  margin-inline: auto;
}

body .xn-shared-edition-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 28px;
  font-size: 10px;
  line-height: 1;
}

body .xn-shared-edition-inner strong {
  color: #35303a;
  letter-spacing: .07em;
  text-transform: uppercase;
}

body .xn-shared-edition-inner time { color: #655c67; }

body .xn-shared-head-inner {
  display: grid;
  grid-template-columns: minmax(140px, 196px) minmax(0, 554px);
  justify-content: space-between;
  align-items: center;
  gap: 22px;
  height: 72px;
}

body .xn-shared-head a {
  box-sizing: border-box;
  margin: 0;
  font-style: normal;
  text-decoration: none;
}

body .xn-shared-logo {
  display: flex;
  align-items: center;
  justify-self: start;
  width: 180px;
  height: 54px;
  max-width: 100%;
  padding-inline: 8px;
  border-radius: 10px;
  background: #282930;
}

body .xn-shared-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}

body .xn-shared-nav {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  align-items: stretch;
  gap: 4px;
  width: 100%;
  margin: 0;
  padding: 0;
}

body .xn-shared-nav > a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 0;
  height: 46px;
  padding: 0 3px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: transparent;
  color: #3e3945;
  font: 700 13px/1 system-ui, sans-serif;
  letter-spacing: normal;
  text-align: center;
  white-space: nowrap;
}

body .xn-shared-nav > a[aria-current="page"],
body .xn-shared-nav > a:hover {
  border-color: #f0cdd8;
  background: #fff0f5;
  color: #a00d3b;
}

body .xn-shared-nav svg {
  display: block;
  flex: none;
  width: 17px;
  height: 17px;
}

body .xn-shared-head a:focus-visible { outline: 2px solid #a00d3b; outline-offset: 2px; }

body.omni-news-ui .header.xn-page-tools > .header-row {
  display: flex !important;
  justify-content: flex-end !important;
  align-items: center;
  gap: 0 !important;
  min-height: 0 !important;
  height: auto !important;
  padding-block: 5px !important;
}

@media (max-width: 820px) {
  body .xn-shared-head-inner {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: 40px 44px;
    gap: 4px;
    height: auto;
    padding-block: 4px 6px;
  }

  body .xn-shared-logo { width: 145px; height: 40px; }

  body .xn-shared-nav { gap: 2px; }

  body .xn-shared-nav > a {
    flex-direction: column;
    gap: 4px;
    height: 44px;
    font-size: 10px;
  }

  body .xn-shared-nav svg { width: 15px; height: 15px; }
}

body.xn-launch-hub .xn-shared-head + #hubApp {
  margin-top: 0 !important;
}
