:root{color-scheme:light;--bg:#f4f6fa;--paper:#fff;--ink:#17243c;--muted:#738097;--line:#e4e9f0;--blue:#2164ed;--blue-soft:#eef4ff;--up:#168867;--down:#d94b58;--success:#168867;--error:#d94b58;--mono:"Cascadia Code",Consolas,"SFMono-Regular",monospace;--font:Inter,"Segoe UI","Microsoft YaHei",system-ui,sans-serif}
*{box-sizing:border-box}body{margin:0;height:100dvh;min-height:460px;display:flex;flex-direction:column;overflow:hidden;font:14px/1.45 var(--font);color:var(--ink);background:var(--bg)}button,input,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}button,a,input,select{outline-offset:3px}button:focus-visible,a:focus-visible{outline:2px solid var(--blue)}a{color:var(--blue);text-decoration:none}button{color:inherit}button:hover{filter:brightness(.97)}[hidden]{display:none!important}
.topbar{display:flex;align-items:center;gap:28px;flex:none;height:54px;padding:0 24px;background:var(--paper);border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:10px;white-space:nowrap}.brand-icon{width:28px;height:28px;display:grid;place-items:center;border-radius:7px;background:var(--blue);color:white}.brand-icon svg{width:20px;fill:none;stroke:currentColor;stroke-width:1.8}.brand h1{font-size:18px;letter-spacing:1px;margin:0;font-weight:750}.brand small{font:11px var(--mono);color:#8d9aae;letter-spacing:1.8px;margin-left:5px}.topbar-separator{height:18px;width:1px;background:var(--line)}.feed-strip{display:flex;align-items:center;gap:17px;color:var(--muted);font-size:12px;white-space:nowrap}.feed-strip span{display:flex;gap:6px;align-items:center}.feed-strip i{width:5px;height:5px;border-radius:50%;background:#a7b0be}.feed-strip .ok i{background:var(--success)}.feed-strip .bad i{background:var(--error)}.top-actions{margin-left:auto;display:flex;align-items:center;gap:9px}.clock{font:12px var(--mono);color:var(--muted);margin-right:8px;white-space:nowrap}.plain-button,.outline-button,.primary-button,.density-button{border:1px solid var(--line);border-radius:5px;background:var(--paper);padding:6px 11px;font-size:13px;white-space:nowrap;min-height:32px}.plain-button{border-color:transparent;color:var(--muted)}.primary-button{color:white;background:var(--blue);border-color:var(--blue)}.primary-button span{font-size:16px;margin-right:3px}.outline-button{color:#475670}.icon-button{display:grid;place-items:center;width:29px;height:29px;background:transparent;border:1px solid var(--line);border-radius:50%;font-size:14px;color:var(--muted)}
main{padding:16px 22px 12px;display:flex;flex:1;min-height:0;min-width:0;flex-direction:column;gap:12px}.market-nav{display:flex;align-items:stretch;gap:8px;flex:none}.market-tab{display:flex;align-items:center;gap:10px;background:#e9edf4;border:1px solid transparent;border-radius:7px;padding:9px 17px;min-height:52px;min-width:122px;text-align:left}.market-tab .market-label{font-size:17px;font-weight:650;line-height:1.15}.market-tab .market-abbr{font:11px var(--mono);letter-spacing:1.1px;color:#8a97aa;display:block;margin-top:4px}.market-tab .count{margin-left:auto;background:#dce3ed;color:#627189;border-radius:4px;padding:2px 6px;font:12px var(--mono);min-width:25px;text-align:center}.market-tab.active{background:#1f3c73;color:white;box-shadow:0 3px 6px #19346513}.market-tab.active .market-abbr{color:#a9c2ea}.market-tab.active .count{background:#35558d;color:white}.market-tab:hover:not(.active){background:#e0e7f2}.market-nav-end{margin-left:auto;display:flex;align-items:center;font-size:12px;color:var(--muted);gap:7px;white-space:nowrap}.market-nav-end strong{color:var(--ink);font-weight:600}
.board{display:flex;flex-direction:column;flex:1;min-height:0;background:var(--paper);border:1px solid #dce3ed;border-radius:8px;overflow:hidden;box-shadow:0 2px 5px #12284603}.toolbar{display:flex;align-items:center;gap:9px;flex-wrap:wrap;padding:11px 15px;flex:none;border-bottom:1px solid var(--line)}.search-wrap{position:relative}.search-wrap svg{position:absolute;top:9px;left:10px;width:15px;height:15px;fill:none;stroke:#8b99ae;stroke-width:1.6}.search-wrap input{width:210px;padding-left:32px}input,select{color:var(--ink);background:#f8fafc;border:1px solid #dfe5ee;border-radius:5px;padding:7px 10px;font-size:13px;height:33px}input::placeholder{color:#98a2b2}input:focus,select:focus{outline:1px solid var(--blue);border-color:var(--blue)}select{cursor:pointer}.control-label{display:flex;align-items:center;gap:7px;font-size:12px;color:var(--muted)}.toolbar-divider{height:21px;width:1px;background:var(--line);margin:0 2px}.sort-controls{margin-left:auto;display:flex;align-items:center;gap:8px}.periods{display:flex;align-items:center;gap:2px;padding:3px;background:#f0f3f8;border-radius:5px;height:33px}.periods button{border:0;background:transparent;color:#7b879b;padding:4px 10px;font:13px var(--mono);border-radius:3px;min-width:36px}.periods button.active{background:#fff;color:var(--blue);box-shadow:0 1px 4px #2036531a;font-weight:700}.direction{border:1px solid #dfe5ee;background:#fff;border-radius:5px;padding:6px 9px;font-size:13px;height:33px}.density-button{padding:5px 8px;color:var(--muted);background:#f8fafc}.density-button[aria-pressed=true]{color:var(--blue);border-color:#c9d9fc;background:var(--blue-soft)}.summary-line{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:7px 16px;border-bottom:1px solid var(--line);font-size:12px;color:var(--muted);flex:none;min-height:33px}.summary-left{display:flex;align-items:center;gap:14px}.summary-left strong{color:var(--ink);font-weight:650}.rate-context{color:#5c7294;display:flex;gap:7px;align-items:center}.context-label{color:var(--blue);background:var(--blue-soft);padding:1px 5px;border-radius:3px;font-size:12px}.summary-help{color:#8c98aa}.market-badge{display:inline-flex;align-items:center;justify-content:center;border:1px solid #d8e2f1;color:#5d769b;background:#f2f6fc;font-size:11px;font-weight:500;border-radius:3px;padding:1px 4px;min-width:28px;line-height:17px;white-space:nowrap}.market-badge.A{background:#f6f1fb;border-color:#e6ddf0;color:#8261a5}.market-badge.HK{background:#fff8e9;border-color:#f3e8c9;color:#9e7c31}.market-badge.KR{background:#edf6f5;border-color:#d5e9e5;color:#518479}.market-badge.US{background:#eef4ff;border-color:#dbe5f6;color:#577bab}
.table-scroll{overflow:auto;flex:1;min-height:0;scrollbar-width:thin;scrollbar-color:#c9d3e0 transparent;outline-offset:-3px}.quotes-table{border-collapse:separate;border-spacing:0;width:100%;min-width:1210px;table-layout:fixed;font-variant-numeric:tabular-nums}.quotes-table col.col-rank{width:36px}.quotes-table col.col-asset{width:220px}.quotes-table col.col-stock-price{width:112px}.quotes-table col.col-stock-close{width:100px}.quotes-table col.col-contract{width:144px}.quotes-table col.col-perp-price{width:100px}.quotes-table col.col-change{width:78px}.quotes-table col.col-trend{width:82px}.quotes-table col.col-more{width:25px}.quotes-table th{position:sticky;top:0;z-index:3;background:#f6f8fc;border-bottom:1px solid #dce3ec;color:#738198;font-size:12px;font-weight:500;text-align:left;height:35px;padding:7px 9px;white-space:nowrap}.quotes-table th.number{text-align:right}.quotes-table th button{border:0;background:transparent;color:inherit;font:inherit;padding:0;white-space:nowrap;width:100%;text-align:right}.quotes-table th button.selected{color:var(--blue);font-weight:650}.quotes-table th.sorting{background:#eaf1fd}.quotes-table th.group-start,.quotes-table td.group-start{border-left:1px solid var(--line)}.quotes-table td{height:36px;padding:6px 9px;border-bottom:1px solid #edf0f5;background:#fff;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:23px}.quotes-table tr:nth-child(even) td{background:#fafbfd}.quotes-table tr:hover td{background:#f0f5ff}.quotes-table td.sorting{background:#f5f8ff}.quotes-table tr:nth-child(even) td.sorting{background:#f0f5fe}.quotes-table tr:hover td.sorting{background:#e9f1ff}.quotes-table .rank{font:12px var(--mono);color:#9ba6b8;text-align:center;padding-left:3px;padding-right:3px}.quotes-table td.asset-cell,.quotes-table th.asset-head{position:sticky;left:0;z-index:2}.quotes-table th.asset-head{z-index:4}.asset-line{display:flex;align-items:center;gap:7px;min-width:0}.stock-button{padding:0;border:0;background:transparent;text-align:left;display:flex;align-items:center;gap:6px;min-width:0;color:var(--ink);height:23px;max-width:100%}.stock-button:hover .asset-name{color:var(--blue)}.asset-name{font-weight:600;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.asset-symbol{font:11px var(--mono);color:#8a97aa;white-space:nowrap;margin-left:auto}.stock-button .asset-symbol{margin-left:0}.number{text-align:right;font-family:var(--mono);font-variant-numeric:tabular-nums;letter-spacing:-.25px}.muted-number{color:#75839a}.currency{font:10px var(--font);color:#8a96aa;margin-left:4px;letter-spacing:0}.source-cell{font-size:12px!important}.contract-link{display:flex;align-items:center;gap:6px;min-width:0;border:0;background:transparent;padding:0;text-align:left;max-width:100%;height:23px}.contract-code{font:12px var(--mono);color:#6a7c97;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.venue{font:11px/17px var(--font);font-weight:550;color:#586c8b;background:#edf1f6;padding:0 4px;border-radius:3px;flex:none}.venue.binance{color:#9a7929;background:#fff6dd}.venue.okx{color:#546580;background:#eaf0f7}.stock-fallback{font-size:12px;color:#8a95a6}.stock-fallback b{font-weight:500;border:1px solid #dbe3ef;border-radius:3px;color:#697d9a;font-size:11px;padding:0 3px;margin-right:4px}.up{color:var(--up)!important}.down{color:var(--down)!important}.neutral{color:#8c99ac!important}.stale-mark{font:10px var(--font);color:#b98621;background:#fff3d8;border:1px solid #f3e1b8;border-radius:2px;display:inline-block;padding:0 2px;margin-left:4px;vertical-align:1px;line-height:13px}.outdated{color:#a48953!important}.spark{width:65px;height:20px;display:block;margin:auto}.more-button{background:transparent;border:0;padding:0;width:18px;height:23px;color:#b0bbcd;font-size:18px}.more-button:hover{color:var(--blue)}.empty{text-align:center!important;padding:40px 20px!important;color:var(--muted);white-space:normal!important}.table-footer{display:flex;align-items:center;gap:16px;padding:7px 15px;min-height:30px;flex:none;border-top:1px solid var(--line);font-size:11px;color:#8b97a9;white-space:nowrap}.footer-right{margin-left:auto;display:flex;align-items:center;gap:16px}.legend-up,.legend-down{display:inline-block;width:5px;height:5px;border-radius:1px;margin-right:4px;background:var(--up)}.legend-down{background:var(--down);margin-left:8px}.connection-error{color:var(--error)!important}.errors{padding:7px 13px;border-bottom:1px solid #eedbb8;color:#ab7c2b;background:#fffbef;font-size:12px;flex:none}.errors summary{cursor:pointer}.page-bottom{display:flex;justify-content:space-between;gap:10px;color:#8a97ab;font-size:11px;flex:none}.page-bottom strong{font-weight:500;color:#6f809b}
body.comfortable .quotes-table td{height:49px;padding-top:12px;padding-bottom:12px;font-size:15px}body.comfortable .asset-name{font-size:15px}
dialog{color:var(--ink);border:1px solid #dce4ef;background:#fff;border-radius:12px;box-shadow:0 24px 90px #112a5050;padding:24px;width:650px;max-width:calc(100vw - 32px);max-height:88dvh;overflow:auto}dialog::backdrop{background:#0b1f4166;backdrop-filter:blur(3px)}.dialog-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:20px}.dialog-heading h2{font-size:24px;font-weight:650;letter-spacing:-.3px;margin:4px 0 10px}.eyebrow{font:11px var(--mono);letter-spacing:1.4px;color:#8e9eb7}.close-button{background:#f0f4fa;border:0;border-radius:50%;font-size:23px;color:#7c8da7;width:30px;height:30px;display:grid;place-items:center;flex:none;line-height:1}.dialog-note,.small-note{font-size:13px;color:var(--muted);line-height:1.8}.full-input{width:100%;height:38px;font-size:14px;margin:8px 0 10px}.catalog-list{max-height:48dvh;overflow:auto}.catalog-item{display:flex;align-items:center;justify-content:space-between;gap:14px;border-bottom:1px solid var(--line);padding:11px 1px}.catalog-item strong{font-weight:600}.catalog-item small{display:block;font-size:12px;color:var(--muted);margin-top:3px}.catalog-item button{border:1px solid #cedcfa;color:var(--blue);border-radius:4px;background:var(--blue-soft);min-width:62px;padding:4px 10px;font-size:13px}.catalog-item button.selected{border-color:#e0e6ef;background:#f7f9fc;color:#8995a8}.large-dialog{width:1080px}.records-tools{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:10px 0 16px}.records-tools p{font-size:13px;color:var(--muted)}.add-button{display:inline-block;color:var(--blue);background:var(--blue-soft);border:1px solid #d6e2fa;padding:6px 12px;font-size:13px;border-radius:5px;white-space:nowrap}.record-scroll{overflow:auto;max-height:55dvh}.record-scroll table,.detail-table{width:100%;border-collapse:collapse;white-space:nowrap}.record-scroll th,.detail-table th{background:#f4f7fc;text-align:left;font-size:12px;color:#7a8aa2;font-weight:500;padding:10px;border-bottom:1px solid var(--line)}.record-scroll td,.detail-table td{border-bottom:1px solid var(--line);padding:11px 10px;font-size:13px}.record-scroll .number,.detail-table .number{text-align:right}.method-content h3{font-size:16px;font-weight:600;margin:22px 0 8px}.method-content p{font-size:14px;color:#64758e;line-height:1.9;margin:8px 0}.source-links{display:flex;flex-wrap:wrap;gap:16px;font-size:13px;margin-top:24px}.detail-dialog{width:1120px}.detail-title-line{display:flex;gap:9px;align-items:center}.detail-title-line h2{margin-bottom:4px}.detail-subtitle{font-size:12px;color:var(--muted)}.detail-summary{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid var(--line);border-radius:7px;margin:22px 0;overflow:hidden}.detail-summary>div{padding:15px 18px;background:#f8faff}.detail-summary>div+div{border-left:1px solid var(--line)}.detail-summary span{font-size:12px;color:var(--muted);display:block}.detail-summary strong{font:23px/1.6 var(--mono);font-weight:500}.detail-summary small{font:12px var(--font);color:var(--muted);margin-left:5px}.detail-section-title{font-size:14px;font-weight:600;margin:19px 0 10px;display:flex;justify-content:space-between}.detail-section-title small{font-size:12px;font-weight:400;color:var(--muted)}.detail-table-wrap{overflow:auto}.detail-table td .sub{font-size:11px;line-height:1.6;color:#8b99af;display:block;margin-top:3px}.detail-notes{color:#7588a4;font-size:12px;line-height:1.8;margin:16px 0 0;border-left:3px solid #c9daf9;padding:8px 13px;background:#f7faff}.detail-table .venue{font-size:12px;margin-right:7px}.detail-table .spark{width:92px;height:24px}.detail-table .name{font-family:var(--mono)}#toast{position:fixed;left:50%;bottom:24px;transform:translateX(-50%);border:1px solid #c7d7f2;box-shadow:0 6px 26px #18336524;background:#fff;color:#365276;padding:10px 20px;border-radius:6px;font-size:14px;z-index:100}
@media(min-width:1600px){.quotes-table col.col-asset{width:250px}.quotes-table col.col-contract{width:160px}.quotes-table td{padding-left:13px;padding-right:13px}.quotes-table col.col-change{width:88px}.quotes-table .asset-name{font-size:15px}}
@media(max-width:1250px){.topbar{padding:0 18px;gap:18px}.brand small,.topbar-separator{display:none}main{padding:12px 14px 10px;gap:10px}.market-tab{min-width:104px;padding:8px 13px}.market-nav-end{display:none}.toolbar{gap:7px}.search-wrap input{width:180px}.control-label>span{display:none}.quotes-table{min-width:1090px}.quotes-table col.col-asset{width:202px}.quotes-table col.col-contract{width:126px}.quotes-table col.col-change{width:72px}.quotes-table col.col-trend{width:65px}.quotes-table col.col-stock-price{width:103px}.quotes-table col.col-stock-close{width:94px}.quotes-table col.col-perp-price{width:90px}.quotes-table th,.quotes-table td{padding-left:7px;padding-right:7px}.toolbar-divider{display:none}.summary-help{display:none}}
@media(max-width:1000px){.topbar{gap:15px;height:49px;padding:0 14px}.brand h1{font-size:16px}.top-actions{gap:3px}.top-actions .clock{display:none}.feed-strip{gap:9px;font-size:11px}.feed-strip .source-stock{display:none}.plain-button{font-size:12px;padding:5px 7px}.primary-button{font-size:12px;padding:5px 8px}.market-nav{gap:6px}.market-tab{min-width:0;flex:1;justify-content:center;padding:8px 10px;min-height:49px;gap:7px}.market-abbr{display:none!important}.market-tab .market-label{font-size:16px}.market-tab .count{margin-left:0;font-size:11px;padding:1px 5px;min-width:22px}.toolbar{padding:9px 11px}.search-wrap input{width:170px}.toolbar select{max-width:111px;padding:6px 7px;font-size:12px}.periods button{padding:4px 7px;min-width:28px}.sort-controls{gap:5px}.direction{font-size:12px;padding:6px 7px}.density-button{display:none}.summary-line{padding:6px 12px}.summary-left{gap:9px}.rate-context{font-size:11px}.quotes-table{min-width:630px}.quotes-table col.col-rank,.quotes-table .rank,.quotes-table col.col-stock-close,.quotes-table .stock-close-col,.quotes-table col.col-contract,.quotes-table .contract-col,.quotes-table col.col-trend,.quotes-table .trend-col,.quotes-table col.col-more,.quotes-table .more-col{display:none}.quotes-table col.col-asset{width:170px}.quotes-table col.col-stock-price{width:104px}.quotes-table col.col-perp-price{width:92px}.quotes-table col.col-change{width:70px}.quotes-table .asset-symbol{display:none}.quotes-table .asset-name{font-size:14px}.quotes-table .asset-line{gap:5px}.quotes-table td{height:38px;font-size:13px;padding:7px 6px}.quotes-table th{font-size:11px;padding:7px 6px}.quotes-table .currency{font-size:10px}.mobile-source{display:inline!important;font:10px var(--font);color:#8a97ae;margin-left:3px}.table-footer{padding:6px 11px;gap:10px;font-size:10px}.footer-delays{display:none}.page-bottom{font-size:10px}.page-bottom>span:last-child{display:none}.detail-summary{grid-template-columns:repeat(2,1fr)}.detail-summary>div:nth-child(3){border-left:0;border-top:1px solid var(--line)}.detail-summary>div:nth-child(4){border-top:1px solid var(--line)}.detail-table{min-width:930px}.detail-summary strong{font-size:21px}}
@media(max-width:720px){main{padding:10px 9px 8px;gap:9px}.brand-icon{height:24px;width:24px}.topbar{padding:0 11px;gap:9px}.brand{gap:7px}.feed-strip{margin-left:auto}.top-actions{margin-left:0}.top-actions .plain-button{display:none}.market-tab{padding:8px 7px;border-radius:5px;gap:5px}.market-tab .market-label{font-size:15px}.market-tab .count{font-size:10px;min-width:17px;padding:1px 3px}.toolbar{gap:6px}.search-wrap{flex:1}.search-wrap input{width:100%;min-width:120px}.sort-controls{margin-left:0;flex:none}.toolbar .direction{display:none}.toolbar .control-label{flex:none}.periods{gap:0}.periods button{padding:4px 6px;min-width:26px}.summary-line{font-size:11px;min-height:31px}.rate-context .context-description{display:none}.quotes-table col.col-asset{width:150px}.quotes-table col.col-stock-price{width:89px}.quotes-table col.col-perp-price{width:90px}.quotes-table col.col-change{width:64px}.quotes-table col.col-overnight,.quotes-table .overnight-col{display:none}.quotes-table{min-width:600px}.quotes-table .asset-cell{box-shadow:2px 0 4px #324c7610}.quotes-table .currency{display:none}.table-footer .footer-refresh{display:none}.table-footer .footer-right{gap:8px}.detail-dialog{padding:18px}.detail-title-line h2{font-size:21px}.detail-summary>div{padding:12px}.detail-summary strong{font-size:19px}.dialog-heading h2{font-size:22px}.records-tools{align-items:flex-start}.records-tools p{margin:0}.record-scroll table{min-width:760px}}
@media(max-width:520px){.feed-strip{display:none}.top-actions{margin-left:auto}.toolbar{row-gap:7px}.search-wrap{flex-basis:130px}.toolbar .sort-controls{order:4;flex-basis:100%;justify-content:flex-end}.toolbar .direction{display:block}.periods{margin-right:auto}.market-tab .count{display:none}.summary-line .context-description{display:none}.summary-left{gap:7px}.table-footer{font-size:10px}.table-footer .footer-right>span:first-child{display:none}.page-bottom{display:none}}
.mobile-source{display:none}
/* Compact market terminal: preserve legible quotes, reduce surrounding chrome. */
@media(min-width:1001px){
  .topbar{height:44px}.brand small{font-size:12px}
  main{padding-top:8px;gap:8px}
  .market-tab{min-height:42px;padding:4px 16px}
  .market-tab .market-label{font-size:16px}.market-tab .market-abbr{font-size:10px;margin-top:3px}
  .toolbar{padding:5px 15px}.summary-line{padding:3px 16px;min-height:26px}
  .quotes-table th{height:30px;padding-top:5px;padding-bottom:5px}
  .quotes-table td{height:33px;padding-top:4px;padding-bottom:4px;line-height:22px}
  .quotes-table .more-button{display:block;height:22px;line-height:22px}
  .table-footer{min-height:27px;padding-top:5px;padding-bottom:5px}
}
.asset-symbol{font-size:12px}.currency{font-size:11px}.venue{font-size:12px}
.errors details[open]{max-height:120px;overflow:auto}

.header-unit{font-size:10px;color:#8a96aa}.source-legend{display:none}
@media(max-width:1000px){.source-legend{display:inline;font-size:11px}.table-footer{gap:8px}}
@media(max-width:520px){.table-footer #connection-state{font-size:10px}.source-legend{font-size:10px}}
@media(max-width:520px){.market-tab[data-market="ALL"]{flex:1.35}.market-tab .market-label{font-size:14px;white-space:nowrap}}

/* Keep RMB alongside the original quote without adding another row. */
.price-unit{font:11px var(--font);color:#8291a7;margin-left:3px}
.rmb-price{font:12px var(--mono);color:#8291a7;margin-left:7px;letter-spacing:-.4px;white-space:nowrap}
.fx-rate{font-size:12px;color:#73849f;white-space:nowrap}.fx-stale{color:#ae843c!important}
.quotes-table col.col-perp-price{width:205px}.quotes-table col.col-contract{width:122px}.quotes-table col.col-asset{width:202px}
.detail-table .rmb-price{font-size:11px;margin-left:5px}.detail-table{min-width:1040px}
@media(max-width:1250px) and (min-width:1001px){.quotes-table{min-width:1210px}.quotes-table col.col-perp-price{width:194px}.quotes-table col.col-contract{width:116px}.quotes-table col.col-asset{width:190px}}
@media(max-width:1000px){.quotes-table{min-width:810px}.quotes-table col.col-perp-price{width:190px}.quotes-table col.col-asset{width:170px}.fx-rate{font-size:11px}.context-description{display:none!important}}
@media(max-width:720px){.quotes-table{min-width:700px}.quotes-table col.col-perp-price{width:182px}.quotes-table col.col-asset{width:150px}.summary-line .context-label{display:none}.fx-rate{font-size:10px}.rmb-price{font-size:11px;margin-left:5px}}
@media(min-width:1001px) and (max-width:1320px){.quotes-table col.col-trend,.quotes-table .trend-col{display:none}.quotes-table{min-width:1160px}}

/* Real stock OHLC fits the existing single-line quote density. */
.quotes-table col.col-stock-chart{width:90px}
.quotes-table .stock-chart-col{padding-left:6px;padding-right:6px;text-align:center}
.stock-candles{display:block;width:78px;height:24px;margin:auto;overflow:visible}
.candle-gap{stroke:#b8c5d6;stroke-width:.6;stroke-dasharray:1.5 2}
.candle-stale{opacity:.8}.candle-empty{font-size:11px;color:#9ba6b8}
.detail-table .stock-candles{width:96px;height:28px}
@media(min-width:1001px) and (max-width:1450px){.quotes-table col.col-stock-close,.quotes-table .stock-close-col{display:none}}
@media(max-width:1000px){.quotes-table{min-width:900px}}
@media(max-width:720px){.quotes-table{min-width:790px}}

/* Latest underlying quote replaces the overnight-return column. */
.quotes-table col.col-stock-price{width:190px}
.quotes-table .stock-latest-cell{white-space:nowrap}
.stock-latest-value{white-space:nowrap}
.stock-usd-price{font:600 14px var(--mono);color:#385477;margin-left:8px;letter-spacing:-.2px;white-space:nowrap}
.stock-quote-time{font:11px var(--mono);color:#8492a7;margin-left:8px;letter-spacing:-.3px;white-space:nowrap}
@media(max-width:1000px){.quotes-table{min-width:900px}.quotes-table col.col-stock-price{width:184px}.stock-latest-head .header-unit{display:none}}
@media(max-width:720px){.quotes-table{min-width:890px}.quotes-table col.col-stock-price{width:184px}.quotes-table .stock-latest-cell .currency{display:inline}}

/* Underlying session return stays beside its latest quote. */
.quotes-table col.col-stock-day{width:86px}
.quotes-table .stock-day-cell{font-weight:600}
@media(min-width:1251px) and (max-width:1450px){
  .quotes-table col.col-asset{width:188px}.quotes-table col.col-contract{width:110px}
  .quotes-table col.col-stock-price{width:186px}.quotes-table col.col-change{width:74px}
}
@media(min-width:1001px) and (max-width:1250px){.quotes-table{min-width:1180px}.quotes-table col.col-stock-price{width:178px}.quotes-table col.col-stock-day{width:82px}}
@media(max-width:1000px){.quotes-table{min-width:986px}}
@media(max-width:720px){.quotes-table{min-width:976px}}

/* US-only ranking choices keep the quote rows and other markets intact. */
.us-ranking{display:flex;align-items:center;gap:12px;padding:6px 15px;border-bottom:1px solid var(--line);background:#f8faff;flex:none;min-height:41px}
.us-ranking-label{font-size:12px;color:var(--muted);white-space:nowrap}
.us-ranking-options{display:flex;gap:4px;flex:none}
.us-ranking-options button{border:1px solid transparent;border-radius:5px;padding:4px 13px;background:transparent;font-size:13px;color:#667994;white-space:nowrap}
.us-ranking-options button.active{color:var(--blue);background:#fff;border-color:#cddcf8;box-shadow:0 1px 3px #2036530c;font-weight:600}
.us-ranking-note{font-size:12px;color:#8090a6;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.us-volume .quotes-table col.col-stock-close{display:table-column;width:100px}
.us-volume .quotes-table .stock-close-col{display:table-cell}
.us-volume #stock-reference-head{color:var(--blue);background:#eaf1fd}
.us-volume .quotes-table td.volume-cell{background:#f5f8ff;color:#314f7a;font-weight:600}
.us-volume .quotes-table tr:nth-child(even) td.volume-cell{background:#f0f5fe}
.us-volume .quotes-table tr:hover td.volume-cell{background:#e9f1ff}
@media(max-width:1450px){.us-volume .quotes-table col.col-contract,.us-volume .quotes-table .contract-col{display:none}.us-volume .mobile-source{display:inline!important;font:10px var(--font);color:#8a97ae;margin-left:3px}}
@media(max-width:1000px){.us-volume .quotes-table{min-width:1086px}.us-ranking{padding:5px 11px;gap:8px}.us-ranking-options button{padding:4px 10px}}
@media(max-width:720px){.us-ranking{flex-wrap:wrap;gap:4px 8px}.us-ranking-note{flex-basis:100%;font-size:11px}.us-volume .quotes-table{min-width:1076px}}

/* Funds have a separate section; original listing markets and currencies remain intact. */
.etf-tab:not(.active){background:#e7f1ef;border-color:#d5e5e1}.etf-tab:not(.active) .market-label{color:#326d62}
.etf-tab.active{background:#285d54}.etf-tab.active .count{background:#40776d}.etf-tab.active .market-abbr{color:#c0ddd7;letter-spacing:1px}
.etf-tools{display:flex;align-items:center;gap:17px;padding:6px 15px;border-bottom:1px solid var(--line);background:#f5faf8;flex:none;min-height:41px}
.etf-region-label{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--muted);white-space:nowrap}.etf-region-label select{height:28px;font-size:12px;padding:3px 8px;background:white;min-width:136px}
.etf-pair-summary{display:flex;align-items:center;gap:12px;font-size:12px;color:#718b83}.etf-pair-summary strong{font-weight:600;color:#326d62;white-space:nowrap}
.etf-scope-note{margin-left:auto;font-size:11px;color:#87998f;white-space:nowrap}
@media(min-width:1251px) and (max-width:1450px){.market-nav-end{font-size:11px;gap:5px}.market-tab{padding-left:12px;padding-right:12px;min-width:116px}.market-tab.etf-tab{min-width:142px}}
@media(max-width:1000px){.etf-scope-note{display:none}.etf-tools{gap:10px;padding:6px 11px}.etf-pair-summary>span{display:none}}
@media(max-width:720px){.market-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.etf-tools{gap:8px}.etf-region-label{gap:6px}.etf-region-label select{min-width:120px}}

/* A separate perpetual turnover mode keeps the existing stock volume option. */
.us-perp-volume .quotes-table col.col-stock-close{width:144px}
.volume-venue{font:10px var(--font);color:#8090a6;margin-right:5px;letter-spacing:0}
.us-perp-volume .perp-volume-cell{font-size:12px}
@media(max-width:1450px){.us-perp-volume .quotes-table col.col-trend,.us-perp-volume .quotes-table .trend-col{display:none}}
@media(max-width:1000px){.us-perp-volume .quotes-table{min-width:1130px}.us-ranking-options button{padding-left:8px;padding-right:8px}}
@media(max-width:720px){.us-perp-volume .quotes-table{min-width:1120px}.us-ranking-options{gap:2px;flex-wrap:wrap}.us-ranking-options button{font-size:12px;padding-left:7px;padding-right:7px}}

/* Keep the KRW quote, small USD reference, and quote time on one compact row. */
.has-krw-usd .quotes-table col.col-stock-price{width:320px}
.has-krw-usd .stock-latest-cell .stock-quote-time{margin-left:6px}
