body{
    background:
      radial-gradient(1100px 620px at 82% -8%, rgba(59,123,255,.14), transparent 60%),
      linear-gradient(180deg, var(--navy-950) 0%, var(--navy-900) 46%, var(--navy-950) 100%);
    min-height:100vh;
    font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
    color:var(--ink-0);
    display:flex; align-items:center; justify-content:center;
    /*padding:40px 16px;*/
     overflow: hidden;
  }
  
  .stage{ width:100%; max-width:412px; }
  .frame{
    position:relative;
    background:linear-gradient(180deg, var(--navy-800) 0%, var(--navy-900) 100%);
    border:1px solid var(--line);
    /*border-radius:28px;*/
    box-shadow:0 40px 80px -30px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.02) inset;
    overflow:hidden;
    display:flex; flex-direction:column;
    height: 100vh;
    min-height: 100dvh;
    
  }
  .topbar{ flex:none; display:flex; align-items:center; justify-content:space-between; padding:16px 18px 12px; }
  .topbar-left{ display:flex; align-items:center; gap:10px; }
  .icon-btn{ width:32px; height:32px; border-radius:10px; background:var(--surface); border:1px solid var(--line); display:flex; align-items:center; justify-content:center; color:var(--ink-1); cursor:pointer; flex:none; }
  .icon-btn svg{ width:15px; height:15px; }
  .topbar-title{ font-size:16px; font-weight:800; }
 .scroll{
    flex:1; overflow-y:scroll; padding:2px 18px 18px;
    scrollbar-width:none;
  }
  .scroll::-webkit-scrollbar{ display:none; }

  .amb-hero{
    background:radial-gradient(240px 140px at 100% 0%, rgba(232,184,75,.2), transparent 60%), var(--surface);
    border:1px solid var(--line); border-radius:20px; padding:20px 18px; text-align:center; margin:6px 0 16px;
  }
  .amb-hero-ico{
    width:60px; height:60px; border-radius:100px; margin:0 auto 14px;
    background:linear-gradient(135deg, var(--gold), #b8862b);
    display:flex; align-items:center; justify-content:center; color:#fff;
    box-shadow:0 14px 28px -10px rgba(232,184,75,.6);
  }
  .amb-hero-ico svg{ width:28px; height:28px; }
  .amb-hero h1{ font-size:16px; font-weight:800; margin:0 0 6px; }
  .amb-hero p{ font-size:11px; color:var(--ink-1); margin:0; }

  .status-row{ display:flex; align-items:center; justify-content:space-between; margin-bottom:14px; }
  .status-row-left small{ font-size:10px; color:var(--ink-2); display:block; margin-bottom:4px; }
  .status-row-left b{ font-size:14px; font-weight:800; color:var(--gold); }

  .stat-row3{ display:grid; grid-template-columns:repeat(3,1fr); gap:8px; margin-bottom:16px; }
  .stat-box{ background:var(--surface); border:1px solid var(--line); border-radius:14px; padding:12px 8px; text-align:center; }
  .stat-box small{ font-size:8.5px; color:var(--ink-2); display:block; margin-bottom:6px; line-height:1.3; }
  .stat-box b{ font-size:14px; font-weight:800; }

  .dashboard-btn{
    width:100%; display:flex; align-items:center; justify-content:center; gap:8px;
    background:linear-gradient(135deg, var(--gold), #b8862b); color:#0a1226;
    font-size:12px; font-weight:800; font-family:inherit; padding:13px; border-radius:13px; cursor:pointer; border:0;
    box-shadow:0 14px 28px -12px rgba(232,184,75,.5); margin-bottom:20px;
  }
  .dashboard-btn svg{ width:15px; height:15px; }

  .section-label{ font-size:11px; font-weight:700; color:var(--ink-1); text-transform:uppercase; letter-spacing:.5px; margin:4px 2px 10px; }

  .level-row{
    display:flex; align-items:center; gap:12px;
    background:var(--surface); border:1px solid var(--line); border-radius:16px;
    padding:13px; margin-bottom:9px; cursor:pointer;
  }
  .level-row.current{ border-color:rgba(232,184,75,.5); background:rgba(232,184,75,.06); }
  .level-ico{ width:40px; height:40px; border-radius:100px; flex:none; display:flex; align-items:center; justify-content:center; }
  .level-ico svg{ width:19px; height:19px; }
  .level-body{ flex:1; }
  .level-body b{ display:block; font-size:13px; font-weight:700; }
  .level-body small{ font-size:9.5px; color:var(--ink-2); }
  .level-status-tag{ font-size:8px; font-weight:800; padding:3px 8px; border-radius:100px; flex:none; }
  .level-status-tag.current{ background:rgba(232,184,75,.16); color:var(--gold); }
  .level-status-tag.locked{ background:rgba(255,255,255,.06); color:var(--ink-2); }
  .level-chev{ width:14px; height:14px; color:var(--ink-2); flex:none; }

  .toast{
    position:absolute; left:50%; bottom:22px; transform:translateX(-50%) translateY(12px);
    background:var(--navy-700); border:1px solid var(--line-strong); color:var(--ink-0);
    font-size:12px; font-weight:600; padding:10px 16px; border-radius:100px;
    box-shadow:0 16px 32px -12px rgba(0,0,0,.6); opacity:0; visibility:hidden;
    transition:opacity .2s ease, transform .2s ease, visibility .2s; z-index:60; white-space:nowrap;
    display:flex; align-items:center; gap:7px;
  }
  .toast.show{ opacity:1; visibility:visible; transform:translateX(-50%) translateY(0); }
  .toast svg{ width:13px; height:13px; color:var(--blue-400); flex:none; }
  
   /* ---------- bottom nav ---------- */
  .bottom-nav{
    flex:none; display:flex; align-items:center; justify-content:space-around;
    padding:10px 8px 14px; border-top:1px solid var(--line);
    background:rgba(10,18,38,.9); backdrop-filter:blur(6px);
  }
  .nav-item{ display:flex; flex-direction:column; align-items:center; gap:4px; color:var(--ink-2); }
  .nav-item svg{ width:19px; height:19px; }
  .nav-item span{ font-size:9.5px; font-weight:600; }
  .nav-item.active{ color:var(--blue-400); }

