/* =========================================
   LiveCube — Match Result Card
   ========================================= */

.lc-match-result {
    position: relative;

    width: 100%;
    max-width: 100%;

    border-radius: 8px;

    overflow: hidden;

        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);

    box-sizing: border-box;
}


/* =========================================
   Top Edge Glow
   ========================================= */

.lc-match-result::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;
    right: 0;

    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent 5%,
            rgba(120, 180, 255, 0.30) 40%,
            rgba(120, 180, 255, 0.30) 60%,
            transparent 95%
        );

    pointer-events: none;
}


/* =========================================
   Inner
   ========================================= */

.lc-match-result__inner {
    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 4px;

    padding: 4px 0;

    box-sizing: border-box;
}


/* =========================================
   Main Match Row
   ========================================= */

.lc-match-result__main-row {
    width: 100%;
    height: 68px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    direction: ltr;

    padding: 44px 20px 44px;

    box-sizing: border-box;
}


/* =========================================
   Score
   ========================================= */

.lc-match-result__score {
    width: auto;

    display: flex;
    flex-direction: column;

    align-items: flex-start;
    justify-content: center;

    gap: 12px;

    color: #F8FAFC;

    font-family: var(--font-main);
    font-size: 14px;
    font-weight: 400;

    line-height: normal;

    flex-shrink: 0;
}


/* =========================================
   Match Side
   ========================================= */

.lc-match-result__match-side {
    display: flex;

    direction: ltr;

    gap: 20px;

    align-items: center;
    justify-content: flex-end;

    flex-shrink: 0;
}


/* =========================================
   Teams
   ========================================= */

.lc-match-result__teams {
    display: flex;
    flex-direction: column;

    gap: 6px;

    height: 62px;

    align-items: flex-end;
    justify-content: center;
    direction: rtl;
    flex-shrink: 0;
}


/* =========================================
   Team
   ========================================= */

.lc-match-result__team {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}


/* =========================================
   Team Name
   ========================================= */

.lc-match-result__team-name {
    width: 90px;

    color: #F8FAFC;

    font-family: var(--font-main);
    font-size: 15px;
    font-weight: 400;

    line-height: normal;

    text-align: right;

    white-space: nowrap;

    direction: rtl;
}


/* =========================================
   Team Logo
   ========================================= */

.lc-match-result__team-logo {
    width: 24px;
    height: 29px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;
}


.lc-match-result__team-logo img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: contain;
}


/* =========================================
   Center Info
   ========================================= */

.lc-match-result__center {
    display: flex;
    flex-direction: column;

    gap: 4px;

    height: 38px;

    align-items: center;
    justify-content: center;

    flex-shrink: 0;
}


/* =========================================
   Match Status
   ========================================= */

.lc-match-result__status {
    display: flex;

    gap: 4px;

    align-items: center;
    justify-content: center;

    direction: rtl;
}


.lc-match-result__status-text {
    color: #ff8888;

    font-family: var(--font-main);
    font-size: 14px;
    font-weight: 600;

    line-height: normal;

    white-space: nowrap;
}


.lc-match-result__status svg {
    width: 12px;
    height: 10px;

    display: block;

    flex-shrink: 0;
}


/* =========================================
   Match Time
   ========================================= */

.lc-match-result__time {
    color: #22d3ee;

    font-family: var(--font-main);
    font-size: 16px;
    font-weight: 500;

    line-height: normal;

    text-align: center;
}


/* =========================================
   Meta
   ========================================= */

.lc-match-result__meta {
    width: calc(100% - 32px);

    display: flex;
    align-items: center;
    justify-content: flex-start;

    gap: 12px;

    margin-top: 12px;
    padding-top: 10px;

    border-top: 1px dashed rgba(255, 255, 255, 0.10);

    box-sizing: border-box;
}


/* =========================================
   Meta Text
   ========================================= */

.lc-match-result__meta-text {
    color: #979797;

    font-family: var(--font-main);
    font-size: 12px;
    font-weight: 400;

    line-height: normal;

    white-space: nowrap;

    direction: rtl;
}


/* =========================================
   Meta Divider
   ========================================= */

.lc-match-result__meta-divider {
    width: 1px;
    height: 15.5px;

    background: #3a3a3a;

    flex: 0 0 1px;
}

.lc-match-result {
    height: auto;
    min-height: 0;
    overflow: visible;
}

.lc-match-result__inner {
    height: auto;
    overflow: visible;
}

.lc-match-result__meta {
    display: flex;
}

/* =========================================
   Match Info
========================================= */

.lc-match-info {
    position: relative;
    width: 100%;
    max-width: 390px;
    height: 220px;

    margin-top: 16px;
    margin-inline: auto;
    padding: 0 16px;

    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: 104px 104px;

    column-gap: 12px;
    row-gap: 12px;

    box-sizing: border-box;
    direction: rtl;
}


/* =========================================
   Card
========================================= */

.lc-match-info__card {
    position: relative;

    width: 100%;
    height: 104px;

    overflow: hidden;

    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(96, 165, 250, 0.28);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), inset 0 -1px 0 rgba(59, 130, 246, 0.12), 0 4px 18px rgba(0, 0, 0, 0.24), 0 0 14px rgba(59, 130, 246, 0.10);

    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    

    box-sizing: border-box;

    isolation: isolate;
}


/* =========================================
   Image
========================================= */

.lc-match-info__image {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    z-index: 0;
}


/* =========================================
   Blur / Overlay
========================================= */

.lc-match-info__overlay {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    z-index: 1;

    background: rgba(0, 0, 0, 0.75);
}


/* =========================================
   Content
========================================= */

.lc-match-info__content {
    position: absolute;

    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);

    width: 82px;

    display: flex;
    flex-direction: column;

    justify-content: center;
    align-items: center;

    gap: 6px;

    z-index: 2;

    direction: rtl;
}


/* =========================================
   Icon
========================================= */

.lc-match-info__icon {
    display: flex;
    align-items: center;
    justify-content: center;

    color: rgba(59, 130, 246, 0.5);

    flex: 0 0 auto;
}

.lc-match-info__icon svg {
    display: block;

    width: auto;
    height: auto;
}


/* =========================================
   Icon Sizes
========================================= */

.lc-match-info__icon--stadium {
    width: 72px;
    height: 48.15px;
}

.lc-match-info__icon--stadium svg {
    width: 72px;
    height: 48.15px;
}


.lc-match-info__icon--league {
    width: 30.69px;
    height: 43px;
}

.lc-match-info__icon--league svg {
    width: 30.69px;
    height: 43px;
}


.lc-match-info__icon--time {
    margin-top: 16px;
    width: 75px;
    height: 50px;
}

.lc-match-info__icon--time svg {
    width: 75px;
    height: 50px;
}


.lc-match-info__icon--date {
    width: 38.58px;
    height: 49.31px;
}

.lc-match-info__icon--date svg {
    width: 38.58px;
    height: 49.31px;
}


/* =========================================
   Title
========================================= */

.lc-match-info__title {
    width: auto;
    height: 23px;

    display: flex;
    align-items: center;
    justify-content: center;


    align-self: stretch;

    font-family: "Modam", sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 23px;

    color: #F8FAFC;

    text-align: center;

    white-space: nowrap;

    direction: rtl;
}

.lc-match-info__card--time .lc-match-info__content {
    top: calc(50% - 8px);
}

/* ========================================================
   MODERN FLAT FOOTBALL PITCH (HIGH-END MINIMALIST)
======================================================== */

.lc-match-lineup__pitch {
    position: relative;

    height: auto;
    width: calc(100% - 32px);
    max-width: 370px;

    margin-top: 24px;
    margin-left: auto;
    margin-right: auto;

    background: linear-gradient(180deg, #051a0c 0%, #072411 50%, #051a0c 100%);
    border: 2px solid rgba(255, 255, 255, 0.25);
    border-radius: 8px;
    overflow: hidden;

    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.45),
        inset 0 0 100px rgba(0, 0, 0, 0.5);
}

.lc-match-lineup__pitch::after {
    content: '';
    position: absolute;
    inset: 0;

    background: radial-gradient(
        circle at 50% 50%,
        rgba(255, 255, 255, 0.08) 0%,
        transparent 75%
    );

    pointer-events: none;
    z-index: 1;
}

.lc-match-lineup__pitch::before {
    display: none !important;
}

.lc-match-lineup__pitch-line {
    position: absolute;
    top: 50%; left: 0; right: 0;
    height: 2px;
    background: rgba(255, 255, 255, 0.25);
    z-index: 2;
}

.lc-match-lineup__pitch-circle {
    position: absolute;
    top: 50%; left: 50%;
    width: 110px; height: 110px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.25);
    transform: translate(-50%, -50%);
    z-index: 2;
}

.lc-match-lineup__pitch-circle::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 8px; height: 8px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.lc-match-lineup__goal-area-top,
.lc-match-lineup__goal-area-bottom {
    position: absolute;
    left: 50%;
    width: 220px;
    height: 92px;
    transform: translateX(-50%);
    border: 2px solid rgba(255, 255, 255, 0.25);
    z-index: 2;
}

.lc-match-lineup__goal-area-top {
    top: 0;
    border-top: none;
}

.lc-match-lineup__goal-area-bottom {
    bottom: 0;
    border-bottom: none;
}

.lc-match-lineup__goal-box-top,
.lc-match-lineup__goal-box-bottom {
    position: absolute;
    left: 50%;
    width: 98px;
    height: 42px;
    transform: translateX(-50%);
    border: 2px solid rgba(255, 255, 255, 0.22);
    z-index: 2;
}

.lc-match-lineup__goal-box-top {
    top: 0;
    border-top: none;
}

.lc-match-lineup__goal-box-bottom {
    bottom: 0;
    border-bottom: none;
}


/* ========================================================
   MODERN MINIMALIST FOOTBALL JERSEY & PLAYERS
======================================================== */

.lc-match-lineup__player-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 64px;
    text-align: center;
    transition: transform 0.2s ease, filter 0.2s ease;
    filter: drop-shadow(0 8px 16px rgba(0,0,0,0.6));
}

.lc-match-lineup__player-node:hover {
    transform: scale(1.15);
    z-index: 20;
}

.lc-match-lineup__player-number {
    width: 32px;
    height: 32px;
    border-radius: 0%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 6px;
    font-size: 10px;
    font-weight: 400;
    color: #F8FAFC;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    clip-path: polygon(
        28% 0%, 72% 0%,
        72% 22%, 100% 22%,
        88% 52%, 82% 52%,
        82% 100%, 18% 100%,
        18% 52%, 12% 52%,
        0% 22%, 28% 22%
    );
    position: relative;
    padding-top: 2px;
}

.lc-match-lineup__player-number::after {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 11px;
    height: 6px;
    background: rgba(255, 255, 255, 0.25);
    clip-path: polygon(0% 0%, 100% 0%, 50% 100%);
}

.lc-match-lineup__player-number::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255,255,255,0.08) 50%, transparent 50%);
    pointer-events: none;
}

.lc-match-lineup__player-name,
.lc-match-lineup__pitch-player-name {
    font-size: 12px;
    font-weight: 400;
    white-space: nowrap;
    color: #e0f0ff;
    text-shadow:
        0 2px 4px rgba(0,0,0,0.9),
        0 0 6px rgba(15, 23, 42, 0.6);
    line-height: 1.25;
    letter-spacing: 0.3px;
    margin-top: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}


/* =========================
   PITCH STRUCTURE & ROWS
========================= */

.lc-match-lineup__home-half,
.lc-match-lineup__away-half {
    height: 340px;
    position: relative;
    z-index: 2;
}

.lc-match-lineup__center-zone {
    position: relative;
    height: 70px;
}

.lc-match-lineup__pitch-row {
    position: absolute;
    left: 0; right: 0;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding: 0 4px;
}


/* HOME ROWS */

.lc-match-lineup__home-half .row-1 { top: 3%; }
.lc-match-lineup__home-half .row-2 { top: 25%; }
.lc-match-lineup__home-half .row-3 { top: 51%; }
.lc-match-lineup__home-half .row-4 { top: 72%; }
.lc-match-lineup__home-half .row-5 { top: 89%; }


/* AWAY ROWS */

.lc-match-lineup__away-half .row-1 { bottom: 1%; }
.lc-match-lineup__away-half .row-2 { bottom: 25%; }
.lc-match-lineup__away-half .row-3 { bottom: 51%; }
.lc-match-lineup__away-half .row-4 { bottom: 72%; }
.lc-match-lineup__away-half .row-5 { bottom: 89%; }


/* 4 rows adjustments */

.lc-match-lineup__home-half.rows-4 .row-1 { top: 3%; }
.lc-match-lineup__home-half.rows-4 .row-2 { top: 25%; }
.lc-match-lineup__home-half.rows-4 .row-3 { top: 55%; }
.lc-match-lineup__home-half.rows-4 .row-4 { top: 85%; }

.lc-match-lineup__away-half.rows-4 .row-1 { bottom: 3%; }
.lc-match-lineup__away-half.rows-4 .row-2 { bottom: 27%; }
.lc-match-lineup__away-half.rows-4 .row-3 { bottom: 55%; }
.lc-match-lineup__away-half.rows-4 .row-4 { bottom: 85%; }


/* TEAM HUD OVERLAYS */

.lc-match-lineup__home-info,
.lc-match-lineup__away-info {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    z-index: 30;
    color: #F8FAFC;
    font-weight: 600;
    text-shadow: 0 2px 6px rgba(0,0,0,0.6);
}

.lc-match-lineup__home-info {
    top: 14px;
    right: 14px;
}

.lc-match-lineup__away-info {
    bottom: 14px;
    left: 14px;
}

.lc-match-lineup__team-logo {
    width: 28px;
    height: 28px;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.5));
    border-radius: 8px;
}

.lc-match-lineup__formation {
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.5px;
    background:
        linear-gradient(
            95.65deg,
            rgba(59, 130, 246, 0)
            36.98%,
            rgba(59, 130, 246, 0.49)
            88.43%
        ),
        rgba(59, 130, 246, 0.32);
    padding: 2px 10px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.2);
}

.lc-match-lineup__status {
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    padding: 10px 18px;
    margin-bottom: 12px;
    border-radius: 9999px;
    background: linear-gradient(90deg, #1e40af, #3b82f6);
    color: white;
    box-shadow: 0 6px 16px rgba(30, 64, 175, 0.3);
    border: 1px solid rgba(255,255,255,0.3);
}

/* .lc-match-lineup__pitch {
    margin-bottom: 110px;
} */

.lc-match-lineup__away-half.rows-5 .row-4 {
    transform: translateY(25px);
}

.lc-match-lineup__home-half.rows-5 .row-4 {
    transform: translateY(-25px);
}

/* Move outer players in 3-player rows */
.lc-match-lineup__home-half.rows-5
.lc-match-lineup__pitch-row:has(> .lc-match-lineup__player-node:nth-child(3):last-child)
> .lc-match-lineup__player-node:first-child,

.lc-match-lineup__away-half.rows-5
.lc-match-lineup__pitch-row:has(> .lc-match-lineup__player-node:nth-child(3):last-child)
> .lc-match-lineup__player-node:first-child {
    transform: translate(10px, -12px);
}

.lc-match-lineup__home-half.rows-5
.lc-match-lineup__pitch-row:has(> .lc-match-lineup__player-node:nth-child(3):last-child)
> .lc-match-lineup__player-node:last-child,

.lc-match-lineup__away-half.rows-5
.lc-match-lineup__pitch-row:has(> .lc-match-lineup__player-node:nth-child(3):last-child)
> .lc-match-lineup__player-node:last-child {
    transform: translate(-10px, -12px);
}

/* HOME: move two-player row upward */
.lc-match-lineup__home-half.rows-5
.lc-match-lineup__pitch-row:has(> .lc-match-lineup__player-node:nth-child(2):last-child)
> .lc-match-lineup__player-node {
    translate: 0 32px;
}

/* AWAY: mirrored vertical adjustment */
.lc-match-lineup__away-half.rows-5
.lc-match-lineup__pitch-row:has(> .lc-match-lineup__player-node:nth-child(2):last-child)
> .lc-match-lineup__player-node {
    translate: 0 12px;
}

.match-lineup-empty {
    width: calc(100% - 32px);
    max-width: 370px;
    min-height: 220px;
    margin: 24px auto 0;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: 28px 20px;
    box-sizing: border-box;

    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%
        ),
        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);
}

.match-lineup-empty__image {
    width: 110px;
    height: 110px;
    margin-bottom: 18px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.match-lineup-empty__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.match-lineup-empty__text {
    color: #F8FAFC;
    font-family: "Modam", sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 22px;
    text-align: center;
}

/* ========================================================
   MATCH EVENTS — FINAL
======================================================== */

.lc-match-events {
    width: 100%;
    margin-top: 24px;
    padding: 0 16px 110px;

    box-sizing: border-box;
}


/* ========================================================
   Card
======================================================== */

.lc-match-events__card {
    width: 100%;
    max-width: 370px;
    margin-inline: auto;

    display: grid;
    grid-template-columns: 1fr 1fr;

    direction: ltr;

    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-radius: 8px;

    border: 1px solid rgba(96, 165, 250, 0.28);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), inset 0 -1px 0 rgba(59, 130, 246, 0.12), 0 4px 18px rgba(0, 0, 0, 0.24), 0 0 14px rgba(59, 130, 246, 0.10);

    overflow: hidden;
    box-sizing: border-box;
}


/* =========================================================
   LIVE MATCH EVENTS
   ========================================================= */

.lc-live-event {
    display: flex;
    flex-direction: column;
    
    

    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, .04),
        rgba(255, 255, 255, .02)
    );

    transition:
        background .15s ease,
        border-color .15s ease;
}

.lc-live-event:hover {
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, .06),
        rgba(255, 255, 255, .03)
    );

    border-color: rgba(255, 255, 255, .10);
}

.lc-live-event__team {
    display: flex;
    align-items: center;
    gap: 10px;
}

.lc-live-event__logo {
    width: 18px;
    height: 18px;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 50%;
}

.lc-live-event__icon {
    flex-shrink: 0;
}

.lc-live-event__player {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.lc-live-event__player-name {
    font-size: 12px;
    font-weight: 400;
    color: #F8FAFC;
}

.lc-live-event__assist {
    font-size: 12px;
    color: var(--muted);
}

.lc-live-event__tag {
    font-size: 12px;
    color: #bcaeff;
    margin-right: 4px;
    text-shadow: 0 0 8px rgba(124, 92, 255, .22);
}

.lc-live-event__minute {
    font-size: 14px;
    color: var(--muted);
}


/* =========================================
   Event
========================================= */

.lc-live-event {
    width: 100%;
    min-height: 64px;

    display: flex;
    align-items: center;

    padding: 8px 16px;

    box-sizing: border-box;

    background: transparent;
    direction: rtl;

    position: relative;
}


/* =========================================
   Team Position
========================================= */

.lc-live-event--home {
    grid-column: 2;
    margin-top: 8px;
}

.lc-live-event--away {
    grid-column: 1;
    margin-top: 8px;
}


/* =========================================
   Event Content
========================================= */

.lc-live-event__team {
    width: 100%;

    display: flex;
    align-items: center;

    gap: 8px;

    min-width: 0;

    direction: rtl;
}


/* =========================================
   Event Icon
========================================= */

.lc-live-event__icon {
    width: 24px;
    height: 24px;

    flex: 0 0 24px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 17px;
    line-height: 1;

    opacity: 0.95;
}


/* =========================================
   Player
========================================= */

.lc-live-event__player {
    min-width: 0;

    display: flex;
    flex-direction: column;

    gap: 2px;
}


/* =========================================
   Player Name
========================================= */

.lc-live-event__player-name {
    display: flex;
    align-items: center;

    gap: 5px;

    font-family: "Modam", sans-serif;

    font-size: 14px;
    font-weight: 500;

    line-height: 20px;

    color: #F2F5FF;

    white-space: nowrap;
}


/* =========================================
   Event Tag
========================================= */

.lc-live-event__tag {
    display: inline-flex;
    align-items: center;

    font-family: "ModamFaNum", "Modam", sans-serif;

    font-size: 10px;
    font-weight: 600;

    line-height: 16px;

    color: #BCAEFF;

    margin: 0;

    text-shadow: 0 0 8px rgba(124, 92, 255, 0.22);
}


/* =========================================
   Assist
========================================= */

.lc-live-event__assist {
    font-family: "Modam", sans-serif;

    font-size: 11px;
    font-weight: 400;

    line-height: 17px;

    color: #7F8CA3;

    white-space: nowrap;
}


/* =========================================
   Minute
========================================= */

.lc-live-event__minute {
    flex: 0 0 auto;

    margin-inline-start: 10px;

    font-family: "ModamFaNum", "Modam", sans-serif;

    font-size: 12px;
    font-weight: 500;

    line-height: 18px;

    color: #AEB8C8;

    white-space: nowrap;
}


/* =========================================
   Subtle separator between events
========================================= */

.lc-live-event + .lc-live-event::before {
    content: "";

    position: absolute;

    top: 0;
    left: 16px;
    right: 16px;

    height: 1px;

    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.035) 15%,
        rgba(255, 255, 255, 0.07) 50%,
        rgba(255, 255, 255, 0.035) 85%,
        transparent 100%
    );
}


/* =========================================
   Mobile
========================================= */

@media (max-width: 402px) {

    .lc-live-event {
        padding-left: 10px;
        padding-right: 10px;
    }

    .lc-live-event__player-name {
        font-size: 13px;
    }

    .lc-live-event__assist {
        font-size: 10px;
    }

    .lc-live-event__minute {
        font-size: 11px;
    }
}

.lc-match-events__empty {
    width: calc(100% - 16px);
    max-width: 370px;
    min-height: 220px;
    margin: 24px auto 0;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: 28px 20px;
    box-sizing: border-box;

    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%
        ),
        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-match-events__empty-image {
    width: 110px;
    height: 110px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 18px;
}

.lc-match-events__empty-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.lc-match-events__empty-text {
    color: #F8FAFC;

    font-family: "Modam", sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 22px;

    text-align: center;
}

.live-stats-empty {
    width: 100%;
    min-height: 220px;
    margin: 0;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: 28px 20px;
    box-sizing: border-box;

    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%
        ),
        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-match-events__card:has(.live-stats-empty) {
    display: block;
}

.live-stats-empty__image {
    width: 110px;
    height: 110px;
    margin-bottom: 18px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.live-stats-empty__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.live-stats-empty__text {
    color: #F8FAFC;
    font-family: "Modam", sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 22px;
    text-align: center;
}

/* ========================================================
   SUMMARY EVENTS
======================================================== */

.lc-summary-events {
    width: 100%;

    margin-top: 24px;
    padding: 0 16px 110px;

    box-sizing: border-box;
}


/* ========================================================
   Card
======================================================== */

.lc-summary-events__card {
    position: relative;

    width: 100%;
    max-width: 370px;

    margin-left: auto;
    margin-right: auto;

    display: grid;
    grid-template-columns: 1fr 1fr;

    direction: ltr;

    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);
    border-radius: 8px;

    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);

    overflow: hidden;
    box-sizing: border-box;
}


/* ========================================================
   Center Divider
======================================================== */

.lc-summary-events__card::after {
    content: "";

    position: absolute;

    top: 0;
    bottom: 0;
    left: 50%;

    width: 1px;

    transform: translateX(-50%);

    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(255, 255, 255, 0.025) 8%,
        rgba(255, 255, 255, 0.05) 50%,
        rgba(255, 255, 255, 0.025) 92%,
        transparent 100%
    );

    pointer-events: none;
}


/* ========================================================
   Columns
======================================================== */

.lc-summary-events__column {
    min-width: 0;

    display: grid;

    grid-auto-rows: 82px;
    align-content: start;

    padding: 0 12px;

    box-sizing: border-box;
}


/* ========================================================
   Event
======================================================== */

.lc-summary-event {
    position: relative;

    width: 100%;
    height: 82px;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: flex-start;

    padding-top: 11px;

    box-sizing: border-box;

    direction: rtl;
}


/* ========================================================
   Separator
======================================================== */

.lc-summary-event + .lc-summary-event::before {
    content: "";

    position: absolute;

    top: 0;
    left: 10px;
    right: 10px;

    height: 1px;

    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.025) 15%,
        rgba(255, 255, 255, 0.065) 50%,
        rgba(255, 255, 255, 0.025) 85%,
        transparent 100%
    );
}


/* ========================================================
   Main Event
======================================================== */

.lc-summary-event__main {
    width: 100%;
    height: 24px;

    display: grid;

    grid-template-columns: 1fr auto 1fr;

    align-items: center;

    box-sizing: border-box;

    white-space: nowrap;
}

/* =========================================
   Fixed Icon Alignment
========================================= */

.lc-summary-event__player {
    grid-column: 2;

    min-width: 0;

    text-align: center;
}


/* Away — icon toward center */

.lc-summary-events__column--away
.lc-summary-event__icon,

.lc-summary-events__column--away
.lc-summary-event__card {
    grid-column: 3;

    position: static;

    transform: none;
}


/* Home — icon toward center */

.lc-summary-events__column--home
.lc-summary-event__icon,

.lc-summary-events__column--home
.lc-summary-event__card {
    grid-column: 1;

    position: static;

    transform: none;
}

/* ========================================================
   Player
======================================================== */

.lc-summary-event__player {
    display: block;

    font-family: "Modam", sans-serif;

    font-size: 14px;
    font-weight: 500;

    line-height: 20px;

    color: #F2F5FF;

    white-space: nowrap;
}


/* ========================================================
   Goal Icon
======================================================== */

.lc-summary-event__icon {
    width: 22px;
    height: 22px;

    flex: 0 0 22px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 17px;
    line-height: 1;
}


/* ========================================================
   Cards
======================================================== */

.lc-summary-event__card {
    width: 11px;
    height: 15px;

    flex: 0 0 11px;

    display: block;

    border-radius: 2px;

    box-shadow:
        0 0 6px rgba(255, 255, 255, 0.04);
}


.lc-summary-event__card--yellow {
    background: #FFF700;
}


.lc-summary-event__card--red {
    background: #D30000;
}


/* ========================================================
   Assist
======================================================== */

.lc-summary-event__assist {
    height: 17px;

    margin-top: 1px;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 4px;

    font-family: "Modam", sans-serif;

    font-size: 10px;
    font-weight: 400;

    line-height: 16px;

    color: #7F8CA3;

    white-space: nowrap;
}


/* ========================================================
   Minute
======================================================== */

.lc-summary-event__minute {
    width: 100%;
    height: 18px;

    margin-top: 2px;

    display: flex;

    align-items: center;
    justify-content: center;

    font-family: "ModamFaNum", "Modam", sans-serif;

    font-size: 11px;
    font-weight: 500;

    line-height: 18px;

    color: #AEB8C8;

    white-space: nowrap;
}


/* ========================================================
   Empty
======================================================== */

.lc-summary-events__empty {
    width: calc(100% - 16px);
    max-width: 370px;

    min-height: 220px;

    margin: 24px auto 0;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    padding: 28px 20px;

    box-sizing: border-box;

    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(96, 165, 250, 0.28);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), inset 0 -1px 0 rgba(59, 130, 246, 0.12), 0 4px 18px rgba(0, 0, 0, 0.24), 0 0 14px rgba(59, 130, 246, 0.10);

    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
}


.lc-summary-events__empty-image {
    width: 110px;
    height: 110px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 18px;
}


.lc-summary-events__empty-image img {
    width: 100%;
    height: 100%;

    object-fit: contain;
}


.lc-summary-events__empty-text {
    color: #F8FAFC;

    font-family: "Modam", sans-serif;

    font-size: 14px;
    font-weight: 500;

    line-height: 22px;

    text-align: center;
}


/* ========================================================
   Mobile
======================================================== */

@media (max-width: 402px) {

    .lc-summary-events {
        padding-left: 16px;
        padding-right: 16px;
    }

    .lc-summary-events__column {
        grid-auto-rows: 80px;

        padding-left: 8px;
        padding-right: 8px;
    }

    .lc-summary-event {
        height: 80px;
    }

    .lc-summary-event__player {
        font-size: 13px;
    }

    .lc-summary-event__assist {
        font-size: 10px;
    }

    .lc-summary-event__minute {
        font-size: 10px;
    }
}

/* =========================================
   Match detail
   ========================================= */

.match-detail {
    width: 100%;
    padding: 0 16px 0;
    margin-top: 24px;
    box-sizing: border-box;
}

.match-detail__card {
    width: 100%;
    max-width: 369px;
    height: auto;
    /* min-height: 440px; */
    
    margin: 0 auto;

    padding-top: 24px;
    padding-bottom: 24px;

    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(96, 165, 250, 0.28);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), inset 0 -1px 0 rgba(59, 130, 246, 0.12), 0 4px 18px rgba(0, 0, 0, 0.24), 0 0 14px rgba(59, 130, 246, 0.10);


    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 8px;

    box-sizing: border-box;
}

.match-detail__row {
    position: relative;
    width: 100%;
    height: 24px;
}

.match-detail__row + .match-detail__row {
    margin-top: 16px;
}


/* -------------------------
   CENTER
------------------------- */

/* خط وسط */
.match-detail__center {
    position: absolute;
    left: 50%;
    top: 0;

    width: 236px;
    height: 24px;

    transform: translateX(-50%);

    z-index: 1;

    display: flex;
    align-items: center;
    justify-content: center;

    background: linear-gradient(
        90deg,
        rgba(34, 34, 34, 0.4) 0%,
        rgba(59, 59, 59, 0.4) 50.5%,
        rgba(34, 34, 34, 0) 100%
    );

    color: #F8FAFC;

    font-family: "Modam", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
}

/* -------------------------
   LEFT / RIGHT
------------------------- */

.match-detail__side {
    position: absolute;

    top: 0;
    height: 24px;

    display: flex;
    align-items: center;

    background: #3a3a3a;

    border-radius: 80px;

    color: #F8FAFC;

    font-family: "Modam", sans-serif;
    font-size: 12px;
    font-weight: 600;
    line-height: 17px;

    box-sizing: border-box;
}

/* خط چپ */
.match-detail__side--left {
    position: absolute;
    left: 22px;
    top: 0;

    width: var(--away-width);
    height: 24px;

    z-index: 2;

    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;

    padding: 0 8px 0 12px;

    background: #3a3a3a;
    border-radius: 80px;
}

/* خط راست */
.match-detail__side--right {
    position: absolute;
    right: 22px;
    top: 0;

    width: var(--home-width);
    height: 24px;

    z-index: 2;

    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;

    padding: 0 12px 0 8px;

    background: #3a3a3a;
    border-radius: 80px;
}

/* -------------------------
   BLUE DOT
------------------------- */

.match-detail__dot {
    width: 8px;
    height: 8px;

    flex: 0 0 8px;

    border-radius: 50%;

    background: #3b82f6;
}

.match-stats-empty {
    width: 100%;
}

.match-stats-empty__box {
    width: calc(100% - 32px);
    max-width: 370px;
    min-height: 220px;
    margin: 24px auto 0;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: 28px 20px;
    box-sizing: border-box;

    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%
        ),
        var(--color-glass-blue);

    border: 1px solid rgba(96, 165, 250, 0.28);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), inset 0 -1px 0 rgba(59, 130, 246, 0.12), 0 4px 18px rgba(0, 0, 0, 0.24), 0 0 14px rgba(59, 130, 246, 0.10);


    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.match-stats-empty__image {
    width: 110px;
    height: 110px;
    margin-bottom: 18px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.match-stats-empty__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.match-stats-empty__text {
    color: #F8FAFC;
    font-family: "Modam", sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 22px;
    text-align: center;
}

/* HOME - Formation 5 - Row 4 */

.lc-match-lineup__home-half.rows-5
.lc-match-lineup__pitch-row.row-4
> .lc-match-lineup__player-node:first-child,

.lc-match-lineup__home-half.rows-5
.lc-match-lineup__pitch-row.row-4
> .lc-match-lineup__player-node:last-child {
    translate: 0 44px;
}

/* HOME - 5 rows - Move Row 3 upward */

.lc-match-lineup__home-half.rows-5 .row-3 {
    top: 48%;
}

/* AWAY - Formation 5 - Row 4 */
/* Move only outer players toward midfield */

/* AWAY - Formation 5 - Row 4 - Only 2 players */

.lc-match-lineup__away-half.rows-5
.lc-match-lineup__pitch-row.row-4:has(> .lc-match-lineup__player-node:nth-child(2):last-child)
> .lc-match-lineup__player-node {
    transform: translateY(-32px);
}

/* HOME - Row 3 - Exactly 4 players */

.lc-match-lineup__home-half.rows-5
.lc-match-lineup__pitch-row.row-3:has(> .lc-match-lineup__player-node:nth-child(4):last-child)
> .lc-match-lineup__player-node {
    translate: 0 16px;
}

/* HOME - Row 4 - Exactly 1 player */

.lc-match-lineup__home-half.rows-5
.lc-match-lineup__pitch-row.row-4:has(> .lc-match-lineup__player-node:only-child)
> .lc-match-lineup__player-node {
    translate: 0 12px;
}

/* AWAY - Row 3 - Exactly 4 players */

/*.lc-match-lineup__away-half.rows-5*/
/*.lc-match-lineup__pitch-row.row-3:has(> .lc-match-lineup__player-node:nth-child(4):last-child)*/
/*> .lc-match-lineup__player-node {*/
/*    translate: 0 -12px;*/
/*}*/


/* AWAY - Row 4 - Exactly 1 player */

/*.lc-match-lineup__away-half.rows-5*/
/*.lc-match-lineup__pitch-row.row-4:has(> .lc-match-lineup__player-node:only-child)*/
/*> .lc-match-lineup__player-node {*/
/*    translate: 0 12px;*/
/*}*/

/* HOME - Row 5 - Exactly 2 players */

.lc-match-lineup__home-half.rows-5
.lc-match-lineup__pitch-row.row-5:has(> .lc-match-lineup__player-node:nth-child(2):last-child)
> .lc-match-lineup__player-node {
    translate: 0 -12px;
}

/* AWAY - Row 5 - Exactly 2 players */

/*.lc-match-lineup__away-half.rows-5*/
/*.lc-match-lineup__pitch-row.row-5:has(> .lc-match-lineup__player-node:nth-child(2):last-child)*/
/*> .lc-match-lineup__player-node {*/
/*    translate: 0 12px;*/
/*}*/