/* Concept 09: angled navigation, scoped to the Fade header. */
.fade-oblique-header.fade-ecosystem-bar {
  width: 100%;
  min-width: 0;
  height: 62px;
  min-height: 62px;
  max-height: 62px;
  gap: clamp(12px, 2vw, 28px);
  background: linear-gradient(110deg, rgba(var(--accent-rgb), .13), transparent 52%), var(--panel);
  border-color: var(--line);
  font-family: var(--font-ui);
}

.fade-oblique-header .fade-ecosystem-brand,
.fade-oblique-header .utility-account {
  flex: 0 0 auto;
}

.fade-oblique-header .fade-oblique-platforms {
  min-width: 0;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 5px 7px 9px;
  overflow-x: auto;
  scrollbar-width: none;
}

.fade-oblique-header .fade-oblique-platforms::-webkit-scrollbar { display: none; }

.fade-oblique-header .fade-oblique-platforms a {
  flex: 0 0 auto;
  min-height: 37px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  transform: skewX(-13deg);
  background: rgba(var(--accent-rgb), .16);
  color: var(--text);
  font-family: var(--font-ui);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background .18s ease, box-shadow .18s ease;
}

.fade-oblique-header .fade-oblique-platforms a span {
  display: block;
  transform: skewX(13deg);
}

.fade-oblique-header .fade-oblique-platforms a:hover,
.fade-oblique-header .fade-oblique-platforms a:focus-visible {
  background: rgba(var(--accent-rgb), .32);
}

.fade-oblique-header .fade-oblique-platforms a[aria-current="page"] {
  background: var(--orange);
  color: var(--accent-contrast);
  box-shadow: 4px 4px 0 rgba(var(--accent-rgb), .32);
}

.fade-oblique-header .fade-oblique-platforms a:focus-visible {
  outline: 2px solid var(--orange) !important;
  outline-offset: 3px;
}

.fade-oblique-header .fade-ecosystem-account {
  border-bottom: 0;
  padding: 12px 14px;
  transform: skewX(-13deg);
  background: rgba(var(--accent-rgb), .12);
}

.fade-oblique-header .fade-ecosystem-account > span {
  display: block;
  transform: skewX(13deg);
}

.fade-oblique-header .fade-ecosystem-account:hover,
.fade-oblique-header .fade-ecosystem-account:focus-visible {
  border-bottom: 0;
  background: rgba(var(--accent-rgb), .25);
}

.fade-oblique-header .account-trigger {
  height: 38px !important;
  padding: 0 13px !important;
  background: rgba(var(--accent-rgb), .12) !important;
  border: 0 !important;
  transform: skewX(-13deg) !important;
}

.fade-oblique-header .account-trigger > span {
  transform: skewX(13deg);
}

.fade-oblique-header .account-trigger:hover,
.fade-oblique-header .account-trigger:focus-visible,
.fade-oblique-header .account-trigger[aria-expanded="true"] {
  background: rgba(var(--accent-rgb), .25) !important;
  border: 0 !important;
  transform: skewX(-13deg) !important;
}

.fade-oblique-header .account-trigger:focus-visible {
  outline: 2px solid var(--orange) !important;
  outline-offset: 3px;
}

@media (max-width: 1000px) {
  .fade-oblique-header .fade-ecosystem-brand span { display: none; }
  .fade-oblique-header .fade-oblique-platforms { justify-content: flex-start; }
}

@media (max-width: 700px) {
  .fade-oblique-header.fade-ecosystem-bar { gap: 8px; padding-inline: 12px; }
  .fade-oblique-header .fade-oblique-platforms { gap: 5px; padding-inline: 4px; }
  .fade-oblique-header .fade-oblique-platforms a { min-height: 34px; padding-inline: 11px; font-size: .60rem; }
  .fade-oblique-header .account-trigger--user { width: 46px !important; max-width: 46px !important; padding: 0 !important; }
}

/* Compact single-row mobile navigation. */
@media (max-width: 700px) {
  .fade-oblique-header.fade-ecosystem-bar { gap: clamp(3px, 1vw, 6px); padding-inline: clamp(6px, 1.5vw, 10px); }
  .fade-oblique-header .fade-ecosystem-brand { flex: 0 0 auto; }
  .fade-oblique-header .fade-ecosystem-brand img { width: clamp(24px, 6vw, 30px); height: clamp(24px, 6vw, 30px); }
  .fade-oblique-header .fade-oblique-platforms {
    flex: 1 1 auto;
    min-width: 0;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: clamp(1px, .4vw, 4px);
    padding: 0;
    overflow: visible;
  }
  .fade-oblique-header .fade-oblique-platforms a {
    box-sizing: border-box;
    flex: 1 1 auto;
    min-width: 0;
    min-height: clamp(28px, 5vw, 34px);
    padding-inline: clamp(1px, .5vw, 4px);
    font-size: clamp(6px, 1.7vw, 10px);
    letter-spacing: clamp(0px, .07vw, .06em);
  }
  .fade-oblique-header .utility-account { align-self: center; align-items: center; }
  .fade-oblique-header .account-trigger--user {
    width: clamp(28px, 6vw, 38px) !important;
    max-width: clamp(28px, 6vw, 38px) !important;
    height: 34px !important;
    min-height: 34px !important;
    justify-content: center !important;
    padding: 0 !important;
  }
  .fade-oblique-header .account-menu-icon { transform: scale(.8); }
}
