:root {
  --gold-50: #fff8df;
  --gold-100: #f9e8aa;
  --gold-300: #e9bd54;
  --gold-400: #dca62e;
  --gold-500: #bd8120;
  --gold-600: #8b5a13;
  --gold-glow: rgba(232, 184, 76, .28);
  --night-950: #100c06;
  --night-900: #191207;
  --night-850: #211809;
}

html { scroll-behavior: smooth; }
body {
  background-color: var(--night-950) !important;
  background-image: radial-gradient(ellipse at 50% -18%, rgba(173, 119, 31, .22), transparent 56%) !important;
  color: #f5edda !important;
}

section.site-header {
  background: linear-gradient(180deg, #251a08 0%, #130e06 100%) !important;
  border-bottom: 1px solid rgba(223, 177, 76, .38);
  box-shadow: 0 8px 28px rgba(0, 0, 0, .3);
}
section.site-header ul.navbar-nav li.nav-item a.nav-link {
  transition: color .2s ease, transform .2s ease, text-shadow .2s ease;
}
section.site-header ul.navbar-nav li.nav-item a.nav-link:hover,
section.site-header ul.navbar-nav li.nav-item a.nav-link:focus {
  color: var(--gold-100) !important;
  text-shadow: 0 0 14px var(--gold-glow);
  transform: translateY(-2px);
}

/* Upper category navigation: keep the source artwork crisp, add a gold stage */
section.site-header .gamelistmenudesktop {
  padding: 3px;
  border: 1px solid rgba(232, 189, 84, .46);
  border-radius: 13px;
  background: linear-gradient(145deg, rgba(255,255,255,.1), rgba(196,139,40,.13));
  filter: drop-shadow(0 2px 5px rgba(228, 180, 68, .23));
  transition: transform .2s ease, filter .2s ease, border-color .2s ease;
}
section.site-header .nav-link:hover .gamelistmenudesktop {
  transform: translateY(-3px) scale(1.06);
  border-color: rgba(255, 231, 163, .92);
  filter: drop-shadow(0 0 8px rgba(239, 196, 88, .62));
}
.main-content .owl-carousel .item a.nav-link {
  position: relative;
  z-index: 1;
  display: flex;
  width: 62px;
  min-height: 78px;
  margin: 0 auto;
  padding: 5px 2px 4px !important;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 1px;
  border-radius: 14px;
  color: #fff1c5 !important;
  font-size: 9px !important;
  font-weight: 700;
  letter-spacing: .035em;
  text-shadow: 0 1px 3px #080603;
  transition: transform .2s ease, color .2s ease, background .2s ease, box-shadow .2s ease;
  -webkit-tap-highlight-color: transparent;
}
.main-content .owl-carousel .item a.nav-link::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 3px;
  left: 50%;
  width: 45px;
  height: 45px;
  transform: translateX(-50%);
  border: 1px solid rgba(232, 189, 84, .55);
  border-radius: 13px;
  background: linear-gradient(145deg, rgba(255, 239, 189, .15), rgba(162, 105, 20, .22) 55%, rgba(31, 21, 7, .62));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.13), 0 3px 9px rgba(0,0,0,.28);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.main-content .owl-carousel .item a.nav-link .gamelistmenumobile {
  position: relative;
  z-index: 1;
  display: block !important;
  width: 42px !important;
  height: 42px;
  margin: 0 auto 1px;
  object-fit: contain;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.9)) drop-shadow(0 0 3px rgba(245, 211, 128, .32));
  transition: transform .2s ease, filter .2s ease;
}
.main-content .owl-carousel .item a.nav-link:hover,
.main-content .owl-carousel .item a.nav-link:focus-visible,
.main-content .owl-carousel .item a.nav-link:active {
  color: #fff8df !important;
  background: rgba(220, 166, 46, .1);
  box-shadow: 0 0 13px rgba(232,184,76,.12);
  outline: none;
}
.main-content .owl-carousel .item a.nav-link:hover::before,
.main-content .owl-carousel .item a.nav-link:focus-visible::before {
  border-color: #ffe9a4;
  background: linear-gradient(145deg, rgba(255, 226, 143, .3), rgba(184, 124, 26, .27) 55%, rgba(31, 21, 7, .7));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 0 14px rgba(232,184,76,.42);
}
.main-content .owl-carousel .item a.nav-link:hover .gamelistmenumobile,
.main-content .owl-carousel .item a.nav-link:focus-visible .gamelistmenumobile {
  transform: translateY(-2px) scale(1.06);
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.9)) drop-shadow(0 0 6px rgba(255, 224, 141, .72));
}

.btn,
button.btn,
input[type="submit"],
input[type="button"] {
  border-radius: 10px;
  font-weight: 700;
  letter-spacing: .015em;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.btn:not(.btn-danger):not(.btn-outline-danger),
button.btn:not(.btn-danger):not(.btn-outline-danger),
input[type="submit"],
input[type="button"] {
  color: #211606 !important;
  border: 1px solid #f1cf79 !important;
  background: linear-gradient(135deg, #ffe9a4 0%, #e9bd54 34%, #bd8120 72%, #f4d47f 100%) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 4px 12px rgba(0,0,0,.3), 0 0 0 1px rgba(113,73,14,.45);
}
.btn:not(.btn-danger):not(.btn-outline-danger):hover,
.btn:not(.btn-danger):not(.btn-outline-danger):focus,
button.btn:not(.btn-danger):not(.btn-outline-danger):hover,
input[type="submit"]:hover,
input[type="button"]:hover {
  color: #140d03 !important;
  filter: brightness(1.09);
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 8px 20px rgba(0,0,0,.38), 0 0 18px var(--gold-glow);
}
.btn:not(.btn-danger):not(.btn-outline-danger):active,
button.btn:not(.btn-danger):not(.btn-outline-danger):active {
  transform: translateY(0) scale(.98);
}
.btn.btn-sm { border-radius: 8px; }
.btn.btn-lg { border-radius: 13px; }
.btn.btn-danger, .btn-outline-danger { box-shadow: 0 4px 12px rgba(0,0,0,.25); }

.card,
.modal-content,
.dropdown-menu,
.list-group-item {
  border-color: rgba(218, 170, 65, .32) !important;
}
.card,
.modal-content {
  box-shadow: 0 10px 28px rgba(0,0,0,.22), 0 0 0 1px rgba(229,184,80,.05);
}
.dropdown-menu { background-color: #211809 !important; }
.dropdown-menu .dropdown-item { color: #f5edda !important; }
.dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-item:focus {
  color: var(--gold-100) !important;
  background: rgba(219, 169, 61, .16) !important;
}

/* Dedicated login and registration pages */
@property --auth-form-border-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}
.auth-page-stage {
  min-height: 62vh;
  padding-top: clamp(24px, 5vw, 52px) !important;
  padding-bottom: clamp(30px, 5vw, 56px) !important;
  background: radial-gradient(ellipse at 50% 0%, rgba(214,166,57,.17), transparent 58%), linear-gradient(180deg, rgba(14,11,6,.25), rgba(14,11,6,.78)) !important;
}
.auth-page-heading { max-width: 760px; margin: 0 auto 20px; }
.auth-page-heading h3 {
  margin-bottom: 8px !important;
  color: #fff0c5;
  font-size: clamp(1.35rem, 3vw, 1.8rem);
  font-weight: 850;
  text-shadow: 0 2px 20px rgba(232,184,76,.2);
}
.auth-page-heading p { color: #cfc2a8 !important; font-size: .9rem; }
.auth-form-column { max-width: 700px; margin: 0 auto; }
.auth-page-fullwidth > .container { width: 100%; max-width: none; padding-right: 0; padding-left: 0; }
.auth-page-fullwidth > .container > .row { margin-right: 0; margin-left: 0; }
.auth-page-fullwidth .auth-form-column { flex: 0 0 100%; width: 100%; max-width: none; margin: 0; padding-right: 0; padding-left: 0; }
.dashboard .card.auth-form-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 0 !important;
  border-radius: 20px !important;
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: 0 18px 48px rgba(0,0,0,.34), 0 0 28px rgba(219,169,61,.12) !important;
}
.dashboard .card.auth-form-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  padding: 3px;
  border-radius: inherit;
  background: conic-gradient(from var(--auth-form-border-angle), #090909 0deg, #161616 62deg, #d5ad50 112deg, #fffdf4 140deg, #b98a2e 174deg, #090909 232deg, #343434 290deg, #f4d77f 326deg, #090909 360deg);
  animation: authFormBorderTravel 7s linear infinite;
  pointer-events: none;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
}
@keyframes authFormBorderTravel { to { --auth-form-border-angle: 360deg; } }
.dashboard .card.auth-form-card > .card-body { position: relative; z-index: 1; padding: clamp(10px, 2vw, 18px) !important; }
.auth-form-surface {
  padding: clamp(14px, 3vw, 24px) !important;
  border: 0 !important;
  border-radius: 13px;
  background: transparent !important;
}
.auth-form-surface .bg-light {
  position: relative;
  margin-bottom: 13px !important;
  padding: 12px 13px 14px !important;
  border: 1px solid rgba(217,181,103,.26);
  border-radius: 12px !important;
  color: #f3e5c4 !important;
  background: linear-gradient(145deg, rgba(58,47,29,.78), rgba(35,29,19,.87)) !important;
  box-shadow: inset 0 1px rgba(255,255,255,.035);
}
.auth-form-surface .bg-light > p { margin: 0 0 7px !important; color: #f1d58f !important; font-size: .82rem; font-weight: 750; }
.auth-form-surface .bg-light > p > label { color: inherit !important; font: inherit; }
.auth-form-surface .bg-light small { display: block; margin-top: 7px; color: #c6b99e !important; line-height: 1.5; }
.auth-form-surface .form-control {
  min-height: 43px;
  border: 1px solid rgba(220,190,127,.45) !important;
  border-radius: 9px !important;
  color: #fff4d7 !important;
  background: rgba(10,9,6,.84) !important;
  box-shadow: inset 0 2px 6px rgba(0,0,0,.24);
}
.auth-form-surface .form-control::placeholder { color: #a99c82 !important; opacity: 1 !important; }
.auth-form-surface .form-control:focus {
  border-color: #f0cb69 !important;
  box-shadow: 0 0 0 3px rgba(232,184,76,.17), inset 0 2px 6px rgba(0,0,0,.2) !important;
}
.auth-form-surface select.form-control option { color: #f8edd5; background: #1b160d; }
.auth-form-surface .bg-primary {
  margin-top: 18px !important;
  padding: 12px 14px !important;
  border: 1px solid rgba(255,230,165,.48);
  border-radius: 10px !important;
  color: #211707 !important;
  background: linear-gradient(120deg, #f3d681, #c18b2e 62%, #edc765) !important;
  box-shadow: inset 0 1px rgba(255,255,255,.5), 0 5px 14px rgba(0,0,0,.2);
}
.auth-form-surface .bg-primary h5 { color: #241908 !important; font-size: .81rem; font-weight: 900; letter-spacing: .08em; }
.auth-form-surface .badge-success {
  border: 1px solid rgba(255,234,181,.55);
  border-radius: 7px;
  color: #251a08 !important;
  background: linear-gradient(135deg, #ffe69a, #c38e2e) !important;
  cursor: pointer;
}
.auth-form-surface form > .btn { min-height: 45px; border-radius: 11px !important; font-weight: 850; }
.auth-form-surface form > hr { margin: 20px 0 14px; border-top-color: rgba(222,177,77,.28); }
.auth-form-surface form > p.text-center { color: #d0c2a5 !important; font-size: .83rem; }
.auth-form-surface .text-right a { color: #edc96f !important; font-size: .8rem; font-weight: 700; }
.auth-form-surface .text-right a:hover { color: #fff0be !important; }
@media (max-width: 575px) {
  .auth-page-stage { padding-top: 20px !important; padding-bottom: 26px !important; }
  .auth-page-heading { margin-bottom: 13px; }
  .auth-page-heading p { max-width: 340px; margin: 0 auto; font-size: .78rem; }
  .auth-form-card { border-radius: 16px !important; }
  .auth-form-surface { padding: 12px !important; }
  .auth-form-surface .bg-light { padding: 11px !important; }
}
@media (prefers-reduced-motion: reduce) {
  .dashboard .card.auth-form-card::before { animation: none !important; }
}

/* Home page sign-in panel */
@property --home-login-border-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}
.home-login-fullwidth.container { width: 100%; max-width: none; padding-right: 0; padding-left: 0; }
.home-login-fullwidth > .row { margin-right: 0; margin-left: 0; }
.home-login-fullwidth .home-login-area { padding-right: 0; padding-left: 0; }
.home-login-area { padding-top: 8px; padding-bottom: 10px; }
.home-login-area > .container { width: 100%; max-width: none; padding-left: 0; padding-right: 0; }
.home-login-card {
  position: relative;
  overflow: hidden;
  padding: 17px;
  border: 3px solid transparent;
  border-radius: 18px;
  color: #fff4d7;
  background:
    radial-gradient(ellipse at 100% 0%, rgba(222,174,71,.2), transparent 46%) padding-box,
    linear-gradient(145deg, rgba(45,32,12,.98), rgba(18,13,6,.99)) padding-box,
    conic-gradient(from var(--home-login-border-angle), #090909 0deg, #161616 62deg, #d5ad50 112deg, #fffdf4 140deg, #b98a2e 174deg, #090909 232deg, #343434 290deg, #f4d77f 326deg, #090909 360deg) border-box;
  animation: homeLoginBorderTravel 7s linear infinite;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 8px 24px rgba(0,0,0,.36), 0 0 20px rgba(219,169,61,.15);
}
.home-login-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -45%;
  width: 32%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #fff2c2, transparent);
  box-shadow: 0 0 12px rgba(255,226,143,.9);
  animation: loginCardGleam 8s ease-in-out infinite;
  pointer-events: none;
}
.home-login-heading { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; }
.home-login-emblem {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 45px;
  height: 45px;
  border: 1px solid rgba(255,231,169,.78);
  border-radius: 14px;
  color: #fff7df;
  font-size: 18px;
  background: linear-gradient(145deg, #e9bd54, #aa711b 65%, #67420e);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.45), 0 4px 12px rgba(0,0,0,.36), 0 0 16px rgba(232,184,76,.19);
}
.home-login-heading .home-eyebrow { font-size: .62rem; }
.home-login-heading h2 { margin: 3px 0 2px; color: #fff1c9; font-size: 1.08rem; font-weight: 800; text-transform: none; }
.home-login-heading p { margin: 0; color: #cabc9f; font-size: .75rem; }
.home-login-form { display: grid; gap: 10px; }
.home-login-field { position: relative; }
.home-login-field > i {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 14px;
  transform: translateY(-50%);
  color: #d9ad4c;
  font-size: 14px;
  pointer-events: none;
}
.home-login-field input.form-control {
  width: 100%;
  height: 46px;
  padding: 0 13px 0 41px;
  border: 1px solid rgba(215,184,117,.38) !important;
  border-radius: 11px;
  color: #fff4d7 !important;
  background: rgba(8,7,4,.62) !important;
  box-shadow: inset 0 2px 7px rgba(0,0,0,.25);
  font-size: .86rem;
}
.home-login-field input.form-control::placeholder { color: #a99a7e !important; opacity: 1 !important; }
.home-login-field input.form-control:focus {
  border-color: #e9bd54 !important;
  background: rgba(16,12,6,.94) !important;
  box-shadow: 0 0 0 3px rgba(232,184,76,.16), inset 0 2px 7px rgba(0,0,0,.22) !important;
}
.home-login-field .password-container { width: 100%; }
.home-login-field input.home-login-password { padding-right: 76px; }
.home-login-password-toggle {
  position: absolute;
  z-index: 3;
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
  padding: 5px 7px;
  border: 1px solid rgba(255,231,169,.65);
  border-radius: 7px;
  color: #251a08;
  background: linear-gradient(135deg, #ffe69a, #c38e2e);
  font-size: .66rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}
.home-login-password-toggle:focus-visible { outline: 2px solid #fff0be; outline-offset: 2px; }
.home-login-forgot {
  display: block;
  width: fit-content;
  margin: -2px 0 0 auto;
  color: #edc96f;
  font-size: .78rem;
  font-weight: 700;
  text-decoration: none;
}
.home-login-forgot:hover { color: #fff0be; }
.home-login-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 2px; }
.home-login-actions .btn {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 11px !important;
  font-size: .84rem;
  font-weight: 800;
  text-decoration: none;
}
.home-login-actions .home-login-submit { box-shadow: inset 0 1px 0 rgba(255,255,255,.6), 0 5px 14px rgba(189,129,32,.25), 0 0 16px rgba(232,184,76,.14) !important; }
.home-login-actions .home-login-submit:hover,
.home-login-actions .home-login-register:hover { transform: translateY(-2px); }
.home-login-footnote { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 1px; color: #b9aa8c; font-size: .68rem; }
.home-login-footnote i { color: #dfbb64; }
@keyframes loginCardGleam {
  0%, 12% { transform: translateX(0); opacity: 0; }
  25% { opacity: .9; }
  55%, 100% { transform: translateX(500%); opacity: 0; }
}
@keyframes homeLoginBorderTravel {
  to { --home-login-border-angle: 360deg; }
}
@media (min-width: 576px) {
  .header-login-form { display: inline-flex; align-items: center; gap: 5px; }
  .header-login-form .form-group { float: none !important; margin: 0 0 0 4px !important; padding: 0 !important; }
  .header-login-form .form-control {
    width: clamp(125px, 12vw, 175px);
    height: 35px;
    border: 1px solid rgba(225,186,93,.55) !important;
    border-radius: 9px;
    color: #fff2cf;
    background: rgba(10,8,4,.7) !important;
  }
  .header-login-form .form-control::placeholder { color: #c6b68f !important; }
  .header-login-form .btn { height: 35px; border-radius: 9px; }
}
@media (max-width: 575px) {
  .home-login-area { padding-top: 7px; padding-bottom: 4px; }
  .home-login-card { padding: 14px; border-radius: 16px; }
  .home-login-heading { margin-bottom: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .home-login-card,
  .home-login-card::before { animation: none !important; }
}

/* Compact Android download notice shared by public and member headers. */
.app-download-banner {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff0ce;
  background: radial-gradient(ellipse at 12% 0, #d7a84c24, transparent 60%), linear-gradient(110deg, #30230e, #171208);
  border-bottom: 1px solid #d9b66055;
  box-shadow: inset 0 1px rgba(255,238,188,.12), 0 3px 14px rgba(213,164,54,.13);
  animation: appBannerArrival .5s cubic-bezier(.2,.8,.2,1) both;
}
.app-download-banner::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 0 35%, rgba(255,231,157,.04) 42%, rgba(255,248,218,.22) 49%, rgba(255,218,130,.08) 53%, transparent 61% 100%);
  transform: translateX(-110%);
  animation: appBannerSweep 5.2s cubic-bezier(.45,0,.25,1) 1s infinite;
}
.app-download-banner::after { content: ""; position: absolute; z-index: 0; left: 0; bottom: 0; width: 34%; height: 1px; pointer-events: none; background: linear-gradient(90deg, transparent, #ffe49a, transparent); box-shadow: 0 0 7px #ffc84e; animation: appBannerRail 4.2s ease-in-out .7s infinite; }
.app-download-banner[hidden] { display: none !important; }
.member-account-banner .member-account-icon { font-size: 30px; color: var(--download-accent, #edc66b); }
.member-account-banner .member-account-name strong { display: block; overflow: hidden; text-overflow: ellipsis; max-width: 100%; white-space: nowrap; }
.member-account-banner .member-account-balance { flex: 0 0 auto; text-align: right; }
.member-account-banner .member-account-balance strong { white-space: nowrap; }
.member-account-banner .member-account-refresh { flex-shrink: 0; min-width: 44px; min-height: 44px; padding: 8px; color: var(--download-accent, #edc66b); }
.app-download-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 68px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.app-download-icon {
  position: relative;
  flex: 0 0 40px;
  object-fit: contain;
  border: 1px solid #ebc46d88;
  border-radius: 11px;
  background: #171108;
  box-shadow: 0 3px 10px #0005;
  animation: appIconGlow 3.4s ease-in-out infinite, appIconBob 3.4s ease-in-out infinite;
}
.app-download-copy { flex: 1; min-width: 0; line-height: 1.3; }
.app-download-copy strong { display: inline-block; color: #fff0cd; font-size: 13px; font-weight: 800; letter-spacing: .035em; transform-origin: left center; animation: appTitleLight 3.6s ease-in-out infinite; }
.app-download-copy strong span { margin-left: 4px; color: #fff; background: #16883f; font-size: 8px; letter-spacing: .12em; }
.app-download-copy small { display: block; margin-top: 4px; color: #c7b590; font-size: 10px; animation: appSubtitleLight 3.6s ease-in-out infinite; }
.app-download-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  gap: 7px;
  min-height: 36px;
  padding: 8px 15px;
  border: 1px solid #ffe9a3;
  border-radius: 9px;
  color: #302107 !important;
  background: linear-gradient(120deg, #fff0b5, #e9bc55 55%, #c18a24);
  box-shadow: inset 0 1px #fff9ddaa, 0 3px 10px #0004;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none !important;
  position: relative;
  overflow: hidden;
  transform-origin: center;
  animation: appButtonPulse 2.4s ease-in-out infinite;
}
.app-download-button::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(110deg, transparent 25%, rgba(255,255,255,.68) 49%, transparent 72%);
  transform: translateX(-140%);
  animation: appButtonSweep 3.4s ease-in-out infinite;
}
.app-download-button > * { position: relative; z-index: 1; }
.app-download-button > i { animation: appDownloadIcon 2.4s ease-in-out infinite; }
.app-download-close { position: relative; z-index: 1; }
.app-download-button:hover { filter: brightness(1.1); }
.app-download-close {
  display: grid;
  place-items: center;
  flex: 0 0 28px;
  width: 28px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  color: #c8b996;
  background: transparent;
  font-size: 22px;
  cursor: pointer;
}
.app-download-close:hover { color: #fff0cd; background: #fff1cf0d; }
.app-download-button:focus-visible, .app-download-close:focus-visible { outline: 2px solid #fff0b5; outline-offset: 3px; }
@keyframes appBannerArrival {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes appBannerSweep {
  0%, 10% { transform: translateX(-110%); }
  60%, 100% { transform: translateX(110%); }
}
@keyframes appBannerRail {
  0%, 100% { left: -34%; opacity: .25; }
  55% { left: 100%; opacity: .95; }
}
@keyframes appIconGlow {
  0%, 100% { box-shadow: 0 3px 10px #0005, 0 0 0 rgba(255,211,104,0); }
  50% { box-shadow: 0 3px 10px #0005, 0 0 9px rgba(255,211,104,.42); }
}
@keyframes appIconBob {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -2px; }
}
@keyframes appTitleLight {
  0%, 100% { color: #fff0cd; text-shadow: 0 0 0 rgba(255,221,145,0); }
  50% { color: #fff7dc; text-shadow: 0 0 9px rgba(255,205,103,.72); }
}
@keyframes appSubtitleLight {
  0%, 100% { color: #c7b590; }
  50% { color: #f2dca9; }
}
@keyframes appButtonPulse {
  0%, 100% { box-shadow: inset 0 1px #fff9ddaa, 0 3px 10px #0004; }
  50% { box-shadow: inset 0 1px #fff, 0 0 12px rgba(255,207,89,.48); }
}
@keyframes appButtonSweep {
  0%, 68%, 100% { transform: translateX(-140%); }
  86% { transform: translateX(140%); }
}
@keyframes appDownloadIcon {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-1px); }
}
@media (max-width: 575px) {
  .app-download-inner { gap: 9px; padding-right: 8px; padding-left: 12px; min-height: 65px; }
  .app-download-copy strong { font-size: 11px; }
  .app-download-copy small { font-size: 9px; }
  .app-download-button { gap: 6px; padding: 9px 11px; font-size: 11px; }
  .app-download-close { flex-basis: 24px; width: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .app-download-banner,
  .app-download-banner::before,
  .app-download-banner::after,
  .app-download-icon,
  .app-download-copy strong,
  .app-download-copy small,
  .app-download-button,
  .app-download-button::before,
  .app-download-button > i { animation: none !important; }
}

/* Refined mobile and desktop category navigation */
.mcp-top-header .mobile-site-header {
  padding: 8px 0 7px;
  border-bottom: 1px solid rgba(224,181,87,.18);
  background: linear-gradient(180deg, #211809, #171105) !important;
}
.mobile-site-header .container { padding-right: 16px !important; padding-left: 16px !important; }
.mobile-site-header .container > .row { align-items: center; margin: 0; }
.mobile-site-header .container > .row > [class*="col-"] { padding-right: 0; padding-left: 0; }
.mobile-site-header .navbar-brand { display: inline-flex; align-items: center; padding: 0; margin: 0; }
.mobile-site-header .topbrandimgmobile { max-width: 178px; max-height: 37px; margin: 0; object-fit: contain; }
.mobile-site-header .mobile-nav-toggle {
  display: grid !important;
  place-items: center;
  width: 39px;
  height: 39px;
  padding: 0 !important;
  margin: 0 0 0 auto;
  border: 1px solid rgba(226,187,98,.46) !important;
  border-radius: 11px !important;
  color: #f5e5bf !important;
  background: rgba(255,255,255,.045) !important;
  box-shadow: inset 0 1px rgba(255,255,255,.07), 0 3px 10px rgba(0,0,0,.22) !important;
}
.mobile-site-header .mobile-nav-toggle i { color: inherit !important; font-size: 16px !important; }
.mobile-site-header .mobile-nav-toggle:active { transform: scale(.96); }
section.site-header {
  height: auto !important;
  min-height: 0;
  padding: 0 0 7px !important;
  background: linear-gradient(180deg, #171105, #100c06) !important;
  border-bottom: 1px solid rgba(223,177,76,.22);
  box-shadow: 0 7px 18px rgba(0,0,0,.22);
}
section.site-header .main-content { top: 0; padding: 7px 0 0; }
section.site-header .main-content .owl-carousel { padding: 0 2px; }
section.site-header .main-content .owl-stage { display: flex; align-items: stretch; }
.main-content .owl-carousel .item a.nav-link {
  width: 64px;
  min-height: 66px;
  padding: 4px 1px 3px !important;
  border-radius: 10px;
  color: #d9cfb9 !important;
  font-size: 9px !important;
  font-weight: 700;
  letter-spacing: .075em;
  text-shadow: none;
}
.main-content .owl-carousel .item a.nav-link::before {
  top: 2px;
  width: 39px;
  height: 39px;
  border: 1px solid rgba(228,190,105,.22);
  border-radius: 11px;
  background: linear-gradient(145deg, rgba(255,255,255,.075), rgba(255,255,255,.018));
  box-shadow: inset 0 1px rgba(255,255,255,.06);
}
.main-content .owl-carousel .item a.nav-link .gamelistmenumobile {
  width: 35px !important;
  height: 35px;
  margin-bottom: 2px;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.84)) brightness(1.07);
}
.main-content .owl-carousel .item a.nav-link:hover,
.main-content .owl-carousel .item a.nav-link:focus-visible {
  color: #fff0c2 !important;
  background: rgba(226,184,86,.055);
  box-shadow: none;
}
.main-content .owl-carousel .item a.nav-link:hover::before,
.main-content .owl-carousel .item a.nav-link:focus-visible::before {
  border-color: rgba(245,211,127,.65);
  background: linear-gradient(145deg, rgba(231,190,95,.17), rgba(255,255,255,.035));
  box-shadow: inset 0 1px rgba(255,255,255,.1), 0 0 11px rgba(223,177,76,.12);
}
.main-content .owl-theme .custom-nav {
  top: 0;
  z-index: 5;
  height: 100%;
  pointer-events: none;
}
.main-content .owl-prev,
.main-content .owl-next,
.main-content .owl-theme .owl-nav [class*="owl-"] {
  top: 19px;
  width: 23px;
  height: 27px;
  padding: 0 !important;
  border: 1px solid rgba(227,189,100,.3) !important;
  border-radius: 8px !important;
  color: #e9d5a6 !important;
  background: rgba(22,16,6,.94) !important;
  font-size: 12px !important;
  line-height: 24px !important;
  pointer-events: auto;
  box-shadow: 0 3px 8px rgba(0,0,0,.24);
}
.main-content .owl-prev { left: -1px; }
.main-content .owl-next { right: -1px; }
.main-content .owl-prev:hover,
.main-content .owl-next:hover { color: #fff1c7 !important; border-color: rgba(245,211,127,.68) !important; }
.notificationtext {
  padding-top: 4px !important;
  padding-bottom: 4px !important;
  border-bottom: 0 !important;
  color: #dfd3bb;
  background: #181207 !important;
  font-size: 10px;
}
.notificationtext .fa-bullhorn { color: #d7ad54; }
section.site-header ul.navbar-nav li.nav-item a.nav-link {
  border-radius: 13px;
  color: #e5dcc9 !important;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .045em;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}
section.site-header .gamelistmenudesktop {
  width: 37px;
  height: 37px;
  padding: 2px;
  border: 1px solid rgba(232,189,84,.25);
  border-radius: 11px;
  background: linear-gradient(145deg, rgba(255,255,255,.07), rgba(255,255,255,.015));
  filter: sepia(.72) saturate(1.65) brightness(1.12) drop-shadow(0 1px 2px rgba(0,0,0,.5));
}
section.site-header .navbar-nav li.nav-item a.nav-link:hover {
  color: #fff0c2 !important;
  background: rgba(226,184,86,.06);
  transform: translateY(-1px);
  text-shadow: none;
}
@media (max-width: 359px) {
  .mobile-site-header .container { padding-right: 12px !important; padding-left: 12px !important; }
  .main-content .owl-carousel .item a.nav-link { width: 59px; }
  .main-content .owl-carousel .item a.nav-link::before { width: 36px; height: 36px; }
  .main-content .owl-carousel .item a.nav-link .gamelistmenumobile { width: 32px !important; height: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  .mobile-site-header *, .main-content .owl-carousel .item a.nav-link,
  .main-content .owl-carousel .item a.nav-link::before,
  .main-content .owl-carousel .item a.nav-link .gamelistmenumobile { transition: none !important; }
}

/* Keep category artwork white and crisp against the gold medallions */
.main-content .owl-carousel .item a.nav-link .gamelistmenumobile,
section.site-header .gamelistmenudesktop {
  filter: brightness(0) invert(1) drop-shadow(0 1px 1px rgba(38,24,4,.95)) drop-shadow(0 0 2px rgba(38,24,4,.72));
}
.main-content .owl-carousel .item a.nav-link:hover .gamelistmenumobile,
.main-content .owl-carousel .item a.nav-link:focus-visible .gamelistmenumobile,
section.site-header .nav-link:hover .gamelistmenudesktop {
  filter: brightness(0) invert(1) drop-shadow(0 1px 1px rgba(38,24,4,.95)) drop-shadow(0 0 5px rgba(255,240,190,.82));
}

/* Rich metallic gold finish for the primary navigation */
.mcp-top-header .mobile-site-header {
  position: relative;
  padding: 8px 0 !important;
  border-bottom: 1px solid rgba(255,226,151,.38);
  background: linear-gradient(180deg, #3c290b 0%, #241805 58%, #1a1206 100%) !important;
  box-shadow: inset 0 1px rgba(255,236,179,.16), 0 5px 18px rgba(0,0,0,.3);
}
.mobile-site-header .topbrandimgmobile {
  max-height: 42px;
  filter: drop-shadow(0 2px 5px rgba(244,202,96,.32));
}
.mobile-site-header .mobile-nav-toggle {
  width: 42px;
  height: 42px;
  border: 1px solid #ffebae !important;
  border-radius: 12px !important;
  color: #2b1b05 !important;
  background: linear-gradient(145deg, #fff0b3 0%, #e5b747 39%, #ad751c 74%, #f5d779 100%) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 4px 12px rgba(0,0,0,.38), 0 0 14px rgba(229,183,71,.22) !important;
}
.mobile-site-header .mobile-nav-toggle i { color: #332108 !important; text-shadow: 0 1px rgba(255,255,255,.35); }
section.site-header {
  padding: 0 0 3px !important;
  border-bottom: 1px solid rgba(255,220,129,.52);
  background: linear-gradient(180deg, #38260a 0%, #211706 44%, #130e05 100%) !important;
  box-shadow: inset 0 1px 0 rgba(255,239,188,.16), 0 8px 20px rgba(0,0,0,.34);
}
section.site-header .main-content { padding: 4px 0 0; }
section.site-header .main-content .owl-carousel { padding: 0 5px; }
.main-content .owl-carousel .item a.nav-link {
  width: 66px;
  min-height: 58px;
  padding: 3px 1px 2px !important;
  color: #ffe9ae !important;
  font-size: 9px !important;
  font-weight: 850;
  letter-spacing: .08em;
  text-shadow: 0 1px 3px rgba(0,0,0,.9);
}
.main-content .owl-carousel .item a.nav-link::before {
  top: 1px;
  width: 41px;
  height: 41px;
  border: 1px solid #ffe9a5;
  border-radius: 12px;
  background: linear-gradient(145deg, #fff0b2 0%, #e2b143 28%, #9b6818 70%, #f4d373 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7), inset 0 -2px 4px rgba(86,53,7,.35), 0 3px 9px rgba(0,0,0,.42), 0 0 12px rgba(240,193,73,.22);
}
.main-content .owl-carousel .item a.nav-link .gamelistmenumobile {
  width: 36px !important;
  height: 36px;
  margin-bottom: 0;
  filter: brightness(.48) sepia(1) saturate(2.2) contrast(1.2) drop-shadow(0 1px 0 rgba(255,244,204,.58));
}
.main-content .owl-carousel .item a.nav-link:hover,
.main-content .owl-carousel .item a.nav-link:focus-visible {
  color: #fff6d9 !important;
  background: rgba(255,226,143,.1);
}
.main-content .owl-carousel .item a.nav-link:hover::before,
.main-content .owl-carousel .item a.nav-link:focus-visible::before {
  border-color: #fff8dc;
  background: linear-gradient(145deg, #fff8da 0%, #f1cd65 28%, #bd8426 70%, #ffe89c 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.85), 0 0 17px rgba(255,222,130,.6), 0 5px 12px rgba(0,0,0,.42);
}
.main-content .owl-carousel .owl-nav {
  position: absolute;
  z-index: 8;
  top: 11px;
  left: 0;
  width: 100%;
  height: 0;
  pointer-events: none;
}
.main-content .owl-carousel .owl-nav .owl-prev,
.main-content .owl-carousel .owl-nav .owl-next {
  position: absolute;
  top: 0;
  display: grid;
  place-items: center;
  width: 25px;
  height: 27px;
  padding: 0 !important;
  border: 1px solid #e5bb60 !important;
  border-radius: 8px !important;
  color: #fff !important;
  background: linear-gradient(145deg, #edc565, #bc861f) !important;
  font-size: 12px !important;
  line-height: 1 !important;
  pointer-events: auto;
  box-shadow: inset 0 1px rgba(255,255,255,.16), 0 3px 8px rgba(0,0,0,.45), 0 0 9px rgba(226,177,67,.16);
}
.main-content .owl-carousel .owl-nav .owl-prev { left: 0; }
.main-content .owl-carousel .owl-nav .owl-next { right: 0; }
.main-content .owl-carousel .owl-nav .owl-prev:hover,
.main-content .owl-carousel .owl-nav .owl-next:hover {
  color: #fff !important;
  background: linear-gradient(145deg, #fff0b4, #d9a63b) !important;
}
.main-content .owl-carousel .owl-nav .owl-prev i,
.main-content .owl-carousel .owl-nav .owl-next i {
  color: #fff !important;
}
.notificationtext {
  border-top: 1px solid rgba(255,222,143,.18);
  border-bottom: 0 !important;
  color: #ffe6a0 !important;
  background: linear-gradient(90deg, #241806, #49300a 48%, #241806) !important;
  box-shadow: inset 0 1px rgba(255,255,255,.06);
}
.notificationtext .notificationmarquee,
.notificationtext marquee,
.notificationtext marquee * {
  color: #ffe9ad !important;
  -webkit-text-fill-color: #ffe9ad !important;
  font-weight: 650;
  text-shadow: 0 1px 3px rgba(0,0,0,.85);
}
.notificationtext .fa-bullhorn { color: #ffdf84 !important; filter: drop-shadow(0 0 4px rgba(255,220,125,.55)); }
@media (max-width: 359px) {
  .main-content .owl-carousel .item a.nav-link { width: 59px; }
  .main-content .owl-carousel .item a.nav-link::before { width: 38px; height: 38px; }
  .main-content .owl-carousel .item a.nav-link .gamelistmenumobile { width: 33px !important; height: 33px; }
}

/* Home page discovery and help area */
.home-extras {
  position: relative;
  overflow: hidden;
  padding: clamp(34px, 6vw, 76px) 0 clamp(30px, 5vw, 64px);
  color: #f7eed9;
  background: radial-gradient(ellipse at 50% 0%, rgba(190,132,36,.15), transparent 58%), linear-gradient(180deg, rgba(13,10,5,.2), rgba(13,10,5,.72));
}
.home-extras::before {
  content: "";
  position: absolute;
  top: 0;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(244,211,127,.45), transparent);
}
.home-extras-heading { max-width: 720px; margin: 0 auto 26px; text-align: center; }
.home-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #edc96f;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .15em;
}
.home-extras-heading h2 {
  margin: 10px 0 8px;
  color: #fff4d2;
  font-size: clamp(1.45rem, 3.5vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -.025em;
  text-shadow: 0 3px 22px rgba(230,181,76,.18);
}
.home-extras-heading p { margin: 0; color: #c8bda6; font-size: .92rem; }
.home-category-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.home-category-card {
  position: relative;
  display: flex;
  min-height: 92px;
  align-items: center;
  gap: 13px;
  padding: 15px;
  overflow: hidden;
  border: 1px solid rgba(220,174,77,.24);
  border-radius: 15px;
  color: #fbf2df !important;
  background: linear-gradient(145deg, rgba(49,35,14,.9), rgba(24,17,8,.94));
  box-shadow: inset 0 1px rgba(255,255,255,.045), 0 8px 20px rgba(0,0,0,.19);
  text-decoration: none !important;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.home-category-card::after {
  content: "";
  position: absolute;
  top: -70%;
  left: -35%;
  width: 25%;
  height: 240%;
  transform: rotate(25deg);
  background: linear-gradient(90deg, transparent, rgba(255,239,190,.11), transparent);
  transition: left .55s ease;
}
.home-category-card:hover, .home-category-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(245,211,127,.7);
  box-shadow: inset 0 1px rgba(255,255,255,.08), 0 12px 26px rgba(0,0,0,.3), 0 0 18px rgba(225,175,66,.12);
  outline: none;
}
.home-category-card:hover::after, .home-category-card:focus-visible::after { left: 125%; }
.home-category-icon, .home-info-icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,230,165,.58);
  border-radius: 13px;
  color: #fff4d2;
  background: linear-gradient(145deg, #d9a83f, #976117 72%, #68420e);
  box-shadow: inset 0 1px rgba(255,255,255,.34), 0 4px 10px rgba(0,0,0,.3), 0 0 12px rgba(225,175,66,.12);
  text-shadow: 0 1px 3px rgba(0,0,0,.8);
}
.home-category-icon i, .home-info-icon i { font-size: 19px; }
.home-category-copy { display: flex; min-width: 0; flex: 1; flex-direction: column; gap: 4px; }
.home-category-copy strong { color: #fbe8b0; font-size: .96rem; }
.home-category-copy small { color: #c2b59a; font-size: .76rem; line-height: 1.4; }
.home-category-arrow { color: #dcb553; font-size: .8rem; transition: transform .2s ease; }
.home-category-card:hover .home-category-arrow { transform: translateX(3px); }
.home-info-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 14px; margin-top: 18px; }
.home-info-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: clamp(16px, 3vw, 24px);
  border: 1px solid rgba(220,174,77,.26);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(38,28,13,.95), rgba(20,15,8,.97));
  box-shadow: 0 10px 26px rgba(0,0,0,.2), inset 0 1px rgba(255,255,255,.045);
}
.home-info-icon { width: 40px; height: 40px; border-radius: 12px; }
.home-info-icon i { font-size: 17px; }
.home-info-card h3 { margin: 5px 0 7px; color: #fff1c6; font-size: 1.08rem; font-weight: 750; }
.home-info-card p { margin: 0 0 13px; color: #c9bea8; font-size: .84rem; line-height: 1.6; }
.home-link-row { display: flex; flex-wrap: wrap; gap: 8px 15px; }
.home-link-row a, .home-outline-link {
  color: #edc96f !important;
  font-size: .79rem;
  font-weight: 700;
  text-decoration: none !important;
}
.home-link-row a:hover, .home-outline-link:hover { color: #fff0be !important; }
.home-link-row i, .home-outline-link i { margin-left: 4px; font-size: .68rem; }
.home-faq {
  margin-top: 18px;
  border: 1px solid rgba(220,174,77,.25);
  border-radius: 15px;
  background: rgba(27,20,10,.88);
  box-shadow: 0 8px 22px rgba(0,0,0,.16);
}
.home-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  color: #f7e5b2;
  font-size: .9rem;
  font-weight: 750;
  cursor: pointer;
  list-style: none;
}
.home-faq summary::-webkit-details-marker { display: none; }
.home-faq summary > span { display: flex; align-items: center; gap: 9px; }
.home-faq summary > span i { color: #e7bd5d; }
.faq-chevron { color: #dfb951; transition: transform .2s ease; }
.home-faq[open] .faq-chevron { transform: rotate(180deg); }
.home-faq-content { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding: 0 18px 18px; }
.home-faq-content article { padding-top: 13px; border-top: 1px solid rgba(220,174,77,.2); }
.home-faq-content h3 { margin: 0 0 6px; color: #edcf84; font-size: .82rem; font-weight: 750; }
.home-faq-content p { margin: 0; color: #c4b9a2; font-size: .77rem; line-height: 1.55; }
.home-responsible-note {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 18px;
  padding: 14px 17px;
  border: 1px solid rgba(220,174,77,.24);
  border-radius: 14px;
  background: linear-gradient(100deg, rgba(119,78,17,.22), rgba(28,21,10,.76));
}
.responsible-mark {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(246,213,131,.56);
  border-radius: 50%;
  color: #ffe9ae;
  font-size: .72rem;
  font-weight: 900;
  box-shadow: 0 0 14px rgba(225,175,66,.15);
}
.home-responsible-note p { margin: 0; color: #c9bea8; font-size: .76rem; line-height: 1.55; }
.home-responsible-note strong { color: #f1d58d; }
@media (max-width: 767px) {
  .home-extras { padding: 34px 0 30px; }
  .home-extras-heading { margin-bottom: 19px; }
  .home-extras-heading p { max-width: 440px; margin: 0 auto; font-size: .82rem; }
  .home-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .home-category-card { min-height: 82px; gap: 9px; padding: 10px; border-radius: 13px; }
  .home-category-icon { width: 37px; height: 37px; border-radius: 11px; }
  .home-category-icon i { font-size: 16px; }
  .home-category-copy strong { font-size: .84rem; }
  .home-category-copy small { font-size: .68rem; }
  .home-info-grid { grid-template-columns: 1fr; gap: 10px; margin-top: 12px; }
  .home-info-card { gap: 11px; padding: 15px; border-radius: 14px; }
  .home-faq { margin-top: 12px; }
  .home-faq-content { grid-template-columns: 1fr; gap: 10px; }
  .home-responsible-note { align-items: flex-start; gap: 10px; margin-top: 12px; padding: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .home-category-card, .home-category-card::after, .home-category-arrow, .faq-chevron { transition: none !important; }
}

/* Mobile fixed navigation */
.footerfixedcontent {
  z-index: 9999;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.footercontentdesktop {
  position: relative;
  overflow: hidden;
  padding: 7px 5px calc(7px + env(safe-area-inset-bottom, 0px)) !important;
  border-top: 1px solid rgba(255, 226, 143, .88) !important;
  border-radius: 18px 18px 0 0 !important;
  background: linear-gradient(180deg, rgba(49, 34, 12, .98), rgba(17, 12, 5, .99)) !important;
  box-shadow: 0 -8px 28px rgba(0,0,0,.5), 0 -2px 16px rgba(222,174,71,.16), inset 0 1px 0 rgba(255,245,205,.14);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.footercontentdesktop::before {
  content: "";
  position: absolute;
  top: 0;
  left: -45%;
  width: 38%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #fff4c6, transparent);
  box-shadow: 0 0 10px rgba(255,224,141,.9);
  animation: bottomNavGleam 7s ease-in-out infinite;
  pointer-events: none;
}
.footercontentdesktop .row {
  align-items: center;
}
.footercontentdesktop .col {
  padding-top: 2px !important;
  padding-bottom: 2px !important;
}
.footercontentdesktop .col > a {
  display: flex;
  min-height: 54px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  border-radius: 13px;
  color: #fff5d4 !important;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.1;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: color .18s ease, background .18s ease, transform .18s ease;
}
.footercontentdesktop .footercontenttext {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  margin: 0;
  border: 1px solid rgba(255, 229, 161, .72);
  border-radius: 11px;
  color: #fff8df !important;
  background: linear-gradient(145deg, #e1ad42, #a76c17 58%, #71450e) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.45), 0 3px 9px rgba(0,0,0,.42), 0 0 10px rgba(218,166,55,.2);
  text-shadow: 0 1px 3px rgba(48,28,3,.9);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.footercontentdesktop .footercontenttext i {
  color: #fff9e8 !important;
  font-size: 17px;
  line-height: 1;
  filter: drop-shadow(0 1px 2px rgba(40,23,2,.85));
}
.footercontentdesktop .col > a:hover,
.footercontentdesktop .col > a:focus-visible {
  color: #ffe8a4 !important;
  background: rgba(236,190,86,.1);
  outline: none;
}
.footercontentdesktop .col > a:hover .footercontenttext,
.footercontentdesktop .col > a:focus-visible .footercontenttext {
  transform: translateY(-3px) scale(1.06);
  background: linear-gradient(145deg, #ffe9a4, #d69a2d 58%, #9b6417) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 6px 14px rgba(0,0,0,.45), 0 0 17px rgba(236,190,86,.48);
}
.footercontentdesktop .col > a:active .footercontenttext {
  transform: scale(.92);
}
@keyframes bottomNavGleam {
  0%, 15% { transform: translateX(0); opacity: 0; }
  25% { opacity: 1; }
  55%, 100% { transform: translateX(407.8947368421%); opacity: 0; }
}
@media (max-width: 360px) {
  .footercontentdesktop .col > a { font-size: 9px; }
  .footercontentdesktop .footercontenttext { width: 31px; height: 31px; }
}

/* Featured frame for today's togel results */
@property --togel-results-border-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}
.togel-results-frame {
  isolation: isolate;
  border: 3px solid transparent !important;
  border-radius: 18px !important;
  background:
    linear-gradient(155deg, rgba(30, 21, 8, .98), rgba(15, 11, 5, .99)) padding-box,
    linear-gradient(132deg, #fff2bd 0%, #d69a2d 17%, #70460f 34%, #f5d575 52%, #9b6819 70%, #ffedaa 88%, #9a6417 100%) padding-box,
    conic-gradient(from var(--togel-results-border-angle), #6f4a14, #f6d77e, #fffdf1, #c99431, #8d631d, #e5bd5a, #fff8d9, #a97722, #5de4dc, #dcb44f, #c884e8, #efcf70, #6f4a14) border-box !important;
  background-size: auto, 240% 240%, auto !important;
  animation: togelFrameShimmer 9s ease-in-out infinite, togelResultsBorderTravel 7s linear infinite;
  box-shadow: 0 0 0 1px rgba(255, 222, 133, .42), 0 0 15px rgba(230, 185, 83, .3), 0 0 30px rgba(102, 219, 212, .1), 0 12px 34px rgba(0, 0, 0, .48), inset 0 1px 0 rgba(255, 244, 200, .16) !important;
}
@property --slot-showcase-border-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}
.slot-showcase-frame {
  position: relative;
  isolation: isolate;
  border: 3px solid transparent !important;
  border-radius: 18px !important;
  background:
    linear-gradient(155deg, rgba(30, 21, 8, .98), rgba(15, 11, 5, .99)) padding-box,
    linear-gradient(132deg, #fff2bd 0%, #d69a2d 17%, #70460f 34%, #f5d575 52%, #9b6819 70%, #ffedaa 88%, #9a6417 100%) padding-box,
    conic-gradient(from var(--slot-showcase-border-angle, 0deg), #61400f, #ffe89a, #fffdf2, #c98f27, #744a12, #f4d46f, #fff8d6, #b57a1a, #efbd48, #fffdf2, #80530f, #e5bd5a, #61400f) border-box !important;
  background-size: auto, 240% 240%, auto !important;
  box-shadow: 0 0 0 1px rgba(255, 222, 133, .45), 0 0 15px rgba(244, 201, 91, .32), 0 0 32px rgba(190, 129, 32, .18), 0 12px 34px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 244, 200, .18) !important;
  animation: slotShowcaseBorderTravel 9s linear infinite;
}
.slot-showcase-frame::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -7px;
  border-radius: 24px;
  background: linear-gradient(125deg, rgba(255, 226, 143, .65), rgba(191, 129, 32, .12) 38%, rgba(255, 231, 158, .5) 70%, rgba(139, 90, 19, .18));
  filter: blur(13px);
  opacity: .38;
  pointer-events: none;
}
.slot-showcase-frame > legend {
  position: relative;
  z-index: 1;
  max-width: calc(100% - 24px);
  padding: 0 12px !important;
  border: 0 !important;
}
.slot-showcase-frame > legend h2,
.slot-showcase-frame > legend h3 {
  padding: 5px 12px;
  border: 1px solid rgba(233, 189, 84, .48);
  border-radius: 999px;
  color: var(--gold-100) !important;
  background: linear-gradient(180deg, #39270d, #1b1307);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 3px 10px rgba(0,0,0,.35);
  font-size: clamp(.82rem, 2.8vw, 1rem);
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.slot-showcase-frame .game-item {
  position: relative;
  padding: 5px;
  border: 1px solid rgba(219, 169, 61, .14);
  border-radius: 13px;
  background: linear-gradient(155deg, rgba(255,255,255,.035), rgba(0,0,0,.16));
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease, background .22s ease;
}
.home-page .game-item {
  border: 0;
}
.slot-showcase-frame .game-item:hover {
  transform: translateY(-4px);
  border-color: rgba(241, 207, 121, .68);
  background: linear-gradient(155deg, rgba(219,169,61,.11), rgba(0,0,0,.2));
  box-shadow: 0 8px 20px rgba(0,0,0,.34), 0 0 15px rgba(232,184,76,.14);
}
.home-page .game-item:hover {
  border-color: transparent;
}
.slot-showcase-frame .gamertpimg {
  border-radius: 9px;
  transition: filter .22s ease, transform .22s ease;
}
.slot-showcase-frame .game-item:hover .gamertpimg {
  filter: saturate(1.08) brightness(1.04);
}
.slot-showcase-frame .game-item p,
.slot-showcase-frame .game-item small { color: #f6edda; }

/* Site RTP indicator shown on game catalog cards */
.gamertpimgtitle .progress-bar {
  font-weight: 900 !important;
}
.game-item { position: relative; }
.game-item .gamenormalimg { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.progress-bar.game-rtp-rgb {
  color: #fff;
  background-color: #6c45d8 !important;
  /* Repeat the same color cycle in both halves so the animation loops seamlessly. */
  background-image: repeating-linear-gradient(90deg, #ff3b55 0%, #ff9d32 7%, #ffe44d 14%, #45dc72 21%, #32dfff 28%, #5275ff 35%, #bd4dff 42%, #ff4ba7 47%, #ff3b55 50%) !important;
  background-size: 200% 100%;
  animation: gameRtpRgbTravel 5s linear infinite;
  box-shadow: inset 0 1px rgba(255,255,255,.35), 0 0 9px rgba(112,107,255,.42);
}
@keyframes gameRtpRgbTravel {
  from { background-position: 0% 50%; }
  to { background-position: 100% 50%; }
}
@media (max-width: 575px) {
  .slot-showcase-frame { border-radius: 15px !important; }
  .slot-showcase-frame .game-item { padding: 3px; border-radius: 10px; }
}
.togel-results-frame::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -5px;
  border-radius: 21px;
  background: linear-gradient(125deg, rgba(255, 226, 143, .7), rgba(191, 129, 32, .14) 38%, rgba(255, 231, 158, .58) 70%, rgba(139, 90, 19, .2));
  filter: blur(10px);
  opacity: .42;
  animation: togelFrameGlow 4.5s ease-in-out infinite;
  pointer-events: none;
}
.togel-results-frame::after {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(243, 207, 119, .17);
  border-radius: 11px;
  pointer-events: none;
}
.togel-results-frame > legend {
  position: relative;
  z-index: 1;
  max-width: calc(100% - 24px);
  padding: 0 12px !important;
  border: 0 !important;
  color: var(--gold-100) !important;
  text-shadow: 0 1px 12px rgba(236, 189, 82, .36);
}
.togel-results-frame > legend h2,
.togel-results-frame > legend h3 {
  position: relative;
  overflow: hidden;
  margin: 0;
  padding: 4px 10px;
  border-radius: 999px;
  color: var(--gold-100) !important;
  background: linear-gradient(180deg, #39270d, #1b1307);
  box-shadow: inset 0 0 0 1px rgba(233, 189, 84, .42), 0 3px 10px rgba(0,0,0,.35);
  font-size: clamp(.82rem, 2.8vw, 1rem);
  font-weight: 800;
  letter-spacing: .045em;
  text-transform: uppercase;
  white-space: nowrap;
}
.togel-results-frame > legend h2::after,
.togel-results-frame > legend h3::after {
  content: "";
  position: absolute;
  top: -40%;
  bottom: -40%;
  left: -55%;
  width: 32%;
  transform: rotate(22deg);
  background: linear-gradient(90deg, transparent, rgba(255, 248, 220, .62), transparent);
  animation: togelTitleShine 6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes togelFrameShimmer {
  0%, 100% { background-position: 0 0, 0% 50%, 0 0; }
  50% { background-position: 0 0, 100% 50%, 0 0; }
}
@keyframes togelResultsBorderTravel {
  to { --togel-results-border-angle: 360deg; }
}
@keyframes slotShowcaseBorderTravel {
  to { --slot-showcase-border-angle: 360deg; }
}
@keyframes togelFrameGlow {
  0%, 100% { opacity: .3; filter: blur(8px); }
  50% { opacity: .62; filter: blur(13px); }
}
@keyframes togelTitleShine {
  0%, 16% { left: -55%; opacity: 0; }
  28% { opacity: .9; }
  48%, 100% { left: 125%; opacity: 0; }
}
.togel-results-frame .table,
.togel-results-frame table { color: #f5edda; }
.togel-results-frame .table thead th,
.togel-results-frame table thead th {
  color: var(--gold-100) !important;
  border-bottom: 1px solid rgba(223, 177, 76, .42) !important;
}
.togel-results-frame .table tbody tr,
.togel-results-frame table tbody tr {
  transition: background-color .18s ease;
}
.togel-results-frame .table tbody tr:hover,
.togel-results-frame table tbody tr:hover {
  background: rgba(220, 166, 46, .08);
}
.togel-results-frame .table td,
.togel-results-frame .table th,
.togel-results-frame table td,
.togel-results-frame table th {
  border-color: rgba(221, 186, 113, .22) !important;
}
@media (max-width: 575px) {
  .togel-results-frame { border-radius: 15px !important; }
  .togel-results-frame::after { inset: 5px; border-radius: 9px; }
}

input:not([type="checkbox"]):not([type="radio"]),
select, textarea {
  accent-color: var(--gold-400);
}
input:focus, select:focus, textarea:focus {
  border-color: var(--gold-300) !important;
  box-shadow: 0 0 0 .2rem var(--gold-glow) !important;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
  .progress-bar.game-rtp-rgb { animation: none !important; }
  .togel-results-frame,
  .togel-results-frame::before,
  .slot-showcase-frame,
  .slot-showcase-frame::before,
  .footercontentdesktop::before,
  .togel-results-frame > legend h2::after,
  .togel-results-frame > legend h3::after { animation: none !important; }
}

/* Final mobile category navigation overrides: keep glyphs white and labels clear */
.main-content .owl-carousel .item a.nav-link .gamelistmenumobile {
  filter: grayscale(1) brightness(0) invert(1) drop-shadow(0 1px 2px rgba(0,0,0,.95)) !important;
  margin: 0 auto 5px !important;
}
.main-content .owl-carousel .item a.nav-link {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  line-height: 1.25;
}
section.site-header ul.navbar-nav li.nav-item a.nav-link .gamelistmenudesktop {
  filter: grayscale(1) brightness(0) invert(1) drop-shadow(0 1px 2px rgba(0,0,0,.95)) !important;
  margin-bottom: 5px !important;
}

/* Gold treatment for the slide-out account and site menu */
#mySidenav {
  color: #f8edcf;
  background: linear-gradient(180deg, #171106 0%, #211707 48%, #120e07 100%) !important;
  border-left: 1px solid rgba(229, 184, 78, .72);
  box-shadow: -12px 0 34px rgba(0,0,0,.46), inset 1px 0 rgba(255,235,177,.12);
}
#mySidenav > .bg-custom:first-child {
  border-bottom: 1px solid rgba(225, 181, 75, .52);
  background: radial-gradient(ellipse at 20% 0%, rgba(217,165,57,.23), transparent 72%), linear-gradient(135deg, #38270d, #1d1508 72%) !important;
}
#mySidenav .sidebarmenuinfo {
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,226,151,.72);
  border-radius: 12px;
  color: #fff5d8;
  background: linear-gradient(145deg, #dcae49, #895914 68%, #57360d);
  box-shadow: inset 0 1px rgba(255,255,255,.42), 0 4px 12px rgba(0,0,0,.4), 0 0 14px rgba(222,174,71,.2);
}
#mySidenav .sidebarmenutitle { color: #ffdfa0 !important; }
#mySidenav small { color: #d4c5a4; }
#mySidenav .closebtn { color: #ffe5a6; text-shadow: 0 0 10px rgba(229,184,78,.34); }
#mySidenav .sidebarmenuinfosaldo {
  border-top: 1px solid rgba(255,225,148,.34);
  border-bottom: 1px solid rgba(255,225,148,.42);
  background: linear-gradient(90deg, #3a290f, #211707 52%, #3a290f) !important;
}
#mySidenav .sidebarmenuinfosaldoidr {
  padding: 8px;
  margin-bottom: 10px;
  color: #ffedc2 !important;
  background: linear-gradient(90deg, #49320f, #211707) !important;
  border-bottom-color: rgba(225,181,75,.35);
}
#mySidenav .balance-refresh { margin-left: 8px; }
#mySidenav .sidebarmenuinfosaldo .btn-primary,
#mySidenav .sidebarmenuinfosaldo .btn-success {
  color: #2b1b05 !important;
  font-weight: 800;
  background: linear-gradient(135deg, #fff0b2, #dfad3e 52%, #a66d18) !important;
  border-color: #e9c66f !important;
  box-shadow: inset 0 1px rgba(255,255,255,.55);
}
#mySidenav .side_navigation { padding: 7px 8px 18px; }
#mySidenav .side_navigation ul.nav.flex-column li.nav-item a.nav-link {
  margin: 2px 0;
  padding: 11px 12px;
  border: 1px solid rgba(221,174,70,.2) !important;
  border-radius: 9px;
  color: #f4ead3 !important;
  background: linear-gradient(100deg, rgba(210,158,48,.09), rgba(255,255,255,.018) 48%, rgba(0,0,0,.12));
  transition: border-color .18s ease, color .18s ease, background .18s ease, transform .18s ease;
}
#mySidenav .sidebarmenuoptionlist {
  width: 22px;
  color: #e5b84e !important;
  filter: drop-shadow(0 0 4px rgba(229,184,78,.35));
}
#mySidenav .side_navigation ul.nav.flex-column li.nav-item a.nav-link:focus-visible {
  transform: translateX(-2px);
  border-color: rgba(255,222,133,.72) !important;
  color: #fff0bf !important;
  background: linear-gradient(100deg, rgba(213,162,53,.28), rgba(111,72,17,.2));
  box-shadow: inset 0 1px rgba(255,255,255,.08), 0 3px 10px rgba(0,0,0,.2);
}
@media (hover: hover) and (pointer: fine) {
  #mySidenav.sidenav-mouse-hover .side_navigation ul.nav.flex-column li.nav-item a.nav-link:hover {
    transform: translateX(-2px);
    border-color: rgba(255,222,133,.72) !important;
    color: #fff0bf !important;
    background: linear-gradient(100deg, rgba(213,162,53,.28), rgba(111,72,17,.2));
    box-shadow: inset 0 1px rgba(255,255,255,.08), 0 3px 10px rgba(0,0,0,.2);
  }
  #mySidenav.sidenav-mouse-hover .side_navigation ul.nav.flex-column li.nav-item a.sidebar-logout:hover {
    color: #fff !important;
    background: linear-gradient(135deg, #d33440, #a01d28);
    border-color: #ff929b !important;
  }
}

#mySidenav .side_navigation ul.nav.flex-column li.nav-item a.sidebar-logout {
  color: #fff !important;
  background: linear-gradient(135deg, #b62832, #81151e);
  border-color: #e35b65 !important;
}
#mySidenav .side_navigation ul.nav.flex-column li.nav-item a.sidebar-logout:focus-visible {
  color: #fff !important;
  background: linear-gradient(135deg, #d33440, #a01d28);
  border-color: #ff929b !important;
}
#mySidenav a.sidebar-logout .sidebarmenuoptionlist {
  color: #fff !important;
  filter: none;
}

/* Give the full page footer a visible warm gold backdrop */
html body footer#aboutus.bg-footer {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(245, 207, 112, .62);
  background:
    radial-gradient(ellipse at 18% 0%, rgba(196, 139, 37, .24), transparent 42%),
    radial-gradient(ellipse at 88% 18%, rgba(141, 93, 22, .2), transparent 38%),
    linear-gradient(155deg, #30220d 0%, #1e180d 42%, #12110d 100%) !important;
  box-shadow: inset 0 1px 0 rgba(255, 235, 174, .12), 0 -8px 28px rgba(0,0,0,.22);
}
html body footer#aboutus.bg-footer .card-title,
html body footer#aboutus.bg-footer h4,
html body footer#aboutus.bg-footer h5 {
  color: #f3d27d;
  text-shadow: 0 1px 8px rgba(206, 157, 55, .2);
}
html body footer#aboutus.bg-footer .nav-link,
html body footer#aboutus.bg-footer p,
html body footer#aboutus.bg-footer small {
  color: #e6dcc5;
}
html body footer#aboutus.bg-footer .progress {
  border: 1px solid rgba(239, 198, 94, .35);
  background: #21190b !important;
  box-shadow: inset 0 1px 3px rgba(0,0,0,.45);
}
html body footer#aboutus.bg-footer .progress-bar {
  background: linear-gradient(90deg, #a66c18, #f7dc8b, #d9a536) !important;
}

/* Bright ivory edge framed by a distinct gold outer ring on today's results */
fieldset.togel-results-frame {
  border: 3px solid transparent !important;
  outline: 0;
  box-shadow:
    0 0 0 1px rgba(213,163,61,.52),
    0 0 14px rgba(255,224,143,.3),
    0 0 26px rgba(86,220,211,.1),
    0 12px 34px rgba(0,0,0,.48),
    inset 0 1px 0 rgba(255,255,255,.16) !important;
}

/* Consistent gold styling for the member deposit panel, with readable controls */
.dashboard .deposit-panel {
  overflow: hidden;
  border: 1px solid rgba(231,190,91,.58) !important;
  border-radius: 15px !important;
  color: #f4ecd9 !important;
  background: linear-gradient(150deg, #2a210f 0%, #19150d 52%, #12110d 100%) !important;
  box-shadow: 0 12px 30px rgba(0,0,0,.34), 0 0 20px rgba(206,157,55,.1), inset 0 1px rgba(255,255,255,.08);
}
.dashboard .deposit-panel > .card-header {
  padding: 7px !important;
  border-bottom: 1px solid rgba(231,190,91,.38) !important;
  background: linear-gradient(110deg, #38290f, #201809 58%, #38290f) !important;
}
.dashboard .deposit-panel > .card-header .nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  border: 0 !important;
}
.dashboard .deposit-panel > .card-header .nav-item { flex: 1 1 auto; }
.dashboard .deposit-panel > .card-header .nav-link {
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 10px !important;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #f0e6d0 !important;
  font-size: .78rem;
  font-weight: 700;
  line-height: 1.2;
  transition: color .18s ease, background .18s ease, border-color .18s ease;
}
.dashboard .deposit-panel > .card-header .nav-link i {
  width: auto !important;
  color: #edc76c !important;
}
.dashboard .deposit-panel > .card-header .nav-link.active,
.dashboard .deposit-panel > .card-header .nav-link:hover,
.dashboard .deposit-panel > .card-header .nav-link:focus-visible {
  border-color: rgba(255,235,177,.72);
  color: #251a08 !important;
  background: linear-gradient(135deg, #ffedaa, #d5a33d 58%, #b67c22) !important;
  box-shadow: inset 0 1px rgba(255,255,255,.62), 0 3px 9px rgba(0,0,0,.24);
}
.dashboard .deposit-panel > .card-header .nav-link.active i,
.dashboard .deposit-panel > .card-header .nav-link:hover i,
.dashboard .deposit-panel > .card-header .nav-link:focus-visible i { color: #382509 !important; }
.dashboard .deposit-panel > .card-body { padding: 12px !important; }
.dashboard .deposit-form .dashborder {
  margin-top: 2px;
  padding: 10px 13px;
  border: 1px solid rgba(255,235,177,.6);
  border-radius: 10px !important;
  color: #2d2009;
  background: linear-gradient(115deg, #ffe9a0 0%, #d4a03a 55%, #b77b20 100%) !important;
  box-shadow: inset 0 1px rgba(255,255,255,.65), 0 5px 13px rgba(0,0,0,.22);
}
.dashboard .deposit-form .dashborder h5 {
  color: #2c1d07 !important;
  font-weight: 850;
  letter-spacing: .025em;
}
.dashboard .deposit-form .dashtext {
  margin-top: 9px !important;
  margin-bottom: 9px !important;
  padding: 13px 12px;
  border: 1px solid rgba(218,174,78,.24);
  border-radius: 10px;
  color: #f2ead8 !important;
  background: linear-gradient(145deg, rgba(57,45,25,.88), rgba(27,23,16,.96)) !important;
  box-shadow: inset 0 1px rgba(255,255,255,.035), 0 3px 10px rgba(0,0,0,.14);
}
.dashboard .deposit-form .dashtext p {
  margin-bottom: 8px;
  color: #f2e8d2 !important;
  font-weight: 650;
}
.dashboard .deposit-form .dashtext h5 { color: #f5d277 !important; font-weight: 800; }
.dashboard .deposit-form .dashtext small {
  display: block;
  margin-top: 6px;
  color: #cfc3a9 !important;
  font-size: .76rem;
  line-height: 1.5;
}
.dashboard .deposit-form .dashtext .btn-success {
  border: 1px solid rgba(255,239,193,.68) !important;
  color: #271b08 !important;
  background: linear-gradient(145deg, #ffe9a0, #c9902d) !important;
  box-shadow: inset 0 1px rgba(255,255,255,.58), 0 2px 7px rgba(0,0,0,.24);
}
.dashboard .deposit-form .form-control {
  min-height: 42px;
  border: 1px solid rgba(220,190,127,.55) !important;
  border-radius: 8px !important;
  color: #fff4d7 !important;
  background: #17140e !important;
}
.dashboard .deposit-form .form-control::placeholder { color: #b9ad95 !important; opacity: 1; }
.dashboard .deposit-form .form-control:focus {
  border-color: #f3d27d !important;
  box-shadow: 0 0 0 3px rgba(232,184,76,.18) !important;
}
.dashboard .deposit-form select.form-control option { color: #f5edda; background: #211a0d; }
.dashboard .deposit-form button[type="submit"] {
  min-width: 150px;
  min-height: 42px;
  border: 1px solid #ffe8a0 !important;
  border-radius: 9px !important;
  color: #2c1d07 !important;
  font-weight: 850;
  background: linear-gradient(135deg, #fff0b2, #d5a33d 58%, #ad741c) !important;
  box-shadow: inset 0 1px rgba(255,255,255,.65), 0 5px 13px rgba(0,0,0,.28);
}
.dashboard .deposit-form button[type="submit"]:hover,
.dashboard .deposit-form button[type="submit"]:focus-visible {
  background: linear-gradient(135deg, #fff6d5, #edc763 58%, #c78b29) !important;
  box-shadow: inset 0 1px rgba(255,255,255,.8), 0 0 15px rgba(235,191,83,.32);
}
@media (max-width: 575px) {
  .dashboard .deposit-panel > .card-header { padding: 5px !important; }
  .dashboard .deposit-panel > .card-header .nav { gap: 3px; }
  .dashboard .deposit-panel > .card-header .nav-link { padding: 7px 6px !important; font-size: .7rem; }
  .dashboard .deposit-panel > .card-body { padding: 9px !important; }
  .dashboard .deposit-form .dashtext { padding: 11px 9px; }
}

/* Stronger bronze-gold surfaces for deposit (inputs stay dark for legibility) */
.dashboard .deposit-panel {
  background: linear-gradient(145deg, #493613 0%, #38290f 48%, #2b210f 100%) !important;
  border-color: rgba(255,224,143,.78) !important;
}
.dashboard .deposit-panel > .card-body {
  background: linear-gradient(150deg, rgba(100,72,25,.54), rgba(55,40,16,.76) 54%, rgba(39,31,16,.88)) !important;
}
.dashboard .deposit-form .dashtext {
  border-color: rgba(255,220,128,.58) !important;
  background: linear-gradient(135deg, #76551c 0%, #5d4317 48%, #473313 100%) !important;
  box-shadow: inset 0 1px rgba(255,239,190,.12), 0 4px 12px rgba(0,0,0,.2) !important;
}
.dashboard .deposit-form .dashtext p,
.dashboard .deposit-form .dashtext h5,
.dashboard .deposit-form .dashtext small { color: #fff3d3 !important; }

/* Reuse the finance-panel palette on Banking, Withdraw, Voucher, and Deposit */
.dashboard .member-finance-panel {
  overflow: hidden;
  border: 1px solid rgba(255,224,143,.76) !important;
  border-radius: 14px !important;
  color: #fff3d3 !important;
  background: linear-gradient(145deg, #493613 0%, #38290f 48%, #2b210f 100%) !important;
  box-shadow: 0 12px 30px rgba(0,0,0,.34), 0 0 18px rgba(206,157,55,.13), inset 0 1px rgba(255,255,255,.1) !important;
}
.dashboard .member-finance-panel > .card-header {
  padding: 7px !important;
  border-bottom: 1px solid rgba(255,224,143,.5) !important;
  background: linear-gradient(110deg, #5a4116, #33250d 58%, #5a4116) !important;
}
.dashboard .member-finance-panel > .card-header .nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  border: 0 !important;
}
.dashboard .member-finance-panel > .card-header .nav-item { flex: 1 1 auto; }
.dashboard .member-finance-panel > .card-header .nav-link {
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 10px !important;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #fff0ca !important;
  font-size: .78rem;
  font-weight: 700;
  line-height: 1.2;
}
.dashboard .member-finance-panel > .card-header .nav-link i { color: #ffe19a !important; }
.dashboard .member-finance-panel > .card-header .nav-link.active,
.dashboard .member-finance-panel > .card-header .nav-link:hover,
.dashboard .member-finance-panel > .card-header .nav-link:focus-visible {
  border-color: #fff0bd;
  color: #2b1c06 !important;
  background: linear-gradient(135deg, #fff0b2, #d5a33d 58%, #ad741c) !important;
  box-shadow: inset 0 1px rgba(255,255,255,.64), 0 3px 9px rgba(0,0,0,.25);
}
.dashboard .member-finance-panel > .card-header .nav-link.active i,
.dashboard .member-finance-panel > .card-header .nav-link:hover i,
.dashboard .member-finance-panel > .card-header .nav-link:focus-visible i { color: #392609 !important; }
.dashboard .member-finance-panel > .card-body {
  background: linear-gradient(150deg, rgba(100,72,25,.64), rgba(55,40,16,.82) 54%, rgba(39,31,16,.92)) !important;
}
.dashboard .member-finance-panel .dashborder {
  padding: 10px 13px;
  border: 1px solid rgba(255,239,190,.72);
  border-radius: 10px !important;
  color: #2d2009;
  background: linear-gradient(115deg, #ffe9a0, #d4a03a 55%, #b77b20) !important;
  box-shadow: inset 0 1px rgba(255,255,255,.65), 0 5px 13px rgba(0,0,0,.22);
}
.dashboard .member-finance-panel .dashborder h5 { color: #2c1d07 !important; font-weight: 850; }
.dashboard .member-finance-panel .dashtext {
  margin-top: 9px !important;
  margin-bottom: 9px !important;
  padding: 13px 12px;
  border: 1px solid rgba(255,220,128,.58);
  border-radius: 10px;
  color: #fff3d3 !important;
  background: linear-gradient(135deg, #76551c 0%, #5d4317 48%, #473313 100%) !important;
  box-shadow: inset 0 1px rgba(255,239,190,.12), 0 4px 12px rgba(0,0,0,.2);
}
.dashboard .member-finance-panel .dashtext p,
.dashboard .member-finance-panel .dashtext h5,
.dashboard .member-finance-panel .dashtext small { color: #fff3d3 !important; }
.dashboard .member-finance-panel .table,
.dashboard .member-finance-panel .table td,
.dashboard .member-finance-panel .table th { color: #fff3d3 !important; border-color: rgba(255,224,143,.22) !important; }
.dashboard .member-finance-panel .form-control {
  min-height: 42px;
  border: 1px solid rgba(255,224,143,.66) !important;
  border-radius: 8px !important;
  color: #fff6df !important;
  background: #20190d !important;
}
.dashboard .member-finance-panel .form-control::placeholder { color: #c9baa0 !important; opacity: 1; }
.dashboard .member-finance-panel .form-control:focus {
  border-color: #fff0b5 !important;
  box-shadow: 0 0 0 3px rgba(232,184,76,.2) !important;
}
.dashboard .member-finance-panel select.form-control option { color: #fff3d3; background: #251b0b; }
.dashboard .member-finance-panel button[type="submit"],
.dashboard .member-finance-panel .btn-primary,
.dashboard .member-finance-panel .btn-success {
  border: 1px solid #fff0b5 !important;
  border-radius: 9px !important;
  color: #2c1d07 !important;
  font-weight: 800;
  background: linear-gradient(135deg, #fff0b2, #d5a33d 58%, #ad741c) !important;
  box-shadow: inset 0 1px rgba(255,255,255,.62), 0 4px 11px rgba(0,0,0,.25);
}
@media (max-width: 575px) {
  .dashboard .member-finance-panel > .card-header { padding: 5px !important; }
  .dashboard .member-finance-panel > .card-header .nav { gap: 3px; }
  .dashboard .member-finance-panel > .card-header .nav-link { padding: 7px 6px !important; font-size: .7rem; }
  .dashboard .member-finance-panel > .card-body { padding: 9px !important; }
  .dashboard .member-finance-panel .dashtext { padding: 11px 9px; }
}

/* Account dashboard's inline charcoal tiles become matching gold-brown surfaces */
.dashboard .member-finance-panel .text-dashboard[style*="#151819"] {
  border: 1px solid rgba(255,220,128,.56) !important;
  border-radius: 10px;
  color: #fff3d3 !important;
  background: linear-gradient(135deg, #76551c 0%, #5d4317 48%, #473313 100%) !important;
  box-shadow: inset 0 1px rgba(255,239,190,.12), 0 4px 12px rgba(0,0,0,.2);
}
.dashboard .member-finance-panel .table { background: transparent !important; }
.dashboard .member-finance-panel .table td,
.dashboard .member-finance-panel .table th { background: transparent !important; }
.dashboard .member-finance-panel h5.text-center,
.dashboard .member-finance-panel h4,
.dashboard .member-finance-panel h5 { color: #fff0c4; }
.dashboard .member-finance-panel .nav-link:not(.active) { color: #fff0ca !important; }

/* Unified premium layout for member banking, deposit and withdrawal forms. */
.dashboard .member-finance-panel {
  border: 1px solid rgba(255, 224, 143, .72) !important;
  border-radius: 17px !important;
  background: linear-gradient(145deg, #493613 0%, #38290f 48%, #2b210f 100%) !important;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .38), 0 0 18px rgba(206, 157, 55, .1), inset 0 1px rgba(255, 242, 202, .12) !important;
}
.dashboard .member-finance-panel > .card-header {
  padding: 8px !important;
  border-bottom: 1px solid rgba(255, 224, 143, .45) !important;
  border-radius: 16px 16px 0 0 !important;
  background: linear-gradient(110deg, #3b2b10, #241b0d 54%, #3b2b10) !important;
}
.dashboard .member-finance-panel > .card-header .nav {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  border: 0 !important;
}
.dashboard .member-finance-panel > .card-header .nav-item { min-width: 0; }
.dashboard .member-finance-panel > .card-header .nav-link {
  display: flex !important;
  min-height: 43px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 5px !important;
  border: 1px solid transparent !important;
  border-radius: 9px !important;
  color: #fff0ca !important;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
  background: transparent !important;
}
.dashboard .member-finance-panel > .card-header .nav-link i { width: auto !important; color: #efca70 !important; font-size: 13px; }
.dashboard .member-finance-panel > .card-header .nav-link.active,
.dashboard .member-finance-panel > .card-header .nav-link:hover,
.dashboard .member-finance-panel > .card-header .nav-link:focus-visible {
  border-color: rgba(255, 239, 187, .78) !important;
  color: #332308 !important;
  background: linear-gradient(135deg, #ffedaa, #d5a33d 58%, #b67c22) !important;
  box-shadow: inset 0 1px rgba(255,255,255,.62), 0 3px 9px rgba(0,0,0,.24);
}
.dashboard .member-finance-panel > .card-header .nav-link.active i,
.dashboard .member-finance-panel > .card-header .nav-link:hover i,
.dashboard .member-finance-panel > .card-header .nav-link:focus-visible i { color: #382509 !important; }
.dashboard .member-finance-panel > .card-body { padding: 16px !important; background: linear-gradient(150deg, rgba(100,72,25,.42), rgba(55,40,16,.62) 54%, rgba(39,31,16,.76)) !important; }
.dashboard .member-finance-panel .dashborder {
  margin: 0 0 14px !important;
  padding: 12px 15px;
  border: 1px solid rgba(255, 235, 177, .72);
  border-radius: 11px !important;
  color: #342308;
  background: linear-gradient(115deg, #ffe9a0 0%, #d4a03a 55%, #b77b20 100%) !important;
  box-shadow: inset 0 1px rgba(255,255,255,.65), 0 5px 13px rgba(0,0,0,.22);
}
.dashboard .member-finance-panel .dashborder h5 { margin: 0 !important; color: #2c1d07 !important; font-size: 16px; font-weight: 850; letter-spacing: .02em; }
.dashboard .member-finance-panel .deposit-form .dashtext,
.dashboard .member-finance-panel .withdraw-form .dashtext {
  margin: 11px 0 !important;
  padding: 14px !important;
  border: 1px solid rgba(255, 220, 128, .54);
  border-radius: 12px;
  color: #fff3d3 !important;
  background: linear-gradient(135deg, #624819 0%, #4b3714 52%, #382b13 100%) !important;
  box-shadow: inset 0 1px rgba(255,239,190,.1), 0 5px 13px rgba(0,0,0,.2) !important;
}
.dashboard .member-finance-panel .deposit-form .dashtext p,
.dashboard .member-finance-panel .withdraw-form .dashtext p { margin: 0 0 9px !important; color: #ffedc2 !important; font-size: 14px; font-weight: 700; line-height: 1.45; }
.dashboard .member-finance-panel .deposit-form .dashtext h5,
.dashboard .member-finance-panel .withdraw-form .dashtext h5 { margin: 0 !important; color: #fff0bd !important; font-size: 21px; font-weight: 850; line-height: 1.35; font-variant-numeric: tabular-nums; }
.dashboard .member-finance-panel .deposit-form .dashtext small { display: block; margin-top: 7px; color: #f1dfb7 !important; font-size: 12px; line-height: 1.55; }
.dashboard .member-finance-panel .banking-form .table { margin: 0; border: 1px solid rgba(255,220,128,.4); border-radius: 12px; border-collapse: separate; border-spacing: 0; overflow: hidden; background: rgba(32,25,13,.32) !important; }
.dashboard .member-finance-panel .banking-form .table tbody { display: block; padding: 4px 14px; }
.dashboard .member-finance-panel .banking-form .table tr { display: grid; grid-template-columns: minmax(100px, .72fr) minmax(0, 1.28fr); align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(255,225,157,.13); }
.dashboard .member-finance-panel .banking-form .table tr:last-child { border-bottom: 0; }
.dashboard .member-finance-panel .banking-form .table td { display: block; width: auto; padding: 0 !important; border: 0 !important; color: #e8d7b1 !important; font-size: 13px; line-height: 1.45; }
.dashboard .member-finance-panel .banking-form .table td:first-child { color: #f0d58e !important; font-weight: 650; }
.dashboard .member-finance-panel .deposit-form .form-control,
.dashboard .member-finance-panel .withdraw-form .form-control,
.dashboard .member-finance-panel .banking-form .form-control {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid rgba(237, 207, 139, .58) !important;
  border-radius: 9px !important;
  color: #fff5dd !important;
  background: #211a0e !important;
  font-size: 14px;
  line-height: 1.4;
}
.dashboard .member-finance-panel .deposit-form .form-control:focus,
.dashboard .member-finance-panel .withdraw-form .form-control:focus,
.dashboard .member-finance-panel .banking-form .form-control:focus { border-color: #ffe39a !important; box-shadow: 0 0 0 3px rgba(232,184,76,.2) !important; }
.dashboard .member-finance-panel .deposit-form .form-control::placeholder,
.dashboard .member-finance-panel .withdraw-form .form-control::placeholder,
.dashboard .member-finance-panel .banking-form .form-control::placeholder { color: #cabc9f !important; opacity: 1; }
.dashboard .member-finance-panel .deposit-form select.form-control option,
.dashboard .member-finance-panel .withdraw-form select.form-control option,
.dashboard .member-finance-panel .banking-form select.form-control option { color: #fff3d3; background: #211a0d; }
.dashboard .member-finance-panel .deposit-form button[type="submit"],
.dashboard .member-finance-panel .withdraw-form button[type="submit"],
.dashboard .member-finance-panel .banking-form button[type="submit"] {
  min-width: 150px;
  min-height: 46px;
  padding: 10px 22px;
  border: 1px solid #ffe8a0 !important;
  border-radius: 10px !important;
  color: #2c1d07 !important;
  background: linear-gradient(135deg, #fff0b2, #d5a33d 58%, #ad741c) !important;
  box-shadow: inset 0 1px rgba(255,255,255,.65), 0 5px 13px rgba(0,0,0,.28);
  font-size: 14px;
  font-weight: 850;
}
.dashboard .member-finance-panel .banking-form + .dashtext,
.dashboard .member-finance-panel .deposit-form .dashtext small { line-height: 1.6; }
.dashboard .member-finance-panel .banking-form + .dashtext { margin-top: 13px !important; padding: 13px 14px !important; border: 1px solid rgba(255,220,128,.32); border-radius: 10px; color: #e8d7b1 !important; background: rgba(34,26,13,.55) !important; font-size: 13px; }
.dashboard .member-finance-panel .alert { border-radius: 11px; font-size: 13px; line-height: 1.55; }
@media (max-width: 575px) {
  .dashboard .member-finance-panel { border-radius: 14px !important; }
  .dashboard .member-finance-panel > .card-header { padding: 6px !important; }
  .dashboard .member-finance-panel > .card-header .nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px; }
  .dashboard .member-finance-panel > .card-header .nav-link { min-height: 43px; padding: 9px 6px !important; font-size: 13px; }
  .dashboard .member-finance-panel > .card-body { padding: 13px !important; }
  .dashboard .member-finance-panel .dashborder { margin-bottom: 13px !important; padding: 12px 13px; }
  .dashboard .member-finance-panel .dashborder h5 { font-size: 16px; }
  .dashboard .member-finance-panel .deposit-form .dashtext,
  .dashboard .member-finance-panel .withdraw-form .dashtext { padding: 14px 13px !important; }
  .dashboard .member-finance-panel .deposit-form .dashtext p,
  .dashboard .member-finance-panel .withdraw-form .dashtext p { font-size: 14px; }
  .dashboard .member-finance-panel .deposit-form .form-control,
  .dashboard .member-finance-panel .withdraw-form .form-control,
  .dashboard .member-finance-panel .banking-form .form-control { min-height: 49px; font-size: 15px; }
  .dashboard .member-finance-panel .banking-form .table tbody { padding: 4px 11px; }
  .dashboard .member-finance-panel .banking-form .table tr { grid-template-columns: minmax(83px, .68fr) minmax(0, 1.32fr); gap: 9px; padding: 11px 0; }
  .dashboard .member-finance-panel .banking-form .table td { font-size: 13px; }
  .dashboard .member-finance-panel .banking-form button[type="submit"],
  .dashboard .member-finance-panel .deposit-form button[type="submit"],
  .dashboard .member-finance-panel .withdraw-form button[type="submit"] { min-width: 155px; min-height: 48px; font-size: 15px; }
}

/* Keep the fixed mobile action bar fully inside the viewport on every page */
@media (max-width: 575px) {
  .footerfixedcontent {
    position: fixed !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    padding: 0 !important;
    z-index: 9999 !important;
  }
  .footerfixedcontent .footercontentdesktop {
    display: block !important;
    box-sizing: border-box;
    min-height: 72px;
    padding: 8px 5px calc(9px + env(safe-area-inset-bottom, 0px)) !important;
    overflow: visible !important;
  }
  .footerfixedcontent .footercontentdesktop .container,
  .footerfixedcontent .footercontentdesktop .row { min-height: 54px; }
  .footerfixedcontent .footercontentdesktop .col > a {
    min-height: 54px;
    padding: 0 1px;
  }
}

/* Responsive Hall of Fame for successfully completed deposits */
@property --top-deposit-border-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}
.top-deposit-column { padding-top: 14px; padding-bottom: 2px; }
.top-deposit-hall {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 17px;
  border: 3px solid transparent;
  border-radius: 17px;
  color: #fff2d0;
  background:
    radial-gradient(ellipse at 50% -25%, rgba(244,199,93,.27), transparent 60%) padding-box,
    linear-gradient(145deg, #39280d 0%, #211707 54%, #151006 100%) padding-box,
    conic-gradient(from var(--top-deposit-border-angle), #ff3158, #ff9d28, #ffe34c, #55e66b, #36dcff, #586bff, #c34dff, #ff4fc1, #ff3158) border-box;
  animation: topDepositRgbTravel 8s linear infinite;
  box-shadow: 0 10px 28px rgba(0,0,0,.34), 0 0 20px rgba(114,98,255,.2), inset 0 1px rgba(255,255,255,.14);
}
.top-deposit-hall::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #fff4c7, #dfa93d, #fff4c7, transparent);
  box-shadow: 0 0 12px rgba(255,226,143,.72);
}
.top-deposit-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.top-deposit-crown {
  display: grid;
  flex: 0 0 44px;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,244,204,.8);
  border-radius: 14px;
  color: #fff7dd;
  background: linear-gradient(145deg, #ffe9a0, #d5a33d 55%, #8c5b15);
  box-shadow: inset 0 1px rgba(255,255,255,.64), 0 4px 12px rgba(0,0,0,.35), 0 0 15px rgba(236,190,86,.23);
  font-size: 19px;
  text-shadow: 0 1px 3px rgba(70,43,7,.9);
}
.top-deposit-heading > div { min-width: 0; flex: 1; }
.top-deposit-heading h2 {
  margin: 0;
  color: #fff3ce;
  font-size: clamp(1rem, 2.4vw, 1.35rem);
  font-weight: 850;
  letter-spacing: .015em;
  text-shadow: 0 2px 12px rgba(226,177,67,.25);
}
.top-deposit-period { margin: 3px 0 0; color: #d1c3a4; font-size: .73rem; }
.top-deposit-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
  gap: 9px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.top-deposit-item {
  display: grid;
  min-width: 0;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 11px 13px;
  border: 1px solid rgba(226,184,86,.36);
  border-radius: 13px;
  background: linear-gradient(110deg, rgba(104,75,27,.72), rgba(45,33,14,.94) 58%, rgba(30,23,11,.96));
  box-shadow: inset 0 1px rgba(255,255,255,.07), 0 5px 14px rgba(0,0,0,.2);
}
.top-deposit-item.top-deposit-first {
  border-color: rgba(255,235,174,.88);
  background: linear-gradient(110deg, #8b641f 0%, #634716 46%, #39290f 100%);
  box-shadow: inset 0 1px rgba(255,255,255,.2), 0 0 18px rgba(230,181,76,.16), 0 6px 15px rgba(0,0,0,.26);
}
.top-deposit-rank {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255,236,184,.72);
  border-radius: 9px;
  color: #fff;
  background: linear-gradient(145deg, #edc565, #bc861f);
  font-size: .78rem;
  font-weight: 900;
}
.top-deposit-first .top-deposit-rank {
  color: #fff;
  background: linear-gradient(145deg, #fff0ae, #d5a23b 60%, #a96e18);
  text-shadow: none;
}
.top-deposit-user {
  overflow: hidden;
  color: #fff4d6;
  font-size: .82rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.top-deposit-amount {
  overflow: hidden;
  color: #ffe7a0;
  font-size: .83rem;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.top-deposit-note {
  margin: 11px 0 0;
  color: #bfb292;
  font-size: .68rem;
  text-align: right;
}
.top-deposit-note i { margin-right: 4px; color: #e5bb60; }
@keyframes topDepositRgbTravel {
  to { --top-deposit-border-angle: 360deg; }
}
@media (prefers-reduced-motion: reduce) {
  .top-deposit-hall { animation: none !important; }
}
@media (max-width: 575px) {
  .top-deposit-column { padding-top: 10px; }
  .top-deposit-hall { padding: 12px; border-radius: 14px; }
  .top-deposit-heading { gap: 9px; margin-bottom: 11px; }
  .top-deposit-crown { flex-basis: 38px; width: 38px; height: 38px; border-radius: 12px; font-size: 16px; }
  .top-deposit-list { gap: 5px; }
  .top-deposit-item { grid-template-columns: 29px minmax(0,1fr) auto; gap: 7px; padding: 9px; border-radius: 11px; }
  .top-deposit-rank { width: 29px; height: 29px; border-radius: 8px; font-size: .72rem; }
  .top-deposit-user { font-size: .77rem; }
  .top-deposit-amount { font-size: .76rem; }
  .top-deposit-note { margin-top: 8px; font-size: .61rem; }
}
@media (max-width: 360px) {
  .top-deposit-hall { padding: 10px; }
  .top-deposit-item { grid-template-columns: 25px minmax(0,1fr) auto; gap: 5px; padding: 8px 7px; }
  .top-deposit-rank { width: 25px; height: 25px; }
  .top-deposit-user { font-size: .7rem; }
  .top-deposit-amount { font-size: .68rem; }
}

/* Show togel markets as a compact three-column grid, including on phones. */
.togel-market-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-items: stretch;
  margin: 0;
}
.togel-market-card {
  min-width: 0;
  margin: 0 !important;
  padding: 6px !important;
  overflow: hidden;
  border: 1px solid rgba(226, 184, 83, .72);
  border-radius: 12px !important;
  background: linear-gradient(155deg, #33230b, #171109 58%, #261a09) !important;
  box-shadow: inset 0 0 12px rgba(230, 186, 79, .1), 0 4px 12px rgba(0, 0, 0, .3);
}
.togel-market-card > .p-2 {
  min-width: 0;
  padding: 5px !important;
  background-position: center;
}
.togel-market-card h2 {
  overflow: hidden;
  font-size: clamp(9px, 2.8vw, 14px) !important;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.togel-market-card marquee {
  display: block;
  font-size: 8px;
}
.togel-market-card .card {
  margin-top: 5px !important;
  border-radius: 7px;
}
.togel-market-card .card-body > table td {
  padding: 3px 0;
  font-size: clamp(12px, 4vw, 18px) !important;
  line-height: 1.1;
}
.togel-market-card .card-body > div,
.togel-market-card .card-body > small {
  display: block;
  overflow: hidden;
  font-size: 8px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.togel-market-card > .p-2 > a.btn,
.togel-market-card > .p-2 > button.btn {
  margin: 5px 1px 0 !important;
  padding: 4px 5px;
  border-radius: 6px;
  font-size: 8px;
  line-height: 1.1;
}
.togel-market-card > .p-2 > a.btn i,
.togel-market-card > .p-2 > button.btn i { margin-right: 2px; }
@media (max-width: 360px) {
  .togel-market-grid { gap: 6px; }
  .togel-market-card { padding: 4px !important; }
  .togel-market-card > .p-2 > a.btn,
  .togel-market-card > .p-2 > button.btn { padding: 4px 3px; font-size: 7px; }
}

/* Refined Top Deposit ranking: a clear featured leader and compact supporting ranks. */
.top-deposit-hall {
  padding: 18px;
  border-radius: 20px;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(225,177,75,.17), transparent 56%),
    linear-gradient(145deg, #211a0e 0%, #17130c 58%, #100e0a 100%);
  box-shadow: 0 16px 38px rgba(0,0,0,.42), inset 0 1px rgba(255,239,194,.12), 0 0 22px rgba(238,190,77,.10);
}
.top-deposit-heading { margin-bottom: 17px; }
.top-deposit-crown { border-radius: 13px; box-shadow: inset 0 1px rgba(255,255,255,.72), 0 6px 16px rgba(0,0,0,.35), 0 0 20px rgba(239,193,81,.20); }
.top-deposit-heading h2 { font-size: clamp(1.08rem, 2.8vw, 1.4rem); letter-spacing: .01em; }
.top-deposit-period { margin-top: 5px; font-size: .75rem; letter-spacing: .015em; }
.top-deposit-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.top-deposit-item {
  position: relative;
  grid-template-columns: 34px minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 3px 10px;
  min-height: 74px;
  padding: 12px;
  border-color: rgba(217,179,98,.24);
  background: linear-gradient(145deg, rgba(70,54,29,.76), rgba(31,25,16,.96) 76%);
  box-shadow: inset 0 1px rgba(255,255,255,.055), 0 6px 15px rgba(0,0,0,.20);
}
.top-deposit-rank { grid-row: 1 / span 2; align-self: center; }
.top-deposit-user { align-self: end; font-size: .82rem; }
.top-deposit-amount { justify-self: start; align-self: start; color: #f3d995; font-size: .79rem; }
.top-deposit-item.top-deposit-first {
  grid-column: 1 / -1;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  gap: 3px 13px;
  min-height: 94px;
  padding: 17px 18px;
  border: 1px solid rgba(255,224,144,.68);
  border-radius: 16px;
  background:
    radial-gradient(ellipse at 90% 0%, rgba(255,231,165,.18), transparent 45%),
    linear-gradient(115deg, #59421c, #302411 56%, #21190e);
  box-shadow: inset 0 1px rgba(255,255,255,.15), 0 9px 23px rgba(0,0,0,.30), 0 0 18px rgba(240,190,75,.10);
}
.top-deposit-first .top-deposit-rank {
  grid-row: 1 / span 2;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  font-size: 1.05rem;
}
.top-deposit-first .top-deposit-user { align-self: end; font-size: .95rem; }
.top-deposit-first .top-deposit-amount {
  grid-column: 2 / -1;
  align-self: start;
  justify-self: start;
  color: #ffe6a0;
  font-size: 1rem;
  letter-spacing: .01em;
}
.top-deposit-note { margin-top: 13px; color: #c6b995; font-size: .7rem; }
@media (max-width: 575px) {
  .top-deposit-hall { padding: 13px; border-radius: 17px; }
  .top-deposit-list { grid-template-columns: 1fr; gap: 7px; }
  .top-deposit-item { min-height: 66px; padding: 10px 12px; }
  .top-deposit-item.top-deposit-first { min-height: 84px; padding: 14px; }
  .top-deposit-first .top-deposit-rank { width: 40px; height: 40px; }
  .top-deposit-first .top-deposit-user { font-size: .88rem; }
  .top-deposit-first .top-deposit-amount { font-size: .93rem; }
}

/* Togel market cards: clearer draw status, result and actions in the existing gold theme. */
.togel-market-grid { gap: 12px; }
.togel-market-card {
  padding: 7px !important;
  border: 1px solid rgba(238,202,119,.7);
  border-radius: 16px !important;
  background: linear-gradient(155deg, #3b2b12 0%, #1a150d 62%, #100e0a 100%) !important;
  box-shadow: inset 0 1px rgba(255,246,218,.12), 0 8px 22px rgba(0,0,0,.32), 0 0 16px rgba(220,172,67,.08);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.togel-market-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255,225,151,.9);
  box-shadow: inset 0 1px rgba(255,246,218,.16), 0 12px 26px rgba(0,0,0,.38), 0 0 19px rgba(220,172,67,.13);
}
.togel-market-card > .p-2 {
  padding: 8px 7px !important;
  border-radius: 11px !important;
  background-color: rgba(20,15,8,.72);
  background-blend-mode: soft-light;
}
.togel-market-card h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  margin-bottom: 3px !important;
  padding: 5px 4px;
  border: 0;
  border-radius: 8px;
  color: #fff1c9 !important;
  background: linear-gradient(105deg, rgba(25,19,10,.92), rgba(70,49,17,.9), rgba(25,19,10,.92));
  font-size: clamp(9px, 2.5vw, 13px) !important;
  font-weight: 850;
  letter-spacing: .025em;
  text-shadow: 0 1px 5px #000;
}
.togel-market-card .togel-market-hours {
  margin-top: 5px;
  color: #e2d0a5;
  font-size: 9px;
  font-weight: 650;
}
.togel-market-card .card {
  overflow: hidden;
  border: 1px solid rgba(232,192,99,.48) !important;
  background: linear-gradient(150deg, #2c2416, #17140f) !important;
  box-shadow: inset 0 1px rgba(255,255,255,.06), 0 4px 10px rgba(0,0,0,.22);
}
.togel-market-card .card-body > table td {
  padding: 5px 0;
  border: 0 !important;
  color: #2c1d08 !important;
  background: linear-gradient(180deg, #ffe7a0, #d6a33b) !important;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: clamp(13px, 3.5vw, 19px) !important;
  font-weight: 900;
  text-shadow: 0 1px rgba(255,255,255,.35);
}
.togel-market-card .card-body > div,
.togel-market-card .card-body > small {
  margin-top: 5px !important;
  color: #e8d9b7;
  font-size: 8px;
  line-height: 1.4;
}
.togel-market-card .togel-market-countdown {
  min-height: 52px;
  margin: 8px 0 4px;
  border-color: rgba(222,183,91,.42);
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(29,35,25,.98), rgba(14,20,16,.98));
}
.togel-market-card .togel-market-countdown [data-clock-label] { font-size: 9px; }
.togel-market-card .togel-market-countdown [data-clock-value] { font-size: clamp(13px, 3.5vw, 17px); }
.togel-market-card > .p-2 > a.btn,
.togel-market-card > .p-2 > button.btn {
  min-height: 27px;
  margin: 6px 2px 0 !important;
  padding: 5px 8px;
  border: 1px solid rgba(255,231,172,.42) !important;
  border-radius: 7px;
  font-size: 9px;
  font-weight: 800;
  box-shadow: inset 0 1px rgba(255,255,255,.18), 0 3px 8px rgba(0,0,0,.24);
}
.togel-market-card > .p-2 > a.btn-primary {
  color: #2e210d !important;
  background: linear-gradient(135deg, #fff0b4, #e1b84f 60%, #b47c23) !important;
}
.togel-market-card > .p-2 > a.btn-success { color: #f5fff7 !important; }
.togel-market-card > .p-2 > a.btn-gradient-violet { color: #fff !important; }
@media (max-width: 575px) {
  .togel-market-grid { gap: 8px; }
  .togel-market-card { padding: 5px !important; border-radius: 13px !important; }
  .togel-market-card > .p-2 { padding: 6px 4px !important; }
  .togel-market-card h2 { min-height: 29px; padding: 4px 2px; font-size: clamp(8px, 2.4vw, 11px) !important; }
  .togel-market-card .togel-market-hours { font-size: 8px; }
  .togel-market-card .card-body > table td { padding: 4px 0; font-size: clamp(12px, 3.4vw, 16px) !important; }
  .togel-market-card > .p-2 > a.btn,
  .togel-market-card > .p-2 > button.btn { margin-right: 1px !important; margin-left: 1px !important; padding: 5px 6px; font-size: 8px; }
}

/* Final togel market layout: keep three readable cards across every device. */
.togel-market-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(7px, 1.8vw, 14px);
  align-items: start;
}
.togel-market-card {
  display: flex;
  min-width: 0;
  padding: 6px !important;
  border-radius: 14px !important;
}
.togel-market-card > .p-2 {
  display: flex;
  width: 100%;
  min-width: 0;
  flex-direction: column;
  align-items: stretch;
  padding: 8px 7px !important;
  background-blend-mode: multiply;
}
.togel-market-card h2 {
  display: flex;
  min-height: 36px;
  margin: 0 0 5px !important;
  padding: 5px 4px;
  overflow-wrap: anywhere;
  font-size: clamp(10px, 1.4vw, 15px) !important;
  line-height: 1.2;
  text-align: center;
  white-space: normal;
}
.togel-market-card .togel-market-hours {
  min-height: 14px;
  margin: 0;
  font-size: clamp(8px, 1vw, 10px);
}
.togel-market-card .card {
  margin: 6px 0 0 !important;
}
.togel-market-card .card-body > table td {
  padding: 5px 1px;
  font-size: clamp(14px, 2vw, 20px) !important;
  line-height: 1.15;
}
.togel-market-card .card-body > div,
.togel-market-card .card-body > small {
  margin-top: 4px !important;
  font-size: clamp(8px, 1vw, 10px);
  line-height: 1.35;
  white-space: normal;
}
.togel-market-card .togel-market-countdown {
  min-height: 50px;
  margin: 7px 0 0;
  padding: 6px 3px;
}
.togel-market-card .togel-market-countdown [data-clock-label] { font-size: clamp(8px, 1vw, 10px); }
.togel-market-card .togel-market-countdown [data-clock-value] { font-size: clamp(12px, 1.8vw, 17px); }
.togel-market-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px;
  margin-top: auto;
  padding-top: 6px;
}
.togel-market-actions > .btn,
.togel-market-card .togel-market-actions > a.btn,
.togel-market-card .togel-market-actions > button.btn {
  display: flex;
  min-width: 0;
  min-height: 31px;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin: 0 !important;
  padding: 5px 3px;
  font-size: clamp(8px, 1vw, 10px);
  line-height: 1.1;
  white-space: nowrap;
}
.togel-market-actions [hidden] { display: none !important; }
.togel-market-detail {
  display: flex;
  width: 100%;
  min-width: 0;
  flex: 1;
  flex-direction: column;
}
.togel-market-detail > summary {
  display: flex;
  width: 100%;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  cursor: pointer;
  list-style: none;
  -webkit-tap-highlight-color: transparent;
}
.togel-market-detail > summary::-webkit-details-marker { display: none; }
.togel-market-detail > summary::marker { content: ''; }
.togel-market-detail > summary::after {
  content: '＋ Pilih market';
  display: block;
  margin-top: 5px;
  color: #f5d98e;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .02em;
}
.togel-market-detail[open] > summary::after { content: '− Tutup menu'; }
.togel-market-detail[open] > summary {
  border-bottom: 1px solid rgba(236, 194, 91, .35);
  border-bottom-left-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}
.togel-market-detail[open] .togel-market-actions {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 0;
  padding: 7px 2px 2px;
}
.togel-market-detail[open] .togel-market-actions > .btn {
  min-height: 34px;
  font-size: clamp(9px, 1vw, 11px);
}
.togel-market-detail[open] {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.togel-market-detail[open] > summary { display: none; }
.togel-market-detail[open] .togel-market-actions {
  display: grid;
  grid-template-columns: 1fr;
  align-content: center;
  flex: 1;
  gap: 7px;
  margin: 0;
  padding: 8px 5px;
}
.togel-market-detail[open] .togel-market-actions > .btn {
  min-height: 36px;
  font-size: clamp(9px, 1.1vw, 11px);
}
.togel-market-detail[open] .togel-market-actions > [data-market-close] {
  margin-top: 3px !important;
  border-color: rgba(238, 205, 132, .4);
  background: rgba(255, 255, 255, .07);
  color: #f5e8c8;
}
.togel-market-grid { align-items: stretch; }
.togel-market-card { align-self: stretch; }
.togel-market-detail { height: 100%; box-sizing: border-box; }
.togel-market-detail[open] .togel-market-actions {
  display: flex;
  height: 100%;
  flex-direction: column;
  justify-content: space-evenly;
  box-sizing: border-box;
}
.togel-market-detail > summary::after {
  content: none;
  display: none;
}
@media (max-width: 575px) {
  .togel-market-grid { gap: 7px; }
  .togel-market-card { padding: 4px !important; border-radius: 12px !important; }
  .togel-market-card > .p-2 { padding: 7px 5px !important; }
  .togel-market-card h2 { min-height: 34px; font-size: clamp(9px, 2.8vw, 12px) !important; }
  .togel-market-card .card-body > table td { font-size: clamp(13px, 4vw, 17px) !important; }
  .togel-market-actions { gap: 4px; }
  .togel-market-actions > .btn,
  .togel-market-card .togel-market-actions > a.btn,
  .togel-market-card .togel-market-actions > button.btn { min-height: 30px; font-size: clamp(7px, 2vw, 9px); }
  .togel-market-detail[open] .togel-market-actions { grid-template-columns: 1fr; gap: 5px; padding: 7px 5px 4px; }
  .togel-market-detail[open] .togel-market-actions > .btn { min-height: 34px; font-size: 10px; }
  .togel-market-detail > summary::after { font-size: 8px; }
}
@media (max-width: 360px) {
  .togel-market-grid { gap: 5px; }
  .togel-market-card { padding: 3px !important; }
  .togel-market-card > .p-2 { padding: 6px 4px !important; }
  .togel-market-card h2 { min-height: 32px; }
  .togel-market-actions { grid-template-columns: 1fr; gap: 4px; }
}

/* Homepage togel results: readable draw board with a restrained premium finish. */
.togel-results-frame {
  position: relative;
  padding: 19px 18px 16px !important;
  border-radius: 20px !important;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(226,184,85,.13), transparent 55%),
    linear-gradient(155deg, #211a0e 0%, #15120c 62%, #100e0a 100%) padding-box,
    conic-gradient(from var(--togel-results-border-angle), #75521b, #f2d17c, #fff4cc, #b98125, #63430f, #e7bf65, #75521b) border-box !important;
  box-shadow: 0 14px 35px rgba(0,0,0,.38), inset 0 1px rgba(255,245,214,.12), 0 0 20px rgba(227,183,76,.1) !important;
}
.togel-results-frame > legend { margin: 0 auto; }
.togel-results-frame > legend h2,
.togel-results-frame > legend h3 {
  padding: 6px 15px;
  border-color: rgba(246,215,137,.62);
  color: #fff0c1 !important;
  background: linear-gradient(180deg, #493415, #211708);
  font-size: clamp(.82rem, 2.5vw, 1.02rem);
  letter-spacing: .055em;
  box-shadow: inset 0 1px rgba(255,255,255,.13), 0 4px 13px rgba(0,0,0,.4), 0 0 13px rgba(225,177,69,.11);
}
.togel-results-frame table { border-collapse: separate; border-spacing: 0; }
.togel-results-frame table thead th {
  padding: 10px 9px !important;
  color: #e9d59f !important;
  background: rgba(255,255,255,.025);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.togel-results-frame table thead th:first-child { border-radius: 9px 0 0 9px; }
.togel-results-frame table thead th:last-child { border-radius: 0 9px 9px 0; }
.togel-results-frame table tbody tr { background: rgba(255,255,255,.012); }
.togel-results-frame table tbody tr:nth-child(even) { background: rgba(221,174,71,.035); }
.togel-results-frame table tbody tr:hover { background: rgba(221,174,71,.085); }
.togel-results-frame table tbody td {
  padding: 11px 9px !important;
  color: #f1e7d0 !important;
  font-size: .84rem;
  font-weight: 650;
  vertical-align: middle;
}
.togel-results-frame table tbody td:first-child { color: #fff1cd !important; font-weight: 800; }
.togel-results-frame table tbody td:last-child { text-align: center; }
.togel-results-frame table tbody .blink_me {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 76px;
  padding: 6px 10px;
  border: 1px solid rgba(238,204,128,.34);
  border-radius: 8px;
  color: #ffe6a0 !important;
  background: linear-gradient(145deg, rgba(92,67,26,.76), rgba(39,30,15,.95));
  box-shadow: inset 0 1px rgba(255,255,255,.08), 0 3px 9px rgba(0,0,0,.22);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 1rem;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  letter-spacing: .14em;
  text-shadow: 0 0 10px rgba(242,199,93,.16);
  animation: none !important;
}
.togel-results-frame > .row { row-gap: 12px; }
.togel-results-frame .togelheader {
  overflow: hidden;
  border: 1px solid rgba(236,198,111,.35) !important;
  border-radius: 13px !important;
  background: linear-gradient(155deg, #322614, #18140d 70%) !important;
  box-shadow: inset 0 1px rgba(255,255,255,.07), 0 7px 17px rgba(0,0,0,.25);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.togel-results-frame .togelheader:hover {
  transform: translateY(-2px);
  border-color: rgba(255,225,151,.72) !important;
  box-shadow: inset 0 1px rgba(255,255,255,.1), 0 10px 22px rgba(0,0,0,.34), 0 0 13px rgba(228,181,71,.1);
}
.togel-results-frame .togelheader .card-body { padding: 12px 8px !important; color: #fff0c7; font-size: .78rem; font-weight: 800; letter-spacing: .035em; }
.togel-results-frame .togelheader .card-body .h1 {
  display: inline-block;
  margin: 7px 0 !important;
  padding: 7px 11px;
  border: 1px solid rgba(238,204,128,.34);
  border-radius: 9px;
  color: #ffe6a0 !important;
  background: linear-gradient(145deg, rgba(92,67,26,.76), rgba(39,30,15,.95));
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: clamp(1.25rem, 3vw, 1.7rem);
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  letter-spacing: .16em;
  text-shadow: 0 0 10px rgba(242,199,93,.18);
  animation: none !important;
}
.togel-results-frame .togelheader .card-footer {
  border-top: 1px solid rgba(236,198,111,.2) !important;
  color: #d9c79e;
  background: rgba(0,0,0,.18);
  font-size: .72rem;
  font-weight: 650;
}
.togel-results-frame a.btn-primary {
  min-height: 40px;
  margin-top: 14px;
  padding: 9px 17px;
  border: 1px solid #f3d78e !important;
  border-radius: 9px;
  color: #2b1c07 !important;
  background: linear-gradient(135deg, #fff0b4, #e1b64e 58%, #af781e) !important;
  box-shadow: inset 0 1px rgba(255,255,255,.56), 0 5px 13px rgba(0,0,0,.3);
  font-size: .82rem;
  font-weight: 850;
}
@media (max-width: 575px) {
  .togel-results-frame { padding: 15px 10px 12px !important; border-radius: 16px !important; }
  .togel-results-frame > legend { max-width: 100%; padding: 0 5px !important; }
  .togel-results-frame > legend h2 { padding: 6px 10px; font-size: .77rem; letter-spacing: .035em; }
  .togel-results-frame table thead th { padding: 9px 5px !important; font-size: .61rem; letter-spacing: .06em; }
  .togel-results-frame table tbody td { padding: 9px 5px !important; font-size: .72rem; }
  .togel-results-frame table tbody .blink_me { min-width: 58px; padding: 5px 6px; font-size: .82rem; letter-spacing: .1em; }
  .togel-results-frame .togelheader .card-body { padding: 10px 5px !important; font-size: .68rem; }
  .togel-results-frame .togelheader .card-body .h1 { padding: 6px 8px; font-size: 1.15rem; }
  .togel-results-frame a.btn-primary { min-height: 38px; margin-top: 11px; padding: 8px 14px; font-size: .76rem; }
}

/* Payment method availability indicators in the site footer. */
.payment-method-card {
  display: flex;
  min-height: 59px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 6px 4px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: #151819;
  box-shadow: inset 0 1px rgba(255,255,255,.06), 0 3px 8px rgba(0,0,0,.2);
  transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.payment-method-card img {
  display: block;
  width: auto;
  max-width: 100%;
  height: 25px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.payment-method-card.is-active { border-color: rgba(41,213,125,.84); background: linear-gradient(155deg, #10251c, #111916 72%); }
.payment-method-card.is-inactive { border-color: rgba(255,73,86,.88); background: linear-gradient(155deg, #2b1518, #191112 72%); }

/* Green result digits for the homepage togel draw panel. */
.togel-results-frame table tbody .blink_me {
  border-color: rgba(66,220,133,.42);
  color: #65e79a !important;
  background: linear-gradient(145deg, rgba(22,91,54,.62), rgba(16,40,28,.96));
  text-shadow: 0 0 10px rgba(69,226,137,.22);
}
.togel-results-frame .togelheader .card-body .h1 {
  border-color: rgba(66,220,133,.42);
  color: #65e79a !important;
  background: linear-gradient(145deg, rgba(22,91,54,.62), rgba(16,40,28,.96));
  text-shadow: 0 0 10px rgba(69,226,137,.22);
}

/* RGB animated frames for the first nine games in popular and provider lists. */
@property --top-game-frame-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}
.top-games-showcase .row > .hoverimg:nth-child(-n+9) .game-cover-frame,
.top-game-rgb-frame {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  padding: 4px;
  border: 4px solid transparent;
  border-radius: 15px;
  background:
    linear-gradient(155deg, #21180d, #120f0a) padding-box,
    conic-gradient(from var(--top-game-frame-angle), #ff365d, #ff9a32, #ffe44e, #45e47a, #38ddff, #5577ff, #c94cff, #ff4db5, #ff365d) border-box;
  animation: topGameFrameRgbTravel 7s linear infinite;
  box-shadow: 0 0 14px rgba(111,101,255,.34), 0 5px 14px rgba(0,0,0,.34);
}
.game-popular-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 5;
  padding: 4px 8px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 999px;
  background: rgba(10,8,16,.84);
  line-height: 1.2;
  pointer-events: none;
  isolation: isolate;
}
.game-popular-badge__text {
  color: #fff58a;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .06em;
  -webkit-text-fill-color: currentColor;
  text-shadow: 0 0 2px #fff, 0 0 7px currentColor, 0 1px 2px #000;
  animation: gamePopularTextRgb 3s linear infinite;
}
@keyframes gamePopularTextRgb {
  0%, 100% { color: #fff58a; }
  16% { color: #ff6685; }
  33% { color: #ff78db; }
  50% { color: #8d8aff; }
  66% { color: #62ecff; }
  83% { color: #76ff9b; }
}
.top-games-showcase .row > .hoverimg:nth-child(-n+9) .game-item:hover .game-cover-frame,
.top-game-rgb-frame:hover {
  box-shadow: 0 0 19px rgba(111,101,255,.44), 0 8px 19px rgba(0,0,0,.4);
}
.top-games-showcase .row > .hoverimg:nth-child(-n+9) .game-cover-frame .gamertpimg,
.top-games-showcase .row > .hoverimg:nth-child(-n+9) .game-cover-frame .gamenormalimg,
.game-cover-frame .gamertpimg,
.game-cover-frame .gamenormalimg,
.top-game-rgb-frame .gamertpimg,
.top-game-rgb-frame .gamenormalimg {
  border-radius: 8px 8px 3px 3px;
}
@keyframes topGameFrameRgbTravel {
  to { --top-game-frame-angle: 360deg; }
}
/* RGB title treatment follows the same nine framed games as the cover border. */
.top-game-rgb-name,
.top-games-showcase .row > .hoverimg:nth-child(-n+9) .game-name {
  color: #fff !important;
  font-weight: 800 !important;
  letter-spacing: .015em;
  background-image: linear-gradient(90deg, #fff1a6 0%, #ffad45 18%, #ff4c91 36%, #b46bff 54%, #54dfff 72%, #72ffb0 88%, #fff1a6 100%);
  background-size: 260% 100%;
  background-position: 0% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 4px rgba(255, 196, 92, .48));
  animation: topGameNameRgbTravel 5s linear infinite;
}
@keyframes topGameNameRgbTravel {
  to { background-position: 260% 50%; }
}
@media (prefers-reduced-motion: reduce) {
  .game-popular-badge__text { animation: none; color: #fff58a; }
  .top-games-showcase .row > .hoverimg:nth-child(-n+9) .game-item,
  .top-games-showcase .row > .hoverimg:nth-child(-n+9) .game-cover-frame,
  .top-game-rgb-frame,
  .top-game-rgb-name,
  .top-games-showcase .row > .hoverimg:nth-child(-n+9) .game-name { animation: none !important; }
}

/* Prevent footer service copy and its average-time figures from colliding on phones. */
@media (max-width: 575px) {
  .mcp-footer-features .footer-service-panel { flex: 0 0 100%; width: 100%; max-width: 100%; }
  .mcp-footer-features .footer-service-panel > .card-title > .row { margin-top: 0 !important; }
  .mcp-footer-features .footer-service-panel > .row > .col-7,
  .mcp-footer-features .footer-service-panel > .row > .col-5 { flex: 0 0 100%; width: 100%; max-width: 100%; }
  .mcp-footer-features .footer-service-panel table { width: 100%; table-layout: fixed; }
  .mcp-footer-features .footer-service-panel table td:first-child { width: auto !important; padding-right: 12px; }
  .mcp-footer-features .footer-service-panel table td:last-child { width: 72px !important; white-space: nowrap; font-size: 30px !important; }
  .mcp-footer-features .footer-service-panel table td:last-child span { font-size: 13px !important; }
  .mcp-footer-features .footer-service-panel table h5 { margin: 8px 0 3px; font-size: 15px !important; }
  .mcp-footer-features .footer-service-panel table p { margin: 0 0 5px; font-size: 11px !important; line-height: 1.4; }
  .mcp-footer-features .footer-service-panel .extra-small-font { overflow-wrap: anywhere; font-size: 11px; line-height: 1.5; }
}

/* Provider strip uses artwork itself; never substitute provider initials for a missing mark. */
.slot-provider-overview { padding: 22px 0 42px; }
.slot-provider-overview-heading { margin: 0 0 18px; text-align: center; }
.slot-provider-overview-heading h2 { margin: 0; color: #ffe6a4; font-size: 24px; line-height: 1.25; }
.slot-provider-overview-heading p { margin: 7px 0 0; color: #cbb98f; font-size: 13px; }
.slot-provider-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; align-items: stretch; }
.slot-provider-card { position: relative; display: block; min-width: 0; aspect-ratio: 20 / 29; overflow: hidden; border: 1px solid rgba(221, 170, 70, .65); border-radius: 14px; background: #17130e; box-shadow: 0 7px 18px rgba(0, 0, 0, .26); transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.slot-provider-card img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.slot-provider-card:hover { transform: translateY(-2px); border-color: #f2c862; box-shadow: 0 10px 24px rgba(0, 0, 0, .34); }
.slot-provider-card:focus-visible { outline: 2px solid #ffe2a0; outline-offset: 3px; }
.slot-provider-card:active { transform: scale(.985); }
.slot-provider-empty { grid-column: 1 / -1; color: #d9c69c; text-align: center; }
.slot-selected-provider-heading { display: grid; place-items: center; min-height: 72px; }
.slot-selected-provider-heading h2 { display: inline-flex; align-items: center; justify-content: center; min-height: 58px; margin: 0; }
.slot-selected-provider-logo { display: block; width: auto; max-width: min(320px, 86vw); height: auto; max-height: 76px; object-fit: contain; transform: scale(1.12); transform-origin: center; }
.slot-game-catalog > .hoverimg { min-width: 0; }
@media (max-width: 991px) {
  .slot-provider-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 11px; }
}
@media (max-width: 575px) {
  .slot-provider-overview { padding: 12px 0 32px; }
  .slot-provider-overview .container { padding-right: 8px; padding-left: 8px; }
  .slot-provider-overview-heading { margin-bottom: 12px; }
  .slot-provider-overview-heading h2 { font-size: 18px; }
  .slot-provider-overview-heading p { margin-top: 4px; font-size: 11px; }
  .slot-provider-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .slot-provider-card { border-radius: 11px; box-shadow: 0 4px 12px rgba(0, 0, 0, .24); }
  .slot-selected-provider-heading { min-height: 62px; padding: 4px 8px !important; }
  .slot-selected-provider-heading h2 { min-height: 50px; }
  .slot-selected-provider-logo { max-width: min(280px, 82vw); max-height: 68px; transform: scale(1.16); }
  .slot-game-catalog > .hoverimg { flex: 0 0 33.333333%; width: 33.333333%; max-width: 33.333333%; padding: 3px !important; }
  .slot-game-catalog .game-cover-frame { width: 100%; aspect-ratio: 1 / 1.12; overflow: hidden; }
  .slot-game-catalog .top-game-rgb-frame { padding: 1px; border-width: 2px; border-radius: 10px; }
  .slot-game-catalog .game-cover-frame > .gamenormalimg { width: 100% !important; height: 100% !important; min-height: 0 !important; object-fit: cover; }
  .slot-game-catalog small.game-name { display: -webkit-box !important; min-height: 2.6em; margin-top: 5px !important; overflow: hidden; font-size: clamp(9px, 2.6vw, 11px); line-height: 1.3; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
}
@media (max-width: 340px) {
  .slot-provider-grid { gap: 6px; }
  .slot-provider-card { border-radius: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  .slot-provider-card { transition: none; }
}
.menuprovider > a { display: block; min-width: 100px; text-decoration: none; }
.menuprovider .styleimgprovider { width: 100px; height: 50px; object-fit: contain; padding: 3px; }
.menuprovider small { display: block; max-width: 112px; margin: 5px auto 0; color: #f5edda; line-height: 1.2; }
@property --provider-border-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}
.menuprovider > a.provider-active {
  position: relative;
  border-radius: 10px;
  background: rgba(255, 215, 110, .08);
}
.menuprovider > a.provider-active::before {
  content: "";
  position: absolute;
  inset: -4px;
  padding: 2px;
  border-radius: 13px;
  background: conic-gradient(from var(--provider-border-angle), #ff3b55, #ffcc32, #45dc72, #32dfff, #5275ff, #bd4dff, #ff3b55);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  animation: providerBorderTravel 5s linear infinite;
  pointer-events: none;
}
.menuprovider > a.provider-active small { color: #ffe49b; font-weight: 700; }
@keyframes providerBorderTravel {
  to { --provider-border-angle: 360deg; }
}
@media (prefers-reduced-motion: reduce) {
  .menuprovider > a.provider-active::before { animation: none; }
}
@media (max-width: 575px) {
  .menuprovider .styleimgprovider { width: 76px; height: 42px; }
  .menuprovider small { max-width: 86px; font-size: 10px; }
}

/* Restore the animated RGB border over the refined static Top Deposit surface. */
@property --top-deposit-frame-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}
.top-deposit-hall {
  border: 3px solid transparent;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(225,177,75,.17), transparent 56%) padding-box,
    linear-gradient(145deg, #211a0e 0%, #17130c 58%, #100e0a 100%) padding-box,
    conic-gradient(from var(--top-deposit-frame-angle), #ff365d, #ff9b32, #ffe44e, #43e57a, #38ddff, #5677ff, #c94cff, #ff4db5, #ff365d) border-box;
  animation: topDepositFrameRgbTravel 7s linear infinite;
}
@keyframes topDepositFrameRgbTravel {
  to { --top-deposit-frame-angle: 360deg; }
}
@media (prefers-reduced-motion: reduce) {
  .top-deposit-hall { animation: none !important; }
}

/* Give the first-place name card its own animated RGB frame. */
.top-deposit-item.top-deposit-first {
  border: 3px solid transparent;
  background:
    radial-gradient(ellipse at 90% 0%, rgba(255,231,165,.18), transparent 45%) padding-box,
    linear-gradient(115deg, #59421c, #302411 56%, #21190e) padding-box,
    conic-gradient(from var(--top-deposit-frame-angle), #ff365d, #ff9b32, #ffe44e, #43e57a, #38ddff, #5677ff, #c94cff, #ff4db5, #ff365d) border-box;
  box-shadow: inset 0 1px rgba(255,255,255,.15), 0 9px 23px rgba(0,0,0,.3), 0 0 18px rgba(240,190,75,.12);
  animation: topDepositFrameRgbTravel 7s linear infinite;
}
@media (prefers-reduced-motion: reduce) {
  .top-deposit-item.top-deposit-first { animation: none !important; }
}

/* Dark RGB fill inside the Top 1 deposit card, with text contrast preserved. */
.top-deposit-item.top-deposit-first {
  background:
    linear-gradient(115deg, rgba(18,13,10,.42), rgba(13,14,24,.48)) padding-box,
    linear-gradient(112deg, #6b2638 0%, #75431d 18%, #6b601e 35%, #24613c 52%, #1e5b70 69%, #3b3478 84%, #682750 100%) padding-box,
    conic-gradient(from var(--top-deposit-frame-angle), #ff365d, #ff9b32, #ffe44e, #43e57a, #38ddff, #5677ff, #c94cff, #ff4db5, #ff365d) border-box;
}

/* Mobile togel results: square tiles, exactly three markets per row. */
@media (max-width: 575px) {
  .togel-results-frame > table,
  .togel-results-frame > .table {
    display: block;
    width: 100%;
    margin: 0 auto 12px;
    border: 0 !important;
  }
  .togel-results-frame > table thead,
  .togel-results-frame > .table thead { display: none; }
  .togel-results-frame > table tbody,
  .togel-results-frame > .table tbody {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
    width: 100%;
  }
  .togel-results-frame > table tbody tr,
  .togel-results-frame > .table tbody tr {
    display: flex;
    min-width: 0;
    aspect-ratio: 1 / 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 6px 4px;
    overflow: hidden;
    border: 1px solid rgba(226,184,83,.48) !important;
    border-radius: 11px;
    background: linear-gradient(150deg, rgba(76,55,22,.92), rgba(25,20,12,.98)) !important;
    box-shadow: inset 0 1px rgba(255,255,255,.07), 0 4px 10px rgba(0,0,0,.23);
  }
  .togel-results-frame > table tbody tr:nth-child(even),
  .togel-results-frame > .table tbody tr:nth-child(even) { background: linear-gradient(150deg, rgba(76,55,22,.92), rgba(25,20,12,.98)) !important; }
  .togel-results-frame > table tbody td,
  .togel-results-frame > .table tbody td {
    display: block;
    width: 100% !important;
    padding: 0 !important;
    overflow: hidden;
    border: 0 !important;
    text-align: center !important;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .togel-results-frame > table tbody td:first-child,
  .togel-results-frame > .table tbody td:first-child {
    order: 0;
    color: #fff0c4 !important;
    font-size: clamp(7px, 1.9vw, 9px);
    font-weight: 850;
    letter-spacing: .02em;
  }
  .togel-results-frame > table tbody td:last-child,
  .togel-results-frame > .table tbody td:last-child { order: 1; }
  .togel-results-frame > table tbody td:nth-child(2),
  .togel-results-frame > .table tbody td:nth-child(2) {
    order: 2;
    color: #d8c79f !important;
    font-size: 7px;
  }
  .togel-results-frame > table tbody .blink_me {
    min-width: 0;
    width: auto;
    padding: 4px 6px;
    border-radius: 7px;
    font-size: clamp(9px, 2.5vw, 12px);
    letter-spacing: .08em;
  }
}

/* Four wider result tiles per mobile row, with more legible labels and digits. */
@media (max-width: 575px) {
  .togel-results-frame > table tbody,
  .togel-results-frame > .table tbody {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
  }
  .togel-results-frame > table tbody tr,
  .togel-results-frame > .table tbody tr {
    aspect-ratio: 1 / 1.08;
    gap: 5px;
    padding: 6px 3px;
  }
  .togel-results-frame > table tbody td:first-child,
  .togel-results-frame > .table tbody td:first-child {
    display: -webkit-box;
    overflow: hidden;
    white-space: normal;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-size: clamp(8px, 2.25vw, 10px);
    line-height: 1.15;
  }
  .togel-results-frame > table tbody td:nth-child(2),
  .togel-results-frame > .table tbody td:nth-child(2) { font-size: 8px; }
  .togel-results-frame > table tbody .blink_me {
    padding: 5px 6px;
    font-size: clamp(10px, 2.8vw, 13px);
    letter-spacing: .06em;
  }
}
/* Clear live-casino game labels and consistent gold card frames. */
.casino-game-frame {
  height: 100%;
  padding: 5px;
  overflow: hidden;
  border: 0;
  border-radius: 12px;
  background: transparent;
  box-shadow: none;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.casino-game-frame:hover {
  box-shadow: none;
  transform: translateY(-2px);
}
.casino-game-frame .gamenormalimg {
  min-height: 0;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 0;
  border-radius: 7px;
}
.casino-game-name {
  min-height: 2.5em;
  margin-bottom: 0;
  overflow: hidden;
  color: #fff1ca !important;
  font-size: .72rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-overflow: ellipsis;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
@media (max-width: 575px) {
  .casino-game-frame { padding: 4px; border-radius: 10px; }
  .casino-game-name { min-height: 2.4em; font-size: .62rem; line-height: 1.2; }
  .casino-game-name.d-block { display: -webkit-box !important; }
}
@media (min-width: 576px) {
  .casino-game-name.d-sm-block { display: -webkit-box !important; }
}

/* Gold motion frames on every mobile togel result tile and its number badge. */
@property --togel-tile-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}
@property --togel-number-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}
@keyframes togel-tile-frame-rotate {
  to { --togel-tile-angle: 360deg; }
}
@keyframes togel-number-frame-rotate {
  to { --togel-number-angle: 360deg; }
}
@media (max-width: 575px) {
  .togel-results-frame .togel-result-tile {
    position: relative;
    isolation: isolate;
    border-color: transparent !important;
  }
  .togel-results-frame .togel-result-tile::before {
    position: absolute;
    z-index: 0;
    inset: 0;
    padding: 1.5px;
    border-radius: inherit;
    background: conic-gradient(from var(--togel-tile-angle), #75521b, #f2d17c, #fff4cc, #b98125, #63430f, #e7bf65, #fff8d9, #75521b);
    content: "";
    pointer-events: none;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    animation: togel-tile-frame-rotate 6s linear infinite;
  }
  .togel-results-frame .togel-result-tile td { position: relative; z-index: 1; }
}
.togel-results-frame .togel-result-number {
  position: relative;
  border: 1px solid transparent !important;
  background: linear-gradient(145deg, rgba(22,91,54,.62), rgba(16,40,28,.96)) padding-box,
    conic-gradient(from var(--togel-number-angle), #75521b, #f2d17c, #fff4cc, #b98125, #63430f, #e7bf65, #75521b) border-box !important;
  animation: togel-number-frame-rotate 5s linear infinite !important;
}
@media (prefers-reduced-motion: reduce) {
  .togel-results-frame .togel-result-tile::before,
  .togel-results-frame .togel-result-number { animation: none !important; }
}

/* Keep togel result digits plain green; retain the animated frame on each market tile. */
.togel-results-frame .togel-result-number {
  display: inline !important;
  min-width: 0 !important;
  width: auto !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: #65e79a !important;
  background: transparent !important;
  box-shadow: none !important;
  font-size: clamp(1rem, 4vw, 1.25rem) !important;
  font-weight: 900 !important;
  letter-spacing: .04em !important;
  line-height: 1.2;
  text-shadow: 0 0 8px rgba(69,226,137,.3);
  animation: none !important;
}

/* Lock popular game cover geometry so legacy fixed image heights cannot stretch covers. */
.top-games-showcase .game-cover-frame,
.home-page .latest-games-showcase .game-cover-frame {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: 3 / 4;
}
.top-games-showcase .game-cover-frame > .gamertpimg,
.home-page .latest-games-showcase .game-cover-frame > .gamertpimg {
  position: absolute;
  inset: 4px;
  width: calc(100% - 8px) !important;
  height: calc(100% - 8px) !important;
  min-height: 0 !important;
  object-fit: cover;
  object-position: center;
}
.top-games-showcase .game-cover-frame > .gamertpimgtitle,
.home-page .latest-games-showcase .game-cover-frame > .gamertpimgtitle {
  position: absolute;
  z-index: 1;
  right: 4px;
  bottom: 4px;
  left: 4px;
  width: auto;
  height: 20px;
}

/* Keep the Top Player frame and featured player card moving through gold together. */
@property --top-deposit-frame-angle {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}
@keyframes topDepositGoldTravel {
  to { --top-deposit-frame-angle: 360deg; }
}
.top-deposit-hall {
  background:
    radial-gradient(ellipse at 50% -18%, rgba(173,119,31,.22), transparent 56%) padding-box,
    linear-gradient(145deg, #21190d, #120e08 58%, #090704) padding-box,
    conic-gradient(from var(--top-deposit-frame-angle), #75521b, #d7a83f, #fff2b8, #a97018, #f2d17c, #6b4915, #fff5cf, #75521b) border-box !important;
  animation: topDepositGoldTravel 7s linear infinite !important;
}
.top-deposit-item.top-deposit-first {
  background:
    linear-gradient(115deg, #59421c, #302411 56%, #21190e) padding-box,
    conic-gradient(from var(--top-deposit-frame-angle), #75521b, #d7a83f, #fff2b8, #a97018, #f2d17c, #6b4915, #fff5cf, #75521b) border-box !important;
  animation: topDepositGoldTravel 7s linear infinite !important;
}
@media (prefers-reduced-motion: reduce) {
  .top-deposit-hall,
  .top-deposit-item.top-deposit-first { animation: none !important; }
}

/* User-supplied crown artwork replaces the mobile Top Player outer frame. */
@media (max-width: 575px) {
  .top-deposit-column { padding: 18px 12px 8px; }
  .top-deposit-hall {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    aspect-ratio: 554 / 554;
    min-height: 0;
    overflow: hidden;
    padding: 0;
    border: 0 !important;
    border-radius: 0 !important;
    background: linear-gradient(145deg, #21190d, #120e08 58%, #090704) !important;
    box-shadow: none !important;
    animation: none !important;
  }
  .top-deposit-hall::before {
    content: "";
    position: absolute;
    z-index: 4;
    inset: 0;
    width: auto;
    height: auto;
    pointer-events: none;
    background: url('../images/main/top-player-frame.png') center / 100% 100% no-repeat;
    box-shadow: none;
    animation: topDepositFrameGlow 3.2s ease-in-out infinite;
  }
  .top-deposit-hall > * { position: relative; z-index: 1; }
  .top-deposit-hall .top-deposit-list {
    position: absolute;
    inset: 8% 5.5% 11.5%;
    display: grid;
    width: auto;
    height: auto;
    flex: none;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: repeat(3, minmax(0, 1fr));
    gap: 6px;
    min-height: 0;
    margin: 0 !important;
    padding: 0;
  }
  .top-deposit-hall .top-deposit-item,
  .top-deposit-hall .top-deposit-item.top-deposit-first {
    min-height: 0;
    height: 100%;
    padding: 7px 12px;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 9px;
    border-radius: 10px;
    animation: topDepositCardShine 3.8s ease-in-out infinite;
  }
  .top-deposit-hall .top-deposit-first .top-deposit-rank,
  .top-deposit-hall .top-deposit-rank { width: 30px; height: 30px; font-size: .8rem; }
  .top-deposit-hall .top-deposit-tier { font-size: .46rem; }
  .top-deposit-hall .top-deposit-user { font-size: .7rem; }
  .top-deposit-hall .top-deposit-amount,
  .top-deposit-hall .top-deposit-first .top-deposit-amount { font-size: .83rem; }
  .top-deposit-hall .top-deposit-note { display: none; }
  .top-deposit-heading { margin: 0 0 11px; }
  .top-deposit-crown { display: none; }
  .top-deposit-heading h2 { padding-left: 2px; }
  .top-deposit-hall .top-deposit-note {
    margin: 3px 0 0;
    padding: 0;
    text-align: center;
    white-space: normal;
    overflow-wrap: anywhere;
    line-height: 1.5;
  }
}

@media (prefers-reduced-motion: reduce) {
  .top-deposit-hall::before,
  .top-deposit-hall .top-deposit-item,
  .top-deposit-hall .top-deposit-rank,
  .top-deposit-hall .top-deposit-amount,
  .top-deposit-hall .top-deposit-tier,
  .top-deposit-hall .top-deposit-user { animation: none !important; }
}

.top-deposit-hall > .top-player-light { display: none; }
@media (max-width: 575px) {
  .top-deposit-hall > .top-player-light {
    display: block;
    position: absolute;
    z-index: 5;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    mix-blend-mode: screen;
  }
}

@keyframes topDepositFrameGlow {
  0%, 100% { filter: brightness(.82) drop-shadow(0 0 3px rgba(219, 164, 48, .35)); }
  50% { filter: brightness(1.18) drop-shadow(0 0 11px rgba(255, 220, 117, .9)); }
}
@keyframes topDepositCardShine {
  0%, 100% { box-shadow: inset 0 1px rgba(255,255,255,.08), 0 2px 7px rgba(0,0,0,.34); }
  50% { box-shadow: inset 0 1px rgba(255,241,194,.35), 0 0 13px rgba(236,190,83,.42); }
}

/* Jewel medals and engraved cards inside the Top Player artwork. */
.top-deposit-subtitle {
  margin: 5px 0 0;
  color: #b5a17a;
  font-size: .65rem;
  letter-spacing: .035em;
  line-height: 1.5;
}
.top-deposit-hall .top-deposit-heading h2 {
  color: #fff0c7;
  font-weight: 800;
  letter-spacing: .025em;
  text-shadow: 0 2px 12px #b8802444;
}
.top-deposit-hall .top-deposit-item {
  isolation: isolate;
  grid-template-columns: 44px minmax(0, 1fr);
  grid-template-rows: auto;
  gap: 14px;
  padding: 15px 17px;
  border: 1px solid #b58b404d;
  border-radius: 13px;
  background: radial-gradient(ellipse at 0 0, #9b76251c, transparent 75%), linear-gradient(115deg, #282013, #16130e);
  box-shadow: inset 0 1px #ffe8ab12, inset 0 -1px #0009, 0 5px 12px #0003;
}
.top-deposit-hall .top-deposit-item::after {
  content: '';
  position: absolute;
  top: 18%;
  bottom: 18%;
  right: 8px;
  width: 2px;
  border-radius: 4px;
  background: linear-gradient(transparent, #d8ad5359, transparent);
}
.top-deposit-hall .top-deposit-item.top-deposit-first {
  grid-template-columns: 54px minmax(0, 1fr);
  padding: 20px 17px;
  border: 1px solid #efcd79;
  background: radial-gradient(ellipse at 0 0, #e7b74e33, transparent 75%), linear-gradient(115deg, #3a2c14, #1f190f) !important;
  box-shadow: inset 0 0 0 3px #e0b65710, inset 0 1px #fff0b745, 0 7px 20px #0005, 0 0 18px #c9942512;
}
.top-deposit-hall .top-deposit-rank {
  grid-row: auto;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #ffe3a8;
  outline: 1px solid #ad84453d;
  outline-offset: 3px;
  color: #fff3cc;
  background: linear-gradient(145deg, #ad8b45, #4c3615);
  box-shadow: inset 0 0 0 3px #26170044, inset 0 2px 5px #fff4c54d, 0 4px 9px #0006;
  font-size: .9rem;
  text-shadow: 0 1px 2px #241700;
}
.top-deposit-hall .top-deposit-first .top-deposit-rank {
  width: 50px;
  height: 50px;
  color: #fff5cf;
  background: linear-gradient(145deg, #ffe7a0, #c59028 55%, #835416);
  font-size: 1.2rem;
  box-shadow: inset 0 0 0 3px #ffe4a326, inset 0 2px 5px #fff6d28c, 0 0 20px #e5b74b26, 0 4px 9px #0006;
}
.top-deposit-details { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.top-deposit-tier { color: #b9a077; font-size: .52rem; font-weight: 700; letter-spacing: .16em; line-height: 1.5; }
.top-deposit-first .top-deposit-tier { color: #e9c772; }
.top-deposit-hall .top-deposit-user { font-size: .8rem; line-height: 1.35; align-self: stretch; }
.top-deposit-hall .top-deposit-amount { color: #ead5a4; font-size: .94rem; line-height: 1.3; letter-spacing: .025em; }
.top-deposit-hall .top-deposit-first .top-deposit-amount { color: #ffe6a1; font-size: 1.14rem; }
.top-deposit-amount small { color: #b9a077; font-size: .65em; font-weight: 600; }
@media (max-width: 575px) {
  .top-deposit-hall .top-deposit-heading { margin-bottom: 17px; }
  .top-deposit-hall .top-deposit-list { gap: 10px; }
  .top-deposit-hall .top-deposit-note { color: #b5a17a; font-size: .6rem; margin-top: 17px; }
}
@media (max-width: 360px) {
  .top-deposit-hall .top-deposit-list { gap: 4px; }
  .top-deposit-hall .top-deposit-item,
  .top-deposit-hall .top-deposit-item.top-deposit-first { padding: 4px 7px; gap: 0 6px; grid-template-columns: 27px minmax(0, 1fr); }
  .top-deposit-hall .top-deposit-first .top-deposit-rank { width: 25px; height: 25px; }
  .top-deposit-hall .top-deposit-first .top-deposit-amount { font-size: .82rem; }
}

/* Podium finishes: champagne gold, platinum silver, and warm bronze. */
.top-deposit-hall .top-deposit-item.top-deposit-first {
  border: 1px solid #ffe5a0;
  background: radial-gradient(ellipse at 10% 0, #fff1b653, transparent 65%), linear-gradient(120deg, #6b4b16, #3e2c10 55%, #21190d) !important;
  box-shadow: inset 0 0 0 3px #f7d57f1f, inset 0 1px #fff6cf99, inset 0 -1px #a8762366, 0 0 23px #e9b83e26, 0 8px 20px #0006;
}
.top-deposit-hall .top-deposit-first .top-deposit-rank {
  border-color: #fff1bf;
  outline-color: #eac66c99;
  background: linear-gradient(140deg, #fff5c5, #f5ce6d 30%, #b37a1d 65%, #e8bb53);
  box-shadow: inset 0 0 0 3px #fff3c447, inset 0 2px 6px #fff9dfaa, 0 0 22px #ffcf5966, 0 4px 9px #0007;
}
.top-deposit-hall .top-deposit-first .top-deposit-amount { text-shadow: 0 0 12px #f6ca5738; }
.top-deposit-hall .top-deposit-item:nth-child(2) {
  border-color: #bfcdd064;
  background: radial-gradient(ellipse at 0 0, #dceaf326, transparent 75%), linear-gradient(115deg, #30363b, #181c20);
  box-shadow: inset 0 1px #eff7ff26, 0 5px 12px #0004;
}
.top-deposit-hall .top-deposit-item:nth-child(2) .top-deposit-rank {
  color: #fff;
  border-color: #e2edf4;
  outline-color: #b5c5d066;
  background: linear-gradient(145deg, #eaf1f5, #8b9ba7 50%, #4b5966);
  box-shadow: inset 0 0 0 3px #edf7ff26, inset 0 2px 5px #fff6, 0 4px 9px #0006;
  text-shadow: 0 1px 2px #26313d;
}
.top-deposit-hall .top-deposit-item:nth-child(2) .top-deposit-tier { color: #acbfce; }
.top-deposit-hall .top-deposit-item:nth-child(2) .top-deposit-amount { color: #e1ebf2; }
.top-deposit-hall .top-deposit-item:nth-child(2) .top-deposit-amount small { color: #a5b6c2; }
.top-deposit-hall .top-deposit-item:nth-child(2)::after { background: linear-gradient(transparent, #c7dbe466, transparent); }
.top-deposit-hall .top-deposit-item:nth-child(3) {
  border-color: #c88c5769;
  background: radial-gradient(ellipse at 0 0, #f4a86b24, transparent 75%), linear-gradient(115deg, #3c281d, #211810);
  box-shadow: inset 0 1px #ffd0a726, 0 5px 12px #0004;
}
.top-deposit-hall .top-deposit-item:nth-child(3) .top-deposit-rank {
  color: #ffead7;
  border-color: #efb68a;
  outline-color: #c88c5766;
  background: linear-gradient(145deg, #f0bb8e, #b47745 50%, #704021);
  box-shadow: inset 0 0 0 3px #ffd6ad26, inset 0 2px 5px #ffe0be55, 0 4px 9px #0006;
  text-shadow: 0 1px 2px #4a2815;
}
.top-deposit-hall .top-deposit-item:nth-child(3) .top-deposit-tier { color: #d1a17d; }
.top-deposit-hall .top-deposit-item:nth-child(3) .top-deposit-amount { color: #f1c6a3; }
.top-deposit-hall .top-deposit-item:nth-child(3) .top-deposit-amount small { color: #bb906e; }
.top-deposit-hall .top-deposit-item:nth-child(3)::after { background: linear-gradient(transparent, #d29a6866, transparent); }

@media (max-width: 575px) {
  .top-deposit-column { padding: 10px 12px 4px; }
  .top-deposit-hall .top-deposit-list { inset: 8% 5.5% 11.5%; gap: 5px; margin: 0 !important; }
  .top-deposit-hall .top-deposit-item,
  .top-deposit-hall .top-deposit-item.top-deposit-first {
    grid-template-columns: 36px minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr);
    gap: 0 9px;
    padding: 6px 11px;
    border-radius: 9px;
    animation: topDepositCardShine 3.8s ease-in-out infinite;
  }
  .top-deposit-hall .top-deposit-item:nth-child(2) { animation-delay: .35s; }
  .top-deposit-hall .top-deposit-item:nth-child(3) { animation-delay: .7s; }
  .top-deposit-hall .top-deposit-rank { grid-column: 1; grid-row: 1; width: 32px; height: 32px; outline-offset: 1px; font-size: .82rem; animation: topDepositMedalPulse 2.6s ease-in-out infinite; }
  .top-deposit-hall .top-deposit-first .top-deposit-rank { width: 36px; height: 36px; font-size: .96rem; }
  .top-deposit-hall .top-deposit-details { grid-column: 2; grid-row: 1; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto; align-items: center; gap: 3px 8px; width: 100%; min-width: 0; }
  .top-deposit-hall .top-deposit-tier { font-size: .58rem; line-height: 1.2; }
  .top-deposit-hall .top-deposit-user { font-size: .9rem; line-height: 1.2; font-weight: 800; }
  .top-deposit-hall .top-deposit-amount,
  .top-deposit-hall .top-deposit-first .top-deposit-amount { display: block; font-size: .86rem; line-height: 1.2; white-space: nowrap; }
  .top-deposit-hall .top-deposit-first .top-deposit-amount { font-size: .96rem; }
  .top-deposit-hall .top-deposit-tier,
  .top-deposit-hall .top-deposit-user { grid-column: 1; }
  .top-deposit-hall .top-deposit-tier { grid-row: 1; }
  .top-deposit-hall .top-deposit-user { grid-row: 2; }
  .top-deposit-hall .top-deposit-tier,
  .top-deposit-hall .top-deposit-user { justify-self: start; width: 100%; transform-origin: left center; animation: topDepositIdentityGlow 2.8s ease-in-out infinite; }
  .top-deposit-hall .top-deposit-user { animation-delay: .25s; }
  .top-deposit-hall .top-deposit-amount,
  .top-deposit-hall .top-deposit-first .top-deposit-amount {
    grid-column: 2;
    grid-row: 1 / span 2;
    justify-self: end;
    align-self: center;
    margin-left: 6px;
    font-size: 1rem;
    line-height: 1.15;
    text-align: right;
    text-shadow: 0 0 10px rgba(255, 218, 119, .45);
    animation: topDepositAmountGlow 2.2s ease-in-out infinite;
  }
  .top-deposit-hall .top-deposit-first .top-deposit-amount { font-size: 1.12rem; }
}

@keyframes topDepositMedalPulse {
  0%, 100% { transform: scale(1); filter: brightness(.94); }
  50% { transform: scale(1.08); filter: brightness(1.22) drop-shadow(0 0 7px rgba(255, 218, 119, .62)); }
}
@keyframes topDepositAmountGlow {
  0%, 100% { transform: translateX(0); filter: brightness(.95); text-shadow: 0 0 5px rgba(255, 218, 119, .28); }
  50% { transform: translateX(-2px); filter: brightness(1.3); text-shadow: 0 0 14px rgba(255, 218, 119, .8); }
}
@keyframes topDepositIdentityGlow {
  0%, 100% { transform: translateX(0); filter: brightness(.94); text-shadow: 0 0 2px rgba(255, 218, 119, .16); }
  50% { transform: translateX(2px); filter: brightness(1.25); text-shadow: 0 0 9px rgba(255, 218, 119, .66); }
}

@media (max-width: 360px) {
  .top-deposit-hall .top-deposit-item,
  .top-deposit-hall .top-deposit-item.top-deposit-first { grid-template-columns: 31px minmax(0, 1fr); gap: 0 6px; padding: 4px 7px; }
  .top-deposit-hall .top-deposit-details { grid-template-columns: minmax(0, 1fr) auto; gap: 1px 4px; }
  .top-deposit-hall .top-deposit-rank { width: 28px; height: 28px; font-size: .76rem; }
  .top-deposit-hall .top-deposit-first .top-deposit-rank { width: 31px; height: 31px; }
  .top-deposit-hall .top-deposit-tier { font-size: .48rem; }
  .top-deposit-hall .top-deposit-user { font-size: .78rem; }
  .top-deposit-hall .top-deposit-amount,
  .top-deposit-hall .top-deposit-first .top-deposit-amount { max-width: 92px; font-size: .82rem; white-space: normal; overflow-wrap: anywhere; }
}

/* The supplied mobile Togel frame keeps live results inside its transparent center. */
@media (max-width: 575px) {
  .mobile-togel-results { padding: 10px 8px 14px !important; }
  .mobile-togel-results .togel-artwork-frame {
    position: relative;
    isolation: isolate;
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0 !important;
    background: none;
    box-shadow: none;
    animation: none;
  }
  .mobile-togel-results .togel-artwork-frame::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    pointer-events: none;
    background: url('../images/main/togel-player-frame.gif') center / 100% 100% no-repeat;
    filter: brightness(.96) contrast(1.04);
    animation: togelGoldFrameShimmer 3.6s ease-in-out infinite;
  }
  .mobile-togel-results .togel-artwork-frame::after {
    content: "";
    position: absolute;
    z-index: 2;
    inset: 0;
    pointer-events: none;
    background:
      linear-gradient(118deg, transparent 0 38%, rgba(255, 229, 150, .08) 43%, rgba(255, 248, 214, .95) 49%, rgba(255, 190, 54, .5) 52%, transparent 59% 100%);
    background-size: 240% 240%;
    -webkit-mask: url('../images/main/togel-player-frame.gif') center / 100% 100% no-repeat;
    mask: url('../images/main/togel-player-frame.gif') center / 100% 100% no-repeat;
    animation: togelGoldSweep 3.2s ease-in-out infinite;
    mix-blend-mode: screen;
  }
  .mobile-togel-results .togel-artwork-heading {
    position: relative;
    z-index: 1;
    width: fit-content;
    max-width: 68%;
    margin: 0 auto;
    padding: 4px 9px;
    border: 1px solid rgba(223, 183, 91, .55);
    border-radius: 10px;
    background: linear-gradient(145deg, #392d18, #17130c);
    color: #f2d78f;
    font-size: .67rem;
    line-height: 1.3;
  }
  .mobile-togel-results .togel-artwork-content {
    position: absolute;
    z-index: 1;
    inset: 16% 10% 11%;
    display: flex;
    align-items: stretch;
    margin: 0;
    padding: 0;
  }
  .mobile-togel-results .togel-artwork-content > .table {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 2px;
    color: #f3e6c0;
    font-size: .58rem;
  }
  .mobile-togel-results .togel-artwork-content > .table thead { display: none; }
  .mobile-togel-results .togel-artwork-content > .table tbody {
    display: grid;
    height: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: repeat(4, minmax(0, 1fr));
    gap: 3px;
  }
  .mobile-togel-results .togel-artwork-content > .table tbody tr {
    display: flex;
    min-width: 0;
    aspect-ratio: auto;
    min-height: 0;
    height: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4px 2px;
    border: 1px solid rgba(231, 184, 76, .88) !important;
    border-radius: 5px;
    background: linear-gradient(145deg, rgba(63, 43, 12, .96), rgba(23, 17, 8, .98)) !important;
    box-shadow: inset 0 1px rgba(255, 235, 178, .2), 0 0 6px rgba(228, 174, 54, .2);
  }
  .mobile-togel-results .togel-artwork-content > .table tbody td {
    display: block;
    width: 100%;
    overflow: hidden;
    padding: 0;
    border: 0;
    background: transparent;
    text-align: center !important;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.35;
  }
  .mobile-togel-results .togel-artwork-content > .table tbody td:first-child {
    color: #ffe09a !important;
    font-size: .47rem;
    font-weight: 750;
  }
  .mobile-togel-results .togel-artwork-content > .table tbody td:nth-child(2) { color: #ddc58e !important; font-size: .42rem; }
  .mobile-togel-results .togel-artwork-content > .table tbody td:last-child { color: #58f27e !important; font-weight: 800; }
  .mobile-togel-results .togel-result-number {
    color: #63ff86 !important;
    font-size: .82rem;
    font-weight: 900;
    text-shadow: 0 0 4px rgba(71, 255, 112, .72), 0 0 9px rgba(28, 220, 83, .48);
    background: linear-gradient(145deg, rgba(15, 72, 32, .9), rgba(8, 37, 19, .98)) padding-box,
      linear-gradient(135deg, #207b35, #9dff9d, #34bc50, #d1ffd0) border-box !important;
  }
}

@media (max-width: 380px) {
  .mobile-togel-results .togel-artwork-content { inset: 16% 10% 11%; }
  .mobile-togel-results .togel-artwork-content > .table tbody { gap: 3px; }
}

@keyframes togelGoldFrameShimmer {
  0%, 100% { filter: brightness(.88) contrast(1.02); }
  50% { filter: brightness(1.12) contrast(1.08); }
}
@keyframes togelGoldSweep {
  0% { background-position: 180% 150%; opacity: 0; }
  18% { opacity: .25; }
  50% { opacity: .95; }
  82% { opacity: .3; }
  100% { background-position: -80% -50%; opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .mobile-togel-results .togel-artwork-frame::before,
  .mobile-togel-results .togel-artwork-frame::after { animation: none; }
}

/* Animate payment availability with its status color, without a text badge. */
@keyframes paymentActivePulse {
  0%, 100% {
    border-color: rgba(41,213,125,.62);
    box-shadow: inset 0 1px rgba(255,255,255,.06), 0 0 5px rgba(41,213,125,.2);
  }
  50% {
    border-color: rgba(79,255,160,1);
    box-shadow: inset 0 1px rgba(255,255,255,.1), 0 0 14px rgba(41,213,125,.72);
  }
}
@keyframes paymentInactivePulse {
  0%, 100% {
    border-color: rgba(255,73,86,.62);
    box-shadow: inset 0 1px rgba(255,255,255,.06), 0 0 5px rgba(255,73,86,.2);
  }
  50% {
    border-color: rgba(255,105,115,1);
    box-shadow: inset 0 1px rgba(255,255,255,.1), 0 0 14px rgba(255,73,86,.68);
  }
}
.payment-method-card.is-active {
  border: 1px solid rgba(41,213,125,.8);
  animation: paymentActivePulse 2s ease-in-out infinite;
}
.payment-method-card.is-inactive {
  border: 1px solid rgba(255,73,86,.8);
  animation: paymentInactivePulse 2s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  .payment-method-card.is-active,
  .payment-method-card.is-inactive { animation: none; }
}

/* Animate only the togel results heading text, leaving its gold panel unchanged. */
@keyframes togelTitleRgbFlow {
  to { background-position: 300% 50%; }
}
.togel-results-frame .rgb-animated-heading,
.togel-artwork-frame .rgb-animated-heading,
.slot-showcase-frame .rgb-animated-heading,
.slot-artwork-showcase .rgb-animated-heading {
  display: inline-block;
  color: transparent !important;
  background: linear-gradient(90deg, #ff5151, #ffb347, #fff15a, #5cff83, #55dfff, #6f83ff, #d76bff, #ff5151);
  background-size: 300% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  animation: togelTitleRgbFlow 5s linear infinite;
}
@media (prefers-reduced-motion: reduce) {
  .togel-results-frame .rgb-animated-heading,
  .togel-artwork-frame .rgb-animated-heading,
  .slot-showcase-frame .rgb-animated-heading,
  .slot-artwork-showcase .rgb-animated-heading { animation: none; }
}

/* Popular slots use the supplied artwork as the only outer panel frame. */
.slot-artwork-showcase {
  position: relative;
  isolation: isolate;
  display: block;
  width: 100%;
  max-width: 960px;
  aspect-ratio: 1 / 1;
  margin: 20px auto 0;
  padding: 0 !important;
  overflow: visible;
  border: 0 !important;
  border-radius: 0 !important;
  background: none !important;
  box-shadow: none !important;
  animation: none !important;
}
.slot-artwork-showcase::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background: url('../images/main/slot-player-frame.gif') center / 100% 100% no-repeat;
}
.slot-artwork-showcase > legend {
  position: absolute;
  z-index: 2;
  top: 15%;
  left: 50%;
  float: none;
  width: max-content;
  max-width: 74%;
  margin: 0;
  padding: 0;
  transform: translateX(-50%);
  border: 0;
  text-align: center;
}
.slot-artwork-showcase > legend h2,
.slot-artwork-showcase > legend h3 {
  margin: 0;
  padding: 4px 10px;
  border: 1px solid rgba(235, 190, 88, .62);
  border-radius: 999px;
  background: linear-gradient(180deg, #3b260d, #171109);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .55);
  color: #ffdf8a;
  font-size: .78rem;
  line-height: 1.25;
}
.slot-artwork-showcase > .row {
  position: absolute;
  z-index: 1;
  inset: 19.5% 8% 12%;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  align-content: stretch;
  align-items: stretch;
  gap: 3px;
  margin: 0 !important;
  overflow: hidden;
}
.slot-artwork-showcase > .row > .hoverimg {
  flex: none;
  width: auto;
  max-width: none;
  min-width: 0;
  height: 100%;
  padding: 1px !important;
}
.slot-artwork-showcase .game-item {
  position: relative;
  display: block;
  height: 100%;
  min-width: 0;
  padding: 0;
  overflow: hidden;
}
.slot-artwork-showcase .game-cover-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100% !important;
  min-height: 0 !important;
  aspect-ratio: auto;
  padding: 2px;
  border-radius: 9px;
}
.slot-artwork-showcase .game-cover-frame > .gamertpimg,
.slot-artwork-showcase .game-cover-frame > .gamenormalimg {
  position: absolute;
  inset: 2px;
  width: calc(100% - 4px) !important;
  height: calc(100% - 4px) !important;
  border-radius: 6px !important;
  object-fit: cover;
}
.slot-artwork-showcase .game-btn-sm { display: none !important; }
@media (max-width: 991.98px) {
  .slot-artwork-showcase { width: 100%; aspect-ratio: 1 / 1; }
  .slot-artwork-showcase > legend { top: 16%; }
  .slot-artwork-showcase > .row {
    inset: 17% 8% 11%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 2px;
  }
  .slot-artwork-showcase > .row > .hoverimg { padding: 1px !important; }
  .slot-artwork-showcase .game-cover-frame { padding: 1px; }
  .slot-artwork-showcase .game-cover-frame > .gamertpimg,
  .slot-artwork-showcase .game-cover-frame > .gamenormalimg { inset: 1px; width: calc(100% - 2px) !important; height: calc(100% - 2px) !important; }
  .slot-artwork-showcase .game-name { margin: 3px 0 0 !important; font-size: .57rem; line-height: 1.2; }
  .slot-artwork-showcase .game-btn-sm { margin-top: auto; }
}

.casino-artwork-showcase {
  position: relative;
  isolation: isolate;
  display: block;
  width: 100%;
  max-width: 1100px;
  aspect-ratio: 1317 / 1194;
  margin: 20px auto 0;
  padding: 0 !important;
  overflow: visible;
  border: 0 !important;
  border-radius: 0 !important;
  background: none !important;
  box-shadow: none !important;
  animation: none !important;
}
.casino-artwork-showcase::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background: url('../images/main/casino-player-frame.gif') center / 100% 100% no-repeat;
}
.casino-artwork-showcase > legend {
  position: absolute;
  z-index: 2;
  top: 15%;
  left: 50%;
  float: none;
  width: max-content;
  max-width: 74%;
  margin: 0;
  padding: 0;
  transform: translateX(-50%);
  border: 0;
  text-align: center;
}
.casino-artwork-showcase > legend h2,
.casino-artwork-showcase > legend h3 {
  margin: 0;
  padding: 4px 10px;
  border: 1px solid rgba(235, 190, 88, .62);
  border-radius: 999px;
  background: linear-gradient(180deg, #3b260d, #171109);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .55);
  color: #ffdf8a;
  font-size: .78rem;
  line-height: 1.25;
}
.casino-artwork-showcase > .row {
  position: absolute;
  z-index: 1;
  inset: 20% 8% 11%;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  align-content: stretch;
  align-items: stretch;
  gap: 3px;
  margin: 0 !important;
  overflow: hidden;
}
.casino-artwork-showcase > .row > .hoverimg {
  flex: none;
  width: auto;
  max-width: none;
  min-width: 0;
  height: 100%;
  padding: 1px !important;
}
.casino-artwork-showcase .game-item {
  position: relative;
  display: block;
  height: 100%;
  min-width: 0;
  padding: 0;
  overflow: hidden;
}
.casino-artwork-showcase .game-cover-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100% !important;
  min-height: 0 !important;
  aspect-ratio: auto;
  padding: 2px;
  border-radius: 9px;
}
.casino-artwork-showcase .game-cover-frame > .gamertpimg,
.casino-artwork-showcase .game-cover-frame > .gamenormalimg {
  position: absolute;
  inset: 2px;
  width: calc(100% - 4px) !important;
  height: calc(100% - 4px) !important;
  border-radius: 6px !important;
  object-fit: cover;
}
.casino-artwork-showcase .game-btn-sm { display: none !important; }
@media (max-width: 991.98px) {
  .casino-artwork-showcase { width: 100%; aspect-ratio: 9 / 10; }
  .casino-artwork-showcase > legend { top: 16%; }
  .casino-artwork-showcase > .row {
    inset: 17% 8% 11%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 2px;
  }
  .casino-artwork-showcase > .row > .hoverimg { padding: 1px !important; }
  .casino-artwork-showcase .game-cover-frame { padding: 1px; }
  .casino-artwork-showcase .game-cover-frame > .gamertpimg,
  .casino-artwork-showcase .game-cover-frame > .gamenormalimg { inset: 1px; width: calc(100% - 2px) !important; height: calc(100% - 2px) !important; }
}

/* App invitation card */
.mcp-top-header .app-download-banner { margin:10px auto; width:calc(100% - 24px); max-width:1240px; border:1px solid #b68a3d70; border-radius:16px; background:radial-gradient(ellipse at 0 0,#c6913029,transparent 60%),linear-gradient(115deg,#241b0e,#100e09 65%,#30220d); box-shadow:inset 0 1px #fff0c514,0 8px 22px #0003; }
.mcp-top-header .app-download-inner { width:100%; max-width:none; min-height:94px; padding:14px 16px; gap:13px; }
.app-download-emblem { position:relative; flex:0 0 52px; width:52px; height:52px; perspective:500px; }
.mcp-top-header .app-download-icon { width:52px; height:52px; border-radius:14px; padding:3px; background:linear-gradient(145deg,#3d2e13,#0f0e0a); border:1px solid #edcc7b99; animation:app-emblem-float 4s ease-in-out infinite; }
.app-android-badge { position:absolute; bottom:-4px; right:-4px; display:grid; place-items:center; width:20px; height:20px; border-radius:7px; background:#eac66c; border:2px solid #21190d; color:#201708; font-size:11px; box-shadow:0 2px 6px #0005; }
.mcp-top-header .app-download-copy strong { display:flex; align-items:center; gap:6px; color:#fff0c9; font-size:14px; letter-spacing:.025em; animation:none; white-space:nowrap; }
.mcp-top-header .app-download-copy strong span { margin:0; border:1px solid #16883f; border-radius:4px; padding:2px 4px; font-size:8px; line-height:1; background:#16883f; color:#fff; }
.mcp-top-header .app-download-copy small { display:flex; align-items:center; gap:7px; margin-top:6px; font-size:10px; color:#dac8a3; animation:none; }
.app-download-copy .app-size { border-left:1px solid #b394594f; padding-left:7px; color:#b6a583; }
.app-download-caption { display:block; margin-top:4px; font-size:10px; color:#b6a583; line-height:1.3; }
.mcp-top-header .app-download-button { min-height:40px; padding:10px 15px; border-radius:11px; font-size:12px; background:linear-gradient(135deg,#fff0b2,#eac462 45%,#b9801b); border-color:#ffe8a9; animation:appButtonPulse 3.5s ease-in-out infinite; transition:transform .25s ease,filter .25s ease; }
.mcp-top-header .app-download-button > i { animation:app-download-drop 2.8s ease-in-out infinite; }
.mcp-top-header .app-download-button:active { transform:scale(.95); }
.mcp-top-header .app-download-close { flex:0 0 24px; width:24px; height:28px; align-self:flex-start; margin:-4px -7px 0 -5px; border:1px solid #d5b56926; border-radius:50%; font-size:18px; color:#bba77e; transition:transform .25s ease,background .25s ease; }
.mcp-top-header .app-download-close:hover { transform:rotate(90deg); background:#f4d48c15; }
.mcp-top-header .app-download-banner::after { display:none; }
.mcp-top-header .app-download-banner::before { content:none; display:none; animation:none; }
.mcp-top-header .app-download-button::before,
.mcp-top-header .navbar-brand::before,
.mcp-top-header .navbar-brand::after,
.mcp-top-header .header-vip-link::before,
.mcp-top-header .header-vip-link::after,
.mcp-top-header .mobile-nav-toggle::before,
.mcp-top-header .mobile-nav-toggle::after,
.mcp-top-header .member-account-refresh::before,
.mcp-top-header .member-account-refresh::after,
.mcp-top-header .header-vip-link .member-badge--vip::after { content:none !important; display:none !important; animation:none !important; }
.mcp-top-header .navbar-brand .inoutlogo { animation:none !important; }
@keyframes app-emblem-float { 0%,100% { transform:translateY(0) rotateY(-7deg); } 50% { transform:translateY(-3px) rotateY(7deg); box-shadow:0 4px 15px #e6b74333; } }
@keyframes app-download-drop { 0%,25%,65%,100% { transform:translateY(0); } 38% { transform:translateY(-3px); } 48% { transform:translateY(2px); } 57% { transform:translateY(-1px); } }
@media (max-width:575px) {
 .mcp-top-header .app-download-inner { padding:13px 10px; gap:10px; min-height:92px; }
 .mcp-top-header .app-download-copy strong { font-size:12px; gap:4px; }
 .mcp-top-header .app-download-button { padding:9px 11px; gap:6px; font-size:11px; min-height:38px; }
 .mcp-top-header .app-download-close { flex-basis:20px; width:20px; height:22px; margin-right:-4px; }
 .app-download-caption { font-size:9px; }
}
@media (max-width:359px) {
 .mcp-top-header .app-download-banner { width:calc(100% - 16px); }
 .mcp-top-header .app-download-inner { gap:7px; padding-left:8px; }
 .app-download-emblem { flex-basis:44px; width:44px; height:44px; }
 .mcp-top-header .app-download-icon { width:44px; height:44px; }
 .mcp-top-header .app-download-copy strong { font-size:10px; }
 .mcp-top-header .app-download-button { padding:9px; }
}
@media (prefers-reduced-motion:reduce) {
 .mcp-top-header .app-download-icon,.mcp-top-header .app-download-button > i { animation:none !important; }
 .mcp-top-header .app-download-close:hover { transform:none; }
}
/* Compact download banner */
.mcp-top-header .app-download-banner { margin:5px auto; border-radius:12px; }
.mcp-top-header .app-download-inner { min-height:64px; padding:8px 12px; gap:10px; }
.app-download-emblem { flex-basis:40px; width:40px; height:40px; }
.mcp-top-header .app-download-icon { width:40px; height:40px; border-radius:10px; padding:2px; }
.app-android-badge { display:none; }
.app-download-caption { display:none; }
.mcp-top-header .app-download-copy strong { font-size:12px; }
.mcp-top-header .app-download-copy small { margin-top:4px; font-size:9px; }
.mcp-top-header .app-download-button { min-height:34px; padding:8px 12px; font-size:11px; border-radius:9px; }
.mcp-top-header .app-download-close { align-self:center; margin:0 -4px 0 0; }
@media (max-width:575px) {
 .mcp-top-header .app-download-inner { min-height:60px; padding:7px 9px; gap:8px; }
 .mcp-top-header .app-download-copy strong { font-size:11px; }
 .mcp-top-header .app-download-button { min-height:32px; padding:7px 10px; }
}
@media (max-width:359px) {
 .app-download-emblem { flex-basis:36px; width:36px; height:36px; }
 .mcp-top-header .app-download-icon { width:36px; height:36px; }
 .mcp-top-header .app-download-copy strong { font-size:10px; }
}
/* Account summary has its own sizing instead of the download card typography. */
.mcp-top-header .member-account-banner .app-download-inner { display:grid; grid-template-columns:36px minmax(0,1fr) minmax(0,1fr) 40px; min-height:72px; padding:10px 12px; gap:10px; }
.mcp-top-header .member-account-banner .app-download-emblem { display:grid; place-items:center; width:36px; height:36px; border:0; border-radius:0; background:none; }
.mcp-top-header .member-account-banner .member-account-icon { font-size:26px; }
.mcp-top-header .member-account-banner .app-download-copy { min-width:0; line-height:1.4; }
.mcp-top-header .member-account-banner .app-download-copy small { display:block; margin:0 0 3px; font-size:11px; line-height:1.3; }
.mcp-top-header .member-account-banner .app-download-copy strong { display:block; font-size:14px; line-height:1.4; letter-spacing:0; }
.mcp-top-header .member-account-banner .member-account-name strong { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.mcp-top-header .member-account-banner .member-account-balance strong { white-space:normal; overflow-wrap:anywhere; font-variant-numeric:tabular-nums; }
.mcp-top-header .member-account-banner .member-account-refresh { display:grid; place-items:center; width:40px; min-width:40px; height:44px; padding:0; border:1px solid rgba(var(--download-rgb,221,174,72),.35); border-radius:10px; background:rgba(var(--download-rgb,221,174,72),.08); font-size:16px; text-decoration:none; }
@media (max-width:359px) {
 .mcp-top-header .member-account-banner .app-download-inner { grid-template-columns:30px minmax(0,1fr) minmax(0,1fr) 36px; gap:7px; padding:9px 8px; }
 .mcp-top-header .member-account-banner .app-download-emblem { width:30px; height:34px; }
 .mcp-top-header .member-account-banner .app-download-copy strong { font-size:12px; }
 .mcp-top-header .member-account-banner .member-account-refresh { width:36px; min-width:36px; }
}
/* Sidebar choreography restarts whenever the panel opens. */
@media (prefers-reduced-motion:no-preference) {
 #mySidenav.mobile-nav-open .sidenav-profile-header { animation:side-profile-in .65s cubic-bezier(.16,1,.3,1) both; }
 #mySidenav.mobile-nav-open > .sidebarmenuinfosaldo { animation:side-row-in .65s .1s cubic-bezier(.16,1,.3,1) both; }
 #mySidenav.mobile-nav-open .side_navigation .nav-item { animation:side-row-in .65s calc(.15s + var(--side-delay,0ms)) cubic-bezier(.16,1,.3,1) both; }
 #mySidenav.mobile-nav-open .sidebarmenuinfo i { animation:side-avatar 4s ease-in-out infinite; }
 #mySidenav.mobile-nav-open .sidebarmenuinfosaldo a > i { animation:side-float 3.4s ease-in-out infinite; }
 #mySidenav.mobile-nav-open .sidebarmenuoptionlist { animation-duration:3.7s; animation-timing-function:ease-in-out; animation-iteration-count:infinite; animation-delay:var(--icon-delay,0s); transform-origin:center; }
 #mySidenav.mobile-nav-open [data-side-motion="float"] { animation-name:side-float; }
 #mySidenav.mobile-nav-open [data-side-motion="wiggle"] { animation-name:side-wiggle; }
 #mySidenav.mobile-nav-open [data-side-motion="bounce"] { animation-name:side-bounce; }
 #mySidenav.mobile-nav-open [data-side-motion="search"] { animation-name:side-search; }
 #mySidenav.mobile-nav-open [data-side-motion="ring"] { animation-name:side-ring; }
 #mySidenav.mobile-nav-open [data-side-motion="flip"] { animation-name:side-flip; }
 #mySidenav.mobile-nav-open [data-side-motion="pulse"] { animation-name:side-pulse; }
 #mySidenav.mobile-nav-open [data-side-motion="spin"] { animation-name:side-spin; animation-duration:9s; }
 #mySidenav .closebtn { transition:transform .3s ease,color .3s ease; }
 #mySidenav .closebtn:hover { transform:rotate(90deg); color:#fff6d6; }
 #mySidenav .side_navigation .nav-link { position:relative; overflow:hidden; transition:background .25s ease,box-shadow .25s ease,border-color .25s ease; }
 #mySidenav .side_navigation .nav-link::after { content:none; background:none; }
 #mySidenav .side_navigation .nav-link:hover { border-color:#efce7e99; box-shadow:inset 0 0 24px #e6b34315; }
}
#mySidenav .sidebarmenuoptionlist { display:inline-block; width:20px; text-align:center; }
@keyframes side-profile-in { from { opacity:0; transform:translateY(-22px) scale(.97); } to { opacity:1; transform:none; } }
@keyframes side-row-in { from { opacity:0; transform:translateX(45px) scale(.96); } to { opacity:1; transform:none; } }
@keyframes side-avatar { 0%,100% { transform:translateY(0) rotateY(0); } 50% { transform:translateY(-3px) rotateY(18deg); } }
@keyframes side-float { 0%,100% { transform:translateY(0); } 50% { transform:translateY(-3px); } }
@keyframes side-wiggle { 0%,60%,100% { transform:rotate(0); } 15% { transform:rotate(-14deg) scale(1.12); } 30% { transform:rotate(12deg); } 45% { transform:rotate(-6deg); } }
@keyframes side-bounce { 0%,55%,100% { transform:translateY(0) scale(1); } 20% { transform:translateY(-4px) scale(1.08); } 35% { transform:translateY(1px) scale(.95); } }
@keyframes side-search { 0%,100% { transform:translate(0,0); } 25% { transform:translate(3px,-2px) rotate(8deg); } 60% { transform:translate(-2px,1px) rotate(-8deg); } }
@keyframes side-ring { 0%,45%,100% { transform:rotate(0); } 10%,25% { transform:rotate(-18deg); } 18%,33% { transform:rotate(18deg); } }
@keyframes side-flip { 0%,20%,85%,100% { transform:perspective(200px) rotateY(0); } 50% { transform:perspective(200px) rotateY(35deg) scale(1.1); } }
@keyframes side-pulse { 0%,100% { transform:scale(1); text-shadow:0 0 0 transparent; } 50% { transform:scale(1.12); text-shadow:0 0 12px #eac26099; } }
@keyframes side-spin { to { transform:rotate(360deg); } }
@keyframes side-shine { to { transform:translateX(70%); } }
/* Cinematic sidebar opening: portrait, opposing actions, then a wave of cards. */
@media (prefers-reduced-motion:no-preference) {
 #mySidenav.mobile-nav-open .sidenav-profile-header {
  position:relative; overflow:hidden; animation:side-profile-cinema .95s cubic-bezier(.16,1,.3,1) both;
 }
 #mySidenav.mobile-nav-open .sidenav-profile-header::after {
  content:none; background:none;
 }
 #mySidenav.mobile-nav-open .sidebarmenuinfo {
  animation:side-portrait-land 1.1s .08s cubic-bezier(.16,1,.3,1) both;
 }
 #mySidenav.mobile-nav-open .sidebarmenutitle { animation:side-caption-reveal .8s .2s cubic-bezier(.16,1,.3,1) both; }
 #mySidenav.mobile-nav-open .sidenav-profile-header small { display:block; animation:side-caption-reveal .8s .28s cubic-bezier(.16,1,.3,1) both; }
 #mySidenav.mobile-nav-open > .sidebarmenuinfosaldo { animation:side-caption-reveal .7s .18s cubic-bezier(.16,1,.3,1) both; }
 #mySidenav.mobile-nav-open > .sidebarmenuinfosaldo > .row > :first-child { animation:side-action-left .9s .24s cubic-bezier(.16,1,.3,1) both; }
 #mySidenav.mobile-nav-open > .sidebarmenuinfosaldo > .row > :last-child { animation:side-action-right .9s .24s cubic-bezier(.16,1,.3,1) both; }
 #mySidenav.mobile-nav-open .side_navigation .nav-item {
  transform-origin:100% 50%;
  animation:side-card-cinema .95s calc(.28s + var(--side-delay,0ms)) cubic-bezier(.16,1,.3,1) both;
 }
 #mySidenav.mobile-nav-open .closebtn { animation:side-close-land .85s .35s cubic-bezier(.16,1,.3,1) both; }
}
@keyframes side-profile-cinema {
 from { opacity:0; transform:perspective(900px) translateY(-25px) rotateX(-12deg) scale(.95); }
 to { opacity:1; transform:perspective(900px) translateY(0) rotateX(0) scale(1); }
}
@keyframes side-card-cinema {
 0% { opacity:0; transform:perspective(700px) translateX(85px) translateY(16px) rotateY(-32deg) scale(.86); filter:blur(5px); }
 68% { opacity:1; transform:perspective(700px) translateX(-4px) translateY(0) rotateY(2deg) scale(1.01); filter:blur(0); }
 100% { opacity:1; transform:perspective(700px) translateX(0) translateY(0) rotateY(0) scale(1); filter:blur(0); }
}
@keyframes side-portrait-land {
 0% { opacity:0; transform:perspective(400px) rotateY(-80deg) scale(.4); box-shadow:0 0 0 #edc66e00; }
 65% { opacity:1; transform:perspective(400px) rotateY(8deg) scale(1.08); box-shadow:0 0 30px #edc66e66; }
 100% { opacity:1; transform:perspective(400px) rotateY(0) scale(1); box-shadow:0 4px 12px #0006; }
}
@keyframes side-caption-reveal { from { opacity:0; transform:translateY(12px); clip-path:inset(100% 0 0); } to { opacity:1; transform:translateY(0); clip-path:inset(0); } }
@keyframes side-action-left { from { opacity:0; transform:translateX(-65px); } to { opacity:1; transform:translateX(0); } }
@keyframes side-action-right { from { opacity:0; transform:translateX(65px); } to { opacity:1; transform:translateX(0); } }
@keyframes side-opening-light { 0% { opacity:0; transform:translateX(-65%); } 25% { opacity:1; } 100% { opacity:0; transform:translateX(65%); } }
@keyframes side-close-land { from { opacity:0; transform:rotate(-135deg) scale(.25); } to { opacity:1; transform:rotate(0) scale(1); } }
/* Login: entrance choreography is triggered when this card reaches the viewport. */
.home-login-card::after {
 content:''; position:absolute; inset:0; border-radius:inherit; pointer-events:none;
 background:radial-gradient(ellipse at 12% 10%,#f8d8781a,transparent 48%),linear-gradient(115deg,transparent 38%,#ffe9ae0d 48%,transparent 58%);
 background-size:180% 180%,250% 100%; opacity:0;
}
.home-login-card .home-login-heading,.home-login-card .home-login-form { position:relative; z-index:1; }
.home-login-field > i { transition:color .3s ease,text-shadow .3s ease; }
.home-login-field:focus-within > i { color:#fff1b6; text-shadow:0 0 12px #edc66e88; }
.home-login-actions .btn { position:relative; overflow:hidden; }
.home-login-submit::after {
 content:''; position:absolute; inset:-50% -100%; pointer-events:none;
 background:linear-gradient(115deg,transparent 43%,#fff7dc66 50%,transparent 57%);
 transform:translateX(-65%);
}
@media (prefers-reduced-motion:no-preference) {
 .login-motion-live.home-login-card { animation:homeLoginBorderTravel 8s linear infinite,login-idle-aura 5s ease-in-out infinite; }
 .login-motion-live.home-login-card::after { opacity:1; animation:login-ambient-drift 9s ease-in-out infinite alternate; }
 .login-motion-live .home-login-emblem > i { animation:login-lock-hover 4.2s ease-in-out infinite; }
 .login-motion-live .home-login-field:first-child > i { animation:login-user-idle 5s 1s ease-in-out infinite; }
 .login-motion-live .home-login-field:nth-child(2) > i { animation:login-key-idle 5.5s 1.8s ease-in-out infinite; }
 .login-motion-live .home-login-field:focus-within > i { animation-play-state:paused; }
 .login-motion-live .home-login-submit::after { animation:login-button-shine 6s 2s ease-in-out infinite; }
 .login-motion-live .home-login-submit > i { animation:login-arrow-idle 3.5s ease-in-out infinite; }
 .login-motion-live .home-login-register > i { animation:login-user-idle 5s 1.4s ease-in-out infinite; }
 .login-motion-live .home-login-footnote i { animation:login-shield-idle 4s ease-in-out infinite; }
 .home-login-actions .btn:active { transform:scale(.97); }
}
@keyframes login-idle-aura { 0%,100% { box-shadow:inset 0 1px #fff1c51f,0 8px 24px #0005,0 0 12px #dbab3d12; } 50% { box-shadow:inset 0 1px #fff1c52f,0 8px 24px #0005,0 0 24px #dbab3d38; } }
@keyframes login-ambient-drift { from { background-position:0% 0%,100% 0; } to { background-position:100% 80%,0% 0; } }
@keyframes login-lock-hover { 0%,100% { transform:translateY(0) rotate(-4deg); } 50% { transform:translateY(-3px) rotate(5deg); text-shadow:0 0 14px #fff1b699; } }
@keyframes login-user-idle { 0%,65%,100% { transform:translateY(0) scale(1); } 30% { transform:translateY(-2px) scale(1.12); } }
@keyframes login-key-idle { 0%,65%,100% { transform:rotate(0); } 25% { transform:rotate(-18deg); } 42% { transform:rotate(12deg); } }
@keyframes login-button-shine { 0%,65% { transform:translateX(-65%); opacity:0; } 72% { opacity:1; } 90%,100% { transform:translateX(65%); opacity:0; } }
@keyframes login-arrow-idle { 0%,60%,100% { transform:translateX(0); } 30% { transform:translateX(4px); } }
@keyframes login-shield-idle { 0%,100% { opacity:.7; } 50% { opacity:1; text-shadow:0 0 10px #edc66e88; } }
@media (prefers-reduced-motion:reduce) { .home-login-card::after,.home-login-submit::after { display:none; } }
/* Keep the form steady; the ambient light moves behind it. */
.home-login-card.login-motion-entering { animation:none; }
.home-login-card.login-motion-entering::after {
 opacity:1; background:linear-gradient(110deg,transparent 40%,#ffe8ac24 50%,transparent 60%);
 background-size:250% 100%; animation:login-opening-sweep 1.7s ease-out both;
}
.home-login-field input.form-control { transition:border-color .25s ease,box-shadow .25s ease,background-color .25s ease; }
.home-login-card:focus-within::after { opacity:.35; }
@media (prefers-reduced-motion:no-preference) {
 .home-login-card.login-motion-live:focus-within { animation-play-state:paused; }
 .home-login-card.login-motion-live:focus-within::after,
 .home-login-card.login-motion-live:focus-within .home-login-emblem > i,
 .home-login-card.login-motion-live:focus-within .home-login-submit::after { animation-play-state:paused; }
 .home-login-card.login-motion-live .home-login-emblem {
  animation:login-medallion-breathe 5s ease-in-out infinite;
 }
 .home-login-card.login-motion-live:focus-within .home-login-emblem { animation-play-state:paused; }
}
@keyframes login-opening-sweep { from { background-position:130% 0; opacity:0; } 35% { opacity:1; } to { background-position:-40% 0; opacity:0; } }
@keyframes login-medallion-breathe { 0%,100% { box-shadow:inset 0 1px #fff2c577,0 4px 12px #0005,0 0 12px #e8b84c20; } 50% { box-shadow:inset 0 1px #fff2c5aa,0 4px 12px #0005,0 0 22px #e8b84c55; } }
@media (prefers-reduced-motion:reduce) { .home-login-card.login-motion-entering::after { display:none; } }
/* Keep slot RTP above absolutely positioned artwork and decorative sheen. */
html body .game-cover-frame > .progress.gamertpimgtitle {
 position:absolute; z-index:4; left:3px; right:3px; bottom:3px; top:auto;
 width:auto; height:18px; margin:0; border-radius:0 0 5px 5px;
 background:#17130ee6; pointer-events:none;
}
html body .game-cover-frame > .gamertpimgtitle .progress-bar {
 min-height:18px; font-size:10px; line-height:18px; font-weight:800;
 color:#fff; text-shadow:0 1px 2px #000; white-space:nowrap;
}
/* RTP motion preserves the configured percentage and the true bar width. */
html body .game-cover-frame > .gamertpimgtitle { isolation:isolate; box-shadow:inset 0 1px #fff3,0 -2px 8px #0005; }
html body .game-cover-frame > .gamertpimgtitle .progress-bar {
 position:relative; overflow:hidden; transform-origin:left center;
 background-size:200% 100%;
}
html body .game-cover-frame > .gamertpimgtitle .progress-bar::after {
 content:''; position:absolute; inset:0; pointer-events:none;
 background:linear-gradient(110deg,transparent 25%,#fff9 50%,transparent 75%);
 transform:translateX(-130%); opacity:0;
}
@media (prefers-reduced-motion:no-preference) {
 html body .game-cover-frame > .gamertpimgtitle .progress-bar {
  animation:rtp-bar-entrance .9s cubic-bezier(.16,1,.3,1) both,rtp-bar-breathe 4s 1s ease-in-out infinite;
 }
 html body .game-cover-frame > .gamertpimgtitle .progress-bar.game-rtp-rgb {
  animation:rtp-bar-entrance .9s cubic-bezier(.16,1,.3,1) both,gameRtpRgbTravel 6s linear infinite,rtp-bar-breathe 4s 1s ease-in-out infinite;
 }
 html body .game-cover-frame > .gamertpimgtitle .progress-bar::after { animation:rtp-bar-shimmer 4.8s 1s ease-in-out infinite; }
}
@keyframes rtp-bar-entrance { from { clip-path:inset(0 100% 0 0); } to { clip-path:inset(0); } }
@keyframes rtp-bar-breathe { 0%,100% { box-shadow:inset 0 1px #fff2,inset 0 -1px #0002; } 50% { box-shadow:inset 0 1px #fff9,inset 0 -1px #0002; } }
@keyframes rtp-bar-shimmer { 0%,50% { transform:translateX(-130%); opacity:0; } 60% { opacity:.65; } 83%,100% { transform:translateX(130%); opacity:0; } }
@media (prefers-reduced-motion:reduce) {
 html body .game-cover-frame > .gamertpimgtitle .progress-bar { animation:none !important; clip-path:none; }
 html body .game-cover-frame > .gamertpimgtitle .progress-bar::after { display:none; }
}
/* Larger live-casino covers, keeping three cards per mobile row. */
@media (max-width:575px) {
 .casino-game-column { flex:0 0 33.333333%; max-width:33.333333%; padding:3px !important; }
 .casino-game-column .casino-game-frame { padding:0; }
 .casino-game-column .casino-game-frame .gamenormalimg { display:block; width:100% !important; max-width:100%; height:auto !important; min-height:0 !important; aspect-ratio:1; object-fit:cover; }
}
/* Keep login glyphs centered independently of their idle transforms. */
.home-login-card .home-login-field > i {
 top:50%; left:13px; width:18px; height:18px;
 display:grid; place-items:center; line-height:1; text-align:center;
 translate:0 -50%; transform:none; transform-origin:center;
}
.home-login-card .home-login-field input.form-control { padding-left:42px; }
/* Play controls must sit above the cover, RTP and decorative effects. */
.game-item > .game-cover-frame { isolation:isolate; z-index:0; }
.game-item :is(.game-btn,.game-btn-sm) { z-index:10; }
.game-item :is(.game-btn,.game-btn-sm) > a { position:relative; z-index:1; }
