/* Futgal public league / standings â€” visual language aligned with prueba-futgal */
.fg-shell {
    width: min(1240px, calc(100% - 32px));
    margin: 28px auto 64px;
    min-width: 0;
    max-width: 100%;
    /* Compact standings when THIS box is narrow (player shell / split view), not only viewport */
    container-type: inline-size;
    container-name: fg-standings;
}

.fg-hero {
    position: relative;
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 28px 32px;
    color: #fff;
    background: linear-gradient(125deg, var(--hero-start, #181850), var(--primary, #333399) 68%, #4949ac);
    border-radius: 22px 22px 0 0;
    overflow: hidden;
    box-shadow: 0 18px 50px rgba(31, 31, 91, .18);
}

.fg-hero::after {
    content: "";
    position: absolute;
    width: 310px;
    height: 310px;
    border: 55px solid rgba(255, 204, 0, .08);
    border-radius: 50%;
    right: -80px;
    top: -135px;
    pointer-events: none;
}

.fg-crest {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 76px;
    height: 76px;
    flex: 0 0 auto;
    background: #fff;
    border-radius: 16px;
    padding: 7px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
}

.fg-crest img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.fg-eyebrow {
    margin: 0 0 4px;
    color: var(--accent, #ffcc00);
    font-size: 12px;
    font-weight: 850;
    letter-spacing: .17em;
    text-transform: uppercase;
}

.fg-hero h1 {
    margin: 0;
    font-size: clamp(1.7rem, 4vw, 2.6rem);
    line-height: 1;
    letter-spacing: -.03em;
    color: #fff;
}

.fg-competition {
    margin: 9px 0 0;
    color: #dadaef;
    font-size: 14px;
}

.fg-live {
    position: relative;
    z-index: 1;
    margin-left: auto;
    align-self: flex-start;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 11px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 999px;
    background: rgba(255, 255, 255, .1);
    font-size: 11px;
    font-weight: 750;
    white-space: nowrap;
}

.fg-live i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #4ce18a;
    box-shadow: 0 0 0 4px rgba(76, 225, 138, .15);
}

.fg-card {
    background: var(--surface, #fff);
    border-radius: 0 0 22px 22px;
    box-shadow: 0 18px 50px rgba(31, 31, 91, .1);
    overflow: hidden;
}

.fg-card-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 12px;
    padding: 22px 28px 17px;
    border-bottom: 1px solid var(--line, #e9eaf2);
    flex-wrap: wrap;
}

.fg-card-heading span,
.fg-card-heading small {
    color: var(--muted, #74758a);
    font-size: 12px;
}

.fg-card-heading strong {
    display: block;
    margin-top: 4px;
    font-size: 1.2rem;
    color: var(--text, #17182b);
}

/* Leyenda iconos (Últimos resultados): ancho completo, chips en fila con wrap */
.fg-card-heading--with-legend {
    align-items: stretch;
}
.fg-card-heading--with-legend .mvp-legend {
    flex: 1 1 100%;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.fg-update {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.fg-update a {
    padding: 7px 10px;
    border-radius: 8px;
    background: #eeeef8;
    color: var(--primary, #333399);
    font-size: 11px;
    font-weight: 800;
    text-decoration: none;
}

.fg-update a:hover {
    background: var(--primary, #333399);
    color: #fff;
}

.fg-next {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 16px;
    align-items: center;
    margin: 18px 28px 0;
    padding: 16px 18px;
    border: 2px solid var(--primary, #333399);
    border-radius: 15px;
    background: linear-gradient(90deg, rgba(51, 51, 153, .08), rgba(255, 204, 0, .1));
}

.fg-next__shields {
    display: flex;
    align-items: center;
    gap: 10px;
}

.fg-next__shields img {
    width: 40px !important;
    height: 40px !important;
    max-width: 40px !important;
    max-height: 40px !important;
    object-fit: contain;
    background: #fff;
    border-radius: 10px;
    padding: 4px;
    box-shadow: 0 4px 12px rgba(31, 31, 91, .1);
}

.fg-next__vs {
    flex: 0 0 auto;
    width: auto;
    font-weight: 800;
    color: var(--muted, #74758a);
    font-size: 12px;
    background: transparent;
    box-shadow: none;
    padding: 0;
}

.fg-next h2 {
    margin: 0 0 6px;
    font-size: 1.15rem;
}

.fg-next__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    color: var(--muted, #74758a);
    font-size: .9rem;
}

.fg-round-toolbar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    padding: 18px 24px;
    background: #fafafd;
    border-bottom: 1px solid var(--line, #e9eaf2);
}

.fg-round-toolbar label {
    color: var(--muted, #74758a);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .07em;
}

.fg-round-toolbar select {
    min-width: 230px;
    padding: 11px 38px 11px 14px;
    border: 1px solid #dcddea;
    border-radius: 10px;
    background: #fff;
    color: var(--text, #17182b);
    font: inherit;
    font-weight: 750;
    cursor: pointer;
}

.fg-round-arrow {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--primary, #333399);
    color: #fff;
    font-size: 29px;
    line-height: 1;
    text-decoration: none;
}

.fg-round-arrow:hover {
    background: var(--primary-strong, #181850);
    color: #fff;
}

.fg-round-arrow.is-disabled {
    opacity: .2;
    pointer-events: none;
}

.fg-matches {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    padding: 18px 28px 30px;
}

.fg-match {
    overflow: hidden;
    border: 1px solid var(--line, #e9eaf2);
    border-radius: 15px;
    background: #fff;
}

.fg-match.is-ours {
    border: 2px solid var(--primary, #333399);
    box-shadow: 0 10px 28px rgba(51, 51, 153, .12);
}

.fg-match--link {
    position: relative;
}

.fg-match__link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.fg-match__link:hover,
.fg-match__link:focus-visible {
    outline: none;
}

.fg-match--link:hover,
.fg-match--link:focus-within {
    box-shadow: 0 12px 30px rgba(51, 51, 153, .18);
}

.fg-match__meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    background: #f7f7fb;
    color: var(--muted, #74758a);
    font-size: 11px;
}

.fg-match__meta em {
    color: var(--primary, #333399);
    font-size: 10px;
    font-style: normal;
    font-weight: 850;
    text-transform: uppercase;
}

.fg-team {
    display: grid;
    grid-template-columns: 42px 1fr 42px;
    align-items: center;
    gap: 11px;
    min-height: 61px;
    padding: 7px 15px;
}

.fg-team + .fg-team {
    border-top: 1px solid #f0f0f5;
}

.fg-team img,
.fg-team__placeholder {
    width: 36px !important;
    height: 36px !important;
    max-width: 36px !important;
    max-height: 36px !important;
    object-fit: contain;
}

.fg-team__placeholder {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(160deg, var(--primary, #333399), var(--primary-strong, #181850));
    color: #fff;
    font-weight: 900;
    font-size: 10px;
    letter-spacing: .02em;
    line-height: 1;
    text-align: center;
    padding: 2px;
    box-shadow: 0 4px 12px rgba(31, 31, 91, .12);
}

.fg-team__placeholder--lg {
    width: 100%;
    height: 100%;
    font-size: 14px;
    border-radius: 12px;
}

.fg-next__shields span:not(.fg-next__vs) {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    object-fit: contain;
    background: linear-gradient(160deg, var(--primary, #333399), var(--primary-strong, #181850));
    color: #fff;
    border-radius: 10px;
    padding: 4px;
    box-shadow: 0 4px 12px rgba(31, 31, 91, .1);
    font-weight: 900;
    font-size: 11px;
}

.fg-table .fg-club .fg-team__placeholder {
    width: 33px;
    height: 33px;
    font-size: 9px;
    vertical-align: middle;
    margin-right: 11px;
    display: inline-grid;
}

.fg-team strong {
    font-size: 13px;
    color: var(--text, #17182b);
}

.fg-team b {
    color: var(--primary-strong, #181850);
    font-size: 24px;
    text-align: center;
    font-variant-numeric: tabular-nums;
}

.fg-team.is-ours {
    background: rgba(255, 204, 0, .12);
}

.fg-team.is-ours strong {
    color: var(--primary, #333399);
}

.fg-venue {
    padding: 9px 14px;
    border-top: 1px solid var(--line, #e9eaf2);
    color: var(--muted, #74758a);
    font-size: 10px;
    text-align: center;
}

.fg-empty {
    margin: 10px 28px 30px;
    padding: 50px 20px;
    border: 1px dashed #d7d8e4;
    border-radius: 14px;
    color: var(--muted, #74758a);
    text-align: center;
}

.fg-rest-banner {
    margin: 8px 28px 18px;
    padding: 18px 20px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(51, 51, 153, .08), rgba(255, 204, 0, .12));
    border: 1px solid rgba(51, 51, 153, .12);
}

.fg-rest-banner__title {
    margin: 0 0 4px;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--primary, #333399);
}

.fg-rest-banner__text {
    margin: 0;
    color: var(--muted, #74758a);
    font-size: .92rem;
}

.fg-rest-banner__next {
    display: inline-block;
    margin-top: 10px;
    font-weight: 700;
    font-size: .9rem;
    color: var(--primary, #333399);
    text-decoration: none;
}

.fg-rest-banner__next:hover {
    text-decoration: underline;
}

.fg-match--rest {
    display: grid;
    grid-template-rows: auto auto;
    align-items: stretch;
}

.fg-match--rest .fg-team--rest {
    padding: 16px 14px;
    gap: 12px;
}

.fg-match--rest .fg-team--rest b {
    display: none;
}

.fg-rest-label {
    padding: 10px 14px 14px;
    text-align: center;
    font-weight: 800;
    font-size: .78rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted, #74758a);
    border-top: 1px solid var(--line, #e9eaf2);
    background: #fafafd;
}

.fg-match--rest.is-ours .fg-rest-label {
    color: var(--primary, #333399);
    background: rgba(255, 204, 0, .1);
}

.fg-footer {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 17px 28px;
    background: #fafafd;
    color: var(--muted, #74758a);
    font-size: 11px;
    flex-wrap: wrap;
}

.fg-footer span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.fg-footer i {
    width: 8px;
    height: 8px;
    border-radius: 2px;
    display: inline-block;
}

.fg-footer .fg-zone-champ { background: #8e680f; }
.fg-footer .fg-zone-promo { background: #5fcb5b; }
.fg-footer .fg-zone-rele { background: #0532fa; }

.fg-footer small {
    margin-left: auto;
}

.fg-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0 28px 24px;
}

.fg-table-wrap {
    overflow-x: auto;
    max-width: 100%;
    -webkit-overflow-scrolling: touch;
}

.fg-table {
    width: 100%;
    max-width: none; /* wide/landscape: natural columns; wrap scrolls if needed */
    min-width: 0; /* kill layouts.app `table { min-width: 640px }` in player shell */
    border-collapse: collapse;
    font-size: 13px;
    table-layout: auto;
}

.fg-table th {
    height: 44px;
    padding: 0 10px;
    background: #fafafd;
    color: #85869a;
    font-size: 10px;
    letter-spacing: .07em;
    text-transform: uppercase;
    text-align: center;
    border-bottom: 1px solid var(--line, #e9eaf2);
}

.fg-table td {
    height: 57px;
    padding: 6px 10px;
    text-align: center;
    border-bottom: 1px solid var(--line, #e9eaf2);
    white-space: nowrap;
    color: var(--text, #17182b);
}

.fg-table tbody tr:hover {
    background: #f8f8fc;
}

.fg-table .fg-club {
    text-align: left;
    min-width: 240px;
}

.fg-table .fg-club img,
.fg-table .fg-club .fg-team__placeholder {
    width: 32px !important;
    height: 32px !important;
    max-width: 32px !important;
    max-height: 32px !important;
    object-fit: contain;
    vertical-align: middle;
    margin-right: 11px;
    display: inline-grid;
}

.fg-table .fg-club-cell {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    max-width: 100%;
    vertical-align: middle;
}

.fg-table .fg-club-cell img,
.fg-table .fg-club-cell .fg-team__placeholder {
    width: 32px !important;
    height: 32px !important;
    max-width: 32px !important;
    max-height: 32px !important;
    margin: 0;
    flex: 0 0 auto;
}

.fg-table .fg-club-meta {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    min-width: 0;
    max-width: 100%;
}

.fg-table .fg-club-name {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    max-width: 100%;
}

.fg-club-compact,
.fg-mobile-legend {
    display: none;
}

.fg-team img,
.fg-team__placeholder {
    width: 36px !important;
    height: 36px !important;
    max-width: 36px !important;
    max-height: 36px !important;
    object-fit: contain;
}

.fg-next__shields img {
    width: 40px !important;
    height: 40px !important;
    max-width: 40px !important;
    max-height: 40px !important;
    object-fit: contain;
    background: #fff;
    border-radius: 10px;
    padding: 4px;
    box-shadow: 0 4px 12px rgba(31, 31, 91, .1);
}

.fg-table .fg-club strong {
    vertical-align: middle;
}

.fg-table .fg-club em {
    display: inline-block;
    margin-left: 0;
    padding: 3px 6px;
    border-radius: 5px;
    background: var(--accent, #ffcc00);
    color: var(--primary-strong, #181850);
    font-size: 9px;
    font-style: normal;
    font-weight: 900;
    flex: 0 0 auto;
}

.fg-pos span {
    display: inline-grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-left: 4px solid var(--zone, transparent);
    border-radius: 7px;
    background: #f1f2f7;
    font-weight: 850;
}

.fg-pts {
    font-size: 16px;
    font-weight: 900;
    color: var(--primary, #333399);
}

.fg-table tr.is-ours {
    background: linear-gradient(90deg, rgba(51, 51, 153, .1), rgba(255, 204, 0, .08));
}

.fg-table tr.is-ours td {
    border-top: 1px solid rgba(51, 51, 153, .25);
    border-bottom: 1px solid rgba(51, 51, 153, .25);
}

.fg-streak {
    display: flex;
    justify-content: center;
    gap: 4px;
}

.fg-streak span {
    display: grid;
    place-items: center;
    width: 21px;
    height: 21px;
    border-radius: 50%;
    color: #fff;
    font-size: 9px;
    font-weight: 850;
}

.fg-streak .win { background: #22a861; }
.fg-streak .draw { background: #d2a800; }
.fg-streak .loss { background: #df5360; }

/* Viewport chrome (portrait phones / small windows) */
@media (max-width: 760px) {
    .fg-shell {
        width: 100%;
        margin: 0 0 40px;
        min-width: 0;
    }

    .fg-hero,
    .fg-card {
        border-radius: 0;
    }

    .fg-hero {
        padding: 24px 18px;
    }

    .fg-crest {
        width: 58px;
        height: 58px;
    }

    .fg-live {
        position: absolute;
        right: 14px;
        top: 13px;
        padding: 6px 8px;
    }

    .fg-next {
        grid-template-columns: 1fr;
        margin: 14px 14px 0;
    }

    .fg-round-toolbar {
        gap: 8px;
        padding: 14px 10px;
    }

    .fg-round-toolbar label {
        display: none;
    }

    .fg-round-toolbar select {
        min-width: 0;
        width: min(230px, 62vw);
    }

    .fg-matches {
        grid-template-columns: 1fr;
        padding: 6px 14px 24px;
    }

    .fg-card-heading,
    .fg-actions,
    .fg-footer {
        padding-inline: 18px;
    }
}

/*
 * Compact standings when viewport OR .fg-shell inline size ≤760px.
 * Landscape / wider → full table (stats + form columns).
 * Row: Pos | escudo | nombre+stats (flex) | Pts — no equal-column gaps.
 */
@media (max-width: 760px) {
    .fg-form,
    .fg-stat {
        display: none !important;
    }

    .fg-mobile-legend {
        display: block;
        margin: 0;
        padding: 8px 12px 0;
        color: var(--muted, #74758a);
        font-size: 11px;
        font-weight: 700;
        letter-spacing: .04em;
    }

    .fg-table-wrap {
        overflow-x: visible;
        max-width: 100%;
        -webkit-overflow-scrolling: auto;
    }

    .fg-table {
        table-layout: fixed;
        width: 100%;
        max-width: 100%;
        min-width: 0 !important;
        font-size: 12px;
    }

    .fg-table th,
    .fg-table td {
        padding: 7px 4px;
        height: auto;
        vertical-align: middle;
    }

    .fg-table td {
        white-space: normal;
    }

    .fg-table th:first-child,
    .fg-table td.fg-pos {
        width: 30px;
        padding-left: 8px;
        padding-right: 2px;
    }

    .fg-table th.fg-pts,
    .fg-table td.fg-pts {
        width: 36px;
        padding-left: 2px;
        padding-right: 8px;
    }

    .fg-table th.fg-club,
    .fg-table td.fg-club {
        width: auto;
        min-width: 0;
        padding-left: 4px;
        padding-right: 4px;
    }

    .fg-table .fg-club-cell {
        display: flex;
        align-items: center;
        gap: 6px;
        width: 100%;
        min-width: 0;
    }

    .fg-table .fg-club img,
    .fg-table .fg-club .fg-team__placeholder {
        width: 26px !important;
        height: 26px !important;
        max-width: 26px !important;
        max-height: 26px !important;
        flex: 0 0 26px;
    }

    .fg-table .fg-club-meta {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: center;
        gap: 1px;
        flex: 1 1 auto;
        min-width: 0;
        width: auto;
        max-width: none;
    }

    .fg-table .fg-club-name {
        display: flex;
        align-items: center;
        gap: 5px;
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }

    .fg-table .fg-club strong {
        flex: 1 1 auto;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        min-width: 0;
        font-size: 12px;
        font-weight: 700;
        line-height: 1.2;
    }

    .fg-table .fg-club em {
        padding: 2px 5px;
        font-size: 8px;
    }

    .fg-club-compact {
        display: block;
        color: var(--muted, #74758a);
        font-size: 10px;
        font-weight: 600;
        font-variant-numeric: tabular-nums;
        letter-spacing: .01em;
        line-height: 1.2;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }

    .fg-pos span {
        width: 24px;
        height: 24px;
        font-size: 11px;
    }

    .fg-pts {
        font-size: 16px;
        font-weight: 900;
        line-height: 1;
    }
}

@container fg-standings (max-width: 760px) {
    .fg-form,
    .fg-stat {
        display: none !important;
    }

    .fg-mobile-legend {
        display: block;
        margin: 0;
        padding: 8px 12px 0;
        color: var(--muted, #74758a);
        font-size: 11px;
        font-weight: 700;
        letter-spacing: .04em;
    }

    .fg-table-wrap {
        overflow-x: visible;
        max-width: 100%;
        -webkit-overflow-scrolling: auto;
    }

    .fg-table {
        table-layout: fixed;
        width: 100%;
        max-width: 100%;
        min-width: 0 !important;
        font-size: 12px;
    }

    .fg-table th,
    .fg-table td {
        padding: 7px 4px;
        height: auto;
        vertical-align: middle;
    }

    .fg-table td {
        white-space: normal;
    }

    .fg-table th:first-child,
    .fg-table td.fg-pos {
        width: 30px;
        padding-left: 8px;
        padding-right: 2px;
    }

    .fg-table th.fg-pts,
    .fg-table td.fg-pts {
        width: 36px;
        padding-left: 2px;
        padding-right: 8px;
    }

    .fg-table th.fg-club,
    .fg-table td.fg-club {
        width: auto;
        min-width: 0;
        padding-left: 4px;
        padding-right: 4px;
    }

    .fg-table .fg-club-cell {
        display: flex;
        align-items: center;
        gap: 6px;
        width: 100%;
        min-width: 0;
    }

    .fg-table .fg-club img,
    .fg-table .fg-club .fg-team__placeholder {
        width: 26px !important;
        height: 26px !important;
        max-width: 26px !important;
        max-height: 26px !important;
        flex: 0 0 26px;
    }

    .fg-table .fg-club-meta {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: center;
        gap: 1px;
        flex: 1 1 auto;
        min-width: 0;
        width: auto;
        max-width: none;
    }

    .fg-table .fg-club-name {
        display: flex;
        align-items: center;
        gap: 5px;
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }

    .fg-table .fg-club strong {
        flex: 1 1 auto;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        min-width: 0;
        font-size: 12px;
        font-weight: 700;
        line-height: 1.2;
    }

    .fg-table .fg-club em {
        padding: 2px 5px;
        font-size: 8px;
    }

    .fg-club-compact {
        display: block;
        color: var(--muted, #74758a);
        font-size: 10px;
        font-weight: 600;
        font-variant-numeric: tabular-nums;
        letter-spacing: .01em;
        line-height: 1.2;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }

    .fg-pos span {
        width: 24px;
        height: 24px;
        font-size: 11px;
    }

    .fg-pts {
        font-size: 16px;
        font-weight: 900;
        line-height: 1;
    }
}

/* === Club matches / ficha / acta (futgal-club-matches-v1) === */
.fg-match__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    justify-content: center;
    padding: 8px 14px 12px;
    border-top: 1px solid var(--line, #e9eaf2);
    background: #fafafd;
}
.fg-match__stat {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 750;
    color: var(--text, #17182b);
}
.fg-shell--ficha .fg-live {
    display: flex;
}
.fg-ficha-crumbs {
    padding: 14px 28px 0;
}
.fg-ficha-score {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 12px;
    align-items: center;
    margin: 18px 28px 0;
    padding: 18px 16px;
    border: 2px solid var(--primary, #333399);
    border-radius: 15px;
    background: linear-gradient(90deg, rgba(51, 51, 153, .08), rgba(255, 204, 0, .1));
}
.fg-ficha-team {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
    min-width: 0;
}
.fg-ficha-team img,
.fg-ficha-team .fg-team__placeholder {
    width: 48px !important;
    height: 48px !important;
    max-width: 48px !important;
    max-height: 48px !important;
    object-fit: contain;
}
.fg-ficha-team .fg-team__placeholder {
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: linear-gradient(160deg, var(--primary, #333399), var(--primary-strong, #181850));
    color: #fff;
    font-weight: 900;
    font-size: 12px;
}
.fg-ficha-team strong {
    font-size: 13px;
    color: var(--text, #17182b);
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}
.fg-ficha-team b {
    font-size: clamp(1.8rem, 5vw, 2.6rem);
    font-weight: 900;
    color: var(--primary-strong, #181850);
    font-variant-numeric: tabular-nums;
    line-height: 1;
}
.fg-ficha-team.is-ours strong {
    color: var(--primary, #333399);
}
.fg-ficha-vs {
    font-weight: 800;
    color: var(--muted, #74758a);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.fg-ficha-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin: 14px 28px 0;
    color: var(--muted, #74758a);
    font-size: .9rem;
}
.fg-ficha-actions {
    padding-top: 16px;
}
.fg-ficha-status {
    margin-bottom: 10px;
}
.fg-sheet-wrap,
.fg-sheet-block {
    margin: 8px 28px 18px;
}
.fg-player-rsvp {
    padding: 16px 18px;
    border: 1px solid var(--line, #e9eaf2);
    border-radius: 14px;
    background: #fafafd;
}
.fg-callup-grid {
    display: grid;
    gap: 10px;
}
.fg-callup-player {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 10px 12px;
    border-radius: 12px;
    background: #f7f7fb;
    border: 1px solid var(--line, #e9eaf2);
}
.fg-sheet {
    display: grid;
    gap: 16px;
}
.fg-sheet-score {
    display: grid;
    gap: 0;
    overflow: hidden;
    border: 1px solid var(--line, #e9eaf2);
    border-radius: 15px;
    background: #fff;
}
.fg-sheet-score__team {
    display: grid;
    grid-template-columns: 44px 1fr 48px;
    align-items: center;
    gap: 12px;
    min-height: 64px;
    padding: 10px 16px;
}
.fg-sheet-score__team + .fg-sheet-score__team {
    border-top: 1px solid #f0f0f5;
}
.fg-sheet-score__team img,
.fg-sheet-score__team .fg-team__placeholder {
    width: 40px !important;
    height: 40px !important;
    max-width: 40px !important;
    max-height: 40px !important;
    object-fit: contain;
}
.fg-sheet-score__team .fg-team__placeholder {
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: linear-gradient(160deg, var(--primary, #333399), var(--primary-strong, #181850));
    color: #fff;
    font-weight: 900;
    font-size: 11px;
}
.fg-sheet-score__team strong {
    font-size: 14px;
    color: var(--text, #17182b);
    overflow: hidden;
    text-overflow: ellipsis;
}
.fg-sheet-score__team b {
    color: var(--primary-strong, #181850);
    font-size: 28px;
    text-align: center;
    font-variant-numeric: tabular-nums;
}
.fg-sheet-score__team.is-ours {
    background: rgba(255, 204, 0, .12);
}
.fg-sheet-score__team.is-ours strong {
    color: var(--primary, #333399);
}
.fg-sheet-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.fg-sheet-panel {
    margin: 0;
    padding: 16px 18px;
    border: 1px solid var(--line, #e9eaf2);
    border-radius: 15px;
    background: #fff;
}
.fg-sheet-panel h3 {
    margin: 0 0 12px;
    font-size: 1rem;
    color: var(--primary, #333399);
}
.fg-sheet-block-inner + .fg-sheet-block-inner {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px dashed #dcddea;
}
.fg-sheet-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 8px;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--muted, #74758a);
}
.fg-sheet-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}
.fg-sheet-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    background: #f7f7fb;
}
.fg-sheet-meta {
    margin-left: auto;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: flex-end;
}
.fg-sheet-dorsal {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    display: inline-grid;
    place-items: center;
    background: var(--primary, #333399);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    flex: 0 0 28px;
}
.fg-sheet-empty {
    color: var(--muted, #74758a);
    padding: 4px 2px;
}
@media (max-width: 800px) {
    .fg-sheet-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 760px) {
    .fg-ficha-crumbs,
    .fg-ficha-meta,
    .fg-sheet-wrap,
    .fg-sheet-block {
        margin-inline: 14px;
        padding-inline: 0;
    }
    .fg-ficha-score {
        margin: 14px 14px 0;
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .fg-ficha-vs {
        display: none;
    }
    .fg-ficha-team {
        flex-direction: row;
        justify-content: flex-start;
        text-align: left;
        gap: 12px;
    }
    .fg-ficha-team b {
        margin-left: auto;
    }
}
