/* ═══════════════════════════════════════════════════════════════════════════════
   CREZE — PANTALLA DE BIENVENIDA Y SELECCIÓN DE SERVICIOS (ESTILOS AISLADOS)
   Prefijo exclusivo: .crz-sel-* (Cero colisión con css/styles.css de Créditos)
   ═══════════════════════════════════════════════════════════════════════════════ */

#creze-service-selector {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background:
        radial-gradient(circle at 75% 32%, rgba(0, 229, 153, 0.11) 0%, transparent 45%),
        radial-gradient(circle at 24% 35%, rgba(20, 100, 165, 0.22) 0%, transparent 48%),
        linear-gradient(165deg, #050C18 0%, #071326 52%, #040912 100%);
    color: #F8FAFC;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 28px 36px;
    box-sizing: border-box;
    transition: opacity 0.32s cubic-bezier(0.16, 1, 0.3, 1), transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

#creze-service-selector.crz-sel-hidden {
    display: none !important;
}

#creze-service-selector.crz-sel-closing {
    opacity: 0;
    transform: scale(0.985);
    pointer-events: none;
}

/* Elementos gráficos financieros discretos de fondo */
#creze-service-selector::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.7) 20%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.7) 20%, transparent 80%);
    pointer-events: none;
    z-index: 0;
}

/* ── ENCABEZADO SUPERIOR ── */
.crz-sel-topbar {
    position: relative;
    z-index: 2;
    max-width: 1120px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.crz-sel-brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    text-decoration: none;
    user-select: none;
}

.crz-sel-brand-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(0, 229, 153, 0.12);
    border: 1px solid rgba(0, 229, 153, 0.32);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 18px rgba(0, 229, 153, 0.18);
}

.crz-sel-brand-text {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 1.2px;
    color: #FFFFFF;
}

.crz-sel-topbar-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.crz-sel-tagline {
    font-size: 0.86rem;
    color: #94A3B8;
    font-weight: 500;
    letter-spacing: 0.2px;
}

.crz-sel-theme-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #94A3B8;
}

.crz-sel-theme-pill span.crz-sel-moon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(56, 189, 248, 0.15);
    color: #38BDF8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* ── CONTENIDO CENTRAL ── */
.crz-sel-main {
    position: relative;
    z-index: 2;
    max-width: 960px;
    width: 100%;
    margin: auto;
    padding: 28px 0;
    text-align: center;
}

.crz-sel-hero-title {
    font-size: clamp(2rem, 3.6vw, 2.85rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #FFFFFF;
    margin: 0 0 10px 0;
    line-height: 1.15;
}

.crz-sel-hero-title .crz-sel-emerald {
    color: #00E599;
    text-shadow: 0 0 28px rgba(0, 229, 153, 0.32);
}

.crz-sel-hero-subtitle {
    font-size: clamp(0.95rem, 1.5vw, 1.12rem);
    color: #94A3B8;
    font-weight: 500;
    margin: 0 0 38px 0;
}

/* ── CUADRÍCULA DE LAS DOS TARJETAS PROTAGONISTAS ── */
.crz-sel-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    align-items: stretch;
}

.crz-sel-card {
    position: relative;
    border-radius: 24px;
    padding: 38px 32px 34px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    text-align: center;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.28s ease;
    box-sizing: border-box;
    min-height: 360px;
}

/* Tarjeta 1: Créditos */
.crz-sel-card-creditos {
    background:
        radial-gradient(circle at 50% 0%, rgba(56, 189, 248, 0.16) 0%, transparent 62%),
        linear-gradient(180deg, rgba(13, 31, 61, 0.88) 0%, rgba(8, 20, 40, 0.94) 100%);
    border: 1px solid rgba(56, 189, 248, 0.24);
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.52), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.crz-sel-card-creditos:hover {
    transform: translateY(-6px);
    border-color: rgba(56, 189, 248, 0.55);
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.65), 0 0 32px rgba(56, 189, 248, 0.16);
}

/* Tarjeta 2: Vanguard */
.crz-sel-card-vanguard {
    background:
        radial-gradient(circle at 50% 0%, rgba(0, 229, 153, 0.22) 0%, transparent 65%),
        linear-gradient(180deg, rgba(7, 38, 39, 0.9) 0%, rgba(7, 21, 34, 0.96) 100%);
    border: 1.5px solid rgba(0, 229, 153, 0.55);
    box-shadow: 0 22px 52px rgba(0, 0, 0, 0.58), 0 0 36px rgba(0, 229, 153, 0.18), inset 0 1px 0 rgba(0, 229, 153, 0.25);
}

.crz-sel-card-vanguard:hover {
    transform: translateY(-6px);
    border-color: #00E599;
    box-shadow: 0 30px 64px rgba(0, 0, 0, 0.7), 0 0 46px rgba(0, 229, 153, 0.28);
}

/* Gráfico financiero discreto de velas en el fondo de Vanguard */
.crz-sel-card-vanguard .crz-sel-candles-bg {
    position: absolute;
    inset: 0;
    opacity: 0.16;
    pointer-events: none;
    z-index: 0;
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    padding: 0 22px 70px;
}

.crz-sel-card-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

/* Distintivo NUEVO */
.crz-sel-badge-new {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 3;
    background: linear-gradient(135deg, #00E599 0%, #10B981 100%);
    color: #04131A;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.9px;
    text-transform: uppercase;
    padding: 5px 13px;
    border-radius: 999px;
    box-shadow: 0 0 18px rgba(0, 229, 153, 0.45);
}

/* Iconos protagonistas */
.crz-sel-icon-wrap {
    width: 82px;
    height: 82px;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    position: relative;
    transition: transform 0.28s ease;
}

.crz-sel-card:hover .crz-sel-icon-wrap {
    transform: scale(1.06);
}

.crz-sel-icon-creditos {
    background: radial-gradient(circle, rgba(56, 189, 248, 0.18) 0%, rgba(15, 23, 42, 0.4) 100%);
    border: 1px solid rgba(56, 189, 248, 0.38);
    box-shadow: 0 0 28px rgba(56, 189, 248, 0.22);
    color: #7DD3FC;
}

.crz-sel-icon-vanguard {
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 229, 153, 0.24) 0%, rgba(4, 28, 26, 0.65) 100%);
    border: 2px solid #00E599;
    box-shadow: 0 0 32px rgba(0, 229, 153, 0.38), inset 0 0 16px rgba(0, 229, 153, 0.22);
    color: #00E599;
}

.crz-sel-card-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: #FFFFFF;
    margin: 0 0 12px 0;
    letter-spacing: -0.01em;
}

.crz-sel-card-desc {
    font-size: 0.96rem;
    color: #CBD5E1;
    line-height: 1.55;
    max-width: 290px;
    margin: 0 auto 28px;
    font-weight: 400;
}

/* Botones de acción */
.crz-sel-btn {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 310px;
    height: 52px;
    border-radius: 14px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.22s ease;
    text-decoration: none;
    box-sizing: border-box;
}

.crz-sel-btn-creditos {
    background: rgba(15, 29, 56, 0.85);
    color: #F8FAFC;
    border: 1px solid rgba(148, 163, 184, 0.32);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

.crz-sel-btn-creditos:hover {
    background: rgba(30, 58, 108, 0.92);
    border-color: rgba(125, 211, 252, 0.65);
    color: #FFFFFF;
    box-shadow: 0 8px 24px rgba(56, 189, 248, 0.2);
}

.crz-sel-btn-vanguard {
    background: linear-gradient(135deg, #00E599 0%, #05C785 100%);
    color: #031716;
    border: none;
    box-shadow: 0 8px 28px rgba(0, 229, 153, 0.38);
}

.crz-sel-btn-vanguard:hover {
    background: linear-gradient(135deg, #19F5AA 0%, #00E599 100%);
    box-shadow: 0 10px 34px rgba(0, 229, 153, 0.52);
    transform: translateY(-1px);
}

.crz-sel-btn svg {
    transition: transform 0.2s ease;
}

.crz-sel-card:hover .crz-sel-btn svg {
    transform: translateX(4px);
}

.crz-sel-mobile-chevron {
    display: none;
}

/* ── PIE DE PÁGINA ── */
.crz-sel-footer {
    position: relative;
    z-index: 2;
    max-width: 680px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    color: #64748B;
    font-size: 0.84rem;
    font-weight: 500;
}

.crz-sel-footer::before,
.crz-sel-footer::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(148, 163, 184, 0.22), transparent);
}

/* Enlace y Barra Flotante de 1 Toque en Créditos para cambiar a Vanguard o Selector */
.crz-return-selector-bar {
    margin-top: 16px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.crz-return-selector-btn {
    background: rgba(0, 229, 153, 0.12);
    border: 1px solid rgba(0, 229, 153, 0.35);
    color: #00E599;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 12px;
    transition: all 0.2s ease;
    text-decoration: none;
}

.crz-return-selector-btn:hover {
    color: #031B13;
    background: #00E599;
    box-shadow: 0 6px 20px rgba(0, 229, 153, 0.35);
}

#crz-floating-switcher {
    position: sticky;
    top: 0;
    z-index: 950;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 12px;
    background: rgba(3, 12, 26, 0.88);
    border-bottom: 1px solid rgba(0, 229, 153, 0.16);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.crz-fsw-inner {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 5px 6px;
    background: rgba(8, 17, 34, 0.94);
    border: 1px solid rgba(0, 229, 153, 0.35);
    border-radius: 999px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45), 0 0 18px rgba(0, 229, 153, 0.12);
    max-width: 100%;
    box-sizing: border-box;
}

#crz-floating-switcher.crz-fsw-hidden {
    display: none !important;
}

body.crz-has-fsw .view-container {
    min-height: calc(100vh - 60px);
}

.crz-fsw-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    color: #CBD5E1;
    background: transparent;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.18s ease;
    white-space: nowrap;
    line-height: 1.2;
    font-family: inherit;
}

.crz-fsw-label-short {
    display: none;
}

.crz-fsw-pill:hover {
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.08);
}

.crz-fsw-pill.active {
    background: rgba(56, 189, 248, 0.18);
    color: #7DD3FC;
    border-color: rgba(56, 189, 248, 0.45);
}

.crz-fsw-pill.vanguard-cta {
    background: linear-gradient(135deg, #00E599 0%, #05C785 100%);
    color: #031B13;
    box-shadow: 0 4px 14px rgba(0, 229, 153, 0.35);
}

.crz-fsw-pill.vanguard-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 229, 153, 0.5);
}

@media (max-width: 520px) {
    #crz-floating-switcher {
        padding: 8px 10px;
    }

    .crz-fsw-inner {
        width: 100%;
        justify-content: space-between;
        gap: 4px;
        padding: 4px;
    }

    .crz-fsw-pill {
        flex: 1 1 0;
        min-width: 0;
        padding: 7px 8px;
        font-size: 0.72rem;
        gap: 4px;
    }

    .crz-fsw-label-full {
        display: none;
    }

    .crz-fsw-label-short {
        display: inline;
    }
}

/* ── ADAPTACIÓN TABLET (<= 900px) ── */
@media (max-width: 900px) {
    #creze-service-selector {
        padding: 22px 24px;
    }

    .crz-sel-cards-grid {
        gap: 20px;
    }

    .crz-sel-card {
        padding: 30px 24px 28px;
        min-height: 330px;
    }
}

/* ── EXPERIENCIA MÓVIL PROPIA (<= 640px) ── */
@media (max-width: 640px) {
    #creze-service-selector {
        padding: 18px 16px 24px;
        justify-content: flex-start;
    }

    .crz-sel-topbar {
        margin-bottom: 18px;
    }

    .crz-sel-tagline {
        display: none;
    }

    .crz-sel-brand-text {
        font-size: 1.28rem;
    }

    .crz-sel-main {
        margin: 0 auto;
        padding: 8px 0 20px;
    }

    .crz-sel-hero-title {
        font-size: 1.75rem;
        margin-bottom: 6px;
    }

    .crz-sel-hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 22px;
    }

    .crz-sel-cards-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .crz-sel-card {
        min-height: auto;
        padding: 22px 18px;
        border-radius: 20px;
        text-align: left;
        align-items: stretch;
    }

    .crz-sel-card-content {
        flex-direction: row;
        align-items: center;
        gap: 16px;
        text-align: left;
    }

    .crz-sel-icon-wrap {
        width: 58px;
        height: 58px;
        min-width: 58px;
        margin-bottom: 0;
        border-radius: 16px;
    }

    .crz-sel-icon-vanguard {
        border-radius: 50%;
    }

    .crz-sel-icon-wrap svg {
        width: 28px;
        height: 28px;
    }

    .crz-sel-text-col {
        flex: 1;
        min-width: 0;
    }

    .crz-sel-card-title {
        font-size: 1.25rem;
        margin-bottom: 4px;
    }

    .crz-sel-card-desc {
        font-size: 0.85rem;
        margin: 0;
        max-width: none;
        line-height: 1.4;
    }

    .crz-sel-badge-new {
        top: 14px;
        right: 14px;
        font-size: 0.65rem;
        padding: 4px 10px;
    }

    .crz-sel-btn {
        max-width: none;
        width: 100%;
        height: 46px;
        margin-top: 16px;
        font-size: 0.94rem;
        border-radius: 12px;
    }

    .crz-sel-footer {
        margin-top: auto;
        padding-top: 12px;
        font-size: 0.78rem;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   MERCADO CRIPTO EN VIVO + GRÁFICA EN TIEMPO REAL EN SELECTOR (AISLADO .crz-sel-mkt-*)
   ═══════════════════════════════════════════════════════════════════════════════ */
.crz-sel-main {
    max-width: 1120px;
}

.crz-sel-cards-grid {
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
}

.crz-sel-mkt-showcase {
    margin: 34px auto 8px;
    width: 100%;
    max-width: 1120px;
    background:
        radial-gradient(circle at 85% 0%, rgba(0, 229, 153, 0.11) 0%, transparent 42%),
        linear-gradient(180deg, rgba(11, 23, 44, 0.92) 0%, rgba(7, 15, 29, 0.96) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 22px;
    padding: 24px;
    text-align: left;
    box-shadow: 0 24px 54px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    box-sizing: border-box;
    overflow: hidden;
}

.crz-sel-mkt-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 16px;
}

.crz-sel-mkt-title-wrap {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.crz-sel-mkt-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: #00E599;
}

.crz-sel-live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #00E599;
    box-shadow: 0 0 0 0 rgba(0, 229, 153, 0.7);
    animation: crzSelPulse 1.8s infinite;
    flex-shrink: 0;
}

@keyframes crzSelPulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 229, 153, 0.7); }
    70% { box-shadow: 0 0 0 8px rgba(0, 229, 153, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 229, 153, 0); }
}

.crz-sel-mkt-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 800;
    color: #F8FAFC;
    line-height: 1.25;
}

.crz-sel-mkt-sub {
    margin: 0;
    font-size: 0.84rem;
    color: #94A3B8;
}

.crz-sel-mkt-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.crz-sel-curr-switch {
    display: inline-flex;
    align-items: center;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    padding: 3px;
    gap: 2px;
}

.crz-sel-curr-btn {
    border: none;
    background: transparent;
    color: #94A3B8;
    font-family: inherit;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.crz-sel-curr-btn.active {
    background: #00E599;
    color: #031510;
    box-shadow: 0 2px 10px rgba(0, 229, 153, 0.35);
}

.crz-sel-mkt-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: linear-gradient(135deg, #00E599 0%, #059669 100%);
    color: #02140F;
    font-family: inherit;
    font-size: 0.84rem;
    font-weight: 800;
    padding: 9px 16px;
    border-radius: 999px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(0, 229, 153, 0.25);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    white-space: nowrap;
}

.crz-sel-mkt-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(0, 229, 153, 0.36);
}

/* Cinta de precios en vivo */
.crz-sel-ticker-wrap {
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
    background: rgba(5, 11, 22, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 8px 10px;
    margin-bottom: 16px;
    box-sizing: border-box;
}

.crz-sel-ticker {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.crz-sel-ticker::-webkit-scrollbar {
    display: none;
}

.crz-sel-ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 11px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    font-size: 0.78rem;
    white-space: nowrap;
    cursor: pointer;
    flex-shrink: 0;
    transition: border-color 0.18s ease, background 0.18s ease;
}

.crz-sel-ticker-item:hover,
.crz-sel-ticker-item.active {
    border-color: rgba(0, 229, 153, 0.5);
    background: rgba(0, 229, 153, 0.1);
}

.crz-sel-ticker-sym {
    font-weight: 800;
    color: #F8FAFC;
}

.crz-sel-ticker-price {
    color: #CBD5E1;
    font-variant-numeric: tabular-nums;
}

.crz-sel-pos { color: #00E599; font-weight: 700; }
.crz-sel-neg { color: #FB7185; font-weight: 700; }

/* Barra de selección de criptomoneda y temporalidad */
.crz-sel-controls-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.crz-sel-coin-pills {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    max-width: 100%;
    padding-bottom: 4px;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}

.crz-sel-coin-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #CBD5E1;
    font-family: inherit;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    transition: all 0.18s ease;
}

.crz-sel-coin-pill.active {
    background: rgba(0, 229, 153, 0.16);
    border-color: #00E599;
    color: #FFFFFF;
}

.crz-sel-pill-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.crz-sel-tf-pills {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 3px;
}

.crz-sel-tf-btn {
    border: none;
    background: transparent;
    color: #94A3B8;
    font-family: inherit;
    font-size: 0.76rem;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 7px;
    cursor: pointer;
    transition: all 0.18s ease;
}

.crz-sel-tf-btn.active {
    background: rgba(56, 189, 248, 0.18);
    color: #38BDF8;
}

/* Cabecera del par seleccionado + señal */
.crz-sel-pair-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(5, 11, 22, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 12px;
}

.crz-sel-pair-left {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 10px;
}

.crz-sel-pair-name {
    font-size: 1.05rem;
    font-weight: 800;
    color: #FFFFFF;
}

.crz-sel-pair-price {
    font-size: 1.35rem;
    font-weight: 800;
    color: #F8FAFC;
    font-variant-numeric: tabular-nums;
}

.crz-sel-pair-chg {
    font-size: 0.82rem;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 999px;
}

.crz-sel-pair-chg.pos {
    background: rgba(0, 229, 153, 0.14);
    color: #00E599;
}

.crz-sel-pair-chg.neg {
    background: rgba(251, 113, 133, 0.14);
    color: #FB7185;
}

.crz-sel-pair-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    max-width: 440px;
}

.crz-sel-signal-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.76rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.crz-sel-signal-badge.buy {
    background: rgba(0, 229, 153, 0.14);
    border-color: rgba(0, 229, 153, 0.4);
    color: #00E599;
}

.crz-sel-signal-badge.sell {
    background: rgba(251, 113, 133, 0.14);
    border-color: rgba(251, 113, 133, 0.4);
    color: #FB7185;
}

.crz-sel-signal-badge.hold {
    background: rgba(250, 204, 21, 0.14);
    border-color: rgba(250, 204, 21, 0.35);
    color: #FACC15;
}

.crz-sel-signal-note {
    font-size: 0.77rem;
    color: #94A3B8;
    text-align: right;
}

/* Lienzo de gráfica */
.crz-sel-chart-stage {
    position: relative;
    width: 100%;
    height: 265px;
    border-radius: 14px;
    background: rgba(4, 9, 18, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    margin-bottom: 18px;
}

#crz-sel-chart-canvas {
    width: 100%;
    height: 100%;
    display: block;
}

.crz-sel-chart-tooltip {
    position: absolute;
    pointer-events: none;
    background: rgba(7, 16, 32, 0.96);
    border: 1px solid rgba(0, 229, 153, 0.45);
    border-radius: 10px;
    padding: 8px 10px;
    font-size: 0.74rem;
    color: #F8FAFC;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.55);
    z-index: 4;
    min-width: 140px;
}

.crz-sel-chart-tooltip.hidden {
    display: none;
}

/* Cuadrícula de todas las 16 criptomonedas en tiempo real */
.crz-sel-mkt-grid-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.crz-sel-mkt-grid-title {
    font-size: 0.88rem;
    font-weight: 800;
    color: #E2E8F0;
}

.crz-sel-mkt-updated {
    font-size: 0.75rem;
    color: #94A3B8;
}

.crz-sel-mkt-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.crz-sel-coin-card {
    background: rgba(15, 23, 42, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    transition: border-color 0.18s ease, transform 0.18s ease, background 0.18s ease;
    min-width: 0;
}

.crz-sel-coin-card:hover,
.crz-sel-coin-card.active {
    border-color: rgba(0, 229, 153, 0.55);
    background: rgba(0, 229, 153, 0.08);
    transform: translateY(-1px);
}

.crz-sel-coin-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
}

.crz-sel-coin-id {
    display: flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
}

.crz-sel-coin-dot {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 800;
    color: #FFFFFF;
    flex-shrink: 0;
}

.crz-sel-coin-sym {
    font-size: 0.86rem;
    font-weight: 800;
    color: #F8FAFC;
}

.crz-sel-coin-name {
    font-size: 0.72rem;
    color: #94A3B8;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.crz-sel-coin-price {
    font-size: 0.94rem;
    font-weight: 800;
    color: #FFFFFF;
    font-variant-numeric: tabular-nums;
}

.crz-sel-coin-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    font-size: 0.73rem;
}

.crz-sel-coin-cat {
    color: #64748B;
    font-weight: 600;
}

@media (max-width: 980px) {
    .crz-sel-mkt-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .crz-sel-mkt-showcase {
        margin-top: 22px;
        padding: 16px 14px;
        border-radius: 18px;
    }

    .crz-sel-mkt-title {
        font-size: 1.06rem;
    }

    .crz-sel-mkt-actions {
        width: 100%;
        justify-content: space-between;
    }

    .crz-sel-mkt-cta {
        font-size: 0.78rem;
        padding: 8px 13px;
    }

    .crz-sel-pair-right {
        align-items: flex-start;
        max-width: 100%;
    }

    .crz-sel-signal-note {
        text-align: left;
    }

    .crz-sel-pair-price {
        font-size: 1.15rem;
    }

    .crz-sel-chart-stage {
        height: 256px;
    }

    .crz-sel-mkt-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .crz-sel-coin-card {
        padding: 10px;
    }

    .crz-sel-coin-price {
        font-size: 0.84rem;
    }
}

