/* Dugout ledger screen: styles only the ledger view (js/views/ledger.js) uses.
   Classes here belong to this screen; tests/css-lint.mjs fails if another screen's file defines the same class. */
.dna-title { font: 900 extra-condensed 46px/.95 var(--head); text-transform: uppercase; letter-spacing: .005em; color: var(--accent-text); margin: 2px 0 12px; }
.trait { display: flex; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); }
.trait .ic { font-size: 20px; flex: none; width: 26px; text-align: center; }
.trait p { margin: 2px 0 0; color: var(--ink2); font-size: 15px; }
.gwblock { border-top: 1px solid var(--line); padding: 8px 0; }
.gwh { font: 700 15px var(--font); display: flex; gap: 10px; justify-content: space-between; }
.calib .ac { background: var(--seq); }
.badge .bi { font-size: 24px; }
.whatif li { grid-template-columns: 30px 1fr 56px; }
.whatif li small { display: block; color: var(--muted); font-size: 13px; }
.whatif .ic { font-size: 20px; }
.vbars { display: flex; gap: 4px; align-items: flex-end; height: 100px; padding-bottom: 16px; }
.vbars > div { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; position: relative; }
.vbars span { background: var(--ink); }
.vbars small { position: absolute; bottom: -16px; left: 0; right: 0; text-align: center; font: 600 10px var(--num); color: var(--muted); }
.recapimg { width: 100%; max-width: 360px; border-radius: var(--r); display: block; margin: 10px 0; border: 1px solid var(--edge); box-shadow: var(--drop); }

/* each gameweek's "top X%" */
.wktops { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.wktops span { display: grid; padding: 4px 8px; border-radius: 6px; background: var(--card2); font: 800 13px var(--num); border: 1px solid var(--edge); border-left-width: 6px; }
.wktops small { font-size: 11.5px; font-weight: 500; color: var(--muted); }
.wktops .wk-good { border-left-color: var(--good); }
.wktops .wk-mid { border-left-color: var(--warn); }
.wktops .wk-bad { border-left-color: var(--bad); }
/* your first team, untouched */
.safbars { width: 100%; height: auto; display: block; margin: 4px 0; }
.safbars line { stroke: var(--line); }
.safbars rect.pos { fill: var(--good); }
.safbars rect.neg { fill: var(--bad); }
.safbars text { font: 600 9px var(--num); fill: var(--muted); }
/* the captaincy verdicts wrap rather than run off the card */
.capt td:last-child { white-space: normal; min-width: 120px; }
