:root {
  --account-bg: #071820;
  --account-surface: #0c2732;
  --account-surface-2: #123543;
  --account-surface-3: #173f4e;
  --account-border: rgba(177, 215, 230, 0.13);
  --account-text: #f5fbff;
  --account-muted: #9db7c3;
  --account-blue: #1e82ef;
  --account-green: #12df4e;
  --account-gold: #ffca42;
  --account-danger: #ff6673;
  --account-radius: 18px;
  --account-shadow: 0 20px 48px rgba(0, 0, 0, 0.25);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  min-width: 280px;
  min-height: 100%;
  background: var(--account-bg);
  -webkit-text-size-adjust: 100%;
}

body,
button,
input,
select,
textarea {
  font-family: "Barlow", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

.account-body {
  min-height: 100vh;
  margin: 0;
  padding: 0 0 calc(82px + env(safe-area-inset-bottom));
  overflow-x: hidden;
  color: var(--account-text);
  background:
    radial-gradient(circle at 13% 0%, rgba(30, 130, 239, 0.15), transparent 30%),
    radial-gradient(circle at 90% 22%, rgba(18, 223, 78, 0.07), transparent 27%),
    linear-gradient(180deg, #0b222c 0%, var(--account-bg) 45%);
}

.account-topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--account-border);
  background: rgba(7, 24, 32, 0.94);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(16px);
}

.account-topbar__inner {
  width: min(1180px, 100%);
  min-height: 62px;
  margin: 0 auto;
  padding: 8px 14px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
}

.account-topbar h1 {
  margin: 0;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.account-brand {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 900;
}

.account-brand__mark {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  flex: 0 0 32px;
  border-radius: 10px;
  color: #071820;
  font-size: 13px;
  letter-spacing: -0.08em;
  background: linear-gradient(145deg, var(--account-green), #7cff9e);
  box-shadow: 0 6px 18px rgba(18, 223, 78, 0.24);
}

.account-icon-button {
  position: relative;
  width: 44px;
  height: 44px;
  margin-left: auto;
  display: grid;
  place-items: center;
  border: 1px solid var(--account-border);
  border-radius: 13px;
  color: var(--account-text);
  background: rgba(255, 255, 255, 0.04);
}

.account-notification-badge {
  position: absolute;
  top: -3px;
  right: -3px;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border: 2px solid #071820;
  border-radius: 999px;
  color: #061019;
  background: var(--account-green);
  font-size: 10px;
  font-weight: 900;
  line-height: 15px;
}

.account-page {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 14px 10px 28px;
}

.account-loading {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--account-muted);
}

.account-spinner {
  width: 34px;
  height: 34px;
  border: 3px solid rgba(255, 255, 255, 0.12);
  border-top-color: var(--account-green);
  border-radius: 50%;
  animation: account-spin 0.8s linear infinite;
}

@keyframes account-spin {
  to { transform: rotate(360deg); }
}

.account-app,
.account-content,
.account-dashboard,
.account-panel {
  min-width: 0;
}

.account-sidebar {
  display: none;
}

.account-hero {
  padding: 16px;
  overflow: hidden;
  border: 1px solid rgba(94, 186, 255, 0.17);
  border-radius: 22px;
  background:
    radial-gradient(circle at 90% -10%, rgba(18, 223, 78, 0.14), transparent 35%),
    linear-gradient(145deg, #163c4c, #0d2935 62%);
  box-shadow: var(--account-shadow);
}

.account-hero__top {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 11px;
}

.account-avatar {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  flex: 0 0 54px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #071820;
  background: linear-gradient(145deg, #d8ecff, #77bdff);
  box-shadow: inset 0 0 0 4px rgba(7, 24, 32, 0.17);
  font-size: 18px;
  font-weight: 900;
}

.account-avatar--large {
  width: 58px;
  height: 58px;
}

.account-hero__identity {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.account-hero__identity strong {
  overflow: hidden;
  font-size: 17px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-hero__identity span {
  color: var(--account-muted);
  font-size: 13px;
  font-weight: 600;
}

.account-loyalty-progress {
  width: 100%;
  min-height: 54px;
  margin-top: 14px;
  padding: 9px 11px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 5px 10px;
  border: 1px solid rgba(255, 202, 66, 0.15);
  border-radius: 14px;
  color: var(--account-text);
  background: rgba(3, 17, 23, 0.38);
  text-align: left;
}

.account-loyalty-progress > span:first-child {
  color: var(--account-gold);
}

.account-loyalty-progress > span:nth-child(2) {
  color: var(--account-muted);
  font-size: 11px;
  font-weight: 800;
}

.account-progress {
  height: 5px;
  grid-column: 1 / -1;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.account-progress i {
  width: 0;
  height: 100%;
  display: block;
  border-radius: inherit;
  background: linear-gradient(90deg, #ffb82e, #ffe48b);
  transition: width 0.3s ease;
}

.account-hero__balance {
  margin-top: 20px;
  display: grid;
  gap: 2px;
}

.account-hero__balance span {
  color: var(--account-muted);
  font-size: 12px;
  font-weight: 700;
}

.account-hero__balance strong {
  overflow-wrap: anywhere;
  font-size: clamp(29px, 9vw, 42px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.account-hero__actions,
.account-sidebar__wallet-actions {
  margin-top: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.account-primary-button,
.account-secondary-button,
.account-danger-button,
.account-quiet-button {
  min-height: 46px;
  padding: 0 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 13px;
  font-weight: 900;
}

.account-primary-button {
  border: 1px solid var(--account-green);
  color: #061b0d;
  background: var(--account-green);
}

.account-secondary-button {
  border: 1px solid rgba(95, 173, 255, 0.45);
  color: #eaf5ff;
  background: rgba(30, 130, 239, 0.18);
}

.account-danger-button {
  border: 1px solid rgba(255, 102, 115, 0.38);
  color: #ffd8dc;
  background: rgba(255, 102, 115, 0.1);
}

.account-quiet-button {
  border: 1px solid var(--account-border);
  color: var(--account-text);
  background: rgba(255, 255, 255, 0.035);
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.account-loyalty-banner {
  width: 100%;
  min-height: 76px;
  margin-top: 12px;
  padding: 12px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 11px;
  border: 1px solid rgba(255, 202, 66, 0.14);
  border-radius: 17px;
  color: var(--account-text);
  background: linear-gradient(105deg, rgba(87, 62, 8, 0.32), rgba(20, 48, 58, 0.88));
  text-align: left;
}

.account-loyalty-banner > span:nth-child(2),
.account-services button > span:nth-child(2) {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.account-loyalty-banner small,
.account-services small {
  color: var(--account-muted);
  font-size: 11px;
  line-height: 1.3;
}

.account-loyalty-banner > i,
.account-services button > i {
  color: #6f8d99;
  font-size: 12px;
}

.account-service-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  border-radius: 13px;
}

.account-service-icon--gold { color: #ffd86d; background: rgba(255, 202, 66, 0.13); }
.account-service-icon--orange { color: #ff9e44; background: rgba(255, 126, 38, 0.12); }
.account-service-icon--blue { color: #73b8ff; background: rgba(30, 130, 239, 0.13); }
.account-service-icon--green { color: #77f49b; background: rgba(18, 223, 78, 0.1); }
.account-service-icon--purple { color: #c2a1ff; background: rgba(142, 84, 255, 0.12); }
.account-service-icon--cyan { color: #70e7fb; background: rgba(43, 211, 239, 0.11); }

.account-shortcuts {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.account-shortcuts a,
.account-shortcuts button {
  min-width: 0;
  min-height: 96px;
  padding: 12px 7px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid var(--account-border);
  border-radius: 16px;
  color: var(--account-text);
  background: rgba(14, 43, 54, 0.88);
  text-align: center;
}

.account-shortcuts i {
  color: #6db6ff;
  font-size: 21px;
}

.account-shortcuts span {
  max-width: 100%;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.account-services {
  margin-top: 17px;
  overflow: hidden;
  border: 1px solid var(--account-border);
  border-radius: var(--account-radius);
  background: rgba(12, 39, 50, 0.9);
}

.account-services h2 {
  margin: 0;
  padding: 14px 14px 8px;
  color: #dcebf1;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.account-services button {
  width: 100%;
  min-height: 68px;
  padding: 10px 12px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 11px;
  border: 0;
  border-top: 1px solid var(--account-border);
  color: var(--account-text);
  background: transparent;
  text-align: left;
}

.account-services strong {
  font-size: 14px;
}

.account-footer {
  padding: 26px 10px 10px;
  color: var(--account-muted);
  text-align: center;
}

.account-footer strong {
  color: #dceaf0;
}

.account-footer strong span {
  margin-right: 5px;
  color: var(--account-green);
}

.account-footer p {
  margin: 7px 0 0;
  font-size: 12px;
}

.account-panel {
  min-height: 420px;
  overflow: hidden;
  border: 1px solid var(--account-border);
  border-radius: var(--account-radius);
  background: rgba(10, 33, 43, 0.96);
  box-shadow: var(--account-shadow);
}

.account-panel__header {
  min-height: 72px;
  padding: 13px 14px;
  display: flex;
  align-items: center;
  gap: 11px;
  border-bottom: 1px solid var(--account-border);
}

.account-panel__back {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  border: 1px solid var(--account-border);
  border-radius: 13px;
  color: var(--account-text);
  background: rgba(255, 255, 255, 0.04);
}

.account-panel__title {
  min-width: 0;
}

.account-panel__title h2 {
  margin: 0;
  font-size: 19px;
}

.account-panel__title p {
  margin: 3px 0 0;
  color: var(--account-muted);
  font-size: 12px;
}

.account-panel__body {
  padding: 14px;
}

.account-panel__section {
  padding: 14px;
  border: 1px solid var(--account-border);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.025);
}

.account-panel__section + .account-panel__section {
  margin-top: 12px;
}

.account-panel__section h3 {
  margin: 0 0 12px;
  font-size: 16px;
}

.account-panel__section > p {
  margin: 0;
  color: var(--account-muted);
  line-height: 1.5;
}

.account-form-grid {
  display: grid;
  gap: 12px;
}

.account-field {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.account-field label {
  color: #d9e9ef;
  font-size: 12px;
  font-weight: 800;
}

.account-field small {
  color: #91aab5;
  font-size: 11px;
  line-height: 1.45;
}

.account-field--wide {
  grid-column: 1 / -1;
}

.account-field input,
.account-field select,
.account-field textarea {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  border: 1px solid rgba(180, 217, 231, 0.16);
  border-radius: 12px;
  outline: none;
  color: var(--account-text);
  background: #071c25;
}

.account-field input,
.account-field select {
  padding: 0 12px;
}

.account-field textarea {
  min-height: 122px;
  padding: 12px;
  resize: vertical;
}

.account-field input:focus,
.account-field select:focus,
.account-field textarea:focus {
  border-color: rgba(30, 130, 239, 0.75);
  box-shadow: 0 0 0 3px rgba(30, 130, 239, 0.12);
}

.account-field input[readonly] {
  color: #91aab5;
  background: rgba(3, 16, 22, 0.62);
}

.account-copy-control {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.account-copy-button {
  min-width: 92px;
  min-height: 46px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid rgba(30, 130, 239, 0.48);
  border-radius: 12px;
  color: #eaf5ff;
  background: rgba(30, 130, 239, 0.18);
  font-size: 12px;
  font-weight: 900;
}

.account-copy-button.is-copied {
  border-color: rgba(18, 223, 78, 0.55);
  color: #c8ffd6;
  background: rgba(18, 223, 78, 0.12);
}

.account-form-actions {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.account-form-message {
  min-height: 19px;
  margin: 10px 0 0;
  color: var(--account-muted);
  font-size: 13px;
  font-weight: 700;
}

.account-form-message.is-error { color: #ff9ca5; }
.account-form-message.is-success { color: #77f49b; }

.account-balance-card {
  padding: 16px;
  display: grid;
  gap: 4px;
  border: 1px solid rgba(30, 130, 239, 0.18);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(30, 130, 239, 0.16), rgba(18, 223, 78, 0.06));
}

.account-balance-card > span {
  color: var(--account-muted);
  font-size: 12px;
}

.account-balance-card > strong {
  font-size: 27px;
}

.account-balance-card > small {
  color: #c9dde5;
}

.account-deposit-options {
  min-width: 0;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  gap: 10px;
  border: 0;
}

.account-deposit-options legend {
  width: 100%;
  margin-bottom: 8px;
  color: #d9e9ef;
  font-size: 12px;
  font-weight: 800;
}

.account-deposit-option {
  position: relative;
  display: block;
  cursor: pointer;
}

.account-deposit-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.account-deposit-option span {
  min-height: 52px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(180, 217, 231, 0.2);
  border-radius: 13px;
  color: #d9e9ef;
  background: #071c25;
  font-weight: 900;
  transition: border-color 150ms ease, background 150ms ease, box-shadow 150ms ease;
}

.account-deposit-option input:checked + span {
  border-color: var(--account-green);
  color: #dfffe8;
  background: rgba(18, 223, 78, 0.12);
  box-shadow: 0 0 0 3px rgba(18, 223, 78, 0.08);
}

.account-deposit-option input:focus-visible + span {
  outline: 2px solid #66aaff;
  outline-offset: 2px;
}

.account-deposit-unavailable {
  grid-column: 1 / -1;
  padding: 13px;
  border: 1px solid rgba(255, 202, 66, 0.28);
  border-radius: 13px;
  color: #ffe9ab;
  background: rgba(255, 202, 66, 0.07);
  font-size: 12px;
  line-height: 1.45;
}

.account-limit-note {
  margin: 10px 0 0;
  color: var(--account-muted);
  font-size: 12px;
  line-height: 1.45;
}

.account-fee-required {
  position: relative;
  margin-top: 16px;
  padding: 16px 16px 16px 18px;
  overflow: hidden;
  border: 1px solid rgba(18, 223, 78, 0.42);
  border-radius: 14px;
  color: #dff8e7;
  background:
    linear-gradient(135deg, rgba(18, 223, 78, 0.14), rgba(18, 223, 78, 0.035)),
    #0a2228;
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.account-fee-required::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--account-green);
}

.account-fee-required strong {
  display: block;
  color: #64ff94;
  font-size: 15px;
  line-height: 1.35;
}

.account-fee-required strong span {
  color: var(--account-text);
}

.account-fee-required p {
  margin: 8px 0 0;
  color: #c5ddd2;
  font-size: 13px;
  line-height: 1.5;
}

.account-fee-required p span {
  color: var(--account-text);
  font-weight: 800;
}

.account-withdrawal-fee {
  margin-top: 12px;
  padding: 13px;
  display: grid;
  gap: 8px;
  border: 1px solid rgba(255, 202, 66, 0.3);
  border-radius: 14px;
  background: rgba(255, 202, 66, 0.07);
}

.account-withdrawal-fee > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--account-muted);
  font-size: 13px;
}

.account-withdrawal-fee strong {
  color: var(--account-text);
  white-space: nowrap;
}

.account-withdrawal-fee .is-payout {
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  color: var(--account-text);
  font-weight: 800;
}

.account-withdrawal-fee .is-payout strong {
  color: var(--account-green);
  font-size: 17px;
}

.account-withdrawal-fee p {
  margin: 2px 0 0;
  color: var(--account-muted);
  font-size: 12px;
  line-height: 1.45;
}

.account-withdrawal-fee a {
  width: fit-content;
  color: #8dc8ff;
  font-size: 12px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.account-withdrawal-demo {
  margin: 14px 0;
  padding: 15px;
  display: grid;
  gap: 11px;
  border: 1px solid rgba(255, 202, 66, 0.42);
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(255, 202, 66, 0.13), rgba(30, 130, 239, 0.08)),
    var(--account-surface);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

.account-withdrawal-demo__head,
.account-withdrawal-demo__amounts > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.account-withdrawal-demo__head > span {
  padding: 5px 8px;
  border-radius: 999px;
  color: #281c00;
  background: var(--account-gold);
  font-size: 10px;
  font-weight: 1000;
  letter-spacing: 0.08em;
}

.account-withdrawal-demo__head > strong {
  color: #ffe39b;
  font-size: 12px;
}

.account-withdrawal-demo h3,
.account-withdrawal-demo p {
  margin: 0;
}

.account-withdrawal-demo h3 {
  font-size: 17px;
}

.account-withdrawal-demo p {
  color: #d6e4ea;
  font-size: 12px;
  line-height: 1.5;
}

.account-withdrawal-demo__amounts {
  display: grid;
  gap: 7px;
  padding: 10px;
  border: 1px solid var(--account-border);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.12);
}

.account-withdrawal-demo__amounts span {
  color: var(--account-muted);
  font-size: 12px;
}

.account-withdrawal-demo__amounts strong {
  overflow-wrap: anywhere;
  text-align: right;
  font-size: 13px;
}

.account-withdrawal-demo__complete {
  padding: 10px;
  border-radius: 11px;
  color: #bfffd0;
  background: rgba(18, 223, 78, 0.1);
  font-size: 12px;
  font-weight: 800;
}

.account-provider-note {
  margin-top: 12px;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--account-border);
  border-radius: 13px;
  color: #d7e9f0;
  background: rgba(255, 255, 255, 0.025);
}

.account-provider-note i {
  color: var(--account-green);
}

.account-tabs,
.account-filter-row {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  scrollbar-width: none;
}

.account-tabs::-webkit-scrollbar,
.account-filter-row::-webkit-scrollbar {
  display: none;
}

.account-tabs {
  margin-bottom: 14px;
}

.account-tabs button,
.account-filter-row button {
  min-height: 42px;
  padding: 0 14px;
  flex: 0 0 auto;
  border: 1px solid var(--account-border);
  border-radius: 999px;
  color: var(--account-muted);
  background: rgba(255, 255, 255, 0.03);
  font-size: 12px;
  font-weight: 800;
}

.account-tabs button.is-active,
.account-filter-row button.is-active {
  border-color: rgba(18, 223, 78, 0.45);
  color: #bfffd0;
  background: rgba(18, 223, 78, 0.1);
}

.account-withdraw-destination[hidden] {
  display: none;
}

.account-record-list {
  margin-top: 12px;
  display: grid;
  gap: 9px;
}

.account-record,
.account-notification,
.account-support-record,
.account-session {
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--account-border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
}

.account-record__top,
.account-record__meta,
.account-notification__top,
.account-session__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.account-record strong,
.account-notification strong,
.account-support-record strong {
  overflow-wrap: anywhere;
}

.account-record__amount {
  white-space: nowrap;
}

.account-record__amount.is-negative { color: #ff9ca5; }
.account-record__amount.is-positive { color: #77f49b; }

.account-record__meta {
  margin-top: 7px;
  color: var(--account-muted);
  font-size: 11px;
}

.account-record__details {
  margin: 9px 0 0;
  padding-top: 9px;
  border-top: 1px solid var(--account-border);
  color: #c7dbe3;
  font-size: 12px;
  line-height: 1.45;
}

.account-details-button,
.account-link-button {
  min-height: 40px;
  padding: 0 10px;
  border: 0;
  color: #73b8ff;
  background: transparent;
  font-size: 12px;
  font-weight: 800;
}

.account-status-pill {
  min-height: 24px;
  padding: 0 8px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  color: #dcebf1;
  background: rgba(255, 255, 255, 0.08);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.account-status-pill.is-pending { color: #ffe0a0; background: rgba(255, 177, 43, 0.12); }
.account-status-pill.is-completed,
.account-status-pill.is-submitted { color: #bfffd0; background: rgba(18, 223, 78, 0.1); }

.account-empty {
  padding: 28px 16px;
  display: grid;
  place-items: center;
  gap: 8px;
  border: 1px dashed rgba(177, 215, 230, 0.18);
  border-radius: 15px;
  color: var(--account-muted);
  text-align: center;
}

.account-empty i {
  color: #7ba1b1;
  font-size: 28px;
}

.account-empty strong {
  color: var(--account-text);
}

.account-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.account-stat {
  min-width: 0;
  padding: 13px;
  display: grid;
  gap: 4px;
  border: 1px solid var(--account-border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
}

.account-stat span {
  color: var(--account-muted);
  font-size: 11px;
}

.account-stat strong {
  overflow-wrap: anywhere;
  font-size: 20px;
}

.account-big-icon {
  width: 66px;
  height: 66px;
  margin-bottom: 13px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  color: var(--account-gold);
  background: rgba(255, 202, 66, 0.11);
  font-size: 28px;
}

.account-referral-link {
  margin-top: 12px;
  padding: 11px;
  overflow-wrap: anywhere;
  border: 1px solid var(--account-border);
  border-radius: 12px;
  color: #b9d6e1;
  background: #071c25;
  font-size: 12px;
}

.account-notification {
  position: relative;
}

.account-notification:not(.is-read) {
  border-color: rgba(30, 130, 239, 0.33);
  background: rgba(30, 130, 239, 0.07);
}

.account-notification:not(.is-read)::before {
  content: "";
  position: absolute;
  top: 16px;
  left: -4px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--account-blue);
}

.account-notification p,
.account-support-record p,
.account-session p {
  margin: 7px 0 0;
  color: var(--account-muted);
  font-size: 12px;
  line-height: 1.45;
}

.account-notification time,
.account-support-record time,
.account-session time {
  color: #7896a2;
  font-size: 10px;
}

.account-password-field {
  position: relative;
}

.account-password-field input {
  padding-right: 52px;
}

.account-password-toggle {
  position: absolute;
  right: 5px;
  bottom: 5px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 9px;
  color: var(--account-muted);
  background: rgba(255, 255, 255, 0.05);
}

.account-guide {
  display: grid;
  gap: 12px;
}

.account-guide article {
  padding: 14px;
  border: 1px solid var(--account-border);
  border-radius: 14px;
}

.account-guide h3 {
  margin: 0 0 6px;
}

.account-guide p {
  margin: 0;
  color: var(--account-muted);
  line-height: 1.5;
}

.account-bottom-nav {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 35;
  min-height: calc(72px + env(safe-area-inset-bottom));
  padding: 6px 4px env(safe-area-inset-bottom);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--account-border);
  background: rgba(7, 24, 32, 0.97);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(16px);
}

.account-bottom-nav a {
  min-width: 0;
  min-height: 58px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: 13px;
  color: #849eaa;
}

.account-bottom-nav i {
  font-size: 18px;
}

.account-bottom-nav span {
  font-size: 10px;
  font-weight: 800;
}

.account-bottom-nav a.is-active {
  color: var(--account-green);
  background: rgba(18, 223, 78, 0.08);
}

.account-toast {
  position: fixed;
  right: 12px;
  bottom: calc(86px + env(safe-area-inset-bottom));
  left: 12px;
  z-index: 60;
  max-width: 440px;
  margin-left: auto;
  padding: 13px 15px;
  border: 1px solid rgba(18, 223, 78, 0.35);
  border-radius: 13px;
  color: #dcffe5;
  background: #0d3320;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.34);
  font-size: 13px;
  font-weight: 800;
}

.account-toast.is-error {
  border-color: rgba(255, 102, 115, 0.4);
  color: #ffe0e3;
  background: #3b171d;
}

@media (min-width: 560px) {
  .account-page {
    padding: 20px 18px 34px;
  }

  .account-hero,
  .account-panel__body {
    padding: 20px;
  }

  .account-form-grid--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .account-stat-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .account-body {
    padding-bottom: 40px;
  }

  .account-topbar__inner {
    min-height: 70px;
    padding: 10px 24px;
  }

  .account-topbar h1 {
    display: none;
  }

  .account-brand {
    font-size: 20px;
  }

  .account-brand__mark {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .account-page {
    padding: 28px 24px;
  }

  .account-app {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    align-items: start;
    gap: 20px;
  }

  .account-sidebar {
    position: sticky;
    top: 98px;
    max-height: calc(100vh - 126px);
    display: block;
    overflow-y: auto;
    border: 1px solid var(--account-border);
    border-radius: 20px;
    background: rgba(10, 33, 43, 0.96);
    box-shadow: var(--account-shadow);
  }

  .account-sidebar__summary {
    padding: 20px;
    display: grid;
    justify-items: center;
    border-bottom: 1px solid var(--account-border);
    text-align: center;
  }

  .account-sidebar__summary > strong {
    margin-top: 10px;
    font-size: 18px;
  }

  .account-sidebar__summary > span {
    margin-top: 3px;
    color: var(--account-muted);
    font-size: 13px;
  }

  .account-status {
    margin-top: 7px !important;
    color: #8cf5a9 !important;
    font-size: 11px !important;
    font-weight: 800;
  }

  .account-sidebar__balance {
    width: 100%;
    margin-top: 16px;
    padding: 13px;
    display: grid;
    gap: 3px;
    border: 1px solid var(--account-border);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.025);
    text-align: left;
  }

  .account-sidebar__balance span,
  .account-sidebar__balance small {
    color: var(--account-muted);
    font-size: 11px;
  }

  .account-sidebar__balance strong {
    font-size: 23px;
  }

  .account-sidebar__balance b {
    color: #dcebf1;
  }

  .account-sidebar__wallet-actions {
    width: 100%;
  }

  .account-sidebar__wallet-actions button {
    padding: 0 9px;
    font-size: 12px;
  }

  .account-sidebar__nav {
    padding: 9px;
  }

  .account-sidebar__nav button,
  .account-sidebar__nav a {
    width: 100%;
    min-height: 45px;
    padding: 0 12px;
    display: grid;
    grid-template-columns: 23px 1fr;
    align-items: center;
    gap: 9px;
    border: 0;
    border-radius: 11px;
    color: #adc3cd;
    background: transparent;
    text-align: left;
    font-size: 13px;
    font-weight: 700;
  }

  .account-sidebar__nav button:hover,
  .account-sidebar__nav a:hover,
  .account-sidebar__nav button.is-active {
    color: var(--account-text);
    background: rgba(30, 130, 239, 0.11);
  }

  .account-sidebar__nav i {
    color: #6ea9c2;
    text-align: center;
  }

  .account-sidebar__nav .account-sidebar__logout {
    margin-top: 7px;
    color: #ff9ca5;
  }

  .account-dashboard {
    display: none;
  }

  .account-panel {
    min-height: 700px;
  }

  .account-panel__back {
    display: none;
  }

  .account-panel__header {
    padding: 18px 22px;
  }

  .account-panel__title h2 {
    font-size: 23px;
  }

  .account-panel__body {
    padding: 22px;
  }

  .account-bottom-nav {
    display: none;
  }

  .account-toast {
    bottom: 24px;
    left: auto;
  }
}

@media (max-width: 359px) {
  .account-page {
    padding-right: 8px;
    padding-left: 8px;
  }

  .account-hero {
    padding: 13px;
  }

  .account-shortcuts a,
  .account-shortcuts button {
    min-height: 92px;
    padding-right: 4px;
    padding-left: 4px;
  }

  .account-shortcuts span {
    font-size: 10px;
  }

  .account-hero__actions button {
    padding: 0 9px;
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
