/* Top bar estilo HotHotPepper — layout horizontal (NSFW Nation red) */

.home-top-hhp {
  display: flex;
  align-items: center;
  gap: 0.55rem 0.75rem;
  min-height: 3.55rem;
  padding: 0.45rem 0.75rem;
  box-sizing: border-box;
}

.home-top-hhp__menu {
  flex: 0 0 auto;
}

.home-top-hhp__logo {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.home-top-hhp__wordmark {
  display: block;
  height: 2.15rem;
  width: auto;
  max-width: min(42vw, 11.5rem);
  object-fit: contain;
  object-position: left center;
}

.home-top-hhp__logo .site-brand-logo--header .site-brand-logo__mark {
  width: 2.35rem;
  height: 2.35rem;
}

.home-top-hhp__nav {
  display: none;
  align-items: center;
  flex: 1 1 auto;
  gap: 0.15rem 0.35rem;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.home-top-hhp__nav::-webkit-scrollbar {
  display: none;
}

.home-top-hhp__link {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  flex: 0 0 auto;
  margin: 0;
  padding: 0.4rem 0.55rem;
  border: 0;
  border-radius: 0.55rem;
  background: transparent;
  color: #f0eeec;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.15;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.home-top-hhp__link .material-symbols-outlined {
  font-size: 1.15rem;
  color: #ff1f33;
  font-variation-settings: "FILL" 0, "wght" 500;
}

.home-top-hhp__link:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.home-top-hhp__pill {
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: rgba(220, 20, 38, 0.28);
  border: 1px solid rgba(220, 20, 38, 0.35);
}

.home-top-hhp__pill:hover {
  background: rgba(220, 20, 38, 0.42);
}

.home-top-hhp__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.45rem;
  flex: 0 0 auto;
  margin-left: auto;
}

.home-top-hhp__user {
  display: none;
  align-items: center;
  gap: 0.65rem;
  max-width: 17.5rem;
  padding: 0.35rem 0.4rem 0.35rem 0.7rem;
  border: 1.5px solid rgba(220, 20, 38, 0.55);
  border-radius: 0;
  background:
    linear-gradient(135deg, rgba(220, 20, 38, 0.18), transparent 48%),
    linear-gradient(180deg, #161214 0%, #0c0a0b 100%);
  box-shadow:
    3px 3px 0 rgba(90, 0, 10, 0.45),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.home-top-hhp__user-main {
  min-width: 0;
}

.home-top-hhp__user-email {
  margin: 0;
  color: #fff;
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-top-hhp__user-id-row {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  min-width: 0;
  margin-top: 0.12rem;
}

.home-top-hhp__user-id {
  color: rgba(240, 238, 236, 0.48);
  font-size: 0.6rem;
  font-weight: 650;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-top-hhp__user-copy {
  appearance: none;
  display: inline-grid;
  place-items: center;
  width: 1.3rem;
  height: 1.3rem;
  padding: 0;
  border: 1px solid rgba(220, 20, 38, 0.4);
  border-radius: 0;
  background: rgba(220, 20, 38, 0.12);
  color: rgba(240, 238, 236, 0.78);
  cursor: pointer;
  transition: background 0.14s ease, color 0.14s ease;
}

.home-top-hhp__user-copy .material-symbols-outlined {
  font-size: 0.88rem;
}

.home-top-hhp__user-copy:hover {
  color: #fff;
  background: rgba(220, 20, 38, 0.28);
}

.home-top-hhp__logout {
  appearance: none;
  flex: 0 0 auto;
  min-height: 2rem;
  padding: 0.35rem 0.7rem;
  border: 0;
  border-radius: 0;
  background: #dc1426;
  color: #0a0a0c;
  font: inherit;
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: 2px 2px 0 rgba(90, 0, 10, 0.5);
  cursor: pointer;
  transition: transform 0.12s ease, background 0.12s ease;
}

.home-top-hhp__logout:hover {
  background: #ff1f33;
}

.home-top-hhp__logout:active {
  transform: translate(1px, 1px);
  box-shadow: 1px 1px 0 rgba(90, 0, 10, 0.5);
}

.home-top-hhp__entrar,
#home-login-entry-button.home-top-hhp__entrar,
#home-login-entry-button.home-login-entry-button.home-top-hhp__entrar {
  min-height: 2.15rem !important;
  padding: 0.4rem 0.85rem !important;
  border: 1.5px solid #dc1426 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #fff !important;
  font-size: 0.72rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  box-shadow: none !important;
}

.home-top-hhp__entrar:hover,
#home-login-entry-button.home-top-hhp__entrar:hover {
  background: rgba(220, 20, 38, 0.14) !important;
  filter: none !important;
}

.home-top-hhp__cadastrar,
#home-signup-entry-button.home-top-hhp__cadastrar {
  appearance: none;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 2.15rem !important;
  padding: 0.4rem 0.9rem !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #dc1426 !important;
  color: #fff !important;
  font: inherit;
  font-size: 0.72rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  cursor: pointer;
  box-shadow: 3px 3px 0 rgba(90, 0, 10, 0.45) !important;
}

.home-top-hhp__cadastrar:hover,
#home-signup-entry-button.home-top-hhp__cadastrar:hover {
  filter: brightness(1.08);
  background: #ff1f33 !important;
}

.home-top-hhp__cadastrar:active,
#home-signup-entry-button.home-top-hhp__cadastrar:active {
  transform: translate(1px, 1px);
  box-shadow: 2px 2px 0 rgba(90, 0, 10, 0.45) !important;
}

.home-top-hhp__coins {
  border-radius: 0.55rem !important;
}

body.user-logged-in .home-top-hhp__cadastrar,
body.user-logged-in .home-top-hhp__entrar {
  display: none !important;
}

body.user-logged-in .home-top-hhp__user {
  display: inline-flex;
}

body:not(.user-logged-in) .home-top-hhp__link--auth {
  display: none !important;
}

@media (min-width: 901px) {
  .home-top-hhp {
    gap: 0.65rem 0.9rem;
    padding: 0.45rem 1rem 0.45rem 0.85rem;
  }

  .home-top-hhp__menu {
    display: none !important;
  }

  .home-top-hhp__nav {
    display: flex;
  }

  .home-top-hhp__wordmark {
    height: 2.45rem;
    max-width: 13.5rem;
  }

  .home-top-hhp__logo .site-brand-logo--header .site-brand-logo__mark {
    width: 2.55rem;
    height: 2.55rem;
  }
}

@media (min-width: 1200px) {
  .home-top-hhp__link {
    font-size: 0.82rem;
    padding: 0.42rem 0.65rem;
  }

  .home-top-hhp__user {
    max-width: 18rem;
  }
}

@media (max-width: 900px) {
  .home-top-hhp__nav,
  .home-top-hhp__user {
    display: none !important;
  }

  .home-top-hhp__cadastrar {
    display: none;
  }

  body.user-logged-in .home-top-hhp__cadastrar {
    display: none !important;
  }
}
