/* Neutral smoked glass lets the supplied orange-and-white logo stand apart. */
.fenext-credit {
  --fenext-label-width: 44px;
  --fenext-label-height: 112px;
  --fenext-logo-length: 78px;
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 40;
  width: 44px;
  height: var(--fenext-label-height);
  display: flex;
  justify-content: flex-end;
  align-items: center;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.fenext-credit__label {
  position: relative;
  display: block;
  width: var(--fenext-label-width);
  height: var(--fenext-label-height);
  background: linear-gradient(140deg, #ffffff26, #ffffff05 45%, #ffffff0d), #202224a6;
  -webkit-backdrop-filter: blur(16px) saturate(1.1);
  backdrop-filter: blur(16px) saturate(1.1);
  border: 1px solid #ffffff70;
  border-right: 0;
  border-radius: 11px 0 0 11px;
  box-shadow: inset 1px 1px 0 #ffffff38, inset 0 -1px 0 #00000012, -3px 4px 16px #11121429;
  transition: background-color .18s, border-color .18s, box-shadow .18s;
}

.fenext-credit__label img {
  display: block;
  position: absolute;
  top: 50%;
  left: calc(50% - .5px);
  width: var(--fenext-logo-length);
  height: auto;
  aspect-ratio: 1024 / 444;
  object-fit: contain;
  max-width: none;
  transform: translate(-50%, -50%) rotate(-90deg);
  filter: drop-shadow(0 1px 1px #00000059);
}

.fenext-credit:hover .fenext-credit__label,
.fenext-credit:focus-visible .fenext-credit__label {
  background-color: #202224bf;
  border-color: #ffffffa6;
  box-shadow: inset 1px 1px 0 #ffffff4d, inset 0 -1px 0 #00000012, -3px 5px 18px #11121433;
}

.fenext-credit:focus-visible {
  outline: 2px solid #f77a19;
  outline-offset: 3px;
  border-radius: 11px 0 0 11px;
}

body:has(dialog[open]) .fenext-credit,
body:has(#mainnav.open) .fenext-credit {
  visibility: hidden;
  pointer-events: none;
}

@media (max-width: 760px) {
  .fenext-credit {
    --fenext-label-width: 33px;
    --fenext-label-height: 88px;
    --fenext-logo-length: 55px;
  }

  .fenext-credit__label {
    border-radius: 8px 0 0 8px;
  }
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .fenext-credit__label {
    background: #393b3e;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .fenext-credit__label,
  .fenext-credit:hover .fenext-credit__label,
  .fenext-credit:focus-visible .fenext-credit__label {
    background: #303235;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fenext-credit__label {
    transition: none;
  }
}

@media print {
  .fenext-credit {
    display: none;
  }
}
