/* DeoTrade v2 - rebuilt responsive layout, 2026-10-17 */
html.fx-trade2-mode,html.fx-trade2-mode body{overflow-x:hidden}
body.fx-trade2-body #leftPanel,body.fx-trade2-body #rightPanel,body.fx-trade2-body .fx-v85-left-sidebar,body.fx-trade2-body .fx-v85-right-sidebar,body.fx-trade2-body .fx-v85-left-pin,body.fx-trade2-body .fx-v85-left-shade,body.fx-trade2-body #chatxicon,body.fx-trade2-body #posticon,body.fx-trade2-body #showrightoptionicon,body.fx-trade2-body #slipbet{display:none!important}
.fx-trade2{--t-bg:#f5f7fb;--t-card:#fff;--t-card2:#fafbfc;--t-text:#111827;--t-muted:#667085;--t-line:#e4e7ec;--t-soft:#f2f4f7;--t-accent:#f5b800;--t-accent-ink:#191a1e;--t-green:#079455;--t-red:#d92d20;--t-blue:#2563eb;--t-shadow:0 8px 30px rgba(16,24,40,.08);width:min(1500px,calc(100vw - 24px));margin:12px auto 78px;background:var(--t-bg);color:var(--t-text);border:1px solid var(--t-line);border-radius:18px;overflow:hidden;box-shadow:var(--t-shadow);font-family:inherit}
body.fx-v85-dark .fx-trade2,.fx-v85-dark-ready body .fx-trade2{--t-bg:#0d1117;--t-card:#151b23;--t-card2:#111720;--t-text:#f4f7fb;--t-muted:#98a2b3;--t-line:#283241;--t-soft:#1d2632;--t-accent:#f0b90b;--t-accent-ink:#111318;--t-green:#32d583;--t-red:#f97066;--t-blue:#84adff;--t-shadow:0 8px 30px rgba(0,0,0,.32)}
.fx-trade2 *{box-sizing:border-box}
.fx-trade2-hidden{display:none!important}
.fx-trade2 button,.fx-trade2 input,.fx-trade2 select,.fx-trade2 textarea{font:inherit}
.fx-trade2 button{touch-action:manipulation}

/* header */
.fx-trade2-header{min-height:64px;padding:10px 14px;display:flex;align-items:center;justify-content:space-between;gap:12px;background:var(--t-card);border-bottom:1px solid var(--t-line)}
.fx-trade2-brand{display:flex;align-items:center;gap:10px;min-width:0;text-decoration:none;color:var(--t-text)}
.fx-trade2-brand:hover{text-decoration:none;color:var(--t-text)}
.fx-trade2-logo{width:38px;height:38px;display:grid;place-items:center;flex:0 0 auto;border-radius:11px;background:var(--t-accent);color:var(--t-accent-ink);font-weight:950;font-size:13px;letter-spacing:-.04em}
.fx-trade2-brand-copy{display:flex;flex-direction:column;min-width:0;line-height:1.1}.fx-trade2-brand-copy strong{font-size:17px;font-weight:950}.fx-trade2-brand-copy small{margin-top:4px;color:var(--t-muted);font-size:10px;font-weight:750}
.fx-trade2-header-actions{display:flex;align-items:center;gap:7px}
.fx-trade2-btn,.fx-trade2-icon-btn{border:1px solid var(--t-line);background:var(--t-card);color:var(--t-text);border-radius:10px;font-weight:850;cursor:pointer}
.fx-trade2-btn{min-height:38px;padding:0 13px}.fx-trade2-icon-btn{width:38px;height:38px;display:grid;place-items:center;padding:0}
.fx-trade2-btn-soft:hover,.fx-trade2-icon-btn:hover{background:var(--t-soft)}
.fx-trade2-btn-accent{background:var(--t-accent);border-color:var(--t-accent);color:var(--t-accent-ink)}

/* account summary */
.fx-trade2-summary{display:grid;grid-template-columns:repeat(5,minmax(120px,1fr));background:var(--t-card);border-bottom:1px solid var(--t-line);overflow-x:auto;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
.fx-trade2-summary>div{min-width:120px;padding:10px 14px;border-right:1px solid var(--t-line)}.fx-trade2-summary>div:last-of-type{border-right:0}
.fx-trade2-summary span{display:block;color:var(--t-muted);font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.05em}.fx-trade2-summary strong{display:block;margin-top:4px;font-size:14px;font-weight:950;white-space:nowrap}

/* Spot/P2P mode */
.fx-trade2-modebar{display:flex;align-items:center;gap:6px;padding:8px 12px;background:var(--t-card);border-bottom:1px solid var(--t-line)}
.fx-trade2-modebar button{min-height:36px;padding:0 16px;border:0;border-radius:9px;background:transparent;color:var(--t-muted);font-weight:900;cursor:pointer}.fx-trade2-modebar button.is-active{background:var(--t-accent);color:var(--t-accent-ink)}
.fx-v85-ex-section{display:none}.fx-v85-ex-section.is-active{display:block}
.fx-trade2-main{min-width:0}

/* Tool tabs */
.fx-trade2-tabs{position:sticky;top:0;z-index:20;display:flex;gap:4px;padding:8px 10px;background:rgba(255,255,255,.95);border-bottom:1px solid var(--t-line);overflow-x:auto;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;scrollbar-width:none}.fx-trade2-tabs::-webkit-scrollbar{display:none}
body.fx-v85-dark .fx-trade2-tabs,.fx-v85-dark-ready body .fx-trade2-tabs{background:rgba(21,27,35,.96)}
.fx-trade2-tabs button{flex:0 0 auto;min-height:38px;padding:0 13px;border:1px solid transparent;border-radius:9px;background:transparent;color:var(--t-muted);font-size:12px;font-weight:900;white-space:nowrap;cursor:pointer}.fx-trade2-tabs button:hover{background:var(--t-soft);color:var(--t-text)}.fx-trade2-tabs button.is-active{background:var(--t-accent);border-color:var(--t-accent);color:var(--t-accent-ink)}
.fx-trade2-workspace,.fx-trade2-column{width:100%;min-width:0;max-width:100%}
.fx-trade2-panel{display:none;width:100%;min-width:0;padding:12px;background:var(--t-bg);color:var(--t-text)}.fx-trade2-panel.is-active{display:block}
.fx-trade2-message{padding:0 12px 12px}
.fx-trade2-panel-tools{display:flex;justify-content:flex-end;gap:7px;margin-bottom:10px}
.fx-trade2-dynamic,.fx-trade2-chart-info,.fx-v85-trade-market-home{width:100%;min-width:0}

/* Markets */
.fx-v85-trade-market-toolbar{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 10px 6px;background:var(--t-card);border:1px solid var(--t-line);border-bottom:0;border-radius:12px 12px 0 0}
.fx-v85-trade-live-strip{min-width:0;color:var(--t-text);font-size:12px;font-weight:800}.fx-v85-trade-live-strip font{font-size:12px!important}
.fx-v85-trade-alpha-strip{display:flex;gap:4px;max-width:55%;overflow-x:auto;color:var(--t-muted);font-size:11px;white-space:nowrap}.fx-v85-trade-alpha-strip a{color:var(--t-muted);cursor:pointer;text-decoration:none}.fx-v85-trade-alpha-strip a:hover{color:var(--t-text)}
.fx-v85-trade-category-strip{display:flex!important;gap:7px!important;align-items:center!important;overflow-x:auto!important;width:100%!important;max-width:100%!important;padding:8px 10px!important;background:var(--t-card)!important;border-left:1px solid var(--t-line);border-right:1px solid var(--t-line);white-space:nowrap;scrollbar-width:none}.fx-v85-trade-category-strip::-webkit-scrollbar{display:none}
.fx-v85-trade-category-strip hr{display:none!important}.fx-v85-trade-category-strip .tabtr{display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 auto!important;min-height:36px!important;padding:0 12px!important;margin:0!important;border:1px solid var(--t-line)!important;border-radius:9px!important;background:var(--t-soft)!important;box-shadow:none!important;color:var(--t-text)!important;font-size:12px!important;font-weight:850!important;white-space:nowrap!important}.fx-v85-trade-category-strip .tabtr a{color:inherit!important;text-decoration:none!important;cursor:pointer}.fx-v85-trade-favorites-active{border-color:var(--t-accent)!important;background:rgba(245,184,0,.14)!important}
.fx-v85-trade-market-message{display:none}
.fx-v85-trade-market-list{width:100%;min-width:0;background:var(--t-card);border:1px solid var(--t-line);border-radius:0 0 12px 12px;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch}
.fx-v85-trade-loader{display:block;margin:24px auto}

/* IMPORTANT: defeat legacy/global mobile table rules. Tables stay tables. */
.fx-trade2 .fx-v85-trade-table-wrap,.fx-trade2 #listradee,.fx-trade2 #hitbet,.fx-trade2 #wallet,.fx-trade2 #gethistory,.fx-trade2 #infotrade,.fx-trade2 #deopad,.fx-trade2 #airdrop,.fx-trade2 #deoearn,.fx-trade2 #deosoon{width:100%;max-width:100%;overflow-x:auto!important;overflow-y:visible;-webkit-overflow-scrolling:touch;position:relative}
.fx-trade2 table{display:table!important;border-collapse:collapse!important;border-spacing:0!important;width:100%!important;min-width:760px!important;max-width:none!important;margin:0!important;background:var(--t-card)!important;table-layout:auto!important}
.fx-trade2 thead{display:table-header-group!important}.fx-trade2 tbody{display:table-row-group!important}.fx-trade2 tfoot{display:table-footer-group!important}.fx-trade2 tr{display:table-row!important;width:auto!important}.fx-trade2 th,.fx-trade2 td{display:table-cell!important;float:none!important;position:static!important;width:auto!important;min-width:0!important;max-width:none!important;padding:11px 10px!important;border:0!important;border-bottom:1px solid var(--t-line)!important;background:transparent!important;color:var(--t-text)!important;font-size:12px!important;line-height:1.35!important;vertical-align:middle!important;white-space:nowrap!important;text-align:inherit!important}.fx-trade2 th{color:var(--t-muted)!important;font-size:10px!important;text-transform:uppercase;letter-spacing:.04em;font-weight:900!important;background:var(--t-card2)!important}.fx-trade2 tr:hover td{background:var(--t-soft)!important}
.fx-trade2 .fx-v85-trade-category-row th{padding:8px 10px!important;background:var(--t-soft)!important;color:var(--t-text)!important;font-size:11px!important;text-transform:none!important;letter-spacing:0}.fx-trade2 .fx-v85-trade-category-row div{font-weight:950}
.fx-trade2 td:before,.fx-trade2 th:before,.fx-trade2 td:after,.fx-trade2 th:after{max-width:none}
.fx-trade2 .fx-v85-trade-num{font-variant-numeric:tabular-nums}.fx-trade2 .fx-v85-trade-up{color:var(--t-green)!important}.fx-trade2 .fx-v85-trade-down{color:var(--t-red)!important}
.fx-trade2 progress{width:92px;height:5px;vertical-align:middle}
.fx-trade2 a{color:var(--t-blue)}
.fx-trade2 .fx-v85-trade-pair-icons{position:relative;display:inline-flex;align-items:center;width:38px;height:34px;margin:0 7px 0 4px;vertical-align:middle}.fx-trade2 .fx-v85-trade-pair-main{width:32px!important;height:32px!important;object-fit:cover;border-radius:50%}.fx-trade2 .fx-v85-trade-pair-quote{position:absolute;right:0;bottom:-1px;width:16px;height:16px;border:2px solid var(--t-card);border-radius:50%;overflow:hidden;background:var(--t-card)}.fx-trade2 .fx-v85-trade-pair-quote img{width:100%!important;height:100%!important;object-fit:cover}.fx-trade2 .fx-v85-trade-alert-button{width:30px;height:30px;border:1px solid var(--t-line);border-radius:50%;background:var(--t-card);cursor:pointer}

/* chart */
.fx-trade2 #container1,.fx-trade2 .fx-trade2-chart{width:100%!important;max-width:100%!important;height:clamp(360px,60vh,720px)!important;min-height:320px!important;background:var(--t-card);border:1px solid var(--t-line);border-radius:12px;overflow:hidden}.fx-trade2 .highcharts-container,.fx-trade2 .highcharts-root{max-width:100%!important}.fx-trade2-script-holder{display:none}

/* Token maker + generic forms */
.fx-v85-trade-maker{padding:4px}.fx-v85-trade-maker-form{background:var(--t-card);border:1px solid var(--t-line);border-radius:12px;padding:14px}.fx-v85-trade-maker-head{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:14px}.fx-v85-trade-maker-head h2{margin:3px 0;font-size:20px}.fx-v85-trade-maker-head p{margin:0;color:var(--t-muted);font-size:12px}.fx-v85-trade-kicker-inline{display:inline-flex;padding:4px 8px;border-radius:999px;background:rgba(245,184,0,.15);font-size:10px;font-weight:900;text-transform:uppercase}.fx-v85-trade-fee-card{min-width:170px;padding:10px;border-radius:10px;background:var(--t-soft)}.fx-v85-trade-fee-card small,.fx-v85-trade-fee-card em{display:block;color:var(--t-muted);font-size:10px}.fx-v85-trade-fee-card strong{display:block;margin:4px 0;font-size:17px}.fx-v85-trade-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.fx-v85-trade-form-grid label{display:block;color:var(--t-muted);font-size:11px;font-weight:850}.fx-v85-trade-form-grid label>span{display:block;margin-bottom:5px}.fx-v85-trade-form-grid input,.fx-v85-trade-form-grid select,.fx-v85-trade-form-grid textarea,.fx-trade2 input,.fx-trade2 select,.fx-trade2 textarea{max-width:100%;border:1px solid var(--t-line);border-radius:9px;background:var(--t-card);color:var(--t-text)}.fx-v85-trade-form-grid input,.fx-v85-trade-form-grid select{width:100%;min-height:42px;padding:8px 10px}.fx-v85-trade-form-grid textarea{width:100%;min-height:100px;padding:10px;resize:vertical}.fx-v85-trade-form-wide{grid-column:1/-1}.fx-v85-trade-maker-note,.fx-v85-trade-alert{margin-top:10px;padding:10px;border-radius:9px;background:var(--t-soft);font-size:12px}.fx-v85-trade-maker-actions{display:flex;justify-content:flex-end;margin-top:12px}.fx-v85-trade-maker-actions input[type=submit]{min-height:42px;padding:0 18px;border:0;border-radius:9px;background:var(--t-accent);color:var(--t-accent-ink);font-weight:900;cursor:pointer}

/* P2P */
.fx-v85-p2p-page{padding:14px}.fx-v85-p2p-hero{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;padding:16px;background:var(--t-card);border:1px solid var(--t-line);border-radius:12px}.fx-v85-p2p-kicker{color:var(--t-muted);font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.06em}.fx-v85-p2p-hero h1{margin:4px 0;font-size:24px}.fx-v85-p2p-hero p{margin:0;max-width:700px;color:var(--t-muted);font-size:12px;line-height:1.5}.fx-v85-p2p-hero-actions{display:flex;gap:7px;flex-wrap:wrap}.fx-v85-p2p-notice{margin:10px 0;padding:10px;border-radius:9px;background:var(--t-soft);font-size:12px}
.fx-v85-p2p-market,.fx-v85-p2p-card{margin-top:10px;background:var(--t-card);border:1px solid var(--t-line);border-radius:12px;overflow:hidden}.fx-v85-p2p-tabs{display:flex;align-items:center;gap:3px;padding:7px;border-bottom:1px solid var(--t-line);overflow-x:auto}.fx-v85-p2p-tabs button,.fx-v85-p2p-card-head button{min-height:36px;padding:0 10px;border:0;border-radius:8px;background:transparent;color:var(--t-muted);font-weight:850;white-space:nowrap;cursor:pointer}.fx-v85-p2p-tabs button.is-active{background:var(--t-accent);color:var(--t-accent-ink)}.fx-v85-p2p-spacer{flex:1}.fx-v85-p2p-filter{display:grid;grid-template-columns:repeat(4,minmax(0,1fr)) auto;gap:8px;padding:10px}.fx-v85-p2p-field{display:block}.fx-v85-p2p-field span{display:block;margin-bottom:4px;color:var(--t-muted);font-size:10px;font-weight:850}.fx-v85-p2p-field input,.fx-v85-p2p-field select{width:100%;min-height:40px;padding:7px 9px}
.fx-v85-p2p-loading,.fx-v85-p2p-empty{display:grid;place-items:center;min-height:100px;padding:16px;color:var(--t-muted);text-align:center;font-size:12px}.fx-v85-p2p-list-head,.fx-v85-p2p-ad{display:grid;grid-template-columns:1.4fr .8fr 1fr 1fr auto;gap:10px;align-items:center}.fx-v85-p2p-list-head{padding:8px 12px;background:var(--t-card2);color:var(--t-muted);font-size:10px;font-weight:900;text-transform:uppercase}.fx-v85-p2p-ad{padding:12px;border-top:1px solid var(--t-line)}.fx-v85-p2p-merchant{display:flex;gap:8px;align-items:center}.fx-v85-p2p-avatar{width:34px;height:34px;display:grid;place-items:center;flex:0 0 auto;border-radius:50%;background:var(--t-soft);font-weight:900}.fx-v85-p2p-merchant strong,.fx-v85-p2p-price strong,.fx-v85-p2p-limit strong{display:block;font-size:12px}.fx-v85-p2p-merchant small,.fx-v85-p2p-price small,.fx-v85-p2p-limit small{display:block;margin-top:3px;color:var(--t-muted);font-size:9px}.fx-v85-p2p-method{display:inline-flex;margin:2px;padding:3px 6px;border-radius:6px;background:var(--t-soft);font-size:9px;font-weight:800}.fx-v85-p2p-action button{min-height:36px;padding:0 12px;border:0;border-radius:8px;background:var(--t-accent);font-weight:900;cursor:pointer}
.fx-v85-p2p-dashboard{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(280px,.7fr);gap:10px}.fx-v85-p2p-card-head{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 12px;border-bottom:1px solid var(--t-line)}.fx-v85-p2p-card-head strong{font-size:12px}.fx-v85-p2p-order-row,.fx-v85-p2p-myad-row{display:grid;grid-template-columns:1.2fr 1fr auto;gap:10px;align-items:center;padding:10px 12px;border-bottom:1px solid var(--t-line);font-size:11px}.fx-trade2-p2p-stats{display:grid;grid-template-columns:repeat(3,1fr)}.fx-trade2-p2p-stats div{padding:10px;border-right:1px solid var(--t-line)}.fx-trade2-p2p-stats small{display:block;color:var(--t-muted);font-size:9px}.fx-trade2-p2p-stats strong{display:block;margin-top:4px;font-size:14px}.fx-v85-p2p-safety{padding:12px}.fx-v85-p2p-safety h3{margin:0 0 7px;font-size:12px}.fx-v85-p2p-safety ul{margin:0;padding-left:18px;color:var(--t-muted);font-size:11px;line-height:1.6}

/* P2P modal */
.fx-v85-p2p-modal-root{position:fixed;inset:0;z-index:9999;display:none;align-items:center;justify-content:center;padding:14px;background:rgba(3,7,18,.62)}.fx-v85-p2p-modal-root.is-open{display:flex}.fx-v85-p2p-modal{width:min(620px,100%);max-height:90vh;overflow:auto;background:var(--t-card);color:var(--t-text);border:1px solid var(--t-line);border-radius:14px;box-shadow:0 24px 80px rgba(0,0,0,.3)}.fx-v85-p2p-modal.is-wide{width:min(980px,100%)}.fx-v85-p2p-modal-head{position:sticky;top:0;z-index:2;display:flex;justify-content:space-between;align-items:center;padding:11px 13px;background:var(--t-card);border-bottom:1px solid var(--t-line)}.fx-v85-p2p-modal-close{width:36px;height:36px;border:0;border-radius:50%;background:var(--t-soft);color:var(--t-text);cursor:pointer}.fx-v85-p2p-modal-body{padding:12px}.fx-v85-p2p-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.fx-v85-p2p-form-grid .is-wide{grid-column:1/-1}.fx-v85-p2p-form-grid label span{display:block;margin-bottom:4px;color:var(--t-muted);font-size:10px;font-weight:850}.fx-v85-p2p-form-grid input,.fx-v85-p2p-form-grid select,.fx-v85-p2p-form-grid textarea{width:100%;min-height:40px;padding:8px 9px}.fx-v85-p2p-form-grid textarea{min-height:90px}.fx-v85-p2p-form-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:12px}.fx-v85-p2p-order-detail{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(280px,.7fr);gap:10px}.fx-v85-p2p-order-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.fx-v85-p2p-order-summary>div,.fx-v85-p2p-payment-box{padding:9px;border:1px solid var(--t-line);border-radius:8px;background:var(--t-card2)}.fx-v85-p2p-order-summary small{display:block;color:var(--t-muted);font-size:9px}.fx-v85-p2p-order-summary strong{display:block;margin-top:4px;font-size:11px}.fx-v85-p2p-payment-box{margin-top:9px}.fx-v85-p2p-payment-box h4{margin:0 0 7px;font-size:12px}.fx-v85-p2p-payment-box dl{display:grid;grid-template-columns:120px 1fr;gap:5px 8px;margin:0;font-size:10px}.fx-v85-p2p-payment-box dt{color:var(--t-muted)}.fx-v85-p2p-payment-box dd{margin:0;font-weight:800;word-break:break-word}.fx-v85-p2p-order-actions{display:flex;gap:7px;flex-wrap:wrap;margin-top:9px}.fx-v85-p2p-chat{border:1px solid var(--t-line);border-radius:9px;overflow:hidden}.fx-v85-p2p-chat-list{height:320px;overflow:auto;padding:9px}.fx-v85-p2p-chat-msg{max-width:86%;margin-bottom:7px;padding:7px 9px;border-radius:8px;background:var(--t-soft);font-size:11px}.fx-v85-p2p-chat-msg.is-me{margin-left:auto;background:rgba(245,184,0,.15)}.fx-v85-p2p-chat-msg small{display:block;margin-top:3px;color:var(--t-muted);font-size:8px}.fx-v85-p2p-chat-compose{display:flex;gap:6px;padding:8px;border-top:1px solid var(--t-line)}.fx-v85-p2p-chat-compose input{flex:1;min-width:0;padding:8px}

/* Mobile bottom navigation */
.fx-trade2-bottom{position:fixed;left:0;right:0;bottom:0;z-index:100;display:none;grid-template-columns:repeat(5,1fr);height:62px;padding-bottom:env(safe-area-inset-bottom);background:rgba(255,255,255,.97);border-top:1px solid var(--t-line);backdrop-filter:blur(14px)}body.fx-v85-dark .fx-trade2-bottom,.fx-v85-dark-ready body .fx-trade2-bottom{background:rgba(21,27,35,.97)}.fx-trade2-bottom button{min-width:0;border:0;background:transparent;color:var(--t-muted);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;font-weight:850}.fx-trade2-bottom button span{font-size:18px;line-height:1}.fx-trade2-bottom button small{font-size:9px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.fx-trade2-bottom button.is-active{color:var(--t-accent)}

@media(max-width:900px){
  body.fx-trade2-body .fx-v85-topbar{display:none!important}
  .fx-trade2{width:100%;margin:0 0 calc(62px + env(safe-area-inset-bottom));border-left:0;border-right:0;border-radius:0;box-shadow:none}
  .fx-trade2-header{min-height:54px;padding:7px 10px;position:sticky;top:0;z-index:60}
  .fx-trade2-logo{width:34px;height:34px}.fx-trade2-brand-copy strong{font-size:15px}.fx-trade2-brand-copy small{display:none}
  .fx-trade2-wallet-shortcut{display:none}.fx-trade2-btn{min-height:38px;padding:0 10px;font-size:11px}.fx-trade2-icon-btn{width:38px;height:38px}
  .fx-trade2-summary{display:flex;grid-template-columns:none}.fx-trade2-summary>div{flex:0 0 138px;min-width:138px;padding:9px 10px}.fx-trade2-summary span{font-size:9px}.fx-trade2-summary strong{font-size:13px}
  .fx-trade2-modebar{padding:6px 8px}.fx-trade2-modebar button{min-height:34px;padding:0 13px;font-size:11px}
  .fx-trade2-tabs{top:54px;padding:6px 7px}.fx-trade2-tabs button{min-height:38px;padding:0 11px;font-size:11px}
  .fx-trade2-panel{padding:7px}
  .fx-v85-trade-market-toolbar{padding:8px}.fx-v85-trade-market-toolbar{display:block}.fx-v85-trade-alpha-strip{max-width:100%;margin-top:6px;padding-bottom:2px}
  .fx-v85-trade-category-strip{padding:7px!important}.fx-v85-trade-category-strip .tabtr{min-height:34px!important;padding:0 10px!important;font-size:11px!important}
  .fx-trade2 table{min-width:720px!important}.fx-trade2 th{padding:8px 7px!important;font-size:9px!important}.fx-trade2 td{padding:9px 7px!important;font-size:11px!important}
  .fx-trade2 #container1,.fx-trade2 .fx-trade2-chart{height:clamp(310px,52dvh,430px)!important;min-height:300px!important}
  .fx-v85-trade-maker-head{display:block}.fx-v85-trade-fee-card{margin-top:10px;min-width:0}.fx-v85-trade-form-grid{grid-template-columns:1fr}.fx-v85-trade-form-wide{grid-column:auto}
  .fx-v85-p2p-page{padding:8px}.fx-v85-p2p-hero{display:block;padding:12px}.fx-v85-p2p-hero h1{font-size:20px}.fx-v85-p2p-hero-actions{margin-top:10px}.fx-v85-p2p-filter{grid-template-columns:repeat(2,minmax(0,1fr))}.fx-v85-p2p-filter>.fx-trade2-btn{grid-column:1/-1}.fx-v85-p2p-list-head{display:none}.fx-v85-p2p-ad{grid-template-columns:1fr auto;gap:8px}.fx-v85-p2p-ad .fx-v85-p2p-limit,.fx-v85-p2p-ad .fx-v85-p2p-methods{grid-column:1/2}.fx-v85-p2p-ad .fx-v85-p2p-action{grid-column:2;grid-row:1/4}.fx-v85-p2p-dashboard{grid-template-columns:1fr}.fx-v85-p2p-order-detail{grid-template-columns:1fr}.fx-v85-p2p-chat-list{height:240px}
  .fx-trade2-bottom{display:grid}
}
@media(max-width:520px){
  .fx-trade2-header-actions .fx-trade2-icon-btn{display:none}
  .fx-trade2-summary>div{flex-basis:124px;min-width:124px}
  .fx-trade2-tabs button{min-height:40px}
  .fx-trade2 table{min-width:680px!important}
  .fx-v85-p2p-filter{grid-template-columns:1fr}.fx-v85-p2p-filter>.fx-trade2-btn{grid-column:auto;width:100%}.fx-v85-p2p-ad{display:block}.fx-v85-p2p-ad>div{margin-bottom:8px}.fx-v85-p2p-ad .fx-v85-p2p-action button{width:100%}.fx-v85-p2p-hero-actions{display:grid;grid-template-columns:1fr 1fr}.fx-v85-p2p-hero-actions button{width:100%}
  .fx-v85-p2p-modal-root{padding:0;align-items:flex-end}.fx-v85-p2p-modal,.fx-v85-p2p-modal.is-wide{width:100%;max-height:94dvh;border-radius:14px 14px 0 0;border-left:0;border-right:0;border-bottom:0}.fx-v85-p2p-form-grid{grid-template-columns:1fr}.fx-v85-p2p-form-grid .is-wide{grid-column:auto}.fx-v85-p2p-order-summary{grid-template-columns:1fr 1fr}.fx-v85-p2p-payment-box dl{grid-template-columns:1fr}.fx-v85-p2p-form-actions,.fx-v85-p2p-order-actions{display:grid;grid-template-columns:1fr 1fr}.fx-v85-p2p-form-actions button,.fx-v85-p2p-order-actions button{width:100%}
  .fx-trade2 input,.fx-trade2 select,.fx-trade2 textarea{font-size:16px!important}
}

/* Compatibility styles for buttons/forms created dynamically by the existing P2P JS. */
.fx-trade2 .fx-v85-ex-primary-btn,.fx-trade2 .fx-v85-ex-secondary-btn{min-height:38px;padding:0 12px;border-radius:9px;font-size:11px;font-weight:900;cursor:pointer}.fx-trade2 .fx-v85-ex-primary-btn{border:1px solid var(--t-accent);background:var(--t-accent);color:var(--t-accent-ink)}.fx-trade2 .fx-v85-ex-secondary-btn{border:1px solid var(--t-line);background:var(--t-card);color:var(--t-text)}.fx-trade2 .fx-v85-ex-secondary-btn:hover{background:var(--t-soft)}.fx-trade2 .fx-v85-p2p-danger{background:var(--t-red)!important;border-color:var(--t-red)!important;color:#fff!important}.fx-trade2 .fx-v85-p2p-success{background:var(--t-green)!important;border-color:var(--t-green)!important;color:#fff!important}.fx-trade2 .fx-v85-p2p-form-note{margin-top:7px;color:var(--t-muted);font-size:10px;line-height:1.45}.fx-trade2 .fx-v85-p2p-myads,.fx-trade2 .fx-v85-p2p-order-list{min-width:0}

/* ========================================================================
   DeoTrade r2 — premium exchange visual hierarchy (2026-10-17)
   Dark trading surface, large account numbers, denser Binance-inspired market UI.
   ======================================================================== */
.fx-trade2{
  --t-bg:#0b0e11;
  --t-card:#11151b;
  --t-card2:#181c23;
  --t-text:#eaecef;
  --t-muted:#848e9c;
  --t-line:#242b35;
  --t-soft:#1e2329;
  --t-accent:#f0b90b;
  --t-accent-2:#f8d33a;
  --t-accent-ink:#181a20;
  --t-green:#0ecb81;
  --t-red:#f6465d;
  --t-blue:#5b8def;
  --t-shadow:0 18px 60px rgba(0,0,0,.28);
  background:var(--t-bg);
  color:var(--t-text);
  border-color:#202630;
}
body.fx-v85-dark .fx-trade2,.fx-v85-dark-ready body .fx-trade2{
  --t-bg:#0b0e11;--t-card:#11151b;--t-card2:#181c23;--t-text:#eaecef;--t-muted:#848e9c;--t-line:#242b35;--t-soft:#1e2329;--t-accent:#f0b90b;--t-accent-2:#f8d33a;--t-accent-ink:#181a20;--t-green:#0ecb81;--t-red:#f6465d;--t-blue:#5b8def;
}
.fx-trade2-header{background:#0f1318;border-bottom-color:var(--t-line)}
.fx-trade2-logo{background:linear-gradient(135deg,#f8d33a,#f0b90b 56%,#c99000);box-shadow:0 8px 24px rgba(240,185,11,.2)}
.fx-trade2-brand-copy strong{letter-spacing:-.025em}.fx-trade2-brand-copy small{color:#707a8a}
.fx-trade2-btn,.fx-trade2-icon-btn{background:#181c23;border-color:#2b3139;color:var(--t-text)}
.fx-trade2-btn-soft:hover,.fx-trade2-icon-btn:hover{background:#22272e}
.fx-trade2-btn-accent{background:linear-gradient(180deg,#f8d33a,#f0b90b);border-color:#f0b90b;color:#181a20;box-shadow:0 8px 22px rgba(240,185,11,.12)}
.fx-trade2-btn-ghost{background:transparent;border-color:#343b45;color:var(--t-text)}
.fx-trade2-btn-ghost:hover{background:#1e2329}

/* Large-number account overview */
.fx-trade2-overview{display:grid;grid-template-columns:minmax(330px,.9fr) minmax(0,1.55fr);gap:1px;background:var(--t-line);border-bottom:1px solid var(--t-line)}
.fx-trade2-overview-main{position:relative;overflow:hidden;padding:26px 28px 24px;background:linear-gradient(135deg,#151a20 0%,#101419 56%,#18170e 100%)}
.fx-trade2-overview-main:after{content:"";position:absolute;width:240px;height:240px;right:-90px;top:-120px;border-radius:50%;background:radial-gradient(circle,rgba(240,185,11,.19),rgba(240,185,11,0) 68%);pointer-events:none}
.fx-trade2-overview-kicker{position:relative;z-index:1;display:flex;align-items:center;gap:7px;margin-bottom:22px;color:#b7bdc6;font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.12em}
.fx-trade2-live-dot{width:7px;height:7px;border-radius:50%;background:var(--t-green);box-shadow:0 0 0 4px rgba(14,203,129,.1)}
.fx-trade2-overview-label{position:relative;z-index:1;display:block;color:var(--t-muted);font-size:12px;font-weight:700}
.fx-trade2-big-number{position:relative;z-index:1;margin-top:4px;min-height:58px;display:flex;align-items:center;overflow:hidden}
.fx-trade2-big-number strong{display:block;max-width:100%;font-size:clamp(34px,4vw,56px);line-height:1.02;font-weight:800;letter-spacing:-.045em;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-variant-numeric:tabular-nums}
.fx-trade2-overview-actions{position:relative;z-index:1;display:flex;gap:8px;margin-top:22px}
.fx-trade2-overview-actions .fx-trade2-btn{min-height:40px}
.fx-trade2-overview-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));background:var(--t-card)}
.fx-trade2-metric{position:relative;min-width:0;padding:22px 24px;border-right:1px solid var(--t-line);border-bottom:1px solid var(--t-line);background:#11151b}
.fx-trade2-metric:nth-child(2n){border-right:0}.fx-trade2-metric:nth-last-child(-n+2){border-bottom:0}
.fx-trade2-metric span{display:block;color:var(--t-muted);font-size:10px;font-weight:850;text-transform:uppercase;letter-spacing:.08em}
.fx-trade2-metric strong{display:block;margin-top:7px;color:#f5f5f5;font-size:clamp(22px,2.5vw,34px);line-height:1;font-weight:780;letter-spacing:-.035em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-variant-numeric:tabular-nums}
.fx-trade2-metric small{display:block;margin-top:8px;color:#5e6673;font-size:9px;font-weight:700}
.fx-trade2-metric-primary strong{color:var(--t-accent-2)}

/* Mode navigation closer to a trading terminal */
.fx-trade2-modebar{background:#0f1318;padding:9px 14px;gap:18px}
.fx-trade2-modebar button{position:relative;min-height:38px;padding:0 2px;border-radius:0;color:#848e9c;background:transparent}
.fx-trade2-modebar button.is-active{background:transparent;color:#fff}
.fx-trade2-modebar button.is-active:after{content:"";position:absolute;left:0;right:0;bottom:-9px;height:3px;border-radius:3px 3px 0 0;background:var(--t-accent)}
.fx-trade2-tabs{background:rgba(17,21,27,.96);border-bottom-color:var(--t-line);backdrop-filter:blur(16px)}
body.fx-v85-dark .fx-trade2-tabs,.fx-v85-dark-ready body .fx-trade2-tabs{background:rgba(17,21,27,.96)}
.fx-trade2-tabs button{color:#848e9c}.fx-trade2-tabs button:hover{background:#1e2329;color:#fff}.fx-trade2-tabs button.is-active{background:#252a31;border-color:#333a44;color:#f0b90b;box-shadow:inset 0 -2px 0 #f0b90b}

/* Market terminal */
.fx-v85-trade-market-toolbar{background:#11151b;border-color:var(--t-line);padding:12px 14px 8px}
.fx-v85-trade-category-strip{background:#11151b!important;border-color:var(--t-line)!important;padding:8px 12px!important}
.fx-v85-trade-category-strip .tabtr{background:#181c23!important;border-color:#2b3139!important;color:#b7bdc6!important;border-radius:8px!important}
.fx-v85-trade-category-strip .tabtr:hover{border-color:#4a515d!important;color:#fff!important}
.fx-v85-trade-favorites-active{border-color:#f0b90b!important;background:rgba(240,185,11,.1)!important;color:#f0b90b!important}
.fx-v85-trade-market-list{background:#11151b;border-color:var(--t-line);box-shadow:0 14px 40px rgba(0,0,0,.12)}
.fx-trade2 table{background:#11151b!important}
.fx-trade2 th{background:#181c23!important;color:#707a8a!important}
.fx-trade2 td{border-bottom-color:#20262f!important;color:#dfe3e8!important}
.fx-trade2 tr:hover td{background:#161b22!important}
.fx-trade2 .fx-v85-trade-category-row th{background:#0f1318!important;color:#f0b90b!important;border-top:1px solid #242b35!important;border-bottom:1px solid #242b35!important}
.fx-trade2 .fx-v85-trade-category-row div{font-size:11px;letter-spacing:.025em;text-transform:uppercase}
.fx-trade2 .fx-trade2-market-row td:first-child a{color:#f3f4f6!important;font-size:13px;font-weight:850;text-decoration:none!important}
.fx-trade2 .fx-trade2-market-row td:nth-child(2)>div[id^="pricet"]{font-size:16px!important;line-height:1.15;font-weight:850!important;color:#fff!important;letter-spacing:-.02em;font-variant-numeric:tabular-nums}
.fx-trade2 .fx-trade2-market-row td:nth-child(2)>div[id^="usft"]{margin-top:3px;color:#707a8a!important;font-size:9px!important}
.fx-trade2 .fx-trade2-market-row td:nth-child(2)>div[id^="imgt"]{margin-top:4px;font-size:10px!important;font-weight:800}
.fx-trade2 .fx-trade2-market-row td:nth-child(3)>div[id^="deiff"]{font-weight:850;font-variant-numeric:tabular-nums}
.fx-trade2 .fx-v85-trade-pair-main{box-shadow:0 0 0 1px #2b3139,0 4px 14px rgba(0,0,0,.25)}
.fx-trade2 .fx-v85-trade-pair-quote{box-shadow:0 0 0 2px #11151b}

/* Cards / forms / dynamic content */
.fx-trade2-panel{background:#0b0e11}
.fx-v85-p2p-card,.fx-v85-p2p-market,.fx-v85-p2p-hero,.fx-v85-trade-maker,.fx-trade2 .fx-v85-trade-card{background:#11151b!important;border-color:#242b35!important;box-shadow:0 12px 32px rgba(0,0,0,.12)}
.fx-v85-p2p-hero{background:linear-gradient(135deg,#171b21,#101419 58%,#1e1908)!important}
.fx-v85-p2p-hero h1{font-size:34px!important;letter-spacing:-.045em}
.fx-v85-p2p-kicker{color:#f0b90b!important}
.fx-v85-p2p-tabs,.fx-v85-p2p-card-head{border-color:#242b35!important}
.fx-v85-p2p-filter input,.fx-v85-p2p-filter select,.fx-v85-p2p-form-grid input,.fx-v85-p2p-form-grid select,.fx-v85-p2p-form-grid textarea,.fx-trade2 input,.fx-trade2 select,.fx-trade2 textarea{background:#181c23!important;border:1px solid #2b3139!important;color:#eaecef!important;border-radius:8px!important}
.fx-trade2 input:focus,.fx-trade2 select:focus,.fx-trade2 textarea:focus{outline:none!important;border-color:#f0b90b!important;box-shadow:0 0 0 3px rgba(240,185,11,.08)!important}
.fx-v85-p2p-modal{background:#11151b;border-color:#2b3139}.fx-v85-p2p-modal-head{background:#11151b;border-color:#242b35}

/* Bottom navigation */
.fx-trade2-bottom{background:rgba(15,19,24,.98);border-top-color:#242b35;box-shadow:0 -10px 30px rgba(0,0,0,.28)}
body.fx-v85-dark .fx-trade2-bottom,.fx-v85-dark-ready body .fx-trade2-bottom{background:rgba(15,19,24,.98)}
.fx-trade2-bottom button{color:#707a8a}.fx-trade2-bottom button.is-active{color:#f0b90b}
.fx-trade2-bottom button span{font-size:20px}.fx-trade2-bottom button small{font-weight:850}

@media(max-width:900px){
  .fx-trade2-overview{grid-template-columns:1fr}
  .fx-trade2-overview-main{padding:20px 16px 18px}
  .fx-trade2-overview-kicker{margin-bottom:16px}
  .fx-trade2-big-number{min-height:46px}.fx-trade2-big-number strong{font-size:clamp(32px,10vw,46px)}
  .fx-trade2-overview-actions{margin-top:17px}
  .fx-trade2-overview-metrics{grid-template-columns:repeat(4,minmax(122px,1fr));overflow-x:auto;-webkit-overflow-scrolling:touch}
  .fx-trade2-metric{min-width:122px;padding:14px 13px;border-right:1px solid var(--t-line)!important;border-bottom:0!important}
  .fx-trade2-metric:last-child{border-right:0!important}
  .fx-trade2-metric strong{font-size:20px}
  .fx-trade2-metric small{font-size:8px;margin-top:5px}
  .fx-trade2 .fx-trade2-market-row td:nth-child(2)>div[id^="pricet"]{font-size:14px!important}
}
@media(max-width:520px){
  .fx-trade2-overview-main{padding:17px 13px 15px}
  .fx-trade2-big-number strong{font-size:36px}
  .fx-trade2-overview-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px}
  .fx-trade2-overview-actions .fx-trade2-btn{width:100%;padding:0 8px}
  .fx-trade2-metric{min-width:116px;padding:12px 11px}.fx-trade2-metric strong{font-size:18px}
  .fx-trade2-modebar{padding-left:12px;padding-right:12px}
}
