/* ============================================================================
   CROSSOVER — styles.css
   Colors are CSS variables so the whole app can re-theme (light/dark) at once.
   Sections: 1 Colors  2 Phone  3 Shared  4 Tabs  5 Onboarding  6 Home
   7 Learn  8 Lesson  9 Watchlist  10 Chart  11 Profile  12 Home hub
   13 Watchlist search  14 Chart extras  15 Tap  16 Chat  17 Dark theme
   18 Settings/toggles/pickers  19 Sign-in  20 Mascot/avatar  21 Terms
   ============================================================================ */

/* ---------- 1. Colors & base ---------- */
:root{
  --green:#58cc02; --green-d:#46a302; --blue:#1cb0f6; --red:#ff4b4b;
  --gold:#ffc800; --purple:#a560e8;
  --ink:#1f2937;      /* main text */
  --muted:#6b7280;    /* secondary text */
  --line:#e5e7eb;     /* borders */
  --bg:#f7f9fc;       /* app background */
  --card:#ffffff;     /* surfaces (cards, pills, inputs) */
  --field:#eef2f7;    /* segmented bg, chips, soft fills */
  --around:#e9eef5;   /* area around the phone on desktop */
  --locked:#cbd5e1;
  --shadow:0 2px 0 rgba(0,0,0,.08);
}
*{ box-sizing:border-box; -webkit-tap-highlight-color:transparent; }
html,body{ height:100%; margin:0; }
body{
  font-family:-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  color:var(--ink); background:var(--around);
  display:flex; justify-content:center; align-items:center;
}
button{ font-family:inherit; cursor:pointer; }
.hidden{ display:none !important; }
.muted{ color:var(--muted); }
.center{ text-align:center; }

/* ---------- 2. Phone frame ---------- */
#phone{
  position:relative; width:100%; max-width:420px; height:100vh; max-height:900px;
  background:var(--bg); display:flex; flex-direction:column; overflow:hidden;
  box-shadow:0 20px 60px rgba(0,0,0,.25);
}
@media(min-width:440px){ #phone{ border-radius:28px; height:90vh; } }
#screens{ flex:1; overflow-y:auto; -webkit-overflow-scrolling:touch; }
.screen{ display:none; padding:18px 16px 90px; }
.screen.active{ display:block; }
.screen h1.page-title{ font-size:24px; margin:6px 0 14px; }

/* ---------- 3. Shared bits ---------- */
.card{ background:var(--card); border:1px solid var(--line); border-radius:16px;
  padding:16px; margin-bottom:14px; box-shadow:var(--shadow); }
.btn{ display:inline-block; border:none; border-radius:14px; background:var(--green); color:#fff;
  font-weight:800; font-size:15px; padding:13px 18px; letter-spacing:.02em; text-transform:uppercase;
  box-shadow:0 4px 0 var(--green-d); transition:transform .05s, box-shadow .05s; width:100%; }
.btn:active{ transform:translateY(3px); box-shadow:0 1px 0 var(--green-d); }
.btn.secondary{ background:var(--card); color:var(--ink); border:2px solid var(--line); box-shadow:0 4px 0 var(--line); }
.btn.blue{ background:var(--blue); box-shadow:0 4px 0 #1391ce; }
.btn.ghost{ background:transparent; color:var(--muted); box-shadow:none; text-transform:none; font-weight:700; }
.btn:disabled{ background:var(--locked); box-shadow:0 4px 0 #aab4c0; cursor:not-allowed; }
.row{ display:flex; gap:10px; align-items:center; }
.pill{ display:inline-flex; align-items:center; gap:6px; background:var(--card);
  border:1px solid var(--line); border-radius:999px; padding:6px 12px; font-weight:800; font-size:14px; }
.pill .ic{ font-size:16px; }

/* ---------- 4. Bottom tab bar ---------- */
#tabbar{ position:absolute; left:0; right:0; bottom:0; display:flex; background:var(--card);
  border-top:1px solid var(--line); padding:6px 4px calc(6px + env(safe-area-inset-bottom)); }
.tab{ flex:1; background:none; border:none; padding:6px 2px; border-radius:12px;
  display:flex; flex-direction:column; align-items:center; gap:3px; color:var(--muted); font-size:11px; font-weight:700; }
.tab .ic{ font-size:22px; filter:grayscale(1) opacity(.6); }
.tab.active{ color:var(--green); }
.tab.active .ic{ filter:none; }

/* ---------- 5. Onboarding ---------- */
.overlay{ position:absolute; inset:0; z-index:50; background:var(--bg);
  display:flex; flex-direction:column; padding:24px 20px; overflow-y:auto; }
.ob-step{ flex:1; display:flex; flex-direction:column; }
.ob-top{ flex:1; display:flex; flex-direction:column; justify-content:center; align-items:center; text-align:center; gap:14px; }
.ob-top h2{ font-size:26px; margin:0; }
.ob-top p{ font-size:16px; color:var(--muted); margin:0; max-width:320px; }
.ob-emoji{ font-size:64px; }
.ob-progress{ height:10px; background:var(--line); border-radius:999px; overflow:hidden; margin-bottom:18px; }
.ob-progress > div{ height:100%; background:var(--green); transition:width .3s; }
.ob-input{ width:100%; padding:14px; font-size:18px; border:2px solid var(--line); border-radius:14px;
  text-align:center; background:var(--card); color:var(--ink); }
.ob-input:focus{ outline:none; border-color:var(--blue); }

.choice{ width:100%; text-align:left; background:var(--card); border:2px solid var(--line);
  border-radius:14px; padding:14px 16px; margin-bottom:10px; font-size:15px; font-weight:600;
  color:var(--ink); box-shadow:0 3px 0 var(--line); }
.choice.correct{ border-color:var(--green); background:#eafce0; color:#1f2937; box-shadow:0 3px 0 var(--green); }
.choice.wrong{ border-color:var(--red); background:#ffecec; color:#1f2937; box-shadow:0 3px 0 var(--red); }
.feedback{ border-radius:14px; padding:14px; margin-top:6px; font-weight:600; }
.feedback.ok{ background:#eafce0; color:#3a7d00; }
.feedback.no{ background:#ffecec; color:#c01616; }

/* ---------- 6. Home ---------- */
.hero{ background:linear-gradient(135deg,#58cc02,#46a302); color:#fff; border-radius:20px; padding:20px; margin-bottom:16px; }
.hero h2{ margin:0 0 4px; font-size:22px; }
.hero .sub{ opacity:.9; font-size:14px; }
.stat-row{ display:flex; gap:10px; margin-bottom:16px; }
.stat-row .pill{ flex:1; justify-content:center; }
.levelbar{ height:14px; background:rgba(255,255,255,.3); border-radius:999px; overflow:hidden; margin-top:12px; }
.levelbar > div{ height:100%; background:#fff; }
.section-title{ font-size:13px; text-transform:uppercase; letter-spacing:.05em; color:var(--muted); font-weight:800; margin:18px 4px 10px; }

/* ---------- 7. Learn roadmap ---------- */
.unit-header{ border-radius:16px; padding:14px 16px; color:#fff; margin:10px 0 6px;
  display:flex; justify-content:space-between; align-items:center; }
.unit-header h3{ margin:0; font-size:17px; }
.unit-header .u-sub{ font-size:12px; opacity:.9; }
.path{ display:flex; flex-direction:column; align-items:center; gap:6px; padding:8px 0 14px; }
.node{ position:relative; }
.node-btn{ width:72px; height:72px; border-radius:50%; border:none; font-size:30px;
  background:var(--green); color:#fff; box-shadow:0 5px 0 var(--green-d);
  display:flex; align-items:center; justify-content:center; }
.node-btn:active{ transform:translateY(3px); box-shadow:0 2px 0 var(--green-d); }
.node-btn.done{ background:var(--gold); box-shadow:0 5px 0 #d9a900; }
.node-btn.locked{ background:var(--locked); box-shadow:0 5px 0 #aab4c0; color:#fff; }
.node-btn.test{ background:var(--purple); box-shadow:0 5px 0 #7e3fb0; }
.node-label{ font-size:12px; font-weight:700; color:var(--muted); max-width:120px; text-align:center; }
.node:nth-child(4n+2){ transform:translateX(46px); }
.node:nth-child(4n+0){ transform:translateX(-46px); }

/* ---------- 8. Lesson popup ---------- */
#lessonModal{ z-index:60; padding:0; }
.lesson-wrap{ display:flex; flex-direction:column; height:100%; }
.lesson-bar{ display:flex; align-items:center; gap:12px; padding:16px; }
.lesson-bar .x{ background:none; border:none; font-size:22px; color:var(--muted); }
.lesson-bar .prog{ flex:1; height:12px; background:var(--line); border-radius:999px; overflow:hidden; }
.lesson-bar .prog > div{ height:100%; background:var(--green); transition:width .3s; }
.lesson-body{ flex:1; overflow-y:auto; padding:8px 20px; }
.lesson-body h2{ font-size:22px; margin:6px 0 12px; }
.lesson-body p{ font-size:16px; line-height:1.55; color:var(--ink); }
.lesson-art{ display:flex; justify-content:center; margin:16px 0; }
.lesson-foot{ padding:16px 20px calc(20px + env(safe-area-inset-bottom)); border-top:1px solid var(--line); }
.callout{ background:#eef6ff; border:1px solid #cfe6ff; border-radius:12px; padding:12px 14px; font-size:14px; color:#0d4a73; margin:12px 0; }
.callout.warn{ background:#fff7e6; border-color:#ffe1a6; color:#8a5a00; }

/* ---------- 9. Watchlist ---------- */
.wl-item{ display:flex; align-items:center; gap:12px; background:var(--card); border:1px solid var(--line);
  border-radius:14px; padding:12px 14px; margin-bottom:10px; box-shadow:var(--shadow); }
.wl-logo{ width:42px; height:42px; border-radius:12px; background:var(--field); display:flex;
  align-items:center; justify-content:center; font-weight:800; font-size:12px; color:var(--ink); }
.wl-name{ flex:1; }
.wl-name .t{ font-weight:800; }
.wl-name .s{ font-size:12px; color:var(--muted); }
.wl-price{ text-align:right; }
.wl-price .p{ font-weight:800; }
.wl-price .chg{ font-size:13px; font-weight:700; }
.up{ color:var(--green); } .down{ color:var(--red); }

/* ---------- 10. Chart ---------- */
.chart-head{ display:flex; gap:8px; align-items:center; margin-bottom:10px; flex-wrap:wrap; }
.seg{ display:inline-flex; background:var(--field); border-radius:12px; padding:3px; }
.seg button{ border:none; background:none; padding:8px 14px; border-radius:10px; font-weight:800; color:var(--muted); font-size:13px; }
.seg button.on{ background:var(--card); color:var(--ink); box-shadow:var(--shadow); }
select.sym{ padding:9px 12px; border-radius:12px; border:1px solid var(--line); font-weight:800; font-size:14px; background:var(--card); color:var(--ink); }
#chartBox{ width:100%; height:300px; background:var(--card); border:1px solid var(--line); border-radius:14px; overflow:hidden; }
.trade-stats{ display:flex; gap:8px; margin-bottom:10px; }
.trade-stats .pill{ flex:1; justify-content:center; flex-direction:column; gap:2px; padding:8px; }
.trade-stats .pill .k{ font-size:10px; color:var(--muted); text-transform:uppercase; }
.trade-stats .pill .v{ font-size:16px; }
.trade-buttons{ display:flex; gap:10px; }
.btn.buy{ background:var(--green); box-shadow:0 4px 0 var(--green-d); }
.btn.sell{ background:var(--red); box-shadow:0 4px 0 #d13b3b; }
.replay-controls{ display:flex; gap:8px; margin-top:10px; }
.note{ font-size:12px; color:var(--muted); margin-top:10px; text-align:center; }

/* ---------- 11. Profile / leaderboard ---------- */
.avatar{ width:72px; height:72px; border-radius:50%; background:var(--blue); color:#fff; overflow:hidden;
  display:flex; align-items:center; justify-content:center; font-size:30px; font-weight:800; }
.lb-item{ display:flex; align-items:center; gap:12px; padding:10px 4px; border-bottom:1px solid var(--line); }
.lb-rank{ width:26px; text-align:center; font-weight:800; color:var(--muted); }
.lb-name{ flex:1; font-weight:700; }
.lb-me{ background:#eafce0; border-radius:10px; }
.lb-xp{ font-weight:800; color:var(--green); }

/* ---------- 12. Home hub ---------- */
.home-top{ display:flex; justify-content:space-between; align-items:center; margin-bottom:14px; }
.icon-btn{ width:42px; height:42px; border-radius:50%; border:1px solid var(--line); background:var(--card);
  font-size:18px; display:flex; align-items:center; justify-content:center; font-weight:800; color:var(--ink); overflow:hidden; }
#profileIcon{ background:var(--blue); color:#fff; border:none; }
.tiles{ display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.tile{ border:none; border-radius:16px; padding:16px; font-weight:800; font-size:14px; color:var(--ink);
  text-align:left; display:flex; flex-direction:column; gap:8px; box-shadow:var(--shadow); }
.tile-ic{ font-size:26px; }
.hscroll{ display:flex; gap:10px; overflow-x:auto; padding:2px 2px 8px; -webkit-overflow-scrolling:touch; }
.mini{ min-width:106px; background:var(--card); border:1px solid var(--line); border-radius:14px; padding:12px;
  text-align:left; box-shadow:var(--shadow); color:var(--ink); }
.mini-t{ font-weight:800; font-size:13px; } .mini-p{ font-weight:700; font-size:14px; margin-top:4px; }
.mini-c{ font-size:12px; font-weight:700; margin-top:2px; }
.card.soon{ background:var(--card); }
.soon-tag{ font-size:11px; font-weight:800; color:#8a5a00; background:#fff7e6; border:1px solid #ffe1a6;
  border-radius:999px; padding:3px 8px; text-transform:uppercase; letter-spacing:.03em; }

/* ---------- 13. Watchlist search/chips ---------- */
.wl-search{ width:100%; padding:12px 14px; border:2px solid var(--line); border-radius:14px; font-size:15px;
  margin-bottom:12px; background:var(--card); color:var(--ink); }
.wl-search:focus{ outline:none; border-color:var(--blue); }
.chips{ display:flex; gap:8px; overflow-x:auto; padding-bottom:10px; }
.chip{ white-space:nowrap; border:1px solid var(--line); background:var(--card); color:var(--muted);
  border-radius:999px; padding:7px 13px; font-weight:700; font-size:13px; }
.chip.on{ background:var(--ink); color:var(--bg); border-color:var(--ink); }
.wl-logo{ font-size:12px; }
.wl-logo.k-crypto{ background:#fef3c7; color:#92400e; }
.wl-logo.k-forex{ background:#dbeafe; color:#1e40af; }
.wl-logo.k-stock{ background:#dcfce7; color:#166534; }
.wl-logo.k-index{ background:#ede9fe; color:#5b21b6; }

/* ---------- 14. Chart extras ---------- */
.seg.tf{ margin-bottom:10px; }
#tvBox{ width:100%; height:440px; border:1px solid var(--line); border-radius:14px; overflow:hidden; background:var(--card); }

/* ---------- 15. Tap-the-candle ---------- */
.hot{ fill:transparent; cursor:pointer; }
.hot.hit{ fill:rgba(28,176,246,.22); stroke:#1cb0f6; stroke-width:2; }
.hot.miss{ fill:rgba(239,68,68,.18); }

/* ---------- 16. Chat + live dot ---------- */
.ask-btn{ position:absolute; right:14px; bottom:80px; width:54px; height:54px; border-radius:50%;
  border:none; background:var(--blue); color:#fff; font-size:24px; z-index:45; box-shadow:0 6px 18px rgba(28,176,246,.5); }
.ask-btn:active{ transform:translateY(2px); }
#chatModal{ z-index:70; }
.bubble{ max-width:86%; padding:11px 14px; border-radius:16px; margin:8px 0; font-size:15px; line-height:1.5; }
.bubble.bot{ background:var(--field); color:var(--ink); border-bottom-left-radius:4px; }
.bubble.user{ background:var(--blue); color:#fff; margin-left:auto; border-bottom-right-radius:4px; }
.chat-suggest{ display:flex; gap:8px; overflow-x:auto; padding:8px 16px; border-top:1px solid var(--line); }
.chat-foot{ display:flex; gap:8px; align-items:center; }
.chat-input{ flex:1; padding:11px 14px; border:2px solid var(--line); border-radius:12px; font-size:15px; background:var(--card); color:var(--ink); }
.chat-input:focus{ outline:none; border-color:var(--blue); }
.live-dot{ display:inline-block; width:8px; height:8px; border-radius:50%; background:#22c55e;
  box-shadow:0 0 0 2px rgba(34,197,94,.25); vertical-align:middle; }

/* ---------- 17. Dark theme ---------- */
body[data-theme="dark"]{
  --ink:#e6edf3; --muted:#94a3b8; --line:#2b3650;
  --bg:#0f172a; --card:#1b2438; --field:#2b3650; --around:#070b15;
}
body[data-theme="dark"] .feedback.ok,
body[data-theme="dark"] .choice.correct{ background:#14331f; color:#86efac; }
body[data-theme="dark"] .feedback.no,
body[data-theme="dark"] .choice.wrong{ background:#3a1a1a; color:#fca5a5; }
body[data-theme="dark"] .lb-me{ background:#14331f; }
body[data-theme="dark"] .soon-tag{ background:#3a2e12; color:#fcd34d; border-color:#5b4715; }

/* ---------- 18. Settings: toggles & color pickers ---------- */
.set-group{ margin-bottom:6px; }
.set-row{ display:flex; align-items:center; justify-content:space-between; gap:12px; padding:13px 0; border-bottom:1px solid var(--line); }
.set-row:last-child{ border-bottom:none; }
.set-row .lbl{ font-weight:700; }
.set-row .sub{ font-size:12px; color:var(--muted); margin-top:2px; }
.toggle{ width:50px; height:30px; border-radius:999px; background:var(--line); border:none; position:relative; flex:none; }
.toggle.on{ background:var(--green); }
.toggle::after{ content:""; position:absolute; top:3px; left:3px; width:24px; height:24px; border-radius:50%; background:#fff; transition:left .15s; }
.toggle.on::after{ left:23px; }
.color-row{ display:flex; align-items:center; gap:14px; flex-wrap:wrap; }
.color-pick{ display:flex; flex-direction:column; align-items:center; gap:4px; font-size:11px; color:var(--muted); font-weight:700; }
input[type=color]{ width:46px; height:36px; border:1px solid var(--line); border-radius:10px; background:none; padding:2px; cursor:pointer; }

/* ---------- 19. Sign-in ---------- */
.sso{ width:100%; display:flex; align-items:center; justify-content:center; gap:10px; padding:13px;
  border-radius:14px; border:2px solid var(--line); background:var(--card); color:var(--ink); font-weight:800; font-size:15px; margin-bottom:10px; }
.sso .dot{ width:18px; height:18px; border-radius:50%; display:inline-block; }

/* ---------- 20. Mascot / uploaded avatar ---------- */
.mascot{ display:flex; justify-content:center; }
.avatar img, .icon-btn img, .av img{ width:100%; height:100%; object-fit:cover; }
.av{ width:48px; height:48px; border-radius:50%; overflow:hidden; background:var(--blue); color:#fff;
  display:flex; align-items:center; justify-content:center; font-weight:800; cursor:pointer; flex:none; }

/* ---------- 21. Terms ---------- */
.tos{ font-size:14px; line-height:1.6; color:var(--ink); }
.tos h3{ margin:16px 0 6px; font-size:15px; }
.tos .warn{ background:#fff7e6; border:1px solid #ffe1a6; color:#8a5a00; border-radius:10px; padding:10px 12px; }

/* ---------- 22. Chart date + active toggle buttons ---------- */
.rdate{ text-align:center; font-weight:800; color:var(--ink); margin-bottom:8px; font-size:14px; }
.btn.secondary.on{ background:var(--blue); color:#fff; border-color:var(--blue); box-shadow:0 4px 0 #1391ce; }

/* ---------- 22.5 Monkey Squad: layout, reactions, animations ---------- */
.squad{ display:flex; gap:12px; justify-content:center; align-items:flex-end; flex-wrap:wrap; }
.squad .mk{ display:flex; flex-direction:column; align-items:center; gap:2px;
  font-size:12px; font-weight:800; color:var(--muted); }
.react{ display:flex; justify-content:center; margin:6px 0; }
@keyframes mkShake{ 0%,100%{transform:rotate(0)} 20%{transform:rotate(-9deg)} 40%{transform:rotate(7deg)} 60%{transform:rotate(-5deg)} 80%{transform:rotate(3deg)} }
.mk-shake{ animation:mkShake .6s ease 1; transform-origin:50% 85%; display:inline-block; }
@keyframes mkBounce{ 0%,100%{transform:translateY(0)} 30%{transform:translateY(-12px)} 60%{transform:translateY(-4px)} }
.mk-bounce{ animation:mkBounce .7s ease 1; display:inline-block; }
/* Duolingo-style accent flash on right/wrong */
@keyframes flashGood{ 0%{background-color:rgba(88,204,2,.20)} 100%{background-color:transparent} }
@keyframes flashBad{ 0%{background-color:rgba(255,75,75,.20)} 100%{background-color:transparent} }
.flash-good{ animation:flashGood .9s ease 1; }
.flash-bad{ animation:flashBad .9s ease 1; }

/* ---------- 22.6 Onboarding survey: skill slider + selected choice ---------- */
.skill-num{ font-size:58px; font-weight:900; color:var(--green); line-height:1; }
input[type=range].skill{ width:100%; height:36px; accent-color:var(--green); cursor:pointer; }
.skill-labels{ display:flex; justify-content:space-between; font-size:12px; color:var(--muted); font-weight:700; }
.skill-labels #skillLbl{ color:var(--ink); }
.choice.sel{ border-color:var(--blue); background:#e7f6ff; box-shadow:0 3px 0 var(--blue); }
body[data-theme="dark"] .choice.sel{ background:#123043; }

/* ---------- 23. TradingView-style OHLC legend ---------- */
#chartBox{ position:relative; }
.tv-legend{ position:absolute; top:8px; left:10px; z-index:3; pointer-events:none;
  font-size:12px; font-weight:700; color:var(--muted); line-height:1.4;
  background:rgba(255,255,255,.78); padding:4px 9px; border-radius:8px; }
.tv-legend b{ color:var(--ink); }
body[data-theme="dark"] .tv-legend{ background:rgba(15,23,42,.78); }

/* ---------- 24. Sign-up form ---------- */
.form-grid{ width:100%; max-width:340px; display:grid; gap:10px; text-align:left; }
.form-grid label{ font-size:12px; font-weight:800; color:var(--muted); text-transform:uppercase; letter-spacing:.04em; }
.form-grid input{ width:100%; padding:12px 14px; font-size:15px; border:2px solid var(--line);
  border-radius:12px; background:var(--card); color:var(--ink); }
.form-grid input:focus{ outline:none; border-color:var(--blue); }
.form-2col{ display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.form-err{ color:var(--red); font-size:13px; font-weight:700; min-height:18px; }

/* ---------- 25. TOP BAR (desktop) — hidden on phones ---------- */
#topbar{ display:none; }

/* ---------- 26. DESKTOP / WEBSITE LAYOUT (wide windows) ----------
   The same app reshapes itself: the bottom tab bar becomes a LEFT SIDEBAR,
   the top bar appears with account + settings, and content gets more room. */
#maincol{ flex:1; display:flex; flex-direction:column; min-height:0; }

@media(min-width:900px){
  body{ align-items:stretch; }
  #phone{ max-width:none; max-height:none; height:100vh; border-radius:0 !important; box-shadow:none; flex-direction:row; }

  /* Tab bar -> left sidebar */
  #tabbar{ position:static; order:-1; flex-direction:column; justify-content:flex-start; gap:6px;
    width:232px; padding:18px 12px; border-top:none; border-right:1px solid var(--line); }
  .tab{ flex:0 0 auto; flex-direction:row; justify-content:flex-start; gap:12px; padding:12px 14px; font-size:15px; }
  .tab .ic{ font-size:20px; }
  .tab.active{ background:var(--field); }

  /* Top bar appears */
  #topbar{ display:flex; align-items:center; justify-content:space-between;
    padding:12px 28px; border-bottom:1px solid var(--line); background:var(--card); }
  #topbar .brand{ font-size:17px; }
  .top-actions{ display:flex; gap:10px; }

  /* Content: centered column with breathing room */
  .screen{ max-width:860px; margin:0 auto; width:100%; padding:26px 36px 48px; }
  .tiles{ grid-template-columns:repeat(4,1fr); }
  #chartBox{ height:420px; }
  #tvBox{ height:560px; }
  .ask-btn{ bottom:24px; right:24px; }

  /* Overlays: keep readable width on big screens */
  .lesson-wrap, .ob-step, .ob-progress{ max-width:680px; width:100%; margin-left:auto; margin-right:auto; }
}
