img {
/*     opacity: 0 !important; */
}

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--gray-50);
    color: var(--gray-800);
    overflow-x: hidden;
    min-height: 100vh
}

.header {
    position: fixed;
    top: 0;
    left: var(--sidebar-collapsed);
    right: 0;
    height: var(--header-h);
    background: linear-gradient(135deg, var(--fuchsia-600), var(--fuchsia-500), var(--rose-300));
    display: flex;
    align-items: center;
    padding: 0 20px;
    z-index: 100;
    box-shadow: 0 2px 20px rgba(192, 0, 110, .25);
    gap: 12px;
    transition: left .3s cubic-bezier(.4, 0, .2, 1)
}

.hamburger {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    border: none;
    background: transparent;
    color: var(--sidebar-text);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .2s;
    flex-shrink: 0;
    margin-left: auto;
}

.hamburger:hover {
    background: rgba(255, 255, 255, .1);
    color: var(--sidebar-text-active)
}

.hamburger svg {
    width: 21px;
    height: 21px;
    stroke-width: 2.4
}

.sidebar__guest-row {
    display: flex;
    align-items: center;
    gap: 8px
}

.sidebar__guest-row .sidebar__user-guest {
    flex: 1
}

.header__logo {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.75rem;
    color: var(--white);
    text-decoration: none;
    letter-spacing: -.5px
}

.header__logo span {
    font-weight: 300;
    opacity: .85
}

.header__spacer {
    flex: 1
}

.header__right {
    display: flex;
    align-items: center;
    gap: 10px
}

.btn--publish {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--white);
    color: var(--rose-300);
    height: 38px;
    padding: 0 16px;
    border-radius: var(--radius-full);
    font-family: inherit;
    font-size: .85rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: all .2s
}

.btn--publish:hover {
    background: var(--rose-50);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md)
}

.header__anunciar {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 36px;
    padding: 0 16px;
    border-radius: 18px;
    border: 1.5px solid rgba(255, 255, 255, .5);
    color: #fff;
    background: rgba(255, 255, 255, .15);
    font-size: .85rem;
    font-weight: 700;
    text-decoration: none;
    transition: background .2s, border-color .2s
}

.header__anunciar:hover {
    background: rgba(255, 255, 255, .25);
    border-color: rgba(255, 255, 255, .8)
}

.header__anunciar--login {
    background: var(--white);
    color: var(--rose-300);
    border-color: rgba(255, 255, 255, .5);
    cursor: pointer;
}

.header__anunciar--login:hover {
    background: var(--rose-50);
    border-color: rgba(255, 255, 255, .6);
}

.header__ingresar {
    display: inline-flex;
    align-items: center;
    height: 36px;
    padding: 0 20px;
    border-radius: 18px;
    background: var(--fuchsia-500);
    color: #fff;
    font-size: .85rem;
    font-weight: 700;
    text-decoration: none;
    transition: filter .2s, transform .15s;
    box-shadow: 0 2px 10px rgba(201, 34, 143, .3)
}

.header__ingresar:hover {
    filter: brightness(1.1);
    transform: translateY(-1px)
}

.header__icon-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, .12);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .2s;
    position: relative
}

.header__icon-btn:hover {
    background: rgba(255, 255, 255, .22)
}

.header__icon-btn .badge {
    position: absolute;
    top: 2px;
    right: 2px;
    min-width: 15px;
    height: 15px;
    padding: 0 4px;
    border-radius: 8px;
    background: var(--fuchsia-500);
    color: var(--white);
    font-size: .58rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--white)
}

.header__icon-btn .badge[hidden] {
    display: none
}

.header__avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, .5);
    background: var(--rose-200);
    cursor: pointer;
    overflow: hidden
}

.header__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.overlay {
    position: fixed;
    inset: 0;
    z-index: 150;
    background: rgba(0, 0, 0, .18);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s
}

.overlay--active {
    opacity: 1;
    pointer-events: auto
}

.user-dropdown {
    position: fixed;
    top: calc(var(--header-h)+8px);
    right: 20px;
    width: 260px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    z-index: 200;
    opacity: 0;
    transform: translateY(-8px) scale(.97);
    pointer-events: none;
    transition: all .2s cubic-bezier(.4, 0, .2, 1)
}

.user-dropdown--open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto
}

.dd__header {
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--gray-100)
}

.dd__avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0
}

.dd__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.dd__name {
    font-weight: 600;
    font-size: .9rem;
    color: var(--gray-800)
}

.dd__meta {
    font-size: .72rem;
    color: var(--gray-400)
}

.dd__items {
    padding: 6px 0
}

.dd__item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px;
    font-size: .84rem;
    font-weight: 500;
    color: var(--gray-600);
    cursor: pointer;
    transition: all .12s;
    text-decoration: none;
    border: none;
    background: none;
    width: 100%;
    font-family: inherit;
    text-align: left
}

.dd__item:hover {
    background: var(--rose-50);
    color: var(--fuchsia-600)
}

.dd__item svg {
    width: 17px;
    height: 17px;
    opacity: .55;
    flex-shrink: 0
}

.dd__item:hover svg {
    opacity: 1
}

.dd__divider {
    height: 1px;
    background: var(--gray-100);
    margin: 4px 0
}

.dd__item--danger {
    color: var(--red-500)
}

.dd__item--danger:hover {
    background: var(--red-50);
    color: var(--red-500)
}

.notif-panel {
    position: fixed;
    top: calc(var(--header-h)+8px);
    right: 68px;
    width: 380px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    z-index: 200;
    opacity: 0;
    transform: translateY(-8px) scale(.97);
    pointer-events: none;
    transition: all .2s cubic-bezier(.4, 0, .2, 1);
    max-height: min(480px, calc(100dvh - var(--header-h) - 24px));
    display: flex;
    flex-direction: column
}

.notif-panel--open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto
}

.np__header {
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--gray-100);
    flex-shrink: 0
}

.np__title {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: var(--gray-800)
}

.np__badge {
    padding: 2px 10px;
    border-radius: var(--radius-full);
    background: var(--fuchsia-500);
    color: var(--white);
    font-size: .68rem;
    font-weight: 700
}

.np__list {
    overflow-y: auto;
    flex: 1;
    min-height: 0;
    overscroll-behavior: contain;
    scrollbar-gutter: stable
}

.np__item {
    display: flex;
    gap: 12px;
    padding: 14px 20px;
    cursor: pointer;
    transition: background .12s;
    border-bottom: 1px solid var(--gray-50);
    position: relative
}

.np__item:hover {
    background: var(--rose-50)
}

.np__item--unread {
    background: var(--rose-50)
}

.np__item--unread::after {
    content: '';
    position: absolute;
    left: 9px;
    top: 22px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--fuchsia-500)
}

.np__item-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1rem
}

.np__item-content {
    flex: 1;
    min-width: 0
}

.np__item-text {
    font-size: .82rem;
    color: var(--gray-600);
    line-height: 1.45
}

.np__item-text strong {
    font-weight: 600;
    color: var(--gray-800)
}

.np__item-preview {
    font-size: .75rem;
    color: var(--gray-400);
    margin-top: 2px;
    font-style: italic;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.np__item-time {
    font-size: .68rem;
    color: var(--gray-400);
    margin-top: 3px
}

a.np__item {
    text-decoration: none;
    color: inherit
}

/* Google reCAPTCHA v3: insignia visible solo en los formularios protegidos. */
.grecaptcha-badge {
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transition: opacity .18s ease;
    z-index: 99999;
}

body.wt-recaptcha-badge-visible .grecaptcha-badge {
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

.np__empty,
.np__loading {
    padding: 32px 20px;
    text-align: center;
    font-size: .82rem;
    color: var(--gray-400)
}

.np__footer {
    padding: 12px 20px;
    border-top: 1px solid var(--gray-100);
    text-align: center;
    flex-shrink: 0
}

.np__footer button {
    padding: 0;
    border: 0;
    background: transparent;
    font-size: .8rem;
    font-weight: 600;
    color: var(--fuchsia-500);
    text-decoration: none;
    cursor: pointer
}

.np__footer button:hover {
    text-decoration: underline
}

.np__footer button:disabled {
    color: var(--gray-400);
    cursor: default;
    text-decoration: none
}

/* ---------------------------------------------------------------
 * Notification toasts (#notifToastContainer)
 * --------------------------------------------------------------- */

#notifToastContainer {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.nt-toast {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    width: 320px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, .15);
    border-left: 4px solid var(--fuchsia-500);
    pointer-events: auto;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transform: translateX(120%);
    opacity: 0;
    transition: transform .35s cubic-bezier(.4, 0, .2, 1), opacity .35s ease;
}

.nt-toast--visible {
    transform: translateX(0);
    opacity: 1;
}

.nt-toast:hover {
    background: var(--rose-50, #fff1f2);
}

.nt-toast__avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    background: #e5e7eb;
}

.nt-toast__body {
    flex: 1;
    min-width: 0;
}

.nt-toast__text {
    font-size: .8rem;
    color: #4b5563;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nt-toast__text strong {
    color: #111827;
    font-weight: 600;
}

.nt-toast__time {
    font-size: .68rem;
    color: #9ca3af;
    margin-top: 2px;
}

.nt-toast__close {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border: none;
    background: none;
    color: #9ca3af;
    cursor: pointer;
    font-size: .8rem;
    padding: 0;
    line-height: 1;
    transition: color .15s;
}

.nt-toast__close:hover {
    color: #374151;
}

@media (max-width: 480px) {
    #notifToastContainer {
        right: 8px;
        left: 8px;
        bottom: 16px;
    }

    .nt-toast {
        width: auto;
    }
}

.toast-container {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 300;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none
}

.toast {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-radius: var(--radius-md);
    font-size: .84rem;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    pointer-events: auto;
    transform: translateY(16px);
    opacity: 0;
    transition: transform .3s cubic-bezier(.4, 0, .2, 1), opacity .3s ease;
    max-width: 380px;
    border-left: 4px solid transparent
}

.toast--visible {
    transform: translateY(0);
    opacity: 1
}

.toast__icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: .9rem
}

.toast__body {
    flex: 1;
    min-width: 0
}

.toast__title {
    font-weight: 600;
    font-size: .82rem;
    margin-bottom: 1px
}

.toast__text {
    font-size: .75rem;
    color: var(--gray-500)
}

.toast__close {
    width: 24px;
    height: 24px;
    border: none;
    background: none;
    color: var(--gray-400);
    cursor: pointer;
    font-size: .85rem;
    flex-shrink: 0
}

.toast--success {
    border-left-color: var(--green-500)
}

.toast--success .toast__icon {
    background: var(--green-50);
    color: var(--green-500)
}

.toast--success .toast__title {
    color: var(--green-500)
}

.toast--error {
    border-left-color: var(--red-500)
}

.toast--error .toast__icon {
    background: var(--red-50);
    color: var(--red-500)
}

.toast--error .toast__title {
    color: var(--red-500)
}

.toast--info {
    border-left-color: var(--fuchsia-500)
}

.toast--info .toast__icon {
    background: var(--rose-100);
    color: var(--fuchsia-500)
}

.toast--info .toast__title {
    color: var(--fuchsia-600)
}

.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: var(--sidebar-collapsed);
    background: var(--sidebar-bg);
    z-index: 110;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
    transition: all .3s cubic-bezier(.4, 0, .2, 1)
}

.sidebar__nav {
    display: flex;
    flex-direction: column;
    gap: 7.5px;
    padding: 15px 10px;
    flex: 1
}

.sidebar__link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 11px 14px;
    text-decoration: none;
    color: var(--sidebar-text);
    font-size: .84rem;
    font-weight: 500;
    transition: all .2s;
    border-radius: var(--radius-sm);
    white-space: nowrap;
    overflow: hidden;
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
    width: 100%;
    text-align: left
}
.sidebar__link:hover {
    background: var(--white);
    color: var(--rose-300)
}

.sidebar__link--active {
    background: linear-gradient(135deg, var(--fuchsia-600), var(--fuchsia-500));
    color: var(--white);
    box-shadow: 0 2px 12px rgba(224, 0, 122, .3)
}

.sidebar__link--disabled {
    opacity: .45;
    cursor: not-allowed;
    pointer-events: none;
    position: relative;
}

.sidebar__link--disabled[data-wip] {
    pointer-events: auto;
    cursor: not-allowed;
}

.sidebar__link--disabled[data-wip]:hover {
    background: var(--sidebar-hover);
    color: var(--sidebar-text-active);
}

/* Modal construcción */
.wip-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .55);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s;
}

.wip-modal-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
}

.wip-modal {
    background: var(--white, #fff);
    border-radius: 16px;
    padding: 36px 32px 28px;
    max-width: 420px;
    width: calc(100% - 32px);
    text-align: center;
    box-shadow: 0 8px 40px rgba(0, 0, 0, .18);
    transform: translateY(12px);
    transition: transform .2s;
}

.wip-modal-backdrop.is-open .wip-modal {
    transform: translateY(0);
}

.wip-modal__icon {
    font-size: 2.6rem;
    margin-bottom: 12px;
    display: block;
}

.wip-modal__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900, #111);
    margin-bottom: 8px;
}

.wip-modal__body {
    font-size: .92rem;
    color: var(--gray-600, #555);
    line-height: 1.55;
    margin-bottom: 24px;
}

.wip-modal__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 28px;
    border-radius: 999px;
    border: none;
    background: var(--gray-500);
    color: #fff;
    font-size: .9rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity .15s;
}

.wip-modal__close:hover {
    opacity: .88;
}

.sidebar__link svg {
    width: 26px;
    height: auto;
    flex-shrink: 0;
    opacity: .65;
}

.sidebar__link[data-wt-home-route] svg{
    width: 30px;
}

.sidebar__link:hover svg,
.sidebar__link--active svg {
    opacity: 1
}

.sidebar__link span {
    transition: opacity .2s .1s
}

.sidebar__link span {
    opacity: 1;
    max-width: none;
    overflow: visible;
    font-size: .6rem;
    text-align: center;
    white-space: normal;
    line-height: 1.2
}

.sidebar__link {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 8px 4px
}

.sidebar__divider {
    height: 1px;
    background: var(--sidebar-hover);
    margin: 10px 14px
}

.sidebar__divider {
    margin: 10px 8px
}

/* ── Sidebar user section ── */
.sidebar__user {
    margin: 12px 10px;
    padding: 12px;
    background: var(--sidebar-hover);
    border-radius: var(--radius-sm);
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    overflow: visible
}

.sidebar__user-row {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

/* ── Account menu inside user card ── */
.sidebar__user-menu {
    margin-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, .08);
    padding-top: 6px
}

/* Sidebar compacto: misma estructura en tablet y escritorio. */
@media(min-width:513px) {
    .sidebar__account-panel:not(.sidebar__account-panel--open) .sidebar__user-menu {
        display: none
    }

    .sidebar__user-row {
        gap: 0;
        justify-content: center;
        isolation: isolate
    }

    .sidebar__user-row .sidebar__user-avatar {
        width: 32px;
        height: 32px
    }

    .sidebar__user-row .sidebar__user-avatar-wrap {
        position: relative;
        z-index: 1
    }

    .sidebar__user-row .hamburger {
        margin-left: -8px;
        position: relative;
        z-index: 2;
        background: var(--sidebar-hover);
        border-radius: 4px;
        width: 26px;
        height: 24px
    }

    .sidebar__guest-row {
        justify-content: center;
        gap: 0
    }

    .sidebar__guest-row .hamburger {
        margin-left: -8px;
        position: relative;
        z-index: 2;
        background: var(--sidebar-hover);
        border-radius: 4px;
        width: 26px;
        height: 24px;
    }

    .sidebar__user-guest span {
        display: block;
    }

    .sidebar__guest-row .sidebar__user-guest span {
        display: none;
    }

    .sidebar__user-info {
        display: none
    }

    .sidebar__account-panel:not(.sidebar__account-panel--open) .sidebar__nav-sub {
        display: none
    }
}

.sidebar__user {
    align-items: center;
    padding: 10px 0;
    background: transparent;
    margin: 8px 0
}

.sidebar--user-open {
    overflow: visible;
}

.sidebar__account-panel {
    position: absolute;
    top: 0;
    left: calc(100% + 8px);
    z-index: 4;
    width: calc(var(--sidebar-w) - 20px);
    max-height: calc(100vh - 24px);
    margin: 12px 0;
    padding: 12px;
    align-items: stretch;
    overflow-x: hidden;
    overflow-y: auto;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    box-shadow: 0 14px 40px rgba(24, 24, 27, .18);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(-6px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s;
}

.sidebar__account-panel--open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);
}

.sidebar__account-panel-header {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 2px 2px 12px;
    border-bottom: 1px solid var(--gray-200);
}

.sidebar__account-panel-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--fuchsia-50, #fdf2f8);
    color: var(--fuchsia-600);
}

.sidebar__account-panel-icon svg {
    width: 18px;
    height: 18px;
}

.sidebar__account-panel-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.sidebar__account-panel-copy strong,
.sidebar__account-panel-copy span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sidebar__account-panel-copy strong {
    color: var(--gray-900);
    font-size: .86rem;
    line-height: 1.3;
}

.sidebar__account-panel-copy span {
    color: var(--gray-500);
    font-size: .7rem;
    line-height: 1.35;
}

.sidebar__account-panel .sidebar__user-menu {
    margin-top: 0;
    padding-top: 8px;
    border-top: 0;
}

.sidebar__account-panel .sidebar__user-menu,
.sidebar__account-panel .sidebar__nav-sub {
    display: block;
}

.sidebar__account-panel .sidebar__link {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
}

.sidebar__account-panel .sidebar__link span {
    font-size: inherit;
    text-align: left;
    white-space: nowrap;
}

.sidebar__account-panel .sidebar__user-guest {
    justify-content: flex-start;
}

.sidebar__account-panel .sidebar__user-guest span {
    display: block;
    opacity: 1;
    max-width: none;
}

.sidebar__account-login {
    gap: 10px;
    margin-top: 12px;
    padding: 10px 12px;
    border: 1px solid var(--fuchsia-100, #fce7f3);
    border-radius: var(--radius-sm);
    background: var(--fuchsia-50, #fdf2f8);
}

.sidebar__account-login:hover {
    background: var(--rose-100);
}

@media (prefers-reduced-motion: reduce) {
    .sidebar__account-panel {
        transition: none;
    }
}

.sidebar__user-avatar-wrap {
    position: relative;
    flex-shrink: 0;
    cursor: pointer
}

.sidebar__user-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .78rem;
    font-weight: 700;
    color: var(--white);
    overflow: hidden;
    box-shadow: 0 0 0 1px var(--gray-300)
}

.sidebar__user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.sidebar__avatar-edit {
    position: absolute;
    bottom: -1px;
    right: -1px;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background: var(--fuchsia-500);
    border: 2px solid var(--sidebar-hover);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s;
}

.sidebar__user-row .sidebar__avatar-edit {
    display: none;
}

.sidebar__user-avatar-wrap:hover .sidebar__avatar-edit {
    background: var(--fuchsia-600)
}

.sidebar__avatar-edit svg {
    width: 9px;
    height: 9px;
    color: var(--white)
}

.sidebar__user-info {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    min-width: 0;
    transition: opacity .2s .1s, max-width .3s
}

.sidebar__user-name {
    display: block;
    font-size: .84rem;
    font-weight: 700;
    color: var(--sidebar-text-active);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: -.01em
}

/* ── Role label under user name ── */
.sidebar__user-role {
    display: block;
    font-size: .7rem;
    font-weight: 500;
    color: var(--sidebar-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

/* ── Danger variant for nav links ── */
.sidebar__link--danger {
    color: #f87171 !important
}

.sidebar__link--danger svg {
    color: #f87171 !important
}

.sidebar__link--danger:hover {
    background: rgba(220, 38, 38, .15) !important;
    color: #fca5a5 !important
}

.sidebar__link--danger:hover svg {
    color: #fca5a5 !important
}

/* ── Expandable nav group (Configuración) ── */
.sidebar__nav-group {
    display: flex;
    flex-direction: column
}

.sidebar__link--expand {
    position: relative
}

.sidebar__link-chev {
    width: 14px !important;
    height: 14px !important;
    margin-left: auto;
    flex-shrink: 0;
    color: rgba(255, 255, 255, .3) !important;
    opacity: 1 !important;
    transition: transform .2s
}

.sidebar__nav-group.is-open .sidebar__link-chev {
    transform: rotate(90deg)
}

/* Sub-items: siempre visibles cuando el menú está visible */
.sidebar__nav-sub {
    display: block;
    overflow: hidden
}

.sidebar__link--sub {
    font-size: .82rem !important;
    color: var(--sidebar-text) !important;
    background: none !important;
    padding: 7px 2px !important;
    border-radius: var(--radius-sm) !important;
    gap: 10px !important
}

.sidebar__link--sub svg {
    width: 15px !important;
    height: 15px !important;
    flex-shrink: 0;
    opacity: .6
}

.sidebar__link--sub:hover {
    background: rgba(255, 255, 255, .07) !important;
    color: var(--sidebar-text-active) !important;
    padding-left: 4px !important
}

.sidebar__link--sub:hover svg {
    opacity: 1
}

.sidebar__link--logout {
    margin-top: 5px;
    padding-top: 10px !important;
    border-top: 1px solid rgba(255, 255, 255, .08) !important;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm) !important;
    color: #f87171 !important
}

.sidebar__link--logout svg {
    color: #f87171 !important;
    opacity: .85
}

.sidebar__link--logout:hover {
    background: rgba(220, 38, 38, .15) !important;
    color: #fca5a5 !important
}

/* Chevron: nunca visible (submenu siempre abierto) */
.sidebar__link-chev {
    display: none !important
}

/* Sección label — patrón Discord/Slack */
.sidebar__section-label {
    padding: 4px 2px 8px;
    font-size: .66rem;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .3);
    user-select: none
}


.sidebar__user-row .sidebar__user-info {
    opacity: 0;
    max-width: 0;
    overflow: hidden
}

/* Guest state */
.sidebar__user-guest {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--fuchsia-500);
    font-family: inherit;
    font-size: .82rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    transition: color .2s;
    width: 100%
}

.sidebar__user-guest:hover {
    color: var(--fuchsia-600)
}

.sidebar__user-guest .sidebar__guest-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1.5px dashed var(--fuchsia-400);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s, border-color .2s
}

.sidebar__user-guest:hover .sidebar__guest-icon {
    background: rgba(224, 0, 122, .08);
    border-color: var(--fuchsia-500)
}

.sidebar__user-guest .sidebar__guest-icon svg {
    width: 18px;
    height: 18px;
    color: var(--fuchsia-400);
    transition: color .2s
}

.sidebar__user-guest:hover .sidebar__guest-icon svg {
    color: var(--fuchsia-500)
}

.sidebar__user-guest span {
    transition: opacity .2s .1s, max-width .3s
}

.sidebar__guest-row > .sidebar__user-guest {
    justify-content: center
}

.sidebar__guest-row > .sidebar__user-guest span {
    opacity: 0;
    max-width: 0;
    overflow: hidden
}

/* El panel flotante usa una superficie clara e independiente del sidebar. */
.sidebar__account-panel .sidebar__user-menu {
    border-top-color: var(--gray-200);
}

.sidebar__account-panel .sidebar__section-label {
    color: var(--gray-500);
}

.sidebar__account-panel .sidebar__link--sub {
    color: var(--gray-700) !important;
}

.sidebar__account-panel .sidebar__link--sub:hover {
    color: var(--fuchsia-600) !important;
    background: var(--fuchsia-50, #fdf2f8) !important;
}

.sidebar__account-panel .sidebar__link--danger,
.sidebar__account-panel .sidebar__link--logout {
    color: var(--red-500) !important;
}

.sidebar__account-panel .sidebar__link--danger:hover,
.sidebar__account-panel .sidebar__link--logout:hover {
    color: var(--red-500) !important;
    background: var(--red-50) !important;
}

.sidebar__account-panel .sidebar__link--logout {
    border-top-color: var(--gray-200) !important;
}

/* ── Sidebar admin button ── */
.sidebar__admin-wrap {
    padding: 0 10px 12px;
    flex-shrink: 0
}

.sidebar__admin-btn {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 11px 14px;
    background: none;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    color: var(--sidebar-text);
    font-family: inherit;
    font-size: .84rem;
    font-weight: 500;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    transition: background .2s, color .2s
}

.sidebar__admin-btn:hover {
    background: var(--sidebar-hover);
    color: var(--sidebar-text-active)
}

.sidebar__admin-btn svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    opacity: .65;
    transition: opacity .2s
}

.sidebar__admin-btn:hover svg {
    opacity: 1
}

.sidebar__admin-btn span {
    transition: opacity .2s .1s
}

.sidebar__admin-btn>span:not(.sidebar__admin-badge) {
    display: none
}

.sidebar__admin-btn {
    justify-content: center;
    gap: 6px;
    padding: 11px 0
}

.sidebar__admin-wrap {
    padding: 0 0 12px
}

/* ── Sidebar admin dropdown ── */
.sidebar-admin-dd {
    position: fixed;
    z-index: 200;
    width: 220px;
    background: #fff;
    border: 1px solid #e4e4e7;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, .12);
    padding: 6px;
    animation: wt-dd-in .15s ease
}

@keyframes wt-dd-in {
    from {
        opacity: 0;
        transform: translateX(-6px) scale(.97)
    }

    to {
        opacity: 1;
        transform: translateX(0) scale(1)
    }
}

.sidebar-admin-dd__title {
    padding: 6px 10px 4px;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #a1a1aa
}

.sidebar-admin-dd__item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 10px;
    border-radius: 8px;
    text-decoration: none;
    color: #3f3f46;
    font-size: .84rem;
    font-weight: 500;
    transition: background .15s, color .15s
}

.sidebar-admin-dd__item:hover {
    background: #fdf2f8;
    color: #e0007a
}

.sidebar-admin-dd__item svg {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
    color: #a1a1aa;
    transition: color .15s
}

.sidebar-admin-dd__item:hover svg {
    color: #e0007a
}

.sidebar-admin-dd__item-text {
    display: flex;
    flex-direction: column;
    gap: 1px
}

.sidebar-admin-dd__item-text span {
    line-height: 1
}

.sidebar-admin-dd__item-text small {
    font-size: .69rem;
    color: #a1a1aa;
    font-weight: 400
}

.sidebar-admin-dd__item:hover .sidebar-admin-dd__item-text small {
    color: #f472b6
}

.main {
    margin-left: var(--sidebar-collapsed);
    margin-top: var(--header-h);
    padding: 24px 28px;
    min-height: calc(100vh - var(--header-h));
    transition: margin-left .3s cubic-bezier(.4, 0, .2, 1)
}

.filter-bar {
    display: flex;
    align-items: stretch;
    gap: 50px;
    margin-bottom: 22px;
    flex-wrap: wrap
}

.category-select {
    display: none;
    padding: 9px 38px 9px 14px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-full);
    font-family: inherit;
    font-size: .84rem;
    font-weight: 600;
    color: var(--gray-700);
    background: var(--white) url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23a1a1aa' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 14px center;
    appearance: none;
    cursor: pointer;
    transition: all .2s
}

.category-select:focus {
    outline: none;
    border-color: var(--fuchsia-400);
    box-shadow: 0 0 0 3px rgba(224, 0, 122, .1)
}

.category-select:hover {
    border-color: var(--rose-300)
}

.filter-bar__search {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--white);
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-full);
    padding: 7px 8px 7px 14px;
    transition: all .2s
}

.filter-bar__search:focus-within {
    border-color: var(--fuchsia-400);
    box-shadow: 0 0 0 3px rgba(224, 0, 122, .08)
}

.filter-bar__search input {
    border: none;
    outline: none;
    font-family: inherit;
    font-size: .82rem;
    color: var(--gray-700);
    background: transparent;
    width: 210px
}

.filter-bar__search input::placeholder {
    color: var(--gray-400)
}

.filter-bar__search svg {
    width: 15px;
    height: 15px;
    color: var(--gray-400);
    flex-shrink: 0
}

/* ── Search suggestions dropdown ── */
.filter-bar__search {
    position: relative
}

.fbs__dropdown {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    left: auto;
    min-width: 100%;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, .14);
    overflow: hidden;
    z-index: 200
}

.fbs__dropdown[hidden] {
    display: none
}

.fbs__item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    text-decoration: none;
    color: var(--gray-800);
    transition: background .15s
}

.fbs__item:hover,
.fbs__item.is-active {
    background: var(--rose-50)
}

.fbs__img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    background: var(--gray-100)
}

.fbs__info {
    display: flex;
    flex-direction: column;
    min-width: 0
}

.fbs__name {
    font-size: .85rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.fbs__district {
    font-size: .75rem;
    color: var(--gray-500);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.fbs__empty {
    padding: 12px;
    font-size: .82rem;
    color: var(--gray-500);
    text-align: center
}

.filter-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1.5px solid var(--gray-200);
    background: var(--white);
    color: var(--gray-500);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .2s;
    flex-shrink: 0
}

.filter-btn:hover {
    border-color: var(--fuchsia-400);
    color: var(--fuchsia-500);
    background: var(--rose-50)
}

.filter-btn svg {
    width: 13px;
    height: 13px
}

.escorts-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    max-width: 1340px;
    margin: 0 auto;
    gap: 5px
}

.escorts-grid__empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 48px 20px;
    color: var(--sidebar-text);
    font-size: .95rem;
    opacity: .7
}

.escort-card {
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: all .3s;
    cursor: pointer;
    position: relative
}

.escort-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg)
}

.escort-card__img {
    aspect-ratio: 3/4.2;
    background: linear-gradient(145deg, var(--gray-200), var(--gray-300));
    position: relative;
    overflow: hidden
}

.escort-card__img::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 55%;
    background: linear-gradient(to top, rgba(0, 0, 0, .65), rgba(0, 0, 0, .12) 65%, transparent);
    pointer-events: none
}

.escort-card__photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right bottom;
    display: block
}

.escort-card__badges {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    gap: 5px;
    z-index: 3;
    flex-direction: column;
    align-items: flex-end
}

.escort-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 3px 8px;
    border-radius: var(--radius-full);
    font-size: .6rem;
    font-weight: 700;
    letter-spacing: .3px;
    text-transform: uppercase;
    backdrop-filter: blur(6px)
}

.escort-badge--verified {
    background: rgba(59, 130, 246, .85);
    color: var(--white)
}

.escort-badge--verified svg {
    width: 10px;
    height: 10px
}

.escort-badge--new {
    background: rgba(224, 0, 122, .85);
    color: var(--white)
}

.escort-card__info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 14px;
    z-index: 2;
    text-align: center
}

.escort-card__name {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: .88rem;
    color: var(--white);
    margin-bottom: 3px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, .3)
}

.escort-card__location {
    font-size: .73rem;
    color: rgba(255, 255, 255, .85);
    display: inline-flex;
    align-items: center;
    gap: 4px
}

.escort-card__location svg {
    width: 11px;
    height: 11px;
    opacity: .8
}

.tg-banner {
    padding: 36px 40px;
    background: linear-gradient(135deg, var(--fuchsia-600), var(--fuchsia-500), var(--rose-300));
    border-radius: var(--radius-lg);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: space-betwen;
    gap: 24px;
    box-shadow: 0 8px 30px rgba(224, 0, 122, .2);
    position: relative;
    overflow: hidden;
    max-width: 1340px;
    margin: 40px auto 0;
}

.tg-banner::before {
    content: '';
    position: absolute;
    top: -30px;
    right: -30px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08)
}

.tg-banner::after {
    content: '';
    position: absolute;
    bottom: -40px;
    left: 30%;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .05)
}

.tg-banner__icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.6rem
}

.tg-banner__text {
    flex: 1;
    z-index: 1
}

.tg-banner__text h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 4px
}

.tg-banner__text p {
    opacity: .85;
    font-size: .88rem
}

.tg-banner__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 28px;
    background: var(--white);
    color: var(--telegram-blue);
    border: none;
    border-radius: var(--radius-full);
    font-family: inherit;
    font-weight: 700;
    font-size: .9rem;
    cursor: pointer;
    transition: all .2s;
    flex-shrink: 0;
    z-index: 1;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .1)
}

.tg-banner__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .15)
}

.tg-banner__btn svg {
    width: 30px;
    height: 30px;
    color: var(--telegram-blue)
}

@media(max-width:1280px) {
    .escorts-grid {
        grid-template-columns: repeat(4, 1fr)
    }
}

@media(max-width:1024px) {
    .escorts-grid {
        grid-template-columns: repeat(3, 1fr)
    }

    .notif-panel {
        right: 16px;
        width: 340px
    }
}

@media(max-width:768px) {
    .main {
        padding: 20px 14px 80px;
        margin-left: 82px !important;
    }

    .escorts-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .tg-banner {
        flex-direction: column;
        text-align: center;
        padding: 28px 20px
    }

    .tg-banner__icon {
        margin: 0 auto
    }

    .filter-bar__search input {
        width: 140px
    }

    .notif-panel {
        right: 8px;
        left: 8px;
        width: auto
    }

    .user-dropdown {
        right: 8px
    }

}

@media(max-width:480px) {
    .escorts-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .escort-card__name {
        font-size: .76rem
    }

    .escort-card__location {
        font-size: .66rem
    }


    .filter-bar__search {
        flex-grow: 1;
    }

    .filter-bar__search input {
        width: 100%;
        flex: 1
    }

    .tg-banner {
        padding: 24px 16px
    }

    .tg-banner__text h3 {
        font-size: 1.1rem
    }

}

/* ── Homepage discovery + promotional slider ───────────────────────────── */
.home-discovery {
    --home-listings-head-height: 72px;
    display: grid;
    grid-template-columns: minmax(0, 1.85fr) minmax(320px, 1fr);
    gap: 24px;
    align-items: stretch;
    width: 100%;
    max-width: 1340px;
    margin: 0 auto 25px;
}

.home-discovery__tools {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.home-discovery__tools:only-child {
    grid-column: 1 / -1;
    width: 100%;
}

.home-discovery__tools .location-bar {
    margin-bottom: 18px;
}

.home-discovery__section-label {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 2px;
}

.home-discovery__section-label h2 {
    margin: 0;
    color: var(--gray-900);
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -.015em;
}


.home-discovery__tools .stories-wrapper {
    margin-bottom: 25px;
}

.home-discovery__tools .stories {
    margin-top: 8px;
}

.home-discovery__tools .filter-bar {
    margin-bottom: 0;
}

.home-promo {
    position: relative;
    isolation: isolate;
    min-width: 0;
    min-height: 282px;
    overflow: hidden;
    border: 1px solid rgba(117, 50, 86, .2);
    border-radius: 24px;
    background: #2d1727;
    box-shadow: 0 18px 42px rgba(72, 22, 51, .14);
}

.home-promo::after {
    content: '';
    position: absolute;
    z-index: 5;
    inset: 0;
    border-radius: inherit;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
    pointer-events: none;
}

.home-promo__slides,
.home-promo__slide {
    position: absolute;
    inset: 0;
}

.home-promo__slide {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 42%;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateX(18px);
    transition: opacity 420ms ease, transform 520ms cubic-bezier(.2, .7, .2, 1), visibility 420ms;
}

.home-promo__slide:nth-child(1) {
    background:
        radial-gradient(circle at 74% 20%, rgba(255, 178, 218, .28), transparent 34%),
        linear-gradient(135deg, #321728 0%, #57203f 100%);
}

.home-promo__slide:nth-child(2) {
    background:
        radial-gradient(circle at 72% 22%, rgba(231, 191, 255, .3), transparent 35%),
        linear-gradient(135deg, #201832 0%, #4d265f 100%);
}

.home-promo__slide:nth-child(3) {
    background:
        radial-gradient(circle at 72% 20%, rgba(255, 207, 174, .26), transparent 35%),
        linear-gradient(135deg, #321b23 0%, #6a2e3b 100%);
}

.home-promo__slide.is-active {
    z-index: 1;
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.home-promo__copy {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    min-width: 0;
    padding: 32px 8px 46px 54px;
    color: #fff;
}

.home-promo__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 14px;
    padding: 6px 10px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, .1);
    color: rgba(255, 255, 255, .84);
    font-size: .66rem;
    font-weight: 700;
    letter-spacing: .025em;
    backdrop-filter: blur(8px);
}

.home-promo__eyebrow svg {
    width: 13px;
    height: 13px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.home-promo__copy h2 {
    max-width: 310px;
    margin: 0 0 10px;
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.55rem, 2.25vw, 2.15rem);
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -.045em;
    text-wrap: balance;
}

.home-promo__copy p {
    max-width: 270px;
    margin: 0 0 19px;
    color: rgba(255, 255, 255, .72);
    font-size: .76rem;
    line-height: 1.45;
}

.home-promo__cta {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 38px;
    padding: 0 15px;
    border: 0;
    border-radius: 11px;
    background: #fff;
    color: #351725;
    font-family: inherit;
    font-size: .72rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(14, 5, 10, .22);
    transition: transform .18s ease, box-shadow .18s ease;
}

.home-promo__cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(14, 5, 10, .3);
}

.home-promo__cta svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.home-promo__portrait {
    position: relative;
    z-index: 2;
    align-self: end;
    width: calc(100% + 18px);
    height: 92%;
    margin-right: -18px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .2);
    border-bottom: 0;
    border-radius: 48% 48% 0 0 / 34% 34% 0 0;
    background: rgba(255, 255, 255, .1);
    box-shadow: -18px 12px 42px rgba(12, 4, 9, .2);
}

.home-promo__portrait::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(38, 12, 27, .2), transparent 54%);
    pointer-events: none;
}

.home-promo__portrait img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    filter: saturate(.82) contrast(.98);
}

.home-promo__halo {
    position: absolute;
    inset: 14% -28% auto;
    height: 54%;
    border-radius: 50%;
    background: rgba(255, 255, 255, .16);
    filter: blur(1px);
}

.home-promo__arrow {
    position: absolute;
    z-index: 8;
    top: 50%;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 50%;
    background: rgba(24, 8, 17, .28);
    color: #fff;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transform: translateY(-50%);
    transition: background .18s ease, transform .18s ease;
}

.home-promo__arrow:hover {
    background: rgba(255, 255, 255, .2);
}

.home-promo__arrow--prev {
    left: 10px;
}

.home-promo__arrow--next {
    right: 10px;
}

.home-promo__arrow svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.home-promo__dots {
    position: absolute;
    z-index: 8;
    bottom: 16px;
    left: 54px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.home-promo__dot {
    width: 6px;
    height: 6px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .38);
    cursor: pointer;
    transition: width .2s ease, background .2s ease;
}

.home-promo__dot.is-active {
    width: 20px;
    border-radius: 4px;
    background: #fff;
}

.home-promo button:focus-visible,
.home-listings-head button:focus-visible {
    outline: 2px solid var(--fuchsia-400);
    outline-offset: 3px;
}

/* ── Homepage image slider ──────────────────────────────────────────────── */
.home-slider {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    width: 100%;
    height: auto;
}

.home-slider[hidden] {
    display: none;
}

.home-slider.is-dismissing {
    opacity: 0;
    pointer-events: none;
    transform: scale(.985);
    transition: opacity .18s ease, transform .18s ease;
}

.home-discovery.is-slider-dismissed {
    grid-template-columns: minmax(0, 1fr);
}

.home-discovery.is-slider-dismissed .home-discovery__tools {
    grid-column: 1 / -1;
    width: 100%;
}

.home-slider__close {
    position: absolute;
    z-index: 4;
    top: 11px;
    right: 11px;
    display: grid;
    width: 32px;
    height: 32px;
    padding: 0;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .42);
    border-radius: 50%;
    color: rgba(255, 255, 255, .92);
    background: rgba(24, 24, 27, .32);
    box-shadow: 0 3px 12px rgba(0, 0, 0, .14);
    opacity: .76;
    cursor: pointer;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: opacity .16s ease, background .16s ease, border-color .16s ease, transform .16s ease;
}

.home-slider__close:hover,
.home-slider__close:focus-visible {
    border-color: rgba(255, 255, 255, .68);
    color: #fff;
    background: rgba(24, 24, 27, .58);
    opacity: 1;
    transform: scale(1.04);
}

.home-slider__close svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
}

.home-slider__viewport {
    position: relative;
    flex: 1;
    min-height: 0;
    overflow: hidden;
    border: 1px solid var(--gray-200);
    border-radius: 22px;
    background: var(--gray-100);
    box-shadow: 0 16px 38px rgba(39, 39, 42, .09);
}

.home-slider__slides,
.home-slider__slide {
    position: absolute;
    inset: 0;
}

.home-slider__slide {
    opacity: 0;
    visibility: hidden;
    transform: translateX(12px);
    transition: opacity 260ms ease, transform 320ms ease, visibility 260ms;
}

.home-slider__slide.is-active {
    z-index: 1;
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.home-slider__link {
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: inherit;
}

.home-slider__link img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: fill;
    transition: transform 280ms ease;
}

.home-slider__link:hover img {
    transform: scale(1.015);
}

.home-slider__controls {
    position: absolute;
    z-index: 3;
    left: 50%;
    bottom: 14px;
    display: grid;
    grid-template-columns: 30px auto 30px;
    align-items: center;
    justify-content: center;
    gap: 14px;
    transform: translateX(-50%);
}

.home-slider__arrow {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 1px solid var(--gray-200);
    border-radius: 50%;
    background: var(--white);
    color: var(--gray-600);
    cursor: pointer;
    transition: border-color .16s ease, color .16s ease, background .16s ease;
}

.home-slider__arrow[hidden] {
    display: grid;
    visibility: hidden;
    pointer-events: none;
}

.home-slider__arrow:hover {
    border-color: var(--rose-200);
    background: var(--rose-50);
    color: var(--fuchsia-500);
}

.home-slider__arrow svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.home-slider__dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 34px;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 15px;
    backdrop-filter: blur(8px);
}

.home-slider__dot {
    width: 7px;
    height: 7px;
    padding: 0;
    border: 0;
    border-radius: 4px;
    background: var(--gray-300);
    cursor: pointer;
    transition: width .18s ease, background .18s ease;
}

.home-slider__dot.is-active {
    width: 22px;
    border-radius: 4px;
    background: var(--fuchsia-500);
}

.home-slider button:focus-visible,
.home-listings-head button:focus-visible {
    outline: 2px solid var(--fuchsia-400);
    outline-offset: 3px;
}

/* ── Listings heading ───────────────────────────────────────────────────── */
.home-listings-head {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    max-width: 1340px;
    margin: 0 auto 16px;
    padding: 20px 0 17px;
    border-top: 1px solid var(--gray-200);
}

.home-listings-head__icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 15px;
    background: linear-gradient(145deg, var(--rose-50), #fce7f3);
    color: var(--fuchsia-500);
    flex: 0 0 auto;
}

.home-listings-head__icon svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.home-listings-head__content {
    position: relative;
    min-width: 0;
    flex: 1;
}

.home-listings-head__title-row {
    display: flex;
    align-items: center;
    gap: 20px;
    min-width: 0;
    margin-bottom: 5px;
}

.home-listings-head__title-row h1 {
    min-width: 0;
    margin: 0;
    color: var(--gray-900);
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -.025em;
}

.home-listings-head__count {
    flex: 0 0 auto;
    padding: 4px 8px;
    border-radius: var(--radius-full);
    background: var(--gray-100);
    color: var(--gray-500);
    font-size: .64rem;
    font-weight: 700;
}

.home-listings-head__description {
    position: relative;
    box-sizing: border-box;
    display: flex;
    align-items: flex-start;
    gap: 7px;
    min-width: 0;
    background: var(--gray-50);
}

.home-listings-head__description p {
    display: -webkit-box;
    min-width: 0;
    margin: 0;
    overflow: hidden;
    color: var(--gray-500);
    font-size: .73rem;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
}

.home-listings-head__description.has-expanded-description > p,
.home-listings-head__description.has-expanded-description > [data-home-description-toggle] {
    visibility: hidden;
}

.home-listings-head__description-expanded {
    position: absolute;
    z-index: 20;
    top: 0;
    left: 0;
    box-sizing: border-box;
    display: flex;
    width: 100%;
    min-width: 0;
    align-items: flex-start;
    gap: 7px;
    padding: 7px 10px 10px;
    border: 1px solid var(--gray-200);
    border-radius: 0 0 12px 12px;
    background: var(--gray-50);
    box-shadow: 0 12px 24px rgba(39, 39, 42, .12);
}

.home-listings-head__description-expanded p {
    display: block;
    min-width: 0;
    flex: 1;
    overflow: visible;
    -webkit-line-clamp: initial;
}

.home-listings-head__description button {
    flex: 0 0 auto;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--fuchsia-500);
    font-family: inherit;
    font-size: .69rem;
    font-weight: 800;
    white-space: nowrap;
    cursor: pointer;
}


@media (min-width:1024px) and (max-width:1279px) {
    .home-discovery {
        --home-listings-head-height: 78px;
        grid-template-columns: minmax(0, 1.8fr) minmax(290px, .95fr);
        gap: 16px;
        margin-bottom: 20px;
    }

    .home-discovery__tools .location-bar {
        flex-wrap: nowrap;
        gap: 5px;
        margin-bottom: 12px;
    }

    .home-discovery__tools .location-bar__icon {
        width: 32px;
        height: 32px;
    }

    .home-discovery__tools .loc-select-wrap {
        min-width: 0;
    }

    .home-discovery__tools .loc-select {
        max-width: 145px;
        font-size: .72rem;
    }

    .home-discovery__section-label h2 {
        font-size: .92rem;
    }

    .home-discovery__tools .stories-wrapper {
        margin-bottom: 14px;
    }

    .home-discovery__tools .stories {
        gap: 10px;
        margin-top: 4px;
        padding-top: 3px;
        padding-bottom: 4px;
    }

    .home-discovery__tools .story {
        gap: 5px;
    }

    .home-discovery__tools .story__ring {
        width: 58px;
        height: 58px;
    }

    .home-discovery__tools .story__name {
        max-width: 62px;
        font-size: .66rem;
    }

    .home-discovery__tools .filter-bar {
        flex-wrap: nowrap;
        align-items: center;
        gap: 18px;
    }

    .home-discovery__tools .filter-bar__search {
        flex: 0 1 210px;
        min-width: 170px;
    }

    .home-discovery__tools .filter-bar__search input {
        width: 100%;
        min-width: 0;
    }
}

@media(max-width:1023px) {
    .home-discovery {
        display: flex;
        flex-direction: column;
        gap: 18px;
        margin-bottom: 20px;
    }

    .home-discovery__tools {
        width: 100%;
    }

    .home-slider {
        order: -1;
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .home-slider__viewport {
        width: 100%;
        height: 100%;
    }
}

@media(max-width:700px) {
    .home-discovery {
        --home-listings-head-height: 94px;
        gap: 18px;
        margin-bottom: 18px;
    }

    .home-discovery__tools .filter-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .home-discovery__tools .filter-bar__search {
        box-sizing: border-box;
        width: 100%;
        margin-left: 0;
    }

    .home-discovery__tools .filter-bar__search input {
        width: 100%;
        min-width: 0;
    }

    .home-slider__viewport {
        border-radius: 20px;
    }

    .home-listings-head {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .home-listings-head__content {
        width: 100%;
    }
}

@media(max-width:512px) {
    .home-slider__close {
        top: 8px;
        right: 8px;
        width: 30px;
        height: 30px;
    }

    .home-slider__controls {
        bottom: 8px;
        gap: 10px;
    }

    .home-slider__arrow {
        width: 26px;
        height: 26px;
    }

    .home-slider__arrow svg {
        width: 13px;
        height: 13px;
    }
}

@media(max-width:480px) {
    .home-discovery {
        --home-listings-head-height: 120px;
    }

    .home-discovery__tools .location-bar {
        margin-bottom: 14px;
    }

    .home-discovery__tools .filter-bar {
        gap: 7px;
    }


    .home-listings-head__icon {
        width: 40px;
        height: 40px;
        border-radius: 13px;
    }

    .home-listings-head__title-row h1 {
        font-size: 1.05rem;
    }
}

@media(prefers-reduced-motion:reduce) {

    .home-slider__slide,
    .home-slider__link img,
    .home-slider__dot,
    .home-slider,
    .home-slider__close {
        transition: none;
    }
}

::-webkit-scrollbar {
    width: 5px
}

::-webkit-scrollbar-track {
    background: transparent
}

::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: 3px
}

/* ==========================================================================
   Story Modal
   ========================================================================== */

/* ==========================================================================
   Story Modal
   ========================================================================== */

.story-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 500;
    align-items: center;
    justify-content: center
}

.story-modal--open {
    display: flex
}

body.story-modal-active {
    overflow: hidden
}

.story-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 5, 8, .93);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px)
}

/* Layout — 3 zonas horizontales */
.story-modal__layout {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 40px
}

/* Perfiles laterales */
.story-modal__sides {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    width: 190px;
    /* 100px near + 10px gap + 70px far + margen */
    flex-shrink: 0
}

.story-modal__sides--left {
    justify-content: flex-end
}

.story-modal__sides--right {
    justify-content: flex-start
}

.story-modal__side {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    cursor: pointer
}

.story-modal__side[hidden] {
    display: none
}

/* Near side: más grande y visible */
.story-modal__side--near .story-modal__side-card {
    width: 100px;
    height: 178px;
    opacity: .55
}

/* Far side: más pequeño y desvanecido */
.story-modal__side--far .story-modal__side-card {
    width: 70px;
    height: 124px;
    opacity: .30
}

.story-modal__side-card {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    border: 2px solid rgba(255, 255, 255, .2);
    transition: opacity .2s
}

.story-modal__side-card:hover {
    opacity: .75 !important
}

.story-modal__side-img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.story-modal__side-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent, rgba(10, 5, 8, .7))
}

.story-modal__side-initial {
    position: absolute;
    bottom: 8px;
    left: 8px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(60, 40, 50, .85);
    border: 2px solid rgba(255, 255, 255, .55);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .65rem;
    font-weight: 700;
    color: rgba(255, 255, 255, .85);
    z-index: 2
}

.story-modal__side-name {
    font-size: .65rem;
    color: rgba(255, 255, 255, .45);
    font-weight: 500;
    text-align: center
}

.story-modal__side--far .story-modal__side-name {
    font-size: .58rem;
    color: rgba(255, 255, 255, .28)
}

/* Flechas de perfil */
.story-modal__arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, .25);
    background: rgba(40, 30, 35, .8);
    color: rgba(255, 255, 255, .8);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    margin: 0 16px;
    transition: background .2s, border-color .2s
}

.story-modal__arrow:hover {
    background: rgba(60, 40, 50, .95);
    border-color: rgba(255, 255, 255, .5)
}

.story-modal__arrow svg {
    width: 20px;
    height: 20px
}

/* Player central */
.story-modal__player {
    width: min(360px, 90vw);
    height: min(640px, 88dvh);
    aspect-ratio: 9 / 16;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 28px 70px rgba(0, 0, 0, .7);
    flex-shrink: 0;
    background: #111
}

.story-modal__player::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, transparent, rgba(10, 5, 8, .55) 100%);
    height: 45%;
    z-index: 1
}

/* Progress bars */
.story-modal__progress {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    display: flex;
    gap: 3px;
    z-index: 20
}

.story-progress__bar {
    flex: 1;
    height: 3px;
    border-radius: 2px;
    background: rgba(255, 255, 255, .3);
    overflow: hidden
}

.story-progress__fill {
    height: 100%;
    background: rgba(255, 255, 255, .9);
    border-radius: 2px;
    transition: width .05s linear
}

/* Header del player */
.story-modal__header {
    position: absolute;
    top: 26px;
    left: 12px;
    right: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 20
}

.story-modal__hd-avatar-wrap {
    flex-shrink: 0
}

.story-modal__hd-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, .6);
    object-fit: cover
}

.story-modal__hd-meta {
    flex: 1;
    min-width: 0
}

.story-modal__hd-name {
    font-size: .8rem;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.story-modal__hd-sub {
    font-size: .65rem;
    color: rgba(255, 255, 255, .55)
}

.story-modal__hd-type {
    font-size: .65rem;
    font-weight: 700;
    color: #fff;
    background: rgba(0, 0, 0, .5);
    border-radius: 20px;
    padding: 3px 8px;
    flex-shrink: 0
}

.story-modal__hd-back {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: none;
    color: rgba(255, 255, 255, .85);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    padding: 0
}

.story-modal__hd-back svg {
    width: 28px;
    height: 28px;
    transform: translateX(-2px);
}

.story-modal__hd-controls {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: auto
}

.story-modal__ctrl {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    color: rgba(255, 255, 255, .85);
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: background .2s
}

.story-modal__hd-back:hover,
.story-modal__ctrl:hover {
    background: rgba(255, 255, 255, .15)
}

.story-modal__ctrl svg {
    width: 22px;
    height: 22px;
}

/* Icon toggle: pause/play */
.story-modal__ctrl-icon--play {
    display: none
}

.story-modal__ctrl--paused .story-modal__ctrl-icon--pause {
    display: none
}

.story-modal__ctrl--paused .story-modal__ctrl-icon--play {
    display: block
}

/* Icon toggle: muted/unmuted */
.story-modal__ctrl-icon--muted {
    display: none
}

.story-modal__ctrl--muted .story-modal__ctrl-icon--unmuted {
    display: none
}

.story-modal__ctrl--muted .story-modal__ctrl-icon--muted {
    display: block
}

/* More menu (3 dots) */
.story-modal__more-menu {
    display: none;
    position: absolute;
    top: 66px;
    right: 12px;
    z-index: 30;
    background: rgba(30, 25, 28, .95);
    border-radius: 12px;
    padding: 6px 0;
    min-width: 180px;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, .4)
}

.story-modal__more-menu--open {
    display: block
}

.story-modal__more-item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 16px;
    border: none;
    background: none;
    color: rgba(255, 255, 255, .85);
    font-size: .8rem;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    transition: background .15s
}

.story-modal__more-item:hover {
    background: rgba(255, 255, 255, .08)
}

.story-modal__more-item svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0
}

.story-modal__more-item--delete {
    color: #ff6b6b
}

.story-modal__more-item--delete:hover {
    background: rgba(255, 80, 80, .12)
}

/* Reporte de historia */
.story-modal__report[hidden] {
    display: none
}

.story-modal__report-backdrop[hidden] {
    display: none
}

.story-modal__report-backdrop {
    position: absolute;
    inset: 0;
    z-index: 44;
    background: rgba(10, 5, 8, .68);
    backdrop-filter: blur(5px)
}

.story-modal__report {
    position: absolute;
    z-index: 45;
    top: 50%;
    left: 50%;
    width: min(420px, calc(100% - 32px));
    transform: translate(-50%, -50%);
    box-sizing: border-box;
    max-height: calc(100% - 32px);
    overflow-y: auto;
    padding: 22px;
    border: 1px solid var(--gray-100);
    border-radius: 20px;
    background: var(--white);
    box-shadow: 0 24px 70px rgba(0, 0, 0, .3);
    color: var(--gray-900)
}

.story-modal__report-head {
    display: flex;
    align-items: center;
    gap: 12px
}

.story-modal__report-head>div {
    flex: 1;
    min-width: 0
}

.story-modal__report-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--rose-50);
    color: var(--fuchsia-500)
}

.story-modal__report-icon svg {
    width: 20px;
    height: 20px
}

.story-modal__report-kicker {
    display: block;
    margin-bottom: 4px;
    color: var(--fuchsia-500);
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase
}

.story-modal__report h3 {
    margin: 0;
    font-family: 'Outfit', sans-serif;
    color: var(--gray-900);
    font-size: 1.08rem;
    line-height: 1.25
}

.story-modal__report-close {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    flex: 0 0 auto;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--gray-100);
    color: var(--gray-500);
    cursor: pointer
}

.story-modal__report-close svg {
    width: 14px;
    height: 14px
}

.story-modal__report-help {
    margin: 16px 0 12px;
    color: var(--gray-500);
    font-size: .8rem;
    line-height: 1.45
}

.story-modal__report textarea {
    box-sizing: border-box;
    width: 100%;
    min-height: 118px;
    resize: vertical;
    padding: 12px 13px;
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    outline: none;
    background: var(--gray-50);
    color: var(--gray-800);
    font: inherit;
    font-size: .82rem;
    line-height: 1.5
}

.story-modal__report textarea::placeholder {
    color: var(--gray-400)
}

.story-modal__report textarea:focus {
    border-color: var(--fuchsia-400);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(224, 0, 122, .1)
}

.story-modal__report-meta {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    min-height: 18px;
    margin-top: 6px;
    color: var(--gray-400);
    font-size: .68rem
}

.story-modal__report-status--error {
    color: var(--red-500)
}

.story-modal__report-actions {
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    gap: 9px;
    margin-top: 12px
}

.story-modal__report-actions button {
    min-height: 40px;
    border-radius: 999px;
    font: inherit;
    font-size: .78rem;
    font-weight: 700;
    cursor: pointer
}

.story-modal__report-cancel {
    border: 1px solid var(--gray-200);
    background: var(--white);
    color: var(--gray-600)
}

.story-modal__report-submit {
    border: 0;
    background: linear-gradient(135deg, var(--fuchsia-500), #e0219c);
    color: #fff
}

.story-modal__report-submit:disabled {
    opacity: .55;
    cursor: wait
}

@media (max-width: 768px) {
    .story-modal__report {
        top: auto;
        right: 0;
        bottom: 0;
        left: 0;
        width: 100%;
        max-height: min(90dvh, 620px);
        transform: none;
        border-width: 0;
        border-radius: 20px 20px 0 0;
        padding: 22px 20px 28px;
        animation: storyReportUp .25s cubic-bezier(.4, 0, .2, 1)
    }
}

@keyframes storyReportUp {
    from {
        transform: translateY(28px);
        opacity: 0
    }

    to {
        transform: translateY(0);
        opacity: 1
    }
}

/* Media */
.story-modal__media {
    position: absolute;
    inset: 0;
    overflow: hidden;
    background: #080808
}

.story-modal__media-bg {
    position: absolute;
    inset: -28px;
    width: calc(100% + 56px);
    height: calc(100% + 56px);
    object-fit: cover;
    filter: blur(24px) brightness(.55) saturate(.9);
    transform: scale(1.08);
    opacity: .78;
    pointer-events: none;
    user-select: none
}

.story-modal__media-bg--hidden {
    display: none
}

.story-modal__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    display: block
}

.story-modal__img--hidden {
    display: none
}

.story-modal__video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: relative;
    display: block
}

.story-modal__video--hidden {
    display: none
}

.story-modal--contain {
    background: #000
}

.story-modal__text-overlay {
    position: absolute;
    bottom: 80px;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 1px 8px rgba(0, 0, 0, .8);
    padding: 0 16px;
    pointer-events: none;
    word-break: break-word;
    z-index: 2
}

/* Zonas de tap */
.story-modal__tap {
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 10;
    cursor: pointer
}

.story-modal__tap--prev {
    left: 0;
    width: 40%
}

.story-modal__tap--next {
    right: 0;
    width: 60%
}

/* Overlay inferior */
.story-modal__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(10, 5, 8, .9));
    border-radius: 0 0 20px 20px;
    padding: 40px 14px 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 15
}

.story-modal__overlay-price {
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
    line-height: 1
}

.story-modal__overlay-location {
    display: flex;
    align-items: center;
    gap: 4px;
    align-self: flex-start;
    background: rgba(255, 255, 255, .15);
    border-radius: 20px;
    padding: 4px 10px;
    font-size: .72rem;
    color: rgba(255, 255, 255, .85);
    font-weight: 500
}

.story-modal__overlay-location svg {
    width: 11px;
    height: 11px;
    flex-shrink: 0
}

.story-modal__overlay-ctas {
    display: flex;
    gap: 8px
}

.story-modal__cta {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    height: 44px;
    border-radius: 22px;
    font-size: .85rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: filter .2s, transform .15s
}

.story-modal__cta svg {
    width: 16px;
    height: 16px
}

.story-modal__cta:hover {
    filter: brightness(1.12);
    transform: translateY(-1px)
}

.story-modal__cta--primary {
    background: linear-gradient(135deg, var(--fuchsia-500), #e0219c);
    color: #fff;
    border: none;
    box-shadow: 0 4px 16px rgba(201, 34, 143, .4)
}

.story-modal__cta--secondary {
    background: rgba(255, 255, 255, .08);
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, .25);
    backdrop-filter: blur(4px)
}

/* Dim overlay al abrir contacto */
.story-modal__dim {
    position: absolute;
    inset: 0;
    background: rgba(10, 5, 8, 0);
    transition: background .3s ease;
    pointer-events: none;
    z-index: 13
}

.story-modal__dim--active {
    background: rgba(10, 5, 8, .6)
}

/* Contact popup */
.story-modal__contact-popup {
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transform: translateY(14px);
    pointer-events: none;
    transition: max-height .35s cubic-bezier(.4, 0, .2, 1),
        opacity .25s ease,
        transform .3s cubic-bezier(.4, 0, .2, 1)
}

.story-modal__contact-popup--open {
    max-height: 260px;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    padding-bottom: 4px
}

.story-modal__contact-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2px 2px;
    color: rgba(255, 255, 255, .45);
    font-size: .68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em
}

.story-modal__contact-dismiss {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, .12);
    color: rgba(255, 255, 255, .7);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .2s, color .2s
}

.story-modal__contact-dismiss:hover {
    background: rgba(255, 255, 255, .22);
    color: #fff
}

.story-modal__contact-dismiss svg {
    width: 13px;
    height: 13px
}

.story-contact-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 44px;
    border-radius: 22px;
    padding: 0 20px;
    font-size: .85rem;
    font-weight: 700;
    text-decoration: none;
    transition: filter .2s, transform .15s
}

.story-contact-btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0
}

.story-contact-btn:hover {
    filter: brightness(1.1);
    transform: translateY(-1px)
}

.story-modal__contact-chat[hidden] {
    display: none
}

.story-modal__contact-chat .story-contact-btn--chat {
    box-sizing: border-box;
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    width: 100%;
    min-width: 0;
    height: 44px;
    justify-content: flex-start;
    gap: 10px;
    padding: 0 20px;
    border: 0;
    border-radius: 22px;
    background: linear-gradient(135deg, #8e004f, var(--fuchsia-500));
    color: #fff;
    font-family: inherit;
    font-size: .85rem;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(201, 34, 143, .32);
    cursor: pointer;
    transition: filter .2s, transform .15s, box-shadow .2s
}

.story-modal__contact-chat .story-contact-btn--chat svg {
    width: 18px;
    height: 18px
}

.story-modal__contact-chat .story-contact-btn--chat:hover {
    color: #fff;
    filter: brightness(1.1);
    transform: translateY(-1px);
    box-shadow: 0 5px 16px rgba(201, 34, 143, .38)
}

.story-modal__contact-chat .story-contact-btn--chat:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px
}

.story-contact-btn--call {
    background: linear-gradient(135deg, #0057d9, #003eaa);
    color: #fff;
    box-shadow: 0 4px 14px rgba(0, 87, 217, .32)
}

.story-contact-btn--whatsapp {
    background: linear-gradient(135deg, #25d366, #1da851);
    color: #fff;
    box-shadow: 0 4px 14px rgba(37, 211, 102, .3)
}

.story-contact-btn--telegram {
    background: linear-gradient(135deg, #0088cc, #006faa);
    color: #fff;
    box-shadow: 0 4px 14px rgba(0, 136, 204, .3)
}

/* Indicador "Nombre · 2 / 4 stories" */
.story-modal__indicator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    font-size: .72rem;
    color: rgba(255, 255, 255, .45);
    white-space: nowrap
}

/* Responsive — móvil: fullscreen, sin laterales */
@media(max-width: 768px) {
    .story-modal__layout {
        padding: 0
    }

    .story-modal__player {
        width: 100vw;
        height: 100dvh;
        border-radius: 0
    }

    .story-modal__sides,
    .story-modal__side,
    .story-modal__arrow {
        display: none !important
    }
}

@media (max-width: 512px) {
    .story-modal {
        z-index: 500
    }

    .story-modal__layout {
        width: 100%;
        height: 100%;
        padding: 0
    }

    .story-modal__player {
        width: 100%;
        height: 100%;
        border-radius: 0;
        flex-shrink: 0
    }
}

/* ==========================================================================
   Escort Profile Page
   ========================================================================== */

.wt-profile-admin-control {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
    padding: 14px 16px;
    background: #1e1b4b;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: var(--radius-md);
    box-shadow: 0 8px 24px rgba(30, 27, 75, .16);
    color: #fff
}

.wt-profile-admin-control__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(224, 0, 122, .18);
    border: 1px solid rgba(244, 114, 182, .28);
    border-radius: 10px;
    color: #f9a8d4
}

.wt-profile-admin-control__icon svg {
    width: 21px;
    height: 21px
}

.wt-profile-admin-control__copy {
    min-width: 0
}

.wt-profile-admin-control__copy>span {
    display: block;
    margin-bottom: 2px;
    color: #a5b4fc;
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase
}

.wt-profile-admin-control__copy strong {
    display: block;
    color: #fff;
    font-size: .88rem;
    line-height: 1.3
}

.wt-profile-admin-control__copy p {
    margin: 2px 0 0;
    color: #c7d2fe;
    font-size: .72rem;
    line-height: 1.4
}

.wt-profile-admin-control__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 38px;
    padding: 0 15px;
    background: #e0007a;
    border: 1px solid #e0007a;
    border-radius: 9px;
    color: #fff;
    font-family: inherit;
    font-size: .76rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background .18s, border-color .18s, transform .18s
}

.wt-profile-admin-control__button svg {
    width: 16px;
    height: 16px;
    transition: transform .18s
}

.wt-profile-admin-control__button:hover,
.wt-profile-admin-control__button:focus-visible {
    background: #c4006b;
    border-color: #c4006b;
    color: #fff;
    transform: translateY(-1px)
}

.wt-profile-admin-control__button:hover svg {
    transform: translateX(2px)
}

.wt-profile-admin-control__button:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px
}

@media (max-width: 720px) {
    .wt-profile-admin-control {
        grid-template-columns: auto minmax(0, 1fr)
    }

    .wt-profile-admin-control__button {
        grid-column: 1 / -1;
        width: 100%
    }
}

@media (prefers-reduced-motion: reduce) {

    .wt-profile-admin-control__button,
    .wt-profile-admin-control__button svg {
        transition: none
    }
}

.escort-page {
    max-width: 1340px;
    margin: 0 auto;
}

/* Breadcrumb */
.profile-breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: .8rem;
    color: var(--gray-400);
    margin-bottom: 20px
}

.profile-breadcrumb a {
    color: var(--gray-500);
    text-decoration: none;
    transition: color .2s
}

.profile-breadcrumb a:hover {
    color: var(--fuchsia-500)
}

.profile-breadcrumb span {
    color: var(--gray-700);
    font-weight: 500
}

.profile-breadcrumb svg {
    width: 12px;
    height: 12px;
    color: var(--gray-300)
}

/* Profile Header */
.profile-header {
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: 28px 32px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    column-gap: 20px;
    row-gap: 6px;
    align-items: start;
    margin-bottom: 20px
}

.profile-header__avatar-wrap {
    grid-column: 1;
    grid-row: 1 / 3;
    position: relative;
}

.profile-header__info {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    min-width: 0
}

.profile-header__tags-section {
    grid-column: 2/4;
    grid-row: 2;
    align-self: start;
}

.profile-header__actions-section {
    grid-column: 3;
    grid-row: 1 / 2;
    align-self: center;
}

/* En el grid, el row-gap reemplaza el margin-bottom del name-row */
.profile-header .profile-header__name-row {
    margin-bottom: 0;
}

/* La última fila del grid no necesita margin-bottom en tags */
.profile-header .profile-header__tags {
    margin-bottom: 0;
}

.profile-header__avatar {
    width: 110px;
    height: 110px;
    border-radius: 50%;
}

.profile-header__avatar img {
    width: 100%;
    height: 100%;
    padding: 1px;
    border-radius: 50%;
    object-fit: cover;
}

.profile-header__name-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 10px
}

.profile-header__name {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1.2
}

.profile-header__gender {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-top: 7px;
    padding: 5px 13px;
    border: 1px solid rgba(224, 0, 122, .3);
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, rgba(224, 0, 122, .13), rgba(244, 114, 182, .09));
    box-shadow: 0 2px 8px rgba(224, 0, 122, .08);
    color: var(--fuchsia-500);
    font-size: .88rem;
    font-weight: 700;
    line-height: 1.2;
    text-transform: capitalize;
}

.profile-header__gender-row {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-wrap: wrap;
}

.profile-header__gender-row .qe-edit-btn {
    margin-top: 7px;
}

.profile-header__gender[hidden] {
    display: none !important;
}

.profile-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    font-size: .72rem;
    font-weight: 600
}

.profile-badge svg {
    width: 12px;
    height: 12px
}

.profile-badge--verified {
    background: rgba(224, 0, 122, .1);
    color: var(--fuchsia-500)
}

.profile-badge--new {
    background: rgba(59, 130, 246, .1);
    color: var(--blue-500)
}

.profile-header__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px
}

.profile-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: .78rem;
    font-weight: 500;
    color: var(--gray-600);
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    padding: 4px 10px;
    border-radius: var(--radius-full);
    text-transform: capitalize;
}

.profile-tag[hidden] {
    display: none !important;
}

.profile-tag svg {
    width: 11px;
    height: 11px;
    color: var(--fuchsia-500)
}

.profile-header__stats {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 12px
}

.profile-stat {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: .8rem;
    color: var(--gray-500)
}

.profile-stat svg {
    width: 14px;
    height: 14px;
    color: var(--gray-400)
}

.profile-stat strong {
    font-weight: 600;
    color: var(--gray-800)
}

.profile-bio-section {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: 20px;
    margin-bottom: 20px;
}

.profile-bio__edit-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: 1px solid var(--gray-300);
    border-radius: 6px;
    background: var(--white);
    color: var(--gray-500);
    cursor: pointer;
    padding: 0;
    transition: color .15s, border-color .15s, background .15s;
}

.profile-bio__edit-btn:hover {
    color: var(--fuchsia-500, #d946ef);
    border-color: var(--fuchsia-400, #e879f9);
    background: var(--fuchsia-50, #fdf4ff);
}

.profile-bio__edit-btn svg {
    width: 14px;
    height: 14px;
}

.profile-bio__text {
    font-size: .87rem;
    color: var(--gray-600);
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: none;
    white-space: pre-line;
}

.profile-bio__text.expanded {
    display: block;
    overflow: visible;
}

.profile-bio__toggle {
    margin-top: 6px;
    background: none;
    border: none;
    padding: 0;
    font-size: .82rem;
    font-weight: 600;
    color: var(--primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
}

.profile-bio__toggle svg {
    transition: transform .2s;
}

.profile-bio__toggle[aria-expanded="true"] svg {
    transform: rotate(180deg);
}

.profile-header__social {
    display: flex;
    gap: 8px
}

.profile-social-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .2s, box-shadow .2s;
    text-decoration: none
}

.profile-social-btn svg {
    width: 18px;
    height: 18px
}

.profile-social-btn:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-md)
}

.profile-social-btn--instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: #fff
}

.profile-social-btn--x {
    background: #000;
    color: #fff
}

.profile-social-btn--facebook {
    background: #1877f2;
    color: #fff
}

.profile-social-btn--discord {
    background: #5865f2;
    color: #fff
}

.profile-social-btn--whatsapp {
    background: #25d366;
    color: #fff
}

.profile-social-btn--telegram {
    background: var(--telegram-blue);
    color: #fff
}

.profile-social-btn--onlyfans {
    background: #00aff0;
    color: #fff
}

.profile-social-btn--snapchat {
    background: #fffc00;
    color: #000
}

.profile-social-btn--tiktok {
    background: #010101;
    color: #fff
}

/* CTA Buttons */
.profile-header__actions {
    display: inline-flex;
    flex-direction: row;
    gap: 15px;
    flex-shrink: 0;
    position: relative
}

.qe-edit-btn--cta {
    position: absolute;
    top: -10px;
    right: -8px;
    transition: opacity 0.2s
}

.qe-section:has(.qe-edit-btn:hover),
.profile-bio-section:has(.profile-bio__edit-btn:hover) {
    outline: 2px solid rgba(217, 70, 239, 0.6);
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(217, 70, 239, 0.25)
}

.profile-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 15px;
    border-radius: var(--radius-full);
    font-size: .88rem;
    font-weight: 600;
    font-family: inherit;
    text-decoration: none;
    white-space: nowrap;
    transition: filter .2s, box-shadow .2s;
    min-width: 80px
}

.profile-cta svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0
}

.profile-cta:hover {
    filter: brightness(1.1);
    box-shadow: var(--shadow-md)
}

.profile-cta--call {
    background: #0057d9;
    color: var(--white)
}

.profile-cta--whatsapp {
    background: #25d366;
    color: var(--white)
}

.profile-cta--telegram {
    background: var(--telegram-blue);
    color: var(--white)
}

/* Collection (stories) */
.profile-collection {
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: 16px 24px 20px;
    margin-bottom: 20px
}

.profile-collection__label,
.profile-bio__label {
    font-size: .78rem;
    font-weight: 600;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-bottom: 14px
}

.profile-collection__track {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 5px;
    margin-left: -5px;
}

.profile-collection__track::-webkit-scrollbar {
    display: none
}

.profile-collection__empty {
    margin: 0;
    color: var(--gray-400);
    font-size: .85rem;
}

.profile-story {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    flex-shrink: 0
}

.profile-story__ring {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    padding: 3px;
    background: linear-gradient(135deg, var(--fuchsia-500), var(--rose-300), var(--amber-500));
    transition: transform .2s
}

.profile-story:hover .profile-story__ring {
    transform: scale(1.06)
}

.profile-story--viewed .profile-story__ring {
    background: var(--gray-300)
}

.profile-story__img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid var(--white);
    overflow: hidden
}

.profile-story__img img,
.profile-story__img video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover
}

.profile-story__name {
    font-size: .68rem;
    font-weight: 500;
    color: var(--gray-500);
    max-width: 64px;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}

/* Multimedia */
.profile-media {
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: 20px 24px;
    margin-bottom: 20px
}

.profile-media__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px
}

.profile-section-title {
    font-size: .95rem;
    font-weight: 700;
    color: var(--gray-800)
}

.profile-media__tabs {
    display: flex;
    gap: 4px;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    padding: 0 16px;
    position: sticky;
    top: var(--header-h);
    z-index: 10;
    margin-bottom: 0
}

.profile-tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 16px;
    font-size: .85rem;
    font-weight: 500;
    color: var(--gray-500);
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    cursor: pointer;
    font-family: inherit;
    transition: color .2s, border-color .2s
}

.profile-tab:hover {
    color: var(--gray-700)
}

.profile-tab svg {
    width: 15px;
    height: 15px
}

.profile-tab--active {
    color: var(--fuchsia-500);
    border-bottom-color: var(--fuchsia-500);
    font-weight: 600
}

.profile-tab__badge {
    background: var(--fuchsia-500);
    color: var(--white);
    font-size: .65rem;
    font-weight: 700;
    border-radius: 99px;
    padding: 1px 6px;
    line-height: 1.4
}

.profile-tab:not(.profile-tab--active) .profile-tab__badge {
    background: var(--gray-400)
}


.profile-media__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px
}

.profile-media__item {
    position: relative;
    aspect-ratio: 3/4;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--gray-200);
    cursor: pointer;
    border: 1px solid rgba(0, 0, 0, .08);
}

.profile-media__item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, .45) 0%, rgba(0, 0, 0, .1) 40%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

.profile-media__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right bottom;
    transform-origin: right bottom;
    transition: transform .3s
}

.profile-media__item:hover img {
    transform: scale(1.04)
}

/* Photo card owner controls */
.pm-item-menu-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 26px;
    height: 26px;
    border-radius: 6px;
    border: none;
    background: rgba(0, 0, 0, .5);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: opacity .15s;
    z-index: 2;
    padding: 0;
}

.profile-media__item:hover .pm-item-menu-btn {
    opacity: 1;
}

.pm-item-menu {
    position: absolute;
    top: 33px;
    right: 5px;
    background: #fff;
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 20px rgba(0, 0, 0, .18);
    border: 1px solid var(--gray-200);
    min-width: 176px;
    z-index: 10;
    overflow: hidden;
}

.pm-item-menu button {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 9px 14px;
    border: none;
    background: none;
    text-align: left;
    font-size: .82rem;
    color: var(--gray-700);
    cursor: pointer;
    transition: background .1s;
}

.pm-item-menu button svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.pm-item-menu button:hover {
    background: var(--gray-50);
}

.pm-item-menu__danger {
    color: #dc2626 !important;
}

.profile-media__item--add {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 2px dashed var(--gray-300);
    background: var(--gray-50);
    cursor: pointer;
    color: var(--gray-400);
    transition: border-color .15s, color .15s, background .15s;
}

.profile-media__item--add svg {
    width: 28px;
    height: 28px;
}

.profile-media__item--add span {
    font-size: .72rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.2;
}

.profile-media__item--add:hover {
    border-color: var(--fuchsia-400);
    color: var(--fuchsia-500);
    background: rgba(224, 0, 122, .03);
}

.profile-media__play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .3)
}

.profile-media__play svg {
    width: 32px;
    height: 32px;
    color: var(--white);
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .4))
}

/* Comments Section */
.profile-comments {
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: 20px 24px
}

.profile-comments__header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    font-size: .78rem;
    font-weight: 600;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: .05em;
}

.profile-comments__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 20px;
    padding: 0 6px;
    background: var(--fuchsia-500);
    color: var(--white);
    border-radius: var(--radius-full);
    font-size: .72rem;
    font-weight: 700
}

.profile-comments__write {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: var(--gray-50);
    border-radius: var(--radius-full);
    border: 1px solid var(--gray-200);
    margin-bottom: 14px
}

.profile-comments__write--guest {
    cursor: pointer;
    opacity: .7
}

.profile-comments__write--guest * {
    cursor: pointer;
    pointer-events: none
}

.profile-comments__write--guest:hover {
    opacity: 1;
    border-color: var(--fuchsia-300)
}

.comment-write__avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--rose-200);
    flex-shrink: 0
}

.comment-write__input {
    flex: 1;
    border: none;
    background: none;
    font-size: .85rem;
    font-family: inherit;
    color: var(--gray-700);
    outline: none
}

.comment-write__input::placeholder {
    color: var(--gray-400)
}

.comment-write__input--guest {
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer
}

.comment-write__login-link {
    color: var(--fuchsia-500);
    font-weight: 600;
    font-size: .85rem
}

.comment-write__login-text {
    color: var(--gray-400);
    font-size: .85rem
}

.comment-write__actions {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0
}

.comment-write__icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    background: none;
    color: var(--gray-400);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: color .2s, background .2s
}

.comment-write__icon:hover {
    color: var(--gray-600);
    background: var(--gray-100)
}

.comment-write__icon svg {
    width: 16px;
    height: 16px
}

.profile-comments__filter {
    margin-bottom: 16px
}

.profile-comments__filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: .78rem;
    font-weight: 500;
    color: var(--gray-500);
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    padding: 0;
    transition: color .2s
}

.profile-comments__filter-btn svg {
    width: 14px;
    height: 14px
}

.profile-comments__filter-btn:hover {
    color: var(--gray-800)
}

.profile-comments__list {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 20px
}

/* Agrupar raíz + bloque de respuestas */
.profile-comment:not(.profile-comment--reply) {
    position: relative;
    margin-bottom: 4px
}

/* Línea vertical desde el avatar raíz hacia el bloque de respuestas */
.profile-comment:not(.profile-comment--reply):has(+ .profile-comment__replies:not(:empty))::after {
    content: '';
    position: absolute;
    left: 18px;
    /* centro del avatar (38px/2 - 1px de la mitad del trazo) */
    top: 38px;
    /* justo debajo del avatar */
    bottom: -4px;
    /* cubre el margin-bottom */
    width: 2px;
    background: var(--gray-100);
    border-radius: 1px
}

.profile-comment {
    display: flex;
    gap: 12px
}

.profile-comment__avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0
}

.profile-comment__avatar-link {
    display: block;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border-radius: 50%
}

.profile-comment__avatar-link .profile-comment__avatar {
    display: block
}

.profile-comment__body {
    flex: 1;
    min-width: 0
}

.profile-comment__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 5px
}

.profile-comment__meta {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap
}

.profile-comment__author {
    font-size: .84rem;
    font-weight: 600;
    color: var(--gray-800)
}

.profile-comment__author:hover {
    color: var(--fuchsia-600)
}

.profile-comment__role {
    font-size: .68rem;
    font-weight: 600;
    color: var(--fuchsia-500);
    background: rgba(224, 0, 122, .08);
    padding: 1px 7px;
    border-radius: var(--radius-full)
}

.profile-comment__role--escort {
    color: #7c3aed;
    background: rgba(124, 58, 237, .09)
}

.profile-comment__role--admin {
    color: #0369a1;
    background: rgba(3, 105, 161, .09)
}

.profile-comment__verified {
    display: none;
    width: 13px;
    height: 13px;
    color: var(--blue-500)
}

.profile-comment__date {
    font-size: .72rem;
    color: var(--gray-400)
}

.profile-comment__menu {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--gray-400);
    padding: 2px;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    transition: color .2s
}

.profile-comment__menu svg {
    width: 16px;
    height: 16px
}

.profile-comment__menu:hover {
    color: var(--gray-600)
}

.profile-comment__menu-wrap {
    position: relative;
    flex-shrink: 0
}

.profile-comment__dropdown {
    position: absolute;
    right: 0;
    top: calc(100% + 4px);
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .1);
    min-width: 180px;
    z-index: 100;
    overflow: hidden
}

.profile-comment__dropdown-item {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 10px 14px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: .85rem;
    text-align: left;
    transition: background .15s
}

.profile-comment__dropdown-item svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0
}

.profile-comment__edit {
    color: var(--gray-700)
}

.profile-comment__edit:hover {
    background: var(--gray-50)
}

.profile-comment__report {
    color: #b45309
}

.profile-comment__report:hover {
    background: #fffbeb
}

.profile-comment__delete {
    color: #e53e3e
}

.profile-comment__delete:hover {
    background: #fff5f5
}

.profile-comment__text {
    font-size: .84rem;
    color: var(--gray-600);
    line-height: 1.55;
    margin-bottom: 8px
}

.profile-comment__editor {
    margin: 2px 0 9px
}

.profile-comment__editor textarea {
    box-sizing: border-box;
    width: 100%;
    min-height: 84px;
    resize: vertical;
    padding: 10px 11px;
    border: 1px solid var(--fuchsia-300);
    border-radius: 10px;
    outline: none;
    background: var(--white);
    color: var(--gray-700);
    font: inherit;
    font-size: .82rem;
    line-height: 1.5;
    box-shadow: 0 0 0 3px rgba(224, 0, 122, .08)
}

.profile-comment__editor-meta,
.profile-comment__editor-actions {
    display: flex;
    align-items: center
}

.profile-comment__editor-meta {
    justify-content: space-between;
    gap: 12px;
    margin-top: 7px
}

.profile-comment__editor-count {
    color: var(--gray-400);
    font-size: .68rem
}

.profile-comment__editor-actions {
    gap: 7px
}

.profile-comment__editor-actions button {
    min-height: 30px;
    padding: 0 11px;
    border: 0;
    border-radius: 8px;
    font: inherit;
    font-size: .72rem;
    font-weight: 600;
    cursor: pointer
}

.profile-comment__edit-cancel {
    background: var(--gray-100);
    color: var(--gray-600)
}

.profile-comment__edit-save {
    background: var(--fuchsia-500);
    color: var(--white)
}

.profile-comment__editor-actions button:disabled {
    opacity: .55;
    cursor: wait
}

.comment-mention {
    font-weight: 600;
    color: var(--fuchsia-600);
}

.profile-comment__actions {
    display: flex;
    align-items: center;
    gap: 14px
}

.profile-comment__like,
.profile-comment__reply {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: .76rem;
    font-weight: 500;
    color: var(--gray-400);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    font-family: inherit;
    transition: color .2s
}

.profile-comment__like svg,
.profile-comment__reply svg {
    width: 14px;
    height: 14px
}

.profile-comment__like:hover,
.profile-comment__reply:hover {
    color: var(--fuchsia-500)
}

.profile-comments__load-more {
    text-align: center;
    padding-top: 4px
}

.profile-comments__load-more-link {
    font-size: .84rem;
    font-weight: 600;
    color: var(--fuchsia-500);
    text-decoration: none;
    transition: color .2s
}

.profile-comments__load-more-link:hover {
    color: var(--fuchsia-600)
}

.profile-comment__replies {
    margin-left: 19px;
    /* centro del avatar raíz (38px / 2) */
    padding-left: 25px;
    /* separar del hilo; total offset: 19+2+25 = 46px */
    margin-bottom: 20px
        /* espacio hacia el siguiente raíz */
}

.profile-comment__replies:not(:empty) {
    border-left: 2px solid var(--gray-100)
}

.profile-comment--reply {
    /* padding-top eliminado; gestionado por el selector + a continuación */
}

.profile-comment--reply+.profile-comment--reply {
    margin-top: 12px
}

/* Avatar más pequeño en respuestas — jerarquía visual */
.profile-comment--reply .profile-comment__avatar {
    width: 30px;
    height: 30px
}

.profile-comment--reply .profile-comment__avatar-link {
    width: 30px;
    height: 30px;
    flex-basis: 30px
}

.comment-reply-box {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: var(--gray-50);
    border-radius: var(--radius-full);
    border: 1px solid var(--fuchsia-200);
    margin: 4px 0 6px 44px
}

/* Dentro del bloque de respuestas ya tiene indent propio — no duplicar */
.profile-comment__replies .comment-reply-box {
    margin-left: 0
}

.comment-reply-box__field {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 0
}

.comment-reply-box__field .comment-write__input {
    flex: 1;
    min-width: 0
}

.comment-reply-box__mention {
    font-size: .82rem;
    font-weight: 700;
    color: var(--fuchsia-500);
    white-space: nowrap;
    flex-shrink: 0
}

.comment-reply-box__cancel {
    color: var(--gray-400)
}

.comment-reply-box__cancel:hover {
    color: var(--gray-600)
}

.profile-comment__like--liked {
    color: var(--fuchsia-500)
}

.profile-comment__like--liked svg {
    fill: var(--fuchsia-500);
    stroke: var(--fuchsia-500)
}

.profile-comments__login-notice {
    text-align: center;
    padding: 14px 0;
    font-size: .85rem;
    color: var(--gray-500)
}

.profile-comments__login-notice a {
    color: var(--fuchsia-500);
    font-weight: 600;
    text-decoration: none
}

.profile-comments__empty {
    text-align: center;
    padding: 24px 0;
    font-size: .85rem;
    color: var(--gray-400)
}

/* Reporte de comentarios */
.comment-report__backdrop[hidden] {
    display: none
}

.comment-report__backdrop {
    position: fixed;
    inset: 0;
    z-index: 10020;
    background: rgba(10, 5, 8, .68);
    backdrop-filter: blur(5px)
}

.comment-report__dialog {
    position: fixed;
    z-index: 10021;
    top: 50%;
    right: auto;
    bottom: auto;
    left: 50%;
    width: min(420px, calc(100% - 32px));
    max-height: calc(100dvh - 32px);
    transform: translate(-50%, -50%)
}

.comment-report__target {
    max-height: 92px;
    overflow: auto;
    margin: 0 0 12px;
    padding: 10px 12px;
    border-left: 3px solid var(--fuchsia-300);
    border-radius: 0 8px 8px 0;
    background: var(--gray-50);
    color: var(--gray-600);
    font-size: .76rem;
    line-height: 1.45
}

@media(max-width: 600px) {
    .comment-report__dialog {
        top: auto;
        right: 0;
        bottom: 0;
        left: 0;
        width: 100%;
        max-height: min(90dvh, 620px);
        transform: none;
        border-radius: 20px 20px 0 0
    }
}

/* Responsive — Profile */
@media(max-width: 1000px) {
    .profile-cta {
        min-width: initial;
    }
}

@media(max-width: 900px) {
    .profile-header {
        padding: 20px;
        column-gap: 18px;
    }

    .profile-cta {
        flex: 1;
        min-width: 0
    }
}

@media(max-width: 768px) {
    .profile-header {
        grid-template-columns: auto 1fr;
        grid-template-rows: auto auto auto;
        padding: 16px 16px 14px;
        column-gap: 14px;
        row-gap: 0;
        position: relative;
        overflow: hidden;
    }

    /* Acento de color superior */
    .profile-header::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: linear-gradient(90deg, var(--fuchsia-500), var(--rose-300), var(--amber-400));
        border-radius: var(--radius-md) var(--radius-md) 0 0;
    }

    .profile-header__avatar-wrap {
        grid-column: 1;
        grid-row: 1 / 3;
        align-self: center;
    }

    .profile-header__info {
        grid-column: 2;
        grid-row: 1;
        align-self: end;
        padding-bottom: 5px;
    }

    .profile-header__actions-section {
        grid-column: 2;
        grid-row: 2;
        align-self: start;
        padding-top: 5px;
    }

    .profile-header__tags-section {
        grid-column: 1 / 3;
        grid-row: 3;
        margin-top: 14px;
        padding-top: 12px;
        border-top: 1px solid var(--gray-100);
    }

    .profile-header__avatar {
        width: 88px;
        height: 88px;
    }

    .profile-header__name {
        font-size: 1.2rem;
        line-height: 1.15;
    }

    .profile-header__name-row {
        margin-bottom: 0;
    }

    .profile-header__tags {
        margin-bottom: 0;
        gap: 6px;
    }

    .profile-header__actions {
        gap: 10px;
    }

    .profile-cta {
        flex: 0 0 auto;
        width: 44px;
        height: 44px;
        min-width: 0;
        padding: 0;
        border-radius: 50%;
        box-shadow: 0 3px 10px rgba(0, 0, 0, .22);
    }

    .profile-cta svg {
        width: 20px;
        height: 20px;
    }

}

@media(max-width: 600px) {
    .profile-header__avatar {
        width: 88px;
        height: 88px
    }

    .profile-header__name {
        font-size: 1.15rem
    }

    .profile-media__grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .profile-header {
        padding: 16px
    }

    .profile-comments,
    .profile-media,
    .profile-collection,
    .profile-bio-section {
        padding: 16px
    }

    /* Hilo de comentarios — indent reducido en móvil */
    .profile-comment__replies {
        margin-left: 14px;
        padding-left: 16px;
        margin-bottom: 16px
    }

    /* Línea del hilo: reajustar al centro del avatar móvil (32px/2 - 1px) */
    .profile-comment:not(.profile-comment--reply):has(+ .profile-comment__replies:not(:empty))::after {
        left: 15px;
        top: 32px
    }

    .profile-comment__avatar {
        width: 32px;
        height: 32px
    }

    .profile-comment__avatar-link {
        width: 32px;
        height: 32px;
        flex-basis: 32px
    }

    .profile-comment--reply .profile-comment__avatar {
        width: 26px;
        height: 26px
    }

    .profile-comment--reply .profile-comment__avatar-link {
        width: 26px;
        height: 26px;
        flex-basis: 26px
    }

    /* Reply box a nivel raíz: alinearlo con el nuevo indent (14+2+16 = 32px) */
    .comment-reply-box {
        margin-left: 32px
    }
}

/* ── Páginas auth standalone (/login, /registro, /recuperar-password) ── */
.rp-page {
    display: flex;
    justify-content: center;
    padding: 48px 16px 64px;
}

.rp-card-standalone {
    position: static !important;
    animation: modalIn .3s cubic-bezier(.4, 0, .2, 1);
}

/* ── Banner de verificación de email ── */
.verify-banner {
    position: fixed;
    top: var(--header-h);
    left: var(--sidebar-collapsed);
    right: 0;
    z-index: 99;
    display: flex;
    align-items: center;
    gap: 10px;
    height: 48px;
    padding: 7px 20px;
    background: #fff8fb;
    border-bottom: 1px solid rgba(224, 0, 122, .18);
    box-shadow: 0 2px 8px rgba(39, 39, 42, .06);
    transition: left .3s cubic-bezier(.4, 0, .2, 1);
}

.verify-banner~.main {
    margin-top: calc(var(--header-h) + 48px);
    min-height: calc(100vh - var(--header-h) - 48px);
}

.verify-banner__icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(224, 0, 122, .1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.verify-banner__icon svg {
    width: 14px;
    height: 14px;
    color: var(--fuchsia-600);
}

.verify-banner__body {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.verify-banner__title {
    font-family: 'Outfit', sans-serif;
    font-size: .8rem;
    font-weight: 700;
    color: var(--gray-800);
    white-space: nowrap;
}

.verify-banner__text {
    font-size: .75rem;
    color: var(--gray-500);
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.verify-banner__resend {
    background: var(--white);
    color: var(--fuchsia-600);
    border: 1px solid rgba(224, 0, 122, .25);
    border-radius: 6px;
    padding: 6px 10px;
    font-family: inherit;
    font-size: .75rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background .15s, border-color .15s;
}

.verify-banner__resend:hover {
    background: var(--rose-50);
    border-color: rgba(224, 0, 122, .45);
}

.verify-banner__resend:disabled {
    opacity: .55;
    cursor: not-allowed;
}

.verify-banner__dismiss {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: var(--gray-400);
    display: flex;
    align-items: center;
    flex-shrink: 0;
    border-radius: 50%;
    transition: color .15s, background .15s;
}

.verify-banner__dismiss:hover {
    color: var(--gray-600);
    background: var(--gray-100);
}

.verify-banner__dismiss svg {
    width: 14px;
    height: 14px;
}

@media(max-width: 512px) {
    .verify-banner {
        left: 0;
    }
}

@media (max-width: 480px) {
    .verify-banner {
        gap: 7px;
        padding-inline: 10px;
    }

    .verify-banner__icon,
    .verify-banner__title {
        display: none;
    }
}

/* ── Ícono giratorio / error (página activar-cuenta) ── */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.modal__icon--spin svg {
    animation: spin 1s linear infinite;
}

.modal__icon--error {
    background: linear-gradient(135deg, var(--red-500), #f87171);
}

/* ─────────────────────────────────────────────────
 * Quick Edit — inline edit sections (single.php)
 * ───────────────────────────────────────────────── */

.qe-section {
    position: relative;
}

/* Pencil trigger button */
.qe-edit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: 1px solid var(--gray-300);
    border-radius: 6px;
    background: var(--white);
    color: var(--gray-500);
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
    transition: color .15s, border-color .15s, background .15s;
}

.qe-edit-btn:hover {
    color: var(--fuchsia-500, #d946ef);
    border-color: var(--fuchsia-400, #e879f9);
    background: var(--fuchsia-50, #fdf4ff);
}

.qe-edit-btn svg {
    width: 14px;
    height: 14px;
    pointer-events: none;
}

/* Panel */
.qe-panel {
    position: fixed;
    width: min(600px, calc(100vw - 16px));
    z-index: 200;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    padding: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    max-height: calc(100vh - 80px);
    overflow-y: auto;
}

/* Fields grid */
.qe-fields {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.qe-slug-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.qe-field-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 10px;
}

.qe-label {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 11px;
    font-weight: 600;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: .04em;
    min-width: 0;
}

.qe-input {
    width: 100%;
    padding: 7px 10px;
    border: 1px solid var(--gray-300);
    border-radius: 7px;
    font-size: 13px;
    color: var(--gray-800);
    background: var(--white);
    outline: none;
    transition: border-color .15s;
    font-family: inherit;
}

.qe-input:focus {
    border-color: var(--fuchsia-400, #e879f9);
}

.qe-input-wrap {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1px solid var(--gray-300);
    border-radius: 7px;
    overflow: hidden;
    background: var(--white);
    transition: border-color .15s;
}

.qe-input-wrap:focus-within {
    border-color: var(--fuchsia-400, #e879f9);
}

.qe-input-wrap .qe-input {
    border: none;
    border-radius: 0;
    flex: 1;
    width: auto;
}

.qe-input-wrap .qe-input:focus {
    border-color: transparent;
}

.qe-prefix {
    padding: 0 8px;
    font-size: 12px;
    font-weight: 700;
    color: var(--gray-500);
    background: var(--gray-50, #f9fafb);
    border-right: 1px solid var(--gray-200);
    white-space: nowrap;
    align-self: stretch;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.qe-prefix-plus {
    padding: 0 0 0 6px;
    font-size: 12px;
    font-weight: 700;
    color: var(--gray-700);
    background: var(--gray-50, #f9fafb);
    align-self: stretch;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    user-select: none;
}

.qe-prefix-plus[hidden],
.qe-prefix-input[hidden],
.qe-prefix[hidden] {
    display: none !important;
}

.qe-prefix-input {
    width: 28px;
    padding: 0 4px 0 0;
    border: none;
    border-right: 1px solid var(--gray-200);
    font-size: 12px;
    font-weight: 700;
    color: var(--gray-700);
    background: var(--gray-50, #f9fafb);
    outline: none;
    font-family: inherit;
    text-align: left;
    flex-shrink: 0;
    align-self: stretch;
}

.qe-tg-type {
    padding: 0 6px;
    border: none;
    border-right: 1px solid var(--gray-200);
    border-radius: 0;
    font-size: 12px;
    font-weight: 600;
    color: var(--gray-700);
    background: var(--gray-50, #f9fafb);
    outline: none;
    font-family: inherit;
    cursor: pointer;
    align-self: stretch;
    flex-shrink: 0;
}

.qe-textarea {
    resize: vertical;
    min-height: 80px;
    line-height: 1.5;
}

/* Actions row */
.qe-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.qe-btn {
    padding: 7px 14px;
    border-radius: 7px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
    transition: opacity .15s;
    white-space: nowrap;
}

.qe-btn:disabled {
    opacity: .6;
    cursor: not-allowed;
}

.qe-btn--save {
    background: var(--fuchsia-500, #d946ef);
    color: #fff;
    border-color: var(--fuchsia-500, #d946ef);
}

.qe-btn--save:hover:not(:disabled) {
    opacity: .85;
}

.qe-btn--cancel {
    background: var(--white);
    color: var(--gray-600);
    border-color: var(--gray-300);
}

.qe-btn--cancel:hover {
    background: var(--gray-100);
}

.qe-btn--full {
    background: transparent;
    color: var(--gray-500);
    border-color: var(--gray-200);
    margin-left: auto;
    font-size: 12px;
}

.qe-btn--full:hover {
    color: var(--gray-700);
    border-color: var(--gray-400);
}

@media (max-width: 480px) {
    .qe-field-row {
        grid-template-columns: 1fr;
    }

    .qe-btn--full {
        margin-left: 0;
        width: 100%;
        text-align: center;
    }
}

/* ── Social: website / add prompt ── */
.profile-social-btn--website svg {
    width: 20px;
    height: 20px;
    color: #fff;
}

.profile-social-btn--website {
    background: #3f3f46;
    color: #fff;
}


.profile-social-add {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border: 1.5px dashed var(--gray-300);
    border-radius: 8px;
    background: transparent;
    color: var(--gray-500);
    font-size: 13px;
    cursor: pointer;
    transition: border-color .15s, color .15s;
}

.profile-social-add svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.profile-social-add:hover {
    border-color: var(--fuchsia-400, #e879f9);
    color: var(--fuchsia-500, #d946ef);
}

/* ── Contact section: add prompt & edit pencil ── */
.profile-cta-add {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border: 1.5px dashed var(--gray-300);
    border-radius: 10px;
    background: transparent;
    color: var(--gray-500);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: border-color .15s, color .15s;
}

.profile-cta-add svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.profile-cta-add:hover {
    border-color: var(--fuchsia-400, #e879f9);
    color: var(--fuchsia-500, #d946ef);
}

/* Pencil inside the CTA row */
.qe-edit-btn--cta svg {
    width: 16px;
    height: 16px;
}

/* ---------------------------------------------------------------
 * Avatar edit button (camera overlay)
 * ------------------------------------------------------------- */
.profile-avatar-edit-btn {
    position: absolute;
    bottom: 4px;
    right: 4px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--bg-base, #0f0f13);
    background: var(--gray-700, #374151);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .15s;
    padding: 0;
}

.profile-avatar-edit-btn:hover {
    background: var(--fuchsia-600, #c026d3);
}

.profile-avatar-edit-btn svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* ---------------------------------------------------------------
 * Avatar upload modal — variant modifiers & drop zone
 * ------------------------------------------------------------- */

/* Center vertically (auth-style) instead of EFM's flex-start */
.efm-backdrop--centered {
    align-items: center;
}

/* Narrow card variant for small modals */
.efm-modal--sm {
    width: 380px;
}

/* Drop zone wrapper */
.avatar-drop-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.avatar-drop {
    position: relative;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid var(--gray-100);
    transition: border-color .15s;
}

.avatar-drop:hover {
    border-color: var(--fuchsia-400, #e879f9);
}

.avatar-drop:focus-visible {
    outline: 3px solid rgba(224, 0, 122, .22);
    outline-offset: 3px;
}

#avatarModalBackdrop[data-mode="cover"] .efm-modal--sm,
#avatarModalBackdrop[data-mode="confessions_banner"] .efm-modal--sm {
    width: 520px;
}

.avatar-drop.avatar-drop--cover {
    width: min(100%, 420px);
    height: auto;
    aspect-ratio: 16 / 7;
    border-width: 2px;
    border-radius: 14px;
    background:
        linear-gradient(rgba(113, 113, 122, .08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(113, 113, 122, .08) 1px, transparent 1px),
        linear-gradient(135deg, #f4f4f5, #fafafa);
    background-size: 28px 28px, 28px 28px, auto;
}

.avatar-drop.avatar-drop--square {
    width: 180px;
    height: 180px;
    border-width: 2px;
    border-radius: 16px;
    background: var(--gray-50, #f9fafb);
}

.avatar-drop--square .avatar-drop__preview {
    object-fit: contain;
}

.avatar-drop--empty .avatar-drop__preview {
    display: none;
}

.avatar-drop__preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.avatar-drop__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .45);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: opacity .15s;
    color: #fff;
    font-size: 12px;
    font-weight: 500;
}

.avatar-drop:hover .avatar-drop__overlay {
    opacity: 1;
}

.avatar-drop__overlay svg {
    width: 28px;
    height: 28px;
}

.avatar-drop__hint {
    font-size: 12px;
    color: var(--gray-400);
    text-align: center;
    margin: 0;
}

.avatar-drop__status {
    width: 100%;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 13px;
    text-align: center;
}

.avatar-drop__status--loading {
    background: var(--gray-100);
    color: var(--gray-500);
}

.avatar-drop__status--ok {
    background: #dcfce7;
    color: #166534;
}

.avatar-drop__status--error {
    background: #fee2e2;
    color: #991b1b;
}

.avatar-confirm-actions {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    width: 100%;
}

.avatar-confirm-actions[hidden] {
    display: none;
}

.avatar-confirm-btn {
    flex: 1;
    padding: 10px 0;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: transform .15s, box-shadow .15s;
}

.avatar-confirm-btn:hover {
    transform: translateY(-1px);
}

.avatar-confirm-btn--accept {
    background: linear-gradient(135deg, var(--fuchsia-500, #d946ef), var(--pink-500, #ec4899));
    color: #fff;
    box-shadow: 0 4px 14px rgba(224, 0, 122, .3);
}

.avatar-confirm-btn--accept:hover {
    box-shadow: 0 6px 20px rgba(224, 0, 122, .35);
}

.avatar-confirm-btn--cancel {
    background: var(--gray-50, #f9fafb);
    color: var(--gray-600, #4b5563);
    border: 1.5px solid var(--gray-200, #e5e7eb);
}

.avatar-confirm-btn--cancel:hover {
    border-color: var(--gray-300, #d1d5db);
    color: var(--gray-800, #1f2937);
}

/* ── Own-story context menu ──────────────────────────────────────── */
@keyframes wtMenuIn {
    from {
        opacity: 0;
        transform: scale(.95) translateY(-4px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.wt-own-story-menu {
    position: fixed;
    z-index: 9999;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 5px;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 200px;
    animation: wtMenuIn .15s ease;
    transform-origin: top center;
}

/* Arrow pointing up toward the story bubble */
.wt-own-story-menu::before,
.wt-own-story-menu::after {
    content: '';
    position: absolute;
    top: -8px;
    left: var(--arrow-left, 50%);
    transform: translateX(-50%);
    border: 8px solid transparent;
    border-top: 0;
    border-bottom-color: var(--gray-200);
}

.wt-own-story-menu::after {
    top: -6px;
    border-width: 7px;
    border-bottom-color: var(--white);
}

.wt-own-story-menu__item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px 10px;
    background: none;
    border: none;
    color: var(--gray-800);
    font-size: .875rem;
    font-weight: 500;
    font-family: inherit;
    border-radius: var(--radius-sm);
    cursor: pointer;
    text-align: left;
    transition: background .12s;
    white-space: nowrap;
    width: 100%;
}

.wt-own-story-menu__item:hover {
    background: var(--gray-100);
}

.wt-own-story-menu__icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--rose-50);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.wt-own-story-menu__icon svg {
    width: 16px;
    height: 16px;
    color: var(--fuchsia-500);
}

/* ─── Admin pending badges (sidebar) ───────────────────────── */
.sidebar__admin-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: #ef4444;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    margin-left: auto;
    flex-shrink: 0;
}

/* Mantener visible aunque la sidebar esté colapsada */
.sidebar__admin-badge {
    opacity: 1;
    max-width: none;
    overflow: visible;
    margin-left: 0;
}

.sidebar-admin-dd__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: #ef4444;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    margin-left: auto;
    flex-shrink: 0;
}

/* ─── Admin review bar ──────────────────────────────────────── */
.wt-review-bar {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 400;
    background: #fffbeb;
    border: 2px solid #f59e0b;
    border-radius: 14px;
    padding: 12px 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, .18);
    width: max-content;
    max-width: min(680px, calc(100vw - 48px));
}

.wt-review-bar--approved {
    background: #f0fdf4;
    border-color: #22c55e;
}

.wt-review-bar--rejected {
    background: #fff1f2;
    border-color: #f43f5e;
}

.wt-review-bar__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.wt-review-bar__inner--done {
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    color: var(--gray-700, #374151);
}

.wt-review-bar__info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #92400e;
}

.wt-review-bar__info svg {
    flex-shrink: 0;
    color: #f59e0b;
}

.wt-review-bar__actions {
    display: flex;
    gap: 8px;
}

.wt-review-bar__btn {
    padding: 6px 16px;
    border-radius: 6px;
    border: none;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.15s;
}

.wt-review-bar__btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.wt-review-bar__btn--approve {
    background: #22c55e;
    color: #fff;
}

.wt-review-bar__btn--approve:hover:not(:disabled) {
    background: #16a34a;
}

.wt-review-bar__btn--reject {
    background: #f43f5e;
    color: #fff;
}

.wt-review-bar__btn--reject:hover:not(:disabled) {
    background: #e11d48;
}

.wt-review-bar__btn--delete {
    background: #7f1d1d;
    color: #fff;
    margin-left: 8px;
    border-left: 1px solid rgba(255, 255, 255, .2);
}

.wt-review-bar__btn--delete:hover:not(:disabled) {
    background: #991b1b;
}

.wt-review-bar--deleted {
    background: #fff1f2;
    border-color: #7f1d1d;
}

.wt-review-bar__inner--deleted {
    color: #7f1d1d;
}

/* ── Bottom nav (mobile ≤512px) ── */
.bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 400;
    background: var(--sidebar-bg);
    border-top: 1px solid var(--gray-700);
    padding: 8px 4px calc(8px + env(safe-area-inset-bottom, 0px));
    justify-content: space-around;
    align-items: stretch;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, .35);
}

.bottom-nav__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    text-decoration: none;
    color: var(--sidebar-text);
    font-size: .62rem;
    font-weight: 600;
    letter-spacing: .02em;
    padding: 6px 8px;
    border-radius: var(--radius-sm);
    transition: color .2s, background .2s, transform .15s;
    -webkit-tap-highlight-color: transparent;
    position: relative;
}

.bottom-nav__item svg {
    width: 22px;
    height: 22px;
    opacity: .6;
    transition: opacity .2s, transform .15s;
}

.bottom-nav.wt-bottom-nav--structured .bottom-nav__item {
    min-width: 0;
    flex: 1 1 0;
    padding-inline: 2px;
}

.bottom-nav.wt-bottom-nav--structured .bottom-nav__item > span:not(.bottom-nav__chat-badge):not(.bottom-nav__admin-badge) {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bottom-nav.wt-bottom-nav--structured .bottom-nav__chat-badge {
    position: absolute;
    top: 2px;
    right: max(4px, calc(50% - 24px));
    min-width: 17px;
    height: 17px;
    margin: 0;
    padding: 0 4px;
    font-size: 8px !important;
}

.bottom-nav.wt-bottom-nav--structured .bottom-nav__item--telegram svg {
    color: var(--telegram-blue, #229ed9);
    opacity: 1;
}

.bottom-nav__item--active {
    color: var(--sidebar-text-active);
    background: linear-gradient(135deg, var(--fuchsia-600), var(--fuchsia-500));
    box-shadow: 0 2px 12px rgba(224, 0, 0, .35);
}

.bottom-nav__item--active svg {
    opacity: 1;
}

.bottom-nav__item--active::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: var(--fuchsia-500);
    border-radius: 0 0 3px 3px;
    box-shadow: 0 2px 8px rgba(224, 0, 0, .5);
}

button.bottom-nav__item {
    background: none;
    border: none;
    cursor: pointer;
    width: auto;
}

.bottom-nav__admin-badge {
    position: absolute;
    top: 2px;
    right: 4px;
}

.bottom-nav__item--admin {
    color: #facc15;
}

.bottom-nav__item--admin svg {
    opacity: 1;
    color: #facc15;
    filter: drop-shadow(0 0 5px rgba(250, 204, 21, .7)) drop-shadow(0 0 10px rgba(250, 204, 21, .35));
    animation: adminStarPulse 2.8s ease-in-out infinite;
}

@keyframes adminStarPulse {

    0%,
    100% {
        filter: drop-shadow(0 0 4px rgba(250, 204, 21, .6)) drop-shadow(0 0 8px rgba(250, 204, 21, .3));
    }

    50% {
        filter: drop-shadow(0 0 8px rgba(250, 204, 21, .9)) drop-shadow(0 0 16px rgba(250, 204, 21, .5));
    }
}

.bottom-nav__item--disabled {
    opacity: .35;
    pointer-events: auto;
}

.bottom-nav__item--disabled:active {
    transform: scale(.92);
}

@media (max-width: 768px) {
    .header {
        padding: 0 14px;
    }
}

@media (max-width: 512px) {
    .hamburger {
        display: none !important;
    }

    .sidebar {
        display: none !important;
    }

    .header {
        left: 0;
    }

    .main {
        margin-left: 0 !important;
    }

    .bottom-nav {
        display: flex;
    }

    body {
        padding-bottom: 64px;
    }

    .header__logo {
        font-size: 1.5rem;
    }

    .btn--publish {
        height: 34px;
        padding: 0 14px;
    }

    .header__icon-btn,
    .header__avatar {
        width: 34px;
        height: 34px;
    }

    .header__icon-btn svg {
        width: 20px;
        height: 22px;
        display: block;
    }

}

@media (max-width: 390px) {

    .header__right {
        gap: 9px;
    }

    .btn--publish {
        height: 34px;
        padding: 0 12px;
        font-size: 12px;
        line-height: 1;
    }

    .header__icon-btn,
    .header__avatar {
        width: 34px;
        height: 34px;
    }

    .header__icon-btn svg {
        width: 20px;
        height: 22px;
        display: block;
    }
}

/* ── Lightbox fotos ─────────────────────────────────────────── */
.wt-lightbox {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: grid;
    color: #f8f5f7;
    opacity: 0;
    transition: opacity 160ms ease;
}

.wt-lightbox[hidden] {
    display: none;
}

.wt-lightbox.is-open {
    opacity: 1;
}

.wt-lightbox,
.wt-lightbox * {
    box-sizing: border-box;
}

.wt-lightbox__backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background:
        radial-gradient(circle at 50% 45%, rgba(83, 59, 76, .2), transparent 48%),
        rgba(12, 10, 13, .965);
    backdrop-filter: blur(12px);
    cursor: default;
}

.wt-lightbox__shell {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    min-width: 0;
    min-height: 0;
    width: 100%;
    height: 100%;
    padding: 18px 22px 16px;
    pointer-events: none;
}

.wt-lightbox__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    min-height: 42px;
    pointer-events: auto;
}

.wt-lightbox__action {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 13px;
    background: rgba(255, 255, 255, .075);
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
    transition: background-color 150ms ease, border-color 150ms ease, transform 150ms ease;
    outline: none!important;
}

.wt-lightbox__action:hover {
    border-color: rgba(255, 255, 255, .28);
    background: rgba(255, 255, 255, .15);
    color: #fff;
    transform: translateY(-1px);
}

.wt-lightbox__action:focus-visible,
.wt-lightbox__arrow:focus-visible,
.wt-lightbox__more-item:focus-visible {
    outline: 2px solid #f1b7cf;
    outline-offset: 3px;
}

.wt-lightbox__action svg,
.wt-lightbox__arrow svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.wt-lightbox__more {
    position: relative;
    z-index: 5;
}

.wt-lightbox__action--more svg {
    fill: currentColor;
    stroke: none;
}

.wt-lightbox__action--more[aria-expanded="true"] {
    border-color: rgba(255, 255, 255, .3);
    background: rgba(255, 255, 255, .16);
}

.wt-lightbox__more-menu[hidden] {
    display: none;
}

.wt-lightbox__more-menu {
    position: absolute;
    top: calc(100% + 9px);
    right: 0;
    display: grid;
    min-width: 184px;
    padding: 6px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 13px;
    background: rgba(30, 25, 28, .96);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    box-shadow: 0 18px 48px rgba(0, 0, 0, .42);
}

.wt-lightbox__more-item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 40px;
    padding: 9px 11px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: rgba(255, 255, 255, .88);
    font: inherit;
    font-size: .82rem;
    font-weight: 600;
    line-height: 1.2;
    text-align: left;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: color 140ms ease, background-color 140ms ease;
}

.wt-lightbox__more-item:hover {
    color: #fff;
    background: rgba(255, 255, 255, .09);
}

.wt-lightbox__more-item svg {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.wt-lightbox__more-item--danger {
    color: #fda4af;
}

.wt-lightbox__more-item--danger:hover {
    color: #fecdd3;
    background: rgba(190, 18, 60, .24);
}

.wt-lightbox__more-item:disabled {
    opacity: .45;
    cursor: wait;
}

.wt-lightbox__stage {
    position: relative;
    display: grid;
    place-items: center;
    min-width: 0;
    min-height: 0;
    padding: 18px 74px 10px;
    pointer-events: auto;
    touch-action: pan-y;
    user-select: none;
}

.wt-lightbox__image {
    display: block;
    max-width: 100%;
    max-height: calc(100vh - 150px);
    max-height: calc(100dvh - 150px);
    width: auto;
    height: auto;
    border-radius: 4px;
    object-fit: contain;
    opacity: 0;
    transform: scale(.992);
    box-shadow: 0 26px 80px rgba(0, 0, 0, .38);
    transition: opacity 180ms ease, transform 220ms ease;
}

.wt-lightbox__image.is-ready {
    opacity: 1;
    transform: scale(1);
}

.wt-lightbox__arrow {
    position: absolute;
    top: 50%;
    display: grid;
    place-items: center;
    width: 46px;
    height: 58px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 15px;
    background: rgba(255, 255, 255, .065);
    color: #fff;
    cursor: pointer;
    transform: translateY(-50%);
    transition: background-color 150ms ease, border-color 150ms ease;
}

.wt-lightbox__arrow[hidden] {
    display: none;
}

.wt-lightbox__arrow:hover {
    border-color: rgba(255, 255, 255, .24);
    background: rgba(255, 255, 255, .14);
}

.wt-lightbox__arrow--prev {
    left: 8px;
}

.wt-lightbox__arrow--next {
    right: 8px;
}

.wt-lightbox__footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 30px;
    color: rgba(255, 255, 255, .62);
    font-family: 'Outfit', sans-serif;
    font-size: .75rem;
    letter-spacing: .025em;
    pointer-events: none;
}

.wt-lightbox__footer span::after {
    content: "";
    display: inline-block;
    width: 18px;
    height: 1px;
    margin-left: 14px;
    vertical-align: middle;
    background: rgba(255, 255, 255, .24);
}

.wt-lightbox__footer strong {
    min-width: 44px;
    color: #fff;
    font-size: .72rem;
    font-variant-numeric: tabular-nums;
    font-weight: 700;
    text-align: center;
}

body.wt-lightbox-open {
    overflow: hidden;
}

body.wt-lightbox-delete-confirm-open #wtPauseConfirmBackdrop {
    z-index: 1000001 !important;
}

@media (max-width: 700px) {
    .wt-lightbox__shell {
        padding: 10px 10px 12px;
    }

    .wt-lightbox__actions {
        gap: 5px;
    }

    .wt-lightbox__action {
        width: 40px;
        height: 40px;
        border-radius: 12px;
    }

    .wt-lightbox__stage {
        padding: 10px 0 8px;
    }

    .wt-lightbox__image {
        max-height: calc(100vh - 126px);
        max-height: calc(100dvh - 126px);
    }

    .wt-lightbox__arrow {
        top: auto;
        bottom: 10px;
        width: 42px;
        height: 42px;
        border-radius: 50%;
        background: rgba(20, 16, 19, .58);
        transform: none;
    }

    .wt-lightbox__arrow--prev {
        left: 10px;
    }

    .wt-lightbox__arrow--next {
        right: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .wt-lightbox,
    .wt-lightbox__image,
    .wt-lightbox__action,
    .wt-lightbox__arrow {
        transition: none;
    }
}
