.landing-solo {
  position: relative;
  min-height: calc(100vh - 96px);
  grid-template-columns: minmax(0, 640px) minmax(360px, 440px);
  gap: 90px;
}

.is-authenticated .landing-copy {
  display: none;
}

body.app-loading .landing-account,
body.app-loading .topup-button,
body.app-loading .orders-button {
  display: none !important;
}

body.app-loading .landing-copy,
body.app-loading .landing-platforms {
  visibility: hidden;
}

body.is-authenticated {
  background:
    radial-gradient(circle at 88% 8%, rgba(116, 62, 211, .3), transparent 30%),
    radial-gradient(circle at 12% 92%, rgba(27, 173, 237, .12), transparent 30%),
    #080a0e;
}

body.is-authenticated main {
  max-width: 1540px;
}

.is-authenticated .landing-solo {
  grid-template-columns: 340px 1080px;
  gap: 42px;
  justify-content: center;
  align-content: center;
}

.is-authenticated .landing-platforms {
  width: 100%;
  min-height: 560px;
  padding: 52px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 28px;
  justify-self: center;
}

.landing-account {
  position: relative;
  display: flex;
  height: 560px;
  flex-direction: column;
  gap: 10px;
  padding: 24px 28px;
  overflow: hidden;
  border-radius: 24px;
  background:
    radial-gradient(circle at 20% 0, rgba(194, 122, 255, .32), transparent 46%),
    radial-gradient(circle at 100% 100%, rgba(52, 218, 255, .15), transparent 52%),
    rgba(15, 13, 27, .86);
  box-shadow: 0 0 48px rgba(179, 103, 255, .22), inset 0 0 46px rgba(131, 74, 202, .1);
}

.landing-account[hidden] {
  display: none !important;
}

.landing-account::before {
  position: absolute;
  inset: -40%;
  z-index: -1;
  content: "";
  background: conic-gradient(from 230deg, transparent, rgba(133, 65, 255, .24), transparent 36%);
  filter: blur(30px);
}

.landing-account > .eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: #d3b2ff;
}

.landing-account > .eyebrow::before {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 9px;
  background: linear-gradient(135deg, #d7a5ff, #8253df);
  color: #241137;
  content: "M";
  font: 800 14px/1 Unbounded, Manrope, sans-serif;
  box-shadow: 0 0 16px rgba(200, 132, 255, .45);
}

.landing-account > strong {
  overflow: hidden;
  color: #f3edff;
  font-size: 16px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.landing-account .account-view {
  max-width: none;
}

.landing-account .account-balance-card {
  padding: 18px 20px;
  border-color: rgba(202, 152, 255, .5);
  background: linear-gradient(125deg, rgba(160, 82, 255, .37), rgba(39, 24, 70, .65));
  box-shadow: 0 0 28px rgba(173, 98, 255, .15);
}

.landing-account .account-balance-card strong {
  font-size: 30px;
  text-shadow: 0 0 16px rgba(215, 178, 255, .52);
}

.landing-account #topup-form {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.landing-account #account-profile-view::after {
  display: block;
  margin-top: 14px;
  color: #b9afc9;
  content: "Выберите платформу справа, затем услугу и количество.";
  font-size: 13px;
  line-height: 1.45;
}

.landing-account label {
  display: grid;
  gap: 7px;
  color: #eee7fb;
  font-size: 14px;
  font-weight: 700;
}

.landing-account input {
  min-height: 46px;
  border: 1px solid rgba(191, 140, 255, .45);
  border-radius: 12px;
  background: rgba(13, 13, 23, .74);
  color: #f3edff;
}

.landing-account #topup-form button,
.landing-account .account-new-order {
  min-height: 48px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(100deg, #ae7cf1, #d29aff);
  color: #1e1330;
  font-weight: 800;
  box-shadow: 0 0 22px rgba(186, 118, 255, .28);
}

.landing-account .account-navigation {
  margin-top: 0;
}

.landing-account .account-nav[data-account-view="profile"] {
  display: none;
}

.landing-account .account-navigation button {
  color: #eee7fb;
}

.landing-account #logout {
  position: absolute;
  top: 20px;
  right: 18px;
  display: block;
  min-height: 32px;
  margin: 0 !important;
  padding: 0 10px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: transparent;
  color: #d5c5ea;
  font-size: 13px;
  font-weight: 800;
  line-height: 30px;
  transition: background .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease;
}

.landing-account #logout:hover,
.landing-account #logout:focus-visible {
  border-color: rgba(207, 159, 255, .55);
  background: rgba(164, 101, 242, .18);
  color: #f3eaff;
  box-shadow: 0 0 16px rgba(181, 111, 255, .24);
  outline: 0;
}

/* The landing account is intentionally a light action rail, not another card. */
.landing-account {
  align-self: center;
  height: auto;
  min-height: 0;
  padding: 0 6px;
  overflow: visible;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.landing-account::before,
.landing-account > .eyebrow,
.landing-account > strong,
.landing-account .account-new-order,
.landing-account #logout {
  display: none;
}

.landing-account > .account-navigation {
  position: relative;
  isolation: isolate;
  order: 0;
  display: grid;
  height: auto !important;
  min-height: 0 !important;
  flex: 0 0 auto;
  grid-auto-rows: 64px;
  align-content: start;
  gap: 0;
  margin: 0;
}

.landing-account > .account-navigation::before {
  position: absolute;
  z-index: -1;
  inset: -18px -28px;
  border-radius: 26px;
  background: linear-gradient(90deg, rgba(67, 42, 103, .32), rgba(55, 34, 85, .16) 62%, transparent);
  content: "";
}

.landing-account .account-navigation button {
  position: relative;
  display: block;
  width: auto;
  height: 64px;
  min-height: 64px;
  padding: 0 16px;
  border: 1px solid transparent !important;
  border-radius: 11px !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #bfb3d0;
  font: 700 20px/1.2 Manrope, Arial, sans-serif;
  text-align: left;
  transition: color .2s ease, text-shadow .2s ease, transform .2s ease;
}

.landing-account .account-navigation button::before {
  display: inline-grid;
  width: 24px;
  height: 24px;
  margin-right: 8px;
  place-items: center;
  border-radius: 50%;
  background: rgba(151, 88, 226, .12);
  color: #b987ff;
  line-height: 1;
  vertical-align: middle;
  transition: width .2s ease, height .2s ease, background .2s ease, box-shadow .2s ease, color .2s ease;
}

.account-notification-badge {
  position: absolute;
  top: 50%;
  right: 14px;
  display: grid;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  place-items: center;
  border-radius: 10px;
  background: #ec78c2;
  box-shadow: 0 0 14px rgba(246, 123, 203, .72);
  color: #29112c;
  font: 800 11px/1 Manrope, Arial, sans-serif;
  transform: translateY(-50%);
}

.account-notification-badge[hidden] {
  display: none;
}

.landing-account .account-navigation .account-topup-nav::before {
  content: "+";
  font-size: 17px;
  font-weight: 800;
}

.landing-account .account-navigation .account-balance-history-nav::before {
  content: "$";
  font-size: 15px;
  font-weight: 800;
}

.landing-account .account-navigation [data-account-view="profile"]::before {
  content: "⚙";
  font-size: 17px;
}

.landing-account .account-navigation .account-categories-nav::before {
  content: "▦";
  font-size: 18px;
}

.landing-account .account-navigation .account-support-nav::before {
  content: "?";
  font-size: 17px;
}

.landing-account .account-navigation .account-admin-messages-nav::before {
  content: "✉";
  font-size: 16px;
}


.landing-account .account-navigation button::after {
  display: none;
}

.landing-account .account-navigation .account-nav[data-account-view="profile"] {
  display: block;
}

.landing-account .account-navigation button:hover,
.landing-account .account-navigation button:focus-visible,
.landing-account .account-navigation button.active {
  border-color: transparent !important;
  background: transparent !important;
  color: #efdfff;
  text-shadow: 0 0 12px rgba(194, 122, 255, .64);
  box-shadow: none !important;
  transform: none;
  outline: 0;
}

.landing-account .account-navigation button:hover,
.landing-account .account-navigation button:focus-visible {
  border-color: transparent !important;
  background: transparent !important;
  transform: translateX(7px);
}

.landing-account .account-navigation button:hover::after,
.landing-account .account-navigation button:focus-visible::after,
.landing-account .account-navigation button.active::after {
  display: none;
}

.landing-account .account-navigation button:hover::before,
.landing-account .account-navigation button:focus-visible::before,
.landing-account .account-navigation button.active::before {
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, #e4c6ff, #a263ed);
  color: #241137;
  box-shadow: 0 0 18px rgba(194, 112, 255, .68);
}

.landing-account > .account-view {
  order: 1;
  width: 300px;
  margin-top: 30px;
}

.landing-account .account-balance-card {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.landing-account .account-balance-card span {
  color: #8f83a0;
}

.landing-account .account-balance-card strong {
  color: #e4ccff;
  font-size: 38px;
}

.landing-account #topup-form {
  margin-top: 18px;
}

.landing-account #account-profile-view::after {
  display: none;
}

.landing-account #orders {
  max-height: 280px;
}

.landing-platforms[hidden],
.account-content[hidden] {
  display: none !important;
}

.account-content {
  position: relative;
  min-height: 560px;
  padding: 52px;
  overflow: hidden;
  border-radius: 24px;
  background:
    radial-gradient(circle at 6% 4%, rgba(180, 106, 255, .34), transparent 38%),
    radial-gradient(circle at 92% 90%, rgba(58, 166, 255, .14), transparent 42%),
    rgba(16, 13, 28, .88);
  box-shadow: 0 0 58px rgba(168, 87, 255, .18), inset 0 0 48px rgba(102, 51, 169, .09);
}

.account-content::before {
  position: absolute;
  inset: -38%;
  z-index: -1;
  content: "";
  background: conic-gradient(from 40deg, transparent, rgba(116, 73, 236, .28), transparent 42%);
  filter: blur(34px);
}

.account-content-heading {
  margin-bottom: 34px;
}

.account-content-heading .eyebrow {
  margin: 0 0 8px;
  color: #d2afff;
}

.account-content-heading .eyebrow:empty {
  display: none;
}

.account-content-heading h2 {
  margin: 0;
  color: #f1e8ff;
  font: 700 30px/1.15 Unbounded, Manrope, sans-serif;
}

.nav-actions {
  position: relative;
}

.profile-quick-menu {
  position: absolute;
  z-index: 10;
  top: calc(100% + 10px);
  right: 0;
  display: grid;
  grid-template-areas:
    "login balance"
    "settings logout";
  grid-template-columns: minmax(0, 1fr) auto;
  width: 350px;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(214, 168, 255, .7);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(43, 27, 68, .98), rgba(21, 16, 35, .98));
  box-shadow: 0 16px 36px rgba(0, 0, 0, .34), 0 0 24px rgba(184, 102, 255, .36), inset 0 0 20px rgba(169, 95, 238, .1);
}

.profile-quick-menu[hidden] {
  display: none;
}

.profile-quick-menu strong {
  grid-area: login;
  overflow: hidden;
  align-self: center;
  padding: 8px 10px;
  border: 1px solid rgba(214, 168, 255, .18);
  border-radius: 9px;
  background: rgba(255, 255, 255, .04);
  color: #fff4ff;
  font-size: 16px;
  text-shadow: 0 1px 0 #3b2056, 0 0 10px rgba(213, 157, 255, .5);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-quick-balance {
  grid-area: balance;
  align-self: center;
  padding: 8px 10px;
  border: 1px solid rgba(173, 121, 237, .35);
  border-radius: 9px;
  background: rgba(167, 99, 239, .12);
  color: #dec7fb;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.profile-quick-menu button {
  min-height: 38px;
  padding: 0 10px;
  border: 1px solid rgba(214, 168, 255, .18);
  border-radius: 9px;
  background: rgba(255, 255, 255, .04);
  color: #c2b9cc;
  font-weight: 800;
  text-align: left;
}

.profile-quick-menu button:hover,
.profile-quick-menu button:focus-visible {
  border-color: rgba(214, 168, 255, .52);
  background: rgba(167, 99, 239, .16);
  color: #f1e8ff;
  outline: 0;
}

.profile-quick-menu button:last-child {
  grid-area: logout;
  border-color: rgba(239, 176, 213, .22);
  color: #f3d4eb;
  text-align: right;
}

.profile-quick-menu button:first-of-type {
  grid-area: settings;
}

.account-content #account-profile-view,
.account-content #account-orders-view {
  max-width: 720px;
}

.account-content #account-orders-view > .eyebrow {
  display: none;
}

.account-content .account-balance-card {
  display: grid;
  gap: 9px;
  max-width: 420px;
  padding: 24px;
  border: 1px solid rgba(203, 157, 255, .48);
  border-radius: 18px;
  background: linear-gradient(120deg, rgba(144, 76, 232, .36), rgba(32, 22, 56, .62));
  box-shadow: 0 0 26px rgba(187, 113, 255, .18);
}

.account-content .account-balance-card span {
  color: #b9adcb;
}

.account-content .account-balance-card strong {
  color: #e6d2ff;
  font: 700 38px/1 Unbounded, Manrope, sans-serif;
  text-shadow: 0 0 16px rgba(213, 172, 255, .5);
}

.account-content #topup-form {
  display: grid;
  gap: 12px;
  max-width: 420px;
  margin-top: 28px;
}

.account-content #topup-form label {
  display: grid;
  gap: 8px;
  color: #eee7fb;
  font-weight: 700;
}

.account-content #topup-form input {
  min-height: 50px;
  border: 1px solid rgba(194, 145, 255, .46);
  border-radius: 12px;
  background: rgba(11, 11, 20, .72);
  color: #f4edff;
}

.account-content #topup-form input::placeholder {
  color: #8e8799;
}

.account-content #topup-form button {
  min-height: 50px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(100deg, #a676ed, #d39cff);
  color: #211334;
  font-weight: 800;
  box-shadow: 0 0 22px rgba(189, 116, 255, .28);
}

.topup-help {
  grid-column: 1 / -1;
  width: min(100%, 720px);
  min-height: 0;
  margin: 0;
  padding: 20px 24px;
  border: 1px solid rgba(190, 143, 248, .28);
  border-radius: 16px;
  background: rgba(29, 23, 45, .48);
}

.topup-help h3 {
  margin: 0 0 14px;
  color: #f0e7ff;
  font-size: 24px;
}

.topup-help ol {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px 18px;
  margin: 0;
  padding-left: 22px;
  color: #cbbfda;
  font-size: 13px;
  line-height: 1.45;
}

.topup-methods {
  display: grid;
  grid-column: 1 / -1;
  gap: 12px;
  width: min(100%, 720px);
  margin: 0;
}

.topup-methods > p {
  margin: 0;
  color: #b8aec7;
  font-size: 14px;
  font-weight: 800;
}

.topup-methods > div {
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: 12px;
  align-items: center;
  padding: 14px 18px;
  border: 1px solid rgba(190, 143, 248, .28);
  border-radius: 14px;
  background: rgba(29, 23, 45, .42);
}

.sbp-logo {
  display: grid;
  width: 44px;
  height: 32px;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, #16bf8a, #3179e8);
  color: #fff;
  font-size: 13px;
  letter-spacing: -.5px;
}

.topup-methods span {
  color: #f0e7ff;
  font-weight: 800;
}

.topup-methods small {
  color: #aaa0ba;
  font-size: 13px;
}

.topup-bonuses {
  display: grid;
  grid-column: 2;
  grid-row: 3;
  gap: 5px;
  max-width: 300px;
  margin: 18px 0 0 24px;
  color: #9c94aa;
  font-size: 13px;
  line-height: 1.55;
}

.topup-bonuses strong {
  margin-bottom: 2px;
  color: #c1b6d0;
  font-size: 14px;
}

.profile-workspace {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: none;
}

.support-workspace {
  display: grid;
  gap: 14px;
  max-width: 720px;
}

.support-thread {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 260px;
  max-height: 330px;
  padding: 18px;
  overflow-y: auto;
  border: 1px solid rgba(190, 143, 248, .28);
  border-radius: 16px;
  background: rgba(18, 14, 31, .48);
}

.support-message {
  max-width: 82%;
  margin: 0;
  padding: 10px 13px;
  border-radius: 13px;
  color: #e9e0f5;
  font-size: 14px;
  line-height: 1.45;
}

.support-message.user {
  justify-self: end;
  border-bottom-right-radius: 4px;
  background: linear-gradient(120deg, rgba(169, 105, 239, .58), rgba(114, 67, 177, .48));
}

.support-message.assistant,
.support-message.system {
  justify-self: start;
  border-bottom-left-radius: 4px;
  background: rgba(72, 54, 103, .52);
}

.support-message.system {
  color: #c7bcd5;
  font-size: 13px;
}

.support-composer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  margin: 0;
}

.support-composer textarea {
  min-height: 52px;
  padding: 14px;
  resize: vertical;
  border: 1px solid rgba(194, 145, 255, .46);
  border-radius: 12px;
  background: rgba(11, 11, 20, .72);
  color: #f4edff;
  font: inherit;
}

.support-composer button,
.support-manager {
  min-height: 52px;
  padding: 0 20px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(100deg, #a676ed, #d39cff);
  color: #211334;
  font-weight: 800;
  box-shadow: 0 0 20px rgba(189, 116, 255, .22);
}

.support-manager {
  justify-self: start;
  min-height: 40px;
  background: transparent;
  border: 1px solid rgba(210, 161, 255, .42);
  color: #e2d2f3;
  box-shadow: none;
}

.admin-support-workspace {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  grid-template-rows: minmax(290px, 1fr) auto;
  gap: 12px;
  max-width: 900px;
}

.admin-support-conversations {
  grid-row: 1 / -1;
  display: grid;
  align-content: start;
  gap: 7px;
  padding: 10px;
  overflow-y: auto;
  border: 1px solid rgba(190, 143, 248, .28);
  border-radius: 16px;
  background: rgba(18, 14, 31, .48);
  color: #bfb3d0;
  font-size: 13px;
}

.admin-support-conversations button {
  display: grid;
  gap: 5px;
  width: 100%;
  padding: 11px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: #d8cee8;
  text-align: left;
}

.admin-support-conversations button:hover,
.admin-support-conversations button.active {
  border-color: rgba(200, 140, 255, .36);
  background: rgba(145, 80, 221, .18);
}

.admin-support-conversations strong,
.admin-support-conversations span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-support-conversations span {
  color: #aaa0ba;
  font-size: 12px;
}

.admin-support-thread {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 290px;
  max-height: 360px;
  padding: 18px;
  overflow-y: auto;
  border: 1px solid rgba(190, 143, 248, .28);
  border-radius: 16px;
  background: rgba(18, 14, 31, .48);
}

.admin-support-composer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
}

.admin-support-composer textarea {
  min-height: 52px;
  padding: 14px;
  resize: vertical;
  border: 1px solid rgba(194, 145, 255, .46);
  border-radius: 12px;
  background: rgba(11, 11, 20, .72);
  color: #f4edff;
  font: inherit;
}

.admin-support-composer button {
  min-height: 52px;
  padding: 0 20px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(100deg, #a676ed, #d39cff);
  color: #211334;
  font-weight: 800;
  box-shadow: 0 0 20px rgba(189, 116, 255, .22);
}

.profile-workspace > div {
  display: grid;
  gap: 8px;
  min-height: 96px;
  padding: 16px;
  border: 1px solid rgba(190, 143, 248, .28);
  border-radius: 16px;
  background: rgba(29, 23, 45, .6);
}

.profile-workspace > div:first-child {
  grid-column: 3;
  grid-row: 1;
}

.profile-workspace > div:nth-child(2) {
  grid-column: 1 / span 2;
  grid-row: 1;
}

.profile-workspace span {
  color: #b9aec9;
  font-size: 14px;
}

.profile-workspace strong {
  overflow: hidden;
  color: #f1e9ff;
  font-size: 18px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-password-card {
  gap: 10px !important;
}

.profile-password-label {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
}

.profile-password-info {
  position: relative;
  display: inline-grid;
  width: 15px;
  height: 15px;
  place-items: center;
  border: 1px solid rgba(170, 163, 183, .62);
  border-radius: 50%;
  color: #aaa3b7;
  cursor: help;
  font: 700 10px/1 Arial, sans-serif;
}

.profile-password-tooltip {
  position: absolute;
  z-index: 3;
  top: calc(100% + 8px);
  left: -8px;
  width: 238px;
  padding: 9px 10px;
  border: 1px solid rgba(187, 139, 255, .38);
  border-radius: 9px;
  background: rgba(20, 15, 34, .97);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .26);
  color: #d7cde5 !important;
  font-size: 12px !important;
  font-weight: 500;
  line-height: 1.35;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-3px);
  transition: opacity .16s ease, transform .16s ease;
}

.profile-password-info:hover .profile-password-tooltip,
.profile-password-info:focus .profile-password-tooltip {
  opacity: 1;
  transform: translateY(0);
}

.profile-password-confirmed {
  margin-left: auto;
  color: #66db93 !important;
  font-size: 17px !important;
  font-weight: 800;
  line-height: 1;
  opacity: 0;
  transition: opacity .16s ease;
}

.profile-password-card.is-entered .profile-password-confirmed {
  opacity: 1;
}

.profile-password-field {
  position: relative;
  align-self: start;
  height: 42px;
}

.profile-password-field input {
  width: 100%;
  box-sizing: border-box;
  min-height: 42px;
  padding: 0 46px 0 12px;
  border: 1px solid rgba(194, 145, 255, .46);
  border-radius: 10px;
  background: rgba(11, 11, 20, .72);
  color: #f4edff;
}

.profile-password-toggle {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 10px;
  display: grid;
  width: 24px;
  height: 24px;
  margin: auto 0 !important;
  min-width: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
  place-items: center;
  border: 0 !important;
  border-radius: 0 !important;
  appearance: none;
  background: transparent !important;
  box-shadow: none !important;
  color: #cdb3f4;
  cursor: pointer;
  transform: none !important;
  z-index: 1;
}

.profile-password-toggle:hover,
.profile-password-toggle:focus-visible {
  background: transparent !important;
  box-shadow: none !important;
  color: #f1e6ff;
  outline: 0;
}

.profile-password-toggle svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.profile-workspace > p {
  grid-column: 1 / -1;
  margin: 12px 0 0;
  color: #c2b5d4;
  line-height: 1.55;
}

.password-change {
  display: grid;
  grid-column: 1 / span 2;
  grid-row: 2;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 0;
  padding: 24px;
  border: 1px solid rgba(190, 143, 248, .28);
  border-radius: 16px;
  background: rgba(29, 23, 45, .48);
}

.password-change .profile-password-card {
  display: grid;
  grid-column: 1 / -1;
  gap: 8px !important;
  min-height: 0;
  max-width: none;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.password-change h3 {
  grid-column: 1 / -1;
  margin: 0;
  color: #f0e7ff;
  font-size: 18px;
}

.password-change label {
  display: grid;
  grid-column: 1 / -1;
  gap: 8px;
  max-width: none;
  color: #e6dcf3;
  font-size: 14px;
  font-weight: 700;
}

.password-change input {
  min-height: 48px;
  border: 1px solid rgba(194, 145, 255, .46);
  border-radius: 12px;
  background: rgba(11, 11, 20, .72);
  color: #f4edff;
}

.password-change button {
  justify-self: start;
  min-height: 46px;
  padding: 0 20px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(100deg, #a676ed, #d39cff);
  color: #211334;
  font-weight: 800;
  box-shadow: 0 0 20px rgba(189, 116, 255, .25);
}

.login-change {
  display: grid;
  grid-column: 3;
  grid-row: 2;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 0;
  padding: 24px;
  border: 1px solid rgba(190, 143, 248, .28);
  border-radius: 16px;
  background: rgba(29, 23, 45, .48);
}

.login-change h3,
.login-change label {
  grid-column: 1 / -1;
}

.login-change h3 {
  margin: 0;
  color: #f0e7ff;
  font-size: 18px;
}

.login-change label {
  display: grid;
  gap: 8px;
  max-width: none;
  color: #e6dcf3;
  font-size: 14px;
  font-weight: 700;
}

.login-change input {
  min-height: 48px;
  border: 1px solid rgba(194, 145, 255, .46);
  border-radius: 12px;
  background: rgba(11, 11, 20, .72);
  color: #f4edff;
}

.login-change button {
  justify-self: start;
  min-height: 46px;
  padding: 0 20px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(100deg, #a676ed, #d39cff);
  color: #211334;
  font-weight: 800;
  box-shadow: 0 0 20px rgba(189, 116, 255, .25);
}

.account-content:has(.login-change) {
  min-height: 720px;
}

.account-content:has(.topup-help) {
  display: grid;
  grid-template-columns: 420px minmax(0, 1fr);
  grid-template-rows: auto auto 1fr;
  column-gap: 56px;
  row-gap: 16px;
  min-height: 600px;
  overflow: hidden;
}

.account-content:has(.topup-help) #account-profile-view {
  display: contents;
}

.account-content:has(.topup-help) .topup-help {
  grid-column: 2;
  grid-row: 1 / -1;
  align-self: center;
  justify-self: center;
  width: min(100%, 440px);
  margin: 0;
  padding: 24px 26px;
  box-shadow: 0 0 30px rgba(167, 97, 239, .12), inset 0 0 24px rgba(151, 84, 225, .05);
}

.account-content:has(.topup-help) .topup-help ol {
  grid-template-columns: 1fr;
  gap: 12px;
  font-size: 14px;
}

.account-content:has(.topup-help) .account-balance-card {
  grid-column: 1;
  grid-row: 1;
  margin: 0;
  border-color: rgba(208, 153, 255, .68);
  background: linear-gradient(135deg, rgba(142, 70, 226, .5), rgba(32, 20, 61, .8));
  box-shadow: 0 0 30px rgba(191, 111, 255, .34), inset 0 0 26px rgba(209, 157, 255, .13);
}

.account-content:has(.topup-help) .topup-bonuses {
  grid-column: 1;
  grid-row: 2;
  max-width: 420px;
  margin: 0;
  padding: 16px 18px;
  border: 1px solid rgba(190, 143, 248, .24);
  border-radius: 14px;
  background: rgba(38, 24, 62, .38);
  box-shadow: inset 0 0 20px rgba(167, 98, 238, .06);
}

.account-content:has(.topup-help) #topup-form {
  grid-column: 1;
  grid-row: 3;
  align-self: start;
  margin: 0;
  padding-top: 4px;
}

.account-content:has(.topup-help) #topup-form input {
  box-shadow: inset 0 0 18px rgba(170, 98, 239, .08);
}

.account-content:has(.topup-help) #topup-form button {
  min-height: 56px;
  box-shadow: 0 0 30px rgba(193, 111, 255, .46), inset 0 1px 0 rgba(255, 255, 255, .25);
}

.profile-logout {
  position: absolute;
  right: 52px;
  bottom: 28px;
  min-height: 56px;
  margin: 0;
  padding: 0 28px;
  border: 1px solid rgba(224, 176, 255, .74);
  border-radius: 11px;
  background: linear-gradient(100deg, #a770ed, #d39bff);
  color: #211334;
  font-size: 18px;
  font-weight: 800;
  box-shadow: 0 0 28px rgba(194, 112, 255, .38), inset 0 1px 0 rgba(255, 255, 255, .26);
  transition: filter .2s ease, transform .2s ease, box-shadow .2s ease;
}

.profile-logout:hover,
.profile-logout:focus-visible {
  filter: brightness(1.08);
  transform: translateY(-2px);
  box-shadow: 0 0 34px rgba(210, 135, 255, .55), inset 0 1px 0 rgba(255, 255, 255, .3);
  outline: 0;
}

.account-content #orders {
  display: grid;
  gap: 4px;
}

.account-content .order-row {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  align-items: flex-start;
  padding: 17px 0;
  border-color: rgba(180, 140, 230, .18);
}

.account-content .order-row > span {
  display: grid;
  gap: 5px;
}

.account-content .order-row > span > strong {
  color: #e4deec;
  font-size: 14px;
}

.account-content .order-row small {
  color: #a9a2b5;
  font-size: 12px;
  line-height: 1.4;
}

.account-content .order-status {
  justify-items: end;
  max-width: 260px;
  text-align: right;
}

.account-content .order-status > strong {
  color: #c5a8ee;
}

.account-content .order-status > b {
  margin-top: 3px;
  color: #e4deec;
  font-size: 14px;
}

.orders-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 34px;
  align-items: start;
}

.orders-workspace .account-view {
  min-width: 0;
}

.orders-help {
  padding: 22px;
  border: 1px solid rgba(183, 183, 192, .14);
  border-radius: 16px;
  background: rgba(112, 112, 126, .16);
  color: #b9b9c2;
}

.orders-help h3 {
  margin: 0 0 15px;
  color: #d3d3d9;
  font-size: 16px;
}

.orders-help p {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
}

.orders-help p + p {
  margin-top: 12px;
}

.payment-status-workspace {
  width: min(100%, 620px);
  padding: 26px;
  border: 1px solid rgba(183, 183, 192, .18);
  border-radius: 16px;
  background: rgba(112, 112, 126, .14);
}

.payment-status-workspace h2 {
  margin: 6px 0 12px;
  color: #eee8f6;
  font-size: clamp(25px, 3vw, 36px);
}

.payment-status-workspace > p:not(.eyebrow) {
  max-width: 460px;
  margin: 0;
  color: #c9c2d3;
  line-height: 1.55;
}

.payment-status-workspace button {
  margin-top: 22px;
  padding: 11px 16px;
  border: 1px solid rgba(190, 136, 255, .5);
  border-radius: 9px;
  background: rgba(185, 135, 255, .16);
  color: #e6d9f4;
  font: 700 14px/1 Manrope, Arial, sans-serif;
  cursor: pointer;
}

.payment-status-workspace.paid {
  border-color: rgba(164, 230, 105, .35);
}

.payment-status-workspace.paid .eyebrow {
  color: #a9e86e;
}

.payment-status-workspace.expired {
  border-color: rgba(241, 164, 198, .35);
}

.payment-status-workspace.expired .eyebrow {
  color: #f1a4c6;
}

.onboarding-workspace,
.balance-history-workspace {
  width: min(100%, 720px);
}

.onboarding-workspace h2 {
  margin: 6px 0 24px;
  color: #eee8f6;
  font-size: clamp(25px, 3vw, 36px);
}

.onboarding-workspace ol {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.onboarding-workspace li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(183, 183, 192, .16);
  border-radius: 14px;
  background: rgba(112, 112, 126, .14);
  color: #c9c2d3;
}

.onboarding-workspace li b {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: #b987ff;
  color: #251337;
}

.onboarding-workspace li button {
  padding: 9px 13px;
  border: 1px solid rgba(190, 136, 255, .5);
  border-radius: 9px;
  background: rgba(185, 135, 255, .16);
  color: #e6d9f4;
  font: 700 13px/1 Manrope, Arial, sans-serif;
  cursor: pointer;
}

.balance-history-workspace {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(183, 183, 192, .16);
  border-radius: 14px;
  background: rgba(112, 112, 126, .1);
}

.balance-history-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(183, 183, 192, .12);
}

.balance-history-row:last-child {
  border-bottom: 0;
}

.balance-history-row span {
  display: grid;
  gap: 4px;
}

.balance-history-row strong {
  color: #e4deec;
  font-size: 14px;
}

.balance-history-row small {
  color: #a9a2b5;
  font-size: 12px;
}

.balance-history-row b {
  white-space: nowrap;
}

.balance-history-row.credit b {
  color: #a9e86e;
}

.balance-history-row.debit b {
  color: #f1a4c6;
}

@media (max-width: 1550px) and (min-width: 701px) {
  body.is-authenticated main {
    max-width: 1180px;
  }

  .is-authenticated .landing-solo {
    grid-template-columns: 300px minmax(0, 1fr);
  }

  .is-authenticated .landing-platforms {
    min-width: 0;
  }
}

@media (max-width: 700px) {
  .onboarding-workspace li {
    grid-template-columns: 30px minmax(0, 1fr);
  }

  .onboarding-workspace li button {
    grid-column: 2;
    justify-self: start;
  }

  .account-content .order-row {
    flex-direction: column;
    gap: 12px;
  }

  .account-content .order-status {
    justify-items: start;
    max-width: none;
    text-align: left;
  }
}

.landing-account #orders {
  display: grid;
  gap: 5px;
  max-height: 250px;
  overflow-y: auto;
}

.is-authenticated .landing-platforms > p,
.is-authenticated .landing-platforms > span {
  margin: 0;
}

.is-authenticated .landing-platforms > span {
  display: none;
}

.is-authenticated .landing-platforms > div {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-content: center;
  gap: 20px;
}

.is-authenticated .landing-platforms button {
  justify-content: center;
  min-height: 64px;
  padding: 20px;
  font-size: 20px;
  border-color: rgba(189, 139, 255, .45);
  box-shadow: inset 0 0 28px rgba(104, 55, 169, .16);
}

.is-authenticated .landing-platforms button img {
  width: 38px;
  height: 38px;
  flex-basis: 38px;
}

.is-authenticated .landing-platforms > p {
  font-size: 25px;
}

.is-authenticated .landing-platforms > span {
  font-size: 17px;
}

.is-authenticated .landing-platforms:has(.landing-service-list) {
  grid-template-rows: auto auto 1fr;
}

.is-authenticated .landing-platforms .landing-back {
  width: auto;
  min-height: 28px;
  margin: 0;
  padding: 0;
  justify-content: flex-start;
  font-size: 15px;
}

.is-authenticated .landing-platforms .landing-service-list {
  align-content: start;
}

.is-authenticated .landing-platforms .landing-service-list button {
  min-height: 64px;
  font-size: 18px;
}

.landing-catalog {
  position: absolute;
  right: -158px;
  bottom: 74px;
  display: flex;
  width: 112px;
  height: 96px;
  align-items: center;
  justify-content: center;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #dec6ff !important;
  text-shadow: 0 0 12px rgba(187, 139, 255, .72);
  animation: landing-arrow-bob 1.6s ease-in-out infinite;
}

.landing-catalog span {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  opacity: 0;
  color: #edd8ff;
  font: 800 22px/1 Manrope, Arial, sans-serif;
  letter-spacing: .5px;
  text-shadow: 0 0 14px rgba(207, 147, 255, .9);
  transform: translate(-50%, 4px);
  transition: opacity .18s ease, transform .18s ease;
  white-space: nowrap;
}

.landing-catalog b {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  font: 700 74px/1 Manrope, Arial, sans-serif;
}

.landing-catalog:hover span,
.landing-catalog:focus-visible span {
  opacity: 1;
  transform: translate(-50%, 0) scale(1.08);
}

.is-authenticated .landing-catalog {
  right: -158px;
  bottom: 74px;
  left: auto;
  margin-left: 0;
}

.landing-catalog:hover {
  animation-play-state: paused;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: translateY(2px);
}

.landing-catalog:focus-visible {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  outline: 0;
}

@keyframes landing-arrow-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(3px); }
}

.landing-catalog {
  transition: opacity .28s ease;
}

.landing-catalog.is-hidden {
  opacity: 0;
  pointer-events: none;
  animation: none;
}

.landing-platforms {
  position: relative;
  isolation: isolate;
  padding: 28px;
  border: 0;
  border-radius: 24px;
  background:
    radial-gradient(ellipse at 14% 4%, rgba(78, 55, 119, .68), rgba(43, 32, 68, .3) 48%, transparent 76%),
    radial-gradient(ellipse at 88% 96%, rgba(31, 25, 48, .72), transparent 72%);
  box-shadow: 0 18px 68px rgba(0, 0, 0, .26);
}

.landing-platforms::before {
  position: absolute;
  z-index: -1;
  inset: -34px;
  content: "";
  border-radius: 54px;
  background: radial-gradient(ellipse at center, rgba(112, 74, 171, .34), rgba(41, 29, 68, .16) 48%, transparent 74%);
  filter: blur(28px);
}

.landing-platforms > p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 24px;
  color: #cbbce9;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -.3px;
}

.landing-selected img {
  width: 28px;
  height: 28px;
}

.landing-platforms > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.landing-platforms button {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 12px 14px;
  border: 1px solid #453861;
  border-radius: 13px;
  background: #191522;
  color: #ece5f8;
  font: 700 16px/1.2 Manrope, Arial, sans-serif;
  text-align: left;
  transition: border-color .28s ease, background .28s ease, transform .28s cubic-bezier(.2,.8,.2,1), box-shadow .28s ease;
}

.landing-platforms button:hover,
.landing-platforms button:focus-visible {
  border-color: #ae88ee;
  background: #2b2140;
  outline: 0;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .2);
  transform: translateY(-1px);
}

.landing-platforms button:active {
  transform: scale(.98);
}

.landing-platforms button img {
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
}

.subtypes .country-flag {
  margin-right: 0;
  margin-left: 6px;
}

.landing-platforms > span {
  display: block;
  margin-top: 18px;
  color: #aaa2b9;
  font-size: 15px;
}

.landing-platforms .landing-back {
  min-height: auto;
  margin: -4px 0 20px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #c8abfb;
  font-size: 14px;
}

.landing-platforms .landing-back:hover,
.landing-platforms .landing-back:focus-visible {
  background: transparent;
  color: #eee7ff;
  transform: none;
}

.landing-platforms .landing-service-list button {
  min-height: 52px;
  font-size: 15px;
}

#landing-login {
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}

#landing-login:hover {
  box-shadow: 0 10px 28px rgba(174, 136, 238, .28);
  transform: translateY(-2px);
}

#landing-login:active {
  box-shadow: 0 2px 8px rgba(174, 136, 238, .18);
  transform: scale(.96);
}

.landing-type-icon {
  display: grid;
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  place-items: center;
  border-radius: 8px;
  background: #2b2140;
  font-size: 15px;
}

@media (max-width: 900px) {
  .landing-solo {
    grid-template-columns: 1fr;
    gap: 38px;
  }
}

@media (max-width: 700px) {
  .profile-quick-menu {
    width: min(350px, calc(100vw - 24px));
  }

  .landing-solo {
    display: block;
    min-height: auto;
  }

  .is-authenticated .landing-platforms {
    min-height: 0;
    padding: 28px 20px;
  }

  .is-authenticated .landing-solo {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .landing-account {
    min-height: 0;
  }

  .password-change {
    grid-template-columns: 1fr;
  }

  .support-composer {
    grid-template-columns: 1fr;
  }

  .admin-support-workspace {
    grid-template-columns: 1fr;
  }

  .admin-support-conversations {
    grid-row: auto;
    max-height: 180px;
  }

  .admin-support-composer {
    grid-template-columns: 1fr;
  }

  .profile-workspace {
    grid-template-columns: 1fr;
  }

  .profile-workspace > div:first-child,
  .profile-workspace > div:nth-child(2),
  .password-change,
  .login-change {
    grid-column: auto;
    grid-row: auto;
  }

  .orders-workspace {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .profile-logout {
    position: static;
    justify-self: end;
    margin-top: 8px;
  }

  .topup-help {
    position: static;
    width: auto;
    margin-top: 24px;
  }

  .account-content:has(.topup-help) {
    display: block;
    min-height: 0;
    overflow: visible;
  }

  .account-content:has(.topup-help) #account-profile-view {
    display: block;
  }

  .account-content:has(.topup-help) .topup-bonuses {
    margin: 18px 0;
  }

  .topup-help ol {
    grid-template-columns: 1fr;
  }

  .topup-bonuses {
    margin-left: 0;
  }

  .is-authenticated .landing-platforms > div {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .is-authenticated .landing-platforms button {
    min-height: 88px;
    padding: 14px;
    font-size: 16px;
  }

  .is-authenticated .landing-platforms button img {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
  }

  .is-authenticated .landing-platforms > p {
    font-size: 21px;
  }

  .landing-platforms {
    margin-top: 38px;
    padding: 20px;
  }

  .landing-catalog {
    right: 0;
    bottom: 24px;
  }
}
