* {
  user-select: none;
}
body, input, textarea, button {
  font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif
}
body {
  position: relative;
  margin: 0;
  height: 100vh;
  overflow: hidden;
}
#cover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.85);
}
body {
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
.tooltip {
  position: relative;
}
.tooltiptext {
  visibility: hidden;
  background-color: #555;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px;
  position: absolute;
  z-index: 1;
  bottom: 120%;
  opacity: 0;
  transition: opacity 0.3s;
  transform: translateX(-50%);
  left: 50%;
  font-size: 1.75vh;
}
.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}
.dark-mode-1 {
  background-color: rgb(8, 18, 18) !important;
  color: white;
}
.dark-mode-2 {
  background: none !important;
  background-color: rgb(0, 0, 0) !important;
  color: white;
}
.dark-mode-3 {
  color: rgb(149, 149, 149);
}
.dark-mode-4 {
  background-color: #141414 !important;
  color: white;
}
.dark-mode-5 {
  background-color: rgb(59 59 59 / 87%) !important;
}
.dark-mode-6 {
  background-color: rgba(21, 21, 21, 0.87) !important;
}
.dark-mode-7 {
  background-color: rgba(0, 0, 0, 0.9) !important;
}
#keybindModal {
  display: none;
  position: fixed;
  width: 72%;
  height: 95%;
  top: 50%;
  left: 38%;
  transform: translate(-50%, -50%);
  padding: 0 15px 15px 15px;
  background-color: rgba(200, 200, 200, 0.873);
  border: 1px solid #ccc;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  z-index: 1000;
  border-radius: 1%;
}
.keybind-section-container {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
}
.keybind-section {
  flex: 1;
}
.keybind-column {
  margin-right: 10px;
  padding: 5px;
}
h1 {
  font-size: 2vh;
  margin-bottom: 10px;
  margin: 0;
  padding: 0;
}
ul, li {
  margin: 0;
  padding: 0;
  font-size: 1.60vh;
}
.keybind-column ul ul {
  margin-left: 10px;
}
.keybind-column ul ul li {
  margin-bottom: 0;
  margin-top: 0;
  font-size: 1.5vh;
}
.keybind-column ul li {
  margin-top: 0.4vh;
  display: flex;
  justify-content: space-between;
}
.self {
  position: fixed;
  border: none;
  bottom: 0;
  width: 75.5%;
  height: 50%;
}
.opp {
  position: fixed;
  border: none;
  bottom: 50%;
  width: 75.5%;
  height: 50%;
  transform: scaleX(-1) scaleY(-1);
}
#stadium {
  position: fixed;
  bottom: 42%;
  left: 11%;
  width: 6%;
  height: 16%;
  display: flex;
	justify-content: center;
  border-radius: 15px;
}
#stadium img {
  max-width: 100%;
  max-height: 100%;
  height: fit-content;
  left: 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, .5);
  border-radius: 0.375rem;
  cursor: pointer;
}
.tab {
  position: absolute;
  border-radius: 10%;
  background-color: rgba(59, 173, 84, 0.708);
}
.outline {
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
  background-color: rgba(255, 255, 255, 0.1);
}
.highlight {
  box-shadow: 0 0 0 4px rgb(122, 185, 133) !important;
  background-color: rgba(133, 197, 155, 0.3);
}
#selfResizer {
  position: fixed;
  left: -0.55%;
  bottom: 50.5%;
  cursor: row-resize;
  display: flex;
  width: 1.3vw;
  height: 2.5%;
  border-radius: 50%;
  transform: translateY(50%) scaleX(-1);
}
#oppResizer {
  position: fixed;
  left: -0.55%;
  bottom: 53%;
  cursor: row-resize;
  display: flex;
  width: 1.3vw;
  height: 2.5%;
  border-radius: 50%;
  transform: translateY(50%) scaleX(-1);
}
.self-color {
  background: linear-gradient(to bottom, rgba(90, 110, 188, 0.864), rgba(60, 80, 158, 0.864));
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
}
.opp-color {
  background: linear-gradient(to bottom, rgba(188, 90, 113, 0.864), rgba(158, 60, 83, 0.864));
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
}
.spectator-color {
  background: linear-gradient(to bottom, rgba(205, 188, 103, 1), rgba(175, 158, 83, 1));
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
}
.neutral-color {
  background: linear-gradient(to bottom, rgba(112, 112, 112, 0.864), rgba(82, 82, 82, 0.864));
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
}
#boardButtonContainer {
  position: fixed;
  height: 6%;
  left: 52%;
  bottom: 47%;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 5px;
}
#boardButtonContainer button {
  margin-left: 5px;
  border-radius: 10px;
  font-size: 2vh;
  cursor: pointer;
  background: linear-gradient(to bottom, rgb(250, 250, 250), rgb(230, 230, 230));
  color: rgb(60, 60, 60);
  border: 1px solid rgb(200, 200, 200);
  margin: .1vw;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}
#boardButtonContainer button.dark-mode-2 {
  background: linear-gradient(to bottom, rgb(60, 60, 60), rgb(40, 40, 40));
  color: rgb(250, 250, 250);
  border-color: rgb(100, 100, 100);
  box-shadow: 0px 2px 4px rgba(255, 255, 255, 0.1);
}
#boardButtonContainer button:hover {
  background: linear-gradient(to bottom, rgb(220, 220, 220), rgb(200, 200, 200));
  color: rgb(40, 40, 40);
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}
#boardButtonContainer button.dark-mode-2:hover {
  background: linear-gradient(to bottom, rgb(80, 80, 80), rgb(60, 60, 60));
  color: rgb(220, 220, 220);
  box-shadow: 0px 4px 8px rgba(255, 255, 255, 0.2);
}
#topButtonContainer {
  position: fixed;
  right: 0;
  bottom: 95vh;
  height: 5vh;
  width: 24%;
  display: flex;
  overflow: hidden; 
  background: rgb(145, 145, 145);
  align-items: flex-end;
  border-top-left-radius: 5px;
  border-left: 2px solid rgb(145, 145, 145);
  box-sizing: border-box;
  z-index: 1400;
}
#greyFiller {
  position: fixed;
  right: 0;
  bottom: 95vh;
  height: 0;
  width: 24%;
  display: none;
  background: rgb(145, 145, 145);
  box-sizing: border-box;
  z-index: 1390;
  pointer-events: none;
}
#topButtonContainer button {
  padding: 1vh;
  width: 30%; 
  font-size: 1.75vh;
  cursor: pointer;
  border: none;
}
.selected-page {
  border-radius: 10px 10px 0 0;
  background: linear-gradient(to bottom, rgb(250, 250, 250), rgb(230, 230, 230));
  border: 1px solid rgb(200, 200, 200);
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
}
.not-selected-page {
  background: rgb(145, 145, 145);
  color: white;
}
#topButtonContainer button:not(.selected-page):hover {
  color: rgb(50, 50, 50);
}
.sidebox {
  background: rgb(231, 228, 228);
  position: fixed;
  right: 0;
  top: 5vh;
  width: 24%;
  height: 95vh;
  padding: 0.5%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border-left: 2px solid rgb(145, 145, 145);
  z-index: 1300;
}
#p1Box {
  border-radius: 0 10px 0 0;
}
#chatbox {
  width: 100%;
  height: 85%;
  background: white;
  overflow-y: auto;
  padding: 10px;
  box-sizing: border-box;
  display: block;
  border-radius: 10px 10px 0 0; 
}
#tutorialButton {
  margin-left: 50%;
  transform: translateX(-50%);
  border-radius: 10px;
  border: none;
  padding: 0 6px 2px 6px;
  color: white;
  border: 2px solid #a89850;
  background: linear-gradient(to bottom, #c2b07f, #ac9c52);
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}
#tutorialButton:hover {
  background: linear-gradient(to bottom, #bca668, #8c7e46);
  cursor: pointer;
}
#links {
  font-size: small;
  width: 100%;
  text-align: center;
}
#donationsLink  {
  margin-top: 1vh;
  font-weight: bold;
}
#donationsLink:hover {
  text-decoration: underline;
  cursor: pointer;
}
#videoContainer {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
}
#videoContainer iframe {
  position: absolute;
  left: 10%;
  width: 55.5%;
  height: 60%;
  bottom: 50%;
  transform: translateY(50%);
}
#changelog, #donationsPage {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 76%;
  height: 100%;
  background: rgba(222, 221, 221, 0.852);
  z-index: 1000;
  overflow: auto;
  padding: 60px;
  box-sizing: border-box;
}
#line {
  background: rgb(230, 230, 230);
  width: 100%;
  height: .1vh;
  margin-top: .5vh;
}
.shift-font {
  font-family: monospace;
}
.sidebox-button-container {
  width: 100%;
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin-top: 10px;
  margin-bottom: 10px;
  overflow: hidden;
}
.sidebox-button-container button {
  padding: 7px;
  width: 19%;
  border-radius: 10px;
  font-size: 1.75vh;
  cursor: pointer;
  color: white;
  border: none;
}
.sidebox-button-container button.self-color:hover {
  background-color: rgba(116, 129, 183, 0.864);
}
.sidebox-button-container button.opp-color:hover {
  background-color: rgba(189, 112, 130, 0.864);  
}
.sidebox-button-container button.neutral-color:hover {
  background-color: rgba(150, 144, 144, 0.864);
}
.chat-button-container {
  width: 100%;
  display: flex;
  justify-content: space-around;
  align-items: center;
  overflow: hidden;
  gap: .5vw;
  box-sizing: border-box;
  margin-top: .5vh;
  margin-bottom: .5vh;
}
.chat-button-container button {
  flex: 1;
  padding: 7px;
  font-size: 2vh;
  cursor: pointer;
  color: white;
  border: none;
  border-radius: .5vw;
}
.chat-button-container button.self-color:hover {
  background-color: rgba(116, 129, 183, 0.864);
}
.chat-button-container button.opp-color:hover {
  background-color: rgba(189, 112, 130, 0.864);  
}
.chat-button-container button.neutral-color:hover {
  background-color: rgba(150, 144, 144, 0.864);  
}
.chat-button-container button.spectator-color:hover {
  background-color:rgb(217, 200, 117);
}
#optionsContextMenu {
  position: absolute;
  display: none;
  border: 1px solid #676767;
  padding: 2px;
  border-radius: 5px;
  right: 0.5%;
  color: white;
  background-color: #595959;
  font-size: 1.75vh;
  z-index: 1500;
}
#optionsContextMenu div {
  cursor: pointer;
  padding: 3px;
}
#optionsContextMenu div:hover {
  background-color: #757575;
}
#attackButton, #p2AttackButton {
  border-radius: 0 .5vw .5vw 0;
}
#FREEBUTTON, #p2FREEBUTTON {
  border-radius: .5vw 0 0 .5vw;
}
#messageInput {
  width: 100%;
  padding: 10px;
  box-sizing: border-box;
  border-radius: 0 0 10px 10px;
  border: none;
  background-color: #f9f9f9;
  font-size: 2vh;
  color: #333;
  outline: none;
}
#messageInput::placeholder {
  color: #999;
}
#bottomP1ButtonContainer {
  width: 100%;
}
#p2Box {
  display: none;
}
#p2ExplanationBox {
  width: 100%;
  background: white;
  overflow-y: auto;
  padding: 10px;
  box-sizing: border-box;
  display: block;
  border-radius: 10px 10px;
}
#lobby {
  width: 100%;
  margin-top: 5%;
}
#nameInput {
  width: 100%;
  padding: 10px;
  box-sizing: border-box;
  border-radius: 10px;
  border: none;
  font-size: 2vh;
}
#roomId {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#roomIdInput {
  padding: 1vh;
  width: 80%;
  border-radius: 10px;
  border: none;
  font-size: 2vh;
}
#copyButton {
  margin: 10px;
  padding: .5vh;
  border-radius: 10px;
  cursor: pointer;
  background-color: transparent;
  border: none;
  font-size: 3vh;
  display: flex;
  filter: invert(50%);
}
#copyButton img {
  height: 4vh;
}
.copied {
  background-color: #b7d9b8 !important;
  filter: none !important;
}
#generateIdButton {
  padding: 1vh;
  color: white;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  font-size: 2vh;
  background: linear-gradient(to bottom, #c2b07f, #ac9c52);
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
  transition: all 0.3s;
}
#generateIdButton:hover {
  background: linear-gradient(to bottom, #bca668, #8c7e46);
}
#coachingModeLabel, #spectatorModeLabel {
  font-size: medium;
  margin-bottom: 0.3vh;
}
#spectatorModeLabel {
  margin-bottom: 1.5vh;
}
#joinRoomButton {
  width: 100%;
  color: white;
  text-align: center;
  padding: 10px;
  box-sizing: border-box;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  font-size: 2.5vh;
  background: linear-gradient(to bottom, #666, #4c4b46);
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2); 
  transition: all 0.3s; 
}
#joinRoomButton:hover {
  background: linear-gradient(to bottom, #555, #333);
}
#connectedRoom {
  display: none;
  width: 100%;
  height: 100%;
  flex-direction: column;
  align-items: flex-start;
}
#roomHeader {
  width: 100%;
  height: 2.5vh;
  display: flex;
  align-items: center; 
  justify-content: space-between;
  box-sizing: border-box;
  color: black;
  margin-bottom: 8px;
}
#roomHeaderText {
  margin-right: 5px;
  background-color: #9dd1bd;
  border: 2px solid #61cea4;
  border-radius: 10px;
  width: 98%;
  font-size: 2vh;
  padding-top: .1vh;
  padding-bottom: .1vh;
  text-align: center;
}
#roomHeaderCopyButton {
  cursor: pointer;
  background-color: transparent;
  border-radius: 10px;
  border: none;
  font-size: 2.5vh;
  display: flex;
  filter: invert(50%);
}
#roomHeaderCopyButton img{
  height: 3vh;
}
#p2Chatbox {
  background: white;
  width: 100%;
  height: 80%;
  overflow-y: auto;
  padding: 10px;
  box-sizing: border-box;
  display: block;
  border-radius: 10px 10px 0 0;
}
#p2ChatboxButtonContainer {
  width: 100%;
}
#p2MessageInput {
  width: 100%;
  padding: 10px;
  box-sizing: border-box;
  border-radius: 0 0 10px 10px;
  border: none;
}
#p2BottomButtonContainer {
  width: 100%;
}
#deckImport {
  display: none;
  z-index: 1300;
}
/* Native deck builder — slides in over the main layout (z-index 900, below sidebox). */
.native-deck-builder-workspace {
  position: fixed;
  top: 0;
  right: calc(24% - 8px);
  left: 0;
  height: 100vh;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  z-index: 900;
  transform: translateX(calc(100% - 8px));
  transition: transform 220ms ease;
  display: flex;
  align-items: stretch;
  overflow: visible;
}
.native-deck-builder-workspace.open {
  transform: translateX(0);
}
.native-deck-builder-inner {
  position: relative;
  width: 100%;
  height: 100%;
  margin-left: 0;
  background: rgb(214, 218, 224);
  border-left: 1px solid rgba(40, 57, 124, 0.08);
  box-shadow: inset 8px 0 18px rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
}
.native-deck-builder-edge-toggle {
  display: none;
}
.native-deck-builder-edge-toggle:hover {
  background: linear-gradient(to bottom, rgba(194,199,207,0.92), rgba(176,181,189,0.92));
}
.native-deck-builder-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1vw;
  padding: 0.85vh 0.8vw;
  border-bottom: 1px solid rgba(0, 0, 0, 0.035);
  background: rgb(207, 211, 218);
}
.native-deck-builder-subtitle {
  font-size: 1.55vh;
  opacity: 0.62;
  margin-top: 0.2vh;
}
.native-deck-builder-actions {
  display: flex;
  gap: 0.35vw;
  flex-wrap: nowrap;
  justify-content: flex-end;
}
.native-deck-builder-actions button {
  color: white;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  font-size: 1.65vh;
  padding: 0.6vh 0.7vw;
  opacity: 0.92;
}
#closeNativeDeckBuilderButton {
  background: linear-gradient(to bottom, rgba(188, 90, 113, 0.864), rgba(158, 60, 83, 0.864));
}
.native-deck-builder-inline-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6vh 0.7vw;
  border-radius: 4px;
  color: white;
  cursor: pointer;
  font-size: 1.65vh;
  opacity: 0.92;
}
.native-deck-builder-targetbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8vw;
  padding: 0.65vh 0.8vw;
  background: rgb(198, 203, 211);
  border-bottom: 1px solid rgba(0,0,0,0.04);
}
.native-deck-builder-target-label {
  font-size: 1.65vh;
}
.native-deck-builder-load-status {
  display: inline-flex;
  align-items: center;
  min-height: 1.9em;
  padding: 0.12em 0.55em;
  border-radius: 999px;
  font-size: 1.18vh;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: transparent;
  background: transparent;
  border: 1px solid transparent;
  transition: background 140ms ease, border-color 140ms ease, color 140ms ease, transform 140ms ease;
}
.native-deck-builder-load-status.visible {
  color: #165f22;
  background: rgba(214, 245, 220, 0.92);
  border-color: rgba(48, 133, 69, 0.28);
}
.native-deck-builder-load-status.error {
  color: #8a1f1f;
  background: rgba(251, 225, 225, 0.95);
  border-color: rgba(163, 45, 45, 0.26);
}
.native-deck-builder-target-controls {
  display: flex;
  gap: 0.35vw;
  align-items: center;
  flex-wrap: nowrap;
}
.native-target-button {
  border: none;
  cursor: pointer;
  padding: 0.55vh 0.75vw;
  font-size: 1.6vh;
  background: rgba(170,170,170,0.95);
  color: white;
}
#nativeDeckBuilderTargetMain.native-target-selected {
  background: linear-gradient(to bottom, rgba(90, 110, 188, 0.864), rgba(60, 80, 158, 0.864));
  font-weight: bold;
}
#nativeDeckBuilderTargetAlt.native-target-selected {
  background: linear-gradient(to bottom, rgba(188, 90, 113, 0.864), rgba(158, 60, 83, 0.864));
  font-weight: bold;
}
.native-deck-builder-play-button {
  margin-left: auto;
  border: none;
  cursor: pointer;
  padding: 0.55vh 1vw;
  font-size: 1.6vh;
  font-weight: bold;
  color: #000;
  background: rgb(240, 200, 50);
  border-radius: 4px;
}
.native-deck-builder-play-button:disabled {
  background: rgba(170, 170, 170, 0.95);
  color: #666;
  cursor: default;
}
.native-deck-builder-body {
  display: flex;
  gap: 0.55vw;
  flex: 1;
  min-height: 0;
  padding: 0.65vh 0.65vw 0.75vh 0.65vw;
}
.native-deck-builder-pane {
  flex: 1 1 0;
  min-width: 0;
  background: rgb(243,245,247);
  border-radius: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 0.8vh 0.75vw;
  min-height: 0;
}
.native-deck-builder-pane-main {
  flex-grow: 1.55;
  flex-shrink: 1;
  flex-basis: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.native-deck-builder-pane-main-header {
  padding: 0.8vh 0.75vw;
}
.native-deck-builder-pane-side {
  flex-grow: 1.15;
  flex-shrink: 1;
  flex-basis: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65vh;
  min-width: 0;
}
.native-deck-builder-section-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.45vw;
  margin-bottom: 0.5vh;
}
.native-deck-builder-section-title-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.4vw;
  min-width: 0;
}
.native-deck-builder-section-title {
  font-size: 1.85vh;
  font-weight: 700;
  margin-bottom: 0;
}
.native-deck-builder-section-button {
  flex: 0 0 auto;
  white-space: nowrap;
  font-size: 1.65vh;
  padding: 0.6vh 0.7vw;
  border: none;
  cursor: pointer;
  color: #fff;
}
.native-deck-builder-deck-status {
  font-size: 1.65vh;
  color: rgba(120, 120, 120, 0.9);
  white-space: nowrap;
  transition: color 0.6s ease;
}
.native-deck-builder-deck-status.flash {
  color: rgba(30, 30, 30, 1);
  transition: none;
}
.native-deck-builder-validation-dot {
  width: 0.9vh;
  height: 0.9vh;
  min-width: 0.9vh;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.12);
  box-shadow: 0 0 0 2px rgba(255,255,255,0.34);
  background: #c63b3b;
}
.native-deck-builder-validation-dot.valid {
  background: #2d9b48;
}
.native-deck-builder-validation-dot.invalid {
  background: #c63b3b;
}
.native-deck-builder-search-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.4vw;
  margin-bottom: 0.6vh;
}
.native-deck-builder-search-input {
  flex: 1 1 auto;
  min-width: 4vw;
  font-size: 1.7vh;
  padding: 0.65vh 0.7vw;
  border: 1px solid rgba(0,0,0,0.1);
  background: rgb(255,255,255);
}
.native-deck-builder-search-select {
  flex: 0 1 auto;
  min-width: 0;
  font-size: 1.6vh;
  padding: 0.6vh 0.5vw;
  border: 1px solid rgba(0,0,0,0.1);
  background: rgb(255,255,255);
}
.native-deck-builder-search-status {
  font-size: 1.5vh;
  opacity: 0.75;
  margin-bottom: 0.6vh;
}
#nativeDeckBuilderSearchButton {
  flex: 0 0 auto;
  white-space: nowrap;
  min-width: fit-content;
  font-size: 1.65vh;
  padding: 0.6vh 0.7vw;
  border: none;
  cursor: pointer;
  color: white;
  background: linear-gradient(to bottom, #95c6b4, #72ab97);
}
#nativeDeckBuilderLoadCurrentTarget {
  font-size: 1.35vh;
  padding: 0.48vh 0.58vw;
  border: none;
  cursor: pointer;
  color: white;
}
#nativeDeckBuilderLoadCurrentTarget.load-success {
  box-shadow: 0 0 0 2px rgba(55, 160, 84, 0.22), 0 10px 24px rgba(34, 125, 63, 0.22);
  filter: saturate(1.08) brightness(1.03);
}
.native-deck-builder-results-shell {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}
.native-deck-builder-search-results {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 0.5vw;
  overflow: auto;
  flex: 1;
  min-height: 0;
  align-content: start;
  padding: 0.2vw 0.7vw;
  scrollbar-width: thin;
}
.native-deck-builder-search-results::-webkit-scrollbar {
  width: 6px;
}
.native-deck-builder-search-results::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 3px;
}
.native-deck-builder-search-results::-webkit-scrollbar-track {
  background: transparent;
}
.native-deck-builder-result {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: center;
  width: 100%;
  min-width: 80px;
  border: 1px solid rgba(0,0,0,0.06);
  background: rgb(248,249,250);
  padding: 0.25vw;
  border-radius: 0.3vw;
  cursor: pointer;
  transition: transform 140ms ease, background 140ms ease, box-shadow 140ms ease, border-color 140ms ease;
  gap: 0.3vh;
}
.native-deck-builder-result:hover {
  background: rgba(233,237,244,0.94);
  border-color: rgba(65, 91, 168, 0.28);
  box-shadow: 0 6px 18px rgba(38, 49, 84, 0.18);
  transform: translateY(-2px);
}
.native-deck-builder-result-image {
  width: 100%;
  aspect-ratio: 63 / 88;
  object-fit: cover;
  border-radius: 0.2vw;
  display: block;
}
.native-deck-builder-result-text {
  display: flex;
  flex-direction: column;
  gap: 0.1vh;
  font-size: 1.3vh;
  color: inherit;
  padding: 0 0.1vw 0.15vw;
  overflow: hidden;
}
.native-deck-builder-result-text strong {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  font-size: 1.35vh;
}
.native-deck-builder-result-text span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  opacity: 0.7;
}
.native-deck-builder-summary,
.native-deck-builder-cards {
  font-size: 1.75vh;
}
.native-deck-builder-summary {
  padding: 0.2vh 0;
}
.native-deck-builder-cards {
  flex: 1;
  overflow: auto;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 0;
  padding: 0.7vh;
  background: rgb(238,240,243);
}
.native-deck-builder-deck-row {
  position: relative;
  display: flex;
  align-items: center;
  cursor: pointer;
  gap: 0.55vw;
  min-height: 6.6vh;
  padding: 0.75vh 0.55vw;
  margin-bottom: 0.45vh;
  border: 1px solid rgba(0,0,0,0.06);
  overflow: hidden;
  isolation: isolate;
  background: rgb(255,255,255);
  transition: transform 140ms ease, box-shadow 140ms ease, border-color 140ms ease;
}
.native-deck-builder-deck-row:hover {
  transform: translateY(-1px);
  border-color: rgba(65, 91, 168, 0.22);
  box-shadow: 0 12px 28px rgba(38, 49, 84, 0.12);
}
.native-deck-builder-deck-art {
  position: absolute;
  inset: 0;
  left: auto;
  width: 58%;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center 16%;
  opacity: 0.62;
  transform: translateX(30%) scale(1.08);
  transform-origin: center right;
  pointer-events: none;
  z-index: 0;
}
.native-deck-builder-deck-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(244,247,250,0.985) 0%, rgba(244,247,250,0.955) 40%, rgba(244,247,250,0.82) 66%, rgba(244,247,250,0.42) 84%, rgba(244,247,250,0.14) 100%);
  pointer-events: none;
  z-index: 0;
}
.native-deck-builder-deck-buttons {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 0 0 auto;
}
.native-deck-builder-deck-btn {
  width: 1.4vw;
  height: 1.4vw;
  min-width: 18px;
  min-height: 18px;
  border: none;
  cursor: pointer;
  color: white;
  font-size: 1.6vh;
  line-height: 1;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.native-deck-builder-deck-plus {
  background: linear-gradient(to bottom, rgba(80, 160, 100, 0.9), rgba(55, 130, 75, 0.9));
}
.native-deck-builder-deck-minus {
  background: linear-gradient(to bottom, rgba(188, 90, 113, 0.9), rgba(158, 60, 83, 0.9));
}
.native-deck-builder-deck-text {
  position: relative;
  z-index: 1;
  min-width: 0;
  font-size: 1.75vh;
  font-weight: 600;
  color: rgba(27, 33, 39, 0.96);
  text-shadow: 0 1px 0 rgba(255,255,255,0.22);
}
.native-deck-builder-deck-type {
  opacity: 0.72;
  font-weight: 500;
}
.native-deck-builder-card-preview-scrim {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  cursor: pointer;
}
.native-deck-builder-card-preview-scrim[hidden] {
  display: none;
}
.native-deck-builder-card-preview-image {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* Custom card modal */
.native-deck-builder-modal {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(30, 40, 60, 0.45);
  backdrop-filter: blur(2px);
}
.native-deck-builder-modal[hidden] {
  display: none;
}
.native-deck-builder-modal-box {
  background: #f0f2f7;
  border-radius: 0.7vw;
  border: 1px solid rgba(40, 57, 124, 0.14);
  box-shadow: 0 4px 24px rgba(20, 30, 80, 0.22);
  padding: 2vh 1.8vw;
  min-width: 22vw;
  max-width: 30vw;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.1vh;
}
.native-deck-builder-modal-title {
  font-size: 2vh;
  font-weight: 700;
  color: #1a2560;
}
.native-deck-builder-modal-body {
  display: flex;
  gap: 1.2vw;
  align-items: flex-start;
}
.native-deck-builder-modal-fields {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  gap: 0.85vh;
}
.native-deck-builder-modal-preview {
  flex: 0 0 auto;
  width: 8.5vw;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
}
.native-deck-builder-modal-preview-image {
  width: 100%;
  height: auto;
  border-radius: 0.3vw;
  object-fit: contain;
}
.native-deck-builder-modal-preview-placeholder {
  width: 100%;
  height: 100%;
  min-height: 10vh;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35vh;
  color: #8898bb;
  background: rgba(40, 57, 124, 0.06);
  border: 1px dashed rgba(40, 57, 124, 0.2);
  border-radius: 0.3vw;
  text-align: center;
}
.native-deck-builder-modal-label {
  display: flex;
  flex-direction: column;
  gap: 0.25vh;
  font-size: 1.5vh;
  color: #3b4a7a;
}
.native-deck-builder-modal-input {
  font-size: 1.6vh;
  padding: 0.55vh 0.55vw;
  border: 1px solid rgba(40, 57, 124, 0.22);
  border-radius: 0.35vw;
  background: #fff;
  color: #1a2560;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}
.native-deck-builder-modal-error {
  font-size: 1.4vh;
  color: #c0392b;
  min-height: 1.8vh;
}
.native-deck-builder-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.6vw;
}
.native-deck-builder-modal-actions button {
  font-size: 1.65vh;
  padding: 0.6vh 0.9vw;
  border: none;
  cursor: pointer;
  color: white;
}

body.dark-mode-1 .native-deck-builder-inner {
  background: rgba(20, 24, 29, 0.94);
  border-left-color: rgba(120, 144, 214, 0.16);
  box-shadow: inset 8px 0 18px rgba(255,255,255,0.02);
  color: #eef3ff;
}
body.dark-mode-1 .native-deck-builder-modal-box {
  background: rgba(20, 24, 38, 0.98);
  border-color: rgba(120, 144, 214, 0.2);
  color: #eef3ff;
}
body.dark-mode-1 .native-deck-builder-modal-title {
  color: #c5d0ff;
}
body.dark-mode-1 .native-deck-builder-modal-label {
  color: #a0b0e0;
}
body.dark-mode-1 .native-deck-builder-modal-input {
  background: rgba(40, 50, 80, 0.7);
  border-color: rgba(120, 144, 214, 0.25);
  color: #eef3ff;
}
body.dark-mode-1 .native-deck-builder-modal-preview-placeholder {
  color: #5a6a9a;
  background: rgba(40, 57, 124, 0.12);
  border-color: rgba(120, 144, 214, 0.2);
}
body.dark-mode-1 .native-deck-builder-header,
body.dark-mode-1 .native-deck-builder-targetbar,
body.dark-mode-1 .native-deck-builder-pane {
  background: rgba(31, 36, 43, 0.9);
  border-color: rgba(126, 145, 199, 0.14);
  color: #eef3ff;
}
body.dark-mode-1 .native-deck-builder-section-title,
body.dark-mode-1 .native-deck-builder-summary,
body.dark-mode-1 .native-deck-builder-target-label,
body.dark-mode-1 .native-deck-builder-search-status,
body.dark-mode-1 .native-deck-builder-deck-text,
body.dark-mode-1 .native-deck-builder-result-text {
  color: #eef3ff;
  text-shadow: none;
}
body.dark-mode-1 .native-deck-builder-search-input,
body.dark-mode-1 .native-deck-builder-search-select {
  background: rgba(15, 19, 24, 0.92);
  border-color: rgba(115, 132, 182, 0.22);
  color: #f4f7ff;
}
body.dark-mode-1 .native-deck-builder-search-input::placeholder {
  color: rgba(218, 226, 248, 0.5);
}
body.dark-mode-1 .native-deck-builder-search-status {
  opacity: 0.88;
}
body.dark-mode-1 .native-deck-builder-result {
  background: rgba(16, 21, 27, 0.9);
  border-color: rgba(119, 137, 191, 0.18);
  color: #eef3ff;
}
body.dark-mode-1 .native-deck-builder-result:hover {
  background: rgba(28, 36, 48, 0.96);
  border-color: rgba(121, 151, 236, 0.34);
  box-shadow: 0 10px 24px rgba(5, 10, 22, 0.35);
}
body.dark-mode-1 .native-deck-builder-cards {
  background: rgba(11, 15, 20, 0.55);
  border-color: rgba(116, 132, 179, 0.14);
}
body.dark-mode-1 .native-deck-builder-deck-row {
  background: rgba(17, 23, 30, 0.7);
  border-color: rgba(117, 132, 181, 0.14);
}
body.dark-mode-1 .native-deck-builder-deck-row:hover {
  border-color: rgba(121, 151, 236, 0.28);
  box-shadow: 0 12px 28px rgba(4, 8, 20, 0.34);
}
body.dark-mode-1 .native-deck-builder-deck-overlay {
  background: linear-gradient(to right, rgba(11, 14, 18, 0.97) 0%, rgba(11, 14, 18, 0.92) 40%, rgba(11, 14, 18, 0.7) 66%, rgba(11, 14, 18, 0.26) 84%, rgba(11, 14, 18, 0.08) 100%);
}
body.dark-mode-1 .native-deck-builder-deck-type {
  color: rgba(214, 224, 247, 0.72);
}
body.dark-mode-1 .native-deck-builder-deck-status {
  color: rgba(170, 180, 210, 0.7);
}
body.dark-mode-1 .native-deck-builder-deck-status.flash {
  color: rgba(240, 245, 255, 1);
}
body.dark-mode-1 .native-deck-builder-load-status.visible {
  color: #dff7e5;
  background: rgba(28, 90, 49, 0.95);
  border-color: rgba(89, 177, 109, 0.35);
}
body.dark-mode-1 .native-deck-builder-load-status.error {
  color: #ffdcdc;
  background: rgba(106, 31, 31, 0.95);
  border-color: rgba(209, 102, 102, 0.28);
}
body.dark-mode-1 .native-deck-builder-validation-dot {
  box-shadow: 0 0 0 2px rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.08);
}
body.dark-mode-1 .native-deck-builder-edge-toggle {
  background: linear-gradient(to bottom, rgba(55, 63, 78, 0.96), rgba(39, 46, 58, 0.96));
  border-color: rgba(117, 132, 181, 0.22);
  color: #d7e2ff;
}
body.dark-mode-1 .native-deck-builder-edge-toggle:hover {
  background: linear-gradient(to bottom, rgba(66, 75, 92, 0.98), rgba(46, 54, 68, 0.98));
}
#deckBuilderButton, #importExportGameStateButton {
  color: white;
  border-radius: 5px;
  border: none;
  cursor: pointer;
  font-size: 2vh;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
  margin-bottom: 1vh;
}
#deckBuilderButton {
  border: 2px solid #a89850;
  background: linear-gradient(to bottom, #c2b07f, #ac9c52);
}
#importExportGameStateButton {
  border: 2px solid #54a850;
  background: linear-gradient(to bottom, #57a850, #527d57);
  margin-left: 0.5vw;
}
#deckBuilderButton:hover {
  background: linear-gradient(to bottom, #bca668, #8c7e46);
}
#decklistButton:hover {
  background: linear-gradient(to bottom, #8b50a8, #46364f);
}
#importButtonContainer {
  width: 100%;
  display: flex;
  justify-content: center;
  height: 3%;
  padding-top: 1vh;
  align-items: center;
}
#importButtonContainer button {
  width: 50%;
  border-radius: .5rem .5rem 0 0;
  padding: .5vh;
  border: none;
  font-size: 2vh;
  background-color: rgba(171, 171, 171, 0.864);
  cursor: pointer;
}
#decklistTable {
  z-index: 1000;
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 76%;
  height: 100%;
  background: rgba(222, 221, 221, 0.852);
  z-index: 1000;
  overflow: auto;
  padding: 30px;
  box-sizing: border-box;
  font-size: 1.75vh;
}
#decklistTable td {
  padding: 0.3vh 2vw;
}
.main-select {
  font-weight: bold;
  background: linear-gradient(to bottom, rgba(90, 110, 188, 0.864), rgba(60, 80, 158, 0.864))  !important;
  color: white;
  border: .25vw solid rgba(40, 57, 124, 0.864) !important;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
}
.alt-select {
  font-weight: bold;
  background: linear-gradient(to bottom, rgba(188, 90, 113, 0.864), rgba(158, 60, 83, 0.864)) !important;
  color: white;
  border: .25vw solid rgba(153, 58, 81, 0.864) !important;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
}
#mainDeckImportInput, #altDeckImportInput {
  height: 100%;
  width: 100%;
  padding: 2vh;
  border-radius: 5px 5px 10px 10px;
  font-size: 1.75vh;
  box-sizing: border-box;
  resize: none;
  outline: none;
}
#mainDeckImportInput {
  border: .2vw solid rgba(40, 57, 124, 0.864);
  display: inline-block;
}
#altDeckImportInput {
  display: none;
  border: .2vw solid rgba(153, 58, 81, 0.864) !important;
}
#importBottom {
  margin-top: 1vh;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.5vw;
}
#importButton, #confirmButton {
  background: linear-gradient(to bottom, #95c6b4, #72ab97);
  color: white;
}
#confirmButton {
  margin-left: 0.3vw;
}
#importButton {
  cursor: pointer;
  width: 25%;
  height: 3.5vh;
  border-radius: .5rem;
  border: none;
  font-weight: bold;
}
#importButton:hover, #confirmButton:hover {
  background: linear-gradient(to bottom, #7bb9a2, #5faa96);
}
#cancelButton, #confirmButton, #saveButton {
  cursor: pointer;
  display: none;
  width: 20%;
  border-radius: .5rem;
  padding: .7vh;
  border: none;
  color: white;
  font-weight: bold;
}
#cancelButton {
  background: linear-gradient(to bottom, #e19b94, #b9857b);
}
#cancelButton:hover {
  background: linear-gradient(to bottom, #c97571, #ab7270);
}
#uploadButtonsContainer {
  margin: 0.3vw;
}
#uploadFileButton, #changeCardBackButton, #changeLanguageButton, #saveCurrentButton, #changeBackgroundButton {
  padding: 3px 6px;
  cursor: pointer;
  color: white;
  border: none;
  border-radius: .3rem;
  font-size: 1.5vh;
}
#changeBackgroundButton {
  font-size: 2vh;
}
#uploadFileButton.self-color:hover,
#changeCardBackButton.self-color:hover,
#saveCurrentButton.self-color:hover {
  background-color: rgba(116, 129, 183, 0.864);
}

#uploadFileButton.opp-color:hover,
#changeCardBackButton.opp-color:hover,
#saveCurrentButton.opp-color:hover {
  background-color: rgba(189, 112, 130, 0.864);  
}
#changeLanguageButton:hover, #saveButton:hover, #changeBackgroundButton:hover {
  background-color: rgba(150, 144, 144, 0.864);  
}
.language-container {
  position: relative;
  display: inline-block;
}
#languageDropdown {
  display: none;
  position: absolute;
  bottom: 100%;
  left: 0;
  background-color: #f9f9f9;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 1;
  border-radius: 5px;
}
#languageDropdown ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}
#languageDropdown li {
  padding: 10px;
  cursor: pointer;
}
#languageDropdown li:hover {
  background-color: #d7d7d7;
  color: #141414;
}
#saveCurrentButton {
  display: none;
  margin-left: 0.3vw;
}
#randomButton {
  position: absolute;
  right: 5%;
  border: none;
  font-size: x-large;
  cursor: pointer;
  border-radius: .5rem;
  background: linear-gradient(to bottom, #c2b07f, #ac9c52);
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}
#randomButton:hover {
  background: linear-gradient(to bottom, #bca668, #8c7e46);
}
#decklistsButton {
  margin-left: .3vw;
  border: none;
  font-size: x-large;
  cursor: pointer;
  border-radius: .5rem;
  box-sizing: border-box;
  padding-bottom: .3vh;
  padding-top: .5vh;
  background: linear-gradient(to bottom, #b0b0b0, #909090);
}
#decklistsButton:hover {
  background: linear-gradient(to bottom, #a4a4a4, #807f7f);
}
#successText, #failedText, #loadingText, #invalidText {
  display: none;
}
#settings {
  display: none;
}
#changeBackgroundButton {
  margin: 1vh;
}
#settingsToggles {
  background: white;
  width: 100%;
  height: min-content;
  overflow-y: auto;
  padding: 10px;
  box-sizing: border-box;
  display: block;
  border-radius: 10px;
}
#settings label {
  position: relative;
  cursor: pointer;
}
#darkModeCheckbox, #showZonesCheckbox, #hideHandCheckbox, #keybindReminder {
  margin-top: 1vh;
}
#keybindReminder {
  text-align: center;
  width: 100%;
  color: grey;
}
#twitterDescription {
  position: absolute;
  bottom: 2%;
  left: 5%;
  display: block;
  max-width: 90%;
  font-weight: bold;
}
#twitterHandle {
  font-weight: normal;
  margin-top: 1vh;
  display: flex;
  align-items: center;
}
#twitterHandle img {
  margin-right: .5vw;
  height: 2vh;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
.card-context-menu button {
  display: block;
}
.card-context-menu {
  display: none;
  position: absolute;
  background-color: #fff;
  border: 1px solid #ccc;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
  z-index: 99999;
  width: 180px;
}
.card-context-menu ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}
.card-context-menu ul li[id$="Header"] {
  padding: 4px;
  cursor: default;
  font-weight: bold;
  background-color: #f0f0f0;
}
.card-context-menu > ul > li {
  padding: 8px 16px;
  cursor: pointer;
  position: relative;
}
.card-context-menu > ul > li > ul > li{
  padding: 0px 16px;
}
.card-context-menu:not(.dark-mode-2) > ul > li:hover,
.card-context-menu:not(.dark-mode-2) .card-sub-menu li:hover {
  background-color: #f0f0f0;
}
.card-context-menu.dark-mode-2 > ul > li:hover,
.card-context-menu.dark-mode-2 .card-sub-menu li:hover {
  background-color: #4f4f4f;
}
.card-context-menu .card-sub-menu {
  display: none;
  position: absolute;
  top: 0;
  left: 100%;
  z-index: 100000;
  background-color: #fff;
  padding: 8px;
  border: 1px solid #ccc;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
  width: 160px;
}
.card-context-menu > ul > li:hover > .card-sub-menu {
  display: block;
}
.card-context-menu ul li#moveButton:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #525252;
}
.self-text, .announcement, .opp-text, .self-message, .opp-message, .spectator-message, .loading-spectator {
  word-wrap: break-word;
  display: block;
  font-size: 1.75vh;
  margin: 0.5vh 0 0 0;
  border-radius: 10px;
  padding: 0.25vh 1vh;
  color: black;
}
.announcement {
  background-color: rgb(205, 203, 203);
  text-align: center;
  user-select: text;
}
.loading-spectator {
  background-color:rgb(205 188 103);
  text-align: center;
}
.self-message {
  background-color: rgba(142, 155, 209, 0.864);
  text-align: left;
  width: fit-content;
  user-select: text;
}
.opp-message {
  background-color: rgba(187, 120, 136, 0.864);  
  text-align: left;
  width: fit-content;
  user-select: text;
}
.spectator-message {
  background-color:rgb(228, 214, 145);
  text-align: left;
  width: fit-content;
  user-select: text;
}
.self-text {
  background-color: rgba(211, 219, 250, 0.864);
  text-align: left;
  width: fit-content;
}
.opp-text {
  background-color: rgba(247, 217, 223, 0.864);  
  text-align: left;
  width: fit-content;
}
.decklists-context-menu {
  display: none;
  position: absolute;
  border-radius: 5px;
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border: 1px solid #ccc;
  z-index: 2;
  height: fit-content;
}
.decklists-context-menu-item {
  padding: .3vh 1vw;
  cursor: pointer;
  font-size: small;
}
.decklists-context-menu-sub-menu {
  font-weight: normal;
  display: none;
  position: absolute;
  background-color: #c1c1c1;
  left: 99%; 
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border: 1px solid #ccc;
  border-radius: 5px;
  top: 0;
  height: 100%;
  width: 112%;
  color: #141414;
}
.decklist-highlight {
  background-color: #f0f0f0;
  font-weight: bold;
}
.custom-popup {
  position: fixed;
  top: 50%;
  left: 37.75%;
  transform: translate(-50%, -50%);
  background-color: white;
  border: 2px solid #424242;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  padding: 20px;
  text-align: center;
  z-index: 9999;
  border-radius: 5px;
}
.popup-content {
  text-align: center;
}
.popup-button {
  display: block;
  margin-top: 15px;
  margin-left: auto;
  margin-right: auto;
  background-color: #333;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
}
.popup-button:hover {
  background-color: #555;
}
#loadingCircle {
  width: 1vh; /* Adjust size as needed */
  height: 1vh; /* Adjust size as needed */
  border: .4vh solid #f3f3f3; /* Light gray border */
  border-top: .4vh solid #3498db; /* Blue border for animation */
  border-radius: 50%; /* Circle shape */
  animation: spin .5s linear infinite; /* Spin animation */
  display: none;
  margin: 0.5vh 0vh 0.5vh 0vh;
}
@keyframes spin {
  0% { transform: rotate(0deg); } /* Start at 0 degrees */
  100% { transform: rotate(360deg); } /* End at 360 degrees (full circle) */
}

/* Styles when sidebox is hidden */
.sidebox-hidden .self {
  width: 100%;
}

.sidebox-hidden .opp {
  width: 100%;
}

.sidebox-hidden #selfResizer {
  left: -0.55%;
}

.sidebox-hidden #oppResizer {
  left: -0.55%;
}

.sidebox-hidden #boardButtonContainer {
  left: 67%;
}
