/* RuniverseHub · PRIVATE-FOOTER-CLOSURE-4.1 */
.rh-v2-private-footer {
  --rh-private-footer-accent: #38d7ff;
  width: 100%;
  margin-top: clamp(2rem, 5vw, 3.5rem);
  border-top: 1px solid rgba(148, 174, 194, .12);
  background: linear-gradient(180deg, rgba(3, 12, 20, .08), rgba(3, 10, 17, .48));
  color: #dce8f1;
  font-family: inherit;
}

.rh-v2-private-footer[data-rh-private-footer-space="athlete"],
.rh-v2-private-footer[data-rh-private-footer-space="account"] { --rh-private-footer-accent: #55e6a5; }
.rh-v2-private-footer[data-rh-private-footer-space="organizer"] { --rh-private-footer-accent: #38d7ff; }
.rh-v2-private-footer[data-rh-private-footer-space="team"] { --rh-private-footer-accent: #5ec8ff; }
.rh-v2-private-footer[data-rh-private-footer-space="admin"] { --rh-private-footer-accent: #72d6ff; }

.rh-v2-private-footer *,
.rh-v2-private-footer *::before,
.rh-v2-private-footer *::after { box-sizing: border-box; }

.rh-v2-private-footer__inner {
  display: flex;
  width: 100%;
  min-height: 4.2rem;
  align-items: center;
  gap: 1rem 1.4rem;
  padding: .85rem clamp(.25rem, 1vw, .7rem);
}

.rh-v2-private-footer__brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: .58rem;
  color: #f2f8fb;
  text-decoration: none;
  white-space: nowrap;
}

.rh-v2-private-footer__mark {
  display: grid;
  width: 1.9rem;
  height: 1.9rem;
  flex: 0 0 1.9rem;
  place-items: center;
  overflow: hidden;
  padding: .08rem;
  border: 1px solid color-mix(in srgb, var(--rh-private-footer-accent) 26%, transparent);
  border-radius: .68rem;
  background: #030b15;
  box-shadow: 0 7px 18px color-mix(in srgb, var(--rh-private-footer-accent) 10%, transparent);
}

.rh-v2-private-footer__mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.rh-v2-private-footer__brand strong {
  font-size: .9rem;
  font-weight: 800;
  letter-spacing: -.025em;
}

.rh-v2-private-footer__brand strong span { color: var(--rh-private-footer-accent); }

.rh-v2-private-footer__nav {
  display: flex;
  min-width: 0;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  gap: .45rem 1rem;
  flex-wrap: wrap;
}

.rh-v2-private-footer__nav a {
  color: #93a8b7;
  font-size: .74rem;
  font-weight: 700;
  text-decoration: none;
  transition: color .16s ease;
}

.rh-v2-private-footer__nav a:hover,
.rh-v2-private-footer__nav a:focus-visible { color: var(--rh-private-footer-accent); }

.rh-v2-private-footer__copy {
  flex: 0 0 auto;
  color: #718593;
  font-size: .69rem;
  white-space: nowrap;
}

@media (max-width: 44rem) {
  .rh-v2-private-footer { margin-top: 1.7rem; }
  .rh-v2-private-footer__inner {
    min-height: 0;
    align-items: flex-start;
    flex-direction: column;
    gap: .7rem;
    padding: .9rem .2rem calc(4.75rem + env(safe-area-inset-bottom));
  }
  .rh-v2-private-footer__nav { justify-content: flex-start; }
  .rh-v2-private-footer__copy { white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
  .rh-v2-private-footer__nav a { transition: none; }
}
