.dhn-feedback-link {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:9px 15px;
  color:#fff;
  background:#5d7ea8;
  border:0;
  border-radius:10px;
  font:inherit;
  font-weight:800;
  text-decoration:none;
  cursor:pointer;
  transition:transform .18s ease,background .18s ease,box-shadow .18s ease;
}

.dhn-feedback-link:hover,
.dhn-feedback-link:focus-visible {
  color:#fff;
  background:#6e8fb8;
  box-shadow:0 4px 12px rgba(93,126,168,.25);
  transform:translateY(-1px);
}

.dhn-floating-feedback {
  position:fixed;
  right:16px;
  bottom:max(16px,env(safe-area-inset-bottom));
  z-index:1000;
  min-height:44px;
  padding-inline:17px;
  border:1px solid rgba(216,168,77,.45);
  border-radius:999px;
  box-shadow:0 7px 22px rgba(0,0,0,.38);
}

body {
  padding-bottom:max(76px,calc(60px + env(safe-area-inset-bottom)));
}

.starpath-page-nav {
  position:relative;
  z-index:40;
  display:flex;
  align-items:center;
  flex:0 0 auto;
  gap:10px;
  margin-left:auto;
  padding-left:10px;
}

body .brand-mark {
  color:#d8a84d !important;
  background:#1d1d1d !important;
  border:1px solid #d8a84d !important;
  border-radius:50% !important;
  box-shadow:0 4px 12px rgba(0,0,0,.18);
  transform:none !important;
}

.starpath-nav-icon {
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  flex:0 0 42px;
  padding:0;
  overflow:hidden;
  color:#d8a84d;
  background:#1d1d1d;
  border:1px solid #3a3a3a;
  border-radius:50%;
  box-shadow:0 5px 15px rgba(0,0,0,.22);
  cursor:pointer;
  text-decoration:none;
  transition:transform .2s ease,border-color .2s ease,background .2s ease,box-shadow .2s ease;
}

.starpath-nav-icon:hover,
.starpath-nav-icon:focus-visible {
  background:#252525;
  border-color:#d8a84d;
  box-shadow:0 0 14px rgba(216,168,77,.25);
  transform:scale(1.07);
}

.starpath-level-icon {
  border-color:#d8a84d;
}

.starpath-level-icon svg {
  width:23px;
  height:23px;
  fill:#d8a84d;
  stroke:#d8a84d;
  stroke-width:1.5;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.starpath-level-icon .path-line {
  fill:none;
}

.starpath-home-icon img {
  width:100%;
  height:100%;
  display:block;
  aspect-ratio:1 / 1;
  object-fit:contain;
}

body > .starpath-page-nav {
  position:fixed;
  top:max(12px,env(safe-area-inset-top));
  right:max(12px,env(safe-area-inset-right));
}

@media (max-width:640px) {
  .dhn-floating-feedback {
    right:10px !important;
    left:auto !important;
    bottom:max(10px,env(safe-area-inset-bottom));
    max-width:calc(100vw - 20px);
    min-height:38px;
    padding-inline:11px;
    font-size:.78rem;
  }

  .starpath-page-nav {
    position:fixed !important;
    top:10px !important;
    right:10px !important;
    left:auto !important;
    width:88px;
    justify-content:flex-end;
    gap:8px;
    margin:0;
    padding-left:8px;
  }

  .starpath-nav-icon {
    width:40px;
    height:40px;
    flex-basis:40px;
  }

  .starpath-nav-ready header .brand small {
    display:none;
  }

  .starpath-nav-ready header .brand .brand-mark ~ span,
  .starpath-nav-ready header .brand b {
    display:none;
  }

  .starpath-nav-ready header .brand {
    grid-template-columns:40px !important;
    flex:0 0 40px;
    min-width:40px;
  }
}
