/* R14 2026-11-02：單一淡藍走勢浮窗；固定定位並由 JS 限制在可見畫面內。 */
#stock-tooltip{position:fixed;z-index:2147483000;box-sizing:border-box;width:354px;max-width:calc(100vw - 16px);padding:12px;border:1px solid #a8c9e8;border-radius:10px;background:#eff7ff;color:#17364e;box-shadow:0 6px 24px #203f5c33;font:14px/1.5 system-ui,sans-serif;overflow:auto;overflow-wrap:anywhere;text-align:left}
#stock-tooltip[hidden]{display:none!important}
#stock-tooltip .st-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}
#stock-tooltip .st-heading strong{font-size:16px;min-width:0}
#stock-tooltip .st-close{flex:0 0 32px;width:32px;height:32px;padding:0;border:1px solid #aac8e4;border-radius:6px;background:#fff;color:#325670;font-size:22px;cursor:pointer}
#stock-tooltip .st-price{font-size:20px;font-weight:700}
#stock-tooltip .st-meta{font-size:12px;color:#49657b}
#stock-tooltip .st-up{color:#c63339;stroke:#c63339}
#stock-tooltip .st-down{color:#17834c;stroke:#17834c}
#stock-tooltip .st-flat{color:#52697a;stroke:#52697a}
#stock-tooltip svg{display:block;width:100%;height:auto;margin:6px 0 0;background:#fff;border-radius:5px}
#stock-tooltip polyline{fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}
#stock-tooltip .st-range{display:flex;justify-content:space-between;gap:8px;font-size:11px;color:#49657b}
#stock-tooltip .st-link{display:inline-block;margin-top:8px;color:#145eaa;text-decoration:underline}
#stock-tooltip .st-stale{padding:4px 6px;margin-top:4px;background:#fff4d8;border-radius:4px;color:#765318;font-size:12px}
#stock-tooltip .st-insufficient{padding:28px 8px;margin:8px 0;border:1px solid #bfc6ce;background:#edf0f3;border-radius:6px;color:#68717a;text-align:center}
