.lx-favorite-star { display:inline-flex; align-items:center; justify-content:center; min-width:44px; min-height:44px; padding:4px; border:0; border-radius:8px; background:transparent; color:inherit; font-size:1.5rem; cursor:pointer; vertical-align:middle; }
.lx-favorite-star[hidden] { display:none; }
.lx-favorite-star[aria-pressed="true"] { color:#996000; }
.lx-favorite-star:focus-visible { outline:3px solid var(--btb-vs1-primary, #087a72); outline-offset:2px; }
.lx-favorite-star:disabled { cursor:default; }
.lx-favorites { margin-bottom:20px; }
.lx-favorites ul { display:flex; flex-wrap:wrap; gap:10px; padding:0; list-style:none; }
.lx-favorites li { display:flex; flex-wrap:wrap; gap:12px; padding:10px 14px; border:1px solid var(--btb-vs1-border, #ddd); border-radius:10px; }
.lx-row-team .lx-favorite-star { flex:0 0 44px; }
.lx-favorite-team-label { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:4px; }
.lx-favorite-team-label>a { min-width:0; overflow-wrap:anywhere; }
.lx-favorite-team-label>.lx-favorite-star { justify-self:end; flex-shrink:0; font-size:1.15rem; }
.lx-team-header h2 { display:flex; align-items:center; gap:8px; }
.lx-team-header h2>.lx-favorite-star { flex:0 0 44px; font-size:1.15rem; }
.lx-favorite-heading-label { min-width:0; overflow-wrap:anywhere; }
/* SVG stars keep the existing state/labels and effective 44px button target. */
.lx-favorite-star .lx-star-text { display:none; }
.lx-favorite-star>.lx-icon { display:block; width:19px; height:19px; fill:none; }
.lx-favorite-star[aria-pressed="true"]>.lx-icon { fill:currentColor; }

/* Explicit DOM-order opt-in. Reserve the star track even before JS is ready;
   hidden controls must not move labels. Legacy/default callers retain 44px. */
.lx-favorite-team-label--leading { grid-template-columns:var(--lx-row-target,36px) minmax(0,1fr); gap:var(--lx-row-gap,4px); }
.lx-favorite-team-label--leading>:is(a,span) { grid-column:2; grid-row:1; min-width:0; overflow-wrap:anywhere; }
.lx-favorite-team-label--leading>.lx-favorite-star { grid-column:1; grid-row:1; justify-self:start; width:var(--lx-row-target,36px); min-width:var(--lx-row-target,36px); min-height:var(--lx-row-target,36px); padding:4px; }
.lx-favorite-team-label--leading { min-height:var(--lx-row-target,36px); }
.lx-favorite-team-label--leading>.lx-favorite-star>.lx-icon { width:18px; height:18px; }
