/* Account and profile dialogs. Colours and proportions follow the supplied mobile references. */
.topbar__user {
  max-width: 180px;
  height: 32px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 6px;
  padding: 0 12px;
  background: #101858;
  color: #fff;
  font-size: 13px;
  font-weight: 850;
  cursor: pointer;
}

/* Limited account state: this banner never grants access by itself; every
   protected API route repeats the verification check on the server. */
.verification-banner {
  position: relative;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px max(24px, calc((100vw - 1760px) / 2));
  border-top: 1px solid rgba(70, 255, 166, 0.22);
  border-bottom: 1px solid rgba(255, 190, 35, 0.28);
  background: linear-gradient(90deg, rgba(7, 30, 27, 0.98), rgba(19, 20, 51, 0.98));
  color: #f5f8ff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
}

.verification-banner__copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.verification-banner__copy strong {
  color: #49f2a0;
  font-size: 14px;
}

.verification-banner__copy span {
  color: #c8cfdf;
  font-size: 13px;
}

.verification-banner__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.verification-banner__actions button,
.topbar__pending-control {
  min-height: 34px;
  border: 1px solid rgba(255, 190, 35, 0.42);
  border-radius: 8px;
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.verification-banner__actions button:first-child {
  background: #ffb21b;
  color: #11182b;
}

.verification-banner__actions button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

@media (max-width: 760px) {
  .verification-banner {
    align-items: stretch;
    flex-direction: column;
    padding: 10px 14px;
  }

  .verification-banner__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .verification-banner__actions button {
    width: 100%;
  }
}

.topbar__user:hover,
.btn--logout:hover { filter: brightness(1.12); }
.btn--logout { min-width: 76px; }

.auth-modal-root { position: fixed; z-index: 1000; inset: 0; display: none; }
.auth-modal-root.is-open { display: block; }
.auth-modal-open { overflow: hidden; }

.auth-modal__backdrop {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(1,3,30,.7);
  backdrop-filter: blur(4px);
}

.auth-dialog {
  width: min(100%, 420px);
  max-height: min(92dvh, 760px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(154,170,255,.46);
  border-radius: 7px;
  background: #111c61;
  color: #f5f7ff;
  box-shadow: 0 26px 70px rgba(0,0,0,.62);
}

.auth-dialog__header {
  min-height: 51px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px 0 19px;
  background: #273679;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.auth-dialog__header h2 {
  margin: 0;
  color: #fff;
  font-size: 17px;
  line-height: 1;
  font-weight: 800;
}

.auth-close {
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  color: #a9b8ff;
  font-size: 30px;
  line-height: 28px;
  font-weight: 300;
  cursor: pointer;
}

.auth-close:hover { color: #fff; }

.auth-dialog__body {
  min-height: 0;
  overflow-y: auto;
  padding: 16px 17px 18px;
  scrollbar-width: thin;
  scrollbar-color: #6074cd transparent;
}

.auth-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin: 0 0 20px;
  border-bottom: 1px solid rgba(157,181,255,.46);
}

.auth-tab {
  position: relative;
  height: 36px;
  border: 0;
  background: transparent;
  color: #c8d0ff;
  font-family: inherit;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
}

.auth-tab.is-active { color: #ffbd22; }
.auth-tab.is-active::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: #ffb313;
}

.auth-form { display: grid; gap: 0; }

.auth-form__error {
  margin: 0 0 10px;
  padding: 8px 10px;
  border: 1px solid rgba(255,125,135,.72);
  border-radius: 5px;
  background: rgba(144,35,61,.28);
  color: #ffe2e6;
  font-size: 12px;
  line-height: 16px;
}

.auth-field {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 11px;
  border: 1px solid #6275cb;
  border-radius: 6px;
  background: #263674;
}

.auth-field:focus-within {
  border-color: #ffbd22;
  box-shadow: 0 0 0 2px rgba(255,181,22,.16);
}

.auth-field__icon {
  flex: 0 0 20px;
  color: #a8b9ff;
  font-size: 17px;
  text-align: center;
}

.auth-field input,
.auth-field select {
  min-width: 0;
  width: 100%;
  height: 42px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 13px;
}

.auth-field input::placeholder { color: #d5dcff; opacity: .94; }
.auth-field select { appearance: none; cursor: pointer; }
.auth-field select option { background: #263674; color: #fff; }
.auth-field.is-invalid { border-color: #ff7b87; }

.auth-password-visibility {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #a8b9ff;
  cursor: pointer;
}

.auth-password-visibility:hover,
.auth-password-visibility:focus-visible,
.auth-password-visibility.is-visible {
  background: rgba(255,255,255,.08);
  color: #ffbd22;
  outline: none;
}

.auth-password-visibility svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.auth-field__error {
  min-height: 17px;
  margin: 2px 2px 4px;
  color: #ffb8c0;
  font-size: 11px;
  line-height: 15px;
}

.auth-forgot,
.auth-text-button {
  width: fit-content;
  margin: 2px 0 18px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #dbe2ff;
  font: inherit;
  font-size: 13px;
  text-decoration: underline;
  cursor: pointer;
}

.auth-submit {
  width: 100%;
  min-height: 44px;
  border: 0;
  border-radius: 6px;
  background: #ffaf13;
  color: #12120f;
  font: inherit;
  font-size: 14px;
  font-weight: 850;
  cursor: pointer;
  transition: filter .15s ease, transform .08s ease;
}

.auth-submit:hover:not(:disabled) { filter: brightness(1.06); }
.auth-submit:active:not(:disabled) { transform: translateY(1px); }
.auth-submit:disabled,
.auth-outline:disabled,
.auth-google-soon:disabled { cursor: not-allowed; opacity: .68; }

.auth-divider {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 28px 0 16px;
  color: #aebcff;
  font-size: 12px;
  text-align: center;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(158,180,255,.42);
}

.auth-google-soon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  min-height: 38px;
  border: 0;
  border-radius: 6px;
  background: #f7f8ff;
  color: #22306d;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
}

.auth-google-logo { display: block; flex: 0 0 18px; width: 18px; height: 18px; }
.auth-google:not(:disabled) { cursor: pointer; transition: filter .15s ease, transform .08s ease; }
.auth-google:not(:disabled):hover { filter: brightness(1.04); }
.auth-google:not(:disabled):active { transform: translateY(1px); }
.auth-social-list { display: grid; gap: 9px; }
.auth-social-list [hidden],
.auth-dashboard__contact-actions button[hidden] { display: none !important; }
.auth-social--facebook:not(:disabled) { background: #1877f2; color: #fff; }
.auth-social--telegram:not(:disabled) { background: #229ed9; color: #fff; }
.auth-social--facebook .auth-google-logo,
.auth-social--telegram .auth-google-logo { width: 20px; height: 20px; }
.auth-dashboard__security .auth-social-list { margin-top: 12px; }
.auth-dashboard__security .auth-social { min-height: 36px; border: 1px solid rgba(194,206,255,.25); }

.auth-switch {
  margin: 17px 0 0;
  color: #d0d9ff;
  font-size: 14px;
  text-align: center;
}

.auth-switch button,
.auth-check a {
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  font-weight: 800;
  text-decoration: underline;
  cursor: pointer;
}

.auth-bonus {
  min-height: 43px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: -1px 0 17px;
  padding: 5px 11px;
  border: 1px solid rgba(255,174,126,.75);
  border-radius: 6px;
  background: linear-gradient(180deg, #c66f54, #684373);
  color: #fff;
  font-size: 12px;
  line-height: 14px;
}

.auth-bonus strong { display: block; color: #ffe322; font-size: 13px; }
.auth-bonus__gift { font-size: 26px; }
.auth-tabs--register { margin-bottom: 14px; }
.auth-form--register .auth-field { min-height: 42px; }
.auth-form--register .auth-field input { height: 40px; }

.auth-check {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin: 1px 0 3px;
  color: #d8e0ff;
  font-size: 12px;
  line-height: 15px;
}

.auth-check input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: #e4ebff;
}

.auth-copy,
.auth-warning,
.auth-network-warning,
.auth-profile__notice {
  margin: 0 0 16px;
  color: #cdd7ff;
  font-size: 13px;
  line-height: 18px;
}

.auth-warning,
.auth-network-warning {
  padding: 9px 10px;
  border: 1px solid rgba(255,181,31,.6);
  border-radius: 5px;
  background: rgba(167,104,13,.18);
  color: #ffe3a1;
}

.auth-network-warning { margin-top: 13px; margin-bottom: 11px; }
.auth-text-button { margin: 17px auto 0; }

.auth-profile__name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #fff;
  font-size: 20px;
  font-weight: 850;
}

.auth-profile__state {
  margin: 5px 0 17px;
  color: #aabaff;
  font-size: 12px;
  text-transform: capitalize;
}

.auth-profile__item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 10px;
  margin-bottom: 11px;
  padding: 12px;
  border: 1px solid #5369be;
  border-radius: 6px;
  background: #263674;
}

.auth-profile__item > span { color: #aebcff; font-size: 12px; }
.auth-profile__item > strong {
  grid-column: 1 / -1;
  overflow: hidden;
  color: #fff;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.auth-profile__item > em { color: #a9f0bd; font-size: 11px; font-style: normal; }

.auth-profile__controls {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
  gap: 7px;
}

.auth-outline {
  justify-self: end;
  padding: 4px 8px;
  border: 1px solid #9aabf7;
  border-radius: 4px;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 11px;
  font-weight: 750;
  cursor: pointer;
}

.auth-outline--full {
  width: 100%;
  min-height: 36px;
  margin-top: 5px;
  font-size: 12px;
}

.auth-audit-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.auth-audit-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 10px;
  border: 1px solid #5369be;
  border-radius: 6px;
  background: #263674;
}

.auth-audit-list strong { color: #fff; font-size: 12px; }
.auth-audit-list time { color: #b9c5ff; font-size: 10px; text-align: right; }
.auth-audit-list li > div { display: grid; min-width: 0; gap: 3px; }
.auth-audit-list li .auth-text-button { flex: 0 0 auto; margin: 0; }
.auth-audit-list .auth-audit-list__empty { display: block; color: #cdd7ff; font-size: 12px; text-align: center; }

.auth-admin-review { display: grid; gap: 12px; }
.auth-admin-review__header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.auth-admin-review__header h3 { margin: 0; color: #fff; font-size: 16px; }
.auth-admin-review__header button,
.auth-admin-review__actions button { border: 1px solid rgba(55, 203, 128, .45); border-radius: 8px; background: #18352a; color: #dfffee; padding: 7px 10px; cursor: pointer; }
.auth-admin-review__header button:disabled,
.auth-admin-review__actions button:disabled { cursor: not-allowed; opacity: .55; }
.auth-admin-review__case { display: grid; gap: 6px; padding: 11px; border: 1px solid rgba(55, 203, 128, .25); border-radius: 10px; background: rgba(12, 31, 25, .72); }
.auth-admin-review__case > strong { color: #fff; font-size: 13px; }
.auth-admin-review__case > span,
.auth-admin-review__case > code,
.auth-admin-review__actions em,
.auth-admin-review__empty { color: #b9cfc2; font-size: 11px; overflow-wrap: anywhere; }
.auth-admin-review__actions { display: flex; align-items: center; gap: 8px; margin-top: 3px; }
.auth-admin-block { margin-top: 18px; border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 14px; }
.auth-admin-block summary { color: #dfe8e2; cursor: pointer; font-weight: 700; }

.auth-submit--withdraw { margin-top: 4px; }
.auth-profile__notice { margin: 10px 0 0; font-size: 11px; }
.auth-status-flow { color: #bbc7ff; font-size: 11px; line-height: 17px; text-align: center; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 760px) {
  .topbar__actions { min-width: 0; }
  .topbar__user { max-width: 130px; padding: 0 8px; }
  .btn--logout { min-width: 0; padding: 0 9px; }
  .auth-modal__backdrop {
    padding: 0;
    place-items: stretch;
    background: #111c61;
    backdrop-filter: none;
  }
  .auth-dialog {
    width: 100%;
    max-height: 100dvh;
    min-height: 100dvh;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
  .auth-dialog__body { padding: 16px 17px 20px; }
}

/* Neon Royal account surface: dark panels, green actions, and gold focus accents.
   These rules are scoped to account UI and do not alter game pages or their layout. */
.topbar__account {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}

.topbar__identity {
  min-width: 0;
  height: 32px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 8px 0 4px;
  border: 1px solid rgba(246, 185, 28, .32);
  border-radius: 6px;
  background: #111a25;
  color: #f7f7f1;
  font: inherit;
  cursor: pointer;
}

.topbar__identity:hover { border-color: rgba(246, 185, 28, .7); }

.topbar__avatar,
.auth-profile__avatar {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(246, 185, 28, .85);
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, #2ed688, #127243);
  color: #fff9dc;
  font-weight: 900;
  text-transform: uppercase;
  box-shadow: 0 0 0 2px rgba(14, 23, 34, .8), 0 0 16px rgba(32, 202, 122, .23);
}

.topbar__avatar { width: 25px; height: 25px; font-size: 12px; }
.topbar__name { max-width: 118px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; font-weight: 800; }

.topbar__balance {
  height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 0 9px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 6px;
  background: #0d141d;
  color: #f8d36a;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.topbar__profile-action,
.topbar__deposit-soon,
.btn--logout { min-width: auto; padding: 0 10px; }

.topbar__deposit-soon {
  border: 1px solid rgba(246, 185, 28, .65);
  border-radius: 6px;
  background: rgba(246, 185, 28, .15);
  color: #f8d36a;
  font-weight: 850;
  white-space: nowrap;
}

.topbar__deposit-soon:disabled { opacity: .72; }
.topbar__guest-action { white-space: nowrap; }

.auth-modal__backdrop { background: rgba(2, 9, 14, .78); }
.auth-dialog {
  border-color: rgba(246, 185, 28, .45);
  background: #101820;
  color: #f7f7f1;
  box-shadow: 0 26px 70px rgba(0, 0, 0, .72), 0 0 40px rgba(25, 187, 108, .08);
}
.auth-dialog__header { background: linear-gradient(100deg, #17252d, #111d24); border-bottom-color: rgba(246, 185, 28, .2); }
.auth-close { color: #d9b95e; }
.auth-close:hover { color: #fff3c6; }
.auth-dialog__body { scrollbar-color: #279b64 transparent; }

.auth-tabs { border-bottom-color: rgba(246, 185, 28, .4); }
.auth-tab { color: #b7c7bd; }
.auth-tab.is-active { color: #f8c54c; }
.auth-tab.is-active::after { background: #f6b91c; }
.auth-field { border-color: #365548; background: #17242a; }
.auth-field:focus-within { border-color: #f6b91c; box-shadow: 0 0 0 2px rgba(246, 185, 28, .16); }
.auth-field__icon { color: #5ee09d; }
.auth-password-visibility { color: #7ddba7; }
.auth-field input::placeholder { color: #c4d3ca; }
.auth-field select option { background: #17242a; }
.auth-submit { background: linear-gradient(135deg, #1cad65, #38d586); color: #06130b; }
.auth-divider { color: #abc0b2; }
.auth-divider::before, .auth-divider::after { background: rgba(104, 171, 127, .45); }
.auth-google-soon { background: #ecefe9; color: #15221b; }
.auth-switch, .auth-copy, .auth-profile__notice { color: #c8d7ce; }
.auth-switch button, .auth-check a { color: #f8d36a; }
.auth-bonus { border-color: rgba(246, 185, 28, .7); background: linear-gradient(180deg, #334432, #1b2a28); }
.auth-bonus strong { color: #ffd360; }
.auth-check { color: #d6e4da; }
.auth-check input { accent-color: #2cc879; }
.auth-warning, .auth-network-warning { border-color: rgba(246, 185, 28, .6); background: rgba(132, 92, 15, .24); color: #ffe4a6; }

.auth-dialog--profile { width: min(100%, 510px); }
.auth-profile__hero {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 1px 0 18px;
  padding: 12px;
  border: 1px solid rgba(55, 203, 128, .34);
  border-radius: 9px;
  background: linear-gradient(135deg, rgba(36, 112, 73, .28), rgba(22, 35, 38, .72));
}
.auth-profile__avatar { width: 54px; height: 54px; font-size: 23px; }
.auth-profile__identity { min-width: 0; }
.auth-profile__name { color: #fff9e8; font-size: 20px; }
.auth-profile__state { margin: 4px 0 0; color: #9dcbb0; text-transform: none; }
.auth-profile__item {
  display: block;
  margin-bottom: 10px;
  padding: 12px;
  border-color: rgba(55, 203, 128, .32);
  border-radius: 8px;
  background: #17242a;
}
.auth-profile__item-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.auth-profile__item > span, .auth-profile__item-head > span { color: #a9c5b5; font-size: 12px; }
.auth-profile__item > strong { display: block; margin-top: 5px; color: #fff; }
.auth-profile__item > em, .auth-profile__item-head > em { color: #70e1a2; font-size: 11px; font-style: normal; white-space: nowrap; }
.auth-profile__controls { display: flex; justify-content: flex-end; gap: 7px; margin-top: 10px; }
.auth-outline { border-color: rgba(246, 185, 28, .68); color: #ffe19a; }
.auth-outline:hover:not(:disabled) { background: rgba(246, 185, 28, .12); }
.auth-profile__actions { display: grid; gap: 7px; margin-top: 13px; }
.auth-outline--full { margin-top: 0; min-height: 38px; }
.auth-google-soon--profile { margin-top: 15px; }
.auth-profile__legal { display: flex; justify-content: center; gap: 8px; margin: 13px 0; color: #a9c5b5; font-size: 12px; }
.auth-profile__legal a { color: #f8d36a; text-decoration: underline; }
.auth-submit--logout { margin-top: 0; background: transparent; border: 1px solid rgba(246, 185, 28, .62); color: #ffe19a; }
.auth-submit--logout:hover:not(:disabled) { background: rgba(246, 185, 28, .12); }
.auth-audit-list li { border-color: rgba(55, 203, 128, .32); background: #17242a; }
.auth-audit-list time { color: #a9c5b5; }

@media (max-width: 1180px) {
  .topbar__account { gap: 5px; }
  .topbar__name { max-width: 80px; }
  .topbar__profile-action, .topbar__deposit-soon, .btn--logout { padding: 0 8px; font-size: 11px; }
  .topbar__balance { padding: 0 7px; font-size: 11px; }
}

@media (max-width: 760px) {
  .topbar__actions { width: 100%; margin-left: 0; }
  .topbar__account {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 6px;
  }
  .topbar__identity { min-width: 0; }
  .topbar__name { max-width: none; }
  .topbar__balance { justify-content: center; }
  .topbar__profile-action { display: none; }
  .topbar__deposit-soon { grid-column: 1 / -1; width: 100%; }
  .btn--logout { min-width: 0; }
  .auth-modal__backdrop { background: #101820; }
  .auth-dialog__header { background: #17252d; }
}

@media (max-width: 420px) {
  .topbar__account { grid-template-columns: minmax(0, 1fr) auto; }
  .topbar__balance { grid-column: 1 / -1; grid-row: 2; }
  .btn--logout { grid-column: 2; grid-row: 1; }
  .auth-profile__controls { align-items: stretch; flex-direction: column; }
  .auth-outline { width: 100%; }
}

/* Authenticated casino header — follows the supplied desktop reference while
   preserving the original guest header and every game component. */
.topbar--authenticated .topbar__logo-row {
  height: 44px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 29px;
  background: #02043d;
}

.topbar--authenticated .brand--center { justify-content: flex-start; }
.topbar--authenticated .brand__logo { width: 144px; height: 26px; }
.topbar--authenticated .topbar__session-bar { min-width: 0; margin-left: auto; }
.topbar--authenticated .topbar__session-items {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 11px;
  color: #fff;
}

.topbar--authenticated .topbar__lang {
  position: static;
  flex: 0 0 auto;
  height: 28px;
  min-width: 37px;
  margin-left: 1px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 4px;
  background: #16205e;
  color: #fff;
  font-size: 12px;
}

.topbar__wallet-control,
.topbar__icon-control,
.topbar__olymp-avatar {
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  cursor: pointer;
}

.topbar__wallet-control {
  gap: 6px;
  padding: 0;
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
}

.topbar__wallet-control:hover { color: #ffca48; }
.topbar__wallet-icon { color: #e8edff; font-size: 17px; }
.topbar__wallet-chevron { color: #cbd2ef; font-size: 15px; transform: translateY(-1px); }

.topbar__icon-control {
  width: 30px;
  border-radius: 4px;
  background: #16205e;
  font-size: 18px;
  opacity: 1;
}

.topbar__icon-control:disabled { cursor: default; opacity: 1; }

.topbar__olymp-avatar {
  width: 30px;
  padding: 0;
  border-radius: 4px;
  background: #16205e;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
}

.topbar__olymp-avatar:hover { background: #24327d; }

.topbar--authenticated .topbar__nav-row {
  height: 63px;
  background: #17206a;
}

.topbar--authenticated .topbar__inner {
  width: 100%;
  max-width: none;
  height: 63px;
  margin: 0;
  padding: 0 29px;
  gap: 25px;
}

.topbar--authenticated .topnav {
  height: 63px;
  gap: 24px;
}

.topbar--authenticated .topnav__link {
  font-size: 16px;
  line-height: 63px;
}

.topbar--authenticated .topbar__promo-links {
  gap: 25px;
  padding-left: 24px;
}

.topbar--authenticated .topbar__promo-link { font-size: 16px; }
.topbar--authenticated .topbar__actions { display: flex; align-items: center; margin-left: 4px; }

.topbar__cash-desk {
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-width: 176px;
  padding: 0 18px;
  border: 0;
  border-radius: 9px;
  background: #f7ad12;
  color: #171204;
  font: inherit;
  font-size: 16px;
  font-weight: 900;
  cursor: default;
  opacity: 1;
}

.topbar__cash-desk:disabled { opacity: 1; }
.topbar__cash-desk-icon { font-size: 20px; line-height: 1; }

/* Desktop geometry matched to the supplied 1798px-wide reference: 30px page
   gutters, a 250px hero, 94px category tiles, and six 3:2 game cards. */
@media (min-width: 1181px) {
  .topbar--authenticated + .page {
    width: calc(100vw - 60px);
    max-width: none;
    padding: 0 0 52px;
  }

  .topbar--authenticated + .page > .hero { height: 250px; }
  .topbar--authenticated + .page .slide { padding: 0 40px; }
  .topbar--authenticated + .page .slide__tag { display: none; }
  .topbar--authenticated + .page .slide__title { font-size: 36px; }
  .topbar--authenticated + .page .slide__sub { margin-bottom: 92px; font-size: 18px; }
  .topbar--authenticated + .page .slide .btn { min-width: 91px; height: 51px; font-size: 20px; }

  .topbar--authenticated + .page .cats { margin: 45px 0 29px; }
  .topbar--authenticated + .page .cat { min-height: 94px; gap: 10px; padding: 12px 8px; }
  .topbar--authenticated + .page .cat__img { width: 35px; height: 35px; }
  .topbar--authenticated + .page .cat__label { font-size: 16px; line-height: 19px; }

  .topbar--authenticated + .page .row { padding: 28px 30px 16px; }
  .topbar--authenticated + .page .row__head { margin-bottom: 28px; }
  .topbar--authenticated + .page .row__title { font-size: 24px; }
  .topbar--authenticated + .page .row__all { font-size: 16px; }
  .topbar--authenticated + .page .scroller { gap: 14px 10px; }
  .topbar--authenticated + .page .card__label { margin-top: 10px; font-size: 16px; line-height: 19px; }
}

@media (max-width: 1350px) {
  .topbar--authenticated .topnav { gap: 15px; }
  .topbar--authenticated .topnav__link { font-size: 14px; }
  .topbar--authenticated .topbar__promo-links { gap: 15px; padding-left: 15px; }
  .topbar--authenticated .topbar__promo-link { font-size: 14px; }
  .topbar__cash-desk { min-width: 148px; font-size: 14px; }
}

@media (max-width: 1050px) {
  .topbar--authenticated .topbar__promo-links { display: none; }
}

@media (max-width: 760px) {
  .topbar--authenticated .topbar__logo-row {
    height: 48px;
    gap: 8px;
    padding: 0 12px;
  }
  .topbar--authenticated .brand__logo { width: 111px; height: 22px; }
  .topbar--authenticated .topbar__session-items { gap: 6px; }
  .topbar--authenticated .topbar__wallet-label { font-size: 0; }
  .topbar--authenticated .topbar__wallet-label::after { content: "0 ₸"; font-size: 12px; }
  .topbar--authenticated .topbar__nav-row { height: auto; }
  .topbar--authenticated .topbar__inner {
    height: auto;
    padding: 0 12px 8px;
    gap: 8px;
  }
  .topbar--authenticated .topnav {
    width: 100%;
    height: 40px;
    gap: 14px;
    order: 1;
  }
  .topbar--authenticated .topnav__link { font-size: 13px; line-height: 40px; }
  .topbar--authenticated .topbar__actions { width: auto; margin-left: auto; }
  .topbar__cash-desk { min-width: 136px; height: 36px; border-radius: 6px; font-size: 13px; }
}

/* ===== Authenticated home: desktop reference composition =====
   These rules intentionally apply only after a server-backed session has
   been restored.  The guest header, account modals and game routes retain
   their existing responsive styles. */
.topbar--authenticated .topbar__logo-row {
  height: 54px;
  padding-inline: max(30px, calc((100vw - 1750px) / 2));
  border-bottom-color: rgba(255, 255, 255, .06);
}

.topbar--authenticated .topbar__session-items {
  gap: 12px;
  font-size: 14px;
}

.topbar__path-pill {
  min-width: 272px;
  height: 31px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 12px;
  border-radius: 16px;
  background: #171a59;
  color: #fff;
  font-size: 14px;
  font-weight: 850;
  line-height: 1;
  white-space: nowrap;
}

.topbar__path-coin {
  color: #ffd042;
  font-size: 17px;
  line-height: 1;
  text-shadow: 0 0 8px rgba(255, 195, 42, .34);
}

.topbar__path-time {
  color: #aeb6de;
  font-size: 13px;
}

.topbar__cashback {
  min-width: 130px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #fff;
  font-size: 14px;
  font-weight: 850;
  white-space: nowrap;
}

.topbar__cashback-icon {
  color: #e9efff;
  font-size: 17px;
  font-weight: 900;
}

.topbar__session-separator {
  width: 1px;
  height: 22px;
  margin: 0 2px;
  background: rgba(255, 255, 255, .2);
}

.topbar--authenticated .topbar__wallet-control {
  min-width: 121px;
  gap: 6px;
  font-size: 14px;
}

.topbar--authenticated .topbar__wallet-icon { font-size: 18px; }
.topbar--authenticated .topbar__wallet-chevron { font-size: 17px; }

.topbar--authenticated .topbar__icon-control,
.topbar--authenticated .topbar__olymp-avatar {
  width: 31px;
  height: 31px;
  border-radius: 4px;
  background: #171d59;
}

.topbar--authenticated .topbar__icon-control {
  position: relative;
  font-size: 0;
}

.topbar--authenticated .topbar__icon-control::before {
  content: "";
  width: 11px;
  height: 12px;
  position: absolute;
  top: 8px;
  left: 10px;
  border-radius: 6px 6px 3px 3px;
  background: #edf0ff;
  box-shadow: 0 10px 0 -4px #edf0ff;
}

.topbar--authenticated .topbar__icon-control::after {
  content: "";
  width: 15px;
  height: 2px;
  position: absolute;
  left: 8px;
  top: 20px;
  border-radius: 2px;
  background: #edf0ff;
}

.topbar--authenticated .topbar__nav-row {
  height: 63px;
  background: #18216a;
}

.topbar--authenticated .topbar__inner {
  width: min(calc(100vw - 60px), 1750px);
  max-width: 1750px;
  height: 63px;
  margin: 0 auto;
  padding: 0;
  gap: 24px;
}

.topbar--authenticated .topnav {
  height: 63px;
  gap: 22px;
}

.topbar--authenticated .topnav__link {
  font-size: 17px;
  line-height: 63px;
}

.topbar--authenticated .topbar__promo-links {
  height: 33px;
  gap: 0;
  padding-left: 0;
  border-left: 0;
}

.topbar--authenticated .topbar__promo-link {
  height: 33px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 24px;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
}

.topbar--authenticated .topbar__promo-link::before {
  color: #b6b8f4;
  font-size: 25px;
  line-height: 1;
}

.topbar--authenticated .topbar__promo-link:first-child::before { content: "✽"; }
.topbar--authenticated .topbar__promo-link:last-child {
  border-left: 1px solid rgba(255, 255, 255, .22);
}
.topbar--authenticated .topbar__promo-link:last-child::before { content: "♜"; }

.topbar--authenticated .topbar__actions { margin-left: 0; }

.topbar--authenticated .topbar__cash-desk {
  min-width: 174px;
  height: 48px;
  border-radius: 9px;
  background: #f6ad13;
  font-size: 18px;
}

.topbar--authenticated + .page {
  width: min(calc(100vw - 60px), 1750px);
  max-width: 1750px;
  padding: 30px 0 56px;
}

.topbar--authenticated + .page > .hero {
  height: 344px;
  overflow: visible;
  border-radius: 17px;
  background: #102c7d;
}

.topbar--authenticated + .page .hero__track {
  overflow: hidden;
  border-radius: inherit;
}

.topbar--authenticated + .page .slide {
  align-items: flex-start;
  padding: 0 39px;
  background: linear-gradient(90deg, #1a3d9c 0%, #153b95 49%, #0a286e 100%) !important;
}

.topbar--authenticated + .page .slide::before {
  background:
    linear-gradient(90deg, rgba(8, 20, 73, .24) 0%, rgba(8, 20, 73, .12) 31%, rgba(8, 20, 73, .08) 48%, rgba(8, 20, 73, 0) 72%),
    linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, 0));
}

.topbar--authenticated + .page .slide__glow { display: none; }

.topbar--authenticated + .page .slide__content {
  max-width: 42%;
  padding-top: 11px;
}

.topbar--authenticated + .page .slide__tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 80px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 14px;
  font-weight: 850;
  letter-spacing: 0;
}

.topbar--authenticated + .page .slide__tag span {
  margin-left: 0;
  padding: 4px 8px;
  border-radius: 11px;
  background: rgba(13, 30, 91, .78);
  color: #fff;
  font-size: 12px;
  font-weight: 850;
  opacity: 1;
}

.topbar--authenticated + .page .slide__title {
  margin-bottom: 4px;
  font-size: 36px;
  font-weight: 850;
  line-height: 1.05;
}

.topbar--authenticated + .page .slide__sub {
  margin-bottom: 93px;
  color: #f0f3ff;
  font-size: 18px;
  line-height: 22px;
  opacity: .92;
}

.topbar--authenticated + .page .slide .btn {
  min-width: 178px;
  height: 51px;
  border-radius: 10px;
  background: #f6ad13;
  color: #181100;
  font-size: 20px;
  font-weight: 850;
}

.topbar--authenticated + .page .hero__dots {
  bottom: -30px;
  gap: 14px;
}

.topbar--authenticated + .page .dot,
.topbar--authenticated + .page .dot.is-active {
  width: 10px;
  height: 10px;
  border: 1px solid rgba(255, 255, 255, .6);
  border-radius: 50%;
  background: transparent;
}

.topbar--authenticated + .page .dot.is-active {
  border-color: #f6ad13;
  background: #f6ad13;
  box-shadow: 0 0 0 2px rgba(246, 173, 19, .18);
}

/* CSS-only loyalty backdrop: it keeps the hero responsive without a large
   raster banner and intentionally remains behind the live carousel copy. */
.topbar--authenticated + .page .slide__loyalty-scene {
  position: absolute;
  z-index: 1;
  inset: 0 0 0 41%;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(ellipse 56% 68% at 68% 42%, rgba(255, 209, 62, .22), transparent 66%),
    linear-gradient(90deg, rgba(11, 34, 103, 0), rgba(8, 31, 92, .16));
}

.topbar--authenticated + .page .slide__loyalty-scene::before {
  content: "";
  position: absolute;
  right: -5%;
  bottom: -26%;
  width: 77%;
  height: 76%;
  border: 9px solid rgba(255, 245, 221, .88);
  border-bottom-width: 17px;
  border-radius: 50% 50% 0 0 / 42% 42% 0 0;
  background:
    repeating-linear-gradient(90deg, rgba(218, 199, 150, .95) 0 3%, transparent 3% 6%),
    linear-gradient(180deg, rgba(255, 252, 239, .96), rgba(192, 181, 148, .94));
  box-shadow: 0 -12px 0 rgba(31, 39, 85, .65), 0 0 34px rgba(255, 203, 57, .46);
}

.topbar--authenticated + .page .loyalty-stadium {
  position: absolute;
  right: 6%;
  bottom: 5%;
  width: 56%;
  height: 25%;
  border-radius: 50% 50% 0 0;
  background:
    repeating-linear-gradient(90deg, rgba(255, 233, 176, .75) 0 2%, transparent 2% 5%),
    linear-gradient(180deg, #a68c61, #4d576d);
  box-shadow: 0 -4px 18px rgba(255, 228, 133, .4);
}

.topbar--authenticated + .page .loyalty-ball {
  position: absolute;
  z-index: 2;
  top: 13%;
  left: 43%;
  width: 178px;
  height: 178px;
  border: 5px solid #f9f9ed;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 44%, #0a568e 0 7%, transparent 7.5%),
    conic-gradient(from 18deg, #f8f8ed 0 9%, #d3382e 9% 19%, #f8f8ed 19% 31%, #0c9c89 31% 42%, #f8f8ed 42% 56%, #1674a7 56% 69%, #f8f8ed 69% 82%, #d3382e 82% 91%, #f8f8ed 91% 100%);
  box-shadow: -10px 14px 24px rgba(0, 0, 0, .34), inset 12px 9px 19px rgba(255, 255, 255, .42);
  transform: rotate(-18deg);
}

.topbar--authenticated + .page .loyalty-flag {
  position: absolute;
  z-index: 1;
  bottom: 33%;
  width: 18px;
  height: 52%;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(90deg, #b92932 0 24%, #e8d146 24% 46%, #2f8c5c 46% 68%, #b52d38 68%);
  box-shadow: 0 0 0 2px rgba(238, 208, 100, .35), 0 10px 18px rgba(0, 0, 0, .28);
}

.topbar--authenticated + .page .loyalty-flag::after {
  content: "";
  position: absolute;
  left: -10px;
  bottom: 0;
  width: 38px;
  height: 5px;
  border-radius: 5px;
  background: #d6b24f;
}

.topbar--authenticated + .page .loyalty-flag--one { left: 18%; height: 62%; }
.topbar--authenticated + .page .loyalty-flag--two { left: 33%; height: 76%; opacity: .86; }
.topbar--authenticated + .page .loyalty-flag--three { right: 22%; height: 70%; opacity: .84; }

.topbar--authenticated + .page .loyalty-coin {
  position: absolute;
  z-index: 2;
  width: 72px;
  height: 72px;
  border: 5px solid #7c590d;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 28%, #fff7b8 0 7%, #efc64d 23%, #bd8511 67%, #68400a 100%);
  box-shadow: 0 10px 15px rgba(0, 0, 0, .3), inset 0 0 0 7px rgba(255, 249, 180, .45);
}

.topbar--authenticated + .page .loyalty-coin--one { right: 4%; bottom: 10%; transform: rotate(20deg); }
.topbar--authenticated + .page .loyalty-coin--two { left: 2%; bottom: 23%; width: 49px; height: 49px; transform: rotate(-28deg); }

.topbar--authenticated + .page .cats {
  grid-template-columns: repeat(4, 138px) repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin: 44px 0 30px;
  padding: 0;
  background: transparent;
}

.topbar--authenticated + .page .cat {
  min-height: 93px;
  gap: 10px;
  padding: 13px 8px 11px;
  border: 1px solid rgba(255, 255, 255, .055);
  border-radius: 10px;
  background: #172160;
}

.topbar--authenticated + .page .cat:nth-child(-n + 4) {
  background: #2b2e60;
}

.topbar--authenticated + .page .cat:hover {
  background: #26327b;
  transform: none;
}

.topbar--authenticated + .page .cat.is-active {
  border-color: rgba(246, 173, 19, .85);
  background: #20204e;
  box-shadow: inset 0 0 0 1px rgba(246, 173, 19, .24);
}

.topbar--authenticated + .page .cat__img {
  width: 35px;
  height: 35px;
}

.topbar--authenticated + .page .cat__label {
  font-size: 16px;
  line-height: 19px;
  font-weight: 750;
}

.topbar--authenticated + .page .row {
  margin-top: 26px;
  padding: 27px 30px 22px;
  border: 0;
  border-radius: 0;
  background: #090d4b;
  box-shadow: none;
}

.topbar--authenticated + .page #rows .row:first-child { margin-top: 0; }

.topbar--authenticated + .page .row::before {
  background:
    linear-gradient(90deg, rgba(16, 25, 93, .9) 0%, rgba(12, 18, 75, .7) 58%, rgba(8, 13, 65, .26) 100%),
    linear-gradient(180deg, rgba(28, 40, 122, .45), rgba(6, 8, 48, .18) 100%);
  -webkit-mask-image: none;
  mask-image: none;
}

.topbar--authenticated + .page .row__head {
  margin-bottom: 27px;
  padding-left: 0;
}

.topbar--authenticated + .page .row__title { font-size: 24px; }
.topbar--authenticated + .page .row__all { font-size: 16px; }
.topbar--authenticated + .page .row__nav { width: 29px; height: 29px; }

.topbar--authenticated + .page .scroller {
  grid-auto-flow: column;
  grid-template-columns: none;
  grid-auto-columns: 270px;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 0;
}

.topbar--authenticated + .page .card__label {
  margin-top: 10px;
  font-size: 16px;
  line-height: 19px;
}

@media (max-width: 1400px) {
  .topbar--authenticated .topbar__logo-row { padding-inline: 24px; }
  .topbar--authenticated .topbar__inner,
  .topbar--authenticated + .page { width: calc(100vw - 48px); }
  .topbar--authenticated .topnav { gap: 16px; }
  .topbar--authenticated .topnav__link { font-size: 15px; }
  .topbar--authenticated .topbar__promo-link { padding-inline: 15px; font-size: 15px; }
  .topbar--authenticated .topbar__path-pill { min-width: 0; }
  .topbar--authenticated .topbar__cashback { min-width: 0; }
  .topbar--authenticated .topbar__wallet-control { min-width: 0; }
  .topbar--authenticated .topbar__path-label { display: none; }
  .topbar--authenticated + .page .cats { grid-template-columns: repeat(4, 128px) repeat(5, minmax(0, 1fr)); }
}

@media (max-width: 1100px) {
  .topbar--authenticated .topbar__path-pill,
  .topbar--authenticated .topbar__cashback,
  .topbar--authenticated .topbar__session-separator { display: none; }
  .topbar--authenticated + .page .cats { grid-template-columns: repeat(3, 1fr); }
  .topbar--authenticated + .page .cat:nth-child(-n + 4) { background: #2b2e60; }
  .topbar--authenticated + .page .scroller { grid-auto-columns: calc((100% - 30px) / 4); }
}

/* Final signed-in shell.  It intentionally uses the exact guest-page width
   so logging in never changes the page geometry. */
.language-switcher {
  position: absolute;
  top: 8px;
  right: max(20px, calc((100vw - var(--maxw)) / 2));
  z-index: 20;
}

.topbar__lang {
  position: static;
  min-width: 36px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 0 7px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 4px;
  background: #111858;
  color: #fff;
  font: inherit;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
}

.topbar__lang:hover,
.topbar__lang[aria-expanded="true"] { border-color: rgba(246,173,24,.72); color: #ffcf5a; }
.topbar__lang-chevron { margin-top: -2px; font-size: 13px; line-height: 1; }

.topbar__language-menu {
  position: absolute;
  top: calc(100% + 7px);
  right: 0;
  min-width: 130px;
  display: grid;
  gap: 2px;
  padding: 6px;
  border: 1px solid rgba(157,181,255,.34);
  border-radius: 7px;
  background: #101756;
  box-shadow: 0 15px 34px rgba(0,0,0,.38);
}

.topbar__language-menu[hidden] { display: none; }
.topbar__language-menu button {
  min-height: 31px;
  padding: 0 10px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #eef1ff;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}
.topbar__language-menu button:hover { background: rgba(255,255,255,.09); color: #ffcf5a; }

.topbar--authenticated .topbar__logo-row {
  position: relative;
  display: grid;
  height: 36px;
  padding: 0;
  background: #02043d;
}
.topbar--authenticated .brand--center { justify-content: center; }
.topbar--authenticated .brand__logo { width: 142px; height: 25px; }
.topbar--authenticated .topbar__session-bar {
  position: absolute;
  top: 3px;
  right: max(68px, calc((100vw - var(--maxw)) / 2 + 53px));
  min-width: 0;
  margin: 0;
}
.topbar--authenticated .topbar__session-items {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.topbar__profile-control,
.topbar__wallet-control,
.topbar__logout-control {
  min-width: 0;
  height: 28px;
  display: inline-flex;
  align-items: center;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #eef1ff;
  font: inherit;
  cursor: pointer;
}
.topbar__profile-control { gap: 6px; padding: 0 3px 0 0; }
.topbar__profile-control:hover .topbar__profile-name { color: #ffcf5a; }
.topbar__olymp-avatar {
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  border-radius: 50%;
  background: linear-gradient(145deg, #28b86b, #0d7442);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.22);
}
.topbar__profile-name {
  max-width: 112px;
  overflow: hidden;
  color: #fff;
  font-size: 11px;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.topbar__wallet-control {
  gap: 5px;
  padding: 0 7px;
  border: 1px solid rgba(255,255,255,.11);
  background: #101756;
  font-size: 11px;
  font-weight: 850;
  white-space: nowrap;
}
.topbar__wallet-control:hover { border-color: rgba(246,173,24,.55); color: #ffcf5a; }
.topbar__wallet-icon {
  width: 15px;
  height: 15px;
  display: inline-block;
  background: currentColor;
  -webkit-mask: url("../icons/category/user-balance.svg") center / contain no-repeat;
  mask: url("../icons/category/user-balance.svg") center / contain no-repeat;
}
.topbar__logout-control { padding: 0 6px; color: #bfc9ff; font-size: 11px; font-weight: 800; }
.topbar__logout-control:hover { color: #fff; }

.topbar--authenticated .topbar__nav-row { height: 40px; background: #17206a; }
.topbar--authenticated .topbar__inner {
  width: min(var(--maxw), calc(100vw - 32px));
  max-width: var(--maxw);
  height: 40px;
  margin: 0 auto;
  padding: 0;
  gap: 16px;
}
.topbar--authenticated .topnav { height: 40px; gap: 14px; }
.topbar--authenticated .topnav__link { font-size: 12px; line-height: 40px; }
.topbar--authenticated .topbar__actions { display: flex; align-items: center; margin-left: auto; }

.topbar__cash-desk {
  min-width: 126px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 12px;
  border: 1px solid rgba(255, 210, 88, .78);
  border-radius: 6px;
  background: linear-gradient(180deg, #ffbd20, #f3a90b);
  color: #15150f;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .01em;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 5px 11px rgba(0,0,0,.16);
  cursor: pointer;
}
.topbar__cash-desk:hover { filter: brightness(1.055); transform: translateY(-1px); }
.topbar__cash-desk-icon {
  width: 18px;
  height: 18px;
  display: inline-block;
  flex: 0 0 auto;
  background: #15150f;
  -webkit-mask: url("../icons/category/user-balance.svg") center / contain no-repeat;
  mask: url("../icons/category/user-balance.svg") center / contain no-repeat;
}

/* A small CSS wallet keeps the cash-desk symbol crisp at every scale and
   avoids substituting a currency glyph for a wallet. */
.topbar__wallet-icon,
.topbar__cash-desk-icon,
.auth-dashboard__balance-icon--wallet {
  position: relative;
  display: inline-block;
  background: transparent !important;
  -webkit-mask: none !important;
  mask: none !important;
  border: 2px solid currentColor;
  border-radius: 3px;
  color: currentColor;
}
.topbar__wallet-icon::before,
.topbar__cash-desk-icon::before,
.auth-dashboard__balance-icon--wallet::before {
  content: "";
  position: absolute;
  top: 4px;
  right: -4px;
  width: 7px;
  height: 7px;
  border: 2px solid currentColor;
  border-radius: 2px;
  background: inherit;
}
.topbar__wallet-icon::after,
.topbar__cash-desk-icon::after,
.auth-dashboard__balance-icon--wallet::after {
  content: "";
  position: absolute;
  top: 7px;
  right: 0;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: currentColor;
}
.topbar__wallet-icon { color: #eaf0ff; }
.topbar__cash-desk-icon { color: #15150f; }
.auth-dashboard__balance-icon--wallet { color: #fff; }

.topbar--authenticated + .page {
  width: min(var(--maxw), calc(100vw - 32px));
  max-width: var(--maxw);
  padding: 20px 0 52px;
}
.topbar--authenticated + .page > .hero { height: 228px; border-radius: 8px; }
.topbar--authenticated + .page .slide { height: 228px; padding: 0 26px; }
.topbar--authenticated + .page .slide__content { max-width: 48%; padding-top: 0; }
.topbar--authenticated + .page .slide__title { font-size: 28px; }
.topbar--authenticated + .page .slide__sub { margin-bottom: 18px; font-size: 14px; }
.topbar--authenticated + .page .slide .btn { min-width: 110px; height: 36px; font-size: 13px; }
.topbar--authenticated + .page .cats {
  grid-template-columns: repeat(9, 1fr);
  margin: 18px 0 8px;
  padding: 10px;
}
.topbar--authenticated + .page .cat { min-height: 62px; padding: 8px; }
.topbar--authenticated + .page .cat__img { width: 24px; height: 24px; }
.topbar--authenticated + .page .cat__label { font-size: 11px; }
.topbar--authenticated + .page .row { margin-top: 22px; padding: 22px 20px 18px; border-radius: 8px; }
.topbar--authenticated + .page .row__head { margin-bottom: 16px; }
.topbar--authenticated + .page .row__title { font-size: 18px; }
.topbar--authenticated + .page .scroller { grid-auto-columns: calc((100% - 36px) / 4); gap: 12px; }
.topbar--authenticated + .page .row--hot .scroller { grid-template-rows: repeat(2, auto); grid-auto-flow: column; }
.topbar--authenticated + .page .card__label { margin-top: 7px; font-size: 12px; line-height: 15px; }

/* Account screen: visual reference only. Every financial control is disabled
   or reports test-mode status; it cannot create a balance or transaction. */
.auth-modal__backdrop--dashboard {
  display: block;
  padding: 0;
  overflow: auto;
  background: #030633;
  backdrop-filter: none;
}
.auth-dashboard {
  width: 100%;
  min-height: 100dvh;
  color: #f4f6ff;
  background: radial-gradient(70% 58% at 50% 100%, rgba(12, 36, 100, .32), transparent 70%), #030633;
}
.auth-dashboard button { font-family: inherit; }
.auth-dashboard__header {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px clamp(22px, 3vw, 48px);
  border-bottom: 1px solid rgba(153,171,255,.11);
}
.auth-dashboard__identity { display: flex; align-items: center; min-width: 0; gap: 14px; }
.auth-dashboard__avatar {
  width: 58px;
  height: 58px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border: 2px solid rgba(255,255,255,.19);
  border-radius: 50%;
  background: linear-gradient(145deg, #22b86d, #0b6d3e);
  box-shadow: 0 7px 22px rgba(0,0,0,.26), inset 0 0 0 1px rgba(255,255,255,.14);
  color: #fff;
  font-size: 25px;
  font-weight: 900;
}
.auth-dashboard__identity-copy { display: grid; gap: 5px; min-width: 0; }
.auth-dashboard__identity-copy strong { max-width: 285px; overflow: hidden; font-size: 16px; font-weight: 900; text-overflow: ellipsis; white-space: nowrap; }
.auth-dashboard__identity-copy small { color: #c8d2ff; font-size: 12px; font-weight: 700; }
.auth-dashboard__header-actions { display: flex; align-items: center; gap: 16px; }
.auth-dashboard__promo,
.auth-dashboard__exit,
.auth-dashboard__close {
  min-height: 42px;
  border: 1px solid rgba(156,174,255,.29);
  border-radius: 9px;
  background: #0a0e48;
  color: #fff;
  font-weight: 850;
}
.auth-dashboard__promo { display: inline-flex; align-items: center; gap: 8px; padding: 0 18px; font-size: 14px; opacity: .86; }
.auth-dashboard__promo-icon { width: 19px; height: 19px; display: inline-block; flex: 0 0 auto; background: #ffcb56; -webkit-mask: url("../icons/category/promo-mobile.svg") center / contain no-repeat; mask: url("../icons/category/promo-mobile.svg") center / contain no-repeat; }
.auth-dashboard__exit { padding: 0 5px; border-color: transparent; background: transparent; cursor: pointer; }
.auth-dashboard__exit:hover { color: #ffcf5a; }
.auth-dashboard__close { position: relative; width: 42px; padding: 0; cursor: pointer; }
.auth-dashboard__close::before,
.auth-dashboard__close::after { content: ""; position: absolute; top: 50%; left: 50%; width: 19px; height: 2px; border-radius: 999px; background: #bcc8ff; }
.auth-dashboard__close::before { transform: translate(-50%, -50%) rotate(45deg); }
.auth-dashboard__close::after { transform: translate(-50%, -50%) rotate(-45deg); }
.auth-dashboard__close:hover { border-color: rgba(246,173,24,.65); color: #ffcf5a; }
.auth-dashboard__layout {
  display: grid;
  grid-template-columns: minmax(238px, 400px) minmax(410px, 714px) minmax(340px, 1fr);
  align-items: start;
  gap: 20px;
  padding: 20px clamp(22px, 3vw, 48px) 36px;
}
.auth-dashboard__sidebar {
  overflow: hidden;
  border: 1px solid rgba(132,153,255,.2);
  border-radius: 9px;
  background: #18236f;
  box-shadow: 0 18px 42px rgba(0,0,0,.16);
}
.auth-dashboard__nav-item {
  width: 100%;
  min-height: 61px;
  display: grid;
  grid-template-columns: 29px minmax(0, 1fr) 14px;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  border: 0;
  border-bottom: 1px solid rgba(4,7,48,.55);
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 850;
  text-align: left;
}
.auth-dashboard__nav-item:last-child { border-bottom: 0; }
.auth-dashboard__nav-icon { width: 22px; height: 22px; display: inline-block; background: #8da6ff; -webkit-mask: center / contain no-repeat; mask: center / contain no-repeat; }
.auth-dashboard__nav-icon--balance { -webkit-mask-image: url("../icons/category/user-balance.svg"); mask-image: url("../icons/category/user-balance.svg"); }
.auth-dashboard__nav-icon--bonuses { -webkit-mask-image: url("../icons/category/bonuses-mobile.svg"); mask-image: url("../icons/category/bonuses-mobile.svg"); }
.auth-dashboard__nav-icon--messages { -webkit-mask-image: url("../icons/category/notification-mobile.svg"); mask-image: url("../icons/category/notification-mobile.svg"); }
.auth-dashboard__nav-icon--favourites { -webkit-mask-image: url("../icons/category/favorites.svg"); mask-image: url("../icons/category/favorites.svg"); }
.auth-dashboard__nav-icon--account { -webkit-mask-image: url("../icons/category/online.svg"); mask-image: url("../icons/category/online.svg"); }
.auth-dashboard__nav-item i { width: 8px; height: 8px; border-top: 1px solid #9cafea; border-right: 1px solid #9cafea; font-size: 0; font-style: normal; transform: rotate(45deg); }
.auth-dashboard__nav-item.is-active { background: #263779; }
.auth-dashboard__nav-item.is-active .auth-dashboard__nav-icon { background: #53d88d; }
.auth-dashboard__nav-item:disabled { opacity: .92; }
.auth-dashboard__balances {
  padding: 14px;
  border: 1px solid rgba(132,153,255,.18);
  border-radius: 9px;
  background: #17236d;
  box-shadow: 0 18px 42px rgba(0,0,0,.14);
}
.auth-dashboard__balances > h2,
.auth-dashboard__history h2 { margin: 0 0 16px; color: #fff; font-size: 22px; line-height: 1.1; font-weight: 900; }
.auth-dashboard__balance-row {
  min-height: 53px;
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 10px;
  padding: 0 13px;
  border: 1px solid rgba(160,180,255,.27);
  border-radius: 6px;
  background: #25377e;
}
.auth-dashboard__balance-row strong { flex: 1; color: #fff; font-size: 16px; font-weight: 850; }
.auth-dashboard__balance-icon { width: 22px; height: 22px; flex: 0 0 auto; background: #fff; }
.auth-dashboard__balance-icon--wallet { -webkit-mask: url("../icons/category/user-balance.svg") center / contain no-repeat; mask: url("../icons/category/user-balance.svg") center / contain no-repeat; }
.auth-dashboard__balance-icon--gift { -webkit-mask: url("../icons/category/bonuses-mobile.svg") center / contain no-repeat; mask: url("../icons/category/bonuses-mobile.svg") center / contain no-repeat; }
.auth-dashboard__choice { width: 27px; height: 27px; flex: 0 0 auto; border: 1px solid #a7b6f9; border-radius: 50%; background: #263779; }
.auth-dashboard__choice.is-selected { border: 5px solid #263779; background: #ffbd21; box-shadow: 0 0 0 1px #b8c6ff; }
.auth-dashboard__deposit {
  width: 100%;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin: 15px 0;
  border: 1px solid rgba(255,216,100,.85);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffbd20, #f2a908);
  color: #17160d;
  font: inherit;
  font-size: 17px;
  font-weight: 900;
  cursor: pointer;
}
.auth-dashboard__deposit:hover { filter: brightness(1.05); }
.auth-dashboard__deposit span { font-size: 27px; line-height: 1; }

/* Real TRON deposit desk. Financial data is rendered exclusively from the
   server ledger; the frontend never derives or mutates a balance. */
.auth-modal__backdrop--deposit {
  align-items: start;
  overflow-y: auto;
  padding: clamp(14px, 4vh, 44px) 16px;
  background: rgba(1, 4, 30, .9);
  backdrop-filter: blur(8px);
}
.tron-deposit {
  width: min(100%, 820px);
  overflow: hidden;
  border: 1px solid rgba(111, 223, 157, .32);
  border-radius: 14px;
  background: radial-gradient(circle at 8% 0%, rgba(26, 151, 91, .16), transparent 33%), #071143;
  color: #f5f8ff;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .58);
}
.tron-deposit__header {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(133, 158, 255, .18);
  background: rgba(23, 35, 109, .76);
}
.tron-deposit__header small { display: block; margin-bottom: 4px; color: #68dc98; font-size: 11px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.tron-deposit__header h2 { margin: 0; font-size: clamp(21px, 4vw, 28px); line-height: 1; }
.tron-deposit__body { display: grid; gap: 15px; padding: 20px; }
.tron-deposit__asset-card {
  min-height: 78px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  padding: 12px 15px;
  border: 1px solid rgba(143, 164, 255, .25);
  border-radius: 10px;
  background: #17276e;
}
.tron-deposit__asset-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: #27a17a; color: #fff; font-size: 27px; font-weight: 900; box-shadow: inset 0 0 0 2px rgba(255,255,255,.14); }
.tron-deposit__asset-card > div:nth-child(2) { display: grid; gap: 3px; }
.tron-deposit__asset-card strong { font-size: 20px; }
.tron-deposit__asset-card span { color: #c8d4ff; font-size: 13px; }
.tron-deposit__asset-card em { max-width: 170px; overflow: hidden; color: #78e9a8; font-size: 11px; font-style: normal; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.tron-deposit__mode { margin: 0; padding: 10px 13px; border: 1px solid rgba(123, 148, 255, .25); border-radius: 8px; background: rgba(28, 44, 119, .66); color: #dce4ff; font-size: 13px; }
.tron-deposit__mode.is-loading { color: #f6cd67; }
.tron-deposit__mode.is-ready { border-color: rgba(74, 215, 135, .32); color: #83ecae; }
.tron-deposit__mode.is-paused { color: #f4cb70; }
.tron-deposit__mode.is-error, .tron-deposit__safe-error { color: #ff9c9c; }
.tron-deposit__address {
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  padding: 17px;
  border: 1px solid rgba(98, 219, 151, .35);
  border-radius: 11px;
  background: linear-gradient(135deg, rgba(19, 90, 70, .38), rgba(25, 38, 112, .8));
}
.tron-deposit__address[hidden] { display: none; }
.tron-deposit__address img { width: 148px; height: 148px; padding: 8px; border-radius: 9px; background: #fff; object-fit: contain; }
.tron-deposit__address > div { min-width: 0; display: grid; gap: 10px; }
.tron-deposit__address span { color: #cbd6ff; font-size: 12px; font-weight: 750; }
.tron-deposit__address code { overflow-wrap: anywhere; color: #fff; font: 700 16px/1.45 ui-monospace, SFMono-Regular, Consolas, monospace; }
.tron-deposit__address button,
.tron-deposit__history button { min-height: 36px; padding: 0 15px; border: 1px solid rgba(114, 228, 161, .42); border-radius: 7px; background: rgba(19, 157, 91, .2); color: #8ff0b6; font: inherit; font-size: 12px; font-weight: 850; cursor: pointer; }
.tron-deposit__allocate { min-height: 49px; border: 1px solid #ffd260; border-radius: 8px; background: linear-gradient(#ffbf26, #eda309); color: #17160e; font: inherit; font-size: 15px; font-weight: 900; cursor: pointer; }
.tron-deposit__allocate[hidden] { display: none; }
.tron-deposit__intent-form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.tron-deposit__intent-form label { display: grid; gap: 6px; color: #c8d2f8; font-size: 12px; font-weight: 750; }
.tron-deposit__intent-form select,
.tron-deposit__intent-form input { min-height: 43px; width: 100%; padding: 0 12px; border: 1px solid rgba(139, 161, 255, .32); border-radius: 7px; background: #17275f; color: #fff; font: inherit; }
.tron-deposit__intent-form small { grid-column: 1 / -1; color: #aebde8; font-size: 11px; }
.tron-deposit__intent-form .tron-deposit__allocate { grid-column: 1 / -1; }
.tron-deposit__intent { display: grid; grid-template-columns: 148px minmax(0, 1fr); gap: 16px; align-items: center; padding: 16px; border: 1px solid rgba(113, 232, 163, .3); border-radius: 9px; background: rgba(12, 53, 64, .65); }
.tron-deposit__intent[hidden] { display: none; }
.tron-deposit__intent > img { width: 148px; height: 148px; padding: 8px; border-radius: 9px; background: #fff; }
.tron-deposit__intent-values { min-width: 0; display: grid; gap: 7px; }
.tron-deposit__intent-values > span,
.tron-deposit__intent-values > div > span { color: #b9c7ef; font-size: 11px; font-weight: 800; }
.tron-deposit__intent-values code { overflow-wrap: anywhere; color: #fff; font: 700 14px/1.4 ui-monospace, SFMono-Regular, Consolas, monospace; }
.tron-deposit__intent-values button { min-height: 34px; border: 1px solid rgba(114, 228, 161, .42); border-radius: 7px; background: rgba(19, 157, 91, .2); color: #8ff0b6; font: inherit; font-size: 11px; font-weight: 850; cursor: pointer; }
.tron-deposit__intent-values > div { display: grid; gap: 7px; }
.tron-deposit__intent-values small { color: #f0c45f; font-size: 11px; }
.tron-deposit__balance { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 14px 16px; border: 1px solid rgba(151, 171, 255, .24); border-radius: 8px; background: #1c2d78; }
.tron-deposit__balance span { color: #c8d2f8; font-size: 13px; }
.tron-deposit__balance strong { color: #fff; font-size: 18px; }
.tron-deposit__warnings { display: grid; gap: 7px; margin: 0; padding: 14px 16px 14px 34px; border: 1px solid rgba(246, 173, 24, .25); border-radius: 9px; background: rgba(246, 173, 24, .07); color: #e4e9ff; font-size: 12px; line-height: 1.45; }
.tron-deposit__warnings li::marker { color: #f6ad18; }
.tron-deposit__history { padding: 15px; border: 1px solid rgba(139, 161, 255, .2); border-radius: 9px; background: rgba(18, 31, 101, .75); }
.tron-deposit__history > header { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.tron-deposit__history h3 { margin: 0; font-size: 17px; }
.tron-deposit__history-list, .auth-dashboard__deposit-list { display: grid; gap: 8px; }
.tron-deposit__history-row { min-height: 53px; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 9px 12px; border: 1px solid rgba(142, 164, 255, .19); border-radius: 7px; background: #223579; }
.tron-deposit__history-row > div { min-width: 0; display: grid; gap: 3px; }
.tron-deposit__history-row strong { color: #fff; font-size: 14px; }
.tron-deposit__history-row span { overflow: hidden; color: #aebde8; font: 11px ui-monospace, SFMono-Regular, Consolas, monospace; text-overflow: ellipsis; }
.tron-deposit__history-row em { flex: 0 0 auto; color: #f0c45f; font-size: 11px; font-style: normal; font-weight: 850; }
.tron-deposit__history-row.is-credited em { color: #70e5a2; }
.tron-deposit__history-row.is-manual_review em { color: #ffad87; }
.tron-deposit__empty { min-height: 90px; display: grid; place-items: center; gap: 5px; align-content: center; color: #aebce7; text-align: center; }
.tron-deposit__empty strong { color: #f2f5ff; font-size: 14px; }
.tron-deposit__empty span, .tron-deposit__loading, .tron-deposit__safe-error { margin: 0; font-size: 12px; }

@media (max-width: 560px) {
  .auth-modal__backdrop--deposit { padding: 0; }
  .tron-deposit { min-height: 100dvh; border: 0; border-radius: 0; }
  .tron-deposit__header { min-height: 66px; padding: 11px 13px; }
  .tron-deposit__body { gap: 12px; padding: 13px; }
  .tron-deposit__asset-card { grid-template-columns: 42px minmax(0, 1fr); }
  .tron-deposit__asset-card em { grid-column: 2; }
  .tron-deposit__asset-icon { width: 39px; height: 39px; font-size: 23px; }
  .tron-deposit__address { grid-template-columns: 1fr; justify-items: center; gap: 13px; }
  .tron-deposit__intent-form { grid-template-columns: 1fr; }
  .tron-deposit__intent-form small,
  .tron-deposit__intent-form .tron-deposit__allocate { grid-column: 1; }
  .tron-deposit__intent { grid-template-columns: 1fr; justify-items: center; }
  .tron-deposit__intent-values { width: 100%; text-align: center; }
  .tron-deposit__address img { width: 132px; height: 132px; }
  .tron-deposit__address > div { width: 100%; text-align: center; }
  .tron-deposit__balance { align-items: flex-start; flex-direction: column; gap: 5px; }
  .tron-deposit__history-row { align-items: flex-start; }
}
.auth-dashboard__cashback {
  min-height: 52px;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid rgba(160,180,255,.23);
  border-radius: 6px;
  background: #25377e;
}
.auth-dashboard__cashback-icon { width: 25px; height: 25px; display: inline-block; border-radius: 50%; background: #e9eeff; -webkit-mask: url("../icons/category/drops_and_wins.svg") center / contain no-repeat; mask: url("../icons/category/drops_and_wins.svg") center / contain no-repeat; }
.auth-dashboard__cashback strong { font-size: 15px; }
.auth-dashboard__cashback button { min-width: 110px; min-height: 32px; border: 0; border-radius: 6px; background: rgba(255,255,255,.06); color: #fff; font: inherit; font-weight: 800; opacity: .65; }
.auth-dashboard__security { margin-top: 20px; padding: 16px; border: 1px solid rgba(141,114,255,.28); border-radius: 9px; background: linear-gradient(135deg, rgba(58,42,133,.66), rgba(29,35,111,.88)); }
.auth-dashboard__security-title { display: flex; align-items: center; gap: 10px; margin-bottom: 11px; }
.auth-dashboard__security-icon { width: 20px; height: 20px; display: inline-block; background: #b489ff; -webkit-mask: url("../icons/category/user-balance.svg") center / contain no-repeat; mask: url("../icons/category/user-balance.svg") center / contain no-repeat; }
.auth-dashboard__security h3 { margin: 0; font-size: 17px; font-weight: 900; }
.auth-dashboard__contact { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid rgba(220,226,255,.13); }
.auth-dashboard__contact > div:first-child { display: grid; gap: 3px; min-width: 0; }
.auth-dashboard__contact span { color: #cbd4ff; font-size: 11px; font-weight: 750; text-transform: uppercase; }
.auth-dashboard__contact strong { overflow: hidden; color: #fff; font-size: 14px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.auth-dashboard__contact em { color: #80e6a5; font-size: 11px; font-style: normal; font-weight: 800; }
.auth-dashboard__contact-actions { display: flex; flex: 0 0 auto; gap: 7px; }
.auth-dashboard__contact-actions button,
.auth-dashboard__security-actions button {
  min-height: 29px;
  padding: 0 9px;
  border: 1px solid rgba(194,206,255,.38);
  border-radius: 5px;
  background: rgba(2,5,59,.18);
  color: #fff;
  font: inherit;
  font-size: 11px;
  font-weight: 850;
  cursor: pointer;
}
.auth-dashboard__contact-actions button:hover,
.auth-dashboard__security-actions button:hover { border-color: #ffca4b; color: #ffcf5a; }
.auth-dashboard__security-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 5px; }
.auth-dashboard__google { width: 100%; min-height: 36px; margin-top: 12px; border: 1px solid rgba(194,206,255,.25); border-radius: 6px; background: rgba(255,255,255,.05); color: #cbd4ff; font: inherit; font-size: 12px; font-weight: 800; opacity: .75; }
.auth-dashboard__hint { margin: 10px 0 0; color: #cbd4ff; font-size: 12px; line-height: 1.42; }
.auth-dashboard__legal { display: flex; justify-content: center; gap: 8px; margin: 13px 0 0; color: #cbd4ff; font-size: 12px; }
.auth-dashboard__legal a { color: #fff; }
.auth-dashboard__history { min-height: 636px; padding-top: 9px; }
.auth-dashboard__history > header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.auth-dashboard__history > header button { border: 0; background: transparent; color: #fff; font: inherit; font-size: 14px; font-weight: 850; opacity: .78; }
.auth-dashboard__filter { min-height: 70px; display: flex; align-items: center; gap: 10px; margin-top: 26px; padding: 0 28px; border-radius: 9px 9px 0 0; background: #293b83; color: #fff; font-size: 16px; font-weight: 900; }
.auth-dashboard__filter i { width: 12px; height: 12px; border-right: 2px solid #dce4ff; border-bottom: 2px solid #dce4ff; transform: rotate(45deg) translateY(-4px); }
.auth-dashboard__empty { min-height: 490px; display: grid; place-content: center; justify-items: center; gap: 22px; padding: 30px; border-radius: 0 0 9px 9px; background: #17236d; text-align: center; }
.auth-dashboard__empty-art { position: relative; width: 108px; height: 108px; display: block; border: 7px solid #c29033; border-radius: 50%; box-shadow: 0 12px 22px rgba(0,0,0,.2), inset 0 0 0 8px #25377e; transform: rotate(-20deg); }
.auth-dashboard__empty-art::after { content: ""; position: absolute; right: -21px; bottom: -18px; width: 42px; height: 13px; border-radius: 999px; background: linear-gradient(180deg, #f4c04c, #a66c16); box-shadow: 0 3px 5px rgba(0,0,0,.24); transform: rotate(-36deg); }
.auth-dashboard__empty-art::before { content: ""; position: absolute; inset: 20px; border: 4px solid #5d75d6; border-radius: 50%; box-shadow: inset 0 0 0 8px #25377e; }
.auth-dashboard__empty strong { max-width: 360px; font-size: 18px; line-height: 1.25; font-weight: 900; }

@media (max-width: 1180px) {
  .topbar--authenticated .topbar__session-bar { right: 65px; }
  .topbar__profile-name { max-width: 78px; }
  .topbar--authenticated .topbar__inner,
  .topbar--authenticated + .page { width: calc(100vw - 32px); }
  .topbar--authenticated + .page .scroller { grid-auto-columns: calc((100% - 24px) / 3); }
  .auth-dashboard__layout { grid-template-columns: minmax(220px, 292px) minmax(0, 1fr); }
  .auth-dashboard__history { grid-column: 1 / -1; min-height: 0; }
  .auth-dashboard__empty { min-height: 260px; }
}

@media (max-width: 760px) {
  .language-switcher { right: 10px; }
  .topbar--authenticated .topbar__logo-row { height: 44px; justify-items: start; padding-left: 10px; }
  .topbar--authenticated .brand--center { justify-content: flex-start; }
  .topbar--authenticated .topbar__session-bar { top: 7px; right: 52px; }
  .topbar--authenticated .topbar__wallet-control,
  .topbar--authenticated .topbar__logout-control { display: none; }
  .topbar__profile-name { max-width: 106px; }
  .topbar--authenticated .topbar__inner { width: calc(100vw - 20px); height: auto; min-height: 40px; }
  .topbar--authenticated .topnav { max-width: calc(100vw - 145px); }
  .topbar--authenticated .topbar__actions { margin-left: auto; }
  .topbar__cash-desk { min-width: auto; height: 29px; padding: 0 9px; font-size: 11px; }
  .topbar__cash-desk-icon { width: 15px; height: 15px; }
  .topbar--authenticated + .page { width: calc(100vw - 20px); padding-top: 14px; }
  .topbar--authenticated + .page > .hero,
  .topbar--authenticated + .page .slide { height: 220px; }
  .topbar--authenticated + .page .slide__content { max-width: 70%; }
  .topbar--authenticated + .page .cats { grid-template-columns: repeat(3, 1fr); }
  .topbar--authenticated + .page .scroller { grid-auto-columns: calc((100% - 12px) / 2); }

  .auth-dashboard__header { min-height: 76px; padding: 10px 14px; }
  .auth-dashboard__avatar { width: 43px; height: 43px; font-size: 18px; }
  .auth-dashboard__identity-copy strong { max-width: 135px; font-size: 13px; }
  .auth-dashboard__identity-copy small { max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 10px; }
  .auth-dashboard__header-actions { gap: 5px; }
  .auth-dashboard__promo { display: none; }
  .auth-dashboard__exit { min-height: 34px; font-size: 12px; }
  .auth-dashboard__close { width: 34px; min-height: 34px; }
  .auth-dashboard__layout { grid-template-columns: 1fr; gap: 14px; padding: 14px 10px 24px; }
  .auth-dashboard__sidebar { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); overflow: auto; }
  .auth-dashboard__nav-item { min-width: 103px; min-height: 76px; grid-template-columns: 1fr; gap: 4px; padding: 8px 5px; border-right: 1px solid rgba(4,7,48,.55); border-bottom: 0; text-align: center; font-size: 10px; }
  .auth-dashboard__nav-item i { display: none; }
  .auth-dashboard__nav-icon { width: 18px; height: 18px; }
  .auth-dashboard__balances { padding: 11px; }
  .auth-dashboard__balances > h2,
  .auth-dashboard__history h2 { font-size: 19px; }
  .auth-dashboard__balance-row strong { font-size: 14px; }
  .auth-dashboard__deposit { min-height: 46px; font-size: 15px; }
  .auth-dashboard__history { grid-column: auto; padding-top: 0; }
  .auth-dashboard__filter { min-height: 55px; margin-top: 12px; padding: 0 17px; }
  .auth-dashboard__empty { min-height: 210px; gap: 14px; }
  .auth-dashboard__empty-art { width: 76px; height: 76px; border-width: 5px; }
  .auth-dashboard__empty strong { font-size: 15px; }
}

@media (max-width: 760px) {
  .topbar--authenticated .topbar__logo-row { height: 48px; padding-inline: 12px; }
  .topbar--authenticated .topbar__session-items { gap: 6px; }
  .topbar--authenticated .topbar__wallet-label { font-size: 0; }
  .topbar--authenticated .topbar__wallet-label::after { content: "0 ₸"; font-size: 12px; }
  .topbar--authenticated + .page { width: calc(100vw - 20px); padding-top: 14px; }
  .topbar--authenticated + .page > .hero { height: 220px; }
  .topbar--authenticated + .page .slide { padding-inline: 18px; }
  .topbar--authenticated + .page .slide__content { max-width: 76%; padding-top: 20px; }
  .topbar--authenticated + .page .slide__tag { margin-bottom: 24px; font-size: 11px; }
  .topbar--authenticated + .page .slide__title { font-size: 25px; }
  .topbar--authenticated + .page .slide__sub { margin-bottom: 26px; font-size: 14px; }
  .topbar--authenticated + .page .slide .btn { min-width: 132px; height: 40px; font-size: 15px; }
  .topbar--authenticated + .page .slide__loyalty-scene { left: 33%; opacity: .52; }
  .topbar--authenticated + .page .loyalty-ball { width: 112px; height: 112px; left: 39%; }
  .topbar--authenticated + .page .cats { grid-template-columns: repeat(3, 1fr); margin-top: 32px; }
  .topbar--authenticated + .page .cat { min-height: 78px; }
  .topbar--authenticated + .page .cat__img { width: 28px; height: 28px; }
  .topbar--authenticated + .page .cat__label { font-size: 13px; }
  .topbar--authenticated + .page .row { padding: 18px 14px; }
  .topbar--authenticated + .page .row__title { font-size: 20px; }
  .topbar--authenticated + .page .scroller { grid-auto-columns: calc((100% - 12px) / 2); gap: 12px; }
}

/* Keep the compact shell above the legacy mobile reference rules. */
@media (max-width: 760px) {
  .topbar--authenticated .topbar__logo-row { height: 44px; justify-items: start; padding-left: 10px; }
  .topbar--authenticated .brand--center { justify-content: flex-start; }
  .topbar--authenticated .topbar__session-bar { top: 7px; right: 52px; }
  .topbar--authenticated .topbar__wallet-control,
  .topbar--authenticated .topbar__logout-control { display: none; }
  .topbar--authenticated .topbar__wallet-label { font-size: 11px; }
  .topbar--authenticated .topbar__wallet-label::after { content: none; }
  .topbar--authenticated .topbar__inner { width: calc(100vw - 20px); height: auto; min-height: 40px; }
  .topbar--authenticated .topnav { max-width: calc(100vw - 145px); }
  .topbar--authenticated .topbar__actions { margin-left: auto; }
  .topbar__cash-desk { min-width: auto; height: 29px; padding: 0 9px; font-size: 11px; }
  .topbar__cash-desk-icon { width: 15px; height: 15px; }
  .topbar--authenticated + .page { width: calc(100vw - 20px); padding-top: 14px; }
  .topbar--authenticated + .page > .hero,
  .topbar--authenticated + .page .slide { height: 220px; }
  .topbar--authenticated + .page .slide { padding: 0 18px; }
  .topbar--authenticated + .page .slide__content { max-width: 70%; padding-top: 0; }
  .topbar--authenticated + .page .cats { grid-template-columns: repeat(3, 1fr); margin: 18px 0 8px; }
  .topbar--authenticated + .page .cat { min-height: 62px; }
  .topbar--authenticated + .page .scroller { grid-auto-columns: calc((100% - 12px) / 2); }
}

/* Authentication entry experience */
.auth-modal__backdrop--entry {
  padding: 20px;
  background: rgba(3, 9, 18, .84);
  backdrop-filter: blur(14px) saturate(.82);
}

.auth-dialog--entry {
  width: min(1180px, calc(100vw - 40px));
  height: min(760px, calc(100dvh - 40px));
  max-height: none;
  display: grid;
  grid-template-columns: minmax(360px, 46%) minmax(0, 1fr);
  border: 1px solid rgba(122, 157, 218, .22);
  border-radius: 8px;
  background: #0e1728;
  box-shadow: 0 34px 100px rgba(0, 0, 0, .68), 0 0 0 1px rgba(255, 255, 255, .025) inset;
  animation: auth-entry-in .24s ease-out both;
}

.auth-entry__art {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  background: #071321;
}

.auth-entry__art-image {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  transform: scale(1.015);
}

.auth-entry__art--login .auth-entry__art-image { object-position: 50% 21%; }
.auth-entry__art--register .auth-entry__art-image { object-position: 66% 50%; }

.auth-entry__art-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(2, 9, 21, .38) 0%, transparent 28%, transparent 64%, rgba(3, 9, 20, .62) 100%),
    linear-gradient(90deg, rgba(3, 10, 20, .18), transparent 35%, rgba(3, 10, 20, .1));
}

.auth-entry__art--register .auth-entry__art-shade {
  background: linear-gradient(180deg, rgba(1, 8, 18, .2) 0%, transparent 46%, rgba(2, 10, 20, .82) 100%);
}

.auth-entry__brand {
  position: absolute;
  z-index: 1;
  top: 30px;
  left: 30px;
  width: 178px;
  height: 42px;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 4px 18px rgba(0, 0, 0, .42));
}

.auth-entry__promo {
  position: absolute;
  z-index: 1;
  right: 26px;
  bottom: 25px;
  left: 26px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  padding: 20px 24px;
  border: 1px solid rgba(69, 232, 159, .6);
  border-radius: 8px;
  background: rgba(5, 22, 29, .56);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .22);
  backdrop-filter: blur(9px);
}

.auth-entry__promo div { min-width: 0; }
.auth-entry__promo strong {
  display: block;
  color: #49e39a;
  font-size: 34px;
  line-height: 1;
  font-weight: 900;
  white-space: nowrap;
}

.auth-entry__promo span {
  display: block;
  margin-top: 8px;
  color: #fff;
  font-size: 11px;
  line-height: 1.2;
  font-weight: 850;
}

.auth-entry__panel {
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background:
    radial-gradient(circle at 90% 5%, rgba(37, 112, 255, .09), transparent 31%),
    #0e1728;
}

.auth-dialog--entry .auth-entry__header {
  flex: 0 0 auto;
  min-height: 116px;
  padding: 31px 40px 18px;
  border: 0;
  background: transparent;
}

.auth-entry__eyebrow {
  display: block;
  margin-bottom: 7px;
  color: #4aa8ff;
  font-size: 10px;
  line-height: 1;
  font-weight: 900;
}

.auth-dialog--entry .auth-entry__header h2 {
  color: #f8faff;
  font-size: 32px;
  line-height: 1.08;
  font-weight: 850;
}

.auth-dialog--entry .auth-close {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(125, 151, 197, .12);
  border-radius: 8px;
  background: #172238;
  color: #7e8da8;
  font-size: 27px;
  line-height: 1;
  transition: border-color .18s ease, background .18s ease, color .18s ease;
}

.auth-dialog--entry .auth-close:hover,
.auth-dialog--entry .auth-close:focus-visible {
  border-color: rgba(76, 166, 255, .48);
  background: #1c2c48;
  color: #fff;
  outline: none;
}

.auth-dialog--entry .auth-entry__body {
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  padding: 0 40px 30px;
  scrollbar-color: #2b73d2 transparent;
}

.auth-entry__body--login {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.auth-entry__lead,
.auth-entry__social-lead {
  margin: 0 0 22px;
  color: #8493ad;
  font-size: 14px;
  line-height: 1.45;
}

.auth-entry__notice {
  margin: -6px 0 17px;
  padding: 11px 13px;
  border: 1px solid rgba(65, 168, 255, .35);
  border-radius: 8px;
  background: rgba(33, 112, 196, .13);
  color: #cfe8ff;
  font-size: 12px;
  line-height: 1.45;
}

.auth-entry__notice[hidden] { display: none; }

.auth-dialog--entry .auth-entry__form { gap: 0; }
.auth-entry__field-group { min-width: 0; }

.auth-dialog--entry .auth-field {
  min-height: 56px;
  padding: 0 17px;
  border: 1px solid #253653;
  border-radius: 8px;
  background: #18243a;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.auth-dialog--entry .auth-field:hover { border-color: #31496f; }
.auth-dialog--entry .auth-field:focus-within {
  border-color: #369cff;
  background: #1a2942;
  box-shadow: 0 0 0 3px rgba(37, 135, 255, .12);
}

.auth-dialog--entry .auth-field input {
  height: 54px;
  color: #f7f9ff;
  font-size: 15px;
}

.auth-dialog--entry .auth-field input::placeholder { color: #77869f; opacity: 1; }
.auth-dialog--entry .auth-field.is-invalid { border-color: #ef697c; }
.auth-dialog--entry .auth-password-visibility { color: #778ba9; }
.auth-dialog--entry .auth-password-visibility:hover,
.auth-dialog--entry .auth-password-visibility:focus-visible,
.auth-dialog--entry .auth-password-visibility.is-visible { background: rgba(56, 154, 255, .12); color: #52adff; }

.auth-dialog--entry .auth-field__error {
  min-height: 20px;
  margin: 3px 3px 5px;
  color: #ff9dab;
  font-size: 11px;
  line-height: 15px;
}

.auth-dialog--entry .auth-form__error {
  margin: 0 0 13px;
  border-color: rgba(244, 102, 121, .44);
  border-radius: 8px;
  background: rgba(159, 43, 61, .16);
  color: #ffdce2;
}

.auth-dialog--entry .auth-submit {
  min-height: 56px;
  border-radius: 8px;
  background: linear-gradient(135deg, #42c8ff 0%, #1672ff 82%);
  color: #fff;
  font-size: 15px;
  font-weight: 850;
  box-shadow: 0 13px 30px rgba(23, 111, 255, .23);
  transition: filter .18s ease, transform .12s ease, box-shadow .18s ease;
}

.auth-dialog--entry .auth-submit:hover:not(:disabled) {
  filter: brightness(1.07);
  box-shadow: 0 15px 34px rgba(23, 111, 255, .32);
}

.auth-dialog--entry .auth-forgot {
  align-self: center;
  margin: 14px auto 0;
  color: #8f9db5;
  font-size: 13px;
  text-decoration: none;
}

.auth-dialog--entry .auth-forgot:hover { color: #4aa8ff; }

.auth-dialog--entry .auth-divider {
  gap: 14px;
  margin: 25px 0 16px;
  color: #687995;
  font-size: 11px;
}

.auth-dialog--entry .auth-divider::before,
.auth-dialog--entry .auth-divider::after { background: rgba(115, 141, 184, .16); }

.auth-dialog--entry .auth-social-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.auth-dialog--entry .auth-social--entry {
  min-width: 0;
  min-height: 91px;
  flex-direction: column;
  gap: 10px;
  padding: 12px 7px;
  border: 1px solid rgba(111, 139, 186, .14);
  border-radius: 8px;
  background: #172338;
  color: #f5f8ff;
  font-size: 12px;
  font-weight: 750;
  transition: transform .16s ease, border-color .18s ease, background .18s ease;
}

.auth-dialog--entry .auth-social--entry:not(:disabled):hover {
  border-color: rgba(65, 161, 255, .58);
  background: #1b2d49;
  filter: none;
  transform: translateY(-2px);
}

.auth-dialog--entry .auth-social--entry:not(:disabled):active { transform: translateY(0); }
.auth-dialog--entry .auth-social--entry:disabled { opacity: .46; }
.auth-dialog--entry .auth-social--entry .auth-google-logo {
  width: 30px;
  height: 30px;
  flex-basis: 30px;
}

.auth-dialog--entry .auth-switch {
  margin: 21px 0 0;
  color: #7889a4;
  font-size: 13px;
}

.auth-dialog--entry .auth-switch button {
  color: #43aaff;
  text-decoration: none;
}

.auth-dialog--entry .auth-switch button:hover { color: #85c9ff; }

.auth-entry__tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin-bottom: 23px;
  padding: 5px;
  border: 1px solid rgba(111, 139, 186, .12);
  border-radius: 8px;
  background: #111b2e;
}

.auth-entry__tab {
  min-height: 46px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #74849e;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, box-shadow .18s ease;
}

.auth-entry__tab:hover { color: #cbd6e8; }
.auth-entry__tab.is-active {
  background: linear-gradient(135deg, #3cc5ff, #1672ff);
  color: #fff;
  box-shadow: 0 8px 20px rgba(24, 111, 255, .2);
}

.auth-entry__tab:focus-visible { outline: 2px solid #61b6ff; outline-offset: 2px; }
.auth-entry__register-panel[hidden] { display: none; }

.auth-entry__field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 12px;
}

.auth-entry__currency {
  min-height: 57px;
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 15px;
  padding: 8px 15px;
  border: 1px solid rgba(111, 139, 186, .15);
  border-radius: 8px;
  background: #151f33;
}

.auth-entry__currency-symbol {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #258fff;
  color: #fff;
  font-size: 17px;
  font-weight: 900;
}

.auth-entry__currency small,
.auth-entry__currency strong { display: block; }
.auth-entry__currency small { margin-bottom: 2px; color: #71819a; font-size: 10px; }
.auth-entry__currency strong { color: #f7f9ff; font-size: 13px; }

.auth-dialog--entry .auth-check {
  align-items: center;
  gap: 10px;
  margin: 0;
  color: #8d9bb1;
  font-size: 11px;
  line-height: 1.45;
}

.auth-dialog--entry .auth-check input {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  accent-color: #258fff;
}

.auth-dialog--entry .auth-check a,
.auth-entry__legal a { color: #42a9ff; text-decoration: none; }

.auth-entry__register-panel--social {
  padding-top: 8px;
}

.auth-entry__register-panel--social .auth-social-list { margin-bottom: 18px; }
.auth-entry__register-panel--social .auth-social--entry { min-height: 118px; }
.auth-entry__legal {
  margin: 4px 8px 0;
  color: #7788a2;
  font-size: 11px;
  line-height: 1.55;
  text-align: center;
}

@keyframes auth-entry-in {
  from { opacity: 0; transform: translateY(10px) scale(.992); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 980px) {
  .auth-dialog--entry { grid-template-columns: minmax(300px, 40%) minmax(0, 1fr); }
  .auth-dialog--entry .auth-entry__header { padding-inline: 28px; }
  .auth-dialog--entry .auth-entry__body { padding-inline: 28px; }
  .auth-dialog--entry .auth-field input { font-size: 13px; }
  .auth-entry__brand { top: 24px; left: 24px; width: 150px; }
  .auth-entry__promo { right: 18px; bottom: 18px; left: 18px; gap: 12px; padding: 16px; }
  .auth-entry__promo strong { font-size: 28px; }
}

@media (max-width: 760px) {
  .auth-modal__backdrop--entry {
    padding: 0;
    background: #0e1728;
  }

  .auth-dialog--entry {
    width: 100%;
    height: 100dvh;
    min-height: 100dvh;
    max-height: 100dvh;
    grid-template-columns: 1fr;
    grid-template-rows: 174px minmax(0, 1fr);
    border: 0;
    border-radius: 0;
    animation: none;
  }

  .auth-entry__art--login .auth-entry__art-image { object-position: 50% 24%; }
  .auth-entry__art--register .auth-entry__art-image { object-position: 66% 33%; }
  .auth-entry__art-shade,
  .auth-entry__art--register .auth-entry__art-shade {
    background: linear-gradient(180deg, rgba(1, 7, 17, .12), rgba(4, 12, 24, .76));
  }

  .auth-entry__brand { top: 18px; left: 18px; width: 126px; height: 30px; }
  .auth-entry__promo {
    right: 16px;
    bottom: 10px;
    left: 16px;
    gap: 14px;
    padding: 10px 14px;
    background: rgba(5, 18, 28, .48);
  }
  .auth-entry__promo strong { font-size: 22px; }
  .auth-entry__promo span { margin-top: 4px; font-size: 8px; }

  .auth-entry__panel { min-height: 0; }
  .auth-dialog--entry .auth-entry__header {
    min-height: 83px;
    padding: 18px 20px 10px;
  }
  .auth-dialog--entry .auth-entry__header h2 { font-size: 26px; }
  .auth-entry__eyebrow { margin-bottom: 5px; font-size: 9px; }
  .auth-dialog--entry .auth-close { width: 38px; height: 38px; flex-basis: 38px; }
  .auth-dialog--entry .auth-entry__body {
    max-width: none;
    padding: 0 20px 24px;
  }
  .auth-entry__body--login { justify-content: flex-start; }
  .auth-entry__lead, .auth-entry__social-lead { margin-bottom: 16px; font-size: 12px; }
  .auth-dialog--entry .auth-field { min-height: 51px; }
  .auth-dialog--entry .auth-field input { height: 49px; font-size: 14px; }
  .auth-dialog--entry .auth-field__error:empty { min-height: 8px; margin: 1px 3px 3px; }
  .auth-dialog--entry .auth-submit { min-height: 51px; }
  .auth-dialog--entry .auth-divider { margin: 19px 0 13px; }
  .auth-dialog--entry .auth-social-list { gap: 7px; }
  .auth-dialog--entry .auth-social--entry,
  .auth-entry__register-panel--social .auth-social--entry {
    min-height: 72px;
    gap: 6px;
    padding: 8px 4px;
    font-size: 10px;
  }
  .auth-dialog--entry .auth-social--entry .auth-google-logo { width: 24px; height: 24px; flex-basis: 24px; }
  .auth-dialog--entry .auth-switch { margin-top: 17px; }
  .auth-entry__tabs { margin-bottom: 18px; }
  .auth-entry__field-grid { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
  .auth-dialog--entry { grid-template-rows: 150px minmax(0, 1fr); }
  .auth-entry__promo { right: 12px; left: 12px; }
  .auth-dialog--entry .auth-entry__header { padding-inline: 16px; }
  .auth-dialog--entry .auth-entry__body { padding-inline: 16px; }
  .auth-dialog--entry .auth-entry__header h2 { font-size: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .auth-dialog--entry { animation: none; }
  .auth-dialog--entry .auth-social--entry,
  .auth-dialog--entry .auth-submit { transition: none; }
}
