/* Pawn Realm open lobby dashboard. Loaded after the legacy component stylesheet. */
html body.view-challenges,
html body.view-challenges .site-grid,
html body.view-challenges .main-content,
html body.view-challenges .com-content-article,
html body.view-challenges .chessora-challenges-page {
  background: #080d0a !important;
}

html body.view-challenges .chessora-challenges-page {
  color: #f5f0df !important;
  margin: 0 !important;
  max-width: none !important;
  min-height: calc(100vh - 96px) !important;
  padding: 0 24px 28px !important;
}

html body.view-challenges .chessora-challenges-page > .chessora-tabs,
html body.view-challenges .chessora-challenges-page > .chessora-page-head {
  display: none !important;
}

html body.view-challenges .chessora-play-home {
  align-items: start !important;
  display: grid !important;
  gap: 24px !important;
  grid-template-columns: 200px minmax(620px, 1fr) 360px !important;
  justify-content: stretch !important;
  margin: 0 auto !important;
  max-width: 1480px !important;
  min-height: 860px !important;
  padding: 24px 0 0 !important;
  width: 100% !important;
}

html body.view-challenges .chessora-play-home-main {
  display: grid !important;
  gap: 18px !important;
  max-width: none !important;
  min-width: 0 !important;
  width: auto !important;
}

html body.view-challenges .chessora-play-home-rail-left,
html body.view-challenges .chessora-play-home-actions {
  display: flex !important;
}

html body.view-challenges .pr-open-lobby-sidebar {
  align-self: stretch !important;
  background: linear-gradient(180deg, rgba(14, 17, 13, .98), rgba(5, 10, 7, .98)) !important;
  border: 1px solid rgba(242, 195, 91, .12) !important;
  border-radius: 0 0 18px 18px !important;
  flex-direction: column !important;
  gap: 22px !important;
  min-height: 820px !important;
  padding: 28px 18px !important;
}

html body.view-challenges .pr-open-lobby-sidebar::before,
html body.view-challenges .pr-open-lobby-sidebar::after,
html body.view-challenges .chessora-challenges-page .chessora-play-home-rail-left::before,
html body.view-challenges .chessora-challenges-page .chessora-play-home-rail-left::after,
html body.view-challenges .chessora-play-home-rail-left::before,
html body.view-challenges .chessora-play-home-rail-left::after {
  content: none !important;
  display: none !important;
}

html body.view-challenges .pr-open-lobby-brand {
  align-items: center !important;
  display: flex !important;
  justify-content: center !important;
  min-height: 174px !important;
}

html body.view-challenges .pr-open-lobby-brand img {
  display: block !important;
  height: auto !important;
  max-width: 154px !important;
  width: 100% !important;
}

html body.view-challenges .pr-open-lobby-nav {
  display: grid !important;
  gap: 10px !important;
}

html body.view-challenges .pr-open-lobby-nav a {
  align-items: center !important;
  border: 1px solid transparent !important;
  border-radius: 10px !important;
  color: #f5f0df !important;
  display: grid !important;
  font-weight: 900 !important;
  gap: 12px !important;
  grid-template-columns: 28px minmax(0, 1fr) !important;
  min-height: 48px !important;
  padding: 0 12px !important;
  text-decoration: none !important;
}

html body.view-challenges .pr-open-lobby-nav a span {
  color: #f2c35b !important;
  font-size: 1.18rem !important;
  text-align: center !important;
}

html body.view-challenges .pr-open-lobby-nav a.is-active,
html body.view-challenges .pr-open-lobby-nav a:hover,
html body.view-challenges .pr-open-lobby-nav a:focus-visible {
  background: linear-gradient(90deg, rgba(155, 118, 37, .72), rgba(48, 38, 17, .68)) !important;
  border-color: rgba(242, 195, 91, .42) !important;
  outline: 0 !important;
}

html body.view-challenges .pr-open-lobby-sidebar-card {
  border-top: 1px solid rgba(242, 195, 91, .14) !important;
  color: #b8b0a0 !important;
  display: grid !important;
  gap: 2px !important;
  margin-top: auto !important;
  padding-top: 18px !important;
}

html body.view-challenges .pr-open-lobby-sidebar-card strong {
  color: #f2c35b !important;
  font-size: 1.9rem !important;
}

html body.view-challenges .pr-open-top-game {
  align-items: stretch !important;
  background: radial-gradient(circle at 70% 24%, rgba(242, 195, 91, .18), transparent 30%), linear-gradient(135deg, rgba(23, 22, 17, .98), rgba(10, 10, 8, .96)) !important;
  border: 1px solid rgba(242, 195, 91, .18) !important;
  border-radius: 18px !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .36) !important;
  display: grid !important;
  gap: 22px !important;
  grid-template-columns: minmax(0, 1fr) 216px !important;
  min-height: 210px !important;
  overflow: hidden !important;
  padding: 24px !important;
}

html body.view-challenges .pr-open-top-game-copy {
  align-content: center !important;
  display: grid !important;
  gap: 10px !important;
  min-width: 0 !important;
}

html body.view-challenges .pr-open-top-game-copy p {
  color: #f2c35b !important;
  font-size: .8rem !important;
  font-weight: 950 !important;
  letter-spacing: 0 !important;
  margin: 0 !important;
  text-transform: uppercase !important;
}

html body.view-challenges .pr-open-top-game-copy h2 {
  color: #fff8df !important;
  font-size: clamp(1.6rem, 2.4vw, 2.55rem) !important;
  line-height: 1.05 !important;
  margin: 0 !important;
}

html body.view-challenges .pr-open-top-game-copy span {
  color: #b8b0a0 !important;
  font-weight: 800 !important;
}

html body.view-challenges .pr-open-top-game-copy .chessora-button {
  justify-self: start !important;
  margin-top: 8px !important;
}

html body.view-challenges .pr-open-mini-board {
  align-self: center !important;
  aspect-ratio: 1 !important;
  border: 8px solid rgba(13, 11, 8, .82) !important;
  border-radius: 14px !important;
  box-shadow: 0 0 0 1px rgba(242, 195, 91, .28), 0 20px 40px rgba(0, 0, 0, .35) !important;
  display: grid !important;
  grid-template-columns: repeat(8, 1fr) !important;
  overflow: hidden !important;
  width: 196px !important;
}

html body.view-challenges .pr-open-mini-board .is-light {
  background: #e6c274 !important;
}

html body.view-challenges .pr-open-mini-board .is-dark {
  background: #80541f !important;
}

html body.view-challenges .chessora-play-home .chessora-lobby-tabs {
  background: rgba(17, 16, 13, .82) !important;
  border: 1px solid rgba(242, 195, 91, .2) !important;
  border-radius: 14px !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  justify-content: center !important;
  margin: 0 !important;
  padding: 8px !important;
}

html body.view-challenges .chessora-play-home .chessora-lobby-tabs button {
  align-items: center !important;
  background: #11100d !important;
  border: 1px solid rgba(242, 195, 91, .18) !important;
  border-radius: 10px !important;
  color: #f5f0df !important;
  display: inline-flex !important;
  font-size: .82rem !important;
  font-weight: 950 !important;
  gap: 8px !important;
  min-height: 42px !important;
  padding: 0 14px !important;
  text-transform: uppercase !important;
}

html body.view-challenges .chessora-play-home .chessora-lobby-tabs button.is-active {
  background: linear-gradient(180deg, #f2c35b, #9b7625) !important;
  color: #120f08 !important;
}

html body.view-challenges .chessora-play-home .chessora-lobby-tabs button span {
  background: rgba(0, 0, 0, .2) !important;
  border-radius: 999px !important;
  color: inherit !important;
  min-width: 24px !important;
  padding: 3px 7px !important;
}

html body.view-challenges .chessora-lichess-lobby,
html body.view-challenges .chessora-play-home .chessora-lichess-lobby {
  background: rgba(18, 17, 13, .96) !important;
  border: 1px solid rgba(242, 195, 91, .18) !important;
  border-radius: 18px !important;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .45) !important;
  display: block !important;
  margin: 0 !important;
  max-width: none !important;
  overflow: hidden !important;
  padding: 0 !important;
  width: auto !important;
}

html body.view-challenges .chessora-lichess-lobby .chessora-seek-board {
  background: transparent !important;
  border: 0 !important;
  border-radius: 18px !important;
  box-shadow: none !important;
  overflow: hidden !important;
}

html body.view-challenges .chessora-lichess-tabs {
  background: rgba(255, 255, 255, .025) !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(242, 195, 91, .14) !important;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  height: auto !important;
  min-height: 52px !important;
}

html body.view-challenges .chessora-lichess-tabs a,
html body.view-challenges .chessora-lichess-tabs span {
  align-items: center !important;
  border: 0 !important;
  color: #f5f0df !important;
  display: flex !important;
  font-size: .9rem !important;
  font-weight: 950 !important;
  justify-content: center !important;
  min-height: 52px !important;
  padding: 0 12px !important;
  text-decoration: none !important;
  text-transform: uppercase !important;
}

html body.view-challenges .chessora-lichess-tabs .is-active {
  background: linear-gradient(180deg, rgba(242, 195, 91, .95), rgba(155, 118, 37, .9)) !important;
  color: #130f08 !important;
}

html body.view-challenges .chessora-lobby-table {
  background: #0b100c !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  display: grid !important;
  gap: 0 !important;
  min-height: 0 !important;
  overflow: visible !important;
  padding: 0 22px 22px !important;
  position: relative !important;
  width: auto !important;
}

html body.view-challenges .chessora-lobby-table::before,
html body.view-challenges .chessora-lobby-table::after {
  content: none !important;
  display: none !important;
}

html body.view-challenges .chessora-lobby-table-head,
html body.view-challenges .chessora-lobby-seek-row {
  display: grid !important;
  grid-template-columns: minmax(120px, 1fr) 64px 62px 110px 58px !important;
  position: relative !important;
  width: 100% !important;
  z-index: 1 !important;
}

html body.view-challenges .chessora-lobby-table-head span:nth-child(2),
html body.view-challenges .chessora-lobby-rating {
  display: flex !important;
}

html body.view-challenges .chessora-lobby-table-head {
  align-items: center !important;
  background: rgba(255, 255, 255, .035) !important;
  border: 1px solid rgba(242, 195, 91, .12) !important;
  border-radius: 12px 12px 0 0 !important;
  color: #f2c35b !important;
  font-size: .78rem !important;
  height: 48px !important;
  min-height: 48px !important;
  margin-top: 22px !important;
  text-transform: uppercase !important;
}

html body.view-challenges .chessora-lobby-table-head span {
  align-items: center !important;
  color: #f2c35b !important;
  display: flex !important;
  font-size: .78rem !important;
  font-weight: 950 !important;
  justify-content: center !important;
  padding: 0 14px !important;
}

html body.view-challenges .chessora-lobby-table-head span:first-child {
  font-size: .78rem !important;
  justify-content: flex-start !important;
  padding-left: 18px !important;
}

html body.view-challenges .chessora-lobby-seek-row {
  align-items: center !important;
  appearance: none !important;
  background: rgba(18, 45, 29, .74) !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(242, 195, 91, .12) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: #f5f0df !important;
  cursor: pointer !important;
  font: inherit !important;
  height: 64px !important;
  left: auto !important;
  min-height: 64px !important;
  padding: 0 !important;
  text-align: left !important;
  top: auto !important;
  transform: none !important;
}

html body.view-challenges .chessora-lobby-seek-row:hover,
html body.view-challenges .chessora-lobby-seek-row:focus-visible,
html body.view-challenges .chessora-lobby-seek-row.is-active {
  background: linear-gradient(90deg, rgba(155, 118, 37, .58), rgba(18, 45, 29, .78)) !important;
  outline: 0 !important;
}

html body.view-challenges .chessora-lobby-seek-row span {
  align-items: center !important;
  color: #f5f0df !important;
  display: flex !important;
  justify-content: center !important;
  min-width: 0 !important;
  padding: 0 8px !important;
}

html body.view-challenges .chessora-lobby-player {
  color: #f5f0df !important;
  font-weight: 950 !important;
  justify-content: flex-start !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

html body.view-challenges .chessora-lobby-rating,
html body.view-challenges .chessora-lobby-time,
html body.view-challenges .chessora-lobby-mode {
  color: #f5f0df !important;
  font-variant-numeric: tabular-nums !important;
  font-weight: 900 !important;
}

html body.view-challenges .chessora-lobby-mode {
  gap: 8px !important;
}

html body.view-challenges .chessora-lobby-mode i {
  background: #f2c35b !important;
}

html body.view-challenges .chessora-lobby-open {
  align-items: center !important;
  border: 1px solid rgba(242, 195, 91, .7) !important;
  border-radius: 10px !important;
  color: #f2c35b !important;
  display: flex !important;
  font-size: .88rem !important;
  font-weight: 950 !important;
  justify-content: center !important;
  min-width: 0 !important;
  opacity: 1 !important;
  overflow: visible !important;
  padding: 8px 6px !important;
  visibility: visible !important;
}

html body.view-challenges .chessora-lobby-open::before {
  content: none !important;
  display: none !important;
}

html body.view-challenges .chessora-lichess-lobby .chessora-seek-y-axis,
html body.view-challenges .chessora-lichess-lobby .chessora-seek-grid,
html body.view-challenges .chessora-lichess-lobby .chessora-seek-challenge-card {
  display: none !important;
}

html body.view-challenges .chessora-lichess-lobby .chessora-seek-popover {
  z-index: 20 !important;
}

html body.view-challenges .chessora-lichess-lobby .chessora-seek-empty {
  align-items: center !important;
  background: rgba(8, 13, 10, .7) !important;
  border: 1px dashed rgba(242, 195, 91, .28) !important;
  border-radius: 0 0 12px 12px !important;
  color: #f5f0df !important;
  display: grid !important;
  gap: 8px !important;
  justify-items: center !important;
  min-height: 220px !important;
  padding: 32px !important;
}

html body.view-challenges .chessora-play-home-actions {
  align-self: start !important;
  background: rgba(18, 17, 13, .96) !important;
  border: 1px solid rgba(242, 195, 91, .16) !important;
  border-radius: 18px !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .3) !important;
  flex-direction: column !important;
  gap: 16px !important;
  padding: 20px !important;
}

html body.view-challenges .chessora-play-home-actions::before {
  color: #f2c35b !important;
  content: "Choose an option" !important;
  font-size: .84rem !important;
  font-weight: 950 !important;
  text-transform: uppercase !important;
}

html body.view-challenges .chessora-play-home-action {
  align-items: center !important;
  appearance: none !important;
  background: linear-gradient(135deg, rgba(78, 61, 24, .92), rgba(32, 27, 16, .95)) !important;
  border: 1px solid rgba(242, 195, 91, .36) !important;
  border-radius: 16px !important;
  box-shadow: none !important;
  color: #f5f0df !important;
  cursor: pointer !important;
  display: grid !important;
  font: inherit !important;
  gap: 16px !important;
  grid-template-columns: 54px minmax(0, 1fr) 24px !important;
  min-height: 92px !important;
  padding: 14px 16px !important;
  text-align: left !important;
  text-decoration: none !important;
  width: 100% !important;
}

html body.view-challenges .chessora-play-home-action:nth-child(3) {
  background: linear-gradient(135deg, rgba(34, 55, 22, .92), rgba(19, 31, 17, .95)) !important;
  border-color: rgba(142, 169, 70, .46) !important;
}

html body.view-challenges .chessora-play-home-action:nth-child(4) {
  background: linear-gradient(135deg, rgba(45, 27, 59, .9), rgba(22, 17, 27, .96)) !important;
  border-color: rgba(166, 112, 235, .46) !important;
}

html body.view-challenges .chessora-play-home-action::after {
  color: #f2c35b !important;
  content: ">" !important;
  font-size: 1.6rem !important;
  justify-self: end !important;
}

html body.view-challenges .chessora-play-home-action span {
  align-items: center !important;
  border: 1px solid rgba(242, 195, 91, .55) !important;
  border-radius: 50% !important;
  color: #f2c35b !important;
  display: flex !important;
  font-size: 1.35rem !important;
  height: 54px !important;
  justify-content: center !important;
  width: 54px !important;
}

html body.view-challenges .chessora-play-home-action strong {
  color: #fff8df !important;
  font-size: 1rem !important;
  font-weight: 950 !important;
  text-transform: uppercase !important;
}

html body.view-challenges .chessora-play-home-counts {
  background: rgba(8, 13, 10, .72) !important;
  border: 1px solid rgba(242, 195, 91, .14) !important;
  border-radius: 14px !important;
  color: #b8b0a0 !important;
  display: grid !important;
  gap: 4px 10px !important;
  grid-template-columns: auto 1fr !important;
  margin: 0 !important;
  padding: 14px !important;
}

html body.view-challenges .chessora-play-home-counts strong {
  color: #f2c35b !important;
  font-variant-numeric: tabular-nums !important;
  text-align: right !important;
}

html body.view-challenges .pr-open-lobby-live-list {
  background: rgba(8, 13, 10, .72) !important;
  border: 1px solid rgba(242, 195, 91, .14) !important;
  border-radius: 14px !important;
  display: grid !important;
  gap: 10px !important;
  padding: 16px !important;
}

html body.view-challenges .pr-open-lobby-live-list h2 {
  color: #f2c35b !important;
  font-size: .84rem !important;
  margin: 0 0 4px !important;
  text-transform: uppercase !important;
}

html body.view-challenges .pr-open-lobby-live-list a,
html body.view-challenges .pr-open-lobby-live-list p {
  border-top: 1px solid rgba(242, 195, 91, .1) !important;
  color: #f5f0df !important;
  display: grid !important;
  gap: 3px !important;
  margin: 0 !important;
  padding-top: 10px !important;
  text-decoration: none !important;
}

html body.view-challenges .pr-open-lobby-live-list span {
  color: #b8b0a0 !important;
  font-size: .82rem !important;
}

html body.view-challenges .chessora-lobby-panel {
  background: rgba(18, 17, 13, .96) !important;
  border: 1px solid rgba(242, 195, 91, .16) !important;
  border-radius: 18px !important;
  color: #f5f0df !important;
  padding: 22px !important;
}

html body.view-challenges .chessora-lobby-grid-row,
html body.view-challenges .chessora-lobby-card {
  background: rgba(8, 13, 10, .68) !important;
  border-color: rgba(242, 195, 91, .14) !important;
  color: #f5f0df !important;
}

@media (max-width: 1280px) {
  html body.view-challenges .chessora-play-home {
    grid-template-columns: 180px minmax(0, 1fr) !important;
  }

  html body.view-challenges .chessora-play-home-actions {
    grid-column: 2 !important;
  }
}

@media (max-width: 860px) {
  html body.view-challenges .chessora-challenges-page {
    padding-inline: 12px !important;
  }

  html body.view-challenges .chessora-play-home {
    grid-template-columns: 1fr !important;
  }

  html body.view-challenges .pr-open-lobby-sidebar {
    min-height: 0 !important;
  }

  html body.view-challenges .pr-open-lobby-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  html body.view-challenges .pr-open-top-game {
    grid-template-columns: 1fr !important;
  }

  html body.view-challenges .pr-open-mini-board {
    justify-self: start !important;
    width: 160px !important;
  }

  html body.view-challenges .chessora-lobby-table-head,
  html body.view-challenges .chessora-lobby-seek-row {
    grid-template-columns: minmax(130px, 1fr) 82px 82px 100px 82px !important;
  }
}
