/*
fa-solid fa-layer-group icon used in stacking actions. 
fa-solid fa-code-compare icon used in comparison charts.
fa fa-search icon used for opening player cards / team card modals. 
fa-solid fa-star used for slate plan favorites. 
*/

/*
 * Design Token: Z-Index Scale
 * Centralized stacking order for overlays, modals, menus, and tooltips.
 */

:root {
  --ssp-z-0: 0;
  --ssp-z-10: 10;
  --ssp-z-20: 20;
  --ssp-z-30: 30;
  --ssp-z-40: 40;
  --ssp-z-50: 50;

  /* Image tokens */
  --ssp-img-headshot-size: 120px;
  --ssp-img-headshot-size-compact: 70px;
  --ssp-img-logo-size: 36px;
  --ssp-img-logo-badge-size: 48px;
  --ssp-img-sport-icon-size: 20px;
  --ssp-img-fallback: linear-gradient(135deg, rgba(29, 225, 209, 0.32), rgba(5, 17, 24, 0.92));
}

/* =========================================================
   Image & Logo System
   Shared sizing, aspect-ratio, and fallback rules for media assets.
   ========================================================= */

.ssp-img {
  display: block;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  image-rendering: -webkit-optimize-contrast;
  backface-visibility: hidden;
  background-color: rgba(6, 20, 32, 0.7);
  background-image: var(--ssp-img-fallback, none);
  background-size: cover;
  background-position: center;
  border-radius: 12px;
}

.ssp-img--headshot,
#playerCardHeader img,
.player-header img {
  display: block;
  width: var(--ssp-img-headshot-size, 120px);
  height: var(--ssp-img-headshot-size, 120px);
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
  border: 2px solid rgba(29, 225, 209, 0.4);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
  background-color: rgba(6, 20, 32, 0.7);
  background-image: var(--ssp-img-fallback, none);
  background-size: cover;
  background-position: center;
  image-rendering: -webkit-optimize-contrast;
}

#playerCardHeader img { --ssp-img-headshot-size: var(--ssp-img-headshot-size-compact, 70px); }

.ssp-logo-badge,
.team-logo-wrap,
.ai-pick-card__team-logo {
  --ssp-logo-badge-size: var(--ssp-img-logo-badge-size, 48px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: var(--ssp-logo-badge-size);
  height: var(--ssp-logo-badge-size);
  padding: 6px;
  background: rgba(6, 20, 32, 0.9);
  border-radius: 50%;
  border: 1px solid rgba(29, 225, 209, 0.25);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.ssp-team-logo,
.team-logo,
.team-logo-wrap img,
.ai-pick-card__team-logo img {
  --ssp-logo-size: var(--ssp-img-logo-size, 36px);
  display: block;
  width: var(--ssp-logo-size);
  height: var(--ssp-logo-size);
  max-width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: rgba(6, 20, 32, 0.92);
  background-image: var(--ssp-img-fallback, none);
  background-size: cover;
  background-position: center;
  border-radius: 50%;
  image-rendering: -webkit-optimize-contrast;
  filter: drop-shadow(0 0 6px rgba(0, 0, 0, 0.35));
}

.ssp-img--icon,
.ssp-sport-icon,
.ai-pick-card__odds-logo {
  height: var(--ssp-img-sport-icon-size, 20px);
  width: auto;
  object-fit: contain;
  display: block;
  image-rendering: -webkit-optimize-contrast;
  filter: drop-shadow(0 0 4px rgba(0, 0, 0, 0.35));
}

.ssp-img--fallback {
  background-image: var(--ssp-img-fallback);
  background-size: cover;
  background-position: center;
  color: #9fb7cf;
}

/*
 * SharpShotPicks Ranking Page Layout
 * Core layout wrapper for all ranking pages.
 */

.ssp-preload {
  opacity: 0;
  pointer-events: none;
}

.ssp-preload.ssp-loaded {
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.25s ease-in-out;
}

.ssp-ranking-page-layout {
  padding: 1px;
}

/*
 * SharpShotPicks Filter Wrapper
 * Unified shell for collapsible filter panels on ranking pages.
 * design of the top filter bar and its buttons, elements, etc across every ranking page 
 */
.ssp-filter-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: rgba(7, 19, 25, 0.95);
  border: 1px solid rgba(29, 225, 209, 0.28);
  border-radius: 18px;
  padding: clamp(16px, 1vw, 24px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.45);
  width: 100%;
}

.ssp-filter-panel-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ssp-filter-panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: flex-start;
}

.ssp-filter-panel-quick-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  flex: 1 1 320px;
}

.ssp-filter-panel-quick-controls input,
.ssp-filter-panel-quick-controls select {
  width: 100%;
  background-color: #0b141a;
  color: #ffffff;
  border: 1px solid #1f2d36;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.95rem;
  line-height: 1.2;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ssp-filter-panel-quick-controls input::placeholder {
  color: #9ab4bb;
}

.ssp-filter-panel-quick-controls input:focus,
.ssp-filter-panel-quick-controls select:focus {
  outline: none;
  border-color: rgba(29, 225, 209, 0.6);
  box-shadow: 0 0 0 2px rgba(29, 225, 209, 0.18);
}

.ssp-filter-panel-quick-search {
  flex: 1 1 240px;
  min-width: 200px;
}

/* =========================================================
   Snackbar
   Consistent toast-style notifications for inline feedback.
   ========================================================= */

.ssp-snackbar {
  --ssp-snackbar-bg: rgba(8, 24, 33, 0.96);
  --ssp-snackbar-color: #e8f6f8;
  --ssp-snackbar-border: rgba(29, 225, 209, 0.32);
  --ssp-snackbar-shadow: 0 14px 32px rgba(0, 0, 0, 0.55);
  --ssp-snackbar-min-width: 260px;

  visibility: hidden;
  min-width: var(--ssp-snackbar-min-width);
  max-width: min(440px, 90vw);
  background: var(--ssp-snackbar-bg);
  color: var(--ssp-snackbar-color);
  text-align: center;
  border-radius: 12px;
  padding: 16px 20px;
  position: fixed;
  z-index: var(--ssp-z-50, 50);
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  font-weight: 700;
  letter-spacing: 0.01em;
  border: 1px solid var(--ssp-snackbar-border);
  box-shadow: var(--ssp-snackbar-shadow);
  backdrop-filter: blur(4px);
}

.ssp-snackbar--visible {
  visibility: visible;
  animation: ssp-snackbar-fadein 0.4s ease, ssp-snackbar-fadeout 0.4s ease 2.6s;
}

@keyframes ssp-snackbar-fadein {
  from {
    bottom: 0;
    opacity: 0;
  }
  to {
    bottom: 30px;
    opacity: 1;
  }
}

@keyframes ssp-snackbar-fadeout {
  from {
    bottom: 30px;
    opacity: 1;
  }
  to {
    bottom: 0;
    opacity: 0;
  }
}

.ssp-filter-panel-ssp-filter-panel-report-view-selector {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ssp-filter-panel-quick-report {
  flex: 0 1 240px;
  min-width: 320px;
}

.ssp-active-filters-chip-display {
  margin-top: 8px;
}
.ssp-active-filters-chip-display {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 6px;
  min-height: 0;
}

.ssp-active-filters-chip-display:empty {
  display: none;
}

.ssp-filter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
  align-items: stretch;
  width: 100%;
}
.ssp-filter-wrapper.is-collapsed .ssp-filter-grid {
  display: none;
}

.ssp-filter-panel-filter-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(29, 225, 209, 0.22);
  background: linear-gradient(160deg, rgba(6, 20, 26, 0.95), rgba(3, 14, 20, 0.9));
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
  min-width: 0;
}
.ssp-filter-panel-filter-box--wide {
  grid-column: span 2;
}
.ssp-filter-panel-filter-box input[type='text']:focus,
.ssp-filter-panel-filter-box input[type='number']:focus,
.ssp-filter-panel-filter-box select:focus {
  outline: none;
  border-color: #1de1d1;
  box-shadow: 0 0 8px rgba(29, 225, 209, 0.35);
}
.ssp-filter-panel-filter-box input[type='text'],
.ssp-filter-panel-filter-box input[type='number'],
.ssp-filter-panel-filter-box select {
  background: #06131b;
  border: 1px solid rgba(29, 225, 209, 0.45);
  border-radius: 8px;
  color: #fff;
  padding: 8px 10px;
  font-size: 0.85rem;
  box-shadow: inset 0 0 0 rgba(0, 0, 0, 0);
  width: 100%;
}

.ssp-filter-box-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #9ab4bb;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 5px;
}

.ssp-filter-box-label i {
  color: #1de1d1;
  font-size: 0.9rem;
}

/*
 * SharpShotPicks Tab Set (`.ssp-tab`)
 * Reusable dark-theme tabs with teal indicator.
 */

.ssp-tab {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: linear-gradient(160deg, rgba(10, 14, 22, 0.9), rgba(14, 19, 27, 0.94));
  border: 1px solid rgba(29, 225, 209, 0.3);
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.45);
}

.ssp-tab__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  position: relative;
}

.ssp-tab__trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: #141a22;
  border: 1px solid rgba(29, 225, 209, 0.25);
  border-radius: 10px;
  color: #e6f7f5;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.ssp-tab__trigger:hover,
.ssp-tab__trigger:focus-visible {
  outline: none;
  border-color: rgba(29, 225, 209, 0.6);
  color: #ffffff;
  box-shadow: 0 6px 14px rgba(29, 225, 209, 0.18);
}

.ssp-tab__trigger[aria-selected="true"],
.ssp-tab__trigger.is-active {
  color: #0b1118;
  background: linear-gradient(115deg, rgba(29, 225, 209, 0.9), rgba(16, 148, 137, 0.95));
  border-color: rgba(29, 225, 209, 0.9);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(29, 225, 209, 0.65);
}

.ssp-tab__trigger[aria-selected="true"]::after,
.ssp-tab__trigger.is-active::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: -7px;
  height: 4px;
  background: linear-gradient(110deg, rgba(29, 225, 209, 0.9), rgba(98, 247, 225, 0.95));
  border-radius: 999px;
  box-shadow: 0 0 12px rgba(29, 225, 209, 0.45);
}

.ssp-tab__panel-group {
  position: relative;
  border: 1px solid rgba(29, 225, 209, 0.28);
  border-radius: 12px;
  background: linear-gradient(175deg, rgba(11, 16, 24, 0.95), rgba(9, 14, 21, 0.92));
  padding: 16px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02), 0 12px 24px rgba(0, 0, 0, 0.35);
}

.ssp-tab__panel {
  display: none;
  color: #e3eef0;
  line-height: 1.55;
}

.ssp-tab__panel.is-active,
.ssp-tab__panel[aria-hidden="false"] {
  display: block;
}

.ssp-tab__title {
  margin: 0 0 8px;
  font-size: 1.1rem;
  font-weight: 800;
  color: #c8f9f3;
  letter-spacing: 0.01em;
}

.ssp-tab__subtitle {
  margin: 0 0 10px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #9ab4bb;
}

.ssp-tab__body {
  margin: 0;
  font-size: 0.95rem;
  color: #dfe9eb;
}

/* SharpShotPicks Save and REmove Filter Reports / Custom Reports Buttons
*/

.ssp-save-filters-btn,
.ssp-delete-report-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid rgba(29, 225, 209, 0.45);
    background: rgba(6, 19, 27, 0.85);
    color: #1de1d1;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  }

.ssp-save-filters-btn {
    margin-top: 8px;
  }

.ssp-save-filters-btn:hover,
.ssp-save-filters-btn:focus-visible,
.ssp-delete-report-btn:hover,
.ssp-delete-report-btn:focus-visible {
    border-color: #1de1d1;
    background: rgba(13, 32, 42, 0.95);
    color: #ffffff;
    box-shadow: 0 0 12px rgba(29, 225, 209, 0.35);
    outline: none;
  }

.ssp-save-filters-btn i,
.ssp-delete-report-btn i {
    font-size: 0.8rem;
  }

.ssp-delete-report-btn {
    display: none;
    margin-left: 8px;
    background: rgba(220, 64, 80, 0.15);
    border-color: rgba(220, 64, 80, 0.45);
    color: #ff8a9e;
    width: 38px;
    height: 38px;
    padding: 0;
    justify-content: center;
    gap: 0;
  }

.ssp-delete-report-btn:hover,
.ssp-delete-report-btn:focus-visible {
    background: rgba(220, 64, 80, 0.25);
    border-color: rgba(255, 138, 158, 0.85);
    color: #fff;
  }

/*
 * SharpShotPicks Primary Buttons
 * Gradient teal buttons for calls-to-action across the dark theme.
 */
.ssp-button {
  align-items: center;
  background: linear-gradient(135deg, #0b2b32, #0e3e45 55%, var(--ssp-primary-teal));
  border: 0;
  border-radius: 10px;
  box-shadow: rgba(3, 16, 24, 0.5) 0 12px 28px -6px;
  box-sizing: border-box;
  color: #e9feff;
  cursor: pointer;
  display: inline-flex;
  font-family: 'Inter', 'Phantomsans', sans-serif;
  font-size: 16px;
  font-weight: 600;
  justify-content: center;
  line-height: 1.1;
  min-width: 140px;
  padding: 3px;
  text-decoration: none;
  text-transform: none;
  touch-action: manipulation;
  transition: transform 200ms ease, box-shadow 200ms ease, background 200ms ease;
  user-select: none;
  white-space: nowrap;
}

.ssp-button__inner {
  background: #050b12;
  border-radius: 8px;
  color: inherit;
  width: 100%;
  height: 100%;
  transition: background 200ms ease, color 200ms ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 6px 6px 6px 6px;
}

.ssp-button:hover,
.ssp-button:focus-visible {
  background: linear-gradient(135deg, #104f58, #0b2b32 50%, var(--ssp-primary-teal));
  box-shadow: rgba(3, 16, 24, 0.65) 0 16px 32px -4px, 0 0 0 3px rgba(var(--ssp-primary-teal-rgb), 0.22);
  outline: none;
  transform: translateY(-1px);
}

.ssp-button:hover .ssp-button__inner,
.ssp-button:focus-visible .ssp-button__inner {
  background: #0f1c24;
}

.ssp-button:active {
  transform: translateY(0);
  box-shadow: rgba(3, 16, 24, 0.4) 0 10px 20px -6px;
}

/*
 * SharpShotPicks Report Arrow Button
 * Compact arrow control used to cycle report views.
 */
.report-arrow-btn {
  width: 36px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid rgba(var(--ssp-primary-teal-rgb), 0.32);
  background: rgba(6, 20, 32, 0.9);
  color: var(--ssp-primary-teal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

/*
 * SharpShotPicks Favorite Button
 * Compact button used to toggle favorite status for Slate Planning.
 */
.ssp-slate-plan-favorite,
.favorite-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 8px;
  font-size: 16px;
  color: #9ab4bb;
  transition: all 0.2s ease;
}

.ssp-slate-plan-favorite:hover,
.favorite-btn:hover {
  color: var(--ssp-primary-teal);
  transform: scale(1.1);
}

.ssp-slate-plan-favorite.favorited,
.ssp-slate-plan-favorite.is-favorited,
.favorite-btn.favorited,
.favorite-btn.is-favorited {
  color: var(--ssp-primary-teal);
}

.ssp-slate-plan-favorite.favorited:hover,
.ssp-slate-plan-favorite.is-favorited:hover,
.favorite-btn.favorited:hover,
.favorite-btn.is-favorited:hover {
  color: #6ef3e7;
}

.ssp-slate-plan-favorite:disabled,
.favorite-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.report-arrow-btn:hover:not(:disabled),
.report-arrow-btn:focus-visible:not(:disabled) {
  border-color: var(--ssp-primary-teal);
  color: #ffffff;
  background: rgba(13, 32, 42, 0.95);
  outline: none;
  box-shadow: 0 0 10px rgba(var(--ssp-primary-teal-rgb), 0.32);
}

.report-arrow-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}


/*
 * SharpShotPicks Page Header
 * Unified header bar for all application pages.
 */
.ssp-page-header {
  border-bottom: 2px solid var(--ssp-primary-teal);
  padding: 2px 0;
  background: #0f1115;
}

.ssp-page-header__inner {
  margin: 0 auto;
  max-width: 1200px;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ssp-page-header__title,
.ssp-page-header__inner .page-title {
  color: var(--ssp-primary-teal);
  font-size: 22px;
  font-weight: 600;
  margin: 0;
}

.ssp-page-header__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.95rem;
  color: #9dd6ce;
}

/*
 * SharpShotPicks Range Slider
 * Unified teal slider for filters across all sports.
 */
.ssp-range-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 14px;
  border-radius: 999px;
  background: rgba(var(--ssp-primary-teal-rgb), 0.28);
  outline: none;
  cursor: pointer;
  touch-action: pan-x;
  transition: box-shadow 0.2s ease, background-color 0.2s ease;
}

.ssp-range-slider::-webkit-slider-runnable-track {
  height: 14px;
  border-radius: 999px;
  background: rgba(var(--ssp-primary-teal-rgb), 0.32);
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.4);
}

.ssp-range-slider::-moz-range-track {
  height: 14px;
  border-radius: 999px;
  background: rgba(var(--ssp-primary-teal-rgb), 0.32);
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.4);
}

.ssp-range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--ssp-primary-teal);
  border: 2px solid #031018;
  box-shadow: 0 0 0 4px rgba(var(--ssp-primary-teal-rgb), 0.28), 0 8px 16px rgba(0, 0, 0, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ssp-range-slider::-moz-range-thumb {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--ssp-primary-teal);
  border: 2px solid #031018;
  box-shadow: 0 0 0 4px rgba(var(--ssp-primary-teal-rgb), 0.28), 0 8px 16px rgba(0, 0, 0, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ssp-range-slider:focus-visible {
  box-shadow: 0 0 0 6px rgba(var(--ssp-primary-teal-rgb), 0.35);
}

.ssp-range-slider::-webkit-slider-thumb:focus-visible,
.ssp-range-slider::-moz-range-thumb:focus-visible {
  transform: scale(1.08);
  box-shadow: 0 0 0 5px rgba(var(--ssp-primary-teal-rgb), 0.45), 0 10px 18px rgba(0, 0, 0, 0.5);
}

.ssp-range-slider:active::-webkit-slider-thumb,
.ssp-range-slider:active::-moz-range-thumb {
  transform: scale(1.05);
}

.ssp-page-header__meta-item {
  display: flex;
  gap: 4px;
  align-items: baseline;
}

.ssp-page-header__meta-item strong {
  color: #ffffff;
  font-weight: 600;
}

/*
 * SSP Comparison Chart (Unified)
 * Centralized styling for comparison modals across sports.
 */
.ssp-comparison-chart .ssp-comparison-chart-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 24px;
  background: #061420;
  border-bottom: 1px solid rgba(29, 225, 209, 0.2);
}

.ssp-comparison-chart .ssp-comparison-chart-modal-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-size: 1.35rem;
  color: #ffffff;
}

.ssp-comparison-chart .ssp-comparison-chart-modal-title i {
  color: #1de1d1;
  font-size: 1.2rem;
}

.ssp-comparison-chart .ssp-comparison-chart-team {
  font-weight: 700;
  color: #1de1d1;
}

.ssp-comparison-chart .ssp-comparison-chart-line {
  font-weight: 700;
}

.ssp-comparison-chart .ssp-comparison-chart-title-suffix {
  font-weight: 400;
  font-size: 0.9rem;
  color: #9fb7cf;
}

.ssp-comparison-chart .ssp-comparison-chart-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ssp-comparison-chart .ssp-comparison-chart-modal-body {
  background: #0b1622;
  padding: 24px;
}

.ssp-comparison-chart .ssp-comparison-chart-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding: 12px 16px;
  background: rgba(6, 20, 32, 0.85);
  border: 1px solid rgba(29, 225, 209, 0.28);
  border-radius: 12px;
}

.ssp-comparison-chart .ssp-comparison-chart-likely-match-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.ssp-comparison-chart .ssp-comparison-chart-likely-match-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ssp-comparison-chart .ssp-comparison-chart-likely-match {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1de1d1;
}

.ssp-comparison-chart .ssp-comparison-chart-opponent-select-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.ssp-comparison-chart .ssp-comparison-chart-opponent-label {
  font-size: 0.95rem;
  color: #9fb7cf;
  font-weight: 500;
}

.ssp-comparison-chart .ssp-comparison-chart-toggle-btn,
.ssp-comparison-chart .ssp-comparison-chart-flip-btn {
  background: rgba(29, 225, 209, 0.12);
  border: 1px solid rgba(29, 225, 209, 0.45);
  border-radius: 8px;
  color: #1de1d1;
  font-weight: 600;
  padding: 8px 16px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ssp-comparison-chart .ssp-comparison-chart-toggle-btn {
  background: rgba(29, 225, 209, 0.15);
}

.ssp-comparison-chart .ssp-comparison-chart-toggle-btn:hover:not(:disabled),
.ssp-comparison-chart .ssp-comparison-chart-toggle-btn:focus-visible:not(:disabled),
.ssp-comparison-chart .ssp-comparison-chart-flip-btn:hover:not(:disabled),
.ssp-comparison-chart .ssp-comparison-chart-flip-btn:focus-visible:not(:disabled) {
  background: rgba(29, 225, 209, 0.3);
  color: #ffffff;
  outline: none;
  box-shadow: 0 0 10px rgba(29, 225, 209, 0.35);
}

.ssp-comparison-chart .ssp-comparison-chart-toggle-btn:disabled,
.ssp-comparison-chart .ssp-comparison-chart-flip-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  color: #5d738a;
  border-color: rgba(29, 225, 209, 0.2);
}

.ssp-comparison-chart .ssp-comparison-grid {
  margin-top: 12px;
  padding: 16px 20px;
  background: rgba(6, 20, 32, 0.85);
  border: 1px solid rgba(29, 225, 209, 0.28);
  border-radius: 12px;
}

.ssp-comparison-chart .ssp-comparison-grid__header,
.ssp-comparison-chart .ssp-comparison-grid__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto auto minmax(0, 1fr);
  grid-template-areas: 'home off vs def opponent';
  align-items: center;
  gap: 12px;
}

.ssp-comparison-chart .ssp-comparison-grid.is-flipped .ssp-comparison-grid__header,
.ssp-comparison-chart .ssp-comparison-grid.is-flipped .ssp-comparison-grid__row {
  grid-template-areas: 'opponent off vs def home';
}

.ssp-comparison-chart .ssp-comparison-grid__header {
  margin-bottom: 10px;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: #9fb7cf;
  font-weight: 600;
}

.ssp-comparison-chart .ssp-comparison-grid__body {
  display: flex;
  flex-direction: column;
}

.ssp-comparison-chart .ssp-comparison-grid__row {
  padding: 10px 0;
  border-top: 1px solid rgba(29, 225, 209, 0.15);
}

.ssp-comparison-chart .ssp-comparison-grid__row:first-child {
  border-top: none;
}

.ssp-comparison-chart .ssp-comparison-grid__cell,
.ssp-comparison-chart .ssp-comparison-grid__team-label,
.ssp-comparison-chart .ssp-comparison-grid__metric-label {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ssp-comparison-chart .ssp-comparison-grid__team-label {
  color: #9fb7cf;
  font-weight: 600;
}

.ssp-comparison-chart .ssp-comparison-grid__team-label--home,
.ssp-comparison-chart .ssp-comparison-grid__cell--home {
  grid-area: home;
  justify-content: flex-start;
  text-align: left;
}

.ssp-comparison-chart .ssp-comparison-grid__team-label--opponent,
.ssp-comparison-chart .ssp-comparison-grid__cell--opponent {
  grid-area: opponent;
  justify-content: flex-end;
  text-align: right;
}

.ssp-comparison-chart .ssp-comparison-grid__metric-label--off,
.ssp-comparison-chart .ssp-comparison-grid__metric--off {
  grid-area: off;
  justify-content: center;
  color: #9fb7cf;
  font-weight: 600;
}

.ssp-comparison-chart .ssp-comparison-grid__metric-label--def,
.ssp-comparison-chart .ssp-comparison-grid__metric--def {
  grid-area: def;
  justify-content: center;
  color: #9fb7cf;
  font-weight: 600;
}

.ssp-comparison-chart .ssp-comparison-grid__metric-divider,
.ssp-comparison-chart .ssp-comparison-grid__metric--divider {
  grid-area: vs;
  justify-content: center;
  color: #9fb7cf;
  font-weight: 600;
}

.ssp-comparison-chart .ssp-comparison-grid.is-flipped .ssp-comparison-grid__team-label--home,
.ssp-comparison-chart .ssp-comparison-grid.is-flipped .ssp-comparison-grid__cell--home {
  justify-content: flex-end;
  text-align: right;
}

.ssp-comparison-chart .ssp-comparison-grid.is-flipped .ssp-comparison-grid__team-label--opponent,
.ssp-comparison-chart .ssp-comparison-grid.is-flipped .ssp-comparison-grid__cell--opponent {
  justify-content: flex-start;
  text-align: left;
}

.ssp-comparison-chart .ssp-comparison-grid__value {
  font-size: 1.05rem;
  color: #ffffff;
}

.ssp-comparison-chart .ssp-comparison-grid__rank {
  display: inline-block;
  margin-left: 6px;
  font-size: 0.85rem;
  color: #9fb7cf;
}

.ssp-comparison-chart .ssp-comparison-grid__actions {
  margin-top: 14px;
  display: flex;
  justify-content: flex-end;
}

.ssp-comparison-chart .ssp-comparison-grid__cell.is-winner .ssp-comparison-grid__value {
  color: #1de1d1;
  font-weight: 700;
}

.ssp-comparison-chart .ssp-comparison-grid__cell.is-winner .ssp-comparison-grid__rank {
  color: #1de1d1;
}

.ssp-comparison-chart .ssp-comparison-grid__indicator {
  color: #1de1d1;
  font-size: 1rem;
}

.ssp-comparison-chart .ssp-comparison-chart-controls label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #9fb7cf;
  margin: 0;
}

.ssp-comparison-chart .ssp-comparison-chart-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 48px 24px;
  color: #9fb7cf;
}

.ssp-comparison-chart .ssp-comparison-chart-loading i {
  font-size: 2.5rem;
  color: #1de1d1;
}

.ssp-comparison-chart .ssp-comparison-chart-chart-container {
  background: rgba(11, 22, 34, 0.95);
  border: 1px solid rgba(29, 225, 209, 0.35);
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.45);
  min-height: 400px;
}

.ssp-comparison-chart .ssp-comparison-chart-chart {
  min-height: 400px;
}

.ssp-comparison-chart .ssp-comparison-chart-summary {
  margin-top: 18px;
}

.ssp-comparison-chart .ssp-comparison-chart-help-text {
  font-size: 0.9em;
  color: #9fb7cf;
  text-align: center;
  margin: 0;
}

.ssp-comparison-chart .ssp-comparison-chart-error {
  padding: 24px;
  text-align: center;
  color: #ff6b6b;
}

.ssp-comparison-chart .ssp-comparison-chart-no-data {
  padding: 48px 24px;
  text-align: center;
  color: #9fb7cf;
}

.ssp-comparison-chart .ssp-comparison-grid__cell--home .ssp-comparison-grid__indicator,
.ssp-comparison-chart .ssp-comparison-grid__cell--opponent .ssp-comparison-grid__indicator {
  order: 3;
  margin-top: 4px;
}

@media (max-width: 640px) {
  .ssp-comparison-chart .ssp-comparison-chart-modal-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .ssp-comparison-chart .ssp-comparison-chart-header-actions {
    width: 100%;
    justify-content: flex-end;
  }

  .ssp-comparison-chart .ssp-comparison-chart-modal-title {
    flex-wrap: wrap;
    font-size: 1.1rem;
  }

  .ssp-comparison-chart .ssp-comparison-chart-controls {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .ssp-comparison-chart .ssp-comparison-chart-likely-match-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .ssp-comparison-chart .ssp-comparison-chart-likely-match-info,
  .ssp-comparison-chart .ssp-comparison-chart-opponent-select-wrapper {
    width: 100%;
  }

  .ssp-comparison-chart .ssp-comparison-chart-games,
  .ssp-comparison-chart .ssp-comparison-chart-opponent-select {
    width: 100%;
  }

  .ssp-comparison-chart .ssp-comparison-chart-toggle-btn {
    width: 100%;
    text-align: center;
  }

  .ssp-comparison-chart .ssp-comparison-grid {
    padding: 12px;
  }

  .ssp-comparison-chart .ssp-comparison-grid__header,
  .ssp-comparison-chart .ssp-comparison-grid__row {
    grid-template-columns: minmax(0, 1fr) auto auto minmax(0, 1fr);
    grid-template-areas: 'home off def opponent';
    gap: 6px;
  }

  .ssp-comparison-chart .ssp-comparison-grid.is-flipped .ssp-comparison-grid__header,
  .ssp-comparison-chart .ssp-comparison-grid.is-flipped .ssp-comparison-grid__row {
    grid-template-areas: 'opponent def off home';
  }

  .ssp-comparison-chart .ssp-comparison-grid__header {
    font-size: 0.75rem;
  }

  .ssp-comparison-chart .ssp-comparison-grid__metric-label--off,
  .ssp-comparison-chart .ssp-comparison-grid__metric-label--def,
  .ssp-comparison-chart .ssp-comparison-grid__metric-divider,
  .ssp-comparison-chart .ssp-comparison-grid__metric--divider {
    display: none;
  }

  .ssp-comparison-chart .ssp-comparison-grid__team-label,
  .ssp-comparison-chart .ssp-comparison-grid__metric-label,
  .ssp-comparison-chart .ssp-comparison-grid__cell,
  .ssp-comparison-chart .ssp-comparison-grid__metric {
    font-size: 0.85rem;
  }

  .ssp-comparison-chart .ssp-comparison-grid__value {
    font-size: 0.95rem;
  }

  .ssp-comparison-chart .ssp-comparison-grid__rank {
    font-size: 0.8rem;
  }

  .ssp-comparison-chart .ssp-comparison-grid__actions {
    margin-top: 10px;
    justify-content: stretch;
  }

  .ssp-comparison-chart .ssp-comparison-chart-flip-btn {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .ssp-comparison-chart .ssp-comparison-grid__cell--home,
  .ssp-comparison-chart .ssp-comparison-grid__cell--opponent {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .ssp-comparison-chart .ssp-comparison-grid__cell--opponent {
    align-items: flex-end;
    text-align: right;
  }

  .ssp-comparison-chart .ssp-comparison-grid.is-flipped .ssp-comparison-grid__cell--home {
    align-items: flex-end;
    text-align: right;
  }

  .ssp-comparison-chart .ssp-comparison-grid.is-flipped .ssp-comparison-grid__cell--opponent {
    align-items: flex-start;
    text-align: left;
  }

  .ssp-comparison-chart .ssp-comparison-grid__cell--home .ssp-comparison-grid__value,
  .ssp-comparison-chart .ssp-comparison-grid__cell--opponent .ssp-comparison-grid__value {
    order: 1;
  }

  .ssp-comparison-chart .ssp-comparison-grid__cell--home .ssp-comparison-grid__rank,
  .ssp-comparison-chart .ssp-comparison-grid__cell--opponent .ssp-comparison-grid__rank {
    order: 2;
    width: 100%;
    margin-top: 4px;
    text-align: inherit;
  }
}

.ssp-page-header__description,
.ssp-page-header .page-description {
  margin: 0;
  color: #9dd6ce;
  font-size: 0.95rem;
}

@media (max-width: 600px) {
  .ssp-page-header__inner {
    padding: 0 15px;
  }
}

/*
 * SharpShotPicks Checkbox Toggle
 * iOS-style switch used for binary options across all apps.
 */
.ssp-checkbox {
  --ssp-checkbox-teal: var(--ssp-primary-teal);
  --ssp-checkbox-track: #e1e5eb;
  --ssp-checkbox-muted: #848ea1;
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #d0e2e8;
  font-size: 0.95rem;
  line-height: 1.3;
  cursor: pointer;
  user-select: none;
}

.ssp-checkbox__input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.ssp-checkbox__visual {
  position: relative;
  display: block;
  width: 57px;
  height: 27px;
  background: var(--ssp-checkbox-track);
  border-radius: 20rem;
  padding: 2px;
  transition: all 0.35s ease;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12);
  flex-shrink: 0;
}

.ssp-checkbox__visual::after,
.ssp-checkbox__visual::before {
  position: absolute;
  display: block;
  content: '';
}

.ssp-checkbox__visual::after {
  width: 44%;
  height: 100%;
  left: 0;
  top: 0;
  border-radius: 2em;
  background: #ffffff;
  transition: left 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), padding 0.3s ease, margin 0.3s ease;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
}

.ssp-checkbox__visual::before {
  content: 'No';
  font-size: 12px;
  font-weight: 600;
  top: 7px;
  left: 28px;
  color: var(--ssp-checkbox-muted);
  transition: left 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.ssp-checkbox__input:checked + .ssp-checkbox__visual {
  background: var(--ssp-checkbox-teal);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12);
}

.ssp-checkbox__input:checked + .ssp-checkbox__visual::after {
  left: 56.5%;
}

.ssp-checkbox__input:checked + .ssp-checkbox__visual::before {
  content: 'Yes';
  left: 7px;
  color: #ffffff;
}

.ssp-checkbox__input:focus-visible + .ssp-checkbox__visual {
  outline: 2px solid var(--ssp-primary-teal);
  outline-offset: 3px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12), 0 0 0 4px rgba(var(--ssp-primary-teal-rgb), 0.3);
}

.ssp-checkbox__input:active + .ssp-checkbox__visual {
  box-shadow: inset 0 0 0 30px rgba(0, 0, 0, 0.08);
}

.ssp-checkbox__input:active + .ssp-checkbox__visual::after {
  padding-right: 0.4em;
}

.ssp-checkbox__input:checked:active + .ssp-checkbox__visual::after {
  margin-left: -0.4em;
}

.ssp-checkbox__label {
  color: inherit;
}

/*
 * SharpShotPicks Simple Checkbox
 * Compact circular checkbox for dense table rows (player pool include/lock).
 */
.ssp-simple-checkbox {
  --ssp-simple-checkbox-size: 22px;
  --ssp-simple-checkbox-shadow: 0 2px 6px rgba(0, 0, 0, 0.45);
  --ssp-simple-checkbox-bg: rgba(18, 32, 42, 0.9);
  --ssp-simple-checkbox-bg-hover: rgba(29, 225, 209, 0.15);
  --ssp-simple-checkbox-bg-checked: #18e0c0;
  --ssp-simple-checkbox-inner: #101821;
  --ssp-simple-checkbox-mark: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: var(--ssp-simple-checkbox-size);
  height: var(--ssp-simple-checkbox-size);
  cursor: pointer;
  isolation: isolate;
}

.ssp-simple-checkbox__input {
  position: absolute;
  inset: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
}

.ssp-simple-checkbox__visual {
  position: relative;
  width: 100%;
  height: 100%;
  background: var(--ssp-simple-checkbox-bg);
  border-radius: 50%;
  box-shadow: var(--ssp-simple-checkbox-shadow);
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(29, 225, 209, 0.2);
}

.ssp-simple-checkbox__visual::before {
  content: "";
  position: absolute;
  inset: 4px;
  background: var(--ssp-simple-checkbox-inner);
  border-radius: 50%;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.45);
  transition: inset 0.2s ease;
}

.ssp-simple-checkbox__tick {
  position: relative;
  width: 10px;
  height: 10px;
  transform: rotate(-45deg);
}

.ssp-simple-checkbox__tick::before,
.ssp-simple-checkbox__tick::after {
  content: "";
  position: absolute;
  background: var(--ssp-simple-checkbox-mark);
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
  border-radius: 2px;
}

.ssp-simple-checkbox__tick::before {
  width: 2px;
  height: 8px;
  left: 4px;
  bottom: -1px;
  box-shadow: -1px 0 4px rgba(0, 0, 0, 0.25);
  transform: translateY(-6px);
}

.ssp-simple-checkbox__tick::after {
  width: 100%;
  height: 2px;
  left: 0;
  bottom: 3px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
  transform: translateX(7px);
}

.ssp-simple-checkbox:hover .ssp-simple-checkbox__visual {
  background: var(--ssp-simple-checkbox-bg-hover);
  box-shadow: var(--ssp-simple-checkbox-shadow), 0 0 0 4px rgba(29, 225, 209, 0.08);
}

.ssp-simple-checkbox:active .ssp-simple-checkbox__visual {
  transform: scale(0.95);
}

.ssp-simple-checkbox__input:focus-visible + .ssp-simple-checkbox__visual {
  outline: 2px solid var(--ssp-primary-teal);
  outline-offset: 2px;
  box-shadow: var(--ssp-simple-checkbox-shadow), 0 0 0 6px rgba(29, 225, 209, 0.2);
}

.ssp-simple-checkbox__input:checked + .ssp-simple-checkbox__visual {
  background: var(--ssp-simple-checkbox-bg-checked);
  box-shadow: var(--ssp-simple-checkbox-shadow), 0 6px 14px rgba(24, 224, 192, 0.35);
}

.ssp-simple-checkbox__input:checked + .ssp-simple-checkbox__visual::before {
  inset: 6px;
  background: rgba(9, 44, 42, 0.7);
}

.ssp-simple-checkbox__input:checked + .ssp-simple-checkbox__visual .ssp-simple-checkbox__tick::before,
.ssp-simple-checkbox__input:checked + .ssp-simple-checkbox__visual .ssp-simple-checkbox__tick::after {
  opacity: 1;
  transform: translate(0);
}

/*
 * SharpShotPicks Select Dropdowns
 * Teal-accented select styling shared across all apps.
 */
.ssp-select-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  font-size: 12px;
  color: #8dded8;
}

.ssp-select-label::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--ssp-primary-teal);
  box-shadow: 0 0 0 4px rgba(var(--ssp-primary-teal-rgb), 0.16);
}

.ssp-select,
select {
  appearance: none;
  background: linear-gradient(150deg, rgba(5, 20, 30, 0.92), rgba(2, 10, 15, 0.92));
  border: 1px solid rgba(var(--ssp-primary-teal-rgb), 0.4);
  border-radius: 10px;
  color: #e9feff;
  padding: 10px 42px 10px 12px;
  font-size: 14px;
  line-height: 1.35;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
  background-image:
    linear-gradient(45deg, transparent 50%, var(--ssp-primary-teal) 50%),
    linear-gradient(135deg, var(--ssp-primary-teal) 50%, transparent 50%);
  background-repeat: no-repeat;
  background-position: right 16px center, right 10px center;
  background-size: 10px 10px, 10px 10px;
  min-height: 44px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
  width: 100%;
}

.ssp-select:hover,
select:hover {
  border-color: rgba(var(--ssp-primary-teal-rgb), 0.6);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.5);
}

.ssp-select:focus,
select:focus {
  outline: none;
  border-color: rgba(var(--ssp-primary-teal-rgb), 0.8);
  box-shadow: 0 0 0 2px rgba(var(--ssp-primary-teal-rgb), 0.25), 0 14px 32px rgba(0, 0, 0, 0.5);
  color: #f2ffff;
  -webkit-text-fill-color: #f2ffff;
  caret-color: var(--ssp-primary-teal);
}

.ssp-select:disabled,
select:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  color: rgba(233, 254, 255, 0.75);
  background-color: rgba(5, 16, 24, 0.7);
}

.ssp-select option,
select option {
  color: #e9feff;
  background: #0b1622;
}

.ssp-select[multiple],
select[multiple] {
  min-height: 140px;
  background-image: none;
  padding-right: 12px;
}

/*
 * Persistent select option highlighting
 * Keeps the chosen contest or filter visible after the control loses focus.
 */
.ssp-select--persistent-highlight option.is-selected,
select.ssp-select--persistent-highlight option.is-selected {
  background: rgba(var(--ssp-primary-teal-rgb), 0.25);
}

.ssp-select--persistent-highlight option:checked,
select.ssp-select--persistent-highlight option:checked {
  background: rgba(var(--ssp-primary-teal-rgb), 0.35);
}

/*
 * SharpShotPicks Date Picker
 * Teal-accented date input with calendar affordance for dark surfaces.
 */
.ssp-date-picker {
  --ssp-date-picker-accent: var(--ssp-primary-teal, #1de1d1);
  width: 100%;
  min-height: 44px;
  appearance: none;
  background: linear-gradient(150deg, rgba(5, 20, 30, 0.94), rgba(2, 10, 15, 0.92));
  border: 1px solid rgba(var(--ssp-primary-teal-rgb), 0.45);
  border-radius: 10px;
  color: #eef9ff;
  padding: 10px 46px 10px 14px;
  font-size: 14px;
  line-height: 1.35;
  font-family: inherit;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%231de1d1' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='3' ry='3'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3Cpath d='M8 14h.01M12 14h.01M16 14h.01M8 18h.01M12 18h.01M16 18h.01'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 20px 20px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.ssp-date-picker::placeholder {
  color: #9ab4bb;
}

.ssp-date-picker:hover {
  border-color: rgba(var(--ssp-primary-teal-rgb), 0.65);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.5);
}

.ssp-date-picker:focus {
  outline: none;
  border-color: rgba(var(--ssp-primary-teal-rgb), 0.85);
  box-shadow: 0 0 0 2px rgba(var(--ssp-primary-teal-rgb), 0.25), 0 14px 32px rgba(0, 0, 0, 0.5);
  color: #f2ffff;
  -webkit-text-fill-color: #f2ffff;
  caret-color: var(--ssp-date-picker-accent);
}

.ssp-date-picker:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  color: rgba(238, 249, 255, 0.65);
  background-color: rgba(5, 16, 24, 0.7);
  background-image: none;
}

.ssp-date-picker::-webkit-calendar-picker-indicator {
  color: var(--ssp-date-picker-accent);
  filter: drop-shadow(0 0 6px rgba(29, 225, 209, 0.4));
  cursor: pointer;
}

.ssp-date-picker::-webkit-datetime-edit-text,
.ssp-date-picker::-webkit-datetime-edit-day-field,
.ssp-date-picker::-webkit-datetime-edit-month-field,
.ssp-date-picker::-webkit-datetime-edit-year-field {
  color: #eef9ff;
  padding: 0 2px;
}

/*
 * Touch-friendly jQuery UI datepicker skin
 * Ensures calendar overlays stay readable against dark backdrops on mobile.
 */
.ssp-ui-datepicker.ui-datepicker {
  background: radial-gradient(circle at 20% 20%, rgba(27, 50, 68, 0.96), rgba(6, 20, 32, 0.98));
  border: 1px solid rgba(var(--ssp-primary-teal-rgb), 0.5);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.65);
  color: #eef9ff;
  border-radius: 14px;
  padding: 12px 14px 16px;
  width: min(360px, 92vw);
  font-size: 15px;
  z-index: 100001;
}

.ssp-ui-datepicker .ui-datepicker-header {
  background: linear-gradient(135deg, rgba(12, 34, 48, 0.9), rgba(9, 27, 39, 0.95));
  border: 1px solid rgba(var(--ssp-primary-teal-rgb), 0.35);
  border-radius: 10px;
  color: #f4feff;
  padding: 10px;
  margin-bottom: 10px;
}

.ssp-ui-datepicker .ui-datepicker-title {
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.ssp-ui-datepicker .ui-datepicker-prev,
.ssp-ui-datepicker .ui-datepicker-next {
  top: 10px;
  width: 42px;
  height: 36px;
  border-radius: 8px;
  background: rgba(var(--ssp-primary-teal-rgb), 0.12);
  border: 1px solid rgba(var(--ssp-primary-teal-rgb), 0.35);
  color: #dffafc;
}

.ssp-ui-datepicker .ui-datepicker-prev:hover,
.ssp-ui-datepicker .ui-datepicker-next:hover,
.ssp-ui-datepicker .ui-datepicker-prev:focus,
.ssp-ui-datepicker .ui-datepicker-next:focus {
  background: rgba(var(--ssp-primary-teal-rgb), 0.22);
  outline: none;
}

.ssp-ui-datepicker table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 6px 8px;
}

.ssp-ui-datepicker th {
  color: #9ac6cf;
  font-weight: 600;
  padding-bottom: 4px;
}

.ssp-ui-datepicker td a,
.ssp-ui-datepicker td span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid rgba(var(--ssp-primary-teal-rgb), 0.35);
  color: #eef9ff;
  background: linear-gradient(160deg, rgba(8, 26, 38, 0.9), rgba(4, 14, 22, 0.95));
  transition: transform 0.12s ease, background 0.15s ease, border-color 0.15s ease;
}

.ssp-ui-datepicker td a:hover,
.ssp-ui-datepicker td a:focus {
  background: linear-gradient(160deg, rgba(12, 36, 50, 0.95), rgba(8, 22, 32, 0.97));
  transform: translateY(-1px);
  outline: none;
}

.ssp-ui-datepicker .ui-state-active,
.ssp-ui-datepicker .ui-state-highlight {
  color: #021019;
  background: linear-gradient(140deg, rgba(var(--ssp-primary-teal-rgb), 0.95), rgba(9, 90, 96, 0.9));
  border-color: rgba(var(--ssp-primary-teal-rgb), 0.9);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.45);
}

.ssp-ui-datepicker .ui-datepicker-unavailable a {
  opacity: 0.32;
  cursor: not-allowed;
  border-style: dashed;
}

.ssp-ui-datepicker .ui-datepicker-current-day a {
  box-shadow: 0 0 0 1px rgba(var(--ssp-primary-teal-rgb), 0.45);
}

.ssp-ui-datepicker .ui-datepicker-buttonpane {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 10px;
}

.ssp-ui-datepicker .ui-datepicker-close,
.ssp-ui-datepicker .ui-datepicker-current {
  background: rgba(var(--ssp-primary-teal-rgb), 0.16);
  border: 1px solid rgba(var(--ssp-primary-teal-rgb), 0.5);
  color: #efffff;
  border-radius: 8px;
  padding: 8px 12px;
  font-weight: 600;
}

@media (max-width: 600px) {
  .ssp-ui-datepicker.ui-datepicker {
    font-size: 16px;
    padding: 12px;
  }

  .ssp-ui-datepicker td a,
  .ssp-ui-datepicker td span {
    width: 46px;
    height: 46px;
    font-size: 15px;
  }
}

/*
 * SharpShotPicks Filter Chips
 * Shared component for displaying active filter selections across apps.
 */
.ssp-filter-chips {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 8px;
  background: rgba(var(--ssp-primary-teal-rgb), 0.15);
  border: 1px solid rgba(var(--ssp-primary-teal-rgb), 0.4);
  border-radius: 12px;
  color: var(--ssp-primary-teal);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.4;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.ssp-filter-chips:hover,
.ssp-filter-chips:focus-visible {
  background: rgba(var(--ssp-primary-teal-rgb), 0.25);
  border-color: rgba(var(--ssp-primary-teal-rgb), 0.6);
}

.ssp-filter-chips__label {
  white-space: nowrap;
}

.ssp-filter-chips__clear {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  padding: 0;
  background: transparent;
  border: none;
  color: var(--ssp-primary-teal);
  font-size: 12px;
  line-height: 1;
  cursor: pointer;
  transition: color 0.15s ease, transform 0.15s ease;
}

.ssp-filter-chips__clear:hover,
.ssp-filter-chips__clear:focus-visible {
  color: #ff6b6b;
  transform: scale(1.15);
}

.ssp-filter-chips__clear:focus-visible {
  outline: 2px solid rgba(var(--ssp-primary-teal-rgb), 0.5);
  outline-offset: 1px;
  border-radius: 2px;
}



/*
 * SharpShotPicks Context Filter Menu
 * Shared styling for right-click filtering menus across optimizer apps.
 */
.ssp-context-filter-menu {
  position: fixed;
  background: #111;
  border: 1px solid var(--ssp-primary-teal);
  border-radius: 6px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
  min-width: 180px;
  padding: 4px 0;
  display: none;
  z-index: 2000;
}

.ssp-context-filter-menu.is-open {
  display: block;
}

.ssp-context-filter-menu button {
  width: 100%;
  background: none;
  border: none;
  color: var(--ssp-primary-teal);
  padding: 8px 12px;
  font-size: 12px;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.ssp-context-filter-menu button:hover,
.ssp-context-filter-menu button:focus {
  background: rgba(var(--ssp-primary-teal-rgb), 0.15);
  outline: none;
}

.ssp-context-filter-menu button i {
  min-width: 14px;
  text-align: center;
}

.ssp-context-filter-menu__title {
  color: var(--ssp-primary-teal);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(var(--ssp-primary-teal-rgb), 0.35);
}

.player-pool-context-menu {
  min-width: 160px;
}

.player-pool-context-action {
  display: flex;
  align-items: center;
  gap: 8px;
}

.player-pool-context-action .player-pool-context-label {
  flex: 1;
}

.player-pool-cell--team,
.player-pool-cell--position,
.player-pool-cell--salary,
.player-pool-cell--ssp-projection,
.player-pool-cell--value {
  cursor: context-menu;
}

.player-pool-context-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.player-pool-context-section--numeric {
  display: flex;
  gap: 12px;
}

.player-pool-context-menu[data-context-mode="numeric"] .player-pool-context-section--actions {
  display: none;
}

.player-pool-context-numeric-controls {
  display: flex;
  gap: 8px;
}

.player-pool-context-numeric-inputs {
  align-items: center;
  display: flex;
  flex: 1 1 auto;
  gap: 6px;
  min-width: 0;
}

.player-pool-context-numeric-inputs .player-pool-context-numeric-range-separator,
.player-pool-context-numeric-inputs .player-pool-context-numeric-input--secondary {
  display: none;
}

.player-pool-context-numeric-inputs[data-operator="between"] .player-pool-context-numeric-range-separator {
  color: var(--ssp-primary-teal);
  display: inline-flex;
  font-size: 13px;
  line-height: 1.3;
  padding: 0 2px;
}

.player-pool-context-numeric-inputs[data-operator="between"] .player-pool-context-numeric-input--secondary {
  display: block;
}

.player-pool-context-numeric-controls .player-pool-context-numeric-operator,
.player-pool-context-numeric-controls .player-pool-context-numeric-input {
  background: #000;
  border: 1px solid var(--ssp-primary-teal);
  border-radius: 4px;
  color: #fff;
  font-size: 13px;
  line-height: 1.3;
  min-height: 32px;
  padding: 4px 8px;
}

.player-pool-context-numeric-controls .player-pool-context-numeric-operator:focus,
.player-pool-context-numeric-controls .player-pool-context-numeric-input:focus {
  outline: none;
  box-shadow: 0 0 0 1px rgba(var(--ssp-primary-teal-rgb), 0.45);
  color: #fff;
}

.player-pool-context-numeric-controls .player-pool-context-numeric-input {
  caret-color: #fff;
}

.player-pool-context-numeric-controls .player-pool-context-numeric-input::-webkit-text-fill-color {
  color: #fff;
}

.player-pool-context-numeric-controls .player-pool-context-numeric-input::placeholder {
  color: rgba(255, 255, 255, 0.65);
}

.player-pool-context-numeric-operator {
  flex: 0 0 140px;
}

.player-pool-context-numeric-input,
.player-pool-context-numeric-input--primary,
.player-pool-context-numeric-input--secondary {
  flex: 1 1 auto;
  min-width: 0;
}

.player-pool-context-numeric-actions {
  display: flex;
  gap: 8px;
}

.player-pool-context-numeric-actions .player-pool-context-action {
  justify-content: center;
  flex: 1;
}

@media (max-width: 767px) {
  .ssp-context-filter-menu {
    min-width: 160px;
    font-size: 13px;
  }

  .ssp-context-filter-menu button {
    padding: 10px 14px;
    font-size: 13px;
  }
}

/*
 * SharpShotPicks Player Card Shell & Triggers
 * Shared visual system for inline player-card callouts and summary pills.
 */
.ssp-player-card {
  background: rgba(5, 14, 22, 0.9);
  border: 1px solid rgba(var(--ssp-primary-teal-rgb), 0.35);
  border-radius: 14px;
  padding: 16px;
  color: #e2f6f8;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.45);
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.5;
}

.ssp-player-card strong {
  color: #ffffff;
}

.ssp-player-card-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  padding: 10px 14px;
  margin: 16px 0;
  background: rgba(var(--ssp-primary-teal-rgb), 0.08);
  border: 1px solid rgba(var(--ssp-primary-teal-rgb), 0.35);
  border-radius: 999px;
  color: #e0f4f5;
  font-size: 0.9rem;
}

.ssp-player-card-summary span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.ssp-player-card-summary strong {
  color: var(--ssp-primary-teal);
  font-weight: 600;
}

.ssp-player-card-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 6px;
  color: var(--ssp-primary-teal);
  text-decoration: none;
  border-radius: 999px;
  width: 18px;
  height: 18px;
  background: rgba(var(--ssp-primary-teal-rgb), 0.12);
  transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.ssp-player-card-link:hover,
.ssp-player-card-link:focus-visible {
  color: #ffffff;
  background: rgba(var(--ssp-primary-teal-rgb), 0.25);
  box-shadow: 0 0 12px rgba(var(--ssp-primary-teal-rgb), 0.4);
  outline: none;
}

.ssp-player-card-link .fa,
.ssp-player-card-link i {
  font-size: 0.85em;
  line-height: 1;
}

@media (max-width: 600px) {
  .ssp-player-card-summary {
    border-radius: 16px;
    justify-content: flex-start;
  }
}

/* =========================================================
   4. PLAYER CARD MODAL STYLING
   ========================================================= */

/* ---------- 4.0 Login Modal ---------- */
.ssp-login-modal {
  --login-accent: #4df3ff;
  --login-accent-alt: #8f7cff;
  --login-surface: rgba(10, 18, 35, 0.92);
  --login-border: rgba(255, 255, 255, 0.08);
  --login-muted: #aeb9cd;
}

.ssp-login-modal .modal-dialog {
  max-width: 440px;
  width: calc(100% - 32px);
  top: 50%;
  transform: translateY(-46%) !important;
  opacity: 0;
  display: block;
  margin: 0 auto;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.ssp-login-modal.show .modal-dialog {
  transform: translateY(-50%) !important;
  opacity: 1;
}

.ssp-login-modal .login-modal-content {
  position: relative;
  padding: 3.5rem 3rem 2.75rem;
  border-radius: 24px;
  border: 1px solid var(--login-border);
  background: var(--login-surface);
  box-shadow: 0 35px 120px rgba(3, 10, 25, 0.75);
  color: #f2f7ff;
  overflow: hidden;
  backdrop-filter: blur(14px);
}

.ssp-login-modal .login-modal-content::before,
.ssp-login-modal .login-modal-content::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
  z-index: 0;
}

.ssp-login-modal .login-modal-content::before {
  width: 440px;
  height: 440px;
  top: -45%;
  right: -38%;
  background: radial-gradient(circle at center, rgba(77, 243, 255, 0.85), rgba(109, 82, 255, 0));
}

.ssp-login-modal .login-modal-content::after {
  width: 380px;
  height: 380px;
  left: -32%;
  bottom: -48%;
  background: radial-gradient(circle at center, rgba(0, 255, 222, 0.8), rgba(34, 92, 255, 0));
}

.ssp-login-modal .login-modal-content .close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(7, 15, 28, 0.65);
  color: #fdfdff;
  opacity: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
  text-shadow: none;
}

.ssp-login-modal .login-modal-content .close:hover {
  background: linear-gradient(135deg, rgba(77, 243, 255, 0.9), rgba(127, 96, 255, 0.85));
  color: #02121f;
  box-shadow: 0 18px 38px rgba(75, 236, 255, 0.35);
  transform: translateY(-2px);
}

.ssp-login-modal .login-modal-content .close .close-icon {
  display: inline-block;
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
  transform: translateY(-1px);
}

.ssp-login-modal .login-modal-content .close .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.ssp-login-modal .modal-header,
.ssp-login-modal .modal-body,
.ssp-login-modal form {
  position: relative;
  z-index: 1;
}

.ssp-login-modal .modal-header {
  padding-bottom: 0.5rem;
}

.ssp-login-modal .login-icon {
  width: 84px;
  height: 84px;
  border-radius: 20px;
  background: linear-gradient(140deg, rgba(77, 243, 255, 0.2), rgba(143, 124, 255, 0.08));
  border: 1px solid rgba(77, 243, 255, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.35);
  margin-bottom: 1rem;
}

.ssp-login-modal .login-icon__image {
  width: 70px;
  height: auto;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.4));
}

.ssp-login-modal .modal-title {
  color: #ffffff;
  font-weight: 800;
  font-size: 1.75rem;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 0.4rem;
}

.ssp-login-modal .modal-subtitle {
  margin: 0 0 0.4rem;
  color: #d4e2ff;
  text-align: center;
}

.ssp-login-modal .modal-switch {
  color: #9db0c4;
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.ssp-login-modal .modal-switch a {
  color: var(--login-accent);
}

.ssp-login-modal .modal-switch a:hover {
  color: #ffffff;
}

.ssp-login-modal .modal-body {
  padding-top: 0.5rem;
}

.ssp-login-modal form {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.ssp-login-modal .form-row {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.ssp-login-modal .form-row:last-of-type {
  margin-top: 0.25rem;
}

.ssp-login-modal .glow-field {
  position: relative;
  border-radius: 14px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(77, 243, 255, 0.35), rgba(143, 124, 255, 0.3));
  box-shadow: 0 20px 35px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ssp-login-modal .glow-field::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(77, 243, 255, 0.12), rgba(143, 124, 255, 0.08));
  filter: blur(16px);
  z-index: 0;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.ssp-login-modal .glow-field .input-group {
  position: relative;
  z-index: 1;
  border-radius: 12px;
  overflow: hidden;
  background: #050f17;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.ssp-login-modal .glow-field .input-group-prepend {
  background: linear-gradient(180deg, rgba(77, 243, 255, 0.18), rgba(0, 255, 222, 0.05));
  border: none;
}

.ssp-login-modal .glow-field .input-group-text {
  border: none;
  padding: 0.8rem 0.85rem;
  color: #d7e9ff;
  background: transparent;
}

.ssp-login-modal .glow-field .input-group-text i {
  color: var(--login-accent);
  font-size: 1.05rem;
}

.ssp-login-modal .glow-field .form-control {
  background: transparent;
  border: none;
  color: #f3f7ff;
  padding: 0.95rem 1rem;
  font-size: 1rem;
  box-shadow: none;
}

.ssp-login-modal .glow-field .form-control:-webkit-autofill,
.ssp-login-modal .glow-field .form-control:-webkit-autofill:hover,
.ssp-login-modal .glow-field .form-control:-webkit-autofill:focus,
.ssp-login-modal .glow-field .form-control:-webkit-autofill:active {
  -webkit-text-fill-color: #f3f7ff;
  -webkit-box-shadow: 0 0 0 1000px #050f17 inset !important;
  caret-color: #f3f7ff;
}

.ssp-login-modal .glow-field .form-control:-moz-ui-autofill {
  box-shadow: 0 0 0 1000px #050f17 inset;
  -moz-text-fill-color: #f3f7ff;
}

.ssp-login-modal .glow-field .form-control::placeholder {
  color: rgba(243, 247, 255, 0.7);
}

.ssp-login-modal .glow-field .form-control:focus {
  outline: none;
  background: rgba(5, 15, 23, 0.75);
  box-shadow: none;
}

.ssp-login-modal .glow-field:focus-within::before {
  opacity: 1;
}

.ssp-login-modal .glow-field:focus-within .input-group {
  box-shadow: inset 0 0 0 1px rgba(77, 243, 255, 0.4);
}

.ssp-login-modal .login-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 0.2rem;
}

.ssp-login-modal .remember-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
  font-weight: 600;
  color: #d8e4fa;
  user-select: none;
}

.ssp-login-modal .remember-toggle input {
  display: none;
}

.ssp-login-modal .remember-toggle__indicator {
  width: 46px;
  height: 26px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  position: relative;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.ssp-login-modal .remember-toggle__indicator::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 3px;
  width: 20px;
  height: 20px;
  background: linear-gradient(135deg, var(--login-accent), var(--login-accent-alt));
  border-radius: 50%;
  box-shadow: 0 6px 18px rgba(77, 243, 255, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ssp-login-modal .remember-toggle input:checked + .remember-toggle__indicator {
  background: rgba(77, 243, 255, 0.18);
  border-color: rgba(77, 243, 255, 0.5);
}

.ssp-login-modal .remember-toggle input:checked + .remember-toggle__indicator::after {
  transform: translateX(18px);
  box-shadow: 0 6px 16px rgba(77, 243, 255, 0.55);
}

.ssp-login-modal .remember-toggle input:focus + .remember-toggle__indicator {
  outline: 2px solid rgba(77, 243, 255, 0.45);
  outline-offset: 2px;
}

.ssp-login-modal .remember-toggle__label {
  font-size: 0.95rem;
}

.ssp-login-modal .forgot-link {
  color: var(--login-muted);
  font-weight: 500;
  transition: color 0.2s ease;
}

.ssp-login-modal .forgot-link:hover {
  color: var(--login-accent);
  text-decoration: none;
}

.ssp-login-modal .btn-link.btn-signin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: 14px;
  border: none;
  background-image: linear-gradient(135deg, var(--login-accent), var(--login-accent-alt), #00ffd7);
  color: #04131f;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease, color 0.25s ease;
  box-shadow: 0 20px 45px rgba(77, 243, 255, 0.3);
}

.ssp-login-modal .btn-link.btn-signin:hover {
  transform: translateY(-2px);
  box-shadow: 0 26px 55px rgba(77, 243, 255, 0.4);
  color: #03121a;
  text-decoration: none;
}

.ssp-login-modal .btn-link.btn-signin:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(77, 243, 255, 0.35), 0 22px 50px rgba(77, 243, 255, 0.4);
  color: #03121a;
}

.ssp-login-modal .btn-link.btn-signin:active {
  transform: translateY(0);
  filter: brightness(0.95);
}

.ssp-login-modal .login-footer-callout {
  margin: 1.25rem 0 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--login-muted);
  letter-spacing: 0.2px;
}

.ssp-login-modal .login-footer-callout a {
  color: var(--login-accent);
  font-weight: 600;
}

.ssp-login-modal .login-footer-callout a:hover {
  color: #ffffff;
}

@media (max-width: 575px) {
  .ssp-login-modal .modal-dialog {
    width: calc(100% - 20px);
  }

  .ssp-login-modal .login-modal-content {
    padding: 3rem 1.9rem 2.5rem;
  }

  .ssp-login-modal .login-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .ssp-login-modal .login-meta .forgot-link {
    margin-left: 0;
  }
}

@media (max-width: 420px) {
  .ssp-login-modal .modal-title {
    font-size: 1.6rem;
  }

  .ssp-login-modal .login-modal-content {
    padding: 2.75rem 1.6rem 2.3rem;
  }
}

/* ---------- 4.1 Alert Modal ---------- */
body.ssp-alert-modal-open {
  overflow: hidden;
}

.ssp-alert-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}

.ssp-alert-modal.is-visible {
  display: flex;
}

.ssp-alert-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(2px);
}

.ssp-alert-modal__dialog {
  position: relative;
  background: #020b11;
  border: 2px solid var(--ssp-alert-accent, var(--ssp-primary-teal));
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  padding: 28px 30px 24px;
  width: min(420px, 92vw);
  color: #e6f8ff;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.ssp-alert-modal__header {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ssp-alert-modal__header::after {
  content: '';
  display: block;
  height: 3px;
  width: 64px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(31, 225, 209, 0.95) 0%, rgba(10, 126, 164, 0.9) 100%);
}

.ssp-alert-modal__title {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ssp-alert-accent, var(--ssp-primary-teal));
}

.ssp-alert-modal__body {
  font-size: 1rem;
  line-height: 1.6;
  color: #d9f5ff;
}

.ssp-alert-modal__message {
  margin: 0;
}

.ssp-alert-modal__message--interactive {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.ssp-alert-modal__field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.02em;
}

.ssp-alert-modal__input {
  width: 100%;
  padding: 0.65rem 0.9rem;
  border-radius: 10px;
  border: 1px solid rgba(217, 245, 255, 0.55);
  background-color: rgba(14, 52, 72, 0.92);
  color: #e7fbff;
  caret-color: var(--ssp-primary-teal);
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ssp-alert-modal__input::placeholder {
  color: rgba(231, 251, 255, 0.65);
}

.ssp-alert-modal__input:focus {
  outline: none;
  border-color: var(--ssp-alert-accent, var(--ssp-primary-teal));
  box-shadow: 0 0 0 3px rgba(31, 225, 209, 0.18);
}

.ssp-alert-modal__hint {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(217, 245, 255, 0.82);
}

.ssp-alert-modal__error {
  margin: 0;
  font-size: 0.9rem;
  color: #ff9c9c;
}

.ssp-alert-modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.ssp-alert-modal__cancel {
  background: transparent;
  color: #d9f5ff;
  border: 1px solid rgba(217, 245, 255, 0.45);
  border-radius: 999px;
  font-weight: 600;
  padding: 0.6rem 1.5rem;
  cursor: pointer;
  letter-spacing: 0.06em;
  transition: transform 0.15s ease, box-shadow 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.ssp-alert-modal__cancel:hover,
.ssp-alert-modal__cancel:focus {
  outline: none;
  border-color: var(--ssp-alert-accent, var(--ssp-primary-teal));
  color: #ffffff;
  box-shadow: 0 0 0 3px rgba(31, 225, 209, 0.18);
  transform: translateY(-1px);
}

.ssp-alert-modal__cancel:active {
  transform: translateY(0);
}

.ssp-alert-modal__confirm {
  background: var(--ssp-alert-accent, var(--ssp-primary-teal));
  color: #02181f;
  border: none;
  border-radius: 999px;
  font-weight: 700;
  padding: 0.65rem 1.7rem;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.ssp-alert-modal__confirm:hover,
.ssp-alert-modal__confirm:focus {
  outline: none;
  background: #1de1d1;
  box-shadow: 0 0 0 3px rgba(31, 225, 209, 0.25);
  transform: translateY(-1px);
}

.ssp-alert-modal__confirm:active {
  transform: translateY(0);
}

.ssp-alert-modal--info {
  --ssp-alert-accent: var(--ssp-secondary-teal);
}

.ssp-alert-modal--success {
  --ssp-alert-accent: var(--ssp-primary-teal);
}

.ssp-alert-modal--warning {
  --ssp-alert-accent: #13b5c8;
}

.ssp-alert-modal--error {
  --ssp-alert-accent: var(--ssp-danger);
}

/* ---------- 4.2 Shared Modal Shell ---------- */
.ssp-modal-dialog {
  position: relative;
  width: min(92vw, 1100px);
  max-height: calc(100vh - 80px);
  margin: 0 auto;
  padding: 0;
  transform: none;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  z-index: 10000;
}

@media (max-width: 768px) {
  .ssp-modal-dialog {
    width: 100vw;
    max-width: 100%;
  }
}

.ssp-modal-content {
  background-color: #141a1a;
  color: #fff;
  padding: 5px;
  border: 2px solid var(--ssp-primary-teal);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.7);
  animation: fadeInCard 0.4s ease-out;
  display: flex;
  flex-direction: column;
  max-height: 100%;
  min-height: 0;
}

.ssp-modal-body {
  flex: 1;
  min-height: 0;
  max-height: 100%;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

/* Full-screen player / team card modal */
.ssp-player-card-modal.modal {
  background: rgba(0, 0, 0, 0.75);
}

.ssp-player-card-modal:not(.show),
.ssp-line-card-modal:not(.show),
.ssp-team-card-modal:not(.show),
.ssp-team-detail-modal:not(.show),
.ssp-odds-scope-modal:not(.show) {
  display: none;
}


.ssp-player-card-modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
}

.ssp-modal-dialog {
  width: min(94vw, 1100px);
  max-width: 1100px;
}

.ssp-modal-content {
  animation: fadeInCard 0.4s ease-out;
  background-color: #141a1a;
  border: 2px solid var(--ssp-primary-teal);
  border-radius: 0;
  box-sizing: border-box;
  box-shadow: rgba(var(--ssp-primary-teal-rgb), 0.25) 0px 54px 55px,
              rgba(var(--ssp-primary-teal-rgb), 0.12) 0px -12px 30px,
              rgba(var(--ssp-primary-teal-rgb), 0.12) 0px 4px 6px,
              rgba(var(--ssp-primary-teal-rgb), 0.17) 0px 12px 13px,
              rgba(var(--ssp-primary-teal-rgb), 0.09) 0px -3px 5px;
  color: transparent;
  padding: 5px;
  transition: color 0.5s ease;
}

.ssp-player-card-modal.show .ssp-modal-content {
  color: #fff;
  transition: color 0.5s ease 0.5s;
}

.ssp-modal-body {
  max-height: none;
}

@media (max-width: 768px) {

  .ssp-modal-dialog {
    height: 100vh;
    max-height: none;
  }

  .ssp-modal-content {
    height: 100%;
    max-height: none;
  }

  .ssp-modal-body {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
}

.ssp-modal-body .dataTables_wrapper,
.ssp-modal-body table {
  width: 100% !important;
}

.ssp-modal-dialog {
  width: min(92vw, 1000px);
  max-width: 1000px;
}

.ssp-modal-content {
  animation: fadeInCard 0.4s ease-out;
  background-color: #141a1a;
  border: 2px solid var(--ssp-primary-teal);
  border-radius: 0;
  box-sizing: border-box;
  box-shadow: rgba(var(--ssp-primary-teal-rgb), 0.25) 0px 54px 55px,
              rgba(var(--ssp-primary-teal-rgb), 0.12) 0px -12px 30px,
              rgba(var(--ssp-primary-teal-rgb), 0.12) 0px 4px 6px,
              rgba(var(--ssp-primary-teal-rgb), 0.17) 0px 12px 13px,
              rgba(var(--ssp-primary-teal-rgb), 0.09) 0px -3px 5px;
  color: transparent;
  height: 100%;
  padding: 5px;
  transition: color 0.5s ease;
}

.ssp-modal-content {
  color: #fff;
  transition: color 0.5s ease 0.5s;
}

.ssp-modal-body {
  max-height: calc(100vh - 120px);
}

.ssp-team-card-modal {
  background: rgba(18, 22, 28, 0.94);
  padding: 24px 16px;
  overflow-y: auto;
}

.ssp-team-card-modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
}

.ssp-team-card-modal .ssp-modal-dialog {
  width: min(90vw, 960px);
  max-width: 960px;
}

.ssp-team-card-modal .ssp-modal-content {
  animation: fadeInCard 0.4s ease-out;
  background-color: #141a1a;
  border: 2px solid var(--ssp-primary-teal);
  border-radius: 0;
  box-sizing: border-box;
  box-shadow: rgba(var(--ssp-primary-teal-rgb), 0.25) 0px 54px 55px,
              rgba(var(--ssp-primary-teal-rgb), 0.12) 0px -12px 30px,
              rgba(var(--ssp-primary-teal-rgb), 0.12) 0px 4px 6px,
              rgba(var(--ssp-primary-teal-rgb), 0.17) 0px 12px 13px,
              rgba(var(--ssp-primary-teal-rgb), 0.09) 0px -3px 5px;
  color: transparent;
  height: 100%;
  padding: 5px;
  transition: color 0.5s ease;
}

.ssp-team-card-modal.show .ssp-modal-content {
  color: #fff;
  transition: color 0.5s ease 0.5s;
}

.ssp-team-card-modal .ssp-modal-body {
  max-height: calc(100vh - 120px);
}

.ssp-team-detail-modal {
  background: rgba(18, 22, 28, 0.94);
  padding: 24px 16px;
  overflow-y: auto;
}

.ssp-team-detail-modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
}

.ssp-team-detail-modal .ssp-modal-dialog {
  width: min(95vw, 1200px);
  max-width: 1200px;
}

.ssp-team-detail-modal .ssp-modal-content {
  animation: fadeInCard 0.4s ease-out;
  background-color: #141a1a;
  border: 2px solid var(--ssp-primary-teal);
  border-radius: 0;
  box-sizing: border-box;
  box-shadow: rgba(var(--ssp-primary-teal-rgb), 0.25) 0px 54px 55px,
              rgba(var(--ssp-primary-teal-rgb), 0.12) 0px -12px 30px,
              rgba(var(--ssp-primary-teal-rgb), 0.12) 0px 4px 6px,
              rgba(var(--ssp-primary-teal-rgb), 0.17) 0px 12px 13px,
              rgba(var(--ssp-primary-teal-rgb), 0.09) 0px -3px 5px;
  color: transparent;
  height: 100%;
  padding: 5px;
  transition: color 0.5s ease;
}

.ssp-team-detail-modal.show .ssp-modal-content {
  color: #fff;
  transition: color 0.5s ease 0.5s;
}

.ssp-team-detail-modal .ssp-modal-body {
  max-height: calc(100vh - 120px);
}

.ssp-team-detail-modal .ssp-modal-body .dataTables_wrapper,
.ssp-team-detail-modal .ssp-modal-body table {
  width: 100% !important;
}

.ssp-team-detail-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 24px;
  background: #061420;
  border-bottom: 1px solid rgba(29, 225, 209, 0.2);
}

.ssp-team-detail-modal__title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  font-size: 1.35rem;
  color: #ffffff;
}

.ssp-team-detail-modal__team-logo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(29, 225, 209, 0.35);
  background: rgba(6, 20, 32, 0.85);
  object-fit: contain;
  padding: 4px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.45);
}

.ssp-team-detail-modal__title-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ssp-team-detail-modal__line-name {
  font-weight: 700;
  letter-spacing: 0.02em;
}

.ssp-team-detail-modal__title-subtext {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9fb7cf;
}

.ssp-team-detail-modal__team-code {
  display: none;
}

.ssp-team-detail-modal__title-divider {
  display: none;
}

.ssp-team-detail-modal__header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ssp-team-detail-modal__body {
  background: #0b1622;
  padding: 24px;
}

.ssp-team-detail-modal__body #lineDetailsContent {
  color: #e5f7ff;
}

.line-goal-history-panel {
  margin-top: 18px;
  padding-top: 10px;
  border-top: 1px solid rgba(29, 225, 209, 0.28);
}

.line-goal-history-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.line-goal-history-title {
  margin: 0;
  font-size: 1.05rem;
  color: #e5f7ff;
}

.line-goal-history-table-wrapper {
  overflow-x: auto;
}

.line-goal-history-table {
  width: 100%;
  margin: 0;
}

.line-goal-history-table thead th {
  background: rgba(29, 225, 209, 0.08);
  color: #1de1d1;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.line-goal-history-table td,
.line-goal-history-table th {
  color: #e5f7ff;
  border-color: rgba(255, 255, 255, 0.06);
}

.line-goal-watch-btn {
  padding: 6px 10px;
  border-radius: 10px;
  border: 1px solid rgba(29, 225, 209, 0.6);
  background: linear-gradient(135deg, rgba(13, 111, 157, 0.65), rgba(12, 73, 107, 0.85));
  color: #e5f7ff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
  font-weight: 600;
}

.line-goal-watch-btn:hover,
.line-goal-watch-btn:focus {
  color: #ffffff;
  border-color: rgba(29, 225, 209, 0.9);
  background: linear-gradient(135deg, rgba(20, 154, 200, 0.8), rgba(16, 92, 132, 0.95));
}

.line-goal-video-frame {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #050f18;
  border: 1px solid rgba(29, 225, 209, 0.35);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.45);
}

.line-goal-video-embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.ssp-team-detail-modal__table-wrapper {
  margin-top: 16px;
  background: rgba(11, 22, 34, 0.95);
  border: 1px solid rgba(29, 225, 209, 0.35);
  border-radius: 14px;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.45);
  overflow-x: auto;
  overflow-y: hidden;
}

.ssp-team-detail-modal__table-wrapper .dataTables_wrapper {
  padding: 16px 18px;
}

.ssp-team-detail-modal__table {
  margin: 0;
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  color: #e5f7ff;
}

.ssp-team-detail-modal__table th,
.ssp-team-detail-modal__table td {
  padding: 10px 14px;
  word-break: break-word;
  white-space: normal;
}

.ssp-team-detail-modal__table thead th {
  text-align: right;
  background: rgba(29, 225, 209, 0.08);
  color: #1de1d1;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.75rem;
}

.ssp-team-detail-modal__table thead th.stat-header {
  text-align: left;
}

.ssp-team-detail-modal__table tbody th {
  text-align: left;
  font-weight: 600;
  color: #9fb7cf;
}

.ssp-team-detail-modal__table tbody td {
  text-align: right;
  color: #ffffff;
}

.ssp-team-detail-modal .modal-close-icon {
  color: #ffffff;
}

@media (max-width: 640px) {
  .ssp-team-detail-modal__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .ssp-team-detail-modal__header-actions {
    width: 100%;
    justify-content: flex-end;
  }
}

@media (max-width: 575.98px) {
  .ssp-team-detail-modal__body {
    padding: 18px 14px;
  }

  .ssp-team-detail-modal__table-wrapper .dataTables_wrapper {
    padding: 12px 10px;
  }

  .ssp-team-detail-modal__table th,
  .ssp-team-detail-modal__table td {
    padding: 8px 6px;
    font-size: 0.75rem;
  }

  .ssp-team-detail-modal__table thead th {
    font-size: 0.7rem;
    letter-spacing: 0.04em;
  }

  .ssp-team-detail-modal__table tbody th,
  .ssp-team-detail-modal__table tbody td {
    font-size: 0.78rem;
  }
}

.ssp-odds-scope-modal {
  background: rgba(18, 22, 28, 0.94);
  padding: 24px 16px;
  overflow-y: auto;
}

.ssp-odds-scope-modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
}

.ssp-odds-scope-modal .ssp-modal-dialog {
  margin: 0 auto;
  width: 95vw;
  max-width: 100%;
}

/* ---------- 4.4 Disable Body Scroll ---------- */
body.modal-open { overflow: hidden; }

/* ---------- 4.5 Player Card Header Layout ---------- */
#playerCardHeader {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  margin-bottom: 20px;
  gap: 15px;
}

.modal {
  z-index: 100000001 !important;
}

/* ----- Player image in header ----- */
#playerCardHeader img {
  --ssp-img-headshot-size: var(--ssp-img-headshot-size-compact, 70px);
  margin-right: 15px;
}

/* ----- Player info in header ----- */
#playerCardHeader .player-info { flex: 1; min-width: 200px; }


/* =========================================================
   5. PLAYER HEADER BLOCK (OUTSIDE MODAL)
   ========================================================= */
.player-header {
  display: flex; flex-wrap: nowrap; align-items: center;
  gap: 15px; margin-bottom: 20px;
}
.player-card-titlebar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}
.player-card-titlebar .modal-title {
  margin: 0;
  line-height: 1.2;
}
.player-card-titlebar .favorite-btn,
.player-card-titlebar .ssp-slate-plan-favorite {
  border: 1px solid rgba(var(--ssp-primary-teal-rgb), 0.35);
  border-radius: 10px;
  background: rgba(10, 25, 33, 0.6);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  color: #e7f9fb;
}
.player-card-titlebar .favorite-btn:hover,
.player-card-titlebar .ssp-slate-plan-favorite:hover {
  background: rgba(29, 225, 209, 0.12);
  color: #7af2e6;
}

.player-header img { --ssp-img-headshot-size: 120px; }
.player-header .player-info { flex: 1; min-width: 0; }

.player-prop-summary {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 0;
  background: transparent;
  border: 0;
}

.player-prop-actions {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.player-prop-actions .nhl-odds-scope-btn {
  flex: 0 0 auto;
  width: 180px;
  height: 52px;
}

.player-prop-actions .player-prop-summary {
  flex: 1;
  min-width: 240px;
  margin-top: 0;
}

.player-prop-summary .prop-summary-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
}

.player-prop-summary .prop-summary-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(12, 24, 33, 0.85);
  border: 1px solid rgba(var(--ssp-primary-teal-rgb), 0.45);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  color: #e7f9fb;
  font-size: 0.78rem;
  line-height: 1.25;
  white-space: nowrap;
}

.player-prop-summary .prop-summary-label {
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.02em;
}

.player-prop-summary .prop-summary-value {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.player-prop-summary .prop-summary-outcome {
  background: rgba(var(--ssp-primary-teal-rgb), 0.18);
  color: var(--ssp-primary-teal);
  border-radius: 999px;
  padding: 1px 6px;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.player-prop-summary .prop-summary-point {
  font-weight: 600;
  color: #f4fbfd;
}

.player-prop-summary .prop-summary-odds {
  color: var(--ssp-primary-teal);
  font-weight: 600;
  font-size: 0.8rem;
}

.player-prop-summary .prop-summary-book {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.7rem;
  color: #a5c8cf;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.player-prop-summary .prop-summary-logo {
  height: 14px;
  width: auto;
  filter: drop-shadow(0 0 4px rgba(0, 0, 0, 0.4));
}

.player-prop-summary .prop-summary-book-text {
  line-height: 1;
}

.player-prop-summary .prop-summary-message {
  width: 100%;
  font-size: 0.82rem;
  color: #b7d5da;
  text-align: left;
  padding: 4px 0;
}

@media (max-width: 767px) {
  .player-prop-summary .prop-summary-item {
    font-size: 0.74rem;
    padding: 5px 9px;
  }

  .player-prop-summary .prop-summary-logo {
    height: 12px;
  }
}

/* ----- Responsive behavior ----- */
@media (max-width: 767px) {
  .player-header {
    flex-direction: row; text-align: left;
  }
  .player-header img { width: 70px; }
  .player-header .player-info { margin-top: 0; }
  #playerCardHeader { flex-direction: row; text-align: left; }
  #playerCardHeader .player-info { margin-top: 0; }
}


/* =========================================================
   6. PLAYER CARD ANIMATIONS
   ========================================================= */
@keyframes fadeInCard {
  from { opacity: 0; transform: scale(0.95); }
  to   { opacity: 1; transform: scale(1); }
}


/* =========================================================
   7. PLAYER CARD TEXT ELEMENTS
   ========================================================= */
#playerCardName {
  font-family: 'Poppins', sans-serif;
  font-size: 26px;
  font-weight: 600;
  color: var(--ssp-primary-teal);
  margin: 0;
  text-shadow: 0 0 4px rgba(0,0,0,0.4);
}

.player-info .player-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.player-info .player-meta div {
  background: #122133;
  padding: 4px 8px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 14px;
  color: #fff;
  white-space: nowrap;
}

.stat-highlight {
  background: rgba(16, 94, 63, 0.45);
  box-shadow: inset 0 0 0 1px rgba(var(--ssp-primary-teal-rgb), 0.35);
  color: #f2fffb;
}

.line-name-cell {
  display: flex;
  align-items: center;
  gap: 8px;
}

.line-card-button {
  display: inline-flex;
}

.line-card-button button {
  background: transparent;
  border: none;
  color: var(--ssp-primary-teal);
  cursor: pointer;
  padding: 0;
  font-size: 14px;
}

.line-card-button button:hover,
.line-card-button button:focus {
  color: #ffffff;
}

.line-card-empty-message {
  padding: 16px;
  text-align: center;
  font-weight: 600;
  color: #ffffff;
  background: #102030;
  border-radius: 6px;
}

.line-name-text {
  display: inline-block;
}

@media (max-width: 600px) {
  .player-info .player-meta div {
    white-space: normal;
    overflow-wrap: anywhere;
  }
}
.player-header,
.player-header {
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 24px;
}

.player-header img,
.player-header img {
  width: 120px;
  height: auto;
  border-radius: 12px;
  border: 2px solid var(--ssp-primary-teal);
  background: #0b1622;
  box-shadow: 0 0 18px rgba(var(--ssp-primary-teal-rgb), 0.25);
}

.player-info,
.player-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

#playerCardMatchup,
#playerCardMatchup {
  font-size: 16px;
  font-weight: 500;
  color: #9fb7cf;
}

.player-course,
.player-course {
  margin: 0;
  font-size: 14px;
  color: #9fb7cf;
}

.player-info .player-meta,
.player-info .player-meta {
  margin-top: 4px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 8px;
  width: 100%;
}

.player-info .player-meta div,
.player-info .player-meta div {
  white-space: normal;
  text-align: left;
}

.report-switcher,
.report-switcher {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.report-switcher label,
.report-switcher label {
  margin: 0;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ssp-primary-teal);
}

#playerCardDynamicData {
  margin-bottom: 16px;
}

.chart-container,
.chart-container {
  margin-top: 24px;
  padding: 16px;
  background: #0b1622;
  border: 1px solid rgba(var(--ssp-primary-teal-rgb), 0.35);
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.rates,
.rates {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: rgba(var(--ssp-primary-teal-rgb), 0.08);
  border: 1px solid rgba(var(--ssp-primary-teal-rgb), 0.35);
  border-radius: 8px;
  margin-bottom: 12px;
}

.rates:last-child,
.rates:last-child {
  margin-bottom: 0;
}

.rates h4,
.rates h4 {
  margin: 0;
  font-size: 14px;
  color: #9fb7cf;
}

.rates .rate-value,
.rates .rate-value {
  font-size: 18px;
  font-weight: 600;
  color: var(--ssp-primary-teal);
}

.error-message,
.error-message {
  margin: 20px 0;
  text-align: center;
  color: #ff7a7a;
  font-weight: 600;
}

/*
 * Shared data table cell button
 * Reusable control for in-table actions (modals, lookups, etc.)
 */
.ssp-tabledata-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid rgba(29, 225, 209, 0.35);
  border-radius: 6px;
  background: rgba(6, 20, 32, 0.85);
  color: var(--ssp-primary-teal);
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ssp-tabledata-btn i {
  font-size: 14px;
  line-height: 1;
}

.ssp-tabledata-btn:hover,
.ssp-tabledata-btn:focus {
  border-color: var(--ssp-primary-teal);
  background: rgba(13, 32, 42, 0.95);
  color: #ffffff;
  box-shadow: 0 0 12px rgba(29, 225, 209, 0.35);
}

@media (max-width: 767px) {
  .player-header,
  .player-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .player-header img,
  .player-header img {
    width: 90px;
  }

  .report-switcher,
  .report-switcher {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .report-switcher select,
  .report-switcher select {
    width: 100%;
  }
}
#playerCardHeader .player-info p {
  margin: 3px 0; font-size: 14px; color: #ccc;
}

/* ----- Grade section inside player card ----- */
#playerCardGrades {
  background: #121212; border-radius: 10px; padding: 15px; margin-top: 10px;
  border-left: 4px solid var(--ssp-primary-teal);
}
#playerCardGrades p { margin: 5px 0; font-size: 15px; color: #eee; }

/* ----- Loading animation text ----- */
#playerCardLoading { text-align: center; margin-top: 20px; font-style: italic; color: #888; }

/* Standard close button positioning for player card modal */
.modal-header .close,
.modal-header .close,
.ssp-team-detail-modal .modal-header .close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 32px;
  color: #fff;
  opacity: 1;
}

/*
 * DataTables page-length selector
 * Shared dark-mode styling for all DataTables length controls.
 */
.ssp-datatable-table-length {
  margin-top: 10px !important;
  padding: 10px !important;
  background-color: #111 !important;
  color: #fff !important;
  border-radius: 5px !important;
  font-family: 'Poppins', sans-serif !important;
  font-size: 14px !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.ssp-datatable-table-length label {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin: 0 !important;
}

.ssp-datatable-table-length select {
  background-color: #000 !important;
  color: var(--ssp-primary-teal) !important;
  border: 1px solid var(--ssp-primary-teal) !important;
  padding: 5px 10px !important;
  border-radius: 4px !important;
  font-size: 14px !important;
  font-family: 'Space Mono', monospace !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  cursor: pointer !important;
  min-width: 175px !important;
}

.ssp-datatable-table-length select:hover,
.ssp-datatable-table-length select:focus {
  outline: none !important;
  border-color: var(--ssp-secondary-teal) !important;
  box-shadow: 0 0 0 2px rgba(var(--ssp-primary-teal-rgb), 0.25) !important;
}

/* =========================================================
   DraftKings Contest Admin Widgets
   ========================================================= */

.ssp-dk-contest-section {
  margin-top: 32px;
}

.ssp-dk-contest-card {
  border-radius: 12px;
  border: 1px solid #1b2738;
  background: #0c121f;
  box-shadow: 0 24px 48px rgba(3, 8, 18, 0.45);
  overflow: hidden;
  color: #f5fbff;
}

.ssp-dk-contest-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  padding: 28px 32px 22px;
  background: linear-gradient(135deg, #121d2f, #0b141f);
  border-bottom: 1px solid #1b2738;
  color: #f5fbff;
}

.ssp-dk-contest-header h2 {
  margin: 0 0 6px;
  font-size: 24px;
  font-weight: 600;
  color: #ffffff;
}

.ssp-dk-contest-header p {
  margin: 0;
  color: rgba(245, 251, 255, 0.72);
}

.ssp-dk-contest-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
  background: rgba(29, 225, 209, 0.12);
  padding: 8px 14px;
  border-radius: 999px;
  color: #1de1d1;
  border: 1px solid rgba(29, 225, 209, 0.35);
}

.ssp-dk-contest-meta .dashicons {
  font-size: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ssp-dk-contest-widget {
  position: relative;
  padding: 32px;
  overflow: hidden;
  color: #f5fbff;
}

.ssp-dk-contest-widget::after,
.ssp-dk-contest-widget::before {
  content: '';
  position: absolute;
  inset: 32px;
  border-radius: 10px;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.ssp-dk-contest-widget::after {
  background: linear-gradient(120deg, rgba(29, 225, 209, 0.05), rgba(29, 225, 209, 0.02));
  box-shadow: 0 24px 64px rgba(3, 8, 18, 0.65);
  opacity: 1;
}

.ssp-dk-contest-widget::before {
  background: linear-gradient(135deg, rgba(29, 225, 209, 0.08), transparent);
  opacity: 0.8;
}

.ssp-dk-contest-widget.is-loading::after,
.ssp-dk-contest-widget.is-loading::before {
  opacity: 0.35;
  filter: blur(4px);
}

.ssp-dk-contest-widget.is-loading::after {
  box-shadow: 0 18px 44px rgba(3, 8, 18, 0.55);
}

.ssp-dk-contest-filters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px 16px;
  align-items: flex-end;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.ssp-dk-contest-field label {
  display: block;
  margin-bottom: 6px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: rgba(245, 251, 255, 0.72);
}

.ssp-dk-contest-field input[type="text"],
.ssp-dk-contest-field input[type="number"],
.ssp-dk-contest-field select:not(.ssp-select) {
  width: 100%;
  padding: 12px 12px;
  border-radius: 8px;
  border: 1px solid #1b2738;
  background: #0b141f;
  color: #e6f3ff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  font-size: 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ssp-dk-contest-field input[type="text"]::placeholder,
.ssp-dk-contest-field input[type="number"]::placeholder {
  color: rgba(230, 243, 255, 0.55);
}

.ssp-dk-contest-field input[type="text"]:focus,
.ssp-dk-contest-field input[type="number"]:focus,
.ssp-dk-contest-field select:not(.ssp-select):focus {
  outline: none;
  border-color: #1de1d1;
  box-shadow: 0 0 0 2px rgba(29, 225, 209, 0.2);
}

.ssp-dk-contest-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.ssp-dk-contest-actions__inner {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.ssp-dk-contest-actions .ssp-button,
.ssp-dk-contest-actions__inner .ssp-button {
  min-width: 140px;
  justify-content: center;
}

.ssp-dk-contest-messages {
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.ssp-dk-contest-messages .notice {
  border-radius: 10px;
  border: 1px solid rgba(29, 225, 209, 0.18);
  background: rgba(29, 225, 209, 0.06);
  color: rgba(245, 251, 255, 0.92);
  padding: 12px 14px;
}

.ssp-dk-contest-table-wrapper {
  position: relative;
  border-radius: 12px;
  border: 1px solid #1b2738;
  overflow: hidden;
  background: #0f1928;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.ssp-dk-contest-table {
  margin: 0;
  border: none;
  background: transparent;
  color: #f5fbff;
}

.ssp-dk-contest-table thead {
  background: linear-gradient(120deg, #121d2f, #0d1829);
}

.ssp-dk-contest-table th {
  padding: 16px 12px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 13px;
  color: rgba(245, 251, 255, 0.8);
  border-bottom: 1px solid #1b2738;
}

.ssp-dk-contest-table th[data-sort-key] {
  cursor: pointer;
  user-select: none;
  position: relative;
  padding-right: 28px;
  transition: color 0.15s ease, background 0.15s ease;
}

.ssp-dk-contest-table th[data-sort-key]::after {
  content: '\2195';
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 13px;
  color: rgba(245, 251, 255, 0.45);
}

.ssp-dk-contest-table th.is-sorted-asc::after {
  content: '\2191';
  color: #1de1d1;
}

.ssp-dk-contest-table th.is-sorted-desc::after {
  content: '\2193';
  color: #1de1d1;
}

.ssp-dk-contest-table th.is-sorted-asc,
.ssp-dk-contest-table th.is-sorted-desc {
  color: #1de1d1;
  background: rgba(29, 225, 209, 0.06);
}

.ssp-dk-contest-table th[data-sort-key]:focus-visible {
  outline: none;
  border-bottom-color: #1de1d1;
  box-shadow: inset 0 -2px 0 #1de1d1;
}

.ssp-dk-contest-table td {
  padding: 14px 12px;
  border-bottom: 1px solid rgba(27, 39, 56, 0.85);
  font-size: 14px;
  color: rgba(245, 251, 255, 0.9);
}

.ssp-dk-contest-table th:first-child,
.ssp-dk-contest-table td:first-child {
  padding-left: 16px;
}

.ssp-dk-contest-table th:first-child {
  border-top-left-radius: 12px;
}

.ssp-dk-contest-table td:first-child {
  font-weight: 700;
  letter-spacing: 0.01em;
}

.ssp-dk-contest-table tbody tr:hover td:first-child {
  color: #1de1d1;
}

.ssp-dk-contest-table tbody tr:last-child td {
  border-bottom: none;
}

.ssp-dk-contest-table tbody tr:hover td {
  background: rgba(29, 225, 209, 0.04);
}

.ssp-dk-contest-table tbody td.no-results {
  position: static;
  left: auto;
  background: #0f1928;
}

.ssp-dk-contest-table .contest-name strong {
  font-size: 15px;
  color: #ffffff;
}

.ssp-dk-contest-table .contest-meta {
  display: block;
  margin-top: 6px;
  color: rgba(245, 251, 255, 0.68);
  font-size: 12px;
}

.ssp-dk-contest-table .flagship-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #1de1d1;
  color: #042026;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 8px 18px rgba(29, 225, 209, 0.35);
}

.ssp-dk-contest-table .flagged-status {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ssp-dk-contest-table .flagged-at {
  font-size: 12px;
  color: rgba(245, 251, 255, 0.6);
}

.ssp-dk-contest-table .mark-flagship.button.button-primary {
  box-shadow: 0 12px 22px rgba(29, 225, 209, 0.35);
}

.ssp-dk-contest-table .no-results {
  text-align: center;
  font-style: italic;
  color: rgba(245, 251, 255, 0.7);
  padding: 24px 16px;
}

.ssp-dk-contest-pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.ssp-dk-contest-pagination-buttons {
  display: flex;
  gap: 12px;
}

.ssp-dk-contest-pagination .button {
  background: #132336;
  border-color: #1b2738;
  color: #f5fbff;
  box-shadow: none;
}

.ssp-dk-contest-pagination .button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.ssp-dk-contest-pagination .button:not(:disabled):hover {
  border-color: #1de1d1;
  color: #1de1d1;
}

.ssp-dk-contest-pagination .page-info {
  font-weight: 600;
  color: rgba(157, 228, 255, 0.85);
}

@media (max-width: 960px) {
  .ssp-dk-contest-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .ssp-dk-contest-meta {
    margin-top: 12px;
  }

  .ssp-dk-contest-widget {
    padding: 24px;
  }

  .ssp-dk-contest-widget::after,
  .ssp-dk-contest-widget::before {
    inset: 24px;
  }
}

@media (max-width: 600px) {
  .ssp-dk-contest-actions,
  .ssp-dk-contest-actions__inner {
    flex-direction: column;
    align-items: stretch;
  }

  .ssp-dk-contest-actions .ssp-button,
  .ssp-dk-contest-actions__inner .ssp-button {
    width: 100%;
  }

  .ssp-dk-contest-table-wrapper {
    overflow-x: auto;
  }

  .ssp-dk-contest-table {
    min-width: 640px;
  }
}

/* =========================================================
   NHL DraftKings Lineup Card
   Unified styling for lineup cards rendered by the NHL DK optimizer.
   ========================================================= */

.ssp-nhl-draftkings-lineup-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  background: linear-gradient(160deg, rgba(5, 20, 30, 0.95), rgba(2, 9, 14, 0.95));
  border: 1px solid rgba(29, 225, 209, 0.24);
  border-radius: 14px;
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.55);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ssp-nhl-draftkings-lineup-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 26px 54px rgba(0, 0, 0, 0.6);
}

.ssp-nhl-draftkings-lineup-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 18px 20px 14px;
  border-bottom: 1px solid rgba(29, 225, 209, 0.24);
  background: linear-gradient(180deg, rgba(11, 32, 41, 0.9), rgba(5, 18, 24, 0.75));
  gap: 16px;
}

.ssp-nhl-draftkings-lineup-card__title {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ssp-nhl-draftkings-lineup-card__title h4 {
  margin: 0;
  font-size: 18px;
  line-height: 1.2;
  color: #1de1d1;
  letter-spacing: 0.04em;
}

.ssp-nhl-draftkings-lineup-card__stack-type {
  font-size: 12px;
  color: rgba(29, 225, 209, 0.75);
  margin: 0;
  display: block;
  letter-spacing: 0.04em;
}

.ssp-nhl-draftkings-lineup-card__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ssp-nhl-draftkings-lineup-card__table-wrapper {
  width: 100%;
  padding: 0 20px 20px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.ssp-nhl-draftkings-lineup-card__table {
  width: 100%;
  min-width: 520px;
  border-collapse: separate;
  border-spacing: 0;
}

.ssp-nhl-draftkings-lineup-card__table thead th {
  padding: 10px 8px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(29, 225, 209, 0.08);
  border-bottom: 1px solid rgba(29, 225, 209, 0.25);
}

.ssp-nhl-draftkings-lineup-card__table tbody td {
  padding: 11px 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.ssp-nhl-draftkings-lineup-card__table tbody tr:not(.late-swap-changed):nth-child(odd) td {
  background: rgba(255, 255, 255, 0.02);
}

.ssp-nhl-draftkings-lineup-card__table tbody tr:not(.late-swap-changed):hover td {
  background: rgba(29, 225, 209, 0.12);
}

.ssp-nhl-draftkings-lineup-card__table tfoot th {
  padding: 12px 8px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1de1d1;
  background: rgba(29, 225, 209, 0.08);
  border-top: 1px solid rgba(29, 225, 209, 0.24);
}

.ssp-nhl-draftkings-lineup-card__table tbody tr.late-swap-changed td {
  background-color: rgba(46, 204, 113, 0.22);
  color: #e9ffef;
}

@media (max-width: 900px) {
  .ssp-nhl-draftkings-lineup-card__table {
    min-width: 100%;
  }
}

@media (max-width: 600px) {
  .ssp-nhl-draftkings-lineup-card__title {
    gap: 4px;
  }

  .ssp-nhl-draftkings-lineup-card__table {
    min-width: 100%;
  }
}
