/* App shell — sidebar layout, glass cards, packages */

.app-body {
  min-height: 100vh;
  background: var(--dash-glow), var(--color-navy);
  color: var(--color-ivory);
}

.app-shell {
  display: flex;
  min-height: 100vh;
}

/* Sidebar */
.app-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 40;
  width: 260px;
  display: flex;
  flex-direction: column;
  padding: var(--space-4);
  background: rgba(7, 20, 34, 0.82);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border-right: 1px solid var(--border);
  overflow-y: auto;
  transition: transform 0.35s var(--ease-out);
}

html[data-theme="light"] .app-sidebar {
  background: rgba(255, 255, 255, 0.92);
}

.app-sidebar__brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-2) var(--space-4);
  border-bottom: 1px solid var(--border);
  margin-bottom: var(--space-3);
}

.app-sidebar__brand .brand-mark {
  font-size: 1.15rem;
}

.app-sidebar__close {
  display: none;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--color-ivory);
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
}

.app-nav {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  flex: 1;
}

.app-nav__label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-ivory-mute);
  padding: var(--space-3) var(--space-3) var(--space-2);
}

.app-nav a {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.75rem;
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-ivory-dim);
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.app-nav a:hover {
  background: rgba(30, 200, 200, 0.1);
  color: var(--color-ivory);
  text-decoration: none;
}

.app-nav a.is-active {
  background: linear-gradient(
    135deg,
    rgba(255, 61, 104, 0.22),
    rgba(30, 200, 200, 0.16)
  );
  color: var(--color-ivory);
  border: 1px solid var(--border-strong);
  box-shadow: 0 0 24px rgba(255, 61, 104, 0.12);
}

.app-nav a.is-earn {
  font-weight: 700;
}

.app-nav a.is-earn-wa {
  color: #ff7a96;
}

.app-nav a.is-earn-wa:hover {
  background: rgba(255, 61, 104, 0.14);
  color: #ffb3c4;
}

.app-nav a.is-earn-wa.is-active {
  background: linear-gradient(135deg, rgba(255, 61, 104, 0.32), rgba(255, 107, 74, 0.14));
  border-color: rgba(255, 61, 104, 0.5);
  color: #ffd0da;
  box-shadow: 0 0 24px rgba(255, 61, 104, 0.18);
}

.app-nav a.is-earn-jobs {
  color: #ffd24a;
}

.app-nav a.is-earn-jobs:hover {
  background: rgba(245, 183, 0, 0.14);
  color: #ffe38a;
}

.app-nav a.is-earn-jobs.is-active {
  background: linear-gradient(135deg, rgba(245, 183, 0, 0.28), rgba(255, 210, 74, 0.12));
  border-color: rgba(245, 183, 0, 0.5);
  color: #ffe9a8;
  box-shadow: 0 0 24px rgba(245, 183, 0, 0.18);
}

.app-nav a.is-earn-write {
  color: #3de0d0;
}

.app-nav a.is-earn-write:hover {
  background: rgba(30, 200, 200, 0.14);
  color: #7af0e4;
}

.app-nav a.is-earn-write.is-active {
  background: linear-gradient(135deg, rgba(30, 200, 200, 0.28), rgba(61, 224, 208, 0.12));
  border-color: rgba(30, 200, 200, 0.5);
  color: #b8fff6;
  box-shadow: 0 0 24px rgba(30, 200, 200, 0.18);
}

.app-nav a.is-earn-trivia {
  color: #c084fc;
}

.app-nav a.is-earn-trivia:hover {
  background: rgba(168, 85, 247, 0.16);
  color: #e9d5ff;
}

.app-nav a.is-earn-trivia.is-active {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.32), rgba(192, 132, 252, 0.14));
  border-color: rgba(192, 132, 252, 0.5);
  color: #f3e8ff;
  box-shadow: 0 0 24px rgba(168, 85, 247, 0.2);
}

.app-nav__emoji {
  font-size: 1.1rem;
  width: 1.5rem;
  text-align: center;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.25));
}

.app-sidebar__foot {
  margin-top: auto;
  padding-top: var(--space-3);
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

/* Main column */
.app-main {
  flex: 1;
  margin-left: 260px;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.app-topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-5);
  background: var(--nav-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.app-topbar__left {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  min-width: 0;
}

.app-menu-btn {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--panel-bg);
  color: var(--color-ivory);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.app-menu-btn span {
  display: block;
  width: 1.1rem;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.app-topbar__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-lg);
  margin: 0;
  letter-spacing: -0.02em;
}

.app-topbar__sub {
  font-size: var(--text-xs);
  color: var(--color-ivory-mute);
  margin: 0.15rem 0 0;
}

.app-topbar__right {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.app-user {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.app-user__avatar {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-xs);
  background: var(--gradient-coral);
  color: var(--color-white);
  box-shadow: var(--shadow-glow-coral);
}

.app-user__name {
  font-size: var(--text-sm);
  font-weight: 700;
}

.app-user__meta {
  font-size: var(--text-xs);
  color: var(--color-ivory-mute);
}

.app-content {
  padding: var(--space-5);
  padding-bottom: var(--space-9);
  flex: 1;
}

.app-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 35;
  background: rgba(4, 16, 24, 0.55);
  backdrop-filter: blur(2px);
}

.app-overlay.is-open {
  display: block;
}

/* Glass surfaces */
.glass {
  position: relative;
  border-radius: var(--radius-xl);
  padding: var(--space-5);
  background: rgba(13, 36, 56, 0.55);
  backdrop-filter: blur(16px) saturate(1.25);
  -webkit-backdrop-filter: blur(16px) saturate(1.25);
  border: 1px solid rgba(247, 243, 235, 0.12);
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

html[data-theme="light"] .glass {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(7, 20, 34, 0.1);
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.glass::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 140%;
  height: 40%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.08),
    transparent 55%
  );
  pointer-events: none;
}

.glass--coral {
  border-color: rgba(255, 61, 104, 0.35);
  box-shadow: var(--shadow-soft), 0 0 40px rgba(255, 61, 104, 0.15);
}

.glass--aqua {
  border-color: rgba(30, 200, 200, 0.35);
  box-shadow: var(--shadow-soft), 0 0 40px rgba(30, 200, 200, 0.15);
}

.glass--gold {
  border-color: rgba(245, 183, 0, 0.4);
  box-shadow: var(--shadow-soft), 0 0 40px rgba(245, 183, 0, 0.18);
}

.glass--green {
  border-color: rgba(47, 214, 123, 0.35);
  box-shadow: var(--shadow-soft), 0 0 40px rgba(47, 214, 123, 0.14);
}

.glass h2,
.glass h3 {
  position: relative;
  z-index: 1;
}

/* Wallet cards */
.wallet-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
}

.wallet-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  min-height: 180px;
  position: relative;
  z-index: 1;
}

.wallet-card__icon {
  font-size: 1.75rem;
  line-height: 1;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

.wallet-card__label {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-ivory-mute);
  margin: 0;
}

.wallet-card__value {
  font-family: var(--font-currency);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0;
}

.wallet-card__meta {
  font-size: var(--text-sm);
  color: var(--color-ivory-dim);
  margin: 0;
  flex: 1;
}

.wallet-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: auto;
}

/* Stats strip */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
  margin-top: var(--space-5);
}

.stat-pill {
  padding: var(--space-4);
  border-radius: var(--radius-lg);
  background: var(--panel-bg);
  border: 1px solid var(--border);
  text-align: center;
}

.stat-pill__emoji {
  font-size: 1.25rem;
  display: block;
  margin-bottom: 0.35rem;
}

.stat-pill__value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-lg);
}

.stat-pill__label {
  font-size: var(--text-xs);
  color: var(--color-ivory-mute);
  margin-top: 0.2rem;
}

/* Page header */
.page-head {
  margin-bottom: var(--space-5);
}

.page-head h1 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 0.35rem;
}

.page-head p {
  margin: 0;
  color: var(--color-ivory-mute);
  font-size: var(--text-sm);
  max-width: 52ch;
}

/* Package grid */
.pkg-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--space-4);
}

.pkg-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-5);
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
  background: rgba(13, 36, 56, 0.6);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s ease;
}

html[data-theme="light"] .pkg-card {
  background: rgba(255, 255, 255, 0.85);
}

.pkg-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft), 0 0 32px rgba(30, 200, 200, 0.2);
}

.pkg-card__badge {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
}

.pkg-card__emoji {
  font-size: 2.25rem;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.35));
}

.pkg-card h3 {
  font-size: var(--text-xl);
  margin: 0;
}

.pkg-card__price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-2xl);
  letter-spacing: -0.03em;
  background: var(--hero-brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.pkg-card__cashback {
  font-size: var(--text-sm);
  color: var(--color-gold-soft);
  font-weight: 700;
}

.pkg-card__desc {
  font-size: var(--text-sm);
  color: var(--color-ivory-dim);
  margin: 0;
  flex: 1;
}

.pkg-card__features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: var(--text-sm);
  color: var(--color-ivory-dim);
}

.pkg-card__features li {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
}

.pkg-card .btn {
  width: 100%;
  margin-top: var(--space-2);
}

.pkg-card--owned {
  opacity: 0.92;
  box-shadow: inset 0 0 0 1px rgba(47, 214, 123, 0.35);
}

.pkg-card--owned .btn:disabled {
  cursor: default;
  opacity: 0.85;
  color: var(--color-success);
  border-color: rgba(47, 214, 123, 0.35);
}

.pkg-card--featured {
  border-color: rgba(255, 61, 104, 0.45);
  background: linear-gradient(
      160deg,
      rgba(255, 61, 104, 0.18),
      rgba(13, 36, 56, 0.7)
    ),
    rgba(13, 36, 56, 0.55);
}

.pkg-card--aqua {
  border-color: rgba(30, 200, 200, 0.4);
}

.pkg-card--gold {
  border-color: rgba(245, 183, 0, 0.45);
}

/* Forms in glass */
.form-panel {
  max-width: 480px;
}

.form-stack {
  display: grid;
  gap: var(--space-4);
  position: relative;
  z-index: 1;
}

.form-hint {
  font-size: var(--text-xs);
  color: var(--color-ivory-mute);
}

.file-drop {
  border: 1.5px dashed var(--border-strong);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  text-align: center;
  background: rgba(7, 20, 34, 0.35);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.file-drop:hover {
  border-color: var(--color-aqua);
  background: rgba(30, 200, 200, 0.08);
}

.file-drop__emoji {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.5rem;
}

.payout-preview {
  padding: var(--space-4);
  border-radius: var(--radius-md);
  background: rgba(47, 214, 123, 0.12);
  border: 1px solid rgba(47, 214, 123, 0.3);
  font-weight: 700;
}

.payout-preview span {
  color: var(--color-success);
  font-family: var(--font-display);
  font-size: var(--text-xl);
}

/* Checklist */
.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-3);
}

.check-list li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  background: var(--panel-bg);
  border: 1px solid var(--border);
}

.check-list__icon {
  font-size: 1.25rem;
}

.check-list__ok {
  border-color: rgba(47, 214, 123, 0.35);
}

.check-list__fail {
  border-color: rgba(255, 61, 104, 0.35);
}

/* Activity / tables */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
}

.data-table th,
.data-table td {
  text-align: left;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border);
}

.data-table th {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-ivory-mute);
  font-weight: 700;
}

.data-table tr:hover td {
  background: rgba(30, 200, 200, 0.05);
}

.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--panel-bg);
}

/* Advert showcase */
.advert-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-5);
  align-items: stretch;
}

.advert-visual {
  border-radius: var(--radius-xl);
  min-height: 280px;
  background: var(--gradient-mesh), var(--gradient-hero);
  display: grid;
  place-items: center;
  font-size: 5rem;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.advert-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(7, 20, 34, 0.5),
    transparent 50%
  );
}

/* Cash out list */
.claim-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: var(--space-4);
  border-radius: var(--radius-md);
  background: var(--panel-bg);
  border: 1px solid var(--border);
  margin-bottom: var(--space-3);
}

.claim-row__title {
  font-weight: 700;
}

.claim-row__meta {
  font-size: var(--text-xs);
  color: var(--color-ivory-mute);
}

.claim-row__amount {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--color-gold-soft);
  white-space: nowrap;
}

.gate-banner {
  padding: var(--space-4);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-4);
  font-size: var(--text-sm);
  border: 1px solid rgba(245, 183, 0, 0.4);
  background: rgba(245, 183, 0, 0.12);
}

.gate-banner--ok {
  border-color: rgba(47, 214, 123, 0.4);
  background: rgba(47, 214, 123, 0.12);
}

.gate-banner--blocked {
  border-color: rgba(255, 61, 104, 0.4);
  background: rgba(255, 61, 104, 0.12);
}

.hold-alert {
  position: relative;
  z-index: 1;
  padding: var(--space-5) var(--space-4);
  margin-bottom: var(--space-5);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 61, 104, 0.55);
  border-left: 6px solid #ff3d68;
  background: linear-gradient(135deg, rgba(255, 61, 104, 0.22), rgba(245, 183, 0, 0.18));
  color: #ffe8a3;
  font-size: var(--text-md);
  font-weight: 600;
  line-height: 1.55;
  box-shadow: 0 0 0 0 rgba(255, 61, 104, 0.45);
  animation: hold-alert-pulse 2.4s ease-in-out infinite;
}

.hold-alert__lead {
  margin: 0 0 var(--space-2);
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #ffd24a;
}

.hold-alert p {
  margin: 0;
}

.hold-alert strong {
  color: #fff6d6;
}

@keyframes hold-alert-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(255, 61, 104, 0.35);
  }
  50% {
    box-shadow: 0 0 18px 2px rgba(255, 61, 104, 0.45);
  }
}

.impersonation-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: 0.65rem var(--space-4);
  background: #c1121f;
  color: #fff;
  font-size: var(--text-sm);
  font-weight: 600;
  position: sticky;
  top: 0;
  z-index: 40;
}

.impersonation-banner form {
  margin: 0;
}

.impersonation-banner .btn {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}

/* Two column layout */
.split-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
  align-items: start;
}

.section-gap {
  margin-top: var(--space-5);
}

/* Admin badge */
.admin-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--gradient-gold);
  color: var(--color-ink);
}

.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--border);
}

.toggle-row:last-child {
  border-bottom: 0;
}

.switch {
  position: relative;
  width: 2.75rem;
  height: 1.5rem;
  flex-shrink: 0;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.switch__track {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-pill);
  background: var(--color-navy-soft);
  border: 1px solid var(--border-strong);
  cursor: pointer;
  transition: background 0.2s ease;
}

.switch__track::after {
  content: "";
  position: absolute;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  background: var(--color-ivory);
  top: 0.15rem;
  left: 0.15rem;
  transition: transform 0.2s var(--ease-out);
}

.switch input:checked + .switch__track {
  background: var(--color-aqua);
  border-color: var(--color-aqua);
}

.switch input:checked + .switch__track::after {
  transform: translateX(1.2rem);
}

/* Quick links */
.quick-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: var(--space-3);
  margin-top: var(--space-5);
}

.quick-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: var(--space-4);
  border-radius: var(--radius-lg);
  background: var(--panel-bg);
  border: 1px solid var(--border);
  text-align: center;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-ivory);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.quick-link:hover {
  border-color: var(--color-aqua);
  transform: translateY(-2px);
  text-decoration: none;
}

.quick-link span {
  font-size: 1.5rem;
}

/* Empty / status */
.status-pending {
  color: var(--color-warning);
  font-weight: 700;
}

.status-success {
  color: var(--color-success);
  font-weight: 700;
}

@media (max-width: 1100px) {
  .wallet-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .advert-hero,
  .split-2 {
    grid-template-columns: 1fr;
  }
}

/* Requirement / withdraw modals */
.ew-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: var(--space-4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease-out);
}

.ew-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.ew-modal[hidden] {
  display: none !important;
}

.ew-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 16, 24, 0.72);
  backdrop-filter: blur(8px);
}

.ew-modal__panel {
  position: relative;
  z-index: 1;
  width: min(100%, 420px);
  padding: var(--space-6) var(--space-5);
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.ew-modal__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: var(--radius-pill);
  background: rgba(247, 243, 235, 0.08);
  color: var(--color-ivory);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

.ew-modal__step-label {
  margin: 0 0 var(--space-3);
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-ivory-mute);
}

.ew-modal__emoji {
  font-size: 2.5rem;
  line-height: 1;
  margin-bottom: var(--space-3);
}

.ew-modal__panel h2 {
  margin: 0 0 var(--space-2);
  font-family: var(--font-display);
  font-size: var(--text-xl);
}

.ew-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  justify-content: center;
  margin-top: var(--space-5);
}

.ew-modal__dots {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  margin-top: var(--space-5);
}

.ew-modal__dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: rgba(247, 243, 235, 0.25);
}

.ew-modal__dot.is-active {
  background: var(--color-aqua);
  box-shadow: 0 0 0 3px rgba(30, 200, 200, 0.2);
}

.dash-ile-wrap {
  width: 100%;
  max-width: none;
  margin-bottom: var(--space-6);
}

.dash-ile-wrap .ile-card {
  width: 100%;
}

@media (min-width: 901px) {
  .dash-ile-wrap .ile-card__username {
    font-size: 1.3rem;
  }

  .dash-ile-wrap .ile-card__number {
    font-size: 1.12rem;
  }

  .dash-ile-wrap .ile-card__balance {
    font-size: 1.75rem;
  }
}

/* Dashboard bento wallet grid */
.wallet-grid--bento {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(96px, auto);
  gap: var(--space-3);
}

.wallet-grid--bento .wallet-card {
  width: 100%;
  min-height: 118px;
  gap: 0.45rem;
  padding: var(--space-3) var(--space-4) var(--space-4);
  border-radius: 1.25rem;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: 0 12px 28px -6px rgba(4, 16, 24, 0.28);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s ease;
  justify-content: flex-start;
}

.wallet-grid--bento .wallet-card:hover {
  transform: translateY(-3px) scale(1.01);
}

.wallet-grid--bento .wallet-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      125deg,
      rgba(255, 255, 255, 0.22) 0%,
      transparent 42%
    ),
    radial-gradient(
      circle at 88% 12%,
      rgba(255, 255, 255, 0.35),
      transparent 45%
    );
  pointer-events: none;
  z-index: 0;
}

.wallet-grid--bento .wallet-card::after {
  content: "";
  position: absolute;
  left: -20%;
  bottom: -45%;
  width: 70%;
  height: 90%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.18),
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
}

.wallet-grid--bento .wallet-card__blob {
  position: absolute;
  width: 9rem;
  height: 9rem;
  border-radius: 50%;
  right: -2.5rem;
  top: -2.5rem;
  background: rgba(255, 255, 255, 0.18);
  filter: blur(2px);
  pointer-events: none;
  z-index: 0;
}

.wallet-grid--bento .wallet-card > *:not(.wallet-card__blob) {
  position: relative;
  z-index: 1;
}

.wallet-grid--bento .wallet-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
}

.wallet-grid--bento .wallet-card__icon {
  width: 1.35rem;
  height: 1.35rem;
  display: grid;
  place-items: center;
  border-radius: 0;
  font-size: 1.05rem;
  line-height: 1;
  background: none;
  box-shadow: none;
  filter: none;
  flex-shrink: 0;
  color: var(--color-white);
}

.wallet-grid--bento .wallet-card__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.wallet-grid--bento .wallet-card__badge {
  font-family: var(--font-currency);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-pill);
  padding: 0.22rem 0.55rem;
  line-height: 1;
}

.wallet-grid--bento .wallet-card__label {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.wallet-grid--bento .wallet-card__value {
  display: flex;
  align-items: baseline;
  gap: 0.35em;
  font-family: var(--font-currency);
  font-size: clamp(1.12rem, 2vw, 1.4rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.2;
  font-variant-numeric: tabular-nums lining-nums;
  margin-top: auto;
}

.wallet-grid--bento .wallet-card__ccy {
  font-weight: 500;
  opacity: 0.92;
}

.wallet-grid--bento .wallet-card__amt {
  font-weight: 800;
}

.wallet-grid--bento .wallet-card__meta {
  font-size: var(--text-xs);
  flex: 0;
  margin: 0;
  opacity: 0.88;
}

.wallet-grid--bento .wallet-card--span-2 {
  grid-column: span 2;
}

.wallet-grid--bento .wallet-card--feature {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 100%;
  padding: var(--space-4) var(--space-5);
  justify-content: flex-start;
  gap: var(--space-3);
}

.wallet-grid--bento .wallet-card--feature .wallet-card__value {
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: 0.01em;
}

.wallet-grid--bento .wallet-card--feature .wallet-card__icon {
  width: 1.55rem;
  height: 1.55rem;
}

.wallet-grid--bento .wallet-card--feature .wallet-card__blob {
  width: 14rem;
  height: 14rem;
  right: -3rem;
  bottom: -4rem;
  top: auto;
  background: rgba(255, 255, 255, 0.22);
}

.wallet-grid--bento .wallet-card--aqua {
  background:
    radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.28), transparent 45%),
    var(--gradient-wa-earn);
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 12px 28px -6px rgba(0, 119, 255, 0.55);
}

.wallet-grid--bento .wallet-card--aqua:hover {
  box-shadow: 0 16px 36px -6px rgba(0, 194, 255, 0.65);
}

.wallet-grid--bento .wallet-card--sunset {
  background:
    radial-gradient(circle at 85% 20%, rgba(255, 255, 255, 0.32), transparent 40%),
    var(--gradient-wa-withdraw);
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 12px 28px -6px rgba(208, 38, 240, 0.52);
}

.wallet-grid--bento .wallet-card--sunset:hover {
  box-shadow: 0 16px 36px -6px rgba(255, 77, 184, 0.62);
}

.wallet-grid--bento .wallet-card--coral {
  background:
    radial-gradient(circle at 15% 15%, rgba(255, 255, 255, 0.3), transparent 40%),
    var(--gradient-wa-deposit);
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 12px 28px -6px rgba(0, 212, 200, 0.5);
}

.wallet-grid--bento .wallet-card--coral:hover {
  box-shadow: 0 16px 36px -6px rgba(34, 224, 112, 0.6);
}

.wallet-grid--bento .wallet-card--gold {
  background:
    radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.28), transparent 45%),
    var(--gradient-wa-cashback);
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 12px 28px -6px rgba(124, 58, 237, 0.5);
}

.wallet-grid--bento .wallet-card--gold:hover {
  box-shadow: 0 16px 36px -6px rgba(192, 38, 211, 0.6);
}

.wallet-grid--bento .wallet-card--green {
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.3), transparent 42%),
    var(--gradient-wa-deposit);
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 12px 28px -6px rgba(0, 212, 200, 0.5);
}

.wallet-grid--bento .wallet-card--aqua .wallet-card__label,
.wallet-grid--bento .wallet-card--sunset .wallet-card__label,
.wallet-grid--bento .wallet-card--coral .wallet-card__label,
.wallet-grid--bento .wallet-card--gold .wallet-card__label,
.wallet-grid--bento .wallet-card--green .wallet-card__label,
.wallet-grid--bento .wallet-card--aqua .wallet-card__meta,
.wallet-grid--bento .wallet-card--sunset .wallet-card__meta,
.wallet-grid--bento .wallet-card--coral .wallet-card__meta,
.wallet-grid--bento .wallet-card--gold .wallet-card__meta,
.wallet-grid--bento .wallet-card--green .wallet-card__meta {
  color: rgba(255, 255, 255, 0.88);
}

.dash-tx {
  padding: var(--space-4) var(--space-5);
}

.dash-tx__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
  position: relative;
  z-index: 1;
}

.dash-tx__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--text-lg);
}

.dash-tx__empty {
  margin: 0;
  position: relative;
  z-index: 1;
  color: var(--color-ivory-mute);
  font-size: var(--text-sm);
}

.dash-tx__table-wrap {
  position: relative;
  z-index: 1;
  overflow-x: auto;
}

.dash-tx__table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
}

.dash-tx__table th {
  text-align: left;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-ivory-mute);
  font-weight: 700;
  padding: 0.55rem 0.4rem;
  border-bottom: 1px solid var(--border);
}

.dash-tx__table td {
  padding: 0.75rem 0.4rem;
  border-bottom: 1px solid var(--border-soft);
  vertical-align: middle;
}

.dash-tx__table tr:last-child td {
  border-bottom: 0;
}

.dash-tx__date {
  display: block;
  font-weight: 600;
}

.dash-tx__type {
  display: block;
  font-size: var(--text-xs);
  color: var(--color-ivory-mute);
  margin-top: 0.15rem;
}

.dash-tx__table td.is-debit {
  color: #ef4444;
}

.dash-tx__table td.is-credit {
  color: var(--color-success);
}

.dash-tx__amount {
  font-family: var(--font-currency);
  font-weight: 600;
  letter-spacing: 0.015em;
  font-variant-numeric: tabular-nums lining-nums;
  white-space: nowrap;
}

.dash-tx__pill {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-pill);
  background: rgba(47, 214, 123, 0.16);
  color: #166534;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

html:not([data-theme="light"]) .dash-tx__pill {
  background: rgba(47, 214, 123, 0.2);
  color: #86efac;
}

@media (max-width: 1100px) {
  .wallet-grid--bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: minmax(92px, auto);
  }

  .wallet-grid--bento .wallet-card--feature {
    grid-column: span 2;
    grid-row: span 1;
    min-height: 0;
  }

  .wallet-grid--bento .wallet-card--span-2 {
    grid-column: span 2;
  }
}

@media (max-width: 900px) {
  .app-sidebar {
    transform: translateX(-105%);
  }

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

  .app-sidebar__close {
    display: grid;
    place-items: center;
  }

  .app-main {
    margin-left: 0;
  }

  .app-menu-btn {
    display: flex;
  }

  .app-user__meta,
  .app-user__name {
    display: none;
  }

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

  .wallet-grid--bento {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .wallet-grid--bento .wallet-card,
  .wallet-grid--bento .wallet-card--span-2,
  .wallet-grid--bento .wallet-card--feature {
    width: 100%;
    grid-column: 1 / -1;
    grid-row: auto;
  }

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

  .path-grid,
  .path-grid--hubs {
    grid-template-columns: 1fr 1fr;
  }

  .path-card {
    width: 100%;
    min-height: 128px;
  }

  .app-content {
    padding: var(--space-4);
  }
}

/* Pathway cards (main dashboard) */
.path-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

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

.path-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--space-2);
  min-height: 140px;
  padding: var(--space-4) var(--space-4) var(--space-3);
  border-radius: calc(var(--radius-xl) + 2px);
  overflow: hidden;
  isolation: isolate;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-soft);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s ease;
}

.path-card:hover {
  transform: translateY(-4px) scale(1.01);
}

.path-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(125deg, rgba(255, 255, 255, 0.24) 0%, transparent 42%),
    radial-gradient(circle at 90% 10%, rgba(255, 255, 255, 0.32), transparent 48%);
  pointer-events: none;
  z-index: 0;
}

.path-card__blob {
  position: absolute;
  width: 8.5rem;
  height: 8.5rem;
  border-radius: 50%;
  right: -2.5rem;
  bottom: -3rem;
  background: rgba(255, 255, 255, 0.22);
  filter: blur(2px);
  pointer-events: none;
  z-index: 0;
}

.path-card__body,
.path-card__meta {
  position: relative;
  z-index: 1;
}

.path-card__title {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.2vw, 1.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 var(--space-2);
  line-height: 1.15;
}

.path-card__text {
  margin: 0;
  font-size: var(--text-sm);
  line-height: 1.45;
  max-width: 34ch;
  opacity: 0.9;
}

.path-card__meta {
  margin-top: auto;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.8;
}

.path-card--coral {
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.28), transparent 42%),
    linear-gradient(145deg, #ff1f55 0%, #ff4a2a 55%, #ff7a3a 100%);
  color: var(--color-white);
  box-shadow: var(--shadow-soft), 0 0 44px rgba(255, 31, 85, 0.5);
}

.path-card--aqua {
  background:
    radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.3), transparent 45%),
    linear-gradient(150deg, #00d4c8 0%, #2ef0dc 45%, #6afff0 100%);
  color: var(--color-ink);
  box-shadow: var(--shadow-soft), 0 0 44px rgba(0, 212, 200, 0.5);
}

.path-card--aqua .path-card__text,
.path-card--aqua .path-card__meta {
  color: rgba(4, 16, 24, 0.72);
}

.path-card--gold {
  background:
    radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.35), transparent 45%),
    linear-gradient(145deg, #ffb000 0%, #ffd21a 50%, #ffe14d 100%);
  color: var(--color-ink);
  box-shadow: var(--shadow-soft), 0 0 44px rgba(255, 176, 0, 0.5);
}

.path-card--gold .path-card__text,
.path-card--gold .path-card__meta {
  color: rgba(4, 16, 24, 0.72);
}

.path-card--purple {
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.28), transparent 42%),
    linear-gradient(145deg, #6d28d9 0%, #c026d3 50%, #f43f9d 100%);
  color: var(--color-white);
  box-shadow: var(--shadow-soft), 0 0 44px rgba(192, 38, 211, 0.52);
}

/* Hub pathway page heads + panels */
.page-head--path-coral h1 {
  background: linear-gradient(100deg, #ff6b4a, #ff3d68);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.page-head--path-aqua h1 {
  background: linear-gradient(100deg, #3de0d0, #14d4c8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.page-head--path-gold h1 {
  background: linear-gradient(100deg, #ffd24a, #f5b700);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.page-head--path-purple h1 {
  background: linear-gradient(100deg, #e9d5ff, #c084fc);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hub-actions__title,
.hub-panel__title {
  margin: 0 0 var(--space-3);
  font-family: var(--font-display);
  font-size: var(--text-xl);
  position: relative;
  z-index: 1;
}

.hub-panel__text {
  margin: 0 0 var(--space-5);
  color: var(--color-ivory-dim);
  max-width: 52ch;
  position: relative;
  z-index: 1;
}

.hub-panel .chip {
  margin-bottom: var(--space-3);
  position: relative;
  z-index: 1;
}

.hub-actions__grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  position: relative;
  z-index: 1;
}

.hub-panel--aqua {
  border-color: rgba(30, 200, 200, 0.35);
  box-shadow: var(--shadow-soft), 0 0 36px rgba(30, 200, 200, 0.14);
}

.hub-panel--gold {
  border-color: rgba(245, 183, 0, 0.4);
  box-shadow: var(--shadow-soft), 0 0 36px rgba(245, 183, 0, 0.16);
}

@media (max-width: 1100px) {
  .path-grid,
  .path-grid--hubs {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .path-grid,
  .path-grid--hubs {
    grid-template-columns: 1fr;
  }
}

/* Abroad job cards */
.job-dest {
  margin-top: var(--space-5);
}

.job-dest__head h2 {
  margin: 0 0 var(--space-2);
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
}

.job-dest__head p {
  margin: 0 0 var(--space-4);
  color: var(--color-ivory-mute);
  font-size: var(--text-sm);
  max-width: 52ch;
}

.job-dest--kuwait .job-dest__head h2 {
  color: #ff8a3d;
}

.job-dest--usa .job-dest__head h2 {
  color: var(--color-gold-soft);
}

.job-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-3);
}

.job-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-4);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.28);
  background:
    radial-gradient(circle at 90% 12%, rgba(255, 255, 255, 0.35), transparent 42%),
    linear-gradient(145deg, #ff8a3d 0%, #ff5c7a 48%, #ff7eb3 100%);
  color: var(--color-white);
  box-shadow: var(--shadow-soft), 0 0 28px rgba(255, 92, 122, 0.28);
  min-height: 0;
  position: relative;
  overflow: hidden;
}

.job-card--usa {
  background:
    radial-gradient(circle at 85% 15%, rgba(255, 255, 255, 0.4), transparent 45%),
    linear-gradient(145deg, #f5b700 0%, #ffd24a 50%, #ffe38a 100%);
  color: var(--color-ink);
  border-color: rgba(4, 16, 24, 0.08);
  box-shadow: var(--shadow-soft), 0 0 28px rgba(245, 183, 0, 0.3);
}

.job-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
}

.job-card__emoji {
  font-size: 1.35rem;
  line-height: 1;
}

.job-card__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 750;
  letter-spacing: -0.02em;
}

.job-card__fee {
  margin: 0;
  font-size: var(--text-sm);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
}

.job-card--usa .job-card__fee {
  color: rgba(4, 16, 24, 0.78);
}

.job-card__text {
  margin: 0;
  flex: 1;
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.4;
}

.job-card--usa .job-card__text {
  color: rgba(4, 16, 24, 0.72);
}

.job-card .btn {
  align-self: flex-start;
  margin-top: var(--space-1);
}

.job-card--kuwait .btn--primary,
.job-card:not(.job-card--usa) .btn--primary {
  background: rgba(255, 255, 255, 0.94);
  color: var(--color-ink);
  border-color: transparent;
}

.job-card--kuwait .btn--ghost,
.job-card:not(.job-card--usa) .btn--ghost {
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.14);
}

.job-card--usa .btn--primary {
  background: rgba(4, 16, 24, 0.88);
  color: var(--color-white);
  border-color: transparent;
}

.job-card--usa .btn--ghost {
  border-color: rgba(4, 16, 24, 0.28);
  color: var(--color-ink);
  background: rgba(255, 255, 255, 0.4);
}

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

@media (max-width: 900px) {
  .job-grid {
    grid-template-columns: 1fr;
  }

  .job-card {
    width: 100%;
  }
}

.app-track {
  margin-bottom: var(--space-5);
}

.app-track__list {
  display: grid;
  gap: var(--space-4);
}

.app-track__row {
  display: grid;
  gap: var(--space-3);
  padding: var(--space-4);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: rgba(7, 20, 34, 0.28);
}

.app-track__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
}

.app-track__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-2);
}

.app-track__step {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: var(--text-xs);
  color: var(--color-ivory-mute);
}

.app-track__dot {
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-weight: 700;
  border: 1px solid var(--border-strong);
  background: rgba(7, 20, 34, 0.4);
}

.app-track__step.is-done {
  color: var(--color-success);
}

.app-track__step.is-done .app-track__dot {
  background: rgba(47, 214, 123, 0.2);
  border-color: rgba(47, 214, 123, 0.5);
}

.app-track__step.is-active {
  color: var(--color-gold-soft);
  font-weight: 700;
}

.app-track__step.is-active .app-track__dot {
  background: rgba(245, 183, 0, 0.2);
  border-color: rgba(245, 183, 0, 0.55);
}

.app-track__step.is-blocked {
  opacity: 0.55;
}

.app-wizard {
  margin-bottom: var(--space-6);
}

.app-wait {
  padding: var(--space-4);
  border-radius: var(--radius-md);
  background: rgba(245, 183, 0, 0.1);
  border: 1px solid rgba(245, 183, 0, 0.28);
}

.app-wait p {
  margin: 0 0 var(--space-2);
}

.app-wait p:last-child {
  margin-bottom: 0;
}

.app-countdown {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-lg);
}

@media (max-width: 700px) {
  .app-track__steps {
    grid-template-columns: 1fr 1fr;
  }
}

/* Trivia play */
.trivia-play__q {
  margin: 0 0 var(--space-4);
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  line-height: 1.3;
}

.trivia-play__options {
  display: grid;
  gap: 0.65rem;
  margin-bottom: var(--space-4);
}

.trivia-play__opt {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-strong);
  background: rgba(7, 20, 34, 0.4);
  cursor: pointer;
  font-weight: 600;
}

.trivia-play__opt:hover,
.trivia-play__opt:has(input:checked) {
  border-color: rgba(192, 132, 252, 0.7);
  background: rgba(168, 85, 247, 0.16);
}

.trivia-play__opt input {
  margin-top: 0.25rem;
  accent-color: #a855f7;
}

.wallet-grid--bento .wallet-card__actions {
  margin: 0.15rem 0 0;
  position: relative;
  z-index: 1;
}

.wd-paid-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--space-3);
}

.wd-paid-grid--compact {
  grid-template-columns: 1fr;
}

.wd-paid-card {
  position: relative;
  z-index: 1;
  padding: var(--space-4);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(47, 214, 123, 0.28);
  background: linear-gradient(160deg, rgba(47, 214, 123, 0.16), rgba(7, 20, 34, 0.45));
}

.wd-paid-card__amount {
  margin: var(--space-3) 0 0.35rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-xl);
  letter-spacing: -0.03em;
}

.wd-paid-card__meta {
  margin: 0;
  font-size: var(--text-xs);
  color: var(--color-ivory-mute);
}

.live-feed {
  padding: 0.55rem 0;
  overflow: hidden;
}

.live-feed__viewport {
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.live-feed__track {
  --tape-duration: 40s;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  width: max-content;
  align-items: center;
}

.live-feed.is-ticking .live-feed__track {
  animation: live-feed-tape var(--tape-duration) linear infinite;
}

.live-feed.is-ticking:hover .live-feed__track {
  animation-play-state: paused;
}

@keyframes live-feed-tape {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.live-feed__item {
  flex-shrink: 0;
  padding: 0 1.25rem;
  position: relative;
}

.live-feed__item::after {
  content: "·";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translate(50%, -50%);
  color: var(--color-ivory-mute);
  pointer-events: none;
}

.live-feed__line {
  margin: 0;
  font-size: var(--text-sm);
  line-height: 1.45;
  white-space: nowrap;
}

.live-feed__name {
  font-weight: 600;
}

.live-feed__amount {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.live-feed__item--deposit .live-feed__verb,
.live-feed__item--deposit .live-feed__amount {
  color: var(--color-aqua);
}

.live-feed__item--withdrawal .live-feed__verb,
.live-feed__item--withdrawal .live-feed__amount {
  color: var(--color-gold-soft);
}

.live-feed__meta {
  color: var(--color-ivory-mute);
  font-size: var(--text-xs);
}

@media (prefers-reduced-motion: reduce) {
  .live-feed.is-ticking .live-feed__track {
    animation: none;
  }
}
