html {
  scrollbar-gutter: auto;
  background: #000;
}

body {
  color: #eee;
  background: #000;
  margin: 0;
  font-family: Kufox Sans, Arial, sans-serif;
}

button, input, select {
  font-family: inherit;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
}

button:focus, input:focus, select:focus, a:focus {
  outline-offset: 3px;
  outline: 2px solid #80ef93;
}

[hidden] {
  display: none !important;
}

.sr-label {
  clip: rect(0,0,0,0);
  width: 1px;
  height: 1px;
  position: absolute;
  overflow: hidden;
}

.local-header {
  z-index: 99;
  white-space: nowrap;
  background: #121212;
  border-bottom: 1px solid #292929;
  align-items: center;
  height: 64px;
  padding: 0 16px;
  display: flex;
  position: relative;
}

.local-logo {
  flex: none;
  width: 108px;
  margin-right: 20px;
}

.local-logo img {
  width: 108px;
  height: auto;
}

.local-switch {
  background: #181818;
  border-radius: 10px;
  margin-right: 20px;
  padding: 3px;
  display: flex;
}

.local-switch button {
  color: #777;
  background: none;
  border: 0;
  padding: 4px 8px;
  font-size: 14px;
}

.local-switch .active {
  color: #eee;
  border: 1px solid #eee;
  border-radius: 6px;
  box-shadow: 0 0 4px #aaa;
}

.local-nav {
  align-items: center;
  display: flex;
}

.local-nav button {
  color: #eee;
  background: none;
  border: 0;
  padding: 20px 10px;
  font-size: 14px;
}

.local-nav button:after {
  content: "⌄";
  color: #888;
  margin-left: 4px;
  font-size: 11px;
}

.local-user {
  align-items: center;
  margin-left: auto;
  display: flex;
}

.local-user > button {
  border: 0;
  padding: 8px 16px;
  font-size: 14px;
}

.nav-login {
  color: #eee;
  background: none;
}

.local-user > .nav-signup {
  color: #111;
  background: #fff;
  border-radius: 24px;
  margin: 0 12px;
  font-weight: 600;
}

.locale-control {
  border-left: 1px solid #333;
  align-items: center;
  padding-left: 12px;
  display: flex;
}

.locale-control > span[aria-hidden] {
  margin-right: 5px;
  font-size: 23px;
}

.locale-control select {
  color: #eee;
  background: #121212;
  border: 0;
  width: 102px;
  max-width: 125px;
  padding: 6px 0;
  font-size: 13px;
}

.local-burger {
  color: #eee;
  background: none;
  display: none;
  font-size: 22px !important;
}

.local-footer {
  color: #777;
  border-top: 1px solid #242424;
  max-width: 1200px;
  margin: 24px auto 0;
  padding: 30px 0 40px;
  font-size: 13px;
  line-height: 1.7;
}

.local-footer small {
  font-size: 12px;
}

.local-modal {
  z-index: 500;
  background: #000000b3;
  justify-content: center;
  align-items: center;
  padding: 24px;
  display: flex;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

.local-dialog {
  box-sizing: border-box;
  background: #171717;
  border: 1px solid #333;
  border-radius: 24px;
  width: 520px;
  max-width: 100%;
  max-height: 85vh;
  padding: 32px;
  position: relative;
  overflow-y: auto;
  box-shadow: 0 20px 80px #000;
}

.local-dialog h2 {
  margin: 0 45px 25px 0;
  font-size: 24px;
  line-height: 1.4;
}

.local-close {
  color: #aaa;
  background: none;
  border: 0;
  width: 36px;
  height: 36px;
  font-size: 28px;
  position: absolute;
  top: 16px;
  right: 18px;
}

.local-dialog p, .draw-rules {
  color: #aaa;
  font-size: 14px;
  line-height: 1.8;
}

.draw-rules {
  padding-left: 20px;
}

.draw-rules li {
  margin: 12px 0;
}

.dialog-primary {
  color: #101010;
  white-space: normal;
  background: #81ed95;
  border: 0;
  border-radius: 24px;
  width: 100%;
  margin-top: 22px;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  display: block;
}

.empty-rewards {
  text-align: center;
  padding: 30px 0;
}

.empty-rewards > span {
  color: #5d605d;
  font-size: 64px;
}

.empty-rewards h3 {
  font-size: 20px;
}

.auth-brand {
  color: #58b68b;
  margin: 10px 0;
  font-size: 28px;
  font-weight: 700;
}

.auth-tabs {
  margin: 20px 0;
  display: flex;
}

.auth-tabs button {
  color: #888;
  background: none;
  border: 0;
  border-bottom: 2px solid #333;
  flex: 1;
  padding: 12px;
}

.auth-tabs .selected {
  color: #80ef93;
  border-color: #80ef93;
}

.local-dialog small[data-i18n="demoBadge"] {
  color: #81ed95;
  font-size: 12px;
}

.local-dialog label {
  color: #ddd;
  margin: 20px 0 8px;
  font-size: 14px;
  display: block;
}

.local-dialog input {
  box-sizing: border-box;
  color: #eee;
  background: #252525;
  border: 1px solid #414141;
  border-radius: 10px;
  width: 100%;
  min-width: 0;
  padding: 13px 12px;
  font-size: 16px;
}

.password-wrap {
  position: relative;
}

.password-wrap input {
  padding-right: 120px;
}

.password-wrap button {
  color: #80ef93;
  text-align: right;
  background: none;
  border: 0;
  width: 100px;
  font-size: 11px;
  line-height: 1.3;
  position: absolute;
  top: 9px;
  right: 7px;
}

.local-dialog #form-status {
  color: #85e399;
  margin-top: 15px;
}

.modal-open {
  overflow: hidden;
}

.modal-links button {
  color: #ddd;
  text-align: start;
  background: none;
  border: 0;
  border-bottom: 1px solid #333;
  justify-content: space-between;
  width: 100%;
  padding: 18px 0;
  font-size: 17px;
  display: flex;
}

.modal-links button > span:last-child {
  margin-left: 12px;
}

#toast {
  z-index: 1000;
  color: #ddd;
  background: #262626;
  border: 1px solid #444;
  border-radius: 12px;
  max-width: 85vw;
  padding: 14px 22px;
  position: fixed;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 8px 30px #000;
}

.lottery-machine-cell.preview-active .lottery-machine-cell-bg-active {
  opacity: 1 !important;
}

.lottery-machine-cell.preview-active .lottery-machine-cell-bg-default {
  opacity: 0 !important;
}

.lottery-machine-cell.preview-active .lottery-machine-cell-light {
  opacity: 1 !important;
}

.market-search {
  justify-content: flex-end;
  margin: 16px 0;
  display: flex;
}

.market-search input {
  color: #eee;
  background: #171717;
  border: 1px solid #333;
  border-radius: 20px;
  width: 230px;
  max-width: 100%;
  padding: 8px 16px;
  font-size: 14px;
}

.local-quotes {
  border-collapse: collapse;
  width: 100%;
  font-size: 16px;
}

.local-quotes th {
  color: #888;
  text-align: left;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 400;
}

.local-quotes td {
  border-bottom: 1px solid #202020;
  padding: 18px 16px;
}

.local-quotes th:last-child, .local-quotes td:last-child {
  text-align: right;
}

.local-quotes .up {
  color: #44be80;
}

.local-quotes .down {
  color: #e35a70;
}

.quote-coin {
  align-items: center;
  display: flex;
}

.quote-coin img {
  width: 32px;
  height: 32px;
  margin-right: 12px;
}

.quote-coin strong {
  font-size: 16px;
  font-weight: 600;
}

.quote-coin small {
  color: #888;
  margin-top: 4px;
  font-size: 12px;
  display: block;
}

.quote-trade {
  color: #111;
  background: #fff;
  border: 0;
  border-radius: 20px;
  padding: 8px 24px;
  font-size: 14px;
  font-weight: 600;
}

.change-periods {
  margin-right: 10px;
  display: inline-flex;
}

.change-periods button {
  color: #777;
  background: none;
  border: 0;
  padding: 3px 5px;
  font-size: 12px;
}

.change-periods button.selected {
  color: #eee;
  background: #292929;
  border-radius: 4px;
}

#market-pages {
  justify-content: flex-end;
  padding: 20px 12px;
  display: flex;
}

#market-pages button {
  color: #ddd;
  background: none;
  border: 0;
  border-radius: 4px;
  width: 32px;
  height: 32px;
  margin-left: 5px;
}

#market-pages button[aria-current="page"] {
  background: #333;
}

#market-pages button:disabled {
  color: #555;
}

.market-note {
  color: #777;
  text-align: right;
  padding: 0 16px;
  font-size: 12px;
  display: block;
}

.no-quotes {
  text-align: center;
  color: #888;
  padding: 50px;
}

.lego-marketing-list-tabs button.selected {
  border-bottom: 2px solid #fff;
  color: #fff !important;
}

.lego-marketing-list-tabs button.selected > span {
  color: #fff !important;
}

.lego-expandable-text:not(.is-collapsible) .lego-expandable-text-content {
  overflow: visible !important;
}

.lego-text2026 {
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.lego-slot-tasksV2-prize-preview-list {
  animation-play-state: running;
}

.lego-slot-tasksV2-prize-preview-marquee:hover .lego-slot-tasksV2-prize-preview-list {
  animation-play-state: paused;
}

[dir="rtl"] .local-logo {
  margin-left: 20px;
  margin-right: 0;
}

[dir="rtl"] .local-user {
  margin-left: 0;
  margin-right: auto;
}

[dir="rtl"] .local-dialog h2 {
  margin: 0 0 25px 45px;
}

[dir="rtl"] .local-close {
  left: 18px;
  right: auto;
}

[dir="rtl"] .local-quotes th {
  text-align: right;
}

[dir="rtl"] .quote-coin img {
  margin-left: 12px;
  margin-right: 0;
}

[dir="rtl"] .lego-hero-v2-time-text, [dir="rtl"] .lottery-time, [dir="rtl"] .local-quotes td:not(:first-child) {
  direction: ltr;
}

[dir="rtl"] .password-wrap input {
  padding-left: 120px;
  padding-right: 12px;
}

[dir="rtl"] .password-wrap button {
  left: 7px;
  right: auto;
}

[dir="rtl"] .draw-rules {
  padding-left: 0;
  padding-right: 20px;
}

@supports not (inset: 0) {
  .local-modal {
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
  }
}

@media (max-width: 1350px) {
  .local-nav button {
    padding: 20px 7px;
    font-size: 13px;
  }

  .local-switch, .local-logo {
    margin-right: 12px;
  }

  .locale-control select {
    width: 70px;
  }
}

@media (max-width: 1170px) {
  .local-switch, .local-nav {
    display: none;
  }

  .local-burger {
    display: block;
  }

  .local-user > .nav-signup {
    margin: 0 6px;
  }

  .local-footer {
    margin-left: 24px;
    margin-right: 24px;
  }

  .locale-control select {
    width: 100px;
  }
}

@media (max-width: 767px) {
  .local-header {
    height: 64px;
    padding: 0 16px;
  }

  .local-logo, .local-logo img {
    width: 105px;
  }

  .local-user > .nav-login {
    display: none;
  }

  .local-user > .nav-signup {
    white-space: normal;
    max-width: 90px;
    padding: 7px 12px;
    font-size: 12px;
    line-height: 1.2;
  }

  .locale-control {
    border: 0;
    padding-left: 8px;
  }

  .locale-control > span[aria-hidden] {
    display: none;
  }

  .locale-control select {
    width: 78px;
    font-size: 12px;
  }

  .local-user > button.local-burger {
    padding: 7px;
  }

  .local-footer {
    margin: 20px 16px 0;
    padding: 24px 0;
  }

  .local-modal {
    padding: 16px;
  }

  .local-dialog {
    border-radius: 18px;
    max-height: 88vh;
    padding: 26px 22px;
  }

  .local-dialog h2 {
    font-size: 21px;
  }

  .local-quotes {
    font-size: 13px;
  }

  .local-quotes th {
    padding: 10px 4px;
    font-size: 11px;
  }

  .local-quotes td {
    padding: 16px 4px;
  }

  .local-quotes th:last-child, .local-quotes td:last-child {
    display: none;
  }

  .quote-coin img {
    width: 25px;
    height: 25px;
    margin-right: 7px;
  }

  .quote-coin strong {
    font-size: 13px;
  }

  .quote-coin small {
    font-size: 10px;
  }

  .change-periods {
    margin: 0;
    display: flex;
  }

  .change-periods button {
    padding: 2px 3px;
    font-size: 10px;
  }

  .quote-price {
    font-variant-numeric: tabular-nums;
  }

  .market-search input {
    width: 100%;
    padding: 10px 14px;
  }

  .market-search {
    margin: 12px 0;
  }

  .local-quotes td:nth-child(2), .local-quotes td:nth-child(3), .local-quotes th:nth-child(2), .local-quotes th:nth-child(3) {
    text-align: right;
  }

  .market-note {
    text-align: left;
    padding: 0;
  }

  #market-pages {
    padding: 18px 0;
  }

  .lego-hero-v2-btn-label {
    line-height: 1.3;
    white-space: normal !important;
  }

  .lottery-action-text {
    white-space: normal;
    line-height: 1.35;
  }

  .lottery-action {
    min-height: 28px;
    height: auto !important;
  }

  .do-lottery-label {
    white-space: normal;
    line-height: 1.2;
  }

  .lego-kc-community {
    overflow: hidden;
  }

  .lego-hero-v2-title-text {
    overflow-wrap: anywhere;
    word-wrap: break-word;
  }
}

@media (max-width: 350px) {
  .local-user > .nav-signup {
    display: none;
  }

  .locale-control select {
    width: 80px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}

.local-countdown {
  align-items: center;
  margin: 10px 0 14px;
  display: flex;
}

.local-countdown > span {
  margin-right: 3px;
  font-size: 18px;
  line-height: 30px;
}

.local-countdown .clock-unit {
  text-align: center;
  font-variant-numeric: tabular-nums;
  border: 1px solid #606060;
  border-radius: 3px;
  min-width: 32px;
  height: 32px;
  display: inline-block;
}

.lego-expandable-text-content {
  text-align: left;
}

.lego-hero-share-btn .lego-hero-standard-btn-txt {
  display: none;
}

.lego-hero-share-btn svg {
  flex: none;
  display: block;
}

[dir="rtl"] .lego-expandable-text-content {
  text-align: right;
}

@media (max-width: 767px) {
  .lego-hero-share-btn .lego-hero-standard-btn-txt {
    display: block;
  }

  .local-countdown {
    justify-content: center;
  }

  .local-countdown > span {
    font-size: 14px;
    line-height: 26px;
  }

  .local-countdown .clock-unit {
    min-width: 28px;
    height: 28px;
  }

  .lego-expandable-text-content {
    text-align: center;
  }
}

.lego-hero-v2-video-bg.is-fullscreen {
  min-height: calc(100vh - 64px);
}

.lego-tasks-v2-box {
  --tasks-v2-countdown-safe-width: 240px;
}

.lego-referral-qr {
  height: 48px;
}

.lego-referral-qr-icon {
  height: 22px;
}

.local-header.nav-compact .local-switch, .local-header.nav-menu-only .local-nav {
  display: none;
}

.local-header.nav-menu-only .local-burger {
  display: block;
}

.local-prize-marquee {
  direction: ltr;
  padding: 12px 0;
  position: relative;
  overflow: hidden;
}

.local-prize-track {
  width: max-content;
  animation: 48s linear infinite prize-scroll;
  display: flex;
}

.local-prize-track .lego-slot-tasksV2-prize-preview-list {
  flex: none;
  justify-content: flex-start;
  overflow: visible;
}

.local-prize-track .lego-slot-tasksV2-prize-preview-item {
  flex-shrink: 0;
  margin-right: 8px;
}

.local-prize-marquee:hover .local-prize-track, .local-prize-marquee:focus-within .local-prize-track {
  animation-play-state: paused;
}

.quote-price small {
  color: #777;
  margin-top: 5px;
  font-size: 12px;
  display: block;
}

#market-pages {
  flex-wrap: wrap;
}

.change-periods button {
  min-width: 20px;
}

@keyframes prize-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-33.3333%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .local-prize-track {
    animation: none;
  }

  .local-prize-marquee {
    overflow-x: auto;
  }
}

.market-search {
  display: none;
}

.market-search.is-open {
  display: flex;
}

.market-note {
  clip: rect(0,0,0,0);
  width: 1px;
  height: 1px;
  position: absolute;
  overflow: hidden;
}

.lego-expandable-text.is-collapsible .lego-expandable-text-container {
  overflow: hidden;
}

.local-user > .local-search {
  color: #eee;
  background: none;
  flex: none;
  width: 36px;
  padding: 8px;
}

.local-search svg {
  display: block;
}

@media (max-width: 767px) {
  .local-user > .local-search {
    width: 28px;
    padding: 5px;
  }
}

.quote-price small {
  margin-top: 0;
  line-height: 18px;
}

.lego-slot-tasksV2-prize-preview-description {
  white-space: normal !important;
  -webkit-line-clamp: unset !important;
  max-height: none !important;
  display: block !important;
  overflow: visible !important;
}

@media (max-width: 767px) {
  .lego-marketing-list-tabs {
    flex-wrap: nowrap;
    overflow-x: auto !important;
  }
}
