.player-profile-root {
        width: 100%;
        max-width: 1200px;
        margin: 0 auto;
        
        color: #000;
        text-transform: uppercase;
        box-sizing: border-box;
        padding: 15px;
    }

    /* 2. Header Area: Restricted Red Underline */
    .player-header-box {
        width: 100%;
        border-bottom: 2px solid #e1e1e1; /* Gray Divider */
        margin-bottom: 30px;
        /* inline-flex ensures the container is ONLY as wide as the name */
        display: inline-flex; 
        position: relative;
    }

    .player-name-wrap {
        position: relative;
        padding-bottom: 8px;
    }

    .player-name-wrap h1 {
        margin: 0;
        font-size: clamp(1.8rem, 5vw, 3.2rem);
        font-weight: 900;
        line-height: 1;
        letter-spacing: -1px;
        white-space: nowrap; /* Prevents name from wrapping and breaking the line */
    }

    /* The red underline restricted to text width */
    .red-line-decoration {
        position: absolute;
        bottom: -2px; /* Sits exactly on the gray border */
        left: 0;
        width: 100%; /* Spans 100% of the parent (which is now just the name) */
        height: 6px;
        background-color: #e30613;
    }

    /* 3. Layout Control */
    .player-flex-container {
        display: flex;
        flex-wrap: wrap;
        gap: 30px;
        justify-content: space-between;
        width: 100%;
    }

    .player-bio-column {
        flex: 1 1 600px;
        min-width: 300px;
        order: 1; 
    }

    /* Meta Info */
    .player-meta-info {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        margin-bottom: 30px;
    }

    .player-pos-num {
        font-weight: 900;
        line-height: 1.2;
    }

    .player-pos-num .pos { font-size: 1.6rem; }
    .player-pos-num .num { font-size: 1.8rem; margin-top: 5px; }

    .insta-icon {
        font-size: 3.2rem;
        color: #000;
    }

    /* Bio Table */
    .player-data-table {
        width: 100%;
        border-collapse: collapse;
        margin-bottom: 40px;
        font-weight: 900;
    }

    .player-data-table td {
        padding: 8px 0;
        font-size: 1rem;
    }

    .player-data-table td:first-child {
        width: 200px; 
    }

    /* 4. Statistics Grid */
    .player-stats-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        border-bottom: 2px solid #e1e1e1;
        padding-bottom: 20px;
        margin-bottom: 35px;
        gap: 10px;
    }

    .stat-title {
        font-weight: 900;
        font-size: 1.3rem;
        margin-bottom: 5px;
    }

    .stat-val {
        font-size: clamp(1.8rem, 4vw, 3rem);
        font-weight: 900;
        line-height: 1;
    }

    /* 5. Sponsor Image (Smaller) */
    .player-sponsor-box {
        margin-top: 10px;
    }

    .sponsor-title {
        font-weight: 900;
        margin-bottom: 10px;
        font-size: 1rem;
    }

    .sponsor-img {
        max-height: 155px; 
        max-width: 280px;
        height: auto;
        display: block;
        object-fit: contain;
    }

    /* 6. Image Column Management */
    .player-image-column {
        flex: 1 1 350px;
        display: flex;
        justify-content: flex-end;
        align-items: flex-start;
        order: 2;
    }

    .player-photo {
        width: 100%;
        max-width: 420px;
        height: auto;
        display: block;
        object-fit: contain;
    }

    /* 7. Mobile Responsive Logic */
    @media (max-width: 850px) {
        .player-flex-container {
            flex-direction: column;
        }

        .player-image-column {
            order: 1; 
            justify-content: center;
            margin-bottom: 20px;
            flex: 0 0 auto;
        }

        .player-bio-column {
            order: 2;
            flex: 0 0 auto;
        }

        .player-data-table td:first-child {
            width: 160px;
        }

        .player-stats-grid {
            grid-template-columns: repeat(2, 1fr);
            gap: 20px;
        }

        .player-header-box {
            display: flex; /* Centers or aligns name better on mobile */
        }
    }