/* SPORTIQ_R074_MODAL_BASIC_V4_IDENTITY */

.sq-basic-modal,
.sq-basic-modal *{
    box-sizing:border-box;
}

.sq-basic-modal{
    position:fixed;
    inset:0;
    margin:auto;
    width:min(690px,calc(100vw - 24px));
    max-height:86vh;
    padding:0;
    overflow:auto;
    border:1px solid #dce3ed;
    border-radius:14px;
    background:#fff;
    color:#111827;
    font:13px Roboto,Arial,sans-serif;
    box-shadow:0 24px 65px #091b3a55;
}

.sq-basic-modal::backdrop{
    background:#071832b3;
}

.sq-basic-head{
    position:sticky;
    top:0;
    z-index:2;
    display:flex;
    align-items:center;
    gap:10px;
    padding:16px 20px;
    color:#fff;
    background:#0C2354;
    border:0;
}

.sq-basic-head>svg{
    flex:none;
    color:#fff;
    width:18px;
    height:18px;
}

.sq-basic-head h2{
    flex:1;
    color:#fff;
    margin:0;
    font-size:16px;
    font-weight:700;
}

.sq-basic-close{
    display:grid;
    place-items:center;
    flex:none;
    width:34px;
    height:34px;
    padding:0;
    border:1px solid #ffffff66;
    border-radius:7px;
    background:transparent;
    color:#fff;
    cursor:pointer;
}

.sq-basic-close:hover,
.sq-basic-close:focus-visible{
    background:#ffffff22;
}

.sq-basic-body{
    padding:19px 22px 22px;
}

.sq-basic-competition{
    display:flex;
    align-items:center;
    gap:8px;
    margin:0 0 14px;
    color:#667085;
    font-size:11px;
    line-height:1.4;
}

.sq-basic-competition .country-flag,
.sq-basic-competition .country-flag-img{
    flex:none;
    width:22px;
    height:15px;
    max-width:22px;
    object-fit:cover;
}

.sq-basic-competition .league-logo{
    flex:none;
    width:19px;
    height:19px;
    max-width:19px;
    object-fit:contain;
}

.sq-basic-match{
    display:grid;
    grid-template-columns:minmax(0,1fr) 38px minmax(0,1fr);
    align-items:center;
    gap:8px;
    padding:5px 0 18px;
}

.sq-basic-team{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:9px;
    min-width:0;
    text-align:center;
}

.sq-basic-visual-crest{
    display:grid;
    place-items:center;
    width:54px;
    height:54px;
}

.sq-basic-visual-crest .sq-row-crest{
    display:grid;
    place-items:center;
    width:52px;
    height:52px;
    max-width:52px;
    max-height:52px;
}

.sq-basic-visual-crest img{
    display:block;
    width:auto;
    height:auto;
    max-width:48px;
    max-height:48px;
    object-fit:contain;
}

.sq-basic-visual-crest svg{
    width:34px;
    height:34px;
    max-width:40px;
    max-height:40px;
    color:#0C2354;
}

.sq-basic-team-name{
    display:block;
    max-width:100%;
    color:#0C2354;
    font-size:13px;
    line-height:1.4;
    font-weight:700;
    overflow-wrap:break-word;
}

.sq-basic-versus{
    color:#8993a5;
    text-align:center;
    font-size:11px;
    font-weight:700;
}

.sq-basic-main{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    padding:18px;
    background:#f4f6fa;
    border:1px solid #e2e8f1;
    border-radius:11px;
}

.sq-basic-market{
    min-width:0;
    flex:1;
}

.sq-basic-tag{
    display:flex;
    align-items:center;
    gap:7px;
    color:#53647c;
    font-size:10px;
    font-weight:700;
    letter-spacing:.04em;
}

.sq-basic-tag svg{
    flex:none;
    width:16px;
    height:16px;
    color:#0C2354;
}

.sq-basic-market h3{
    margin:9px 0 0;
    color:#0C2354;
    font-size:18px;
    line-height:1.4;
    font-weight:700;
}

.sq-basic-prob{
    min-width:122px;
    text-align:right;
}

.sq-basic-prob strong{
    display:block;
    color:#0C2354;
    font-size:27px;
    line-height:1.1;
    font-weight:700;
}

.sq-basic-prob span{
    display:block;
    margin-top:5px;
    color:#667085;
    font-size:10px;
}

.sq-basic-prob .sq-basic-level{
    display:inline-block;
    width:auto;
    margin-top:7px;
    padding:4px 7px;
    border-radius:5px;
    background:#e5eaf2;
    color:#526179;
    font-size:10px;
    font-weight:600;
}

.sq-basic-section{
    margin-top:17px;
    padding-top:15px;
    border-top:1px solid #e9edf3;
}

.sq-basic-section-heading{
    display:flex;
    align-items:center;
    gap:8px;
    margin:0 0 12px;
    color:#0C2354;
    font-size:13px;
    font-weight:700;
}

.sq-basic-section-heading svg{
    flex:none;
    color:#0C2354;
}

.sq-basic-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
}

.sq-basic-stat{
    min-width:0;
    padding:12px 14px;
    border:1px solid #e5eaf1;
    border-radius:9px;
    background:#fff;
}

.sq-basic-stat-top{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:8px;
}

.sq-basic-stat strong{
    color:#0C2354;
    font-size:21px;
    line-height:1.2;
}

.sq-basic-stat-top svg{
    flex:none;
    width:18px;
    height:18px;
    color:#73849c;
}

.sq-basic-stat span{
    display:block;
    margin-top:5px;
    color:#667085;
    font-size:11px;
}

.sq-basic-risks{
    margin:0;
    padding-left:18px;
    color:#344054;
    font-size:12px;
    line-height:1.6;
}

.sq-basic-risks li+li{
    margin-top:6px;
}

.sq-basic-actions{
    display:flex;
    justify-content:flex-end;
    margin-top:19px;
    padding-top:15px;
    border-top:1px solid #e9edf3;
}

.sq-basic-premium{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    min-height:39px;
    padding:10px 15px;
    border:1px solid #B99A58;
    border-radius:8px;
    background:#B99A58;
    color:#0C2354;
    font:700 12px Roboto,Arial,sans-serif;
    cursor:pointer;
}

.sq-basic-premium:hover,
.sq-basic-premium:focus-visible{
    background:#cbb078;
}

.sq-basic-trigger,
.sq-premium-row-trigger{
    cursor:pointer;
    border-radius:8px;
    font:700 11px Roboto,Arial,sans-serif;
}

.sq-basic-trigger{
    background:#fff;
    color:#0C2354;
    border:1px solid #B99A58;
}

.sq-premium-row-trigger{
    background:#B99A58;
    color:#0C2354;
    border:1px solid #B99A58;
}

.sq-basic-action-pair{
    display:flex;
    flex-flow:row nowrap;
    align-items:center;
    justify-content:flex-end;
    gap:7px;
    min-width:0;
    max-width:100%;
}

.sq-basic-muted,
.sq-basic-error{
    font-size:12px;
    line-height:1.5;
    color:#667085;
}

.sq-basic-error{
    color:#b42318;
}

@media(max-width:570px){

    .sq-basic-body{
        padding:15px;
    }

    .sq-basic-head{
        padding:14px 15px;
    }

    .sq-basic-match{
        grid-template-columns:minmax(0,1fr) 26px minmax(0,1fr);
        gap:5px;
    }

    .sq-basic-team-name{
        font-size:11px;
    }

    .sq-basic-visual-crest{
        width:44px;
        height:44px;
    }

    .sq-basic-visual-crest .sq-row-crest{
        width:43px;
        height:43px;
    }

    .sq-basic-visual-crest img{
        max-width:42px;
        max-height:42px;
    }

    .sq-basic-main{
        flex-wrap:wrap;
        gap:13px;
        padding:15px;
    }

    .sq-basic-market h3{
        font-size:16px;
    }

    .sq-basic-prob{
        width:100%;
        min-width:0;
        text-align:left;
    }

    .sq-basic-grid{
        gap:7px;
    }
}

/* SPORTIQ_R074_PREDICTIONS_ROW_LAYOUT_V4
   Rebalanceo de columnas de Predicciones.
   No altera Home, LIVE ni Resultados. */

body:has(.sq-basic-action-pair) :is(
    .sq-rows-heading,
    .sq-rows-head,
    .sq-row-heading,
    .sq-table-head,
    .sq-head-row,
    .sq-match-row
){
    box-sizing:border-box;
    width:100%;
    max-width:100%;
    grid-template-columns:
        80px
        minmax(0,1.8fr)
        minmax(0,1.02fr)
        72px
        minmax(248px,0.93fr) !important;
    column-gap:12px !important;
}

body:has(.sq-basic-action-pair)
.sq-match-row > *{
    min-width:0;
    max-width:100%;
}

body:has(.sq-basic-action-pair)
.sq-match-row > :nth-child(2){
    overflow:hidden;
}

body:has(.sq-basic-action-pair)
.sq-row-action{
    display:flex !important;
    align-items:center !important;
    justify-content:flex-end !important;
    min-width:0 !important;
    width:100% !important;
    max-width:100% !important;
    overflow:visible !important;
}

body:has(.sq-basic-action-pair)
.sq-row-action .sq-basic-action-pair{
    display:flex !important;
    flex-flow:row nowrap !important;
    align-items:center !important;
    justify-content:stretch !important;
    gap:7px !important;
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    margin:0 !important;
}

body:has(.sq-basic-action-pair)
.sq-row-action .sq-basic-trigger,
body:has(.sq-basic-action-pair)
.sq-row-action .sq-premium-row-trigger{
    flex:1 1 0 !important;
    display:inline-flex !important;
    justify-content:center !important;
    align-items:center !important;
    width:0 !important;
    max-width:none !important;
    min-width:0 !important;
    margin:0 !important;
    padding:9px 7px !important;
    white-space:nowrap !important;
    font:700 11px/1.15 Roboto,Arial,sans-serif !important;
    border-radius:8px !important;
}

@media(max-width:1200px){

    body:has(.sq-basic-action-pair) :is(
        .sq-rows-heading,
        .sq-rows-head,
        .sq-row-heading,
        .sq-table-head,
        .sq-head-row,
        .sq-match-row
    ){
        grid-template-columns:
            70px
            minmax(0,1.3fr)
            minmax(0,.82fr)
            64px
            minmax(220px,.94fr) !important;
        column-gap:9px !important;
    }

    body:has(.sq-basic-action-pair)
    .sq-row-action .sq-basic-trigger,
    body:has(.sq-basic-action-pair)
    .sq-row-action .sq-premium-row-trigger{
        padding:8px 5px !important;
        font-size:10px !important;
    }
}

@media(max-width:930px){

    body:has(.sq-basic-action-pair) :is(
        .sq-rows-heading,
        .sq-rows-head,
        .sq-row-heading,
        .sq-table-head,
        .sq-head-row
    ){
        display:none !important;
    }

    body:has(.sq-basic-action-pair)
    .sq-match-row{
        grid-template-columns:minmax(0,1fr) !important;
        row-gap:9px !important;
    }

    body:has(.sq-basic-action-pair)
    .sq-match-row > :nth-child(2){
        overflow:visible;
    }

    body:has(.sq-basic-action-pair)
    .sq-row-action{
        justify-content:flex-start !important;
    }

    body:has(.sq-basic-action-pair)
    .sq-row-action .sq-basic-action-pair{
        width:auto !important;
        max-width:100% !important;
    }

    body:has(.sq-basic-action-pair)
    .sq-row-action .sq-basic-trigger,
    body:has(.sq-basic-action-pair)
    .sq-row-action .sq-premium-row-trigger{
        width:auto !important;
        flex:0 1 auto !important;
        padding:8px 12px !important;
    }
}
