html {
  font-size: 16px;
  min-height: 100%;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

body {
  min-height: 100vh;
  background: #f4f6f8;
  color: #172033;
}

.app-navbar {
  background: #10233f;
}

.app-navbar .nav-link {
  color: rgba(255, 255, 255, .78);
}

.app-navbar .nav-link:hover,
.app-navbar .nav-link:focus,
.app-navbar .nav-link.active {
  color: #fff;
}

.skip-link {
  position: fixed;
  top: .5rem;
  left: .5rem;
  z-index: 1100;
  padding: .5rem .75rem;
  background: #fff;
  color: #10233f;
  border-radius: .375rem;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.app-footer {
  background: #fff;
  font-size: .875rem;
}

.page-eyebrow {
  color: #52647a;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.metric-card {
  border-top: .25rem solid #325d88;
}

.metric-value {
  color: #10233f;
  font-size: 1.5rem;
  font-weight: 700;
}

.section-card {
  border: 0;
  box-shadow: 0 .125rem .5rem rgba(16, 35, 63, .08);
}

.section-card h1,
.section-card h2,
.section-card h3,
.team-name {
  overflow-wrap: anywhere;
}

.team-name {
  min-width: 0;
}

.team-actions form {
  margin: 0;
}

.team-rename {
  max-width: 32rem;
  margin-left: 3rem;
}

.team-reorder-row {
  display: flex;
  gap: .5rem;
  margin-top: .5rem;
  margin-left: 3rem;
}

.team-reorder-row form {
  margin: 0;
}

.pickem-summary-annotations .btn {
  --bs-btn-padding-y: .125rem;
  --bs-btn-padding-x: .375rem;
  --bs-btn-font-size: .75rem;
  --bs-btn-line-height: 1.4;
  white-space: nowrap;
}

.btn-xs.team-reorder-control {
  display: inline-flex;
  width: 1.75rem;
  height: 1.75rem;
  padding: 0;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  line-height: 1;
}

.team-rename-summary {
  min-height: 44px;
  padding: .625rem .25rem;
  color: var(--bs-primary);
  font-weight: 600;
  cursor: pointer;
}

.team-rename:not([open]) .team-rename-open,
.team-rename[open] .team-rename-closed {
  display: none;
}

.team-rename-form {
  min-width: 0;
  overflow: hidden;
}

.team-rename-form .form-control {
  max-width: 100%;
}

.team-add {
  max-width: 32rem;
}

.team-add-summary {
  min-height: 44px;
  padding: .625rem .25rem;
  color: var(--bs-primary);
  font-weight: 600;
  cursor: pointer;
}

.team-add:not([open]) .team-add-open,
.team-add[open] .team-add-closed {
  display: none;
}

.team-add-form {
  min-width: 0;
  overflow: hidden;
}

.team-add-form .form-control {
  max-width: 100%;
}

.team-action-control {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

.import-action-control {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

.player-workspace-action {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

.player-workspace-card-header {
  border-bottom: 1px solid #dfe5ec;
  background: linear-gradient(135deg, #fff 0%, #f6f8fb 100%);
}

.configuration-field-card {
  padding: 1rem;
  border: 1px solid #dfe5ec;
  border-radius: .75rem;
  background: #fff;
}

.configuration-field-card .form-control,
.configuration-number-column,
.configuration-rule-group .form-control {
  min-width: 7rem;
}

.configuration-number-column {
  width: 10rem;
}

.configuration-rule-group + .configuration-rule-group {
  border-top: 1px solid #dfe5ec;
}

.configuration-save-bar {
  position: sticky;
  bottom: 1rem;
  z-index: 10;
  padding: 1rem;
  border: 1px solid #dfe5ec;
  border-radius: .75rem;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 .5rem 1.5rem rgba(16, 35, 63, .15);
  backdrop-filter: blur(8px);
}

@media (max-width: 575.98px) {
  .configuration-number-column {
    width: 8rem;
  }

  .configuration-save-bar {
    position: static;
  }
}

/* Focused Elo research uses the shared card and table language while keeping
   confidence cues explicit: historical optimization is not a forecast promise. */
.pickem-ladder-crossing {
  fill: var(--bs-blue);
  stroke: var(--bs-body-bg);
  stroke-width: 1.5;
  stroke-linejoin: round;
}

.pickem-ladder-volume-bubble {
  fill: var(--bs-blue);
  fill-opacity: .16;
  stroke: var(--bs-blue);
  stroke-opacity: .65;
  stroke-width: 1;
}

.pickem-ladder-volume-curve,
.pickem-ladder-volume-center {
  fill: none;
  stroke: var(--bs-warning-text-emphasis);
  stroke-width: 2.5;
}

.pickem-ladder-volume-curve { stroke-dasharray: 7 4; }
.pickem-ladder-volume-glyph { fill: none; stroke: var(--bs-secondary-color); stroke-width: 1.5; }

.pickem-ladder-timeline-scroll {
    overflow-x: auto;
}

[data-ladder-timeline] .modal-body {
    overflow-x: hidden;
}

.pickem-ladder-timeline-chart {
    display: block;
    width: 100%;
    min-width: 840px;
    height: auto;
    font-size: 10px;
}

.pickem-ladder-timeline-axis { fill: var(--bs-body-color); }
.pickem-ladder-timeline-x-axis { font-size: 10px; }
.pickem-ladder-timeline-grid { stroke: var(--bs-border-color); stroke-width: 1; }
.pickem-ladder-timeline-series { stroke: var(--bs-blue); stroke-width: 3; }
.pickem-ladder-timeline-cbs { stroke: var(--bs-secondary-color); stroke-width: 2; stroke-dasharray: 8 5; }
.pickem-ladder-timeline-zero { stroke: var(--bs-secondary-color); stroke-width: 1; stroke-dasharray: 2 5; }
.pickem-ladder-timeline-point { cursor: pointer; outline: none; }
.pickem-ladder-timeline-hit { fill: transparent; }
.pickem-ladder-timeline-dot { fill: var(--bs-blue); stroke: var(--bs-body-bg); stroke-width: 2; }
.pickem-ladder-timeline-point:focus-visible .pickem-ladder-timeline-dot,
.pickem-ladder-timeline-point.is-selected .pickem-ladder-timeline-dot {
    stroke: var(--bs-body-color);
    stroke-width: 3;
    r: 8;
}

.pickem-ladder-timeline-inspect { min-height: 44px; }
.pickem-ladder-timeline-inspect.is-selected { background: var(--bs-primary-bg-subtle); }
.pickem-ladder-timeline-legend-line,
.pickem-ladder-timeline-legend-cbs,
.pickem-ladder-timeline-legend-zero {
    display: inline-block;
    width: 28px;
    margin-right: 6px;
    vertical-align: middle;
    border-top: 3px solid var(--bs-blue);
}
.pickem-ladder-timeline-legend-cbs { border-top: 2px dashed var(--bs-secondary-color); }
.pickem-ladder-timeline-legend-zero { border-top: 2px dotted var(--bs-secondary-color); }

.pickem-elo-research-table {
  font-variant-numeric: tabular-nums;
  min-width: 44rem;
}

.pickem-elo-research-table th,
.pickem-elo-research-table td {
  vertical-align: middle;
}

.pickem-elo-research-metric {
  display: flex;
  min-height: 7rem;
  padding: 1rem;
  flex-direction: column;
  border: 1px solid var(--bs-border-color);
  border-radius: var(--bs-border-radius);
  background: var(--bs-tertiary-bg);
}

.pickem-elo-research-metric strong {
  margin: .2rem 0;
  color: var(--pigskin-navy);
  font-size: 1.45rem;
}

.pickem-elo-research-metric span:last-child {
  color: var(--bs-secondary-color);
  font-size: .8rem;
}

.pickem-elo-research-progress[aria-busy="true"] .progress-bar {
  opacity: .35;
}

/* Sensitivity diagnostics reserve their visual area so live result rendering does
   not move the page, while retaining a fully accessible table fallback. */
.pickem-elo-sensitivity-chart-canvas {
  min-height: 19rem;
  overflow-x: auto;
}

.pickem-elo-sensitivity-chart svg {
  display: block;
  width: 100%;
  min-width: 36rem;
  min-height: 19rem;
  font-family: var(--bs-font-sans-serif);
  font-size: 12px;
}

.pickem-elo-sensitivity-chart .axis {
  stroke: var(--bs-secondary-color);
  stroke-width: 1;
}

.pickem-elo-sensitivity-chart .series {
  fill: none;
  stroke: var(--pigskin-field);
  stroke-width: 3;
}

.pickem-elo-sensitivity-chart .point {
  fill: var(--pigskin-field);
}

.pickem-elo-sensitivity-chart .baseline {
  fill: var(--bs-body-bg);
  stroke: var(--pigskin-leather);
  stroke-width: 3;
}

.pickem-elo-sensitivity-chart .best {
  fill: var(--pigskin-leather);
  stroke: var(--bs-body-bg);
  stroke-width: 2;
}

.pickem-elo-sensitivity-heatmap {
  min-width: 38rem;
  font-variant-numeric: tabular-nums;
}

.pickem-elo-sensitivity-heatmap .heat-cell {
  background-color: hsl(142 42% calc(100% - var(--heat)));
  color: #12251d;
  font-weight: 600;
  text-align: right;
  white-space: nowrap;
}

.pickem-elo-sensitivity-heatmap .heat-cell.baseline {
  outline: 3px solid var(--pigskin-leather);
  outline-offset: -3px;
}

.pickem-elo-sensitivity-heatmap .heat-cell.best {
  box-shadow: inset 0 0 0 3px #172f52;
}

@media (max-width: 575.98px) {
  .pickem-elo-sensitivity-chart-canvas {
    min-height: 16rem;
  }

  .pickem-elo-sensitivity-chart svg {
    min-height: 16rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pickem-elo-sensitivity-chart *,
  .pickem-elo-sensitivity-heatmap * {
    transition: none !important;
  }
}

.player-controls-header {
  border-top: .25rem solid var(--pigskin-field);
}

.player-result-count {
  display: inline-flex;
  min-height: 2rem;
  padding: .35rem .7rem;
  align-items: center;
  border: 1px solid #d8e1dd;
  border-radius: 999px;
  background: #fff;
  color: #4d5f59;
  font-size: .8125rem;
  font-weight: 700;
  white-space: nowrap;
}

.player-filter-panel {
  border-bottom: 1px solid #dbe3df;
  background: #f3f7f5;
}

.player-filter-panel .form-label {
  margin-bottom: .4rem;
  color: #30473f;
  font-size: .8125rem;
  letter-spacing: .015em;
}

.player-filter-panel .form-control,
.player-filter-panel .form-select {
  min-height: 44px;
  border-color: #cbd7d1;
  background-color: #fff;
}

.curve-chart-reading-guide {
  min-width: 12rem;
  padding-left: 1rem;
  border-left: .25rem solid var(--pigskin-leather, #b24a20);
}

.curve-series-toggle {
  display: inline-flex;
  min-height: 44px;
  padding: .5rem .75rem;
  align-items: center;
  border: 1px solid #d8e0e8;
  border-radius: .5rem;
  background: #fff;
  cursor: pointer;
}

.curve-series-toggle:focus-within {
  box-shadow: 0 0 0 .25rem rgba(37, 140, 251, .2);
}

.curve-series-swatch {
  width: 1.5rem;
  border-top-width: .2rem;
}

.curve-chart-frame {
  overflow-x: auto;
  border: 1px solid #dfe5ec;
  border-radius: .75rem;
  background: #fff;
}

.curve-chart {
  display: block;
  width: 100%;
  min-width: 46rem;
  height: auto;
}

.curve-grid-line {
  stroke: #dbe2ea;
  stroke-width: 1;
}

.curve-grid-line-vertical {
  stroke-dasharray: 3 5;
}

.curve-axis-label {
  fill: #52647a;
  font-size: 12px;
}

.curve-axis-title {
  fill: #28384c;
  font-size: 13px;
  font-weight: 700;
}

.curve-data-line {
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.curve-data-point {
  cursor: crosshair;
  opacity: 0;
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
  transition: opacity .12s ease, fill .12s ease;
  pointer-events: all;
}

.curve-data-point:hover,
.curve-data-point-active {
  fill: #fff;
  opacity: 1;
}

[data-curve-series]:focus {
  outline: none;
}

[data-curve-series]:focus .curve-data-line {
  filter: drop-shadow(0 0 2px rgba(16, 35, 63, .35));
}

.curve-point-tooltip {
  position: fixed;
  z-index: 1080;
  min-width: 13rem;
  max-width: min(22rem, calc(100vw - 24px));
  padding: .65rem .75rem;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: .55rem;
  background: #10233f;
  box-shadow: 0 .5rem 1.25rem rgba(16, 35, 63, .22);
  color: #fff;
  pointer-events: none;
}

.curve-point-tooltip-player {
  overflow-wrap: anywhere;
  font-weight: 700;
}

.curve-point-tooltip-values {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  margin-top: .15rem;
  color: rgba(255, 255, 255, .82);
  font-size: .8125rem;
}

.curve-summary {
  padding: .75rem;
  border: 1px solid #dfe5ec;
  border-top: .25rem solid var(--curve-color);
  border-radius: .5rem;
  background: #fff;
  transition: opacity .15s ease;
}

.curve-series-muted {
  opacity: .45;
}

.player-workspace-table-frame {
  background: #fff;
}

.player-workspace-table {
  --bs-table-bg: #fff;
  --bs-table-striped-bg: #f8faf9;
  --bs-table-hover-bg: #f2f7f4;
  font-variant-numeric: tabular-nums;
}

.player-workspace-table thead th {
  padding: .85rem .75rem;
  border-bottom-width: 1px;
  border-bottom: 1px solid #cbd7d1;
  background: #e8f0ec;
  color: #2d493f;
  font-size: .75rem;
  letter-spacing: .035em;
  text-transform: uppercase;
  white-space: nowrap;
}

.player-workspace-table tbody td {
  padding: .9rem .75rem;
  border-bottom-color: #e2e8e5;
  background-color: #fff;
}

.player-workspace-table tbody tr:hover {
  --bs-table-accent-bg: #f2f7f4;
}

.player-workspace-table tbody tr:hover td {
  background-color: #f2f7f4;
}

.player-workspace-table tbody tr.player-row-target td:first-child {
  box-shadow: inset .25rem 0 0 #198754;
}

.player-workspace-table tbody tr.player-row-avoid td:first-child {
  box-shadow: inset .25rem 0 0 #d39e00;
}

.player-workspace-table tbody tr.player-row-do-not-draft td:first-child {
  box-shadow: inset .25rem 0 0 #b02a37;
}

.position-rank {
  display: inline-flex;
  min-width: 3.25rem;
  height: 2.25rem;
  padding: 0 .5rem;
  align-items: center;
  justify-content: center;
  gap: .25rem;
  border-radius: .45rem;
  border: 1px solid #cbdad4;
  background: #edf4f1;
  color: #173f35;
  font-weight: 800;
}

.position-rank-position {
  font-size: .68rem;
  letter-spacing: .04em;
}

.player-notes-cell {
  max-width: 18rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.player-name {
  color: #17231f;
  font-size: .95rem;
  font-weight: 750;
}

.player-meta,
.player-projection-unit,
.player-plan-adjustments {
  color: #64736e;
  font-size: .75rem;
}

.player-projection-value {
  display: block;
  color: #173f35;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.1;
}

.player-projection-unit {
  display: block;
  margin-top: .15rem;
}

.player-market-cell {
  display: grid;
  gap: .15rem;
  min-width: 6.5rem;
  font-size: .8125rem;
}

.player-data-label {
  display: inline-block;
  width: 2rem;
  color: #71817b;
  font-size: .675rem;
  font-weight: 800;
  letter-spacing: .045em;
}

.player-plan-cell {
  min-width: 9.75rem;
}

.player-plan-cell .badge {
  display: table;
  margin-bottom: .3rem;
}

.player-plan-adjustments {
  display: block;
  white-space: nowrap;
}

.player-edit-action {
  display: inline-flex;
  min-height: 38px;
  padding-inline: .85rem;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.player-preference-card {
  overflow: hidden;
  border-top: .25rem solid var(--pigskin-field);
}

.player-preference-form .preference-field-group {
  padding: 1rem;
  border: 1px solid #dce5e1;
  border-radius: .65rem;
  background: #f7faf8;
}

.player-preference-form .form-label {
  color: #233a32;
}

.player-preference-form .form-control,
.player-preference-form .form-select {
  min-height: 44px;
  border-color: #bdcbc5;
  background-color: #fff;
  color: #17231f;
}

.player-preference-form textarea.form-control {
  min-height: 9rem;
}

.player-preference-form .form-control:hover,
.player-preference-form .form-select:hover {
  border-color: #8ea69c;
}

.player-preference-form .form-text {
  color: #5e6f69;
  line-height: 1.45;
}

.preference-field-kicker {
  margin-bottom: .75rem;
  padding-bottom: .55rem;
  border-bottom: 1px solid #dce5e1;
  color: var(--pigskin-field);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .075em;
  text-transform: uppercase;
}

fieldset.preference-field-group .preference-field-kicker {
  float: none;
  width: 100%;
}

.player-preference-actions {
  padding-top: 1rem;
  border-top: 1px solid #dce5e1;
}

@media (max-width: 575.98px) {
  .curve-chart-reading-guide {
    padding-top: .75rem;
    padding-left: 0;
    border-top: .25rem solid var(--pigskin-leather, #b24a20);
    border-left: 0;
  }
}

.draft-action-control {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

.simulation-action-control {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

.simulation-preset-option {
  cursor: pointer;
  transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.btn-check:focus-visible + .simulation-preset-option {
  box-shadow: 0 0 0 .25rem rgba(13, 110, 253, .25);
}

.btn-check:checked + .simulation-preset-option {
  border-color: var(--bs-primary);
  box-shadow: 0 0 0 .125rem rgba(13, 110, 253, .2);
}

.simulation-definition-list dt {
  color: var(--bs-secondary-color);
  font-weight: 400;
}

.simulation-definition-list dd {
  font-weight: 600;
}

.simulation-primary-metric {
  color: #10233f;
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.1;
}

.simulation-winner {
  border-top: .35rem solid #325d88;
}

.simulation-numeric {
  font-variant-numeric: tabular-nums;
}

.simulation-frequency-cell {
  min-width: 7rem;
}

.simulation-frequency-intensity-1 { background: #f4f8fc !important; }
.simulation-frequency-intensity-2 { background: #e4f0fa !important; }
.simulation-frequency-intensity-3 { background: #cfe5f6 !important; }
.simulation-frequency-intensity-4 { background: #b8daef !important; }

.simulation-method-details summary {
  min-height: 44px;
  padding: .625rem .25rem;
  color: var(--bs-primary);
  cursor: pointer;
  font-weight: 600;
}

.simulation-method-details summary:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 .25rem rgba(13, 110, 253, .25);
}

.league-season-action {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: .45rem;
  justify-content: center;
}

.league-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(23, 63, 53, .16);
  border-radius: .8rem;
  box-shadow: 0 .25rem .75rem rgba(16, 45, 38, .08), 0 1px 2px rgba(16, 45, 38, .06);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.league-card::before {
  position: absolute;
  inset: 0 0 auto;
  z-index: 2;
  height: .25rem;
  background: linear-gradient(90deg, var(--pigskin-brass) 0 28%, var(--pigskin-field) 28% 100%);
  content: "";
}

.league-card:hover {
  border-color: rgba(23, 96, 75, .34);
  box-shadow: 0 .65rem 1.5rem rgba(16, 45, 38, .12), 0 2px 4px rgba(16, 45, 38, .08);
  transform: translateY(-2px);
}

.league-card-header {
  border-bottom: 1px solid rgba(23, 63, 53, .12) !important;
  background: linear-gradient(135deg, #f8fbf9 0%, #eef3ef 100%) !important;
}

.league-card-kicker {
  color: var(--pigskin-field);
  font-size: .6875rem;
  font-weight: 800;
  letter-spacing: .12em;
  line-height: 1;
  text-transform: uppercase;
}

.league-card-title {
  color: var(--pigskin-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.15;
}

.league-platform-badge {
  display: inline-flex;
  min-height: 1.75rem;
  align-items: center;
  gap: .4rem;
  padding: .25rem .6rem;
  border: 1px solid rgba(23, 96, 75, .24);
  border-radius: 999px;
  background: rgba(255, 255, 255, .75);
  color: #365f54;
  font-size: .75rem;
  font-weight: 650;
}

.league-card-emblem {
  margin-top: .15rem;
  color: rgba(23, 96, 75, .24);
}

.league-season-row {
  border-color: rgba(23, 63, 53, .1);
}

.league-season-year {
  display: inline-flex;
  width: 4.25rem;
  height: 4.25rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(200, 155, 60, .5);
  border-radius: .65rem;
  background: #fbf6eb;
  color: var(--pigskin-navy);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.league-season-year span {
  color: #7a6742;
  font-size: .5625rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.league-season-year strong {
  margin-top: .35rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
}

.league-season-actions .btn-outline-secondary {
  --bs-btn-color: #365f54;
  --bs-btn-border-color: #6a887f;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--pigskin-field);
  --bs-btn-hover-border-color: var(--pigskin-field);
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--pigskin-field);
  --bs-btn-active-border-color: var(--pigskin-field);
}

.draft-kind-option {
  cursor: pointer;
  transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.btn-check:focus-visible + .draft-kind-option {
  box-shadow: 0 0 0 .25rem rgba(13, 110, 253, .25);
}

.btn-check:checked + .draft-kind-option {
  border-color: var(--bs-primary);
  box-shadow: 0 0 0 .125rem rgba(13, 110, 253, .2);
}

.draft-definition-list dt {
  color: var(--bs-secondary-color);
  font-weight: 400;
}

.draft-definition-list dd {
  font-weight: 600;
}

.draft-current-pick {
  border-left: .35rem solid #325d88;
}

.draft-sync-status {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  color: var(--bs-secondary-color);
  font-size: .75rem;
  line-height: 1.2;
}

.draft-sync-status::before {
  width: .5rem;
  height: .5rem;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.draft-sync-status.is-live {
  color: #16733b;
}

.draft-sync-status.is-reconnecting,
.draft-sync-status.is-connecting {
  color: #946200;
}

.draft-sync-status.is-disconnected {
  color: #9b2432;
}

.draft-timer-value {
  display: block;
  color: #10233f;
  font-size: clamp(2rem, 7vw, 3.25rem);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1;
}

.draft-timer.is-warning .draft-timer-value {
  color: #9a6700;
}

.draft-timer.is-expired .draft-timer-value {
  color: #a52834;
}

.draft-board-summary {
  margin-top: .25rem;
}

.team-standings-card,
.recent-picks-card {
  overflow: hidden;
}

.team-standings-context {
  color: var(--bs-secondary-color);
  font-size: .8125rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.team-standings-accordion .accordion-item {
  border-color: var(--pigskin-border, var(--bs-border-color));
}

.team-standings-accordion .accordion-item.team-standing-user {
  border-left: .25rem solid var(--pigskin-field, var(--bs-success));
}

.team-standing-trigger {
  position: relative;
  display: grid;
  grid-template-columns: 3.25rem minmax(10rem, 1fr) minmax(20rem, .9fr);
  gap: 1rem;
  min-height: 5.5rem;
  padding: .875rem 3.25rem .875rem 1rem;
  background: var(--pigskin-surface, #fff);
}

.team-standing-trigger::after {
  position: absolute;
  top: 50%;
  right: 1rem;
  margin: 0;
  transform: translateY(-50%) rotate(-180deg);
}

.team-standing-trigger.collapsed::after {
  transform: translateY(-50%);
}

.team-standing-trigger:not(.collapsed),
.team-standing-trigger:not(.collapsed):focus {
  color: var(--pigskin-ink, var(--bs-body-color));
  background: color-mix(in srgb, var(--pigskin-canvas, #f5e9cf) 34%, white);
  box-shadow: none;
}

.team-standing-trigger:focus-visible {
  z-index: 2;
  outline: .1875rem solid color-mix(in srgb, var(--pigskin-field, #17604b) 70%, white);
  outline-offset: -.1875rem;
  box-shadow: none;
}

.team-standing-rank {
  display: inline-flex;
  align-items: center;
  align-self: center;
  justify-content: center;
  width: 3.25rem;
  min-height: 2.5rem;
  border: 1px solid var(--pigskin-border, var(--bs-border-color));
  border-radius: .625rem;
  color: var(--pigskin-navy, var(--bs-primary));
  background: #fff;
  font-size: 1.05rem;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}

.team-standing-identity,
.team-standing-metric {
  min-width: 0;
}

.team-standing-identity {
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  align-items: center;
  gap: .25rem .5rem;
}

.team-standing-name {
  overflow-wrap: anywhere;
  font-size: 1rem;
  font-weight: 700;
}

.team-standing-validity {
  display: flex;
  flex-basis: 100%;
  flex-wrap: wrap;
  gap: .35rem;
  margin: .2rem 0 .1rem;
}

.team-validity-pill {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  min-height: 1.5rem;
  padding: .15rem .5rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: .6875rem;
  font-weight: 700;
  line-height: 1.15;
  white-space: nowrap;
}

.team-validity-pill.is-complete {
  border-color: #8bc6a5;
  color: #0b5132;
  background: #e6f5ec;
}

.team-validity-pill.is-uncertain {
  border-color: #d8b35d;
  color: #684b00;
  background: #fff4d3;
}

.team-validity-pill.is-incomplete {
  border-color: #e2a0a7;
  color: #842029;
  background: #fbeaec;
}

.team-validity-icon {
  font-size: .75rem;
  line-height: 1;
}

.team-validity-unknown {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1rem;
  height: 1rem;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: .625rem;
  line-height: 1;
}

.team-standing-pick-count {
  flex-basis: 100%;
  color: var(--bs-secondary-color);
  font-size: .75rem;
  font-variant-numeric: tabular-nums;
}

.team-standing-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-self: stretch;
  border-left: 1px solid var(--pigskin-border, var(--bs-border-color));
}

.team-standing-metric {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 1rem;
}

.team-standing-metric + .team-standing-metric {
  border-left: 1px solid var(--pigskin-border, var(--bs-border-color));
}

.team-standing-label,
.team-standing-detail {
  color: var(--bs-secondary-color);
  font-size: .6875rem;
  line-height: 1.25;
}

.team-standing-label {
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.team-standing-value,
.team-standing-number {
  font-variant-numeric: tabular-nums;
}

.team-standing-value {
  margin: .125rem 0;
  color: var(--pigskin-navy, var(--bs-primary));
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.2;
}

.team-standing-detail-table {
  min-width: 38rem;
}

.team-standing-detail-table th,
.team-standing-detail-table td {
  padding: .625rem 1rem;
}

.team-standing-detail-table thead th {
  color: var(--bs-secondary-color);
  background: color-mix(in srgb, var(--pigskin-canvas, #f5e9cf) 24%, white);
  font-size: .6875rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.team-standing-actions {
  background: color-mix(in srgb, var(--pigskin-canvas, #f5e9cf) 14%, white);
}

.team-bye-coverage-trigger,
.bye-coverage-modal .btn-close,
.bye-coverage-modal .modal-footer .btn {
  min-height: 2.75rem;
}

.team-bye-coverage-trigger {
  display: inline-flex;
  align-items: center;
}

.recent-picks-list .list-group-item {
  background: transparent;
}

@media (max-width: 767.98px) {
  .team-standing-trigger {
    grid-template-columns: 2.75rem minmax(0, 1fr);
    gap: .75rem;
    padding-right: 2.75rem;
  }

  .team-standing-rank {
    width: 2.75rem;
  }

  .team-standing-metrics {
    grid-column: 1 / -1;
    border-top: 1px solid var(--pigskin-border, var(--bs-border-color));
    border-left: 0;
    padding-top: .75rem;
  }

  .team-standing-metric {
    padding: 0 .75rem;
  }

  .team-standing-metric:first-child {
    padding-left: 0;
  }
}

@media (max-width: 374.98px) {
  .team-standing-metrics {
    grid-template-columns: 1fr;
  }

  .team-standing-metric {
    padding: .5rem 0;
  }

  .team-standing-metric + .team-standing-metric {
    border-top: 1px solid var(--pigskin-border, var(--bs-border-color));
    border-left: 0;
  }
}

.draft-players-table {
  min-width: 34rem;
}

.bye-coverage-section {
  overflow: hidden;
}

.bye-coverage-modal .modal-dialog {
  --bs-modal-width: min(90rem, calc(100vw - 2rem));
}

.bye-coverage-modal .modal-header {
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.25rem;
}

.bye-coverage-modal .modal-body {
  background: var(--pigskin-surface, #fff);
}

.bye-coverage-modal .btn-close {
  flex: 0 0 auto;
  margin: -.375rem -.375rem -.375rem auto;
}

.bye-coverage-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .625rem 1.25rem;
  color: var(--bs-secondary-color);
  background: color-mix(in srgb, var(--pigskin-canvas, #f5e9cf) 14%, white);
  font-size: .8125rem;
}

.bye-coverage-legend > span {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}

.bye-coverage-cell-sample-bye {
  display: inline-block;
  width: 1.125rem;
  height: 1.125rem;
  border: 1px solid var(--pigskin-border, var(--bs-border-color));
  background: linear-gradient(135deg, transparent 42%, rgba(82, 100, 122, .2) 42%, rgba(82, 100, 122, .2) 58%, transparent 58%);
}

.bye-coverage-modal .bye-coverage-table {
  min-width: 58rem;
}

.bye-coverage-modal .bye-coverage-table th,
.bye-coverage-modal .bye-coverage-table td {
  width: 2.25rem;
  height: 2rem;
  font-size: .8125rem;
  line-height: 1.2;
}

.bye-coverage-modal .bye-coverage-table .bye-coverage-player-column {
  width: 16rem;
  min-width: 16rem;
  padding: .25rem .875rem;
}

.bye-coverage-modal .bye-coverage-slot {
  font-size: .8125rem;
  line-height: 1.4;
}

.bye-coverage-modal .bye-coverage-marker,
.bye-coverage-modal .bye-coverage-unknown-marker,
.bye-coverage-modal .bye-coverage-empty-marker {
  width: .875rem;
  height: .875rem;
}

.bye-coverage-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--bs-secondary-color);
  font-size: .8125rem;
  font-weight: 600;
  line-height: 1.25;
}

.bye-coverage-toggle:hover,
.bye-coverage-toggle:focus-visible {
  color: var(--bs-body-color);
}

.bye-coverage-toggle-indicator::before {
  content: "−";
}

.bye-coverage-toggle.collapsed .bye-coverage-toggle-indicator::before {
  content: "+";
}

.bye-coverage-table-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
}

.bye-coverage-table,
.bye-coverage-legend {
  --bye-coverage-qb: #0072b2;
  --bye-coverage-rb: #009e73;
  --bye-coverage-wr: #cc79a7;
  --bye-coverage-te: #e69f00;
  --bye-coverage-k: #6f42c1;
  --bye-coverage-def: #c1121f;
}

.bye-coverage-table {
  min-width: 34rem;
  table-layout: fixed;
}

.bye-coverage-table th,
.bye-coverage-table td {
  width: 1.55rem;
  height: 1rem;
  padding: 0;
  line-height: .875rem;
  text-align: center;
  vertical-align: middle;
}

.bye-coverage-table thead th {
  color: var(--bs-secondary-color);
  font-size: .6875rem;
  font-variant-numeric: tabular-nums;
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
}

.bye-coverage-table .bye-coverage-player-column {
  position: sticky;
  left: 0;
  z-index: 2;
  width: 12.5rem;
  min-width: 12.5rem;
  padding: 0 .5rem;
  background: var(--pigskin-surface, #fff);
  text-align: start;
}

.bye-coverage-table thead .bye-coverage-player-column {
  z-index: 3;
  color: var(--bs-secondary-color);
  font-size: .6875rem;
  font-weight: 400;
  text-transform: uppercase;
}

.bye-coverage-slot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .25rem;
  overflow: hidden;
  white-space: nowrap;
  color: #10233f;
  font-size: .6875rem;
  font-weight: 400;
  line-height: 1rem;
}

.bye-coverage-slot-label {
  flex: 0 0 auto;
  text-align: left;
}

.bye-coverage-player-name {
  min-width: 0;
  overflow: hidden;
  text-align: right;
  text-overflow: ellipsis;
}

.draft-guidance-toggle-collapsed {
  display: none;
}

.draft-guidance-toggle.collapsed .draft-guidance-toggle-expanded {
  display: none;
}

.draft-guidance-toggle.collapsed .draft-guidance-toggle-collapsed {
  display: inline;
}

.bye-coverage-marker,
.bye-coverage-unknown-marker,
.bye-coverage-empty-marker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: .625rem;
  height: .625rem;
  border-radius: 50%;
}

.bye-coverage-marker {
  background: var(--bye-coverage-qb);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .18);
}

.bye-coverage-marker-qb { background: var(--bye-coverage-qb); }
.bye-coverage-marker-rb { background: var(--bye-coverage-rb); }
.bye-coverage-marker-wr { background: var(--bye-coverage-wr); }
.bye-coverage-marker-te { background: var(--bye-coverage-te); }
.bye-coverage-marker-k { background: var(--bye-coverage-k); }
.bye-coverage-marker-def { background: var(--bye-coverage-def); }

.bye-coverage-unknown-marker {
  border: 1px solid #667085;
  color: #52647a;
  font-size: .5rem;
  font-weight: 700;
  line-height: 1;
}

.bye-coverage-empty-marker {
  border: 1px dashed #aab4c3;
}

.bye-coverage-cell-bye {
  background: linear-gradient(135deg, transparent 45%, rgba(82, 100, 122, .12) 45%, rgba(82, 100, 122, .12) 55%, transparent 55%);
}

.available-player-search {
  max-width: 32rem;
}

.available-player-forecast-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .25rem 1rem;
}

.available-player-forecast-legend p {
  flex-basis: 100%;
}

.available-player-forecast-chip,
.available-player-card-state {
  display: inline-flex;
  align-items: center;
  gap: .1875rem;
  border: 1px solid currentColor;
  border-radius: 999px;
  color: #29445d;
  font-size: .6875rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}

.player-health-chip {
  display: inline-flex;
  align-items: center;
  min-height: 1.25rem;
  padding: .0625rem .25rem;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: .6875rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}

.player-health-chip-severe {
  color: #9f1d2d;
  background: #fff0f1;
}

.player-health-chip-caution {
  color: #76520a;
  background: #fff8df;
}

.player-health-chip-no-report,
.player-health-chip-reported {
  color: #3d4d61;
  background: #f7f9fb;
}

.player-health-chip-unknown {
  border-style: dashed;
  color: #52647a;
  background: transparent;
}

.player-health-status-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1rem;
  height: 1rem;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: .625rem;
  font-weight: 800;
  line-height: 1;
}

.player-health-status-icon-clear {
  color: #146c43;
  background: #d1e7dd;
}

.player-health-status-icon-unknown {
  color: #52647a;
  background: #f7f9fb;
}

.player-health-status-icon-injury-severe,
.player-health-status-icon-injury-reported {
  color: #fff;
  background: #b42318;
}

.player-health-status-icon-injury-caution {
  color: #5c4005;
  background: #ffda6a;
}

.player-health-status-icon-conflicting {
  height: .9rem;
  padding-top: .12rem;
  border: 0;
  border-radius: 0;
  color: #fff;
  background: #b42318;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.available-player-forecast-chip {
  padding: .125rem .375rem;
}

.available-player-forecast-chip.is-recommended,
.available-player-card-state-recommended {
  color: #1e5d37;
}

.available-player-forecast-chip.is-expected,
.available-player-card-state-expected-before-next-user-pick {
  color: #76520a;
}

.available-player-forecast-chip.is-available,
.available-player-card-state-available-later {
  color: #295a7d;
}

.available-player-lane {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--bs-border-color);
  border-radius: var(--bs-border-radius);
  background: var(--pigskin-surface, #fff);
}

.available-player-lane-header {
  position: sticky;
  top: 0;
  z-index: 1;
  padding: .5rem .625rem;
  border-bottom: 1px solid var(--bs-border-color);
  background: var(--pigskin-surface, #fff);
}

.available-player-lane-sort {
  margin-top: .125rem;
  color: var(--bs-secondary-color);
  font-size: .6875rem;
  line-height: 1.2;
}

.rolling-gsds-position-gene {
  min-width: 3.25rem;
  padding: .375rem .5rem;
  font-size: .75rem;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}

.available-player-lane-list {
  display: grid;
  gap: .25rem;
  max-height: 40rem;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: .25rem;
}

.available-player-card {
  --available-player-card-background: #e8f3fc;
  --available-player-card-border: #bdd9ef;
  --available-player-card-hover-background: #dceefa;

  display: block;
  min-height: 44px;
  padding: .375rem .5rem;
  border: 1px solid var(--available-player-card-border);
  border-radius: .375rem;
  background: var(--available-player-card-background);
  color: inherit;
  text-decoration: none;
}

.available-player-card[data-player-card-state="neutral"] {
  --available-player-card-background: #e8f3fc;
  --available-player-card-border: #bdd9ef;
  --available-player-card-hover-background: #dceefa;
}

.available-player-card[data-player-card-state="recommended"] {
  --available-player-card-background: #e7f7ec;
  --available-player-card-border: #92cfaa;
  --available-player-card-hover-background: #d9f0e1;
}

.available-player-card[data-player-card-state="expected-before-next-user-pick"] {
  --available-player-card-background: #fff3cd;
  --available-player-card-border: #e8c568;
  --available-player-card-hover-background: #ffebaa;
}

.available-player-card[data-player-card-state="available-later"] {
  --available-player-card-background: #e8f3fc;
  --available-player-card-border: #bdd9ef;
  --available-player-card-hover-background: #dceefa;
}

.available-player-card:hover {
  background: var(--available-player-card-hover-background);
  color: inherit;
}

.available-player-card:focus-visible {
  position: relative;
  z-index: 1;
  outline: 0;
  box-shadow: inset 0 0 0 .25rem rgba(13, 110, 253, .25);
}

.available-player-card-name {
  min-width: 0;
  overflow-wrap: anywhere;
  font-weight: 600;
}

.available-player-card-topline {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .375rem;
}

.draft-player-card-icons {
  flex: 0 0 auto;
  max-width: 5.25rem;
}

.draft-player-status-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.125rem;
  height: 1.125rem;
  vertical-align: text-bottom;
  flex: 0 0 auto;
}

.draft-player-status-svg {
  width: 100%;
  height: 100%;
}

.draft-player-status-rookie {
  color: #146c43;
}

.draft-player-status-favorite {
  color: #9d3156;
}

.draft-player-status-injury {
  color: #b42318;
}

.available-player-card-state {
  flex: 0 0 auto;
  padding: .0625rem .25rem;
  font-size: .6875rem;
  line-height: 1.15;
}

.available-player-card-facts {
  display: flex;
  flex-wrap: wrap;
  gap: .125rem .375rem;
  margin-top: .25rem;
}

.available-player-card-fact {
  min-width: 0;
}

.available-player-card-fact-label {
  display: block;
  color: #52647a;
  font-size: .625rem;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1.1;
  text-transform: uppercase;
}

.available-player-card-projection {
  display: inline;
  color: #10233f;
  font-size: .875rem;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}

.available-player-card-meta {
  display: inline;
  color: var(--bs-secondary-color);
  font-size: .75rem;
  overflow-wrap: anywhere;
}

.available-player-card-position {
  color: #10233f;
  font-weight: 700;
}

@media (min-width: 1600px) {
  .available-player-lanes > .col {
    flex: 0 0 auto;
    width: 14.285714%;
  }
}

.available-player-lane-skeleton {
  min-height: 15rem;
  padding: .75rem;
}

.available-player-lane-skeleton .placeholder {
  display: block;
  min-height: 1rem;
  margin-bottom: .75rem;
}

.draft-upcoming-mark {
  display: inline-flex;
  flex: 0 0 2rem;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: #e8eef5;
  color: #10233f;
  font-size: 1.25rem;
  font-weight: 700;
}

.recommendation-loading-card {
  min-height: 6rem;
}

.draft-recommendations {
  border-top: .25rem solid #325d88;
}

.recommendation-exclusion-note {
  display: inline-flex;
  align-items: center;
  min-height: 1.75rem;
  padding: .25rem .5rem;
  border: 1px solid #b8c1ce;
  border-radius: var(--bs-border-radius);
  color: #3d4d61;
  font-size: .75rem;
}

.recommendation-health-exclusion-note {
  color: #9f1d2d;
}

.recommendation-health-adjustment {
  color: #76520a;
}

.recommendation-health-adjustment-row td {
  border-top: 0;
  padding-top: 0;
}

.recommendation-primary-card {
  padding: 1rem;
  border: 1px solid #bdd9ef;
  border-radius: var(--bs-border-radius);
  background: #f3f9fe;
}

.recommendation-rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: #325d88;
  color: #fff;
  font-size: .75rem;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}

.recommendation-reasons li + li {
  margin-top: .25rem;
}

.recommendation-primary-metrics {
  color: #10233f;
  font-variant-numeric: tabular-nums;
}

.recommendation-alternatives summary,
.recommendation-limitations summary {
  min-height: 44px;
  padding: .625rem .25rem;
  color: var(--bs-primary);
  cursor: pointer;
  font-weight: 600;
}

.recommendation-alternatives summary:focus-visible,
.recommendation-limitations summary:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 .25rem rgba(13, 110, 253, .25);
}

.import-definition-list dt {
  color: var(--bs-secondary-color);
  font-weight: 400;
}

.import-definition-list dd {
  font-weight: 600;
}

.import-details-summary {
  min-height: 44px;
  padding: .625rem .25rem;
  color: var(--bs-primary);
  font-weight: 600;
  cursor: pointer;
}

.confirmation-actions form,
.confirmation-actions .btn {
  width: 100%;
}

.team-order {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  flex: 0 0 2rem;
  border-radius: 50%;
  background: #e8eef5;
  color: #10233f;
  font-weight: 700;
}

.scoring-value {
  color: #10233f;
  font-weight: 700;
  white-space: nowrap;
}

.empty-state {
  max-width: 42rem;
  margin-inline: auto;
}

.validation-summary-valid {
  display: none;
}

/* Player workspace profile cards use the shared brand surface and retain a dense,
   scan-friendly evidence hierarchy without adding a separate design system. */
.player-favorite-badge {
  background: #f8e7b4;
  border: 1px solid #c89b3c;
  color: #47320a;
}

.player-details-card {
  border-top: .25rem solid var(--pigskin-field);
}

.player-details-card > .card-header {
  background: #eef3ef;
}

.player-detail-metric {
  min-height: 4.5rem;
  padding: .75rem;
  border: 1px solid var(--pigskin-border);
  border-radius: var(--bs-border-radius);
  background: #f8faf9;
}

.player-detail-metric span,
.player-health-state span {
  display: block;
  color: var(--bs-secondary-color);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.player-detail-metric strong,
.player-health-state strong {
  display: block;
  margin-top: .25rem;
  color: var(--pigskin-navy);
  font-size: 1.12rem;
  font-variant-numeric: tabular-nums;
}

.player-detail-metric.compact {
  min-height: 3.75rem;
  padding: .5rem .625rem;
}

.player-detail-table {
  font-variant-numeric: tabular-nums;
}

.player-details-definition-list dt {
  color: var(--bs-secondary-color);
  font-weight: 600;
}

.player-details-definition-list dd {
  margin-bottom: .5rem;
}

.player-news-timeline .list-group-item:first-child {
  border-top: 0;
}

.player-news-impact {
  padding-left: .75rem;
  border-left: .2rem solid var(--pigskin-brass);
}

.player-health-state {
  padding: .75rem;
  border-left: .25rem solid var(--pigskin-field);
  background: #f2f7f4;
}

.player-details-card > summary {
  cursor: pointer;
}

.player-details-card > summary::marker {
  color: var(--pigskin-leather);
}

.player-details-card > summary:focus-visible {
  outline: 0;
  box-shadow: inset 0 0 0 .25rem rgba(200, 155, 60, .45);
}

@media (max-width: 575.98px) {
  .player-details-header .player-workspace-action {
    width: 100%;
  }
}

@media (max-width: 575.98px) {
  .team-row {
    flex-wrap: wrap;
  }

  .team-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch !important;
    padding-left: 3rem;
  }

  .team-actions form,
  .team-actions .team-action-control {
    width: 100%;
  }

  .team-rename {
    margin-left: 0;
  }

  .team-reorder-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-left: 0;
  }

  .team-rename-save {
    width: 100%;
  }

  .team-add-save {
    width: 100%;
  }

  .draft-players-table {
    min-width: 30rem;
  }

  .available-player-lane-list {
    max-height: none;
    overflow: visible;
  }

  .league-season-actions .league-season-action {
    width: 100%;
  }

  .simulation-action-control {
    width: 100%;
  }
}

@media (min-width: 576px) {
  .confirmation-actions form,
  .confirmation-actions .btn {
    width: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .league-card {
    transition: none;
  }

  .league-card:hover {
    transform: none;
  }

  .draft-kind-option {
    transition: none;
  }

  .simulation-preset-option {
    transition: none;
  }
}

/* Draft strategy simulation */
.simulation-mode-option,
.simulation-preset-option {
  cursor: pointer;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.btn-check:checked + .simulation-mode-option,
.btn-check:checked + .simulation-preset-option {
  border-color: var(--pigskin-leather);
  box-shadow: 0 0 0 .2rem rgba(185, 109, 66, .2);
}

.simulation-mode-panel[hidden] {
  display: none;
}

.simulation-gsds-results .accordion-button {
  align-items: center;
}

@media (prefers-reduced-motion: reduce) {
  .simulation-mode-option,
  .simulation-preset-option {
    transition: none;
  }
}

/* Pick'em keeps the CBS pool spread visually distinct from its market evidence. */
.pickem-storage-details summary {
  min-height: 44px;
  padding: .625rem .25rem;
  color: var(--bs-primary);
  cursor: pointer;
  font-weight: 600;
}

.pickem-storage-details summary:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 .25rem rgba(200, 155, 60, .45);
}

.pickem-history-table,
.pickem-games-table,
.pickem-recommendations-table {
  font-variant-numeric: tabular-nums;
}

.pickem-history-table th,
.pickem-games-table th {
  white-space: nowrap;
}

.pickem-games-table td,
.pickem-games-table th {
  vertical-align: middle;
}

.pickem-recommendations-table td,
.pickem-recommendations-table th {
  vertical-align: top;
}

/* Recommendation evidence expands in place; never turn the card into a nested vertical scroller. */
.pickem-recommendations-section,
.pickem-recommendations-section .card-body {
  height: auto;
  max-height: none;
}

.pickem-recommendations-table-wrap {
  height: auto;
  max-height: none;
  overflow-x: auto;
  overflow-y: hidden;
}

.pickem-actionable-game {
  border-left: .25rem solid var(--pigskin-field) !important;
}

.pickem-informational-game {
  border-left: .25rem solid var(--bs-secondary) !important;
}

/* Outcome grading intentionally overrides the current-recommendation border, while
   the selected-team highlight remains available as a separate historical cue. */
.pickem-result-correct {
  border-left: .35rem solid #198754 !important;
  background-color: rgba(25, 135, 84, .08) !important;
}

.pickem-result-incorrect {
  border-left: .35rem solid #b02a37 !important;
  background-color: rgba(176, 42, 55, .08) !important;
}

.pickem-result-neutral {
  border-left: .35rem solid #6c757d !important;
  background-color: rgba(108, 117, 125, .08) !important;
}

.pickem-recommendations-table tr.pickem-result-correct > * {
  background-color: rgba(25, 135, 84, .08);
}

.pickem-recommendations-table tr.pickem-result-incorrect > * {
  background-color: rgba(176, 42, 55, .08);
}

.pickem-recommendations-table tr.pickem-result-neutral > * {
  background-color: rgba(108, 117, 125, .08);
}

.pickem-recommendations-table tr.pickem-result-correct > :first-child,
.pickem-recommendations-table tr.pickem-result-incorrect > :first-child,
.pickem-recommendations-table tr.pickem-result-neutral > :first-child {
  border-left-width: .35rem;
  border-left-style: solid;
}

.pickem-recommendations-table tr.pickem-result-correct > :first-child {
  border-left-color: #198754;
}

.pickem-recommendations-table tr.pickem-result-incorrect > :first-child {
  border-left-color: #b02a37;
}

.pickem-recommendations-table tr.pickem-result-neutral > :first-child {
  border-left-color: #6c757d;
}

.pickem-prediction-result {
  margin-bottom: .75rem;
  padding: .65rem .75rem;
  border-left: .3rem solid currentColor;
  border-radius: .25rem;
  overflow-wrap: anywhere;
}

/* Saved prediction comparisons are compact data tables; score alignment is never
   conveyed by color and remains readable in the mobile card layout. */
.pickem-saved-score-comparison {
  min-width: 16rem;
  font-variant-numeric: tabular-nums;
}

.pickem-saved-score-table th,
.pickem-saved-score-table td {
  vertical-align: middle;
}

.pickem-prediction-result-correct {
  color: #0a5130;
  background-color: #d1e7dd;
}

.pickem-prediction-result-incorrect {
  color: #842029;
  background-color: #f8d7da;
}

.pickem-prediction-result-neutral {
  color: #41464b;
  background-color: #e9ecef;
}

.pickem-result-summary {
  padding: .75rem;
  border: 1px solid var(--pigskin-border);
  border-radius: .5rem;
  background: var(--pigskin-surface);
}

.pickem-result-summary-item {
  height: 100%;
  padding: .5rem;
  border-radius: .35rem;
  background: rgba(108, 117, 125, .08);
}

.pickem-result-summary-correct {
  color: #0a5130;
  background: #d1e7dd;
}

.pickem-result-summary-incorrect {
  color: #842029;
  background: #f8d7da;
}

.pickem-result-score {
  padding: .45rem .7rem;
  color: #0a5130;
  border: 1px solid #75b798;
  border-radius: .35rem;
  background: #d1e7dd;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}

.pickem-recorded-pick {
  border-top: 1px solid var(--bs-border-color);
  padding-top: .75rem;
}

.pickem-recorded-pick-select,
.pickem-recorded-pick-action {
  min-height: 44px;
}

.pickem-recorded-pick .alert form {
  margin: 0;
}

.pickem-picked-team {
  padding: .1rem .35rem;
  border-radius: .3rem;
  background: rgba(23, 96, 75, .12);
  color: #0d4f3e;
  font-weight: 700;
}

.pickem-recommendation-legend {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: #0d4f3e;
}

.pickem-recommendation-legend-swatch {
  width: 1.35rem;
  height: .8rem;
  border-radius: .25rem;
  background: rgba(23, 96, 75, .18);
  border: 1px solid #0d4f3e;
}

/* Evidence grades use one ordered, accessible good-to-bad scale. The visible
   A-D/No grade labels remain the primary meaning; color is supporting context. */
.pickem-grade-a {
  color: #0a3622;
  background-color: #d1e7dd;
  border: 1px solid #75b798;
}

.pickem-grade-b {
  color: #385000;
  background-color: #e7f1c2;
  border: 1px solid #9fbe58;
}

.pickem-grade-c {
  color: #664d03;
  background-color: #fff3cd;
  border: 1px solid #ffda6a;
}

.pickem-grade-d {
  color: #7a3300;
  background-color: #ffe1c2;
  border: 1px solid #e89a52;
}

.pickem-grade-insufficient {
  color: #58151c;
  background-color: #f8d7da;
  border: 1px solid #ea868f;
}

.pickem-why-button {
  min-height: 44px;
}

.pickem-recommendation-modal .modal-header {
  align-items: flex-start;
}

.pickem-decision-summary {
  border-left: .25rem solid var(--pigskin-field);
  background: rgba(23, 96, 75, .08);
}

.pickem-recommendation-modal .modal-body > .pt-2 {
  padding-top: 0 !important;
}

.pickem-evidence-details summary {
  min-height: 44px;
  padding: .625rem .25rem;
  color: var(--bs-primary);
  cursor: pointer;
  font-size: .875rem;
  font-weight: 600;
}

.pickem-evidence-details summary:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 .25rem rgba(200, 155, 60, .45);
}

.pickem-book-lines-details summary {
  min-height: 44px;
  padding: .625rem .25rem;
  color: var(--bs-primary);
  cursor: pointer;
  font-size: .875rem;
  font-weight: 600;
}

.pickem-book-lines-details summary:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 .25rem rgba(200, 155, 60, .45);
}

.pickem-book-lines-table-wrap {
  max-width: 100%;
}

.pickem-book-lines-table {
  min-width: 38rem;
  font-variant-numeric: tabular-nums;
}

.pickem-book-lines-table th,
.pickem-book-lines-table td {
  vertical-align: middle;
  white-space: nowrap;
}

.pickem-factor-status {
  display: inline-block;
  padding: .1rem .35rem;
  border-radius: .25rem;
  font-size: .75rem;
  font-weight: 700;
}

.pickem-factor-supported {
  background: rgba(25, 135, 84, .15);
  color: #0a5130;
}

.pickem-factor-neutral {
  background: rgba(108, 117, 125, .15);
  color: #495057;
}

.pickem-factor-invalid {
  background: rgba(220, 53, 69, .15);
  color: #842029;
}

.pickem-analysis-empty {
  padding: 1rem;
  border-left: .25rem solid var(--bs-secondary);
  background: rgba(109, 98, 85, .08);
}

.pickem-analysis-metadata dt {
  color: var(--bs-secondary-color);
  font-weight: 600;
}

.pickem-provider-readiness .list-group-item {
  background: var(--pigskin-surface);
}

.pickem-analysis-refresh-button {
  min-height: 44px;
  white-space: nowrap;
}

/* Learning cards stay in normal document flow so long source messages never create nested scrollbars. */
.pickem-learning-card {
  height: auto;
  max-height: none;
  overflow: visible;
  border-color: var(--pigskin-border);
}

.pickem-learning-action {
  min-height: 44px;
}

/* Elo history is a native SVG with an exact HTML table alternative. Line pattern
   and marker shape distinguish teams in addition to their high-contrast colors. */
.pickem-elo-chart-wrap {
  position: relative;
  overflow-x: auto;
  border: 1px solid var(--pigskin-border);
  border-radius: .5rem;
  background: #fff;
}

.pickem-elo-chart-wrap:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 .25rem rgba(200, 155, 60, .45);
}

.pickem-elo-chart {
  display: block;
  min-width: 44rem;
  width: 100%;
  height: auto;
}

.pickem-elo-grid { stroke: #d7cbb4; stroke-width: 1; }
.pickem-elo-axis { stroke: #495057; stroke-width: 1.2; }
.pickem-elo-baseline { stroke: #dc3545; stroke-width: 2.5; }
.pickem-elo-axis-label { fill: #495057; font-size: 11px; }
.pickem-elo-series { fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.pickem-elo-marker { fill: currentColor; stroke: #fff; stroke-width: 1.5; pointer-events: none; }
.pickem-elo-point-hit { fill: transparent; stroke: transparent; cursor: pointer; }
.pickem-elo-point-hit:focus { outline: none; stroke: #212529; stroke-width: 1.5; }
.pickem-elo-series.is-dimmed, .pickem-elo-marker.is-dimmed { opacity: .18; }
.pickem-elo-series.is-active { stroke-width: 4.5; opacity: 1; }
.pickem-elo-marker.is-active { stroke: #212529; stroke-width: 2; opacity: 1; }
.pickem-elo-series-0, .pickem-elo-series-16 { color: #005a9c; }
.pickem-elo-series-1, .pickem-elo-series-17 { color: #8a2d00; }
.pickem-elo-series-2, .pickem-elo-series-18 { color: #006b54; }
.pickem-elo-series-3, .pickem-elo-series-19 { color: #6b3a8e; }
.pickem-elo-series-4, .pickem-elo-series-20 { color: #8a5c00; }
.pickem-elo-series-5, .pickem-elo-series-21 { color: #9b1c31; }
.pickem-elo-series-6, .pickem-elo-series-22 { color: #176b87; }
.pickem-elo-series-7, .pickem-elo-series-23 { color: #5f4b8b; }
.pickem-elo-series-8, .pickem-elo-series-24 { color: #7a3e00; }
.pickem-elo-series-9, .pickem-elo-series-25 { color: #3f6b00; }
.pickem-elo-series-10, .pickem-elo-series-26 { color: #00708a; }
.pickem-elo-series-11, .pickem-elo-series-27 { color: #7c3a73; }
.pickem-elo-series-12, .pickem-elo-series-28 { color: #4f5d00; }
.pickem-elo-series-13, .pickem-elo-series-29 { color: #3c5a99; }
.pickem-elo-series-14, .pickem-elo-series-30 { color: #8b3f5f; }
.pickem-elo-series-15, .pickem-elo-series-31 { color: #3e6b5b; }
path.pickem-elo-series-1, path.pickem-elo-series-7, path.pickem-elo-series-13, path.pickem-elo-series-19, path.pickem-elo-series-25, path.pickem-elo-series-31 { stroke-dasharray: 12 6; }
path.pickem-elo-series-2, path.pickem-elo-series-8, path.pickem-elo-series-14, path.pickem-elo-series-20, path.pickem-elo-series-26 { stroke-dasharray: 5 4; }
path.pickem-elo-series-3, path.pickem-elo-series-9, path.pickem-elo-series-15, path.pickem-elo-series-21, path.pickem-elo-series-27 { stroke-dasharray: 2 5; }
path.pickem-elo-series-4, path.pickem-elo-series-10, path.pickem-elo-series-16, path.pickem-elo-series-22, path.pickem-elo-series-28 { stroke-dasharray: 10 4 2 4; }
path.pickem-elo-series-5, path.pickem-elo-series-11, path.pickem-elo-series-17, path.pickem-elo-series-23, path.pickem-elo-series-29 { stroke-dasharray: 14 4 2 4; }
.pickem-elo-tooltip { position: absolute; z-index: 2; max-width: min(28rem, calc(100% - 1rem)); padding: .45rem .6rem; border-radius: .25rem; background: #212529; color: #fff; font-size: .8125rem; line-height: 1.35; box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .25); pointer-events: none; }

.pickem-elo-selector-table { font-variant-numeric: tabular-nums; min-width: 50rem; }
.pickem-elo-sort { color: inherit; font-weight: inherit; text-decoration: none; white-space: nowrap; }
.pickem-elo-sort:hover, .pickem-elo-sort:focus-visible { color: var(--bs-primary); text-decoration: underline; }
.pickem-elo-selector-table th[aria-sort="ascending"] .pickem-elo-sort::after { content: " ↑"; }
.pickem-elo-selector-table th[aria-sort="descending"] .pickem-elo-sort::after { content: " ↓"; }

/* Historical game Elo scatter uses Canvas for dense point sets while retaining
   complete server-rendered tables for readers and keyboard users. */
.pickem-elo-scatter-wrap {
  position: relative;
  overflow-x: auto;
  border: 1px solid var(--pigskin-border);
  border-radius: .5rem;
  background: #fff;
}

.pickem-elo-scatter-canvas {
  display: block;
  min-width: 44rem;
  max-width: none;
}

.pickem-elo-scatter-mode-toggle > .btn {
  min-height: 44px;
}

.pickem-elo-scatter-quadrants,
.pickem-elo-scatter-density-legend,
.pickem-elo-scatter-points-legend {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.25rem;
  color: var(--bs-secondary-color);
  font-size: .875rem;
}

.pickem-elo-scatter-quadrants > span,
.pickem-elo-scatter-density-legend > span,
.pickem-elo-scatter-points-legend > span {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}

.pickem-elo-scatter-key {
  padding: .875rem 1rem;
  border-left: .25rem solid var(--pigskin-brass);
  background: #f8f9fa;
}

.pickem-elo-scatter-density-legend i {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  border: 1px solid rgba(23, 63, 53, .18);
}

.pickem-elo-scatter-density-1 { background: #dceefb; }
.pickem-elo-scatter-density-2 { background: #b9dcf2; }
.pickem-elo-scatter-density-3 { background: #84bedf; }
.pickem-elo-scatter-density-4 { background: #4c98c4; }
.pickem-elo-scatter-density-5 { background: #246b9a; }
.pickem-elo-scatter-density-6 { background: #0e4269; }

.pickem-elo-scatter-legend-mark {
  display: inline-block;
  width: .85rem;
  height: .85rem;
  flex: 0 0 auto;
}

.pickem-elo-scatter-legend-home-win {
  border-radius: 50%;
  background: #075d9d;
  border: 1px solid #003e6b;
}

.pickem-elo-scatter-legend-away-win {
  background: #9d4322;
  border: 1px solid #743017;
  transform: rotate(45deg) scale(.78);
}

.pickem-elo-scatter-legend-tied {
  border: 2px solid #495057;
  background: #fff;
}

.pickem-elo-scatter-tooltip {
  position: absolute;
  z-index: 2;
  max-width: min(24rem, calc(100% - 1rem));
  padding: .55rem .7rem;
  border-radius: .3rem;
  background: #212529;
  color: #fff;
  font-size: .8125rem;
  line-height: 1.4;
  white-space: pre-line;
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .25);
  pointer-events: none;
}

.pickem-elo-scatter-details summary {
  min-height: 44px;
  cursor: pointer;
}

.pickem-elo-scatter-details summary:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 .25rem rgba(200, 155, 60, .45);
}

.pickem-elo-scatter-table {
  min-width: 68rem;
  font-variant-numeric: tabular-nums;
}

.pickem-elo-gap-wrap {
  overflow-x: auto;
  border: 1px solid var(--pigskin-border);
  border-radius: .5rem;
  background: #fff;
}

.pickem-elo-gap-canvas {
  display: block;
  min-width: 44rem;
  max-width: none;
}

.pickem-elo-gap-table { min-width: 34rem; font-variant-numeric: tabular-nums; }

@media (max-width: 575.98px) {
  .pickem-elo-scatter-mode-toggle { display: flex; width: 100%; }
  .pickem-elo-scatter-mode-toggle > .btn { flex: 1 1 50%; }
}

@media (max-width: 575.98px) {
  .pickem-upload-action {
    width: 100%;
  }

  .pickem-analysis-refresh-button {
    width: 100%;
  }

  .pickem-learning-action {
    width: 100%;
  }
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

/* Pigskin Workbench brand tokens. Existing feature styles continue to use Bootstrap's semantics. */
:root {
  --pigskin-navy: #173f35;
  --pigskin-deep: #102d26;
  --pigskin-canvas: #f5e9cf;
  --pigskin-surface: #ffffff;
  --pigskin-ink: #171a18;
  --pigskin-leather: #9d4322;
  --pigskin-leather-hover: #743017;
  --pigskin-brass: #c89b3c;
  --pigskin-field: #17604b;
  --pigskin-border: #d7cbb4;
  --bs-primary: var(--pigskin-navy);
  --bs-primary-rgb: 23, 63, 53;
  --bs-secondary: #6d6255;
  --bs-secondary-rgb: 109, 98, 85;
  --bs-body-bg: var(--pigskin-canvas);
  --bs-body-color: var(--pigskin-ink);
  --bs-border-color: var(--pigskin-border);
  --bs-link-color: var(--pigskin-leather);
  --bs-link-hover-color: var(--pigskin-leather-hover);
  --bs-focus-ring-color: rgba(200, 155, 60, .55);
}

body {
  background:
    linear-gradient(rgba(8, 34, 25, .72), rgba(8, 34, 25, .82)),
    url("../images/auth/football-field-yard-lines.webp") center / cover fixed no-repeat;
  color: var(--pigskin-ink);
}

/* Page-level headings sit directly on the field image. Keep their contrast
   separate from cards, which intentionally use dark ink on a light surface. */
.app-shell main > h1,
.app-shell main > header h1,
.app-shell main > .d-flex:first-child h1,
.app-shell main > .row:first-child header h1,
.app-shell main > [data-player-details-content] > .row:first-of-type header h1 {
  color: #fff;
  text-shadow: 0 1px 3px rgba(2, 15, 10, .72);
}

.app-shell main > header .page-eyebrow,
.app-shell main > .d-flex:first-child .page-eyebrow,
.app-shell main > .row:first-child header .page-eyebrow,
.app-shell main > [data-player-details-content] > .row:first-of-type header .page-eyebrow {
  color: #f4cd78;
  text-shadow: 0 1px 2px rgba(2, 15, 10, .8);
}

.app-shell main > header .text-secondary,
.app-shell main > .d-flex:first-child .text-secondary,
.app-shell main > .row:first-child header .text-secondary,
.app-shell main > [data-player-details-content] > .row:first-of-type header .text-secondary {
  color: rgba(255, 255, 255, .86) !important;
  text-shadow: 0 1px 2px rgba(2, 15, 10, .75);
}

.app-shell main > nav .breadcrumb-item,
.app-shell main > nav .breadcrumb-item a,
.app-shell main > [data-player-details-content] > nav .breadcrumb-item,
.app-shell main > [data-player-details-content] > nav .breadcrumb-item a {
  color: rgba(255, 255, 255, .84);
}

.app-shell main > nav .breadcrumb-item.active,
.app-shell main > [data-player-details-content] > nav .breadcrumb-item.active {
  color: #fff;
}

.min-w-0 {
  min-width: 0;
}

.card {
  --bs-card-bg: var(--pigskin-surface);
  background-color: var(--pigskin-surface);
}

/* The field image is the page canvas. Parchment remains a supporting token,
   never an interactive or data surface. */
.form-control,
.form-select {
  background-color: var(--pigskin-surface);
}

.form-control:disabled,
.form-select:disabled {
  background-color: #eef1ef;
}

.card .table {
  --bs-table-bg: var(--pigskin-surface);
  --bs-table-striped-bg: #f8faf9;
  --bs-table-hover-bg: #f2f7f4;
}

.modal-content,
.dropdown-menu,
.offcanvas,
.accordion-item,
.page-link {
  background-color: var(--pigskin-surface);
}

.card > .card-header {
  border-bottom-color: var(--pigskin-border);
  background-color: #eef3ef;
  color: var(--pigskin-navy);
}

.card .list-group-item {
  background-color: var(--pigskin-surface);
}

.app-navbar {
  border-color: rgba(229, 169, 59, .35) !important;
  background: var(--pigskin-deep);
  box-shadow: 0 .25rem .9rem rgba(7, 21, 33, .22) !important;
}

.app-wordmark {
  display: inline-flex;
  align-items: center;
  gap: .625rem;
  min-height: 44px;
  margin-right: 1rem;
  color: var(--pigskin-surface) !important;
  text-decoration: none;
}

.app-wordmark img {
  flex: 0 0 auto;
}

.app-wordmark-name,
.app-wordmark-tagline {
  display: block;
  line-height: 1.05;
}

.app-wordmark-name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -.015em;
  white-space: nowrap;
}

.app-wordmark-tagline {
  margin-top: .18rem;
  color: rgba(247, 243, 235, .72);
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.app-navbar .nav-link:hover,
.app-navbar .nav-link:focus,
.app-navbar .nav-link.active {
  color: var(--pigskin-brass);
}

.app-footer {
  border-color: rgba(229, 169, 59, .35) !important;
  background: var(--pigskin-deep);
  color: rgba(255, 255, 255, .78) !important;
}

.app-footer a {
  color: rgba(255, 255, 255, .82);
}

.app-footer a:hover,
.app-footer a:focus {
  color: var(--pigskin-brass);
}

.privacy-card {
  max-width: 62rem;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 1rem 2.5rem rgba(2, 15, 10, .34);
}

.privacy-card section + section {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--pigskin-border);
}

.privacy-card h2 {
  color: var(--pigskin-navy);
}

.btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--pigskin-leather);
  --bs-btn-border-color: var(--pigskin-leather);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--pigskin-leather-hover);
  --bs-btn-hover-border-color: var(--pigskin-leather-hover);
  --bs-btn-focus-shadow-rgb: 185, 109, 66;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--pigskin-leather-hover);
  --bs-btn-active-border-color: var(--pigskin-leather-hover);
  --bs-btn-disabled-bg: var(--pigskin-leather);
  --bs-btn-disabled-border-color: var(--pigskin-leather);
}

.btn-outline-primary {
  --bs-btn-color: var(--pigskin-leather);
  --bs-btn-border-color: var(--pigskin-leather);
  --bs-btn-hover-bg: var(--pigskin-leather);
  --bs-btn-hover-border-color: var(--pigskin-leather);
  --bs-btn-active-bg: var(--pigskin-leather-hover);
  --bs-btn-active-border-color: var(--pigskin-leather-hover);
}

/* Identity administration */
.admin-subnav {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.admin-action,
.admin-control,
.admin-subnav .btn,
.admin-table .btn,
.admin-user-card .btn {
  min-height: 44px;
}

.admin-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.admin-card-header {
  background: linear-gradient(135deg, rgba(225, 232, 214, .92), rgba(250, 247, 238, .96));
  border-bottom-color: rgba(128, 96, 45, .22);
}

.admin-table > :not(caption) > * > * {
  padding: 1rem;
}

.admin-user-card {
  background: #fff;
  border-color: rgba(128, 96, 45, .24) !important;
}

.btn:focus-visible,
.form-control:focus,
.form-select:focus,
.form-check-input:focus {
  box-shadow: 0 0 0 .25rem rgba(200, 155, 60, .45);
}

.page-eyebrow {
  color: var(--pigskin-field);
}

.workbench-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(1.5rem, 4vw, 3.25rem);
  border: 1px solid var(--pigskin-border);
  border-radius: 1rem;
  background: var(--pigskin-surface);
  box-shadow: 0 .4rem 1.25rem rgba(7, 21, 33, .08);
}

.workbench-hero::after {
  position: absolute;
  inset: auto -2rem -5.5rem auto;
  width: 15rem;
  height: 15rem;
  border: 2px solid rgba(229, 169, 59, .34);
  border-radius: 50%;
  box-shadow: inset 0 0 0 2.25rem rgba(16, 35, 63, .035), inset 0 0 0 4.5rem rgba(16, 35, 63, .035);
  content: "";
  pointer-events: none;
}

.workbench-hero > .row {
  position: relative;
  z-index: 1;
}

.workbench-eyebrow,
.workbench-feature-kicker {
  color: var(--pigskin-leather);
}

.workbench-primary-action {
  min-height: 44px;
  font-weight: 700;
}

.workbench-playbook {
  padding: 1.25rem;
  border: 1px solid rgba(200, 155, 60, .55);
  border-radius: .875rem;
  background: var(--pigskin-deep);
  color: var(--pigskin-canvas);
  box-shadow: .5rem .5rem 0 rgba(200, 155, 60, .22);
}

.workbench-playbook-heading {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(247, 243, 235, .24);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.workbench-steps {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
  padding-left: 0;
  list-style: none;
}

.workbench-steps li {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  gap: .75rem;
  align-items: start;
}

.workbench-steps strong,
.workbench-steps small {
  display: block;
}

.workbench-steps strong {
  color: #fff;
  font-size: .95rem;
}

.workbench-steps small {
  margin-top: .15rem;
  color: rgba(247, 243, 235, .74);
  font-size: .8rem;
  line-height: 1.4;
}

.workbench-step-number {
  color: var(--pigskin-brass);
  font-size: .75rem;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  letter-spacing: .06em;
}

.workbench-feature {
  border: 1px solid var(--pigskin-border);
  border-top: .25rem solid var(--pigskin-brass);
  box-shadow: none;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.workbench-feature:hover {
  border-color: rgba(159, 63, 24, .55);
  box-shadow: 0 .4rem 1rem rgba(7, 21, 33, .08);
  transform: translateY(-2px);
}

.workbench-feature-kicker {
  margin-bottom: .5rem;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

@media (max-width: 575.98px) {
  .app-wordmark-tagline {
    display: none;
  }

  .workbench-hero {
    padding: 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .workbench-feature {
    transition: none;
  }

  .workbench-feature:hover {
    transform: none;
  }
}

/* Identity account surfaces keep the Workbench shell while placing focused tasks
   over a decorative, non-interactive football field. */
.auth-page {
  position: relative;
  display: grid;
  flex: 1 0 auto;
  overflow: hidden;
  isolation: isolate;
  background: #143e2d url("../images/auth/football-field-yard-lines.webp") center / cover no-repeat;
}

.auth-page-scrim {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 31, 21, .79), rgba(6, 31, 21, .51) 48%, rgba(6, 31, 21, .7)),
    linear-gradient(180deg, rgba(5, 25, 18, .12), rgba(5, 25, 18, .48));
}

.auth-page-content {
  display: grid;
  align-items: center;
  position: relative;
  z-index: 0;
}

.auth-card {
  overflow: hidden;
  border-top: .3rem solid var(--pigskin-brass) !important;
  border-radius: .9rem;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 1rem 2.5rem rgba(2, 15, 10, .42) !important;
}

.auth-card-mark {
  flex: 0 0 auto;
}

.auth-card-intro {
  max-width: 34rem;
  color: #52645d;
  line-height: 1.55;
}

.auth-card-footer {
  border-top-color: #e1e6e2;
  background: #f6f8f6;
}

.auth-form .form-label {
  color: var(--pigskin-navy);
  font-size: .9rem;
  font-weight: 700;
}

.auth-form .form-control,
.auth-submit {
  min-height: 44px;
}

.auth-form .form-control {
  border-color: #b6c6be;
}

.auth-form .form-control:hover {
  border-color: #78988a;
}

.auth-form .form-check-input {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: .18rem;
}

.auth-form .field-validation-error {
  display: block;
  margin-top: .3rem;
  font-size: .875rem;
}

.auth-form .validation-summary-valid {
  display: none;
}

.auth-submit {
  font-weight: 700;
}

.auth-inline-link {
  font-size: .875rem;
  font-weight: 600;
  text-align: right;
}

@media (max-width: 575.98px) {
  .auth-card {
    border-radius: .75rem;
  }
}

/* Give this dense comparison page the available width without changing other pages. */
.pickem-details-shell {
  max-width: 1800px;
}

.pickem-details-shell .pickem-recommendations-table {
  width: 100%;
  table-layout: fixed;
}

.pickem-details-shell .pickem-recommendations-table > thead > tr > th:nth-child(1) { width: 8%; }
.pickem-details-shell .pickem-recommendations-table > thead > tr > th:nth-child(2) { width: 29%; }
.pickem-details-shell .pickem-recommendations-table > thead > tr > th:nth-child(3) { width: 32%; }
.pickem-details-shell .pickem-recommendations-table > thead > tr > th:nth-child(4) { width: 15%; }
.pickem-details-shell .pickem-recommendations-table > thead > tr > th:nth-child(5) { width: 16%; }

.pickem-details-shell .pickem-recommendations-table :is(th, td) {
  padding: .65rem .6rem;
  overflow-wrap: anywhere;
}

.pickem-details-shell .pickem-score-team-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  padding: .3rem .4rem;
  margin-bottom: .2rem;
  font-weight: normal;
}

.pickem-details-shell .pickem-score-number {
  flex-shrink: 0;
  font-size: 1.1rem;
  font-variant-numeric: tabular-nums;
}

.pickem-details-shell :is(.pickem-recorded-pick-field, .pickem-saved-score-comparison) {
  min-width: 0;
}

.pickem-details-shell .pickem-recorded-pick {
  padding-top: .4rem;
}

.pickem-details-shell .pickem-storage-details summary {
  padding: .25rem 0;
}

.pickem-details-shell .pickem-prediction-result {
  padding: .4rem .5rem;
  margin: .4rem 0;
}

.pickem-details-shell .pickem-recorded-pick [data-pickem-save-feedback]:empty {
  margin: 0 !important;
}

@media (max-width: 575.98px) {
  .pickem-details-shell .pickem-recorded-pick-form {
    flex-wrap: wrap;
  }

  .pickem-details-shell .pickem-recorded-pick-field {
    flex-basis: 100%;
  }
}

/* Shared scientific chart geometry; only the chart scrolls at tablet widths. */
.pickem-ladder-chart-scroll { overflow-x: auto; }
[data-ladder-price] .modal-body, [data-ladder-modal-url] .modal-body { overflow-x: hidden; }
.pickem-ladder-scientific-chart { display: block; width: 100%; min-width: 840px; height: auto; }
.pickem-ladder-axis-title { fill: var(--bs-body-color); font-size: 11px; }
.pickem-ladder-tick-label { fill: var(--bs-body-color); font-size: 10px; font-variant-numeric: tabular-nums; }
.pickem-ladder-axis-line { fill: none; stroke: var(--bs-body-color); stroke-width: .8; }
.pickem-ladder-grid-major { stroke: var(--bs-border-color); stroke-width: .7; }
.pickem-ladder-grid-minor { stroke: var(--bs-border-color); stroke-width: .4; stroke-opacity: .5; }
.pickem-ladder-reference-half { stroke: var(--bs-body-color); stroke-width: 1; stroke-dasharray: 6 4; }
.pickem-ladder-reference-cbs { stroke: var(--bs-body-color); stroke-width: 1; stroke-dasharray: 2 4; }
.pickem-ladder-legend-half, .pickem-ladder-legend-cbs, .pickem-ladder-legend-fit { display: inline-block; width: 24px; margin-right: 6px; vertical-align: middle; border-top: 1px dashed var(--bs-body-color); }
.pickem-ladder-legend-cbs { border-top-style: dotted; }
.pickem-ladder-legend-fit { border-top-color: var(--bs-warning-text-emphasis); }
