    :root {
        --navy-deep: #0B1F3A;
        --navy-mid: #14335C;
        --navy-soft: #1E4272;
        --gold: #C9A227;
        --gold-light: #E8C766;
        --gold-pale: #FBF3D9;
        --off-white: #F4F6F9;
        --white: #FFFFFF;
        --text-dark: #1B2A41;
        --text-muted: #6B7785;
        --border-soft: #E3E7EE;
    }

    .ed-wrap {
        font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
        color: var(--text-dark);
        background: var(--off-white);
    }

    .ed-wrap h1, .ed-wrap h2, .ed-wrap h3, .ed-wrap h4, .ed-wrap h5,
    .ed-wrap .ed-heading {
        font-family: 'Oswald', 'Inter', sans-serif;
        letter-spacing: 0.03em;
        text-transform: uppercase;
    }

    /* ===== HERO ===== */
    .ed-hero {
        background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy-mid) 100%);
        border-radius: 14px;
        position: relative;
        overflow: hidden;
        box-shadow: 0 10px 30px rgba(11, 31, 58, 0.18);
    }

    .ed-hero::after {
        content: "";
        position: absolute;
        top: 0; right: 0; bottom: 0;
        width: 6px;
        background: linear-gradient(180deg, var(--gold-light), var(--gold));
    }

    .ed-crest-frame {
        width: 128px;
        height: 128px;
        border-radius: 50%;
        background: var(--white);
        border: 3px solid var(--gold);
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 10px;
        margin: 0 auto;
        box-shadow: 0 6px 16px rgba(0,0,0,0.25);
    }

    .ed-crest-frame img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
    }

    .ed-crest-placeholder {
        color: var(--navy-mid);
        font-family: 'Oswald', sans-serif;
        font-size: 2.4rem;
        font-weight: 600;
    }

    .ed-team-name {
        color: var(--white);
        font-size: 2rem;
        font-weight: 600;
        margin-bottom: 0.35rem;
    }

    .ed-category-badge {
        display: inline-flex;
        align-items: center;
        gap: 0.4rem;
        background: rgba(201, 162, 39, 0.16);
        border: 1px solid var(--gold);
        color: var(--gold-light);
        font-family: 'Inter', sans-serif;
        font-size: 0.8rem;
        font-weight: 600;
        letter-spacing: 0.04em;
        text-transform: uppercase;
        padding: 0.3rem 0.85rem;
        border-radius: 20px;
    }

    .ed-btn-ghost {
        background: transparent;
        border: 1px solid rgba(255,255,255,0.35);
        color: var(--white);
        font-size: 0.82rem;
        font-weight: 600;
        letter-spacing: 0.03em;
        text-transform: uppercase;
        border-radius: 8px;
        padding: 0.5rem 1rem;
        transition: all 0.18s ease;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
    }
    .ed-btn-ghost:hover {
        background: rgba(255,255,255,0.12);
        color: var(--white);
        border-color: var(--white);
    }

    .ed-btn-gold {
        background: var(--gold);
        border: 1px solid var(--gold);
        color: var(--navy-deep);
        font-size: 0.82rem;
        font-weight: 700;
        letter-spacing: 0.03em;
        text-transform: uppercase;
        border-radius: 8px;
        padding: 0.5rem 1.1rem;
        transition: all 0.18s ease;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
    }
    .ed-btn-gold:hover {
        background: var(--gold-light);
        border-color: var(--gold-light);
        color: var(--navy-deep);
    }

    /* ===== INFO / STAT CARDS ===== */
    .ed-card {
        background: var(--white);
        border: 1px solid var(--border-soft);
        border-radius: 12px;
        box-shadow: 0 2px 10px rgba(11, 31, 58, 0.05);
        height: 100%;
    }

    .ed-card-header {
        display: flex;
        align-items: center;
        gap: 0.55rem;
        padding: 1.1rem 1.25rem 0.85rem;
        border-bottom: 1px solid var(--border-soft);
    }

    .ed-card-header .ed-icon-badge {
        width: 34px;
        height: 34px;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: var(--navy-deep);
        color: var(--gold-light);
        font-size: 0.85rem;
        flex-shrink: 0;
    }

    .ed-card-header h5 {
        margin: 0;
        font-size: 0.95rem;
        color: var(--navy-deep);
        letter-spacing: 0.02em;
    }

    .ed-card-body {
        padding: 1.1rem 1.25rem 1.25rem;
    }

    .ed-info-row {
        display: flex;
        justify-content: space-between;
        align-items: baseline;
        padding: 0.55rem 0;
        border-bottom: 1px dashed var(--border-soft);
        font-size: 0.9rem;
    }
    .ed-info-row:last-child { border-bottom: none; padding-bottom: 0; }

    .ed-info-label {
        color: var(--text-muted);
        font-size: 0.82rem;
    }

    .ed-info-value {
        color: var(--text-dark);
        font-weight: 600;
        text-align: right;
    }

    /* ===== STAT NUMBERS (rendimiento) ===== */
    .ed-stat-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0.6rem 0;
        border-bottom: 1px dashed var(--border-soft);
    }
    .ed-stat-row:last-child { border-bottom: none; padding-bottom: 0; }

    .ed-stat-label {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        font-size: 0.85rem;
        color: var(--text-muted);
        font-weight: 500;
    }

    .ed-stat-dot {
        width: 8px; height: 8px; border-radius: 50%;
    }
    .ed-dot-win { background: #1E824C; }
    .ed-dot-draw { background: var(--gold); }
    .ed-dot-loss { background: #B23A48; }

    .ed-stat-value {
        font-family: 'Oswald', sans-serif;
        font-size: 1.4rem;
        font-weight: 600;
        color: var(--navy-deep);
    }

    /* ===== ROSTER TABLE ===== */
    .ed-table-wrap { overflow-x: auto; }

    .ed-table {
        width: 100%;
        border-collapse: separate;
        border-spacing: 0;
        font-size: 0.88rem;
    }

    .ed-table thead th {
        background: var(--navy-deep);
        color: var(--gold-light);
        font-family: 'Oswald', sans-serif;
        font-weight: 500;
        letter-spacing: 0.05em;
        text-transform: uppercase;
        font-size: 0.72rem;
        padding: 0.75rem 1rem;
        text-align: left;
        white-space: nowrap;
    }
    .ed-table thead th:first-child { border-radius: 8px 0 0 0; }
    .ed-table thead th:last-child { border-radius: 0 8px 0 0; text-align: right; }

    .ed-table tbody tr {
        background: var(--white);
        transition: background 0.15s ease;
    }
    .ed-table tbody tr:nth-child(even) { background: #FAFBFD; }
    .ed-table tbody tr:hover { background: var(--gold-pale); }

    .ed-table tbody td {
        padding: 0.7rem 1rem;
        border-bottom: 1px solid var(--border-soft);
        color: var(--text-dark);
        vertical-align: middle;
    }
    .ed-table tbody td:last-child { text-align: right; }

    .ed-player-num {
        color: var(--text-muted);
        font-weight: 600;
        font-family: 'Oswald', sans-serif;
    }

    .ed-pos-badge {
        display: inline-block;
        font-size: 0.7rem;
        font-weight: 700;
        letter-spacing: 0.04em;
        text-transform: uppercase;
        padding: 0.28rem 0.6rem;
        border-radius: 5px;
    }
    .ed-pos-por { background: #FBF3D9; color: #8A6D1D; }
    .ed-pos-def { background: #DCE9F8; color: #1E4272; }
    .ed-pos-med { background: #DFF3E4; color: #1E824C; }
    .ed-pos-del { background: #FAE1E2; color: #B23A48; }

    .ed-icon-link {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 30px;
        height: 30px;
        border-radius: 7px;
        border: 1px solid var(--border-soft);
        color: var(--navy-mid);
        margin-left: 0.3rem;
        text-decoration: none;
        transition: all 0.15s ease;
        font-size: 0.8rem;
    }
    .ed-icon-link:hover { background: var(--navy-deep); color: var(--gold-light); border-color: var(--navy-deep); }
    .ed-icon-link.ed-edit:hover { background: var(--gold); color: var(--navy-deep); border-color: var(--gold); }

    .ed-empty {
        text-align: center;
        color: var(--text-muted);
        padding: 2rem 0;
        font-size: 0.9rem;
    }

    /* ===== PARTIDOS ===== */
    .ed-match-card {
        background: var(--white);
        border: 1px solid var(--border-soft);
        border-radius: 10px;
        padding: 1rem 1.1rem;
        height: 100%;
        transition: box-shadow 0.15s ease, transform 0.15s ease;
    }
    .ed-match-card:hover {
        box-shadow: 0 6px 16px rgba(11,31,58,0.08);
        transform: translateY(-2px);
    }

    .ed-match-teams {
        display: flex;
        align-items: center;
        justify-content: space-between;
        font-weight: 600;
        font-size: 0.92rem;
        color: var(--text-dark);
    }

    .ed-match-vs {
        font-family: 'Oswald', sans-serif;
        color: var(--gold);
        font-size: 0.78rem;
        font-weight: 700;
        padding: 0 0.5rem;
    }

    .ed-match-meta {
        display: flex;
        justify-content: center;
        gap: 0.5rem;
        margin-top: 0.85rem;
    }

    .ed-chip {
        font-size: 0.72rem;
        font-weight: 600;
        padding: 0.3rem 0.65rem;
        border-radius: 20px;
        display: inline-flex;
        align-items: center;
        gap: 0.3rem;
    }
    .ed-chip-date { background: var(--navy-deep); color: var(--white); }
    .ed-chip-time { background: var(--off-white); color: var(--text-muted); border: 1px solid var(--border-soft); }

    .ed-section-title {
        display: flex;
        align-items: center;
        gap: 0.6rem;
        margin-bottom: 1rem;
    }
    .ed-section-title .ed-icon-badge {
        width: 38px; height: 38px; border-radius: 9px;
        background: var(--navy-deep); color: var(--gold-light);
        display: flex; align-items: center; justify-content: center;
    }
    .ed-section-title h5 {
        margin: 0; color: var(--navy-deep); font-size: 1.05rem;
    }

    @media (max-width: 767px) {
        .ed-team-name { font-size: 1.4rem; }
        .ed-crest-frame { width: 96px; height: 96px; margin-bottom: 0.75rem; }
        .ed-hero .row.align-items-center { text-align: center; }
    }