/* lineage module styles */
.lin-panel { max-height: calc(100% - 12px); overflow: hidden; padding: 12px 18px; }
.lin-panel h2 { margin-bottom: 6px; }
.lin-older { column-count: 2; column-gap: 8px; margin-bottom: 6px; }
.lin-card { background: #1c1b23; border: 1px solid var(--line); border-radius: 6px; margin-bottom: 4px; break-inside: avoid; }
.lin-small { padding: 1px 8px; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lin-small .lin-epi { margin-left: 4px; }
.lin-big { padding: 5px 10px; margin-bottom: 5px; }
.lin-now { border-color: #3f6b45; background: #1b231c; }
.lin-epi { font-style: italic; color: #b9b4c6; font-size: 12px; }
.lin-big .lin-epi { font-size: 13px; }
.lin-quirk { color: var(--warn); cursor: help; }
.lin-nems { margin-top: 4px; }
.lin-side { color: var(--hurt); font-size: 12px; margin-top: 4px; }
.lin-mantle { margin-top: 6px; }
.lin-btn { display: inline-block; border: 1px solid var(--gold); color: var(--gold); border-radius: 4px; padding: 2px 10px; cursor: pointer; font-size: 12px; }
.lin-btn:hover { background: #2a2530; }
.lin-wall { background: linear-gradient(#2a2a31, #1d1d22); border-color: #4a4a55; }
.lin-wall h2 { text-align: center; letter-spacing: 3px; color: #c9c6d2; }
.lin-stones { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.lin-stone { background: linear-gradient(#55555f, #44444d); border: 1px solid #70707c; border-radius: 40px 40px 4px 4px; padding: 8px 8px 6px; text-align: center; box-shadow: inset 0 2px 6px rgba(0, 0, 0, .5); }
.lin-rip { color: #9a9aa6; font-size: 14px; line-height: 1; }
.lin-name { font-weight: bold; color: #e4e1ec; text-shadow: 0 1px 0 #222; }
.lin-stone .lin-epi { color: #d0cdd9; font-size: 11px; line-height: 1.25; }
.lin-still { margin-top: 8px; color: #e39a9a; font-size: 12px; }
.lin-still span { display: block; font-style: italic; }
