/* =========================================
   LiveCube — Live Results
   ========================================= */

.lc-live-results {
    width: 100%;
    padding: 0px 16px 24px;
    direction: rtl;
    overflow: hidden;
    transform: translateY(-16px);
}

/* =========================================
   Section Header
   ========================================= */

.lc-live-results__header {
    width: 100%;
    height: 44px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 16px;
}


/* Live Results Title */

.lc-live-results__title {
    display: flex;
    align-items: center;

    gap: 4px;

    flex-shrink: 0;
}

.lc-live-results__title-icon {
    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;
}

.lc-live-results__title-icon svg {
    width: 40px;
    height: 40px;

    display: block;
}

.lc-live-results__title-text {
    margin: 0;
    color: #f8fafc;
    font-family: var(--font-main);
    font-size: 22px;
    font-weight: 500;
    line-height: normal;
    text-align: right;
    white-space: nowrap;
}


/* View All */

.lc-live-results__view-all {
    display: flex;
    align-items: center;

    gap: 0;

    padding: 0;
    margin: 0;

    border: 0;
    background: transparent;

    color: #ffffff;

    font-family: var(--font-main);

    cursor: pointer;

    flex-shrink: 0;

    -webkit-tap-highlight-color: transparent;
}

.lc-live-results__view-all-text {
    font-size: 18px;
    font-weight: 400;
    line-height: normal;

    color: #ffffff;

    white-space: nowrap;
}

.lc-live-results__view-all-icon {
    width: 24px;
    height: 24px;

    display: block;

    margin-right: -1px;

    flex-shrink: 0;
}


/* =========================================
   Cards Scroller
   ========================================= */

.lc-live-results__scroller {
    width: 100%;

    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;

    align-items: center;

    gap: 6px;

    direction: rtl;

    overflow-x: auto;
    overflow-y: hidden;

    padding: 2px 2px 8px;

    scrollbar-width: none;

    -webkit-overflow-scrolling: touch;
}

.lc-live-results__scroller::-webkit-scrollbar {
    display: none;
}


/* فقط وقتی دقیقاً یک کارت وجود دارد */
.lc-live-results__scroller:has(.lc-live-card:only-child) {
    justify-content: center;
    overflow-x: hidden;
}

/* =========================================
   Live Card
   ========================================= */

.lc-live-card {
    position: relative;
    width: 330px;
    min-width: 330px;
    height: 149px;
    flex: 0 0 330px;
    overflow: hidden;
    border-radius: 8px;
    direction: rtl;
}

/* =========================================
   Wave
   ========================================= */

.lc-live-card__wave {
    position: absolute;

    left: 0;
    top: 6.27px;

    width: 100%;
    height: 142px;

    pointer-events: none;

    z-index: 0;
}

.lc-live-card__wave svg {
    width: 100%;
    height: 100%;

    display: block;
}


/* =========================================
   Top Row
   ========================================= */

.lc-live-card__top-row {
    position: absolute;

    left: 50%;
    top: 16.7px;

    transform: translateX(-50%);

    width: 290px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    z-index: 3;
}


/* Live */

.lc-live-card__live {
    display: flex;
    align-items: center;

    gap: 4px;

    flex-shrink: 0;
}

.lc-live-card__live svg {
    width: 10.4px;
    height: 9.6px;

    display: block;
}

.lc-live-card__live span {
    color: #ff8888;

    font-family: var(--font-main);
    font-size: 14px;
    font-weight: 500;

    line-height: 1;
}


/* League */

.lc-live-card__league {
    color: #d9d9d9;

    font-family: var(--font-main);
    font-size: 11px;
    font-weight: 300;

    margin-right: -8px;

    line-height: 1;

    white-space: nowrap;
}


/* =========================================
   Teams Row
   ========================================= */

.lc-live-card__teams-row {
    position: absolute;
    left: 50%;
    top: calc(45% + 23.2px);
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    gap: 14px;
    z-index: 3;
}


/* =========================================
   Team
   ========================================= */

.lc-live-card__team {
    position: relative;
    width: 85px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}


/* Team Logo */

.lc-live-card__logo {
    width: 42px;
    height: 42px;
    flex: 0 0 54px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    overflow: hidden;
}

.lc-live-card__logo img {
    width: 100%;
    height: 100%;

    display: block;
    object-fit: contain;
    object-position: center;

    border-radius: 50%;
}


/* Team Name */

.lc-live-card__team-name {
    width: 100%;

    color: #d9d9d9;

    font-family: var(--font-main);
    font-size: 12px;
    font-weight: 600;

    line-height: 1.2;

    text-align: center;

    white-space: nowrap;

    overflow: hidden;
    text-overflow: ellipsis;
}


/* =========================================
   Favorite
   ========================================= */

.lc-live-card__favorite {
    position: absolute;
    top: 2px;
    width: 17px;
    height: 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    line-height: 0;
    z-index: 4;
    transform: translateY(-16px);
}

.lc-live-card__favorite svg {
    width: 17px;
    height: 17px;

    display: block;
}

.lc-live-card__team:first-child
.lc-live-card__favorite {
    right: 6px;
}

.lc-live-card__team:last-child
.lc-live-card__favorite {
    left: 6px;
}


/* =========================================
   Score Column
   ========================================= */

.lc-live-card__score-column {
    width: 83.3px;

    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 11.2px;

    flex-shrink: 0;
}


/* Score Box */

.lc-live-card__score-box {
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 10.4px 0;

    border-radius: 8px;

        background:
    radial-gradient(
        ellipse at 85% 50%,
        rgba(59, 130, 246, 0.10) 0%,
        rgba(59, 130, 246, 0.035) 35%,
        transparent 70%
    ),
    linear-gradient(
        212.16deg,
        rgba(0, 0, 0, 0) 51.23%,
        rgba(59, 130, 246, 0.0988) 100.43%
    ),
    rgba(59, 130, 246, 0.05);

    border: 1px solid rgba(59, 130, 246, 0.18);
   

    box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    inset 0 -1px 0 rgba(59, 130, 246, 0.08),
    0 4px 24px rgba(0, 0, 0, 0.32),
    0 0 18px rgba(59, 130, 246, 0.08),
    0 0 42px rgba(59, 130, 246, 0.035);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}


/* Score */

.lc-live-card__score {
    color: #f8fafc;

    font-family: var(--font-main);
    font-size: 22.4px;
    font-weight: 500;

    line-height: 1;

    white-space: nowrap;
}


/* Time */

.lc-live-card__time {
    width: 100%;

    color: #22d3ee;

    font-family: var(--font-main);
    font-size: 14px;
    font-weight: 300;

    line-height: 1;

    text-align: center;
}

.lc-live-empty {
    width: 100%;
    height: 150px;
    max-height: 150px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    border-radius: 8px;

    box-sizing: border-box;

        background:
        radial-gradient(
            ellipse at 85% 50%,
            rgba(59, 130, 246, 0.10) 0%,
            rgba(59, 130, 246, 0.035) 35%,
            transparent 70%
        ),
        linear-gradient(
            212.16deg,
            rgba(0, 0, 0, 0) 51.23%,
            rgba(59, 130, 246, 0.0988) 100.43%
        ),
        var(--color-glass-blue);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.07),
        inset 0 -1px 0 rgba(59, 130, 246, 0.08),
        0 4px 24px rgba(0, 0, 0, 0.32),
        0 0 18px rgba(59, 130, 246, 0.08),
        0 0 42px rgba(59, 130, 246, 0.035);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.lc-live-empty__image {
    width: 190px;
    height: 70px;
    margin-bottom: 8px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.lc-live-empty__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.lc-live-empty__text {
    color: #F8FAFC;
    font-family: "Modam", sans-serif;
    font-size: 13px;
    font-weight: 500;
    line-height: 20px;
    text-align: center;
}