/* FoxDeo Trade v85 — adaptive light/dark terminal + P2P marketplace
   2026-07-13. Keeps fx-v85 naming and follows the global Foxdeo color mode. */
html.fx-v85-trade-mode{
  color-scheme:light;
  --fx85-ex-bg:#f4f7fb;
  --fx85-ex-panel:#ffffff;
  --fx85-ex-panel2:#f0f4f9;
  --fx85-ex-panel3:#e7edf5;
  --fx85-ex-line:#d9e1ec;
  --fx85-ex-line-soft:#e9eef5;
  --fx85-ex-text:#172033;
  --fx85-ex-muted:#69758a;
  --fx85-ex-yellow:#f0b90b;
  --fx85-ex-yellow-hover:#dca800;
  --fx85-ex-green:#03966a;
  --fx85-ex-red:#d93f56;
  --fx85-ex-blue:#2b6def;
  --fx85-ex-topbar-bg:rgba(255,255,255,.94);
  --fx85-ex-modal-head-bg:rgba(255,255,255,.97);
  --fx85-ex-mobile-bg:rgba(255,255,255,.97);
  --fx85-ex-overlay:rgba(15,23,42,.46);
  --fx85-ex-sticky-shadow:8px 0 14px rgba(25,40,70,.10);
  --fx85-ex-hover:rgba(43,109,239,.045);
  --fx85-ex-shadow:0 18px 60px rgba(41,55,82,.16);
  --fx85-ex-pair-ring:#ffffff;
}
html.fx-v85-trade-mode.fx-v85-dark-ready{
  color-scheme:dark;
  --fx85-ex-bg:#101827;
  --fx85-ex-panel:#172235;
  --fx85-ex-panel2:#1d2a40;
  --fx85-ex-panel3:#25344d;
  --fx85-ex-line:#30405b;
  --fx85-ex-line-soft:#24344d;
  --fx85-ex-text:#eef4ff;
  --fx85-ex-muted:#9aa8bd;
  --fx85-ex-yellow:#f0b90b;
  --fx85-ex-yellow-hover:#f7c934;
  --fx85-ex-green:#20c997;
  --fx85-ex-red:#ff6378;
  --fx85-ex-blue:#6f9cff;
  --fx85-ex-topbar-bg:rgba(16,24,39,.95);
  --fx85-ex-modal-head-bg:rgba(23,34,53,.97);
  --fx85-ex-mobile-bg:rgba(16,24,39,.97);
  --fx85-ex-overlay:rgba(2,6,23,.68);
  --fx85-ex-sticky-shadow:8px 0 14px rgba(2,6,23,.36);
  --fx85-ex-hover:rgba(255,255,255,.035);
  --fx85-ex-shadow:0 18px 60px rgba(2,6,23,.34);
  --fx85-ex-pair-ring:#172235;
}
html.fx-v85-trade-mode,
body.fx-v85-trade-screen-body{background:var(--fx85-ex-bg)!important;color:var(--fx85-ex-text)!important;overflow-x:hidden!important;}
body.fx-v85-trade-screen-body .fx-v85-mainContent,
body.fx-v85-trade-screen-body #mainContent,
body.fx-v85-trade-screen-body .mainContent{max-width:none!important;width:100%!important;padding:0!important;margin:0!important;background:var(--fx85-ex-bg)!important;}
body.fx-v85-trade-screen-body #leftPanel,
body.fx-v85-trade-screen-body #rightPanel,
body.fx-v85-trade-screen-body .fx-v85-left-sidebar,
body.fx-v85-trade-screen-body .fx-v85-right-sidebar{display:none!important;}
body.fx-v85-trade-screen-body .fx-v85-topbar-inner{max-width:none!important;width:100%!important;}
.fx-v85-page-trade.fx-v85-trade-screen{display:block!important;width:100%!important;max-width:none!important;margin:0!important;padding:0 0 74px!important;background:var(--fx85-ex-bg)!important;color:var(--fx85-ex-text)!important;}
.fx-v85-trade-feed,.fx-v85-trade-card{display:block!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:var(--fx85-ex-bg)!important;color:var(--fx85-ex-text)!important;box-shadow:none!important;overflow:visible!important;}
.fx-v85-ex-app{min-height:calc(100vh - 64px);background:var(--fx85-ex-bg);color:var(--fx85-ex-text);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;}
.fx-v85-ex-topbar{position:sticky;top:0;z-index:80;display:flex;align-items:center;gap:22px;min-height:64px;padding:0 22px;border-bottom:1px solid var(--fx85-ex-line);background:var(--fx85-ex-topbar-bg);backdrop-filter:blur(16px);}
.fx-v85-ex-brand{display:flex;align-items:center;gap:10px;min-width:max-content;text-decoration:none;color:var(--fx85-ex-text);}
.fx-v85-ex-brand-mark{display:grid;place-items:center;width:34px;height:34px;border-radius:8px;background:var(--fx85-ex-yellow);color:#181a20;font-size:13px;font-weight:1000;letter-spacing:-.06em;box-shadow:0 8px 20px rgba(240,185,11,.18);}
.fx-v85-ex-brand-copy{display:flex;flex-direction:column;line-height:1;}
.fx-v85-ex-brand-copy strong{font-size:17px;font-weight:950;letter-spacing:-.03em;color:var(--fx85-ex-text);}
.fx-v85-ex-brand-copy small{margin-top:4px;color:var(--fx85-ex-muted);font-size:9px;text-transform:uppercase;letter-spacing:.12em;font-weight:900;}
.fx-v85-ex-nav{display:flex;align-items:stretch;gap:2px;min-width:0;overflow-x:auto;scrollbar-width:none;}
.fx-v85-ex-nav::-webkit-scrollbar{display:none;}
.fx-v85-ex-nav button,.fx-v85-ex-nav a{position:relative;display:inline-flex;align-items:center;justify-content:center;min-height:64px;padding:0 13px;border:0;background:transparent;color:var(--fx85-ex-muted);font-size:14px;font-weight:850;white-space:nowrap;text-decoration:none;cursor:pointer;}
.fx-v85-ex-nav button:hover,.fx-v85-ex-nav a:hover,.fx-v85-ex-nav .is-active{color:var(--fx85-ex-text);}
.fx-v85-ex-nav .is-active:after{content:"";position:absolute;left:12px;right:12px;bottom:0;height:3px;border-radius:3px 3px 0 0;background:var(--fx85-ex-yellow);}
.fx-v85-ex-top-actions{display:flex;align-items:center;gap:8px;margin-left:auto;min-width:max-content;}
.fx-v85-ex-balance{display:flex;align-items:center;gap:8px;min-height:38px;padding:0 12px;border:1px solid var(--fx85-ex-line);border-radius:8px;background:var(--fx85-ex-panel);font-size:12px;color:var(--fx85-ex-muted);}
.fx-v85-ex-balance strong{color:var(--fx85-ex-text);font-size:13px;}
.fx-v85-ex-icon-btn,.fx-v85-ex-primary-btn,.fx-v85-ex-secondary-btn,.fx-v85-p2p-action{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:38px;padding:0 14px;border-radius:7px;border:1px solid transparent;font-size:13px;font-weight:900;cursor:pointer;text-decoration:none;transition:.16s ease;}
.fx-v85-ex-icon-btn{width:38px;padding:0;border-color:var(--fx85-ex-line);background:var(--fx85-ex-panel);color:var(--fx85-ex-text);}
.fx-v85-ex-primary-btn{background:var(--fx85-ex-yellow);color:#181a20;}
.fx-v85-ex-primary-btn:hover{background:var(--fx85-ex-yellow-hover);color:#181a20;transform:translateY(-1px);}
.fx-v85-ex-secondary-btn{border-color:var(--fx85-ex-line);background:var(--fx85-ex-panel);color:var(--fx85-ex-text);}
.fx-v85-ex-secondary-btn:hover{border-color:#4d5662;background:var(--fx85-ex-panel2);}
.fx-v85-ex-ticker{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:1px;border-bottom:1px solid var(--fx85-ex-line);background:var(--fx85-ex-line);}
.fx-v85-ex-ticker-item{min-width:0;padding:13px 18px;background:var(--fx85-ex-bg);}
.fx-v85-ex-ticker-item small{display:block;color:var(--fx85-ex-muted);font-size:10px;text-transform:uppercase;letter-spacing:.07em;font-weight:850;}
.fx-v85-ex-ticker-item strong{display:block;margin-top:5px;color:var(--fx85-ex-text);font-size:15px;font-weight:900;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-variant-numeric:tabular-nums;}
.fx-v85-ex-ticker-item .is-green{color:var(--fx85-ex-green);}.fx-v85-ex-ticker-item .is-red{color:var(--fx85-ex-red);}
.fx-v85-ex-main{width:100%;max-width:1880px;margin:0 auto;}
.fx-v85-ex-section{display:none;}.fx-v85-ex-section.is-active{display:block;}
.fx-v85-ex-spot-grid{display:grid;grid-template-columns:minmax(0,1fr) 270px;min-height:calc(100vh - 150px);}
.fx-v85-ex-workspace{min-width:0;border-right:1px solid var(--fx85-ex-line);}
.fx-v85-ex-account-rail{position:sticky;top:64px;align-self:start;min-height:calc(100vh - 64px);padding:16px 14px;background:var(--fx85-ex-bg);}
.fx-v85-ex-rail-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px;color:var(--fx85-ex-text);font-size:13px;font-weight:950;}
.fx-v85-ex-rail-card{margin-bottom:10px;padding:13px;border:1px solid var(--fx85-ex-line);border-radius:9px;background:var(--fx85-ex-panel);}
.fx-v85-ex-rail-card small{display:block;color:var(--fx85-ex-muted);font-size:10px;text-transform:uppercase;letter-spacing:.07em;font-weight:850;}
.fx-v85-ex-rail-card strong{display:block;margin-top:6px;color:var(--fx85-ex-text);font-size:17px;font-weight:950;word-break:break-word;}
.fx-v85-ex-rail-links{display:grid;gap:4px;margin-top:12px;}
.fx-v85-ex-rail-links button{display:flex;align-items:center;justify-content:space-between;min-height:42px;padding:0 11px;border:0;border-radius:7px;background:transparent;color:var(--fx85-ex-muted);font-size:13px;font-weight:800;text-align:left;cursor:pointer;}
.fx-v85-ex-rail-links button:hover{background:var(--fx85-ex-panel);color:var(--fx85-ex-text);}
.fx-v85-ex-rail-links button:after{content:"›";font-size:17px;color:#5e6671;}
.fx-v85-ex-terminal-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;border-bottom:1px solid var(--fx85-ex-line);background:var(--fx85-ex-bg);}
.fx-v85-ex-terminal-title{display:flex;align-items:center;gap:9px;min-width:0;}
.fx-v85-ex-terminal-symbol{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--fx85-ex-yellow);color:#181a20;font-size:11px;font-weight:1000;}
.fx-v85-ex-terminal-title strong{display:block;font-size:15px;color:var(--fx85-ex-text);}.fx-v85-ex-terminal-title small{display:block;margin-top:3px;color:var(--fx85-ex-muted);font-size:11px;}
.fx-v85-ex-terminal-tools{display:flex;gap:7px;overflow-x:auto;}
.fx-v85-ex-terminal-tools button{min-height:34px;padding:0 11px;border:1px solid var(--fx85-ex-line);border-radius:6px;background:var(--fx85-ex-panel);color:var(--fx85-ex-muted);font-size:11px;font-weight:850;white-space:nowrap;cursor:pointer;}
.fx-v85-ex-terminal-tools button:hover{color:var(--fx85-ex-text);border-color:#4c5560;}
/* Existing generated trade tabs and panels */
.fx-v85-trade-process,.fx-v85-trade-column,.fx-v85-trade-screen #processPage,.fx-v85-trade-screen #processPageo,.fx-v85-trade-screen #columnLeft{width:100%!important;max-width:none!important;margin:0!important;padding:0!important;background:var(--fx85-ex-bg)!important;color:var(--fx85-ex-text)!important;}
.fx-v85-trade-screen .warpper{display:block!important;width:100%!important;max-width:none!important;background:var(--fx85-ex-bg)!important;color:var(--fx85-ex-text)!important;}
.fx-v85-trade-screen .warpper>div:first-of-type{background:var(--fx85-ex-bg)!important;border-bottom:1px solid var(--fx85-ex-line)!important;}
.fx-v85-trade-screen .tabs{display:flex!important;align-items:center!important;gap:0!important;overflow-x:auto!important;padding:0 12px!important;background:var(--fx85-ex-bg)!important;border-bottom:1px solid var(--fx85-ex-line)!important;scrollbar-width:none!important;}
.fx-v85-trade-screen .tabs::-webkit-scrollbar{display:none!important;}
.fx-v85-trade-screen .tabtr{position:relative!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 auto!important;min-height:48px!important;margin:0!important;padding:0 14px!important;border:0!important;border-radius:0!important;background:transparent!important;color:var(--fx85-ex-muted)!important;box-shadow:none!important;font-size:13px!important;font-weight:850!important;white-space:nowrap!important;cursor:pointer!important;}
.fx-v85-trade-screen .tabtr:hover{color:var(--fx85-ex-text)!important;background:transparent!important;}
.fx-v85-trade-screen .tabtr.fx-v85-trade-tab-active,.fx-v85-trade-screen .radio:checked+label{color:var(--fx85-ex-text)!important;background:transparent!important;border:0!important;}
.fx-v85-trade-screen .tabtr.fx-v85-trade-tab-active:after,.fx-v85-trade-screen .radio:checked+label:after{content:"";position:absolute;left:13px;right:13px;bottom:0;height:2px;background:var(--fx85-ex-yellow);}
.fx-v85-trade-screen .panels{display:block!important;width:100%!important;max-width:none!important;min-height:620px!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:var(--fx85-ex-bg)!important;box-shadow:none!important;color:var(--fx85-ex-text)!important;overflow:visible!important;}
.fx-v85-trade-screen .panel{padding:12px 14px 20px!important;background:var(--fx85-ex-bg)!important;color:var(--fx85-ex-text)!important;animation:none!important;}
.fx-v85-trade-screen .panel-title{display:none!important;}
.fx-v85-trade-screen #listradee,.fx-v85-trade-screen #hitbet,.fx-v85-trade-screen #gethistory,.fx-v85-trade-screen #wallet,.fx-v85-trade-screen #infotrade,.fx-v85-trade-screen #deopad,.fx-v85-trade-screen #airdrop,.fx-v85-trade-screen #deoearn,.fx-v85-trade-screen #deosoon,.fx-v85-trade-table-wrap{width:100%!important;max-width:none!important;overflow:auto!important;-webkit-overflow-scrolling:touch!important;scrollbar-color:#3d4650 transparent;}
.fx-v85-trade-market-toolbar{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;margin-bottom:10px!important;}
.fx-v85-trade-live-strip,.fx-v85-trade-alpha-strip,.fx-v85-trade-category-strip{display:flex!important;align-items:center!important;gap:6px!important;overflow-x:auto!important;color:var(--fx85-ex-muted)!important;scrollbar-width:none!important;}
.fx-v85-trade-live-strip a,.fx-v85-trade-alpha-strip a,.fx-v85-trade-category-strip a{display:inline-flex!important;align-items:center!important;min-height:30px!important;padding:0 10px!important;border:1px solid var(--fx85-ex-line)!important;border-radius:6px!important;background:var(--fx85-ex-panel)!important;color:var(--fx85-ex-muted)!important;font-size:11px!important;font-weight:850!important;text-decoration:none!important;white-space:nowrap!important;}
.fx-v85-trade-live-strip a:hover,.fx-v85-trade-alpha-strip a:hover,.fx-v85-trade-category-strip a:hover{border-color:var(--fx85-ex-yellow)!important;color:var(--fx85-ex-text)!important;}
.fx-v85-trade-screen table,.fx-v85-trade-screen #tbname,.fx-v85-trade-screen .fx-v85-trade-market-table{width:100%!important;max-width:none!important;border-collapse:collapse!important;border-spacing:0!important;background:var(--fx85-ex-bg)!important;color:var(--fx85-ex-text)!important;box-shadow:none!important;}
.fx-v85-trade-screen #listradee table,.fx-v85-trade-screen #hitbet table,.fx-v85-trade-screen #wallet table,.fx-v85-trade-screen #gethistory table,.fx-v85-trade-screen #infotrade table,.fx-v85-trade-screen #deopad table,.fx-v85-trade-screen #airdrop table,.fx-v85-trade-screen #deoearn table,.fx-v85-trade-screen #deosoon table{min-width:920px!important;}
.fx-v85-trade-screen th{position:sticky!important;top:0!important;z-index:4!important;padding:10px 9px!important;border-bottom:1px solid var(--fx85-ex-line)!important;background:var(--fx85-ex-bg)!important;color:var(--fx85-ex-muted)!important;font-size:10px!important;letter-spacing:.04em!important;text-transform:uppercase!important;font-weight:900!important;text-align:left!important;white-space:nowrap!important;}
.fx-v85-trade-screen td{padding:11px 9px!important;border-bottom:1px solid var(--fx85-ex-line-soft)!important;background:var(--fx85-ex-bg)!important;color:var(--fx85-ex-text)!important;font-size:12px!important;line-height:1.35!important;vertical-align:middle!important;}
.fx-v85-trade-screen tr:hover td{background:var(--fx85-ex-panel)!important;}
.fx-v85-trade-screen th:first-child,.fx-v85-trade-screen td:first-child{position:sticky!important;left:0!important;z-index:3!important;background:var(--fx85-ex-bg)!important;box-shadow:var(--fx85-ex-sticky-shadow)!important;}
.fx-v85-trade-screen tr:hover td:first-child{background:var(--fx85-ex-panel)!important;}
.fx-v85-trade-screen .fx-v85-trade-category-row th{position:static!important;padding:9px 11px!important;background:var(--fx85-ex-panel2)!important;color:var(--fx85-ex-text)!important;border-top:1px solid var(--fx85-ex-line)!important;border-bottom:1px solid var(--fx85-ex-line)!important;text-transform:none!important;letter-spacing:0!important;font-size:12px!important;}
.fx-v85-trade-screen a{color:var(--fx85-ex-text);}.fx-v85-trade-screen a:hover{color:var(--fx85-ex-yellow);}
.fx-v85-trade-screen input[type=text],.fx-v85-trade-screen input[type=number],.fx-v85-trade-screen input[type=password],.fx-v85-trade-screen input[type=file],.fx-v85-trade-screen select,.fx-v85-trade-screen textarea{box-sizing:border-box!important;width:100%!important;max-width:100%!important;min-height:40px!important;padding:9px 11px!important;border:1px solid var(--fx85-ex-line)!important;border-radius:6px!important;background:var(--fx85-ex-panel)!important;color:var(--fx85-ex-text)!important;outline:none!important;}
.fx-v85-trade-screen input:focus,.fx-v85-trade-screen select:focus,.fx-v85-trade-screen textarea:focus{border-color:var(--fx85-ex-yellow)!important;box-shadow:0 0 0 2px rgba(240,185,11,.12)!important;}
.fx-v85-trade-screen input::placeholder,.fx-v85-p2p-field input::placeholder{color:var(--fx85-ex-muted)!important;opacity:.82;}
.fx-v85-trade-screen select option{background:var(--fx85-ex-panel);color:var(--fx85-ex-text);}
.fx-v85-trade-screen button,.fx-v85-trade-screen input[type=button],.fx-v85-trade-screen input[type=submit],.fx-v85-trade-screen .newbtn,.fx-v85-trade-screen .yellowButton,.fx-v85-trade-screen .smallYellowButton{min-height:36px!important;padding:8px 14px!important;border:0!important;border-radius:6px!important;background:var(--fx85-ex-yellow)!important;color:#181a20!important;font-size:12px!important;font-weight:900!important;box-shadow:none!important;cursor:pointer!important;}
.fx-v85-trade-screen button:hover,.fx-v85-trade-screen input[type=button]:hover,.fx-v85-trade-screen input[type=submit]:hover{background:var(--fx85-ex-yellow-hover)!important;}
/* Market pair icon: the quote/stable currency sits above the lower-right of the traded asset. */
.fx-v85-trade-pair-icons{position:relative;display:inline-flex;align-items:center;justify-content:center;width:38px;height:32px;margin:0 7px 0 3px;vertical-align:middle;flex:0 0 38px;}
.fx-v85-trade-pair-icons .fx-v85-trade-pair-main{display:block;width:29px;height:29px;border-radius:50%;object-fit:cover;box-shadow:0 0 0 1px var(--fx85-ex-line);}
.fx-v85-trade-pair-icons .fx-v85-trade-pair-quote{position:absolute;right:0;bottom:0;display:grid;place-items:center;width:18px;height:18px;border:2px solid var(--fx85-ex-pair-ring);border-radius:50%;background:var(--fx85-ex-panel);box-shadow:0 2px 6px rgba(15,23,42,.18);overflow:hidden;}
.fx-v85-trade-pair-icons .fx-v85-trade-pair-quote img{display:block;width:100%;height:100%;border-radius:50%;object-fit:cover;}
.fx-v85-trade-pair-icons.is-single{width:32px;margin-right:7px;}
.fx-v85-trade-pair-icons.is-single .fx-v85-trade-pair-main{width:30px;height:30px;}
.fx-v85-trade-screen .fx-v85-trade-alert-button{display:inline-grid!important;place-items:center!important;width:18px!important;min-width:18px!important;height:18px!important;min-height:18px!important;margin:0 3px!important;padding:0!important;border:1px solid var(--fx85-ex-line)!important;border-radius:50%!important;background:var(--fx85-ex-panel)!important;color:var(--fx85-ex-muted)!important;font-size:9px!important;line-height:1!important;vertical-align:middle!important;box-shadow:none!important;}
.fx-v85-trade-screen .fx-v85-trade-alert-button:hover{border-color:var(--fx85-ex-yellow)!important;background:var(--fx85-ex-panel2)!important;color:var(--fx85-ex-yellow)!important;transform:none!important;}
.fx-v85-ex-alert-btn{width:29px!important;min-width:29px!important;height:29px!important;min-height:29px!important;padding:0!important;font-size:12px!important;border-radius:50%!important;}
.fx-v85-trade-screen #container1{width:100%!important;height:590px!important;border:1px solid var(--fx85-ex-line)!important;border-radius:6px!important;background:var(--fx85-ex-bg)!important;overflow:hidden!important;}
.fx-v85-trade-up{color:var(--fx85-ex-green)!important;}.fx-v85-trade-down{color:var(--fx85-ex-red)!important;}.fx-v85-trade-num{font-variant-numeric:tabular-nums;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;}
.fx-v85-trade-maker,.fx-v85-trade-feature-panel{background:var(--fx85-ex-bg)!important;color:var(--fx85-ex-text)!important;}
.fx-v85-trade-maker-head,.fx-v85-trade-feature-head{color:var(--fx85-ex-text)!important;}
.fx-v85-trade-fee-card,.fx-v85-trade-alert-form,.fx-v85-trade-mini-card{border:1px solid var(--fx85-ex-line)!important;background:var(--fx85-ex-panel)!important;color:var(--fx85-ex-text)!important;}
.fx-v85-trade-maker-note,.fx-v85-trade-alert,.fx-v85-trade-feature-notice{border:1px solid rgba(240,185,11,.26)!important;background:rgba(240,185,11,.08)!important;color:var(--fx85-ex-text)!important;}
.fx-v85-trade-alert-table th,.fx-v85-trade-alert-table td{border-color:var(--fx85-ex-line)!important;background:var(--fx85-ex-bg)!important;color:var(--fx85-ex-text)!important;}
/* P2P */
.fx-v85-p2p-page{padding:0 18px 36px;}
.fx-v85-p2p-hero{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:34px 0 26px;}
.fx-v85-p2p-hero-copy{max-width:760px;}
.fx-v85-p2p-kicker{display:inline-flex;align-items:center;min-height:25px;padding:0 9px;border-radius:5px;background:rgba(240,185,11,.12);color:var(--fx85-ex-yellow);font-size:10px;text-transform:uppercase;letter-spacing:.09em;font-weight:950;}
.fx-v85-p2p-hero h1{margin:12px 0 8px;color:var(--fx85-ex-text);font-size:34px;line-height:1.05;letter-spacing:-.04em;font-weight:950;}
.fx-v85-p2p-hero p{margin:0;color:var(--fx85-ex-muted);font-size:14px;line-height:1.55;}
.fx-v85-p2p-hero-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end;}
.fx-v85-p2p-market{border:1px solid var(--fx85-ex-line);border-radius:9px;background:var(--fx85-ex-panel);overflow:hidden;}
.fx-v85-p2p-tabs{display:flex;align-items:center;gap:2px;padding:0 14px;border-bottom:1px solid var(--fx85-ex-line);background:var(--fx85-ex-bg);}
.fx-v85-p2p-tabs button{position:relative;min-height:52px;padding:0 16px;border:0;background:transparent;color:var(--fx85-ex-muted);font-size:14px;font-weight:900;cursor:pointer;}
.fx-v85-p2p-tabs button.is-active{color:var(--fx85-ex-text);}.fx-v85-p2p-tabs button.is-active:after{content:"";position:absolute;left:15px;right:15px;bottom:0;height:2px;background:var(--fx85-ex-yellow);}
.fx-v85-p2p-tabs .fx-v85-p2p-spacer{flex:1;}
.fx-v85-p2p-filter{display:grid;grid-template-columns:1.25fr .8fr .85fr 1fr auto;gap:10px;padding:14px;border-bottom:1px solid var(--fx85-ex-line);background:var(--fx85-ex-panel);}
.fx-v85-p2p-field{display:flex;flex-direction:column;gap:6px;min-width:0;}
.fx-v85-p2p-field>span{color:var(--fx85-ex-muted);font-size:10px;text-transform:uppercase;letter-spacing:.05em;font-weight:900;}
.fx-v85-p2p-field input,.fx-v85-p2p-field select,.fx-v85-p2p-field textarea{width:100%;min-height:42px;padding:9px 10px;border:1px solid var(--fx85-ex-line);border-radius:6px;background:var(--fx85-ex-bg);color:var(--fx85-ex-text);outline:none;box-sizing:border-box;}
.fx-v85-p2p-field textarea{min-height:84px;resize:vertical;}.fx-v85-p2p-field input:focus,.fx-v85-p2p-field select:focus,.fx-v85-p2p-field textarea:focus{border-color:var(--fx85-ex-yellow);}
.fx-v85-p2p-filter .fx-v85-ex-primary-btn{align-self:end;min-height:42px;}
.fx-v85-p2p-list{min-height:240px;background:var(--fx85-ex-bg);}
.fx-v85-p2p-list-head{display:grid;grid-template-columns:minmax(180px,1.25fr) 1fr 1.05fr 1.2fr 130px;gap:14px;padding:10px 16px;border-bottom:1px solid var(--fx85-ex-line);color:var(--fx85-ex-muted);font-size:10px;text-transform:uppercase;letter-spacing:.05em;font-weight:900;}
.fx-v85-p2p-ad{display:grid;grid-template-columns:minmax(180px,1.25fr) 1fr 1.05fr 1.2fr 130px;gap:14px;align-items:center;padding:17px 16px;border-bottom:1px solid var(--fx85-ex-line-soft);}
.fx-v85-p2p-ad:hover{background:var(--fx85-ex-hover);}
.fx-v85-p2p-merchant{display:flex;align-items:center;gap:10px;min-width:0;}
.fx-v85-p2p-avatar{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;border-radius:50%;background:var(--fx85-ex-panel3);color:var(--fx85-ex-yellow);font-size:13px;font-weight:950;}
.fx-v85-p2p-merchant strong{display:block;color:var(--fx85-ex-text);font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}.fx-v85-p2p-merchant small{display:block;margin-top:4px;color:var(--fx85-ex-muted);font-size:10px;}
.fx-v85-p2p-price strong{display:block;color:var(--fx85-ex-text);font-size:18px;font-weight:950;font-variant-numeric:tabular-nums;}.fx-v85-p2p-price small,.fx-v85-p2p-limit small{display:block;color:var(--fx85-ex-muted);font-size:10px;}.fx-v85-p2p-limit strong{display:block;margin:3px 0;color:var(--fx85-ex-text);font-size:12px;font-weight:850;}
.fx-v85-p2p-methods{display:flex;flex-wrap:wrap;gap:5px;}.fx-v85-p2p-method{display:inline-flex;align-items:center;min-height:24px;padding:0 7px;border-left:3px solid var(--fx85-ex-yellow);border-radius:3px;background:var(--fx85-ex-panel);color:var(--fx85-ex-muted);font-size:10px;font-weight:800;}
.fx-v85-p2p-action{width:100%;background:var(--fx85-ex-green);color:#06180f;}.fx-v85-p2p-action.is-sell{background:var(--fx85-ex-red);color:#fff;}.fx-v85-p2p-action:hover{filter:brightness(1.08);transform:translateY(-1px);}
.fx-v85-p2p-empty,.fx-v85-p2p-loading{display:grid;place-items:center;min-height:240px;padding:30px;color:var(--fx85-ex-muted);font-size:13px;text-align:center;}
.fx-v85-p2p-dashboard{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:14px;margin-top:14px;}
.fx-v85-p2p-card{border:1px solid var(--fx85-ex-line);border-radius:9px;background:var(--fx85-ex-panel);overflow:hidden;}
.fx-v85-p2p-card-head{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:54px;padding:0 14px;border-bottom:1px solid var(--fx85-ex-line);background:var(--fx85-ex-bg);}
.fx-v85-p2p-card-head strong{font-size:13px;color:var(--fx85-ex-text);}.fx-v85-p2p-card-head button{border:0;background:transparent;color:var(--fx85-ex-yellow);font-size:11px;font-weight:900;cursor:pointer;}
.fx-v85-p2p-order-list,.fx-v85-p2p-myads{max-height:420px;overflow:auto;}
.fx-v85-p2p-order-row,.fx-v85-p2p-myad-row{display:grid;grid-template-columns:1.2fr .8fr .8fr auto;gap:10px;align-items:center;padding:12px 14px;border-bottom:1px solid var(--fx85-ex-line-soft);cursor:pointer;}
.fx-v85-p2p-order-row:hover,.fx-v85-p2p-myad-row:hover{background:var(--fx85-ex-panel2);}.fx-v85-p2p-order-row strong,.fx-v85-p2p-myad-row strong{display:block;color:var(--fx85-ex-text);font-size:12px;}.fx-v85-p2p-order-row small,.fx-v85-p2p-myad-row small{display:block;margin-top:3px;color:var(--fx85-ex-muted);font-size:10px;}
.fx-v85-p2p-status{display:inline-flex;align-items:center;min-height:24px;padding:0 7px;border-radius:999px;background:var(--fx85-ex-panel3);color:var(--fx85-ex-muted);font-size:10px;font-weight:900;white-space:nowrap;}.fx-v85-p2p-status.s1{background:rgba(240,185,11,.12);color:var(--fx85-ex-yellow);}.fx-v85-p2p-status.s2{background:rgba(43,109,239,.13);color:#6fa0ff;}.fx-v85-p2p-status.s3{background:rgba(14,203,129,.12);color:var(--fx85-ex-green);}.fx-v85-p2p-status.s4{background:rgba(246,70,93,.14);color:var(--fx85-ex-red);}
.fx-v85-p2p-safety{padding:15px;}.fx-v85-p2p-safety h3{margin:0 0 10px;color:var(--fx85-ex-text);font-size:14px;}.fx-v85-p2p-safety ul{margin:0;padding-left:18px;color:var(--fx85-ex-muted);font-size:12px;line-height:1.65;}
.fx-v85-p2p-modal-root{position:fixed;inset:0;z-index:99999;display:none;align-items:center;justify-content:center;padding:18px;background:var(--fx85-ex-overlay);backdrop-filter:blur(8px);}.fx-v85-p2p-modal-root.is-open{display:flex;}
.fx-v85-p2p-modal{width:min(720px,96vw);max-height:90vh;overflow:auto;border:1px solid var(--fx85-ex-line);border-radius:10px;background:var(--fx85-ex-panel);box-shadow:var(--fx85-ex-shadow);color:var(--fx85-ex-text);}
.fx-v85-p2p-modal.is-wide{width:min(980px,97vw);}.fx-v85-p2p-modal-head{position:sticky;top:0;z-index:3;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:58px;padding:0 16px;border-bottom:1px solid var(--fx85-ex-line);background:var(--fx85-ex-modal-head-bg);}.fx-v85-p2p-modal-head strong{font-size:15px;}.fx-v85-p2p-modal-close{display:grid;place-items:center;width:34px;height:34px;border:0;border-radius:6px;background:var(--fx85-ex-panel3);color:var(--fx85-ex-text);font-size:20px;cursor:pointer;}
.fx-v85-p2p-modal-body{padding:16px;}.fx-v85-p2p-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}.fx-v85-p2p-form-grid .is-wide{grid-column:1/-1;}.fx-v85-p2p-checks{display:flex;flex-wrap:wrap;gap:8px;}.fx-v85-p2p-check{display:flex;align-items:center;gap:7px;min-height:38px;padding:0 10px;border:1px solid var(--fx85-ex-line);border-radius:6px;background:var(--fx85-ex-bg);color:var(--fx85-ex-text);font-size:11px;font-weight:800;}.fx-v85-p2p-check input{width:16px;height:16px;accent-color:var(--fx85-ex-yellow);}
.fx-v85-p2p-form-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:16px;}.fx-v85-p2p-notice{margin-bottom:12px;padding:10px 12px;border:1px solid rgba(240,185,11,.24);border-radius:6px;background:rgba(240,185,11,.08);color:var(--fx85-ex-text);font-size:12px;line-height:1.5;}.fx-v85-p2p-error{border-color:rgba(246,70,93,.34);background:rgba(246,70,93,.09);color:#ff9aaa;}
.fx-v85-p2p-order-detail{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:14px;}.fx-v85-p2p-order-main,.fx-v85-p2p-chat{border:1px solid var(--fx85-ex-line);border-radius:8px;background:var(--fx85-ex-bg);overflow:hidden;}.fx-v85-p2p-order-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;background:var(--fx85-ex-line);}.fx-v85-p2p-order-summary>div{padding:13px;background:var(--fx85-ex-panel);}.fx-v85-p2p-order-summary small{display:block;color:var(--fx85-ex-muted);font-size:9px;text-transform:uppercase;letter-spacing:.06em;font-weight:900;}.fx-v85-p2p-order-summary strong{display:block;margin-top:5px;color:var(--fx85-ex-text);font-size:13px;font-weight:900;word-break:break-word;}.fx-v85-p2p-payment-box{margin:14px;padding:14px;border:1px solid var(--fx85-ex-line);border-radius:7px;background:var(--fx85-ex-panel);}.fx-v85-p2p-payment-box h4{margin:0 0 9px;font-size:13px;}.fx-v85-p2p-payment-box dl{display:grid;grid-template-columns:130px minmax(0,1fr);gap:7px 10px;margin:0;font-size:12px;}.fx-v85-p2p-payment-box dt{color:var(--fx85-ex-muted);}.fx-v85-p2p-payment-box dd{margin:0;color:var(--fx85-ex-text);font-weight:800;word-break:break-word;}.fx-v85-p2p-order-actions{display:flex;flex-wrap:wrap;gap:8px;padding:0 14px 14px;}.fx-v85-p2p-danger{background:var(--fx85-ex-red)!important;color:#fff!important;}.fx-v85-p2p-success{background:var(--fx85-ex-green)!important;color:#06180f!important;}
.fx-v85-p2p-chat-list{height:340px;overflow:auto;padding:12px;}.fx-v85-p2p-chat-msg{max-width:86%;margin-bottom:9px;padding:8px 10px;border-radius:8px;background:var(--fx85-ex-panel);color:var(--fx85-ex-text);font-size:12px;line-height:1.45;}.fx-v85-p2p-chat-msg.is-me{margin-left:auto;background:rgba(240,185,11,.14);}.fx-v85-p2p-chat-msg.is-system{max-width:100%;background:transparent;border:1px dashed var(--fx85-ex-line);color:var(--fx85-ex-muted);text-align:center;}.fx-v85-p2p-chat-msg small{display:block;margin-top:4px;color:var(--fx85-ex-muted);font-size:9px;}.fx-v85-p2p-chat-compose{display:flex;gap:7px;padding:10px;border-top:1px solid var(--fx85-ex-line);}.fx-v85-p2p-chat-compose input{flex:1;min-width:0;min-height:38px;padding:8px 9px;border:1px solid var(--fx85-ex-line);border-radius:6px;background:var(--fx85-ex-panel);color:var(--fx85-ex-text);}
.fx-v85-ex-mobile-nav{position:fixed;left:0;right:0;bottom:0;z-index:90;display:none;grid-template-columns:repeat(5,1fr);min-height:62px;border-top:1px solid var(--fx85-ex-line);background:var(--fx85-ex-mobile-bg);backdrop-filter:blur(14px);}.fx-v85-ex-mobile-nav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;border:0;background:transparent;color:var(--fx85-ex-muted);font-size:9px;font-weight:850;cursor:pointer;}.fx-v85-ex-mobile-nav button span:first-child{font-size:17px;line-height:1;}.fx-v85-ex-mobile-nav button.is-active{color:var(--fx85-ex-yellow);}
@media(max-width:1180px){.fx-v85-ex-spot-grid{grid-template-columns:minmax(0,1fr);}.fx-v85-ex-account-rail{display:none;}.fx-v85-p2p-dashboard{grid-template-columns:1fr;}.fx-v85-ex-ticker{grid-template-columns:repeat(3,minmax(0,1fr));}.fx-v85-ex-ticker-item:nth-child(n+4){display:none;}}
@media(max-width:900px){.fx-v85-ex-topbar{padding:0 12px;gap:10px;}.fx-v85-ex-brand-copy small{display:none;}.fx-v85-ex-nav{flex:1;}.fx-v85-ex-top-actions .fx-v85-ex-balance,.fx-v85-ex-top-actions .fx-v85-ex-icon-btn{display:none;}.fx-v85-p2p-page{padding:0 10px 28px;}.fx-v85-p2p-filter{grid-template-columns:repeat(2,minmax(0,1fr));}.fx-v85-p2p-filter .fx-v85-ex-primary-btn{grid-column:1/-1;}.fx-v85-p2p-list-head{display:none;}.fx-v85-p2p-ad{grid-template-columns:1.3fr 1fr;gap:12px;}.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/3;grid-row:2/4;align-self:end;}.fx-v85-p2p-order-detail{grid-template-columns:1fr;}.fx-v85-p2p-chat-list{height:260px;}.fx-v85-trade-screen #container1{height:450px!important;}}
@media(max-width:640px){body.fx-v85-trade-screen-body .fx-v85-topbar{display:none!important;}.fx-v85-ex-topbar{min-height:54px;padding:0 9px;}.fx-v85-ex-brand-mark{width:31px;height:31px;}.fx-v85-ex-brand-copy strong{font-size:14px;}.fx-v85-ex-nav{display:none;}.fx-v85-ex-top-actions{gap:5px;}.fx-v85-ex-top-actions .fx-v85-ex-secondary-btn{display:none;}.fx-v85-ex-primary-btn{padding:0 10px;min-height:34px;font-size:11px;}.fx-v85-ex-ticker{grid-template-columns:repeat(2,minmax(0,1fr));}.fx-v85-ex-ticker-item{padding:10px 11px;}.fx-v85-ex-ticker-item:nth-child(n+3){display:none;}.fx-v85-ex-terminal-head{padding:9px 10px;}.fx-v85-ex-terminal-tools{display:none;}.fx-v85-trade-screen .tabs{padding:0 7px!important;}.fx-v85-trade-screen .tabtr{min-height:44px!important;padding:0 11px!important;font-size:11px!important;}.fx-v85-trade-screen .panels{min-height:420px!important;}.fx-v85-trade-screen .panel{padding:8px 7px 16px!important;}.fx-v85-trade-screen #listradee table,.fx-v85-trade-screen #hitbet table,.fx-v85-trade-screen #wallet table,.fx-v85-trade-screen #gethistory table,.fx-v85-trade-screen #infotrade table,.fx-v85-trade-screen #deopad table,.fx-v85-trade-screen #airdrop table,.fx-v85-trade-screen #deoearn table,.fx-v85-trade-screen #deosoon table{min-width:720px!important;}.fx-v85-trade-screen th{padding:8px 7px!important;font-size:9px!important;}.fx-v85-trade-screen td{padding:9px 7px!important;font-size:11px!important;white-space:nowrap!important;}.fx-v85-trade-screen #container1{height:360px!important;}.fx-v85-p2p-page{padding:0 7px 20px;}.fx-v85-p2p-hero{display:block;padding:22px 3px 16px;}.fx-v85-p2p-hero h1{font-size:25px;}.fx-v85-p2p-hero p{font-size:12px;}.fx-v85-p2p-hero-actions{justify-content:flex-start;margin-top:14px;}.fx-v85-p2p-tabs{padding:0 5px;overflow-x:auto;}.fx-v85-p2p-tabs button{min-height:46px;padding:0 10px;font-size:12px;white-space:nowrap;}.fx-v85-p2p-filter{grid-template-columns:1fr;padding:10px;}.fx-v85-p2p-filter .fx-v85-ex-primary-btn{grid-column:auto;}.fx-v85-p2p-ad{display:block;padding:14px 11px;}.fx-v85-p2p-ad>div{margin-bottom:10px;}.fx-v85-p2p-ad .fx-v85-p2p-action{width:100%;}.fx-v85-p2p-dashboard{gap:8px;margin-top:8px;}.fx-v85-p2p-order-row,.fx-v85-p2p-myad-row{grid-template-columns:1fr auto;padding:11px;}.fx-v85-p2p-order-row>div:nth-child(2),.fx-v85-p2p-myad-row>div:nth-child(2){display:none;}.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:94vh;border-radius:12px 12px 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-payment-box dd{margin-bottom:6px;}.fx-v85-ex-mobile-nav{display:grid;}}


/* 2026-07-14 mobile page scroll repair. Fixed navigation stays fixed; document remains vertically scrollable. */
@media(max-width:820px){
  html.fx-v85-trade-mode,
  html.fx-v85-trade-mode body.fx-v85-trade-screen-body{
    min-height:100%!important;
    height:auto!important;
    max-height:none!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
    touch-action:pan-y!important;
    -webkit-overflow-scrolling:touch!important;
  }
  body.fx-v85-trade-screen-body .fx-v85-page-trade,
  body.fx-v85-trade-screen-body .fx-v85-ex-app,
  body.fx-v85-trade-screen-body .fx-v85-ex-main,
  body.fx-v85-trade-screen-body .fx-v85-ex-section.is-active{
    min-height:0!important;
    height:auto!important;
    max-height:none!important;
    overflow:visible!important;
  }
}
