/* @import url('https://fonts.googleapis.com/css2?family=Londrina+Outline&family=Outfit:wght@100..900&display=swap'); */
@import url('https://fonts.googleapis.com/css2?family=Londrina+Outline&family=Outfit:wght@100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
  --bg-primary:#FDFDFD;
  --bg-secondary:#F2F2F2;
  --txt-primary:#2D2D2D;
  --txt-secondary:#919191;
  --txt-hint:#fff;
  --bg-fill:#F2F2F2;
  --bg-content:#5e5e5ebb;
}
 
.dark-mode {
  --bg-primary:#1A1A1B;
  --bg-secondary:#353535;
  --txt-primary:#FFFFFF;
  --txt-secondary:#AAAAAA;
  --txt-hint:#000;
  --bg-content:#5f5c5c;
  --bg-fill-primary:#353535;
}

.main-card {
  display: flex;
  flex-direction: column;
  width: 732px;
  /* min-height: 732px; */
  max-height: 100vh;
  border-radius: 8px;
  margin: 0 auto;
  /* background-color: var(--bg-primary); */
  position: relative;
  /* background: var(--bg-primary); */
}

.main-card:has(.winlost-modal), 
.main-card:has(.waffle-gameover-extended) {
  height: auto;
  overflow-y: auto;
}

.main-page-wrapper {
  height: 100%;
  overflow: visible;
  background: var(--bg-primary);
}

.main-page-wrapper::-webkit-scrollbar {
  /* width: 6px; */
}

/* Prevent blue highlight on mobile touch for all interactive elements */
img, button, a, [role="button"], .clickable {
  -webkit-tap-highlight-color: transparent !important;
  -webkit-touch-callout: none !important;
  -webkit-user-select: none !important;
  -khtml-user-select: none !important;
  -moz-user-select: none !important;
  -ms-user-select: none !important;
  user-select: none !important;
}

/* Prevent long press context menu on images */
img {
  -webkit-touch-callout: none !important;
  pointer-events: auto;
  touch-action: manipulation;
}

/* For draggable elements, ensure no selection */
[draggable="true"] {
  -webkit-user-drag: element;
  -khtml-user-drag: element;
  -moz-user-drag: element;
  -o-user-drag: element;
}

/* Utility class to completely prevent selection and highlights */
.no-select {
  -webkit-tap-highlight-color: transparent !important;
  -webkit-touch-callout: none !important;
  -webkit-user-select: none !important;
  -khtml-user-select: none !important;
  -moz-user-select: none !important;
  -ms-user-select: none !important;
  user-select: none !important;
  touch-action: manipulation !important;
}

.main-page-wrapper::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 3px;
}

.main-page-wrapper::-webkit-scrollbar-track {
  background-color: rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {
  @media (max-width: 768px) {
    .main-card {
      width: 100%;
      height: 100vh;
      border-radius: 0;
      background: var(--primary-bg);
      /* overflow: hidden; */
    }

  }
}

.modal-container {
  width: 90%;
}

.sidebar {
  width: 80%;
}



body {
  margin: 0;
  padding: 0;
}