/* ======================================================
   RIDDLER'S PROJECT — FANTASY LEAGUE
   Premium dark/gold frontend styling
   ====================================================== */

.rp-fantasy-wrap {
  width: 100%;
  margin: 0 auto;
  padding: 48px 22px 76px;
  color: var(--rp-text, #e0e0e0) !important;
  font-family: var(--rp-font-body, Inter, sans-serif) !important;
}

/* Hero */
.rp-fantasy-hero {
  position: relative;
  overflow: hidden;
  max-width: 1120px;
  margin: 0 auto 34px !important;
  padding: 42px 34px !important;
  border: 1px solid rgba(218,188,115,.24) !important;
  border-radius: var(--rp-radius-lg, 26px) !important;
  background:
    radial-gradient(circle at top left, rgba(218,188,115,.12), transparent 36%),
    linear-gradient(145deg, var(--rp-card, #252522), var(--rp-card-dark, #191917)) !important;
  box-shadow: 0 24px 50px rgba(0,0,0,.38), inset 0 1px 0 rgba(255,255,255,.035) !important;
  text-align: center;
}

.rp-fantasy-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg,rgba(218,188,115,.06),transparent 42%,rgba(218,188,115,.025));
}

.rp-fantasy-hero > * {
  position: relative;
  z-index: 1;
}

.rp-fantasy-kicker {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px !important;
  padding: 7px 14px !important;
  border: 1px solid rgba(218,188,115,.28) !important;
  border-radius: 999px !important;
  background: rgba(218,188,115,.06) !important;
  color: var(--rp-gold, #dabc73) !important;
  font-family: var(--rp-font-head, "Chakra Petch", sans-serif) !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  letter-spacing: .14em !important;
  text-transform: uppercase !important;
}

.rp-fantasy-hero h2 {
  margin: 0 0 16px !important;
  color: var(--rp-gold, #dabc73) !important;
  font-family: var(--rp-font-head, "Chakra Petch", sans-serif) !important;
  font-size: clamp(38px,3.2vw,54px) !important;
  font-weight: 900 !important;
  line-height: 1.08 !important;
  letter-spacing: .02em !important;
}

.rp-fantasy-hero p {
  max-width: 780px !important;
  margin: 0 auto !important;
  color: rgba(224,224,224,.82) !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  line-height: 1.62 !important;
}

/* Cards / grids */
.rp-fantasy-grid {
  max-width: 1120px;
  margin: 18px auto 22px !important;
  display: grid !important;
  grid-template-columns: repeat(3,minmax(0,1fr)) !important;
  gap: 22px !important;
}

.rp-fantasy-card,
.rp-fantasy-rules-card,
.rp-fantasy-mo-card {
  position: relative;
  overflow: hidden;
  max-width: 1120px;
  margin-left: auto !important;
  margin-right: auto !important;
  border: 1px solid rgba(218,188,115,.22) !important;
  border-radius: var(--rp-radius-lg, 26px) !important;
  background:
    radial-gradient(circle at top left, rgba(218,188,115,.10), transparent 34%),
    linear-gradient(145deg, var(--rp-card, #252522), var(--rp-card-dark, #191917)) !important;
  box-shadow: 0 24px 50px rgba(0,0,0,.38), inset 0 1px 0 rgba(255,255,255,.035) !important;
  color: var(--rp-text, #e0e0e0) !important;
}

.rp-fantasy-card {
  padding: 28px !important;
}

.rp-fantasy-card::before,
.rp-fantasy-rules-card::before,
.rp-fantasy-mo-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg,rgba(218,188,115,.06),transparent 42%,rgba(218,188,115,.025));
}

.rp-fantasy-card > *,
.rp-fantasy-rules-card > *,
.rp-fantasy-mo-card > * {
  position: relative;
  z-index: 1;
}

.rp-fantasy-card h3,
.rp-fantasy-rules-card h3 {
  margin: 0 0 12px !important;
  color: var(--rp-gold, #dabc73) !important;
  font-family: var(--rp-font-head, "Chakra Petch", sans-serif) !important;
  font-size: 24px !important;
  font-weight: 900 !important;
  line-height: 1.15 !important;
  letter-spacing: .02em !important;
  text-transform: none !important;
}

.rp-fantasy-card h3:first-child,
.rp-fantasy-rules-card h3:first-child {
  font-size: 27px !important;
}

.rp-fantasy-big {
  color: var(--rp-gold, #dabc73) !important;
  font-family: var(--rp-font-head, "Chakra Petch", sans-serif) !important;
  font-size: 30px !important;
  font-weight: 900 !important;
  line-height: 1.15 !important;
}

.rp-fantasy-muted,
.rp-fantasy-match-meta {
  color: var(--rp-muted, rgba(224,224,224,.70)) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.58 !important;
}

/* Notices */
.rp-fantasy-notice {
  max-width: 1120px;
  margin: 18px auto !important;
  padding: 16px 18px !important;
  border: 1px solid rgba(218,188,115,.22) !important;
  border-radius: 16px !important;
  background: rgba(218,188,115,.06) !important;
  color: rgba(224,224,224,.86) !important;
  font-weight: 800 !important;
}

.rp-fantasy-notice-success {
  border-color: rgba(87,190,120,.34) !important;
  background: rgba(87,190,120,.10) !important;
}

.rp-fantasy-notice-danger {
  border-color: rgba(220,70,70,.34) !important;
  background: rgba(220,70,70,.10) !important;
}

/* Round header */
.rp-fantasy-round-head {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 18px !important;
  margin-bottom: 22px !important;
}

.rp-fantasy-lock,
.rp-fantasy-rules-pill {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: 7px 14px !important;
  border: 1px solid rgba(218,188,115,.28) !important;
  border-radius: 999px !important;
  background: rgba(218,188,115,.06) !important;
  color: var(--rp-gold, #dabc73) !important;
  font-family: var(--rp-font-head, "Chakra Petch", sans-serif) !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  letter-spacing: .12em !important;
  text-transform: uppercase !important;
  white-space: nowrap;
}

.rp-fantasy-lock-open {
  border-color: rgba(87,190,120,.34) !important;
  background: rgba(87,190,120,.10) !important;
  color: #9ee8b2 !important;
}

/* Tables */
.rp-fantasy-table {
  width: 100% !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  overflow: hidden !important;
  border: 1px solid rgba(218,188,115,.16) !important;
  border-radius: 18px !important;
  background: rgba(0,0,0,.12) !important;
}

.rp-fantasy-table th,
.rp-fantasy-table td {
  padding: 15px 14px !important;
  border-bottom: 1px solid rgba(218,188,115,.12) !important;
  text-align: left !important;
  vertical-align: middle !important;
}

.rp-fantasy-table th {
  background: rgba(218,188,115,.075) !important;
  color: rgba(218,188,115,.88) !important;
  font-family: var(--rp-font-head, "Chakra Petch", sans-serif) !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  letter-spacing: .14em !important;
  text-transform: uppercase !important;
}

.rp-fantasy-table td {
  color: rgba(224,224,224,.86) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
}

.rp-fantasy-table tbody tr {
  transition: background .18s ease, border-color .18s ease;
}

.rp-fantasy-table tbody tr:hover td {
  background: rgba(218,188,115,.035) !important;
}

.rp-fantasy-table tbody td:first-child {
  border-left: 3px solid transparent !important;
  font-weight: 900 !important;
  color: var(--rp-gold, #dabc73) !important;
}

.rp-fantasy-match-main {
  color: var(--rp-text, #e0e0e0) !important;
  font-weight: 900 !important;
}

/* Champion / promotion / relegation rows */
.rp-fantasy-table tbody tr.rp-fantasy-row-champion td {
  background: linear-gradient(90deg, rgba(218,188,115,.20), rgba(218,188,115,.065)) !important;
  border-bottom-color: rgba(218,188,115,.25) !important;
}

.rp-fantasy-table tbody tr.rp-fantasy-row-champion td:first-child {
  border-left-color: var(--rp-gold, #dabc73) !important;
}

.rp-fantasy-table tbody tr.rp-fantasy-row-promotion td {
  background: linear-gradient(90deg, rgba(87,190,120,.18), rgba(87,190,120,.055)) !important;
  border-bottom-color: rgba(87,190,120,.22) !important;
}

.rp-fantasy-table tbody tr.rp-fantasy-row-promotion td:first-child {
  border-left-color: #57be78 !important;
}

.rp-fantasy-table tbody tr.rp-fantasy-row-relegation td {
  background: linear-gradient(90deg, rgba(220,70,70,.18), rgba(220,70,70,.055)) !important;
  border-bottom-color: rgba(220,70,70,.22) !important;
}

.rp-fantasy-table tbody tr.rp-fantasy-row-relegation td:first-child {
  border-left-color: #dc4646 !important;
}

.rp-fantasy-table tbody tr.rp-fantasy-position-current-user td {
  box-shadow: inset 0 0 0 1px rgba(218,188,115,.22) !important;
}

/* Status pills */
.rp-fantasy-status {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: 5px 10px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  font-family: var(--rp-font-head, "Chakra Petch", sans-serif) !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
}

.rp-fantasy-status-champion {
  background: rgba(218,188,115,.18) !important;
  color: #f3d98f !important;
}

.rp-fantasy-status-promotion {
  background: rgba(87,190,120,.16) !important;
  color: #9ee8b2 !important;
}

.rp-fantasy-status-relegation {
  background: rgba(220,70,70,.16) !important;
  color: #ff9a9a !important;
}

.rp-fantasy-status-safe {
  background: rgba(224,224,224,.07) !important;
  color: rgba(224,224,224,.72) !important;
}

/* Prediction buttons */
.rp-fantasy-picks {
  display: inline-flex !important;
  gap: 8px !important;
}

.rp-fantasy-picks input {
  position: absolute !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.rp-fantasy-picks label {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 42px !important;
  height: 38px !important;
  border: 1px solid rgba(218,188,115,.45) !important;
  border-radius: 999px !important;
  background: rgba(218,188,115,.045) !important;
  color: var(--rp-gold, #dabc73) !important;
  font-family: var(--rp-font-head, "Chakra Petch", sans-serif) !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  cursor: pointer !important;
  transition: background .22s ease, color .22s ease, border-color .22s ease;
}

.rp-fantasy-picks label:hover {
  background: rgba(218,188,115,.10) !important;
  color: #f0d894 !important;
  border-color: #f0d894 !important;
}

.rp-fantasy-picks input:checked + label {
  background: var(--rp-gold, #dabc73) !important;
  color: #1f1f1d !important;
  border-color: var(--rp-gold, #dabc73) !important;
}

.rp-fantasy-picks input:disabled + label {
  opacity: .45 !important;
  cursor: not-allowed !important;
}

/* Buttons */
.rp-fantasy-button,
.rp-fantasy-standings-link,
.rp-fantasy-mo-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 46px !important;
  padding: 0 20px !important;
  border-radius: 999px !important;
  font-family: var(--rp-font-head, "Chakra Petch", sans-serif) !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  letter-spacing: .06em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  transition: background .22s ease, color .22s ease, border-color .22s ease, filter .22s ease !important;
}

.rp-fantasy-button,
.rp-fantasy-mo-btn-primary {
  border: 1px solid rgba(218,188,115,.75) !important;
  background: var(--rp-gold, #dabc73) !important;
  color: #1f1f1d !important;
  box-shadow: 0 16px 32px rgba(0,0,0,.30) !important;
}

.rp-fantasy-button:hover,
.rp-fantasy-mo-btn-primary:hover {
  color: #1f1f1d !important;
  filter: brightness(1.05) !important;
}

.rp-fantasy-standings-link,
.rp-fantasy-mo-btn-secondary {
  border: 1px solid rgba(218,188,115,.75) !important;
  background: transparent !important;
  color: var(--rp-gold, #dabc73) !important;
}

.rp-fantasy-standings-link:hover,
.rp-fantasy-mo-btn-secondary:hover {
  background: rgba(218,188,115,.08) !important;
  color: #f0d894 !important;
  border-color: #f0d894 !important;
}

.rp-fantasy-actions {
  margin-top: 22px !important;
  display: flex !important;
  gap: 12px !important;
  flex-wrap: wrap !important;
}

/* All standings page */
.rp-fantasy-standings-toolbar {
  max-width: 1120px;
  margin: 0 auto 24px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
  flex-wrap: wrap !important;
}

.rp-fantasy-league-title-row {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 14px !important;
  margin-bottom: 18px !important;
  flex-wrap: wrap !important;
}

.rp-fantasy-league-title-row h3 {
  margin-bottom: 6px !important;
}

.rp-fantasy-league-meta {
  display: flex !important;
  gap: 8px !important;
  flex-wrap: wrap !important;
}

.rp-fantasy-pill {
  display: inline-flex !important;
  padding: 6px 10px !important;
  border: 1px solid rgba(218,188,115,.18) !important;
  border-radius: 999px !important;
  background: rgba(218,188,115,.045) !important;
  color: rgba(218,188,115,.82) !important;
  font-family: var(--rp-font-head, "Chakra Petch", sans-serif) !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
}

/* Rules box */

.rp-fantasy-rules-head {
  display: flex !important;
  justify-content: space-between !important;
  align-items: flex-start !important;
  gap: 16px !important;
  flex-wrap: wrap !important;
}

.rp-fantasy-rules-subtitle {
  color: var(--rp-muted, rgba(224,224,224,.70)) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.58 !important;
}

.rp-fantasy-rules-grid {
  display: grid !important;
  grid-template-columns: repeat(3,minmax(0,1fr)) !important;
}

.rp-fantasy-rule-item {
  border: 1px solid rgba(218,188,115,.16) !important;
  background: rgba(218,188,115,.045) !important;
}

.rp-fantasy-rule-label {
  color: rgba(218,188,115,.80) !important;
  font-family: var(--rp-font-head, "Chakra Petch", sans-serif) !important;
  font-weight: 900 !important;
  letter-spacing: .12em !important;
  text-transform: uppercase !important;
}

.rp-fantasy-rule-value {
  color: var(--rp-gold, #dabc73) !important;
  font-family: var(--rp-font-head, "Chakra Petch", sans-serif) !important;
  font-weight: 900 !important;
  line-height: 1.2 !important;
}

.rp-fantasy-rule-note {
  margin-top: 7px !important;
  color: var(--rp-muted, rgba(224,224,224,.64)) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.55 !important;
}

/* Manager's Office fantasy box */
.rp-fantasy-mo-card {
  padding: 28px !important;
  margin: 0 0 28px !important;
}

.rp-fantasy-mo-top {
  display: flex !important;
  justify-content: space-between !important;
  align-items: flex-start !important;
  gap: 16px !important;
  margin-bottom: 20px !important;
  flex-wrap: wrap !important;
}

.rp-fantasy-mo-kicker {
  display: inline-block !important;
  margin-bottom: 10px !important;
  color: rgba(218,188,115,.78) !important;
  font-family: var(--rp-font-head, "Chakra Petch", sans-serif) !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  letter-spacing: .16em !important;
  text-transform: uppercase !important;
}

.rp-fantasy-mo-title {
  margin: 0 0 10px !important;
  color: var(--rp-gold, #dabc73) !important;
  font-family: var(--rp-font-head, "Chakra Petch", sans-serif) !important;
  font-size: clamp(30px,2.5vw,42px) !important;
  font-weight: 900 !important;
  line-height: 1.12 !important;
}

.rp-fantasy-mo-text {
  color: var(--rp-muted, rgba(224,224,224,.70)) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.58 !important;
}

.rp-fantasy-mo-grid {
  display: grid !important;
  grid-template-columns: repeat(4,minmax(0,1fr)) !important;
  gap: 14px !important;
  margin: 20px 0 !important;
}

.rp-fantasy-mo-item {
  padding: 16px !important;
  border: 1px solid rgba(218,188,115,.16) !important;
  border-radius: 16px !important;
  background: rgba(218,188,115,.045) !important;
}

.rp-fantasy-mo-item-label {
  margin-bottom: 8px !important;
  color: rgba(218,188,115,.80) !important;
  font-family: var(--rp-font-head, "Chakra Petch", sans-serif) !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  letter-spacing: .12em !important;
  text-transform: uppercase !important;
}

.rp-fantasy-mo-item-value {
  color: var(--rp-gold, #dabc73) !important;
  font-family: var(--rp-font-head, "Chakra Petch", sans-serif) !important;
  font-size: 26px !important;
  font-weight: 900 !important;
  line-height: 1.15 !important;
}

.rp-fantasy-mo-item-small {
  margin-top: 7px !important;
  color: var(--rp-muted, rgba(224,224,224,.64)) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.5 !important;
}

.rp-fantasy-mo-badge {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: 7px 14px !important;
  border-radius: 999px !important;
  font-family: var(--rp-font-head, "Chakra Petch", sans-serif) !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  letter-spacing: .12em !important;
  text-transform: uppercase !important;
}

.rp-fantasy-mo-badge-locked {
  color: #ff9a9a !important;
}

.rp-fantasy-mo-actions {
  display: flex !important;
  gap: 12px !important;
  flex-wrap: wrap !important;
}

/* Responsive */
@media (max-width: 980px) {
  .rp-fantasy-grid,
  .rp-fantasy-rules-grid,
  .rp-fantasy-mo-grid {
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;
  }
}

@media (max-width: 760px) {

  .rp-fantasy-grid,
  .rp-fantasy-rules-grid,
  .rp-fantasy-mo-grid {
    grid-template-columns: 1fr !important;
  }

  .rp-fantasy-hero {
    padding: 32px 22px !important;
  }

  .rp-fantasy-card,
  .rp-fantasy-rules-card,
  .rp-fantasy-mo-card {
    padding: 22px !important;
  }

  .rp-fantasy-round-head,
  .rp-fantasy-standings-toolbar,
  .rp-fantasy-mo-top {
    flex-direction: column !important;
  }

  .rp-fantasy-table {
    display: block !important;
    overflow-x: auto !important;
    white-space: nowrap !important;
  }
}

/* Manager’s Office fantasy section cleanup */

.rp-mod-section--fantasy-clean .rp-fantasy-mo-top {
  justify-content: flex-end !important;
  margin-bottom: 18px !important;
}

.rp-mod-section--fantasy-clean .rp-fantasy-mo-card {
  margin-top: 0 !important;
}

/* Fantasy prediction table column proportions */
.rp-fantasy-card form .rp-fantasy-table {
  table-layout: fixed !important;
}

.rp-fantasy-card form .rp-fantasy-table th:nth-child(1),
.rp-fantasy-card form .rp-fantasy-table td:nth-child(1) {
  width: 48% !important;
}

.rp-fantasy-card form .rp-fantasy-table th:nth-child(2),
.rp-fantasy-card form .rp-fantasy-table td:nth-child(2) {
  width: 15% !important;
}

.rp-fantasy-card form .rp-fantasy-table th:nth-child(3),
.rp-fantasy-card form .rp-fantasy-table td:nth-child(3) {
  width: 20% !important;
  white-space: nowrap !important;
}

.rp-fantasy-card form .rp-fantasy-table th:nth-child(4),
.rp-fantasy-card form .rp-fantasy-table td:nth-child(4) {
  width: 17% !important;
}

.rp-fantasy-card form .rp-fantasy-match-main {
  max-width: 100% !important;
  white-space: normal !important;
  word-break: normal !important;
}

.rp-fantasy-card form .rp-fantasy-picks {
  white-space: nowrap !important;
}

/* Softer Fantasy table borders */
.rp-fantasy-table {
  border-color: rgba(218,188,115,.24) !important;
}

.rp-fantasy-table th,
.rp-fantasy-table td {
  border-color: rgba(218,188,115,.16) !important;
}

.rp-fantasy-table th {
  border-bottom-color: rgba(218,188,115,.24) !important;
}

.rp-fantasy-table tbody tr:last-child td {
  border-bottom: 0 !important;
}

/* Remove harsh white inner borders if browser/theme adds them */
.rp-fantasy-table,
.rp-fantasy-table th,
.rp-fantasy-table td {
  outline: none !important;
  box-shadow: none;
}

/* Fantasy live table status */
.rp-fantasy-live-status {
  max-width: 1120px;
  margin: 24px auto 20px !important;
  padding: 13px 18px !important;
  border: 1px solid rgba(218,188,115,.18) !important;
  border-radius: 999px !important;
  background: rgba(218,188,115,.045) !important;
  color: rgba(224,224,224,.74) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 14px !important;
  flex-wrap: wrap !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 1.4 !important;
}

.rp-fantasy-live-status strong {
  color: var(--rp-gold, #dabc73) !important;
  font-family: var(--rp-font-head, "Chakra Petch", sans-serif) !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  letter-spacing: .12em !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
}

.rp-fantasy-live-status span {
  color: rgba(224,224,224,.72) !important;
}

.rp-fantasy-live-status em {
  color: rgba(224,224,224,.86) !important;
  font-style: normal !important;
}

.rp-fantasy-rules-legal-note {
  border: 1px solid rgba(218,188,115,.14) !important;
  background: rgba(0,0,0,.14) !important;
  color: rgba(224,224,224,.58) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 1.55 !important;
}

.rp-fantasy-rules-legal-note span {
  display: inline-block !important;
  margin-bottom: 5px !important;
  color: rgba(218,188,115,.72) !important;
  font-family: var(--rp-font-head, "Chakra Petch", sans-serif) !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  letter-spacing: .12em !important;
  text-transform: uppercase !important;
}

.rp-fantasy-rules-legal-note p {
  margin: 0 !important;
}

.rp-fantasy-rules-legal-note a {
  color: rgba(218,188,115,.88) !important;
  font-weight: 900 !important;
  text-decoration: none !important;
}

.rp-fantasy-rules-legal-note a:hover {
  color: #f0d894 !important;
  text-decoration: underline !important;
}

.rp-fantasy-picks input:checked:disabled + label {
  background: var(--rp-gold, #dabc73) !important;
  color: #1f1f1d !important;
  border-color: var(--rp-gold, #dabc73) !important;
  opacity: .72 !important;
}

/* Fantasy round tabs */
.rp-fantasy-round-tabs {
  max-width: 1120px;
  margin: 0 auto 18px !important;
  display: flex !important;
  gap: 10px !important;
  flex-wrap: wrap !important;
  align-items: center !important;
}

.rp-fantasy-round-tab {
  display: inline-flex !important;
  align-items: center !important;
  gap: 9px !important;
  padding: 10px 14px !important;
  border: 1px solid rgba(218,188,115,.24) !important;
  border-radius: 999px !important;
  background: rgba(218,188,115,.045) !important;
  color: rgba(224,224,224,.76) !important;
  cursor: pointer !important;
  font-family: var(--rp-font-head, "Chakra Petch", sans-serif) !important;
  transition: background .22s ease, color .22s ease, border-color .22s ease;
}

.rp-fantasy-round-tab span {
  color: inherit !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  letter-spacing: .06em !important;
  text-transform: uppercase !important;
}

.rp-fantasy-round-tab em {
  padding: 4px 8px !important;
  border-radius: 999px !important;
  background: rgba(0,0,0,.18) !important;
  color: rgba(224,224,224,.62) !important;
  font-size: 11px !important;
  font-style: normal !important;
  font-weight: 900 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
}

.rp-fantasy-round-tab:hover,
.rp-fantasy-round-tab.is-active {
  border-color: rgba(218,188,115,.62) !important;
  background: rgba(218,188,115,.11) !important;
  color: var(--rp-gold, #dabc73) !important;
}

.rp-fantasy-round-tab.is-active em {
  background: rgba(218,188,115,.16) !important;
  color: #f0d894 !important;
}

.rp-fantasy-round-panel {
  display: none !important;
}

.rp-fantasy-round-panel.is-active {
  display: block !important;
}

/* Fantasy top summary cards polish */

/* Fantasy top summary cards polish */
.rp-fantasy-summary-grid {
  align-items: stretch !important;
}

.rp-fantasy-summary-card {
  min-height: 205px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
}

.rp-fantasy-summary-card h3 {
  margin-bottom: 18px !important;
}

.rp-fantasy-summary-card .rp-fantasy-big {
  margin-bottom: 14px !important;
}

.rp-fantasy-summary-meta {
  margin-top: auto !important;
  padding-top: 12px !important;
}

/* Fantasy match note / preview */
.rp-fantasy-match-note {
  margin-top: 7px !important;
  max-width: 560px !important;
  color: rgba(224,224,224,.62) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 1.55 !important;
}

.rp-fantasy-th-note {
  color: rgba(224,224,224,.58) !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: .04em !important;
  text-transform: none !important;
}

.rp-fantasy-fixture-note {
  margin-top: 7px !important;
  max-width: 820px !important;
  color: rgba(224,224,224,.58) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.55 !important;
}

/* Fantasy round nav with Manager's Office link */
.rp-fantasy-round-nav {
  max-width: 1120px;
  margin: 0 auto 18px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
  flex-wrap: wrap !important;
}

.rp-fantasy-round-nav .rp-fantasy-round-tabs {
  margin: 0 !important;
  max-width: none !important;
  flex: 1 1 auto !important;
}

.rp-fantasy-office-link {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 44px !important;
  padding: 0 18px !important;
  border: 1px solid rgba(218,188,115,.46) !important;
  border-radius: 999px !important;
  background: rgba(218,188,115,.045) !important;
  color: var(--rp-gold, #dabc73) !important;
  font-family: var(--rp-font-head, "Chakra Petch", sans-serif) !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  transition: background .22s ease, color .22s ease, border-color .22s ease;
}

.rp-fantasy-office-link:hover {
  background: rgba(218,188,115,.11) !important;
  color: #f0d894 !important;
  border-color: rgba(218,188,115,.72) !important;
}

@media (max-width: 760px) {
  .rp-fantasy-round-nav {
    align-items: stretch !important;
  }

  .rp-fantasy-office-link {
    width: 100% !important;
  }
}

/* Fantasy join card */
.rp-fantasy-join-card {
  margin-top: 18px !important;
}

.rp-fantasy-join-card p.rp-fantasy-muted {
  max-width: 760px !important;
  margin-top: 18px !important;
  line-height: 1.65 !important;
}

.rp-fantasy-join-card strong {
  color: var(--rp-gold, #dabc73) !important;
}

.rp-fantasy-mo-empty-note {
  margin-top: 8px !important;
  color: rgba(224,224,224,.68) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.55 !important;
}

.rp-fantasy-mo-actions .rp-fantasy-join-inline-form {
  margin: 0 !important;
}

.rp-fantasy-mo-actions .rp-fantasy-join-inline-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 44px !important;
  padding: 0 22px !important;
  border: 1px solid rgba(218,188,115,.75) !important;
  border-radius: 999px !important;
  background: var(--rp-gold, #dabc73) !important;
  color: #1f1f1d !important;
  font-family: var(--rp-font-head, "Chakra Petch", sans-serif) !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  letter-spacing: .06em !important;
  cursor: pointer !important;
  text-transform: uppercase !important;
}

.rp-fantasy-mo-actions .rp-fantasy-join-inline-button:hover {
  background: #f0d894 !important;
  border-color: #f0d894 !important;
  color: #1f1f1d !important;
}

/* Disable current user row highlight in Fantasy tables */
.rp-fantasy-table tr.rp-fantasy-position-current-user,
.rp-fantasy-table tr.rp-fantasy-position-current-user td {
  background: inherit !important;
  box-shadow: none !important;
  outline: none !important;
}

.rp-fantasy-table tr.rp-fantasy-position-current-user td:first-child {
  border-left: inherit !important;
}

/* Fantasy standings reward column + season countdown */
.rp-fantasy-season-left-pill {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 34px !important;
  padding: 0 14px !important;
  border: 1px solid rgba(218,188,115,.26) !important;
  border-radius: 999px !important;
  background: rgba(218,188,115,.055) !important;
  color: rgba(218,188,115,.9) !important;
  font-family: var(--rp-font-head, "Chakra Petch", sans-serif) !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
}

.rp-fantasy-standings-table th:nth-child(1),
.rp-fantasy-standings-table td:nth-child(1) {
  width: 64px !important;
}

.rp-fantasy-standings-table th:nth-child(3),
.rp-fantasy-standings-table td:nth-child(3),
.rp-fantasy-standings-table th:nth-child(4),
.rp-fantasy-standings-table td:nth-child(4),
.rp-fantasy-standings-table th:nth-child(5),
.rp-fantasy-standings-table td:nth-child(5),
.rp-fantasy-standings-table th:nth-child(6),
.rp-fantasy-standings-table td:nth-child(6),
.rp-fantasy-standings-table th:nth-child(7),
.rp-fantasy-standings-table td:nth-child(7) {
  width: 88px !important;
}

.rp-fantasy-standings-table th:nth-child(8),
.rp-fantasy-standings-table td:nth-child(8) {
  width: 100px !important;
}

.rp-fantasy-standings-table th:nth-child(9),
.rp-fantasy-standings-table td:nth-child(9) {
  width: 140px !important;
}

.rp-fantasy-reward-label {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 58px !important;
  padding: 6px 9px !important;
  border: 1px solid rgba(218,188,115,.22) !important;
  border-radius: 999px !important;
  background: rgba(218,188,115,.075) !important;
  color: var(--rp-gold, #dabc73) !important;
  font-family: var(--rp-font-head, "Chakra Petch", sans-serif) !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  letter-spacing: .04em !important;
  white-space: nowrap !important;
}

/* Manager's Office Fantasy box - 3 equal wide cards */
.rp-mod-section--fantasy .rp-fantasy-mo-grid,
.rp-mod-page .rp-fantasy-mo-grid {
  width: 100% !important;
  max-width: none !important;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 18px !important;
  margin: 22px 0 26px !important;
}

.rp-mod-section--fantasy .rp-fantasy-mo-item,
.rp-mod-page .rp-fantasy-mo-item {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  min-height: 170px !important;
  padding: 20px 18px 18px !important;
}

.rp-mod-section--fantasy .rp-fantasy-mo-item-value,
.rp-mod-page .rp-fantasy-mo-item-value {
  max-width: 100% !important;
}

/* Mobile/tablet fallback */
@media (max-width: 980px) {
  .rp-mod-section--fantasy .rp-fantasy-mo-grid,
  .rp-mod-page .rp-fantasy-mo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 640px) {
  .rp-mod-section--fantasy .rp-fantasy-mo-grid,
  .rp-mod-page .rp-fantasy-mo-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Fantasy League - 3 summary boxes equally wide */
.rp-fantasy-summary-grid,
.rp-fantasy-wrap .rp-fantasy-summary-grid {
  width: 100% !important;
  max-width: none !important;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 18px !important;
  align-items: stretch !important;
}

.rp-fantasy-summary-grid .rp-fantasy-summary-card,
.rp-fantasy-wrap .rp-fantasy-summary-grid .rp-fantasy-summary-card,
.rp-fantasy-summary-grid > .rp-fantasy-card {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  min-height: 210px !important;
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
}

.rp-fantasy-summary-grid .rp-fantasy-big {
  display: block !important;
  width: 100% !important;
}

.rp-fantasy-summary-grid .rp-fantasy-muted,
.rp-fantasy-summary-grid .rp-fantasy-summary-meta {
  margin-top: auto !important;
}

/* tablet */
@media (max-width: 980px) {
  .rp-fantasy-summary-grid,
  .rp-fantasy-wrap .rp-fantasy-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* mobile */
@media (max-width: 640px) {
  .rp-fantasy-summary-grid,
  .rp-fantasy-wrap .rp-fantasy-summary-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Fantasy League - clean centered top summary cards */
.rp-fantasy-wrap .rp-fantasy-summary-grid {
  width: 100% !important;
  max-width: 1120px !important;
  margin: 18px auto 12px !important;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 18px !important;
  align-items: stretch !important;
}

.rp-fantasy-wrap .rp-fantasy-summary-grid .rp-fantasy-summary-card {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}

.rp-fantasy-wrap .rp-fantasy-summary-card h3 {
  color: rgba(218,188,115,.72) !important;
  font-family: var(--rp-font-head, "Chakra Petch", sans-serif) !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  line-height: 1.2 !important;
  letter-spacing: .16em !important;
  text-transform: uppercase !important;
  height: 22px !important;
  min-height: 22px !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.rp-fantasy-wrap .rp-fantasy-summary-card .rp-fantasy-big {
  display: block !important;
  width: 100% !important;
  color: var(--rp-gold, #dabc73) !important;
  font-family: var(--rp-font-head, "Chakra Petch", sans-serif) !important;
  font-weight: 900 !important;
  line-height: 1.14 !important;
  letter-spacing: .02em !important;
}

.rp-fantasy-wrap .rp-fantasy-summary-card--deadline .rp-fantasy-big {
  max-width: 300px !important;
  font-size: clamp(25px, 2vw, 32px) !important;
}

.rp-fantasy-wrap .rp-fantasy-summary-card--season .rp-fantasy-big {
  font-size: clamp(34px, 3vw, 44px) !important;
}

.rp-fantasy-wrap .rp-fantasy-summary-card--position .rp-fantasy-big {
  font-size: clamp(40px, 4vw, 56px) !important;
}

.rp-fantasy-wrap .rp-fantasy-summary-card .rp-fantasy-summary-meta {
  display: none !important;
}

.rp-fantasy-season-end-note {
  max-width: 1120px !important;
  margin: 0 auto 28px !important;
  padding: 12px 18px !important;
  border: 1px solid rgba(218,188,115,.18) !important;
  border-radius: 999px !important;
  background: rgba(218,188,115,.045) !important;
  color: rgba(224,224,224,.78) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  flex-wrap: wrap !important;
  text-align: center !important;
}

.rp-fantasy-season-end-note span {
  color: rgba(218,188,115,.72) !important;
  font-family: var(--rp-font-head, "Chakra Petch", sans-serif) !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  letter-spacing: .14em !important;
  text-transform: uppercase !important;
}

.rp-fantasy-season-end-note strong {
  color: rgba(224,224,224,.86) !important;
  font-size: 13px !important;
  font-weight: 800 !important;
}

@media (max-width: 980px) {
  .rp-fantasy-wrap .rp-fantasy-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 640px) {
  .rp-fantasy-wrap .rp-fantasy-summary-grid {
    grid-template-columns: 1fr !important;
  }

  .rp-fantasy-season-end-note {
    border-radius: 18px !important;
  }
}

/* Fantasy League - align summary card labels and values */
.rp-fantasy-wrap .rp-fantasy-summary-grid .rp-fantasy-summary-card {
  min-height: 168px !important;
  padding: 31px 20px 24px !important;
  display: grid !important;
  grid-template-rows: 22px 1fr !important;
  row-gap: 13px !important;
  align-items: start !important;
  justify-content: center !important;
  text-align: center !important;
}

.rp-fantasy-wrap .rp-fantasy-summary-card .rp-fantasy-big {
  align-self: start !important;
  justify-self: center !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: center !important;
}

/* Fantasy round header - period between title and status */

.rp-fantasy-round-main {
  min-width: 0 !important;
}

.rp-fantasy-round-range {
  margin-top: 2px !important;
  border: 1px solid rgba(218,188,115,.22) !important;
  border-radius: 999px !important;
  background: rgba(218,188,115,.055) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  white-space: nowrap !important;
}

.rp-fantasy-round-range span {
  color: rgba(218,188,115,.72) !important;
  font-family: var(--rp-font-head, "Chakra Petch", sans-serif) !important;
  font-weight: 900 !important;
  letter-spacing: .13em !important;
  text-transform: uppercase !important;
  font-size: 11px !important;
}

.rp-fantasy-round-range strong {
  color: rgba(224,224,224,.86) !important;
  font-weight: 900 !important;
  font-size: 13px !important;
}

@media (max-width: 760px) {
  .rp-fantasy-round-head--range {
    grid-template-columns: 1fr !important;
  }

  .rp-fantasy-round-range,
  .rp-fantasy-round-head--range .rp-fantasy-lock {
    justify-self: start !important;
  }

  .rp-fantasy-round-range {
    white-space: normal !important;
    border-radius: 16px !important;
  }
}

/* Fantasy round header - center round period exactly */
.rp-fantasy-round-head--range {
  position: relative !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  grid-template-areas: "main status" !important;
  align-items: start !important;
  gap: 18px !important;
}

.rp-fantasy-round-head--range .rp-fantasy-round-main {
  grid-area: main !important;
  min-width: 0 !important;
}

.rp-fantasy-round-head--range .rp-fantasy-lock {
  grid-area: status !important;
  justify-self: end !important;
}

.rp-fantasy-round-head--range .rp-fantasy-round-range {
  position: absolute !important;
  top: 0 !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  margin: 0 !important;
  z-index: 2 !important;
}

@media (max-width: 900px) {
  .rp-fantasy-round-head--range {
    grid-template-columns: 1fr !important;
    grid-template-areas:
      "main"
      "range"
      "status" !important;
  }

  .rp-fantasy-round-head--range .rp-fantasy-round-range {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    grid-area: range !important;
    justify-self: start !important;
  }

  .rp-fantasy-round-head--range .rp-fantasy-lock {
    justify-self: start !important;
  }
}

/* Fantasy round period - slightly bigger */
.rp-fantasy-round-range {
  padding: 10px 18px !important;
  gap: 11px !important;
}

/* Fantasy League - reduce gap after league table before rules */

/* Fantasy League - unified vertical spacing between main blocks */

/* Main blocks spacing */
.rp-fantasy-wrap .rp-fantasy-hero,
.rp-fantasy-wrap .rp-fantasy-summary-grid,
.rp-fantasy-wrap .rp-fantasy-season-end-note,
.rp-fantasy-wrap .rp-fantasy-round-nav,
.rp-fantasy-wrap .rp-fantasy-round-panel,
.rp-fantasy-wrap > .rp-fantasy-card {
  margin-bottom: 20px !important;
}

/* Remove extra top spacing where it creates double gaps */
.rp-fantasy-wrap .rp-fantasy-grid,
.rp-fantasy-wrap .rp-fantasy-summary-grid,
.rp-fantasy-wrap .rp-fantasy-round-nav {
  margin-top: 0 !important;
}

/* Rules box follows Fantasy League with the same 20px rhythm */

/* Stronger fix for gap after Fantasy shortcode */
.rp-fantasy-wrap + .rp-fantasy-rules-card {
  margin-top: 0 !important;
}

/* Fantasy League - stronger fix for gap between league table and rules */

.rp-fantasy-wrap > .rp-fantasy-card:last-child {
  margin-bottom: 0 !important;
}

.rp-fantasy-wrap + .rp-fantasy-rules-card,
.rp-fantasy-rules-card {
  margin-top: 20px !important;
}

/* Fantasy League - remove extra Elementor/shortcode spacing before rules */

.elementor-widget-container:has(.rp-fantasy-rules-card),
.elementor-widget-shortcode:has(.rp-fantasy-rules-card),
.elementor-element:has(.rp-fantasy-rules-card) {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Fantasy Standings - centered current season header */
.rp-fantasy-wrap .rp-fantasy-standings-season-head {
  max-width: 1120px !important;
  margin: 22px auto 22px !important;
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 116px !important;
  text-align: center !important;
}

.rp-fantasy-standings-season-center {
  text-align: center !important;
  margin: 0 auto !important;
}

.rp-fantasy-standings-season-center .rp-fantasy-kicker {
  margin: 0 auto 14px !important;
}

.rp-fantasy-standings-season-name {
  margin: 0 !important;
  color: var(--rp-gold, #dabc73) !important;
  font-size: clamp(32px, 2.7vw, 42px) !important;
  line-height: 1.12 !important;
  text-align: center !important;
}

.rp-fantasy-standings-season-dates {
  margin-top: 7px !important;
  color: rgba(224,224,224,.76) !important;
  font-size: 15px !important;
  font-weight: 900 !important;
  letter-spacing: .03em !important;
  text-align: center !important;
}

.rp-fantasy-standings-season-head .rp-fantasy-standings-link {
  position: absolute !important;
  right: 0 !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
}

@media (max-width: 860px) {
  .rp-fantasy-wrap .rp-fantasy-standings-season-head {
    min-height: 0 !important;
    flex-direction: column !important;
    gap: 16px !important;
  }

  .rp-fantasy-standings-season-head .rp-fantasy-standings-link {
    position: relative !important;
    right: auto !important;
    top: auto !important;
    transform: none !important;
  }
}

/* Fantasy League - link under user's league table */
.rp-fantasy-league-table-actions {
  margin-top: 22px !important;
  display: flex !important;
  justify-content: flex-end !important;
  align-items: center !important;
}

/* Manager's Office - Fantasy box centered premium layout */
.rp-mod-section--fantasy .rp-fantasy-mo-card,
.rp-mod-section--fantasy-clean .rp-fantasy-mo-card,
.rp-mod-page .rp-fantasy-mo-card {
  padding: 34px 28px 36px !important;
}

/* Center season title area */
.rp-mod-section--fantasy .rp-fantasy-mo-top,
.rp-mod-section--fantasy-clean .rp-fantasy-mo-top,
.rp-mod-page .rp-fantasy-mo-top {
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
  margin-bottom: 26px !important;
}

/* Keep hidden intro hidden if this clean version is active */
.rp-mod-section--fantasy-clean .rp-fantasy-mo-top > div:first-child {
  display: none !important;
}

/* The visible season title block */
.rp-mod-section--fantasy .rp-fantasy-mo-top > div:last-child,
.rp-mod-section--fantasy-clean .rp-fantasy-mo-top > div:last-child,
.rp-mod-page .rp-fantasy-mo-top > div:last-child {
  width: 100% !important;
  max-width: none !important;
  color: var(--rp-gold, #dabc73) !important;
}

/* Season name text */
.rp-mod-section--fantasy .rp-fantasy-mo-top h3,
.rp-mod-section--fantasy-clean .rp-fantasy-mo-top h3,
.rp-mod-page .rp-fantasy-mo-top h3,
.rp-mod-section--fantasy .rp-fantasy-mo-top strong,
.rp-mod-section--fantasy-clean .rp-fantasy-mo-top strong,
.rp-mod-page .rp-fantasy-mo-top strong {
  display: block !important;
  margin: 0 auto !important;
  color: var(--rp-gold, #dabc73) !important;
  font-family: var(--rp-font-head, "Chakra Petch", sans-serif) !important;
  font-size: clamp(26px, 2.2vw, 36px) !important;
  font-weight: 900 !important;
  line-height: 1.15 !important;
  text-align: center !important;
}

/* Summary grid */
.rp-mod-section--fantasy .rp-fantasy-mo-grid,
.rp-mod-section--fantasy-clean .rp-fantasy-mo-grid,
.rp-mod-page .rp-fantasy-mo-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 18px !important;
  margin: 0 0 26px !important;
}

/* Center each card */
.rp-mod-section--fantasy .rp-fantasy-mo-item,
.rp-mod-section--fantasy-clean .rp-fantasy-mo-item,
.rp-mod-page .rp-fantasy-mo-item {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Small labels */
.rp-mod-section--fantasy .rp-fantasy-mo-item-label,
.rp-mod-section--fantasy-clean .rp-fantasy-mo-item-label,
.rp-mod-page .rp-fantasy-mo-item-label {
  color: rgba(218,188,115,.72) !important;
  text-align: center !important;
}

/* Main values */
.rp-mod-section--fantasy .rp-fantasy-mo-item-value,
.rp-mod-section--fantasy-clean .rp-fantasy-mo-item-value,
.rp-mod-page .rp-fantasy-mo-item-value {
  color: var(--rp-gold, #dabc73) !important;
}

/* Make current position stronger */

/* Small grey notes under values */
.rp-mod-section--fantasy .rp-fantasy-mo-item-small,
.rp-mod-section--fantasy-clean .rp-fantasy-mo-item-small,
.rp-mod-page .rp-fantasy-mo-item-small {
  color: rgba(224,224,224,.68) !important;
  font-weight: 800 !important;
}

/* Keep action buttons aligned nicely */
.rp-mod-section--fantasy .rp-fantasy-mo-actions,
.rp-mod-section--fantasy-clean .rp-fantasy-mo-actions,
.rp-mod-page .rp-fantasy-mo-actions {
  justify-content: flex-end !important;
  margin-top: 4px !important;
}

@media (max-width: 980px) {
  .rp-mod-section--fantasy .rp-fantasy-mo-grid,
  .rp-mod-section--fantasy-clean .rp-fantasy-mo-grid,
  .rp-mod-page .rp-fantasy-mo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 640px) {
  .rp-mod-section--fantasy .rp-fantasy-mo-grid,
  .rp-mod-section--fantasy-clean .rp-fantasy-mo-grid,
  .rp-mod-page .rp-fantasy-mo-grid {
    grid-template-columns: 1fr !important;
  }

  .rp-mod-section--fantasy .rp-fantasy-mo-actions,
  .rp-mod-section--fantasy-clean .rp-fantasy-mo-actions,
  .rp-mod-page .rp-fantasy-mo-actions {
    justify-content: center !important;
  }
}

/* Manager's Office - align Fantasy summary card labels and reduce values */
.rp-mod-section--fantasy .rp-fantasy-mo-item,
.rp-mod-section--fantasy-clean .rp-fantasy-mo-item,
.rp-mod-page .rp-fantasy-mo-item {
  min-height: 176px !important;
  padding: 22px 20px 20px !important;
  display: grid !important;
  grid-template-rows: 24px 62px auto !important;
  align-items: start !important;
  justify-items: center !important;
  text-align: center !important;
}

/* Labels: slightly bigger and perfectly aligned */
.rp-mod-section--fantasy .rp-fantasy-mo-item-label,
.rp-mod-section--fantasy-clean .rp-fantasy-mo-item-label,
.rp-mod-page .rp-fantasy-mo-item-label {
  height: 24px !important;
  min-height: 24px !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 13px !important;
  line-height: 1.1 !important;
  letter-spacing: .16em !important;
}

/* Values: smaller than before */
.rp-mod-section--fantasy .rp-fantasy-mo-item-value,
.rp-mod-section--fantasy-clean .rp-fantasy-mo-item-value,
.rp-mod-page .rp-fantasy-mo-item-value {
  align-self: start !important;
  width: 100% !important;
  margin: 0 !important;
  padding-top: 8px !important;
  font-size: clamp(24px, 1.9vw, 31px) !important;
  line-height: 1.16 !important;
  text-align: center !important;
}

/* Current position should still be stronger, but not oversized */
.rp-mod-section--fantasy .rp-fantasy-mo-item:nth-child(3) .rp-fantasy-mo-item-value,
.rp-mod-section--fantasy-clean .rp-fantasy-mo-item:nth-child(3) .rp-fantasy-mo-item-value,
.rp-mod-page .rp-fantasy-mo-item:nth-child(3) .rp-fantasy-mo-item-value {
  font-size: clamp(34px, 3vw, 44px) !important;
  padding-top: 3px !important;
}

/* Grey notes aligned under the value */
.rp-mod-section--fantasy .rp-fantasy-mo-item-small,
.rp-mod-section--fantasy-clean .rp-fantasy-mo-item-small,
.rp-mod-page .rp-fantasy-mo-item-small {
  margin: 8px auto 0 !important;
  max-width: 260px !important;
  text-align: center !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
}

/* Manager's Office - season title stronger and gold */

/* Manager's Office - season title softer gold */
.rp-mod-section--fantasy .rp-fantasy-mo-top > div:last-child,
.rp-mod-section--fantasy-clean .rp-fantasy-mo-top > div:last-child,
.rp-mod-page .rp-fantasy-mo-top > div:last-child {
  color: rgba(218,188,115,.88) !important;
  font-family: var(--rp-font-head, "Chakra Petch", sans-serif) !important;
  font-size: clamp(20px, 1.4vw, 24px) !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  letter-spacing: .02em !important;
  text-align: center !important;
}
/* ======================================================
   Fantasy Manager's Office - final stats + footer polish
   ====================================================== */
.rp-fantasy-mo-stats {
  width: 100% !important;
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 14px !important;
  margin: 20px 0 26px !important;
}

.rp-fantasy-mo-stat {
  min-height: 78px !important;
  padding: 15px 14px !important;
  border: 1px solid rgba(218,188,115,.16) !important;
  border-radius: 16px !important;
  background:
    radial-gradient(circle at top left, rgba(218,188,115,.07), transparent 42%),
    rgba(218,188,115,.035) !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.025) !important;
}

.rp-fantasy-mo-stat-label {
  display: block !important;
  margin: 0 0 7px !important;
  color: rgba(218,188,115,.72) !important;
  font-family: var(--rp-font-head, "Chakra Petch", sans-serif) !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  line-height: 1.15 !important;
  letter-spacing: .15em !important;
  text-transform: uppercase !important;
}

.rp-fantasy-mo-stat-value {
  display: block !important;
  color: var(--rp-gold, #dabc73) !important;
  font-family: var(--rp-font-head, "Chakra Petch", sans-serif) !important;
  font-size: clamp(22px, 1.7vw, 28px) !important;
  font-weight: 900 !important;
  line-height: 1.1 !important;
  letter-spacing: .02em !important;
}

.rp-fantasy-mo-footer {
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 18px !important;
  margin-top: 8px !important;
}

.rp-fantasy-mo-footer > div:first-child {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  min-width: 150px !important;
}

.rp-fantasy-mo-actions--footer,
.rp-fantasy-mo-footer .rp-fantasy-mo-actions {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 12px !important;
  margin: 0 !important;
  flex-wrap: wrap !important;
}

.rp-fantasy-mo-footer .rp-fantasy-mo-badge,
.rp-fantasy-mo-badge {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 38px !important;
  padding: 0 16px !important;
  border-radius: 999px !important;
  font-family: var(--rp-font-head, "Chakra Petch", sans-serif) !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  letter-spacing: .12em !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
}

.rp-fantasy-mo-badge-open {
  border: 1px solid rgba(87,190,120,.46) !important;
  background: rgba(87,190,120,.12) !important;
  color: #9ee8b2 !important;
}

.rp-fantasy-mo-badge-locked {
  border: 1px solid rgba(218,188,115,.32) !important;
  background: rgba(218,188,115,.08) !important;
  color: var(--rp-gold, #dabc73) !important;
}

.rp-fantasy-mo-footer .rp-fantasy-mo-btn,
.rp-fantasy-mo-actions--footer .rp-fantasy-mo-btn {
  min-width: 178px !important;
  min-height: 48px !important;
  padding: 0 22px !important;
  font-size: 12px !important;
  text-align: center !important;
}

.rp-fantasy-mo-footer .rp-fantasy-mo-btn-primary,
.rp-fantasy-mo-actions--footer .rp-fantasy-mo-btn-primary {
  background: var(--rp-gold, #dabc73) !important;
  color: #1f1f1d !important;
  border-color: rgba(218,188,115,.78) !important;
}

.rp-fantasy-mo-footer .rp-fantasy-mo-btn-secondary,
.rp-fantasy-mo-actions--footer .rp-fantasy-mo-btn-secondary {
  background: transparent !important;
  color: var(--rp-gold, #dabc73) !important;
  border-color: rgba(218,188,115,.58) !important;
}

@media (max-width: 980px) {
  .rp-fantasy-mo-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 640px) {
  .rp-fantasy-mo-stats {
    grid-template-columns: 1fr !important;
  }

  .rp-fantasy-mo-footer {
    align-items: stretch !important;
    flex-direction: column !important;
  }

  .rp-fantasy-mo-footer > div:first-child,
  .rp-fantasy-mo-actions--footer,
  .rp-fantasy-mo-footer .rp-fantasy-mo-actions {
    width: 100% !important;
    justify-content: center !important;
  }

  .rp-fantasy-mo-footer .rp-fantasy-mo-btn,
  .rp-fantasy-mo-actions--footer .rp-fantasy-mo-btn {
    width: 100% !important;
  }
}

/* ======================================================
   Manager's Office - current season + career stats polish
   ====================================================== */
.rp-fantasy-mo-stats-block {
  width: 100% !important;
  margin: 20px 0 0 !important;
}

.rp-fantasy-mo-stats-block--career {
  margin-top: 16px !important;
}

.rp-fantasy-mo-stats-title {
  width: 100% !important;
  margin: 0 0 10px !important;
  color: rgba(218,188,115,.74) !important;
  font-family: var(--rp-font-head, "Chakra Petch", sans-serif) !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  letter-spacing: .16em !important;
  line-height: 1.2 !important;
  text-align: center !important;
  text-transform: uppercase !important;
}

.rp-fantasy-mo-stats-block .rp-fantasy-mo-stats {
  margin: 0 !important;
}

.rp-fantasy-mo-stats--career {
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
}

.rp-fantasy-mo-stats-block--career .rp-fantasy-mo-stat {
  min-height: 72px !important;
  background:
    radial-gradient(circle at top left, rgba(218,188,115,.055), transparent 42%),
    rgba(0,0,0,.12) !important;
}

.rp-fantasy-mo-stats-block--career .rp-fantasy-mo-stat-label {
  font-size: 10px !important;
  letter-spacing: .13em !important;
}

.rp-fantasy-mo-stats-block--career .rp-fantasy-mo-stat-value {
  font-size: clamp(20px, 1.45vw, 24px) !important;
}

.rp-fantasy-mo-stats-block--career + .rp-fantasy-mo-footer {
  margin-top: 22px !important;
}

@media (max-width: 1080px) {
  .rp-fantasy-mo-stats--career {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 760px) {
  .rp-fantasy-mo-stats--career {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 520px) {
  .rp-fantasy-mo-stats--career {
    grid-template-columns: 1fr !important;
  }
}

/* ======================================================
   Fantasy tables final fix v10
   - separate widths for user's league table and all standings
   - prevents the Incorrect column from stretching differently
   - keeps promotion/relegation summary pills hidden above tables
   ====================================================== */

.rp-fantasy-standings-level-card .rp-fantasy-season-left-pill {
  display: inline-flex !important;
}

.rp-fantasy-standings-level-card .rp-fantasy-league-title-row .rp-fantasy-league-meta,
.rp-fantasy-standings-level-card .rp-fantasy-pill,
.rp-fantasy-standings-single-head .rp-fantasy-pill,
.rp-fantasy-standings-group-head .rp-fantasy-pill {
  display: none !important;
}

.rp-fantasy-standings-single-head,
.rp-fantasy-standings-group-head {
  margin: 2px 0 20px !important;
}

.rp-fantasy-standings-single-head .rp-fantasy-muted,
.rp-fantasy-standings-group-head .rp-fantasy-muted {
  color: rgba(224,224,224,.78) !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  letter-spacing: 0 !important;
  word-spacing: 0 !important;
}

.rp-fantasy-standings-table {
  width: 100% !important;
  table-layout: fixed !important;
}

.rp-fantasy-standings-table th,
.rp-fantasy-standings-table td {
  box-sizing: border-box !important;
  overflow-wrap: normal !important;
  white-space: nowrap !important;
}

/* /fantasy-league/ — Your League Table has 8 columns */
.rp-fantasy-user-standings-table th:nth-child(1),
.rp-fantasy-user-standings-table td:nth-child(1) { width: 68px !important; }
.rp-fantasy-user-standings-table th:nth-child(2),
.rp-fantasy-user-standings-table td:nth-child(2) { width: auto !important; }
.rp-fantasy-user-standings-table th:nth-child(3),
.rp-fantasy-user-standings-table td:nth-child(3) { width: 88px !important; }
.rp-fantasy-user-standings-table th:nth-child(4),
.rp-fantasy-user-standings-table td:nth-child(4) { width: 96px !important; }
.rp-fantasy-user-standings-table th:nth-child(5),
.rp-fantasy-user-standings-table td:nth-child(5) { width: 112px !important; }
.rp-fantasy-user-standings-table th:nth-child(6),
.rp-fantasy-user-standings-table td:nth-child(6) { width: 88px !important; }
.rp-fantasy-user-standings-table th:nth-child(7),
.rp-fantasy-user-standings-table td:nth-child(7) { width: 88px !important; }
.rp-fantasy-user-standings-table th:nth-child(8),
.rp-fantasy-user-standings-table td:nth-child(8) { width: 140px !important; }

/* /fantasy-league/standings/ — All Standings table has 10 columns */
.rp-fantasy-all-standings-table th:nth-child(1),
.rp-fantasy-all-standings-table td:nth-child(1) { width: 68px !important; }
.rp-fantasy-all-standings-table th:nth-child(2),
.rp-fantasy-all-standings-table td:nth-child(2) { width: auto !important; }
.rp-fantasy-all-standings-table th:nth-child(3),
.rp-fantasy-all-standings-table td:nth-child(3) { width: 88px !important; }
.rp-fantasy-all-standings-table th:nth-child(4),
.rp-fantasy-all-standings-table td:nth-child(4) { width: 96px !important; }
.rp-fantasy-all-standings-table th:nth-child(5),
.rp-fantasy-all-standings-table td:nth-child(5) { width: 112px !important; }
.rp-fantasy-all-standings-table th:nth-child(6),
.rp-fantasy-all-standings-table td:nth-child(6) { width: 88px !important; }
.rp-fantasy-all-standings-table th:nth-child(7),
.rp-fantasy-all-standings-table td:nth-child(7) { width: 88px !important; }
.rp-fantasy-all-standings-table th:nth-child(8),
.rp-fantasy-all-standings-table td:nth-child(8) { width: 94px !important; }
.rp-fantasy-all-standings-table th:nth-child(9),
.rp-fantasy-all-standings-table td:nth-child(9) { width: 140px !important; }
.rp-fantasy-all-standings-table th:nth-child(10),
.rp-fantasy-all-standings-table td:nth-child(10) { width: 140px !important; }

.rp-fantasy-standings-table th:nth-child(1),
.rp-fantasy-standings-table td:nth-child(1),
.rp-fantasy-standings-table th:nth-child(n+3),
.rp-fantasy-standings-table td:nth-child(n+3) {
  text-align: center !important;
}

.rp-fantasy-standings-table th:nth-child(2),
.rp-fantasy-standings-table td:nth-child(2) {
  text-align: left !important;
}

.rp-fantasy-standings-table .rp-fantasy-status-cell,
.rp-fantasy-standings-table td:last-child {
  text-align: center !important;
}

@media (max-width: 900px) {
  .rp-fantasy-standings-table {
    min-width: 920px !important;
  }

  .rp-fantasy-user-standings-table {
    min-width: 760px !important;
  }
}

/* ======================================================
   Fantasy fix v11
   - Your League Table uses the same 10-column visual layout as All Standings
   - played match pick results get clear Correct / Incorrect badges again
   ====================================================== */

.rp-fantasy-league-table-card .rp-fantasy-user-standings-table {
  min-width: 920px !important;
}

.rp-fantasy-league-table-card .rp-fantasy-user-standings-table.rp-fantasy-all-standings-table th:nth-child(1),
.rp-fantasy-league-table-card .rp-fantasy-user-standings-table.rp-fantasy-all-standings-table td:nth-child(1) { width: 68px !important; }
.rp-fantasy-league-table-card .rp-fantasy-user-standings-table.rp-fantasy-all-standings-table th:nth-child(2),
.rp-fantasy-league-table-card .rp-fantasy-user-standings-table.rp-fantasy-all-standings-table td:nth-child(2) { width: auto !important; }
.rp-fantasy-league-table-card .rp-fantasy-user-standings-table.rp-fantasy-all-standings-table th:nth-child(3),
.rp-fantasy-league-table-card .rp-fantasy-user-standings-table.rp-fantasy-all-standings-table td:nth-child(3) { width: 88px !important; }
.rp-fantasy-league-table-card .rp-fantasy-user-standings-table.rp-fantasy-all-standings-table th:nth-child(4),
.rp-fantasy-league-table-card .rp-fantasy-user-standings-table.rp-fantasy-all-standings-table td:nth-child(4) { width: 96px !important; }
.rp-fantasy-league-table-card .rp-fantasy-user-standings-table.rp-fantasy-all-standings-table th:nth-child(5),
.rp-fantasy-league-table-card .rp-fantasy-user-standings-table.rp-fantasy-all-standings-table td:nth-child(5) { width: 112px !important; }
.rp-fantasy-league-table-card .rp-fantasy-user-standings-table.rp-fantasy-all-standings-table th:nth-child(6),
.rp-fantasy-league-table-card .rp-fantasy-user-standings-table.rp-fantasy-all-standings-table td:nth-child(6) { width: 88px !important; }
.rp-fantasy-league-table-card .rp-fantasy-user-standings-table.rp-fantasy-all-standings-table th:nth-child(7),
.rp-fantasy-league-table-card .rp-fantasy-user-standings-table.rp-fantasy-all-standings-table td:nth-child(7) { width: 88px !important; }
.rp-fantasy-league-table-card .rp-fantasy-user-standings-table.rp-fantasy-all-standings-table th:nth-child(8),
.rp-fantasy-league-table-card .rp-fantasy-user-standings-table.rp-fantasy-all-standings-table td:nth-child(8) { width: 94px !important; }
.rp-fantasy-league-table-card .rp-fantasy-user-standings-table.rp-fantasy-all-standings-table th:nth-child(9),
.rp-fantasy-league-table-card .rp-fantasy-user-standings-table.rp-fantasy-all-standings-table td:nth-child(9) { width: 140px !important; }
.rp-fantasy-league-table-card .rp-fantasy-user-standings-table.rp-fantasy-all-standings-table th:nth-child(10),
.rp-fantasy-league-table-card .rp-fantasy-user-standings-table.rp-fantasy-all-standings-table td:nth-child(10) { width: 140px !important; }

.rp-fantasy-pick-result {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: center !important;
  gap: 7px !important;
  min-width: 0 !important;
}

.rp-fantasy-pick-result-main {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 8px !important;
  flex-wrap: wrap !important;
}

.rp-fantasy-pick-result-choice,
.rp-fantasy-pick-result-official,
.rp-fantasy-pick-result-points {
  color: rgba(224,224,224,.82) !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  line-height: 1.25 !important;
}

.rp-fantasy-pick-result-choice strong {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 26px !important;
  height: 26px !important;
  margin-left: 3px !important;
  border: 1px solid rgba(218,188,115,.40) !important;
  border-radius: 999px !important;
  background: rgba(218,188,115,.10) !important;
  color: var(--rp-gold, #dabc73) !important;
  font-family: var(--rp-font-head, "Chakra Petch", sans-serif) !important;
  font-size: 13px !important;
  font-weight: 900 !important;
}

.rp-fantasy-pick-result-badge {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 26px !important;
  padding: 0 9px !important;
  border-radius: 999px !important;
  font-family: var(--rp-font-head, "Chakra Petch", sans-serif) !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
}

.rp-fantasy-pick-result-badge-correct {
  border: 1px solid rgba(87,190,120,.40) !important;
  background: rgba(87,190,120,.18) !important;
  color: #9ee8b2 !important;
}

.rp-fantasy-pick-result-badge-incorrect {
  border: 1px solid rgba(220,70,70,.42) !important;
  background: rgba(220,70,70,.18) !important;
  color: #ff9a9a !important;
}

.rp-fantasy-pick-result-badge-neutral {
  border: 1px solid rgba(218,188,115,.24) !important;
  background: rgba(218,188,115,.08) !important;
  color: rgba(218,188,115,.86) !important;
}

.rp-fantasy-pick-result.is-correct .rp-fantasy-pick-result-points {
  color: #9ee8b2 !important;
}

.rp-fantasy-pick-result.is-incorrect .rp-fantasy-pick-result-official {
  color: #ffb3b3 !important;
}

@media (max-width: 760px) {
  .rp-fantasy-pick-result-main {
    gap: 6px !important;
  }
}

/* ======================================================
   Fantasy table column balance v12
   - narrower Rank / Pts / stats / Rounds / Reward columns
   - wider Manager column
   - same layout for Your League Table and All Standings
   ====================================================== */

.rp-fantasy-standings-table th:nth-child(2),
.rp-fantasy-standings-table td:nth-child(2) {
  white-space: normal !important;
}

.rp-fantasy-standings-table td:nth-child(2) {
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.rp-fantasy-standings-table th abbr {
  color: inherit !important;
  text-decoration: none !important;
  border-bottom: 0 !important;
  cursor: help !important;
}

/* 10-column standings tables: Rank, Manager, Pts, Correct, Inc., Picks, Rate, Rounds, Reward, Status */
.rp-fantasy-all-standings-table th:nth-child(1),
.rp-fantasy-all-standings-table td:nth-child(1),
.rp-fantasy-user-standings-table th:nth-child(1),
.rp-fantasy-user-standings-table td:nth-child(1) { width: 54px !important; }

.rp-fantasy-all-standings-table th:nth-child(2),
.rp-fantasy-all-standings-table td:nth-child(2),
.rp-fantasy-user-standings-table th:nth-child(2),
.rp-fantasy-user-standings-table td:nth-child(2) { width: auto !important; }

.rp-fantasy-all-standings-table th:nth-child(3),
.rp-fantasy-all-standings-table td:nth-child(3),
.rp-fantasy-user-standings-table th:nth-child(3),
.rp-fantasy-user-standings-table td:nth-child(3) { width: 64px !important; }

.rp-fantasy-all-standings-table th:nth-child(4),
.rp-fantasy-all-standings-table td:nth-child(4),
.rp-fantasy-user-standings-table th:nth-child(4),
.rp-fantasy-user-standings-table td:nth-child(4) { width: 78px !important; }

.rp-fantasy-all-standings-table th:nth-child(5),
.rp-fantasy-all-standings-table td:nth-child(5),
.rp-fantasy-user-standings-table th:nth-child(5),
.rp-fantasy-user-standings-table td:nth-child(5) { width: 70px !important; }

.rp-fantasy-all-standings-table th:nth-child(6),
.rp-fantasy-all-standings-table td:nth-child(6),
.rp-fantasy-user-standings-table th:nth-child(6),
.rp-fantasy-user-standings-table td:nth-child(6) { width: 70px !important; }

.rp-fantasy-all-standings-table th:nth-child(7),
.rp-fantasy-all-standings-table td:nth-child(7),
.rp-fantasy-user-standings-table th:nth-child(7),
.rp-fantasy-user-standings-table td:nth-child(7) { width: 76px !important; }

.rp-fantasy-all-standings-table th:nth-child(8),
.rp-fantasy-all-standings-table td:nth-child(8),
.rp-fantasy-user-standings-table th:nth-child(8),
.rp-fantasy-user-standings-table td:nth-child(8) { width: 78px !important; }

.rp-fantasy-all-standings-table th:nth-child(9),
.rp-fantasy-all-standings-table td:nth-child(9),
.rp-fantasy-user-standings-table th:nth-child(9),
.rp-fantasy-user-standings-table td:nth-child(9) { width: 112px !important; }

.rp-fantasy-all-standings-table th:nth-child(10),
.rp-fantasy-all-standings-table td:nth-child(10),
.rp-fantasy-user-standings-table th:nth-child(10),
.rp-fantasy-user-standings-table td:nth-child(10) { width: 140px !important; }

.rp-fantasy-standings-table th:nth-child(5) {
  letter-spacing: .10em !important;
}

@media (max-width: 900px) {
  .rp-fantasy-standings-table,
  .rp-fantasy-user-standings-table,
  .rp-fantasy-all-standings-table,
  .rp-fantasy-league-table-card .rp-fantasy-user-standings-table {
    min-width: 960px !important;
  }
}

/* ======================================================
   Fantasy table layout FINAL v14
   Important: the frontend/user standings tables no longer need
   the legacy .rp-fantasy-standings-table width rules.
   This block is intentionally last and highly specific.
   ====================================================== */

.rp-fantasy-wrap table.rp-fantasy-table.rp-fantasy-all-standings-table th,
.rp-fantasy-wrap table.rp-fantasy-table.rp-fantasy-all-standings-table td,
.rp-fantasy-wrap table.rp-fantasy-table.rp-fantasy-user-standings-table th,
.rp-fantasy-wrap table.rp-fantasy-table.rp-fantasy-user-standings-table td {
  box-sizing: border-box !important;
  white-space: nowrap !important;
}

.rp-fantasy-wrap table.rp-fantasy-table.rp-fantasy-all-standings-table th:nth-child(2),
.rp-fantasy-wrap table.rp-fantasy-table.rp-fantasy-all-standings-table td:nth-child(2),
.rp-fantasy-wrap table.rp-fantasy-table.rp-fantasy-user-standings-table th:nth-child(2),
.rp-fantasy-wrap table.rp-fantasy-table.rp-fantasy-user-standings-table td:nth-child(2) {
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

/* 10-column layout: Rank | Manager | Pts | Correct | Inc. | Picks | Rate | Rounds | Reward | Status */

.rp-fantasy-wrap table.rp-fantasy-table.rp-fantasy-all-standings-table th:nth-child(3),
.rp-fantasy-wrap table.rp-fantasy-table.rp-fantasy-all-standings-table td:nth-child(3),
.rp-fantasy-wrap table.rp-fantasy-table.rp-fantasy-user-standings-table th:nth-child(3),
.rp-fantasy-wrap table.rp-fantasy-table.rp-fantasy-user-standings-table td:nth-child(3) {
  width: 64px !important;
}

.rp-fantasy-wrap table.rp-fantasy-table.rp-fantasy-all-standings-table th:nth-child(4),
.rp-fantasy-wrap table.rp-fantasy-table.rp-fantasy-all-standings-table td:nth-child(4),
.rp-fantasy-wrap table.rp-fantasy-table.rp-fantasy-user-standings-table th:nth-child(4),
.rp-fantasy-wrap table.rp-fantasy-table.rp-fantasy-user-standings-table td:nth-child(4) {
  width: 78px !important;
}

.rp-fantasy-wrap table.rp-fantasy-table.rp-fantasy-all-standings-table th:nth-child(5),
.rp-fantasy-wrap table.rp-fantasy-table.rp-fantasy-all-standings-table td:nth-child(5),
.rp-fantasy-wrap table.rp-fantasy-table.rp-fantasy-user-standings-table th:nth-child(5),
.rp-fantasy-wrap table.rp-fantasy-table.rp-fantasy-user-standings-table td:nth-child(5) {
  width: 70px !important;
}

.rp-fantasy-wrap table.rp-fantasy-table.rp-fantasy-all-standings-table th:nth-child(6),
.rp-fantasy-wrap table.rp-fantasy-table.rp-fantasy-all-standings-table td:nth-child(6),
.rp-fantasy-wrap table.rp-fantasy-table.rp-fantasy-user-standings-table th:nth-child(6),
.rp-fantasy-wrap table.rp-fantasy-table.rp-fantasy-user-standings-table td:nth-child(6) {
  width: 70px !important;
}

.rp-fantasy-wrap table.rp-fantasy-table.rp-fantasy-all-standings-table th:nth-child(7),
.rp-fantasy-wrap table.rp-fantasy-table.rp-fantasy-all-standings-table td:nth-child(7),
.rp-fantasy-wrap table.rp-fantasy-table.rp-fantasy-user-standings-table th:nth-child(7),
.rp-fantasy-wrap table.rp-fantasy-table.rp-fantasy-user-standings-table td:nth-child(7) {
  width: 76px !important;
}

.rp-fantasy-wrap table.rp-fantasy-table.rp-fantasy-all-standings-table th:nth-child(8),
.rp-fantasy-wrap table.rp-fantasy-table.rp-fantasy-all-standings-table td:nth-child(8),
.rp-fantasy-wrap table.rp-fantasy-table.rp-fantasy-user-standings-table th:nth-child(8),
.rp-fantasy-wrap table.rp-fantasy-table.rp-fantasy-user-standings-table td:nth-child(8) {
  width: 78px !important;
}

.rp-fantasy-wrap table.rp-fantasy-table.rp-fantasy-all-standings-table th:nth-child(10),
.rp-fantasy-wrap table.rp-fantasy-table.rp-fantasy-all-standings-table td:nth-child(10),
.rp-fantasy-wrap table.rp-fantasy-table.rp-fantasy-user-standings-table th:nth-child(10),
.rp-fantasy-wrap table.rp-fantasy-table.rp-fantasy-user-standings-table td:nth-child(10) {
  width: 140px !important;
}

.rp-fantasy-wrap table.rp-fantasy-table.rp-fantasy-all-standings-table th abbr,
.rp-fantasy-wrap table.rp-fantasy-table.rp-fantasy-user-standings-table th abbr {
  color: inherit !important;
  text-decoration: none !important;
  border-bottom: 0 !important;
}

/* Fantasy League - final compact available picks overrides */

@keyframes rpFantasyPickSavedPanel {
  0% { border-color: rgba(185,155,94,.20); box-shadow: none; }
  28% { border-color: rgba(91,214,128,.68); box-shadow: 0 0 26px rgba(91,214,128,.20); }
  100% { border-color: rgba(185,155,94,.20); box-shadow: none; }
}

/* Fantasy League standings - final table polish */

/* Fantasy League standings final alignment */
.rp-fantasy-wrap table.rp-fantasy-table.rp-fantasy-all-standings-table th,
.rp-fantasy-wrap table.rp-fantasy-table.rp-fantasy-all-standings-table td,
.rp-fantasy-wrap table.rp-fantasy-table.rp-fantasy-user-standings-table th,
.rp-fantasy-wrap table.rp-fantasy-table.rp-fantasy-user-standings-table td {
  padding-top: 12px !important;
  padding-bottom: 12px !important;
}

.rp-fantasy-wrap table.rp-fantasy-table.rp-fantasy-all-standings-table th:nth-child(1),
.rp-fantasy-wrap table.rp-fantasy-table.rp-fantasy-all-standings-table td:nth-child(1),
.rp-fantasy-wrap table.rp-fantasy-table.rp-fantasy-user-standings-table th:nth-child(1),
.rp-fantasy-wrap table.rp-fantasy-table.rp-fantasy-user-standings-table td:nth-child(1),
.rp-fantasy-wrap table.rp-fantasy-table.rp-fantasy-all-standings-table th:nth-child(8),
.rp-fantasy-wrap table.rp-fantasy-table.rp-fantasy-all-standings-table td:nth-child(8),
.rp-fantasy-wrap table.rp-fantasy-table.rp-fantasy-user-standings-table th:nth-child(8),
.rp-fantasy-wrap table.rp-fantasy-table.rp-fantasy-user-standings-table td:nth-child(8) {
  text-align: center !important;
}

.rp-fantasy-wrap table.rp-fantasy-table.rp-fantasy-all-standings-table td:nth-child(8),
.rp-fantasy-wrap table.rp-fantasy-table.rp-fantasy-user-standings-table td:nth-child(8) {
  vertical-align: middle !important;
}

.rp-fantasy-wrap .rp-fantasy-match-time-row {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 7px !important;
}

.rp-fantasy-wrap .rp-fantasy-lock-countdown {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: fit-content !important;
  min-height: 29px !important;
  padding: 6px 10px !important;
  border: 1px solid rgba(91,214,128,.28) !important;
  border-radius: 999px !important;
  background: rgba(91,214,128,.075) !important;
  color: #a7efba !important;
  font-family: var(--rp-font-head, "Chakra Petch", sans-serif) !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  letter-spacing: .04em !important;
  white-space: nowrap !important;
}

.rp-fantasy-wrap .rp-fantasy-lock-countdown.is-locked {
  border-color: rgba(220,70,70,.36) !important;
  background: rgba(220,70,70,.10) !important;
  color: #ffabab !important;
}

/* Fantasy League - compact available picks */

@keyframes rpFantasyPickSavedPanel {
  0% { border-color: rgba(185,155,94,.20); box-shadow: none; }
  28% { border-color: rgba(91,214,128,.68); box-shadow: 0 0 26px rgba(91,214,128,.20); }
  100% { border-color: rgba(185,155,94,.20); box-shadow: none; }
}

/* Fantasy League public hub - compact hero and rules */
.rp-fantasy-wrap {
  max-width: 1180px !important;
  padding-top: 34px !important;
  padding-bottom: 22px !important;
}

.rp-fantasy-wrap .rp-fantasy-hero {
  max-width: 1096px !important;
  margin-bottom: 18px !important;
  padding: 24px 30px 23px !important;
  border-radius: 22px !important;
}

.rp-fantasy-wrap .rp-fantasy-hero + .rp-fantasy-daily-pick-card {
  margin-top: 0 !important;
}

.rp-fantasy-wrap .rp-fantasy-kicker {
  margin-bottom: 9px !important;
  padding: 5px 12px !important;
  font-size: 11px !important;
}

.rp-fantasy-wrap .rp-fantasy-hero h2 {
  margin-bottom: 8px !important;
  font-size: clamp(30px, 2.6vw, 40px) !important;
  line-height: 1.04 !important;
}

.rp-fantasy-wrap .rp-fantasy-hero p {
  max-width: 720px !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
}

.rp-fantasy-hero-actions {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  margin-top: 20px !important;
}

.rp-fantasy-hero .rp-fantasy-join-inline-form {
  margin: 0 !important;
}

.rp-fantasy-hero .rp-fantasy-join-inline-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 44px !important;
  padding: 0 28px !important;
  border: 1px solid rgba(218,188,115,.82) !important;
  border-radius: 999px !important;
  background: linear-gradient(180deg, #efd37c, #c9a44a) !important;
  color: #20180c !important;
  font-family: var(--rp-font-head, "Chakra Petch", sans-serif) !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  letter-spacing: .08em !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 10px 24px rgba(0,0,0,.24) !important;
  cursor: pointer !important;
  transition: transform .18s ease, filter .18s ease, box-shadow .18s ease !important;
}

.rp-fantasy-hero .rp-fantasy-join-inline-button:hover,
.rp-fantasy-hero .rp-fantasy-join-inline-button:focus-visible {
  filter: brightness(1.08) !important;
  transform: translateY(-1px) !important;
  outline: none !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.42), 0 14px 30px rgba(0,0,0,.30), 0 0 18px rgba(218,188,115,.16) !important;
}

.rp-fantasy-hero-meta {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px 14px !important;
  color: rgba(224,224,224,.70) !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  line-height: 1.4 !important;
}

.rp-fantasy-hero-meta strong {
  color: #dabc73 !important;
}

.rp-fantasy-wrap > .rp-fantasy-card,
.rp-fantasy-wrap .rp-fantasy-card {
  padding: 22px !important;
  border-radius: 20px !important;
}

.rp-fantasy-wrap .rp-fantasy-card h3,
.rp-fantasy-wrap .rp-fantasy-rules-card h3 {
  font-size: clamp(22px, 2vw, 28px) !important;
}

.rp-fantasy-wrap .rp-fantasy-muted,
.rp-fantasy-wrap .rp-fantasy-rule-note,
.rp-fantasy-wrap .rp-fantasy-rules-subtitle {
  font-size: 12px !important;
  line-height: 1.5 !important;
}

.rp-fantasy-rules-card {
  max-width: 1096px !important;
  margin-top: 14px !important;
  margin-bottom: 18px !important;
  padding: 22px !important;
  border-radius: 20px !important;
}

.rp-fantasy-wrap + .rp-fantasy-wrap {
  padding-top: 0 !important;
}

.rp-fantasy-wrap + .rp-fantasy-wrap .rp-fantasy-rules-card {
  margin-top: 0 !important;
}

.rp-fantasy-rules-head {
  margin-bottom: 14px !important;
  padding-bottom: 12px !important;
}

.rp-fantasy-rules-grid {
  gap: 10px !important;
}

.rp-fantasy-rule-item {
  min-height: 118px !important;
  padding: 13px 14px !important;
  border-radius: 14px !important;
}

.rp-fantasy-rule-label {
  margin-bottom: 6px !important;
  font-size: 11px !important;
}

.rp-fantasy-rule-value {
  margin-bottom: 6px !important;
  font-size: 19px !important;
}

.rp-fantasy-rules-legal-note {
  margin-top: 11px !important;
  padding: 12px 14px !important;
  border-radius: 14px !important;
}

@media (max-width: 760px) {
  .rp-fantasy-wrap {
    padding-top: 24px !important;
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  .rp-fantasy-wrap .rp-fantasy-hero {
    padding: 24px 18px !important;
  }

  .rp-fantasy-wrap .rp-fantasy-hero h2 {
    font-size: 30px !important;
  }

  .rp-fantasy-hero-meta {
    flex-direction: column !important;
    gap: 4px !important;
  }
}

/* ======================================================
   Fantasy status pill final polish v15
   Stronger Champions fill on normal frontend, matching Elementor preview
   ====================================================== */
.rp-fantasy-wrap .rp-fantasy-table .rp-fantasy-status-cell .rp-fantasy-status,
.rp-fantasy-wrap .rp-fantasy-table td .rp-fantasy-status {
  min-width: 92px !important;
  min-height: 32px !important;
  padding: 6px 12px !important;
  border-radius: 999px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-family: var(--rp-font-head, "Chakra Petch", sans-serif) !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  letter-spacing: .06em !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
}

.rp-fantasy-wrap .rp-fantasy-table .rp-fantasy-status-cell .rp-fantasy-status-champion,
.rp-fantasy-wrap .rp-fantasy-table .rp-fantasy-status-champion,
.rp-fantasy-wrap .rp-fantasy-status-champion,
.rp-fantasy-wrap .rp-fantasy-table .rp-fantasy-status-cell .rp-fantasy-status-champions,
.rp-fantasy-wrap .rp-fantasy-table .rp-fantasy-status-champions,
.rp-fantasy-wrap .rp-fantasy-status-champions {
  border: 1px solid rgba(218,188,115,.34) !important;
  background: linear-gradient(180deg, rgba(218,188,115,.30), rgba(185,155,94,.20)) !important;
  color: #ffe39a !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.08),
    0 0 0 1px rgba(218,188,115,.06) !important;
}

.rp-fantasy-wrap .rp-fantasy-table .rp-fantasy-status-cell .rp-fantasy-status-relegation,
.rp-fantasy-wrap .rp-fantasy-table .rp-fantasy-status-relegation,
.rp-fantasy-wrap .rp-fantasy-status-relegation {
  border: 1px solid rgba(220,70,70,.38) !important;
  background: linear-gradient(180deg, rgba(220,70,70,.28), rgba(120,36,36,.22)) !important;
  color: #ff9f9f !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.07),
    0 0 0 1px rgba(220,70,70,.06) !important;
}

.rp-fantasy-wrap .rp-fantasy-table .rp-fantasy-status-cell .rp-fantasy-status-promotion,
.rp-fantasy-wrap .rp-fantasy-table .rp-fantasy-status-promotion,
.rp-fantasy-wrap .rp-fantasy-status-promotion {
  border: 1px solid rgba(87,190,120,.38) !important;
  background: linear-gradient(180deg, rgba(87,190,120,.24), rgba(38,115,64,.18)) !important;
  color: #9ee8b2 !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.07),
    0 0 0 1px rgba(87,190,120,.06) !important;
}

/* ======================================================
   Homepage Fantasy Matchday block
   Shortcode: [rp_fantasy_home_matchday]
   ====================================================== */
.rp-fantasy-home-matchday {
  width: 100%;
  padding: 34px 18px 30px;
  background:
    radial-gradient(circle at 50% 0%, rgba(185,155,94,.13), transparent 34%),
    linear-gradient(180deg, rgba(37,36,34,.96), rgba(14,19,24,.98));
  border-top: 1px solid rgba(185,155,94,.18);
  border-bottom: 1px solid rgba(185,155,94,.12);
  color: #f5eddc;
}

.rp-fantasy-home-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.rp-fantasy-home-heading {
  text-align: center;
  margin: 0 auto 22px;
  max-width: 760px;
}

.rp-fantasy-home-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 9px;
  font-family: var(--rp-font-head, "Chakra Petch", sans-serif);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #dabc73;
}

.rp-fantasy-home-heading h2 {
  margin: 0 0 8px;
  font-family: var(--rp-font-head, "Chakra Petch", sans-serif);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.04;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #f6d77b;
  text-shadow: 0 2px 18px rgba(0,0,0,.55);
}

.rp-fantasy-home-heading p {
  margin: 0;
  color: rgba(245,237,220,.72);
  font-size: 14px;
  line-height: 1.7;
}

.rp-fantasy-home-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
}

.rp-fantasy-home-card {
  position: relative;
  overflow: hidden;
  padding: 22px;
  border: 1px solid rgba(185,155,94,.30);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.015)),
    radial-gradient(circle at 22% 0%, rgba(185,155,94,.15), transparent 38%),
    rgba(15,17,18,.76);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.06),
    0 18px 44px rgba(0,0,0,.28);
}

.rp-fantasy-home-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,.055), transparent 34%, rgba(185,155,94,.045));
  opacity: .75;
}

.rp-fantasy-home-card > * {
  position: relative;
  z-index: 1;
}

.rp-fantasy-home-card-wide {
  grid-column: 1 / -1;
  min-height: 170px;
  text-align: center;
}

.rp-fantasy-home-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(185,155,94,.14);
}

.rp-fantasy-home-card-head span {
  font-family: var(--rp-font-head, "Chakra Petch", sans-serif);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #dabc73;
}

.rp-fantasy-home-card-head a,
.rp-fantasy-home-link {
  color: rgba(245,237,220,.72);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color .18s ease, opacity .18s ease;
}

.rp-fantasy-home-card-head a:hover,
.rp-fantasy-home-link:hover {
  color: #f6d77b;
}

.rp-fantasy-home-card h3 {
  margin: 0 0 12px;
  font-family: var(--rp-font-head, "Chakra Petch", sans-serif);
  font-size: 22px;
  line-height: 1.15;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .035em;
  color: #fff5d9;
}

.rp-fantasy-home-muted {
  margin: 0 0 14px;
  color: rgba(245,237,220,.68);
  font-size: 13px;
  line-height: 1.65;
}

.rp-fantasy-home-subtitle,
.rp-fantasy-home-competition,
.rp-fantasy-home-kickoff,
.rp-fantasy-home-pick {
  color: rgba(245,237,220,.76);
  font-size: 13px;
  line-height: 1.5;
}

.rp-fantasy-home-subtitle {
  margin: 0 0 13px;
  font-weight: 800;
  color: rgba(218,188,115,.92);
}

.rp-fantasy-home-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0 13px;
}

.rp-fantasy-home-stat-grid div {
  padding: 12px 10px;
  border: 1px solid rgba(185,155,94,.20);
  border-radius: 16px;
  background: rgba(0,0,0,.20);
  text-align: center;
}

.rp-fantasy-home-stat-grid span {
  display: block;
  margin-bottom: 5px;
  color: rgba(245,237,220,.58);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .10em;
  text-transform: uppercase;
}

.rp-fantasy-home-stat-grid strong {
  display: block;
  font-family: var(--rp-font-head, "Chakra Petch", sans-serif);
  font-size: 22px;
  line-height: 1;
  color: #f6d77b;
}

.rp-fantasy-home-mini-table {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.rp-fantasy-home-mini-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 42px;
  padding: 9px 11px;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 14px;
  background: rgba(0,0,0,.20);
}

.rp-fantasy-home-mini-row.is-current-user {
  border-color: rgba(218,188,115,.38);
  background: linear-gradient(180deg, rgba(218,188,115,.18), rgba(185,155,94,.09));
}

.rp-fantasy-home-mini-pos {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(185,155,94,.16);
  color: #f6d77b;
  font-family: var(--rp-font-head, "Chakra Petch", sans-serif);
  font-size: 13px;
  font-weight: 900;
}

.rp-fantasy-home-mini-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #fff5d9;
  font-size: 13px;
  font-weight: 800;
}

.rp-fantasy-home-mini-points {
  color: rgba(245,237,220,.76);
  font-family: var(--rp-font-head, "Chakra Petch", sans-serif);
  font-size: 13px;
  font-weight: 900;
}

.rp-fantasy-home-mini-divider {
  height: 1px;
  margin: 3px 10px;
  background: rgba(185,155,94,.18);
}

.rp-fantasy-home-empty {
  margin-top: 14px;
  padding: 14px;
  border: 1px dashed rgba(185,155,94,.22);
  border-radius: 16px;
  color: rgba(245,237,220,.62);
  text-align: center;
  font-size: 13px;
}

.rp-fantasy-home-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 5px 11px;
  border: 1px solid rgba(185,155,94,.24);
  border-radius: 999px;
  background: rgba(255,255,255,.05);
  color: rgba(245,237,220,.70);
  font-size: 10px;
  font-weight: 900;
  font-style: normal;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.rp-fantasy-home-pill.is-open {
  border-color: rgba(87,190,120,.40);
  background: rgba(87,190,120,.13);
  color: #a7efba;
}

.rp-fantasy-home-pill.is-locked {
  border-color: rgba(220,70,70,.38);
  background: rgba(220,70,70,.12);
  color: #ffabab;
}

.rp-fantasy-home-teams {
  display: grid;
  gap: 10px;
  margin: 17px 0 14px;
  padding: 20px 16px;
  border: 1px solid rgba(185,155,94,.22);
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 0%, rgba(185,155,94,.14), transparent 54%),
    rgba(0,0,0,.22);
  text-align: center;
}

.rp-fantasy-home-teams span {
  display: block;
  color: #fff5d9;
  font-family: var(--rp-font-head, "Chakra Petch", sans-serif);
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
  letter-spacing: .035em;
}

.rp-fantasy-home-teams b {
  color: rgba(218,188,115,.88);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.rp-fantasy-home-kickoff {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  padding: 8px 12px;
  border: 1px solid rgba(185,155,94,.18);
  border-radius: 999px;
  background: rgba(0,0,0,.18);
  color: #f6d77b;
  font-family: var(--rp-font-head, "Chakra Petch", sans-serif);
  font-weight: 900;
  letter-spacing: .04em;
}

.rp-fantasy-home-pick {
  margin: 5px 0 12px;
  padding: 11px 13px;
  border: 1px solid rgba(185,155,94,.20);
  border-radius: 14px;
  background: rgba(185,155,94,.08);
}

.rp-fantasy-home-pick strong {
  color: #f6d77b;
}

.rp-fantasy-home-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.rp-fantasy-home-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 20px;
  border: 1px solid rgba(255,230,160,.24);
  border-radius: 999px;
  background: linear-gradient(180deg, #e7c66e, #b99b5e);
  color: #171514 !important;
  font-family: var(--rp-font-head, "Chakra Petch", sans-serif);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none !important;
  box-shadow: 0 12px 28px rgba(0,0,0,.22);
  transition: filter .18s ease, transform .18s ease;
}

.rp-fantasy-home-btn:hover {
  filter: brightness(1.07);
  transform: translateY(-1px);
}

.rp-fantasy-home-btn.is-secondary {
  border-color: rgba(185,155,94,.24);
  background: rgba(255,255,255,.05);
  color: #f6d77b !important;
}

@media (max-width: 920px) {
  .rp-fantasy-home-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .rp-fantasy-home-matchday {
    padding: 28px 14px 24px;
  }

  .rp-fantasy-home-card {
    padding: 18px;
    border-radius: 18px;
  }

  .rp-fantasy-home-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rp-fantasy-home-card-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .rp-fantasy-home-mini-row {
    grid-template-columns: 30px minmax(0, 1fr) auto;
  }
}

/* Daily Fantasy Pick – one-match-per-day mode */

.rp-fantasy-daily-pick-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr);
  gap: 20px;
  align-items: stretch;
}

.rp-fantasy-daily-match-main {
  min-height: 180px;
  padding: 24px;
  border: 1px solid rgba(185,155,94,.22);
  border-radius: 20px;
  background:
    radial-gradient(circle at 50% 0%, rgba(185,155,94,.16), transparent 58%),
    rgba(0,0,0,.22);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.rp-fantasy-daily-teams {
  display: grid;
  gap: 8px;
  margin: 12px 0 14px;
  text-align: center;
}

.rp-fantasy-daily-teams strong {
  color: #fff5d9;
  font-family: var(--rp-font-head, "Chakra Petch", sans-serif);
  font-size: clamp(26px, 3.2vw, 44px);
  font-weight: 900;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: .035em;
}

.rp-fantasy-daily-teams span {
  color: rgba(218,188,115,.88);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.rp-fantasy-daily-kickoff {
  align-self: center;
  padding: 8px 13px;
  border: 1px solid rgba(185,155,94,.20);
  border-radius: 999px;
  background: rgba(0,0,0,.22);
  color: #f6d77b;
  font-family: var(--rp-font-head, "Chakra Petch", sans-serif);
  font-weight: 900;
}

.rp-fantasy-daily-pick-side {
  border: 1px solid rgba(185,155,94,.18);
  border-radius: 20px;
  background: rgba(0,0,0,.18);
  display: flex;
  align-items: center;
  justify-content: center;
}

.rp-fantasy-daily-pick-form {
  width: 100%;
}

.rp-fantasy-daily-pick-buttons,
.rp-fantasy-home-pick-buttons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
}

.rp-fantasy-daily-pick-buttons button,
.rp-fantasy-home-pick-button {
  min-height: 50px;
  border: 1px solid rgba(185,155,94,.34);
  border-radius: 999px;
  background: rgba(0,0,0,.18);
  color: #f6d77b;
  cursor: pointer;
  font-family: var(--rp-font-head, "Chakra Petch", sans-serif);
  font-size: 17px;
  font-weight: 900;
  letter-spacing: .06em;
  transition: background .18s ease, border-color .18s ease, transform .18s ease, color .18s ease;
}

.rp-fantasy-daily-pick-buttons button:hover,
.rp-fantasy-home-pick-button:hover,
.rp-fantasy-daily-pick-buttons button.is-selected,
.rp-fantasy-home-pick-button.is-selected {
  border-color: rgba(255,230,160,.52);
  background: linear-gradient(180deg, #e7c66e, #b99b5e);
  color: #171514;
  transform: translateY(-1px);
}

.rp-fantasy-daily-pick-help,
.rp-fantasy-home-pick-help {
  margin: 12px 0 0;
  text-align: center;
  font-size: 12px;
}

.rp-fantasy-empty-daily-pick {
  padding: 22px;
  border: 1px dashed rgba(185,155,94,.24);
  border-radius: 18px;
  text-align: center;
}

.rp-fantasy-pick-history-table .rp-fantasy-match-main {
  font-weight: 900;
}

.rp-fantasy-history-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 5px 10px;
  border: 1px solid rgba(185,155,94,.24);
  border-radius: 999px;
  background: rgba(255,255,255,.05);
  color: rgba(245,237,220,.80);
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

.rp-fantasy-history-status.is-correct {
  border-color: rgba(87,190,120,.40);
  background: rgba(87,190,120,.13);
  color: #a7efba;
}

.rp-fantasy-history-status.is-incorrect {
  border-color: rgba(220,70,70,.38);
  background: rgba(220,70,70,.12);
  color: #ffabab;
}

.rp-fantasy-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.rp-fantasy-pagination a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(185,155,94,.24);
  border-radius: 999px;
  background: rgba(0,0,0,.20);
  color: #f6d77b !important;
  font-family: var(--rp-font-head, "Chakra Petch", sans-serif);
  font-weight: 900;
  text-decoration: none !important;
}

.rp-fantasy-pagination a.is-active,
.rp-fantasy-pagination a:hover {
  background: linear-gradient(180deg, #e7c66e, #b99b5e);
  color: #171514 !important;
}

.rp-fantasy-home-pick-form {
  margin-top: 16px;
}

@media (max-width: 820px) {
  .rp-fantasy-daily-pick-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .rp-fantasy-daily-match-main,
  .rp-fantasy-daily-pick-side {
    padding: 16px;
  }

  .rp-fantasy-pick-history-table th:nth-child(2),
  .rp-fantasy-pick-history-table td:nth-child(2) {
    display: none;
  }
}

.rp-fantasy-round-status-locked {
  border-color: rgba(220,70,70,.38);
  background: rgba(220,70,70,.12);
  color: #ffabab;
}

/* Rolling 2-day Fantasy pick window */
.rp-fantasy-home-pick-list {
  display: grid;
  gap: 12px;
}

.rp-fantasy-home-pick-card {
  padding: 14px;
  border: 1px solid rgba(185,155,94,.20);
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 0%, rgba(185,155,94,.10), transparent 58%),
    rgba(0,0,0,.20);
}

.rp-fantasy-home-pick-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 9px;
}

.rp-fantasy-home-pick-top span {
  color: #f6d77b;
  font-family: var(--rp-font-head, "Chakra Petch", sans-serif);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .10em;
  text-transform: uppercase;
}

.rp-fantasy-home-pick-top em {
  min-height: 24px;
  padding: 4px 9px;
  border: 1px solid rgba(87,190,120,.36);
  border-radius: 999px;
  background: rgba(87,190,120,.11);
  color: #a7efba;
  font-size: 9px;
  font-weight: 900;
  font-style: normal;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.rp-fantasy-home-pick-teams {
  display: grid;
  gap: 4px;
  margin: 9px 0 10px;
  text-align: center;
}

.rp-fantasy-home-pick-teams strong {
  color: #fff5d9;
  font-family: var(--rp-font-head, "Chakra Petch", sans-serif);
  font-size: clamp(18px, 1.9vw, 24px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
  letter-spacing: .035em;
}

.rp-fantasy-home-pick-teams b {
  color: rgba(218,188,115,.86);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.rp-fantasy-daily-window-list {
  display: grid;
}

.rp-fantasy-daily-window-item {
  display: grid;
  gap: 16px;
  align-items: stretch;
  border: 1px solid rgba(185,155,94,.20);
  background:
    radial-gradient(circle at 16% 0%, rgba(185,155,94,.13), transparent 48%),
    rgba(0,0,0,.18);
}

.rp-fantasy-daily-window-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.rp-fantasy-daily-window-kicker {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 8px;
  padding: 5px 10px;
  border: 1px solid rgba(185,155,94,.22);
  border-radius: 999px;
  background: rgba(0,0,0,.18);
  color: #f6d77b;
  font-family: var(--rp-font-head, "Chakra Petch", sans-serif);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.rp-fantasy-daily-window-main h4 {
  color: #fff5d9;
  font-family: var(--rp-font-head, "Chakra Petch", sans-serif);
  font-weight: 900;
  line-height: 1.06;
  text-transform: uppercase;
  letter-spacing: .035em;
  margin: 6px 0 10px;
  font-size: clamp(20px, 2.35vw, 30px);
}

.rp-fantasy-daily-window-main h4 span {
  color: rgba(218,188,115,.88);
  font-size: .45em;
  letter-spacing: .18em;
}

.rp-fantasy-kickoff-pill {
  display: inline-flex;
  width: fit-content;
  padding: 8px 13px;
  border: 1px solid rgba(185,155,94,.20);
  border-radius: 999px;
  background: rgba(0,0,0,.22);
  color: #f6d77b;
  font-family: var(--rp-font-head, "Chakra Petch", sans-serif);
  font-size: 12px;
  font-weight: 900;
}

@media (max-width: 820px) {
  .rp-fantasy-daily-window-item {
    grid-template-columns: 1fr;
  }
}

/* Fantasy v2 refined current-window mode */
.rp-fantasy-home-pick-list.is-single-pick {
  grid-template-columns: 1fr;
}

.rp-fantasy-home-window-done {
  margin-top: 14px;
  padding: 13px 15px;
  border: 1px solid rgba(185,155,94,.22);
  border-radius: 16px;
  background: rgba(185,155,94,.08);
  color: rgba(245,237,220,.86);
  font-size: 13px;
  line-height: 1.45;
}

.rp-fantasy-daily-window-list {
  gap: 10px;
}

.rp-fantasy-daily-window-item {
  padding: 14px 16px;
  border-radius: 18px;
  grid-template-columns: minmax(0, 1.35fr) minmax(250px, .65fr);
}

.rp-fantasy-daily-pick-side {
  padding: 14px 16px;
}

.rp-fantasy-daily-pick-buttons button {
  min-height: 44px;
}

.rp-fantasy-daily-pick-help {
  margin-top: 9px;
}

.rp-fantasy-daily-pick-card,
.rp-fantasy-pick-history-card {
  margin-top: 18px;
}

.rp-fantasy-pick-history-card.is-loading {
  opacity: .84;
  pointer-events: none;
}

/* Homepage Fantasy AJAX save feedback */
.rp-fantasy-home-pick-form.is-saving {
  pointer-events: none;
}

.rp-fantasy-home-pick-form.is-saving .rp-fantasy-home-pick-button:not(.is-loading) {
  opacity: .42;
}

.rp-fantasy-home-pick-button.is-loading {
  position: relative;
  overflow: hidden;
  transform: translateY(-1px) scale(.98);
}

.rp-fantasy-home-pick-button.is-loading::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.28), transparent);
  transform: translateX(-100%);
  animation: rpFantasyHomeButtonShine .72s ease forwards;
}

.rp-fantasy-home-ajax-message {
  margin-top: 10px;
  text-align: center;
  color: rgba(245,237,220,.78);
  font-size: 12px;
  font-weight: 800;
}

.rp-fantasy-home-ajax-message.is-success {
  color: #f6d77b;
}

.rp-fantasy-home-ajax-message.is-error {
  color: #ffabab;
}

.rp-fantasy-home-matchday.is-ajax-updated .rp-fantasy-home-match {
  animation: rpFantasyHomeCardSaved .62s ease both;
}

.rp-fantasy-home-matchday.is-ajax-updated .rp-fantasy-home-pick-card,
.rp-fantasy-home-matchday.is-ajax-updated .rp-fantasy-home-window-done {
  animation: rpFantasyHomePickReveal .56s ease both;
}

@keyframes rpFantasyHomeButtonShine {
  from { transform: translateX(-105%); }
  to { transform: translateX(105%); }
}

@keyframes rpFantasyHomeCardSaved {
  0% { box-shadow: 0 22px 70px rgba(0,0,0,.28), 0 0 0 rgba(185,155,94,0); }
  34% { box-shadow: 0 22px 70px rgba(0,0,0,.28), 0 0 34px rgba(218,188,115,.22); }
  100% { box-shadow: 0 22px 70px rgba(0,0,0,.28), 0 0 0 rgba(185,155,94,0); }
}

@keyframes rpFantasyHomePickReveal {
  from { opacity: .28; transform: translateY(10px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Homepage Fantasy saved checkmark feedback */
.rp-fantasy-home-save-check {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 12;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px 12px 13px;
  border: 1px solid rgba(91, 214, 128, .58);
  border-radius: 999px;
  background:
    radial-gradient(circle at 28% 22%, rgba(91,214,128,.24), transparent 42%),
    rgba(12, 27, 18, .94);
  color: #dfffe8;
  box-shadow:
    0 18px 52px rgba(0,0,0,.42),
    0 0 32px rgba(91,214,128,.20),
    inset 0 1px 0 rgba(255,255,255,.10);
  transform: translate(-50%, -50%) scale(.82);
  opacity: 0;
  pointer-events: none;
  animation: rpFantasyHomeCheckPop .72s cubic-bezier(.18, .88, .22, 1.14) forwards;
}

.rp-fantasy-home-save-check.is-hiding {
  animation: rpFantasyHomeCheckFade .22s ease forwards;
}

.rp-fantasy-home-save-check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: linear-gradient(180deg, #6ff59a, #31b862);
  color: #07140b;
  font-size: 18px;
  font-weight: 950;
  box-shadow: 0 0 22px rgba(91,214,128,.36);
}

.rp-fantasy-home-save-check-text {
  color: #e9fff0;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}

@keyframes rpFantasyHomeCheckPop {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(.72); }
  48% { opacity: 1; transform: translate(-50%, -50%) scale(1.06); }
  76% { opacity: 1; transform: translate(-50%, -50%) scale(.98); }
  100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

@keyframes rpFantasyHomeCheckFade {
  from { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  to { opacity: 0; transform: translate(-50%, -54%) scale(.96); }
}

/* Homepage Fantasy refinement: keep the completed-picks card compact and reduce stale-cache flicker. */

.rp-fantasy-home-card {
  min-height: 0;
}

.rp-fantasy-home-snapshot {
  min-height: 310px;
}

.rp-fantasy-home-matchday.is-refreshing .rp-fantasy-home-match {
  opacity: .94;
}

/* Homepage Fantasy refinement: equal-height cards + centered completed/empty right panel. */
.rp-fantasy-home-grid {
  align-items: stretch;
}

.rp-fantasy-home-grid > .rp-fantasy-home-card {
  height: 100%;
}

.rp-fantasy-home-match {
  display: flex;
  flex-direction: column;
}

.rp-fantasy-home-match-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 14px;
}

.rp-fantasy-home-match.is-empty .rp-fantasy-home-match-body,
.rp-fantasy-home-match.is-window-complete .rp-fantasy-home-match-body {
  justify-content: center;
  text-align: center;
}

.rp-fantasy-home-match.is-window-complete h3,
.rp-fantasy-home-match.is-empty h3 {
  margin-top: 0;
}

/* Homepage Fantasy polish: clearer CTAs, relegation-zone preview, centered right panel. */
.rp-fantasy-home-card-head {
  width: 100%;
  min-height: 38px;
  box-sizing: border-box;
}

.rp-fantasy-home-card-head a,
.rp-fantasy-home-card-head a.rp-fantasy-home-head-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 6px 12px;
  border: 1px solid rgba(218,188,115,.34);
  border-radius: 999px;
  background: rgba(185,155,94,.08);
  color: #f6d77b !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}

.rp-fantasy-home-card-head a:hover,
.rp-fantasy-home-card-head a.rp-fantasy-home-head-cta:hover {
  background: linear-gradient(180deg, rgba(231,198,110,.26), rgba(185,155,94,.12));
  border-color: rgba(246,215,123,.52);
  color: #fff5d9 !important;
}

.rp-fantasy-home-mini-row.is-promotion-zone {
  border-color: rgba(78,190,116,.42);
  background: linear-gradient(180deg, rgba(33,96,55,.34), rgba(20,64,39,.22));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}

.rp-fantasy-home-mini-row.is-promotion-zone.is-current-user {
  border-color: rgba(103,232,141,.56);
  background: linear-gradient(180deg, rgba(33,96,55,.44), rgba(20,64,39,.28));
}

.rp-fantasy-home-mini-row.is-promotion-zone .rp-fantasy-home-mini-pos {
  background: rgba(78,190,116,.20);
  color: #b8ffc9;
}

.rp-fantasy-home-mini-row.is-promotion-zone .rp-fantasy-home-mini-points {
  color: rgba(224,255,231,.88);
}

.rp-fantasy-home-mini-row.is-relegation-zone {
  border-color: rgba(220,70,70,.42);
  background: linear-gradient(180deg, rgba(122,36,36,.34), rgba(74,25,25,.24));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}

.rp-fantasy-home-mini-row.is-relegation-zone.is-current-user {
  border-color: rgba(255,108,108,.54);
  background: linear-gradient(180deg, rgba(122,36,36,.42), rgba(74,25,25,.28));
}

.rp-fantasy-home-mini-row.is-relegation-zone .rp-fantasy-home-mini-pos {
  background: rgba(220,70,70,.20);
  color: #ffb4b4;
}

.rp-fantasy-home-mini-row.is-relegation-zone .rp-fantasy-home-mini-points {
  color: rgba(255,220,220,.86);
}

.rp-fantasy-home-match-body > .rp-fantasy-home-subtitle {
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.rp-fantasy-home-match.is-window-complete .rp-fantasy-home-window-done,
.rp-fantasy-home-match.is-empty .rp-fantasy-home-window-done {
  margin-left: auto;
  margin-right: auto;
}

.rp-fantasy-home-match .rp-fantasy-home-pick-list.is-single-pick {
  width: 100%;
}

@media (max-width: 620px) {
  .rp-fantasy-home-card-head a,
  .rp-fantasy-home-card-head a.rp-fantasy-home-head-cta {
    width: 100%;
  }
}

/* ======================================================
   Fantasy standings page cleanup v16
   Align all standings tables with the cleaned Fantasy League table.
   ====================================================== */
.rp-fantasy-live-status.rp-fantasy-live-status-simple {
  justify-content: flex-start !important;
  gap: 0 !important;
}

.rp-fantasy-live-status.rp-fantasy-live-status-simple em {
  color: rgba(224,224,224,.88) !important;
  font-style: normal !important;
  font-weight: 800 !important;
}

.rp-fantasy-wrap table.rp-fantasy-table.rp-fantasy-all-standings-table,
.rp-fantasy-wrap table.rp-fantasy-table.rp-fantasy-user-standings-table {
  width: 100% !important;
  table-layout: fixed !important;
}

.rp-fantasy-wrap table.rp-fantasy-table.rp-fantasy-all-standings-table th,
.rp-fantasy-wrap table.rp-fantasy-table.rp-fantasy-all-standings-table td,
.rp-fantasy-wrap table.rp-fantasy-table.rp-fantasy-user-standings-table th,
.rp-fantasy-wrap table.rp-fantasy-table.rp-fantasy-user-standings-table td {
  text-align: center !important;
  vertical-align: middle !important;
}

.rp-fantasy-wrap table.rp-fantasy-table.rp-fantasy-all-standings-table th:nth-child(2),
.rp-fantasy-wrap table.rp-fantasy-table.rp-fantasy-all-standings-table td:nth-child(2),
.rp-fantasy-wrap table.rp-fantasy-table.rp-fantasy-user-standings-table th:nth-child(2),
.rp-fantasy-wrap table.rp-fantasy-table.rp-fantasy-user-standings-table td:nth-child(2) {
  text-align: left !important;
  width: auto !important;
}

.rp-fantasy-wrap table.rp-fantasy-table.rp-fantasy-all-standings-table th:nth-child(3),
.rp-fantasy-wrap table.rp-fantasy-table.rp-fantasy-all-standings-table td:nth-child(3),
.rp-fantasy-wrap table.rp-fantasy-table.rp-fantasy-all-standings-table th:nth-child(4),
.rp-fantasy-wrap table.rp-fantasy-table.rp-fantasy-all-standings-table td:nth-child(4),
.rp-fantasy-wrap table.rp-fantasy-table.rp-fantasy-all-standings-table th:nth-child(5),
.rp-fantasy-wrap table.rp-fantasy-table.rp-fantasy-all-standings-table td:nth-child(5),
.rp-fantasy-wrap table.rp-fantasy-table.rp-fantasy-all-standings-table th:nth-child(6),
.rp-fantasy-wrap table.rp-fantasy-table.rp-fantasy-all-standings-table td:nth-child(6),
.rp-fantasy-wrap table.rp-fantasy-table.rp-fantasy-all-standings-table th:nth-child(7),
.rp-fantasy-wrap table.rp-fantasy-table.rp-fantasy-all-standings-table td:nth-child(7),
.rp-fantasy-wrap table.rp-fantasy-table.rp-fantasy-all-standings-table th:nth-child(8),
.rp-fantasy-wrap table.rp-fantasy-table.rp-fantasy-all-standings-table td:nth-child(8),
.rp-fantasy-wrap table.rp-fantasy-table.rp-fantasy-user-standings-table th:nth-child(3),
.rp-fantasy-wrap table.rp-fantasy-table.rp-fantasy-user-standings-table td:nth-child(3),
.rp-fantasy-wrap table.rp-fantasy-table.rp-fantasy-user-standings-table th:nth-child(4),
.rp-fantasy-wrap table.rp-fantasy-table.rp-fantasy-user-standings-table td:nth-child(4),
.rp-fantasy-wrap table.rp-fantasy-table.rp-fantasy-user-standings-table th:nth-child(5),
.rp-fantasy-wrap table.rp-fantasy-table.rp-fantasy-user-standings-table td:nth-child(5),
.rp-fantasy-wrap table.rp-fantasy-table.rp-fantasy-user-standings-table th:nth-child(6),
.rp-fantasy-wrap table.rp-fantasy-table.rp-fantasy-user-standings-table td:nth-child(6),
.rp-fantasy-wrap table.rp-fantasy-table.rp-fantasy-user-standings-table th:nth-child(7),
.rp-fantasy-wrap table.rp-fantasy-table.rp-fantasy-user-standings-table td:nth-child(7),
.rp-fantasy-wrap table.rp-fantasy-table.rp-fantasy-user-standings-table th:nth-child(8),
.rp-fantasy-wrap table.rp-fantasy-table.rp-fantasy-user-standings-table td:nth-child(8) {
  width: 78px !important;
}

.rp-fantasy-wrap table.rp-fantasy-table.rp-fantasy-all-standings-table th:nth-child(9),
.rp-fantasy-wrap table.rp-fantasy-table.rp-fantasy-all-standings-table td:nth-child(9),
.rp-fantasy-wrap table.rp-fantasy-table.rp-fantasy-user-standings-table th:nth-child(9),
.rp-fantasy-wrap table.rp-fantasy-table.rp-fantasy-user-standings-table td:nth-child(9) {
  width: 140px !important;
}

@media (max-width: 900px) {
  .rp-fantasy-wrap table.rp-fantasy-table.rp-fantasy-all-standings-table,
  .rp-fantasy-wrap table.rp-fantasy-table.rp-fantasy-user-standings-table {
    min-width: 960px !important;
  }
}

/* Fantasy League - final compact available picks overrides */
.rp-fantasy-wrap .rp-fantasy-daily-pick-card {
  padding: 18px 20px !important;
}

.rp-fantasy-wrap .rp-fantasy-daily-pick-card .rp-fantasy-round-head {
  margin-bottom: 12px !important;
  padding-bottom: 10px !important;
}

.rp-fantasy-wrap .rp-fantasy-daily-pick-card .rp-fantasy-round-main h3 {
  font-size: clamp(19px, 1.6vw, 23px) !important;
}

.rp-fantasy-wrap .rp-fantasy-daily-window-list {
  gap: 8px !important;
}

.rp-fantasy-wrap .rp-fantasy-daily-window-item {
  grid-template-columns: minmax(0, 1fr) minmax(220px, 280px) !important;
  gap: 12px !important;
  align-items: center !important;
  padding: 12px 14px !important;
  border-radius: 15px !important;
}

.rp-fantasy-wrap .rp-fantasy-daily-window-main h4 {
  margin: 4px 0 8px !important;
  font-size: clamp(18px, 2vw, 25px) !important;
}

.rp-fantasy-wrap .rp-fantasy-match-meta {
  font-size: 11px !important;
  line-height: 1.35 !important;
}

.rp-fantasy-wrap .rp-fantasy-kickoff-pill {
  padding: 6px 10px !important;
  font-size: 11px !important;
}

.rp-fantasy-wrap .rp-fantasy-daily-pick-side {
  min-height: 76px !important;
  padding: 10px 12px !important;
  border-radius: 15px !important;
}

.rp-fantasy-wrap .rp-fantasy-daily-pick-buttons {
  gap: 8px !important;
}

.rp-fantasy-wrap .rp-fantasy-daily-pick-buttons button {
  min-height: 38px !important;
  font-size: 14px !important;
}

.rp-fantasy-wrap .rp-fantasy-daily-pick-help {
  display: none !important;
}

.rp-fantasy-daily-window-item.is-pick-saved {
  animation: rpFantasyPickSavedPanel .9s ease both;
}

.rp-fantasy-daily-pick-form.is-pick-saved .rp-fantasy-daily-pick-buttons button.is-selected,
.rp-fantasy-daily-pick-buttons button.is-saved {
  border-color: rgba(91,214,128,.72) !important;
  background: linear-gradient(180deg, #6ff59a, #2f9f5a) !important;
  color: #07140b !important;
  box-shadow: 0 0 0 1px rgba(91,214,128,.26), 0 0 22px rgba(91,214,128,.26) !important;
}

@keyframes rpFantasyPickSavedPanel {
  0% { border-color: rgba(185,155,94,.20); box-shadow: none; }
  28% { border-color: rgba(91,214,128,.68); box-shadow: 0 0 26px rgba(91,214,128,.20); }
  100% { border-color: rgba(185,155,94,.20); box-shadow: none; }
}

@media (max-width: 820px) {
  .rp-fantasy-wrap .rp-fantasy-daily-window-item {
    grid-template-columns: 1fr !important;
  }

  .rp-fantasy-wrap .rp-fantasy-daily-pick-side {
    min-height: 0 !important;
  }
}

/* Fantasy League standings - rank column optical centering */
.rp-fantasy-wrap table.rp-fantasy-table.rp-fantasy-all-standings-table th:nth-child(1),
.rp-fantasy-wrap table.rp-fantasy-table.rp-fantasy-all-standings-table td:nth-child(1),
.rp-fantasy-wrap table.rp-fantasy-table.rp-fantasy-user-standings-table th:nth-child(1),
.rp-fantasy-wrap table.rp-fantasy-table.rp-fantasy-user-standings-table td:nth-child(1) {
  width: 62px !important;
  min-width: 62px !important;
  padding-left: 4px !important;
  padding-right: 4px !important;
  text-align: center !important;
}

.rp-fantasy-wrap table.rp-fantasy-table.rp-fantasy-all-standings-table th:nth-child(1),
.rp-fantasy-wrap table.rp-fantasy-table.rp-fantasy-user-standings-table th:nth-child(1) {
  letter-spacing: .1em !important;
}

/* Fantasy League standings - reward column optical centering */
.rp-fantasy-wrap table.rp-fantasy-table.rp-fantasy-all-standings-table th:nth-child(8),
.rp-fantasy-wrap table.rp-fantasy-table.rp-fantasy-all-standings-table td:nth-child(8),
.rp-fantasy-wrap table.rp-fantasy-table.rp-fantasy-user-standings-table th:nth-child(8),
.rp-fantasy-wrap table.rp-fantasy-table.rp-fantasy-user-standings-table td:nth-child(8) {
  padding-left: 4px !important;
  padding-right: 4px !important;
  text-align: center !important;
}

.rp-fantasy-wrap .rp-fantasy-reward-label {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  width: 66px !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 8px !important;
  padding-right: 8px !important;
  text-align: center !important;
}

.rp-fantasy-wrap .rp-fantasy-table tbody td:first-child {
  border-left: 0 !important;
  box-shadow: inset 3px 0 0 transparent !important;
}

.rp-fantasy-wrap .rp-fantasy-table tbody tr.rp-fantasy-row-champion td:first-child,
.rp-fantasy-wrap .rp-fantasy-table tbody tr.rp-fantasy-row-champions td:first-child {
  box-shadow: inset 3px 0 0 var(--rp-gold, #dabc73) !important;
}

.rp-fantasy-wrap .rp-fantasy-table tbody tr.rp-fantasy-row-promotion td:first-child {
  box-shadow: inset 3px 0 0 #57be78 !important;
}

.rp-fantasy-wrap .rp-fantasy-table tbody tr.rp-fantasy-row-relegation td:first-child {
  box-shadow: inset 3px 0 0 #dc4646 !important;
}
