/* Core v0.15.184 — mobile profile sheet and account settings only. */
.lts-mobile-profile[hidden], .lts-mobile-profile__page[hidden] { display: none !important; }
.lts-mobile-profile { display: none; }
@media (max-width: 780px) {
  html.lts-mobile-profile-open, body.lts-mobile-profile-open {
    overflow: hidden !important;
    overscroll-behavior: none;
  }
  body.lts-core-navigation-v1--signed-in .lts-profile-menu { display: none !important; }
  body.lts-core-navigation-v1--signed-in .lts-mobile-profile:not([hidden]) {
    position: fixed;
    inset: 0;
    z-index: 110000;
    display: block;
    isolation: isolate;
    font-family: var(--font-sans, Inter, system-ui, sans-serif);
  }
  .lts-mobile-profile__scrim {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    margin: 0; padding: 0; border: 0; border-radius: 0;
    background: rgba(13,21,43,.65) !important;
    opacity: var(--lts-profile-scrim-opacity,1);
    touch-action: none;
    cursor: pointer;
  }
  .lts-mobile-profile__sheet {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    width: 100%;
    max-height: min(92dvh, 850px);
    overflow-x: hidden; overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
    background: #FBFAF8 !important;
    color: #20344D !important;
    border: 0;
    border-radius: 26px 26px 0 0;
    box-shadow: 0 -15px 44px rgba(13,21,43,.24);
    padding: 0 0 max(22px,env(safe-area-inset-bottom,0px));
    animation: lts-profile-sheet-enter .25s cubic-bezier(.2,.8,.25,1) both;
    will-change: transform;
  }
  /* Returning from the standalone full-profile page is an instant restoration,
     not a new sheet entrance. Only an avatar's first opening slides upward. */
  .lts-mobile-profile.is-restored .lts-mobile-profile__sheet {
    animation: none !important;
    transform: none !important;
  }
  .lts-mobile-profile__sheet.is-dragging { animation: none !important; transition: none !important; }
  @keyframes lts-profile-sheet-enter { from { transform: translateY(100%); } to { transform: translateY(0); } }
  .lts-mobile-profile__drag-zone {
    display: flex; justify-content: center; align-items: center;
    height: 22px; width: 100%; touch-action: pan-y;
  }
  .lts-mobile-profile__grabber { width: 40px; height: 5px; background: #C7CAD3; border-radius: 99px; }
  .lts-mobile-profile__bar {
    position: relative;
    display: grid;
    grid-template-columns: 44px minmax(0,1fr) 44px;
    align-items: center;
    gap: 4px;
    min-height: 54px;
    padding: 0 15px 12px;
    color: #20344D;
  }
  .lts-mobile-profile__bar > strong { text-align: center; font-size: 19px; line-height: 1.25; font-weight: 800; color: inherit; }
  .lts-mobile-profile__back, .lts-mobile-profile__close {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 44px; height: 44px; min-width: 44px; width: 44px;
    border: 0 !important; border-radius: 999px;
    padding: 0; margin: 0;
    background: transparent !important; box-shadow: none !important;
    color: #20344D !important; cursor: pointer;
  }
  .lts-mobile-profile__close { font-size: 32px; font-weight: 400; }
  .lts-mobile-profile__back svg { display: block; }
  .lts-mobile-profile__back:focus-visible, .lts-mobile-profile__close:focus-visible {
    outline: 2px solid #4352A6; outline-offset: 2px;
  }
  /* Profile header: compact, readable identity next to the photograph. */
  .lts-mobile-profile__hero {
    padding: 21px 20px 20px;
    background: #F6F1E8 !important;
    border-top: 1px solid #EAE0D3;
    border-bottom: 1px solid #E7DDCF;
    color: #20344D;
  }
  .lts-mobile-profile__identity {
    display: flex; align-items: center; gap: 15px; min-width: 0;
  }
  .lts-mobile-profile__avatar {
    display: grid; place-items: center;
    flex: 0 0 72px; width: 72px; height: 72px;
    border: 3px solid #fff; border-radius: 50%; overflow: hidden;
    background: #E4E8F0; color: #20344D;
    box-shadow: 0 3px 11px rgba(24,37,69,.12);
    font-size: 24px; font-weight: 800;
  }
  .lts-mobile-profile__avatar img { width: 100%; height: 100%; display: block; object-fit: cover; }
  .lts-mobile-profile__identity-copy { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; flex: 1 1 auto; }
  .lts-mobile-profile__identity-copy h2 {
    margin: 0 0 3px !important;
    font-size: clamp(21px,5.7vw,27px); line-height: 1.17;
    font-weight: 800; letter-spacing: -.025em;
    color: #20344D !important;
    overflow-wrap: anywhere;
  }
  .lts-mobile-profile__location, .lts-mobile-profile__about {
    max-width: 100%; margin: 2px 0 !important;
    color: #58677A !important;
    font-size: 13px; line-height: 1.4; font-weight: 400;
    overflow-wrap: anywhere;
  }
  .lts-mobile-profile__about { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .lts-mobile-profile__status {
    display: inline-flex; align-items: center;
    margin-top: 7px; padding: 3px 9px;
    border: 1px solid #DED6CA; border-radius: 99px;
    color: #526175; font-size: 11px; font-weight: 500;
    background: rgba(255,255,255,.65);
  }
  .lts-mobile-profile__settings-entry {
    display: flex !important; align-items: center; justify-content: center; gap: 9px;
    width: 100%; min-height: 48px; margin: 20px 0 0; padding: 10px 18px;
    background: #fff !important; color: #20344D !important;
    border: 1.5px solid #20344D !important; border-radius: 14px;
    box-shadow: none !important; font-size: 16px; font-weight: 700; cursor: pointer;
  }
  .lts-mobile-profile__settings-entry svg { flex: 0 0 22px; color: #4352A6; }
  .lts-mobile-profile__stats {
    display: grid; grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 12px; padding: 23px 20px 15px;
  }
  .lts-mobile-profile__stats > div {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 7px; min-width: 0; min-height: 99px; padding: 13px 8px;
    background: #F6F1E8; color: #20344D;
    border: 1px solid #E3DACC; border-radius: 19px;
    text-align: center;
  }
  .lts-mobile-profile__stats strong { color: #4352A6; font-size: 26px; font-weight: 800; line-height: 1; }
  .lts-mobile-profile__stats span { color: #536274; font-size: 12px; font-weight: 500; line-height: 1.35; }
  .lts-mobile-profile__link, .lts-mobile-profile__link:link, .lts-mobile-profile__link:visited {
    display: flex; align-items: center; justify-content: space-between;
    margin: 0 20px; min-height: 50px; padding: 10px 12px;
    border: 0; border-bottom: 1px solid #E8DFD4;
    text-decoration: none !important; color: #20344D !important;
    font-size: 14px; font-weight: 650;
  }
  .lts-mobile-profile__link > span { font-size: 21px; color: #4352A6; }
  /* Settings page: grouped, consistent with the existing desktop actions. */
  .lts-mobile-profile__settings-body { padding: 5px 18px 26px; }
  .lts-mobile-profile__upgrade {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    margin: 5px 0 23px; padding: 17px 15px;
    background: #4352A6; color: #fff; border-radius: 18px;
  }
  .lts-mobile-profile__upgrade strong { max-width: 58%; font-size: 15px; line-height: 1.3; font-weight: 750; color: #fff; }
  .lts-mobile-profile__upgrade a, .lts-mobile-profile__upgrade a:link, .lts-mobile-profile__upgrade a:visited {
    display: inline-flex; align-items: center; justify-content: center;
    flex: 0 0 auto; min-height: 42px;
    padding: 9px 13px; border-radius: 99px;
    background: #FFC229; color: #20344D !important;
    text-decoration: none !important; font-size: 13px; font-weight: 800;
  }
  .lts-mobile-profile__settings-body h2 {
    margin: 21px 4px 10px !important;
    font-size: 14px; font-weight: 700; line-height: 1.3;
    color: #536274 !important; text-transform: none; letter-spacing: 0;
  }
  .lts-mobile-profile__settings-group {
    border: 1px solid #E6DED3; border-radius: 19px;
    overflow: hidden; background: #fff;
  }
  .lts-mobile-profile__setting-row, .lts-mobile-profile__theme, .lts-mobile-profile__language form {
    display: flex !important; align-items: center; justify-content: space-between; gap: 12px;
    margin: 0; width: 100%; min-height: 52px;
    padding: 13px 17px; border: 0 !important; border-radius: 0;
    background: transparent !important; box-shadow: none !important;
    text-align: left; text-decoration: none !important;
    color: #20344D !important; font-size: 14px; font-weight: 600;
    line-height: 1.4;
  }
  .lts-mobile-profile__settings-group > :not(:last-child) {
    border-bottom: 1px solid #EAE4DA !important;
  }
  .lts-mobile-profile__setting-row > span:first-child { min-width: 0; flex: 1 1 auto; }
  .lts-mobile-profile__setting-row strong { display: block; font-size: 14px; font-weight: 650; }
  .lts-mobile-profile__setting-row small { display: block; font-size: 12px; font-weight: 400; color: #647285; overflow-wrap: anywhere; margin-top: 3px; }
  .lts-mobile-profile__chevron { color: #4352A6; font-size: 23px; font-weight: 500; line-height: 1; }
  .lts-mobile-profile__setting-row--danger { color: #A53438 !important; }
  .lts-mobile-profile__theme { cursor: pointer; }
  .lts-mobile-profile__switch {
    flex: 0 0 44px; width: 44px; height: 25px;
    border-radius: 99px; background: #A4AABA; position: relative;
    transition: background .2s;
  }
  .lts-mobile-profile__switch::before {
    content: ''; position: absolute; left: 3px; top: 3px;
    width: 19px; height: 19px; border-radius: 50%;
    background: #fff; transition: transform .2s;
  }
  .lts-mobile-profile__theme[aria-pressed="true"] .lts-mobile-profile__switch { background: #4352A6; }
  .lts-mobile-profile__theme[aria-pressed="true"] .lts-mobile-profile__switch::before { transform: translateX(19px); }
  .lts-mobile-profile__language { margin: 0; padding: 0; }
  .lts-mobile-profile__language form { min-height: 58px; }
  .lts-mobile-profile__language label { font-size: 14px; font-weight: 600; }
  .lts-mobile-profile__language select {
    flex: 0 1 150px; max-width: 150px; min-width: 98px;
    min-height: 38px; padding: 5px 24px 5px 10px;
    border: 1px solid #D7D1C9; border-radius: 10px;
    background: #fff; color: #20344D; font-size: 13px;
  }
  .lts-mobile-profile__language form > button { display: none; }
  .lts-mobile-profile__sheet :is(a,button,select):focus-visible { outline: 3px solid #FFC229; outline-offset: 2px; }
  html[data-lts-theme="dark"] .lts-mobile-profile__sheet { background: #192739 !important; color: #F4F6FA !important; }
  html[data-lts-theme="dark"] .lts-mobile-profile__bar,
  html[data-lts-theme="dark"] .lts-mobile-profile__back,
  html[data-lts-theme="dark"] .lts-mobile-profile__close { color: #F4F6FA !important; }
  html[data-lts-theme="dark"] .lts-mobile-profile__hero { background: #26374E !important; border-color: #42536B; }
  html[data-lts-theme="dark"] .lts-mobile-profile__identity-copy h2,
  html[data-lts-theme="dark"] .lts-mobile-profile__settings-entry { color: #F4F6FA !important; }
  html[data-lts-theme="dark"] .lts-mobile-profile__location,
  html[data-lts-theme="dark"] .lts-mobile-profile__about { color: #CFD7E3 !important; }
  html[data-lts-theme="dark"] .lts-mobile-profile__status { background: #35465C; border-color: #52627A; color: #DFE3F0; }
  html[data-lts-theme="dark"] .lts-mobile-profile__settings-entry,
  html[data-lts-theme="dark"] .lts-mobile-profile__settings-group { background: #26374E !important; border-color: #42536B !important; }
  html[data-lts-theme="dark"] .lts-mobile-profile__stats > div { background: #26374E; border-color: #42536B; }
  html[data-lts-theme="dark"] .lts-mobile-profile__stats strong { color: #B4BEF7; }
  html[data-lts-theme="dark"] .lts-mobile-profile__stats span,
  html[data-lts-theme="dark"] .lts-mobile-profile__settings-body h2,
  html[data-lts-theme="dark"] .lts-mobile-profile__setting-row small { color: #D3D9E6 !important; }
  html[data-lts-theme="dark"] .lts-mobile-profile__setting-row,
  html[data-lts-theme="dark"] .lts-mobile-profile__theme,
  html[data-lts-theme="dark"] .lts-mobile-profile__language form,
  html[data-lts-theme="dark"] .lts-mobile-profile__profile-link { color: #F4F6FA !important; }
  html[data-lts-theme="dark"] .lts-mobile-profile__settings-group > :not(:last-child) { border-bottom-color: #42536B !important; }
  html[data-lts-theme="dark"] .lts-mobile-profile__language select { background: #192739; color: #F4F6FA; border-color: #52627A; }
  html[data-lts-theme="dark"] .lts-mobile-profile__setting-row--danger { color: #FFA2A2 !important; }
}
@media (max-width: 355px) {
  .lts-mobile-profile__hero { padding: 16px 14px 17px; }
  .lts-mobile-profile__avatar { flex-basis: 62px; width: 62px; height: 62px; }
  .lts-mobile-profile__identity { gap: 12px; }
  .lts-mobile-profile__settings-body { padding-inline: 12px; }
  .lts-mobile-profile__upgrade { padding: 14px 11px; }
  .lts-mobile-profile__upgrade a { font-size: 12px !important; padding-inline: 10px !important; }
}
@media (min-width: 781px) { .lts-mobile-profile { display: none !important; } }
@media (prefers-reduced-motion: reduce) {
  .lts-mobile-profile__sheet { animation: none !important; }
  .lts-mobile-profile__switch, .lts-mobile-profile__switch::before { transition: none !important; }
}

/* Core 0.15.186 — unified mobile profile/settings/edit sheets. */
.lts-mobile-profile__confirmation[hidden],
.lts-mobile-profile__confirmation-card[hidden],
.lts-mobile-profile__editor form[hidden] { display: none !important; }
@media (max-width: 780px) {
  .lts-mobile-profile__sheet {
    height: min(94dvh, 1050px);
    max-height: 94dvh;
    background: #FBFAF8 !important;
  }
  .lts-mobile-profile__page { min-height: calc(94dvh - 90px); }
  .lts-mobile-profile__bar { padding-top: 5px; padding-bottom: 16px; }
  .lts-mobile-profile__hero {
    margin: 4px 16px 0;
    padding: 18px 16px;
    border: 1px solid #E7DDCF;
    border-radius: 18px;
    background: #FFF !important;
  }
  .lts-mobile-profile__identity { gap: 16px; }
  .lts-mobile-profile__avatar-edit {
    position: relative;
    display: grid !important;
    padding: 0;
    border-color: #fff;
    cursor: pointer;
    overflow: visible;
  }
  .lts-mobile-profile__avatar-edit img { border-radius: 50%; }
  .lts-mobile-profile__avatar-pencil {
    position: absolute;
    display: grid;
    place-items: center;
    right: -5px;
    bottom: -5px;
    width: 26px;
    height: 26px;
    border: 1px solid #E7DDCF;
    border-radius: 50%;
    background: #fff;
    color: #4352A6;
    font-size: 15px;
  }
  .lts-mobile-profile__settings-entry {
    justify-content: flex-start;
    border-color: #4352A6 !important;
    border-radius: 14px;
    margin-top: 20px;
    min-height: 52px;
    font-size: 15px;
  }
  .lts-mobile-profile__settings-entry > .lts-mobile-profile__chevron { margin-left: auto; }
  .lts-mobile-profile__stats { padding-top: 15px; }
  .lts-mobile-profile__stats > div { background: #fff; min-height: 94px; }
  .lts-mobile-profile__settings-body { padding-top: 6px; }
  .lts-mobile-profile__settings-body h2 { margin-top: 19px !important; margin-bottom: 9px !important; }
  .lts-mobile-profile__settings-group { border-radius: 16px; }
  .lts-mobile-profile__setting-row, .lts-mobile-profile__theme, .lts-mobile-profile__language form {
    min-height: 54px;
    padding: 13px 14px;
    font-size: 14px;
  }
  .lts-mobile-profile__setting-row { cursor: pointer; }
  .lts-mobile-profile__setting-row strong { font-size: 14px; }
  .lts-mobile-profile__setting-row small { font-size: 12px; }
  .lts-mobile-profile__setting-row--danger { font-weight: 700; }
  .lts-mobile-profile__language select { max-width: 134px; }
  .lts-mobile-profile__page--edit {
    background: #20344D;
    color: #F9FBFF;
    min-height: calc(94dvh - 22px);
  }
  .lts-mobile-profile__page--edit .lts-mobile-profile__bar,
  .lts-mobile-profile__page--edit .lts-mobile-profile__bar > strong,
  .lts-mobile-profile__page--edit .lts-mobile-profile__back { color: #fff !important; }
  .lts-mobile-profile__page--edit .lts-mobile-profile__bar { grid-template-columns: 44px minmax(0,1fr) 84px; }
  .lts-mobile-profile__save {
    justify-self: end;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    color: #CFD4FF !important;
    font-size: 14px;
    font-weight: 700;
    padding: 9px 0;
    cursor: pointer;
  }
  .lts-mobile-profile__save:disabled { opacity: .4; }
  .lts-mobile-profile__editor { padding: 24px 21px 35px; }
  .lts-mobile-profile__editor form { margin: 0; }
  .lts-mobile-profile__editor label {
    display: block;
    margin: 0 0 9px;
    font-size: 14px;
    font-weight: 650;
    color: #E2E7FF;
  }
  .lts-mobile-profile__editor input,
  .lts-mobile-profile__editor textarea {
    display: block;
    width: 100%;
    max-width: 100%;
    min-height: 50px;
    margin: 0 0 23px;
    padding: 12px 15px;
    border: 1.5px solid #9EAAFC;
    border-radius: 13px;
    outline-offset: 3px;
    background: rgba(0,0,0,.13);
    color: #fff;
    font: inherit;
    font-size: 16px;
    box-sizing: border-box;
  }
  .lts-mobile-profile__editor input[type="file"] { font-size: 13px; height: auto; }
  .lts-mobile-profile__editor textarea { min-height: 110px; resize: vertical; }
  .lts-mobile-profile__editor-message { color: #FFF0B4; font-size: 13px; }
  .lts-mobile-profile__confirmation:not([hidden]) {
    display: block;
    position: absolute;
    inset: 0;
    z-index: 25;
  }
  .lts-mobile-profile__confirmation-scrim {
    position: absolute;
    inset: 0;
    width: 100%;
    border: none;
    border-radius: 0;
    background: rgba(5, 15, 34, .55);
  }
  .lts-mobile-profile__confirmation-card {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: stretch;
    padding: 16px 20px max(25px, env(safe-area-inset-bottom,0px));
    border-radius: 25px 25px 0 0;
    background: #fff;
    color: #20344D;
    box-shadow: 0 -12px 42px rgba(5,15,34,.24);
    text-align: center;
    touch-action: pan-y;
  }
  .lts-mobile-profile__confirmation-card .lts-mobile-profile__grabber { align-self: center; }
  .lts-mobile-profile__confirmation-card h2 { margin: 8px 0 0; font-size: 23px; color: inherit; }
  .lts-mobile-profile__confirmation-card p { margin: 0; font-size: 14px; line-height: 1.5; }
  .lts-mobile-profile__deletion-unavailable { color: #97545A; }
  .lts-mobile-profile__delete-disabled,
  .lts-mobile-profile__cancel {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 48px;
    border: 1px solid #CBD2DC;
    border-radius: 99px;
    font-size: 15px;
    font-weight: 700;
  }
  .lts-mobile-profile__delete-disabled { background: #D3A6A9; color: #fff; cursor: not-allowed; }
  .lts-mobile-profile__cancel { background: white; color: #20344D; cursor: pointer; }
  html[data-lts-theme="dark"] .lts-mobile-profile__hero { background: #26374E !important; border-color: #42536B; }
  html[data-lts-theme="dark"] .lts-mobile-profile__stats > div { background: #26374E; }
  html[data-lts-theme="dark"] .lts-mobile-profile__confirmation-card { background: #26374E; color: #F4F6FA; }
  html[data-lts-theme="dark"] .lts-mobile-profile__cancel { background: #35465C; color: #F4F6FA; border-color: #52627A; }
}

@media (max-width:780px) and (prefers-reduced-motion:no-preference) {
  .lts-mobile-profile__page--edit:not([hidden]) {
    animation: lts-profile-edit-arrive .22s cubic-bezier(.2,.8,.25,1) both;
  }
  @keyframes lts-profile-edit-arrive {
    from { opacity:.7; transform:translateY(22px); }
    to { opacity:1; transform:translateY(0); }
  }
}

/* Core 0.15.187: matched mobile edit surfaces and membership/photo controls. */
@media (max-width:780px) {
  .lts-mobile-profile__sheet.is-editing {
    background: #20344D !important;
    border-radius: 26px 26px 0 0;
    overflow: auto;
  }
  .lts-mobile-profile__sheet.is-editing .lts-mobile-profile__drag-zone { background: #20344D; }
  .lts-mobile-profile__sheet.is-editing .lts-mobile-profile__grabber { background: #8893B7; }
  .lts-mobile-profile__sheet.is-editing .lts-mobile-profile__page--edit {
    min-height: calc(94dvh - 90px);
    background: #20344D !important;
  }
  .lts-mobile-profile__settings-avatar-wrap {
    display: flex; align-items: center; gap: 14px;
    padding: 12px 8px 4px;
    color: #526175; font-size: 14px; font-weight: 600;
  }
  .lts-mobile-profile__settings-avatar-wrap .lts-mobile-profile__avatar { flex: 0 0 68px; width:68px; height:68px; }
  .lts-mobile-profile__avatar:not(.lts-mobile-profile__avatar-edit) { cursor: default; }
  .lts-mobile-profile__settings-entry {
    outline: none !important;
    transition: background .15s ease, transform .15s ease;
  }
  .lts-mobile-profile__settings-entry:active {
    background: #EFF1FD !important;
    transform: scale(.985);
  }
  .lts-mobile-profile__settings-entry:focus-visible {
    outline: 2px solid #4352A6 !important;
    outline-offset: 3px;
  }
  .lts-mobile-profile__status--upgrade, .lts-mobile-profile__status--upgrade:visited,
  .lts-mobile-profile__status--upgrade:link {
    display: inline-flex; align-items: center; justify-content: center;
    background: #FFC229; color: #20344D !important;
    border-color: #FFC229; font-weight: 750;
    text-decoration: none !important; padding: 7px 14px; font-size: 12px;
  }
  .lts-mobile-profile__status--member {
    display: inline-flex; gap: 6px; align-items: center;
    background: #4352A6; border-color: #4352A6;
    color: #fff; font-weight: 750; padding: 7px 14px;
  }
  .lts-mobile-profile__status--member svg { flex-shrink: 0; }
  .lts-mobile-profile__photo-choice[hidden] { display:none !important; }
  .lts-mobile-profile__photo-choice:not([hidden]) {
    display: block; position: absolute; inset: 0; z-index: 35;
  }
  .lts-mobile-profile__photo-scrim {
    position: absolute; inset:0; width:100%; height:100%;
    background: rgba(11,23,48,.5) !important; border:0; border-radius:0;
  }
  .lts-mobile-profile__photo-card {
    position: absolute; bottom:0; left:0; right:0;
    display:flex; flex-direction:column; gap:8px;
    background:#fff; border-radius:24px 24px 0 0;
    padding:17px 20px max(26px,env(safe-area-inset-bottom,0px));
    box-shadow: 0 -14px 34px rgba(11,23,48,.2);
  }
  .lts-mobile-profile__photo-card .lts-mobile-profile__grabber { align-self:center; }
  .lts-mobile-profile__photo-header { position:relative; display:grid; place-items:center; min-height:103px; padding: 14px 48px 9px; }
  .lts-mobile-profile__photo-header .lts-mobile-profile__grabber { position:absolute; top:0; left:50%; transform:translateX(-50%); }
  .lts-mobile-profile__photo-card h2 { margin: 8px 0 !important; text-align:center; color:#20344D; font-size:19px; }
  .lts-mobile-profile__photo-card .lts-mobile-profile__photo-close {
    position:absolute; top:16px; right:0; display:grid; place-items:center;
    width:44px; min-width:44px; height:44px; min-height:44px;
    padding:0; border:0; border-radius:50%; background:transparent !important;
    color:#4352A6 !important; cursor:pointer; -webkit-tap-highlight-color:transparent;
    transition: background-color .16s ease, transform .16s ease;
  }
  .lts-mobile-profile__photo-card .lts-mobile-profile__photo-close::before {
    content:'×'; font-size:32px; line-height:1; font-family:Arial,sans-serif; font-weight:300;
  }
  .lts-mobile-profile__photo-card .lts-mobile-profile__photo-close:is(:hover,:focus-visible,:active) {
    background:rgba(67,82,166,.1) !important;
  }
  .lts-mobile-profile__photo-card .lts-mobile-profile__photo-close:focus-visible { outline:2px solid #4352A6; outline-offset:2px; }
  .lts-mobile-profile__photo-card.is-dragging { transition:none !important; animation:none !important; }
  .lts-mobile-profile__photo-card button[data-lts-photo-source] {
    min-height:47px; padding:11px 14px; background:#FBFAF8 !important;
    color:#20344D !important; border:1px solid #E6DED3;
    border-radius:13px; font-size:15px; font-weight:650;
  }
  html[data-lts-theme="dark"] .lts-mobile-profile__settings-avatar-wrap {color:#CFD7E3;}
  html[data-lts-theme="dark"] .lts-mobile-profile__status--upgrade {color:#20344D !important;}
  html[data-lts-theme="dark"] .lts-mobile-profile__status--member {color:#fff !important;}
}

/* 0.15.188: consistent chevron alignment for every settings row. */
@media (max-width: 780px) {
  .lts-mobile-profile__setting-row > .lts-mobile-profile__chevron {
    margin-left: auto;
    flex: 0 0 auto;
    align-self: center;
  }
  .lts-mobile-profile__language select { cursor: pointer; }
  .lts-mobile-profile__language select:disabled { opacity: .7; }
}
@media (max-width: 780px) {
  /* WP block themes may default controls to content-box. The whole control,
     including padding, must stay INSIDE the shared settings card. */
  .lts-mobile-profile__settings-group .lts-mobile-profile__setting-row,
  .lts-mobile-profile__settings-group .lts-mobile-profile__theme,
  .lts-mobile-profile__settings-group .lts-mobile-profile__language form {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0;
  }
}


/* Core 0.15.261 — mobile Profile / Settings / editors use the same
   borderless back arrow, with a round ink shadow only while interacting. */
@media (max-width: 780px) {
  body .lts-mobile-profile .lts-mobile-profile__bar .lts-mobile-profile__back {
    display: inline-grid !important;
    place-items: center !important;
    flex: 0 0 44px;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: transparent !important;
    box-shadow: none !important;
    transform: none !important;
    transition: background-color .18s ease, box-shadow .18s ease, transform .18s ease !important;
  }
  body .lts-mobile-profile .lts-mobile-profile__bar .lts-mobile-profile__back svg {
    display: block !important;
    width: 22px !important;
    height: 22px !important;
    stroke: currentColor;
    stroke-width: 1.8;
    transform: none !important;
  }
  body .lts-mobile-profile .lts-mobile-profile__bar .lts-mobile-profile__back:is(:hover, :focus-visible, :active) {
    background: rgba(67, 82, 166, .11) !important;
    box-shadow: 0 3px 12px rgba(32, 52, 77, .12) !important;
  }
  body .lts-mobile-profile .lts-mobile-profile__bar .lts-mobile-profile__back:active {
    transform: scale(.96) !important;
  }
  /* Name, email, password and photo editor pages use a navy background. */
  body .lts-mobile-profile .lts-mobile-profile__page--edit .lts-mobile-profile__bar .lts-mobile-profile__back:is(:hover, :focus-visible, :active),
  html[data-lts-theme="dark"] body .lts-mobile-profile .lts-mobile-profile__bar .lts-mobile-profile__back:is(:hover, :focus-visible, :active) {
    background: rgba(246, 241, 232, .14) !important;
    box-shadow: 0 3px 14px rgba(0, 0, 0, .20) !important;
  }
  body .lts-mobile-profile .lts-mobile-profile__page--edit .lts-mobile-profile__bar .lts-mobile-profile__back:focus-visible,
  html[data-lts-theme="dark"] body .lts-mobile-profile .lts-mobile-profile__bar .lts-mobile-profile__back:focus-visible {
    outline-color: #FFC229 !important;
  }
  @media (prefers-reduced-motion: reduce) {
    body .lts-mobile-profile .lts-mobile-profile__bar .lts-mobile-profile__back { transition: none !important; }
  }
}

/* Core v0.15.282 — isolate the photo chooser touch layer from the profile sheet. */
@media (max-width:780px) {
  .lts-mobile-profile__photo-choice:not([hidden]) { touch-action:none; overscroll-behavior:contain; }
  .lts-mobile-profile__photo-scrim { touch-action:none; }
  .lts-mobile-profile__photo-card { touch-action:pan-y; overscroll-behavior:contain; will-change:transform; }
  html[data-lts-theme="dark"] .lts-mobile-profile__photo-card { background:#26374E; }
  html[data-lts-theme="dark"] .lts-mobile-profile__photo-card h2 { color:#F4F6FA; }
  html[data-lts-theme="dark"] .lts-mobile-profile__photo-card button[data-lts-photo-source] {
    background:#35465C !important; color:#F4F6FA !important; border-color:#52627A;
  }
  html[data-lts-theme="dark"] .lts-mobile-profile__photo-card .lts-mobile-profile__photo-close { color:#F4F6FA !important; }
}
@media (prefers-reduced-motion:reduce) {
  .lts-mobile-profile__photo-card, .lts-mobile-profile__photo-close { animation:none !important; transition:none !important; }
}

/* Core 0.15.389: password visibility and save state in the mobile settings sheet. */
.lts-mobile-profile__password-wrap {display:block;position:relative;}
.lts-mobile-profile__editor .lts-mobile-profile__password-wrap input {padding-right:58px;}
.lts-mobile-profile__editor .lts-mobile-profile__password-wrap .lts-password-eye {
 position:absolute;right:8px;top:25px;transform:translateY(-50%);width:38px;height:38px;
 min-height:38px;min-width:38px;margin:0;padding:0;display:grid;place-items:center;
 border:0!important;border-radius:50%;background:transparent!important;box-shadow:none!important;
 color:#d9e0ff!important;cursor:pointer;
}
.lts-mobile-profile__editor .lts-mobile-profile__password-wrap .lts-password-eye:hover,
.lts-mobile-profile__editor .lts-mobile-profile__password-wrap .lts-password-eye:active {
 background:transparent!important;color:#fff!important;box-shadow:none!important;
}
.lts-mobile-profile__editor-message.is-success {color:#aaf4be;font-weight:650;}


/* Core 0.15.407 — mobile Devices & Sessions sheet. */
@media (max-width: 780px) {
  .lts-mobile-profile__page--edit[data-lts-editor-mode="devices"] .lts-mobile-profile__save { display: none !important; }
  .lts-mobile-profile__sessions { color: #E2E7FF; display: grid; gap: 14px; }
  .lts-mobile-profile__session-group { display: grid; gap: 8px; }
  .lts-mobile-profile__session-label { margin: 0; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #C9D2F5; }
  .lts-mobile-profile__session-card { padding: 12px 13px; border: 1px solid rgba(158,170,252,.30); border-radius: 16px; background: rgba(255,255,255,.04); }
  .lts-mobile-profile__session-head { display:flex; align-items:flex-start; justify-content:space-between; gap:10px; }
  .lts-mobile-profile__session-row { display:flex; align-items:center; justify-content:space-between; gap:10px; }
  .lts-mobile-profile__session-main { display:flex; align-items:center; gap:10px; min-width:0; flex:1; }
  .lts-mobile-profile__session-copy { min-width:0; flex:1; }
  .lts-mobile-profile__session-copy strong { display:block; margin:0; font-size:15px; line-height:1.25; color:#fff; overflow-wrap:anywhere; }
  .lts-mobile-profile__session-copy span { display:block; margin-top:3px; font-size:12px; line-height:1.4; color:#C9D2F5; overflow-wrap:anywhere; }
  .lts-mobile-profile__session-status { flex:none; font-size:12px; font-weight:700; color:#9EAAFC; white-space:nowrap; }
  .lts-mobile-profile__session-divider { height:1px; margin:10px 0 10px; background:rgba(158,170,252,.22); }
  .lts-mobile-profile__session-link { padding:0; border:0; background:transparent; color:#FFB3B3; font:inherit; font-size:14px; font-weight:700; text-align:left; }
  .lts-mobile-profile__session-note { margin:0; font-size:12px; line-height:1.4; color:#C9D2F5; }
  .lts-mobile-profile__session-stack { display:grid; gap:8px; }
  .lts-mobile-profile__session-button { flex:none; min-height:36px; padding:8px 12px; border:1px solid rgba(158,170,252,.52); border-radius:12px; background:rgba(255,255,255,.02); color:#E2E7FF; font:inherit; font-size:13px; font-weight:700; white-space:nowrap; }
  .lts-mobile-profile__session-more { margin:0; border:1px solid rgba(158,170,252,.22); border-radius:14px; background:rgba(255,255,255,.03); overflow:hidden; }
  .lts-mobile-profile__session-more summary { list-style:none; cursor:pointer; padding:11px 13px; font-size:13px; font-weight:700; color:#E2E7FF; }
  .lts-mobile-profile__session-more summary::-webkit-details-marker { display:none; }
  .lts-mobile-profile__session-more summary::after { content:'›'; float:right; color:#9EAAFC; font-size:18px; transform:rotate(90deg); }
  .lts-mobile-profile__session-more[open] summary::after { transform:rotate(-90deg); }
  .lts-mobile-profile__session-more .lts-mobile-profile__session-stack { padding:0 8px 8px; }
  .lts-mobile-profile__session-feedback { margin:0; font-size:12px; color:#AAF4BE; }
  .lts-mobile-profile__session-feedback.is-error { color:#FFB4B4; }
  .lts-mobile-profile__session-feedback[hidden] { display:none !important; }
  .lts-mobile-profile__sessions .lts-ps__session-icon { flex:none; width:40px; height:40px; border-radius:12px; background:rgba(83,128,231,.22); color:#BFD1FF; display:inline-flex; align-items:center; justify-content:center; }
  .lts-mobile-profile__sessions .lts-ps__session-icon svg { width:20px; height:20px; stroke:currentColor; stroke-width:1.8; }
  .lts-mobile-profile__sessions .lts-ps__session-icon.is-phone { background:rgba(98,196,171,.18); color:#B3F0E2; }
  .lts-mobile-profile__sessions .lts-ps__session-icon.is-tablet { background:rgba(255,194,41,.18); color:#FFE29A; }
}


/* Core 0.15.408 — Devices sheet uses LTS interaction/contrast tokens. */
@media (max-width: 780px) {
  /* Saving is not part of session revocation. Keep equal columns so the title
     remains centered independently of the back arrow. */
  .lts-mobile-profile__page--edit[data-lts-editor-mode="devices"] .lts-mobile-profile__bar {
    grid-template-columns: 44px minmax(0,1fr) 44px !important;
  }
  .lts-mobile-profile__page--edit[data-lts-editor-mode="devices"] .lts-mobile-profile__bar::after {
    content: "";
    display: block;
    width: 44px;
    height: 44px;
    pointer-events: none;
  }
  .lts-mobile-profile__page--edit[data-lts-editor-mode="devices"] .lts-mobile-profile__bar > strong {
    text-align: center !important;
    justify-self: stretch;
  }
  /* Critical actions: dark-red ink from the canonical palette on a light
     surface to preserve legibility against the navy sheet. */
  .lts-mobile-profile__page--edit[data-lts-editor-mode="devices"] .lts-mobile-profile__session-link {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    max-width: 100%;
    padding: 8px 12px;
    border: 1px solid var(--lts-parchment-deep, #E9E1D6) !important;
    border-radius: 12px;
    background: var(--lts-paper, #fff) !important;
    color: var(--lts-error, #9E2B25) !important;
    font-size: 13px;
    line-height: 1.3;
    font-weight: 750;
    text-align: left;
    box-shadow: none !important;
  }
  .lts-mobile-profile__page--edit[data-lts-editor-mode="devices"] :is(.lts-mobile-profile__session-link,.lts-mobile-profile__session-button) {
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    transition: transform .14s ease, background-color .14s ease, border-color .14s ease, box-shadow .14s ease;
  }
  .lts-mobile-profile__page--edit[data-lts-editor-mode="devices"] .lts-mobile-profile__session-button {
    border-color: var(--lts-on-blue-soft, #DDE1F5) !important;
    background: transparent !important;
    color: var(--lts-on-blue-soft, #DDE1F5) !important;
    box-shadow: none !important;
  }
  .lts-mobile-profile__page--edit[data-lts-editor-mode="devices"] .lts-mobile-profile__session-link:is(:hover,:focus) {
    background: var(--lts-blue-soft, #F2F4FC) !important;
  }
  .lts-mobile-profile__page--edit[data-lts-editor-mode="devices"] .lts-mobile-profile__session-button:is(:hover,:focus) {
    background: rgba(221,225,245,.10) !important;
  }
  .lts-mobile-profile__page--edit[data-lts-editor-mode="devices"] :is(.lts-mobile-profile__session-link,.lts-mobile-profile__session-button):active {
    transform: scale(.97);
    box-shadow: 0 2px 8px rgba(4,14,32,.16) !important;
  }
  /* The sheet's legacy yellow focus styling must not leak into device actions.
     Keep a subtle blue keyboard-only outline for accessibility. */
  .lts-mobile-profile__page--edit[data-lts-editor-mode="devices"] :is(.lts-mobile-profile__session-link,.lts-mobile-profile__session-button):focus:not(:focus-visible) {
    outline: none !important;
  }
  .lts-mobile-profile__page--edit[data-lts-editor-mode="devices"] :is(.lts-mobile-profile__session-link,.lts-mobile-profile__session-button):focus-visible {
    outline: 2px solid var(--lts-on-blue-soft, #DDE1F5) !important;
    outline-offset: 3px;
  }
  .lts-mobile-profile__page--edit[data-lts-editor-mode="devices"] :is(.lts-mobile-profile__session-link,.lts-mobile-profile__session-button):disabled {
    opacity: .55;
    cursor: wait;
    transform: none;
  }
  .lts-mobile-profile__sheet[data-lts-active-editor="devices"] .lts-mobile-profile__drag-zone {
    touch-action: none;
  }
}
@media (max-width:780px) and (prefers-reduced-motion:reduce) {
  .lts-mobile-profile__page--edit[data-lts-editor-mode="devices"] :is(.lts-mobile-profile__session-link,.lts-mobile-profile__session-button) { transition:none !important; }
}


/* Core 0.15.418 — mobile logout retains the canonical settings row styling. */
@media(max-width:780px) {
  .lts-mobile-profile__settings-group > .lts-core-logout-form {width:100%;margin:0;}
  .lts-mobile-profile__settings-group > .lts-core-logout-form > .lts-mobile-profile__logout-button {
    display:flex!important;align-items:center;justify-content:space-between;gap:12px;
    width:100%;min-height:52px;margin:0;padding:13px 17px;
    border:0!important;border-radius:0;background:transparent!important;
    box-shadow:none!important;text-align:left;color:#20344D!important;
    font:inherit;font-size:14px;font-weight:600;cursor:pointer;
  }
  .lts-mobile-profile__settings-group > .lts-core-logout-form > .lts-mobile-profile__logout-button:focus-visible {
    outline:2px solid var(--lts-blue,#4352A6)!important;outline-offset:-3px;
  }
  html[data-lts-theme="dark"] .lts-mobile-profile__settings-group > .lts-core-logout-form > .lts-mobile-profile__logout-button {
    color:#F4F6FA!important;
  }
}
