/* ============================================================
   首页 · 简约数据看板
   ============================================================ */

.hm-page {
    width: calc(100% - 24px);
    max-width: 680px;
    margin: 18px auto 0;
    color: #4a333b;
}

.hm-heading { padding: 6px 0 20px; text-align: center; }

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

.hm-heading h2 {
    margin: 12px 0 0;
    font-family: 'Noto Serif SC', 'Songti SC', serif;
    font-size: clamp(1.35rem, 4.6vw, 1.72rem);
    font-weight: 500;
    letter-spacing: .04em;
}

/* 相伴天数 */
.hm-days {
    padding: 26px 22px 20px;
    border: 1px solid rgba(255, 255, 255, .9);
    border-radius: 24px;
    background: rgba(255, 255, 255, .8);
    box-shadow: 0 24px 50px -44px rgba(64, 40, 52, .45);
    text-align: center;
}

.hm-quote {
    margin: 0 10px 16px;
    font-family: 'Noto Serif SC', 'Songti SC', serif;
    font-size: 1rem;
    line-height: 1.8;
    letter-spacing: .04em;
    color: #45343a;
}

.hm-since {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 12px 5px 5px;
    border: 1px solid rgba(194, 96, 122, .14);
    border-radius: 999px;
    background: #fff;
}

.hm-since > i {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fbebee;
    color: #c2607a;
    font-size: 10px;
    font-style: normal;
}

.hm-since > span { display: flex; flex-direction: column; align-items: flex-start; }
.hm-since small { font-size: .48rem; letter-spacing: .18em; color: #b29aa2; }
.hm-since b { margin-top: 1px; font-size: .66rem; font-weight: 500; color: #6e535d; }

.hm-big { margin: 20px 0 2px; }

.hm-big strong {
    display: block;
    font-family: 'Inter', 'Helvetica Neue', sans-serif;
    font-size: clamp(3.4rem, 16vw, 4.6rem);
    font-weight: 600;
    line-height: .95;
    letter-spacing: -.05em;
    color: #3a2f35;
}

.hm-big span { display: block; margin-top: 8px; font-size: .54rem; letter-spacing: .38em; color: #a68f97; }

.hm-big::after {
    content: "";
    display: block;
    width: 24px;
    height: 2px;
    margin: 12px auto 0;
    border-radius: 99px;
    background: #e0a3b2;
}

.hm-timer {
    display: flex;
    justify-content: center;
    gap: 28px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px dashed rgba(61, 43, 49, .1);
}

.hm-timer div { display: flex; flex-direction: column; align-items: center; }
.hm-timer b { font-family: 'Inter', sans-serif; font-size: 1.15rem; font-weight: 500; letter-spacing: .04em; color: #4a333b; }
.hm-timer small { margin-top: 4px; font-size: .48rem; letter-spacing: .18em; color: #b09aa2; }

/* 栏目统计 */
.hm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }

.hm-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100px;
    padding: 14px 15px;
    border: 1px solid rgba(255, 255, 255, .9);
    border-radius: 18px;
    background: rgba(255, 255, 255, .72);
    box-shadow: 0 16px 34px -34px rgba(64, 40, 52, .4);
    text-decoration: none;
    transition: background .2s ease, box-shadow .2s ease;
}

.hm-card:hover {
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 20px 38px -32px rgba(64, 40, 52, .45);
}

.hm-card-top { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }

.hm-card-top span { color: #856d76; font-size: .72rem; letter-spacing: .06em; }

.hm-card-top em {
    font-size: .5rem;
    font-style: normal;
    letter-spacing: .14em;
    color: #c0aab2;
    text-transform: uppercase;
}

.hm-card > b {
    margin-top: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -.02em;
    color: #4a333b;
}

.hm-card > small { margin-top: 7px; color: #a38d95; font-size: .62rem; letter-spacing: .02em; }

/* 每个栏目只留一点颜色 */
.hm-posts > b { color: #a5765d; }
.hm-album > b { color: #4b8fd0; }
.hm-wish > b { color: #b45f79; }
.hm-time > b { color: #7c88bd; }
.hm-msg > b { color: #cf6880; }
.hm-archive > b { color: #7b8d7e; }

@media (max-width: 620px) {
    .hm-page { margin-top: 14px; }
    .hm-heading { padding-bottom: 16px; }
    .hm-days { padding: 24px 16px 18px; border-radius: 21px; }
    .hm-quote { margin: 0 4px 14px; font-size: .95rem; }
    .hm-timer { gap: 20px; }
    .hm-card { min-height: 94px; padding: 12px 13px; border-radius: 16px; }
    .hm-card > b { font-size: 1.6rem; }
    .hm-grid { gap: 8px; }
}

/* ------------------------------------------------------------
   各栏目简要内容
   ------------------------------------------------------------ */

.hm-sections {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 14px;
}

.hm-sec {
    padding: 17px 16px 15px;
    border: 1px solid rgba(255, 255, 255, .9);
    border-radius: 20px;
    background: rgba(255, 255, 255, .72);
    box-shadow: 0 16px 34px -36px rgba(64, 40, 52, .4);
}

.hm-sec-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.hm-sec-head span {
    display: block;
    font-family: 'Cormorant Garamond', 'Noto Serif SC', serif;
    font-size: .6rem;
    font-style: italic;
    letter-spacing: .2em;
    color: #b79ca5;
    text-transform: uppercase;
}

.hm-sec-head h3 {
    margin: 3px 0 0;
    font-family: 'Noto Serif SC', serif;
    font-size: .96rem;
    font-weight: 600;
    letter-spacing: .04em;
    color: #4a333b;
}

.hm-sec-head a { flex: none; color: #a37482; font-size: .66rem; text-decoration: none; }
.hm-sec-head a:hover { color: #8a4f61; }

/* 动态 */
.hm-post-list { display: flex; flex-direction: column; }

.hm-post {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(61, 43, 49, .06);
    text-decoration: none;
}

.hm-post:last-child { border-bottom: 0; padding-bottom: 2px; }

.hm-post-thumb {
    display: grid;
    flex: none;
    place-items: center;
    width: 48px;
    height: 48px;
    overflow: hidden;
    border-radius: 11px;
    background: #f5efeb;
    color: #cfb0b7;
}

.hm-post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.hm-post-thumb i { font-style: normal; }

.hm-post-body { flex: 1; min-width: 0; }

.hm-post-body b {
    display: block;
    overflow: hidden;
    color: #4f3a41;
    font-size: .78rem;
    font-weight: 400;
    line-height: 1.6;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hm-post-body small { display: block; margin-top: 3px; color: #b09aa2; font-size: .6rem; letter-spacing: .03em; }

/* 相册 */
.hm-albums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }

.hm-album { display: block; text-decoration: none; }

.hm-album-cover {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 1;
    border-radius: 12px;
    background: #f4eef0;
}

.hm-album-cover img { width: 100%; height: 100%; object-fit: cover; }
.hm-album-cover i { display: grid; place-items: center; height: 100%; color: #c9aab2; font-style: normal; }

.hm-album-cover span {
    position: absolute;
    right: 5px;
    bottom: 5px;
    padding: 1px 6px;
    border-radius: 99px;
    background: rgba(30, 20, 24, .42);
    color: #fff;
    font-size: .56rem;
}

.hm-album small { display: block; margin-top: 5px; color: #b09aa2; font-size: .6rem; text-align: center; }

/* 心愿 */
.hm-wishes { display: flex; flex-direction: column; }

.hm-wish-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(61, 43, 49, .06);
    color: #4f3a41;
    font-size: .78rem;
    text-decoration: none;
}

.hm-wish-row:last-child { border-bottom: 0; padding-bottom: 2px; }

.hm-dot {
    flex: none;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #8db9e8;
}

.hm-wish-row.is-done .hm-dot { background: #d8d2d4; }
.hm-wish-row.is-done > span:nth-child(2) { color: #a8999e; text-decoration: line-through; text-decoration-color: rgba(160, 140, 148, .4); }

.hm-wish-row > span:nth-child(2) { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hm-wish-row small { flex: none; color: #b29aa2; font-size: .6rem; }

/* 时光 */
.hm-times { display: flex; flex-direction: column; gap: 8px; }

.hm-time-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 12px;
    border-radius: 14px;
    text-decoration: none;
}

.hm-time-card.is-future { background: #f3f9ff; border: 1px solid #e4f0fc; }
.hm-time-card.is-past { background: #fff8f1; border: 1px solid #fbeadb; }

.hm-time-icon {
    display: grid;
    flex: none;
    place-items: center;
    width: 31px;
    height: 31px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .8);
}

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

.hm-time-body { flex: 1; min-width: 0; }
.hm-time-body b { display: block; overflow: hidden; color: #4a333b; font-size: .78rem; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.hm-time-body small { display: block; margin-top: 3px; color: #a38d95; font-size: .6rem; }

.hm-time-days { display: flex; flex: none; align-items: baseline; gap: 2px; }
.hm-time-card.is-future .hm-time-days strong { color: #4f83b8; }
.hm-time-card.is-past .hm-time-days strong { color: #c27f46; }
.hm-time-days strong { font-family: 'Inter', sans-serif; font-size: 1.15rem; font-weight: 600; line-height: 1; }
.hm-time-days small { color: #a38d95; font-size: .58rem; }

/* 留言 */
.hm-messages { display: flex; flex-direction: column; gap: 8px; }

.hm-message {
    display: block;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .55);
    text-decoration: none;
}

.hm-message-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.hm-message-top b { color: #7d4e5e; font-size: .72rem; font-weight: 600; }
.hm-message-top time { flex: none; color: #b8a4aa; font-size: .58rem; }
.hm-message p { margin: 4px 0 0; overflow: hidden; color: #8a737b; font-size: .72rem; line-height: 1.6; text-overflow: ellipsis; white-space: nowrap; }

@media (max-width: 620px) {
    .hm-sections { gap: 10px; margin-top: 10px; }
    .hm-sec { padding: 15px 13px 13px; border-radius: 17px; }
    .hm-sec-head h3 { font-size: .9rem; }
    .hm-post-thumb { width: 44px; height: 44px; }
}
