.hf-login-box {
  padding: 12px;
}

.hf-user-mini {
  margin-top: 12px;
  padding: 10px 12px;
  background: rgba(12, 26, 56, 0.82);
  border: 2px solid rgba(255, 255, 255, 0.08);
  color: #dce7ff;
}

.hf-user-mini-label,
.hf-user-mini-value {
  display: block;
  font-size: 0.9rem;
}

.hf-user-mini-value {
  margin-top: 4px;
}

/* Top Rank na Home - 3 cards compactos */
.home-ranking-list {
  margin: 6px 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.home-ranking-list .ranking-card {
  padding: 7px 9px;
  gap: 7px;
  border-width: 1.5px;
}

.home-ranking-list .ranking-position {
  font-size: 1rem;
  min-width: 28px;
}

.home-ranking-list .ranking-avatar {
  width: 32px;
  height: 32px;
}

.home-ranking-list .ranking-user-name {
  font-size: 0.82rem;
}

.home-ranking-list .ranking-score-value {
  font-size: 0.9rem;
}

.hf-home-ranking-link {
  display: block;
  margin: 0 10px 12px;
  padding: 10px 12px;
  text-align: center;
  color: #fff8d0;
  text-decoration: none;
  background-color: #3f741f;
  border-left: 5px solid #9ed562;
  border-top: 5px solid #9ed562;
  border-right: 5px solid #1d350d;
  border-bottom: 5px solid #1d350d;
  outline: 2px solid black;
  font-size: 0.92rem;
  font-weight: 900;
  transition:
    transform 0.08s ease,
    filter 0.08s ease;
}

.hf-home-ranking-link:hover {
  filter: brightness(1.04);
}

.hf-home-ranking-link:active {
  transform: translate(2px, 2px);
  border-left: 5px solid #1d350d;
  border-top: 5px solid #1d350d;
  border-right: 5px solid #9ed562;
  border-bottom: 5px solid #9ed562;
}

.hf-content-area {
  min-width: 0;
}

.hf-panel-hero {
  min-height: 360px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hf-hero-inner {
  width: 100%;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hf-panel-shop {
  padding-bottom: 12px;
}

.hf-shop-layout {
  padding: 14px 18px 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  gap: 18px;
  align-items: center;
}

.hf-shop-info h2 {
  margin: 0 0 12px;
  font-size: 2rem;
  color: #f8f2dc;
}

.hf-shop-info p {
  margin: 0 0 14px;
  max-width: 420px;
  font-size: 1rem;
  color: #f0e8c6;
  line-height: 1.5;
}

.hf-shop-items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.hf-shop-item {
  min-height: 114px;
  padding: 10px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to bottom, #466aa5 0%, #35588f 100%);
  border: 2px solid #8ea6cb;
  text-align: center;
}

.hf-shop-icon {
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 10px;
}

.hf-shop-item span {
  font-size: 0.78rem;
  color: #dbe6ff;
  font-weight: 700;
}

.hf-discord-login-btn,
.hf-menu-btn,
.hf-shop-btn,
.hf-discord-btn {
  cursor: pointer;
  width: fit-content;
  height: fit-content;
  padding: 15px;
  background-color: rgb(223, 223, 223);
  border-left: 5px solid white;
  border-top: 5px solid white;
  border-right: 5px solid gray;
  border-bottom: 5px solid gray;
  font-size: 1.02rem;
  font-weight: 900;
  outline: 2px solid black;
  transition:
    transform 0.08s ease,
    filter 0.08s ease;
}

.hf-discord-login-btn:hover,
.hf-menu-btn:hover,
.hf-shop-btn:hover,
.hf-discord-btn:hover {
  filter: brightness(1.04);
}

.hf-discord-login-btn:active,
.hf-menu-btn:active,
.hf-shop-btn:active,
.hf-discord-btn:active {
  transform: translate(2px, 2px);
  border-left: 5px solid gray;
  border-top: 5px solid gray;
  border-right: 5px solid white;
  border-bottom: 5px solid white;
}

.hf-menu-btn {
  min-width: 120px;
  padding: 11px 14px;
  text-align: center;
  font-size: 0.92rem;
  color: #fff5d6;
  background-color: #2c2316;
  border-left-color: #8c6d3b;
  border-top-color: #8c6d3b;
  border-right-color: #120d06;
  border-bottom-color: #120d06;
  outline-color: #000;
}

.hf-menu-btn-active {
  color: #fff;
  background-color: #23953c;
  border-left-color: #73dc82;
  border-top-color: #73dc82;
  border-right-color: #165d25;
  border-bottom-color: #165d25;
}

.hf-discord-login-btn,
.hf-discord-btn {
  width: 100%;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #f8f8ff;
  background: linear-gradient(to bottom, #3a6ad6 0%, #244ba0 100%);
  border-left-color: #7ea1ff;
  border-top-color: #7ea1ff;
  border-right-color: #173063;
  border-bottom-color: #173063;
}

.hf-discord-login-btn-large {
  width: 260px;
  min-height: 70px;
  font-size: 1.15rem;
}

.hf-discord-btn {
  height: 30px;
}

.hf-shop-btn {
  color: #fff8d0;
  background-color: #3f741f;
  border-left-color: #9ed562;
  border-top-color: #9ed562;
  border-right-color: #1d350d;
  border-bottom-color: #1d350d;
}

.hf-user-actions {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hf-user-action-btn {
  width: 100%;
}

.is-hidden {
  display: none !important;
}

@media (max-width: 980px) {
  .hf-panel-hero {
    min-height: 280px;
  }

  .hf-hero-inner {
    min-height: 220px;
  }

  .hf-shop-layout {
    grid-template-columns: 1fr;
  }

  .hf-shop-items {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .hf-panel-hero {
    min-height: 220px;
    padding: 16px;
  }

  .hf-hero-inner {
    min-height: 180px;
  }

  .hf-discord-login-btn-large {
    width: 100%;
    max-width: 280px;
  }

  .hf-shop-info h2 {
    font-size: 1.6rem;
  }

  .hf-shop-items {
    grid-template-columns: 1fr 1fr;
  }
}
