:root{
    --lf-green:#1f9d62;
    --lf-green-dark:#157347;
    --lf-green-deep:#0f5132;
    --lf-green-soft:#eaf8f0;
    --lf-green-soft-2:#dff3e7;
    --lf-bg:#f4fbf7;
    --lf-bg-2:#edf7f1;
    --lf-panel:#ffffff;
    --lf-panel-2:#fdfefe;
    --lf-text:#183126;
    --lf-muted:#71877b;
    --lf-border:#d9ede1;
    --lf-shadow:0 18px 45px rgba(20, 90, 58, .08);
    --lf-shadow-soft:0 8px 24px rgba(20, 90, 58, .06);
    --lf-radius:22px;
    --lf-radius-sm:16px;
}

html,body{
    min-height:100%;
}

body.lf-body{
    background:
        radial-gradient(circle at top left, rgba(31,157,98,.08), transparent 26%),
        radial-gradient(circle at top right, rgba(39,192,114,.08), transparent 20%),
        linear-gradient(180deg, var(--lf-bg) 0%, #f9fcfa 100%);
    color:var(--lf-text);
    font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
}

/* NAVBAR */
.lf-navbar{
    background:rgba(255,255,255,.88);
    backdrop-filter:blur(12px);
    border-bottom:1px solid rgba(217,237,225,.95);
    box-shadow:0 8px 30px rgba(18, 77, 50, .06);
}

.lf-brand-icon{
    width:48px;
    height:48px;
    border-radius:15px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    background:linear-gradient(135deg, var(--lf-green) 0%, #34c978 100%);
    color:#fff;
    box-shadow:0 14px 30px rgba(31,157,98,.24);
    font-size:1.1rem;
}

.lf-brand-title{
    font-weight:800;
    letter-spacing:-.02em;
    color:var(--lf-text);
    line-height:1.05;
    font-size:1.05rem;
}

.lf-brand-subtitle{
    color:var(--lf-muted);
    font-size:.74rem;
    line-height:1.05;
}

.lf-toggler{
    border-color:var(--lf-border);
}

.navbar .nav-link{
    color:#355347;
    font-weight:700;
    border-radius:12px;
    padding:.72rem .95rem;
    transition:.2s ease;
}

.navbar .nav-link:hover,
.navbar .nav-link.active{
    background:var(--lf-green-soft);
    color:var(--lf-green-deep);
}

.btn-lf{
    background:linear-gradient(135deg, var(--lf-green) 0%, #27c072 100%);
    border:none;
    color:#fff;
    font-weight:700;
    border-radius:14px;
    padding:.72rem 1.15rem;
    box-shadow:0 12px 24px rgba(31,157,98,.18);
}

.btn-lf:hover,
.btn-lf:focus{
    color:#fff;
    transform:translateY(-1px);
    background:linear-gradient(135deg, var(--lf-green-dark) 0%, var(--lf-green) 100%);
}

.btn-lf-outline{
    border:1px solid rgba(31,157,98,.35);
    color:var(--lf-green-dark);
    background:#fff;
    font-weight:700;
    border-radius:14px;
    padding:.72rem 1.05rem;
}

.btn-lf-outline:hover,
.btn-lf-outline:focus{
    background:var(--lf-green-soft);
    color:var(--lf-green-deep);
    border-color:rgba(31,157,98,.45);
}

/* USERBAR */
.lf-userbar{
    background:linear-gradient(180deg, rgba(255,255,255,.96) 0%, rgba(248,253,250,.96) 100%);
    border:1px solid var(--lf-border);
    border-radius:18px;
    padding:15px 18px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:16px;
    box-shadow:var(--lf-shadow-soft);
}

/* HERO */
.lf-hero{
    position:relative;
    overflow:hidden;
    background:
        radial-gradient(circle at 85% 20%, rgba(255,255,255,.18), transparent 20%),
        radial-gradient(circle at 15% 10%, rgba(255,255,255,.14), transparent 18%),
        linear-gradient(135deg, #113d2a 0%, #176b44 55%, #1f9d62 100%);
    color:#fff;
    border-radius:28px;
    padding:32px;
    box-shadow:0 28px 60px rgba(15,81,50,.18);
}

.lf-hero{
    position: relative;
    overflow: hidden;
}

.lf-hero > *{
    position: relative;
    z-index: 1;
}

.lf-hero::after {
    content: "";
    position: absolute;
    inset: auto -60px -60px auto;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    filter: blur(4px);
    pointer-events: none;
    z-index: 0;
}

.lf-eyebrow{
    display:inline-block;
    text-transform:uppercase;
    letter-spacing:.14em;
    font-size:.72rem;
    font-weight:800;
    color:rgba(255,255,255,.82);
    margin-bottom:.7rem;
}

.lf-page-title{
    font-weight:900;
    letter-spacing:-.03em;
    color:#fff;
}

.lf-hero p,
.lf-hero .text-muted{
    color:rgba(255,255,255,.82) !important;
}

/* HERO SIDE STAT */
.lf-stat-card{
    background:rgba(255,255,255,.12);
    border:1px solid rgba(255,255,255,.16);
    border-radius:24px;
    padding:24px;
    text-align:center;
    color:#fff;
    backdrop-filter:blur(6px);
}

.lf-stat-number{
    font-size:2.6rem;
    font-weight:900;
    line-height:1;
}

.lf-stat-label{
    margin-top:.45rem;
    color:rgba(255,255,255,.8);
    font-size:.95rem;
}

/* CARDS */
.lf-card{
    border:1px solid var(--lf-border);
    border-radius:var(--lf-radius);
    box-shadow:var(--lf-shadow);
    background:linear-gradient(180deg, var(--lf-panel) 0%, var(--lf-panel-2) 100%);
    overflow:hidden;
    transition:.22s ease;
}

.lf-card:hover{
    transform:translateY(-3px);
    box-shadow:0 24px 50px rgba(20,90,58,.12);
}

.lf-card-header{
    position:relative;
    background:#fff;
    border-bottom:1px solid var(--lf-border);
    padding:1.15rem 1.25rem;
}

.lf-card-header::before{
    content:"";
    position:absolute;
    left:0;
    top:0;
    width:100%;
    height:4px;
    background:linear-gradient(90deg, var(--lf-green) 0%, #38d17e 100%);
}

.lf-card .card-body{
    padding:1.2rem 1.25rem;
}

.lf-card .card-footer{
    padding:0 1.25rem 1.2rem;
}

/* MINI FEATURE CARD */
.lf-feature-icon{
    width:52px;
    height:52px;
    border-radius:16px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    font-size:1.1rem;
    color:var(--lf-green-dark);
    background:linear-gradient(180deg, var(--lf-green-soft) 0%, var(--lf-green-soft-2) 100%);
    box-shadow:inset 0 0 0 1px rgba(31,157,98,.08);
}

/* FORMS */
.form-control,
.form-select{
    border-radius:14px;
    min-height:48px;
    border-color:#cfe6d9;
    color:var(--lf-text);
    background:#fff;
}

.form-control:focus,
.form-select:focus{
    border-color:rgba(31,157,98,.5);
    box-shadow:0 0 0 .25rem rgba(31,157,98,.14);
}

textarea.form-control{
    min-height:130px;
}

.form-label{
    font-weight:700;
    color:#264538;
    margin-bottom:.45rem;
}

.lf-readonly,
.lf-readonly:disabled{
    background:linear-gradient(180deg, #edf3ef 0%, #e8efea 100%) !important;
    border-color:#d8e2dc !important;
    color:#61776c !important;
    opacity:1 !important;
    cursor:not-allowed;
    font-weight:700;
}

/* BADGES */
.badge{
    border-radius:999px;
    padding:.52em .76em;
    font-weight:800;
    letter-spacing:.01em;
}

/* FOOTER */
.lf-footer{
    border-top:1px solid var(--lf-border);
    background:rgba(255,255,255,.92);
    padding:1rem 0;
    margin-top:2rem;
    backdrop-filter:blur(8px);
}

/* MOBILE NAV */
.lf-mobile-nav{
    position:fixed;
    left:10px;
    right:10px;
    bottom:10px;
    z-index:1035;
    background:rgba(18,49,35,.94);
    border-radius:20px;
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:8px;
    padding:10px;
    box-shadow:0 18px 44px rgba(0,0,0,.2);
}

.lf-mobile-nav a{
    color:#dff7e8;
    text-decoration:none;
    min-height:60px;
    border-radius:14px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:5px;
    font-size:.72rem;
    font-weight:800;
    transition:.18s ease;
}

.lf-mobile-nav a.active,
.lf-mobile-nav a:hover{
    background:rgba(255,255,255,.1);
    color:#fff;
}

.lf-mobile-nav i{
    font-size:1rem;
}

/* HELPERS */
.lf-muted{
    color:var(--lf-muted);
}

.lf-live-blink{animation:lfLiveBlink 1.15s ease-in-out infinite;}
@keyframes lfLiveBlink{0%,100%{opacity:1}50%{opacity:.35}}

.lf-soft-box{
    background:linear-gradient(180deg, #f9fdfb 0%, #f3fbf7 100%);
    border:1px solid var(--lf-border);
    border-radius:18px;
    padding:16px 18px;
}

.lf-empty-icon{
    font-size:2.8rem;
    color:var(--lf-green);
    opacity:.9;
}

/* LOGIN / REGISTER LAYOUT */
.lf-auth-wrap{
    display:grid;
    grid-template-columns:1.05fr .95fr;
    gap:24px;
    align-items:stretch;
}

.lf-auth-side{
    background:
        radial-gradient(circle at top right, rgba(255,255,255,.14), transparent 20%),
        linear-gradient(135deg, #11402b 0%, #176c45 52%, #20a764 100%);
    color:#fff;
    border-radius:28px;
    padding:32px;
    box-shadow:0 28px 60px rgba(15,81,50,.16);
}

.lf-auth-side h1,
.lf-auth-side h2,
.lf-auth-side p,
.lf-auth-side li,
.lf-auth-side .text-muted{
    color:#fff !important;
}

.lf-auth-benefits{
    margin:0;
    padding-left:1rem;
}

.lf-auth-benefits li{
    margin-bottom:.7rem;
    opacity:.92;
}

/* TORNEO CARD DETAIL */
.lf-torneo-meta{
    display:grid;
    gap:.5rem;
}

.lf-torneo-meta strong{
    color:#294638;
}

/* RESPONSIVE */
@media (max-width: 991.98px){


    .lf-auth-wrap{
        grid-template-columns:1fr;
    }

    .lf-hero{
        padding:24px;
        border-radius:24px;
    }

    .lf-page-title{
        font-size:2rem;
    }

    .lf-userbar{
        flex-direction:column;
        align-items:flex-start;
    }
}

@media (min-width: 992px){
    body.lf-body{
        padding-bottom:0;
    }
}

/* =========================
   Clasificación
========================= */

.clf-hero-compact{
    background: linear-gradient(135deg, #14532d 0%, #1f9d62 100%);
    color:#fff;
    border-radius:24px;
    padding:22px 24px;
    box-shadow:0 18px 40px rgba(20,83,45,.16);
}

.clf-hero-compact .clf-sub{
    color:rgba(255,255,255,.88);
}

.clf-table-card .table{
    margin-bottom:0;
}

.clf-table-card thead th{
    font-size:.82rem;
    color:#6b7280;
    font-weight:800;
    border-bottom:1px solid #e5ece8;
}

.clf-table-card tbody td{
    vertical-align:middle;
    padding:.9rem .75rem;
    border-color:#edf2ef;
}

.clf-rank{
    font-weight:900;
    font-size:1.05rem;
    color:#1f2937;
}

.clf-name{
    font-weight:800;
    color:#1f2937;
    line-height:1.1;
}

.clf-login{
    color:#6b7280;
    font-size:.8rem;
}

.clf-you{
    background:#dcfce7;
    color:#166534;
    font-size:.72rem;
    font-weight:800;
    border-radius:999px;
    padding:.2rem .5rem;
}

.clf-info-card{
    border:1px solid #e6ece8;
    border-radius:20px;
    box-shadow:0 8px 24px rgba(17,24,39,.04);
    background:#fff;
}

.clf-mini{
    color:#6b7280;
    font-size:.84rem;
}

.clf-accent-blue{
    color:#2563eb;
}

.clf-accent-amber{
    color:#d97706;
}

.clf-accent-green{
    color:#15803d;
}

@media (max-width: 991.98px){
    .clf-hero-compact{
        padding:18px 18px;
        border-radius:20px;
    }
}


/* =========================
   Dashboard torneo minimal compacto
========================= */

.lf-dash-hero{
    background:#fff;
    border:1px solid #e8edf3;
    border-radius:18px;
    padding:14px 16px;
    box-shadow:0 6px 18px rgba(15,23,42,.04);
}

.lf-dash-kicker{
    font-size:.68rem;
    font-weight:800;
    text-transform:uppercase;
    letter-spacing:.08em;
    color:#2563eb;
    margin-bottom:.15rem;
}

.lf-dash-title{
    color:#0f172a;
    font-weight:900;
    font-size:1.45rem;
    line-height:1.05;
}

.lf-dash-sub{
    color:#64748b;
    font-size:.88rem;
    line-height:1.25;
}

.lf-dash-strip{
    display:grid;
    grid-template-columns:repeat(6, minmax(0, 1fr));
    gap:8px;
}

.lf-dash-pill{
    background:#fff;
    border:1px solid #e5ebf3;
    border-radius:14px;
    padding:8px 10px;
    box-shadow:none;
}

.lf-dash-pill--blue{
    border-color:#dbeafe;
    background:#f8fbff;
}

.lf-dash-pill--amber{
    border-color:#fde7c7;
    background:#fffaf2;
}

.lf-dash-pill__label{
    display:block;
    font-size:.68rem;
    color:#64748b;
    margin-bottom:.1rem;
    line-height:1.1;
}

.lf-dash-pill__value{
    display:block;
    font-weight:900;
    font-size:.95rem;
    color:#0f172a;
    line-height:1.1;
}

.lf-dash-card{
    border:1px solid #e8edf3;
    box-shadow:0 6px 18px rgba(15,23,42,.04);
    border-radius:18px;
}

.lf-dash-card .card-header{
    padding:.8rem 1rem;
}

.lf-dash-card .card-body{
    padding:1rem;
}

.lf-dash-mainstat__value{
    font-size:1.55rem;
    font-weight:900;
    color:#0f172a;
    line-height:1;
}

.lf-dash-mainstat__label{
    color:#64748b;
    margin-top:.2rem;
    font-size:.84rem;
}

.lf-dash-mini{
    background:#f8fafc;
    border:1px solid #e8edf3;
    border-radius:12px;
    padding:9px 10px;
}

.lf-dash-mini__label{
    font-size:.72rem;
    color:#64748b;
    margin-bottom:.1rem;
    line-height:1.15;
}

.lf-dash-mini__value{
    font-size:1.05rem;
    font-weight:900;
    color:#0f172a;
    line-height:1.1;
}

.lf-dash-note{
    color:#64748b;
    font-size:.84rem;
    line-height:1.35;
}

.lf-dash-empty{
    color:#64748b;
    background:#f8fafc;
    border:1px dashed #d9e2ec;
    border-radius:12px;
    padding:10px 12px;
    font-size:.86rem;
}

.lf-rank-list{
    display:flex;
    flex-direction:column;
    gap:8px;
}

.lf-rank-item{
    display:grid;
    grid-template-columns:38px 1fr auto;
    gap:10px;
    align-items:center;
    border:1px solid #e8edf3;
    border-radius:12px;
    padding:8px 10px;
    background:#fff;
}

.lf-rank-item__pos{
    width:38px;
    height:38px;
    border-radius:10px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#eff6ff;
    color:#2563eb;
    font-weight:900;
    font-size:.92rem;
}

.lf-rank-item__name{
    font-weight:800;
    color:#0f172a;
    font-size:.9rem;
    line-height:1.1;
}

.lf-rank-item__sub{
    font-size:.74rem;
    color:#64748b;
    line-height:1.1;
    margin-top:.1rem;
}

.lf-rank-item__pts{
    font-weight:900;
    color:#0f172a;
    font-size:.95rem;
}

.lf-rank-item__you{
    display:inline-block;
    margin-left:.35rem;
    padding:.08rem .4rem;
    border-radius:999px;
    background:#dcfce7;
    color:#166534;
    font-size:.66rem;
    font-weight:800;
}

.lf-chart-wrap{
    background:#fff;
    border:1px solid #e8edf3;
    border-radius:14px;
    padding:10px;
}

.lf-quad-grid{
    display:grid;
    grid-template-columns:repeat(4, minmax(0,1fr));
    gap:8px;
}

.lf-quad-box{
    background:#f8fafc;
    border:1px solid #e8edf3;
    border-radius:12px;
    padding:9px 8px;
    text-align:center;
}

.lf-quad-box__label{
    font-size:.72rem;
    color:#64748b;
    line-height:1.1;
}

.lf-quad-box__value{
    font-size:1rem;
    font-weight:900;
    color:#0f172a;
    margin-top:.15rem;
    line-height:1.1;
}

.lf-member-list{
    display:flex;
    flex-direction:column;
    gap:8px;
}

.lf-member-item{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:10px;
    padding:9px 10px;
    border:1px solid #e8edf3;
    border-radius:12px;
    background:#fff;
}

.lf-member-item__name{
    font-weight:800;
    color:#0f172a;
    font-size:.88rem;
    line-height:1.1;
}

.lf-member-item__sub{
    font-size:.74rem;
    color:#64748b;
    line-height:1.1;
    margin-top:.1rem;
}

.lf-member-item__role{
    font-size:.68rem;
    font-weight:800;
    color:#2563eb;
    background:#eff6ff;
    padding:.18rem .45rem;
    border-radius:999px;
    white-space:nowrap;
}

.lf-info-grid{
    display:grid;
    grid-template-columns:repeat(3, minmax(0,1fr));
    gap:8px;
}

.lf-info-grid div{
    background:#f8fafc;
    border:1px solid #e8edf3;
    border-radius:12px;
    padding:9px 10px;
}

.lf-info-grid span{
    display:block;
    font-size:.72rem;
    color:#64748b;
    margin-bottom:.1rem;
    line-height:1.1;
}

.lf-info-grid strong{
    color:#0f172a;
    font-size:.88rem;
    line-height:1.1;
}

@media (max-width: 1199.98px){
    .lf-dash-strip{
        grid-template-columns:repeat(3, minmax(0,1fr));
    }
}

@media (max-width: 991.98px){
    .lf-dash-hero{
        padding:12px 14px;
        border-radius:16px;
    }

    .lf-dash-title{
        font-size:1.25rem;
    }

    .lf-dash-sub{
        font-size:.82rem;
    }

    .lf-dash-strip{
        grid-template-columns:repeat(3, minmax(0,1fr));
        gap:7px;
    }

    .lf-dash-card .card-header{
        padding:.75rem .9rem;
    }

    .lf-dash-card .card-body{
        padding:.9rem;
    }

    .lf-info-grid{
        grid-template-columns:repeat(2, minmax(0,1fr));
    }
}

@media (max-width: 575.98px){
    .lf-dash-strip{
        grid-template-columns:repeat(2, minmax(0,1fr));
    }

    .lf-quad-grid{
        grid-template-columns:repeat(2, minmax(0,1fr));
    }

    .lf-info-grid{
        grid-template-columns:1fr;
    }

    .lf-dash-title{
        font-size:1.12rem;
    }

    .lf-dash-mainstat__value{
        font-size:1.35rem;
    }
}


.fj-face-wrap{
    position:relative;
    width:46px;
    height:46px;
    flex:0 0 46px;
}

.fj-face{
    width:46px;
    height:46px;
    object-fit:contain;
    border-radius:50%;
    background:#fff;
    display:block;
}

.fj-pos-badge{
    position:absolute;
    left:-4px;
    bottom:-4px;
    min-width:22px;
    height:18px;
    padding:0 5px;
    border-radius:7px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    color:#fff;
    font-size:.6rem;
    font-weight:900;
    line-height:1;
    box-shadow:0 4px 10px rgba(0,0,0,.18);
}

.fj-pos-badge--PT{ background:#198754; }
.fj-pos-badge--DF{ background:#0d6efd; }
.fj-pos-badge--MD{ background:#fd7e14; }
.fj-pos-badge--DL{ background:#dc3545; }

.lf-brand-logo{
    width:42px;
    height:42px;
    object-fit:contain;
    display:block;
}

.lf-link-chip{
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:8px 12px;
    border-radius:999px;
    background:#f8fafc;
    border:1px solid #e2e8f0;
    color:#1e3a8a;
    text-decoration:none;
    font-weight:700;
    font-size:.88rem;
    transition:.18s ease;
}

.lf-link-chip:hover{
    background:#eff6ff;
    border-color:#bfdbfe;
    color:#1d4ed8;
}

.lf-access-grid{
    display:grid;
    grid-template-columns:repeat(4, minmax(0,1fr));
    gap:12px;
}

.lf-access-card{
    display:grid;
    grid-template-columns:42px 1fr auto;
    gap:12px;
    align-items:center;
    padding:12px 14px;
    border:1px solid #e8edf3;
    border-radius:16px;
    background:#fff;
    text-decoration:none;
    color:#0f172a;
    box-shadow:0 6px 18px rgba(15,23,42,.04);
    transition:.18s ease;
}

.lf-access-card:hover{
    transform:translateY(-1px);
    border-color:#dbe5f1;
    color:#0f172a;
}

.lf-access-card__icon{
    width:42px;
    height:42px;
    border-radius:12px;
    background:#f8fafc;
    color:#2563eb;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:1rem;
}

.lf-access-card__title{
    font-weight:800;
    line-height:1.1;
    margin-bottom:.15rem;
}

.lf-access-card__sub{
    font-size:.76rem;
    color:#64748b;
    line-height:1.2;
}

.lf-access-card__count{
    min-width:34px;
    height:34px;
    padding:0 10px;
    border-radius:999px;
    background:#eff6ff;
    color:#1d4ed8;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:900;
    font-size:.82rem;
}

@media (max-width: 1199.98px){
    .lf-access-grid{
        grid-template-columns:repeat(2, minmax(0,1fr));
    }
}

@media (max-width: 575.98px){
    .lf-access-grid{
        grid-template-columns:1fr;
    }

    .lf-access-card{
        grid-template-columns:38px 1fr auto;
        gap:10px;
        padding:11px 12px;
    }

    .lf-access-card__icon{
        width:38px;
        height:38px;
        border-radius:10px;
    }
}

.lf-access-grid{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:12px;
}

.lf-access-card{
    display:grid;
    grid-template-columns:40px 1fr auto;
    gap:12px;
    align-items:center;
    padding:12px 14px;
    border:1px solid #e8edf3;
    border-radius:16px;
    background:#fff;
    text-decoration:none;
    color:#0f172a;
    box-shadow:0 6px 18px rgba(15,23,42,.04);
    transition:.18s ease;
}

.lf-access-card:hover{
    transform:translateY(-1px);
    border-color:#dbe5f1;
    color:#0f172a;
}

.lf-access-card__icon{
    width:40px;
    height:40px;
    border-radius:12px;
    background:#f8fafc;
    color:#2563eb;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:.95rem;
}

.lf-access-card__title{
    font-weight:800;
    line-height:1.1;
    margin-bottom:.12rem;
}

.lf-access-card__sub{
    font-size:.74rem;
    color:#64748b;
    line-height:1.2;
}

.lf-access-card__count{
    min-width:34px;
    height:34px;
    padding:0 10px;
    border-radius:999px;
    background:#eff6ff;
    color:#1d4ed8;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:900;
    font-size:.82rem;
}

@media (max-width: 1199.98px){
    .lf-access-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}

@media (max-width: 575.98px){
    .lf-access-grid{
        grid-template-columns:1fr;
    }

    .lf-access-card{
        grid-template-columns:36px 1fr auto;
        gap:10px;
        padding:11px 12px;
    }

    .lf-access-card__icon{
        width:36px;
        height:36px;
        border-radius:10px;
    }
}

.col-xl-6 > .lf-card.lf-dash-card{
    height:100%;
}


.btn-lf-soft{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:.5rem;
    padding:.62rem .95rem;
    border-radius:12px;
    font-weight:700;
    font-size:.92rem;
    text-decoration:none;
    border:1px solid transparent;
    transition:all .18s ease;
    box-shadow:none;
}

.btn-lf-soft:hover{
    transform:translateY(-1px);
    text-decoration:none;
}

.btn-lf-soft:focus{
    outline:none;
    box-shadow:none;
}

/* Azul */
.btn-lf-soft-blue{
    background:#eff6ff;
    border-color:#bfdbfe;
    color:#1d4ed8;
}

.btn-lf-soft-blue:hover{
    background:#dbeafe;
    border-color:#93c5fd;
    color:#1e40af;
}

/* Verde */
.btn-lf-soft-green{
    background:#ecfdf3;
    border-color:#b7ebc8;
    color:#15803d;
}

.btn-lf-soft-green:hover{
    background:#dcfce7;
    border-color:#86efac;
    color:#166534;
}

/* Naranja */
.btn-lf-soft-orange{
    background:#fff7ed;
    border-color:#fed7aa;
    color:#ea580c;
}

.btn-lf-soft-orange:hover{
    background:#ffedd5;
    border-color:#fdba74;
    color:#c2410c;
}

/* Rojo */
.btn-lf-soft-red{
    background:#fef2f2;
    border-color:#fecaca;
    color:#dc2626;
}

.btn-lf-soft-red:hover{
    background:#fee2e2;
    border-color:#fca5a5;
    color:#b91c1c;
}

.lf-match-row{
    border:1px solid #e4ece7;
    border-radius:16px;
    padding:12px 14px;
    background:#fff;
}

.lf-match-row__top{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    margin-bottom:10px;
}

.lf-match-row__datetime{
    font-size:.82rem;
    color:#6b7c72;
    font-weight:600;
    white-space:nowrap;
}

.lf-match-row__main{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);
    align-items:center;
    gap:10px;
}

.lf-match-row__team{
    display:flex;
    align-items:center;
    gap:8px;
    min-width:0;
    font-weight:800;
    color:#183126;
}

.lf-match-row__team img{
    width:28px;
    height:28px;
    object-fit:contain;
    flex:0 0 28px;
}

.lf-match-row__team span{
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

.lf-match-row__team--right{
    justify-content:flex-end;
    text-align:right;
}

.lf-match-row__score{
    min-width:72px;
    text-align:center;
    font-weight:900;
    font-size:1rem;
    color:#0f172a;
}

@media (max-width: 767.98px){
    .lf-match-row{
        padding:10px 12px;
    }

    .lf-match-row__datetime{
        font-size:.76rem;
    }

    .lf-match-row__team{
        font-size:.9rem;
        gap:6px;
    }

    .lf-match-row__team img{
        width:24px;
        height:24px;
        flex:0 0 24px;
    }

    .lf-match-row__score{
        min-width:58px;
        font-size:.95rem;
    }
}


.lf-torneo-list{
    display:flex;
    flex-direction:column;
    gap:10px;
}

.lf-torneo-row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
    padding:12px 14px;
    background:#fff;
    border:1px solid #dcebe3;
    border-radius:16px;
    box-shadow:var(--lf-shadow-soft);
}

.lf-torneo-row__main{
    min-width:0;
    flex:1 1 auto;
}

.lf-torneo-row__top{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:12px;
    margin-bottom:4px;
}

.lf-torneo-row__title{
    margin:0;
    font-size:1rem;
    line-height:1.2;
    font-weight:800;
    color:#163326;
}

.lf-torneo-row__badges{
    display:flex;
    flex-wrap:wrap;
    gap:6px;
    flex:0 0 auto;
}

.lf-torneo-row__desc{
    font-size:.9rem;
    color:#5f7267;
    line-height:1.35;
    margin-bottom:6px;
}

.lf-torneo-row__meta{
    display:flex;
    flex-wrap:wrap;
    gap:14px;
    font-size:.84rem;
    color:#385446;
}

.lf-torneo-row__actions{
    display:flex;
    align-items:center;
    gap:8px;
    flex:0 0 auto;
}

.lf-torneo-row__actions--dual{
    min-width:260px;
    justify-content:flex-end;
}

.lf-torneo-row__actions .btn,
.lf-torneo-row__actions .btn-lf-soft{
    min-height:38px;
    white-space:nowrap;
}

@media (max-width: 991.98px){
    .lf-torneo-row{
        flex-direction:column;
        align-items:stretch;
    }

    .lf-torneo-row__top{
        flex-direction:column;
        align-items:flex-start;
        gap:8px;
    }

    .lf-torneo-row__actions,
    .lf-torneo-row__actions--dual{
        min-width:0;
        width:100%;
        justify-content:stretch;
    }

    .lf-torneo-row__actions .btn,
    .lf-torneo-row__actions .btn-lf-soft{
        flex:1 1 0;
        text-align:center;
        justify-content:center;
    }
}

/* Consulta de onces bloqueados */
.lf-onces-panel .card-body{padding-top:1rem}
.lf-onces-accordion{display:flex;flex-direction:column;gap:12px}
.lf-onces-item{border:1px solid rgba(255,255,255,.09);border-radius:18px;overflow:hidden;background:rgba(7,24,43,.42)}
.lf-onces-toggle{background:transparent !important;color:inherit !important;box-shadow:none !important;padding:16px 18px}
.lf-onces-toggle:not(.collapsed){background:rgba(255,255,255,.03) !important;color:inherit !important}
.lf-onces-toggle::after{margin-left:16px}
.lf-onces-head{display:flex;justify-content:space-between;align-items:center;gap:12px;width:100%;padding-right:8px}
.lf-onces-head__title{font-weight:800;font-size:1rem;line-height:1.1;color:#f7fbff}
.lf-onces-head__sub{font-size:.83rem;color:#99adc2;margin-top:4px}
.lf-onces-head__meta{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}
.lf-onces-pill{display:inline-flex;align-items:center;justify-content:center;padding:6px 10px;border-radius:999px;font-size:.78rem;font-weight:800;background:rgba(255,255,255,.08);color:#e9f2fb;min-width:56px}
.lf-onces-pill--accent{background:rgba(31,111,255,.18);color:#cfe0ff}
.lf-onces-pill--warn{background:rgba(245,158,11,.16);color:#ffd58a}
.lf-onces-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.lf-onces-block{border:1px solid rgba(255,255,255,.07);border-radius:16px;padding:12px;background:rgba(255,255,255,.02)}
.lf-onces-block__title{font-size:.78rem;font-weight:900;letter-spacing:.08em;color:#8fb2d8;text-transform:uppercase;margin-bottom:10px}
.lf-onces-player{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 0;border-bottom:1px solid rgba(255,255,255,.06)}
.lf-onces-player:last-child{border-bottom:0;padding-bottom:0}
.lf-onces-player:first-child{padding-top:0}
.lf-onces-player__name{font-weight:700;color:#f4f8fc;line-height:1.15}
.lf-onces-player__sub{font-size:.8rem;color:#91a8c0;margin-top:3px}
.lf-onces-player__side{display:flex;align-items:center;gap:8px;flex-shrink:0}
.lf-onces-player__team{width:24px;height:24px;object-fit:contain;display:block}
.lf-onces-player__pts{min-width:26px;text-align:right;font-size:.83rem;font-weight:800;color:#bfe2ff}
.lf-onces-empty-slot{font-size:.86rem;color:#7f93a8}
.lf-onces-note{margin-top:12px;font-size:.88rem;color:#9eb1c5}
@media (max-width: 991.98px){.lf-onces-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width: 575.98px){.lf-onces-head{align-items:flex-start;flex-direction:column}.lf-onces-head__meta{justify-content:flex-start}.lf-onces-grid{grid-template-columns:1fr}}

/* =========================================================
   MOBILE MENU - FOOTBALL STYLE
   ========================================================= */

.lf-toggler{
    width:52px;
    height:52px;
    padding:0;
    border-radius:16px;
    border:1px solid rgba(255,255,255,.1);
    background:linear-gradient(180deg, rgba(255,255,255,.06) 0%, rgba(255,255,255,.02) 100%);
    box-shadow:0 10px 24px rgba(0,0,0,.18);
    display:inline-flex;
    align-items:center;
    justify-content:center;
}

.lf-toggler:focus{
    box-shadow:0 0 0 .2rem rgba(34,192,111,.18), 0 10px 24px rgba(0,0,0,.18);
}

.lf-toggler .navbar-toggler-icon{display:none;}

.lf-toggler__inner{
    position:relative;
    width:24px;
    height:18px;
    display:block;
}

.lf-toggler__line{
    position:absolute;
    left:0;
    width:24px;
    height:2.5px;
    border-radius:999px;
    background:currentColor;
    transition:transform .28s ease, opacity .22s ease, width .22s ease, top .28s ease, bottom .28s ease;
}

.lf-toggler__line--top{top:0;}
.lf-toggler__line--mid{top:7.5px;width:18px;}
.lf-toggler__line--bottom{bottom:0;width:14px;}

.lf-toggler__ball{
    position:absolute;
    right:-3px;
    top:-14px;
    width:18px;
    height:18px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    font-size:.78rem;
    color:#ffffff;
    filter:drop-shadow(0 4px 8px rgba(0,0,0,.22));
    transition:transform .42s cubic-bezier(.22,1,.36,1), opacity .25s ease, top .28s ease;
    transform-origin:center;
}

.lf-toggler.is-open .lf-toggler__line--top{
    top:7.5px;
    transform:rotate(45deg);
}

.lf-toggler.is-open .lf-toggler__line--mid{
    opacity:0;
    transform:translateX(-8px);
}

.lf-toggler.is-open .lf-toggler__line--bottom{
    bottom:8px;
    width:24px;
    transform:rotate(-45deg);
}

.lf-toggler.is-open .lf-toggler__ball{
    top:-12px;
    transform:translateX(-18px) rotate(-220deg) scale(1.08);
}

.lf-account-chip{
    display:inline-block;
}

@media (max-width: 991.98px){
    .lf-navbar .container{
        align-items:center;
    }

    .lf-mobile-menu-panel{
        margin-top:14px;
        border:1px solid rgba(255,255,255,.08);
        border-radius:22px;
        padding:14px;
        background:
            radial-gradient(circle at 82% 18%, rgba(34,192,111,.16), transparent 22%),
            linear-gradient(180deg, rgba(9,18,30,.98) 0%, rgba(13,24,38,.98) 100%);
        box-shadow:0 18px 40px rgba(0,0,0,.24);
        overflow:hidden;
        position:relative;
    }

    .lf-mobile-menu-panel::before{
        content:"";
        position:absolute;
        inset:12px 14px auto 14px;
        height:56px;
        border:1px solid rgba(255,255,255,.06);
        border-radius:16px;
        opacity:.45;
        pointer-events:none;
    }

    .lf-mobile-menu-panel::after{
        content:"";
        position:absolute;
        inset:14px;
        border-radius:18px;
        background:
            linear-gradient(90deg, transparent calc(50% - .5px), rgba(255,255,255,.05) calc(50% - .5px), rgba(255,255,255,.05) calc(50% + .5px), transparent calc(50% + .5px)),
            radial-gradient(circle at 50% 22%, transparent 11px, rgba(255,255,255,.055) 11px, rgba(255,255,255,.055) 12px, transparent 12px);
        pointer-events:none;
        opacity:.6;
    }

    .lf-mobile-menu-panel.collapsing,
    .lf-mobile-menu-panel.collapse.show{
        animation:lfMenuDrop .3s ease;
        transform-origin:top center;
    }

    .lf-mobile-menu-panel .navbar-nav{
        position:relative;
        z-index:1;
        gap:10px !important;
    }

    .lf-mobile-menu-panel .nav-link,
    .lf-mobile-menu-panel .btn,
    .lf-mobile-menu-panel .btn-lf,
    .lf-mobile-menu-panel .btn-lf-outline{
        min-height:52px;
        border-radius:16px;
    }

    .lf-mobile-menu-panel .nav-link{
        display:flex;
        align-items:center;
        gap:10px;
        padding:14px 16px;
        background:rgba(255,255,255,.03);
        border:1px solid rgba(255,255,255,.06);
    }

    .lf-mobile-menu-panel .dropdown-menu{
        position:static !important;
        transform:none !important;
        margin-top:8px !important;
        border-radius:16px;
    }

    .lf-mobile-menu-panel .btn-lf-outline,
    .lf-mobile-menu-panel .btn-lf{
        width:100%;
        justify-content:center;
    }

    .lf-mobile-menu-panel .nav-item + .nav-item{
        margin-top:2px;
    }
}

@keyframes lfMenuDrop{
    0%{opacity:0;transform:translateY(-10px) scale(.98);}
    100%{opacity:1;transform:translateY(0) scale(1);}
}

.is-hidden{display:none!important}


/* Menú desplegable reutilizado también en desktop */
.lf-navbar .container{position:relative}
.lf-toggler{display:inline-flex}
@media (min-width: 992px){
    .lf-mobile-menu-panel{
        position:absolute;
        top:calc(100% - 4px);
        right:12px;
        left:auto;
        width:min(380px, calc(100% - 24px));
        margin-top:0;
        border:1px solid rgba(255,255,255,.08);
        border-radius:22px;
        padding:14px;
        box-shadow:0 18px 40px rgba(0,0,0,.24);
        overflow:hidden;
        z-index:1050;
    }

    .lf-mobile-menu-panel::before{
        content:"";
        position:absolute;
        inset:12px 14px auto 14px;
        height:56px;
        border:1px solid rgba(255,255,255,.06);
        border-radius:16px;
        opacity:.45;
        pointer-events:none;
    }

    .lf-mobile-menu-panel::after{
        content:"";
        position:absolute;
        inset:14px;
        border-radius:18px;
        pointer-events:none;
        opacity:.6;
    }

    .lf-mobile-menu-panel.collapsing,
    .lf-mobile-menu-panel.collapse.show{
        animation:lfMenuDrop .3s ease;
        transform-origin:top center;
    }

    .lf-mobile-menu-panel .navbar-nav{position:relative;z-index:1;gap:10px!important}
    .lf-mobile-menu-panel .nav-link,
    .lf-mobile-menu-panel .btn,
    .lf-mobile-menu-panel .btn-lf,
    .lf-mobile-menu-panel .btn-lf-outline{min-height:52px;border-radius:16px}
    .lf-mobile-menu-panel .nav-link{display:flex;align-items:center;gap:10px;padding:14px 16px;background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.06)}
    .lf-mobile-menu-panel .dropdown-menu{position:static!important;transform:none!important;margin-top:8px!important;border-radius:16px}
    .lf-mobile-menu-panel .btn-lf-outline,
    .lf-mobile-menu-panel .btn-lf{width:100%;justify-content:center}
    .lf-mobile-menu-panel .nav-item + .nav-item{margin-top:2px}
}
