.lifestyle-history-heading { align-items: end; }
.lifestyle-history-heading > small { color: var(--muted); font-size: 10px; }
.life-history .life-archive-run { display: block !important; width: 100%; padding: 0; overflow: hidden; }
.life-archive-run > header { display: flex; align-items: center; justify-content: space-between; padding: 13px 15px; border-bottom: 1px solid var(--line); background: #fafaf8; }
.life-archive-run > header > div { display: flex; flex-direction: column; gap: 3px; }
.life-archive-run > header > div:last-child { align-items: flex-end; }
.life-archive-grid { display: grid !important; grid-template-columns: repeat(5, minmax(0, 1fr)) !important; align-items: start !important; gap: 10px; padding: 14px; }
.life-history > .life-archive-grid { padding: 0; }
.life-archive-card { grid-column: auto !important; width: 100% !important; min-width: 0; max-width: none !important; position: relative; overflow: hidden; margin: 0; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.life-archive-open { display: grid; place-items: center; width: 100%; aspect-ratio: 3 / 4; padding: 0; overflow: hidden; border: 0; border-radius: 0; background: #f1f0ec; }
.life-archive-open:hover { transform: none; }
.life-archive-open img { display: block; width: 100%; height: 100%; object-fit: contain; }
.life-archive-card figcaption { display: flex; flex-direction: column; gap: 3px; padding: 10px 11px 9px; }
.life-archive-card figcaption span, .life-archive-card figcaption small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.life-archive-card figcaption span { color: #333943; font-size: 10px; font-weight: 750; }
.life-archive-card figcaption small { color: var(--muted); font-size: 9px; }
.life-archive-delete { position: absolute; z-index: 2; top: 8px; right: 8px; width: 27px; height: 27px; padding: 0; border: 1px solid rgba(255,255,255,.72); border-radius: 50%; background: rgba(26,29,35,.72); color: #fff; font-size: 18px; font-weight: 400; line-height: 25px; box-shadow: 0 2px 8px rgba(17,20,26,.25); backdrop-filter: blur(5px); }
.life-archive-delete:hover:not(:disabled) { border-color: #fff; background: #b94f45; transform: none; }
.life-archive-favorite { position: absolute; z-index: 2; left: 8px; bottom: 52px; width: 29px; height: 29px; padding: 0; border: 1px solid rgba(255,255,255,.8); border-radius: 50%; background: rgba(255,255,255,.9); color: #8b6d76; font-size: 19px; line-height: 27px; box-shadow: 0 2px 8px rgba(17,20,26,.18); backdrop-filter: blur(5px); }
.life-archive-favorite:hover:not(:disabled),.selected-for-shopify .life-archive-favorite { border-color: #fff; background: #a7475e; color: #fff; transform: none; }
.lifestyle-selected-heading { margin-top: 34px; }
.lifestyle-collection-heading { margin-top: 34px; }
.life-collection-run > header strong { color: #2a2f36; font-size: 12px; font-weight: 750; }
.life-collection-run > header small { color: var(--muted); font-size: 10px; }
.life-collection-run > header > div:last-child small { font-size: 10px; color: var(--muted); }
.life-selected-history { margin-bottom: 24px; }
.life-archive-readonly { display: block; margin: 0 10px 10px; padding: 8px 10px; border-radius: 8px; background: #f3f3ef; color: var(--muted); text-align: center; font-size: 9px; }
.life-archive-empty { margin: 0; padding: 24px; text-align: center; color: var(--muted); font-size: 10px; }
@media (max-width: 1050px) { .life-archive-grid { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; } }
@media (max-width: 780px) { .life-archive-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; } }
@media (max-width: 520px) { .life-archive-run > header { align-items: flex-start; gap: 12px; } .life-archive-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 6px; } .lifestyle-history-heading { align-items: flex-start; } .lifestyle-history-heading > small { margin-top: 6px; } }
