/* v10.7 — role-aligned navigation, the same silver/steel Light + Night tokens. */
body.fansflex-app .ff73-mobile-nav .mobile-more-dropdown {
  width: min(354px, calc(100vw - 20px));
  max-width: calc(100vw - 20px);
  max-height: min(66dvh, 550px);
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--ff89-edge-strong, #9db2c8) transparent;
  background: var(--ff89-metal-soft, #eef5fb) !important;
  border: 1px solid var(--ff89-edge-strong, #8fabc4) !important;
  box-shadow: var(--ff89-shadow-raised, 0 20px 50px #0018) !important;
  color: var(--ff89-ink, #18364e);
}
body.fansflex-app .ff73-mobile-nav .mobile-more-dropdown .dropdown-item {
  min-height: 43px;
  align-items: center;
  color: var(--ff89-ink, #18364e) !important;
  transition: background-color .16s ease, box-shadow .16s ease;
}
body.fansflex-app .ff73-mobile-nav .mobile-more-dropdown .dropdown-item:focus-visible {
  outline: 2px solid var(--ff89-gold, #c89a4d) !important;
  outline-offset: -2px;
  background: var(--ff89-panel-soft, #d9e9f8) !important;
}
body.fansflex-app .ff73-mobile-nav .mobile-more-dropdown .dropdown-item[aria-current="page"] {
  border-inline-start: 3px solid var(--ff89-gold, #c89a4d);
  background: var(--ff89-panel-soft, #d9e9f8) !important;
  font-weight: 750;
}
body.fansflex-app .ff85-command-scroll {
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--ff89-edge-strong, #8fabc4) transparent;
}
body.fansflex-app .ff85-command-item:focus-visible,
body.fansflex-app .ff85-command-close:focus-visible {
  outline: 2px solid var(--ff89-gold, #c89a4d) !important;
  outline-offset: -2px;
}
@media(max-width:767.98px) {
  body.fansflex-app .ff73-mobile-nav .mobile-more-dropdown.show {
    max-height: min(66dvh, calc(100dvh - 128px - env(safe-area-inset-bottom, 0px))) !important;
  }
}
@media(prefers-reduced-motion: reduce) {
  body.fansflex-app .ff73-mobile-nav .mobile-more-dropdown .dropdown-item {
    transition: none !important;
  }
}

/* The v8.5 command palette was always navy, even with Light selected.
   Give Light the approved silver/chrome finish while keeping Night navy. */
html[data-bs-theme="light"] body.fansflex-app .ff85-command-dialog,
html[data-theme="light"] body.fansflex-app .ff85-command-dialog {
  background: var(--ff89-panel-raised, #fff) !important;
  background-image: var(--ff89-metal-soft, linear-gradient(135deg,#fff,#e7f0fa)) !important;
  color: var(--ff89-ink, #18364e) !important;
  border-color: var(--ff89-edge-strong, #92a9c3) !important;
  box-shadow: var(--ff89-shadow-raised, 0 26px 55px #173b6a40) !important;
}
html[data-bs-theme="light"] body.fansflex-app .ff85-command-heading,
html[data-theme="light"] body.fansflex-app .ff85-command-heading {
  background: var(--ff89-metal, linear-gradient(140deg,#fff,#e5effa)) !important;
  border-color: var(--ff89-edge, #9db4c9) !important;
}
html[data-bs-theme="light"] body.fansflex-app .ff85-command-heading strong,
html[data-bs-theme="light"] body.fansflex-app .ff85-command-name,
html[data-theme="light"] body.fansflex-app .ff85-command-heading strong,
html[data-theme="light"] body.fansflex-app .ff85-command-name {
  color: var(--ff89-ink, #18364e) !important;
}
html[data-bs-theme="light"] body.fansflex-app .ff85-command-heading small,
html[data-bs-theme="light"] body.fansflex-app .ff85-command-heading small,
html[data-bs-theme="light"] body.fansflex-app .ff85-command-arrow,
html[data-theme="light"] body.fansflex-app .ff85-command-arrow,
html[data-bs-theme="light"] body.fansflex-app .ff85-command-empty,
html[data-theme="light"] body.fansflex-app .ff85-command-empty {
  color: var(--ff89-muted, #607e98) !important;
}
html[data-bs-theme="light"] body.fansflex-app .ff85-command-query,
html[data-theme="light"] body.fansflex-app .ff85-command-query {
  color: var(--ff89-muted, #607e98) !important;
  border-bottom-color: var(--ff89-edge, #9db4c9) !important;
}
html[data-bs-theme="light"] body.fansflex-app .ff85-command-query input,
html[data-theme="light"] body.fansflex-app .ff85-command-query input {
  color: var(--ff89-ink, #18364e) !important;
}
html[data-bs-theme="light"] body.fansflex-app .ff85-command-query input::placeholder,
html[data-theme="light"] body.fansflex-app .ff85-command-query input::placeholder {
  color: var(--ff89-muted, #607e98) !important;
}
html[data-bs-theme="light"] body.fansflex-app .ff85-command-item,
html[data-theme="light"] body.fansflex-app .ff85-command-item {
  color: var(--ff89-ink, #18364e) !important;
}
html[data-bs-theme="light"] body.fansflex-app .ff85-command-item:is(.ff85-command-selected,:hover,:focus-visible),
html[data-theme="light"] body.fansflex-app .ff85-command-item:is(.ff85-command-selected,:hover,:focus-visible) {
  background: var(--ff89-panel-soft, #e3edf8) !important;
  border-color: var(--ff89-gold, #c89a4d) !important;
}
html[data-bs-theme="light"] body.fansflex-app .ff85-command-close,
html[data-theme="light"] body.fansflex-app .ff85-command-close,
html[data-bs-theme="light"] body.fansflex-app .ff85-command-query kbd,
html[data-theme="light"] body.fansflex-app .ff85-command-query kbd {
  color: var(--ff89-ink, #18364e) !important;
  background: var(--ff89-control, #edf4fc) !important;
  border-color: var(--ff89-edge, #9db4c9) !important;
}
html[data-bs-theme="light"] body.fansflex-app .ff85-command-footer,
html[data-theme="light"] body.fansflex-app .ff85-command-footer {
  color: var(--ff89-muted, #607e98) !important;
  border-color: var(--ff89-edge, #9db4c9) !important;
}
html[data-bs-theme="light"] body.fansflex-app .ff85-command-footer a,
html[data-theme="light"] body.fansflex-app .ff85-command-footer a {
  color: var(--ff89-blue, #145b98) !important;
}
html[data-bs-theme="light"] body.fansflex-app .ff85-command-side,
html[data-theme="light"] body.fansflex-app .ff85-command-side {
  color: var(--ff89-ink, #18364e) !important;
  background: var(--ff89-metal-soft, linear-gradient(140deg,#fff,#e8f1fc)) !important;
  border-color: var(--ff89-edge, #9db4c9) !important;
}
html[data-bs-theme="light"] body.fansflex-app .ff85-command-side kbd,
html[data-theme="light"] body.fansflex-app .ff85-command-side kbd {
  color: #76511d !important;
  background: #f8ebd5 !important;
}
