/* ClutchMX scoped-core - sync-hosted-scoped-css.ps1 */
/* _content/AppBasquet.Web.Client.Shared/Components/Academy/AcademyEvaluacionDetailDrawer.razor.rz.scp.css */
/* Evaluation detail modal — chrome like AvisosModal; root is portaled to <body>
   via clutchBodyPortal.mount so fixed positioning is not clipped by academy ancestors. */

.aed-modal {
    position: fixed;
    inset: 0;
    z-index: 2500;
    display: flex;
    align-items: stretch;
    justify-content: center;
    padding: 0.55rem;
    box-sizing: border-box;
    max-width: 100vw;
    width: 100vw;
    height: 100dvh;
    height: 100vh;
    overflow-x: clip;
    /* Ensure viewport coverage after body portal (not relative to clipped ancestors). */
    margin: 0;
}

.aed-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 4, 12, 0.78);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.aed-modal__panel {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    height: 100%;
    max-height: 100%;
    min-width: 0;
    margin: 0;
    background: linear-gradient(180deg, var(--surface-0, #0d1017) 0%, #080b12 100%);
    color: var(--text-primary, #e8eaed);
    border: 1px solid var(--border-subtle, #2a2f3a);
    border-radius: 16px;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.45);
    overflow: hidden;
    box-sizing: border-box;
}

.aed-modal__head {
    position: sticky;
    top: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: calc(0.55rem + env(safe-area-inset-top, 0px)) 0.75rem 0.55rem;
    border-bottom: 1px solid var(--border-subtle, #2a2f3a);
    background: rgba(13, 16, 23, 0.96);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    min-width: 0;
}

.aed-modal__head-main {
    min-width: 0;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.aed-modal__eyebrow {
    margin: 0;
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--clutch-primary-500, #3b82f6);
}

.aed-modal__close {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(24, 28, 40, 0.9);
    color: var(--text-primary, #e8eaed);
    font-size: 1.65rem;
    line-height: 1;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    padding: 0;
}

.aed-modal__close:hover {
    background: rgba(40, 46, 62, 0.95);
}

.aed-modal__close:focus-visible {
    outline: 2px solid var(--clutch-primary-500, #3b82f6);
    outline-offset: 2px;
}

.aed-modal__body {
    flex: 1 1 auto;
    overflow: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding: 0.85rem 0.85rem calc(1.1rem + env(safe-area-inset-bottom, 0px));
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-height: 0;
    min-width: 0;
}

.aed-identity {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.aed-identity--compact {
    gap: 10px;
    align-items: center;
}

.aed-avatar {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(145deg, #1e3a5f, #2563eb);
    color: #fff;
    font-weight: 700;
    display: grid;
    place-items: center;
    overflow: hidden;
    flex-shrink: 0;
}

.aed-avatar--sm {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    font-size: 0.78rem;
}

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

.aed-name {
    margin: 0;
    font-size: 1.05rem;
    color: var(--text-primary, #e8eaed);
    font-weight: 700;
    line-height: 1.2;
}

.aed-identity--compact .aed-name {
    margin: 0;
}

.aed-meta, .aed-subtitle, .aed-muted, .aed-coach {
    margin: 2px 0 0;
    font-size: .85rem;
    color: var(--text-muted, #9aa3b2);
}

.aed-identity--compact .aed-meta {
    margin: 1px 0 0;
    font-size: 0.78rem;
    line-height: 1.3;
}

.aed-title-line {
    margin: 8px 0 0;
    font-weight: 600;
    color: var(--text-primary, #e8eaed);
}

.aed-badges { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 4px; }

.aed-identity--compact .aed-badges {
    margin-top: 4px;
}

.aed-badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 600;
    border: 1px solid transparent;
}

.aed-badge--ok { color: #6ee7b7; background: rgba(16,185,129,.12); border-color: rgba(16,185,129,.25); }
.aed-badge--draft { color: #fcd34d; background: rgba(245,158,11,.12); border-color: rgba(245,158,11,.25); }
.aed-badge--import { color: #93c5fd; background: rgba(59,130,246,.12); border-color: rgba(59,130,246,.25); }
.aed-badge--pending { color: #fda4af; background: rgba(244,63,94,.12); border-color: rgba(244,63,94,.25); }
.aed-badge--warn { color: #fdba74; background: rgba(249,115,22,.12); border-color: rgba(249,115,22,.25); }

.aed-footer-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
    padding-top: 14px;
    border-top: 1px solid var(--border-subtle, #2a2f3a);
}

.aed-modal .acad-btn {
    appearance: none;
    border: 1px solid var(--border-subtle, #2a2f3a);
    background: var(--surface-2, #1a1f2a);
    color: var(--text-primary, #e8eaed);
    border-radius: 10px;
    padding: 10px 14px;
    min-height: 44px;
    font: inherit;
    cursor: pointer;
}

.aed-modal .acad-btn--primary {
    background: #2563eb;
    border-color: #2563eb;
    color: #fff;
}

.aed-modal .acad-btn--danger {
    color: #fda4af;
    border-color: rgba(244, 63, 94, 0.35);
    background: rgba(244, 63, 94, 0.1);
}

.aed-modal .acad-btn:focus-visible {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

.aed-summary {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 8px;
}

.aed-summary-card {
    background: var(--surface-1, #12151c);
    border: 1px solid var(--border-subtle, #2a2f3a);
    border-radius: 12px;
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.aed-summary-lbl { font-size: .72rem; color: var(--text-muted, #9aa3b2); }
.aed-summary-val { font-size: 1rem; font-weight: 700; color: var(--text-primary, #e8eaed); }

/* Bio strip — ficha rápida */
.aed-bio {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
    gap: 8px;
}

.aed-bio-card {
    background: var(--surface-1, #12151c);
    border: 1px solid var(--border-subtle, #2a2f3a);
    border-radius: 12px;
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.aed-bio-card--accent {
    border-color: rgba(59, 130, 246, 0.35);
    background: linear-gradient(160deg, rgba(37, 99, 235, 0.14), var(--surface-1, #12151c) 70%);
}

.aed-bio-lbl {
    font-size: 0.68rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--text-muted, #9aa3b2);
}

.aed-bio-val {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-primary, #e8eaed);
    line-height: 1.2;
}

.aed-bio-hint {
    font-size: 0.72rem;
    color: #93c5fd;
    font-weight: 600;
}

/* OVR + rating strip (referencia psp-ovr / acad-fifa-ovr) */
.aed-rating {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(245, 177, 0, 0.28);
    background:
        linear-gradient(135deg, rgba(245, 177, 0, 0.12), transparent 55%),
        var(--surface-1, #12151c);
}

.aed-ovr {
    width: 58px;
    height: 58px;
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid rgba(245, 177, 0, 0.4);
    background: linear-gradient(160deg, #2a2108, #141008);
}

.aed-ovr__num {
    font-size: 1.45rem;
    font-weight: 900;
    line-height: 1;
    color: #f5b100;
    letter-spacing: -0.5px;
}

.aed-ovr__lbl {
    font-size: 0.55rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: #f7d77b;
    margin-top: 2px;
}

.aed-ovr--alto {
    border-color: rgba(52, 211, 153, 0.45);
    background: linear-gradient(160deg, rgba(16, 185, 129, 0.22), #0f1410);
}
.aed-ovr--alto .aed-ovr__num { color: #6ee7b7; }
.aed-ovr--alto .aed-ovr__lbl { color: #a7f3d0; }

.aed-ovr--medio {
    border-color: rgba(251, 191, 36, 0.45);
}
.aed-ovr--bajo {
    border-color: rgba(251, 113, 133, 0.4);
    background: linear-gradient(160deg, rgba(225, 29, 72, 0.18), #14080c);
}
.aed-ovr--bajo .aed-ovr__num { color: #fda4af; }
.aed-ovr--bajo .aed-ovr__lbl { color: #fecdd3; }

.aed-rating__title {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--text-primary, #e8eaed);
}

.aed-rating__sub {
    margin: 3px 0 0;
    font-size: 0.78rem;
    color: var(--text-muted, #9aa3b2);
}

/* Attribute tiles — ficha estilo videojuego */
.aed-board {
    padding: 14px;
    border-radius: 14px;
    border: 1px solid var(--border-subtle, #2a2f3a);
    background: linear-gradient(180deg, #161b24, var(--surface-1, #12151c));
}

.aed-board__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}

.aed-board__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
    gap: 8px;
}

.aed-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 10px 8px 8px;
    border-radius: 12px;
    text-align: center;
    background: #0f1218;
    border: 1px solid #2b2b3a;
    min-width: 0;
}

.aed-tile__score {
    font-size: 1.55rem;
    font-weight: 900;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    color: var(--text-primary, #e8eaed);
}

.aed-tile__name {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #9f9fb1;
}

.aed-tile__track {
    width: 100%;
    height: 5px;
    border-radius: 999px;
    background: #262633;
    overflow: hidden;
    margin-top: 2px;
}

.aed-tile__fill {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #2563eb, #60a5fa);
}

.aed-tile__raw {
    font-size: 0.68rem;
    color: var(--text-muted, #9aa3b2);
    line-height: 1.25;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.aed-tile__tier {
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.aed-tile--alto {
    border-color: rgba(16, 185, 129, 0.35);
}
.aed-tile--alto .aed-tile__score { color: #6ee7b7; }
.aed-tile--alto .aed-tile__tier { color: #6ee7b7; }
.aed-tile--alto .aed-tile__fill {
    background: linear-gradient(90deg, #059669, #34d399);
}

.aed-tile--medio {
    border-color: rgba(245, 158, 11, 0.35);
}
.aed-tile--medio .aed-tile__score { color: #fcd34d; }
.aed-tile--medio .aed-tile__tier { color: #fcd34d; }
.aed-tile--medio .aed-tile__fill {
    background: linear-gradient(90deg, #d97706, #fbbf24);
}

.aed-tile--bajo {
    border-color: rgba(244, 63, 94, 0.32);
}
.aed-tile--bajo .aed-tile__score { color: #fda4af; }
.aed-tile--bajo .aed-tile__tier { color: #fda4af; }
.aed-tile--bajo .aed-tile__fill {
    background: linear-gradient(90deg, #e11d48, #fb7185);
}

.aed-section {
    background: var(--surface-1, #12151c);
    border: 1px solid var(--border-subtle, #2a2f3a);
    border-radius: 14px;
    padding: 14px;
}

.aed-section--stats {
    background: linear-gradient(180deg, rgba(26, 31, 42, 0.9), var(--surface-1, #12151c));
}

.aed-section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.aed-section-title {
    margin: 0;
    font-size: .95rem;
    color: var(--text-primary, #e8eaed);
    font-weight: 750;
}

.aed-section-hint {
    font-size: 0.72rem;
    color: var(--text-muted, #9aa3b2);
}

/* Attribute bars — detalle */
.aed-attrs {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.aed-attr__top {
    display: grid;
    grid-template-columns: 1fr auto auto auto;
    gap: 8px;
    align-items: center;
    margin-bottom: 6px;
}

.aed-attr--info .aed-attr__top {
    grid-template-columns: 1fr auto;
}

.aed-attr__lbl {
    font-size: 0.82rem;
    font-weight: 650;
    color: var(--text-primary, #e8eaed);
    min-width: 0;
}

.aed-attr__rating {
    font-size: 0.85rem;
    font-weight: 900;
    font-variant-numeric: tabular-nums;
    min-width: 1.6rem;
    text-align: right;
}

.aed-attr__tier {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 2px 7px;
    border-radius: 999px;
    border: 1px solid transparent;
}

.aed-attr__val {
    font-size: 0.92rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    color: var(--text-primary, #e8eaed);
    min-width: 3.2rem;
    text-align: right;
}

.aed-attr__track {
    height: 8px;
    border-radius: 999px;
    background: #1a1f2a;
    border: 1px solid var(--border-subtle, #2a2f3a);
    overflow: hidden;
}

.aed-attr__fill {
    height: 100%;
    max-width: 100%;
    border-radius: inherit;
    transition: width 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.aed-attr__sub {
    margin: 5px 0 0;
    font-size: 0.75rem;
    color: var(--text-muted, #9aa3b2);
}

.aed-attr--alto .aed-attr__tier {
    color: #6ee7b7;
    background: rgba(16, 185, 129, 0.14);
    border-color: rgba(16, 185, 129, 0.3);
}
.aed-attr--alto .aed-attr__rating { color: #6ee7b7; }
.aed-attr--alto .aed-attr__fill {
    background: linear-gradient(90deg, #059669, #34d399);
}

.aed-attr--medio .aed-attr__tier {
    color: #fcd34d;
    background: rgba(245, 158, 11, 0.14);
    border-color: rgba(245, 158, 11, 0.3);
}
.aed-attr--medio .aed-attr__rating { color: #fcd34d; }
.aed-attr--medio .aed-attr__fill {
    background: linear-gradient(90deg, #d97706, #fbbf24);
}

.aed-attr--bajo .aed-attr__tier {
    color: #fda4af;
    background: rgba(244, 63, 94, 0.12);
    border-color: rgba(244, 63, 94, 0.28);
}
.aed-attr--bajo .aed-attr__rating { color: #fda4af; }
.aed-attr--bajo .aed-attr__fill {
    background: linear-gradient(90deg, #e11d48, #fb7185);
}

.aed-attr--info .aed-attr__val {
    color: #93c5fd;
}

.aed-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 10px;
}

.aed-metric-lbl { display: block; font-size: .72rem; color: var(--text-muted, #9aa3b2); }
.aed-metric-val { display: block; font-weight: 600; color: var(--text-primary, #e8eaed); white-space: pre-line; }

.aed-compare-list { display: flex; flex-direction: column; gap: 10px; }
.aed-compare-item {
    border-left: 3px solid #64748b;
    padding: 8px 10px;
    background: rgba(255,255,255,.02);
    border-radius: 0 10px 10px 0;
}
.aed-compare--mejoro { border-left-color: #10b981; }
.aed-compare--empeoro { border-left-color: #ef4444; }
.aed-compare--sin_cambio { border-left-color: #64748b; }
.aed-compare-top { display: flex; justify-content: space-between; gap: 8px; }
.aed-compare-msg { margin: 4px 0 0; font-size: .82rem; color: var(--text-muted, #9aa3b2); }

.aed-import {
    border: 1px solid var(--border-subtle, #2a2f3a);
    border-radius: 12px;
    padding: 10px 12px;
    background: var(--surface-1, #12151c);
    color: var(--text-muted, #9aa3b2);
}
.aed-import summary { cursor: pointer; font-weight: 600; color: var(--text-primary, #e8eaed); }
.aed-import-dl { margin: 10px 0 0; display: grid; gap: 6px; }
.aed-import-dl div { display: grid; grid-template-columns: 120px 1fr; gap: 8px; font-size: .85rem; }
.aed-import-dl dt { color: var(--text-muted, #9aa3b2); }
.aed-import-dl dd { margin: 0; color: var(--text-primary, #e8eaed); word-break: break-word; }

.aed-section--admin {
    background: rgba(18, 21, 28, 0.85);
}

.aed-registro-dl {
    margin: 10px 0 0;
    display: grid;
    gap: 8px;
}

.aed-registro-dl div {
    display: grid;
    grid-template-columns: minmax(110px, 38%) 1fr;
    gap: 8px;
    font-size: 0.85rem;
    align-items: start;
}

.aed-registro-dl dt {
    margin: 0;
    color: var(--text-muted, #9aa3b2);
    font-weight: 600;
}

.aed-registro-dl dd {
    margin: 0;
    color: var(--text-primary, #e8eaed);
    word-break: break-word;
}

.aed-historial-cta { display: flex; }
.aed-hist-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.aed-hist-link {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    min-height: 44px;
    border-radius: 10px;
    border: 1px solid var(--border-subtle, #2a2f3a);
    background: transparent;
    color: var(--text-primary, #e8eaed);
    cursor: pointer;
    text-align: left;
}
.aed-hist-link:hover { background: rgba(59,130,246,.08); }
.aed-hist-link:focus-visible { outline: 2px solid var(--clutch-primary-500, #3b82f6); }

.aed-chart { margin-top: 12px; }
.aed-chart-head { display: flex; justify-content: space-between; gap: 8px; font-size: .85rem; margin-bottom: 6px; color: var(--text-muted, #9aa3b2); }
.aed-spark { display: flex; align-items: flex-end; gap: 4px; height: 56px; }
.aed-bar {
    flex: 1;
    min-width: 6px;
    height: var(--h, 20%);
    background: linear-gradient(180deg, #3b82f6, #1e3a5f);
    border-radius: 4px 4px 0 0;
}

.aed-error { color: #fda4af; margin: 0; }
.aed-obs { margin: 0; color: var(--text-primary, #e8eaed); white-space: pre-wrap; }

.aed-skeleton {
    background: linear-gradient(90deg, #171b24, #1f2530, #171b24);
    background-size: 200% 100%;
    animation: aed-shimmer-b-luxk803ho6 1.2s infinite;
    border-radius: 10px;
}
.aed-skeleton--head { height: 52px; }
.aed-skeleton--block { height: 96px; }
@keyframes aed-shimmer-b-luxk803ho6 {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

@media (max-width: 430px) {
    .aed-modal {
        padding: 0.4rem;
    }

    .aed-modal__panel {
        border-radius: 14px;
    }

    .aed-modal__head {
        padding: calc(0.45rem + env(safe-area-inset-top, 0px)) 0.65rem 0.45rem;
        gap: 0.35rem;
    }

    .aed-name {
        font-size: 0.98rem;
    }

    .aed-avatar--sm {
        width: 36px;
        height: 36px;
        border-radius: 9px;
        font-size: 0.7rem;
    }

    .aed-modal__body {
        padding: 0.7rem 0.7rem calc(0.95rem + env(safe-area-inset-bottom, 0px));
        gap: 12px;
    }

    .aed-board {
        padding: 12px;
    }

    .aed-board__grid {
        grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
        gap: 6px;
    }

    .aed-tile {
        padding: 8px 6px 6px;
    }

    .aed-tile__score {
        font-size: 1.35rem;
    }

    .aed-attr__top {
        grid-template-columns: 1fr auto;
        grid-template-areas:
            "lbl val"
            "rating tier";
    }

    .aed-attr__lbl { grid-area: lbl; }
    .aed-attr__val { grid-area: val; }
    .aed-attr__rating { grid-area: rating; text-align: left; }
    .aed-attr__tier { grid-area: tier; justify-self: end; }

    .aed-registro-dl div {
        grid-template-columns: 1fr;
        gap: 2px;
    }

    .aed-footer-actions {
        flex-direction: column;
    }

    .aed-footer-actions .acad-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (min-width: 768px) {
    .aed-modal {
        align-items: center;
        padding: 1.25rem;
    }

    .aed-modal__panel {
        width: min(100%, 720px);
        max-width: 720px;
        height: auto;
        max-height: min(92vh, 880px);
        border-radius: 18px;
        box-shadow:
            0 24px 80px rgba(0, 0, 0, 0.55),
            0 0 0 1px rgba(59, 130, 246, 0.12);
    }

    .aed-modal__head {
        border-radius: 18px 18px 0 0;
        padding: 0.75rem 1.15rem 0.7rem;
    }

    .aed-name {
        font-size: 1.15rem;
    }

    .aed-board__grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }

    .aed-modal__body {
        padding: 1rem 1.25rem 1.25rem;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .aed-modal__backdrop {
        animation: aed-modal-fade-b-luxk803ho6 0.22s ease;
    }

    .aed-modal__panel {
        animation: aed-modal-rise-b-luxk803ho6 0.28s cubic-bezier(0.22, 1, 0.36, 1);
    }
}

@keyframes aed-modal-fade-b-luxk803ho6 {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes aed-modal-rise-b-luxk803ho6 {
    from {
        opacity: 0.85;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 767px) and (prefers-reduced-motion: no-preference) {
    .aed-modal__panel {
        animation: aed-modal-sheet-b-luxk803ho6 0.28s cubic-bezier(0.22, 1, 0.36, 1);
    }
}

@keyframes aed-modal-sheet-b-luxk803ho6 {
    from {
        transform: translateY(8%);
    }
    to {
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .aed-modal__backdrop,
    .aed-modal__panel,
    .aed-skeleton,
    .aed-attr__fill {
        animation: none;
        transition: none;
    }
}

/* _content/AppBasquet.Web.Client.Shared/Components/Academy/AcademyEvaluacionesPanel.razor.rz.scp.css */
.acad-eval-panel { display: flex; flex-direction: column; gap: 14px; }

.acad-eval-hero {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: space-between;
    align-items: flex-start;
}

.acad-eval-title {
    margin: 0;
    font-size: 1.45rem;
    font-weight: 750;
    color: var(--text-primary, #e8eaed);
}

.acad-eval-sub {
    margin: 6px 0 0;
    max-width: 52ch;
    color: var(--text-muted, #9aa3b2);
    font-size: .92rem;
}

.acad-eval-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

.acad-eval-kpis {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

@media (max-width: 900px) {
    .acad-eval-kpis { grid-template-columns: 1fr; }
}

.acad-kpi-card {
    background: var(--surface-1, #12151c);
    border: 1px solid var(--border-subtle, #2a2f3a);
    border-radius: 14px;
    padding: 14px 16px;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-areas:
        "ico num"
        "ico lbl"
        "ico hint";
    column-gap: 12px;
    row-gap: 2px;
    position: relative;
    overflow: hidden;
}

.acad-kpi-card::before {
    content: "";
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    background: #64748b;
}

.acad-kpi-card.accent::before { background: #3b82f6; }
.acad-kpi-card.gold::before { background: #f59e0b; }
.acad-kpi-card.green::before { background: #10b981; }

.acad-kpi-ico { grid-area: ico; align-self: center; color: var(--text-muted, #9aa3b2); font-size: 28px !important; }
.acad-kpi-num { grid-area: num; font-size: 1.6rem; font-weight: 750; color: var(--text-primary, #e8eaed); }
.acad-kpi-lbl { grid-area: lbl; font-size: .88rem; color: var(--text-primary, #e8eaed); }
.acad-kpi-hint { grid-area: hint; font-size: .75rem; color: var(--text-muted, #9aa3b2); }

.acad-eval-filters {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 8px;
    align-items: center;
}

.acad-eval-empty {
    text-align: center;
    padding: 40px 16px;
    border: 1px dashed var(--border-subtle, #2a2f3a);
    border-radius: 16px;
    background: var(--surface-1, #12151c);
}
.acad-eval-empty h3 { margin: 0 0 8px; color: var(--text-primary, #e8eaed); }
.acad-eval-empty p { margin: 0 0 16px; color: var(--text-muted, #9aa3b2); }
.acad-eval-empty .acad-eval-actions { justify-content: center; }

.acad-eval-player { display: flex; gap: 10px; align-items: center; }
.acad-eval-av {
    width: 40px; height: 40px; border-radius: 12px;
    display: grid; place-items: center;
    background: linear-gradient(145deg, #1e3a5f, #2563eb);
    color: #fff; font-weight: 700; font-size: .85rem; flex-shrink: 0;
}
.acad-eval-player-name { font-weight: 650; color: var(--text-primary, #e8eaed); }
.acad-eval-player-meta { font-size: .78rem; color: var(--text-muted, #9aa3b2); }

.acad-eval-metrics-inline {
    display: flex; flex-wrap: wrap; gap: 6px 10px;
    font-size: .8rem; color: var(--text-muted, #9aa3b2);
}
.acad-eval-metrics-inline span {
    background: rgba(255,255,255,.03);
    border: 1px solid var(--border-subtle, #2a2f3a);
    border-radius: 8px;
    padding: 2px 8px;
}

.acad-eval-row { cursor: pointer; }
.acad-eval-row:hover { background: rgba(59,130,246,.06); }

.acad-eval-menu { position: relative; display: inline-block; }
.acad-eval-menu-pop {
    position: absolute;
    right: 0;
    top: calc(100% + 4px);
    z-index: 20;
    min-width: 180px;
    background: var(--surface-0, #0d1017);
    border: 1px solid var(--border-subtle, #2a2f3a);
    border-radius: 12px;
    padding: 6px;
    box-shadow: 0 12px 30px rgba(0,0,0,.45);
    display: flex;
    flex-direction: column;
}
.acad-eval-menu-pop button {
    appearance: none;
    border: none;
    background: transparent;
    color: var(--text-primary, #e8eaed);
    text-align: left;
    padding: 10px 12px;
    min-height: 44px;
    border-radius: 8px;
    cursor: pointer;
    font: inherit;
}
.acad-eval-menu-pop button:hover { background: rgba(59,130,246,.1); }
.acad-eval-menu-pop button.danger { color: #fda4af; }

.acad-eval-card {
    background: var(--surface-1, #12151c);
    border: 1px solid var(--border-subtle, #2a2f3a);
    border-radius: 16px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.acad-eval-card-top { display: flex; justify-content: space-between; gap: 8px; align-items: flex-start; }
.acad-eval-card-title { font-weight: 650; color: var(--text-primary, #e8eaed); }
.acad-eval-card-actions { display: flex; gap: 8px; align-items: center; margin-top: 4px; }

.acad-eval-pager {
    display: flex; gap: 12px; align-items: center; justify-content: center;
    color: var(--text-muted, #9aa3b2); flex-wrap: wrap;
}

.acad-eval-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 10px;
    margin-bottom: 12px;
}

.acad-eval-section {
    border: 1px solid var(--border-subtle, #2a2f3a);
    border-radius: 8px;
    margin-bottom: 10px;
    padding: 8px 12px;
    background: var(--surface-1, #12151c);
}

.acad-eval-section summary {
    cursor: pointer;
    font-weight: 600;
    color: var(--text-primary, #e8eaed);
}

.acad-eval-metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 8px;
    margin-top: 10px;
}

.acad-eval-obs { display: block; margin-top: 10px; }
.acad-eval-form-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }

.acad-eval-bulk-scroll {
    overflow-x: auto;
    margin: 12px 0;
    -webkit-overflow-scrolling: touch;
}

.acad-eval-progress-row {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 8px;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-subtle, #2a2f3a);
}
.acad-eval-progress-row .aed-spark { grid-column: 1 / -1; }

.acad-eval-skeleton-grid { display: grid; gap: 10px; }
.acad-eval-skeleton-grid .aed-skeleton {
    background: linear-gradient(90deg, #171b24, #1f2530, #171b24);
    background-size: 200% 100%;
    animation: aed-shimmer 1.2s infinite;
    border-radius: 10px;
    height: 88px;
}

@media (max-width: 767px) {
    .acad-eval-desktop { display: none; }
    .acad-eval-mobile { display: flex; flex-direction: column; gap: 10px; }
}

@media (min-width: 768px) {
    .acad-eval-desktop { display: block; }
    .acad-eval-mobile { display: none; }
}

/* Ensure acad buttons never fall back to browser native white */
.acad-eval-panel .acad-btn {
    appearance: none;
    border: 1px solid var(--border-subtle, #2a2f3a);
    background: var(--surface-2, #1a1f2a);
    color: var(--text-primary, #e8eaed);
    border-radius: 10px;
    padding: 10px 14px;
    min-height: 44px;
    font: inherit;
    cursor: pointer;
}
.acad-eval-panel .acad-btn--primary {
    background: #2563eb;
    border-color: #2563eb;
    color: #fff;
}
.acad-eval-panel .acad-btn--sm {
    min-height: 36px;
    padding: 6px 10px;
}
.acad-eval-panel .acad-btn:focus-visible {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}
.acad-eval-panel .acad-btn:disabled {
    opacity: .45;
    cursor: not-allowed;
}
.acad-eval-panel .acad-input {
    appearance: none;
    background: var(--surface-0, #0d1017);
    border: 1px solid var(--border-subtle, #2a2f3a);
    color: var(--text-primary, #e8eaed);
    border-radius: 10px;
    padding: 10px 12px;
    min-height: 44px;
    font: inherit;
    width: 100%;
}

/* _content/AppBasquet.Web.Client.Shared/Components/Academy/AcademyMemberRoleModal.razor.rz.scp.css */
.acad-role-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
    z-index: 4000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.acad-role-modal {
    background: #14141c;
    border: 1px solid #2a2a38;
    border-radius: 16px;
    max-width: 520px;
    width: 100%;
    max-height: 90vh;
    overflow: auto;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
}

.acad-role-modal__head {
    padding: 18px 20px;
    border-bottom: 1px solid #2a2a38;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.acad-role-modal__head h2 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
    color: #f4f4f5;
}

.acad-role-modal__body {
    padding: 18px 20px;
    color: #c4c4d0;
    font-size: 0.88rem;
    line-height: 1.45;
}

.acad-role-modal__muted { color: #888; margin: 0; }
.acad-role-modal__warn {
    padding: 10px 12px;
    background: #1a1a24;
    border-radius: 10px;
    border: 1px solid #2e2e3d;
    color: #f59e0b;
}
.acad-role-modal__label {
    display: block;
    margin: 12px 0 6px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #71717a;
}
.acad-role-modal__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.acad-role-card {
    border: 1px solid rgba(255, 107, 44, 0.25);
    border-radius: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.02);
}
.acad-role-card__title { margin: 0; font-weight: 800; color: #f4f4f5; }
.acad-role-card__meta { margin: 4px 0 0; font-size: 0.78rem; color: #71717a; }
.acad-role-card__hint { margin: 8px 0 0; font-size: 0.82rem; color: #a1a1aa; }
.acad-role-card__perms { margin: 8px 0 0; padding-left: 18px; font-size: 0.8rem; }

.acad-role-perms, .acad-role-teams {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 10px 0;
}
.acad-role-perms label, .acad-role-teams label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
}

@media (max-width: 480px) {
    .acad-role-modal { max-width: 100%; }
}

/* _content/AppBasquet.Web.Client.Shared/Components/Academy/AcademyPlayerAccessModal.razor.rz.scp.css */
/* AcademyPlayerAccessModal — dark academy theme */
.acad-access-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1300;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 24px;
    overflow: auto;
}

.acad-access-modal {
    width: min(520px, 100%);
    margin-top: 40px;
    background: #12161c;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 18px 20px 22px;
    color: #e8eaed;
}

.acad-access-modal__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.acad-access-modal__head h2 {
    margin: 0;
    font-size: 1.15rem;
}

.acad-access-modal__hint,
.acad-access-modal__muted {
    font-size: 0.85rem;
    opacity: 0.75;
    margin: 0 0 12px;
    line-height: 1.4;
}

.acad-access-form {
    display: grid;
    gap: 10px;
    margin: 12px 0;
}

.acad-access-form label {
    display: grid;
    gap: 4px;
    font-size: 0.8rem;
}

.acad-access-check {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 8px;
}

.acad-access-meta {
    display: grid;
    gap: 8px;
    margin: 0 0 12px;
}

.acad-access-meta > div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 6px;
}

.acad-access-meta dt {
    opacity: 0.65;
}

.acad-access-meta dd {
    margin: 0;
    font-weight: 600;
}

.acad-access-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.acad-access-temp {
    margin-top: 14px;
    padding: 12px;
    border: 1px solid rgba(251, 191, 36, 0.45);
    border-radius: 8px;
    background: rgba(251, 191, 36, 0.08);
}

.acad-access-temp code {
    display: block;
    margin: 8px 0;
    font-size: 1.05rem;
    letter-spacing: 0.04em;
    word-break: break-all;
}

/* _content/AppBasquet.Web.Client.Shared/Components/Analytics/UtmShareLinksPanel.razor.rz.scp.css */
.utm-share-panel {
    margin-top: 12px;
    padding: 14px 16px;
    border: 1px solid rgba(145, 71, 255, 0.35);
    border-radius: 12px;
    background: rgba(8, 8, 16, 0.55);
}

.utm-share-panel__title {
    margin: 0 0 6px;
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #e8e0ff;
}

.utm-share-panel__desc {
    margin: 0 0 10px;
    font-size: 0.78rem;
    color: #9a9ab0;
    line-height: 1.45;
}

.utm-share-panel__base,
.utm-share-panel__campaign {
    margin: 0 0 8px;
    font-size: 0.72rem;
    color: #8a8aa0;
}

.utm-share-panel__base-label {
    display: block;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 4px;
}

.utm-share-panel__base-url {
    display: block;
    word-break: break-all;
    font-size: 0.7rem;
    color: #c4b8ff;
}

.utm-share-panel__grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.utm-share-panel__row {
    display: grid;
    grid-template-columns: minmax(96px, 120px) 1fr auto;
    gap: 8px;
    align-items: center;
}

.utm-share-panel__channel {
    font-size: 0.75rem;
    font-weight: 700;
    color: #ddd;
    white-space: nowrap;
}

.utm-share-panel__input {
    width: 100%;
    min-width: 0;
    padding: 6px 8px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.35);
    color: #bbb;
    font-size: 0.68rem;
}

.utm-share-panel__copy {
    min-height: 32px;
    padding: 0 12px;
    border-radius: 8px;
    border: 1px solid rgba(145, 71, 255, 0.5);
    background: rgba(145, 71, 255, 0.15);
    color: #e8dcff;
    font-size: 0.72rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}

.utm-share-panel__copy--ok {
    border-color: rgba(72, 199, 142, 0.6);
    background: rgba(72, 199, 142, 0.15);
    color: #b8f5d8;
}

@media (max-width: 640px) {
    .utm-share-panel__row {
        grid-template-columns: 1fr;
    }
}

/* _content/AppBasquet.Web.Client.Shared/Components/ApiEnvironmentSelector.razor.rz.scp.css */
.api-env-toolbar {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: 8px;
}

.api-env-badge {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    padding: 2px 8px;
    border-radius: 4px;
    color: #fff;
}

.api-env-badge--local {
    background: #2e7d32;
}

.api-env-badge--prod {
    background: #c62828;
}

.api-env-badge--staging {
    background: #ef6c00;
}

.api-env-select {
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(0, 0, 0, 0.35);
    color: #fff;
    max-width: 220px;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* _content/AppBasquet.Web.Client.Shared/Components/ClutchPanelLoader.razor.rz.scp.css */
.clutch-panel-loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: min(100dvh, 720px);
    padding: 32px 20px;
    background: #050508;
    color: #e4e4e7;
    text-align: center;
    contain: layout style;
}

.clutch-panel-loader__spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(100, 255, 154, 0.15);
    border-top-color: #64ff9a;
    border-radius: 50%;
    animation: clutch-panel-spin-b-d7117k9tem 0.75s linear infinite;
}

@keyframes clutch-panel-spin-b-d7117k9tem {
    to { transform: rotate(360deg); }
}

.clutch-panel-loader__title {
    margin: 0;
    font-size: 1rem;
    font-weight: 800;
    color: #f4f4f5;
}

.clutch-panel-loader__sub {
    margin: 0;
    font-size: 0.82rem;
    color: #71717a;
    font-weight: 600;
}

.clutch-panel-loader__error {
    margin: 0;
    font-size: 0.92rem;
    color: #fca5a5;
    font-weight: 700;
    max-width: 22rem;
}

.clutch-panel-loader__retry {
    margin-top: 4px;
    min-height: 44px;
    padding: 0 20px;
    border: 1px solid rgba(100, 255, 154, 0.35);
    border-radius: 999px;
    background: rgba(100, 255, 154, 0.1);
    color: #64ff9a;
    font-size: 0.85rem;
    font-weight: 800;
    cursor: pointer;
    font-family: inherit;
}

.clutch-panel-loader__retry:hover {
    background: rgba(100, 255, 154, 0.18);
}

/* _content/AppBasquet.Web.Client.Shared/Components/GlobalSearchBar.razor.rz.scp.css */
/* ── Global Search Bar ── */

.gsearch-wrap {
    position: relative;
    width: 100%;
    max-width: 380px;
}

.gsearch-input-row {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 8px 12px;
    min-height: 44px;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.gsearch-wrap--active .gsearch-input-row,
.gsearch-input-row:focus-within {
    border-color: rgba(100, 255, 154, 0.5);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(100, 255, 154, 0.12);
}

.gsearch-icon {
    font-size: 0.85rem;
    flex-shrink: 0;
    opacity: 0.55;
}

.gsearch-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #e0e0e0;
    font-size: 0.85rem;
    font-weight: 500;
    font-family: inherit;
    min-width: 0;
}

.gsearch-input::placeholder {
    color: #555;
}

.gsearch-clear {
    background: none;
    border: none;
    color: #888;
    cursor: pointer;
    font-size: 0.85rem;
    min-width: 44px;
    min-height: 44px;
    margin: -8px -6px -8px 0;
    padding: 0;
    border-radius: 8px;
    flex-shrink: 0;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: color 0.15s, background 0.15s;
}

.gsearch-clear:hover,
.gsearch-clear:focus-visible {
    color: #eee;
    background: rgba(255, 255, 255, 0.08);
    outline: none;
}

.gsearch-backdrop {
    position: fixed;
    inset: 0;
    z-index: 900;
}

.gsearch-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: linear-gradient(158deg, #18182a 0%, #0e0e1a 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(100, 255, 154, 0.08);
    z-index: 901;
    overflow: hidden;
    animation: gsearch-drop-b-96k28aneuk 0.18s cubic-bezier(0.4, 0, 0.2, 1);
    max-height: 70dvh;
    overflow-y: auto;
}

@keyframes gsearch-drop-b-96k28aneuk {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .gsearch-dropdown {
        animation: none;
    }
}

/* Drawer móvil: resultados en flujo, justo bajo el input */
.gsearch-wrap--drawer {
    max-width: 100%;
}

.gsearch-wrap--drawer .gsearch-dropdown--drawer {
    position: relative;
    top: 0;
    margin-top: 10px;
    max-height: none;
    border-radius: 14px;
    box-shadow: none;
    z-index: 1;
    animation: none;
}

.gsearch-state {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 22px 16px;
    font-size: 0.82rem;
    color: #888;
}

.gsearch-state--empty {
    color: #888;
}

.gsearch-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(100, 255, 154, 0.2);
    border-top-color: var(--accent, var(--clutch-green-soft, #23d96c));
    border-radius: 50%;
    animation: gspin-b-96k28aneuk 0.7s linear infinite;
}

@keyframes gspin-b-96k28aneuk {
    to {
        transform: rotate(360deg);
    }
}

.gsearch-section {
    padding: 6px 0;
}

.gsearch-section + .gsearch-section {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.gsearch-section-head {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px 4px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #8b8bab;
}

.gsearch-section-emoji {
    font-size: 0.85rem;
    opacity: 0.9;
}

.gsearch-item {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 52px;
    padding: 8px 14px;
    background: transparent;
    border: none;
    color: #ddd;
    cursor: pointer;
    text-align: left;
    box-sizing: border-box;
    transition: background 0.12s;
}

.gsearch-item:hover,
.gsearch-item:focus-visible {
    background: rgba(100, 255, 154, 0.08);
    outline: none;
}

.gsearch-item:active {
    background: rgba(100, 255, 154, 0.12);
}

.gsearch-item-media {
    position: relative;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
}

.gsearch-item-logo {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    object-fit: contain;
    background: #fff;
    padding: 2px;
    flex-shrink: 0;
    display: block;
}

.gsearch-item-logo--avatar {
    border-radius: 50%;
    object-fit: cover;
    padding: 0;
    background: #1a1a24;
}

.gsearch-item-logo.is-broken {
    display: none;
}

.gsearch-item-fallback {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(100, 255, 154, 0.12);
    border: 1px solid rgba(100, 255, 154, 0.22);
    color: var(--clutch-green-light, #8ae8b0);
    font-size: 0.68rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    letter-spacing: 0.02em;
}

.gsearch-item-media .gsearch-item-logo:not(.is-broken) ~ .gsearch-item-fallback {
    display: none;
}

.gsearch-item-text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.gsearch-item-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #f0f0f5;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gsearch-item-sub {
    font-size: 0.75rem;
    color: #9a9ab0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gsearch-item-arrow {
    font-size: 1.15rem;
    color: #555;
    flex-shrink: 0;
    transition: color 0.12s, transform 0.12s;
}

.gsearch-item:hover .gsearch-item-arrow {
    color: var(--clutch-green-soft, #23d96c);
    transform: translateX(2px);
}

.gsearch-footer {
    padding: 6px 10px 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.gsearch-footer-btn {
    width: 100%;
    min-height: 44px;
    padding: 10px;
    background: rgba(100, 255, 154, 0.08);
    border: 1px solid rgba(100, 255, 154, 0.22);
    border-radius: 10px;
    color: var(--clutch-green, #64ff9a);
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    transition: background 0.15s;
}

.gsearch-footer-btn:hover,
.gsearch-footer-btn:focus-visible {
    background: rgba(100, 255, 154, 0.15);
    outline: none;
}

@media (max-width: 900px) {
    .gsearch-wrap {
        max-width: 100%;
    }
}

/* _content/AppBasquet.Web.Client.Shared/Components/Home/AvisosCompactCarousel.razor.rz.scp.css */
.avc-root {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 0;
    height: auto;
    flex: 0 1 auto;
    overflow-x: clip;
    box-sizing: border-box;
}

.avc-hero {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    min-width: 0;
    max-width: 100%;
    height: auto;
    outline: none;
}

.avc-stage {
    position: relative;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    /* Prefer taller stage so portrait flyers fill height (side bars instead of crushing the flyer) */
    min-height: min(52dvh, 380px);
    height: min(56dvh, 420px);
    max-height: min(60dvh, 460px);
    overflow: hidden;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #05070c;
    touch-action: pan-y;
    user-select: none;
    -webkit-user-select: none;
    box-sizing: border-box;
}

.avc-stage__frame {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    max-width: 100%;
    gap: 0;
    min-width: 0;
    box-sizing: border-box;
}

.avc-stage__frame--multi {
    gap: 0;
    padding: 0;
}

.avc-stage--skel {
    background: linear-gradient(90deg, #141820 25%, #1e2430 50%, #141820 75%);
    background-size: 200% 100%;
    animation: avc-shimmer-b-v56ea1o02r 1.2s ease-in-out infinite;
    border: 0;
}

.avc-main {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 auto;
    width: 100%;
    max-width: 100%;
    height: 100%;
    margin: 0;
    padding: 0.4rem;
    border: 0;
    border-radius: 0;
    background: #05070c;
    cursor: zoom-in;
    box-sizing: border-box;
    min-width: 0;
    appearance: none;
    -webkit-appearance: none;
    font: inherit;
    color: inherit;
}

.avc-main:focus-visible {
    outline: 2px solid var(--clutch-green, #64ff9a);
    outline-offset: -2px;
}

.avc-main img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
    pointer-events: none;
}

.avc-peek {
    display: none;
    flex: 0 0 0;
    width: 0;
    max-width: 0;
    height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.avc-peek img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    pointer-events: none;
    filter: brightness(0.72);
}

.avc-arrow {
    position: absolute;
    top: 50%;
    z-index: 3;
    transform: translateY(-50%);
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(12, 16, 26, 0.82);
    color: #f4f4f5;
    font-size: 1.55rem;
    line-height: 1;
    cursor: pointer;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    padding: 0;
    appearance: none;
    -webkit-appearance: none;
}

.avc-arrow--prev { left: 0.45rem; }
.avc-arrow--next { right: 0.45rem; }

.avc-arrow:hover {
    background: rgba(28, 34, 48, 0.95);
    border-color: rgba(100, 255, 154, 0.45);
}

.avc-arrow:focus-visible {
    outline: 2px solid var(--clutch-green, #64ff9a);
    outline-offset: 2px;
}

.avc-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.2rem;
    padding: 0;
    margin: 0;
    max-width: 100%;
    min-height: 0;
    flex: 0 0 auto;
}

/* Empty buttons inherit body line-height and look like tall bars / a switch.
   Visible mark is ::after; hit target stays ~24px without stretching. */
.avc-dot {
    position: relative;
    display: block;
    flex: 0 0 auto;
    width: 24px;
    height: 24px;
    min-width: 24px;
    min-height: 24px;
    max-width: 24px;
    max-height: 24px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    line-height: 0;
    font-size: 0;
    overflow: visible;
    box-sizing: border-box;
}

.avc-dot::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: rgba(161, 161, 170, 0.55);
    transform: translate(-50%, -50%);
    transition: width 0.18s ease, background-color 0.18s ease;
}

.avc-dot--active::after {
    width: 22px;
    background: var(--clutch-green, #64ff9a);
}

.avc-dot:focus-visible {
    outline: 2px solid var(--clutch-green, #64ff9a);
    outline-offset: 2px;
    border-radius: 8px;
}

.avc-meta {
    display: flex;
    flex-direction: column;
    gap: 0.18rem;
    padding: 0 0.15rem;
    text-align: center;
    min-width: 0;
    flex: 0 0 auto;
}

.avc-meta__title {
    margin: 0;
    font-size: 0.98rem;
    font-weight: 750;
    line-height: 1.3;
    color: #f4f4f5;
    overflow-wrap: anywhere;
}

.avc-meta__row {
    margin: 0;
    font-size: 0.78rem;
    color: rgba(244, 244, 245, 0.68);
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    align-items: center;
    justify-content: center;
}

.avc-meta__liga {
    color: var(--clutch-green-light, #8ae8b0);
    font-weight: 600;
}

.avc-meta__hint {
    margin: 0;
    font-size: 0.68rem;
    line-height: 1.25;
    font-weight: 450;
    color: rgba(244, 244, 245, 0.36);
}

.avc-meta--skel {
    align-items: center;
    gap: 0.45rem;
}

.avc-skel-line {
    border-radius: 6px;
    background: linear-gradient(90deg, #141820 25%, #1e2430 50%, #141820 75%);
    background-size: 200% 100%;
    animation: avc-shimmer-b-v56ea1o02r 1.2s ease-in-out infinite;
}

.avc-skel-line--title {
    width: min(70%, 280px);
    height: 1rem;
}

.avc-skel-line--meta {
    width: min(42%, 160px);
    height: 0.7rem;
}

.avc-empty {
    margin: 0;
    padding: 2rem 0.5rem;
    text-align: center;
    color: rgba(244, 244, 245, 0.7);
    font-size: 0.95rem;
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.avc-empty--error {
    color: #fca5a5;
}

.avc-footer {
    display: flex;
    justify-content: center;
    padding-top: 0.15rem;
}

.avc-all {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.55rem 1.1rem;
    border-radius: 10px;
    border: 1px solid rgba(100, 255, 154, 0.35);
    background: rgba(100, 255, 154, 0.12);
    color: var(--clutch-green-light, #8ae8b0);
    font-weight: 700;
    font-size: 0.88rem;
    text-decoration: none;
}

.avc-all:hover {
    background: rgba(100, 255, 154, 0.2);
}

@keyframes avc-shimmer-b-v56ea1o02r {
    0% { background-position: 100% 0; }
    100% { background-position: -100% 0; }
}

/* Phones: swipe + dots; arrows stay hidden to avoid covering the flyer */
@media (max-width: 430px) {
    .avc-root {
        flex: 0 1 auto;
        height: auto;
        min-height: 0;
        gap: 0.5rem;
    }

    .avc-hero {
        gap: 0.3rem;
        height: auto;
    }

    .avc-stage {
        /* Auto height from aspect-ratio — no tall fixed min-height empty zone */
        min-height: 0;
        height: auto;
        max-height: min(52dvh, 360px);
        aspect-ratio: 3 / 4;
        border-radius: 12px;
    }

    .avc-main {
        padding: 0.25rem;
    }

    .avc-dots {
        gap: 0.1rem;
        padding: 0;
    }

    .avc-meta {
        gap: 0.12rem;
    }

    .avc-meta__title {
        font-size: 0.9rem;
        line-height: 1.25;
    }

    .avc-meta__row {
        font-size: 0.74rem;
    }

    .avc-meta__hint {
        margin: 0;
        font-size: 0.64rem;
        color: rgba(244, 244, 245, 0.32);
    }
}

@media (min-width: 431px) and (max-width: 767px) {
    .avc-arrow {
        display: inline-flex;
        width: 38px;
        height: 38px;
        opacity: 0.9;
    }
}

@media (min-width: 768px) {
    .avc-root {
        flex: 1 1 auto;
    }

    .avc-stage {
        min-height: min(56vh, 460px);
        height: min(60vh, 540px);
        max-height: min(68vh, 620px);
    }

    .avc-stage__frame--multi {
        gap: 0.55rem;
        padding: 0 0.2rem;
    }

    .avc-peek {
        display: block;
        flex: 0 0 12%;
        width: auto;
        max-width: 120px;
        height: 72%;
        border-radius: 10px;
        overflow: hidden;
        background: #0a0c12;
        opacity: 0.55;
        pointer-events: auto;
        cursor: pointer;
        box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
    }

    .avc-peek:hover {
        opacity: 0.78;
    }

    .avc-main {
        flex: 1 1 auto;
        height: 100%;
        border-radius: 12px;
    }

    .avc-arrow {
        display: inline-flex;
    }

    .avc-arrow--prev { left: calc(12% + 0.2rem); }
    .avc-arrow--next { right: calc(12% + 0.2rem); }

    .avc-meta__title {
        font-size: 1.08rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .avc-stage--skel,
    .avc-skel-line {
        animation: none;
    }

    .avc-dot::after {
        transition: none;
    }
}

/* Lightbox must sit above portada AvisosModal (z-index 2400). */
 .ilm-root {
    z-index: 2600;
}

/* _content/AppBasquet.Web.Client.Shared/Components/InstallAppPrompt.razor.rz.scp.css */
.pwa-install {
    position: fixed;
    z-index: 10500;
    font-family: inherit;
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    max-width: none;
}

@media (min-width: 901px) {
    .pwa-install {
        left: auto;
        right: 16px;
        bottom: auto;
        top: 72px;
        max-width: min(360px, calc(100% - 32px));
    }
}

.pwa-install__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(100, 255, 154, 0.35);
    background: linear-gradient(145deg, rgba(12, 18, 28, 0.98), rgba(5, 7, 10, 0.98));
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45), 0 0 20px rgba(100, 255, 154, 0.08);
    color: #e2e8f0;
}

.pwa-install__logo {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    flex-shrink: 0;
    object-fit: cover;
    background: #05070a;
    box-shadow: 0 0 14px rgba(100, 255, 154, 0.22);
}

.pwa-install__text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.pwa-install__title {
    font-size: 0.85rem;
    font-weight: 800;
    color: #f8fafc;
}

.pwa-install__sub {
    font-size: 0.72rem;
    color: #94a3b8;
    line-height: 1.35;
}

.pwa-install__actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.pwa-install__btn {
    border: none;
    border-radius: 999px;
    padding: 8px 14px;
    min-height: 44px;
    font-size: 0.78rem;
    font-weight: 800;
    cursor: pointer;
    color: #031007;
    background: linear-gradient(135deg, #64ff9a, #22c55e);
    box-shadow: 0 0 14px rgba(100, 255, 154, 0.25);
}

.pwa-install__btn:hover {
    filter: brightness(1.05);
}

.pwa-install__dismiss {
    border: none;
    background: rgba(255, 255, 255, 0.06);
    color: #94a3b8;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1;
}

.pwa-install__dismiss:hover {
    color: #e2e8f0;
    background: rgba(255, 255, 255, 0.1);
}

.pwa-install--compact .pwa-install__inner {
    padding: 10px 12px;
}

.pwa-install--compact .pwa-install__logo {
    width: 40px;
    height: 40px;
}

.pwa-install__btn--ghost {
    background: rgba(255, 255, 255, 0.08);
    color: #e2e8f0;
    box-shadow: none;
}

@media (max-width: 900px) {
    .pwa-install {
        z-index: 10400;
        left: 10px;
        right: 10px;
        bottom: calc(72px + env(safe-area-inset-bottom, 0px));
    }

    .pwa-install__inner {
        flex-wrap: wrap;
        gap: 10px;
        padding: 14px 14px;
    }

    .pwa-install__text {
        flex: 1 1 calc(100% - 64px);
    }

    .pwa-install__actions {
        flex: 1 1 100%;
        justify-content: stretch;
        gap: 10px;
    }

    .pwa-install__btn {
        flex: 1;
        min-height: 48px;
        font-size: 0.82rem;
        padding: 10px 16px;
    }

    .pwa-install__dismiss {
        flex: 0 0 48px;
    }
}

/* _content/AppBasquet.Web.Client.Shared/Components/MaintenanceGate.razor.rz.scp.css */
.maint-gate-loading {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #050508;
    color: rgba(255, 255, 255, 0.7);
    font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}

.maint-gate-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #050508;
    color: #fff;
    font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
    padding: 24px;
}

.maint-gate-card {
    text-align: center;
    max-width: 420px;
    padding: 40px 32px;
    background: #12121e;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    box-shadow: 0 0 60px rgba(124, 58, 237, 0.12);
}

.maint-gate-brand {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.25em;
    color: rgba(255, 255, 255, 0.35);
    text-transform: uppercase;
    margin: 0 0 24px;
}

.maint-gate-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(245, 177, 0, 0.12);
    border: 1px solid rgba(245, 177, 0, 0.35);
    color: #f5b100;
    margin: 0 0 20px;
}

.maint-gate-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #f5b100;
    animation: maint-gate-blink-b-2z2ujomdjj 1.2s step-start infinite;
}

@keyframes maint-gate-blink-b-2z2ujomdjj {
    50% {
        opacity: 0.25;
    }
}

.maint-gate-title {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    margin: 0 0 12px;
    line-height: 1.2;
}

.maint-gate-sub {
    margin: 0 0 20px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.5;
}

.maint-gate-hint {
    margin: 0 0 16px;
    font-size: 0.82rem;
    color: rgba(245, 177, 0, 0.85);
}

.maint-gate-retry {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    padding: 12px 24px;
    border: none;
    border-radius: 999px;
    background: linear-gradient(135deg, #7c3aed, #5b21b6);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.15s ease, opacity 0.15s ease;
}

.maint-gate-retry:hover:not(:disabled) {
    transform: translateY(-1px);
}

.maint-gate-retry:disabled {
    opacity: 0.65;
    cursor: wait;
}

.maint-admin-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    padding: 10px 16px;
    background: rgba(245, 177, 0, 0.95);
    color: #1a1200;
    text-align: center;
    font-size: 0.85rem;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.25);
}

/* _content/AppBasquet.Web.Client.Shared/Components/Nav/ClutchBackButton.razor.rz.scp.css */
.clutch-back-bar {
    max-width: 1200px;
    margin: 0 auto;
    padding: 8px 16px 0;
}

.clutch-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    background: rgba(12, 12, 18, 0.72);
    color: #e4e4e7;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    backdrop-filter: blur(8px);
}

.clutch-back-btn:hover {
    border-color: rgba(255, 107, 44, 0.45);
    color: #fff;
}

.clutch-back-btn__icon {
    line-height: 1;
}

@media (max-width: 768px) {
    .clutch-back-bar {
        min-height: 48px;
        max-height: 56px;
        padding: 4px 12px;
        display: flex;
        align-items: center;
        box-sizing: border-box;
    }

    .clutch-back-btn {
        min-height: 40px;
        padding: 8px 10px;
        font-size: 0.78rem;
        border-radius: 10px;
        gap: 4px;
        background: transparent;
        border-color: transparent;
        backdrop-filter: none;
    }

    .clutch-back-btn:hover,
    .clutch-back-btn:focus-visible {
        background: rgba(255, 255, 255, 0.06);
        border-color: rgba(255, 255, 255, 0.1);
        color: #fff;
        outline: none;
    }
}

/* _content/AppBasquet.Web.Client.Shared/Components/News/FeaturedNewsSection.razor.rz.scp.css */
.fnw-root {
    padding: 20px 0 8px;
    color: #f0f0f8;
}

.fnw-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
    padding: 0 4px;
}

.fnw-title {
    margin: 0;
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: -.02em;
    color: #fff;
}

.fnw-sub {
    margin: 4px 0 0;
    font-size: .78rem;
    color: #5a5a7a;
}

.fnw-all-link {
    flex-shrink: 0;
    font-size: .72rem;
    font-weight: 700;
    color: var(--clutch-green);
    text-decoration: none;
    white-space: nowrap;
}
.fnw-all-link:hover { color: var(--clutch-green-light); }

.fnw-scroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.fnw-scroll::-webkit-scrollbar { display: none; }

.fnw-card {
    flex: 0 0 min(280px, 78vw);
    background: #111118;
    border: 1px solid #1e1e2e;
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: border-color .18s, transform .18s;
}
.fnw-card:hover {
    border-color: #3b3b58;
    transform: translateY(-2px);
}

.fnw-card-img-wrap {
    position: relative;
    background: #1a1a2e;
}
.fnw-card-img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    display: block;
}

.fnw-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: .56rem;
    font-weight: 800;
    letter-spacing: .1em;
    padding: 4px 8px;
    border-radius: 4px;
    text-transform: uppercase;
}
.fnw-tag--destacado { background: var(--clutch-green-soft); color: #fff; }
.fnw-tag--resultado { background: #16a34a; color: #fff; }
.fnw-tag--playoffs  { background: #f97316; color: #fff; }
.fnw-tag--noticia   { background: #374151; color: #d1d5db; }
.fnw-tag--en-vivo    { background: #dc2626; color: #fff; }
.fnw-tag--proximo    { background: #f97316; color: #fff; }
.fnw-tag--jornada    { background: #6366f1; color: #fff; }
.fnw-tag--campeon    { background: #fbbf24; color: #111; }
.fnw-tag--final      { background: var(--clutch-gold); color: #fff; }
.fnw-tag--liga       { background: #1e3a5f; color: #93c5fd; }
.fnw-tag--lider      { background: #f5b100; color: #111; }

.fnw-live {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: .56rem;
    font-weight: 900;
    color: #ef4444;
}

.fnw-card-body { padding: 12px 14px 14px; }
.fnw-card-title {
    margin: 0 0 6px;
    font-size: .84rem;
    font-weight: 800;
    line-height: 1.35;
    color: #e8e8f4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.fnw-card-resumen {
    margin: 0 0 8px;
    font-size: .72rem;
    color: #5a5a7a;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.fnw-card-meta {
    font-size: .62rem;
    color: #3a3a58;
}
.fnw-card-cta {
    display: block;
    margin-top: 8px;
    font-size: .66rem;
    font-weight: 800;
    color: var(--clutch-green);
}

.fnw-skel {
    flex: 0 0 260px;
    height: 220px;
    border-radius: 14px;
    background: linear-gradient(90deg, #1a1a28 25%, #24243a 50%, #1a1a28 75%);
    background-size: 200% 100%;
    animation: fnw-shimmer-b-7fgndoivj4 1.2s ease-in-out infinite;
}
@keyframes fnw-shimmer-b-7fgndoivj4 {
    0% { background-position: 100% 0; }
    100% { background-position: -100% 0; }
}

.fnw-empty {
    font-size: .82rem;
    color: #5a5a7a;
    padding: 12px 4px;
    margin: 0;
}

/* _content/AppBasquet.Web.Client.Shared/Components/NotificationBell.razor.rz.scp.css */
.notification-bell-container {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.bell-icon {
    position: relative;
    padding: 8px;
    color: var(--bs-body-color, #ffffff);
    transition: color 0.2s ease;
}

.bell-icon:hover {
    color: var(--bs-primary, #0d6efd);
}

.badge {
    position: absolute;
    top: 4px;
    right: 4px;
    background-color: #dc3545;
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 0.7rem;
    font-weight: bold;
    line-height: 1;
}

.notification-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 320px;
    background: var(--bs-body-bg, #1a1a1a);
    border: 1px solid var(--bs-border-color, #333);
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.3);
    z-index: 1050;
    margin-top: 8px;
    overflow: hidden;
}

.dropdown-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid var(--bs-border-color, #333);
    background: rgba(255, 255, 255, 0.05);
}

.dropdown-header h6 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
}

.btn-clear {
    background: none;
    border: none;
    color: var(--bs-primary, #0d6efd);
    font-size: 0.8rem;
    cursor: pointer;
    padding: 0;
}

.btn-clear:hover {
    text-decoration: underline;
}

.dropdown-body {
    max-height: 400px;
    overflow-y: auto;
}

.notification-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.notification-item {
    display: flex;
    padding: 12px 16px;
    border-bottom: 1px solid var(--bs-border-color, #333);
    cursor: pointer;
    transition: background 0.2s ease;
}

.notification-item:last-child {
    border-bottom: none;
}

.notification-item:hover {
    background: rgba(255, 255, 255, 0.08);
}

.notification-item.unread {
    background: rgba(255, 255, 255, 0.05);
    border-left: 3px solid var(--bs-primary, #0d6efd);
}

.notif-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    margin-right: 12px;
    flex-shrink: 0;
}

.notif-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.notif-title {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.notif-message {
    font-size: 0.85rem;
    color: var(--bs-secondary-color, #aaa);
    margin-bottom: 4px;
    line-height: 1.3;
}

.notif-time {
    font-size: 0.75rem;
    color: var(--bs-tertiary-color, #777);
}

/* _content/AppBasquet.Web.Client.Shared/Components/PwaInstallPrompt.razor.rz.scp.css */
.pwa-install {
    position: fixed;
    z-index: 10500;
    font-family: inherit;
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    max-width: none;
}

@media (min-width: 901px) {
    .pwa-install {
        left: auto;
        right: 16px;
        bottom: auto;
        top: 72px;
        max-width: min(360px, calc(100vw - 32px));
    }
}

.pwa-install__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(100, 255, 154, 0.35);
    background: linear-gradient(145deg, rgba(12, 18, 28, 0.98), rgba(5, 7, 10, 0.98));
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45), 0 0 20px rgba(100, 255, 154, 0.08);
    color: #e2e8f0;
}

.pwa-install__logo {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    flex-shrink: 0;
    object-fit: contain;
    background: #05070a;
    box-shadow: 0 0 12px rgba(100, 255, 154, 0.15);
}

.pwa-install__text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.pwa-install__title {
    font-size: 0.85rem;
    font-weight: 800;
    color: #f8fafc;
}

.pwa-install__sub {
    font-size: 0.72rem;
    color: #94a3b8;
    line-height: 1.35;
}

.pwa-install__actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.pwa-install__btn {
    border: none;
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 0.78rem;
    font-weight: 800;
    cursor: pointer;
    color: #031007;
    background: linear-gradient(135deg, #64ff9a, #22c55e);
    box-shadow: 0 0 14px rgba(100, 255, 154, 0.25);
}

.pwa-install__btn:hover {
    filter: brightness(1.05);
}

.pwa-install__dismiss {
    border: none;
    background: rgba(255, 255, 255, 0.06);
    color: #94a3b8;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1;
}

.pwa-install__dismiss:hover {
    color: #e2e8f0;
    background: rgba(255, 255, 255, 0.1);
}

/* _content/AppBasquet.Web.Client.Shared/Components/PwaUpdatePrompt.razor.rz.scp.css */
.pwa-update {
    position: fixed;
    z-index: 10600;
    left: 12px;
    right: 12px;
    top: calc(12px + env(safe-area-inset-top, 0px));
    max-width: min(480px, calc(100% - 24px));
    margin: 0 auto;
}

@media (min-width: 901px) {
    .pwa-update {
        left: auto;
        right: 16px;
        top: 16px;
        margin: 0;
    }
}

.pwa-update__inner {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(251, 191, 36, 0.35);
    background: rgba(20, 16, 8, 0.98);
    color: #fde68a;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.4);
}

.pwa-update__text {
    flex: 1;
    font-size: 0.82rem;
    font-weight: 600;
    min-width: 0;
}

.pwa-update__btn {
    border: none;
    border-radius: 999px;
    padding: 8px 14px;
    min-height: 44px;
    font-size: 0.78rem;
    font-weight: 800;
    cursor: pointer;
    color: #111;
    background: #fbbf24;
    flex-shrink: 0;
}

.pwa-update__dismiss {
    border: none;
    background: rgba(255, 255, 255, 0.08);
    color: #fde68a;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    cursor: pointer;
    flex-shrink: 0;
}

/* _content/AppBasquet.Web.Client.Shared/Components/ShareButton.razor.rz.scp.css */
.share-container {
    display: inline-block;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.share-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border-color: rgba(59, 130, 246, 0.5);
}

.share-btn:active {
    transform: translateY(0);
}

.share-btn.success {
    background: rgba(34, 197, 94, 0.2);
    border-color: rgba(34, 197, 94, 0.5);
    color: #4ade80;
}

.share-btn .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.share-btn:hover .icon {
    transform: scale(1.1);
}

.share-btn .text {
    font-size: 0.9rem;
}

@media (max-width: 640px) {
    .share-btn {
        padding: 8px 16px;
    }
    .share-btn .text {
        display: none;
    }
}

/* _content/AppBasquet.Web.Client.Shared/Components/Ui/ClutchEmptyState.razor.rz.scp.css */
.clutch-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 1.5rem 1.1rem;
    border-radius: 16px;
    border: 1px dashed var(--color-border, rgba(255, 255, 255, 0.1));
    background: var(--color-surface-soft, rgba(255, 255, 255, 0.02));
    text-align: center;
}

.clutch-empty--compact {
    padding: 1.1rem 0.9rem;
}

.clutch-empty__icon {
    font-size: 1.75rem !important;
    color: var(--color-text-dim, #52525b);
    opacity: 0.9;
}

.clutch-empty__body {
    max-width: 28rem;
}

.clutch-empty__title {
    margin: 0;
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--color-text, #f4f4f5);
    line-height: 1.35;
}

.clutch-empty__desc {
    margin: 6px 0 0;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--color-text-muted, #a1a1aa);
    line-height: 1.45;
}

.clutch-empty__action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 4px;
    padding: 8px 14px;
    border-radius: 10px;
    border: 1px solid var(--color-primary-border, rgba(100, 255, 154, 0.35));
    background: var(--color-primary-soft, rgba(100, 255, 154, 0.1));
    color: var(--color-primary-hover, #8ae8b0);
    font-size: 0.76rem;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.clutch-empty__action:hover {
    border-color: var(--color-primary, #64ff9a);
    color: var(--color-primary, #64ff9a);
    background: rgba(100, 255, 154, 0.16);
}

/* _content/AppBasquet.Web.Client.Shared/Components/Ui/ImageLightboxModal.razor.rz.scp.css */
.ilm-root {
    position: fixed;
    inset: 0;
    /* Above AvisosModal (2400) when opened from portada carousel */
    z-index: 2600;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
    box-sizing: border-box;
}

.ilm-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 2, 8, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    cursor: zoom-out;
}

.ilm-panel {
    position: relative;
    z-index: 1;
    width: min(98vw, 1100px);
    max-height: min(96vh, 980px);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.45rem;
    padding: 0.35rem 0.5rem 0.65rem;
    box-sizing: border-box;
}

.ilm-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    min-height: 44px;
}

.ilm-counter {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: rgba(138, 232, 176, 0.95);
}

.ilm-counter--spacer {
    visibility: hidden;
}

.ilm-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(24, 24, 32, 0.85);
    color: #f4f4f5;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
}

.ilm-close:hover {
    background: rgba(40, 40, 52, 0.95);
}

.ilm-close:focus-visible {
    outline: 2px solid var(--clutch-green, #64ff9a);
    outline-offset: 2px;
}

.ilm-body {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    min-height: 0;
}

.ilm-stage {
    flex: 1 1 auto;
    width: 100%;
    max-height: min(86vh, 900px);
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    touch-action: pinch-zoom;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #050508;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ilm-img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: min(86vh, 900px);
    object-fit: contain;
    object-position: center;
}

.ilm-nav {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(18, 20, 30, 0.88);
    color: #f4f4f5;
    font-size: 1.55rem;
    line-height: 1;
    cursor: pointer;
}

.ilm-nav:hover {
    border-color: rgba(100, 255, 154, 0.45);
    background: rgba(28, 32, 44, 0.95);
}

.ilm-nav:focus-visible {
    outline: 2px solid var(--clutch-green, #64ff9a);
    outline-offset: 2px;
}

@media (max-width: 767px) {
    .ilm-panel {
        width: 100%;
        max-height: 100%;
        padding: 0.25rem 0.35rem 0.5rem;
    }

    .ilm-stage {
        max-height: min(84vh, 900px);
        border-radius: 10px;
    }

    .ilm-img {
        max-height: min(84vh, 900px);
    }

    .ilm-nav {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 2;
        width: 38px;
        height: 38px;
    }

    .ilm-nav--prev { left: 0.35rem; }
    .ilm-nav--next { right: 0.35rem; }
}

@media (min-width: 768px) {
    .ilm-nav--prev,
    .ilm-nav--next {
        align-self: center;
    }
}

/* _content/AppBasquet.Web.Client.Shared/Components/VideoEmbedPreview.razor.rz.scp.css */
.vep-wrap--compact {
    padding: 0;
    border: none;
    background: transparent;
    margin-top: 0;
}

.vep-tiktok-play {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 220px;
    border: 0;
    border-radius: 12px;
    cursor: pointer;
    color: #fff;
    background: linear-gradient(160deg, #111 0%, #1a1a2e 100%);
}

.vep-tiktok-play-icon {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: #000;
    font-size: 1.2rem;
    padding-left: 3px;
}

.vep-tiktok-play-label {
    font-size: 0.78rem;
    font-weight: 700;
    color: #cbd5e1;
}

.vep-wrap {
    width: 100%;
    max-width: 100%;
    margin-top: 12px;
    padding: 14px;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.25);
    background: rgba(15, 23, 42, 0.75);
    box-sizing: border-box;
    overflow: hidden;
}

.vep-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.vep-provider {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 999px;
    color: #fff;
    background: #475569;
}

.vep-provider--yt { background: #dc2626; }
.vep-provider--fb { background: #2563eb; }
.vep-provider--ig { background: linear-gradient(135deg, #f97316, #db2777, #7c3aed); }
.vep-provider--tt { background: #0f172a; border: 1px solid #334155; }
.vep-provider--tw { background: #7c3aed; }

.vep-badge,
.vep-kind {
    font-size: 0.68rem;
    color: #94a3b8;
    padding: 2px 8px;
    border-radius: 6px;
    background: rgba(51, 65, 85, 0.5);
}

.vep-embed {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    border-radius: 10px;
    background: #000;
}

.vep-embed--video {
    aspect-ratio: 16 / 9;
}

.vep-embed--tiktok {
    aspect-ratio: 9 / 16;
    max-height: min(72vh, 640px);
    margin-inline: auto;
    max-width: 360px;
}

.vep-frame {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.vep-hint {
    margin: 8px 0 0;
    font-size: 0.78rem;
    color: #94a3b8;
    line-height: 1.4;
}

.vep-fallback {
    padding: 16px;
    border-radius: 10px;
    background: rgba(30, 41, 59, 0.6);
    border: 1px dashed rgba(148, 163, 184, 0.35);
    text-align: center;
}

.vep-fallback-msg {
    margin: 0 0 12px;
    font-size: 0.85rem;
    color: #cbd5e1;
    line-height: 1.45;
}

.vep-thumb {
    display: block;
    width: 100%;
    max-width: 480px;
    margin: 0 auto 12px;
    border-radius: 8px;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.vep-actions {
    margin-top: 10px;
}

.vep-open-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 16px;
    border-radius: 10px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #e9d5ff;
    background: rgba(124, 58, 237, 0.2);
    border: 1px solid rgba(167, 139, 250, 0.45);
    text-decoration: none;
}

.vep-open-btn:hover {
    background: rgba(124, 58, 237, 0.35);
}

.vep-meta {
    margin-top: 10px;
    font-size: 0.75rem;
    color: #64748b;
}

.vep-meta summary {
    cursor: pointer;
    color: #94a3b8;
}

.vep-dl {
    margin: 8px 0 0;
}

.vep-dl dt {
    font-weight: 700;
    margin-top: 6px;
}

.vep-dl dd {
    margin: 2px 0 0;
}

.vep-url {
    word-break: break-all;
    overflow-wrap: anywhere;
}

.vep-dev {
    margin-top: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    background: rgba(234, 179, 8, 0.08);
    border: 1px solid rgba(234, 179, 8, 0.35);
    font-size: 0.72rem;
    color: #fde68a;
}

.vep-dev-title {
    font-weight: 800;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.vep-dev-list {
    margin: 0;
    padding-left: 18px;
}

.vep-dev-list li {
    margin-bottom: 4px;
}

@media (max-width: 480px) {
    .vep-wrap {
        padding: 10px;
    }

    .vep-embed--tiktok {
        max-width: 100%;
        max-height: min(70vh, 560px);
    }

    .vep-embed--video {
        min-height: 0;
    }
}

/* _content/AppBasquet.Web.Client.Shared/Layout/SitePublicFooter.razor.rz.scp.css */
.site-pub-footer {
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(8, 8, 12, 0.4) 0%, rgba(4, 4, 8, 0.95) 100%);
    color: #a1a1aa;
    font-size: 0.82rem;
}

.site-pub-footer--compact {
    background: rgba(4, 4, 8, 0.92);
}

/* Detalle liga: sin tarjetas; solo © + enlaces texto (≤~100px) */
.site-pub-footer--league {
    flex: 0 0 auto;
    background: #0a0b10;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.site-pub-footer--league .site-pub-footer__bottom--compact {
    justify-content: center;
    text-align: center;
    gap: 4px 10px;
    padding: 8px 12px max(8px, env(safe-area-inset-bottom, 0px));
    border-top: none;
}

.site-pub-footer--league .site-pub-footer__copy,
.site-pub-footer--league .site-pub-footer__legal {
    font-size: 0.68rem;
    line-height: 1.3;
}

@media (max-width: 768px) {
    .site-pub-footer--league .site-pub-footer__legal-nav--league-desktop {
        display: none !important;
    }

    .site-pub-footer--league .site-pub-footer__bottom--compact {
        justify-content: center;
        padding: 8px 12px max(8px, env(safe-area-inset-bottom, 0px));
        min-height: 44px;
        max-height: calc(50px + env(safe-area-inset-bottom, 0px));
        box-sizing: border-box;
    }

    .site-pub-footer--league .site-pub-footer__copy {
        font-size: 0.68rem;
        width: 100%;
        text-align: center;
    }
}

@media (min-width: 769px) {
    .site-pub-footer--league .site-pub-footer__legal-nav--league-desktop {
        display: flex;
    }
}

.site-pub-footer__quick {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 16px 16px 12px;
    max-width: 1200px;
    margin: 0 auto;
}

.site-pub-footer__quick-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    padding: 14px 28px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    min-width: 108px;
    transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.1s;
    -webkit-tap-highlight-color: transparent;
}

.site-pub-footer__quick-btn:active {
    transform: scale(0.93);
}

.site-pub-footer__quick-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.site-pub-footer__quick-btn--wa .site-pub-footer__quick-icon {
    color: #25d366;
}

.site-pub-footer__quick-btn--wa:hover,
.site-pub-footer__quick-btn--wa:focus-visible {
    background: rgba(37, 211, 102, 0.1);
    border-color: rgba(37, 211, 102, 0.28);
    color: #25d366;
    outline: none;
}

.site-pub-footer__quick-btn--privacy .site-pub-footer__quick-icon {
    color: #8b5cf6;
}

.site-pub-footer__quick-btn--privacy:hover,
.site-pub-footer__quick-btn--privacy:focus-visible {
    background: rgba(139, 92, 246, 0.1);
    border-color: rgba(139, 92, 246, 0.28);
    color: #a78bfa;
    outline: none;
}

.site-pub-footer__bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    justify-content: space-between;
    font-size: 0.72rem;
    color: #52525b;
}

.site-pub-footer__bottom--compact {
    align-items: center;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
    gap: 6px 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.site-pub-footer__copy {
    color: #71717a;
    font-size: 0.72rem;
}

.site-pub-footer__legal-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 12px;
}

.site-pub-footer__legal {
    color: #71717a;
    text-decoration: none;
    font-size: 0.72rem;
}

.site-pub-footer__legal:hover {
    color: #a1a1aa;
}

@media (max-width: 768px) {
    .site-pub-footer__quick {
        padding: 14px 12px 10px;
    }

    .site-pub-footer__bottom--compact {
        justify-content: center;
        text-align: center;
        padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px));
    }

    .site-pub-footer__legal-nav {
        justify-content: center;
    }
}

@media (min-width: 769px) {
    .site-pub-footer__quick-btn {
        min-width: 120px;
    }
}



/* /Components/Ecosistema/AvisosModal.razor.rz.scp.css */
.avisos-modal {
    position: fixed;
    inset: 0;
    z-index: 2400;
    display: flex;
    align-items: stretch;
    justify-content: center;
    padding: 0.55rem;
    box-sizing: border-box;
    max-width: 100vw;
    overflow-x: clip;
}

.avisos-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 4, 12, 0.78);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.avisos-modal__panel {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    height: 100%;
    max-height: 100%;
    min-width: 0;
    margin: 0;
    background: linear-gradient(180deg, #0c1220 0%, #080b12 100%);
    color: #f4f4f5;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.45);
    overflow: hidden;
    box-sizing: border-box;
}

.avisos-modal__head {
    position: sticky;
    top: 0;
    z-index: 2;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    padding: calc(0.75rem + env(safe-area-inset-top, 0px)) 0.9rem 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(10, 14, 24, 0.96);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    min-width: 0;
}

.avisos-modal__head-text {
    min-width: 0;
    flex: 1 1 auto;
}

.avisos-modal__eyebrow {
    margin: 0;
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    font-weight: 700;
    color: var(--clutch-green, #64ff9a);
}

.avisos-modal__title {
    margin: 0.15rem 0 0;
    font-size: 1.28rem;
    line-height: 1.2;
    font-weight: 800;
}

.avisos-modal__lead {
    margin: 0.25rem 0 0;
    font-size: 0.82rem;
    line-height: 1.35;
    color: rgba(244, 244, 245, 0.72);
    max-width: 36rem;
}

.avisos-modal__close {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(24, 28, 40, 0.9);
    color: #f4f4f5;
    font-size: 1.65rem;
    line-height: 1;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    padding: 0;
}

.avisos-modal__close:hover {
    background: rgba(40, 46, 62, 0.95);
}

.avisos-modal__close:focus-visible {
    outline: 2px solid var(--clutch-green, #64ff9a);
    outline-offset: 2px;
}

.avisos-modal__body {
    flex: 1 1 auto;
    overflow: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    padding: 0.85rem 0.85rem calc(1.1rem + env(safe-area-inset-bottom, 0px));
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    min-height: 0;
    min-width: 0;
}

.avisos-modal__body--compact {
    min-height: 280px;
    justify-content: flex-start;
}

@media (max-width: 430px) {
    .avisos-modal {
        padding: 0.4rem;
    }

    .avisos-modal__panel {
        border-radius: 14px;
    }

    .avisos-modal__head {
        padding: calc(0.65rem + env(safe-area-inset-top, 0px)) 0.75rem 0.65rem;
    }

    .avisos-modal__title {
        font-size: 1.18rem;
    }

    .avisos-modal__lead {
        font-size: 0.78rem;
    }

    .avisos-modal__body {
        padding: 0.7rem 0.7rem calc(0.95rem + env(safe-area-inset-bottom, 0px));
    }

    /* Let carousel settle to content height; avoid empty gap under card */
    .avisos-modal__body--compact {
        min-height: 0;
        flex: 1 1 auto;
        justify-content: flex-start;
    }
}

@media (min-width: 768px) {
    .avisos-modal {
        align-items: center;
        padding: 1.25rem;
    }

    .avisos-modal__panel {
        width: min(100%, 960px);
        max-width: 960px;
        height: auto;
        max-height: min(92vh, 880px);
        border-radius: 18px;
        box-shadow:
            0 24px 80px rgba(0, 0, 0, 0.55),
            0 0 0 1px rgba(100, 255, 154, 0.12);
    }

    .avisos-modal__head {
        border-radius: 18px 18px 0 0;
        padding: 1.1rem 1.25rem 1rem;
    }

    .avisos-modal__title {
        font-size: 1.55rem;
    }

    .avisos-modal__body {
        padding: 1.15rem 1.25rem 1.4rem;
        min-height: 320px;
    }

    .avisos-modal__body--compact {
        min-height: 340px;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .avisos-modal__backdrop {
        animation: avisos-modal-fade-b-poj2fettcc 0.22s ease;
    }

    .avisos-modal__panel {
        animation: avisos-modal-rise-b-poj2fettcc 0.28s cubic-bezier(0.22, 1, 0.36, 1);
    }
}

@keyframes avisos-modal-fade-b-poj2fettcc {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes avisos-modal-rise-b-poj2fettcc {
    from {
        opacity: 0.85;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 767px) and (prefers-reduced-motion: no-preference) {
    .avisos-modal__panel {
        animation: avisos-modal-sheet-b-poj2fettcc 0.28s cubic-bezier(0.22, 1, 0.36, 1);
    }
}

@keyframes avisos-modal-sheet-b-poj2fettcc {
    from {
        transform: translateY(8%);
    }
    to {
        transform: translateY(0);
    }
}

/* /Components/Ecosistema/EcosistemaHeroOrbit.razor.rz.scp.css */
.eco-hero {
    position: relative;
    min-height: min(94vh, 920px);
    min-height: min(94dvh, 920px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: clamp(1.5rem, 4vw, 2.5rem) clamp(1rem, 3vw, 2rem) 2rem;
    overflow: hidden;
    background: #050508;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.eco-hero__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.eco-hero__stars {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(1px 1px at 10% 20%, rgba(255, 255, 255, 0.5), transparent),
        radial-gradient(1px 1px at 30% 70%, rgba(255, 255, 255, 0.35), transparent),
        radial-gradient(1px 1px at 70% 30%, rgba(255, 255, 255, 0.4), transparent),
        radial-gradient(1px 1px at 90% 80%, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(1.5px 1.5px at 50% 50%, rgba(255, 255, 255, 0.25), transparent);
    opacity: 0.7;
}

.eco-hero__nebula {
    position: absolute;
    inset: -20%;
    background:
        radial-gradient(ellipse 50% 40% at 50% 45%, rgba(99, 102, 241, 0.12), transparent 60%),
        radial-gradient(ellipse 40% 35% at 60% 55%, rgba(255, 107, 44, 0.1), transparent 55%);
    animation: eco-nebula-drift-b-o6mgq78rlp 22s ease-in-out infinite alternate;
}

.eco-hero__copy {
    position: relative;
    z-index: 2;
    text-align: center;
    flex-shrink: 0;
    margin-bottom: clamp(1.25rem, 3vw, 2rem);
    max-width: 36rem;
}

.eco-hero__eyebrow {
    margin: 0 0 0.35rem;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    color: rgba(255, 107, 44, 0.85);
}

.eco-hero__title {
    margin: 0;
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 900;
    letter-spacing: 0.02em;
    text-shadow: 0 0 40px rgba(255, 107, 44, 0.25);
}

.eco-hero__sub {
    margin: 0.5rem 0 0;
    font-size: clamp(0.85rem, 2vw, 1rem);
    color: rgba(255, 255, 255, 0.65);
}

.eco-hero__orbit-stage {
    position: relative;
    flex: 1;
    width: min(860px, 100%);
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.eco-hero__orbit-stage--desktop {
    display: flex;
}

.eco-hero__orbit-core {
    position: relative;
    width: 100%;
    min-height: clamp(480px, 58vh, 560px);
    padding-top: clamp(0.75rem, 2vw, 1.5rem);
}

.eco-hero__orbit-core > .eco-planet-ball {
    position: absolute;
    top: var(--eco-orbit-center-y, 56%);
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
}

.eco-hero__orbit-stage--mobile,
.eco-hero__mobile {
    display: none;
}

/* ── Anillos decorativos ── */
.eco-orbit-rings {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.eco-orbit-ring {
    position: absolute;
    top: var(--eco-orbit-center-y, 56%);
    left: 50%;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transform: translate(-50%, -50%);
}

.eco-orbit-ring--primary {
    width: calc(var(--eco-radius-primary) * 2);
    height: calc(var(--eco-radius-primary) * 2);
    border-color: rgba(255, 107, 44, 0.2);
    box-shadow: 0 0 30px rgba(255, 107, 44, 0.06);
}

.eco-orbit-ring--secondary {
    width: calc(var(--eco-radius-secondary) * 2);
    height: calc(var(--eco-radius-secondary) * 2);
    border-color: rgba(255, 255, 255, 0.08);
    border-style: dashed;
}

/* ── Órbitas con posición fija por ángulo ── */
.eco-orbit {
    --eco-radius-primary: clamp(188px, 31vw, 268px);
    --eco-radius-secondary: clamp(268px, 43vw, 372px);
    --eco-orbit-center-y: 56%;
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.eco-orbit--primary {
    z-index: 4;
    --eco-radius: var(--eco-radius-primary);
}

.eco-orbit--secondary {
    z-index: 2;
    --eco-radius: var(--eco-radius-secondary);
}

.eco-hero__legend {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1.25rem;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
}

.eco-hero__legend-item--primary::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ff6b2c;
    margin-right: 0.35rem;
    vertical-align: middle;
}

.eco-hero__legend-item--secondary::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.4);
    margin-right: 0.35rem;
    vertical-align: middle;
}

/* ── Mobile ── */
@media (max-width: 768px) {
    .eco-hero {
        min-height: auto;
        padding-bottom: 1.5rem;
        overflow-x: hidden;
    }

    .eco-hero__orbit-stage--desktop {
        display: none;
    }

    .eco-hero__mobile {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        max-width: 100%;
        gap: 1.75rem;
        padding-top: 0.25rem;
        overflow-x: hidden;
    }

    .eco-hero__copy {
        margin-bottom: 1rem;
    }
}

@keyframes eco-nebula-drift-b-o6mgq78rlp {
    from { transform: translate(0, 0) scale(1); }
    to { transform: translate(2%, -1%) scale(1.04); }
}

@media (prefers-reduced-motion: reduce) {
    .eco-hero__nebula {
        animation: none !important;
    }
}

/* /Components/Ecosistema/EcosistemaLoadingSplash.razor.rz.scp.css */
.eco-splash {
    position: fixed;
    inset: 0;
    z-index: 5200;
    display: grid;
    place-items: center;
    background: rgba(5, 5, 8, 0.92);
    opacity: 1;
    transition: opacity 0.22s ease;
    pointer-events: auto;
    overflow: hidden;
}

.eco-splash--exiting,
.eco-splash--failed {
    opacity: 0;
    pointer-events: none;
}

.eco-splash__stage {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.75rem 1rem;
    width: min(92vw, 18rem);
    max-width: 100%;
    max-height: 120px;
    box-sizing: border-box;
}

.eco-splash__ball-wrap {
    position: relative;
    width: 72px;
    height: 72px;
    display: grid;
    place-items: center;
    overflow: visible;
    flex-shrink: 0;
}

/* Subtle brand glow behind the ball — does not tint the basketball fill */
.eco-splash__ball-wrap::before {
    content: "";
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(35, 217, 108, 0.28) 0%, transparent 68%);
    z-index: 0;
    pointer-events: none;
}

.eco-splash__ball-bounce {
    width: 72px;
    height: 72px;
    aspect-ratio: 1 / 1;
    display: grid;
    place-items: center;
    transform-origin: center bottom;
    animation: eco-ball-bounce-b-25zl01b4fa 1.35s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

.eco-splash--exiting .eco-splash__ball-bounce,
.eco-splash--failed .eco-splash__ball-bounce {
    animation: none;
}

.eco-splash__ball {
    position: relative;
    z-index: 2;
    width: 72px;
    height: 72px;
    max-width: 100%;
    max-height: 100%;
    display: block;
    opacity: 1;
    flex-shrink: 0;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.4));
}

.eco-splash__text {
    margin: 0;
    font-size: clamp(0.78rem, 2.2vw, 0.9rem);
    font-weight: 650;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.88);
    text-align: center;
    line-height: 1.3;
    max-width: 16rem;
}

.eco-splash__orbit-dots {
    display: flex;
    gap: 0.35rem;
}

.eco-splash__orbit-dots span {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--clutch-green);
    opacity: 0.35;
    animation: eco-dot-wave-b-25zl01b4fa 1.2s ease-in-out infinite;
}

.eco-splash--exiting .eco-splash__orbit-dots span,
.eco-splash--failed .eco-splash__orbit-dots span {
    animation: none;
}

.eco-splash__orbit-dots span:nth-child(2) { animation-delay: 0.15s; }
.eco-splash__orbit-dots span:nth-child(3) { animation-delay: 0.3s; }

@keyframes eco-ball-bounce-b-25zl01b4fa {
    0%, 100% { transform: translate3d(0, 0, 0); }
    40% { transform: translate3d(0, -10px, 0); }
    55% { transform: translate3d(0, -12px, 0); }
    75% { transform: translate3d(0, -4px, 0); }
}

@keyframes eco-dot-wave-b-25zl01b4fa {
    0%, 100% { opacity: 0.25; transform: translateY(0); }
    50% { opacity: 1; transform: translateY(-3px); }
}

@media (max-width: 768px) {
    .eco-splash__stage {
        max-height: 120px;
        gap: 0.4rem;
        padding: 0.5rem 0.85rem;
    }

    .eco-splash__ball-wrap,
    .eco-splash__ball-bounce,
    .eco-splash__ball {
        width: 64px;
        height: 64px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .eco-splash {
        transition: opacity 0.15s ease;
    }

    .eco-splash__ball-bounce,
    .eco-splash__orbit-dots span {
        animation: none !important;
    }
}

/* /Components/Ecosistema/EcosistemaMobileLeagueGrid.razor.rz.scp.css */
.eco-mobile-leagues {
    width: 100%;
    max-width: 480px;
    margin-top: 0.5rem;
}

.eco-mobile-leagues__title {
    margin: 0 0 0.75rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
}

.eco-mobile-leagues__grid {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.eco-mobile-league {
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.eco-mobile-league__summary {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    align-items: center;
    gap: 0.65rem;
    min-height: 56px;
    padding: 0.75rem 1rem;
    cursor: pointer;
    list-style: none;
    font-weight: 700;
    color: #fff;
}

.eco-mobile-league__summary::-webkit-details-marker {
    display: none;
}

.eco-mobile-league__summary::after {
    content: "▾";
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    transition: transform 0.2s ease;
}

.eco-mobile-league[open] .eco-mobile-league__summary::after {
    transform: rotate(180deg);
}

.eco-mobile-league__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    font-size: 1.2rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
}

.eco-mobile-league__label {
    font-size: 0.88rem;
    line-height: 1.25;
    word-break: break-word;
}

.eco-mobile-league__count {
    font-size: 0.72rem;
    font-weight: 800;
    color: #ff6b2c;
}

.eco-mobile-league__body {
    padding: 0 1rem 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.eco-mobile-league__desc {
    margin: 0;
    font-size: 0.72rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.55);
}

.eco-mobile-league__list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.eco-mobile-league__list a {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.88);
    text-decoration: none;
    padding: 0.35rem 0;
    word-break: break-word;
}

.eco-mobile-league__list a:hover {
    color: #ff6b2c;
}

.eco-mobile-league__cta {
    align-self: flex-start;
    padding: 0.4rem 0.85rem;
    border-radius: 8px;
    background: rgba(255, 107, 44, 0.15);
    border: 1px solid rgba(255, 107, 44, 0.35);
    color: #ff6b2c;
    font-size: 0.75rem;
    font-weight: 800;
    text-decoration: none;
}

/* /Components/Ecosistema/EcosistemaMobileModuleGrid.razor.rz.scp.css */
.eco-mobile-modules {
    width: 100%;
    max-width: 480px;
}

.eco-mobile-modules__title {
    margin: 0 0 0.75rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 107, 44, 0.85);
}

.eco-mobile-modules__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.7rem;
}

.eco-mobile-module {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0.85rem;
    min-height: 68px;
    padding: 0.9rem 1rem;
    border-radius: 16px;
    background: rgba(12, 12, 22, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
    color: #fff;
    transition: border-color 0.2s ease, transform 0.15s ease, background 0.2s ease;
}

.eco-mobile-module:active {
    transform: scale(0.98);
    background: rgba(255, 107, 44, 0.08);
    border-color: rgba(255, 107, 44, 0.35);
}

.eco-mobile-module__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.55rem;
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
}

.eco-mobile-module__body {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.eco-mobile-module__label {
    font-size: 0.94rem;
    font-weight: 800;
    line-height: 1.25;
    word-break: break-word;
}

.eco-mobile-module__desc {
    font-size: 0.72rem;
    line-height: 1.35;
    color: rgba(255, 255, 255, 0.58);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.eco-mobile-module__badge {
    flex-shrink: 0;
    min-width: 1.75rem;
    padding: 0.2rem 0.45rem;
    border-radius: 999px;
    background: rgba(255, 107, 44, 0.18);
    border: 1px solid rgba(255, 107, 44, 0.35);
    font-size: 0.72rem;
    font-weight: 800;
    color: #ff6b2c;
    text-align: center;
}

/* /Components/Ecosistema/EcosistemaOrbitNodeView.razor.rz.scp.css */
.eco-node-wrap {
    position: absolute;
    top: var(--eco-orbit-center-y, 56%);
    left: 50%;
    width: 0;
    height: 0;
    pointer-events: none;
    transform:
        rotate(var(--eco-angle))
        translateX(var(--eco-radius))
        rotate(calc(-1 * var(--eco-angle)));
}

.eco-node {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: auto;
    text-decoration: none;
    color: inherit;
}

.eco-node__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    width: 92px;
    min-height: 88px;
    padding: 0.7rem 0.55rem;
    border-radius: 16px;
    background: rgba(10, 10, 20, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5);
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.eco-node--secondary .eco-node__inner {
    width: 80px;
    min-height: 78px;
    padding: 0.55rem 0.45rem;
    border-radius: 14px;
    opacity: 0.94;
}

.eco-node:hover .eco-node__inner,
.eco-node:focus-visible .eco-node__inner,
.eco-node--active .eco-node__inner {
    transform: scale(1.08);
    border-color: rgba(255, 107, 44, 0.65);
    box-shadow: 0 14px 36px rgba(255, 107, 44, 0.28);
    outline: none;
}

.eco-node__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    font-size: 1.45rem;
    line-height: 1;
    flex-shrink: 0;
}

.eco-node--secondary .eco-node__icon {
    width: 1.75rem;
    height: 1.75rem;
    font-size: 1.2rem;
}

.eco-node__label {
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.94);
    text-align: center;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
    hyphens: auto;
    max-width: 100%;
}

.eco-node-preview {
    position: absolute;
    bottom: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%);
    width: max-content;
    max-width: min(240px, 70vw);
    padding: 0.7rem 0.85rem;
    border-radius: 12px;
    background: rgba(6, 6, 12, 0.97);
    border: 1px solid rgba(255, 107, 44, 0.4);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    pointer-events: auto;
    z-index: 20;
    animation: eco-preview-in-b-wbspek124v 0.18s ease;
}

.eco-node-preview__title {
    font-size: 0.82rem;
    color: #fff;
    margin: 0;
}

.eco-node-preview__desc {
    margin: 0;
    font-size: 0.72rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.72);
}

.eco-node-preview__count {
    font-size: 0.68rem;
    font-weight: 700;
    color: #ff6b2c;
    letter-spacing: 0.04em;
}

.eco-node-preview__list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 0.35rem;
}

.eco-node-preview__list a {
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
}

.eco-node-preview__list a:hover {
    color: #ff6b2c;
    text-decoration: underline;
}

.eco-node-preview__more {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.45);
}

.eco-node-preview__cta {
    align-self: flex-start;
    margin-top: 0.15rem;
    padding: 0.35rem 0.75rem;
    border-radius: 8px;
    background: #ff6b2c;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: 0.04em;
    transition: background 0.15s ease, transform 0.15s ease;
}

.eco-node-preview__cta:hover {
    background: #ff824f;
    transform: translateY(-1px);
}

@keyframes eco-preview-in-b-wbspek124v {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .eco-node-preview {
        animation: none;
    }
}

/* /Components/Ecosistema/EcosistemaPageContent.razor.rz.scp.css */
.eco-root {
    background: #050508;
    min-height: 100vh;
    min-height: 100dvh;
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .eco-root {
        padding-bottom: 0;
    }
}

.eco-root--boot .eco-sections {
    opacity: 0;
    pointer-events: none;
    min-height: 0;
    padding: 0;
    overflow: hidden;
}

.eco-root--splash-active {
    user-select: none;
}

/* Keep hub laid out (for WebGL size) but invisible until splash fades — avoids canvas 0×0 / flicker. */
.eco-root--splash-active .eco-hub,
.eco-root--splash-active .eco-ligas-dest,
.eco-root--splash-active .eco-sections {
    opacity: 0;
    pointer-events: none;
}

.eco-root__loading {
    margin: 0;
    padding: 1.25rem 1rem 2rem;
    text-align: center;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: 0.04em;
}

/* /Components/Ecosistema/EcosistemaPortadaTabs.razor.rz.scp.css */
.eco-portada-tabs .eco-sections__inner {
    gap: 0;
}

.eco-portada-block {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding-top: 0.35rem;
}

.eco-portada-block__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.eco-portada-block__title {
    margin: 0;
    font-size: clamp(1.05rem, 3vw, 1.25rem);
    font-weight: 800;
    color: rgba(255, 255, 255, 0.95);
}

.eco-portada-block__lead {
    margin: 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.35;
}

.eco-portada-block__link {
    appearance: none;
    border: none;
    background: none;
    padding: 0;
    font: inherit;
    font-size: 0.82rem;
    font-weight: 700;
    color: rgba(100, 255, 154, 0.9);
    text-decoration: none;
    cursor: pointer;
}

a.eco-portada-block__link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
}

.eco-portada-block__link:hover,
.eco-portada-block__link:focus-visible {
    color: #64ff9a;
    text-decoration: underline;
    outline: none;
}

.eco-portada-finales-cta {
    margin-top: 0.15rem;
}

.eco-portada-panel {
    min-height: 12rem;
    display: flex;
    flex-direction: column;
    gap: clamp(1.25rem, 3vw, 2rem);
}

@media (max-width: 768px) {
    .eco-portada-panel {
        min-height: 8rem;
        gap: 0.85rem;
    }
}

.eco-portada-panel--enter {
    animation: eco-portada-fade-b-rsn3x6nz5t 240ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes eco-portada-fade-b-rsn3x6nz5t {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.eco-portada-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.eco-portada-card {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    min-height: 64px;
    padding: 0.7rem 0.85rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
    color: inherit;
    text-decoration: none;
    transition:
        border-color 0.18s ease,
        background 0.18s ease,
        transform 0.15s ease;
}

.eco-portada-card:hover,
.eco-portada-card:focus-visible {
    outline: none;
    border-color: rgba(100, 255, 154, 0.35);
    background: rgba(100, 255, 154, 0.06);
}

.eco-portada-card:focus-visible {
    box-shadow: 0 0 0 2px rgba(100, 255, 154, 0.35);
}

.eco-portada-card__logo {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    overflow: hidden;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.06);
}

.eco-portada-card__logo--avatar {
    border-radius: 50%;
}

.eco-portada-card__logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.eco-portada-card__ph {
    font-size: 1.15rem;
    line-height: 1;
}

.eco-portada-card__body {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.eco-portada-card__name {
    font-size: 0.98rem;
    font-weight: 750;
    color: rgba(255, 255, 255, 0.95);
    display: inline-flex;
    align-items: baseline;
    gap: 0.4rem;
}

.eco-portada-card__num {
    font-size: 0.78rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.45);
}

.eco-portada-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.65rem;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.55);
}

.eco-portada-card__badge {
    padding: 0.1rem 0.4rem;
    border-radius: 6px;
    background: rgba(59, 130, 246, 0.16);
    color: #93c5fd;
    font-weight: 700;
    font-size: 0.7rem;
    text-transform: capitalize;
}

.eco-portada-state {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
    min-height: 8rem;
    padding: 1rem 0.25rem;
    color: rgba(255, 255, 255, 0.58);
}

.eco-portada-state p {
    margin: 0;
}

.eco-portada-state--error {
    color: #fecaca;
}

.eco-portada-retry {
    min-height: 44px;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

.eco-portada-retry:hover,
.eco-portada-retry:focus-visible {
    outline: none;
    border-color: rgba(100, 255, 154, 0.4);
}

.eco-portada-skel {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-height: 12rem;
}

.eco-portada-skel__row,
.eco-portada-skel__card {
    border-radius: 14px;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.04) 0%,
        rgba(255, 255, 255, 0.09) 45%,
        rgba(255, 255, 255, 0.04) 100%);
    background-size: 200% 100%;
    animation: eco-portada-shimmer-b-rsn3x6nz5t 1.4s ease-in-out infinite;
}

.eco-portada-skel__row {
    height: 64px;
}

.eco-portada-skel__card {
    height: 168px;
}

@keyframes eco-portada-shimmer-b-rsn3x6nz5t {
    0% { background-position: 100% 0; }
    100% { background-position: -100% 0; }
}

.eco-portada-search {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    margin-bottom: 0.35rem;
}

.eco-portada-search__label {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

.eco-portada-search__row {
    display: flex;
    gap: 0.55rem;
    flex-wrap: wrap;
}

.eco-portada-search__input {
    flex: 1 1 12rem;
    min-height: 44px;
    padding: 0.55rem 0.85rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(8, 10, 18, 0.72);
    color: #fff;
    font-size: 0.95rem;
}

.eco-portada-search__input:focus-visible {
    outline: none;
    border-color: rgba(100, 255, 154, 0.45);
    box-shadow: 0 0 0 2px rgba(100, 255, 154, 0.2);
}

.eco-portada-search__btn {
    min-height: 44px;
    padding: 0.55rem 1.1rem;
    border-radius: 10px;
    border: 1px solid rgba(100, 255, 154, 0.35);
    background: rgba(100, 255, 154, 0.12);
    color: var(--clutch-green-light);
    font-weight: 750;
    cursor: pointer;
}

.eco-portada-search__btn:hover,
.eco-portada-search__btn:focus-visible {
    outline: none;
    background: rgba(100, 255, 154, 0.18);
}

.eco-jug {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.eco-jug-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.eco-jug-chip {
    min-height: 36px;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
}

.eco-jug-chip:hover,
.eco-jug-chip:focus-visible {
    outline: none;
    border-color: rgba(245, 177, 0, 0.35);
    color: #fff;
}

.eco-jug-chip--active {
    border-color: rgba(100, 255, 154, 0.45);
    background: rgba(100, 255, 154, 0.12);
    color: #8AE8B0;
    box-shadow: 0 0 0 1px rgba(214, 180, 106, 0.2);
}

.eco-jug-filters__toggle {
    min-height: 40px;
    padding: 0.4rem 0.85rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
}

.eco-jug-filters__panel {
    display: none;
    margin-top: 0.65rem;
}

.eco-jug-filters__panel--open {
    display: block;
}

.eco-jug-filters__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 140px), 1fr));
    gap: 0.55rem;
}

.eco-jug-select {
    width: 100%;
    min-height: 42px;
    padding: 0.5rem 0.65rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(8, 10, 18, 0.72);
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.8rem;
    font-weight: 600;
}

.eco-jug-select--input {
    appearance: textfield;
}

.eco-jug-select--compact {
    width: auto;
    min-width: 4.5rem;
    min-height: 36px;
    padding: 0.3rem 0.5rem;
}

.eco-jug-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.35rem 1rem;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 600;
}

.eco-jug-card .eco-portada-card__ph {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: #f5b100;
}

.eco-jug-status {
    margin-left: 0.35rem;
    padding: 0.08rem 0.4rem;
    border-radius: 999px;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.eco-jug-status--off {
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.45);
}

.eco-jug-pager {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 1rem;
    margin-top: 0.35rem;
}

.eco-jug-pager__size {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.55);
    font-weight: 600;
}

.eco-jug-pager__nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
}

.eco-jug-pager__pages {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.eco-jug-pager__btn,
.eco-jug-pager__page {
    min-height: 36px;
    min-width: 36px;
    padding: 0.35rem 0.7rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
}

.eco-jug-pager__page--active {
    border-color: rgba(245, 177, 0, 0.4);
    background: rgba(245, 177, 0, 0.12);
    color: #f5b100;
}

.eco-jug-pager__btn:disabled,
.eco-jug-pager__page:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.eco-jug-pager__btn:hover:not(:disabled),
.eco-jug-pager__page:hover:not(:disabled),
.eco-jug-pager__btn:focus-visible:not(:disabled),
.eco-jug-pager__page:focus-visible:not(:disabled) {
    outline: none;
    border-color: rgba(100, 255, 154, 0.35);
}

.eco-jug-pager__ellipsis {
    color: rgba(255, 255, 255, 0.35);
    padding: 0 0.15rem;
}

.eco-jug-pager__info {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.45);
    font-weight: 600;
}

@media (min-width: 768px) {
    .eco-jug-filters__toggle {
        display: none;
    }

    .eco-jug-filters__panel {
        display: block;
        margin-top: 0;
    }
}

@media (max-width: 600px) {
    .eco-jug-pager {
        flex-direction: column;
        align-items: stretch;
    }

    .eco-jug-pager__nav {
        justify-content: center;
    }

    .eco-jug-pager__info,
    .eco-jug-pager__size {
        justify-content: center;
    }

    .eco-jug-meta {
        flex-direction: column;
        gap: 0.2rem;
    }

    .eco-portada-card__meta {
        gap: 0.25rem 0.5rem;
        font-size: 0.72rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .eco-portada-panel--enter {
        animation: none;
    }

    .eco-portada-skel__row,
    .eco-portada-skel__card {
        animation: none;
    }

    .eco-portada-card {
        transition: none;
    }
}

/* /Components/Ecosistema/EcosistemaSections.razor.rz.scp.css */
.eco-sections {
    --eco-content-max: 1120px;
    position: relative;
    background:
        linear-gradient(180deg, #050508 0%, #08080f 28%, #07070c 100%);
    color: #fff;
    padding: 0 clamp(1.1rem, 3.5vw, 2.5rem) clamp(2.75rem, 5vw, 4rem);
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: unset;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: clip;
}

@media (max-width: 768px) {
    .eco-sections {
        padding: 0 16px 16px;
    }

    .eco-sections__inner {
        gap: 0.85rem;
        padding-top: 0;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
}

.eco-sections__inner {
    width: min(var(--eco-content-max), 100%);
    display: flex;
    flex-direction: column;
    gap: clamp(2rem, 4vw, 2.75rem);
    padding-top: 0.25rem;
}

.eco-sections__hint {
    margin: 0;
    padding: 0.7rem 1rem;
    border-radius: 10px;
    background: rgba(100, 255, 154, 0.08);
    border: 1px solid rgba(100, 255, 154, 0.2);
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.75);
    text-align: center;
}

.eco-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    scroll-margin-top: 5.5rem;
    padding: clamp(1.15rem, 2.4vw, 1.5rem);
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background:
        linear-gradient(165deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012));
}

.eco-section--upcoming {
    background:
        linear-gradient(165deg, rgba(249, 115, 22, 0.08), rgba(255, 255, 255, 0.02) 55%);
    border-color: rgba(249, 115, 22, 0.14);
}

.eco-section--results {
    background:
        linear-gradient(165deg, rgba(34, 197, 94, 0.07), rgba(255, 255, 255, 0.02) 55%);
    border-color: rgba(34, 197, 94, 0.12);
}

.eco-section--muted {
    opacity: 0.9;
}

.eco-section__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.eco-section__titles {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    min-width: 0;
}

.eco-section__title {
    margin: 0;
    font-size: clamp(1.15rem, 2.4vw, 1.45rem);
    font-weight: 800;
    letter-spacing: -0.01em;
    text-transform: none;
    color: rgba(255, 255, 255, 0.96);
}

.eco-section__subtitle {
    margin: 0;
    max-width: 42ch;
    font-size: clamp(0.88rem, 1.3vw, 0.98rem);
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.58);
    font-weight: 500;
}

.eco-section__more {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--clutch-green);
    text-decoration: none;
    white-space: nowrap;
    align-self: center;
}

.eco-section__more:hover,
.eco-section__more:focus-visible {
    text-decoration: underline;
    outline: none;
}

.eco-section__more--block {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.55rem 1.1rem;
    border-radius: 10px;
    border: 1px solid rgba(100, 255, 154, 0.35);
    background: rgba(100, 255, 154, 0.08);
    text-decoration: none;
}

.eco-section__more--block:hover,
.eco-section__more--block:focus-visible {
    background: rgba(100, 255, 154, 0.14);
    text-decoration: none;
}

.eco-section__footer {
    display: flex;
    justify-content: center;
    padding-top: 0.15rem;
}

.eco-section__footer .eco-section__more--block {
    width: min(100%, 22rem);
}

.eco-section__head .eco-section__more {
    display: none;
}

@media (min-width: 720px) {
    .eco-section__head .eco-section__more {
        display: inline;
    }

    .eco-section__footer {
        display: none;
    }
}

.eco-section__empty {
    margin: 0;
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.5);
}

.eco-matches-row {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
    gap: 0.95rem;
    align-items: stretch;
}

.eco-matches-row  .pc-card {
    height: 100%;
    min-height: 168px;
}

.eco-section--results  .pc-card {
    min-height: 176px;
}

.eco-section--results  .pc-team-name {
    font-size: 0.88rem;
}

.eco-section--results  .pc-liga,
.eco-section--upcoming  .pc-liga {
    font-size: 0.74rem;
    color: #8b8ba8;
}

.eco-section--upcoming  .pc-fecha,
.eco-section--results  .pc-fecha {
    font-size: 0.82rem;
    color: #a1a1b8;
    font-weight: 600;
}

.eco-section--upcoming  .pc-meta-venue,
.eco-section--results  .pc-meta-venue {
    font-size: 0.74rem;
}

@media (min-width: 900px) and (max-width: 1199px) {
    .eco-matches-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1200px) {
    .eco-matches-row {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .eco-matches-row--carousel {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 719px) {
    .eco-matches-row,
    .eco-matches-row--carousel {
        display: flex;
        flex-direction: row;
        gap: 12px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        padding: 2px 2px 10px;
        margin: 0 -2px;
        scrollbar-width: thin;
    }

    .eco-matches-row  .pc-card,
    .eco-matches-row--carousel  .pc-card {
        flex: 0 0 min(300px, 86vw);
        scroll-snap-align: start;
        height: auto;
        min-height: 172px;
    }
}

@media (max-width: 480px) {
    .eco-matches-row  .pc-card,
    .eco-matches-row--carousel  .pc-card {
        flex: 0 0 min(100%, 92vw);
        max-width: 100%;
    }
}

/* /Components/Ecosistema/EcosystemHero.razor.rz.scp.css */
.eco-hero {
    position: relative;
    min-height: min(94vh, 900px);
    min-height: min(94dvh, 900px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: clamp(1.5rem, 4vw, 2.5rem) clamp(1rem, 3vw, 2rem) 2rem;
    overflow: hidden;
    background: #050508;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.eco-hero__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.eco-hero__stars {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(1px 1px at 10% 20%, rgba(255, 255, 255, 0.5), transparent),
        radial-gradient(1px 1px at 30% 70%, rgba(255, 255, 255, 0.35), transparent),
        radial-gradient(1px 1px at 70% 30%, rgba(255, 255, 255, 0.4), transparent),
        radial-gradient(1px 1px at 90% 80%, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(1.5px 1.5px at 50% 50%, rgba(255, 255, 255, 0.25), transparent);
    opacity: 0.7;
}

.eco-hero__nebula {
    position: absolute;
    inset: -20%;
    background:
        radial-gradient(ellipse 50% 40% at 50% 45%, rgba(99, 102, 241, 0.12), transparent 60%),
        radial-gradient(ellipse 40% 35% at 60% 55%, rgba(255, 107, 44, 0.1), transparent 55%);
    animation: eco-nebula-drift-b-rt4pzp0gnb 22s ease-in-out infinite alternate;
}

.eco-hero__copy {
    position: relative;
    z-index: 2;
    text-align: center;
    flex-shrink: 0;
    margin-bottom: clamp(0.75rem, 2vw, 1.25rem);
    max-width: 36rem;
}

.eco-hero__eyebrow {
    margin: 0 0 0.35rem;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    color: rgba(255, 107, 44, 0.85);
}

.eco-hero__title {
    margin: 0;
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 900;
    letter-spacing: 0.02em;
    text-shadow: 0 0 40px rgba(255, 107, 44, 0.25);
}

.eco-hero__sub {
    margin: 0.5rem 0 0;
    font-size: clamp(0.85rem, 2vw, 1rem);
    color: rgba(255, 255, 255, 0.65);
}

.eco-hero__ball-stage {
    position: relative;
    flex: 1;
    width: min(920px, 100%);
    min-height: clamp(420px, 52vh, 560px);
    display: grid;
    place-items: center;
    overflow: hidden;
}

.eco-hero__ball-stage {
    display: grid;
}

.eco-hero__ball-stack {
    position: relative;
    width: min(420px, 78vw);
    height: min(420px, 78vw);
    display: grid;
    place-items: center;
}

.eco-hero__ball-stack:not(:has(.planet-ball-3d--ready))  .planet-ball-2d__sections {
    display: none;
}

.eco-hero__ball-stack  .planet-ball-fallback-2d {
    position: relative;
    z-index: 2;
}

.eco-hero__ball-stack:has(.planet-ball-3d--ready)  .planet-ball-fallback-2d {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.eco-hero__ball-stack  .planet-ball-3d {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.eco-hero__ball-stack  .planet-ball-3d__stage {
    width: 100%;
    height: 100%;
    margin: 0;
}

.eco-hero__hint {
    position: absolute;
    bottom: 0;
    margin: 0;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.32);
}

@media (max-width: 768px) {
    .eco-hero {
        min-height: auto;
        padding-bottom: 1.25rem;
        overflow-x: hidden;
    }

    .eco-hero__copy {
        margin-bottom: 0.75rem;
    }

    .eco-hero__ball-stage {
        min-height: clamp(280px, 52vw, 320px);
        flex: 0 0 auto;
    }

    .eco-hero__ball-stack {
        width: min(300px, 82vw);
        height: min(300px, 82vw);
    }

    .eco-hero__ball-stack  .planet-ball-3d {
        display: block !important;
    }

    .eco-hero__hint {
        display: none;
    }
}

@keyframes eco-nebula-drift-b-rt4pzp0gnb {
    from { transform: translate(0, 0) scale(1); }
    to { transform: translate(2%, -1%) scale(1.04); }
}

@media (prefers-reduced-motion: reduce) {
    .eco-hero__nebula {
        animation: none !important;
    }
}

/* /Components/Ecosistema/EcosystemHub.razor.rz.scp.css */
.eco-hub {
    --eco-content-max: 1120px;
    position: relative;
    min-height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: clamp(1.25rem, 3.2vw, 2.25rem) clamp(1.1rem, 3.5vw, 2.5rem) clamp(1.1rem, 2.8vw, 1.75rem);
    overflow-x: clip;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    background: #050508;
    color: #fff;
}

.eco-hub__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.eco-hub__stars {
    position: absolute;
    inset: 0;
    opacity: 0.45;
    background-image:
        radial-gradient(1px 1px at 12% 22%, rgba(255, 255, 255, 0.45), transparent),
        radial-gradient(1px 1px at 72% 18%, rgba(255, 255, 255, 0.35), transparent),
        radial-gradient(1px 1px at 48% 68%, rgba(255, 255, 255, 0.28), transparent),
        radial-gradient(1px 1px at 88% 74%, rgba(255, 255, 255, 0.32), transparent);
}

.eco-hub__gradient {
    position: absolute;
    inset: -10%;
    background:
        radial-gradient(ellipse 42% 38% at 78% 42%, var(--eco-hub-glow, rgba(100, 255, 154, 0.12)), transparent 68%),
        radial-gradient(ellipse 36% 32% at 18% 30%, rgba(46, 230, 197, 0.08), transparent 62%);
    transition: background 0.55s ease;
}

.eco-hub__fade {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: clamp(48px, 8vw, 96px);
    background: linear-gradient(180deg, transparent 0%, #050508 92%);
}

.eco-hub__layout {
    position: relative;
    z-index: 2;
    width: min(var(--eco-content-max), 100%);
    max-width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: start;
    gap: clamp(1.25rem, 3.5vw, 2.5rem);
    box-sizing: border-box;
}

.eco-hub__copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
    min-width: 0;
    min-height: 0;
    width: 100%;
}

.eco-hub__eyebrow {
    margin: 0;
    font-size: clamp(0.72rem, 1.2vw, 0.82rem);
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--clutch-green);
}

.eco-hub__title {
    margin: 0;
    font-size: clamp(1.85rem, 4.2vw, 3.15rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.02em;
    color: #fff;
    text-wrap: balance;
    max-width: 16ch;
}

.eco-hub__desc {
    margin: 0;
    padding-bottom: 0;
    max-width: 38ch;
    font-size: clamp(1rem, 1.55vw, 1.2rem);
    line-height: 1.4;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.72);
}

.eco-hub__ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 0.05rem;
    width: 100%;
}

.eco-hub__desc + .eco-hub__ctas {
    margin-top: 0;
}

.eco-hub__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.7rem 1.25rem;
    border-radius: 12px;
    font-size: clamp(0.92rem, 1.2vw, 1.02rem);
    font-weight: 700;
    font-family: inherit;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    appearance: none;
    box-sizing: border-box;
    transition:
        background 0.18s ease,
        border-color 0.18s ease,
        transform 0.18s ease,
        box-shadow 0.18s ease;
}

button.eco-hub__cta {
    margin: 0;
}

.eco-hub__cta--primary {
    color: #0a0a0c;
    background: linear-gradient(180deg, var(--clutch-green-light) 0%, var(--clutch-green) 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 6px 18px rgba(100, 255, 154, 0.2);
}

.eco-hub__cta--primary:hover,
.eco-hub__cta--primary:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(100, 255, 154, 0.28);
    outline: none;
}

.eco-hub__cta--secondary-strong {
    color: rgba(255, 255, 255, 0.95);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(46, 230, 197, 0.45);
}

.eco-hub__cta--secondary-strong:hover,
.eco-hub__cta--secondary-strong:focus-visible {
    border-color: rgba(100, 255, 154, 0.45);
    background: rgba(100, 255, 154, 0.1);
    outline: none;
}

.eco-hub__quick {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
    width: 100%;
    max-width: 28rem;
}

.eco-hub__quick--muted .eco-hub__quick-item {
    min-height: 44px;
    opacity: 0.82;
    border-color: rgba(255, 255, 255, 0.07);
    background: transparent;
    font-weight: 650;
}

.eco-hub__quick--muted .eco-hub__quick-icon {
    font-size: 0.95rem;
}

.eco-hub__quick-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    min-height: 52px;
    padding: 0.45rem 0.35rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
    font-family: inherit;
    font-size: 0.72rem;
    font-weight: 700;
    cursor: pointer;
    box-sizing: border-box;
    appearance: none;
    margin: 0;
}

.eco-hub__quick-item:hover,
.eco-hub__quick-item:focus-visible {
    outline: none;
    border-color: rgba(100, 255, 154, 0.35);
    background: rgba(100, 255, 154, 0.08);
    color: #fff;
}

.eco-hub__quick-icon {
    font-size: 1rem;
    line-height: 1;
}

.eco-hub__quick-label {
    line-height: 1.15;
    text-align: center;
}

.eco-hub__account {
    margin: 0;
}

/* Acción de cuenta discreta: no compite con el CTA principal */
.eco-hub__account-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0.2rem 0.15rem;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(255, 255, 255, 0.22);
    box-sizing: border-box;
}

.eco-hub__account-link:hover,
.eco-hub__account-link:focus-visible {
    outline: none;
    color: rgba(255, 255, 255, 0.88);
    text-decoration-color: rgba(100, 255, 154, 0.55);
}

.eco-hub__nav {
    width: 100%;
    margin-top: 0.15rem;
}

.eco-hub__stage {
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    width: 100%;
    min-height: 0;
}

.eco-hub__ball-stack {
    position: relative;
    flex: 0 0 auto;
    width: min(300px, 100%);
    height: min(300px, 42vw);
    max-height: 320px;
    z-index: 3;
}

.eco-hub__ball-stack  .planet-ball-fallback-2d {
    position: relative;
    z-index: 2;
}

.eco-hub__ball-stack:has(.planet-ball-3d--ready)  .planet-ball-fallback-2d {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.eco-hub__ball-stack  .planet-ball-3d {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.eco-hub__ball-stack  .planet-ball-3d__stage {
    width: 100%;
    height: 100%;
    margin: 0;
}

.eco-hub__ball-stack  .planet-ball-3d__canvas-host {
    filter: drop-shadow(0 0 28px var(--eco-hub-glow, rgba(100, 255, 154, 0.18)));
    transition: filter 0.45s ease;
}

@media (min-width: 1100px) {
    .eco-hub__ball-stack {
        width: min(340px, 100%);
        height: 340px;
        max-height: 340px;
    }
}

/* Tablet / mobile: compact hero, single nav (bottom bar), hide decorative ball */
@media (max-width: 900px) {
    .eco-hub {
        padding: 8px 14px 10px;
        align-items: stretch;
        justify-content: flex-start;
    }

    .eco-hub__layout {
        grid-template-columns: 1fr;
        gap: 0.45rem;
    }

    .eco-hub__copy {
        gap: 0.28rem;
    }

    .eco-hub__title {
        max-width: none;
        font-size: clamp(1.22rem, 5.8vw, 1.65rem);
        line-height: 1.12;
    }

    .eco-hub__desc {
        max-width: 36ch;
        font-size: clamp(0.85rem, 3.4vw, 0.98rem);
        line-height: 1.28;
        padding-bottom: 0;
        margin-bottom: 0;
    }

    .eco-hub__ctas {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0.4rem;
        margin-top: 0.05rem;
    }

    .eco-hub__cta {
        width: 100%;
        min-height: 46px;
        max-height: 52px;
        font-size: 0.92rem;
        padding: 0.55rem 1rem;
        border-radius: 10px;
    }

    .eco-hub__cta--primary {
        box-shadow: 0 4px 14px rgba(100, 255, 154, 0.18);
    }

    .eco-hub__cta--secondary-strong {
        min-height: 44px;
        font-weight: 650;
    }

    .eco-hub__quick {
        max-width: none;
        gap: 0.35rem;
        margin-top: 0.1rem;
    }

    .eco-hub__quick-item {
        min-height: 44px;
        border-radius: 8px;
        padding: 0.35rem 0.25rem;
    }

    .eco-hub__account {
        margin-top: 0.05rem;
        text-align: center;
    }

    .eco-hub__account-link {
        min-height: 40px;
        width: auto;
        font-size: 0.78rem;
        font-weight: 550;
        color: rgba(255, 255, 255, 0.48);
    }

    /* Desktop chips become duplicate of bottom bar — hide on touch layouts */
    .eco-hub__nav--desktop {
        display: none;
    }

    .eco-hub__stage {
        display: none;
    }

    .eco-hub__gradient {
        background:
            radial-gradient(ellipse 70% 28% at 50% 0%, rgba(100, 255, 154, 0.1), transparent 70%),
            radial-gradient(ellipse 50% 30% at 12% 40%, rgba(46, 230, 197, 0.07), transparent 65%);
    }
}

@media (max-width: 360px) {
    .eco-hub {
        padding: 10px 14px 12px;
    }

    .eco-hub__desc {
        font-size: 0.95rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .eco-hub__gradient,
    .eco-hub__cta,
    .eco-hub__ball-stack  .planet-ball-3d__canvas-host {
        transition: none;
    }

    .eco-hub__cta--primary:hover,
    .eco-hub__cta--primary:focus-visible {
        transform: none;
    }
}

/* /Components/Ecosistema/EcosystemHubMobileChips.razor.rz.scp.css */
.eco-hub-chips {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.5rem;
    width: 100%;
    padding: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    overscroll-behavior-x: contain;
}

.eco-hub-chips__item {
    display: inline-flex;
    flex: 1 1 0;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 44px;
    min-width: 0;
    padding: 0.5rem 0.55rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(8, 10, 18, 0.72);
    backdrop-filter: blur(12px);
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    opacity: 0.88;
    transition:
        opacity 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.eco-hub-chips__item--active {
    opacity: 1;
    border-color: color-mix(in srgb, var(--eco-chip-color) 55%, rgba(255, 255, 255, 0.2));
    box-shadow: 0 0 16px color-mix(in srgb, var(--eco-chip-color) 24%, transparent);
    transform: translateY(-1px);
}

.eco-hub-chips__item:not(.eco-hub-chips__item--disabled):hover,
.eco-hub-chips__item:not(.eco-hub-chips__item--disabled):focus-visible {
    opacity: 1;
    outline: none;
    border-color: color-mix(in srgb, var(--eco-chip-color) 45%, rgba(255, 255, 255, 0.16));
    box-shadow: 0 0 12px color-mix(in srgb, var(--eco-chip-color) 18%, transparent);
}

.eco-hub-chips__item:not(.eco-hub-chips__item--disabled):focus-visible {
    box-shadow:
        0 0 0 2px rgba(5, 5, 8, 0.9),
        0 0 0 4px color-mix(in srgb, var(--eco-chip-color) 55%, #fff);
}

.eco-hub-chips__item--disabled {
    opacity: 0.42;
    cursor: default;
}

.eco-hub-chips__item:not(.eco-hub-chips__item--disabled):active {
    transform: scale(0.98);
}

.eco-hub-chips__icon {
    font-size: 0.95rem;
    line-height: 1;
    flex-shrink: 0;
}

.eco-hub-chips__label {
    white-space: nowrap;
}

.eco-hub-chips__count {
    margin-left: 0.1rem;
    min-width: 1.25rem;
    padding: 0.1rem 0.35rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    font-size: 0.68rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.75);
}

.eco-hub-chips__soon {
    margin-left: auto;
    font-size: 0.55rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    flex-shrink: 0;
}

@media (max-width: 900px) {
    .eco-hub-chips {
        gap: 0.55rem;
        padding-bottom: 0.15rem;
    }

    .eco-hub-chips__item {
        flex: 0 0 auto;
        min-width: 7.25rem;
        min-height: 48px;
        padding: 0.55rem 0.9rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 420px) {
    .eco-hub-chips__label {
        font-size: 0.82rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .eco-hub-chips__item {
        transition: none;
    }
}

/* /Components/Ecosistema/EcosystemHubPanel.razor.rz.scp.css */
.eco-hub-panel {
    position: relative;
    z-index: 5;
    width: min(280px, 100%);
    padding: 0.95rem 1.05rem;
    border-radius: 18px;
    border: 1px solid color-mix(in srgb, var(--eco-panel-color, #f97316) 22%, rgba(255, 255, 255, 0.1));
    background: rgba(8, 10, 18, 0.62);
    backdrop-filter: blur(20px) saturate(1.15);
    box-shadow:
        0 16px 48px rgba(0, 0, 0, 0.36),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.eco-hub-panel--idle {
    --eco-panel-color: #94a3b8;
}

.eco-hub-panel__kicker {
    display: block;
    color: color-mix(in srgb, var(--eco-panel-color, #f97316) 85%, white);
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.eco-hub-panel__title {
    margin: 0.35rem 0 0.25rem;
    font-size: clamp(1.05rem, 2.2vw, 1.3rem);
    font-weight: 800;
    color: #fff;
}

.eco-hub-panel__desc {
    margin: 0;
    color: rgba(255, 255, 255, 0.68);
    line-height: 1.45;
    font-size: 0.84rem;
}

.eco-hub-panel__count {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.18rem 0.5rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--eco-panel-color, #f97316) 16%, transparent);
    color: color-mix(in srgb, var(--eco-panel-color, #f97316) 70%, white);
    font-size: 0.68rem;
    font-weight: 700;
}

.eco-hub-panel__soon-badge {
    display: inline-block;
    margin-top: 0.6rem;
    padding: 0.3rem 0.55rem;
    border-radius: 999px;
    border: 1px dashed rgba(255, 255, 255, 0.22);
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.eco-hub-panel__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.75rem;
    min-height: 44px;
    padding: 0 0.85rem;
    border-radius: 999px;
    background: var(--eco-panel-color, #f97316);
    color: #0c0a09;
    font-weight: 900;
    font-size: 0.82rem;
    text-decoration: none;
    transition: filter 0.2s ease, transform 0.2s ease;
}

.eco-hub-panel__cta:hover {
    filter: brightness(1.06);
    transform: translateY(-1px);
}

@media (min-width: 769px) {
    .eco-hub-panel--compact {
        display: none;
    }
}

@media (max-width: 768px) {
    .eco-hub-panel:not(.eco-hub-panel--compact) {
        display: none;
    }

    .eco-hub-panel--compact {
        width: 100%;
        max-width: 100%;
        padding: 0.85rem 1rem;
    }
}

/* /Components/Ecosistema/EcosystemHubSectionNode.razor.rz.scp.css */
.eco-hub-node {
    position: absolute;
    left: var(--eco-node-x);
    top: var(--eco-node-y);
    transform: translate(-50%, -50%);
    z-index: 6;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    opacity: 0.78;
    transition:
        opacity 0.25s ease,
        transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.eco-hub-node--active {
    opacity: 1;
    z-index: 7;
}

.eco-hub-node--disabled {
    opacity: 0.38;
    cursor: default;
}

.eco-hub-node:not(.eco-hub-node--disabled):hover,
.eco-hub-node:not(.eco-hub-node--disabled):focus-visible {
    opacity: 1;
    transform: translate(-50%, calc(-50% - 3px));
    outline: none;
}

.eco-hub-node__ring {
    position: absolute;
    inset: -8px;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--eco-node-color) 40%, transparent);
    opacity: 0;
    transition: opacity 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    pointer-events: none;
}

.eco-hub-node--active .eco-hub-node__ring {
    opacity: 1;
    transform: scale(1.06);
    box-shadow:
        0 0 20px color-mix(in srgb, var(--eco-node-color) 45%, transparent),
        0 0 40px color-mix(in srgb, var(--eco-node-color) 18%, transparent);
    animation: eco-hub-node-glow-b-8jx5hpvf94 2.4s ease-in-out infinite;
}

.eco-hub-node__chip {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.32rem;
    padding: 0.35rem 0.62rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(8, 10, 18, 0.68);
    backdrop-filter: blur(14px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.32);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    white-space: nowrap;
}

.eco-hub-node--active .eco-hub-node__chip {
    border-color: color-mix(in srgb, var(--eco-node-color) 50%, rgba(255, 255, 255, 0.18));
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.38),
        0 0 16px color-mix(in srgb, var(--eco-node-color) 22%, transparent);
}

.eco-hub-node__icon {
    font-size: 0.9rem;
    line-height: 1;
}

.eco-hub-node__label {
    letter-spacing: 0.02em;
}

.eco-hub-node__soon {
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
}

@keyframes eco-hub-node-glow-b-8jx5hpvf94 {
    0%, 100% {
        box-shadow:
            0 0 16px color-mix(in srgb, var(--eco-node-color) 35%, transparent),
            0 0 32px color-mix(in srgb, var(--eco-node-color) 12%, transparent);
    }
    50% {
        box-shadow:
            0 0 24px color-mix(in srgb, var(--eco-node-color) 55%, transparent),
            0 0 48px color-mix(in srgb, var(--eco-node-color) 22%, transparent);
    }
}

@media (max-width: 768px) {
    .eco-hub-node {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .eco-hub-node {
        transition: none;
    }

    .eco-hub-node--active .eco-hub-node__ring {
        animation: none;
    }
}

/* /Components/Ecosistema/EcosystemInteractiveBall.razor.rz.scp.css */
/* Hero compartido (mismo tono que orbit legacy) */
.eco-hero {
    position: relative;
    min-height: min(94vh, 900px);
    min-height: min(94dvh, 900px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: clamp(1.5rem, 4vw, 2.5rem) clamp(1rem, 3vw, 2rem) 2rem;
    overflow: hidden;
    background: #050508;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.eco-hero__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.eco-hero__stars {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(1px 1px at 10% 20%, rgba(255, 255, 255, 0.5), transparent),
        radial-gradient(1px 1px at 30% 70%, rgba(255, 255, 255, 0.35), transparent),
        radial-gradient(1px 1px at 70% 30%, rgba(255, 255, 255, 0.4), transparent),
        radial-gradient(1px 1px at 90% 80%, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(1.5px 1.5px at 50% 50%, rgba(255, 255, 255, 0.25), transparent);
    opacity: 0.7;
}

.eco-hero__nebula {
    position: absolute;
    inset: -20%;
    background:
        radial-gradient(ellipse 50% 40% at 50% 45%, rgba(99, 102, 241, 0.12), transparent 60%),
        radial-gradient(ellipse 40% 35% at 60% 55%, rgba(255, 107, 44, 0.1), transparent 55%);
    animation: eco-nebula-drift-b-yswdojpp3q 22s ease-in-out infinite alternate;
}

.eco-hero__copy {
    position: relative;
    z-index: 2;
    text-align: center;
    margin-bottom: 0.75rem;
}

.eco-hero__eyebrow {
    margin: 0 0 0.35rem;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    color: rgba(255, 107, 44, 0.85);
}

.eco-hero__title {
    margin: 0;
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 900;
    letter-spacing: 0.02em;
    text-shadow: 0 0 40px rgba(255, 107, 44, 0.25);
}

.eco-hero__sub {
    margin: 0.5rem 0 0;
    font-size: clamp(0.85rem, 2vw, 1rem);
    color: rgba(255, 255, 255, 0.65);
}

.eco-hero__ball-stage {
    position: relative;
    flex: 1;
    width: min(920px, 100%);
    min-height: min(86vw, 820px);
    display: grid;
    place-items: center;
}

.eco-hero__ball-stage--desktop {
    display: grid;
}

.eco-hero__ball-stage--mobile,
.eco-hero__mobile {
    display: none;
}

.eco-hero__hint {
    position: absolute;
    bottom: 0;
    margin: 0;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.32);
}

/* Anillos orbitales decorativos */
.eco-ball-rings {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.eco-ball-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transform: translate(-50%, -50%);
}

.eco-ball-ring--outer {
    width: min(520px, 88vw);
    height: min(520px, 88vw);
    border-color: rgba(255, 107, 44, 0.18);
    box-shadow: 0 0 40px rgba(255, 107, 44, 0.06);
}

.eco-ball-ring--inner {
    width: min(420px, 72vw);
    height: min(420px, 72vw);
    border-style: dashed;
    border-color: rgba(255, 255, 255, 0.08);
}

/* Escena 3D del balón */
.eco-ball-perspective {
    position: relative;
    z-index: 3;
    width: min(380px, 72vw);
    height: min(380px, 72vw);
    perspective: 900px;
    perspective-origin: 50% 50%;
}

.eco-ball-perspective  .eco-ball-preview {
    z-index: 20;
}

.eco-ball-rotator {
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    animation: eco-ball-idle-y-b-yswdojpp3q 18s ease-in-out infinite alternate;
}

.eco-ball-core {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
}

.eco-ball-visual {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    transform-style: preserve-3d;
}

.eco-ball-visual  .eco-planet-ball {
    width: 100%;
    height: 100%;
}

.eco-ball-visual  .eco-planet-ball--hero .eco-planet-ball__img {
    animation: none;
}

.eco-ball-sections {
    position: absolute;
    inset: 0;
    z-index: 5;
    transform-style: preserve-3d;
    border-radius: 50%;
    overflow: visible;
}

/* Mobile */
@media (max-width: 768px) {
    .eco-hero {
        min-height: auto;
        padding-bottom: 1.5rem;
    }

    .eco-hero__ball-stage--desktop {
        display: none;
    }

    .eco-hero__mobile {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 1.75rem;
        padding-top: 0.25rem;
    }
}

@keyframes eco-nebula-drift-b-yswdojpp3q {
    from { transform: translate(0, 0) scale(1); }
    to { transform: translate(2%, -1%) scale(1.04); }
}

@keyframes eco-ball-idle-y-b-yswdojpp3q {
    from { transform: rotateY(-6deg); }
    to { transform: rotateY(6deg); }
}

@media (prefers-reduced-motion: reduce) {
    .eco-hero__nebula,
    .eco-ball-rotator {
        animation: none !important;
    }
}

/* /Components/Ecosistema/EcosystemMobileFallback.razor.rz.scp.css */
.eco-mobile-fallback {
    display: none;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 100%;
    gap: 1.75rem;
    padding-top: 0.25rem;
    overflow-x: hidden;
}

@media (max-width: 768px) {
    .eco-mobile-fallback {
        display: flex;
    }
}

/* /Components/Ecosistema/EcosystemModularBall3D.razor.rz.scp.css */
.eco-modular-ball {
    position: relative;
    width: 100%;
}

.eco-modular-ball__stage--desktop {
    position: relative;
    width: min(86vw, 760px);
    margin: clamp(12px, 3vw, 28px) auto 0;
}

.eco-modular-ball__canvas-host {
    position: relative;
    z-index: 1;
    width: 100%;
    aspect-ratio: 1;
    border-radius: 999px;
    filter: drop-shadow(0 0 42px rgba(255, 98, 18, 0.22));
    overflow: hidden;
}

.eco-modular-ball__canvas-host  canvas {
    display: block;
    width: 100% !important;
    height: 100% !important;
    touch-action: manipulation;
}

.eco-modular-ball__preview {
    position: absolute;
    right: clamp(-8px, -2vw, 16px);
    bottom: clamp(8px, 2vw, 24px);
    z-index: 3;
    width: min(320px, calc(100% - 16px));
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 22px;
    background: rgba(8, 9, 16, 0.78);
    backdrop-filter: blur(18px);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
}

.eco-modular-ball__preview-kicker {
    display: block;
    color: #ff6a1a;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.eco-modular-ball__preview-title {
    margin: 8px 0 6px;
    font-size: 1.4rem;
    font-weight: 800;
}

.eco-modular-ball__preview-desc {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.45;
    font-size: 0.95rem;
}

.eco-modular-ball__preview-count {
    display: inline-block;
    margin-top: 10px;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: rgba(255, 106, 26, 0.15);
    color: #ffb48a;
    font-size: 0.72rem;
    font-weight: 700;
}

.eco-modular-ball__preview-cta {
    margin-top: 14px;
    width: 100%;
    min-height: 44px;
    border: 0;
    border-radius: 999px;
    background: #ff6a1a;
    color: #120804;
    font-weight: 900;
    cursor: pointer;
}

.eco-modular-ball__preview-cta:hover {
    filter: brightness(1.06);
}

@media (max-width: 760px) {
    .eco-modular-ball__stage--desktop {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .eco-modular-ball__canvas-host {
        filter: none;
    }
}

/* /Components/Ecosistema/EcosystemPlanetBall.razor.rz.scp.css */
.eco-planet-ball {
    position: relative;
    z-index: 3;
    width: clamp(220px, 32vw, 320px);
    height: clamp(220px, 32vw, 320px);
    display: grid;
    place-items: center;
    flex-shrink: 0;
    border-radius: 50%;
    overflow: visible;
    background: transparent;
    border: none;
    box-shadow: none;
}

.eco-planet-ball--mobile {
    width: clamp(180px, 52vw, 240px);
    height: clamp(180px, 52vw, 240px);
}

.eco-planet-ball--hero {
    width: 100%;
    height: 100%;
}

.eco-planet-ball__glow {
    position: absolute;
    inset: -18%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 107, 44, 0.42), transparent 68%);
    filter: blur(10px);
    animation: eco-planet-ball-pulse-b-1f80yjan31 5s ease-in-out infinite;
    pointer-events: none;
}

.eco-planet-ball__sphere {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 28%, rgba(255, 160, 100, 0.18), transparent 55%);
    pointer-events: none;
    z-index: 0;
}

.eco-planet-ball__img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    border: none;
    background: transparent;
    border-radius: 50%;
    -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 62%, transparent 70%);
    mask-image: radial-gradient(circle at 50% 50%, #000 62%, transparent 70%);
    filter: drop-shadow(0 0 48px rgba(255, 107, 44, 0.45))
            drop-shadow(0 0 90px rgba(255, 107, 44, 0.18));
    animation: eco-planet-ball-float-b-1f80yjan31 7s ease-in-out infinite;
}

.eco-planet-ball__img--svg {
    -webkit-mask-image: none;
    mask-image: none;
}

.eco-planet-ball--hero .eco-planet-ball__img {
    animation: none;
}

@keyframes eco-planet-ball-float-b-1f80yjan31 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes eco-planet-ball-pulse-b-1f80yjan31 {
    0%, 100% { opacity: 0.55; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
}

@media (prefers-reduced-motion: reduce) {
    .eco-planet-ball__img,
    .eco-planet-ball__glow {
        animation: none !important;
    }
}

/* /Components/Ecosistema/EcosystemPreviewPanel.razor.rz.scp.css */
.eco-ball-preview {
    position: absolute;
    left: var(--eco-preview-x);
    top: var(--eco-preview-y);
    transform: translate(-50%, -50%);
    z-index: 12;
    pointer-events: auto;
    animation: eco-ball-preview-in-b-tdvy14vq1k 0.22s ease;
}

.eco-ball-preview__card {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    width: max-content;
    max-width: min(260px, 72vw);
    padding: 0.85rem 1rem;
    border-radius: 14px;
    background: rgba(6, 6, 14, 0.97);
    border: 1px solid color-mix(in srgb, var(--eco-preview-color, #ff6b2c) 45%, transparent);
    box-shadow:
        0 0 32px color-mix(in srgb, var(--eco-preview-color, #ff6b2c) 22%, transparent),
        0 18px 44px rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(12px);
}

.eco-ball-preview__icon {
    font-size: 1.35rem;
    line-height: 1;
}

.eco-ball-preview__title {
    margin: 0;
    font-size: 0.92rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.02em;
}

.eco-ball-preview__desc {
    margin: 0;
    font-size: 0.74rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.72);
}

.eco-ball-preview__count {
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--eco-preview-color, #ff6b2c);
    letter-spacing: 0.04em;
}

.eco-ball-preview__cta {
    align-self: flex-start;
    margin-top: 0.2rem;
    padding: 0.38rem 0.8rem;
    border-radius: 8px;
    background: var(--eco-preview-color, #ff6b2c);
    color: #120804;
    font-size: 0.72rem;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: 0.04em;
    transition: filter 0.15s ease, transform 0.15s ease;
}

.eco-ball-preview__cta:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
}

@keyframes eco-ball-preview-in-b-tdvy14vq1k {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.94);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

@media (prefers-reduced-motion: reduce) {
    .eco-ball-preview {
        animation: none;
    }
}

/* /Components/Ecosistema/EcosystemSectionPreview.razor.rz.scp.css */
.eco-ball-preview {
    position: absolute;
    left: var(--eco-preview-x);
    top: var(--eco-preview-y);
    transform: translate(-50%, -50%);
    z-index: 12;
    pointer-events: auto;
    animation: eco-ball-preview-in-b-i07js93dxf 0.22s ease;
}

.eco-ball-preview__card {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    width: max-content;
    max-width: min(260px, 72vw);
    padding: 0.85rem 1rem;
    border-radius: 14px;
    background: rgba(6, 6, 14, 0.97);
    border: 1px solid rgba(255, 107, 44, 0.45);
    box-shadow:
        0 0 32px rgba(255, 107, 44, 0.22),
        0 18px 44px rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(12px);
}

.eco-ball-preview__icon {
    font-size: 1.35rem;
    line-height: 1;
}

.eco-ball-preview__title {
    margin: 0;
    font-size: 0.92rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.02em;
}

.eco-ball-preview__desc {
    margin: 0;
    font-size: 0.74rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.72);
}

.eco-ball-preview__count {
    font-size: 0.68rem;
    font-weight: 700;
    color: #ff6b2c;
    letter-spacing: 0.04em;
}

.eco-ball-preview__cta {
    align-self: flex-start;
    margin-top: 0.2rem;
    padding: 0.38rem 0.8rem;
    border-radius: 8px;
    background: #ff6b2c;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: 0.04em;
    transition: background 0.15s ease, transform 0.15s ease;
}

.eco-ball-preview__cta:hover {
    background: #ff824f;
    transform: translateY(-1px);
}

@keyframes eco-ball-preview-in-b-i07js93dxf {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.94);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

@media (prefers-reduced-motion: reduce) {
    .eco-ball-preview {
        animation: none;
    }
}

/* /Components/Ecosistema/Game/CinematicTransition.razor.rz.scp.css */
.eco-cinematic {
    position: relative;
    width: 100%;
    min-height: inherit;
    overflow: hidden;
    --eco-camera-scale: 1;
    --eco-vignette-opacity: 0;
}

.eco-cinematic__stage {
    position: relative;
    z-index: 1;
    width: 100%;
    min-height: inherit;
    transform-origin: 50% 52%;
    transform: scale(var(--eco-camera-scale));
    will-change: transform, opacity, filter;
}

.eco-cinematic__vignette {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    opacity: var(--eco-vignette-opacity);
    background: radial-gradient(ellipse 72% 68% at 50% 48%, transparent 42%, rgba(0, 0, 0, 0.72) 100%);
    transition: opacity 0.9s ease;
}

.eco-cinematic__particles {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    opacity: 0;
    background-image:
        radial-gradient(1px 1px at 18% 24%, rgba(255, 255, 255, 0.5), transparent),
        radial-gradient(1px 1px at 72% 18%, rgba(255, 255, 255, 0.35), transparent),
        radial-gradient(1.5px 1.5px at 44% 68%, rgba(255, 107, 44, 0.4), transparent),
        radial-gradient(1px 1px at 86% 74%, rgba(255, 255, 255, 0.3), transparent);
    animation: eco-cinematic-particles-b-y45roz0rfu 12s linear infinite;
}

.eco-phase-camera .eco-cinematic__stage {
    animation: eco-camera-dolly-b-y45roz0rfu 1.15s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.eco-phase-camera .eco-cinematic__vignette {
    animation: eco-vignette-out-b-y45roz0rfu 1.15s ease forwards;
}

.eco-phase-camera .eco-cinematic__particles {
    animation: eco-cinematic-particles-in-b-y45roz0rfu 0.8s ease 0.15s forwards, eco-cinematic-particles-b-y45roz0rfu 12s linear 0.8s infinite;
}

.eco-phase-ball .eco-cinematic__stage,
.eco-phase-avatar .eco-cinematic__stage,
.eco-phase-modules .eco-cinematic__stage,
.eco-phase-ready .eco-cinematic__stage {
    transform: scale(1);
    opacity: 1;
    filter: brightness(1);
}

.eco-phase-ball .eco-cinematic__vignette,
.eco-phase-avatar .eco-cinematic__vignette,
.eco-phase-modules .eco-cinematic__vignette,
.eco-phase-ready .eco-cinematic__vignette {
    opacity: 0;
}

.eco-phase-ball .eco-cinematic__particles,
.eco-phase-avatar .eco-cinematic__particles,
.eco-phase-modules .eco-cinematic__particles,
.eco-phase-ready .eco-cinematic__particles {
    opacity: 0.55;
}

.eco-cinematic--reduced .eco-cinematic__stage {
    animation: none !important;
    transform: none !important;
    opacity: 1 !important;
    filter: none !important;
}

.eco-cinematic--reduced .eco-cinematic__vignette,
.eco-cinematic--reduced .eco-cinematic__particles {
    animation: none !important;
    opacity: 0 !important;
}

@keyframes eco-camera-dolly-b-y45roz0rfu {
    from {
        transform: scale(0.32) perspective(1200px) translateZ(-180px);
        opacity: 0.25;
        filter: brightness(0.35);
    }
    to {
        transform: scale(1) perspective(1200px) translateZ(0);
        opacity: 1;
        filter: brightness(1);
    }
}

@keyframes eco-vignette-out-b-y45roz0rfu {
    from { opacity: 1; }
    to { opacity: 0; }
}

@keyframes eco-cinematic-particles-in-b-y45roz0rfu {
    from { opacity: 0; }
    to { opacity: 0.55; }
}

@keyframes eco-cinematic-particles-b-y45roz0rfu {
    from { transform: translateY(0); }
    to { transform: translateY(-24px); }
}

@media (prefers-reduced-motion: reduce) {
    .eco-cinematic__stage {
        animation: none !important;
        transform: none !important;
        opacity: 1 !important;
        filter: none !important;
    }

    .eco-cinematic__vignette,
    .eco-cinematic__particles {
        animation: none !important;
        opacity: 0 !important;
    }
}

.eco-game--paused .eco-cinematic__particles {
    animation-play-state: paused;
}

/* /Components/Ecosistema/Game/ClutchAvatar.razor.rz.scp.css */
.eco-avatar {
    position: absolute;
    left: var(--eco-avatar-x);
    top: var(--eco-avatar-y);
    width: clamp(48px, 8vw, 72px);
    transform: translate(-50%, -100%);
    z-index: 8;
    opacity: 0;
    transition: left 0.85s cubic-bezier(0.22, 1, 0.36, 1),
                top 0.85s cubic-bezier(0.22, 1, 0.36, 1),
                opacity 0.35s ease;
    pointer-events: none;
}

.eco-avatar--enter {
    opacity: 1;
}

.eco-avatar--entering {
    animation: eco-avatar-slide-in-b-w2y8ro3u3p 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.eco-avatar__svg {
    width: 100%;
    height: auto;
    display: block;
}

.eco-avatar__shadow {
    fill: rgba(0, 0, 0, 0.35);
    transform-origin: center;
}

.eco-avatar--walking .eco-avatar__body {
    animation: eco-avatar-walk-b-w2y8ro3u3p 0.45s ease-in-out infinite alternate;
}

.eco-avatar--walking .eco-avatar__ball {
    animation: eco-avatar-dribble-b-w2y8ro3u3p 0.45s ease-in-out infinite alternate;
}

.eco-avatar--celebrating .eco-avatar__body {
    animation: eco-avatar-celebrate-b-w2y8ro3u3p 0.6s ease-in-out infinite alternate;
}

.eco-avatar--selecting .eco-avatar__body {
    animation: eco-avatar-nod-b-w2y8ro3u3p 0.5s ease-in-out 2;
}

.eco-avatar--moving {
    transition-duration: 1.1s;
}

@keyframes eco-avatar-walk-b-w2y8ro3u3p {
    from { transform: translateY(0) rotate(-2deg); }
    to { transform: translateY(-3px) rotate(2deg); }
}

@keyframes eco-avatar-dribble-b-w2y8ro3u3p {
    from { transform: translateY(0); }
    to { transform: translateY(4px); }
}

@keyframes eco-avatar-celebrate-b-w2y8ro3u3p {
    from { transform: translateY(0) scale(1); }
    to { transform: translateY(-6px) scale(1.04); }
}

@keyframes eco-avatar-nod-b-w2y8ro3u3p {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(-4deg); }
}

@keyframes eco-avatar-slide-in-b-w2y8ro3u3p {
    from {
        opacity: 0;
        transform: translate(calc(-50% - 48px), calc(-100% + 24px)) scale(0.85);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -100%) scale(1);
    }
}

@media (prefers-reduced-motion: reduce) {
    .eco-avatar {
        transition: none;
        opacity: 1;
    }

    .eco-avatar--entering {
        animation: none;
        transform: translate(-50%, -100%);
    }

    .eco-avatar--walking .eco-avatar__body,
    .eco-avatar--walking .eco-avatar__ball,
    .eco-avatar--celebrating .eco-avatar__body,
    .eco-avatar--selecting .eco-avatar__body {
        animation: none;
    }
}

.eco-game--paused .eco-avatar--walking .eco-avatar__body,
.eco-game--paused .eco-avatar--walking .eco-avatar__ball,
.eco-game--paused .eco-avatar--celebrating .eco-avatar__body {
    animation-play-state: paused;
}

/* /Components/Ecosistema/Game/DialogueBox.razor.rz.scp.css */
.eco-dialogue {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: grid;
    place-items: center;
    padding: 1rem;
    animation: eco-dialogue-fade-b-nbf93rdb5f 0.25s ease;
}

.eco-dialogue__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 2, 8, 0.72);
    backdrop-filter: blur(4px);
}

.eco-dialogue__panel {
    position: relative;
    z-index: 1;
    width: min(420px, 100%);
    padding: 1.25rem 1.35rem 1.1rem;
    border: 2px solid color-mix(in srgb, var(--eco-dialogue-color) 55%, #fff 10%);
    border-radius: 4px;
    background:
        linear-gradient(180deg, rgba(12, 12, 22, 0.98) 0%, rgba(6, 6, 14, 0.98) 100%);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.06) inset,
        0 0 48px color-mix(in srgb, var(--eco-dialogue-color) 30%, transparent),
        0 24px 64px rgba(0, 0, 0, 0.65);
    clip-path: polygon(
        0 8px, 8px 0, calc(100% - 8px) 0, 100% 8px,
        100% calc(100% - 8px), calc(100% - 8px) 100%, 8px 100%, 0 calc(100% - 8px)
    );
    animation: eco-dialogue-slide-b-nbf93rdb5f 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.eco-dialogue__scanlines {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.06;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(255, 255, 255, 0.5) 2px,
        rgba(255, 255, 255, 0.5) 3px
    );
}

.eco-dialogue__head {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0.65rem;
}

.eco-dialogue__icon {
    font-size: 1.75rem;
    line-height: 1;
}

.eco-dialogue__title {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #fff;
}

.eco-dialogue__desc {
    margin: 0 0 0.75rem;
    font-size: 0.88rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.78);
}

.eco-dialogue__stat {
    margin: 0 0 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--eco-dialogue-color);
    letter-spacing: 0.05em;
}

.eco-dialogue__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.eco-dialogue__enter {
    flex: 1 1 auto;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 1.25rem;
    border-radius: 6px;
    background: var(--eco-dialogue-color);
    color: #120804;
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-decoration: none;
    text-transform: uppercase;
    transition: filter 0.15s ease, transform 0.15s ease;
}

.eco-dialogue__enter:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
}

.eco-dialogue__close {
    flex: 1 1 auto;
    min-height: 44px;
    padding: 0.65rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    background: transparent;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.eco-dialogue__close:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.35);
}

.eco-dialogue__close:focus-visible,
.eco-dialogue__enter:focus-visible {
    outline: 2px solid #fbbf24;
    outline-offset: 2px;
}

@keyframes eco-dialogue-fade-b-nbf93rdb5f {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes eco-dialogue-slide-b-nbf93rdb5f {
    from { opacity: 0; transform: translateY(12px) scale(0.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
    .eco-dialogue,
    .eco-dialogue__panel {
        animation: none;
    }
}

/* /Components/Ecosistema/Game/EcosystemGameHero.razor.rz.scp.css */
.eco-game-hero {
    position: relative;
    min-height: min(94vh, 880px);
    min-height: min(94dvh, 880px);
    display: flex;
    flex-direction: column;
    padding: clamp(1rem, 3vw, 2rem);
    background: #050508;
    color: #fff;
    overflow: hidden;
    transform: translate(var(--eco-parallax-x, 0), var(--eco-parallax-y, 0));
    transition: transform 0.15s ease-out;
}

.eco-game-hero__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.eco-game-hero__stars {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(1px 1px at 12% 18%, rgba(255, 255, 255, 0.45), transparent),
        radial-gradient(1px 1px at 78% 32%, rgba(255, 255, 255, 0.35), transparent),
        radial-gradient(1.5px 1.5px at 45% 72%, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(1px 1px at 88% 68%, rgba(255, 255, 255, 0.25), transparent);
    opacity: 0.75;
}

.eco-game-hero__nebula {
    position: absolute;
    inset: -15%;
    background:
        radial-gradient(ellipse 50% 40% at 50% 42%, rgba(255, 107, 44, 0.14), transparent 60%),
        radial-gradient(ellipse 40% 35% at 62% 58%, rgba(99, 102, 241, 0.1), transparent 55%);
    animation: eco-hero-nebula-b-d6cmm33pi9 20s ease-in-out infinite alternate;
}

.eco-game-hero__court-lines {
    position: absolute;
    left: 50%;
    bottom: 8%;
    width: min(680px, 92%);
    height: 38%;
    transform: translateX(-50%);
    border: 1px solid rgba(255, 107, 44, 0.08);
    border-radius: 50% 50% 0 0 / 18% 18% 0 0;
    opacity: 0.55;
}

.eco-game-hero__head {
    position: relative;
    z-index: 2;
    text-align: center;
    flex-shrink: 0;
    margin-bottom: 0.35rem;
}

.eco-game-hero__eyebrow {
    margin: 0;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    color: rgba(255, 107, 44, 0.85);
}

.eco-game-hero__title {
    margin: 0.15rem 0 0;
    font-size: clamp(1.4rem, 3.5vw, 2rem);
    font-weight: 900;
    text-shadow: 0 0 32px rgba(255, 107, 44, 0.2);
}

.eco-game-hero__sub {
    margin: 0.35rem 0 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.eco-game-hero__arena {
    position: relative;
    flex: 1;
    width: min(920px, 100%);
    margin: 0 auto;
    min-height: clamp(400px, 54vh, 560px);
    overflow: visible;
}

.eco-game-hero__ball-wrap {
    position: absolute;
    left: 50%;
    top: 46%;
    transform: translate(-50%, -50%);
    z-index: 4;
}

.eco-game-hero__ball-wrap--active {
    animation: eco-hero-ball-focus-b-d6cmm33pi9 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.eco-game-hero--intro .eco-game-hero__head {
    animation: eco-hero-head-in-b-d6cmm33pi9 0.65s ease 0.15s both;
}

.eco-game-hero--zoom .eco-game-hero__arena {
    animation: eco-hero-zone-zoom-b-d6cmm33pi9 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes eco-hero-ball-focus-b-d6cmm33pi9 {
    from { transform: translate(-50%, -50%) scale(0.85); opacity: 0.6; }
    to { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}

@keyframes eco-hero-nebula-b-d6cmm33pi9 {
    from { opacity: 0.85; transform: scale(1); }
    to { opacity: 1; transform: scale(1.04); }
}

@keyframes eco-hero-head-in-b-d6cmm33pi9 {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes eco-hero-zone-zoom-b-d6cmm33pi9 {
    0% { transform: scale(1); }
    45% { transform: scale(1.03); }
    100% { transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
    .eco-game-hero__nebula,
    .eco-game-hero--intro .eco-game-hero__head,
    .eco-game-hero--zoom .eco-game-hero__arena {
        animation: none;
    }

    .eco-game-hero {
        transform: none;
        transition: none;
    }
}

.eco-game--paused .eco-game-hero__nebula {
    animation-play-state: paused;
}

@media (max-width: 768px) {
    .eco-game-hero {
        display: none;
    }
}

/* /Components/Ecosistema/Game/EcosystemGameScene.razor.rz.scp.css */
.eco-game-scene {
    position: relative;
    min-height: min(94vh, 880px);
    min-height: min(94dvh, 880px);
    display: flex;
    flex-direction: column;
    padding: clamp(1rem, 3vw, 2rem);
    background: #050508;
    color: #fff;
    overflow: hidden;
    transform: translate(var(--eco-parallax-x, 0), var(--eco-parallax-y, 0));
    transition: transform 0.15s ease-out;
}

.eco-game-scene__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.eco-game-scene__stars {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(1px 1px at 12% 18%, rgba(255, 255, 255, 0.45), transparent),
        radial-gradient(1px 1px at 78% 32%, rgba(255, 255, 255, 0.35), transparent),
        radial-gradient(1.5px 1.5px at 45% 72%, rgba(255, 255, 255, 0.3), transparent);
    opacity: 0.75;
}

.eco-game-scene__nebula {
    position: absolute;
    inset: -15%;
    background:
        radial-gradient(ellipse 50% 40% at 50% 42%, rgba(255, 107, 44, 0.12), transparent 60%),
        radial-gradient(ellipse 40% 35% at 62% 58%, rgba(99, 102, 241, 0.1), transparent 55%);
    animation: eco-game-nebula-b-dj52ai6cr8 20s ease-in-out infinite alternate;
}

.eco-game-scene__head {
    position: relative;
    z-index: 2;
    text-align: center;
    flex-shrink: 0;
    margin-bottom: 0.5rem;
}

.eco-game-scene__eyebrow {
    margin: 0;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    color: rgba(255, 107, 44, 0.85);
}

.eco-game-scene__title {
    margin: 0.15rem 0 0;
    font-size: clamp(1.4rem, 3.5vw, 2rem);
    font-weight: 900;
    text-shadow: 0 0 32px rgba(255, 107, 44, 0.2);
}

.eco-game-scene__sub {
    margin: 0.35rem 0 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.eco-game-scene__arena {
    position: relative;
    flex: 1;
    width: min(920px, 100%);
    margin: 0 auto;
    min-height: clamp(380px, 52vh, 540px);
    overflow: visible;
}

.eco-game-scene__ball-wrap {
    position: absolute;
    left: 50%;
    top: 48%;
    transform: translate(-50%, -50%);
    z-index: 4;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.eco-game-scene__ball-wrap--active {
    opacity: 1;
}

.eco-game-scene--ready .eco-game-scene__sub {
    color: rgba(255, 200, 120, 0.92);
    animation: eco-game-hint-in-b-dj52ai6cr8 0.5s ease both;
}

.eco-game-scene--intro .eco-game-scene__head {
    animation: eco-game-head-in-b-dj52ai6cr8 0.6s ease 0.2s both;
}

@keyframes eco-game-nebula-b-dj52ai6cr8 {
    from { opacity: 0.85; transform: scale(1); }
    to { opacity: 1; transform: scale(1.04); }
}

@keyframes eco-game-head-in-b-dj52ai6cr8 {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes eco-game-hint-in-b-dj52ai6cr8 {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    .eco-game-scene__nebula,
    .eco-game-scene--intro .eco-game-scene__head {
        animation: none;
    }

    .eco-game-scene {
        transform: none;
        transition: none;
    }
}

.eco-game--paused .eco-game-scene__nebula {
    animation-play-state: paused;
}

@media (max-width: 768px) {
    .eco-game-scene {
        display: none;
    }
}

/* /Components/Ecosistema/Game/EcosystemIntroPage.razor.rz.scp.css */
.eco-game {
    position: relative;
    background: #030305;
}

.eco-game--started {
    animation: eco-game-enter-b-bvsarpl7b2 0.4s ease;
}

@keyframes eco-game-enter-b-bvsarpl7b2 {
    from { opacity: 0; }
    to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .eco-game--started {
        animation: none;
    }
}

.eco-game--paused * {
    animation-play-state: paused !important;
}

/* /Components/Ecosistema/Game/MobileEcosystemFallback.razor.rz.scp.css */
.eco-mobile-game {
    display: none;
    position: relative;
    min-height: min(94vh, 900px);
    min-height: min(94dvh, 900px);
    padding: clamp(1rem, 4vw, 1.5rem);
    background: #050508;
    color: #fff;
    overflow-x: hidden;
}

.eco-mobile-game__head {
    text-align: center;
    margin-bottom: 1rem;
}

.eco-mobile-game__logo {
    width: min(140px, 42vw);
    height: auto;
    margin-bottom: 0.65rem;
    filter: drop-shadow(0 0 16px rgba(255, 107, 44, 0.3));
}

.eco-mobile-game__eyebrow {
    margin: 0;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    color: rgba(255, 107, 44, 0.85);
}

.eco-mobile-game__title {
    margin: 0.25rem 0 0;
    font-size: 1.35rem;
    font-weight: 900;
}

.eco-mobile-game__hint {
    margin: 0.35rem 0 0;
    font-size: 0.82rem;
    font-weight: 700;
    color: rgba(255, 200, 120, 0.9);
    animation: eco-mobile-hint-in-b-kzxozv71zy 0.45s ease both;
}

.eco-mobile-game__hero {
    position: relative;
    height: clamp(180px, 32vw, 220px);
    display: grid;
    place-items: center;
    margin-bottom: 1.25rem;
    opacity: 0.4;
    transform: scale(0.92);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.eco-mobile-game__hero--active {
    opacity: 1;
    transform: scale(1);
}

.eco-mobile-game__ball {
    width: clamp(120px, 36vw, 160px) !important;
}

.eco-mobile-game__hero .eco-avatar {
    width: 56px;
}

.eco-mobile-game__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    max-width: 480px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.eco-mobile-game__grid--visible .eco-mobile-game__card {
    animation: eco-mobile-card-in-b-kzxozv71zy 0.4s cubic-bezier(0.22, 1, 0.36, 1) var(--eco-card-delay) both;
}

.eco-mobile-game__grid--visible {
    opacity: 1;
    transform: translateY(0);
}

.eco-mobile-game__card:disabled {
    opacity: 0.55;
    cursor: default;
}

.eco-mobile-game__card {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    gap: 0.15rem 0.75rem;
    align-items: start;
    width: 100%;
    min-height: 72px;
    padding: 0.85rem 1rem;
    border: 1px solid color-mix(in srgb, var(--eco-card-color) 45%, transparent);
    border-radius: 14px;
    background: rgba(8, 8, 16, 0.92);
    color: #fff;
    text-align: left;
    cursor: pointer;
    box-shadow: 0 0 20px color-mix(in srgb, var(--eco-card-color) 15%, transparent);
    transition: transform 0.18s ease, border-color 0.18s ease;
}

.eco-mobile-game__card:hover:not(:disabled) {
    border-color: color-mix(in srgb, var(--eco-card-color) 65%, transparent);
    transform: translateY(-2px);
    box-shadow: 0 0 28px color-mix(in srgb, var(--eco-card-color) 22%, transparent);
}

.eco-mobile-game__card:active {
    transform: scale(0.98);
}

.eco-mobile-game__card:focus-visible {
    outline: 2px solid #fbbf24;
    outline-offset: 2px;
}

.eco-mobile-game__icon {
    grid-row: 1 / span 2;
    font-size: 1.6rem;
    line-height: 1;
    align-self: center;
}

.eco-mobile-game__label {
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.eco-mobile-game__desc {
    grid-column: 2;
    font-size: 0.74rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.65);
}

.eco-mobile-game__count {
    position: absolute;
    top: 0.65rem;
    right: 0.75rem;
    font-size: 0.68rem;
    font-weight: 800;
    color: var(--eco-card-color);
}

@media (max-width: 768px) {
    .eco-mobile-game {
        display: block;
    }
}

@media (prefers-reduced-motion: reduce) {
    .eco-mobile-game__card {
        transition: none;
    }

    .eco-mobile-game__hero,
    .eco-mobile-game__grid {
        transition: none;
        opacity: 1;
        transform: none;
    }

    .eco-mobile-game__grid--visible .eco-mobile-game__card {
        animation: none;
    }
}

@keyframes eco-mobile-hint-in-b-kzxozv71zy {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes eco-mobile-card-in-b-kzxozv71zy {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* /Components/Ecosistema/Game/ModuleZone.razor.rz.scp.css */
.eco-zone--locked {
    pointer-events: none;
    cursor: default;
}

.eco-zone--interactive {
    pointer-events: auto;
    cursor: pointer;
}

.eco-zone {
    position: absolute;
    left: var(--eco-zone-x);
    top: var(--eco-zone-y);
    transform: translate(-50%, -50%) scale(0.5);
    z-index: 6;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    min-width: 72px;
    min-height: 72px;
    padding: 0.5rem 0.65rem;
    border: 1px solid color-mix(in srgb, var(--eco-zone-color) 50%, transparent);
    border-radius: 14px;
    background: rgba(8, 8, 16, 0.88);
    color: #fff;
    cursor: pointer;
    opacity: 0;
    box-shadow:
        0 0 24px color-mix(in srgb, var(--eco-zone-color) 25%, transparent),
        inset 0 0 12px rgba(255, 255, 255, 0.03);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.eco-zone--visible {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    animation: eco-zone-pop-b-2bk86zr8kr 0.45s cubic-bezier(0.22, 1, 0.36, 1) var(--eco-zone-delay) both;
}

.eco-zone--active {
    border-color: var(--eco-zone-color);
    box-shadow:
        0 0 36px color-mix(in srgb, var(--eco-zone-color) 45%, transparent),
        inset 0 0 16px rgba(255, 255, 255, 0.06);
    transform: translate(-50%, -50%) scale(1.08);
}

.eco-zone:hover,
.eco-zone:focus-visible {
    border-color: var(--eco-zone-color);
    transform: translate(-50%, -50%) scale(1.06);
    outline: none;
    box-shadow:
        0 0 40px color-mix(in srgb, var(--eco-zone-color) 40%, transparent),
        inset 0 0 16px rgba(255, 255, 255, 0.05);
}

.eco-zone:hover .eco-zone__ripple,
.eco-zone:focus-visible .eco-zone__ripple {
    opacity: 1;
    transform: scale(1.15);
}

.eco-zone--selecting {
    animation: eco-zone-select-b-2bk86zr8kr 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

.eco-zone__ripple {
    position: absolute;
    inset: -10px;
    border-radius: 18px;
    border: 1px solid color-mix(in srgb, var(--eco-zone-color) 35%, transparent);
    opacity: 0;
    transform: scale(0.85);
    transition: opacity 0.25s ease, transform 0.35s ease;
    pointer-events: none;
}

@keyframes eco-zone-select-b-2bk86zr8kr {
    0% { transform: translate(-50%, -50%) scale(1); }
    45% { transform: translate(-50%, -50%) scale(1.14); }
    100% { transform: translate(-50%, -50%) scale(1.08); }
}

.eco-zone:focus-visible {
    box-shadow: 0 0 0 2px #fbbf24, 0 0 32px color-mix(in srgb, var(--eco-zone-color) 35%, transparent);
}

.eco-zone__pulse {
    position: absolute;
    inset: -4px;
    border-radius: 16px;
    border: 1px solid color-mix(in srgb, var(--eco-zone-color) 30%, transparent);
    animation: eco-zone-pulse-b-2bk86zr8kr 2.4s ease-in-out infinite;
    pointer-events: none;
}

.eco-zone__icon {
    font-size: 1.35rem;
    line-height: 1;
}

.eco-zone__label {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
}

.eco-zone__badge {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 999px;
    background: var(--eco-zone-color);
    color: #120804;
    font-size: 0.62rem;
    font-weight: 800;
    display: grid;
    place-items: center;
}

@keyframes eco-zone-pop-b-2bk86zr8kr {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.4);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

@keyframes eco-zone-pulse-b-2bk86zr8kr {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 0.85; transform: scale(1.06); }
}

@media (prefers-reduced-motion: reduce) {
    .eco-zone--selecting {
        animation: none;
    }

    .eco-zone--visible {
        animation: none;
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }

    .eco-zone__pulse {
        animation: none;
    }
}

.eco-game--paused .eco-zone__pulse {
    animation-play-state: paused;
}

/* /Components/Ecosistema/Game/PlanetBall.razor.rz.scp.css */
.eco-game-ball {
    position: relative;
    z-index: 3;
    width: clamp(160px, 28vw, 280px);
    height: clamp(160px, 28vw, 280px);
    min-width: clamp(160px, 28vw, 280px);
    min-height: clamp(160px, 28vw, 280px);
    display: grid;
    place-items: center;
    flex-shrink: 0;
    opacity: 0;
    transform: scale(0.6);
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.eco-game-ball--enter {
    animation: eco-game-ball-enter-b-f7qkmqu7jv 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.eco-game-ball--visible {
    opacity: 1;
    transform: scale(1);
}

@keyframes eco-game-ball-enter-b-f7qkmqu7jv {
    from {
        opacity: 0;
        transform: scale(0.45);
        filter: blur(4px);
    }
    to {
        opacity: 1;
        transform: scale(1);
        filter: blur(0);
    }
}

.eco-game-ball__stage {
    position: relative;
    width: 100%;
    height: 100%;
    perspective: 720px;
    transform-style: preserve-3d;
}

.eco-game-ball__glow {
    position: absolute;
    inset: -18%;
    z-index: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 107, 44, 0.35) 0%, transparent 68%);
    filter: blur(8px);
    pointer-events: none;
    animation: eco-game-ball-glow-b-f7qkmqu7jv 4s ease-in-out infinite alternate;
}

.eco-game-ball__orbit-ring {
    position: absolute;
    inset: -8%;
    z-index: 0;
    border-radius: 50%;
    border: 1px solid rgba(255, 107, 44, 0.25);
    box-shadow: 0 0 20px rgba(255, 107, 44, 0.15);
    pointer-events: none;
    animation: eco-game-ball-spin-b-f7qkmqu7jv 24s linear infinite;
    transform: rotateX(62deg);
}

.eco-game-ball__sphere {
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: 50%;
    background:
        radial-gradient(circle at 38% 32%, #ffb07a 0%, #ff6b2c 45%, #8a2f0a 100%);
    box-shadow: inset 0 -8px 24px rgba(0, 0, 0, 0.35);
    pointer-events: none;
}

.eco-game-ball__sphere--underlay {
    opacity: 0.35;
}

.eco-game-ball__img {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    border-radius: 50%;
    background: transparent;
    filter: drop-shadow(0 12px 32px rgba(0, 0, 0, 0.55));
    transform-style: preserve-3d;
    animation: eco-game-ball-tilt-b-f7qkmqu7jv 8s ease-in-out infinite;
}

.eco-game-ball__img--svg,
.eco-game-ball__img--logo {
    -webkit-mask-image: none;
    mask-image: none;
}

.eco-game-ball__img--logo {
    padding: 18%;
    object-fit: contain;
}

.eco-game-ball--bounce .eco-game-ball__img {
    animation: eco-game-ball-bounce-b-f7qkmqu7jv 0.9s cubic-bezier(0.34, 1.4, 0.64, 1) forwards;
}

@keyframes eco-game-ball-glow-b-f7qkmqu7jv {
    from { opacity: 0.75; transform: scale(0.96); }
    to { opacity: 1; transform: scale(1.04); }
}

@keyframes eco-game-ball-spin-b-f7qkmqu7jv {
    from { transform: rotateX(62deg) rotateZ(0deg); }
    to { transform: rotateX(62deg) rotateZ(360deg); }
}

@keyframes eco-game-ball-tilt-b-f7qkmqu7jv {
    0%, 100% { transform: rotateY(-10deg) rotateX(6deg) translateY(0); }
    50% { transform: rotateY(10deg) rotateX(-4deg) translateY(-4px); }
}

@keyframes eco-game-ball-bounce-b-f7qkmqu7jv {
    0% { transform: translateY(-80px) scale(0.85) rotateY(0deg); }
    55% { transform: translateY(8px) scale(1.02) rotateY(0deg); }
    75% { transform: translateY(-6px) scale(0.98) rotateY(0deg); }
    100% { transform: translateY(0) scale(1) rotateY(0deg); }
}

@media (prefers-reduced-motion: reduce) {
    .eco-game-ball__glow,
    .eco-game-ball__orbit-ring,
    .eco-game-ball__img {
        animation: none;
    }

    .eco-game-ball--enter {
        animation: none;
        opacity: 1;
        transform: scale(1);
        filter: none;
    }

    .eco-game-ball--bounce .eco-game-ball__img {
        animation: none;
        transform: none;
    }
}

/* /Components/Ecosistema/Game/ScrollRevealSection.razor.rz.scp.css */
.eco-scroll-reveal {
    width: 100%;
}

.eco-scroll-reveal :global(.eco-scroll-reveal__item),
.eco-scroll-reveal :global(.eco-section) {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.eco-scroll-reveal--ready :global(.eco-scroll-reveal__item.is-visible),
.eco-scroll-reveal--ready :global(.eco-section.is-visible) {
    opacity: 1;
    transform: translateY(0);
}

.eco-scroll-reveal--ready :global(.eco-section:nth-child(1)) { transition-delay: 0ms; }
.eco-scroll-reveal--ready :global(.eco-section:nth-child(2)) { transition-delay: 60ms; }
.eco-scroll-reveal--ready :global(.eco-section:nth-child(3)) { transition-delay: 120ms; }
.eco-scroll-reveal--ready :global(.eco-section:nth-child(4)) { transition-delay: 180ms; }

@media (prefers-reduced-motion: reduce) {
    .eco-scroll-reveal :global(.eco-scroll-reveal__item),
    .eco-scroll-reveal :global(.eco-section) {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* /Components/Ecosistema/Game/StartScreen.razor.rz.scp.css */
.eco-start {
    position: relative;
    min-height: min(100vh, 900px);
    min-height: min(100dvh, 900px);
    display: grid;
    place-items: center;
    padding: clamp(1.5rem, 4vw, 3rem);
    background: #030305;
    color: #fff;
    overflow: hidden;
}

.eco-start__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.eco-start__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 107, 44, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 107, 44, 0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, #000 20%, transparent 75%);
}

.eco-start__glow {
    position: absolute;
    inset: -30%;
    background:
        radial-gradient(ellipse 45% 35% at 50% 40%, rgba(255, 107, 44, 0.18), transparent 60%),
        radial-gradient(ellipse 35% 30% at 55% 60%, rgba(245, 158, 11, 0.1), transparent 55%);
    animation: eco-start-glow-b-havu9spj81 8s ease-in-out infinite alternate;
}

.eco-start__content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: clamp(0.75rem, 2.5vw, 1.25rem);
    max-width: 28rem;
    animation: eco-start-in-b-havu9spj81 0.7s ease;
}

.eco-start__logo {
    width: min(180px, 52vw);
    height: auto;
    filter: drop-shadow(0 0 24px rgba(255, 107, 44, 0.35));
}

.eco-start__tagline {
    margin: 0;
    font-size: clamp(1rem, 2.8vw, 1.25rem);
    font-weight: 700;
    letter-spacing: 0.03em;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.4;
    max-width: 22rem;
}

.eco-start__tagline-mask {
    display: block;
    overflow: hidden;
    padding-bottom: 0.12em;
}

.eco-start__tagline-text {
    display: block;
    animation: eco-start-tagline-reveal-b-havu9spj81 0.95s cubic-bezier(0.22, 1, 0.36, 1) 0.4s both;
}

@keyframes eco-start-tagline-reveal-b-havu9spj81 {
    from {
        transform: translateY(110%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.eco-start__btn {
    position: relative;
    margin-top: 0.5rem;
    min-width: min(280px, 88vw);
    min-height: 56px;
    padding: 0.85rem 2.5rem;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    background: linear-gradient(135deg, #ff6b2c 0%, #f59e0b 100%);
    color: #120804;
    font-size: clamp(1.1rem, 3vw, 1.35rem);
    font-weight: 900;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    box-shadow:
        0 0 40px rgba(255, 107, 44, 0.45),
        0 8px 24px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    transition: transform 0.18s ease, filter 0.18s ease;
}

.eco-start__btn:hover:not(:disabled) {
    filter: brightness(1.06);
    transform: translateY(-2px) scale(1.02);
}

.eco-start__btn:focus-visible {
    outline: 2px solid #fbbf24;
    outline-offset: 3px;
}

.eco-start__btn:disabled {
    opacity: 0.85;
    cursor: wait;
}

.eco-start__btn-shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.35) 50%, transparent 60%);
    transform: translateX(-120%);
    animation: eco-start-shine-b-havu9spj81 3s ease-in-out infinite;
}

.eco-start__hint {
    margin: 0;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.45);
    letter-spacing: 0.04em;
}

.eco-start--exiting {
    animation: eco-start-out-b-havu9spj81 0.5s ease forwards;
    pointer-events: none;
}

@keyframes eco-start-in-b-havu9spj81 {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes eco-start-out-b-havu9spj81 {
    to { opacity: 0; transform: scale(1.08); filter: blur(2px); }
}

@keyframes eco-start-glow-b-havu9spj81 {
    from { opacity: 0.85; transform: scale(1); }
    to { opacity: 1; transform: scale(1.05); }
}

@keyframes eco-start-shine-b-havu9spj81 {
    0%, 70% { transform: translateX(-120%); }
    100% { transform: translateX(120%); }
}

@media (prefers-reduced-motion: reduce) {
    .eco-start__glow,
    .eco-start__btn-shine,
    .eco-start__content,
    .eco-start__tagline-text {
        animation: none;
    }

    .eco-start--exiting {
        animation: none;
        opacity: 0;
    }
}

/* /Components/Ecosistema/PlanetBall3D.razor.rz.scp.css */
.planet-ball-3d {
    position: absolute;
    inset: 0;
    z-index: 4;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.planet-ball-3d--ready {
    opacity: 1;
    pointer-events: auto;
}

.planet-ball-3d__stage {
    position: relative;
    width: min(86vw, 760px);
    margin: clamp(12px, 3vw, 28px) auto 0;
}

.planet-ball-3d__core {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
}

.planet-ball-3d__sections {
    position: absolute;
    inset: 0;
    z-index: 5;
    pointer-events: none;
}

.planet-ball-3d__sections  .eco-ball-section {
    pointer-events: auto;
}

.planet-ball-3d__canvas-host {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    min-height: min(420px, 78vw);
    aspect-ratio: 1;
    border-radius: 999px;
    filter: drop-shadow(0 0 42px color-mix(in srgb, var(--planet-ball-glow, #f97316) 45%, transparent));
    overflow: hidden;
    background: transparent;
    border: none;
    transition: filter 0.45s ease;
}

.planet-ball-3d__canvas-host  canvas {
    display: block;
    width: 100% !important;
    height: 100% !important;
    touch-action: manipulation;
    background: transparent;
    will-change: opacity, transform;
}

.planet-ball-3d__canvas-host  .planet-ball-3d__canvas--entering {
    transform-origin: center center;
}

.planet-ball-3d__preview {
    position: absolute;
    right: clamp(-8px, -2vw, 16px);
    bottom: clamp(8px, 2vw, 24px);
    z-index: 3;
    width: min(320px, calc(100% - 16px));
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 22px;
    background: rgba(8, 9, 16, 0.78);
    backdrop-filter: blur(18px);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
}

.planet-ball-3d__preview-kicker {
    display: block;
    color: #ff6a1a;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.planet-ball-3d__preview-title {
    margin: 8px 0 6px;
    font-size: 1.4rem;
    font-weight: 800;
}

.planet-ball-3d__preview-desc {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.45;
    font-size: 0.95rem;
}

.planet-ball-3d__preview-count {
    display: inline-block;
    margin-top: 10px;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: rgba(255, 106, 26, 0.15);
    color: #ffb48a;
    font-size: 0.72rem;
    font-weight: 700;
}

.planet-ball-3d__preview-cta {
    margin-top: 14px;
    width: 100%;
    min-height: 44px;
    border: 0;
    border-radius: 999px;
    background: #ff6a1a;
    color: #120804;
    font-weight: 900;
    cursor: pointer;
}

.planet-ball-3d__preview-cta:hover {
    filter: brightness(1.06);
}

@media (max-width: 760px) {
    .planet-ball-3d {
        display: block;
    }

    .planet-ball-3d__stage {
        width: 100%;
        margin-top: 0;
    }

    .planet-ball-3d__canvas-host {
        min-height: min(300px, 82vw);
        filter: drop-shadow(0 0 28px rgba(255, 98, 18, 0.18));
    }

    .planet-ball-3d__preview {
        position: relative;
        right: auto;
        bottom: auto;
        width: min(320px, 100%);
        margin: 0.75rem auto 0;
        padding: 14px 16px;
    }

    .planet-ball-3d__preview--compact {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .planet-ball-3d {
        transition: none;
    }

    .planet-ball-3d__canvas-host {
        filter: none;
    }
}

/* /Components/Ecosistema/PlanetBallFallback2D.razor.rz.scp.css */
.planet-ball-2d {
    position: relative;
    width: min(420px, 78vw);
    height: min(420px, 78vw);
    margin: 0 auto;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.planet-ball-fallback-2d {
    z-index: 2;
}

.planet-ball-2d__rings {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.planet-ball-2d__ring {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transform: translate(-50%, -50%);
}

.planet-ball-2d__ring--outer {
    width: 108%;
    height: 108%;
    border-color: rgba(255, 107, 44, 0.18);
    box-shadow: 0 0 40px rgba(255, 107, 44, 0.06);
}

.planet-ball-2d__ring--inner {
    width: 92%;
    height: 92%;
    border-style: dashed;
    border-color: rgba(255, 255, 255, 0.08);
}

.planet-ball-2d__perspective {
    position: relative;
    z-index: 3;
    width: 100%;
    height: 100%;
    perspective: 980px;
    perspective-origin: 50% 48%;
}

.planet-ball-2d__rotator {
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transform: rotateY(var(--eco-parallax-x, 0deg)) rotateX(var(--eco-parallax-y, 0deg));
    transition: transform 0.35s ease-out;
    animation: planet-ball-idle-y-b-ccecgr3406 20s ease-in-out infinite alternate;
}

.planet-ball-2d__core {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    animation: planet-ball-idle-x-b-ccecgr3406 26s ease-in-out infinite alternate;
}

.planet-ball-2d__visual {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    transform-style: preserve-3d;
    transform: translateZ(-8px) scale(0.98);
}

.planet-ball-2d__visual  .eco-planet-ball {
    width: 100%;
    height: 100%;
}

.planet-ball-2d__visual  .eco-planet-ball__img {
    animation: none;
}

.planet-ball-2d__glow {
    position: absolute;
    inset: -8%;
    z-index: 1;
    border-radius: 50%;
    background: radial-gradient(
        circle at 50% 45%,
        color-mix(in srgb, var(--planet-ball-glow, #f97316) 32%, transparent),
        transparent 68%);
    pointer-events: none;
    transition: background 0.45s ease;
}

.planet-ball-2d__sections {
    position: absolute;
    inset: 0;
    z-index: 5;
    transform-style: preserve-3d;
    border-radius: 50%;
    overflow: visible;
}

.planet-ball-2d__sections  .eco-ball-preview {
    z-index: 20;
}

.planet-ball-2d__sections  .eco-ball-section__face {
    opacity: 0;
    background: radial-gradient(
        circle at 50% 40%,
        color-mix(in srgb, var(--eco-section-color, #ff6b2c) 35%, transparent),
        transparent 70%);
    border-right: none;
}

.planet-ball-2d__sections  .eco-ball-section:hover .eco-ball-section__face,
.planet-ball-2d__sections  .eco-ball-section:focus-within .eco-ball-section__face,
.planet-ball-2d__sections  .eco-ball-section--active .eco-ball-section__face {
    opacity: 0.85;
}

@keyframes planet-ball-idle-y-b-ccecgr3406 {
    from { transform: rotateY(calc(var(--eco-parallax-x, 0deg) - 8deg)); }
    to { transform: rotateY(calc(var(--eco-parallax-x, 0deg) + 8deg)); }
}

@keyframes planet-ball-idle-x-b-ccecgr3406 {
    from { transform: rotateX(-4deg); }
    to { transform: rotateX(4deg); }
}

@media (prefers-reduced-motion: reduce) {
    .planet-ball-2d__rotator,
    .planet-ball-2d__core {
        animation: none !important;
        transition: none !important;
    }
}

@media (max-width: 760px) {
    .planet-ball-2d {
        width: min(300px, 82vw);
        height: min(300px, 82vw);
    }
}

/* /Components/Ecosistema/PortadaLigasSection.razor.rz.scp.css */
.eco-ligas-dest {
    width: min(1120px, 100%);
    margin: 0 auto;
    padding: 0.35rem 1rem 1.25rem;
    box-sizing: border-box;
}

.eco-ligas-dest__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.75rem 1rem;
    flex-wrap: wrap;
    margin-bottom: 0.85rem;
}

.eco-ligas-dest__eyebrow {
    margin: 0;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--clutch-green, #64ff9a);
}

.eco-ligas-dest__title {
    margin: 0.2rem 0 0;
    font-size: clamp(1.15rem, 3.5vw, 1.45rem);
    font-weight: 800;
    color: rgba(255, 255, 255, 0.96);
    line-height: 1.2;
}

.eco-ligas-dest__lead {
    margin: 0.25rem 0 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
    max-width: 40ch;
    line-height: 1.35;
}

.eco-ligas-dest__all {
    flex-shrink: 0;
    font-size: 0.82rem;
    font-weight: 700;
    color: rgba(100, 255, 154, 0.9);
    text-decoration: none;
    padding: 0.35rem 0;
}

.eco-ligas-dest__all:hover,
.eco-ligas-dest__all:focus-visible {
    color: #64ff9a;
    text-decoration: underline;
    outline: none;
}

.eco-ligas-dest__grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.55rem;
}

@media (min-width: 560px) {
    .eco-ligas-dest__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.65rem;
    }
}

@media (min-width: 960px) {
    .eco-ligas-dest__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.eco-ligas-dest__card {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    min-height: 72px;
    height: 100%;
    padding: 0.75rem 0.85rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
    color: inherit;
    text-decoration: none;
    box-sizing: border-box;
    transition:
        border-color 0.18s ease,
        background 0.18s ease;
}

.eco-ligas-dest__card:hover,
.eco-ligas-dest__card:focus-visible {
    outline: none;
    border-color: rgba(100, 255, 154, 0.35);
    background: rgba(100, 255, 154, 0.06);
}

.eco-ligas-dest__card:focus-visible {
    box-shadow: 0 0 0 2px rgba(100, 255, 154, 0.35);
}

.eco-ligas-dest__logo {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 12px;
    overflow: hidden;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.06);
}

.eco-ligas-dest__logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.eco-ligas-dest__ph {
    font-size: 1.2rem;
    line-height: 1;
}

.eco-ligas-dest__body {
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.22rem;
}

.eco-ligas-dest__name {
    font-size: 0.95rem;
    font-weight: 750;
    color: rgba(255, 255, 255, 0.96);
    line-height: 1.25;
    /* Keep full names readable — wrap instead of ellipsis */
    overflow-wrap: anywhere;
    word-break: break-word;
}

.eco-ligas-dest__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem 0.55rem;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.3;
}

.eco-ligas-dest__badge {
    padding: 0.1rem 0.4rem;
    border-radius: 6px;
    background: rgba(59, 130, 246, 0.16);
    color: #93c5fd;
    font-weight: 700;
    font-size: 0.68rem;
    text-transform: capitalize;
}

.eco-ligas-dest__next {
    margin-top: 0.1rem;
    font-size: 0.72rem;
    font-weight: 650;
    color: rgba(100, 255, 154, 0.85);
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.eco-ligas-dest__footer {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.55rem;
    margin-top: 0.85rem;
}

.eco-ligas-dest__more-btn {
    appearance: none;
    width: 100%;
    min-height: 44px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.88);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.eco-ligas-dest__more-btn:hover,
.eco-ligas-dest__more-btn:focus-visible {
    border-color: rgba(100, 255, 154, 0.35);
    background: rgba(100, 255, 154, 0.08);
    outline: none;
}

.eco-ligas-dest__skel {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

@media (max-width: 560px) {
    .eco-ligas-dest {
        padding: 0.15rem 0.85rem 1rem;
    }

    .eco-ligas-dest__head {
        margin-bottom: 0.65rem;
    }

    .eco-ligas-dest__lead {
        display: none; /* reduce hero-adjacent chrome on small screens */
    }

    .eco-ligas-dest__card {
        min-height: 64px;
        padding: 0.65rem 0.75rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .eco-ligas-dest__card {
        transition: none;
    }
}

/* /Components/Public/PublicParticipationCards.razor.rz.scp.css */
.ppc-section {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.ppc-title {
    margin: 0;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #a1a1aa;
}

.ppc-empty {
    margin: 0;
    font-size: 0.78rem;
    color: #71717a;
}

.ppc-stack {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.ppc-card {
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
    padding: 0.65rem 0.7rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.28);
}

.ppc-card--current {
    border-color: rgba(100, 255, 154, 0.35);
    background: rgba(100, 255, 154, 0.04);
}

.ppc-logo {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    object-fit: contain;
    background: rgba(0, 0, 0, 0.35);
    flex-shrink: 0;
}

.ppc-logo-fallback {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    font-size: 0.72rem;
    font-weight: 800;
    color: #64ff9a;
    background: rgba(100, 255, 154, 0.08);
    border: 1px solid rgba(100, 255, 154, 0.2);
    flex-shrink: 0;
}

.ppc-body {
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.ppc-primary {
    font-size: 0.86rem;
    font-weight: 800;
    color: #fafafa;
    text-decoration: none;
    line-height: 1.25;
}

.ppc-primary:hover {
    color: #64ff9a;
}

.ppc-meta,
.ppc-record {
    font-size: 0.72rem;
    color: #a1a1aa;
    line-height: 1.35;
}

.ppc-record {
    color: #d4d4d8;
}

.ppc-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.2rem;
}

.ppc-badge {
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.15rem 0.45rem;
    border-radius: 999px;
    border: 1px solid transparent;
}

.ppc-badge--active {
    color: #64ff9a;
    border-color: rgba(100, 255, 154, 0.35);
    background: rgba(100, 255, 154, 0.08);
}

.ppc-badge--inactive {
    color: #a1a1aa;
    border-color: rgba(161, 161, 170, 0.25);
    background: rgba(255, 255, 255, 0.03);
}

.ppc-badge--historic {
    color: #fbbf24;
    border-color: rgba(251, 191, 36, 0.3);
    background: rgba(251, 191, 36, 0.06);
}

.ppc-badge--current {
    color: #0a0a0a;
    background: #64ff9a;
    border-color: #64ff9a;
}

.ppc-link {
    font-size: 0.68rem;
    font-weight: 700;
    color: #64ff9a;
    text-decoration: none;
    margin-left: auto;
}

.ppc-link:hover {
    text-decoration: underline;
}

.ppc-link + .ppc-link {
    margin-left: 0;
}

/* /Components/Registration/ExistingPlayerCard.razor.rz.scp.css */
.epc-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.25);
}

.epc-card--selected {
    border-color: rgba(100, 255, 154, 0.45);
    background: rgba(100, 255, 154, 0.06);
}

.epc-main {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.epc-pic {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.epc-pic--ph {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    font-size: 1.25rem;
}

.epc-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.epc-name {
    font-size: 0.95rem;
    color: #fff;
}

.epc-meta {
    font-size: 0.8rem;
    color: #9aa4b2;
}

.epc-meta--teams {
    color: #8ae8b0;
}

.epc-badge {
    display: inline-block;
    margin-top: 4px;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
    background: rgba(100, 255, 154, 0.15);
    color: #8ae8b0;
    width: fit-content;
}

.epc-badge--warn {
    background: rgba(245, 177, 0, 0.15);
    color: #f5b100;
}

.epc-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
}

.epc-selected-tag {
    font-size: 0.75rem;
    color: #64ff9a;
    font-weight: 700;
}

@media (max-width: 480px) {
    .epc-actions { justify-content: stretch; }
    .epc-actions .reg-btn { flex: 1; }
}

/* /Components/Registration/PlayerAssociationSummary.razor.rz.scp.css */
.pas-wrap {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pas-block {
    padding: 12px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.pas-block:first-child { border-top: none; padding-top: 0; }

.pas-title {
    margin: 0 0 8px;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #8ae8b0;
}

.reg-summary--compact { margin: 0; }

.pas-team-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pas-team-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px 12px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.pas-team-item strong { color: #fff; font-size: 0.9rem; }
.pas-team-item span { font-size: 0.8rem; color: #9aa4b2; }

.pas-status {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
}

.pas-status--new { background: rgba(108, 91, 255, 0.2); color: #a78bfa; }
.pas-status--ok { background: rgba(100, 255, 154, 0.15); color: #64ff9a; }
.pas-status--warn { background: rgba(245, 177, 0, 0.15); color: #f5b100; }
.pas-status--pending { background: rgba(59, 130, 246, 0.15); color: #60a5fa; }

.pas-detail { margin-top: 8px; }

/* /Components/Registration/PlayerLookupStep.razor.rz.scp.css */
.plk-section {
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.plk-choices {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.plk-choice-btn {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    color: #f5f7fa;
    cursor: pointer;
    text-align: left;
}

.plk-choice-btn:hover {
    border-color: rgba(100, 255, 154, 0.35);
    background: rgba(100, 255, 154, 0.06);
}

.plk-choice-btn--ghost {
    opacity: 0.9;
}

.plk-choice-icon { font-size: 1.25rem; }
.plk-choice-title { font-weight: 700; font-size: 0.9rem; }
.plk-choice-desc { font-size: 0.75rem; color: #9aa4b2; }

.plk-or {
    text-align: center;
    margin: 8px 0;
    font-size: 0.8rem;
}

.plk-results {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 12px;
}

.plk-search-actions {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.plk-linked { margin-top: 8px; }

.plk-warn-box {
    margin-top: 12px;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid rgba(245, 177, 0, 0.35);
    background: rgba(245, 177, 0, 0.08);
}

.plk-warn-box strong { color: #f5b100; display: block; margin-bottom: 4px; }
.plk-warn-box p { margin: 0; font-size: 0.85rem; color: #ccc; }

@media (max-width: 560px) {
    .plk-choices { grid-template-columns: 1fr; }
}

/* /Pages/AcercaDe.razor.rz.scp.css */
.about-page {
    max-width: 720px;
    margin: 0 auto;
    padding: 28px 20px var(--page-end-inset, 16px);
    color: #e4e4e7;
}

.about-page__hero {
    margin-bottom: 28px;
}

.about-page__kicker {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #a78bfa;
    margin: 0 0 10px;
}

.about-page h1 {
    margin: 0 0 14px;
    font-size: clamp(1.75rem, 5vw, 2.25rem);
    font-weight: 900;
    line-height: 1.15;
    color: #fafafa;
}

.about-page__lead {
    margin: 0;
    font-size: 1rem;
    line-height: 1.65;
    color: #d4d4d8;
}

.about-page__section {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.about-page__section h2 {
    margin: 0 0 10px;
    font-size: 1.1rem;
    font-weight: 800;
    color: #f4f4f5;
}

.about-page__section p {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.65;
    color: #a1a1aa;
}

.about-page__list {
    margin: 0;
    padding-left: 1.2rem;
    color: #a1a1aa;
    font-size: 0.92rem;
    line-height: 1.7;
}

.about-page__list a {
    color: #c4b5fd;
    text-decoration: none;
}

.about-page__list a:hover {
    text-decoration: underline;
}

.about-page__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
}

.about-page__cta {
    display: inline-flex;
    align-items: center;
    padding: 10px 18px;
    border-radius: 10px;
    background: #7c3aed;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
}

.about-page__cta--ghost {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #e4e4e7;
}

.about-page__cta:hover {
    filter: brightness(1.08);
}

/* /Pages/Ecosistema.razor.rz.scp.css */
.eco-root {
    background: #050508;
    min-height: 100vh;
    min-height: 100dvh;
    width: 100%;
    overflow-x: clip;
}

.eco-root--boot .eco-sections {
    opacity: 0;
    pointer-events: none;
    min-height: 0;
    padding: 0;
    overflow: hidden;
}

.eco-root--splash-active {
    user-select: none;
}

.eco-root--splash-active .eco-hub,
.eco-root--splash-active .eco-sections {
    visibility: hidden;
    pointer-events: none;
}

.eco-root__loading {
    margin: 0;
    padding: 1.25rem 1rem 2rem;
    text-align: center;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: 0.04em;
}

/* /Pages/Equipos.razor.rz.scp.css */
.beq-page {
    max-width: 960px;
    margin: 0 auto;
    padding: 1.25rem 1rem 3rem;
    color: #e2e8f0;
}

.beq-hero {
    margin-bottom: 1.25rem;
}

.beq-eyebrow {
    margin: 0;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #94a3b8;
}

.beq-title {
    margin: 0.35rem 0 0.4rem;
    font-size: clamp(1.6rem, 4vw, 2.1rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #f8fafc;
}

.beq-sub {
    margin: 0;
    color: #94a3b8;
    font-size: 0.98rem;
    max-width: 36rem;
}

.beq-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem 1rem;
    margin-bottom: 1rem;
}

.beq-link {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
}

.beq-link:hover,
.beq-link:focus-visible {
    color: #fbbf24;
}

.beq-filters {
    display: grid;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.beq-search {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 0.85rem;
    border-radius: 12px;
    background: #0f172a;
    border: 1px solid rgba(148, 163, 184, 0.25);
}

.beq-search__input {
    flex: 1;
    border: 0;
    background: transparent;
    color: #f8fafc;
    font-size: 1rem;
    outline: none;
}

.beq-filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.beq-select,
.beq-btn {
    min-height: 2.5rem;
    border-radius: 10px;
    border: 1px solid rgba(148, 163, 184, 0.25);
    background: #0f172a;
    color: #e2e8f0;
    padding: 0.4rem 0.75rem;
    font-size: 0.9rem;
}

.beq-btn {
    background: #f59e0b;
    border-color: #f59e0b;
    color: #111827;
    font-weight: 700;
    cursor: pointer;
}

.beq-btn:disabled {
    opacity: 0.6;
    cursor: wait;
}

.beq-hint {
    color: #94a3b8;
    font-size: 0.95rem;
}

.beq-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.65rem;
}

.beq-card {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    background: #0f172a;
    border: 1px solid rgba(148, 163, 184, 0.18);
    text-decoration: none;
    color: inherit;
}

.beq-card:hover,
.beq-card:focus-visible {
    border-color: rgba(251, 191, 36, 0.45);
    outline: none;
}

.beq-card__body {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 0;
}

.beq-card__name {
    font-weight: 700;
    color: #f8fafc;
    font-size: 1.02rem;
}

.beq-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.7rem;
    font-size: 0.82rem;
    color: #94a3b8;
}

.beq-pill {
    display: inline-flex;
    padding: 0.1rem 0.45rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
}

.beq-pill--hist {
    background: rgba(148, 163, 184, 0.2);
    color: #cbd5e1;
}

.beq-pill--champ {
    background: rgba(234, 179, 8, 0.25);
    color: #fde68a;
}

.beq-skel {
    display: grid;
    gap: 0.55rem;
}

.beq-skel__row {
    height: 4.2rem;
    border-radius: 12px;
    background: linear-gradient(90deg, #1e293b 25%, #334155 50%, #1e293b 75%);
    background-size: 200% 100%;
    animation: beq-shimmer-b-1lbca7i3un 1.4s ease-in-out infinite;
}

@keyframes beq-shimmer-b-1lbca7i3un {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

@media (max-width: 640px) {
    .beq-filter-row {
        flex-direction: column;
    }

    .beq-select,
    .beq-btn {
        width: 100%;
    }
}

/* /Pages/JugadorAcademiaPrivate.razor.rz.scp.css */
.jap-page {
    max-width: 720px;
    margin: 0 auto;
    padding: 20px 16px 48px;
    color: #e8eaed;
}

.jap-loading { opacity: 0.7; padding: 40px 0; }

.jap-switch {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 20px;
}

.jap-switch__link,
.jap-switch__current {
    font-size: 0.85rem;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    text-decoration: none;
    color: inherit;
}

.jap-switch__current {
    background: rgba(34, 197, 94, 0.15);
    border-color: rgba(34, 197, 94, 0.4);
    font-weight: 600;
}

.jap-hero h1 {
    margin: 4px 0 8px;
    font-size: 1.75rem;
}

.jap-kicker {
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.7rem;
    opacity: 0.6;
    margin: 0;
}

.jap-sub { opacity: 0.75; margin: 0 0 20px; }

.jap-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 16px 18px;
    margin-bottom: 14px;
}

.jap-card h2 {
    margin: 0 0 12px;
    font-size: 1rem;
}

.jap-dl {
    display: grid;
    gap: 8px;
    margin: 0;
}

.jap-dl > div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 0.9rem;
}

.jap-dl dt { opacity: 0.65; }
.jap-dl dd { margin: 0; font-weight: 600; }

.jap-notes {
    margin: 12px 0 0;
    font-size: 0.9rem;
    opacity: 0.85;
}

.jap-empty { opacity: 0.65; margin: 0; font-size: 0.9rem; }

.jap-teams {
    list-style: none;
    padding: 0;
    margin: 0;
}

.jap-teams li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.95rem;
}

.jap-privacy {
    font-size: 0.8rem;
    opacity: 0.7;
    line-height: 1.45;
    margin-top: 18px;
}

.jap-privacy a { color: #86efac; }

/* /Pages/JugadorCambiarContrasena.razor.rz.scp.css */
.jcp-shell {
    max-width: 560px;
    margin: 0 auto;
    padding: calc(1rem + env(safe-area-inset-top, 0px)) 1rem 3rem;
    color: #e4e4e7;
}

.jcp-head {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.jcp-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(20, 20, 28, 0.7);
    color: #e4e4e7;
    cursor: pointer;
    flex: 0 0 auto;
}

.jcp-back:hover {
    border-color: rgba(100, 255, 154, 0.45);
    color: #8AE8B0;
}

.jcp-head-txt {
    flex: 1;
    min-width: 0;
}

.jcp-head-txt h1 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 900;
    color: #fafafa;
}

.jcp-head-txt p {
    margin: 0.1rem 0 0;
    color: #a1a1aa;
    font-size: 0.8rem;
}

.jcp-card {
    background: rgba(18, 18, 24, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1rem 1.1rem 1.2rem;
}

.cpp-hint {
    margin: 0 0 0.75rem;
    color: #a1a1aa;
    font-size: 0.82rem;
    line-height: 1.45;
}

.cpp-msg {
    margin: 0;
    font-size: 0.9rem;
}

.cpp-msg--ok {
    color: #34d399;
}

/* /Pages/JugadorCapturaStats.razor.rz.scp.css */
.pmsc-page {
    max-width: 520px;
    margin: 0 auto;
    padding: 1rem 1rem 2.5rem;
}

.pmsc-header {
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.pmsc-back {
    border: none;
    background: rgba(255, 255, 255, 0.06);
    color: #e4e4e7;
    border-radius: 10px;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
}

.pmsc-kicker {
    margin: 0;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #a78bfa;
    font-weight: 700;
}

.pmsc-title {
    margin: 0.15rem 0;
    font-size: 1.15rem;
    font-weight: 800;
    color: #fafafa;
    line-height: 1.25;
}

.pmsc-sub {
    margin: 0;
    font-size: 0.82rem;
    color: #9ca3af;
    line-height: 1.4;
}

.pmsc-notice {
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
    padding: 0.75rem;
    border-radius: 12px;
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(96, 165, 250, 0.25);
    color: #bfdbfe;
    font-size: 0.84rem;
    line-height: 1.45;
    margin-bottom: 1rem;
}

.pmsc-notice .material-icons { font-size: 1.1rem; color: #60a5fa; }

.pmsc-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.pmsc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
}

.pmsc-grid--q {
    grid-template-columns: repeat(4, 1fr);
}

.pmsc-grid--q-dynamic {
    grid-template-columns: repeat(auto-fit, minmax(4.5rem, 1fr));
}

.pmsc-field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-size: 0.8rem;
    color: #a1a1aa;
    font-weight: 600;
}

.pmsc-input {
    width: 100%;
    border-radius: 12px;
    border: 1px solid #3f3f46;
    background: #18181f;
    color: #fafafa;
    padding: 0.85rem 0.75rem;
    font-size: 1.15rem;
    font-weight: 700;
    text-align: center;
}

.pmsc-pts-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.1rem;
    border-radius: 14px;
    background: linear-gradient(135deg, #7c3aed, #4f46e5);
    color: #fff;
    font-size: 0.9rem;
}

.pmsc-pts-banner strong {
    font-size: 2rem;
    line-height: 1;
}

.pmsc-fieldset {
    border: none;
    margin: 0;
    padding: 0;
}

.pmsc-fieldset legend {
    font-size: 0.8rem;
    color: #a1a1aa;
    font-weight: 600;
    margin-bottom: 0.45rem;
}

.pmsc-chips {
    display: flex;
    gap: 0.5rem;
}

.pmsc-chip {
    flex: 1;
    min-height: 2.75rem;
    border-radius: 12px;
    border: 1px solid #3f3f46;
    background: #18181f;
    color: #e4e4e7;
    font-weight: 800;
    font-size: 1rem;
    cursor: pointer;
}

.pmsc-chip.on {
    background: #7c3aed;
    border-color: #7c3aed;
    color: #fff;
}

.pmsc-sum-hint {
    margin: 0.45rem 0 0;
    font-size: 0.78rem;
    color: #71717a;
}

.pmsc-quarters-summary {
    margin: 0.55rem 0 0;
    font-size: 0.84rem;
    color: #c4b5fd;
    font-weight: 600;
}

.pmsc-stats-ok {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin: 0.55rem 0 0;
    font-size: 0.86rem;
    font-weight: 700;
    color: #4ade80;
}

.pmsc-stats-ok .material-icons {
    font-size: 1.1rem;
}

.pmsc-save-reason {
    margin: 0;
    font-size: 0.82rem;
    color: #fbbf24;
    font-weight: 600;
}

.pmsc-confirm-body {
    margin: -0.35rem 0 0.85rem;
    font-size: 0.86rem;
    color: #d4d4d8;
    line-height: 1.4;
}

.pmsc-optional {
    font-size: 0.72rem;
    font-weight: 500;
    color: #a1a1aa;
}

.pmsc-field-error {
    margin: -0.35rem 0 0.75rem;
    font-size: 0.82rem;
    color: #f87171;
    font-weight: 600;
}

.pmsc-input--error {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 1px rgba(239, 68, 68, 0.35);
}

.pmsc-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border: none;
    background: transparent;
    color: #a78bfa;
    font-weight: 700;
    font-size: 0.88rem;
    cursor: pointer;
    padding: 0;
}

.pmsc-save {
    width: 100%;
    border: none;
    border-radius: 14px;
    padding: 1rem;
    font-size: 1rem;
    font-weight: 800;
    background: #22c55e;
    color: #052e16;
    cursor: pointer;
}

.pmsc-save:disabled { opacity: 0.65; cursor: wait; }

.pmsc-muted, .pmsc-error p { color: #a1a1aa; }
.pmsc-form-error { color: #f87171; font-size: 0.88rem; margin: 0 0 0.5rem; }
.pmsc-form-ok { color: #4ade80; font-size: 0.9rem; font-weight: 700; margin: 0 0 0.5rem; }
.pmsc-btn {
    margin-top: 0.5rem;
    padding: 0.65rem 1rem;
    border-radius: 10px;
    border: 1px solid #3f3f46;
    background: #27272a;
    color: #fafafa;
    cursor: pointer;
}

.pmsc-dnp-toggle {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    border-radius: 14px;
    border: 1px solid #3f3f46;
    background: #18181f;
    cursor: pointer;
}

.pmsc-dnp-toggle input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.pmsc-dnp-toggle-ui {
    width: 2.75rem;
    height: 1.5rem;
    border-radius: 999px;
    background: #3f3f46;
    position: relative;
    flex-shrink: 0;
    margin-top: 0.15rem;
    transition: background 0.2s;
}

.pmsc-dnp-toggle-ui::after {
    content: "";
    position: absolute;
    top: 0.15rem;
    left: 0.15rem;
    width: 1.2rem;
    height: 1.2rem;
    border-radius: 50%;
    background: #fafafa;
    transition: transform 0.2s;
}

.pmsc-dnp-toggle input:checked + .pmsc-dnp-toggle-ui {
    background: #7c3aed;
}

.pmsc-dnp-toggle input:checked + .pmsc-dnp-toggle-ui::after {
    transform: translateX(1.25rem);
}

.pmsc-dnp-toggle-txt {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    color: #e4e4e7;
}

.pmsc-dnp-toggle-txt strong {
    font-size: 0.95rem;
}

.pmsc-dnp-toggle-txt small {
    font-size: 0.78rem;
    color: #71717a;
    font-weight: 500;
}

.pmsc-textarea {
    width: 100%;
    border-radius: 12px;
    border: 1px solid #3f3f46;
    background: #18181f;
    color: #fafafa;
    padding: 0.75rem;
    font-size: 0.92rem;
    line-height: 1.45;
    resize: vertical;
    min-height: 4.5rem;
}

.pmsc-confirm {
    padding: 1rem;
    border-radius: 14px;
    border: 1px solid rgba(124, 58, 237, 0.35);
    background: rgba(124, 58, 237, 0.1);
}

.pmsc-confirm-title {
    margin: 0 0 0.85rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: #e9d5ff;
    line-height: 1.4;
}

.pmsc-confirm-actions {
    display: flex;
    gap: 0.5rem;
}

.pmsc-save--inline {
    flex: 1;
    padding: 0.75rem;
}
