/* MARFA — ریزساختار بازار */
#bullbear.bb{display:none;flex-direction:column;gap:18px;padding:2px 0 24px}
#bullbear.bb.active{display:flex}
.bb *{box-sizing:border-box}
.bb .up{color:#22c993}.bb .dn{color:#f0506e}
.bb-mu{color:#a19e99;font-size:12px}
.bb-head{display:flex;flex-wrap:wrap;gap:14px 24px;justify-content:space-between;align-items:flex-start;padding:22px 24px;border-radius:20px;border:1px solid #483d2b;background:radial-gradient(900px 220px at 85% -40%,rgba(215,172,87,.32),transparent 60%),radial-gradient(600px 200px at 5% 130%,rgba(34,201,147,.2),transparent 60%),linear-gradient(135deg,#2b2317,#18140e)}
.bb-head h1{margin:0 0 6px;font-size:28px;background:linear-gradient(90deg,#fff,#deba73);-webkit-background-clip:text;background-clip:text;color:transparent}
.bb-head p{margin:0;max-width:560px;color:#bab7b1;font-size:13.5px;line-height:1.8}
.bb-live{display:flex;align-items:center;gap:8px;font-size:12.5px;color:#bab7b1;background:rgba(29,25,16,.7);border:1px solid #483d2b;border-radius:999px;padding:8px 14px}
.bb-live i{width:8px;height:8px;border-radius:50%;background:#22c993;box-shadow:0 0 0 4px rgba(34,201,147,.2)}
.bb-ctl{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.bb-ctl input{width:120px;min-height:40px;border-radius:12px;border:1px solid #4c4333;background:#1e1911;color:#f4f3f2;padding:0 12px;font:inherit;font-weight:700;text-transform:uppercase}
.bb-ctl button,.bb-btn{min-height:40px;padding:0 14px;border-radius:12px;border:1px solid #4c4333;background:#282217;color:#deba73;font:inherit;font-size:13px;cursor:pointer}
.bb-ctl button.on,.bb-ctl button:hover,.bb-btn:hover{border-color:#d7ac57;background:rgba(215,172,87,.18);color:#fff}

.bb-k{--ac:#d8ae59;position:relative;overflow:hidden;display:flex;flex-direction:column;gap:3px;padding:12px 14px;border-radius:14px;background:linear-gradient(180deg,#342c1d,#241f15);border:1px solid #403728;border-top:3px solid var(--ac);min-width:0}
.bb-k small{color:#a19e99;font-size:12px}.bb-k b{font-size:21px;font-weight:800;direction:ltr;unicode-bidi:isolate;text-align:start}.bb-k em{font-style:normal;font-size:12px;color:#a19e99;direction:ltr;unicode-bidi:isolate;text-align:start}
.bb-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.bb-card{background:linear-gradient(180deg,#221d13,#18140e);border:1px solid #393124;border-radius:18px;padding:18px;min-width:0;display:flex;flex-direction:column;gap:10px}
.bb-w2{grid-column:span 2}
.bb-ch{display:flex;justify-content:space-between;align-items:baseline;gap:8px;flex-wrap:wrap}.bb-ch h3{margin:0;font-size:16px}
.bb-svg{width:100%;height:auto;display:block}
.bb-leg{display:flex;flex-wrap:wrap;gap:6px 18px;font-size:12.5px}
.bb-row{display:grid;grid-template-columns:90px minmax(0,1fr) 54px;gap:10px;align-items:center;font-size:13px}.bb-row b{direction:ltr;text-align:end}
.bb-bar{position:relative;height:10px;border-radius:5px;background:#282217;overflow:hidden;direction:ltr}.bb-bar i{position:absolute;top:0;bottom:0;border-radius:5px}.bb-bar b{position:absolute;left:50%;top:-2px;bottom:-2px;width:1px;background:#67635d}
.bb-sub{font-size:12.5px;color:#bab7b1;margin-top:6px}
.bb-pr{display:flex;flex-direction:column;gap:5px}.bb-prh{display:flex;justify-content:space-between;font-size:13px}.bb-prh b{direction:ltr}
.bb-split{display:flex;height:10px;border-radius:5px;overflow:hidden;direction:ltr;background:#282217}.bb-split i{display:block;height:100%}
.bb-prf{display:flex;justify-content:space-between;font-size:12px;direction:ltr}
.bb-big{font-size:34px;font-weight:800;direction:ltr;text-align:start}.bb-big small{font-size:14px;color:#a19e99;font-weight:500}
.bb-note{margin:0;font-size:13px;line-height:1.8;color:#cdcac6}
.bb-lab{display:flex;flex-direction:column;gap:6px;font-size:12.5px;color:#bab7b1}
.bb-lab input{min-height:42px;border-radius:12px;border:1px solid #4c4333;background:#1e1911;color:#f4f3f2;padding:0 12px;font:inherit;font-weight:700}
.bb-imp{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.bb-ib{background:#282217;border:1px solid #393124;border-radius:12px;padding:12px;display:flex;flex-direction:column;gap:6px;min-width:0}
.bb-ib>b{font-size:13px}.bb-ib p{margin:0;font-size:12.5px;line-height:1.7}
.bb-v{direction:ltr;text-align:start;font-size:13px;color:#deba73;line-height:1.7;overflow-wrap:anywhere}
.bb-mig{display:grid;grid-template-columns:1fr 1fr;gap:10px}.bb-mig>div{background:#282217;border:1px solid #393124;border-radius:12px;padding:10px;display:flex;flex-direction:column;gap:4px}.bb-mig small{font-size:12px;color:#a19e99}.bb-mig b{font-size:20px;direction:ltr;text-align:start}
.bb-walls{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}
.bb-walls li{display:grid;grid-template-columns:60px minmax(0,1fr) 62px 62px auto;gap:6px;align-items:center;padding:8px 0;border-bottom:1px solid #322b1f;font-size:12.5px}.bb-walls li:last-child{border:0}
.bb-walls b,.bb-walls em,.bb-walls small{direction:ltr;text-align:start;font-style:normal}
.bb-tag{font-style:normal;font-size:11px;padding:2px 8px;border-radius:999px;background:#2f281c;color:#bab7b1;border:1px solid #4c4333;white-space:nowrap}.bb-tag.new{color:#f2b23a;border-color:#6b5420;background:#2a2210}
.bb-empty{text-align:center;padding:40px 16px;border:1px dashed #4c4333;border-radius:16px;color:#bab7b1}.bb-empty b{display:block;font-size:18px;color:#f4f3f2;margin-bottom:8px}.bb-empty p{margin:0 0 12px}
.bb-foot{display:block;line-height:1.8}
@media(max-width:1100px){.bb-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.bb-w2{grid-column:1/-1}}
@media(max-width:640px){.bb-head{padding:16px}.bb-head h1{font-size:22px}.bb-grid{grid-template-columns:1fr}.bb-k b{font-size:17px}.bb-imp,.bb-mig{grid-template-columns:1fr}.bb-walls li{grid-template-columns:56px minmax(0,1fr) 58px;row-gap:2px}.bb-walls li small,.bb-walls li .bb-tag{grid-column:2/-1}.bb-ctl input{width:100px}.bb-card{padding:14px}}
html[lang=en] .bb{direction:ltr}
.bb-ctl select,#oiExp{min-height:38px;border-radius:10px;border:1px solid #3a3220;background:#120f0a;color:#eef3f8;padding:0 10px;font:inherit;font-size:12.5px}
.bb-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.bb-w2{grid-column:1/-1}
.bb-heat{direction:ltr;display:grid;grid-template-columns:110px repeat(var(--c),minmax(52px,1fr));gap:3px;overflow:auto}
.bb-hh{font-size:11.5px;color:#8a9bb0;text-align:center;padding:4px 0}.bb-hl{font-size:12px;display:flex;flex-direction:column;justify-content:center;direction:ltr}.bb-hl small{color:#8a9bb0}
.bb-hc{display:grid;place-items:center;min-height:34px;border-radius:7px;font-size:12px;font-weight:700;direction:ltr}
.bb-sk{display:grid;grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:10px}.bb-sk>div{background:#1d1810;border:1px solid #2e2616;border-radius:12px;padding:10px;display:flex;flex-direction:column;gap:4px;direction:ltr}.bb-sk small{color:#8a9bb0;font-size:11.5px}.bb-sk b{font-size:18px}
@media(max-width:1100px){.bb-grid{grid-template-columns:1fr}}
@media(max-width:640px){.bb-heat{grid-template-columns:84px repeat(var(--c),minmax(44px,1fr))}}
.bb-ctl{display:flex;flex-wrap:wrap;gap:10px;align-items:flex-end}.bb-ctl label{display:flex;flex-direction:column;gap:5px;font-size:12px;color:#9a8f78}
.bb-ctl input:not([type=checkbox]),.bb-ctl select{min-height:40px;border-radius:10px;border:1px solid #3a3220;background:#120f0a;color:#eef3f8;padding:0 10px;font:inherit;width:auto;min-width:96px}
.bb-ctl .bb-ck{flex-direction:row;align-items:center;gap:8px;min-height:40px;color:#cfdced}
.bb-btn{min-height:40px;padding:0 18px;border-radius:12px;border:1px solid #3a3220;background:#1d1810;color:#eef3f8;cursor:pointer;font:inherit}.bb-btn.pri{background:linear-gradient(135deg,#e8c47a,#d4a64f);color:#17120a;border:0;font-weight:700}.bb-btn:disabled{opacity:.6}

.bb-k{--ac:#d4a64f;display:flex;flex-direction:column;gap:3px;padding:12px 14px;border-radius:14px;background:linear-gradient(180deg,#1d1810,#15110b);border:1px solid #2e2616;border-top:3px solid var(--ac);min-width:0}.bb-k small{color:#9a8f78;font-size:12px}.bb-k b{font-size:21px;direction:ltr;text-align:start}.bb-k em{font-style:normal;font-size:12px;color:#9a8f78}
.bb-verdict{display:grid;grid-template-columns:minmax(200px,.7fr) 1.3fr;gap:16px;padding:16px 18px;border-radius:18px;border:1px solid #2e2616;background:linear-gradient(180deg,#1d1810,#15110b)}
.bb-verdict>div{display:flex;flex-direction:column;gap:4px;justify-content:center}.bb-verdict small{color:#9a8f78}.bb-verdict b{font-size:24px}.bb-verdict span{color:#9a8f78;font-size:12.5px}
.bb-verdict.ok{border-color:rgba(34,201,147,.5)}.bb-verdict.ok b{color:#22c993}.bb-verdict.wr{border-color:rgba(242,178,58,.5)}.bb-verdict.wr b{color:#f2b23a}.bb-verdict.bad{border-color:rgba(240,80,110,.5)}.bb-verdict.bad b{color:#f0506e}
.bb-verdict ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px;font-size:13px}.bb-verdict li.ok{color:#bfeedd}.bb-verdict li.bad{color:#f5b7c3}
.bb-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.bb-w2{grid-column:1/-1}
.bb-tw{overflow:auto;border:1px solid #2e2616;border-radius:12px}.bb-tw table{width:100%;border-collapse:collapse;font-size:12.5px}.bb-tw th,.bb-tw td{padding:8px 12px;text-align:start;border-bottom:1px solid #2e2616;white-space:nowrap}.bb-tw th{background:#1d1810;color:#9a8f78}.bb-tw tr:last-child td{border:0}
.bb-row{display:flex;justify-content:space-between;gap:10px;padding:8px 0;border-bottom:1px solid #2e2616;font-size:13px}.bb-row:last-of-type{border:0}.bb-row b{direction:ltr}
.bb-heat{direction:ltr;display:grid;grid-template-columns:70px repeat(var(--c),minmax(40px,1fr));gap:3px;overflow:auto}.bb-hh{font-size:11.5px;color:#9a8f78;text-align:center;padding:4px 0}
.bb-hc{display:grid;place-items:center;min-height:32px;border-radius:7px;font-size:12px;font-weight:700}.bb-hc.bst{outline:2px solid #e8c47a}
.bb-rg{display:grid;grid-template-columns:70px minmax(0,1fr) 40px 70px 54px;gap:8px;align-items:center;font-size:12.5px;padding:4px 0}.bb-rg i{display:block;height:8px;border-radius:4px;background:#1d1810;overflow:hidden;direction:ltr}.bb-rg u{display:block;height:100%;background:#d4a64f}.bb-rg b,.bb-rg em,.bb-rg small{direction:ltr;font-style:normal;text-align:end}.bb-rg small{color:#9a8f78}
.bb-sub{font-size:12.5px;color:#9a8f78;margin-top:8px}.bb-note{margin:6px 0 0;font-size:12.5px;line-height:1.9;color:#b9ad95}.bb-ctl+.bb-empty,.bb-head+.bb-ctl{margin-top:0}
@media(max-width:1100px){.bb-grid{grid-template-columns:1fr}.bb-verdict{grid-template-columns:1fr}}
@media(max-width:640px){.bb-ctl label{flex:1 1 44%}.bb-ctl input:not([type=checkbox]),.bb-ctl select{width:100%}.bb-btn.pri{flex:1 1 100%}.bb-rg{grid-template-columns:56px minmax(0,1fr) 36px 62px}.bb-rg small{display:none}}
.bb-ctl .bb-ck input{width:18px;height:18px;min-height:0;min-width:0;padding:0;accent-color:#d4a64f}
.bb-ctl{display:flex;flex-wrap:wrap;gap:10px;align-items:flex-end}.bb-ctl label{display:flex;flex-direction:column;gap:5px;font-size:12px;color:#9a8f78}
.bb-ctl input,.bb-ctl select{min-height:40px;border-radius:10px;border:1px solid #3a3220;background:#120f0a;color:#eef3f8;padding:0 10px;font:inherit;min-width:110px;text-transform:uppercase}.bb-ctl select{text-transform:none}
.bb-btn{min-height:40px;padding:0 18px;border-radius:12px;border:1px solid #3a3220;background:#1d1810;color:#eef3f8;cursor:pointer;font:inherit}.bb-btn.pri{background:linear-gradient(135deg,#e8c47a,#d4a64f);color:#17120a;border:0;font-weight:700}.bb-btn:disabled{opacity:.6}
.bb-score{padding:16px 18px;border-radius:18px;border:1px solid #2e2616;background:linear-gradient(180deg,#1d1810,#15110b);display:flex;flex-direction:column;gap:12px}
.bb-sc-h{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.bb-sc-h small{color:#9a8f78}.bb-sc-h b{display:block;font-size:26px}.bb-sc-h em{font-style:normal;font-size:14px}
.bb-lean{padding:8px 16px;border-radius:999px;font-weight:700;border:1px solid #3a3220}.bb-lean.up{color:#22c993;border-color:rgba(34,201,147,.5)}.bb-lean.dn{color:#f0506e;border-color:rgba(240,80,110,.5)}.bb-lean.mx{color:#f2b23a;border-color:rgba(242,178,58,.5)}
.bb-bar{display:flex;height:12px;border-radius:6px;overflow:hidden;direction:ltr;background:#120f0a}.bb-bar i{display:block;height:100%}.bb-bar i.up{background:#22c993}.bb-bar i.dn{background:#f0506e}
.bb-bl{display:flex;justify-content:space-between;font-size:13px;font-weight:700}
.bb-cols{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.bb-col{background:linear-gradient(180deg,#1d1810,#15110b);border:1px solid #2e2616;border-radius:18px;padding:16px;display:flex;flex-direction:column;gap:10px;min-width:0}
.bb-col.up{border-top:3px solid #22c993}.bb-col.dn{border-top:3px solid #f0506e}.bb-col h3{margin:0;display:flex;justify-content:space-between;font-size:16px}.bb-col.up h3{color:#22c993}.bb-col.dn h3{color:#f0506e}.bb-col h3 span{font-size:13px;opacity:.8}
.bb-arg{display:grid;grid-template-columns:34px 1fr;gap:8px;padding:10px 0;border-top:1px solid #2e2616;align-items:start}.bb-arg i{font-style:normal;font-size:9px;letter-spacing:1px;padding-top:6px;color:#d4a64f}.bb-arg b{font-size:13.5px;line-height:1.8;font-weight:600}.bb-arg small{display:block;color:#9a8f78;font-size:12px;direction:ltr;text-align:start}
.bb-card{background:linear-gradient(180deg,#1d1810,#15110b);border:1px solid #2e2616;border-radius:18px;padding:16px}.bb-card h3{margin:0 0 10px;font-size:15px}
.bb-lv{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.bb-lv>div{background:#120f0a;border:1px solid #2e2616;border-radius:12px;padding:10px;display:flex;flex-direction:column;gap:4px}.bb-lv small{color:#9a8f78;font-size:11.5px}.bb-lv b{direction:ltr;text-align:start;font-size:15px}
.bb-mu{color:#9a8f78;font-size:12.5px}.bb-note{margin:10px 0 0;font-size:12.5px;line-height:1.9;color:#b9ad95}
@media(max-width:900px){.bb-cols{grid-template-columns:1fr}.bb-lv{grid-template-columns:repeat(2,minmax(0,1fr))}}
.bb-bar{position:static!important;display:flex!important;height:12px!important}.bb-bar i{position:static!important;flex:none}.bb-bar b{display:none}
.bb-col{color:#eef3f8}.bb-col.up h3{color:#22c993}.bb-col.dn h3{color:#f0506e}.bb-arg b{color:#eef3f8}
