*{box-sizing:border-box;margin:0;padding:0}html,body,#app{height:100%}body{font-family:system-ui,-apple-system,PingFang SC,sans-serif;color:#2a2e39;background:#fff;overflow:hidden}#app{display:grid;grid-template-columns:minmax(0,1fr) 5px var(--sidebar, 400px);height:100vh;overflow:hidden}#resizer{background:#e0e3eb;cursor:col-resize}#resizer:hover{background:#2962ff}#wl-toggle,#wl-backdrop{display:none}@media(max-width:768px){#app{grid-template-columns:1fr}#resizer{display:none}#wl-toggle{display:flex;align-items:center;justify-content:center;position:fixed;top:8px;right:8px;z-index:30;width:40px;height:40px;border:1px solid #e0e3eb;border-radius:8px;background:#fff;font-size:18px;color:#2a2e39;box-shadow:0 1px 4px #0000001f}#right{position:fixed;top:0;right:0;height:100%;width:min(90vw,380px);z-index:25;transform:translate(100%);transition:transform .25s ease;box-shadow:-4px 0 16px #00000026;border-left:1px solid #e0e3eb}#app.wl-open #right{transform:translate(0)}#app.wl-open #wl-backdrop{display:block;position:fixed;top:0;right:0;bottom:0;left:0;z-index:24;background:#00000059}}#left{display:grid;grid-template-rows:auto 1fr;min-width:0;overflow:hidden}#chart-header{display:flex;align-items:baseline;gap:12px;padding:10px 14px;font-size:13px;border-bottom:1px solid #f0f3fa;flex-wrap:wrap}.h-name{font-weight:700;font-size:15px}.h-code{color:#787b86}.h-ohlc b{color:#2a2e39}.h-ohlc{color:#787b86}#chart{min-height:0;min-width:0;overflow:hidden}#right{display:flex;flex-direction:column;min-height:0;min-width:0;overflow:hidden;background:#fff}.wl-title{display:flex;justify-content:space-between;align-items:center;padding:12px 14px;font-weight:700;font-size:15px;border-bottom:1px solid #f0f3fa}.wl-controls{display:flex;align-items:center;gap:6px}.wl-controls select{max-width:130px;height:26px;border:1px solid #e0e3eb;border-radius:6px;background:#fff;color:#2a2e39;font-size:12px;padding:0 4px;cursor:pointer}.wl-title button{border:none;background:#f0f3fa;border-radius:6px;width:26px;height:26px;cursor:pointer;font-size:14px;color:#5d606b;flex:0 0 auto}.wl-title button:hover{background:#e3e7f0}.wl-tag{flex:0 0 auto;font-size:10px;color:#5d606b;background:#f0f3fa;border-radius:4px;padding:1px 5px;white-space:nowrap}#watchlist{overflow-y:auto;flex:1 1 auto;min-height:0;font-size:13px}.wl-head,.wl-row{display:grid;grid-template-columns:minmax(0,1fr) 52px 54px 48px 60px 50px;align-items:center;padding:6px 10px;gap:3px}.wl-head{color:#9598a1;font-size:11px;text-transform:uppercase;border-bottom:1px solid #f0f3fa}.wl-head>div:not(:first-child),.wl-row>div:not(.wl-sym){text-align:right}.wl-num{font-variant-numeric:tabular-nums;white-space:nowrap}.wl-sortable{cursor:pointer;-webkit-user-select:none;user-select:none}.wl-sortable:hover{color:#2962ff}.wl-sortable.on{color:#2962ff;font-weight:700}.wl-section{padding:8px 14px 4px;font-size:11px;font-weight:700;color:#9598a1;letter-spacing:.04em}.wl-row{cursor:pointer;border-left:2px solid transparent}.wl-row:hover{background:#f7f9fd}.wl-row.active{background:#eef3fb;border-left-color:#2962ff}.wl-row.sqz{background:#f7a54a1f}.wl-sym{display:flex;align-items:center;gap:6px;min-width:0;overflow:hidden}.wl-name{font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.wl-head>div,.wl-row>div{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.badge.sqz{width:8px;height:8px;border-radius:50%;background:#f7a54a;display:inline-block}.badge.new{background:#f7a54a;color:#fff;font-size:9px;font-weight:700;padding:1px 4px;border-radius:4px}.up{color:#15a35b}.down{color:#e0384f}#detail{border-top:1px solid #f0f3fa;padding:14px;font-size:13px;flex:0 0 auto}.d-title{font-weight:700;font-size:15px}.d-code{color:#9598a1;font-weight:400;font-size:12px}.d-sub{color:#787b86;font-size:12px;margin:2px 0 8px}.d-price{font-size:24px;font-weight:700}.d-cny{font-size:12px;color:#9598a1;font-weight:400}.d-chg{font-size:13px;margin-bottom:8px}.d-stats{display:flex;gap:16px;font-size:12px;color:#5d606b;margin-bottom:8px}.d-stats span{font-variant-numeric:tabular-nums}.d-sqz{font-size:12px;color:#5d606b}.tag{padding:2px 8px;border-radius:4px;font-size:11px;font-weight:700}.tag.sqz{background:#f7a54a33;color:#c47512}.tag.new{background:#f7a54a;color:#fff}.tag.none{background:#f0f3fa;color:#9598a1}
