@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/css/fonts/sourcesans3-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/css/fonts/sourcesans3-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/css/fonts/sourcesans3-700-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/css/fonts/sourcesans3-400-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 200;
  font-display: swap;
  src: url("/css/fonts/barlowcondensed-200-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/css/fonts/barlowcondensed-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/css/fonts/barlowcondensed-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/css/fonts/barlowcondensed-700-normal.woff2") format("woff2");
}

:root {
  --navy: #001c43;
  --navy-deep: #00122e;
  --red: #c41e3a;
  --paper: #ffffff;
  --paper-dim: #f4f5f7;
  --ink: #14202b;
  --ink-dim: #5a6570;
  --mist: #d5dbe3;
  --card-ink: #e8eef6;
  --sky: var(--paper-dim);
  --wood: var(--paper);
  --rail: var(--navy);
  --chalk: var(--ink);
  --chalk-dim: var(--ink-dim);
  --grass: var(--navy);
  --dirt: var(--navy);
  --attention: var(--red);
  --rule: rgba(20, 32, 43, 0.12);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --face: "Source Sans 3", "Segoe UI", sans-serif;
  --mark: "Barlow Condensed", "Arial Narrow", sans-serif;
  --rail-max: 1280px;
  --rail-gutter: 1.5rem;
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-7: 1.75rem;
  --space-8: 2.5rem;
  --type-body: 1.0625rem;
  --type-section: 1.25rem;
  --type-page: 1.75rem;
  --type-label: 0.78rem;
  --cell-mark: #e8eef6;
  --score-tile: 13.5rem;
}

::selection {
  background: var(--navy);
  color: #fff;
}

html {
  color-scheme: light;
  scrollbar-color: var(--mist) var(--paper);
}

body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--face);
  font-size: var(--type-body);
  line-height: 1.5;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--face);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--ink);
}

h1 {
  font-size: var(--type-page);
  margin: 0 0 var(--space-4);
}

h2, h3 {
  font-size: var(--type-section);
  margin: var(--space-6) 0 var(--space-2);
}

h4, h5, h6 {
  font-size: var(--type-body);
  margin: var(--space-5) 0 var(--space-2);
}

p { margin: 0 0 0.85em; }

a {
  color: var(--navy);
  text-underline-offset: 0.16em;
}
a:hover { color: var(--red); }
a:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
}

.fascia {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--navy);
  border-bottom: 3px solid var(--red);
}

.fascia-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  box-sizing: border-box;
  max-width: var(--rail-max);
  margin: 0 auto;
  padding: 0.7rem var(--rail-gutter);
}

.mark {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: #fff;
  line-height: 0.88;
}
.mark:hover,
.mark:focus {
  color: #fff;
  text-decoration: none;
}
.brand-lockup {
  display: inline-block;
  background: var(--navy);
  padding: 2px;
  border-radius: 6px;
  line-height: 0;
  vertical-align: middle;
  overflow: hidden;
}
.brand-lockup-in {
  background: #fff;
  padding: 2px;
  border-radius: 4px;
  overflow: hidden;
}
.brand-field {
  display: block;
  overflow: hidden;
  line-height: 0;
}
.brand-field img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center;
}
.brand-name {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin: 0;
  padding: 0.22rem 0.4rem;
  background: #fff;
  color: var(--navy);
  font-family: var(--mark);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  line-height: 1.05;
  text-align: center;
  text-transform: uppercase;
}
.brand-name::before,
.brand-name::after {
  content: "";
  flex: 1 1 0.7rem;
  max-width: 1.35rem;
  min-width: 0;
  height: 2px;
  background: var(--red);
}
.brand-name span {
  flex: 0 1 auto;
  min-width: 0;
}
.brand-lockup-badge .brand-field {
  width: 3.4rem;
  height: 2.25rem;
}
.brand-lockup-badge .brand-field img {
  height: 100%;
  object-fit: cover;
}
.mark .brand-lockup-badge {
  flex: 0 0 auto;
}
.brand-lockup-named {
  width: 200px;
  max-width: 100%;
  margin: 0 0 var(--space-5);
}
.brand-lockup-named .brand-field {
  height: 44px;
}
.brand-lockup-named .brand-field img {
  height: 100%;
  object-fit: cover;
}
.mark-words {
  display: flex;
  flex-direction: column;
}
.mark-name,
.mark-sport {
  font-family: var(--mark);
  font-weight: 700;
  text-transform: uppercase;
}
.mark-name {
  font-size: 1.55rem;
  letter-spacing: 0.06em;
}
.mark-sport {
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  color: #d5dbe3;
}

.nav-check {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.nav-toggle {
  display: none;
  font-weight: 600;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.45);
  padding: 0.35rem 0.7rem;
  cursor: pointer;
}

.rail-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.15rem 1.15rem;
}

.rail-nav > a,
.drop > summary {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  font-size: 1.014rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
}

.rail-nav > a:hover,
.drop > summary:hover {
  color: #ffd4da;
}

.drop {
  position: relative;
}

.drop > summary {
  list-style: none;
  gap: 0.38em;
  transition: transform 140ms var(--ease-out), color 160ms ease;
}
.drop > summary::-webkit-details-marker { display: none; }
.drop > summary::marker { content: ""; }

.drop > summary::after {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-left: 0.32em solid transparent;
  border-right: 0.32em solid transparent;
  border-top: 0.4em solid currentColor;
  transform-origin: 50% 45%;
  transition: transform 160ms var(--ease-out);
}

.drop[open] > summary::after {
  transform: rotate(180deg);
}

.drop-account > summary {
  letter-spacing: 0;
  gap: 0;
}

.drop-account > summary::after {
  display: none;
}

.nav-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  background: #fff;
  color: var(--navy);
}

.drop-account > summary:hover .nav-avatar {
  background: #ffd4da;
}

.drop > summary:active {
  transform: scale(0.97);
}

.drop > summary:focus {
  outline: none;
}

.drop > summary:focus-visible {
  outline: 2px solid #ffd4da;
  outline-offset: 3px;
}

.drop-list {
  position: absolute;
  right: 0;
  top: calc(100% + 0.45rem);
  min-width: 12rem;
  padding: 0.4rem 0;
  background: var(--paper);
  border: 1px solid var(--mist);
  box-shadow: 0 8px 20px rgba(0, 28, 67, 0.12);
  z-index: 50;
}

.drop-list a {
  display: block;
  padding: 0.35rem 0.85rem;
  color: var(--navy);
  text-decoration: none;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.95rem;
}
.drop-list a:hover {
  background: var(--paper-dim);
  color: var(--navy);
}

/* Dark room rasters are parked until a cartoon RWB set exists. */
.field,
.room-banner {
  display: none !important;
}
.field img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 36%;
}

/* Short room stripe: scoreboard = dugout, clubhouse = lockers. Not a hero. */
.room-banner {
  position: relative;
  margin-top: 10px;
  height: 28vh;
  overflow: hidden;
  background: var(--sky);
}
.room-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 50% 50%;
}
.room-banner.has-title::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 48%;
  background: linear-gradient(transparent, rgba(8, 9, 11, 0.78));
  pointer-events: none;
}
.room-banner-in {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.7rem;
  z-index: 1;
  box-sizing: border-box;
  max-width: var(--rail-max);
  margin: 0 auto;
  padding: 0 var(--rail-gutter);
}
.room-banner-title {
  margin: 0;
  color: var(--chalk);
  font-size: var(--type-page);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-shadow: 0 1px 2px #08090b;
  white-space: nowrap;
}
.room-banner + .dugout { margin-top: 0; }

.league-note { margin: 0; color: var(--chalk-dim); }

.league-desk {
  display: grid;
  grid-template-columns: minmax(22rem, 1.35fr) minmax(18rem, 0.9fr);
  gap: 0 var(--space-8);
  align-items: start;
}

.league-desk h2 {
  margin: 0 0 var(--space-2);
  font-family: var(--mark);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.league-desk h2 a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 28, 67, 0.28);
  padding-bottom: 0.02rem;
}
.league-desk h2 a:hover { color: var(--red); }

.league-standings #standings { width: 100%; }
.league-standings .table-condensed th,
.league-standings .table-condensed td { padding: 0.32rem 0.4rem; }
.league-standings .division-head:not(:first-child) th {
  padding-top: 2rem;
}
#standings th {
  font-size: 0.9rem;
}
#standings td,
#standings td a {
  font-size: 1rem;
}
.league-standings #standings td a {
  font-weight: 600;
}

.league-boards {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  margin-top: 0;
  min-width: 0;
}
.league-news { margin: 0; }
.score-switch > input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.score-switch-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  margin: 0 0 var(--space-4);
  padding: 3px;
  background: #e8eaee;
  border-radius: 999px;
}
.score-switch-tabs label {
  margin: 0;
  padding: 0.5rem 0.4rem;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
  text-align: center;
  color: var(--ink);
}
#pane-score:checked ~ .score-switch-tabs label[for="pane-score"],
#pane-next:checked ~ .score-switch-tabs label[for="pane-next"] {
  background: var(--navy);
  color: #fff;
}
#pane-score:checked ~ #next-pane,
#pane-next:checked ~ #score-pane { display: none; }
.score-pane .game-list { margin-bottom: 0; }
.score-more {
  margin: 0.65rem 0 0;
  font-size: 0.9rem;
}

.box-link {
  font-weight: 600;
  white-space: nowrap;
}

.dugout {
  position: relative;
  margin-top: 0;
  background: var(--paper);
  color: var(--ink);
}

.is-home .dugout {
  margin-top: 0;
  border-top: 0;
}

.dugout-in {
  box-sizing: border-box;
  max-width: var(--rail-max);
  margin: 0 auto;
  padding: var(--space-7) var(--rail-gutter) var(--space-8);
}

.dugout-in > :first-child { margin-top: 0; }

.dugout-head {
  margin: 0 0 var(--space-4);
  font-family: var(--face);
  font-size: var(--type-page);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--ink);
}
.dugout-head:empty,
.is-league-home .dugout-head { display: none; }

.page-title {
  margin: 0 0 var(--space-4);
  font-size: var(--type-page);
}

.container {
  max-width: var(--rail-max);
}

@media (min-width: 768px) {
  .container {
    width: auto !important;
    max-width: var(--rail-max);
  }
}

/* Pitch lives on the rail, not in a hero card */
.pitch {
  padding: 0.25rem 0 0.5rem;
}

.pitch h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  max-width: 16ch;
}

.pitch .lede {
  max-width: 38rem;
  font-size: 1.12rem;
  color: var(--chalk-dim);
}

.pitch-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1.35rem 0 0;
}

.notes {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 0 4rem;
  margin: 2.75rem 0 0;
  padding-top: 1.75rem;
  border-top: 1px solid var(--rule);
}

.notes h2 { margin-top: 0; }

.notes ul {
  margin: 0;
  padding-left: 1.15rem;
}

.notes li { margin-bottom: 0.4rem; }

.note-later p {
  color: var(--chalk-dim);
}

.pitch-rules {
  grid-column: 1 / -1;
  margin: 1.75rem 0 0;
}

[hidden] { display: none !important; }

/* Recap as a sports-page board, names do not wrap */
.board-wrap {
  width: 100%;
  overflow-x: auto;
}

.board {
  width: 100%;
  min-width: 52rem;
  border-collapse: collapse;
  background: transparent;
  font-variant-numeric: tabular-nums lining-nums;
}

.board th,
.board td {
  text-align: left;
  vertical-align: baseline;
  padding: 0.7rem 0.85rem 0.7rem 0;
  border-bottom: 1px solid var(--rule);
  border-top: 0;
}

.board th {
  font-size: var(--type-label);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--chalk-dim);
}

.board td.num,
.board th.num {
  width: 3.25rem;
  text-align: right;
  padding-right: 1rem;
  font-variant-numeric: tabular-nums;
}

.board td.num {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy);
}

.board td.team {
  white-space: nowrap;
  font-weight: 700;
  font-size: 1.15rem;
  padding-right: 1.25rem;
}

.board td.team a {
  color: var(--navy);
  text-decoration: none;
}
.board td.team a:hover { color: var(--red); }

.board td.team .abbr {
  margin-left: 0.4rem;
  font-weight: 400;
  color: var(--chalk-dim);
}

.board td.wide { white-space: nowrap; }

.board .links { white-space: nowrap; }
.board .links a { margin-right: 0.75rem; }

.board .attention-row td {
  color: var(--attention);
  font-size: 0.95rem;
  padding-top: 0;
  border-bottom-color: var(--dirt);
}

.gate,
.btn,
input[type="submit"].btn,
button.btn {
  display: inline-block;
  font-family: var(--face);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  text-shadow: none;
  border-radius: 0;
  box-shadow: none;
  background-image: none;
  border: 1px solid var(--navy);
  background: transparent;
  color: var(--navy);
  padding: 0.65rem 1.1rem;
  cursor: pointer;
  transition: transform 140ms var(--ease-out), background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.gate:hover,
.btn:hover,
.btn:focus,
.gate:focus {
  background: var(--paper-dim);
  color: var(--navy);
  border-color: var(--navy);
  text-decoration: none;
}

.gate:active,
.btn:active,
.btn.btn-primary:active,
a.btn:active,
.gate-go:active {
  transform: scale(0.97);
}

.gate-go,
.btn-primary,
.btn-primary:hover,
.btn-primary:focus,
input[type="submit"].btn-primary {
  background: var(--navy);
  background-image: none;
  border-color: var(--navy);
  color: #fff;
}

.gate-go:hover,
.gate-go:focus,
.btn-primary:hover,
.btn-primary:focus {
  background: var(--navy-deep);
  border-color: var(--navy-deep);
  color: #fff;
}

.btn-large { padding: 0.65rem 1.1rem; font-size: 1rem; }

input[type="text"],
input[type="email"],
textarea,
select {
  font-family: var(--face);
  font-size: 1rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--mist);
  border-radius: 0;
  box-shadow: none;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 2px rgba(0, 28, 67, 0.16);
}

label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.table,
table {
  font-variant-numeric: tabular-nums lining-nums;
  background: transparent;
  color: inherit;
  border-collapse: collapse;
}

.table th,
table th {
  font-size: var(--type-label);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-dim);
  border-top: 0;
  border-bottom: 1px solid var(--mist);
  background: transparent;
}

.table td,
table td {
  border-top: 0;
  border-bottom: 1px solid var(--rule);
}

.is-clubhouse table th,
.is-leaders table th,
.is-stats table th,
.is-midfa table th {
  font-size: 0.9rem;
  font-weight: 700;
  vertical-align: bottom;
  background: var(--navy);
  color: #fff;
  border-bottom: 0;
  padding-top: 0.55rem;
  padding-bottom: 0.28rem;
}
.is-clubhouse table td,
.is-clubhouse table td a,
.is-leaders table td,
.is-leaders table td a,
.is-stats table td,
.is-stats table td a,
.is-midfa table td,
.is-midfa table td a {
  font-size: 1rem;
}
.is-clubhouse table td:first-child a,
.is-midfa table td:first-child a {
  font-weight: 600;
}

.is-clubhouse th.roster-rate,
.is-clubhouse td.roster-rate {
  max-width: 4rem;
  width: 4rem;
  padding-left: 0.28rem;
  padding-right: 0.28rem;
  text-align: center;
  line-height: 1.15;
}
.is-clubhouse td.roster-rate {
  white-space: nowrap;
}

.roster-player {
  white-space: nowrap;
}
.roster-fg {
  display: inline-flex;
  align-items: center;
  margin-right: 0.35rem;
  vertical-align: -0.12em;
  line-height: 0;
  text-decoration: none;
}
.roster-fg img {
  display: block;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 2px;
}
.roster-fg:hover img {
  opacity: 0.85;
}

.roster-limits {
  vertical-align: top;
}
.roster-limits-nums {
  white-space: nowrap;
}

.limit-note > summary {
  display: list-item;
  list-style: none;
  cursor: pointer;
  color: inherit;
}
.limit-note > summary::-webkit-details-marker { display: none; }
.limit-note > summary::marker { content: ""; }
.limit-note > summary > * { pointer-events: none; }
.limit-note-sum {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.limit-note-sum:active { transform: scale(0.97); }

.limit-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1;
}

.limit-note-text {
  margin: 0.3rem 0 0;
  max-width: 14rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--red);
  white-space: normal;
}

.roster-leaders {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0.75rem 1.5rem;
  margin: 0 0 1rem;
}
.roster-leaders table {
  width: max-content;
  min-width: 14.5rem;
}
.roster-leaders th {
  font-size: 0.9rem;
}
.roster-leaders td {
  font-size: 1rem;
}
.roster-leaders td:first-child {
  white-space: nowrap;
  padding-right: 1.1rem;
}
.roster-leaders td:last-child {
  text-align: right;
  white-space: nowrap;
}

th.final,
td.final,
tr.current-matchup td {
  background: var(--cell-mark);
  color: var(--navy);
  font-weight: 700;
}

td.current-inning {
  box-shadow: inset 0 0 0 1px var(--dirt);
}

table.lineup {
  border-collapse: collapse;
}
table.lineup th,
table.lineup td {
  border: 1px solid var(--rule);
  padding: 0.32rem 0.5rem;
  background: transparent;
  color: var(--ink);
}
table.lineup th {
  background: var(--navy);
  color: #fff;
  font-weight: 700;
}
table.lineup tr.current-matchup td {
  background: var(--cell-mark);
  color: var(--navy);
}

span.usage_selector {
  margin-left: 3px;
  color: var(--dirt);
  cursor: default;
  text-decoration: underline;
  text-underline-offset: 0.16em;
}
span.usage_selector.usage_selected {
  font-size: 1.1em;
  font-weight: 700;
  color: var(--red);
}
span.usage_selector.usage_cancelled {
  color: var(--red);
  text-decoration: line-through;
}

div.listheader,
div.listheadertemplate {
  display: block;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  height: 30px;
  line-height: 30px;
  text-align: center;
}
div.listheadertemplate { background: var(--navy-deep); }

div.listblock,
div.listblocktemplate {
  display: block;
  background: var(--paper);
  color: var(--ink);
  line-height: 18px;
  border: 1px solid var(--mist);
  margin-top: -1px;
}

div.listblock:hover,
td.tableblock:hover { background: var(--paper-dim); }
div.listblock.tableblock { border: none; }
td.tableblock span.tableplayer {
  float: left;
  font-size: 1.05em;
  padding-left: 3px;
  padding-top: 1px;
  font-weight: 700;
  color: var(--chalk-dim);
}

div.selectable:hover { cursor: grab; }
div.unselectable:hover { cursor: not-allowed; }

span.selector-active {
  padding-left: 3px;
  padding-right: 3px;
  color: var(--chalk);
  font-weight: 700;
  margin-right: 10px;
  border-bottom: 4px solid var(--dirt);
}
span.selector-inactive {
  cursor: grab;
  padding-left: 3px;
  padding-right: 3px;
  color: var(--chalk-dim);
  font-weight: 700;
  margin-right: 10px;
  border-bottom: 4px solid var(--rule);
}
span.selector-inactive:hover { color: var(--chalk); }

div.selectedblock { border: 3px dashed var(--grass); }
div.bullpen-large { height: 59px; }
div.bullpen-med { height: 45px; }
div.bullpen-small { height: 31px; }
div.lineupblock { height: 31px; }
div.rosterblock { height: 39px; }

table.strategies-table td { border: 1px solid var(--rule); }
table.strategies-table td.selectedblock { border: 3px dashed var(--grass); }
table.strategies-table th {
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  border: 1px solid var(--navy);
}
table.strategies-table th.strategies-inning {
  background: var(--navy-deep);
  color: #fff;
  font-weight: 700;
  border: 1px solid var(--navy);
  padding-left: 3px;
}
td.strategies { font-size: 0.85em; color: var(--ink-dim); }

div.listblocktemplate span.upperleft,
div.listblock span.upperleft {
  float: left;
  font-size: 1.05em;
  padding-left: 3px;
  padding-top: 1px;
  font-weight: 700;
  color: var(--ink);
}
div.listblock span.upperleft input { margin-top: -3px; }
div.listblock span.upperright {
  float: right;
  padding-right: 5px;
  padding-top: 1px;
  font-size: 0.85em;
  color: var(--chalk-dim);
}
div.listblock span.bottomleft {
  float: left;
  clear: both;
  padding-bottom: 1px;
  padding-left: 18px;
  font-size: 0.85em;
  color: var(--chalk-dim);
}
div.listblock span.bottomright {
  padding-bottom: 1px;
  padding-right: 5px;
  float: right;
  font-size: 0.85em;
  color: var(--chalk-dim);
}
div.listblock span.allright,
div.listblock span.allrightselected {
  float: right;
  height: 35px;
  width: 39px;
  padding-top: 4px;
  background: var(--navy);
  color: #fff;
  font-size: 1.3em;
  font-weight: 700;
  text-align: center;
}
div.listblock span.allrightbig,
div.listblock span.allrightbigselected {
  float: right;
  height: 35px;
  width: 61px;
  padding-top: 4px;
  background: var(--navy);
  color: #fff;
  font-size: 1.3em;
  font-weight: 700;
  text-align: center;
}
div.listblock span.allrightselected,
div.listblock span.allrightbigselected {
  background: var(--red);
  color: #fff;
  font-size: 1.25em;
}

a.teamactive { color: var(--red); font-weight: 700; }
a.teaminactive { color: var(--chalk-dim); }

div.strategies { font-size: 0.95em; }
div.hitter-strategies { height: 200px; }
.disabled { display: none; }

.table-condensed th,
.table-condensed td { padding: 0.4rem 0.55rem; }

.alert,
.alert-info,
.alert-warning,
.alert-success,
.alert-error,
.alert-danger {
  border-radius: 0;
  border: 1px solid var(--mist);
  background: var(--paper-dim);
  text-shadow: none;
  color: var(--ink);
}

.alert-info h4,
.alert-warning h4,
.alert-success h4,
.alert-error h4,
.alert-danger h4 {
  color: var(--ink);
}

.alert-success { border-color: var(--navy); }
.alert-error,
.alert-danger { border-color: var(--red); background: #fdecee; }

.text-success { color: var(--navy); }
.text-error { color: var(--red); }

input[type="checkbox"] { accent-color: var(--navy); }

span.lookupPlayer { color: var(--ink); }

.hero-unit {
  background: transparent;
  padding: 0;
  margin: 0;
  border-radius: 0;
}

.thumbnail {
  border: 0;
  box-shadow: none;
  background: transparent;
}

.game-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin: 0 0 1.1rem;
  padding: 0;
}

.game-list li,
.score-tile {
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: var(--navy);
  color: var(--card-ink);
  overflow: hidden;
}
.game-list li.is-yours,
.score-tile.is-yours {
  background: #1a3f8c;
}

.box-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.yours-star {
  color: #ffd24a;
  font-size: 1.15rem;
  line-height: 1;
}

.score-card {
  --score-gap: calc(0.5rem + 8px);
  --arrow-w: 8px;
  display: grid;
  grid-template-columns: auto 1px minmax(0, 1fr);
  column-gap: 0;
  align-items: stretch;
  min-height: calc(5.75rem - 15px);
  padding: 0.6rem 0.65rem;
}
.score-board {
  display: grid;
  grid-template-columns: auto auto;
  column-gap: 0;
  align-items: center;
  margin-right: var(--score-gap);
}
.score-teams,
.score-nums {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.7rem;
}
.score-teams span,
.score-nums span {
  color: #d5dbe3;
  line-height: 1;
}
.score-teams .is-win,
.score-nums .is-win { color: #fff; }
.score-card:not(.is-next) .score-teams span:not(.is-win),
.score-card:not(.is-next) .score-nums span:not(.is-win) {
  color: #8ea0b8;
}
.score-teams span {
  font-family: var(--mark);
  font-size: 20px;
  font-weight: 200;
  letter-spacing: 0.06em;
}
.score-nums {
  min-width: 1.25em;
  text-align: right;
  font-family: var(--mark);
  font-size: 20px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.score-nums span { position: relative; }
.score-nums .is-win::after {
  content: "";
  position: absolute;
  left: calc(100% + var(--score-gap) - var(--arrow-w));
  top: 50%;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 7px 8px 7px 0;
  border-color: transparent #fff transparent transparent;
  transform: translateY(-50%);
}
.score-spine {
  align-self: stretch;
  width: 1px;
  margin: 0.3rem 0 0.3rem 0;
  background: rgba(255, 255, 255, 0.22);
}
.score-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  align-self: stretch;
  margin: 0.3rem 0;
  padding-left: 11px;
  min-width: 0;
  color: #94a3b8;
  font-size: 0.78rem;
  line-height: 1;
  text-align: left;
}
.score-pitchers {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  width: 100%;
  text-align: left;
  white-space: nowrap;
}
.score-card.is-next .score-board {
  column-gap: 0.45rem;
}
.score-at {
  align-self: center;
  font-family: var(--mark);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
  color: #8ea0b8;
}
.score-card.is-next .score-meta {
  justify-content: center;
}
.game-list li.is-yours .score-card.is-next .score-meta,
.score-tile.is-yours .score-card.is-next .score-meta {
  justify-content: space-between;
}
.score-card.is-next .score-pitchers {
  gap: 0.7rem;
}

.score-card a { color: #fff; }
.score-card a:hover { color: #ffd4da; }
.join-game { color: #ffd4da; font-weight: 700; }
.box-link {
  display: inline-block;
  margin-top: 0;
  padding: 4px 10px;
  background: #16325c;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
}

.scoreboard-link { margin: 0 0 0.4rem; }

.is-schedule .dugout-in h2 {
  margin: 0 0 var(--space-4);
  font-family: var(--mark);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.is-schedule .dugout-in h3 {
  font-size: 1.05rem;
  font-weight: 700;
}

.commish-games {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin: 0 0 1.5rem;
}
.is-schedule .game-list {
  grid-template-columns: repeat(2, var(--score-tile));
  justify-content: start;
}
.score-tile {
  width: var(--score-tile);
  max-width: 100%;
  box-sizing: border-box;
}
.commish-game {
  display: grid;
  grid-template-columns: var(--score-tile) minmax(0, 1fr);
  gap: 0.65rem 1.1rem;
  align-items: center;
}
.commish-controls form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  margin: 0;
}
.commish-controls .btn {
  margin: 0;
}

.day-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 0.5rem;
  margin: 1.5rem 0 0;
  font-variant-numeric: tabular-nums;
}
.day-jump a.played { font-weight: 700; }
.day-jump a.current {
  font-weight: 700;
  color: var(--red);
}

.waitlist,
.waitlist-fold {
  margin: 2rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
}

.waitlist-fold summary {
  cursor: pointer;
  font-weight: 600;
}

.apply-form label { margin-top: 0.75rem; }

.apply-form .apply-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

@media (max-width: 767px) {
  .notes,
  .apply-form .apply-row,
  .league-desk,
  .game-list {
    grid-template-columns: 1fr;
  }

  .is-schedule .game-list {
    grid-template-columns: minmax(0, var(--score-tile));
  }

  .commish-game {
    grid-template-columns: 1fr;
  }

  .room-banner-title { white-space: normal; }

  .nav-toggle { display: inline-block; }

  .rail-nav {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    padding-top: 0.5rem;
  }

  .nav-check:checked ~ .rail-nav { display: flex; }

  .fascia-in { flex-wrap: wrap; }

  .drop-list {
    position: static;
    border: 0;
    padding: 0.15rem 0 0.15rem 0.75rem;
  }

  .is-home .dugout { margin-top: 0; }

  .pitch h1 { max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  .gate,
  .btn,
  .gate:active,
  .btn:active,
  a.btn:active,
  .gate-go:active,
  .drop > summary,
  .drop > summary::after,
  .drop > summary:active {
    transition: none;
    transform: none;
  }
}
