.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(82, 112, 145, 0.46);
  background: rgba(9, 14, 20, 0.88);
  color: #e8edf3;
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 36px rgb(0 0 0 / 22%);
}

.site-nav-inner {
  width: min(1180px, 94vw);
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.site-brand-cluster {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: #e8edf3;
  text-decoration: none;
}

.site-logo {
  width: 44px;
  height: 44px;
  display: block;
  flex: 0 0 auto;
}

.site-wordmark {
  display: block;
  font-size: 1.62rem;
  line-height: 1;
  font-weight: 850;
  letter-spacing: 0;
}

.site-brand-note {
  display: block;
  margin-top: 4px;
  color: #9fb2c7;
  font-size: 0.66rem;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.site-claim-check {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  border: 1px solid rgba(143, 163, 186, 0.34);
  border-radius: 999px;
  padding: 3px 4px 3px 10px;
  background: rgba(255, 255, 255, 0.045);
  box-sizing: border-box;
}

.site-claim-check:focus-within {
  border-color: rgba(212, 169, 75, 0.58);
  background: rgba(212, 169, 75, 0.08);
}

.site-claim-check label {
  color: #9fb2c7;
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-claim-input {
  width: 96px;
  min-width: 0;
  border: 0;
  border-left: 1px solid rgba(143, 163, 186, 0.22);
  border-radius: 0 999px 999px 0;
  padding: 4px 7px 4px 9px;
  background: transparent;
  color: #e8edf3;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  line-height: 1;
  outline: none;
  text-transform: uppercase;
}

.site-claim-input::placeholder {
  color: #7f91a5;
  letter-spacing: 0;
  opacity: 1;
  text-transform: none;
}

.site-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  flex-wrap: wrap;
}

.site-links a {
  color: #c7d4e3;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 9px 10px;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.site-links a:hover,
.site-links a[aria-current="page"] {
  color: #fff;
  border-color: rgba(212, 169, 75, 0.42);
  background: rgba(255, 255, 255, 0.06);
}

.site-adventure {
  position: relative;
  display: inline-flex;
  margin-left: 6px;
}

.site-nav-cta {
  margin-left: 6px;
  border: 1px solid #d4a94b;
  border-radius: 8px;
  padding: 9px 12px;
  color: #0b1117 !important;
  border-color: #d4a94b !important;
  background: #d4a94b !important;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 850;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 10px 24px rgb(212 169 75 / 18%);
}

.site-adventure .site-nav-cta {
  display: inline-flex;
  align-items: center;
  margin-left: 0;
  list-style: none;
  cursor: pointer;
  user-select: none;
}

.site-adventure .site-nav-cta::-webkit-details-marker {
  display: none;
}

.site-nav-cta:hover {
  opacity: 0.9;
}

.site-adventure-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 80;
  min-width: 220px;
  padding: 10px;
  border: 1px solid rgba(82, 112, 145, 0.7);
  border-radius: 8px;
  background: #101821;
  box-shadow: 0 16px 32px rgb(0 0 0 / 32%);
}

.site-adventure-label {
  display: block;
  padding: 3px 8px 8px;
  color: #d4a94b;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.site-adventure-menu a {
  display: block;
  border: 0;
  border-radius: 6px;
  padding: 9px 8px;
  color: #e8edf3;
  text-decoration: none;
  font-size: 0.86rem;
  line-height: 1.1;
}

.site-adventure-menu a:hover {
  background: rgba(255, 255, 255, 0.08);
}

.site-auth {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 6px;
}

.site-auth-menu-wrap {
  position: relative;
  display: inline-flex;
}

.site-auth-menu-wrap[hidden] {
  display: none;
}

.site-auth-profile {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 2px 7px 2px 2px;
  max-width: 140px;
  min-height: 34px;
  background: transparent;
  color: #e8edf3;
  cursor: pointer;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1;
}

.site-auth-profile:hover,
.site-auth-profile[aria-expanded="true"] {
  border-color: rgba(212, 169, 75, 0.42);
  background: rgba(255, 255, 255, 0.06);
}

.site-auth-avatar,
.site-auth-initial {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  flex: 0 0 auto;
  border: 1px solid rgba(212, 169, 75, 0.5);
  box-shadow: 0 0 0 2px rgb(255 255 255 / 4%);
}

.site-auth-avatar {
  display: block;
  object-fit: cover;
}

.site-auth-initial {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #2e405a, #151f2d);
  color: #d4a94b;
}

.site-auth-avatar[hidden],
.site-auth-initial[hidden] {
  display: none;
}

.site-auth-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-auth-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 188px;
  padding: 6px;
  border: 1px solid rgba(82, 112, 145, 0.7);
  border-radius: 8px;
  background: #101821;
  box-shadow: 0 16px 32px rgb(0 0 0 / 32%);
}

.site-auth-menu[hidden] {
  display: none;
}

.site-auth-admin-links {
  display: block;
  padding-bottom: 5px;
  margin-bottom: 5px;
  border-bottom: 1px solid rgba(82, 112, 145, 0.46);
}

.site-auth-menu-btn,
.site-auth-menu-link {
  width: 100%;
  border: 0;
  border-radius: 6px;
  box-sizing: border-box;
  display: block;
  padding: 8px 10px;
  background: transparent;
  color: #e8edf3;
  cursor: pointer;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 800;
  text-align: left;
  text-decoration: none;
  white-space: nowrap;
}

.site-auth-menu-btn:hover,
.site-auth-menu-link:hover {
  background: rgba(255, 255, 255, 0.08);
}

.site-auth-status {
  max-width: 190px;
  color: #9fb2c7;
  font-size: 0.76rem;
  font-weight: 650;
  line-height: 1.2;
}

.site-auth-status[hidden] {
  display: none;
}

.site-auth-btn {
  border: 1px solid rgba(143, 163, 186, 0.46);
  border-radius: 8px;
  padding: 8px 10px;
  background: #151f2d;
  color: #e8edf3;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
}

.site-auth-btn:hover {
  border-color: rgba(212, 169, 75, 0.5);
}

.site-auth-btn[hidden] {
  display: none;
}

.site-footer {
  border-top: 1px solid rgba(82, 112, 145, 0.32);
  margin-bottom: 86px;
  background: rgba(9, 14, 20, 0.72);
  color: #e8edf3;
}

.site-footer-inner {
  width: min(1180px, 94vw);
  margin: 0 auto;
  padding: 28px 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.site-footer-brand {
  color: #d4a94b;
  text-decoration: none;
  font-size: 1.04rem;
  font-weight: 900;
}

.site-footer-note {
  margin: 4px 0 0;
  color: #9fb2c7;
  font-size: 0.82rem;
  line-height: 1.45;
}

.site-footer-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  flex-wrap: wrap;
}

.site-footer-links a {
  color: #c7d4e3;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 8px 9px;
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1;
}

.site-footer-links a:hover {
  color: #fff;
  border-color: rgba(212, 169, 75, 0.42);
  background: rgba(255, 255, 255, 0.06);
}

.site-fixed-actions {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 90;
  display: flex;
  align-items: flex-end;
  gap: 24px;
  padding: 16px 18px;
  border: 1px solid rgba(82, 112, 145, 0.56);
  border-radius: 14px;
  background: rgba(9, 14, 20, 0.88);
  box-shadow: 0 18px 42px rgb(0 0 0 / 34%);
  backdrop-filter: blur(16px);
}

.site-fixed-btn {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 112px;
  min-height: 38px;
  border: 1px solid rgba(143, 163, 186, 0.46);
  border-radius: 8px;
  padding: 7.5px 17px;
  background: #151f2d;
  color: #e8edf3;
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 850;
  line-height: 1;
  white-space: nowrap;
}

.site-fixed-btn:hover {
  border-color: rgba(212, 169, 75, 0.5);
}

.site-fixed-adventure {
  margin-left: 0;
}

.site-fixed-adventure .site-nav-cta {
  margin-left: 0;
  min-width: 150px;
  padding: 7.5px 18px;
}

.site-fixed-adventure .site-adventure-menu {
  top: auto;
  bottom: calc(100% + 8px);
  right: 0;
}

@media (max-width: 840px) {
  .site-nav-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 12px 0;
  }

  .site-brand-cluster {
    width: 100%;
    justify-content: space-between;
  }

  .site-links {
    width: 100%;
    justify-content: flex-start;
  }

  .site-auth {
    margin-left: 0;
  }

  .site-adventure {
    margin-left: 0;
  }

  .site-auth-status {
    max-width: none;
  }
}

@media (max-width: 560px) {
  .site-nav-inner {
    width: min(100% - 24px, 1180px);
  }

  .site-links a {
    padding: 8px 9px;
    font-size: 0.84rem;
  }

  .site-adventure {
    width: 100%;
  }

  .site-adventure .site-nav-cta {
    justify-content: center;
    width: 100%;
  }

  .site-adventure-menu {
    left: 0;
    right: auto;
    width: min(100%, 260px);
  }

  .site-auth-status {
    width: 100%;
    order: 2;
  }

  .site-wordmark {
    font-size: 1.45rem;
  }

  .site-brand-note {
    margin-top: 3px;
    max-width: 132px;
    font-size: 0.58rem;
    line-height: 1.15;
  }

  .site-brand-cluster {
    align-items: center;
    gap: 10px;
  }

  .site-claim-check {
    flex: 0 1 auto;
  }

  .site-claim-check label {
    max-width: 96px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .site-footer-inner {
    width: min(100% - 24px, 1180px);
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer-links {
    justify-content: flex-start;
  }

  .site-fixed-actions {
    right: 14px;
    bottom: 14px;
    max-width: calc(100vw - 28px);
    gap: 14px;
    padding: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .site-fixed-btn {
    min-width: 104px;
    min-height: 36px;
    padding: 6.5px 12px;
  }

  .site-fixed-adventure {
    width: auto;
  }

  .site-fixed-adventure .site-nav-cta {
    width: auto;
    min-width: 144px;
  }

  .site-fixed-adventure .site-adventure-menu {
    left: auto;
    right: 0;
    width: min(260px, calc(100vw - 24px));
  }
}
