/* Dexscreener on Solana 2 — reference-matched dense market layout */
#dex-icon { top: 336px; }
#dex-icon img { width: 46px; height: 46px; object-fit: contain; }
.dex-window { left: 50%; top: 50%; width: calc(100% - 42px); height: calc(100% - 56px); min-height: 440px; max-width: none; transform: translate(-50%, -50%); overflow: hidden; }
.dex-window.maximized { left: 6px; top: 6px; width: calc(100% - 12px); height: calc(100% - 12px); min-height: 0; transform: none; }
.dex-window .window-title img { width: 18px; height: 18px; object-fit: contain; }
.dex-shell { display: grid; grid-template-columns: 196px minmax(0, 1fr); height: calc(100% - 30px); min-width: 0; overflow: hidden; background: #202024; color: #e4e4e8; font-family: "Pump Inter", Inter, Arial, sans-serif; font-size: 12px; scrollbar-color: #62636c #25252a; scrollbar-width: thin; }
.dex-shell *, .dex-shell *::before, .dex-shell *::after { box-sizing: border-box; }
.dex-shell button, .dex-shell input, .dex-shell select { font-family: inherit; }
.dex-shell button { cursor: pointer; }
.dex-shell button:focus-visible, .dex-shell input:focus-visible, .dex-shell select:focus-visible, .dex-pair-row:focus-visible { outline: 2px solid #a9b7ff; outline-offset: -2px; }
.dex-visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }

/* Left navigation */
.dex-sidebar { display: flex; flex-direction: column; min-width: 0; min-height: 0; overflow-y: auto; border-right: 1px solid #414149; background: #1b1b1f; }
.dex-brand { display: flex; align-items: center; gap: 9px; flex: 0 0 48px; padding: 0 10px; background: #202024; }
.dex-brand > img { width: 29px; height: 32px; flex: 0 0 29px; object-fit: contain; }
.dex-brand > strong { margin-right: auto; color: #f5f5f6; font-size: 17px; font-weight: 500; letter-spacing: -.5px; white-space: nowrap; }
.dex-brand > strong span { color: #f5f5f6; }
.dex-collapse { color: #aaaab2; font-size: 19px; letter-spacing: -3px; }
.dex-search-form { display: grid; grid-template-columns: 19px minmax(0, 1fr) auto; align-items: center; flex: 0 0 37px; height: 37px; margin: 8px 9px 10px; overflow: hidden; border: 1px solid #3b3b43; border-radius: 6px; background: #2d2d33; }
.dex-search-form:focus-within { border-color: #8b9ff4; }
.dex-search-form svg { width: 18px; height: 18px; margin-left: 9px; fill: none; stroke: #f0f0f3; stroke-width: 2; }
.dex-search-form input { min-width: 0; height: 100%; padding: 0 8px; border: 0; outline: 0; background: transparent; color: #fff; font-size: 13px; }
.dex-search-form input::placeholder { color: #f0f0f3; opacity: 1; }
.dex-search-form kbd { display: grid; place-items: center; width: 21px; height: 23px; margin-right: 7px; border: 1px solid #666670; border-radius: 3px; background: #222228; color: #fff; font-family: inherit; font-size: 12px; }
.dex-launch-app { display: flex; align-items: center; justify-content: center; gap: 9px; flex: 0 0 36px; margin: 0 9px 8px; border: 0; border-radius: 5px; background: #45454e; color: #f3f3f6; font-size: 12px; font-weight: 650; }
.dex-launch-app:hover { background: #52525d; }
.dex-launch-app img { width: 20px; height: 20px; object-fit: contain; }
.dex-primary-nav { display: grid; flex: 0 0 auto; padding: 0 7px 8px; }
.dex-primary-nav button, .dex-chain-nav button { display: flex; align-items: center; gap: 11px; width: 100%; height: 36px; padding: 0 9px; border: 0; border-radius: 4px; background: transparent; color: #f0f0f3; font-size: 13px; font-weight: 550; text-align: left; }
.dex-primary-nav button:hover, .dex-chain-nav button:hover { background: #303036; }
.dex-primary-nav button > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dex-primary-nav button > svg { width: 19px; height: 19px; flex: 0 0 19px; fill: none; stroke: #f4f4f6; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.dex-primary-nav button:first-child > svg { fill: #f4f4f6; stroke-width: 1.1; }
.dex-chain-nav { display: grid; flex: 0 0 auto; gap: 1px; margin: 0 9px; padding: 8px 0 10px; border-top: 1px solid #3c3c43; }
.dex-chain-nav button { height: 35px; padding-inline: 7px; }
.dex-chain-nav button.active { background: #34343d; }
.dex-chain-nav button > img, .dex-solana2-icon { width: 20px; height: 20px; flex: 0 0 20px; }
.dex-chain-nav button > img { object-fit: contain; }
.dex-chain-nav button > span:not(.dex-solana2-icon) { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dex-solana2-icon { position: relative; display: grid; place-items: center; }
.dex-solana2-icon img { width: 20px; height: 20px; }
.dex-solana2-icon b { position: absolute; right: -5px; bottom: -3px; display: grid; place-items: center; width: 12px; height: 12px; border: 1px solid #34343d; border-radius: 50%; background: #8298ff; color: white; font-size: 8px; }
.dex-chain-nav button > i { width: 6px; height: 6px; margin-left: auto; border-radius: 50%; background: #35d7a0; }
.dex-watchlist { flex: 0 0 auto; margin: 0 9px; padding: 11px 0 18px; border-top: 1px solid #3c3c43; }
.dex-watchlist-title { display: flex; justify-content: space-between; padding: 0 3px 9px; color: #f1f1f4; font-size: 11px; font-weight: 650; }
.dex-watchlist-title > span:last-child { color: #b6b6be; font-size: 15px; }
.dex-watchlist button { display: flex; justify-content: space-between; width: 100%; padding: 4px 3px; border: 0; background: transparent; color: #e2e2e7; font-size: 11px; text-align: left; }
.dex-watchlist p { margin: 12px 3px 0; color: #777780; font-size: 10px; }
.dex-sidebar-bottom { display: flex; align-items: center; gap: 8px; min-height: 43px; margin-top: auto; padding: 8px 11px; border-top: 1px solid #3c3c43; color: #f0f0f3; font-size: 11px; }
.dex-sidebar-bottom strong { font-weight: 550; }
.dex-user-dot { width: 19px; height: 19px; border: 2px solid #f0f0f3; border-radius: 50%; }
.dex-live-status { margin-left: auto; color: #a5a5ae; font-size: 8px; white-space: nowrap; }

/* Ticker, network message and summary */
.dex-workspace { display: flex; flex-direction: column; min-width: 0; min-height: 0; overflow-y: auto; overflow-x: hidden; background: #202024; }
.dex-topbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex: 0 0 48px; min-width: 0; padding: 0 10px; overflow: hidden; background: #17171b; }
.dex-ticker-tape { display: flex; align-items: center; gap: 8px; min-width: 0; overflow: hidden; }
.dex-ticker-tape button { display: flex; align-items: center; gap: 6px; height: 34px; min-width: 0; padding: 0 6px; border: 0; border-radius: 4px; background: transparent; color: #f0f0f3; font-size: 11px; white-space: nowrap; }
.dex-ticker-tape button:hover { background: #2c2c32; }
.dex-ticker-tape img { width: 19px; height: 19px; border-radius: 50%; object-fit: cover; }
.dex-ticker-tape strong { color: #f4f4f6; font-size: 12px; }
.dex-ticker-tape button > span:not(.dex-change) { color: #f0f0f3; }
.dex-ticker-tape .dex-change { font-size: 10px; }
.dex-ticker-empty { padding-left: 5px; color: #aaaab2; font-size: 11px; }
.dex-network-badge { display: inline-flex; align-items: center; gap: 6px; flex: 0 0 auto; color: #d6d6dc; font-size: 10px; }
.dex-network-badge i, .dex-table-footer i { width: 6px; height: 6px; border-radius: 50%; background: #35d7a0; }
.dex-board-view { min-width: 0; }
.dex-promo { display: flex; align-items: center; gap: 8px; min-height: 55px; margin: 11px 10px 8px; padding: 0 13px; border: 1px solid #46464f; border-radius: 9px; background: #2b2b32; color: #f0f0f4; font-size: 12px; }
.dex-promo > img { width: 20px; height: 20px; }
.dex-promo > strong { white-space: nowrap; }
.dex-promo > span { color: #e0e0e6; }
.dex-promo > button { padding: 5px 9px; border: 1px solid #5a5b68; border-radius: 4px; background: #3a3b46; color: #fff; font-size: 10px; }
.dex-promo > small { margin-left: auto; color: #b4b4bd; font-size: 9px; letter-spacing: .5px; }
.dex-market-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; padding: 0 10px 9px; }
.dex-market-strip > div { display: flex; align-items: center; justify-content: center; gap: 7px; min-width: 0; height: 48px; border: 1px solid #38383e; border-radius: 9px; background: #151519; }
.dex-market-strip dt { color: #c9c9d0; font-size: 11px; }
.dex-market-strip dd { margin: 0; color: #fff; font-size: 13px; font-weight: 650; font-variant-numeric: tabular-nums; }

/* Filter row */
.dex-market { min-width: 0; }
.dex-filterbar { display: flex; align-items: center; justify-content: space-between; gap: 9px; min-height: 49px; padding: 7px 10px; overflow-x: auto; background: #2b2b30; scrollbar-width: thin; }
.dex-filter-group, .dex-market-tools { display: flex; align-items: center; gap: 6px; min-width: 0; }
.dex-filter-group { flex: 1 0 auto; }
.dex-filter-group > button, .dex-market-tools > button, .dex-trending-control > button { height: 32px; padding: 0 10px; border: 1px solid #484850; border-radius: 6px; background: #303037; color: #f1f1f4; font-size: 11px; font-weight: 550; white-space: nowrap; }
.dex-filter-group > button:hover, .dex-filter-group > button.active, .dex-market-tools > button:hover { background: #41414a; }
.dex-filter-group button b { margin-left: 5px; color: #a9b9ff; }
.dex-filter-group > .dex-period-button { border-color: #9aafff; background: #91a7f6; color: #fff; }
.dex-filter-group > .dex-period-button b { color: #fff; }
.dex-filter-arrows { display: flex; gap: 3px; }
.dex-filter-arrows span { display: grid; place-items: center; width: 30px; height: 32px; border: 1px solid #4a4a52; border-radius: 5px; background: #17171b; color: #fff; font-size: 12px; }
.dex-trending-control { display: flex; align-items: center; overflow: hidden; border: 1px solid #91a7f6; border-radius: 6px; background: #8299eb; }
.dex-trending-control > button { border: 0; border-radius: 0; background: transparent; }
.dex-timeframes { display: flex; align-items: center; gap: 2px; height: 30px; padding-right: 3px; }
.dex-timeframes button { min-width: 32px; height: 26px; padding: 0 6px; border: 0; border-radius: 4px; background: #6c83d2; color: #fff; font-size: 10px; font-weight: 600; }
.dex-timeframes button.active { background: #fff; color: #6884e8; }
.dex-market-tools { flex: 0 0 auto; }
#dex-result-count { display: none; }
.dex-market-tools label { display: flex; align-items: center; gap: 5px; height: 32px; padding-left: 9px; border: 1px solid #4b4b54; border-radius: 5px; background: #242429; color: #f0f0f3; font-size: 11px; font-weight: 550; white-space: nowrap; }
.dex-market-tools select { align-self: stretch; max-width: 104px; padding: 0 5px; border: 0; outline: 0; background: #242429; color: #fff; font-size: 11px; }
#dex-order { width: 21px; height: 28px; padding: 0; border: 0; background: transparent; color: #fff; font-size: 14px; }

/* Reference table */
.dex-table-scroll { width: 100%; min-width: 0; overflow-x: auto; scrollbar-color: #62636c #25252a; scrollbar-width: thin; }
.dex-pairs-table { width: 100%; min-width: 1180px; border-collapse: collapse; table-layout: fixed; }
.dex-pairs-table th { height: 39px; padding: 0 12px; border-right: 1px solid #66666e; background: #55555d; color: #fff; font-size: 11px; font-weight: 650; text-align: left; text-transform: uppercase; white-space: nowrap; }
.dex-pairs-table th:first-child { width: 30%; }
.dex-pairs-table th:not(:first-child) { width: 6.36%; }
.dex-pairs-table th:first-child, .dex-pairs-table td:first-child { position: sticky; left: 0; z-index: 1; padding-left: 12px; }
.dex-pairs-table th:first-child { z-index: 2; }
.dex-pairs-table td { height: 43px; padding: 4px 12px; border-right: 1px solid #3b3b42; border-bottom: 1px solid #3b3b42; background: #29292f; color: #f2f2f4; font-size: 12px; font-weight: 550; font-variant-numeric: tabular-nums; text-align: left; white-space: nowrap; }
.dex-pairs-table td:first-child { background: #29292f; }
.dex-pair-row { cursor: pointer; }
.dex-pair-row:hover td, .dex-pair-row:hover td:first-child { background: #34343b; }
.dex-token { display: flex; align-items: center; gap: 9px; min-width: 0; }
.dex-rank { width: 23px; flex: 0 0 23px; color: #c7c7cf; font-size: 10px; }
.dex-token-chain { width: 18px; height: 18px; flex: 0 0 18px; object-fit: contain; }
.dex-token-image { width: 29px; height: 29px; flex: 0 0 29px; border-radius: 3px; object-fit: cover; background: #eee; }
.dex-token-copy { min-width: 0; overflow: hidden; }
.dex-token-copy > span { display: flex; align-items: baseline; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dex-token-copy strong { color: #f5d34e; font-size: 12px; font-weight: 750; }
.dex-token-copy small { margin-left: 5px; color: #c7c7cf; font-size: 10px; }
.dex-token-copy > span > span { margin-left: 7px; overflow: hidden; color: #f0f0f3; font-size: 11px; text-overflow: ellipsis; }
.dex-mcap { color: #72d7f3 !important; }
.dex-price { color: #f4f4f6 !important; }
.dex-age { color: #e7e7eb !important; }
.dex-change { color: #d4d4da; }
.dex-change.positive { color: #48dfa4; }
.dex-change.negative { color: #ff7181; }
.dex-empty { padding: 48px 20px; color: #b0b0b9; text-align: center; white-space: normal; }
.dex-empty strong { display: block; margin-bottom: 6px; color: #f0f0f3; font-size: 13px; }
.dex-empty span { font-size: 11px; }
.dex-table-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 12px 18px; background: #202024; color: #92929c; font-size: 9px; }
.dex-table-footer > span:first-child { display: flex; align-items: center; gap: 6px; }

/* Pair detail */
.dex-detail-view { min-width: 0; padding: 14px 16px 26px; }
.dex-detail-back { margin: 0 0 14px; padding: 0; border: 0; background: transparent; color: #b2b2bc; font-size: 11px; }
.dex-detail-back:hover { color: #fff; }
.dex-pair-header { display: flex; flex-wrap: wrap; align-items: center; gap: 11px; margin-bottom: 16px; }
.dex-pair-header > img { width: 42px; height: 42px; border-radius: 4px; object-fit: cover; background: #34343c; }
.dex-pair-identity { min-width: 140px; }
.dex-pair-identity h1 { margin: 0 0 3px; color: #f4f4f6; font-size: 18px; font-weight: 630; }
.dex-pair-identity > span { color: #aaaab4; font-size: 11px; }
.dex-pair-price { display: grid; gap: 3px; margin-left: 10px; }
.dex-pair-price > strong { color: #f2f2f5; font-size: 15px; font-weight: 570; font-variant-numeric: tabular-nums; }
#dex-detail-change { font-size: 11px; }
#dex-detail-change small { margin-left: 3px; color: #9b9ba5; }
.dex-pair-actions { display: flex; flex-wrap: wrap; gap: 7px; margin-left: auto; }
.dex-pair-actions button { height: 32px; padding: 0 10px; border: 1px solid #50505b; border-radius: 5px; background: #303037; color: #e2e2e8; font-size: 10px; }
#dex-open-pump { border-color: #8299eb; background: #7189dd; color: #fff; }
#dex-open-pump:hover { background: #8299eb; }
.dex-detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 14px; align-items: start; }
.dex-detail-main { min-width: 0; }
.dex-detail-sidebar { display: grid; gap: 12px; align-content: start; min-width: 0; }
.dex-coin-profile { min-width: 0; overflow: hidden; border: 1px solid #42424b; border-radius: 6px; background: #24242a; }
.dex-banner-shell { position: relative; width: 100%; aspect-ratio: 3 / 1; overflow: hidden; border-bottom: 1px solid #42424b; background: #2b2b31; }
#dex-detail-banner { display: block; width: 100%; height: 100%; object-fit: cover; }
#dex-detail-banner[hidden], #dex-banner-placeholder[hidden], #dex-edit-profile[hidden] { display: none; }
.dex-banner-placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; height: 100%; padding: 12px; color: #b1b1bc; text-align: center; }
.dex-banner-placeholder strong { color: #dedee5; font-size: 11px; font-weight: 550; }
.dex-banner-placeholder span { max-width: 225px; font-size: 10px; line-height: 1.4; }
.dex-profile-content { padding: 12px; }
.dex-detail-description { margin: 0 0 12px; color: #c1c1ca; font-size: 11px; line-height: 1.55; overflow-wrap: anywhere; white-space: pre-line; }
.dex-social-links { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.dex-social-links a { display: inline-flex; align-items: center; justify-content: space-between; gap: 8px; flex: 1 1 auto; min-height: 29px; padding: 5px 8px; border: 1px solid #45454f; border-radius: 4px; background: #303038; color: #e5e5eb; font-size: 10px; text-decoration: none; }
.dex-social-links a:hover { border-color: #676775; background: #3b3b44; }
.dex-social-links > span { color: #858590; font-size: 10px; }
.dex-edit-profile { width: 100%; height: 32px; border: 1px solid #91a7f6; border-radius: 5px; background: #91a7f6; color: #121830; font-size: 11px; font-weight: 650; }
.dex-edit-profile:hover { background: #a3b6ff; }
.dex-network-info { padding: 14px; border: 1px solid #42424b; border-radius: 6px; background: #24242a; }
.dex-network-info > span { color: #91a7f6; font-size: 9px; font-weight: 650; letter-spacing: 1.3px; }
.dex-network-info h2 { margin: 8px 0; color: #eeeef2; font-size: 13px; font-weight: 580; line-height: 1.4; }
.dex-network-info p { margin: 0; color: #a9a9b4; font-size: 10px; line-height: 1.6; }
.dex-profile-dialog { width: min(540px, calc(100vw - 28px)); max-height: calc(100dvh - 40px); margin: auto; padding: 0; overflow: auto; border: 1px solid #51515c; border-radius: 8px; background: #202024; color: #e4e4e8; box-shadow: 0 20px 70px #0009; scrollbar-color: #62636c #25252a; scrollbar-width: thin; }
.dex-profile-dialog::backdrop { background: #08080ccc; }
.dex-profile-dialog form { margin: 0; }
.dex-profile-dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; border-bottom: 1px solid #3e3e46; }
.dex-profile-dialog-header span { color: #9999a4; font-size: 9px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }
.dex-profile-dialog-header h2 { margin: 4px 0 0; color: #f4f4f6; font-size: 18px; font-weight: 600; }
#dex-profile-close { width: 28px; height: 28px; padding: 0; border: 0; border-radius: 4px; background: transparent; color: #c6c6cf; font-size: 23px; line-height: 1; }
#dex-profile-close:hover { background: #36363e; color: #fff; }
.dex-profile-intro { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 12px; margin: 0; padding: 14px 18px 0; color: #aaaab5; font-size: 11px; }
.dex-profile-intro strong { color: #48dfa4; font-size: 10px; font-weight: 550; white-space: nowrap; }
.dex-profile-fields { display: grid; gap: 13px; padding: 16px 18px; }
.dex-profile-field { display: grid; gap: 7px; min-width: 0; }
.dex-profile-field > span { display: flex; justify-content: space-between; gap: 10px; color: #e1e1e7; font-size: 11px; font-weight: 550; }
.dex-profile-field > span small, .dex-profile-field > small { color: #8f8f9a; font-size: 9px; font-weight: 400; line-height: 1.5; }
.dex-profile-field input, .dex-profile-field textarea { width: 100%; min-width: 0; border: 1px solid #484852; border-radius: 4px; outline: 0; background: #17171b; color: #ededf2; font-family: inherit; font-size: 12px; }
.dex-profile-field input { height: 36px; padding: 0 10px; }
.dex-file-control { display: flex; align-items: center; min-width: 0; height: 37px; overflow: hidden; border: 1px solid #484852; border-radius: 4px; background: #17171b; }
.dex-file-control > button { align-self: stretch; flex: 0 0 auto; padding: 0 11px; border: 0; border-right: 1px solid #484852; background: #3b3b44; color: #f0f0f4; font-size: 10px; }
.dex-file-control > button:hover { background: #4a4a55; }
.dex-file-control > span { min-width: 0; padding: 0 10px; overflow: hidden; color: #a9a9b4; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.dex-profile-field textarea { min-height: 72px; max-height: 140px; padding: 9px 10px; line-height: 1.5; resize: vertical; }
.dex-profile-field input:focus-visible, .dex-profile-field textarea:focus-visible { border-color: #a9b7ff; outline: 2px solid #a9b7ff; outline-offset: 1px; }
.dex-profile-link-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.dex-profile-link-fields > label:last-child { grid-column: 1 / -1; }
.dex-profile-dialog-footer { display: flex; align-items: center; gap: 8px; padding: 12px 18px; border-top: 1px solid #3e3e46; background: #202024; }
#dex-profile-status { flex: 1; margin-right: auto; color: #48dfa4; font-size: 10px; line-height: 1.4; }
#dex-profile-status.error { color: #ff8996; }
.dex-profile-dialog-footer button { height: 34px; padding: 0 12px; border: 1px solid #51515d; border-radius: 5px; background: #303038; color: #e4e4eb; font-size: 11px; white-space: nowrap; }
#dex-profile-save { border-color: #91a7f6; background: #91a7f6; color: #121830; font-weight: 650; }
.dex-shell button:disabled { cursor: wait; opacity: .6; }
.dex-chart-panel { min-width: 0; overflow: hidden; border: 1px solid #42424b; border-radius: 6px; background: #1b1b20; }
.dex-chart-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 37px; padding: 0 12px; border-bottom: 1px solid #42424b; }
.dex-chart-heading strong { color: #eeeef2; font-size: 11px; font-weight: 550; }
.dex-chart-heading span { color: #9999a4; font-size: 10px; }
.dex-detail-chart-wrap { padding: 8px 10px 0; }
.dex-detail-chart { display: block; width: 100%; height: auto; min-height: 220px; }
.dex-chart-grid line { stroke: #3b3b44; stroke-width: 1; }
.dex-chart-grid text { fill: #92929e; font-family: "Pump Inter", sans-serif; font-size: 9px; }
.dex-chart-times { display: flex; justify-content: space-between; padding: 0 14px 10px; color: #92929e; font-size: 9px; }
.dex-pair-stats { display: flex; flex-direction: column; justify-content: space-between; min-width: 0; padding: 5px 13px 13px; border: 1px solid #42424b; border-radius: 6px; background: #24242a; }
.dex-pair-stats dl { margin: 0; }
.dex-pair-stats dl > div { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px solid #3c3c44; }
.dex-pair-stats dt { color: #aaaab4; font-size: 10px; }
.dex-pair-stats dd { margin: 0; color: #eeeef2; font-size: 11px; font-variant-numeric: tabular-nums; text-align: right; }
.dex-pressure { padding-top: 14px; }
.dex-pressure > div:first-child { display: flex; justify-content: space-between; margin-bottom: 7px; color: #aaaab4; font-size: 10px; }
.dex-pressure b { color: #eeeef2; font-weight: 500; }
.dex-pressure-track { height: 4px; overflow: hidden; border-radius: 3px; background: #ff7181; }
.dex-pressure-track span { display: block; width: 0; height: 100%; background: #48dfa4; }
.dex-trades { margin-top: 14px; }
.dex-trades-heading { display: flex; align-items: baseline; gap: 9px; margin-bottom: 9px; }
.dex-trades-heading h2 { margin: 0; color: #eeeef2; font-size: 13px; font-weight: 580; }
.dex-trades-heading span { color: #9999a4; font-size: 10px; }
.dex-trades table { width: 100%; min-width: 680px; border-collapse: collapse; }
.dex-trades th { padding: 9px 11px; border-top: 1px solid #42424b; border-bottom: 1px solid #42424b; background: #34343b; color: #eeeef2; font-size: 10px; font-weight: 550; text-align: left; }
.dex-trades td { padding: 10px 11px; border-bottom: 1px solid #3b3b42; background: #29292f; color: #dedee4; font-size: 11px; font-variant-numeric: tabular-nums; }
.dex-trades code { color: #a9b9e9; font-size: 10px; }
.dex-side { font-weight: 550; text-transform: capitalize; }
.dex-side.buy { color: #48dfa4; }
.dex-side.sell { color: #ff7181; }
.dex-no-trades { padding: 28px !important; color: #aaaab4 !important; text-align: center; }

@media (max-width: 1450px) {
  .dex-filter-group > [data-dex-nav="ads"], .dex-filter-group > [data-dex-nav="launchpad"] { display: none; }
  .dex-filter-group, .dex-market-tools { gap: 4px; }
  .dex-filter-group > button, .dex-market-tools > button, .dex-trending-control > button { padding-inline: 8px; }
}
@media (max-width: 1150px) {
  .dex-shell { grid-template-columns: 174px minmax(0, 1fr); }
  .dex-brand > strong { font-size: 14px; }
  .dex-brand > img { width: 25px; flex-basis: 25px; }
  .dex-filter-group > [data-dex-nav="profile"], .dex-filter-group > [data-dex-nav="boosted"], .dex-market-tools > [data-dex-nav="customize"] { display: none; }
  .dex-ticker-tape button:nth-child(n+5) { display: none; }
  .dex-detail-layout { grid-template-columns: minmax(0, 1fr) 270px; }
}
@media (max-width: 760px) {
  .dex-window, .dex-window.maximized { left: 6px; top: 6px; width: calc(100% - 12px); height: calc(100% - 12px); min-height: 0; transform: none; }
  .dex-window .window-title { font-size: 11px; }
  .dex-shell { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); }
  .dex-sidebar { display: grid; grid-template-columns: auto minmax(110px, 1fr) auto; align-items: center; overflow: visible; border-right: 0; border-bottom: 1px solid #414149; }
  .dex-brand { min-height: 45px; }
  .dex-brand > strong { font-size: 12px; }
  .dex-collapse { display: none; }
  .dex-search-form { margin: 5px 7px; }
  .dex-launch-app, .dex-primary-nav, .dex-watchlist, .dex-sidebar-bottom { display: none; }
  .dex-chain-nav { display: flex; gap: 3px; margin: 0; padding: 5px 7px 5px 0; border: 0; }
  .dex-chain-nav button { width: auto; height: 31px; padding: 0 7px; }
  .dex-chain-nav button > span:not(.dex-solana2-icon), .dex-chain-nav button > i { display: none; }
  .dex-topbar { flex-basis: 40px; }
  .dex-ticker-tape button { padding-inline: 4px; }
  .dex-ticker-tape button > span:not(.dex-change), .dex-ticker-tape button:nth-child(n+4) { display: none; }
  .dex-promo { min-height: 42px; margin: 8px; padding-inline: 10px; }
  .dex-promo > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .dex-promo > small { display: none; }
  .dex-market-strip { padding: 0 8px 8px; }
  .dex-filterbar { padding-inline: 8px; }
  .dex-filter-arrows { display: none; }
  .dex-detail-layout { grid-template-columns: 1fr; }
  .dex-detail-chart { min-height: 0; }
  .dex-pair-actions { width: 100%; margin-left: 0; }
}
@media (max-width: 520px) {
  #dex-icon { top: 268px; }
  .dex-sidebar { grid-template-columns: auto minmax(85px, 1fr) auto; }
  .dex-brand { gap: 5px; padding-inline: 7px; }
  .dex-brand > strong span { display: none; }
  .dex-brand > img { width: 22px; flex-basis: 22px; }
  .dex-search-form kbd, .dex-network-badge { display: none; }
  .dex-promo > strong { font-size: 10px; }
  .dex-promo > span { font-size: 10px; }
  .dex-promo > button { display: none; }
  .dex-market-strip { gap: 7px; }
  .dex-market-strip > div { height: 43px; }
  .dex-market-strip dt { font-size: 9px; }
  .dex-market-strip dd { font-size: 11px; }
  .dex-market-tools { display: none; }
  .dex-filter-group > [data-dex-sort="age"] { display: none; }
  .dex-detail-view { padding: 11px 10px 22px; }
  .dex-pair-price { margin-left: 0; }
  .dex-pair-identity { min-width: 110px; }
  .dex-pair-actions button { max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
  .dex-table-footer { padding-inline: 10px; }
}
@media (max-height: 570px) {
  .dex-window, .dex-window.maximized { top: 6px; max-height: none; overflow: hidden; }
}
