.trading-page{width:min(calc(100% - 3rem),1320px);margin-inline:auto;padding-block:3rem 4rem}.trading-intro{margin-bottom:2rem}.trading-intro h1{font-size:clamp(2rem,4vw,2.75rem);font-weight:750;letter-spacing:-.035em;line-height:1.2}.trading-intro>p{color:var(--v2-text-secondary);line-height:1.7;margin-top:.8rem;max-width:48rem}.trading-intro .trading-snapshot-note{font-size:.8rem;color:var(--v2-text-muted)}.trading-filters{display:flex;align-items:center;gap:1rem;padding:1rem;border:1px solid var(--v2-border);border-radius:1rem;background:var(--v2-section)}.trading-search{display:flex;align-items:center;gap:.7rem;flex:1;min-width:0;background:var(--v2-page);border:1px solid var(--v2-border);border-radius:.65rem;padding:0 .9rem;color:var(--v2-text-muted)}.trading-search input{background:transparent;border:0;min-width:0;width:100%;min-height:46px;color:var(--v2-text-primary);font-size:.95rem;outline:0}.trading-search:focus-within{outline:2px solid var(--v2-focus-ring);outline-offset:2px}.trading-side-filters{display:flex;gap:.35rem}.trading-side-filters button,.trading-pagination button,.trading-empty button{min-height:44px;padding:.6rem 1rem;border-radius:.55rem;font-size:.875rem;color:var(--v2-text-secondary);border:1px solid transparent}.trading-side-filters button[aria-pressed=true]{background:var(--v2-primary-soft);color:var(--v2-primary-hover);border-color:var(--v2-primary)}.trading-side-filters button:hover{background:var(--v2-surface-hover)}.trading-page :is(button,a):focus-visible{outline:2px solid var(--v2-focus-ring);outline-offset:3px}.trading-result-count{margin-block:1.25rem 1rem;color:var(--v2-text-muted);font-size:.85rem;overflow-wrap:anywhere;scroll-margin-top:6rem}.trading-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.25rem;align-items:start}.trading-card{min-width:0;border:1px solid var(--v2-border);border-radius:1rem;background:var(--v2-card);overflow:hidden}.trading-card-header{display:flex;align-items:center;gap:.4rem;padding:.5rem .75rem;border-bottom:1px solid var(--v2-border);color:var(--v2-text-muted);font-size:.75rem}.trading-card-header svg{flex:none}.trading-card-header time{white-space:nowrap}.trading-chat{display:inline-flex;align-items:center;justify-content:center;gap:.6rem;min-height:40px;padding:.45rem .8rem;flex:none;border:1px solid var(--v2-primary);color:var(--v2-primary-hover);border-radius:.55rem;font-size:.85rem;font-weight:600}.trading-chat:hover{background:var(--v2-primary-soft)}.trading-no-chat{color:var(--v2-text-muted);font-size:.75rem}.trading-sides{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.trading-sides>section{padding:1.1rem;min-width:0}.trading-sides>section+section{border-left:1px solid var(--v2-border)}.trading-sides h3{font-size:.7rem;text-transform:uppercase;letter-spacing:.08em;color:var(--v2-text-secondary);font-weight:600;margin-bottom:.9rem}.trading-sides ul{display:flex;flex-direction:column;gap:.65rem}.trading-item{display:flex;align-items:center;gap:.65rem;min-width:0;padding:.6rem;background:var(--v2-surface-nested);border-radius:.6rem}.trading-item img{flex:none;width:48px;height:48px;-o-object-fit:contain;object-fit:contain}.trading-item>div{min-width:0}.trading-item-name{display:block;font-size:.85rem;font-weight:500;overflow-wrap:anywhere;line-height:1.4}.trading-item-meta{display:flex;flex-wrap:wrap;gap:.5rem;font-size:.7rem;color:var(--v2-text-muted);margin-top:.2rem}.trading-item-meta>span{color:var(--v2-text-secondary)}.trading-empty-side{color:var(--v2-text-muted);font-size:.85rem;line-height:1.6}.trading-alternatives{font-size:.8rem;margin-top:.8rem;line-height:1.6;color:var(--v2-text-secondary);overflow-wrap:anywhere}.trading-alternatives>span{color:var(--v2-text-muted)}.trading-options{border-top:1px solid var(--v2-border);padding:.8rem 1.1rem;color:var(--v2-text-muted);font-size:.75rem;line-height:1.6;overflow-wrap:anywhere}.trading-pagination{display:flex;justify-content:center;align-items:center;gap:1rem;margin-top:2rem}.trading-pagination span{font-size:.8rem;color:var(--v2-text-muted)}.trading-pagination button,.trading-empty button{border-color:var(--v2-border);background:var(--v2-section)}.trading-pagination button:hover:not(:disabled){border-color:var(--v2-primary);color:var(--v2-primary-hover)}.trading-pagination button:disabled{opacity:.4;cursor:not-allowed}.trading-empty{text-align:center;padding:4rem 1rem;border:1px dashed var(--v2-border);border-radius:1rem}.trading-empty h2{font-size:1.25rem;font-weight:600}.trading-empty p{margin:.7rem 0 1.2rem;color:var(--v2-text-muted)}@media (max-width:900px){.trading-grid{grid-template-columns:1fr}}@media (max-width:600px){.trading-page{width:calc(100% - 2rem);padding-top:2rem}.trading-filters{flex-direction:column;align-items:stretch;padding:.75rem;gap:.75rem}.trading-side-filters button{flex:1}.trading-card-header{padding:.85rem;gap:.6rem}.trading-sides>section{padding:.85rem .65rem}.trading-item{flex-direction:column;align-items:flex-start;gap:.4rem}.trading-item img{width:44px;height:44px}.trading-item-name{font-size:.8rem}.trading-pagination{gap:.5rem}.trading-pagination button{padding:.6rem .7rem}}.trading-card{height:320px;display:grid;grid-template-rows:40px minmax(0,1fr) 44px}.trading-card-header{min-width:0}.trading-sides{min-height:0}.trading-sides>section{padding:.75rem;min-width:0;overflow:hidden}.trading-sides h3{margin-bottom:.6rem}.trading-rail-wrap{position:relative;min-width:0}.trading-sides .trading-item-rail{display:flex;flex-direction:row;gap:.5rem;height:166px;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scrollbar-width:thin;scrollbar-color:var(--v2-border-strong) transparent;padding-bottom:6px}.trading-item-rail:focus-visible{outline:2px solid var(--v2-focus-ring);outline-offset:-2px}.trading-item-rail .trading-item{flex:0 0 116px;height:154px;display:flex;flex-direction:column;align-items:center;gap:.3rem;padding:.5rem;border:1px solid var(--v2-border);scroll-snap-align:start;text-align:center}.trading-item-rail .trading-item img{width:64px;height:64px}.trading-item-rail .trading-item>div{width:100%;min-height:0;display:flex;flex:1;flex-direction:column;justify-content:space-between}.trading-item-rail .trading-item-name{font-size:.75rem;line-height:1.3;overflow-y:auto}.trading-item-rail .trading-item-meta{justify-content:center;gap:.3rem;flex:none;font-size:.65rem}.trading-item-rail .trading-alternative-item{justify-content:flex-start;text-align:left;align-items:stretch;font-size:.75rem;line-height:1.4}.trading-alternative-label{color:var(--v2-text-muted);font-size:.7rem;flex:none}.trading-alternative-item p{overflow-y:auto;overflow-wrap:anywhere;min-height:0;color:var(--v2-text-secondary)}.trading-rail-arrow{position:absolute;top:55px;width:30px;height:44px;display:grid;place-items:center;border:1px solid var(--v2-border-strong);border-radius:1rem;background:var(--v2-section);color:var(--v2-text-primary);font-size:1.4rem;box-shadow:0 2px 6px #0003}.trading-rail-arrow:hover{background:var(--v2-surface-hover);border-color:var(--v2-primary)}.trading-rail-prev{left:-5px}.trading-rail-next{right:-5px}.trading-options{min-height:0;padding:.5rem .9rem;overflow-y:auto;font-size:.7rem;line-height:1.5}.trading-options:empty{border-top-color:transparent}@media (max-width:600px){.trading-sides>section{padding:.75rem .5rem}.trading-item-rail .trading-item{flex-basis:calc(100% - 24px);max-width:116px;min-width:96px}.trading-card-header{padding:.45rem .65rem}.trading-rail-arrow{width:28px}}.trading-sides .trading-item-rail{scrollbar-width:none;height:166px;padding-bottom:0}.trading-item-rail::-webkit-scrollbar{display:none}.trading-side-heading{display:flex;align-items:center;flex-wrap:wrap;gap:.2rem .35rem;min-height:26px;margin-bottom:.4rem}.trading-side-heading h3{margin:0;font-size:.6rem;letter-spacing:.025em;flex:none}.trading-side-heading>span{font-size:.6rem;color:var(--v2-text-muted);white-space:nowrap}.trading-side-heading>strong{font-size:.8rem;margin-left:auto;color:var(--v2-text-primary)}.trading-item-rail .trading-market-item{padding:0;overflow:hidden;height:154px;display:block}.trading-item-info{display:flex;flex-direction:column;align-items:center;justify-content:space-between;position:relative;width:100%;height:100%;color:var(--v2-text-primary);cursor:help}.trading-item-rail .trading-item-info>img{width:100%;height:116px;-o-object-fit:contain;object-fit:contain;padding:14px 5px 4px}.trading-form-badge,.trading-quantity-badge{position:absolute;top:5px;border-radius:.3rem;background:var(--v2-section);border:1px solid var(--v2-border-strong);padding:.1rem .25rem;font-size:.6rem;line-height:1.4;color:var(--v2-text-primary)}.trading-form-badge{left:5px}.trading-quantity-badge{right:5px}.trading-tile-quote{display:flex;align-items:center;justify-content:center;gap:.25rem;width:100%;min-height:30px;border-top:1px solid var(--v2-border);padding:.25rem .15rem;font-size:.65rem}.trading-tile-quote strong{font-size:.75rem}.trading-tile-quote>span{color:var(--v2-text-muted);font-size:.6rem}.trading-item-info:focus-visible{outline:2px solid var(--v2-focus-ring)!important;outline-offset:-3px!important}.trading-item-tooltip{position:fixed;z-index:1000;width:240px;max-width:calc(100vw - 16px);display:flex;align-items:flex-start;gap:.6rem;padding:.7rem;background:var(--v2-card);border:1px solid var(--v2-border-strong);border-radius:.65rem;box-shadow:0 6px 22px #0005;color:var(--v2-text-primary);font-size:.75rem;pointer-events:none}.trading-item-tooltip>img{width:52px;height:52px;-o-object-fit:contain;object-fit:contain;flex:none}.trading-item-tooltip>div{min-width:0;flex:1}.trading-item-tooltip strong{display:block;overflow-wrap:anywhere;line-height:1.3}.trading-item-tooltip div>span{display:block;color:var(--v2-text-muted);text-transform:capitalize;font-size:.7rem;margin:.15rem 0 .35rem}.trading-item-tooltip dl{display:grid;grid-template-columns:auto 1fr;gap:.1rem .5rem;font-size:.65rem}.trading-item-tooltip dt{color:var(--v2-text-muted)}.trading-item-tooltip dd{margin:0;text-transform:capitalize;overflow-wrap:anywhere}.trading-item-tooltip small{display:block;font-size:.6rem;color:var(--v2-text-secondary);margin-top:.35rem}@media (max-width:600px){.trading-side-heading{height:38px;align-content:start}.trading-side-heading h3{flex-basis:100%}.trading-side-heading>strong{font-size:.7rem}.trading-side-heading>span{font-size:.55rem}.trading-item-rail .trading-market-item{height:140px}.trading-item-rail .trading-item-info>img{height:106px}.trading-sides .trading-item-rail{height:148px}}.trading-item-rail .trading-alternative-item{align-items:center;gap:.25rem}.trading-item-rail .trading-alternative-item>img{width:80px;height:80px;flex:none}.trading-alternative-item p{width:100%;font-size:.65rem;line-height:1.4;scrollbar-width:thin}.trading-alternative-item:focus-visible{outline:2px solid var(--v2-focus-ring);outline-offset:-3px}@media (max-width:600px){.trading-item-rail .trading-alternative-item{height:140px}.trading-item-rail .trading-alternative-item>img{width:72px;height:72px}}.trading-open-offers{width:116px;max-width:100%;height:154px;display:grid;place-items:center;border:1px solid var(--v2-border);border-radius:.6rem;background:var(--v2-surface-nested)}.trading-open-offers img{width:104px;max-width:100%;height:104px;-o-object-fit:contain;object-fit:contain;padding:4px}@media (max-width:600px){.trading-open-offers{height:140px}}.trading-item-rail .trading-choice-divider{justify-content:center;align-items:center;overflow:hidden}.trading-item-rail .trading-choice-divider>img{width:88px;height:88px;-o-object-fit:contain;object-fit:contain}.trading-market-item-fallback .trading-item-info>img{height:88px;flex:none}.trading-fallback-name{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;width:100%;padding:0 .25rem;color:var(--v2-text-secondary);font-size:.62rem;font-weight:600;line-height:1.2;overflow-wrap:anywhere}.trading-load-error{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin:1rem 0;padding:1rem;border:1px solid var(--v2-border-strong);border-radius:.7rem;background:var(--v2-section);color:var(--v2-text-secondary)}.trading-load-error button{min-height:44px;padding:.5rem 1rem;border:1px solid var(--v2-primary);border-radius:.55rem;color:var(--v2-primary-hover);font-weight:600}.trading-load-error button:hover{background:var(--v2-primary-soft)}.trading-grid{gap:.9rem}.trading-card{height:278px;grid-template-rows:36px minmax(0,1fr) 44px}.trading-card-header{padding:.4rem .75rem}.trading-card-footer{display:flex;align-items:center;justify-content:flex-end;gap:.6rem;min-width:0;padding:0 .65rem;border-top:1px solid var(--v2-border)}.trading-card-footer .trading-options{flex:1;min-width:0;max-height:42px;border:0;padding:0;font-size:.7rem;line-height:1.3}.trading-chat{min-height:40px;padding:.35rem .75rem}.trading-sides>section{position:relative;padding:.55rem .65rem}.trading-side-heading{min-height:24px;margin-bottom:.3rem;gap:.25rem .4rem}.trading-side-heading h3{padding:.15rem .35rem;border:1px solid var(--v2-border-strong);border-radius:.3rem;background:var(--v2-primary-soft);color:var(--v2-primary-hover);line-height:1.2}.trading-side-heading>span{font-size:.63rem}.trading-side-heading>strong{font-size:.85rem}.trading-sides .trading-item-rail{height:150px}.trading-item-rail .trading-item,.trading-item-rail .trading-market-item{height:144px;flex-basis:118px}.trading-item-rail .trading-item-info>img{height:114px}.trading-item-rail .trading-market-item:hover{border-color:var(--v2-border-strong);background:var(--v2-surface-hover)}.trading-rail-arrow{top:57px;width:30px;height:30px;border-radius:50%;font-size:1.15rem}.trading-rail-prev{left:6px}.trading-rail-next{right:6px}.trading-open-offers{height:144px;width:118px}.trading-item-rail .trading-market-item-fallback .trading-item-info>img{height:78px;flex:0 0 78px;padding:8px 5px 2px}.trading-market-item-fallback .trading-fallback-name{flex:1;min-height:0;align-content:center}.trading-item-name{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;overflow-wrap:anywhere;width:100%;height:28px;flex:0 0 28px;padding:0 .25rem;font-size:.62rem;line-height:14px;color:var(--v2-text-secondary)}.trading-item-rail .trading-item-info>img,.trading-item-rail .trading-market-item-fallback .trading-item-info>img{height:84px;flex:0 0 84px;padding:6px 5px 2px}@media (max-width:600px){.trading-card{height:288px}.trading-card-header{padding:.4rem .65rem}.trading-card-footer{padding:0 .5rem}.trading-sides>section{padding:.55rem .45rem}.trading-side-heading{height:38px}.trading-sides .trading-item-rail{height:146px}.trading-item-rail .trading-item,.trading-item-rail .trading-market-item{height:140px}.trading-item-rail .trading-item-info>img,.trading-item-rail .trading-market-item-fallback .trading-item-info>img{height:80px;flex-basis:80px}.trading-rail-arrow{width:28px;height:28px;top:56px}.trading-open-offers{height:140px}}.trading-item-rail .trading-market-item-static{height:auto;min-height:114px}.trading-item-info-static{cursor:default;justify-content:flex-start}.trading-item-rail .trading-item-info-static .trading-item-name{height:auto;min-height:28px;flex-basis:auto;-webkit-line-clamp:unset;overflow:visible}@media (max-width:600px){.trading-item-rail .trading-market-item-static{min-height:110px}}.trading-item-info-static[tabindex]{cursor:help;min-height:142px}.trading-item-info-static[tabindex] .trading-tile-quote{margin-top:auto}@media (max-width:600px){.trading-item-info-static[tabindex]{min-height:138px}}
