[hidden] {
  display: none !important;
}

.lpe-header,
.lpe-header * {
  box-sizing: border-box;
}

.lpe-header .auth-icon,
.lpe-header .discord-mark {
  display: block;
  width: 16px;
  min-width: 16px;
  height: 16px;
  margin: 0;
  padding: 0;
  flex: 0 0 16px;
  border: 0;
  border-radius: 0;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.lpe-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  max-width: none;
  height: 64px;
  min-height: 64px;
  margin: 0;
  padding: 0 clamp(24px, 4vw, 64px);
  gap: 16px;
  overflow: visible;
  color: var(--lpe-chrome-text, #ececec);
  background: color-mix(
    in srgb,
    var(--lpe-header-bg, #101010) 96%,
    transparent
  );
  border: 0;
  border-bottom: 1px solid var(--lpe-chrome-line, rgba(255, 255, 255, 0.1));
  border-radius: 0;
  backdrop-filter: blur(18px);
  font-family:
    Inter, "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: normal;
  text-align: left;
}

.lpe-header .lpe-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: inherit;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.lpe-header .brand-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  object-fit: cover;
}

.lpe-header nav.lpe-header-actions {
  position: static;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: auto;
  height: auto;
  min-height: 0;
  margin: 0 0 0 auto;
  padding: 0;
  gap: 10px;
  color: inherit;
  background: transparent;
  border: 0;
  font: inherit;
  text-align: left;
}

.lpe-header .lpe-header-button {
  appearance: none;
  position: static;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  max-width: none;
  height: 38px;
  min-height: 38px;
  margin: 0;
  padding: 7px 13px;
  gap: 6px;
  overflow: visible;
  border: 1px solid var(--lpe-chrome-line, rgba(255, 255, 255, 0.12));
  border-radius: 10px;
  color: inherit;
  background: rgba(255, 255, 255, 0.025);
  box-shadow: none;
  font-family: inherit;
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: 20px;
  letter-spacing: normal;
  white-space: nowrap;
  text-align: center;
  text-decoration: none;
  text-transform: none;
  cursor: pointer;
  transform: none;
}

.lpe-header-button:hover {
  background: rgba(255, 255, 255, 0.08);
}

.lpe-header .profile-incomplete {
  color: #fff;
  border-color: #d75a6d;
  background: #a9364b;
}

.lpe-header .profile-incomplete::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ffd5dc;
}

.lpe-header .lpe-discord-join,
.lpe-header .nav-login,
.lpe-header .logged-in,
.lpe-header .discord-login {
  color: #fff;
  border-color: var(--accent, #6d7cff);
  background: var(--accent, #6d7cff);
}

.lpe-header .hidden {
  display: none !important;
}

@media (max-width: 520px) {
  .lpe-header {
    height: 64px;
    min-height: 64px;
    padding-top: 0;
    padding-right: 14px;
    padding-bottom: 0;
    gap: 8px;
  }

  .lpe-header .lpe-brand {
    font-size: 0.88rem;
  }

  .lpe-header .brand-icon {
    width: 30px;
    height: 30px;
  }

  .lpe-header .lpe-header-button {
    width: auto;
    height: 40px;
    min-height: 40px;
    margin: 0;
    padding: 9px;
    font-size: 13px;
    line-height: 20px;
  }

  .lpe-header .lpe-discord-join .join-label {
    display: none;
  }

  .lpe-header .profile-label {
    font-size: 0;
  }

  .lpe-header .profile-label::after {
    content: "設定";
    font-size: 13px;
  }

  .lpe-header .profile-incomplete .profile-label::after {
    content: "プロフィール";
  }
}
