/* Compact exchange-table style watchlist, shared across primary pages. */
#marketWatchSummary{order:0;min-width:0;margin:0 0 15px;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:var(--panel);color:var(--text)}
#marketWatchSummary summary{display:flex;align-items:center;gap:8px;padding:10px 13px;cursor:pointer;font-size:15px;font-weight:800;background:var(--sg-bg-11263a,#11263a);list-style:none}
#marketWatchSummary summary::-webkit-details-marker{display:none}
#marketWatchSummary summary::after{content:'▾';margin-left:auto;color:var(--sub);font-size:16px}
#marketWatchSummary details[open] summary::after{content:'▴'}
#marketWatchSummary .market-watch-count{font-size:12px;color:var(--sub);font-weight:600}
#marketWatchSummary .market-watch-status{margin-left:auto;font-size:11px;color:var(--sub);font-weight:500}
#marketWatchSummary .market-watch-status:not(:empty)+*{margin-left:0}
#marketWatchSummary .market-watch-scroll{overflow-x:auto;overscroll-behavior-x:contain;border-top:1px solid var(--line)}
#marketWatchSummary table{width:100%;min-width:720px;border-collapse:collapse;table-layout:auto;font-variant-numeric:tabular-nums}
#marketWatchSummary th,#marketWatchSummary td{padding:7px 12px;white-space:nowrap;text-align:right;border-bottom:1px solid var(--line);font-size:13px}
#marketWatchSummary th{font-size:11px;letter-spacing:0;font-weight:750;color:var(--sub);background:var(--sg-bg-091b2e,#091b2e)}
#marketWatchSummary th:first-child,#marketWatchSummary td:first-child{text-align:left}
#marketWatchSummary tbody tr:nth-child(odd){background:var(--sg-bg-11263a,#11263a)}
#marketWatchSummary tbody tr:hover{background:var(--sg-bg-173149,#173149)}
#marketWatchSummary .watch-summary-symbol{display:flex;align-items:center;gap:6px;min-height:24px}
#marketWatchSummary .watch-summary-symbol .watch-star{border:0;background:transparent;color:var(--gold,#f7c978);font-size:17px;min-width:20px;line-height:1;cursor:pointer;padding:0}
#marketWatchSummary .watch-summary-symbol .article-ticker-logo{width:20px;height:20px;padding:2px;margin:0}
#marketWatchSummary .watch-summary-chart{display:inline-flex;align-items:center;flex:0 0 68px;width:68px;height:22px;min-width:0;margin-left:0;vertical-align:middle}
#marketWatchSummary .watch-summary-chart .market-mini-svg{display:block;width:100%;height:100%;object-fit:contain}
#marketWatchSummary .watch-summary-move{font-weight:750}
#marketWatchSummary .up{color:var(--sg-text-44d7a1,#44d7a1)!important}
#marketWatchSummary .down{color:var(--sg-text-ff778a,#ff778a)!important}
#marketWatchSummary .dim{color:var(--sub)}
#marketWatchSummary .watch-summary-row-status{display:block;padding-left:25px;color:var(--sub);font-size:10px}
#marketWatchSummary td.watch-summary-empty{text-align:center;padding:18px 12px;color:var(--sub);white-space:normal}
#marketWatchSummary .market-watch-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:5px 12px;color:var(--sub);font-size:11px}
#marketWatchSummary .market-watch-footer button{border:0;background:transparent;color:var(--mint);font-weight:750;cursor:pointer;padding:5px 0}
#marketWatchSummary :focus-visible{outline:2px solid var(--mint);outline-offset:-2px}
@media(max-width:780px){
 /* Five visible columns: ticker, 24h chart, live quote, 24h change and close gap. */
 #marketWatchSummary summary{display:none}
 #marketWatchSummary details::details-content{content-visibility:visible}
 #marketWatchSummary .market-watch-scroll{border-top:0;overflow-x:auto}
 #marketWatchSummary table{width:100%;min-width:0;table-layout:fixed}
 #marketWatchSummary th:nth-child(5),#marketWatchSummary td:nth-child(5),
 #marketWatchSummary th:nth-child(7),#marketWatchSummary td:nth-child(7){display:none}
 #marketWatchSummary th:first-child{width:27%}
 #marketWatchSummary th:nth-child(2){width:15%}
 #marketWatchSummary th:nth-child(3){width:23%}
 #marketWatchSummary th:nth-child(4){width:17%}
 #marketWatchSummary th:nth-child(6){width:18%}
 #marketWatchSummary th,#marketWatchSummary td{padding:5px 4px;font-size:11px}
 #marketWatchSummary th{font-size:10px;line-height:1.35;white-space:normal;overflow-wrap:anywhere}
 #marketWatchSummary td:nth-child(3){white-space:normal;overflow-wrap:anywhere}
 #marketWatchSummary .watch-summary-symbol{gap:2px;min-height:20px;flex-wrap:wrap}
 #marketWatchSummary .watch-summary-chart{flex:0 0 42px;width:42px;max-width:100%;height:18px;margin-left:0}
 #marketWatchSummary .watch-summary-symbol strong{flex-shrink:0}
 #marketWatchSummary .watch-summary-symbol .watch-star{font-size:14px;min-width:14px}
 #marketWatchSummary .watch-summary-symbol .article-ticker-logo{width:16px;height:16px;padding:1px;flex-shrink:0}
 #marketWatchSummary .watch-summary-symbol strong{min-width:0;overflow-wrap:anywhere;white-space:normal}
 #marketWatchSummary .watch-summary-row-status{padding-left:3px;white-space:normal}
 #marketWatchSummary td.watch-summary-empty{white-space:normal}
 #marketWatchSummary .market-watch-footer{padding:3px 7px;font-size:10px}
}

/* Explain the real star controls near the market search/filter controls. */
.market-watch-manage-hint{display:flex;align-items:center;gap:10px;margin:9px 0 12px;padding:10px 12px;border:1px solid var(--line);border-radius:9px;background:var(--panel);color:var(--text);font-size:13px;line-height:1.5}
.market-watch-manage-hint.is-management-entry{border-color:var(--mint);box-shadow:inset 3px 0 var(--mint)}
.market-watch-manage-icon{flex:0 0 auto;color:var(--gold);font-size:25px;line-height:1}
.market-watch-manage-hint strong{display:block;font-weight:750}
.market-watch-manage-hint small{display:block;font-size:11px;color:var(--sub)}
.market-watch-filled-star{color:var(--gold);font-size:14px}
@media(max-width:780px){.market-watch-manage-hint{padding:8px 10px;font-size:12px;gap:8px}}

/* Reuse market sponsored links without changing compact watchlist dimensions. */
#marketWatchSummary .watch-summary-ticker{display:inline-flex;align-items:center;gap:inherit;min-width:0}
#marketWatchSummary .market-affiliate-link{display:inline-flex;align-items:center;min-width:0;color:inherit;text-decoration:none;cursor:pointer}
#marketWatchSummary .market-affiliate-link:hover strong{color:var(--mint);text-decoration:underline}
@media(max-width:780px){#marketWatchSummary .watch-summary-ticker{gap:2px}#marketWatchSummary .market-affiliate-link{max-width:100%}}

/* Keep the sponsored chart link and its refreshable SVG slot at the existing size. */
#marketWatchSummary .watch-summary-chart-slot,#marketWatchSummary .watch-summary-chart > .market-affiliate-link{display:flex;align-items:center;width:100%;height:100%;min-width:0}

#marketWatchSummary .watch-summary-chart-cell{text-align:right;vertical-align:middle}
