/* Shared by the four public navigation entries. Keep the hit areas stationary. */
html:root body nav[data-pa-mast][aria-label] {
  --pa-pill-inset: 2px;
  --pa-pill-fill: #d3dcff20;
  --pa-pill-edge: inset 0 0 0 1px #e6eaff18;
  box-shadow: inset 0 1px 0 #d5e0ff24, inset 0 0 0 1px #d8deff36, 0 5px 16px -9px #04060f75;
}
@media (min-width: 761px) {
  html:root body nav[data-pa-mast][aria-label] {
    --pa-size: clamp(.94px, .05vw, 1.24px);
    width: calc(466 * var(--pa-size));
    height: calc(50 * var(--pa-size));
    grid-template-columns: calc(116 * var(--pa-size)) repeat(3,minmax(0,1fr));
    gap: calc(5 * var(--pa-size));
    padding: calc(3 * var(--pa-size)) calc(15 * var(--pa-size));
    font-size: clamp(13px, calc(14 * var(--pa-size)), 16px);
  }
  html:root body nav[data-pa-mast][aria-label] [data-pa-brand] {
    padding-inline-start: calc(8 * var(--pa-size));
    gap: calc(7 * var(--pa-size));
  }
  html:root body nav[data-pa-mast][aria-label] .pa-emblem {width:calc(24 * var(--pa-size));height:calc(20 * var(--pa-size))}
  html:root body nav[data-pa-mast][aria-label] .pa-wordmark {width:calc(51 * var(--pa-size));height:calc(27 * var(--pa-size))}
}
@media (max-width: 760px) {
  html:root body nav[data-pa-mast][aria-label] {
    --pa-pill-inset: 4px;
    width: min(374px, calc(100vw - 2 * max(18px, env(safe-area-inset-left), env(safe-area-inset-right))));
    height: 48px;
    min-height: 48px;
    grid-template-columns: minmax(68px, 1.22fr) repeat(3,minmax(0,1fr));
    gap: 2px;
    padding: 1px 8px;
    font-size: 13px;
  }
  html:root body nav[data-pa-mast][aria-label] > :is(a,button) {min-height:44px}
  html:root body nav[data-pa-mast][aria-label] [data-pa-brand] {padding-inline-start:3px;gap:5px}
  html:root body nav[data-pa-mast][aria-label] .pa-emblem {width:21px;height:18px}
  html:root body nav[data-pa-mast][aria-label] .pa-wordmark {display:block;width:43px;height:23px}
}
@media (max-width: 360px) {
  html:root body nav[data-pa-mast][aria-label] {
    width: calc(100vw - 2 * max(14px, env(safe-area-inset-left), env(safe-area-inset-right)));
    font-size: 12px;
  }
}
html:root body nav[data-pa-mast][aria-label] > :is(a,button) {
  z-index: 1;
}
html:root body nav[data-pa-mast][aria-label] > :is(a,button)::before {
  inset: var(--pa-pill-inset) 0;
}
html:root body nav[data-pa-mast][aria-label] > [aria-current]::before {
  background: var(--pa-pill-fill);
  box-shadow: var(--pa-pill-edge);
}
@media (prefers-reduced-motion: no-preference) {
  html:root body nav[data-pa-mast][aria-label][data-pa-sliding] > :is(a,button)::before {
    background: transparent;
    box-shadow: none;
    animation: none;
    transition: none;
  }
  html:root body nav[data-pa-mast][data-pa-sliding]::after {
    content: "";
    position: absolute;
    pointer-events: none;
    z-index: 0;
    left: 0;
    top: var(--pa-glide-top);
    height: var(--pa-glide-height);
    border-radius: 999px;
    background: var(--pa-pill-fill);
    box-shadow: var(--pa-pill-edge);
    animation: pa-nav-glide 180ms cubic-bezier(.28,.72,.27,1) both;
  }
  @keyframes pa-nav-glide {
    from { transform: translateX(var(--pa-glide-from)); width: var(--pa-glide-from-width) }
    to   { transform: translateX(var(--pa-glide-to));   width: var(--pa-glide-to-width) }
  }
}
