:root {
  --primary-color: #0284c7;        /* Vibrant Sky / Royal Electric Blue */
  --primary-light: #e0f2fe;        /* Soft Light Ice / Powder Blue */
  --primary-dark: #0369a1;         /* Deep Marine Blue */
  --primary-glow: rgba(2, 132, 199, 0.25);
  --brand-navy: #0f172a;           /* Dark Slate Text */
  --brand-blue: #2563eb;           /* Electric Blue */
  --blue: #0284c7;
  --indigo: #4f46e5;
  --purple: #7c3aed;
  --pink: #ec4899;
  --red: #ef4444;
  --orange: #f97316;
  --yellow: #f59e0b;
  --green: #10b981;
  --teal: #14b8a6;
  --cyan: #06b6d4;
  --white: #ffffff;
  --gray: #64748b;
  --gray-dark: #334155;
  --primary: #0284c7;
  --secondary: #64748b;
  --success: #10b981;
  --info: #0284c7;
  --warning: #f59e0b;
  --danger: #ef4444;
  --light: #f0f7ff;
  --dark: #0f172a;
}

*, ::after, ::before {
  box-sizing: border-box;
}

html {
  font-family: 'Poppins', sans-serif;
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

body {
  margin: 0;
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.5;
  color: #1e293b;
  text-align: left;
  background-color: #f0f7ff; /* Fresh Soft Blue/White */
  padding-bottom: 70px;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.25s ease-in-out;
}

a:hover, a:focus {
  text-decoration: none;
  color: var(--primary-color);
}

img {
  vertical-align: middle;
  border-style: none;
  max-width: 100%;
}

.wrapper {
  display: flex;
  width: 100%;
  align-items: stretch;
  position: relative;
}

/* NAVBAR */
.navbar {
  padding: 10px 14px;
  background: #ffffff;
  border-bottom: 2px solid #e0f2fe;
  box-shadow: 0 2px 12px rgba(2, 132, 199, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar .container-fluid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0;
}

.menu-btn {
  background: transparent;
  border: none;
  font-size: 22px;
  color: var(--primary-color);
  padding: 4px 6px;
  cursor: pointer;
  line-height: 1;
}

.brand-title {
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--primary-color);
  letter-spacing: 0.8px;
}

.wallet-badge-btn {
  background: linear-gradient(135deg, #e0f2fe 0%, #ffffff 100%);
  color: var(--primary-dark);
  border-radius: 20px;
  padding: 5px 12px;
  font-size: 12.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 6px rgba(2, 132, 199, 0.1);
  border: 1px solid #bae6fd;
}

.wallet-badge-btn i {
  color: #10b981;
}

.realtime-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #e0f2fe;
  color: #0284c7;
  padding: 3px 9px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 700;
  border: 1px solid #bae6fd;
}

.realtime-status-pill .pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseGreen 1.6s infinite;
}

.realtime-status-pill.syncing .pulse-dot {
  background: #f59e0b;
  animation: none;
}

@keyframes pulseGreen {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.btn-white {
  color: #0284c7;
  background-color: #fff;
  border: 1px solid #bae6fd;
  font-size: 13px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 20px;
  box-shadow: 0 2px 6px rgba(2, 132, 199, 0.1);
}

/* SIDEBAR */
#sidebar {
  width: 270px;
  position: fixed;
  top: 0;
  left: -280px;
  height: 100vh;
  z-index: 1050;
  background: #ffffff;
  color: #1e293b;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  box-shadow: 4px 0 25px rgba(2, 132, 199, 0.15);
  border-right: 1px solid #e0f2fe;
}

#sidebar.active {
  left: 0;
}

#dismiss {
  width: 35px;
  height: 35px;
  line-height: 35px;
  text-align: center;
  background: #e0f2fe;
  color: var(--primary-color);
  position: absolute;
  top: 12px;
  right: 12px;
  cursor: pointer;
  border-radius: 50%;
  transition: all 0.3s;
}

#dismiss:hover {
  background: var(--primary-color);
  color: #fff;
}

.overlay {
  display: none;
  position: fixed;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.6);
  z-index: 1040;
  opacity: 0;
  transition: all 0.3s ease-in-out;
  top: 0;
  left: 0;
}

.overlay.active {
  display: block;
  opacity: 1;
}

#sidebar .sidebar-header {
  padding: 24px 18px 18px;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: white;
}

.sidebar-header .Uname {
  display: block;
  font-weight: 700;
  font-size: 16px;
  color: #ffffff;
}

.sidebar-header .Umobile {
  display: block;
  font-weight: 400;
  font-size: 13px;
  color: #e0f2fe;
}

#sidebar ul.components {
  padding: 10px 0;
  list-style: none;
  margin: 0;
}

#sidebar ul li a {
  padding: 12px 20px;
  font-size: 13.5px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #334155;
  border-bottom: 1px solid #f1f5f9;
}

#sidebar ul li a i {
  width: 20px;
  text-align: center;
  font-size: 16px;
  color: var(--primary-color);
}

#sidebar ul li a:hover, #sidebar ul li.active > a {
  color: var(--primary-color);
  background: #e0f2fe;
  font-weight: 600;
}

ul.CTAs {
  padding: 15px 20px;
  list-style: none;
  margin: 0;
}

ul.CTAs a {
  text-align: center;
  font-size: 13px !important;
  font-weight: 600;
  display: block;
  border-radius: 6px;
  margin-bottom: 8px;
  padding: 10px !important;
}

a.download {
  background: #e0f2fe;
  color: var(--primary-color) !important;
  border: 1px solid #bae6fd;
}

a.article {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%) !important;
  color: #fff !important;
}

/* MARQUEE */
#scroll-container {
  overflow: hidden;
  background: #e0f2fe;
  padding: 8px 0;
  border-bottom: 1px solid #bae6fd;
  font-size: 12px;
  font-weight: 600;
  color: #0369a1;
}

#scroll-text {
  display: inline-block;
  white-space: nowrap;
  animation: my-animation 18s linear infinite;
}

@keyframes my-animation {
  from { transform: translateX(100vw); }
  to { transform: translateX(-100%); }
}

/* ACTION BUTTONS & BANNER */
.container {
  width: 100%;
  max-width: 540px;
  margin: 0 auto;
  padding: 0 12px;
}

.home-sl-box {
  background: linear-gradient(135deg, #e0f2fe 0%, #ffffff 100%);
  color: #0369a1 !important;
  padding: 14px 10px;
  display: block;
  border-radius: 12px;
  font-weight: 700;
  font-size: 13.5px;
  text-align: center;
  box-shadow: 0 3px 10px rgba(2, 132, 199, 0.1);
  border: 1px solid #bae6fd;
  transition: all 0.2s ease;
}

.home-sl-box:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(2, 132, 199, 0.18);
  border-color: #0284c7;
}

.home-sl2-box {
  background: #ffffff;
  color: #0369a1 !important;
  padding: 8px 6px 8px 10px;
  display: flex;
  align-items: center;
  border-radius: 20px;
  font-weight: 600;
  font-size: 12px;
  text-align: left;
  box-shadow: 0 2px 6px rgba(2, 132, 199, 0.08);
  border: 1px solid #e0f2fe;
  transition: all 0.2s ease;
}

.home-sl2-box:hover {
  background: #f0f9ff;
  border-color: #bae6fd;
}

.home-sl2-box i {
  background: #e0f2fe;
  width: 24px;
  height: 24px;
  line-height: 24px;
  text-align: center;
  border-radius: 50%;
  color: #0284c7;
  margin-right: 6px;
  flex-shrink: 0;
  font-size: 11px;
}

.tb-10 { margin: 10px 0; }
.tbmar-10 { margin: 10px 0; }
.tbmar-20 { margin: 20px 0; }
.tbmar-40 { margin: 40px 0; }

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -5px;
}

.col-3, .col-4, .col-6, .col-12 {
  padding: 0 5px;
  box-sizing: border-box;
}

.col-3 { flex: 0 0 25%; max-width: 25%; }
.col-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
.col-6 { flex: 0 0 50%; max-width: 50%; }
.col-12 { flex: 0 0 100%; max-width: 100%; }

/* GAME LIST CARD */
.row.game-list-inner {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 3px 12px rgba(2, 132, 199, 0.06);
  font-size: 12px;
  line-height: 12px;
  margin: 10px 0;
  align-items: center;
  text-align: center;
  padding: 8px 4px;
  transition: all 0.2s ease;
}

.row.game-list-inner:hover {
  border-color: #bae6fd;
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.12);
}

.game-time {
  padding: 10px 0px;
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: #495057;
}

.game-time i {
  color: var(--primary-color);
  font-size: 22px;
  margin-bottom: 4px;
  display: block;
}

.game-list-box {
  display: block;
  padding: 5px 0px;
}

.game-list-box .gameName {
  font-size: 15px;
  font-weight: 700;
  display: block;
  padding: 2px 0px;
  color: #0f172a;
  letter-spacing: 0.4px;
}

.game-list-box .gameon {
  font-size: 11.5px;
  font-weight: 600;
  display: block;
  color: #10b981;
  padding: 0px;
  margin: 2px 0;
}

.game-list-box .gameoff {
  font-size: 11.5px;
  font-weight: 600;
  display: block;
  color: #ef4444;
  padding: 0px;
  margin: 2px 0;
}

.game-list-box .gameResult {
  font-size: 18px;
  font-weight: 700;
  display: block;
  color: var(--primary-color);
  padding: 2px 0px;
  letter-spacing: 1px;
}

.game-play {
  padding: 10px 0px;
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: #495057;
}

.game-play i {
  color: var(--primary-color);
  font-size: 24px;
  margin-bottom: 4px;
  display: block;
}

.game-play.gray i {
  color: #cbd5e1;
}

/* CARDS & FORMS */
.card {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 15px rgba(2, 132, 199, 0.06);
  font-size: 12.5px;
  margin: 10px 0;
  padding: 20px;
}

.card-full-page {
  min-height: 82vh;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 15px rgba(2, 132, 199, 0.06);
  font-size: 12px;
  margin: 10px 0;
  padding: 16px;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 6px;
  display: block;
}

.form-control {
  display: block;
  width: 100%;
  padding: 9px 12px;
  font-size: 14px;
  line-height: 1.5;
  color: #1e293b;
  background-color: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  outline: none;
  transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.15rem rgba(2, 132, 199, 0.2);
}

.btn {
  display: inline-block;
  font-weight: 600;
  text-align: center;
  border: 1px solid transparent;
  padding: 8px 16px;
  font-size: 14px;
  line-height: 1.5;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  user-select: none;
}

.btn-theme {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  border-color: #0284c7;
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 3px 10px rgba(2, 132, 199, 0.25);
}

.btn-theme:hover {
  background: linear-gradient(135deg, #0369a1 0%, #075985 100%);
  color: #fff;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
}

.btn-login {
  text-align: center;
  display: block;
  width: 100%;
  font-size: 15px;
  padding: 11px;
}

.btn-outline {
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  background: #ffffff;
  font-weight: 600;
}

.btn-outline:hover {
  background: var(--primary-light);
  color: var(--primary-dark);
}

/* GAME DASHBOARD ICONS & BOXES */
.bidtypebox {
  display: block;
  border: 1px solid #e0f2fe;
  border-radius: 12px;
  text-align: center;
  font-size: 12px;
  margin: 6px 3px;
  background: #ffffff;
  padding: 12px 6px;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.05);
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}

.bidtypebox:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(2, 132, 199, 0.12);
  border-color: #bae6fd;
}

.bidtypebox p {
  padding: 8px 0px 0;
  margin: 0px;
  font-weight: 700;
  font-size: 13px;
  color: #0f172a;
}

.bidtypebox img {
  height: 64px;
  width: auto;
  object-fit: contain;
  margin: 0 auto;
}

.bidtypebox span.rate-tag {
  display: block;
  font-size: 11px;
  color: var(--primary-color);
  font-weight: 600;
  margin-top: 3px;
}

/* BETTING SCREEN & CHIPS */
.bidamtbox {
  text-align: center;
  margin: 0px;
  border: 1px solid #bae6fd;
  background: #f0f9ff;
  color: #0369a1;
  display: block;
  padding: 8px 4px;
  border-radius: 8px;
  width: 100%;
  cursor: pointer;
  font-weight: 700;
  font-size: 12.5px;
  transition: all 0.15s;
}

.bidamtbox.active {
  border: 1px solid #0284c7;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: white;
  box-shadow: 0 3px 10px rgba(2, 132, 199, 0.3);
}

.bidamtbox.active p {
  color: white;
}

.bidamtbox p {
  margin: 0;
  font-weight: 600;
}

.addFundamtbox {
  text-align: center;
  margin: 0px;
  border: 1px solid #bae6fd;
  background: #f0f9ff;
  color: #0369a1;
  display: block;
  padding: 10px 4px;
  border-radius: 8px;
  width: 100%;
  cursor: pointer;
  font-weight: 700;
  font-size: 13.5px;
  transition: all 0.15s;
}

.addFundamtbox.active {
  border: 1px solid #0284c7;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
}

.pointinputbox {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  text-align: center;
  padding: 7px 4px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  background: #ffffff;
}

.pointinputbox:focus {
  border-color: var(--primary-color);
  background: #f0f9ff;
  outline: none;
}

/* NUMBER GRID */
.num-grid-box {
  border: 1px solid #e0f2fe;
  border-radius: 8px;
  padding: 8px 4px;
  text-align: center;
  background: #ffffff;
  margin-bottom: 8px;
  box-shadow: 0 2px 6px rgba(2, 132, 199, 0.04);
}

.num-grid-box .num-label {
  font-weight: 700;
  font-size: 15px;
  color: #0f172a;
  margin-bottom: 4px;
}

/* HISTORY CARDS */
.history-list-box {
  background: white;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  box-shadow: 0px 2px 6px rgba(0,0,0,0.04);
  font-size: 12px;
  margin: 10px 0px;
  position: relative;
  overflow: hidden;
}

.history-list-box .fixed-debit {
  position: relative;
  background: #ef4444;
  color: white;
  padding: 4px 8px;
  left: 12px;
  border-radius: 0px 0px 5px 5px;
  width: 150px;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
}

.history-list-box .fixed-credit {
  position: relative;
  background: #10b981;
  color: white;
  padding: 4px 8px;
  left: 12px;
  border-radius: 0px 0px 5px 5px;
  width: 150px;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
}

.history-list-box .bid-detail {
  padding: 12px 16px;
}

.gm-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary-color);
}

.row.bid-row {
  margin: 8px 0px;
  align-items: center;
}

.bid-row .dark {
  font-weight: 600;
  margin-bottom: 2px;
  display: block;
  font-size: 12px;
  color: #1e293b;
}

.bid-time {
  text-align: center;
  color: #64748b;
  margin-bottom: 4px;
  font-size: 11px;
}

.bid-pending {
  text-align: center;
  color: #d97706;
  font-weight: 600;
  margin-bottom: 4px;
}

.bid-won {
  text-align: center;
  color: #10b981;
  font-weight: 700;
  margin-bottom: 4px;
}

.bid-lose {
  text-align: center;
  color: #ef4444;
  font-weight: 600;
  margin-bottom: 4px;
}

/* FOOTER BAR */
#footer-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1020;
  background-color: #ffffff;
  box-shadow: 0 -3px 14px 0 rgba(2, 132, 199, 0.1);
  min-height: 60px;
  display: flex;
  text-align: center;
  border-top: 1px solid #e0f2fe;
  transform: translateZ(0);
  will-change: transform;
}

#footer-bar a {
  color: #64748b;
  padding-top: 9px;
  position: relative;
  flex: 1 1 auto;
  font-size: 11px;
}

#footer-bar a i {
  font-size: 19px;
  display: block;
  margin-bottom: 3px;
}

#footer-bar a span {
  display: block;
  font-size: 10.5px;
  font-weight: 500;
}

#footer-bar a.active-nav {
  color: var(--primary-color);
  font-weight: 700;
}

#footer-bar a.active-nav i {
  color: var(--primary-color);
}

/* WHATSAPP FLOAT */
.wts-flt-btn {
  position: fixed;
  right: 14px;
  bottom: 74px;
  display: block;
  z-index: 1010;
}

.wts-flt-btn a {
  font-size: 26px;
  background: #25D366;
  color: white;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
}

/* MODAL */
.modal {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1060;
  display: none;
  background: rgba(15, 23, 42, 0.65);
  overflow-x: hidden;
  overflow-y: auto;
  align-items: center;
  justify-content: center;
  padding: 15px;
}

.modal.show {
  display: flex;
}

.modal-dialog {
  width: 100%;
  max-width: 480px;
  margin: auto;
  pointer-events: auto;
}

.modal-content {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  background-color: #fff;
  border: 1px solid #e0f2fe;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(2, 132, 199, 0.2);
  overflow: hidden;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  border-bottom: 1px solid #bae6fd;
}

.modal-title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
}

.modal-header .close {
  background: transparent;
  border: none;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  color: #ffffff;
  cursor: pointer;
  padding: 0;
}

.modal-body {
  position: relative;
  flex: 1 1 auto;
  padding: 18px;
}

.modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 12px 18px;
  border-top: 1px solid #e2e8f0;
  background: #f8fafc;
}

/* NOTICE BOARD */
.notice-board {
  background: #ffffff;
  border: 1px solid #e0f2fe;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 3px 12px rgba(2, 132, 199, 0.05);
}

.notice-board h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 8px;
}

.notice-board p {
  font-size: 12px;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}

/* STARLINE CHART & TABLES */
.starline-chart-table {
  width: 100%;
  text-align: center;
  border: 1px solid #cbd5e1;
  border-collapse: collapse;
  background: white;
  font-size: 12px;
}

.starline-chart-table thead {
  background: #e0f2fe;
  color: #0369a1;
  font-weight: 700;
}

.starline-chart-table th, .starline-chart-table td {
  border: 1px solid #e2e8f0;
  padding: 8px 4px;
}

.starline-chart-table .f {
  background: #f0f9ff;
  color: var(--primary-color);
  font-weight: 700;
}

.table-responsive {
  overflow-x: auto;
  width: 100%;
}

/* ANIMATED CARD BORDER (MATCHING TARGET SITE) */
.animated-border {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-radius: 12px;
  padding: 2px !important;
  background: linear-gradient(45deg, #0284c7, #38bdf8, #2563eb, #0ea5e9);
  background-size: 400% 400%;
  animation: borderAnimation 6s linear infinite;
  margin: 10px 0;
}

.animated-border .card-body {
  background: #fff;
  border-radius: 10px;
  padding: 14px;
}

@keyframes borderAnimation {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ==========================================================================
   MOBILE & SAFARI / WEBKIT PRODUCTION OPTIMIZATIONS
   ========================================================================== */

/* Safari, Android WebView & Touch Performance Optimizations */
* {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch;
}

a, button, input, select, textarea, label,
.btn, .bidamtbox, .addFundamtbox, .bidtypebox, .num-grid-box,
.home-sl-box, .home-sl2-box, .game-time, .game-play,
.pointinputbox, .menu-btn, .wallet-badge-btn, #footer-bar a,
.session-pill-label, .session-bet-pill {
  touch-action: manipulation;
  -webkit-touch-callout: none;
}

.btn, button, .home-sl-box, .home-sl2-box, .bidtypebox,
.bidamtbox, .addFundamtbox, .menu-btn, #footer-bar a,
.game-time, .game-play, .num-grid-box, .session-pill-label, .session-bet-pill {
  user-select: none;
  -webkit-user-select: none;
  transition: transform 0.08s ease-out, opacity 0.08s ease-out, background-color 0.15s ease, border-color 0.15s ease;
}

.btn:active, button:active, .home-sl-box:active, .home-sl2-box:active,
.bidtypebox:not(.game-disabled):active, .bidamtbox:active, .addFundamtbox:active,
.menu-btn:active, #footer-bar a:active, .game-time:active,
.game-play:not(.gray):active, .num-grid-box:active {
  transform: scale(0.96) !important;
  opacity: 0.88 !important;
}

#sidebar {
  will-change: left;
  -webkit-overflow-scrolling: touch;
}

#scroll-text {
  will-change: transform;
}

@media screen and (max-width: 768px) {
  input[type="text"],
  input[type="number"],
  input[type="password"],
  input[type="email"],
  input[type="tel"],
  select,
  textarea {
    font-size: 16px !important;
  }

  .btn-login {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
  }

  .container {
    padding-left: 12px;
    padding-right: 12px;
  }
}

