﻿/* TICOPA split from original style.css lines 2429-3336. Keep import order in css/main.css. */
/* Campo TOTW con trazado real de futbol y perspectiva 3D */
.cancha-totw .pitch {
    background:
        repeating-linear-gradient(90deg, rgba(255,255,255,0.035) 0 7%, rgba(0,0,0,0.06) 7% 14%),
        linear-gradient(180deg, #168142 0%, #0f6d37 50%, #0b5a2f 100%) !important;
    border: 3px solid rgba(255,255,255,0.9) !important;
    border-radius: 14px !important;
    box-shadow: 0 32px 60px rgba(0,0,0,0.55), inset 0 0 55px rgba(0,0,0,0.25) !important;
    transform: perspective(900px) rotateX(12deg) !important;
    transform-origin: center bottom !important;
    overflow: hidden !important;
}

.cancha-totw .pitch::before,
.cancha-totw .pitch::after {
    content: none !important;
}

.club-vitrina-shell {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 18px;
    background: rgba(255,255,255,0.035);
}
.club-vitrina-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}
.club-vitrina-head span,
.club-album-head span {
    color: var(--secondary);
    font-family: var(--font-tech);
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: 1.4px;
}
.club-vitrina-head h3 {
    margin: 3px 0 0;
    color: white;
    font-family: var(--font-display);
}
.club-kit-showcase {
    min-height: 260px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(0,255,135,.09), transparent 35%),
        linear-gradient(225deg, rgba(0,184,255,.1), transparent 38%),
        rgba(0,0,0,.34);
    border: 1px dashed rgba(255,255,255,.18);
}
.club-kit-showcase img {
    max-width: min(360px, 86%);
    max-height: 300px;
    object-fit: contain;
    filter: drop-shadow(0 18px 28px rgba(0,0,0,.55));
}
.club-kit-empty {
    color: var(--text-muted);
    font-family: var(--font-tech);
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.club-vitrina-shell p {
    color: var(--text-muted);
    margin: 12px 0 0;
    font-size: .9rem;
}

.match-3d-section {
    margin-top: 26px;
    overflow-x: auto;
    overflow-y: visible;
    padding-bottom: 14px;
    -webkit-overflow-scrolling: touch;
}
.match-3d-header {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto minmax(0,1fr);
    gap: 12px;
    align-items: end;
    margin-bottom: 12px;
}
.match-3d-header div {
    min-width: 0;
}
.match-3d-header div:last-child {
    text-align: right;
}
.match-3d-header span {
    display: block;
    color: white;
    font-family: var(--font-display);
    font-weight: 900;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.match-3d-header b {
    color: var(--gold);
    font-family: var(--font-tech);
    font-size: .86rem;
}
.match-3d-header > strong {
    color: var(--gold);
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 3vw, 2rem);
    padding: 4px 14px;
    border: 1px solid rgba(250,204,21,.45);
    border-radius: 6px;
    background: rgba(0,0,0,.42);
}
.match-3d-pitch {
    position: relative;
    min-height: 527px;
    min-width: 1156px;
    border-radius: 8px;
    overflow: visible;
    padding: 15px 0;
    border: 1px solid rgba(255,255,255,.22);
    background:
        radial-gradient(circle at 50% 50%, rgba(255,255,255,.08), transparent 18%),
        repeating-linear-gradient(90deg, rgba(255,255,255,.03) 0 8%, rgba(0,0,0,.06) 8% 16%),
        linear-gradient(90deg, rgba(0,184,255,.46), rgba(0,255,135,.18) 48%, rgba(255,45,85,.32));
    transform: perspective(1050px) rotateX(9deg);
    transform-origin: center top;
    transform-style: preserve-3d;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    isolation: isolate;
    box-shadow: inset 0 0 40px rgba(0,0,0,.5), 0 22px 50px rgba(0,0,0,.34);
}
.match-3d-half {
    position: absolute;
    inset: 0 auto 0 0;
    width: 50%;
    background: linear-gradient(90deg, rgba(0,184,255,.18), transparent);
}
.match-3d-half.visita {
    left: 50%;
    background: linear-gradient(270deg, rgba(255,45,85,.2), transparent);
}
.match-3d-line.mid {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: rgba(255,255,255,.7);
}
.match-3d-circle {
    position: absolute;
    width: 128px;
    height: 128px;
    border: 2px solid rgba(255,255,255,.55);
    border-radius: 50%;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
}
.match-3d-box {
    position: absolute;
    top: 26%;
    width: 13%;
    height: 48%;
    border: 2px solid rgba(255,255,255,.55);
}
.match-3d-box.left {
    left: 0;
    border-left: 0;
}
.match-3d-box.right {
    right: 0;
    border-right: 0;
}
.match-3d-player {
    position: absolute;
    width: max-content;
    min-width: 88px;
    min-height: 58px;
    transform: translate3d(-50%, -50%, 36px) rotateX(-9deg);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border: 0;
    background: transparent;
    color: white;
    text-align: left;
    cursor: pointer;
    z-index: 4;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: 31px auto;
    gap: 3px;
    align-items: center;
    justify-items: center;
    padding: 4px;
    border-radius: 6px;
    background: rgba(3,7,14,.58);
    border: 1px solid rgba(255,255,255,.12);
    box-shadow: 0 8px 15px rgba(0,0,0,.32);
    transition: border-color .16s ease, background-color .16s ease, box-shadow .16s ease;
}
.match-3d-player:hover {
    z-index: 12;
    transform: translate3d(-50%, -50%, 36px) rotateX(-9deg);
    border-color: rgba(255,255,255,.3);
    background: rgba(3,7,14,.76);
    box-shadow: 0 10px 22px rgba(0,0,0,.48), 0 0 0 1px rgba(125,211,252,.12);
}
.match-3d-kit-img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    grid-column: 2;
    grid-row: 1 / span 2;
    justify-self: center;
    filter: drop-shadow(0 10px 15px rgba(0,0,0,.65));
}
.match-3d-card-fallback {
    width: 42px;
    height: 48px;
    margin: 0;
    grid-column: 2;
    grid-row: 1 / span 2;
    justify-self: center;
    display: grid;
    place-items: center;
    border-radius: 7px;
    border: 1px solid rgba(250,204,21,.55);
    background: linear-gradient(160deg, rgba(9,12,24,.96), rgba(20,30,42,.92));
    overflow: hidden;
    box-shadow: 0 10px 18px rgba(0,0,0,.45);
}
.match-3d-card-fallback img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.match-3d-card-fallback span,
.match-3d-pos {
    font-family: var(--font-tech);
    font-weight: 900;
}
.match-3d-avatar {
    grid-column: 1;
    grid-row: 1;
    display: block;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.72);
    background: #070b13;
    box-shadow: 0 0 0 2px rgba(0,0,0,.5), 0 5px 10px rgba(0,0,0,.45);
}
.match-3d-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}
.match-3d-pos {
    display: none;
    grid-column: 1;
    grid-row: 1 / span 2;
    align-self: center;
    justify-self: center;
    margin: 0;
    padding: 3px 4px;
    border-radius: 4px;
    background: rgba(0,0,0,.72);
    color: var(--gold);
    font-size: .5rem;
    line-height: 1;
    white-space: nowrap;
}
.match-3d-player strong,
.match-3d-player small {
    display: flex;
    align-items: center;
    width: 100%;
    min-width: 0;
    margin-top: 0;
    padding: 3px 5px;
    border-radius: 4px;
    background: rgba(0,0,0,.84);
    white-space: nowrap;
    overflow: visible;
    text-overflow: clip;
    overflow-wrap: normal;
    word-break: keep-all;
    box-sizing: border-box;
    height: 17px;
}
.match-3d-text {
    grid-column: 1;
    grid-row: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    min-width: 0;
    width: 100%;
}
.match-3d-player strong {
    font-family: var(--font-tech);
    font-size: var(--match-name-size, .82rem);
    line-height: 1;
    min-height: 0;
    color: #fff;
    font-weight: 950;
    letter-spacing: 0;
    text-shadow: 0 1px 6px rgba(0,0,0,.85);
    width: max-content;
    max-width: none;
    padding-right: 8px;
    padding-left: 8px;
    justify-content: center;
    text-align: center;
    overflow: visible;
    text-overflow: clip;
}

.btn-aprobar,
.btn-success,
.hero-btn.btn-success,
button[data-action="aprobar"],
button[data-action="guardar"],
button[data-action="generar"] {
    background: #22c55e !important;
    border-color: #16a34a !important;
    color: #06130b !important;
    font-weight: 900 !important;
}

.tipo-alta,
.estado-aprobado {
    color: #22c55e !important;
    font-weight: 900 !important;
}
.match-3d-player small {
    color: #7dd3fc;
    font-size: var(--match-detail-size, .64rem);
    font-weight: 900;
    line-height: 1;
    text-shadow: 0 1px 5px rgba(0,0,0,.85);
}
.match-3d-player.is-bot {
    opacity: .74;
    border-style: dashed;
    background: rgba(3,7,14,.42);
}
.match-3d-player.is-bot strong {
    color: rgba(255,255,255,.82);
}
.match-3d-player.is-bot small {
    color: rgba(250,204,21,.75);
}

.match-detail-club-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    max-width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    color: #fff;
    font: 900 clamp(.85rem, 2.5vw, 1.2rem) var(--font-tech);
    text-transform: uppercase;
    cursor: pointer;
}
.match-detail-club-link.local {
    flex-direction: row;
    justify-content: flex-end;
}
.match-detail-club-link.visita {
    justify-content: flex-start;
}
.match-detail-club-link img,
.match-squad-title img {
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
    object-fit: contain;
    border-radius: 50%;
    background: rgba(0,0,0,.42);
    border: 1px solid rgba(255,255,255,.16);
    filter: drop-shadow(0 5px 8px rgba(0,0,0,.65));
}
.match-detail-club-link span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.match-squad-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}
.match-squad-title::before,
.match-squad-title::after {
    content: none !important;
    display: none !important;
}
.match-3d-player > .ticopa-ui-icon,
.match-detail-club-link > .ticopa-ui-icon,
.match-squad-title > .ticopa-ui-icon {
    display: none !important;
}

@media (max-width: 768px) {
    .match-3d-section {
        --pitch-mobile-width: 1156px;
        --pitch-mobile-height: 527px;
        --pitch-mobile-scale: calc((100vw - 24px) / 1156px);
        margin-left: -12px;
        margin-right: -12px;
        padding-left: 12px;
        padding-right: 12px;
        height: calc((var(--pitch-mobile-height) * var(--pitch-mobile-scale)) + 26px);
        overflow: hidden;
    }
    .match-3d-pitch {
        min-height: var(--pitch-mobile-height);
        height: var(--pitch-mobile-height);
        min-width: var(--pitch-mobile-width);
        width: var(--pitch-mobile-width);
        margin-inline: 0;
        transform: perspective(1050px) rotateX(9deg) scale(var(--pitch-mobile-scale));
        transform-origin: left top;
    }
    .match-3d-player {
        width: max-content;
        min-width: 78px;
        min-height: 54px;
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: 27px auto;
        gap: 3px;
        padding: 3px;
    }
    .match-3d-avatar {
        width: 25px;
        height: 25px;
    }
    .match-3d-kit-img {
        width: 34px;
        height: 34px;
    }
    .match-3d-card-fallback {
        width: 34px;
        height: 40px;
    }
    .match-3d-player strong,
    .match-3d-player small {
        width: 100%;
        line-height: 1;
        height: 15px;
    }
    .match-3d-player strong {
        font-size: var(--match-name-size-mobile, .66rem);
    }
    .match-3d-player small {
        font-size: var(--match-detail-size-mobile, .52rem);
    }
}

.pitch-marking {
    position: absolute;
    pointer-events: none;
    border-color: rgba(255,255,255,0.82) !important;
    z-index: 1;
}

.pitch-half {
    left: 5%;
    right: 5%;
    top: 50%;
    height: 2px;
    background: rgba(255,255,255,0.82);
}

.pitch-center-circle {
    width: 120px;
    height: 120px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid rgba(255,255,255,0.82);
    border-radius: 50%;
}

.pitch-box {
    left: 27%;
    width: 46%;
    height: 17%;
    border: 2px solid rgba(255,255,255,0.82);
}

.pitch-box-top { top: 0; border-top: 0; }
.pitch-box-bottom { bottom: 0; border-bottom: 0; }

.pitch-goalbox {
    left: 39%;
    width: 22%;
    height: 8%;
    border: 2px solid rgba(255,255,255,0.82);
}

.pitch-goalbox-top { top: 0; border-top: 0; }
.pitch-goalbox-bottom { bottom: 0; border-bottom: 0; }

.pitch-spot {
    width: 6px;
    height: 6px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 50%;
    background: rgba(255,255,255,0.86);
}

.pitch-spot-top { top: 12%; }

/* Ajustes finales solicitados: escudos, streams y perfil de jugador movil */
.calendar-container .club-badge-logo,
.club-profile-match-card .club-badge-logo,
#contenedor-partidos .club-badge-logo {
    width: 42px !important;
    height: 42px !important;
    flex: 0 0 42px !important;
    object-fit: contain !important;
    margin: 0 8px !important;
}

.calendar-container .match-team,
.club-profile-match-card .match-team,
#contenedor-partidos .match-team {
    gap: 12px !important;
}

.perfil-jugador-card,
.perfil-jugador-card * {
    max-width: 100%;
    box-sizing: border-box;
}

.perfil-jugador-dinamico {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border-color: var(--player-club-color, var(--secondary)) !important;
    box-shadow: 0 0 38px var(--player-club-glow, var(--secondary-glow));
    transition: border-color 1.2s ease, box-shadow 1.2s ease;
}

.perfil-jugador-fondo {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-position: center;
    background-size: cover;
    opacity: .3;
    filter: saturate(1.35) contrast(1.1);
    transition: background-image 1.4s ease, opacity 1.4s ease;
}

.perfil-jugador-dinamico::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(5,9,18,.7), rgba(5,9,18,.95));
    pointer-events: none;
}

.perfil-jugador-contenido {
    position: relative;
    z-index: 1;
}

.perfil-jugador-dinamico h2,
.perfil-jugador-dinamico h3 {
    text-shadow: 0 0 16px var(--player-club-glow, var(--secondary-glow));
}

.club-album-shell {
    display: grid;
    gap: 18px;
}

.club-album-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    padding: 20px;
    border: 1px solid rgba(245,197,66,.42);
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(245,197,66,.1), rgba(0,212,255,.05));
}

.club-album-head span,
.club-album-slot strong {
    color: var(--gold);
    font-family: var(--font-tech);
    font-size: .72rem;
    letter-spacing: 1px;
}

.club-album-head h3 {
    margin: 4px 0;
    color: #fff;
    font-family: var(--font-tech);
}

.club-album-head p {
    margin: 0;
    color: var(--text-muted);
}

.club-album-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.club-album-config {
    padding: 16px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background: rgba(0,0,0,.35);
}

.club-album-config summary {
    cursor: pointer;
    color: var(--secondary);
    font-family: var(--font-tech);
    font-weight: 900;
}

.club-album-slots {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 10px;
    margin-top: 16px;
}

.club-album-colores {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) repeat(3, minmax(130px, .35fr));
    gap: 12px;
    align-items: stretch;
    margin: 12px 0 16px;
    padding: 14px;
    border: 1px solid rgba(245,197,66,.3);
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(245,197,66,.08), rgba(139,92,246,.08), rgba(0,212,255,.06));
}

.club-album-colores > div,
.club-album-colores label {
    display: grid;
    gap: 6px;
}

.club-album-colores span,
.club-album-colores label {
    color: var(--gold);
    font-family: var(--font-tech);
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .8px;
}

.club-album-colores strong {
    color: #fff;
}

.club-album-colores small {
    color: var(--text-muted);
    line-height: 1.35;
}

.club-album-colores input[type="color"] {
    width: 100%;
    min-height: 48px;
    padding: 4px;
    cursor: pointer;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 8px;
    background: #070b15;
}

.club-album-auto-color {
    align-self: end;
    min-height: 48px;
}

@media (max-width: 980px) {
    .club-album-colores {
        grid-template-columns: repeat(3, 1fr);
    }

    .club-album-colores > div {
        grid-column: 1 / -1;
    }
}

.club-album-slot {
    display: grid;
    gap: 7px;
    padding: 12px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 8px;
    background: rgba(5,9,18,.82);
}

.club-album-slot input,
.club-album-slot select {
    width: 100%;
    min-width: 0;
    padding: 8px;
    color: #fff;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    background: #070b15;
}

.club-album-canvas-wrap {
    width: 100%;
    overflow: auto;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background: #030712;
}

#canvas-album-club {
    display: block;
    width: 100%;
    min-width: 760px;
    height: auto;
    margin: auto;
}

.perfil-jugador-card .perfil-header-grid {
    grid-template-columns: minmax(260px, 0.95fr) minmax(0, 2fr) !important;
}

.perfil-jugador-card .xolo-fut-card-container {
    width: 100%;
    display: grid;
    place-items: center;
    min-width: 0;
}

.perfil-jugador-card .xolo-fut-card {
    width: min(100%, 420px);
}

.tactical-report-grid {
    grid-template-columns: minmax(260px, 350px) minmax(0, 1fr) !important;
}

.tactical-xi-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.tactical-xi-card {
    background: rgba(255,255,255,0.035);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 14px;
}

.tactical-xi-card h4 {
    color: var(--gold);
    font-family: var(--font-tech);
    margin: 0 0 10px;
    text-transform: uppercase;
}

.tactical-xi-card div {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 8px;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.tactical-xi-card strong { color: var(--secondary); }
.tactical-xi-card span { color: #fff; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tactical-xi-card small { grid-column: 2; color: var(--text-muted); }

@media (max-width: 760px) {
    .calendar-container .club-badge-logo,
    .club-profile-match-card .club-badge-logo,
    #contenedor-partidos .club-badge-logo {
        width: 34px !important;
        height: 34px !important;
        flex-basis: 34px !important;
        margin: 0 4px !important;
    }

    .perfil-jugador-card {
        padding: 14px !important;
        overflow: hidden;
    }

    .perfil-jugador-card h2 {
        font-size: 1.45rem !important;
        line-height: 1.15 !important;
        word-break: break-word;
    }

    .perfil-jugador-card .perfil-header-grid,
    .tactical-xi-grid,
    .tactical-report-grid {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
    }

    .perfil-jugador-card .perfil-info > div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }

    .perfil-jugador-card .dashboard-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (min-width: 981px) {
    .home-media-grid {
        grid-template-columns: minmax(640px, 1fr) minmax(320px, 0.58fr) !important;
        align-items: stretch !important;
        max-width: 1600px !important;
        gap: 22px !important;
    }

    #news-slider-container {
        aspect-ratio: 16 / 9 !important;
        height: clamp(430px, calc((100vw - 360px - 68px) * 0.5625), 620px) !important;
        min-height: 0 !important;
        max-height: calc(100vh - 190px) !important;
        margin-bottom: 0 !important;
    }

    #news-slider-container .news-slider {
        height: 100% !important;
        min-height: 0 !important;
    }

    #streams-container {
        height: 100% !important;
        min-height: 0 !important;
    }

    .streams-stack {
        height: calc(100% - 52px) !important;
        display: grid !important;
        grid-template-rows: repeat(3, minmax(0, 1fr)) !important;
        gap: 10px !important;
        overflow: hidden !important;
    }

    .stream-channel-row {
        min-height: 0 !important;
        overflow: hidden !important;
        grid-template-rows: minmax(0, 1fr) !important;
    }

    .stream-card-compact .stream-thumb {
        aspect-ratio: auto !important;
        height: 100% !important;
        min-height: 0 !important;
    }

    .stream-card-compact {
        height: 100% !important;
        display: grid !important;
        grid-template-rows: minmax(0, 1fr) auto !important;
    }

    .stream-card-compact .stream-info {
        padding: 8px 12px !important;
    }

    #news-slider-container .news-overlay {
        padding: clamp(22px, 2.2vw, 34px) !important;
    }

    #news-slider-container .news-title {
        font-size: clamp(1.8rem, 2.55vw, 3.05rem) !important;
        line-height: 1.05 !important;
        margin-bottom: 8px !important;
    }

    #news-slider-container .news-body {
        display: -webkit-box !important;
        -webkit-line-clamp: 4 !important;
        line-clamp: 4 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        font-size: clamp(0.95rem, 1.18vw, 1.2rem) !important;
        line-height: 1.28 !important;
        max-width: 92% !important;
        margin-bottom: 8px !important;
    }
}

@media (min-width: 900px) {
    .club-profile-header .club-link,
    .match-card .club-link,
    .club-profile-match-card .club-link {
        white-space: nowrap !important;
        overflow: visible !important;
        text-overflow: clip !important;
        max-width: none !important;
        display: block !important;
        font-size: clamp(0.76rem, 1.1vw, 1.05rem) !important;
    }

    .club-profile-header img,
    .match-card img.club-badge-logo,
    .club-profile-match-card img.club-badge-logo {
        width: 52px !important;
        height: 52px !important;
        flex-basis: 52px !important;
    }
}

@media (max-width: 760px) {
    #contenedor-partidos .calendar-container .match-team,
    .club-match-list .club-profile-match-card .match-team {
        display: grid !important;
        grid-template-columns: 38px minmax(0, 1fr) !important;
        align-items: center !important;
        justify-content: stretch !important;
        text-align: left !important;
    }

    #contenedor-partidos .calendar-container .match-team.visita,
    .club-match-list .club-profile-match-card .match-team.visita {
        direction: ltr !important;
    }
}

.nav-container {
    display: grid !important;
    grid-template-columns: auto minmax(260px, 1fr) auto !important;
    gap: 14px !important;
    align-items: center !important;
}

.logo-space {
    justify-self: start !important;
}

.nav-actions {
    justify-self: end !important;
}

.nav-ticker-wrapper {
    min-width: 0 !important;
}

@media (max-width: 760px) {
    .nav-container {
        grid-template-columns: auto auto !important;
    }

    .nav-ticker-wrapper {
        grid-column: 1 / -1 !important;
        order: 3 !important;
        width: 100% !important;
    }
}
.pitch-spot-bottom { bottom: 12%; }

.cancha-totw .player-marker {
    z-index: 3 !important;
}

.texto-reporte {
    font-size: 1rem;
    line-height: 1.6;
    color: #e2e8f0;
}
