:root {
  --bg: #06101d;
  --bg-soft: #0c1728;
  --panel: #101d31;
  --panel-soft: #13243b;
  --text: #f1f8ff;
  --muted: #8ea3bd;
  --line: rgba(151, 244, 229, 0.16);
  --green: #89f05a;
  --cyan: #46ead7;
  --yellow: #f4c64b;
  --rose: #ff6da8;
  --blue: #6e8cff;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  height: auto;
  overflow-x: hidden;
  overflow-y: auto;
  scroll-behavior: auto;
  touch-action: auto;
  -webkit-text-size-adjust: 100%;
}

body {
  min-width: 320px;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    linear-gradient(120deg, rgba(70, 234, 215, 0.08), transparent 34%),
    linear-gradient(220deg, rgba(137, 240, 90, 0.12), transparent 38%),
    linear-gradient(180deg, #071423 0%, #07101d 42%, #050a13 100%);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior-y: auto;
  touch-action: auto;
  -webkit-overflow-scrolling: touch;
}

body.modal-open {
  overflow: hidden;
}

body.sidebar-open {
  overflow-x: hidden;
  overflow-y: auto;
}

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

button {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

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

.twofa-panel {
  align-self: start;
}

.twofa-copy {
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.55;
}

.twofa-status-box {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  padding: 14px;
  margin-bottom: 14px;
  border: 1px solid rgba(137, 240, 90, 0.22);
  border-radius: 8px;
  background: rgba(137, 240, 90, 0.07);
}

.twofa-status-box i {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: #06101d;
  background: var(--green);
}

.twofa-status-box strong,
.twofa-secret-box strong {
  display: block;
  color: var(--text);
  font-weight: 900;
}

.twofa-status-box span,
.twofa-secret-box span,
.twofa-secret-box p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.twofa-setup-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: stretch;
  margin-bottom: 14px;
}

.twofa-qr-box {
  width: 154px;
  min-height: 154px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border-radius: 8px;
  background: #fff;
}

.twofa-qr-box img {
  width: 100%;
  height: auto;
}

.twofa-secret-box {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.twofa-secret-box strong {
  margin: 6px 0 8px;
  color: var(--green);
  word-break: break-all;
  letter-spacing: 0.08em;
}

.twofa-action-form {
  margin-top: 12px;
}

.twofa-withdraw-field small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.78rem;
}

.danger-button {
  border-color: rgba(255, 109, 168, 0.42) !important;
  color: #fff !important;
  background: rgba(255, 109, 168, 0.18) !important;
}

@media (max-width: 620px) {
  .twofa-setup-grid {
    grid-template-columns: 1fr;
  }

  .twofa-qr-box {
    width: 100%;
  }
}

img {
  display: block;
  max-width: 100%;
}

.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 30;
  display: flex;
  flex-direction: column;
  width: 260px;
  padding: 24px;
  border-right: 1px solid var(--line);
  background: rgba(7, 16, 29, 0.88);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transition: transform 180ms ease;
}

body.sidebar-closed .sidebar {
  transform: translateX(-100%);
}

body.sidebar-closed .shell {
  padding-left: 0;
}

.brand,
.side-nav a,
.topbar,
.search,
.top-actions,
.balance-actions,
.panel-head,
.asset-list .market-row {
  display: flex;
  align-items: center;
}

.brand {
  justify-content: center;
  min-height: 56px;
  font-weight: 900;
  transform: translateY(-8px);
}

.brand-logo {
  width: min(246px, 100%);
  height: auto;
  object-fit: contain;
  filter:
    hue-rotate(24deg)
    saturate(1.16)
    brightness(1.05)
    drop-shadow(0 10px 20px rgba(70, 234, 215, 0.22))
    drop-shadow(0 0 16px rgba(137, 240, 90, 0.14));
}

.coin {
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #07101d;
  font-weight: 950;
}

.side-nav {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.side-nav a {
  gap: 12px;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 800;
}

.side-nav a:hover,
.side-nav a.active {
  color: var(--text);
  border-color: var(--line);
  background: rgba(137, 240, 90, 0.08);
}

.side-nav span {
  display: inline-grid;
  place-items: center;
  width: 18px;
  color: #ff4d5f;
}

.side-nav i[class*="fa-"] {
  color: #ff4d5f;
  text-shadow: 0 0 14px rgba(255, 77, 95, 0.28);
}

.language-switcher {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 5px 6px 5px 10px;
  border: 1px solid rgba(70, 234, 215, 0.28);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(70, 234, 215, 0.11), rgba(137, 240, 90, 0.07));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 10px 24px rgba(0, 0, 0, 0.18);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.language-switcher:hover {
  border-color: rgba(70, 234, 215, 0.58);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 12px 28px rgba(0, 0, 0, 0.24);
  transform: translateY(-1px);
}

.language-switcher label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--cyan);
  font-size: 0.68rem;
  font-weight: 950;
  text-transform: uppercase;
}

.language-switcher label::before {
  content: "";
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1px solid rgba(70, 234, 215, 0.34);
  border-radius: 50%;
  background:
    radial-gradient(circle, transparent 38%, #07101d 40%, #07101d 45%, transparent 47%),
    linear-gradient(90deg, transparent 46%, #07101d 47%, #07101d 53%, transparent 54%),
    linear-gradient(0deg, transparent 46%, #07101d 47%, #07101d 53%, transparent 54%),
    var(--cyan);
  box-shadow: 0 0 16px rgba(70, 234, 215, 0.28);
}

.language-select {
  width: 132px;
  height: 36px;
  padding: 0 34px 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  outline: 0;
  color: var(--text);
  background-color: #081426;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--cyan) 50%),
    linear-gradient(135deg, var(--cyan) 50%, transparent 50%);
  background-position:
    calc(100% - 16px) 15px,
    calc(100% - 11px) 15px;
  background-repeat: no-repeat;
  background-size: 5px 5px, 5px 5px;
  appearance: none;
  -webkit-appearance: none;
  font-size: 0.86rem;
  font-weight: 900;
  cursor: pointer;
}

.language-select:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(70, 234, 215, 0.16), 0 0 20px rgba(70, 234, 215, 0.12);
}

.language-select option {
  color: #f3f8ff;
  background: #081426;
}

.google-translate-element,
.goog-te-banner-frame,
body > .skiptranslate {
  display: none !important;
}

body {
  top: 0 !important;
}

.sidebar-card {
  margin-top: auto;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(137, 240, 90, 0.12), rgba(70, 234, 215, 0.08));
}

.sidebar-card p,
.sidebar-card span,
.stat-card span,
.stat-card small,
.asset-list small {
  color: var(--muted);
}

.stat-card > span {
  color: #dcecff;
  font-size: 0.86rem;
  font-weight: 950;
  line-height: 1.25;
  text-transform: uppercase;
}

.sidebar-card p {
  margin: 0 0 8px;
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
}

.sidebar-card strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.32rem;
  line-height: 1.08;
}

.sidebar-card .sidebar-profit {
  color: var(--yellow);
  font-size: 1.58rem;
  text-shadow: 0 0 22px rgba(244, 198, 75, 0.18);
}

.sidebar-card span {
  display: block;
  line-height: 1.55;
}

.sidebar-mini-stats {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.sidebar-mini-stats b {
  display: block;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.045);
  font-size: 0.82rem;
}

.sidebar-upgrade-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  margin-top: 14px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #06101d;
  background: linear-gradient(135deg, var(--green), var(--cyan));
  font-size: 0.88rem;
  font-weight: 950;
  line-height: 1.15;
  text-align: center;
}

.sidebar-upgrade-button:hover {
  filter: brightness(1.07);
}

.shell {
  min-height: 100vh;
  min-height: 100dvh;
  padding-left: 260px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  justify-content: space-between;
  gap: 18px;
  min-height: 78px;
  padding: 16px 28px;
  padding-top: max(16px, env(safe-area-inset-top));
  border-bottom: 1px solid var(--line);
  background: rgba(6, 16, 29, 0.76);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.menu-toggle {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
}

.search {
  position: relative;
  gap: 10px;
  width: min(460px, 100%);
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.search input {
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--text);
  background: transparent;
  font-weight: 700;
}

.search input::placeholder {
  color: rgba(142, 163, 189, 0.75);
}

.faq-search-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  z-index: 50;
  display: none;
  max-height: min(360px, 70vh);
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(9, 20, 35, 0.98);
  box-shadow: var(--shadow);
  overflow-y: auto;
}

.search.is-search-open .faq-search-menu {
  display: grid;
  gap: 8px;
}

.faq-search-menu a {
  display: grid;
  gap: 5px;
  padding: 11px 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.faq-search-menu a:hover {
  border-color: rgba(137, 240, 90, 0.32);
  background: rgba(137, 240, 90, 0.08);
}

.faq-search-menu b {
  color: var(--text);
  font-size: 0.9rem;
}

.faq-search-menu span {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.4;
}

.top-actions {
  gap: 12px;
}

.icon-button,
.action-button,
.logout-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  white-space: nowrap;
}

.icon-button {
  width: 44px;
  padding: 0;
  font-weight: 900;
}

.logout-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  border: 1px solid rgba(255, 109, 168, 0.35);
  background: rgba(255, 109, 168, 0.11);
  font-weight: 900;
}

.logout-button:hover {
  border-color: rgba(255, 109, 168, 0.72);
  background: rgba(255, 109, 168, 0.18);
}

main {
  width: min(1420px, 100%);
  margin: 0 auto;
  padding: 28px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h2,
p {
  margin-top: 0;
}

h2 {
  margin-bottom: 0;
  font-size: 1.25rem;
  letter-spacing: 0;
}

.balance-actions {
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.action-button {
  padding: 0 18px;
  font-weight: 900;
  line-height: 1.15;
}

.action-button.primary {
  color: #06101d;
  border-color: transparent;
  background: linear-gradient(135deg, var(--green), var(--cyan));
}

.withdraw-button {
  color: white;
  border-color: transparent;
  background: linear-gradient(135deg, #2775ca, var(--blue));
}

.balance-card .withdraw-button {
  width: 100%;
  min-height: 52px;
  padding: 0 28px;
  font-size: 1rem;
}

.balance-card .dashboard-withdraw-button {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 13px;
  min-height: 66px;
  padding: 10px 16px 10px 11px;
  overflow: hidden;
  border: 1px solid rgba(108, 213, 255, 0.42);
  border-radius: 8px;
  color: #ffffff;
  background:
    linear-gradient(110deg, rgba(255, 255, 255, 0.12), transparent 34%),
    linear-gradient(135deg, #1268bd 0%, #168bd7 52%, #20b8d5 100%);
  box-shadow:
    0 14px 30px rgba(12, 95, 174, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  text-align: left;
  isolation: isolate;
  box-sizing: border-box;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.balance-card .dashboard-withdraw-button::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: -90%;
  left: -35%;
  width: 32%;
  height: 280%;
  background: rgba(255, 255, 255, 0.16);
  transform: rotate(22deg);
  transition: left 0.45s ease;
}

.balance-card .dashboard-withdraw-button:hover {
  transform: translateY(-2px);
  border-color: rgba(159, 234, 255, 0.76);
  box-shadow:
    0 18px 38px rgba(12, 95, 174, 0.4),
    0 0 0 3px rgba(70, 234, 215, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
  filter: saturate(1.08);
}

.balance-card .dashboard-withdraw-button:hover::after {
  left: 118%;
}

.balance-card .dashboard-withdraw-button:focus-visible {
  outline: 0;
  box-shadow:
    0 18px 38px rgba(12, 95, 174, 0.4),
    0 0 0 3px rgba(70, 234, 215, 0.28);
}

.withdraw-button-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  color: #07101d;
  background: linear-gradient(135deg, #e6fbff, #72e7f4);
  box-shadow: 0 8px 18px rgba(4, 50, 91, 0.22);
  font-size: 1rem;
}

.withdraw-button-copy {
  display: grid;
  gap: 3px;
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.withdraw-button-copy strong {
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 850;
  line-height: 1.15;
  text-transform: uppercase;
}

.withdraw-button-copy small {
  color: rgba(239, 250, 255, 0.76);
  font-size: 0.66rem;
  font-weight: 750;
  line-height: 1.25;
  overflow-wrap: anywhere;
  white-space: normal;
}

.withdraw-button-arrow {
  justify-self: end;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.8rem;
  transition: transform 0.2s ease;
}

.dashboard-withdraw-button:hover .withdraw-button-arrow {
  transform: translateX(3px);
}

@media (max-width: 760px) {
  .balance-card .dashboard-withdraw-button {
    grid-template-columns: 36px minmax(0, 1fr) 14px;
    gap: 10px;
    min-height: 60px;
    padding: 8px 11px 8px 8px;
  }

  .withdraw-button-icon {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }

  .withdraw-button-copy strong {
    font-size: 0.72rem;
  }

  .withdraw-button-copy small {
    font-size: 0.6rem;
  }
}

.mining-power-card .power-value {
  display: block;
  align-self: start;
  margin-top: -2px;
}

.mining-power-card .power-value .lime-value {
  display: block;
  max-width: 100%;
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
  line-height: 1.3;
  letter-spacing: -0.01em;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.mining-power-card .mining-card-spin-button {
  width: 100%;
  min-height: 48px;
  justify-content: center;
  gap: 9px;
  margin-top: auto;
  color: #05080d;
}

.mining-power-card .mining-card-spin-button i,
.mining-power-card .mining-card-spin-button span {
  color: #05080d;
}

@media (max-width: 360px) {
  .balance-card .dashboard-withdraw-button {
    grid-template-columns: 34px minmax(0, 1fr) 12px;
    gap: 8px;
    padding-right: 9px;
  }

  .withdraw-button-icon {
    width: 34px;
    height: 34px;
  }

  .withdraw-button-copy strong {
    font-size: 0.68rem;
  }

  .withdraw-button-copy small {
    font-size: 0.56rem;
  }
}

.cloud-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.cloud-button {
  width: 100%;
  min-height: 52px;
  padding: 0 14px;
  font-size: 1rem;
}

.professional-cloud-button {
  position: relative;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 16px;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 9px 14px 9px 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  background:
    linear-gradient(110deg, rgba(255, 255, 255, 0.1), transparent 36%),
    linear-gradient(135deg, #05070a 0%, #111820 52%, #05070a 100%);
  box-shadow:
    0 14px 30px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  text-align: left;
  isolation: isolate;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.professional-cloud-button::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: -90%;
  left: -35%;
  width: 32%;
  height: 280%;
  background: rgba(255, 255, 255, 0.22);
  transform: rotate(22deg);
  transition: left 0.45s ease;
}

.professional-cloud-button:hover {
  transform: translateY(-2px);
  border-color: rgba(70, 234, 215, 0.65);
  box-shadow:
    0 18px 38px rgba(0, 0, 0, 0.46),
    0 0 0 3px rgba(70, 234, 215, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  filter: saturate(1.06);
}

.professional-cloud-button:hover::after {
  left: 118%;
}

.professional-cloud-button:focus-visible {
  outline: 0;
  box-shadow:
    0 18px 38px rgba(0, 0, 0, 0.46),
    0 0 0 3px rgba(70, 234, 215, 0.3);
}

.cloud-button-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(7, 16, 29, 0.16);
  border-radius: 8px;
  color: #ffffff;
  background: rgba(7, 24, 33, 0.88);
  box-shadow: 0 8px 18px rgba(12, 74, 64, 0.2);
  font-size: 0.94rem;
}

.cloud-button-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.cloud-button-copy strong {
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 950;
  line-height: 1.15;
  text-transform: uppercase;
}

.cloud-button-copy small {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.64rem;
  font-weight: 850;
  line-height: 1.2;
  white-space: normal;
}

.cloud-button-arrow {
  justify-self: end;
  color: #ffffff;
  font-size: 0.78rem;
  transition: transform 0.2s ease;
}

.professional-cloud-button:hover .cloud-button-arrow {
  transform: translateX(3px);
}

@media (max-width: 420px) {
  .professional-cloud-button {
    grid-template-columns: 36px minmax(0, 1fr) 14px;
    gap: 10px;
    min-height: 60px;
    padding: 8px 11px 8px 8px;
  }

  .cloud-button-icon {
    width: 36px;
    height: 36px;
  }

  .cloud-button-copy strong {
    font-size: 0.72rem;
  }

  .cloud-button-copy small {
    font-size: 0.6rem;
  }
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 0;
}

.stat-card,
.panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(16, 29, 49, 0.82);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
}

.stat-card {
  display: grid;
  gap: 9px;
  min-height: 132px;
  padding: 20px;
}

.wallet-power-card,
.market-members-card {
  grid-column: span 2;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  padding: 0;
  background:
    linear-gradient(145deg, rgba(70, 234, 215, 0.14), rgba(16, 29, 49, 0.92));
}

.wallet-power-card .stat-card,
.market-members-card .stat-card {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.wallet-power-card .mining-power-card,
.market-members-card .online-members-card {
  border-left: 1px solid var(--line);
}

.stat-card strong {
  font-size: 1.85rem;
  letter-spacing: 0;
}

.power-value {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.power-server-icon {
  flex: 0 0 auto;
  width: 30px;
  height: 24px;
  border-width: 2px;
  border-color: rgba(137, 240, 90, 0.92);
  border-radius: 6px;
  box-shadow:
    0 0 18px rgba(137, 240, 90, 0.22),
    0 0 24px rgba(70, 234, 215, 0.14);
}

.power-server-icon::before,
.power-server-icon::after {
  top: 8px;
  width: 6px;
  height: 6px;
}

.power-server-icon::before {
  right: 11px;
}

.power-server-icon::after {
  right: 4px;
}

.lime-value {
  color: var(--green);
}

.doge-value {
  color: var(--yellow);
}

.balance-card .doge-value {
  font-size: 1.62rem;
}

.balance-wallet {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  overflow-wrap: anywhere;
  color: var(--muted) !important;
  font-size: 0.78rem;
  font-weight: inherit;
  line-height: inherit;
  text-shadow: none;
}

.balance-wallet span {
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(137, 240, 90, 0.12);
}

.active-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.active-status span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(137, 240, 90, 0.12);
}

.doge-price-card [data-doge-change] {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  border: 1px solid rgba(142, 163, 189, 0.22);
  border-radius: 8px;
  padding: 5px 9px;
  background: rgba(142, 163, 189, 0.08);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 950;
  line-height: 1.1;
}

.doge-price-card [data-doge-change].is-up {
  border-color: rgba(137, 240, 90, 0.34);
  background: rgba(137, 240, 90, 0.12);
  color: var(--green);
}

.doge-price-card [data-doge-change].is-down {
  border-color: rgba(255, 95, 122, 0.38);
  background: rgba(255, 95, 122, 0.12);
  color: #ff5f7a;
}

.vip-level-card {
  display: grid;
  gap: 7px;
  margin-top: 12px;
  padding: 12px;
  border: 1px solid rgba(137, 240, 90, 0.24);
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(137, 240, 90, 0.13), rgba(12, 20, 33, 0.76));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.vip-level-card > span,
.vip-current-level > span,
.vip-tier span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.vip-level-card strong,
.vip-current-level strong {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green);
  font-size: 1.25rem;
  font-weight: 1000;
  line-height: 1;
}

.vip-level-card strong i,
.vip-current-level strong i {
  color: #f8c24a;
  filter: drop-shadow(0 0 10px rgba(248, 194, 74, 0.32));
}

.vip-level-card small {
  color: rgba(230, 242, 255, 0.78);
  font-size: 0.78rem;
  font-weight: 800;
}

.vip-level-button {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  border: 1px solid rgba(248, 194, 74, 0.36);
  border-radius: 9px;
  padding: 7px 11px;
  background: linear-gradient(135deg, #f8c24a, #89f05a);
  color: #000000 !important;
  font-size: 0.76rem;
  font-weight: 1000;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(248, 194, 74, 0.16);
}

.vip-level-button i {
  color: #000000 !important;
}

.vip-level-button span {
  color: #000000 !important;
}

.vip-modal {
  max-width: 780px;
}

.vip-current-level {
  display: grid;
  gap: 7px;
  margin-bottom: 16px;
  padding: 14px;
  border: 1px solid rgba(137, 240, 90, 0.22);
  border-radius: 12px;
  background: rgba(137, 240, 90, 0.1);
}

.vip-current-level small,
.vip-note {
  color: rgba(230, 242, 255, 0.72);
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.5;
}

.vip-level-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.vip-tier {
  display: grid;
  gap: 7px;
  min-height: 142px;
  border: 1px solid rgba(142, 163, 189, 0.18);
  border-radius: 12px;
  padding: 13px;
  background: rgba(16, 29, 49, 0.72);
}

.vip-tier-head {
  display: flex;
  align-items: center;
  gap: 9px;
}

.vip-tier-head i {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.07);
  color: #f8c24a;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.vip-tier b {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 1000;
}

.vip-tier strong {
  color: var(--green);
  font-size: 0.92rem;
  font-weight: 1000;
}

.vip-power-bonus {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  align-items: center;
  border: 1px solid rgba(248, 194, 74, 0.28);
  border-radius: 8px;
  padding: 4px 8px;
  color: #f8c24a;
  background: rgba(248, 194, 74, 0.08);
  font-size: 0.76rem;
  font-weight: 1000;
  line-height: 1.2;
}

.vip-tier form {
  margin: 0;
}

.vip-claim-button {
  display: inline-flex;
  width: 100%;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(137, 240, 90, 0.36);
  border-radius: 9px;
  padding: 8px 11px;
  background: linear-gradient(135deg, #89f05a, #f8c24a);
  color: #06101b;
  font-size: 0.78rem;
  font-weight: 1000;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(137, 240, 90, 0.16);
}

.vip-claim-button:hover {
  transform: translateY(-1px);
}

.vip-claim-button.is-disabled,
.vip-claim-button.is-claimed {
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.vip-claim-button.is-disabled {
  border-color: rgba(142, 163, 189, 0.2);
  background: rgba(142, 163, 189, 0.12);
  color: rgba(230, 242, 255, 0.52);
}

.vip-claim-button.is-claimed {
  border-color: rgba(70, 234, 215, 0.34);
  background: rgba(70, 234, 215, 0.14);
  color: #46ead7;
}

.vip-free {
  border-color: rgba(142, 163, 189, 0.28);
}

.vip-bronze {
  border-color: rgba(205, 127, 50, 0.45);
  background: linear-gradient(145deg, rgba(205, 127, 50, 0.14), rgba(16, 29, 49, 0.76));
}

.vip-silver {
  border-color: rgba(192, 205, 218, 0.48);
  background: linear-gradient(145deg, rgba(192, 205, 218, 0.14), rgba(16, 29, 49, 0.76));
}

.vip-gold {
  border-color: rgba(248, 194, 74, 0.5);
  background: linear-gradient(145deg, rgba(248, 194, 74, 0.16), rgba(16, 29, 49, 0.76));
}

.vip-platinum {
  border-color: rgba(139, 226, 232, 0.48);
  background: linear-gradient(145deg, rgba(139, 226, 232, 0.14), rgba(16, 29, 49, 0.76));
}

.vip-diamond {
  border-color: rgba(111, 210, 255, 0.52);
  background: linear-gradient(145deg, rgba(111, 210, 255, 0.16), rgba(16, 29, 49, 0.76));
}

.vip-opal {
  border-color: rgba(236, 128, 255, 0.5);
  background: linear-gradient(145deg, rgba(236, 128, 255, 0.15), rgba(16, 29, 49, 0.76));
}

.vip-note {
  margin: 14px 0 0;
}

@media (max-width: 640px) {
  .vip-level-grid {
    grid-template-columns: 1fr;
  }

  .vip-level-card {
    padding: 10px;
  }
}

.balance-card {
  background: linear-gradient(145deg, rgba(70, 234, 215, 0.14), rgba(16, 29, 49, 0.9));
}

.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: 18px;
  margin-top: 18px;
}

.account-main {
  display: grid;
  gap: 18px;
}

.account-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  gap: 18px;
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background:
    linear-gradient(120deg, rgba(137, 240, 90, 0.13), transparent 58%),
    rgba(16, 29, 49, 0.82);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
}

.account-hero h1 {
  max-width: 720px;
  margin: 0 0 12px;
  font-size: 2.4rem;
  line-height: 1.05;
  letter-spacing: 0;
}

.account-hero p:not(.eyebrow) {
  max-width: 700px;
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.account-score {
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.account-score span,
.referral-stats span,
.account-form label span {
  color: var(--muted);
}

.account-score .score-title {
  color: #dcecff;
  font-size: 0.88rem;
  font-weight: 950;
  line-height: 1.25;
  text-transform: uppercase;
}

.account-score strong {
  color: var(--yellow);
  font-size: 1.9rem;
}

.account-score small {
  color: var(--green);
  font-weight: 900;
}

.account-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: 18px;
}

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

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

.account-form input,
.account-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  outline: 0;
}

.account-form input {
  min-height: 46px;
  padding: 0 14px;
}

.account-form textarea {
  min-height: 140px;
  padding: 13px 14px;
  resize: vertical;
}

.account-form input:focus,
.account-form textarea:focus {
  border-color: rgba(137, 240, 90, 0.55);
  box-shadow: 0 0 0 3px rgba(137, 240, 90, 0.12);
}

.referral-link-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.referral-link-box span {
  overflow: hidden;
  color: var(--text);
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.referral-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.referral-stats div {
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.referral-stats strong {
  color: var(--green);
  font-size: 1.35rem;
}

.referral-claim-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  margin-top: 12px;
  padding: 12px;
  border: 1px solid rgba(137, 240, 90, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(137, 240, 90, 0.11), rgba(70, 234, 215, 0.05)),
    rgba(255, 255, 255, 0.035);
}

.referral-claim-box div {
  display: grid;
  gap: 3px;
}

.referral-claim-box span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 950;
  line-height: 1.2;
  text-transform: uppercase;
}

.referral-claim-box strong {
  color: var(--green);
  font-size: 1.1rem;
  font-weight: 950;
  line-height: 1.2;
}

.referral-claim-box small {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.35;
}

.referral-claim-box .action-button:disabled {
  cursor: not-allowed;
  opacity: 0.52;
  filter: grayscale(0.35);
}

.affiliate-note {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  margin: 12px 0 0;
  padding: 14px;
  border: 1px solid rgba(248, 194, 74, 0.26);
  border-radius: 8px;
  color: var(--muted);
  background: linear-gradient(135deg, rgba(248, 194, 74, 0.13), rgba(22, 199, 132, 0.07));
  font-size: 0.92rem;
  line-height: 1.55;
}

.affiliate-note-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  color: #08111f;
  background: var(--yellow);
  font-size: 1rem;
}

.affiliate-note b {
  display: block;
  margin-bottom: 3px;
  color: var(--text);
  font-size: 0.98rem;
}

.affiliate-note p {
  margin: 0;
}

.banner-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.referral-banner {
  min-height: 118px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(70, 234, 215, 0.16), transparent),
    rgba(255, 255, 255, 0.04);
}

.referral-banner.gold {
  background:
    linear-gradient(135deg, rgba(244, 198, 75, 0.22), transparent),
    rgba(255, 255, 255, 0.04);
}

.referral-banner b,
.referral-banner span {
  display: block;
}

.referral-banner b {
  margin-bottom: 8px;
}

.referral-banner span {
  color: var(--muted);
  line-height: 1.55;
}

.affiliate-page {
  display: grid;
  gap: 22px;
}

.affiliate-hero {
  background:
    linear-gradient(135deg, rgba(244, 198, 75, 0.18), rgba(70, 234, 215, 0.08)),
    rgba(255, 255, 255, 0.04);
}

.affiliate-stats .stat-card strong {
  color: var(--yellow);
}

.affiliate-grid {
  align-items: stretch;
}

.affiliate-playbook .banner-grid {
  margin-top: 0;
}

.affiliate-playbook .referral-banner {
  min-height: 136px;
}

.account-tables {
  display: grid;
  gap: 18px;
}

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

.account-table {
  min-width: 700px;
}

.panel-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0 0 18px;
  list-style: none;
}

.panel-tabs button {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 900;
  cursor: pointer;
}

.panel-tabs .active button {
  color: #06101d;
  border-color: transparent;
  background: linear-gradient(135deg, var(--green), var(--cyan));
}

.account-tab-pane {
  display: none;
}

.account-tab-pane.is-active {
  display: block;
}

.payouts-page-panel {
  min-height: 620px;
}

.payouts-page-wrap {
  max-height: 560px;
}

.payouts-stats {
  margin-top: 0;
}

.purchase-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
  gap: 18px;
}

.doge-qr {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 7px;
  width: min(260px, 100%);
  aspect-ratio: 1;
  margin: 0 auto 18px;
  padding: 18px;
  border: 1px solid rgba(229, 174, 79, 0.42);
  border-radius: 8px;
  background:
    radial-gradient(circle at center, rgba(229, 174, 79, 0.14), transparent 58%),
    rgba(255, 255, 255, 0.04);
}

.doge-qr span,
.qr-corner {
  border-radius: 3px;
  background: var(--yellow);
  box-shadow: 0 0 16px rgba(229, 174, 79, 0.2);
}

.doge-qr span:nth-of-type(2n) {
  background: var(--green);
}

.doge-qr span:nth-of-type(3n) {
  opacity: 0.32;
}

.qr-corner {
  position: absolute;
  width: 48px;
  height: 48px;
  border: 8px solid var(--yellow);
  background: transparent;
}

.qr-corner.top-left {
  top: 18px;
  left: 18px;
}

.qr-corner.top-right {
  top: 18px;
  right: 18px;
}

.qr-corner.bottom-left {
  bottom: 18px;
  left: 18px;
}

.purchase-address-box {
  display: grid;
  gap: 12px;
}

.purchase-address-box > span {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  font-weight: 900;
  overflow-wrap: anywhere;
}

.confirmation-progress {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.confirmation-step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.confirmation-step b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.08);
}

.confirmation-step span {
  color: var(--muted);
  font-weight: 900;
}

.confirmation-step.is-complete {
  border-color: rgba(137, 240, 90, 0.44);
  background: rgba(137, 240, 90, 0.08);
}

.confirmation-step.is-complete b {
  color: #06101d;
  background: var(--green);
}

.confirmation-step.is-complete span {
  color: var(--text);
}

.purchase-confirm-button {
  width: 100%;
  margin-top: 16px;
}

.alternative-payment-panel {
  margin-top: 18px;
}

.purchase-other-crypto {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.purchase-other-crypto h3 {
  margin: 0;
  color: var(--text);
  font-size: 1rem;
}

.purchase-other-crypto p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.live-chat-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  white-space: nowrap;
}

.crypto-payment-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.crypto-payment-option {
  display: grid;
  justify-items: center;
  gap: 7px;
  min-height: 116px;
  padding: 14px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  text-align: center;
}

.crypto-payment-option .coin {
  width: 42px;
  height: 42px;
}

.crypto-payment-option .crypto-icon {
  display: block;
  width: 42px;
  height: 42px;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.2));
}

.crypto-payment-option strong {
  color: var(--text);
  font-size: 0.98rem;
}

.crypto-payment-option small {
  color: var(--muted);
  line-height: 1.25;
}

.crypto-payment-grid.compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 4px;
}

.crypto-payment-grid.compact .crypto-payment-option {
  min-height: 86px;
  padding: 11px 8px;
}

.crypto-payment-grid.compact .crypto-payment-option .coin {
  width: 34px;
  height: 34px;
}

.crypto-payment-grid.compact .crypto-payment-option .crypto-icon {
  width: 34px;
  height: 34px;
}

.withdraw-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.withdraw-detail-grid div,
.withdraw-summary {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.withdraw-detail-grid div {
  display: grid;
  gap: 6px;
  padding: 14px;
}

.withdraw-detail-grid span,
.withdraw-summary span,
.withdraw-note {
  color: var(--muted);
}

.withdraw-detail-grid strong {
  color: var(--green);
  font-size: 1.2rem;
}

.support-about-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  margin-top: 14px;
  padding: 16px;
  border: 1px solid rgba(137, 240, 90, 0.22);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(137, 240, 90, 0.11), rgba(70, 234, 215, 0.07));
}

.support-about-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  color: #06101d;
  background: linear-gradient(135deg, var(--green), var(--cyan));
  box-shadow: 0 0 24px rgba(137, 240, 90, 0.16);
}

.support-about-card b {
  display: block;
  margin-bottom: 6px;
  color: var(--green);
  font-size: 1.08rem;
}

.support-about-card p {
  margin: 0 0 8px;
  color: #dcecff;
  line-height: 1.55;
}

.support-about-card small {
  color: var(--muted);
  font-weight: 850;
  line-height: 1.45;
}

.withdraw-summary {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  padding: 14px;
}

.withdraw-summary div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.withdraw-summary b {
  text-align: right;
}

.withdraw-note {
  margin: 14px 0 0;
  line-height: 1.6;
}

.unlimited-security-note {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  margin-top: 14px;
  padding: 15px;
  border: 1px solid rgba(137, 240, 90, 0.26);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(137, 240, 90, 0.12), rgba(85, 242, 223, 0.055)),
    rgba(255, 255, 255, 0.035);
}

.unlimited-security-note i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  color: #07111f;
  background: linear-gradient(135deg, var(--green), var(--cyan));
}

.unlimited-security-note strong {
  display: block;
  color: var(--green);
  font-weight: 900;
  line-height: 1.25;
}

.unlimited-security-note p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.panel {
  padding: 22px;
}

.panel-head {
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.plan-card {
  display: grid;
  gap: 12px;
  min-height: 300px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.plan-card.featured {
  border-color: rgba(137, 240, 90, 0.54);
  background:
    linear-gradient(145deg, rgba(137, 240, 90, 0.14), rgba(70, 234, 215, 0.07)),
    rgba(255, 255, 255, 0.04);
}

.plan-card span {
  color: var(--green);
  font-size: 0.84rem;
  font-weight: 950;
  text-transform: uppercase;
}

.plan-name {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  gap: 10px;
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid rgba(137, 240, 90, 0.28);
  border-radius: 8px;
  color: #ecffe5 !important;
  background:
    linear-gradient(135deg, rgba(137, 240, 90, 0.16), rgba(70, 234, 215, 0.07)),
    rgba(7, 16, 31, 0.38);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 10px 24px rgba(0, 0, 0, 0.14);
  letter-spacing: 0.04em;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.plan-name .server-icon {
  flex: 0 0 auto;
  transform: translateY(-1px);
}

.server-icon {
  position: relative;
  display: inline-block;
  width: 19px;
  height: 15px;
  border: 1px solid rgba(137, 240, 90, 0.82);
  border-radius: 4px;
  background:
    linear-gradient(90deg, rgba(70, 234, 215, 0.38) 0 24%, transparent 25% 100%),
    rgba(137, 240, 90, 0.09);
  box-shadow: 0 0 14px rgba(70, 234, 215, 0.18);
}

.server-icon::before,
.server-icon::after {
  content: "";
  position: absolute;
  top: 5px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
}

.server-icon::before {
  right: 7px;
  background: var(--green);
  animation: serverBlink 1.1s ease-in-out infinite;
}

.server-icon::after {
  right: 2px;
  background: var(--cyan);
  animation: serverBlink 1.1s ease-in-out 0.32s infinite;
}

@keyframes serverBlink {
  0%,
  100% {
    opacity: 0.35;
    transform: scale(0.86);
  }

  50% {
    opacity: 1;
    transform: scale(1);
  }
}

.plan-card strong {
  font-size: 2.05rem;
  line-height: 1;
}

.plan-card small {
  color: var(--muted);
  line-height: 1.45;
}

.plan-card .usd-plan-price {
  color: var(--green);
  font-weight: 900;
}

.plan-card ul {
  display: grid;
  gap: 9px;
  padding: 0;
  margin: 4px 0 6px;
  color: var(--muted);
  font-size: 0.9rem;
  list-style: none;
}

.plan-card li::before {
  content: "+";
  margin-right: 8px;
  color: var(--green);
  font-weight: 950;
}

.plan-card .action-button {
  align-self: end;
  width: 100%;
}

.custom-plan-card {
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  align-items: center;
  min-height: 330px;
  overflow: hidden;
}

.custom-plan-content {
  display: grid;
  gap: 12px;
}

.custom-mining-chart {
  display: grid;
  gap: 9px;
  padding: 12px;
  border: 1px solid rgba(137, 240, 90, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(137, 240, 90, 0.08), rgba(70, 234, 215, 0.04)),
    rgba(7, 16, 31, 0.38);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.custom-mining-chart-head {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.custom-mining-chart-head span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 950;
  line-height: 1.2;
  text-transform: uppercase;
}

.custom-mining-chart-head strong {
  color: var(--green);
  font-size: 0.92rem;
  line-height: 1.2;
}

.custom-mining-chart canvas {
  display: block;
  width: 100%;
  height: 116px;
}

.custom-mining-chart-section {
  margin-top: 16px;
}

.custom-plan-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 4px;
}

.custom-only-plans-grid {
  grid-template-columns: minmax(0, 1fr);
}

.custom-plan-form {
  display: grid;
  gap: 10px;
  margin-top: 2px;
}

.custom-return-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 12px;
  border: 1px solid rgba(137, 240, 90, 0.32);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(137, 240, 90, 0.13), rgba(70, 234, 215, 0.07) 52%, rgba(248, 194, 74, 0.06)),
    rgba(7, 16, 31, 0.48);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 14px 30px rgba(0, 0, 0, 0.16);
}

.custom-return-details div {
  position: relative;
  display: grid;
  gap: 5px;
  min-height: 64px;
  padding: 11px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015)),
    rgba(7, 16, 31, 0.44);
  overflow: hidden;
}

.custom-return-details div::after {
  content: "";
  position: absolute;
  inset: auto 10px 8px 10px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(137, 240, 90, 0.95), rgba(70, 234, 215, 0.72));
  opacity: 0.58;
}

.custom-return-details div:first-child,
.custom-return-details div:last-child {
  grid-column: 1 / -1;
  min-height: 70px;
  border-color: rgba(137, 240, 90, 0.34);
  background:
    linear-gradient(135deg, rgba(137, 240, 90, 0.15), rgba(70, 234, 215, 0.07)),
    rgba(7, 16, 31, 0.54);
}

.custom-return-details div:last-child {
  border-color: rgba(248, 194, 74, 0.42);
  background:
    linear-gradient(135deg, rgba(248, 194, 74, 0.13), rgba(137, 240, 90, 0.1)),
    rgba(7, 16, 31, 0.58);
}

.custom-return-details span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 950;
  line-height: 1.2;
  text-transform: uppercase;
}

.custom-return-details strong {
  color: var(--green);
  font-size: 1rem;
  font-weight: 950;
  line-height: 1.25;
}

.custom-return-details div:first-child strong,
.custom-return-details div:last-child strong {
  font-size: 1.15rem;
}

.custom-plan-form label {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.custom-plan-input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  min-height: 48px;
  border: 1px solid rgba(137, 240, 90, 0.32);
  border-radius: 8px;
  background: rgba(7, 16, 31, 0.44);
  overflow: hidden;
}

.custom-plan-input-row input {
  width: 100%;
  min-height: 48px;
  border: 0;
  color: var(--text);
  background: transparent;
  font-size: 1.08rem;
  font-weight: 950;
  outline: 0;
  padding: 0 14px;
}

.custom-plan-input-row span {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 14px;
  color: #08111f;
  background: var(--green);
  font-weight: 950;
}

.custom-plan-error {
  display: none;
  color: #ff6b6b !important;
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1.35;
}

.custom-plan-form.is-invalid .custom-plan-error {
  display: block;
}

.custom-plan-form.is-invalid .custom-plan-input-row {
  border-color: rgba(255, 107, 107, 0.72);
  box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.12);
}

.custom-plan-form .action-button:disabled {
  cursor: not-allowed;
  opacity: 0.52;
  filter: grayscale(0.35);
}

.custom-plan-accepted {
  display: grid;
  gap: 8px;
  min-height: 48px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  background: rgba(7, 16, 31, 0.3);
}

.custom-plan-accepted > span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 950;
  line-height: 1.2;
  text-transform: uppercase;
}

.custom-plan-crypto-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
}

.custom-plan-crypto-icons img {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
  object-fit: contain;
}

.custom-plan-visual {
  align-self: start;
  position: relative;
  min-height: 260px;
  border: 1px solid rgba(137, 240, 90, 0.26);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 28%, rgba(137, 240, 90, 0.22), transparent 34%),
    linear-gradient(145deg, rgba(70, 234, 215, 0.08), rgba(255, 255, 255, 0.03));
  overflow: hidden;
}

.custom-plan-visual::before {
  content: "";
  position: absolute;
  inset: 20px;
  border-radius: 8px;
  border: 1px solid rgba(70, 234, 215, 0.18);
  animation: serverPanelPulse 2.6s ease-in-out infinite;
}

.mining-server-animation {
  position: absolute;
  inset: 28px;
  display: grid;
  align-content: center;
  gap: 16px;
}

.server-rack {
  position: relative;
  height: 50px;
  border: 1px solid rgba(137, 240, 90, 0.65);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(70, 234, 215, 0.34) 0 18%, transparent 19% 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(137, 240, 90, 0.06));
  box-shadow:
    0 0 22px rgba(70, 234, 215, 0.16),
    inset 0 0 20px rgba(137, 240, 90, 0.07);
  animation: serverHum 2.2s ease-in-out infinite;
}

.server-rack::before,
.server-rack::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  transform: translateY(-50%);
}

.server-rack::before {
  right: 42px;
  background: var(--green);
  animation: serverBlink 1s ease-in-out infinite;
}

.server-rack::after {
  right: 22px;
  background: var(--cyan);
  animation: serverBlink 1s ease-in-out 0.28s infinite;
}

.rack-two {
  animation-delay: 0.18s;
}

.rack-three {
  animation-delay: 0.36s;
}

.server-signal {
  position: absolute;
  left: 18%;
  right: 18%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(137, 240, 90, 0.8), transparent);
  opacity: 0;
  animation: signalSweep 2.4s linear infinite;
}

.signal-one {
  top: 26%;
}

.signal-two {
  top: 50%;
  animation-delay: 0.8s;
}

.signal-three {
  top: 74%;
  animation-delay: 1.6s;
}

@keyframes serverHum {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-3px);
  }
}

@keyframes serverPanelPulse {
  0%,
  100% {
    opacity: 0.45;
    transform: scale(0.98);
  }

  50% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes signalSweep {
  0% {
    opacity: 0;
    transform: translateX(-24%);
  }

  20%,
  70% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translateX(24%);
  }
}

.allocation-panel {
  min-height: 360px;
}

.asset-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.asset-list .market-row {
  gap: 12px;
  justify-content: space-between;
  min-height: 62px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.asset-list div {
  flex: 1;
  display: grid;
  gap: 3px;
}

.asset-list b {
  font-size: 0.96rem;
}

.market-price {
  flex: 0 0 auto;
  justify-items: end;
  text-align: right;
}

.market-price small {
  font-size: 0.78rem;
  font-weight: 900;
}

.market-price small.is-up {
  color: var(--green);
}

.market-price small.is-down {
  color: #ff5f7a;
}

.market-crypto-icon {
  display: block;
  width: 38px;
  height: 38px;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.2));
}

.coin {
  width: 38px;
  height: 38px;
}

.btc {
  background: var(--yellow);
}

.eth {
  background: var(--blue);
  color: white;
}

.doge {
  background: var(--green);
}

.ltc {
  background: var(--cyan);
}

.trx {
  color: white;
  background: var(--rose);
}

.usdt {
  background: #50d890;
}

.bnb {
  background: #f0b90b;
}

.sol {
  color: white;
  background: #8a5cff;
}

.usdc {
  color: white;
  background: #2775ca;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  padding:
    max(18px, env(safe-area-inset-top))
    max(18px, env(safe-area-inset-right))
    max(18px, env(safe-area-inset-bottom))
    max(18px, env(safe-area-inset-left));
  background: rgba(3, 8, 15, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.modal-backdrop.is-open {
  display: flex;
}

.payouts-modal {
  width: min(760px, 100%);
  max-height: min(680px, calc(100svh - 36px));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(10, 22, 38, 0.98);
  box-shadow: var(--shadow);
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px;
  border-bottom: 1px solid var(--line);
}

.modal-close {
  width: 38px;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  font-weight: 950;
}

.calculator-modal {
  width: min(540px, 100%);
}

.modal-calculator {
  display: grid;
  gap: 18px;
  padding: 20px;
}

.modal-calculator label {
  display: grid;
  gap: 9px;
  color: var(--muted);
  font-weight: 900;
}

.modal-input-shell {
  display: flex;
  align-items: center;
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
}

.modal-input-shell span {
  align-self: stretch;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  color: #06101d;
  background: linear-gradient(135deg, var(--green), var(--cyan));
  font-weight: 950;
}

.modal-input-shell input {
  width: 100%;
  min-width: 0;
  border: 0;
  padding: 0 14px;
  color: var(--text);
  background: transparent;
  font: inherit;
  font-weight: 900;
  outline: 0;
}

.modal-calculator-results {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.modal-calculator-results div {
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.modal-calculator-results span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.modal-calculator-results strong {
  color: var(--green);
  font-size: 1.35rem;
}

.required-email-modal {
  max-width: 560px;
  padding: 0;
  overflow: hidden;
  border-color: rgba(244, 198, 75, 0.28);
  background:
    linear-gradient(145deg, rgba(244, 198, 75, 0.10), rgba(70, 234, 215, 0.06)),
    rgba(8, 18, 32, 0.98);
}

.required-email-hero {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 24px 24px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.required-email-hero h2 {
  margin: 2px 0 8px;
  color: var(--text);
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  line-height: 1.12;
}

.required-email-hero p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.required-email-lock {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 8px;
  color: #06101d;
  background: linear-gradient(135deg, var(--yellow), var(--green));
  box-shadow: 0 18px 38px rgba(244, 198, 75, 0.18);
  font-size: 1.35rem;
}

.required-email-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 16px 24px 0;
}

.required-email-benefits div {
  display: grid;
  gap: 8px;
  min-height: 84px;
  padding: 14px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.required-email-benefits i {
  color: var(--green);
  font-size: 1.05rem;
}

.required-email-benefits span {
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1.3;
}

.required-email-form {
  padding: 18px 24px 24px;
}

.required-email-form .action-button {
  width: 100%;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  margin-top: 4px;
}

@media (max-width: 560px) {
  .required-email-hero {
    grid-template-columns: 1fr;
    padding: 20px 18px 16px;
  }

  .required-email-benefits {
    grid-template-columns: 1fr;
    padding: 14px 18px 0;
  }

  .required-email-benefits div {
    min-height: 0;
  }

  .required-email-form {
    padding: 16px 18px 20px;
  }
}

.payouts-table-wrap {
  max-height: 470px;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

.payouts-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
}

.live-payouts-table {
  min-width: 620px;
}

.active-cloud-table {
  min-width: 520px;
}

.payouts-table th,
.payouts-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  white-space: nowrap;
}

.payouts-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  color: #dcecff;
  background: rgba(10, 22, 38, 0.98);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.payouts-table td {
  color: var(--muted);
  font-weight: 800;
}

.payout-amount {
  color: var(--yellow) !important;
}

.completed-status {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  color: #06101d;
  background: var(--green);
  font-size: 0.78rem;
  font-weight: 950;
}

.error-status {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  color: #fff;
  background: #ff4f6d;
  font-size: 0.78rem;
  font-weight: 950;
}

.running-status {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  color: #06101d;
  background: linear-gradient(135deg, var(--green), var(--cyan));
  font-size: 0.78rem;
  font-weight: 950;
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 50;
  transform: translateY(18px);
  opacity: 0;
  min-height: 44px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  background: rgba(7, 16, 29, 0.95);
  box-shadow: var(--shadow);
  transition: opacity 180ms ease, transform 180ms ease;
  pointer-events: none;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

@media (max-width: 1120px) {
  body.sidebar-open::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 25;
    background: rgba(3, 8, 15, 0.58);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
  }

  .sidebar {
    transform: translateX(-100%);
    transition: transform 180ms ease;
    width: min(290px, 86vw);
    padding-top: max(24px, env(safe-area-inset-top));
    padding-bottom: max(24px, env(safe-area-inset-bottom));
  }

  .sidebar.is-open {
    transform: translateX(0);
  }

  .shell {
    padding-left: 0;
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
  }

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

  .dashboard-grid {
    grid-template-columns: 1fr;
  }

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

  .account-grid,
  .purchase-grid,
  .account-hero {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 940px) and (min-width: 761px) {
  .plans-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .custom-plan-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .topbar {
    align-items: stretch;
    flex-wrap: wrap;
    padding:
      max(14px, env(safe-area-inset-top))
      max(16px, env(safe-area-inset-right))
      14px
      max(16px, env(safe-area-inset-left));
    gap: 12px;
  }

  .top-actions {
    margin-left: auto;
  }

  .top-actions .language-switcher label {
    display: none;
  }

  .top-actions .language-select {
    width: 118px;
  }

  .search {
    order: 3;
    width: 100%;
  }

  main {
    padding:
      16px
      max(16px, env(safe-area-inset-right))
      max(16px, env(safe-area-inset-bottom))
      max(16px, env(safe-area-inset-left));
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .wallet-power-card,
  .market-members-card {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .wallet-power-card .mining-power-card,
  .market-members-card .online-members-card {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }

  .panel {
    padding: 18px;
  }

  .panel-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .plans-grid {
    grid-template-columns: 1fr;
  }

  .custom-plan-card {
    grid-template-columns: 1fr;
  }

  .custom-plan-actions {
    grid-template-columns: 1fr;
  }

  .custom-return-details {
    grid-template-columns: 1fr;
  }

  .custom-plan-visual {
    min-height: 220px;
  }

  .account-hero {
    padding: 18px;
  }

  .account-hero h1 {
    font-size: 1.9rem;
  }

  .referral-link-box,
  .referral-stats,
  .referral-claim-box,
  .banner-grid,
  .crypto-payment-grid,
  .purchase-grid,
  .withdraw-detail-grid {
    grid-template-columns: 1fr;
  }

  .balance-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .cloud-actions,
  .modal-calculator-results {
    grid-template-columns: 1fr;
  }

  .balance-actions .action-button,
  .cloud-button {
    width: 100%;
  }

  .payouts-modal {
    width: 100%;
    max-height: calc(100dvh - 36px);
  }

  .payouts-table-wrap {
    max-height: calc(100svh - 170px);
  }

  .live-payouts-table,
  .active-cloud-table,
  .account-table {
    min-width: 0;
  }

  .live-payouts-table thead,
  .active-cloud-table thead,
  .account-table thead {
    display: none;
  }

  .live-payouts-table,
  .live-payouts-table tbody,
  .live-payouts-table tr,
  .live-payouts-table td,
  .active-cloud-table,
  .active-cloud-table tbody,
  .active-cloud-table tr,
  .active-cloud-table td,
  .account-table,
  .account-table tbody,
  .account-table tr,
  .account-table td {
    display: block;
    width: 100%;
  }

  .live-payouts-table tr,
  .active-cloud-table tr,
  .account-table tr {
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }

  .live-payouts-table td,
  .active-cloud-table td,
  .account-table td {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 9px 16px;
    border-bottom: 0;
    white-space: normal;
  }

  .live-payouts-table td::before,
  .active-cloud-table td::before,
  .account-table td::before {
    content: attr(data-label);
    color: #dcecff;
    font-size: 0.78rem;
    font-weight: 950;
    text-transform: uppercase;
  }
}

@media (max-width: 420px) {
  .topbar {
    min-height: auto;
  }

  .logout-button {
    padding: 0 12px;
  }

  .top-actions {
    gap: 8px;
  }

  .top-actions .language-select {
    width: 104px;
    padding-left: 8px;
    font-size: 0.78rem;
  }

  .search input {
    font-size: 0.94rem;
  }

  .stat-card,
  .panel,
  .plan-card {
    padding: 16px;
  }

  .wallet-power-card,
  .market-members-card {
    padding: 0;
  }

  .stat-card strong {
    font-size: 1.58rem;
    line-height: 1.08;
  }

  .balance-actions {
    grid-template-columns: 1fr;
  }

  .asset-list .market-row {
    align-items: flex-start;
  }

  .market-price {
    text-align: right;
    max-width: 112px;
  }

  .asset-list b {
    overflow-wrap: anywhere;
  }

  .modal-head {
    padding: 16px;
  }

  .modal-head h2 {
    font-size: 1.08rem;
  }
}

/* Dashboard professional refresh */
.dashboard-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.78fr);
  gap: 18px;
  align-items: stretch;
  margin-bottom: 18px;
  padding: 22px;
  border: 1px solid rgba(70, 234, 215, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(137, 240, 90, 0.13), rgba(70, 234, 215, 0.07) 44%, rgba(110, 140, 255, 0.08)),
    rgba(7, 16, 31, 0.78);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 22px 55px rgba(0, 0, 0, 0.22);
  overflow: hidden;
}

.dashboard-hero-copy {
  display: grid;
  align-content: center;
  gap: 10px;
}

.dashboard-hero-copy h1 {
  margin: 0;
  max-width: 760px;
  color: var(--text);
  font-size: clamp(1.9rem, 4vw, 3.55rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.dashboard-hero-copy p:not(.eyebrow) {
  max-width: 720px;
  margin: 0;
  color: #b8c8dc;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.65;
}

.dashboard-hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-content: stretch;
}

.dashboard-hero-metrics div {
  display: grid;
  align-content: center;
  gap: 8px;
  min-height: 116px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
    rgba(5, 12, 23, 0.48);
}

.dashboard-hero-metrics span,
.panel-badge,
.contract-pill,
.custom-plan-priceband span,
.visual-status-card span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 950;
  line-height: 1.2;
  text-transform: uppercase;
}

.dashboard-hero-metrics strong {
  color: var(--green);
  font-size: 1.12rem;
  line-height: 1.18;
  overflow-wrap: anywhere;
}

.panel-badge,
.contract-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 11px;
  border: 1px solid rgba(137, 240, 90, 0.28);
  border-radius: 8px;
  color: #eaffdf;
  background: rgba(137, 240, 90, 0.1);
}

.stats-grid {
  gap: 18px;
}

.wallet-power-card,
.market-members-card,
.panel {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015)),
    rgba(10, 22, 39, 0.86);
}

.wallet-power-card,
.market-members-card {
  border-color: rgba(70, 234, 215, 0.2);
}

.balance-card,
.mining-power-card,
.doge-price-card,
.online-members-card {
  min-height: 164px;
}

.balance-card .doge-value,
.mining-power-card .lime-value,
.doge-price-card .doge-value,
.online-members-card .lime-value {
  font-size: clamp(1.38rem, 2.2vw, 2.18rem);
  line-height: 1.08;
}

.balance-card .withdraw-button,
.cloud-button,
.custom-buy-button {
  border-radius: 8px;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
}

.dashboard-grid {
  grid-template-columns: minmax(0, 1.42fr) minmax(330px, 0.58fr);
  gap: 20px;
}

.panel-head h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2.3vw, 2.12rem);
  line-height: 1.12;
  letter-spacing: 0;
}

.custom-plan-card {
  position: relative;
  grid-template-columns: minmax(0, 1.03fr) minmax(300px, 0.97fr);
  min-height: 520px;
  padding: 22px;
  border-color: rgba(137, 240, 90, 0.42);
  background:
    linear-gradient(135deg, rgba(137, 240, 90, 0.12), rgba(70, 234, 215, 0.055) 46%, rgba(244, 198, 75, 0.055)),
    rgba(8, 18, 32, 0.84);
}

.custom-plan-card::before {
  content: "";
  position: absolute;
  inset: 14px;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 8px;
}

.custom-plan-titlebar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.custom-plan-priceband {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.custom-plan-priceband div {
  display: grid;
  gap: 8px;
  min-height: 126px;
  padding: 16px;
  border: 1px solid rgba(70, 234, 215, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015)),
    rgba(5, 12, 23, 0.5);
}

.custom-plan-priceband strong {
  color: var(--green);
  font-size: clamp(1.05rem, 1.7vw, 1.48rem);
  line-height: 1;
  overflow-wrap: anywhere;
}

.custom-plan-priceband .usd-plan-price {
  color: var(--yellow);
}

.custom-plan-card ul {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.custom-plan-card li {
  min-height: 54px;
  padding: 11px 12px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.028);
}

.custom-return-details {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 10px;
}

.custom-return-details div:first-child,
.custom-return-details div:last-child {
  grid-column: span 2;
}

.custom-plan-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.custom-plan-form label,
.custom-plan-input-row {
  grid-column: auto;
}

.custom-plan-error,
.custom-buy-button,
.custom-plan-accepted {
  grid-column: 1 / -1;
}

.custom-buy-button {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  justify-content: center;
  min-height: 54px;
}

.balance-card .dashboard-compact-action,
.mining-power-card .dashboard-compact-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  grid-template-columns: none;
  gap: 9px;
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  border-radius: 8px;
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
  text-transform: none;
  white-space: nowrap;
}

.balance-card .dashboard-compact-action::after,
.mining-power-card .dashboard-compact-action::after {
  display: none;
}

.dashboard-compact-action > i {
  flex: 0 0 auto;
  color: #ffffff;
  font-size: 0.92rem;
}

.dashboard-compact-action > span {
  color: #ffffff;
}

.mining-power-card .professional-cloud-button,
.mining-power-card .professional-cloud-button > i,
.mining-power-card .professional-cloud-button > span {
  color: #05070a;
}

.balance-card .dashboard-compact-action:hover,
.mining-power-card .dashboard-compact-action:hover {
  transform: translateY(-2px);
}

@media (max-width: 760px) {
  .balance-card .dashboard-compact-action,
  .mining-power-card .dashboard-compact-action {
    min-height: 52px;
    padding: 0 12px;
    font-size: 0.78rem;
  }
}

.custom-plan-accepted {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
}

.custom-plan-accepted > span {
  min-width: 74px;
}

.custom-plan-visual {
  min-height: 470px;
  background:
    linear-gradient(180deg, rgba(70, 234, 215, 0.09), rgba(137, 240, 90, 0.04)),
    rgba(5, 12, 23, 0.46);
}

.visual-status-card {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  display: grid;
  gap: 4px;
  min-width: 128px;
  padding: 12px 14px;
  border: 1px solid rgba(137, 240, 90, 0.28);
  border-radius: 8px;
  background: rgba(5, 12, 23, 0.68);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.22);
}

.visual-status-card strong {
  color: var(--green);
  font-size: 1rem;
  line-height: 1.1;
}

.mining-server-animation {
  inset: 92px 30px 34px;
}

.server-rack {
  height: 64px;
}

.custom-mining-chart-section {
  padding: 16px;
  border-color: rgba(70, 234, 215, 0.2);
  background:
    linear-gradient(135deg, rgba(70, 234, 215, 0.08), rgba(137, 240, 90, 0.055)),
    rgba(5, 12, 23, 0.46);
}

.custom-mining-chart canvas {
  height: 150px;
}

.asset-list {
  gap: 8px;
}

.asset-list .market-row {
  min-height: 58px;
  padding: 10px 12px;
  border-color: rgba(70, 234, 215, 0.14);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.042), rgba(255, 255, 255, 0.015)),
    rgba(5, 12, 23, 0.36);
}

.asset-list .market-row:hover {
  border-color: rgba(137, 240, 90, 0.3);
  background:
    linear-gradient(90deg, rgba(137, 240, 90, 0.075), rgba(70, 234, 215, 0.035)),
    rgba(5, 12, 23, 0.44);
}

@media (max-width: 1180px) {
  .dashboard-hero,
  .custom-plan-card,
  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .custom-plan-visual {
    min-height: 300px;
  }

  .mining-server-animation {
    inset: 76px 26px 28px;
  }
}

@media (max-width: 760px) {
  .dashboard-hero {
    padding: 18px;
  }

  .dashboard-hero-metrics,
  .custom-plan-priceband,
  .custom-plan-card ul,
  .custom-return-details,
  .custom-plan-form,
  .custom-plan-accepted {
    grid-template-columns: 1fr;
  }

  .custom-return-details div:first-child,
  .custom-return-details div:last-child {
    grid-column: auto;
  }

  .custom-plan-card {
    padding: 18px;
  }
}

/* Custom plan return strip */
.custom-return-details {
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  padding: 12px;
  border-color: rgba(70, 234, 215, 0.2);
  background:
    linear-gradient(135deg, rgba(70, 234, 215, 0.08), rgba(137, 240, 90, 0.075)),
    rgba(5, 12, 23, 0.56);
}

.custom-return-details div,
.custom-return-details div:first-child,
.custom-return-details div:last-child {
  grid-column: auto;
  min-height: 104px;
  align-content: space-between;
  gap: 14px;
  padding: 14px;
  border-color: rgba(255, 255, 255, 0.09);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.018)),
    rgba(7, 16, 31, 0.58);
}

.custom-return-details div:nth-child(2) {
  border-color: rgba(70, 234, 215, 0.24);
}

.custom-return-details div:nth-child(3) {
  border-color: rgba(244, 198, 75, 0.32);
  background:
    linear-gradient(135deg, rgba(244, 198, 75, 0.105), rgba(137, 240, 90, 0.08)),
    rgba(7, 16, 31, 0.62);
}

.custom-return-details div::before {
  content: "";
  width: 28px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green), var(--cyan));
  box-shadow: 0 0 16px rgba(137, 240, 90, 0.22);
}

.custom-return-details div:nth-child(3)::before {
  background: linear-gradient(90deg, var(--yellow), var(--green));
}

.custom-return-details div::after {
  inset: auto 12px 10px 12px;
  opacity: 0.34;
}

.custom-return-details span {
  color: #dcecff;
  font-size: 0.74rem;
}

.custom-return-details strong,
.custom-return-details div:first-child strong,
.custom-return-details div:last-child strong {
  color: var(--green);
  font-size: clamp(1.08rem, 1.7vw, 1.42rem);
  line-height: 1.05;
}

.custom-return-details div:nth-child(3) strong {
  color: var(--yellow);
}

@media (max-width: 760px) {
  .custom-return-details {
    grid-template-columns: 1fr;
  }
}

/* Professional custom plan calculator inputs */
.custom-plan-form .custom-plan-input-row {
  grid-column: 1 / -1;
  min-height: 78px;
  grid-template-columns: minmax(0, 1fr) auto;
  border-color: rgba(70, 234, 215, 0.34);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
    rgba(5, 12, 23, 0.68);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 12px 28px rgba(0, 0, 0, 0.16);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.custom-plan-form .custom-plan-input-row:focus-within {
  border-color: rgba(137, 240, 90, 0.7);
  box-shadow:
    0 0 0 3px rgba(137, 240, 90, 0.12),
    0 16px 34px rgba(0, 0, 0, 0.2);
}

.custom-plan-form .custom-plan-input-row input {
  min-width: 0;
  min-height: 78px;
  padding: 0 22px;
  font-size: 1.65rem;
  line-height: 1.05;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
  text-overflow: clip;
}

.custom-plan-form .custom-plan-input-row input.is-long-value {
  font-size: 1.3rem;
}

.custom-plan-form .custom-plan-input-row input.is-very-long-value {
  font-size: 1.05rem;
}

.custom-plan-form .custom-plan-input-row span {
  min-width: 82px;
  min-height: 78px;
  justify-content: center;
  padding: 0 20px;
  font-size: 1.02rem;
  letter-spacing: 0;
}

.balance-card .doge-value {
  font-size: clamp(1.18rem, 1.75vw, 1.72rem);
}

/* Home theme applied across member pages */
:root {
  --home-bg: #070915;
  --home-surface: rgba(16, 20, 38, 0.86);
  --home-surface-2: rgba(25, 30, 53, 0.72);
  --home-line: rgba(255, 255, 255, 0.09);
  --home-lime: #b7ff4a;
  --home-yellow: #ffd44d;
  --home-cyan: #39e9ff;
  --home-violet: #8b6dff;
}

body {
  background:
    linear-gradient(180deg, rgba(7, 9, 21, 0.16), rgba(7, 9, 21, 0.9) 54%, #050711 100%),
    radial-gradient(circle at 76% 7%, rgba(183, 255, 74, 0.15), transparent 25rem),
    radial-gradient(circle at 18% 18%, rgba(57, 233, 255, 0.12), transparent 22rem),
    radial-gradient(circle at 86% 58%, rgba(139, 109, 255, 0.13), transparent 24rem),
    var(--home-bg);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.82), transparent 84%);
}

.sidebar,
.topbar,
.search,
.stat-card,
.panel,
.account-hero,
.account-score,
.sidebar-card,
.custom-plan-card,
.dashboard-hero,
.purchase-card,
.purchase-summary-card,
.purchase-monitor-card,
.purchase-success-modal {
  border-color: var(--home-line);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025)),
    var(--home-surface);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.sidebar {
  background:
    radial-gradient(circle at 30% 0%, rgba(183, 255, 74, 0.12), transparent 14rem),
    rgba(8, 11, 21, 0.9);
}

.brand-logo {
  width: clamp(178px, 16vw, 248px);
  max-height: 74px;
}

.side-nav {
  gap: 8px;
}

.side-nav a {
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  color: #dce8f6;
  background: rgba(255, 255, 255, 0.025);
}

.side-nav a:hover,
.side-nav a.active {
  color: #07110c;
  border-color: rgba(183, 255, 74, 0.48);
  background: linear-gradient(135deg, var(--home-lime), var(--home-yellow));
  box-shadow: 0 16px 34px rgba(183, 255, 74, 0.16);
}

.side-nav i[class*="fa-"] {
  color: #ff4444;
}

.side-nav a:hover i[class*="fa-"],
.side-nav a.active i[class*="fa-"] {
  color: #07110c;
}

.side-nav a.roulette-nav-button {
  position: relative;
  overflow: hidden;
}

.side-nav a.roulette-nav-button.is-available {
  color: #07110c;
  border-color: rgba(255, 213, 79, 0.58);
  background: linear-gradient(135deg, #ffe65a, #72ff58 48%, #40f7de);
  box-shadow: 0 14px 34px rgba(114, 255, 88, 0.18), inset 0 1px 0 rgba(255,255,255,.42);
  animation: rouletteNavPulse 2.6s ease-in-out infinite;
}

.side-nav a.roulette-nav-button.is-available:before {
  content: "";
  position: absolute;
  inset: -40% auto auto -35%;
  width: 70%;
  height: 190%;
  transform: rotate(22deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent);
  animation: rouletteNavShine 3.4s ease-in-out infinite;
}

.side-nav a.roulette-nav-button.is-available span,
.side-nav a.roulette-nav-button.is-available i[class*="fa-"] {
  position: relative;
  z-index: 1;
  color: #07110c;
}

.side-nav a.roulette-nav-button.is-available i[class*="fa-"] {
  animation: rouletteNavSpin 4.6s linear infinite;
  text-shadow: none;
}

@keyframes rouletteNavPulse {
  0%, 100% { transform: translateY(0); box-shadow: 0 14px 34px rgba(114, 255, 88, 0.18), inset 0 1px 0 rgba(255,255,255,.42); }
  50% { transform: translateY(-1px); box-shadow: 0 18px 42px rgba(255, 230, 90, 0.28), inset 0 1px 0 rgba(255,255,255,.55); }
}

@keyframes rouletteNavShine {
  0%, 42% { left: -55%; opacity: 0; }
  55% { opacity: 1; }
  82%, 100% { left: 130%; opacity: 0; }
}

@keyframes rouletteNavSpin {
  to { transform: rotate(360deg); }
}

.topbar {
  border-radius: 8px;
  background: rgba(9, 12, 24, 0.76);
}

.search input,
.search input::placeholder {
  color: #dce8f6;
}

.sidebar-card p,
.sidebar-card span,
.stat-card span,
.stat-card small,
.account-score span,
.account-score small,
.account-hero p:not(.eyebrow),
.panel p,
.payouts-table td {
  color: #bbc6d7;
}

.eyebrow,
.tagline,
.sidebar-profit,
.lime-value,
.stat-card .lime-value,
.account-score strong,
.custom-return-details strong,
.payouts-table .amount,
.market-price small.is-up {
  color: var(--home-lime);
}

.doge-value,
.stat-card .doge-value,
.panel-head h2,
.account-hero h1,
.payouts-table th {
  color: #ffffff;
}

.account-hero,
.dashboard-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 86% 12%, rgba(183, 255, 74, 0.16), transparent 18rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025)),
    rgba(16, 20, 38, 0.9);
}

.account-hero::after,
.dashboard-hero::after {
  content: "";
  position: absolute;
  inset: auto 20px 0 20px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(183, 255, 74, 0.75), transparent);
}

.stat-card,
.panel,
.account-hero,
.account-score,
.sidebar-card {
  border-radius: 8px;
}

.stat-card:hover,
.panel:hover {
  border-color: rgba(183, 255, 74, 0.2);
  box-shadow: 0 26px 78px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.action-button,
.logout-button,
.sidebar-upgrade-button,
.panel-tabs button,
.purchase-confirm-button {
  border-radius: 8px;
}

.action-button.primary,
.sidebar-upgrade-button,
.dashboard-withdraw-button,
.professional-cloud-button,
.logout-button:hover,
.purchase-confirm-button.primary {
  color: #07110c;
  border-color: rgba(183, 255, 74, 0.45);
  background: linear-gradient(135deg, var(--home-lime), var(--home-yellow));
  box-shadow: 0 18px 36px rgba(183, 255, 74, 0.18);
}

.professional-cloud-button,
.professional-cloud-button i,
.professional-cloud-button span {
  color: #07110c;
}

.withdraw-button,
.dashboard-withdraw-button {
  color: #07110c;
  background: linear-gradient(135deg, var(--home-cyan), var(--home-lime));
}

.account-form input,
.account-form textarea,
.custom-plan-input-row,
.custom-plan-form .custom-plan-input-row,
.referral-link-box,
.withdraw-detail-grid div,
.withdraw-summary,
.payouts-table-wrap,
.purchase-coin-grid a,
.purchase-address-box,
.transaction-monitor {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(7, 10, 20, 0.72);
}

.account-form input:focus,
.account-form textarea:focus,
.custom-plan-form .custom-plan-input-row:focus-within {
  border-color: rgba(183, 255, 74, 0.68);
  box-shadow: 0 0 0 3px rgba(183, 255, 74, 0.12);
}

.payouts-table th {
  background: #0b0f1d;
}

.payouts-table tr:hover td {
  background: rgba(183, 255, 74, 0.045);
}

.active-status span,
.online-status::before,
.status-dot {
  background: var(--home-lime);
  box-shadow: 0 0 12px rgba(183, 255, 74, 0.75);
}

.market-price small.is-down {
  color: #ff5f73;
  font-weight: 800;
}

.custom-return-details,
.custom-return-details div {
  border-color: rgba(255, 255, 255, 0.09);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.018)),
    rgba(7, 16, 31, 0.58);
}

.custom-return-details div::before {
  background: linear-gradient(90deg, var(--home-lime), var(--home-cyan));
}

@media (max-width: 760px) {
  .topbar,
  .account-hero,
  .dashboard-hero,
  .stat-card,
  .panel {
    border-radius: 8px;
  }

  .brand-logo {
    width: 190px;
  }
}

/* Premium custom mining package builder */
.plans-panel {
  background:
    radial-gradient(circle at 88% 0%, rgba(183, 255, 74, 0.12), transparent 18rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025)),
    rgba(16, 20, 38, 0.86);
}

.plans-panel .panel-head {
  align-items: flex-end;
  gap: 16px;
}

.plans-panel .panel-head h2 {
  max-width: 720px;
  margin-top: 4px;
  font-size: clamp(1.65rem, 2.8vw, 2.65rem);
  line-height: 1.04;
}

.plans-panel .panel-badge,
.contract-pill {
  border-color: rgba(183, 255, 74, 0.3);
  color: #07110c;
  background: linear-gradient(135deg, var(--home-lime), var(--home-yellow));
  box-shadow: 0 14px 30px rgba(183, 255, 74, 0.14);
}

.custom-plan-titlebar .contract-pill {
  color: #05070a;
}

.crypto-payment-grid.compact {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.crypto-payment-grid.compact .crypto-payment-option {
  min-height: 92px;
}

.crypto-payment-grid.compact .crypto-payment-option strong {
  font-size: 0.78rem;
  line-height: 1.15;
}

.custom-plan-crypto-icons {
  gap: 6px;
}

.custom-plan-crypto-icons img {
  width: 24px;
  height: 24px;
}

@media (min-width: 1280px) {
  .crypto-payment-grid.compact {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .crypto-payment-grid.compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.custom-plan-card {
  min-height: 560px;
  padding: clamp(18px, 2.5vw, 30px);
  border-color: rgba(183, 255, 74, 0.26);
  background:
    radial-gradient(circle at 82% 18%, rgba(183, 255, 74, 0.15), transparent 20rem),
    radial-gradient(circle at 48% 88%, rgba(57, 233, 255, 0.11), transparent 18rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.024)),
    rgba(9, 13, 25, 0.92);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.custom-plan-card::before {
  inset: 16px;
  border-color: rgba(183, 255, 74, 0.12);
  background:
    linear-gradient(90deg, transparent, rgba(183, 255, 74, 0.18), transparent) top / 100% 1px no-repeat,
    linear-gradient(90deg, transparent, rgba(57, 233, 255, 0.12), transparent) bottom / 100% 1px no-repeat;
}

.custom-plan-titlebar {
  padding-bottom: 4px;
}

.custom-plan-titlebar .plan-name {
  gap: 11px;
  color: #ffffff;
  font-size: clamp(1.08rem, 1.7vw, 1.45rem);
  font-weight: 950;
}

.custom-plan-titlebar .server-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background:
    linear-gradient(180deg, #3f4a61, #131a29),
    #151c2c;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1), 0 12px 24px rgba(0, 0, 0, 0.26);
}

.custom-plan-priceband {
  gap: 12px;
}

.custom-plan-priceband div,
.custom-return-details div {
  position: relative;
  overflow: hidden;
  border-color: rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.018)),
    rgba(7, 10, 20, 0.74);
}

.custom-plan-priceband div::after,
.custom-return-details div::after {
  content: "";
  position: absolute;
  inset: auto 14px 12px 14px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(183, 255, 74, 0.6), transparent);
}

.custom-plan-priceband span,
.custom-return-details span {
  color: #bbc6d7;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.custom-plan-priceband strong,
.custom-return-details strong {
  color: var(--home-lime);
  text-shadow: 0 0 22px rgba(183, 255, 74, 0.18);
}

.custom-plan-priceband .usd-plan-price,
.custom-plan-priceband small {
  color: var(--home-yellow);
  font-weight: 800;
}

.custom-return-details {
  gap: 12px;
  padding: 0;
  border: 0;
  background: transparent;
}

.custom-return-details div {
  min-height: 116px;
  padding: 16px;
}

.custom-plan-form {
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(5, 8, 18, 0.42);
}

.custom-plan-form .custom-plan-input-row {
  min-height: 88px;
  border-color: rgba(183, 255, 74, 0.26);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02)),
    rgba(7, 10, 20, 0.82);
}

.custom-plan-form .custom-plan-input-row input {
  min-height: 88px;
  color: #ffffff;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  font-weight: 950;
}

.custom-plan-form .custom-plan-input-row span {
  min-height: 88px;
  color: #07110c;
  background: linear-gradient(135deg, var(--home-lime), var(--home-yellow));
}

.custom-buy-button {
  min-height: 62px;
  color: #07110c;
  font-size: 0.95rem;
  font-weight: 950;
  letter-spacing: 0.02em;
  background: linear-gradient(135deg, var(--home-lime), var(--home-yellow));
  box-shadow: 0 20px 42px rgba(183, 255, 74, 0.22);
}

.custom-buy-button i {
  color: #07110c;
}

.custom-plan-accepted {
  min-height: 62px;
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.035);
}

.custom-plan-visual {
  position: relative;
  min-height: 510px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 12%, rgba(183, 255, 74, 0.2), transparent 14rem),
    radial-gradient(circle at 78% 68%, rgba(57, 233, 255, 0.16), transparent 15rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.018)),
    rgba(4, 8, 18, 0.72);
}

.custom-plan-visual::before {
  inset: 18px;
  border-radius: 8px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: 0.8;
}

.custom-plan-visual::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 38px;
  width: 74%;
  height: 24px;
  border-radius: 999px;
  background: radial-gradient(ellipse, rgba(0, 0, 0, 0.62), transparent 70%);
  transform: translateX(-50%);
}

.visual-status-card {
  top: 18px;
  right: 18px;
  min-width: 142px;
  border-color: rgba(183, 255, 74, 0.32);
  background: rgba(7, 10, 20, 0.82);
}

.visual-status-card strong {
  color: var(--home-lime);
}

.mining-server-animation {
  position: absolute;
  inset: 104px 36px 58px;
  display: grid;
  align-content: center;
  gap: 16px;
  perspective: 900px;
  transform: translateY(-12px);
}

.server-rack {
  position: relative;
  height: 82px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08), transparent 18%, rgba(255, 255, 255, 0.08) 52%, transparent),
    linear-gradient(180deg, #313b50 0%, #141b2b 44%, #0b101d 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 -14px 22px rgba(0, 0, 0, 0.26),
    0 18px 34px rgba(0, 0, 0, 0.28);
  transform: rotateX(5deg) skewX(-1deg);
}

.server-rack::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 50%;
  width: 52px;
  height: 52px;
  border: 6px solid rgba(255, 255, 255, 0.12);
  border-top-color: var(--home-cyan);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(57, 233, 255, 0.34) 0 4px, transparent 5px),
    rgba(5, 8, 18, 0.78);
  transform: translateY(-50%);
  animation: professionalFan 1.15s linear infinite;
}

.server-rack::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
  width: 46%;
  height: 28px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 8px 50%, var(--home-lime) 0 4px, transparent 5px),
    radial-gradient(circle at 28px 50%, var(--home-yellow) 0 3px, transparent 4px),
    radial-gradient(circle at 47px 50%, var(--home-cyan) 0 3px, transparent 4px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.15) 0 2px, transparent 2px 14px);
  transform: translateY(-50%);
  animation: serverLedFlow 1.65s ease-in-out infinite;
}

.rack-two {
  margin-left: 18px;
  margin-right: 10px;
  animation-delay: 0.15s;
}

.rack-three {
  margin-left: 34px;
  margin-right: 22px;
  animation-delay: 0.3s;
}

.server-signal {
  position: absolute;
  left: 12%;
  right: 9%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--home-lime), var(--home-cyan), transparent);
  box-shadow: 0 0 18px rgba(183, 255, 74, 0.45);
  opacity: 0.75;
  animation: dataBeam 2.2s ease-in-out infinite;
}

.signal-one {
  top: 18%;
}

.signal-two {
  top: 50%;
  animation-delay: 0.7s;
}

.signal-three {
  top: 82%;
  animation-delay: 1.15s;
}

@keyframes professionalFan {
  to {
    transform: translateY(-50%) rotate(360deg);
  }
}

@keyframes serverLedFlow {
  0%,
  100% {
    opacity: 0.72;
    filter: brightness(1);
  }
  50% {
    opacity: 1;
    filter: brightness(1.45);
  }
}

@keyframes dataBeam {
  0% {
    transform: translateX(-18px) scaleX(0.72);
    opacity: 0;
  }
  32% {
    opacity: 0.9;
  }
  100% {
    transform: translateX(28px) scaleX(1);
    opacity: 0;
  }
}

@media (max-width: 1180px) {
  .custom-plan-visual {
    min-height: 390px;
  }

  .mining-server-animation {
    inset: 92px 28px 48px;
  }
}

@media (max-width: 760px) {
  .plans-panel .panel-head {
    align-items: flex-start;
  }

  .plans-panel .panel-head h2 {
    font-size: clamp(1.42rem, 8vw, 2rem);
  }

  .custom-plan-card {
    min-height: auto;
  }

  .custom-plan-form {
    padding: 12px;
  }

  .custom-plan-form .custom-plan-input-row,
  .custom-plan-form .custom-plan-input-row input,
  .custom-plan-form .custom-plan-input-row span {
    min-height: 76px;
  }

  .custom-plan-visual {
    min-height: 330px;
  }

  .mining-server-animation {
    inset: 86px 20px 42px;
    gap: 12px;
  }

  .server-rack {
    height: 64px;
  }

  .server-rack::before {
    width: 40px;
    height: 40px;
    left: 13px;
  }
}

/* Mobile VIP rewards modal polish */
.vip-modal {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 760px) {
  .modal-backdrop:has(.vip-modal) {
    align-items: flex-end;
    padding: 10px;
    padding:
      max(10px, env(safe-area-inset-top))
      max(10px, env(safe-area-inset-right))
      max(10px, env(safe-area-inset-bottom))
      max(10px, env(safe-area-inset-left));
  }

  .vip-modal {
    width: 100%;
    max-width: none;
    max-height: calc(100dvh - 20px);
    border-radius: 16px 16px 10px 10px;
    overflow-y: auto;
    background:
      linear-gradient(180deg, rgba(16, 34, 54, 0.99), rgba(7, 16, 29, 0.99));
  }

  .vip-modal .modal-head {
    position: sticky;
    top: 0;
    z-index: 2;
    padding: 14px;
    background: rgba(10, 22, 38, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  .vip-modal .modal-head h2 {
    font-size: 1.18rem;
    line-height: 1.15;
  }

  .vip-modal .modal-close {
    width: 40px;
    min-width: 40px;
    min-height: 40px;
  }

  .vip-current-level {
    margin: 12px;
    padding: 13px;
    border-radius: 12px;
  }

  .vip-current-level strong {
    font-size: 1.15rem;
  }

  .vip-level-grid {
    grid-template-columns: 1fr !important;
    gap: 9px;
    padding: 0 12px;
  }

  .vip-tier {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    min-height: 0;
    gap: 8px 10px;
    padding: 12px;
    border-radius: 12px;
  }

  .vip-tier-head {
    min-width: 0;
  }

  .vip-tier-head i {
    width: 34px;
    height: 34px;
    min-width: 34px;
  }

  .vip-tier b {
    font-size: 0.98rem;
  }

  .vip-tier span,
  .vip-tier strong {
    grid-column: 1;
  }

  .vip-tier strong {
    font-size: 0.88rem;
  }

  .vip-tier form,
  .vip-claim-button {
    grid-column: 2;
    grid-row: 1 / span 3;
    align-self: center;
    width: 104px;
  }

  .vip-claim-button {
    min-height: 40px;
    padding: 8px 10px;
    font-size: 0.72rem;
    line-height: 1.1;
    white-space: normal;
  }

  .vip-note {
    margin: 12px;
    padding-bottom: 6px;
    font-size: 0.78rem;
  }
}

@media (max-width: 390px) {
  .vip-tier {
    grid-template-columns: 1fr;
  }

  .vip-tier form,
  .vip-claim-button {
    grid-column: 1;
    grid-row: auto;
    width: 100%;
  }
}
/* Custom package uses the full card after removal of the decorative cloud-node visual. */
.custom-plan-card {
  grid-template-columns: minmax(0, 1fr);
}

.custom-plan-content {
  width: 100%;
}

.plans-panel > .panel-head h2 {
  font-size: clamp(1.15rem, 1.7vw, 1.45rem);
  line-height: 1.25;
  letter-spacing: -0.01em;
  font-weight: 700;
}

.wallet-power-card {
  grid-template-columns: minmax(0, 1.7fr) minmax(220px, 0.9fr);
}

.balance-card .doge-value {
  max-width: 100%;
  font-size: clamp(1.18rem, 1.8vw, 1.68rem);
  letter-spacing: -0.025em;
  white-space: nowrap;
  display: flex;
  align-items: baseline;
  gap: 0.35em;
  min-height: 1.35em;
  overflow: hidden;
  contain: layout paint;
  font-variant-numeric: tabular-nums;
}

.balance-card .doge-value #bal {
  display: block;
  flex: 0 1 auto;
  min-width: 0;
  overflow: hidden;
  font-variant-numeric: tabular-nums;
}

.balance-card .balance-active-plans-button {
  width: 100%;
  min-height: 52px;
  justify-content: center;
  gap: 10px;
  color: #05080d;
}

.balance-card .balance-active-plans-button i,
.balance-card .balance-active-plans-button span {
  color: #05080d;
}

@media (max-width: 760px) {
  .wallet-power-card {
    grid-template-columns: 1fr;
  }

  .balance-card .doge-value {
    font-size: clamp(1.08rem, 5.6vw, 1.5rem);
  }
}
