/* BlockTicker v14 — GeneratePress — Complete Site Audit Fix */

/* === GLOBAL RESET === */
html,body{background:#0b0f1a;color:#c8cdd8;margin:0;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif}
body{padding-top:56px;overflow-x:hidden}
*{box-sizing:border-box}

/* === HIDE GP DEFAULTS — with !important to override GP specificity === */
.site-header,.main-navigation,.site-branding,header#masthead,
nav#site-navigation,.menu-toggle,.navigation-search,
.gen-sidebar-nav,.mobile-menu-control-wrapper,
#site-navigation,.main-nav,.menu-bar-items,
.inside-header,.site-header-section,
a.screen-reader-text[href="#content"]{display:none!important;height:0!important;overflow:hidden!important}
.entry-title,h1.entry-title,.page-title{display:none!important}
.comments-area,#comments,.comment-respond{display:none!important}
.site-info,.inside-site-info,.footer-info,.copyright-bar{display:none!important}
.entry-meta .byline,.entry-meta .posted-on{color:#5a6478;font-size:13px}
.entry-meta a{color:#00d4aa}
.cat-links,.tags-links{color:#5a6478;font-size:12px}
.cat-links a,.tags-links a{color:#00d4aa;background:#111628;padding:2px 8px;border-radius:4px;text-decoration:none;font-size:11px}

/* === GENERATEPRESS INTEGRATION ===
   GP 3.x uses .grid-container { max-width:1200px; padding:0 30px }
   We KEEP the side padding for content readability.
   Only hero/ticker sections break out to full-width.
*/

/* Dark background on all containers */
body, #page, #content, #primary,
.site-content, .site-main, .inside-article,
.entry-content, .inside-page, .post-image {
    background: #0b0f1a !important;
}

/* Remove GP's default article padding (our shortcodes add their own) */
.inside-article { padding: 0 !important; }
.entry-content { padding: 0 !important; }

/* GP grid-container: keep GP's natural 30px padding on ALL pages
   Hero/ticker sections break out via negative margins instead */
.grid-container, .generate-container {
    max-width: 1200px;
    padding: 0 30px;
    box-sizing: border-box;
}

/* Hero: full viewport width by breaking out of GP's 1200px container
   Uses negative margins equal to GP's 30px side padding.
   Works because .inside-article is already max-width:100% */
.fxlm-hero-v2,
.fxlm-hero,
.fxlm-ticker-wrap,
.fxlm-breaking-news,
.fxlm-trending-bar {
    margin-left: -30px !important;
    margin-right: -30px !important;
    width: calc(100% + 60px) !important;
    max-width: calc(100% + 60px) !important;
    box-sizing: border-box !important;
}

/* Hero: no extra padding on the container itself */
.fxlm-hero-v2, .fxlm-hero {
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Inner hero: centered readable width */
.fxlm-hero-inner {
    max-width: 820px !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 60px 30px !important;
    text-align: center !important;
}

/* On mobile GP reduces padding to 15px */
@media (max-width: 768px) {
    .fxlm-hero-v2, .fxlm-hero, .fxlm-ticker-wrap,
    .fxlm-breaking-news, .fxlm-trending-bar {
        margin-left: -15px !important;
        margin-right: -15px !important;
        width: calc(100% + 30px) !important;
        max-width: calc(100% + 30px) !important;
    }
}


/* === FOOTER === */
.site-footer,footer,#colophon{background:#080c16;border-top:1px solid #1a1f35}
.cp-footer{background:#080c16;border-top:1px solid #1a1f35;color:#5a6478}
.cp-footer-col h4{color:#c8cdd8}
.cp-footer-col a{color:#5a6478}.cp-footer-col a:hover{color:#00d4aa}
.cp-footer-desc{color:#3d4660}
.cp-footer-bottom{border-color:#1a1f35}
.cp-footer-bottom p{color:#2a3150}
.generate-columns-container{background:#080c16}

/* === NAVBAR === */
.cp-navbar{background:#0f1322;border-bottom:1px solid #1a1f35;z-index:999999;height:56px}
.cp-navbar.scrolled{background:#0b0f1a;box-shadow:0 2px 20px rgba(0,0,0,.5)}
.cp-logo-text{font-size:22px;font-weight:800;color:#fff}
.cp-logo-accent{background:linear-gradient(135deg,#00d4aa,#00b8d4);-webkit-background-clip:text;-webkit-text-fill-color:transparent}
.cp-nav-link{color:#8892a8;font-size:14px;font-weight:500}
.cp-nav-link:hover{color:#fff}
.cp-nav-link.active{color:#00d4aa}
.cp-logo-icon svg{animation:btF 3s ease-in-out infinite}
.cp-logo-icon svg path{stroke-dasharray:100;animation:btP 2.5s ease-in-out infinite}
@keyframes btF{0%,100%{transform:translateY(0)}50%{transform:translateY(-2px)}}
@keyframes btP{0%{stroke-dashoffset:100}50%{stroke-dashoffset:0}100%{stroke-dashoffset:-100}}

/* === TICKER / BREAKING / TRENDING === */
.fxlm-ticker-wrap{background:#0f1322;border-bottom:1px solid #1a1f35}
.fxlm-tick{color:#8892a8}.fxlm-tick strong{color:#e2e8f0}
.fxlm-breaking-bar{background:#0f1322;border:none;border-bottom:1px solid #1a1f35;display:flex;align-items:center;padding:6px 20px;overflow:hidden}
.fxlm-breaking-label{background:#f7465a;color:#fff!important;-webkit-text-fill-color:#fff;border:none;border-radius:4px;font-size:11px;font-weight:700;padding:4px 10px;margin-right:14px;flex-shrink:0;z-index:2}
.fxlm-breaking-scroll{flex:1;overflow:hidden}
.fxlm-breaking-item{color:#c8cdd8!important;-webkit-text-fill-color:#c8cdd8;white-space:nowrap;padding:0 24px}
.fxlm-trending-bar{background:#0f1322;border:none;border-bottom:1px solid #1a1f35}
.fxlm-trending-item{background:rgba(255,255,255,.03);color:#c8cdd8}

/* === HERO === */
.fxlm-hero{background:linear-gradient(180deg,#0f1322,#0b0f1a);border-bottom:1px solid #1a1f35;padding:20px 24px 20px}

.fxlm-hero::before,.fxlm-hero::after{display:none}
.fxlm-hero-badge{background:rgba(0,212,170,.08);border:1px solid rgba(0,212,170,.2);color:#00d4aa}
.fxlm-hero-title{color:#fff;font-weight:800}
.fxlm-hero-title span{background:linear-gradient(135deg,#00d4aa,#00b8d4);-webkit-background-clip:text;-webkit-text-fill-color:transparent}
.fxlm-hero-tagline{color:#5a6478}.fxlm-hero-sub{color:#6b7590}
.fxlm-hero-stat-num{color:#00d4aa}.fxlm-hero-stat-lbl{color:#5a6478}
.fxlm-cta-btn{background:#00d4aa;color:#0b0f1a;font-weight:700;border-radius:8px}
.fxlm-cta-btn:hover{background:#00e6b8;box-shadow:0 4px 20px rgba(0,212,170,.3)}
.fxlm-cta-btn-outline{background:transparent;border:1.5px solid #2a3150;color:#c8cdd8}
.fxlm-cta-btn-outline:hover{border-color:#00d4aa;color:#00d4aa}

/* === SECTION HEADERS === */
.fxlm-section-header{border-color:#1a1f35;margin:32px 20px 16px}
.fxlm-section-header h2{color:#e2e8f0;font-size:18px;font-weight:700}
.fxlm-section-badge{background:rgba(0,212,170,.08);border:1px solid rgba(0,212,170,.15);color:#00d4aa}

/* === ALL CARDS === */
.fxlm-price-card,.fxlm-news-item,.fxlm-blog-card,.fxlm-broker-card,.fxlm-top-pick,.bt-affiliate-card,.fxlm-signal-item,.fxlm-table-wrap,.fxlm-fng-widget,.fxlm-chart-wrap,.fxlm-converter,.fxlm-newsletter,.bt-contact-form,.fxlm-cta-strip,.fxlm-learn-card{background:#111628;border:1px solid #1e2440;border-radius:14px}
.fxlm-price-card:hover,.fxlm-news-item:hover,.fxlm-blog-card:hover{border-color:#2a3150;transform:translateY(-3px);box-shadow:0 8px 30px rgba(0,0,0,.4)}

/* === PRICE CARDS — full width grid === */
.fxlm-price-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px;padding:0 20px}
.fxlm-price-card-price{color:#fff;font-size:24px;font-weight:800}
.fxlm-price-card-top strong{color:#fff}
.fxlm-price-card-mcap,.fxlm-price-card-top small{color:#4a5368}

/* === TABLES === */
.fxlm-table{border-collapse:collapse;width:100%}
.fxlm-table thead{background:#151a30}
.fxlm-table th{padding:14px 16px;color:#5a6478;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:1px;border-bottom:1px solid #1e2440}
.fxlm-table td{padding:14px 16px;color:#c8cdd8;border-bottom:1px solid #151a30;font-size:14px}
.fxlm-table tr:hover td{background:rgba(0,212,170,.03)}
.fxlm-table td strong{color:#fff}
.fxlm-table td small{color:#5a6478}
.up{color:#00d4aa}.down{color:#f7465a}

/* === NEWS — 2-col grid, proper images === */
.fxlm-news-feed{display:grid;grid-template-columns:1fr 1fr;gap:16px;padding:0 20px}
.fxlm-news-item{overflow:hidden;display:flex;flex-direction:column}
.fxlm-news-source{background:rgba(0,212,170,.08);color:#00d4aa;font-size:10px;font-weight:700;padding:3px 8px;border-radius:4px;display:inline-block}
.fxlm-news-title{color:#e2e8f0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:15px;line-height:1.4;font-weight:600}
.fxlm-news-title:hover{color:#00d4aa}
.fxlm-news-desc{color:#6b7590;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;font-size:13px;line-height:1.5}
.fxlm-news-time{color:#3d4660;font-size:12px}
.fxlm-news-img{border-radius:10px;width:100%;height:200px;object-fit:cover;background:#151a30}
/* Hide broken images */
img[src=""],img:not([src]),img[alt="📰"]{display:none}

/* === FNG === */
.fxlm-fng-desc{font-size:12px;color:#5a6478;line-height:1.6;margin-top:8px;padding-top:8px;border-top:1px solid #1e2440}
.fxlm-fng-circle::before{background:#111628}

/* === CONTACT FORM — centered === */
.bt-contact-form{max-width:650px;margin:0 auto;padding:28px}

/* === SINGLE BLOG POST — premium design === */
.single-post .inside-article{padding:0;max-width:100%}
.single-post .post-image{width:100%;max-height:400px;overflow:hidden;border-radius:0}
.single-post .post-image img{width:100%;height:400px;object-fit:cover}
.single-post .entry-content{max-width:760px;margin:0 auto;padding:24px 20px 40px}
.single-post .entry-content h2{font-size:24px;color:#fff;margin:32px 0 14px;padding-bottom:10px;border-bottom:1px solid #1e2440}
.single-post .entry-content h3{font-size:19px;color:#e2e8f0;margin:24px 0 10px}
.single-post .entry-content p{font-size:16px;line-height:1.85;color:#94a3b8;margin:0 0 18px}
.single-post .entry-content a{color:#00d4aa;text-decoration:underline}
.single-post .entry-content ul,.single-post .entry-content ol{color:#94a3b8;padding-left:24px;margin:14px 0}
.single-post .entry-content li{margin:8px 0;line-height:1.7;font-size:15px}
.single-post .entry-content li::marker{color:#00d4aa}
.single-post .entry-content blockquote{border-left:3px solid #00d4aa;padding:14px 20px;margin:20px 0;background:#111628;border-radius:0 10px 10px 0;color:#c8cdd8;font-style:italic}
/* Hide author email */
.single-post .entry-meta .author a[href*="mailto"]{display:none}
.single-post .entry-meta .author.vcard{display:none}
/* Post navigation */
.post-navigation,.posts-navigation{background:#111628;border:1px solid #1e2440;border-radius:12px;padding:16px 20px;margin:24px auto;max-width:760px}
.post-navigation a,.nav-links a{color:#00d4aa;text-decoration:none;font-size:14px}
.nav-previous,.nav-next{color:#5a6478;font-size:12px}
/* Featured image full width */
.single-post .featured-image,.single-post .post-image,.wp-post-image{width:100%;border-radius:0;margin:0}

/* === DISCLAIMER — styled === */
.fxlm-signals-disclaimer{background:rgba(247,70,90,.05);border:1px solid rgba(247,70,90,.1);border-left:3px solid #f7465a;border-radius:0 10px 10px 0;padding:14px 18px;margin:24px 0;font-size:13px;color:#8892a8;line-height:1.6}

/* === AD ZONES — completely hidden when empty === */
.bt-ad-placeholder,.bt-ad-zone,.bt-ad-inline,.fxlm-ad-zone{display:none}

/* === MARKET ANALYSIS / BLOG CARDS === */
.fxlm-analysis-grid,.fxlm-blog-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;padding:0 20px}
.fxlm-analysis-card,.fxlm-blog-card{background:#111628;border:1px solid #1e2440;border-radius:14px;overflow:hidden;transition:all .3s}
.fxlm-analysis-card:hover,.fxlm-blog-card:hover{border-color:#2a3150;transform:translateY(-3px);box-shadow:0 8px 30px rgba(0,0,0,.4)}

/* === TRAILER — full width === */
.bt-trailer-wrap{max-width:100%;margin:0 auto;border-radius:14px;overflow:hidden;border:1px solid #1e2440}

/* === AFFILIATE CARDS — visible text === */
.bt-affiliate-card{padding:22px}
.bt-affiliate-card a[style*="linear-gradient"]{color:#0b0f1a}
.fxlm-btn-affiliate{color:#0b0f1a;font-weight:700}

/* === PAGE HEADERS — full width with padding === */
.fxlm-page-header{padding:24px 20px;margin:0}
.fxlm-page-header h1{color:#fff;font-size:28px;font-weight:800;margin:0 0 8px}
.fxlm-page-header p{color:#6b7590;font-size:15px;margin:0}
.fxlm-breadcrumbs{padding:8px 20px;color:#5a6478;font-size:13px}
.fxlm-breadcrumbs a{color:#00d4aa}

/* === HOME PAGE SECTIONS — proper spacing and padding === */
.fxlm-home-grid{padding:0;gap:24px}
.fxlm-home-main,.fxlm-home-side{min-width:0}

/* === TYPOGRAPHY === */
h1,h2,h3,h4,h5,h6{color:#e2e8f0}
a{color:#00d4aa}a:hover{color:#00e6b8}
strong{color:#e2e8f0}
input,select,textarea{background:#0b0f1a;border:1px solid #1e2440;color:#c8cdd8;border-radius:8px;padding:10px 14px;font-size:14px}
input:focus,select:focus,textarea:focus{border-color:#00d4aa;outline:none}

/* === MISC === */
.fxlm-newsletter::after,.fxlm-chart-wrap::before{display:none}
.entry-content>div:empty,.entry-content>p:empty,.entry-content>br{display:none}
.bt-cookie-banner{background:#111628;border-top:1px solid #1e2440}
.wp-block-query:empty{display:none}

/* === SCROLLBAR === */
::-webkit-scrollbar{width:8px}::-webkit-scrollbar-track{background:#0b0f1a}::-webkit-scrollbar-thumb{background:#1e2440;border-radius:4px}

/* === RESPONSIVE === */
@media(max-width:768px){
    body{padding-top:52px}
    .fxlm-news-feed{grid-template-columns:1fr}
    .fxlm-analysis-grid,.fxlm-blog-grid{grid-template-columns:1fr}
    .fxlm-price-cards{grid-template-columns:1fr 1fr;gap:10px}
    .fxlm-price-card-price{font-size:18px}
    .fxlm-section-header{margin:24px 16px 12px}
    .fxlm-home-grid{padding:0}
    .single-post .entry-content{padding:16px}
    .bt-contact-form{margin:0 16px}
}
@media(max-width:480px){
    .fxlm-price-cards{grid-template-columns:1fr}
}

/* === HERO ANIMATIONS === */
.fxlm-hero-badge{opacity:0;animation:btSD .6s ease .1s both}
.fxlm-hero-title{opacity:0;animation:btSU .8s ease .2s both}
.fxlm-hero-tagline{opacity:0;animation:btSU .8s ease .35s both}
.fxlm-hero-sub{opacity:0;animation:btSU .8s ease .45s both}
.fxlm-hero-btns{opacity:0;animation:btSU .8s ease .6s both}
.fxlm-hero-stats{opacity:0;animation:btSU .8s ease .75s both}
@keyframes btSU{from{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}
@keyframes btSD{from{opacity:0;transform:translateY(-20px)}to{opacity:1;transform:translateY(0)}}

/* Hero title gradient shimmer */
.fxlm-hero-title span{background-size:200% auto;animation:btShimmer 3s ease-in-out infinite,btSU .8s ease .2s both}
@keyframes btShimmer{0%{background-position:0% center}50%{background-position:100% center}100%{background-position:0% center}}

/* Price cards stagger entrance */
.fxlm-price-card{opacity:0;animation:btSU .5s ease both}
.fxlm-price-card:nth-child(1){animation-delay:.3s}
.fxlm-price-card:nth-child(2){animation-delay:.4s}
.fxlm-price-card:nth-child(3){animation-delay:.5s}
.fxlm-price-card:nth-child(4){animation-delay:.6s}
.fxlm-price-card:nth-child(5){animation-delay:.7s}
.fxlm-price-card:nth-child(6){animation-delay:.8s}

/* Section headers slide in */
.fxlm-section-header{opacity:0;animation:btSU .6s ease .2s both}

/* Hover glow on interactive elements */
.fxlm-cta-btn{transition:all .3s ease}
.fxlm-cta-btn:hover{transform:translateY(-2px)}
.fxlm-cta-btn-outline{transition:all .3s ease}
.fxlm-cta-btn-outline:hover{transform:translateY(-2px)}

/* ══════════════════════════════════════════════════════════
   BLOG POST RICH LAYOUT
   ══════════════════════════════════════════════════════════ */
.fxlm-post-body { max-width:760px; margin:0 auto; }
/* Live prices strip at top of post */
.fxlm-post-live-prices { background:rgba(0,212,170,.05); border:1px solid rgba(0,212,170,.12); border-radius:12px; padding:14px 18px; margin-bottom:24px; }
.fxlm-post-prices { display:flex; align-items:center; gap:20px; flex-wrap:wrap; }
.fxlm-post-price-item { display:flex; align-items:center; gap:8px; }
.fxlm-post-price-item img { border-radius:50%; }
.fxlm-post-price-item strong { display:block; font-size:12px; color:#94a3b8; }
.fxlm-post-price-item span { font-size:14px; font-weight:700; color:#e2e8f0; display:block; }
.fxlm-post-price-item span.up { color:#00d4aa; font-size:12px; }
.fxlm-post-price-item span.down { color:#ff4d6a; font-size:12px; }
.fxlm-post-prices a { margin-left:auto; font-size:12px; color:#00d4aa; text-decoration:none; white-space:nowrap; }
/* Tags */
.fxlm-post-tags { display:flex; flex-wrap:wrap; gap:6px; margin-bottom:20px; }
.fxlm-post-tag { background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.08); color:#94a3b8!important; font-size:11px; font-weight:600; padding:3px 10px; border-radius:20px; text-decoration:none!important; transition:all .2s; }
.fxlm-post-tag:hover { background:rgba(0,212,170,.1); border-color:rgba(0,212,170,.2); color:#00d4aa!important; }
/* Content styling */
.fxlm-post-content { font-size:16px; line-height:1.85; color:#94a3b8; }
.fxlm-post-content h1 { font-size:28px!important; font-weight:800!important; color:#fff!important; margin:36px 0 14px!important; padding-bottom:10px; border-bottom:2px solid rgba(0,212,170,.2); }
.fxlm-post-content h2 { font-size:22px!important; font-weight:700!important; color:#e2e8f0!important; margin:32px 0 12px!important; padding:10px 16px; background:rgba(255,255,255,.03); border-left:3px solid #00d4aa; border-radius:0 8px 8px 0; }
.fxlm-post-content h3 { font-size:18px!important; font-weight:700!important; color:#cbd5e1!important; margin:24px 0 10px!important; }
.fxlm-post-content p { margin:0 0 18px!important; }
.fxlm-post-content strong { color:#e2e8f0; font-weight:700; }
.fxlm-post-content a { color:#00d4aa!important; text-decoration:underline; }
.fxlm-post-content ul, .fxlm-post-content ol { padding-left:24px; margin:14px 0 18px; }
.fxlm-post-content li { margin:8px 0; line-height:1.7; }
.fxlm-post-content li::marker { color:#00d4aa; }
/* Disclaimer */
.fxlm-post-disclaimer { background:rgba(245,158,11,.06); border:1px solid rgba(245,158,11,.15); border-radius:10px; padding:14px 18px; font-size:13px; color:#94a3b8; margin:32px 0 24px; line-height:1.6; }
.fxlm-post-disclaimer strong { color:#f59e0b; }
/* Related links */
.fxlm-post-related { background:linear-gradient(135deg,rgba(0,212,170,.05),rgba(0,153,255,.04)); border:1px solid rgba(0,212,170,.12); border-radius:14px; padding:22px; margin-top:8px; }
.fxlm-post-related-title { font-size:15px!important; font-weight:700!important; color:#e2e8f0!important; margin:0 0 14px!important; }
.fxlm-post-related-links { display:flex; flex-wrap:wrap; gap:8px; }
.fxlm-post-related-btn { background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.08); color:#94a3b8!important; font-size:13px; font-weight:600; padding:8px 14px; border-radius:8px; text-decoration:none!important; transition:all .2s; display:inline-flex; align-items:center; gap:5px; }
.fxlm-post-related-btn:hover { background:rgba(0,212,170,.1); border-color:rgba(0,212,170,.25); color:#00d4aa!important; transform:translateY(-1px); }
@media(max-width:600px){
    .fxlm-post-content h2{font-size:18px!important;}
    .fxlm-post-related-links{gap:6px;}
    .fxlm-post-related-btn{font-size:12px;padding:6px 10px;}
}
/* Wrap single post content with blog styling */
.fxlm-single-post .entry-content { max-width:760px; margin:0 auto; padding:24px 24px 48px; }
.fxlm-single-post .entry-content h2 { font-size:22px!important; font-weight:700!important; color:#e2e8f0!important; margin:32px 0 12px!important; padding:10px 16px; background:rgba(255,255,255,.03); border-left:3px solid #00d4aa; border-radius:0 8px 8px 0; }
.fxlm-single-post .entry-content h3 { font-size:18px!important; font-weight:700!important; color:#cbd5e1!important; margin:24px 0 10px!important; }
.fxlm-single-post .entry-content h1 { font-size:26px!important; font-weight:800!important; color:#fff!important; margin:32px 0 14px!important; border-bottom:2px solid rgba(0,212,170,.2); padding-bottom:10px; }

/* ══════════════════════════════════════════════════════════
   v43 — COMPREHENSIVE MOBILE RESPONSIVE FIXES
   ══════════════════════════════════════════════════════════ */

/* ── NAVBAR MOBILE ── */
/* Hide Portfolio/Watchlist text labels on small screens, keep icons */
@media(max-width:900px) {
    .bt-nav-quick-link span { display:none; }
    .bt-nav-login-btn-ghost { display:none; } /* hide ghost "Log In" btn, keep Sign Up */
}
@media(max-width:640px) {
    /* Collapse nav user actions to icon-only on phones */
    .bt-nav-user-actions { gap:2px; }
    .bt-nav-quick-link { padding:6px 7px; }
    .bt-nav-login-btn { padding:6px 10px; font-size:11px; }
    .bt-search-btn { padding:5px 8px; }
    /* Hide Portfolio link on tiny phones, keep Watchlist + Search */
    .bt-nav-quick-link[title="Portfolio Tracker"] { display:none; }
    /* Compact cp-navbar inner */
    .cp-nav-inner { padding:0 12px !important; gap:8px !important; }
}

/* ── CP-NAVBAR CORE MOBILE ── */
.cp-nav-inner {
    display: flex !important;
    align-items: center;
    height: 56px;
    padding: 0 20px;
    gap: 12px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}
.cp-nav-links {
    display: flex;
    align-items: center;
    gap: 0;
    flex: 1;
}
.cp-nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    flex-shrink: 0;
}
/* Hamburger visible below 900px, desktop nav hidden */
.cp-hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    flex-shrink: 0;
    flex-direction: column;
    gap: 5px;
    align-items: center;
    justify-content: center;
}
.cp-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: #94a3b8;
    border-radius: 2px;
    transition: all .3s;
}
.cp-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.cp-hamburger.open span:nth-child(2) { opacity: 0; }
.cp-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media(max-width:900px) {
    .cp-nav-links { display:none !important; } /* hide desktop links */
    .cp-hamburger { display:inline-flex !important; }
}

/* ── MOBILE MENU PANEL ── */
.cp-mobile-menu {
    display: none;
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    bottom: 0;
    background: #0b0f1a;
    z-index: 999998;
    overflow-y: auto;
    padding: 16px 0 40px;
    border-top: 1px solid rgba(255,255,255,.06);
}
.cp-mobile-menu.open { display:block; }
.cp-mobile-link {
    display: block;
    padding: 13px 24px;
    color: #94a3b8;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    border-bottom: 1px solid rgba(255,255,255,.04);
    transition: color .15s;
}
.cp-mobile-link:hover, .cp-mobile-link.active { color: #00d4aa; }
.cp-mobile-section {
    padding: 10px 24px 6px;
    font-size: 10px;
    font-weight: 700;
    color: #334155;
    text-transform: uppercase;
    letter-spacing: .8px;
    margin-top: 8px;
}
.cp-mobile-auth {
    display: flex;
    gap: 10px;
    padding: 16px 24px;
    margin-top: 8px;
    border-top: 1px solid rgba(255,255,255,.06);
}
.cp-mobile-auth a, .cp-mobile-auth button {
    flex: 1;
    text-align: center;
    padding: 11px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    text-decoration: none;
}
.cp-mobile-auth-login {
    background: transparent;
    border: 1px solid rgba(255,255,255,.15);
    color: #94a3b8;
}
.cp-mobile-auth-signup {
    background: linear-gradient(135deg,#00d4aa,#0099ff);
    border: none;
    color: #0a0e1a;
}

/* ── HERO MOBILE ── */
@media(max-width:768px) {
    .bt-hero { padding:50px 16px 40px !important; min-height:auto !important; }
    .bt-hero-h1 { font-size:clamp(26px,8vw,42px) !important; }
    .bt-hero-sub { font-size:14px !important; margin-bottom:24px !important; }
    .bt-hero-actions { gap:10px; margin-bottom:32px !important; }
    .bt-hero-actions a { width:100%; max-width:280px; justify-content:center; text-align:center; }
    .bt-hero-trust { gap:0; }
    .bt-trust-item { padding:0 14px; }
    .bt-trust-num { font-size:18px !important; }
    .bt-hero-orb-1, .bt-hero-orb-2, .bt-hero-orb-3 { display:none; } /* perf */
}
@media(max-width:480px) {
    .bt-hero { padding:40px 14px 32px !important; }
    .bt-hero-actions { flex-direction:column; align-items:center; }
    .bt-hero-actions a { width:100%; max-width:100%; box-sizing:border-box; }
    /* Trust stats: 2x2 grid instead of row */
    .bt-hero-trust { display:grid !important; grid-template-columns:1fr 1fr; gap:16px; }
    .bt-trust-divider { display:none; }
    .bt-trust-item { padding:12px; background:rgba(255,255,255,.03); border-radius:10px; border:1px solid rgba(255,255,255,.06); }
}

/* ── MARKET TABS MOBILE ── */
@media(max-width:640px) {
    .bt-market-header { gap:10px; }
    .bt-market-tabs { gap:3px; }
    .bt-mtab { padding:5px 10px; font-size:12px; }
    .bt-see-all { font-size:12px !important; }
}

/* ── HOME GRID MOBILE ── */
@media(max-width:1100px) {
    .bt-home-grid { grid-template-columns:1fr !important; padding:0 16px; }
    /* On tablet: sidebar goes below main content */
    .bt-home-sidebar { order: 2; }
    .bt-home-main { order: 1; }
}
@media(max-width:640px) {
    .bt-home-grid { padding:0 12px; gap:20px; margin-top:20px; }
    .bt-home-main .fxlm-news-grid { grid-template-columns:1fr !important; }
    .fxlm-blog-cards-grid { grid-template-columns:1fr !important; }
    .bt-charts-grid { grid-template-columns:1fr !important; }
    .bt-cats-grid { grid-template-columns:repeat(2,1fr) !important; }
}

/* ── NEWS ITEMS MOBILE ── */
@media(max-width:640px) {
    .fxlm-news-item { flex-direction:row; gap:12px; align-items:flex-start; }
    .fxlm-news-img { width:90px !important; height:70px !important; flex-shrink:0; border-radius:8px !important; }
    .fxlm-news-img-placeholder { width:90px !important; height:70px !important; flex-shrink:0; }
    .fxlm-news-content { flex:1; min-width:0; }
    .fxlm-news-title { font-size:13px; -webkit-line-clamp:2; }
    .fxlm-news-desc { display:none; } /* hide description on mobile for density */
}

/* ── PRICE TABLE MOBILE ── */
@media(max-width:768px) {
    .bt-market-section { padding:20px 12px 0; }
    /* Table: hide volume/mktcap/chart on phones */
    .fxlm-table th:nth-child(4),
    .fxlm-table td:nth-child(4),
    .fxlm-table th:nth-child(5),
    .fxlm-table td:nth-child(5) { display:none; }
}
@media(max-width:480px) {
    /* Further hide sparkline col on tiny screens */
    .fxlm-table th:nth-child(6),
    .fxlm-table td:nth-child(6) { display:none; }
    .fxlm-table th, .fxlm-table td { padding:10px 8px; font-size:12px; }
}

/* ── CONVERTER MOBILE ── */
@media(max-width:600px) {
    .bt-converter-card { padding:16px; }
    .bt-conv-selects-row { flex-direction:column; }
    .bt-conv-select-wrap { width:100%; }
    .bt-conv-pop-item { width:100%; }
}

/* ── PORTFOLIO MOBILE ── */
@media(max-width:640px) {
    .bt-portpage-add-row { flex-direction:column; }
    .bt-port-input, .bt-port-select { width:100%; min-width:0; }
    .bt-portpage-stat { min-width:calc(50% - 1px); }
    .bt-port-table th:nth-child(3),
    .bt-port-table td:nth-child(3),
    .bt-port-table th:nth-child(7),
    .bt-port-table td:nth-child(7) { display:none; }
}

/* ── FEATURE STRIP MOBILE ── */
@media(max-width:600px) {
    .bt-feature-strip { grid-template-columns:1fr !important; gap:10px; padding:0 12px; }
}

/* ── FOOTER MOBILE ── */
@media(max-width:640px) {
    .cp-footer-grid { grid-template-columns:1fr 1fr !important; gap:24px !important; }
    .cp-footer { padding:32px 16px 16px !important; }
}
@media(max-width:400px) {
    .cp-footer-grid { grid-template-columns:1fr !important; }
}

/* ── GENERAL MOBILE PADDING ── */
@media(max-width:768px) {
    .fxlm-page-header { padding:20px 16px; }
    .fxlm-page-header h1 { font-size:22px; }
    .fxlm-section-header { margin:20px 12px 12px; }
    .fxlm-price-cards { padding:0 12px; }
    .bt-market-section { padding:20px 12px 0; }
    .bt-cats-section, .bt-charts-section { padding:0 12px; margin-top:28px; }
    .fxlm-breadcrumbs { padding:8px 12px; }
}

/* ── PREVENT HORIZONTAL OVERFLOW ── */
html, body { overflow-x:hidden; max-width:100vw; }
img, video, iframe { max-width:100%; height:auto; }
.fxlm-table-wrap { overflow-x:auto; -webkit-overflow-scrolling:touch; }
pre, code { overflow-x:auto; }
