/**
 * 마이랭킹 - 대회 일정 페이지 (V8 Bracket Spine + V4 Calendar Modal)
 * Claude Design 시안 기반
 */

/* ── tokens ───────────────────────────────────────────── */
:root {
    --evt-bg: #F6F7FB;
    --evt-card: #FFFFFF;
    --evt-ink: #0E1430;
    --evt-ink-sub: #6A7196;
    --evt-line: #E4E7F0;
    --evt-brand: #2440FF;
    --evt-brand-soft: #E6EBFF;
    --evt-accent: #FF3E6B;
    --evt-tag-bg: #F2F4FA;
}

/* ── page container ───────────────────────────────────── */
.evt-page {
    background: var(--evt-bg);
    min-height: calc(100vh - 80px);
    padding: 0;
    margin: 0 auto;
    width: 100%;
    max-width: 100%;
    position: relative;
    box-sizing: border-box;
    /* NOTE: overflow-x:hidden을 두면 overflow-y:auto가 암묵 활성화되어
       내부 position:sticky의 스크롤 컨텍스트가 깨짐 — body의 overflow-x:hidden(main.css)이 가로 오버플로 차단. */
}
.evt-page * { min-width: 0; }

/* desktop: keep readable column width for bracket spine */
@media (min-width: 768px) {
    .evt-titlebar,
    .evt-stickyfilters,
    .evt-spinelist {
        max-width: 720px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* ── title bar (back + 대회 일정 + calendar icon) ─────── */
.evt-titlebar {
    padding: 18px 22px 4px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}
.evt-titlebar-left { flex: 1; min-width: 0; }
.evt-titlerow {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
}
.evt-back {
    width: 34px; height: 34px;
    border: none; background: transparent;
    display: inline-flex; align-items: center; justify-content: center;
    cursor: pointer; padding: 0;
    margin-left: -6px;
    border-radius: 12px;
    color: var(--evt-ink);
}
.evt-back:hover { background: rgba(14,20,48,0.06); }
.evt-title {
    margin: 0;
    font-size: 26px;
    font-weight: 900;
    color: var(--evt-ink);
    letter-spacing: -0.8px;
    line-height: 1.1;
}
.evt-subtitle {
    font-size: 12.5px;
    color: var(--evt-ink-sub);
    font-weight: 500;
    margin-left: 32px;
}
.evt-subtitle .evt-live-n {
    color: var(--evt-accent);
    font-weight: 700;
}
.evt-cal-btn {
    width: 40px; height: 40px;
    background: transparent; border: none;
    cursor: pointer; padding: 0;
    display: inline-flex; align-items: center; justify-content: center;
    color: var(--evt-ink);
    flex-shrink: 0;
}
.evt-cal-btn:hover { color: var(--evt-brand); }

/* ── sticky filter block ──────────────────────────────── */
.evt-stickyfilters {
    position: sticky;
    top: var(--evt-sticky-top, 64px);
    z-index: 20;
    background: var(--evt-bg);
    padding-top: 2px;
    box-shadow: 0 8px 12px -10px rgba(14,20,48,0.18);
}

/* year horizontal scroll */
.evt-year-strip {
    display: flex;
    gap: 4px;
    padding: 4px 18px 2px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.evt-year-strip::-webkit-scrollbar { display: none; }
.evt-year-chip {
    border: none;
    cursor: pointer;
    flex-shrink: 0;
    padding: 3px 12px;
    border-radius: 999px;
    background: transparent;
    color: var(--evt-ink-sub);
    font-size: 13px;
    font-weight: 400;
    letter-spacing: -0.2px;
    font-family: inherit;
}
.evt-year-chip.active {
    background: var(--evt-brand);
    color: #fff;
    font-weight: 600;
}

/* month scroll */
.evt-month-strip {
    display: flex;
    gap: 4px;
    padding: 2px 18px 2px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.evt-month-strip::-webkit-scrollbar { display: none; }
.evt-month-chip {
    border: none;
    cursor: pointer;
    flex-shrink: 0;
    padding: 3px 11px;
    border-radius: 10px;
    background: transparent;
    color: var(--evt-ink-sub);
    font-size: 12.5px;
    font-weight: 400;
    letter-spacing: -0.2px;
    font-family: inherit;
}
.evt-month-chip.active {
    background: var(--evt-brand-soft);
    color: var(--evt-brand);
    font-weight: 600;
}
.evt-month-chip.disabled {
    opacity: 0.35;
    cursor: not-allowed;
}
.evt-month-chip .cnt {
    margin-left: 4px;
    font-size: 10.5px;
    font-weight: 400;
    opacity: 0.7;
}

/* type tabs (전체 / 예정 / 마스터즈 / 학생부 / 등록선수) */
.evt-type-strip {
    display: flex;
    gap: 6px;
    padding: 4px 18px 4px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.evt-type-strip::-webkit-scrollbar { display: none; }
.evt-type-chip {
    border: none;
    cursor: pointer;
    flex-shrink: 0;
    padding: 4px 14px;
    border-radius: 999px;
    background: transparent;
    color: var(--evt-ink-sub);
    font-size: 13.5px;
    font-weight: 400;
    letter-spacing: -0.3px;
    font-family: inherit;
}
.evt-type-chip.active {
    background: var(--evt-ink);
    color: #fff;
    font-weight: 600;
}

/* ── bracket spine list ───────────────────────────────── */
.evt-spinelist {
    padding: 6px 16px 60px;
}
.evt-group {
    display: flex;
    gap: 14px;
    margin-bottom: 18px;
}
.evt-rail {
    width: 60px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.evt-month-card {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid var(--evt-line);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.evt-month-card .y {
    font-size: 9.5px;
    font-weight: 800;
    color: var(--evt-ink-sub);
    letter-spacing: 1.5px;
}
.evt-month-card .m {
    font-size: 18px;
    font-weight: 900;
    color: var(--evt-ink);
    letter-spacing: -0.5px;
    line-height: 1;
    margin-top: 2px;
}
.evt-spine {
    flex: 1;
    width: 2px;
    min-height: 24px;
    background: repeating-linear-gradient(var(--evt-line) 0 4px, transparent 4px 8px);
}
.evt-items {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.evt-card {
    background: #fff;
    border-radius: 14px;
    padding: 12px 14px;
    border: 1px solid var(--evt-line);
    position: relative;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s;
}
.evt-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px -12px rgba(14,20,48,0.25);
}
.evt-card.live {
    border: 1.5px solid var(--evt-accent);
    box-shadow: 0 6px 16px -10px rgba(255,62,107,0.35);
}
/* 종료 대회: D+ 뱃지 회색 + 종료 라벨로 시각적 구분 (전체 opacity 는 유지) */
.evt-connector {
    position: absolute;
    left: -14px;
    top: 50%;
    width: 14px;
    height: 2px;
    background: var(--evt-line);
    margin-top: -1px;
}
.evt-card.live .evt-connector { background: var(--evt-accent); }

.evt-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
    gap: 8px;
}
.evt-date {
    font-size: 11px;
    font-weight: 700;
    color: var(--evt-ink-sub);
    letter-spacing: 0.2px;
}
.evt-card.live .evt-date { color: var(--evt-accent); }
.evt-live-badge {
    background: var(--evt-accent);
    color: #fff;
    font-size: 9.5px;
    font-weight: 900;
    padding: 3px 7px;
    border-radius: 4px;
    letter-spacing: 0.4px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}
.evt-live-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #fff;
    animation: evtBlink 1.2s infinite;
}
.evt-dday {
    font-size: 11.5px;
    font-weight: 800;
    color: var(--evt-brand);
    flex-shrink: 0;
}
.evt-dday.past {
    color: var(--evt-ink-sub);
    font-weight: 600;
}

.evt-card-body {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}
.evt-card-main { flex: 1; min-width: 0; }
.evt-card-title {
    font-size: 14px;
    font-weight: 800;
    color: var(--evt-ink);
    letter-spacing: -0.3px;
    line-height: 1.3;
    margin-bottom: 6px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    word-break: break-word;
    overflow-wrap: anywhere;
}
.evt-card-place {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 5px;
    font-size: 11.5px;
    color: var(--evt-ink-sub);
    margin-bottom: 8px;
    font-weight: 500;
    line-height: 1.3;
    word-break: break-word;
    overflow-wrap: anywhere;
}
.evt-card-place .material-symbols-outlined {
    font-size: 14px;
}
.evt-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}
.evt-tag {
    background: var(--evt-tag-bg);
    color: var(--evt-ink-sub);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: -0.2px;
    padding: 4px 8px;
    border-radius: 999px;
}
.evt-tag.doc {
    background: var(--evt-brand-soft);
    color: var(--evt-brand);
    display: inline-flex;
    align-items: center;
    gap: 3px;
    text-decoration: none;
}
.evt-tag.doc .material-symbols-outlined {
    font-size: 12px;
}

.evt-card-poster {
    width: 56px; height: 70px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: #F0F2F8;
    display: flex; align-items: center; justify-content: center;
}
.evt-card-poster img {
    width: 100%; height: 100%;
    object-fit: cover; display: block;
}

.evt-empty {
    text-align: center;
    padding: 60px 16px;
    color: var(--evt-ink-sub);
    font-size: 13.5px;
}
.evt-empty .material-symbols-outlined {
    font-size: 48px;
    color: var(--evt-line);
    display: block;
    margin: 0 auto 12px;
}

@keyframes evtBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.35; }
}

/* ── card actions: 기대됩니다 / 미리알림 ───────────── */
.evt-card-actions {
    display: flex;
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px solid var(--evt-line);
}
/* 종료 대회도 액션 영역은 노출 (좋았어요 + 비활성 미리알림) */
.evt-action {
    flex: 1;
    border: none;
    background: transparent;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 4px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: -0.2px;
    color: var(--evt-ink-sub);
    font-family: inherit;
    border-radius: 8px;
    transition: background 0.15s, color 0.15s;
}
.evt-action:hover:not(:disabled):not(.is-disabled) { background: var(--evt-bg); color: var(--evt-ink); }
.evt-action + .evt-action { margin-left: 4px; }

/* 비활성 (예: 종료 대회의 미리알림) */
.evt-action:disabled,
.evt-action.is-disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

/* 기대됩니다 / 좋았어요 공통 (active = 활성 토글) */
.evt-hype.active, .evt-like.active { color: var(--evt-accent); }
.evt-hype.active .evt-heart,
.evt-like.active .evt-heart {
    fill: var(--evt-accent);
    stroke: var(--evt-accent);
}
.evt-hype.bump .evt-heart,
.evt-like.bump .evt-heart { animation: evtHeartPop 0.4s ease; }
@keyframes evtHeartPop {
    0% { transform: scale(1); }
    40% { transform: scale(1.35); }
    100% { transform: scale(1); }
}
.evt-like-count {
    color: var(--evt-ink);
    font-family: 'Manrope', inherit;
    font-weight: 800;
    text-align: center;
}
.evt-like-count:empty { display: none; } /* count=0 일 때 숫자 숨김 */

.evt-alarm:hover:not(:disabled):not(.is-disabled) { color: var(--evt-brand); }
.evt-alarm.registered { color: var(--evt-brand); }
.evt-alarm.registered svg path { stroke: var(--evt-brand); fill: var(--evt-brand-soft); }

/* ── 미리알림 모달 ───────────────────────────────── */
.evt-alarm-modal {
    position: fixed;
    inset: 0;
    z-index: 1100;
    background: rgba(14,20,48,0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
    animation: evtCalFade 0.2s ease;
}
.evt-alarm-modal.open { display: flex; }
.evt-alarm-box {
    background: #fff;
    border-radius: 18px;
    width: 100%;
    max-width: 380px;
    padding: 22px 22px 18px;
    box-shadow: 0 30px 60px -20px rgba(14,20,48,0.45);
    position: relative;
}
.evt-alarm-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px; height: 32px;
    border: none;
    background: transparent;
    cursor: pointer;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--evt-ink-sub);
}
.evt-alarm-close:hover { background: var(--evt-bg); color: var(--evt-ink); }
.evt-alarm-head {
    padding-bottom: 14px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--evt-line);
}
.evt-alarm-title-row {
    display: flex;
    align-items: center;
    gap: 8px;
}
.evt-alarm-icon {
    width: 28px; height: 28px;
    display: inline-flex; align-items: center; justify-content: center;
    color: var(--evt-brand);
    flex-shrink: 0;
}
.evt-alarm-title {
    font-size: 18px;
    font-weight: 900;
    color: var(--evt-ink);
    letter-spacing: -0.4px;
}
.evt-alarm-comp {
    margin-top: 6px;
    margin-left: 36px;
    font-size: 13px;
    color: var(--evt-ink-sub);
    font-weight: 500;
    line-height: 1.35;
    word-break: keep-all;
}
.evt-alarm-section { margin-bottom: 18px; }
.evt-alarm-label {
    display: block;
    font-size: 13px;
    font-weight: 800;
    color: var(--evt-ink);
    margin-bottom: 8px;
    letter-spacing: -0.2px;
}
.evt-alarm-input {
    width: 100%;
    box-sizing: border-box;
    margin-top: 8px;
    padding: 11px 12px;
    font-size: 15px;
    border: 1.5px solid var(--evt-line);
    border-radius: 10px;
    background: #fff;
    color: var(--evt-ink);
    outline: none;
    font-family: inherit;
    transition: border-color 0.15s;
}
.evt-alarm-input:focus { border-color: var(--evt-brand); }

/* ── radio cards (대회 신청일 / 대회 시작일) ─────── */
.evt-alarm-radios { display: flex; flex-direction: column; gap: 8px; }
.evt-alarm-radio {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid var(--evt-line);
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    font-family: inherit;
    text-align: left;
    transition: all 0.15s;
}
.evt-alarm-radio:hover:not(:disabled) { border-color: var(--evt-brand); }
.evt-alarm-radio:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}
.evt-alarm-radio.active {
    border-color: var(--evt-brand);
    background: var(--evt-brand-soft);
}
.evt-alarm-radio-dot {
    width: 22px; height: 22px;
    border-radius: 50%;
    border: 2px solid var(--evt-line);
    background: #fff;
    flex-shrink: 0;
    position: relative;
    transition: all 0.15s;
}
.evt-alarm-radio.active .evt-alarm-radio-dot {
    border-color: var(--evt-brand);
    background: var(--evt-brand);
}
.evt-alarm-radio.active .evt-alarm-radio-dot::after {
    content: '';
    position: absolute;
    left: 6px; top: 3px;
    width: 5px; height: 9px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.evt-alarm-radio-text {
    font-size: 15px;
    font-weight: 800;
    color: var(--evt-ink);
    letter-spacing: -0.3px;
}

/* ── stepper (- N + 일전 미리알림) ─────────────── */
.evt-alarm-stepper {
    display: flex;
    align-items: center;
    border: 1.5px solid var(--evt-line);
    border-radius: 12px;
    padding: 4px;
    background: #fff;
}
.evt-alarm-step {
    width: 40px; height: 40px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 22px;
    font-weight: 700;
    color: var(--evt-ink-sub);
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s;
    flex-shrink: 0;
}
.evt-alarm-step:hover:not(:disabled) {
    background: var(--evt-bg);
    color: var(--evt-ink);
}
.evt-alarm-step:disabled { opacity: 0.35; cursor: not-allowed; }
.evt-alarm-step-value {
    flex: 1;
    text-align: center;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
}
.evt-alarm-step-value .num {
    font-size: 24px;
    font-weight: 900;
    color: var(--evt-ink);
    font-family: 'Manrope', inherit;
    letter-spacing: -0.5px;
}
.evt-alarm-step-value .suffix {
    font-size: 14px;
    color: var(--evt-ink);
    font-weight: 600;
}

/* ── SMS row ────────────────────────────────── */
.evt-alarm-sms-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border: 1.5px solid var(--evt-line);
    border-radius: 12px;
    background: #fff;
}
.evt-alarm-icon-sm {
    width: 32px; height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--evt-brand-soft);
    color: var(--evt-brand);
    border-radius: 10px;
    flex-shrink: 0;
}
.evt-alarm-sms-text { flex: 1; min-width: 0; }
.evt-alarm-sms-title {
    font-size: 14px;
    font-weight: 800;
    color: var(--evt-ink);
    letter-spacing: -0.2px;
}
.evt-alarm-sms-desc {
    font-size: 12px;
    color: var(--evt-ink-sub);
    margin-top: 2px;
    word-break: keep-all;
}

.evt-alarm-submit {
    width: 100%;
    padding: 14px;
    margin-top: 6px;
    border: none;
    border-radius: 14px;
    background: var(--evt-brand);
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    font-family: inherit;
    letter-spacing: -0.2px;
    transition: opacity 0.15s;
}
.evt-alarm-submit:hover { opacity: 0.92; }
.evt-alarm-submit:disabled { opacity: 0.5; cursor: not-allowed; }
.evt-alarm-msg {
    margin-top: 10px;
    min-height: 18px;
    font-size: 12.5px;
    font-weight: 600;
    text-align: center;
}
.evt-alarm-msg.ok { color: #0AA67A; }
.evt-alarm-msg.err { color: var(--evt-accent); }

/* ── calendar modal overlay ───────────────────────────── */
.evt-calmodal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(14,20,48,0.45);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: none;
    flex-direction: column;
    align-items: center;
    padding: 60px 14px 14px;
    animation: evtCalFade 0.25s ease;
    overflow: hidden;
}
.evt-calmodal.open { display: flex; }
.evt-calmodal-box {
    background: #fff;
    border-radius: 24px;
    width: 100%;
    max-width: 460px;
    max-height: calc(100vh - 100px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 30px 60px -20px rgba(14,20,48,0.45);
}

.evt-cal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px 8px;
    flex-shrink: 0;
}
.evt-cal-nav {
    width: 34px; height: 34px;
    border-radius: 12px;
    border: 1px solid var(--evt-line);
    background: #fff;
    cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center;
    padding: 0;
    color: var(--evt-ink);
}
.evt-cal-nav:hover { background: var(--evt-bg); }
.evt-cal-title-wrap { text-align: center; }
.evt-cal-title-upper {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--evt-ink-sub);
}
.evt-cal-title {
    font-size: 20px;
    font-weight: 900;
    color: var(--evt-ink);
    letter-spacing: -0.5px;
    margin-top: 2px;
}

.evt-cal-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    padding: 8px 8px 0;
    gap: 2px;
    flex-shrink: 0;
}
.evt-cal-weekday {
    text-align: center;
    font-size: 11px;
    font-weight: 700;
    padding: 6px 0;
    color: var(--evt-ink-sub);
}
.evt-cal-weekday.sun { color: var(--evt-accent); }
.evt-cal-weekday.sat { color: var(--evt-brand); }

.evt-cal-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    padding: 4px 8px 12px;
    gap: 2px;
    flex-shrink: 0;
}
.evt-cal-day {
    height: 44px;
    border: none;
    cursor: pointer;
    border-radius: 12px;
    background: transparent;
    color: var(--evt-ink);
    font-size: 14px;
    font-weight: 700;
    position: relative;
    padding: 0;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.15s;
    font-family: inherit;
}
.evt-cal-day.empty { cursor: default; }
.evt-cal-day.sun { color: var(--evt-accent); }
.evt-cal-day.sat { color: var(--evt-brand); }
.evt-cal-day.selected {
    background: var(--evt-brand);
    color: #fff !important;
}
.evt-cal-day .dot {
    position: absolute;
    bottom: 6px;
    left: 50%;
    margin-left: -2.5px;
    width: 5px; height: 5px;
    border-radius: 50%;
    background: var(--evt-accent);
}
.evt-cal-day.selected .dot { background: #fff; }
.evt-cal-day:hover:not(.empty):not(.selected) {
    background: var(--evt-bg);
}

.evt-cal-list {
    border-top: 1px solid var(--evt-line);
    padding: 12px 14px 8px;
    flex: 1;
    overflow-y: auto;
    min-height: 100px;
}
.evt-cal-list-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    padding: 0 4px;
}
.evt-cal-list-label {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: var(--evt-ink-sub);
}
.evt-cal-list-count {
    font-size: 11px;
    font-weight: 700;
    color: var(--evt-ink-sub);
}
.evt-cal-list-empty {
    font-size: 12.5px;
    color: var(--evt-ink-sub);
    padding: 20px 4px;
    text-align: center;
}
.evt-cal-list-item {
    display: flex;
    gap: 12px;
    padding: 12px 4px;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}
.evt-cal-list-item + .evt-cal-list-item {
    border-top: 1px solid #F0F2F8;
}
.evt-cal-list-bar {
    width: 4px;
    border-radius: 2px;
    background: var(--evt-brand);
    flex-shrink: 0;
}
.evt-cal-list-item.live .evt-cal-list-bar { background: var(--evt-accent); }
.evt-cal-list-body { flex: 1; min-width: 0; }
.evt-cal-list-date {
    font-size: 11px;
    color: var(--evt-ink-sub);
    font-weight: 600;
    margin-bottom: 2px;
}
.evt-cal-list-title {
    font-size: 14px;
    font-weight: 800;
    color: var(--evt-ink);
    letter-spacing: -0.3px;
    line-height: 1.3;
    margin-bottom: 4px;
    white-space: pre-line;
}
.evt-cal-list-place {
    font-size: 11.5px;
    color: var(--evt-ink-sub);
}
.evt-cal-list-tag { align-self: center; flex-shrink: 0; }
.evt-cal-list-tag .live-pill {
    background: var(--evt-accent);
    color: #fff;
    font-size: 10px;
    font-weight: 900;
    padding: 4px 8px;
    border-radius: 999px;
    letter-spacing: 0.3px;
}
.evt-cal-list-tag .dday-pill {
    font-size: 11px;
    color: var(--evt-ink-sub);
    font-weight: 700;
}

@keyframes evtCalFade {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ── responsive ───────────────────────────────────────── */
@media (max-width: 480px) {
    .evt-titlebar { padding: 14px 18px 4px; }
    .evt-title { font-size: 22px; }
    .evt-subtitle { font-size: 11.5px; margin-left: 28px; }
    .evt-spinelist { padding: 6px 14px 60px; }
    .evt-rail { width: 54px; }
    .evt-month-card { width: 50px; height: 50px; }
    .evt-month-card .m { font-size: 16px; }
    .evt-card-poster { width: 48px; height: 60px; }
    .evt-card-title { font-size: 13.5px; }
}
