/* X (Twitter) — splitv zone
   Mirrors the FB/IG/YT/TT pattern: brand bg, floating brand icons, post
   card centered with the platform-blue double border + drop shadow. The
   card content itself mimics X's actual embed: X-dark interior, white
   text, muted handle, rounded media. */

.x-splitv-wrap {
    width: 100cqw;
    height: 100cqh;
    position: relative;
    overflow: hidden;
    background: #0F0F0F;
    container-type: size;
    display: flex;
    align-items: center;
    justify-content: center;
}

.x-card {
    position: relative;
    z-index: 1;
    /* Locked at 90% height to match FB/IG/TT/LI which all hit 90% of the
       wrap height on a 16:9 TV. Width stays at 42% — same visual weight
       as the other platforms. Short text-only tweets sit centered with
       extra space; tweets with media let the media grow to fill. */
    width: 42cqw;
    min-width: 30cqw;
    max-width: 90cqw;
    height: 90cqh;
    background: #16181C;
    color: #E7E9EA;
    border: 1cqmin double #1D9BF0 !important;
    border-radius: 0 !important;
    box-shadow: 0 0.4cqmin 1.2cqmin rgba(0,0,0,0.4), 0 1.2cqmin 3cqmin rgba(0,0,0,0.55);
    padding: 2.5cqmin 3cqmin;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    display: flex;
    flex-direction: column;
    gap: 2cqmin;
    overflow: hidden;
}

.x-card-head {
    display: flex;
    align-items: center;
    gap: 1.5cqmin;
}

.x-avatar,
.x-avatar-fallback {
    width: 6cqmin;
    height: 6cqmin;
    border-radius: 50%;
    flex-shrink: 0;
    object-fit: cover;
}

.x-avatar-fallback {
    background: #1D9BF0;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3cqmin;
    font-weight: 700;
}

.x-author {
    flex: 1;
    min-width: 0;
}

.x-author-name {
    font-size: 2.4cqmin;
    font-weight: 700;
    color: #E7E9EA;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.x-author-handle {
    font-size: 1.9cqmin;
    color: #71767B;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.x-logo {
    font-size: 3.2cqmin;
    color: #E7E9EA;
    flex-shrink: 0;
}

.x-card-text {
    font-size: 3.4cqmin;
    line-height: 1.4;
    color: #E7E9EA;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.x-card-media {
    border-radius: 1.6cqmin;
    overflow: hidden;
    background: #000;
    margin-top: 1cqmin;
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.x-card-media img,
.x-card-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.x-splitv-wrap,
.x-splitv-wrap * {
    -webkit-text-stroke: 0 !important;
    text-shadow: none !important;
}
