@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");
:root,
:root[data-theme=rm] {
  --c-primary: #ed1c24;
  --c-primary-light: #f53a3a;
  --c-primary-mid: #e9242c;
  --c-primary-dark: #cb0c14;
  --c-primary-border: #ed1c24;
  --rgb-primary: 237 28 36;
  --rgb-primary-light: 245 58 58;
  --rgb-primary-mid: 233 36 44;
  --rgb-primary-dark: 203 12 20;
  --c-gradient: linear-gradient(75deg, #f53a3a, #cb0c14);
  --c-gradient-btn: linear-gradient(79deg, #f53a3a 0%, #e9242c 49.5%, #cb0c14 100%);
  --c-gradient-otp: linear-gradient(135deg, #f53a3a, #cb0c14);
  --c-gradient-submit: linear-gradient(90deg, #f53a3a, #cb0c14);
  --c-gradient-me: linear-gradient(160deg, #dc2626, #9f1239);
  --c-gradient-light: linear-gradient(138deg, #fffcfc, #ffffff);
  --c-gradient-hero: radial-gradient(120% 160% at 12% -40%, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0) 55%), linear-gradient(180deg, #f91f2a 0%, #6b0b11 100%);
  --c-wash: #fff6f6;
  --c-tint: #fff0f0;
  --c-tint-strong: #fde8e8;
  --c-line: #fad3d4;
  --c-line-strong: #f5b8ba;
  --c-deep: #7f1d1d;
  --c-deep-strong: #4a1d1f;
}

:root[data-theme=usdt] {
  --c-primary: #089195;
  --c-primary-light: #73dbd9;
  --c-primary-mid: #0ab5b4;
  --c-primary-dark: #067b7e;
  --c-primary-border: #00c2bf;
  --rgb-primary: 8 145 149;
  --rgb-primary-light: 115 219 217;
  --rgb-primary-mid: 10 181 180;
  --rgb-primary-dark: 6 123 126;
  --c-gradient: linear-gradient(75deg, #73dbd9, #089195);
  --c-gradient-btn: linear-gradient(335deg, #73dbd9 0%, #0ab5b4 49.5%, #089195 100%);
  --c-gradient-otp: linear-gradient(135deg, #73dbd9, #089195);
  --c-gradient-submit: linear-gradient(90deg, #73dbd9, #089195);
  --c-gradient-me: linear-gradient(160deg, #0ab5b4, #065f61);
  --c-gradient-light: linear-gradient(138deg, #e7f9f9, #ffffff);
  --c-gradient-hero: radial-gradient(120% 160% at 12% -40%, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0) 55%), linear-gradient(79deg, #0b8f93 0%, #04565a 100%);
  --c-wash: #f3fdfd;
  --c-tint: #e8f9f9;
  --c-tint-strong: #d6f3f2;
  --c-line: #b5e6e4;
  --c-line-strong: #93dbd9;
  --c-deep: #0b4a4c;
  --c-deep-strong: #0a3b3d;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
}

a {
  text-decoration: none;
}

.row {
  display: flex;
}

.col {
  display: flex;
  flex-direction: column;
}

body {
  position: relative;
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  background: white;
}
body::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background-image: url("../../../resources/bg.webp");
  background-size: contain;
  background-repeat: no-repeat;
  z-index: -1;
}

header {
  position: sticky;
  top: 0;
  width: 100%;
  background: #fff;
  transition: all 0.4s ease-in-out;
  z-index: 80;
}
header .header-wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px;
  gap: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: row;
  height: 76px;
}
header .header-wrap > a {
  width: 100%;
  max-width: 140px;
}
header .header-wrap > a img {
  width: 100%;
  height: 100%;
}
header .header-wrap .nav {
  gap: 12px;
  margin-left: auto;
}
@media (max-width: 1100px) {
  header .header-wrap .nav {
    gap: 8px;
  }
}
header .header-wrap .nav a.nav-link {
  font-size: 12px;
  color: #414042;
  font-weight: 700;
  transition: all 0.4s ease-in-out;
  position: relative;
  white-space: nowrap;
}
header .header-wrap .nav a.nav-link:hover, header .header-wrap .nav a.nav-link.active {
  color: var(--c-primary);
}
header .header-wrap .nav a.nav-link.nav-vip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  z-index: 0;
  color: #3d2905;
}
header .header-wrap .nav a.nav-link.nav-vip::after {
  content: "";
  position: absolute;
  inset: -4px -9px;
  z-index: -1;
  border-radius: 999px;
  background: linear-gradient(180deg, #fffdf4 0%, #f2d78f 52%, #dcb75f 100%);
  animation: nav-vip-pulse 2.4s ease-in-out infinite;
}
header .header-wrap .nav a.nav-link.nav-vip::before {
  content: "";
  position: absolute;
  inset: -4px -9px;
  z-index: -1;
  border-radius: 999px;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 0.9) 50%, rgba(255, 255, 255, 0) 60%);
  background-size: 240% 100%;
  background-position: 150% 0;
  animation: nav-vip-shine 3s ease-in-out infinite;
}
header .header-wrap .nav a.nav-link.nav-vip i {
  font-size: 10px;
  color: #3d2905;
  animation: nav-vip-crown 3.6s ease-in-out infinite;
}
header .header-wrap .nav a.nav-link.nav-vip:hover, header .header-wrap .nav a.nav-link.nav-vip.active {
  color: #3d2905;
}
header .header-wrap .nav a.nav-link.nav-vip:hover::after, header .header-wrap .nav a.nav-link.nav-vip.active::after {
  animation-duration: 1.4s;
}
header .header-wrap .nav a.nav-link.nav-vip:hover::before, header .header-wrap .nav a.nav-link.nav-vip.active::before {
  animation-duration: 1.1s;
}
header .header-wrap .nav a.nav-link.nav-vip:hover i, header .header-wrap .nav a.nav-link.nav-vip.active i {
  transform: scale(1.12);
}
header .header-right {
  align-items: center;
  gap: 2px;
}
header .login-link {
  display: flex;
  align-items: center;
  padding: 0 8px;
  font-size: 12px;
  font-weight: 700;
  color: #1a1a1a;
  cursor: pointer;
}
header .login-link:hover {
  opacity: 0.7;
}
header .join-btn {
  background: var(--c-gradient-btn);
  border: 1px solid var(--c-primary-light);
  border-radius: 8px;
  cursor: pointer;
  color: #FFFFFF;
}
header .lang-btn {
  display: flex;
  align-items: center;
  margin-left: 8px;
  cursor: pointer;
}
header .lang-btn .lang-flag {
  width: 22px;
  padding: 1px;
  background: #fff;
  border-radius: 999px;
}
header.active {
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px;
}

.wrap {
  width: 100%;
  height: -moz-fit-content;
  height: fit-content;
  max-width: 1200px;
}

footer {
  width: 100%;
  margin-top: auto;
  padding: 28px 8px 16px;
  background: #0f1729;
}
footer .footer-wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 12px;
}
footer .footer-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 24px;
}
@media (max-width: 900px) {
  footer .footer-row {
    flex-direction: column;
  }
}
footer .footer-col {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 8px;
  min-width: 140px;
}
footer .footer-col a {
  font-size: 12px;
  color: #a7a9ac;
  transition: all 0.4s ease-in-out;
}
footer .footer-col a:hover {
  color: #FFFFFF;
}
footer .footer-col.brand-col {
  flex: 1.4;
  min-width: 160px;
}
footer .footer-col.social-col {
  flex: 0 0 auto;
  min-width: 120px;
}
footer .footer-logo {
  width: 110px;
  margin-bottom: 4px;
}
footer .footer-stat-number {
  font-size: 20px;
  font-weight: 800;
  color: var(--c-primary);
}
footer .footer-stat-label {
  font-size: 10px;
  color: #a7a9ac;
}
footer .footer-title {
  margin-bottom: 2px;
  font-size: 12px;
  font-weight: 700;
  color: #FFFFFF;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
footer .footer-badge-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
footer .footer-badge-row:last-child {
  padding-right: 28px;
}
footer .footer-badge-row img {
  width: auto;
  height: 21px;
}
footer .footer-badge-row img.security {
  width: auto;
  height: 27px;
}
footer .footer-social-row {
  display: flex;
  gap: 8px;
}
footer .footer-social-row a {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  width: 30px;
  height: 30px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  font-size: 12px;
  color: #FFFFFF;
  transition: all 0.2s ease;
}
footer .footer-social-row a:hover {
  background: var(--c-primary);
  color: #FFFFFF;
}
footer .footer-bottom {
  width: 100%;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 10px;
  color: #6d7280;
  text-align: center;
}

.event-popup {
  display: none;
  z-index: 99;
}
.event-popup .event-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.65);
  z-index: 99;
}

.event-popup-container {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 810px;
  padding: 27px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
  z-index: 99;
}

.event-popup-close {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  position: absolute;
  top: -14px;
  right: -14px;
  width: 36px;
  height: 36px;
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
  color: #414042;
  cursor: pointer;
  transition: all 0.4s ease-in-out;
}
.event-popup-close:hover {
  background: var(--c-primary);
  color: #FFFFFF;
}

.event-popup-header {
  margin-bottom: 20px;
  text-align: center;
}
.event-popup-header .event-popup-title {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  gap: 12px;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 3px;
  color: #1a1a1a;
}
.event-popup-header .event-popup-title-icon {
  font-size: 14px;
  color: #d4a64d;
}
.event-popup-header .event-popup-underline {
  display: block;
  width: 40px;
  height: 3px;
  margin: 8px auto 0;
  background: #d4a64d;
  border-radius: 999px;
}

.event-popup-swiper-wrap {
  display: flex;
  align-items: center;
  position: relative;
}
.event-popup-swiper-wrap .eventPopupSwiper {
  width: 93%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
}
.event-popup-swiper-wrap .eventPopupSwiper .swiper-slide {
  display: flex;
}
.event-popup-swiper-wrap .eventPopupSwiper .swiper-pagination-bullet {
  opacity: 0.6;
  background: #b3b3b3;
  transition: all 0.4s ease-in-out;
}
.event-popup-swiper-wrap .eventPopupSwiper .swiper-pagination-bullet-active {
  background: var(--c-primary);
  opacity: 1;
  width: 22px;
  border-radius: 999px;
}
.event-popup-swiper-wrap .event-popup-img {
  display: block;
  width: 100%;
  margin: 0 auto;
  border-radius: 16px;
}

.event-popup-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  color: #414042;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10;
}
.event-popup-nav.event-popup-prev {
  left: -21px;
}
.event-popup-nav.event-popup-next {
  right: -21px;
}
.event-popup-nav:hover {
  background: var(--c-primary);
  color: #FFFFFF;
}

.event-popup-dont-show {
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 12px 0;
}

.event-popup-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  transition: all 0.4s ease-in-out;
}
.event-popup-checkbox:hover {
  opacity: 0.6;
}
.event-popup-checkbox .event-popup-checkbox-input {
  display: none;
}
.event-popup-checkbox .event-popup-checkbox-box {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  flex-shrink: 0;
  position: relative;
  width: 16px;
  height: 16px;
  background: #fff;
  border: 2px solid var(--c-primary);
  border-radius: 4px;
  transition: background 0.2s;
}
.event-popup-checkbox .event-popup-checkbox-input:checked + .event-popup-checkbox-box {
  background: var(--c-primary);
}
.event-popup-checkbox .event-popup-checkbox-input:checked + .event-popup-checkbox-box::after {
  content: "";
  width: 5px;
  height: 9px;
  margin-top: -2px;
  border: solid #FFFFFF;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) translate(-1px, -1px);
}
.event-popup-checkbox .event-popup-checkbox-text {
  font-size: 12px;
  font-weight: 600;
  color: var(--c-primary);
}

.event-popup-trust-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: row;
  gap: 12px;
  width: 100%;
  margin-top: 4px;
  padding-top: 8px;
  border-top: 1px solid #eeeeee;
}
@media (max-width: 992px) {
  .event-popup-trust-row {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 16px;
  }
}

.event-popup-trust-block {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}
.event-popup-trust-block .event-popup-trust-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  width: 38px;
  min-width: 38px;
  height: 38px;
  margin-top: 1px;
  border: 1.5px solid var(--c-line-strong);
  border-radius: 999px;
  font-size: 14px;
  color: var(--c-primary);
}
.event-popup-trust-block .event-popup-trust-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.event-popup-trust-block .event-popup-trust-title {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.3px;
  line-height: 1.3;
  color: #1a1a1a;
}
.event-popup-trust-block .event-popup-trust-desc {
  font-size: 10px;
  line-height: 1.4;
  color: #8c8f93;
}

@keyframes nav-vip-shine {
  0%, 58% {
    background-position: 150% 0;
  }
  100% {
    background-position: -50% 0;
  }
}
@keyframes nav-vip-pulse {
  0%, 100% {
    box-shadow: 0 2px 6px rgba(190, 150, 70, 0.4), 0 0 0 0 rgba(220, 183, 95, 0.6), inset 0 0 0 1px rgba(255, 255, 255, 0.55);
  }
  55% {
    box-shadow: 0 3px 10px rgba(190, 150, 70, 0.55), 0 0 0 5px rgba(220, 183, 95, 0), inset 0 0 0 1px rgba(255, 255, 255, 0.8);
  }
}
@keyframes nav-vip-crown {
  0%, 72%, 100% {
    transform: translateY(0) rotate(0);
  }
  80% {
    transform: translateY(-2px) rotate(-9deg);
  }
  88% {
    transform: translateY(-1px) rotate(6deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  a.nav-link.nav-vip::before,
  a.nav-link.nav-vip::after,
  a.nav-link.nav-vip i {
    animation: none;
  }
  a.nav-link.nav-vip::before {
    opacity: 0;
  }
}
.login-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  width: 100%;
  max-width: 400px;
  margin: auto;
  padding: 28px 28px 24px;
  background: #fff;
  border-radius: 16px;
}

.login-card .login-title {
  width: 100%;
  margin-bottom: 20px;
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
}

.login-card .login-form {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.login-card .login-field {
  display: flex;
  align-items: center;
  width: 100%;
  margin-bottom: 12px;
  padding: 12px;
  background: #f7f7f7;
  border: 1.5px solid #e0e0e0;
  border-radius: 8px;
  transition: border-color 0.2s, background 0.2s;
}

.login-card .login-field:focus-within {
  border-color: var(--c-primary-mid);
  background: #fff;
}

.login-card .login-field-icon {
  flex-shrink: 0;
  margin-right: 12px;
  font-size: 14px;
  color: var(--c-primary-mid);
}

.login-card .login-input {
  flex: 1;
  width: 100%;
  padding: 0;
  background: transparent;
  border: none;
  outline: none;
  font-size: 13px;
  font-weight: 600;
  color: #1a1a1a;
}

.login-card .login-input::-moz-placeholder {
  font-weight: 500;
  color: #b0b3b8;
}

.login-card .login-input::placeholder {
  font-weight: 500;
  color: #b0b3b8;
}

.login-card .login-pw-toggle {
  flex-shrink: 0;
  margin-left: 8px;
  font-size: 14px;
  color: var(--c-primary-mid);
  cursor: pointer;
  transition: color 0.2s;
}

.login-card .login-pw-toggle:hover {
  color: var(--c-primary-dark);
}

.login-card .login-forgot {
  width: 100%;
  margin-bottom: 20px;
  text-align: right;
}

.login-card .login-forgot .forgot-link {
  font-size: 12px;
  color: var(--c-primary-mid);
  text-decoration: underline;
  cursor: pointer;
}

.login-card .login-submit-btn {
  width: 100%;
  padding: 12px;
  background: var(--c-gradient-btn);
  border: none;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.login-card .login-submit-btn:hover {
  opacity: 0.88;
  box-shadow: 0 6px 18px rgb(var(--rgb-primary-dark)/0.45);
}

.login-card .login-submit-btn:active {
  transform: scale(0.98);
}

.login-card .login-divider {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  gap: 8px;
  width: 100%;
  margin: 20px 0 16px;
  font-size: 12px;
  color: #b0b3b8;
}

.login-card .login-divider::before, .login-card .login-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #e5e7eb;
}

.login-card .login-social {
  display: flex;
  justify-content: center;
  gap: 16px;
  width: 100%;
  margin-bottom: 20px;
}

.login-card .login-register {
  width: 100%;
  margin-top: 12px;
  margin-bottom: 16px;
  font-size: 12px;
  color: #6b7280;
  text-align: center;
}

.login-card .login-register a {
  font-weight: 600;
  color: var(--c-primary-mid);
}

.login-card .login-register a:hover {
  color: var(--c-primary-dark);
  text-decoration: underline;
}

.login-card .login-contact {
  width: 100%;
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px solid #f0f0f0;
  text-align: center;
  line-height: 1.9;
}

.login-card .login-contact p {
  font-size: 10px;
  color: #a0a3a8;
}

.login-card .login-contact a {
  color: var(--c-primary-mid);
}

.login-card .login-contact a:hover {
  color: var(--c-primary-dark);
  text-decoration: underline;
}

.cover.reg-popup {
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.6);
}

.popup-close {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  position: absolute;
  top: -14px;
  right: -14px;
  width: 36px;
  height: 36px;
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
  color: #414042;
  cursor: pointer;
  transition: all 0.4s ease-in-out;
  z-index: 2;
}

.popup-close:hover {
  background: var(--c-primary);
  color: #FFFFFF;
}

.reg-modal {
  position: relative;
  width: 100%;
  max-width: 400px;
  max-height: 90vh;
  padding: 28px 28px 24px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.25);
}

.reg-modal h2 {
  margin-bottom: 20px;
  font-size: 20px;
  font-weight: 700;
  color: #111111;
}

@media (max-height: 700px) {
  .reg-modal {
    padding: 24px 20px 16px;
  }
  .reg-modal h2 {
    margin-bottom: 12px;
    font-size: 16px;
  }
}
.reg-field-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 8px;
}

.reg-phone-wrap, .reg-input-wrap, .reg-select-wrap {
  display: flex;
  align-items: center;
  height: 42px;
  padding: 0 12px;
  background: #f7f7f7;
  border: 1.5px solid #e0e0e0;
  border-radius: 8px;
  transition: border-color 0.2s, background 0.2s;
}

.reg-phone-wrap input, .reg-input-wrap input, .reg-select-wrap input {
  flex: 1;
  width: 100%;
  height: 100%;
  background: transparent;
  border: none;
  outline: none;
  font-size: 13px;
  font-weight: 600;
  color: #111111;
}

.reg-phone-wrap input::-moz-placeholder, .reg-input-wrap input::-moz-placeholder, .reg-select-wrap input::-moz-placeholder {
  color: #aaaaaa;
  font-weight: 500;
}

.reg-phone-wrap input::placeholder, .reg-input-wrap input::placeholder, .reg-select-wrap input::placeholder {
  color: #aaaaaa;
  font-weight: 500;
}

.reg-phone-wrap:focus-within, .reg-input-wrap:focus-within, .reg-select-wrap:focus-within {
  border-color: var(--c-primary-mid);
  background: #fff;
}

.reg-select-wrap {
  gap: 8px;
  position: relative;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

.reg-select-wrap .currency-label {
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.reg-select-wrap .currency-name {
  flex: 1;
  font-size: 13px;
  color: #111111;
}

.reg-select-wrap .reg-select-chevron {
  flex-shrink: 0;
  font-size: 13px;
  color: var(--c-primary-mid);
  transition: transform 0.2s;
}

.reg-select-wrap .reg-select-options {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--c-primary-light);
  border-top: none;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 8px 20px rgb(var(--rgb-primary-mid)/0.12);
  z-index: 100;
}

.reg-select-wrap .reg-select-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px;
  cursor: pointer;
  transition: background 0.15s;
  font-size: 13px;
}

.reg-select-wrap .reg-select-option:hover {
  background: var(--c-tint);
}

.reg-select-wrap .reg-select-option.selected {
  background: var(--c-tint-strong);
}

.reg-select-wrap .opt-code {
  min-width: 36px;
  font-size: 13px;
  font-weight: 700;
}

.reg-select-wrap .opt-name {
  font-size: 13px;
  color: #555555;
}

.reg-select-wrap .currency-label.myr,
.reg-select-wrap .opt-code.myr {
  color: #0060bc;
}

.reg-select-wrap .currency-label.usd,
.reg-select-wrap .opt-code.usd {
  color: #47ae95;
}

.reg-select-wrap.open {
  border-radius: 8px 8px 0 0;
}

.reg-select-wrap.open .reg-select-chevron {
  transform: rotate(180deg);
}

.reg-select-wrap.open .reg-select-options {
  display: block;
}

.reg-input-wrap {
  gap: 8px;
  transition: border 0.2s;
}

.reg-input-wrap .field-icon {
  flex-shrink: 0;
  margin-right: 4px;
  font-size: 14px;
  color: var(--c-primary-mid);
}

.reg-input-wrap:focus-within .field-icon {
  color: var(--c-primary-mid);
}

.reg-input-wrap .reg-pw-toggle {
  flex-shrink: 0;
  font-size: 14px;
  color: var(--c-primary-mid);
  cursor: pointer;
  transition: color 0.2s;
}

.reg-input-wrap .reg-pw-toggle:hover {
  color: var(--c-primary-dark);
}

.reg-phone-wrap {
  gap: 8px;
}

.reg-phone-wrap .reg-phone-prefix {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 4px;
  padding-right: 8px;
  border-right: 1px solid #dddddd;
}

.reg-phone-wrap .reg-phone-prefix img {
  width: 25px;
  height: 25px;
  border-radius: 2px;
  -o-object-fit: cover;
  object-fit: cover;
}

.reg-phone-wrap .reg-phone-prefix span {
  font-size: 13px;
  font-weight: 600;
  color: #333333;
}

.reg-otp-row {
  display: flex;
  align-items: stretch;
  gap: 8px;
}

.reg-otp-row .reg-input-wrap {
  flex: 1;
}

.reg-otp-btn {
  height: 42px;
  padding: 0 16px;
  background: var(--c-gradient-otp);
  border: none;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  color: #FFFFFF;
  white-space: nowrap;
  cursor: pointer;
  transition: opacity 0.2s, box-shadow 0.2s;
}

.reg-otp-btn:hover:not(:disabled) {
  opacity: 0.88;
  box-shadow: 0 4px 12px rgb(var(--rgb-primary-dark)/0.35);
}

.reg-otp-btn:disabled {
  background: #cccccc;
  box-shadow: none;
  cursor: not-allowed;
}

.reg-tnc-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 8px 0 16px;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.4;
  color: #555555;
}

.reg-tnc-row a {
  font-weight: 600;
  color: var(--c-primary-mid);
}

.reg-tnc-row a:hover {
  color: var(--c-primary-dark);
  text-decoration: underline;
}

.reg-submit-btn {
  width: 100%;
  background: var(--c-gradient-submit);
  border: none;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  color: #FFFFFF;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 12px;
  display: flex;
  text-align: center;
  justify-content: center;
}

.reg-submit-btn:hover:not(:disabled) {
  opacity: 0.88;
  box-shadow: 0 6px 18px rgb(var(--rgb-primary-dark)/0.45);
}

.reg-submit-btn:disabled {
  background: #cccccc;
  box-shadow: none;
  cursor: not-allowed;
}

@media (max-height: 700px) {
  .reg-submit-btn {
    height: 42px;
  }
}
.reg-divider {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 16px 0 12px;
  font-size: 12px;
  color: #aaaaaa;
}

.reg-divider::before, .reg-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #e0e0e0;
}

.reg-social-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 16px;
}

.reg-login-link {
  margin-top: 12px;
  font-size: 12px;
  color: #666666;
  text-align: center;
}

.reg-login-link a {
  color: var(--c-primary);
  font-weight: 600;
}

.reg-login-link .popup-target {
  margin-left: 4px;
  font-weight: 600;
  color: var(--c-primary-mid);
  cursor: pointer;
}

.reg-login-link .popup-target:hover {
  color: var(--c-primary-dark);
  text-decoration: underline;
}

.preload {
  position: fixed;
  width: 100vw;
  height: 100svh;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  z-index: 99;
  background: rgba(255, 255, 255, 0.9019607843);
}

.preload img {
  width: 100%;
  max-width: 180px;
  margin: auto;
}

.auth-tabs {
  display: flex;
  align-items: stretch;
  gap: 3px;
  width: 100%;
  padding: 3px;
  background: #f4f5f6;
  border-radius: 999px;
}

.auth-tabs .auth-tab {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  gap: 8px;
  flex: 1;
  padding: 8px 2px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  color: #8c8f93;
  text-align: center;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  transition: all 0.4s ease-in-out;
  border: 0;
}

.auth-tabs .auth-tab:hover:not(.active) {
  color: #1a1a1a;
}

.auth-tabs .auth-tab.active {
  background: var(--c-gradient-btn);
  color: #FFFFFF;
}

.auth-tabs {
  margin-bottom: 20px;
}

.auth-tabs .auth-tab {
  padding: 10px 2px;
}

.login-card .auth-tabs {
  width: 100%;
}

.select-wrap[data-option=lang] {
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.select-wrap .select-popup.lang-modal {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin: auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.25);
}

.lang-modal .lang-close {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  position: absolute;
  top: -14px;
  right: -14px;
  z-index: 2;
  width: 36px;
  height: 36px;
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  font-size: 20px;
  line-height: 1;
  color: #414042;
  cursor: pointer;
  transition: all 0.4s ease-in-out;
}

.lang-modal .lang-close:hover {
  background: var(--c-primary);
  color: #FFFFFF;
}

.lang-modal .lang-head {
  padding: 20px 24px 14px;
  border-bottom: 1px solid #f0f0f0;
}

.lang-modal .lang-head h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 14px;
  color: #8c8f93;
}

.lang-modal .lang-head h3 i {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--c-tint);
  color: var(--c-primary);
  font-size: 14px;
}

.lang-modal .lang-body {
  padding: 16px 24px 24px;
}

.lang-modal .lang-tabs {
  display: flex;
  align-items: stretch;
  gap: 3px;
  width: 100%;
  padding: 3px;
  background: #f4f5f6;
  border-radius: 999px;
}

.lang-modal .lang-tabs .lang-tab {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  gap: 8px;
  flex: 1;
  padding: 8px 2px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  color: #8c8f93;
  text-align: center;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  transition: all 0.4s ease-in-out;
  border: 0;
}

.lang-modal .lang-tabs .lang-tab:hover:not(.active) {
  color: #1a1a1a;
}

.lang-modal .lang-tabs .lang-tab.active {
  background: var(--c-gradient-btn);
  color: #FFFFFF;
}

.lang-modal .lang-tabs {
  margin-bottom: 16px;
}

.lang-modal .lang-tabs .lang-tab img {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  -o-object-fit: cover;
  object-fit: cover;
}

.lang-modal .lang-panel {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.lang-modal .lang-panel.active {
  display: grid;
}

.lang-modal .lang-opt {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  padding: 12px;
  background: #f4f5f6;
  border: 1.5px solid transparent;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
  box-shadow: none;
  transition: all 0.4s ease-in-out;
}

.lang-modal .lang-opt:hover {
  border-color: var(--c-primary);
  color: var(--c-primary);
}

.lang-modal .lang-opt.active {
  background: var(--c-tint);
  border-color: var(--c-primary);
  color: var(--c-primary);
  box-shadow: none;
}

@media (max-width: 900px) {
  .lang-modal .lang-head {
    padding: 16px 20px 12px;
  }
  .lang-modal .lang-body {
    padding: 12px 20px 20px;
  }
}
.lang-modal .lang-acc {
  margin-bottom: 10px;
  overflow: hidden;
  border: 1.5px solid #f0f0f0;
  border-radius: 16px;
  transition: all 0.4s ease-in-out;
}

.lang-modal .lang-acc.open {
  border-color: var(--c-primary-light);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.lang-modal .lang-acc-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

.lang-modal .lang-acc-head img {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  -o-object-fit: cover;
  object-fit: cover;
  box-shadow: 0 0 0 2px #fff, 0 1px 4px rgba(0, 0, 0, 0.2);
}

.lang-modal .lang-acc-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.lang-modal .lang-acc-text b {
  font-size: 14px;
  font-weight: 700;
  color: #1a1a1a;
}

.lang-modal .lang-acc-sub {
  font-size: 10px;
  font-weight: 600;
  color: #8c8f93;
}

.lang-modal .lang-acc-arrow {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #f4f5f6;
  font-size: 10px;
  color: #8c8f93;
  transition: all 0.4s ease-in-out;
}

.lang-modal .lang-acc.open .lang-acc-arrow {
  transform: rotate(180deg);
  background: var(--c-tint);
  color: var(--c-primary);
}

.lang-modal .lang-acc-body {
  display: none;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 14px 14px;
}

.lang-modal .lang-acc.open .lang-acc-body {
  display: flex;
}

.lang-modal .lang-acc-body .lang-opt {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: #f4f5f6;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: #1a1a1a;
}

.lang-modal .lang-acc-body .lang-opt:hover {
  border-color: var(--c-primary);
  color: var(--c-primary);
}

.lang-modal .lang-acc-body .lang-opt.active {
  background: var(--c-primary);
  border-color: var(--c-primary);
  color: #FFFFFF;
}

.lang-modal .lang-acc-body .lang-opt.active::before {
  content: "✓";
  font-size: 10px;
}

.lang-modal .lang-tip {
  margin-top: 6px;
  font-size: 10px;
  color: #8c8f93;
  text-align: center;
}

.select-wrap .select-popup.lang-modal {
  max-width: 560px;
}

.lang-modal .lang-body {
  padding: 0;
}

.lang-modal .lang-split {
  display: grid;
  grid-template-columns: 170px 1fr;
  min-height: 250px;
}

.lang-modal .lang-label {
  padding: 0 8px 4px;
  font-size: 10px;
  font-weight: 700;
  color: #8c8f93;
  letter-spacing: 0.6px;
}

.lang-modal .lang-side {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 10px;
  background: #f4f5f6;
  border-radius: 0 0 0 16px;
}

.lang-modal .lang-side-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 700;
  color: #414042;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  transition: all 0.4s ease-in-out;
}

.lang-modal .lang-side-item img {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  -o-object-fit: cover;
  object-fit: cover;
  box-shadow: 0 0 0 2px #fff, 0 1px 3px rgba(0, 0, 0, 0.25);
}

.lang-modal .lang-side-item:hover {
  background: #fff;
}

.lang-modal .lang-side-item.active {
  background: var(--c-gradient-btn);
  color: #FFFFFF;
}

.lang-modal .lang-main {
  padding: 14px;
}

.lang-modal .lang-list {
  display: none;
  flex-direction: column;
  gap: 2px;
}

.lang-modal .lang-list.active {
  display: flex;
}

.lang-modal .lang-list .lang-opt {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: transparent;
  border: 0;
  border-radius: 12px;
  box-shadow: none;
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
  transition: all 0.4s ease-in-out;
}

.lang-modal .lang-list .lang-opt::before {
  content: none;
}

.lang-modal .lang-list .lang-opt .lang-name {
  flex: 1;
}

.lang-modal .lang-list .lang-opt .lang-name small {
  font-size: 10px;
  color: #8c8f93;
}

.lang-modal .lang-list .lang-opt .lang-check {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border: 2px solid #f0f0f0;
  border-radius: 999px;
}

.lang-modal .lang-list .lang-opt:hover {
  background: #f4f5f6;
}

.lang-modal .lang-list .lang-opt.active {
  background: var(--c-tint);
  color: var(--c-primary);
  font-weight: 700;
}

.lang-modal .lang-list .lang-opt.active .lang-check {
  background: var(--c-primary);
  border-color: var(--c-primary);
}

.lang-modal .lang-list .lang-opt.active .lang-check::after {
  content: "";
  width: 4px;
  height: 8px;
  border: solid #FFFFFF;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) translate(-1px, -1px);
}

@media (max-width: 520px) {
  .lang-modal .lang-split {
    grid-template-columns: 1fr;
  }
  .lang-modal .lang-side {
    flex-direction: row;
    flex-wrap: wrap;
    border-radius: 0;
  }
  .lang-modal .lang-side .lang-label {
    width: 100%;
  }
  .lang-modal .lang-side-item {
    flex: 1;
    justify-content: center;
  }
}
.cur-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 8px;
  padding: 4px 6px;
  border: 2px solid var(--c-primary);
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.4s ease-in-out;
}

.cur-switch > i {
  font-size: 12px;
  color: var(--c-primary);
}

.cur-switch img {
  width: 24px;
}

.cur-switch .cur-ic {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 800;
  color: #FFFFFF;
}

.cur-switch .cur-rm {
  background: #1e88e5;
}

.cur-switch .cur-usdt {
  background: #26a17b;
  font-size: 12px;
}

.cur-switch:hover {
  background: var(--c-tint);
}

:root[data-theme=rm] .cur-switch .cur-usdt,
:root[data-theme=usdt] .cur-switch .cur-rm {
  opacity: 0.35;
  filter: grayscale(1);
  transition: all 0.2s ease;
}

.user-bar {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  max-width: 1176px;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
  padding: 8px 16px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.user-bar .ub-item {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  cursor: pointer;
}

.user-bar .ub-ic {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  font-size: 16px;
}

.user-bar .ub-ic-user {
  background: #f4f5f6;
  border: 2px solid #f0f0f0;
  color: #8c8f93;
}

.user-bar .ub-ic-vip {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #1d1f24;
}

.user-bar .ub-ic-vip img {
  width: 26px;
}

.user-bar .ub-ic-wallet {
  background: var(--c-tint);
  color: var(--c-primary);
}

.user-bar .ub-ic-t2p {
  background: #fff3cc;
  color: #f5b301;
}

.user-bar .ub-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.user-bar .ub-text small {
  font-size: 10px;
  font-weight: 600;
  color: #8c8f93;
  white-space: nowrap;
}

.user-bar .ub-text b {
  font-size: 12px;
  font-weight: 800;
  color: #1a1a1a;
  white-space: nowrap;
}

.user-bar .ub-text b i {
  font-size: 10px;
}

.user-bar .ub-text .ub-name {
  color: var(--c-primary);
}

.user-bar .ub-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.user-bar .ub-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 16px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.4s ease-in-out;
}

.user-bar .ub-restore {
  background: #fff;
  border: 1.5px solid var(--c-primary);
  color: var(--c-primary);
}

.user-bar .ub-restore:hover {
  opacity: 0.6;
}

.user-bar .ub-deposit {
  background: var(--c-gradient-btn);
  border: 0;
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgb(var(--rgb-primary)/0.25);
}

.user-bar .ub-deposit:hover {
  opacity: 0.6;
}

.user-bar .ub-icon-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  width: 34px;
  height: 34px;
  border-radius: 999px !important;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.4s ease-in-out;
}

.user-bar .ub-icon-btn:hover {
  background: #f4f5f6;
}

.user-bar .ub-bell {
  color: #1a1a1a;
}

.user-bar .ub-logout {
  color: var(--c-primary);
}

@media (max-width: 900px) {
  .user-bar {
    flex-wrap: wrap;
    gap: 12px;
    padding: 12px;
    border-radius: 0;
  }
  .user-bar .ub-item {
    flex: 1 1 calc(50% - 12px);
  }
  .user-bar .ub-actions {
    width: 100%;
    margin-left: 0;
  }
  .user-bar .ub-actions .ub-btn {
    flex: 1;
    justify-content: center;
  }
}
.user-bar .ub-ic-vip {
  width: 52px;
  height: 32px;
  padding: 0;
  overflow: hidden;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.user-bar .ub-ic-vip img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.user-bar .ub-item.has-dd {
  position: relative;
  padding: 6px;
  border-radius: 12px;
  transition: all 0.4s ease-in-out;
}

.user-bar .ub-item.has-dd .ub-text b > i {
  transition: transform 0.2s;
}

.user-bar .ub-item.has-dd:hover {
  background: #f4f5f6;
}

.user-bar .ub-item.has-dd.open {
  background: #f4f5f6;
}

.user-bar .ub-item.has-dd.open .ub-text b > i {
  transform: rotate(180deg);
}

.user-bar .ub-item.has-dd.open .ub-dd {
  display: block;
}

.user-bar .ub-dd {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 20;
  width: 100%;
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 16px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
  cursor: default;
  animation: ub-dd-pop 0.2s ease;
}

.user-bar .ub-dd-menu {
  padding: 8px;
}

.user-bar .ub-dd.ub-notif {
  left: unset;
  right: 0;
  min-width: 250px;
  max-height: 24vh;
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: #d4d4d8 transparent;
}

.user-bar .ub-dd.ub-notif::-webkit-scrollbar {
  width: 4px;
}

.user-bar .ub-dd.ub-notif::-webkit-scrollbar-track {
  margin: 8px 0;
  border-radius: 9px;
  background: rgba(0, 0, 0, 0.04);
}

.user-bar .ub-dd.ub-notif::-webkit-scrollbar-thumb {
  border-radius: 9px;
  background: #d4d4d8;
}

.user-bar .ub-dd.ub-notif::-webkit-scrollbar-thumb:hover {
  background: #8c8f93;
}

.user-bar .ub-dd.ub-notif .notif {
  font-size: 11px;
  margin-bottom: 4px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.user-bar .ub-dd .ub-notif-hint {
  position: sticky;
  bottom: 6px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 6px;
  width: -moz-fit-content;
  width: fit-content;
  margin: 0 auto;
  padding: 5px 12px;
  border: 0;
  border-radius: 999px;
  background: #1a1a1a;
  color: #FFFFFF;
  font-family: "Montserrat", sans-serif;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
  transition: opacity 0.3s, transform 0.3s;
}

.user-bar .ub-dd .ub-notif-hint i {
  animation: ub-notif-bounce 1.2s ease-in-out infinite;
}

.user-bar .ub-dd .ub-notif-hint.is-end {
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
}

@keyframes ub-notif-bounce {
  0%, 100% {
    transform: translateY(-2px);
  }
  50% {
    transform: translateY(3px);
  }
}
.user-bar .ub-dd-group {
  padding: 6px 10px;
  font-size: 10px;
  font-weight: 700;
  color: #8c8f93;
  letter-spacing: 0.5px;
}

.user-bar .ub-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 10px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  color: #1a1a1a;
  transition: all 0.4s ease-in-out;
}

.user-bar .ub-menu-item i {
  width: 18px;
  font-size: 14px;
  text-align: center;
  color: #1a1a1a;
  transition: all 0.4s ease-in-out;
}

.user-bar .ub-menu-item:hover {
  background: var(--c-tint);
  color: var(--c-primary);
}

.user-bar .ub-menu-item:hover i {
  color: var(--c-primary);
}

.user-bar .ub-dd-sep {
  height: 1px;
  margin: 8px 4px;
  background: #f0f0f0;
}

.user-bar .ub-dd-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
}

.user-bar .ub-dd-row + .ub-dd-row {
  border-top: 1px dashed #f0f0f0;
}

.user-bar .ub-dd-text {
  flex: 1;
  min-width: 0;
}

.user-bar .ub-dd-text small {
  display: block;
  font-size: 10px;
  font-weight: 600;
  color: #8c8f93;
}

.user-bar .ub-dd-text b {
  display: block;
  margin: 2px 0;
  font-size: 14px;
  font-weight: 800;
  color: #1a1a1a;
}

.user-bar .ub-dd-text b em {
  font-weight: 800;
  color: #8c8f93;
  font-style: normal;
}

.user-bar .ub-bar {
  height: 6px;
  margin-top: 6px;
  overflow: hidden;
  background: #f4f5f6;
  border-radius: 999px;
}

.user-bar .ub-bar i {
  display: block;
  min-width: 6px;
  height: 100%;
  background: var(--c-gradient-btn);
  border-radius: 999px;
}

.user-bar .ub-3d {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  position: relative;
  flex-shrink: 0;
  width: 32px;
  border-radius: 14px;
  font-size: 20px;
  color: #FFFFFF;
  transition: transform 0.25s;
}

.user-bar .ub-3d::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 5px;
  right: 5px;
  height: 45%;
  border-radius: 10px 10px 18px 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0));
}

.user-bar .ub-3d i {
  position: relative;
  filter: drop-shadow(0 2px 1px rgba(0, 0, 0, 0.35));
}

.user-bar .ub-3d img {
  width: 100%;
}

.user-bar .ub-dd-row:hover .ub-3d {
  transform: perspective(200px) rotateX(0deg) translateY(-2px);
}

@media (max-width: 900px) {
  .user-bar .ub-dd,
  .user-bar .ub-dd-info {
    width: min(300px, 90vw);
  }
}
@keyframes ub-dd-pop {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
}
input[type=number] {
  -moz-appearance: textfield;
  -webkit-appearance: textfield;
  appearance: textfield;
}

input[type=number]::-webkit-outer-spin-button, input[type=number]::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

input[type=date]::-webkit-calendar-picker-indicator {
  opacity: 0;
}

.text-remark {
  font-size: 7px;
  color: #8c8f93;
  border-radius: 999px;
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  padding: 2px 8px;
  background: #f4f5f6;
  font-weight: 700;
  white-space: nowrap;
}
.text-remark::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid rgba(0, 0, 0, 0);
  border-right: 5px solid rgba(0, 0, 0, 0);
  border-top: 5px solid #f4f5f6;
}
.text-remark.hot {
  background: var(--c-gradient);
  color: #FFFFFF;
}
.text-remark.hot::after {
  border-top: 5px solid var(--c-primary-mid);
}
.text-remark.new {
  background: linear-gradient(75deg, #39b44a, #3fd573);
  color: #FFFFFF;
}
.text-remark.new::after {
  border-top: 5px solid #39b44a;
}

.btn {
  width: -moz-fit-content;
  width: fit-content;
  border: none;
  padding: 8px 16px;
  font-size: 12px;
  border-radius: 8px;
  font-weight: 700;
  background: #f4f5f6;
  transition: all 0.4s ease-in-out;
}
.btn:hover {
  opacity: 0.7;
}
.btn.disabled {
  opacity: 0.6;
}

.section-title {
  font-size: 14px;
  font-weight: 800;
  color: #414042;
  margin: 24px 0 12px;
}

.slide-in-top {
  animation: slide-in-top 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

.slide-in-fwd-top {
  animation: slide-in-fwd-top 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

@keyframes slide-in-top {
  0% {
    transform: translateY(-1000px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes slide-in-fwd-top {
  0% {
    transform: translateZ(-1400px) translateY(-800px);
    opacity: 0;
  }
  100% {
    transform: translateZ(0) translateY(0);
    opacity: 1;
  }
}
.select-wrap {
  display: none;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9999;
}
.select-wrap .select-popup {
  width: 100%;
  margin-top: auto;
}
.select-wrap .select-title {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  position: relative;
  padding: 16px;
  background: var(--c-gradient-btn);
  border-radius: 8px 8px 0 0;
  font-size: 12px;
  font-weight: 600;
  color: #FFFFFF;
}
.select-wrap .select-title .select-close {
  position: absolute;
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
  font-size: 30px;
  cursor: pointer;
}
.select-wrap .select-con {
  width: 100%;
  background: #fff;
}
.select-wrap .select-row {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  padding: 12px;
  border-bottom: 1px dashed #bcbec0;
  cursor: pointer;
}

.language-item {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  gap: 8px;
}
.language-item img {
  width: 30px;
  filter: drop-shadow(0 0 4px rgba(0, 0, 0, 0.4));
}
.language-item .lang-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}
.language-item .lang-country {
  font-size: 12px;
  font-weight: 600;
  font-style: italic;
  color: #808080;
}
.language-item .lang-options {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: #818284;
}
.language-item .lang {
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  color: #818284;
  transition: all 0.4s ease-in-out;
}
.language-item .lang:hover {
  color: #b4a280;
}
.language-item .lang.active {
  background: var(--c-primary);
  color: #FFFFFF;
  box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.2);
}

.cover {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 9999;
}

.social-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  width: 52px;
  height: 52px;
  background: #fff;
  border: 1.5px solid #e0e0e0;
  border-radius: 50%;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.social-btn img {
  width: 26px;
  height: 26px;
  -o-object-fit: contain;
  object-fit: contain;
}
.social-btn:hover {
  border-color: var(--c-primary-light);
  box-shadow: 0 2px 8px rgb(var(--rgb-primary-light)/0.2);
}

.scroll-top-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  position: fixed;
  right: 80px;
  bottom: 48px;
  width: 40px;
  height: 40px;
  background: var(--c-gradient);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  font-size: 14px;
  color: #FFFFFF;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.4s ease-in-out;
  z-index: 90;
}
.scroll-top-btn.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.scroll-top-btn:hover {
  opacity: 0.6;
}
@media (max-width: 900px) {
  .scroll-top-btn {
    display: none;
  }
}

.game-playing {
  display: flex;
  align-items: center;
  gap: 2px;
  width: -moz-fit-content;
  width: fit-content;
  margin: 4px auto 0;
  padding: 2px 8px;
  border-radius: 999px;
}
.game-playing .dot {
  position: relative;
  width: 6px;
  height: 6px;
  background: #16a34a;
  border-radius: 999px;
  margin-top: 1px;
}
.game-playing .dot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #16a34a;
  border-radius: inherit;
  animation: live-ping 1.5s ease-out infinite;
}
.game-playing .game-playing-icon {
  margin-left: 2px;
  font-size: 10px;
  line-height: 1;
  color: #16a34a;
}
.game-playing span,
.game-playing p {
  font-size: 12px;
}
.game-playing span {
  font-weight: 700;
  color: #16a34a;
}
.game-playing p {
  color: #414042;
}

.game-playing p {
  display: none;
}

@keyframes live-ping {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  100% {
    transform: scale(2.6);
    opacity: 0;
  }
}
.bannerSwiper {
  width: 100%;
  height: -moz-fit-content;
  height: fit-content;
  border-radius: 20px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
}
.bannerSwiper .swiper-slide {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
}
.bannerSwiper .swiper-slide img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  border-radius: 20px;
}
.bannerSwiper .swiper-button-next,
.bannerSwiper .swiper-button-prev {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  color: #414042;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: all 0.2s ease;
}
.bannerSwiper .swiper-button-next svg,
.bannerSwiper .swiper-button-prev svg {
  display: none;
}
.bannerSwiper .swiper-button-next:hover,
.bannerSwiper .swiper-button-prev:hover {
  background: var(--c-primary);
  color: #FFFFFF;
}
.bannerSwiper .swiper-pagination-bullet {
  opacity: 0.6;
  transition: all 0.4s ease-in-out;
  transform-origin: center;
  background: #b3b3b3;
}
.bannerSwiper .swiper-pagination-bullet-active {
  background: var(--c-primary);
  opacity: 1;
  width: 22px;
  border-radius: 999px;
}

.game-cover {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  position: absolute;
  bottom: -100%;
  left: 0;
  width: 100%;
  height: 90%;
  background: rgba(0, 0, 0, 0.7);
  border-radius: inherit;
  cursor: pointer;
  transition: all 0.4s ease-in-out;
  z-index: 3;
}

.play-btn {
  width: 80%;
  max-width: 100px;
  padding: 8px 8px;
  background: var(--c-primary);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  color: #FFFFFF;
  text-align: center;
  white-space: nowrap;
}

.provider-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  grid-template-columns: repeat(auto-fill, minmax(145px, 1fr));
  gap: 8px;
  width: 100%;
  margin-top: 8px;
  padding-bottom: 40px;
}

.provider-block {
  display: flex;
  flex-direction: column;
  position: relative;
  width: 100%;
  overflow: hidden;
}
.provider-block .provider-img {
  position: relative;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
}
.provider-block .provider-img img {
  display: block;
  width: 100%;
  height: auto;
  transition: 0.5s, opacity 0.35s ease;
  transform-origin: center;
}
.provider-block .provider-img:not(.is-loaded) {
  flex-shrink: 0;
  aspect-ratio: 238/319;
  background: rgb(var(--rgb-primary)/0.06);
}
.provider-block .provider-img:not(.is-loaded)::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../../../Resources/logo.webp") center/42% no-repeat;
  filter: grayscale(1);
  opacity: 0.14;
  pointer-events: none;
}
.provider-block .provider-img:not(.is-loaded)::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 25%, rgb(var(--rgb-primary)/0.12) 50%, transparent 75%);
  transform: translateX(-100%);
  animation: t2-shine 1.3s linear infinite;
  will-change: transform;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .provider-block .provider-img:not(.is-loaded)::after {
    animation: none;
    opacity: 0;
  }
}
.provider-block .provider-img:not(.is-loaded) img {
  opacity: 0;
}
.provider-block .provider-img:not(.is-loaded) > :not(img) {
  visibility: hidden;
}
.provider-block .rebate-badge {
  display: flex;
  align-items: center;
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 2px 6px 2px 18px;
  background: rgba(0, 0, 0, 0.65);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.4;
  color: #FFFFFF;
  pointer-events: none;
  z-index: 2;
}
.provider-block .rebate-badge .rebate-icon {
  position: absolute;
  left: -9px;
  width: 24px;
  height: 24px;
  min-width: 24px;
  min-height: 24px;
  max-width: none;
  max-height: none;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}
.provider-block .rebate-badge .rebate-icon:hover {
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5)) brightness(1) blur(0);
}
.provider-block .emoji-badge-wrap {
  display: flex;
  gap: 4px;
  position: absolute;
  bottom: 2px;
  left: 4px;
  z-index: 2;
}
.provider-block .emoji-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  width: 21px;
  height: 21px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  font-size: 12px;
  line-height: 1;
}
.provider-block .game-cover {
  background: transparent;
}
.provider-block:hover .provider-img img {
  filter: brightness(0.5) blur(0.7px);
}
.provider-block:hover .game-cover {
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
}

@keyframes t2-shine {
  to {
    transform: translateX(100%);
  }
}
.t2-pager,
.tx-pager,
.ea-pager,
.ev-hist-pager,
.rf-pager,
.lw-past-pages,
.pagination,
.pagination-wrap,
.pagination-wrap.lw-pager-wrap .lw-page-nums {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 16px;
}
.t2-pager button,
.tx-pager button,
.ea-pager button,
.ev-hist-pager button,
.rf-pager button,
.lw-past-pages button,
.pagination button,
.pagination-wrap button,
.pagination-wrap.lw-pager-wrap .lw-page-nums button {
  min-width: 32px;
  height: 32px;
  padding: 0 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #ececec;
  border-radius: 10px;
  background: #fff;
  color: #1a1a1a;
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: all 0.2s ease;
}
.t2-pager button i,
.tx-pager button i,
.ea-pager button i,
.ev-hist-pager button i,
.rf-pager button i,
.lw-past-pages button i,
.pagination button i,
.pagination-wrap button i,
.pagination-wrap.lw-pager-wrap .lw-page-nums button i {
  font-size: 10px;
}
.t2-pager button:hover:not(:disabled):not(.on),
.tx-pager button:hover:not(:disabled):not(.on),
.ea-pager button:hover:not(:disabled):not(.on),
.ev-hist-pager button:hover:not(:disabled):not(.on),
.rf-pager button:hover:not(:disabled):not(.on),
.lw-past-pages button:hover:not(:disabled):not(.on),
.pagination button:hover:not(:disabled):not(.on),
.pagination-wrap button:hover:not(:disabled):not(.on),
.pagination-wrap.lw-pager-wrap .lw-page-nums button:hover:not(:disabled):not(.on) {
  border-color: var(--c-primary);
  color: var(--c-primary);
}
.t2-pager button.on,
.tx-pager button.on,
.ea-pager button.on,
.ev-hist-pager button.on,
.rf-pager button.on,
.lw-past-pages button.on,
.pagination button.on,
.pagination-wrap button.on,
.pagination-wrap.lw-pager-wrap .lw-page-nums button.on {
  border-color: transparent;
  background: var(--c-gradient-btn);
  color: #FFFFFF;
  cursor: default;
}
.t2-pager button:disabled,
.tx-pager button:disabled,
.ea-pager button:disabled,
.ev-hist-pager button:disabled,
.rf-pager button:disabled,
.lw-past-pages button:disabled,
.pagination button:disabled,
.pagination-wrap button:disabled,
.pagination-wrap.lw-pager-wrap .lw-page-nums button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.t2-pager span,
.tx-pager span,
.ea-pager span,
.ev-hist-pager span,
.rf-pager span,
.lw-past-pages span,
.pagination span,
.pagination-wrap span,
.pagination-wrap.lw-pager-wrap .lw-page-nums span {
  padding: 0 4px;
  color: #8c8f93;
  font-size: 12px;
  font-weight: 700;
}

.t2-pager {
  width: 100%;
}

.pagination-wrap.lw-pager-wrap {
  gap: 4px !important;
}
.pagination-wrap.lw-pager-wrap #totalPageInfo,
.pagination-wrap.lw-pager-wrap #weeklyPageInfo {
  display: none;
}
.pagination-wrap.lw-pager-wrap .lw-page-nums {
  margin-top: 0;
}

.lw-past-pager .lw-past-pages {
  margin-top: 0;
}

.t2-faq-body {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.32s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.2s ease;
}

details.is-open > .t2-faq-body {
  max-height: none;
  opacity: 1;
}

.image-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 10;
}
.image-overlay span {
  position: relative;
  z-index: 1;
  padding: 0 8px;
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-align: center;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

.provider-img img.maint-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  filter: brightness(0);
  opacity: 0.7;
  pointer-events: none;
  transition: none;
}

.provider-block-disable {
  pointer-events: none;
  cursor: default;
}
.provider-block-disable .provider-img img:not(.maint-shade),
.provider-block-disable .rebate-badge,
.provider-block-disable .cat-tag,
.provider-block-disable .game-playing {
  filter: grayscale(1);
}
.provider-block-disable .fav-btn {
  filter: grayscale(1) brightness(0.3);
  z-index: 11;
}
.provider-block-disable .provider-img img:not(.maint-shade) {
  opacity: 0.85;
}
.provider-block-disable .game-cover {
  display: none;
}
.provider-block-disable:hover .provider-img img:not(.maint-shade) {
  filter: grayscale(1);
  transform: none;
}

.fav-grid .provider-block-disable .fav-btn {
  pointer-events: auto;
}

.provider-grid .provider-block {
  animation: provider-card-in 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
  backface-visibility: hidden;
}
.provider-grid .provider-block img {
  backface-visibility: hidden;
  transform: translateZ(0);
}
.provider-grid .provider-block:nth-child(1) {
  animation-delay: 0ms;
}
.provider-grid .provider-block:nth-child(2) {
  animation-delay: 50ms;
}
.provider-grid .provider-block:nth-child(3) {
  animation-delay: 100ms;
}
.provider-grid .provider-block:nth-child(4) {
  animation-delay: 150ms;
}
.provider-grid .provider-block:nth-child(5) {
  animation-delay: 200ms;
}
.provider-grid .provider-block:nth-child(6) {
  animation-delay: 250ms;
}
.provider-grid .provider-block:nth-child(7) {
  animation-delay: 300ms;
}
.provider-grid .provider-block:nth-child(8) {
  animation-delay: 350ms;
}
.provider-grid .provider-block:nth-child(9) {
  animation-delay: 400ms;
}
.provider-grid .provider-block:nth-child(10) {
  animation-delay: 450ms;
}
.provider-grid .provider-block:nth-child(n+11) {
  animation-delay: 500ms;
}

@keyframes provider-card-in {
  from {
    opacity: 0;
    transform: perspective(600px) rotateX(-25deg) translateY(20px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: perspective(600px) rotateX(0) translateY(0) scale(1);
  }
}
body:not(.logged-in) .fav-btn {
  display: none !important;
}

.fav-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  position: absolute;
  top: 4px;
  left: 8px;
  width: 28px;
  height: 28px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  border-radius: 999px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2), 0 0 0 2px rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 4;
}
.fav-btn.busy {
  pointer-events: none;
}
.fav-btn i {
  width: 15px;
  height: 15px;
  background: var(--c-primary);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-0.5 1.25 25 23'%3E%3Cpath d='M12 21s-7.5-4.6-9.6-9.3C.9 8.3 3.3 4.5 7 4.5c2.1 0 3.6 1.2 5 3 1.4-1.8 2.9-3 5-3 3.7 0 6.1 3.8 4.6 7.2C19.5 16.4 12 21 12 21z' fill='none' stroke='black' stroke-width='2.4'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-0.5 1.25 25 23'%3E%3Cpath d='M12 21s-7.5-4.6-9.6-9.3C.9 8.3 3.3 4.5 7 4.5c2.1 0 3.6 1.2 5 3 1.4-1.8 2.9-3 5-3 3.7 0 6.1 3.8 4.6 7.2C19.5 16.4 12 21 12 21z' fill='none' stroke='black' stroke-width='2.4'/%3E%3C/svg%3E") center/contain no-repeat;
}
.fav-btn:hover {
  transform: scale(1.12);
}
.fav-btn.on {
  background: var(--c-gradient-btn);
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2), 0 0 0 2px rgba(255, 255, 255, 0.7);
}
.fav-btn.on i {
  background: #FFFFFF;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-0.5 1.25 25 23'%3E%3Cpath d='M12 21s-7.5-4.6-9.6-9.3C.9 8.3 3.3 4.5 7 4.5c2.1 0 3.6 1.2 5 3 1.4-1.8 2.9-3 5-3 3.7 0 6.1 3.8 4.6 7.2C19.5 16.4 12 21 12 21z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-0.5 1.25 25 23'%3E%3Cpath d='M12 21s-7.5-4.6-9.6-9.3C.9 8.3 3.3 4.5 7 4.5c2.1 0 3.6 1.2 5 3 1.4-1.8 2.9-3 5-3 3.7 0 6.1 3.8 4.6 7.2C19.5 16.4 12 21 12 21z'/%3E%3C/svg%3E");
}
.fav-btn.pop i {
  animation: fav-heart-pop 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes fav-heart-pop {
  0% {
    transform: scale(1);
  }
  40% {
    transform: scale(0.6);
  }
  100% {
    transform: scale(1);
  }
}
.provider-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: row;
  gap: 4px;
  margin-top: 4px;
}
.provider-meta .game-playing {
  margin: 0;
  padding: 2px 0;
}

.cat-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  position: relative;
  height: 20px;
  padding: 0 12px 0 4px;
  border-radius: 4px 0 0 4px;
  clip-path: polygon(0 0, 100% 0, calc(100% - 7px) 50%, 100% 100%, 0 100%);
  font-size: 7px;
  font-weight: 900;
  letter-spacing: 0.6px;
  color: #FFFFFF;
  white-space: nowrap;
  overflow: hidden;
}
.cat-tag::after {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  transform: skewX(-20deg);
  animation: fav-tag-shine 3.5s ease-in-out infinite;
}
.cat-tag .cat-icon {
  position: relative;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  background: rgba(0, 0, 0, 0.18);
  border-radius: 999px;
}
.cat-tag .cat-icon::after {
  content: "";
  position: absolute;
  inset: 2px;
  background: #FFFFFF;
  -webkit-mask: var(--icon) center/contain no-repeat;
  mask: var(--icon) center/contain no-repeat;
}
.cat-tag.casino {
  background: linear-gradient(120deg, #c084fc, #6b21a8);
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='2.00 2.00 20.00 20.00'%3E%3Cpath fill-rule='evenodd' d='M6 2h12a2 2 0 0 1 2 2v16a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2zM12 6c-2 2.6-4.5 4.2-4.5 6.6A2.3 2.3 0 0 0 11 14.6L10 18h4l-1-3.4a2.3 2.3 0 0 0 3.5-2C16.5 10.2 14 8.6 12 6z'/%3E%3C/svg%3E");
}
.cat-tag.slot {
  background: linear-gradient(120deg, #fbbf24, #b45309);
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='2.19 1.88 19.62 19.62'%3E%3Ccircle cx='7' cy='17' r='4'/%3E%3Ccircle cx='17' cy='17.5' r='4'/%3E%3Cpath d='M7 13c1-4 3-7 7-10M17 13.5c-.5-4-1.5-7-3-10.5' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'/%3E%3Cpath d='M14 3c2-1.5 5-1.5 7 0-2 2-5 2.5-7 0z'/%3E%3C/svg%3E");
}
.cat-tag.sport {
  background: linear-gradient(120deg, #34d399, #047857);
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='1.10 1.10 21.80 21.80'%3E%3Cdefs%3E%3CclipPath id='c'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3C/clipPath%3E%3C/defs%3E%3Ccircle cx='12' cy='12' r='10' fill='none' stroke='black' stroke-width='1.8'/%3E%3Cpath d='M12.0 7.8 16.0 10.7 14.5 15.4 9.5 15.4 8.0 10.7z'/%3E%3Cg clip-path='url(%23c)'%3E%3Cpath d='M14.9 1.8L16.3 6.0L20.8 6.1zM22.6 11.6L19.0 14.3L20.4 18.5zM15.6 22.0L12.0 19.4L8.4 22.0zM3.6 18.5L5.0 14.3L1.4 11.6zM3.2 6.1L7.7 6.0L9.1 1.8z'/%3E%3C/g%3E%3Cpath d='M12.0 7.8L12.0 2.5M16.0 10.7L21.0 9.1M14.5 15.4L17.6 19.7M9.5 15.4L6.4 19.7M8.0 10.7L3.0 9.1' stroke='black' stroke-width='1.3'/%3E%3C/svg%3E");
}
.cat-tag.fishing {
  background: linear-gradient(120deg, #38bdf8, #0369a1);
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='1.00 1.00 22.00 22.00'%3E%3Cpath d='M1 12c4-6.5 11-7.5 16-2.5l6-4v13l-6-4c-5 5-12 4-16-2.5z'/%3E%3C/svg%3E");
}
.cat-tag.lottery {
  background: linear-gradient(120deg, #f87171, #991b1b);
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cmask id='m'%3E%3Ccircle cx='12' cy='12' r='12' fill='white'/%3E%3Ctext x='12' y='19' text-anchor='middle' font-family='Arial,sans-serif' font-weight='900' font-size='19' fill='black'%3E8%3C/text%3E%3C/mask%3E%3Crect width='24' height='24' mask='url(%23m)'/%3E%3C/svg%3E");
}

@keyframes fav-tag-shine {
  0%, 75% {
    left: -60%;
  }
  100% {
    left: 130%;
  }
}
.nav-fav {
  display: inline-block;
  position: relative;
}
.nav-fav .fav-count {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  position: absolute;
  top: -9px;
  right: -12px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  background: var(--c-gradient-btn);
  border-radius: 999px;
  font-size: 7px;
  font-weight: 800;
  color: #FFFFFF;
  display: none;
  transform: scale(0);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.nav-fav .fav-count.show {
  transform: scale(1);
}
.nav-fav.absorb {
  animation: fav-gulp 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.nav-fav.absorb::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 28px;
  height: 28px;
  border: 2px solid var(--c-primary);
  border-radius: 999px;
  animation: fav-ring 0.7s ease-out forwards;
  pointer-events: none;
}

@keyframes fav-gulp {
  0% {
    transform: scale(1);
  }
  30% {
    transform: scale(0.8);
  }
  60% {
    transform: scale(1.3);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes fav-ring {
  from {
    transform: translate(-50%, -50%) scale(0.4);
    opacity: 0.9;
  }
  to {
    transform: translate(-50%, -50%) scale(1.8);
    opacity: 0;
  }
}
.fav-fly-card {
  position: fixed;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  pointer-events: none;
  z-index: 100;
}
.fav-fly-card img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.fav-fly-heart {
  position: fixed;
  width: 22px;
  height: 22px;
  background: var(--c-primary);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-0.5 1.25 25 23'%3E%3Cpath d='M12 21s-7.5-4.6-9.6-9.3C.9 8.3 3.3 4.5 7 4.5c2.1 0 3.6 1.2 5 3 1.4-1.8 2.9-3 5-3 3.7 0 6.1 3.8 4.6 7.2C19.5 16.4 12 21 12 21z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-0.5 1.25 25 23'%3E%3Cpath d='M12 21s-7.5-4.6-9.6-9.3C.9 8.3 3.3 4.5 7 4.5c2.1 0 3.6 1.2 5 3 1.4-1.8 2.9-3 5-3 3.7 0 6.1 3.8 4.6 7.2C19.5 16.4 12 21 12 21z'/%3E%3C/svg%3E") center/contain no-repeat;
  pointer-events: none;
  z-index: 101;
}

.fav-fly-dot {
  position: fixed;
  width: 6px;
  height: 6px;
  background: radial-gradient(#FFFFFF, var(--c-primary));
  border-radius: 999px;
  pointer-events: none;
  z-index: 99;
}

.toast-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: fixed;
  top: 80px;
  right: 16px;
  width: 340px;
  max-width: calc(100vw - 28px);
  z-index: 999999;
}

.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  padding: 12px 40px 16px 12px;
  background: linear-gradient(135deg, #ffffff 0%, var(--c-wash) 100%);
  border-radius: 12px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.12), 0 0 0 1px var(--c-line);
  color: #1a1a1a;
  overflow: hidden;
  animation: toast-in 0.55s cubic-bezier(0.22, 1.4, 0.36, 1);
}
.toast::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -40px;
  width: 140px;
  height: 140px;
  margin-top: -70px;
  background: radial-gradient(rgb(var(--rgb-primary-light)/0.22), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.toast::after {
  content: "";
  position: absolute;
  top: 0;
  left: -50%;
  width: 35%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
  transform: skewX(-20deg);
  animation: toast-shine 1s 0.35s ease-out forwards;
}
.toast.out {
  animation: toast-out 0.35s ease-in forwards;
}
.toast:hover .toast-bar {
  animation-play-state: paused;
}

.toast-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  position: relative;
  flex: 0 0 40px;
  height: 40px;
  background: var(--c-gradient-btn);
  border-radius: 12px;
  box-shadow: 0 6px 16px rgb(var(--rgb-primary-dark)/0.45);
}
.toast-icon::after {
  content: "";
  position: absolute;
  inset: -4px;
  border: 1px solid rgb(var(--rgb-primary-light)/0.5);
  border-radius: 16px;
  animation: toast-icon-pulse 1.6s ease-out infinite;
}
.toast-icon i {
  font-size: 16px;
  color: #FFFFFF;
}

.toast-body {
  position: relative;
  min-width: 0;
}

.toast-title {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 800;
}

.toast-amount {
  padding: 1px 8px;
  background: var(--c-tint-strong);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  color: var(--c-primary-dark);
}

.toast-msg {
  margin-top: 2px;
  font-size: 10px;
  line-height: 1.5;
  color: #8c8f93;
}

.toast-close {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  position: absolute;
  top: 50%;
  right: 8px;
  width: 24px;
  height: 24px;
  margin-top: -12px;
  background: #f4f5f6;
  border: 0;
  border-radius: 8px;
  font-size: 12px;
  color: #8c8f93;
  cursor: pointer;
  transition: all 0.2s ease;
}
.toast-close:hover {
  background: var(--c-tint);
  color: var(--c-primary);
}

.toast-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--c-gradient);
  transform-origin: left;
  animation: toast-bar linear forwards;
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateX(60px) scale(0.92);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes toast-out {
  to {
    opacity: 0;
    transform: translateX(60px) scale(0.92);
    margin-top: -74px;
  }
}
@keyframes toast-shine {
  to {
    left: 130%;
  }
}
@keyframes toast-icon-pulse {
  from {
    transform: scale(0.9);
    opacity: 1;
  }
  to {
    transform: scale(1.25);
    opacity: 0;
  }
}
@keyframes toast-bar {
  from {
    transform: scaleX(1);
  }
  to {
    transform: scaleX(0);
  }
}
.cover.confirm-popup {
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.confirm-card {
  position: relative;
  width: 100%;
  max-width: 380px;
  padding: 28px 24px 24px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.25);
  text-align: center;
  animation: confirm-pop-in 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.confirm-anim {
  position: relative;
  width: 96px;
  height: 96px;
  margin: 0 auto 16px;
}
.confirm-anim::before, .confirm-anim::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgb(var(--rgb-primary)/0.18);
  border-radius: 999px;
  animation: confirm-ring 1.8s ease-out infinite;
}
.confirm-anim::after {
  animation-delay: 0.9s;
}
.confirm-anim span {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  position: absolute;
  inset: 16px;
  background: var(--c-gradient-btn);
  border-radius: 999px;
  box-shadow: 0 6px 16px rgb(var(--rgb-primary-dark)/0.45);
  font-size: 30px;
  color: #FFFFFF;
  z-index: 1;
}
.confirm-anim span i {
  animation: confirm-shake 1.8s ease-in-out infinite;
}

.confirm-title {
  font-size: 20px;
  font-weight: 800;
  color: #1a1a1a;
}

.confirm-text {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.7;
  color: #8c8f93;
}
.confirm-text b {
  color: var(--c-primary);
}

.confirm-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}
.confirm-actions button {
  flex: 1;
  padding: 12px;
  border: 0;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}
.confirm-actions .confirm-cancel {
  background: #f4f5f6;
  color: #414042;
}
.confirm-actions .confirm-cancel:hover {
  background: #e9eaec;
}
.confirm-actions .confirm-ok {
  background: var(--c-gradient-submit);
  box-shadow: 0 4px 12px rgb(var(--rgb-primary-dark)/0.3);
  color: #FFFFFF;
}
.confirm-actions .confirm-ok:hover {
  box-shadow: 0 6px 18px rgb(var(--rgb-primary-dark)/0.45);
  transform: translateY(-1px);
}

@keyframes confirm-pop-in {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.92);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes confirm-ring {
  from {
    transform: scale(0.6);
    opacity: 1;
  }
  to {
    transform: scale(1.25);
    opacity: 0;
  }
}
@keyframes confirm-shake {
  0%, 60%, 100% {
    transform: rotate(0);
  }
  65% {
    transform: rotate(-14deg);
  }
  72% {
    transform: rotate(12deg);
  }
  79% {
    transform: rotate(-8deg);
  }
  86% {
    transform: rotate(4deg);
  }
}
.t2-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.t2-field__label {
  font-size: 12px;
  font-weight: 700;
  color: #1a1a1a;
}

.t2-field__label em {
  font-style: normal;
  color: var(--c-primary);
}

.t2-input {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 16px;
  background: #f4f5f6;
  border: 1.5px solid transparent;
  border-radius: 12px;
  transition: all 0.4s ease-in-out;
}

.t2-input input,
.t2-input select {
  flex: 1;
  min-width: 0;
  height: 100%;
  background: transparent;
  border: 0;
  outline: none;
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #1a1a1a;
}

.t2-input input::-moz-placeholder, .t2-input select::-moz-placeholder {
  font-weight: 500;
  color: #8c8f93;
}

.t2-input input::placeholder,
.t2-input select::placeholder {
  font-weight: 500;
  color: #8c8f93;
}

.t2-input select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  margin-right: -24px;
  padding-right: 24px;
  cursor: pointer;
}

.t2-input:focus-within {
  background: #fff;
  border-color: var(--c-primary);
}

.t2-input.is-readonly {
  background: #f4f5f6;
  border-color: transparent;
  cursor: not-allowed;
}

.t2-input.is-readonly input {
  color: #8c8f93;
  cursor: not-allowed;
}

.t2-input-date {
  padding-left: 0;
}

.t2-input-date input {
  padding: 0 16px;
}

.t2-input__prefix {
  flex: none;
  font-size: 12px;
  font-weight: 700;
  color: #8c8f93;
}

.t2-input__icon {
  flex: none;
  font-size: 14px;
  color: #8c8f93;
}

.t2-input:has(input[type=date]),
.t2-input:has(input[type=month]),
.t2-input:has(input[type=time]),
.t2-input:has(input[type=datetime-local]) {
  cursor: pointer;
}

.t2-input:has(input[type=date]) input,
.t2-input:has(input[type=month]) input,
.t2-input:has(input[type=time]) input,
.t2-input:has(input[type=datetime-local]) input {
  cursor: pointer;
}

.t2-input:has(input[type=date]) input::-webkit-calendar-picker-indicator,
.t2-input:has(input[type=month]) input::-webkit-calendar-picker-indicator,
.t2-input:has(input[type=time]) input::-webkit-calendar-picker-indicator,
.t2-input:has(input[type=datetime-local]) input::-webkit-calendar-picker-indicator {
  display: none;
}

.t2-input__chevron {
  flex: none;
  margin-left: auto;
  font-size: 10px;
  color: #8c8f93;
  pointer-events: none;
  transition: all 0.2s ease;
}

.t2-dropdown {
  position: relative;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

.t2-dropdown__native {
  display: none;
}

.t2-dropdown.open .t2-dropdown__box {
  background: #fff;
  border-color: var(--c-primary);
}

.t2-dropdown.open .t2-input__chevron {
  transform: rotate(180deg);
}

.t2-dropdown.open .t2-dropdown__menu {
  display: block;
}

.t2-dropdown__box {
  cursor: pointer;
}

.t2-dropdown__box .t2-input__chevron {
  color: var(--c-primary-mid);
}

.t2-dropdown__text {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  font-size: 12px;
  font-weight: 500;
  color: #8c8f93;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.t2-dropdown__text.is-set {
  font-weight: 700;
  color: #1a1a1a;
}

.t2-dropdown__icon {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  -o-object-fit: cover;
  object-fit: cover;
}

.t2-dropdown__badge {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: #f4f5f6;
  font-size: 10px;
  font-weight: 800;
  color: #8c8f93;
}

.t2-dropdown__badge.is-usdt {
  background: #26a17b;
  color: #FFFFFF;
}

.t2-dropdown__menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 100;
  display: none;
  max-height: 260px;
  padding: 8px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgb(var(--rgb-primary-mid)/0.12);
  scrollbar-width: thin;
  scrollbar-color: #ececec transparent;
}

.t2-dropdown__menu::-webkit-scrollbar {
  width: 4px;
}

.t2-dropdown__menu::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: #ececec;
}

.t2-dropdown__group {
  padding: 10px 12px 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #8c8f93;
}

.t2-dropdown__option {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 10px 12px;
  background: none;
  border: 0;
  border-radius: 8px;
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  color: #1a1a1a;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s;
}

.t2-dropdown__option b {
  font-weight: 700;
}

.t2-dropdown__option span {
  color: #8c8f93;
}

.t2-dropdown__option:hover {
  background: #f4f5f6;
}

.t2-dropdown__option.active {
  background: #f4f5f6;
  color: var(--c-primary);
}

.t2-dropdown__option.active::after {
  content: "\f00c";
  margin-left: auto;
  font-family: "Font Awesome 7 Free", "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 10px;
}

.t2-dropdown__empty {
  padding: 12px;
  font-size: 12px;
  color: #8c8f93;
  text-align: center;
}

.t2-dropdown__empty button {
  padding: 0;
  background: none;
  border: 0;
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--c-primary);
  cursor: pointer;
}

.t2-drag {
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
}

.t2-drag::-webkit-scrollbar {
  display: none;
}

.t2-drag.can-drag {
  cursor: grab;
}

.t2-drag.can-drag > * {
  flex-shrink: 0;
}

.t2-drag.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

.t2-drag.is-dragging * {
  pointer-events: none;
}

.content-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 16px;
  font-weight: 800;
  color: #1a1a1a;
}
.content-title::before {
  content: "";
  flex: 0 0 4px;
  height: 16px;
  background: var(--c-primary);
  border-radius: 4px;
}

.content-subtitle {
  margin-bottom: 4px;
  font-size: 14px;
  font-weight: 800;
  color: #1a1a1a;
}

.content-text {
  font-size: 12px;
  line-height: 1.8;
  color: #414042;
}
.content-text + .content-text {
  margin-top: 8px;
}

.content-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 8px 0;
  padding-left: 20px;
  list-style: disc;
}
.content-list .content-list-item {
  font-size: 12px;
  line-height: 1.7;
  color: #414042;
}
.content-list .content-list-item::marker {
  color: var(--c-primary);
}
.content-list.number {
  list-style: decimal;
}
.content-list.number .content-list-item::marker {
  font-weight: 700;
}
.content-list.check {
  gap: 4px;
  padding-left: 0;
  list-style: none;
}
.content-list.check .content-list-item {
  position: relative;
  padding: 8px 12px 8px 32px;
  background: #f4f5f6;
  border-radius: 8px;
}
.content-list.check .content-list-item::before {
  content: "\f00c";
  position: absolute;
  top: 8px;
  left: 12px;
  font-family: "Font Awesome 7 Free", "Font Awesome 6 Free";
  font-weight: 900;
  color: #16a34a;
}

.content-note {
  margin-top: 8px;
  padding: 8px 12px;
  background: var(--c-tint);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.7;
  color: var(--c-primary-dark);
}

.content-table {
  width: 100%;
  margin: 8px 0;
  border-collapse: collapse;
  font-size: 12px;
  color: #414042;
}
.content-table th,
.content-table td {
  padding: 8px 12px;
  border: 1px solid #ececec;
  text-align: left;
}
.content-table th {
  background: var(--c-gradient-btn);
  font-weight: 700;
  color: #FFFFFF;
}
.content-table tbody tr:nth-child(even) {
  background: #f4f5f6;
}

.eventSwiper {
  width: 100%;
  height: -moz-fit-content;
  height: fit-content;
  width: 100%;
  margin: 0 -12px -12px;
  padding: 0 12px 12px;
}
.eventSwiper .swiper-wrapper {
  padding: 12px 0 0;
}
.eventSwiper .swiper-slide {
  width: 100%;
  height: 100%;
  display: flex !important;
  justify-content: space-between;
  align-items: center;
  position: relative;
  min-height: 240px;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s;
  padding: 16px;
  overflow: hidden;
}
.eventSwiper .swiper-slide img.slide-bg {
  position: absolute;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
}
.eventSwiper .swiper-slide .ev-flag {
  position: absolute;
  top: 12px;
  left: 0;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  height: 22px;
  overflow: hidden;
  white-space: nowrap;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.5px;
  clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 50%, 100% 100%, 0 100%);
}
.eventSwiper .swiper-slide .ev-flag em {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 7px;
  font-style: normal;
  background: #0b3474;
}
.eventSwiper .swiper-slide .ev-flag b {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 16px 0 8px;
  background: linear-gradient(180deg, #1657c2 0%, #0e3f94 100%);
  color: #FFFFFF;
  font-weight: 700;
}
.eventSwiper .swiper-slide .ev-flag i {
  position: static;
  width: auto;
  transform: none;
  filter: none;
  font-size: 9px;
  color: #ffd86b;
}
.eventSwiper .swiper-slide .ev-flag::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 42px;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  transform: translateX(-60px) skewX(-18deg);
  animation: ev-flag-shine 3.4s ease-in-out infinite;
}
.eventSwiper .swiper-slide .col {
  width: 50%;
  gap: 12px;
  margin-top: 4px;
}
.eventSwiper .swiper-slide .col .event-name {
  font-size: 20px;
  font-weight: 800;
  color: #000;
}
.eventSwiper .swiper-slide .col p {
  font-size: 12px;
  margin: -8px 0;
  color: #000;
}
.eventSwiper .swiper-slide .col .event-num {
  color: #414042;
  font-size: 18px;
}
.eventSwiper .swiper-slide .col .event-num .event-num-text {
  font-size: 30px;
  font-weight: 700;
  color: #000;
}
.eventSwiper .swiper-slide .col .event-num span {
  font-weight: 700;
}
.eventSwiper .swiper-slide .col .event-num.is-empty {
  visibility: hidden;
}
.eventSwiper .swiper-slide .col .btn {
  width: 100%;
  text-align: center;
}
.eventSwiper .swiper-slide img {
  position: absolute;
  width: 65%;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.2));
  pointer-events: none;
}
.eventSwiper .swiper-slide.wheel {
  background: linear-gradient(180deg, #eaf3fb 0%, #d3e6f7 100%);
  color: #FFFFFF;
}
.eventSwiper .swiper-slide.wheel .btn {
  background: linear-gradient(180deg, #1657c2 0%, #0e3f94 100%);
  color: #FFFFFF;
  box-shadow: 0 6px 14px rgba(14, 63, 148, 0.35);
}
.eventSwiper .swiper-slide.wheel .btn:active {
  transform: translateY(2px);
  box-shadow: 0 3px 8px rgba(14, 63, 148, 0.35);
}
.eventSwiper .swiper-slide.redpacket {
  background: linear-gradient(180deg, #fdf1ea 0%, #fbe3d8 100%);
  color: #FFFFFF;
}
.eventSwiper .swiper-slide.redpacket .btn {
  background: linear-gradient(180deg, #f53a3a 0%, #e9242c 49.5%, #cb0c14 100%);
  color: #FFFFFF;
  box-shadow: 0 6px 14px rgb(var(--rgb-primary-mid)/0.35);
}
.eventSwiper .swiper-slide.redpacket .btn:active {
  transform: translateY(2px);
  box-shadow: 0 3px 8px rgb(var(--rgb-primary-mid)/0.35);
}
.eventSwiper .swiper-slide.football {
  background: linear-gradient(180deg, #ecf9ef 0%, #d2f0db 100%);
  color: #FFFFFF;
}
.eventSwiper .swiper-slide.football .btn {
  background: linear-gradient(180deg, #15a34a 0%, #0b6b30 100%);
  color: #FFFFFF;
  box-shadow: 0 6px 14px rgba(11, 107, 48, 0.35);
}
.eventSwiper .swiper-slide.football .btn:active {
  transform: translateY(2px);
  box-shadow: 0 3px 8px rgba(11, 107, 48, 0.35);
}
.eventSwiper .swiper-slide.elite-challenge {
  background: linear-gradient(135deg, #ffffff 0%, #7e7e7e 100%);
  color: #FFFFFF;
}
.eventSwiper .swiper-slide.elite-challenge .btn {
  background: linear-gradient(180deg, #000 0%, #000 100%);
  color: #FFFFFF;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.35);
}
.eventSwiper .swiper-slide.elite-challenge .btn:active {
  transform: translateY(2px);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.35);
}
.eventSwiper .swiper-slide .coming-soon-cover {
  z-index: 2;
  backdrop-filter: blur(2px);
  background: rgba(0, 0, 0, 0.6);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
}
.eventSwiper .swiper-slide .coming-soon-cover span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 8px 20px;
  border-top: 1px solid white;
  border-bottom: 1px solid white;
  font-size: 16px;
  font-weight: 700;
}
.eventSwiper .swiper-slide:hover {
  transform: translateY(-3px);
}

.whats-new-wrap {
  width: 100%;
}

.whats-new-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}
@media (max-width: 900px) {
  .whats-new-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

.whats-new-block {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  gap: 12px;
  position: relative;
  padding: 12px;
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.whats-new-block .whats-new-icon {
  position: relative;
  flex: 0 0 auto;
}
.whats-new-block .whats-new-icon img {
  display: block;
  width: 40px;
}
.whats-new-block .whats-new-tag {
  position: absolute;
  top: -8px;
  right: 16px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 7px;
  font-weight: 800;
  color: #FFFFFF;
  white-space: nowrap;
  z-index: 0;
}
.whats-new-block .whats-new-tag::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--tag-bg);
  border-radius: inherit;
  z-index: -1;
  animation: tag-pulse 1.6s ease-in-out infinite;
  will-change: transform;
}
.whats-new-block .whats-new-tag.new {
  --tag-bg: #39b44a;
  --tag-glow: rgba(57, 180, 74, 0.35);
}
.whats-new-block .whats-new-tag.hot {
  --tag-bg: #e9242c;
  --tag-glow: rgba(233, 36, 44, 0.35);
}
.whats-new-block .whats-new-tag.event {
  --tag-bg: #2c67f2;
  --tag-glow: rgba(44, 103, 242, 0.35);
}
.whats-new-block .whats-new-tag.partner {
  --tag-bg: #6228d7;
  --tag-glow: rgba(98, 40, 215, 0.35);
}
.whats-new-block .whats-new-tag.payment {
  --tag-bg: #16805c;
  --tag-glow: rgba(22, 128, 92, 0.35);
}
.whats-new-block .whats-new-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.whats-new-block .whats-new-title {
  font-size: 12px;
  font-weight: 700;
  color: #414042;
}
.whats-new-block .whats-new-desc {
  font-size: 10px;
  line-height: 1.2;
  color: #8c8f93;
}

.promo-wrap {
  width: 100%;
}

.promo-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  padding-bottom: 4px;
}
.promo-row::-webkit-scrollbar {
  height: 6px;
}
.promo-row::-webkit-scrollbar-thumb {
  background: #d1d3d4;
  border-radius: 999px;
}
.promo-row .promo-item {
  flex: 1;
}
@media (max-width: 900px) {
  .promo-row .promo-item {
    width: 170px;
  }
}
.promo-row .promo-item img {
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
  display: block;
  width: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  border-radius: 12px;
}

.game-main-wrap {
  width: 100%;
}
.game-main-wrap .game-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.game-main-wrap .game-nav {
  display: flex;
}
.game-main-wrap .game-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  width: 36px;
  height: 30px;
  background: #fff;
  border: 1px solid rgba(128, 128, 128, 0.5);
  cursor: pointer;
  transition: all 0.2s ease;
}
.game-main-wrap .game-btn i {
  font-size: 12px;
  font-weight: 700;
  color: var(--c-primary);
  transition: all 0.2s ease;
}
.game-main-wrap .game-btn.game-prev {
  border-right: 0;
  border-radius: 8px 0 0 8px;
}
.game-main-wrap .game-btn.game-next {
  border-radius: 0 8px 8px 0;
}
.game-main-wrap .game-btn:hover {
  background: var(--c-primary);
  border-color: var(--c-primary);
}
.game-main-wrap .game-btn:hover i {
  color: #FFFFFF;
}
.game-main-wrap .game-btn.swiper-button-disabled {
  opacity: 0.4;
  cursor: default;
  pointer-events: none;
}
.game-main-wrap .gameSwiper {
  width: 100%;
}
.game-main-wrap .gameSwiper p {
  display: flex !important;
}

.game-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 155px;
}
.game-card .game-img {
  position: relative;
  display: flex;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
}
.game-card .game-img img {
  width: 100%;
  transition: 0.5s;
  transform-origin: center;
}
.game-card .game-cover {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  border-radius: inherit;
  cursor: pointer;
  transition: all 0.4s ease-in-out;
  z-index: 3;
}
.game-card:hover .game-img img {
  transform: scale(1.1);
}
.game-card:hover .game-cover {
  top: 0;
}

@keyframes glow {
  0%, 100% {
    box-shadow: 0 0 2px #00ff66;
    opacity: 0.6;
  }
  50% {
    box-shadow: 0 0 8px #00ff66, 0 0 12px #00ff66;
    opacity: 1;
  }
}
.provider-wrap {
  width: 100%;
}
.provider-wrap .providerSwiper {
  width: 100%;
  padding-bottom: 24px;
}
.provider-wrap .providerSwiper .swiper-slide {
  display: flex;
}

.provider-card {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  width: 100%;
  padding: 8px;
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 8px;
  transition: all 0.2s ease;
}
.provider-card img {
  width: 100%;
  max-width: 100%;
  -o-object-fit: contain;
  object-fit: contain;
}
.provider-card:hover {
  border-color: var(--c-primary);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
}

.trust-section {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 12px;
  width: 100%;
  padding: 16px 0;
  border-top: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 1fr;
  align-items: stretch;
  gap: 12px;
}
@media (max-width: 900px) {
  .trust-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

.trust-block {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 100%;
  padding: 12px;
  background: #f4f5f6;
  border-radius: 12px;
}
.trust-block .trust-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}
.trust-block .trust-icon i {
  font-size: 14px;
  color: var(--c-primary);
}
.trust-block .trust-title {
  font-size: 10px;
  font-weight: 800;
  color: #414042;
}
.trust-block .trust-desc {
  font-size: 10px;
  color: #8c8f93;
}

.monaco-banner {
  display: block;
  border-radius: 12px;
  overflow: hidden;
}
.monaco-banner img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

@keyframes tag-pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 var(--tag-glow);
  }
  50% {
    transform: scale(1.12);
  }
  70% {
    box-shadow: 0 0 0 6px transparent;
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 transparent;
  }
}
@keyframes ev-flag-shine {
  0%, 62% {
    transform: translateX(-60px) skewX(-18deg);
  }
  86%, 100% {
    transform: translateX(210px) skewX(-18deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .ev-flag::after {
    animation: none;
    opacity: 0;
  }
}
.slot-wrap {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.slot-banner-row {
  width: 100%;
  margin-bottom: 16px;
}
.slot-banner-row .slotBannerSwiper {
  width: 100%;
}
.slot-banner-row .slotBannerSwiper .swiper-slide {
  width: 100%;
}
.slot-banner-row .slot-banner-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
}

.casino-wrap {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.fishing-wrap {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.sport-wrap {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.info-hero {
  padding: 24px 16px;
  background: var(--c-gradient-hero);
  color: #FFFFFF;
  position: sticky;
  top: var(--header-h, 76px);
  filter: drop-shadow(0px 8px 6px rgba(0, 0, 0, 0.1));
  z-index: 9;
  padding-bottom: 30px;
  margin-bottom: 30px;
}
.info-hero .info-hero-wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 12px;
  position: relative;
}
.info-hero .info-crumb {
  font-size: 12px;
  opacity: 0.85;
}
.info-hero .info-crumb a {
  color: #FFFFFF;
}
.info-hero .info-hero-title {
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
}
.info-hero .info-hero-sub {
  margin-top: 4px;
  font-size: 12px;
  opacity: 0.9;
}
.info-hero .info-tabs {
  margin-top: 12px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 24px);
}

.info-wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0 auto 28px;
  width: 100%;
  padding: 0 12px;
}

.info-tabs {
  display: flex;
  align-items: stretch;
  gap: 3px;
  width: 100%;
  padding: 3px;
  overflow: auto;
  background: #f4f5f6;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.info-tabs .info-tab {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  flex: 1;
  min-width: 60px;
  padding: 8px 2px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  color: #8c8f93;
  text-align: center;
  cursor: pointer;
  transition: all 0.4s ease-in-out;
}
.info-tabs .info-tab.active {
  background: var(--c-gradient-btn);
  color: #FFFFFF;
}

.info-card {
  padding: 16px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 0px 15px rgba(0, 0, 0, 0.1607843137);
}
@media (max-width: 900px) {
  .info-card {
    padding: 16px;
  }
}

.info-panel {
  display: none;
  animation: info-fade 0.35s ease;
}
.info-panel.active {
  display: block;
}

@keyframes info-fade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.contact-card, .about-item {
  padding: 16px;
  border: 1px solid #ececec;
  border-radius: 12px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.contact-card:hover, .about-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
}

.about-intro {
  margin-bottom: 20px;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  align-items: stretch;
}
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}

.about-item .about-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  width: 40px;
  height: 40px;
  margin-bottom: 8px;
  background: var(--c-tint);
  border-radius: 999px;
  color: var(--c-primary);
}
.about-item .content-text {
  color: #414042;
}
.about-item .about-text {
  position: relative;
  overflow: hidden;
}
.about-item .about-text::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 20px;
  background: linear-gradient(transparent, #fff);
  transition: opacity 0.2s;
}
.about-item .about-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
  padding: 0;
  background: none;
  border: 0;
  font-size: 10px;
  font-weight: 700;
  color: var(--c-primary);
  cursor: pointer;
}
.about-item .about-more i {
  transition: transform 0.2s;
}
.about-item.open .about-text {
  max-height: 600px;
}
.about-item.open .about-text::after {
  opacity: 0;
}
.about-item.open .about-more i {
  transform: rotate(180deg);
}
.about-item.no-more .about-text::after,
.about-item.no-more .about-more {
  display: none;
}

.about-outro {
  position: relative;
  margin-top: 20px;
  padding: 28px 24px;
  overflow: hidden;
  background: var(--c-gradient-btn);
  border-radius: 16px;
  box-shadow: 0 6px 14px rgb(var(--rgb-primary-mid)/0.35);
  color: #FFFFFF;
  text-align: center;
}
.about-outro .about-outro-quote {
  position: absolute;
  top: 8px;
  left: 16px;
  font-size: 48px;
  opacity: 0.18;
}
.about-outro .about-outro-text {
  max-width: 640px;
  margin: 0 auto;
  font-size: 12px;
  line-height: 1.8;
  opacity: 0.95;
}
.about-outro .about-outro-sign {
  display: block;
  margin-top: 8px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 1px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact-card .contact-head {
  display: flex;
  align-items: center;
  gap: 8px;
}
.contact-card .contact-head .content-subtitle {
  margin-bottom: 0;
}
.contact-card .img_block {
  width: 100%;
  position: relative;
}
.contact-card .img_block::after {
  content: "";
  position: absolute;
  top: 0%;
  left: 0%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.39));
  border-radius: 12px;
}
.contact-card .img_block img {
  width: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  border-radius: 12px;
}
.contact-card .contact-avatar {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  width: 42px;
  height: 42px;
  background: var(--c-gradient-btn);
  border-radius: 999px;
  font-weight: 800;
  color: #FFFFFF;
}
.contact-card .contact-role {
  font-size: 10px;
  color: #8c8f93;
}
.contact-card .contact-btns {
  display: flex;
  gap: 8px;
}
.contact-card .contact-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  flex: 1;
  gap: 4px;
  padding: 8px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  color: #FFFFFF;
  transition: opacity 0.2s, transform 0.1s;
}
.contact-card .contact-btn:hover {
  opacity: 0.88;
}
.contact-card .contact-btn:active {
  transform: scale(0.98);
}
.contact-card .contact-btn.whatsapp {
  background: #25d366;
}
.contact-card .contact-btn.telegram {
  background: #229ed9;
}
.contact-card .contact-btn.livechat {
  background: var(--c-gradient-btn);
}

.tnc-wrap {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 20px;
  align-items: start;
}
@media (max-width: 900px) {
  .tnc-wrap {
    grid-template-columns: 1fr;
  }
}

.tnc-tools {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.tnc-search {
  display: flex;
  align-items: center;
  flex: 1;
  gap: 8px;
  height: 40px;
  padding: 0 12px;
  background: #f4f5f6;
  border: 1px solid #ececec;
  border-radius: 999px;
  transition: border-color 0.2s, background 0.2s;
}
.tnc-search:focus-within {
  background: #fff;
  border-color: var(--c-primary);
}
.tnc-search i {
  font-size: 12px;
  color: #8c8f93;
}
.tnc-search .tnc-search-input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: 0;
  outline: none;
  font-size: 12px;
}
.tnc-search .tnc-search-count {
  flex-shrink: 0;
  font-size: 10px;
  font-weight: 700;
  color: var(--c-primary);
  white-space: nowrap;
}

.tnc-mark {
  padding: 0 1px;
  background: #ffe08a;
  border-radius: 2px;
  color: inherit;
  font-weight: 700;
}

.tnc-toggle {
  height: 40px;
  padding: 0 16px;
  background: #fff;
  border: 1px solid var(--c-primary);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: var(--c-primary);
  cursor: pointer;
  transition: all 0.2s ease;
}
.tnc-toggle:hover {
  background: var(--c-primary);
  color: #FFFFFF;
}

.tnc-list {
  display: grid;
  gap: 8px;
}

.tnc-item {
  overflow: hidden;
  border: 1px solid #ececec;
  border-radius: 12px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.tnc-item .tnc-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  cursor: pointer;
}
.tnc-item .tnc-head i {
  color: #8c8f93;
  transition: transform 0.3s;
}
.tnc-item .tnc-num {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  flex: 0 0 28px;
  height: 28px;
  background: var(--c-tint);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  color: var(--c-primary);
  transition: all 0.2s ease;
  padding-left: 1px;
}
.tnc-item .tnc-title {
  flex: 1;
  font-size: 12px;
  font-weight: 700;
  color: #1a1a1a;
}
.tnc-item .tnc-body {
  max-height: 0;
  overflow: hidden;
  padding: 0 12px 0 52px;
  transition: max-height 0.4s ease;
}
.tnc-item .tnc-body > :last-child {
  margin-bottom: 12px;
}
@media (max-width: 900px) {
  .tnc-item .tnc-body {
    padding-left: 12px;
  }
}
.tnc-item.open {
  border-color: var(--c-primary);
  box-shadow: 0 8px 20px rgb(var(--rgb-primary-mid)/0.12);
}
.tnc-item.open .tnc-num {
  background: var(--c-primary);
  color: #FFFFFF;
}
.tnc-item.open .tnc-head i {
  transform: rotate(180deg);
  color: var(--c-primary);
}
.tnc-item.open .tnc-body {
  max-height: 4000px;
}

.tnc-empty {
  display: none;
  padding: 20px;
  font-size: 12px;
  color: #8c8f93;
  text-align: center;
}

.tnc-toc {
  position: sticky;
  top: calc(var(--info-sticky, 92px) + 20px);
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - var(--info-sticky, 92px) - 20px - 20px);
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 12px;
}
@media (max-width: 900px) {
  .tnc-toc {
    display: none;
  }
}
.tnc-toc .tnc-toc-title {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #8c8f93;
  padding: 12px 12px 0;
}
.tnc-toc .tnc-toc-list {
  display: grid;
  gap: 4px;
  flex: 1;
  min-height: 0;
  overflow: auto;
  list-style: none;
  padding: 12px;
}
.tnc-toc .tnc-toc-link {
  display: flex;
  gap: 4px;
  position: relative;
  padding: 8px 20px 8px 8px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.3;
  color: #8c8f93;
  cursor: pointer;
  transition: all 0.2s ease;
}
.tnc-toc .tnc-toc-link span {
  min-width: 18px;
}
.tnc-toc .tnc-toc-link:hover {
  color: var(--c-primary);
}
.tnc-toc .tnc-toc-link.open {
  border-color: var(--c-primary);
  font-weight: 700;
  color: var(--c-primary);
}
.tnc-toc .tnc-toc-link.open::after {
  content: "\f078";
}
.tnc-toc .tnc-toc-link.current {
  background: var(--c-gradient);
  border-color: transparent;
  box-shadow: 0 6px 14px rgb(var(--rgb-primary-mid)/0.35);
  font-weight: 700;
  color: #FFFFFF;
}
.tnc-toc .tnc-toc-link.current::after {
  content: "\f054";
}
.tnc-toc .tnc-toc-link.open::after, .tnc-toc .tnc-toc-link.current::after {
  position: absolute;
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
  font-family: "Font Awesome 7 Free", "Font Awesome 6 Free";
  font-size: 10px;
  font-weight: 900;
}

.res-age {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding: 16px;
  background: #f4f5f6;
  border-radius: 12px;
}
.res-age .res-age-badge {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  flex: 0 0 52px;
  height: 52px;
  border: 3px solid var(--c-primary);
  border-radius: 999px;
  font-size: 16px;
  font-weight: 800;
  color: var(--c-primary);
}

.res-sec {
  margin-bottom: 20px;
}

.res-acc {
  margin-top: 8px;
  overflow: hidden;
  border: 1px solid #ececec;
  border-radius: 12px;
}
.res-acc .res-acc-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  font-size: 12px;
  font-weight: 700;
  color: #1a1a1a;
  cursor: pointer;
}
.res-acc .res-acc-head i {
  color: var(--c-primary);
  transition: transform 0.2s;
}
.res-acc .res-acc-body {
  max-height: 0;
  overflow: hidden;
  padding: 0 16px;
  transition: max-height 0.4s ease;
}
.res-acc .res-acc-body > :last-child {
  margin-bottom: 16px;
}
.res-acc.open .res-acc-head i {
  transform: rotate(180deg);
}
.res-acc.open .res-acc-body {
  max-height: 1600px;
}

.is-logged .info-hero {
  top: var(--header-h, 154px);
}

.info-hero.fav-hero {
  margin-bottom: 2px;
  padding: 24px 16px;
}
.info-hero.fav-hero.has-nav {
  padding-bottom: 30px;
}

.fav-wrap {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.fav-hero-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-direction: row;
  gap: 12px;
}

.remove-all-btn {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgb(255, 255, 255);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  backdrop-filter: blur(6px);
  font-size: 10px;
  font-weight: 700;
  color: var(--c-primary);
  cursor: pointer;
  transition: all 0.2s ease;
}
.remove-all-btn.show {
  display: inline-flex;
}
.remove-all-btn:hover {
  opacity: 0.8;
}

.fav-tab {
  gap: 4px;
}
.fav-tab b {
  padding: 1px 8px;
  background: var(--c-primary);
  border-radius: 999px;
  font-size: 10px;
  color: #FFFFFF;
  display: none;
}
.fav-tab.active b {
  background: rgb(255, 255, 255);
  color: var(--c-primary);
}

.fav-grid .provider-block {
  overflow: visible;
}
.fav-grid .provider-block.leaving {
  animation: fav-card-out 0.45s ease-in forwards;
}
.fav-grid .provider-block.disabled-click .fav-btn {
  pointer-events: auto;
  cursor: pointer;
}

@keyframes fav-card-out {
  to {
    opacity: 0;
    transform: perspective(600px) rotateY(35deg) scale(0.6);
    filter: blur(4px);
  }
}
.fav-empty {
  display: none;
  margin: 16px 0 40px;
  padding: 80px 16px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  text-align: center;
}
.fav-empty.show {
  display: block;
}
.fav-empty .fav-empty-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  background: var(--c-tint);
  border-radius: 999px;
  font-size: 30px;
  color: var(--c-primary);
  animation: fav-floaty 3s ease-in-out infinite;
}
.fav-empty h3 {
  font-size: 16px;
  font-weight: 800;
  color: #1a1a1a;
}
.fav-empty p {
  margin-top: 4px;
  font-size: 12px;
  color: #8c8f93;
}

@keyframes fav-floaty {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}
.lottery-wrap {
  display: flex;
  flex-direction: column;
  width: 100%;
}

* {
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
}

body {
  margin: 0;
  background: #f3f4f6;
  color: #111827;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::after {
  content: "";
  display: none;
}

button {
  border: 0;
  font-family: inherit;
  cursor: pointer;
}

img,
svg,
canvas {
  display: block;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  width: 100%;
  box-sizing: border-box;
}

.site-header__inner {
  max-width: 72rem;
  margin-inline: auto;
  width: 100%;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
}

.site-header__brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.site-header__logo {
  height: 2rem;
  -o-object-fit: contain;
  object-fit: contain;
}

@media (min-width: 768px) {
  .site-header__logo {
    height: 3rem;
  }
}
@media (max-width: 768px) {
  .site-header {
    padding-inline: 0.75rem;
  }
}
.site-header__actions {
  display: flex;
  /*align-items: center;*/
  gap: 5px;
}

.page {
  max-width: 1200px;
  margin-inline: auto;
  width: 100%;
  padding: 4px 8px 0;
}

.button {
  border-radius: 9999px;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.button--login {
  padding: 0.375rem 1.5rem;
  border: 1px solid #9ca3af;
  background: #fff;
  color: #111827;
  font-size: 0.875rem;
  font-weight: 700;
}

.button--login:hover {
  background: #f9fafb;
}

.button--join {
  padding: 0.375rem 1.5rem;
  background: #dc2626;
  color: #fff;
  font-weight: 780;
}

.button--join:hover {
  background: #b91c1c;
}

.button--gold {
  background: linear-gradient(180deg, #db1f26 0%, #ab2020 100%);
  color: #fff;
  font-weight: 800;
  margin-top: 5px;
  width: 110px;
  height: 35px;
}

.button--spin {
  width: 100%;
  margin-bottom: 0.5rem;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  font-weight: 900;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

.button--spin:hover {
  transform: scale(1.05);
}

.button--spin:active {
  transform: scale(0.97);
}

.button--claim {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  background: #dc2626;
  color: #fff;
  font-weight: 900;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

.button--claim:hover {
  background: #b91c1c;
}

.language-pill {
  display: flex;
  align-items: center;
  padding: 0.25rem;
}

.language-pill__flag {
  width: 2rem;
  height: 2rem;
  border-radius: 0.125rem;
}

@media (max-width: 768px) {
  .button--login,
  .button--join {
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
  }
  .language-pill__flag {
    width: 1.2rem;
    height: 1.2rem;
  }
  .site-header__actions {
    gap: 0.2rem;
  }
}
.banner_hero {
  border-radius: 1.5rem;
  z-index: 2;
  position: relative;
}

.banner_hero__panel {
  position: relative;
  width: 100%;
  display: block;
}

.banner_hero__picture {
  display: flex;
  justify-content: center;
  width: 100%;
}

.banner_hero__banner-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  margin-bottom: 12px;
}

.prize-pool {
  position: relative;
  margin-top: 2rem;
  padding: 0.75rem 2.5rem;
  border-top: 4px solid #eab308;
  border-bottom: 4px solid #eab308;
  background: darkred;
}

.prize-pool__label {
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.125rem 0.75rem;
  border-radius: 0.25rem;
  background: #eab308;
  color: var(--c-deep);
  font-size: 0.625rem;
  font-weight: 700;
  white-space: nowrap;
}

.prize-pool__amount {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 0;
  color: #fff;
  font-size: 2.25rem;
  line-height: 1;
  font-weight: 900;
}

@media (min-width: 768px) {
  .prize-pool__amount {
    font-size: 3.75rem;
  }
}
.prize-pool__currency {
  color: #facc15;
  font-size: 1.5rem;
}

@media (min-width: 768px) {
  .prize-pool__currency {
    font-size: 1.875rem;
  }
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.stat-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  border-radius: 0.75rem;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.stat-card__icon {
  width: 24px;
  height: 24px;
  -o-object-fit: contain;
  object-fit: contain;
}

.stat-card__svg {
  width: 2rem;
  height: 2rem;
}

.stat-card__label {
  margin: 0;
  color: #6b7280;
  font-size: 0.625rem;
  font-weight: 700;
}

.stat-card__value {
  margin: 0;
  color: #1f2937;
  font-size: 1.125rem;
  font-weight: 900;
  line-height: 1.3;
}

.stat-card__note {
  margin: 0;
  color: #9ca3af;
  font-size: 0.625rem;
}

.wheel-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .wheel-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.wheel-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem;
  border-radius: 1.5rem;
  color: #fff;
}

.wheel-card--lucky {
  background: linear-gradient(180deg, #e31e24 0%, #a81116 100%);
}

.wheel-card--multiplier {
  background: linear-gradient(180deg, #c5298d 0%, #7e165a 100%);
}

.wheel-card__heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.wheel-card__star {
  color: #facc15;
}

.wheel-card__title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 900;
}

.wheel-box {
  position: relative;
  display: inline-flex;
  justify-content: center;
  margin: 0 auto 1rem;
  cursor: pointer;
}

.wheel-pointer {
  position: absolute;
  top: -12px;
  left: 50%;
  z-index: 15;
  width: 0;
  height: 0;
  transform: translateX(-50%);
  border-left: 14px solid rgba(0, 0, 0, 0);
  border-right: 14px solid rgba(0, 0, 0, 0);
  border-top: 28px solid #ffd966;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
}

.wheel-rotor {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: 50%;
  transform-origin: center;
}

.wheel-rotor.is-spinning {
  transition: transform 4.8s cubic-bezier(0.12, 0.71, 0.11, 1);
}

/* Wedge colours: deep saturated shade at the rim, bright shade at the hub. */
.wheel-card--lucky {
  --wedge-rim: conic-gradient(from -15deg,#08683a 0deg 30deg,#d06001 30deg 60deg,#083a80 60deg 90deg,#4c7f1d 90deg 120deg,#651691 120deg 150deg,#05655d 150deg 180deg,#d06001 180deg 210deg,#083a80 210deg 240deg,#4c7f1d 240deg 270deg,#651691 270deg 300deg,#bf080f 300deg 330deg,#ae7a00 330deg 360deg);
  --wedge-hub: conic-gradient(from -15deg,#1ae584 0deg 30deg,#f8aa68 30deg 60deg,#2c7bea 60deg 90deg,#92d357 90deg 120deg,#ae56df 120deg 150deg,#14e4d4 150deg 180deg,#f8aa68 180deg 210deg,#2c7bea 210deg 240deg,#92d357 240deg 270deg,#ae56df 270deg 300deg,#f36368 300deg 330deg,#ffc53e 330deg 360deg);
  --spoke-from: -15.7deg;
  --spoke-step: 30deg;
}

.wheel-card--multiplier {
  --wedge-rim: conic-gradient(from -18deg,#08683a 0deg 36deg,#d06001 36deg 72deg,#083a80 72deg 108deg,#4c7f1d 108deg 144deg,#651691 144deg 180deg,#05655d 180deg 216deg,#d06001 216deg 252deg,#083a80 252deg 288deg,#bf080f 288deg 324deg,#ae7a00 324deg 360deg);
  --wedge-hub: conic-gradient(from -18deg,#1ae584 0deg 36deg,#f8aa68 36deg 72deg,#2c7bea 72deg 108deg,#92d357 108deg 144deg,#ae56df 144deg 180deg,#14e4d4 180deg 216deg,#f8aa68 216deg 252deg,#2c7bea 252deg 288deg,#f36368 288deg 324deg,#ffc53e 324deg 360deg);
  --spoke-from: -18.7deg;
  --spoke-step: 36deg;
}

.wheel-surface {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 50%;
  border: 3px solid #ffd85b;
  background: radial-gradient(circle at 36% 20%, rgba(255, 255, 255, 0.11) 0, rgba(255, 255, 255, 0.03) 22%, transparent 46%), var(--wedge-rim);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3), inset 0 10px 16px rgba(255, 255, 255, 0.07), inset 0 0 44px rgba(255, 204, 50, 0.09);
}

/* Gold spokes on each wedge boundary. */
.wheel-surface::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  border-radius: 50%;
  pointer-events: none;
  background: repeating-conic-gradient(from var(--spoke-from), rgba(107, 46, 0, 0.7) 0 0.35deg, #ffe08f 0.35deg 1.05deg, rgba(122, 52, 0, 0.7) 1.05deg 1.45deg, transparent 1.45deg var(--spoke-step));
  box-shadow: inset 0 0 0 4px #ffec9b, inset 0 0 26px rgba(84, 27, 0, 0.44);
}

.wheel-surface::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle at 34% 25%, rgba(255, 255, 255, 0.06), transparent 38%), radial-gradient(circle, transparent 72%, rgba(65, 22, 0, 0.15) 100%);
}

/* Bright hub end of the ramp, masked so it fades out toward the rim. */
.wheel-shade {
  position: absolute;
  z-index: 0;
  inset: 0;
  border-radius: 50%;
  pointer-events: none;
  background: var(--wedge-hub);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 0 20%, rgba(0, 0, 0, 0.88) 34%, rgba(0, 0, 0, 0.55) 50%, rgba(0, 0, 0, 0.22) 62%, transparent 72%);
  mask-image: radial-gradient(circle at 50% 50%, #000 0 20%, rgba(0, 0, 0, 0.88) 34%, rgba(0, 0, 0, 0.55) 50%, rgba(0, 0, 0, 0.22) 62%, transparent 72%);
}

.wheel-art {
  position: absolute;
  z-index: 2;
  inset: 0;
}

.wheel-art__item {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--w);
  height: auto;
  transform: translate(-50%, -50%) rotate(var(--r, 0deg));
  filter: drop-shadow(0 4px 3px rgba(43, 8, 0, 0.51)) saturate(1.16) contrast(1.05);
  pointer-events: none;
}

.chance-text {
  margin: 0;
  padding: 0.125rem 0.75rem;
  border-radius: 9999px;
  background: rgba(0, 0, 0, 0.2);
  font-size: 0.75rem;
  font-weight: 500;
}

.weekly-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem;
  border: 2px solid #dc2626;
  border-radius: 1.5rem;
  background: #fff;
  text-align: center;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

.weekly-card__header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  padding-block: 0.5rem;
  border-radius: 1rem 1rem 0 0;
  background: #dc2626;
  color: #facc15;
}

.weekly-card__header h3 {
  margin: 0;
  color: #fff;
  font-size: 1.125rem;
  font-weight: 900;
}

.weekly-card__reset {
  margin: 0 0 1rem;
  color: #6b7280;
  font-size: 0.625rem;
  font-weight: 700;
}

.weekly-score {
  position: relative;
  width: 100%;
  margin-bottom: 1.5rem;
  padding: 1rem;
  overflow: hidden;
  border-radius: 1rem;
  background: #991b1b;
  color: #fff;
}

.weekly-score__pattern {
  position: absolute;
  inset: 0;
  opacity: 0.1;
  background-image: radial-gradient(circle, #ffffff 1px, transparent 1px);
  background-size: 10px 10px;
}

.weekly-score__content {
  position: relative;
  z-index: 1;
}

.weekly-score__label {
  margin: 0;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  opacity: 0.8;
}

.weekly-score__points {
  margin: 0 0 1rem;
  font-size: 2.25rem;
  font-weight: 900;
  line-height: 1;
}

.weekly-score__rank {
  display: inline-block;
  padding: 0.25rem 1rem;
  border-radius: 9999px;
  background: hsla(0, 0%, 100%, 0.2);
}

.weekly-score__rank p {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
}

.weekly-score__rank span {
  color: #facc15;
}

.milestone-track {
  width: 100%;
  margin-bottom: 1.5rem;
  padding-inline: 0.5rem;
}

.milestone-track__icons {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.milestone-track__next {
  margin: 0.75rem 0 0;
  color: #6b7280;
  font-size: 0.625rem;
  font-style: italic;
}

.milestone {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.milestone__label {
  margin-bottom: 0.25rem;
  color: #4b5563;
  font-size: 0.5rem;
  font-weight: 700;
  line-height: 1.1;
}

.milestone__icon {
  width: 2rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.375rem;
  background: #dc2626;
  color: #facc15;
  font-size: 0.75rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.milestone__icon.is-complete {
  background: #16a34a;
  color: #fff;
}

.progress {
  position: relative;
  width: 100%;
  height: 0.5rem;
  overflow: hidden;
  border-radius: 9999px;
  background: #e5e7eb;
}

.progress__fill {
  height: 100%;
  border-radius: inherit;
  background: #22c55e;
  transition: width 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

.instructions {
  padding: 20px;
  border-radius: 1.5rem;
  background: #e5e7eb;
}

.instructions__title {
  margin: 0 0 1.5rem;
  color: #1f2937;
  font-size: 20px;
  font-weight: 900;
  font-style: italic;
}

.instructions__list {
  display: grid;
  gap: 1rem;
}

.instruction-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.instruction-item__number {
  flex: 0 0 auto;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: #dc2626;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  min-width: 30px;
}

.instruction-item__text {
  margin: 0;
  color: #374151;
  font-size: 14px;
  font-weight: 700;
}

.site-footer {
  padding: 0.5rem 1rem;
  color: #9ca3af;
  font-size: 0.75rem;
  text-align: center;
}

.win-popup {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  transition: opacity 0.2s ease;
}

.win-popup.is-visible {
  display: flex;
}

.win-popup__dialog {
  max-width: 24rem;
  width: 100%;
  overflow: hidden;
  border: 4px solid red;
  border-radius: 1.5rem;
  background: linear-gradient(135deg, #fffbeb, #ffedd5);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  animation: popIn 0.25s cubic-bezier(0.34, 1.2, 0.64, 1);
}

.win-popup__content {
  position: relative;
  padding: 1.5rem;
  text-align: center;
}

.win-popup__badge {
  position: absolute;
  top: -1.5rem;
  left: 50%;
  padding: 0.5rem;
  border-radius: 9999px;
  background: #eab308;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  transform: translateX(-50%);
}

.win-popup__badge span {
  font-size: 2.25rem;
}

.win-popup__title {
  margin: 1rem 0 0;
  color: #b91c1c;
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 0.025em;
}

.win-popup__icon {
  margin-block: 0.75rem;
  font-size: 4.5rem;
  line-height: 1;
}

.win-popup__message {
  margin: 0 0 0.5rem;
  color: #1f2937;
  font-size: 1.125rem;
  font-weight: 700;
}

.win-popup__detail {
  margin: 0 0 1.25rem;
  color: #4b5563;
  font-size: 0.875rem;
}

.win-popup__button {
  width: 100%;
  padding: 0.5rem 1rem;
  border-radius: 0.75rem;
  font-weight: 900;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}

.win-popup__button:hover {
  transform: scale(1.05);
}

.toast-notify {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  z-index: 50;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  background: #111827;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  transform: translateX(-50%);
  animation: fadeInOut 2s ease forwards;
}

@keyframes fadeInOut {
  0% {
    opacity: 0;
    transform: translate(-50%, 10px);
  }
  15%, 85% {
    opacity: 1;
    transform: translate(-50%, 0);
  }
  100% {
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, -10px);
  }
}
@keyframes popIn {
  0% {
    opacity: 0;
    transform: scale(0.9);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
.wheel-card--lucky {
  background-color: #db1f26 !important;
  border-radius: 16px !important;
  padding: 20px !important;
  text-align: center;
  position: relative;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.wheel-card--lucky .wheel-card__heading {
  background: linear-gradient(180deg, #ffea8a 0%, #af8e32 100%) !important;
  color: #a41c1c !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 47px;
  padding: 6px 30px !important;
  border-radius: 0 0 33px 33px !important;
  font-weight: 900 !important;
  font-size: 18px;
  margin-top: -21px !important;
  margin-bottom: 12px !important;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.wheel-card--lucky .wheel-card__star {
  color: #a41c1c;
  font-size: 14px;
}

.wheel-card--multiplier {
  background: linear-gradient(180deg, #db2481 0%, #a21c97 100%) !important;
  border-radius: 16px !important;
  padding: 33px !important;
  text-align: center;
  position: relative;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.wheel-card--multiplier .wheel-card__heading {
  background: linear-gradient(180deg, #ffe17d 0%, #af8e32 100%) !important;
  color: #b91523 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 6px 30px !important;
  border-radius: 0 0 33px 33px !important;
  margin-top: -33px !important;
  margin-bottom: 12px !important;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.wheel-card--multiplier .wheel-card__heading h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 900;
}

.wheel-card--multiplier .wheel-card__star {
  color: #b91523;
  font-size: 14px;
}

.wheel-box {
  position: relative;
  width: 280px;
  height: 280px;
  margin: 0 auto;
}

.wheel-center-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 58px;
  height: 58px;
  background: linear-gradient(135deg, #fffdfd 0%, #fabdac 100%);
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  border: 2px solid #800004;
}

.wheel-center-logo img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
  object-fit: contain;
  border-radius: 50%;
}

.wheel-card--lucky .wheel-pointer {
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 11px solid rgba(0, 0, 0, 0);
  border-right: 11px solid rgba(0, 0, 0, 0);
  border-top: 19px solid #db1f26;
  z-index: 10;
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.3));
}

.wheel-card--lucky .wheel-pointer::after {
  content: "";
  position: absolute;
  top: -21px;
  left: -13px;
  border-left: 13px solid rgba(0, 0, 0, 0);
  border-right: 13px solid rgba(0, 0, 0, 0);
  border-top: 21px solid #fcc81d;
  z-index: -1;
}

.wheel-card--multiplier .wheel-pointer {
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 11px solid rgba(0, 0, 0, 0);
  border-right: 11px solid rgba(0, 0, 0, 0);
  border-top: 19px solid #ffda59;
  z-index: 10;
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.4));
}

.wheel-card--lucky .button--spin {
  background: linear-gradient(180deg, #ffff8e 0%, #ffdb45 100%) !important;
  color: #333 !important;
  font-weight: 900 !important;
  font-size: 16px;
  border: none !important;
  border-radius: 8px !important;
  padding: 12px 0 !important;
  width: 90% !important;
  margin: 25px auto 10px !important;
  display: block;
  box-shadow: 0 4px 0 #cc9b25 !important;
  cursor: pointer;
}

.wheel-card--multiplier .button--spin {
  background: #ffec61 !important;
  color: #2b083e !important;
  font-weight: 900 !important;
  font-size: 16px;
  border: none !important;
  border-radius: 8px !important;
  padding: 12px 0 !important;
  width: 90% !important;
  margin: 25px auto 10px !important;
  display: block;
  box-shadow: 0 4px 0 #ccb62a !important;
  cursor: pointer;
}

.chance-text {
  color: #fff !important;
  font-size: 12px !important;
}

.claim-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 2000;
}

.claim-popup.is-visible {
  opacity: 1;
  visibility: visible;
}

.claim-popup__dialog {
  background: #fff;
  border: 3px solid red;
  border-radius: 16px;
  padding: 30px;
  max-width: 400px;
  width: 90%;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  color: #000;
}

.claim-popup__title {
  font-size: 24px;
  font-weight: 900;
  color: #8c0000;
  margin-bottom: 15px;
}

.claim-popup__message {
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 25px;
}

.new-weekly-card {
  background-color: #fcf9dc;
  border: 3px solid #cc262b;
  border-radius: 16px;
  padding: 0 0 24px 0;
  text-align: center;
  position: relative;
}

.new-weekly-card .weekly-card__header {
  background: linear-gradient(180deg, #c90808 0%, #800000 100%) !important;
  color: #ffde59;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 10px 24px;
  border-radius: 0 0 33px 33px !important;
  font-size: 16px;
  font-weight: 900;
  margin-top: -3px;
  width: calc(90% + 6px);
  margin-left: -3px;
  box-sizing: border-box;
}

.new-weekly-card .weekly-card__header h3 {
  margin: 0;
  font-size: 16px;
}

.new-weekly-card .weekly-card__reset {
  font-size: 11px;
  font-weight: 700;
  color: #222;
  margin: 16px 0;
}

.wallet-showcase {
  position: relative;
  width: 280px;
  height: 160px;
  margin: 0 auto 24px;
  background-image: url("../../../Resources/DT/Image/bg.webp");
  border-radius: 12px 12px 24px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.wallet-points-card {
  border-radius: 12px;
  padding: 12px 24px;
  margin-bottom: 12px;
  position: relative;
  z-index: 2;
}

.wallet-points-card__label {
  font-size: 12px;
  font-weight: 700;
  color: #333;
  margin: 0 0 4px 0;
}

.wallet-points-card__value {
  font-size: 32px;
  font-weight: 900;
  color: #333;
  margin: 0;
}

.wallet-ranking-pill {
  border-radius: 20px;
  padding: 6px 24px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  position: relative;
  z-index: 2;
}

.wallet-ranking-pill span {
  font-weight: 900;
  font-size: 14px;
}

.milestone-section {
  padding: 0 20px;
}

.milestone-icons {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  padding: 0 10px;
}

.milestone-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.milestone-item__label {
  font-size: 11px;
  font-weight: 900;
  color: #222;
  line-height: 1.2;
  text-align: center;
}

.milestone-item__envelope {
  width: 75px;
}

.milestone-item__envelope img {
  width: 100%;
}

.progress-track-wrapper {
  position: relative;
  width: 100%;
  height: 24px;
  margin-bottom: 16px;
}

.progress-bar-bg {
  position: absolute;
  top: 50%;
  left: 20px;
  right: 20px;
  transform: translateY(-50%);
  height: 6px;
  background-color: #d8d8d8;
  border-radius: 3px;
}

.progress-bar-fill {
  position: absolute;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
  height: 6px;
  background-color: #34a853;
  border-radius: 3px;
  transition: width 0.4s ease;
}

.progress-nodes {
  position: absolute;
  top: 0;
  left: 10px;
  right: 10px;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.progress-node {
  width: 20px;
  height: 20px;
  background-color: #d8d8d8;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.4s ease;
  z-index: 2;
}

.milestone__icon {
  display: none !important;
}

.progress-node.is-active {
  background-color: #34a853;
}

.progress-node.is-active::after {
  content: "✔";
  color: #fff;
  font-size: 12px;
}

.next-reward-text {
  font-size: 11px;
  font-weight: 700;
  color: #333;
  margin-bottom: 20px;
}

.btn-claim {
  background-color: #cc262b;
  color: #ffde59;
  font-weight: 900;
  font-size: 16px;
  border: none;
  border-radius: 24px;
  padding: 12px 0;
  width: 80%;
  cursor: pointer;
  box-shadow: 0 4px 0 #9e1c20;
  transition: transform 0.1s;
}

.btn-claim:active {
  transform: translateY(4px);
  box-shadow: 0 0 0 #9e1c20;
}

.content-tabs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin: 0 auto 1.5rem auto;
  background: rgba(0, 0, 0, 0.05);
  padding: 0.375rem;
  border-radius: 0.75rem;
  max-width: 600px;
}

.content-tabs .tab-btn {
  flex: 1;
  padding: 0.75rem 0.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: #4b5563;
  background: rgba(0, 0, 0, 0);
  border: none;
  border-radius: 0.5rem;
  transition: all 0.25s ease;
}

.content-tabs .tab-btn:hover {
  color: #dc2626;
  background: hsla(0, 0%, 100%, 0.6);
}

.content-tabs .tab-btn.is-active {
  color: #fff;
  background: linear-gradient(180deg, #db1f26 0%, #ab2020 100%);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.tab-panel {
  display: none;
  animation: fadeIn 0.3s ease-in-out forwards;
}

.tab-panel.is-visible {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.leaderboard-container {
  background: #fff;
  border-radius: 1.5rem;
  padding: 1.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  border: 1px solid #e5e7eb;
}

.leaderboard-podium {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-top: 1rem;
}

.podium-place {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  max-width: 120px;
}

.podium-place .podium-avatar {
  font-size: 2rem;
  margin-bottom: 0.25rem;
}

.podium-place .podium-name {
  font-size: 0.75rem;
  font-weight: 700;
  margin: 0;
  color: #1f2937;
}

.podium-place .podium-score {
  font-size: 0.75rem;
  color: #dc2626;
  font-weight: 700;
  margin: 2px 0;
}

.podium-place .podium-block {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 900;
  font-size: 1.25rem;
  border-radius: 0.5rem 0.5rem 0 0;
}

.podium-place--1 {
  max-width: 135px;
}

.podium-place--1 .podium-avatar {
  font-size: 2.75rem;
}

.podium-place--1 .podium-block {
  height: 90px;
  background: linear-gradient(180deg, #facc15 0%, #ca8a04 100%);
  color: #451a03;
}

.podium-place--2 .podium-block {
  height: 65px;
  background: linear-gradient(180deg, #9ca3af 0%, #4b5563 100%);
}

.podium-place--3 .podium-block {
  height: 45px;
  background: linear-gradient(180deg, #cd7f32 0%, #a0522d 100%);
}

.leaderboard-table-wrapper {
  overflow-x: auto;
}

.leaderboard-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.875rem;
}

.leaderboard-table th,
.leaderboard-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #e5e7eb;
}

.leaderboard-table th {
  color: #6b7280;
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
}

.leaderboard-table td {
  color: #1f2937;
  font-weight: 600;
}

.leaderboard-table .rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  background: #f3f4f6;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
}

.leaderboard-table .rank-badge--user {
  background: #dc2626;
  color: #fff;
}

.leaderboard-table .reward-highlight {
  color: #16a34a;
  font-weight: 700;
}

.leaderboard-table .current-user-row {
  background-color: #fdf8e2;
}

.leaderboard-table .current-user-row td {
  border-top: 2px solid #facc15;
  border-bottom: 2px solid #facc15;
}

.terms-container {
  background: #fff;
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  border: 1px solid #e5e7eb;
  text-align: left;
}

.terms-title {
  margin: 0 0 1.25rem 0;
  color: #111827;
  font-size: 1.25rem;
  font-weight: 900;
}

.terms-list {
  margin: 0;
  padding-left: 1.25rem;
}

.terms-list li {
  margin-bottom: 1rem;
  color: #374151;
  font-size: 0.875rem;
  line-height: 1.6;
}

.terms-list li strong {
  color: #111827;
}

.terms-list li:last-child {
  margin-bottom: 0;
}

.row {
  display: flex;
}

.col {
  display: flex;
  flex-direction: column;
}

.page_nav_row {
  width: 100%;
  margin: auto;
  padding: 3px;
  background: #fff;
  border-radius: 999rem;
  border-radius: 15px;
  overflow: auto;
  align-items: stretch;
  gap: 3px;
  margin-bottom: 12px;
}

.page_nav_row .page_nav {
  flex: 1;
  padding: 10px 4px;
  border-radius: 8px;
  text-align: center;
  color: #939598;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.4s;
  cursor: pointer;
}

.page_nav_row .nav_active {
  color: #fff;
  background: linear-gradient(79deg, var(--c-primary-light) 0%, var(--c-primary-mid) 49.5%, var(--c-primary-dark) 100%) !important;
}

.info-strip {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  padding: 20px;
  background: #e6e7e8;
  margin-top: -24px;
  border-radius: 0 0 15px 15px;
  margin-bottom: 15px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: -15px;
}

.info-item .icon {
  font-size: 38px;
  line-height: 1;
  color: var(--c-primary);
  width: 45px;
}

.info-item .icon img {
  width: 100%;
}

.info-item span {
  display: block;
  font-size: 11px;
  font-weight: 800;
  color: #333;
}

.info-item strong {
  display: block;
  font-size: 15px;
  font-weight: 900;
  color: #111;
  line-height: 1;
  margin: 2px 0;
}

.info-item p {
  font-size: 10px;
  font-weight: 600;
  color: #777;
}

.divider {
  width: 1px;
  height: 58px;
  background: #b8bdc1;
}

.rewards-row {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 12px;
  margin-bottom: 22px;
  align-items: start;
  margin-top: 22px;
}

.reward-block {
  position: relative;
  border: 4px solid #be1e2d;
  border-radius: 18px;
  background: #fff;
  min-height: 170px;
}

.section-title {
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(270deg, #d7a95c 10%, #f6d77f, #d4a55a);
  color: #be1e2d;
  border: 3px solid #be1e2d;
  border-radius: 999px;
  padding: 7px 26px;
  font-size: 15px;
  font-weight: 900;
  white-space: nowrap;
  margin: 0;
  text-align: center;
  z-index: 3;
}

.monthly {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 40px 20px 55px;
  background: linear-gradient(180deg, #fdfdfd 50%, #e6e7e8);
}

.podium {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: start;
  text-align: center;
  width: 100%;
}

.podium .rank {
  border-right: 1px solid #ee2626;
}

.podium .rank:last-child {
  border-right: 0;
}

.podium .medal {
  width: 70px;
  margin: auto;
}

.podium .medal img {
  width: 100%;
  height: 100%;
}

.podium h4 {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
}

.podium strong {
  color: var(--c-primary);
  font-size: 13px;
  font-weight: 800;
}

.podium strong span {
  font-size: 22px;
  font-weight: 800;
}

.weekly-column {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.rank-list {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  width: 100%;
}

.rank-list div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 900;
}

.rank-list div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.rank-list span {
  display: flex;
  align-items: center;
  gap: 7px;
  font-weight: 800;
  font-size: 12px;
}

.rank-list span img {
  width: 20px;
}

.rank-list strong {
  color: var(--c-primary);
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: flex-end;
  gap: 4px;
  justify-content: flex-end;
  width: 25%;
  line-height: 1;
}

.rank-list strong span {
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

.pool {
  position: absolute;
  left: 50%;
  bottom: -3px;
  transform: translateX(-50%);
  background: #be1e2d;
  color: #ffd86b;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 34px;
  border-radius: 999px 999px 0 0;
  white-space: nowrap;
}

.weekly {
  background: radial-gradient(circle at 80% 30%, #ff3939 0, var(--c-primary) 45%, #d5131b 100%);
  color: #fff;
}

.weekly .section-title {
  color: #be1e2d;
}

.weekly-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  height: 100%;
  position: relative;
  padding: 15px;
  overflow: hidden;
  min-height: 170px;
}

.weekly-content > div {
  width: 55%;
  margin-left: auto;
  align-self: center;
  /*padding-top: 10px;*/
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transform: translateY(5px);
}

.weekly-content img {
  width: 48%;
  height: 100%;
  -o-object-fit: contain;
  object-fit: contain;
  -o-object-position: center;
  object-position: center;
  position: absolute;
  left: 0;
  top: 0;
}

.weekly-content h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
}

.weekly-content h2 {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 800;
  text-align: center;
  line-height: 1;
}

.weekly-content h2 span {
  color: #ffd35d;
  font-size: 18px;
  font-weight: 800;
}

.weekly-content p {
  margin: 0;
  font-size: 12px;
  font-style: italic;
  text-align: center;
  font-weight: 600;
}

.content-card {
  display: none;
  background: #eef0f2;
  border-radius: 18px;
  padding: 26px 34px;
}

.content-card.active {
  display: block;
}

.content-card h3 {
  margin: 0 0 16px;
  font-size: 21px;
  font-weight: 800;
}

.content-card ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: item;
}

.content-card li {
  position: relative;
  counter-increment: item;
  padding-left: 34px;
  margin-bottom: 14px;
  font-size: 14px;
  font-weight: 700;
  color: #555;
}

.content-card li::before {
  content: counter(item);
  position: absolute;
  left: 0;
  top: -2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #be1e2d;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}

.content-card li:last-child {
  margin-bottom: 0;
}

.content-card p {
  font-size: 15px;
  font-weight: 600;
  color: #555;
}

.reward-lucky-card {
  position: relative;
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 15px;
  background: radial-gradient(circle at right top, #ffd987 0%, #fff2d7 35%, #fff 70%);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.hero {
  position: relative;
  width: 115px;
  min-width: 115px;
  height: 115px;
  border-radius: 14px;
  overflow: hidden;
  background: #ff9800;
  flex-shrink: 0;
}

.hero img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.new-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: linear-gradient(to bottom, #1b944d, #0f5f31);
  border-radius: 8px;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  z-index: 5;
}

.content {
  flex: 1;
  padding: 0 18px;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.title {
  font-size: 17px;
  font-weight: 800;
  color: #2f2f2f;
  margin-bottom: 4px;
  line-height: 1.2;
}

.subtitle {
  font-size: 12px;
  color: #777;
  margin-bottom: 6px;
}

.amount-row {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  margin-bottom: 12px;
}

.amount-label {
  font-size: 16px;
  font-weight: 700;
  color: #444;
}

.amount {
  font-size: 24px;
  font-weight: 900;
  color: #df1c1c;
  line-height: 1;
}

.timeline {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 320px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: 10px;
  height: 3px;
  background: #ddd1c0;
  z-index: 0;
}

.step {
  position: relative;
  z-index: 2;
  text-align: center;
  flex: 1;
}

.circle {
  width: 22px;
  height: 22px;
  margin: 0 auto 5px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffc96a;
  border: 2px solid #d78f17;
}

.step.completed .circle {
  background: #ff2d2d;
  border-color: #ff2d2d;
  color: #fff;
}

.step.completed .circle::before {
  content: "✓";
  font-size: 11px;
  font-weight: bold;
}

.day {
  font-size: 11px;
  font-weight: 700;
  color: #555;
}

.actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 3;
}

.actions .btn {
  width: 100%;
}

.coins {
  position: absolute;
  right: 140px;
  bottom: -8px;
  font-size: 75px;
  opacity: 0.15;
  pointer-events: none;
}

@media (max-width: 768px) {
  .reward-card {
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 20px;
  }
  .hero {
    width: 100%;
    height: 180px;
  }
  .content {
    width: 100%;
    padding: 16px 0;
  }
  .timeline {
    max-width: 100%;
  }
  .actions {
    position: relative;
    top: auto;
    right: auto;
    transform: none;
    width: 100%;
    margin-top: 12px;
  }
  .btn {
    width: 100%;
  }
  .coins {
    display: none;
  }
}
.leaderboard-tab {
  display: none;
}

.leaderboard-tab.active {
  display: block;
}

.leaderboard-wrapper {
  display: grid;
  grid-template-columns: 310px 1fr;
  gap: 16px;
  margin-bottom: 26px;
}

.my-points-card,
.leaderboard-card {
  border: 4px solid #be1e2d;
  border-radius: 22px;
  background: #eef0f2;
  overflow: hidden;
}

.card-header {
  background: #be1e2d;
  color: #fff;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 14px;
}

.points-body {
  padding: 22px;
}

.point-box {
  background: #fff;
  border-radius: 14px;
  padding: 18px 28px;
  text-align: center;
  margin-bottom: 16px;
}

.point-box:last-child {
  margin-bottom: 0;
}

.point-box h4 {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 700;
  color: #242424;
}

.point-box strong {
  display: block;
  color: #be1e2d;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.1;
}

.point-box hr {
  border: 0;
  border-top: 1px solid #e2e2e2;
  margin: 18px 0;
}

.leaderboard-body {
  padding: 20px;
}

.leaderboard-tabs {
  display: flex;
  background: #d0d2d4;
  border-radius: 10px;
  padding: 4px;
  margin-bottom: 10px;
}

.leaderboard-tabs .leader-tab {
  width: 50%;
  border: 0;
  background: rgba(0, 0, 0, 0);
  color: #999;
  font-size: 14px;
  font-weight: 700;
  padding: 10px;
  border-radius: 8px;
  cursor: pointer;
}

.leaderboard-tabs .leader-tab.active {
  background: #be1e2d;
  color: #fff;
}

.time-left {
  text-align: center;
  font-size: 13px;
  color: #222;
  margin: 10px 0 16px;
}

.leader-table-wrap {
  max-height: 560px;
  overflow-y: auto;
  padding-right: 8px;
}

.leader-table-wrap::-webkit-scrollbar {
  width: 8px;
}

.leader-table-wrap::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0);
}

.leader-table-wrap::-webkit-scrollbar-thumb {
  background: #b8b8b8;
  border-radius: 999px;
}

.leader-table {
  display: none;
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  table-layout: fixed;
}

.leader-table.active {
  display: table;
}

.leader-table th {
  color: #222;
  font-size: 12px;
  font-weight: 700;
  padding: 10px;
  text-align: center;
  background: rgba(0, 0, 0, 0) !important;
}

.leader-table thead tr {
  background: rgba(0, 0, 0, 0) !important;
}

.leader-table tr:nth-child(odd) {
  background: #fff;
}

.leader-table img {
  width: 30px;
  margin: auto;
}

.leader-table td {
  color: #3d3d3d;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 10px;
  text-align: center;
}

/*.leader-table th:nth-child(1),
    .leader-table td:nth-child(1) {
        width: 20%;
        border-radius: 4px 0 0 4px;
    }

    .leader-table th:nth-child(2),
    .leader-table td:nth-child(2) {
        width: 30%;
    }

    .leader-table th:nth-child(3),
    .leader-table td:nth-child(3) {
        width: 25%;
    }

    .leader-table th:nth-child(4),
    .leader-table td:nth-child(4) {
        width: 25%;
        border-radius: 0 4px 4px 0;
    }*/
.leader-table .medal {
  font-size: 24px;
  line-height: 1;
}

.my-rank-row {
  display: grid;
  /*grid-template-columns: 24% 30% 20% 28%;*/
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  background: linear-gradient(79deg, var(--c-primary-light) 0%, var(--c-primary-mid) 49.5%, var(--c-primary-dark) 100%);
  border: 2px solid #ffca00;
  color: #fff;
  border-radius: 999px;
  margin-top: 10px;
  overflow: hidden;
}

.my-rank-row > div,
.my-rank-row > span {
  text-align: center;
}

.my-rank-row span {
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  padding: 7px 10px;
}

.leaderboard-info {
  display: block;
  background: #eef0f2;
  border-radius: 18px;
  padding: 28px 34px;
}

#leaderboard.active {
  display: block;
}

.select_wrap {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 999;
  display: none;
  flex-direction: column;
}

.select_wrap .select_popup {
  width: 100%;
  margin-top: auto;
}

.select_wrap .select_title {
  background: var(--c-primary);
  width: 100%;
  justify-content: center;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 15px;
  border-radius: 10px 10px 0 0;
  position: relative;
}

.select_wrap .select_title i {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 10px;
  align-self: flex-end;
  font-size: 30px;
}

.select_wrap .select_con {
  width: 100%;
  background: #fff;
  padding-bottom: 30vh;
}

.select_wrap .select_con .select_row {
  width: 100%;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  padding: 14px;
  border-bottom: 1px dashed #bcbec0;
  color: #888a8d;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.select_wrap .select_con .select_row img {
  width: 20px;
}

.select_wrap .select_con_show {
  animation: slide-in-bottom 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

.select_wrap .select_con_hide {
  animation: slide-in-hide 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

.select_row .language_item {
  width: 100%;
  color: #fff;
  font-size: 12px;
  gap: 10px;
  justify-content: center;
  align-items: center;
}

.select_row .language_item img {
  width: 30px;
  filter: drop-shadow(0px 0px 4px rgba(0, 0, 0, 0.4));
}

.select_row .language_item .lang_infor_col {
  align-items: flex-start;
  gap: 4px;
}

.select_row .language_item .lang_infor_col .lang_cntry {
  font-size: 12px;
  color: gray;
  font-weight: 600;
  font-style: italic;
}

.select_row .language_item .lang_infor_col .lang_selection {
  width: 100%;
  gap: 5px;
  align-items: center;
}

.select_row .language_item .lang_infor_col .lang_selection .lang {
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: 0.4s;
  padding: 5px 8px;
  border-radius: 6px;
  color: #818284;
}

.select_row .language_item .lang_infor_col .lang_selection .lang:hover {
  color: #b4a280;
}

.select_row .language_item .lang_infor_col .lang_selection .lang.active {
  background: var(--c-primary);
  color: #fff;
  box-shadow: 0px 0px 8px inset rgba(0, 0, 0, 0.2);
}

@media (max-width: 900px) {
  .leaderboard-wrapper {
    grid-template-columns: 1fr;
  }
  .my-points-card {
    max-width: none;
  }
}
@media (max-width: 640px) {
  .leaderboard-body {
    padding: 14px;
  }
  .leader-table .medal {
    font-size: 20px;
  }
  .my-rank-row span {
    font-size: 13px;
    padding: 7px 5px;
  }
  .points-body {
    padding: 16px;
  }
  .point-box strong {
    font-size: 28px;
  }
}
@media (max-width: 1180px) {
  .wheel-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 950px) {
  .rewards-row {
    grid-template-columns: repeat(1, 1fr);
    gap: 30px;
  }
  .monthly {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 24px 20px 40px;
    background: linear-gradient(180deg, #fdfdfd 50%, #e6e7e8);
  }
  .wheel-grid {
    grid-template-columns: repeat(1, 1fr);
  }
  .podium {
    width: 100%;
    max-width: 500px;
  }
  .rank-list {
    width: 100%;
  }
  .rank-list strong {
    justify-content: flex-end;
  }
  .points-body {
    display: flex;
    align-items: stretch;
    gap: 10px;
  }
  .points-body .point-box {
    height: 100%;
    margin-bottom: 0;
    flex: 1;
  }
}
/*Pagination: the shared pager design is in abstracts/_components.scss (t2-new-web v5)*/
/*Table*/
#total-board tbody tr,
#weekly-board tbody tr {
  height: 42px;
}

#total-board td,
#weekly-board td {
  vertical-align: middle;
}

.medal img {
  width: 28px;
  height: 28px;
  -o-object-fit: contain;
  object-fit: contain;
}

/*Language*/
.lang-switch {
  font-weight: 600;
  font-size: 0.85rem;
  color: #dc2626;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 0, 0, 0);
  border: 0;
}

.lang-popup {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.lang-popup .lang-popup-content {
  position: relative;
  width: 260px;
  padding: 20px 18px 18px;
  border-radius: 16px;
  background: hsla(0, 0%, 100%, 0.95);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.2);
  animation: popupFade 0.25s ease;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lang-popup .close {
  position: absolute;
  top: 10px;
  right: 12px;
  font-size: 18px;
  color: #888;
  cursor: pointer;
  transition: 0.2s;
}

.lang-popup .close:hover {
  color: #e11d48;
  transform: rotate(90deg);
}

.lang-popup .lang-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 15px;
  font-weight: 500;
  color: #333;
}

.lang-popup .lang-option img {
  width: 35px;
  border-radius: 3px;
}

.lang-popup .lang-option:hover {
  background: #f3f4f6;
  transform: translateY(-2px);
}

.lang-popup .lang-option:active {
  transform: scale(0.97);
}

.lang-popup.active {
  display: flex;
}

@keyframes popupFade {
  from {
    opacity: 0;
    transform: translateY(15px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.lang-switch {
  cursor: pointer;
}

.lang-switch img {
  width: 28px;
}

/* ── Nickname Popup ── */
.nickname-overlay {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  transition: opacity 0.2s ease;
}

.nickname-popup-content {
  max-width: 24rem;
  width: 100%;
  overflow: hidden;
  border: 4px solid red;
  border-radius: 1.5rem;
  background: linear-gradient(135deg, #fffbeb, #ffedd5);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  animation: popIn 0.25s cubic-bezier(0.34, 1.2, 0.64, 1);
  padding: 1.5rem;
  text-align: center;
}

.nickname-popup-content h2 {
  margin: 0 0 1rem;
  color: #b91c1c;
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 0.025em;
}

.nickname-popup-content input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 16px;
  box-sizing: border-box;
  margin-bottom: 1rem;
}

.nickname-submit-btn {
  background: #b91c1c;
  color: #fff;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 0.75rem;
  font-weight: 900;
  margin: 8px 0 0;
  cursor: pointer;
  width: 100%;
  font-size: 1rem;
  transition: 0.2s;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}

.nickname-submit-btn:hover {
  transform: scale(1.05);
}

.nickname-submit-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

/*Tnc*/
.tnc-btn {
  background: rgb(var(--rgb-primary)/0.1);
  border: 1px solid #dc2626;
  padding: 6px 14px;
  border-radius: 40px;
  font-weight: 600;
  font-size: 0.85rem;
  color: #dc2626;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

.tnc-btn span {
  list-style: 1;
}

.tnc-btn:hover {
  background: #dc2626;
  color: #fff;
}

.tnc-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1001;
  visibility: hidden;
  opacity: 0;
  transition: all 0.2s ease;
}

.tnc-modal-overlay.active {
  visibility: visible;
  opacity: 1;
}

.tnc-modal-content {
  background: #fff;
  border-radius: 32px;
  max-width: 600px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  padding: 28px 24px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
  position: relative;
}

.tnc-modal-content::-webkit-scrollbar {
  display: none;
}

.tnc-modal-content {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.tnc-modal-content h3 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: #dc2626;
  text-align: center;
  margin-top: 0;
}

.tnc-modal-content h4 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 20px 0 10px;
  color: #1f2937;
}

.tnc-modal-content p,
.tnc-modal-content ul {
  margin-bottom: 12px;
  line-height: 1.6;
  color: #4b5563;
}

.tnc-modal-content ul {
  margin-left: 20px;
}

.tnc-modal-content li {
  margin-bottom: 8px;
}

.close-tnc-modal {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 24px;
  cursor: pointer;
  color: #9ca3af;
  transition: color 0.2s;
}

.close-tnc-modal:hover {
  color: #dc2626;
}

/*Header user badge*/
.user-badge {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  padding: 8px 20px;
  border-radius: 60px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  white-space: nowrap;
}

:root {
  --red-deep: #8f0f16;
  --red-main: #c81e2c;
  --red-bright: #e8232f;
  --gold: #f0c14b;
  --gold-light: #ffe6a3;
  --cream: #fdf3d8;
  --ink: #3a1210;
}

/* ---- Outer section + full-width ribbon header ---- */
.reward-lucky-section, .reward-lucky-section * {
  box-sizing: border-box;
}

.reward-lucky-section {
  max-width: 1240px;
  width: 100%;
  margin: 24px auto 0;
  border: 3px solid var(--red-bright);
  border-radius: 20px;
  overflow: hidden;
  background: var(--cream);
}

.reward-section__header {
  background: linear-gradient(180deg, var(--red-bright), var(--red-deep));
  padding: 16px 24px;
  text-align: center;
  border-bottom-left-radius: 50% 22px;
  border-bottom-right-radius: 50% 22px;
}

.reward-section__title {
  color: #fff;
  font-size: clamp(16px, 5vw, 22px);
  font-weight: 800;
  letter-spacing: 0.3px;
  margin: 0;
}

.reward-section__title .star {
  color: var(--gold);
  font-size: 15px;
  margin: 0 10px;
  vertical-align: middle;
}

/* ---- Two-column grid, mirrors .wheel-grid ---- */
.reward-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 22px 24px 26px;
  width: 100%;
}

@media (max-width: 768px) {
  .reward-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 18px 16px 22px;
  }
}
.reward-lucky-card {
  display: flex;
  flex-direction: column;
}

.reward-card--pouch {
  align-items: center;
}

.reward-card__subtitle {
  text-align: center;
  font-size: 12.5px;
  color: var(--ink);
  font-weight: 600;
  margin: 0 0 16px;
}

.pouch-wrap {
  position: relative;
  width: 100%;
  max-width: 260px;
  aspect-ratio: 260/150;
  margin-top: 35px;
}

.pouch-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 110px;
  background: linear-gradient(180deg, var(--red-bright) 0%, var(--red-deep) 100%);
  border-radius: 0 0 26px 26px;
  box-shadow: inset 0 -10px 18px rgba(0, 0, 0, 0.25);
}

.pouch-body::before {
  content: "";
  position: absolute;
  top: -22px;
  left: -6px;
  right: -6px;
  height: 44px;
  background: var(--red-bright);
  border-radius: 50%;
}

.pouch-handle {
  position: absolute;
  top: -14px;
  left: 8px;
  right: 8px;
  height: 34px;
  border: 10px solid var(--red-deep);
  border-bottom: none;
  border-radius: 50% 50% 0 0/100% 100% 0 0;
  opacity: 0.55;
}

.coin {
  position: absolute;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--gold-light), var(--gold) 60%, #b8860b 100%);
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.35);
  z-index: 3;
}

.c1 {
  top: -6px;
  left: 6px;
}

.c2 {
  top: -16px;
  left: 34px;
}

.c3 {
  top: -22px;
  left: 66px;
  width: 18px;
  height: 18px;
}

.c4 {
  top: -22px;
  right: 66px;
  width: 18px;
  height: 18px;
}

.c5 {
  top: -16px;
  right: 34px;
}

.c6 {
  top: -6px;
  right: 6px;
}

.c7 {
  top: 22px;
  left: -8px;
  width: 19px;
  height: 19px;
}

.c8 {
  top: 46px;
  left: -10px;
}

.c9 {
  top: 70px;
  left: -6px;
  width: 18px;
  height: 18px;
}

.c10 {
  top: 22px;
  right: -8px;
  width: 19px;
  height: 19px;
}

.c11 {
  top: 46px;
  right: -10px;
}

.c12 {
  top: 70px;
  right: -6px;
  width: 18px;
  height: 18px;
}

.pouch-clasp {
  position: absolute;
  left: 50%;
  top: 34px;
  transform: translateX(-50%);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--gold-light), var(--gold) 60%, #b8860b 100%);
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.35);
  z-index: 4;
}

.points-plate {
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 73%;
  max-width: 190px;
  background: #fffdf6;
  border: 2px solid var(--gold);
  border-radius: 14px;
  padding: 10px 12px 8px;
  text-align: center;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
  z-index: 2;
}

.points-plate__label {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 2px;
}

.points-plate__value {
  font-size: 26px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1;
}

.need {
  font-size: 12px;
  margin-top: 4px;
  opacity: 0.9;
}

.need b {
  color: #fde68a;
  font-weight: 800;
}

.ranking-pill {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 69%;
  max-width: 180px;
  background: var(--red-deep);
  border: 2px solid var(--gold);
  border-radius: 20px;
  text-align: center;
  padding: 7px 10px;
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  z-index: 2;
}

/* ---- Right column: milestones + progress ---- */
.reward-card--milestones {
  justify-content: center;
}

.milestone-icons {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 14px;
  width: 100%;
}

.milestone-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1 1 0;
  min-width: 0;
}

.milestone-item__label {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  text-align: center;
  line-height: 1.25;
}

.milestone-item__label {
  white-space: nowrap;
}

@media (max-width: 380px) {
  .milestone-item__label {
    font-size: 10.5px;
  }
}
.milestone-item.is-claimed .milestone-item__envelope {
  filter: grayscale(0.15);
}

.progress-track-wrapper {
  position: relative;
  height: 14px;
  margin: 0 6px 16px;
}

.progress-bar-bg {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 3px;
  background: #e3d9b8;
  transform: translateY(-50%);
  border-radius: 2px;
}

.progress-bar-fill {
  position: absolute;
  top: 50%;
  left: 0;
  height: 3px;
  background: var(--gold);
  transform: translateY(-50%);
  border-radius: 2px;
  transition: width 0.4s ease;
}

.progress-nodes {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
}

.progress-node {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: #cfcfcf;
  border: 2px solid var(--cream);
}

.progress-node.is-reached {
  background: var(--gold);
}

.next-reward-text {
  text-align: center;
  font-size: 12.5px;
  color: var(--ink);
  line-height: 1.5;
  margin: 0;
}

.next-reward-text .highlight {
  font-weight: 800;
  color: var(--red-bright);
}

/* ============================================================================
* new_wheel.css
* ----------------------------------------------------------------------------
* The two prize wheels inside Index.html -> Lucky Wheel section.
*
* style.min.css sizes the wheel at a fixed 280x280 and paints the cards red /
* magenta. Everything below re-does those two things: the wheel is now fluid
* (it fills its card up to 460px and shrinks with the screen) and both cards
* are light grey. Nothing outside .page_target.luckywheel is touched.
*
* ONE NUMBER TO RESIZE THE WHEELS: --nw-wheel-max below.
* ========================================================================== */
.page_target.luckywheel {
  /* Biggest the wheel is allowed to get on a wide screen. */
  --nw-wheel-max: 360px;
  /* Card padding. The heading pill is pulled up by exactly this much. */
  --nw-pad: clamp(14px, 2.2vw, 26px);
  /* Theme -------------------------------------------------------------- */
  --nw-red-dark: #400001;
  --nw-red: #cc0009;
  --nw-red-grad: linear-gradient(180deg, #400001 0%, #cc0009 100%);
  --nw-gold-dark: #793510;
  --nw-gold: #ea940d;
  --nw-gold-light: #fde689;
  --nw-gold-grad: linear-gradient(180deg, #793510 0%, #ea940d 48%, #fde689 100%);
}

/* Outer padding for the tab, which has no .page_wrap of its own. */
.page_target.luckywheel .wheel-section {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  /*padding: 30px 15px 10px;*/
}

/* Two wheels, so two columns instead of the three-card layout. */
.page_target.luckywheel .wheel-grid {
  grid-template-columns: minmax(0, 1fr);
  justify-content: center;
  gap: clamp(18px, 3vw, 32px);
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .page_target.luckywheel .wheel-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 950px) {
  .page_target.luckywheel .wheel-grid {
    grid-template-columns: minmax(0, 1fr);
    max-width: calc(var(--nw-wheel-max) + 90px);
  }
}
/* ---------------------------------------------------------------------------
 * 1. Bigger + responsive wheel
 * ------------------------------------------------------------------------ */
/* style.min.css pins this to 280x280px. It now grows with the card. */
.page_target.luckywheel .wheel-box {
  width: 100%;
  max-width: var(--nw-wheel-max);
  /* Fallback for browsers without aspect-ratio, overridden just below. */
  height: clamp(240px, 74vw, var(--nw-wheel-max));
  margin: 0 auto clamp(10px, 1.6vw, 18px);
}

@supports (aspect-ratio: 1/1) {
  .page_target.luckywheel .wheel-box {
    height: auto;
    aspect-ratio: 1/1;
  }
}
/* The prize artwork is already positioned in % of the wheel, so it scales by
   itself. The pointer and the hub are pixel sized, so they scale here.
   wheel-logo.png already draws its own gold ring and cream face, so the
   wrapper style.min.css puts around it is stripped back to nothing. */
.page_target.luckywheel .wheel-center-logo {
  width: 33%;
  height: 33%;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
}

.page_target.luckywheel .wheel-center-logo img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
  object-fit: contain;
  border-radius: 0;
  filter: drop-shadow(0 4px 6px rgba(43, 8, 0, 0.45));
}

/* Gold bulb frame (wheel-frame.png, transparent centre) laid over the wheel,
   and the pin (wheel-pin.png) replacing the CSS triangle. Both are sized in %
   of the wheel, so they scale with it. */
.page_target.luckywheel .wheel-box::after {
  content: "";
  position: absolute;
  z-index: 6;
  inset: 0;
  background: url("/Resources/DT/Image/wheel-frame.webp") no-repeat center/contain;
  pointer-events: none;
}

/* The pie tucks just inside the frame's inner edge. */
.page_target.luckywheel .wheel-rotor {
  inset: 5.5%;
}

.page_target.luckywheel .wheel-surface {
  border: 0;
}

.page_target.luckywheel .wheel-pointer {
  top: -1.5%;
  left: 50%;
  z-index: 8;
  width: 9%;
  height: 15.65%; /* 92 x 160 artwork, box is square */
  border: 0;
  background: url("/Resources/DT/Image/wheel-pin.webp") no-repeat center/contain;
  transform: translateX(-50%);
  filter: drop-shadow(0 5px 4px rgba(74, 23, 0, 0.35));
}

.page_target.luckywheel .wheel-card--lucky .wheel-pointer::after {
  display: none;
}

/* Card padding scales too, and the heading pill keeps sitting flush on the
   top edge (its negative margin has to match the padding exactly). */
.page_target.luckywheel .wheel-card--lucky,
.page_target.luckywheel .wheel-card--multiplier {
  padding: var(--nw-pad) !important;
}

.page_target.luckywheel .wheel-card--lucky .wheel-card__heading,
.page_target.luckywheel .wheel-card--multiplier .wheel-card__heading {
  gap: clamp(12px, 4vw, 40px);
  margin-top: calc(var(--nw-pad) * -1) !important;
  padding: 6px clamp(16px, 3vw, 30px) !important;
  font-size: clamp(15px, 1.5vw, 18px);
}

.page_target.luckywheel .wheel-card--multiplier .wheel-card__heading h3,
.page_target.luckywheel .wheel-card__title {
  font-size: clamp(15px, 1.5vw, 18px);
}

.page_target.luckywheel .button--spin {
  margin: clamp(12px, 2vw, 25px) auto 10px !important;
  font-size: clamp(15px, 1.5vw, 18px);
}

/* ---------------------------------------------------------------------------
 * 2. Light grey cards
 * ------------------------------------------------------------------------ */
.page_target.luckywheel .wheel-card--lucky,
.page_target.luckywheel .wheel-card--multiplier {
  background: linear-gradient(180deg, #f5f6f8 0%, #dcdfe4 100%) !important;
  background-color: #e8eaee !important;
  border: 1px solid #d2d6dd;
  color: #1f2937;
  box-shadow: 0 8px 18px rgba(17, 24, 39, 0.12) !important;
}

.page_target.luckywheel .chance-text {
  color: #374151 !important;
  background: rgba(17, 24, 39, 0.07);
}

/* ---------------------------------------------------------------------------
 * 3. Recolour the RED and the GOLD wedge only
 *    red  wedge : #bf080f / #f36368  ->  #400001 outer, #cc0009 inner
 *    gold wedge : #ae7a00 / #ffc53e  ->  #793510 outer, #ea940d inner
 *
 * Every other wedge keeps the colour style.min.css already gives it, and
 * nothing outside the wheel is touched. The wedge lists below are copied from
 * style.min.css with only those two wedges swapped.
 *
 * --wedge-rim is the outer end of each wedge, --wedge-hub the brighter inner
 * end (style.min.css masks it so it fades out before reaching the rim).
 * ------------------------------------------------------------------------ */
/* Lucky Wheel : 12 wedges, 30deg each. Red = 11 (HONOR), gold = 12 (iPHONE). */
.page_target.luckywheel .wheel-card--lucky {
  --wedge-rim: conic-gradient(from -15deg, #08683a 0deg 30deg, #d06001 30deg 60deg, #083a80 60deg 90deg, #4c7f1d 90deg 120deg, #651691 120deg 150deg, #05655d 150deg 180deg, #d06001 180deg 210deg, #083a80 210deg 240deg, #4c7f1d 240deg 270deg, #651691 270deg 300deg, #400001 300deg 330deg, /* red  wedge */
  #793510 330deg 360deg); /* gold wedge */
  --wedge-hub: conic-gradient(from -15deg, #1ae584 0deg 30deg, #f8aa68 30deg 60deg, #2c7bea 60deg 90deg, #92d357 90deg 120deg, #ae56df 120deg 150deg, #14e4d4 150deg 180deg, #f8aa68 180deg 210deg, #2c7bea 210deg 240deg, #92d357 240deg 270deg, #ae56df 270deg 300deg, #cc0009 300deg 330deg, /* red  wedge */
  #ea940d 330deg 360deg); /* gold wedge */
}

/* Both wheels are now one whole-wheel image, not prize icons, so they get
   none of the icon drop shadow or colour boost. Each artwork has a hub baked
   into it, so the logo on top is grown enough to cover it - otherwise the
   baked one would spin behind it. */
.page_target.luckywheel .wheel-art__item {
  filter: none;
}

/* Multiplier Wheel : 10 wedges, 36deg each. Red = 9 (OPPO), gold = 10 (iPHONE). */
.page_target.luckywheel .wheel-card--multiplier {
  --wedge-rim: conic-gradient(from -18deg, #08683a 0deg 36deg, #d06001 36deg 72deg, #083a80 72deg 108deg, #4c7f1d 108deg 144deg, #651691 144deg 180deg, #05655d 180deg 216deg, #d06001 216deg 252deg, #083a80 252deg 288deg, #400001 288deg 324deg, /* red  wedge */
  #793510 324deg 360deg); /* gold wedge */
  --wedge-hub: conic-gradient(from -18deg, #1ae584 0deg 36deg, #f8aa68 36deg 72deg, #2c7bea 72deg 108deg, #92d357 108deg 144deg, #ae56df 144deg 180deg, #14e4d4 180deg 216deg, #f8aa68 216deg 252deg, #2c7bea 252deg 288deg, #cc0009 288deg 324deg, /* red  wedge */
  #ea940d 324deg 360deg); /* gold wedge */
}

/* ---------------------------------------------------------------------------
 * 4. Small fixes
 * ------------------------------------------------------------------------ */
/* wheel.js disables the button while a wheel is turning and when the player
   runs out of chances - style.min.css has no disabled state for it. */
.page_target.luckywheel .button--spin:disabled {
  cursor: not-allowed;
  filter: saturate(0.55) brightness(0.95);
  opacity: 0.75;
}

.page_target.luckywheel .button--spin:disabled:hover,
.page_target.luckywheel .button--spin:disabled:active {
  transform: none;
}

/* No artwork in the win popup - wheel.js still drops the prize image into
   #popupPrizeIcon, this just keeps it out of sight. */
.page_target.luckywheel .win-popup__icon {
  display: none;
}

.page_target.luckywheel .progress-track-wrapper {
  display: none;
}

.page_target.luckywheel .milestone-item__tick {
  width: 20px;
  height: 20px;
  margin-top: 6px;
  border-radius: 50%;
  background-color: #d8d8d8;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.4s ease;
}

.page_target.luckywheel .milestone-item.is-reached .milestone-item__tick {
  background-color: #34a853;
}

.page_target.luckywheel .milestone-item.is-reached .milestone-item__tick::after {
  content: "✔";
  color: #fff;
  font-size: 11px;
}

.page_target.luckywheel .wheel-surface {
  animation: lw-drift 60s linear infinite;
  will-change: transform;
}

.page_target.luckywheel .wheel-surface.is-drift-stop {
  animation: none;
}

@keyframes lw-drift {
  to {
    transform: rotate(360deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .page_target.luckywheel .wheel-surface {
    animation: none;
  }
}
.lw-past-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px auto;
  padding: 8px 16px;
  border: 0;
  border-radius: 999px;
  background: var(--c-gradient-btn);
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lw-past-btn:hover {
  transform: translateY(-1px);
}

.lw-past-row {
  display: flex;
  justify-content: flex-end;
}

.lw-past-cover {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(0, 0, 0, 0.7);
  font-family: "Montserrat", sans-serif;
}

.lw-past-cover.show {
  display: flex;
  animation: lw-fade 0.25s;
}

@keyframes lw-fade {
  from {
    opacity: 0;
  }
}
@keyframes lw-pop {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.96);
  }
}
.lw-past-modal {
  position: relative;
  width: 100%;
  max-width: 760px;
  height: min(720px, 90vh);
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.25);
  animation: lw-pop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.lw-past-close {
  position: absolute;
  top: -14px;
  right: -14px;
  z-index: 20;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  color: #414042;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lw-past-close:hover {
  background: var(--c-primary);
  color: #fff;
}

.lw-past-head {
  padding: 20px 24px 14px;
  border-bottom: 1px solid #f0f0f0;
}

.lw-past-head h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-weight: 700;
  font-size: 14px;
  color: #8c8f93;
}

.lw-past-head h3 i {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--c-tint);
  color: var(--c-primary);
  font-size: 14px;
}

.lw-past-body {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 16px 24px 0;
}

.lw-past-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.lw-past-tabs {
  flex: 1;
  min-width: 260px;
  display: flex;
  gap: 3px;
  padding: 3px;
  border-radius: 999px;
  background: #f4f5f6;
}

.lw-past-tabs button {
  flex: 1;
  padding: 9px;
  border: 0;
  border-radius: 999px;
  background: none;
  color: #8c8f93;
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lw-past-tabs button.on {
  background: var(--c-gradient-btn);
  color: #fff;
}

.lw-date-select {
  position: relative;
  flex: 0 0 230px;
}

.lw-date-select.open .lw-date-btn {
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px var(--c-tint);
}

.lw-date-select.open .lw-date-chev {
  transform: rotate(180deg);
  color: var(--c-primary);
}

.lw-date-select.open .lw-date-drop {
  display: grid;
  grid-template-columns: 140px 1fr;
}

.lw-date-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid #ececec;
  border-radius: 12px;
  background: #fff;
  color: #1a1a1a;
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lw-date-btn:hover {
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px var(--c-tint);
}

.lw-date-icon {
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--c-gradient);
  color: #fff;
  font-size: 11px;
}

.lw-date-chev {
  margin-left: auto;
  color: #8c8f93;
  transition: all 0.2s ease;
}

.lw-date-drop {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 15;
  display: none;
  width: 470px;
  overflow: hidden;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 30px rgb(var(--rgb-primary-mid)/0.15), 0 0 0 1px #f0f0f0;
  animation: lw-pop 0.25s ease;
}

.lw-date-presets {
  padding: 8px;
  border-right: 1px solid #f0f0f0;
  background: #fafafa;
}

.lw-date-presets div {
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
}

.lw-date-presets div:hover {
  background: var(--c-tint);
}

.lw-date-presets div.on {
  background: var(--c-tint-strong);
  color: var(--c-primary-dark);
}

.lw-cal {
  padding: 12px;
}

.lw-cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.lw-cal-head b {
  font-size: 13px;
  font-weight: 800;
  color: #1a1a1a;
}

.lw-cal-head button {
  width: 28px;
  height: 28px;
  border: 1px solid #ececec;
  border-radius: 8px;
  background: #fff;
  color: #414042;
  cursor: pointer;
}

.lw-cal-head button:hover:not(:disabled) {
  border-color: var(--c-primary);
  color: var(--c-primary);
}

.lw-cal-head button:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.lw-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px 0;
  text-align: center;
}

.lw-cal-grid .dw {
  padding: 4px 0;
  font-size: 10px;
  font-weight: 800;
  color: #b0b3b8;
}

.lw-cal-grid .d {
  position: relative;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  color: #414042;
  cursor: pointer;
}

.lw-cal-grid .d span {
  position: relative;
  z-index: 1;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
}

.lw-cal-grid .d:hover span {
  background: var(--c-tint);
  color: var(--c-primary);
}

.lw-cal-grid .d.out {
  visibility: hidden;
}

.lw-cal-grid .d.dis {
  color: #d1d3d4;
  cursor: not-allowed;
}

.lw-cal-grid .d.dis:hover span {
  background: none;
  color: #d1d3d4;
}

.lw-cal-grid .d.today span {
  box-shadow: inset 0 0 0 1px var(--c-primary);
}

.lw-cal-grid .d.in {
  background: var(--c-tint);
}

.lw-cal-grid .d.start {
  background: linear-gradient(90deg, transparent 50%, var(--c-tint) 50%);
}

.lw-cal-grid .d.end {
  background: linear-gradient(90deg, var(--c-tint) 50%, transparent 50%);
}

.lw-cal-grid .d.start.end {
  background: none;
}

.lw-cal-grid .d.start span, .lw-cal-grid .d.end span {
  background: var(--c-gradient);
  color: #fff;
}

.lw-cal-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed #f0f0f0;
}

.lw-cal-foot small {
  font-size: 11px;
  font-weight: 700;
  color: var(--c-deep);
}

.lw-cal-foot div {
  display: flex;
  gap: 6px;
}

.lw-cal-foot button {
  padding: 7px 14px;
  border: 1px solid #ececec;
  border-radius: 999px;
  background: #fff;
  color: #414042;
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.lw-cal-foot button.ok {
  border: 0;
  background: var(--c-gradient-btn);
  color: #fff;
}

.lw-cal-foot button.ok:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.lw-past-table-wrap {
  flex: 1;
  min-height: 0;
  overflow: auto;
  border-radius: 10px;
  scrollbar-width: thin;
  scrollbar-color: #e3e3e3 transparent;
}

.lw-past-table-wrap::-webkit-scrollbar {
  width: 4px;
  height: 4px;
}

.lw-past-table-wrap::-webkit-scrollbar-track {
  background: transparent;
}

.lw-past-table-wrap::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: #e3e3e3;
}

.lw-past-table-wrap::-webkit-scrollbar-button {
  display: none;
}

.lw-past-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 12px;
}

.lw-past-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  padding: 12px 10px;
  background: #555555;
  color: #fff;
  font-weight: 700;
  text-align: left;
  white-space: nowrap;
}

.lw-past-table th:first-child {
  border-radius: 10px 0 0 0;
}

.lw-past-table th:last-child {
  border-radius: 0 10px 0 0;
  text-align: right;
}

.lw-past-table td {
  padding: 11px 10px;
  border-bottom: 1px solid #f0f0f0;
  color: #414042;
}

.lw-past-table td:last-child {
  text-align: right;
}

.lw-past-table td.no {
  width: 44px;
  color: #b0b3b8;
  font-weight: 700;
}

.lw-past-table td.empty {
  padding: 36px 0;
  border: 0;
  text-align: center;
}

.lw-past-table td.empty img {
  display: block;
  width: 110px;
  margin: 0 auto 6px;
}

.lw-past-table td.empty p {
  margin: 0;
  color: #8c8f93;
  font-size: 12px;
}

.lw-past-table tbody tr:hover {
  background: #f3f6fb;
}

.lw-past-table tbody tr.empty-row:hover {
  background: none;
}

.lw-prize {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 800;
  white-space: nowrap;
}

.lw-prize.cash {
  background: #ecfdf3;
  color: #16a34a;
}

.lw-prize.pts {
  background: #fff7e6;
  color: #b45309;
}

.lw-prize.mult {
  background: #eef2ff;
  color: #4338ca;
}

.lw-past-pager {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  padding: 12px 24px 16px;
  border-top: 1px solid #f0f0f0;
}

.lw-past-pager small {
  grid-column: 3;
  justify-self: end;
  color: #8c8f93;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.lw-past-pages {
  grid-column: 2;
}

@media (max-width: 820px) {
  .lw-past-head,
  .lw-past-body {
    padding-left: 16px;
    padding-right: 16px;
  }
  .lw-date-select {
    flex: 1 1 100%;
  }
  .lw-date-select.open .lw-date-drop {
    grid-template-columns: 1fr;
  }
  .lw-date-drop {
    left: 0;
    right: 0;
    width: auto;
  }
  .lw-date-presets {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    border-right: 0;
    border-bottom: 1px solid #f0f0f0;
  }
  .lw-date-presets div {
    padding: 6px 10px;
    border: 1px solid #ececec;
    border-radius: 999px;
    background: #fff;
    font-size: 11px;
  }
  .lw-past-pager {
    grid-template-columns: 1fr;
    justify-items: center;
  }
  .lw-past-pager .lw-past-pages,
  .lw-past-pager small {
    grid-column: 1;
    justify-self: center;
  }
}
.page_target.luckywheel .lw-wheel-grid {
  gap: 12px;
}

.page_target.luckywheel .wheel-card.lw-wheel-card {
  position: relative;
  overflow: hidden;
  padding: 18px 18px 16px !important;
  border: 1px solid #e5e7eb;
  border-radius: 22px;
  background: #fff !important;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.07) !important;
  text-align: center;
  font-family: "Montserrat", sans-serif;
}

.page_target.luckywheel .wheel-card.lw-wheel-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 120px;
  background: radial-gradient(70% 100% at 50% 0, rgb(var(--rgb-primary)/0.1), transparent 70%);
  pointer-events: none;
}

.page_target.luckywheel .wheel-card.lw-wheel-card .lw-wheel-head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
  border: 0;
  border-radius: 0 !important;
  background: none !important;
  box-shadow: none !important;
  color: #1a1a1a !important;
}

.page_target.luckywheel .wheel-card.lw-wheel-card .lw-wheel-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  color: #1a1a1a;
}

.page_target.luckywheel .wheel-card.lw-wheel-card .wheel-card__title {
  font-size: 16px;
  color: #1a1a1a;
}

.page_target.luckywheel .wheel-card.lw-wheel-card .lw-wheel-tag {
  padding: 3px 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, #fde68a, #d4a64d);
  color: #7a5a12;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.page_target.luckywheel .wheel-card.lw-wheel-card .lw-wheel-desc {
  position: relative;
  margin: 6px 0 12px;
  color: #8c8f93;
  font-size: 11px;
  line-height: 1.5;
  text-align: center;
  width: 90%;
  max-width: 300px;
}

.page_target.luckywheel .wheel-card.lw-wheel-card .button--spin {
  margin: 12px auto 0 !important;
}

.page_target.luckywheel .chance-text.lw-chance {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  margin: 0;
  padding: 5px 10px;
  border: 1px solid var(--c-line);
  border-radius: 999px;
  background: var(--c-wash);
  color: var(--c-deep) !important;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.page_target.luckywheel .chance-text.lw-chance i {
  color: var(--c-primary);
}

.page_target.luckywheel .chance-text.lw-chance span[data-i18n=lucklywheelRemaining1] {
  display: none;
}

.page_target.luckywheel .chance-text.lw-chance #luckyChancesNum,
.page_target.luckywheel .chance-text.lw-chance #multiplierChancesNum {
  color: var(--c-primary);
  font-size: 14px;
  font-weight: 900;
}

@media (max-width: 480px) {
  .page_target.luckywheel .wheel-card.lw-wheel-card .lw-wheel-head {
    flex-wrap: wrap;
  }
}
.page_target.luckywheel .reward-lucky-section.lw-weekly {
  margin: 12px auto;
  padding: 20px;
  border: 1px solid #e5e7eb;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.07);
  font-family: "Montserrat", sans-serif;
}

.page_target.luckywheel .reward-section__header.lw-weekly-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  padding: 0;
  border-radius: 0;
  background: none;
  text-align: left;
}

.page_target.luckywheel .reward-section__header.lw-weekly-head .reward-section__title {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--c-deep-strong);
  font-size: 20px;
  font-weight: 800;
}

.page_target.luckywheel .reward-section__header.lw-weekly-head .reward-section__title::before {
  content: "\f06b";
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--c-tint-strong);
  color: var(--c-primary);
  font-family: "Font Awesome 6 Free";
  font-size: 14px;
  font-weight: 900;
}

.page_target.luckywheel .reward-section__header.lw-weekly-head .reward-section__title .star {
  display: none;
}

.page_target.luckywheel .reward-section__header.lw-weekly-head .reward-card__subtitle {
  margin: 0;
  color: #8c8f93;
  font-size: 11px;
  font-weight: 600;
  text-align: right;
}

.page_target.luckywheel .reward-grid.lw-weekly-body {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 16px;
  padding: 0;
}

.page_target.luckywheel .reward-lucky-card.lw-weekly-me {
  position: relative;
  overflow: hidden;
  align-items: flex-start;
  justify-content: center;
  padding: 18px;
  border-radius: 18px;
  background: var(--c-gradient-me);
  color: #fff;
}

.page_target.luckywheel .reward-lucky-card.lw-weekly-me::after {
  content: "";
  position: absolute;
  right: -18px;
  bottom: -8px;
  width: 180px;
  height: 95px;
  background: url("../../../Resources/Web/luckywheel/t2_logo_white.webp") no-repeat center/contain;
  opacity: 0.12;
  pointer-events: none;
  transform: rotate(354deg);
}

.page_target.luckywheel .reward-lucky-card.lw-weekly-me .points-plate {
  position: static;
  width: auto;
  max-width: none;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  text-align: left;
  transform: none;
}

.page_target.luckywheel .reward-lucky-card.lw-weekly-me .points-plate__label {
  margin: 0;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  opacity: 0.85;
  text-transform: uppercase;
}

.page_target.luckywheel .reward-lucky-card.lw-weekly-me .points-plate__value {
  margin: 0;
  color: #fff;
  font-size: 42px;
  font-weight: 900;
  line-height: 1.1;
}

.page_target.luckywheel .reward-lucky-card.lw-weekly-me .ranking-pill {
  position: static;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: auto;
  max-width: none;
  margin-top: 10px;
  padding: 5px 12px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  transform: none;
}

.page_target.luckywheel .progress-track-wrapper.lw-weekly-progress {
  display: block;
  width: 100%;
  height: 6px;
  margin: 14px 0 0;
}

.page_target.luckywheel .progress-track-wrapper.lw-weekly-progress .progress-bar-bg,
.page_target.luckywheel .progress-track-wrapper.lw-weekly-progress .progress-bar-fill {
  top: 0;
  left: 0;
  height: 6px;
  border-radius: 9px;
  transform: none;
}

.page_target.luckywheel .progress-track-wrapper.lw-weekly-progress .progress-bar-bg {
  right: 0;
  background: rgba(255, 255, 255, 0.25);
}

.page_target.luckywheel .progress-track-wrapper.lw-weekly-progress .progress-bar-fill {
  background: #fde68a;
}

.page_target.luckywheel .progress-track-wrapper.lw-weekly-progress .progress-nodes {
  display: none;
}

.page_target.luckywheel .reward-lucky-card.lw-weekly-tiers {
  justify-content: center;
}

.page_target.luckywheel .reward-lucky-card.lw-weekly-tiers .milestone-icons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 0;
}

.page_target.luckywheel .reward-lucky-card.lw-weekly-tiers .next-reward-text {
  margin: 12px 0 0;
  color: #8c8f93;
  font-size: 11px;
  text-align: center;
}

.page_target.luckywheel .reward-lucky-card.lw-weekly-tiers .next-reward-text .highlight {
  color: var(--c-primary);
}

.page_target.luckywheel .reward-lucky-card.lw-weekly-tiers .reward-card__claim-btn {
  margin: 12px auto 0;
}

.page_target.luckywheel .milestone-item.lw-tier {
  position: relative;
  padding: 8px;
  border: 1px solid #f0e2c4;
  border-radius: 16px;
  background: linear-gradient(180deg, #fffaf0, #fff);
  text-align: center;
  transition: all 0.2s ease;
}

.page_target.luckywheel .milestone-item.lw-tier:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(212, 166, 77, 0.25);
}

.page_target.luckywheel .milestone-item.lw-tier .lw-tier-prize {
  display: block;
  color: var(--c-primary);
  font-size: 17px;
  font-weight: 900;
}

.page_target.luckywheel .milestone-item.lw-tier .lw-tier-points {
  display: block;
  color: #8c8f93;
  font-size: 11px;
  font-weight: 700;
}

.page_target.luckywheel .milestone-item.lw-tier.is-reached {
  border-color: #facc15;
  box-shadow: 0 0 0 3px rgba(250, 204, 21, 0.2);
}

.page_target.luckywheel .milestone-item.lw-tier.is-claimed {
  opacity: 0.6;
}

@media (max-width: 820px) {
  .page_target.luckywheel .reward-grid.lw-weekly-body {
    grid-template-columns: 1fr;
  }
  .page_target.luckywheel .reward-lucky-card.lw-weekly-tiers .milestone-icons {
    grid-template-columns: repeat(2, 1fr);
  }
  .page_target.luckywheel .reward-section__header.lw-weekly-head .reward-card__subtitle {
    text-align: left;
  }
}
.page_target.leaderboard .lw-week-row {
  justify-content: flex-end;
  margin: 0 0 12px;
}

.page_target.leaderboard .lw-date-select.lw-week-select {
  flex: 0 0 240px;
}

.page_target.leaderboard .lw-date-select.lw-week-select.open .lw-date-drop {
  display: block;
}

.page_target.leaderboard .lw-date-select.lw-week-select .lw-date-drop {
  width: 100%;
  max-height: 320px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #e3e3e3 transparent;
}

.page_target.leaderboard .lw-date-select.lw-week-select .lw-date-presets {
  border-right: 0;
  background: #fff;
}

.page_target.leaderboard .lw-date-select.lw-week-select .lw-date-presets div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  text-align: left;
}

.page_target.leaderboard .lw-date-select.lw-week-select .lw-date-presets small {
  color: #8c8f93;
  font-size: 10px;
  font-weight: 600;
}

@media (max-width: 820px) {
  .page_target.leaderboard .lw-date-select.lw-week-select {
    flex: 1 1 100%;
  }
  .page_target.leaderboard .lw-date-select.lw-week-select .lw-date-presets {
    display: block;
  }
  .page_target.leaderboard .lw-date-select.lw-week-select .lw-date-presets div {
    padding: 8px 10px;
    border: 0;
    border-radius: 8px;
    font-size: 12px;
  }
}
.lw-past-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid #f0f0f0;
  border-radius: 12px;
  overflow: clip;
  background: #fff;
  table-layout: fixed;
}

.lw-past-table th {
  padding: 10px 12px;
  background: #555555;
  border: 0;
  border-radius: 0;
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.lw-past-table td {
  padding: 12px 12px;
  border: 0;
  border-top: 1px solid #f0f0f0;
  color: #414042;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  vertical-align: middle;
}

.lw-past-table tbody tr:nth-child(even) td {
  background: #fcfcfc;
}

.lw-past-table td[rowspan] {
  background: #fafafa;
  border-right: 1px solid #f0f0f0;
}

.lw-past-table thead tr:first-child th {
  border-top: 0;
}

.leaderboard-card .leader-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid #f0f0f0;
  border-radius: 12px;
  overflow: clip;
  background: #fff;
  table-layout: fixed;
}

.leaderboard-card .leader-table th {
  padding: 10px 12px;
  background: #555555;
  border: 0;
  border-radius: 0;
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.leaderboard-card .leader-table td {
  padding: 12px 12px;
  border: 0;
  border-top: 1px solid #f0f0f0;
  color: #414042;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  vertical-align: middle;
}

.leaderboard-card .leader-table tbody tr:nth-child(even) td {
  background: #fcfcfc;
}

.leaderboard-card .leader-table td[rowspan] {
  background: #fafafa;
  border-right: 1px solid #f0f0f0;
}

.leaderboard-card .leader-table thead tr:first-child th {
  border-top: 0;
}

.leaderboard-card .leader-table th {
  background: #555555 !important;
  text-align: center;
}

.leaderboard-card .leader-table td {
  text-align: center;
}

.leaderboard-card .leader-table thead tr {
  background: #555555 !important;
}

.leaderboard-card .leader-table tbody tr:nth-child(odd) {
  background: #fff;
}

@media (max-width: 900px) {
  .banner_hero__banner-image {
    margin-bottom: 0;
  }
  .instructions__title {
    font-size: 16px;
  }
  .instruction-item__text {
    font-size: 12px;
  }
  .page_nav_row .page_nav {
    font-size: 11px;
  }
  .section-title {
    font-size: 12px;
  }
  .rank-list span {
    font-size: 12px;
  }
  .rank-list strong {
    font-size: 9px;
  }
  .rank-list strong span {
    font-size: 12px;
  }
  .weekly-content h3 {
    font-size: 12px;
  }
  .weekly-content h2 {
    font-size: 12px;
  }
  .weekly-content h2 span {
    font-size: 16px;
  }
  .weekly-content p {
    font-size: 11px;
  }
  .card-header {
    font-size: 12px;
  }
  .point-box h4 {
    font-size: 12px;
  }
}
.leaderboard-body .lw-date-select {
  width: 100%;
  max-width: 240px;
  margin-left: auto;
}

@media (max-width: 900px) {
  .leaderboard-tabs .leader-tab {
    font-size: 12px;
  }
  .leader-table th {
    font-size: 10px;
  }
  .leader-table td {
    font-size: 10px;
  }
}
.reward-block.monthly .podium {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  align-items: end;
  gap: 8px;
}

.reward-block.monthly .podium .rank {
  display: flex;
  flex-direction: column;
  align-items: center;
  border-right: 0;
}

.reward-block.monthly .podium .rank .medal {
  display: flex;
  justify-content: center;
}

.reward-block.monthly .podium .rank:nth-child(1) {
  order: 2;
  transform: translateY(-10px);
}

.reward-block.monthly .podium .rank:nth-child(1) .medal img {
  width: 100%;
}

.reward-block.monthly .podium .rank:nth-child(1) h4, .reward-block.monthly .podium .rank:nth-child(1) strong {
  transform: translateY(-5px);
}

.reward-block.monthly .podium .rank:nth-child(2) {
  order: 1;
}

.reward-block.monthly .podium .rank:nth-child(2) .medal img {
  width: 85%;
}

.reward-block.monthly .podium .rank:nth-child(3) {
  order: 3;
}

.reward-block.monthly .podium .rank:nth-child(3) .medal img {
  width: 78%;
}

.reward-block.monthly .podium .medal {
  width: 64px;
  margin: 0 auto;
}

.reward-block.monthly .podium .medal img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
  object-fit: contain;
  filter: drop-shadow(0 6px 8px rgba(0, 0, 0, 0.25));
}

.reward-block.monthly .podium .rank:nth-child(1) .medal {
  width: 84px;
  height: 68px;
}

.reward-block.monthly .podium h4 {
  margin: 2px 0 2px;
  font-size: 14px;
}

@media (max-width: 900px) {
  .reward-block.monthly .podium h4 {
    font-size: 12px;
  }
}
.reward-block.monthly .podium strong {
  white-space: nowrap;
  line-height: 1;
}

.reward-block.monthly .podium strong span {
  font-size: 22px;
}

@media (max-width: 900px) {
  .reward-block.monthly .podium strong span {
    font-size: 16px;
  }
  .info-strip {
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    padding: 30px 4px 10px;
  }
  .info-strip .divider {
    display: none;
  }
  .info-strip .info-item {
    flex-direction: column;
    justify-content: flex-start;
    gap: 3px;
    margin-bottom: 0;
    padding: 0 3px;
    text-align: center;
  }
  .info-strip .info-item + .divider + .info-item {
    border-left: 1px solid #b8bdc1;
  }
  .info-strip .info-item .icon {
    width: 28px;
    flex: 0 0 auto;
  }
  .info-strip .info-item span {
    font-size: 11px;
  }
}
@media (max-width: 900px) and (max-width: 900px) {
  .info-strip .info-item span {
    font-size: 9px;
  }
}
@media (max-width: 900px) {
  .info-strip .info-item strong {
    margin: 1px 0;
    white-space: nowrap;
    font-size: 15px;
  }
}
@media (max-width: 900px) and (max-width: 900px) {
  .info-strip .info-item strong {
    font-size: 11px;
  }
}
@media (max-width: 900px) {
  .info-strip .info-item p {
    font-size: 10px;
  }
}
@media (max-width: 900px) and (max-width: 900px) {
  .info-strip .info-item p {
    font-size: 9px;
  }
}
:root {
  --bg-white: #FFFFFF;
  --bg-soft: #F8F9FC;
  --card-white: #FFFFFF;
  --primary-red: #DC2626;
  --primary-red-dark: #B91C1C;
  --primary-red-light: #FEE2E2;
  --accent-red: #EF4444;
  --text-primary: #1F2937;
  --text-secondary: #4B5563;
  --text-muted: #9CA3AF;
  --border-subtle: #E5E7EB;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
  --gradient-red: linear-gradient(115deg, #DC2626, #EF4444);
  --glow-red: 0 0 12px rgb(var(--rgb-primary) / 0.15);
}

body {
  font-family: "Inter", "Outfit", system-ui, -apple-system, sans-serif;
  background-color: var(--bg-soft);
  color: var(--text-primary);
  scroll-behavior: smooth;
}

body::after {
  content: "";
  display: none;
}

.row {
  display: flex;
}

.col {
  display: flex;
  flex-direction: column;
}

.glass-header {
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgb(var(--rgb-primary)/0.15);
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.logo-image {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 145px;
}

.logo-image img {
  width: 100%;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.home-btn {
  background: rgb(var(--rgb-primary)/0.08);
  border: 1px solid rgb(var(--rgb-primary)/0.2);
  padding: 8px 20px;
  border-radius: 40px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary-red);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}

.home-btn:hover {
  background: var(--primary-red);
  color: white;
  border-color: var(--primary-red);
  transform: translateY(-2px);
}

.user-badge {
  display: flex;
  align-items: center;
  gap: 16px;
  background: white;
  padding: 8px 20px;
  border-radius: 60px;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}

.vip-chip {
  background: var(--gradient-red);
  padding: 4px 12px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.75rem;
  color: white;
}

.action-links {
  display: flex;
  gap: 20px;
}

.action-links a {
  color: var(--text-secondary);
  transition: 0.2s;
  font-size: 0.9rem;
  text-decoration: none;
  white-space: nowrap;
}

.action-links a:hover {
  color: var(--primary-red);
}

/* T&C Button */
.tnc-btn {
  background: rgb(var(--rgb-primary)/0.1);
  border: 1px solid var(--primary-red);
  padding: 6px 14px;
  border-radius: 40px;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--primary-red);
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  margin-left: auto;
  box-shadow: var(--shadow-sm);
}

.tnc-btn span {
  list-style: 1;
}

.tnc-btn:hover {
  background: var(--primary-red);
  color: white;
}

.lang-switch {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--primary-red);
  transition: all 0.2s;
  gap: 6px;
  cursor: pointer;
  width: 40px;
  padding: 0;
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

.lang-switch img {
  width: 28px;
}

.hero-banner {
  border-radius: 22px;
  margin-bottom: 12px;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center 30%;
  box-shadow: var(--shadow-xl);
  min-height: 36vmin;
  width: 100%;
  background-image: url("../../../resources/web/prediction/banner/banner_en.webp");
}

.section-card {
  margin: 0 0 12px;
  transition: all 0.2s;
}

.prediction-section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.deposit-quota-wrapper {
  display: flex;
  align-items: stretch;
  gap: 12px;
}

@media (max-width: 990px) {
  .deposit-quota-wrapper {
    flex-direction: column;
  }
}
.deposit-tiers-col {
  flex: 2;
  min-width: 240px;
  background: var(--card-white);
  border-radius: 22px;
  padding: 16px;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-md);
  transition: 0.4s;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.deposit-tiers-col:hover {
  border-color: rgb(var(--rgb-primary)/0.3);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.quota-col {
  flex: 1.2;
  min-width: 280px;
}

.deposit-tiers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
  gap: 8px;
  margin: auto 0;
}

.tier-item {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  position: relative;
  gap: 8px;
  padding: 12px 8px;
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tier-item:hover {
  transform: translateY(-2px);
  border-color: var(--c-line);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
}

.tier-amount {
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  color: #1a1a1a;
}

.tier-amount small {
  display: block;
  margin-top: 2px;
  font-size: 10px;
  font-weight: 600;
  color: #8c8f93;
}

.tier-count {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  background: var(--c-wash);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  color: var(--c-primary);
}

.tier-highlight {
  background: var(--c-gradient-btn);
  border-color: transparent;
  box-shadow: 0 4px 12px rgb(var(--rgb-primary-dark)/0.3);
}

.tier-highlight .tier-amount,
.tier-highlight .tier-amount small {
  color: #FFFFFF;
}

.tier-highlight .tier-count {
  background: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
}

.tier-highlight:hover {
  border-color: transparent;
  box-shadow: 0 6px 18px rgb(var(--rgb-primary-dark)/0.45);
}

.tier-crown {
  position: absolute;
  top: -9px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  color: #f5c451;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.25));
}

.quota-card {
  background: var(--card-white);
  border-radius: 22px;
  padding: 16px;
  border: 1px solid var(--border-subtle);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.2s;
  box-shadow: var(--shadow-md);
  align-items: stretch;
  text-align: left;
  gap: 12px;
}

.quota-card .quota-title {
  margin: 0;
}

.quota-card .quota-btn {
  margin-top: auto;
}

.quota-card:hover {
  border-color: rgb(var(--rgb-primary)/0.3);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.quota-left-img {
  flex-shrink: 0;
  text-align: center;
  width: 52px;
}

.quota-left-img img {
  width: 100%;
  max-width: 60px;
  height: auto;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.1));
}

.quota-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-red);
  line-height: 1;
  letter-spacing: 1px;
  background: rgb(var(--rgb-primary)/0.08);
  padding: 7px 23px;
  border-radius: 60px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.quota-number span {
  display: inline-block;
}

.quota-title {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 8px 0 20px 0;
  background: linear-gradient(115deg, #1F2937, #4B5563);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.3px;
  width: 100%;
  text-align: left;
}

.quota-btn {
  background: var(--gradient-red);
  border: none;
  padding: 9px 24px;
  border-radius: 40px;
  font-weight: 700;
  color: white;
  margin: 8px 0 16px;
  cursor: pointer;
  width: 100%;
  font-size: 1rem;
  transition: 0.2s;
  box-shadow: var(--shadow-sm);
}

.quota-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.02);
  box-shadow: var(--shadow-md);
}

.quota-hint {
  font-size: 0.75rem;
  color: var(--text-secondary);
  background: rgb(var(--rgb-primary)/0.05);
  padding: 8px 12px;
  border-radius: 30px;
  text-align: center;
  width: 100%;
}

@media (max-width: 550px) {
  .quota-card {
    padding: 20px;
  }
  .quota-top-row {
    gap: 12px;
    margin-bottom: 12px;
  }
  .quota-left-img {
    width: 52px;
  }
  .quota-left-img img {
    max-width: 48px;
  }
  .quota-number {
    font-size: 2rem;
  }
  .quota-title {
    font-size: 1.3rem;
    margin: 4px 0 12px;
  }
}
.stats-overview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 8px;
}

.stat-card {
  background: white;
  border-radius: 22px;
  padding: 18px 20px;
  border: 1px solid var(--border-subtle);
  transition: all 0.2s;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  height: 100%;
}

.stat-card .row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
}

.stat-card .row .stat-icon img {
  width: 50px;
  height: 63px;
  -o-object-fit: cover;
  object-fit: cover;
  -o-object-position: center;
  object-position: center;
  filter: drop-shadow(0px 0px 4px rgba(0, 0, 0, 0.3));
}

.stat-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary-red);
  box-shadow: var(--shadow-md);
}

.stat-icon {
  font-size: 2.2rem;
  color: var(--primary-red);
  flex-shrink: 0;
  width: 56px;
  text-align: center;
  margin-top: 4px;
}

.stat-value-label {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.stat-value {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary-red);
  line-height: 1.2;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.stat-link {
  font-size: 0.75rem;
  color: var(--primary-red);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgb(var(--rgb-primary)/0.05);
  padding: 6px 12px;
  border-radius: 30px;
  transition: 0.2s;
  cursor: pointer;
  margin-top: auto;
  width: auto;
  align-self: center;
}

.stat-link:hover {
  background: var(--primary-red);
  color: white;
}

.deposit-link {
  background: rgb(var(--rgb-primary)/0.1);
  color: var(--primary-red-dark);
}

#matchesWrap {
  background: #fff;
  border-radius: 22px;
  padding: 16px;
  border: 1px solid var(--border-subtle);
  transition: all 0.2s;
  height: 100%;
  box-shadow: var(--shadow-md);
}

@media (max-width: 700px) {
  .stats-overview-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .stat-card {
    padding: 14px 16px;
    gap: 12px;
  }
  .stat-icon {
    font-size: 1.8rem;
    width: 48px;
  }
  .stat-value {
    font-size: 1.5rem;
  }
  .stat-value-label {
    gap: 6px;
    margin-bottom: 10px;
  }
}
#matchesList {
  max-height: 292.537px;
  overflow: auto;
}

.match-item {
  background: var(--bg-soft);
  border-radius: 20px;
  padding: 10px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--border-subtle);
}

.match-item .col {
  gap: 20px;
}

.rank-list li.active {
  background: rgba(255, 141, 141, 0.281);
}

.match-teams-container {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
}

.team-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 40%;
}

.team-logo-img {
  width: 54px;
  height: 54px;
  -o-object-fit: contain;
  object-fit: contain;
  padding: 6px;
}

.team-name-short {
  font-weight: 600;
  font-size: 0.8rem;
  margin-top: 6px;
  text-align: center;
}

.vs-image {
  width: 44px;
  height: 44px;
}

.vs-img-svg {
  width: 100%;
  height: auto;
}

.match-time {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 6px;
  text-align: center;
}

.btn-predict {
  background: var(--primary-red);
  padding: 8px 24px;
  border-radius: 40px;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  border: none;
  color: white;
  transition: 0.2s;
  white-space: nowrap;
}

.btn-predict:hover {
  background: var(--primary-red-dark);
  transform: translateY(-1px);
}

.prize-cards-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin: 8px 0;
}

.prize-card {
  background: white;
  border-radius: 22px;
  padding: 24px 20px;
  text-align: center;
  border: 1px solid var(--border-subtle);
  transition: all 0.2s;
  box-shadow: var(--shadow-sm);
}

.prize-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary-red);
  box-shadow: var(--shadow-lg);
}

.prize-icon {
  font-size: 2.2rem;
  color: var(--primary-red);
  margin-bottom: 12px;
}

.prize-icon img {
  width: 60px;
}

.prize-title {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.prize-amount {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-red);
  margin: 10px 0;
}

.reward-tier-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}

.reward-tier-item {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dashed var(--border-subtle);
  padding: 8px 0;
  font-size: 0.95rem;
}

.reward-tier-item strong {
  color: var(--primary-red);
}

.grand-points-note {
  background: #FFF3E0;
  border-radius: 22px;
  padding: 12px;
  margin: 16px 0 8px;
  font-size: 0.85rem;
  color: #B45309;
}

.leaderboard-stats {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}

.leaderboard-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
  padding: 6px 0;
}

.champion-highlight {
  font-weight: 800;
  color: var(--primary-red);
}

.two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 8px;
}

.rank_main_block {
  background: #fff;
  border-radius: 22px;
  padding: 18px 20px;
  border: 1px solid var(--border-subtle);
  transition: all 0.2s;
  height: 100%;
  box-shadow: var(--shadow-sm);
}

.rank-list {
  list-style: none;
  overflow: auto;
  max-height: 328.132px;
}

.rank-list li {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.9rem;
}

.rules-double {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(247, 247, 247, 0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  visibility: hidden;
  opacity: 0;
  transition: all 0.2s ease;
  padding: 20px 12px;
  backdrop-filter: none;
}

.modal-overlay.active {
  visibility: visible;
  opacity: 1;
}

.prediction-modal {
  max-width: 100%;
  background: #fff;
  border-radius: 18px;
  padding: 0 !important;
  border: 1px solid #eeeeee;
  text-align: left;
  overflow: hidden;
  width: 440px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.18);
}

.top_header {
  display: flex;
  height: 58px;
  line-height: 58px;
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  color: #222;
  position: relative;
  padding: 0 20px;
  border-bottom: 1px solid var(--primary-red-light);
}

.top_header p {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Top title, optional if you add title */
/* Team header */
.modal-vs-header {
  margin: 14px;
  padding: 24px 18px 12px;
  border: 1px solid #f1f1f1;
  border-radius: 14px 14px 0 0;
  border-bottom: none;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  background: linear-gradient(180deg, var(--c-wash) 0%, #fff 100%);
}

.modal-team {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 150px;
}

.modal-team-logo {
  width: 76px;
  height: 76px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  background: var(--bg-soft);
  border: 1px solid var(--border-subtle);
  border-radius: 50%;
  box-shadow: inset 0 0 0 4px #fff;
}

.modal-team-logo img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
  object-fit: contain;
  padding: 14px;
  box-sizing: border-box;
}

.modal-team-name,
.modal-team span,
.modal-team p {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  color: #222;
  line-height: 1.25;
}

.modal-vs {
  font-weight: 800;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-top: 16px;
  border-radius: 50%;
  background: var(--gradient-red);
  color: #fff;
  font-size: 16px;
  box-shadow: 0 4px 10px rgb(var(--rgb-primary)/0.3);
}

/* Match time */
.modal-match-time {
  margin: -14px 14px 0;
  padding: 0 18px 20px;
  text-align: center;
  font-size: 18px;
  color: #555;
  border-left: 1px solid #f1f1f1;
  border-right: 1px solid #f1f1f1;
  border-bottom: 1px solid #f1f1f1;
  border-radius: 0 0 14px 14px;
  font-weight: 600;
}

.modal-match-time i {
  display: inline-block;
  color: var(--primary-red);
  margin-right: 6px;
}

/* Form area */
.guess-score-area,
.guess-total-area {
  padding: 0 22px;
}

.guess-score-area {
  padding-top: 26px;
  border-top: 1px solid #eeeeee;
}

.guess-label {
  margin-bottom: 12px;
  font-weight: 700;
  color: #222;
  font-size: 15px;
}

.guess-label i {
  display: none;
}

/* Score inputs */
.score-input-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0 0 28px;
}

.score-box {
  flex: 1;
}

.score-box label {
  display: none;
}

.score-box input,
.total-goals-input input {
  width: 100%;
  border: 1px solid #eeeeee;
  border-radius: 8px;
  background: #fff;
  outline: none;
  text-align: center;
  font-size: 18px;
  color: #222;
  font-weight: 400;
  padding: 12px 16px;
  box-shadow: none;
}

.score-colon {
  color: #d7d7d7;
  font-size: 18px;
  font-weight: 600;
}

/* Total goals */
.guess-total-area {
  margin-bottom: 0;
}

.total-goals-input {
  margin: 0 0 28px;
}

.total-goals-input input {
  max-width: none;
}

/* Note */
.modal-note {
  margin: 0 22px 22px;
  padding: 0;
  background: transparent;
  border-radius: 0;
  font-size: 14px;
  color: #555;
  line-height: 1.5;
}

.modal-note i {
  display: none;
}

.modal-note::before {
  content: "* ";
}

/* Buttons */
.submit-predict-btn {
  display: block;
  width: calc(100% - 44px);
  height: 58px;
  margin: 0 22px 20px;
  border: none;
  border-radius: 8px;
  background: #e91717;
  color: #fff;
  font-size: 19px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s ease;
  box-shadow: 0 8px 18px rgba(233, 23, 23, 0.3);
}

.submit-predict-btn:hover {
  background: #d91414;
}

.submit-predict-btn:active {
  transform: scale(0.98);
}

.close-modal {
  display: none;
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }
  .two-col-grid {
    grid-template-columns: 1fr;
  }
  .rules-double {
    grid-template-columns: 1fr;
  }
  .action-links a, .home-btn, .user-badge {
    white-space: nowrap;
  }
  .home-btn {
    padding: 6px 16px;
    font-size: 0.8rem;
  }
  .prediction-section-title h2 {
    font-size: 1.3rem;
  }
}
.promo-rules {
  width: 100%;
  margin: 0 auto 30px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 12px;
}

.rule-card {
  position: relative;
  min-height: 220px;
  padding: 24px;
  border: 1px solid #d8e7f3;
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fcff 100%);
  opacity: 0;
  transform: translateY(18px);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.07);
}

.rule-card.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.rule-card h3 {
  margin: 0 0 18px;
  font-size: 24px;
  font-weight: 800;
  color: #273b59;
}

.score-content {
  display: grid;
  grid-template-columns: 150px 1fr 145px;
  gap: 10px;
  align-items: stretch;
}

.goal-box, .target-box {
  padding: 16px 12px;
  border-radius: 12px;
  background: #f7fbff;
  border: 1px solid #e4eff7;
  text-align: center;
}

.goal-box p, .target-box p {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 700;
  color: #394b65;
}

.goal-box strong, .target-box strong {
  display: block;
  margin-top: 12px;
  font-size: 28px;
  line-height: 1;
  font-weight: 900;
  color: #12b37c;
}

.goal-icon {
  width: 88px;
  height: 75px;
  margin: 0 auto;
  position: relative;
  border-radius: 4px;
}

.goal-icon img {
  width: 100%;
}

.score-list {
  padding: 14px 18px;
  border-radius: 12px;
  background: #f7fbff;
  border: 1px solid #e4eff7;
}

.score-list p {
  margin: 0 0 10px;
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  color: #394b65;
}

.score-list ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.score-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 31px;
  padding: 0 4px;
  font-size: 15px;
  border-bottom: 1px dashed #d6e5f0;
}

.score-list li:last-child {
  border-bottom: 0;
}

.score-list li span {
  color: #27364f;
  font-weight: 600;
}

.score-list li b {
  color: #16b873;
  font-weight: 900;
}

.target-icon {
  font-size: 60px;
  line-height: 1.1;
  filter: drop-shadow(0 4px 4px rgba(201, 55, 55, 0.18));
}

.activity-card {
  display: flex;
  overflow: hidden;
}

.activity-card .text {
  position: relative;
  z-index: 2;
  width: 62%;
}

.activity-card ol {
  margin: 0;
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.65;
  font-weight: 600;
  color: #31435f;
}

.activity-card img {
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  -o-object-position: 77% bottom;
  object-position: 77% bottom;
}

@media (max-width: 900px) {
  .promo-rules {
    grid-template-columns: 1fr;
  }
  .score-content {
    grid-template-columns: 1fr;
  }
}
.reward-section {
  width: 100%;
  margin: 0 auto 8px;
  display: grid;
  grid-template-columns: 1.45fr 0.62fr 1fr;
  gap: 5px;
}

.reward-card {
  padding: 10px 20px;
  border: 1px solid #deebf4;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #f9fcff 100%);
  box-shadow: 0 6px 16px rgba(47, 96, 145, 0.08);
  opacity: 0;
  transform: translateY(18px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.reward-card.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.reward-card h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 900;
  color: #293b58;
}

.weekly-card h3 {
  margin-bottom: 16px;
}

.weekly-card h3 span {
  font-size: 18px;
  color: #63738b;
}

.weekly-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.weekly-item {
  padding: 14px 8px 12px;
  text-align: center;
  border: 1px solid #e5eef6;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(244, 248, 252, 0.8);
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.weekly-item.is-hovered {
  transform: translateY(-4px);
  box-shadow: 0 10px 18px rgba(40, 92, 145, 0.14);
}

.weekly-item strong {
  display: block;
  font-size: 22px;
  font-weight: 900;
  color: #2c2f38;
}

.weekly-item .red-packet {
  width: 100%;
  font-size: 47px;
  line-height: 1;
  filter: drop-shadow(0 5px 5px rgba(210, 42, 42, 0.16));
  display: grid;
  place-items: center;
}

.weekly-item .red-packet img {
  width: 50%;
}

.weekly-item b {
  display: block;
  font-size: 21px;
  font-weight: 900;
  color: #df3d48;
}

.total-card {
  text-align: center;
}

.total-card h3 {
  margin-bottom: 3px;
}

.total-card p {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 800;
  color: #313f56;
}

.total-card p span {
  color: #e9404e;
  font-size: 14px;
  font-weight: 900;
}

.total-card small {
  display: block;
  margin-top: 8px;
  font-size: 15px;
  font-weight: 800;
  color: #4b5669;
}

.big-red-packet {
  width: 100%;
  margin: 0 auto;
  position: relative;
  display: grid;
  place-items: center;
  border-radius: 16px 16px 22px 22px;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.big-red-packet.is-hovered {
  transform: translateY(-4px);
}

.big-red-packet img {
  width: 100%;
  max-width: 120px;
}

.champion-card {
  position: relative;
  overflow: hidden;
}

.champion-card h3 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 7px;
  text-align: center;
}

.champion-card h3 span {
  width: 10px;
  height: 2px;
  background: #7c8795;
}

.champion-card > p {
  margin: 0 0 14px;
  text-align: center;
  font-size: 17px;
  font-weight: 800;
}

.champion-card > p b {
  color: #e33e4c;
  font-size: 21px;
}

.champion-card em {
  display: block;
  margin-top: 10px;
  text-align: right;
  font-style: normal;
  font-size: 15px;
  font-weight: 800;
  color: #454f61;
}

.champion-content {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cup {
  font-size: 102px;
  line-height: 1;
  filter: drop-shadow(0 8px 8px rgba(164, 112, 28, 0.2));
}

.cup img {
  width: 100%;
  max-width: 120px;
}

.champion-prize {
  min-height: 78px;
  padding: 12px 18px;
  border-radius: 8px;
  background: linear-gradient(180deg, #fffdf5 0%, #fff1cc 100%);
  border: 1px solid #f4dfaa;
  text-align: center;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.champion-prize.is-hovered {
  transform: translateY(-4px);
  box-shadow: 0 10px 18px rgba(40, 92, 145, 0.14);
}

.champion-prize small {
  display: block;
  margin-bottom: 3px;
  font-size: 16px;
  font-weight: 800;
  color: #3f4b5d;
}

.champion-prize strong {
  display: block;
  font-size: 31px;
  line-height: 1.1;
  font-weight: 900;
  color: #d64237;
}

.cover {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  display: none;
}

.cover .rule-card {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 95%;
  max-width: 800px;
  opacity: 1;
}

.cover .rule-card .close {
  position: absolute;
  z-index: 3;
  top: 10px;
  right: 10px;
  font-size: 18px;
  cursor: pointer;
}

/* NEW T&C MODAL STYLES */
.tnc-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1001;
  visibility: hidden;
  opacity: 0;
  transition: all 0.2s ease;
}

.tnc-modal-overlay.active {
  visibility: visible;
  opacity: 1;
}

.tnc-modal-content {
  background: white;
  border-radius: 32px;
  max-width: 600px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  padding: 28px 24px;
  box-shadow: var(--shadow-xl);
  position: relative;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.tnc-modal-content::-webkit-scrollbar {
  display: none;
}

.tnc-modal-content h3 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--primary-red);
  text-align: center;
}

.tnc-modal-content h4 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 20px 0 10px;
  color: var(--text-primary);
}

.tnc-modal-content p, .tnc-modal-content ul {
  margin-bottom: 12px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.tnc-modal-content ul {
  margin-left: 20px;
}

.tnc-modal-content li {
  margin-bottom: 8px;
}

.close-tnc-modal {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 24px;
  cursor: pointer;
  color: var(--text-muted);
  transition: color 0.2s;
}

.close-tnc-modal:hover {
  color: var(--primary-red);
}

@media (max-width: 980px) {
  .reward-section {
    grid-template-columns: 1fr;
  }
  .weekly-list {
    grid-template-columns: repeat(2, 1fr);
  }
  .champion-content {
    grid-template-columns: 110px 1fr;
  }
}
@media (max-width: 520px) {
  .weekly-list {
    grid-template-columns: repeat(2, 1fr);
  }
  .champion-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .champion-card em {
    text-align: center;
  }
}
@media (max-width: 768px) {
  .tnc-btn span {
    display: none;
  }
  .tnc-btn i {
    margin: 0;
  }
}
.modal-cover {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(247, 247, 247, 0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  visibility: hidden;
  opacity: 0;
  transition: all 0.2s ease;
  padding: 20px 12px;
  backdrop-filter: none;
}

.modal-cover.active {
  visibility: visible;
  opacity: 1;
}

#tablePopup {
  width: 95%;
  max-width: 560px;
}

.table-popup {
  width: 560px;
  max-width: 100%;
  max-height: 91vh;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.18);
  transform: translateY(12px);
  transition: 0.2s ease;
}

.popup-overlay.active .table-popup {
  transform: translateY(0);
}

.popup-header {
  position: relative;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #f0f0f0;
}

.popup-header h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: #222;
}

.prediction-popup-close {
  position: absolute;
  right: 18px;
  top: 50%;
  width: 32px;
  height: 32px;
  transform: translateY(-50%);
  border: none;
  border-radius: 50%;
  background: #f5f5f5;
  color: #333;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.popup-table-wrap {
  padding: 16px;
  max-height: 52vh;
  overflow: auto;
}

.prediction-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 14px;
  color: #222;
}

.prediction-table thead {
  position: sticky;
  top: 0;
  z-index: 1;
}

.prediction-table th {
  padding: 13px 10px;
  background: #555555;
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  border-bottom: 1px solid #eeeeee;
  white-space: nowrap;
}

.prediction-table th:first-child {
  border-radius: 10px 0 0 0;
  text-align: left;
}

.prediction-table th:last-child {
  border-radius: 0 10px 0 0;
}

.prediction-table td {
  padding: 14px 10px;
  text-align: center;
  border-bottom: 1px solid #f0f0f0;
  vertical-align: middle;
}

.prediction-table td:first-child {
  text-align: left;
}

.prediction-table tbody tr:nth-child(even) td:not([rowspan]) {
  background: #fcfcfc;
}

.prediction-table tbody tr:last-child td {
  border-bottom: none;
}

.prediction-table tbody tr:hover {
  background: #fafafa;
}

.match-cell {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: #222;
}

.match-cell strong {
  font-size: 12px;
  color: #e91717;
}

.prediction-table small {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: #888;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.status-badge.pending {
  background: #fff7e6;
  color: #b45309;
}

.status-badge.success {
  background: #ecfdf3;
  color: #15803d;
}

.status-badge.failed {
  background: #fef2f2;
  color: #dc2626;
}

.popup-main-btn {
  display: block;
  width: calc(100% - 32px);
  height: 52px;
  margin: 0 16px 18px;
  border: none;
  border-radius: 10px;
  background: #e91717;
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s ease;
}

.popup-main-btn:hover {
  background: #d91414;
}

@media (max-width: 480px) {
  .table-popup {
    width: 100%;
    border-radius: 16px;
  }
  .popup-table-wrap {
    padding: 12px;
  }
}
.popup_next {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(247, 247, 247, 0.96);
  visibility: hidden;
  opacity: 0;
  transition: 0.2s ease;
}

.popup_next .table-popup {
  width: 760px;
  max-width: 100%;
  max-height: 91vh;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
  transform: translateY(12px);
  transition: 0.2s ease;
}

.popup_next .popup-overlay.active .table-popup {
  transform: translateY(0);
}

.popup_next .popup-header {
  position: relative;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #f0f0f0;
  background: #fff;
  border-radius: 22px 22px 0 0;
}

.popup_next .popup-header h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  color: #111827;
}

.popup_next .popup-table-wrap {
  padding: 18px;
  max-height: 65vh;
  overflow: auto;
}

.popup_next .popup-data-table {
  display: none;
}

.popup_next .popup-data-table.active {
  display: table;
}

.popup_next .points-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 14px;
  color: #1f2937;
}

.popup_next .points-table thead {
  position: sticky;
  top: 0;
  z-index: 2;
}

.popup_next .points-table th {
  padding: 14px 12px;
  background: var(--c-wash);
  color: #dc2626;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
  border-bottom: 1px solid #fee2e2;
  white-space: nowrap;
}

.popup_next .points-table th:first-child {
  border-radius: 12px 0 0 12px;
}

.popup_next .points-table th:last-child {
  border-radius: 0 12px 12px 0;
}

.popup_next .points-table td {
  padding: 15px 12px;
  text-align: center;
  border-bottom: 1px solid #f1f1f1;
  vertical-align: middle;
  white-space: nowrap;
}

.popup_next .points-table tbody tr:hover {
  background: #fafafa;
}

.popup_next .points-table tbody tr:last-child td {
  border-bottom: none;
}

.popup_next .points-plus {
  color: #dc2626;
  font-weight: 800;
}

.popup_next .points-zero {
  color: #9ca3af;
  font-weight: 700;
}

.popup_next .status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 68px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.popup_next .status-badge.pending {
  background: #fff7ed;
  color: #c2410c;
}

.popup_next .status-badge.success {
  background: #ecfdf3;
  color: #15803d;
}

.popup_next .status-badge.failed {
  background: #fef2f2;
  color: #dc2626;
}

@media (max-width: 640px) {
  .popup_next .table-popup {
    width: 100%;
    border-radius: 18px;
  }
  .popup_next .popup-table-wrap {
    padding: 14px;
  }
  .popup_next .points-table {
    min-width: 620px;
  }
}
.popup_next.active {
  visibility: visible;
  opacity: 1;
}

.lang-popup {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.lang-popup .lang-popup-content {
  position: relative;
  width: 260px;
  padding: 20px 18px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.2);
  animation: popupFade 0.25s ease;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lang-popup .close {
  position: absolute;
  top: 10px;
  right: 12px;
  font-size: 18px;
  color: #888;
  cursor: pointer;
  transition: 0.2s;
}

.lang-popup .close:hover {
  color: #e11d48;
  transform: rotate(90deg);
}

.lang-popup .lang-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 15px;
  font-weight: 500;
  color: #333;
}

.lang-popup .lang-option img {
  width: 26px;
  border-radius: 3px;
}

.lang-popup .lang-option:hover {
  background: #f3f4f6;
  transform: translateY(-2px);
}

.lang-popup .lang-option:active {
  transform: scale(0.97);
}

/* show state */
.lang-popup.active {
  display: flex;
}

/* animation */
@keyframes popupFade {
  from {
    opacity: 0;
    transform: translateY(15px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.popup_filter {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 0 20px;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin-top: 10px;
}

.popup_filter .textbox_block {
  width: 98%;
  gap: 8px;
  margin: 0px auto;
  align-items: center;
  max-width: 300px;
}

.popup_filter .textbox_block .textbox_title {
  font-size: 12px;
  font-weight: 700;
  color: #58595b;
  min-width: 70px;
}

.popup_filter .textbox_block .textbox_title span {
  color: var(--c-primary);
  margin-right: 2px;
}

.popup_filter .textbox_wrap {
  width: 70%;
  gap: 3px;
  position: relative;
}

.popup_filter .textbox_wrap input {
  width: 100%;
  background: #f9f9f9;
  border: 1px solid #cdcdcd;
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.1);
  color: #58595b;
  font-weight: 700;
  font-size: 12px;
  border-radius: 8px;
  min-width: 80px;
  height: 40px;
  outline: none;
}

.popup_filter .textbox_wrap input::-webkit-calendar-picker-indicator {
  opacity: 0;
  width: 100%;
}

.popup_filter .textbox_wrap .textbox {
  width: 100%;
  background: #fff;
  border: 1px solid #cdcdcd;
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.1);
  color: var(--c-primary);
  border-radius: 10px;
  outline: 0;
  font-size: 12px;
  font-weight: 700;
}

.popup_filter .textbox_wrap span {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 12px;
  font-size: 12px;
  font-weight: 600;
  color: grey !important;
}

.popup_filter .textbox_wrap i {
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  color: var(--c-primary);
  cursor: pointer;
  pointer-events: none;
}

.popup_filter .textbox_wrap select {
  width: 100%;
  background: #fff;
  padding: 14px 20px;
  border: 1px solid #cdcdcd;
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.1);
  color: var(--c-primary);
  border-radius: 10px;
  outline: 0;
  font-size: 12px;
  font-weight: 700;
}

.popup_filter .submit-btn {
  background: var(--gradient-red);
  border: none;
  padding: 9px 24px;
  border-radius: 40px;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  width: -moz-fit-content;
  width: fit-content;
  font-size: 14px;
  transition: 0.2s;
  box-shadow: var(--shadow-sm);
  margin: 0 auto;
}

.popup_filter .submit-btn:hover {
  transform: translateY(-10px);
}

.popup_filter .submit-btn:active {
  transform: scale(0.97);
}

/* ── Standardized Section Titles ──
   Unifies 4 previously-inconsistent title styles (red gradient,
   grey gradient, plain dark, navy) into one shared look, and gives
   every title an icon badge — including the 3 that had no icon
   before. Icons/badges live on <i>, which keeps its own explicit
   color/background, so it renders solid even though the parent
   heading uses a transparent gradient-clipped text color. */
.prediction-section-title h2,
.quota-title,
.prize-tiers-header h2,
.rule-card h3 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.3px;
  background: linear-gradient(135deg, #1f2937, #dc2626);
  -webkit-background-clip: text;
  background-clip: text;
  color: rgba(0, 0, 0, 0);
}

.prediction-section-title h2 i,
.match-title-block i,
.quota-title i,
.prize-tiers-header h2 i,
.rule-card h3 i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fee2e2, #fecaca);
  color: var(--primary-red);
  font-size: 1.05rem;
  margin-right: 6px;
  vertical-align: middle;
  box-shadow: 0 3px 8px rgb(var(--rgb-primary)/0.18);
}

.prize-tier-arrow i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
}

/* ── Header Right Cluster (user badge / T&C / language) ──
   Previously mismatched: user-badge and tnc-btn were bordered
   pills with a shadow, but lang-switch was a bare 28px image with
   no background/border/height of its own. Giving all three the
   same 40px chip treatment makes them read as one balanced row. */
.user-badge,
.tnc-btn,
.lang-switch {
  height: 40px;
  box-sizing: border-box;
}

.lang-switch img {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  -o-object-fit: cover;
  object-fit: cover;
}

/* Logo shrinks on mobile — was allowed up to 179px wide (same cap
   as desktop) even on a ~375px viewport, forcing the J888/T&C/
   language chips to squeeze into whatever was left. */
@media (max-width: 768px) {
  .header-inner {
    gap: 12px;
    flex-wrap: wrap;
    row-gap: 10px;
    justify-content: space-between;
    text-align: left;
  }
  .logo-area {
    justify-content: flex-start;
    width: auto;
  }
  .logo-image {
    max-width: 100px;
  }
  .user-badge,
  .tnc-btn,
  .lang-switch {
    height: 34px;
  }
  .user-badge {
    font-size: 0.8rem;
    padding: 6px 12px;
    gap: 6px;
  }
  .tnc-btn {
    padding: 6px 10px;
  }
  .lang-switch {
    width: 34px;
  }
  .lang-switch img {
    width: 18px;
    height: 18px;
  }
}
/* ── Match Section Title / Countdown ── */
.match-prediction-section-title {
  align-items: flex-start;
  gap: 10px;
  position: relative;
  margin-bottom: 8px;
}

.match-title-block {
  display: flex;
  gap: 4px;
  align-items: center;
}

.match-week-range {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}

.match-countdown {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 700;
  color: var(--c-deep);
  white-space: nowrap;
}

.match-countdown i {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  width: 30px;
  height: 30px;
  background: var(--c-tint-strong);
  border-radius: 999px;
  color: var(--c-primary);
}

.match-countdown strong {
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 1px;
  color: var(--c-primary);
  font-variant-numeric: tabular-nums;
}

@media (max-width: 768px) {
  .match-prediction-section-title {
    flex-direction: column;
    align-items: stretch;
  }
}
/* Header title wraps ("This Week's Matches" / "(1)" on two lines)
   on narrow phones at the standardized 1.75rem size — step it down
   just for this heading below 480px. */
@media (max-width: 480px) {
  .match-title-block h2 {
    font-size: 1.35rem;
  }
}
/* ── Prize Tiers Section (奖金设置) ── */
.prize-tiers-section {
  background: #fff;
  border-radius: 22px;
  padding: 28px 24px;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.07);
  margin-bottom: 20px;
}

.prize-tiers-header {
  text-align: left;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.prize-tiers-header h2 {
  margin: 0;
}

/* The title span inherits the h2's size and gradient,
   same as "This Week's Matches" */
.prize-tiers-header h2 span {
  font-size: inherit;
  color: inherit;
}

/* Subtitle only (direct child), styled like .match-week-range */
.prize-tiers-header > span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

@media (max-width: 480px) {
  .prize-tiers-header h2 {
    font-size: 1.35rem;
  }
}
/* Subtitle only (direct child), styled like .match-week-range */
.prize-tiers-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.prize-tier-box {
  position: relative;
  background: var(--bg-soft);
  border: 1px solid var(--border-subtle);
  border-top: 3px solid var(--primary-red);
  border-radius: 16px;
  padding: 24px 12px 20px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.prize-tier-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 20px rgba(15, 23, 42, 0.1);
}

.prize-tier-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-secondary);
  white-space: nowrap;
}

.prize-tier-arrow {
  margin: 12px 0;
  color: var(--text-muted);
}

.prize-tier-amount {
  font-size: 10px;
  font-weight: 800;
  color: var(--primary-red);
  font-variant-numeric: tabular-nums;
  text-align: right;
  line-height: 1;
  gap: 2px;
  display: flex;
  align-items: flex-end;
}

.prize-tier-box.prize-tier-top {
  background: var(--gradient-red);
  border-top-color: #ffd257;
  border-color: var(--primary-red);
  box-shadow: 0 12px 28px rgb(var(--rgb-primary)/0.35);
  padding-top: 18px;
  transform: scale(1.04);
}

.prize-tier-box.prize-tier-top:hover {
  transform: scale(1.04) translateY(-6px);
  box-shadow: 0 16px 32px rgb(var(--rgb-primary)/0.4);
}

.prize-tier-box.prize-tier-top .prize-tier-label,
.prize-tier-box.prize-tier-top .prize-tier-amount {
  color: #fff;
}

.prize-tier-box.prize-tier-top .prize-tier-amount {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  line-height: 1;
}

.prize-tier-amount p {
  font-size: 14px;
  font-weight: 800;
  color: var(--primary-red);
  line-height: 1;
}

.prize-tier-box.prize-tier-top .prize-tier-amount p {
  color: #FFFFFF;
  line-height: 1;
}

@media (max-width: 900px) {
  .prize-tier-box.prize-tier-top {
    transform: none;
  }
  .prize-tier-box.prize-tier-top:hover {
    transform: translateY(-6px);
  }
}
.prize-tier-crown {
  font-size: 1.4rem;
  color: #ffd257;
  margin-bottom: 6px;
}

.prize-tiers-footnote {
  margin-top: 18px;
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .prize-tiers-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 550px) {
  .prize-tiers-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
/* ── Match Table (boxed table: header stays put, body scrolls) ── */
.match-table-outer {
  overflow-x: auto;
}

.match-table-header,
.match-table {
  min-width: 820px;
  table-layout: fixed;
}

.match-table-header {
  margin-bottom: 0;
}

.match-table-header th,
.match-table td {
  padding: 11px 10px;
}

.match-list-scroll {
  max-height: 320px;
  overflow-y: auto;
}

.match-table tbody tr.match-item {
  display: table-row;
  background: transparent;
  border: none;
  width: auto;
  margin: 0;
}

.match-table tbody tr.match-item:hover {
  background: #fafafa;
}

.table-team-block {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  gap: 8px;
}

.table-team-block span {
  flex: 1;
  text-align: left;
  font-size: 11px;
  font-weight: 700;
}

.table-team-block-reverse {
  flex-direction: row-reverse;
}

.table-team-block-reverse span {
  text-align: right;
}

.table-team-logo {
  width: 30px;
  height: 30px;
  -o-object-fit: contain;
  object-fit: contain;
  flex-shrink: 0;
}

.table-vs-cell {
  text-align: center;
}

.table-vs-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--primary-red-light);
  color: var(--primary-red);
  font-size: 11px;
  font-weight: 800;
}

.table-dash {
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

.table-predicted-tick {
  color: #15803d;
  font-weight: 700;
  font-size: 12px;
  white-space: nowrap;
}

.table-predicted-tick i {
  margin-right: 4px;
}

.match-table .btn-predict {
  padding: 6px 16px;
  font-size: 0.78rem;
}

.no-match-msg {
  color: var(--text-muted);
  padding: 24px 0 !important;
  text-align: center !important;
}

/* Mobile match cards: plain <div>s (#matchCardsContainer in the
   HTML), rendered by the same loadCurrentWeekMatches() call as the
   desktop table, just into a different container. Hidden on desktop;
   the table is hidden on mobile. No table element is being coerced
   into flex here, so there's no table-layout/colgroup fight. */
.match-cards-mobile {
  display: none;
}

.match-cards-hint {
  display: none;
}

@media (max-width: 768px) {
  .match-table-outer {
    display: none;
  }
  .match-cards-mobile {
    display: block;
  }
  /* Every mobile card renders with class="match-item match-card"
  (script_b.js). style.min.css defines .match-item as a flex
  row (display:flex; justify-content:space-between;
  align-items:center;) meant for the old single-row layout —
  without this override it hijacks the whole card, squeezing
  the header/teams/prediction/action blocks into one horizontal
  row instead of stacking them. This descendant selector beats
  the bare .match-item on specificity, so it wins regardless of
  stylesheet load order. */
  .match-cards-mobile .match-item {
    display: block;
    width: 100%;
    margin-left: 0;
    padding: 16px;
  }
  .match-card {
    max-width: 100%;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--border-subtle);
    border-radius: 18px;
    padding: 16px;
    margin-bottom: 14px;
    box-sizing: border-box;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
  }
  /* Row 1: time + status together, matching status-badge colors
     already used elsewhere (fff7e6/b45309 for "pending" etc.) */
  .match-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 16px;
  }
  .match-card-time {
    white-space: nowrap;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--text-primary);
  }
  .match-card-time i {
    color: var(--primary-red);
    margin-right: 4px;
  }
  /* Row 2: both teams + VS. Grid with minmax(0, 1fr) columns
     forces each team column to actually shrink to fit rather than
     overflow — a plain flex/table-cell split can end up computed
     against zero width if any ancestor's shrink-to-fit context
     interferes, which is what caused the per-letter wrap and the
     sideways-overflow-and-clip failures seen earlier. min-width:0
     on every column removes the implicit "don't shrink below
     content size" floor that was the real root cause both times. */
  .match-card-teams {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: start;
    -moz-column-gap: 6px;
    column-gap: 6px;
    width: 100%;
    margin-bottom: 16px;
  }
  .match-card-team {
    min-width: 0;
    text-align: center;
  }
  .match-card-team-logo {
    width: clamp(38px, 14vw, 52px);
    height: clamp(38px, 14vw, 52px);
    margin: 0 auto 8px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f4f4f4;
    box-shadow: none;
  }
  .match-card-team-logo img {
    width: 62%;
    height: 62%;
    -o-object-fit: contain;
    object-fit: contain;
  }
  .match-card-team-name {
    display: block;
    font-weight: 700;
    font-size: clamp(0.68rem, 3vw, 0.82rem);
    color: #1a3b8f;
    overflow-wrap: normal;
    word-break: normal;
    white-space: normal;
    line-height: 1.2;
  }
  .match-card-vs {
    min-width: 0;
    text-align: center;
    padding-top: 4px;
  }
  .match-card-vs .table-vs-badge {
    margin: 0 auto 4px;
  }
  .match-card-score-hint {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
    font-variant-numeric: tabular-nums;
  }
  /* Row 3: single consolidated prediction row (actual score and
     status already appear in the header/score-hint above, so they
     don't need their own repeated rows here). */
  .match-card-prediction-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    background: var(--bg-soft);
    border-radius: 10px;
    padding: 10px 14px;
    margin-bottom: 14px;
  }
  .match-card-prediction-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
  }
  .match-card-action .btn-predict {
    width: 100%;
    padding: 14px;
    font-size: 1rem;
    border-radius: 40px;
    box-shadow: 0 8px 18px rgb(var(--rgb-primary)/0.3);
  }
  /* One-time hint below the whole card list, not per-card. */
  .match-cards-hint {
    display: block;
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-top: 12px;
    padding: 0 16px;
  }
}
/* ── Notice Card (注意事项) ── */
.notice-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
}

.notice-card h3 i {
  color: var(--primary-red);
}

.notice-card ul {
  margin: 0;
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.65;
  font-weight: 600;
  color: #31435f;
}

/* ── Prediction Modal Polish ── */
.modal-team-name,
.modal-team span,
.modal-team p {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.modal-team strong {
  letter-spacing: 0.3px;
}

.score-display-box {
  border: 1.5px solid var(--border-subtle);
  font-size: 22px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.score-display-box:hover {
  border-color: var(--primary-red);
  box-shadow: 0 0 0 3px var(--primary-red-light);
}

/* ── Hero Banner (mobile): framed like the section cards ── */
@media (max-width: 768px) {
  .hero-banner {
    background-image: url("../../../resources/web/prediction/banner/banner_en.webp");
    min-height: 123px;
    margin: 12px 0;
    background-position: center;
    border: 2px solid #fff;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 0 0 1px var(--border-subtle), 0 8px 24px rgba(15, 23, 42, 0.12);
    background-clip: padding-box;
  }
}
:root[data-lang=en] .hero-banner,
:root:not([data-lang]) .hero-banner {
  background-image: url("../../../resources/web/prediction/banner/banner_en.webp");
}

:root[data-lang=zh] .hero-banner {
  background-image: url("../../../resources/web/prediction/banner/banner_cn.webp");
}

.past-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: #fff;
  border: 1px solid var(--c-primary);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: var(--c-primary);
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s ease;
}

.past-btn:hover {
  background: var(--c-gradient-btn);
  border-color: transparent;
  box-shadow: 0 4px 12px rgb(var(--rgb-primary-dark)/0.35);
  color: #FFFFFF;
}

.match-deadline-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: row;
  gap: 12px;
  margin-bottom: 16px;
  padding: 8px 8px 8px 16px;
  background: var(--c-wash);
  border: 1px solid var(--c-line);
  border-radius: 16px;
}

.match-deadline-bar .past-btn {
  background: var(--c-gradient-btn);
  border-color: transparent;
  box-shadow: 0 4px 12px rgb(var(--rgb-primary-dark)/0.3);
  color: #FFFFFF;
}

.match-deadline-bar .past-btn:hover {
  box-shadow: 0 6px 18px rgb(var(--rgb-primary-dark)/0.45);
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .match-deadline-bar {
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
  }
  .match-deadline-bar .match-countdown {
    justify-content: center;
    flex-wrap: wrap;
  }
  .match-deadline-bar .past-btn {
    justify-content: center;
    width: 100%;
  }
}
.past-popup {
  display: none;
  align-items: center;
  justify-content: center;
  position: fixed;
  inset: 0;
  padding: 16px;
  background: rgba(0, 0, 0, 0.7);
  z-index: 9999;
}

.past-modal {
  display: flex;
  flex-direction: column;
  position: relative;
  width: 100%;
  max-width: 980px;
  max-height: 90vh;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.25);
  animation: past-pop-in 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.past-close {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  position: absolute;
  top: -14px;
  right: -14px;
  width: 36px;
  height: 36px;
  background: #fff;
  border: 0;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  font-size: 20px;
  line-height: 1;
  color: #414042;
  cursor: pointer;
  transition: all 0.4s ease-in-out;
  z-index: 5;
}

.past-close:hover {
  background: var(--c-primary);
  color: #FFFFFF;
}

.past-head {
  padding: 20px 24px 16px;
  border-bottom: 1px solid #f0f0f0;
}

.past-head h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 14px;
  color: #8c8f93;
}

.past-head h3 i {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  width: 34px;
  height: 34px;
  background: var(--c-tint);
  border-radius: 999px;
  font-size: 14px;
  color: var(--c-primary);
}

.past-body {
  padding: 16px 24px 24px;
  overflow: auto;
}

.past-toolbar {
  display: flex;
  align-items: stretch;
  gap: 12px;
  margin-bottom: 16px;
}

.week-select {
  position: relative;
  flex: 0 0 340px;
}

.week-select-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  height: 100%;
  padding: 12px;
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 12px;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
}

.week-select-btn:hover {
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px var(--c-tint);
}

.week-select-btn .cal {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  flex: 0 0 34px;
  height: 34px;
  background: var(--c-gradient);
  border-radius: 12px;
  color: #FFFFFF;
}

.week-select-btn small {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #8c8f93;
}

.week-select-btn b {
  font-size: 12px;
  font-weight: 800;
  color: #1a1a1a;
}

.week-select-btn .chev {
  margin-left: auto;
  color: #8c8f93;
  transition: all 0.2s ease;
}

.week-select.open .week-select-btn {
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px var(--c-tint);
}

.week-select.open .chev {
  transform: rotate(180deg);
  color: var(--c-primary);
}

.week-select.open .week-list {
  display: block;
}

.week-list {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  max-height: 280px;
  padding: 4px;
  overflow: auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgb(var(--rgb-primary-mid)/0.12), 0 0 0 1px #f0f0f0;
  animation: past-pop-in 0.25s ease;
  z-index: 10;
}

.week-opt {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: row;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.week-opt small {
  font-size: 10px;
  font-weight: 700;
  color: #8c8f93;
}

.week-opt:hover {
  background: var(--c-tint);
}

.week-opt.active {
  background: var(--c-tint-strong);
  color: var(--c-primary-dark);
}

.past-summary {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.past-sum {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 8px;
  background: #f4f5f6;
  border-radius: 12px;
  text-align: center;
}

.past-sum small {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #8c8f93;
}

.past-sum b {
  font-size: 16px;
  font-weight: 800;
  color: #1a1a1a;
}

.past-sum.win {
  background: #ecfdf3;
}

.past-sum.win b {
  color: #16a34a;
}

.past-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 12px;
}

.past-table th {
  padding: 12px 8px;
  background: #555555;
  font-weight: 700;
  color: #FFFFFF;
  text-align: center;
  white-space: nowrap;
}

.past-table th:first-child {
  border-radius: 8px 0 0 8px;
}

.past-table th:last-child {
  border-radius: 0 8px 8px 0;
}

.past-table td {
  padding: 12px 8px;
  border-bottom: 1px solid #f0f0f0;
  text-align: center;
}

.past-table .time {
  text-align: left;
  white-space: nowrap;
}

.past-table .home {
  text-align: right;
}

.past-table .away {
  text-align: left;
}

.past-table tbody tr {
  transition: background 0.2s;
}

.past-table tbody tr:hover {
  background: #f3f6fb;
}

.past-table tbody tr.won {
  background: #f6fef9;
}

.past-table tbody tr.won:hover {
  background: #e8f9ef;
}

.past-team {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 800;
  color: #1a1a1a;
  text-transform: uppercase;
}

.past-team img {
  width: 22px;
  height: 22px;
  -o-object-fit: contain;
  object-fit: contain;
}

.past-vs {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  display: inline-flex;
  width: 28px;
  height: 28px;
  background: var(--c-tint-strong);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  color: var(--c-primary);
}

.past-score {
  display: flex;
  justify-content: center;
  min-width: 44px;
  width: -moz-fit-content;
  width: fit-content;
  margin: 0 auto;
  padding: 4px 8px;
  background: #1a1a1a;
  border-radius: 4px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #FFFFFF;
}

.past-mine {
  font-weight: 700;
}

.past-mine.hit {
  color: #16a34a;
}

.past-mine.miss {
  color: #8c8f93;
  text-decoration: line-through;
}

.past-prize {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  background: #ecfdf3;
  border-radius: 999px;
  font-weight: 800;
  color: #16a34a;
  white-space: nowrap;
}

.past-dash {
  color: #b0b3b8;
}

.past-empty {
  padding: 40px 0;
  text-align: center;
  font-size: 12px;
  color: #8c8f93;
}

.past-empty img {
  display: block;
  width: 90px;
  margin: 0 auto 8px;
}

@keyframes past-pop-in {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (max-width: 760px) {
  .past-head,
  .past-body {
    padding-left: 16px;
    padding-right: 16px;
  }
  .past-toolbar {
    flex-direction: column;
  }
  .week-select {
    flex: none;
  }
  .past-summary {
    gap: 8px;
  }
  .past-sum {
    padding: 8px 4px;
  }
  .past-sum b {
    font-size: 16px;
  }
  .past-table thead {
    display: none;
  }
  .past-table tbody,
  .past-table tr,
  .past-table td {
    display: block;
    width: 100%;
  }
  .past-table tr {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 8px;
    margin-bottom: 12px;
    padding: 12px;
    border: 1px solid #ececec;
    border-radius: 12px;
  }
  .past-table td {
    padding: 0;
    border: 0;
  }
  .past-table td.time {
    grid-column: 1/-1;
    font-size: 10px;
    font-weight: 700;
    color: #8c8f93;
  }
  .past-table td.vs-cell {
    align-self: center;
  }
  .past-table td[data-label] {
    padding-top: 8px;
    border-top: 1px dashed #f0f0f0;
    text-align: center;
  }
  .past-table td[data-label]::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 4px;
    font-size: 10px;
    font-weight: 700;
    color: #8c8f93;
  }
}
.quota-ring-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
}

.quota-ring {
  --p: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  flex: 0 0 81px;
  height: 81px;
  background: conic-gradient(var(--c-primary) calc(var(--p) * 1%), var(--c-tint-strong) 0);
  border-radius: 999px;
  transition: all 0.4s ease-in-out;
}

.quota-ring > span {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 69px;
  height: 68px;
  background: #fff;
  border-radius: 999px;
}

.quota-ring .quota-number {
  display: block;
  padding: 0;
  background: none;
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
  letter-spacing: 0;
}

.quota-ring .quota-number span {
  font-weight: 700;
}

.quota-ring .quota-number #quotaRemaining {
  color: var(--c-primary);
}

.quota-ring small {
  font-size: 10px;
  font-weight: 700;
  color: #8c8f93;
}

.quota-ring-info {
  flex: 1;
  min-width: 0;
}

.quota-ring-info small {
  display: block;
  font-size: 10px;
  font-weight: 700;
  color: #8c8f93;
}

.quota-ring-info p {
  margin: 2px 0 8px;
  font-size: 12px;
  font-weight: 600;
  color: #414042;
}

.quota-ring-info p b {
  color: var(--c-primary);
}

.quota-ring-info .quota-btn {
  margin: 0;
  box-shadow: 0 4px 12px rgb(var(--rgb-primary-dark)/0.3);
}

.prize-rules-row {
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
  gap: 12px;
}

.prize-rules-row .prize-tiers-section {
  margin: 0;
  padding: 16px;
  border-radius: 22px;
  box-shadow: 0 6px 16px rgba(40, 92, 145, 0.08);
}

.prize-rules-row .prize-tiers-header {
  margin-bottom: 12px;
}

.prize-rules-row .prize-tiers-header > span {
  display: none;
}

.prize-rules-row .prize-tiers-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.prize-rules-row .prize-tier-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: row;
  padding: 8px 12px;
  border-top: 1px solid var(--border-subtle);
  border-left: 3px solid var(--primary-red);
  border-radius: 12px;
  text-align: left;
  gap: 8px;
}

.prize-rules-row .prize-tier-box:hover {
  transform: translateX(3px);
}

.prize-rules-row .prize-tier-arrow {
  display: none;
}

.prize-rules-row .prize-tier-label {
  font-size: 10px;
}

.prize-rules-row .prize-tier-box:not(.prize-tier-top) {
  flex-direction: row;
  align-items: center;
}

.prize-rules-row .prize-tier-box.prize-tier-top {
  grid-column: 1/-1;
  padding-top: 8px;
  border: 0;
  transform: none;
}

.prize-rules-row .prize-tier-box.prize-tier-top:hover {
  transform: translateX(3px);
}

.prize-rules-row .prize-tier-crown {
  order: -1;
  margin: 0 4px 0 0;
  font-size: 12px;
}

.prize-rules-row .prize-tier-top .prize-tier-label {
  margin-right: auto;
}

.prize-rules-row .prize-tiers-footnote {
  margin-top: 12px;
  text-align: left;
  font-size: 10px;
}

.prize-rules-row .rule-card {
  min-height: 0;
  padding: 16px;
}

.prize-rules-row .rule-card h3 {
  margin-bottom: 8px;
  font-size: 20px;
}

.prize-rules-row .prize-tiers-header h2 {
  font-size: 20px;
}

.prize-rules-row .notice-card ul {
  font-size: 12px;
  line-height: 1.7;
}

.prize-rules-row .activity-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 45%, rgba(255, 255, 255, 0) 80%);
  pointer-events: none;
  z-index: 1;
}

.prize-rules-row .activity-card ol {
  color: #1f2d44;
  font-size: 12px;
}

@media (max-width: 900px) {
  .prize-rules-row {
    grid-template-columns: 1fr;
  }
}
.points-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid #f0f0f0;
  border-radius: 12px;
  overflow: clip;
  background: #fff;
  table-layout: fixed;
}

.points-table th {
  padding: 10px 12px;
  background: #555555;
  border: 0;
  border-radius: 0;
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.points-table td {
  padding: 12px 12px;
  border: 0;
  border-top: 1px solid #f0f0f0;
  color: #414042;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  vertical-align: middle;
}

.points-table tbody tr:nth-child(even) td {
  background: #fcfcfc;
}

.points-table td[rowspan] {
  background: #fafafa;
  border-right: 1px solid #f0f0f0;
}

.points-table thead tr:first-child th {
  border-top: 0;
}

@media (min-width: 761px) {
  .past-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    overflow: clip;
    background: #fff;
    table-layout: fixed;
  }
  .past-table th {
    padding: 10px 12px;
    background: #555555;
    border: 0;
    border-radius: 0;
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
  }
  .past-table td {
    padding: 12px 12px;
    border: 0;
    border-top: 1px solid #f0f0f0;
    color: #414042;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    vertical-align: middle;
  }
  .past-table tbody tr:nth-child(even) td {
    background: #fcfcfc;
  }
  .past-table td[rowspan] {
    background: #fafafa;
    border-right: 1px solid #f0f0f0;
  }
  .past-table thead tr:first-child th {
    border-top: 0;
  }
  .past-table th,
  .past-table td {
    text-align: center;
  }
  .past-table .time,
  .past-table .away {
    text-align: left;
  }
  .past-table .home {
    text-align: right;
  }
  .past-table tbody tr.won td {
    background: #f6fef9;
  }
}
.rank_popup .prediction-table th {
  padding: 10px 12px;
  background: #555555;
  border: 0;
  border-radius: 0;
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.rank_popup .prediction-table td {
  padding: 12px 12px;
  border: 0;
  border-top: 1px solid #f0f0f0;
  color: #414042;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  vertical-align: middle;
}

.rank_popup .prediction-table tbody tr:nth-child(even) td {
  background: #fcfcfc;
}

.rank_popup .prediction-table td[rowspan] {
  background: #fafafa;
  border-right: 1px solid #f0f0f0;
}

/*# sourceMappingURL=main_default.css.map */
