
:root{--fs-12:.875rem;--fs-note:.875rem}
html body .v3-stale{background:var(--warn-bg,#fdf3d6)!important;color:var(--warn,#8a5a00)!important;border-radius:6px;padding:0 6px}
html body .cr{font-size:.8125rem;line-height:1.5;color:var(--mute)}
html body .v3-u{font-size:.72em;font-weight:400;color:var(--mute);margin-left:.15em}
html body table td,html body .s4-p,html body .s4-c,html body .cs-inst .v,html body .ix b{font-variant-numeric:tabular-nums}
/* D8 標籤三種形狀：狀態＝實心、屬性＝線框、時間＝灰底 */
html body .im-b{border-radius:999px}
html body .s4-ind a,html body .th-lv{border-radius:999px}
html body .cs-asof,html body .s4-dt{color:var(--mute)}
/* 2026-10-09 使用者「說明一律拿掉或隱藏」：解說段落（怎麼讀、口徑、資料來源、圖說）一律收起；ⓘ 小按鈕保留（點了才看）；
   免責聲明（非投資建議／非持牌）與訂閱入口不在此列 */
html body .cf-hint,html body p.ns-note,html body p.not,html body p.plain,html body .id-src,html body .ck-src,html body .cc-n,html body .tc-foot,
html body .sc3-pc,html body .pc-n,html body .cs-what,html body .cs-cov,html body .cf-note,html body p.ui,html body .byline-x,html body .ld-src,
html body .v3-tl .sub,html body .v3-ovn,html body .cs-foot.v3-x,html body .s4-tlh,html body .cf-intro,html body .ds-hint{display:none!important}
html body .v3-keep{display:block!important}
/* D4 圖表配色：法人三條線固定藍／紫／灰（紅綠只表示方向） */
:root{--ch-f:#2E6BB5;--ch-t:#7A54BF;--ch-d:#8C919E}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]){--ch-f:#73A8F2;--ch-t:#B899F2;--ch-d:#A8ADBA}}
:root[data-theme="dark"]{--ch-f:#73A8F2;--ch-t:#B899F2;--ch-d:#A8ADBA}
html body .sc3b path.ln3{stroke:var(--ch-f)!important}html body .sc3b path.l3.b{stroke:var(--ch-t)!important}html body .sc3b path.l3.c{stroke:var(--ch-d)!important}
html body .sc3b .sc3-end:not(.br):not(.m) b,html body .sc3b .sc3-end:not(.br):not(.m) small{color:var(--ch-f)!important}html body .sc3b .sc3-end.br b,html body .sc3b .sc3-end.br small{color:var(--ch-t)!important}html body .sc3b .sc3-end.m b,html body .sc3b .sc3-end.m small{color:var(--ch-d)!important}
html body .sc3b .sc3-dot:not(.br):not(.m){background:var(--ch-f)!important;border-color:var(--ch-f)!important}html body .sc3b .sc3-dot.br{background:var(--ch-t)!important;border-color:var(--ch-t)!important}html body .sc3b .sc3-dot.m{background:var(--ch-d)!important;border-color:var(--ch-d)!important}
/* S1 捲動摘要列 */
html body .v3-sb{position:fixed;left:0;right:0;top:0;z-index:40;background:var(--card);border-bottom:1px solid var(--hair);box-shadow:0 2px 8px rgba(0,0,0,.06);transform:translateY(-110%);transition:transform .2s ease}
html body .v3-sb.on{transform:none}
html body .v3-sbi{max-width:var(--max,1248px);margin:0 auto;padding:8px 16px;display:flex;align-items:center;gap:14px;flex-wrap:nowrap;overflow:hidden}
html body .v3-sb .n{font-weight:700;font-size:1.0625rem;white-space:nowrap}
html body .v3-sb .p{font-weight:700;font-variant-numeric:tabular-nums;white-space:nowrap}
html body .v3-sb .pl{display:flex;gap:6px;flex-wrap:nowrap;overflow:hidden}
html body .v3-sb .pl span{font-size:.8125rem;font-weight:700;padding:2px 9px;border-radius:999px;background:var(--mute-bg,rgba(0,0,0,.05));color:var(--ink2);white-space:nowrap}
html body .v3-sb .pl .u{background:var(--up-bg,rgba(200,40,40,.08));color:var(--up)}html body .v3-sb .pl .d{background:var(--dn-bg,rgba(20,120,80,.08));color:var(--dn)}html body .v3-sb .pl .w{background:var(--warn-bg,#fdf3d6);color:var(--warn,#8a5a00)}
html body .v3-sb .nx{font-size:.8125rem;font-weight:700;color:var(--brass,var(--acc));white-space:nowrap}
html body .v3-sb .sp{flex:1}
html body .v3-sb .b{border:1px solid var(--hair);background:var(--card);border-radius:999px;padding:5px 12px;font:inherit;font-size:.875rem;font-weight:700;color:var(--ink);cursor:pointer;white-space:nowrap;text-decoration:none}
html body .v3-sb .b.pr{background:var(--acc);border-color:var(--acc);color:var(--onacc,#fff)}
@media (max-width:760px){html body .v3-sb .pl,html body .v3-sb .nx,html body .v3-sb .b.o{display:none}}
/* A3 文章目錄＋閱讀進度 */
html body .v3-prog{position:fixed;left:0;top:0;height:3px;background:var(--acc);z-index:41;width:0;transition:width .1s linear}
html body .v3-toc{border:1px solid var(--hair);border-radius:8px;background:var(--card);padding:14px 16px;margin:0 0 16px}
html body .v3-toc b{display:block;font-size:.875rem;color:var(--mute);margin:0 0 6px}
html body .v3-toc a{display:block;font-size:.9375rem;line-height:1.5;padding:4px 0 4px 10px;border-left:2px solid transparent;color:var(--ink2);text-decoration:none}
html body .v3-toc a.on{border-left-color:var(--acc);color:var(--ink);font-weight:700}
html body .s4-hd .md-toc{display:none}
html body .v3-tocm{position:sticky;top:calc(var(--rf-top,58px) + 12px);max-height:calc(100vh - 120px);overflow:auto;border:1px solid var(--hair);border-radius:8px;background:var(--card);padding:12px 14px;margin:0 0 16px}
/* A1 公司懸浮卡 */
html body .v3-pop{position:absolute;z-index:60;width:280px;background:var(--card);border:1px solid var(--hair);border-radius:10px;box-shadow:0 8px 24px rgba(0,0,0,.12);padding:12px 14px;font-size:.875rem;line-height:1.5;color:var(--ink2);pointer-events:none}
html body .v3-pop .h{display:flex;align-items:center;gap:8px;margin:0 0 6px}html body .v3-pop .h img{height:22px;max-width:70px;object-fit:contain;background:#fff;border-radius:4px}
html body .v3-pop b{color:var(--ink);font-size:.9375rem}html body .v3-pop .px{margin-left:auto;font-weight:700;font-variant-numeric:tabular-nums}
html body .v3-pop .l{display:flex;gap:6px;flex-wrap:wrap;margin:4px 0}html body .v3-pop .l span{border-radius:999px;padding:1px 8px;background:var(--tint);font-weight:700;font-size:.8125rem}
/* H1／C7 我的追蹤列 */
html body .v3-my{border:1px solid var(--hair);border-radius:10px;background:var(--card);padding:12px 16px;margin:12px 0}
html body .v3-my h3{font:700 1rem/1.3 var(--ui);margin:0 0 8px;display:flex;align-items:center;gap:8px}html body .v3-my h3 a{margin-left:auto;font-size:.875rem;color:var(--acc)}
html body .v3-myr{display:flex;gap:10px;overflow-x:auto;scrollbar-width:none}
html body .v3-myc{flex:0 0 auto;min-width:150px;border:1px solid var(--hair2,var(--hair));border-radius:8px;padding:8px 10px;text-decoration:none;color:var(--ink)}
html body .v3-myc .n{font-weight:700;font-size:.9375rem}html body .v3-myc .p{font-variant-numeric:tabular-nums;font-size:.875rem}html body .v3-myc .s{font-size:.8125rem;color:var(--mute);margin-top:2px}
/* S7 同業疊圖 */
html body .v3-ov{margin:12px 0 0}html body .v3-ovb{border:1px solid var(--hair);background:var(--card);border-radius:999px;padding:5px 14px;font:inherit;font-size:.875rem;font-weight:700;color:var(--acc);cursor:pointer}
html body .v3-ovc{margin:10px 0 0}html body .v3-ovc svg{width:100%;height:auto;display:block}html body .v3-ovl{display:flex;gap:12px;flex-wrap:wrap;font-size:.8125rem;margin:6px 0 0}
html body .v3-ovl i{display:inline-block;width:14px;height:3px;border-radius:2px;margin-right:4px;vertical-align:middle}
/* S8 事件時間軸 */
html body .v3-tl{border:1px solid var(--hair);border-radius:10px;background:var(--card);padding:16px 18px;margin:0 0 20px}
html body .v3-tl h3{font:700 1.0625rem/1.3 var(--ui);margin:0 0 4px}html body .v3-tl .sub{font-size:.8125rem;color:var(--mute);margin:0 0 10px}
html body .v3-tlr{position:relative;display:flex;gap:8px;overflow-x:auto;padding:22px 0 4px;scrollbar-width:thin}
html body .v3-tlr:before{content:"";position:absolute;left:0;right:0;top:12px;height:2px;background:var(--hair2,var(--hair))}
html body .v3-tle{position:relative;flex:0 0 150px;font-size:.8125rem;line-height:1.45;color:var(--ink2)}
html body .v3-tle:before{content:"";position:absolute;top:-15px;left:2px;width:10px;height:10px;border-radius:50%;background:var(--mute)}
html body .v3-tle.f:before{background:var(--brass,var(--acc))}html body .v3-tle.now{flex-basis:70px;font-weight:700;color:var(--acc)}html body .v3-tle.now:before{background:var(--acc);width:4px;height:22px;top:-21px;border-radius:2px;left:4px}
html body .v3-tle b{display:block;color:var(--ink);font-size:.8125rem}html body .v3-tle.f b{color:var(--brass,var(--acc))}
/* S10 手機底部分頁 */
@media (max-width:760px){html body[data-lay=stock] .s4-nav{position:fixed!important;left:0;right:0;bottom:0;top:auto!important;z-index:45;margin:0!important;padding:6px 6px calc(6px + env(safe-area-inset-bottom))!important;background:var(--card)!important;border-top:1px solid var(--hair);border-radius:0!important;justify-content:space-around;box-shadow:0 -2px 8px rgba(0,0,0,.06)}
 html body[data-lay=stock] .s4-nav a{font-size:.8125rem!important;padding:6px 4px!important}
 html body[data-lay=stock]{padding-bottom:56px}html body[data-lay=stock] .ask-fab,html body[data-lay=stock] [class*="ask-float"]{bottom:70px!important}}
/* K1 行事曆篩選 */
html body .v3-kf{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0 14px}html body .v3-kf button{border:1px solid var(--hair);background:var(--card);border-radius:999px;padding:5px 14px;font:inherit;font-size:.875rem;font-weight:700;color:var(--ink2);cursor:pointer}
html body .v3-kf button.on{background:var(--acc);border-color:var(--acc);color:var(--onacc,#fff)}
/* R1–R3 排行榜 */
html body .rk-row{position:relative}
html body .v3-rsp{display:inline-block;width:64px;height:20px;vertical-align:middle;margin-left:6px;flex:none}
html body .v3-rsp polyline{fill:none;stroke-width:1.6}html body .v3-rsp.u polyline{stroke:var(--up)}html body .v3-rsp.d polyline{stroke:var(--dn)}
html body .rk-no{white-space:nowrap}html body .v3-rck{width:15px;height:15px;margin:0 4px 0 0;vertical-align:-2px;accent-color:var(--acc);cursor:pointer}
html body .v3-cmp{position:fixed;left:50%;bottom:16px;transform:translateX(-50%);z-index:50;background:var(--card);border:1px solid var(--hair);border-radius:12px;box-shadow:0 8px 24px rgba(0,0,0,.14);padding:10px 14px;width:min(680px,calc(100vw - 24px))}
html body .v3-cmp .h{display:flex;align-items:center;gap:8px;font-size:.875rem;font-weight:700}html body .v3-cmp .h .x{margin-left:auto;border:0;background:none;font-size:1.1rem;cursor:pointer;color:var(--mute)}
html body .v3-cmp svg{width:100%;height:auto;display:block;margin:6px 0 0}
/* AI 助手 v11 */
html body #askpanel{border-radius:16px;box-shadow:0 12px 32px rgba(0,0,0,.16)}
@media (min-width:641px){html body #askpanel{width:440px}html body #askpanel.v3-wide{width:min(780px,calc(100vw - 48px));left:50%!important;right:auto!important;transform:translateX(-50%)}}
html body #askpanel .hd{gap:8px;flex-wrap:wrap}
html body #askpanel .hd .left{order:2;font:700 .8125rem/1.4 var(--ui);background:var(--warn-bg,#fdf3d6);color:var(--brass,#8a5a00);border-radius:999px;padding:2px 10px}
html body #askpanel .hd .left:empty{display:none}
html body #askpanel .v3-wbtn{border:0;background:none;cursor:pointer;color:var(--mute);font-size:1.05rem;padding:2px 6px}
html body #askpanel .v3-ctx{flex-basis:100%;order:9;display:flex;align-items:center;gap:6px;font:400 .8125rem/1.4 var(--ui);color:var(--mute)}
html body #askpanel .v3-ctx b{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--acc);color:var(--acc);border-radius:999px;padding:2px 10px;font-weight:700}
html body #askpanel .v3-ctx b button{border:0;background:none;color:inherit;cursor:pointer;padding:0;font:inherit}
html body #askpanel .dp{display:inline-flex;align-items:center;gap:0;border:1px solid var(--hair);border-radius:999px;overflow:hidden;font:700 .8125rem/1 var(--ui)}
html body #askpanel .dp input{position:absolute;opacity:0;pointer-events:none}
html body #askpanel .dp:before{content:"一般";padding:5px 10px;background:var(--acc);color:var(--onacc,#fff)}html body #askpanel .dp:after{content:"深度";padding:5px 10px;color:var(--ink2)}
html body #askpanel .dp.on:before{background:none;color:var(--ink2)}html body #askpanel .dp.on:after{background:var(--acc);color:var(--onacc,#fff)}
html body #askpanel .v3-qa{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:10px 0}
html body #askpanel .v3-qa button{text-align:left;border:1px solid var(--hair);background:var(--paper);border-radius:10px;padding:10px 12px;cursor:pointer;font:inherit}
html body #askpanel .v3-qa button b{display:block;font:700 .9375rem/1.4 var(--ui);color:var(--ink)}html body #askpanel .v3-qa button span{font:400 .8125rem/1.4 var(--ui);color:var(--mute)}
html body #askpanel .v3-qa button:hover{border-color:var(--acc)}
html body #askpanel .tip .ex button{border-radius:999px}
html body #askpanel .m.a{border-radius:14px}
html body #askpanel .m.a .src a{display:block;border:1px solid var(--hair);border-radius:8px;padding:7px 10px;margin:6px 0 0;background:var(--card);text-decoration:none}
html body #askpanel .m.a .src a:hover{border-color:var(--acc)}
html body #askpanel .m.a .nx button{border-radius:999px}
html body #askpanel .v3-act{display:inline-flex;gap:12px;margin-left:12px}html body #askpanel .v3-act button{border:0;background:none;cursor:pointer;color:var(--mute);font:700 .8125rem/1 var(--ui);padding:0}
html body #askpanel .v3-ac{position:absolute;left:12px;right:12px;bottom:calc(100% + 4px);background:var(--card);border:1px solid var(--hair);border-radius:10px;box-shadow:0 6px 18px rgba(0,0,0,.12);overflow:hidden;z-index:2}
html body #askpanel .v3-ac button{display:block;width:100%;text-align:left;border:0;background:none;padding:8px 12px;font:inherit;font-size:.9375rem;cursor:pointer;color:var(--ink)}
html body #askpanel .v3-ac button:hover,html body #askpanel .v3-ac button.on{background:var(--tint)}
html body #askpanel .ft{position:relative}
/* N3 上次看到這裡 */
html body .v3-seen{grid-column:1/-1;display:flex;align-items:center;gap:10px;font-size:.875rem;font-weight:700;color:var(--acc);margin:6px 0}
html body .v3-seen:before,html body .v3-seen:after{content:"";flex:1;height:1px;background:var(--acc);opacity:.4}
html body .v3-new{display:inline-block;font-size:.8125rem;font-weight:700;color:var(--onacc,#fff);background:var(--acc);border-radius:999px;padding:1px 8px;margin-left:8px}
html body .v3-mine{border:1px solid var(--hair);background:var(--card);border-radius:999px;padding:6px 14px;font:inherit;font-size:.9375rem;font-weight:700;color:var(--acc);cursor:pointer;margin:0 0 10px}
html body .v3-mine.on{background:var(--acc);color:var(--onacc,#fff);border-color:var(--acc)}
html body .v3-hide{display:none!important}
/* K3 加入行事曆 */
html body .v3-ics{font-size:.8125rem;font-weight:700;color:var(--acc);margin-left:8px;white-space:nowrap;cursor:pointer;text-decoration:none}
/* H2 休市日 */
html body .v3-hol{display:flex;flex-wrap:wrap;gap:6px 14px;align-items:center;border:1px solid var(--hair);border-left:4px solid var(--brass,var(--acc));border-radius:8px;background:var(--card);padding:12px 16px;margin:12px 0}
html body .v3-hol b{font-size:1rem}html body .v3-hol span{color:var(--ink2);font-size:.9375rem}html body .v3-hol a{font-weight:700;color:var(--acc)}
/* T2 公司卡排序 */
html body .v3-sort{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin:8px 0 12px;font-size:.875rem;color:var(--mute)}
html body .v3-sort button{border:1px solid var(--hair);background:var(--card);border-radius:999px;padding:4px 12px;font:inherit;font-weight:700;color:var(--ink2);cursor:pointer}
html body .v3-sort button.on{background:var(--acc);border-color:var(--acc);color:var(--onacc,#fff)}
/* C6 收合 */
html body .v3-fold{max-height:760px;overflow:hidden;position:relative}
html body .v3-fold:after{content:"";position:absolute;left:0;right:0;bottom:0;height:80px;background:linear-gradient(transparent,var(--card))}
html body .v3-more{display:block;width:100%;margin:8px 0 0;border:1px solid var(--hair);background:var(--card);border-radius:8px;padding:8px;font:inherit;font-weight:700;color:var(--acc);cursor:pointer}
html body .v3-empty{color:var(--mute);font-size:.9375rem}
