/* Profile and preferences */

.locket-profile-scroll {
  width: 100%;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  background-color: #0b0c0e;
  padding: 18px 20px 56px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-sizing: border-box;
}
.lp-top-bar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
}
.lp-close-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: transparent;
  border: none;
  color: #d1d5db;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s var(--spring-bounce), background-color 0.2s;
}
.lp-close-arrow:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateX(2px);
}

.lp-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-top: -6px;
  margin-bottom: 4px;
}
.lp-avatar-ring {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  padding: 3.5px;
  border: 3.5px solid #ffb800;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.24s var(--spring-bounce);
}
.lp-avatar-ring:hover {
  transform: scale(1.04);
}
.lp-avatar-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: #23272f;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 800;
  color: #ffffff;
}
.lp-avatar-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lp-user-name {
  font-size: 21px;
  font-weight: 700;
  color: #ffffff;
  margin-top: 4px;
}
.lp-edit-photo-btn {
  background: transparent;
  border: none;
  color: #ffb800;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.lp-gold-banner {
  background: linear-gradient(135deg, rgba(82, 66, 28, 0.72) 0%, rgba(56, 45, 20, 0.65) 100%);
  border: 1px solid rgba(255, 184, 0, 0.25);
  border-radius: 20px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  transition: transform 0.2s var(--spring-out);
}
.lp-gold-banner:hover {
  transform: translateY(-1px);
}

.lp-card-group {
  background-color: #17181c;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.lp-card-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 16px;
  gap: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  cursor: pointer;
  transition: background-color 0.16s;
}
.lp-card-row:last-child { border-bottom: none; }
.lp-card-row:hover {
  background-color: rgba(255, 255, 255, 0.04);
}
.lp-dashed-gold-btn {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1.5px dashed rgba(255, 184, 0, 0.65);
  background: transparent;
  color: #ffb800;
  font-size: 11.5px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}

.lp-sec-heading {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin: 6px 2px 2px;
}
.lp-menu-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.lp-menu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 6px;
  border-radius: 12px;
  cursor: pointer;
  transition: background-color 0.16s, padding-left 0.16s;
  gap: 14px;
}
.lp-menu-item:hover {
  background-color: rgba(255, 255, 255, 0.05);
  padding-left: 10px;
}
.lp-menu-left {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.lp-menu-icon {
  width: 24px;
  font-size: 19px;
  color: #d1d5db;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.lp-menu-title {
  font-size: 14.5px;
  font-weight: 600;
  color: #ffffff;
}
.lp-menu-sub {
  font-size: 12.5px;
  color: #8b929e;
  margin-top: 1px;
}

/* Gold toggle */
.lp-toggle {
  width: 46px;
  height: 26px;
  border-radius: 999px;
  background-color: #ffb800;
  padding: 3px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  cursor: pointer;
  transition: background-color 0.2s;
  flex-shrink: 0;
}
.lp-toggle.off {
  background-color: #374151;
  justify-content: flex-start;
}
.lp-toggle-knob {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #ffffff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.35);
}

/* Gold themes and perks */
.lp-theme-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.lp-theme-card {
  background-color: #17181c;
  border: 1.5px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  padding: 10px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  transition: all 0.22s var(--spring-bounce);
}
.lp-theme-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.22);
}
.lp-theme-card.active {
  border-color: var(--bs-primary);
  background-color: rgba(72, 118, 255, 0.12);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}
.lp-theme-dot {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
}
.lp-theme-label {
  font-size: 11.5px;
  font-weight: 700;
  color: #e5e7eb;
  text-align: center;
}

.lp-gold-perks-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.lp-perk-box {
  background: linear-gradient(135deg, rgba(255, 184, 0, 0.10) 0%, rgba(255, 184, 0, 0.03) 100%);
  border: 1px solid rgba(255, 184, 0, 0.20);
  border-radius: 15px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.lp-perk-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: rgba(255, 184, 0, 0.18);
  color: #fbbf24;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
}
.lp-perk-text {
  font-size: 12px;
  font-weight: 700;
  color: #f3f4f6;
  line-height: 1.25;
}

/* Segmented controls */
.custom-seg-box {
  background-color: var(--bs-surface-2);
  border: 1px solid var(--bs-border-translucent);
  border-radius: 16px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.streak-seg-group {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  background-color: rgba(15, 18, 24, 0.45);
  padding: 4px;
  border-radius: 12px;
  border: 1px solid var(--bs-border-translucent);
}
.streak-seg-btn {
  height: 34px;
  border: none;
  border-radius: 9px;
  background: transparent;
  color: var(--bs-secondary-color);
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: all 0.2s var(--spring-out);
}
.streak-seg-btn:hover {
  color: var(--bs-heading-color);
}
.streak-seg-btn.active {
  background: var(--bs-primary);
  color: #ffffff;
  box-shadow: 0 3px 10px rgba(72, 118, 255, 0.35);
}
