body:has(> [data-opta-navigation], > .ap-top) {
  --opta-nav-height: 56px;
  --opta-nav-admin-offset: 0px;
}

[data-otc-reference-chrome="header"][data-opta-navigation] {
  --opta-nav-surface: #15151e;
  --opta-nav-text: #f4f2ee;
  --opta-nav-muted: #aeabbc;
  --opta-nav-border: #363644;
  --opta-nav-green: #c6f135;
  position: sticky;
  top: var(--opta-nav-admin-offset);
  z-index: 50;
  height: var(--opta-nav-height);
  background: transparent;
  color: var(--opta-nav-text);
  font-family: "OptaTips v23 Instrument Sans", system-ui, sans-serif;
}

body.admin-bar:has(> [data-opta-navigation], > .ap-top) { --opta-nav-admin-offset: 32px; }
@media (max-width: 782px) {
  body.admin-bar:has(> [data-opta-navigation], > .ap-top) { --opta-nav-admin-offset: 46px; }
}
@media (max-width: 600px) {
  body.admin-bar #wpadminbar { position: fixed; }
}

[data-opta-navigation] .opta-nav-bar,
.ap-body > .ap-top {
  background: transparent;
  border-bottom: 1px solid transparent;
  backdrop-filter: none;
}

[data-opta-navigation].opta-nav-scrolled .opta-nav-bar,
.ap-body > .ap-top.opta-nav-scrolled {
  background: rgba(12, 12, 18, .8);
  border-bottom-color: rgba(255, 255, 255, .1);
  backdrop-filter: blur(16px);
}

.ap-body > .ap-top {
  position: sticky;
  top: var(--opta-nav-admin-offset);
}

/* Extend the page backgrounds behind the header and retain the content inset. */
body:has(> [data-opta-navigation]) .op-main > :is(.op-tips-hero, .op-legal, .op-help) {
  margin-block-start: calc(-1 * var(--opta-nav-height));
}

body:has(> [data-opta-navigation]) .op-main > :is(.op-tips-hero, .op-legal),
body:has(> [data-opta-navigation]) .op-main > .op-help > .op-help-hero {
  padding-block-start: var(--opta-nav-height);
}

body:has(> [data-opta-navigation]) .oc-page.oc-support-layout > .oc-hero {
  margin-block-start: calc(-1 * var(--opta-nav-height));
  padding-block-start: calc(112px + var(--opta-nav-height));
}

@media (max-width: 767px) {
  body:has(> [data-opta-navigation]) .oc-page.oc-support-layout > .oc-hero {
    padding-block-start: calc(72px + var(--opta-nav-height));
  }
}

body:has(> [data-opta-navigation]) .op-main > .opta-guide-reference > section:first-of-type {
  margin-block-start: calc(-1 * var(--opta-nav-height));
  padding-block-start: calc(5rem + var(--opta-nav-height));
}

@media (min-width: 768px) {
  body:has(> [data-opta-navigation]) .op-main > .opta-guide-reference > section:first-of-type {
    padding-block-start: calc(10rem + var(--opta-nav-height));
  }
}

@media (max-width: 1023px) {
  body:has(> [data-opta-navigation]) .otc-reference[data-otc-reference="portal"] :is(.league-hero, .home-hero) {
    margin-block-start: -104px;
  }
  body:has(> [data-opta-navigation]) .otc-reference[data-otc-reference="portal"] .league-hero {
    padding-block-start: 128px !important;
  }
  body:has(> [data-opta-navigation]) .otc-reference[data-otc-reference="portal"] .home-hero {
    padding-block-start: 48px;
  }
}

@media (min-width: 1024px) {
  .ap-body > .ap-layout > .ap-brand {
    margin-block-start: calc(-1 * var(--ap-header-height));
    padding-block-start: calc(48px + var(--ap-header-height));
  }
}

[data-opta-navigation] .opta-nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: calc(100% - 64px);
  max-width: 1440px;
  height: 55px;
  margin-inline: auto;
  gap: 16px;
}

[data-opta-navigation] :where(a, button, summary) {
  color: inherit;
  font-family: inherit;
  text-decoration: none;
}

[data-opta-navigation] :where(button, summary) {
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

[data-opta-navigation] :where(a, button, summary):focus-visible,
.opta-nav-bottom-dialog :where(a, button):focus-visible {
  outline: 2px solid #c6f135;
  outline-offset: 3px;
}

[data-opta-navigation] summary { list-style: none; }
[data-opta-navigation] summary::-webkit-details-marker { display: none; }

[data-opta-navigation] .opta-nav-brand { display: flex; align-items: center; flex: none; }
[data-opta-navigation] .opta-nav-brand img { display: block; width: 139px; height: auto; }
[data-opta-navigation] .opta-nav-primary,
[data-opta-navigation] .opta-nav-actions,
[data-opta-navigation] .opta-nav-auth {
  display: flex;
  align-items: center;
  gap: 8px;
}

[data-opta-navigation] .opta-nav-primary { flex: 1; min-width: 0; justify-content: center; gap: clamp(10px, 1vw, 22px); }
[data-opta-navigation] .opta-nav-primary > * { flex: none; min-width: 0; }
[data-opta-navigation] .opta-nav-actions { flex: none; }
[data-opta-navigation] .opta-nav-auth:empty { display: none; }
[data-opta-navigation] .opta-nav-mobile-actions { display: none; }
[data-opta-navigation] .opta-nav-group,
[data-opta-navigation] .opta-nav-account { position: relative; }

[data-opta-navigation] .opta-nav-entry,
[data-opta-navigation] .opta-nav-settings {
  display: flex;
  align-items: center;
  gap: 5px;
  position: relative;
  white-space: nowrap;
  color: var(--opta-nav-muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

[data-opta-navigation] .opta-nav-entry { height: 44px; }
[data-opta-navigation] .opta-nav-primary .opta-nav-entry { height: 55px; overflow: hidden; }
[data-opta-navigation] .opta-nav-entry:hover,
[data-opta-navigation] .opta-nav-entry[aria-current],
[data-opta-navigation] [data-current] > summary,
[data-opta-navigation] details[open] > summary { color: var(--opta-nav-text); }

[data-opta-navigation] .opta-nav-primary :is([data-current] > summary, a[aria-current])::after {
  position: absolute;
  inset: auto 0 8px;
  height: 3px;
  background: var(--opta-nav-green);
  content: "";
}

[data-opta-navigation] .opta-nav-settings { font-size: 12px; font-weight: 600; }
[data-opta-navigation] .opta-nav-settings {
  height: 42px;
  padding-inline: 10px;
  border: 1px solid var(--opta-nav-border);
  border-radius: 10px;
}

[data-opta-navigation] :is(summary, .opta-nav-settings) > svg {
  width: 15px;
  height: 15px;
  flex: none;
  stroke: currentColor;
  stroke-width: 1.4;
  fill: none;
}

[data-opta-navigation] details[open] > summary > svg { transform: rotate(180deg); }
[data-opta-navigation] .opta-nav-icon-button {
  display: grid;
  width: 34px;
  height: 42px;
  place-items: center;
  border-radius: 9px;
}
[data-opta-navigation] .opta-nav-icon-button:hover { background: rgba(255, 255, 255, .07); }

[data-opta-navigation] :is(.opta-nav-icon-button, .opta-nav-avatar) svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

[data-opta-navigation] .opta-nav-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  padding: 0 14px;
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(255, 255, 255, .23);
  border-radius: 999px;
  color: var(--opta-nav-text);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

[data-opta-navigation] .opta-nav-pill:has(.opta-nav-avatar) { padding-inline-start: 6px; }
[data-opta-navigation] .opta-nav-pill:hover { background: rgba(255, 255, 255, .1); }

[data-opta-navigation] .opta-nav-accent {
  background: var(--opta-nav-green);
  color: #14170a;
  border-color: transparent;
}
[data-opta-navigation] .opta-nav-accent { padding-inline: 20px; }
[data-opta-navigation] .opta-nav-accent:hover { background: #d3f668; }

[data-opta-navigation] .opta-nav-avatar {
  display: grid;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  place-items: center;
  overflow: hidden;
  flex: none;
}

[data-opta-navigation] .opta-nav-avatar img { width: 100%; height: 100%; object-fit: cover; }
[data-opta-navigation] .opta-nav-avatar svg { width: 17px; height: 17px; }
[data-opta-navigation] .opta-nav-name { overflow: hidden; text-overflow: ellipsis; max-inline-size: 96px; }
[data-opta-navigation] .opta-nav-identity { display: flex; align-items: center; gap: 10px; padding: 9px 10px; font-weight: 700; }
[data-opta-navigation] .opta-nav-identity .opta-nav-name { max-inline-size: 100%; white-space: nowrap; }
[data-opta-navigation] .opta-nav-account-native { border-top: 1px solid var(--opta-nav-border); margin-top: 5px; padding-top: 5px; }

[data-opta-navigation] .opta-nav-popup {
  position: absolute;
  inset: calc(100% + 3px) auto auto 0;
  z-index: 2;
  width: max-content;
  min-width: 184px;
  max-width: 300px;
  max-height: min(60dvh, 520px);
  overflow-y: auto;
  background: var(--opta-nav-surface);
  border: 1px solid var(--opta-nav-border);
  border-radius: 13px;
  padding: 5px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .28);
}

[data-opta-navigation] .opta-nav-actions .opta-nav-popup { inset-inline: auto 0; }
[data-opta-navigation] .opta-nav-account .opta-nav-popup { min-width: 230px; }

[data-opta-navigation] .opta-nav-list,
.opta-nav-bottom-dialog .opta-nav-list,
#audit-mobile-navigation .opta-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

[data-opta-navigation] .opta-nav-list .opta-nav-list,
.opta-nav-bottom-dialog .opta-nav-list .opta-nav-list,
#audit-mobile-navigation .opta-nav-list .opta-nav-list { padding-inline-start: 12px; }
[data-opta-navigation] .opta-nav-list a,
.opta-nav-bottom-dialog .opta-nav-list a {
  display: block;
  border-radius: 7px;
  padding: 9px 10px;
  font-size: 14px;
  line-height: 1.35;
  color: inherit;
  text-decoration: none;
}
[data-opta-navigation] .opta-nav-list a:hover,
[data-opta-navigation] .opta-nav-list a[aria-current],
.opta-nav-bottom-dialog .opta-nav-list a:hover {
  background: rgba(255, 255, 255, .06);
  color: #c6f135;
}

[data-opta-navigation] .opta-nav-drawer,
.opta-nav-bottom-dialog {
  color: #f4f2ee;
  background: #15151e;
  border: 1px solid #363644;
  border-radius: 14px;
  padding: 16px;
  overscroll-behavior: contain;
}
[data-opta-navigation] .opta-nav-drawer::backdrop,
.opta-nav-bottom-dialog::backdrop { background: rgba(0, 0, 0, .58); }

[data-opta-navigation] #opta-nav-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(360px, calc(100% - 26px));
  max-width: none;
  height: 100dvh;
  max-height: 100dvh;
  margin: 0;
  border-radius: 0;
  border-block: 0;
  border-inline-end: 0;
  overflow-y: auto;
  padding: 16px 16px max(16px, env(safe-area-inset-bottom));
}

@media (prefers-reduced-motion: no-preference) {
  [data-opta-navigation] #opta-nav-drawer[open] { animation: opta-nav-drawer-enter .2s ease-out; }
  @keyframes opta-nav-drawer-enter {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
  }
}

[data-opta-navigation] .opta-nav-dialog-heading,
.opta-nav-bottom-dialog .opta-nav-dialog-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 9px; }

[data-opta-navigation] .opta-nav-dialog-heading h2,
.opta-nav-bottom-dialog .opta-nav-dialog-heading h2 { margin: 0; color: inherit; font: inherit; font-size: 19px; text-transform: none; font-weight: 700; }

[data-opta-navigation] .opta-nav-dialog-heading button,
.opta-nav-bottom-dialog .opta-nav-dialog-heading button {
  width: 38px;
  height: 38px;
  color: #f4f2ee;
  background: rgba(255, 255, 255, .06);
  border: 0;
  border-radius: 8px;
  font-size: 24px;
  line-height: 1;
}

[data-opta-navigation] .opta-nav-drawer .opta-nav-entry { width: 100%; justify-content: space-between; padding-inline: 10px; }
[data-opta-navigation] .opta-nav-drawer .opta-nav-popup {
  position: static;
  min-width: 0;
  max-width: none;
  width: 100%;
  border: 0;
  padding: 0 0 4px 12px;
  box-shadow: none;
}
[data-opta-navigation] :is(.opta-nav-drawer-tools, .opta-nav-drawer-auth) { border-top: 1px solid var(--opta-nav-border); margin-top: 10px; padding-top: 10px; }
[data-opta-navigation] .opta-nav-drawer-auth:empty { display: none; }
[data-opta-navigation] #opta-nav-drawer .opta-nav-settings {
  width: max-content;
  max-width: calc(100% - 20px);
  margin: 5px 10px;
  gap: 6px;
  font-size: 13px;
  line-height: 1.2;
  white-space: nowrap;
}
[data-opta-navigation] #opta-nav-drawer .opta-nav-settings > span { flex: none; white-space: nowrap; }
[data-opta-navigation] .opta-nav-drawer-auth > .opta-nav-pill { margin: 0 0 8px 10px; }

[data-opta-navigation] #opta-nav-drawer :is(.opta-guest-drawer-settings, .opta-guest-drawer-links, .opta-guest-drawer-auth) { display: none; }

@media (max-width: 1023px) {
  [data-opta-navigation] #opta-nav-drawer.opta-nav-drawer--guest {
    box-sizing: border-box;
    width: clamp(252px, 69vw, 360px);
    max-width: calc(100% - 32px);
    padding: 0;
    overflow: hidden;
    background: #101620;
  }
  [data-opta-navigation] #opta-nav-drawer.opta-nav-drawer--guest::backdrop {
    background: rgba(5, 8, 14, .71);
    backdrop-filter: blur(5px);
  }
  [data-opta-navigation] #opta-nav-drawer.opta-nav-drawer--guest[open] { display: flex; flex-direction: column; }
  [data-opta-navigation] #opta-nav-drawer.opta-nav-drawer--guest > :is(.opta-nav-drawer-links, .opta-nav-drawer-tools, .opta-nav-drawer-auth) { display: none; }
  [data-opta-navigation] #opta-nav-drawer.opta-nav-drawer--guest .opta-nav-dialog-heading {
    flex: none;
    gap: 6px;
    margin: 0;
    padding: max(8px, env(safe-area-inset-top, 0px)) max(8px, env(safe-area-inset-right, 0px)) 8px 16px;
  }
  [data-opta-navigation] #opta-nav-drawer.opta-nav-drawer--guest .opta-nav-dialog-heading h2 {
    margin-inline-end: auto;
    white-space: nowrap;
    font: 900 22px/1.1 "OptaTips v23 Big Shoulders", "OptaTips v23 Instrument Sans", system-ui, sans-serif;
  }
  [data-opta-navigation] #opta-nav-drawer.opta-nav-drawer--guest .opta-guest-drawer-settings {
    display: inline-flex;
    flex: 0 1 auto;
    justify-content: center;
    gap: .25em;
    width: auto;
    min-width: 0;
    max-width: none;
    height: auto;
    min-height: 44px;
    margin: 0;
    padding: 12px 10px 6px;
    border: 1px solid var(--border, #3a3a4a);
    border-radius: 8px;
    background: #101620;
    color: var(--text, #f4f2ee);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
  }
  [data-opta-navigation] #opta-nav-drawer .opta-guest-drawer-settings > .opta-guest-drawer-language {
    flex: 0 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  [data-opta-navigation] #opta-nav-drawer .opta-guest-drawer-settings > svg { display: none; }
  [data-opta-navigation] #opta-nav-drawer .opta-guest-drawer-settings::after {
    content: "";
    position: absolute;
    top: 4px;
    left: 50%;
    width: 5px;
    height: 5px;
    transform: translateX(-50%) rotate(45deg);
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    pointer-events: none;
  }
  [data-opta-navigation] #opta-nav-drawer.opta-nav-drawer--guest .opta-nav-dialog-heading form button {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    color: var(--opta-nav-muted);
    background: transparent;
    font-size: 20px;
  }
  [data-opta-navigation] #opta-nav-drawer.opta-nav-drawer--guest .opta-guest-drawer-links {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 2px;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 4px max(10px, env(safe-area-inset-right, 0px)) 10px 10px;
  }
  [data-opta-navigation] #opta-nav-drawer .opta-guest-drawer-links a {
    display: flex;
    flex: none;
    min-height: 44px;
    align-items: center;
    gap: 12px;
    border-radius: 12px;
    padding: 6px 12px;
    color: var(--opta-nav-muted);
    font-size: 15px;
    text-decoration: none;
  }
  [data-opta-navigation] #opta-nav-drawer .opta-guest-drawer-links .icon {
    width: 20px;
    height: 20px;
    flex: none;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
  }
  [data-opta-navigation] #opta-nav-drawer.opta-nav-drawer--guest :is(.opta-nav-dialog-heading form button, .opta-guest-drawer-links a):hover {
    background: rgba(255, 255, 255, .06);
    color: var(--opta-nav-text);
  }
  [data-opta-navigation] #opta-nav-drawer .opta-guest-drawer-links a[aria-current="page"] {
    background: #222d20;
    color: var(--opta-nav-green);
    box-shadow: inset 3px 0 var(--opta-nav-green);
    font-weight: 700;
  }
  [data-opta-navigation] #opta-nav-drawer.opta-nav-drawer--guest .opta-guest-drawer-links a[aria-current="page"]:hover {
    background: #2b3825;
    color: var(--opta-nav-green);
  }
  [data-opta-navigation] #opta-nav-drawer.opta-nav-drawer--guest .opta-guest-drawer-auth {
    display: grid;
    flex: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 12px max(16px, env(safe-area-inset-right, 0px)) max(12px, env(safe-area-inset-bottom, 0px)) 16px;
    border-top: 1px solid var(--opta-nav-border);
  }
  [data-opta-navigation] #opta-nav-drawer .opta-guest-drawer-auth a {
    display: grid;
    min-height: 44px;
    place-items: center;
    border: 1px solid var(--opta-nav-border);
    border-radius: 14px;
    padding: 6px 8px;
    color: var(--opta-nav-text);
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
  }
  [data-opta-navigation] #opta-nav-drawer .opta-guest-drawer-auth .opta-nav-accent {
    border-color: var(--opta-nav-green);
    background: var(--opta-nav-green);
    color: #12150b;
  }
  [data-opta-navigation] #opta-nav-drawer.opta-nav-drawer--guest :is(button, a):focus-visible {
    outline: 2px solid var(--opta-nav-green);
    outline-offset: 2px;
  }
}

@media (max-width: 479px) {
  [data-opta-navigation] #opta-nav-drawer.opta-nav-drawer--guest .opta-nav-dialog-heading {
    gap: 3px;
    padding-inline: 8px max(4px, env(safe-area-inset-right, 0px));
  }
  [data-opta-navigation] #opta-nav-drawer.opta-nav-drawer--guest .opta-nav-dialog-heading h2 { font-size: clamp(18px, 5.6vw, 20px); }
  [data-opta-navigation] #opta-nav-drawer.opta-nav-drawer--guest .opta-guest-drawer-settings {
    padding-inline: 5px;
    font-size: clamp(12px, 3.2vw, 14px);
  }
}

.opta-nav-bottom-dialog { width: min(420px, calc(100% - 24px)); margin: auto auto 10px; }

[data-otc-reference-chrome="footer"] .opta-nav-bottom-dialog.opta-nav-bottom-dialog--account {
  box-sizing: border-box;
  max-height: calc(100dvh - var(--otc-bottom-nav-height, 64px) - env(safe-area-inset-top, 0px) - 20px);
  padding: 8px 12px max(8px, env(safe-area-inset-bottom, 0px));
  overflow: hidden;
}
.opta-nav-bottom-dialog--account { margin-block-end: calc(var(--otc-bottom-nav-height, 64px) + 8px); }
.opta-nav-bottom-dialog--account[open] { display: flex; flex-direction: column; }
html:has(.opta-nav-bottom-dialog--account[open]) { overflow: hidden; }
.opta-nav-bottom-dialog--account .opta-nav-dialog-heading { flex: none; padding-inline-start: 8px; margin-bottom: 4px; }
.opta-nav-bottom-dialog--account .opta-nav-dialog-heading button { width: 44px; height: 44px; }
.opta-nav-account-links { min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 2px 3px 3px; }
.opta-nav-bottom-dialog--account .opta-nav-account-links .side-nav { display: grid; gap: 0; padding: 0; overflow: visible; }
.opta-nav-bottom-dialog--account .opta-nav-account-links :is(.side-nav a, .otc-reference-logout) {
  display: flex;
  align-items: center;
  gap: 8px;
  height: auto;
  min-height: 44px;
  padding: 4px 8px;
  border-radius: 8px;
  color: inherit;
  font-size: 15px;
  line-height: 1.25;
  text-decoration: none;
  white-space: normal;
}
.opta-nav-account-links .icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; }
.opta-nav-account-links a[href]:hover { background: rgba(255, 255, 255, .06); color: #c6f135; }
.opta-nav-bottom-dialog--account :is(a[href], button):focus-visible { outline: 2px solid #c6f135; outline-offset: 1px; }
.opta-nav-account-links [aria-disabled="true"] { color: #aeabbc; }
.opta-nav-account-links .otc-reference-logout { margin-top: 2px; color: #ff7a82; }

@media (max-height: 780px) {
  .opta-nav-bottom-dialog--account .opta-nav-account-links .side-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 4px; }
  .opta-nav-account-links .side-nav a > span { min-width: 0; overflow-wrap: anywhere; }
}

[data-otc-reference-chrome="footer"] #audit-bottom-nav a[aria-current] { color: #c6f135; }

@media (max-width: 1023px) {
  [data-otc-reference-chrome="footer"] #audit-bottom-nav.opta-nav-mobile-guest :is(a, button) {
    flex: 1 1 0;
    min-width: 0;
    min-height: 44px;
    gap: 2px;
    text-align: center;
  }
  .opta-nav-mobile-guest .opta-guest-nav-glyph {
    display: grid;
    place-items: center;
    width: 44px;
    height: 30px;
    border-radius: 9px;
  }
  [data-otc-reference-chrome="footer"] #audit-bottom-nav.opta-nav-mobile-guest a[aria-current] {
    color: #f4f2ee;
    font-weight: 700;
  }
  .opta-nav-mobile-guest a[aria-current] .opta-guest-nav-glyph { background: #c6f135; color: #12150b; }
}

@media (max-width: 374px) {
  [data-otc-reference-chrome="footer"] #audit-bottom-nav.opta-nav-mobile-guest .opta-nav-tipster-home {
    flex-basis: 12px;
    padding-inline: 0;
  }
}

[data-otc-reference-chrome="footer"] .opta-nav-bottom-dialog.opta-nav-bottom-dialog--tips {
  position: fixed;
  inset: auto 0 calc(var(--otc-bottom-nav-height, 64px) + 8px);
  box-sizing: border-box;
  width: min(360px, calc(100% - 24px));
  max-height: calc(100dvh - var(--otc-bottom-nav-height, 64px) - 20px);
  margin: 0 auto;
  padding: 10px;
  border-radius: 14px;
  overflow: auto;
}

.opta-nav-bottom-dialog--tips .opta-nav-dialog-heading { padding-inline-start: 10px; margin-bottom: 4px; }
.opta-nav-bottom-dialog--tips .opta-nav-dialog-heading button { width: 44px; height: 44px; }
.opta-bottom-tips-links { display: grid; gap: 2px; padding: 3px; }
.opta-bottom-tips-links a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 8px 10px;
  border-radius: 7px;
  color: inherit;
  font-size: 14px;
  text-decoration: none;
}
.opta-bottom-tips-links a > .icon {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.opta-bottom-tips-links a:hover,
.opta-bottom-tips-links a[aria-current] { color: #c6f135; background: rgba(255, 255, 255, .06); }

@media (prefers-reduced-motion: no-preference) {
  [data-otc-reference-chrome="footer"] .opta-nav-bottom-dialog.opta-nav-bottom-dialog--tips[open] { animation: opta-bottom-tips-enter .16s ease-out; }
  @keyframes opta-bottom-tips-enter {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: none; }
  }
}

[data-opta-navigation].opta-nav-tight .opta-nav-row { gap: 9px; }
[data-opta-navigation].opta-nav-tight .opta-nav-primary { gap: 8px; }
[data-opta-navigation].opta-nav-tight .opta-nav-actions { gap: 5px; }
[data-opta-navigation].opta-nav-tight .opta-nav-account .opta-nav-name { max-width: 70px; }

@media (max-width: 1220px) and (min-width: 1024px) {
  [data-opta-navigation] .opta-nav-row { width: calc(100% - 40px); gap: 13px; }
  [data-opta-navigation] .opta-nav-primary { gap: 10px; }
  [data-opta-navigation] .opta-nav-entry { font-size: 13px; }
  [data-opta-navigation] .opta-nav-brand img { width: 118px; }
  [data-opta-navigation] .opta-nav-pill { padding-inline: 10px; font-size: 13px; }
}

@media (max-width: 1023px) {
  body.otc-reference-home:has([data-opta-navigation]) .otc-reference,
  body.otc-reference-portal:has([data-opta-navigation]) .otc-reference { margin-top: -56px !important; }
  [data-opta-navigation] .opta-nav-row { width: calc(100% - 32px); gap: 8px; }
  [data-opta-navigation] .opta-nav-brand img { width: 126px; }
  [data-opta-navigation] :is(.opta-nav-primary, .opta-nav-auth, .opta-nav-actions > .opta-nav-settings) { display: none; }
  [data-opta-navigation] .opta-nav-mobile-actions { display: flex; align-items: center; gap: 7px; }
  [data-opta-navigation] .opta-nav-mobile-actions .opta-nav-pill { height: 37px; padding-inline: 13px; }
  [data-opta-navigation] .opta-nav-mobile-account { display: grid; width: 40px; height: 40px; place-items: center; }
}

[data-opta-navigation].opta-nav-compact .opta-nav-row { width: calc(100% - 32px); gap: 8px; }
[data-opta-navigation].opta-nav-compact .opta-nav-brand img { width: 126px; }
[data-opta-navigation].opta-nav-compact :is(.opta-nav-primary, .opta-nav-auth, .opta-nav-actions > .opta-nav-settings) { display: none; }
[data-opta-navigation].opta-nav-compact .opta-nav-mobile-actions { display: flex; align-items: center; gap: 7px; }
[data-opta-navigation].opta-nav-compact .opta-nav-mobile-actions .opta-nav-pill { height: 37px; padding-inline: 13px; }
[data-opta-navigation].opta-nav-compact .opta-nav-mobile-account { display: grid; width: 40px; height: 40px; place-items: center; }

body:has(.opta-nav-drawer[open], .opta-nav-bottom-dialog[open]) { overflow: hidden; }
