/* BK Sports — Players tab Lineup view (Option B). */
#screen-players.is-lineup #bkx-pl-count { display: none !important; }
#screen-players.is-lineup #bkx-pl-list,
#screen-players.is-lineup #bkx-tm-list { display: none !important; }
#screen-players:not(.is-lineup) #bkx-lu-root { display: none !important; }
#screen-players .bkx-pl-mode { margin: 2px 0 0; }
#screen-players.is-lineup .scroll { padding: 8px 16px calc(var(--tab-h, 88px) + var(--sab, env(safe-area-inset-bottom, 0px)) + 12px); }
#bkx-lu-root { display: flex; flex-direction: column; gap: 10px; }
#bkx-lu-root .lu-kicker {
  font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--faint, var(--muted));
}
#bkx-lu-root .lu-lede {
  margin: 0; font-size: 14.5px; font-weight: 600; line-height: 1.45; color: var(--text);
}
#bkx-lu-root .lu-note {
  margin: 0; font-size: 13px; font-weight: 600; line-height: 1.4; color: var(--muted);
}
#bkx-lu-root .lu-err {
  margin: 0; font-size: 13.5px; font-weight: 650; line-height: 1.4; color: var(--text);
}
#bkx-lu-root .lu-field,
#bkx-lu-root .fs-add-input {
  width: 100%; box-sizing: border-box; padding: 11px 12px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--card); color: var(--text);
  font: inherit; font-size: 15px; font-weight: 600;
}
#bkx-lu-root .lu-field:focus,
#bkx-lu-root .fs-add-input:focus { outline: 2px solid var(--volt-text, #8FA6BC); outline-offset: 1px; }
#bkx-lu-root .fresh-btn.lu-primary,
#bkx-lu-root .bkx-primary.lu-primary {
  width: 100%; height: 44px; padding: 0 16px; font-size: 15px; box-sizing: border-box;
}
#bkx-lu-root .lu-textbtn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 100%; height: 40px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--line-2, var(--line)); background: transparent;
  color: var(--text); font: inherit; font-size: 14px; font-weight: 800; cursor: pointer;
}
#bkx-lu-root .lu-link {
  border: 0; background: none; color: var(--muted); font: inherit;
  font-size: 13px; font-weight: 700; padding: 4px 0; cursor: pointer; text-align: left;
}
#bkx-lu-root .lu-leagues { display: flex; flex-direction: column; gap: 8px; }
#bkx-lu-root .lu-lg {
  display: flex; align-items: center; gap: 10px; width: 100%;
  text-align: left; border: 1px solid var(--line); background: var(--card);
  color: var(--text); border-radius: 14px; padding: 12px 14px;
  font: inherit; cursor: pointer;
}
#bkx-lu-root .lu-lg.is-on {
  background: color-mix(in srgb, var(--bkx-sel-bg, #3E4F60) 22%, var(--card));
  border-color: var(--bkx-sel-border, #3E4F60);
  box-shadow: inset 3px 0 0 var(--bkx-sel-bg, #3E4F60);
}
html[data-theme="dark"] #bkx-lu-root .lu-lg.is-on {
  background: rgba(143,166,188,0.18);
  border-color: rgba(163,185,207,0.55);
  box-shadow: inset 3px 0 0 #8FA6BC;
}
#bkx-lu-root .lu-lg b { display: block; font-size: 15px; font-weight: 800; letter-spacing: -0.02em; }
#bkx-lu-root .lu-lg span { display: block; margin-top: 2px; font-size: 12.5px; font-weight: 600; color: var(--muted); }
#bkx-lu-root .lu-lg-body { flex: 1; min-width: 0; }
#bkx-lu-root .lu-switch {
  display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 1px 0;
  align-items: center;
}
#bkx-lu-root .lu-switch::-webkit-scrollbar { display: none; }
#bkx-lu-root .lu-switch button.lu-chip {
  flex: 0 0 auto; height: 30px; padding: 0 11px; border-radius: 999px;
  border: 1px solid var(--bkx-off-border, var(--line));
  background: transparent; color: var(--bkx-off-ink, var(--muted));
  font: inherit; font-size: 12.5px; font-weight: 700; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 6px;
}
#bkx-lu-root .lu-switch button.lu-chip.on {
  background: var(--bkx-sel-bg, #3E4F60) !important;
  color: var(--bkx-sel-ink, #F4F7FA) !important;
  border-color: var(--bkx-sel-border, #3E4F60) !important;
  font-weight: 800;
}
#bkx-lu-root .lu-plat {
  font-size: 10px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 1px 5px; border-radius: 4px;
  background: rgba(143,166,188,0.18); color: var(--volt-text, #8FA6BC);
}
#bkx-lu-root .lu-chip.on .lu-plat {
  background: rgba(244,247,250,0.18); color: inherit;
}
#bkx-lu-root .lu-plats {
  display: flex; flex-wrap: wrap; gap: 6px;
}
#bkx-lu-root .lu-plats button {
  height: 30px; padding: 0 11px; border-radius: 999px;
  border: 1px solid var(--bkx-off-border, var(--line));
  background: transparent; color: var(--text);
  font: inherit; font-size: 12.5px; font-weight: 700; cursor: pointer;
}
#bkx-lu-root .lu-plats button.on {
  background: var(--bkx-sel-bg, #3E4F60) !important;
  color: var(--bkx-sel-ink, #F4F7FA) !important;
  border-color: var(--bkx-sel-border, #3E4F60) !important;
  font-weight: 800;
}
#bkx-lu-root .lu-match {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px;
  align-items: end; padding: 12px 14px; border-radius: 14px;
  background: var(--card); border: 1px solid var(--line);
}
#bkx-lu-root .lu-match .side { min-width: 0; }
#bkx-lu-root .lu-match .side.opp { text-align: right; }
#bkx-lu-root .lu-match .tm {
  font-size: 12.5px; font-weight: 700; color: var(--muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
#bkx-lu-root .lu-match .pts {
  font-size: 28px; font-weight: 800; letter-spacing: -0.04em; line-height: 1;
  color: var(--text); margin-top: 4px; font-variant-numeric: tabular-nums;
}
#bkx-lu-root .lu-match .mid {
  text-align: center; padding-bottom: 4px; font-size: 11px; font-weight: 800;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint, var(--muted));
}
#bkx-lu-root .lu-subline {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  font-size: 12.5px; font-weight: 600; color: var(--muted);
}
#bkx-lu-root .lu-live {
  display: inline-flex; align-items: center; gap: 5px; color: var(--text); font-weight: 800;
}
#bkx-lu-root .lu-live i {
  width: 7px; height: 7px; border-radius: 50%; background: #E85D4C; display: block;
}
#bkx-lu-root .lu-row {
  display: flex; align-items: center; gap: 10px; width: 100%;
  text-align: left; border: 1px solid var(--line); background: var(--card);
  color: var(--text); border-radius: 14px; padding: 8px 10px;
  font: inherit; cursor: pointer; box-sizing: border-box;
}
#bkx-lu-root .lu-row:active { transform: scale(0.99); }
#bkx-lu-root .lu-slot {
  width: 34px; flex-shrink: 0; font-size: 10.5px; font-weight: 800;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); text-align: center;
}
#bkx-lu-root .lu-body { flex: 1; min-width: 0; }
#bkx-lu-root .lu-name { font-size: 15px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; }
#bkx-lu-root .lu-meta { font-size: 12px; font-weight: 600; color: var(--muted); margin-top: 1px; }
#bkx-lu-root .lu-pts {
  flex-shrink: 0; min-width: 44px; text-align: right;
  font-size: 18px; font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums;
}
#bkx-lu-root .lu-pts.is-wait { color: var(--muted); }
#bkx-lu-root .lu-empty { color: var(--muted); font-weight: 650; font-size: 14px; }
#bkx-lu-root .lu-row .bkx-follow,
#bkx-lu-root .lu-row .sr-follow { margin: 0; }

#search-overlay[data-intent="lineup"] .tap,
#search-overlay[data-intent="lineup"] .tap img,
#search-overlay[data-intent="lineup"] .sr-logo,
#search-overlay[data-intent="lineup"] .sr-av {
  border-radius: 50%;
}

#bkx-lu-root .lu-steps { margin: 0; padding: 0 0 0 18px; color: var(--text); font-size: 13.5px; font-weight: 600; line-height: 1.45; }
#bkx-lu-root .lu-steps li { margin: 0 0 7px; }
#bkx-lu-root .lu-area {
  width: 100%; box-sizing: border-box; padding: 11px 12px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--card); color: var(--text);
  font: inherit; font-size: 14px; font-weight: 600; min-height: 72px; resize: none;
  word-break: break-all;
}
#bkx-lu-root .lu-lab {
  display: block; margin: 2px 0 4px; font-size: 11px; font-weight: 800;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint, var(--muted));
}
#bkx-lu-root .lu-warn {
  margin: 0; font-size: 12.5px; font-weight: 600; line-height: 1.45; color: var(--muted);
}

/* v69 — league list, swipe, confirm, sticky ESPN CTA */
#bkx-lu-root .lu-vlist { display: flex; flex-direction: column; gap: 8px; }
#bkx-lu-root .lu-vrow {
  position: relative; overflow: hidden; border-radius: 14px;
}
#bkx-lu-root .lu-vrow .lu-vactions {
  position: absolute; inset: 0 0 0 auto; width: 92px;
  background: #9A3D3D; color: #F7EAEA;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800; border: 0; padding: 0;
  font: inherit; font-size: 12px; font-weight: 800; cursor: pointer;
}
#bkx-lu-root .lu-vslide {
  position: relative; z-index: 1;
  display: flex; align-items: center; gap: 10px; width: 100%;
  text-align: left; border: 1px solid var(--line); background: var(--card);
  color: var(--text); border-radius: 14px; padding: 12px 14px;
  font: inherit; cursor: pointer; box-sizing: border-box;
}
#bkx-lu-root .lu-vrow.is-open .lu-vslide { transform: translateX(-92px); }
#bkx-lu-root .lu-vrow.is-swiping .lu-vslide { transition: none; }
#bkx-lu-root .lu-vrow.is-add .lu-vslide { border-style: dashed; background: transparent; }
#bkx-lu-root .lu-vbody { flex: 1; min-width: 0; }
#bkx-lu-root .lu-vbody b { display: block; font-size: 15px; font-weight: 800; letter-spacing: -0.02em; }
#bkx-lu-root .lu-vmeta { display: block; margin-top: 2px; font-size: 12.5px; font-weight: 600; color: var(--muted); }
#bkx-lu-root .lu-vbody .lu-plat { display: inline-block; vertical-align: 1px; margin-right: 2px; }
#bkx-lu-root .lu-vright { text-align: right; flex-shrink: 0; }
#bkx-lu-root .lu-vpts {
  font-size: 18px; font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; line-height: 1;
}
#bkx-lu-root .lu-vpts.is-wait { color: var(--muted); }
#bkx-lu-root .lu-vstatus {
  display: inline-flex; align-items: center; justify-content: flex-end; gap: 5px;
  margin-top: 3px; font-size: 11.5px; font-weight: 800; color: var(--text);
}
#bkx-lu-root .lu-vstatus.is-quiet { color: var(--muted); font-weight: 650; }
#bkx-lu-root .lu-vstatus i {
  width: 7px; height: 7px; border-radius: 50%; background: #E85D4C; display: block;
}
#bkx-lu-root .lu-back {
  border: 0; background: none; color: var(--text); font: inherit;
  font-size: 13.5px; font-weight: 800; padding: 0 0 2px; cursor: pointer;
  display: inline-flex; align-items: center; gap: 4px;
}
#lu-rm-root { position: fixed; inset: 0; z-index: 80; }
#app #lu-rm-root { position: absolute; }
#lu-rm-root .lu-rm-dim { position: absolute; inset: 0; background: rgba(2,4,8,0.62); }
[data-theme="light"] #lu-rm-root .lu-rm-dim { background: rgba(16,22,32,0.40); }
#lu-rm-root .lu-rm-sheet {
  position: absolute; left: 16px; right: 16px; bottom: 92px;
  background: var(--card); color: var(--text);
  border: 1px solid var(--line); border-radius: 16px;
  padding: 16px 16px 14px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.28);
}
#lu-rm-root .lu-rm-sheet h2 {
  margin: 0; font-size: 16.5px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.25;
}
#lu-rm-root .lu-rm-sheet p {
  margin: 8px 0 0; font-size: 13.5px; font-weight: 600; line-height: 1.45; color: var(--muted);
}
#lu-rm-root .lu-rm-actions { display: flex; gap: 8px; margin-top: 14px; }
#lu-rm-root .lu-rm-actions button {
  flex: 1; height: 44px; border-radius: 999px; font: inherit; font-size: 15px; font-weight: 800; cursor: pointer;
}
#lu-rm-root .lu-rm-cancel {
  border: 1px solid var(--line-2, var(--line)); background: transparent; color: var(--text);
}
#lu-rm-root .lu-rm-go {
  border: 0; background: #9A3D3D; color: #F7EAEA;
}
#bkx-lu-root .lu-sticky {
  position: sticky;
  bottom: calc(var(--tab-h, 88px) + var(--sab, env(safe-area-inset-bottom, 0px)));
  z-index: 4;
  padding: 12px 0 8px;
  margin: 0 -2px;
  background: linear-gradient(to bottom, transparent, var(--bg) 16px, var(--bg));
}
#bkx-lu-root .lu-sticky .lu-primary { width: 100%; }
#bkx-lu-root .lu-sticky .lu-link { display: block; width: 100%; text-align: center; }
#screen-players.is-lu-sticky .scroll {
  padding-bottom: calc(var(--tab-h, 88px) + var(--sab, env(safe-area-inset-bottom, 0px)) + 12px);
}

#bkx-lu-root .lu-plat.is-hand {
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--line-2, var(--line));
  color: var(--muted);
}
#bkx-lu-root .lu-drop {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  width: 100%; box-sizing: border-box;
  padding: 18px 16px 16px;
  border: 1.5px dashed var(--line-2, var(--line));
  border-radius: 16px;
  background: transparent;
  text-align: center; color: var(--text);
  font: inherit; cursor: pointer;
}
#bkx-lu-root .lu-drop b { display: block; font-size: 15px; font-weight: 800; letter-spacing: -0.02em; }
#bkx-lu-root .lu-drop .lu-drop-sub { font-size: 12.5px; font-weight: 600; color: var(--muted); line-height: 1.35; }
#bkx-lu-root .lu-hint {
  margin: -2px 0 0;
  font-size: 12.5px; font-weight: 600; line-height: 1.4; color: var(--muted);
}
#bkx-lu-root .lu-shot {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; border-radius: 14px;
  border: 1px solid var(--line); background: var(--card);
}
#bkx-lu-root .lu-shot-body b { display: block; font-size: 14px; font-weight: 800; letter-spacing: -0.02em; }
#bkx-lu-root .lu-shot-body span { display: block; margin-top: 2px; font-size: 12.5px; font-weight: 600; color: var(--muted); }
#bkx-lu-root .lu-prog {
  margin-top: 8px; height: 4px; border-radius: 999px; background: var(--line);
  overflow: hidden;
}
#bkx-lu-root .lu-prog em {
  display: block; height: 100%; width: 62%; border-radius: 999px;
  background: var(--volt-text, #8FA6BC);
  animation: lu-prog 1.2s ease-in-out infinite;
}
@keyframes lu-prog { 0%,100% { width: 32%; } 50% { width: 78%; } }
#bkx-lu-root .lu-row.is-fix { border-color: color-mix(in srgb, #C36B4E 45%, var(--line)); }
#bkx-lu-root .lu-row.is-add { border-style: dashed; background: transparent; }
#bkx-lu-root .lu-edit-btn {
  flex-shrink: 0; height: 28px; padding: 0 10px; border-radius: 999px;
  border: 1px solid var(--line-2, var(--line)); background: transparent;
  color: var(--text); font: inherit; font-size: 12.5px; font-weight: 800; cursor: pointer;
}
#bkx-lu-root .lu-detect {
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px; flex-wrap: wrap; margin: 0 0 8px;
}
#bkx-lu-root .lu-detect > span {
  font-size: 12.5px; font-weight: 600; color: var(--muted);
}
#bkx-lu-root .lu-secondary {
  display: inline-flex; align-items: center; justify-content: center;
  width: 100%; height: 44px; padding: 0 16px; box-sizing: border-box;
  border: 0; border-radius: 999px; cursor: pointer;
  background: var(--bkx-sel-bg, #3E4F60);
  color: var(--bkx-sel-ink, #F4F7FA);
  font: inherit; font-size: 15px; font-weight: 800;
}
#bkx-lu-root .lu-msg {
  margin: 0;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  white-space: pre-wrap;
  overflow-wrap: break-word;
  word-break: break-word;
}
#bkx-lu-root .lu-field-wrap {
  width: 100%; box-sizing: border-box; padding: 11px 12px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--card); color: var(--text);
  font: inherit; font-size: 14px; font-weight: 600; line-height: 1.35;
  white-space: pre-wrap; overflow-wrap: break-word;
}
#bkx-lu-root .tap.sz-av { overflow: hidden; }
#bkx-lu-root .tap.sz-av img { width: 100%; height: 100%; object-fit: cover; display: block; }
#bkx-lu-root .tap.is-team.sz-av img { object-fit: contain; }
#lu-edit-root { position: absolute; inset: 0; z-index: 80; }
#app #lu-edit-root { position: absolute; }
#lu-edit-root .lu-rm-dim { position: absolute; inset: 0; background: rgba(2,4,8,0.62); }
[data-theme="light"] #lu-edit-root .lu-rm-dim { background: rgba(16,22,32,0.40); }
#lu-edit-root .lu-edit-sheet {
  position: absolute; left: 16px; right: 16px; bottom: 92px;
  background: var(--card); color: var(--text);
  border: 1px solid var(--line); border-radius: 16px;
  padding: 14px 16px 14px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.28);
}
#lu-edit-root .lu-edit-top {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 10px;
  margin-bottom: 10px;
}
#lu-edit-root .lu-edit-top b {
  display: block; font-size: 16.5px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.25;
}
#lu-edit-root .lu-edit-top span {
  display: block; margin-top: 2px; font-size: 13px; font-weight: 600; color: var(--muted);
}
#lu-edit-root .lu-edit-cancel {
  border: 0; background: none; color: var(--text);
  font: inherit; font-size: 13.5px; font-weight: 800; padding: 0; cursor: pointer;
}
#lu-edit-root .lu-field {
  display: block; width: 100%; box-sizing: border-box;
  height: 42px; margin: 0 0 8px; padding: 0 12px;
  border-radius: 12px; border: 1px solid var(--line);
  background: var(--bg); color: var(--text);
  font: inherit; font-size: 15px; font-weight: 650;
}
#lu-edit-root .lu-edit-hint { margin: 0 0 8px; font-size: 12.5px; font-weight: 600; color: var(--muted); }
#lu-edit-root .lu-edit-hit {
  display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 8px 10px; border-radius: 12px;
  border: 1px solid var(--line); background: transparent;
  color: var(--text); font: inherit; text-align: left; cursor: pointer;
}
#lu-edit-root .lu-edit-hit + .lu-edit-hit { margin-top: 6px; }
#lu-edit-root .lu-edit-hit .lu-name { font-size: 14.5px; font-weight: 800; letter-spacing: -0.02em; }
#lu-edit-root .lu-edit-hit .lu-meta { font-size: 12.5px; font-weight: 600; color: var(--muted); }
#lu-edit-root .lu-edit-remove {
  display: block; width: 100%; height: 44px; margin-top: 12px; border-radius: 999px;
  border: 0; background: #9A3D3D; color: #F7EAEA;
  font: inherit; font-size: 15px; font-weight: 800; cursor: pointer;
}
#lu-edit-root .lu-edit-empty { margin: 4px 0 0; font-size: 12.5px; font-weight: 600; color: var(--muted); }
#bkx-lu-root .lu-file { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }

#bkx-lu-root a.fresh-btn { text-decoration: none; display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; }
