/* Warm Minimal styling for LYV's existing My Profile screen. */
:root {
  --lyv-profile-cover-height: clamp(205px, 52vw, 220px);
}

#myProfile {
  --lyv-profile-page: #F8F7F4;
  --lyv-profile-card: #FFFFFF;
  --lyv-profile-card-soft: #F2F1EC;
  --lyv-profile-ink: #203D33;
  --lyv-profile-muted: #68756E;
  --lyv-profile-line: #E5E4DE;
  --lyv-profile-green: #203D33;
  --lyv-profile-sage: #E2ECE5;
  --lyv-profile-terracotta: #D97757;
  --lyv-profile-gold: #E7B65D;
  --lyv-profile-shadow: 0 8px 24px rgba(32, 61, 51, .055);
  background: var(--lyv-profile-page);
  color: var(--lyv-profile-ink);
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

#myProfile [hidden] {
  display: none !important;
}

#myProfile > .content {
  min-height: 100%;
  padding: 20px 16px 36px;
  background: var(--lyv-profile-page);
  color: var(--lyv-profile-ink);
}

#myProfile .topbar {
  justify-content: flex-start;
  gap: 12px;
  margin-bottom: 15px;
}

#myProfile .topbar .back {
  display: grid;
  flex: 0 0 44px;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--lyv-profile-line);
  border-radius: 50%;
  background: var(--lyv-profile-card);
  color: var(--lyv-profile-green);
  font-size: 26px;
  line-height: 1;
}

#myProfile .topbar .brand {
  margin-right: auto;
  color: var(--lyv-profile-ink);
  font-size: 20px;
  letter-spacing: -.045em;
}

#myProfile > .content > .center.lyv-profile-header {
  position: relative;
  display: block;
  min-height: 0;
  margin: 0 -16px;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--lyv-profile-line);
  border-radius: 18px;
  background: var(--lyv-profile-card);
  box-shadow: var(--lyv-profile-shadow);
  text-align: left;
}

#myProfile .lyv-profile-cover {
  height: var(--lyv-profile-cover-height);
  background-color: #E8DED2;
}

#myProfile .lyv-profile-header-body {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  grid-template-areas: "avatar identity";
  align-content: start;
  align-items: start;
  gap: 0 12px;
  min-height: 136px;
  padding: 0 16px 16px;
}

#myProfile .lyv-profile-about {
  margin: 0 16px 14px;
  padding-top: 10px;
  border-top: 1px solid var(--lyv-profile-line);
  text-align: left;
}

#myProfile .lyv-profile-about h3 {
  margin: 0 0 6px;
  color: var(--lyv-profile-ink);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.35;
}

#myProfile #lyvMyProfileBio {
  margin: 0 0 8px;
  white-space: pre-wrap;
}

#myProfile #lyvMyProfileBioAdd {
  margin-top: 4px;
}

#myProfile .profilepic.lyvCurrentUserAvatar {
  position: relative;
  z-index: 1;
  grid-area: avatar;
  width: 100px !important;
  height: 100px !important;
  min-width: 100px !important;
  min-height: 100px !important;
  max-width: 100px !important;
  max-height: 100px !important;
  margin: -50px 0 0 !important;
  border: 4px solid var(--lyv-profile-card) !important;
  border-radius: 50%;
  background: linear-gradient(145deg, #D8B99A, #60796A 72%);
  box-shadow: 0 0 0 1px rgba(32, 61, 51, .12), 0 6px 15px rgba(32, 61, 51, .13);
  color: #FFFFFF;
  font-size: 28px;
}

#myProfile .lyvCurrentUserAvatarImage {
  border-radius: 50%;
}

#myProfile .lyv-profile-identity {
  grid-area: identity;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "name edit" "location edit";
  align-items: center;
  column-gap: 12px;
  min-width: 0;
  margin-top: 8px;
}

#myProfile #lyvEditProfileButton {
  grid-area: edit;
  display: inline-flex;
  align-self: center;
  justify-self: end;
  min-width: 106px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0 12px;
  border: 1px solid #D7B9A9;
  border-radius: 8px;
  background: #FBF1EB;
  color: var(--lyv-profile-green);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  transition: border-color .16s ease, background-color .16s ease;
}

#myProfile .center h1 {
  grid-area: name;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: baseline;
  gap: 3px 7px;
  min-width: 0;
  max-width: 100%;
  margin: 0;
  color: var(--lyv-profile-ink);
  font-size: clamp(21px, 5vw, 27px);
  font-weight: 720;
  letter-spacing: -.04em;
  line-height: 1.16;
  overflow-wrap: anywhere;
}

#myProfile .lyvUserName,
#myProfile .lyvUserAge,
#myProfile .lyv-profile-identity > p > span {
  min-width: 0;
  overflow-wrap: anywhere;
}

#myProfile .lyvUserAge {
  color: var(--lyv-profile-muted);
  font-size: .68em;
  font-weight: 600;
  letter-spacing: -.01em;
}

#myProfile .lyv-profile-identity > p {
  grid-area: location;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 5px;
  min-width: 0;
  margin: 0;
  color: var(--lyv-profile-muted);
  font-size: 12px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

#myProfile #lyvEditProfileButton {
  grid-area: edit;
  display: inline-flex;
  align-self: center;
  justify-self: end;
  min-width: 106px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0 12px;
  border: 1px solid #D7B9A9;
  border-radius: 8px;
  background: #FBF1EB;
  color: var(--lyv-profile-green);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  transition: border-color .16s ease, background-color .16s ease;
}

#myProfile #lyvMyVerificationBadges {
  flex-wrap: wrap;
  gap: 7px;
  margin: 11px 0 0;
  padding: 0 2px;
}

#myProfile #lyvMyVerificationBadges:has(> *) {
  display: flex !important;
}

#myProfile #lyvMyVerificationBadges[hidden] {
  display: none !important;
}

#myProfile #lyvMyVerificationBadges > * {
  display: inline-flex;
  max-width: 100%;
  min-height: 30px;
  align-items: center;
  padding: 6px 10px;
  border: 1px solid #CBD9CE;
  border-radius: 999px;
  background: var(--lyv-profile-sage);
  color: var(--lyv-profile-ink);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

#myProfile > .content > .sectionhead {
  margin: 15px 0 7px;
}

#myProfile .sectionhead h3 {
  color: var(--lyv-profile-ink);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -.02em;
}

#myProfile .stats {
  gap: 8px;
}

#myProfile .stat {
  min-width: 0;
  padding: 11px 6px 10px;
  border: 1px solid var(--lyv-profile-line);
  border-radius: 15px;
  background: var(--lyv-profile-card);
  box-shadow: 0 4px 14px rgba(32, 61, 51, .035);
}

#myProfile .stat strong {
  color: var(--lyv-profile-green);
  font-size: clamp(19px, 5vw, 23px);
  font-weight: 730;
  letter-spacing: -.035em;
  overflow-wrap: anywhere;
}

#myProfile .stat .tiny {
  display: block;
  margin-top: 4px;
  color: var(--lyv-profile-muted);
  font-size: 10px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

#myProfile .lyv-profile-columns,
#myProfile .lyv-profile-main,
#myProfile .lyv-profile-side {
  min-width: 0;
}

#myProfile .lyv-profile-columns {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

#myProfile .lyv-profile-main,
#myProfile .lyv-profile-side {
  display: grid;
  align-content: start;
  gap: 12px;
}

#myProfile .card.soft {
  min-width: 0;
  margin-top: 0 !important;
  padding: 17px;
  border: 1px solid var(--lyv-profile-line);
  border-radius: 16px;
  background: var(--lyv-profile-card);
  box-shadow: var(--lyv-profile-shadow);
}

#myProfile #lyvMyProfileAboutHeading,
#myProfile #lyvMyProfileInterestsHeading,
#myProfile #lyvMyModerationAppealHeading,
#myProfile #lyvAccountSettingsHeading {
  color: var(--lyv-profile-ink);
  font-size: 16px !important;
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.35;
}

#myProfile #lyvMyProfileBio,
#myProfile #lyvMyProfileInterestsEmpty {
  color: var(--lyv-profile-muted);
  font-size: 13px;
  line-height: 1.7;
  overflow-wrap: anywhere;
  word-break: break-word;
}

#myProfile #lyvMyProfileBioAdd,
#myProfile #lyvMyProfileInterestsEdit,
#myProfile #lyvMyModerationAppealSubmit,
#myProfile #lyvMyModerationAppealRetry {
  min-height: 42px;
  padding: 9px 13px;
  border: 1px solid #CBD9CE;
  border-radius: 12px;
  background: var(--lyv-profile-sage);
  color: var(--lyv-profile-ink);
  box-shadow: none;
  font-size: 12px;
  font-weight: 700;
}

#myProfile .lyv-profile-interest-chips {
  gap: 7px;
}

#myProfile .lyv-profile-interest-chips .pill {
  min-height: 34px;
  padding: 7px 10px;
  border: 1px solid var(--lyv-profile-line);
  border-radius: 999px;
  background: var(--lyv-profile-card-soft);
  color: var(--lyv-profile-ink);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.35;
  white-space: normal;
  overflow-wrap: anywhere;
}

#myProfile #lyvMyModerationAppealCard {
  border-color: #E8CEC2;
  background: #FFFAF7;
}

#myProfile #lyvMyModerationAppealCard > h3::before {
  display: inline-grid;
  width: 23px;
  height: 23px;
  place-items: center;
  margin-right: 8px;
  border-radius: 50%;
  background: #F9E8E0;
  color: #7D3929;
  content: "!";
  font-size: 13px;
  vertical-align: -2px;
}

#myProfile #lyvMyModerationAppealCard p,
#myProfile #lyvMyModerationAppealCard label,
#myProfile #lyvMyModerationAppealCard strong {
  line-height: 1.55;
  overflow-wrap: anywhere;
}

#myProfile #lyvMyModerationAppealMessage {
  min-height: 112px;
  border-color: var(--lyv-profile-line);
  border-radius: 12px;
  background: var(--lyv-profile-card);
  color: var(--lyv-profile-ink);
  line-height: 1.55;
  resize: vertical;
}

#myProfile #lyvMyModerationAppealGuidance,
#myProfile #lyvMyModerationAppealFeedback,
#myProfile #lyvMyModerationAppealLoadError {
  line-height: 1.5;
  overflow-wrap: anywhere;
}

#myProfile #lyvMyModerationAppealFeedback:not(:empty),
#myProfile #lyvMyModerationAppealLoadError:not(:empty) {
  color: #7D3929;
}

#myProfile #lyvAccountSettingsHeading + p {
  color: var(--lyv-profile-muted);
  font-size: 12px;
  line-height: 1.55;
}

#myProfile #lyvDeleteAccountOpen {
  min-height: 46px;
  border: 1px solid #E8C8BC;
  border-radius: 12px;
  background: #FCF2ED;
  color: #7D3929;
  box-shadow: none;
  font-size: 13px;
  font-weight: 700;
}

#myProfile #lyvLogoutButton {
  width: 100%;
  min-height: 44px;
  margin-top: 10px !important;
  border: 1px solid #D7B9A9;
  border-radius: 12px;
  background: #FBF1EB;
  color: #713F31;
  box-shadow: none;
  font-size: 13px;
  font-weight: 700;
}

#myProfile .topbar button:focus-visible,
#myProfile .nav button:focus-visible,
#myProfile #lyvEditProfileButton:focus-visible,
#myProfile #lyvMyProfileBioAdd:focus-visible,
#myProfile #lyvMyProfileInterestsEdit:focus-visible,
#myProfile #lyvMyModerationAppealMessage:focus-visible,
#myProfile #lyvMyModerationAppealSubmit:focus-visible,
#myProfile #lyvMyModerationAppealRetry:focus-visible,
#myProfile #lyvDeleteAccountOpen:focus-visible,
#myProfile #lyvLogoutButton:focus-visible {
  outline: 3px solid var(--lyv-profile-terracotta);
  outline-offset: 3px;
}

#myProfile #lyvMyModerationAppealMessage:focus-visible {
  border-color: var(--lyv-profile-green);
  box-shadow: 0 0 0 3px var(--lyv-profile-sage);
}

@media (hover: hover) and (pointer: fine) {
  #myProfile #lyvEditProfileButton:hover {
    border-color: #D7A38E;
    background: #F7E7DF;
  }

  #myProfile #lyvMyProfileBioAdd:hover,
  #myProfile #lyvMyProfileInterestsEdit:hover,
  #myProfile #lyvMyModerationAppealSubmit:hover,
  #myProfile #lyvMyModerationAppealRetry:hover {
    border-color: #B8CCBE;
    background: #D6E5DB;
  }

  #myProfile #lyvDeleteAccountOpen:hover,
  #myProfile #lyvLogoutButton:hover {
    border-color: #D9B8AA;
    background: #F7E5DC;
  }
}

@media (min-width: 768px) and (max-width: 899px) {
  #myProfile > .content {
    max-width: 760px;
    padding: 30px 30px 88px;
  }

  #myProfile > .content > .center {
    margin-inline: 0;
  }

  #myProfile .lyv-profile-columns {
    grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
    gap: 16px;
  }

  #myProfile .card.soft {
    padding: 18px;
  }
}

@media (min-width: 600px) {
  #myProfile .lyv-profile-cover {
    height: var(--lyv-profile-cover-height);
  }

  #myProfile .lyv-profile-header-body {
    grid-template-columns: 104px minmax(0, 1fr);
    grid-template-areas: "avatar identity";
    min-height: 112px;
    padding: 0 20px 8px;
    column-gap: 16px;
  }

  #myProfile .profilepic.lyvCurrentUserAvatar {
    width: 100px !important;
    height: 100px !important;
    min-width: 100px !important;
    min-height: 100px !important;
    max-width: 100px !important;
    max-height: 100px !important;
    margin-top: -50px !important;
  }

  #myProfile .lyv-profile-identity {
    margin-top: 12px;
  }

}

@media (min-width: 900px) {
  #myProfile > .content {
    max-width: 1000px;
    padding: 30px 36px 48px;
  }

  #myProfile > .content > .topbar {
    margin-bottom: 12px;
  }

  #myProfile > .content > .center.lyv-profile-header {
    margin-inline: 0;
  }

  #myProfile .lyv-profile-cover {
    height: var(--lyv-profile-cover-height);
  }

  #myProfile .lyv-profile-header-body {
    grid-template-columns: 132px minmax(0, 1fr);
    grid-template-areas: "avatar identity";
    min-height: 112px;
    padding-inline: 22px;
    column-gap: 18px;
  }

  #myProfile .profilepic.lyvCurrentUserAvatar {
    width: 124px !important;
    height: 124px !important;
    min-width: 124px !important;
    min-height: 124px !important;
    max-width: 124px !important;
    max-height: 124px !important;
    margin-top: -62px !important;
  }

  #myProfile .lyv-profile-identity {
    margin-top: 14px;
  }

  #myProfile .center h1 {
    font-size: clamp(25px, 2.4vw, 30px);
  }

  #myProfile > .content > .sectionhead {
    margin: 13px 0 6px;
  }

  #myProfile .lyv-profile-columns {
    grid-template-columns: minmax(0, 1.12fr) minmax(290px, .88fr);
    align-items: start;
    gap: 18px 22px;
    margin-top: 15px;
  }
}

@media (max-width: 380px) {
  #myProfile > .content {
    padding-right: 14px;
    padding-left: 14px;
  }

  #myProfile > .content > .center.lyv-profile-header {
    margin-right: -14px;
    margin-left: -14px;
  }

  #myProfile .lyv-profile-cover {
    height: var(--lyv-profile-cover-height);
  }

  #myProfile .lyv-profile-header-body {
    grid-template-columns: 96px minmax(0, 1fr);
    grid-template-areas: "avatar identity";
    min-height: 0;
    padding-right: 12px;
    padding-left: 12px;
    column-gap: 10px;
  }

  #myProfile .profilepic.lyvCurrentUserAvatar {
    width: 96px !important;
    height: 96px !important;
    min-width: 96px !important;
    min-height: 96px !important;
    max-width: 96px !important;
    max-height: 96px !important;
    margin-top: -48px !important;
  }

  #myProfile .card.soft {
    padding: 15px;
  }

  #myProfile .stats {
    gap: 6px;
  }

  #myProfile .stat {
    padding-right: 4px;
    padding-left: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #myProfile *,
  #myProfile *::before,
  #myProfile *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

#myProfile .lyv-profile-interest-chips .pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

#myProfile .lyv-profile-interest-chips .lyv-category-icon {
  width: 20px;
  height: 20px;
  vertical-align: middle;
}

#myProfile .lyv-profile-stat-icon {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  margin: 0 auto 5px;
  border-radius: 10px;
}

#myProfile .lyv-profile-stat-icon svg {
  width: 19px;
  height: 19px;
}

#myProfile .lyv-profile-stat-icon--attended {
  background: #F9E9E2;
  color: #B45339;
}

#myProfile .lyv-profile-stat-icon--hosted {
  background: #FFF0D8;
  color: #A87516;
}

#myProfile .lyv-profile-stat-icon--attendance {
  background: var(--lyv-profile-sage);
  color: var(--lyv-profile-green);
}

#myProfile .lyv-profile-cover {
  position: relative;
  overflow: hidden;
}

.lyv-profile-cover-image {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: fill;
  transform-origin: 50% 50%;
}

.lyv-profile-cover-image[hidden] {
  display: none !important;
}

.lyv-profile-cover-backdrop {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(16px) brightness(.78);
  transform: scale(1.08);
  pointer-events: none;
}

.lyv-profile-cover-backdrop[hidden] {
  display: none !important;
}

.lyvPublicProfileCoverImage {
  object-fit: cover;
}

#myProfile .lyv-profile-cover-controls {
  --lyv-profile-cover-trigger-width: min(190px, calc(100vw - 24px));
  --lyv-profile-cover-menu-width: min(190px, calc(100vw - 24px));
  position: absolute;
  z-index: 2;
  top: 12px;
  right: 12px;
  bottom: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

#myProfile .lyv-profile-cover-menu-toggle {
  box-sizing: border-box;
  display: inline-flex;
  width: var(--lyv-profile-cover-trigger-width);
  min-width: 0;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 12px;
  border-radius: 8px;
  text-align: center;
}

#myProfile .lyv-profile-cover-menu-toggle::after {
  flex: 0 0 7px;
  width: 7px;
  height: 7px;
  margin: -4px 0 0 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  content: "";
  transform: rotate(45deg);
}

#myProfile .lyv-profile-cover-menu {
  position: absolute;
  top: calc(100% + 5px);
  right: 0;
  z-index: 4;
  display: grid;
  box-sizing: border-box;
  width: var(--lyv-profile-cover-menu-width);
  gap: 4px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 8px;
  background: rgba(25, 39, 33, .96);
  box-shadow: 0 8px 20px rgba(20, 32, 27, .2);
}

#myProfile .lyv-profile-cover-menu[hidden] {
  display: none !important;
}

#myProfile .lyv-profile-cover-menu .lyv-profile-cover-button {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border-color: transparent;
  border-radius: 8px;
  text-align: left;
}

#myProfile .lyv-profile-cover-menu .lyv-profile-cover-button:hover:not(:disabled) {
  background: rgba(255, 255, 255, .16);
}

.lyv-profile-cover-controls[hidden],
.lyv-profile-cover-save-actions[hidden] {
  display: none !important;
}

.lyv-profile-cover-button {
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, .76);
  border-radius: 999px;
  background: rgba(25, 39, 33, .82);
  color: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
}

.lyv-profile-cover-button:focus-visible {
  outline: 3px solid var(--lyv-profile-terracotta, #D97757);
  outline-offset: 3px;
}

.lyv-profile-cover-button:disabled {
  cursor: not-allowed;
  opacity: .58;
}

.lyv-profile-cover-status {
  display: none;
  margin: 8px 16px 0;
  color: var(--lyv-profile-muted, #68756E);
  font-size: 12px;
  line-height: 1.45;
  text-align: left;
}

.lyv-profile-cover-status:not(:empty) {
  display: block;
}

#myProfile .lyv-profile-cover-save-actions {
  display: flex;
  gap: 8px;
  margin: 8px 16px 12px;
}

#myProfile .lyv-profile-cover-save {
  border-color: var(--lyv-profile-green);
  background: var(--lyv-profile-green);
}

#myProfile .lyv-profile-cover-cancel {
  border-color: var(--lyv-profile-line);
  background: var(--lyv-profile-card-soft);
  color: var(--lyv-profile-ink);
}

#publicProfile {
  --lyv-profile-page: #F8F7F4;
  --lyv-profile-card: #FFFFFF;
  --lyv-profile-card-soft: #F2F1EC;
  --lyv-profile-ink: #203D33;
  --lyv-profile-muted: #68756E;
  --lyv-profile-line: #E5E4DE;
  --lyv-profile-green: #203D33;
  --lyv-profile-sage: #E2ECE5;
  --lyv-profile-terracotta: #D97757;
  --lyv-profile-gold: #E7B65D;
  --lyv-profile-shadow: 0 8px 24px rgba(32, 61, 51, .055);
  background: var(--lyv-profile-page);
  color: var(--lyv-profile-ink);
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

#publicProfile [hidden] {
  display: none !important;
}

#publicProfile > .content {
  min-height: 100%;
  padding: 20px 16px 36px;
  background: var(--lyv-profile-page);
  color: var(--lyv-profile-ink);
}

#publicProfile .topbar {
  justify-content: flex-start;
  gap: 12px;
  margin-bottom: 15px;
}

#publicProfile .topbar .back {
  display: grid;
  flex: 0 0 44px;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--lyv-profile-line);
  border-radius: 50%;
  background: var(--lyv-profile-card);
  color: var(--lyv-profile-green);
  font-size: 26px;
  line-height: 1;
}

#publicProfile .topbar .brand {
  margin-right: auto;
  color: var(--lyv-profile-ink);
  font-size: 20px;
  letter-spacing: -.045em;
}

#publicProfile .lyv-public-profile-header {
  position: relative;
  display: block;
  min-width: 0;
  margin: 0 -16px;
  padding: 0 0 10px;
  overflow: hidden;
  border: 1px solid var(--lyv-profile-line);
  border-radius: 18px;
  background: var(--lyv-profile-card);
  box-shadow: var(--lyv-profile-shadow);
  text-align: left;
}

#publicProfile .lyv-public-profile-cover {
  position: relative;
  height: var(--lyv-profile-cover-height);
  overflow: hidden;
  margin: 0;
  background-color: #E8DED2;
}

#publicProfile .lyv-profile-header-body {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  grid-template-areas: "avatar identity";
  align-content: start;
  align-items: start;
  gap: 0 12px;
  min-height: 0;
  padding: 48px 16px 8px;
}

#publicProfile .profilepic.lyvPublicProfileAvatar {
  position: relative;
  z-index: 1;
  grid-area: avatar;
  width: 100px !important;
  height: 100px !important;
  min-width: 100px !important;
  min-height: 100px !important;
  max-width: 100px !important;
  max-height: 100px !important;
  margin: -96px 0 0 !important;
  border: 4px solid var(--lyv-profile-card) !important;
  border-radius: 50%;
  background: linear-gradient(145deg, #D8B99A, #60796A 72%);
  box-shadow: 0 0 0 1px rgba(32, 61, 51, .12), 0 6px 15px rgba(32, 61, 51, .13);
  color: #FFFFFF;
  font-size: 28px;
}

#publicProfile .lyvPublicProfileAvatarImage {
  border-radius: 50%;
}

#publicProfile .lyv-profile-identity {
  grid-area: identity;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "name" "location";
  align-items: center;
  min-width: 0;
  margin-top: 4px;
}

#publicProfile .lyv-profile-identity h1 {
  grid-area: name;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 3px 7px;
  min-width: 0;
  max-width: 100%;
  margin: 0;
  color: var(--lyv-profile-ink);
  font-size: clamp(21px, 5vw, 27px);
  font-weight: 720;
  letter-spacing: -.04em;
  line-height: 1.16;
  overflow-wrap: anywhere;
}

#publicProfile .lyvPublicProfileName,
#publicProfile .lyvPublicProfileAge,
#publicProfile .lyv-profile-identity > p > span {
  min-width: 0;
  overflow-wrap: anywhere;
}

#publicProfile .lyvPublicProfileAge {
  color: var(--lyv-profile-muted);
  font-size: .68em;
  font-weight: 600;
  letter-spacing: -.01em;
}

#publicProfile .lyv-profile-identity > p {
  grid-area: location;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  min-width: 0;
  margin: 0;
  color: var(--lyv-profile-muted);
  font-size: 12px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

#publicProfile .lyv-profile-about {
  margin: 0 16px 8px;
  padding-top: 10px;
  border-top: 1px solid var(--lyv-profile-line);
  text-align: left;
}

#publicProfile .lyv-profile-about h3,
#publicProfile #lyvPublicInterestsHeading,
#publicProfile #lyvPublicTrustHeading {
  margin: 0 0 6px;
  color: var(--lyv-profile-ink);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.35;
}

#publicProfile #lyvPublicProfileBio {
  margin: 0 0 8px;
  color: var(--lyv-profile-muted);
  font-size: 13px;
  line-height: 1.7;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
}

#publicProfile .lyv-profile-cover-status {
  margin: 8px 16px 0;
  color: var(--lyv-profile-muted);
  font-size: 12px;
  line-height: 1.45;
  text-align: left;
}

#publicProfile #lyvPublicVerificationBadges {
  flex-wrap: wrap;
  gap: 7px;
  margin: 11px 0 0;
  padding: 0 2px;
}

#publicProfile #lyvPublicVerificationBadges:has(> *) {
  display: flex !important;
}

#publicProfile #lyvPublicVerificationBadges > * {
  display: inline-flex;
  max-width: 100%;
  min-height: 30px;
  align-items: center;
  padding: 6px 10px;
  border: 1px solid #CBD9CE;
  border-radius: 999px;
  background: var(--lyv-profile-sage);
  color: var(--lyv-profile-ink);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

#publicProfile .lyv-profile-interests-card {
  min-width: 0;
  margin: 12px 0 0;
  padding: 17px;
  border: 1px solid var(--lyv-profile-line);
  border-radius: 16px;
  background: var(--lyv-profile-card);
  box-shadow: var(--lyv-profile-shadow);
}

#publicProfile .lyv-profile-interest-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

#publicProfile .lyv-profile-interest-chips .pill {
  display: inline-flex;
  max-width: 100%;
  min-height: 34px;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border: 1px solid var(--lyv-profile-line);
  border-radius: 999px;
  background: var(--lyv-profile-card-soft);
  color: var(--lyv-profile-ink);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.35;
  white-space: normal;
  overflow-wrap: anywhere;
}

#publicProfile .lyv-profile-interest-chips .lyv-category-icon {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  vertical-align: middle;
}

#publicProfile .lyv-public-profile-trust {
  margin-top: 13px;
}

#publicProfile .lyv-public-profile-trust > .sectionhead {
  margin: 0 0 7px;
}

#publicProfile .lyv-public-profile-trust .stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

#publicProfile .lyv-public-profile-trust .stat {
  display: block;
  min-width: 0;
  padding: 11px 6px 10px;
  border: 1px solid var(--lyv-profile-line);
  border-radius: 15px;
  background: var(--lyv-profile-card);
  box-shadow: 0 4px 14px rgba(32, 61, 51, .035);
  text-align: center;
}

#publicProfile .lyv-public-profile-trust .stat strong {
  display: block;
  color: var(--lyv-profile-green);
  font-size: clamp(19px, 5vw, 23px);
  font-weight: 730;
  letter-spacing: -.035em;
  overflow-wrap: anywhere;
}

#publicProfile .lyv-public-profile-trust .stat .tiny {
  display: block;
  margin-top: 4px;
  color: var(--lyv-profile-muted);
  font-size: 10px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

#publicProfile .lyv-profile-stat-icon {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  margin: 0 auto 5px;
  border-radius: 10px;
}

#publicProfile .lyv-profile-stat-icon svg {
  width: 19px;
  height: 19px;
}

#publicProfile .lyv-profile-stat-icon--attended {
  background: #F9E9E2;
  color: #B45339;
}

#publicProfile .lyv-profile-stat-icon--hosted {
  background: #FFF0D8;
  color: #A87516;
}

#publicProfile .lyv-profile-stat-icon--attendance {
  background: var(--lyv-profile-sage);
  color: var(--lyv-profile-green);
}

#publicProfile .lyv-public-member-since {
  margin: 9px 2px 0;
  color: var(--lyv-profile-muted);
  font-size: 11px;
  text-align: left;
}

@media (min-width: 600px) {
  #publicProfile .lyv-profile-header-body {
    grid-template-columns: 104px minmax(0, 1fr);
    min-height: 112px;
    padding: 0 20px 8px;
    column-gap: 16px;
  }

  #publicProfile .profilepic.lyvPublicProfileAvatar {
    margin-top: -50px !important;
  }

  #publicProfile .lyv-profile-identity {
    margin-top: 12px;
  }
}

@media (min-width: 900px) {
  #publicProfile > .content {
    max-width: 1000px;
    padding: 30px 36px 48px;
  }

  #publicProfile > .content > .topbar {
    margin-bottom: 12px;
  }

  #publicProfile .lyv-public-profile-header {
    margin-inline: 0;
  }

  #publicProfile .lyv-profile-header-body {
    grid-template-columns: 132px minmax(0, 1fr);
    min-height: 112px;
    padding-inline: 22px;
    column-gap: 18px;
  }

  #publicProfile .profilepic.lyvPublicProfileAvatar {
    width: 124px !important;
    height: 124px !important;
    min-width: 124px !important;
    min-height: 124px !important;
    max-width: 124px !important;
    max-height: 124px !important;
    margin-top: -62px !important;
  }

  #publicProfile .lyv-profile-identity {
    margin-top: 14px;
  }

  #publicProfile .lyv-profile-identity h1 {
    font-size: clamp(25px, 2.4vw, 30px);
  }
}

@media (max-width: 599px) {
  #publicProfile .lyv-profile-header-body {
    padding-top: 48px;
    padding-bottom: 8px;
  }

  #publicProfile .profilepic.lyvPublicProfileAvatar {
    margin-top: -96px !important;
  }
}

@media (max-width: 380px) {
  #publicProfile > .content {
    padding-right: 14px;
    padding-left: 14px;
  }

  #publicProfile .lyv-public-profile-header {
    margin-right: -14px;
    margin-left: -14px;
  }

  #publicProfile .lyv-profile-header-body {
    grid-template-columns: 96px minmax(0, 1fr);
    padding-top: 44px;
    padding-right: 12px;
    padding-left: 12px;
    column-gap: 10px;
  }

  #publicProfile .profilepic.lyvPublicProfileAvatar {
    width: 96px !important;
    height: 96px !important;
    min-width: 96px !important;
    min-height: 96px !important;
    max-width: 96px !important;
    max-height: 96px !important;
    margin-top: -88px !important;
  }

  #publicProfile .lyv-profile-about {
    margin-right: 12px;
    margin-left: 12px;
  }

  #myProfile .lyv-profile-cover-controls {
    right: 12px;
    gap: 6px;
  }

  .lyv-profile-cover-button {
    min-height: 36px;
    padding: 7px 10px;
  }
}


/* Temporary local cover framing editor. */
.lyv-cover-adjust-modal {
  position: fixed;
  z-index: 999;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.lyv-cover-adjust-sheet {
  width: min(100%, 1000px);
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  overflow: auto;
  border: 1px solid var(--lyv-profile-line, #E5E4DE);
  border-radius: 24px;
  padding: 20px;
  background: var(--lyv-profile-card, #fff);
  color: var(--lyv-profile-ink, #203D33);
  box-shadow: 0 20px 60px rgba(23, 40, 32, .22);
}
@media (min-width: 900px) {
  #lyvCoverAdjustModal > .lyv-cover-adjust-sheet { width: min(90vw, 1100px); }
}
.lyv-cover-adjust-sheet h2 { margin: 0 0 6px; font-size: 21px; }
.lyv-cover-adjust-sheet > p { margin: 0 0 14px; }
.lyv-cover-adjust-frame {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 1;
  overflow: hidden;
  border-radius: 14px;
  background: #E8DED2;
  cursor: grab;
  touch-action: none;
  user-select: none;
}
.lyv-cover-adjust-frame:active { cursor: grabbing; }
.lyv-cover-adjust-frame[data-fit-mode="contain"] { cursor: default; }
.lyv-cover-adjust-frame img {
  pointer-events: none;
  will-change: width, height, transform;
}
.lyv-cover-adjust-controls { display: grid; gap: 12px; margin-top: 16px; }
.lyv-cover-adjust-field {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  color: var(--lyv-profile-ink, #203D33);
  font-size: 13px;
  font-weight: 700;
}
.lyv-cover-adjust-field input { width: 100%; accent-color: var(--lyv-profile-green, #203D33); }
.lyv-cover-adjust-field select {
  width: 100%;
  min-height: 42px;
  padding: 8px 12px;
  border: 1px solid var(--lyv-profile-line, #E5E4DE);
  border-radius: 12px;
  background: var(--lyv-profile-card, #fff);
  color: var(--lyv-profile-ink, #203D33);
  font: inherit;
}
.lyv-cover-adjust-field input:disabled,
.lyv-cover-adjust-field select:disabled { cursor: not-allowed; opacity: .58; }
.lyv-cover-adjust-note {
  margin: 14px 0 0 !important;
  color: var(--lyv-profile-muted, #68756E);
  font-size: 12px;
  line-height: 1.45;
}
.lyv-cover-adjust-actions,
.lyv-cover-adjust-actions-end { display: flex; align-items: center; gap: 8px; }
.lyv-cover-adjust-actions { justify-content: space-between; margin-top: 16px; }
.lyv-cover-adjust-actions-end { justify-content: flex-end; flex-wrap: wrap; }
.lyv-cover-adjust-actions-end .lyv-profile-cover-button { min-height: 44px; }
#lyvCoverAdjustSave[hidden] { display: none; }
.lyv-cover-adjust-secondary {
  border-color: var(--lyv-profile-line, #E5E4DE);
  background: var(--lyv-profile-card-soft, #F2F1EC);
  color: var(--lyv-profile-ink, #203D33);
}
@media (max-width: 380px) {
  .lyv-cover-adjust-modal { padding: 8px; }
  .lyv-cover-adjust-sheet {
    max-height: calc(100vh - 16px);
    max-height: calc(100dvh - 16px);
    padding: 16px;
  }
  .lyv-cover-adjust-field { grid-template-columns: 1fr; gap: 4px; }
  .lyv-cover-adjust-actions { align-items: stretch; flex-direction: column; }
  .lyv-cover-adjust-actions-end { width: 100%; }
  .lyv-cover-adjust-actions-end .lyv-profile-cover-button { flex: 1; }
}
@media (max-width: 599px) {
  .lyv-cover-adjust-actions { align-items: stretch; flex-direction: column; }
  .lyv-cover-adjust-actions-end {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  #lyvCoverAdjustApply { grid-column: 1 / -1; }
}

@media (min-width: 600px) {
  :root {
    --lyv-profile-cover-height: clamp(225px, 32vw, 260px);
  }
}

@media (min-width: 900px) {
  :root {
    --lyv-profile-cover-height: clamp(260px, 21.875vw, 280px);
  }
}

@media (max-width: 599px) {
  #myProfile .lyv-profile-cover-controls {
    top: 12px;
    bottom: auto;
    right: 12px;
    left: auto;
    display: flex;
    justify-content: flex-end;
  }

  #myProfile .lyv-profile-cover-menu-toggle {
    min-height: 48px;
  }

  #myProfile .lyv-profile-cover-menu {
    right: 0;
  }

  #myProfile .lyv-profile-header-body {
    --lyv-profile-avatar-overlap: 48px;
    min-height: 0;
    padding-top: var(--lyv-profile-avatar-overlap);
    padding-bottom: 8px;
  }

  #myProfile .profilepic.lyvCurrentUserAvatar {
    margin-top: calc(0px - var(--lyv-profile-avatar-overlap) - var(--lyv-profile-avatar-overlap)) !important;
  }

  #myProfile .lyv-profile-identity {
    margin-top: 4px;
  }

  #myProfile #lyvEditProfileButton {
    min-height: 44px;
    margin-top: 0;
  }
}

@media (max-width: 380px) {
  #myProfile .lyv-profile-header-body {
    --lyv-profile-avatar-overlap: 44px;
    min-height: 0;
  }
}

#myProfile .lyv-profile-interests-card {
  margin: 12px 0 0 !important;
}

#myProfile .lyv-profile-columns-single {
  grid-template-columns: minmax(0, 1fr);
}

#myProfile section[aria-labelledby='lyvAccountSettingsHeading'] a[href='photo-credits.html']{color:var(--lyv-brand);font-weight:700}
