:root {
    --border-color: #FFA114;
    --radio-img: url(/static/app_www/base/img/icon_radio_check_or.png);
    --bgc: #FFECE2;
    --txt-color: var(--point-color);
}

/* ── 일정 영역 ── */
.schedule_wrap {
    margin-bottom: 24px;
    background: linear-gradient(135deg, #FFF7ED, #FFF0D6);
    border-radius: 20px;
    padding: 40px 32px 28px;
    text-align: center;
}

/* 히어로 */
.schedule_hero { margin-bottom: 24px; }

.hero_label {
    font-size: 16px;
    font-weight: 600;
    color: #888;
}

.hero_date {
    font-size: 28px;
    font-weight: 900;
    color: #222;
    margin-top: 6px;
}

.hero_highlight {
    display: inline-block;
    margin-top: 10px;
    padding: 6px 24px;
    background-color: #FFA114;
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    border-radius: 30px;
}

/* ── 카운트다운 ── */
.schedule_countdown {
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 14px;
    padding: 20px 24px 18px;
    margin-bottom: 28px;
}

.countdown_label {
    font-size: 13px;
    font-weight: 600;
    color: #999;
    margin-bottom: 2px;
}

/* ── 플립시계 ── */
.flip_clock {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin: 10px 0 0;
}

.flip_unit {
    display: flex;
    gap: 3px;
}

.flip_sep {
    font-size: 28px;
    font-weight: 900;
    color: #E8850E;
    padding: 0 4px;
    align-self: center;
}

.flip_digit {
    --fd-h: 62px;
    --fd-fs: 38px;
    position: relative;
    width: 46px;
    height: var(--fd-h);
    perspective: 200px;
}

.fd_top, .fd_bottom, .fd_card_top, .fd_card_bottom {
    position: absolute;
    left: 0;
    right: 0;
    height: 50%;
    overflow: hidden;
    background: #2A2A2A;
}

.fd_top, .fd_card_top {
    top: 0;
    border-radius: 8px 8px 0 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.4);
}

.fd_bottom, .fd_card_bottom {
    bottom: 0;
    border-radius: 0 0 8px 8px;
    background: #242424;
}

.fd_top span, .fd_bottom span,
.fd_card_top span, .fd_card_bottom span {
    display: block;
    text-align: center;
    font-size: var(--fd-fs);
    font-weight: 900;
    color: #FFA114;
    line-height: var(--fd-h);
    font-variant-numeric: tabular-nums;
}

.fd_bottom span, .fd_card_bottom span {
    margin-top: calc(var(--fd-h) / -2);
}

/* 레이어 */
.fd_top { z-index: 1; }
.fd_bottom { z-index: 1; }
.fd_card_top {
    z-index: 3;
    transform-origin: bottom center;
    backface-visibility: hidden;
}
.fd_card_bottom {
    z-index: 2;
    transform-origin: top center;
    transform: rotateX(90deg);
    backface-visibility: hidden;
}

/* 플립 애니메이션 */
.flip_digit.flipping .fd_card_top {
    animation: fd_flip_down 0.3s ease-in forwards;
}
.flip_digit.flipping .fd_card_bottom {
    animation: fd_flip_up 0.3s ease-out 0.3s forwards;
}

@keyframes fd_flip_down {
    0%   { transform: rotateX(0deg); }
    100% { transform: rotateX(-90deg); }
}
@keyframes fd_flip_up {
    0%   { transform: rotateX(90deg); }
    100% { transform: rotateX(0deg); }
}

/* ── 비교 영역 ── */
.countdown_compare {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 14px;
    font-size: 14px;
    color: #666;
}

.compare_now strong { color: #FFA114; font-weight: 800; }
.compare_arrow { color: #ccc; font-size: 12px; }
.compare_late strong.late {
    color: #ccc;
    font-weight: 700;
    text-decoration: line-through;
}

/* ── 프로그레스바 ── */
.schedule_bar {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin-bottom: 28px;
}

.bar_dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: #FFA114;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bar_dot span {
    font-size: 13px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.bar_dot.last {
    width: 32px;
    height: 32px;
    box-shadow: 0 0 0 5px rgba(255, 161, 20, 0.2);
}

.bar_title {
    font-size: 13px;
    font-weight: 600;
    color: #555;
    word-break: keep-all;
}

.bar_date {
    font-size: 13px;
    font-weight: 700;
    color: #FFA114;
    margin-top: 2px;
}

/* PC 가로 */
.bar_step {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    max-width: 200px;
}

.bar_line {
    height: 3px;
    width: 60px;
    background-color: #FFD5A0;
    flex-shrink: 0;
    margin-top: 13px;
}

.bar_step .bar_content {
    margin-top: 10px;
    text-align: center;
}

/* ── 안내사항 ── */
.schedule_notice {
    padding: 14px 20px;
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 10px;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.schedule_notice li {
    font-size: 12px;
    font-weight: 400;
    color: #999;
    padding-left: 12px;
    position: relative;
    text-align: left;
}

.schedule_notice li::before {
    content: '*';
    position: absolute;
    left: 0;
    color: #FFA114;
    font-weight: 700;
}

/* ── 태블릿 ── */
@media screen and (max-width: 1023px) {
    .schedule_wrap { padding: 32px 22px 22px; }
    .hero_date { font-size: 22px; }
    .hero_highlight { font-size: 16px; }
    .flip_digit { --fd-h: 54px; --fd-fs: 32px; width: 40px; }
    .flip_sep { font-size: 24px; }
    .bar_title { font-size: 12px; }
    .bar_date { font-size: 12px; }
}

/* ── 모바일 ── */
@media screen and (max-width: 767px) {
    .schedule_wrap { padding: 28px 20px 18px; }
    .hero_date { font-size: 19px; }
    .hero_highlight { font-size: 14px; padding: 5px 18px; }
    .hero_label { font-size: 14px; }

    .schedule_countdown { padding: 16px 14px 14px; }
    .flip_digit { --fd-h: 46px; --fd-fs: 26px; width: 34px; }
    .flip_sep { font-size: 20px; padding: 0 2px; }
    .flip_clock { gap: 2px; }
    .flip_unit { gap: 2px; }
    .countdown_compare { font-size: 13px; gap: 8px; }

    /* 프로그레스바 세로 전환 */
    .schedule_bar {
        flex-direction: column;
        align-items: stretch;
    }

    .bar_step {
        flex-direction: row;
        align-items: flex-start;
        max-width: none;
        gap: 14px;
    }

    .bar_line {
        width: 3px;
        height: 16px;
        margin-top: 0;
        margin-left: 13px;
    }

    .bar_step .bar_content {
        margin-top: 0;
        text-align: left;
        background-color: rgba(255, 255, 255, 0.55);
        border-radius: 12px;
        padding: 14px 16px;
        flex: 1;
    }

    .bar_step.last .bar_content {
        background-color: rgba(255, 161, 20, 0.1);
        border: 1px solid rgba(255, 161, 20, 0.3);
    }

    .bar_step .bar_dot { margin-top: 12px; }

    .bar_step .bar_title { font-size: 13px; }
    .bar_step .bar_date { font-size: 14px; font-weight: 800; margin-top: 4px; }
}