/* BTG Academy — Crypto Trading Course lesson components (ported, scoped) */
.ctc-scope{
  --black:#060807;
  --panel:#0b0f0c;
  --panel-2:#0f1511;
  --panel-3:#131a15;
  --line:rgba(0,244,142,.13);
  --line-soft:rgba(255,255,255,.07);
  --green:#00F48E;
  --green-dim:rgba(0,244,142,.12);
  --red:#FF4D5E;
  --red-dim:rgba(255,77,94,.12);
  --gold:#F0B90B;
  --gold-dim:rgba(240,185,11,.12);
  --text:#E6EFE9;
  --text-2:#9DB5A7;
  --text-3:#64796C;
  --font-body:'Manrope',system-ui,sans-serif;
  --font-disp:'Space Grotesk','Manrope',sans-serif;
  --font-mono:'JetBrains Mono',ui-monospace,SFMono-Regular,Menlo,monospace;
  --sidebar-w:316px;
  --topbar-h:64px;
  --radius:10px;
}
.ctc-scope .objectives{
  margin:26px 0 8px;border:1px solid rgba(0,244,142,.13);background:rgba(0,244,142,.035);
  padding:22px 24px;
  clip-path:polygon(0 0,calc(100% - 14px) 0,100% 14px,100% 100%,14px 100%,0 calc(100% - 14px));
}
.ctc-scope .objectives h4,.ctc-scope .block-label{font-family:'JetBrains Mono',ui-monospace,SFMono-Regular,Menlo,monospace;font-size:10.5px;letter-spacing:.24em;color:#00F48E;text-transform:uppercase;margin-bottom:12px}
.ctc-scope .objectives ul{list-style:none}
.ctc-scope .objectives li{padding:5px 0 5px 26px;position:relative;color:#E6EFE9;font-size:14.5px}
.ctc-scope .objectives li::before{content:"✓";position:absolute;left:0;color:#00F48E;font-weight:700}
.ctc-scope .objectives ul.lock-list li::before{content:none}
.ctc-scope .objectives ul.lock-list li{padding-left:0}
.ctc-scope .objectives ul.lock-list li .st-done{color:#00F48E;font-weight:700}
.ctc-scope .objectives ul.lock-list li .st-todo{color:#64796C}
.ctc-scope ul.std,.ctc-scope ol.std{margin:14px 0 14px 4px;max-width:72ch}
.ctc-scope ul.std li,.ctc-scope ol.std li{margin:8px 0 8px 22px;color:#E6EFE9}
.ctc-scope ul.std li::marker{color:#00F48E}
.ctc-scope ol.std li::marker{color:#00F48E;font-family:'JetBrains Mono',ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.85em}
.ctc-scope code.inline{font-family:'JetBrains Mono',ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.88em;background:rgba(0,244,142,.09);color:#00F48E;padding:2px 7px;border-radius:5px}
.ctc-scope .tbl-wrap{overflow-x:auto;margin:20px 0;border:1px solid rgba(255,255,255,.07);border-radius:10px}
.ctc-scope table.tbl{width:100%;border-collapse:collapse;font-size:13.5px;min-width:520px}
.ctc-scope table.tbl th{
  font-family:'JetBrains Mono',ui-monospace,SFMono-Regular,Menlo,monospace;font-size:10.5px;letter-spacing:.14em;text-transform:uppercase;
  color:#00F48E;text-align:left;padding:12px 16px;background:rgba(0,244,142,.05);
  border-bottom:1px solid rgba(255,255,255,.07);white-space:nowrap;
}
.ctc-scope table.tbl td{padding:11px 16px;border-bottom:1px solid rgba(255,255,255,.05);color:#E6EFE9;vertical-align:top}
.ctc-scope table.tbl tr:last-child td{border-bottom:none}
.ctc-scope table.tbl td:first-child{font-family:'JetBrains Mono',ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12.5px;color:#F0B90B;white-space:nowrap}
.ctc-scope .callout{margin:22px 0;padding:18px 22px;font-size:14.5px;line-height:1.7;max-width:78ch;
  clip-path:polygon(0 0,calc(100% - 12px) 0,100% 12px,100% 100%,12px 100%,0 calc(100% - 12px));}
.ctc-scope .callout .tag{font-family:'JetBrains Mono',ui-monospace,SFMono-Regular,Menlo,monospace;font-size:10px;letter-spacing:.22em;text-transform:uppercase;display:block;margin-bottom:7px}
.ctc-scope .callout.example{border:1px solid rgba(240,185,11,.35);background:rgba(240,185,11,.12)}
.ctc-scope .callout.example .tag{color:#F0B90B}
.ctc-scope .callout.risk{border:1px solid rgba(255,77,94,.35);background:rgba(255,77,94,.12)}
.ctc-scope .callout.risk .tag{color:#FF4D5E}
.ctc-scope .callout.tip{border:1px solid rgba(0,244,142,.13);background:rgba(0,244,142,.12)}
.ctc-scope .callout.tip .tag{color:#00F48E}
.ctc-scope .callout p{margin:6px 0;color:#E6EFE9}
.ctc-scope .callout .mono{font-family:'JetBrains Mono',ui-monospace,SFMono-Regular,Menlo,monospace;font-size:13px}
.ctc-scope .chart-box{margin:26px 0;border:1px solid rgba(255,255,255,.07);border-radius:10px;background:#0b0f0c;overflow:hidden}
.ctc-scope .chart-box .chart-title{
  padding:11px 16px;font-family:'JetBrains Mono',ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11px;letter-spacing:.14em;
  color:#9DB5A7;text-transform:uppercase;border-bottom:1px solid rgba(255,255,255,.07);
  display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;
}
.ctc-scope .chart-box .chart-title b{color:#00F48E}
.ctc-scope .chart-box svg{display:block;width:100%;height:auto}
.ctc-scope .chart-caption{padding:10px 16px;font-size:12.5px;color:#64796C;border-top:1px solid rgba(255,255,255,.07);font-family:'JetBrains Mono',ui-monospace,SFMono-Regular,Menlo,monospace}
.ctc-scope .terms{margin:30px 0}
.ctc-scope .terms-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(290px,1fr));gap:12px}
.ctc-scope .term{
  border:1px solid rgba(255,255,255,.07);border-radius:8px;padding:14px 16px;background:#0b0f0c;
  transition:border-color .18s;
}
.ctc-scope .term:hover{border-color:rgba(0,244,142,.35)}
.ctc-scope .term b{font-family:'JetBrains Mono',ui-monospace,SFMono-Regular,Menlo,monospace;font-size:13px;color:#00F48E;display:block;margin-bottom:5px}
.ctc-scope .term span{font-size:13.5px;color:#9DB5A7;line-height:1.55;display:block}
.ctc-scope .exercise{margin:30px 0;border:1px dashed rgba(240,185,11,.5);border-radius:10px;padding:20px 24px;background:rgba(240,185,11,.04)}
.ctc-scope .exercise h4{font-family:'JetBrains Mono',ui-monospace,SFMono-Regular,Menlo,monospace;font-size:10.5px;letter-spacing:.24em;color:#F0B90B;text-transform:uppercase;margin-bottom:10px}
.ctc-scope .exercise .ex-title{font-family:'Space Grotesk','Manrope',sans-serif;font-weight:700;color:#fff;font-size:16px;margin-bottom:8px}
.ctc-scope .exercise ol{margin-left:20px}
.ctc-scope .exercise li{margin:7px 0;color:#E6EFE9;font-size:14.5px}
.ctc-scope .exercise li::marker{color:#F0B90B;font-family:'JetBrains Mono',ui-monospace,SFMono-Regular,Menlo,monospace}
.ctc-scope .quiz{margin:34px 0;border:1px solid rgba(255,255,255,.07);border-radius:10px;overflow:hidden}
.ctc-scope .quiz-head{padding:13px 18px;background:rgba(0,244,142,.05);border-bottom:1px solid rgba(255,255,255,.07);font-family:'JetBrains Mono',ui-monospace,SFMono-Regular,Menlo,monospace;font-size:10.5px;letter-spacing:.22em;color:#00F48E;text-transform:uppercase;display:flex;justify-content:space-between}
.ctc-scope .quiz-q{padding:18px 20px;border-bottom:1px solid rgba(255,255,255,.05)}
.ctc-scope .quiz-q:last-child{border-bottom:none}
.ctc-scope .quiz-q .q{font-weight:600;color:#fff;font-size:15px;margin-bottom:12px}
.ctc-scope .quiz-q .q .qn{font-family:'JetBrains Mono',ui-monospace,SFMono-Regular,Menlo,monospace;color:#00F48E;font-size:12px;margin-right:8px}
.ctc-scope .quiz-opt{
  display:flex;align-items:flex-start;gap:11px;width:100%;text-align:left;
  background:none;border:1px solid rgba(255,255,255,.07);border-radius:8px;
  padding:11px 14px;margin:7px 0;color:#9DB5A7;font-size:14px;line-height:1.5;
  transition:all .16s;
}
.ctc-scope .quiz-opt:hover{border-color:rgba(0,244,142,.4);color:#E6EFE9}
.ctc-scope .quiz-opt .key{font-family:'JetBrains Mono',ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11px;color:#64796C;flex:0 0 auto;margin-top:2px}
.ctc-scope .quiz-opt.correct{border-color:#00F48E;background:rgba(0,244,142,.12);color:#d9ffef}
.ctc-scope .quiz-opt.correct .key{color:#00F48E}
.ctc-scope .quiz-opt.wrong{border-color:#FF4D5E;background:rgba(255,77,94,.12);color:#ffd9dd}
.ctc-scope .quiz-opt.wrong .key{color:#FF4D5E}
.ctc-scope .quiz-why{display:none;margin:10px 0 4px;padding:11px 14px;font-size:13px;color:#9DB5A7;background:rgba(255,255,255,.035);border-left:2px solid #00F48E;border-radius:0 8px 8px 0}
.ctc-scope .quiz-why.show{display:block}
.ctc-scope .quiz-score{padding:14px 18px;font-family:'JetBrains Mono',ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px;color:#F0B90B;border-top:1px solid rgba(255,255,255,.07);display:none}
.ctc-scope .quiz-score.show{display:block}
.ctc-scope .instr{margin:30px 0;border:1px solid rgba(255,255,255,.07);border-radius:10px}
.ctc-scope .instr summary{
  list-style:none;cursor:pointer;padding:14px 18px;display:flex;align-items:center;gap:12px;
  font-family:'JetBrains Mono',ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11px;letter-spacing:.2em;color:#F0B90B;text-transform:uppercase;
}
.ctc-scope .instr summary::-webkit-details-marker{display:none}
.ctc-scope .instr summary::after{content:"+";margin-left:auto;color:#64796C;font-size:16px;transition:transform .2s}
.ctc-scope .instr[open] summary::after{transform:rotate(45deg)}
.ctc-scope .instr .instr-body{padding:4px 20px 18px;color:#9DB5A7;font-size:14px}
.ctc-scope .instr .instr-body p{margin:8px 0}
.ctc-scope .sim{margin:28px 0;border:1px solid rgba(0,244,142,.3);border-radius:10px;background:linear-gradient(160deg,#0f1511,#0b0f0c);overflow:hidden}
.ctc-scope .sim-head{padding:14px 18px;border-bottom:1px solid rgba(255,255,255,.07);display:flex;align-items:center;gap:12px}
.ctc-scope .sim-head .sim-dot{width:8px;height:8px;border-radius:50%;background:#00F48E;box-shadow:0 0 10px #00F48E}
.ctc-scope .sim-head b{font-family:'JetBrains Mono',ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11px;letter-spacing:.2em;color:#00F48E;text-transform:uppercase}
.ctc-scope .sim-body{padding:20px;display:grid;grid-template-columns:1fr 1fr;gap:24px}
@media(max-width:760px){.ctc-scope .sim-body{grid-template-columns:1fr}
}
.ctc-scope .sim-field{margin-bottom:14px}
.ctc-scope .sim-field label{display:block;font-family:'JetBrains Mono',ui-monospace,SFMono-Regular,Menlo,monospace;font-size:10.5px;letter-spacing:.14em;color:#64796C;text-transform:uppercase;margin-bottom:6px}
.ctc-scope .sim-field input,.ctc-scope .sim-field select{
  width:100%;background:#060807;border:1px solid rgba(255,255,255,.07);border-radius:8px;
  color:#E6EFE9;font-family:'JetBrains Mono',ui-monospace,SFMono-Regular,Menlo,monospace;font-size:14px;padding:11px 13px;
  transition:border-color .16s;
}
.ctc-scope .sim-field input:focus,.ctc-scope .sim-field select:focus{border-color:#00F48E;outline:none}
.ctc-scope .sim-result{background:#060807;border:1px solid rgba(255,255,255,.07);border-radius:8px;padding:16px}
.ctc-scope .sim-result .row{display:flex;justify-content:space-between;gap:12px;padding:8px 0;border-bottom:1px dashed rgba(255,255,255,.08);font-size:13.5px}
.ctc-scope .sim-result .row:last-child{border-bottom:none}
.ctc-scope .sim-result .row span{color:#64796C;font-family:'JetBrains Mono',ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11.5px;letter-spacing:.06em}
.ctc-scope .sim-result .row b{font-family:'JetBrains Mono',ui-monospace,SFMono-Regular,Menlo,monospace;font-size:13.5px;color:#E6EFE9;font-weight:500;text-align:right}
.ctc-scope .sim-result .row b.pos{color:#00F48E}
.ctc-scope .sim-result .row b.neg{color:#FF4D5E}
.ctc-scope .sim-result .row b.big{font-size:17px;color:#F0B90B}
.ctc-scope .sim-msg{font-family:'JetBrains Mono',ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px;margin-top:12px;min-height:18px}
.ctc-scope .sim-msg.ok{color:#00F48E}
.ctc-scope .sim-msg.err{color:#FF4D5E}
.ctc-scope .sim-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:6px}
.ctc-scope .btn-sim{
  background:#00F48E;color:#04120b;border:none;border-radius:7px;
  font-family:'JetBrains Mono',ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px;font-weight:700;letter-spacing:.08em;padding:11px 18px;
  transition:filter .15s;
}
.ctc-scope .btn-sim:hover{filter:brightness(1.12)}
.ctc-scope .btn-sim.sell{background:#FF4D5E;color:#1c0508}
.ctc-scope .btn-sim.ghost{background:none;border:1px solid rgba(255,255,255,.07);color:#9DB5A7}
.ctc-scope .btn-sim.ghost:hover{border-color:#9DB5A7;filter:none}
.ctc-scope .journal-table{width:100%;border-collapse:collapse;font-size:12.5px;font-family:'JetBrains Mono',ui-monospace,SFMono-Regular,Menlo,monospace}
.ctc-scope .journal-table th{font-size:10px;letter-spacing:.12em;color:#00F48E;text-transform:uppercase;text-align:left;padding:9px 10px;border-bottom:1px solid rgba(255,255,255,.07);white-space:nowrap}
.ctc-scope .journal-table td{padding:9px 10px;border-bottom:1px solid rgba(255,255,255,.05);color:#9DB5A7;white-space:nowrap}
.ctc-scope .journal-table .pos{color:#00F48E}
.ctc-scope .journal-table .neg{color:#FF4D5E}
.ctc-scope .journal-empty{padding:22px;text-align:center;color:#64796C;font-family:'JetBrains Mono',ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px}
.ctc-scope .replay-hud{padding:14px 18px;border-top:1px solid rgba(255,255,255,.07)}
.ctc-scope .replay-caption{font-size:14px;line-height:1.65;color:#E6EFE9;min-height:48px}
.ctc-scope .replay-caption b{color:#00F48E;font-family:'JetBrains Mono',ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11px;letter-spacing:.14em}
.ctc-scope .replay-pnl{font-family:'JetBrains Mono',ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12.5px;color:#F0B90B;margin-top:8px;min-height:18px}
.ctc-scope .replay-controls{display:flex;align-items:center;gap:10px;padding:12px 18px;border-top:1px solid rgba(255,255,255,.07);flex-wrap:wrap}
.ctc-scope .replay-track{flex:1;min-width:120px;height:4px;background:rgba(255,255,255,.08);border-radius:99px;overflow:hidden}
.ctc-scope .replay-fill{height:100%;width:0%;background:#00F48E;transition:width .4s ease}
.ctc-scope .replay .btn-sim{padding:9px 16px}
.ctc-scope .orderbook{margin:24px 0;border:1px solid rgba(255,255,255,.07);border-radius:10px;background:#0b0f0c;overflow:hidden;max-width:640px}
.ctc-scope .ob-head{display:flex;justify-content:space-between;gap:10px;padding:11px 16px;font-family:'JetBrains Mono',ui-monospace,SFMono-Regular,Menlo,monospace;font-size:10px;letter-spacing:.14em;color:#64796C;border-bottom:1px solid rgba(255,255,255,.07);flex-wrap:wrap}
.ctc-scope .ob-row{position:relative;display:flex;justify-content:space-between;padding:5px 16px;font-family:'JetBrains Mono',ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12.5px}
.ctc-scope .ob-row .ob-bar{position:absolute;top:2px;bottom:2px;right:0;opacity:.13;border-radius:3px}
.ctc-scope .ob-row.ask .ob-bar{background:#FF4D5E}
.ctc-scope .ob-row.bid .ob-bar{background:#00F48E}
.ctc-scope .ob-row.ask .ob-p{color:#FF4D5E}
.ctc-scope .ob-row.bid .ob-p{color:#00F48E}
.ctc-scope .ob-row .ob-s{color:#9DB5A7}
.ctc-scope .ob-spread{display:flex;justify-content:space-between;gap:10px;align-items:center;padding:9px 16px;background:rgba(240,185,11,.08);border-top:1px solid rgba(240,185,11,.3);border-bottom:1px solid rgba(240,185,11,.3);font-family:'JetBrains Mono',ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11px;color:#F0B90B;flex-wrap:wrap}
.ctc-scope .ob-spread b{font-size:14px}
.ctc-scope .sessbar{margin:24px 0;border:1px solid rgba(255,255,255,.07);border-radius:10px;background:#0b0f0c;padding:18px 18px 14px}
.ctc-scope .sessbar-track{position:relative;height:44px;border-radius:6px;overflow:hidden;background:rgba(255,255,255,.04)}
.ctc-scope .sb-seg{position:absolute;top:0;bottom:0;display:flex;align-items:center;justify-content:center;border-right:1px solid rgba(0,0,0,.4)}
.ctc-scope .sb-seg span{font-family:'JetBrains Mono',ui-monospace,SFMono-Regular,Menlo,monospace;font-size:9.5px;letter-spacing:.08em;color:#E6EFE9;text-shadow:0 1px 3px rgba(0,0,0,.6);white-space:nowrap}
.ctc-scope .sessbar-hours{display:flex;justify-content:space-between;margin-top:7px;font-family:'JetBrains Mono',ui-monospace,SFMono-Regular,Menlo,monospace;font-size:9.5px;color:#64796C}
.ctc-scope .sessbar-note{margin-top:10px;font-family:'JetBrains Mono',ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11px;color:#9DB5A7}
@media(max-width:600px){.ctc-scope .sb-seg span{font-size:8px}
}
.ctc-scope .pattern-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(320px,100%),1fr));gap:18px;margin:14px 0 8px}
@media(max-width:600px){.ctc-scope .pattern-grid{grid-template-columns:1fr}}
.ctc-scope .pattern-card{background:linear-gradient(160deg,#0f1511,#0b0f0c);border:1px solid rgba(255,255,255,.07);border-radius:12px;overflow:hidden;transition:border-color .2s,transform .2s}
.ctc-scope .pattern-card:hover{border-color:rgba(0,244,142,.4);transform:translateY(-3px)}
.ctc-scope .pc-head{display:flex;justify-content:space-between;align-items:baseline;gap:10px;padding:14px 16px 10px}
.ctc-scope .pc-head b{font-family:'Space Grotesk','Manrope',sans-serif;font-size:16.5px;color:#fff}
.ctc-scope .pc-head span{font-family:'JetBrains Mono',ui-monospace,SFMono-Regular,Menlo,monospace;font-size:9px;letter-spacing:.16em;color:#F0B90B}
.ctc-scope .pc-chart{border-top:1px solid rgba(255,255,255,.07);border-bottom:1px solid rgba(255,255,255,.07);background:#060807}
.ctc-scope .pc-body{padding:12px 16px 16px}
.ctc-scope .pc-body p{font-size:13px;color:#9DB5A7;margin:7px 0;line-height:1.6}
.ctc-scope .pc-body strong{color:#00F48E;font-weight:600}
.ctc-scope .pc-body .pc-action{border-top:1px dashed rgba(255,255,255,.1);padding-top:8px}
.ctc-scope .pc-body .pc-action strong{color:#F0B90B}
.ctc-scope .lesson-summary{margin:30px 0 0;padding:18px 20px;background:linear-gradient(160deg,rgba(0,244,142,.07),transparent 70%);border:1px solid rgba(255,255,255,.07);border-left:2px solid #00F48E}
.ctc-scope .lesson-summary p{margin:0;font-size:14px;line-height:1.75;color:#E6EFE9}
