/*
 * The portal's navbar on the academy (template-parts/atlas/navbar.php). Measured on the portal of
 * release 3.1.3 at 1440 px, 22 November 2026: from 1200 px one floating row of the set's glass
 * (look/navigation.css of the portal), the group of icons a pill of its own (`.glass-icon-pill`,
 * user.scss), the lists the set's opaque card; below 1200 px the bar with the menu button, the
 * group of icons and the search field under it, the menu opening as a block of the page.
 */

.aka-nav {
  --aka-avatar-disc: #d8e2ef;
  --aka-hint: #b6c1d2;
  --aka-nav-ink: var(--ui-text, #344050);
  --aka-pill-bg: rgba(255, 255, 255, 0.62);
  --aka-pill-rim: rgba(255, 255, 255, 0.75);
  --aka-pill-shadow: 0 2px 12px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  --aka-icon-hover: rgba(44, 123, 229, 0.1);
  position: relative;
  z-index: 1030;
  font-family: Poppins, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;
}
html.dark .aka-nav {
  --aka-avatar-disc: #344050;
  --aka-hint: #5e6e82;
  --aka-nav-ink: #d8e2ef;
  --aka-pill-bg: rgba(28, 32, 42, 0.65);
  --aka-pill-rim: rgba(255, 255, 255, 0.12);
  --aka-pill-shadow: 0 2px 12px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  --aka-icon-hover: rgba(255, 255, 255, 0.08);
}
/* The portal's bar sticks to the top of the screen at every width (Falcon's `.sticky-kit`, `position: sticky`). */
#aka-nav {
  position: sticky;
  top: 0;
}
.aka-nav-under:empty {
  display: none;
}
.aka-nav *,
.aka-nav *::before,
.aka-nav *::after {
  box-sizing: border-box;
}
:where(.aka-nav) a {
  text-decoration: none;
}
:where(.aka-nav) button {
  font: inherit;
  margin: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
:where(.aka-nav) ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.aka-nav li {
  margin: 0 !important;
  padding: 0 !important;
  line-height: inherit;
}
.aka-nav li::before {
  display: none !important;
}
.aka-nav [hidden] {
  display: none !important;
}
:where(.aka-nav) svg {
  width: 1em;
  height: 1em;
  flex: none;
}

/* ── The bar ─────────────────────────────────────────────────────────────────────────────── */
.aka-nav-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin: 0 auto;
  padding: 10px 12px;
  max-width: 100%;
}
.aka-nav-logo {
  /* The portal's logo is laid out, never moved: a block link (Falcon's `.navbar-brand`) in 27.648 px type at 800 with a
     line of 1.5 (41.47 px), the picture inline at `vertical-align: middle` of that line. The bar takes its height from
     this line too, so at a browser zoom the two round alike (an offset of 1.6 px and a fixed height of the bar did not,
     and the logo jumped by a part of a pixel at 90%). */
  display: block;
  order: 1;
  font: 800 27.648px/1.5 Poppins, sans-serif;
}
.aka-nav .aka-nav-logo img {
  height: 30px !important;
  width: auto !important;
  max-width: none;
  vertical-align: middle;
}
.aka-nav .aka-nav-logo .aka-logo-light {
  display: inline;
}
.aka-nav .aka-nav-logo .aka-logo-dark,
html.dark .aka-nav .aka-nav-logo .aka-logo-light {
  display: none;
}
html.dark .aka-nav .aka-nav-logo .aka-logo-dark {
  display: inline;
}

/* The menu's entries: the portal's 14 px Poppins at weight 500, the set's text ink. (The portal's link is 600 and the
   words in it a span of 500, `fw-medium`: the words are what the eye compares.) */
.aka-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 4px 8px;
  color: var(--aka-nav-ink) !important;
  font-family: Poppins, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.5 !important;
  white-space: nowrap;
}
.aka-nav-link:hover,
.aka-nav-link:focus-visible,
.aka-dd.is-open > .aka-nav-link {
  color: var(--ui-accent-ink, #1a5fba) !important;
}
.aka-nav-link > svg:first-child {
  margin-right: 8px;
  color: var(--ui-muted, #6b7a8d);
  font-size: 15px;
}
.aka-caret {
  display: none;
}
/* A list's caret is Bootstrap's `.dropdown-toggle::after` on the portal: a triangle 8 px wide and 4 px tall, 3.57 px
   (0.255em) after the words. An icon of 12 px in its place moved every entry after it by 4 px. */
.aka-nav-link.aka-dd-toggle::after {
  content: '';
  display: inline-block;
  margin-left: 3.57px;
  vertical-align: 3.57px;
  border-top: 4px solid currentColor;
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;
}
.aka-new-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin: 0 0 1px 5px;
  border-radius: 50%;
  background: #e63757;
  vertical-align: middle;
}

/* ── The group of icons: a pill of glass of its own ─────────────────────────────────────── */
.aka-nav-icons {
  display: flex;
  align-items: center;
  order: 4;
  height: 38px;
  margin-left: auto !important;
  padding: 0 6px !important;
  border: 1px solid var(--aka-pill-rim);
  border-radius: 999px;
  background: var(--aka-pill-bg);
  box-shadow: var(--aka-pill-shadow);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  backdrop-filter: blur(16px) saturate(180%);
}
.aka-nav-icons > li {
  position: relative;
}
/* Each item centres its circle (the portal's 46 px link holds its 30 px circle in the middle); without weight, so the
   rules that hide an item by its class still win. */
:where(.aka-nav-icons > li) {
  display: flex;
  align-items: center;
}
.aka-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  margin: 0 4px;
  padding: 0;
  border-radius: 50%;
  color: #2c7be5 !important;
  font-size: 16px;
  transition: background-color 0.15s ease, transform 0.12s ease;
}
.aka-icon:hover {
  background-color: var(--aka-icon-hover);
  transform: scale(1.12);
}
.aka-icon:active {
  transform: scale(0.92);
}
.aka-icon:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 2px var(--ui-accent, #2c7be5);
}
/* The account's disc: Falcon's gray-300 under the portal's account icon, at every width (release 3.1.5). In a dark set
   the blue icon reads 2.54 to 1 on it, under the 3 an icon is held to, and look:contrast reports it here; the portal
   has the same disc, which its check does not reach. The owner's decision of 24 November 2026: as on the portal. */
.aka-nav .aka-avatar {
  background: var(--aka-avatar-disc);
}
/* Signed in or not: the marker atlas_signed_in, read in <head> before the first paint (functions.php), sets
   data-aka-signed-in on <html>. Signed in, the account's icon is the portal's green; the watchlist is an entry of the account's list, not an icon
   of the bar, as on the portal of release 3.1.5 (the owner's decision of 24 November 2026). */
html:not([data-aka-signed-in]) .aka-signed-in-only,
html[data-aka-signed-in] .aka-signed-out-only {
  display: none !important;
}
html[data-aka-signed-in] .aka-avatar {
  color: #1ed14b !important;
}

/* Each icon at the portal's own size (measured on the portal at 1440 px). */
.aka-icon-search-toggle .aka-icon,
.aka-theme-toggle {
  font-size: 16px;
}
.aka-icon-compare .aka-icon {
  font-size: 19px;
}
.aka-avatar {
  font-size: 19.2px;
}
/* The scales stand in a block of the portal's own (`.comparison-icon`): a line of 20 px in 13.33 px type with the icon
   in its middle, which sets the icon 0.5 px lower than centred in its circle. */
.aka-compare-glyph {
  display: block;
  font-size: 13.3333px;
  line-height: 20px;
}
.aka-compare-glyph svg {
  width: 19px;
  height: 19px;
  vertical-align: middle;
}
.aka-nav-icons > li > a.aka-icon[href$='/slownik'] {
  font-size: 17px;
}
.aka-width-toggle {
  font-size: 15px;
}
.aka-theme-toggle .aka-when-dark,
html.dark .aka-theme-toggle .aka-when-light {
  display: none;
}
html.dark .aka-theme-toggle .aka-when-dark {
  display: block;
}
.aka-icon-width svg {
  transform: rotate(45deg);
}
.aka-width-compress,
html[data-ui-width='full'] .aka-width-expand {
  display: none;
}
html[data-ui-width='full'] .aka-width-compress {
  display: block;
}

/* A short name over an icon, as the portal's tips. */
.aka-icon[data-tip]:hover::after {
  content: attr(data-tip);
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 8px;
  border-radius: 6px;
  background: var(--ui-ink, #0b1727);
  color: var(--ui-card, #fff);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  pointer-events: none;
}

/* ── Lists: the set's opaque card ───────────────────────────────────────────────────────── */
.aka-dd {
  position: relative;
}
/* Measured on the portal of release 3.1.5 at 1651 px, 24 November 2026 (Bootstrap's `.dropdown-menu` and
   `.dropdown-item` under the look): a menu's list hangs from the foot of its entry, 9 px to the left of it; the
   account's list 10 px under its circle, 13 px past its right edge. An item is a block of 13.33 px type on a line of
   20 px with 4 px above and below, 28 px in all, its icon in the line of the words. */
.aka-dd-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: -9px;
  z-index: 1040;
  min-width: 160px;
  padding: 6px;
  font-size: 13.3333px;
  line-height: 1.5;
  border: 1px solid var(--ui-rim, rgba(11, 23, 39, 0.1));
  border-radius: var(--ui-r-inset, 12px);
  background: var(--ui-card, #fff);
  box-shadow: var(--ui-shadow-raised, 0 18px 44px rgba(3, 12, 51, 0.16));
}
.aka-dd.is-open > .aka-dd-menu {
  display: block;
}
.aka-dd-end > .aka-dd-menu {
  top: calc(100% + 10px);
  left: auto;
  /* 13 px past the circle, which stands 4 px inside its item (`.aka-icon`'s margin). */
  right: -9px;
  min-width: 160px;
}
.aka-dd-item {
  display: block;
  padding: 4px 16px;
  border-radius: var(--ui-r-tile, 10px);
  color: var(--ui-text, #344050) !important;
  font-size: 13.3333px;
  font-weight: 500;
  line-height: 1.5;
  white-space: nowrap;
}
.aka-dd-item:hover,
.aka-dd-item:focus-visible {
  outline: 0;
  background: var(--ui-track, rgba(11, 23, 39, 0.06));
  color: var(--ui-ink, #0b1727) !important;
}
.aka-dd-item.is-primary,
.aka-dd-item.is-primary svg {
  color: var(--ui-accent-ink, #1a5fba) !important;
  font-weight: 600;
}
.aka-dd-item svg {
  margin-right: 8px;
  color: currentColor;
}
/* The help entries of the academy's list: react-icons at 15 px, in the middle of the line, 1 px off its foot
   (the portal's `marginBottom: 1px`). */
.aka-dd-item.is-primary svg {
  margin-bottom: 1px;
  font-size: 15px;
  vertical-align: middle;
}
/* The account's list: Font Awesome at the item's size, 0.125em under the line, as wide as its glyph's class
   (`fa-w-16` 1em, `fa-w-18` 1.125em, `fa-w-20` 1.25em, `fa-w-12` 0.75em). */
.aka-dd-end .aka-dd-item svg {
  vertical-align: -0.125em;
}
.aka-dd-end .aka-dd-item[href$='/slownik'] svg {
  width: 15px;
}
.aka-dd-item.is-register svg,
.aka-dd-item.is-logout-all svg {
  width: 1.25em;
}
.aka-dd-item.is-watchlist svg {
  width: 0.75em;
}
.aka-dd-item.is-login,
.aka-dd-item.is-login svg {
  color: #2c7be5 !important;
}
html.dark .aka-dd-item.is-login,
html.dark .aka-dd-item.is-login svg {
  color: #6daaff !important;
}
.aka-dd-item.is-watchlist,
.aka-dd-item.is-watchlist svg {
  color: var(--ui-accent-ink) !important;
}
/* The portal's orange of "Wyloguj się" and grey of "…ze wszystkich urządzeń", in the set's colours of the same
   meanings, which hold their contrast on the set's card. */
.aka-dd-item.is-logout,
.aka-dd-item.is-logout svg {
  color: var(--ui-caution) !important;
}
.aka-dd-item.is-logout-all,
.aka-dd-item.is-logout-all svg {
  color: var(--ui-muted) !important;
}
.aka-dd-item.is-register {
  border-left: 3px solid #00d27a;
  background: rgba(0, 210, 122, 0.1);
  color: #00864e !important;
}
.aka-dd-item.is-register svg {
  color: #00864e;
}
html.dark .aka-dd-item.is-register,
html.dark .aka-dd-item.is-register svg {
  color: #00d27a !important;
}
html.dark .aka-dd-item.is-register {
  background: rgba(0, 210, 122, 0.08);
}
.aka-dd-divider {
  margin: 4px 0;
  border: 0;
  border-top: 1px solid var(--ui-rim, rgba(11, 23, 39, 0.1));
}
/* The portal's flag (flag-icons' `.fi`): 1.333em by 1em of the item's type, 17.77 by 13.33 px, rounded by 1 px, in the
   middle of the line and 8 px before the words. The academy's Additional CSS sizes every SVG picture
   (img[src$='.svg']), so the size here carries its weight. */
.aka-dd-item.has-flag {
  display: flex;
  align-items: center;
}
.aka-nav .aka-dd-item img.aka-flag {
  flex: none;
  width: 17.77px !important;
  min-width: 17.77px;
  max-width: 17.77px !important;
  height: 13.33px !important;
  margin: 0 8px 0 0;
  border-radius: 1px;
  object-fit: cover;
}

/* ── The search ─────────────────────────────────────────────────────────────────────────── */
.aka-search {
  position: relative;
  order: 5;
  flex: 1 0 100%;
}
.aka-search-field {
  position: relative;
  display: flex;
  align-items: center;
}
.aka-search-glass {
  position: absolute;
  /* Falcon's `.search-box-icon`: from the middle of the field, raised by 48% of its own height. */
  top: 50%;
  left: 14.4px;
  transform: translateY(-48%);
  color: var(--ui-muted, #6b7a8d);
  font-size: 13.33px;
  pointer-events: none;
}
/* The field: the look's one-line field (fields-and-buttons.css of the portal) with Falcon's search box inside it,
   measured on the portal of release 3.1.5, 24 November 2026. The weight of `html[data-ui]` is needed against the
   academy's own rule for every field (academy.css, "Fields"). The hint is Falcon's gray-400 in either theme, and at
   a narrow width it ends with an ellipsis, as the portal's (Bootstrap's text-truncate). */
html[data-ui] .aka-nav .aka-search-input {
  box-sizing: border-box !important;
  width: 100%;
  margin: 0;
  padding: 5px 32px !important;
  border: 1px solid transparent !important;
  border-radius: 999px !important;
  background: var(--ui-track, rgba(11, 23, 39, 0.06)) !important;
  /* Bootstrap's `.form-control` paints the fill inside its clear 1 px rim: under the rim the fill made the field look
     2 px taller and wider than the portal's. */
  background-clip: padding-box !important;
  box-shadow: none !important;
  color: var(--ui-ink, #0b1727) !important;
  font: 400 16px/1.7 Poppins, sans-serif;
  /* No height of its own: the portal's field is as tall as its line (Falcon's `.search-input`, line height 1.7) and
     its padding, so at a browser zoom, where the rim rounds to a part of a pixel, the two stay equal (a fixed 39.19 px
     gave the line 28.07 px against the portal's 27.2 px at 90%). */
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  -webkit-appearance: none;
  appearance: none;
}
/* Falcon gives Safari a line of 2 (`.safari .search-box .search-input`), with `safari` set on <html> by the portal's
   own check of the browser; navbar.php sets `aka-safari` by the same test. */
html.aka-safari[data-ui] .aka-nav .aka-search-input {
  line-height: 2;
}
html[data-ui] .aka-nav .aka-search-input::placeholder {
  color: var(--aka-hint);
  font-weight: 500;
  opacity: 1;
}
html[data-ui] .aka-nav .aka-search-input:focus {
  border-color: var(--ui-accent, #2c7be5) !important;
  box-shadow: var(--ui-focus-ring) !important;
  outline: 0;
}
.aka-nav .aka-search-input::-webkit-search-cancel-button {
  display: none;
}
.aka-search-clear {
  position: absolute;
  right: 12px;
  display: inline-flex;
  color: var(--ui-muted, #6b7a8d);
  font-size: 14px;
}
.aka-search-results {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 1050;
  max-height: min(70vh, 544px);
  overflow-y: auto;
  padding: 12px 0 0;
  border: 1px solid var(--ui-rim, rgba(11, 23, 39, 0.1));
  border-radius: var(--ui-r-inset, 12px);
  background: var(--ui-card, #fff);
  box-shadow: var(--ui-shadow-raised, 0 18px 44px rgba(3, 12, 51, 0.16));
}
.aka-res {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 12px;
  padding: 5.6px 20px;
  border-bottom: 1px dashed var(--ui-rim, rgba(11, 23, 39, 0.1));
  color: var(--ui-text, #344050) !important;
}
.aka-res:last-of-type {
  border-bottom: 0;
}
.aka-res.is-active,
.aka-res:hover {
  background: var(--ui-track, rgba(11, 23, 39, 0.06));
}
.aka-res-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--ui-ink, #0b1727);
}
.aka-res-name mark,
.aka-chip mark {
  padding: 0;
  background: none;
  color: #2c7be5;
}
.aka-res-ids {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 2px;
}
.aka-chip {
  padding: 1px 5px;
  border-radius: 4px;
  background: var(--ui-track, rgba(11, 23, 39, 0.06));
  color: var(--ui-text, #344050);
  font: 500 11px/1.5 'SFMono-Regular', Menlo, Consolas, monospace;
}
.aka-chip.is-ticker {
  background: rgba(44, 123, 229, 0.1);
  color: var(--ui-accent-ink, #1a5fba);
  font-family: Poppins, sans-serif;
  font-weight: 600;
}
.aka-res-badges {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  min-width: 175px;
}
.aka-badge {
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.5;
  white-space: nowrap;
}
.aka-res-all {
  display: block;
  margin: 12px 20px;
  padding: 6px 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, #2c7be5, #6ba5f0);
  color: #fff !important;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}
.aka-res-all svg {
  margin-left: 6px;
  vertical-align: -2px;
}
.aka-res-head {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  padding: 8px 20px;
  background: var(--ui-track, rgba(11, 23, 39, 0.06));
  color: var(--ui-accent-ink, #1a5fba);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.aka-art {
  display: block;
  padding: 7.2px 20px;
  border-bottom: 1px dashed var(--ui-rim, rgba(11, 23, 39, 0.1));
}
.aka-art:hover,
.aka-art.is-active {
  background: var(--ui-track, rgba(11, 23, 39, 0.06));
}
.aka-art-kicker {
  display: block;
  color: var(--ui-accent-ink, #1a5fba);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}
.aka-art-title {
  display: block;
  color: var(--ui-ink, #0b1727);
  font-size: 14px;
  font-weight: 500;
}
.aka-art-date {
  display: block;
  color: var(--ui-muted, #6b7a8d);
  font-size: 12px;
}
.aka-res-more {
  display: block;
  padding: 10px 20px 12px;
  color: var(--ui-accent-ink, #1a5fba) !important;
  font-size: 13px;
  font-weight: 600;
}
.aka-res-none {
  margin: 0 0 12px;
  color: var(--ui-muted, #6b7a8d);
  font-size: 13px;
  text-align: center;
}

/* ── Below 1200 px: the menu button, the group of icons and the field under the bar ─────── */
/* Measured on the portal of release 3.1.5 at 360 px in all six sets, 24 November 2026 (Falcon's `.navbar-glass`,
   `.navbar-toggle-icon` and `.search-box-mobile`): the bar is 58 px of the page's own colour at 96%, or the set's
   opaque card in a frosted set (ground.css of the portal), with no line under it; the field stands under the bar on
   the page, not inside it. Falcon's greys are written out here, since the academy has no Falcon: the menu's lines
   gray-700, the account's disc gray-300, the field's hint gray-400, each in the light and the dark theme. */
@media (max-width: 1199.98px) {
  .aka-nav {
    --aka-bar-bg: rgba(237, 242, 249, 0.96);
    --aka-burger: #5e6e82;
  }
  html.dark .aka-nav {
    --aka-bar-bg: rgba(11, 23, 39, 0.96);
    --aka-burger: #9da9bb;
  }
  html[data-ui][data-ui-look='frosted'] .aka-nav {
    --aka-bar-bg: var(--ui-card-solid, #fff);
  }
  #aka-nav::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--aka-bar-bg);
  }
  .aka-nav-bar {
    column-gap: 8px;
    row-gap: 10px;
    padding: 8px 16px;
  }
  /* The row under the bar: the field on the page, 16 px above the content, as the portal's. */
  /* Under the bar when the page scrolls under it, over the content for its list of results. */
  .aka-nav-under {
    z-index: 1020;
    margin-bottom: 16px;
    padding: 0 16px;
  }
  /* Without the script the field stays in the bar, with the content's gap under it. */
  #aka-nav:has(.aka-search) {
    margin-bottom: 16px;
  }
  /* The group ends at the bar's padding, as the portal's does. Only on a screen narrower than 370 px the row
     (menu, logo, group) does not fit, and the portal's group then goes past the padding (7 px from the edge at
     360 px): here the same, by the width the row lacks. */
  .aka-nav-icons {
    margin-right: min(0px, 100vw - 370px) !important;
  }
  .aka-nav .aka-nav-logo img {
    height: 40px !important;
  }
  .aka-nav-burger {
    order: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-left: -10px !important;
    border-radius: 50%;
    color: var(--aka-burger);
  }
  .aka-nav-burger-lines {
    display: grid;
    gap: 3px;
    width: 20px;
  }
  .aka-nav-burger-lines > span {
    display: block;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
  }
  .aka-nav-collapse {
    display: none;
    order: 6;
    flex: 1 0 100%;
  }
  .aka-nav.is-menu-open .aka-nav-collapse {
    display: block;
  }
  .aka-nav-menu > li > .aka-nav-link {
    width: 100%;
    padding: 8px 4px;
    font-size: 15px;
  }
  .aka-nav-menu .aka-dd-menu {
    position: static;
    margin: 4px 0 8px;
    box-shadow: none;
    background: var(--ui-card-fill, var(--ui-card, #fff));
  }
  .aka-icon-search-toggle,
  .aka-icon-width {
    display: none;
  }
  .aka-search-results {
    position: absolute;
  }
  /* The portal's field is at most 22rem wide (Falcon's `.search-box`) and stands in the middle of the screen. */
  .aka-search {
    max-width: 352px;
    margin: 0 auto;
  }
}
@media (max-width: 575.98px) {
  .aka-icon-compare {
    display: none !important;
  }
  .aka-nav-icons {
    padding: 0 2px !important;
  }
}
@media (min-width: 576px) {
  .aka-nav-phone-only {
    display: none;
  }
}

/* ── From 1200 px: one floating row of glass ────────────────────────────────────────────── */
@media (min-width: 1200px) {
  .aka-nav {
    padding: 10px 0 14px;
  }
  .aka-nav-under {
    display: none;
  }
  .aka-nav-bar {
    flex-wrap: nowrap;
    /* The portal's container less its 16 px gutters. */
    max-width: 1108px;
    padding: 8px 10px 8px 22px;
    border: 1px solid var(--ui-lg-rim, rgba(255, 255, 255, 0.85));
    border-radius: var(--ui-r-pill, 999px);
    background: var(--ui-lg-fill, rgba(255, 255, 255, 0.56));
    box-shadow: var(--ui-lg-shadow, 0 10px 30px rgba(3, 12, 51, 0.14));
    -webkit-backdrop-filter: var(--ui-lg-blur, blur(14px) saturate(170%));
    backdrop-filter: var(--ui-lg-blur, blur(14px) saturate(170%));
  }
  .aka-nav-burger {
    display: none;
  }
  .aka-nav-collapse {
    order: 2;
    flex: 1 0 auto;
    min-width: 0;
  }
  .aka-nav-menu {
    display: flex;
    align-items: center;
  }
  /* The portal's entry is a block of text (`.nav-link`), so its caret and its dot stand on the line of the words
     (`vertical-align`), not in the middle of a flex row. */
  .aka-nav-link {
    display: block;
  }
  /* The one row carries words only, as the portal's. */
  .aka-nav-menu .aka-nav-link > svg:first-child {
    display: none;
  }
  /* The search hangs under the bar's right end and opens from the magnifier. */
  .aka-search {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    flex: none;
    width: 352px;
    padding: 8px;
    border: 1px solid var(--ui-rim, rgba(11, 23, 39, 0.1));
    border-radius: var(--ui-r-pill, 999px);
    background: var(--ui-card, #fff);
    box-shadow: var(--ui-shadow-raised, 0 18px 44px rgba(3, 12, 51, 0.16));
  }
  .aka-nav.is-search-open .aka-search {
    display: block;
  }
  .aka-search-results {
    left: auto;
    right: 0;
    width: 640px;
  }
  .aka-nav-bar {
    position: relative;
  }
}
@media (min-width: 1540px) {
  .aka-nav-bar {
    max-width: 1448px;
  }
  html[data-ui-width='narrow'] .aka-nav-bar {
    max-width: calc(var(--ui-page-narrow, 1320px) - 32px);
  }
  /* Where the bar has the room the field stands in the row and the magnifier goes, as on the portal. */
  .aka-search {
    display: block;
    position: relative;
    top: auto;
    order: 3;
    flex: 0 1 280px;
    width: auto;
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none;
  }
  .aka-icon-search-toggle {
    display: none;
  }
}
@media (min-width: 1200px) {
  html[data-ui-width='full'] .aka-nav-bar {
    max-width: none;
    margin: 0 12px;
  }
}
