.empty-data {
  padding: 42px 24px
}

.empty-data h1,
.empty-data h2 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 21px
}

.empty-data p {
  max-width: 620px;
  margin: 0 auto 17px
}

.edition-banner {
  grid-template-columns: 1fr
}

.page-content {
  margin-top: 0;
  padding-top: 42px
}

@media(max-width:1050px) {
  .empty-data {
    padding: 30px 15px
  }
}

.versus-text {
  color: #76909e
}

.tool-intro {
  margin-bottom: 16px;
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap
}

.tool-intro h2 {
  margin: 0 0 3px;
  font-size: 21px
}

.tool-intro p {
  margin: 0;
  color: var(--muted)
}

.tool-switch {
  display: flex;
  gap: 7px;
  margin-left: auto
}

.tool-switch a {
  padding: 8px 11px;
  border: 1px solid var(--stroke);
  border-radius: 8px;
  background: #edf4f7;
  font-weight: 700
}

.tool-switch a.selected {
  background: var(--green);
  border-color: var(--green);
  color: #fff
}

.generator-controls {
  display: flex;
  gap: 8px;
  align-items: center
}

.generator-controls select,
.generator-controls button,
.slip-submit {
  border: 0;
  border-radius: 8px;
  padding: 10px 13px;
  font-weight: 700
}

.generator-controls select {
  border: 1px solid var(--stroke);
  background: #fff
}

.generator-controls button,
.slip-submit {
  background: var(--green);
  color: #fff
}

.slip-summary {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  border: 1px solid #9ad7b2;
  background: #eaf8ef;
  padding: 13px 15px;
  border-radius: 0px;
  margin-bottom: 14px
}

.slip-summary.invalid {
  border-color: #efc481;
  background: #fff6e7
}

.slip-summary small {
  width: 100%;
  color: #8a561a
}

.slip-form {
  background: #fff;
  border: 1px solid var(--stroke);
  border-radius: 17px;
  box-shadow: var(--shadow);
  padding: 15px
}

.slip-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  padding: 3px 3px 12px;
  font-weight: 700
}

.slip-head small {
  color: var(--muted);
  font-weight: 500
}

.slip-match {
  border: 0;
  border-bottom: 1px solid #e8eff3;
  margin: 0;
  padding: 11px 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px
}

.slip-match legend {
  float: left;
  max-width: 63%;
  font-weight: 700
}

.slip-match legend span {
  color: var(--muted);
  font-weight: 400
}

.outcomes {
  display: flex;
  gap: 6px
}

.outcomes label {
  cursor: pointer
}

.outcomes input {
  position: absolute;
  opacity: 0;
  pointer-events: none
}

.outcomes span {
  display: block;
  min-width: 46px;
  text-align: center;
  padding: 6px 7px;
  border-radius: 8px;
  border: 1px solid #d4e2e8;
  background: #f4f8fa;
  font-weight: 700
}

.outcomes small {
  font-size: 10px;
  color: var(--muted);
  font-weight: 600
}

.outcomes input:checked+span {
  background: #c8efdb;
  border-color: #53b57c;
  color: #075f36
}

.outcomes input:focus-visible+span {
  outline: 3px solid #36bf82
}

.slip-submit {
  display: inline-block;
  margin-top: 15px;
  text-decoration: none
}

.rules-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px
}

.rule-card {
  padding: 22px
}

.rule-card h2,
.rule-note h2 {
  margin: 0 0 8px
}

.rule-card p {
  font-size: 17px;
  color: #087a43
}

.rule-card li {
  margin: 8px 0;
  color: #425b6b
}

.rule-note {
  margin-top: 16px;
  padding: 20px
}

.rule-note p {
  margin-bottom: 0;
  color: #425b6b
}

@media(max-width:1050px) {
  .tool-switch {
    margin-left: 0;
    width: 100%
  }

  .tool-switch a {
    flex: 1;
    text-align: center
  }

  .slip-match {
    display: block
  }

  .slip-match legend {
    float: none;
    max-width: none;
    margin-bottom: 9px
  }

  .outcomes {
    justify-content: flex-start
  }

  .rules-grid {
    grid-template-columns: 1fr
  }

  .generator-controls {
    width: 100%
  }

  .generator-controls select,
  .generator-controls button {
    flex: 1
  }
}

.tool-intro {
  box-shadow: var(--shadow);
  border-radius: 17px
}

.tool-intro .generator-controls {
  margin-left: auto
}

.slip-match legend {
  float: none;
  max-width: 63%
}

.outcomes span {
  min-width: 52px;
  padding: 7px 8px
}

@media(max-width:1050px) {
  .tool-intro .generator-controls {
    margin-left: 0
  }

  .slip-match legend {
    max-width: none
  }
}

.slip-form {
  padding: 0
}

.slip-head {
  padding: 18px 20px;
  border-bottom: 1px solid var(--stroke)
}

.slip-head h2 {
  margin: 2px 0 0;
  font-size: 21px;
  letter-spacing: -.35px
}

.slip-kicker {
  color: var(--green);
  font-size: 10px;
  letter-spacing: 1.1px;
  font-weight: 700
}

.slip-summary {
  display: grid;
  grid-template-columns: 1.35fr repeat(4, 1fr);
  gap: 0;
  margin: 0;
  border: 0;
  border-bottom: 1px solid var(--stroke);
  border-radius: 0;
  padding: 0;
  background: #eff9f3
}

.slip-summary.invalid {
  border-color: var(--stroke);
  background: #fff7e8
}

.slip-summary>div {
  padding: 13px 18px;
  border-right: 1px solid #d8e9df
}

.slip-summary>div:last-of-type {
  border-right: 0
}

.slip-summary small {
  display: block;
  width: auto;
  margin-bottom: 2px;
  color: #688077;
  font-size: 9px;
  letter-spacing: .75px;
  font-weight: 700
}

.slip-summary strong {
  display: block;
  color: #123f2b;
  font-size: 15px
}

.slip-summary.invalid strong {
  color: #76501a
}

.slip-summary p {
  grid-column: 1/-1;
  margin: 0;
  padding: 9px 18px;
  background: #fff0d4;
  color: #80551a;
  font-size: 12px
}

.selection-table {
  min-width: 920px
}

.selection-table th:nth-last-child(-n+3),
.selection-table td:nth-last-child(-n+3) {
  width: 86px;
  text-align: center
}

.selection-table td {
  height: 61px
}

.outcome-choice {
  display: inline-block;
  cursor: pointer
}

.outcome-choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none
}

.outcome-choice span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 61px;
  padding: 6px 8px;
  border: 1px solid #d8e5eb;
  border-radius: 20px;
  background: #edf3f5;
  color: #173042;
  transition: .15s ease
}

.outcome-choice b {
  font-size: 13px
}

.outcome-choice small {
  font-size: 11px;
  color: #647b88
}

.outcome-choice:hover span {
  border-color: #7cc8a0;
  background: #e7f6ed
}

.outcome-choice input:checked+span {
  border-color: #40ac73;
  background: #c8efdb;
  color: #066a3a;
  box-shadow: inset 0 0 0 1px #77c99d
}

.outcome-choice input:checked+span small {
  color: #166c43
}

.outcome-choice input:focus-visible+span {
  outline: 3px solid #36bf82;
  outline-offset: 2px
}

.slip-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 15px 20px;
  border-top: 1px solid var(--stroke)
}

.slip-actions p {
  margin: 0;
  color: var(--muted);
  font-size: 11px
}

.slip-actions .slip-submit {
  margin: 0;
  padding: 11px 18px
}

@media(max-width:850px) {
  .slip-summary {
    grid-template-columns: repeat(2, 1fr)
  }

  .slip-summary>div {
    border-bottom: 1px solid #d8e9df
  }

  .slip-summary>div:first-child {
    grid-column: 1/-1
  }

  .slip-head {
    align-items: flex-start;
    flex-direction: column
  }

  .slip-actions {
    align-items: stretch;
    flex-direction: column
  }

  .slip-actions .slip-submit {
    width: 100%
  }
}

@media(max-width:500px) {
  .slip-summary {
    grid-template-columns: 1fr 1fr
  }

  .slip-summary>div {
    padding: 10px 12px
  }
}

.today-toolbar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 17px 20px;
  margin-bottom: 16px
}

.today-toolbar .date-summary {
  flex: 1
}

.today-toolbar span {
  display: block;
  color: var(--green);
  font-size: 9px;
  letter-spacing: 1px;
  font-weight: 700
}

.today-toolbar h2 {
  margin: 2px 0 1px;
  font-size: 21px
}

.today-toolbar p {
  margin: 0;
  color: var(--muted);
  font-size: 12px
}

.date-arrow,
.date-actions>a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--stroke);
  border-radius: 9px;
  background: #edf4f7;
  min-height: 40px;
  padding: 0 13px;
  font-weight: 700
}

.date-arrow {
  min-width: 40px;
  font-size: 18px
}

.date-arrow:hover,
.date-actions>a:hover {
  border-color: #70c897;
  background: #e8f7ee
}

.date-actions {
  display: flex;
  align-items: center;
  gap: 7px
}

.league-panel {
  margin-bottom: 14px
}

.league-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 14px 18px;
  background: linear-gradient(100deg, #062a3c, #0a4150);
  color: #fff
}

.league-heading span {
  display: block;
  color: #83dbab;
  font-size: 9px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 700
}

.league-heading h2 {
  margin: 1px 0 0;
  font-size: 17px
}

.league-heading>b {
  padding: 4px 9px;
  border: 1px solid #ffffff24;
  border-radius: 20px;
  background: #ffffff12;
  color: #d8eef0;
  font-size: 10px
}

.today-table {
  min-width: 760px
}

.today-table th:first-child,
.today-table td:first-child {
  width: 90px
}

.today-table th:nth-last-child(-n+3),
.today-table td:nth-last-child(-n+3) {
  width: 105px;
  text-align: center
}

.match-time {
  font-weight: 700
}

.match-time small {
  display: block;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: .5px
}

.match-score {
  font-size: 15px;
  font-weight: 700
}

.odds-available {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 20px;
  background: #d8f4e4;
  color: #08733e;
  font-size: 10px;
  font-weight: 700
}

.pill.postponed {
  background: #fff0d2;
  color: #8b5b08
}

.pill.cancelled {
  background: #ffe1df;
  color: #a6312b
}

.today-empty {
  padding: 48px 25px
}

.today-empty h2 {
  margin: 0 0 5px;
  color: var(--ink)
}

.today-empty .btn-more {
  display: inline-block;
  margin-top: 8px
}

@media(max-width:1050px) {
  .today-toolbar {
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 15px
  }

  .today-toolbar .date-summary {
    order: -1;
    flex: 0 0 100%
  }

  .today-toolbar>.date-arrow {
    display: inline-flex
  }

  .date-actions {
    flex: 1;
    flex-direction: row;
    align-items: center
  }

  .date-actions>a:first-child {
    flex: 1
  }

  .date-actions>a {
    min-height: 40px
  }

  .league-heading {
    padding: 12px 14px
  }
}

.day-tabs a.selected {
  border-color: var(--green);
  background: var(--green);
  color: #fff
}

.day-tabs a {
  min-width: 94px
}

@media(max-width:1050px) {
  .table-scroll {
    overflow: visible
  }

  .edition-table,
  .selection-table,
  .today-table {
    display: block;
    min-width: 0;
    width: 100%
  }

  .edition-table thead,
  .selection-table thead,
  .today-table thead {
    display: none
  }

  .edition-table tbody,
  .selection-table tbody,
  .today-table tbody {
    display: grid;
    gap: 10px
  }

  .edition-table tr,
  .selection-table tr,
  .today-table tr {
    display: grid;
    background: #fff !important;
    border: 1px solid var(--stroke);
    border-radius: 12px;
    box-shadow: 0 3px 12px #0c35400b;
    overflow: hidden
  }

  .edition-table td,
  .selection-table td,
  .today-table td {
    width: auto !important;
    height: auto;
    border: 0 !important;
    padding: 8px;
    white-space: normal;
    text-align: left !important
  }

  .edition-table tr {
    grid-template-columns: 34px repeat(3, minmax(0, 1fr));
    grid-template-areas: "number match match match" "number kickoff kickoff status" "number odd1 oddx odd2" "number prediction prediction prediction"
  }

  .edition-table td:nth-child(1) {
    grid-area: number;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 13px;
    background: #edf4f7;
    font-weight: 700
  }

  .edition-table td:nth-child(2) {
    grid-area: match;
    padding: 11px 10px 3px;
    font-size: 14px
  }

  .edition-table td:nth-child(3) {
    grid-area: kickoff;
    color: var(--muted);
    font-size: 11px;
    padding: 4px 10px 8px
  }

  .edition-table td:nth-child(4) {
    grid-area: odd1
  }

  .edition-table td:nth-child(5) {
    grid-area: oddx
  }

  .edition-table td:nth-child(6) {
    grid-area: odd2
  }

  .edition-table td:nth-child(4),
  .edition-table td:nth-child(5),
  .edition-table td:nth-child(6) {
    display: flex;
    align-items: center;
    justify-content: center !important;
    gap: 5px;
    padding: 8px 4px;
    border-top: 1px solid #edf1f4 !important
  }

  .edition-table td:nth-child(4)::before {
    content: "1"
  }

  .edition-table td:nth-child(5)::before {
    content: "X"
  }

  .edition-table td:nth-child(6)::before {
    content: "2"
  }

  .edition-table td:nth-child(4)::before,
  .edition-table td:nth-child(5)::before,
  .edition-table td:nth-child(6)::before {
    color: var(--muted);
    font-size: 10px;
    font-weight: 700
  }

  .edition-table td:nth-child(7) {
    grid-area: prediction;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 10px;
    border-top: 1px solid #edf1f4 !important
  }

  .edition-table td:nth-child(7)::before {
    content: "Prediction";
    color: var(--muted);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px
  }

  .edition-table td:nth-child(8) {
    grid-area: status;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end !important;
    padding: 3px 10px 7px
  }

  .selection-table tr {
    grid-template-columns: 34px repeat(3, minmax(0, 1fr));
    grid-template-areas: "number match match match" "number kickoff kickoff kickoff" "number odd1 oddx odd2"
  }

  .selection-table td:nth-child(1) {
    grid-area: number;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 13px;
    background: #edf4f7;
    font-weight: 700
  }

  .selection-table td:nth-child(2) {
    grid-area: match;
    padding: 11px 10px 3px;
    font-size: 14px
  }

  .selection-table td:nth-child(3) {
    grid-area: kickoff;
    color: var(--muted);
    font-size: 11px;
    padding: 4px 10px 8px
  }

  .selection-table td:nth-child(4) {
    grid-area: odd1
  }

  .selection-table td:nth-child(5) {
    grid-area: oddx
  }

  .selection-table td:nth-child(6) {
    grid-area: odd2
  }

  .selection-table td:nth-child(4),
  .selection-table td:nth-child(5),
  .selection-table td:nth-child(6) {
    padding: 8px 4px;
    border-top: 1px solid #edf1f4 !important;
    text-align: center !important
  }

  .selection-table .outcome-choice,
  .selection-table .outcome-choice span {
    width: 100%
  }

  .today-table tr {
    grid-template-columns: 72px minmax(0, 1fr) auto;
    grid-template-areas: "time match match" "score status odds"
  }

  .today-table td:nth-child(1) {
    grid-area: time;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #edf4f7;
    padding: 10px 6px
  }

  .today-table td:nth-child(2) {
    grid-area: match;
    padding: 12px 10px;
    font-size: 14px
  }

  .today-table td:nth-child(3) {
    grid-area: score;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 9px 10px;
    border-top: 1px solid #edf1f4 !important
  }

  .today-table td:nth-child(3)::before {
    content: "Score";
    color: var(--muted);
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase
  }

  .today-table td:nth-child(4) {
    grid-area: status;
    display: flex;
    align-items: center;
    justify-content: center !important;
    padding: 8px 5px;
    border-top: 1px solid #edf1f4 !important
  }

  .today-table td:nth-child(5) {
    grid-area: odds;
    display: flex;
    align-items: center;
    justify-content: flex-end !important;
    padding: 8px 9px;
    border-top: 1px solid #edf1f4 !important
  }
}

/* Prediction tools share the same visual language as the jackpot editions. */
.prediction-page {
  padding: 15px
}

.prediction-banner {
  margin-bottom: 14px
}

.prediction-banner small {
  display: block;
  margin-top: 7px;
  color: #92b7c2;
  font-size: 11px
}

.prediction-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 0 16px;
  padding: 14px 18px;
  border: 1px solid #dce8ee;
  border-radius: 0px;
  background: #f2f7f9
}

.prediction-toolbar>div {
  min-width: 0
}

.prediction-toolbar span {
  display: block;
  color: var(--green);
  font-size: 9px;
  letter-spacing: 1px;
  font-weight: 700
}

.prediction-toolbar h3 {
  margin: 2px 0 1px;
  font-size: 17px;
  color: var(--ink)
}

.prediction-toolbar p {
  margin: 0;
  color: var(--muted);
  font-size: 12px
}

.prediction-page .generator-controls {
  margin-left: auto;
  flex: 0 0 auto
}

.prediction-page .slip-form {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: visible
}

.prediction-page .slip-head {
  margin: 0 0 12px;
  padding: 0;
  border: 0
}

.prediction-page .slip-head h2 {
  font-size: 21px
}

.prediction-page .slip-summary {
  margin: 0 0 14px;
  border: 1px solid #d7e9df;
  border-radius: 0px;
  overflow: hidden
}

.prediction-page .selection-table {
  min-width: 740px
}

.prediction-page .selection-table th {
  background: #eaf1f5
}

.prediction-page .selection-table tr:nth-child(even) {
  background: #f8fafb
}

.prediction-page .slip-actions {
  margin-top: 0;
  padding: 15px 0 0;
  border-top: 1px solid var(--stroke)
}

@media(max-width:1050px) {
  .prediction-page {
    padding: 11px
  }

  .prediction-banner {
    margin-bottom: 11px
  }

  .prediction-toolbar {
    align-items: stretch;
    flex-direction: column;
    padding: 13px 14px;
    gap: 10px
  }

  .prediction-page .generator-controls {
    width: 100%;
    margin-left: 0
  }

  .prediction-page .generator-controls select,
  .prediction-page .generator-controls button {
    min-height: 42px
  }

  .prediction-page .slip-head {
    align-items: flex-start;
    margin-bottom: 10px;
    padding: 0 2px
  }

  .prediction-page .slip-head small {
    font-size: 10px
  }

  .prediction-page .selection-table {
    min-width: 0
  }

  .prediction-page .selection-table tbody {
    gap: 10px
  }
}

/* Full 1X2 market and model prediction on the Today page. */
.today-table {
  min-width: 980px
}

.today-table th:first-child,
.today-table td:first-child {
  width: 80px
}

.today-table th:nth-child(3),
.today-table td:nth-child(3) {
  width: 75px;
  text-align: center
}

.today-table th:nth-child(4),
.today-table td:nth-child(4) {
  width: 115px;
  text-align: center
}

.today-table th:nth-child(n+5),
.today-table td:nth-child(n+5) {
  width: 74px;
  text-align: center
}

@media(max-width:1050px) {
  .today-table {
    min-width: 0
  }

  .today-table tr {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-areas: "time match match" "score status prediction" "odd1 oddx odd2"
  }

  .today-table td:nth-child(1) {
    grid-area: time
  }

  .today-table td:nth-child(2) {
    grid-area: match
  }

  .today-table td:nth-child(3) {
    grid-area: score;
    justify-content: center !important;
    padding: 9px 6px
  }

  .today-table td:nth-child(4) {
    grid-area: status
  }

  .today-table td:nth-child(5) {
    grid-area: odd1
  }

  .today-table td:nth-child(6) {
    grid-area: oddx
  }

  .today-table td:nth-child(7) {
    grid-area: odd2
  }

  .today-table td:nth-child(5),
  .today-table td:nth-child(6),
  .today-table td:nth-child(7) {
    display: flex;
    align-items: center;
    justify-content: center !important;
    gap: 5px;
    padding: 9px 4px;
    border-top: 1px solid #edf1f4 !important
  }

  .today-table td:nth-child(5)::before {
    content: "1"
  }

  .today-table td:nth-child(6)::before {
    content: "X"
  }

  .today-table td:nth-child(7)::before {
    content: "2"
  }

  .today-table td:nth-child(5)::before,
  .today-table td:nth-child(6)::before,
  .today-table td:nth-child(7)::before {
    color: var(--muted);
    font-size: 9px;
    font-weight: 700
  }

  .today-table td:nth-child(8) {
    grid-area: prediction;
    display: flex;
    align-items: center;
    justify-content: center !important;
    gap: 5px;
    padding: 8px 5px;
    border-top: 1px solid #edf1f4 !important
  }

  .today-table td:nth-child(8)::before {
    content: "Prediction";
    color: var(--muted);
    font-size: 8px;
    font-weight: 700;
    text-transform: uppercase
  }
}
