/* 总览左侧已有价格图，右侧从尾盘指标开始。 */
body.overview #mineGrid #overview-history #sq7Ch>.sq7-rng+svg.sq7-svg{display:none!important}

body.overview{background:#191919;color:#dedede;zoom:1!important}body.overview>header:not(#overview-head),body.overview>nav,body.overview #deskShell,body.overview #quickBar,body.overview #instBar,body.overview .mine-bar,body.overview .mine-ctl,body.overview #mineEmpty,body.overview #offBar{display:none!important}body.overview main{max-width:1840px;margin:auto;padding:0 22px 40px!important}#overview-head{max-width:1840px;margin:auto;padding:25px 22px 18px;display:flex;justify-content:space-between;align-items:end;gap:20px;position:relative!important;background:none!important;border:0!important;height:auto!important}#overview-head h1{font-size:24px;margin:7px 0;font-weight:600}#overview-head h1 b{font:26px ui-monospace,monospace;color:#59ad78;padding-left:20px}.ov-kicker{font-size:10px;letter-spacing:2px;color:#999}#overview-head p{font-size:12px;color:#bd9a62;margin:0}.ov-links{display:flex;gap:16px;font-size:12px}.ov-links a{color:#bbb;text-decoration:none}.ov-links a:hover{color:white}body.overview #mineGrid{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;align-items:start}body.overview .mine-cell{min-width:0;display:block!important}body.overview .mine-cell.full{grid-column:1/-1}body.overview .p{border:1px solid #454545;border-radius:11px;background:#232323;margin:0!important;overflow:hidden}body.overview .ph{padding:14px 16px;border-bottom:1px solid #3c3c3c}#overview-indicators{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.oi-chart{min-height:195px;padding:10px;background:repeating-linear-gradient(to top,transparent 0,transparent 47px,#343434 48px)}.overview-ind-svg{width:100%;height:190px;display:block}.oi-legend{display:flex;gap:18px;font-size:11px;padding:0 16px 12px}.oi-legend span:first-child{color:#e8963a}.oi-legend span:last-child{color:#4a8fd8}#overview-gamma-chart{padding:12px}#overview-gamma-chart svg{display:block;width:100%;max-height:380px}body.overview #chartPanel{display:block!important}body.overview #p-live-chain{max-height:700px;overflow:auto}body.overview #p-live-card .gg-explain{display:none}.overview-explain{padding:12px;border-top:1px solid #444}.overview-explain summary{cursor:pointer;color:#bdbdbd}body.overview #p-optval{width:100%}body.overview #chartRow:empty{display:none}body.overview #chartWrap{min-height:400px}body.overview .bf-pg-svg{min-height:310px}body.overview #sq7Body{min-height:800px}body.overview .bf-ghost{display:none!important}body.overview section{scroll-margin-top:20px}@media(max-width:1000px){body.overview #mineGrid{grid-template-columns:minmax(0,1fr)}#overview-indicators{grid-template-columns:1fr}#overview-head{align-items:start;flex-direction:column}.ov-links{flex-wrap:wrap}}
body.overview .sidebar{display:none!important}body.overview #chartRow{display:none!important}body.overview #chartPanel{height:575px;overflow:hidden!important}body.overview #chartWrap{min-height:340px!important}body.overview #chartPanel svg.bf-pg-svg{height:340px!important;min-height:0!important}body.overview #p-optval{display:block!important}body.overview #mineGrid .mine-cell:empty{display:none!important}body.overview #overview-history .p{display:block!important}
body.overview #overview-head #tk345{display:none!important}body.overview main{margin-left:auto!important}body.overview #overview-gamma-chart .bf-pg-c,body.overview #overview-gamma-chart .bf-pg-w,body.overview #overview-gamma-chart .bf-pg-ivov{display:none!important}body.overview #overview-history #v-sq7{display:block!important}body.overview #overview-volatility .ov-top{display:block!important}body.overview #p-live-card>.ph{min-height:62px}body.overview .overview-ind-svg .ivov-ax{font-size:10px}body.overview #p-live-chain .lvchainwrap{overflow:auto}body.overview #toast{display:none!important}
body.overview #overview-volatility .ov-chips{display:none!important}body.overview #overview-volatility #ovIvkSlot{width:100%!important}body.overview #overview-gamma-chart .bf-pg-hov{display:none!important}body.overview #p-optval .ov-cvw canvas{height:320px!important}body.overview #overview-indicators .ph{padding:12px 15px}body.overview #overview-indicators .ph .sp{display:none}body.overview #overview-head{min-height:110px}body.overview #v-sq7>.p{margin:0!important}
/* v2：移除组合建议卡与期权链，统一网格边缘。 */
body.overview #p-live-chain,body.overview #ggCard,body.overview #p-live-card>.pb,body.overview #ggModels,body.overview #c637,body.overview #p-live-card>.teachbox,body.overview #ggModelBtn,body.overview #ggHedgeNow{display:none!important}
body.overview #mineGrid{align-items:stretch!important;gap:18px}
body.overview #mineGrid>.mine-cell{height:100%;min-width:0;box-sizing:border-box}
body.overview #mineGrid>.mine-cell>.p{height:100%;box-sizing:border-box}
body.overview #chartPanel,body.overview #overview-gamma{height:590px!important}
body.overview #overview-gamma-chart{padding:20px 15px 12px;display:flex;align-items:center;height:480px;box-sizing:border-box}
body.overview #overview-gamma-chart svg{width:100%;height:100%;max-height:none;min-height:0!important}
body.overview #overview-gamma .ph{min-height:70px}
body.overview #overview-gamma-chart .strad{display:none!important}
body.overview #overview-gamma-chart .overview-intraday{display:block!important}
body.overview #mineGrid>[data-k="#p-live-card"],body.overview #mineGrid>[data-k="#p-gx"]{height:820px}
body.overview #p-live-card,body.overview #p-gx{height:100%;overflow:auto}
body.overview #overview-volatility,body.overview #mineGrid>[data-k="#bfHedgeLadder"]{height:800px}
body.overview #overview-volatility>.p,body.overview #bfHedgeLadder{height:100%;overflow:auto}
body.overview #mineGrid>[data-k="#ocTopBox"],body.overview #mineGrid>[data-k="#p-octop2"]{height:740px;overflow:auto;border:1px solid #454545;border-radius:11px;background:#232323}
body.overview #mineGrid>[data-k="#ocTopBox"] .mine-shell{border:0;border-radius:0}
body.overview #p-optval{height:auto!important}
body.overview #overview-indicators>.p{height:300px}
body.overview #mineGrid .ph{box-sizing:border-box;min-height:62px}
@media(max-width:1000px){body.overview #mineGrid>.mine-cell{grid-column:1/-1}body.overview #overview-indicators{grid-template-columns:1fr}body.overview #mineGrid>[data-k="#p-live-card"],body.overview #mineGrid>[data-k="#p-gx"],body.overview #overview-volatility,body.overview #mineGrid>[data-k="#bfHedgeLadder"]{height:auto;min-height:500px}}
body.overview #overview-gamma-chart .overview-intraday{stroke:#8ccae7!important;stroke-width:1.7!important;fill:none!important}body.overview .overview-price-legend{padding:14px 17px 0;color:#8ccae7;font-size:12px}body.overview .overview-price-legend span{color:#8c8c8c;margin-left:12px}body.overview #overview-gamma-chart{height:446px;padding-top:0}body.overview #overview-gamma-chart .bf-pg-edge{fill:#c5aa6d}body.overview #chartPanel #dotm510{display:none!important}
/* v3：顶部搜索、紧凑挤压监控、半宽贵贱。 */
body.overview #overview-head{flex-wrap:wrap;align-items:center}
body.overview #overview-head #instBar{display:flex!important;order:2;width:100%;padding:10px 0 0;background:none;border:0;margin:0;position:static!important}
body.overview #overview-head #instBar .iq,body.overview #overview-head #instBar .imeta{display:none!important}
body.overview #overview-head #instBar .instsel{display:flex;gap:10px;align-items:center}
body.overview #overview-head #instPick{min-width:230px}
body.overview #overview-head #instSearch{font-size:0;width:130px;height:35px}
body.overview #overview-head #instSearch:after{content:'⌕ 搜索标的';font-size:13px}
body.overview #overview-history.compact-monitor:not(.monitor-expanded){height:590px!important;overflow:hidden}
body.overview #overview-history #v-sq7,body.overview #overview-history #v-sq7>.p{height:100%!important}
body.overview #overview-history:not(.monitor-expanded) .ph{min-height:62px;height:62px;padding:12px;flex-wrap:nowrap}
body.overview #overview-history:not(.monitor-expanded) .ph h3{font-size:15px;white-space:nowrap}
body.overview #overview-history:not(.monitor-expanded) .ph .mut{display:none}
body.overview #overview-history:not(.monitor-expanded) #v-sq7>.p>.pb{padding:8px 12px!important}
body.overview #overview-history:not(.monitor-expanded) .sq7-cfg,body.overview #overview-history:not(.monitor-expanded) .sq7-cards,body.overview #overview-history:not(.monitor-expanded) #sq7Tip,body.overview #overview-history:not(.monitor-expanded) .sq7-read,body.overview #overview-history:not(.monitor-expanded) #sq7Body>h4,body.overview #overview-history:not(.monitor-expanded) #sq7Body>table,body.overview #overview-history:not(.monitor-expanded) #sq7Body>details{display:none!important}
body.overview #overview-history:not(.monitor-expanded) #sq7Body{min-height:0!important}
body.overview #overview-history:not(.monitor-expanded) #sq7Ch>.sq7-svg{height:76px!important;min-height:0!important;width:100%!important}
body.overview #overview-history:not(.monitor-expanded) .sq7-cols{grid-template-columns:1fr 1fr!important;gap:4px 10px!important}
body.overview #overview-history:not(.monitor-expanded) .sq7-cell svg{height:62px!important;min-height:0!important;width:100%!important}
body.overview #overview-history:not(.monitor-expanded) .sq7-rng{font-size:10px;margin:0 0 4px}
body.overview #overview-history:not(.monitor-expanded) .sq7-rng button{padding:2px 6px;font-size:10px}
body.overview #overview-history:not(.monitor-expanded) .sq7-colh{font-size:10px;padding:2px 0}
body.overview #overview-history.monitor-expanded{height:auto!important;min-height:590px}
body.overview #overview-gamma-cell,body.overview #mineGrid>[data-k="#p-gx"]{height:820px!important}
body.overview #overview-gamma{height:100%!important}
body.overview #overview-gamma-chart{height:700px}
body.overview #mineGrid>[data-k="#p-live-card"],body.overview #mineGrid>[data-k="#bfHedgeLadder"]{height:820px!important}
body.overview #overview-volatility,body.overview #mineGrid>[data-k="#p-optval"]{height:900px!important;overflow:auto}
body.overview #p-optval{height:100%!important;overflow:auto}
@media(max-width:1000px){body.overview #overview-head #instBar .instsel{flex-wrap:wrap}body.overview #overview-history:not(.monitor-expanded){height:590px!important}}
body.overview #overview-search{order:-1;flex-basis:100%;max-width:360px;min-height:42px;text-align:left;margin:0 0 8px;background:#292929;border:1px solid #505050;border-radius:7px;color:#eee;padding:10px 14px;font-size:14px}body.overview #overview-search span{font-size:12px;color:#9a9a9a;margin-left:16px}body.overview #overview-head{display:grid;grid-template-columns:1fr auto}body.overview #overview-search{grid-column:1/-1}body.overview #overview-history:not(.monitor-expanded) .ph>.tag{display:none!important}body.overview #overview-history .ph>button{white-space:nowrap;flex-shrink:0}body.overview #overview-history:not(.monitor-expanded) .sq7-cell svg{height:59px!important}
/* v4: four charts and independent compact columns */
body.overview #overview-indicators{grid-template-columns:repeat(4,minmax(0,1fr))}
body.overview #overview-indicators>.mine-cell{height:300px!important;overflow:hidden}
body.overview #overview-indicators #p-octop2{height:100%;box-sizing:border-box}
body.overview #overview-indicators .ph{padding-right:60px}
body.overview #overview-indicators .ph .mut{display:none}
body.overview #p-octop2 #ocTopTag,body.overview #p-octop2 #ocTopBal,body.overview #p-octop2 #bfCoverageNote,body.overview #p-octop2 #ocKSum,body.overview #p-octop2 #bfHedgeFlow,body.overview #p-octop2 #ocKLegend{display:none!important}
body.overview #overview-indicators #ocKBox canvas{height:135px!important}
body.overview #overview-indicators #p-octop2 button,body.overview #overview-indicators #p-octop2 select{font-size:10px;padding:3px}
body.overview #overview-lower{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:18px;min-width:0}
body.overview #overview-lower>div{display:flex;flex-direction:column;gap:18px;min-width:0}
body.overview #overview-lower .mine-cell,body.overview #overview-lower #p-optval,body.overview #overview-lower #overview-volatility{height:auto!important;overflow:visible}
body.overview #overview-lower [data-k="#ocTopBox"]{border:1px solid #454545;border-radius:11px;background:#232323;padding:12px;box-sizing:border-box}
body.overview #ocTopWrap{max-height:none!important;height:auto!important;overflow-x:auto!important;overflow-y:visible!important}
body.overview #overview-lower #bfHedgeLadder{height:auto!important}
body.overview .overview-zoomable{position:relative}
body.overview .overview-zoom-toggle{position:absolute;right:10px;top:16px;z-index:20;background:#333;color:#ddd}
body.overview .overview-zoomable>.p>.ph,body.overview .overview-zoomable>.ph{padding-right:70px}
body.overview #overview-history .ph>button:last-child{display:none}
body.overview.overview-zoom-open{overflow:hidden!important}
body.overview #mineGrid .overview-zoomed,body.overview #overview-lower .overview-zoomed,body.overview #overview-indicators>.overview-zoomed{position:fixed!important;inset:20px!important;width:auto!important;height:calc(100vh - 40px)!important;z-index:9999;background:#232323;overflow:auto!important;box-shadow:0 0 0 30px #111e;border-radius:12px;padding-top:0}
body.overview #overview-indicators>.overview-zoomed .oi-chart{height:calc(100vh - 180px)}
body.overview #overview-indicators>.overview-zoomed .overview-ind-svg{height:100%}
body.overview #overview-indicators>.overview-zoomed #ocKBox canvas{height:calc(100vh - 240px)!important}
body.overview #mineGrid .overview-zoomed #chartPanel{height:100%!important}
body.overview #mineGrid .overview-zoomed #chartPanel svg.bf-pg-svg{height:calc(100vh - 270px)!important}
@media(max-width:1100px){body.overview #overview-indicators{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){body.overview #overview-indicators,body.overview #overview-lower{grid-template-columns:1fr}}
body.overview #overview-indicators .ph{height:62px!important;min-height:62px!important;flex-wrap:nowrap!important}
body.overview #overview-indicators .ph>*:not(h3){display:none!important}
body.overview #overview-indicators .ph h3{font-size:14px;white-space:nowrap}
body.overview #overview-indicators #octop2Body>.sgrp{display:flex;flex-wrap:nowrap;overflow-x:auto;max-width:100%;margin:3px 0;height:34px;min-height:34px}
body.overview #overview-indicators #octop2Body>.sgrp>*{flex-shrink:0}
body.overview #overview-indicators #octop2Body>.sgrp:not(.bf-khead)>:first-child{display:none}
body.overview #overview-indicators #ocKBox{margin-top:4px}
body.overview #overview-indicators #ocKBox canvas{height:145px!important}
body.overview #overview-indicators>.overview-zoomed #ocKBox canvas{height:calc(100vh - 240px)!important}
/* v5: readable time axes, opt-in layers, undistorted history charts */
body.overview #chartPanel .bf-qt{display:none!important}
body.overview .oi-chart{position:relative;padding-bottom:0}
body.overview .overview-ind-svg{height:190px}
.overview-time-tip{display:none;position:absolute;bottom:2px;left:12px;background:#151515;color:#eee;padding:4px 7px;border:1px solid #666;font-size:11px;pointer-events:none;z-index:4}
body.overview #overview-history.compact-monitor:not(.monitor-expanded){overflow:auto!important}
body.overview #overview-history:not(.monitor-expanded) .sq7-cell svg,body.overview #overview-history:not(.monitor-expanded) #sq7Ch>.sq7-svg{height:auto!important;min-height:0!important;display:block;width:100%!important}
body.overview #overview-history:not(.monitor-expanded) .sq7-cols{gap:10px 14px!important}
body.overview #overview-history:not(.monitor-expanded) #v-sq7>.p{height:auto!important;min-height:100%;overflow:visible}
body.overview #overview-history.overview-zoomed .sq7-cell svg{height:auto!important}
/* Call/Put colors for the three independent indicator charts, including zoom. */
#overview-indicators .ivov-c{stroke:#59ad78!important}
#overview-indicators .ivov-p{stroke:#e05b62!important}
#overview-indicators .ivov-ax.c,#overview-indicators .ivov-ev.c,#overview-indicators .ivov-seg.c{fill:#59ad78!important}
#overview-indicators .ivov-ax.p,#overview-indicators .ivov-ev.p,#overview-indicators .ivov-seg.p{fill:#e05b62!important}
#overview-indicators .oi-legend span:first-child{color:#59ad78}
#overview-indicators .oi-legend span:last-child{color:#e05b62}

/* Let the quote footer participate in the card height when controls wrap. */
body.overview #mineGrid>[data-k="#chartPanel"]:not(.overview-zoomed),
body.overview #mineGrid>[data-k="#chartPanel"]:not(.overview-zoomed)>#chartPanel{height:auto!important;overflow:visible!important}
body.overview #mineGrid>[data-k="#chartPanel"].overview-zoomed #chartPanel{overflow-y:auto!important}
@media(min-width:761px){body.overview #mineGrid{grid-template-columns:repeat(2,minmax(0,1fr))}body.overview #mineGrid>[data-k="#chartPanel"]{grid-column:1;grid-row:1}body.overview #mineGrid>#overview-history{grid-column:2;grid-row:1}}

body.overview #mineGrid{--card-gap:16px;gap:var(--card-gap)}
body.overview #overview-lower{gap:var(--card-gap);align-items:start}
body.overview #overview-lower>div:not(.mine-cell){display:contents}
body.overview #overview-lower>[data-k="#p-octop2"]{grid-column:1;grid-row:1;overflow:auto}
body.overview #overview-lower [data-k="#p-optval"]{grid-column:2;grid-row:1}
body.overview #overview-lower [data-k="#bfHedgeLadder"]{grid-column:1;grid-row:2}
body.overview #overview-lower #overview-volatility{grid-column:2;grid-row:2}
body.overview #overview-lower [data-k="#ocTopBox"]{grid-column:1/-1;grid-row:3}
body.overview #overview-history.compact-monitor:not(.overview-zoomed){align-self:stretch;height:auto!important;min-height:0}
body.overview #overview-history:not(.overview-zoomed)>#v-sq7{position:absolute;inset:0;overflow:auto}
body.overview #overview-history:not(.overview-zoomed) .ph h3{white-space:normal}
body.overview #mineGrid #three-vol .vol-plot{height:clamp(220px,18vw,330px)}
body.overview #mineGrid #three-vol .overview-zoomed .vol-plot{height:65vh}
@media(max-width:760px){body.overview #overview-lower{display:flex;flex-direction:column}body.overview #overview-lower .mine-cell{width:100%}body.overview #overview-history.compact-monitor:not(.overview-zoomed){min-height:460px}}

#overview-head .ov-links[hidden]{display:none!important}
#overview-head #internal-theme-choice{justify-self:end;min-width:36px;font-size:19px}
html[data-internal-theme=light] body.overview #overview-head h1{color:#18232d!important}
html[data-internal-theme=light] body.overview #overview-head h1 b{color:#176335!important}
body.overview .bf-pg-gxtip,html body.overview .overview-time-tip,html body.overview #three-vol output:not([hidden]),body.overview #sqzTip{background:transparent!important;color:var(--tx)!important;border:0!important;box-shadow:none!important;pointer-events:none;text-shadow:0 1px 2px var(--bg)}
#sp-alert-controls,#iv-opening-settings{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:6px 14px;font-size:12px}
#chartPanel :is(#sp-alert-controls,#iv-opening-settings) details[open]{flex-basis:100%}
#chartPanel :is(#sp-alert-controls,#iv-opening-settings) summary{display:inline-block;cursor:pointer}
#iv-opening-settings details span{display:block}
@media(min-width:761px){
 body.overview #overview-lower{align-items:stretch;grid-template-columns:repeat(2,minmax(0,1fr))}
 body.overview #overview-lower [data-k="#bfHedgeLadder"]{grid-area:1/1}
 body.overview #overview-lower [data-k="#p-octop2"]{grid-area:1/2}
 body.overview #overview-lower [data-k="#ocTopBox"]{grid-area:2/1}
 body.overview #overview-lower [data-k="#p-optval"]{grid-area:2/2}
 body.overview #overview-lower #overview-volatility{grid-area:3/2}
 body.overview:not(.chart-single) #overview-lower .mine-cell{height:clamp(380px,65vh,740px)!important;min-height:0;box-sizing:border-box;overflow:auto!important;overscroll-behavior:contain}
}
@media(max-width:760px){body.overview #overview-lower [data-k="#bfHedgeLadder"]{order:-2}body.overview #overview-lower [data-k="#ocTopBox"]{order:-1;max-height:65vh;overflow:auto!important}}
@media(min-width:761px){
 body.overview:not(.chart-single) #overview-lower{grid-template-rows:repeat(6,clamp(132px,17vh,215px))}
 body.overview:not(.chart-single) #overview-lower [data-k="#bfHedgeLadder"]{grid-area:1/1/span 3}
 body.overview:not(.chart-single) #overview-lower [data-k="#ocTopBox"]{grid-area:4/1/span 3}
 body.overview:not(.chart-single) #overview-lower [data-k="#p-octop2"]{grid-area:1/2/span 2}
 body.overview:not(.chart-single) #overview-lower [data-k="#p-optval"]{grid-area:3/2/span 2}
 body.overview:not(.chart-single) #overview-lower #overview-volatility{grid-area:5/2/span 2}
 body.overview:not(.chart-single) #overview-lower .mine-cell{height:100%!important}
}
body.overview #chartPanel :is(.bf-pg-hov,.bf-pg-ivhov) rect{fill:transparent!important}

/* Out-of-range price labels are tspans, separate from the in-range wall labels. */
html:not([data-internal-theme="light"]) .bf-pg-svg text.bf-pg-edge,
html:not([data-internal-theme="light"]) .bf-pg-svg text.bf-pg-edge > tspan {
  fill: #f4f1e9;
  font-weight: 600;
  paint-order: stroke fill;
  stroke: #242424;
  stroke-width: 1.4px;
  stroke-linejoin: round;
}
html:not([data-internal-theme="light"]) .bf-pg-svg .bf-pg-edge > tspan.cwall { fill: #ffca82; }
html:not([data-internal-theme="light"]) .bf-pg-svg .bf-pg-edge > tspan.pwall { fill: #d5b9ff; }

body.overview #chartPanel>.ph .overview-layer-button{display:inline-flex!important;align-items:center;flex:none;color:var(--tx);border:1px solid currentColor;padding:4px 10px;font-size:13px}
html body.chart-single>#bfPgLayM.on{display:block!important;z-index:11000}

body.overview #overview-lower #bfHedgeLadder{display:block!important}
.dealer-title{font-size:16px;margin:0 70px 12px 0}
.dealer-status:not([hidden]){display:flex;align-items:center;flex-wrap:wrap;gap:12px;font-size:13px}
.dealer-status [hidden]{display:none!important}
body.overview [data-k="#ocTopBox"]:has(.dealer-status:not([hidden])) .mine-shell{display:none!important}

