/* Compact T/F reading navigation. Copy, links and visibility logic stay in the page. */
.patronage-support-page #floating-set,
.patronage-support-page #floating-set.is-lifted {
  --floating-control-width: min(24rem, calc(100vw - 2rem));
  width: var(--floating-control-width);
  max-width: calc(100% - 2rem);
}

.patronage-support-page .fixed-bottom-switcher {
  display: flex;
  align-items: stretch;
  gap: 0.375rem;
  padding: 0.375rem;
  border: 1px solid #d5dfe2;
  border-radius: 1.25rem;
  background: #fff;
  box-shadow: 0 3px 12px rgb(38 66 77 / 8%);
}

.patronage-support-page .fixed-bottom-switcher .toggle-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-width: 0;
  min-height: 3.5rem;
  padding: 0.375rem 0.625rem;
  border: 1px solid transparent;
  border-radius: 0.875rem;
  background: transparent;
  color: #4f6069;
  font-size: 0.9375rem;
  font-weight: 650;
  line-height: 1.3;
  text-align: start;
  white-space: normal;
  word-break: normal;
  overflow-wrap: break-word;
  hyphens: none;
  box-shadow: none;
  transition: background-color 140ms ease, border-color 140ms ease;
}

.patronage-support-page .fixed-bottom-switcher .reading-mode-art {
  display: block;
  flex: 0 0 2.5rem;
  width: 2.5rem;
  height: 2.5rem;
  object-fit: contain;
}

.patronage-support-page .fixed-bottom-switcher .toggle-btn[aria-current="page"] {
  border-color: #a9c2c8;
  background: #eaf2f3;
  color: #264a56;
  box-shadow: inset 0 -2px 0 #4a7480;
}

.patronage-support-page .fixed-bottom-switcher #fixed-toggle-f-btn[aria-current="page"] {
  border-color: #d3bfb0;
  background: #f6f0e9;
  color: #5d493b;
  box-shadow: inset 0 -2px 0 #9d7860;
}

.patronage-support-page .fixed-bottom-switcher .toggle-btn:focus-visible {
  outline: 3px solid #315f79;
  outline-offset: 2px;
}

@media (hover: hover) and (pointer: fine) {
  .patronage-support-page .fixed-bottom-switcher .toggle-btn:hover {
    background: #e5eef5;
    border-color: #98b5c8;
  }
}

@media (max-width: 25em) {
  .patronage-support-page .fixed-bottom-switcher .toggle-btn {
    gap: 0.375rem;
    padding-inline: 0.375rem;
    font-size: 0.875rem;
  }
  .patronage-support-page .fixed-bottom-switcher .reading-mode-art {
    flex-basis: 2.25rem;
    width: 2.25rem;
    height: 2.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .patronage-support-page .fixed-bottom-switcher .toggle-btn { transition: none; }
}

@media (forced-colors: active) {
  .patronage-support-page .fixed-bottom-switcher .toggle-btn[aria-current="page"] {
    border: 2px solid Highlight;
    text-decoration: underline;
  }
}
