*{box-sizing:border-box;}
html,body{margin:0;padding:0;}
body{background:#050811;color:#F5F6FA;font-family:'Vazirmatn',system-ui,Tahoma,sans-serif;direction:rtl;-webkit-tap-highlight-color:transparent;}
.ng-app{max-width:520px;margin:0 auto;}
.ng-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:88vh;min-height:88dvh;text-align:center;padding:0 24px;}
.ng-load-logo{width:56px;height:56px;border-radius:50%;background:rgba(212,175,55,.12);border:1px solid rgba(212,175,55,.4);display:flex;align-items:center;justify-content:center;}
.ng-load-logo .dot{width:16px;height:16px;border-radius:50%;background:#D4AF37;}
.ng-load-text{font-size:15px;font-weight:500;color:#D4AF37;margin:14px 0 4px;letter-spacing:.5px;}
.ng-load-sub{font-size:12.5px;color:#9BA5C3;margin:0;line-height:1.8;}
#ngVip{flex-direction:column;min-height:100vh;min-height:100dvh;}
.ng-free-wrap{padding:28px 22px 44px;text-align:center;max-width:440px;margin:0 auto;}
.ng-free-logo{width:60px;height:60px;border-radius:50%;background:rgba(212,175,55,.12);border:1px solid rgba(212,175,55,.4);display:flex;align-items:center;justify-content:center;margin:16px auto 12px;}
.ng-free-logo .dot{width:18px;height:18px;border-radius:50%;background:#D4AF37;}
.ng-free-brand{font-size:13px;font-weight:500;color:#D4AF37;letter-spacing:1px;margin:0 0 24px;}
.ng-free-title{font-size:21px;font-weight:500;margin:0 0 12px;}
.ng-free-text{font-size:13.5px;color:#9BA5C3;line-height:1.9;margin:0 0 24px;}
.ng-free-points{text-align:right;margin:0 0 24px;}
.ng-free-point{display:flex;align-items:center;gap:11px;background:#10141E;border:1px solid rgba(255,255,255,.07);border-radius:13px;padding:13px 14px;margin-bottom:10px;font-size:13px;}
.ng-free-point .ti{font-size:22px;color:#D4AF37;flex-shrink:0;}
.ng-free-cta{background:rgba(212,175,55,.07);border:1px solid rgba(212,175,55,.42);border-radius:16px;padding:16px;}
.ng-free-cta-text{font-size:13px;color:#C3CADB;line-height:1.85;margin:0 0 13px;}
.ng-top{position:sticky;top:0;z-index:5;background:#050811;display:flex;align-items:center;justify-content:space-between;padding:15px 18px 13px;border-bottom:1px solid rgba(255,255,255,.05);}
.ng-brand{display:flex;align-items:center;gap:8px;font-size:14px;font-weight:500;color:#D4AF37;letter-spacing:.4px;}
.ng-brand .dot{width:8px;height:8px;border-radius:50%;background:#D4AF37;}
.ng-top .ti{color:#9BA5C3;font-size:20px;cursor:pointer;}
.ng-body{flex:1;padding:17px 16px 96px;}
.ng-screen{display:none;}
.ng-hi{font-size:22px;font-weight:500;margin:2px 0 3px;}
.ng-sub{font-size:13px;color:#9BA5C3;margin:0 0 16px;}
.ng-h{font-size:18px;font-weight:500;margin:2px 0 15px;}
.ng-h2{font-size:13.5px;font-weight:500;color:#9BA5C3;margin:18px 0 10px;}
.ng-card{background:#10141E;border:1px solid rgba(255,255,255,.07);border-radius:16px;padding:15px;margin-bottom:12px;}
.ng-card-gold{background:rgba(212,175,55,.07);border-color:rgba(212,175,55,.42);}
.ng-row-between{display:flex;align-items:center;justify-content:space-between;}
.ng-card-title{font-size:14px;font-weight:500;}
.ng-pct{font-size:13.5px;font-weight:500;color:#D4AF37;}
.ng-bar{height:8px;background:rgba(255,255,255,.08);border-radius:4px;margin:11px 0 10px;overflow:hidden;}
.ng-bar-fill{height:100%;background:#D4AF37;border-radius:4px;transition:width .4s;}
.ng-card-meta{font-size:12px;color:#9BA5C3;margin:0;}
.ng-cta-head{display:flex;align-items:center;gap:8px;font-size:15px;font-weight:500;color:#E8C547;}
.ng-cta-head .ti{font-size:20px;}
.ng-cta-text{font-size:13px;color:#C3CADB;line-height:1.8;margin:10px 0 13px;}
.ng-btn{width:100%;border:none;border-radius:12px;padding:12px;font-size:13.5px;font-weight:500;cursor:pointer;font-family:inherit;}
.ng-btn-gold{background:#D4AF37;color:#0A0A0A;}
.ng-btn-ghost{background:transparent;border:1px solid rgba(255,255,255,.14);color:#F5F6FA;}
.ng-stats{display:grid;grid-template-columns:1fr 1fr;gap:11px;}
.ng-stat{background:#10141E;border:1px solid rgba(255,255,255,.07);border-radius:14px;padding:14px;text-align:center;}
.ng-stat-num{display:block;font-size:22px;font-weight:500;color:#D4AF37;margin-bottom:3px;}
.ng-stat-lbl{font-size:11.5px;color:#9BA5C3;}
.ng-chapter{font-size:12px;font-weight:500;color:#8B6E1A;margin:16px 0 9px;letter-spacing:.3px;}
.ng-les{display:flex;align-items:center;gap:11px;background:#10141E;border:1px solid rgba(255,255,255,.07);border-radius:13px;padding:11px 13px;margin-bottom:9px;}
.ng-les-play{cursor:pointer;}
.ng-ico{width:32px;height:32px;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-shrink:0;font-size:16px;}
.ng-ico-done{background:rgba(79,178,134,.14);color:#4FB286;}
.ng-ico-open{background:rgba(212,175,55,.14);color:#D4AF37;}
.ng-ico-lock{background:rgba(255,255,255,.05);color:#5C6680;}
.ng-ico-warn{background:rgba(226,75,74,.13);color:#E2655F;}
.ng-les-body{flex:1;min-width:0;}
.ng-les-t{font-size:13px;font-weight:500;}
.ng-les-n{font-size:11px;color:#5C6680;}
.ng-les-tag{font-size:11.5px;font-weight:500;}
.ng-tag-score{color:#4FB286;}
.ng-tag-lock{color:#5C6680;}
.ng-badge{display:inline-flex;align-items:center;gap:5px;font-size:11px;font-weight:500;padding:4px 9px;border-radius:20px;flex-shrink:0;}
.ng-badge-ok{background:rgba(79,178,134,.13);color:#4FB286;}
.ng-badge-wait{background:rgba(212,175,55,.12);color:#E8C547;}
.ng-badge-bad{background:rgba(226,75,74,.13);color:#E2655F;}
.ng-badge-open{background:rgba(212,175,55,.1);color:#E8C547;}
.ng-rule{display:flex;gap:10px;align-items:flex-start;font-size:12.5px;color:#C3CADB;line-height:1.75;margin-bottom:11px;}
.ng-rule .ti{color:#D4AF37;font-size:17px;flex-shrink:0;margin-top:1px;}
.ng-meta-row{display:flex;gap:18px;font-size:11.5px;color:#9BA5C3;margin-top:11px;}
.ng-meta-row span{display:flex;align-items:center;gap:5px;}
.ng-exam-status{font-size:13px;border-radius:13px;padding:13px 14px;margin-bottom:4px;line-height:1.8;}
.ng-empty{text-align:center;font-size:12.5px;color:#5C6680;background:rgba(255,255,255,.03);border-radius:13px;padding:22px 16px;line-height:1.9;white-space:pre-line;}
.ng-avatar{width:66px;height:66px;border-radius:50%;background:rgba(212,175,55,.14);border:1px solid rgba(212,175,55,.4);display:flex;align-items:center;justify-content:center;font-size:22px;font-weight:500;color:#D4AF37;margin:10px auto 12px;}
.ng-pname{text-align:center;font-size:17px;font-weight:500;}
.ng-pid{text-align:center;font-size:12px;color:#8B6E1A;margin:3px 0 16px;}
.ng-inforow{display:flex;justify-content:space-between;font-size:12.5px;padding:10px 1px;border-bottom:1px solid rgba(255,255,255,.05);}
.ng-inforow:last-child{border-bottom:none;}
.ng-inforow .k{color:#9BA5C3;}
.ng-inforow .v{font-weight:500;}
.ng-prow{display:flex;align-items:center;gap:11px;background:#10141E;border:1px solid rgba(255,255,255,.07);border-radius:13px;padding:13px 14px;margin-top:9px;cursor:pointer;}
.ng-prow .ti{font-size:21px;color:#D4AF37;}
.ng-prow .lbl{flex:1;font-size:13px;font-weight:500;}
.ng-prow .chev{font-size:17px;color:#5C6680;}
.ng-rep-hi{font-size:15px;font-weight:500;margin:0 0 3px;}
.ng-rep-sub{font-size:12.5px;color:#9BA5C3;margin:0 0 4px;}
.ng-rep-line{font-size:12.5px;color:#C3CADB;line-height:1.85;margin:9px 0 0;}
.ng-rep-avg{font-size:12.5px;color:#E8C547;margin:9px 0 0;}
.ng-rep-head{font-size:13.5px;font-weight:500;color:#E8C547;margin:0 0 7px;}
.ng-frow{display:flex;gap:11px;align-items:flex-start;padding:11px 1px;}
.ng-frow.brd{border-top:1px solid rgba(255,255,255,.05);}
.ng-frow .fi{font-size:17px;flex-shrink:0;line-height:1.5;}
.ng-frow .fk{font-size:11px;color:#9BA5C3;margin-bottom:2px;}
.ng-frow .fv{font-size:13px;font-weight:500;line-height:1.7;}
.ng-nav{position:fixed;left:0;right:0;bottom:0;max-width:520px;margin:0 auto;display:flex;background:#080C16;border-top:1px solid rgba(255,255,255,.07);}
.ng-nav-btn{flex:1;background:transparent;border:none;color:#5C6680;padding:9px 0 12px;display:flex;flex-direction:column;align-items:center;gap:3px;cursor:pointer;font-family:inherit;}
.ng-nav-btn .ti{font-size:21px;}
.ng-nav-lbl{font-size:10px;}
.ng-nav-btn.active{color:#D4AF37;}
.ng-vid{position:fixed;inset:0;z-index:200;background:#050811;display:none;flex-direction:column;}
.ng-vid-bar{display:flex;align-items:center;gap:10px;padding:14px 16px;border-bottom:1px solid rgba(255,255,255,.07);}
.ng-vid-title{font-size:13.5px;font-weight:500;flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.ng-vid-close{background:transparent;border:none;color:#9BA5C3;font-size:26px;line-height:1;cursor:pointer;padding:0 4px;font-family:inherit;}
.ng-vid-wrap{flex:1;display:flex;align-items:center;justify-content:center;background:#000;position:relative;}
.ng-vid-wm{position:absolute;top:6%;left:6%;color:rgba(255,255,255,.34);font-size:13px;font-weight:700;letter-spacing:.6px;padding:5px 9px;border-radius:8px;background:rgba(5,8,17,.30);pointer-events:none;z-index:5;white-space:nowrap;text-shadow:0 1px 3px rgba(0,0,0,.75);animation:ngWmDrift 26s linear infinite;}
@keyframes ngWmDrift{0%{top:6%;left:6%;}25%{top:6%;left:58%;}50%{top:80%;left:58%;}75%{top:80%;left:6%;}100%{top:6%;left:6%;}}
.ng-vid-wrap video{width:100%;max-height:100%;}
.ng-ov{position:fixed;inset:0;z-index:200;background:#050811;display:none;flex-direction:column;max-width:520px;margin:0 auto;}
.ng-ov-bar{display:flex;align-items:center;gap:10px;padding:14px 16px;border-bottom:1px solid rgba(255,255,255,.07);}
.ng-ov-title{font-size:15px;font-weight:500;flex:1;}
.ng-ov-close{background:transparent;border:none;color:#9BA5C3;font-size:26px;line-height:1;cursor:pointer;font-family:inherit;}
.ng-ov-body{flex:1;overflow-y:auto;padding:16px;}
.ng-ov-intro{font-size:12.5px;color:#9BA5C3;line-height:1.9;margin:0 0 14px;}
.ng-dept{background:#10141E;border:1px solid rgba(255,255,255,.07);border-radius:14px;padding:14px;margin-bottom:11px;}
.ng-dept-head{display:flex;align-items:center;gap:9px;font-size:14px;font-weight:500;margin-bottom:7px;}
.ng-dept-head .ti{font-size:21px;color:#D4AF37;}
.ng-dept-desc{font-size:12.5px;color:#9BA5C3;line-height:1.8;margin:0 0 11px;}
.ng-dept-btn{background:rgba(212,175,55,.1);border:1px solid rgba(212,175,55,.4);color:#E8C547;border-radius:10px;padding:9px;font-size:12.5px;font-weight:500;width:100%;cursor:pointer;font-family:inherit;}
.ng-ann{background:#10141E;border:1px solid rgba(255,255,255,.07);border-radius:13px;padding:13px 14px;margin-bottom:10px;}
.ng-ann-date{font-size:11px;color:#8B6E1A;font-weight:500;}
.ng-ann-title{font-size:13.5px;font-weight:500;margin:4px 0 6px;}
.ng-ann-body{font-size:12.5px;color:#C3CADB;line-height:1.9;}
.ng-course{background:#10141E;border:1px solid rgba(255,255,255,.07);border-radius:14px;padding:14px;margin-bottom:11px;}
.ng-course-name{font-size:14.5px;font-weight:500;color:#E8C547;}
.ng-course-meta{font-size:11px;color:#8B6E1A;margin:3px 0 8px;}
.ng-course-desc{font-size:12.5px;color:#9BA5C3;line-height:1.85;margin:0;}
.ng-hero{background:linear-gradient(135deg,rgba(212,175,55,.14),rgba(212,175,55,.035));border:1px solid rgba(212,175,55,.36);border-radius:18px;padding:17px;margin-bottom:12px;}
.ng-hero-top{display:flex;align-items:center;justify-content:space-between;}
.ng-hero-kicker{font-size:11.5px;color:#9BA5C3;}
.ng-hero-pct{font-size:15px;font-weight:700;color:#D4AF37;}
.ng-hero-name{font-size:19px;font-weight:500;margin:7px 0 1px;}
.ng-mini3{display:grid;grid-template-columns:1fr 1fr 1fr;gap:9px;margin-bottom:12px;}
.ng-mini{background:#10141E;border:1px solid rgba(255,255,255,.07);border-radius:13px;padding:13px 5px;text-align:center;}
.ng-mini-num{display:block;font-size:19px;font-weight:500;color:#D4AF37;margin-bottom:3px;}
.ng-mini-lbl{font-size:10px;color:#9BA5C3;}
.ng-svc{display:flex;align-items:center;gap:12px;background:#10141E;border:1px solid rgba(255,255,255,.07);border-radius:14px;padding:13px 14px;margin-bottom:9px;}
.ng-svc-ico{width:38px;height:38px;border-radius:10px;background:rgba(212,175,55,.12);display:flex;align-items:center;justify-content:center;flex-shrink:0;}
.ng-svc-ico .ti{font-size:20px;color:#D4AF37;}
.ng-svc-body{flex:1;min-width:0;}
.ng-svc-name{font-size:13.5px;font-weight:500;margin:0 0 2px;}
.ng-svc-desc{font-size:11.5px;color:#9BA5C3;margin:0;line-height:1.65;}
.ng-svc-badge{font-size:10.5px;font-weight:500;padding:4px 10px;border-radius:20px;flex-shrink:0;}
.ng-svc-badge.on{background:rgba(79,178,134,.14);color:#4FB286;}
.ng-svc-badge.soon{background:rgba(255,255,255,.06);color:#9BA5C3;}
.ng-asg-task{font-size:13px;color:#E8EAF0;line-height:2.05;white-space:pre-line;}
.ng-asgd-st{font-size:12.5px;border-radius:12px;padding:11px 13px;margin-bottom:14px;line-height:1.85;}
.ng-asgd-st.ok{background:rgba(79,178,134,.13);color:#4FB286;}
.ng-asgd-st.wait{background:rgba(212,175,55,.12);color:#E8C547;}
.ng-asgd-st.bad{background:rgba(226,75,74,.12);color:#E2655F;}
.ng-asgd-st.open{background:rgba(255,255,255,.04);color:#9BA5C3;}
.ng-asgd-lbl{font-size:12px;font-weight:500;color:#9BA5C3;margin:16px 0 7px;}
.ng-asgd-ans{font-size:12.5px;color:#C3CADB;line-height:1.95;white-space:pre-line;background:rgba(255,255,255,.03);border-radius:11px;padding:12px 13px;}
.ng-asgd-note{font-size:12.5px;color:#E8C547;line-height:1.95;white-space:pre-line;background:rgba(212,175,55,.07);border:1px solid rgba(212,175,55,.25);border-radius:11px;padding:12px 13px;}
.ng-asgd-meta{font-size:11.5px;color:#9BA5C3;margin:8px 0 0;}
.ng-asgd-btns{margin-top:18px;display:flex;flex-direction:column;gap:9px;}
.ng-asg-input{width:100%;min-height:120px;background:#0B0F1A;border:1px solid rgba(255,255,255,.12);border-radius:12px;padding:12px 13px;margin-top:16px;color:#F5F6FA;font-family:inherit;font-size:13px;line-height:1.95;resize:vertical;}
.ng-asg-input:focus{outline:none;border-color:rgba(212,175,55,.5);}
.ng-asgd-msg{font-size:12px;margin:11px 0 0;text-align:center;line-height:1.75;}
.ng-asgd-msg.ok{color:#4FB286;}
.ng-asgd-msg.err{color:#E2655F;}
.ng-asgd-pic{font-size:12px;margin:9px 0 0;text-align:center;line-height:1.7;color:#9BA5C3;}
.ng-asgd-pic.ok{color:#4FB286;}
.ng-asgd-pic.err{color:#E2655F;}
.ng-svc-card{border-radius:18px;padding:16px;margin-bottom:11px;border:1px solid rgba(255,255,255,.08);background:#10141E;}
.ng-svc-card-on{background:linear-gradient(135deg,rgba(212,175,55,.14),rgba(212,175,55,.035));border-color:rgba(212,175,55,.36);}
.ng-svc-card-soon{opacity:.72;}
.ng-svc-card-top{display:flex;align-items:center;gap:12px;}
.ng-svc-card-id{flex:1;min-width:0;}
.ng-svc-card-name{font-size:15px;font-weight:500;margin:0;}
.ng-svc-card-sub{font-size:12px;color:#9BA5C3;margin:2px 0 0;}
.ng-svc-card-note{font-size:12px;color:#9BA5C3;line-height:1.85;margin:12px 0 0;}

.ng-sup-body{display:flex;flex-direction:column;gap:8px;}
.ng-sup-tabs{display:flex;gap:6px;flex-wrap:wrap;}
.ng-sup-tab{flex:1;min-width:64px;padding:8px 10px;border-radius:10px;border:1px solid #2a3454;background:#161c30;color:#9BA5C3;font-family:inherit;font-size:13px;cursor:pointer;}
.ng-sup-tab.active{background:#d4af37;color:#0c1020;border-color:#d4af37;font-weight:700;}
.ng-sup-hint{font-size:12px;color:#9BA5C3;margin:2px 0 0;line-height:1.7;}
.ng-sup-chat{display:flex;flex-direction:column;gap:8px;max-height:48vh;overflow-y:auto;padding:8px 4px;}
.ng-sup-msg{padding:10px 12px;border-radius:14px;max-width:88%;font-size:14px;line-height:1.85;white-space:pre-wrap;word-break:break-word;}
.ng-sup-msg-user{align-self:flex-end;background:#1e2647;color:#e6e9f4;border-bottom-right-radius:4px;}
.ng-sup-msg-bot{align-self:flex-start;background:#0f1424;color:#e6e9f4;border:1px solid #2a3454;border-bottom-left-radius:4px;}
.ng-sup-msg-loading{opacity:0.7;font-style:italic;}
.ng-sup-input{display:flex;flex-direction:column;gap:6px;}
.ng-sup-input textarea{min-height:48px;}
.ng-sup-toolbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;}
.ng-sup-chip{font-size:12px;color:#d4af37;}

.ng-op{padding:11px 12px;border-radius:12px;background:#0f1424;border:1px solid #2a3454;margin-bottom:8px;}
.ng-op-text{font-size:13.5px;color:#e6e9f4;line-height:1.85;white-space:pre-wrap;}
.ng-op-author{font-size:11px;color:#9BA5C3;margin-top:6px;}
.ng-op audio{display:block;width:100%;margin-top:8px;}

.ng-lang-fab{position:fixed;top:60px;left:10px;z-index:10000;background:rgba(20,30,50,0.92);border:1px solid #d4af37;border-radius:20px;padding:6px 12px;font-size:12px;color:#d4af37;cursor:pointer;font-family:inherit;backdrop-filter:blur(8px);}
.ng-lang-fab:hover{background:rgba(212,175,55,0.15);}

html[lang="en"] .ng-card{padding:12px 13px;}
html[lang="en"] .ng-h2{font-size:13px;margin:14px 0 7px;}
html[lang="en"] .ng-prow{padding:10px 11px;}
html[lang="en"] .ng-svc-card{padding:12px 13px;margin-bottom:10px;}
html[lang="en"] .ng-frow{padding:9px 0;}
html[lang="en"] .fk{font-size:12px;}
html[lang="en"] .fv{font-size:13.5px;}
html[lang="en"] .ng-pname{font-size:18px;margin:8px 0 4px;}
html[lang="en"] .ng-lang-fab{font-size:11px;padding:5px 10px;top:54px;}

/* Invest screen */
.inv-tier-card{display:flex;align-items:center;justify-content:space-between;gap:10px;}
.inv-tier-em{font-size:22px;flex-shrink:0;}
.inv-tier-body{flex:1;min-width:0;}
.inv-feed-card{background:#10141E;border:1px solid rgba(255,255,255,.07);border-radius:14px;padding:13px 14px;margin-bottom:10px;}
.inv-feed-title{font-size:14px;font-weight:500;color:#F5F6FA;margin:0 0 4px;}
.inv-feed-date{font-size:11.5px;color:#9BA5C3;margin:0 0 7px;}
.inv-feed-body{font-size:13px;color:#C3CADB;line-height:2;white-space:pre-wrap;margin:0;}
.inv-verdict-head{font-size:13px;font-weight:500;color:#D4AF37;margin:10px 0 4px;}
.inv-verdict-list{font-size:12.5px;color:#C3CADB;line-height:2;}
.inv-soon{font-size:12.5px;color:#5C6680;text-align:center;padding:14px 0;margin:0;}
.ng-card-gold{background:rgba(212,175,55,.07);border-color:rgba(212,175,55,.42);}

.ng-exam-progress{display:flex;align-items:center;gap:10px;margin-bottom:16px;}
.ng-exam-prog-bar{flex:1;height:6px;background:#1a2138;border-radius:3px;overflow:hidden;}
.ng-exam-prog-fill{height:100%;background:#d4af37;width:0%;transition:width 0.3s;}
.ng-exam-prog-text{font-size:12px;color:#9BA5C3;margin:0;white-space:nowrap;}
.ng-exam-section{font-size:11.5px;color:#d4af37;margin:0 0 8px;}
.ng-exam-q-text{font-size:15.5px;color:#e6e9f4;line-height:2;margin:8px 0 18px;font-weight:500;}
.ng-exam-options{display:flex;flex-direction:column;gap:8px;margin-bottom:20px;}
.ng-exam-opt{padding:12px 14px;border:1px solid #2a3454;border-radius:12px;background:#0f1424;cursor:pointer;font-family:inherit;font-size:14px;color:#e6e9f4;line-height:1.8;text-align:right;}
.ng-exam-opt.active{background:#d4af37;color:#0c1020;border-color:#d4af37;font-weight:500;}
.ng-exam-nav{display:flex;gap:10px;}
.ng-exam-nav button{flex:1;}


/* extracted from inline */
#invDashOverlay {
  display: none; position: fixed; inset: 0; background: #0f172a; z-index: 9999;
  overflow-y: auto; padding: 16px;
}
#invDashOverlay.active { display: block; }
#invDashHeader {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 8px 18px; border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 16px;
}
#invDashHeader h2 { margin: 0; font-size: 18px; font-weight: bold; }
#invDashClose {
  background: rgba(255,255,255,0.1); border: none; color: #fff;
  padding: 6px 14px; border-radius: 6px; cursor: pointer;
}
#invDashBtn {
  position: fixed; bottom: 80px; right: 16px; z-index: 100;
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  color: #1f2937; border: none; padding: 12px 18px; border-radius: 100px;
  font-size: 14px; font-weight: bold; box-shadow: 0 4px 12px rgba(251,191,36,0.4);
  cursor: pointer; display: none;
}
#invDashBtn.active { display: block; }


/* extracted from inline */
.r62-overlay{
  position:fixed; inset:0; z-index:99999;
  background: radial-gradient(circle at center, rgba(20,40,30,0.95), rgba(0,0,0,0.98));
  display:none; align-items:center; justify-content:center; flex-direction:column;
  padding:24px; text-align:center;
  animation: r62-fadein 0.5s ease;
}
.r62-overlay.show{display:flex;}
@keyframes r62-fadein{from{opacity:0;}to{opacity:1;}}
@keyframes r62-pop{0%{transform:scale(0.3);opacity:0;}50%{transform:scale(1.15);}100%{transform:scale(1);opacity:1;}}
@keyframes r62-bounce{0%,100%{transform:translateY(0);}50%{transform:translateY(-14px);}}
@keyframes r62-spin{from{transform:rotate(-3deg);}to{transform:rotate(3deg);}}
@keyframes r62-shimmer{
  0%{filter:drop-shadow(0 0 12px gold);}
  50%{filter:drop-shadow(0 0 30px #ffe080);}
  100%{filter:drop-shadow(0 0 12px gold);}
}
.r62-trophy{
  font-size:96px; line-height:1;
  animation: r62-bounce 1.5s ease infinite, r62-shimmer 2s ease infinite;
  margin-bottom: 18px;
}
.r62-title{
  font-size:32px; font-weight:800; color:#ffd166;
  margin: 8px 0; line-height:1.3;
  animation: r62-pop 0.6s ease;
}
.r62-name{
  color:#ffe080; font-weight:900;
}
.r62-score-box{
  background: linear-gradient(135deg, rgba(255,209,102,0.15), rgba(255,209,102,0.05));
  border: 2px solid rgba(255,209,102,0.4);
  border-radius: 16px;
  padding: 18px 28px;
  margin: 12px auto;
  display:inline-block;
  animation: r62-pop 0.7s ease 0.15s both;
}
.r62-score-num{
  font-size:48px; font-weight:900; color:#ffd166;
  line-height:1;
}
.r62-score-lbl{
  font-size:13px; color:#bdb1a0; margin-top:6px;
  letter-spacing: 0.5px;
}
.r62-msg{
  font-size:16px; color:#e0d8c8; margin:14px auto; max-width:340px; line-height:1.7;
  animation: r62-pop 0.7s ease 0.3s both;
}
.r62-rank{
  color:#a8e6a3; font-weight:700; font-size:14px;
  background: rgba(168,230,163,0.12);
  padding:6px 14px; border-radius:20px;
  display:inline-block; margin-top:6px;
}
.r62-cta-row{
  display:flex; flex-direction:column; gap:10px;
  width:100%; max-width:320px; margin-top:18px;
  animation: r62-pop 0.7s ease 0.45s both;
}
.r62-btn{
  padding:14px 18px; border-radius:14px;
  font-size:15px; font-weight:700;
  border:none; cursor:pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  font-family: inherit;
}
.r62-btn:active{ transform: scale(0.97); }
.r62-btn-primary{
  background: linear-gradient(135deg, #ffd166, #f4a261);
  color:#000;
  box-shadow: 0 8px 24px rgba(255,209,102,0.4);
}
.r62-btn-share{
  background: rgba(255,255,255,0.08);
  color:#fff;
  border:1px solid rgba(255,255,255,0.15);
}
.r62-btn-close{
  background: transparent;
  color:#aaa;
  font-size:13px;
  margin-top:4px;
}
.r62-confetti{
  position:absolute; inset:0; pointer-events:none;
  overflow:hidden;
}
.r62-confetti span{
  position:absolute; top:-20px;
  width:8px; height:14px; border-radius:2px;
  animation: r62-fall linear infinite;
  opacity: 0.9;
}
@keyframes r62-fall{
  0%{ transform: translateY(-20px) rotateZ(0); opacity:1; }
  100%{ transform: translateY(100vh) rotateZ(720deg); opacity:0.3; }
}


/* extracted from inline */
.r64-fail-overlay{
  position:fixed; inset:0; z-index:99999;
  background: radial-gradient(circle at center, rgba(40,30,30,0.95), rgba(0,0,0,0.98));
  display:none; align-items:center; justify-content:center; flex-direction:column;
  padding:24px; text-align:center;
  animation: r64-fadein 0.5s ease;
}
.r64-fail-overlay.show{display:flex;}
@keyframes r64-fadein{from{opacity:0;}to{opacity:1;}}
@keyframes r64-pop64{0%{transform:scale(0.3);opacity:0;}50%{transform:scale(1.1);}100%{transform:scale(1);opacity:1;}}

.r64-fail-icon{
  font-size: 72px;
  margin-bottom: 14px;
  filter: drop-shadow(0 0 14px rgba(255,180,100,0.4));
  animation: r64-pop64 0.5s ease;
}
.r64-fail-title{
  font-size:26px; font-weight:800; color:#ffb482;
  margin: 6px 0; line-height:1.4;
  animation: r64-pop64 0.6s ease 0.1s both;
}
.r64-fail-name{ color:#ffd6b8; font-weight:900; }
.r64-fail-score-box{
  background: rgba(255,180,130,0.10);
  border: 1px solid rgba(255,180,130,0.3);
  border-radius: 16px;
  padding: 14px 24px;
  margin: 10px auto;
  display:inline-block;
  animation: r64-pop64 0.7s ease 0.15s both;
}
.r64-fail-score-num{
  font-size:40px; font-weight:900; color:#ffb482; line-height:1;
}
.r64-fail-score-lbl{
  font-size:13px; color:#bdb1a0; margin-top:4px;
}
.r64-fail-msg{
  font-size:15px; color:#e0d8c8; margin:14px auto; max-width:340px; line-height:1.8;
  animation: r64-pop64 0.7s ease 0.3s both;
}
.r64-fail-quote{
  font-size:14px; color:#a8c5e0; font-style:italic;
  margin: 10px auto; max-width:320px; line-height:1.7;
}
.r64-cta-row64{
  display:flex; flex-direction:column; gap:10px;
  width:100%; max-width:320px; margin-top:14px;
  animation: r64-pop64 0.7s ease 0.45s both;
}
.r64-btn{
  padding:13px 18px; border-radius:14px;
  font-size:15px; font-weight:700;
  border:none; cursor:pointer; font-family: inherit;
  transition: transform 0.15s ease;
}
.r64-btn:active{ transform: scale(0.97); }
.r64-btn-primary64{
  background: linear-gradient(135deg, #88c5da, #6da9c0);
  color:#000;
}
.r64-btn-close64{
  background: transparent;
  color:#aaa; font-size:13px;
}


/* extracted from inline (r65-style) */
@keyframes r65-shimmer{
  0%{filter:drop-shadow(0 0 6px gold);}
  50%{filter:drop-shadow(0 0 18px #ffe080);}
  100%{filter:drop-shadow(0 0 6px gold);}
}
@keyframes r65-popin{
  0%{transform:scale(0.6);opacity:0;}
  60%{transform:scale(1.04);}
  100%{transform:scale(1);opacity:1;}
}
.r65-success-card{
  background: linear-gradient(135deg, rgba(255,209,102,0.12), rgba(168,230,163,0.06));
  border: 1.5px solid rgba(255,209,102,0.35);
  border-radius: 16px;
  padding: 16px 14px;
  margin: 10px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  animation: r65-popin 0.5s ease;
}
.r65-success-card::before{
  content: '';
  position:absolute; top:-20px; right:-20px;
  width:80px; height:80px;
  background: radial-gradient(circle, rgba(255,209,102,0.3), transparent 70%);
  pointer-events:none;
}
.r65-trophy{
  font-size: 44px;
  line-height: 1;
  margin-bottom: 6px;
  animation: r65-shimmer 2.5s ease infinite;
}
.r65-headline{
  font-size: 15px;
  color: #ffd166;
  font-weight: 800;
  margin: 4px 0 2px;
}
.r65-score{
  font-size: 28px;
  font-weight: 900;
  color: #ffd166;
  margin: 4px 0;
  letter-spacing: 1px;
}
.r65-sub{
  font-size: 12px;
  color: #bdb1a0;
  margin-bottom: 10px;
}
.r65-action-row{
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 8px;
}
.r65-btn{
  flex: 1 1 auto;
  min-width: 130px;
  max-width: 200px;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  font-family: inherit;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease;
}
.r65-btn:active{ transform: scale(0.96); }
.r65-btn-share{
  background: linear-gradient(135deg, #ffd166, #f4a261);
  color: #000;
}
.r65-btn-replay{
  background: rgba(255,255,255,0.08);
  color: #ffd166;
  border: 1px solid rgba(255,209,102,0.3);
}

.r65-fail-card{
  background: linear-gradient(135deg, rgba(136,197,218,0.10), rgba(168,230,163,0.04));
  border: 1.5px solid rgba(136,197,218,0.3);
  border-radius: 16px;
  padding: 16px 14px;
  margin: 10px 0;
  text-align: center;
  animation: r65-popin 0.5s ease;
}
.r65-fail-icon{
  font-size: 38px;
  margin-bottom: 6px;
  line-height: 1;
}
.r65-fail-head{
  font-size: 15px;
  color: #88c5da;
  font-weight: 800;
  margin: 4px 0;
}
.r65-fail-score{
  font-size: 24px;
  font-weight: 900;
  color: #88c5da;
}
.r65-fail-msg{
  font-size: 12px;
  color: #bdb1a0;
  margin-top: 6px;
  line-height: 1.7;
}


/* extracted from inline (r69-style) */
.r69-view-all{
  display:flex; align-items:center; justify-content:center; gap:8px;
  width:100%;
  margin: 14px 0 8px;
  padding: 12px 18px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255,209,102,0.10), rgba(255,209,102,0.04));
  border: 1px solid rgba(255,209,102,0.3);
  color: #ffd166;
  font-family: inherit; font-size: 14px; font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}
.r69-view-all:hover, .r69-view-all:active{
  background: rgba(255,209,102,0.18);
  transform: translateY(-1px);
}
.r69-count{
  font-size: 12px;
  color: #bdb1a0;
  font-weight: 500;
}


/* extracted from inline (r75-style) */
.r75-widget{
  background: linear-gradient(135deg, rgba(255,209,102,0.06), rgba(168,230,163,0.03));
  border: 1.5px solid rgba(255,209,102,0.25);
  border-radius: 18px;
  padding: 16px 14px;
  margin: 12px 0 18px;
}
.r75-tier-header{
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 8px;
  padding-bottom: 12px; margin-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.r75-tier-label{
  font-size: 20px; font-weight: 800; color: #ffd166;
  display: flex; align-items: center; gap: 8px;
}
.r75-days{
  font-size: 12px;
  color: #bdb1a0;
  background: rgba(255,255,255,0.05);
  padding: 4px 10px;
  border-radius: 12px;
}
.r75-no-tier{
  text-align: center; padding: 8px 0;
}
.r75-no-tier-msg{
  font-size: 14px; color: #bdb1a0; margin-bottom: 12px;
}
.r75-group-title{
  font-size: 12px; color: #bdb1a0;
  margin: 12px 0 6px;
  letter-spacing: 0.5px;
}
.r75-feature{
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 12px;
  margin: 4px 0;
  border-radius: 10px;
  font-size: 14px;
}
.r75-feature.unlocked{
  background: rgba(168,230,163,0.06);
  color: #d8e8d3;
}
.r75-feature.locked{
  background: rgba(120,120,140,0.05);
  color: #888;
}
.r75-fname{ display: flex; align-items: center; gap: 6px; flex: 1; }
.r75-fcheck{ color: #a8e6a3; font-weight: 700; }
.r75-flock{ color: #ffb482; }
.r75-fbtn{
  font-size: 11px; padding: 5px 10px; border-radius: 8px;
  background: linear-gradient(135deg, #ffd166, #f4a261);
  color: #000; font-weight: 700;
  border: none; cursor: pointer; font-family: inherit;
  white-space: nowrap;
}
.r75-fbtn:active{ transform: scale(0.96); }
.r75-upgrade-row{
  margin-top: 14px; padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex; flex-direction: column; gap: 8px;
}
.r75-upgrade-card{
  background: rgba(255,209,102,0.10);
  border: 1px solid rgba(255,209,102,0.3);
  border-radius: 12px;
  padding: 10px 12px;
  display: flex; align-items: center; justify-content: space-between;
  cursor: pointer;
  transition: all 0.2s ease;
}
.r75-upgrade-card:hover{ background: rgba(255,209,102,0.18); }
.r75-up-info{ display: flex; align-items: center; gap: 8px; }
.r75-up-emoji{ font-size: 22px; }
.r75-up-text{ font-size: 13px; }
.r75-up-name{ font-weight: 800; color: #ffd166; }
.r75-up-desc{ font-size: 11px; color: #bdb1a0; }
.r75-up-price{
  font-size: 14px; font-weight: 800; color: #ffd166;
}
.r75-up-cta{
  background: linear-gradient(135deg, #ffd166, #f4a261);
  color: #000;
  padding: 6px 12px; border-radius: 10px;
  font-size: 12px; font-weight: 700;
  border: none; cursor: pointer; font-family: inherit;
}
.r75-buy-first{
  background: linear-gradient(135deg, #ffd166, #f4a261);
  color: #000;
  padding: 12px; border-radius: 12px;
  font-size: 14px; font-weight: 800;
  text-align: center;
  margin-top: 8px;
  cursor: pointer;
  border: none; width: 100%; font-family: inherit;
}
.r75-loading{
  color: #888; text-align: center; padding: 16px;
  font-size: 13px;
}


/* extracted from inline (r78-style) */
#r75Widget{ display: none !important; }  /* hide old widget */
.r78-wrap{
  margin: 12px 0 18px;
}
.r78-status{
  text-align:center;
  padding: 14px 0;
  margin-bottom: 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255,209,102,0.08), rgba(168,230,163,0.04));
  border: 1px solid rgba(255,209,102,0.2);
}
.r78-status-label{ font-size: 12px; color:#bdb1a0; }
.r78-status-tier{
  font-size: 22px; font-weight: 900; color: #ffd166;
  margin-top: 4px;
}
.r78-status-days{
  font-size: 12px; color: #a8e6a3; margin-top: 6px;
}

.r78-card{
  background: linear-gradient(135deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border: 1.5px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  padding: 16px;
  margin-bottom: 14px;
  transition: all 0.2s ease;
}
.r78-card.current{
  background: linear-gradient(135deg, rgba(168,230,163,0.10), rgba(168,230,163,0.03));
  border-color: rgba(168,230,163,0.5);
}
.r78-card.bronze   { border-color: rgba(205,127,50,0.35); }
.r78-card.silver   { border-color: rgba(192,192,192,0.35); }
.r78-card.gold     { border-color: rgba(255,209,102,0.45); }
.r78-card.platinum { border-color: rgba(229,228,226,0.45); background: linear-gradient(135deg, rgba(229,228,226,0.10), rgba(229,228,226,0.02)); }
.r78-card-hdr{
  display: flex; align-items: baseline; justify-content: space-between;
  flex-wrap: wrap; gap: 8px;
  margin-bottom: 12px;
}
.r78-card-title{
  font-size: 20px; font-weight: 900;
  display: flex; align-items: center; gap: 8px;
}
.r78-card-title.bronze   { color: #cd7f32; }
.r78-card-title.silver   { color: #d0d0d0; }
.r78-card-title.gold     { color: #ffd166; }
.r78-card-title.platinum { color: #e5e4e2; }
.r78-card-price{
  font-size: 16px;
  color: #fff;
  font-weight: 700;
}
.r78-card-price .diff{
  font-size: 11px;
  color: #bdb1a0;
  font-weight: 500;
  margin-right: 4px;
}
.r78-feats{
  list-style: none; padding: 0; margin: 8px 0 14px;
}
.r78-feats li{
  padding: 5px 0;
  font-size: 14px;
  color: #ddd;
  display: flex; align-items: center; gap: 6px;
}
.r78-feats li::before{
  content: '✓';
  color: #a8e6a3;
  font-weight: 700;
  font-size: 15px;
}
.r78-cta{
  width: 100%;
  padding: 12px;
  border-radius: 12px;
  font-size: 15px; font-weight: 800; font-family: inherit;
  border: none; cursor: pointer;
  background: linear-gradient(135deg, #ffd166, #f4a261);
  color: #000;
  transition: transform 0.15s ease;
}
.r78-cta:active{ transform: scale(0.97); }
.r78-cta.current{
  background: transparent;
  color: #a8e6a3;
  border: 1px solid rgba(168,230,163,0.4);
  cursor: default;
}
.r78-cta.platinum-active{
  background: linear-gradient(135deg, #e5e4e2, #c0c0c0);
}
.r78-loading{
  color: #888; text-align: center; padding: 24px;
}
.r78-error{
  color: #ffb482; text-align:center; padding: 16px;
}


/* extracted from inline (r79-style) */
#r75Widget, #r78Wrap { display: none !important; }

.r79-wrap{
  margin: 12px 0 24px;
}
.r79-header{
  margin-bottom: 14px;
  text-align: center;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.r79-h-title{
  font-size: 22px;
  font-weight: 800;
  color: #ffd166;
}
.r79-h-sub{
  font-size: 13px;
  color: #bdb1a0;
  margin-top: 4px;
}
.r79-h-pill{
  display: inline-block;
  font-size: 11px;
  background: rgba(168,230,163,0.12);
  color: #a8e6a3;
  padding: 3px 10px;
  border-radius: 10px;
  margin-top: 6px;
}

.r79-section-title{
  font-size: 12px;
  color: #bdb1a0;
  margin: 14px 8px 8px;
  letter-spacing: 0.5px;
}

.r79-card{
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 14px 16px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: all 0.18s ease;
  text-align: right;
}
.r79-card:active{ transform: scale(0.985); }
.r79-card:hover{
  background: linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border-color: rgba(255,209,102,0.25);
}
.r79-card.locked{
  background: linear-gradient(135deg, rgba(120,120,140,0.05), rgba(120,120,140,0.02));
}
.r79-card.locked:hover{
  background: linear-gradient(135deg, rgba(255,180,130,0.08), rgba(255,180,130,0.02));
  border-color: rgba(255,180,130,0.3);
}

.r79-card-l{
  flex: 1;
  min-width: 0;
}
.r79-card-title{
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
  display: flex; align-items: center; gap: 6px;
}
.r79-card.locked .r79-card-title{ color: #ccc; }
.r79-card-sub{
  font-size: 12px;
  color: #bdb1a0;
  line-height: 1.5;
}

.r79-card-r{
  display: flex;
  align-items: center;
  margin-left: 12px;
}
.r79-icon-btn{
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,209,102,0.12);
  color: #ffd166;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  transition: all 0.18s ease;
}
.r79-card.locked .r79-icon-btn{
  background: rgba(255,180,130,0.10);
  color: #ffb482;
}
.r79-tier-pill{
  font-size: 10px;
  background: rgba(255,180,130,0.18);
  color: #ffb482;
  padding: 3px 8px;
  border-radius: 8px;
  margin-right: 8px;
  white-space: nowrap;
  font-weight: 700;
}

.r79-cta-card{
  background: linear-gradient(135deg, rgba(255,209,102,0.16), rgba(244,162,97,0.08));
  border: 1.5px solid rgba(255,209,102,0.35);
  border-radius: 16px;
  padding: 14px;
  margin-bottom: 10px;
  text-align: center;
  cursor: pointer;
}
.r79-cta-card:active{ transform: scale(0.98); }
.r79-cta-title{
  font-size: 15px;
  font-weight: 800;
  color: #ffd166;
}
.r79-cta-sub{
  font-size: 12px;
  color: #d8c89c;
  margin-top: 4px;
}

.r79-loading{ color:#888; text-align:center; padding:20px; }


/* extracted from inline (r80-style) */
/* Invest-specific bottom nav (hidden by default) */
.r80-invest-nav{
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: rgba(20,20,28,0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 8px 4px calc(8px + env(safe-area-inset-bottom));
  z-index: 90;
  justify-content: space-around;
  align-items: stretch;
}
.r80-invest-nav.show{ display: flex; }
.r80-invest-nav-btn{
  flex: 1;
  background: transparent;
  border: none;
  color: #888;
  font-family: inherit;
  cursor: pointer;
  padding: 6px 4px;
  display: flex; flex-direction: column;
  align-items: center; gap: 2px;
  border-radius: 10px;
  transition: all 0.18s ease;
}
.r80-invest-nav-btn .icon{
  font-size: 22px; line-height: 1;
}
.r80-invest-nav-btn .lbl{
  font-size: 11px;
  margin-top: 2px;
}
.r80-invest-nav-btn.active{
  color: #ffd166;
}
.r80-invest-nav-btn.active .icon{
  filter: drop-shadow(0 0 8px rgba(255,209,102,0.5));
}
.r80-invest-nav-btn:active{ transform: scale(0.95); }

/* Back to Academy link inside Invest */
.r80-back-bar{
  display: none;
  margin: 8px 0 12px;
  text-align: center;
}
.r80-back-bar.show{ display: block; }
.r80-back-link{
  background: rgba(255,255,255,0.05);
  color: #bdb1a0;
  font-size: 12px;
  padding: 8px 16px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.06);
  cursor: pointer;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.r80-back-link:hover{
  background: rgba(255,255,255,0.08);
}

/* Sub-screens within Invest */
.r80-invest-screen{ display: none; }
.r80-invest-screen.show{ display: block; }

/* Hide existing nav when Invest is active */
body.r80-invest-active .ng-nav,
body.r80-invest-active [class*="ng-nav"]:not(.r80-invest-nav){
  display: none !important;
}


/* extracted from inline (r81-style) */
.r81-h{
  font-size: 20px; font-weight: 800; color: #ffd166;
  margin: 8px 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,209,102,0.18);
}
.r81-h2{
  font-size: 14px; font-weight: 700; color: #bdb1a0;
  margin: 14px 0 8px;
}
.r81-card{
  background: linear-gradient(135deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  padding: 12px 14px;
  margin-bottom: 10px;
}
.r81-asset{
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 12px; border-radius: 10px; margin: 4px 0;
}
.r81-asset.strong{ background: rgba(255,209,102,0.10); }
.r81-asset.accumulate{ background: rgba(74,222,128,0.08); }
.r81-asset.hold{ background: rgba(180,180,180,0.06); }
.r81-asset.caution{ background: rgba(255,180,100,0.06); }
.r81-asset.avoid{ background: rgba(229,115,115,0.08); }
.r81-asset .name{ font-size: 14px; color: #fff; font-weight: 600; }
.r81-asset .verdict{ font-size: 11px; color: #bdb1a0; }
.r81-asset .price{ font-size: 13px; color: #d8d8d8; font-family: monospace; }
.r81-locked-box{
  background: rgba(255,180,130,0.08);
  border: 1px dashed rgba(255,180,130,0.3);
  border-radius: 14px;
  padding: 18px;
  text-align: center;
  margin: 14px 0;
}
.r81-locked-icon{ font-size: 32px; margin-bottom: 8px; }
.r81-locked-msg{ color: #ffb482; font-size: 14px; }
.r81-locked-cta{
  margin-top: 12px;
  background: linear-gradient(135deg, #ffd166, #f4a261);
  color: #000; font-weight: 700;
  border: none; padding: 10px 18px; border-radius: 12px;
  cursor: pointer; font-family: inherit; font-size: 13px;
}

/* Chat */
.r81-chat-msgs{
  max-height: 50vh; overflow-y: auto;
  padding: 8px; margin-bottom: 8px;
  background: rgba(0,0,0,0.2); border-radius: 12px;
}
.r81-msg{
  margin: 6px 0; padding: 10px 12px;
  border-radius: 14px; max-width: 85%;
  font-size: 13px; line-height: 1.7;
}
.r81-msg.user{
  background: rgba(255,209,102,0.15);
  color: #fff;
  margin-right: auto;
}
.r81-msg.bot{
  background: rgba(255,255,255,0.06);
  color: #ddd;
  margin-left: auto;
}
.r81-chat-input{
  display: flex; gap: 6px;
}
.r81-chat-input textarea{
  flex: 1;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 10px;
  color: #fff;
  font-family: inherit;
  font-size: 13px;
  resize: none;
  min-height: 44px;
}
.r81-chat-input button{
  background: linear-gradient(135deg, #ffd166, #f4a261);
  color: #000; font-weight: 700;
  border: none; padding: 0 16px; border-radius: 10px;
  cursor: pointer; font-family: inherit; font-size: 14px;
}

/* Me / Profile */
.r81-me-item{
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px; margin-bottom: 8px;
  background: rgba(255,255,255,0.04);
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.18s ease;
}
.r81-me-item:hover{ background: rgba(255,255,255,0.07); }
.r81-me-item .left{ display: flex; align-items: center; gap: 10px; }
.r81-me-item .icon{ font-size: 20px; }
.r81-me-item .title{ font-size: 14px; color: #fff; }
.r81-me-item .arrow{ color: #888; font-size: 16px; }
.r81-me-item.locked{ opacity: 0.6; }
.r81-me-item.locked .arrow{ color: #ffb482; font-size: 12px; }

.r81-empty{ color: #888; text-align: center; padding: 16px; font-size: 13px; }


/* extracted from inline (r83-style) */
/* Hide old R80 nav and screens */
.r80-invest-nav, #r80InvestNav { display: none !important; }
.r80-invest-screen { display: none !important; }

/* R83 nav */
.r83-nav{
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: rgba(20,20,28,0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 8px 4px calc(8px + env(safe-area-inset-bottom));
  z-index: 99;
  justify-content: space-around;
  align-items: stretch;
}
.r83-nav.show{ display: flex; }
.r83-btn{
  flex: 1;
  background: transparent;
  border: none;
  color: #888;
  font-family: inherit;
  cursor: pointer;
  padding: 6px 4px;
  display: flex; flex-direction: column;
  align-items: center; gap: 2px;
  border-radius: 10px;
}
.r83-btn .icon{ font-size: 22px; line-height: 1; }
.r83-btn .lbl{ font-size: 11px; margin-top: 2px; }
.r83-btn.active{ color: #ffd166; }
.r83-btn.active .icon{ filter: drop-shadow(0 0 8px rgba(255,209,102,0.5)); }
.r83-btn:active{ transform: scale(0.95); }

/* Hide academy nav when Invest is on */
body.r83-invest-on .ng-nav,
body.r83-invest-on [class*="ng-nav"]:not(.r83-nav){
  display: none !important;
}

/* Container for non-home tabs */
.r83-content{ display: none; padding-bottom: 80px; }
.r83-content.show{ display: block; }

/* Common content styles */
.r83-h{ font-size:20px;font-weight:800;color:#ffd166;border-bottom:1px solid rgba(255,209,102,0.2);padding-bottom:8px;margin:14px 0; }
.r83-card{ background:linear-gradient(135deg,rgba(255,255,255,0.04),rgba(255,255,255,0.01));border:1px solid rgba(255,255,255,0.06);border-radius:14px;padding:14px;margin-bottom:10px; }
.r83-empty{ text-align:center;padding:24px;color:#888;font-size:13px; }
.r83-lock-box{ background:rgba(255,180,130,0.08);border:1px dashed rgba(255,180,130,0.3);border-radius:14px;padding:24px;text-align:center;margin:20px 0; }
.r83-lock-icon{ font-size:38px;margin-bottom:10px; }
.r83-lock-msg{ color:#ffb482;font-size:14px;margin-bottom:14px; }
.r83-lock-cta{ background:linear-gradient(135deg,#ffd166,#f4a261);color:#000;font-weight:700;border:none;padding:11px 20px;border-radius:12px;cursor:pointer;font-family:inherit;font-size:13px; }


/* extracted from inline (r84-style) */
/* Reliable hide for home wrap when other tab active */
body.r84-invest-tab-active #r79Wrap,
body.r84-invest-tab-active #r78Wrap,
body.r84-invest-tab-active #r75Widget {
  display: none !important;
}
/* R83 content visibility tied to body class */
body.r84-invest-tab-active #r83Content {
  display: block !important;
}
body:not(.r84-invest-tab-active) #r83Content {
  display: none !important;
}


/* extracted from inline */
/* Hide all custom Invest sub-nav and content */
#r80InvestNav, .r80-invest-nav,
#r83Nav, .r83-nav,
#r83Content, .r83-content,
.r80-invest-screen {
  display: none !important;
}

/* Restore visibility of R79 wrap (the Invest home content) regardless of body class */
#r79Wrap {
  display: block !important;
}

/* Ensure academy bottom nav is always visible (was hidden by body.r83-invest-on / body.r84-invest-tab-active) */
.ng-nav, [class*="ng-nav"] {
  display: flex !important;
}

/* Remove our injected body classes' effects */
body.r83-invest-on .ng-nav,
body.r84-invest-tab-active .ng-nav {
  display: flex !important;
}
body.r83-invest-on #r79Wrap,
body.r84-invest-tab-active #r79Wrap,
body.r83-invest-on #r78Wrap,
body.r84-invest-tab-active #r78Wrap {
  display: block !important;
}
