/* /league-play/captain — Captain page shell (CAP6b).
   Mobile first. Cards, type and colours come from south-end-league.css and
   the shared tokens; this file only adds the page's own layout pieces.
   Pointer-hover styles live in the one hover media block at the bottom. */

#lc-root [hidden] {
  display: none !important;
}

/* Screen-reader-only text (the read-only marker on past weeks). */
.lc-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* —— header: who the page is for —— */
.lc-header {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.lc-eyebrow {
  font-family: "Oswald", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green, #1a6b3a);
  margin: 0;
}
.league-card .lc-eyebrow {
  color: var(--green, #1a6b3a);
  font-size: 11px;
  margin: 0;
}
.league-card h2.lc-team {
  font-size: 26px;
  line-height: 1.1;
  margin: 0;
  overflow-wrap: anywhere;
}
.league-card .lc-acting {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink, #111810);
  margin: 4px 0 0;
}
.lc-picker {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: var(--space-3, 12px);
}
.lc-picker__label {
  font-family: "Oswald", sans-serif;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted, #5f5e5a);
}
.lc-picker__select {
  width: 100%;
  max-width: 420px;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--rule, #e2dfd2);
  border-radius: 10px;
  background: #fff;
  color: var(--ink, #111810);
  font: inherit;
  font-size: 16px; /* 16px stops iOS zooming the page on focus */
}
/* CAP20: the admin's "Preview as captain" switch sits beside the picker and
   wraps under it on a phone. */
.lc-picker__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.lc-picker__row .lc-picker__select {
  flex: 1 1 220px;
}
.league-card .btn.lc-preview {
  flex: 0 0 auto;
  margin: 0;
  padding: 10px 16px;
}
.league-card .btn.lc-preview[aria-pressed="true"] {
  background: var(--gold, #e8a020);
  border-color: var(--gold, #e8a020);
  color: var(--ink, #111810);
}
.btn.lc-preview:focus-visible {
  outline: 2px solid var(--green, #1a6b3a);
  outline-offset: 2px;
}
.league-card .lc-acting--preview {
  padding: 8px 12px;
  border-left: 4px solid var(--gold, #e8a020);
  border-radius: 6px;
  background: rgba(232, 160, 32, 0.14);
}

/* —— week strip (same pills as the Schedule's week strip) —— */
.lc-weeks {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 2px 2px 6px;
  margin: 0 0 var(--space-3, 12px);
}
.lc-weeks::-webkit-scrollbar {
  display: none;
}
.lc-week-btn {
  position: relative;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  min-width: 56px;
  min-height: 44px;
  padding: 7px 14px;
  border-radius: 12px;
  border: 1px solid var(--rule, #e2dfd2);
  background: #fff;
  color: var(--muted, #5f5e5a);
  cursor: pointer;
  font-family: "Oswald", sans-serif;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}
.lc-week-btn .lc-wk {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}
.lc-week-btn .lc-wkd {
  font-size: 10.5px;
  letter-spacing: 0.03em;
  opacity: 0.8;
  white-space: nowrap;
}
.lc-week-btn--past:not(.on) {
  background: transparent;
  border-style: dashed;
}
.lc-week-btn.on {
  background: var(--gold, #e8a020);
  border-color: var(--gold, #e8a020);
  color: var(--ink, #111810);
}
.lc-week-btn:focus-visible,
.lc-session:focus-visible,
.lc-picker__select:focus-visible {
  outline: 2px solid var(--green, #1a6b3a);
  outline-offset: 2px;
}

/* —— the one status line —— */
.lc-status {
  margin: 0 0 var(--space-4, 16px);
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid var(--rule, #e2dfd2);
  background: #fff;
  color: var(--ink, #111810);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}
.lc-status:empty {
  display: none;
}

/* —— sections —— */
.lc-cols {
  display: block;
}
.lc-main {
  min-width: 0;
}
.league-card .lc-empty {
  color: var(--muted, #5f5e5a);
  font-size: 14px;
  margin: 0;
}

/* —— season sessions list —— */
.league-card .lc-sessions__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.league-card .lc-sessions__list li {
  margin: 0;
}
.lc-session {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 48px;
  padding: 8px 10px;
  border: 1px solid var(--rule, #e2dfd2);
  border-radius: 10px;
  background: #fff;
  color: var(--ink, #111810);
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition: border-color 0.15s, background 0.15s;
}
.lc-session__wk {
  flex: 0 0 auto;
  min-width: 34px;
  font-family: "Oswald", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green, #1a6b3a);
}
.lc-session__body {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.lc-session__when {
  font-size: 13px;
  font-weight: 600;
}
.lc-session__vs {
  font-size: 12.5px;
  color: var(--muted, #5f5e5a);
  overflow-wrap: anywhere;
}
.lc-session--past:not(.on) {
  background: transparent;
  border-style: dashed;
}
.lc-session--past:not(.on) .lc-session__wk {
  color: var(--muted, #5f5e5a);
}
.lc-session.on {
  border-color: var(--gold, #e8a020);
  box-shadow: inset 3px 0 0 var(--gold, #e8a020);
}
.league-card .lc-session-empty {
  color: var(--muted, #5f5e5a);
  font-size: 14px;
}

.lc-foot {
  margin: 0;
  font-size: 14px;
}
.lc-foot a {
  color: var(--green, #1a6b3a);
  font-weight: 600;
}

/* —— co-captain card (CAP14), directly under the header —— */
.lc-coc {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.league-card h2.lc-coc__title {
  margin: 0;
}
.league-card .lc-coc__lede,
.league-card .lc-coc__stale {
  margin: 0;
}
.league-card .lc-coc__stale {
  color: var(--ink, #111810);
  font-weight: 600;
}
.lc-coc__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 16px;
}
.lc-coc__who {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  min-width: 0;
}
.lc-coc__name {
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink, #111810);
  cursor: pointer;
  font-family: "Bebas Neue", sans-serif;
  font-size: 24px;
  letter-spacing: 0.04em;
  line-height: 1.1;
  text-align: left;
  text-decoration: underline;
  text-decoration-color: var(--rule, #e2dfd2);
  text-underline-offset: 4px;
  overflow-wrap: anywhere;
}
.lc-coc__acts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.lc-coc .btn {
  margin: 0;
}
.league-card .lc-coc__status,
.lc-sheet__status {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--green, #1a6b3a);
}
.league-card .lc-coc__status.is-error,
.lc-sheet__status.is-error {
  color: var(--red, #c0392b);
}
.lc-coc__status:empty,
.lc-sheet__status:empty {
  display: none;
}

/* —— roster sheet: bottom sheet on a phone —— */
html.lc-sheet-open {
  overflow: hidden;
}
.lc-sheet-wrap {
  position: fixed;
  inset: 0;
  /* Above the bottom dock (9500) and the board button, so the sheet's last
     rows and buttons are never covered on a phone. */
  z-index: 9600;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.lc-sheet__scrim {
  position: absolute;
  inset: 0;
  background: rgba(17, 24, 16, 0.5);
}
.lc-sheet {
  position: relative;
  width: 100%;
  max-width: 520px;
  max-height: 85vh;
  max-height: 85dvh;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 16px 16px calc(16px + env(safe-area-inset-bottom, 0px));
  border-radius: 16px 16px 0 0;
  background: #fff;
  color: var(--ink, #111810);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.2);
  font-family: "DM Sans", sans-serif;
  outline: none;
}
.lc-sheet__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 8px;
}
.lc-sheet__title {
  margin: 0;
  font-family: "Bebas Neue", sans-serif;
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 0.06em;
  line-height: 1.15;
  text-transform: uppercase;
}
.lc-sheet__close,
.lc-sheet__remove {
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid var(--rule, #e2dfd2);
  border-radius: 10px;
  background: #fff;
  color: var(--ink, #111810);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
}
.lc-sheet__remove {
  border-color: var(--red, #c0392b);
  color: var(--red, #c0392b);
}
.lc-sheet .lc-sheet__status {
  margin: 0 0 8px;
}
.lc-sheet__list,
.lc-sheet__plain {
  list-style: none;
  margin: 0;
  padding: 0;
}
.lc-sheet__list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.lc-sheet__item {
  display: flex;
  align-items: center;
  min-height: 48px;
}
.lc-sheet__pick {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid var(--rule, #e2dfd2);
  border-radius: 10px;
  background: #fff;
  color: var(--ink, #111810);
  cursor: pointer;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  overflow-wrap: anywhere;
  transition: border-color 0.15s;
}
.lc-sheet__item--current {
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2px 12px;
  padding: 8px 12px;
  border: 1px solid var(--gold, #e8a020);
  border-radius: 10px;
  box-shadow: inset 3px 0 0 var(--gold, #e8a020);
}
.lc-sheet__name {
  font-size: 16px;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.lc-sheet__tag,
.lc-sheet__sub {
  font-family: "Oswald", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted, #5f5e5a);
}
.lc-sheet__sub {
  margin: 16px 0 4px;
}
.lc-sheet__plain li {
  padding: 6px 0;
  font-size: 15px;
  color: var(--ink, #111810);
  overflow-wrap: anywhere;
}
.lc-sheet__empty {
  margin: 0;
  font-size: 14px;
  color: var(--muted, #5f5e5a);
}
.lc-sheet__foot {
  display: flex;
  flex-wrap: wrap;
  margin: 16px 0 0;
  padding: 12px 0 0;
  border-top: 1px solid var(--rule, #e2dfd2);
}
.lc-coc__name:focus-visible,
.lc-sheet__pick:focus-visible,
.lc-sheet__close:focus-visible,
.lc-sheet__remove:focus-visible {
  outline: 2px solid var(--green, #1a6b3a);
  outline-offset: 2px;
}

/* The shared two-step confirm (se-confirm-inline.css) is inked for dark admin
   pages; this page is light, so the pair is re-inked inside the card and the
   sheet only (same approach as the Teams page's invites list). */
.lc-coc .ev-twostep,
.lc-sheet .ev-twostep {
  display: flex;
  width: 100%;
  gap: 8px 12px;
}
.lc-coc .ev-twostep__q,
.lc-sheet .ev-twostep__q {
  color: var(--ink, #111810);
  font-size: 15px;
}
.lc-coc .ev-twostep__acts,
.lc-sheet .ev-twostep__acts {
  flex-wrap: wrap;
}
.lc-coc .ev-mini,
.lc-sheet .ev-mini {
  min-height: 44px;
  padding: 8px 14px;
  border-radius: 10px;
  background: #fff;
  color: var(--ink, #111810);
  font-size: 14px;
  font-weight: 600;
}
.lc-coc .ev-twostep__yes,
.lc-sheet .ev-twostep__yes {
  border-color: var(--green, #1a6b3a);
  background: var(--green, #1a6b3a);
  color: #fff;
}
.lc-coc .ev-twostep__yes:focus-visible,
.lc-sheet .ev-twostep__yes:focus-visible {
  background: var(--green-dk, #0f3f22);
  color: #fff;
  outline: 2px solid var(--green, #1a6b3a);
  outline-offset: 2px;
}

/* —— lineup builder (CAP7), inside #lc-lineup —— */
.lc-lu {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.league-card .lc-lu__note {
  margin: 0;
  font-size: 14px;
  color: var(--muted, #5f5e5a);
}
.lc-lu__m {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  padding: 10px;
  border: 1px solid var(--rule, #e2dfd2);
  border-radius: 12px;
  background: #fff;
}
.lc-lu__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 2px 12px;
}
.league-card h3.lc-lu__title {
  margin: 0;
  min-width: 0;
  font-family: "Oswald", sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.25;
  color: var(--ink, #111810);
  overflow-wrap: anywhere;
}
.lc-lu__count,
.league-card h4.lc-lu__court-hd,
.lc-lu__g,
.lc-lu__vs {
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--muted, #5f5e5a);
}
.lc-lu__count {
  font-size: 12px;
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.league-card .lc-lu__status {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink, #111810);
}
.league-card .lc-lu__status.is-ok {
  color: var(--green, #1a6b3a);
}
.league-card .lc-lu__status.is-error {
  color: var(--red, #c0392b);
}
.lc-lu__status:empty {
  display: none;
}
.lc-lu__courts {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.lc-lu__court {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.league-card h4.lc-lu__court-hd {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--green, #1a6b3a);
}
.lc-lu__game {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  column-gap: 6px;
  row-gap: 2px;
  align-items: center;
}
.lc-lu__g {
  font-size: 13px;
  letter-spacing: 0.04em;
}
.lc-lu__picks {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px;
  min-width: 0;
}
.lc-lu__chip {
  min-width: 0;
  min-height: 44px;
  padding: 6px 8px;
  border: 1px solid var(--rule, #e2dfd2);
  border-radius: 10px;
  background: #fff;
  color: var(--ink, #111810);
  cursor: pointer;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  text-align: left;
  /* A long name wraps onto a second line instead of being cut off. */
  overflow-wrap: anywhere;
  transition: border-color 0.15s;
}
.lc-lu__chip.is-empty {
  border-style: dashed;
  color: var(--green, #1a6b3a);
}
.lc-lu__chip.is-gone {
  border-color: var(--red, #c0392b);
  color: var(--red, #c0392b);
  font-size: 13px;
}
.lc-lu__reveal,
.lc-lu__theirs {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.lc-lu__theirs,
.league-card .lc-lu__cap {
  grid-column: 2;
}
.lc-lu__pair {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 6px;
  min-width: 0;
  min-height: 44px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink, #111810);
}
.lc-lu__vs {
  margin-right: 2px;
  font-size: 11px;
  letter-spacing: 0.14em;
}
.lc-lu__amp {
  color: var(--muted, #5f5e5a);
  font-weight: 400;
}
.lc-lu__name {
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink, #111810);
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  text-align: left;
  text-decoration: underline;
  text-decoration-color: var(--rule, #e2dfd2);
  text-underline-offset: 4px;
  overflow-wrap: anywhere;
}
.lc-lu__plain {
  overflow-wrap: anywhere;
}
.lc-lu__none {
  color: var(--muted, #5f5e5a);
  font-weight: 500;
}
.league-card .lc-lu__cap {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.3;
  color: var(--muted, #5f5e5a);
}
.lc-lu__quick {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  min-height: 44px;
}
.lc-lu__link {
  min-height: 44px;
  padding: 8px 0;
  border: 0;
  background: none;
  color: var(--green, #1a6b3a);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  text-decoration: underline;
  text-decoration-color: var(--green-lt, #8fbf9f);
  text-underline-offset: 4px;
}
.lc-lu__chip:focus-visible,
.lc-lu__name:focus-visible,
.lc-lu__link:focus-visible {
  outline: 2px solid var(--green, #1a6b3a);
  outline-offset: 2px;
}
/* Sheet rows that carry a tag (Captain, not on the hub yet). */
.lc-sheet__pick--row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2px 12px;
}
.lc-lu-sheet .lc-sheet__sub {
  margin: 16px 0 6px;
}
/* CAP17: the name takes the free space, so "Me" and the other tags sit
   together at the end of the row. */
.lc-lu-sheet .lc-sheet__name {
  margin-right: auto;
}
/* CAP17: the "Me" tag beside the viewer's own name on the Lineup card and
   in the score logger (CAP-D42), in the sheet-tag look. */
.lc-me {
  display: inline-block;
  font-family: "Oswald", sans-serif;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  color: var(--muted, #5f5e5a);
}
.lc-lu__chip .lc-me {
  margin-left: 6px;
}
.lc-sheet__hint {
  margin: 6px 0 0;
  font-size: 13px;
  color: var(--muted, #5f5e5a);
}
/* The inline confirm of a quick fill, re-inked for the light card (as above). */
.lc-lu .ev-twostep {
  display: flex;
  width: 100%;
  gap: 8px 12px;
}
.lc-lu .ev-twostep__q {
  color: var(--ink, #111810);
  font-size: 15px;
}
.lc-lu .ev-twostep__acts {
  flex-wrap: wrap;
}
.lc-lu .ev-mini {
  min-height: 44px;
  padding: 8px 14px;
  border-radius: 10px;
  background: #fff;
  color: var(--ink, #111810);
  font-size: 14px;
  font-weight: 600;
}
.lc-lu .ev-twostep__yes {
  border-color: var(--green, #1a6b3a);
  background: var(--green, #1a6b3a);
  color: #fff;
}
.lc-lu .ev-twostep__yes:focus-visible {
  background: var(--green-dk, #0f3f22);
  color: #fff;
  outline: 2px solid var(--green, #1a6b3a);
  outline-offset: 2px;
}

/* —— score logger (CAP8a), inside #lc-scores: a block per matchup, a
   section per court, every game of the court inside it —— */
.lc-sc {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.league-card .lc-sc__note {
  margin: 0;
  font-size: 14px;
  color: var(--muted, #5f5e5a);
}
.lc-sc__m {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  padding: 10px;
  border: 1px solid var(--rule, #e2dfd2);
  border-radius: 12px;
  background: #fff;
}
.league-card h3.lc-sc__title {
  margin: 0;
  min-width: 0;
  font-family: "Oswald", sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.25;
  color: var(--ink, #111810);
  overflow-wrap: anywhere;
}
.lc-sc__court {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.lc-sc__toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 48px;
  padding: 8px 12px;
  border: 1px solid var(--rule, #e2dfd2);
  border-radius: 10px;
  background: var(--cream, #fafaf5);
  color: var(--ink, #111810);
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition: border-color 0.15s;
}
.lc-sc__court-name,
.lc-sc__g,
.lc-sc__q,
.lc-sc__vs,
.lc-sc__box-name {
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  text-transform: uppercase;
}
.lc-sc__court-name {
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--green, #1a6b3a);
}
.lc-sc__sum {
  margin-left: auto;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted, #5f5e5a);
  text-align: right;
}
.lc-sc__chev {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  margin: 0 4px 4px 2px;
  border-right: 2px solid var(--muted, #5f5e5a);
  border-bottom: 2px solid var(--muted, #5f5e5a);
  transform: rotate(45deg);
}
.lc-sc__toggle[aria-expanded="true"] .lc-sc__chev {
  margin: 4px 4px 0 2px;
  transform: rotate(-135deg);
}
.lc-sc__games {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.lc-sc__game {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  column-gap: 6px;
  padding: 10px 0;
  border-top: 1px solid var(--rule, #e2dfd2);
}
.lc-sc__game:first-child {
  border-top: 0;
  padding-top: 2px;
}
.lc-sc__g {
  padding-top: 2px;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--muted, #5f5e5a);
}
.lc-sc__main {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.lc-sc__pairs {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.lc-sc__pair {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 6px;
  min-width: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink, #111810);
}
.lc-sc__vs,
.league-card .lc-sc__q {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--muted, #5f5e5a);
}
.lc-sc__amp {
  color: var(--muted, #5f5e5a);
  font-weight: 400;
}
.lc-sc__name {
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink, #111810);
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  text-align: left;
  text-decoration: underline;
  text-decoration-color: var(--rule, #e2dfd2);
  text-underline-offset: 4px;
  overflow-wrap: anywhere;
}
.lc-sc__plain {
  overflow-wrap: anywhere;
}
.lc-sc__none {
  color: var(--muted, #5f5e5a);
  font-weight: 500;
}
.lc-sc__entry {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.league-card .lc-sc__q {
  margin: 0;
  line-height: 1.3;
}
.lc-sc__teams {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px;
}
.lc-sc__team {
  min-width: 0;
  min-height: 48px;
  padding: 8px 10px;
  border: 1.5px solid var(--rule, #e2dfd2);
  border-radius: 10px;
  background: #fff;
  color: var(--ink, #111810);
  cursor: pointer;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  overflow-wrap: anywhere;
  transition: border-color 0.15s;
}
.lc-sc__chips {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(44px, 1fr));
  gap: 6px;
}
.lc-sc__chip {
  min-width: 0;
  min-height: 44px;
  padding: 0;
  border: 1px solid var(--rule, #e2dfd2);
  border-radius: 10px;
  background: #fff;
  color: var(--ink, #111810);
  cursor: pointer;
  font: inherit;
  font-size: 17px;
  font-weight: 700;
  transition: border-color 0.15s;
}
.lc-sc__team.is-on,
.lc-sc__chip.is-on {
  border-color: var(--gold, #e8a020);
  background: var(--gold, #e8a020);
  color: var(--ink, #111810);
}
.lc-sc__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 18px;
}
.lc-sc__link {
  min-height: 44px;
  padding: 8px 0;
  border: 0;
  background: none;
  color: var(--green, #1a6b3a);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  text-decoration: underline;
  text-decoration-color: var(--green-lt, #8fbf9f);
  text-underline-offset: 4px;
}
.lc-sc__done {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0 14px;
}
.lc-sc__score,
.league-card .lc-sc__score {
  margin: 0;
  font-family: "Bebas Neue", sans-serif;
  font-size: 22px;
  letter-spacing: 0.04em;
  line-height: 1.2;
  color: var(--ink, #111810);
  overflow-wrap: anywhere;
}
.lc-sc__other {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.lc-sc__boxes {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px;
}
.lc-sc__box {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.lc-sc__box-name {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--muted, #5f5e5a);
  overflow-wrap: anywhere;
}
/* Two classes, so the page-wide input[type="text"] rule (south-end-league.css)
   does not shrink the box or its 20px digits. */
.lc-sc .lc-sc__input {
  width: 100%;
  max-width: none;
  min-height: 48px;
  padding: 8px 10px;
  border: 1.5px solid var(--rule, #e2dfd2);
  border-radius: 10px;
  background: #fff;
  color: var(--ink, #111810);
  font: inherit;
  font-size: 20px; /* 16px or more stops iOS zooming the page on focus */
  font-weight: 700;
  text-align: center;
}
.league-card .lc-sc__hint {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--red, #c0392b);
}
.lc-sc__hint:empty {
  display: none;
}
.lc-sc__use {
  min-height: 44px;
  padding: 8px 16px;
  border: 0;
  border-radius: 10px;
  background: var(--green, #1a6b3a);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
}
.league-card .lc-sc__cap,
.league-card .lc-sc__line {
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
}
.league-card .lc-sc__cap {
  color: var(--muted, #5f5e5a);
}
.league-card .lc-sc__line {
  font-weight: 600;
  color: var(--ink, #111810);
}
.league-card .is-confirmed .lc-sc__line {
  color: var(--green, #1a6b3a);
}
.league-card .is-review .lc-sc__line {
  color: var(--red, #c0392b);
}
.lc-sc__act {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-top: 4px;
}
.lc-sc .btn.lc-sc__lock {
  width: 100%;
  margin: 0;
}
.league-card .lc-sc__status {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink, #111810);
}
.league-card .lc-sc__status.is-ok {
  color: var(--green, #1a6b3a);
}
.league-card .lc-sc__status.is-error {
  color: var(--red, #c0392b);
}
.lc-sc__status:empty {
  display: none;
}
.lc-sc__toggle:focus-visible,
.lc-sc__team:focus-visible,
.lc-sc__chip:focus-visible,
.lc-sc__link:focus-visible,
.lc-sc__name:focus-visible,
.lc-sc__use:focus-visible,
.lc-sc__input:focus-visible,
.lc-sc .btn.lc-sc__lock:focus-visible {
  outline: 2px solid var(--green, #1a6b3a);
  outline-offset: 2px;
}
/* The lock's inline confirm, re-inked for the light card (as above). */
.lc-sc .ev-twostep {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  gap: 8px 12px;
}
.lc-sc .ev-twostep__q {
  color: var(--ink, #111810);
  font-size: 15px;
  line-height: 1.4;
}
.lc-sc .ev-twostep__acts {
  flex-wrap: wrap;
}
.lc-sc .ev-mini {
  min-height: 44px;
  padding: 8px 14px;
  border-radius: 10px;
  background: #fff;
  color: var(--ink, #111810);
  font-size: 14px;
  font-weight: 600;
}
.lc-sc .ev-twostep__yes {
  border-color: var(--green, #1a6b3a);
  background: var(--green, #1a6b3a);
  color: #fff;
}
.lc-sc .ev-twostep__yes:focus-visible {
  background: var(--green-dk, #0f3f22);
  color: #fff;
  outline: 2px solid var(--green, #1a6b3a);
  outline-offset: 2px;
}

/* —— desktop: sections left, season sessions right (the Schedule's 840px
   card-grid breakpoint) —— */
@media (min-width: 840px) {
  .lc-cols {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: var(--space-4, 16px);
    align-items: start;
  }
  /* The roster sheet becomes a centred card. */
  .lc-sheet-wrap {
    align-items: center;
    padding: 24px;
  }
  .lc-sheet {
    max-width: 440px;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
  }
  /* Lineup builder: roomier cards; after the lock both pairs of a game sit
     on one line. */
  .lc-lu__m {
    padding: 16px;
  }
  .lc-lu__game {
    grid-template-columns: 32px minmax(0, 1fr);
    column-gap: 10px;
  }
  .lc-lu__reveal {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 0 14px;
  }
  /* Score logger: roomier cards, both pairs of a game on one line, the
     winner buttons and the lock button no wider than they need to be. */
  .lc-sc__m {
    padding: 16px;
  }
  .lc-sc__game {
    grid-template-columns: 32px minmax(0, 1fr);
    column-gap: 10px;
  }
  .lc-sc__pairs {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 0 14px;
  }
  .lc-sc__teams,
  .lc-sc__boxes {
    max-width: 520px;
  }
  .lc-sc .btn.lc-sc__lock {
    width: auto;
  }
}

@media (hover: hover) and (pointer: fine) {
  .lc-week-btn:hover {
    border-color: var(--green-lt, #8fbf9f);
  }
  .lc-session:hover {
    border-color: var(--green-lt, #8fbf9f);
  }
  .lc-sheet__pick:hover,
  .lc-sheet__close:hover {
    border-color: var(--green-lt, #8fbf9f);
  }
  .lc-coc__name:hover {
    text-decoration-color: var(--green, #1a6b3a);
  }
  .lc-sheet__remove:hover {
    background: var(--red, #c0392b);
    color: #fff;
  }
  .lc-lu__chip:hover {
    border-color: var(--green-lt, #8fbf9f);
  }
  .lc-lu__name:hover,
  .lc-lu__link:hover {
    text-decoration-color: var(--green, #1a6b3a);
  }
  .lc-lu .ev-mini:hover {
    border-color: var(--green-lt, #8fbf9f);
  }
  .lc-lu .ev-twostep__yes:hover {
    border-color: var(--green-dk, #0f3f22);
    background: var(--green-dk, #0f3f22);
    color: #fff;
  }
  .lc-coc .ev-mini:hover,
  .lc-sheet .ev-mini:hover {
    border-color: var(--green-lt, #8fbf9f);
  }
  .lc-coc .ev-twostep__yes:hover,
  .lc-sheet .ev-twostep__yes:hover {
    border-color: var(--green-dk, #0f3f22);
    background: var(--green-dk, #0f3f22);
    color: #fff;
  }
  .lc-sc__toggle:hover,
  .lc-sc__team:hover,
  .lc-sc__chip:hover,
  .lc-sc .ev-mini:hover {
    border-color: var(--green-lt, #8fbf9f);
  }
  .lc-sc__name:hover,
  .lc-sc__link:hover {
    text-decoration-color: var(--green, #1a6b3a);
  }
  .lc-sc__use:hover,
  .lc-sc .ev-twostep__yes:hover {
    border-color: var(--green-dk, #0f3f22);
    background: var(--green-dk, #0f3f22);
    color: #fff;
  }
}
