:root {
  --ui-bg: #f6f8fc;
  --ui-bg-2: #eef3f9;
  --ui-surface: #ffffff;
  --ui-surface-2: #f7fafe;
  --ui-line: #dbe4ef;
  --ui-line-2: #cfd9e6;
  --ui-text: #1b2940;
  --ui-text-soft: #70819a;
  --ui-title: #0d1b31;
  --ui-primary: #1357dd;
  --ui-primary-2: #3aa0ff;
  --ui-primary-soft: #edf4ff;
  --ui-gold: #c79a3c;
  --ui-danger: #d1526d;
  --ui-success: #1f8f67;
  --ui-shadow: 0 24px 60px rgba(25, 48, 90, 0.09);
  --ui-shadow-soft: 0 14px 34px rgba(25, 48, 90, 0.06);
  --ui-radius-xl: 30px;
  --ui-radius-lg: 24px;
  --ui-radius-md: 19px;
  --ui-radius-sm: 15px;
}

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

html,
body { min-height: 100%; }

body.tp-body,
body.app-body {
  margin: 0;
  color: var(--ui-text);
  font-family: var(--site-body-font);
  background:
    radial-gradient(circle at top left, rgba(19, 87, 221, 0.08), transparent 24%),
    radial-gradient(circle at top right, rgba(58, 160, 255, 0.10), transparent 20%),
    radial-gradient(circle at 50% 100%, rgba(199, 154, 60, 0.06), transparent 28%),
    linear-gradient(180deg, var(--ui-bg), var(--ui-bg-2));
}

.nova-shell {
  width: min(100%, 560px);
  margin: 0 auto;
  padding: 16px 14px 104px;
}

.nova-stage,
.nova-content {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.nova-content > * {
  min-width: 0;
}

.nova-topbar {
  position: sticky;
  top: 10px;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,.82);
  background:
    linear-gradient(180deg, rgba(255,255,255,.94), rgba(247,250,255,.90));
  box-shadow: 0 18px 42px rgba(23, 43, 77, 0.08);
  backdrop-filter: blur(18px);
}

.nova-topbar-main,
.nova-topbar-actions,
.nova-brand,
.nova-brand-copy {
  display: flex;
}

.nova-topbar-main {
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1 1 auto;
}

.nova-topbar-copy {
  min-width: 0;
  flex: 1 1 auto;
}

.nova-topbar-copy span,
.nova-topbar-copy small,
.nova-brand-copy small {
  display: block;
  color: var(--ui-text-soft);
  font-size: .75rem;
  line-height: 1.42;
}

.nova-topbar-copy strong,
.nova-brand-copy strong {
  display: block;
  color: var(--ui-title);
  font-family: var(--site-title-font);
  font-size: clamp(1.16rem, 3.8vw, 1.46rem);
  line-height: 1.14;
}

.nova-topbar-actions {
  align-items: center;
  gap: 8px;
}

.nova-brand {
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1 1 auto;
  text-decoration: none;
}

.nova-brand-mark,
.nova-avatar-btn,
.nova-icon-btn {
  width: 46px;
  height: 46px;
  min-width: 46px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  border: 1px solid var(--ui-line);
  background: linear-gradient(180deg, #fff, #f4f8fe);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.96);
}

.nova-brand-mark,
.nova-avatar-btn {
  overflow: hidden;
}

.nova-brand-mark img,
.nova-avatar-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nova-avatar-btn {
  text-decoration: none;
  color: var(--ui-title);
  font-weight: 800;
}

.nova-icon-btn,
.nova-text-btn {
  color: var(--ui-title);
  text-decoration: none;
}

.nova-text-btn {
  min-height: 44px;
  padding: 0 14px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  border: 1px solid var(--ui-line);
  background: linear-gradient(180deg, #fff, #f4f8fe);
}

.nova-text-btn.is-primary {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--ui-primary), var(--ui-primary-2));
  box-shadow: 0 16px 30px rgba(19, 87, 221, 0.22);
}

.nova-dock {
  position: fixed;
  left: 50%;
  bottom: 10px;
  z-index: 40;
  transform: translateX(-50%);
  width: min(calc(100% - 18px), 540px);
  padding: 10px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,.86);
  background: rgba(255,255,255,.93);
  box-shadow: 0 20px 48px rgba(23, 43, 77, 0.14);
  backdrop-filter: blur(20px);
}

.nova-dock-link {
  min-width: 0;
  padding: 10px 4px;
  border-radius: 16px;
  display: grid;
  justify-items: center;
  gap: 6px;
  color: var(--ui-text-soft);
  text-decoration: none;
}

.nova-dock-link i {
  font-size: 1rem;
}

.nova-dock-link span {
  text-align: center;
  font-size: .71rem;
  line-height: 1.2;
  font-weight: 700;
}

.nova-dock-link.active {
  color: var(--ui-primary);
  background: var(--ui-primary-soft);
}

.user-shell-v4 {
  width: min(100%, 600px);
}

.user-stage-v4 {
  position: relative;
}

.user-topbar-v4 {
  position: sticky;
  top: 10px;
  z-index: 12;
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.92), rgba(250,252,253,.88));
  box-shadow: 0 16px 36px rgba(18, 38, 63, 0.07);
}

.user-topbar-v4::after {
  content: "";
  position: absolute;
  inset: auto 14px -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(207,217,228,.9), transparent);
}

.user-topbar-copy-v4 strong {
  max-width: 220px;
}

.user-topbar-actions-v4 .app-icon-btn:last-child {
  border-color: #bfe6de;
  background: linear-gradient(180deg, #f2fbf9, #ffffff);
}

.user-content-v4 {
  padding-top: 4px;
}

.user-bottom-nav-v4 {
  border-radius: 20px !important;
  padding: 8px !important;
  background: rgba(250,252,253,.92) !important;
}

.user-bottom-nav-v4 .app-bottom-link {
  border-radius: 14px;
}

.reborn-hero,
.reborn-wallet-hero,
.reborn-ref-hero,
.reborn-invest-hero,
.reborn-gift-hero,
.reborn-history-hero,
.reborn-transaction-hero,
.reborn-product-hero,
.reborn-order-hero,
.reborn-auth-hero,
.reborn-money-hero,
.reborn-bank-hero {
  padding-top: 24px;
  padding-bottom: 24px;
}

.reborn-section,
.rw-form-card,
.rw-info-card,
.reborn-auth-card,
.reborn-auth-block,
.reborn-money-history-shell,
.reborn-bank-listcard,
.reborn-product-card {
  border-radius: 24px;
}

.reborn-shortcuts a,
.reborn-wallet-actions a,
.reborn-task-item,
.reborn-holding-card,
.reborn-ledger-item,
.reborn-gift-item,
.reborn-history-item,
.reborn-transaction-cta,
.reborn-profile-link,
.reborn-agent-list article,
.reborn-member-card,
.rw-empty-inline,
.rw-bank-history article,
.rw-withdraw-history article,
.reborn-plan-card,
.reborn-invest-card,
.reborn-post-feature,
.reborn-post-card {
  box-shadow: 0 8px 20px rgba(18, 38, 63, 0.04);
}

.reborn-auth-hero,
.reborn-money-hero,
.reborn-bank-hero,
.reborn-hero,
.reborn-wallet-hero,
.reborn-ref-hero,
.reborn-invest-hero,
.reborn-gift-hero,
.reborn-history-hero,
.reborn-transaction-hero,
.reborn-product-hero,
.reborn-order-hero {
  background:
    radial-gradient(circle at 100% 0, rgba(20,184,166,.08), transparent 26%),
    radial-gradient(circle at 0 100%, rgba(197,155,56,.08), transparent 20%),
    linear-gradient(180deg, #ffffff, #f8fbfc 68%, #f2f7f8);
}

img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }

.premium-sidebar { display: none; }

.app-frame.premium-app-shell {
  width: min(100%, 560px);
  margin: 0 auto;
  padding: 14px 14px 96px;
}

.premium-stage,
.premium-content,
.app-content { min-width: 0; }

.app-topbar,
.premium-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
  padding: 14px;
  border-radius: var(--ui-radius-xl);
  border: 1px solid rgba(255,255,255,.7);
  background:
    linear-gradient(180deg, rgba(255,255,255,.94), rgba(248,251,253,.9));
  box-shadow: var(--ui-shadow);
  backdrop-filter: blur(18px);
}

.app-topbar-main,
.app-topbar-actions,
.app-brand,
.app-brand-copy { display: flex; }

.app-topbar-main {
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1 1 auto;
}

.app-topbar-copy {
  min-width: 0;
  flex: 1 1 auto;
}

.app-topbar-copy span,
.app-topbar-copy small,
.app-brand-copy small {
  display: block;
  color: var(--ui-text-soft);
  font-size: .74rem;
  line-height: 1.4;
}

.app-topbar-copy strong,
.app-brand-copy strong {
  display: block;
  color: var(--ui-title);
  font-family: var(--site-title-font);
  font-size: clamp(1.18rem, 3.8vw, 1.5rem);
  line-height: 1.12;
  letter-spacing: 0;
}

.app-topbar-actions {
  align-items: center;
  gap: 8px;
}

.app-brand {
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.app-brand--guest {
  flex: 1 1 auto;
  min-width: 0;
}

.app-brand-mark,
.app-profile-chip,
.app-icon-btn {
  width: 46px;
  height: 46px;
  min-width: 46px;
  border-radius: 16px;
  display: grid;
  place-items: center;
}

.app-brand-mark,
.app-profile-chip,
.app-icon-btn,
.app-text-btn {
  border: 1px solid var(--ui-line);
  background: linear-gradient(180deg, #fff, #f5f8fb);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9);
}

.app-brand-mark {
  overflow: hidden;
}

.app-brand-mark img,
.app-profile-chip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.app-profile-chip {
  overflow: hidden;
  text-decoration: none;
  color: var(--ui-title);
  font-weight: 800;
}

.app-icon-btn,
.app-text-btn {
  color: var(--ui-title);
  text-decoration: none;
}

.app-text-btn {
  min-height: 44px;
  padding: 0 14px;
  border-radius: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.app-text-btn.is-primary {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--ui-primary), var(--ui-primary-2));
}

.app-bottom-nav.premium-bottom-nav {
  position: fixed;
  left: 50%;
  bottom: 10px;
  z-index: 40;
  transform: translateX(-50%);
  width: min(calc(100% - 18px), 542px);
  padding: 10px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,.7);
  background: rgba(255,255,255,.88);
  box-shadow: 0 20px 48px rgba(18, 38, 63, 0.14);
  backdrop-filter: blur(20px);
}

.app-bottom-link {
  min-width: 0;
  padding: 10px 4px;
  border-radius: 16px;
  display: grid;
  justify-items: center;
  gap: 6px;
  text-decoration: none;
  color: var(--ui-text-soft);
}

.app-bottom-link i { font-size: 1.02rem; }

.app-bottom-link span {
  text-align: center;
  font-size: .71rem;
  line-height: 1.2;
  font-weight: 700;
}

.app-bottom-link.active {
  color: var(--ui-primary);
  background: var(--ui-primary-soft);
}

.app-content,
.premium-content,
.reborn-dashboard,
.reborn-wallet,
.reborn-referral,
.reborn-invest,
.reborn-gift,
.reborn-history,
.reborn-transaction,
.reborn-product,
.reborn-order,
.reborn-auth-page,
.reborn-money-page,
.reborn-bank-page,
.reborn-home,
.reborn-static-page {
  display: grid;
  gap: 18px;
}

.reborn-hero,
.reborn-wallet-hero,
.reborn-ref-hero,
.reborn-invest-hero,
.reborn-gift-hero,
.reborn-history-hero,
.reborn-transaction-hero,
.reborn-product-hero,
.reborn-order-hero,
.reborn-auth-hero,
.reborn-money-hero,
.reborn-bank-hero {
  position: relative;
  overflow: hidden;
  padding: 22px;
  border-radius: var(--ui-radius-xl);
  border: 1px solid rgba(255,255,255,.7);
  background:
    radial-gradient(circle at top right, rgba(20,184,166,.12), transparent 30%),
    radial-gradient(circle at bottom left, rgba(197,155,56,.10), transparent 24%),
    linear-gradient(180deg, rgba(255,255,255,.95), rgba(247,250,252,.92));
  box-shadow: var(--ui-shadow);
}

.reborn-eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--ui-primary);
  background: var(--ui-primary-soft);
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.reborn-hero h1,
.reborn-wallet-hero h1,
.reborn-ref-hero h1,
.reborn-invest-hero h1,
.reborn-gift-hero h1,
.reborn-history-hero h1,
.reborn-transaction-hero h1,
.reborn-product-hero h1,
.reborn-order-hero h1,
.reborn-auth-hero h1,
.reborn-money-hero strong,
.reborn-bank-hero strong {
  margin: 10px 0 8px;
  color: var(--ui-title);
  font-family: var(--site-title-font);
  font-size: clamp(1.9rem, 7vw, 3rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.reborn-hero p,
.reborn-wallet-hero p,
.reborn-ref-hero p,
.reborn-invest-hero p,
.reborn-gift-hero p,
.reborn-history-hero p,
.reborn-transaction-hero p,
.reborn-product-hero p,
.reborn-order-hero p,
.reborn-auth-hero p,
.rw-balance-head small {
  margin: 0;
  color: var(--ui-text-soft);
  font-size: .92rem;
  line-height: 1.64;
}

.reborn-section,
.rw-form-card,
.rw-info-card,
.reborn-auth-card,
.reborn-auth-block,
.reborn-money-history-shell,
.reborn-bank-listcard,
.reborn-product-card {
  padding: 18px;
  border-radius: var(--ui-radius-xl);
  border: 1px solid var(--ui-line);
  background: linear-gradient(180deg, var(--ui-surface), var(--ui-surface-2));
  box-shadow: var(--ui-shadow-soft);
}

.reborn-section-head,
.rw-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.reborn-section-head span {
  display: block;
  color: var(--ui-primary);
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.reborn-section-head h2,
.rw-section-head h2 {
  margin: 4px 0 0;
  color: var(--ui-title);
  font-family: var(--site-title-font);
  font-size: 1.12rem;
  line-height: 1.25;
}

.reborn-link,
.rw-section-head a {
  color: var(--ui-primary);
  text-decoration: none;
  font-size: .82rem;
  font-weight: 800;
}

.reborn-hero-grid,
.reborn-wallet-grid,
.reborn-ref-grid,
.rw-kpi-grid,
.reborn-shortcuts,
.reborn-wallet-actions,
.reborn-plan-list,
.reborn-invest-metrics,
.reborn-product-metrics,
.reborn-transaction-stats,
.reborn-rate-row,
.reborn-profile-info,
.reborn-profile-chips,
.reborn-level-tabs,
.reborn-auth-pills,
.reborn-ref-share-actions,
.reborn-home-actions,
.reborn-home-trust,
.reborn-home-calculator,
.reborn-home-kpis,
.reborn-post-grid,
.reborn-static-copy {
  display: grid;
  gap: 12px;
}

.reborn-hero-grid,
.reborn-wallet-grid,
.reborn-ref-grid,
.rw-kpi-grid,
.reborn-rate-row,
.reborn-home-kpis {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.reborn-home-actions { grid-template-columns: 1fr 1fr; }
.reborn-home-trust { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.reborn-hero-grid article,
.reborn-wallet-grid article,
.reborn-ref-grid article,
.rw-kpi-grid article,
.reborn-rate-row article,
.reborn-transaction-stats article,
.reborn-invest-metrics article,
.reborn-product-metrics article,
.reborn-profile-info article,
.reborn-home-kpis article,
.reborn-home-trust article {
  padding: 14px;
  border-radius: var(--ui-radius-md);
  border: 1px solid var(--ui-line);
  background: #fff;
}

.reborn-hero-grid span,
.reborn-wallet-grid span,
.reborn-ref-grid span,
.rw-kpi-grid span,
.reborn-rate-row span,
.reborn-transaction-stats span,
.reborn-invest-metrics span,
.reborn-product-metrics span,
.reborn-profile-info span,
.reborn-home-kpis span,
.rw-field-label,
.reborn-field-label {
  display: block;
  color: var(--ui-text-soft);
  font-size: .76rem;
  line-height: 1.45;
  font-weight: 700;
}

.reborn-hero-grid strong,
.reborn-wallet-grid strong,
.reborn-ref-grid strong,
.rw-kpi-grid strong,
.reborn-rate-row strong,
.reborn-transaction-stats strong,
.reborn-invest-metrics strong,
.reborn-product-metrics strong,
.reborn-profile-info strong,
.reborn-home-kpis strong,
.rw-balance-head strong,
.reborn-home-trust strong {
  display: block;
  margin-top: 6px;
  color: var(--ui-title);
  font-family: var(--site-title-font);
  font-size: 1rem;
  line-height: 1.28;
  overflow-wrap: anywhere;
}

.rw-balance-card { padding: 22px; border-radius: var(--ui-radius-xl); }

.rw-balance-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.rw-balance-head span {
  display: block;
  color: var(--ui-text-soft);
  font-size: .76rem;
  font-weight: 700;
}

.rw-balance-badge,
.rw-status-chip {
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .74rem;
  font-weight: 800;
}

.rw-balance-badge {
  color: var(--ui-primary);
  background: var(--ui-primary-soft);
}

.rw-status-chip {
  color: var(--ui-primary);
  background: #edf7f6;
}

.rw-status-chip.is-success,
.rw-status-chip.is-approved { color: var(--ui-success); background: #eaf8f1; }
.rw-status-chip.is-danger,
.rw-status-chip.is-rejected { color: var(--ui-danger); background: #feeff2; }
.rw-status-chip.is-pending { color: #a57a1b; background: #fff7e8; }

.reborn-shortcuts,
.reborn-wallet-actions { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.reborn-shortcuts a,
.reborn-wallet-actions a {
  min-width: 0;
  padding: 14px 10px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--ui-line);
  text-decoration: none;
  text-align: center;
}

.reborn-shortcuts i,
.reborn-wallet-actions i,
.reborn-task-icon,
.reborn-profile-link-icon,
.reborn-ledger-mark,
.reborn-history-icon,
.reborn-transaction-mark,
.registration-reward-icon,
.nova-app-dialog-icon,
.reborn-auth-icon,
.rw-bank-logo {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--ui-primary), var(--ui-primary-2));
}

.reborn-shortcuts span,
.reborn-wallet-actions strong,
.reborn-wallet-actions span {
  display: block;
}

.reborn-shortcuts span,
.reborn-wallet-actions strong {
  margin-top: 8px;
  color: var(--ui-title);
  font-size: .82rem;
  font-weight: 800;
  line-height: 1.3;
}

.reborn-wallet-actions a span {
  color: var(--ui-text-soft);
  font-size: .75rem;
  font-weight: 600;
}

.reborn-banner,
.reborn-task-item,
.reborn-holding-card,
.reborn-ledger-item,
.reborn-gift-item,
.reborn-history-item,
.reborn-transaction-cta,
.reborn-profile-link,
.reborn-agent-list article,
.reborn-member-card,
.rw-empty-inline,
.rw-bank-history article,
.rw-withdraw-history article {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: 20px;
  border: 1px solid var(--ui-line);
  background: #fff;
}

.reborn-banner,
.reborn-task-item,
.reborn-profile-link,
.reborn-history-item,
.reborn-invest-card,
.reborn-plan-card,
.reborn-post-feature,
.reborn-post-card { text-decoration: none; }

.reborn-task-copy,
.reborn-ledger-copy,
.reborn-history-copy,
.reborn-transaction-headcopy,
.reborn-transaction-cta > div,
.reborn-profile-link-copy,
.rw-bank-history-copy { min-width: 0; flex: 1 1 auto; }

.reborn-task-copy strong,
.reborn-ledger-copy strong,
.reborn-history-copy strong,
.reborn-transaction-headcopy strong,
.reborn-transaction-cta strong,
.reborn-profile-link-copy strong,
.reborn-agent-list strong,
.reborn-member-card strong,
.rw-bank-history-copy strong,
.reborn-post-card h3,
.reborn-post-feature h2 {
  display: block;
  color: var(--ui-title);
  font-family: var(--site-title-font);
  font-size: .95rem;
  line-height: 1.3;
}

.reborn-task-copy span,
.reborn-ledger-copy span,
.reborn-history-copy span,
.reborn-transaction-headcopy span,
.reborn-transaction-cta span,
.reborn-profile-link-copy span,
.reborn-agent-list span,
.reborn-member-card span,
.rw-bank-history-copy span,
.rw-inline-note,
.reborn-auth-note,
.rw-muted-note,
.reborn-home-trust span,
.reborn-post-card p,
.reborn-post-feature p,
.reborn-static-copy p {
  display: block;
  margin-top: 4px;
  color: var(--ui-text-soft);
  font-size: .82rem;
  line-height: 1.58;
  overflow-wrap: anywhere;
}

.reborn-task-item b,
.reborn-holding-card b,
.reborn-ledger-item b,
.reborn-gift-item b,
.reborn-history-item b,
.reborn-agent-list b,
.reborn-member-card b {
  color: var(--ui-primary);
  font-size: .82rem;
  font-weight: 800;
  white-space: nowrap;
}

.is-in,
.reborn-ledger-item b.is-in,
.reborn-history-item b.is-in { color: var(--ui-success) !important; }

.is-out,
.reborn-ledger-item b.is-out,
.reborn-history-item b.is-out { color: var(--ui-danger) !important; }

.reborn-ledger-mark.is-in,
.reborn-history-icon.is-in,
.reborn-transaction-mark.is-in { background: linear-gradient(135deg, #1f8f67, #31c28d); }

.reborn-ledger-mark.is-out,
.reborn-history-icon.is-out,
.reborn-transaction-mark.is-out { background: linear-gradient(135deg, #c94f67, #ec8b67); }

.reborn-plan-list,
.reborn-post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.reborn-plan-card,
.reborn-invest-card,
.reborn-post-card {
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid var(--ui-line);
  background: #fff;
  box-shadow: var(--ui-shadow-soft);
}

.reborn-plan-cover,
.reborn-invest-cover,
.reborn-product-cover {
  aspect-ratio: 1 / .78;
  background: linear-gradient(180deg, #f3f7fb, #fbfdff);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.reborn-plan-cover img,
.reborn-invest-cover img,
.reborn-product-cover img,
.reborn-post-feature img,
.reborn-post-cover img,
.reborn-post-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reborn-plan-cover i,
.reborn-invest-cover i,
.reborn-product-cover i,
.reborn-post-feature > i,
.reborn-post-card i {
  font-size: 2rem;
  color: var(--ui-primary);
}

.reborn-plan-body,
.reborn-invest-body,
.reborn-product-body {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.reborn-plan-body em,
.reborn-invest-body em {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--ui-primary);
  background: var(--ui-primary-soft);
  font-size: .72rem;
  font-style: normal;
  font-weight: 800;
}

.reborn-invest-body em.is-warning {
  color: #936a11;
  background: #fff4df;
}

.reborn-plan-body h3,
.reborn-invest-body h3,
.reborn-product-body h3,
.reborn-product-price strong {
  margin: 0;
  color: var(--ui-title);
  font-family: var(--site-title-font);
  font-size: 1rem;
  line-height: 1.32;
}

.reborn-plan-meta,
.reborn-member-stats,
.reborn-transaction-details,
.reborn-order-list,
.reborn-gift-list,
.reborn-history-list,
.reborn-agent-list,
.reborn-member-list,
.reborn-profile-menu {
  display: grid;
  gap: 12px;
}

.reborn-plan-meta span,
.reborn-member-stats span,
.reborn-post-card span {
  color: var(--ui-text-soft);
  font-size: .8rem;
}

.reborn-invest-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.reborn-invest-footer strong {
  color: var(--ui-title);
  font-family: var(--site-title-font);
  font-size: 1rem;
}

.reborn-product-card {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 0;
}

.reborn-product-price {
  padding: 14px;
  border-radius: 18px;
  background: #f3faf9;
}

.reborn-profile-avatar {
  width: 78px;
  height: 78px;
  border-radius: 24px;
  overflow: hidden;
  background: var(--ui-primary-soft);
}

.reborn-profile-avatar img,
.reborn-profile-avatar span {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: var(--ui-primary);
  font-weight: 800;
  object-fit: cover;
}

.reborn-profile-balance,
.reborn-ref-share {
  padding: 16px;
  border-radius: 20px;
  background: #f7fbfb;
  border: 1px solid var(--ui-line);
}

.reborn-ref-share small {
  display: block;
  margin-top: 8px;
  color: var(--ui-text-soft);
  word-break: break-all;
}

.reborn-level-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.reborn-level-tabs button,
.reborn-history-tabs button,
.reborn-ghost-btn {
  border: 1px solid var(--ui-line);
  border-radius: 18px;
  background: #fff;
  color: var(--ui-text);
}

.reborn-level-tabs button,
.reborn-history-tabs button {
  min-height: 72px;
  padding: 12px;
}

.reborn-level-tabs button.is-active,
.reborn-history-tabs button.is-active {
  border-color: #bfe6e0;
  background: #f2fbf9;
}

.reborn-history-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.reborn-history-tabs span,
.reborn-level-tabs span {
  display: block;
  color: var(--ui-text-soft);
  font-size: .74rem;
  font-weight: 700;
}

.reborn-history-tabs strong,
.reborn-level-tabs strong {
  display: block;
  margin-top: 8px;
  color: var(--ui-title);
  font-family: var(--site-title-font);
  font-size: 1rem;
}

.reborn-transaction-topline {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  padding: 14px;
  border-radius: 20px;
  background: #f6fafc;
  border: 1px solid var(--ui-line);
}

.reborn-transaction-details article,
.reborn-order-list article {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--ui-line);
}

.reborn-order-qr {
  display: grid;
  gap: 14px;
  justify-items: center;
}

.reborn-order-qr img {
  width: min(100%, 320px);
  padding: 16px;
  border-radius: 24px;
  border: 1px solid var(--ui-line);
  background: #fff;
}

.reborn-post-feature {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  align-items: stretch;
  gap: 16px;
  padding: 16px;
  border-radius: 24px;
  border: 1px solid var(--ui-line);
  background: #fff;
}

.reborn-post-feature > i,
.reborn-post-card i {
  min-height: 220px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #f3f7fb, #fbfdff);
}

.reborn-post-card { padding: 16px; }
.reborn-post-card h3,
.reborn-post-feature h2 { margin: 8px 0; font-size: 1.06rem; }
.reborn-post-cover { overflow: hidden; border-radius: 24px; }
.reborn-post-content { color: var(--ui-text); line-height: 1.72; }
.reborn-post-content img { border-radius: 18px; }

.rw-auth-form,
.reborn-auth-form,
.reborn-product-actions,
.reborn-gift-form,
.reborn-avatar-form,
#withdrawForm,
#bankLinkForm { display: grid; gap: 14px; }

.rw-input,
.rw-select,
.reborn-auth-input,
.form-control,
.form-select {
  min-height: 54px;
  padding: 0 16px;
  border: 1px solid var(--ui-line) !important;
  border-radius: 18px !important;
  background: #fff !important;
  color: var(--ui-title) !important;
  box-shadow: none !important;
}

.rw-input:focus,
.rw-select:focus,
.reborn-auth-input:focus,
.form-control:focus,
.form-select:focus {
  border-color: #9fd8cf !important;
  box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.10) !important;
}

.rw-primary-btn,
.rw-secondary-btn,
.rw-danger-btn,
.nova-dialog-btn,
.registration-reward-card button,
.reborn-ghost-btn {
  min-height: 50px;
  padding: 0 18px;
  border: 0;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  cursor: pointer;
}

.rw-primary-btn,
.nova-dialog-btn-primary,
.registration-reward-card button {
  color: #fff;
  background: linear-gradient(135deg, var(--ui-primary), var(--ui-primary-2));
  box-shadow: 0 14px 30px rgba(15, 118, 110, 0.18);
}

.rw-secondary-btn,
.nova-dialog-btn-ghost,
.reborn-ghost-btn {
  color: var(--ui-primary);
  background: #fff;
  border: 1px solid var(--ui-line);
}

.rw-danger-btn {
  color: #fff;
  background: linear-gradient(135deg, var(--ui-danger), #ed8e72);
}

.rw-copy-btn {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border: 0;
  border-radius: 12px;
  color: var(--ui-primary);
  background: #eef8f6;
}

.rw-bank-history-head,
.rw-withdraw-history-head,
.rw-bank-history-main,
.rw-withdraw-history-meta,
.rw-bank-history-meta,
.reborn-member-head {
  display: flex;
  gap: 12px;
}

.rw-bank-history-head,
.rw-withdraw-history-head,
.reborn-member-head {
  align-items: flex-start;
  justify-content: space-between;
}

.rw-withdraw-history-meta,
.rw-bank-history-meta,
.reborn-member-stats {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.rw-withdraw-history-meta div,
.rw-bank-history-meta div,
.reborn-member-stats div {
  padding: 12px;
  border-radius: 16px;
  background: #f7fafc;
}

.rw-withdraw-history-meta span,
.rw-bank-history-meta span,
.reborn-member-stats span {
  display: block;
  color: var(--ui-text-soft);
  font-size: .74rem;
}

.rw-withdraw-history-meta strong,
.rw-bank-history-meta strong,
.reborn-member-stats strong {
  display: block;
  margin-top: 6px;
  color: var(--ui-title);
  font-family: var(--site-title-font);
  font-size: .86rem;
  overflow-wrap: anywhere;
}

.nova-app-dialog,
.registration-reward-overlay,
.tp-reward-pop {
  position: fixed;
  inset: 0;
  z-index: 13000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(15, 27, 45, 0.34);
  backdrop-filter: blur(12px);
}

.tp-reward-pop.is-open,
.registration-reward-overlay,
.nova-app-dialog.is-open,
.nova-app-dialog.is-show { display: flex; }

.nova-app-dialog-card,
.registration-reward-card {
  width: min(100%, 420px);
  padding: 22px;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,.7);
  background: rgba(255,255,255,.97);
  box-shadow: 0 28px 70px rgba(10, 27, 68, 0.18);
  position: relative;
}

.nova-app-dialog-close,
.rw-pay-lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 14px;
  color: var(--ui-title);
  background: #eef4f8;
}

.nova-app-dialog-copy h2,
.registration-reward-card h2 {
  margin: 14px 0 8px;
  color: var(--ui-title);
  font-family: var(--site-title-font);
  font-size: 1.35rem;
}

.nova-app-dialog-copy p,
.registration-reward-card p,
.tp-dashboard-notice-content {
  color: var(--ui-text-soft);
  line-height: 1.65;
}

.nova-app-dialog-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 18px;
}

.toast-lux-container { z-index: 14000 !important; }

.vd-loading,
.vw-loading,
.vr-empty,
.vh-empty,
.vg-empty,
.vt-empty,
.vp-empty,
.vo-empty,
.vd-empty,
.vw-empty,
.rw-muted-note {
  padding: 18px;
  border-radius: 20px;
  border: 1px dashed var(--ui-line-2);
  background: #fbfcfd;
  color: var(--ui-text-soft);
  text-align: center;
}

.vd-error,
.vw-error,
.vr-error,
.vh-error,
.vt-error,
.vo-copied {
  color: var(--ui-primary);
  font-size: .82rem;
  font-weight: 700;
}

.p-select,
.p-select-overlay,
.p-component { border-radius: 18px !important; }

.p-select:not(.p-disabled):hover,
.p-select.p-focus { border-color: #9fd8cf !important; }

.p-select-label,
.p-select-option { font-family: var(--site-body-font) !important; }

@media (max-width: 640px) {
  .app-frame.premium-app-shell {
    width: 100%;
    padding: 12px 12px 94px;
  }

  .app-topbar,
  .premium-topbar,
  .reborn-hero,
  .reborn-wallet-hero,
  .reborn-ref-hero,
  .reborn-invest-hero,
  .reborn-gift-hero,
  .reborn-history-hero,
  .reborn-transaction-hero,
  .reborn-product-hero,
  .reborn-order-hero,
  .reborn-auth-hero,
  .reborn-money-hero,
  .reborn-bank-hero,
  .reborn-section,
  .rw-form-card,
  .rw-info-card,
  .reborn-auth-card,
  .reborn-auth-block,
  .reborn-money-history-shell,
  .reborn-bank-listcard,
  .reborn-product-card {
    padding: 16px;
    border-radius: 22px;
  }

  .reborn-shortcuts,
  .reborn-wallet-actions,
  .reborn-plan-list,
  .reborn-history-tabs,
  .reborn-level-tabs,
  .reborn-product-card,
  .reborn-hero-grid,
  .reborn-wallet-grid,
  .reborn-ref-grid,
  .rw-kpi-grid,
  .reborn-rate-row,
  .rw-withdraw-history-meta,
  .rw-bank-history-meta,
  .reborn-member-stats,
  .reborn-home-trust,
  .reborn-home-actions,
  .reborn-home-kpis,
  .reborn-post-grid,
  .reborn-post-feature {
    grid-template-columns: 1fr 1fr;
  }
}

/* QR referral hard fix: do not pad/crop the generated SVG itself */
.poster-share-qr {
  overflow: visible !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  padding: 16px !important;
}

.poster-share-qr svg,
.poster-share-qr canvas,
.poster-share-qr img {
  box-sizing: border-box !important;
  width: 250px !important;
  max-width: 100% !important;
  height: 250px !important;
  max-height: 250px !important;
  padding: 0 !important;
  margin: 0 auto !important;
  border-radius: 18px !important;
  background: #fff !important;
  box-shadow: none !important;
  overflow: visible !important;
  object-fit: contain !important;
}

@media (max-width: 640px) {
  .poster-share-card {
    width: min(390px, calc(100vw - 12px)) !important;
    padding: 18px !important;
  }

  .poster-share-qr-wrap {
    padding: 10px !important;
  }

  .poster-share-qr {
    padding: 12px !important;
  }

  .poster-share-qr svg,
  .poster-share-qr canvas,
  .poster-share-qr img {
    width: 210px !important;
    height: 210px !important;
    max-height: 210px !important;
  }
}

/* Invest pro catalog rebuild */
.invest-pro {
  display: grid;
  gap: 14px;
  color: #081120;
}

.invest-pro-hero {
  padding: 18px;
  border-radius: 28px;
  border: 1px solid rgba(24,38,64,.08);
  background:
    radial-gradient(circle at 85% 14%, rgba(200,0,32,.15), transparent 28%),
    linear-gradient(180deg, #fff, #fbfbfd);
  box-shadow: 0 18px 48px rgba(14,23,42,.08);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(210px, .38fr);
  gap: 16px;
  align-items: stretch;
}

.invest-pro-hero-copy {
  display: grid;
  align-content: center;
  gap: 8px;
}

.invest-pro-hero-copy span,
.invest-pro-head span {
  color: #c80020;
  font-size: .74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.invest-pro-hero h1,
.invest-pro-head h2 {
  margin: 0;
  color: #081120;
  font-family: var(--site-title-font);
  font-weight: 900;
  letter-spacing: 0;
}

.invest-pro-hero h1 {
  font-size: clamp(2.15rem, 9vw, 4rem);
  line-height: .9;
}

.invest-pro-hero p {
  margin: 0;
  color: #7b8aa4;
  line-height: 1.5;
}

.invest-pro-feature {
  padding: 16px;
  border-radius: 24px;
  color: #fff;
  background: linear-gradient(135deg, #ad0018, #df0028);
  text-decoration: none;
  display: grid;
  align-content: center;
  gap: 6px;
  box-shadow: 0 16px 36px rgba(200,0,32,.20);
}

.invest-pro-feature small,
.invest-pro-feature span {
  color: rgba(255,255,255,.78);
  font-weight: 800;
}

.invest-pro-feature strong,
.invest-pro-feature b {
  color: #fff;
  overflow-wrap: anywhere;
}

.invest-pro-feature strong {
  font-size: 1.12rem;
  font-weight: 900;
}

.invest-pro-feature b {
  font-size: 1.55rem;
  line-height: 1;
}

.invest-pro-toolbar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 1px 4px;
}

.invest-pro-toolbar button {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid rgba(24,38,64,.08);
  border-radius: 999px;
  background: #fff;
  color: #7b8aa4;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(14,23,42,.05);
}

.invest-pro-toolbar button.active {
  color: #fff;
  border-color: transparent;
  background: #c80020;
}

.invest-pro-toolbar b {
  min-width: 24px;
  min-height: 24px;
  padding: 0 7px;
  border-radius: 999px;
  background: rgba(255,255,255,.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.invest-pro-board {
  padding: 16px;
  border-radius: 28px;
  border: 1px solid rgba(24,38,64,.08);
  background: #fff;
  box-shadow: 0 18px 48px rgba(14,23,42,.07);
  display: grid;
  gap: 14px;
}

.invest-pro-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.invest-pro-head h2 {
  margin-top: 3px;
  font-size: 1.55rem;
  line-height: 1;
}

.invest-pro-head button {
  min-height: 40px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: #c80020;
  font-weight: 900;
}

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

.invest-pro-card {
  position: relative;
  overflow: hidden;
  min-width: 0;
  border: 1px solid rgba(24,38,64,.08);
  border-radius: 26px;
  color: #081120;
  background: #fff;
  text-decoration: none;
  box-shadow: 0 14px 36px rgba(14,23,42,.07);
  display: grid;
}

.invest-pro-card.is-soon {
  opacity: .82;
}

.invest-pro-cover {
  position: relative;
  min-height: 168px;
  background:
    linear-gradient(135deg, rgba(200,0,32,.10), transparent 38%),
    #f6f7fa;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.invest-pro-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.invest-pro-cover i {
  color: #c80020;
  font-size: 2.3rem;
}

.invest-pro-cover em {
  position: absolute;
  top: 12px;
  left: 12px;
  min-width: 40px;
  height: 40px;
  border-radius: 15px;
  color: #fff;
  background: #c80020;
  display: grid;
  place-items: center;
  font-style: normal;
  font-weight: 900;
}

.invest-pro-card-body {
  padding: 14px;
  display: grid;
  gap: 11px;
}

.invest-pro-card-top,
.invest-pro-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.invest-pro-card-top span,
.invest-pro-card-top b {
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  font-size: .72rem;
  font-weight: 900;
}

.invest-pro-card-top span {
  color: #c80020;
  background: rgba(200,0,32,.08);
}

.invest-pro-card-top b {
  color: #1357dd;
  background: rgba(19,87,221,.08);
}

.invest-pro-card h3 {
  margin: 0;
  color: #081120;
  font-size: 1.22rem;
  line-height: 1.05;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.invest-pro-card p {
  margin: 0;
  color: #7b8aa4;
  line-height: 1.42;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.invest-pro-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.invest-pro-stats article {
  min-width: 0;
  padding: 10px;
  border-radius: 16px;
  background: #f8f9fb;
}

.invest-pro-stats small,
.invest-pro-stats strong,
.invest-pro-footer small,
.invest-pro-footer strong {
  display: block;
}

.invest-pro-stats small,
.invest-pro-footer small {
  color: #7b8aa4;
  font-size: .7rem;
  font-weight: 800;
}

.invest-pro-stats strong {
  margin-top: 4px;
  color: #081120;
  font-size: .82rem;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.invest-pro-footer strong {
  color: #c80020;
  font-weight: 900;
}

.invest-pro-footer > span {
  min-height: 40px;
  padding: 0 13px;
  border-radius: 999px;
  color: #fff;
  background: #c80020;
  display: inline-flex;
  align-items: center;
  font-weight: 900;
  white-space: nowrap;
}

.invest-pro-empty {
  padding: 22px;
  border-radius: 22px;
  color: #7b8aa4;
  background: #f8f9fb;
  display: grid;
  gap: 5px;
}

.invest-pro-empty strong {
  color: #081120;
}

@media (max-width: 760px) {
  .invest-pro-hero {
    grid-template-columns: 1fr;
    padding: 14px;
    border-radius: 24px;
  }

  .invest-pro-grid {
    grid-template-columns: 1fr;
  }

  .invest-pro-cover {
    min-height: 150px;
  }

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

  .invest-pro-stats article:first-child {
    grid-column: 1 / -1;
  }
}

/* Wealth dashboard rebuild */
.wealth-dash {
  display: grid;
  gap: 14px;
  color: #081120;
}

.wealth-hero {
  padding: 18px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 88% 16%, rgba(200,0,32,.16), transparent 28%),
    linear-gradient(180deg, #ffffff, #fbfbfd);
  border: 1px solid rgba(24,38,64,.08);
  box-shadow: 0 18px 48px rgba(14,23,42,.08);
  display: grid;
  gap: 16px;
}

.wealth-hero-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.wealth-kicker,
.wealth-section-head span {
  color: #c80020;
  font-size: .74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.wealth-hero h1,
.wealth-section-head h2 {
  margin: 3px 0 0;
  color: #081120;
  font-family: var(--site-title-font);
  font-weight: 900;
  letter-spacing: 0;
}

.wealth-hero h1 {
  font-size: clamp(2rem, 8vw, 3.4rem);
  line-height: .92;
}

.wealth-hero p,
.wealth-section-head p {
  margin: 6px 0 0;
  color: #7b8aa4;
  line-height: 1.45;
}

.wealth-date {
  min-height: 40px;
  padding: 0 12px;
  border: 0;
  border-radius: 16px;
  color: #c80020;
  background: rgba(200,0,32,.08);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  font-weight: 900;
  white-space: nowrap;
}

.wealth-balance-card {
  padding: 18px;
  border-radius: 24px;
  color: #fff;
  background: linear-gradient(135deg, #b9001b, #df0028);
  box-shadow: 0 16px 36px rgba(200,0,32,.20);
  display: grid;
  gap: 5px;
}

.wealth-balance-card span,
.wealth-balance-card small {
  color: rgba(255,255,255,.78);
  font-weight: 800;
}

.wealth-balance-card strong {
  color: #fff;
  font-family: var(--site-title-font);
  font-size: clamp(2rem, 9vw, 3.7rem);
  line-height: 1;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.wealth-hero-notice {
  margin-top: 10px;
  min-height: 44px;
  width: fit-content;
  padding: 0 14px;
  border: 1px solid rgba(255,255,255,.26);
  border-radius: 999px;
  color: #fff;
  background: rgba(255,255,255,.14);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 900;
  letter-spacing: 0;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18);
}

.wealth-hero-notice i {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: rgba(255,255,255,.18);
  display: inline-grid;
  place-items: center;
}

.wealth-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.wealth-metrics article,
.wealth-actions a,
.wealth-panel,
.wealth-notice,
.wealth-empty {
  border: 1px solid rgba(24,38,64,.08);
  background: #fff;
  box-shadow: 0 14px 34px rgba(14,23,42,.06);
}

.wealth-metrics article {
  min-width: 0;
  padding: 14px;
  border-radius: 22px;
  display: grid;
  gap: 5px;
}

.wealth-metrics i {
  color: #c80020;
  font-size: 1.1rem;
}

.wealth-metrics span,
.wealth-row-copy small,
.wealth-row-value small,
.wealth-focus-grid small,
.wealth-notice span {
  color: #7b8aa4;
}

.wealth-metrics span {
  font-size: .76rem;
  font-weight: 800;
}

.wealth-metrics strong {
  color: #081120;
  font-weight: 900;
  overflow-wrap: anywhere;
}

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

.wealth-actions a {
  min-height: 82px;
  padding: 12px;
  border-radius: 22px;
  color: #081120;
  text-decoration: none;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
}

.wealth-actions i {
  color: #c80020;
  font-size: 1.35rem;
}

.wealth-actions span {
  color: #081120;
  text-align: center;
  font-weight: 900;
  line-height: 1.15;
}

.wealth-panel,
.wealth-notice,
.wealth-empty {
  padding: 16px;
  border-radius: 26px;
}

.wealth-section-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
}

.wealth-section-head h2 {
  font-size: 1.45rem;
  line-height: 1.05;
}

.wealth-more {
  color: #c80020;
  text-decoration: none;
  font-weight: 900;
  white-space: nowrap;
}

.wealth-list {
  display: grid;
  gap: 10px;
}

.wealth-row {
  min-width: 0;
  padding: 12px;
  border-radius: 20px;
  background: #f8f9fb;
  color: #081120;
  text-decoration: none;
  display: grid;
  grid-template-columns: 34px 44px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.wealth-row > b {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #7b8aa4;
  background: #fff;
  font-weight: 900;
}

.wealth-row-icon {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: #fff;
  background: #c80020;
}

.wealth-row-icon.is-live {
  background: #1357dd;
}

.wealth-row-copy {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.wealth-row-copy strong {
  color: #081120;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.wealth-row-bar {
  height: 8px;
  border-radius: 999px;
  background: #eceff4;
  overflow: hidden;
}

.wealth-row-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #c80020;
}

.wealth-row-value {
  grid-column: 3;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.wealth-row-value strong {
  color: #c80020;
  font-weight: 900;
  overflow-wrap: anywhere;
}

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

.wealth-focus-grid a {
  min-width: 0;
  padding: 14px;
  border-radius: 20px;
  background: #f8f9fb;
  color: #081120;
  text-decoration: none;
  display: grid;
  gap: 8px;
}

.wealth-focus-grid i,
.wealth-focus-grid b {
  color: #c80020;
}

.wealth-focus-grid strong {
  color: #081120;
  font-weight: 900;
  line-height: 1.2;
}

.wealth-notice {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.wealth-notice strong,
.wealth-notice span {
  display: block;
  overflow-wrap: anywhere;
}

.wealth-notice strong {
  color: #081120;
  font-weight: 900;
}

.wealth-empty {
  display: grid;
  gap: 8px;
}

.wealth-empty strong {
  color: #081120;
}

@media (max-width: 640px) {
  .wealth-dash {
    gap: 12px;
  }

  .wealth-hero {
    padding: 14px;
    border-radius: 24px;
  }

  .wealth-hero-top {
    display: grid;
  }

  .wealth-date {
    width: fit-content;
  }

  .wealth-metrics,
  .wealth-actions,
  .wealth-focus-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wealth-balance-card strong {
    font-size: 2.25rem;
  }

  .wealth-row {
    grid-template-columns: 30px 40px minmax(0, 1fr);
    padding: 10px;
  }

  .wealth-row > b {
    width: 30px;
    height: 30px;
  }

  .wealth-row-icon {
    width: 40px;
    height: 40px;
  }

  .wealth-row-value {
    display: grid;
  }
}

/* Final user button text visibility guard */
body:not(.admin-body) :where(
  .poster-primary-btn,
  .poster-secondary-btn,
  .poster-ref-copy-button,
  .poster-text-button,
  .poster-share-fields button,
  .poster-copy-list button,
  .poster-danger-icon,
  .poster-icon-button,
  .poster-dock-link,
  .poster-side-link,
  .poster-side-stack a,
  .zen-btn,
  .zen-btn-primary,
  .zen-text-btn,
  .zen-copy-btn,
  .zen-icon-danger,
  .reborn-ghost-btn,
  .rw-primary-btn,
  .rw-secondary-btn,
  .rw-danger-btn,
  .rw-copy-btn,
  .nova-dialog-btn,
  .registration-reward-card button
) {
  text-indent: 0 !important;
  letter-spacing: 0 !important;
  overflow: visible !important;
  white-space: normal !important;
}

body:not(.admin-body) :where(
  .poster-primary-btn,
  .poster-secondary-btn,
  .poster-ref-copy-button,
  .poster-text-button,
  .poster-share-fields button,
  .poster-copy-list button,
  .zen-btn,
  .zen-btn-primary,
  .zen-text-btn,
  .reborn-ghost-btn,
  .rw-primary-btn,
  .rw-secondary-btn,
  .rw-danger-btn,
  .nova-dialog-btn,
  .registration-reward-card button
) :where(span, strong, b, small, em) {
  display: inline-flex !important;
  align-items: center !important;
  min-width: 0 !important;
  max-width: 100% !important;
  width: auto !important;
  height: auto !important;
  opacity: 1 !important;
  visibility: visible !important;
  text-indent: 0 !important;
  overflow: visible !important;
  text-overflow: clip !important;
  white-space: normal !important;
  line-height: 1.15 !important;
}

body:not(.admin-body) :where(
  .poster-primary-btn,
  .poster-ref-copy-button,
  .poster-share-fields button,
  .zen-btn-primary,
  .rw-primary-btn,
  .rw-danger-btn,
  .nova-dialog-btn-primary,
  .registration-reward-card button
),
body:not(.admin-body) :where(
  .poster-primary-btn,
  .poster-ref-copy-button,
  .poster-share-fields button,
  .zen-btn-primary,
  .rw-primary-btn,
  .rw-danger-btn,
  .nova-dialog-btn-primary,
  .registration-reward-card button
) :where(span, strong, b, small, em, i) {
  color: #fff !important;
}

body:not(.admin-body) :where(
  .poster-secondary-btn,
  .poster-text-button,
  .zen-btn:not(.zen-btn-primary),
  .rw-secondary-btn,
  .reborn-ghost-btn,
  .nova-dialog-btn-ghost
),
body:not(.admin-body) :where(
  .poster-secondary-btn,
  .poster-text-button,
  .zen-btn:not(.zen-btn-primary),
  .rw-secondary-btn,
  .reborn-ghost-btn,
  .nova-dialog-btn-ghost
) :where(span, strong, b, small, em, i) {
  color: #c80020 !important;
}

body:not(.admin-body) :where(.poster-icon-button, .poster-dock-link, .zen-copy-btn, .rw-copy-btn) :where(span, strong, b, small, em) {
  display: inline-flex !important;
  opacity: 1 !important;
  visibility: visible !important;
}

@media (max-width: 640px) {
  body:not(.admin-body) :where(.poster-primary-btn, .poster-secondary-btn, .zen-btn, .reborn-ghost-btn, .rw-primary-btn, .rw-secondary-btn) {
    min-width: 0 !important;
    width: 100%;
  }
}

/* Final referral share override - keep after legacy zen rules */
.zen-referral-share.poster-ref-share {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: end !important;
  gap: 14px !important;
}

.zen-referral-share.poster-ref-share > div {
  min-width: 0 !important;
}

.zen-referral-share.poster-ref-share small {
  display: block !important;
  max-width: 100% !important;
  overflow-wrap: anywhere !important;
  white-space: normal !important;
}

.poster-ref-copy-button {
  min-width: 138px !important;
  min-height: 58px !important;
  padding: 0 20px !important;
  border: 0 !important;
  border-radius: 22px !important;
  color: #fff !important;
  background: #c80020 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 9px !important;
  font-family: var(--site-body-font) !important;
  font-size: 1rem !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  box-shadow: 0 16px 34px rgba(200,0,32,.20) !important;
}

.poster-ref-copy-button i,
.poster-ref-copy-button span {
  color: #fff !important;
  opacity: 1 !important;
  visibility: visible !important;
  display: inline-flex !important;
  white-space: nowrap !important;
}

.poster-share-modal {
  position: fixed !important;
  inset: 0 !important;
  z-index: 3000 !important;
  padding: 18px !important;
  background: rgba(8, 17, 32, .46) !important;
  backdrop-filter: blur(12px) !important;
  display: grid !important;
  place-items: center !important;
}

.poster-share-card {
  position: relative !important;
  width: min(460px, 100%) !important;
  max-height: min(760px, calc(100vh - 36px)) !important;
  overflow-y: auto !important;
  padding: 22px !important;
  border-radius: 30px !important;
  border: 1px solid rgba(24,38,64,.09) !important;
  background: #fff !important;
  box-shadow: 0 28px 90px rgba(8,17,32,.24) !important;
  display: grid !important;
  gap: 14px !important;
}

.poster-share-close {
  position: absolute !important;
  top: 14px !important;
  right: 14px !important;
  width: 40px !important;
  height: 40px !important;
  border: 0 !important;
  border-radius: 14px !important;
  color: #081120 !important;
  background: #f5f6f9 !important;
}

.poster-share-card h2 {
  margin: 0 !important;
  max-width: calc(100% - 52px) !important;
  color: #081120 !important;
  font-family: var(--site-title-font) !important;
  font-size: 1.8rem !important;
  line-height: 1 !important;
  font-weight: 900 !important;
}

.poster-share-qr {
  padding: 14px !important;
  border-radius: 24px !important;
  background: linear-gradient(135deg, rgba(200,0,32,.08), transparent 38%), #f7f8fb !important;
  display: grid !important;
  place-items: center !important;
  justify-items: center !important;
  align-items: center !important;
  overflow: hidden !important;
  width: 100% !important;
}

.poster-share-qr-wrap {
  overflow: hidden !important;
  padding: 14px !important;
  border-radius: 28px !important;
  background:
    radial-gradient(circle at 12% 18%, rgba(200,0,32,.12), transparent 24%),
    linear-gradient(180deg, #fff, #f8f9fb) !important;
  border: 1px solid rgba(24,38,64,.08) !important;
  display: grid !important;
  gap: 12px !important;
}

.poster-share-qr-brand {
  min-height: 58px !important;
  padding: 10px 12px !important;
  border-radius: 20px !important;
  color: #fff !important;
  background: linear-gradient(135deg, #ad0018, #df0028) !important;
  display: grid !important;
  gap: 2px !important;
  text-align: center !important;
}

.poster-share-qr-brand span,
.poster-share-qr-brand small {
  color: #fff !important;
  display: block !important;
}

.poster-share-qr-brand span {
  font-family: var(--site-title-font) !important;
  font-size: 1.25rem !important;
  font-weight: 900 !important;
  letter-spacing: .04em !important;
}

.poster-share-qr-brand small {
  opacity: .78 !important;
  font-weight: 800 !important;
}

.poster-share-qr img {
  width: min(260px, 100%) !important;
  aspect-ratio: 1 !important;
  padding: 12px !important;
  border-radius: 20px !important;
  background: #fff !important;
  box-shadow: 0 16px 36px rgba(14,23,42,.08) !important;
}

.poster-share-qr svg {
  width: min(250px, 100%) !important;
  max-width: 100% !important;
  height: auto !important;
  display: block !important;
  margin: 0 auto !important;
  padding: 12px !important;
  border-radius: 22px !important;
  background: #fff !important;
  box-shadow: 0 16px 36px rgba(14,23,42,.08) !important;
}

.poster-share-qr canvas {
  width: min(250px, 100%) !important;
  max-width: 100% !important;
  height: auto !important;
  display: block !important;
  margin: 0 auto !important;
  padding: 12px !important;
  border-radius: 22px !important;
  background: #fff !important;
  box-shadow: 0 16px 36px rgba(14,23,42,.08) !important;
}

.poster-share-qr > * {
  justify-self: center !important;
  align-self: center !important;
  transform: none !important;
}

@media (max-width: 640px) {
  .poster-share-card {
    width: min(420px, calc(100vw - 32px)) !important;
    padding: 18px !important;
  }

  .poster-share-qr-wrap {
    padding: 10px !important;
  }

  .poster-share-qr {
    padding: 10px !important;
  }

  .poster-share-qr svg,
  .poster-share-qr canvas,
  .poster-share-qr img {
    width: min(230px, 100%) !important;
  }
}

.poster-share-fields {
  display: grid !important;
  gap: 10px !important;
}

.poster-share-fields article {
  min-width: 0 !important;
  padding: 14px !important;
  border: 1px solid rgba(24,38,64,.09) !important;
  border-radius: 20px !important;
  background: #fff !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 8px 12px !important;
  align-items: center !important;
}

.poster-share-fields span,
.poster-share-fields strong {
  display: block !important;
  min-width: 0 !important;
  grid-column: 1 !important;
}

.poster-share-fields span {
  color: #7b8aa4 !important;
  font-size: .78rem !important;
  font-weight: 900 !important;
}

.poster-share-fields strong {
  color: #081120 !important;
  font-size: .95rem !important;
  font-weight: 900 !important;
  overflow-wrap: anywhere !important;
}

.poster-share-fields button {
  grid-column: 2 !important;
  grid-row: 1 / span 2 !important;
  min-height: 42px !important;
  padding: 0 12px !important;
  border: 0 !important;
  border-radius: 15px !important;
  color: #fff !important;
  background: #c80020 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  font-weight: 900 !important;
}

.poster-share-copied {
  min-height: 42px !important;
  padding: 0 12px !important;
  border-radius: 16px !important;
  color: #1f8f67 !important;
  background: rgba(31,143,103,.10) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-weight: 900 !important;
}

@media (max-width: 640px) {
  .zen-referral-share.poster-ref-share {
    grid-template-columns: 1fr !important;
  }

  .poster-ref-copy-button {
    width: 100% !important;
  }
}

/* Compact premium mobile shell pass */
@media (max-width: 640px) {
  .poster-app-shell {
    padding: 8px 8px 92px !important;
    gap: 12px !important;
  }

  .poster-app-stage {
    gap: 12px !important;
  }

  .poster-app-topbar {
    min-height: 74px !important;
    padding: 10px !important;
    border-radius: 22px !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 8px !important;
  }

  .poster-topbar-main {
    min-width: 0 !important;
    display: grid !important;
    grid-template-columns: 44px minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 10px !important;
  }

  .poster-topbar-copy {
    min-width: 0 !important;
    gap: 0 !important;
  }

  .poster-topbar-copy span {
    color: #c80020 !important;
    font-family: var(--site-body-font) !important;
    font-size: .68rem !important;
    line-height: 1 !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
  }

  .poster-topbar-copy strong {
    font-family: var(--site-body-font) !important;
    font-size: 1rem !important;
    line-height: 1.12 !important;
    font-weight: 900 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 1 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }

  .poster-topbar-copy small {
    display: none !important;
  }

  .poster-topbar-actions {
    min-width: 0 !important;
    display: flex !important;
    justify-content: flex-end !important;
    gap: 6px !important;
  }

  .poster-topbar-actions .poster-icon-button:nth-child(3) {
    display: none !important;
  }

  .poster-icon-button,
  .poster-avatar-button {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    border-radius: 16px !important;
    font-size: 1rem !important;
  }

  .poster-mobile-dock {
    bottom: 8px !important;
    width: calc(100% - 18px) !important;
    min-height: 66px !important;
    padding: 6px !important;
    border-radius: 22px !important;
    gap: 4px !important;
  }

  .poster-dock-link {
    border-radius: 17px !important;
    gap: 2px !important;
    font-family: var(--site-body-font) !important;
    font-size: .62rem !important;
    line-height: 1 !important;
  }

  .poster-dock-link i {
    font-size: 1.05rem !important;
  }

.poster-dock-link.active {
  box-shadow: 0 10px 22px rgba(200,0,32,.20) !important;
  }
}

.poster-ref-share {
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: end !important;
}

.poster-ref-copy-button {
  min-width: 132px;
  min-height: 56px;
  padding: 0 18px;
  border: 0;
  border-radius: 22px;
  color: #fff;
  background: #c80020;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--site-body-font);
  font-size: .96rem;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 16px 34px rgba(200,0,32,.20);
}

.poster-ref-copy-button span {
  color: #fff !important;
  white-space: nowrap;
}

.poster-share-modal {
  position: fixed;
  inset: 0;
  z-index: 1800;
  padding: 18px;
  background: rgba(8, 17, 32, .42);
  backdrop-filter: blur(12px);
  display: grid;
  place-items: center;
}

.poster-share-card {
  position: relative;
  width: min(460px, 100%);
  max-height: min(760px, calc(100vh - 36px));
  overflow-y: auto;
  padding: 22px;
  border-radius: 30px;
  border: 1px solid rgba(24,38,64,.09);
  background: #fff;
  box-shadow: 0 28px 90px rgba(8,17,32,.24);
  display: grid;
  gap: 14px;
}

.poster-share-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 14px;
  color: #081120;
  background: #f5f6f9;
}

.poster-share-card h2 {
  margin: 0;
  max-width: calc(100% - 52px);
  color: #081120;
  font-family: var(--site-title-font);
  font-size: 1.8rem;
  line-height: 1;
  font-weight: 900;
}

.poster-share-qr {
  padding: 14px;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(200,0,32,.08), transparent 38%),
    #f7f8fb;
  display: grid;
  place-items: center;
}

.poster-share-qr img {
  width: min(260px, 100%);
  aspect-ratio: 1;
  padding: 12px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 16px 36px rgba(14,23,42,.08);
}

.poster-share-fields {
  display: grid;
  gap: 10px;
}

.poster-share-fields article {
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(24,38,64,.09);
  border-radius: 20px;
  background: #fff;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 12px;
  align-items: center;
}

.poster-share-fields span,
.poster-share-fields strong {
  display: block;
  min-width: 0;
  grid-column: 1;
}

.poster-share-fields span {
  color: #7b8aa4;
  font-size: .78rem;
  font-weight: 900;
}

.poster-share-fields strong {
  color: #081120;
  font-size: .95rem;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.poster-share-fields button {
  grid-column: 2;
  grid-row: 1 / span 2;
  min-height: 42px;
  padding: 0 12px;
  border: 0;
  border-radius: 15px;
  color: #fff;
  background: #c80020;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 900;
}

.poster-share-copied {
  min-height: 42px;
  padding: 0 12px;
  border-radius: 16px;
  color: #1f8f67;
  background: rgba(31,143,103,.10);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
}

@media (max-width: 640px) {
  .poster-ref-share {
    grid-template-columns: 1fr !important;
  }

  .poster-ref-copy-button {
    width: 100%;
  }
}

@media (max-width: 380px) {
  .poster-topbar-actions .poster-icon-button:nth-child(2) {
    display: none !important;
  }

  .poster-app-topbar {
    grid-template-columns: minmax(0, 1fr) auto !important;
  }
}

.poster-flow {
  display: grid;
  gap: 18px;
  color: #081120;
}

.poster-hero,
.poster-board,
.poster-metric-ribbon article,
.poster-alert-strip {
  border: 1px solid rgba(24, 38, 64, .09);
  background: #fff;
  box-shadow: 0 20px 58px rgba(14, 23, 42, .08);
}

.poster-hero {
  position: relative;
  overflow: hidden;
  min-height: 190px;
  padding: 24px;
  border-radius: 32px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, .34fr);
  align-items: stretch;
  gap: 18px;
}

.poster-hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, #c80020 0 24%, #f4b400 24% 42%, #1f8f67 42% 60%, #1357dd 60% 78%, #101828 78%);
}

.poster-hero-red {
  background:
    radial-gradient(circle at 86% 12%, rgba(200,0,32,.14), transparent 30%),
    #fff;
}

.poster-hero-copy {
  min-width: 0;
  display: grid;
  align-content: center;
  gap: 10px;
}

.poster-kicker {
  color: #c80020;
  font-size: .76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.poster-hero h1,
.poster-board h2 {
  margin: 0;
  color: #081120;
  font-family: var(--site-title-font);
  font-weight: 900;
  letter-spacing: 0;
}

.poster-hero h1 {
  font-size: clamp(2.6rem, 9vw, 4.8rem);
  line-height: .88;
}

.poster-hero p {
  max-width: 620px;
  margin: 0;
  color: #7b8aa4;
  font-size: 1.02rem;
  line-height: 1.58;
  overflow-wrap: anywhere;
}

.poster-hero-amount {
  min-width: 0;
  padding: 18px;
  border-radius: 24px;
  color: #fff;
  background: linear-gradient(180deg, #ad0018, #d90025);
  display: grid;
  align-content: center;
  gap: 6px;
  box-shadow: 0 18px 44px rgba(200,0,32,.20);
}

.poster-hero-amount small,
.poster-hero-amount span {
  color: rgba(255,255,255,.78);
  font-weight: 800;
}

.poster-hero-amount strong {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: clamp(1.8rem, 6vw, 3rem);
  line-height: 1;
  overflow-wrap: anywhere;
}

.poster-alert-strip {
  padding: 14px 16px;
  border-radius: 22px;
  display: flex;
  gap: 10px;
  align-items: center;
  color: #8a0012;
  background: #fff7f7;
  font-weight: 800;
}

.poster-metric-ribbon {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.poster-metric-ribbon article {
  min-width: 0;
  padding: 18px;
  border-radius: 26px;
  display: grid;
  gap: 5px;
}

.poster-metric-ribbon span,
.poster-metric-ribbon small,
.poster-fee-grid span,
.poster-fee-grid small {
  color: #7b8aa4;
  font-weight: 800;
}

.poster-metric-ribbon strong,
.poster-fee-grid strong {
  color: #081120;
  font-size: 1.35rem;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.poster-board {
  padding: 22px;
  border-radius: 32px;
  display: grid;
  gap: 18px;
}

.poster-board-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.poster-board h2 {
  margin-top: 5px;
  font-size: clamp(1.8rem, 6vw, 3rem);
  line-height: .96;
}

.poster-link {
  color: #c80020;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.poster-form-card {
  display: grid;
  gap: 16px;
}

.poster-field {
  display: grid;
  gap: 9px;
  min-width: 0;
}

.poster-label {
  color: #7b8aa4;
  font-weight: 900;
}

.poster-input {
  min-height: 62px !important;
  padding: 0 16px !important;
  border: 1px solid rgba(24,38,64,.10) !important;
  border-radius: 22px !important;
  background: #fff !important;
  color: #081120 !important;
  box-shadow: 0 14px 34px rgba(14,23,42,.06) !important;
}

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

.poster-fee-grid article {
  padding: 18px;
  border: 1px solid rgba(24,38,64,.09);
  border-radius: 24px;
  background: #f9fafc;
  display: grid;
  gap: 5px;
}

.poster-fee-grid article.is-red {
  color: #fff;
  border: 0;
  background: #c80020;
}

.poster-fee-grid article.is-red span,
.poster-fee-grid article.is-red strong,
.poster-fee-grid article.is-red small {
  color: #fff;
}

.poster-primary-btn {
  min-height: 58px;
  padding: 0 18px;
  border: 0;
  border-radius: 20px;
  background: #c80020;
  color: #fff !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  text-decoration: none;
  font-weight: 900;
  box-shadow: 0 16px 34px rgba(200,0,32,.20);
}

.poster-note,
.poster-muted {
  margin: 0;
  color: #7b8aa4;
  line-height: 1.5;
}

.poster-empty-state {
  padding: 18px;
  border: 1px dashed rgba(200,0,32,.24);
  border-radius: 24px;
  background: rgba(200,0,32,.04);
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.poster-empty-state i {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: #fff;
  background: #c80020;
}

.poster-empty-state strong,
.poster-empty-state span {
  display: block;
}

.poster-empty-state strong {
  color: #081120;
}

.poster-empty-state span {
  color: #7b8aa4;
}

.poster-ledger {
  display: grid;
  gap: 12px;
}

.poster-ledger-row,
.poster-bank-row,
.poster-checklist article {
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(24,38,64,.08);
  border-radius: 22px;
  background: #fff;
  display: grid;
  align-items: center;
  gap: 12px;
  box-shadow: 0 12px 32px rgba(14,23,42,.05);
}

.poster-ledger-row {
  grid-template-columns: 40px minmax(0, 1fr) auto;
}

.poster-ledger-rank,
.poster-checklist b {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #c80020;
  background: rgba(200,0,32,.08);
  font-weight: 900;
}

.poster-ledger-copy {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.poster-ledger-copy strong,
.poster-ledger-copy span,
.poster-ledger-copy small {
  display: block;
  overflow-wrap: anywhere;
}

.poster-ledger-copy strong {
  color: #081120;
  font-weight: 900;
}

.poster-ledger-copy span,
.poster-ledger-copy small {
  color: #7b8aa4;
}

.poster-status {
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(19,87,221,.08);
  color: #1357dd;
  font-size: .78rem;
}

.poster-status.is-success {
  background: rgba(31,143,103,.10);
  color: #1f8f67;
}

.poster-status.is-danger {
  background: rgba(200,0,32,.09);
  color: #c80020;
}

.poster-bank-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr);
  gap: 18px;
}

.poster-checklist article {
  grid-template-columns: 40px minmax(0, 1fr);
}

.poster-checklist strong,
.poster-checklist span {
  display: block;
}

.poster-checklist strong {
  color: #081120;
}

.poster-checklist span {
  color: #7b8aa4;
}

.poster-bank-row {
  grid-template-columns: 54px minmax(0, 1fr) auto;
}

.poster-bank-logo {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  border: 1px solid rgba(24,38,64,.08);
  background: #f9fafc;
  display: grid;
  place-items: center;
}

.poster-bank-logo img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.poster-danger-icon {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 14px;
  color: #c80020;
  background: rgba(200,0,32,.08);
}

.bank-card-limit {
  min-width: 54px;
  height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(19,87,221,.09);
  color: #1357dd;
  display: inline-grid;
  place-items: center;
  font-size: .82rem;
  font-weight: 900;
}

.bank-card-limit.is-full {
  background: rgba(200,0,32,.10);
  color: #c80020;
}

.poster-form-card.is-disabled {
  opacity: .78;
}

.poster-form-card.is-disabled .nova-custom-select-trigger,
.poster-form-card.is-disabled .poster-input,
.poster-form-card.is-disabled .poster-primary-btn {
  pointer-events: none;
}

.bank-limit-note {
  padding: 14px;
  border: 1px solid rgba(200,0,32,.13);
  border-radius: 22px;
  background: rgba(200,0,32,.06);
  color: #081120;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.bank-limit-note i {
  width: 42px;
  height: 42px;
  border-radius: 16px;
  color: #fff;
  background: #c80020;
  display: grid;
  place-items: center;
}

.bank-limit-note strong,
.bank-limit-note span {
  display: block;
  overflow-wrap: anywhere;
}

.bank-limit-note span {
  margin-top: 2px;
  color: #7b8aa4;
  line-height: 1.4;
}

.bank-card-board {
  overflow: hidden;
}

.bank-card-wallet {
  position: relative;
  overflow: hidden;
  margin-top: 4px;
  padding: 20px;
  min-height: 390px;
  border-radius: 30px;
  color: #fff;
  background:
    radial-gradient(circle at 18% 8%, rgba(255, 255, 255, .10), transparent 28%),
    radial-gradient(circle at 88% 14%, rgba(200, 0, 32, .25), transparent 28%),
    linear-gradient(145deg, #081120 0%, #101827 48%, #060914 100%);
  box-shadow: 0 26px 70px rgba(8, 17, 32, .18);
}

.bank-card-wallet-head {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.bank-card-wallet-head span,
.bank-card-wallet-head strong {
  display: block;
}

.bank-card-wallet-head span {
  color: rgba(255,255,255,.62);
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.bank-card-wallet-head strong {
  margin-top: 4px;
  color: #fff;
  font-size: 1.3rem;
  font-weight: 900;
}

.bank-card-wallet-head > i {
  width: 44px;
  height: 44px;
  border-radius: 17px;
  color: #081120;
  background: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 14px 30px rgba(0,0,0,.18);
}

.bank-card-stack {
  position: relative;
  min-height: 280px;
  margin-top: 22px;
  touch-action: pan-y;
  user-select: none;
}

.bank-card-stack.is-empty {
  min-height: 130px;
  display: grid;
  place-items: center;
}

.bank-card-stack.is-empty .poster-empty-state {
  width: 100%;
  color: #081120;
  background: rgba(255,255,255,.92);
}

.bank-saved-card {
  position: absolute;
  left: 50%;
  width: min(100%, 330px);
  min-height: 178px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 24px;
  overflow: hidden;
  transform: translateX(-50%);
  display: grid;
  align-content: space-between;
  gap: 16px;
  box-shadow: 0 24px 50px rgba(0,0,0,.24);
  cursor: pointer;
  transition: transform .28s ease, top .28s ease, width .28s ease, opacity .28s ease, filter .28s ease;
  will-change: transform;
}

.bank-saved-card.card-tone-1 {
  background:
    radial-gradient(circle at 18% 14%, rgba(255,255,255,.22), transparent 24%),
    linear-gradient(135deg, #c80020, #8f0018 54%, #081120);
}

.bank-saved-card.card-tone-2 {
  background:
    radial-gradient(circle at 20% 16%, rgba(255,255,255,.20), transparent 24%),
    linear-gradient(135deg, #fff3c4, #d9a92f 46%, #a30821);
}

.bank-saved-card.card-tone-3 {
  background:
    radial-gradient(circle at 18% 14%, rgba(255,255,255,.18), transparent 24%),
    linear-gradient(135deg, #1a2941, #101827 48%, #c80020);
}

.bank-saved-card[data-order="0"] {
  top: 58px;
  z-index: 5;
  width: min(100%, 330px);
  opacity: 1;
  filter: none;
  transform: translateX(-50%) scale(1);
}

.bank-saved-card[data-order="1"] {
  top: 28px;
  z-index: 4;
  width: min(94%, 314px);
  opacity: .98;
  filter: saturate(.92);
  transform: translateX(-50%) scale(.985);
}

.bank-saved-card[data-order="2"] {
  top: 0;
  z-index: 3;
  width: min(88%, 298px);
  opacity: .92;
  filter: saturate(.84);
  transform: translateX(-50%) scale(.965);
}

.bank-card-stack.is-dragging .bank-saved-card {
  transition-duration: .12s;
}

.bank-card-glow {
  position: absolute;
  inset: -40% auto auto -20%;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(255,255,255,.18);
  filter: blur(18px);
}

.bank-card-top,
.bank-card-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.bank-card-chip {
  width: 42px;
  height: 42px;
  border-radius: 16px;
  background: rgba(255,255,255,.88);
  display: grid;
  place-items: center;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
}

.bank-card-chip img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.bank-card-chip i {
  color: #0d5bb8;
}

.bank-card-top span,
.bank-card-bottom span,
.bank-card-main small {
  color: rgba(255,255,255,.82);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.bank-card-main {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 5px;
}

.bank-card-main strong {
  color: #fff;
  font-size: 1.12rem;
  font-weight: 900;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.bank-card-delete {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 14px;
  color: #fff;
  background: rgba(8,17,32,.22);
  display: grid;
  place-items: center;
}

.poster-count-pill {
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  color: #c80020;
  background: rgba(200,0,32,.08);
  font-size: .82rem;
  font-weight: 900;
}

.poster-product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.poster-product-card {
  position: relative;
  overflow: hidden;
  min-width: 0;
  border: 1px solid rgba(24,38,64,.09);
  border-radius: 30px;
  background: #fff;
  color: #081120;
  text-decoration: none;
  display: grid;
  grid-template-columns: minmax(140px, .42fr) minmax(0, 1fr);
  box-shadow: 0 20px 58px rgba(14,23,42,.08);
}

.poster-product-rank {
  position: absolute;
  z-index: 2;
  top: 14px;
  left: 14px;
  width: 42px;
  height: 42px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  color: #fff;
  background: #c80020;
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(200,0,32,.20);
}

.poster-product-cover,
.poster-detail-media {
  min-height: 220px;
  background:
    linear-gradient(135deg, rgba(200,0,32,.10), transparent 38%),
    #f6f7fa;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.poster-product-cover img,
.poster-detail-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.poster-product-cover i,
.poster-detail-media i {
  color: #c80020;
  font-size: 2.5rem;
}

.poster-product-body {
  min-width: 0;
  padding: 18px;
  display: grid;
  gap: 12px;
}

.poster-product-body em {
  width: fit-content;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  color: #c80020;
  background: rgba(200,0,32,.08);
  display: inline-flex;
  align-items: center;
  font-style: normal;
  font-size: .76rem;
  font-weight: 900;
}

.poster-product-body em.is-warning {
  color: #9a6400;
  background: rgba(244,180,0,.16);
}

.poster-product-body h3 {
  margin: 0;
  color: #081120;
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.poster-product-body p {
  margin: 0;
  color: #7b8aa4;
  line-height: 1.48;
  overflow-wrap: anywhere;
}

.poster-product-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.poster-product-stats article {
  min-width: 0;
  padding: 10px;
  border-radius: 16px;
  background: #f8f9fb;
}

.poster-product-stats span,
.poster-product-stats strong {
  display: block;
}

.poster-product-stats span {
  color: #7b8aa4;
  font-size: .72rem;
  font-weight: 800;
}

.poster-product-stats strong {
  margin-top: 4px;
  color: #081120;
  font-size: .86rem;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.poster-product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.poster-product-footer strong {
  color: #c80020;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.poster-product-footer b {
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  color: #fff;
  background: #c80020;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.poster-detail-layout {
  display: grid;
  grid-template-columns: minmax(260px, .85fr) minmax(0, 1.15fr);
  gap: 18px;
}

.poster-detail-media {
  border: 1px solid rgba(24,38,64,.09);
  border-radius: 32px;
  box-shadow: 0 20px 58px rgba(14,23,42,.08);
}

.poster-action-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.poster-secondary-btn {
  min-height: 58px;
  padding: 0 18px;
  border: 1px solid rgba(24,38,64,.10);
  border-radius: 20px;
  background: #fff;
  color: #081120 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  text-decoration: none;
  font-weight: 900;
  box-shadow: 0 14px 34px rgba(14,23,42,.06);
}

.poster-copy-list {
  display: grid;
  gap: 10px;
}

.poster-copy-list article {
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(24,38,64,.08);
  border-radius: 20px;
  background: #f9fafc;
  display: grid;
  grid-template-columns: minmax(92px, .28fr) minmax(0, 1fr) 42px;
  align-items: center;
  gap: 12px;
}

.poster-copy-list span {
  color: #7b8aa4;
  font-weight: 800;
}

.poster-copy-list strong {
  color: #081120;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.poster-copy-list button {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 14px;
  color: #c80020;
  background: rgba(200,0,32,.08);
}

.poster-qr-box {
  display: grid;
  justify-items: center;
  gap: 16px;
}

.poster-qr-box img {
  width: min(100%, 340px);
  padding: 18px;
  border: 1px solid rgba(24,38,64,.09);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 16px 44px rgba(14,23,42,.08);
}

.poster-auth {
  min-height: calc(100vh - 170px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
  gap: 20px;
  align-items: stretch;
}

.poster-auth-brand,
.poster-auth-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(24,38,64,.09);
  border-radius: 34px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(14,23,42,.09);
}

.poster-auth-brand {
  min-height: 560px;
  padding: 34px;
  display: grid;
  align-content: end;
  gap: 16px;
  background:
    radial-gradient(circle at 18% 16%, rgba(200,0,32,.14), transparent 24%),
    radial-gradient(circle at 88% 6%, rgba(19,87,221,.10), transparent 26%),
    linear-gradient(180deg, #fff, #f7f8fb);
}

.poster-auth-brand::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  background: linear-gradient(90deg, #c80020 0 24%, #f4b400 24% 42%, #1f8f67 42% 60%, #1357dd 60% 78%, #101828 78%);
}

.poster-auth-brand::after {
  content: "";
  position: absolute;
  right: -70px;
  top: 70px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 44px solid rgba(200,0,32,.08);
}

.poster-auth-brand h1 {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: 720px;
  color: #081120;
  font-family: var(--site-title-font);
  font-size: clamp(3rem, 8vw, 5.4rem);
  line-height: .86;
  font-weight: 900;
  letter-spacing: 0;
}

.poster-auth-brand p {
  position: relative;
  z-index: 1;
  max-width: 620px;
  margin: 0;
  color: #7b8aa4;
  font-size: 1.05rem;
  line-height: 1.62;
}

.poster-auth-badges {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.poster-auth-badges span {
  min-height: 38px;
  padding: 0 12px;
  border-radius: 999px;
  color: #081120;
  background: #fff;
  border: 1px solid rgba(24,38,64,.09);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(14,23,42,.06);
}

.poster-auth-badges i {
  color: #c80020;
}

.poster-auth-card {
  padding: 28px;
  display: grid;
  align-content: center;
  gap: 18px;
}

.poster-auth-icon {
  width: 58px;
  height: 58px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  color: #fff;
  background: #c80020;
  box-shadow: 0 16px 34px rgba(200,0,32,.20);
}

.poster-auth-head {
  display: grid;
  gap: 7px;
}

.poster-auth-head h2 {
  margin: 0;
  color: #081120;
  font-family: var(--site-title-font);
  font-size: clamp(2rem, 6vw, 3rem);
  line-height: .96;
  font-weight: 900;
}

.poster-auth-head p {
  margin: 0;
  color: #7b8aa4;
  line-height: 1.55;
}

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

.poster-auth-telegram {
  padding: 14px;
  border: 1px solid rgba(200,0,32,.12);
  border-radius: 24px;
  background: rgba(200,0,32,.04);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}

.poster-auth-telegram strong,
.poster-auth-telegram span {
  display: block;
}

.poster-auth-telegram strong {
  color: #081120;
  font-weight: 900;
}

.poster-auth-telegram span {
  color: #7b8aa4;
  line-height: 1.4;
}

.poster-auth-switch {
  color: #7b8aa4;
  text-align: center;
  font-weight: 800;
}

.poster-auth-switch a {
  color: #c80020;
  text-decoration: none;
  font-weight: 900;
}

.poster-captcha-row,
.poster-phone-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}

.poster-captcha-row > strong,
.poster-phone-row > span {
  min-height: 62px;
  padding: 0 16px;
  border-radius: 22px;
  color: #c80020;
  background: rgba(200,0,32,.08);
  display: inline-flex;
  align-items: center;
  font-weight: 900;
}

.poster-captcha-widget {
  display: grid;
  grid-template-columns: minmax(150px, .42fr) minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
}

.poster-captcha-art {
  position: relative;
  overflow: hidden;
  min-height: 86px;
  padding: 14px;
  border: 1px solid rgba(200,0,32,.14);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(200,0,32,.11), transparent 34%),
    repeating-linear-gradient(-18deg, rgba(8,17,32,.055) 0 1px, transparent 1px 9px),
    #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.8), 0 14px 34px rgba(14,23,42,.06);
}

.poster-captcha-art::before,
.poster-captcha-art::after {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  height: 2px;
  border-radius: 999px;
  background: rgba(200,0,32,.28);
  transform: rotate(-8deg);
}

.poster-captcha-art::before {
  top: 34%;
}

.poster-captcha-art::after {
  bottom: 31%;
  transform: rotate(7deg);
  background: rgba(19,87,221,.22);
}

.poster-captcha-noise {
  position: absolute;
  inset: -18px;
  opacity: .28;
  background:
    radial-gradient(circle at 12% 22%, #c80020 0 2px, transparent 2px),
    radial-gradient(circle at 72% 18%, #1357dd 0 2px, transparent 2px),
    radial-gradient(circle at 40% 74%, #f4b400 0 2px, transparent 2px),
    radial-gradient(circle at 86% 70%, #1f8f67 0 2px, transparent 2px);
  background-size: 42px 42px;
  pointer-events: none;
}

.poster-captcha-art b {
  position: relative;
  z-index: 1;
  min-width: 30px;
  height: 42px;
  border-radius: 14px;
  color: #081120;
  background: rgba(255,255,255,.82);
  display: grid;
  place-items: center;
  font-family: var(--site-title-font);
  font-size: 1.35rem;
  font-weight: 900;
  box-shadow: 0 10px 20px rgba(14,23,42,.08);
}

.poster-captcha-art b:nth-of-type(2n) {
  color: #c80020;
  transform: translateY(3px) rotate(4deg);
}

.poster-captcha-art b:nth-of-type(3n) {
  color: #1357dd;
  transform: translateY(-2px) rotate(-5deg);
}

.poster-captcha-input {
  min-width: 0;
  display: grid;
  gap: 8px;
}

.poster-captcha-input small {
  color: #7b8aa4;
  font-weight: 800;
  line-height: 1.35;
}

.poster-auth-steps {
  display: grid;
  gap: 10px;
}

.poster-auth-steps article {
  padding: 14px;
  border: 1px solid rgba(24,38,64,.08);
  border-radius: 22px;
  background: #f9fafc;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.poster-auth-steps b {
  width: 42px;
  height: 42px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  color: #fff;
  background: #c80020;
}

.poster-auth-steps strong,
.poster-auth-steps span {
  display: block;
}

.poster-auth-steps strong {
  color: #081120;
  font-weight: 900;
}

.poster-auth-steps span {
  color: #7b8aa4;
}

@media (max-width: 760px) {
  .poster-hero,
  .poster-bank-grid {
    grid-template-columns: 1fr;
  }

  .poster-metric-ribbon,
  .poster-fee-grid {
    grid-template-columns: 1fr;
  }

  .poster-board,
  .poster-hero {
    padding: 18px;
    border-radius: 26px;
  }

  .poster-board-head {
    display: grid;
  }

  .poster-link {
    white-space: normal;
  }

  .poster-ledger-row,
  .poster-bank-row {
    grid-template-columns: 40px minmax(0, 1fr);
  }

  .poster-status,
  .poster-bank-row form {
    grid-column: 2;
    justify-self: start;
  }

  .bank-card-wallet {
    padding: 16px;
    min-height: 370px;
    border-radius: 26px;
  }

  .bank-card-stack {
    min-height: 266px;
  }

  .bank-saved-card {
    width: min(100%, 306px);
    min-height: 168px;
    padding: 16px;
    border-radius: 22px;
  }

  .bank-saved-card[data-order="0"] {
    width: min(100%, 306px);
  }

  .bank-saved-card[data-order="1"] {
    width: min(94%, 292px);
  }

  .bank-saved-card[data-order="2"] {
    width: min(88%, 278px);
  }

  .poster-product-grid,
  .poster-product-card,
  .poster-detail-layout,
  .poster-action-stack {
    grid-template-columns: 1fr;
  }

  .poster-product-cover,
  .poster-detail-media {
    min-height: 190px;
  }

  .poster-product-stats,
  .poster-copy-list article {
    grid-template-columns: 1fr;
  }

  .poster-copy-list button {
    justify-self: start;
  }

  .poster-auth {
    grid-template-columns: 1fr;
  }

  .poster-auth-brand {
    min-height: 320px;
    padding: 24px;
    border-radius: 28px;
  }

  .poster-auth-card {
    padding: 22px;
    border-radius: 28px;
  }

  .poster-auth-telegram,
  .poster-captcha-row,
  .poster-captcha-widget,
  .poster-phone-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .app-topbar { flex-direction: column; align-items: stretch; }
  .app-topbar-actions { width: 100%; justify-content: space-between; }

  .reborn-shortcuts,
  .reborn-wallet-actions,
  .reborn-plan-list,
  .reborn-history-tabs,
  .reborn-level-tabs,
  .reborn-product-card,
  .reborn-hero-grid,
  .reborn-wallet-grid,
  .reborn-ref-grid,
  .rw-kpi-grid,
  .reborn-rate-row,
  .rw-withdraw-history-meta,
  .rw-bank-history-meta,
  .reborn-member-stats,
  .nova-app-dialog-actions,
  .reborn-home-trust,
  .reborn-home-actions,
  .reborn-home-kpis,
  .reborn-post-grid,
  .reborn-post-feature {
    grid-template-columns: 1fr;
  }

  .reborn-banner,
  .reborn-task-item,
  .reborn-holding-card,
  .reborn-ledger-item,
  .reborn-gift-item,
  .reborn-history-item,
  .reborn-transaction-cta,
  .reborn-profile-link,
  .reborn-agent-list article,
  .reborn-member-card,
  .rw-empty-inline,
  .rw-bank-history article,
  .rw-withdraw-history article,
  .reborn-transaction-topline,
  .rw-balance-head,
  .rw-bank-history-head,
  .rw-withdraw-history-head,
  .reborn-member-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .app-bottom-nav.premium-bottom-nav {
    width: calc(100% - 16px);
    bottom: 8px;
    padding: 8px;
    gap: 6px;
  }
}

.zen-shell {
  width: min(100%, 600px);
  margin: 0 auto;
  padding: 14px 14px 96px;
}

.zen-stage,
.zen-content,
.zen-auth-page {
  display: grid;
  gap: 18px;
}

.zen-topbar {
  position: sticky;
  top: 10px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
  border-radius: 26px;
  border: 1px solid rgba(255,255,255,.72);
  background: rgba(255,255,255,.86);
  box-shadow: 0 14px 30px rgba(18, 38, 63, 0.08);
  backdrop-filter: blur(18px);
}

.zen-topbar-main,
.zen-topbar-actions,
.zen-brand,
.zen-brand-copy {
  display: flex;
}

.zen-topbar-main {
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1 1 auto;
}

.zen-topbar-copy {
  min-width: 0;
  flex: 1 1 auto;
}

.zen-topbar-copy span,
.zen-topbar-copy small,
.zen-brand-copy small {
  display: block;
  color: var(--ui-text-soft);
  font-size: .74rem;
  line-height: 1.4;
}

.zen-topbar-copy strong,
.zen-brand-copy strong {
  display: block;
  color: var(--ui-title);
  font-family: var(--site-title-font);
  font-size: clamp(1.18rem, 3.8vw, 1.5rem);
  line-height: 1.12;
}

.zen-topbar-actions {
  align-items: center;
  gap: 8px;
}

.zen-brand {
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 0;
  flex: 1 1 auto;
}

.zen-brand-mark,
.zen-avatar-btn,
.zen-icon-btn {
  width: 46px;
  height: 46px;
  min-width: 46px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  border: 1px solid var(--ui-line);
  background: linear-gradient(180deg, #fff, #f5f8fb);
}

.zen-brand-mark { overflow: hidden; }
.zen-brand-mark img,
.zen-avatar-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.zen-avatar-btn {
  overflow: hidden;
  text-decoration: none;
  color: var(--ui-title);
  font-weight: 800;
}

.zen-icon-btn,
.zen-text-btn {
  color: var(--ui-title);
  text-decoration: none;
}

.zen-text-btn {
  min-height: 44px;
  padding: 0 14px;
  border-radius: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  border: 1px solid var(--ui-line);
  background: linear-gradient(180deg, #fff, #f5f8fb);
}

.zen-text-btn.is-primary,
.zen-btn-primary {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--ui-primary), var(--ui-primary-2));
  box-shadow: 0 14px 30px rgba(15, 118, 110, 0.18);
}

.zen-dock {
  position: fixed;
  left: 50%;
  bottom: 10px;
  z-index: 40;
  transform: translateX(-50%);
  width: min(calc(100% - 18px), 542px);
  padding: 10px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.72);
  background: rgba(255,255,255,.9);
  box-shadow: 0 20px 48px rgba(18, 38, 63, 0.14);
  backdrop-filter: blur(20px);
}

.zen-dock-link {
  min-width: 0;
  padding: 10px 4px;
  border-radius: 14px;
  display: grid;
  justify-items: center;
  gap: 6px;
  text-decoration: none;
  color: var(--ui-text-soft);
}

.zen-dock-link i { font-size: 1rem; }
.zen-dock-link span { text-align: center; font-size: .71rem; line-height: 1.2; font-weight: 700; }
.zen-dock-link.active { color: var(--ui-primary); background: var(--ui-primary-soft); }

.zen-hero-card,
.zen-panel,
.zen-subpanel {
  padding: 18px;
  border-radius: 24px;
  border: 1px solid var(--ui-line);
  background: linear-gradient(180deg, var(--ui-surface), var(--ui-surface-2));
  box-shadow: var(--ui-shadow-soft);
}

.zen-hero-card {
  padding: 22px;
  background:
    radial-gradient(circle at 100% 0, rgba(20,184,166,.08), transparent 26%),
    radial-gradient(circle at 0 100%, rgba(197,155,56,.08), transparent 20%),
    linear-gradient(180deg, #ffffff, #f8fbfc 68%, #f2f7f8);
}

.zen-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--ui-primary);
  background: var(--ui-primary-soft);
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.zen-hero-card h1,
.zen-panel h2 {
  margin: 10px 0 8px;
  color: var(--ui-title);
  font-family: var(--site-title-font);
  line-height: 1.08;
}

.zen-hero-card h1 { font-size: clamp(1.9rem, 7vw, 3rem); }
.zen-panel h2 { font-size: 1.24rem; }

.zen-hero-card p,
.zen-note,
.zen-switch,
.zen-list-copy span {
  color: var(--ui-text-soft);
  line-height: 1.62;
}

.zen-chip-row,
.zen-form,
.zen-list {
  display: grid;
  gap: 12px;
}

.zen-chip-row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 16px;
}

.zen-chip-row span {
  min-height: 38px;
  padding: 0 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ui-primary);
  background: #fff;
  border: 1px solid var(--ui-line);
  font-size: .78rem;
  font-weight: 700;
}

.zen-panel-icon,
.zen-list-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--ui-primary), var(--ui-primary-2));
}

.zen-headline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.zen-label {
  display: block;
  margin-bottom: 8px;
  color: var(--ui-text-soft);
  font-size: .78rem;
  font-weight: 700;
}

.zen-input {
  min-height: 54px;
  padding: 0 16px;
  border: 1px solid var(--ui-line) !important;
  border-radius: 18px !important;
  background: #fff !important;
  color: var(--ui-title) !important;
}

.zen-input:focus {
  border-color: #9fd8cf !important;
  box-shadow: 0 0 0 4px rgba(20,184,166,.10) !important;
}

.zen-btn {
  min-height: 50px;
  padding: 0 18px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  border: 1px solid var(--ui-line);
  background: #fff;
  color: var(--ui-primary);
  font-weight: 700;
}

.zen-list-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid var(--ui-line);
  background: #fff;
}

.zen-list-copy {
  min-width: 0;
  flex: 1 1 auto;
}

.zen-list-copy strong {
  display: block;
  color: var(--ui-title);
  font-family: var(--site-title-font);
}

.zen-list-row b {
  color: var(--ui-primary);
  font-size: .78rem;
  font-weight: 800;
}

.zen-switch a { color: var(--ui-primary); text-decoration: none; }

.zen-captcha {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 10px;
}

.zen-captcha article {
  min-height: 54px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  border: 1px solid var(--ui-line);
  background: #fff;
}

.zen-board,
.zen-flow-page {
  display: grid;
  gap: 18px;
}

.zen-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.zen-section-kicker {
  display: block;
  margin-bottom: 4px;
  color: var(--ui-primary);
  font-size: .73rem;
  font-weight: 800;
  text-transform: uppercase;
}

.zen-text-link {
  color: var(--ui-primary);
  font-weight: 700;
  text-decoration: none;
}

.zen-inline-banner {
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(20,184,166,.16);
  background: linear-gradient(180deg, #f4fffd, #eefaf8);
  color: var(--ui-title);
  box-shadow: var(--ui-shadow-soft);
}

.zen-inline-banner.is-clickable {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
}

.zen-inline-banner strong,
.zen-inline-banner span {
  display: block;
}

.zen-flag,
.zen-pill,
.zen-status-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: .74rem;
  font-weight: 800;
}

.zen-flag,
.zen-pill {
  color: var(--ui-primary);
  background: rgba(255,255,255,.78);
  border: 1px solid var(--ui-line);
}

.zen-status-chip {
  color: var(--ui-title);
  background: #f6f9fc;
  border: 1px solid var(--ui-line);
}

.zen-status-chip.is-pending { color: #9a6700; background: #fff7db; border-color: #f4df99; }
.zen-status-chip.is-success { color: #0f7f62; background: #e9fbf5; border-color: #b7ebd9; }
.zen-status-chip.is-danger { color: #b42318; background: #fff0ef; border-color: #f5c4bf; }

.zen-stat-grid,
.zen-shortcut-grid,
.zen-mini-grid {
  display: grid;
  gap: 12px;
}

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

.zen-stat-card,
.zen-shortcut-card,
.zen-timeline-card,
.zen-account-card,
.zen-market-card,
.zen-portfolio-card,
.zen-ledger-item,
.zen-spotlight-card {
  border-radius: 22px;
  border: 1px solid var(--ui-line);
  background: linear-gradient(180deg, #fff, #f9fbfc);
  box-shadow: var(--ui-shadow-soft);
}

.zen-stat-card {
  padding: 16px;
}

.zen-stat-card span,
.zen-stat-card strong,
.zen-stat-card small {
  display: block;
}

.zen-stat-card strong {
  margin-top: 6px;
}

.zen-stat-card span,
.zen-mini-grid span,
.zen-ledger-copy span,
.zen-timeline-copy span,
.zen-account-copy span,
.zen-stack-item span,
.zen-shortcut-card span,
.zen-market-body p,
.zen-note,
.zen-muted-note,
.zen-error-note {
  color: var(--ui-text-soft);
}

.zen-stat-card strong,
.zen-mini-grid strong,
.zen-ledger-copy strong,
.zen-timeline-copy strong,
.zen-account-copy strong,
.zen-stack-item strong,
.zen-shortcut-card strong,
.zen-market-body h3,
.zen-portfolio-card strong,
.zen-spotlight-body h3 {
  color: var(--ui-title);
}

.zen-shortcut-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.zen-shortcut-card {
  padding: 16px 14px;
  display: grid;
  gap: 8px;
  text-decoration: none;
}

.zen-shortcut-card i,
.zen-stack-item i,
.zen-dialog-icon,
.zen-ledger-mark,
.zen-account-logo {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--ui-primary), var(--ui-primary-2));
  box-shadow: 0 14px 24px rgba(15, 118, 110, 0.15);
}

.zen-stack-list,
.zen-timeline-list,
.zen-portfolio-list,
.zen-ledger-list,
.zen-account-list {
  display: grid;
  gap: 12px;
}

.zen-stack-item {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border-radius: 20px;
  border: 1px solid var(--ui-line);
  background: #fff;
}

.zen-stack-link {
  text-decoration: none;
}

.zen-spotlight-grid,
.zen-market-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.zen-spotlight-card,
.zen-market-card {
  overflow: hidden;
  text-decoration: none;
}

.zen-spotlight-cover,
.zen-market-cover {
  aspect-ratio: 1.35 / 1;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #ebf8f5, #f8fcff);
}

.zen-spotlight-cover img,
.zen-market-cover img,
.zen-account-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.zen-spotlight-body,
.zen-market-body {
  padding: 16px;
  display: grid;
  gap: 10px;
}

.zen-inline-meta,
.zen-market-footer,
.zen-timeline-head,
.zen-account-head,
.zen-money-hero-top,
.zen-dashboard-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.zen-inline-meta {
  flex-wrap: wrap;
}

.zen-portfolio-card,
.zen-timeline-card,
.zen-account-card,
.zen-ledger-item {
  padding: 16px;
}

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

.zen-ledger-item {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.zen-ledger-value.is-in { color: #0f7f62; }
.zen-ledger-value.is-out { color: #c2410c; }
.zen-ledger-mark.is-in { background: linear-gradient(135deg, #0f9f6e, #18ba82); }
.zen-ledger-mark.is-out { background: linear-gradient(135deg, #f97316, #fb923c); }

.zen-empty-card,
.zen-error-panel {
  padding: 18px;
  border-radius: 22px;
  border: 1px dashed var(--ui-line);
  background: linear-gradient(180deg, #fff, #f9fbfd);
  display: grid;
  gap: 8px;
}

.zen-empty-card i,
.zen-error-panel i {
  font-size: 1.2rem;
  color: var(--ui-primary);
}

.zen-muted-note,
.zen-error-note,
.zen-loading {
  padding: 14px 0;
}

.zen-overlay {
  position: fixed;
  inset: 0;
  z-index: 9000;
  padding: 24px;
  display: grid;
  place-items: center;
  background: rgba(11, 25, 38, 0.42);
  backdrop-filter: blur(8px);
}

.wealth-notice-overlay {
  z-index: 12000 !important;
}

.wealth-notice-overlay .zen-dialog {
  z-index: 12001 !important;
}

.zen-dialog {
  width: min(100%, 420px);
  padding: 22px;
  border-radius: 28px;
  background: linear-gradient(180deg, #fff, #f7fbfc);
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.22);
  position: relative;
  display: grid;
  gap: 14px;
}

.zen-dialog-close,
.zen-icon-danger {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  border: 1px solid var(--ui-line);
  background: #fff;
  color: #b42318;
}

.zen-dialog-close {
  position: absolute;
  top: 14px;
  right: 14px;
}

.zen-dialog-content {
  color: var(--ui-text-soft);
  line-height: 1.65;
}

.zen-split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 16px;
}

.zen-side-tips .zen-stack-item {
  grid-template-columns: 46px minmax(0, 1fr);
}

.zen-account-main {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.zen-account-copy,
.zen-ledger-copy,
.zen-timeline-copy {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.zen-hidden-select {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
}

.zen-profile-identity,
.zen-member-head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.zen-profile-avatar {
  width: 82px;
  height: 82px;
  border-radius: 26px;
  overflow: hidden;
  background: linear-gradient(135deg, #eefaf7, #f7fbfd);
  border: 1px solid var(--ui-line);
  flex: 0 0 auto;
}

.zen-profile-avatar img,
.zen-profile-avatar span {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  object-fit: cover;
  color: var(--ui-primary);
  font-size: 1.3rem;
  font-weight: 800;
}

.zen-profile-balance,
.zen-referral-share,
.zen-rank-card,
.zen-detail-card,
.zen-member-card,
.zen-menu-card,
.zen-tier-card {
  padding: 16px;
  border-radius: 22px;
  border: 1px solid var(--ui-line);
  background: linear-gradient(180deg, #fff, #f9fbfd);
  box-shadow: var(--ui-shadow-soft);
}

.zen-detail-grid,
.zen-tier-grid,
.zen-menu-list,
.zen-member-list,
.zen-rank-list {
  display: grid;
  gap: 12px;
}

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

.zen-menu-card {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.zen-menu-icon {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--ui-primary), var(--ui-primary-2));
}

.zen-menu-copy {
  min-width: 0;
}

.zen-menu-copy strong,
.zen-rank-card strong,
.zen-tier-card strong,
.zen-detail-card strong,
.zen-member-card strong,
.zen-referral-share strong,
.zen-profile-balance strong {
  display: block;
  color: var(--ui-title);
}

.zen-menu-copy span,
.zen-rank-card span,
.zen-tier-card span,
.zen-detail-card span,
.zen-member-card span,
.zen-referral-share span,
.zen-referral-share small,
.zen-profile-balance span,
.zen-member-card small {
  display: block;
  color: var(--ui-text-soft);
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.zen-menu-card.is-danger .zen-menu-icon {
  background: linear-gradient(135deg, #d9485f, #ef7c6e);
}

.zen-referral-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.zen-level-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.zen-level-tabs button {
  min-height: 78px;
  padding: 12px;
  border-radius: 20px;
  border: 1px solid var(--ui-line);
  background: #fff;
  color: var(--ui-title);
}

.zen-level-tabs button.is-active {
  border-color: #bfe6de;
  background: #f2fbf9;
}

.zen-level-tabs span {
  display: block;
  color: var(--ui-text-soft);
  font-size: .76rem;
}

.zen-level-tabs strong {
  display: block;
  margin-top: 8px;
}

.zen-rank-card,
.zen-member-card {
  display: grid;
  gap: 12px;
}

.zen-rank-card.is-active {
  border-color: #abdacc;
  background: linear-gradient(180deg, #f4fffd, #f9fcfd);
}

.zen-history-item,
.zen-order-list article,
.zen-product-shell,
.zen-order-qr,
.zen-referral-share {
  display: grid;
  gap: 12px;
}

.zen-product-shell {
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
}

.zen-product-cover {
  min-height: 280px;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid var(--ui-line);
  background: linear-gradient(135deg, #edf8f5, #f9fcfe);
  display: grid;
  place-items: center;
  box-shadow: var(--ui-shadow-soft);
}

.zen-product-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.zen-product-cover i {
  font-size: 2rem;
  color: var(--ui-primary);
}

.zen-tier-card,
.zen-detail-card {
  display: grid;
  gap: 6px;
}

.zen-order-list article {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid var(--ui-line);
  background: #fff;
}

.zen-order-list article strong,
.zen-order-list article span {
  display: block;
}

.zen-copy-btn {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid var(--ui-line);
  color: var(--ui-primary);
  background: #eef8f6;
}

.zen-order-qr {
  justify-items: center;
}

.zen-order-qr img {
  width: min(100%, 320px);
  padding: 16px;
  border-radius: 24px;
  border: 1px solid var(--ui-line);
  background: #fff;
}

.zen-dash-hero {
  padding: 22px;
  border-radius: 32px;
  border: 1px solid rgba(210, 225, 235, 0.9);
  background:
    radial-gradient(circle at top right, rgba(20,184,166,.14), transparent 28%),
    radial-gradient(circle at left bottom, rgba(197,155,56,.12), transparent 24%),
    linear-gradient(180deg, #ffffff, #f6fbfc 58%, #edf6f7);
  box-shadow: 0 24px 56px rgba(18, 38, 63, 0.08);
  display: grid;
  gap: 16px;
}

.zen-dash-hero-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.zen-dash-copy h1 {
  margin: 10px 0 8px;
  color: var(--ui-title);
  font-family: var(--site-title-font);
  font-size: clamp(2.2rem, 7vw, 3.3rem);
  line-height: 1;
}

.zen-dash-copy p {
  margin: 0;
  color: var(--ui-text-soft);
  line-height: 1.65;
}

.zen-dash-bell,
.zen-dash-shortcut-mark,
.zen-dash-action-icon {
  width: 48px;
  height: 48px;
  border-radius: 18px;
  display: grid;
  place-items: center;
}

.zen-dash-bell {
  border: 1px solid var(--ui-line);
  background: rgba(255,255,255,.86);
  color: var(--ui-title);
}

.zen-dash-band {
  display: grid;
  grid-template-columns: 1.15fr repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.zen-dash-band-card {
  padding: 16px;
  border-radius: 24px;
  border: 1px solid var(--ui-line);
  background: rgba(255,255,255,.76);
  backdrop-filter: blur(10px);
  box-shadow: var(--ui-shadow-soft);
}

.zen-dash-band-card.is-primary {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, #0f766e, #14b8a6);
  box-shadow: 0 20px 36px rgba(15, 118, 110, 0.24);
}

.zen-dash-band-card span,
.zen-dash-band-card small {
  display: block;
  color: inherit;
  opacity: .82;
}

.zen-dash-band-card strong {
  display: block;
  margin: 8px 0 6px;
  color: inherit;
  font-family: var(--site-title-font);
  font-size: 1.15rem;
}

.zen-dash-shortcuts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.zen-dash-shortcut {
  padding: 14px;
  border-radius: 22px;
  border: 1px solid rgba(220,229,238,.95);
  background: rgba(255,255,255,.82);
  text-decoration: none;
  display: grid;
  gap: 10px;
}

.zen-dash-shortcut-mark,
.zen-dash-action-icon {
  color: #fff;
  background: linear-gradient(135deg, var(--ui-primary), var(--ui-primary-2));
  box-shadow: 0 12px 24px rgba(15, 118, 110, 0.18);
}

.zen-dash-shortcut-copy strong,
.zen-dash-action-copy strong,
.zen-dash-holding strong,
.zen-dash-plan-body h3 {
  display: block;
  color: var(--ui-title);
}

.zen-dash-shortcut-copy span,
.zen-dash-action-copy span,
.zen-dash-holding span,
.zen-dash-plan-meta span,
.zen-dash-notice-strip span,
.zen-dash-notice-strip small {
  display: block;
  color: var(--ui-text-soft);
}

.zen-dash-notice-strip {
  padding: 16px 18px;
  border-radius: 24px;
  border: 1px solid rgba(20,184,166,.18);
  background: linear-gradient(180deg, #f3fffc, #edf8f6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  box-shadow: var(--ui-shadow-soft);
}

.zen-dash-notice-strip strong {
  display: block;
  margin: 2px 0;
  color: var(--ui-title);
}

.zen-dash-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  gap: 16px;
}

.zen-dash-column,
.zen-dash-panel,
.zen-dash-action-stack,
.zen-dash-portfolio,
.zen-dash-spotlight-list {
  display: grid;
  gap: 14px;
}

.zen-dash-panel {
  padding: 18px;
  border-radius: 28px;
  border: 1px solid var(--ui-line);
  background: linear-gradient(180deg, #fff, #f9fbfd);
  box-shadow: var(--ui-shadow-soft);
}

.zen-dash-action-card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: 22px;
  border: 1px solid var(--ui-line);
  background: #fff;
  text-decoration: none;
}

.zen-dash-holding {
  padding: 16px;
  border-radius: 22px;
  border: 1px solid var(--ui-line);
  background: linear-gradient(180deg, #ffffff, #f7fbfd);
}

.zen-dash-holding-top,
.zen-dash-holding-metrics,
.zen-dash-plan-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.zen-dash-holding-metrics {
  margin-top: 12px;
}

.zen-dash-holding-metrics div {
  flex: 1 1 0;
  padding: 12px;
  border-radius: 18px;
  background: #f6fafc;
}

.zen-dash-plan {
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid var(--ui-line);
  background: #fff;
  text-decoration: none;
  box-shadow: var(--ui-shadow-soft);
}

.zen-dash-plan-cover {
  aspect-ratio: 1.25 / 1;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #ebf8f5, #f8fcff);
  overflow: hidden;
}

.zen-dash-plan-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.zen-dash-plan-cover i {
  font-size: 2rem;
  color: var(--ui-primary);
}

.zen-dash-plan-body {
  padding: 16px;
  display: grid;
  gap: 10px;
}

.zen-dash-plan-body em {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--ui-primary);
  background: var(--ui-primary-soft);
  font-style: normal;
  font-size: .72rem;
  font-weight: 800;
}

.zen-dash-plan-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.zen-dash-plan-foot strong {
  color: var(--ui-title);
  font-family: var(--site-title-font);
}

.zen-dash-plan-foot b {
  color: var(--ui-primary);
  font-size: .82rem;
}

.market-pulse-dashboard {
  display: grid;
  gap: 18px;
  color: #0b1222;
}

.user-page-dashboard {
  background:
    linear-gradient(90deg, #c80020 0 18%, #f4b400 18% 34%, #1f8f67 34% 50%, #1357dd 50% 68%, #101828 68% 100%) top/100% 5px no-repeat,
    #f7f7f4 !important;
}

.user-page-dashboard .nova-shell {
  max-width: 1180px;
}

.user-page-dashboard .nova-stage {
  background: transparent;
}

.user-page-dashboard .nova-content {
  border-radius: 30px;
  background: #fff;
  border: 1px solid rgba(12, 18, 34, .08);
  box-shadow: 0 28px 80px rgba(12, 18, 34, .10);
}

.user-page-dashboard .nova-topbar {
  border: 0;
  background: #fff;
  box-shadow: 0 18px 48px rgba(12, 18, 34, .08);
}

.user-page-dashboard .nova-topbar-copy span,
.user-page-dashboard .nova-topbar-copy small {
  color: #7c879a;
}

.user-page-dashboard .nova-topbar-copy strong {
  color: #090d17;
  font-weight: 900;
}

.user-page-dashboard .nova-icon-btn,
.user-page-dashboard .nova-avatar-btn {
  background: #f5f5f2;
  color: #0b1222;
  border-color: rgba(12, 18, 34, .06);
}

.user-page-dashboard .nova-icon-btn:hover {
  background: #c80020;
  color: #fff;
}

.user-page-dashboard .app-sidebar {
  background: #fff;
  border-color: rgba(12, 18, 34, .08);
  box-shadow: 0 24px 70px rgba(12, 18, 34, .10);
}

.user-page-dashboard .premium-balance-card {
  background: #c80020;
  color: #fff;
  border: 0;
}

.user-page-dashboard .premium-balance-card span,
.user-page-dashboard .premium-balance-card small {
  color: rgba(255,255,255,.78);
}

.user-page-dashboard .premium-balance-card strong {
  color: #fff;
}

.user-page-dashboard .app-nav-link.active,
.user-page-dashboard .nova-dock-link.active {
  background: #c80020;
  color: #fff;
}

.user-page-dashboard .nova-dock {
  background: rgba(255,255,255,.96);
  border-color: rgba(12,18,34,.08);
  box-shadow: 0 20px 60px rgba(12,18,34,.16);
}

.market-pulse-hero {
  display: grid;
  gap: 18px;
  padding: 4px 2px 0;
}

.market-pulse-headline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.market-pulse-headline span {
  display: block;
  color: #c80020;
  font-size: .82rem;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.2;
}

.market-pulse-headline h1 {
  margin: 6px 0 0;
  max-width: 760px;
  color: #070b14;
  font-family: var(--site-title-font);
  font-size: clamp(2.7rem, 9vw, 5rem);
  font-weight: 900;
  line-height: .9;
  letter-spacing: 0;
}

.market-date-pill {
  min-height: 46px;
  padding: 0 14px;
  border: 0;
  border-radius: 14px;
  background: #f1f2f6;
  color: #0b1222;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  font-weight: 800;
}

.market-red-banner {
  position: relative;
  overflow: hidden;
  min-height: 128px;
  padding: 22px;
  border-radius: 18px;
  color: #fff;
  text-align: center;
  display: grid;
  place-items: center;
  gap: 6px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.06), transparent 28%),
    linear-gradient(180deg, #b0001b, #d40023);
  box-shadow: 0 18px 36px rgba(183, 0, 27, .18);
}

.market-red-banner::after {
  content: "";
  position: absolute;
  inset: 16px 16px auto auto;
  width: 220px;
  height: 88px;
  opacity: .35;
  background:
    linear-gradient(135deg, transparent 0 18%, rgba(255,255,255,.45) 18% 22%, transparent 22% 38%, rgba(255,255,255,.45) 38% 42%, transparent 42% 58%, rgba(255,255,255,.45) 58% 62%, transparent 62%);
  transform: skewY(12deg);
}

.market-red-banner span {
  position: relative;
  z-index: 1;
  min-height: 30px;
  padding: 0 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  background: #fff;
  color: #b0001b;
  font-size: .76rem;
  font-weight: 900;
}

.market-red-banner strong {
  position: relative;
  z-index: 1;
  font-family: var(--site-title-font);
  font-size: clamp(2rem, 9vw, 4rem);
  line-height: 1;
  font-weight: 900;
}

.market-red-banner small {
  position: relative;
  z-index: 1;
  font-weight: 800;
  opacity: .9;
}

.market-stat-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.market-stat-row article {
  padding: 14px;
  border-radius: 14px;
  border: 1px solid #edf0f5;
  background: #fff;
  box-shadow: 0 10px 22px rgba(13, 18, 31, .04);
}

.market-stat-row span,
.market-stat-row strong {
  display: block;
}

.market-stat-row span {
  color: #7c879a;
  font-size: .76rem;
  font-weight: 800;
}

.market-stat-row strong {
  margin-top: 6px;
  color: #0b1222;
  font-family: var(--site-title-font);
  font-size: .94rem;
  overflow-wrap: anywhere;
}

.market-action-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.market-action-strip a {
  min-height: 66px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid #edf0f5;
  background: #fff;
  color: #0b1222;
  text-decoration: none;
  display: grid;
  justify-items: center;
  gap: 7px;
  box-shadow: 0 10px 22px rgba(13, 18, 31, .04);
}

.market-action-strip i {
  color: #c80020;
  font-size: 1.2rem;
}

.market-action-strip span {
  text-align: center;
  font-size: .78rem;
  font-weight: 900;
  line-height: 1.2;
}

.market-ranking-panel,
.market-today-panel,
.market-notice,
.market-empty {
  padding: 18px;
  border-radius: 18px;
  border: 1px solid #edf0f5;
  background: #fff;
  box-shadow: 0 12px 28px rgba(13, 18, 31, .05);
}

.market-ranking-title {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.market-ranking-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #fff;
  background: #c80020;
}

.market-ranking-title h2,
.market-today-panel h2 {
  margin: 0;
  color: #0b1222;
  font-family: var(--site-title-font);
  font-size: 1.08rem;
  font-weight: 900;
}

.market-ranking-title p,
.market-today-panel span,
.market-empty span {
  margin: 2px 0 0;
  color: #7c879a;
  line-height: 1.45;
}

.market-ranking-title > strong {
  color: #7c879a;
  font-size: .78rem;
  text-align: right;
}

.market-ranking-list {
  display: grid;
  gap: 12px;
}

.market-ranking-row {
  min-width: 0;
  display: grid;
  grid-template-columns: 32px 46px minmax(0, 1fr) minmax(80px, 38%) minmax(112px, auto);
  align-items: center;
  gap: 12px;
  color: #0b1222;
  text-decoration: none;
}

.market-ranking-row > b {
  width: 30px;
  height: 34px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  color: #0b1222;
  background: #f6f7fa;
  font-weight: 900;
}

.market-ranking-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: #101828;
}

.market-ranking-mark.is-hot {
  background: #c80020;
}

.market-ranking-mark.is-live {
  background: #1357dd;
}

.market-ranking-copy {
  min-width: 0;
}

.market-ranking-copy strong,
.market-ranking-copy small {
  display: block;
}

.market-ranking-copy strong {
  color: #0b1222;
  font-weight: 900;
  line-height: 1.2;
}

.market-ranking-copy small {
  margin-top: 2px;
  color: #7c879a;
  font-size: .78rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.market-ranking-bar {
  height: 14px;
  border-radius: 999px;
  background: #f0f1f5;
  overflow: hidden;
}

.market-ranking-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #c80020;
}

.market-ranking-value {
  text-align: right;
}

.market-ranking-value strong,
.market-ranking-value small {
  display: block;
}

.market-ranking-value strong {
  color: #b0001b;
  font-family: var(--site-title-font);
  font-weight: 900;
}

.market-ranking-value small {
  color: #7c879a;
  font-size: .76rem;
}

.market-today-panel {
  display: grid;
  gap: 12px;
}

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

.market-task-grid a {
  position: relative;
  min-height: 122px;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid #edf0f5;
  background: #fbfcff;
  color: #0b1222;
  text-decoration: none;
  display: grid;
  gap: 7px;
}

.market-task-grid i {
  color: #c80020;
  font-size: 1.2rem;
}

.market-task-grid strong,
.market-task-grid small,
.market-task-grid b {
  display: block;
}

.market-task-grid strong {
  font-weight: 900;
}

.market-task-grid small {
  color: #7c879a;
  line-height: 1.4;
}

.market-task-grid b {
  color: #c80020;
  font-size: .78rem;
}

.market-notice {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.market-notice strong,
.market-notice span {
  display: block;
}

.market-notice strong {
  color: #0b1222;
}

.market-notice span {
  color: #7c879a;
}

.market-pulse-loading,
.market-empty {
  color: #7c879a;
}

.market-empty {
  display: grid;
  gap: 8px;
}

.market-empty strong {
  color: #0b1222;
}

#withdrawBankSelectMount,
#bankLinkSelectMount {
  min-width: 0;
}

.zen-section-head h2,
.zen-money-hero h1,
.nova-topbar-copy strong,
.nova-topbar-copy small {
  overflow-wrap: anywhere;
}

@media (max-width: 860px) {
  .zen-dash-band,
  .zen-dash-shortcuts,
  .zen-dash-grid {
    grid-template-columns: 1fr;
  }

  .zen-shortcut-grid,
  .zen-stat-grid,
  .zen-mini-grid,
  .zen-spotlight-grid,
  .zen-market-grid,
  .zen-split-grid,
  .zen-detail-grid,
  .zen-tier-grid,
  .zen-product-shell {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .nova-shell {
    padding: 10px 10px 100px;
  }

  .nova-topbar {
    padding: 12px;
    border-radius: 24px;
    align-items: flex-start;
  }

  .nova-topbar-main {
    gap: 10px;
  }

  .nova-topbar-copy strong {
    font-size: 1.02rem;
    line-height: 1.15;
  }

  .nova-topbar-copy small {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.35;
  }

  .nova-topbar-actions {
    gap: 6px;
    flex-wrap: nowrap;
  }

  .nova-icon-btn,
  .nova-avatar-btn,
  .nova-brand-mark {
    width: 42px;
    height: 42px;
    min-width: 42px;
  }

  .zen-money-hero h1 {
    font-size: 1.7rem;
    line-height: 1.06;
  }

  .zen-section-head {
    align-items: flex-start;
  }

  .zen-section-head .zen-text-link {
    padding-top: 4px;
  }

  .market-pulse-dashboard {
    gap: 14px;
  }

  .market-pulse-headline {
    display: grid;
    gap: 12px;
  }

  .market-pulse-headline h1 {
    font-size: 2.2rem;
  }

  .market-date-pill {
    width: fit-content;
  }

  .market-red-banner {
    min-height: 112px;
    padding: 18px 14px;
  }

  .market-stat-row,
  .market-action-strip,
  .market-task-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .market-ranking-title {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .market-ranking-title > strong {
    display: none;
  }

  .market-ranking-row {
    grid-template-columns: 30px 42px minmax(0, 1fr);
    gap: 10px;
  }

  .market-ranking-bar,
  .market-ranking-value {
    grid-column: 3;
  }

  .market-ranking-value {
    text-align: left;
  }
}

@media (max-width: 480px) {
  .nova-topbar {
    grid-template-columns: 1fr;
  }

  .nova-topbar-actions {
    width: auto;
    justify-content: flex-end;
  }

  .nova-topbar-copy span {
    font-size: .7rem;
  }

  .nova-dock {
    width: calc(100% - 16px);
    bottom: 8px;
    padding: 8px;
    gap: 6px;
  }

  .nova-dock-link span {
    font-size: .66rem;
  }
}

/* Poster red premium user-side refresh */
body.is-authenticated:not([class*="user-page-admin"]) {
  --ui-primary: #c80020;
  --ui-primary-2: #e21b36;
  --ui-primary-soft: rgba(200, 0, 32, .08);
  --ui-title: #081120;
  --ui-text: #263246;
  --ui-text-soft: #7b8aa4;
  --ui-line: rgba(24, 38, 64, .10);
  --ui-shadow-soft: 0 18px 48px rgba(14, 23, 42, .08);
  background:
    linear-gradient(90deg, #c80020 0 18%, #f4b400 18% 34%, #1f8f67 34% 50%, #1357dd 50% 68%, #101828 68% 100%) top/100% 5px no-repeat,
    #f4f6f9 !important;
}

body.is-authenticated .nova-shell {
  gap: 18px;
}

body.is-authenticated .nova-stage {
  background: transparent;
}

body.is-authenticated .nova-topbar,
body.is-authenticated .app-sidebar,
body.is-authenticated .nova-dock {
  border: 1px solid rgba(24, 38, 64, .09);
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 20px 60px rgba(14, 23, 42, .09);
}

body.is-authenticated .nova-topbar {
  border-radius: 30px;
}

body.is-authenticated .nova-content {
  background: transparent;
}

body.is-authenticated .nova-icon-btn,
body.is-authenticated .nova-avatar-btn,
body.is-authenticated .app-brand-mark,
body.is-authenticated .nova-brand-mark {
  border-color: rgba(24, 38, 64, .09);
  background: #f7f8fb;
  color: #081120;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.8);
}

body.is-authenticated .nova-icon-btn:hover,
body.is-authenticated .app-nav-link.active,
body.is-authenticated .nova-dock-link.active {
  background: #c80020;
  color: #fff;
}

body.is-authenticated .premium-balance-card {
  color: #fff;
  border: 0;
  background:
    linear-gradient(135deg, rgba(255,255,255,.12), transparent 32%),
    linear-gradient(180deg, #ad0018, #d90025);
  box-shadow: 0 18px 44px rgba(200, 0, 32, .18);
}

body.is-authenticated .premium-balance-card span,
body.is-authenticated .premium-balance-card small {
  color: rgba(255,255,255,.78);
}

body.is-authenticated .premium-balance-card strong {
  color: #fff;
}

.poster-app-shell {
  width: min(100%, 1440px);
  margin: 0 auto;
  padding: 18px;
  display: grid;
  grid-template-columns: 286px minmax(0, 1fr);
  gap: 18px;
}

.auth-surface .poster-app-shell,
.is-guest .poster-app-shell {
  grid-template-columns: 1fr;
  max-width: 1240px;
}

.poster-side-rail,
.poster-app-topbar {
  border: 1px solid rgba(24,38,64,.09);
  background: rgba(255,255,255,.96);
  box-shadow: 0 24px 70px rgba(14,23,42,.09);
}

.poster-side-rail {
  position: sticky;
  top: 18px;
  height: calc(100vh - 36px);
  padding: 16px;
  border-radius: 32px;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 16px;
}

.poster-brand-block {
  min-width: 0;
  color: #081120;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
}

.poster-brand-mark {
  width: 54px;
  height: 54px;
  border-radius: 19px;
  border: 1px solid rgba(24,38,64,.09);
  background: #fff;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #c80020;
  box-shadow: 0 12px 28px rgba(14,23,42,.07);
  flex: 0 0 auto;
}

.poster-brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.poster-brand-copy {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.poster-brand-copy strong,
.poster-brand-copy small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.poster-brand-copy strong {
  color: #081120;
  font-weight: 900;
}

.poster-brand-copy small {
  color: #7b8aa4;
  font-size: .78rem;
  font-weight: 800;
}

.poster-side-balance {
  position: relative;
  overflow: hidden;
  padding: 18px;
  border-radius: 26px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(255,255,255,.12), transparent 34%),
    linear-gradient(180deg, #ad0018, #d90025);
  box-shadow: 0 18px 44px rgba(200,0,32,.18);
  display: grid;
  gap: 6px;
}

.poster-side-balance span,
.poster-side-balance small {
  color: rgba(255,255,255,.78);
  font-weight: 800;
}

.poster-side-balance strong {
  color: #fff;
  font-size: 1.25rem;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.poster-side-nav,
.poster-side-stack {
  display: grid;
  align-content: start;
  gap: 8px;
}

.poster-side-link,
.poster-side-stack a {
  min-width: 0;
  min-height: 48px;
  padding: 0 12px;
  border-radius: 17px;
  color: #46546b;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
}

.poster-side-link i,
.poster-side-stack i {
  width: 28px;
  color: #7b8aa4;
  text-align: center;
}

.poster-side-link.active,
.poster-side-stack a.active {
  color: #fff;
  background: #c80020;
  box-shadow: 0 14px 30px rgba(200,0,32,.18);
}

.poster-side-link.active i,
.poster-side-stack a.active i {
  color: #fff;
}

.poster-side-stack a.is-danger {
  color: #c80020;
}

.poster-app-stage {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 18px;
}

.poster-app-topbar {
  min-height: 92px;
  padding: 14px;
  border-radius: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.poster-topbar-main,
.poster-topbar-actions {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.poster-topbar-copy {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.poster-topbar-copy span,
.poster-topbar-copy small {
  color: #7b8aa4;
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
}

.poster-topbar-copy strong {
  color: #081120;
  font-size: 1.18rem;
  font-weight: 900;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.poster-icon-button,
.poster-avatar-button {
  width: 54px;
  height: 54px;
  min-width: 54px;
  border: 1px solid rgba(24,38,64,.09);
  border-radius: 20px;
  background: #f7f8fb;
  color: #081120;
  display: grid;
  place-items: center;
  text-decoration: none;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.85);
}

.poster-icon-button:hover {
  color: #fff;
  background: #c80020;
}

.poster-avatar-button img,
.poster-avatar-button span {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  object-fit: cover;
  color: #c80020;
  font-weight: 900;
}

.poster-text-button {
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  color: #081120;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  font-weight: 900;
}

.poster-text-button.is-primary {
  color: #fff;
  background: #c80020;
}

.poster-app-content {
  min-width: 0;
}

.poster-mobile-dock {
  position: fixed;
  left: 50%;
  bottom: 14px;
  z-index: 900;
  width: min(560px, calc(100% - 24px));
  min-height: 78px;
  padding: 8px;
  border: 1px solid rgba(24,38,64,.09);
  border-radius: 28px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 24px 70px rgba(14,23,42,.16);
  transform: translateX(-50%);
  display: none;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
}

.poster-dock-link {
  min-width: 0;
  border-radius: 22px;
  color: #7b8aa4;
  text-decoration: none;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 4px;
  font-size: .72rem;
  font-weight: 900;
}

.poster-dock-link i {
  font-size: 1.25rem;
}

.poster-dock-link.active {
  color: #fff;
  background: #c80020;
}

@media (max-width: 1020px) {
  .poster-app-shell {
    grid-template-columns: 1fr;
    padding: 12px 12px 108px;
  }

  .poster-side-rail {
    display: none;
  }

  .poster-mobile-dock {
    display: grid;
  }
}

@media (max-width: 640px) {
  .poster-app-topbar {
    min-height: auto;
    padding: 12px;
    border-radius: 26px;
    align-items: flex-start;
  }

  .poster-topbar-main {
    gap: 10px;
  }

  .poster-topbar-actions {
    gap: 6px;
  }

  .poster-icon-button,
  .poster-avatar-button,
  .poster-brand-mark {
    width: 46px;
    height: 46px;
    min-width: 46px;
    border-radius: 17px;
  }

  .poster-topbar-copy small {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.3;
  }
}

.zen-flow-page,
.zen-dashboard,
.zen-wallet,
.zen-invest,
.zen-profile,
.zen-referral,
.zen-history,
.zen-product,
.zen-order,
.reborn-dashboard,
.reborn-wallet,
.reborn-referral,
.reborn-invest,
.reborn-gift,
.reborn-history,
.reborn-transaction,
.reborn-product,
.reborn-order,
.reborn-static-page,
.reborn-home {
  display: grid;
  gap: 18px;
  color: #081120;
}

.zen-hero-card,
.zen-money-hero,
.zen-bank-hero,
.reborn-hero,
.reborn-wallet-hero,
.reborn-ref-hero,
.reborn-invest-hero,
.reborn-gift-hero,
.reborn-history-hero,
.reborn-transaction-hero,
.reborn-product-hero,
.reborn-order-hero,
.reborn-money-hero,
.reborn-bank-hero,
.reborn-auth-hero {
  overflow: hidden;
  border: 1px solid rgba(24, 38, 64, .09) !important;
  border-radius: 30px !important;
  background:
    linear-gradient(135deg, rgba(200,0,32,.08), transparent 30%),
    #fff !important;
  box-shadow: 0 24px 70px rgba(14, 23, 42, .09) !important;
}

.zen-money-hero-top {
  align-items: flex-start;
}

.zen-kicker,
.zen-section-kicker,
.reborn-eyebrow,
.reborn-section-head span {
  color: #c80020 !important;
  font-weight: 900 !important;
  letter-spacing: 0 !important;
  text-transform: uppercase;
}

.zen-money-hero h1,
.zen-bank-hero h1,
.reborn-hero h1,
.reborn-wallet-hero h1,
.reborn-ref-hero h1,
.reborn-invest-hero h1,
.reborn-gift-hero h1,
.reborn-history-hero h1,
.reborn-transaction-hero h1,
.reborn-product-hero h1,
.reborn-order-hero h1,
.reborn-auth-hero h1,
.reborn-money-hero strong,
.reborn-bank-hero strong {
  color: #081120 !important;
  font-size: clamp(2rem, 7vw, 3.4rem) !important;
  line-height: .95 !important;
  font-weight: 900 !important;
  letter-spacing: 0 !important;
}

.zen-money-hero p,
.zen-bank-hero p,
.reborn-hero p,
.reborn-wallet-hero p,
.reborn-ref-hero p,
.reborn-invest-hero p,
.reborn-gift-hero p,
.reborn-history-hero p,
.reborn-transaction-hero p,
.reborn-product-hero p,
.reborn-order-hero p,
.reborn-auth-hero p {
  color: #7b8aa4 !important;
  line-height: 1.55 !important;
  overflow-wrap: anywhere;
}

.zen-panel,
.zen-stat-card,
.zen-empty-card,
.zen-timeline-card,
.zen-account-card,
.zen-stack-item,
.zen-detail-card,
.zen-tier-card,
.zen-menu-card,
.reborn-section,
.reborn-auth-card,
.reborn-auth-block,
.reborn-money-history-shell,
.reborn-bank-listcard,
.reborn-product-card,
.reborn-shortcuts a,
.reborn-wallet-actions a,
.reborn-holding-card,
.reborn-ledger-item,
.reborn-gift-item,
.reborn-history-item,
.reborn-transaction-cta,
.reborn-profile-link,
.reborn-agent-list article,
.reborn-member-card,
.reborn-plan-card,
.reborn-invest-card,
.reborn-post-feature,
.reborn-post-card {
  border: 1px solid rgba(24, 38, 64, .09) !important;
  border-radius: 26px !important;
  background: #fff !important;
  box-shadow: 0 18px 48px rgba(14, 23, 42, .07) !important;
}

.zen-section-head h2,
.reborn-section-head h2 {
  color: #081120 !important;
  font-size: clamp(1.5rem, 5vw, 2.25rem) !important;
  line-height: 1.05 !important;
  font-weight: 900 !important;
  letter-spacing: 0 !important;
}

.zen-btn-primary,
.reborn-ghost-btn.is-primary,
.reborn-home-actions .is-primary {
  border: 0 !important;
  background: #c80020 !important;
  color: #fff !important;
  box-shadow: 0 16px 34px rgba(200,0,32,.18) !important;
}

.zen-btn,
.zen-text-link,
.reborn-link {
  color: #c80020 !important;
}

.zen-input,
.reborn-auth-input,
.rw-select,
.form-control.zen-input,
.form-select.rw-select {
  min-height: 58px !important;
  border: 1px solid rgba(24, 38, 64, .10) !important;
  border-radius: 22px !important;
  background: #fff !important;
  color: #081120 !important;
  box-shadow: 0 14px 34px rgba(14,23,42,.05) !important;
}

.zen-label,
.reborn-field-label {
  color: #7b8aa4 !important;
  font-weight: 900 !important;
  overflow-wrap: anywhere;
}

.zen-status-chip,
.zen-flag,
.reborn-plan-body em,
.reborn-history-tabs button.is-active,
.reborn-level-tabs button.is-active {
  border: 0 !important;
  background: rgba(200, 0, 32, .09) !important;
  color: #c80020 !important;
}

.zen-stat-grid,
.zen-mini-grid,
.reborn-hero-grid,
.reborn-wallet-grid,
.reborn-ref-grid,
.reborn-invest-metrics,
.reborn-product-metrics,
.reborn-transaction-stats,
.reborn-profile-info {
  gap: 12px !important;
}

.zen-stat-card span,
.zen-stat-card small,
.zen-mini-grid span,
.reborn-ledger-copy span,
.reborn-history-copy span,
.reborn-profile-link-copy span,
.reborn-member-card span,
.reborn-task-copy span {
  color: #7b8aa4 !important;
  line-height: 1.35;
}

.zen-stat-card strong,
.zen-mini-grid strong,
.zen-timeline-copy strong,
.zen-account-copy strong,
.reborn-ledger-copy strong,
.reborn-history-copy strong,
.reborn-profile-link-copy strong,
.reborn-member-card strong,
.reborn-task-copy strong {
  color: #081120 !important;
  overflow-wrap: anywhere;
}

.zen-hidden-select,
select.zen-hidden-select,
#withdrawBankAccount,
#bank_code,
select[name="bank_account_id"],
select[name="bank_code"] {
  display: none !important;
  visibility: hidden !important;
  position: absolute !important;
  left: -99999px !important;
  width: 1px !important;
  height: 1px !important;
  min-height: 1px !important;
  max-height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

@media (max-width: 640px) {
  .zen-flow-page,
  .reborn-dashboard,
  .reborn-wallet,
  .reborn-referral,
  .reborn-invest,
  .reborn-gift,
  .reborn-history,
  .reborn-transaction,
  .reborn-product,
  .reborn-order,
  .reborn-static-page {
    gap: 14px;
  }

  .zen-hero-card,
  .zen-money-hero,
  .zen-bank-hero,
  .zen-panel,
  .reborn-section,
  .reborn-auth-hero,
  .reborn-money-hero,
  .reborn-bank-hero {
    border-radius: 24px !important;
  }

  .zen-stat-grid,
  .zen-mini-grid,
  .reborn-hero-grid,
  .reborn-wallet-grid,
  .reborn-ref-grid,
  .reborn-invest-metrics,
  .reborn-product-metrics,
  .reborn-transaction-stats,
  .reborn-profile-info {
    grid-template-columns: 1fr !important;
  }
}

/* Final referral QR lock: keep the generated QR large and dead-center. */
.poster-share-modal {
  align-items: center !important;
  justify-content: center !important;
  padding: 16px !important;
}

.poster-share-card {
  width: min(100%, 430px) !important;
  margin: 0 auto !important;
  overflow: visible !important;
}

.poster-share-qr-wrap {
  width: 100% !important;
  overflow: visible !important;
  display: grid !important;
  justify-items: center !important;
}

.poster-share-qr {
  width: 100% !important;
  min-height: 320px !important;
  padding: 14px 0 10px !important;
  margin: 0 auto !important;
  display: grid !important;
  place-items: center !important;
  justify-items: center !important;
  align-items: center !important;
  overflow: visible !important;
  text-align: center !important;
}

.poster-share-qr > div {
  width: 300px !important;
  height: 300px !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  display: grid !important;
  place-items: center !important;
  overflow: hidden !important;
  border-radius: 28px !important;
  background: #ffffff !important;
  box-shadow: 0 20px 42px rgba(8, 17, 32, .10) !important;
  clip-path: inset(0 round 28px) !important;
}

.poster-share-qr svg,
.poster-share-qr canvas,
.poster-share-qr img,
.poster-share-qr > div > svg,
.poster-share-qr > div > canvas,
.poster-share-qr > div > img {
  width: 300px !important;
  height: 300px !important;
  max-width: 100% !important;
  max-height: 300px !important;
  display: block !important;
  position: static !important;
  transform: none !important;
  margin: 0 auto !important;
  padding: 0 !important;
  inset: auto !important;
  object-fit: contain !important;
  border-radius: 28px !important;
  background: transparent !important;
  overflow: hidden !important;
  clip-path: inset(0 round 28px) !important;
}

@media (max-width: 640px) {
  .poster-share-card {
    width: min(100%, 398px) !important;
    border-radius: 28px !important;
  }

  .poster-share-qr {
    min-height: 300px !important;
    padding-top: 12px !important;
  }

  .poster-share-qr > div,
  .poster-share-qr svg,
  .poster-share-qr canvas,
  .poster-share-qr img,
  .poster-share-qr > div > svg,
  .poster-share-qr > div > canvas,
  .poster-share-qr > div > img {
    width: 282px !important;
    height: 282px !important;
    max-height: 282px !important;
    border-radius: 26px !important;
    clip-path: inset(0 round 26px) !important;
  }
}
