/* Kisure Frontend v399: universal single-competition ticker, social embeds and article share rail. */

.football-header-ticker__empty {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    width: 100%;
    min-height: 50px;
    padding: 0.55rem 0.85rem;
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    text-decoration: none;
}

.football-header-ticker__empty > i:first-child {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
}

.football-header-ticker__empty span {
    display: grid;
    gap: 0.08rem;
    min-width: 0;
    flex: 1 1 auto;
}

.football-header-ticker__empty strong,
.football-header-ticker__empty small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.football-header-ticker__empty strong {
    font-size: 0.88rem;
    font-weight: 900;
}

.football-header-ticker__empty small {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.72rem;
}

.article-share-panel--rail {
    align-items: flex-start;
    flex-direction: column;
    gap: 1rem;
    padding: 1.15rem;
}

.article-share-panel--rail .article-share-panel__links {
    justify-content: flex-start;
    width: 100%;
}

.article-share-panel--rail .article-share-action {
    flex: 1 1 calc(50% - 0.55rem);
    min-width: 0;
}

.article-social-embed--x {
    min-height: 180px;
}

.article-social-embed--x .twitter-tweet,
.article-social-embed--x .twitter-tweet-rendered {
    margin-inline: auto !important;
}

@media (max-width: 760px) {
    body.site-body.is-news-article-page {
        padding-bottom: calc(6.4rem + env(safe-area-inset-bottom, 0px));
    }

    .article-share-panel--mobile-sticky {
        position: fixed !important;
        z-index: 1085;
        left: max(0.65rem, env(safe-area-inset-left, 0px));
        right: max(0.65rem, env(safe-area-inset-right, 0px));
        bottom: calc(0.65rem + env(safe-area-inset-bottom, 0px));
        display: block;
        width: auto;
        margin: 0;
        padding: 0.55rem;
        border: 1px solid color-mix(in srgb, var(--line) 78%, transparent);
        border-radius: 1rem;
        background: color-mix(in srgb, var(--surface) 94%, transparent);
        box-shadow: 0 18px 50px rgba(15, 23, 42, 0.24);
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
    }

    .article-share-panel--mobile-sticky .article-share-panel__heading {
        display: none;
    }

    .article-share-panel--mobile-sticky .article-share-panel__links {
        display: flex;
        flex-wrap: nowrap;
        align-items: stretch;
        justify-content: space-between;
        gap: 0.35rem;
        width: 100%;
    }

    .article-share-panel--mobile-sticky .article-share-action {
        flex: 1 1 0;
        min-width: 0;
        min-height: 3.65rem;
        padding: 0.42rem 0.2rem;
        flex-direction: column;
        gap: 0.22rem;
        border-radius: 0.75rem;
        font-size: 0.66rem;
        line-height: 1.05;
    }

    .article-share-panel--mobile-sticky .article-share-action i {
        font-size: 1rem;
    }
}

@media (max-width: 380px) {
    .article-share-panel--mobile-sticky .article-share-action span {
        font-size: 0.6rem;
    }
}
