/* tabs css */

/* ── Page layout shell ─────────────────────────────────────── */

/* Main row: sidebar + content — needs position:relative so the
   absolutely-positioned Game_pageWrapper stays inside it */
.main_pageWrapper__2v-ck {
  position: relative;
  min-height: calc(100vh - 3.958vw);
}

/* Sidebar column height should match the row, not be a fixed vw value */
.SideBar_sideBarArea__1WWX7 {
  height: calc(100vh - 3.958vw);
}

/* ── Page wrapper + game row width fix ─────────────────────── */

/* The compiled CSS sets position:absolute !important which takes the
   content area out of flex flow. Override to keep it in-flow. */
.Game_pageWrapper__2V13H {
  position: relative !important;
  height: auto;
  min-height: calc(100vh - 3.958vw);
  overflow-x: hidden;
  box-sizing: border-box;
}

/* #Play is an extra wrapper div in play.html — make it flex-fill
   the remaining space after the sidebar, then let Game_pageWrapper
   fill 100% of it instead of 84.375% of the shrunken #Play */
#Play {
  flex: 1 1 0%;
  min-width: 0;
}

#Play .Game_pageWrapper__2V13H {
  width: 100%;
}

.Game_pageWrapper__2V13H .Game_wrapper__3feMs {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

#Play .Leaderboard_compWrapper__3IPD8 {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  justify-content: flex-start;
}

/* ── Inventory card info panel (replaces Bootstrap p-3 + flex fill) ── */
.Game_wrapper__3feMs .p-3 {
  flex: 1 1 0%;
  min-width: 0;
  padding: 1rem;
  color: #fff;
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
  gap: 0.5rem;
}

.Game_wrapper__3feMs .p-3 h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}

.Game_wrapper__3feMs .p-3 p {
  margin: 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.5;
}

/* ── Video + Chat wrapper ───────────────────────────────────── */

/* Game_wrapper__3feMs is flex row nowrap with a fixed height.
   Make each child fill exactly half the width and full height. */
#Play .Game_wrapper__3feMs .video-con {
  flex: 7 1 0%;
  min-width: 0;
  height: 100%;
  overflow: hidden;
  display: flex;
  flex-flow: column nowrap;
  min-height: 600px;
}

#Play .Game_wrapper__3feMs .chat-con {
  flex: 3 1 0%;
  min-width: 0;
  height: 100%;
  overflow: hidden;
  display: flex;
  flex-flow: column nowrap;
  min-height: 600px;
}

/* Re-implement embed-responsive without Bootstrap:
   stretch to fill video-con fully */
#Play .embed-responsive {
  flex: 1 1 auto;
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

#Play .embed-responsive iframe,
#Play .chat-con iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  border: 0;
  display: block;
}

/* chat-con: bet-msg on top, iframe fills remaining space */
#Play .chat-con {
  position: relative;
}

#Play .chat-con #bet-msg {
  flex: 0 0 auto;
  margin: 0;
  padding: 0.4rem 0.75rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(0, 0, 0, 0.25);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  z-index: 1;
}

#Play .chat-con iframe {
  position: relative;
  flex: 1 1 auto;
  width: 100% !important;
  height: 100% !important;
}

/* ── VS section ─────────────────────────────────────────────── */

/* Inner flex row: Blue | VS | Red */
#vs > div {
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  justify-content: space-around;
  width: 100%;
  height: 100%;
}

/* Each column (player side or middle) */
.vs-con {
  display: flex;
  flex-flow: column nowrap;
  align-items: center;
  justify-content: center;
  flex: 1;
  text-align: center;
  color: #fff;
  gap: 0.75rem;
}

/* Player name */
.vs-con h3 {
  margin: 0;
  font-weight: 700;
  font-size: 1.1vw;
  color: #fff;
}

/* Score + VS middle column */
#score {
  font-size: 2vw;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.04em;
  margin: 0;
}

.vs_separator {
  margin: 0 0.2em;
}

/* "vs" label — replaces Bootstrap mt-2 margin */
.vs-con h3.mt-2 {
  margin-top: 0.4rem !important;
  font-size: 0.9vw;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
}

/* ── Bet buttons ────────────────────────────────────────────── */
.vs-con .Game_btn__3sv8y {
  width: auto;
  min-width: 10vw;
  padding: 0 1.2rem;
  height: 2.5vw;
  font-size: 0.8vw;
}

.Game_btn__3sv8y:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

/* ── Betted-player highlight ────────────────────────────────── */
.blue_con.vs-con.betted_player,
.blue_con.vs-con.active {
  background: rgba(196, 23, 95, 0.12);
  border-radius: 0.52vw;
  outline: 1px solid rgba(218, 79, 153, 0.45);
}

.Game_btn__3sv8y.betted_player {
  background-image: linear-gradient(to right, #C4175F 0%, #DA4F99 100%);
  opacity: 1 !important;
}

/* ── Custom tab nav ─────────────────────────────────────────── */
#Play .nav.nav-tabs {
  display: flex;
  flex-flow: row nowrap;
  list-style: none;
  margin: 0;
  padding: 0 0 0 0;
  gap: 0;
}

#Play .nav.nav-tabs .nav-item {
  margin: 0;
}

#Play .nav.nav-tabs .nav-link {
  display: block;
  padding: 0.8rem 1.6rem;
  color: rgba(255, 255, 255, 0.45);
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.18s, border-color 0.18s, background 0.18s;
  text-decoration: none;
  border-radius: 0.52vw 0.52vw 0 0;
}

#Play .nav.nav-tabs .nav-item + .nav-item .nav-link {
  margin-left: 3px;
}

#Play .nav.nav-tabs .nav-link:hover {
  color: rgba(255, 255, 255, 0.85);
}

#Play .nav.nav-tabs .nav-link.active {
  color: #fcfcfc;
  background: #2a2b35;
}

/* ── Tab content pane container ────────────────────────────── */
#Play .tab-content {
  background: #1e1f25;
  border-top: none;
  border-radius: 0 0 0.52vw 0.52vw;
  overflow: hidden;
}

#Play .tab-pane {
  display: none;
}

#Play .tab-pane.show {
  display: block;
}

/* ── Play tables ─────────────────────────────────────────────── */
#Play .Leaderboard_playersWrapper__1BVOH {
  scrollbar-width: thin;
  scrollbar-color: rgba(59, 210, 239, 0.3) transparent;
  overflow-x: auto;
}

#Play .Leaderboard_playersWrapper__1BVOH table {
  border-collapse: collapse;
  margin: 0;
}

/* Header */
#Play .Leaderboard_playersWrapper__1BVOH table thead th {
  background: #22232a;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border: 0;
  border-bottom: 1px solid rgba(59, 210, 239, 0.2);
  padding: 1rem 1.1rem;
  position: sticky;
  top: 0;
  z-index: 1;
  white-space: nowrap;
}

/* Body rows — taller height */
#Play .Leaderboard_playersWrapper__1BVOH table tbody td {
  background: #1e1f25;
  color: #fff;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  padding: 1.15rem 1.1rem;
  vertical-align: middle;
  font-size: 0.875rem;
}

#Play .Leaderboard_playersWrapper__1BVOH table tbody tr:nth-child(even) td {
  background: #22232a;
}

#Play .Leaderboard_playersWrapper__1BVOH table tbody tr:hover td {
  background: rgba(59, 210, 239, 0.07);
  color: #fff;
}

/* Strip Bootstrap's own borders/colors */
#Play .Leaderboard_playersWrapper__1BVOH table.table,
#Play .Leaderboard_playersWrapper__1BVOH table.table td,
#Play .Leaderboard_playersWrapper__1BVOH table.table th {
  border: 0 !important;
}

.Game_gameInfo__1jx86 {
    width: 100%!important;
}