/* 01 首页 · 画册版 */

.home { position: relative; padding: 56px var(--gutter) 24px; }

/* 右上角伸进来的橙子枝，轻轻摆 */
.home-sprig {
  position: absolute; right: -58px; top: -34px; width: 210px; pointer-events: none;
  transform-origin: 85% 10%; animation: sprig-sway 7s ease-in-out infinite alternate;
}
@keyframes sprig-sway { from { transform: rotate(18deg); } to { transform: rotate(21deg); } }
@media (prefers-reduced-motion: reduce) { .home-sprig { animation: none; transform: rotate(19deg); } }

.home-meta { font-size: 11px; color: var(--ink-soft); letter-spacing: .3em; }
.home-meta + .rule { margin-top: 12px; }

.home-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-top: 24px; min-height: 140px; }
.home-title { display: flex; flex-direction: column; gap: 10px; align-self: flex-start; }
.home-title h1 { margin: 0; font-family: var(--font-song); font-size: 46px; font-weight: 300; letter-spacing: .3em; line-height: 1.05; }
.home-title .sub { font-family: var(--font-song); font-size: 12px; letter-spacing: .4em; color: var(--ink-soft); }
.home-title .rule { width: 132px; margin-top: 4px; }
.home-status { display: flex; flex-direction: column; gap: 4px; font-family: var(--font-song); font-size: 10px; letter-spacing: .3em; color: var(--ink-soft); }
.home-status .rule { width: 48px; margin-top: 6px; }

/* 两块大面板 */
.home-panels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 18px; }
.panel { display: flex; flex-direction: column; gap: 12px; }
.panel-box { position: relative; height: 216px; border: 1px solid var(--rule); box-shadow: var(--shadow-card); overflow: hidden; background: var(--paper-card); }
.panel-note { display: flex; flex-direction: column; padding: 14px 14px 12px; }
.panel-note .from { font-family: var(--font-song); font-size: 10px; letter-spacing: .25em; color: var(--ink-soft); line-height: 26px; }
.panel-note .text { font-family: var(--font-hand); font-size: 15px; line-height: 26px; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.panel-note .go { margin-top: auto; align-self: flex-end; font-size: 13px; line-height: 26px; color: var(--accent); }
.panel-mood .wash { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .4; }
.panel-mood .clock { position: absolute; left: 50%; top: 26px; width: 136px; transform: translateX(-50%) rotate(-4deg); filter: drop-shadow(0 4px 6px rgba(120, 100, 60, .12)); }
.panel-mood .word { position: absolute; left: 0; right: 0; bottom: 20px; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.panel-mood .word b { font-family: var(--font-song); font-weight: 300; font-size: 20px; letter-spacing: .4em; padding-left: .4em; }
.panel-mood .word span { font-family: var(--font-latin); font-size: 10px; letter-spacing: .15em; color: var(--ink-soft); }
.panel-cap { display: flex; flex-direction: column; gap: 5px; padding-left: 2px; text-align: left; }
.panel-cap b { font-family: var(--font-song); font-weight: 400; font-size: 12px; letter-spacing: .3em; }
.panel-cap span { font-family: var(--font-song); font-size: 9px; letter-spacing: .24em; color: var(--ink-soft); }

/* 今日色卡 */
.home-palette { display: flex; align-items: flex-start; justify-content: space-between; margin-top: 24px; }
.swatches { display: flex; gap: 14px; }
.swatch { display: flex; flex-direction: column; align-items: center; gap: 7px; font-family: var(--font-song); font-size: 9px; letter-spacing: .3em; color: var(--ink-soft); }
.swatch i { width: 42px; height: 42px; border-radius: 50%; box-shadow: 0 3px 6px rgba(150, 110, 120, .14); }
.palette-title { display: flex; flex-direction: column; align-items: center; gap: 6px; padding-top: 12px; font-family: var(--font-song); font-size: 10px; letter-spacing: .3em; }
.palette-title .rule { width: 56px; }
.palette-words { display: flex; flex-direction: column; gap: 3px; font-family: var(--font-song); font-size: 9px; letter-spacing: .3em; color: var(--ink-soft); }
.palette-words .rule { width: 40px; margin-top: 5px; }

/* 底部：四叶草 + 在一起天数 + 两人的图 */
.home-together { position: relative; height: 150px; margin-top: 30px; }
.home-together .clovers { position: absolute; left: -10px; top: 0; width: 86px; transform: rotate(-6deg); }
.home-together .couple { position: absolute; right: -22px; top: -10px; width: 192px; }
.days { position: absolute; left: 80px; top: 12px; display: flex; flex-direction: column; gap: 2px; text-shadow: 0 0 6px var(--paper), 0 0 3px var(--paper), 0 0 1px var(--paper); }
.days .k { font-family: var(--font-song); font-size: 11px; letter-spacing: .5em; color: var(--ink-soft); }
.days .n { display: flex; align-items: baseline; gap: 4px; margin-top: -2px; }
.days .n b { font-family: var(--font-latin); font-weight: 400; font-size: 46px; line-height: 1; }
.days .n span { font-family: var(--font-song); font-size: 13px; }
.days .rule { width: 28px; margin: 4px 0 3px; background: #D9C9A8; }
.days .d { font-family: var(--font-latin); font-size: 10px; letter-spacing: .18em; color: var(--ink-soft); }
