/* Copy Animation */
.base-color {
  color: hsl(var(--main)) !important;
}

.copyInput {
  display: inline-block;
  line-height: 50px;
  position: absolute;
  top: 0;
  right: 0;
  width: 40px;
  text-align: center;
  font-size: 14px;
  cursor: pointer;
  -webkit-transition: all .3s;
  -o-transition: all .3s;
  transition: all .3s;
}

.copied::after {
  position: absolute;
  top: 50%;
  right: 12%;
  width: 100px;
  display: block;
  content: "COPIED";
  font-size: 1em;
  padding: 5px 5px;
  color: #131340;
  background-color: #37f5f9;
  border-radius: 3px;
  opacity: 0;
  will-change: opacity, transform;
  animation: showcopied 1.5s ease;
  transform: translateY(-50%);
}

@keyframes showcopied {
  0% {
    opacity: 0;
    transform: translateX(100%) translateY(-50%);
  }

  50% {
    opacity: 0.7;
    transform: translateX(40%) translateY(-50%);
  }

  70% {
    opacity: 1;
    transform: translateX(0) translateY(-50%);
  }

  100% {
    opacity: 0;
  }
}

.cookies-card {
  width: 520px;
  padding: 30px;
  border: 1px solid #ddd;
  color: #f9f9f9;
  position: fixed;
  bottom: 15px;
  left: 15px;
  z-index: 999999;
  transition: all .5s;
  background: #131340;
  border-radius: 5px;
}

.cookies-card.hide {
  bottom: -500px !important;
}

.radius--10px {
  border-radius: 10px;
}

.cookies-card__icon {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background-color: #6e6f70;
  color: #fff;
  font-size: 32px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.cookies-card__content {
  margin-bottom: 0;
}

.cookies-btn {
  color: #363636;
  text-decoration: none;
  padding: 10px 35px;
  margin: 3px 5px;
  display: inline-block;
  border-radius: 999px;
}

.cookies-btn:hover {
  color: #363636;
}


@media (max-width: 767px) {
  .cookies-card {
    width: 100%;
    left: 0;
    bottom: 0;
    font-size: 14px;
    padding: 15px;
  }
}




.hover-input-popup {
  position: relative;
}

.input-popup {
  display: none;
}

.hover-input-popup .input-popup {
  display: block;
  position: absolute;
  bottom: 130%;
  left: 50%;
  width: 280px;
  background-color: #1a1a1a;
  color: #fff;
  padding: 20px;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
}

.input-popup::after {
  position: absolute;
  content: '';
  bottom: -19px;
  left: 50%;
  margin-left: -5px;
  border-width: 10px 10px 10px 10px;
  border-style: solid;
  border-color: transparent transparent #1a1a1a transparent;
  -webkit-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  transform: rotate(180deg);
}

.input-popup p {
  padding-left: 20px;
  position: relative;
}

.input-popup p::before {
  position: absolute;
  content: '';
  font-family: 'Line Awesome Free';
  font-weight: 900;
  left: 0;
  top: 4px;
  line-height: 1;
  font-size: 18px;
}

.input-popup p.error {
  text-decoration: line-through;
}

.input-popup p.error::before {
  content: "\f057";
  color: #ea5455;
}

.input-popup p.success::before {
  content: "\f058";
  color: #28c76f;
}



.show-filter {
  display: none;
}

@media(max-width:767px) {
  .responsive-filter-card {
    display: none;
    transition: none;
  }

  .show-filter {
    display: block;
  }
}

.error {
  color: #dc3545;
}

.input-group label.error {
  top: 100%;
  position: absolute;
}

.modal .btn-close {
  background-color: #fff !important;
}

.modal .btn--secondary {
  color: #fff !important;
}

.modal .btn--base {
  color: #000 !important;
}

/* Mobile-first app shell */
html {
  /* background: #11151d; */
}

body {
  background: #eef1f6;
  letter-spacing: 0;
}

.lottery-app-shell {
  position: relative;
  width: min(100%, 540px);
  min-height: 100vh;
  margin: 0 auto;
  overflow: clip;
  background: #f7f8fc;
  box-shadow: 0 0 42px rgba(8, 14, 28, 0.24);
}

.lottery-app-content {
  min-height: calc(100vh - 76px);
  padding: 0 14px 104px;
  background: #f4f6fb;
}

.lottery-app-content .container,
.lottery-app-content .container-fluid {
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
}

.app-topbar {
  position: sticky;
  top: 0;
  z-index: 1030;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 72px;
  padding: 10px 14px;
  color: #fff;
  background: #101722;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.app-brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 9px;
  color: inherit;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.1;
}

.app-brand:hover,
.app-brand:focus {
  color: inherit;
}

.app-brand__logo,
.app-drawer__brand .app-brand__logo {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  object-fit: contain;
  border-radius: 10px;
  background: #fff;
}

.app-brand > span {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.app-topbar__actions {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 8px;
}

.app-chip,
.app-balance {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border-radius: 8px;
  color: #101722;
  background: #f0bd39;
  font-size: 13px;
  font-weight: 800;
}

.app-chip {
  padding: 0 13px;
}

.app-balance {
  align-items: flex-start;
  flex-direction: column;
  min-width: 92px;
  padding: 5px 10px;
  line-height: 1.05;
}

.app-balance span {
  font-size: 10px;
  font-weight: 700;
  opacity: 0.72;
}

.app-balance strong {
  max-width: 110px;
  overflow: hidden;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-icon-btn {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: rgba(255, 255, 255, 0.11);
  font-size: 26px;
}

.app-drawer {
  width: min(88vw, 390px);
  color: #fff;
  background: #101722;
}

.app-drawer .offcanvas-header {
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.app-drawer__brand,
.app-profile {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 10px;
  font-weight: 800;
}

.app-profile__avatar {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 50%;
  color: #101722;
  background: #f0bd39;
  font-size: 27px;
}

.app-profile div {
  display: grid;
  min-width: 0;
}

.app-profile span:last-child {
  color: #b7c1d5;
  font-size: 12px;
  font-weight: 600;
}

.app-drawer__links {
  display: grid;
  gap: 6px;
}

.app-drawer__links a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 12px;
  border-radius: 8px;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  font-weight: 700;
}

.app-drawer__links i {
  color: #f0bd39;
  font-size: 24px;
}

.app-drawer__auth {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.app-drawer__auth .btn {
  min-height: 46px;
}

.app-bottom-nav {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 50%;
  z-index: 1035;
  display: grid;
  width: min(100%, 540px);
  min-height: 70px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: center;
  gap: 4px;
  padding: 8px 8px max(8px, env(safe-area-inset-bottom));
  border-top: 1px solid #e8edf5;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 -8px 24px rgba(16, 23, 34, 0.1);
  transform: translateX(-50%);
  backdrop-filter: blur(12px);
}

.app-bottom-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 52px;
  gap: 3px;
  border-radius: 12px;
  color: #667085;
  font-size: 10.5px;
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
  background: transparent;
  transition: color .18s ease, background .18s ease, transform .18s ease;
}

.app-bottom-nav a.active,
.app-bottom-nav a:hover,
.app-bottom-nav a:focus {
  color: #111827;
  background: #fff7df;
}

.app-bottom-nav i {
  font-size: 22px;
  line-height: 1;
}

.app-bottom-nav span {
  display: block;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-bottom-nav__primary {
  min-height: 52px !important;
  border: 0;
  border-radius: 14px !important;
  color: #111827 !important;
  background: linear-gradient(135deg, #ffd866, #f0bd39) !important;
  box-shadow: 0 8px 18px rgba(133, 88, 0, 0.18);
}

.app-bottom-nav__primary i {
  font-size: 23px;
}

.mobile-hero {
  display: grid;
  gap: 10px;
  padding-top: 12px;
}

.mobile-banner-slider {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: #11151d;
  box-shadow: 0 14px 32px rgba(16, 23, 34, 0.18);
}

.mobile-banner-track {
  display: flex;
  transition: transform 420ms ease;
}

.mobile-banner {
  position: relative;
  flex: 0 0 100%;
  overflow: hidden;
  min-height: 188px;
  border-radius: 8px;
  background: #11151d;
}

.mobile-banner img {
  display: block;
  width: 100%;
  min-height: 188px;
  aspect-ratio: 16 / 8;
  object-fit: cover;
}

.mobile-banner::after {
  position: absolute;
  inset: auto 0 0;
  height: 46%;
  content: "";
  background: linear-gradient(180deg, rgba(16, 23, 34, 0), rgba(16, 23, 34, 0.34));
  pointer-events: none;
}

.mobile-banner-controls {
  position: absolute;
  right: 10px;
  bottom: 10px;
  left: 10px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  pointer-events: none;
}

.mobile-banner-controls > button {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: #fff;
  background: rgba(16, 23, 34, 0.52);
  font-size: 19px;
  pointer-events: auto;
}

.mobile-banner-dots {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 26px;
  padding: 0 9px;
  border-radius: 999px;
  background: rgba(16, 23, 34, 0.55);
  pointer-events: auto;
}

.mobile-banner-dots button {
  width: 7px;
  height: 7px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.52);
  transition: width 180ms ease, background-color 180ms ease;
}

.mobile-banner-dots button.is-active {
  width: 20px;
  background: #f0bd39;
}

.mobile-banner--fallback {
  display: grid;
  align-content: end;
  gap: 6px;
  min-height: 184px;
  padding: 18px;
  color: #fff;
  background: linear-gradient(135deg, #101722, #246a86);
}

.mobile-banner--fallback strong {
  font-size: 24px;
}

.result-strip {
  overflow: hidden;
  border: 1px solid #d9e1ef;
  border-radius: 8px;
  color: #182030;
  background: #fff;
}

.result-strip__track {
  display: flex;
  width: max-content;
  animation: result-strip 28s linear infinite;
}

.result-strip__group {
  display: flex;
  align-items: center;
}

.result-strip__item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 0 14px;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 700;
}

.result-strip__item i,
.result-strip__item strong {
  color: #aa1c2c;
}

.result-strip__item strong {
  padding: 3px 7px;
  border-radius: 6px;
  color: #fff;
  background: #aa1c2c;
  font-size: 13px;
}

.mobile-quick-actions,
.wallet-summary {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mobile-quick-actions a,
.wallet-summary article {
  display: grid;
  min-width: 0;
  min-height: 72px;
  align-content: center;
  justify-items: center;
  gap: 4px;
  padding: 10px 6px;
  border: 1px solid #dfe5f1;
  border-radius: 8px;
  color: #182030;
  background: #fff;
  box-shadow: 0 8px 20px rgba(16, 23, 34, 0.07);
  text-align: center;
}

.mobile-quick-actions a:first-child {
  color: #fff;
  border-color: #aa1c2c;
  background: #aa1c2c;
}

.mobile-quick-actions i,
.wallet-summary i {
  color: #f0bd39;
  font-size: 24px;
}

.mobile-quick-actions a:first-child i {
  color: #fff0ba;
}

.mobile-quick-actions span,
.wallet-summary span {
  font-size: 11px;
  font-weight: 900;
}

.wallet-summary {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 14px 0 4px;
}

.wallet-summary article strong {
  overflow-wrap: anywhere;
  color: #aa1c2c;
  font-size: 16px;
  font-weight: 900;
}

.app-game-section {
  display: grid;
  gap: 12px;
  margin-top: 10px;
  padding: 13px 0 0;
}

.app-digit-section {
  display: grid;
  gap: 10px;
}

.app-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.app-section-heading h2 {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin: 0;
  color: #182030;
  font-size: 19px;
  font-weight: 900;
}

.app-section-heading h2 span {
  display: inline-grid;
  min-height: 22px;
  place-items: center;
  padding: 0 5px;
  border-radius: 4px;
  color: #fff;
  background: #6d35ef;
  font-size: 12px;
  text-transform: uppercase;
}

.app-section-heading a {
  color: #aa1c2c;
  font-size: 12px;
  font-weight: 900;
}

.app-lottery-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.app-lottery-card {
  display: grid;
  min-width: 0;
  align-content: start;
  gap: 4px;
  min-height: 151px;
  padding: 8px 9px 10px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(155deg, #8b5df7 0%, #6532ec 46%, #4c14c3 100%);
  box-shadow: 0 10px 22px rgba(76, 20, 195, 0.22);
}

.app-lottery-card.is-closed {
  background: linear-gradient(155deg, #8256ef 0%, #5f2be1 50%, #4914ac 100%);
}

.app-lottery-card__art {
  display: grid;
  min-width: 0;
  min-height: 76px;
  place-items: center;
  overflow: hidden;
  background: transparent;
}

.app-lottery-card__art img {
  display: block;
  width: 100%;
  height: 76px;
  filter: drop-shadow(0 7px 7px rgba(31, 9, 83, 0.25));
  object-fit: contain;
}

.app-lottery-card__top {
  display: grid;
  grid-template-columns: minmax(62px, 0.95fr) minmax(0, 1.05fr);
  align-items: start;
  gap: 4px;
  min-width: 0;
}

.app-lottery-card__meta {
  display: grid;
  align-content: start;
  justify-items: end;
  min-width: 0;
  gap: 2px;
  padding-top: 2px;
  text-align: right;
}

.app-lottery-card__meta h3 {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: #ddd5ff;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.12;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.app-lottery-card__meta strong {
  display: block;
  max-width: 100%;
  overflow: hidden;
  color: #fff;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.05;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-lottery-card__details {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  min-width: 0;
  color: #d9cbff;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}

.app-lottery-card__details b {
  overflow: hidden;
  color: #ded7ff;
  font-size: 11px;
  font-weight: 900;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-lottery-card__bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 72px;
  align-items: center;
  gap: 7px;
  margin-top: auto;
}

.app-draw-clock {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  min-width: 0;
  color: #647086;
  font-size: 11px;
  font-weight: 900;
}

.app-draw-clock span {
  display: inline-grid;
  min-width: 23px;
  min-height: 23px;
  place-items: center;
  border-radius: 6px;
  color: #fff;
  background: #182030;
}

.app-lottery-card .app-draw-clock {
  display: flex;
  min-height: 35px;
  justify-content: center;
  gap: 2px;
  padding: 0 5px;
  border-radius: 6px;
  color: #fff;
  background: #3d0b91;
  white-space: nowrap;
}

.app-lottery-card .app-draw-clock span {
  min-width: auto;
  min-height: auto;
  color: #fff;
  background: transparent;
  font-size: 12px;
}

.app-lottery-card .app-draw-clock b {
  color: #fff;
  font-size: 10px;
  font-weight: 900;
}

.app-play-btn {
  display: inline-flex;
  width: 100%;
  min-width: 0;
  min-height: 31px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #08080d;
  background: #fff;
  font-size: 15px;
  font-weight: 900;
  text-transform: uppercase;
}

.app-play-btn.is-disabled {
  color: #3b1b83;
  background: #e5dcff;
  font-size: 11px;
}

.app-empty-state {
  grid-column: 1 / -1;
  padding: 18px;
  border: 1px dashed #ccd4e2;
  border-radius: 8px;
  color: #647086;
  background: #fff;
  font-weight: 800;
  text-align: center;
}

.app-auth {
  display: grid;
  gap: 14px;
  min-height: calc(100vh - 190px);
  align-content: center;
  padding: 20px 0 8px;
}

.app-auth__brand {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid #dfe5f1;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, #101722, #243659);
  box-shadow: 0 12px 28px rgba(16, 23, 34, 0.16);
}

.app-auth__logo,
.app-auth__brand img {
  width: 68px;
  height: 68px;
  object-fit: contain;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
}

.app-auth__brand > div > span {
  display: block;
  margin-bottom: 3px;
  color: #f0bd39;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.app-auth__brand h1 {
  margin: 0;
  color: #fff;
  font-size: 24px;
  font-weight: 900;
  line-height: 1.08;
}

.app-auth-card {
  overflow: hidden;
  border: 1px solid #dfe5f1;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(16, 23, 34, 0.11);
}

.app-auth-form {
  display: grid;
  gap: 13px;
  padding: 18px 16px 15px;
}

.app-auth-field {
  display: grid;
  gap: 6px;
}

.app-auth-field label {
  margin: 0;
  color: #182030;
  font-size: 12px;
  font-weight: 900;
}

.app-auth-input {
  position: relative;
  display: flex;
  min-height: 50px;
  align-items: center;
  border: 1px solid #d6deeb;
  border-radius: 8px;
  color: #182030;
  background: #f7f9fd;
  transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.app-auth-input:focus-within {
  border-color: #6d35ef;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(109, 53, 239, 0.12);
}

.app-auth-input i {
  flex: 0 0 auto;
  width: 46px;
  color: #6d35ef;
  font-size: 23px;
  text-align: center;
}

.app-auth-input input {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 0 13px 0 0;
  border: 0;
  border-radius: 8px;
  color: #182030;
  background: transparent;
  font-size: 15px;
  font-weight: 700;
}

.app-auth-input input:focus {
  outline: 0;
}

.app-auth-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #516078;
  font-size: 12px;
  font-weight: 800;
}

.app-auth-row a,
.app-auth-switch a,
.app-auth-agree a {
  color: #6d35ef;
  font-weight: 900;
}

.app-auth-check {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  color: #516078;
  font-size: 12px;
  font-weight: 800;
}

.app-auth-check input {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  margin-top: 1px;
  accent-color: #6d35ef;
}

.app-auth-agree {
  line-height: 1.35;
}

.app-auth-actions {
  display: grid;
  gap: 9px;
}

.app-auth-submit,
.app-auth-secondary {
  display: inline-flex;
  width: 100%;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 900;
}

.app-auth-submit {
  color: #fff;
  background: linear-gradient(135deg, #6d35ef, #4613b8);
  box-shadow: 0 10px 22px rgba(86, 32, 209, 0.25);
}

.app-auth-submit:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

.app-auth-secondary {
  border: 1px solid #dfe5f1;
  color: #182030;
  background: #f7f9fd;
}

.app-auth-switch {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 56px;
  padding: 12px;
  border-top: 1px solid #edf1f7;
  color: #516078;
  background: #fbfcfe;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.finance-page {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 18px 12px 110px;
  color: #172033;
}

.finance-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  border-radius: 16px;
  padding: 18px;
  color: #fff;
  background: linear-gradient(135deg, #111827 0%, #155e75 54%, #db2777 100%);
  box-shadow: 0 14px 34px rgba(18, 31, 53, .16);
}

.finance-hero__label {
  margin: 0 0 6px;
  color: rgba(255, 255, 255, .78);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.finance-hero__title {
  margin: 0;
  color: #fff;
  font-size: 24px;
  font-weight: 900;
  line-height: 1.15;
}

.finance-hero__meta {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, .84);
  font-size: 13px;
  font-weight: 700;
}

.finance-hero__balance {
  flex: 0 0 auto;
  min-width: 118px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 12px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, .12);
  text-align: right;
}

.finance-hero__balance span {
  display: block;
  color: rgba(255, 255, 255, .75);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.finance-hero__balance strong {
  display: block;
  margin-top: 4px;
  color: #fff;
  font-size: 18px;
  font-weight: 950;
  line-height: 1.1;
}

.finance-toolbar {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 10px;
  margin: 14px 0;
}

.finance-filter,
.finance-panel {
  border: 1px solid #e6ecf3;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(18, 31, 53, .06);
}

.finance-filter {
  flex: 1 1 auto;
  padding: 12px;
}

.finance-search {
  display: flex;
  min-height: 44px;
  overflow: hidden;
  border: 1px solid #dce4ef;
  border-radius: 10px;
  background: #fff;
}

.finance-search input {
  min-width: 0;
  flex: 1 1 auto;
  border: 0;
  padding: 10px 12px;
  color: #172033;
  font-size: 13px;
  font-weight: 750;
  outline: 0;
}

.finance-search button,
.finance-action,
.finance-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 0;
  border-radius: 10px;
  color: #fff;
  background: #6a35ff;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.finance-search button {
  flex: 0 0 48px;
  border-radius: 0;
}

.finance-action {
  min-width: 132px;
  padding: 0 16px;
  box-shadow: 0 8px 16px rgba(106, 53, 255, .2);
}

.finance-submit {
  width: 100%;
  min-height: 48px;
  margin-top: 14px;
  box-shadow: 0 10px 22px rgba(106, 53, 255, .22);
}

.finance-submit.disabled {
  pointer-events: none;
  opacity: .58;
}

.finance-panel {
  margin-top: 14px;
  padding: 16px;
}

.finance-field {
  margin-bottom: 14px;
}

.finance-field label {
  display: block;
  margin-bottom: 7px;
  color: #283247;
  font-size: 12px;
  font-weight: 850;
}

.finance-input,
.finance-field .form--control,
.finance-field .form-select {
  width: 100%;
  min-height: 46px;
  border: 1px solid #dce4ef;
  border-radius: 10px;
  padding: 10px 12px;
  color: #172033;
  background: #fff;
  font-size: 14px;
  font-weight: 750;
  outline: 0;
}

.finance-field .input-group-text {
  border-color: #dce4ef;
  border-radius: 0 10px 10px 0;
  color: #526179;
  background: #f7f9fd;
  font-weight: 900;
}

.finance-input:focus,
.finance-field .form--control:focus,
.finance-field .form-select:focus {
  border-color: #6a35ff;
  box-shadow: 0 0 0 4px rgba(106, 53, 255, .1);
}

.finance-amount-grid,
.finance-method-grid {
  display: grid;
  gap: 10px;
}

.finance-amount-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.finance-method-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.finance-choice {
  min-height: 52px;
  border: 1px solid #dce4ef;
  border-radius: 12px;
  padding: 10px;
  color: #172033;
  background: #fff;
  font-size: 14px;
  font-weight: 900;
  text-align: center;
  cursor: pointer;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.finance-choice.selected {
  border-color: #6a35ff;
  color: #fff;
  background: linear-gradient(135deg, #6a35ff, #db2777);
  box-shadow: 0 10px 18px rgba(106, 53, 255, .18);
}

.finance-method {
  position: relative;
  display: grid;
  min-height: 86px;
  place-items: center;
  border: 1px solid #dce4ef;
  border-radius: 12px;
  padding: 10px;
  color: #172033;
  background: #fff;
  font-weight: 900;
  text-align: center;
  cursor: pointer;
}

.finance-method img {
  width: 62px;
  height: 42px;
  object-fit: contain;
}

.finance-method__name {
  display: block;
  margin-top: 4px;
  font-size: 13px;
}

.finance-method__upi {
  display: block;
  max-width: 100%;
  color: #475467;
  font-size: 10px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.finance-method__upi--missing {
  color: #b54708;
}

.finance-method.selected {
  border-color: #6a35ff;
  box-shadow: 0 0 0 4px rgba(106, 53, 255, .1);
}

.finance-method.selected::after {
  content: "\f00c";
  position: absolute;
  top: 8px;
  right: 8px;
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: #16a34a;
  font-family: "Line Awesome Free";
  font-size: 12px;
  font-weight: 900;
}

.finance-note {
  margin: 10px 0 0;
  color: #667085;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.45;
}

.finance-summary {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.finance-summary__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid #edf1f7;
  border-radius: 10px;
  padding: 11px 12px;
  color: #526179;
  background: #f8fafc;
  font-size: 13px;
  font-weight: 800;
}

.finance-summary__row strong {
  color: #172033;
  font-weight: 950;
  text-align: right;
}

.finance-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.finance-card {
  border: 1px solid #e6ecf3;
  border-radius: 14px;
  padding: 14px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(18, 31, 53, .06);
}

.finance-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.finance-card__title {
  margin: 0 0 4px;
  color: #172033;
  font-size: 14px;
  font-weight: 950;
  line-height: 1.25;
}

.finance-card__sub {
  margin: 0;
  color: #667085;
  font-size: 12px;
  font-weight: 750;
  overflow-wrap: anywhere;
}

.finance-card__amount {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 8px 10px;
  color: #0f7a48;
  background: #e9fbf1;
  font-size: 13px;
  font-weight: 950;
  line-height: 1;
  white-space: nowrap;
}

.finance-card__amount--minus {
  color: #b42318;
  background: #fff0ee;
}

.finance-card__meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  border-top: 1px solid #f0f3f8;
  padding-top: 12px;
}

.finance-meta span {
  display: block;
  margin-bottom: 4px;
  color: #667085;
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.finance-meta strong {
  display: block;
  color: #172033;
  font-size: 13px;
  font-weight: 850;
  overflow-wrap: anywhere;
}

.finance-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid #f0f3f8;
  margin-top: 12px;
  padding-top: 12px;
}

.finance-detail-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 36px;
  border: 0;
  border-radius: 10px;
  color: #fff;
  background: #172033;
}

.finance-empty {
  border: 1px dashed #cbd5e1;
  border-radius: 14px;
  padding: 30px 18px;
  color: #667085;
  background: #fff;
  font-size: 14px;
  font-weight: 850;
  text-align: center;
}

.finance-copy {
  display: grid;
  gap: 8px;
  margin: 14px 0;
}

.finance-copy button {
  width: 100%;
  border: 1px solid #dce4ef;
  border-radius: 10px;
  padding: 11px 12px;
  color: #172033;
  background: #f8fafc;
  font-size: 13px;
  font-weight: 850;
  overflow-wrap: anywhere;
}

.finance-qr {
  display: grid;
  place-items: center;
  border: 1px solid #edf1f7;
  border-radius: 14px;
  padding: 14px;
  background: #f8fafc;
}

.finance-qr img {
  width: 170px;
  height: 170px;
  object-fit: contain;
}

.finance-upload {
  min-height: 52px;
  padding: 12px;
}

.support-list,
.support-thread {
  display: grid;
  gap: 12px;
}

.support-ticket,
.support-message {
  border: 1px solid #e6ecf3;
  border-radius: 14px;
  padding: 14px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(18, 31, 53, .05);
}

.support-ticket__top,
.support-message__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.support-ticket__title {
  margin: 0 0 5px;
  color: #172033;
  font-size: 14px;
  font-weight: 900;
}

.support-ticket__meta,
.support-message__date {
  color: #667085;
  font-size: 11px;
  font-weight: 700;
}

.support-ticket__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid #edf1f6;
  margin-top: 12px;
  padding-top: 12px;
}

.support-message--staff {
  border-color: #d9d0ff;
  background: #faf8ff;
}

.support-message__body {
  margin-top: 10px;
  color: #344054;
  font-size: 13px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.support-attachments {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.support-attachments a {
  border-radius: 8px;
  padding: 7px 9px;
  color: #5b35cf;
  background: #f1edff;
  font-size: 11px;
  font-weight: 800;
}

.finance-pagination {
  display: flex;
  justify-content: center;
  margin-top: 16px;
}

.app-auth .verification-code-wrapper .verification-code {
  border-color: #d6deeb;
  border-radius: 8px;
  background: #f7f9fd;
}

.cookies-card {
  right: 14px;
  bottom: 90px;
  left: 14px;
  width: auto;
  max-width: 512px;
  margin: 0 auto;
}

@keyframes result-strip {
  to {
    transform: translateX(-50%);
  }
}

@media (min-width: 541px) {
  .lottery-app-shell {
    min-height: calc(100vh - 24px);
    margin: 12px auto;
    border-radius: 8px;
  }

  .app-topbar {
    border-radius: 8px 8px 0 0;
  }

  .app-auth {
    padding-top: 34px;
  }
}

@media (max-width: 540px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .lottery-app-shell {
    width: 100vw;
    max-width: 100vw;
    margin: 0;
    overflow-x: hidden;
  }

  .lottery-app-content {
    width: 100%;
    max-width: 100%;
  }

  .app-topbar,
  .mobile-hero,
  .app-game-section,
  .app-digit-section,
  .app-lottery-grid,
  .wallet-summary,
  .mobile-quick-actions {
    max-width: 100%;
  }

  .app-bottom-nav {
    width: 100vw;
    max-width: 100vw;
  }
}

@media (max-device-width: 540px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .lottery-app-shell,
  .app-bottom-nav {
    width: 100vw;
    max-width: 100vw;
  }

  .lottery-app-shell {
    margin: 0;
    overflow-x: hidden;
  }
}

@media (max-width: 420px) {
  .app-lottery-card {
    padding: 8px 8px 9px;
  }

  .app-lottery-card__top {
    grid-template-columns: minmax(54px, 0.9fr) minmax(0, 1.1fr);
  }

  .app-lottery-card__bottom {
    grid-template-columns: minmax(0, 1fr) 64px;
    gap: 5px;
  }

  .app-play-btn {
    font-size: 13px;
  }

  .finance-page {
    padding-left: 10px;
    padding-right: 10px;
  }

  .finance-hero,
  .finance-toolbar,
  .finance-card__top,
  .finance-card__footer {
    flex-direction: column;
  }

  .finance-hero__balance,
  .finance-action {
    width: 100%;
  }

  .finance-hero__balance {
    text-align: left;
  }

  .finance-amount-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .finance-method-grid,
  .finance-card__meta {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 380px) {
  .app-brand span {
    max-width: 98px;
  }

  .app-balance {
    min-width: 80px;
  }
}

/* Reverted shared design-system changes.
:root {
  --app-ink: #191522;
  --app-muted: #746d7e;
  --app-surface: #ffffff;
  --app-canvas: #f6f5f8;
  --app-border: #e9e5ee;
  --app-purple: #6829c7;
  --app-pink: #dc2875;
  --app-green: #148653;
  --app-radius: 16px;
  --app-shadow: 0 10px 30px rgba(35, 22, 52, .08);
}

body,
button,
input,
select,
textarea {
  font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
  color: var(--app-ink);
  font-size: 14px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.lottery-app-shell {
  background: var(--app-canvas);
}

.lottery-app-content {
  padding: 18px 18px 105px;
  background: linear-gradient(180deg, #f2eef9 0, var(--app-canvas) 280px);
}

.app-topbar {
  min-height: 74px;
  padding: 11px 18px;
  border-bottom: 0;
  background: linear-gradient(135deg, #211637 0%, #34204f 100%);
  box-shadow: 0 8px 24px rgba(31, 19, 48, .18);
}

.app-brand {
  gap: 11px;
  font-size: 16px;
  font-weight: 850;
  letter-spacing: -.01em;
}

.app-brand__logo,
.app-drawer__brand .app-brand__logo {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 12px;
}

.app-balance,
.app-chip {
  min-height: 42px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 11px;
  color: #fff;
  background: rgba(255,255,255,.10);
}

.app-balance span {
  color: rgba(255,255,255,.68);
  opacity: 1;
}

.app-balance strong {
  color: #fff;
  font-size: 14px;
}

.app-chip {
  padding: 0 17px;
}

.app-icon-btn {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 11px;
  font-size: 23px;
}

.app-drawer {
  background: linear-gradient(180deg, #211637, #171020);
}

.app-drawer .offcanvas-header {
  padding: 18px;
}

.app-drawer .offcanvas-body {
  padding: 16px 18px 24px;
}

.app-drawer__links {
  gap: 8px;
}

.app-drawer__links a {
  min-height: 50px;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 12px;
  padding: 0 14px;
  background: rgba(255,255,255,.055);
  font-size: 14px;
}

.app-drawer__links a:hover,
.app-drawer__links a:focus {
  color: #fff;
  border-color: rgba(255,255,255,.16);
  background: rgba(255,255,255,.10);
}

.app-drawer__links i {
  color: #cdafff;
  font-size: 22px;
}

.lottery-app-content h1,
.lottery-app-content h2,
.lottery-app-content h3,
.lottery-app-content h4,
.lottery-app-content h5,
.lottery-app-content h6 {
  color: var(--app-ink);
  font-family: inherit;
  font-weight: 800;
  letter-spacing: -.025em;
}

.lottery-app-content p,
.lottery-app-content label,
.lottery-app-content td,
.lottery-app-content th {
  font-family: inherit;
}

.lottery-app-content .card {
  overflow: hidden;
  border: 1px solid var(--app-border);
  border-radius: var(--app-radius);
  background: var(--app-surface);
  box-shadow: var(--app-shadow);
}

.lottery-app-content .card-header {
  min-height: 58px;
  border-bottom: 1px solid var(--app-border);
  padding: 15px 18px;
  color: var(--app-ink);
  background: #fff;
  font-size: 16px;
  font-weight: 800;
}

.lottery-app-content .card-body {
  padding: 18px;
}

.lottery-app-content .form-label,
.lottery-app-content .form-group label {
  margin-bottom: 7px;
  color: #393241;
  font-size: 12px;
  font-weight: 750;
}

.lottery-app-content .form-control,
.lottery-app-content .form-select,
.lottery-app-content select {
  min-height: 48px;
  border: 1px solid #ddd7e5;
  border-radius: 11px;
  padding: 10px 13px;
  color: var(--app-ink);
  background-color: #fbfafc;
  font-size: 14px;
  box-shadow: none;
}

.lottery-app-content textarea.form-control {
  min-height: 110px;
}

.lottery-app-content .form-control:focus,
.lottery-app-content .form-select:focus,
.lottery-app-content select:focus {
  border-color: #8a53d5;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(104,41,199,.11);
}

.lottery-app-content .btn,
.modal .btn {
  display: inline-flex;
  min-height: 43px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: 11px;
  padding: 9px 16px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 800;
}

.lottery-app-content .btn--base,
.lottery-app-content .btn-primary,
.modal .btn--base {
  border-color: transparent;
  color: #fff !important;
  background: linear-gradient(135deg, var(--app-purple), var(--app-pink));
  box-shadow: 0 8px 18px rgba(111,37,178,.18);
}

.lottery-app-content .table-responsive {
  overflow: hidden;
  border: 1px solid var(--app-border);
  border-radius: 13px;
  background: #fff;
}

.lottery-app-content .table {
  margin-bottom: 0;
  color: #332c3b;
  font-size: 13px;
}

.lottery-app-content .table thead th {
  border-bottom: 1px solid var(--app-border);
  padding: 12px 14px;
  color: #6f6778;
  background: #f7f5f9;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.lottery-app-content .table tbody td {
  border-color: #f0edf3;
  padding: 13px 14px;
  vertical-align: middle;
}

.modal-content {
  overflow: hidden;
  border: 0;
  border-radius: 18px;
  box-shadow: 0 24px 70px rgba(23,14,35,.26);
}

.modal-header,
.modal-footer {
  border-color: var(--app-border);
  padding: 15px 18px;
}

.modal-body {
  padding: 18px;
}

.pagination {
  gap: 5px;
}

.page-link {
  display: grid;
  min-width: 38px;
  min-height: 38px;
  place-items: center;
  border: 1px solid var(--app-border);
  border-radius: 9px !important;
  color: var(--app-purple);
  background: #fff;
}

.app-bottom-nav {
  min-height: 76px;
  gap: 5px;
  padding: 8px 10px max(8px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--app-border);
  background: rgba(255,255,255,.96);
  box-shadow: 0 -10px 30px rgba(31,20,44,.10);
}

.app-bottom-nav a {
  min-height: 55px;
  border-radius: 13px;
  color: #81798a;
  font-size: 10px;
  font-weight: 750;
}

.app-bottom-nav a.active,
.app-bottom-nav a:hover,
.app-bottom-nav a:focus {
  color: var(--app-purple);
  background: #f1eaff;
}

.app-bottom-nav i {
  font-size: 23px;
}

.app-bottom-nav__primary {
  color: #fff !important;
  background: linear-gradient(135deg, var(--app-purple), var(--app-pink)) !important;
  box-shadow: 0 8px 19px rgba(111,37,178,.22);
}

@media (min-width: 768px) {
  .lottery-app-shell {
    width: min(calc(100% - 32px), 1120px);
    margin: 16px auto;
    border-radius: 18px;
    box-shadow: 0 20px 70px rgba(14,9,21,.24);
  }

  .app-topbar {
    border-radius: 18px 18px 0 0;
  }

  .app-bottom-nav {
    width: min(calc(100% - 64px), 720px);
    bottom: 14px;
    border: 1px solid var(--app-border);
    border-radius: 18px;
  }

  .lottery-app-content {
    padding: 24px 28px 116px;
  }
}

@media (max-width: 540px) {
  .lottery-app-content {
    padding: 14px 12px 98px;
  }

  .app-topbar {
    min-height: 66px;
    padding: 9px 12px;
  }

  .app-brand {
    font-size: 14px;
  }

  .app-brand__logo,
  .app-drawer__brand .app-brand__logo {
    width: 40px;
    height: 40px;
  }

  .app-balance {
    min-width: 78px;
  }

  .lottery-app-content .card-header,
  .lottery-app-content .card-body {
    padding-right: 14px;
    padding-left: 14px;
  }
}

*/

@media (prefers-reduced-motion: reduce) {
  .mobile-banner-track {
    transition: none;
  }

  .result-strip__track {
    animation: none;
  }
}
/* Frontend virtual-currency symbol */
.currency-coin {
    display: inline-block;
    width: 2em;
    height: 2em;
    min-width: 2em;
    min-height: 2em;
    max-width: 2em;
    max-height: 2em;
    flex: 0 0 auto;
    margin-right: .12em;
    object-fit: contain;
    vertical-align: -.58em;
}

.input-group-text > .currency-coin,
button .currency-coin {
    width: 2em;
    height: 2em;
}