/* Castle HUD and Nate-art navigation refresh. */
.brand {
  gap: 10px;
  min-width: max-content;
}

.topbar .brand-icon {
  display: block;
  width: 43px;
  height: 43px;
  object-fit: contain;
  filter: drop-shadow(0 2px 5px #000a);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.brand-wordmark {
  display: block;
  width: 124px;
  height: auto;
}

.brand-copy small {
  margin-top: 2px;
  margin-left: 4px;
}

.topbar nav {
  gap: 10px;
}

.quiet {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 3px 4px 3px 8px;
  border: 1px solid transparent;
  border-radius: 22px;
  background: #12101978;
}

.quiet:hover,
.quiet:focus-visible {
  border-color: #ffffff26;
  background: #191526d9;
}

.quiet .nav-label {
  margin: 0;
  color: inherit;
}

.nav-art-icon {
  display: block;
  width: 34px;
  height: 34px;
  margin: 0;
  border: 1px solid #f3d27a80;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 0 11px #e2ef8830;
}

.nav-art-character {
  object-fit: contain;
  background: #f5f0ed;
  padding: 2px;
}

.room-label {
  top: 82px;
  gap: 5px;
  padding: 10px 12px;
  border: 1px solid #ffffff18;
  border-radius: 10px;
  background: #11101acc;
  box-shadow: 0 8px 28px #0004;
  backdrop-filter: blur(5px);
}

.room-label strong {
  font-size: 22px;
}

.room-key-count {
  display: flex;
  align-items: center;
  gap: 5px;
  min-height: 25px;
}

.room-key-count .key-art-currency {
  width: 17px;
  height: 24px;
}

.resident-total {
  position: static;
  display: flex;
  flex-direction: column;
  gap: 3px;
  max-width: none;
  margin-top: 2px;
  padding-top: 7px;
  border-top: 1px solid #ffffff16;
  font-size: 9px;
  color: #bfc4a6;
}

.player-health {
  top: 224px;
}

@media (max-width: 650px) {
  .brand {
    gap: 5px;
  }

  .topbar .brand-icon {
    width: 31px;
    height: 31px;
  }

  .brand-wordmark {
    width: 84px;
  }

  .brand-copy small {
    margin-top: 1px;
    font-size: 6px;
    letter-spacing: 1.6px;
  }

  .topbar nav {
    gap: 3px;
  }

  .quiet {
    padding: 2px;
    border-radius: 50%;
  }

  .quiet .nav-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .nav-art-icon {
    width: 27px;
    height: 27px;
  }

  .topbar .round {
    width: 29px;
    height: 29px;
  }

  .room-label {
    top: 64px;
    left: 20px;
    gap: 3px;
    padding: 8px 10px;
  }

  .room-label strong {
    font-size: 18px;
  }

  .room-key-count {
    min-height: 21px;
  }

  .room-key-count .key-art-currency {
    width: 15px;
    height: 21px;
  }

  .resident-total {
    padding-top: 5px;
    font-size: 8px;
  }

  .player-health {
    top: 194px;
  }
}
