.trade-section { background: #fff; padding: 32px 0 90px; }
.trade-shell { width: min(1180px, 100%); margin: auto; padding: 0 32px; }
.trade-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 44px; }
.trade-kicker { margin: 0 0 18px; font-size: 13px; font-weight: 700; letter-spacing: 1.6px; color: #103d91; }
.trade-heading h2 { font-size: clamp(38px, 4.1vw, 56px); font-weight: 750; line-height: 1.25; letter-spacing: -2px; margin: 0; word-break: keep-all; }
.trade-description { font-size: 20px; color: #6e798b; line-height: 1.7; margin: 22px 0 0; }
.trade-preview-label { flex-shrink: 0; color: #103d91; padding: 10px 14px; border: 1px solid #cedaf0; border-radius: 40px; font-size: 14px; font-weight: 600; }
.trade-board { background: #fff; }
.trade-board-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px 0 22px; border-bottom: 1px solid #e6ebf3; }
.trade-board-top h2 { font-size: 24px; letter-spacing: -.5px; margin: 0; }
.trade-board-top h2 > span { margin-left: 8px; font-size: 18px; color: #7b8aa1; font-weight: 500; }
.trade-counts { display: flex; gap: 22px; font-size: 15px; color: #647189; }
.trade-counts > span { display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.trade-counts b { font-variant-numeric: tabular-nums; color: #263a58; margin-left: 2px; }
.status-dot { display: block; width: 7px; height: 7px; border-radius: 50%; }
.status-dot.completed { background: #1b6d62; }
.status-dot.talking { background: #9b6a10; }
.status-dot.ongoing { background: #103d91; }
.trade-list { height: 784px; padding: 0 8px 0 0; overflow-y: auto; overscroll-behavior-y: auto; scrollbar-width: thin; scrollbar-color: #bac7db #f5f7fb; scrollbar-gutter: stable; }
.trade-list:focus-visible { outline-offset: -3px; }
.trade-row { display: grid; grid-template-columns: 80px minmax(0,1fr) 94px 142px 24px; align-items: center; gap: 22px; width: 100%; min-width: 0; height: 112px; padding: 11px 6px; border: 0; border-bottom: 1px solid #e9edf3; text-align: left; color: #192942; background: #fff; transition: background .2s; }
.trade-row:last-child { border-bottom: 0; }
.trade-row:hover { background: #f5f8fe; }
.trade-row:focus-visible { outline-offset: -2px; border-radius: 10px; }
.trade-row img { width: 80px; height: 80px; object-fit: contain; border-radius: 12px; background: #f0f3f7; }
.trade-watch-name { font-size: 22px; line-height: 1.4; font-weight: 650; letter-spacing: -.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.trade-state { justify-self: start; padding: 7px 10px; border-radius: 7px; font-size: 14px; font-weight: 650; white-space: nowrap; }
.trade-state.completed { color: #1b6d62; background: #eaf5f1; }
.trade-state.talking { color: #8c6212; background: #fff5df; }
.trade-state.ongoing { color: #103d91; background: #edf2fc; }
.trade-elapsed { color: #78859a; font-size: 15px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.trade-row-arrow { color: #103d91; font-size: 24px; }
.trade-board-bottom { display: flex; align-items: center; justify-content: space-between; padding: 18px 32px; background: #f7f9fc; border-top: 1px solid #e8edf5; font-size: 14px; line-height: 1.6; color: #708098; gap: 16px; }
.trade-example-note { color: #7a8598; font-size: 14px; line-height: 1.8; margin: 20px 4px 0; word-break: keep-all; }
.trade-access { width: min(400px,calc(100% - 36px)); max-height: calc(100svh - 40px); overflow: auto; border: 0; border-radius: 28px; padding: 56px 28px 28px; color: #142744; box-shadow: 0 28px 100px #03112e4d; }
.trade-access::backdrop { background: #0d1e3e85; backdrop-filter: blur(4px); }
.trade-dialog-close { position: absolute; right: 20px; top: 16px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: #f2f5fa; color: #5e6f87; font-size: 26px; }
.trade-lock { display: grid; place-items: center; width: 70px; height: 70px; border-radius: 22px; color: #103d91; background: #edf3ff; margin: 0 0 26px; }
.trade-lock svg { width: 42px; height: 42px; stroke-width: 2; }
.trade-access h2 { font-size: 23px; line-height: 1.5; letter-spacing: -1px; margin: 0 0 16px; }
.trade-access > p { font-size: 17px; line-height: 1.65; color: #748099; margin: 0 0 26px; }
#trade-code-form { display: grid; gap: 12px; }
#trade-code-form label { font-size: 16px; font-weight: 600; }
#trade-access-code { width: 100%; min-width: 0; border: 1px solid #d7dfed; border-radius: 12px; padding: 17px 15px; color: #142744; font-size: 18px; }
#trade-access-code::placeholder { font-size: 17px; color: #8b98ac; }
.trade-code-submit { display: flex; align-items: center; justify-content: space-between; margin-top: 4px; padding: 18px; border: 0; border-radius: 12px; font-size: 18px; font-weight: 650; color: white; background: #103d91; }
.trade-access .trade-code-status { font-size: 13px; color: #6e7e97; margin: 18px 0 0; }
@media (max-width: 900px) {
  .trade-heading { align-items: flex-start; flex-direction: column; }
  .trade-row { grid-template-columns: 74px minmax(0,1fr) 88px 110px; gap: 15px; }
  .trade-row img { width: 74px; height: 74px; }
  .trade-row-arrow { display: none; }
  .trade-watch-name { font-size: 20px; }
  .trade-elapsed { font-size: 13px; }
  .trade-board-top { flex-wrap: wrap; gap: 14px; }
}
@media (max-width: 600px) {
  .trade-section { padding: 20px 0 65px; }
  .trade-shell { padding: 0 18px; }
  .trade-heading { gap: 16px; margin-bottom: 28px; }
  .trade-heading h2 { font-size: 32px; letter-spacing: -1.2px; }
  .trade-kicker { font-size: 10px; letter-spacing: 1px; margin-bottom: 14px; }
  .trade-description { font-size: 16px; margin-top: 16px; }
  .trade-preview-label { font-size: 12px; padding: 7px 11px; }
  .trade-board { border-radius: 20px; }
  .trade-board-top { padding: 16px 0; }
  .trade-board-top h2 { font-size: 20px; }
  .trade-counts { gap: 12px; font-size: 12px; }
  .trade-counts > span { gap: 4px; }
  .trade-list { height: 672px; padding: 0 4px 0 0; }
  .trade-row { grid-template-columns: 64px minmax(0,1fr) auto; grid-template-rows: auto auto; height: 96px; gap: 5px 12px; padding: 13px 2px; }
  .trade-row img { width: 64px; height: 64px; grid-row: span 2; border-radius: 9px; }
  .trade-watch-name { grid-column: 2 / -1; align-self: end; font-size: 16px; }
  .trade-state { grid-column: 2; align-self: start; font-size: 11px; padding: 4px 7px; }
  .trade-elapsed { align-self: start; padding-top: 4px; font-size: 11px; }
  .trade-board-bottom { display: block; padding: 14px 18px; font-size: 12px; }
  .trade-board-bottom > span { display: block; }
  .trade-board-bottom > span + span { margin-top: 5px; }
  .trade-example-note { font-size: 12px; }
  .trade-access { padding: 52px 22px 24px; }
  .trade-access h2 { font-size: 21px; }
}
@media (max-width: 360px) {
  .trade-heading h2 { font-size: 28px; }
  .trade-row { grid-template-columns: 56px minmax(0,1fr) auto; gap: 5px 8px; }
  .trade-row img { width: 56px; height: 64px; }
  .trade-watch-name { font-size: 14px; }
  .trade-elapsed { font-size: 10px; }
  .trade-counts { gap: 9px; font-size: 11px; }
}

.trade-code-status:empty { display: none; }

.trade-section { background: radial-gradient(ellipse at 15% 0%, #fbfdff, transparent 65%), linear-gradient(135deg, #e4ecf9, #edf1f8 60%, #dce7f7); padding: 76px 0 84px; }
.trade-shell { width: min(1280px, 100%); }
.trade-board { background: transparent; }
.trade-board-top { padding: 0 0 28px; border-color: #bac9df; }
.trade-board-top h2 { font-size: 30px; }
.trade-counts { font-size: 17px; }
.trade-list { height: 1092px; padding: 0 12px 0 0; scrollbar-color: #91a7c9 transparent; }
.trade-row { height: 156px; grid-template-columns: 120px minmax(0,1fr) 112px 28px; grid-template-rows: auto auto; gap: 10px 26px; padding: 18px 10px; background: transparent; border-color: #cbd7e8; }
.trade-row img { width: 120px; height: 120px; grid-row: 1 / 3; background: #ffffff80; border-radius: 16px; }
.trade-watch-name { grid-column: 2; grid-row: 1; align-self: end; font-size: 26px; }
.trade-elapsed { grid-column: 2; grid-row: 2; align-self: start; font-size: 18px; color: #617393; }
.trade-state { grid-column: 3; grid-row: 1 / 3; font-size: 16px; padding: 9px 13px; }
.trade-row-arrow { grid-column: 4; grid-row: 1 / 3; }
.trade-row:hover { background: #ffffff55; }
.trade-example-note { margin-top: 26px; color: #647693; }
@media (max-width: 900px) {
  .trade-row { grid-template-columns: 110px minmax(0,1fr) 100px; gap: 10px 20px; }
  .trade-row img { width: 110px; height: 120px; }
  .trade-watch-name { font-size: 24px; }
}
@media (max-width: 600px) {
  .trade-section { padding: 48px 0 55px; }
  .trade-board-top h2 { font-size: 25px; }
  .trade-counts { font-size: 12px; gap: 12px; }
  .trade-list { height: 896px; padding-right: 5px; }
  .trade-row { height: 128px; grid-template-columns: 88px minmax(0,1fr) auto; gap: 7px 14px; padding: 17px 3px; }
  .trade-row img { width: 88px; height: 94px; }
  .trade-watch-name { grid-column: 2 / -1; font-size: 19px; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .trade-elapsed { grid-column: 2; font-size: 14px; padding-top: 3px; }
  .trade-state { grid-column: 3; grid-row: 2; align-self: start; font-size: 11px; padding: 5px 7px; }
}
@media (max-width: 360px) {
  .trade-row { grid-template-columns: 76px minmax(0,1fr) auto; gap: 7px 10px; }
  .trade-row img { width: 76px; }
  .trade-watch-name { font-size: 17px; }
  .trade-elapsed { font-size: 12px; }
}

/* New York Watch navy, image-led rows and authentication-only amount masks. */
.trade-section { background: radial-gradient(ellipse at 90% 0%, #174eaa, transparent 65%), linear-gradient(145deg, #103d91, #0a2455); color: #fff; }
.trade-shell { width: min(1440px,100%); }
.trade-board-top { border-color: #ffffff40; }
.trade-board-top h2 > span, .trade-counts { color: #c7d9f7; }
.trade-counts b { color: #fff; }
.status-dot.completed { background: #a7d1ff; }
.status-dot.talking { background: #f0c87b; }
.status-dot.ongoing { background: #fff; }
.trade-list { height: 1288px; scrollbar-color: #7e9fd0 transparent; }
.trade-row { height: 184px; grid-template-columns: 132px minmax(0,1fr) 210px 28px; grid-template-rows: auto auto; gap: 12px 28px; padding: 24px 10px; color: #fff; border-color: #ffffff29; }
.trade-row img { width: 132px; height: 132px; background: #fff; }
.trade-watch-name { font-size: 27px; }
.trade-elapsed { color: #bed0ee; font-size: 18px; }
.trade-state { grid-column: 3; grid-row: 1; align-self: end; }
.trade-state.completed { color: #103d91; background: #d5e6ff; }
.trade-state.ongoing { color: #fff; background: #ffffff1c; border: 1px solid #ffffff4d; }
.trade-price { grid-column: 3; grid-row: 2; display: flex; align-items: center; gap: 8px; align-self: start; font-size: 18px; white-space: nowrap; }
.trade-price-label { font-size: 14px; color: #bed0ee; }
.trade-amount-mosaic { display: block; width: 92px; height: 22px; border-radius: 3px; background: repeating-conic-gradient(#e6efff 0% 25%, #809fcc 0% 50%) 0 0 / 9px 8px; filter: blur(1.8px); opacity: .8; }
.trade-row-arrow { color: #fff; }
.trade-row:hover { background: #ffffff0d; }
.trade-example-note { color: #b6c9e8; }
@media (max-width: 900px) {
  .trade-row { grid-template-columns: 116px minmax(0,1fr) 190px; gap: 12px 20px; }
  .trade-row img { width: 116px; }
  .trade-watch-name { font-size: 23px; white-space: normal; }
}
@media (max-width: 600px) {
  .trade-list { height: 1260px; }
  .trade-row { height: 180px; grid-template-columns: 90px minmax(0,1fr); grid-template-rows: auto auto auto; gap: 8px 15px; padding: 20px 2px; }
  .trade-row img { width: 90px; height: 126px; grid-row: 1 / 4; }
  .trade-watch-name { grid-column: 2; grid-row: 1; align-self: end; font-size: 19px; }
  .trade-elapsed { grid-column: 2; grid-row: 2; width: max-content; font-size: 13px; padding: 0; }
  .trade-state { grid-column: 2; grid-row: 2; justify-self: end; align-self: start; padding: 3px 5px; font-size: 10px; }
  .trade-price { grid-column: 2; grid-row: 3; font-size: 15px; gap: 6px; }
  .trade-price-label { font-size: 12px; }
  .trade-amount-mosaic { width: 75px; height: 20px; }
}
@media (max-width: 360px) {
  .trade-row { grid-template-columns: 76px minmax(0,1fr); gap: 8px 11px; }
  .trade-row img { width: 76px; }
  .trade-watch-name { font-size: 17px; }
  .trade-elapsed { font-size: 11px; }
}
