:root {
  --bg: #0b1220;
  --panel: #151f34;
  --panel-soft: #1d2a44;
  --text: #eaf1ff;
  --muted: #a8b3cc;
  --accent: #5b8cff;
  --accent-hover: #487bf7;
  --danger: #ff5b7f;
  --success: #2bc48a;
  --border: #2a3a5d;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, Segoe UI, Arial, sans-serif;
  color: var(--text);
  background: radial-gradient(circle at top, #1d2b47 0%, var(--bg) 60%);
}

body.nav-open {
  overflow: hidden;
}

.site-header {
  max-width: 980px;
  margin: 0 auto;
  padding: 16px 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.site-header-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-header-links a {
  color: #d4deef;
  text-decoration: none;
  font-size: 0.92rem;
}

.site-header-links a:hover {
  color: #eff5ff;
}

.site-nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid #304368;
  border-radius: 10px;
  background: #0f1a2f;
  padding: 8px;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-direction: column;
}

.site-nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 99px;
  background: #d5e2fa;
}

.site-nav-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: min(320px, 84vw);
  height: 100vh;
  background: #0b162c;
  border-left: 1px solid #273a5f;
  transform: translateX(100%);
  transition: transform 0.24s ease;
  z-index: 40;
  padding: 14px;
  display: grid;
  gap: 14px;
}

.site-nav-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-nav-head button {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid #304368;
  background: #121f38;
  color: #f0f4ff;
  font-size: 1.15rem;
  line-height: 1;
  padding: 0;
}

.site-nav-links {
  display: grid;
  gap: 10px;
}

.site-nav-links a {
  display: block;
  border: 1px solid #2f446c;
  border-radius: 10px;
  padding: 10px 12px;
  color: #d4e0f9;
  text-decoration: none;
  background: #101b33;
}

.site-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3, 7, 15, 0.6);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 30;
}

body.nav-open .site-nav-panel {
  transform: translateX(0);
}

body.nav-open .site-nav-backdrop {
  opacity: 1;
  pointer-events: auto;
}

.announce-bar {
  text-align: center;
  font-size: 0.85rem;
  color: #cddcff;
  border-bottom: 1px solid var(--border);
  background: rgba(13, 23, 43, 0.8);
  padding: 7px 12px;
}

.app-shell {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px;
}

.auth-layout {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 20px;
}

.auth-card {
  width: min(560px, 100%);
}

.auth-grid {
  width: min(980px, 100%);
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(320px, 1fr);
  gap: 16px;
  align-items: stretch;
}

.auth-showcase {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
  background: rgba(10, 18, 34, 0.55);
}

.auth-showcase .plain-list {
  margin-top: 12px;
}

.auth-switch {
  margin-top: 16px;
}

.auth-switch a {
  color: #9ec2ff;
  text-decoration: none;
}

.auth-switch a:hover {
  text-decoration: underline;
}

.layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 240px 1fr;
}

.sidebar {
  border-right: 1px solid var(--border);
  padding: 24px 16px;
  background: rgba(8, 14, 26, 0.7);
  position: sticky;
  top: 0;
  height: 100vh;
}

.brand {
  display: block;
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
  margin-bottom: 18px;
}

.menu {
  display: grid;
  gap: 8px;
}

.menu-link {
  display: block;
  text-decoration: none;
  color: var(--muted);
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 10px 12px;
}

.menu-link:hover {
  color: var(--text);
  border-color: var(--border);
  background: rgba(39, 61, 102, 0.25);
}

.menu-link.active {
  color: var(--text);
  border-color: var(--border);
  background: rgba(68, 117, 255, 0.2);
}

.content {
  padding: 20px;
}

.app-page {
  display: grid;
  gap: 16px;
}

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

.page-head h1 {
  font-size: 1.6rem;
}

.page-head-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.content-topbar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

h1 {
  margin: 0;
  font-size: 1.7rem;
}

h2 {
  margin: 0 0 8px;
  font-size: 1.15rem;
}

h3 {
  margin: 0;
  font-size: 1rem;
}

.hint {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.92rem;
}

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

.card {
  background: linear-gradient(180deg, var(--panel) 0%, var(--panel-soft) 100%);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.wide {
  grid-column: span 2;
}

.stack {
  display: grid;
  gap: 10px;
  margin-top: 8px;
}

input,
button,
select {
  border-radius: 10px;
  border: 1px solid var(--border);
  padding: 10px 12px;
  font-size: 0.95rem;
}

input,
select {
  background: #10182b;
  color: var(--text);
}

button {
  background: var(--accent);
  color: white;
  border: 0;
  cursor: pointer;
  font-weight: 600;
}

button:hover {
  background: var(--accent-hover);
}

button.secondary {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}

button.danger {
  background: var(--danger);
}

.badge {
  background: #1f2f52;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.85rem;
  color: var(--muted);
}

.kpi {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 12px;
}

.kpi strong {
  font-size: 1.5rem;
  color: #b7d0ff;
}

.metric {
  font-size: 2rem;
  margin: 8px 0 14px;
  font-weight: 700;
  color: #b7d0ff;
}

.wallet-page {
  display: grid;
  gap: 16px;
}

.wallet-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.wallet-balance-chip {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 14px;
  background: rgba(10, 18, 34, 0.6);
  display: grid;
  gap: 4px;
}

.wallet-balance-chip span {
  color: var(--muted);
  font-size: 0.85rem;
}

.wallet-balance-chip strong {
  font-size: 1.5rem;
  color: #c6dbff;
}

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

.wallet-kpi {
  display: grid;
  gap: 6px;
}

.wallet-kpi p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.wallet-kpi strong {
  font-size: 1.4rem;
}

.wallet-main-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
}

.quick-fund {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.table-wrap {
  overflow: auto;
}

.wallet-table {
  width: 100%;
  border-collapse: collapse;
}

.wallet-table th,
.wallet-table td {
  padding: 10px 8px;
  border-bottom: 1px solid var(--border);
  text-align: left;
}

.wallet-table th {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.wallet-table td {
  font-size: 0.93rem;
}

.tx-type {
  text-transform: capitalize;
}

.tx-credit {
  color: var(--success);
  font-weight: 600;
}

.tx-debit {
  color: #ff8ea9;
  font-weight: 600;
}

.filters-card {
  padding: 12px;
}

.filters-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.filters-grid label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 0.85rem;
}

.link-btn {
  display: inline-block;
  text-decoration: none;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  padding: 8px 12px;
}

.link-btn:hover {
  border-color: #5e88ff;
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

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

.item {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
  background: rgba(12, 20, 36, 0.6);
  display: grid;
  gap: 8px;
}

.compact-list .item {
  padding: 10px;
}

.item-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.item small {
  color: var(--muted);
}

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

.stat-card {
  min-height: 180px;
  display: grid;
  align-content: space-between;
}

.actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.status-ok {
  color: var(--success);
}

.status-warn {
  color: #f8cf62;
}

.empty {
  color: var(--muted);
  border: 1px dashed var(--border);
  border-radius: 10px;
  padding: 12px;
}

.toast {
  position: fixed;
  right: 16px;
  bottom: 16px;
  min-width: 220px;
  max-width: 400px;
  background: #132342;
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  color: var(--text);
  border-radius: 10px;
  padding: 10px 12px;
}

.hidden {
  display: none;
}

.landing-nav {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.landing-nav-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.landing-nav-links a {
  color: var(--text);
  text-decoration: none;
}

.landing-nav .brand {
  margin-bottom: 0;
}

.landing-main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 20px 32px;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
  gap: 16px;
}

.hero {
  padding: 34px;
}

.premium-hero {
  position: relative;
  overflow: hidden;
}

.premium-hero::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  right: -80px;
  top: -120px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(102, 139, 255, 0.28), rgba(102, 139, 255, 0));
  pointer-events: none;
}

.hero h1 {
  margin: 10px 0 14px;
  font-size: clamp(2rem, 3vw, 2.8rem);
}

.hero p {
  margin: 0;
  max-width: 760px;
  color: var(--muted);
  line-height: 1.6;
}

.hero-actions {
  margin-top: 20px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

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

.hero-stats div {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px;
  background: rgba(9, 16, 30, 0.55);
}

.hero-stats strong {
  display: block;
  color: #c7dbff;
  font-size: 1.1rem;
}

.hero-stats span {
  color: var(--muted);
  font-size: 0.82rem;
}

.preview-card {
  display: grid;
  align-content: start;
  gap: 14px;
}

.steps {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 10px;
  color: var(--muted);
}

.pill {
  display: inline-block;
  border: 1px solid var(--border);
  background: rgba(68, 117, 255, 0.2);
  border-radius: 999px;
  padding: 6px 12px;
  color: #c8daff;
  font-size: 0.85rem;
}

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

.proof-strip {
  margin-top: 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
  background: rgba(9, 16, 29, 0.55);
}

.proof-strip > span {
  color: var(--muted);
  font-size: 0.9rem;
}

.proof-logos {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.proof-logos span {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 10px;
  color: #d8e6ff;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
}

.use-cases {
  margin-top: 16px;
}

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

.use-grid > div {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px;
  background: rgba(10, 18, 34, 0.6);
}

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

.pricing-card {
  display: grid;
  align-content: start;
  gap: 10px;
}

.price {
  margin: 4px 0;
  font-size: 2rem;
  font-weight: 700;
  color: #d4e3ff;
}

.price span {
  font-size: 1rem;
  color: var(--muted);
  margin-left: 4px;
}

.plain-list {
  margin: 0 0 8px;
  padding-left: 18px;
  color: var(--muted);
  display: grid;
  gap: 8px;
}

.featured-pricing {
  outline: 1px solid #5f89ff;
  box-shadow: 0 0 0 3px rgba(95, 137, 255, 0.15);
}

.faq {
  margin-top: 16px;
}

.faq details {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px;
  margin-top: 10px;
  background: rgba(8, 14, 26, 0.45);
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
}

.faq p {
  margin: 10px 0 0;
  color: var(--muted);
}

.final-cta {
  margin-top: 16px;
  text-align: center;
}

.final-cta .hero-actions {
  justify-content: center;
}

.landing-footer {
  margin-top: 20px;
  padding: 18px 8px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--muted);
}

.landing-footer nav {
  display: flex;
  gap: 12px;
}

.landing-footer a {
  color: var(--text);
  text-decoration: none;
}

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

.testimonial p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
}

.testimonial small {
  display: block;
  margin-top: 12px;
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.cta {
  background: var(--accent);
  color: white;
}

.cta:hover {
  border-color: transparent;
  background: var(--accent-hover);
}

@media (max-width: 860px) {
  .landing-nav {
    flex-wrap: wrap;
    gap: 10px;
  }

  .hero-layout {
    grid-template-columns: 1fr;
  }

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

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

  .sidebar {
    position: static;
    height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

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

  .wide {
    grid-column: span 1;
  }

  .wallet-kpi-grid,
  .wallet-main-grid {
    grid-template-columns: 1fr;
  }

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

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

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

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

  .use-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Panel-style landing redesign ===== */
.ps-body {
  background: #060b17;
  color: #eef3ff;
}

.ps-nav {
  max-width: 1180px;
  margin: 0 auto;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.ps-brand {
  color: #f2f7ff;
  font-size: 1.28rem;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.ps-links {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.ps-links a {
  color: #d4deef;
  text-decoration: none;
  font-size: 0.95rem;
}

.ps-nav .site-nav-toggle {
  margin-left: auto;
}

.ps-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 20px 36px;
  display: grid;
  gap: 20px;
}

.ps-hero {
  border: 1px solid #23314f;
  border-radius: 18px;
  background: linear-gradient(180deg, #0f1a2f 0%, #0a1326 100%);
  padding: clamp(24px, 4vw, 44px);
  box-shadow: 0 24px 46px rgba(0, 0, 0, 0.28);
}

.ps-pill {
  display: inline-block;
  border: 1px solid #304368;
  background: rgba(62, 115, 255, 0.16);
  border-radius: 999px;
  padding: 6px 12px;
  color: #c6d9ff;
  font-size: 0.82rem;
  font-weight: 600;
}

.ps-hero h1 {
  margin: 14px 0 12px;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.16;
  letter-spacing: -0.03em;
}

.ps-hero p {
  margin: 0;
  color: #aebdd6;
  max-width: 860px;
  line-height: 1.65;
}

.ps-hero-actions {
  margin-top: 22px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.ps-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 12px;
  border: 1px solid #304368;
  text-decoration: none;
  font-size: 0.93rem;
  font-weight: 700;
  transition: 0.18s ease;
}

.ps-btn-primary {
  background: #4c7bff;
  border-color: transparent;
  color: #fff;
}

.ps-btn-primary:hover {
  background: #3f70f7;
}

.ps-btn-ghost {
  color: #dbe7ff;
  background: transparent;
}

.ps-btn-ghost:hover {
  border-color: #4f76bf;
  background: rgba(31, 48, 84, 0.45);
}

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

.ps-card {
  border: 1px solid #22314e;
  border-radius: 14px;
  padding: 16px;
  background: #0d162a;
}

.ps-card h3 {
  margin: 0;
  font-size: 1.6rem;
  color: #d3e2ff;
}

.ps-card p {
  margin: 8px 0 0;
  color: #9eb0cf;
}

.ps-section {
  border: 1px solid #1f2c46;
  border-radius: 16px;
  background: #0c1427;
  padding: clamp(20px, 2.5vw, 30px);
}

.ps-heading span {
  color: #8fa4c8;
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-weight: 700;
}

.ps-heading h2 {
  margin: 10px 0 0;
  font-size: clamp(1.3rem, 2.8vw, 2rem);
  letter-spacing: -0.02em;
}

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

.ps-feature {
  border: 1px solid #23314f;
  border-radius: 12px;
  padding: 14px;
  background: #101b33;
}

.ps-feature h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.ps-feature p {
  margin: 0;
  color: #9cafcf;
  font-size: 0.92rem;
  line-height: 1.55;
}

.ps-tags {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ps-tags span {
  border: 1px solid #2a3e66;
  background: #101c35;
  color: #c8d8f3;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 0.82rem;
}

.ps-steps {
  margin: 16px 0 0;
  padding-left: 20px;
  display: grid;
  gap: 10px;
}

.ps-steps li {
  color: #dbe6fb;
  line-height: 1.4;
}

.ps-steps li span {
  display: block;
  margin-top: 4px;
  color: #9fb2d3;
  font-size: 0.92rem;
}

.ps-faq {
  margin-top: 14px;
  display: grid;
  gap: 10px;
}

.ps-faq details {
  border: 1px solid #2a3b5e;
  border-radius: 10px;
  background: #101a31;
  padding: 12px;
}

.ps-faq summary {
  cursor: pointer;
  font-weight: 700;
}

.ps-faq p {
  margin: 10px 0 0;
  color: #9eb2d3;
  line-height: 1.55;
}

.ps-download {
  border: 1px solid #27385b;
  border-radius: 16px;
  background: linear-gradient(180deg, #132142 0%, #0d1730 100%);
  padding: clamp(22px, 3vw, 32px);
  text-align: center;
}

.ps-download h2 {
  margin: 0;
  font-size: clamp(1.4rem, 2.8vw, 2rem);
}

.ps-download p {
  margin: 10px auto 0;
  max-width: 760px;
  color: #a9bbda;
}

.ps-download .ps-hero-actions {
  justify-content: center;
}

.ps-footer {
  max-width: 1180px;
  margin: 20px auto 0;
  padding: 24px 20px 34px;
  border-top: 1px solid #1d2c49;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.ps-footer h3 {
  margin: 0;
}

.ps-footer p {
  margin: 8px 0 0;
  color: #9cafcf;
  max-width: 540px;
  line-height: 1.5;
  font-size: 0.93rem;
}

.ps-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: flex-start;
}

.ps-footer nav a {
  color: #d4e0f9;
  text-decoration: none;
}

@media (max-width: 980px) {
  .ps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .ps-nav,
  .ps-wrap,
  .ps-footer {
    padding-left: 14px;
    padding-right: 14px;
  }

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

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

  .site-header {
    padding: 14px 14px 0;
  }

  .site-header-links,
  .ps-nav .ps-links {
    display: none;
  }

  .site-nav-toggle {
    display: inline-flex;
  }
}

/* ===== Portal Verse — matches portalverse.io (light marketing site) ===== */
body.panelsite-body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  background: #f5f6f8;
  color: #1e293b;
  -webkit-font-smoothing: antialiased;
}

.panelsite-logo {
  flex-shrink: 0;
}

.panelsite-header {
  max-width: 1100px;
  margin: 12px auto 0;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(226, 232, 240, 0.9);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
  position: sticky;
  top: 10px;
  z-index: 50;
}

.panelsite-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #0f172a;
  font-weight: 800;
  font-size: 1.1875rem;
  letter-spacing: -0.02em;
}

.panelsite-brand-mark {
  color: #3297f1;
  font-size: 1rem;
}

.panelsite-nav-desktop {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  margin-left: auto;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.panelsite-nav-desktop a {
  text-decoration: none;
  color: #334155;
  font-size: 0.9375rem;
  font-weight: 500;
}

.panelsite-nav-desktop a:hover {
  color: #2b8ef5;
}

.panelsite-nav-login {
  font-weight: 600 !important;
  color: #2b8ef5 !important;
}

.panelsite-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  text-decoration: none;
  padding: 8px 14px;
  font-weight: 700;
}

.panelsite-btn-primary {
  background: #2f9af6;
  color: #fff;
}

.panelsite-toggle {
  border: 0;
  background: transparent;
}

.panelsite-toggle span {
  background: #32a0f4;
  width: 22px;
}

.panelsite-main {
  max-width: 1140px;
  margin: 8px auto 0;
  padding: 8px max(16px, 3vw) 40px;
  display: grid;
  gap: clamp(18px, 2.5vw, 28px);
}

.panelsite-hero,
.panelsite-section {
  background: #ffffff;
  border-radius: 24px;
  padding: clamp(20px, 4vw, 32px);
  border: 1px solid #e8edf5;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.panelsite-hero-grid {
  display: grid;
  gap: 28px;
  align-items: center;
}

.panelsite-hero-copy h1 {
  margin: 0;
  font-size: clamp(1.65rem, 4vw, 2.85rem);
  line-height: 1.18;
  text-align: center;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: #0f172a;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.panelsite-hero-copy p {
  margin: 16px auto 0;
  max-width: 34rem;
  text-align: center;
  color: #64748b;
  font-size: clamp(1rem, 1.1vw, 1.0625rem);
  line-height: 1.65;
}

.panelsite-hero-visual {
  margin: 8px auto 0;
  max-width: 280px;
  min-height: clamp(200px, 24vw, 320px);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.panelsite-phone {
  position: relative;
  width: min(220px, 70vw);
  height: min(440px, 85vw);
  max-height: 480px;
  border-radius: 32px;
  background: linear-gradient(165deg, #e0f0ff 0%, #f8fafc 40%, #dbeafe 100%);
  border: 3px solid #e2e8f0;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.15);
  transform: rotate(-6deg);
}

.panelsite-phone::after {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 24px;
  background: radial-gradient(circle at 30% 20%, rgba(43, 142, 245, 0.15), transparent 55%), #fff;
  border: 1px solid #e2e8f0;
}

.panelsite-stat-row {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 560px) {
  .panelsite-stat-row {
    grid-template-columns: minmax(0, 0.38fr) minmax(0, 1fr);
    align-items: stretch;
  }
}

.panelsite-stat {
  background: #f1f5f9;
  border-radius: 16px;
  padding: 16px 18px;
  text-align: center;
  border: 1px solid #e2e8f0;
}

.panelsite-stat-value {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.panelsite-stat-label {
  display: block;
  margin-top: 4px;
  font-size: 0.9rem;
  color: #64748b;
  font-weight: 500;
}

.panelsite-stat-wide {
  text-align: center;
}

.panelsite-stat-tagline {
  font-size: 0.95rem;
  font-weight: 600;
  color: #334155;
  line-height: 1.45;
}

.panelsite-store-row {
  margin-top: 14px;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.panelsite-store-btn {
  border: 1px solid #d2dbeb;
  border-radius: 10px;
  padding: 10px 14px;
  text-decoration: none;
  color: #182033;
  font-weight: 600;
  background: #fff;
}

.panelsite-store-btn-dark {
  border-color: rgba(255, 255, 255, 0.65);
  color: #fff;
  background: transparent;
}

.panelsite-store-row-light {
  margin-top: 20px;
  justify-content: center;
}

.panelsite-store-btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  font-size: 0.8125rem;
  padding: 12px 14px;
  border-radius: 12px;
}

.panelsite-store-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

.panelsite-section h2 {
  margin: 0;
  text-align: center;
  font-size: clamp(1.4rem, 3.8vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.panelsite-feature-stack {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.panelsite-feature-stack .panelsite-soft-card {
  margin: 0;
}

.panelsite-soft-card {
  border-radius: 22px;
  padding: 22px;
  border: 1px solid rgba(226, 232, 240, 0.9);
}

.panelsite-soft-card-gray {
  background: #eef2f7;
}

.panelsite-soft-card-rose {
  background: #fdf2f4;
}

.panelsite-soft-card-gold {
  background: #fffbeb;
}

.panelsite-soft-card-sky {
  background: #eff6ff;
}

.panelsite-soft-card h3 {
  margin: 0 0 10px;
  font-size: clamp(1.05rem, 2.6vw, 1.28rem);
  font-weight: 700;
  color: #0f172a;
}

.panelsite-soft-card p {
  margin: 0;
  color: #64748b;
  line-height: 1.65;
  font-size: 0.96rem;
}

.panelsite-center {
  text-align: center;
}

.panelsite-center p {
  margin: 12px auto 0;
  max-width: 820px;
  color: #4c5a74;
}

.panelsite-badge-row {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.panelsite-badge-row span {
  border-radius: 999px;
  background: #eef3fb;
  color: #2b3a58;
  padding: 8px 11px;
  font-size: 0.84rem;
}

.panelsite-center-title {
  text-align: center;
}

.panelsite-timeline {
  margin: 14px 0 0;
  padding: 0 0 0 26px;
  list-style: none;
  position: relative;
  display: grid;
  gap: 12px;
}

.panelsite-timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 4px;
  background: #2b8ef5;
  border-radius: 4px;
}

.panelsite-timeline li {
  position: relative;
  background: #fff;
  border: 1px solid #ebeff6;
  border-radius: 16px;
  padding: 14px;
}

.panelsite-timeline li::before {
  content: "";
  position: absolute;
  left: -24px;
  top: 22px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2b8ef5;
  border: 3px solid #ffffff;
}

.panelsite-timeline h3 {
  margin: 0;
  font-size: clamp(1.05rem, 2.4vw, 1.22rem);
  letter-spacing: -0.02em;
  font-weight: 700;
  color: #0f172a;
}

.panelsite-timeline p {
  margin: 8px 0 0;
  color: #64748b;
  font-size: 0.9375rem;
  line-height: 1.55;
}

.panelsite-subtle {
  text-align: center;
  color: #5b6781;
}

.panelsite-faq-accordion {
  margin-top: 8px;
  border-top: 1px solid #e8edf5;
}

.panelsite-faq-item {
  border-bottom: 1px solid #e8edf5;
}

.panelsite-faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 4px;
  font-size: 1rem;
  font-weight: 600;
  color: #0f172a;
}

.panelsite-faq-item summary::-webkit-details-marker {
  display: none;
}

.panelsite-faq-item summary::after {
  content: "→";
  font-size: 1rem;
  color: #0f172a;
  transition: transform 0.2s ease;
}

.panelsite-faq-item[open] summary::after {
  transform: rotate(90deg);
}

.panelsite-faq-item p {
  margin: 0 0 16px;
  padding: 0 4px;
  color: #64748b;
  font-size: 0.94rem;
  line-height: 1.6;
}

.panelsite-download {
  border-radius: 24px;
  padding: 32px 20px;
  background: linear-gradient(180deg, #2b8ef5 0%, #1e74e4 100%);
  color: #fff;
  text-align: center;
  border: none;
  box-shadow: 0 12px 40px rgba(43, 142, 245, 0.35);
}

.panelsite-download h2 {
  margin: 0;
  font-size: clamp(1.5rem, 3.5vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.panelsite-download p {
  margin: 12px auto 0;
  max-width: 420px;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.5;
}

.panelsite-store-row-center {
  justify-content: flex-start;
}

.panelsite-footer {
  margin-top: 8px;
  background: #0f172a;
  color: #f8fafc;
  padding: 40px 20px 28px;
  display: grid;
  gap: 22px;
}

.panelsite-footer-brand .panelsite-brand {
  font-size: 1.0625rem;
}

.panelsite-brand--footer {
  color: #f8fafc;
}

.panelsite-footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.panelsite-footer-nav a {
  color: #e2e8f0;
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
}

.panelsite-footer-nav a:hover {
  color: #7dd3fc;
}

.panelsite-footer-contact strong {
  display: block;
  margin-bottom: 6px;
  font-size: 0.875rem;
  color: #f8fafc;
}

.panelsite-footer-contact a {
  color: #f8fafc;
  text-decoration: none;
  font-size: 0.9375rem;
}

.panelsite-footer-contact a:hover {
  text-decoration: underline;
}

.panelsite-footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.panelsite-icon-link {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.875rem;
}

.panelsite-icon-link:hover {
  color: #e2e8f0;
}

.panelsite-footer-legal {
  padding-top: 20px;
  border-top: 1px solid rgba(148, 163, 184, 0.28);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 0.8125rem;
  color: #94a3b8;
}

.panelsite-privacy {
  color: #94a3b8;
  text-decoration: none;
}

.panelsite-privacy:hover {
  color: #e2e8f0;
}

/* —— Desktop / large screens —— */
@media (min-width: 900px) {
  .panelsite-header {
    max-width: 1140px;
    padding: 12px 24px;
    margin-top: 16px;
  }

  .panelsite-hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(260px, 380px);
    gap: clamp(28px, 4vw, 52px);
  }

  .panelsite-hero-copy h1,
  .panelsite-hero-copy p {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
    max-width: 40rem;
  }

  .panelsite-hero-visual {
    margin: 0;
    max-width: none;
    justify-self: end;
    width: 100%;
    min-height: 320px;
  }

  .panelsite-phone {
    width: 260px;
    height: 500px;
    max-height: none;
    transform: rotate(-5deg);
  }

  .panelsite-stat-row {
    grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
    margin-top: 28px;
  }

  .panelsite-feature-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 22px;
  }

  .panelsite-timeline {
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
  }

  .panelsite-faq-accordion {
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
  }

  .panelsite-download {
    padding: 40px 48px;
  }

  .panelsite-footer {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 40px;
    row-gap: 20px;
    padding: 48px max(32px, calc((100vw - 1140px) / 2)) 36px;
    align-items: start;
  }

  .panelsite-footer-social {
    grid-column: 1 / -1;
    padding-top: 8px;
  }

  .panelsite-footer-legal {
    grid-column: 1 / -1;
  }

  .panelsite-footer-nav {
    justify-content: flex-start;
  }
}

@media (min-width: 1200px) {
  .panelsite-hero-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(300px, 420px);
  }

  .panelsite-phone {
    width: 280px;
    height: 540px;
  }
}

/* Mobile menu — full-width sheet like portalverse.io (not a narrow dark sidebar) */
body.panelsite-body .site-nav-panel.panelsite-nav-drawer {
  width: 100%;
  max-width: 100vw;
  left: 0;
  right: 0;
  margin: 0;
  padding: 0;
  gap: 0;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-left: none;
  box-shadow: none;
  transform: translateX(100%);
  transition: transform 0.34s cubic-bezier(0.4, 0, 0.2, 1);
  padding-bottom: env(safe-area-inset-bottom, 0);
  z-index: 200;
}

body.panelsite-body.nav-open .site-nav-panel.panelsite-nav-drawer {
  transform: translateX(0);
}

.panelsite-drawer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid #e8edf5;
  flex-shrink: 0;
}

.panelsite-brand--drawer {
  font-size: 1.0625rem;
}

.panelsite-drawer-close {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 12px;
  background: transparent;
  color: #2b8ef5;
  font-size: 1.85rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 300;
}

.panelsite-drawer-close:hover {
  background: rgba(43, 142, 245, 0.08);
}

.panelsite-drawer-nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 4px 18px 28px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.panelsite-drawer-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 17px 0;
  border: none;
  border-radius: 0;
  border-bottom: 1px solid #e8edf5;
  background: transparent;
  text-decoration: none;
  color: #0f172a;
  font-size: 1rem;
  font-weight: 500;
}

.panelsite-drawer-nav a:not(.panelsite-drawer-login)::after {
  content: "→";
  flex-shrink: 0;
  font-size: 1rem;
  color: #0f172a;
  opacity: 0.55;
  font-weight: 400;
}

.panelsite-drawer-nav a:active {
  opacity: 0.8;
}

.panelsite-drawer-login {
  margin-top: 8px;
  padding-top: 22px !important;
  border-bottom: none !important;
  color: #2b8ef5 !important;
  font-weight: 600 !important;
}

body.panelsite-body .site-nav-backdrop {
  background: rgba(15, 23, 42, 0.35);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  z-index: 190;
}

body.panelsite-body .site-nav-toggle {
  border: none;
  background: transparent;
  width: 44px;
  height: 44px;
  padding: 0;
}

body.panelsite-body .site-nav-toggle span {
  background: #2b8ef5;
}

@media (min-width: 781px) {
  /* Mobile-only overlay; never show on desktop (matches portalverse.io PC layout) */
  body.panelsite-body .site-nav-panel.panelsite-nav-drawer {
    display: none !important;
  }

  body.panelsite-body .site-nav-backdrop.panelsite-nav-backdrop {
    display: none !important;
  }

  .panelsite-toggle {
    display: none;
  }
}

@media (max-width: 780px) {
  body.panelsite-body .site-nav-panel.panelsite-nav-drawer {
    display: flex !important;
  }

  body.panelsite-body .site-nav-backdrop.panelsite-nav-backdrop {
    display: block;
  }

  .panelsite-nav-desktop {
    display: none;
  }

  .panelsite-toggle {
    display: inline-flex;
  }
}

/* ===== Portal Verse-style auth (login / forgot password) — light UI ===== */
body.portalverse-auth {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  background: #ffffff;
  color: #111827;
  -webkit-font-smoothing: antialiased;
}

body.portalverse-auth--subpage {
  background: #f9fafb;
}

.portalverse-auth-top {
  padding: 16px 20px;
}

.portalverse-auth-top--border {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  padding: 14px 20px;
}

.portalverse-auth-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #111827;
  font-weight: 800;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
}

.portalverse-auth-brand-icon {
  flex-shrink: 0;
}

.portalverse-auth-shell {
  position: relative;
  min-height: calc(100vh - 72px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 20px 40px;
  overflow: hidden;
}

.portalverse-auth-shell--sub {
  align-items: stretch;
  max-width: 480px;
  margin: 0 auto;
  justify-content: flex-start;
  padding-top: 20px;
}

.portalverse-auth-glow {
  pointer-events: none;
  position: absolute;
  width: min(520px, 95vw);
  height: min(520px, 90vw);
  left: 50%;
  top: 42%;
  transform: translate(-50%, -50%);
  background: radial-gradient(
    circle,
    rgba(59, 130, 246, 0.22) 0%,
    rgba(147, 197, 253, 0.12) 35%,
    rgba(255, 255, 255, 0) 70%
  );
  z-index: 0;
}

.portalverse-auth-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: min(440px, 100%);
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 28px 24px 24px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

.portalverse-auth-card--narrow {
  max-width: min(400px, 100%);
  margin: 0 auto;
}

.portalverse-auth-title {
  margin: 0 0 24px;
  font-size: 1.25rem;
  font-weight: 700;
  text-align: center;
  color: #111827;
  letter-spacing: -0.02em;
}

.portalverse-auth-lede {
  margin: -8px 0 22px;
  font-size: 0.9375rem;
  line-height: 1.55;
  text-align: center;
  color: #6b7280;
}

.portalverse-auth-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.portalverse-auth-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.portalverse-auth-field--align-start .portalverse-auth-label {
  text-align: left;
}

.portalverse-auth-label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: #6b7280;
}

.portalverse-auth-form input:not([type="hidden"]) {
  width: 100%;
  margin: 0;
  padding: 12px 14px;
  font-size: 1rem;
  font-family: inherit;
  color: #111827;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.portalverse-auth-form input::placeholder {
  color: #9ca3af;
}

.portalverse-auth-form input:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.portalverse-auth-input-addon {
  position: relative;
  display: flex;
  align-items: center;
}

.portalverse-auth-input-addon input {
  padding-right: 48px;
}

.portalverse-auth-eye {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  color: #9ca3af;
}

.portalverse-auth-eye:hover {
  background: #f3f4f6;
}

.portalverse-auth-link-row {
  margin: -6px 0 2px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #2563eb;
  text-decoration: none;
  align-self: flex-start;
}

.portalverse-auth-link-row:hover {
  text-decoration: underline;
}

.portalverse-auth-primary {
  width: 100%;
  margin: 0;
  padding: 14px 18px;
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  color: #ffffff;
  background: #2563eb;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.portalverse-auth-primary:hover {
  background: #1d4ed8;
}

.portalverse-auth-signup {
  margin: 22px 0 0;
  text-align: center;
  font-size: 0.9375rem;
  color: #9ca3af;
}

.portalverse-auth-signup a {
  color: #2563eb;
  font-weight: 600;
  text-decoration: none;
}

.portalverse-auth-signup a:hover {
  text-decoration: underline;
}

.portalverse-auth-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 20px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #374151;
  text-decoration: none;
}

.portalverse-auth-back:hover {
  color: #111827;
}

.portalverse-auth-back-icon {
  font-size: 1.1rem;
  line-height: 1;
}

.toast.toast-light {
  background: #ffffff;
  color: #111827;
  border: 1px solid #e5e7eb;
  border-left: 4px solid #2563eb;
  box-shadow: 0 10px 40px rgba(15, 23, 42, 0.12);
}

/* Sign up — side accents + welcome header */
body.portalverse-auth--signup {
  overflow-x: hidden;
}

.portalverse-auth-shell--signup {
  justify-content: flex-start;
  padding-top: 8px;
  padding-bottom: 48px;
}

.portalverse-auth-decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.portalverse-auth-blob {
  position: absolute;
  border-radius: 50%;
}

.portalverse-auth-blob--left {
  left: max(-140px, -18vw);
  top: 12%;
  width: min(240px, 45vw);
  height: min(420px, 70vh);
  background: radial-gradient(
    ellipse at center,
    rgba(59, 130, 246, 0.32) 0%,
    rgba(147, 197, 253, 0.12) 45%,
    rgba(255, 255, 255, 0) 70%
  );
  filter: blur(42px);
  opacity: 0.9;
}

.portalverse-auth-blob--right {
  right: max(-160px, -20vw);
  top: 32%;
  width: min(260px, 48vw);
  height: min(380px, 65vh);
  background: radial-gradient(
    ellipse at center,
    rgba(96, 165, 250, 0.28) 0%,
    rgba(191, 219, 254, 0.12) 50%,
    rgba(255, 255, 255, 0) 72%
  );
  filter: blur(44px);
  opacity: 0.85;
}

.portalverse-auth-glow--signup {
  top: 28%;
  opacity: 0.45;
}

.portalverse-auth-card--signup {
  margin-top: 4px;
}

.portalverse-auth-welcome {
  margin: 0 0 10px;
  font-size: clamp(1.35rem, 4.5vw, 1.625rem);
  font-weight: 700;
  text-align: center;
  color: #111827;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.portalverse-auth-welcome-sub {
  margin: 0 0 26px;
  font-size: 0.9375rem;
  text-align: center;
  color: #9ca3af;
  line-height: 1.5;
}

.portalverse-auth-card--signup .portalverse-auth-form {
  gap: 20px;
}

.portalverse-auth-pass-hints {
  margin: 6px 0 0;
  padding-left: 1.15rem;
  font-size: 0.75rem;
  color: #9ca3af;
  line-height: 1.5;
}

.portalverse-auth-optional {
  font-weight: 400;
  color: #9ca3af;
}

.portalverse-auth-consent {
  margin: -6px 0 2px;
  font-size: 0.75rem;
  line-height: 1.55;
  text-align: center;
  color: #9ca3af;
}

.portalverse-auth-consent a {
  color: #2563eb;
  font-weight: 500;
  text-decoration: none;
}

.portalverse-auth-consent a:hover {
  text-decoration: underline;
}

.portalverse-auth-card--signup .portalverse-auth-label {
  color: #374151;
  font-weight: 500;
}

/* Email verification */
.portalverse-verify-card {
  text-align: center;
}

.portalverse-verify-icon {
  font-size: 2.75rem;
  line-height: 1;
  margin: 0 0 12px;
  opacity: 0.85;
}

.portalverse-verify-icon--ok {
  color: #16a34a;
  font-weight: 700;
}

.portalverse-verify-heading {
  margin-bottom: 12px !important;
}

.portalverse-verify-lede {
  margin: 0 0 8px;
  max-width: 26rem;
  margin-left: auto;
  margin-right: auto;
}

.portalverse-verify-email {
  color: #111827;
  word-break: break-word;
}

.portalverse-verify-hint {
  list-style: none;
  padding: 0;
  margin: 10px auto 0;
  max-width: 22rem;
  text-align: center;
}

.portalverse-verify-dev {
  font-size: 0.72rem;
  line-height: 1.45;
  color: #6b7280;
  text-align: left;
  margin: 18px 0 0;
  padding: 12px 14px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
}

.portalverse-verify-dev code {
  font-size: 0.68rem;
  background: #f3f4f6;
  padding: 2px 5px;
  border-radius: 4px;
}

.portalverse-verify-actions {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.portalverse-verify-secondary-link {
  margin: 0 !important;
  align-self: center;
  justify-content: center;
}

.portalverse-verify-login-cta {
  display: block;
  text-align: center;
  text-decoration: none;
  margin-top: 8px;
}

.portalverse-verify-error .portalverse-verify-heading {
  color: #b91c1c;
}

/* ===== Portal Verse dashboard (app shell) ===== */
.ps-dash-body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, system-ui, -apple-system, Segoe UI, sans-serif;
  background: #f4f5f7;
  color: #2f4058;
}

.ps-dash-body .hidden {
  display: none !important;
}

.ps-dash-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.35);
  z-index: 90;
  opacity: 0;
  transition: opacity 0.2s ease;
}

body.dash-drawer-open .ps-dash-backdrop {
  display: block;
  opacity: 1;
}

body.dash-drawer-open {
  overflow: hidden;
}

.ps-dash-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(400px, 88vw);
  max-width: 100%;
  background: #fff;
  z-index: 100;
  box-shadow: 4px 0 24px rgba(15, 23, 42, 0.12);
  transform: translateX(-105%);
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  padding: 18px 16px 20px;
  overflow: auto;
}

body.dash-drawer-open .ps-dash-drawer {
  transform: translateX(0);
}

.ps-dash-drawer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.ps-dash-drawer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.ps-dash-drawer-brand-text {
  font-weight: 700;
  font-size: 1.15rem;
}

.ps-dash-drawer-close {
  border: none;
  background: transparent;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: #64748b;
  padding: 4px 8px;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
}

.ps-dash-drawer-close:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.ps-dash-drawer-search {
  position: relative;
  margin-bottom: 18px;
}

.ps-dash-drawer-search .ps-dash-search-ic {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  pointer-events: none;
}

.ps-dash-drawer-search .ps-dash-search-input {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px 12px 42px;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  font: inherit;
  font-size: 0.9rem;
  background: #fafbfc;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.ps-dash-drawer-search .ps-dash-search-input:focus {
  outline: none;
  border-color: #1a88e1;
  box-shadow: 0 0 0 3px rgba(26, 136, 225, 0.2);
  background: #fff;
}

.ps-dash-drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.ps-dash-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  text-decoration: none;
  color: #64748b;
  font-weight: 500;
  font-size: 0.95rem;
  transition: background 0.15s, color 0.15s, transform 0.12s;
}

.ps-dash-nav-item:hover {
  background: #f1f5f9;
  color: #334155;
}

.ps-dash-nav-item.is-active {
  background: #1a88e1;
  color: #fff;
}

.ps-dash-nav-item.is-active .ps-dash-nav-ic {
  color: #fff;
}

.ps-dash-nav-ic {
  display: flex;
  color: #94a3b8;
}

.ps-dash-drawer-promo {
  margin-top: 20px;
  padding: 18px 16px;
  border-radius: 16px;
  background: linear-gradient(145deg, #1a88e1 0%, #1570c4 100%);
  color: #fff;
  font-size: 0.88rem;
  line-height: 1.45;
}

.ps-dash-promo-crown {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.ps-dash-promo-stores {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.ps-dash-store-btn {
  flex: 1;
  min-width: 120px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 2px solid rgba(255, 255, 255, 0.85);
  background: transparent;
  color: #fff;
  font-weight: 600;
  font-size: 0.82rem;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.ps-dash-store-btn:hover {
  background: #fff;
  color: #1a88e1;
}

.ps-dash-drawer-footer {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #e2e8f0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.ps-dash-auth-hint {
  font-size: 0.75rem;
}

.ps-dash-logout {
  margin-left: auto;
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  background: #fff;
  font: inherit;
  font-size: 0.85rem;
  cursor: pointer;
  color: #64748b;
  transition: background 0.15s, border-color 0.15s;
}

.ps-dash-logout:hover {
  background: #fef2f2;
  border-color: #fecaca;
  color: #b91c1c;
}

.ps-dash-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #f4f5f7;
}

/* —— Hero (matches mobile-app DashboardScreen.js light theme) —— */
.ps-dash-hero {
  background: #2d93df;
  color: #fff;
  padding: 8px 14px 22px;
  border-bottom-left-radius: 22px;
  border-bottom-right-radius: 22px;
  min-height: 260px;
  box-sizing: border-box;
}

.ps-dash-hero-top {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.ps-dash-hero-profile-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1;
}

.ps-dash-hero-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: #fff;
  cursor: pointer;
  flex-shrink: 0;
}

.ps-dash-hero-avatar-wrap {
  position: relative;
  width: 58px;
  height: 58px;
  border-radius: 29px;
  background: #fff;
  border: 2px solid rgba(255, 255, 255, 0.55);
  overflow: visible;
  flex-shrink: 0;
}

.ps-dash-hero-avatar {
  width: 100%;
  height: 100%;
  border-radius: 29px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #2f4058;
  font-weight: 800;
  font-size: 1.35rem;
}

.ps-dash-hero-avatar-dot {
  position: absolute;
  width: 11px;
  height: 11px;
  border-radius: 6px;
  background: #ff9800;
  right: 2px;
  bottom: 4px;
  border: 1.5px solid #fff;
  box-sizing: border-box;
}

.ps-dash-hero-welcome {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.ps-dash-welcome-label {
  color: #cae8ff;
  font-size: 0.75rem;
  font-weight: 600;
}

.ps-dash-welcome-name {
  color: #fff;
  font-size: 1.28rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  max-width: 205px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ps-dash-hero-icon-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.ps-dash-hero-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.ps-dash-hero-balance {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.ps-dash-hero-balance-label {
  color: #cae8ff;
  font-size: 0.75rem;
  font-weight: 700;
}

.ps-dash-hero-balance-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 4px;
}

.ps-dash-wallet-amount {
  font-size: 2.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1;
}

.ps-dash-wallet-amount.ps-dash-balance--masked {
  letter-spacing: 0.12em;
  font-size: 2rem;
}

.ps-dash-eye.ps-dash-eye--hero {
  background: transparent;
  color: #cae8ff;
  padding: 4px;
  border-radius: 8px;
}

.ps-dash-eye.ps-dash-eye--hero:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.ps-dash-eye[aria-pressed="true"] .ps-dash-eye-open {
  display: none;
}

.ps-dash-eye[aria-pressed="true"] .ps-dash-eye-slashed {
  display: block !important;
}

.ps-dash-fund-btn--hero {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  margin-left: auto;
  margin-right: auto;
  width: 132px;
  height: 42px;
  padding: 0;
  border-radius: 12px;
  background: #fff;
  color: #2d93df;
  font-weight: 700;
  font-size: 0.94rem;
  text-decoration: none;
  box-shadow: 0 5px 9px rgba(0, 17, 58, 0.15);
  transition: transform 0.15s, box-shadow 0.15s;
}

.ps-dash-fund-btn--hero:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(0, 17, 58, 0.18);
}

.ps-dash-main {
  flex: 1;
  padding: 0 12px 26px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.ps-dash-quick {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: flex-start;
  gap: 8px;
  margin-top: -16px;
  margin-bottom: 15px;
  position: relative;
  z-index: 2;
  padding: 14px 8px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e8edf3;
  box-shadow: 0 4px 8px rgba(0, 17, 58, 0.12);
}

.ps-dash-quick-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 64px;
  padding: 4px 6px;
  text-align: center;
  text-decoration: none;
  color: #2f4058;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 10px;
  background: transparent;
  border: none;
  transition: opacity 0.15s;
}

.ps-dash-quick-item:hover {
  opacity: 0.88;
}

.ps-dash-quick-icon {
  width: auto;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 0;
  color: #2f4058;
  background: transparent;
}

.ps-dash-grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-bottom: 0;
}

.ps-dash-panel {
  margin-top: 15px;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
}

.ps-dash-panel:hover {
  box-shadow: none;
}

.ps-dash-panel-title--inline {
  margin: 0 0 8px;
  padding: 0 12px;
  font-size: 1.25rem;
  font-weight: 700;
  color: #1f2b3f;
}

.ps-dash-inline-count {
  color: #3f6df6;
  font-weight: 700;
}

.ps-dash-panel-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
}

.ps-dash-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  background: #e8f4fd;
  color: #1a88e1;
}

.ps-dash-panel-body {
  margin-top: 8px;
  background: #fff;
  border-radius: 10px;
  border: 1px solid #e8edf3;
  min-height: 104px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
}

.ps-dash-app-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 8px;
  text-align: center;
}

.ps-dash-app-empty-icon {
  width: 34px;
  height: 34px;
  border-radius: 17px;
  background: #f0f3f8;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7888a1;
}

.ps-dash-app-empty-label {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #7888a1;
}

.ps-dash-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px 12px 8px;
}

.ps-dash-empty-illu {
  position: relative;
  width: 100px;
  height: 72px;
  margin-bottom: 14px;
}

.ps-dash-empty-cloud {
  opacity: 0.85;
}

.ps-dash-empty-mag {
  position: absolute;
  right: 8px;
  bottom: 2px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.2);
}

.ps-dash-empty-title {
  font-weight: 700;
  font-size: 1rem;
  margin: 0 0 6px;
}

.ps-dash-empty-sub {
  margin: 0;
  font-size: 0.85rem;
  color: #94a3b8;
  max-width: 260px;
}

.ps-dash-rent-list {
  display: flex;
  flex-direction: column;
}

.ps-dash-rent-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  padding: 10px 0;
  border-bottom: 1px solid #e8edf3;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.ps-dash-rent-row:last-child {
  border-bottom: none;
}

.ps-dash-rent-row:hover .ps-dash-rent-number {
  color: #3f6df6;
}

.ps-dash-rent-chev {
  color: #7888a1;
  flex-shrink: 0;
}

.ps-dash-rent-number {
  font-size: 0.875rem;
  font-weight: 700;
  color: #2f4058;
}

.ps-dash-rent-order {
  font-size: 0.6875rem;
  font-weight: 600;
  color: #7888a1;
  margin-top: 3px;
}

.ps-dash-rent-meta {
  font-size: 0.75rem;
  color: #7888a1;
  margin-top: 2px;
}

/* Promo banners (horizontal scroll, matches React Native DashboardScreen) */
.ps-dash-banner-row {
  margin-top: 4px;
}

.ps-dash-banner-scroll {
  display: flex;
  flex-direction: row;
  gap: 10px;
  overflow-x: auto;
  padding: 16px 0 8px;
  margin: 0 -12px;
  padding-left: 12px;
  padding-right: 12px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.ps-dash-banner-scroll::-webkit-scrollbar {
  display: none;
}

.ps-dash-banner-scroll .ps-dash-banner--app {
  flex: 0 0 262px;
  min-width: 262px;
  scroll-snap-align: start;
}

.ps-dash-banner--app {
  background: #0e9f79;
  min-height: 96px;
  border-radius: 10px;
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.ps-dash-banner--app::after {
  display: none;
}

.ps-dash-banner--app .ps-dash-banner-copy strong {
  display: block;
  font-size: 0.9375rem;
  font-weight: 800;
  margin-bottom: 3px;
}

.ps-dash-banner--app .ps-dash-banner-copy p {
  margin: 0 0 8px;
  color: #d8fff0;
  font-size: 0.75rem;
  line-height: 1.42;
}

.ps-dash-banner-cta--muted {
  display: inline-block;
  color: #fff;
  font-weight: 600;
  font-size: 0.75rem;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: default;
}

.ps-dash-dots-row {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 7px;
  margin-top: 10px;
}

.ps-dash-dot {
  width: 6px;
  height: 6px;
  border-radius: 3px;
  background: #e8edf3;
}

.ps-dash-dot--active {
  width: 14px;
  border-radius: 6px;
  background: #3f6df6;
}

.ps-dash-carousel-wrap {
  margin-bottom: 24px;
}

.ps-dash-carousel-viewport {
  overflow: hidden;
  border-radius: 16px;
}

.ps-dash-carousel-track {
  display: flex;
  transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
}

.ps-dash-carousel-slide {
  flex: 0 0 100%;
  min-width: 100%;
  box-sizing: border-box;
}

.ps-dash-banner {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px 20px;
  min-height: 120px;
  border-radius: 16px;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.ps-dash-banner::after {
  content: "";
  position: absolute;
  inset: -40% -20%;
  background: radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.15), transparent 55%);
  pointer-events: none;
}

.ps-dash-banner--community {
  background: linear-gradient(125deg, #1a88e1, #6366f1);
}

.ps-dash-banner--funding {
  background: linear-gradient(125deg, #0d9488, #1a88e1);
}

.ps-dash-banner-icon {
  font-size: 2rem;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
}

.ps-dash-banner-copy {
  position: relative;
  z-index: 1;
}

.ps-dash-banner-copy strong {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.ps-dash-banner-copy p {
  margin: 0 0 10px;
  font-size: 0.9rem;
  opacity: 0.95;
  line-height: 1.4;
}

.ps-dash-banner-cta {
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 0.9rem;
}

.ps-dash-banner-cta:hover {
  opacity: 0.92;
}

.ps-dash-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 12px;
}

.ps-dash-carousel-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #e2e8f0;
  background: #fff;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  color: #475569;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.ps-dash-carousel-arrow:hover {
  background: #e8f4fd;
  border-color: #1a88e1;
  color: #1a88e1;
}

.ps-dash-carousel-dots {
  display: flex;
  gap: 8px;
}

.ps-dash-carousel-dots button {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: none;
  background: #cbd5e1;
  cursor: pointer;
  padding: 0;
  transition: width 0.2s, background 0.2s;
}

.ps-dash-carousel-dots button.is-active {
  width: 22px;
  background: #1a88e1;
}

.ps-dash-tx-section {
  background: transparent;
  border: none;
  padding: 0;
  margin-top: 15px;
}

.ps-dash-tx-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  padding: 0 12px;
}

.ps-dash-tx-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: #1f2b3f;
}

.ps-dash-link-all {
  color: #3f6df6;
  font-weight: 700;
  font-size: 0.8125rem;
  text-decoration: none;
}

.ps-dash-link-all:hover {
  text-decoration: underline;
}

.ps-dash-tx-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 8px;
  background: #fff;
  border: 1px solid #e8edf3;
  border-radius: 10px;
  padding: 4px 12px;
}

.ps-dash-empty-tx {
  text-align: center;
  padding: 10px 12px;
  color: #7888a1;
  font-size: 0.875rem;
  font-weight: 500;
}

.ps-dash-tx-group + .ps-dash-tx-group {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid #f1f5f9;
}

.ps-dash-tx-date {
  font-size: 0.8rem;
  color: #94a3b8;
  margin-bottom: 12px;
}

.ps-dash-tx-left {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 9px;
  flex: 1;
  min-width: 0;
}

.ps-dash-tx-row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid #f1f5f9;
}

.ps-dash-tx-row:last-child {
  border-bottom: none;
}

.ps-dash-tx-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #f0f3f8;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8392aa;
  flex-shrink: 0;
}

.ps-dash-tx-title-row {
  font-weight: 700;
  font-size: 0.9375rem;
  color: #2f4058;
  text-transform: capitalize;
}

.ps-dash-tx-time {
  font-size: 0.6875rem;
  color: #7888a1;
  margin-top: 2px;
}

.ps-dash-tx-amt {
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

.ps-dash-tx-amt--in {
  color: #c93557;
}

.ps-dash-tx-amt--out {
  color: #2f4058;
}

@media (min-width: 1100px) {
  .ps-dash-main {
    max-width: 1100px;
  }
}

/* Desktop: persistent drawer (same shell as app + wider canvas) */
@media (min-width: 1024px) {
  .ps-dash-backdrop {
    display: none !important;
  }

  .ps-dash-drawer {
    transform: translateX(0) !important;
    width: 244px;
    border-right: 1px solid #edf1f5;
    box-shadow: none;
    z-index: 20;
    padding: 14px 12px 16px;
  }

  .ps-dash-drawer-close {
    display: none;
  }

  .ps-dash-shell {
    margin-left: 244px;
    min-height: 100vh;
    background: #f4f5f7;
  }

  .ps-dash-hero-menu-btn {
    display: none;
  }

  .ps-dash-main {
    max-width: 780px;
    margin: 0 auto;
    padding: 0 24px 34px;
  }

  .ps-dash-panel-body {
    min-height: 104px;
  }

  .ps-dash-tx-row {
    padding: 8px 0;
  }
}

@media (max-width: 768px) {
  .ps-dash-main {
    padding: 0 10px 28px;
  }

  .ps-dash-welcome-name {
    font-size: 1.15rem;
    max-width: 170px;
  }

  .ps-dash-wallet-amount {
    font-size: 2.35rem;
  }

  .ps-dash-panel-title--inline {
    font-size: 1.16rem;
    padding: 0 2px;
  }
}

/* ========== App chrome: drawer + tabs (parity with mobile-app/App.js) ========== */
.ps-app-chrome-pack {
  display: contents;
}

.ps-app-drawer.ps-dash-drawer {
  width: min(360px, 88vw);
  padding: 0;
  background: #ffffff;
}

.ps-app-drawer-scroll {
  max-height: 100vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.ps-app-drawer-sheet {
  padding: 14px 16px 20px;
  padding-bottom: calc(20px + env(safe-area-inset-bottom, 0));
}

.ps-app-drawer-head {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.ps-app-drawer-brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.ps-app-drawer-logo {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #3f6df6;
  color: #fff;
  font-weight: 900;
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: -0.02em;
}

.ps-app-drawer-title {
  font-size: 1.06rem;
  font-weight: 800;
  color: #1f2b3f;
  letter-spacing: -0.02em;
}

.ps-app-drawer-close-chip {
  width: 36px;
  height: 36px;
  border-radius: 18px;
  border: none;
  background: #f0f3f8;
  color: #7888a1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.ps-app-drawer-search {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  border: 1px solid #d9e2f3;
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 18px;
  background: #f1f4f8;
}

.ps-app-drawer-search-ic {
  color: #7888a1;
  flex-shrink: 0;
}

.ps-app-drawer-search-input {
  flex: 1;
  border: none;
  background: transparent;
  font: inherit;
  font-size: 0.88rem;
  color: #1f2b3f;
  min-width: 0;
}

.ps-app-drawer-search-input:focus {
  outline: none;
}

.ps-app-drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.ps-app-nav-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  text-decoration: none;
  color: #2f4058;
  font-size: 0.94rem;
  font-weight: 700;
  transition: background 0.15s, color 0.15s;
}

.ps-app-nav-row .ps-app-nav-ic {
  display: flex;
  color: #7888a1;
  flex-shrink: 0;
}

.ps-app-nav-row.is-active {
  background: #3f6df6;
  color: #fff;
}

.ps-app-nav-row.is-active .ps-app-nav-ic {
  color: #fff;
}

.ps-app-nav-row.is-active .ps-app-nav-ic svg {
  stroke: #fff;
}

.ps-app-drawer-theme {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid #d9e2f3;
  background: #f1f4f8;
  margin-bottom: 14px;
}

.ps-app-drawer-theme-text strong {
  display: block;
  font-size: 0.94rem;
  font-weight: 800;
  color: #1f2b3f;
}

.ps-app-drawer-theme-text span {
  display: block;
  font-size: 0.75rem;
  color: #5f6f8d;
  margin-top: 3px;
  line-height: 1.35;
  max-width: 220px;
}

.ps-app-theme-switch {
  position: relative;
  width: 48px;
  height: 28px;
  flex-shrink: 0;
}

.ps-app-theme-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.ps-app-theme-slider {
  position: absolute;
  inset: 0;
  background: #d9e2f3;
  border-radius: 14px;
  cursor: pointer;
  transition: background 0.2s;
}

.ps-app-theme-slider::after {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  left: 3px;
  top: 3px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s;
}

.ps-app-theme-switch input:checked + .ps-app-theme-slider {
  background: #3f6df6;
}

.ps-app-theme-switch input:checked + .ps-app-theme-slider::after {
  transform: translateX(20px);
}

.ps-app-auth-strip {
  margin: 0 0 12px;
}

.ps-app-drawer-promo {
  background: #2d93df;
  border-radius: 16px;
  padding: 18px;
  margin-bottom: 16px;
  color: #fff;
}

.ps-app-promo-crown {
  font-size: 1.35rem;
  margin-bottom: 6px;
}

.ps-app-promo-title {
  margin: 0 0 6px;
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1.35;
}

.ps-app-promo-body {
  margin: 0 0 12px;
  font-size: 0.75rem;
  line-height: 1.45;
  color: #cae8ff;
  opacity: 0.95;
}

.ps-app-store-light {
  width: 100%;
  margin-top: 6px;
  padding: 10px 12px;
  border-radius: 10px;
  border: none;
  background: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  color: #111827;
  cursor: pointer;
}

.ps-app-store-dark {
  width: 100%;
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(0, 0, 0, 0.22);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: #fff;
  cursor: pointer;
}

.ps-app-sign-out {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  margin-top: 8px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #f7bfd0;
  background: #ffeef2;
  color: #c93557;
  font-size: 0.94rem;
  font-weight: 800;
  cursor: pointer;
  font-family: inherit;
}

.ps-app-tabbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 85;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: stretch;
  min-height: calc(52px + env(safe-area-inset-bottom, 0));
  padding-top: 6px;
  padding-bottom: env(safe-area-inset-bottom, 0);
  background: #ffffff;
  border-top: 1px solid #e5e5ea;
  box-sizing: border-box;
}

.ps-app-tab {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 2px;
  padding: 2px 4px 8px;
  text-decoration: none;
  color: #545454;
  font-size: 0.69rem;
  font-weight: 500;
  min-width: 0;
}

.ps-app-tab-ic {
  display: flex;
  align-items: center;
  justify-content: center;
  color: inherit;
}

.ps-app-tab.is-active {
  color: #007aff;
}

.ps-app-tab.is-active .ps-app-tab-ic {
  color: #007aff;
}

.ps-app-main-pad {
  padding-bottom: calc(58px + env(safe-area-inset-bottom, 0));
}

.ps-app-subheader {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #f1f4f8;
  border-bottom: 1px solid #e8edf3;
  position: sticky;
  top: 0;
  z-index: 25;
}

.ps-app-menu-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid #d9e2f3;
  background: #fff;
  color: #1f2b3f;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.ps-app-subheader-title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 800;
  color: #1f2b3f;
}

.ps-app-boost-card,
.ps-app-esim-card {
  margin-bottom: 16px;
}

[data-theme="dark"] .ps-app-drawer.ps-dash-drawer,
[data-theme="dark"] .ps-app-drawer-scroll {
  background: #121c30;
}

[data-theme="dark"] .ps-app-drawer-title,
[data-theme="dark"] .ps-app-nav-row {
  color: #cbd5ec;
}

[data-theme="dark"] .ps-app-nav-row.is-active {
  color: #fff;
}

[data-theme="dark"] .ps-app-drawer-search,
[data-theme="dark"] .ps-app-drawer-theme {
  background: #1b2942;
  border-color: #2a3a5d;
}

[data-theme="dark"] .ps-app-drawer-search-input {
  color: #eaf1ff;
}

[data-theme="dark"] .ps-app-subheader {
  background: #121c30;
  border-color: #2a3a5d;
}

[data-theme="dark"] .ps-app-tabbar {
  background: #121c30;
  border-color: #2a3a5d;
}

[data-theme="dark"] .ps-app-tab {
  color: #a8b3cc;
}

[data-theme="dark"] .ps-app-tab.is-active {
  color: #5f8dff;
}

@media (min-width: 1024px) {
  .ps-app-tabbar {
    display: none;
  }

  .ps-app-main-pad {
    padding-bottom: 24px;
  }

  .ps-app-subheader {
    display: none;
  }

  .ps-app-page-stack {
    margin-left: 244px;
    min-height: 100vh;
    background: #f4f5f7;
    padding-top: 8px;
  }

  .ps-app-drawer-close-chip {
    display: none;
  }
}

/* App-style Wallet / Settings / Support / FAQ (matches React Native screens) */
.ps-app-wallet-body .ps-app-wallet-drawerbar,
.ps-app-settings-body .ps-app-wallet-drawerbar,
.ps-app-support-body .ps-app-subheader.ps-app-wallet-drawerbar,
body[data-page="faq"] .ps-app-wallet-drawerbar {
  background: #f4f5f7;
}

@media (min-width: 1024px) {
  .ps-app-wallet-body .ps-app-wallet-drawerbar,
  .ps-app-settings-body .ps-app-wallet-drawerbar,
  .ps-app-support-body .ps-app-subheader,
  body[data-page="faq"] .ps-app-wallet-drawerbar {
    display: none;
  }
}

.ps-app-wallet {
  flex: 1;
  background: #f4f5f7;
  min-height: calc(100vh - 52px);
  padding-bottom: 100px;
  box-sizing: border-box;
}

.ps-app-wallet-topbar {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  margin: 12px 12px 0;
}

.ps-app-wallet-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 800;
  color: #1f2b3f;
}

.ps-app-wallet-iconbtn {
  width: 32px;
  height: 32px;
  border-radius: 16px;
  border: none;
  background: #f0f3f8;
  color: #1f2b3f;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.ps-app-wallet-scroll {
  padding: 20px 8px 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ps-app-wallet-hero {
  margin: 4px 4px 6px;
  padding: 20px 18px 22px;
  border-radius: 16px;
  background: linear-gradient(135deg, #1f2d4a 0%, #2d4a8c 52%, #3f6df6 100%);
  color: #fff;
  box-shadow: 0 14px 40px rgba(45, 74, 140, 0.28);
}

.ps-app-wallet-hero-label {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  opacity: 0.88;
}

.ps-app-wallet-hero-balance {
  margin: 8px 0 0;
  font-size: clamp(2rem, 7vw, 2.6rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.ps-app-wallet-hero-hint {
  margin: 10px 0 0;
  font-size: 0.8125rem;
  line-height: 1.45;
  opacity: 0.9;
  font-weight: 500;
}

.ps-app-fapshi-panel .ps-app-fapshi-heading {
  margin: 0 0 6px;
  font-size: 1.125rem;
  font-weight: 800;
  color: #1f2b3f;
}

.ps-app-fapshi-lead {
  margin: 0 0 10px;
  font-size: 0.875rem;
  line-height: 1.45;
  color: #4a5d78;
}

.ps-app-fapshi-meta {
  margin-bottom: 10px;
}

.ps-app-fapshi-unavail {
  margin: 0 0 10px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #c62828;
}

.ps-app-fapshi-security {
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: flex-start;
  margin-top: 14px;
  padding: 12px;
  border-radius: 10px;
  background: #f3f7ff;
  border: 1px solid #d6e4ff;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: #2f4058;
}

.ps-app-fapshi-security svg {
  flex-shrink: 0;
  color: #3f6df6;
  margin-top: 1px;
}

.ps-app-wallet-choose {
  margin: 0 4px 6px;
  font-size: clamp(1.5rem, 5vw, 2.1rem);
  font-weight: 700;
  color: #1f2b3f;
  line-height: 1.15;
}

.ps-app-method-card {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  text-align: left;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid #e8edf3;
  background: #fff;
  cursor: pointer;
  font: inherit;
  box-sizing: border-box;
}

.ps-app-method-card.is-selected .ps-app-method-radio {
  border-color: #3f6df6;
  background: #3f6df6;
}

.ps-app-method-ic {
  width: 30px;
  height: 30px;
  border-radius: 15px;
  background: #f0f3f8;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2f4058;
  flex-shrink: 0;
  margin-top: 3px;
}

.ps-app-method-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.ps-app-method-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1f2b3f;
}

.ps-app-method-sub {
  font-size: 0.94rem;
  font-weight: 700;
  color: #3f6df6;
}

.ps-app-method-text {
  font-size: 0.875rem;
  line-height: 1.35;
  color: #7888a1;
}

.ps-app-method-radio {
  width: 18px;
  height: 18px;
  border-radius: 9px;
  border: 1.5px solid #e8edf3;
  flex-shrink: 0;
  margin-top: 5px;
  box-sizing: border-box;
}

.ps-app-select-card {
  width: 100%;
  height: 52px;
  border-radius: 10px;
  border: 1px solid #e8edf3;
  background: #fff;
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1rem;
  font-weight: 700;
  color: #1f2b3f;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
}

#walletItemSummary {
  color: #7888a1;
  font-weight: 600;
}

.ps-app-amount-card {
  margin-top: 4px;
  background: #fff;
  border-radius: 10px;
  border: 1px solid #e8edf3;
  padding: 18px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
}

.ps-app-amount-prompt {
  margin: 0;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: #2f4058;
}

.ps-app-amount-label {
  display: block;
}

.ps-app-amount-input {
  width: 100%;
  border: none;
  background: transparent;
  font-size: 2rem;
  font-weight: 800;
  color: #1f2b3f;
  text-align: center;
  font-family: inherit;
}

.ps-app-amount-input:focus {
  outline: none;
}

.ps-app-warning-card {
  display: flex;
  flex-direction: row;
  gap: 8px;
  align-items: flex-start;
  margin-top: 6px;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid #d9981b;
  background: #ffeef2;
  font-size: 0.75rem;
  line-height: 1.42;
  color: #d9981b;
}

.ps-app-balance-inline {
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #7888a1;
  margin-top: 4px;
}

.ps-app-wallet-proceed {
  position: fixed;
  z-index: 40;
  left: 12px;
  right: 12px;
  height: 54px;
  border-radius: 10px;
  border: none;
  background: #3f6df6;
  color: #fff;
  font-size: 0.94rem;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
  bottom: calc(68px + env(safe-area-inset-bottom, 0));
}

@media (min-width: 1024px) {
  .ps-app-wallet-proceed {
    left: 256px;
    right: 24px;
    bottom: 20px;
    max-width: 480px;
    margin: 0 auto;
  }

  .ps-app-wallet {
    margin: 0 auto;
    max-width: 720px;
    padding-bottom: 90px;
    min-height: 100vh;
  }
}

/* Settings */
.ps-app-settings-hero {
  background: #2d93df;
  padding-bottom: 60px;
  position: relative;
}

.ps-app-settings-back {
  position: absolute;
  left: 14px;
  top: 14px;
  width: 36px;
  height: 36px;
  border-radius: 18px;
  border: none;
  background: rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.ps-app-settings-avatar-wrap {
  display: flex;
  justify-content: center;
  margin-top: -55px;
  position: relative;
  z-index: 2;
}

.ps-app-settings-avatar {
  width: 110px;
  height: 110px;
  border-radius: 55px;
  background: #f0f3f8;
  border: 4px solid #f4f5f7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.25rem;
  font-weight: 800;
  color: #7888a1;
}

.ps-app-settings-main {
  padding: 14px 14px 32px;
  margin-top: 14px;
}

.ps-app-settings-section-label {
  margin: 6px 0 4px;
  font-size: 0.875rem;
  font-weight: 800;
  color: #1f2b3f;
}

.ps-app-settings-card {
  border: 1px solid #e8edf3;
  background: #fff;
  border-radius: 12px;
  padding: 4px 14px;
  margin-bottom: 10px;
}

.ps-app-kv-row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  gap: 12px;
}

.ps-app-kv-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #2f4058;
}

.ps-app-kv-value {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #1f2b3f;
  max-width: 62%;
  text-align: right;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ps-app-kv-divider {
  height: 1px;
  background: #e8edf3;
}

.ps-app-settings-menu {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ps-app-settings-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid #e8edf3;
  background: #fff;
  text-decoration: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
  box-sizing: border-box;
}

.ps-app-settings-row span:nth-child(2) {
  flex: 1;
  text-align: left;
  font-size: 0.875rem;
  font-weight: 700;
  color: #1f2b3f;
}

.ps-app-settings-row-ic {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2f4058;
}

.ps-app-settings-row--danger .ps-app-settings-row-ic,
.ps-app-settings-row--danger span:nth-child(2) {
  color: #c93557;
}

.ps-app-settings-row svg:last-child {
  flex-shrink: 0;
  color: #7888a1;
}

/* Support */
.ps-app-support-hero {
  background: #2d93df;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 42px 12px 24px;
}

.ps-app-support-back {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  margin-top: 8px;
  width: 34px;
  height: 34px;
  border-radius: 17px;
  border: none;
  background: rgba(255, 255, 255, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.ps-app-support-hero-title {
  margin: 0;
  color: #fff;
  font-size: 1.06rem;
  font-weight: 700;
}

.ps-app-support-body {
  flex: 1;
  background: #f4f5f7;
  padding: 10px 10px 28px;
}

.ps-app-support-card {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e8edf3;
  padding: 12px;
}

.ps-app-support-heading {
  margin: 0;
  text-align: center;
  font-size: 1rem;
  font-weight: 800;
  color: #1f2b3f;
}

.ps-app-support-sub {
  margin: 2px 0 12px;
  text-align: center;
  font-size: 0.8125rem;
  color: #7888a1;
}

.ps-app-support-search {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  height: 42px;
  border-radius: 21px;
  border: 1px solid #e8edf3;
  background: #f1f4f8;
  padding: 0 12px;
  color: #7888a1;
}

.ps-app-support-search input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 0.8125rem;
  color: #2f4058;
  min-width: 0;
}

.ps-app-support-search input:focus {
  outline: none;
}

.ps-app-support-faq-row {
  margin-top: 10px;
  height: 52px;
  border-radius: 10px;
  border: 1px solid #e8edf3;
  background: #f1f4f8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  text-decoration: none;
  color: inherit;
  box-sizing: border-box;
}

.ps-app-support-faq-left {
  display: flex;
  align-items: center;
  gap: 9px;
}

.ps-app-support-faq-ic {
  width: 22px;
  height: 22px;
  border-radius: 11px;
  background: #f0f3f8;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2f4058;
}

.ps-app-support-faq-row span span:last-child {
  font-size: 0.875rem;
  font-weight: 600;
  color: #2f4058;
}

.ps-app-support-connect {
  margin-top: 14px;
  border-radius: 12px;
  border: 1px solid #e8edf3;
  background: #f1f4f8;
  padding: 14px;
  text-align: center;
}

.ps-app-support-connect-title {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 700;
  color: #1f2b3f;
}

.ps-app-support-connect-sub {
  margin: 6px 0 14px;
  font-size: 0.8125rem;
  color: #7888a1;
}

.ps-app-support-action {
  display: flex;
  width: 100%;
  height: 40px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 9px;
  background: #2d93df;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  margin-bottom: 10px;
}

.ps-app-support-action:last-child {
  margin-bottom: 0;
}

/* FAQ */
.ps-app-faq-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #f4f5f7;
  border-bottom: 1px solid #e8edf3;
}

.ps-app-faq-back {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid #d9e2f3;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #1f2b3f;
}

.ps-app-faq-title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 800;
  color: #1f2b3f;
}

.ps-app-faq-main {
  padding: 12px 14px 40px;
  background: #f4f5f7;
  min-height: 60vh;
}

.ps-app-faq-item {
  border: 1px solid #e8edf3;
  border-radius: 10px;
  background: #fff;
  margin-bottom: 8px;
  overflow: hidden;
}

.ps-app-faq-q {
  width: 100%;
  text-align: left;
  padding: 14px 14px;
  border: none;
  background: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  color: #1f2b3f;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: inherit;
}

.ps-app-faq-q::after {
  content: "›";
  color: #7888a1;
  font-size: 1.2rem;
  font-weight: 600;
  transition: transform 0.2s ease;
  display: inline-block;
}

.ps-app-faq-a {
  display: none;
  padding: 0 14px 14px;
  font-size: 0.82rem;
  line-height: 1.45;
  color: #5f6f8d;
}

.ps-app-faq-item.is-open .ps-app-faq-a {
  display: block;
}

.ps-app-faq-item.is-open .ps-app-faq-q::after {
  transform: rotate(90deg);
}

.ps-app-ledger-card {
  margin-top: 12px;
}

/* ===== Unified Portal Verse design system (website-wide) ===== */
:root {
  --ps-bg: #f5f6f8;
  --ps-surface: #ffffff;
  --ps-surface-soft: #f8fafc;
  --ps-border: #e8edf5;
  --ps-text: #0f172a;
  --ps-text-body: #64748b;
  --ps-text-muted: #94a3b8;
  --ps-primary: #2b8ef5;
  --ps-primary-hover: #1e74e4;
  --ps-radius-sm: 10px;
  --ps-radius-md: 14px;
  --ps-radius-lg: 22px;
  --ps-shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.04);
  --ps-shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
}

body.panelsite-body {
  background: var(--ps-bg);
  color: var(--ps-text);
}

.panelsite-header {
  border-color: var(--ps-border);
  box-shadow: var(--ps-shadow-md);
}

.panelsite-nav-desktop a {
  color: #334155;
}

.panelsite-nav-desktop a:hover,
.panelsite-nav-login {
  color: var(--ps-primary) !important;
}

.panelsite-hero,
.panelsite-section {
  border-color: var(--ps-border);
  box-shadow: var(--ps-shadow-sm);
}

.panelsite-hero-copy h1,
.panelsite-section h2,
.panelsite-soft-card h3,
.panelsite-timeline h3,
.panelsite-faq-item summary {
  color: var(--ps-text);
}

.panelsite-hero-copy p,
.panelsite-soft-card p,
.panelsite-center p,
.panelsite-timeline p,
.panelsite-faq-item p {
  color: var(--ps-text-body);
}

.panelsite-soft-card {
  border-color: #e6ebf3;
}

.panelsite-download {
  background: linear-gradient(180deg, var(--ps-primary) 0%, var(--ps-primary-hover) 100%);
}

.portalverse-auth {
  background: radial-gradient(circle at 50% 0%, #f3f7ff 0%, #ffffff 45%, #f8fafc 100%);
  color: var(--ps-text);
}

.portalverse-auth-top {
  padding: 18px 22px;
}

.portalverse-auth-brand {
  color: var(--ps-text);
  font-size: 1.1rem;
  font-weight: 800;
}

.portalverse-auth-card {
  border: 1px solid var(--ps-border);
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
  padding: 30px 24px 24px;
}

.portalverse-auth-title,
.portalverse-auth-welcome {
  color: var(--ps-text);
  letter-spacing: -0.02em;
}

.portalverse-auth-lede,
.portalverse-auth-welcome-sub,
.portalverse-auth-signup,
.portalverse-auth-consent {
  color: var(--ps-text-body);
}

.portalverse-auth-label {
  color: #475569;
}

.portalverse-auth-form input:not([type="hidden"]) {
  border: 1px solid #dbe3f0;
  border-radius: 12px;
  background: #ffffff;
}

.portalverse-auth-form input:focus {
  border-color: var(--ps-primary);
  box-shadow: 0 0 0 3px rgba(43, 142, 245, 0.14);
}

.portalverse-auth-primary {
  border-radius: 12px;
  background: var(--ps-primary);
  font-weight: 700;
}

.portalverse-auth-primary:hover {
  background: var(--ps-primary-hover);
}

.ps-dash-body {
  background: var(--ps-bg);
  color: #2f4058;
}

.ps-dash-hero {
  background: linear-gradient(180deg, #2f9af6 0%, #2b8ef5 100%);
  border-bottom-left-radius: 24px;
  border-bottom-right-radius: 24px;
}

.ps-dash-fund-btn--hero {
  color: var(--ps-primary);
  border-radius: 12px;
}

.ps-dash-quick,
.ps-dash-panel-body,
.ps-dash-tx-list,
.ps-app-support-card,
.ps-app-settings-card,
.ps-app-method-card,
.ps-app-amount-card,
.ps-app-faq-item {
  border: 1px solid var(--ps-border);
  box-shadow: var(--ps-shadow-sm);
}

.ps-dash-panel-title--inline,
.ps-dash-tx-title,
.ps-app-wallet-title,
.ps-app-support-heading,
.ps-app-settings-section-label,
.ps-app-faq-title {
  color: var(--ps-text);
  letter-spacing: -0.01em;
}

.ps-app-support-action,
.ps-app-wallet-proceed {
  background: var(--ps-primary);
  color: #ffffff;
}

.ps-app-wallet-proceed:hover,
.ps-app-support-action:hover {
  background: var(--ps-primary-hover);
}

.ps-dash-link-all,
.ps-app-method-sub {
  color: var(--ps-primary);
}
