/* CloudFlops — mobile & tablet layout */

/* ——— iOS / safe-area (progressive enhancement) ——— */

:root {
  --coin-safe-top: env(safe-area-inset-top, 0px);
  --coin-safe-right: env(safe-area-inset-right, 0px);
  --coin-safe-bottom: env(safe-area-inset-bottom, 0px);
  --coin-safe-left: env(safe-area-inset-left, 0px);
  --coin-fab-bottom: calc(24px + var(--coin-safe-bottom));
  --coin-scroll-top-bottom: calc(92px + var(--coin-safe-bottom));
  --coin-scroll-top-bottom-mobile: calc(84px + var(--coin-safe-bottom));
  --coin-footer-pad-bottom-mobile: calc(96px + var(--coin-safe-bottom));
  --coin-btn-border: oklch(0.86 0.11 195 / 0.5);
  --coin-btn-bg: linear-gradient(140deg, oklch(0.86 0.12 192), oklch(0.66 0.13 205));
  --coin-btn-color: #04121f;
  --coin-btn-shadow: 0 20px 46px -22px oklch(0.8 0.13 195 / 0.85);
}

html {
  -webkit-text-size-adjust: 100%;
}

html,
body {
  overflow-x: hidden;
}

body {
  -webkit-overflow-scrolling: touch;
  -webkit-tap-highlight-color: rgba(150, 235, 250, 0.12);
}

/* Prevent iOS Safari zoom on input focus (< 16px triggers zoom).
   !important beats accidental inline font-size < 16px. */
.coin-auth input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
.coin-auth select,
.coin-auth textarea,
.coin-shell input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="hidden"]),
.coin-shell select,
.coin-shell textarea,
.coin-payment-overlay input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
.coin-payment-overlay select,
.coin-payment-overlay textarea,
#guest-support-root input,
#guest-support-root select,
#guest-support-root textarea {
  font-size: 16px !important;
}

.coin-auth input[inputmode="numeric"][maxlength="6"],
.coin-auth input[pattern="[0-9]{6}"],
.coin-payment-overlay input[inputmode="numeric"][maxlength="6"] {
  font-size: 24px !important;
}

.coin-payment-overlay__stage {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: safe center;
  justify-content: center;
  padding:
    calc(24px + var(--coin-safe-top))
    calc(24px + var(--coin-safe-right))
    calc(24px + var(--coin-safe-bottom))
    calc(24px + var(--coin-safe-left));
  background: rgba(2, 8, 16, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-sizing: border-box;
}

.coin-payment-overlay__stage--opaque {
  background: rgba(2, 8, 16, 0.88);
}

.coin-guest-support-fab {
  pointer-events: auto;
  position: fixed;
  right: calc(24px + var(--coin-safe-right));
  bottom: var(--coin-fab-bottom);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: 999px;
  border: 1px solid oklch(0.86 0.11 195 / 0.5);
  background: linear-gradient(140deg, oklch(0.86 0.12 192), oklch(0.66 0.13 205));
  color: #04121f;
  font-family: 'Sora', 'Helvetica Neue', Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 20px 50px -22px oklch(0.8 0.13 195 / 0.7);
}

.coin-guest-support-panel {
  pointer-events: auto;
  position: fixed;
  right: calc(24px + var(--coin-safe-right));
  bottom: var(--coin-fab-bottom);
  width: min(420px, calc(100vw - 32px - var(--coin-safe-left) - var(--coin-safe-right)));
  max-height: min(680px, calc(100dvh - 48px - var(--coin-safe-top) - var(--coin-safe-bottom)));
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  border: 1px solid rgba(150, 235, 250, 0.18);
  background: #061423;
  color: #e6f4fa;
  font-family: 'Sora', 'Helvetica Neue', Helvetica, sans-serif;
  box-shadow: 0 28px 80px -24px rgba(0, 0, 0, 0.65);
  overflow: hidden;
}

.coin-guest-turnstile {
  min-height: 65px;
  display: flex;
  justify-content: flex-start;
}

.coin-support-toast-root {
  position: fixed;
  top: calc(20px + var(--coin-safe-top));
  right: calc(20px + var(--coin-safe-right));
  z-index: 2147483000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
  max-width: min(420px, calc(100vw - 32px - var(--coin-safe-left) - var(--coin-safe-right)));
}

html.coin-nav-open body,
html.coin-modal-open body {
  overflow: hidden;
}

.coin-app,
.coin-shell,
.coin-dashboard {
  width: 100% !important;
  max-width: none;
  box-sizing: border-box;
}

/*
 * Landing / dashboard / auth are full-bleed: one background edge-to-edge.
 * Landing inner sections keep max-width: 1536px; dashboard content uses its own grids.
 */
.coin-app.coin-landing {
  margin: 0;
  background: #061423;
  /* Shared section rhythm — adjacent top+bottom paddings stack, keep modest */
  --landing-section-y: clamp(24px, 3vw, 40px);
}

body:has(.coin-app.coin-landing),
body:has(.coin-shell),
body:has(.coin-dashboard) {
  background: #061423;
}

.coin-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(150, 235, 250, 0.2);
  border-radius: 10px;
  background: rgba(150, 235, 250, 0.06);
  cursor: pointer;
  flex-shrink: 0;
}

.coin-burger span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  border-radius: 1px;
  background: #e6f4fa;
  transition: transform 0.2s, opacity 0.2s;
}

html.coin-nav-open .coin-burger span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

html.coin-nav-open .coin-burger span:nth-child(2) {
  opacity: 0;
}

html.coin-nav-open .coin-burger span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.coin-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(4, 16, 28, 0.88);
}

html.coin-nav-open .coin-nav-overlay {
  display: block;
}

/* ——— Brand logos ——— */

.coin-brand-logo {
  width: min(300px, 58vw);
  height: auto;
  max-height: 66px;
  display: block;
  object-fit: contain;
  background: transparent;
}

.coin-footer-brand .coin-brand-logo {
  width: min(250px, 52vw);
  max-height: 56px;
}

/* ——— Landing footer ——— */

.coin-landing-footer {
  position: relative;
  z-index: 5;
  padding: 32px 72px 24px;
  border-top: 1px solid rgba(150, 235, 250, 0.1);
  background: rgba(150, 235, 250, 0.02);
}

.coin-landing-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 4fr);
  gap: 40px;
  align-items: start;
}

.coin-landing-footer__brand .coin-footer-brand {
  display: flex;
  align-items: center;
}

.coin-landing-footer__tagline {
  margin: 16px 0 0;
  max-width: 280px;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(230, 244, 250, 0.68);
}

.coin-landing-footer__company {
  margin: 20px 0 0;
  max-width: 320px;
  font-style: normal;
  font-size: 12px;
  line-height: 1.65;
  color: rgba(230, 244, 250, 0.58);
}

.coin-landing-footer__links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}

.coin-landing-footer__heading {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: rgba(230, 244, 250, 0.65);
}

.coin-landing-footer__nav {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-top: 16px;
  font-size: 13.5px;
}

.coin-landing-footer__nav a {
  color: rgba(230, 244, 250, 0.78);
  word-break: break-word;
}

.coin-landing-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid rgba(150, 235, 250, 0.1);
  font-size: 12.5px;
  color: rgba(230, 244, 250, 0.62);
}

.coin-landing-footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 8px;
}

.coin-landing-footer__legal .coin-legal-links__sep {
  color: rgba(230, 244, 250, 0.35);
}

.coin-landing-footer__status {
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.coin-preview-brand .coin-brand-logo {
  width: min(220px, 100%);
  max-height: 48px;
}

/* ——— Landing header ——— */

.coin-header {
  flex-wrap: wrap;
  gap: 12px !important;
  background: rgba(6, 20, 35, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.coin-header-brand {
  flex: 0 1 auto;
  min-width: 0;
}

.coin-nav-desktop {
  display: flex;
  align-items: center;
  gap: 30px;
}

.coin-nav-mobile {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  z-index: 100;
  width: min(320px, 88vw);
  height: 100vh;
  height: 100dvh;
  flex-direction: column;
  gap: 0 !important;
  padding: calc(88px + var(--coin-safe-top)) 20px calc(32px + var(--coin-safe-bottom)) !important;
  border-left: 1px solid rgba(150, 235, 250, 0.14);
  background: #061423;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.25s ease;
}

.coin-nav-mobile a {
  display: block;
  padding: 14px 12px !important;
  font-size: 15px !important;
  border-bottom: 1px solid rgba(150, 235, 250, 0.08);
}

html.coin-nav-open .coin-nav-mobile {
  display: flex;
  transform: translateX(0);
}

.coin-header-actions .coin-header-login {
  display: inline;
}

/* ——— Landing header v2 (scoped to .coin-landing only) ——— */

.coin-landing .coin-landing-header {
  position: relative;
  z-index: 20;
  padding: 16px clamp(16px, 4vw, 72px);
  border-bottom: 1px solid rgba(150, 235, 250, 0.1);
}

.coin-landing-header__inner {
  max-width: 1536px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  flex-wrap: nowrap;
}

.coin-landing-header__logo {
  height: clamp(30px, 3.5vw, 40px);
  width: auto;
  max-width: min(260px, 54vw);
  max-height: none;
}

.coin-landing .coin-nav-desktop {
  gap: clamp(14px, 2vw, 30px);
  flex-wrap: nowrap;
}

.coin-landing .coin-nav-desktop a {
  font-size: 14px;
  white-space: nowrap;
  color: rgba(230, 244, 250, 0.78);
}

.coin-landing .coin-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
}

.coin-landing .coin-header-login,
.coin-landing .coin-header-cta {
  padding: 11px 22px;
  border-radius: 11px;
  border: 1px solid oklch(0.86 0.11 195 / 0.5);
  background: linear-gradient(140deg, oklch(0.86 0.12 192), oklch(0.66 0.13 205));
  color: #04121f;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.coin-landing .coin-header-login:hover,
.coin-landing .coin-header-cta:hover {
  color: #04121f;
  filter: brightness(1.05);
}

.coin-landing .coin-landing-drawer {
  width: min(340px, 88vw);
  padding: 18px !important;
  padding-top: calc(18px + var(--coin-safe-top)) !important;
  padding-bottom: calc(18px + var(--coin-safe-bottom)) !important;
  gap: 8px !important;
  background: #061b2c !important;
  box-shadow: -30px 0 70px -40px #000;
}

.coin-landing-drawer__head {
  display: flex;
  align-items: center;
  gap: 11px;
  padding-bottom: 16px;
}

.coin-landing-drawer__logo {
  height: 36px;
  width: auto;
  flex: 1;
  min-width: 0;
  object-fit: contain;
  object-position: left center;
}

.coin-nav-mobile-close {
  width: 40px;
  height: 40px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 11px;
  border: 1px solid rgba(150, 235, 250, 0.18);
  background: rgba(150, 235, 250, 0.06);
  color: #e6f4fa;
  font-family: inherit;
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
}

.coin-landing .coin-landing-drawer__link {
  padding: 14px 12px !important;
  border-radius: 11px;
  border: 1px solid rgba(150, 235, 250, 0.1) !important;
  background: rgba(150, 235, 250, 0.035);
  font-size: 15px !important;
  color: rgba(230, 244, 250, 0.88) !important;
  border-bottom: none !important;
}

.coin-landing-drawer__divider {
  height: 1px;
  margin: 12px 0 14px;
  background: rgba(150, 235, 250, 0.12);
}

.coin-landing-drawer__cta {
  display: block;
  padding: 15px;
  border-radius: 12px;
  border: 1px solid oklch(0.86 0.11 195 / 0.5);
  background: linear-gradient(140deg, oklch(0.86 0.12 192), oklch(0.66 0.13 205));
  color: #04121f !important;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  box-shadow: 0 18px 40px -22px oklch(0.8 0.13 195 / 0.85);
}

.coin-landing-drawer__cta--secondary {
  padding: 14px;
  border: 1px solid rgba(150, 235, 250, 0.2) !important;
  background: rgba(150, 235, 250, 0.06) !important;
  color: #e6f4fa !important;
  font-size: 14.5px;
  font-weight: 500;
  box-shadow: none;
}

.coin-landing .coin-burger {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  gap: 4px;
}

.coin-landing .coin-burger span {
  width: 17px;
  height: 1.5px;
}

.coin-landing-hero {
  position: relative;
  z-index: 5;
  padding: clamp(32px, 4.5vw, 56px) clamp(16px, 4vw, 72px) clamp(32px, 4vw, 48px);
}

.coin-landing-hero__grid {
  max-width: 1536px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(36px, 5vw, 60px);
  align-items: center;
}

.coin-landing-hero__copy {
  min-width: 0;
}

.coin-landing-hero__visual {
  display: none;
  min-width: 0;
}

.coin-landing-hero__visual-card {
  padding: 26px;
  border-radius: 22px;
  border: 1px solid rgba(150, 235, 250, 0.16);
  background: linear-gradient(170deg, rgba(20, 55, 80, 0.7), rgba(6, 20, 35, 0.85));
  box-shadow: 0 40px 90px -50px #000;
}

.coin-landing-btn {
  display: inline-block;
  padding: 16px 28px;
  border-radius: 13px;
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1.2;
  cursor: pointer;
  text-decoration: none;
  box-sizing: border-box;
  text-align: center;
}

.coin-landing-btn--primary {
  border-color: oklch(0.86 0.11 195 / 0.5);
  background: linear-gradient(140deg, oklch(0.86 0.12 192), oklch(0.66 0.13 205));
  color: #04121f;
  font-weight: 600;
  box-shadow: 0 20px 50px -22px oklch(0.8 0.13 195 / 0.7);
}

.coin-landing-btn--outline {
  border-color: oklch(0.86 0.11 195 / 0.45);
  background: transparent;
  color: #e6f4fa;
}

@media (min-width: 1024px) {
  .coin-landing-hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .coin-landing-hero__visual {
    display: block;
  }
}

.coin-landing-hero__title {
  margin: 26px 0 0;
  font-size: clamp(28px, 7.2vw, 66px);
  line-height: 1.08;
  letter-spacing: -0.04em;
  font-weight: 600;
  color: #f0fbff;
  overflow-wrap: anywhere;
  word-break: break-word;
  max-width: 100%;
}

.coin-landing-hero__lead {
  margin: 24px 0 0;
  max-width: 520px;
  font-size: 17px;
  line-height: 1.62;
  color: rgba(230, 244, 250, 0.72);
  overflow-wrap: anywhere;
  word-break: break-word;
}

.coin-landing-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.coin-landing-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 36px;
  margin-top: 44px;
  padding-top: 26px;
  border-top: 1px solid rgba(150, 235, 250, 0.1);
}

.coin-landing-section {
  position: relative;
  z-index: 5;
}

.coin-landing-section__inner {
  max-width: 1536px;
  margin: 0 auto;
}

.coin-landing-section__kicker {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: oklch(0.88 0.11 195);
}

.coin-landing-section__title {
  margin: 18px 0 0;
  font-size: clamp(28px, 4.6vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.035em;
  font-weight: 600;
  color: #f0fbff;
}

.coin-landing-metrics {
  padding: 0 clamp(16px, 4vw, 72px) var(--landing-section-y);
}

.coin-landing-metrics__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
  gap: 16px;
}

.coin-landing-metric-card {
  padding: 26px;
  border-radius: 18px;
  border: 1px solid rgba(150, 235, 250, 0.12);
  background: rgba(150, 235, 250, 0.04);
}

.coin-landing-metric-card--accent {
  border-color: oklch(0.86 0.11 195 / 0.26);
  background: linear-gradient(170deg, oklch(0.6 0.13 200 / 0.18), rgba(150, 235, 250, 0.03));
}

.coin-landing-metric-card__label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: rgba(230, 244, 250, 0.7);
}

.coin-landing-metric-card--accent .coin-landing-metric-card__label {
  color: rgba(230, 244, 250, 0.75);
}

.coin-landing-metric-card__value {
  margin-top: 16px;
  font-size: clamp(26px, 5vw, 34px);
  font-weight: 600;
  letter-spacing: -0.035em;
  color: #f0fbff;
}

.coin-landing-metric-card__value span {
  font-size: 15px;
  font-weight: 400;
  color: rgba(230, 244, 250, 0.7);
}

.coin-landing-metric-card--accent .coin-landing-metric-card__value span {
  color: rgba(230, 244, 250, 0.75);
}

.coin-landing-metrics__note {
  margin-top: 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: rgba(230, 244, 250, 0.62);
}

.coin-landing-how {
  padding: var(--landing-section-y) clamp(16px, 4vw, 72px);
  border-top: 1px solid rgba(150, 235, 250, 0.08);
}

.coin-landing-how__intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 60px;
}

.coin-landing-how__lead {
  max-width: 400px;
  margin: 0 0 6px;
  font-size: 15.5px;
  line-height: 1.62;
  color: rgba(230, 244, 250, 0.72);
}

.coin-landing-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
  gap: 16px;
  margin-top: 28px;
}

.coin-landing-step-card {
  padding: 28px 24px;
  border-radius: 18px;
  border: 1px solid rgba(150, 235, 250, 0.12);
  background: rgba(150, 235, 250, 0.04);
}

.coin-landing-step-card--accent {
  border-color: oklch(0.86 0.11 195 / 0.28);
  background: linear-gradient(170deg, oklch(0.6 0.13 200 / 0.2), rgba(150, 235, 250, 0.03));
}

.coin-landing-step-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.coin-landing-step-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  border: 1px solid rgba(150, 235, 250, 0.22);
  background: rgba(150, 235, 250, 0.07);
  display: grid;
  place-items: center;
}

.coin-landing-step-card__icon img {
  width: 24px;
  height: 24px;
  display: block;
  object-fit: contain;
}

.coin-landing-step-card__icon--accent {
  border-color: oklch(0.86 0.11 195 / 0.45);
  background: oklch(0.6 0.13 200 / 0.25);
}

.coin-landing-step-card__num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 20px;
  color: oklch(0.86 0.11 195 / 0.6);
}

.coin-landing-step-card__num--accent {
  color: oklch(0.88 0.11 195 / 0.75);
}

.coin-landing-step-card__title {
  margin: 22px 0 0;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: #f0fbff;
}

.coin-landing-step-card__text {
  margin: 9px 0 0;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(230, 244, 250, 0.7);
}

.coin-landing-step-card__text--accent {
  color: rgba(230, 244, 250, 0.75);
}

.coin-landing-benefits {
  padding: var(--landing-section-y) clamp(16px, 4vw, 72px);
  border-top: 1px solid rgba(150, 235, 250, 0.08);
}

.coin-landing-benefits__title {
  max-width: 560px;
}

.coin-landing-benefits__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: 16px;
  margin-top: 28px;
}

.coin-landing-benefit-card {
  padding: 28px;
  border-radius: 18px;
  border: 1px solid rgba(150, 235, 250, 0.12);
  background: rgba(150, 235, 250, 0.04);
}

.coin-landing-benefit-card__icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(150, 235, 250, 0.22);
  background: rgba(150, 235, 250, 0.07);
  display: grid;
  place-items: center;
}

.coin-landing-benefit-card__icon img {
  width: 24px;
  height: 24px;
  display: block;
  object-fit: contain;
}

.coin-landing-benefit-card__title {
  margin: 20px 0 0;
  font-size: 17.5px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: #f0fbff;
}

.coin-landing-benefit-card__text {
  margin: 9px 0 0;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(230, 244, 250, 0.7);
}

.coin-landing-infra {
  padding: var(--landing-section-y) clamp(16px, 4vw, 72px);
  border-top: 1px solid rgba(150, 235, 250, 0.08);
}

.coin-landing-infra__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: clamp(36px, 5vw, 60px);
  align-items: center;
}

.coin-landing-infra__lead {
  margin: 22px 0 0;
  max-width: 470px;
  font-size: 16.5px;
  line-height: 1.62;
  color: rgba(230, 244, 250, 0.72);
}

.coin-landing-infra__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 28px;
  max-width: 460px;
}

.coin-landing-infra-stat {
  padding: 20px;
  border-radius: 16px;
  border: 1px solid rgba(150, 235, 250, 0.12);
  background: rgba(150, 235, 250, 0.04);
}

.coin-landing-infra-stat__label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: rgba(230, 244, 250, 0.7);
}

.coin-landing-infra-stat__value {
  margin-top: 12px;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #f0fbff;
}

.coin-landing-infra-panel {
  padding: 28px;
  border-radius: 22px;
  border: 1px solid rgba(150, 235, 250, 0.14);
  background: linear-gradient(170deg, rgba(150, 235, 250, 0.06), rgba(6, 20, 35, 0.5));
}

.coin-landing-infra-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.coin-landing-infra-panel__title,
.coin-landing-infra-panel__badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: rgba(230, 244, 250, 0.72);
}

.coin-landing-infra-panel__badge {
  color: rgba(230, 244, 250, 0.65);
}

.coin-landing-infra-panel__list {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.coin-landing-infra-dc {
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid rgba(150, 235, 250, 0.12);
  background: rgba(4, 16, 28, 0.55);
}

.coin-landing-infra-dc__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.coin-landing-infra-dc__name {
  font-size: 14px;
  color: #f0fbff;
}

.coin-landing-infra-dc__status {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  flex: none;
}

.coin-landing-infra-dc__status--online {
  color: oklch(0.88 0.14 160);
}

.coin-landing-infra-dc__status--expand {
  color: oklch(0.9 0.14 90);
}

.coin-landing-infra-dc__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: oklch(0.85 0.15 160);
}

.coin-landing-infra-dc__dot--expand {
  background: oklch(0.88 0.15 90);
}

.coin-landing-infra-dc__bar {
  margin-top: 12px;
  height: 4px;
  border-radius: 3px;
  background: rgba(150, 235, 250, 0.12);
}

.coin-landing-infra-dc__fill {
  height: 100%;
  border-radius: 3px;
  background: oklch(0.86 0.12 192);
}

.coin-landing-infra-dc__fill--mid {
  background: oklch(0.8 0.12 198);
}

.coin-landing-infra-dc__fill--expand {
  background: oklch(0.88 0.15 90 / 0.8);
}

.coin-landing-infra-dc__load {
  margin-top: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: rgba(230, 244, 250, 0.66);
}

.coin-landing-infra-dc--placeholder {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-style: dashed;
  background: rgba(150, 235, 250, 0.02);
}

.coin-landing-infra-dc--placeholder .coin-landing-infra-dc__name {
  white-space: nowrap;
  color: rgba(230, 244, 250, 0.78);
}

.coin-landing-infra-dc__tbc {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  color: rgba(230, 244, 250, 0.68);
  flex: none;
}

.coin-landing-plans {
  padding: var(--landing-section-y) clamp(16px, 4vw, 72px);
  border-top: 1px solid rgba(150, 235, 250, 0.08);
  color: #e6f4fa;
}

.coin-landing-plans__intro {
  text-align: center;
  max-width: 620px;
  margin: 0 auto;
}

.coin-landing-plans__lead {
  margin: 18px 0 0;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(230, 244, 250, 0.72);
}

.coin-landing-referrals {
  padding: var(--landing-section-y) clamp(16px, 4vw, 72px);
  border-top: 1px solid rgba(150, 235, 250, 0.08);
}

.coin-landing-referrals__card {
  padding: clamp(28px, 4vw, 44px) clamp(20px, 3.4vw, 48px);
  border-radius: 22px;
  border: 1px solid rgba(180, 180, 255, 0.16);
  background: linear-gradient(120deg, oklch(0.6 0.13 200 / 0.16), rgba(120, 110, 220, 0.1));
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}

.coin-landing-referrals__title {
  margin: 0;
  font-size: clamp(25px, 3.6vw, 36px);
  line-height: 1.12;
  letter-spacing: -0.035em;
  font-weight: 600;
  color: #f0fbff;
}

.coin-landing-referrals__lead {
  margin: 16px 0 0;
  max-width: 480px;
  font-size: 15.5px;
  line-height: 1.62;
  color: rgba(230, 244, 250, 0.74);
}

.coin-landing-referrals__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.coin-landing-referrals__link {
  padding: 13px 18px;
  border-radius: 11px;
  border: 1px dashed rgba(150, 235, 250, 0.28);
  background: rgba(4, 16, 28, 0.5);
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: #eafcff;
}

.coin-landing-referrals__link span {
  color: oklch(0.88 0.11 195);
}

.coin-landing-referrals__cta {
  padding: 13px 22px;
  border-radius: 11px;
  border: 1px solid oklch(0.86 0.11 195 / 0.5);
  background: linear-gradient(140deg, oklch(0.86 0.12 192), oklch(0.66 0.13 205));
  color: #04121f;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.coin-landing-referrals__stats {
  padding: 24px;
  border-radius: 18px;
  border: 1px solid rgba(150, 235, 250, 0.16);
  background: rgba(6, 20, 35, 0.7);
}

.coin-landing-referrals__stats-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: rgba(230, 244, 250, 0.72);
}

.coin-landing-referrals__stats-head {
  margin-top: 14px;
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.coin-landing-referrals__stats-value {
  font-family: 'JetBrains Mono', monospace;
  font-size: 30px;
  color: #f0fbff;
}

.coin-landing-referrals__stats-unit {
  font-size: 13px;
  color: rgba(230, 244, 250, 0.72);
}

.coin-landing-referrals__stats-divider {
  height: 1px;
  background: rgba(150, 235, 250, 0.14);
  margin: 20px 0;
}

.coin-landing-referrals__stats-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  font-size: 13px;
  margin-bottom: 12px;
  color: rgba(230, 244, 250, 0.72);
}

.coin-landing-referrals__stats-row:last-child {
  margin-bottom: 0;
}

.coin-landing-referrals__stats-row span:last-child {
  font-family: 'JetBrains Mono', monospace;
  flex: none;
  text-align: right;
  color: #f0fbff;
}

.coin-landing-referrals__stats-row--accent span:last-child {
  color: oklch(0.9 0.12 192);
}

/* ——— Dashboard shell ——— */

.coin-shell {
  position: relative;
  min-height: 100vh;
  margin: 0 auto;
  background: #061423;
  color: #e6f4fa;
  font-family: 'Sora', 'Helvetica Neue', Helvetica, sans-serif;
}

.coin-dashboard {
  position: relative;
  min-height: 100vh;
  background: #061423;
}

/* Modals render outside .coin-shell — set readable defaults explicitly */
.coin-payment-overlay {
  color: #e6f4fa;
  font-family: 'Sora', 'Helvetica Neue', Helvetica, sans-serif;
}

.coin-payment-overlay .coin-modal-value {
  color: #f0fbff;
  font-family: 'JetBrains Mono', monospace;
}

.coin-plan-grid {
  display: grid;
  gap: 16px;
  align-items: stretch;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
}

.coin-plan-card {
  height: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  container-type: inline-size;
}

.coin-plan-card__badge {
  display: inline-block;
  width: fit-content;
  max-width: 100%;
  margin: 0 0 10px;
  padding: 3px 9px;
  border-radius: 7px;
  background: linear-gradient(140deg, oklch(0.88 0.12 192), oklch(0.66 0.13 205));
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.12em;
  color: #04121f;
  line-height: 1.3;
}

.coin-plan-card__icon-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.coin-plan-card__icon {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: linear-gradient(150deg, #1a4055, #0b2030);
  border: 1px solid rgba(150, 235, 250, 0.22);
  display: grid;
  place-items: center;
}

.coin-plan-card__icon span {
  width: 15px;
  height: 15px;
  border-radius: 4px;
  background: oklch(0.7 0.1 200);
}

.coin-plan-card__icon--current {
  background: linear-gradient(150deg, oklch(0.72 0.13 198), oklch(0.44 0.12 215));
  border-color: rgba(190, 250, 255, 0.4);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.coin-plan-card__icon--current span {
  background: #eafcff;
}

.coin-plan-card__icon--enterprise {
  width: 56px;
  height: 44px;
  border-radius: 11px;
  background: linear-gradient(160deg, #2a2a58, #0d1230);
  border-color: rgba(180, 180, 255, 0.3);
  padding: 7px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  place-items: stretch;
}

.coin-plan-card__icon--cluster {
  position: relative;
  width: 58px;
  height: 44px;
  border: 0;
  background: none;
  display: block;
}

.coin-plan-card__cluster-node {
  position: absolute;
  border-radius: 8px;
  background: linear-gradient(150deg, #1e4a60, #0b2030);
  border: 1px solid rgba(150, 235, 250, 0.22);
}

.coin-plan-card__cluster-node--left {
  left: 0;
  top: 6px;
  width: 22px;
  height: 32px;
}

.coin-plan-card__cluster-node--center {
  left: 18px;
  top: 0;
  width: 23px;
  height: 36px;
  border-radius: 9px;
  background: linear-gradient(150deg, #276076, #0d2637);
  border-color: rgba(150, 235, 250, 0.3);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.coin-plan-card__cluster-node--right {
  left: 37px;
  top: 7px;
  width: 21px;
  height: 30px;
}

.coin-plan-card__tier {
  flex: 1 1 auto;
  min-width: 0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: rgba(214, 238, 248, 0.66);
  text-align: right;
  word-break: break-word;
}

.coin-plan-card__title {
  margin-top: 12px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.coin-plan-card__divider {
  height: 1px;
  background: rgba(150, 235, 250, 0.12);
  margin: 12px 0;
  flex: none;
}

.coin-plan-card__headline {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 8px;
}

.coin-plan-card__price {
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.coin-plan-card__duration {
  flex: 0 0 auto;
  font-size: 12px;
  color: rgba(214, 238, 248, 0.72);
  white-space: nowrap;
}

.coin-plan-card__specs {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12.5px;
}

.coin-plan-card__spec-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

.coin-plan-card__spec-row span:first-child {
  flex: 1 1 45%;
  min-width: 0;
  color: rgba(214, 238, 248, 0.72);
}

.coin-plan-card__spec-row span:last-child {
  flex: 0 1 55%;
  font-family: 'JetBrains Mono', monospace;
  text-align: right;
  color: #f0fbff;
  word-break: break-word;
}

.coin-plan-card__footer {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.coin-plan-card__capacity {
  height: 4px;
  border-radius: 3px;
  background: rgba(150, 235, 250, 0.12);
  overflow: hidden;
}

.coin-plan-card__cta {
  margin-top: auto;
  width: 100%;
  padding: 10px;
  border-radius: 10px;
  font-family: inherit;
  font-size: 13px;
  line-height: 1.35;
  white-space: normal;
  text-align: center;
  cursor: pointer;
  box-sizing: border-box;
}

.coin-plan-card__cta--selected,
.coin-plan-card__cta--default,
.coin-plan-card__cta--enterprise,
.coin-plan-card__cta--enterprise.coin-plan-card__cta--selected {
  border: 1px solid var(--coin-btn-border);
  background: var(--coin-btn-bg);
  color: var(--coin-btn-color);
  font-weight: 600;
  box-shadow: var(--coin-btn-shadow);
}

/* Ghost / secondary action buttons → brand turquoise */
.coin-app button[style*="rgba(150,235,250,0."]:not(.coin-burger):not(.coin-nav-item):not(.coin-btn-quiet):not(.coin-dash-period-tabs__btn):not(.coin-referral-tabs__btn):not([data-password-toggle]),
.coin-shell button[style*="rgba(150,235,250,0."]:not(.coin-nav-item):not(.coin-btn-quiet):not(.coin-dash-period-tabs__btn):not(.coin-referral-tabs__btn):not([data-password-toggle]),
.coin-shell button[style*="rgba(150,140,255"]:not(.coin-btn-quiet):not(.coin-dash-period-tabs__btn):not(.coin-referral-tabs__btn),
.coin-shell button[style*="background: oklch(0.6 0.13 200 / 0.22)"]:not(.coin-btn-quiet):not(.coin-dash-period-tabs__btn):not(.coin-referral-tabs__btn),
.coin-auth button[style*="rgba(150,235,250,0."]:not(.coin-btn-quiet):not([data-password-toggle]),
.coin-payment-overlay button[style*="rgba(150,235,250,0."]:not(.coin-btn-quiet),
#guest-support-root button[style*="rgba(150,235,250,0."]:not(.coin-btn-quiet),
.coin-app a[style*="rgba(150,235,250,0."]:not(.coin-btn-quiet),
.coin-shell a[style*="rgba(150,235,250,0."]:not(.coin-btn-quiet),
.coin-auth a[style*="rgba(150,235,250,0."]:not(.coin-btn-quiet) {
  border: 1px solid var(--coin-btn-border) !important;
  background: var(--coin-btn-bg) !important;
  color: var(--coin-btn-color) !important;
  font-weight: 600 !important;
  box-shadow: var(--coin-btn-shadow);
}

.coin-app button[style*="rgba(150,235,250,0."]:not(.coin-burger):not(.coin-nav-item):not(.coin-btn-quiet):not(.coin-dash-period-tabs__btn):not(.coin-referral-tabs__btn):not([data-password-toggle]):hover,
.coin-shell button[style*="rgba(150,235,250,0."]:not(.coin-nav-item):not(.coin-btn-quiet):not(.coin-dash-period-tabs__btn):not(.coin-referral-tabs__btn):not([data-password-toggle]):hover,
.coin-shell button[style*="rgba(150,140,255"]:not(.coin-btn-quiet):not(.coin-dash-period-tabs__btn):not(.coin-referral-tabs__btn):hover,
.coin-shell button[style*="background: oklch(0.6 0.13 200 / 0.22)"]:not(.coin-btn-quiet):not(.coin-dash-period-tabs__btn):not(.coin-referral-tabs__btn):hover,
.coin-auth button[style*="rgba(150,235,250,0."]:not(.coin-btn-quiet):not([data-password-toggle]):hover,
.coin-payment-overlay button[style*="rgba(150,235,250,0."]:not(.coin-btn-quiet):hover,
#guest-support-root button[style*="rgba(150,235,250,0."]:not(.coin-btn-quiet):hover,
.coin-app a[style*="rgba(150,235,250,0."]:not(.coin-btn-quiet):hover,
.coin-shell a[style*="rgba(150,235,250,0."]:not(.coin-btn-quiet):hover,
.coin-auth a[style*="rgba(150,235,250,0."]:not(.coin-btn-quiet):hover {
  filter: brightness(1.06);
}

.coin-plan-card__cta--default:hover,
.coin-plan-card__cta--enterprise:hover,
.coin-plan-card__cta--selected:hover {
  filter: brightness(1.06);
}

.coin-notification-item {
  font-family: inherit;
  font-weight: 400 !important;
  box-shadow: none !important;
  transition: background 0.18s ease, border-color 0.18s ease;
}

.coin-notification-item:hover {
  background: rgba(150, 235, 250, 0.08) !important;
  border-color: rgba(150, 235, 250, 0.22) !important;
  filter: none !important;
}

.coin-notification-item--selected {
  background: rgba(150, 235, 250, 0.1) !important;
  border-color: rgba(150, 235, 250, 0.32) !important;
}

.coin-wallet-actions-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 16px;
  align-items: stretch;
}

.coin-wallet-action-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 24px;
  border-radius: 16px;
  border: 1px solid rgba(150, 235, 250, 0.12);
  background: rgba(150, 235, 250, 0.035);
}

.coin-wallet-action-card__footer {
  margin-top: 20px;
  padding-top: 0;
}

@media (min-width: 1025px) {
  .coin-wallet-action-card {
    height: 100%;
  }

  .coin-wallet-action-card__footer {
    margin-top: auto;
    padding-top: 20px;
  }
}

.coin-wallet-transactions-panel {
  padding: 24px;
  border-radius: 16px;
  border: 1px solid rgba(150, 235, 250, 0.12);
  background: rgba(150, 235, 250, 0.035);
  min-width: 0;
}

.coin-wallet-deposits-table {
  min-width: 760px;
}

.coin-wallet-deposits-table__head,
.coin-wallet-deposits-table__row {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 0.7fr) minmax(0, 0.8fr) minmax(0, 0.9fr) minmax(0, 2.2fr);
  align-items: start;
  gap: 12px;
  font-size: 13px;
}

.coin-wallet-deposits-table__head {
  padding: 16px 0 12px;
  border-bottom: 1px solid rgba(150, 235, 250, 0.1);
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px;
  letter-spacing: 0.12em;
  color: rgba(214, 238, 248, 0.66);
}

.coin-wallet-deposits-table__row {
  padding: 13px 0;
  border-bottom: 1px solid rgba(150, 235, 250, 0.07);
}

.coin-wallet-deposits-table__row:last-child {
  border-bottom: 0;
}

.coin-wallet-deposits-table__details {
  min-width: 0;
}

.coin-wallet-transactions-table {
  min-width: 0;
}

.coin-wallet-transactions-table__head,
.coin-wallet-transactions-table__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 0.8fr);
  align-items: start;
  column-gap: 12px;
  font-size: 13px;
}

.coin-wallet-transactions-table__cell {
  min-width: 0;
}

.coin-wallet-transactions-table__destination {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.coin-wallet-transactions-table__reopen-btn {
  margin: 0;
  padding: 7px 11px;
  border-radius: 8px;
  border: 1px solid rgba(255, 180, 84, 0.35);
  background: rgba(255, 180, 84, 0.1);
  color: #ffe8c8;
  font-family: inherit;
  font-size: 11.5px;
  cursor: pointer;
}

.coin-wallet-transactions-table__status {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 4px;
  text-align: right;
}

.coin-wallet-transactions-table__status-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  line-height: 1.35;
  white-space: nowrap;
}

.coin-wallet-transactions-table__status-detail {
  font-family: 'Sora', sans-serif;
  font-size: 12px;
  line-height: 1.4;
  max-width: 100%;
  word-break: break-word;
}

.coin-wallet-transactions-table__amount {
  padding-top: 1px;
  text-align: right;
}

.coin-wallet-transactions-table__head {
  padding: 16px 0 12px;
  border-bottom: 1px solid rgba(150, 235, 250, 0.1);
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px;
  letter-spacing: 0.12em;
  color: rgba(214, 238, 248, 0.66);
}

.coin-wallet-transactions-table__row {
  padding: 14px 0;
  border-bottom: 1px solid rgba(150, 235, 250, 0.07);
}

.coin-wallet-transactions-table__row:last-child {
  border-bottom: 0;
}

.coin-wallet-transactions-table__head span:nth-child(4),
.coin-wallet-transactions-table__head span:last-child,
.coin-wallet-transactions-table__amount {
  text-align: right;
}

/* Shared mobile data cards (wallet / profit / referrals) */
.coin-data-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
}

.coin-data-list__head {
  display: grid;
  padding: 16px 0 12px;
  border-bottom: 1px solid rgba(150, 235, 250, 0.1);
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px;
  letter-spacing: 0.12em;
  color: rgba(214, 238, 248, 0.66);
  gap: 12px;
  align-items: center;
}

.coin-data-list__row {
  display: grid;
  padding: 13px 0;
  border-bottom: 1px solid rgba(150, 235, 250, 0.07);
  font-size: 13px;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.coin-data-list__row:last-child {
  border-bottom: 0;
}

.coin-data-list--profit .coin-data-list__head,
.coin-data-list--profit .coin-data-list__row {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, 1.4fr) minmax(0, 0.8fr);
}

.coin-data-list--referrals .coin-data-list__head,
.coin-data-list--referrals .coin-data-list__row {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr) minmax(0, 1.5fr) minmax(0, 0.9fr);
}

.coin-referral-accrual__date {
  color: rgba(214, 238, 248, 0.72);
}

.coin-referral-accrual__user {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 500;
  color: rgba(232, 244, 250, 0.92);
}

.coin-referral-accrual__detail {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
  min-width: 0;
  color: rgba(214, 238, 248, 0.72);
}

.coin-referral-accrual__sep {
  color: rgba(214, 238, 248, 0.38);
}

.coin-referral-accrual__purchase {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12.5px;
}

.coin-referral-accrual__commission {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600;
  text-align: right;
  white-space: nowrap;
  color: oklch(0.88 0.12 192);
}

.coin-referral-invite__contact {
  font-family: 'JetBrains Mono', monospace;
  color: rgba(232, 244, 250, 0.92);
  word-break: break-word;
}

.coin-referral-invite__status {
  font-weight: 600;
}

.coin-referral-invite__channel,
.coin-referral-invite__sent,
.coin-referral-invite__registered {
  color: rgba(214, 238, 248, 0.72);
}

.coin-referral-invite__registered {
  font-family: 'JetBrains Mono', monospace;
  text-align: right;
}

.coin-data-list--invited .coin-data-list__head,
.coin-data-list--invited .coin-data-list__row {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr) minmax(0, 0.9fr) minmax(0, 0.9fr) minmax(0, 1fr);
}

.coin-data-list--profit .coin-data-list__head > :last-child,
.coin-data-list--referrals .coin-data-list__head > :last-child,
.coin-data-list--invited .coin-data-list__head > :last-child {
  text-align: right;
}

.coin-deposit-presets {
  display: flex;
  gap: 7px;
  margin-top: 12px;
  flex-wrap: nowrap;
}

.coin-deposit-presets__btn {
  flex: 1 1 0;
  min-width: 0;
  padding: 6px 6px;
  border-radius: 8px;
  border: 1px solid rgba(150, 235, 250, 0.16);
  background: transparent;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  line-height: 1.2;
  color: rgba(214, 238, 248, 0.78);
  cursor: pointer;
  white-space: nowrap;
  text-align: center;
}

.coin-plan-calculator,
#coin-plan-calculator {
  position: relative;
  z-index: 0;
  margin-top: 4px;
  min-width: 0;
}

.coin-plan-calculator__summary {
  min-width: 0;
}

.coin-kv-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.coin-kv-row > span:first-child {
  flex: 1 1 45%;
  min-width: 0;
  color: rgba(214, 238, 248, 0.72);
}

.coin-kv-row > span:last-child {
  flex: 0 1 55%;
  min-width: 0;
  font-family: 'JetBrains Mono', monospace;
  text-align: right;
  color: #f0fbff;
  word-break: break-word;
}

.coin-plan-change-summary .coin-kv-row > span:last-child {
  font-family: inherit;
}

@container (max-width: 300px) {
  .coin-plan-card__headline {
    flex-direction: column;
    align-items: flex-start;
  }

  .coin-plan-card__duration {
    white-space: normal;
  }

  .coin-plan-card__spec-row {
    flex-direction: column;
    gap: 4px;
  }

  .coin-plan-card__spec-row span:last-child {
    text-align: left;
  }
}

.coin-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.coin-sidebar {
  width: 248px;
  border-right: 1px solid rgba(150, 235, 250, 0.1);
  background: rgba(4, 16, 28, 0.98);
  padding: 22px 16px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  box-sizing: border-box;
  transition: transform 0.25s ease;
}

.coin-sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex-shrink: 0;
}

.coin-sidebar-brand {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  width: 100%;
  padding: 6px 10px 26px;
  box-sizing: border-box;
  color: inherit;
  text-decoration: none;
}

.coin-sidebar-brand__logo {
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: 60px;
  object-fit: contain;
  background: transparent;
}

.coin-sidebar-brand__tagline {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: rgba(214, 238, 248, 0.6);
}

.coin-nav-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  padding: 11px 12px;
  border: 0;
  border-radius: 10px;
  background: none;
  font-family: inherit;
  font-size: 13.5px;
  color: rgba(230, 244, 250, 0.72);
  text-align: left;
  cursor: pointer;
  box-sizing: border-box;
  z-index: 2;
}

.coin-nav-item--active {
  color: #e6f4fa;
}

.coin-nav-item--active .coin-nav-dot {
  background: oklch(0.86 0.12 192);
}

.coin-nav-item__bg {
  position: absolute;
  inset: 0;
  border-radius: 10px;
  background: oklch(0.6 0.13 200 / 0.22);
  border: 1px solid oklch(0.86 0.11 195 / 0.3);
  pointer-events: none;
}

.coin-nav-item__label {
  position: relative;
  flex: 1;
}

.coin-nav-item__badge {
  position: relative;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(150, 235, 250, 0.1);
  color: rgba(214, 238, 248, 0.8);
}

.coin-nav-dot {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: rgba(150, 235, 250, 0.3);
  flex-shrink: 0;
}

.coin-nav-legal {
  width: 100%;
}

.coin-nav-legal__summary {
  list-style: none;
}

.coin-nav-legal__summary::-webkit-details-marker {
  display: none;
}

.coin-nav-legal__chevron {
  position: relative;
  width: 8px;
  height: 8px;
  margin-left: auto;
  border-right: 1.5px solid rgba(214, 238, 248, 0.55);
  border-bottom: 1.5px solid rgba(214, 238, 248, 0.55);
  transform: rotate(45deg);
  transition: transform 0.18s ease;
  flex-shrink: 0;
}

.coin-nav-legal[open] > .coin-nav-legal__summary,
.coin-nav-legal.is-active > .coin-nav-legal__summary {
  color: #e6f4fa;
}

.coin-nav-legal[open] > .coin-nav-legal__summary .coin-nav-dot,
.coin-nav-legal.is-active > .coin-nav-legal__summary .coin-nav-dot {
  background: oklch(0.86 0.12 192);
}

.coin-nav-legal[open] > .coin-nav-legal__summary::before,
.coin-nav-legal.is-active > .coin-nav-legal__summary::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 10px;
  background: oklch(0.6 0.13 200 / 0.22);
  border: 1px solid oklch(0.86 0.11 195 / 0.3);
  pointer-events: none;
}

.coin-nav-legal[open] > .coin-nav-legal__summary .coin-nav-legal__chevron,
.coin-nav-legal.is-active > .coin-nav-legal__summary .coin-nav-legal__chevron {
  transform: rotate(225deg);
  margin-top: 4px;
  border-color: oklch(0.86 0.12 192);
}

.coin-sidebar-nav:has(.coin-nav-legal[open]) .coin-nav-item--active:not(.coin-nav-legal__summary),
.coin-sidebar-nav:has(.coin-nav-legal.is-active) .coin-nav-item--active:not(.coin-nav-legal__summary) {
  color: rgba(230, 244, 250, 0.72);
}

.coin-sidebar-nav:has(.coin-nav-legal[open]) .coin-nav-item--active:not(.coin-nav-legal__summary) .coin-nav-item__bg,
.coin-sidebar-nav:has(.coin-nav-legal[open]) .coin-nav-item--active:not(.coin-nav-legal__summary) .coin-nav-notifications__unread-bg,
.coin-sidebar-nav:has(.coin-nav-legal[open]) .coin-nav-item--active:not(.coin-nav-legal__summary) .coin-nav-support__unread-bg,
.coin-sidebar-nav:has(.coin-nav-legal.is-active) .coin-nav-item--active:not(.coin-nav-legal__summary) .coin-nav-item__bg,
.coin-sidebar-nav:has(.coin-nav-legal.is-active) .coin-nav-item--active:not(.coin-nav-legal__summary) .coin-nav-notifications__unread-bg,
.coin-sidebar-nav:has(.coin-nav-legal.is-active) .coin-nav-item--active:not(.coin-nav-legal__summary) .coin-nav-support__unread-bg {
  display: none;
}

.coin-sidebar-nav:has(.coin-nav-legal[open]) .coin-nav-item--active:not(.coin-nav-legal__summary) .coin-nav-dot,
.coin-sidebar-nav:has(.coin-nav-legal[open]) .coin-nav-item--active:not(.coin-nav-legal__summary) .coin-nav-notifications-dot,
.coin-sidebar-nav:has(.coin-nav-legal[open]) .coin-nav-item--active:not(.coin-nav-legal__summary) .coin-nav-support-dot,
.coin-sidebar-nav:has(.coin-nav-legal.is-active) .coin-nav-item--active:not(.coin-nav-legal__summary) .coin-nav-dot,
.coin-sidebar-nav:has(.coin-nav-legal.is-active) .coin-nav-item--active:not(.coin-nav-legal__summary) .coin-nav-notifications-dot,
.coin-sidebar-nav:has(.coin-nav-legal.is-active) .coin-nav-item--active:not(.coin-nav-legal__summary) .coin-nav-support-dot {
  background: rgba(150, 235, 250, 0.3);
  box-shadow: none;
}

.coin-sidebar-nav:has(.coin-nav-legal[open]) .coin-nav-item--active:not(.coin-nav-legal__summary) .coin-nav-notifications-label,
.coin-sidebar-nav:has(.coin-nav-legal[open]) .coin-nav-item--active:not(.coin-nav-legal__summary) .coin-nav-support-label,
.coin-sidebar-nav:has(.coin-nav-legal.is-active) .coin-nav-item--active:not(.coin-nav-legal__summary) .coin-nav-notifications-label,
.coin-sidebar-nav:has(.coin-nav-legal.is-active) .coin-nav-item--active:not(.coin-nav-legal__summary) .coin-nav-support-label {
  font-weight: 400;
}

.coin-nav-legal__list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 2px 0 8px 30px;
}

.coin-nav-legal__link {
  display: block;
  width: 100%;
  padding: 8px 10px;
  border: 0;
  border-radius: 8px;
  background: none;
  font-family: inherit;
  font-size: 13px;
  color: rgba(230, 244, 250, 0.68);
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  box-sizing: border-box;
}

.coin-nav-legal__link:hover {
  color: #f0fbff;
  background: rgba(150, 235, 250, 0.06);
}

.coin-nav-legal__link--active {
  color: #f0fbff;
  background: oklch(0.6 0.13 200 / 0.18);
  border: 1px solid oklch(0.86 0.11 195 / 0.28);
  font-weight: 500;
}

.coin-nav-support--unread:not(.coin-nav-item--active) {
  color: #f0fbff;
}

.coin-nav-support__unread-bg {
  position: absolute;
  inset: 0;
  border-radius: 10px;
  background: oklch(0.72 0.16 35 / 0.12);
  border: 1px solid oklch(0.82 0.18 35 / 0.35);
  pointer-events: none;
}

.coin-nav-support--unread:not(.coin-nav-item--active) .coin-nav-support-dot {
  background: oklch(0.85 0.18 35);
  box-shadow: 0 0 10px oklch(0.85 0.18 35 / 0.8);
}

.coin-sidebar-logout {
  flex-shrink: 0;
  margin: 6px 0 0;
}

.coin-sidebar-footer {
  flex-shrink: 0;
  margin-top: auto;
  padding-top: 20px;
}

.coin-sidebar-investments {
  flex-shrink: 0;
  padding: 16px;
  border-radius: 14px;
  border: 1px solid oklch(0.86 0.11 195 / 0.26);
  background: linear-gradient(170deg, oklch(0.6 0.13 200 / 0.22), rgba(6, 20, 35, 0.6));
  scrollbar-width: thin;
  scrollbar-color: rgba(150, 235, 250, 0.25) transparent;
}

.coin-nav-notifications {
  position: relative;
}

.coin-nav-notifications--unread:not(.coin-nav-item--active) {
  color: #f0fbff;
}

.coin-nav-notifications__unread-bg {
  position: absolute;
  inset: 0;
  border-radius: 10px;
  background: oklch(0.6 0.13 200 / 0.12);
  border: 1px solid oklch(0.86 0.11 195 / 0.35);
  pointer-events: none;
}

.coin-nav-notifications--unread {
  color: #f0fbff !important;
}

.coin-nav-notifications--unread .coin-nav-notifications-dot {
  background: oklch(0.86 0.12 192) !important;
  box-shadow: 0 0 10px oklch(0.86 0.12 192 / 0.8);
}

.coin-nav-notifications--unread .coin-nav-notifications-label {
  font-weight: 600 !important;
}

.coin-nav-support {
  position: relative;
}

.coin-nav-support--unread {
  color: #f0fbff !important;
}

.coin-nav-support--unread .coin-nav-support-dot {
  background: oklch(0.85 0.18 35) !important;
  box-shadow: 0 0 10px oklch(0.85 0.18 35 / 0.8);
}

.coin-nav-support--unread .coin-nav-support-label {
  font-weight: 600 !important;
}

.coin-support-badge {
  animation: coinSupportPulse 2s ease-in-out infinite;
}

/* ——— Dashboard support section ——— */

.coin-support-section {
  padding: 28px 32px 40px;
  display: grid;
  grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.coin-support-panel {
  padding: 22px;
  border-radius: 16px;
  border: 1px solid rgba(150, 235, 250, 0.12);
  background: rgba(150, 235, 250, 0.035);
  box-sizing: border-box;
}

.coin-support-panel--grow {
  flex: 1;
}

.coin-support-panel--center {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 16px;
  min-height: 280px;
}

.coin-support-panel-title {
  font-size: 17px;
  font-weight: 600;
}

.coin-support-panel-hint {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(214, 238, 248, 0.72);
}

.coin-support-sidebar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.coin-support-sidebar-title {
  font-size: 15px;
  font-weight: 600;
}

.coin-support-ticket-list {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.coin-support-ticket {
  text-align: left;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(150, 235, 250, 0.12);
  background: rgba(150, 235, 250, 0.03);
  color: inherit;
  font-family: inherit;
  cursor: pointer;
  width: 100%;
  box-sizing: border-box;
}

.coin-support-ticket--active {
  border-color: oklch(0.86 0.11 195 / 0.45);
  background: oklch(0.6 0.13 200 / 0.18);
}

.coin-support-ticket--unread {
  border-color: oklch(0.82 0.18 35 / 0.45);
  background: oklch(0.72 0.16 35 / 0.1);
}

.coin-support-ticket__head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: baseline;
}

.coin-support-ticket__subject {
  font-size: 14px;
  font-weight: 600;
}

.coin-support-ticket--unread .coin-support-ticket__subject {
  font-weight: 700;
}

.coin-support-ticket__status {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
}

.coin-support-ticket__meta,
.coin-support-ticket__date {
  margin-top: 6px;
  font-size: 12px;
  color: rgba(214, 238, 248, 0.62);
}

.coin-support-ticket__meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  color: rgba(214, 238, 248, 0.66);
}

.coin-support-empty {
  padding: 16px;
  border-radius: 12px;
  border: 1px dashed rgba(150, 235, 250, 0.18);
  font-size: 13px;
  color: rgba(214, 238, 248, 0.72);
}

.coin-support-empty--dashed {
  padding: 18px;
  border-radius: 14px;
}

.coin-support-main {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 520px;
  min-width: 0;
}

.coin-support-status-bar {
  padding: 16px 20px;
  border-radius: 14px;
  border: 1px solid rgba(150, 235, 250, 0.14);
  background: rgba(150, 235, 250, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.coin-support-status-bar__left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.coin-support-status-dot {
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: oklch(0.85 0.15 160);
  box-shadow: 0 0 12px oklch(0.85 0.15 160);
  animation: dbPulse 2.4s infinite;
}

.coin-support-status-title {
  font-size: 15px;
  font-weight: 600;
}

.coin-support-status-subtitle {
  margin-top: 4px;
  font-size: 12.5px;
  color: rgba(214, 238, 248, 0.68);
}

.coin-support-ticket .coin-support-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  min-width: 18px;
  text-align: center;
  padding: 2px 6px;
  border-radius: 999px;
  background: linear-gradient(140deg, oklch(0.88 0.2 35), oklch(0.72 0.22 25));
  color: #1a0a04;
}

.coin-support-badge--large {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
  background: linear-gradient(140deg, oklch(0.88 0.2 35), oklch(0.72 0.22 25));
  color: #1a0a04;
}

.coin-support-form {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.coin-support-field {
  min-width: 0;
}

.coin-support-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px;
  letter-spacing: 0.12em;
  color: rgba(214, 238, 248, 0.68);
}

.coin-support-input {
  width: 100%;
  box-sizing: border-box;
  margin-top: 8px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(150, 235, 250, 0.16);
  background: rgba(4, 16, 28, 0.6);
  color: #eafcff;
  font-size: 16px;
  font-family: inherit;
}

.coin-support-textarea {
  resize: vertical;
  min-height: 120px;
}

.coin-support-error {
  margin-top: 8px;
  font-size: 12.5px;
  color: oklch(0.78 0.16 25);
}

.coin-support-form-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.coin-support-btn {
  padding: 11px 18px;
  border-radius: 10px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  box-sizing: border-box;
}

.coin-support-btn--compact {
  padding: 8px 12px;
  font-size: 12.5px;
  white-space: nowrap;
}

.coin-support-btn--primary {
  border: 1px solid oklch(0.86 0.11 195 / 0.5);
  background: linear-gradient(140deg, oklch(0.86 0.12 192), oklch(0.66 0.13 205));
  color: #04121f;
}

.coin-support-btn--secondary {
  border: 1px solid rgba(150, 235, 250, 0.2);
  background: rgba(150, 235, 250, 0.06);
  color: #e6f4fa;
  font-weight: 400;
}

.coin-support-btn--self-start {
  align-self: flex-start;
}

.coin-support-ticket-head__ref {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: rgba(214, 238, 248, 0.66);
}

.coin-support-ticket-head__title {
  margin-top: 10px;
  font-size: 20px;
  font-weight: 600;
  word-break: break-word;
}

.coin-support-ticket-head__meta {
  margin-top: 6px;
  font-size: 13px;
  color: rgba(214, 238, 248, 0.72);
}

.coin-support-chat {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.coin-support-thread {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  max-height: 420px;
  overflow-y: auto;
  padding-right: 4px;
  -webkit-overflow-scrolling: touch;
}

.coin-support-message {
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid rgba(150, 235, 250, 0.12);
  background: rgba(150, 235, 250, 0.03);
}

.coin-support-message--admin {
  background: oklch(0.6 0.13 200 / 0.12);
}

.coin-support-message__head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  color: rgba(214, 238, 248, 0.66);
  flex-wrap: wrap;
}

.coin-support-message__body {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-word;
}

/* ——— Investment contract cards ——— */

.coin-contract-stats-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
}

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

.coin-contract-stat {
  min-width: 0;
}

.coin-contract-stat__label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px;
  letter-spacing: 0.12em;
  color: rgba(214, 238, 248, 0.68);
  line-height: 1.35;
  word-break: break-word;
}

.coin-contract-stat__value {
  margin-top: 9px;
  font-size: 14px;
  line-height: 1.35;
  word-break: break-word;
}

.coin-contract-stat__value--accent {
  color: oklch(0.9 0.12 192);
}

@keyframes coinSupportPulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 16px oklch(0.82 0.2 35 / 0.55);
  }

  50% {
    transform: scale(1.06);
    box-shadow: 0 0 22px oklch(0.88 0.22 35 / 0.75);
  }
}

.coin-sidebar-brand-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}

.coin-sidebar-brand-row .coin-sidebar-brand {
  flex: 1;
  min-width: 0;
  padding-bottom: 18px;
}

.coin-sidebar-close {
  display: none;
  flex: none;
  width: 36px;
  height: 36px;
  margin-top: 2px;
  border: 1px solid rgba(150, 235, 250, 0.16);
  border-radius: 10px;
  background: rgba(150, 235, 250, 0.06);
  color: #e6f4fa;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.coin-dash-header {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 32px;
  border-bottom: 1px solid rgba(150, 235, 250, 0.1);
  background: rgba(4, 16, 28, 0.4);
  flex-wrap: wrap;
}

.coin-dash-header__titles {
  min-width: 0;
  flex: 1;
}

.coin-dash-header__title {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.coin-dash-header__subtitle {
  margin-top: 4px;
  font-size: 12.5px;
  color: rgba(214, 238, 248, 0.7);
}

.coin-dash-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.coin-dash-meta__pill {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 14px;
  border-radius: 10px;
  border: 1px solid rgba(150, 235, 250, 0.14);
  background: rgba(150, 235, 250, 0.04);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: rgba(214, 238, 248, 0.8);
}

.coin-dash-meta__pill--online .coin-dash-meta__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: oklch(0.85 0.15 160);
  box-shadow: 0 0 9px oklch(0.85 0.15 160);
  animation: dbPulse 2.4s infinite;
}

.coin-dash-meta__user {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px 6px 6px;
  border-radius: 999px;
  border: 1px solid rgba(150, 235, 250, 0.14);
  background: rgba(150, 235, 250, 0.04);
}

.coin-dash-meta__avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(145deg, oklch(0.7 0.13 198), oklch(0.5 0.15 285));
  display: grid;
  place-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: #04121f;
}

.coin-dash-meta__name {
  font-size: 13px;
}

.coin-dash-section {
  padding: 28px 32px 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.coin-dash-stat-grid {
  display: grid;
  gap: 16px;
}

.coin-dash-stat-grid--overview {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

.coin-dash-stat-card {
  padding: 22px;
  border-radius: 16px;
  border: 1px solid rgba(150, 235, 250, 0.12);
  background: rgba(150, 235, 250, 0.04);
  min-width: 0;
}

.coin-dash-stat-card--accent {
  border-color: oklch(0.86 0.11 195 / 0.26);
  background: linear-gradient(170deg, oklch(0.6 0.13 200 / 0.2), rgba(150, 235, 250, 0.03));
}

.coin-dash-stat-card__label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px;
  letter-spacing: 0.14em;
  color: rgba(214, 238, 248, 0.7);
}

.coin-dash-stat-card--accent .coin-dash-stat-card__label {
  color: rgba(214, 238, 248, 0.75);
}

.coin-dash-stat-card__value {
  margin-top: 14px;
  font-family: 'JetBrains Mono', monospace;
  color: #f0fbff;
}

.coin-dash-stat-card__value--lg {
  font-size: 26px;
}

.coin-dash-stat-card__value--title {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  font-family: inherit;
}

.coin-dash-stat-card__value--accent {
  color: oklch(0.9 0.12 192);
}

.coin-dash-stat-card__unit {
  font-size: 13px;
  color: rgba(214, 238, 248, 0.7);
}

.coin-dash-stat-card__hint {
  margin-top: 7px;
  font-size: 12.5px;
  color: rgba(214, 238, 248, 0.7);
}

.coin-dash-stat-card--accent .coin-dash-stat-card__hint {
  color: rgba(214, 238, 248, 0.75);
}

.coin-dash-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid rgba(150, 235, 250, 0.12);
  background: rgba(150, 235, 250, 0.03);
  align-items: center;
}

.coin-dash-quick-actions__label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px;
  letter-spacing: 0.14em;
  color: rgba(214, 238, 248, 0.7);
  margin-right: 6px;
}

.coin-dash-quick-actions__btn {
  padding: 10px 18px;
  border-radius: 10px;
  border: 1px solid rgba(150, 235, 250, 0.2);
  background: rgba(150, 235, 250, 0.06);
  color: #e6f4fa;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}

.coin-dash-quick-actions__btn--primary {
  border-color: oklch(0.86 0.11 195 / 0.5);
  background: linear-gradient(140deg, oklch(0.86 0.12 192), oklch(0.66 0.13 205));
  color: #04121f;
  font-weight: 600;
}

.coin-dash-quick-actions__btn--referral {
  border-color: rgba(180, 180, 255, 0.26);
  background: rgba(150, 140, 255, 0.1);
}

.coin-dash-panel-grid {
  display: grid;
  gap: 16px;
}

.coin-dash-panel-grid--split {
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
}

/* Semantic layout grids (prefer classes over [style*=] hacks) */
.coin-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
  min-width: 0;
}

.coin-grid-2--tight {
  gap: 8px;
}

.coin-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
  min-width: 0;
}

.coin-grid-3--tight {
  gap: 10px;
}

.coin-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
  min-width: 0;
}

.coin-dash-panel {
  padding: 22px;
  border-radius: 16px;
  border: 1px solid rgba(150, 235, 250, 0.12);
  background: rgba(150, 235, 250, 0.035);
  min-width: 0;
}

.coin-dash-panel--referral {
  border-color: rgba(180, 180, 255, 0.16);
  background: linear-gradient(170deg, rgba(120, 110, 220, 0.13), rgba(150, 235, 250, 0.02));
}

.coin-dash-panel--table {
  overflow: hidden;
}

.coin-dash-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.coin-dash-panel__head--compact {
  align-items: baseline;
}

.coin-dash-panel__title {
  font-size: 15px;
  font-weight: 600;
}

.coin-dash-panel__sub {
  margin-top: 4px;
  font-size: 12.5px;
  color: rgba(214, 238, 248, 0.7);
}

.coin-dash-panel__meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  color: rgba(214, 238, 248, 0.66);
}

.coin-dash-panel__actions {
  display: flex;
  gap: 8px;
  margin-top: 20px;
}

.coin-dash-panel__action {
  flex: 1;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid rgba(150, 235, 250, 0.2);
  background: rgba(150, 235, 250, 0.06);
  color: #e6f4fa;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}

.coin-dash-panel__action--primary {
  border-color: oklch(0.86 0.11 195 / 0.45);
  background: oklch(0.6 0.13 200 / 0.22);
  color: #eafcff;
}

.coin-dash-panel__action--referral {
  width: 100%;
  margin-top: 20px;
  border-color: rgba(180, 180, 255, 0.3);
  background: rgba(150, 140, 255, 0.12);
  color: #eafcff;
}

.coin-dash-link-btn {
  background: none;
  border: 0;
  padding: 0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: oklch(0.88 0.11 195);
  cursor: pointer;
}

.coin-dash-period-tabs {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}

.coin-referral-tabs-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.coin-referral-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  flex: 1 1 280px;
  min-width: 0;
  max-width: 420px;
}

.coin-referral-tabs__btn {
  appearance: none;
  -webkit-appearance: none;
  box-sizing: border-box;
  width: 100%;
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid rgba(150, 235, 250, 0.2);
  background: rgba(4, 16, 28, 0.55);
  color: #e6f4fa;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  box-shadow: none;
}

.coin-referral-tabs__btn--active {
  border-color: oklch(0.86 0.11 195 / 0.5);
  background: linear-gradient(140deg, oklch(0.86 0.12 192), oklch(0.66 0.13 205));
  color: #04121f;
  font-weight: 600;
  box-shadow: 0 20px 46px -22px oklch(0.8 0.13 195 / 0.85);
}

.coin-referral-tabs-bar__meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  color: rgba(214, 238, 248, 0.66);
  flex: none;
}

.coin-dash-period-tabs__btn {
  position: relative;
  padding: 7px 12px;
  border-radius: 9px;
  border: 1px solid rgba(150, 235, 250, 0.16);
  background: transparent;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  color: rgba(214, 238, 248, 0.7);
  cursor: pointer;
  box-shadow: none;
  font-weight: 500;
}

.coin-dash-period-tabs__btn--active {
  border-color: oklch(0.86 0.11 195 / 0.4);
  background: oklch(0.6 0.13 200 / 0.22);
  color: #f0fbff;
}

.coin-stats-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.coin-stats-toolbar__periods {
  display: inline-flex;
  flex-wrap: nowrap;
  gap: 0;
  padding: 3px;
  border-radius: 12px;
  border: 1px solid rgba(150, 235, 250, 0.12);
  background: rgba(4, 16, 28, 0.45);
}

.coin-stats-toolbar__periods .coin-dash-period-tabs__btn {
  flex: 1 1 0;
  min-width: 0;
  padding: 9px 14px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  font-size: 12px;
  white-space: nowrap;
}

.coin-stats-toolbar__periods .coin-dash-period-tabs__btn--active {
  background: oklch(0.6 0.13 200 / 0.28);
  color: #f0fbff;
  box-shadow: inset 0 0 0 1px oklch(0.86 0.11 195 / 0.28);
}

.coin-stats-toolbar__export {
  margin-left: auto;
  padding: 9px 16px;
  border-radius: 10px;
  border: 1px solid rgba(150, 235, 250, 0.18);
  background: rgba(150, 235, 250, 0.05);
  color: rgba(230, 244, 250, 0.88);
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  box-shadow: none;
}

.coin-dash-chart-wrap {
  margin-top: 24px;
}

.coin-dash-empty {
  margin-top: 24px;
  padding: 40px 16px;
  text-align: center;
  font-size: 13px;
  color: rgba(214, 238, 248, 0.66);
}

.coin-dash-empty--compact {
  margin-top: 24px;
  padding: 0;
  text-align: left;
  font-size: 13px;
  color: rgba(214, 238, 248, 0.68);
}

.coin-dash-allocation {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 24px;
}

.coin-dash-allocation__ring {
  position: relative;
  width: 122px;
  height: 122px;
  flex: none;
  border-radius: 50%;
}

.coin-dash-allocation__ring-inner {
  position: absolute;
  inset: 16px;
  border-radius: 50%;
  background: #081b2c;
  display: grid;
  place-items: center;
}

.coin-dash-allocation__ring-value {
  font-family: 'JetBrains Mono', monospace;
  font-size: 17px;
  color: #f0fbff;
}

.coin-dash-allocation__ring-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 8px;
  letter-spacing: 0.1em;
  color: rgba(214, 238, 248, 0.66);
}

.coin-dash-allocation__legend {
  display: flex;
  flex-direction: column;
  gap: 11px;
  font-size: 12.5px;
  min-width: 0;
  flex: 1;
}

.coin-dash-allocation__legend-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.coin-dash-allocation__swatch {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  flex: none;
}

.coin-dash-allocation__name {
  color: rgba(214, 238, 248, 0.78);
  min-width: 0;
}

.coin-dash-allocation__percent {
  font-family: 'JetBrains Mono', monospace;
  flex: none;
  margin-left: auto;
}

.coin-dash-contract-list {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.coin-dash-contract-list__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  font-size: 13px;
  gap: 12px;
}

.coin-dash-contract-list__pct {
  font-family: 'JetBrains Mono', monospace;
  color: rgba(214, 238, 248, 0.78);
  flex: none;
}

.coin-dash-contract-list__meta {
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  color: rgba(214, 238, 248, 0.7);
  padding-top: 4px;
  gap: 12px;
}

.coin-dash-progress {
  margin-top: 9px;
  height: 4px;
  border-radius: 3px;
  background: rgba(150, 235, 250, 0.12);
}

.coin-dash-progress__fill {
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, oklch(0.72 0.11 215), oklch(0.88 0.12 192));
}

.coin-dash-kv {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  font-size: 13px;
}

.coin-dash-kv__row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.coin-dash-kv__row > span:first-child {
  color: rgba(214, 238, 248, 0.72);
  min-width: 0;
}

.coin-dash-kv__row > span:last-child {
  font-family: 'JetBrains Mono', monospace;
  flex: none;
  text-align: right;
}

.coin-dash-kv__mono {
  color: rgba(214, 238, 248, 0.8);
}

.coin-dash-kv__accent {
  color: oklch(0.88 0.12 192);
}

.coin-dash-referral-head {
  margin-top: 18px;
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.coin-dash-referral-head__value {
  font-family: 'JetBrains Mono', monospace;
  font-size: 28px;
  color: #f0fbff;
}

.coin-dash-referral-head__unit {
  font-size: 12.5px;
  color: rgba(214, 238, 248, 0.72);
}

.coin-dash-table-head,
.coin-dash-table-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 0.8fr);
  align-items: center;
  font-size: 13px;
}

.coin-dash-table-head {
  padding: 16px 0 12px;
  border-bottom: 1px solid rgba(150, 235, 250, 0.1);
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px;
  letter-spacing: 0.12em;
  color: rgba(214, 238, 248, 0.66);
}

.coin-dash-table-row {
  padding: 13px 0;
  border-bottom: 1px solid rgba(150, 235, 250, 0.07);
  color: rgba(214, 238, 248, 0.78);
}

.coin-dash-table-row:last-child {
  border-bottom: 0;
}

.coin-dash-table-head span:last-child,
.coin-dash-table-row span:last-child {
  text-align: right;
}

.coin-scroll-x {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  margin: 0 -4px;
  padding: 0 4px;
  max-width: 100%;
}

.coin-scroll-x-inner {
  min-width: 520px;
}

.coin-list-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.coin-list-toolbar__search {
  flex: 1;
  min-width: 0;
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(150, 235, 250, 0.2);
  background: rgba(4, 16, 28, 0.85);
  color: #e6f4fa;
  font-family: inherit;
  font-size: 16px;
  box-sizing: border-box;
}

.coin-list-toolbar__btn {
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid rgba(150, 235, 250, 0.2);
  background: rgba(150, 235, 250, 0.06);
  color: #e6f4fa;
  font-family: inherit;
  font-size: 12.5px;
  cursor: pointer;
  box-sizing: border-box;
}

.coin-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(150, 235, 250, 0.1);
  flex-wrap: wrap;
}

.coin-pagination__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.coin-pagination__range {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: rgba(214, 238, 248, 0.66);
}

.coin-pagination__per-page {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: rgba(214, 238, 248, 0.72);
}

.coin-pagination__per-page select {
  padding: 7px 10px;
  border-radius: 9px;
  border: 1px solid rgba(150, 235, 250, 0.2);
  background: rgba(4, 16, 28, 0.85);
  color: #e6f4fa;
  font-family: inherit;
  font-size: 12.5px;
  cursor: pointer;
}

.coin-pagination__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.coin-pagination__page {
  padding: 8px 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  color: rgba(214, 238, 248, 0.78);
}

.coin-pagination__btn {
  padding: 8px 14px;
  border-radius: 9px;
  border: 1px solid rgba(150, 235, 250, 0.1);
  background: rgba(150, 235, 250, 0.03);
  color: rgba(214, 238, 248, 0.4);
  font-family: inherit;
  font-size: 12.5px;
  box-sizing: border-box;
}

.coin-pagination__btn--primary {
  border-color: oklch(0.86 0.11 195 / 0.5);
  background: linear-gradient(140deg, oklch(0.86 0.12 192), oklch(0.66 0.13 205));
  color: #04121f;
  font-weight: 600;
  cursor: pointer;
}

.coin-pagination__btn--disabled {
  pointer-events: none;
}

.coin-action-toast {
  position: fixed;
  top: calc(20px + var(--coin-safe-top));
  right: calc(20px + var(--coin-safe-right));
  z-index: 10000;
  width: min(100%, 380px);
  padding: 14px 16px;
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  font-size: 14px;
  line-height: 1.45;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  animation: coinActionToastIn 0.25s ease;
}

.coin-action-toast--success {
  border: 1px solid oklch(0.7 0.14 160 / 0.5);
  background: rgba(8, 32, 28, 0.96);
  color: oklch(0.93 0.1 160);
}

.coin-action-toast--error {
  border: 1px solid oklch(0.62 0.18 25 / 0.5);
  background: rgba(40, 14, 14, 0.96);
  color: oklch(0.94 0.08 25);
}

.coin-action-toast--info {
  border: 1px solid oklch(0.86 0.11 195 / 0.35);
  background: rgba(6, 24, 38, 0.96);
  color: #eafcff;
}

.coin-action-toast__icon {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
}

.coin-action-toast--success .coin-action-toast__icon {
  background: oklch(0.58 0.14 160 / 0.22);
  color: oklch(0.88 0.12 160);
}

.coin-action-toast--error .coin-action-toast__icon {
  background: oklch(0.52 0.16 25 / 0.22);
  color: oklch(0.88 0.1 25);
}

.coin-action-toast--info .coin-action-toast__icon {
  background: oklch(0.6 0.13 200 / 0.22);
  color: oklch(0.88 0.11 195);
}

.coin-action-toast__text {
  flex: 1;
  min-width: 0;
}

.coin-action-toast__close {
  flex: none;
  border: 0;
  background: transparent;
  color: inherit;
  opacity: 0.75;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  padding: 0;
}

.coin-action-toast__close:hover {
  opacity: 1;
}

@keyframes coinActionToastIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Desktop sidebar: wide + tall enough (iPad portrait / phone landscape stay compact) */
@media (min-width: 1025px) and (min-height: 501px) {
  .coin-shell {
    padding-left: 248px;
  }

  .coin-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 40;
    height: 100vh;
    height: 100dvh;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .coin-dashboard .coin-nav-overlay {
    display: none !important;
  }
}

/*
 * Landing header compact only (≤1024 or short landscape).
 * Do not fold landing section / footer layouts into tablet here — those stay on 768.
 */
@media (max-width: 1024px), (orientation: landscape) and (max-height: 500px) {
  .coin-landing .coin-nav-desktop,
  .coin-landing .coin-header-actions {
    display: none !important;
  }

  .coin-landing .coin-burger {
    display: flex !important;
    margin-left: auto;
  }

  html.coin-nav-open .coin-landing .coin-header {
    position: relative;
    z-index: 130 !important;
  }

  html.coin-nav-open .coin-landing .coin-nav-overlay {
    display: block;
    right: min(340px, 88vw);
  }
}

/*
 * Compact shell/nav only (≤1024 or short landscape).
 * Content grids keep their own 768 / 1024 breakpoints — do not fold phone layouts into tablet here.
 */
@media (max-width: 1024px), (orientation: landscape) and (max-height: 500px) {
  .coin-shell {
    padding-left: 0 !important;
  }

  .coin-dashboard {
    flex-direction: column !important;
  }

  .coin-dashboard .coin-nav-overlay {
    display: none;
    z-index: 130;
    background: rgba(4, 16, 28, 0.58);
    cursor: pointer;
  }

  html.coin-nav-open .coin-dashboard .coin-nav-overlay {
    display: block !important;
  }

  .coin-sidebar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    z-index: 140 !important;
    width: min(288px, 86vw) !important;
    height: 100vh !important;
    height: 100dvh !important;
    margin: 0 !important;
    padding-top: calc(22px + var(--coin-safe-top)) !important;
    padding-bottom: calc(16px + var(--coin-safe-bottom)) !important;
    transform: translate3d(-100%, 0, 0);
    box-shadow: 8px 0 40px rgba(0, 0, 0, 0.35);
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    background: #04101c !important;
    isolation: isolate;
    will-change: transform;
    -webkit-transform: translate3d(-100%, 0, 0);
  }

  html.coin-nav-open .coin-sidebar {
    transform: translate3d(0, 0, 0);
    -webkit-transform: translate3d(0, 0, 0);
  }

  html.coin-nav-open .coin-nav-overlay,
  html.coin-nav-open .coin-header,
  html.coin-nav-open .coin-nav-mobile,
  html.coin-nav-open .coin-sidebar,
  html.coin-nav-open .coin-page-loading-overlay {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    filter: none !important;
  }

  .coin-dash-header {
    padding:
      calc(14px + var(--coin-safe-top))
      calc(16px + var(--coin-safe-right))
      14px
      calc(16px + var(--coin-safe-left)) !important;
    gap: 12px !important;
  }

  .coin-dash-header .coin-burger {
    display: flex !important;
  }

  .coin-hide-mobile {
    display: none !important;
  }

  .coin-sidebar-close {
    display: grid;
    place-items: center;
  }
}

.coin-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  max-width: 100%;
}

@media (max-width: 1024px) {
  .coin-landing-footer {
    padding-left: 24px;
    padding-right: 24px;
  }

  .coin-landing-footer__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .coin-landing-footer__links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 24px;
  }

  .coin-dashboard [style*="grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr)"],
  .coin-dashboard [style*="grid-template-columns: minmax(0, 1fr) minmax(0, 340px)"],
  .coin-dashboard [style*="grid-template-columns: minmax(0, 340px) minmax(0, 1fr)"] {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .coin-dash-panel-grid--split {
    grid-template-columns: minmax(0, 1fr);
  }

  .coin-dash-stat-grid--overview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .coin-dash-stat-grid--widgets {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .coin-dash-section {
    padding-left: 24px;
    padding-right: 24px;
  }

  .coin-support-section {
    grid-template-columns: minmax(0, 1fr);
  }

  .coin-dashboard [style*="grid-template-columns: repeat(4, minmax(0, 1fr))"]:not(.coin-contract-stats-grid),
  .coin-dashboard [style*="grid-template-columns: repeat(3, minmax(0, 1fr))"]:not(.coin-contract-stats-grid),
  .coin-dashboard [style*="grid-template-columns: repeat(5, minmax(0, 1fr))"]:not(.coin-contract-stats-grid),
  .coin-dashboard [style*="grid-template-columns: repeat(6, minmax(0, 1fr))"]:not(.coin-contract-stats-grid),
  .coin-grid-3,
  .coin-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .coin-contract-stats-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }

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

  .coin-wallet-actions-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

@media (max-width: 768px), (orientation: landscape) and (max-height: 500px) {
  .coin-dashboard section[style*="padding: 28px 32px"],
  .coin-dash-section {
    padding: 20px 16px 32px !important;
  }

  .coin-dash-stat-grid--overview,
  .coin-dash-stat-grid--widgets {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .coin-dash-allocation {
    flex-direction: column;
    align-items: stretch;
  }

  .coin-dash-quick-actions__btn {
    flex: 1 1 calc(50% - 8px);
    min-width: 0;
  }

  .coin-deposit-presets {
    flex-wrap: wrap;
  }

  .coin-deposit-presets__btn {
    flex: 1 1 calc(33.333% - 7px);
    min-width: 88px;
    min-height: 44px;
    padding-top: 10px;
    padding-bottom: 10px;
    font-size: 12px;
  }

  .coin-dash-period-tabs__btn,
  .coin-stats-toolbar__periods .coin-dash-period-tabs__btn,
  .coin-referral-tabs__btn {
    min-height: 44px;
    padding-top: 11px;
    padding-bottom: 11px;
  }

  .coin-list-toolbar__btn,
  .coin-pagination__btn,
  .coin-stats-toolbar__export {
    min-height: 44px;
  }

  .coin-nav-item {
    min-height: 44px;
  }

  .coin-list-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .coin-stats-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .coin-stats-toolbar__periods {
    width: 100%;
  }

  .coin-stats-toolbar__export {
    margin-left: 0;
    width: 100%;
    text-align: center;
  }

  .coin-list-toolbar__btn {
    width: 100%;
  }

  .coin-scroll-x-inner {
    min-width: 480px;
  }

  .coin-wallet-transactions-panel {
    padding: 16px;
  }

  .coin-wallet-transactions-table__head {
    display: none;
  }

  .coin-wallet-transactions-table {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .coin-wallet-transactions-table__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "type amount"
      "date amount"
      "dest dest"
      "status status";
    gap: 6px 12px;
    padding: 14px;
    border: 1px solid rgba(150, 235, 250, 0.12);
    border-radius: 14px;
    border-bottom: 1px solid rgba(150, 235, 250, 0.12);
    background: rgba(4, 16, 28, 0.45);
  }

  .coin-wallet-transactions-table__row:last-child {
    border-bottom: 1px solid rgba(150, 235, 250, 0.12);
  }

  .coin-wallet-transactions-table__date {
    grid-area: date;
    font-size: 12px;
    color: rgba(214, 238, 248, 0.62) !important;
  }

  .coin-wallet-transactions-table__type {
    grid-area: type;
    font-size: 14px;
    font-weight: 600;
  }

  .coin-wallet-transactions-table__destination {
    grid-area: dest;
    margin-top: 4px;
  }

  .coin-wallet-transactions-table__status {
    grid-area: status;
    align-items: flex-start;
    text-align: left;
    margin-top: 2px;
  }

  .coin-wallet-transactions-table__amount {
    grid-area: amount;
    align-self: start;
    padding-top: 0;
    font-size: 14px;
    font-weight: 600;
    text-align: right;
  }

  .coin-wallet-transactions-table__reopen-btn {
    width: 100%;
    text-align: center;
  }

  .coin-wallet-transactions-table__status-label {
    white-space: normal;
  }

  .coin-data-list__head {
    display: none;
  }

  .coin-data-list {
    gap: 10px;
  }

  .coin-data-list__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px 12px;
    padding: 14px;
    border: 1px solid rgba(150, 235, 250, 0.12);
    border-radius: 14px;
    border-bottom: 1px solid rgba(150, 235, 250, 0.12);
    background: rgba(4, 16, 28, 0.45);
  }

  .coin-data-list__row:last-child {
    border-bottom: 1px solid rgba(150, 235, 250, 0.12);
  }

  .coin-data-list--profit .coin-data-list__row > :nth-child(1) {
    grid-column: 1;
    grid-row: 2;
    font-size: 12px;
    color: rgba(214, 238, 248, 0.62) !important;
  }

  .coin-data-list--profit .coin-data-list__row > :nth-child(2) {
    grid-column: 1;
    grid-row: 1;
    font-weight: 600;
  }

  .coin-data-list--profit .coin-data-list__row > :nth-child(3) {
    grid-column: 1 / -1;
    grid-row: 3;
    margin-top: 2px;
  }

  .coin-data-list--profit .coin-data-list__row > :nth-child(4) {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: start;
    font-weight: 600;
  }

  .coin-data-list--referrals .coin-data-list__row,
  .coin-referral-accrual {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "user commission"
      "date commission"
      "detail detail";
    gap: 4px 14px;
    padding: 14px 16px;
  }

  .coin-referral-accrual__user {
    grid-area: user;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
  }

  .coin-referral-accrual__date {
    grid-area: date;
    font-size: 12px;
    color: rgba(214, 238, 248, 0.55) !important;
    line-height: 1.35;
  }

  .coin-referral-accrual__detail {
    grid-area: detail;
    margin-top: 8px;
    padding-top: 10px;
    border-top: 1px solid rgba(150, 235, 250, 0.08);
    font-size: 12.5px;
    line-height: 1.4;
  }

  .coin-referral-accrual__commission {
    grid-area: commission;
    align-self: start;
    justify-self: end;
    font-size: 14px;
    line-height: 1.3;
    text-align: right;
  }

  .coin-data-list--invited .coin-data-list__row,
  .coin-referral-invite {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "contact status"
      "channel channel"
      "sent sent"
      "registered registered";
    gap: 4px 14px;
    padding: 14px 16px;
  }

  .coin-referral-invite__contact {
    grid-area: contact;
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.35;
  }

  .coin-referral-invite__status {
    grid-area: status;
    justify-self: end;
    align-self: start;
    font-size: 12.5px;
    text-align: right;
  }

  .coin-referral-invite__channel,
  .coin-referral-invite__sent,
  .coin-referral-invite__registered {
    font-size: 12px;
    color: rgba(214, 238, 248, 0.62);
  }

  .coin-referral-invite__channel {
    grid-area: channel;
    margin-top: 8px;
    padding-top: 10px;
    border-top: 1px solid rgba(150, 235, 250, 0.08);
  }

  .coin-referral-invite__sent {
    grid-area: sent;
  }

  .coin-referral-invite__registered {
    grid-area: registered;
    text-align: left;
  }

  .coin-pagination {
    flex-direction: column;
    align-items: stretch;
  }

  .coin-pagination__meta {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .coin-pagination__per-page {
    justify-content: space-between;
  }

  .coin-pagination__actions {
    justify-content: space-between;
  }

  .coin-pagination__btn {
    flex: 1 1 0;
    text-align: center;
  }
}

@media (max-width: 768px), (orientation: landscape) and (max-height: 500px) {
  .coin-dashboard [style*="grid-template-columns: repeat(4, minmax(0, 1fr))"]:not(.coin-contract-stats-grid),
  .coin-dashboard [style*="grid-template-columns: repeat(3, minmax(0, 1fr))"]:not(.coin-contract-stats-grid),
  .coin-dashboard [style*="grid-template-columns: repeat(2, minmax(0, 1fr))"]:not(.coin-contract-stats-grid),
  .coin-dashboard [style*="grid-template-columns: repeat(5, minmax(0, 1fr))"]:not(.coin-contract-stats-grid),
  .coin-dashboard [style*="grid-template-columns: repeat(6, minmax(0, 1fr))"]:not(.coin-contract-stats-grid),
  .coin-dashboard [style*="grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.1fr)"]:not(.coin-contract-stats-grid),
  .coin-wallet-actions-grid,
  .coin-grid-2,
  .coin-grid-3,
  .coin-grid-4 {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .coin-contract-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 12px;
  }

  .coin-contract-stats-grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 12px;
  }

  .coin-contract-card {
    padding: 16px !important;
  }

  .coin-contract-card__actions {
    width: 100%;
    flex-direction: column;
  }

  .coin-contract-card__actions button {
    width: 100%;
    box-sizing: border-box;
  }
}

@media (max-width: 768px), (orientation: landscape) and (max-height: 500px) {
  .coin-header {
    padding:
      calc(14px + var(--coin-safe-top))
      calc(16px + var(--coin-safe-right))
      14px
      calc(16px + var(--coin-safe-left)) !important;
    flex-wrap: nowrap !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: rgba(6, 20, 35, 0.98) !important;
  }

  html.coin-nav-open .coin-header {
    position: relative;
    z-index: 130 !important;
  }

  .coin-nav-desktop {
    display: none !important;
  }

  .coin-header-actions {
    display: none !important;
  }

  .coin-burger {
    display: flex !important;
    margin-left: auto;
  }

  .coin-landing section[style*="padding: 32px 72px"],
  .coin-landing section[style*="padding: 40px 72px"],
  .coin-landing section[style*="padding: 48px 72px"],
  .coin-landing section[style*="padding: 72px 72px"],
  .coin-landing section[style*="padding: 0 72px"],
  .coin-landing section[style*="padding: 64px 72px"],
  .coin-landing #plans {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .coin-landing section[data-screen-label="Final CTA"] {
    padding-top: 48px !important;
    padding-bottom: 40px !important;
  }

  .coin-landing-footer {
    padding:
      36px
      calc(16px + var(--coin-safe-right))
      var(--coin-footer-pad-bottom-mobile)
      calc(16px + var(--coin-safe-left)) !important;
  }

  .coin-landing-footer__grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 0 !important;
  }

  .coin-landing-footer__brand {
    text-align: center;
    padding-bottom: 24px;
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(150, 235, 250, 0.1);
  }

  .coin-landing-footer__brand .coin-footer-brand {
    justify-content: center;
  }

  .coin-landing-footer__tagline {
    max-width: none !important;
    margin-left: auto;
    margin-right: auto;
  }

  .coin-landing-footer__company {
    max-width: none !important;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    font-size: 11px;
  }

  .coin-landing-footer__links {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 28px 20px !important;
  }

  .coin-landing-footer__heading {
    font-size: 11px;
    color: rgba(230, 244, 250, 0.72);
  }

  .coin-landing-footer__nav {
    margin-top: 12px;
    gap: 10px;
    font-size: 13px;
  }

  .coin-landing-footer__bottom {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center;
    margin-top: 28px !important;
    padding-top: 20px;
    gap: 10px !important;
  }

  .coin-landing-footer__status {
    white-space: normal;
  }

  .coin-landing-hero {
    padding-top: clamp(32px, 8vw, 48px) !important;
    padding-bottom: clamp(40px, 8vw, 56px) !important;
  }

  .coin-landing-hero__grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 32px !important;
  }

  .coin-landing-hero__visual {
    display: none !important;
  }

  .coin-landing-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .coin-landing-hero__actions .coin-landing-btn {
    width: 100%;
  }

  .coin-landing [style*="grid-template-columns: 1fr 540px"],
  .coin-landing [style*="grid-template-columns: 1fr 560px"],
  .coin-landing [style*="grid-template-columns: 1fr 360px"],
  .coin-landing [style*="grid-template-columns: 380px 1fr"],
  .coin-landing [style*="grid-template-columns: 216px 1fr"] {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 24px !important;
  }

  .coin-landing [style*="grid-template-columns: repeat(4, 1fr)"] {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .coin-landing [style*="grid-template-columns: repeat(3, 1fr)"] {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .coin-landing [style*="grid-template-columns: 1.5fr 1fr"] {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .coin-landing section [style*="display: flex; align-items: flex-end; justify-content: space-between"],
  .coin-landing-how__intro {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 20px !important;
  }

  .coin-landing-how__lead {
    max-width: none !important;
    margin-bottom: 0 !important;
  }

  .coin-landing [style*="display: flex; gap: 14px; margin-top: 36px"],
  .coin-landing [style*="display: flex; justify-content: center; gap: 14px"] {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .coin-landing [style*="display: flex; gap: 14px; margin-top: 36px"] > *,
  .coin-landing [style*="display: flex; justify-content: center; gap: 14px"] > *,
  .coin-landing [style*="display: flex; gap: 14px; margin-top: 36px"] button,
  .coin-landing [style*="display: flex; justify-content: center; gap: 14px"] button,
  .coin-landing [style*="display: flex; justify-content: center; gap: 14px"] a {
    width: 100% !important;
    text-align: center !important;
    box-sizing: border-box;
  }

  .coin-landing section[data-screen-label="Referrals"] > div {
    padding: 24px 20px !important;
    gap: 28px !important;
  }

  .coin-landing section[data-screen-label="Referrals"] [style*="flex-wrap: wrap"] {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .coin-landing section[data-screen-label="Referrals"] [style*="flex-wrap: wrap"] > * {
    width: 100% !important;
    box-sizing: border-box;
  }

  .coin-landing h1[style*="font-size: 66px"] {
    font-size: clamp(28px, 8.5vw, 40px) !important;
    line-height: 1.12 !important;
  }

  .coin-landing h2[style*="font-size: 46px"],
  .coin-landing h2[style*="font-size: 42px"],
  .coin-landing h2[style*="font-size: 56px"],
  .coin-landing h2[style*="font-size: 36px"] {
    font-size: clamp(26px, 7vw, 34px) !important;
    line-height: 1.12 !important;
  }

  .coin-landing section[data-screen-label="Dashboard"] aside {
    display: none !important;
  }

  .coin-app footer [style*="justify-content: space-between"] {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
  }

  /* Dashboard mobile layout */
  .coin-shell {
    padding-left: 0 !important;
  }

  .coin-dashboard {
    flex-direction: column !important;
  }

  .coin-dashboard .coin-nav-overlay {
    display: none;
    z-index: 130;
    background: rgba(4, 16, 28, 0.58);
    cursor: pointer;
  }

  html.coin-nav-open .coin-dashboard .coin-nav-overlay {
    display: block !important;
  }

  html.coin-nav-open .coin-landing .coin-nav-overlay {
    left: 0;
    right: min(340px, 88vw);
  }

  .coin-sidebar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    z-index: 140 !important;
    width: min(288px, 86vw) !important;
    height: 100vh !important;
    height: 100dvh !important;
    margin: 0 !important;
    padding-top: calc(22px + var(--coin-safe-top)) !important;
    padding-bottom: calc(16px + var(--coin-safe-bottom)) !important;
    transform: translate3d(-100%, 0, 0);
    box-shadow: 8px 0 40px rgba(0, 0, 0, 0.35);
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    background: #04101c !important;
    isolation: isolate;
    will-change: transform;
    -webkit-transform: translate3d(-100%, 0, 0);
  }

  html.coin-nav-open .coin-sidebar {
    transform: translate3d(0, 0, 0);
    -webkit-transform: translate3d(0, 0, 0);
  }

  html.coin-nav-open .coin-nav-overlay,
  html.coin-nav-open .coin-header,
  html.coin-nav-open .coin-nav-mobile,
  html.coin-nav-open .coin-sidebar,
  html.coin-nav-open .coin-page-loading-overlay {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    filter: none !important;
  }

  .coin-nav-mobile {
    z-index: 140 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: #061423 !important;
    transform: translate3d(100%, 0, 0);
    -webkit-transform: translate3d(100%, 0, 0);
    isolation: isolate;
    will-change: transform;
  }

  html.coin-nav-open .coin-nav-mobile {
    transform: translate3d(0, 0, 0);
    -webkit-transform: translate3d(0, 0, 0);
  }

  .coin-dash-header {
    padding:
      calc(14px + var(--coin-safe-top))
      calc(16px + var(--coin-safe-right))
      14px
      calc(16px + var(--coin-safe-left)) !important;
    gap: 12px !important;
  }

  .coin-hide-mobile {
    display: none !important;
  }

  .coin-sidebar-close {
    display: grid;
    place-items: center;
  }

  .coin-dashboard section[style*="padding: 28px 32px"],
  .coin-dash-section {
    padding: 20px 16px 32px !important;
  }

  .coin-support-section {
    padding: 20px 16px 32px;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .coin-support-main {
    min-height: 0;
  }

  .coin-support-section--create .coin-support-sidebar {
    display: none;
  }

  .coin-support-panel {
    padding: 16px;
  }

  .coin-support-sidebar-head {
    flex-wrap: wrap;
  }

  .coin-support-form-actions {
    flex-direction: column;
  }

  .coin-support-form-actions .coin-support-btn {
    width: 100%;
  }

  .coin-support-thread {
    max-height: min(50dvh, 420px);
  }

  .coin-support-ticket-head__title {
    font-size: 17px;
  }

  .coin-support-status-bar {
    padding: 14px 16px;
  }

  .coin-dashboard [style*="flex-wrap: wrap"] button {
    flex: 1 1 calc(50% - 8px) !important;
    min-width: 0 !important;
  }

  .coin-dashboard [style*="display: flex; align-items: center; gap: 22px"] {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .coin-dashboard [style*="display: flex; align-items: center; justify-content: space-between; gap: 16px"] {
    flex-wrap: wrap !important;
  }

  .coin-burger {
    display: flex;
  }

  .coin-action-toast {
    top: calc(16px + var(--coin-safe-top));
    right: calc(16px + var(--coin-safe-right));
    left: calc(16px + var(--coin-safe-left));
    width: auto;
  }

  .coin-guest-support-fab,
  .coin-guest-support-panel {
    right: calc(16px + var(--coin-safe-right));
  }

  .coin-guest-support-panel {
    width: min(420px, calc(100vw - 32px - var(--coin-safe-left) - var(--coin-safe-right)));
    max-height: min(680px, calc(100dvh - 32px - var(--coin-safe-top) - var(--coin-safe-bottom)));
  }
}

@media (max-width: 480px) {
  .coin-dashboard [style*="font-size: 26px"] {
    font-size: 22px !important;
  }

  .coin-dashboard [style*="flex-wrap: wrap"] button {
    flex: 1 1 100% !important;
  }

  .coin-landing [style*="grid-template-columns: repeat(4, 1fr)"],
  .coin-landing [style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

/* ——— Auth (login / register / forgot / 2FA) ——— */

.coin-auth {
  width: 100% !important;
  max-width: none;
  min-height: 100vh !important;
  min-height: 100dvh !important;
  box-sizing: border-box;
  margin: 0;
  background: #061423;
}

body:has(.coin-auth) {
  background: #061423;
}

.coin-auth-card {
  width: 100% !important;
  max-width: 420px;
  box-sizing: border-box;
}

.coin-auth-brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: min(320px, 86vw);
  color: inherit;
  text-decoration: none;
}

.coin-auth-brand__logo {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 52px;
  display: block;
  object-fit: contain;
}

@media (max-width: 768px), (orientation: landscape) and (max-height: 500px) {
  .coin-auth {
    padding: 48px 24px !important;
    gap: 28px !important;
  }

  .coin-auth-card {
    padding: 28px 24px 24px !important;
  }
}

@media (max-width: 480px) {
  .coin-auth {
    padding: 32px 16px !important;
    gap: 24px !important;
  }

  .coin-auth-card {
    padding: 24px 18px 20px !important;
    border-radius: 18px !important;
  }

  .coin-auth-brand {
    max-width: min(280px, 92vw);
  }

  .coin-auth-brand__logo {
    max-height: 44px;
  }
}

/* ——— Landing FAQ accordion ——— */

.landing-faq-item [data-faq-panel] {
  display: none;
}

.landing-faq-item.is-open [data-faq-panel] {
  display: block;
}

.landing-faq-item [data-faq-icon-minus] {
  display: none;
}

.landing-faq-item [data-faq-icon-plus] {
  display: inline;
}

.landing-faq-item.is-open [data-faq-icon-minus] {
  display: inline;
}

.landing-faq-item.is-open [data-faq-icon-plus] {
  display: none;
}

/* ——— Landing scroll-to-top ——— */

.coin-scroll-top {
  position: fixed;
  right: calc(24px + var(--coin-safe-right));
  bottom: var(--coin-scroll-top-bottom);
  z-index: 9998;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(150, 235, 250, 0.28);
  background: rgba(6, 20, 35, 0.92);
  backdrop-filter: blur(10px);
  color: oklch(0.88 0.11 195);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease, background 0.2s ease, border-color 0.2s ease;
  box-shadow: 0 12px 32px -16px rgba(0, 0, 0, 0.55);
}

.coin-scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.coin-scroll-top:hover {
  background: rgba(20, 55, 80, 0.95);
  border-color: oklch(0.86 0.11 195 / 0.45);
  color: #f0fbff;
}

.coin-scroll-top:focus-visible {
  outline: 2px solid oklch(0.86 0.11 195 / 0.7);
  outline-offset: 2px;
}

.coin-scroll-top svg {
  width: 20px;
  height: 20px;
  display: block;
}

@media (max-width: 768px), (orientation: landscape) and (max-height: 500px) {
  .coin-scroll-top {
    right: calc(16px + var(--coin-safe-right));
    bottom: var(--coin-scroll-top-bottom-mobile);
    width: 40px;
    height: 40px;
  }

  .coin-scroll-top svg {
    width: 18px;
    height: 18px;
  }
}

/*
 * Mid-desktop / high-DPI laptop band (e.g. 2560×1600 @150% ≈ 1707 CSS px,
 * or a non-maximized window in the 1025–1600 range).
 * Additive only: does not change ≤768 phone, ≤1024 burger, or >1600 TV/wide desktop.
 * Scoped to .coin-landing — dashboard untouched.
 */
@media (min-width: 1025px) and (max-width: 1600px) {
  .coin-landing .coin-nav-desktop {
    gap: clamp(10px, 1.2vw, 18px);
  }

  .coin-landing .coin-nav-desktop a {
    font-size: 13px;
  }

  .coin-landing .coin-header-login,
  .coin-landing .coin-header-cta {
    padding: 9px 16px;
    font-size: 13px;
  }

  .coin-landing-hero__grid {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
    gap: clamp(28px, 3vw, 44px);
  }

  .coin-landing-hero__title {
    font-size: clamp(28px, 3.2vw, 50px);
  }

  .coin-landing-metrics__grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  }

  .coin-landing-metric-card__value {
    font-size: clamp(22px, 2.4vw, 30px);
  }

  .coin-landing #faq {
    padding-left: clamp(24px, 3.5vw, 56px) !important;
    padding-right: clamp(24px, 3.5vw, 56px) !important;
  }

  .coin-landing #faq > div[style*="grid-template-columns: 380px 1fr"],
  .coin-landing [style*="grid-template-columns: 380px 1fr"] {
    grid-template-columns: minmax(240px, 300px) minmax(0, 1fr) !important;
    gap: 40px !important;
  }

  .coin-landing section[style*="padding: 32px 72px"],
  .coin-landing section[style*="padding: 40px 72px"],
  .coin-landing section[style*="padding: 48px 72px"] {
    padding-left: clamp(24px, 3.5vw, 56px) !important;
    padding-right: clamp(24px, 3.5vw, 56px) !important;
  }
}
