/* Dense trading surfaces use the same palette and numeric rhythm as Collect. */
.mobile-theme-menu{display:none!important}.profile-name{display:flex;align-items:center;gap:24px}.profile-name .button{margin-left:auto}
.collection-stats{display:block;padding:0}.market-metrics{display:grid;grid-template-columns:repeat(11,minmax(88px,1fr));overflow-x:auto;gap:0;padding:18px 10px}.market-metrics>div{padding:0 14px;white-space:nowrap}.market-metrics>div>span{display:block;color:var(--secondary-text);font-size:12px;margin-bottom:6px}.market-metrics strong{font-size:15px;font-weight:650;white-space:nowrap;font-variant-numeric:tabular-nums}.market-metrics strong small{font-size:11px;font-weight:400;color:var(--secondary-text)}
body[data-trading=true] #app{padding-top:16px;padding-bottom:108px}body[data-trading=true] .collection-cover{height:64px}body[data-trading=true] .market-metrics{padding-top:14px;padding-bottom:14px}body[data-trading=true] .collection-title h1{font-size:23px;margin-bottom:4px}body[data-trading=true] .collection-mark{width:44px;height:44px}body[data-trading=true] .collection-lore{display:none}body[data-trading=true] .breadcrumb{display:none}body[data-trading=true] .tabbar{height:48px}
.terminal{padding-top:16px;overflow-anchor:none}.terminal-mobile-tabs{display:none}.terminal-grid{display:grid;grid-template-columns:minmax(0,1fr) 360px;height:max(420px,calc(100dvh - 410px));grid-template-rows:minmax(120px,.7fr) minmax(100px,.85fr) minmax(180px,1fr);grid-template-areas:'items activity' 'items charts' 'bids charts';gap:12px}.terminal-panel{background:var(--surface);border:1px solid var(--line);border-radius:8px;overflow:hidden;min-width:0;display:flex;flex-direction:column}.terminal-items{grid-area:items}.terminal-bids{grid-area:bids}.terminal-activity{grid-area:activity}.terminal-charts{grid-area:charts}.terminal-panel>header{min-height:54px;display:flex;align-items:center;gap:12px;padding:10px 14px;border-bottom:1px solid var(--fine-line);flex-shrink:0}.terminal-panel h3{font-size:14px;font-weight:650;margin:0}.terminal-panel h3 small{font-size:12px;color:var(--muted);margin-left:6px;font-weight:400}.terminal-panel>header>span{margin-left:auto;font-size:12px;color:var(--secondary-text)}.terminal-items>header .search{margin-left:auto;max-width:250px;height:34px}.terminal-items>header .sort-select{height:34px;max-width:146px;font-size:12px}.terminal-items-scroll{overflow:auto;flex:1;min-height:0;scrollbar-width:thin}.terminal-table{width:100%;min-width:840px;border-collapse:collapse;text-align:right;font-variant-numeric:tabular-nums;font-size:12px;white-space:nowrap}.terminal-table th{position:sticky;top:0;background:var(--surface);z-index:1;font-size:11px;font-weight:500;color:var(--secondary-text);padding:12px 10px;border-bottom:1px solid var(--line)}.terminal-table th:nth-child(2){text-align:left}.terminal-table th:first-child{width:32px}.terminal-table td{height:55px;padding:8px 10px;border-bottom:1px solid var(--fine-line);font-size:12px}.terminal-table td:first-child{padding-left:14px}.terminal-table td:last-child{padding-right:16px}.terminal-table input{accent-color:var(--brand);width:15px;height:15px;cursor:pointer}.terminal-table tr.is-selected{background:var(--brand-soft)}.terminal-table .trader-item{background:none;display:flex;align-items:center;gap:9px;color:var(--ink);text-align:left;padding:0}.terminal-table .item-thumb{width:34px;height:34px;flex:none;border-radius:6px}.terminal-table .trader-item strong{display:block;font-size:12px;font-weight:600}.terminal-table .trader-item small{display:block;color:var(--secondary-text);font-size:10px;margin-top:3px}.terminal-table .price-display{font-size:12px}.terminal-table .price-display small{font-size:9px;margin-left:3px}.terminal-price{padding:6px 8px;border:1px solid var(--line);border-radius:5px;color:var(--ink);background:var(--surface)}.terminal-price:hover{border-color:var(--brand);color:var(--navy)}
.terminal-bids>header .text-button{margin-left:auto;font-size:12px}.spread{font-variant-numeric:tabular-nums}.spread b{color:var(--ink);margin-left:4px;font-weight:550}.spread small{font-size:11px}.bid-table-wrap{overflow:auto;flex:1}.bid-table{width:100%;border-collapse:collapse;font-size:12px;font-variant-numeric:tabular-nums;text-align:right}.bid-table th{position:sticky;top:0;z-index:1;background:var(--surface);color:var(--secondary-text);font-size:11px;font-weight:500;padding:6px 16px}.bid-table th:first-child,.bid-table td:first-child{text-align:left}.bid-table td{height:28px;padding:5px 16px;position:relative}.bid-table tr{background:linear-gradient(to left,color-mix(in srgb,var(--green) 9%,transparent) var(--depth,0%),transparent var(--depth,0%))}.bid-table .price-display{font-size:12px}.bid-table .price-display small{font-size:9px}.terminal-manage{background:none;color:var(--navy);font-size:11px;border-top:1px solid var(--fine-line);padding:7px;text-align:center}
.terminal-events{overflow:auto;flex:1;scrollbar-width:thin}.terminal-events>button{display:flex;align-items:center;width:100%;padding:9px 14px;gap:9px;text-align:left;background:none;color:var(--ink);border-bottom:1px solid var(--fine-line)}.terminal-events .item-thumb{width:29px;height:29px;flex:none;border-radius:5px}.terminal-events>button>span{flex:1;min-width:0}.terminal-events strong{display:block;font-size:11px;font-weight:600}.terminal-events small{display:block;font-size:10px;color:var(--secondary-text);margin-top:2px}.terminal-events b{font-size:12px;font-weight:550}.terminal-events .price-display small{display:none}.terminal-segment{display:flex;gap:16px}.terminal-segment button{background:none;font-size:13px;color:var(--secondary-text);padding:0;font-weight:600}.terminal-segment button[aria-pressed=true]{color:var(--navy)}.terminal-periods{display:flex;gap:3px;margin-left:auto}.terminal-periods button{background:none;font-size:10px;padding:5px 7px;border-radius:5px;color:var(--secondary-text)}.terminal-periods button[aria-pressed=true]{background:var(--brand-soft);color:var(--navy)}.terminal-periods button:disabled{opacity:.35}.terminal-chart-readout{display:flex;justify-content:space-between;align-items:center;padding:16px 14px 8px;gap:10px;min-height:50px}.terminal-chart-readout strong{font-size:14px;font-variant-numeric:tabular-nums}.terminal-chart-readout>span{font-size:11px;color:var(--secondary-text)}.terminal-chart-readout .price-display small{display:inline;font-size:10px}.terminal-plot{min-height:0;padding:8px 10px 14px;min-width:0;flex:1}.terminal-plot svg{width:100%;height:100%;max-height:290px;display:block;overflow:visible}.terminal-plot text{fill:var(--secondary-text);font:10px var(--ui-font);stroke:none}.plot-grid path{fill:none;stroke:var(--fine-line);stroke-width:1}.sale-dot{fill:var(--brand);fill-opacity:.65;stroke:var(--surface);stroke-width:1;cursor:crosshair}.sale-dot:hover,.sale-dot:focus{fill:var(--gold);fill-opacity:1;r:5;outline:none}.volume-bar{fill:var(--brand);opacity:.6}.depth-line{fill:none;stroke-width:2;vector-effect:non-scaling-stroke}.depth-line.bids{stroke:var(--green)}.depth-line.asks{stroke:#e75d74}.depth-dot.bids{fill:var(--green);stroke:none}.depth-dot.asks{fill:#e75d74;stroke:none}.depth-key{display:flex;gap:18px;padding:0 20px 16px;font-size:12px}.depth-key span:first-child{color:var(--green)}.depth-key span:nth-child(2){color:#e75d74}
.terminal-sweepbar{position:fixed;bottom:35px;left:var(--gutter);right:var(--gutter);z-index:29;display:flex;gap:20px;align-items:center;background:var(--surface);padding:13px 20px;border:1px solid var(--line);border-bottom:0;border-radius:8px 8px 0 0;box-shadow:none;min-height:72px}.sweep-summary{display:flex;gap:20px;align-items:center}.sweep-summary strong{font-size:14px}.sweep-summary>.price-display{font-size:17px}.sweep-stepper{display:flex;height:36px;border:1px solid var(--line);border-radius:7px;overflow:hidden;margin-left:auto}.sweep-stepper button{width:32px;background:var(--quiet-surface);color:var(--ink);font-size:20px}.sweep-stepper input{width:42px;background:var(--surface);color:var(--ink);border:0;text-align:center;font-size:13px;appearance:textfield}.sweep-stepper input::-webkit-inner-spin-button{display:none}.sweep-available{font-size:12px;color:var(--secondary-text)}
.market-directory-wrap{width:100%;overflow:auto;border:1px solid var(--line);border-radius:12px;background:var(--surface)}.market-directory{width:100%;min-width:1350px;border-collapse:collapse;white-space:nowrap;text-align:right;font-variant-numeric:tabular-nums}.market-directory th{padding:14px 12px;color:var(--secondary-text);font-size:11px;font-weight:500;background:var(--quiet-surface)}.market-directory th button{font:inherit;color:inherit;background:none;padding:0}.market-directory td{padding:16px 12px;border-top:1px solid var(--fine-line);font-size:13px}.market-directory th:first-child,.market-directory td:first-child{text-align:left;min-width:215px}.market-directory .price-display small{font-size:9px}.market-directory .collection-thumb{width:34px;height:34px}.market-directory .table-collection{gap:10px}.market-directory .table-collection strong{font-size:13px}.market-directory .table-collection small{font-size:11px}.secondary-value{display:block;color:var(--secondary-text);font-size:10px;font-weight:400;margin-top:4px}.directory-metric-picker{display:none}
@media(hover:hover){.terminal-table tr:hover,.terminal-events>button:hover,.market-directory tbody tr:hover{background:var(--quiet-surface)}}
@media(max-width:1450px){.terminal-grid{grid-template-columns:minmax(0,1fr) 320px}.market-metrics{grid-template-columns:repeat(11,105px)}.terminal-table{min-width:780px}.terminal-table td,.terminal-table th{padding-left:8px;padding-right:8px}}
@media(max-width:900px){.terminal-grid{grid-template-columns:minmax(0,1fr) 290px}.terminal-items>header{flex-wrap:wrap}.terminal-items>header .search{max-width:none;flex:1}.terminal-items>header h3{display:none}}

@media(min-width:701px) and (max-height:850px){body[data-trading=true] #app{padding-top:12px}body[data-trading=true] .breadcrumb{display:none}body[data-trading=true] .collection-cover{height:60px}body[data-trading=true] .market-metrics{padding-top:12px;padding-bottom:12px}body[data-trading=true] .terminal{padding-top:12px}.terminal-grid{height:max(340px,calc(100dvh - 396px));grid-template-rows:80px minmax(75px,1fr) 147px}}

.terminal-plot .volume-bar{stroke:none}.sale-dot{fill-opacity:.9}.terminal-panel{min-height:0}

@media(min-width:701px){.terminal-panel>header{min-height:44px;padding-top:7px;padding-bottom:7px}.terminal-chart-readout{min-height:40px;padding:10px 14px 4px}.terminal-plot{padding-top:4px;padding-bottom:8px}.terminal-plot text{font-size:12px}.terminal-manage{padding:5px}}

body[data-trading=true]{overflow-anchor:none}

.terminal-chart-readout{flex-wrap:wrap;gap:3px 10px;align-content:center;min-height:50px}.terminal-chart-readout>span{font-size:11px;line-height:1.4}.terminal-chart-readout strong{font-size:13px}.terminal-plot text{font-size:12px}.terminal-plot .axis-title{font-size:9px;font-weight:500;letter-spacing:.4px}.terminal-periods button{font-size:11px;white-space:nowrap}.terminal-charts>header{gap:8px}.terminal-segment{gap:14px}.depth-area{stroke:none;fill-opacity:.08}.depth-area.bids{fill:var(--green)}.depth-area.asks{fill:#e75d74}.depth-dot{cursor:crosshair;stroke:var(--surface)!important;stroke-width:1}.depth-dot:hover,.depth-dot:focus{r:5;outline:none}.depth-key{gap:14px;padding:0 14px 12px;font-size:11px}.depth-key>span:before{content:'';display:inline-block;width:6px;height:6px;border-radius:50%;margin-right:5px;background:currentColor}.depth-key small{margin-left:auto;color:var(--secondary-text);font-size:10px}.terminal-chart-empty{display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:28px;text-align:center;min-height:190px}.terminal-chart-empty strong{font-size:14px;font-weight:600}.terminal-chart-empty span{font-size:12px;color:var(--secondary-text);line-height:1.5}.terminal-panel>header h3{font-size:13px}.terminal-table th{height:40px;padding-top:10px;padding-bottom:10px}.terminal-table td{height:52px}.terminal-table .price-display,.terminal-table .trader-item strong{font-size:13px}.terminal-table .item-thumb{width:32px;height:32px}.terminal-price{border-radius:5px;padding:5px 7px}.terminal-panel{box-shadow:none}.terminal-table .trader-item small{font-size:11px}

.volume-bar{cursor:crosshair}.volume-bar:focus,.volume-bar:hover{opacity:1;fill:var(--gold);outline:none}
