/* ========================================================
   MODALS.CSS — estilos globales de todos los modales Nearby
======================================================== */

/* Fondo oscuro para cualquier modal */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 3000;
}

/* Caja base de modal */
.modal {
    width: 100%;
    max-width: 480px;
    background: #101010;
    border-radius: 18px;
    padding: 16px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 0 30px rgba(0, 0, 0, .8);
}

/* HEADER */
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.modal-title {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}

.close-btn {
    background: none;
    border: none;
    color: #aaa;
    font-size: 22px;
    cursor: pointer;
}

/* =======================================================
   LOGIN
======================================================= */

#sessionOverlay .session-modal-card {
    background: radial-gradient(circle at top left, #252525 0, #050505 55%, #000);
    border-radius: 18px;
    padding: 16px;
}

.session-field label {
    font-size: 12px;
    color: #ccc;
}

.pass-wrapper {
    display: flex;
    align-items: center;
    background: #121212;
    border: 1px solid #333;
    border-radius: 10px;
    padding-right: 4px;
}

.pass-wrapper input {
    flex: 1;
    border: none;
    background: transparent;
    color: #fff;
    padding: 10px;
    outline: none;
}

.toggle-pass-btn {
    background: none;
    border: none;
    cursor: pointer;
}

/* --- OJO SVG --- */
.eye-icon {
    width: 22px;
    height: 22px;
}

.eye-icon path,
.eye-icon circle {
    stroke: #ccc;
    fill: none;
}

/* Mostrar ojo abierto por defecto */
.eye-open {
    display: block;
}

.eye-closed {
    display: none;
}

/* =======================================================
   MI PERFIL — ESTILO PREMIUM
======================================================= */

.profile-sheet-header {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 20px;
}

/* FOTO PRINCIPAL */

.profile-avatar-big {
    position: relative;
    width: 100%;
    height: 52vh;
    max-height: 520px;
    overflow: hidden;
    border-radius: 22px;
    padding: 4px;

    background: linear-gradient(
        135deg,
        #ffcc00,
        #ff2e63,
        #08d9d6
    );

    box-shadow: 0 10px 35px rgba(0,0,0,0.6);
}

.profile-avatar-big img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 18px;
}

/* GRADIENTE SOBRE FOTO */

.profile-avatar-big::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.85) 0%,
        rgba(0,0,0,0.55) 35%,
        transparent 70%
    );
    pointer-events: none;
}

/* CONTENEDOR INFO */

.profile-info-container {
    margin-top: -80px;
    padding: 22px;
    border-radius: 22px;

    background: rgba(18,18,18,0.85);
    backdrop-filter: blur(12px);

    border: 1px solid rgba(255,255,255,0.05);

    box-shadow: 0 10px 40px rgba(0,0,0,0.6);
}

/* BOTÓN EDITAR FOTO */

.avatar-edit-btn {
    position: absolute;
    bottom: 16px;
    right: 16px;

    width: 46px;
    height: 46px;

    background: #fff;
    border: 2px solid #ffcc00;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;

    z-index: 10;

    box-shadow: 0 8px 22px rgba(0,0,0,0.45);

    transition: all .2s ease;
}

.avatar-edit-btn:hover {
    transform: scale(1.08);
}

/* NOMBRE + EDAD */

.profile-name-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.profile-name {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    letter-spacing: .3px;
}

.profile-age-pill {
    background: rgba(255,255,255,0.08);
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 13px;
    color: #ddd;
}

/* STATUS */

.profile-status-line {
    font-size: 13px;
    margin-top: 6px;
    color: #aaa;
}

/* SECCIONES */

.profile-section {
    margin-top: 22px;
    padding-top: 14px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.profile-section-title {
    font-size: 14px;
    font-weight: 700;
    color: #ffcc00;
    margin-bottom: 8px;
    letter-spacing: .3px;
}

/* INPUTS */

.input-std {
    width: 100%;
    padding: 12px 14px;

    border-radius: 12px;

    background: #161616;

    border: 1px solid #2a2a2a;

    color: #fff;

    margin-bottom: 10px;

    font-size: 14px;

    transition: border .2s ease;
}

.input-std:focus {
    border: 1px solid #ffcc00;
    outline: none;
}

/* BOTÓN PRINCIPAL */

.btn-primary {
    width: 100%;
    background: linear-gradient(
        135deg,
        #ffcc00,
        #ff9f1c
    );

    color: #000;

    font-size: 15px;
    font-weight: 800;

    border-radius: 14px;

    padding: 14px;

    border: none;

    margin-top: 14px;

    cursor: pointer;

    box-shadow: 0 6px 18px rgba(255,204,0,0.35);

    transition: all .2s ease;
}

.btn-primary:hover {
    transform: translateY(-1px);
}

/* ZONA PELIGRO */

.danger-zone {
    background: rgba(255,59,48,0.06);
    border: 1px solid rgba(255,59,48,0.3);

    padding: 16px;
    margin-top: 26px;

    border-radius: 16px;
}

.profile-section-text {
    color: #ffb3b3;
    margin-bottom: 12px;
    font-size: 13px;
}

/* BOTÓN ELIMINAR */

.btn-danger {
    width: 100%;

    background: rgba(255,59,48,0.12);

    border: 1px solid rgba(255,59,48,0.4);

    padding: 12px;

    color: #ffb3b3;

    font-weight: 700;

    border-radius: 12px;

    cursor: pointer;

    transition: all .2s ease;
}

.btn-danger:hover {
    background: rgba(255,59,48,0.25);
}

/* =======================================================
   BUZON
======================================================= */
/* =======================================================
   BUZÓN ESTILO GRINDR - ALTURA COMPLETA
======================================================= */

#inboxModal .modal {
    width: 100%;
    max-width: 420px;
    background: #101010;
    border-radius: 18px;
    padding: 0;
    height: 100vh; /* ocupa toda la ventana */
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

#inboxModal .modal-header {
    background: #111;
    padding: 14px;
    border-bottom: 1px solid #222;
    flex-shrink: 0;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
}

.inbox-list {
    flex: 1;
    overflow-y: auto;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    scroll-behavior: smooth; /* scroll suave al final */
}

.inbox-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 14px;
    background: #181818;
    cursor: pointer;
    transition: background .15s;
}

.inbox-item:hover {
    background: #222;
}

.inbox-avatar {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    overflow: hidden;
    background: #222;
    flex-shrink: 0;
}

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

.inbox-main {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.inbox-name {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
}

.inbox-last {
    font-size: 12px;
    color: #bbb;
}

.inbox-meta {
    text-align: right;
    font-size: 11px;
    color: #aaa;
}

.inbox-count {
    background: #ff3b30;
    padding: 2px 6px;
    border-radius: 999px;
    font-size: 11px;
    color: #fff;
}

.inbox-item.unread .inbox-last {
    font-weight: 600;
    color: #fff;
}

/* Input de mensaje */
.inbox-input {
    padding: 10px 14px;
    border-top: 1px solid #222;
    background: #111;
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.inbox-input input {
    flex: 1;
    padding: 10px;
    border-radius: 12px;
    border: none;
    outline: none;
    background: #222;
    color: #fff;
}

.inbox-input button {
    background: #ff3b30;
    border: none;
    padding: 10px 14px;
    border-radius: 12px;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    transition: background .15s;
}

.inbox-input button:hover {
    background: #e03228;
}

/* =======================================================
   CHAT (Privado + Público)
======================================================= */

.chat-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .80);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9000;
}

.chat-window {
    width: 100%;
    max-width: 480px;
    height: 100%;
    background: #0a0a0a;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* HEADER CHAT */
.chat-header {
    height: 56px;
    background: #111;
    display: flex;
    align-items: center;
    padding: 0 12px;
    gap: 10px;
    border-bottom: 1px solid #222;
    flex-shrink: 0;
}

.chat-icon-btn-simple {
    background: none;
    border: none;
    color: #ffcc00;
    font-size: 20px;
    cursor: pointer;
}

/* Avatar en la cabecera del chat */
.chat-header-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

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

.chat-header-name {
    color: #fff;
    font-size: 15px;
    font-weight: 700;
}

.chat-header-status {
    color: #aaa;
    font-size: 12px;
}

/* ZONA DE MENSAJES */
.chat-body {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden !important;
    padding: 14px 10px;
    background: #050505;
}

/* ===============================
   CHAT PRIVADO — ESTILO PRO MODERNO
================================== */

/* CONTENEDOR GENERAL DE LOS MENSAJES */
.chat-body {
    flex: 1;
    padding: 12px 10px;
    overflow-y: auto;
    overflow-x: hidden !important;
    background: #050505;
}

/* FILA DE MENSAJE */
.msg-row {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
    align-items: flex-start;
    padding: 0 6px;
}

/* TUS MENSAJES (DERECHA) */
.msg-row.me {
    flex-direction: row-reverse;
    justify-content: flex-end;
}

/* AVATAR */
.msg-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

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

/* CONTENEDOR DEL MENSAJE */
.msg-body {
    max-width: 72%;
    display: flex;
    flex-direction: column;
}

/* NOMBRE + HORA */
.msg-top {
    font-size: 11px;
    color: #999;
    margin-bottom: 4px;
}

.msg-row.me .msg-top {
    text-align: right;
}

/* BURBUJA — MENSAJE DE OTRO */
.msg-text {
    background: #181818;
    color: #fff;
    padding: 10px 14px;
    border-radius: 16px;
    font-size: 14px;
    line-height: 1.35;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .5);
    max-width: 100%;
    word-break: break-word;
}

/* BURBUJA — TU MENSAJE */
.msg-row.me .msg-text {
    background: linear-gradient(135deg, #ffcc00, #ff9f1c);
    color: #000;
    border-radius: 16px 16px 4px 16px;
}

/* ESTADO (âœ“ enviado / âœ“âœ“ visto) */
.msg-status {
    font-size: 10px;
    margin-top: 2px;
    opacity: .85;
    align-self: flex-end;
}

.msg-status .sent {
    color: #777;
}

.msg-status .seen {
    color: #00e676;
    font-weight: 700;
}

/* BOTÓN BORRAR MENSAJE */
.msg-delete-btn {
    background: none;
    border: none;
    cursor: pointer;
    opacity: 0;
    transition: opacity .2s;
    margin-top: 4px;
}

.msg-row.me:hover .msg-delete-btn {
    opacity: 1;
}

.msg-delete-btn svg {
    stroke: #f55;
}

/* IMÁGENES DENTRO DEL CHAT */
.msg-image {
    max-width: 75%;
    border-radius: 14px;
    margin-top: 6px;
    box-shadow: 0 0 10px rgba(0, 0, 0, .6);
    cursor: pointer;
}

.msg-row.me .msg-image {
    margin-left: auto;
}

/* INPUT DEL CHAT */
.chat-footer {
    padding: 12px;
    background: #111;
    border-top: 1px solid #222;
}

.chat-input-row {
    background: #181818;
    border-radius: 999px;
    border: 1px solid #333;
    padding: 8px 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.chat-input {
    flex: 1;
    background: transparent;
    border: none;
    color: #fff;
    outline: none;
    font-size: 14px;
}

.chat-input::placeholder {
    color: #777;
}

.chat-send-btn {
    background: #ffcc00;
    border: none;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: #000;
    font-size: 20px;
    font-weight: 900;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px rgba(255, 204, 0, 0.6);
}

.chat-send-btn:active {
    transform: scale(0.92);
}

/* FOOTER CHAT */
.chat-footer {
    background: #111;
    padding: 12px;
    border-top: 1px solid #222;
    flex-shrink: 0;
}

.chat-input-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.chat-input {
    flex: 1;
    background: #181818;
    border: 1px solid #333;
    padding: 12px 16px;
    border-radius: 20px;
    color: #fff;
    font-size: 14px;
}

.chat-send-btn {
    background: #ffcc00;
    border: none;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: #000;
    font-size: 18px;
    cursor: pointer;
    font-weight: 900;
}

/* =======================================================
   HISTORIAS
======================================================= */

#storiesModal .modal {
    padding: 0;
}

.stories-list {
    padding: 10px;
}

/* =======================================================
   VISOR HISTORIA FULLSCREEN
======================================================= */

.story-viewer-modal {
    background: #000;
    padding: 0;
    border-radius: 0;
    max-width: 480px;
}

#storyProgressBar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, .2);
}

#storyProgressFill {
    height: 4px;
    width: 0%;
    background: #ffcc00;
}

.story-media {
    max-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.story-close {
    position: absolute;
    top: 10px;
    right: 10px;
}

/* =======================================================
   IMAGE VIEWER
======================================================= */

.img-viewer-modal {
    background: transparent;
    box-shadow: none;
    padding: 0;
}

.img-viewer-img {
    max-width: 100%;
    max-height: 85vh;
    border-radius: 14px;
}

.img-viewer-close {
    position: absolute;
    top: 20px;
    right: 20px;
}


/* ============================================================
   CHAT PRIVADO — ESTILO PRO (ARREGLA BURBUJAS Y AVATARES)
   ============================================================ */
/* Tus mensajes alineados a la derecha */
.msg-row.me {
    flex-direction: row-reverse;
    justify-content: flex-end;
}

/* Avatar */
.msg-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

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

/* Encabezado (nombre + hora) */
.msg-top {
    font-size: 11px;
    color: #bbb;
    margin-bottom: 3px;
}

.msg-row.me .msg-top {
    text-align: right;
}

/* Burbuja cuando es TU mensaje */
.msg-row.me .msg-text {
    background: #ffcc00;
    color: #000;
    border-radius: 16px 16px 4px 16px;
}

/* Estados âœ“ Enviado / âœ“âœ“ Visto */
.msg-status {
    font-size: 11px;
    margin-top: 4px;
    opacity: 0.9;
}

.msg-status .sent {
    color: #aaa;
}

.msg-status .seen {
    color: #00e676;
    font-weight: bold;
}

/* Botón de eliminar */
.msg-delete-btn {
    background: none;
    border: none;
    color: #f55;
    font-size: 12px;
    cursor: pointer;
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* IMÁGENES EN EL CHAT */
.msg-image {
    max-width: 70%;
    border-radius: 12px;
    margin-top: 6px;
    cursor: pointer;
    display: block;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
}

.msg-row.me .msg-image {
    margin-left: auto;
}

/* Fix scroll lateral */
.chat-body {
    overflow-x: hidden !important;
}


/* ============================================================
   CHAT PRIVADO — FIX HEADER VISUAL
   ============================================================ */

.chat-header-user {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

.chat-header-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.chat-header-name {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.chat-header-status {
    font-size: 12px;
    color: #ffcc00;
    opacity: .85;
    margin-top: -2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.chat-header-avatar {
    width: 42px !important;
    height: 42px !important;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

/* Botón secundario – estilo igualado al proyecto */
.btn-secondary,
.session-secondary-btn {
    width: 100%;
    background: #222;
    color: #ffcc00;
    font-size: 14px;
    font-weight: 700;
    border-radius: 12px;
    padding: 10px;
    border: 1px solid #555;
    margin-top: 10px;
    cursor: pointer;
    text-align: center;
}

/* Hover */
.btn-secondary:hover,
.session-secondary-btn:hover {
    background: #333;
}

/* Cuando está desactivado */
.btn-secondary:disabled,
.session-secondary-btn:disabled {
    opacity: 0.5;
    cursor: default;
}

/* MODAL DESTACADO – caja principal */
.modal-featured {
    max-width: 400px;
    background: #101010;
    border-radius: 18px;
    padding: 18px 20px;
    color: #fff;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.7);
    position: relative;
}

/* Texto principal */
.featured-text {
    margin: 10px 0;
    color: #ccc;
    font-size: 14px;
}

/* Caja del plan */
.featured-plan-box {
    background: #181818;
    border: 1px solid #333;
    padding: 12px;
    border-radius: 12px;
    margin: 12px 0;
}

.plan-title {
    font-size: 14px;
    color: #ddd;
}

.plan-price {
    font-size: 22px;
    font-weight: 700;
    margin-top: 6px;
    color: var(--accent);
}

/* BOTONES */
.btn-featured {
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    border: none;
}

.btn-hand {
    background: var(--accent);
    color: #000;
}

.btn-hand:hover {
    background: #ffd933;
}

.btn-paypal {
    background: #003087;
    color: #fff;
}

.btn-paypal:hover {
    background: #0047c0;
}

.btn-cancel {
    background: #222;
    color: #ccc;
    border: 1px solid #444;
}

.btn-cancel:hover {
    background: #333;
}

/* =========================
   MODAL USUARIOS BLOQUEADOS
========================= */

.blocked-users-list {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* ITEM */
.blocked-user-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;

    background: #0f0f0f;
    border-radius: 14px;

    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* AVATAR */
.blocked-user-avatar {
    width: 38px;
    /* ðŸ‘ˆ más pequeño */
    height: 38px;
    border-radius: 50%;
    overflow: hidden;
    background: #222;
    flex-shrink: 0;
}

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

/* NOMBRE */
.blocked-user-name {
    flex: 1;
    font-size: 14px;
    font-weight: 600;
    color: #fff;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* BOTÓN */
.blocked-user-btn {
    background: rgba(255, 204, 0, 0.15);
    color: #ffcc00;
    border: 1px solid rgba(255, 204, 0, 0.35);

    padding: 6px 10px;
    border-radius: 999px;

    font-size: 12px;
    font-weight: 700;
    cursor: pointer;

    transition: all .2s ease;
}

.blocked-user-btn:hover {
    background: #ffcc00;
    color: #000;
}

/* INDICADOR DE GRABACIÓN */
.recording-indicator {
    display: none;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #f55;
    margin-top: 6px;
}

.rec-dot {
    width: 10px;
    height: 10px;
    background: #f55;
    border-radius: 50%;
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0% {
        opacity: 1;
    }

    50% {
        opacity: .3;
    }

    100% {
        opacity: 1;
    }
}

.chat-icon-btn-simple.recording {
    background: #f55;
    color: #fff;
}

.chat-audio-msg {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
}

.audio-play {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: #222;
    color: #fff;
    cursor: pointer;
}

.audio-bar {
    width: 140px;
    height: 5px;
    background: #333;
    border-radius: 6px;
    overflow: hidden;
}

.audio-progress {
    width: 0%;
    height: 100%;
    background: #ffcc00;
}

.audio-time {
    font-size: 12px;
    color: #aaa;
    min-width: 40px;
    text-align: right;
}

/* el audio lo ocultamos (controlamos con JS) */
.chat-audio-msg audio {
    display: none;
}

.msg-row.pending-audio {
    opacity: 0.7;
}

/* =========================
   SCROLL MODAL PERFIL
========================= */

.modal {
    scrollbar-width: thin;
    /* Firefox */
    scrollbar-color: rgba(255, 255, 255, 0.25) transparent;
}

/* Chrome / Edge / Safari */
.modal::-webkit-scrollbar {
    width: 6px;
}

.modal::-webkit-scrollbar-track {
    background: transparent;
}

.modal::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.25);
    border-radius: 10px;
}

.modal::-webkit-scrollbar-thumb:hover {
    background-color: rgba(255, 255, 255, 0.45);
}

/* =====================================================
   EDITAR PERFIL PREMIUM MATCHBOY
===================================================== */
#profileModal.profile-premium-backdrop{
  background: radial-gradient(circle at 20% 0%, rgba(255,204,0,.12), transparent 32%),
              radial-gradient(circle at 90% 10%, rgba(255,43,214,.12), transparent 30%),
              rgba(0,0,0,.88);
  backdrop-filter: blur(8px);
}

#profileModal .profile-premium-modal{
  width: min(520px, 94vw);
  max-height: 92vh;
  padding: 0;
  overflow: hidden;
  border-radius: 26px;
  background: linear-gradient(180deg, #151515 0%, #0b0b0f 100%);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 28px 90px rgba(0,0,0,.72);
}

#profileModal .modal-header{
  position: sticky;
  top: 0;
  z-index: 5;
  padding: 15px 18px;
  margin: 0;
  background: rgba(8,8,10,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

#profileModal .modal-title{
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -.02em;
  background: linear-gradient(90deg, #00e7ff, #ff2bd6, #ffcc00);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

#profileModal .close-btn{
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  color: #d1d5db;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 25px;
  line-height: 1;
}

#profileModal .profile-sheet-header,
#profileModal #profileForm,
#profileModal .danger-zone,
#profileModal #myIdHint{
  margin-left: 16px;
  margin-right: 16px;
}

#profileModal .profile-sheet-header{
  margin-top: 16px;
  padding: 14px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.025));
  border: 1px solid rgba(255,255,255,.08);
}

#profileModal .profile-avatar-big{
  height: 42vh;
  min-height: 280px;
  max-height: 430px;
  border-radius: 24px;
  background: linear-gradient(135deg, #ffcc00, #ff2e63, #08d9d6);
  box-shadow: 0 18px 45px rgba(0,0,0,.55);
}

#profileModal .profile-avatar-big img{
  border-radius: 20px;
}

#profileModal .avatar-edit-btn{
  width: auto;
  min-width: 96px;
  height: 40px;
  right: 14px;
  bottom: 14px;
  padding: 0 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffcc00, #ff9f1c);
  color: #000;
  font-weight: 900;
  border: 0;
}

#profileModal .profile-main-info{
  margin-top: 12px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(0,0,0,.28);
  border: 1px solid rgba(255,255,255,.06);
}

#profileModal .profile-name{
  font-size: 24px;
}

#profileModal .profile-section{
  margin-top: 16px;
  padding: 16px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.08);
  background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.025));
}

#profileModal .profile-section-title{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffcc00;
  font-size: 15px;
  font-weight: 900;
  margin-bottom: 12px;
}

#profileModal .profile-section-title::before{
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00e7ff, #ff2bd6);
  box-shadow: 0 0 12px rgba(255,43,214,.7);
}

#profileModal label{
  display: block;
  margin: 10px 0 6px;
  color: #e5e7eb;
  font-size: 13px;
  font-weight: 750;
}

#profileModal .input-std,
#profileModal select.input-std{
  min-height: 44px;
  border-radius: 14px;
  background: #101217;
  border: 1px solid rgba(255,255,255,.10);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03);
}

#profileModal .input-std:focus,
#profileModal select.input-std:focus{
  border-color: #ffcc00;
  box-shadow: 0 0 0 3px rgba(255,204,0,.12);
}

#profileModal select.input-std{
  appearance: auto;
  cursor: pointer;
}

#profileModal .btn-primary{
  margin: 18px 16px 4px;
  width: calc(100% - 32px);
  border-radius: 16px;
  padding: 15px;
  background: linear-gradient(135deg, #ffcc00, #ff9f1c);
  box-shadow: 0 12px 28px rgba(255,204,0,.26);
}

#profileModal .danger-zone{
  margin-bottom: 16px;
  background: rgba(255,59,48,.08);
  border-color: rgba(255,59,48,.22);
}

#profileModal .profile-photo-warning{
  border-radius: 14px;
  padding: 9px 10px;
  background: rgba(255,204,0,.10);
  border: 1px solid rgba(255,204,0,.20);
}

@media (max-width: 520px){
  #profileModal .profile-premium-modal{
    width: 96vw;
    max-height: 94vh;
    border-radius: 22px;
  }
  #profileModal .profile-sheet-header,
  #profileModal #profileForm,
  #profileModal .danger-zone,
  #profileModal #myIdHint{
    margin-left: 10px;
    margin-right: 10px;
  }
  #profileModal .profile-avatar-big{
    min-height: 250px;
    height: 38vh;
  }
}


/* ==========================================================
   MATCHBOY PERFIL PUBLICO PRO V2
   Ordena el perfil publico y el album privado.
   ========================================================== */
#viewProfileModal{
  position:fixed !important;
  inset:0 !important;
  z-index:1000002 !important;
  display:none;
  align-items:flex-start !important;
  justify-content:center !important;
  padding:10px 8px 90px !important;
  overflow-y:auto !important;
  overflow-x:hidden !important;
  background:radial-gradient(circle at 50% 0%,rgba(124,60,255,.24),transparent 42%),rgba(0,0,0,.88) !important;
  backdrop-filter:blur(10px) !important;
  -webkit-overflow-scrolling:touch !important;
}

#viewProfileContent{
  width:min(450px,96vw) !important;
  max-width:450px !important;
  margin:0 auto 80px !important;
  border-radius:30px !important;
  overflow:hidden !important;
  background:radial-gradient(circle at 12% 0%,rgba(37,167,255,.14),transparent 34%),radial-gradient(circle at 88% 0%,rgba(255,43,214,.14),transparent 34%),linear-gradient(180deg,#171925,#080911) !important;
  border:1px solid rgba(255,255,255,.10) !important;
  box-shadow:0 28px 90px rgba(0,0,0,.78), inset 0 1px 0 rgba(255,255,255,.06) !important;
  color:#fff !important;
}

#viewProfileContent .view-profile-pro-head{
  position:sticky !important;
  top:0 !important;
  z-index:20 !important;
  margin:0 !important;
  padding:14px 16px !important;
  background:rgba(10,12,20,.92) !important;
  backdrop-filter:blur(14px) !important;
  border-bottom:1px solid rgba(255,255,255,.08) !important;
}

#viewProfileContent .modal-title{
  font-size:19px !important;
  font-weight:950 !important;
  letter-spacing:-.02em !important;
  background:linear-gradient(90deg,#00e7ff,#ff2bd6,#ffcc00);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent !important;
}

#viewProfileContent .view-profile-close{
  width:40px !important;
  height:40px !important;
  border-radius:16px !important;
  background:rgba(255,255,255,.075) !important;
  border:1px solid rgba(255,255,255,.12) !important;
  color:#fff !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
}

.view-profile-pro-card{
  margin:14px !important;
  padding:14px !important;
  border-radius:28px !important;
  background:radial-gradient(circle at 18% 0%,rgba(255,204,0,.16),transparent 35%),radial-gradient(circle at 92% 8%,rgba(255,43,214,.16),transparent 38%),linear-gradient(145deg,rgba(255,255,255,.085),rgba(255,255,255,.035)) !important;
  border:1px solid rgba(255,255,255,.10) !important;
  box-shadow:0 18px 48px rgba(0,0,0,.45) !important;
}

.view-profile-hero{
  display:grid !important;
  grid-template-columns:104px 1fr !important;
  gap:14px !important;
  align-items:center !important;
}

.view-profile-photo{
  width:104px !important;
  height:104px !important;
  padding:3px !important;
  border:0 !important;
  border-radius:24px !important;
  background:linear-gradient(135deg,#25a7ff,#7c3cff,#ff2bd6,#ffcc00) !important;
  box-shadow:0 18px 38px rgba(0,0,0,.48),0 0 28px rgba(124,60,255,.20) !important;
  overflow:hidden !important;
  cursor:pointer !important;
  flex-shrink:0 !important;
}

.view-profile-photo img{
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  display:block !important;
  border-radius:20px !important;
  background:#111827 !important;
}

.view-profile-info{min-width:0 !important;}
.view-profile-name-line{display:flex !important;align-items:center !important;gap:8px !important;min-width:0 !important;}
.view-profile-name{font-size:22px !important;line-height:1.05 !important;font-weight:950 !important;color:#fff !important;letter-spacing:-.03em !important;white-space:nowrap !important;overflow:hidden !important;text-overflow:ellipsis !important;}
.view-profile-verified{width:22px !important;height:22px !important;min-width:22px !important;display:inline-flex !important;align-items:center !important;justify-content:center !important;border-radius:50% !important;background:linear-gradient(135deg,#25a7ff,#7c3cff) !important;color:#fff !important;box-shadow:0 0 18px rgba(37,167,255,.36) !important;}
.view-profile-verified svg{width:13px !important;height:13px !important;stroke:#fff !important;}

.view-profile-pills{display:flex !important;align-items:center !important;flex-wrap:wrap !important;gap:8px !important;margin-top:9px !important;}
.view-profile-pill.age{padding:7px 10px !important;border-radius:999px !important;font-size:12px !important;font-weight:950 !important;color:#000 !important;background:linear-gradient(135deg,#ffcc00,#ff8a00) !important;box-shadow:0 8px 20px rgba(255,204,0,.23) !important;}

#viewProfileContent .profile-online-pill{display:inline-flex !important;align-items:center !important;gap:7px !important;padding:7px 10px !important;border-radius:999px !important;font-size:12px !important;font-weight:900 !important;border:1px solid rgba(255,255,255,.10) !important;background:rgba(255,255,255,.06) !important;}
#viewProfileContent .profile-online-pill.online{color:#99ffd0 !important;border-color:rgba(34,231,107,.28) !important;background:rgba(34,231,107,.10) !important;}
#viewProfileContent .profile-online-dot{width:9px !important;height:9px !important;border-radius:50% !important;background:#22e76b !important;box-shadow:0 0 12px #22e76b !important;}
#viewProfileContent .profile-online-pill.offline .profile-online-dot{background:#7b8192 !important;box-shadow:none !important;}

.view-profile-meta{margin-top:9px !important;color:#d8def5 !important;font-size:14px !important;font-weight:850 !important;line-height:1.35 !important;}
.view-profile-status{margin-top:5px !important;color:#f1e9ff !important;font-size:14px !important;font-weight:850 !important;line-height:1.35 !important;}

.view-profile-actions{display:grid !important;grid-template-columns:1fr 1fr !important;gap:10px !important;margin-top:14px !important;}
.view-profile-actions-mini{grid-template-columns:1fr !important;}
.view-action-primary,.view-action-secondary{min-height:46px !important;border-radius:17px !important;border:1px solid rgba(255,255,255,.10) !important;font-size:14px !important;font-weight:950 !important;cursor:pointer !important;display:flex !important;align-items:center !important;justify-content:center !important;gap:7px !important;}
.view-action-primary{background:linear-gradient(135deg,#7c3cff,#ff2bd6) !important;color:#fff !important;box-shadow:0 13px 30px rgba(124,60,255,.32) !important;}
.view-action-secondary{background:rgba(255,255,255,.065) !important;color:#eef2ff !important;}
.view-action-primary:disabled{opacity:.58 !important;cursor:not-allowed !important;}
.view-action-primary:active,.view-action-secondary:active{transform:scale(.97) !important;}
.view-profile-premium-note{margin-top:12px;padding:10px 12px;border-radius:16px;background:rgba(255,204,0,.10);border:1px solid rgba(255,204,0,.18);color:#ffeaa5;font-size:12px;font-weight:800;}

#viewProfileContent .view-profile-section{margin:12px 14px !important;padding:15px !important;border-radius:22px !important;background:linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.025)) !important;border:1px solid rgba(255,255,255,.08) !important;box-shadow:0 10px 28px rgba(0,0,0,.26) !important;}
#viewProfileContent .profile-section-title{color:#fff !important;font-size:15px !important;font-weight:950 !important;letter-spacing:.01em !important;margin-bottom:10px !important;display:flex !important;align-items:center !important;gap:8px !important;}
#viewProfileContent .profile-section-title:before{content:"";width:8px;height:8px;border-radius:50%;background:linear-gradient(135deg,#25a7ff,#ff2bd6);box-shadow:0 0 12px rgba(255,43,214,.45);}
.view-profile-bio{color:#dce3f7 !important;font-size:15px !important;line-height:1.55 !important;word-break:break-word !important;}
.view-profile-fields{display:grid !important;gap:9px !important;}
.view-profile-fields > div{display:flex !important;align-items:center !important;justify-content:space-between !important;gap:10px !important;padding:11px 12px !important;border-radius:15px !important;background:rgba(0,0,0,.20) !important;border:1px solid rgba(255,255,255,.06) !important;color:#dce3f7 !important;font-size:13px !important;}
.view-profile-fields b{color:#fff !important;}
.view-profile-fields a{color:#72d5ff !important;font-weight:850 !important;text-decoration:none !important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.view-profile-empty{padding:12px;border-radius:15px;background:rgba(0,0,0,.18);border:1px solid rgba(255,255,255,.06);color:#9ca3af;font-size:13px;}

.view-private-section{background:radial-gradient(circle at 12% 0%,rgba(255,204,0,.13),transparent 33%),linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.025)) !important;border-color:rgba(255,204,0,.16) !important;}
.view-private-title-row{display:flex !important;align-items:center !important;justify-content:space-between !important;gap:10px !important;margin-bottom:8px !important;}
.view-private-subtitle{color:#b8bed3;font-size:12px;font-weight:750;margin-top:-3px;}
.view-private-lock{width:38px;height:38px;min-width:38px;border-radius:15px;background:linear-gradient(135deg,#ffcc00,#ff8a00);color:#000;display:flex;align-items:center;justify-content:center;box-shadow:0 10px 24px rgba(255,204,0,.22);}
.view-private-grid{display:grid !important;grid-template-columns:repeat(3,1fr) !important;gap:10px !important;}
.view-private-grid > div:not(.private-album-empty){position:relative !important;aspect-ratio:1/1 !important;border-radius:18px !important;padding:2px !important;background:linear-gradient(135deg,rgba(255,204,0,.85),rgba(124,60,255,.55),rgba(255,43,214,.72)) !important;box-shadow:0 12px 28px rgba(0,0,0,.38) !important;overflow:hidden !important;}
.view-private-grid img{width:100% !important;height:100% !important;min-height:0 !important;max-height:none !important;object-fit:cover !important;border-radius:16px !important;display:block !important;cursor:pointer !important;filter:saturate(1.06) contrast(1.03) !important;}
.private-album-empty{grid-column:1 / -1 !important;padding:16px !important;border-radius:18px !important;background:rgba(0,0,0,.24) !important;border:1px dashed rgba(255,255,255,.13) !important;color:#cfd6ea !important;font-size:13px !important;line-height:1.45 !important;}
.private-album-locked-preview{background:linear-gradient(135deg,rgba(124,60,255,.24),rgba(255,43,214,.16)) !important;border-color:rgba(255,255,255,.12) !important;}
.view-private-locked{margin-top:12px !important;padding:16px !important;border-radius:20px !important;background:radial-gradient(circle at top left,rgba(255,204,0,.18),transparent 38%),rgba(0,0,0,.24) !important;border:1px solid rgba(255,204,0,.18) !important;color:#fff !important;box-shadow:inset 0 1px 0 rgba(255,255,255,.05) !important;}
.view-private-locked-title{font-size:14px;color:#fff;font-weight:850;margin-bottom:4px;}
.view-private-locked-text{font-size:13px;color:#cdd4e8;margin-bottom:10px;line-height:1.4;}
.view-private-access-btn{min-height:42px !important;border-radius:999px !important;background:linear-gradient(135deg,#ffcc00,#ff8a00) !important;color:#000 !important;font-weight:950 !important;padding:9px 15px !important;border:0 !important;box-shadow:0 12px 24px rgba(255,204,0,.22) !important;cursor:pointer !important;}
.view-private-access-btn:disabled{opacity:.70 !important;cursor:default !important;}
.view-private-timer{margin-left:8px;font-size:12px;color:#ffcc00;display:none;font-weight:900;}
.view-private-manage{margin:12px 14px 18px !important;padding:15px !important;border-radius:22px !important;background:linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.025)) !important;border:1px solid rgba(255,255,255,.08) !important;color:#fff;}
.view-private-manage-title{font-weight:950;margin-bottom:10px;}
#btnPrivateUpload{min-height:40px;border-radius:999px;border:0;background:linear-gradient(135deg,#25a7ff,#7c3cff);color:#fff;font-weight:950;padding:9px 14px;cursor:pointer;}
.view-private-upload-status{margin-top:8px;font-size:12px;color:#aab2c9;}
#btnDeleteAllPrivate{margin-top:10px;min-height:40px;border-radius:999px;background:rgba(255,59,95,.16);color:#ffd4dc;border:1px solid rgba(255,59,95,.35);font-weight:900;padding:9px 14px;cursor:pointer;}

#imgViewerOverlay{z-index:1000005 !important;background:radial-gradient(circle at 50% 10%,rgba(124,60,255,.20),transparent 42%),rgba(0,0,0,.92) !important;backdrop-filter:blur(10px) !important;touch-action:pan-y !important;}
#imgViewerInner{width:min(520px,96vw) !important;height:min(82vh,780px) !important;display:flex !important;align-items:center !important;justify-content:center !important;padding:12px !important;border-radius:30px !important;background:linear-gradient(135deg,rgba(255,204,0,.16),rgba(124,60,255,.10),rgba(255,43,214,.13)) !important;border:1px solid rgba(255,255,255,.14) !important;box-shadow:0 28px 90px rgba(0,0,0,.82) !important;}
#imgViewerImg{max-width:100% !important;max-height:100% !important;width:auto !important;height:auto !important;object-fit:contain !important;border-radius:24px !important;box-shadow:0 18px 56px rgba(0,0,0,.62) !important;user-select:none !important;-webkit-user-select:none !important;-webkit-user-drag:none !important;transition:transform .18s ease, opacity .18s ease !important;}
#imgViewerImg.mb-swipe-left{transform:translateX(-32px) scale(.985) !important;opacity:.72 !important;}
#imgViewerImg.mb-swipe-right{transform:translateX(32px) scale(.985) !important;opacity:.72 !important;}

@media(max-width:640px){
  #viewProfileModal{padding:8px 6px 90px !important;}
  #viewProfileContent{width:calc(100vw - 12px) !important;border-radius:26px !important;}
  .view-profile-pro-card{margin:10px !important;padding:13px !important;border-radius:24px !important;}
  .view-profile-hero{grid-template-columns:92px 1fr !important;gap:12px !important;}
  .view-profile-photo{width:92px !important;height:92px !important;border-radius:22px !important;}
  .view-profile-photo img{border-radius:19px !important;}
  .view-profile-name{font-size:20px !important;}
  .view-profile-actions{grid-template-columns:1fr !important;}
  #viewProfileContent .view-profile-section{margin:10px !important;padding:13px !important;}
  .view-private-grid{gap:8px !important;}
  #imgViewerInner{width:96vw !important;height:78vh !important;border-radius:24px !important;}
}



/* ==========================================================
   FIX ALBUM PRIVADO - MARGENES Y FOTOS COMPLETAS
   ========================================================== */

/* Caja del album con mejor respiracion */
#privateSection,
.profile-private-section,
.private-album-section{
  padding:18px !important;
  margin:14px !important;
  border-radius:24px !important;
  overflow:hidden !important;
}

/* Contenedor de fotos con margen interno */
#privatePhotosView,
.profile-photos-grid,
.private-photos-grid,
.private-album-grid{
  width:100% !important;
  box-sizing:border-box !important;
  padding:10px !important;
  gap:12px !important;
  display:grid !important;
  grid-template-columns:repeat(3, minmax(0, 1fr)) !important;
  border-radius:22px !important;
  background:rgba(0,0,0,.18) !important;
  border:1px solid rgba(255,255,255,.07) !important;
}

/* Cada foto con marco elegante y sin pegarse al borde */
#privatePhotosView > div,
.profile-photos-grid > div,
.private-photos-grid > div,
.private-album-grid > div{
  position:relative !important;
  width:100% !important;
  aspect-ratio:1 / 1 !important;
  padding:4px !important;
  border-radius:20px !important;
  overflow:hidden !important;
  box-sizing:border-box !important;
  background:linear-gradient(135deg,#ffcc00,#7c3cff,#ff2bd6) !important;
  box-shadow:0 12px 28px rgba(0,0,0,.42) !important;
}

/* Imagen completa dentro del marco */
#privatePhotosView img,
.profile-photos-grid img,
.private-photos-grid img,
.private-album-grid img{
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  display:block !important;
  border-radius:16px !important;
  margin:0 !important;
  max-width:none !important;
  max-height:none !important;
}

/* Cuando el album esta bloqueado, que no se vea apretado */
.private-locked-box{
  margin:14px 0 0 !important;
  padding:18px !important;
  border-radius:22px !important;
  line-height:1.45 !important;
}

/* Boton de solicitud con margen correcto */
#btnPrivateAccess{
  margin-top:12px !important;
  width:auto !important;
  max-width:100% !important;
}

/* Visor de imagen: foto completa sin recortes */
#imgViewerInner{
  padding:18px !important;
  box-sizing:border-box !important;
}

#imgViewerImg{
  max-width:calc(100vw - 44px) !important;
  max-height:calc(100vh - 150px) !important;
  object-fit:contain !important;
}

/* Movil: mas aire sin romper la grilla */
@media(max-width:640px){
  #privateSection,
  .profile-private-section,
  .private-album-section{
    margin:12px !important;
    padding:14px !important;
  }

  #privatePhotosView,
  .profile-photos-grid,
  .private-photos-grid,
  .private-album-grid{
    padding:9px !important;
    gap:10px !important;
  }

  #privatePhotosView > div,
  .profile-photos-grid > div,
  .private-photos-grid > div,
  .private-album-grid > div{
    padding:3px !important;
    border-radius:18px !important;
  }

  #privatePhotosView img,
  .profile-photos-grid img,
  .private-photos-grid img,
  .private-album-grid img{
    border-radius:15px !important;
  }
}

/* Pantallas muy pequenas: 2 columnas para que no se aplasten */
@media(max-width:360px){
  #privatePhotosView,
  .profile-photos-grid,
  .private-photos-grid,
  .private-album-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
  }
}



/* ==========================================================
   FIX PERFIL COMPLETO + EDITAR PERFIL PRO
   Corrige cortes, scroll y aplica estilo premium al editor.
   ========================================================== */

/* Fondo de perfil publico y editor */
#viewProfileModal,
#profileViewModal,
.view-profile-modal,
#profileModal{
  position:fixed !important;
  inset:0 !important;
  width:100vw !important;
  height:100vh !important;
  max-height:100vh !important;
  display:none;
  align-items:flex-start !important;
  justify-content:center !important;
  overflow-y:auto !important;
  overflow-x:hidden !important;
  padding:10px 8px 110px !important;
  box-sizing:border-box !important;
  background:
    radial-gradient(circle at 20% 0%, rgba(37,167,255,.18), transparent 34%),
    radial-gradient(circle at 90% 8%, rgba(255,43,214,.18), transparent 34%),
    rgba(0,0,0,.88) !important;
  backdrop-filter:blur(10px) !important;
  -webkit-overflow-scrolling:touch !important;
}

#viewProfileModal[style*="display: flex"],
#viewProfileModal[style*="display:flex"],
#profileViewModal[style*="display: flex"],
#profileViewModal[style*="display:flex"],
.view-profile-modal[style*="display: flex"],
.view-profile-modal[style*="display:flex"],
#profileModal[style*="display: flex"],
#profileModal[style*="display:flex"],
#profileModal.active,
#profileModal.is-open{
  display:flex !important;
}

/* Caja principal: nunca cortar contenido */
#viewProfileModal .modal,
#profileViewModal .modal,
.view-profile-modal .modal,
#profileModal .modal,
#profileModal .profile-premium-modal{
  width:min(430px,96vw) !important;
  max-width:430px !important;
  min-height:auto !important;
  height:auto !important;
  max-height:none !important;
  overflow:visible !important;
  margin:0 auto 120px !important;
  padding:0 !important;
  border-radius:28px !important;
  background:
    radial-gradient(circle at 16% 0%, rgba(37,167,255,.14), transparent 34%),
    radial-gradient(circle at 90% 4%, rgba(255,43,214,.16), transparent 34%),
    linear-gradient(180deg,#171925,#080911) !important;
  border:1px solid rgba(255,255,255,.10) !important;
  box-shadow:0 28px 90px rgba(0,0,0,.78), inset 0 1px 0 rgba(255,255,255,.06) !important;
  color:#fff !important;
  box-sizing:border-box !important;
}

/* Header sticky bonito pero sin cortar */
#viewProfileModal .modal-header,
#profileViewModal .modal-header,
.view-profile-modal .modal-header,
#profileModal .modal-header{
  position:sticky !important;
  top:0 !important;
  z-index:30 !important;
  margin:0 !important;
  padding:14px 16px !important;
  border-radius:28px 28px 0 0 !important;
  background:rgba(10,12,20,.94) !important;
  backdrop-filter:blur(14px) !important;
  border-bottom:1px solid rgba(255,255,255,.08) !important;
}

#viewProfileModal .modal-title,
#profileViewModal .modal-title,
.view-profile-modal .modal-title,
#profileModal .modal-title{
  font-size:18px !important;
  font-weight:950 !important;
  letter-spacing:-.02em !important;
  background:linear-gradient(90deg,#00e7ff,#ff2bd6,#ffcc00) !important;
  -webkit-background-clip:text !important;
  background-clip:text !important;
  color:transparent !important;
}

#viewProfileModal .close-btn,
#profileViewModal .close-btn,
.view-profile-modal .close-btn,
#profileModal .close-btn{
  width:38px !important;
  height:38px !important;
  border-radius:16px !important;
  background:rgba(255,255,255,.075) !important;
  border:1px solid rgba(255,255,255,.12) !important;
  color:#fff !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  font-size:26px !important;
  line-height:1 !important;
}

/* ================================
   CABECERA PERFIL PUBLICO
================================ */
#viewProfileModal .profile-sheet-header,
#profileViewModal .profile-sheet-header,
.view-profile-modal .profile-sheet-header{
  margin:14px !important;
  padding:14px !important;
  border-radius:26px !important;
  display:grid !important;
  grid-template-columns:96px 1fr !important;
  gap:13px !important;
  align-items:center !important;
  min-height:auto !important;
  background:
    radial-gradient(circle at 18% 0%,rgba(255,204,0,.16),transparent 35%),
    radial-gradient(circle at 92% 8%,rgba(255,43,214,.19),transparent 36%),
    linear-gradient(145deg,rgba(255,255,255,.085),rgba(255,255,255,.035)) !important;
  border:1px solid rgba(255,255,255,.10) !important;
  box-shadow:0 18px 48px rgba(0,0,0,.45) !important;
  overflow:hidden !important;
}

#viewProfileModal .profile-avatar-big,
#profileViewModal .profile-avatar-big,
.view-profile-modal .profile-avatar-big{
  width:92px !important;
  height:92px !important;
  min-width:92px !important;
  max-width:92px !important;
  min-height:92px !important;
  max-height:92px !important;
  border-radius:22px !important;
  padding:3px !important;
  overflow:hidden !important;
  background:linear-gradient(135deg,#25a7ff,#7c3cff,#ff2bd6,#ffcc00) !important;
  box-shadow:0 16px 34px rgba(0,0,0,.45),0 0 24px rgba(124,60,255,.20) !important;
  position:relative !important;
}

#viewProfileModal .profile-avatar-big img,
#profileViewModal .profile-avatar-big img,
.view-profile-modal .profile-avatar-big img{
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  border-radius:18px !important;
  display:block !important;
}

#viewProfileModal .profile-info-container,
#profileViewModal .profile-info-container,
.view-profile-modal .profile-info-container{
  margin:0 !important;
  padding:0 !important;
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  min-width:0 !important;
}

#viewProfileModal .profile-name,
#profileViewModal .profile-name,
.view-profile-modal .profile-name{
  font-size:21px !important;
  line-height:1.05 !important;
  font-weight:950 !important;
}

/* Botones perfil publico en una fila */
#viewProfileModal .profile-actions,
#profileViewModal .profile-actions,
.view-profile-modal .profile-actions{
  grid-column:1 / -1 !important;
  display:grid !important;
  grid-template-columns:1fr 1fr !important;
  gap:10px !important;
  width:100% !important;
  margin-top:12px !important;
}

/* ================================
   EDITAR PERFIL CON MISMO ESTILO
================================ */
#profileModal .profile-sheet-header{
  margin:14px !important;
  padding:14px !important;
  border-radius:26px !important;
  display:grid !important;
  grid-template-columns:104px 1fr !important;
  gap:14px !important;
  align-items:center !important;
  background:
    radial-gradient(circle at 18% 0%,rgba(255,204,0,.16),transparent 35%),
    radial-gradient(circle at 92% 8%,rgba(255,43,214,.19),transparent 36%),
    linear-gradient(145deg,rgba(255,255,255,.085),rgba(255,255,255,.035)) !important;
  border:1px solid rgba(255,255,255,.10) !important;
  box-shadow:0 18px 48px rgba(0,0,0,.45) !important;
  overflow:hidden !important;
}

#profileModal .profile-avatar-col{
  width:104px !important;
  min-width:104px !important;
}

#profileModal .profile-avatar-big{
  width:104px !important;
  height:104px !important;
  min-width:104px !important;
  max-width:104px !important;
  min-height:104px !important;
  max-height:104px !important;
  border-radius:23px !important;
  padding:3px !important;
  background:linear-gradient(135deg,#25a7ff,#7c3cff,#ff2bd6,#ffcc00) !important;
  box-shadow:0 16px 34px rgba(0,0,0,.45),0 0 24px rgba(124,60,255,.20) !important;
  overflow:hidden !important;
}

#profileModal .profile-avatar-big img{
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  border-radius:19px !important;
}

#profileModal .avatar-edit-btn{
  position:absolute !important;
  right:6px !important;
  bottom:6px !important;
  width:auto !important;
  min-width:58px !important;
  height:30px !important;
  padding:0 9px !important;
  border-radius:999px !important;
  font-size:11px !important;
  font-weight:950 !important;
  background:linear-gradient(135deg,#ffcc00,#ff8a00) !important;
  color:#000 !important;
  border:0 !important;
  box-shadow:0 10px 22px rgba(255,204,0,.23) !important;
}

#profileModal .profile-photo-warning{
  margin-top:8px !important;
  padding:8px !important;
  font-size:11px !important;
  border-radius:13px !important;
  line-height:1.25 !important;
}

#profileModal .profile-main-info{
  margin:0 !important;
  padding:0 !important;
  min-width:0 !important;
  background:transparent !important;
  border:0 !important;
}

#profileModal .profile-name{
  font-size:21px !important;
  line-height:1.05 !important;
  font-weight:950 !important;
}

#profileModal .profile-status-line{
  margin-top:7px !important;
  color:#cdd4eb !important;
  font-size:13px !important;
  line-height:1.35 !important;
}

/* Formulario editar perfil */
#profileModal #profileForm{
  margin:0 !important;
  padding:0 14px 28px !important;
  box-sizing:border-box !important;
}

#profileModal .profile-section{
  margin:14px 0 !important;
  padding:15px !important;
  border-radius:22px !important;
  background:linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.025)) !important;
  border:1px solid rgba(255,255,255,.08) !important;
  box-shadow:0 10px 28px rgba(0,0,0,.26) !important;
}

#profileModal .profile-section-title{
  color:#fff !important;
  font-size:14px !important;
  font-weight:950 !important;
  margin-bottom:12px !important;
  display:flex !important;
  align-items:center !important;
  gap:8px !important;
}

#profileModal .profile-section-title:before{
  content:"" !important;
  width:8px !important;
  height:8px !important;
  border-radius:50% !important;
  background:linear-gradient(135deg,#25a7ff,#ff2bd6) !important;
  box-shadow:0 0 12px rgba(255,43,214,.45) !important;
}

#profileModal label{
  color:#e5e7eb !important;
  font-size:13px !important;
  font-weight:800 !important;
  margin:10px 0 6px !important;
}

#profileModal .input-std,
#profileModal select.input-std,
#profileModal textarea.input-std{
  width:100% !important;
  min-height:44px !important;
  box-sizing:border-box !important;
  border-radius:15px !important;
  background:#101217 !important;
  border:1px solid rgba(255,255,255,.10) !important;
  color:#fff !important;
  padding:12px 13px !important;
  margin-bottom:10px !important;
}

#profileModal textarea.input-std{
  min-height:92px !important;
  resize:vertical !important;
}

#profileModal .btn-primary{
  width:100% !important;
  margin:16px 0 0 !important;
  border-radius:17px !important;
  padding:15px !important;
  background:linear-gradient(135deg,#7c3cff,#ff2bd6) !important;
  color:#fff !important;
  box-shadow:0 14px 30px rgba(124,60,255,.30) !important;
}

#profileModal .danger-zone{
  margin:14px !important;
  padding:15px !important;
  border-radius:22px !important;
}

/* ================================
   SECCIONES PERFIL PUBLICO
================================ */
#viewProfileModal .profile-section,
#profileViewModal .profile-section,
.view-profile-modal .profile-section{
  margin:12px 14px !important;
  padding:15px !important;
  border-radius:22px !important;
  background:linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.025)) !important;
  border:1px solid rgba(255,255,255,.08) !important;
  box-shadow:0 10px 28px rgba(0,0,0,.26) !important;
  overflow:visible !important;
}

/* Album privado con aire y sin cortes */
#privateSection,
.profile-private-section,
.private-album-section{
  margin:12px 14px 22px !important;
  padding:16px !important;
  border-radius:24px !important;
  overflow:visible !important;
  min-height:auto !important;
}

.private-locked-box{
  margin:12px 0 0 !important;
  padding:16px !important;
  border-radius:20px !important;
  overflow:visible !important;
  line-height:1.45 !important;
}

/* Evitar que el bottom nav tape el final */
body:has(#viewProfileModal[style*="display: flex"]) .bottom-nav,
body:has(#viewProfileModal[style*="display:flex"]) .bottom-nav,
body:has(#profileModal[style*="display: flex"]) .bottom-nav,
body:has(#profileModal[style*="display:flex"]) .bottom-nav{
  z-index:1 !important;
}

/* PC */
@media(min-width:800px){
  #viewProfileModal .modal,
  #profileViewModal .modal,
  .view-profile-modal .modal,
  #profileModal .modal,
  #profileModal .profile-premium-modal{
    width:min(460px,94vw) !important;
    max-width:460px !important;
  }
}

/* Movil */
@media(max-width:640px){
  #viewProfileModal,
  #profileViewModal,
  .view-profile-modal,
  #profileModal{
    padding:8px 6px 120px !important;
  }

  #viewProfileModal .modal,
  #profileViewModal .modal,
  .view-profile-modal .modal,
  #profileModal .modal,
  #profileModal .profile-premium-modal{
    width:calc(100vw - 12px) !important;
    max-width:calc(100vw - 12px) !important;
    border-radius:26px !important;
    margin-bottom:130px !important;
  }

  #viewProfileModal .profile-sheet-header,
  #profileViewModal .profile-sheet-header,
  .view-profile-modal .profile-sheet-header{
    grid-template-columns:88px 1fr !important;
    gap:11px !important;
    padding:13px !important;
    margin:10px !important;
  }

  #viewProfileModal .profile-avatar-big,
  #profileViewModal .profile-avatar-big,
  .view-profile-modal .profile-avatar-big{
    width:86px !important;
    height:86px !important;
    min-width:86px !important;
    max-width:86px !important;
    min-height:86px !important;
    max-height:86px !important;
    border-radius:20px !important;
  }

  #profileModal .profile-sheet-header{
    grid-template-columns:92px 1fr !important;
    gap:12px !important;
    padding:13px !important;
    margin:10px !important;
  }

  #profileModal .profile-avatar-col{
    width:92px !important;
    min-width:92px !important;
  }

  #profileModal .profile-avatar-big{
    width:92px !important;
    height:92px !important;
    min-width:92px !important;
    max-width:92px !important;
    min-height:92px !important;
    max-height:92px !important;
    border-radius:21px !important;
  }

  .profile-name,
  #profileModal .profile-name{
    font-size:18px !important;
  }

  .profile-age-pill{
    font-size:11px !important;
    padding:5px 8px !important;
  }

  #viewProfileModal .profile-actions,
  #profileViewModal .profile-actions,
  .view-profile-modal .profile-actions{
    grid-template-columns:1fr 1fr !important;
  }

  #profileModal #profileForm{
    padding:0 10px 34px !important;
  }
}



/* =====================================================
   DESTACADO ACTIVO - ESTADO DEL PAQUETE
===================================================== */
#featuredModal .modal-featured{
  overflow-y:auto;
}

.featured-current-status{
  margin:12px 0 14px;
  padding:14px;
  border-radius:18px;
  background:
    radial-gradient(circle at 12% 0%, rgba(255,204,0,.22), transparent 42%),
    linear-gradient(135deg,#241b04,#101827);
  border:1px solid rgba(255,204,0,.38);
  box-shadow:0 16px 36px rgba(255,204,0,.10), inset 0 1px 0 rgba(255,255,255,.05);
  color:#fff;
}

.featured-current-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:5px 9px;
  border-radius:999px;
  background:#ffcc00;
  color:#000;
  font-size:11px;
  font-weight:950;
  margin-bottom:8px;
}

.featured-current-title{
  font-size:16px;
  font-weight:950;
  color:#fff;
  margin-bottom:10px;
}

.featured-current-dates{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
}

.featured-current-dates div{
  padding:10px;
  border-radius:14px;
  background:rgba(0,0,0,.24);
  border:1px solid rgba(255,255,255,.08);
}

.featured-current-dates span{
  display:block;
  color:#aeb4c7;
  font-size:11px;
  font-weight:800;
  margin-bottom:4px;
}

.featured-current-dates strong{
  display:block;
  color:#ffcc00;
  font-size:13px;
  line-height:1.3;
}

.featured-current-note{
  margin-top:10px;
  color:#d1d5db;
  font-size:12px;
  font-weight:800;
}

.featured-plan-grid{
  display:grid !important;
  gap:10px !important;
}

.featured-wallet-plan{
  position:relative;
  width:100% !important;
  padding:16px !important;
  border-radius:18px !important;
  border:1px solid rgba(255,255,255,.12) !important;
  background:#111827 !important;
  color:#fff !important;
  text-align:left !important;
  cursor:pointer !important;
  transition:transform .16s ease, border-color .16s ease, box-shadow .16s ease !important;
  overflow:hidden;
}

.featured-wallet-plan:active{
  transform:scale(.985);
}

.featured-wallet-plan.active-plan{
  border:2px solid #ffcc00 !important;
  background:
    radial-gradient(circle at 12% 0%, rgba(255,204,0,.22), transparent 42%),
    linear-gradient(135deg,#2d2105,#111827) !important;
  box-shadow:0 0 0 1px rgba(255,204,0,.18), 0 0 22px rgba(255,204,0,.28) !important;
}

.featured-wallet-plan.active-plan::after{
  content:"ACTIVO";
  position:absolute;
  top:10px;
  right:10px;
  background:#ffcc00;
  color:#000;
  padding:5px 9px;
  border-radius:999px;
  font-size:11px;
  font-weight:950;
  box-shadow:0 8px 18px rgba(255,204,0,.25);
}

.featured-plan-top{
  display:flex;
  justify-content:space-between;
  gap:8px;
  align-items:center;
  padding-right:62px;
}

.featured-plan-title{
  font-weight:900;
  font-size:15px;
}

.featured-plan-pill{
  background:#ffcc00;
  color:#000;
  padding:4px 8px;
  border-radius:999px;
  font-size:11px;
  font-weight:950;
  white-space:nowrap;
}

.featured-plan-price{
  color:#ffcc00;
  font-size:23px;
  font-weight:950;
  margin-top:5px;
}

.featured-plan-desc{
  color:#aaa;
  font-size:12px;
  margin-top:4px;
  line-height:1.35;
}

.featured-plan-active-info{
  display:none;
  margin-top:10px;
  padding:9px 10px;
  border-radius:13px;
  background:rgba(0,0,0,.24);
  border:1px solid rgba(255,204,0,.20);
  color:#ffe9a3;
  font-size:12px;
  line-height:1.4;
  font-weight:800;
}

.featured-wallet-plan.active-plan .featured-plan-active-info{
  display:block;
}

.featured-wallet-help{
  margin-top:12px;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.08);
  border-radius:14px;
  padding:11px;
  color:#aaa;
  font-size:12px;
  line-height:1.4;
}

.featured-recharge-btn{
  margin-top:12px !important;
}

@media(max-width:420px){
  .featured-current-dates{
    grid-template-columns:1fr;
  }

  .featured-plan-top{
    padding-right:58px;
  }
}



/* =====================================================
   BOTON PAGAR EN PAQUETES DESTACADOS
===================================================== */
.featured-plan-pay-btn{
  margin-top:12px;
  min-height:40px;
  border-radius:14px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  background:linear-gradient(135deg,#ffcc00,#ff9f0a);
  color:#000;
  font-size:13px;
  font-weight:950;
  box-shadow:0 12px 24px rgba(255,204,0,.22);
  border:1px solid rgba(255,255,255,.16);
  text-align:center;
}

.featured-plan-pay-btn::before{
  content:"";
  width:17px;
  height:17px;
  display:inline-block;
  background:currentColor;
  opacity:.9;
  -webkit-mask:url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M3 7.5A3.5 3.5 0 0 1 6.5 4H18a3 3 0 0 1 3 3v10a3 3 0 0 1-3 3H6.5A3.5 3.5 0 0 1 3 16.5v-9ZM6.5 6A1.5 1.5 0 0 0 5 7.5v9A1.5 1.5 0 0 0 6.5 18H18a1 1 0 0 0 1-1V7a1 1 0 0 0-1-1H6.5Zm9 5.25a1.25 1.25 0 1 1 0 2.5a1.25 1.25 0 0 1 0-2.5Z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M3 7.5A3.5 3.5 0 0 1 6.5 4H18a3 3 0 0 1 3 3v10a3 3 0 0 1-3 3H6.5A3.5 3.5 0 0 1 3 16.5v-9ZM6.5 6A1.5 1.5 0 0 0 5 7.5v9A1.5 1.5 0 0 0 6.5 18H18a1 1 0 0 0 1-1V7a1 1 0 0 0-1-1H6.5Zm9 5.25a1.25 1.25 0 1 1 0 2.5a1.25 1.25 0 0 1 0-2.5Z'/%3E%3C/svg%3E") center/contain no-repeat;
}

.featured-wallet-plan.active-plan .featured-plan-pay-btn{
  background:rgba(255,255,255,.08);
  color:#ffcc00;
  border-color:rgba(255,204,0,.28);
  box-shadow:none;
}

.featured-wallet-plan.active-plan .featured-plan-pay-btn::after{
  content:" activo";
}



/* =====================================================
   DESTACAR PERFIL - DISENO COMPACTO CLARO
   Reduce scroll y muestra los paquetes de forma directa.
===================================================== */
#featuredModal{
  padding:10px !important;
  align-items:center !important;
}

#featuredModal .modal-featured{
  width:min(390px,94vw) !important;
  max-width:390px !important;
  max-height:82vh !important;
  padding:14px 14px 16px !important;
  border-radius:22px !important;
  overflow-y:auto !important;
}

#featuredModal .modal-header,
#featuredModal .featured-text{
  margin-bottom:8px !important;
}

#featuredModal .modal-title{
  font-size:17px !important;
}

#featuredModal .featured-text{
  font-size:12px !important;
  line-height:1.35 !important;
  color:#d7dbea !important;
}

.featured-current-status{
  margin:8px 0 10px !important;
  padding:11px 12px !important;
  border-radius:18px !important;
  display:grid !important;
  grid-template-columns:1fr auto !important;
  align-items:center !important;
  gap:7px 10px !important;
}

.featured-current-badge{
  grid-column:1 / -1 !important;
  width:max-content !important;
  margin:0 !important;
  padding:4px 9px !important;
  font-size:10px !important;
}

.featured-current-title{
  margin:0 !important;
  font-size:15px !important;
  line-height:1.15 !important;
}

.featured-current-dates{
  display:none !important;
}

.featured-current-note{
  grid-column:1 / 2 !important;
  margin:0 !important;
  font-size:11px !important;
  line-height:1.25 !important;
  color:#e5e7eb !important;
}

.featured-current-renew-btn{
  grid-column:2 / 3 !important;
  grid-row:2 / 4 !important;
  width:auto !important;
  min-width:82px !important;
  height:36px !important;
  margin:0 !important;
  padding:0 13px !important;
  border:0 !important;
  border-radius:999px !important;
  background:linear-gradient(135deg,#ffcc00,#ff9f0a) !important;
  color:#000 !important;
  font-size:12px !important;
  font-weight:950 !important;
  box-shadow:0 10px 22px rgba(255,204,0,.22) !important;
}

.featured-plan-grid{
  display:grid !important;
  grid-template-columns:repeat(3,1fr) !important;
  gap:8px !important;
}

.featured-wallet-plan{
  min-height:0 !important;
  padding:10px 8px !important;
  border-radius:16px !important;
  text-align:center !important;
}

.featured-wallet-plan.active-plan{
  border-width:1px !important;
  box-shadow:0 0 0 1px rgba(255,204,0,.28),0 10px 24px rgba(255,204,0,.14) !important;
}

.featured-wallet-plan.active-plan::after{
  top:6px !important;
  right:6px !important;
  padding:3px 6px !important;
  font-size:9px !important;
}

.featured-plan-top{
  display:block !important;
  padding-right:0 !important;
}

.featured-plan-title{
  font-size:13px !important;
  line-height:1.12 !important;
  padding-right:0 !important;
}

.featured-plan-pill{
  display:none !important;
}

.featured-plan-price{
  margin-top:5px !important;
  font-size:20px !important;
  line-height:1 !important;
}

.featured-plan-desc{
  display:none !important;
}

.featured-plan-active-info{
  margin-top:7px !important;
  padding:6px 7px !important;
  border-radius:11px !important;
  font-size:10px !important;
  line-height:1.25 !important;
  text-align:left !important;
}

.featured-plan-pay-btn{
  margin-top:8px !important;
  min-height:34px !important;
  padding:7px 6px !important;
  border-radius:12px !important;
  font-size:11px !important;
  line-height:1.12 !important;
  gap:4px !important;
}

.featured-plan-pay-btn::before{
  width:14px !important;
  height:14px !important;
}

.featured-wallet-help{
  margin-top:10px !important;
  padding:9px !important;
  border-radius:13px !important;
  font-size:11px !important;
  line-height:1.3 !important;
}

.featured-recharge-btn{
  margin-top:8px !important;
  min-height:38px !important;
  padding:9px 10px !important;
  border-radius:13px !important;
  font-size:12px !important;
}

@media(max-width:360px){
  .featured-plan-grid{
    grid-template-columns:1fr !important;
  }

  .featured-wallet-plan{
    text-align:left !important;
    display:grid !important;
    grid-template-columns:1fr auto !important;
    align-items:center !important;
    gap:4px 8px !important;
  }

  .featured-plan-price{
    margin-top:0 !important;
  }

  .featured-plan-pay-btn,
  .featured-plan-active-info{
    grid-column:1 / -1 !important;
  }
}

/* =====================================================
   FIX DESTACAR PERFIL - COMPACTO PERO LEGIBLE
   Evita letras apretadas en móvil usando filas claras.
===================================================== */
#featuredModal .modal-featured{
  width:min(400px,94vw) !important;
  max-width:400px !important;
  max-height:84vh !important;
  padding:13px 13px 15px !important;
}

#featuredModal .featured-text{
  font-size:11.5px !important;
  line-height:1.35 !important;
}

.featured-current-status{
  padding:10px 12px !important;
  border-radius:17px !important;
  margin:8px 0 10px !important;
}

.featured-current-title{
  font-size:15px !important;
}

.featured-current-note{
  font-size:11px !important;
  line-height:1.3 !important;
}

.featured-current-renew-btn{
  min-width:78px !important;
  height:34px !important;
  font-size:11.5px !important;
}

/* En vez de 3 columnas estrechas, usar filas compactas y legibles */
.featured-plan-grid{
  display:grid !important;
  grid-template-columns:1fr !important;
  gap:8px !important;
}

.featured-wallet-plan{
  padding:10px 11px !important;
  border-radius:15px !important;
  min-height:auto !important;
  text-align:left !important;
  display:grid !important;
  grid-template-columns:1fr auto !important;
  align-items:center !important;
  gap:6px 10px !important;
}

.featured-wallet-plan.active-plan::after{
  top:8px !important;
  right:8px !important;
  font-size:9px !important;
  padding:3px 7px !important;
}

.featured-plan-top{
  display:block !important;
  min-width:0 !important;
  padding-right:0 !important;
}

.featured-plan-title{
  font-size:14px !important;
  line-height:1.15 !important;
  font-weight:950 !important;
  white-space:normal !important;
  word-break:normal !important;
  overflow-wrap:normal !important;
  padding-right:42px !important;
}

.featured-plan-price{
  grid-column:2 / 3 !important;
  grid-row:1 / 2 !important;
  margin:0 !important;
  font-size:19px !important;
  line-height:1 !important;
  text-align:right !important;
  white-space:nowrap !important;
}

.featured-plan-price .currency,
.featured-plan-price span{
  white-space:nowrap !important;
}

.featured-plan-desc{
  display:block !important;
  grid-column:1 / 2 !important;
  margin:0 !important;
  font-size:11px !important;
  line-height:1.25 !important;
  color:#b9c0d4 !important;
}

.featured-plan-active-info{
  grid-column:1 / -1 !important;
  margin-top:2px !important;
  padding:7px 8px !important;
  border-radius:10px !important;
  font-size:10.5px !important;
  line-height:1.3 !important;
  text-align:left !important;
}

.featured-plan-pay-btn{
  grid-column:2 / 3 !important;
  grid-row:2 / 3 !important;
  width:auto !important;
  min-width:118px !important;
  min-height:34px !important;
  margin:0 !important;
  padding:7px 10px !important;
  border-radius:12px !important;
  font-size:11px !important;
  line-height:1.15 !important;
  white-space:normal !important;
}

.featured-plan-pay-btn::before{
  width:13px !important;
  height:13px !important;
  flex:0 0 13px !important;
}

.featured-wallet-help{
  margin-top:9px !important;
  padding:8px 10px !important;
  font-size:10.8px !important;
}

.featured-recharge-btn{
  min-height:36px !important;
  margin-top:8px !important;
  font-size:12px !important;
}

#featuredModal .modal-featured > button,
#featuredModal .modal-featured .cancel,
#featuredModal .modal-featured button.cancel{
  min-height:36px !important;
  margin-top:8px !important;
  padding:8px 10px !important;
  font-size:12px !important;
}

@media(max-width:380px){
  .featured-wallet-plan{
    grid-template-columns:1fr !important;
  }
  .featured-plan-title{
    padding-right:44px !important;
  }
  .featured-plan-price{
    grid-column:1 / -1 !important;
    grid-row:auto !important;
    text-align:left !important;
    margin-top:0 !important;
  }
  .featured-plan-pay-btn{
    grid-column:1 / -1 !important;
    grid-row:auto !important;
    width:100% !important;
    min-width:0 !important;
  }
}

/* =====================================================
   DESTACAR PERFIL - PREMIUM ELEGANTE Y LEGIBLE
   Mantiene tamaño compacto, mejora colores, sombras y botones.
===================================================== */
#featuredModal{
  background:rgba(0,0,0,.78) !important;
  backdrop-filter:blur(12px) saturate(1.15) !important;
}

#featuredModal .modal-featured{
  width:min(410px,94vw) !important;
  max-width:410px !important;
  padding:15px 15px 16px !important;
  border-radius:24px !important;
  color:#f8fbff !important;
  background:
    radial-gradient(circle at 10% 0%, rgba(0,231,255,.18), transparent 32%),
    radial-gradient(circle at 88% 8%, rgba(255,43,214,.15), transparent 34%),
    linear-gradient(180deg,#171a26 0%,#0b0d14 72%,#07080d 100%) !important;
  border:1px solid rgba(255,255,255,.13) !important;
  box-shadow:
    0 30px 85px rgba(0,0,0,.78),
    inset 0 1px 0 rgba(255,255,255,.09) !important;
}

#featuredModal .modal-featured h2,
#featuredModal .modal-featured .modal-title{
  margin-bottom:8px !important;
  font-size:17px !important;
  font-weight:950 !important;
  letter-spacing:.2px !important;
  background:linear-gradient(90deg,#27e7ff 0%,#ff5bd7 52%,#ffd76b 100%) !important;
  -webkit-background-clip:text !important;
  background-clip:text !important;
  color:transparent !important;
}

#featuredModal .featured-text{
  color:#d6dcef !important;
  opacity:.95 !important;
}

#featuredModal .close-btn,
#featuredModal .modal-close,
#featuredModal .featured-close{
  color:#cbd5e1 !important;
  background:rgba(255,255,255,.07) !important;
  border:1px solid rgba(255,255,255,.12) !important;
  border-radius:12px !important;
  width:32px !important;
  height:32px !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08) !important;
}

.featured-current-status{
  position:relative !important;
  overflow:hidden !important;
  padding:12px 13px !important;
  border-radius:20px !important;
  background:
    radial-gradient(circle at 0% 0%,rgba(255,204,0,.28),transparent 42%),
    linear-gradient(135deg,rgba(255,204,0,.13),rgba(37,167,255,.08) 55%,rgba(255,43,214,.10)) !important;
  border:1px solid rgba(255,204,0,.48) !important;
  box-shadow:
    0 14px 34px rgba(255,204,0,.12),
    inset 0 1px 0 rgba(255,255,255,.10) !important;
}

.featured-current-status:before{
  content:"";
  position:absolute;
  inset:-1px;
  pointer-events:none;
  background:linear-gradient(120deg,transparent 0%,rgba(255,255,255,.12) 48%,transparent 75%);
  opacity:.75;
}

.featured-current-status > *{
  position:relative !important;
  z-index:1 !important;
}

.featured-current-badge,
.featured-current-status .badge,
.featured-current-status strong:first-child{
  background:linear-gradient(135deg,#ffe66d,#ffbd00) !important;
  color:#151000 !important;
  border-radius:999px !important;
  box-shadow:0 8px 22px rgba(255,204,0,.28) !important;
}

.featured-current-title{
  color:#ffffff !important;
  text-shadow:0 1px 12px rgba(255,204,0,.18) !important;
}

.featured-current-note{
  color:#fff0af !important;
  font-weight:800 !important;
}

.featured-current-renew-btn{
  border:0 !important;
  border-radius:999px !important;
  color:#100b00 !important;
  background:linear-gradient(135deg,#fff36a 0%,#ffca12 42%,#ff9f0a 100%) !important;
  box-shadow:
    0 14px 30px rgba(255,190,0,.34),
    inset 0 1px 0 rgba(255,255,255,.55) !important;
  font-weight:950 !important;
}

.featured-current-renew-btn:hover{
  transform:translateY(-1px) !important;
  filter:brightness(1.04) !important;
}

.featured-plan-grid{
  padding:8px !important;
  border-radius:22px !important;
  background:rgba(255,255,255,.035) !important;
  border:1px solid rgba(255,255,255,.09) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04) !important;
}

.featured-wallet-plan{
  position:relative !important;
  overflow:hidden !important;
  padding:11px 12px !important;
  border-radius:18px !important;
  background:
    radial-gradient(circle at 0% 0%,rgba(37,167,255,.16),transparent 34%),
    linear-gradient(145deg,rgba(24,30,47,.96),rgba(13,17,28,.96)) !important;
  border:1px solid rgba(255,255,255,.12) !important;
  box-shadow:
    0 12px 28px rgba(0,0,0,.35),
    inset 0 1px 0 rgba(255,255,255,.06) !important;
  transition:transform .18s ease, border-color .18s ease, box-shadow .18s ease !important;
}

.featured-wallet-plan:hover{
  transform:translateY(-1px) !important;
  border-color:rgba(255,204,0,.30) !important;
  box-shadow:
    0 16px 34px rgba(0,0,0,.42),
    0 0 0 1px rgba(255,204,0,.12),
    inset 0 1px 0 rgba(255,255,255,.08) !important;
}

.featured-wallet-plan.active-plan{
  background:
    radial-gradient(circle at 0% 0%,rgba(255,204,0,.28),transparent 38%),
    linear-gradient(145deg,rgba(37,30,12,.96),rgba(14,18,29,.96)) !important;
  border-color:rgba(255,204,0,.62) !important;
  box-shadow:
    0 16px 38px rgba(255,204,0,.16),
    inset 0 1px 0 rgba(255,255,255,.10) !important;
}

.featured-wallet-plan.active-plan::after{
  background:linear-gradient(135deg,#fff16b,#ffbd00) !important;
  color:#120d00 !important;
  border:0 !important;
  box-shadow:0 8px 18px rgba(255,204,0,.30) !important;
  font-weight:950 !important;
}

.featured-plan-title{
  color:#ffffff !important;
  text-shadow:0 1px 10px rgba(0,0,0,.25) !important;
}

.featured-plan-desc{
  color:#aeb8d2 !important;
}

.featured-plan-price{
  font-weight:1000 !important;
  letter-spacing:-.04em !important;
  background:linear-gradient(180deg,#fff36a 0%,#ffcc00 52%,#ff9f0a 100%) !important;
  -webkit-background-clip:text !important;
  background-clip:text !important;
  color:transparent !important;
  text-shadow:none !important;
}

.featured-plan-active-info{
  color:#ffe9a6 !important;
  background:rgba(255,204,0,.08) !important;
  border:1px solid rgba(255,204,0,.22) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04) !important;
}

.featured-plan-pay-btn{
  border:0 !important;
  color:#130d00 !important;
  background:linear-gradient(135deg,#ffe66d 0%,#ffc400 48%,#ff9700 100%) !important;
  box-shadow:
    0 12px 25px rgba(255,179,0,.28),
    inset 0 1px 0 rgba(255,255,255,.55) !important;
  font-weight:1000 !important;
  letter-spacing:-.01em !important;
  transition:transform .16s ease, filter .16s ease, box-shadow .16s ease !important;
}

.featured-plan-pay-btn:hover{
  transform:translateY(-1px) !important;
  filter:brightness(1.04) !important;
  box-shadow:
    0 15px 30px rgba(255,179,0,.34),
    inset 0 1px 0 rgba(255,255,255,.65) !important;
}

.featured-plan-pay-btn:active,
.featured-current-renew-btn:active,
.featured-recharge-btn:active{
  transform:scale(.98) !important;
}

.featured-plan-pay-btn::before{
  border-color:rgba(0,0,0,.45) !important;
  background:rgba(255,255,255,.38) !important;
  box-shadow:inset 0 0 0 2px rgba(255,204,0,.55) !important;
}

.featured-wallet-help{
  color:#cdd6ec !important;
  background:linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.035)) !important;
  border:1px solid rgba(255,255,255,.10) !important;
  border-radius:16px !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04) !important;
}

.featured-recharge-btn{
  border:0 !important;
  border-radius:999px !important;
  color:#100b00 !important;
  background:linear-gradient(135deg,#fff36a,#ffcc00 55%,#ff9f0a) !important;
  box-shadow:
    0 14px 30px rgba(255,190,0,.30),
    inset 0 1px 0 rgba(255,255,255,.55) !important;
  font-weight:950 !important;
}

#featuredModal .modal-featured > button,
#featuredModal .modal-featured .cancel,
#featuredModal .modal-featured button.cancel{
  color:#e9eefc !important;
  background:linear-gradient(180deg,rgba(255,255,255,.08),rgba(255,255,255,.045)) !important;
  border:1px solid rgba(255,255,255,.13) !important;
  border-radius:16px !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05) !important;
}

/* =====================================================
   FIX FINAL DESTACADO PREMIUM
   - La etiqueta ACTIVO ya no tapa el precio.
   - El botón activo no agrega la palabra "activo" al final.
   - Mantiene el diseño premium compacto.
===================================================== */
#featuredModal .featured-wallet-plan.active-plan::after{
  content:"ACTIVO" !important;
  top:10px !important;
  left:12px !important;
  right:auto !important;
  z-index:6 !important;
  padding:4px 10px !important;
  border-radius:999px !important;
  background:linear-gradient(135deg,#fff16b 0%,#ffcc00 55%,#ff9f0a 100%) !important;
  color:#120d00 !important;
  font-size:10px !important;
  font-weight:1000 !important;
  letter-spacing:.02em !important;
  box-shadow:0 8px 18px rgba(255,204,0,.30), inset 0 1px 0 rgba(255,255,255,.50) !important;
}

#featuredModal .featured-wallet-plan.active-plan .featured-plan-top{
  padding-top:24px !important;
  padding-right:0 !important;
}

#featuredModal .featured-wallet-plan.active-plan .featured-plan-title{
  padding-right:0 !important;
}

#featuredModal .featured-wallet-plan.active-plan .featured-plan-price{
  align-self:start !important;
  padding-top:2px !important;
  position:relative !important;
  z-index:7 !important;
}

#featuredModal .featured-wallet-plan.active-plan .featured-plan-pay-btn::after{
  content:"" !important;
  display:none !important;
}

#featuredModal .featured-plan-pay-btn{
  white-space:nowrap !important;
}

#featuredModal .featured-wallet-plan.active-plan .featured-plan-pay-btn{
  color:#130d00 !important;
  background:linear-gradient(135deg,#ffe66d 0%,#ffc400 48%,#ff9700 100%) !important;
  box-shadow:0 12px 25px rgba(255,179,0,.28), inset 0 1px 0 rgba(255,255,255,.55) !important;
}

@media(max-width:380px){
  #featuredModal .featured-wallet-plan.active-plan::after{
    top:10px !important;
    left:12px !important;
  }
  #featuredModal .featured-wallet-plan.active-plan .featured-plan-title{
    padding-top:24px !important;
  }
  #featuredModal .featured-plan-pay-btn{
    white-space:normal !important;
  }
}


/* =====================================================
   HOME PREMIUM CLEAN V2 - SIN FEED CENTRAL
===================================================== */

/* Mantener el menu inferior como estaba antes */
.bottom-nav{
  grid-template-columns:repeat(4,1fr) !important;
}

.bottom-nav .nav-item{
  height:auto !important;
  margin-top:0 !important;
}

.bottom-nav .nav-feed-center,
.bottom-nav-pro-v2 .nav-feed-center{
  margin-top:0 !important;
  height:auto !important;
}

.feed-center-orb{
  all:unset !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
}

.feed-center-label{
  all:unset !important;
}

.feed-center-badge{
  position:absolute !important;
}

/* Boton editar perfil restaurado y mas limpio */
.floating-edit{
  right:22px !important;
  bottom:86px !important;
  min-height:48px !important;
  padding:0 22px !important;
  border-radius:999px !important;
  font-size:15px !important;
  font-weight:950 !important;
  background:linear-gradient(135deg,#ffcc00,#ff9f0a) !important;
  color:#000 !important;
  box-shadow:0 12px 30px rgba(255,204,0,.32) !important;
}

/* Tarjeta destacados mas compacta */
.featured-top-card{
  width:min(720px,94vw) !important;
  margin:10px auto 10px !important;
  padding:14px 16px !important;
  border-radius:24px !important;
  min-height:auto !important;
  background:
    radial-gradient(circle at 14% 0%,rgba(255,204,0,.15),transparent 32%),
    radial-gradient(circle at 90% 10%,rgba(255,43,214,.12),transparent 36%),
    linear-gradient(145deg,rgba(255,255,255,.075),rgba(255,255,255,.030)) !important;
  border:1px solid rgba(255,255,255,.09) !important;
  box-shadow:0 16px 46px rgba(0,0,0,.42), inset 0 1px 0 rgba(255,255,255,.05) !important;
  overflow:hidden !important;
}

.featured-top-header{
  margin-bottom:10px !important;
  gap:10px !important;
}

.featured-top-title{
  color:#fff !important;
  font-size:20px !important;
  line-height:1.05 !important;
  font-weight:950 !important;
}

.featured-top-sub{
  color:#aeb4c7 !important;
  font-size:13px !important;
  margin-top:3px !important;
}

.featured-top-avatars{
  gap:10px !important;
  flex-wrap:nowrap !important;
  overflow-x:auto !important;
  padding:2px 2px 4px !important;
}

.featured-top-avatars::-webkit-scrollbar{
  display:none !important;
}

.featured-top-avatars .avatar-wrapper{
  width:54px !important;
  height:54px !important;
  min-width:54px !important;
}

/* Boton Ponme aqui elegante con SVG */
.featured-cta-pro,
.featured-top-btn{
  position:relative !important;
  min-width:126px !important;
  min-height:46px !important;
  border-radius:999px !important;
  padding:7px 13px !important;
  border:1px solid rgba(255,204,0,.42) !important;
  background:
    radial-gradient(circle at 20% 0%,rgba(255,255,255,.38),transparent 32%),
    linear-gradient(135deg,#ffcc00,#ff9f0a) !important;
  color:#000 !important;
  box-shadow:0 10px 26px rgba(255,204,0,.30),0 0 18px rgba(255,204,0,.18) !important;
  display:flex !important;
  flex-direction:row !important;
  align-items:center !important;
  justify-content:center !important;
  gap:7px !important;
  text-transform:none !important;
}

.featured-cta-icon{
  width:20px;
  height:20px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:#000;
  flex:0 0 auto;
}

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

.featured-cta-main{
  font-size:14px !important;
  font-weight:1000 !important;
  line-height:1 !important;
  white-space:nowrap !important;
}

.featured-cta-sub{
  display:none !important;
}

/* Beneficios desplegable compacto */
.featured-benefits-mini.featured-benefits-collapsible{
  width:min(720px,94vw) !important;
  margin:8px auto 10px !important;
  padding:11px 12px !important;
  border-radius:20px !important;
  display:grid !important;
  grid-template-columns:auto 1fr auto !important;
  align-items:center !important;
  gap:10px !important;
  background:
    radial-gradient(circle at 0% 0%,rgba(0,231,255,.13),transparent 38%),
    radial-gradient(circle at 95% 0%,rgba(255,43,214,.12),transparent 38%),
    linear-gradient(180deg,rgba(255,255,255,.060),rgba(255,255,255,.030)) !important;
  border:1px solid rgba(255,255,255,.09) !important;
  box-shadow:0 12px 34px rgba(0,0,0,.32) !important;
}

.featured-benefits-mini .fbm-icon{
  width:43px !important;
  height:43px !important;
  border-radius:15px !important;
  background:linear-gradient(135deg,#ffcc00,#ff9f0a) !important;
  color:#000 !important;
}

.featured-benefits-mini .fbm-text strong{
  font-size:16px !important;
}

.featured-benefits-mini .fbm-text span{
  font-size:12px !important;
  color:#bfc6d9 !important;
}

.featured-benefits-mini .fbm-action{
  border:0 !important;
  min-width:56px !important;
  height:36px !important;
  border-radius:999px !important;
  background:rgba(255,255,255,.10) !important;
  color:#fff !important;
  font-size:13px !important;
  font-weight:950 !important;
}

.featured-benefits-mini.is-open .fbm-action{
  background:#ffcc00 !important;
  color:#000 !important;
}

.fbm-body{
  grid-column:1 / -1;
  display:none;
  margin-top:5px;
  padding:10px;
  border-radius:16px;
  background:rgba(0,0,0,.22);
  border:1px solid rgba(255,255,255,.08);
  color:#dce3ff;
  font-size:12px;
  line-height:1.35;
}

.featured-benefits-mini.is-open .fbm-body{
  display:grid;
  gap:7px;
}

.fbm-body div:before{
  content:"✓ ";
  color:#22e76b;
  font-weight:1000;
}

.fbm-body button{
  margin-top:4px;
  border:0;
  border-radius:999px;
  padding:9px 12px;
  background:linear-gradient(135deg,#7c3cff,#ff2bd6);
  color:#fff;
  font-weight:950;
}

/* Alcance de busqueda mas elegante con SVG */
.scope-switcher{
  width:min(720px,94vw) !important;
  margin:8px auto 10px !important;
  padding:10px !important;
  border-radius:20px !important;
  background:
    radial-gradient(circle at 0% 0%,rgba(37,167,255,.10),transparent 35%),
    linear-gradient(180deg,#121621,#090c14) !important;
  border:1px solid rgba(255,255,255,.10) !important;
  box-shadow:0 12px 30px rgba(0,0,0,.30) !important;
}

.scope-switcher-title{
  color:#b8c0d5 !important;
  font-size:12px !important;
  font-weight:900 !important;
}

.scope-switcher button{
  min-height:42px !important;
  border-radius:999px !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:7px !important;
  padding:8px 13px !important;
  background:rgba(255,255,255,.07) !important;
  border:1px solid rgba(255,255,255,.10) !important;
  color:#e6ecff !important;
  font-weight:950 !important;
}

.scope-switcher button svg{
  width:18px;
  height:18px;
}

.scope-switcher button.active{
  background:linear-gradient(135deg,#ffcc00,#ff9f0a) !important;
  color:#000 !important;
  border-color:#ffcc00 !important;
}

/* Modal paquetes: compacto, activo visible y botones no gigantes */
#featuredModal .modal-featured{
  border-radius:26px !important;
  background:
    radial-gradient(circle at 15% 0%,rgba(255,204,0,.12),transparent 35%),
    radial-gradient(circle at 90% 0%,rgba(255,43,214,.10),transparent 35%),
    linear-gradient(180deg,#15161d,#090a10) !important;
  border:1px solid rgba(255,255,255,.10) !important;
}

#featuredModal .modal-title{
  font-size:21px !important;
  font-weight:1000 !important;
}

.featured-plan-grid,
.featured-plan-box{
  display:grid !important;
  gap:9px !important;
}

.featured-wallet-plan{
  display:block !important;
  min-height:auto !important;
  padding:12px 14px !important;
  border-radius:18px !important;
}

.featured-wallet-plan[data-plan="7"]{
  background:linear-gradient(135deg,rgba(37,167,255,.17),#101827) !important;
  border-color:rgba(37,167,255,.34) !important;
}

.featured-wallet-plan[data-plan="15"]{
  background:linear-gradient(135deg,rgba(124,60,255,.18),#101827) !important;
  border-color:rgba(124,60,255,.36) !important;
}

.featured-wallet-plan[data-plan="30"]{
  background:linear-gradient(135deg,rgba(255,204,0,.18),#101827) !important;
  border-color:rgba(255,204,0,.38) !important;
}

.featured-plan-title{
  font-size:16px !important;
}

.featured-plan-price{
  font-size:24px !important;
  letter-spacing:-.04em !important;
}

.featured-plan-desc{
  font-size:12px !important;
  color:#c7ccda !important;
}

.featured-plan-pay-btn{
  min-height:36px !important;
  margin-top:8px !important;
  font-size:12px !important;
  border-radius:12px !important;
}

.featured-wallet-plan[data-plan="7"] .featured-plan-pay-btn{
  background:linear-gradient(135deg,#25a7ff,#006eff) !important;
  color:#fff !important;
}

.featured-wallet-plan[data-plan="15"] .featured-plan-pay-btn{
  background:linear-gradient(135deg,#7c3cff,#ff2bd6) !important;
  color:#fff !important;
}

.featured-wallet-plan[data-plan="30"] .featured-plan-pay-btn{
  background:linear-gradient(135deg,#ffcc00,#ff9f0a) !important;
  color:#000 !important;
}

.featured-wallet-plan.active-plan{
  display:block !important;
  order:-10 !important;
  border:2px solid #22e76b !important;
  box-shadow:0 0 18px rgba(34,231,107,.22),0 0 22px rgba(255,204,0,.12) !important;
}

.featured-wallet-plan.active-plan .featured-plan-pay-btn{
  background:rgba(34,231,107,.12) !important;
  color:#92ffc8 !important;
  border:1px solid rgba(34,231,107,.35) !important;
}

#featuredCurrentStatus{
  display:block;
}

/* Por si quedó de la version anterior, nunca ocultar el contenedor completo de planes */
#featuredOtherPlansBox{
  display:grid !important;
}

.featured-other-toggle{
  display:none !important;
}

@media(max-width:640px){
  .featured-top-card{
    padding:13px 14px !important;
    border-radius:22px !important;
  }

  .featured-cta-pro,
  .featured-top-btn{
    min-width:116px !important;
    min-height:42px !important;
    padding:6px 11px !important;
  }

  .featured-cta-main{
    font-size:13px !important;
  }

  .featured-top-avatars .avatar-wrapper{
    width:50px !important;
    height:50px !important;
    min-width:50px !important;
  }

  .scope-switcher{
    gap:8px !important;
  }

  .scope-switcher-title{
    width:100% !important;
  }

  .scope-switcher button{
    flex:1 !important;
  }
}




/* =====================================================
   MATCHBOY CLEAN FIX: LANDING + LOGOUT + EDIT
   No modifica la vista cuadriculada.
===================================================== */
html.mb-logged-in #publicLanding,
body.mb-logged-in #publicLanding{
  display:none !important;
  visibility:hidden !important;
  opacity:0 !important;
  pointer-events:none !important;
}
html.mb-guest .floating-edit,
body.mb-guest .floating-edit,
html.mb-guest #editProfileBtn,
body.mb-guest #editProfileBtn,
html.mb-guest .edit-profile-float,
body.mb-guest .edit-profile-float,
html.mb-guest [data-action="edit-profile"],
body.mb-guest [data-action="edit-profile"]{
  display:none !important;
  visibility:hidden !important;
  pointer-events:none !important;
}
html.mb-guest #publicLanding .mb-topbar,
body.mb-guest #publicLanding .mb-topbar,
html.mb-guest #publicLanding .mb-menu,
body.mb-guest #publicLanding .mb-menu{
  display:flex !important;
  visibility:visible !important;
  pointer-events:auto !important;
}


/* =====================================================
   MATCHBOY LOGIN PREMIUM 2026
   Solo afecta el modal de inicio/registro
===================================================== */
#sessionOverlay.mb-login-overlay,
#sessionOverlay.modal-backdrop{
  background:
    radial-gradient(circle at 20% 10%,rgba(36,120,255,.30),transparent 28%),
    radial-gradient(circle at 84% 12%,rgba(255,43,214,.24),transparent 28%),
    radial-gradient(circle at 50% 100%,rgba(255,204,0,.14),transparent 32%),
    rgba(0,0,0,.88) !important;
  backdrop-filter:blur(16px) !important;
  -webkit-backdrop-filter:blur(16px) !important;
  align-items:center !important;
  justify-content:center !important;
  padding:18px 12px !important;
  overflow-y:auto !important;
  z-index:10000 !important;
}
#sessionOverlay .session-modal-card.mb-auth-card{
  width:min(440px,94vw) !important;
  max-width:440px !important;
  max-height:none !important;
  padding:0 !important;
  border-radius:34px !important;
  overflow:hidden !important;
  color:#fff !important;
  background:
    linear-gradient(180deg,rgba(17,21,36,.98),rgba(5,7,14,.98)) !important;
  border:1px solid rgba(255,255,255,.13) !important;
  box-shadow:
    0 34px 90px rgba(0,0,0,.72),
    0 0 0 1px rgba(0,231,255,.10),
    0 0 54px rgba(255,43,214,.16) !important;
  animation:mbAuthIn .34s ease both !important;
}
#sessionOverlay .mb-auth-hero{
  position:relative !important;
  overflow:hidden !important;
  display:block !important;
  padding:26px 24px 22px !important;
  text-align:center !important;
  border:0 !important;
  border-bottom:1px solid rgba(255,255,255,.09) !important;
  background:
    linear-gradient(135deg,rgba(36,120,255,.18),rgba(255,43,214,.14)),
    #080b16 !important;
}
#sessionOverlay .mb-auth-glow{
  position:absolute !important;
  width:180px !important;
  height:180px !important;
  border-radius:999px !important;
  filter:blur(26px) !important;
  opacity:.75 !important;
  pointer-events:none !important;
}
#sessionOverlay .mb-auth-glow-a{left:-70px;top:-80px;background:rgba(0,231,255,.34)}
#sessionOverlay .mb-auth-glow-b{right:-70px;bottom:-90px;background:rgba(255,43,214,.32)}
#sessionOverlay .mb-auth-title-wrap{position:relative !important;z-index:2 !important;}
#sessionOverlay .mb-auth-logo-mark{
  width:58px !important;
  height:58px !important;
  margin:0 auto 12px !important;
  border-radius:20px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  background:linear-gradient(135deg,#ffcc00,#ff7a18) !important;
  color:#05070d !important;
  font-weight:1000 !important;
  letter-spacing:-.06em !important;
  box-shadow:0 14px 36px rgba(255,204,0,.28),0 0 24px rgba(255,43,214,.20) !important;
}
#sessionOverlay .session-badge{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  padding:7px 13px !important;
  margin:0 0 12px !important;
  border-radius:999px !important;
  border:1px solid rgba(0,231,255,.38) !important;
  background:rgba(0,231,255,.10) !important;
  color:#4ff7ff !important;
  font-size:11px !important;
  font-weight:900 !important;
  line-height:1 !important;
  letter-spacing:.12em !important;
  text-transform:uppercase !important;
  box-shadow:none !important;
}
#sessionOverlay .modal-title{
  margin:0 !important;
  font-size:clamp(28px,6vw,38px) !important;
  line-height:1.02 !important;
  font-weight:1000 !important;
  letter-spacing:-.055em !important;
  background:linear-gradient(90deg,#fff,#ffcc00,#ff2bd6) !important;
  -webkit-background-clip:text !important;
  background-clip:text !important;
  color:transparent !important;
  -webkit-text-fill-color:transparent !important;
}
#sessionOverlay .session-subtitle{
  max-width:330px !important;
  margin:12px auto 0 !important;
  color:#cbd5ff !important;
  font-size:15px !important;
  line-height:1.5 !important;
  font-weight:500 !important;
}
#sessionOverlay .mb-auth-body{
  padding:18px 22px 24px !important;
  background:linear-gradient(180deg,rgba(255,255,255,.035),rgba(255,255,255,.015)) !important;
}
#sessionOverlay .mb-auth-tabs{
  display:grid !important;
  grid-template-columns:1fr 1fr !important;
  gap:8px !important;
  padding:5px !important;
  margin-bottom:18px !important;
  border-radius:18px !important;
  background:rgba(255,255,255,.055) !important;
  border:1px solid rgba(255,255,255,.08) !important;
}
#sessionOverlay .mb-auth-tab{
  min-height:42px !important;
  border:0 !important;
  border-radius:14px !important;
  background:transparent !important;
  color:#aeb7d8 !important;
  font-size:13px !important;
  font-weight:900 !important;
  cursor:pointer !important;
}
#sessionOverlay .mb-auth-tab.is-active{
  background:linear-gradient(135deg,#ffcc00,#ff9f1c) !important;
  color:#06070a !important;
  box-shadow:0 12px 26px rgba(255,204,0,.18) !important;
}
#sessionOverlay .mb-auth-field{margin:0 0 13px !important;}
#sessionOverlay .mb-auth-field label{
  display:block !important;
  margin:0 0 7px !important;
  color:#edf2ff !important;
  font-size:13px !important;
  font-weight:900 !important;
}
#sessionOverlay .mb-input-shell{
  position:relative !important;
  display:flex !important;
  align-items:center !important;
  min-height:58px !important;
  border-radius:18px !important;
  background:rgba(255,255,255,.065) !important;
  border:1px solid rgba(255,255,255,.10) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.045) !important;
  transition:border-color .18s ease, box-shadow .18s ease, background .18s ease !important;
  overflow:hidden !important;
}
#sessionOverlay .mb-input-shell:focus-within{
  border-color:rgba(255,204,0,.70) !important;
  background:rgba(255,255,255,.085) !important;
  box-shadow:0 0 0 4px rgba(255,204,0,.10),0 0 24px rgba(0,231,255,.13),inset 0 1px 0 rgba(255,255,255,.06) !important;
}
#sessionOverlay .mb-input-icon{
  width:46px !important;
  min-width:46px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  color:#ffcc00 !important;
}
#sessionOverlay .mb-input-icon svg{
  width:20px !important;
  height:20px !important;
  fill:none !important;
  stroke:currentColor !important;
  stroke-width:2 !important;
  stroke-linecap:round !important;
  stroke-linejoin:round !important;
}
#sessionOverlay .input-std,
#sessionOverlay .mb-reset-form input,
#sessionOverlay .mb-reset-form select{
  width:100% !important;
  height:58px !important;
  margin:0 !important;
  padding:0 14px 0 0 !important;
  border:0 !important;
  outline:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  color:#fff !important;
  font-size:16px !important;
  font-weight:650 !important;
  box-shadow:none !important;
}
#sessionOverlay select.input-std{appearance:auto !important;color:#fff !important;}
#sessionOverlay .input-std::placeholder,
#sessionOverlay .mb-reset-form input::placeholder{color:#7e88a7 !important;font-weight:600 !important;}
#sessionOverlay .pass-wrapper{padding:0 !important;border-radius:18px !important;}
#sessionOverlay .pass-wrapper .pass-input{padding-right:54px !important;}
#sessionOverlay .toggle-pass-btn{
  position:absolute !important;
  right:10px !important;
  top:50% !important;
  transform:translateY(-50%) !important;
  width:42px !important;
  height:42px !important;
  border:0 !important;
  border-radius:999px !important;
  background:rgba(255,204,0,.12) !important;
  color:#ffcc00 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  cursor:pointer !important;
  z-index:6 !important;
  padding:0 !important;
}
#sessionOverlay .toggle-pass-btn .eye-icon{
  width:21px !important;
  height:21px !important;
  fill:none !important;
  stroke:currentColor !important;
}
#sessionOverlay .mb-auth-hint{
  display:block !important;
  margin-top:7px !important;
  color:#8f9abf !important;
  font-size:12px !important;
  line-height:1.35 !important;
}
#sessionOverlay .mb-auth-primary,
#sessionOverlay .session-main-btn{
  width:100% !important;
  min-height:58px !important;
  margin:16px 0 0 !important;
  border:0 !important;
  border-radius:18px !important;
  background:linear-gradient(135deg,#ffcc00,#ff9f1c) !important;
  color:#05060a !important;
  font-size:17px !important;
  font-weight:1000 !important;
  cursor:pointer !important;
  box-shadow:0 18px 34px rgba(255,180,0,.26) !important;
  transition:transform .16s ease, filter .16s ease !important;
}
#sessionOverlay .mb-auth-secondary,
#sessionOverlay .session-secondary-btn{
  width:100% !important;
  min-height:54px !important;
  margin:11px 0 0 !important;
  border-radius:18px !important;
  border:1px solid rgba(255,204,0,.32) !important;
  background:rgba(255,255,255,.045) !important;
  color:#ffcc00 !important;
  font-size:15px !important;
  font-weight:950 !important;
  cursor:pointer !important;
  box-shadow:none !important;
}
#sessionOverlay .mb-auth-primary:active,
#sessionOverlay .mb-auth-secondary:active,
#sessionOverlay .mb-auth-tab:active,
#sessionOverlay .mb-google-play-card:active{transform:scale(.985) !important;}
#sessionOverlay .mb-register-actions{display:grid;gap:0 !important;}
#sessionOverlay .mb-forgot-btn{
  width:100% !important;
  margin:14px 0 0 !important;
  padding:0 !important;
  min-height:38px !important;
  border:0 !important;
  background:transparent !important;
  color:#aeb7d8 !important;
  font-size:13px !important;
  font-weight:800 !important;
  text-align:center !important;
  cursor:pointer !important;
}
#sessionOverlay .mb-forgot-btn:hover{color:#fff !important;}
#sessionOverlay .mb-reset-form{
  margin-top:12px !important;
  padding:14px !important;
  border-radius:18px !important;
  background:rgba(255,255,255,.045) !important;
  border:1px solid rgba(255,255,255,.10) !important;
  gap:10px !important;
}
#sessionOverlay .mb-reset-title{font-size:14px !important;font-weight:1000 !important;color:#fff !important;margin-bottom:2px !important;}
#sessionOverlay .mb-reset-submit{
  min-height:48px !important;
  border:0 !important;
  border-radius:15px !important;
  background:linear-gradient(135deg,#ff5c7a,#ff2bd6) !important;
  color:#fff !important;
  font-weight:950 !important;
  cursor:pointer !important;
}
#sessionOverlay .session-error{
  margin:12px 0 0 !important;
  color:#ff8aa1 !important;
  font-size:13px !important;
  font-weight:800 !important;
  text-align:center !important;
  text-shadow:none !important;
}
#sessionOverlay .mb-google-play-card{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:11px !important;
  width:230px !important;
  max-width:100% !important;
  min-height:56px !important;
  margin:18px auto 0 !important;
  padding:10px 14px !important;
  border-radius:18px !important;
  text-decoration:none !important;
  background:rgba(0,0,0,.30) !important;
  border:1px solid rgba(255,255,255,.13) !important;
  color:#fff !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05) !important;
}
#sessionOverlay .mb-play-icon{
  width:34px !important;
  height:34px !important;
  border-radius:999px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  background:linear-gradient(135deg,#00e7ff,#8b3dff,#ff2bd6) !important;
}
#sessionOverlay .mb-play-icon svg{width:18px !important;height:18px !important;fill:#fff !important;}
#sessionOverlay .mb-google-play-card small{display:block !important;color:#aeb7d8 !important;font-size:11px !important;line-height:1.1 !important;}
#sessionOverlay .mb-google-play-card strong{display:block !important;color:#fff !important;font-size:16px !important;line-height:1.1 !important;}
@keyframes mbAuthIn{from{opacity:0;transform:translateY(14px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(max-width:430px){
  #sessionOverlay.mb-login-overlay,#sessionOverlay.modal-backdrop{padding:10px 8px !important;align-items:flex-start !important;}
  #sessionOverlay .session-modal-card.mb-auth-card{width:100% !important;border-radius:28px !important;margin:8px auto 22px !important;}
  #sessionOverlay .mb-auth-hero{padding:22px 18px 18px !important;}
  #sessionOverlay .mb-auth-logo-mark{width:50px !important;height:50px !important;border-radius:17px !important;}
  #sessionOverlay .mb-auth-body{padding:15px 16px 20px !important;}
  #sessionOverlay .mb-input-shell{min-height:54px !important;border-radius:17px !important;}
  #sessionOverlay .input-std,#sessionOverlay .mb-reset-form input{height:54px !important;font-size:15px !important;}
  #sessionOverlay .mb-auth-primary,#sessionOverlay .session-main-btn{min-height:56px !important;}
}


/* MatchBoy registro: aceptar terminos */
#sessionOverlay .mb-terms-box{margin-top:8px !important;}
#sessionOverlay .mb-terms-label{display:flex !important;align-items:flex-start !important;gap:10px !important;padding:12px 13px !important;border-radius:16px !important;background:rgba(255,255,255,.055) !important;border:1px solid rgba(255,255,255,.12) !important;color:#dfe6ff !important;font-size:13px !important;line-height:1.45 !important;cursor:pointer !important;}
#sessionOverlay .mb-terms-label input{width:18px !important;height:18px !important;margin-top:1px !important;accent-color:#ffcc00 !important;flex:0 0 auto !important;}
#sessionOverlay .mb-terms-label a{color:#ffcc00 !important;font-weight:800 !important;text-decoration:none !important;}
#sessionOverlay .mb-terms-label a:hover{text-decoration:underline !important;}
