#nas-login-modal:not(.modal--open),
#nas-qris-login-modal:not(.modal--open) {
  display: none;
  pointer-events: none;
  visibility: hidden;
}

#nas-login-modal.modal--open,
#nas-qris-login-modal.modal--open {
  display: flex;
  pointer-events: auto;
  visibility: visible;
  z-index: 1001;
}

#nas-qris-login-modal.modal--open {
  z-index: 1002;
}

html.nas-login-open,
body.nas-login-open {
  overflow: hidden;
}

#nas-login-modal .modal__root {
  position: relative;
  z-index: 2;
}

#nas-login-modal .modal__backdrop {
  z-index: 1;
}

.btn--round--sm {
  align-items: center;
  border-radius: 50%;
  box-sizing: content-box;
  display: flex;
  font-size: 0.75rem;
  height: 32px;
  justify-content: center;
  overflow: hidden;
  padding: 0.25rem;
  width: 32px;
}

#nas-login-modal .login__container {
  display: grid;
  grid-gap: 1rem;
  max-width: 400px;
  padding: 1rem 0;
  width: 90vw;
}

#nas-login-modal h2,
.nas-auth-page h2 {
  color: #d60405;
  font-size: 1.25rem;
  margin: 0;
  text-align: center;
}

#nas-login-modal .login__form,
.nas-auth-page .login__form {
  padding: 0 1rem;
}

#nas-login-modal .login__actions,
.nas-auth-page .login__actions {
  display: grid;
  grid-gap: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
}

#nas-login-modal .login__actions .input-confirm--simple,
.nas-auth-page .login__actions .input-confirm--simple {
  align-self: center;
  margin-bottom: 0;
  width: auto;
}

#nas-login-modal .login__actions .btn--accent,
.nas-auth-page .login__actions .btn--accent {
  border-radius: 30px;
  font-weight: 700;
  height: 40px;
  width: 100%;
}

#nas-login-modal .login__extra,
.nas-auth-page .login__extra {
  align-items: center;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin-top: 0.75rem;
}

#nas-login-modal .login__extra a,
.nas-auth-page .login__extra a {
  color: #d60405;
  -webkit-text-decoration: underline;
  text-decoration: underline;
}

#nas-login-modal .login__form .input__container:first-of-type .input,
.nas-auth-page .login__form .input__container:first-of-type .input {
  border-color: #fff;
}

#nas-login-modal .login__form .input-password .input,
.nas-auth-page .login__form .input-password .input {
  border-color: #61020b;
}

#nas-login-modal .input-password .input,
.nas-auth-page .input-password .input {
  padding-right: 4rem;
}

#nas-login-modal .input-password__controls,
.nas-auth-page .input-password__controls {
  display: grid;
  grid-auto-columns: 1fr;
  grid-auto-flow: column;
  height: 100%;
  position: absolute;
  right: 0;
  z-index: 4;
}

#nas-login-modal .input-password__controls button,
.nas-auth-page .input-password__controls button {
  align-items: center;
  background: none;
  border: 0;
  color: hsla(0, 0%, 100%, 0.6);
  cursor: pointer;
  display: flex;
  font-size: 1.125rem;
  height: 100%;
  justify-content: center;
  padding: 0 0.5rem;
  width: 2rem;
}

#nas-login-modal .input-password__controls button.enabled,
.nas-auth-page .input-password__controls button.enabled {
  color: #fff;
}

.nas-auth-page {
  margin: 1rem auto;
  max-width: 420px;
}

.nas-auth-page .login__message {
  font-size: 0.75rem;
  font-style: italic;
  margin-bottom: 1rem;
  width: 100%;
}

.app-header__member {
  align-items: center;
  display: flex;
  gap: 0.5rem;
}

.app-header__member-name {
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  max-width: 8rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-header__member-shell[hidden],
.nas-header-deposit[hidden],
[data-nas-auth-guest][hidden],
.app-header__guest[hidden],
li[data-nas-auth-guest][hidden],
[data-nas-auth-member-only][hidden],
li[data-nas-auth-member-only][hidden] {
  display: none !important;
}

.btn--deposit {
  align-items: center;
  border-radius: 20px;
  display: inline-flex;
  font-size: 0.8125rem;
  font-weight: 700;
  gap: 0.25rem;
  min-height: 36px;
  padding: 0 0.75rem;
  white-space: nowrap;
}

#nas-user-drawer.app-drawer__root:not(.app-drawer--open) .app-drawer__backdrop {
  display: none;
}

#nas-user-drawer .app-drawer--right {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

#nas-user-drawer .user-drawer {
  display: grid;
  flex: 1;
  grid-template-rows: minmax(0, 1fr) auto auto;
  min-height: 0;
  width: 100%;
}

#nas-user-drawer .user-drawer__download {
  flex-shrink: 0;
  padding: 0 0 0.5rem;
}

#nas-user-drawer .user-drawer__download .download-app {
  margin-bottom: 0;
  width: calc(100% - 1rem);
}

#nas-user-drawer .user-drawer__menu-item:not(:has(.user-drawer__menu-subitem)) > button {
  display: none;
}

#nas-user-drawer .user-drawer__freespins > button {
  align-items: center;
  background-color: #61020b;
  color: #d60405;
  display: flex;
  justify-content: center;
  padding: 0 1rem;
}

@media (min-width: 1024px) {
  #nas-user-drawer.app-drawer__root {
    bottom: 0;
  }

  #nas-user-drawer.app-drawer__root .app-drawer.app-drawer--right {
    background-color: rgba(14, 37, 62, 0.8);
    right: calc(-250px - 1rem);
    width: 250px;
  }

  #nas-user-drawer.app-drawer__root.app-drawer--open .app-drawer.app-drawer--right {
    transform: translateX(calc(-250px - 1rem));
  }

  #nas-user-drawer .app-drawer__backdrop:before {
    height: calc(100% - 58px);
    top: 58px;
  }
}

body.nas-user-drawer-open .app-header .app-header__right,
body.nas-user-drawer-open .app-header .app-header__member-shell .app-header__right {
  align-self: stretch;
  background-color: #61020b;
  margin: -0.5rem -0.5rem -0.5rem 0;
  padding: 0.5rem;
}

body.nas-user-drawer-open .app-header .app-header__right > .btn--round,
body.nas-user-drawer-open .app-header .app-header__member-shell .app-header__right > .btn--round {
  align-self: center;
}

@media (max-width: 1023px) {
  body.nas-user-drawer-open .app-header.nas-mobile-only {
    grid-template-columns: minmax(0, 1fr) 50dvw;
    padding-right: 0;
  }

  body.nas-user-drawer-open .app-header.nas-mobile-only .app-header__right {
    align-items: center;
    background-color: #61020b;
    box-sizing: border-box;
    display: flex;
    gap: 6px;
    justify-content: space-between;
    margin: 0;
    min-width: 0;
    padding: 0.5rem;
    width: 100%;
  }

  body.nas-user-drawer-open #nas-user-drawer .app-drawer.app-drawer--right {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background-color: #61020b;
  }

  #nas-user-drawer .user-drawer__menu-item ul,
  #nas-user-drawer .user-drawer__menu-subitem a {
    background-color: #0e253e;
  }
}

@media (max-width: 374px) {
  body.nas-user-drawer-open .app-header.nas-mobile-only {
    grid-template-columns: minmax(0, 1fr) 55dvw;
  }
}

#nas-user-drawer .user-drawer__menu {
  list-style: none;
  margin: 0;
  min-height: 0;
  overflow-y: auto;
  padding: 0;
}

#nas-user-drawer .user-drawer__logout {
  flex-shrink: 0;
  grid-row: auto;
}

@media (min-width: 1024px) {
  body.nas-user-drawer-open .app-header.app-header--d .app-header__member-shell {
    background-color: transparent;
  }
}

.nas-footer-deposit .sticky-footer__deposit-icon {
  margin-bottom: 0.125rem;
}

@media (max-width: 1023px) {
  .app-header.nas-mobile-only .btn--deposit {
    min-height: 32px;
    padding: 0 0.625rem;
  }
}

@media (min-width: 1024px) {
  .app-header.app-header--d {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
    overflow: visible;
  }

  .app-header.app-header--d .login-inline {
    align-items: center;
    flex: 0 1 auto;
    gap: 0.5rem;
    min-width: 0;
  }

  .app-header.app-header--d .login-inline__form {
    grid-template-columns: minmax(7.5rem, 15.5rem) minmax(7.5rem, 15.5rem) auto auto;
    width: auto;
  }

  .app-header.app-header--d .login-inline__register {
    flex-shrink: 0;
  }

  .app-header.app-header--d .app-header__member-shell {
    align-items: center;
    display: flex;
    flex: 1;
    gap: 0.5rem;
    justify-content: flex-end;
    min-width: 0;
  }

  .app-header.app-header--d .app-header__member-shell .app-header__right {
    align-items: center;
    display: flex;
    flex-shrink: 0;
    gap: 6px;
    justify-content: flex-end;
    width: 100%;
  }

  .app-header.app-header--d .app-header__member-shell .app-header__user {
    width: auto;
  }
}

.nas-main > .app-breadcrumbs + .nas-single--page .nas-single__body {
  padding-top: 0;
}

section.register .register-form-1__feedback,
section.forgot-password .forgot-password__feedback {
  background-color: rgba(214, 4, 5, 0.12);
  border: 1px solid #d60405;
  border-radius: 8px;
  color: #fff;
  font-size: 0.75rem;
  margin-bottom: 0.75rem;
  padding: 0.625rem 0.75rem;
}

section.register .register-form-1__feedback[hidden],
section.forgot-password .forgot-password__feedback[hidden],
section.register .register-form-1__success[hidden],
section.forgot-password .forgot-password__success[hidden] {
  display: none !important;
}

section.register .register-form-1__success,
section.forgot-password .forgot-password__success {
  margin-bottom: 0.75rem;
}

section.forgot-password {
  background-color: #0e253e;
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: calc(100vh - 140px - 1.5rem);
  position: relative;
}

@supports (height: 100dvh) {
  section.forgot-password {
    min-height: calc(100dvh - 140px - 1.5rem);
  }
}

section.forgot-password > header {
  align-items: center;
  background-color: #0e253e;
  display: flex;
  padding: 0.5rem;
  position: sticky;
  top: 58px;
  width: 100%;
  z-index: 9;
}

section.forgot-password > header :is(h1, h2) {
  align-items: center;
  display: flex;
  font-size: 0.875rem;
  font-weight: 900;
}

section.forgot-password > header :is(h1, h2) i {
  margin-right: 0.5rem;
}

section.forgot-password .forgot-password__container {
  justify-self: center;
  max-width: 30rem;
  padding: 0.5rem;
  width: 100%;
}

section.forgot-password .forgot-password__form {
  display: grid;
  grid-gap: 0.75rem;
}

section.forgot-password .forgot-password__form[hidden] {
  display: none !important;
}

section.forgot-password .input__container label {
  color: #fff;
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

section.forgot-password .input {
  background-color: #030a12;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #fff;
  font-size: 0.875rem;
  height: 2.75rem;
  width: 100%;
}

section.forgot-password .input--icon {
  padding-left: 2.5rem;
}

section.forgot-password .input__icon {
  color: #d60405;
  left: 0.75rem;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

section.forgot-password .captcha__image img {
  display: block;
  height: 40px;
  object-fit: contain;
  width: 120px;
}

section.forgot-password .captcha__image img.captcha--loading {
  opacity: 0.35;
}

@media (min-width: 1024px) {
  section.forgot-password {
    min-height: calc(100vh - 80px - 1.5rem);
  }

  @supports (height: 100dvh) {
    section.forgot-password {
      min-height: calc(100dvh - 80px - 1.5rem);
    }
  }
}

.nas-single--page:has(> .nas-single__body > .forgot-password),
.nas-single--page:has(.forgot-password) {
  background-color: #0e253e;
}

.nas-single--page:has(.forgot-password) .nas-single__body {
  padding: 0;
}

.nas-single--page:has(> .nas-single__body > .register),
.nas-single--page:has(.register) {
  margin: 0;
  max-width: none;
  width: 100%;
}

.nas-single--page:has(.register) .nas-single__body {
  padding: 0;
}

section.register {
  background-color: #0e253e;
  display: grid;
  grid-template-rows: auto 1fr;
  margin: 0;
  max-width: none;
  min-height: calc(100vh - 140px - 1.5rem);
  position: relative;
  width: 100%;
}

@supports (height: 100dvh) {
  section.register {
    min-height: calc(100dvh - 140px - 1.5rem);
  }
}

section.register > header.surface--primary {
  align-items: center;
  background-color: #0e253e;
  box-shadow: none;
  color: #fff;
  display: flex;
  margin: 0;
  padding: 0.5rem;
  position: static;
  top: auto;
  width: 100%;
  z-index: auto;
}

section.register > header.surface--primary :is(h1, h2) {
  align-items: center;
  color: #fff;
  display: flex;
  font-size: 0.875rem;
  font-weight: 900;
  margin: 0;
  text-align: left;
}

section.register > header.surface--primary :is(h1, h2) i {
  color: #fff;
  margin-right: 0.5rem;
}

section.register .register-form-1 {
  padding: 0.5rem;
}

section.register .register-form-1__fields {
  justify-self: center;
  max-width: 30rem;
  width: 100%;
}

section.register .fields__group + .fields__group {
  margin-top: 1rem;
}

section.register .fields__group .field__header {
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

section.register .input__container label {
  color: #fff;
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

section.register .input__root {
  position: relative;
}

section.register .input {
  background-color: #030a12;
  border: 2px solid #61020b;
  border-radius: 2px;
  color: #fff;
  font-size: 0.875rem;
  min-height: 2.5rem;
  padding: 0.5rem 1rem;
  width: 100%;
}

section.register .input::placeholder {
  color: hsla(0, 0%, 100%, 0.45);
}

section.register .input--icon {
  padding-left: 2.5rem;
}

section.register .input__icon {
  color: #fff;
  left: 0.625rem;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
}

section.register .fields__group .input__container:first-of-type .input {
  border-color: #fff;
}

section.register .input__error-text {
  display: block;
  font-size: 0.75rem;
  margin-top: 0.35rem;
}

section.register .input__error-text[hidden] {
  display: none !important;
}

section.register .input__error-text--fail {
  color: #ff8a8a;
}

section.register .input__error-text--info {
  color: hsla(0, 0%, 100%, 0.6);
}

section.register .input__error-text--pass {
  color: #4cd964;
}

section.register [data-nas-field].input__container--error .input {
  border-color: #ff3b3b !important;
}

section.register [data-nas-field].input__container--pass .input {
  border-color: #139c44;
}

section.register .register-form-1__controls .btn--long:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

section.register .input-password .input {
  border-color: #61020b;
  padding-right: 4.5rem;
}

section.register .input-password__controls {
  display: grid;
  grid-auto-columns: 1fr;
  grid-auto-flow: column;
  height: 100%;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 4;
}

section.register .input-password__controls button {
  align-items: center;
  background: none;
  border: 0;
  color: hsla(0, 0%, 100%, 0.6);
  cursor: pointer;
  display: flex;
  font-size: 1.125rem;
  height: 100%;
  justify-content: center;
  padding: 0 0.5rem;
  width: 2rem;
}

section.register .input-password__controls button.enabled,
section.register .input-password__controls button[data-nas-password-copy]:not(:disabled) {
  color: #fff;
}

section.register .input-password__controls button[data-nas-password-copy]:disabled {
  opacity: 0.38;
}

section.register .password-requirements {
  font-size: 0.75rem;
  list-style: none;
  margin: 0;
  padding: 0.5rem 0 0;
}

section.register .password-requirements li {
  align-items: center;
  color: hsla(0, 0%, 100%, 0.6);
  display: flex;
  gap: 0.5rem;
  margin: 0;
}

section.register .password-requirements li.valid {
  color: #fff;
}

section.register .password-requirements li.valid i {
  color: #139c44;
}

section.register .alert {
  align-items: flex-start;
  background-color: #61020b;
  border-radius: 2px;
  color: #fff;
  display: flex;
  font-weight: 300;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  padding: 1rem 1rem 1rem 3rem;
  position: relative;
}

section.register .alert p {
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.4;
  margin: 0;
}

section.register .alert > i {
  color: #fff;
  left: 0.75rem;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

section.register .input-phone .input {
  padding-left: 3.75rem;
}

section.register .input-phone__country {
  align-items: center;
  color: #fff;
  display: flex;
  font-size: 0.875rem;
  height: calc(100% - 2px);
  justify-content: center;
  left: 0;
  padding: 0 0.5rem 0 2.5rem;
  position: absolute;
  top: 1px;
  width: 3.5rem;
  z-index: 2;
}

section.register .select-dropdown .input,
section.register .select-dropdown [data-nas-select-toggle] {
  background-color: #030a12;
  border: 2px solid #61020b;
  color: #fff;
  text-align: left;
  width: 100%;
}

section.register .select__arrow {
  color: #fff;
  pointer-events: none;
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
}

section.register [data-nas-register-provider][hidden],
section.register [data-nas-register-bank-details][hidden] {
  display: none !important;
}

section.register .select-dropdown [data-nas-select-toggle]:disabled {
  cursor: not-allowed;
  opacity: 0.72;
}

section.register [name="referral"].input--referral-locked,
section.register [name="referral"][data-nas-referral-locked="1"] {
  background-color: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.72);
  cursor: not-allowed;
  opacity: 0.82;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
}

section.register .captcha__image img {
  display: block;
  height: 100%;
  object-fit: contain;
  width: 100%;
}

section.register .register-form-1__controls {
  display: grid;
  gap: 0.75rem;
  justify-items: center;
  margin-bottom: 2rem;
}

section.register .register-form-1__controls .btn--long {
  border-radius: 30px;
  font-weight: 700;
  max-width: 200px;
  min-height: 2.5rem;
  width: 50%;
}

.nas-auth-member-slot[hidden] {
  display: none !important;
}

@media (min-width: 1024px) {
  section.register {
    min-height: calc(100vh - 80px - 1.5rem);
  }

  @supports (height: 100dvh) {
    section.register {
      min-height: calc(100dvh - 80px - 1.5rem);
    }
  }
}

.nas-deposit__list {
  display: grid;
  gap: 0.75rem;
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}

.nas-deposit__list li {
  align-items: center;
  background: var(--nas-surface-2, #1a2332);
  border-radius: 12px;
  display: flex;
  gap: 0.75rem;
  padding: 0.75rem;
}

.nas-deposit__section + .nas-deposit__section {
  margin-top: 1.5rem;
}

.alert--success {
  background: rgba(46, 160, 67, 0.15);
  border-radius: 10px;
  padding: 0.75rem 1rem;
}

.nas-member-empty {
  margin-top: 1rem;
}

.nas-member-note {
  color: rgba(255, 255, 255, 0.85);
  margin: 1rem 0 0;
}

.nas-account__grid {
  display: grid;
  gap: 0.5rem 1rem;
  grid-template-columns: minmax(8rem, auto) 1fr;
  margin: 1rem 0 0;
}

.nas-account__grid dt {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.875rem;
}

.nas-account__grid dd {
  margin: 0;
}

.nas-bonus-list__items {
  display: grid;
  gap: 0.75rem;
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}

.nas-bonus-list__item {
  background: var(--nas-surface-2, #1a2332);
  border-radius: 12px;
  padding: 0.875rem 1rem;
}

.nas-bonus-list__item h3 {
  font-size: 1rem;
  margin: 0 0 0.25rem;
}

.nas-bonus-list__item p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.875rem;
  margin: 0.25rem 0 0;
}

.nas-bet-history {
  margin-top: 1rem;
}

.nas-bet-history__day + .nas-bet-history__day {
  margin-top: 1.25rem;
}

.nas-bet-history__day h3 {
  font-size: 0.95rem;
  margin: 0 0 0.5rem;
}

.nas-bet-history__day ul {
  display: grid;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nas-bet-history__day li {
  background: var(--nas-surface-2, #1a2332);
  border-radius: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  padding: 0.625rem 0.75rem;
}

.nas-bet-history__provider {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
}

.nas-bet-history__day time {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.8125rem;
  margin-left: auto;
}

.nas-member-page__title,
.nas-member-page__guest-title {
  font-size: 1.125rem;
  margin: 0 0 0.75rem;
  font-weight: 700;
}

@media (min-width: 1024px) {
  .nas-member-page__title,
  .nas-member-page__guest-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
  }
}

.nas-user-layout {
  display: grid;
  gap: 1rem;
  margin-top: 0.75rem;
}

.nas-user-nav__list {
  display: flex;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  overflow-x: auto;
  padding: 0;
  scrollbar-width: none;
}

.nas-user-nav__list::-webkit-scrollbar {
  display: none;
}

.nas-user-nav__list--sidebar {
  display: none;
}

.nas-user-nav__item a {
  align-items: center;
  background: var(--nas-surface-2, #1a2332);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  color: inherit;
  display: inline-flex;
  font-size: 0.8125rem;
  gap: 0.35rem;
  padding: 0.45rem 0.75rem;
  text-decoration: none;
  white-space: nowrap;
}

.nas-user-nav__item--active a,
.nas-user-nav__item a:hover {
  border-color: #d60405;
  color: #d60405;
}

.nas-user-main {
  min-width: 0;
}

.nas-user-card {
  background: var(--nas-surface-2, #1a2332);
  border-radius: 12px;
  margin-bottom: 0.75rem;
  padding: 0.875rem 1rem;
}

.nas-user-card__title {
  font-size: 0.95rem;
  margin: 0 0 0.75rem;
}

.nas-user-card__row {
  display: grid;
  gap: 0.15rem;
  margin-bottom: 0.65rem;
}

.nas-user-card__row:last-child {
  margin-bottom: 0;
}

.nas-user-card__label {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.75rem;
}

.nas-user-card__value {
  font-size: 0.9rem;
  word-break: break-word;
}

.nas-user-card__copy {
  align-items: center;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.nas-user-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.nas-user-tabs__item {
  background: var(--nas-surface-2, #1a2332);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  color: inherit;
  font-size: 0.8125rem;
  padding: 0.4rem 0.75rem;
  text-decoration: none;
}

.nas-user-tabs__item.is-active {
  border-color: #d60405;
  color: #d60405;
}

.nas-user-badge {
  background: #d60405;
  border-radius: 999px;
  color: #fff;
  font-size: 0.6875rem;
  line-height: 1;
  min-width: 1.1rem;
  padding: 0.15rem 0.35rem;
  text-align: center;
}

.nas-user-messages__toolbar {
  margin-bottom: 0.75rem;
}

.nas-ticket-list {
  display: grid;
  gap: 0.65rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nas-ticket-list__item {
  background: var(--nas-surface-2, #1a2332);
  border-radius: 10px;
  padding: 0.75rem;
}

.nas-ticket-list__item--unread {
  border-left: 3px solid #d60405;
}

.nas-ticket-list__open {
  background: none;
  border: 0;
  color: inherit;
  cursor: pointer;
  font: inherit;
  padding: 0;
  text-align: left;
  width: 100%;
}

.nas-ticket-detail__toolbar {
  margin-bottom: 0.75rem;
}

.nas-ticket-detail__head {
  margin-bottom: 0.75rem;
}

.nas-ticket-detail__subject {
  font-size: 1rem;
  margin: 0 0 0.35rem;
}

.nas-ticket-detail__meta {
  align-items: center;
  color: rgba(255, 255, 255, 0.65);
  display: flex;
  flex-wrap: wrap;
  font-size: 0.75rem;
  gap: 0.5rem;
}

.nas-ticket-thread {
  display: grid;
  gap: 0.65rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nas-ticket-thread__item {
  background: var(--nas-surface-2, #1a2332);
  border-radius: 10px;
  padding: 0.75rem;
}

.nas-ticket-thread__head {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  font-size: 0.75rem;
  gap: 0.5rem;
  justify-content: space-between;
  margin-bottom: 0.35rem;
}

.nas-ticket-thread__body {
  font-size: 0.875rem;
  line-height: 1.45;
  white-space: pre-wrap;
  word-break: break-word;
}

.nas-user-messages > .page-nav.surface {
  margin-bottom: 0;
}

.nas-ticket-list__head {
  align-items: flex-start;
  display: flex;
  gap: 0.5rem;
  justify-content: space-between;
}

.nas-ticket-list__subject {
  font-size: 0.9rem;
}

.nas-ticket-list__status {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.75rem;
  white-space: nowrap;
}

.nas-ticket-list__meta {
  color: rgba(255, 255, 255, 0.55);
  display: flex;
  font-size: 0.75rem;
  gap: 0.75rem;
  justify-content: space-between;
  margin-top: 0.35rem;
}

.nas-ticket-list__preview {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.8125rem;
  margin: 0.5rem 0 0;
}

.nas-ticket-form {
  background: var(--nas-surface-2, #1a2332);
  border-radius: 12px;
  display: grid;
  gap: 0.5rem;
  margin-top: 1rem;
  padding: 0.875rem 1rem;
}

.nas-ticket-form[hidden] {
  display: none !important;
}

.nas-ticket-form__title {
  margin: 0;
}

.nas-ticket-form__label {
  font-size: 0.8125rem;
  font-weight: 600;
}

.nas-ticket-form__input,
.nas-ticket-form__textarea {
  background: #030a12;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: inherit;
  font: inherit;
  padding: 0.55rem 0.65rem;
  width: 100%;
}

.nas-ticket-form__actions {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
}

.nas-ticket-form__error[hidden] {
  display: none !important;
}

.nas-single--page:has(.nas-member-page--activity) .nas-single__body {
  padding: 0;
}

.nas-member-page--activity .nas-member-page__body > h2,
.nas-member-page--activity .nas-member-page__title {
  display: none;
}

.nas-member-page--activity .nas-member-page__body {
  padding: 0;
}

.nas-member-page--activity [data-nas-member-guest]:not([hidden]) {
  padding: 0.5rem;
}

.nas-user-activity {
  background-color: #0e253e;
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: calc(100vh - 180px - 2rem);
  position: relative;
  width: 100%;
}

@supports (height: 100dvh) {
  .nas-user-activity {
    min-height: calc(100dvh - 180px - 2rem);
  }
}

.nas-user-activity > .page-nav.surface.page-nav--grid {
  margin: 0;
  position: sticky;
  top: 58px;
  z-index: 9;
}

.nas-user-activity > .page-nav .page-nav__scroll-parent ul a.btn--primary:not(.app-link--active) {
  background-color: #61020b;
}

.nas-user-activity .nas-page-nav-spacer {
  height: 0;
}

.nas-user-activity__page.page {
  box-sizing: border-box;
  height: auto;
  min-height: 0;
  padding: 0.5rem;
}

.activity-content {
  background-color: #030a12;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  width: 100%;
}

.activity-content .alert--info {
  margin: 0;
}

.activity-content__header,
.activity-content__item {
  align-items: center;
  display: grid;
  gap: 0.5rem;
  grid-template-columns:
    minmax(4.5rem, 0.8fr)
    minmax(4rem, 0.9fr)
    minmax(4rem, 0.9fr)
    minmax(5rem, 1fr)
    minmax(5.5rem, 1fr)
    minmax(7rem, 1.2fr);
  padding: 0.65rem 0.75rem;
}

.activity-content__header {
  background: #61020b;
  border-radius: 0;
}

.activity-content__header h5 {
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 700;
  margin: 0;
}

.activity-content__item {
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.8125rem;
}

.activity-content__item:nth-child(even) {
  background: rgba(255, 255, 255, 0.02);
}

.activity-content__item:last-child {
  border-bottom: 0;
}

.activity-content__amount {
  font-weight: 700;
  white-space: nowrap;
}

.activity-content__status {
  display: flex;
  justify-content: flex-start;
}

.activity-content .chip {
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.75rem;
  font-weight: 700;
  justify-content: center;
  line-height: 1.2;
  padding: 0.2rem 0.55rem;
  white-space: nowrap;
}

.activity-content .chip--md {
  min-width: 4.5rem;
  text-align: center;
}

.activity-content .chip--danger {
  background: rgba(214, 4, 5, 0.18);
  color: #ff5a5a;
}

.activity-content .chip--success {
  background: rgba(76, 217, 100, 0.15);
  color: #4cd964;
}

.activity-content .chip--warning {
  background: rgba(255, 193, 7, 0.15);
  color: #ffc107;
}

@media (max-width: 767px) {
  .activity-content {
    background: transparent;
    border-radius: 0;
    gap: 0.65rem;
  }

  .activity-content__header {
    display: none;
  }

  .activity-content__item {
    background: #030a12;
    border-bottom: 0;
    border-radius: 8px;
    gap: 0.35rem;
    grid-template-columns: 1fr;
    margin-bottom: 0;
    padding: 0.75rem;
  }

  .activity-content__item:nth-child(even) {
    background: #030a12;
  }

  .activity-content__item > [data-label] {
    align-items: baseline;
    display: flex;
    gap: 0.5rem;
    justify-content: space-between;
  }

  .activity-content__item > [data-label]::before {
    color: rgba(255, 255, 255, 0.55);
    content: attr(data-label);
    flex-shrink: 0;
    font-size: 0.75rem;
  }

  .activity-content__status {
    justify-content: space-between;
  }
}

.activity-content__load {
  align-items: center;
  display: flex;
  justify-content: center;
  padding: 0.75rem 0 0.25rem;
}

/* Game logs (slot, casino, arcade, …) — Ledak parity */
.activity-content--game {
  gap: 0;
}

.activity-content--game .activity-content__item {
  background-color: #0e253e;
  border-bottom: 0;
  font-size: 0.875rem;
  gap: 0.5rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 0.5rem;
  place-items: center start;
}

.activity-content--game .activity-content__item:nth-child(even) {
  background-color: #030a12;
}

.activity-content--game .activity-content__provider,
.activity-content--game .activity-content__gain,
.activity-content--game .activity-content__date {
  justify-self: end;
}

.activity-content--game .activity-content__date {
  font-weight: 300;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.activity-content--game .activity-content__balance {
  line-height: 1.25;
}

@media (min-width: 768px) {
  .activity-content--game .activity-content__item {
    justify-items: center;
  }

  .activity-content--game .activity-content__item--casino {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .activity-content--game .activity-content__provider,
  .activity-content--game .activity-content__gain,
  .activity-content--game .activity-content__date {
    justify-self: center;
  }
}

@media (max-width: 767px) {
  .activity-content--game {
    background: transparent;
    border-radius: 0;
    gap: 0;
  }

  .activity-content--game .activity-content__item {
    border-radius: 0;
    margin-bottom: 0;
  }
}

@media (min-width: 1024px) {
  .nas-user-activity--d {
    min-height: calc(100vh - 80px - 1.5rem);
  }

  @supports (height: 100dvh) {
    .nas-user-activity--d {
      min-height: calc(100dvh - 80px - 1.5rem);
    }
  }

  .nas-user-activity__page.page {
    padding: 0.75rem;
  }
}

@media (max-width: 1023px) {
  .nas-member-page--activity {
    min-width: 0;
    width: 100%;
  }

  .nas-member-page--activity .nas-member-auth {
    min-width: 0;
  }
}

.nas-user-table-wrap {
  overflow-x: auto;
}

.nas-bet-history__item {
  align-items: center;
  display: flex;
  gap: 0.75rem;
  justify-content: space-between;
}

.nas-bet-history__game {
  display: grid;
  gap: 0.15rem;
}

@media (min-width: 1024px) {
  .nas-user-layout {
    gap: 1.25rem;
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .nas-user-nav__list--tabs {
    display: none;
  }

  .nas-user-nav__list--sidebar {
    display: grid;
    gap: 0.35rem;
    overflow: visible;
  }

  .nas-user-nav__item a {
    border-radius: 10px;
    justify-content: flex-start;
    width: 100%;
  }

  .nas-user-card__row {
    gap: 1rem;
    grid-template-columns: 9rem minmax(0, 1fr);
  }
}

#nas-register-success-modal:not(.modal--open) {
  display: none;
  pointer-events: none;
  visibility: hidden;
}

#nas-register-success-modal.modal--open {
  display: flex;
  pointer-events: auto;
  visibility: visible;
  z-index: 1002;
}

#nas-register-success-modal .modal__root {
  position: relative;
  z-index: 2;
}

#nas-register-success-modal .modal__backdrop {
  z-index: 1;
}

#nas-register-success-modal .modal__content.surface--inverse {
  background-color: #0e253e;
  color: #fff;
}

#nas-register-success-modal .modal__close--outside {
  background: rgba(0, 0, 0, 0.35);
  color: hsla(0, 0%, 100%, 0.85);
  position: absolute;
  right: 0;
  top: 0;
  transform: translate(40%, -40%);
  z-index: 3;
}

#nas-register-success-modal .modal__close--outside:hover {
  color: #fff;
}

.register-success {
  display: grid;
  grid-gap: 1rem;
  padding: 1rem;
  width: 100%;
}

.register-success__banner {
  height: 0;
  overflow: hidden;
  padding-bottom: 75%;
  position: relative;
}

.register-success__banner img {
  display: block;
  height: 100%;
  object-fit: contain;
  padding: 1rem;
  position: absolute;
  width: 100%;
}

.register-success h2 {
  font-size: 1.75rem;
  margin: 0;
  padding: 0 1rem;
  text-align: center;
}

.register-success article {
  font-weight: 300;
  padding: 0 1rem;
  text-align: center;
}

.register-success article p {
  margin: 0;
}

.register-success article p + p {
  margin-top: 0.35rem;
}

.register-success .btn--icon {
  justify-self: center;
}

.register-success .btn--icon div {
  border: 2px solid #fff;
  border-radius: 50%;
  font-size: 1.25rem;
}

.register-success--d {
  width: 350px;
}

@media (max-width: 420px) {
  .register-success--d {
    width: min(350px, 90vw);
  }
}

#nas-session-ended-modal:not(.modal--open) {
  display: none;
  pointer-events: none;
  visibility: hidden;
}

#nas-session-ended-modal.modal--open {
  display: flex;
  pointer-events: auto;
  visibility: visible;
  z-index: 1003;
}

#nas-session-ended-modal .modal__root {
  position: relative;
  z-index: 2;
}

#nas-session-ended-modal .modal__backdrop {
  z-index: 1;
}

#nas-session-ended-modal .modal__content.surface--inverse {
  background-color: #0e253e;
  color: #fff;
}

.logout-notification {
  display: grid;
  grid-gap: 1rem;
  justify-items: center;
  max-width: 350px;
  padding: 1rem;
}

.logout-notification h2 {
  font-size: 1.25rem;
  text-align: center;
}

.logout-notification p {
  font-weight: 300;
  text-align: center;
}

#nas-promo-popup:not(.modal--open) {
  display: none;
  pointer-events: none;
  visibility: hidden;
}

#nas-promo-popup.modal--open {
  display: flex;
  pointer-events: auto;
  visibility: visible;
  z-index: 1004;
}

html.nas-promo-popup-open,
body.nas-promo-popup-open {
  overflow: hidden;
}

#nas-promo-popup .modal__root {
  position: relative;
  z-index: 2;
}

#nas-promo-popup .modal__backdrop {
  z-index: 1;
}

#nas-promo-popup .modal__content.surface--inverse {
  background-color: #0e253e;
  color: #fff;
}

#nas-promo-popup .modal__close--outside {
  background: rgba(0, 0, 0, 0.35);
  color: hsla(0, 0%, 100%, 0.85);
  position: absolute;
  right: 0;
  top: 0;
  transform: translate(40%, -40%);
  z-index: 3;
}

#nas-promo-popup .modal__close--outside:hover {
  color: #fff;
}

.promo-popup {
  display: grid;
  grid-gap: 1rem;
  padding: 1rem;
  width: 350px;
}

@media (max-width: 420px) {
  .promo-popup {
    width: min(350px, 90vw);
  }
}

.promo-popup__media {
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  box-shadow: 0 3px 3px -2px rgba(3, 10, 18, 0.2), 0 3px 4px 0 rgba(3, 10, 18, 0.14),
    0 1px 8px 0 rgba(3, 10, 18, 0.12);
  overflow: hidden;
}

.promo-popup__media img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

/* Member portal shell parity — inbox, activity, history (LedakJitu) */
.nas-single--page:has(.inbox) .nas-single__body,
.nas-single--page:has(.history) .nas-single__body,
.nas-single--page:has(.activity) .nas-single__body {
  padding: 0;
}

.nas-member-auth:has(.inbox) .nas-member-page__title,
.nas-member-auth:has(.history) .nas-member-page__title,
.nas-member-auth:has(.activity) .nas-member-page__title {
  display: none;
}

.nas-member-auth:has(.inbox) [data-nas-member-content],
.nas-member-auth:has(.history) [data-nas-member-content],
.nas-member-auth:has(.activity) [data-nas-member-content] {
  padding: 0;
}

.inbox {
  background-color: #0e253e;
  display: grid;
  min-height: calc(100vh - 180px - 2rem);
  position: relative;
  width: 100%;
}

@supports (height: 100dvh) {
  .inbox {
    min-height: calc(100dvh - 180px - 2rem);
  }
}

.inbox > .page-nav.surface {
  margin: 0;
  position: sticky;
  top: 0;
  z-index: 9;
}

.inbox.inbox--d,
.activity.activity--d,
.history.history--d {
  background-color: #0e253e;
  display: grid;
  min-height: calc(100vh - 80px - 1.5rem);
  position: relative;
  width: 100%;
}

.history {
  background-color: #0e253e;
  display: grid;
  min-height: calc(100vh - 180px - 2rem);
  position: relative;
  width: 100%;
}

@supports (height: 100dvh) {
  .inbox.inbox--d,
  .activity.activity--d,
  .history.history--d {
    min-height: calc(100dvh - 80px - 1.5rem);
  }

  .history {
    min-height: calc(100dvh - 180px - 2rem);
  }
}

.inbox.inbox--d > .page-nav.surface {
  top: 58px;
}

.inbox.inbox--d > .page-nav .page-nav__scroll-parent ul a.btn--primary:not(.app-link--active) {
  background-color: #61020b;
}

.ticket-create {
  width: 100%;
}

.ticket-create .ticket-form__actions {
  display: flex;
  gap: 1rem;
  justify-content: end;
}

.ticket-create .ticket-form__actions > * {
  flex-basis: 7rem;
}

.ticket-create .ticket-form .input__textarea .input {
  resize: vertical;
}

.ticket-create--d .ticket-form {
  background-color: #030a12;
  border-radius: 5px;
  margin: 0 auto;
  max-width: 600px;
  padding: 1rem;
}

.ticket-form__error[hidden] {
  display: none !important;
}

.ticket-create[hidden] {
  display: none !important;
}

.messages {
  list-style: none;
  margin: 0;
  padding: 0;
}

.messages .alert--info {
  margin: 0 0.5rem;
}

.messages.messages--d {
  display: grid;
  gap: 0;
}

.messages .message {
  background-color: #0e253e;
}

.messages .message:nth-child(2n) {
  background-color: #61020b;
}

.messages .message.message--global {
  background-color: rgba(214, 4, 5, 0.5);
}

.messages .message a {
  align-items: center;
  color: inherit;
  display: grid;
  font-size: 0.75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 0.5rem;
  position: relative;
  row-gap: 0.5rem;
  text-decoration: none;
}

.messages .message a .message__id {
  grid-column: 1 / 2;
}

.messages .message a .message__department {
  color: rgba(255, 255, 255, 0.6);
  grid-area: 3 / 1 / 4 / 1;
}

.messages .message a .message__subject {
  grid-area: 2 / 1 / 3 / -1;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.messages .message a .message__status {
  grid-column: 2 / 3;
  justify-self: end;
}

.messages .message a .message__date {
  color: rgba(255, 255, 255, 0.6);
  grid-area: 3 / 2 / 4 / 3;
  justify-self: end;
}

.messages .message a:hover .message__id,
.messages .message a:hover .message__subject {
  color: #d60405;
}

.messages .message--read .message__id,
.messages .message--read .message__subject {
  color: rgba(255, 255, 255, 0.38);
}

.messages .inbox__load {
  align-items: center;
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 0.5rem 0;
}

@media (min-width: 1024px) {
  .messages--d .message a {
    grid-template-columns: repeat(7, minmax(0, 1fr));
    padding: 0.75rem;
  }

  .messages--d .message a .message__id {
    grid-column: 1 / 2;
  }

  .messages--d .message a .message__department {
    grid-area: 1 / 5 / 2 / 6;
    justify-self: center;
  }

  .messages--d .message a .message__subject {
    font-size: 0.875rem;
    grid-area: 1 / 2 / 2 / 5;
    white-space: nowrap;
  }

  .messages--d .message a .message__status {
    grid-column: 6 / 7;
    justify-self: center;
  }

  .messages--d .message a .message__date {
    grid-area: 1 / 7 / 2 / 8;
  }
}

.ticket {
  display: grid;
  grid-template-rows: auto 1fr auto;
  margin-bottom: 60px;
  position: relative;
}

.ticket__header {
  align-items: center;
  background-color: #0e253e;
  display: grid;
  font-size: 0.75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 0.5rem;
  position: sticky;
  row-gap: 0.5rem;
  top: calc(116px - 0.5rem);
  z-index: 2;
}

.ticket__header .message__subject {
  grid-area: 2 / 1 / 3 / -1;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ticket__header .message__id {
  grid-column: 1 / 2;
}

.ticket__header .message__department {
  color: rgba(255, 255, 255, 0.6);
  grid-area: 3 / 1 / 4 / 1;
}

.ticket__header .message__status {
  grid-column: 2 / 3;
  justify-self: end;
}

.ticket__header button {
  justify-self: end;
}

.ticket .ticket__conversation {
  padding: 0.5rem 1rem;
}

.ticket .ticket__conversation ul {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  list-style: none;
  margin: 0;
  padding: 0;
}

.ticket .conversation__item {
  background-color: #0e253e;
  border-radius: 5px;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
  max-width: 70%;
  padding: 0.5rem;
  position: relative;
}

.ticket .conversation__item span {
  color: rgba(255, 255, 255, 0.6);
  display: block;
  font-size: 0.75rem;
  margin-top: 0.5rem;
}

.ticket .conversation__item p {
  margin: 0;
  overflow-wrap: break-word;
  white-space: pre-wrap;
}

.ticket .conversation__item__author {
  color: #d60405;
  margin: 0 0 0.35rem;
}

.ticket .conversation__item--right {
  background-color: #61020b;
  margin-left: auto;
}

.ticket__reply {
  background-color: #61020b;
  bottom: calc(60px + env(safe-area-inset-bottom, 0px));
  left: 0;
  position: fixed;
  width: 100%;
}

.ticket__reply form {
  align-items: flex-end;
  display: flex;
  gap: 0.5rem;
  padding: 0.5rem;
  width: 100%;
}

.ticket__reply form .input__textarea {
  flex-grow: 1;
  margin: 0;
}

.ticket__reply form .input {
  min-height: 36px;
  resize: none;
  width: 100%;
}

.ticket--completed .ticket__conversation,
.ticket--d {
  margin-bottom: 0;
}

.ticket--d {
  height: calc(100vh - 138px - 1.75rem);
  overflow: hidden;
}

@supports (height: 100dvh) {
  .ticket--d {
    height: calc(100dvh - 138px - 1.75rem);
  }
}

@media (min-width: 1024px) {
  .ticket--d header.ticket__header {
    grid-template-columns: repeat(7, minmax(0, 1fr));
    padding: 0.75rem;
    position: static;
  }

  .ticket--d header .message__subject {
    font-size: 0.875rem;
    grid-area: 1 / 2 / 2 / 5;
  }

  .ticket--d header .message__department {
    grid-area: 1 / 5 / 2 / 6;
    justify-self: center;
  }

  .ticket--d header .message__status {
    grid-column: 6 / 7;
    justify-self: center;
  }

  .ticket--d header button {
    grid-area: 1 / 7 / 2 / 8;
  }
}

.history > header.surface--primary {
  margin: 0;
  position: sticky;
  top: 0;
  z-index: 9;
}

.history.history--d > header.surface--primary {
  top: 58px;
}

.history.history--d > header.surface--primary h2 {
  align-items: center;
  display: flex;
  font-size: 1rem;
  gap: 0.5rem;
  margin: 0;
  padding: 0.65rem 0.75rem;
}

.history__nav-spacer {
  height: 0;
}

.history__content {
  display: grid;
  gap: 1rem;
  padding: 0.5rem;
}

.history__content .alert--info {
  margin: 0;
}

.history__item {
  display: grid;
  gap: 0.5rem;
}

.history__item h5 {
  font-size: 0.75rem;
  margin: 0;
  text-transform: uppercase;
}

.history__group {
  display: grid;
  gap: 0.5rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 768px) {
  .history__group {
    gap: 0.75rem;
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

.game-item--history-view .game-item__name {
  font-size: 0.75rem;
}

.history__group .game-item__wrapper > a {
  display: block;
  text-decoration: none;
}

.activity.activity--d > .page.activity__page,
.activity.activity--d .activity__page {
  box-sizing: border-box;
  min-height: 0;
  padding: 0.5rem;
}

.activity {
  background-color: #0e253e;
  display: grid;
  min-height: calc(100vh - 180px - 2rem);
  position: relative;
  width: 100%;
}

@supports (height: 100dvh) {
  .activity {
    min-height: calc(100dvh - 180px - 2rem);
  }
}

.activity > .page-nav.page-nav--grid {
  margin: 0;
  position: sticky;
  top: 0;
  z-index: 9;
}

.activity.activity--d > .page-nav.page-nav--grid {
  top: 58px;
}

.activity.activity--d > .page-nav .page-nav__scroll-parent ul a.btn--primary:not(.app-link--active) {
  background-color: #61020b;
}

.activity.activity--d {
  min-height: calc(100vh - 80px - 1.5rem);
}

@supports (height: 100dvh) {
  .activity.activity--d {
    min-height: calc(100dvh - 80px - 1.5rem);
  }
}

