    :root {
      --bg-outer: #0f172a;
      --phone-max: 430px;
      --green-card: #22b14c;
      --green-dark: #168a38;
      --primary-blue: #1d4ed8;
      --danger-red: #ef233c;
      --warning-amber: #f5b800;
      --text-dark: #111827;
      --text-muted: #64748b;
      --border-soft: #e2e8f0;
      --spring-ease: cubic-bezier(0.34, 1.56, 0.64, 1);
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
      font-family: "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
      -webkit-tap-highlight-color: transparent;
    }

    html.lenis, html.lenis body {
      height: auto;
    }

    body {
      background: linear-gradient(135deg, #090d16 0%, #1e293b 100%);
      min-height: 100vh;
      display: flex;
      justify-content: center;
      align-items: flex-start;
      padding: 12px 10px 36px;
      overflow-x: hidden;
    }

    .app-shell {
      width: 100%;
      max-width: var(--phone-max);
      background: #ffffff;
      min-height: 840px;
      border-radius: 28px;
      overflow: hidden;
      box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
      position: relative;
      display: flex;
      flex-direction: column;
    }

    .page-transition-curtain {
      position: fixed;
      inset: 0;
      background: linear-gradient(135deg, #1d4ed8 0%, #10b981 100%);
      z-index: 300;
      pointer-events: none;
      transform: scaleY(0);
      transform-origin: bottom;
    }

    .notif-banner {
      display: none;
      background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
      color: #fff;
      padding: 12px 14px;
      font-size: 13px;
      border-bottom: 3px solid #22c55e;
      align-items: flex-start;
      justify-content: space-between;
      gap: 10px;
      z-index: 60;
    }
    .notif-banner.show { display: flex; }
    .notif-title { font-weight: 700; color: #4ade80; font-size: 12px; margin-bottom: 2px; }
    .notif-close {
      background: rgba(255, 255, 255, 0.14);
      border: none;
      color: #fff;
      width: 26px;
      height: 26px;
      border-radius: 50%;
      cursor: pointer;
      flex-shrink: 0;
      font-weight: 700;
      transition: transform 0.2s var(--spring-ease);
    }
    .notif-close:hover { transform: rotate(90deg) scale(1.1); }

    .custom-toast {
      position: fixed;
      bottom: 96px;
      left: 50%;
      transform: translateX(-50%) translateY(24px) scale(0.95);
      background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
      color: #f8fafc;
      border: 1px solid #334155;
      border-left: 4px solid #38bdf8;
      padding: 11px 16px;
      border-radius: 14px;
      font-size: 13px;
      font-weight: 600;
      box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45);
      z-index: 250;
      opacity: 0;
      pointer-events: none;
      transition: all 0.32s var(--spring-ease);
      max-width: 90%;
      text-align: center;
    }
    .custom-toast.show {
      opacity: 1;
      transform: translateX(-50%) translateY(0) scale(1);
    }

    .expired-screen {
      display: none;
      flex: 1;
      background: linear-gradient(165deg, #1e1b4b 0%, #0f172a 100%);
      color: #f8fafc;
      padding: 40px 24px;
      text-align: center;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      gap: 14px;
    }
    .expired-screen.active { display: flex; }
    .expired-badge {
      background: rgba(239, 68, 68, 0.2);
      border: 1px solid #ef4444;
      color: #fca5a5;
      padding: 10px 14px;
      border-radius: 14px;
      font-size: 13px;
      font-weight: 700;
      line-height: 1.5;
    }

    .admin-portal-screen {
      flex: 1;
      background: linear-gradient(165deg, #0f172a 0%, #1e293b 55%, #090d16 100%);
      padding: 24px 18px 28px;
      color: #f8fafc;
      display: none;
      flex-direction: column;
      justify-content: space-between;
      position: relative;
      overflow: hidden;
    }
    .admin-portal-screen.active { display: flex; }

    #adminThreeCanvas {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      pointer-events: none;
      z-index: 0;
      opacity: 0.45;
    }

    .admin-layer { position: relative; z-index: 2; }

    .admin-login-box {
      margin-top: 48px;
      background: rgba(30, 41, 59, 0.78);
      border: 1px solid #334155;
      border-radius: 22px;
      padding: 26px 20px;
      backdrop-filter: blur(12px);
      box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
      text-align: center;
    }

    .admin-emblem {
      width: 84px;
      height: 84px;
      margin: 0 auto 14px;
      border-radius: 50%;
      background: linear-gradient(145deg, rgba(250, 204, 21, 0.24), rgba(56, 189, 248, 0.14));
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 10px 26px rgba(0, 0, 0, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.25);
      position: relative;
    }
    .lottie-pulse-ring {
      position: absolute;
      inset: -6px;
      border-radius: 50%;
      border: 2px solid rgba(250, 204, 21, 0.55);
      animation: vectorPulseRing 2.6s infinite ease-out;
    }
    @keyframes vectorPulseRing {
      0% { transform: scale(0.92); opacity: 0.9; }
      100% { transform: scale(1.28); opacity: 0; }
    }
    .vector-float-svg {
      width: 42px;
      height: 42px;
      animation: vectorFloat 3.2s ease-in-out infinite;
    }
    @keyframes vectorFloat {
      0%, 100% { transform: translateY(0px); }
      50% { transform: translateY(-5px); }
    }

    .admin-login-box h1 {
      font-size: 23px;
      font-weight: 800;
      color: #facc15;
      margin-bottom: 6px;
    }
    .admin-login-box p {
      font-size: 13px;
      color: #94a3b8;
      margin-bottom: 20px;
      line-height: 1.5;
    }

    .admin-pin-input {
      width: 100%;
      background: #0f172a;
      border: 2px solid #f59e0b;
      border-radius: 14px;
      padding: 14px;
      color: #ffffff;
      font-size: 16px;
      text-align: center;
      letter-spacing: 2px;
      font-weight: 800;
      margin-bottom: 14px;
      outline: none;
    }
    .admin-pin-input:focus {
      border-color: #fde047;
      box-shadow: 0 0 0 3px rgba(250, 204, 21, 0.2);
    }

    .admin-workspace { display: none; }
    .admin-workspace.active { display: block; }

    .admin-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding-bottom: 12px;
      margin-bottom: 14px;
      border-bottom: 1px solid #334155;
    }
    .admin-header h2 { font-size: 18px; color: #facc15; font-weight: 800; }
    .admin-lock-btn {
      background: #334155;
      color: #f8fafc;
      border: none;
      padding: 7px 12px;
      border-radius: 10px;
      font-size: 12px;
      font-weight: 700;
      cursor: pointer;
    }

    .admin-section {
      background: rgba(30, 41, 59, 0.85);
      border: 1px solid #334155;
      border-radius: 16px;
      padding: 14px;
      margin-bottom: 14px;
    }
    .admin-section h3 {
      font-size: 14px;
      color: #38bdf8;
      margin-bottom: 10px;
      font-weight: 700;
    }
    .admin-section label {
      display: block;
      font-size: 11.5px;
      color: #cbd5e1;
      margin-bottom: 4px;
      font-weight: 600;
    }
    .admin-section input,
    .admin-section select,
    .admin-section textarea {
      width: 100%;
      background: #0f172a;
      color: #fff;
      border: 1px solid #475569;
      border-radius: 10px;
      padding: 9px 11px;
      font-size: 13px;
      margin-bottom: 10px;
    }
    .two-col {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 10px;
    }

    .img-upload-box {
      background: #0f172a;
      border: 1px dashed #38bdf8;
      border-radius: 12px;
      padding: 10px;
      margin-bottom: 10px;
    }
    .img-picker-row {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 8px;
    }
    .admin-img-preview {
      width: 48px;
      height: 48px;
      border-radius: 12px;
      border: 1px solid #475569;
      background: #1e293b;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      flex-shrink: 0;
      font-size: 20px;
    }
    .admin-img-preview img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    .img-upload-status {
      font-size: 11.5px;
      color: #93c5fd;
      margin-top: 4px;
      word-break: break-all;
    }

    .btn-admin-green {
      width: 100%;
      background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
      color: #fff;
      border: none;
      border-radius: 11px;
      padding: 12px;
      font-weight: 800;
      cursor: pointer;
      margin-bottom: 4px;
      box-shadow: 0 6px 16px rgba(22, 163, 74, 0.3);
    }
    .btn-admin-amber {
      width: 100%;
      background: linear-gradient(135deg, #fde047 0%, #eab308 100%);
      color: #0f172a;
      border: none;
      border-radius: 11px;
      padding: 13px;
      font-weight: 800;
      cursor: pointer;
      box-shadow: 0 6px 16px rgba(234, 179, 8, 0.3);
    }
    .btn-admin-blue {
      width: 100%;
      background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
      color: #fff;
      border: none;
      border-radius: 11px;
      padding: 12px;
      font-weight: 800;
      cursor: pointer;
      box-shadow: 0 6px 16px rgba(37, 99, 235, 0.3);
    }

    .link-output-box {
      background: #020617;
      border: 1px dashed #4ade80;
      border-radius: 12px;
      padding: 11px;
      margin-top: 10px;
      word-break: break-all;
      font-size: 11.5px;
      color: #86efac;
    }

    .admin-tx-item {
      background: #0f172a;
      border: 1px solid #334155;
      border-radius: 10px;
      padding: 10px;
      margin-bottom: 8px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 8px;
      font-size: 12px;
    }
    .mini-action-btn {
      padding: 7px 11px;
      border-radius: 8px;
      border: none;
      font-size: 11px;
      font-weight: 800;
      cursor: pointer;
    }

    .dashboard-screen {
      display: none;
      flex-direction: column;
      flex: 1;
      background: #ffffff;
      padding-bottom: 96px;
      position: relative;
    }
    .dashboard-screen.active { display: flex; }

    .top-header {
      background: rgba(255, 255, 255, 0.96);
      backdrop-filter: blur(10px);
      padding: 12px 16px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      border-bottom: 1px solid #f1f5f9;
      position: sticky;
      top: 0;
      z-index: 25;
    }
    .top-header-left {
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 18px;
      font-weight: 800;
      color: #0f172a;
    }

    .header-avatar-trigger {
      width: 38px;
      height: 38px;
      border-radius: 50%;
      overflow: hidden;
      border: 2px solid #22b14c;
      background: #f1f5f9;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 18px;
      cursor: pointer;
      box-shadow: 0 3px 10px rgba(34, 177, 76, 0.22);
      transition: transform 0.25s var(--spring-ease);
      flex-shrink: 0;
    }
    .header-avatar-trigger:hover { transform: scale(1.08); }
    .header-avatar-trigger:active { transform: scale(0.93); }
    .header-avatar-trigger img { width: 100%; height: 100%; object-fit: cover; }

    .mini-profile-popover {
      display: none;
      position: fixed;
      top: 64px;
      left: 50%;
      transform: translateX(-50%) scale(0.95);
      width: calc(100% - 36px);
      max-width: 340px;
      background: #ffffff;
      border: 1px solid #cbd5e1;
      border-radius: 18px;
      padding: 15px;
      box-shadow: 0 18px 42px rgba(15, 23, 42, 0.28);
      z-index: 120;
    }
    .mini-profile-popover.show {
      display: block;
      transform: translateX(-50%) scale(1);
    }
    .mini-pop-top {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      padding-bottom: 10px;
      border-bottom: 1px solid #f1f5f9;
      margin-bottom: 10px;
    }
    .mini-pop-user {
      display: flex;
      align-items: center;
      gap: 10px;
    }
    .mini-pop-avatar {
      width: 44px;
      height: 44px;
      border-radius: 12px;
      overflow: hidden;
      background: #0f172a;
      color: #fff;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 20px;
      flex-shrink: 0;
    }
    .mini-pop-avatar img { width: 100%; height: 100%; object-fit: cover; }
    .mini-pop-name { font-size: 15px; font-weight: 800; color: #0f172a; }
    .mini-pop-member { font-size: 12px; font-weight: 600; color: #16a34a; margin-top: 2px; }
    .mini-pop-close {
      background: #f1f5f9;
      border: none;
      width: 28px;
      height: 28px;
      border-radius: 8px;
      font-weight: 700;
      cursor: pointer;
      color: #334155;
    }
    .btn-profile-settings-readonly {
      width: 100%;
      background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
      color: #0f172a;
      border: 1px solid #cbd5e1;
      border-radius: 12px;
      padding: 10px 12px;
      font-size: 13px;
      font-weight: 800;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
    .readonly-profile-card {
      display: none;
      margin-top: 10px;
      background: #f8fafc;
      border: 1px solid #e2e8f0;
      border-radius: 12px;
      padding: 11px;
      font-size: 12px;
    }
    .readonly-profile-card.show { display: block; }
    .readonly-row {
      display: flex;
      justify-content: space-between;
      padding: 5px 0;
      border-bottom: 1px dashed #e2e8f0;
      gap: 8px;
    }
    .readonly-row:last-child { border-bottom: none; }
    .readonly-label { color: #64748b; font-weight: 700; }
    .readonly-val { color: #0f172a; font-weight: 800; text-align: right; word-break: break-word; }

    .top-header-right {
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .icon-badge-btn {
      position: relative;
      background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
      border: 1px solid #e2e8f0;
      border-radius: 999px;
      padding: 7px 12px;
      font-size: 12px;
      font-weight: 700;
      cursor: pointer;
      color: #0f172a;
      box-shadow: 0 2px 6px rgba(15, 23, 42, 0.05);
      transition: transform 0.25s var(--spring-ease);
    }
    .icon-badge-btn:hover { transform: translateY(-1px) scale(1.03); }
    .icon-badge-btn:active { transform: scale(0.94); }

    .dot-alert {
      display: inline-block;
      width: 8px;
      height: 8px;
      background: #ef4444;
      border-radius: 50%;
      margin-left: 4px;
      animation: pulseDot 1.6s infinite;
    }
    @keyframes pulseDot {
      0%, 100% { transform: scale(1); opacity: 1; }
      50% { transform: scale(1.4); opacity: 0.6; }
    }

    .green-wallet-card {
      margin: 14px 14px 16px;
      background: linear-gradient(135deg, #2ed563 0%, #22b14c 48%, #137a32 100%);
      border-radius: 22px;
      padding: 18px 16px;
      color: #fff;
      box-shadow: 0 14px 28px rgba(22, 156, 61, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.4);
      position: relative;
      overflow: hidden;
      transform-style: preserve-3d;
      will-change: transform;
    }

    #cardThreeCanvas {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      pointer-events: none;
      z-index: 0;
      opacity: 0.45;
    }

    .card-inner-content { position: relative; z-index: 2; }

    .profile-row {
      display: flex;
      align-items: center;
      gap: 13px;
      cursor: pointer;
    }

    .avatar-box {
      width: 74px;
      height: 74px;
      border-radius: 16px;
      overflow: hidden;
      background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
      border: 2px solid rgba(255, 255, 255, 0.85);
      flex-shrink: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 32px;
      box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18);
      transition: transform 0.3s var(--spring-ease);
    }
    .profile-row:hover .avatar-box { transform: scale(1.05) rotate(-2deg); }
    .avatar-box img { width: 100%; height: 100%; object-fit: cover; }

    .user-meta h2 {
      font-size: 19px;
      font-weight: 800;
      line-height: 1.2;
      margin-bottom: 4px;
      text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
    }
    .user-meta p {
      font-size: 12px;
      opacity: 0.97;
      line-height: 1.48;
      font-weight: 500;
    }

    .balance-box {
      margin-top: 15px;
      background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
      color: #111827;
      border-radius: 15px;
      padding: 12px 15px;
      display: flex;
      align-items: center;
      gap: 12px;
      box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12), inset 0 1px 0 #ffffff;
    }
    .balance-logo {
      width: 42px;
      height: 42px;
      border-radius: 50%;
      background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
      color: #fff;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 800;
      font-size: 19px;
      flex-shrink: 0;
      box-shadow: 0 4px 10px rgba(29, 78, 216, 0.35);
      animation: lottieCoinSpin 6s ease-in-out infinite;
    }
    @keyframes lottieCoinSpin {
      0%, 80%, 100% { transform: rotateY(0deg); }
      90% { transform: rotateY(360deg); }
    }
    .balance-label { font-size: 12px; color: #4b5563; font-weight: 600; }
    .balance-amount {
      font-size: 23px;
      font-weight: 800;
      color: #0f172a;
      letter-spacing: 0.2px;
    }

    .bank-bkash-btn {
      margin: 4px 14px 16px;
      width: calc(100% - 28px);
      background: linear-gradient(135deg, #ffd43b 0%, #f5b800 52%, #d99b00 100%);
      color: #111827;
      border: none;
      border-radius: 18px;
      padding: 20px 18px;
      font-size: 17px;
      font-weight: 800;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 12px;
      cursor: pointer;
      box-shadow: 0 10px 22px rgba(245, 184, 0, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.65);
      transition: transform 0.28s var(--spring-ease), box-shadow 0.28s ease;
      letter-spacing: 0.2px;
      position: relative;
      overflow: hidden;
    }
    .bank-bkash-btn::before {
      content: "";
      position: absolute;
      top: 0;
      left: -100%;
      width: 60%;
      height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
      transform: skewX(-20deg);
      animation: sheenSweep 4s infinite ease-in-out;
    }
    @keyframes sheenSweep {
      0%, 65% { left: -100%; }
      100% { left: 160%; }
    }
    .bank-bkash-btn .btn-ico {
      font-size: 24px;
      background: rgba(255, 255, 255, 0.45);
      width: 42px;
      height: 42px;
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: transform 0.3s var(--spring-ease);
    }
    .bank-bkash-btn:hover {
      transform: translateY(-3px) scale(1.015);
      box-shadow: 0 14px 28px rgba(245, 184, 0, 0.45);
    }
    .bank-bkash-btn:hover .btn-ico { transform: scale(1.12) rotate(-6deg); }
    .bank-bkash-btn:active { transform: scale(0.96); }

    .action-grid {
      padding: 0 14px 22px;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 14px;
    }

    .action-tile {
      border: none;
      border-radius: 20px;
      padding: 25px 14px;
      min-height: 118px;
      color: #fff;
      font-size: 15.5px;
      font-weight: 800;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 10px;
      cursor: pointer;
      text-align: center;
      position: relative;
      overflow: hidden;
      transition: transform 0.32s var(--spring-ease), box-shadow 0.32s ease;
      letter-spacing: 0.2px;
      will-change: transform;
    }
    .action-tile::after {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0) 55%);
      pointer-events: none;
    }
    .action-tile .tile-ico {
      font-size: 27px;
      width: 48px;
      height: 48px;
      border-radius: 15px;
      background: rgba(255, 255, 255, 0.22);
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
      transition: transform 0.32s var(--spring-ease);
    }
    .action-tile:hover { transform: translateY(-4px) scale(1.025); }
    .action-tile:hover .tile-ico { transform: scale(1.14) rotate(6deg); }
    .action-tile:active { transform: scale(0.95); }

    .tile-bank-transfer { background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 55%, #1e3a8a 100%); box-shadow: 0 10px 20px rgba(29, 78, 216, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.35); }
    .tile-send-money { background: linear-gradient(135deg, #ff6b63 0%, #f43f37 55%, #be123c 100%); box-shadow: 0 10px 20px rgba(244, 63, 55, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.35); }
    .tile-cash-out { background: linear-gradient(135deg, #34d399 0%, #10b981 55%, #047857 100%); box-shadow: 0 10px 20px rgba(16, 185, 129, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.35); }
    .tile-withdraw { background: linear-gradient(135deg, #fde047 0%, #eab308 55%, #ca8a04 100%); color: #111827; box-shadow: 0 10px 20px rgba(234, 179, 8, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.55); }
    .tile-withdraw .tile-ico { background: rgba(17, 24, 39, 0.12); }
    .tile-statements { background: linear-gradient(135deg, #60a5fa 0%, #2563eb 55%, #1d4ed8 100%); box-shadow: 0 10px 20px rgba(37, 99, 235, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.35); }
    .tile-deposit { background: linear-gradient(135deg, #3b82f6 0%, #1e40af 55%, #172554 100%); box-shadow: 0 10px 20px rgba(30, 64, 175, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.35); }
    .tile-paypal { background: linear-gradient(135deg, #818cf8 0%, #4f46e5 55%, #312e81 100%); box-shadow: 0 10px 20px rgba(79, 70, 229, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.35); }
    .tile-stripe { background: linear-gradient(135deg, #fb7185 0%, #e11d48 55%, #9f1239 100%); box-shadow: 0 10px 20px rgba(225, 29, 72, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.35); }
    .tile-visa { background: linear-gradient(135deg, #4ade80 0%, #16a34a 55%, #14532d 100%); box-shadow: 0 10px 20px rgba(22, 163, 74, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.35); }
    .tile-mastercard { background: linear-gradient(135deg, #fb923c 0%, #ea580c 55%, #9a3412 100%); box-shadow: 0 10px 20px rgba(234, 88, 12, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.35); }
    .tile-skrill { background: linear-gradient(135deg, #6366f1 0%, #3730a3 55%, #1e1b4b 100%); box-shadow: 0 10px 20px rgba(55, 48, 163, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.35); }
    .tile-payoneer { background: linear-gradient(135deg, #38bdf8 0%, #0284c7 55%, #0c4a6e 100%); box-shadow: 0 10px 20px rgba(2, 132, 199, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.35); }

    .sub-view {
      display: none;
      margin: 14px;
      background: #ffffff;
      border-radius: 20px;
      padding: 18px;
      border: 1px solid #e2e8f0;
      box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    }
    .sub-view.active { display: block; }

    .sub-view-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 14px;
      padding-bottom: 10px;
      border-bottom: 1px solid #f1f5f9;
    }
    .sub-view-header h3 { font-size: 17px; font-weight: 800; color: var(--text-dark); }
    .back-mini-btn {
      background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
      border: 1px solid #cbd5e1;
      padding: 7px 13px;
      border-radius: 10px;
      font-size: 12px;
      font-weight: 700;
      cursor: pointer;
      transition: transform 0.2s var(--spring-ease);
    }
    .back-mini-btn:active { transform: scale(0.94); }

    .live-balance-strip {
      background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
      border: 1px solid #bbf7d0;
      border-radius: 14px;
      padding: 11px 14px;
      margin-bottom: 14px;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    .live-balance-strip span { font-size: 12px; font-weight: 700; color: #166534; }
    .live-balance-strip strong { font-size: 16px; font-weight: 800; color: #14532d; }

    .wrong-pin-alert {
      display: none;
      background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
      border: 2px solid #dc2626;
      border-left: 6px solid #b91c1c;
      color: #991b1b;
      border-radius: 14px;
      padding: 12px 14px;
      margin-bottom: 14px;
      font-size: 13px;
      font-weight: 800;
      line-height: 1.5;
      box-shadow: 0 8px 20px rgba(220, 38, 38, 0.22);
    }
    .wrong-pin-alert.show { display: block; }

    .form-group { margin-bottom: 13px; }
    .form-group label {
      display: block;
      font-size: 12.5px;
      font-weight: 700;
      color: #374151;
      margin-bottom: 5px;
    }
    .form-group input,
    .form-group select {
      width: 100%;
      padding: 12px 13px;
      border-radius: 12px;
      border: 1px solid #cbd5e1;
      font-size: 14px;
      color: #111827;
      background: #ffffff;
      transition: border-color 0.2s ease, box-shadow 0.2s ease;
    }
    .form-group input:focus,
    .form-group select:focus {
      outline: none;
      border-color: #2563eb;
      box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14);
    }

    .btn-submit-blue {
      width: 100%;
      background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 55%, #1e3a8a 100%);
      color: #fff;
      border: none;
      border-radius: 14px;
      padding: 15px;
      font-size: 15.5px;
      font-weight: 800;
      cursor: pointer;
      margin-top: 6px;
      box-shadow: 0 8px 18px rgba(29, 78, 216, 0.3);
      transition: transform 0.25s var(--spring-ease);
    }
    .btn-submit-blue:hover { transform: translateY(-2px); }
    .btn-submit-blue:active { transform: scale(0.96); }

    .filter-pills {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      margin-bottom: 12px;
    }
    .filter-pill {
      padding: 6px 12px;
      border-radius: 999px;
      border: 1px solid #e2e8f0;
      background: #ffffff;
      font-size: 12px;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.22s var(--spring-ease);
    }
    .filter-pill.active {
      background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
      color: #fff;
      border-color: #1d4ed8;
      transform: scale(1.04);
    }

    .stmt-card {
      background: #ffffff;
      border: 1px solid #e2e8f0;
      border-radius: 14px;
      padding: 14px;
      margin-bottom: 10px;
      box-shadow: 0 3px 10px rgba(15, 23, 42, 0.04);
    }
    .stmt-top {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 10px;
    }
    .stmt-type { font-size: 15.5px; font-weight: 700; color: #111827; }
    .badge-approved {
      background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
      color: #15803d;
      padding: 4px 10px;
      border-radius: 999px;
      font-size: 12px;
      font-weight: 800;
    }
    .badge-pending {
      background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
      color: #b45309;
      padding: 4px 10px;
      border-radius: 999px;
      font-size: 12px;
      font-weight: 800;
    }
    .stmt-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 10px;
      font-size: 12.5px;
    }
    .stmt-k { color: #64748b; font-size: 11px; font-weight: 700; text-transform: uppercase; }
    .stmt-v { color: #0f172a; font-weight: 700; margin-top: 2px; word-break: break-all; }

    .bottom-nav {
      position: fixed;
      bottom: 0;
      left: 50%;
      transform: translateX(-50%);
      width: 100%;
      max-width: var(--phone-max);
      background: rgba(255, 255, 255, 0.96);
      backdrop-filter: blur(14px);
      border-top: 1px solid #e2e8f0;
      box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.08);
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 10px;
      padding: 10px 14px 12px;
      z-index: 40;
      border-bottom-left-radius: 26px;
      border-bottom-right-radius: 26px;
    }

    .nav-btn {
      border: none;
      border-radius: 15px;
      padding: 10px 8px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 3px;
      cursor: pointer;
      font-weight: 700;
      transition: transform 0.28s var(--spring-ease), box-shadow 0.28s ease;
    }
    .nav-btn:hover { transform: translateY(-3px) scale(1.03); }
    .nav-btn:active { transform: scale(0.92); }
    .nav-btn .nav-ico { font-size: 18px; line-height: 1; }
    .nav-btn .nav-lbl { font-size: 11px; font-weight: 800; letter-spacing: 0.2px; }

    .nav-home { background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%); color: #ffffff; box-shadow: 0 6px 14px rgba(29, 78, 216, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.35); }
    .nav-stats { background: linear-gradient(135deg, #34d399 0%, #10b981 100%); color: #ffffff; box-shadow: 0 6px 14px rgba(16, 185, 129, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.35); }
    .nav-msg { background: linear-gradient(135deg, #fde047 0%, #f5b800 100%); color: #111827; box-shadow: 0 6px 14px rgba(245, 184, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.55); }