.wf-profile-nav-item {
  display: flex;
  align-items: center;
}

.wf-profile-nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px !important;
}

.wf-profile-nav-toggle::after {
  margin-left: 2px;
}

.wf-profile-nav-avatar-ring,
.wf-profile-nav-summary-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffed00 0%, #d1bb90 100%);
  padding: 3px;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.28);
}

.wf-profile-nav-avatar-ring {
  width: 52px;
  height: 52px;
}

.wf-profile-nav-avatar,
.wf-profile-nav-summary-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  background: #111612;
}

.wf-profile-nav-points-badge {
  position: absolute;
  right: -6px;
  top: -5px;
  min-width: 24px;
  height: 24px;
  padding: 0 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 2px solid #111612;
  background: linear-gradient(135deg, #ffed00 0%, #d1bb90 100%);
  color: #111612;
  font-size: 1.1rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.01em;
  box-shadow: 0 8px 14px rgba(0, 0, 0, 0.24);
}

.wf-profile-nav-menu {
  min-width: 290px;
  padding: 0;
  border: 1px solid rgba(209, 187, 144, 0.55);
  background: #111612;
  overflow: hidden;
  box-shadow: 0 20px 34px rgba(0, 0, 0, 0.35);
}

.wf-profile-nav-menu .dropdown-divider {
  margin: 0;
  border-color: rgba(209, 187, 144, 0.2);
}

.wf-profile-nav-menu .dropdown-item {
  padding: 0.95rem 1.2rem;
  color: #f6efdd;
  font-size: 1.5rem;
}

.wf-profile-nav-menu .dropdown-item:hover,
.wf-profile-nav-menu .dropdown-item:focus,
.wf-profile-nav-menu .dropdown-item.active {
  background: rgba(255, 237, 0, 0.12);
  color: #ffed00;
}

.wf-profile-signout-item {
  font-weight: 800;
}

.wf-profile-nav-summary {
  padding: 1.25rem;
  background: linear-gradient(180deg, rgba(31, 35, 31, 0.98) 0%, rgba(17, 22, 18, 1) 100%);
}

.wf-profile-nav-summary-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.wf-profile-nav-summary-avatar {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
}

.wf-profile-nav-name {
  color: #fff8e5;
  font-size: 1.65rem;
  font-weight: 800;
  line-height: 1.2;
}

.wf-profile-nav-tier {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  color: #d1bb90;
  font-size: 1.35rem;
  font-weight: 700;
}

.wf-profile-nav-points-total {
  margin-top: 14px;
  color: #ffed00;
  font-size: 1.85rem;
  font-weight: 800;
}

.wf-points-league-section {
  padding: 96px 0;
  background:
    radial-gradient(circle at top right, rgba(255, 237, 0, 0.12), transparent 28%),
    linear-gradient(180deg, #111612 0%, #0c100d 100%);
}

.wf-points-league-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 36px;
}

.wf-points-league-kicker {
  margin: 0 0 10px;
  color: #ffed00;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.wf-points-league-title {
  margin: 0 0 12px;
  color: #fff8e5;
  font-size: clamp(2.5rem, 4vw, 3.4rem);
  font-weight: 800;
}

.wf-points-league-copy {
  max-width: 720px;
  margin: 0;
  color: #d8ccb3;
  font-size: 1.6rem;
  line-height: 1.7;
}

.wf-points-league-note {
  max-width: 360px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 237, 0, 0.34);
  border-radius: 18px;
  background: rgba(255, 237, 0, 0.08);
  color: #f6efdd;
  font-size: 1.45rem;
  line-height: 1.6;
}

.wf-points-league-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.wf-points-board {
  border: 1px solid rgba(209, 187, 144, 0.38);
  border-radius: 24px;
  background: rgba(16, 20, 17, 0.95);
  box-shadow: 0 22px 36px rgba(0, 0, 0, 0.26);
  overflow: hidden;
}

.wf-points-board-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px 16px;
  border-bottom: 1px solid rgba(209, 187, 144, 0.14);
}

.wf-points-board-head h3 {
  margin: 0;
  color: #fff8e5;
  font-size: 2rem;
  font-weight: 800;
}

.wf-points-board-sub {
  color: #d1bb90;
  font-size: 1.3rem;
  font-weight: 700;
}

.wf-points-board-list {
  padding: 10px 12px 12px;
}

.wf-points-row {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 14px 12px;
  border-radius: 18px;
  color: #f6efdd;
}

.wf-points-row + .wf-points-row {
  margin-top: 6px;
}

.wf-points-row:hover {
  background: rgba(255, 255, 255, 0.03);
}

.wf-points-row-link {
  text-decoration: none;
}

.wf-points-rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 237, 0, 0.14) 0%, rgba(209, 187, 144, 0.28) 100%);
  color: #ffed00;
  font-size: 1.6rem;
  font-weight: 800;
}

.wf-points-entity {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.wf-points-entity-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(209, 187, 144, 0.7);
  flex-shrink: 0;
  background: #101410;
}

.wf-points-entity-copy {
  min-width: 0;
}

.wf-points-entity-name {
  color: #fff8e5;
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wf-points-entity-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
  color: #cbbfa7;
  font-size: 1.2rem;
}

.wf-points-score {
  color: #ffed00;
  font-size: 1.55rem;
  font-weight: 800;
  white-space: nowrap;
}

.wf-points-tier-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.wf-tier-badge {
  background: rgba(209, 187, 144, 0.16);
  color: #d1bb90;
}

.wf-tier-medal {
  background: rgba(223, 229, 235, 0.14);
  color: #eef2f6;
}

.wf-tier-trophy {
  background: rgba(255, 237, 0, 0.14);
  color: #ffed00;
}

.wf-points-empty-state {
  padding: 24px;
  color: #d8ccb3;
  font-size: 1.55rem;
  line-height: 1.7;
}

.wf-points-empty-state .btn {
  font-size: 1.45rem;
}

.wf-points-flash-shell {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 82px 18px 18px;
  z-index: 1200;
  pointer-events: none;
}

.wf-points-flash {
  position: relative;
  width: min(560px, 100%);
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(23, 28, 22, 0.98) 0%, rgba(10, 14, 11, 0.98) 100%);
  border: 1px solid rgba(255, 237, 0, 0.45);
  box-shadow: 0 28px 44px rgba(0, 0, 0, 0.42);
  overflow: hidden;
  pointer-events: auto;
  animation: wfPointsFlashIn 0.6s cubic-bezier(.2, .9, .2, 1) both;
}

.wf-points-flash.is-hiding {
  animation: wfPointsFlashOut 0.35s ease-in both;
}

.wf-points-flash::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 237, 0, 0.18) 45%, transparent 65%);
  transform: translateX(-130%);
  animation: wfPointsFlashShine 2.4s ease-in-out 0.25s both;
  pointer-events: none;
}

.wf-points-flash-body {
  position: relative;
  padding: 26px 26px 24px;
  z-index: 1;
}

.wf-points-flash-close {
  position: absolute;
  top: 14px;
  right: 14px;
  border: 0;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  color: #f6efdd;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  z-index: 2;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.wf-points-flash-close:hover,
.wf-points-flash-close:focus {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  outline: none;
}

.wf-points-flash-kicker {
  margin-bottom: 10px;
  color: #ffed00;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.wf-points-flash-title {
  margin: 0 0 10px;
  color: #fff8e5;
  font-size: clamp(2rem, 3vw, 2.6rem);
  font-weight: 800;
  line-height: 1.1;
}

.wf-points-flash-copy {
  margin: 0 0 14px;
  color: #d8ccb3;
  font-size: 1.55rem;
  line-height: 1.65;
}

.wf-points-flash-score {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0.9rem 1.15rem;
  border-radius: 18px;
  background: rgba(255, 237, 0, 0.12);
  color: #ffed00;
  font-size: 2rem;
  font-weight: 800;
}

.wf-points-flash-total {
  margin-top: 14px;
  color: #f6efdd;
  font-size: 1.45rem;
  font-weight: 700;
}

.wf-points-flash-tier {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #d1bb90;
  font-size: 1.35rem;
  font-weight: 700;
}

.wf-points-flash-burst {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.wf-points-flash-spark {
  position: absolute;
  top: 54%;
  left: 50%;
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
  border-radius: 50%;
  background: #ffed00;
  opacity: 0;
  animation: wfPointsSpark 0.95s ease-out forwards;
}

.wf-points-flash-spark:nth-child(2n) {
  background: #d1bb90;
}

@keyframes wfPointsFlashIn {
  from { opacity: 0; transform: translateY(-26px) scale(0.94); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes wfPointsFlashOut {
  from { opacity: 1; transform: translateY(0) scale(1); }
  to { opacity: 0; transform: translateY(-18px) scale(0.96); }
}

@keyframes wfPointsFlashShine {
  from { transform: translateX(-130%); }
  to { transform: translateX(130%); }
}

@keyframes wfPointsSpark {
  0% {
    opacity: 0;
    transform: rotate(var(--spark-angle)) translateY(0) scale(0.35);
  }
  18% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: rotate(var(--spark-angle)) translateY(var(--spark-distance)) scale(1.05);
  }
}

@media (max-width: 1199.98px) {
  .wf-profile-nav-toggle {
    justify-content: flex-start;
    width: 100%;
  }
}

@media (max-width: 991.98px) {
  .wf-points-league-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  .wf-profile-nav-toggle {
    gap: 8px;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .wf-profile-nav-avatar-ring {
    width: 46px;
    height: 46px;
  }

  .wf-profile-nav-points-badge {
    right: -4px;
    top: -4px;
    min-width: 22px;
    height: 22px;
    font-size: 1rem;
    padding: 0 6px;
  }

  .wf-points-league-section {
    padding: 74px 0;
  }

  .wf-points-row {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .wf-points-score {
    grid-column: 2;
    justify-self: start;
    margin-left: 60px;
    margin-top: 4px;
  }

  .wf-points-flash-shell {
    padding-top: 72px;
  }

  .wf-points-flash-body {
    padding: 22px 18px 20px;
  }

  .wf-points-flash-score {
    font-size: 1.7rem;
  }
}
