/* f-story.css — слой экрана поверх brand.css (DESIGN-3.md). Только var(), только transform/opacity в движении. */
/* «Наша история»: год в шапке, герой с итогами, вертикальная лента месяцев с точками по автору момента. */
.story-years { display: flex; }
.story-years button { flex: 1; min-height: 44px; font-weight: 600; font-variant-numeric: tabular-nums; }
.story-hero { padding: 18px 16px 16px; }
.story-hero .sh-top { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .85; }
.story-hero .sh-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 10px; margin-top: 16px; }
.story-hero .sh-num { font-family: var(--font-display); font-weight: 600; font-size: 36px; line-height: 1; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.story-hero .sh-lab { font-size: 12.5px; line-height: 1.3; opacity: .78; margin-top: 4px; }
.story-hero .sh-more { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; margin-top: 14px; font-size: 12.5px; opacity: .82; }
.story-hero .sh-more b { font-weight: 700; }
.story-hero .btn-primary { margin-top: 16px; width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
/* лента месяца: линия слева, точка на каждом моменте — индиго (он), роза (она), аврора (мы) */
.tl-month { display: flex; flex-direction: column; gap: 10px; }
.tl-mh { text-transform: capitalize; padding-left: 2px; }
.tl-list { position: relative; display: flex; flex-direction: column; gap: 12px; padding-left: 26px; }
.tl-list::before { content: ''; position: absolute; left: 7px; top: 10px; bottom: 10px; width: 2px; border-radius: 2px; background: var(--border); }
.tl-item { position: relative; }
.tl-dot { position: absolute; left: -26px; top: 22px; width: 16px; height: 16px; border-radius: 50%; border: 3px solid var(--surface); box-shadow: 0 0 0 2px var(--border); background: var(--violet); }
.tl-item.him .tl-dot { background: var(--him); }
.tl-item.her .tl-dot { background: var(--her); }
.tl-item.us .tl-dot { background: var(--us); }
.tl-card { padding: 8px 8px 14px 14px; }
.tl-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 44px; }
.tl-top time { font-size: 12.5px; font-variant-numeric: tabular-nums; }
.tl-heart { background: transparent; color: var(--muted); }
.tl-heart.active { color: var(--her); background: var(--her-soft); }
.tl-heart.active svg { fill: currentColor; }
.tl-title { font-size: 21px; line-height: 1.15; padding-right: 6px; }
.tl-detail { font-size: 13.5px; line-height: 1.45; margin-top: 4px; padding-right: 6px; }
.tl-marks { display: flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 12.5px; font-weight: 600; color: var(--her); }
/* display:flex выше перебивает UA-правило [hidden] — без этого пустое сердце без имени висело
   на каждой карточке, будто момент уже кто-то отметил */
.tl-marks[hidden] { display: none; }
.story-empty .cav { font-family: Caveat, cursive; font-size: 22px; color: var(--text); }
