﻿/* ====== LIVE TV / iOS LOOK ====== */
.live-teams-wrap {
    padding: 1px;
    max-width: 1100px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #62571b;
}

.live-teams-header {
    display: flex;
    gap: 14px;
    align-items: center;
    justify-content: space-between;
    padding: 14px 14px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(255,255,255,.80));
    border: 1px solid rgba(0,0,0,.06);
    box-shadow: 0 12px 30px rgba(0,0,0,.10);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 10px;
    z-index: 50;
}

.live-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    letter-spacing: .08em;
    font-size: 12px;
    padding: 10px 12px;
    border-radius: 999px;
    background: rgba(0,0,0,.08);
    border: 1px solid rgba(0,0,0,.08);
    text-transform: uppercase;
}

    .live-badge .dot, .mini-live .dot {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: #ff2d55;
        box-shadow: 0 0 0 6px rgba(255,45,85,.18);
        animation: pulse 1.2s infinite ease-in-out;
        display: inline-block;
    }

@keyframes pulse {
    0% {
        transform: scale(.9);
        box-shadow: 0 0 0 0 rgba(255,45,85,.25);
    }

    70% {
        transform: scale(1.1);
        box-shadow: 0 0 0 12px rgba(255,45,85,0);
    }

    100% {
        transform: scale(.9);
        box-shadow: 0 0 0 0 rgba(255,45,85,0);
    }
}

.brand-logo {
    width: 34px;
    height: 34px;
    border-radius: 10px;
}

.live-title {
    flex: 1;
    min-width: 220px;
}

.live-title-top {
    display: flex;
    align-items: center;
    gap: 10px;
}

.live-title h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 900;
}

.live-subtitle {
    margin-top: 4px;
    font-size: 12px;
    font-weight: 700;
    color: rgba(11,18,32,.70);
    text-transform: uppercase;
    letter-spacing: .04em;
}

.live-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pill-btn {
    border: 0;
    border-radius: 999px;
    padding: 10px 12px;
    font-weight: 800;
    font-size: 12px;
    background: linear-gradient(180deg, rgba(0,122,255,1), rgba(0,122,255,.85));
    color: #fff;
    box-shadow: 0 10px 18px rgba(0,122,255,.25);
    cursor: pointer;
}

    .pill-btn:active {
        transform: translateY(1px);
    }

.last-update {
    text-align: right;
}

    .last-update .label {
        display: block;
        font-size: 10px;
        font-weight: 800;
        letter-spacing: .06em;
        color: rgba(11,18,32,.55);
        text-transform: uppercase;
    }

    .last-update .value {
        display: block;
        font-weight: 900;
        font-size: 13px;
    }

/* TOP TEAM banner */
.live-topteam {
    margin-top: 12px;
    border-radius: 18px;
    padding: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: radial-gradient(1200px 240px at 10% 30%, rgba(255,215,0,.35), transparent 55%), linear-gradient(180deg, rgba(15,20,32,.96), rgba(15,20,32,.86));
    color: #fff;
    box-shadow: 0 14px 40px rgba(0,0,0,.22);
    border: 1px solid rgba(255,255,255,.10);
}

    .live-topteam .rank {
        width: 54px;
        height: 54px;
        border-radius: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 1000;
        font-size: 18px;
        background: rgba(255,255,255,.12);
        border: 1px solid rgba(255,255,255,.14);
    }

    .live-topteam .info {
        flex: 1;
    }

    .live-topteam .name {
        font-weight: 1000;
        font-size: 18px;
    }

.chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.14);
    font-size: 11px;
    font-weight: 900;
    margin-right: 6px;
}

.live-topteam .score {
    font-size: 28px;
    font-weight: 1000;
    padding: 8px 12px;
    border-radius: 16px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.14);
    min-width: 90px;
    text-align: center;
}

/* GRID */
.teams-grid {
    margin-top: 12px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

@media (max-width: 820px) {
    .teams-grid {
        grid-template-columns: 1fr;
    }

    .live-actions {
        display: none;
    }
    /* su mobile più pulito */
}

/* CARD */
.team-card {
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(255,255,255,.94), rgba(255,255,255,.84));
    border: 1px solid rgba(0,0,0,.06);
    box-shadow: 0 12px 32px rgba(0,0,0,.10);
}

.team-card-head {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 4px;
    background: radial-gradient(900px 200px at 10% 20%, rgba(0,122,255,.18), transparent 55%), linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.78));
    border-bottom: 1px solid rgba(0,0,0,.06);
}

.team-rank {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 1000;
    background: rgba(0,0,0,.06);
    border: 1px solid rgba(0,0,0,.06);
}

.team-name-wrap {
    flex: 1;
    min-width: 0;
}

.team-name {
    font-weight: 1000;
    font-size: 15px;
    letter-spacing: .02em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.team-meta {
    margin-top: 6px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.team-chip {
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 900;
    background: rgba(0,0,0,.06);
    border: 1px solid rgba(0,0,0,.06);
    text-transform: uppercase;
    letter-spacing: .04em;
}

    .team-chip.is-live {
        background: rgba(255,45,85,.12);
        border: 1px solid rgba(255,45,85,.18);
        color: #b1002a;
    }

.team-score-wrap {
    text-align: right;
    min-width: 92px;
}

.team-score {
    font-size: 25px;
    font-weight: 1000;
    line-height: 1;
    padding: 9px 20px;
    border-radius: 16px;
    background: rgba(0,0,0,.06);
    border: 1px solid rgba(0,0,0,.06);
    color: #20af3d;
}

.team-score-label {
    margin-top: 6px;
    font-size: 11px;
    font-weight: 900;
    color: #4a75a0;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.team-card-body {
    padding: 4px;
}

.team-players-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 1000;
    font-size: 12px;
    color: rgba(11,18,32,.70);
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 10px;
}

    .team-players-head .hint {
        font-weight: 900;
        color: rgba(11,18,32,.45);
    }

.team-players {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.player-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 10px;
    border-radius: 14px;
    background: rgba(255,255,255,.75);
    border: 1px solid rgba(0,0,0,.06);
}

.p-left {
    display: flex;
    align-items: center;
    gap: 2px;
    min-width: 0;
}

.p-pos {
    width: 26px;
    height: 26px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 1000;
    background: rgba(0,0,0,.06);
    border: 1px solid rgba(0,0,0,.06);
    flex: 0 0 auto;
}

.p-name {
    font-weight: 900;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.p-score {
    font-weight: 1000;
    padding: 6px 10px;
    border-radius: 12px;
    background: rgba(0,122,255,.10);
    border: 1px solid rgba(0,122,255,.16);
    min-width: 56px;
    text-align: center;
}

.team-card-foot {
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.mini-live {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 900;
    color: rgba(11,18,32,.65);
}

.ghost-btn {
    border: 1px solid rgba(0,0,0,.10);
    background: rgba(255,255,255,.70);
    font-weight: 900;
    border-radius: 999px;
    padding: 10px 12px;
    cursor: pointer;
}

    .ghost-btn:active {
        transform: translateY(1px);
    }



.categoria-SQUADRE {
    display: flex;
    /* width:50% !important; */
    /* gap: 8px; */
    padding: 5px 5px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgb(9 56 21 / 40%);
    /* font-weight: 900; */
    font-size: 14px;
    color: var(--text);
    cursor: pointer;
    transition: transform .08s ease, box-shadow .2s ease, background .2s ease;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    border: 1px solid #99a19a;
    box-shadow: rgb(0 0 0 / 47%) 0px 2px 6px;
}

.categoria-giocatore.SENIOR.PLUS {
    color: #ffffff;
    font-size: 11px;
    background: #808080;
    width: 57px;
    padding: 5px 5px;
    border-radius: 9px;
    border: 1px solid #ffffff29;
}

.categoria-giocatore.MEN {
    color: #ffffff;
    font-size: 12px;
    background: #474700;
    width: 50px;
    padding: 5px 5px;
    border-radius: 9px;
    border: 1px solid #ffffff29;
    text-align: center;
}

.categoria-giocatore.SENIOR {
    color: #ffffff;
    font-size: 12px;
    background: #454545;
    width: 50px;
    padding: 5px 5px;
    border-radius: 9px;
    border: 1px solid #ffffff29;
    text-align: center;
}

.categoria-giocatore.JUNIOR {
    color: #ffffff;
    font-size: 12px;
    background: #0a9631;
    width: 50px;
    padding: 5px 5px;
    border-radius: 9px;
    border: 1px solid #ffffff29;
    text-align: center;
}

.categoria-giocatore.WOMEN {
    color: #ffffff;
    font-size: 12px;
    background: #db37a5;
    width: 50px;
    padding: 5px 5px;
    border-radius: 9px;
    border: 1px solid #ffffff29;
    text-align: center;
}

    .categoria-giocatore.WOMEN.SENIOR {
        color: #ffffff;
        font-size: 12px;
        background: #db37a5;
        width: 50px;
        padding: 5px 5px;
        border-radius: 9px;
        border: 1px solid #ffffff29;
        text-align: center;
    }
. /* ====== LIVE TV / iOS LOOK ====== */
.live-teams-wrap {
    padding: 1px;
    max-width: 1100px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #62571b;
}

.live-teams-header {
    display: flex;
    gap: 14px;
    align-items: center;
    justify-content: space-between;
    padding: 14px 14px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(255,255,255,.80));
    border: 1px solid rgba(0,0,0,.06);
    box-shadow: 0 12px 30px rgba(0,0,0,.10);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 10px;
    z-index: 50;
}

.live-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    letter-spacing: .08em;
    font-size: 12px;
    padding: 10px 12px;
    border-radius: 999px;
    background: rgba(0,0,0,.08);
    border: 1px solid rgba(0,0,0,.08);
    text-transform: uppercase;
}

    .live-badge .dot, .mini-live .dot {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: #ff2d55;
        box-shadow: 0 0 0 6px rgba(255,45,85,.18);
        animation: pulse 1.2s infinite ease-in-out;
        display: inline-block;
    }

@keyframes pulse {
    0% {
        transform: scale(.9);
        box-shadow: 0 0 0 0 rgba(255,45,85,.25);
    }

    70% {
        transform: scale(1.1);
        box-shadow: 0 0 0 12px rgba(255,45,85,0);
    }

    100% {
        transform: scale(.9);
        box-shadow: 0 0 0 0 rgba(255,45,85,0);
    }
}

.brand-logo {
    width: 34px;
    height: 34px;
    border-radius: 10px;
}

.live-title {
    flex: 1;
    min-width: 220px;
}

.live-title-top {
    display: flex;
    align-items: center;
    gap: 10px;
}

.live-title h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 900;
}

.live-subtitle {
    margin-top: 4px;
    font-size: 12px;
    font-weight: 700;
    color: rgba(11,18,32,.70);
    text-transform: uppercase;
    letter-spacing: .04em;
}

.live-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pill-btn {
    border: 0;
    border-radius: 999px;
    padding: 10px 12px;
    font-weight: 800;
    font-size: 12px;
    background: linear-gradient(180deg, rgba(0,122,255,1), rgba(0,122,255,.85));
    color: #fff;
    box-shadow: 0 10px 18px rgba(0,122,255,.25);
    cursor: pointer;
}

    .pill-btn:active {
        transform: translateY(1px);
    }

.last-update {
    text-align: right;
}

    .last-update .label {
        display: block;
        font-size: 10px;
        font-weight: 800;
        letter-spacing: .06em;
        color: rgba(11,18,32,.55);
        text-transform: uppercase;
    }

    .last-update .value {
        display: block;
        font-weight: 900;
        font-size: 13px;
    }

/* TOP TEAM banner */
.live-topteam {
    margin-top: 12px;
    border-radius: 18px;
    padding: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: radial-gradient(1200px 240px at 10% 30%, rgba(255,215,0,.35), transparent 55%), linear-gradient(180deg, rgba(15,20,32,.96), rgba(15,20,32,.86));
    color: #fff;
    box-shadow: 0 14px 40px rgba(0,0,0,.22);
    border: 1px solid rgba(255,255,255,.10);
}

    .live-topteam .rank {
        width: 54px;
        height: 54px;
        border-radius: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 1000;
        font-size: 18px;
        background: rgba(255,255,255,.12);
        border: 1px solid rgba(255,255,255,.14);
    }

    .live-topteam .info {
        flex: 1;
    }

    .live-topteam .name {
        font-weight: 1000;
        font-size: 18px;
    }

.chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.14);
    font-size: 11px;
    font-weight: 900;
    margin-right: 6px;
}

.live-topteam .score {
    font-size: 28px;
    font-weight: 1000;
    padding: 8px 12px;
    border-radius: 16px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.14);
    min-width: 90px;
    text-align: center;
}

/* GRID */
.teams-grid {
    margin-top: 12px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

@media (max-width: 820px) {
    .teams-grid {
        grid-template-columns: 1fr;
    }

    .live-actions {
        display: none;
    }
    /* su mobile più pulito */
}

/* CARD */
.team-card {
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(255,255,255,.94), rgba(255,255,255,.84));
    border: 1px solid rgba(0,0,0,.06);
    box-shadow: 0 12px 32px rgba(0,0,0,.10);
}

.team-card-head {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 4px;
    background: radial-gradient(900px 200px at 10% 20%, rgba(0,122,255,.18), transparent 55%), linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.78));
    border-bottom: 1px solid rgba(0,0,0,.06);
}

.team-rank {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 1000;
    background: rgba(0,0,0,.06);
    border: 1px solid rgba(0,0,0,.06);
}

.team-name-wrap {
    flex: 1;
    min-width: 0;
}

.team-name {
    font-weight: 1000;
    font-size: 15px;
    letter-spacing: .02em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.team-meta {
    margin-top: 6px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.team-chip {
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 900;
    background: rgba(0,0,0,.06);
    border: 1px solid rgba(0,0,0,.06);
    text-transform: uppercase;
    letter-spacing: .04em;
}

    .team-chip.is-live {
        background: rgba(255,45,85,.12);
        border: 1px solid rgba(255,45,85,.18);
        color: #b1002a;
    }

.team-score-wrap {
    text-align: right;
    min-width: 92px;
}

.team-score {
    font-size: 25px;
    font-weight: 1000;
    line-height: 1;
    padding: 9px 20px;
    border-radius: 16px;
    background: rgba(0,0,0,.06);
    border: 1px solid rgba(0,0,0,.06);
    color: #20af3d;
}

.team-score-label {
    margin-top: 6px;
    font-size: 11px;
    font-weight: 900;
    color: #4a75a0;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.team-card-body {
    padding: 4px;
}

.team-players-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 1000;
    font-size: 12px;
    color: rgba(11,18,32,.70);
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 10px;
}

    .team-players-head .hint {
        font-weight: 900;
        color: rgba(11,18,32,.45);
    }

.team-players {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.player-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 10px;
    border-radius: 14px;
    background: rgba(255,255,255,.75);
    border: 1px solid rgba(0,0,0,.06);
}

.p-left {
    display: flex;
    align-items: center;
    gap: 2px;
    min-width: 0;
}

.p-pos {
    width: 26px;
    height: 26px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 1000;
    background: rgba(0,0,0,.06);
    border: 1px solid rgba(0,0,0,.06);
    flex: 0 0 auto;
}

.p-name {
    font-weight: 900;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.p-score {
    font-weight: 1000;
    padding: 6px 10px;
    border-radius: 12px;
    background: rgba(0,122,255,.10);
    border: 1px solid rgba(0,122,255,.16);
    min-width: 56px;
    text-align: center;
}

.team-card-foot {
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.mini-live {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 900;
    color: rgba(11,18,32,.65);
}

.ghost-btn {
    border: 1px solid rgba(0,0,0,.10);
    background: rgba(255,255,255,.70);
    font-weight: 900;
    border-radius: 999px;
    padding: 10px 12px;
    cursor: pointer;
}

    .ghost-btn:active {
        transform: translateY(1px);
    }



.categoria-SQUADRE {
    display: flex;
    /* width:50% !important; */
    /* gap: 8px; */
    padding: 5px 5px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgb(9 56 21 / 40%);
    /* font-weight: 900; */
    font-size: 14px;
    color: var(--text);
    cursor: pointer;
    transition: transform .08s ease, box-shadow .2s ease, background .2s ease;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    border: 1px solid #99a19a;
    box-shadow: rgb(0 0 0 / 47%) 0px 2px 6px;
}

.categoria-giocatore.SENIOR.PLUS {
    color: #ffffff;
    font-size: 11px;
    background: #808080;
    width: 57px;
    padding: 5px 5px;
    border-radius: 9px;
    border: 1px solid #ffffff29;
}

.categoria-giocatore.MEN {
    color: #ffffff;
    font-size: 12px;
    background: #474700;
    width: 50px;
    padding: 5px 5px;
    border-radius: 9px;
    border: 1px solid #ffffff29;
    text-align: center;
}

.categoria-giocatore.SENIOR {
    color: #ffffff;
    font-size: 12px;
    background: #454545;
    width: 50px;
    padding: 5px 5px;
    border-radius: 9px;
    border: 1px solid #ffffff29;
    text-align: center;
}

.categoria-giocatore.JUNIOR {
    color: #ffffff;
    font-size: 12px;
    background: #0a9631;
    width: 50px;
    padding: 5px 5px;
    border-radius: 9px;
    border: 1px solid #ffffff29;
    text-align: center;
}

.categoria-giocatore.WOMEN {
    color: #ffffff;
    font-size: 12px;
    background: #db37a5;
    width: 50px;
    padding: 5px 5px;
    border-radius: 9px;
    border: 1px solid #ffffff29;
    text-align: center;
}

    .categoria-giocatore.WOMEN.SENIOR {
        color: #ffffff;
        font-size: 12px;
        background: #db37a5;
        width: 50px;
        padding: 5px 5px;
        border-radius: 9px;
        border: 1px solid #ffffff29;
        text-align: center;
    }


.team-player {
    position: absolute;
    width: 9px;
    font-size: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: rgb(66 66 66 / 0%);
    height: auto;
    /* width: auto; */
    color: #ffffff !important;
}

.tamp-player {
    position: absolute;
    width: 9px;
    font-size: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: rgb(66 66 66 / 0%);
    height: auto;
    /* width: auto; */
}
