/* 自选工作台：统一桌面与移动端表格，保留全站主题和股票卡片。 */
body.wl-v2 [hidden] { display:none !important; }
body.wl-v2 .content { max-width:none; }
body.wl-v2 .wl-head { margin-bottom:12px; }
body.wl-v2 .wl-head h1 { font-size:24px; }
body.wl-v2 .wl-head p { font-size:13px; }
body.wl-v2 .wl-view-tabs, body.wl-v2 .wl-mobile-groups, body.wl-v2 .wl-sub-tabs { display:flex; gap:6px; overflow-x:auto; border-bottom:1px solid var(--line); margin-bottom:16px; padding:0 0 1px; }
body.wl-v2 .wl-view-tabs button, body.wl-v2 .wl-mobile-groups button, body.wl-v2 .wl-sub-tabs button { flex-shrink:0; border:0; border-bottom:2px solid transparent; border-radius:6px 6px 0 0; padding:12px 16px; background:transparent; color:var(--muted); cursor:pointer; font-size:13px; font-weight:600; font-family:inherit; }
body.wl-v2 .wl-view-tabs button.active, body.wl-v2 .wl-mobile-groups button.active, body.wl-v2 .wl-sub-tabs button.active { color:var(--blue); border-bottom-color:var(--blue); background:var(--blue-soft); }
body.wl-v2 .wl-view-tabs span, body.wl-v2 .wl-mobile-groups small { margin-left:8px; font-size:11px; }
body.wl-v2 .wl-assistant { display:flex; align-items:center; gap:16px; padding:18px 22px; margin:0 0 20px; border:1px solid #eadab8; border-radius:12px; background:linear-gradient(105deg,#fffaf0,#fff 60%,#fcf5e4); }
body.wl-v2 .wl-assistant-icon { display:grid; place-items:center; width:44px; height:44px; border-radius:13px; background:#e8b344; color:#503915; font-size:23px; }
body.wl-v2 .wl-assistant small { display:block; color:#9a732c; font-size:11px; margin-bottom:3px; }
body.wl-v2 .wl-assistant strong { font-size:15px; }
body.wl-v2 .wl-assistant p { margin:4px 0 0; font-size:12px; color:#887a65; }
body.wl-v2 .wl-assistant>button { margin-left:auto; flex-shrink:0; }
body.wl-v2 .wl-selected-group,body.wl-v2 .wl-sub-caption { display:flex; align-items:center; gap:10px; font-size:12px; color:var(--muted); margin:12px 0; }
body.wl-v2 .wl-selected-group span,body.wl-v2 .wl-sub-caption span { margin-right:auto; }
body.wl-v2 .wl-sub-caption small { display:block; font-size:11px; margin-top:4px; }
body.wl-v2 .wl-table-scroll { overflow:auto; background:var(--card); border:1px solid var(--line); border-radius:10px; min-height:220px; }
body.wl-v2 .wl-market-table { border-collapse:separate; border-spacing:0; width:100%; font-size:12px; white-space:nowrap; }
body.wl-v2 .wl-market-table th { background:var(--card-soft); padding:13px 15px; text-align:right; color:var(--muted); font-weight:500; border-bottom:1px solid var(--line); }
body.wl-v2 .wl-market-table th button { border:0; background:none; color:inherit; font:inherit; cursor:pointer; padding:0; }
body.wl-v2 .wl-market-table td { padding:17px 15px; text-align:right; border-bottom:1px solid var(--line); font-variant-numeric:tabular-nums; }
body.wl-v2 .wl-market-table tr:last-child td { border-bottom:0; }
body.wl-v2 .wl-market-table tbody tr:hover { background:var(--card-soft); }
body.wl-v2 .wl-market-table th:first-child,body.wl-v2 .wl-stock-cell { text-align:left; position:sticky; left:0; z-index:2; background:var(--card); min-width:165px; max-width:210px; }
body.wl-v2 .wl-stock-cell b { font-size:14px; font-weight:650; }
body.wl-v2 .wl-stock-cell small { display:block; font-size:10px; color:var(--muted); max-width:180px; overflow:hidden; text-overflow:ellipsis; margin-top:4px; }
body.wl-v2 .wl-market-table .wl-kline-svg,body.wl-v2 .wl-market-table .wl-trend-svg { display:block; width:132px; height:44px; }
body.wl-v2 .wl-market-table .wl-trend-svg { height:68px; }
body.wl-v2 .wl-kline-svg .up { fill:var(--card); stroke:var(--red); }
body.wl-v2 .wl-kline-empty { display:block; }
body.wl-v2 .wl-range { position:relative; width:85px; height:4px; border-radius:4px; background:#e5e9ef; margin:8px 0; }
body.wl-v2 .wl-range i { position:absolute; width:8px; height:8px; background:var(--red); border-radius:50%; top:-2px; transform:translateX(-50%); }
body.wl-v2 .wl-field-range small { font-size:10px; color:var(--muted); }
body.wl-v2 .wl-manage { display:none; gap:6px; margin-top:8px; }
body.wl-v2 .wl-row-open .wl-manage { display:flex; flex-wrap:wrap; width:180px; }
body.wl-v2 .wl-row-actions button,body.wl-v2 .wl-manage select,body.wl-v2 .wl-selected-group button,body.wl-v2 .wl-sub-caption button,body.wl-v2 .wl-pagination button { padding:5px 8px; border:1px solid var(--line); background:var(--card); border-radius:5px; color:var(--text-2); cursor:pointer; font-size:11px; }
body.wl-v2 button:disabled { opacity:.5; cursor:default; }
body.wl-v2 .wl-pet { margin-top:28px; box-shadow:none; }
body.wl-v2 .wl-field-settings:not([hidden]) { display:block; padding:18px; border:1px solid var(--line); border-radius:10px; margin-bottom:16px; background:var(--card); }
body.wl-v2 .wl-field-settings header,body.wl-v2 .wl-field-settings footer { display:flex; justify-content:space-between; gap:12px; }
body.wl-v2 .wl-field-settings header small { margin-left:12px; color:var(--muted); }
body.wl-v2 .wl-field-settings-list { display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:8px; margin:16px 0; max-height:300px; overflow:auto; }
body.wl-v2 .wl-field-setting-row { display:flex; justify-content:space-between; padding:7px; background:var(--card-soft); font-size:12px; }
body.wl-v2 .wl-field-setting-row span { margin:0 6px; color:var(--muted); }
body.wl-v2 .wl-sub-toolbar { display:flex; align-items:center; justify-content:space-between; margin-bottom:16px; }
body.wl-v2 .wl-sub-toolbar h2 { font-size:18px; margin:0; }
body.wl-v2 .wl-sub-toolbar p { font-size:12px; color:var(--muted); margin:6px 0; }
body.wl-v2 .wl-sub-empty { padding:60px 20px; text-align:center; background:var(--card); border:1px solid var(--line); border-radius:12px; }
body.wl-v2 .wl-sub-empty>span { color:var(--blue); font-size:36px; }
body.wl-v2 .wl-sub-empty h3 { font-size:17px; }
body.wl-v2 .wl-sub-empty p { color:var(--muted); font-size:13px; margin-bottom:24px; }
body.wl-v2 .wl-pagination { display:flex; justify-content:center; gap:18px; align-items:center; padding:16px; font-size:12px; }
.wl-sub-dialog { width:min(660px,calc(100vw - 28px)); max-height:85vh; box-sizing:border-box; border:1px solid var(--line); border-radius:16px; padding:24px; background:var(--card,#fff); color:var(--text,#25314a); }
.wl-sub-dialog::backdrop { background:rgba(19,32,50,.3); backdrop-filter:blur(3px); }
.wl-sub-dialog>header { display:flex; justify-content:space-between; align-items:center; }
.wl-sub-dialog h2 { font-size:21px; margin:4px 0; }
.wl-sub-dialog header small { color:var(--muted); font-size:11px; }
.wl-sub-dialog header button { border:0; background:transparent; color:inherit; font-size:26px; cursor:pointer; }
.wl-sub-dialog>p { font-size:12px; color:var(--muted); }
.wl-sub-dialog>input { width:100%; box-sizing:border-box; border:1px solid var(--line); padding:11px 12px; border-radius:7px; background:var(--card-soft); color:inherit; }
.wl-catalog-section h3 { font-size:13px; font-weight:500; margin:22px 0 10px; color:var(--muted); }
.wl-sub-option { display:flex; gap:14px; align-items:center; padding:16px; margin:9px 0; border:1px solid var(--line); border-radius:10px; }
.wl-sub-option>div { flex:1; min-width:0; }
.wl-sub-option b { font-size:14px; }
.wl-sub-option p { margin:5px 0; font-size:12px; color:var(--muted); line-height:1.5; }
.wl-sub-option small { font-size:11px; color:var(--blue); }
.wl-sub-icon { display:grid; place-items:center; flex-shrink:0; width:40px; height:40px; border-radius:11px; background:#ffedef; color:#e6505d; font-size:20px; }
.wl-sub-icon[data-category="连板梯队"] { background:#f0eaff; color:#9360d7; }
.wl-sub-icon[data-category="排行榜"] { background:#e9f3ff; color:#4284df; }
.wl-sub-icon[data-category="断板"] { background:#eaf6ee; color:#35906b; }
.wl-sub-option>button { padding:7px 11px; border:0; border-radius:6px; background:var(--blue,#2879de); color:#fff; font-size:12px; white-space:nowrap; cursor:pointer; }
.wl-sub-option>button:disabled,.wl-sub-option>button.is-subscribed { color:var(--muted); background:var(--card-soft); }
@media(max-width:700px) {
 body.wl-v2 .wl-assistant { padding:14px; gap:10px; }
 body.wl-v2 .wl-assistant>button { font-size:11px; padding:6px; }
 body.wl-v2 .wl-assistant p { display:none; }
 body.wl-v2 .wl-head { align-items:flex-start; }
 body.wl-v2 .wl-controls { flex-wrap:wrap; }
 body.wl-v2 .wl-market-table td { padding:12px 10px; }
 body.wl-v2 .wl-market-table th:first-child,body.wl-v2 .wl-stock-cell { min-width:128px; max-width:150px; }
 .wl-sub-dialog { padding:16px; }
 .wl-sub-option { padding:12px; gap:9px; }
 .wl-sub-icon { width:30px; height:30px; font-size:16px; }
}
.yp-m body.wl-v2.workspace-feature-watch .wl-add:not([hidden]) { display:block !important; }
.yp-m body.wl-v2.workspace-feature-watch .wl-controls { flex-wrap:wrap; justify-content:flex-end; }
.yp-m body.wl-v2.workspace-feature-watch .wl-field-settings:not([hidden]) { display:flex; }
body.wl-v2 #settingsBtn, body.wl-v2 #addGroupBtn, body.wl-v2 #refreshBtn, body.wl-v2 #assistantBtn { color:var(--text-2,#42566f) !important; }
body.wl-v2 .wl-market-table td.wl-stock-cell { text-align:left !important; }
body.wl-v2 #subscriptionDialog { margin:auto; inset:0; }

body.wl-v2 .wl-market-table .wl-field-price, body.wl-v2 .wl-market-table .wl-field-pct { font-size:15px; font-weight:650; }
body.wl-v2 .wl-market-table th { box-sizing:border-box; }

body.wl-v2 .wl-market-table th .wl-thumbnail-switch { cursor:pointer; }
body.wl-v2 .wl-thumbnail-switch .active { color:var(--blue); font-weight:650; }
body.wl-v2 .wl-thumbnail-switch:focus-visible { outline:2px solid var(--blue); outline-offset:4px; }
body.wl-v2 .wl-chart-date { display:block; margin-top:3px; color:var(--muted); font-size:10px; text-align:center; }

body.wl-v2 .wl-mobile-groups .wl-group-add { font-size:22px; padding:7px 14px; font-weight:400; }
.wl-create-tabs { display:flex; gap:8px; margin:18px 0; border-bottom:1px solid var(--line); }
.wl-create-tabs button { padding:10px 16px; border:0; border-bottom:2px solid transparent; background:transparent; color:var(--muted); font:inherit; cursor:pointer; }
.wl-create-tabs button.active { color:var(--blue); border-bottom-color:var(--blue); }
#createGroupForm { display:flex; flex-direction:column; gap:14px; padding:10px 0; }
#createGroupForm input, #subscriptionSearch { box-sizing:border-box; width:100%; padding:11px 12px; border:1px solid var(--line); border-radius:7px; background:var(--card-soft); color:inherit; font:inherit; }
#createGroupForm .btn { align-self:flex-end; }
#quickGroupOptions>p { font-size:12px; color:var(--muted); line-height:1.6; }

/* 列表与两列、三列行情宫格共用数据及图表模式。 */
.wl-layout-picker { position:relative; text-align:left; display:inline-block; color:var(--muted); font-size:12px; font-weight:500; }
.wl-layout-picker summary { cursor:pointer; list-style:none; padding:5px 0; }
.wl-layout-picker summary::-webkit-details-marker { display:none; }
.wl-layout-picker[open] { z-index:8; }
.wl-layout-options { position:absolute; top:100%; left:0; z-index:8; min-width:140px; padding:6px; border:1px solid var(--line); border-radius:8px; background:var(--card); box-shadow:0 5px 18px #0002; }
body.wl-v2 .wl-layout-options button { display:flex; align-items:center; gap:10px; width:100%; text-align:left; padding:10px; border:0; border-radius:4px; font:inherit; background:transparent; color:var(--text); cursor:pointer; }
body.wl-v2 .wl-layout-options button[aria-pressed="true"] { background:#f3f4f6; color:var(--text); }
.wl-grid-view { border:1px solid var(--line); border-radius:10px; background:var(--card); }
.wl-grid-toolbar { display:flex; align-items:center; gap:24px; padding:12px 16px; border-bottom:1px solid var(--line); background:var(--card-soft); border-radius:10px 10px 0 0; }
.wl-grid-toolbar>button { border:0; background:transparent; color:var(--muted); font:inherit; font-size:12px; cursor:pointer; }
.wl-grid-toolbar>button:last-child { margin-left:auto; }
.wl-stock-grid { display:grid; }
.wl-stock-grid.grid2 { grid-template-columns:repeat(2,minmax(0,1fr)); }
.wl-stock-grid.grid3 { grid-template-columns:repeat(3,minmax(0,1fr)); }
.wl-stock-grid.grid4 { grid-template-columns:repeat(4,minmax(0,1fr)); }
.wl-grid-card { min-width:0; padding:14px; border-right:1px solid var(--line); border-bottom:1px solid var(--line); }
.grid2 .wl-grid-card:nth-child(2n),.grid3 .wl-grid-card:nth-child(3n),.grid4 .wl-grid-card:nth-child(4n) { border-right:0; }
.wl-grid-card>header { display:flex; flex-wrap:wrap; gap:8px; justify-content:space-between; align-items:center; margin-bottom:10px; }
.wl-grid-card .stock-board-link { text-align:left; min-width:0; color:var(--text); }
.wl-grid-card .stock-board-link b { font-size:15px; }
.wl-grid-card .stock-board-link small { display:block; color:var(--muted); font-size:10px; margin-top:3px; }
.wl-grid-quote { display:flex; align-items:center; gap:10px; font-size:14px; font-variant-numeric:tabular-nums; }
body.wl-v2 .wl-grid-card .wl-field-pct>span { background:transparent; color:inherit; min-width:0; padding:0; }
body.wl-v2 .wl-grid-card .wl-field-pct>.wl-up { color:var(--red); }
body.wl-v2 .wl-grid-card .wl-field-pct>.wl-down { color:#0f9d76; }
body.wl-v2 .wl-grid-card .wl-field-trend { height:190px; }
body.wl-v2 .wl-grid-card .wl-trend-svg,body.wl-v2 .wl-grid-card .wl-kline-svg { display:block; width:100%; height:170px; }
.wl-grid-card .wl-trend-empty { display:grid; place-items:center; height:170px; color:var(--muted); }
.wl-grid-card>footer { display:flex; align-items:center; justify-content:space-between; gap:8px; margin-top:6px; color:var(--muted); font-size:10px; }
.wl-grid-card>footer button { border:1px solid var(--line); border-radius:4px; padding:3px 6px; background:transparent; color:var(--muted); font-size:10px; cursor:pointer; }
@media(max-width:700px) {
 .wl-grid-card { padding:9px 6px; }
 .wl-grid-card .stock-board-link b { font-size:12px; }
 .wl-grid-quote { font-size:11px; gap:5px; flex-wrap:wrap; }
 .wl-grid-toolbar { gap:12px; padding:10px 8px; }
 body.wl-v2 .wl-grid-card .wl-field-trend { height:124px; }
 body.wl-v2 .wl-grid-card .wl-trend-svg,body.wl-v2 .wl-grid-card .wl-kline-svg,.wl-grid-card .wl-trend-empty { height:104px; }
}
body.wl-v2 .wl-market-table thead th:first-child { z-index:9; }

body.wl-v2 .wl-grid-view,body.wl-v2 .wl-grid-toolbar,body.wl-v2 .wl-grid-card,body.wl-v2 .wl-layout-options { background:#fff; }
body.wl-v2 .wl-trend-svg .line { stroke-width:1; vector-effect:non-scaling-stroke; }
body.wl-v2 .wl-trend-svg line { stroke-width:1; vector-effect:non-scaling-stroke; }
.wl-layout-icon { display:block; flex:0 0 18px; width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:1; }
@media(max-width:700px) {
 .grid4 .wl-grid-card .stock-board-link b { font-size:11px; }
 .grid4 .wl-grid-card>header { min-height:64px; }
 .grid4 .wl-grid-quote { gap:3px; font-size:10px; }
 .grid4 .wl-grid-card .stock-board-link { overflow-wrap:anywhere; }
}

body.wl-v2 .wl-quote-status:empty { display:none; }
body.wl-v2 .wl-grid-card>footer:not(:has(button)):has(.wl-quote-status:empty) { display:none; }

body.wl-v2 .wl-stock-meta { display:flex; align-items:center; flex-wrap:wrap; gap:6px; margin-top:6px; }
body.wl-v2 .wl-stock-code,body.wl-v2 .wl-grid-card .stock-board-link .wl-stock-code { font-size:13px; font-weight:500; color:var(--muted); font-variant-numeric:tabular-nums; letter-spacing:.2px; }
body.wl-v2 .wl-concept-badge { display:inline-block; max-width:120px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; padding:2px 6px; border-radius:4px; background:#fff0df; color:#ad5c13; font-size:11px; font-weight:600; line-height:1.5; }

body.wl-v2 .wl-preview-note { display:block; color:var(--muted); font-size:11px; font-weight:400; text-align:right; }

/* Same 148 × 62 preview canvas as the ladder list. */
body.wl-v2 .wl-preview { position:relative; width:148px; height:62px; display:flex; align-items:center; justify-content:center; color:#a0a9b5; font-size:10px; }
body.wl-v2 .wl-ladder-preview { display:block; width:148px; height:62px; flex:none; }
body.wl-v2 .wl-preview .wl-preview-note { position:absolute; bottom:-8px; right:0; font-size:9px; color:#929baa; }
body.wl-v2 .wl-grid-card .wl-preview { width:100%; height:100%; }
body.wl-v2 .wl-grid-card .wl-ladder-preview { width:100%; height:100%; }
/* Grid previews stretch the SVG viewport; keep strokes at their original pixel width. */
body.wl-v2 .wl-grid-card .wl-ladder-preview :is(path,line,polyline,rect) { vector-effect:non-scaling-stroke; }
body.wl-v2 .wl-preview .wl-trend-empty { height:auto; }

/* 手机自选：名称、走势、价格和涨幅优先；其余指标保留横向滚动。 */
@media(max-width:880px) {
 body.wl-v2[data-desktop-page="watchlist"] .wlp-page-tabs { gap:0; justify-content:space-between; padding:0 4px; }
 body.wl-v2[data-desktop-page="watchlist"] .wlp-page-tabs button { padding:12px 8px 10px; font-size:13px; font-weight:500; }
 body.wl-v2.workspace-feature-watch[data-desktop-page="watchlist"] #groupNav .wl-mobile-groups { gap:6px; margin:0; padding:10px 4px; border-bottom:0; }
 body.wl-v2.workspace-feature-watch[data-desktop-page="watchlist"] #groupNav .wl-mobile-groups button { display:inline-flex; align-items:center; gap:5px; min-height:32px !important; padding:5px 10px !important; border:0 !important; border-radius:6px !important; background:transparent; font-size:12px !important; font-weight:500; color:#626975; }
 body.wl-v2.workspace-feature-watch[data-desktop-page="watchlist"] #groupNav .wl-mobile-groups button.active { background:#fff0f1; color:#d92d32; }
 body.wl-v2.workspace-feature-watch[data-desktop-page="watchlist"] #groupNav .wl-mobile-groups small { margin:0; font-size:11px; font-weight:400; opacity:.75; }
 body.wl-v2.workspace-feature-watch[data-desktop-page="watchlist"] #groupNav .wl-mobile-groups .wl-group-add { width:32px; justify-content:center; font-size:19px !important; }
 body.wl-v2.workspace-feature-watch[data-desktop-page="watchlist"] :is(#listWrap,#subscriptionWrap) { border:0; border-radius:0; box-shadow:none; }
 body.wl-v2.workspace-feature-watch[data-desktop-page="watchlist"] :is(#listWrap,#subscriptionWrap) .wl-table-scroll { border:0; border-top:1px solid #e9ebef; border-radius:0; scrollbar-width:thin; }
 body.wl-v2.workspace-feature-watch[data-desktop-page="watchlist"] :is(#listWrap,#subscriptionWrap) .wl-market-table { width:max-content; min-width:100%; color:#303641; border:0 !important; border-radius:0 !important; box-shadow:none !important; }
 body.wl-v2.workspace-feature-watch[data-desktop-page="watchlist"] :is(#listWrap,#subscriptionWrap) .wl-market-table th { height:38px; padding:6px; background:#fff; font-size:11px !important; font-weight:400; border-color:#edf0f3; }
 body.wl-v2.workspace-feature-watch[data-desktop-page="watchlist"] :is(#listWrap,#subscriptionWrap) .wl-market-table td { box-sizing:border-box; height:76px; padding:8px 6px; border-color:#edf0f3; font-size:13px; }
 body.wl-v2.workspace-feature-watch[data-desktop-page="watchlist"] :is(#listWrap,#subscriptionWrap) .wl-market-table :is(th:first-child,.wl-stock-cell) { box-sizing:border-box; width:104px; min-width:104px; max-width:104px; padding-left:8px; padding-right:6px; }
 body.wl-v2.workspace-feature-watch[data-desktop-page="watchlist"] :is(#listWrap,#subscriptionWrap) .wl-stock-link { display:block; width:100%; text-align:left; }
 body.wl-v2.workspace-feature-watch[data-desktop-page="watchlist"] :is(#listWrap,#subscriptionWrap) .wl-stock-link b { display:block; font-size:14px; line-height:20px; font-weight:500; color:#303641; }
 body.wl-v2.workspace-feature-watch[data-desktop-page="watchlist"] :is(#listWrap,#subscriptionWrap) .wl-stock-meta { gap:3px 5px; margin-top:3px; }
 body.wl-v2.workspace-feature-watch[data-desktop-page="watchlist"] :is(#listWrap,#subscriptionWrap) .wl-stock-code { font-size:11px; font-weight:400; color:#9299a4; }
 body.wl-v2.workspace-feature-watch[data-desktop-page="watchlist"] :is(#listWrap,#subscriptionWrap) .wl-concept-badge { max-width:88px; padding:0 4px; border-radius:3px; background:#f6f3ee; color:#8d7557; font-size:10px; line-height:16px; font-weight:400; }
 body.wl-v2.workspace-feature-watch[data-desktop-page="watchlist"] :is(#listWrap,#subscriptionWrap) .wl-market-table :is(.wl-heading-trend,.wl-field-trend) { width:88px; min-width:88px !important; max-width:88px; text-align:center; }
 body.wl-v2.workspace-feature-watch[data-desktop-page="watchlist"] :is(#listWrap,#subscriptionWrap) .wl-market-table .wl-preview,body.wl-v2.workspace-feature-watch[data-desktop-page="watchlist"] :is(#listWrap,#subscriptionWrap) .wl-market-table .wl-ladder-preview { width:76px; height:44px; }
 body.wl-v2.workspace-feature-watch[data-desktop-page="watchlist"] :is(#listWrap,#subscriptionWrap) .wl-thumbnail-switch { font-size:11px; white-space:nowrap; }
 body.wl-v2.workspace-feature-watch[data-desktop-page="watchlist"] :is(#listWrap,#subscriptionWrap) .wl-thumbnail-switch .active { color:#d92d32; font-weight:500; }
 body.wl-v2.workspace-feature-watch[data-desktop-page="watchlist"] :is(#listWrap,#subscriptionWrap) .wl-market-table :is(.wl-heading-price,.wl-field-price) { width:70px; min-width:70px !important; }
 body.wl-v2.workspace-feature-watch[data-desktop-page="watchlist"] :is(#listWrap,#subscriptionWrap) .wl-market-table :is(.wl-heading-pct,.wl-field-pct) { width:76px; min-width:76px !important; }
 body.wl-v2.workspace-feature-watch[data-desktop-page="watchlist"] :is(#listWrap,#subscriptionWrap) .wl-market-table :is(.wl-field-price,.wl-field-pct) { font-size:14px !important; font-weight:500; }
 body.wl-v2.workspace-feature-watch[data-desktop-page="watchlist"] :is(#listWrap,#subscriptionWrap) :is(.wl-up,.wl-down,.wl-flat) { font-weight:500; }
 body.wl-v2.workspace-feature-watch[data-desktop-page="watchlist"] :is(#listWrap,#subscriptionWrap) .wl-market-table th > button,body.wl-v2.workspace-feature-watch[data-desktop-page="watchlist"] :is(#listWrap,#subscriptionWrap) .wl-layout-picker summary { min-height:28px !important; line-height:20px; padding:4px 0; }
 body.wl-v2.workspace-feature-watch[data-desktop-page="watchlist"] :is(#listWrap,#subscriptionWrap) .wl-layout-picker { font-size:12px; }
 body.wl-v2.workspace-feature-watch[data-desktop-page="watchlist"] :is(#listWrap,#subscriptionWrap) .wl-layout-options button { min-height:36px; font-size:12px; }
 body.wl-v2.workspace-feature-watch[data-desktop-page="watchlist"] :is(#listWrap,#subscriptionWrap) .wl-layout-options button[aria-pressed="true"] { background:#fff0f1; color:#d92d32; }
 body.wl-v2.workspace-feature-watch[data-desktop-page="watchlist"] :is(#listWrap,#subscriptionWrap) .wl-layout-options button:hover { background:#f5f6f8; }
}

/* Keep the chosen watchlist columns despite the site's generic mobile .grid2 rule. */
@media(max-width:880px) {
 body.wl-v2 :is(#listWrap,#subscriptionWrap) .wl-stock-grid.grid2 { grid-template-columns:repeat(2,minmax(0,1fr)) !important; }
 body.wl-v2 :is(#listWrap,#subscriptionWrap) .wl-stock-grid.grid3 { grid-template-columns:repeat(3,minmax(0,1fr)) !important; }
 body.wl-v2 :is(#listWrap,#subscriptionWrap) .wl-stock-grid.grid4 { grid-template-columns:repeat(4,minmax(0,1fr)) !important; }
}

@media(max-width:880px) {
 body.wl-v2 :is(#listWrap,#subscriptionWrap) .wl-stock-grid:is(.grid3,.grid4) .wl-grid-card { padding:8px 4px !important; }
 body.wl-v2 :is(#listWrap,#subscriptionWrap) .wl-stock-grid:is(.grid3,.grid4) .wl-grid-card > header { display:grid; grid-template-columns:minmax(0,1fr); align-items:start; gap:6px; min-height:0; margin-bottom:6px; }
 body.wl-v2 :is(#listWrap,#subscriptionWrap) .wl-stock-grid:is(.grid3,.grid4) .stock-board-link { width:100%; max-width:100%; padding:0; white-space:normal; overflow-wrap:anywhere; }
 body.wl-v2 :is(#listWrap,#subscriptionWrap) .wl-stock-grid:is(.grid3,.grid4) .stock-board-link b { display:block; min-height:40px; font-size:14px !important; line-height:20px; }
 body.wl-v2 :is(#listWrap,#subscriptionWrap) .wl-stock-grid:is(.grid3,.grid4) .wl-grid-quote { display:flex; flex-direction:column; align-items:flex-start; gap:2px; min-width:0; font-size:13px !important; line-height:20px; }
 body.wl-v2 :is(#listWrap,#subscriptionWrap) .wl-stock-grid:is(.grid3,.grid4) .wl-field-trend { height:clamp(72px,22vw,110px); }
 body.wl-v2 :is(#listWrap,#subscriptionWrap) .wl-stock-grid:is(.grid3,.grid4) .wl-grid-card > footer { flex-wrap:wrap; gap:3px; }
 body.wl-v2 :is(#listWrap,#subscriptionWrap) .wl-stock-grid:is(.grid3,.grid4) .wl-grid-card > footer button { min-width:0; max-width:100%; padding:3px 4px; font-size:11px; }
}
