/* A returning reader's own rows on a catalogue home (reader recommendations Option A, owner
   2026-11-18: "amader design system thik rekhe"). Drawn by public/js/bde-reco.js from this
   browser's history only; partials/f2/reader-shelves. Nothing new in look: each row is the home's
   own shelf (f2-section, f2-section-head, f2-h2, grid-books f2-shelf fh-shelf, the f2 book card),
   its reason line is the Continue card's tag (.fh-cont__tag), "Hide" a quiet f2 button and the
   extra Continue cards the hero's own card, smaller. */

/* The rows: one flex child of .fh-home, its rows apart by the page's own rhythm. */
.fh-mine { display: flex; flex-direction: column; gap: clamp(30px, 4vw, 44px); min-width: 0; }
.fh-mine[hidden], .fh-mine [hidden] { display: none; }
[data-reco-rows] { display: contents; }
/* Room for the first row, kept before the first paint (the inline script) and given back once the
   rows are drawn, so the shelves below do not jump when it arrives. */
.fh-mine--wait { min-height: 330px; }
@media (min-width: 768px) { .fh-mine--wait { min-height: 400px; } }

.fh-mine__head { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.fh-mine__why { font-size: 13px; font-weight: 700; color: var(--f2-link); }
.fh-mine__head .f2-h2 { overflow-wrap: anywhere; }
.fh-mine__acts { display: flex; align-items: center; gap: 6px; flex: 0 0 auto; align-self: flex-end; }
.fh-mine__hide.f2-btn { min-height: 44px; padding: 0 14px; font-size: 14px; font-weight: 600; color: var(--f2-muted); }

.fh-mine__foot { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; margin-top: -14px; }
.fh-mine__note { margin: 0; max-width: 68ch; font-size: 13.5px; line-height: 1.55; color: var(--f2-muted); text-wrap: pretty; }
.fh-mine__clear.f2-btn { min-height: 44px; padding: 0; font-size: 14px; font-weight: 600; white-space: normal; text-align: start; text-decoration: underline; text-underline-offset: 3px; }

/* Continue reading: up to three books in the hero's card stack, the newest drawn as today, the
   others one line shorter. The inline script reserves their room before the first paint. */
.fh-cont-wrap[data-reco-n] { display: flex; flex-direction: column; gap: 8px; }
.fh-cont-wrap[data-reco-n="2"] { min-height: calc(96px + 8px + 64px); }
.fh-cont-wrap[data-reco-n="3"] { min-height: calc(96px + 2 * (8px + 64px)); }
.fh-cont.fh-cont--more { min-height: 64px; padding: 8px 14px 8px 10px; gap: 12px; border-radius: 16px; box-shadow: 0 18px 40px -24px rgba(0, 0, 0, .7); }
.fh-cont--more .fh-cont__cover { width: 32px; border-radius: 5px; }
.fh-cont--more .fh-cont__text { gap: 2px; }
.fh-cont--more .fh-cont__title { font-size: 15px; }
.fh-cont--more .fh-cont__where, .fh-cont--more .fh-cont__bar { display: none; }
