﻿/* ======================================================
   MyLiveSchedule
   - 기존 Schedule / DayCard / LiveEntranceGrid / photo 계열과 충돌 방지
   - id="LiveEntrance"는 Razor에서 그대로 유지
   - LIVE 상태 배지: 테마와 무관하게 밝은 연두/그린 고정
   - LIVE 입장 버튼: 현재 사이트 테마 컬러 반영 + 애니메이션 유지
   - D-1 / 24시간 이내 대기 상태: 현재 사이트 테마 컬러 반영
   - LIVE 카드 보더: 실제 1px 유지
   - LIVE 카드 강조: 1px 보더 + 하단 그림자 + 안쪽 컬러감으로 처리
   ====================================================== */

.MyLiveSchedule {
    --live-on-main: #4ade80;
    --live-on-mid: #22c55e;
    --live-on-dark: #16a34a;
    --live-on-deep: #15803d;
    --live-on-soft: rgba(74, 222, 128, 0.22);
    --live-on-glow: rgba(74, 222, 128, 0.34);
    --live-on-glow-soft: rgba(34, 197, 94, 0.22);
    --mls-card-radius: 1.5rem;
    --mls-card-inset: 0.875rem;
    --mls-inner-radius: 0.8rem;
    --mls-button-radius: 0.8rem;
    --mls-card-width: 84%;
    --mls-card-gap: 2px;
    --mls-end-space: calc((100% - var(--mls-card-width)) / 2);
    --mls-start-space: min(4%, var(--mls-end-space));
    --mls-start-ratio: 1 / 1.25;
    background: transparent;
}

/* ======================================================
   Slider
   - 카드 간격 최소화
   - 첫 카드 시작 여백 유지
   - 마지막 카드 중앙 이동용 끝 여백 확보
   ====================================================== */

.MyLiveSchedule_slider {
    display: flex;
    gap: var(--mls-card-gap);
    width: 100%;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 0;
    padding: 0.5rem 0 5rem;
    box-sizing: border-box;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
    user-select: none;
}

    .MyLiveSchedule_slider::before {
        content: "";
        flex: 0 0 var(--mls-start-space);
        width: var(--mls-start-space);
        min-width: var(--mls-start-space);
        pointer-events: none;
    }

    .MyLiveSchedule_slider::after {
        content: "";
        flex: 0 0 var(--mls-end-space);
        width: var(--mls-end-space);
        min-width: var(--mls-end-space);
        pointer-events: none;
    }

    .MyLiveSchedule_slider::-webkit-scrollbar {
        display: none;
        width: 0;
        height: 0;
    }

    .MyLiveSchedule_slider.is-dragging {
        cursor: grabbing;
        scroll-snap-type: none;
    }

        .MyLiveSchedule_slider.is-dragging .MyLiveSchedule_card {
            pointer-events: none;
        }

/* ======================================================
   Card
   ====================================================== */

.MyLiveSchedule_card {
    position: relative;
    isolation: isolate;
    flex: 0 0 var(--mls-card-width);
    max-width: var(--mls-card-width);
    scroll-snap-align: center;
    border: 1px solid transparent;
    border-radius: var(--mls-card-radius);
    overflow: hidden;
    background: var(--site-surface);
    box-shadow: 0 1.1rem 2.25rem var(--live-shadow);
    transform: scale(0.94);
    opacity: 0.42;
    filter: blur(0.3px) saturate(0.85);
    transition: transform 0.14s ease-out, opacity 0.14s ease-out, filter 0.14s ease-out, border-color 0.14s ease-out, box-shadow 0.14s ease-out;
    cursor: pointer;
}

    .MyLiveSchedule_card.is-active {
        transform: scale(1);
        opacity: 1;
        filter: none;
        box-shadow: 0 1.25rem 2.55rem var(--live-shadow-active);
    }

    .MyLiveSchedule_card.is-clone {
        pointer-events: auto;
    }

    .MyLiveSchedule_card.is-live-card {
        border-color: var(--live-main);
        box-shadow: 0 1.45rem 2.65rem var(--live-shadow-active), 0 0.55rem 1.15rem rgba(0, 0, 0, 0.14);
    }

        .MyLiveSchedule_card.is-live-card::after {
            content: "";
            position: absolute;
            inset: 0;
            z-index: 8;
            pointer-events: none;
            border-radius: inherit;
            box-shadow: inset 0 0 1.05rem var(--live-glow-soft), inset 0 -1.35rem 2rem var(--live-glow-soft);
            opacity: 0.68;
        }

        .MyLiveSchedule_card.is-live-card.is-active {
            border-color: var(--live-main);
            box-shadow: 0 1.6rem 2.95rem var(--live-shadow-active), 0 0.65rem 1.25rem rgba(0, 0, 0, 0.16);
        }

            .MyLiveSchedule_card.is-live-card.is-active::after {
                opacity: 0.82;
            }

    .MyLiveSchedule_card.is-ready-card {
        border-color: var(--live-ready-glow);
        box-shadow: 0 1.35rem 2.65rem var(--live-shadow-active), 0 0.5rem 1.15rem rgba(0, 0, 0, 0.12);
    }

/* ======================================================
   Image Area
   ====================================================== */

.MyLiveSchedule_thumb {
    position: relative;
    aspect-ratio: var(--mls-start-ratio);
    overflow: hidden;
    background: var(--site-card-soft);
}

.MyLiveSchedule_img {
    display: block;
    width: 100%;
    height: 100%;
}

.MyLiveSchedule_shade {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.20) 0%, rgba(0, 0, 0, 0) 34%), linear-gradient(to top, rgba(0, 0, 0, 0.84) 0%, rgba(0, 0, 0, 0.50) 36%, rgba(0, 0, 0, 0) 70%);
    pointer-events: none;
}

.MyLiveSchedule_card .photo,
.MyLiveSchedule_card .MyLiveSchedule_img {
    aspect-ratio: auto;
}

/* ======================================================
   Top Meta / Date
   ====================================================== */

.MyLiveSchedule_top {
    position: absolute;
    left: var(--mls-card-inset);
    right: var(--mls-card-inset);
    top: var(--mls-card-inset);
    z-index: 2;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
}

.MyLiveSchedule_date {
    flex: 0 0 auto;
    width: 4.25rem;
    min-height: 4.25rem;
    border-radius: var(--mls-inner-radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.16rem;
    background: var(--live-date-bg);
    border: 1px solid rgba(255, 255, 255, 0.48);
    box-shadow: 0 0.65rem 1.5rem rgba(0, 0, 0, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.MyLiveSchedule_day {
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1;
    opacity: 0.86;
    color: var(--live-main-dark);
}

.MyLiveSchedule_md {
    font-size: 0.85rem;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.04em;
    color: var(--site-primary);
}

/* ======================================================
   Meta Chips
   ====================================================== */

.MyLiveSchedule_meta {
    min-width: 0;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    flex-direction: column;
    gap: 0.45rem;
}

.MyLiveSchedule_category,
.MyLiveSchedule_count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 1.8rem;
    max-width: 100%;
    padding: 0.05rem 0.78rem 0;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1 !important;
    white-space: nowrap;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.MyLiveSchedule_category {
    color: #ffffff;
    background: var(--live-category-bg);
    box-shadow: 0 0.45rem 1rem var(--live-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.MyLiveSchedule_count {
    color: var(--live-main-dark);
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.52);
    box-shadow: 0 0.35rem 0.875rem rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.68);
    font-weight: 900;
}

.MyLiveSchedule_card.is-ready-card .MyLiveSchedule_category {
    color: #ffffff;
    background: var(--live-category-ready-bg);
    box-shadow: 0 0.45rem 1rem var(--live-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.MyLiveSchedule_card.is-live-card .MyLiveSchedule_category {
    color: #ffffff;
    background: var(--live-category-live-bg);
    box-shadow: 0 0.55rem 1.1rem var(--live-glow), 0 0 1rem var(--live-glow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
/* ======================================================
   Content
   - 활성 카드가 될 때 MyLiveSchedule_content 전체가 아래에서 위로 등장
   ====================================================== */

.MyLiveSchedule_content {
    position: absolute;
    left: var(--mls-card-inset);
    right: var(--mls-card-inset);
    bottom: var(--mls-card-inset);
    z-index: 2;
    color: #ffffff;
    opacity: 0;
    transform: translateY(1.15rem);
    transition: opacity 0.32s ease, transform 0.42s cubic-bezier(0.19, 1, 0.22, 1);
    will-change: opacity, transform;
    pointer-events: none;
}

.MyLiveSchedule_card.is-active .MyLiveSchedule_content {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.06s;
    pointer-events: auto;
}

.MyLiveSchedule_state,
.MyLiveSchedule_title,
.MyLiveSchedule_desc {
    opacity: 1;
    transform: none;
    transition: none;
    will-change: auto;
}

.MyLiveSchedule_state {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-bottom: 0.65rem;
}

/* ======================================================
   Status Badge
   ====================================================== */

.MyLiveSchedule_badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 1.625rem;
    padding: 0.05rem 0.78rem 0;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

    /* ======================================================
   Status Badge - LIVE
   ====================================================== */

    .MyLiveSchedule_badge.is-live {
        position: relative;
        isolation: isolate;
        overflow: visible;
        background: linear-gradient(135deg, var(--live-on-dark) 0%, var(--live-on-main) 58%, var(--live-on-mid) 100%);
        color: #ffffff;
        font-weight: 950;
        letter-spacing: 0.02em;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.52), 0 0 0.4rem rgba(0, 0, 0, 0.34);
        box-shadow: 0 0 0.65rem rgba(34, 197, 94, 0.45), 0 0 1.15rem rgba(134, 239, 172, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.35);
    }

    .MyLiveSchedule_badge.is-ended {
        background: var(--mud-palette-error);
        color: #ffffff;
        box-shadow: 0 0.45rem 1rem rgba(0, 0, 0, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.22);
    }

    .MyLiveSchedule_badge.is-ready {
        background: var(--live-category-ready-bg);
        color: #ffffff;
        box-shadow: 0 0.45rem 1rem var(--live-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.18);
    }
    /* ======================================================
       White Theme Ready Badge
       - 화이트 테마에서 24시간 이내 배지만 살짝 강조
       ======================================================*/
    .site_theme_white .MyLiveSchedule_badge.is-ready {
        box-shadow: 0 0 0.28rem rgba(255, 255, 255, 0.30), 0 0 0.48rem rgba(225, 228, 231, 0.20), 0 0 1px rgba(255, 255, 255, 0.40), inset 0 1px 0 rgba(255, 255, 255, 0.10);
    }
    .MyLiveSchedule_badge.is-scheduled {
        background: rgba(255, 255, 255, 0.86);
        color: var(--live-main-dark);
        box-shadow: 0 0.35rem 0.875rem rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.68);
    }

.MyLiveSchedule_state_text {
    font-size: 0.75rem;
    font-weight: 800;
    line-height: 1.2;
    color: rgba(255, 255, 255, 0.92);
}

.MyLiveSchedule_title {
    color: #ffffff;
    font-weight: 900 !important;
    line-height: 1.25 !important;
    letter-spacing: -0.04em;
    text-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.32);
}

.MyLiveSchedule_desc {
    margin-top: 0.45rem;
    color: rgba(255, 255, 255, 0.86);
    line-height: 1.45 !important;
    word-break: keep-all;
}

@media (prefers-reduced-motion: reduce) {
    .MyLiveSchedule_content {
        transition: none;
        transform: none;
    }
}

/* ======================================================
   Action
   ====================================================== */

.MyLiveSchedule_action {
    padding: var(--mls-card-inset);
    background: var(--site-surface);
}

.MyLiveSchedule_btn {
    min-height: 3rem;
    border-radius: var(--mls-button-radius) !important;
    font-weight: 800 !important;
}

/* ======================================================
   Dots
   - Shortform / HotSales Swiper 도트와 동일한 규격
   - 비활성 도트: 원형 고정
   - 활성 도트: pill 폭 고정
   ====================================================== */

.MyLiveSchedule {
    --site-dot-size: 7px;
    --site-dot-active-width: 17px;
    --site-dot-hit-size: 22px;
    --site-dot-gap: 6px;
    --site-dot-color: var(--site-primary);
    --site-dot-color-soft: var(--live-glow-soft);
    --site-dot-inactive-color: var(--site-text-light);
    --site-dot-inactive-opacity: 0.38;
}

.MyLiveSchedule_dots {
    position: relative;
    z-index: 5;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--site-dot-gap);
    margin-top: -3.5rem;
    padding: 0 1rem 0.85rem;
    pointer-events: auto;
}

.MyLiveSchedule_dot {
    width: var(--site-dot-hit-size);
    height: var(--site-dot-hit-size);
    min-width: var(--site-dot-hit-size);
    min-height: var(--site-dot-hit-size);
    padding: 0;
    border: 0;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    cursor: pointer;
    box-sizing: border-box;
}

.MyLiveSchedule_dot_inner {
    flex: 0 0 var(--site-dot-size);
    display: block;
    width: var(--site-dot-size) !important;
    min-width: var(--site-dot-size) !important;
    max-width: var(--site-dot-size) !important;
    height: var(--site-dot-size) !important;
    min-height: var(--site-dot-size) !important;
    max-height: var(--site-dot-size) !important;
    aspect-ratio: 1 / 1;
    border-radius: 999px !important;
    box-sizing: border-box;
    overflow: hidden;
    background: var(--site-dot-inactive-color);
    opacity: var(--site-dot-inactive-opacity);
    transform: none !important;
    box-shadow: none;
    transition: flex-basis 0.18s ease, width 0.18s ease, min-width 0.18s ease, max-width 0.18s ease, opacity 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.MyLiveSchedule_dot:not(.is-active) .MyLiveSchedule_dot_inner {
    flex-basis: var(--site-dot-size) !important;
    width: var(--site-dot-size) !important;
    min-width: var(--site-dot-size) !important;
    max-width: var(--site-dot-size) !important;
    height: var(--site-dot-size) !important;
    min-height: var(--site-dot-size) !important;
    max-height: var(--site-dot-size) !important;
    border-radius: 999px !important;
    background: var(--site-dot-inactive-color);
    opacity: var(--site-dot-inactive-opacity);
    transform: none !important;
    box-shadow: none;
}

.MyLiveSchedule_dot.is-active .MyLiveSchedule_dot_inner {
    flex-basis: var(--site-dot-active-width) !important;
    width: var(--site-dot-active-width) !important;
    min-width: var(--site-dot-active-width) !important;
    max-width: var(--site-dot-active-width) !important;
    height: var(--site-dot-size) !important;
    min-height: var(--site-dot-size) !important;
    max-height: var(--site-dot-size) !important;
    opacity: 1;
    background: var(--site-dot-color);
    box-shadow: 0 0 10px var(--site-dot-color-soft);
    transform: none !important;
}

.MyLiveSchedule_dot:hover .MyLiveSchedule_dot_inner {
    opacity: 0.75;
    background: var(--site-dot-color);
}

@media (max-width: 600px) {
    .MyLiveSchedule_dots {
        margin-top: -3rem;
        padding-bottom: 0.75rem;
    }
}
/* ======================================================
   Live Pulse
   - 글씨는 고정, 배경과 glow만 확장
   ====================================================== */

.MyLiveSchedule .live-bg-pulse {
    position: relative;
    isolation: isolate;
    overflow: visible;
}

    .MyLiveSchedule .live-bg-pulse::before {
        content: "";
        position: absolute;
        inset: -0.24rem -0.36rem;
        z-index: -2;
        border-radius: 999px;
        background: radial-gradient(circle, var(--live-on-glow) 0%, var(--live-on-glow-soft) 46%, transparent 72%);
        opacity: 0.68;
        transform: scale(0.9);
        animation: MyLiveSchedule_badge_ring 1.15s infinite ease-out;
        pointer-events: none;
    }

    .MyLiveSchedule .live-bg-pulse::after {
        content: "";
        position: absolute;
        inset: 0;
        z-index: -1;
        border-radius: inherit;
        background: linear-gradient(135deg, var(--live-on-dark) 0%, var(--live-on-main) 58%, var(--live-on-mid) 100%);
        opacity: 0.62;
        transform: scale(1);
        box-shadow: 0 0 0.55rem var(--live-on-glow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.22);
        animation: MyLiveSchedule_badge_bg_pulse 1.15s infinite ease-in-out;
        pointer-events: none;
    }

@keyframes MyLiveSchedule_badge_bg_pulse {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
        box-shadow: 0 0 0.55rem var(--live-on-glow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.22);
    }

    50% {
        opacity: 0.86;
        transform: scale(1.08);
        box-shadow: 0 0 1rem var(--live-on-glow), 0 0 1.25rem var(--live-on-glow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.32);
    }
}

@keyframes MyLiveSchedule_badge_ring {
    0% {
        opacity: 0.68;
        transform: scale(0.9);
    }

    70% {
        opacity: 0;
        transform: scale(1.22);
    }

    100% {
        opacity: 0;
        transform: scale(1.22);
    }
}
/* ======================================================
   Live Emphasis
   ====================================================== */

.MyLiveSchedule_btn_live {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 3.125rem;
    border: 0 !important;
    color: #ffffff !important;
    background: var(--live-button-bg) !important;
    box-shadow: 0 0.75rem 1.5rem var(--live-glow), inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

    .MyLiveSchedule_btn_live::before {
        content: "";
        position: absolute;
        inset: -40% -30%;
        z-index: -1;
        background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.34), transparent 28%), linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.34) 42%, transparent 64%);
        transform: translateX(-70%) rotate(8deg);
        animation: MyLiveSchedule_live_shine 2.6s ease-in-out infinite;
    }

    .MyLiveSchedule_btn_live::after {
        content: "";
        position: absolute;
        inset: 0;
        z-index: -2;
        border-radius: inherit;
        background: var(--live-button-bg);
        animation: MyLiveSchedule_live_pulse 1.7s ease-in-out infinite;
    }

    .MyLiveSchedule_btn_live .mud-button-label {
        position: relative;
        z-index: 2;
    }

.MyLiveSchedule_btn_live_txt {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    font-weight: 900;
    letter-spacing: -0.025em;
}

    .MyLiveSchedule_btn_live_txt::before {
        content: "";
        width: 0.48rem;
        height: 0.48rem;
        border-radius: 999px;
        background: #ffffff;
        box-shadow: 0 0 0.75rem rgba(255, 255, 255, 0.85);
        animation: MyLiveSchedule_live_dot 1s ease-in-out infinite;
    }

/* ======================================================
   Ready Emphasis
   ====================================================== */

.MyLiveSchedule_btn_ready {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 3.125rem;
    border: 1px solid var(--live-ready-glow) !important;
    color: var(--live-main-dark) !important;
    background: var(--live-button-ready-bg) !important;
    box-shadow: 0 0.55rem 1.25rem var(--live-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.68);
}

    .MyLiveSchedule_btn_ready::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: -1;
        background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.42) 45%, transparent 68%);
        transform: translateX(-100%);
        animation: MyLiveSchedule_ready_shine 3.2s ease-in-out infinite;
    }

    .MyLiveSchedule_btn_ready .mud-button-label {
        position: relative;
        z-index: 2;
        width: 100%;
    }

.MyLiveSchedule_btn_ready_txt {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.35rem;
    width: 100%;
    font-weight: 900;
    letter-spacing: -0.025em;
}

.MyLiveSchedule_btn_ready_time {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 1.5rem;
    padding: 0 0.55rem;
    border-radius: 999px;
    background: var(--live-main-soft);
    color: var(--live-main-dark);
    font-size: 0.75rem;
    font-weight: 900;
    line-height: 1;
    animation: MyLiveSchedule_ready_time_pulse 1.6s ease-in-out infinite;
}

/* ======================================================
   Animations
   ====================================================== */

@keyframes MyLiveSchedule_live_shine {
    0% {
        transform: translateX(-75%) rotate(8deg);
        opacity: 0;
    }

    24% {
        opacity: 1;
    }

    48% {
        transform: translateX(70%) rotate(8deg);
        opacity: 0;
    }

    100% {
        transform: translateX(70%) rotate(8deg);
        opacity: 0;
    }
}

@keyframes MyLiveSchedule_live_pulse {
    0%, 100% {
        filter: brightness(1);
    }

    50% {
        filter: brightness(1.08);
    }
}

@keyframes MyLiveSchedule_live_dot {
    0%, 100% {
        transform: scale(0.82);
        opacity: 0.72;
    }

    50% {
        transform: scale(1.18);
        opacity: 1;
    }
}

@keyframes MyLiveSchedule_ready_shine {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }

    30% {
        opacity: 1;
    }

    58% {
        transform: translateX(100%);
        opacity: 0;
    }

    100% {
        transform: translateX(100%);
        opacity: 0;
    }
}

@keyframes MyLiveSchedule_ready_time_pulse {
    0%, 100% {
        background: var(--live-main-soft);
    }

    50% {
        background: var(--live-sub-soft);
    }
}

/* ======================================================
   Responsive
   ====================================================== */

@media (max-width: 600px) {
    .MyLiveSchedule {
        --mls-card-radius: 1.25rem;
        --mls-card-inset: 0.75rem;
        --mls-inner-radius: 0.7rem;
        --mls-button-radius: 0.7rem;
        --mls-card-width: 86%;
        --mls-card-gap: 2px;
        --mls-end-space: calc((100% - var(--mls-card-width)) / 2);
        --mls-start-space: min(4%, var(--mls-end-space));
        --mls-start-ratio: 1 / 1.2;
    }

    .MyLiveSchedule_slider {
        gap: var(--mls-card-gap);
        margin-top: -0.75rem;
        padding: 1rem 0 4rem;
        scroll-padding-inline: 0;
    }

    .MyLiveSchedule_card {
        flex-basis: var(--mls-card-width);
        max-width: var(--mls-card-width);
        border-radius: var(--mls-card-radius);
    }

    .MyLiveSchedule_thumb {
        aspect-ratio: var(--mls-start-ratio);
    }

    .MyLiveSchedule_top {
        left: var(--mls-card-inset);
        right: var(--mls-card-inset);
        top: var(--mls-card-inset);
        gap: 0.55rem;
    }

    .MyLiveSchedule_date {
        width: 4rem;
        min-height: 4.35rem;
        border-radius: var(--mls-inner-radius);
        gap: 0.13rem;
    }

    .MyLiveSchedule_day {
        font-size: 0.9rem;
    }

    .MyLiveSchedule_md {
        font-size: 0.8rem;
    }

    .MyLiveSchedule_meta {
        gap: 0.34rem;
    }

    .MyLiveSchedule_category,
    .MyLiveSchedule_count {
        min-height: 1.55rem;
        padding: 0.05rem 0.62rem 0;
        font-size: 0.66rem;
    }

    .MyLiveSchedule_content {
        left: var(--mls-card-inset);
        right: var(--mls-card-inset);
        bottom: var(--mls-card-inset);
    }

    .MyLiveSchedule_state {
        gap: 0.35rem;
        margin-bottom: 0.5rem;
    }

    .MyLiveSchedule_badge {
        min-height: 1.45rem;
        padding: 0 0.6rem;
        font-size: 0.6875rem;
    }

    .MyLiveSchedule_state_text {
        font-size: 0.6875rem;
    }

    .MyLiveSchedule_title {
        font-size: 1rem !important;
    }

    .MyLiveSchedule_desc {
        font-size: 0.75rem !important;
    }

    .MyLiveSchedule_action {
        padding: var(--mls-card-inset);
    }

    .MyLiveSchedule_btn {
        min-height: 2.75rem;
        border-radius: var(--mls-button-radius) !important;
    }

    .MyLiveSchedule_btn_live,
    .MyLiveSchedule_btn_ready {
        min-height: 2.875rem;
    }

    .MyLiveSchedule_btn_ready_txt {
        gap: 0.28rem;
    }

    .MyLiveSchedule_btn_ready_time {
        min-height: 1.35rem;
        padding: 0 0.45rem;
        font-size: 0.6875rem;
    }
}

/* ======================================================
   MyLiveSchedule - Single Card Center
   - 카드가 1개일 때 중앙 정렬
   ====================================================== */

.MyLiveSchedule_slider.is-single {
    justify-content: center;
    overflow-x: hidden;
    cursor: default;
}

    .MyLiveSchedule_slider.is-single::before,
    .MyLiveSchedule_slider.is-single::after {
        content: none;
        display: none;
    }

    .MyLiveSchedule_slider.is-single .MyLiveSchedule_card {
        transform: scale(1);
        opacity: 1;
        filter: none;
    }

/* ======================================================
   MyLiveSchedule - Functional Guard
   - 디자인 변경 없음
   - JS 제어 슬라이드와 브라우저 scroll-snap 충돌 방지
   ====================================================== */

.MyLiveSchedule_slider {
    scroll-snap-type: none;
    touch-action: pan-y;
    overscroll-behavior-x: contain;
}

.MyLiveSchedule_card {
    scroll-snap-align: none;
}
