/* ============================================================
   时光 · 浅色日子卡片
   ============================================================ */

.cd-page {
    width: min(720px, 100%);
    margin: 0 auto;
    padding: 26px 16px 86px;
    color: #4a333b;
}

.cd-heading { text-align: center; padding: 8px 0 26px; }

.cd-kicker {
    display: block;
    font-family: 'Cormorant Garamond', 'Noto Serif SC', serif;
    font-size: .78rem;
    font-style: italic;
    letter-spacing: .3em;
    color: #b0838f;
}

.cd-heading h2 {
    margin: 13px 0 9px;
    font-family: 'Noto Serif SC', 'Songti SC', serif;
    font-size: clamp(1.55rem, 5.2vw, 2.1rem);
    font-weight: 500;
    letter-spacing: .06em;
}

.cd-heading p { margin: 0; color: #9a838b; font-size: .8rem; line-height: 1.7; }

.cd-list { display: flex; flex-direction: column; gap: 12px; }

.cd-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    overflow: hidden;
    padding: 22px 20px;
    border: 1px solid rgba(255, 255, 255, .9);
    border-radius: 24px;
    color: #4a333b;
    box-shadow: 0 18px 38px -34px rgba(64, 40, 52, .4);
}

.cd-card.is-future {
    background: linear-gradient(135deg, #f7fbff 0%, #edf5ff 55%, #e6f0fb 100%);
    border-color: #e6f0fb;
}

.cd-card.is-past {
    background: linear-gradient(135deg, #fffaf4 0%, #fff3e6 55%, #fdecdb 100%);
    border-color: #fbe8d5;
}

.cd-flag {
    position: absolute;
    top: 0;
    right: 20px;
    padding: 4px 11px 5px;
    border-radius: 0 0 9px 9px;
    background: rgba(255, 255, 255, .7);
    color: #bf8a55;
    font-size: .62rem;
    letter-spacing: .14em;
}

.cd-icon {
    display: grid;
    flex: none;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, .9);
    border-radius: 50%;
    background: rgba(255, 255, 255, .7);
    box-shadow: 0 8px 18px -14px rgba(64, 40, 52, .3);
}

.cd-card.is-future .cd-icon { color: #6f9ac8; }
.cd-card.is-past .cd-icon { color: #cb8f5e; }
.cd-icon svg { width: 21px; height: 21px; }

.cd-info { flex: 1; min-width: 0; padding-right: 4px; }

.cd-info b {
    display: block;
    overflow: hidden;
    color: #4a333b;
    font-size: .94rem;
    font-weight: 600;
    letter-spacing: .02em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cd-info small { display: block; margin-top: 5px; color: #9d8790; font-size: .68rem; letter-spacing: .02em; }

.cd-info em {
    display: block;
    overflow: hidden;
    margin-top: 4px;
    color: #b5a0a7;
    font-size: .64rem;
    font-style: normal;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cd-count { display: flex; flex: none; align-items: baseline; gap: 4px; padding-right: 2px; }

.cd-count strong {
    font-family: 'Inter', 'Helvetica Neue', sans-serif;
    font-size: clamp(2rem, 7.6vw, 2.55rem);
    font-weight: 600;
    line-height: 1;
    letter-spacing: -.03em;
}

.cd-card.is-future .cd-count strong { color: #4f83b8; }
.cd-card.is-past .cd-count strong { color: #c27f46; }

.cd-count small { color: #a38d95; font-size: .68rem; }

.cd-empty {
    padding: 56px 22px;
    border: 1px solid rgba(255, 255, 255, .9);
    border-radius: 22px;
    background: rgba(255, 255, 255, .7);
    text-align: center;
}

.cd-empty > span { font-size: 2rem; color: #d39aaa; }

.cd-empty h3 {
    margin: 10px 0 6px;
    font-family: 'Noto Serif SC', serif;
    font-size: 1rem;
    font-weight: 500;
    color: #6b4a55;
}

.cd-empty p { margin: 0; color: #a08a92; font-size: .78rem; line-height: 1.7; }

@media (max-width: 620px) {
    .cd-page { padding: 18px 14px 80px; }
    .cd-card { gap: 11px; padding: 19px 16px; border-radius: 20px; }
    .cd-icon { width: 40px; height: 40px; }
    .cd-icon svg { width: 19px; height: 19px; }
    .cd-info b { font-size: .88rem; }
    .cd-count strong { font-size: 1.95rem; }
    .cd-flag { right: 13px; }
}
