@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;0,9..40,800;1,9..40,400&family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --gold: #c6ff4a;
    --gold-hover: #d7ff75;
    --bg: #0c0e0d;
    --bg-2: #111413;
    --card: #161916;
    --line: rgba(255, 255, 255, 0.08);
    --text: #edf2ef;
    --muted: #8b928e;
    --buy: #22c55e;
    --sell: #f43f5e;
    --live: #c6ff4a;
    --radius: 14px;
    --max: 1200px;
}

* { box-sizing: border-box; }
html { overflow-x: hidden; }
html, body { margin: 0; padding: 0; }
body.fx-body {
    font-family: Inter, "DM Sans", system-ui, sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: "DM Sans", Inter, sans-serif; letter-spacing: -0.03em; font-weight: 800; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: #ffe27a; }
img { max-width: 100%; }

.fx-wrap { min-height: 100vh; display: flex; flex-direction: column; overflow-x: hidden; width: 100%; }
.fx-top {
    background: #0c0e0d;
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 40;
}
.fx-top-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 16px;
    height: 60px;
    padding: 0 20px;
}
.fx-top-left { display: flex; align-items: center; gap: 48px; min-width: 0; }
.fx-brand { flex-shrink: 0; }
.fx-top-links { display: flex; gap: 22px; align-items: center; flex-shrink: 0; }
.fx-top-links a { color: var(--text); font-weight: 500; font-size: 14px; padding: 18px 0; white-space: nowrap; }
.fx-drawer-head, .fx-drawer-label, .fx-drawer-only, .fx-nav-backdrop { display: none; }
.fx-top-links a:hover, .fx-top-links a.active { color: var(--gold); }
.fx-top-right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.fx-am {
    color: var(--text); font-size: 13px; cursor: pointer; white-space: nowrap;
    background: none; border: 0; font-family: inherit; padding: 0; line-height: 1;
}
.fx-am-ico { display: none; }
.fx-drop-right .fx-drop-menu { left: auto; right: 0; }
.fx-avatar-btn { font-weight: 700; font-size: 13px; text-decoration: none; color: var(--text) !important; }

.fx-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 28px;
    background: rgba(12, 14, 13, 0.92);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 40;
    backdrop-filter: blur(18px);
}
.fx-brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; font-size: 18px; }
.fx-brand img { height: 32px; width: auto; max-width: 168px; object-fit: contain; display: block; }
.fx-brand em { font-style: normal; color: var(--gold); font-weight: 800; }
.fx-brand img.fx-logo-mark {
    width: 28px; height: 28px; max-width: none; border-radius: 8px; flex-shrink: 0;
}
.fx-icon-btn {
    width: 34px; height: 34px; border-radius: 999px;
    border: 0; background: transparent; color: var(--text);
    cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
    font-size: 16px;
}
.fx-nav-toggle {
    width: 34px; height: 34px; border-radius: 8px;
    border: 0; background: transparent; color: var(--text);
    cursor: pointer; display: none; align-items: center; justify-content: center;
}
.fx-nav-center { display: flex; gap: 26px; align-items: center; flex: 1; justify-content: center; }
.fx-nav-center a, .fx-drop > span, .fx-drop > .fx-am { color: var(--muted); font-weight: 500; font-size: 14px; }
.fx-nav-center a:hover, .fx-nav-center a.active, .fx-drop:hover > span, .fx-drop:hover > .fx-am { color: var(--text); }
.fx-drop { position: relative; }
.fx-drop > span, .fx-drop > .fx-am { cursor: pointer; }
.fx-drop-menu {
    display: none; position: absolute; top: 28px; left: 0; min-width: 188px;
    background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 8px;
    box-shadow: 0 16px 40px rgba(0,0,0,.45); z-index: 20;
}
.fx-drop:hover .fx-drop-menu, .fx-drop:focus-within .fx-drop-menu { display: block; }
.fx-drop-menu a { display: block; padding: 8px 10px; border-radius: 8px; color: var(--text); }
.fx-drop-menu a:hover { background: rgba(252,213,53,.08); color: var(--gold); }
.fx-nav-actions { display: flex; gap: 10px; align-items: center; }
.fx-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    border: 0; border-radius: 999px; padding: 11px 20px; font-weight: 700; cursor: pointer;
    background: var(--gold); color: #111; font-size: 14px;
}
.fx-btn:hover { background: var(--gold-hover); color: #111; }
.fx-btn-ghost {
    background: transparent; color: var(--text); border: 1px solid rgba(255,255,255,.16);
}
.fx-btn-ghost:hover { color: var(--text); border-color: #fff; }
.fx-btn-buy { background: var(--buy); color: #042012; }
.fx-btn-buy:hover { background: #10c484; color: #042012; }
.fx-btn-sell { background: transparent; color: var(--sell); border: 1px solid var(--sell); }
.fx-btn-sell:hover { background: rgba(255,92,108,.1); color: var(--sell); }
.fx-btn-danger { background: var(--sell); color: #fff; }
.fx-btn-sm { padding: 7px 12px; font-size: 13px; }
.fx-btn-block { width: 100%; }

.fx-ticker {
    overflow: hidden; border-bottom: 1px solid var(--line); background: #0e1411;
    font-variant-numeric: tabular-nums;
}
.fx-ticker-track { display: flex; gap: 32px; padding: 10px 0; width: max-content; animation: fx-marquee 42s linear infinite; }
.fx-ticker-item { color: var(--muted); white-space: nowrap; font-weight: 600; font-size: 13px; }
.fx-ticker-item strong { color: var(--text); margin-right: 8px; }
.fx-up { color: var(--buy); }
.fx-down { color: var(--sell); }
@keyframes fx-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.fx-hero {
    width: min(var(--max), 92%);
    margin: 0 auto;
    padding: 56px 0 28px;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(32px, 5vw, 64px);
    align-items: center;
}
.fx-hero-copy { order: 1; }
.fx-live-card {
    order: 2;
    background: linear-gradient(180deg, #1a221e, #121815);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 22px;
    box-shadow: 0 30px 80px rgba(0,0,0,.35);
}
.fx-live-head { display: flex; justify-content: space-between; align-items: center; }
.fx-live-pair { display: flex; gap: 12px; align-items: center; }
.fx-coin-badge {
    width: 42px; height: 42px; border-radius: 50%; background: var(--gold);
    color: #111; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 18px;
}
.fx-live-pair h3 { margin: 0; font-size: 18px; font-weight: 800; }
.fx-live-pair p { margin: 0; color: var(--muted); font-size: 13px; font-weight: 500; }
.fx-live { font-size: 12px; color: var(--live); border: 1px solid rgba(18,209,142,.3); padding: 4px 10px; border-radius: 999px; font-weight: 700; }
.fx-live::before { content: ""; display: inline-block; width: 7px; height: 7px; background: var(--live); border-radius: 50%; margin-right: 6px; animation: fx-pulse 1.6s ease-in-out infinite; }
.fx-live-price { font-size: 42px; font-weight: 800; margin: 14px 0 4px; letter-spacing: -0.04em; display: flex; align-items: baseline; gap: 12px; }
.fx-live-price small { font-size: 16px; font-weight: 700; }
.fx-live-range { color: var(--muted); font-size: 13px; margin: 0 0 6px; }
.fx-spark-wrap { position: relative; }
.fx-spark { width: 100%; height: 150px; display: block; margin: 8px 0 18px; }
.fx-live-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.fx-kicker { letter-spacing: .18em; text-transform: uppercase; font-size: 12px; color: var(--muted); margin: 0 0 14px; font-weight: 600; }
.fx-kicker::before { content: ""; display: inline-block; width: 28px; height: 2px; background: var(--gold); margin-right: 10px; vertical-align: middle; }
.fx-hero h1 { font-size: clamp(42px, 5.6vw, 66px); line-height: 1.02; margin: 0 0 18px; letter-spacing: -1.5px; font-weight: 800; }
.fx-hero h1 span { color: var(--buy); }
.fx-hero p.lead { color: var(--muted); font-size: 18px; max-width: 540px; line-height: 1.65; margin: 0 0 28px; }
.fx-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.fx-section { padding: 64px 0; width: min(var(--max), 92%); margin: 0 auto; }
.fx-section-flush { width: 100%; padding: 0; }
.fx-section h2 { margin-top: 0; font-size: clamp(28px, 4vw, 42px); letter-spacing: -0.04em; }
.fx-muted { color: var(--muted); }
.fx-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.fx-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.fx-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px;
}
.fx-card h3 { margin: 8px 0; }

.fx-partners-wrap { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 36px 0 28px; overflow: hidden; }
.fx-partners-label { text-align: center; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); font-size: 12px; margin-bottom: 22px; }
.fx-partners { display: flex; gap: 48px; width: max-content; animation: fx-marquee 28s linear infinite; }
.fx-partner { color: rgba(237,242,239,.38); font-size: 28px; font-weight: 700; letter-spacing: -0.03em; white-space: nowrap; }

.fx-stats-wrap { width: min(var(--max), 92%); margin: 0 auto; padding: 56px 0; border-bottom: 1px solid var(--line); }
.fx-stats-home { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.fx-stat-home strong { display: block; font-size: clamp(36px, 5vw, 52px); letter-spacing: -0.05em; font-weight: 800; }
.fx-stat-home strong.gold { color: var(--gold); }
.fx-stat-home span { color: var(--muted); letter-spacing: .14em; text-transform: uppercase; font-size: 12px; font-weight: 600; }

.fx-showreel {
    width: min(var(--max), 92%);
    margin: 0 auto;
    padding: 56px 0 24px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: clamp(28px, 5vw, 64px);
    align-items: center;
}
.fx-showreel-copy h2 { margin: 0 0 12px; }
.fx-showreel-copy .fx-muted { max-width: 480px; margin: 0 0 24px; line-height: 1.65; }
.fx-video-frame {
    position: relative;
    width: min(320px, 78vw);
    aspect-ratio: 9 / 16;
    height: auto;
    max-height: 70vh;
    margin: 0 auto;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: #0a0d0b;
    box-shadow: 0 30px 80px rgba(0,0,0,.35);
}
.fx-advert,
.fx-video-poster {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    background: #0a0d0b;
}
.fx-advert { z-index: 0; }
.fx-video-poster { z-index: 1; pointer-events: none; }
.fx-video-frame.is-playing .fx-advert { z-index: 3; }
.fx-video-bar {
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 10px;
    z-index: 4;
    display: none;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 14px;
    background: rgba(8, 10, 9, .82);
    backdrop-filter: blur(8px);
}
.fx-video-frame.is-playing .fx-video-bar:not([hidden]) { display: flex; }
.fx-video-bar button {
    flex: 0 0 auto;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #fff;
    cursor: pointer;
    font-size: 13px;
    line-height: 1;
}
.fx-video-bar button:hover { background: rgba(255,255,255,.08); }
.fx-video-seek {
    flex: 1 1 auto;
    min-width: 0;
    height: 4px;
    accent-color: var(--gold);
    cursor: pointer;
}
.fx-video-time {
    flex: 0 0 auto;
    color: #cfd6d1;
    font-size: 11px;
    font-variant-numeric: tabular-nums;
            min-width: 72px;
    text-align: right;
}
.fx-video-play {
    position: absolute;
    inset: 0;
    z-index: 2;
    border: 0;
    background: rgba(8, 10, 9, .28);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.fx-video-play span {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--gold);
    color: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    padding-left: 4px;
    box-shadow: 0 10px 30px rgba(198,255,74,.28);
}
.fx-video-frame.is-playing .fx-video-play,
.fx-video-frame.is-playing .fx-video-poster { display: none; }

.fx-market-wrap { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.fx-market-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.fx-market { width: 100%; border-collapse: collapse; }
.fx-market th, .fx-market td { text-align: left; padding: 16px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.fx-market th { color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: .08em; }
.fx-pair { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.fx-mini-spark { width: 88px; height: 32px; display: block; }
.fx-tabs { display: flex; gap: 8px; }
.fx-tabs button, .fx-chip {
    border: 1px solid var(--line); background: transparent; color: var(--muted);
    border-radius: 999px; padding: 7px 14px; cursor: pointer; font-weight: 600;
}
.fx-tabs button.active, .fx-chip.active, .fx-chip:hover { color: var(--text); background: transparent; border-color: var(--gold); }
.fx-chip-row { display: flex; flex-wrap: wrap; gap: 8px; }

.fx-tour { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; margin: 36px 0; }
.fx-tour.reverse { grid-template-columns: .95fr 1.05fr; }
.fx-tour.reverse .fx-tour-copy { order: 2; }
.fx-mock {
    background: linear-gradient(180deg, #1b221f, #121815);
    border: 1px solid var(--line); border-radius: 20px; padding: 18px; min-height: 280px;
}
.fx-ob-row { display: flex; justify-content: space-between; font-variant-numeric: tabular-nums; font-size: 13px; padding: 4px 0; }
.fx-ob-row.ask { color: var(--sell); }
.fx-ob-row.bid { color: var(--buy); }
.fx-ob-spread { text-align: center; padding: 8px 0; font-weight: 800; }

.fx-feature-list { list-style: none; padding: 0; margin: 24px 0 0; }
.fx-feature-list li { display: grid; grid-template-columns: 36px 1fr; gap: 12px; margin-bottom: 18px; }
.fx-ico {
    width: 36px; height: 36px; border-radius: 10px; background: rgba(252,213,53,.12);
    color: var(--gold); display: flex; align-items: center; justify-content: center; font-weight: 800;
}
.fx-feature-list h3 { margin: 0; font-size: 16px; }
.fx-feature-list p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }

.fx-phone {
    width: 280px; margin: 0 auto; background: #0e1411; border: 8px solid #1c2420; border-radius: 32px;
    padding: 22px 16px; min-height: 460px; box-shadow: 0 30px 80px rgba(0,0,0,.4);
}
.fx-store-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.fx-store {
    border: 1px solid var(--line); border-radius: 12px; padding: 10px 16px; color: var(--text);
    display: inline-flex; flex-direction: column; font-size: 11px; letter-spacing: .04em;
}
.fx-store strong { font-size: 15px; }

.fx-steps { display: grid; gap: 0; }
.fx-step { display: grid; grid-template-columns: 28px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.fx-step-dot { width: 22px; height: 22px; border-radius: 50%; background: var(--buy); color: #042012; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; }

.fx-news { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; align-items: stretch; }
.fx-news-lead {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 0;
    background: var(--card);
}
.fx-news-media {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #1d2621;
}
.fx-news-media img,
.fx-news-thumb img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.fx-news-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.fx-news-body h3 { margin: 8px 0 10px; }
.fx-news-side { display: flex; flex-direction: column; gap: 16px; }
.fx-news-side article {
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 14px;
    align-items: center;
    margin: 0;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--card);
}
.fx-news-side article h3 { margin: 6px 0 8px; font-size: 16px; }
.fx-news-thumb {
    position: relative;
    width: 96px;
    height: 96px;
    border-radius: 12px;
    overflow: hidden;
    background: #1d2621;
    flex-shrink: 0;
}
.fx-tag { font-size: 11px; letter-spacing: .14em; color: var(--gold); font-weight: 700; }

.fx-cta {
    width: min(var(--max), 92%);
    margin: 0 auto 64px;
    padding: 48px;
    border-radius: 28px;
    background: linear-gradient(135deg, #1a221e, #101512);
    border: 1px solid var(--line);
    text-align: center;
}
.fx-cta h2 { font-size: clamp(32px, 4vw, 48px); margin: 0 0 10px; }
.fx-cta p { color: var(--muted); margin: 0 0 24px; }

.fx-footer {
    margin-top: auto; padding: 48px 0 24px; border-top: 1px solid var(--line); color: var(--muted);
}
.fx-footer-inner { width: min(var(--max), 92%); margin: 0 auto; }
.fx-footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 24px; margin-bottom: 28px; }
.fx-footer h3 { color: var(--text); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.fx-footer a { display: block; color: var(--muted); margin: 8px 0; }
.fx-footer a:hover { color: var(--text); }
.fx-footer-meta { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 18px; border-top: 1px solid var(--line); }
.fx-socials { display: flex; gap: 12px; margin-top: 14px; }
.fx-socials a { width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--text); }
.fx-cookie {
    position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 35;
    background: #161c19; border: 1px solid var(--line); border-radius: 16px;
    padding: 16px 18px; display: flex; gap: 16px; align-items: center; justify-content: space-between;
    box-shadow: 0 16px 50px rgba(0,0,0,.4); max-width: 720px; margin: 0 auto;
}
.fx-cookie.hidden { display: none; }

.fx-auth {
    max-width: 440px; margin: 56px auto; background: var(--card);
    border: 1px solid var(--line); border-radius: 22px; padding: 36px;
}
.fx-auth h1 { margin-top: 0; font-size: 32px; }
.fx-auth .fx-btn { width: 100%; margin-top: 8px; }
.fx-label { display: block; margin: 14px 0 6px; color: var(--muted); font-size: 13px; }
.fx-input, .fx-select, .fx-textarea {
    width: 100%; background: #0e1411; border: 1px solid var(--line); color: var(--text);
    border-radius: 12px; padding: 12px 14px; font-size: 15px;
}
.fx-input:focus, .fx-select:focus, .fx-textarea:focus { outline: 1px solid var(--gold); border-color: var(--gold); }
.fx-textarea { min-height: 90px; }
.fx-form-actions { margin-top: 18px; display: flex; gap: 10px; }
.fx-list { color: var(--muted); padding-left: 18px; }
.fx-side-toggle { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 8px; }
.fx-side-toggle button { width: 100%; }
.fx-side-toggle button.is-on-buy { background: var(--buy); color: #042012; border-color: var(--buy); }
.fx-side-toggle button.is-on-sell { background: var(--sell); color: #fff; border-color: var(--sell); }

.fx-app { display: grid; grid-template-columns: 260px 1fr; min-height: 100vh; }
.fx-side {
    background: #0e1411; border-right: 1px solid var(--line); padding: 22px 14px;
}
.fx-side a {
    display: block; color: var(--muted); padding: 11px 12px; border-radius: 12px; margin-bottom: 4px; font-weight: 500;
}
.fx-side a.active, .fx-side a:hover { background: rgba(252,213,53,.1); color: var(--gold); }
.fx-main { padding: 28px 32px; background: var(--bg); }
.fx-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }
.fx-stat { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px; }
.fx-stat span { color: var(--muted); font-size: 13px; }
.fx-stat strong { display: block; font-size: 24px; margin-top: 6px; }
.fx-table { width: 100%; border-collapse: collapse; }
.fx-table th, .fx-table td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); }
.fx-table th { color: var(--muted); font-weight: 600; font-size: 13px; }
.fx-badge { display: inline-block; padding: 3px 8px; border-radius: 999px; font-size: 12px; }
.fx-badge-pending { background: rgba(252,213,53,.15); color: var(--gold); }
.fx-badge-success { background: rgba(18,209,142,.15); color: var(--buy); }
.fx-badge-danger { background: rgba(255,92,108,.15); color: var(--sell); }
.fx-address { word-break: break-all; background: #0e1411; padding: 12px; border-radius: 8px; }
.fx-alert { padding: 12px 14px; border-radius: 12px; margin-bottom: 16px; }
.fx-alert-success { background: rgba(18,209,142,.12); color: var(--buy); }
.fx-alert-danger { background: rgba(255,92,108,.12); color: var(--sell); }
.fx-inline-form { display: flex; gap: 8px; align-items: center; }
.fx-inline-form .fx-input { width: 110px; padding: 7px 8px; }
.fx-chat-thread { max-height: 320px; overflow: auto; margin-bottom: 12px; }
.fx-chat-line { padding: 8px 0; border-bottom: 1px solid var(--line); }
.fx-chat-line.mine { text-align: right; }
.fx-alt { background: #0e1411; }

.fx-term {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr) 320px;
    grid-template-rows: auto clamp(440px, 52vh, 640px) auto minmax(180px, auto);
    grid-template-areas:
        "head head head"
        "markets chart book"
        "markets ticket book"
        "markets orders orders";
    gap: 8px;
    padding: 8px 12px 24px;
    width: 100%;
    max-width: 100%;
    min-height: 0;
    overflow-x: hidden;
    box-sizing: border-box;
    align-items: stretch;
}
.fx-term > * { min-width: 0; }
.fx-term-head {
    grid-area: head;
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px;
    flex-wrap: nowrap;
}
.fx-term-pair { display: flex; gap: 10px; align-items: center; flex-shrink: 0; }
.fx-term-pair-name { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 20px; }
.fx-term-pair p { margin: 0; font-size: 12px; }
.fx-term-stats { display: flex; gap: 22px; flex-wrap: wrap; }
.fx-term-stats span { display: block; color: var(--muted); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.fx-term-stats strong { font-size: 16px; }
.fx-term-chart, .fx-term-book, .fx-term-ticket, .fx-term-orders {
    background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 10px;
}
.fx-term-chart {
    grid-area: chart; display: flex; flex-direction: column; min-width: 0; min-height: 0; overflow: hidden;
}
.fx-term-book { grid-area: book; display: flex; flex-direction: column; min-height: 0; }
.fx-term-ticket { grid-area: ticket; min-width: 0; }
.fx-term-orders { grid-area: orders; overflow: auto; }
.fx-term-chart-bar {
    display: flex; flex-direction: column; align-items: stretch; gap: 2px;
    margin-bottom: 8px; min-width: 0;
}
.fx-chart-tools { display: flex; align-items: center; gap: 8px; min-width: 0; }
.fx-term-book-bar { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: nowrap; margin-bottom: 8px; }
#fx-candles { width: 100%; height: 100%; min-height: 0; flex: 1; display: block; background: #0e1411; border-radius: 8px; }
.fx-book-head, .fx-book-row { display: grid; grid-template-columns: 1.2fr .9fr .9fr; gap: 6px; font-size: 12px; font-variant-numeric: tabular-nums; }
.fx-book-head { color: var(--muted); padding: 0 8px 6px; }
.fx-book-asks, .fx-book-bids { overflow: auto; flex: 1; }
.fx-book-row {
    position: relative; width: 100%; border: 0; background: transparent; color: inherit;
    text-align: left; padding: 3px 8px; cursor: pointer;
}
.fx-book-row i { position: absolute; top: 0; bottom: 0; right: 0; opacity: .16; pointer-events: none; }
.fx-book-row.ask { color: var(--sell); }
.fx-book-row.ask i { background: var(--sell); }
.fx-book-row.bid { color: var(--buy); }
.fx-book-row.bid i { background: var(--buy); }
.fx-book-row:hover { background: rgba(255,255,255,.04); }
.fx-book-spread { text-align: center; font-weight: 800; padding: 8px 0; font-size: 16px; }
.fx-book-spread small { display: block; font-size: 11px; color: var(--muted); font-weight: 500; }
.fx-term-ticket .fx-btn { width: 100%; margin-top: 10px; border-radius: 10px; height: 40px; padding: 0 12px; }
.fx-range { width: 100%; margin: 10px 0 6px; accent-color: var(--gold); }
.fx-pct-row { display: flex; gap: 6px; margin-bottom: 8px; }
.fx-term-pairs { max-height: 280px; overflow: auto; }
.fx-pane { margin-top: 8px; }
#fx-ohlc { font-size: 12px; white-space: nowrap; flex-shrink: 0; }
.fx-field input::-webkit-outer-spin-button,
.fx-field input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.fx-field input[type=number] { -moz-appearance: textfield; appearance: textfield; }

body.fx-light .fx-term-chart, body.fx-light .fx-term-book, body.fx-light .fx-term-ticket, body.fx-light .fx-term-orders, body.fx-light .fx-term-head { background: #fff; }
body.fx-light .fx-field, body.fx-light .fx-mkt-search { background: #f3f4f3; }
body.fx-light .fx-trade-head { background: #f6f7f6; }

.fx-alt .fx-section { }

body.fx-light {
    --bg: #f6f7f6; --bg-2: #fff; --card: #fff; --line: rgba(16,32,24,.1);
    --text: #111413; --muted: #5d6662;
}
body.fx-light .fx-input, body.fx-light .fx-select, body.fx-light .fx-textarea, body.fx-light .fx-address { background: #f3f4f3; color: #111; }
body.fx-light .fx-nav, body.fx-light .fx-side, body.fx-light .fx-ticker, body.fx-light .fx-alt, body.fx-light .fx-mock, body.fx-light .fx-phone, body.fx-light .fx-cookie { background: #fff; }
body.fx-light .fx-live-card, body.fx-light .fx-cta, body.fx-light .fx-news-lead, body.fx-light .fx-video-frame { background: #fff; }
body.fx-light .fx-partner { color: rgba(17,20,19,.45); }

@keyframes fx-pulse { 0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(18,209,142,.5); } 50% { opacity: .7; box-shadow: 0 0 0 6px rgba(18,209,142,0); } }
@keyframes fx-flash-up { from { background: rgba(18,209,142,.28); } to { background: transparent; } }
@keyframes fx-flash-down { from { background: rgba(255,92,108,.28); } to { background: transparent; } }
.fx-flash-up { animation: fx-flash-up .7s ease; border-radius: 4px; }
.fx-flash-down { animation: fx-flash-down .7s ease; border-radius: 4px; }
.fx-px, .fx-ch, [data-hero-price], [data-term-last] { transition: color .2s ease; font-variant-numeric: tabular-nums; }

.fx-tour-stage { display: grid; grid-template-columns: 280px 1fr; gap: 48px; align-items: start; margin-top: 36px; }
.fx-tour-nav { position: sticky; top: 88px; background: #0e1411; z-index: 6; padding: 8px 0 12px; }
.fx-tour-count { font-size: 13px; letter-spacing: .16em; color: var(--muted); margin-bottom: 18px; font-weight: 700; }
.fx-tour-count b { color: var(--gold); }
.fx-tour-nav button {
    display: block; width: 100%; text-align: left; background: transparent; border: 0;
    color: var(--muted); padding: 14px 0; font-size: 18px; font-weight: 700; cursor: pointer;
    border-bottom: 1px solid var(--line); font-family: inherit;
}
.fx-tour-nav button.active { color: var(--text); }
.fx-tour-nav button.active::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); margin-right: 10px; }
.fx-scroll-hint { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; margin-top: 18px; }
.fx-scroll-hint i { animation: fx-bounce 1.4s ease-in-out infinite; font-style: normal; }
@keyframes fx-bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
.fx-tour-panes { min-height: 420px; }
.fx-tour-pane { animation: fx-fade .45s ease; }
@keyframes fx-fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.fx-caps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 28px; }
.fx-cap {
    position: relative;
    overflow: hidden;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 24px;
    transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}
.fx-cap::after {
    content: "";
    position: absolute;
    left: 0; right: 0; top: 0;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .28s ease;
}
.fx-cap:hover {
    transform: translateY(-5px);
    border-color: rgba(198,255,74,.4);
    box-shadow: 0 18px 40px rgba(0,0,0,.28);
}
.fx-cap:hover::after { transform: scaleX(1); }
.fx-cap h3 { margin: 12px 0 8px; font-size: 18px; }
.fx-cap p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.fx-cap .fx-ico {
    width: 48px; height: 48px; font-size: 18px;
    border-radius: 14px;
    transition: transform .28s ease, background .28s ease;
}
.fx-cap .fx-ico svg { width: 22px; height: 22px; display: block; }
.fx-cap:hover .fx-ico { transform: scale(1.06); }
.fx-cap:nth-child(1) .fx-ico { background: rgba(198,255,74,.16); color: #c6ff4a; }
.fx-cap:nth-child(2) .fx-ico { background: rgba(110,168,255,.16); color: #9cc4ff; }
.fx-cap:nth-child(3) .fx-ico { background: rgba(18,209,142,.16); color: #4ae0a8; }
.fx-cap:nth-child(4) .fx-ico { background: rgba(255,184,76,.16); color: #ffc56a; }
.fx-cap:nth-child(5) .fx-ico { background: rgba(255,122,168,.16); color: #ff9bc0; }
.fx-cap:nth-child(6) .fx-ico { background: rgba(176,148,255,.16); color: #c4b0ff; }

.fx-phone { overflow: hidden; }
.fx-phone-list { margin-top: 12px; }
.fx-phone-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.fx-phone-row strong { font-size: 13px; }
.fx-phone-scroll { animation: fx-phone-marquee 18s linear infinite; }
@keyframes fx-phone-marquee { from { transform: translateY(0); } to { transform: translateY(-50%); } }

.fx-p2p-row { display: grid; grid-template-columns: 36px 1fr auto auto; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.fx-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--gold); color: #111; display: flex; align-items: center; justify-content: center; font-weight: 800; }
.fx-p2p-row small { display: block; color: var(--muted); font-size: 11px; }
.fx-kpi { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 14px; }
.fx-kpi div { background: #0e1411; border-radius: 12px; padding: 12px; }
.fx-kpi span { color: var(--muted); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.fx-kpi strong { display: block; font-size: 22px; margin-top: 4px; }
.fx-wd { display: flex; justify-content: space-between; font-size: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.fx-wd b { color: var(--text); }
.fx-wd em { font-style: normal; color: var(--gold); font-size: 11px; }

.fx-pipe .fx-step { opacity: .38; transition: opacity .4s ease, background .4s ease; }
.fx-pipe .fx-step.is-on { opacity: 1; }
.fx-pipe .fx-step .fx-step-dot { background: #2a3530; color: var(--muted); }
.fx-pipe .fx-step.is-on .fx-step-dot { background: var(--buy); color: #042012; }
.fx-pipe-status { font-size: 12px; color: var(--buy); letter-spacing: .12em; text-transform: uppercase; font-weight: 700; margin-bottom: 8px; }

@media (max-width: 980px) {
    .fx-tour-stage, .fx-caps { grid-template-columns: 1fr; }
    .fx-tour-nav { position: static; display: flex; flex-wrap: wrap; gap: 8px; }
    .fx-tour-nav button { width: auto; border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font-size: 13px; }
}

@media (max-width: 980px) {
    .fx-hero, .fx-grid, .fx-grid-2, .fx-stats, .fx-app, .fx-cta, .fx-footer-grid, .fx-tour, .fx-tour.reverse, .fx-news, .fx-showreel { grid-template-columns: 1fr; }
    .fx-news-side article { grid-template-columns: 1fr; }
    .fx-news-thumb { width: 100%; height: 150px; }
    .fx-hero-copy { order: 2; }
    .fx-live-card { order: 1; }
    .fx-nav-center { display: none; }
    .fx-cta { text-align: left; padding: 32px 22px; }
    .fx-hero { padding-top: 24px; }
    .fx-hero h1 { font-size: clamp(32px, 10vw, 48px); }
    .fx-stats-home { grid-template-columns: 1fr 1fr; }
    .fx-showreel { justify-items: center; text-align: center; }
    .fx-showreel-copy { order: 2; }
    .fx-video-frame { order: 1; width: min(280px, 72vw); }
    .fx-showreel-copy .fx-muted { margin-left: auto; margin-right: auto; }
    .fx-showreel .fx-hero-actions { justify-content: center; }
    .fx-top-inner { padding: 0 12px; gap: 8px; }
    .fx-top-left { min-width: 0; }
    .fx-top-right { gap: 2px; }
    .fx-hide-sm { display: none !important; }
    .fx-brand { font-size: 16px; gap: 8px; min-width: 0; }
    .fx-side { display: flex; gap: 8px; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); }
    .fx-side a { white-space: nowrap; }
    .fx-market { font-size: 13px; }
    .fx-live-price { font-size: 34px; }
}
body.fx-nav-tight .fx-am-label { display: none; }
body.fx-nav-tight .fx-am-ico { display: inline-flex; }
body.fx-nav-tight .fx-hide-sm { display: none !important; }
body.fx-nav-compact .fx-top-left { gap: 10px; }
body.fx-nav-compact .fx-top-links { display: none; }
body.fx-nav-compact .fx-nav-toggle { display: inline-flex; }
body.fx-nav-compact .fx-asset-menu { display: none; }
body.fx-nav-compact .fx-nav-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 55;
}
body.fx-nav-compact.fx-nav-open .fx-nav-backdrop { display: block; }
body.fx-nav-compact.fx-nav-open { overflow: hidden; }
body.fx-nav-compact .fx-nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(300px, 86vw);
    margin: 0;
    padding: 8px 12px 28px;
    gap: 2px;
    align-items: stretch;
    justify-content: flex-start;
    flex-direction: column;
    background: #121615;
    border-right: 1px solid var(--line);
    border-radius: 0;
    z-index: 60;
    overflow-y: auto;
    box-shadow: 18px 0 48px rgba(0, 0, 0, 0.4);
}
body.fx-nav-compact.fx-nav-open .fx-nav-links { display: flex; }
body.fx-nav-compact .fx-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 6px 12px;
    margin-bottom: 6px;
    border-bottom: 1px solid var(--line);
}
body.fx-nav-compact .fx-drawer-head strong { font-size: 16px; }
body.fx-nav-compact .fx-drawer-label {
    display: block;
    margin: 14px 8px 4px;
    font-size: 11px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted);
}
body.fx-nav-compact .fx-drawer-only { display: block; }
body.fx-nav-compact .fx-nav-links a {
    display: block;
    padding: 11px 12px;
    border-radius: 10px;
    text-align: left;
    color: var(--text);
}
body.fx-nav-compact .fx-nav-links a.active,
body.fx-nav-compact .fx-nav-links a:hover {
    background: rgba(198, 255, 74, 0.1);
    color: var(--gold);
}
body.fx-light.fx-nav-compact .fx-nav-links { background: #fff; }
@media (max-width: 1100px) and (min-width: 768px) {
    .fx-stats { grid-template-columns: 1fr 1fr; }
}
.fx-card:has(.fx-table) { overflow-x: auto; max-width: 100%; }
.fx-opt {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
    grid-template-rows: auto auto minmax(280px, 1fr) auto;
    grid-template-areas:
        "head head"
        "list list"
        "orders ticket"
        "orders ticket";
}
.fx-opt-list { display: flex; flex-wrap: wrap; gap: 8px; padding: 8px 12px; }
.fx-opt .fx-opt-list { grid-area: list; }
.fx-opt .fx-term-ticket { grid-area: ticket; }
.fx-opt .fx-term-orders { grid-area: orders; }
.fx-label input[type=checkbox] { margin-right: 8px; }
.fx-opt .fx-term-ticket { min-height: 420px; }

.fx-page { width: min(1120px, 94%); margin: 0 auto; padding: 18px 0 80px; }
.fx-utabs {
    display: flex; gap: 4px; align-items: flex-end;
    border-bottom: 1px solid var(--line); margin-bottom: 22px; overflow-x: auto;
}
.fx-utabs a {
    color: var(--muted); padding: 12px 14px 10px; font-size: 14px; font-weight: 500;
    border-bottom: 2px solid transparent; white-space: nowrap;
}
.fx-utabs a:hover { color: var(--text); }
.fx-utabs a.active { color: var(--text); border-bottom-color: var(--gold); }
.fx-asset-hero, .fx-acct-card {
    background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 22px 24px; margin-bottom: 16px;
}
.fx-asset-hero h2, .fx-acct-card h2 { margin: 0 0 8px; font-size: 16px; font-weight: 600; }
.fx-asset-total { font-size: 32px; font-weight: 800; letter-spacing: -0.04em; margin: 6px 0 16px; }
.fx-asset-total small { font-size: 16px; color: var(--muted); font-weight: 600; }
.fx-pill-row { display: flex; gap: 10px; flex-wrap: wrap; }
.fx-pill { border-radius: 999px; padding: 10px 22px; font-weight: 700; border: 0; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; }
.fx-pill-on { background: var(--gold); color: #111; }
.fx-pill-on:hover { color: #111; background: var(--gold-hover); }
.fx-pill-off { background: #2a2e2c; color: var(--text); }
.fx-pill-off:hover { color: var(--text); background: #343836; }
.fx-eye { background: none; border: 0; color: var(--muted); cursor: pointer; font-size: 16px; margin-left: 6px; }
.fx-sheet {
    position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 80; display: flex; justify-content: flex-end;
}
.fx-sheet[hidden] { display: none !important; }
.fx-sheet-panel {
    width: min(420px, 100%); background: #141716; height: 100%; padding: 22px; overflow: auto;
    border-left: 1px solid var(--line);
}
.fx-sheet-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.fx-sheet-head h2 { margin: 0; font-size: 22px; }
.fx-sheet-row {
    display: flex; justify-content: space-between; align-items: center;
    border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; margin-bottom: 12px;
    color: var(--text); font-weight: 600;
}
.fx-sheet-row:hover { border-color: var(--gold); color: var(--text); }
.fx-acct-head { display: flex; gap: 14px; align-items: center; margin-bottom: 22px; }
.fx-acct-head .fx-avatar { width: 48px; height: 48px; font-size: 20px; background: var(--gold); color: #111; }
.fx-acct-head h1 { margin: 0; font-size: 18px; }
.fx-acct-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 22px; }
.fx-kyc-hero { text-align: center; padding: 28px 16px 8px; max-width: 520px; margin: 0 auto; }
.fx-id-art { width: 180px; height: 130px; margin: 0 auto 16px; border: 1px dashed rgba(255,255,255,.2); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 48px; }
.fx-form-narrow { max-width: 560px; }
.fx-term-markets { grid-area: markets; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; min-height: 0; }
.fx-mkt-search { width: 100%; background: #0e1210; border: 1px solid var(--line); color: var(--text); border-radius: 999px; padding: 8px 12px; margin: 8px 0 10px; font-size: 13px; }
.fx-mkt-tabs { display: flex; gap: 12px; border-bottom: 1px solid var(--line); margin-bottom: 8px; overflow-x: auto; }
.fx-mkt-tabs button, .fx-mkt-tabs a { background: none; border: 0; color: var(--muted); padding: 8px 0; cursor: pointer; font-weight: 600; border-bottom: 2px solid transparent; text-decoration: none; }
.fx-mkt-tabs button.active, .fx-mkt-tabs a.active { color: var(--text); border-bottom-color: var(--gold); }
.fx-mkt-list { overflow: auto; flex: 1; }
.fx-mkt-head { display: grid; grid-template-columns: 22px 1.3fr .9fr .7fr; gap: 6px; color: var(--muted); font-size: 11px; padding: 4px; }
.fx-mkt-row { display: grid; grid-template-columns: 22px 1.3fr .9fr .7fr; gap: 6px; align-items: center; padding: 8px 4px; color: var(--text); font-size: 13px; border-radius: 8px; }
.fx-mkt-row a { display: contents; color: inherit; }
.fx-mkt-row a:hover { color: inherit; }
.fx-mkt-row a > span:first-of-type { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.fx-mkt-row:hover { background: rgba(255,255,255,.04); color: var(--text); }
.fx-mkt-row.active { background: rgba(198,255,74,.08); }
.fx-star { background: none; border: 0; color: var(--muted); cursor: pointer; padding: 0; font-size: 14px; }
.fx-star.on { color: var(--gold); }
.fx-dual { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.fx-ticket-col { min-width: 0; }
.fx-trade-head {
    display: flex; flex-direction: column; gap: 4px;
    background: #121615; margin: -10px -10px 14px; padding: 12px 14px 0;
    border-radius: 12px 12px 0 0; border-bottom: 1px solid var(--line);
}
.fx-trade-head strong { font-size: 15px; }
.fx-trade-head .fx-chart-tabs { gap: 20px; }
.fx-chart-tabs { display: flex; gap: 16px; border-bottom: 1px solid var(--line); flex-shrink: 0; }
.fx-chart-tabs button {
    background: none; border: 0; border-bottom: 2px solid transparent; color: var(--muted);
    padding: 8px 2px 10px; cursor: pointer; font-weight: 600; font-size: 14px;
}
.fx-chart-tabs button.active { color: var(--text); border-bottom-color: var(--gold); }
.fx-tf-row { display: flex; gap: 2px; overflow-x: auto; flex: 1; min-width: 0; scrollbar-width: none; }
.fx-tf-row::-webkit-scrollbar { display: none; }
.fx-tf-row button {
    background: none; border: 0; color: var(--muted); padding: 6px 8px; cursor: pointer;
    font-weight: 600; font-size: 12px; white-space: nowrap; border-radius: 6px;
}
.fx-tf-row button.active { color: var(--gold); }
.fx-field {
    display: flex; align-items: center; gap: 8px;
    border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px;
    margin-bottom: 10px; background: #0e1210; min-width: 0;
}
.fx-field span { color: var(--muted); font-size: 13px; flex-shrink: 0; }
.fx-field input, .fx-field .fx-input {
    flex: 1; min-width: 0; width: auto; background: transparent; border: 0;
    color: var(--text); text-align: right; font-weight: 700; font-size: 14px; padding: 0;
}
.fx-field input:focus, .fx-field .fx-input:focus { outline: 0; }
.fx-field em { color: var(--muted); font-style: normal; font-size: 12px; flex-shrink: 0; }
.fx-tabs-mini { flex-shrink: 0; }
.fx-tabs-mini button { padding: 4px 8px; font-size: 11px; }
.fx-term-quote { display: flex; gap: 18px; align-items: center; flex-shrink: 0; }
.fx-term-quote div { min-width: 64px; }
.fx-term-quote span { display: block; color: var(--muted); font-size: 11px; }
.fx-term-quote strong { font-size: 14px; }
body.fx-term-page main { width: 100%; min-width: 0; flex: 1; }
@media (max-width: 1279px) {
    .fx-term {
        grid-template-columns: minmax(0, 1fr) minmax(220px, 320px);
        grid-template-rows: auto clamp(340px, 46vh, 520px) minmax(280px, auto) auto auto;
        grid-template-areas:
            "head head"
            "chart chart"
            "markets book"
            "ticket ticket"
            "orders orders";
    }
    .fx-term-markets, .fx-term-book { max-height: 420px; }
    .fx-term-head { flex-wrap: wrap; align-items: flex-start; }
    .fx-term-quote { flex-wrap: wrap; gap: 10px 16px; }
    .fx-opt {
        grid-template-columns: 1fr;
        grid-template-areas:
            "head"
            "list"
            "ticket"
            "orders";
    }
}
@media (max-width: 767px) {
    .fx-term {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto clamp(240px, 42vh, 320px) auto auto auto;
        grid-template-areas:
            "head"
            "markets"
            "chart"
            "ticket"
            "book"
            "orders";
    }
    .fx-term-head { flex-wrap: wrap; }
    .fx-term-markets { max-height: 280px; }
    .fx-term-book { max-height: 320px; }
    .fx-dual { gap: 10px; }
    .fx-term-quote { flex-wrap: wrap; gap: 12px; }
    .fx-field { padding: 8px; gap: 4px; }
    .fx-field span, .fx-field em { font-size: 11px; }
    .fx-page { padding: 16px; width: 94%; }
    .fx-acct-grid { grid-template-columns: 1fr; }
    .fx-section { padding: 40px 0; }
    .fx-stats-wrap { padding: 36px 0; }
    .fx-market-wrap { overflow: visible; }
    .fx-market { display: block; width: 100%; }
    .fx-market thead { display: none; }
    .fx-market tbody { display: block; }
    .fx-market tr {
        display: grid;
        grid-template-columns: 1fr auto;
        grid-template-areas:
            "pair trade"
            "price chg";
        gap: 6px 12px;
        align-items: center;
        padding: 14px 0;
        border-bottom: 1px solid var(--line);
    }
    .fx-market td { padding: 0; border: 0; }
    .fx-market td:nth-child(1) { grid-area: pair; }
    .fx-market td:nth-child(2) { grid-area: price; font-weight: 700; }
    .fx-market td:nth-child(3) { grid-area: chg; text-align: right; }
    .fx-market td:nth-child(4),
    .fx-market td:nth-child(5) { display: none; }
    .fx-market td:nth-child(6) { grid-area: trade; }
    .fx-live-price { font-size: 28px; letter-spacing: -0.03em; }
    .fx-cta { margin-bottom: 32px; }
}

html:has(body.qx-body),
body.fx-body.qx-body {
    height: 100%;
    max-height: 100vh;
    max-height: 100dvh;
    overflow: hidden;
}
body.fx-body.qx-body { min-height: 0; }
body.qx-drawer-open { overflow: hidden; }
.qx-shell {
    display: flex;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
}
.qx-sidebar {
    width: 288px;
    flex-shrink: 0;
    background: var(--bg-2);
    border-right: 1px solid var(--line);
    padding: 20px 14px 16px;
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
    position: sticky;
    top: 0;
}
.qx-side-top { flex-shrink: 0; padding: 4px 8px 18px; }
.qx-sidebar .fx-brand { margin: 0; }
.qx-side-nav {
    flex: 1 1 auto;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-right: 4px;
    -webkit-overflow-scrolling: touch;
}
.qx-nav-group { margin-bottom: 6px; }
.qx-side-label {
    margin: 8px 10px 8px;
    font-size: 11px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--muted);
}
.qx-nav-item,
.qx-sidebar a,
.qx-drawer a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 9px 12px;
    color: var(--muted);
    border-radius: 12px;
    font-size: 14px;
    background: none;
    border: 0;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
}
.qx-nav-item-inner { display: flex; align-items: center; gap: 10px; }
.qx-ico {
    width: 22px;
    text-align: center;
    color: var(--gold);
    opacity: .85;
}
.qx-caret { font-size: 10px; opacity: .6; transition: transform .2s ease; }
.submenu-container.open > .submenu-toggle .qx-caret { transform: rotate(180deg); }
.qx-nav-item.active,
.qx-nav-item.active-group,
.qx-sidebar a.active,
.qx-sidebar a:hover,
.qx-nav-item:hover,
.qx-drawer a.active,
.qx-drawer a:hover {
    color: var(--text);
    background: rgba(198, 255, 74, 0.08);
}
.qx-sub { display: none; padding: 4px 0 8px 18px; }
.submenu-container.open > .qx-sub { display: block; }
.qx-sub a {
    display: block;
    padding: 7px 12px;
    font-size: 13px;
    color: var(--muted);
    border-radius: 10px;
}
.qx-sub a.active, .qx-sub a:hover {
    color: var(--text);
    background: rgba(198, 255, 74, 0.1);
}
.qx-side-foot {
    flex-shrink: 0;
    margin-top: 8px;
    padding: 12px 8px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: var(--muted);
    font-size: 12px;
    border-top: 1px solid var(--line);
}
.qx-profile { display: flex; gap: 10px; align-items: center; }
.qx-profile strong { display: block; color: var(--text); font-size: 13px; }
.qx-profile small { color: var(--muted); }
.qx-avatar, .qx-staff-chip b {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background: var(--gold);
    color: #111;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}
.qx-logout { width: 100%; }
.qx-frame {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.qx-topbar {
    height: 80px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0 28px;
    border-bottom: 1px solid var(--line);
    background: rgba(8, 10, 8, 0.72);
    backdrop-filter: blur(12px);
}
body.fx-light .qx-topbar { background: rgba(255, 255, 255, 0.8); }
.qx-burger, .qx-drawer-close {
    display: none;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: var(--card);
    color: var(--text);
    cursor: pointer;
}
.qx-topbar-title { flex: 1 1 auto; min-width: 0; }
.qx-topbar-title h2 { margin: 0; font-size: 20px; }
.qx-topbar-title p { margin: 2px 0 0; color: var(--muted); font-size: 13px; }
.qx-topbar-actions { display: flex; align-items: center; gap: 12px; }
.qx-live {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--muted);
    padding: 7px 12px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--card);
}
.qx-live i {
    width: 8px;
    height: 8px;
    border-radius: 99px;
    background: var(--gold);
    display: inline-block;
}
.qx-staff-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 6px 8px 6px 14px;
    color: var(--text);
    cursor: pointer;
    text-align: left;
}
.qx-staff-chip span { display: block; font-size: 13px; font-weight: 600; }
.qx-staff-chip em { display: block; font-style: normal; font-size: 11px; color: var(--muted); }
.qx-drop { position: relative; }
.qx-drop-menu {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    min-width: 200px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 10px;
    z-index: 20;
}
.qx-drop:hover .qx-drop-menu, .qx-drop:focus-within .qx-drop-menu { display: block; }
.qx-drop-menu p { margin: 0 0 8px; font-size: 12px; color: var(--muted); }
.qx-drop-menu button {
    width: 100%;
    background: none;
    border: 0;
    color: var(--text);
    text-align: left;
    padding: 8px;
    border-radius: 8px;
    cursor: pointer;
}
.qx-drop-menu button:hover { background: rgba(198, 255, 74, 0.08); }
.qx-main {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding: 28px 32px 0;
}
.qx-canvas { max-width: 1120px; }
.qx-copy { color: var(--muted); font-size: 12px; padding: 28px 0 24px; }
.qx-main h1 { margin: 0 0 8px; font-size: 32px; }
.qx-main h2 { margin: 0 0 12px; font-size: 18px; }
.qx-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-end; flex-wrap: wrap; margin-bottom: 18px; }
.qx-filters { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.qx-filters .fx-input, .qx-filters .fx-select { width: auto; min-width: 160px; max-width: 100%; }
.qx-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 8px; }
.qx-bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; margin-top: 8px; }
.qx-bento .qx-card { grid-column: span 3; }
.qx-bento .qx-wide { grid-column: span 6; }
.qx-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 18px;
    color: inherit;
    display: block;
}
.qx-card span { color: var(--muted); font-size: 13px; }
.qx-card strong { display: block; margin-top: 10px; font-size: 28px; color: var(--gold); }
.qx-card small { display: block; margin-top: 8px; color: var(--muted); }
.qx-chart { margin-top: 16px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px; display: grid; gap: 14px; }
.qx-bar { display: grid; grid-template-columns: 160px 1fr auto; gap: 12px; align-items: center; }
.qx-bar span { color: var(--muted); font-size: 13px; }
.qx-bar-track { height: 14px; background: rgba(255,255,255,.06); border-radius: 999px; overflow: hidden; }
.qx-bar-track div { height: 100%; background: var(--gold); border-radius: 999px; }
.qx-bar strong { font-size: 13px; }
.qx-proof { width: 96px; height: 96px; object-fit: cover; border-radius: 8px; margin-top: 8px; }
.qx-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
@media (max-width: 720px) {
    .qx-bar { grid-template-columns: 1fr; }
}
.qx-section-title { margin: 28px 0 10px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.qx-product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.qx-product {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 220px;
}
.qx-product h3 { margin: 0; font-size: 18px; }
.qx-product .qx-roi { color: var(--gold); font-size: 22px; font-weight: 700; }
.qx-product-meta { color: var(--muted); font-size: 13px; }
.qx-chip-row { display: flex; flex-wrap: wrap; gap: 6px; }
.qx-mini {
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 999px;
    border: 1px solid var(--line);
    color: var(--muted);
}
.qx-panel {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 20px;
    margin: 16px 0;
}
.qx-form { max-width: 860px; }
.qx-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.qx-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.qx-settings {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}
.qx-settings-nav {
    position: sticky;
    top: 0;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 10px;
}
.qx-settings-nav a {
    display: block;
    padding: 9px 12px;
    border-radius: 10px;
    color: var(--muted);
    font-size: 14px;
}
.qx-settings-nav a.active, .qx-settings-nav a:hover {
    color: var(--text);
    background: rgba(198, 255, 74, 0.1);
}
.qx-table-wrap {
    overflow-x: auto;
    overflow-y: visible;
    margin-top: 8px;
    -webkit-overflow-scrolling: touch;
    border: 1px solid var(--line);
    border-radius: 12px;
}
.qx-table-wrap .fx-table {
    min-width: 780px;
    width: 100%;
}
.qx-table-wrap .fx-table th,
.qx-table-wrap .fx-table td {
    white-space: nowrap;
    vertical-align: middle;
}
.qx-table-wrap thead th { background: var(--bg-2); }
body.fx-light .qx-table-wrap thead th { background: #f4f5f4; }
.qx-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.qx-inline { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.qx-inline .fx-input { width: 140px; min-width: 110px; padding: 7px 8px; }
.qx-check-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; }
.qx-check {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border: 1px solid var(--line);
    border-radius: 10px;
    font-size: 13px;
    color: var(--muted);
}
.qx-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: nowrap;
    margin: 16px 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
}
.qx-tabs a { padding: 7px 12px; border-radius: 999px; color: var(--muted); border: 1px solid var(--line); white-space: nowrap; flex-shrink: 0; }
.qx-tabs a.active { color: #111; background: var(--gold); border-color: var(--gold); }
.qx-preview { max-height: 48px; display: block; margin: 8px 0; }
.qx-kyc-img { max-width: 100%; max-height: min(420px, 55vh); object-fit: contain; border-radius: 12px; border: 1px solid var(--line); }
.qx-thread { display: flex; flex-direction: column; gap: 10px; }
.qx-bubble { padding: 10px 12px; border-radius: 12px; background: #0e1411; }
.qx-bubble.admin { background: rgba(198, 255, 74, 0.08); }
.qx-bubble small { color: var(--muted); display: block; margin-bottom: 4px; }
.qx-bubble p { margin: 0; overflow-wrap: anywhere; }
.qx-pager { margin-top: 16px; overflow-x: auto; }
.qx-pager a, .qx-pager span { margin-right: 8px; color: var(--muted); }
.qx-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 40;
}
.qx-overlay.show { display: block; }
.qx-drawer {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(288px, 86vw);
    background: var(--bg-2);
    z-index: 50;
    padding: 16px 12px;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform .2s ease;
}
.qx-drawer.show { display: flex; flex-direction: column; transform: translateX(0); }
.qx-drawer .qx-side-top { display: flex; align-items: center; justify-content: space-between; }
.qx-side-nav::-webkit-scrollbar,
.qx-main::-webkit-scrollbar,
.qx-table-wrap::-webkit-scrollbar,
.qx-tabs::-webkit-scrollbar,
.qx-drawer::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
.qx-side-nav::-webkit-scrollbar-thumb,
.qx-main::-webkit-scrollbar-thumb,
.qx-table-wrap::-webkit-scrollbar-thumb,
.qx-tabs::-webkit-scrollbar-thumb,
.qx-drawer::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.18);
    border-radius: 99px;
}
@media (max-width: 1200px) {
    .qx-bento .qx-card, .qx-bento .qx-wide { grid-column: span 6; }
    .qx-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .qx-grid-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1100px) {
    .qx-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .qx-grid { grid-template-columns: 1fr; }
    .qx-table-wrap .fx-table { min-width: 680px; }
    .qx-settings { grid-template-columns: 1fr; }
    .qx-settings-nav { position: static; display: flex; gap: 6px; overflow-x: auto; }
    .qx-settings-nav a { white-space: nowrap; }
}
@media (max-width: 980px) {
    .qx-sidebar { display: none; }
    .qx-burger, .qx-drawer-close { display: inline-flex; align-items: center; justify-content: center; }
    .qx-topbar { height: 64px; padding: 0 14px; }
    .qx-live { display: none; }
    .qx-main { padding: 16px 14px 0; }
    .qx-main h1 { font-size: 24px; }
    .qx-canvas { max-width: none; }
}
@media (max-width: 720px) {
    .qx-bento .qx-card, .qx-bento .qx-wide { grid-column: span 12; }
    .qx-product-grid, .qx-cards, .qx-grid-3 { grid-template-columns: 1fr; }
    .qx-staff-chip span, .qx-staff-chip em { display: none; }
    .qx-table-wrap .fx-table { min-width: 640px; }
    .qx-form { max-width: none; }
}
@media (max-width: 560px) {
    .qx-filters .fx-input, .qx-filters .fx-select { min-width: 0; width: 100%; }
    .qx-head { align-items: stretch; }
    .qx-kyc-img { max-height: 280px; }
}
.qx-login-body {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    background: var(--bg);
}
.qx-login { width: 100%; max-width: 440px; }
.qx-login-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 32px 28px;
}
.qx-login h1 { margin: 8px 0 8px; font-size: 28px; }
.qx-login .fx-brand { margin-bottom: 18px; }

.fx-bot-grid { align-items: stretch; }
.fx-bot-detail { max-width: 460px; }
.fx-bot-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 0;
    overflow: hidden;
    border-radius: 18px;
}
.fx-bot-card:hover { border-color: rgba(198, 255, 74, .45); }
.fx-bot-head, .fx-bot-body { padding: 22px; }
.fx-bot-head { border-bottom: 1px solid var(--line); }
.fx-bot-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.fx-bot-card h3 { margin: 0 0 8px; font-size: 18px; }
.fx-bot-status {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(198, 255, 74, .12); color: var(--gold);
    border-radius: 999px; padding: 4px 10px; font-size: 12px; font-weight: 700;
}
.fx-bot-status i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.fx-bot-mark {
    width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
    background: rgba(255, 255, 255, .06); color: var(--gold);
    display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.fx-bot-mark img { width: 100%; height: 100%; object-fit: cover; }
.fx-bot-figure {
    margin-top: 16px; padding: 18px 12px; text-align: center;
    background: rgba(255, 255, 255, .04); border-radius: 14px;
}
.fx-bot-figure span { display: block; color: var(--muted); font-size: 12px; }
.fx-bot-figure strong {
    display: block; margin: 4px 0; color: var(--gold);
    font-size: 26px; letter-spacing: -0.03em; font-weight: 800;
}
.fx-bot-body { display: flex; flex-direction: column; flex: 1; gap: 14px; }
.fx-bot-desc {
    margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.fx-bot-rows { margin: 0; }
.fx-bot-rows div {
    display: flex; justify-content: space-between; gap: 12px;
    padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14px;
}
.fx-bot-rows div:last-child { border-bottom: 0; }
.fx-bot-rows dt { color: var(--muted); font-weight: 500; }
.fx-bot-rows dd { margin: 0; font-weight: 700; text-align: right; }
.fx-bot-pairs { display: flex; flex-wrap: wrap; gap: 8px; }
.fx-bot-pairs span {
    background: rgba(255, 255, 255, .05); border: 1px solid var(--line);
    border-radius: 10px; padding: 6px 10px; font-size: 12px; font-weight: 700;
}
.fx-bot-balance { margin: 0; color: var(--muted); font-size: 13px; }
.fx-bot-card .fx-btn { margin-top: auto; }
.fx-bot-card form { margin-top: auto; }
body.fx-light .fx-bot-mark,
body.fx-light .fx-bot-figure,
body.fx-light .fx-bot-pairs span { background: #f3f4f3; }
body.fx-light .fx-bot-figure strong,
body.fx-light .fx-bot-status { color: #3f6212; }
@media (max-width: 1100px) {
    .fx-bot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
    .fx-bot-grid { grid-template-columns: 1fr; }
}
.qx-ba { display: block; margin-top: 2px; font-size: 10px; line-height: 1.2; color: var(--muted, #8b968f); font-weight: 500; }
.fx-book-balance { height: 6px; margin: 8px 0; border-radius: 99px; overflow: hidden; background: #ff5c6c; }
.fx-book-balance i { display: block; height: 100%; background: #12d18e; }
#fx-book-group { margin-left: 8px; background: transparent; color: inherit; border: 1px solid rgba(255,255,255,.16); border-radius: 8px; padding: 2px 6px; }
.fx-term-book-bar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.fx-phone-search, .fx-phone-bar, .fx-phone-home { display: none; }
.fx-phone-search input {
    width: 100%;
    border: 0;
    border-radius: 999px;
    background: #1a1f1c;
    color: inherit;
    padding: 8px 14px;
}
.fx-phone-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 8px; padding: 4px 12px 18px; }
.fx-phone-grid a { display: flex; flex-direction: column; align-items: center; gap: 6px; color: inherit; text-decoration: none; font-size: 12px; text-align: center; }
.fx-phone-grid span { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: #1c221e; border: 1px solid var(--line); font-size: 18px; }
.fx-phone-strip { padding: 16px 16px 8px; }
.fx-phone-strip strong { display: block; margin: 4px 0 10px; font-size: 20px; line-height: 1.25; }
.fx-phone-bar a { display: flex; flex-direction: column; align-items: center; gap: 2px; color: var(--muted, #8b968f); text-decoration: none; font-size: 11px; }
.fx-phone-bar a.on { color: var(--gold, #c6ff4a); }
.fx-phone-trade span { width: 46px; height: 46px; margin-top: -22px; border-radius: 50%; display: grid; place-items: center; background: var(--gold, #c6ff4a); color: #141714; font-size: 18px; }
@media (max-width: 760px) {
    .fx-phone-home { display: block; }
    .fx-phone-search { display: block; flex: 1; min-width: 0; }
    .fx-phone-bar {
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        align-items: end;
        position: fixed;
        left: 0; right: 0; bottom: 0;
        z-index: 70;
        background: #101412;
        border-top: 1px solid var(--line);
        padding: 8px 4px calc(8px + env(safe-area-inset-bottom));
    }
    body { padding-bottom: 76px; }
    .fx-hero, .fx-ticker, .fx-partners-wrap, .fx-footer, .fx-nav-toggle, .fx-brand { display: none !important; }
    .fx-top-right .fx-btn { display: none !important; }
    .fx-top-links { display: none !important; }
    .fx-cookie { bottom: 76px; }
}
body.fx-light .fx-phone-bar { background: #fff; }
body.fx-light .fx-phone-search input, body.fx-light .fx-phone-grid span { background: #f3f4f3; }
.fx-locale { width: auto; min-width: 72px; padding: 6px 8px; }
.fx-demo-banner { margin: 0; padding: 8px 16px; background: #c6ff4a; color: #141714; text-align: center; }
.fx-demo-banner a { color: #141714; font-weight: 700; }
