/*
Theme Name: FXComm Child
Theme URI: https://fxcomm.com/
Author: FXComm Team
Author URI: https://fxcomm.com/
Description: Custom child theme for FXComm Forex Community Portal. Built on Hello Elementor.
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 8.0
Version: 2.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Template: hello-elementor
Text Domain: fxcomm
Domain Path: /languages
Tags: custom-menu, custom-logo, elementor, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready, two-columns, blog, news, portfolio
*/

:root {
  --fx-bg-primary: #ffffff;
  --fx-bg-secondary: #f8fafc;
  --fx-bg-tertiary: #f1f5f9;
  --fx-bg-card: #ffffff;
  --fx-bg-glass: rgba(255, 255, 255, 0.85);
  --fx-text-primary: #0f172a;
  --fx-text-secondary: #475569;
  --fx-text-muted: #94a3b8;
  --fx-border: #e2e8f0;
  --fx-border-light: #f1f5f9;
  --fx-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  --fx-shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --fx-shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.08);
  --fx-navy: #0a1628;
  --fx-navy-light: #1a2742;
  --fx-navy-dark: #060e1a;
  --fx-emerald: #10b981;
  --fx-emerald-dark: #059669;
  --fx-blue: #d4a800;
  --fx-blue-dark: #b89200;
  --fx-gold: #f59e0b;
  --fx-red: #ef4444;
  --fx-purple: #8b5cf6;
  --fx-cyan: #06b6d4;
  --fx-green: #10b981;
  --fx-white: #ffffff;
  --fx-font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --fx-font-mono: 'SF Mono', 'Fira Code', 'Fira Mono', monospace;
  --fx-radius-sm: 6px;
  --fx-radius: 10px;
  --fx-radius-md: 12px;
  --fx-radius-lg: 16px;
  --fx-radius-xl: 20px;
  --fx-transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --fx-header-bg: #ffffff;
  --fx-header-border: rgba(0, 0, 0, 0.08);
  --fx-header-row3-bg: rgba(0, 0, 0, 0.04);
  --fx-nav-color: #334155;
  --fx-nav-hover: #0a1628;
  --fx-btn-primary-bg: #d4a800;
  --fx-btn-primary-text: #ffffff;
  --fx-btn-primary-hover: #b89200;
  --fx-btn-secondary-bg: rgba(255, 255, 255, 0.1);
  --fx-btn-secondary-text: #e2e8f0;
  --fx-btn-secondary-border: rgba(255, 255, 255, 0.15);
  --fx-ad-label-bg: rgba(255, 255, 255, 0.05);
  --fx-ad-label-text: #64748b;
  --fx-positive: #10b981;
  --fx-negative: #ef4444;
  --fx-row-hover: rgba(212, 168, 0, 0.05);
}

.fx-dark-mode {
  --fx-bg-primary: #0a0e1a;
  --fx-bg-secondary: #111827;
  --fx-bg-tertiary: #1e293b;
  --fx-bg-card: #1a1f35;
  --fx-bg-glass: rgba(17, 24, 39, 0.85);
  --fx-text-primary: #f1f5f9;
  --fx-text-secondary: #94a3b8;
  --fx-text-muted: #64748b;
  --fx-border: #1e293b;
  --fx-border-light: #1a1f35;
  --fx-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  --fx-shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
  --fx-shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.5);
  --fx-row-hover: rgba(212, 168, 0, 0.08);
  --fx-header-bg: rgba(6, 14, 26, 0.98);
  --fx-header-border: rgba(255, 255, 255, 0.06);
  --fx-header-row3-bg: rgba(255, 255, 255, 0.06);
  --fx-nav-color: #cbd5e1;
  --fx-nav-hover: #ffffff;
  --fx-btn-secondary-bg: rgba(255, 255, 255, 0.05);
  --fx-ad-label-bg: rgba(0, 0, 0, 0.2);
}

*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: var(--fx-font-sans);
  background-color: var(--fx-bg-primary);
  color: var(--fx-text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 0.3s ease, color 0.3s ease;
}

a { color: var(--fx-blue); text-decoration: none; transition: color var(--fx-transition); }
a:hover { color: var(--fx-blue-dark); }

img { max-width: 100%; height: auto; }

/* ====== Header ====== */
.fx-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--fx-header-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--fx-header-border);
  transition: all var(--fx-transition);
}

.fx-header.scrolled {
  background: var(--fx-header-bg);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.fx-header-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.fx-logo-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 200px;
  flex-shrink: 0;
  text-decoration: none;
}

.fx-logo-link .fx-logo-light,
.fx-logo-link .fx-logo-dark {
  max-height: 60px;
  max-width: 180px;
  width: auto;
  height: auto;
}

.fx-logo-link .fx-logo-dark { display: none; }
.fx-dark-mode .fx-logo-link .fx-logo-light { display: none; }
.fx-dark-mode .fx-logo-link .fx-logo-dark { display: block; }

.fx-logo-text {
  font-size: 16px;
  font-weight: 800;
  color: var(--fx-nav-color);
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.fx-header-sponsor {
  width: 200px;
  flex-shrink: 0;
  position: relative;
  display: flex;
  align-items: center;
}

.fx-sponsor-label {
  position: absolute;
  top: 2px;
  right: 0;
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--fx-text-muted);
  opacity: 0.6;
  line-height: 1;
}

.fx-sponsor-banner {
  display: flex;
  align-items: center;
}

.fx-sponsor-banner img {
  max-height: 60px;
  width: auto;
  display: block;
}

.fx-header-row {
  border-bottom: 1px solid var(--fx-header-border);
}
.fx-header-row:last-child { border-bottom: none; }

.fx-header-row-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  height: 100%;
}

.fx-header-row-1 { height: 100px; }
.fx-header-row-1 .fx-header-row-inner { height: 100px; }
.fx-header-row-2 { height: 52px; }
.fx-header-row-2 .fx-header-row-inner { height: 52px; }

.fx-header-left { display: flex; align-items: center; flex-shrink: 0; }
.fx-header-right { display: flex; align-items: center; gap: 8px; margin-left: auto; flex-shrink: 0; }

/* ====== Navigation ====== */
.fx-nav { display: flex; align-items: center; height: 100%; flex: 1; overflow: hidden; }
.fx-nav-list { display: flex; align-items: center; gap: 2px; height: 100%; margin: 0; padding: 0; list-style: none; }
.fx-nav-list > li { height: 100%; display: flex; align-items: center; position: relative; }
.fx-nav-list > li > a {
  color: var(--fx-nav-color);
  font-size: 13px;
  font-weight: 500;
  padding: 0 14px;
  height: 100%;
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: color var(--fx-transition);
  white-space: nowrap;
  position: relative;
}
.fx-nav-list > li > a:hover, .fx-nav-list > li > a.active,
.fx-nav-list > li.current-menu-item > a { color: var(--fx-nav-hover); }
.fx-nav-list > li > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--fx-blue);
  transition: width var(--fx-transition);
}
.fx-nav-list > li > a:hover::after,
.fx-nav-list > li.current-menu-item > a::after,
.fx-nav-list > li.current_page_item > a::after { width: 70%; }

.fx-nav-submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--fx-navy-dark);
  border: 1px solid var(--fx-header-border);
  border-radius: 0 0 var(--fx-radius-sm) var(--fx-radius-sm);
  padding: 8px 0;
  min-width: 200px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  z-index: 100;
}
.fx-hover > .fx-nav-submenu { display: block; }
.fx-nav-submenu li { display: block; }
.fx-nav-submenu a {
  color: #cbd5e1;
  font-size: 13px;
  padding: 8px 16px;
  display: block;
  text-decoration: none;
  transition: all var(--fx-transition);
}
.fx-nav-submenu a:hover { color: #fff; background: rgba(255,255,255,0.05); }

.fx-nav-sep {
  display: inline-block;
  width: 1px;
  height: 20px;
  background: var(--fx-header-border);
  margin: 0 4px;
  flex-shrink: 0;
}

.fx-nav-secondary { display: flex; align-items: center; height: 100%; overflow: hidden; flex-shrink: 0; }
.fx-nav-secondary-list { display: flex; align-items: center; height: 100%; margin: 0; padding: 0; list-style: none; }
.fx-nav-secondary-list li { height: 100%; display: flex; align-items: center; }
.fx-nav-secondary-list a {
  color: var(--fx-nav-color);
  font-size: 12px;
  font-weight: 400;
  padding: 0 12px;
  height: 100%;
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: color var(--fx-transition);
  white-space: nowrap;
  border-right: 1px solid var(--fx-header-border);
}
.fx-nav-secondary-list li:last-child a { border-right: none; }
.fx-nav-secondary-list a:hover { color: var(--fx-nav-hover); }

.fx-nav-trade-now {
  color: var(--fx-nav-color);
  font-size: 12px;
  font-weight: 400;
  padding: 0 12px;
  height: 100%;
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: color var(--fx-transition);
  white-space: nowrap;
  border-left: 1px solid var(--fx-header-border);
  position: relative;
}
.fx-nav-trade-now:hover { color: var(--fx-nav-hover); }

.fx-ad-tag {
  position: absolute;
  top: 6px;
  right: 2px;
  font-size: 8px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--fx-text-muted);
  opacity: 0.7;
}

/* ====== Header Controls ====== */
.fx-header-controls { display: flex; align-items: center; gap: 8px; }

.fx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: var(--fx-radius-sm);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--fx-transition);
  text-decoration: none;
  border: none;
  line-height: 1;
  white-space: nowrap;
}

.fx-btn-dark {
  background: var(--fx-btn-secondary-bg);
  border: 1px solid var(--fx-btn-secondary-border);
  color: var(--fx-btn-secondary-text);
  width: 34px;
  height: 34px;
  padding: 0;
  border-radius: 50%;
  font-size: 16px;
}
.fx-btn-dark:hover { background: rgba(255, 255, 255, 0.2); }

.fx-btn-lang {
  background: transparent;
  color: var(--fx-btn-secondary-text);
  border: none;
  font-size: 13px;
  font-weight: 600;
  padding: 4px 8px;
  cursor: pointer;
  border-radius: var(--fx-radius-sm);
  transition: all var(--fx-transition);
  display: flex;
  align-items: center;
  gap: 2px;
}
.fx-btn-lang:hover { background: rgba(255, 255, 255, 0.1); }
.fx-lang-sep { opacity: 0.4; font-weight: 300; padding: 0 1px; }
.fx-lang-ar { opacity: 0.5; }
[lang="ar"] .fx-lang-en { opacity: 0.5; }
[lang="ar"] .fx-lang-ar { opacity: 1; }

.fx-btn-signin {
  background: transparent;
  color: var(--fx-btn-secondary-text);
  border: 1px solid var(--fx-btn-secondary-border);
  padding: 5px 14px;
}
.fx-btn-signin:hover { background: rgba(255, 255, 255, 0.1); }

.fx-btn-signup {
  background: var(--fx-btn-primary-bg);
  color: var(--fx-btn-primary-text);
}
.fx-btn-signup:hover { background: var(--fx-btn-primary-hover); }

.fx-btn-trade {
  background: var(--fx-emerald);
  color: #ffffff;
  font-size: 12px;
  padding: 4px 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.fx-btn-trade:hover { background: var(--fx-emerald-dark); }

/* ====== Mobile Toggle ====== */
.fx-mobile-toggle {
  display: none;
  width: 34px;
  height: 34px;
  background: var(--fx-btn-secondary-bg);
  border: 1px solid var(--fx-btn-secondary-border);
  border-radius: var(--fx-radius-sm);
  cursor: pointer;
  padding: 8px 6px;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}
.fx-mobile-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--fx-btn-secondary-text);
  border-radius: 1px;
  transition: all var(--fx-transition);
}
.fx-mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
.fx-mobile-toggle.active span:nth-child(2) { opacity: 0; }
.fx-mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); }

/* ====== Main Content ====== */
.fx-site-main {
  padding-top: 144px;
  min-height: 60vh;
}
.fx-home-main {
  padding-top: 169px;
  padding-bottom: 40px;
}

/* ====== Elementor Canvas ====== */
.page-template-elementor-canvas .fx-site-main {
  padding-top: 144px;
}

/* ====== Page Templates ====== */
.fx-page-wrap {
  max-width: 1020px;
  margin: 0 auto;
  padding: 0 20px;
}
.fx-hero-bg .fx-page-wrap {
  background: rgba(15,23,42,0.95);
  border-radius: 12px;
  padding: 24px 28px;
  margin-top: 20px;
  margin-bottom: 20px;
}
.fx-hero-bg .fx-page-title { color: #f1f5f9; }
.fx-hero-bg .fx-community-header p,
.fx-hero-bg .fx-page-wrap p { color: #94a3b8; }

/* Community page — full-width dark layout with side ads */
.fx-community-outer {
  display: flex;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  gap: 24px;
  align-items: flex-start;
}
.fx-community-outer .fx-page-wrap {
  max-width: none;
  margin: 0;
  padding: 0;
  background: none;
  border-radius: 0;
}
body.page-id-42 .fx-community-outer,
body.page-id-42 .fx-community-dark,
body.page-id-42 .fx-forum-stats,
body.page-id-42 .fx-stat-item,
body.page-id-42 .fx-stat-value,
body.page-id-42 .fx-stat-label,
body.page-id-42 .fx-forum-toolbar,
body.page-id-42 .fx-category-grid,
body.page-id-42 .fx-category-card,
body.page-id-42 .fx-category-card h3,
body.page-id-42 .fx-category-card h3 a,
body.page-id-42 .fx-category-card p,
body.page-id-42 .fx-category-stats,
body.page-id-42 .fx-community-section,
body.page-id-42 .fx-section-header,
body.page-id-42 .fx-section-header h2,
body.page-id-42 .fx-page-title,
body.page-id-42 .fx-activity-table,
body.page-id-42 .fx-activity-table th,
body.page-id-42 .fx-activity-table td,
body.page-id-42 .fx-contributors-grid,
body.page-id-42 .fx-contributor-card,
body.page-id-42 .fx-contributor-avatar,
body.page-id-42 .fx-contributor-name,
body.page-id-42 .fx-contributor-stats,
body.page-id-42 .fx-topic-title,
body.page-id-42 .fx-cat-badge,
body.page-id-42 .fx-back-link,
body.page-id-42 .fx-topic-detail,
body.page-id-42 .fx-topic-header,
body.page-id-42 .fx-topic-content,
body.page-id-42 .fx-replies-section,
body.page-id-42 .fx-reply-card,
body.page-id-42 .fx-reply-author,
body.page-id-42 .fx-reply-avatar,
body.page-id-42 .fx-reply-content,
body.page-id-42 .fx-reply-form-wrap,
body.page-id-42 .fx-modal-content,
body.page-id-42 .fx-modal-header,
body.page-id-42 .fx-modal-body,
body.page-id-42 .fx-form-field label,
body.page-id-42 .fx-form-field input,
body.page-id-42 .fx-form-field textarea,
body.page-id-42 .fx-form-field select,
body.page-id-42 .fx-community-placeholder,
body.page-id-42 .fx-login-prompt,
body.page-id-42 .fx-btn-primary,
body.page-id-42 .fx-btn-secondary,
body.page-id-42 .fx-btn-sm,
body.page-id-42 .fx-login-links,
body.page-id-42 .fx-login-msg,
body.page-id-42 .fx-form-msg {
  background-image: none !important;
}

body.page-id-42 .fx-community-outer {
  display: flex !important;
  max-width: 1400px !important;
  margin: 0 auto !important;
  padding: 20px !important;
  gap: 24px !important;
  align-items: flex-start !important;
  background: transparent !important;
}

body.page-id-42 .fx-community-dark {
  background: #0f172a !important;
  border-radius: 12px !important;
  padding: 32px !important;
  flex: 1 !important;
  min-width: 0 !important;
  color: #e2e8f0 !important;
}
body.page-id-42 .fx-community-dark .fx-page-title { color: #f1f5f9 !important; margin-bottom: 16px !important; font-size: 28px !important; }
body.page-id-42 .fx-community-dark .fx-section-header h2 { color: #f1f5f9 !important; margin-bottom: 12px !important; font-size: 20px !important; }
body.page-id-42 .fx-community-dark .fx-forum-stats { border-color: #1e293b !important; background: #1e293b !important; border-radius: 10px !important; padding: 16px !important; margin-bottom: 20px !important; display: flex !important; gap: 20px !important; }
body.page-id-42 .fx-community-dark .fx-stat-value { color: #f1f5f9 !important; font-size: 24px !important; font-weight: 700 !important; }
body.page-id-42 .fx-community-dark .fx-stat-label { color: #64748b !important; font-size: 12px !important; }
body.page-id-42 .fx-community-dark .fx-forum-toolbar { margin-bottom: 20px !important; }
body.page-id-42 .fx-community-dark .fx-category-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 16px !important;
  margin-bottom: 24px !important;
}
body.page-id-42 .fx-community-dark .fx-category-card {
  background: #1e293b !important;
  border: 1px solid #334155 !important;
  border-radius: 10px !important;
  padding: 20px !important;
  transition: border-color 0.2s !important;
}
body.page-id-42 .fx-community-dark .fx-category-card:hover { border-color: #d4a800 !important; }
body.page-id-42 .fx-community-dark .fx-category-card h3 { margin: 0 0 6px !important; }
body.page-id-42 .fx-community-dark .fx-category-card h3 a { color: #f1f5f9 !important; text-decoration: none !important; }
body.page-id-42 .fx-community-dark .fx-category-card p { color: #94a3b8 !important; font-size: 13px !important; margin: 0 !important; }
body.page-id-42 .fx-community-dark .fx-category-stats { color: #64748b !important; font-size: 12px !important; margin-top: 8px !important; }
body.page-id-42 .fx-community-dark .fx-topic-title { color: #f1f5f9 !important; }
body.page-id-42 .fx-community-dark .fx-topic-meta { color: #64748b !important; font-size: 12px !important; }
body.page-id-42 .fx-community-dark .fx-topic-excerpt { color: #94a3b8 !important; }

body.page-id-42 .fx-activity-table { width: 100% !important; border-collapse: collapse !important; background: #1e293b !important; border-radius: 10px !important; overflow: hidden !important; }
body.page-id-42 .fx-activity-table th { background: #0f172a !important; color: #94a3b8 !important; font-size: 11px !important; text-transform: uppercase !important; letter-spacing: 0.5px !important; padding: 10px 14px !important; text-align: left !important; border-bottom: 1px solid #334155 !important; }
body.page-id-42 .fx-activity-table td { padding: 12px 14px !important; border-bottom: 1px solid #1e293b !important; color: #e2e8f0 !important; font-size: 13px !important; }
body.page-id-42 .fx-activity-table tr:hover td { background: rgba(212,168,0,0.06) !important; }
body.page-id-42 .fx-activity-table .fx-topic-title { color: #f1f5f9 !important; font-weight: 600 !important; }
body.page-id-42 .fx-activity-table .fx-topic-title:hover { color: #d4a800 !important; }
body.page-id-42 .fx-activity-table .fx-col-num { text-align: center !important; }
body.page-id-42 .fx-activity-table .fx-col-activity { color: #64748b !important; font-size: 12px !important; }

body.page-id-42 .fx-cat-badge { padding: 3px 10px !important; border-radius: 4px !important; font-size: 11px !important; font-weight: 600 !important; white-space: nowrap !important; }

body.page-id-42 .fx-contributors-grid { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)) !important; gap: 12px !important; }
body.page-id-42 .fx-contributor-card { background: #1e293b !important; border: 1px solid #334155 !important; border-radius: 10px !important; padding: 16px !important; text-align: center !important; }
body.page-id-42 .fx-contributor-avatar { width: 40px !important; height: 40px !important; border-radius: 50% !important; background: #d4a800 !important; color: #0f172a !important; display: flex !important; align-items: center !important; justify-content: center !important; font-weight: 700 !important; font-size: 14px !important; margin: 0 auto 8px !important; }
body.page-id-42 .fx-contributor-name { color: #f1f5f9 !important; font-size: 13px !important; font-weight: 600 !important; }
body.page-id-42 .fx-contributor-stats { color: #64748b !important; font-size: 11px !important; }

body.page-id-42 .fx-community-section { margin-bottom: 28px !important; }
body.page-id-42 .fx-community-section:last-child { margin-bottom: 0 !important; }

body.page-id-42 .fx-community-placeholder { background: #1e293b !important; border: 1px dashed #334155 !important; border-radius: 10px !important; padding: 40px !important; text-align: center !important; color: #64748b !important; }

body.page-id-42 .fx-modal-content { background: #1e293b !important; border-radius: 12px !important; max-width: 500px !important; width: 90% !important; }
body.page-id-42 .fx-modal-header { background: #0f172a !important; padding: 16px 20px !important; border-radius: 12px 12px 0 0 !important; }
body.page-id-42 .fx-modal-header h3 { color: #f1f5f9 !important; margin: 0 !important; }
body.page-id-42 .fx-modal-body { padding: 20px !important; }
body.page-id-42 .fx-modal-body .fx-form-field label { color: #94a3b8 !important; font-size: 13px !important; margin-bottom: 4px !important; display: block !important; }
body.page-id-42 .fx-modal-body .fx-form-field input,
body.page-id-42 .fx-modal-body .fx-form-field textarea,
body.page-id-42 .fx-modal-body .fx-form-field select { width: 100% !important; padding: 10px 12px !important; border: 1px solid #334155 !important; border-radius: 6px !important; background: #0f172a !important; color: #f1f5f9 !important; font-size: 14px !important; }

body.page-id-42 .fx-btn-primary { background: #d4a800 !important; color: #fff !important; border: none !important; padding: 8px 18px !important; border-radius: 6px !important; font-weight: 600 !important; cursor: pointer !important; }
body.page-id-42 .fx-btn-primary:hover { background: #b89200 !important; }
body.page-id-42 .fx-btn-secondary { background: transparent !important; color: #94a3b8 !important; border: 1px solid #334155 !important; padding: 8px 18px !important; border-radius: 6px !important; }
body.page-id-42 .fx-back-link { color: #d4a800 !important; font-size: 13px !important; display: inline-block !important; margin-bottom: 16px !important; }
body.page-id-42 .fx-login-links { margin-top: 12px !important; text-align: center !important; }
body.page-id-42 .fx-login-links a { color: #d4a800 !important; font-size: 13px !important; }

/* Ads outside page-wrap — sticky sidebars */
.fx-community-ad {
  flex-shrink: 0;
  width: 180px;
  position: sticky;
  top: 160px;
}

@media (max-width: 1100px) {
  .fx-community-ad { display: none; }
  .fx-community-outer { padding: 0 12px; }
  .fx-community-dark { padding: 20px; }
}
@media (max-width: 600px) {
  .fx-community-dark .fx-category-grid { grid-template-columns: 1fr; }
}

.fx-page-title {
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 24px;
  color: var(--fx-text-primary);
}

.fx-page-body {
  color: var(--fx-text-secondary);
  line-height: 1.8;
}

.fx-markets-dashboard {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.fx-markets-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.fx-markets-card {
  background: var(--fx-bg-card);
  border-radius: var(--fx-radius-md);
  padding: 20px;
  border: 1px solid var(--fx-border);
}

.fx-heat-map-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 8px;
}

.fx-heat-map-full {
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
}

.fx-heat-map-cell {
  border-radius: 8px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: background 0.3s, transform 0.15s;
  position: relative;
}
.fx-heat-map-cell:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.fx-heat-symbol {
  font-size: 13px;
  font-weight: 700;
  color: var(--fx-text-primary);
}

.fx-heat-name {
  font-size: 10px;
  color: var(--fx-text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fx-heat-price {
  font-size: 14px;
  font-weight: 600;
  color: var(--fx-text-primary);
}
.fx-heat-price.fx-positive { color: var(--fx-positive) !important; }
.fx-heat-price.fx-negative { color: var(--fx-negative) !important; }

.fx-heat-change {
  font-size: 12px;
  font-weight: 600;
}

.fx-heatmap-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 20px;
  padding: 16px;
  background: var(--fx-bg-card);
  border-radius: var(--fx-radius-md);
  border: 1px solid var(--fx-border);
}

.fx-legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--fx-text-secondary);
}

.fx-legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 3px;
}
.fx-legend-up { background: rgba(16,185,129,0.6); }
.fx-legend-down { background: rgba(239,68,68,0.6); }
.fx-legend-fx { background: var(--fx-blue); }
.fx-legend-crypto { background: #8b5cf6; }
.fx-legend-indices { background: #f59e0b; }
.fx-legend-commodities { background: #10b981; }

.fx-rates-table-wrap {
  overflow-x: auto;
}

.fx-rates-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.fx-rates-table th {
  text-align: left;
  padding: 10px 12px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--fx-text-muted);
  border-bottom: 1px solid var(--fx-border);
  white-space: nowrap;
}

.fx-rates-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--fx-border);
  color: var(--fx-text-primary);
}

.fx-rate-flag {
  font-size: 16px;
  margin-right: 6px;
}

.fx-rate-value {
  font-weight: 600;
}

.fx-rate-change.fx-up { color: #10b981; }
.fx-rate-change.fx-down { color: #ef4444; }
.fx-rate-change.fx-steady { color: #f59e0b; }

.fx-rate-trend {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
}
.fx-trend-steady { background: rgba(245,158,11,0.15); color: #f59e0b; }
.fx-trend-up { background: rgba(16,185,129,0.15); color: #10b981; }
.fx-trend-down { background: rgba(239,68,68,0.15); color: #ef4444; }
.fx-trend-neutral { background: rgba(148,163,184,0.15); color: #94a3b8; }

.fx-correlation-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.fx-correlation-table th,
.fx-correlation-table td {
  padding: 8px 10px;
  text-align: center;
  border: 1px solid var(--fx-border);
  white-space: nowrap;
}

.fx-correlation-label {
  font-weight: 700;
  font-size: 11px;
  color: var(--fx-text-primary);
  text-align: left !important;
}

.fx-correlation-cell {
  transition: all 0.2s;
  font-size: 12px;
}

.fx-correlation-insights {
  margin-top: 24px;
  padding: 20px;
  background: var(--fx-bg-card);
  border-radius: var(--fx-radius-md);
  border: 1px solid var(--fx-border);
}

.fx-correlation-insights h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 12px;
  color: var(--fx-text-primary);
}

.fx-correlation-insights ul {
  margin: 0;
  padding: 0 0 0 20px;
}

.fx-correlation-insights li {
  margin-bottom: 8px;
  color: var(--fx-text-secondary);
  font-size: 13px;
  line-height: 1.6;
}

.fx-eco-calendar-page {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.fx-eco-filters {
  display: flex;
  gap: 16px;
  align-items: center;
}

.fx-eco-select {
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid var(--fx-border);
  background: var(--fx-bg-card);
  color: var(--fx-text-primary);
  font-size: 13px;
}

.fx-brokers-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.fx-brokers-table th {
  text-align: left;
  padding: 10px 12px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--fx-text-muted);
  border-bottom: 1px solid var(--fx-border);
}

.fx-brokers-table td {
  padding: 12px;
  border-bottom: 1px solid var(--fx-border);
  color: var(--fx-text-primary);
  vertical-align: middle;
}

.fx-broker-cell {
  display: flex;
  align-items: center;
  gap: 10px;
}

.fx-broker-cell-name {
  font-weight: 600;
}

.fx-broker-cell-rating {
  color: #f59e0b;
  font-size: 14px;
}

.fx-broker-cell-rating span {
  color: var(--fx-text-muted);
  font-size: 12px;
  margin-left: 4px;
}

.fx-broker-cell-reg {
  font-size: 11px;
  color: var(--fx-text-muted);
}

.fx-news-page-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 30px;
}

.fx-rates-page,
.fx-heatmap-page,
.fx-correlation-page,
.fx-brokers-page {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.fx-rates-desc,
.fx-heatmap-desc,
.fx-correlation-desc,
.fx-brokers-desc {
  color: var(--fx-text-secondary);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

.fx-rates-note {
  padding: 16px;
  background: rgba(59,130,246,0.08);
  border-radius: var(--fx-radius-md);
  border: 1px solid rgba(59,130,246,0.2);
  font-size: 13px;
  color: var(--fx-text-secondary);
}

.fx-rates-note p { margin: 0; }

@media (max-width: 768px) {
  .fx-markets-grid { grid-template-columns: 1fr; }
  .fx-news-page-grid { grid-template-columns: 1fr; }
  .fx-heat-map-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
  .fx-page-wrap { padding: 0 12px; }
  .fx-page-title { font-size: 22px; }
}

/* ====== Advertisement ====== */
.fx-ad-container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 600px;
}
.fx-ad-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fx-ad-label-text);
  background: var(--fx-ad-label-bg);
  padding: 2px 8px;
  border-radius: 3px;
  margin-bottom: 8px;
}
.fx-ad-sticky { position: sticky; top: 160px; }
.fx-ad-160 { width: 160px; }
.fx-ad-responsive { max-width: 100%; }

/* ====== Trade Now Banner ====== */
.fx-trade-now-banner {
  display: flex;
  align-items: center;
  gap: 8px;
}
.fx-trade-now-banner img { max-height: 32px; width: auto; }

/* ====== Page Layout ====== */
.fx-page-wrap {
  max-width: 1020px;
  margin: 0 auto;
  padding: 0;
}

/* ====== Homepage Wireframe Layout ====== */
.fx-home-wrap {
  display: flex;
  justify-content: center;
  gap: 30px;
  max-width: 1400px;
  margin: 0 auto;
}

.fx-home-left-ad { width: 160px; flex-shrink: 0; }

.fx-home-left-ad .fx-ad-sticky {
  position: sticky;
  top: 170px;
}

.fx-home-right-ad { width: 160px; flex-shrink: 0; }

.fx-home-right-ad .fx-ad-sticky {
  position: sticky;
  top: 170px;
}

.fx-home-top-banner {
  max-width: 1400px;
  margin: 0 auto 24px;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.fx-home-top-banner .fx-ad-img {
  max-width: 728px;
  width: 100%;
  height: auto;
  min-height: 90px;
  object-fit: contain;
}
.fx-home-top-banner .fx-ad-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--fx-text-muted);
  margin-bottom: 6px;
}

.fx-home-content {
  display: flex;
  gap: 30px;
  width: 1020px;
  min-width: 0;
  flex-shrink: 0;
}

.fx-home-col-left { width: 650px; flex-shrink: 0; }
.fx-home-col-right { width: 340px; flex-shrink: 0; }

/* Homepage Content Blocks (Left Column) */
.fx-home-block {
  background: var(--fx-bg-card);
  border: 1px solid var(--fx-border);
  border-radius: var(--fx-radius-md);
  padding: 20px;
  margin-bottom: 24px;
  box-shadow: var(--fx-shadow);
}
.fx-home-block:last-child { margin-bottom: 0; }

.fx-block-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.fx-block-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--fx-text-primary);
  margin: 0;
  letter-spacing: -0.01em;
}
.fx-block-link {
  font-size: 12px;
  font-weight: 600;
  color: var(--fx-blue);
  text-decoration: none;
  white-space: nowrap;
}
.fx-block-link:hover { color: var(--fx-blue-dark); }

.fx-block-placeholder p {
  font-size: 13px;
  color: var(--fx-text-secondary);
  margin: 0 0 14px;
  line-height: 1.6;
}

/* Forex Analysis */
.fx-analysis-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.fx-analysis-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: var(--fx-bg-secondary);
  border-radius: var(--fx-radius-sm);
}
.fx-pair-label { font-size: 13px; font-weight: 700; color: var(--fx-text-primary); }
.fx-pair-outlook { font-size: 11px; font-weight: 700; padding: 2px 10px; border-radius: 4px; }
.fx-pair-outlook.fx-positive { background: rgba(16,185,129,0.12); color: var(--fx-positive); }
.fx-pair-outlook.fx-negative { background: rgba(239,68,68,0.12); color: var(--fx-negative); }
.fx-pair-outlook.fx-neutral { background: rgba(148,163,184,0.12); color: var(--fx-text-muted); }

/* ====== Signal Board (AI Strategy) ====== */
.fx-sig-ticker {
  overflow: hidden;
  background: var(--fx-bg-secondary);
  border: 1px solid var(--fx-border-color, rgba(255,255,255,0.08));
  border-radius: var(--fx-radius-sm);
  margin-bottom: 20px;
  padding: 0;
}
.fx-sig-ticker-inner {
  display: flex;
  gap: 0;
  overflow-x: auto;
  white-space: nowrap;
  padding: 8px 0;
  scrollbar-width: none;
}
.fx-sig-ticker-inner::-webkit-scrollbar { display: none; }
.fx-sig-ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 14px;
  border-right: 1px solid var(--fx-border-color, rgba(255,255,255,0.06));
  flex-shrink: 0;
  font-size: 12px;
}
.fx-sig-ticker-item:last-child { border-right: none; }
.fx-sig-ticker-flag { font-size: 14px; }
.fx-sig-ticker-name { font-weight: 600; color: var(--fx-text-primary); min-width: 40px; }
.fx-sig-ticker-price { font-family: var(--fx-font-mono, monospace); font-weight: 700; font-size: 13px; min-width: 65px; text-align: right; }
.fx-sig-ticker-arrow { font-size: 9px; }
.fx-sig-ticker-chg { font-size: 11px; font-weight: 600; min-width: 50px; text-align: right; }

/* Header */
.fx-sig-header { margin-bottom: 16px; }
.fx-sig-subtitle { color: var(--fx-text-secondary); font-size: 14px; margin-top: 4px; }

/* Filters */
.fx-sig-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}
.fx-sig-filter {
  padding: 6px 16px;
  border: 1px solid var(--fx-border-color, rgba(255,255,255,0.12));
  background: transparent;
  color: var(--fx-text-secondary);
  border-radius: 20px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
}
.fx-sig-filter:hover { border-color: var(--fx-blue, #d4a800); color: var(--fx-blue, #d4a800); }
.fx-sig-filter-active {
  background: var(--fx-blue, #d4a800);
  color: #fff;
  border-color: var(--fx-blue, #d4a800);
}
.fx-sig-filter-active:hover { color: #fff; }

/* Homepage AI grid — 3-column on desktop, responsive */
.fx-home-ai-grid { grid-template-columns: repeat(3, 1fr) !important; }

/* Signal Grid */
.fx-sig-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}

.fx-sig-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px;
  background: var(--fx-bg-secondary);
  border: 1px solid var(--fx-border-color, rgba(255,255,255,0.06));
  border-radius: var(--fx-radius);
  transition: border-color 0.2s;
}
.fx-sig-card:hover { border-color: rgba(212,168,0,0.3); }

.fx-sig-card-top {
  display: flex;
  align-items: center;
  gap: 8px;
}
.fx-sig-card-flag { font-size: 20px; }
.fx-sig-card-name { font-weight: 700; font-size: 14px; color: var(--fx-text-primary); flex: 1; }
.fx-sig-card-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.fx-sig-buy { background: rgba(16,185,129,0.15); color: var(--fx-positive, #10b981); }
.fx-sig-sell { background: rgba(239,68,68,0.15); color: var(--fx-negative, #ef4444); }
.fx-sig-hold { background: rgba(148,163,184,0.15); color: var(--fx-text-muted, #94a3b8); }

.fx-sig-card-price-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
}
.fx-sig-card-price { font-family: var(--fx-font-mono, monospace); font-size: 18px; font-weight: 700; }
.fx-sig-card-arrow { font-size: 10px; }
.fx-sig-card-chg { font-size: 12px; font-weight: 600; }
.fx-positive { color: var(--fx-positive, #10b981); }
.fx-negative { color: var(--fx-negative, #ef4444); }

.fx-sig-card-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
}
.fx-sig-card-label { font-size: 11px; color: var(--fx-text-muted); }
.fx-sig-confidence-bar {
  flex: 1;
  height: 4px;
  background: rgba(148,163,184,0.2);
  border-radius: 2px;
  overflow: hidden;
}
.fx-sig-confidence-fill { height: 100%; border-radius: 2px; transition: width 0.5s; }
.fx-sig-confidence-pct { font-size: 11px; font-weight: 700; font-family: var(--fx-font-mono, monospace); min-width: 28px; text-align: right; }

.fx-sig-card-levels {
  display: flex;
  gap: 12px;
  margin-top: 2px;
  padding-top: 8px;
  border-top: 1px solid var(--fx-border-color, rgba(255,255,255,0.06));
}
.fx-sig-level {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
}
.fx-sig-level-label { color: var(--fx-text-muted); font-weight: 600; }
.fx-sig-level-val { font-family: var(--fx-font-mono, monospace); font-weight: 600; color: var(--fx-text-primary); }
.fx-sig-tp-val { color: var(--fx-positive, #10b981); }
.fx-sig-sl-val { color: var(--fx-negative, #ef4444); }

/* ====== Indicators Page ====== */
.fx-ind-subtitle { color: var(--fx-text-secondary); font-size: 14px; margin-bottom: 24px; }

.fx-ind-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.fx-ind-category {
  background: var(--fx-bg-secondary);
  border: 1px solid var(--fx-border-color, rgba(255,255,255,0.06));
  border-radius: var(--fx-radius);
  padding: 16px;
}
.fx-ind-cat-title {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--fx-blue, #d4a800);
  margin: 0 0 12px 0;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--fx-border-color, rgba(255,255,255,0.08));
}
.fx-ind-list { list-style: none; margin: 0; padding: 0; }
.fx-ind-list li { margin: 0; padding: 3px 0; }
.fx-ind-link {
  font-size: 13px;
  color: var(--fx-text-primary);
  text-decoration: none;
  transition: color 0.15s;
}
.fx-ind-link:hover { color: var(--fx-blue, #d4a800); text-decoration: underline; }

/* Detail page */
.fx-ind-detail-header { margin-bottom: 24px; }
.fx-ind-detail-meta { color: var(--fx-text-secondary); font-size: 13px; margin-top: 4px; }
.fx-ind-table-wrap { overflow-x: auto; }
.fx-ind-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.fx-ind-table th {
  background: var(--fx-bg-secondary);
  text-align: left;
  padding: 10px 12px;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: var(--fx-text-secondary);
  border-bottom: 2px solid var(--fx-border-color, rgba(255,255,255,0.08));
}
.fx-ind-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--fx-border-color, rgba(255,255,255,0.04));
}
.fx-ind-table tr:hover td { background: rgba(212,168,0,0.04); }
.fx-ind-country { font-weight: 600; white-space: nowrap; }
.fx-ind-flag { font-size: 16px; margin-right: 6px; }
.fx-ind-value { font-family: var(--fx-font-mono, monospace); font-weight: 700; font-size: 14px; }
.fx-ind-arrow { font-size: 9px; margin-left: 3px; }
.fx-ind-prev { font-family: var(--fx-font-mono, monospace); color: var(--fx-text-secondary); }
.fx-ind-unit { color: var(--fx-text-muted); font-size: 12px; }
.fx-ind-date { color: var(--fx-text-muted); font-size: 12px; white-space: nowrap; }
.fx-neutral { color: var(--fx-text-muted, #94a3b8); }

@media (max-width: 768px) {
  .fx-ind-grid { grid-template-columns: 1fr; }
  .fx-ind-table { font-size: 12px; }
  .fx-ind-table th, .fx-ind-table td { padding: 8px 8px; }
}

@media (max-width: 480px) {
  .fx-ind-table th:nth-child(4), .fx-ind-table td:nth-child(4) { display: none; }
  .fx-ind-table th:nth-child(5), .fx-ind-table td:nth-child(5) { display: none; }
}

/* Homepage Widgets (Right Column) */
.fx-home-widget {
  margin-bottom: 20px;
}
.fx-home-widget:last-child { margin-bottom: 0; }

.fx-widget-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.fx-widget-inner {
  background: var(--fx-bg-card);
  border: 1px solid var(--fx-border);
  border-radius: var(--fx-radius-md);
  overflow: hidden;
  box-shadow: var(--fx-shadow);
  transition: box-shadow var(--fx-transition);
}
.fx-widget-inner:hover { box-shadow: var(--fx-shadow-md); }

.fx-widget-header-custom {
  padding: 12px 16px;
  background: var(--fx-navy);
  color: #ffffff;
}
.fx-widget-header-custom h3 {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.fx-widget-body { padding: 12px 16px; }
.fx-widget-body p:last-child,
.fx-widget-body .fx-mh-empty:last-child,
.fx-widget-body .fp-cal-container:last-child,
.fx-widget-body .fx-broker-strip:last-child,
.fx-widget-body .fp-news-layout:last-child { margin-bottom: 0; }

.fx-widget-desc {
  font-size: 12px;
  color: var(--fx-text-secondary);
  margin: 0 0 10px;
  line-height: 1.5;
}

.fx-widget-footer-custom {
  padding: 10px 16px;
  border-top: 1px solid var(--fx-border);
  font-size: 11px;
  color: var(--fx-blue);
  font-weight: 600;
  text-align: center;
}

/* Heat Map Preview */
.fx-heatmap-preview { display: flex; flex-direction: column; gap: 6px; }
.fx-heat-row { display: flex; gap: 6px; font-size: 11px; align-items: center; }
.fx-heat-row span { flex: 1; padding: 4px 6px; border-radius: 3px; }
.fx-heat-row span:first-child { font-weight: 700; color: var(--fx-text-primary); background: transparent; }
.fx-hm-up { background: rgba(16,185,129,0.12); color: var(--fx-positive); text-align: center; font-weight: 600; }
.fx-hm-down { background: rgba(239,68,68,0.12); color: var(--fx-negative); text-align: center; font-weight: 600; }

/* Correlation Preview */
.fx-corr-preview { display: flex; flex-direction: column; gap: 6px; }
.fx-corr-row { display: flex; justify-content: space-between; align-items: center; padding: 6px 0; border-bottom: 1px solid var(--fx-border-light); font-size: 12px; }
.fx-corr-row:last-child { border-bottom: none; }
.fx-corr-row span:first-child { color: var(--fx-text-primary); font-weight: 500; }
.fx-corr-val { font-weight: 700; font-family: var(--fx-font-mono); }
.fx-corr-val.fx-positive { color: var(--fx-positive); }
.fx-corr-val.fx-negative { color: var(--fx-negative); }

/* ====== Advertisement ====== */
.fx-ad-container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 600px;
}
.fx-ad-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fx-ad-label-text);
  background: var(--fx-ad-label-bg);
  padding: 2px 8px;
  border-radius: 3px;
  margin-bottom: 8px;
  text-align: center;
}
.fx-ad-sticky { position: sticky; top: 160px; }

/* ====== Top Movers ====== */
.fx-top-movers {
  background: var(--fx-bg-card);
  border: 1px solid var(--fx-border);
  border-radius: var(--fx-radius-md);
  overflow: hidden;
  box-shadow: var(--fx-shadow);
}

.fx-top-movers-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: var(--fx-navy);
  color: #ffffff;
}
.fx-top-movers-header h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.fx-top-movers-header .fx-live-dot {
  width: 6px;
  height: 6px;
  background: var(--fx-emerald);
  border-radius: 50%;
  display: inline-block;
  animation: fx-pulse 2s infinite;
  margin-right: 6px;
}

.fx-top-movers-table { width: 100%; border-collapse: collapse; }
.fx-top-movers-table th {
  padding: 8px 12px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--fx-text-muted);
  border-bottom: 1px solid var(--fx-border);
  text-align: left;
  background: var(--fx-bg-secondary);
}
.fx-top-movers-table td {
  padding: 10px 12px;
  font-size: 13px;
  border-bottom: 1px solid var(--fx-border-light);
  color: var(--fx-text-primary);
  vertical-align: middle;
}
.fx-top-movers-table tr { cursor: pointer; transition: background var(--fx-transition); }
.fx-top-movers-table tr:hover { background: var(--fx-row-hover); }
.fx-top-movers-table tr:last-child td { border-bottom: none; }

.fx-mover-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.fx-mover-icon.forex { background: var(--fx-blue); }
.fx-mover-icon-img, .fx-heat-icon { display: none; }
.fx-instr-icon { box-shadow: 0 2px 6px rgba(0,0,0,0.15); }
.fx-mover-icon.crypto { background: #8b5cf6; }
.fx-mover-icon.commodities { background: #f59e0b; }
.fx-mover-icon.indices { background: #10b981; }

.fx-mover-symbol { font-weight: 700; font-size: 13px; }
.fx-mover-name { font-size: 11px; color: var(--fx-text-muted); display: block; }
.fx-mover-price { font-weight: 600; font-size: 13px; }
.fx-mover-price.fx-positive { color: var(--fx-positive) !important; }
.fx-mover-price.fx-negative { color: var(--fx-negative) !important; }
.fx-mover-change { font-weight: 600; font-size: 12px; }
.fx-positive { color: var(--fx-positive); }
.fx-negative { color: var(--fx-negative); }

.fx-mover-trend {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
}
.fx-trend-up { background: rgba(16, 185, 129, 0.12); color: var(--fx-positive); }
.fx-trend-down { background: rgba(239, 68, 68, 0.12); color: var(--fx-negative); }
.fx-trend-neutral { background: rgba(148, 163, 184, 0.12); color: var(--fx-text-muted); }

.fx-mover-direction { font-size: 14px; }
.fx-mover-direction.fx-positive { color: var(--fx-positive) !important; }
.fx-mover-direction.fx-negative { color: var(--fx-negative) !important; }

/* ====== Market Hours ====== */
.fx-market-hours-widget {
  background: var(--fx-bg-card);
  border: 1px solid var(--fx-border);
  border-radius: var(--fx-radius-md);
  overflow: hidden;
  box-shadow: var(--fx-shadow);
  cursor: pointer;
  transition: all var(--fx-transition);
}
.fx-market-hours-widget:hover {
  box-shadow: var(--fx-shadow-md);
  border-color: var(--fx-blue);
}

.fx-mh-header {
  padding: 14px 16px;
  background: var(--fx-navy);
  color: #ffffff;
}
.fx-mh-header h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.fx-mh-header .fx-mh-current-session {
  font-size: 11px;
  color: var(--fx-gold);
  margin-top: 2px;
}

.fx-mh-body { padding: 12px 0; }

.fx-mh-world-map-wrap {
  padding: 12px 16px 0;
}
.fx-mh-world-map {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.fx-mh-row {
  display: flex;
  align-items: center;
  padding: 8px 16px;
  transition: background var(--fx-transition);
}
.fx-mh-row:hover { background: var(--fx-row-hover); }

.fx-mh-session-icon {
  width: 20px;
  text-align: center;
  margin-right: 10px;
  font-size: 14px;
}

.fx-mh-session-name {
  flex: 1;
  font-size: 13px;
  font-weight: 600;
  color: var(--fx-text-primary);
}

.fx-mh-status {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
}
.fx-mh-open { background: rgba(16, 185, 129, 0.12); color: var(--fx-positive); }
.fx-mh-closed { background: rgba(148, 163, 184, 0.12); color: var(--fx-text-muted); }

.fx-mh-countdown {
  font-size: 11px;
  color: var(--fx-text-muted);
  min-width: 60px;
  text-align: right;
}

.fx-mh-footer {
  padding: 10px 16px;
  border-top: 1px solid var(--fx-border);
  font-size: 11px;
  color: var(--fx-blue);
  font-weight: 600;
  text-align: center;
}
.fx-mh-footer:hover { background: var(--fx-row-hover); }

/* ====== Footer ====== */
.fx-footer {
  background: var(--fx-navy);
  color: #94a3b8;
  padding: 60px 20px 0;
  margin-top: 60px;
}

.fx-footer-inner {
  max-width: 1440px;
  margin: 0 auto;
}

.fx-footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(4, 1fr);
  gap: 30px;
}

.fx-footer-brand .fx-logo img {
  width: 200px;
  height: auto;
  display: block;
}

.fx-footer-tagline {
  font-size: 12px;
  color: #94a3b8;
  margin: 6px 0 0;
  opacity: 0.7;
}

.fx-footer-brand p {
  font-size: 13px;
  line-height: 1.7;
  margin: 12px 0;
}

.fx-footer-social {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}
.fx-footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-size: 16px;
  transition: all var(--fx-transition);
  text-decoration: none;
}
.fx-footer-social a:hover {
  background: var(--fx-blue);
  color: #ffffff;
}

.fx-footer-col h5 {
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  margin: 0 0 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.fx-footer-col a {
  display: block;
  color: #94a3b8;
  font-size: 13px;
  padding: 4px 0;
  text-decoration: none;
  transition: color var(--fx-transition);
}
.fx-footer-col a:hover { color: var(--fx-gold); }

.fx-footer-bottom {
  margin-top: 40px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  font-size: 12px;
}

/* ====== Page Section ====== */
.fx-section {
  padding: 40px 0;
}

.fx-section-alt {
  background: var(--fx-bg-secondary);
}

.fx-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.fx-section-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--fx-text-primary);
  margin: 0;
  letter-spacing: -0.01em;
}

.fx-section-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--fx-blue);
  text-decoration: none;
  transition: color var(--fx-transition);
}

.fx-section-link:hover {
  color: var(--fx-blue-dark);
}

.fx-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ====== Systems Table ====== */
.fx-systems-table-wrap {
  background: var(--fx-bg-card);
  border: 1px solid var(--fx-border);
  border-radius: var(--fx-radius-md);
  overflow: hidden;
  box-shadow: var(--fx-shadow);
}

.fx-systems-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.fx-systems-table th {
  padding: 12px 16px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--fx-text-muted);
  border-bottom: 1px solid var(--fx-border);
  text-align: left;
  background: var(--fx-bg-secondary);
}

.fx-systems-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--fx-border-light);
  color: var(--fx-text-primary);
  vertical-align: middle;
}

.fx-systems-table tr:last-child td {
  border-bottom: none;
}

.fx-system-row {
  cursor: pointer;
  transition: background var(--fx-transition);
}

.fx-system-row:hover {
  background: var(--fx-row-hover);
}

.fx-system-row td:first-child {
  display: flex;
  align-items: center;
  gap: 10px;
}

.fx-system-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--fx-blue), var(--fx-purple));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}

.fx-system-name {
  display: block;
  font-weight: 600;
  font-size: 13px;
  color: var(--fx-text-primary);
}

.fx-system-id {
  font-size: 11px;
  color: var(--fx-text-muted);
}

.fx-system-trader {
  font-size: 13px;
  color: var(--fx-text-secondary);
}

.fx-system-gain {
  font-weight: 700;
}

.fx-system-drawdown {
  color: var(--fx-red);
  font-weight: 600;
}

.fx-system-sparkline {
  display: inline-flex;
  align-items: center;
}

.fx-system-sparkline svg {
  display: block;
}

/* ====== Broker Strip ====== */
.fx-broker-strip {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fx-broker-strip-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: var(--fx-bg-card);
  border: 1px solid var(--fx-border);
  border-radius: var(--fx-radius-sm);
  transition: all var(--fx-transition);
}

.fx-broker-strip-item:hover {
  border-color: var(--fx-blue);
  background: var(--fx-row-hover);
}

.fx-broker-strip-logo {
  flex-shrink: 0;
  border-radius: 4px;
}

.fx-broker-strip-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.fx-broker-strip-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--fx-text-primary);
}

.fx-broker-strip-rating {
  font-size: 13px;
  color: var(--fx-gold);
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.fx-broker-strip-rating .fx-star { font-size: 12px; }

.fx-broker-strip-rating span {
  font-size: 11px;
  color: var(--fx-text-muted);
  font-weight: 600;
  margin-left: 2px;
}

.fx-broker-strip-visit {
  flex-shrink: 0;
  padding: 5px 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--fx-blue);
  border: 1px solid var(--fx-blue);
  border-radius: 6px;
  text-decoration: none;
  transition: all var(--fx-transition);
}

.fx-broker-strip-visit:hover {
  background: var(--fx-blue);
  color: #fff;
}

.fx-btn-sm {
  padding: 4px 12px;
  font-size: 12px;
  border-radius: 4px;
}

/* ====== News List (Thumbnail-Left Stacked) ====== */
.fx-news-list { display: flex; flex-direction: column; gap: 0; }
.fx-news-item {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--fx-border-light);
}
.fx-news-item:first-child { padding-top: 0; }
.fx-news-item:last-child { padding-bottom: 0; border-bottom: none; }

.fx-news-thumb { width: 80px; height: 60px; flex-shrink: 0; border-radius: 6px; overflow: hidden; }
.fx-news-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fx-news-placeholder {
  display: block; width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--fx-blue), var(--fx-purple));
  border-radius: 6px;
}

.fx-news-info { flex: 1; min-width: 0; }
.fx-news-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--fx-text-primary);
  text-decoration: none;
  display: block;
  line-height: 1.4;
  margin-bottom: 3px;
  transition: color var(--fx-transition);
}
.fx-news-title:hover { color: var(--fx-blue); }
.fx-news-excerpt {
  font-size: 12px;
  color: var(--fx-text-secondary);
  margin: 0 0 4px;
  line-height: 1.4;
}
.fx-news-meta {
  font-size: 11px;
  color: var(--fx-text-muted);
}

/* ====== Broker List (Icon-Left Stacked) ====== */
.fx-broker-list { display: flex; flex-direction: column; gap: 0; }
.fx-broker-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--fx-border-light);
  text-decoration: none;
}
.fx-broker-item:first-child { padding-top: 0; }
.fx-broker-item:last-child { padding-bottom: 0; border-bottom: none; }

.fx-broker-icon { width: 32px; height: 32px; flex-shrink: 0; border-radius: 6px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.fx-broker-icon img { width: 100%; height: 100%; object-fit: contain; display: block; }
.fx-broker-placeholder {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  background: var(--fx-bg-tertiary); color: var(--fx-text-muted);
  font-size: 11px; font-weight: 700; border-radius: 6px;
}

.fx-broker-info { flex: 1; min-width: 0; }
.fx-broker-name { display: block; font-size: 13px; font-weight: 600; color: var(--fx-text-primary); }
.fx-broker-rating { font-size: 11px; color: var(--fx-gold); display: block; }
.fx-broker-rating span { font-size: 11px; color: var(--fx-text-muted); font-weight: 600; margin-left: 4px; }
.fx-broker-visit {
  font-size: 11px; font-weight: 600; color: var(--fx-blue);
  text-decoration: none; white-space: nowrap; padding: 4px 10px;
  border: 1px solid var(--fx-border); border-radius: 4px;
  transition: all var(--fx-transition);
}
.fx-broker-visit:hover { background: var(--fx-blue); color: #fff; border-color: var(--fx-blue); }

/* ====== Animations ====== */
@keyframes fx-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ====== Scrollbar ====== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--fx-bg-secondary); }
::-webkit-scrollbar-thumb { background: var(--fx-text-muted); border-radius: 3px; }

/* ====== Market Hours Detailed Page ====== */
.fx-mh-detailed { max-width: 1200px; margin: 0 auto; padding: 20px 0; }

.fx-mh-detailed-header {
  margin-bottom: 32px;
  scroll-margin-top: 160px;
}
.fx-mh-detailed-header h1 { font-size: 28px; font-weight: 800; margin: 0 0 8px; color: var(--fx-text-primary); letter-spacing: -0.02em; }
.fx-mh-subtitle { font-size: 14px; color: var(--fx-text-secondary); margin: 0; line-height: 1.6; }

.fx-mh-world-map-detailed {
  margin-bottom: 28px;
}
.fx-mh-world-map-detailed .fx-mh-world-map {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.fx-mh-tz-selector { display: flex; align-items: center; gap: 12px; margin-bottom: 28px; padding: 12px 20px; background: var(--fx-bg-card); border: 1px solid var(--fx-border); border-radius: var(--fx-radius); }
.fx-mh-tz-selector label { font-size: 13px; font-weight: 600; color: var(--fx-text-secondary); white-space: nowrap; }
.fx-mh-tz-select { padding: 6px 12px; border: 1px solid var(--fx-border); border-radius: var(--fx-radius-sm); background: var(--fx-bg-secondary); color: var(--fx-text-primary); font-size: 13px; cursor: pointer; min-width: 200px; }
.fx-mh-tz-select:focus { border-color: var(--fx-blue); outline: none; }
.fx-mh-tz-current { font-size: 14px; font-weight: 700; font-family: var(--fx-font-mono); color: var(--fx-blue); margin-left: auto; }

.fx-mh-current-session-banner { display: flex; align-items: center; gap: 10px; padding: 12px 20px; background: rgba(16, 185, 129, 0.1); border: 1px solid rgba(16, 185, 129, 0.25); border-radius: var(--fx-radius); margin-bottom: 28px; font-size: 14px; color: var(--fx-text-primary); }
.fx-mh-live-indicator { width: 8px; height: 8px; background: var(--fx-emerald); border-radius: 50%; display: inline-block; animation: fx-pulse 2s infinite; }

.fx-mh-timeline { display: flex; flex-direction: column; gap: 16px; margin-bottom: 32px; }
.fx-mh-timeline-item { display: flex; gap: 16px; padding: 16px 20px; background: var(--fx-bg-card); border: 1px solid var(--fx-border); border-radius: var(--fx-radius); transition: all var(--fx-transition); }
.fx-mh-timeline-item:hover { box-shadow: var(--fx-shadow-md); }
.fx-mh-timeline-open { border-left: 4px solid var(--fx-emerald); }
.fx-mh-timeline-closed { border-left: 4px solid var(--fx-text-muted); }
.fx-mh-timeline-icon { font-size: 28px; line-height: 1; flex-shrink: 0; }
.fx-mh-timeline-content { flex: 1; min-width: 0; }
.fx-mh-timeline-name { font-size: 16px; font-weight: 700; color: var(--fx-text-primary); margin-bottom: 4px; }
.fx-mh-timeline-hours { font-size: 13px; color: var(--fx-text-secondary); margin-bottom: 8px; }
.fx-mh-timeline-hours .fx-mh-timeline-tz { color: var(--fx-text-muted); font-size: 11px; }
.fx-mh-timeline-bar { height: 6px; background: var(--fx-bg-tertiary); border-radius: 3px; overflow: hidden; margin-bottom: 8px; }
.fx-mh-timeline-progress { height: 100%; background: linear-gradient(90deg, var(--fx-emerald), var(--fx-blue)); border-radius: 3px; transition: width 1s linear; }
.fx-mh-timeline-status { display: flex; align-items: center; gap: 12px; font-size: 13px; }
.fx-mh-timeline-status .fx-mh-countdown { font-family: var(--fx-font-mono); font-size: 13px; color: var(--fx-text-primary); min-width: auto; }

.fx-mh-sections-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 32px; }

.fx-mh-card { background: var(--fx-bg-card); border: 1px solid var(--fx-border); border-radius: var(--fx-radius-md); overflow: hidden; box-shadow: var(--fx-shadow); }
.fx-mh-card h2 { font-size: 16px; font-weight: 700; margin: 0; padding: 16px 20px; border-bottom: 1px solid var(--fx-border); color: var(--fx-text-primary); display: flex; align-items: center; gap: 8px; }
.fx-mh-card-icon { color: var(--fx-blue); font-size: 12px; }
.fx-mh-card-body { padding: 16px 20px; }
.fx-mh-empty { font-size: 13px; color: var(--fx-text-muted); margin: 0; padding: 8px 0; }
.fx-mh-card-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--fx-border-light); }
.fx-mh-card-row:last-child { border-bottom: none; }
.fx-mh-card-flag { font-size: 18px; flex-shrink: 0; }
.fx-mh-card-name { font-weight: 600; font-size: 14px; color: var(--fx-text-primary); flex: 1; }
.fx-mh-card-hours { font-size: 12px; color: var(--fx-text-secondary); white-space: nowrap; }
.fx-mh-card-countdown { font-family: var(--fx-font-mono); font-size: 12px; color: var(--fx-text-primary); white-space: nowrap; }

.fx-mh-card-full { grid-column: 1 / -1; }

.fx-mh-table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.fx-mh-table { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 900px; }
.fx-mh-table th { padding: 10px 14px; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; color: var(--fx-text-muted); border-bottom: 2px solid var(--fx-border); text-align: left; white-space: nowrap; }
.fx-mh-table td { padding: 10px 14px; border-bottom: 1px solid var(--fx-border-light); color: var(--fx-text-primary); vertical-align: middle; }
.fx-mh-table .fx-mh-row-open td { background: rgba(16, 185, 129, 0.04); }
.fx-mh-table tbody tr:hover td { background: var(--fx-row-hover); }

.fx-mh-overlap-badge { display: inline-block; background: rgba(212, 168, 0, 0.1); color: var(--fx-blue); font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 4px; margin: 2px; white-space: nowrap; }
.fx-mh-text-muted { color: var(--fx-text-muted); }

.fx-mh-guide-text { font-size: 13px; color: var(--fx-text-secondary); line-height: 1.6; margin: 0 0 16px; }
.fx-mh-guide-list { list-style: none; padding: 0; margin: 0; }
.fx-mh-guide-list li { padding: 8px 0; border-bottom: 1px solid var(--fx-border-light); font-size: 13px; color: var(--fx-text-secondary); line-height: 1.5; }
.fx-mh-guide-list li:last-child { border-bottom: none; }
.fx-mh-guide-list li strong { color: var(--fx-text-primary); }
.fx-highlight { color: var(--fx-emerald); font-weight: 600; }

@media (max-width: 768px) {
  .fx-mh-detailed { padding: 12px 0; }
  .fx-mh-detailed-header h1 { font-size: 22px; }
  .fx-mh-tz-selector { flex-wrap: wrap; }
  .fx-mh-tz-select { min-width: 100%; }
  .fx-mh-tz-current { margin-left: 0; width: 100%; text-align: center; }
  .fx-mh-sections-grid { grid-template-columns: 1fr; }
  .fx-mh-timeline-item { flex-direction: column; gap: 8px; }
  .fx-mh-timeline-icon { font-size: 24px; }
  .fx-mh-card-row { flex-wrap: wrap; gap: 6px; }
  .fx-mh-card-hours { width: 100%; }
}

/* ====== Utility ====== */
.fx-hidden { display: none !important; }
.fx-text-center { text-align: center; }
.fx-flex { display: flex; }
.fx-items-center { align-items: center; }
.fx-gap-8 { gap: 8px; }
.fx-gap-16 { gap: 16px; }

/* ====== RTL ====== */
[dir="rtl"] .fx-mh-session-icon { margin-right: 0; margin-left: 10px; }
[dir="rtl"] .fx-mh-countdown { text-align: left; }
[dir="rtl"] .fx-top-movers-table th { text-align: right; }

/* ====== Responsive ====== */

/* Desktop: 1200px+ — full layout with ads */
@media (min-width: 1200px) {
  .fx-home-wrap { gap: 30px; }
  .fx-home-content { width: 1020px; }
  .fx-home-col-left { width: 650px; }
  .fx-home-col-right { width: 340px; }
}

/* Tablet: 768-1199px — hide ads, fluid columns */
@media (max-width: 1199px) {
  .fx-home-left-ad, .fx-home-right-ad { display: none; }
  .fx-home-wrap { justify-content: center; }
  .fx-home-content {
    width: 100%;
    max-width: 1020px;
  }
  .fx-home-col-left { width: 65%; }
  .fx-home-col-right { width: 35%; }
}

@media (max-width: 1024px) {
  .fx-footer-grid { 
    grid-template-columns: repeat(2, 1fr); 
    gap: 30px;
  }
  .fx-footer-brand { grid-column: span 2; text-align: center; }
  .fx-footer-social { justify-content: center; }
  .fx-footer-col { text-align: center; }
}

@media (max-width: 992px) {
  .fx-nav-list > li > a { padding: 0 10px; font-size: 12px; }
  .fx-nav-secondary-list a { padding: 0 8px; font-size: 11px; }
  .fx-header-right { gap: 4px; }
  .fx-btn { padding: 5px 10px; font-size: 12px; }
  .fx-btn-signin, .fx-btn-signup { padding: 4px 10px; }
}

/* Mobile: <768px — single column, no ads */
@media (max-width: 768px) {
  .fx-mobile-toggle { display: flex; flex-shrink: 0; }

  .fx-header-inner { height: 56px; position: relative; max-width: 100%; padding: 0 12px; box-sizing: border-box; }

  .fx-header-row-1 { height: 56px; }
  .fx-header-row-1 .fx-header-row-inner { height: 56px; padding: 0 12px; }

  .fx-header-sponsor { display: none; }

  .fx-logo-link { width: auto; max-width: 130px; }
  .fx-logo-link .fx-logo-light,
  .fx-logo-link .fx-logo-dark { max-height: 36px; max-width: 120px; }

  .fx-btn-signin, .fx-btn-signup { display: none !important; }
  .fx-btn-lang { display: none !important; }

  .fx-header-right { gap: 6px; margin-left: auto; flex-shrink: 0; }

  .fx-header-row-2 {
    display: none;
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    background: var(--fx-navy-dark);
    border-bottom: 1px solid var(--fx-header-border);
    z-index: 9999;
    height: auto !important;
    max-height: calc(100vh - 56px);
    overflow-y: auto;
  }
  .fx-header-row-2.fx-mobile-open { display: block; z-index: 9999; width: 100%; }

  .fx-header-row-inner { height: auto !important; flex-wrap: wrap; padding: 16px; }
  .fx-header-row-1 .fx-header-row-inner { height: 56px; padding: 0 12px; }

  .fx-nav, .fx-nav-secondary { overflow: visible; flex-direction: column; height: auto; }
  .fx-nav-list, .fx-nav-secondary-list {
    flex-direction: column;
    width: 100%;
    height: auto;
    padding: 8px 0;
  }
  .fx-nav-list > li, .fx-nav-secondary-list li {
    height: auto;
    width: 100%;
  }
  .fx-nav-list > li > a, .fx-nav-secondary-list a {
    height: auto;
    padding: 12px 16px;
    border-right: none;
    border-bottom: 1px solid var(--fx-header-border);
    font-size: 14px;
    justify-content: flex-start;
  }
  .fx-nav-list > li > a::after { display: none; }
  .fx-nav-submenu {
    position: static;
    box-shadow: none;
    border: none;
    background: rgba(0,0,0,0.2);
    border-radius: 0;
    display: block;
    padding: 0;
  }
  .fx-nav-submenu a { padding-left: 28px; }

  .fx-nav-sep { display: none; }
  .fx-nav-trade-now {
    display: block;
    width: 100%;
    text-align: center;
    padding: 12px 16px;
    border-bottom: 1px solid var(--fx-header-border);
  }
  .fx-nav-trade-now .fx-ad-tag { display: none; }

  .fx-home-left-ad, .fx-home-right-ad { display: none; }
  .fx-home-wrap { flex-direction: column; align-items: stretch; }
  .fx-home-content {
    width: 100%;
    flex-direction: column;
  }
  .fx-home-col-left, .fx-home-col-right { width: 100%; }
  .fx-home-main { padding-top: 56px; padding-bottom: 24px; padding-left: 12px; padding-right: 12px; }

  .fx-footer-grid { grid-template-columns: repeat(2, 1fr); gap: 24px 20px; }
  .fx-footer-brand {
    grid-column: span 2;
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 4px;
  }
  .fx-footer-brand .fx-logo img { max-height: 40px; width: auto; }
  .fx-footer-brand > p { display: none; }
  .fx-footer-social { justify-content: center; margin-top: 10px; }
  .fx-footer-social a { width: 32px; height: 32px; font-size: 14px; }
  .fx-footer-col { text-align: left; padding: 0 4px; }
  .fx-footer-col h5 { font-size: 12px; margin-bottom: 10px; letter-spacing: 0.08em; }
  .fx-footer-col a { font-size: 12px; padding: 3px 0; }

  .page-template-elementor-canvas .fx-site-main { padding-top: 56px; }

  .fx-btn-trade { font-size: 11px; padding: 3px 10px; }

  .fx-analysis-grid { grid-template-columns: 1fr; }
  .fx-sig-grid { grid-template-columns: repeat(2, 1fr); }
  .fx-home-ai-grid { grid-template-columns: repeat(2, 1fr) !important; }

  body.fx-menu-open { overflow: hidden; }
  html, body { overflow-x: hidden; }
}

@media (max-width: 480px) {
  .fx-sig-grid { grid-template-columns: 1fr; }
  .fx-home-ai-grid { grid-template-columns: 1fr !important; }
  .fx-footer-grid { grid-template-columns: 1fr; }
  .fx-footer-brand { grid-column: span 1; }
}

/* ====== Community Page ====== */
.fx-community-header { margin-bottom: 16px; }
.fx-community-tagline { color: var(--fx-text-secondary); font-size: 14px; margin-top: 6px; }
.fx-community-grid { display: block; }
.fx-community-ad {
  position: sticky;
  top: 160px;
  width: 180px;
  flex-shrink: 0;
  flex-grow: 0;
  height: fit-content;
  order: 0;
}
.fx-community-ad-right { order: 3; }
.fx-community-ad img { max-width: 100%; height: auto; }
.fx-community-content { min-width: 0; }
.fx-community-section { margin-bottom: 32px; }
.fx-category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 350px));
  gap: 12px;
  justify-content: center;
}
.fx-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--fx-border);
}
.fx-section-header h2 { margin: 0; font-size: 16px; font-weight: 700; }
.fx-block-link { font-size: 12px; color: var(--fx-blue); font-weight: 600; text-decoration: none; }
.fx-block-link:hover { color: var(--fx-blue-dark); text-decoration: underline; }

/* Forum Stats Bar */
.fx-forum-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}
.fx-stat-item {
  text-align: center;
  padding: 16px 12px;
  background: var(--fx-bg-card);
  border: 1px solid var(--fx-border);
  border-radius: var(--fx-radius);
}
.fx-stat-value {
  display: block;
  font-size: 22px;
  font-weight: 800;
  font-family: var(--fx-font-mono);
  color: var(--fx-blue);
  line-height: 1.2;
}
.fx-stat-label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--fx-text-muted);
  margin-top: 4px;
}

/* Category Grid */
.fx-category-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--fx-bg-card);
  border: 1px solid var(--fx-border);
  border-radius: var(--fx-radius);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.fx-category-card:hover {
  border-color: var(--fx-blue);
  box-shadow: var(--fx-shadow);
}
.fx-category-icon { font-size: 28px; flex-shrink: 0; }
.fx-category-info { flex: 1; min-width: 0; }
.fx-category-info h3 { margin: 0 0 2px; font-size: 14px; font-weight: 600; }
.fx-category-info h3 a { color: var(--fx-text-primary); text-decoration: none; }
.fx-category-info h3 a:hover { color: var(--fx-blue); }
.fx-category-info p { margin: 0; font-size: 12px; color: var(--fx-text-muted); line-height: 1.4; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fx-category-stats { text-align: right; flex-shrink: 0; }
.fx-cat-stat { display: block; font-size: 11px; color: var(--fx-text-muted); line-height: 1.5; }

/* Activity Table */
.fx-activity-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.fx-activity-table th {
  text-align: left;
  padding: 8px 12px;
  background: var(--fx-bg-secondary);
  border-bottom: 1px solid var(--fx-border);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--fx-text-muted);
  font-weight: 700;
}
.fx-activity-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--fx-border-light);
  vertical-align: middle;
}
.fx-activity-table tr:hover td { background: var(--fx-bg-secondary); }
.fx-topic-title { color: var(--fx-text-primary); font-weight: 600; text-decoration: none; font-size: 13px; }
.fx-topic-title:hover { color: var(--fx-blue); }
.fx-cat-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 600;
  background: rgba(212,168,0,0.1);
  color: var(--fx-blue);
}
.fx-author { font-size: 12px; color: var(--fx-text-secondary); }
.fx-col-num { text-align: center; font-family: var(--fx-font-mono); font-size: 12px; color: var(--fx-text-secondary); width: 60px; }
.fx-col-activity { font-size: 12px; color: var(--fx-text-secondary); }
.fx-last-user { font-weight: 600; color: var(--fx-text-primary); }
.fx-last-time { font-size: 11px; color: var(--fx-text-muted); margin-left: 4px; }

/* Sentiment Poll */
.fx-sentiment-poll {
  background: var(--fx-bg-card);
  border: 1px solid var(--fx-border);
  border-radius: var(--fx-radius);
  padding: 20px 24px;
}
.fx-poll-question { margin: 0 0 16px; font-size: 14px; font-weight: 600; }
.fx-poll-options { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.fx-poll-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: var(--fx-bg-secondary);
  border: 1px solid var(--fx-border);
  border-radius: var(--fx-radius-sm);
  cursor: pointer;
  transition: border-color 0.2s;
}
.fx-poll-option:hover { border-color: var(--fx-blue); }
.fx-poll-label { font-size: 13px; font-weight: 600; min-width: 70px; }
.fx-poll-bar { flex: 1; height: 6px; background: var(--fx-border); border-radius: 3px; overflow: hidden; }
.fx-poll-fill { height: 100%; background: linear-gradient(90deg, var(--fx-blue), var(--fx-gold)); border-radius: 3px; }
.fx-poll-pct { font-size: 12px; font-weight: 700; font-family: var(--fx-font-mono); color: var(--fx-blue); min-width: 36px; text-align: right; }
.fx-vote-btn { width: 100%; padding: 10px; font-size: 13px; font-weight: 700; }
.fx-poll-total { font-size: 12px; color: var(--fx-text-muted); text-align: center; margin: 12px 0 0; }

/* Top Contributors */
.fx-contributors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.fx-contributor-card {
  text-align: center;
  padding: 16px 12px;
  background: var(--fx-bg-secondary);
  border: 1px solid var(--fx-border);
  border-radius: var(--fx-radius);
  transition: border-color 0.2s;
}
.fx-contributor-card:hover { border-color: var(--fx-blue); }
.fx-contributor-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--fx-blue), var(--fx-gold));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 8px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}
.fx-contributor-name { font-weight: 600; font-size: 13px; margin-bottom: 2px; color: var(--fx-text-primary); }
.fx-contributor-stats { font-size: 11px; color: var(--fx-text-muted); }

/* Community Placeholder */
.fx-community-placeholder {
  text-align: center;
  padding: 40px 24px;
  background: var(--fx-bg-secondary);
  border-radius: var(--fx-radius);
  border: 1px solid var(--fx-border);
}
.fx-community-placeholder p { margin: 0; color: var(--fx-text-secondary); font-size: 14px; }

/* Forum Toolbar */
.fx-forum-toolbar {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}
.fx-btn-sm {
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  border-radius: var(--fx-radius-sm);
  cursor: pointer;
  transition: all var(--fx-transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.fx-btn-secondary {
  background: var(--fx-bg-secondary);
  color: var(--fx-text-primary);
  border: 1px solid var(--fx-border);
  text-decoration: none;
}
.fx-btn-secondary:hover { border-color: var(--fx-blue); color: var(--fx-blue); }

/* Topic Detail View */
.fx-topic-detail { max-width: 800px; }
.fx-back-link {
  display: inline-block;
  margin-bottom: 16px;
  font-size: 13px;
  color: var(--fx-blue);
  text-decoration: none;
}
.fx-back-link:hover { text-decoration: underline; }
.fx-topic-header {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--fx-border);
}
.fx-topic-cat-badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 8px;
}
.fx-topic-title-detail { margin: 4px 0 8px; font-size: 20px; font-weight: 700; }
.fx-topic-meta {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: var(--fx-text-muted);
}
.fx-topic-meta strong { color: var(--fx-text-primary); }
.fx-topic-content {
  padding: 20px;
  background: var(--fx-bg-card);
  border: 1px solid var(--fx-border);
  border-radius: var(--fx-radius);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 28px;
}

/* Replies */
.fx-replies-section { margin-bottom: 28px; }
.fx-replies-section h3 { font-size: 15px; margin-bottom: 16px; padding-bottom: 8px; border-bottom: 1px solid var(--fx-border); }
.fx-reply-card {
  padding: 14px 16px;
  background: var(--fx-bg-card);
  border: 1px solid var(--fx-border);
  border-radius: var(--fx-radius);
  margin-bottom: 10px;
}
.fx-reply-author {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.fx-reply-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--fx-blue), var(--fx-gold));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.fx-reply-author strong { font-size: 13px; color: var(--fx-text-primary); display: block; line-height: 1.2; }
.fx-reply-time { font-size: 11px; color: var(--fx-text-muted); }
.fx-reply-content { font-size: 13px; line-height: 1.6; color: var(--fx-text-secondary); }

/* Reply Form */
.fx-reply-form-wrap { margin-bottom: 28px; }
.fx-reply-form-wrap h3 { font-size: 15px; margin-bottom: 12px; }
.fx-reply-form { display: flex; flex-direction: column; gap: 10px; }
.fx-reply-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--fx-border);
  border-radius: var(--fx-radius-sm);
  background: var(--fx-input-bg, var(--fx-bg-secondary));
  color: var(--fx-text-primary);
  font-size: 13px;
  font-family: inherit;
  resize: vertical;
}
.fx-reply-form textarea:focus { outline: none; border-color: var(--fx-blue); }
.fx-reply-msg { font-size: 12px; color: var(--fx-text-muted); }

/* Modal */
.fx-modal { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; }
.fx-modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.5); }
.fx-modal-content {
  position: relative;
  background: var(--fx-bg-primary, #1a1a2e);
  border: 1px solid var(--fx-border);
  border-radius: var(--fx-radius);
  width: 90%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.fx-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--fx-border);
}
.fx-modal-header h3 { margin: 0; font-size: 16px; font-weight: 700; }
.fx-modal-close {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--fx-text-muted);
  line-height: 1;
  padding: 0 4px;
}
.fx-modal-close:hover { color: var(--fx-text-primary); }
.fx-modal-body { padding: 20px; }
.fx-modal-footer {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  border-top: 1px solid var(--fx-border);
}
.fx-form-field { margin-bottom: 14px; }
.fx-form-field:last-child { margin-bottom: 0; }
.fx-form-field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--fx-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}
.fx-form-field input[type="text"],
.fx-form-field input[type="email"],
.fx-form-field input[type="url"],
.fx-form-field select,
.fx-form-field textarea {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--fx-border);
  border-radius: var(--fx-radius-sm);
  background: var(--fx-input-bg, var(--fx-bg-secondary));
  color: var(--fx-text-primary);
  font-size: 13px;
  font-family: inherit;
  box-sizing: border-box;
}
.fx-form-field input:focus,
.fx-form-field select:focus,
.fx-form-field textarea:focus { outline: none; border-color: var(--fx-blue); }
.fx-form-msg { font-size: 12px; color: var(--fx-text-muted); }

/* Login Modal */
.fx-login-modal-content { max-width: 400px; }
.fx-login-msg { font-size: 13px; margin-top: 8px; text-align: center; }
.fx-login-links { text-align: center; margin-top: 12px; font-size: 12px; }
.fx-login-links a { color: var(--fx-blue); text-decoration: none; }
.fx-login-links a:hover { text-decoration: underline; }
.fx-login-links span { color: var(--fx-text-muted); margin: 0 6px; }
.fx-login-remember label { font-size: 13px; color: var(--fx-text-muted); display: flex; align-items: center; gap: 6px; }
.fx-btn-full { width: 100%; text-align: center; }
.fx-login-prompt p { color: var(--fx-text-muted); font-size: 14px; display: flex; align-items: center; gap: 10px; }

/* Responsive */
@media (max-width: 1024px) {
  .fx-community-grid { grid-template-columns: 1fr; }
  .fx-community-ad-left,
  .fx-community-ad-right { display: none; }
  .fx-category-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .fx-poll-options { flex-direction: column; }
  .fx-contributors-grid { grid-template-columns: repeat(2, 1fr); }
  .fx-forum-stats { grid-template-columns: repeat(2, 1fr); }
  .fx-activity-table { font-size: 12px; }
  .fx-col-activity, .fx-col-num { display: none; }
}
@media (max-width: 480px) {
  .fx-contributors-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ====== Broker Table v2 ====== */
.fx-broker-logo { display: inline-block; vertical-align: middle; border-radius: 4px; margin-right: 8px; }
.fx-broker-name { font-weight: 600; white-space: nowrap; }
.fx-broker-regulated { font-size: 11px; }
.fx-broker-reg { display: inline-block; background: rgba(212,168,0,0.1); color: var(--fx-blue); padding: 1px 6px; border-radius: 3px; font-size: 10px; margin: 1px 2px; }
.fx-broker-extra { font-size: 10px; color: var(--fx-text-muted); }
.fx-broker-dep { font-weight: 600; font-family: var(--fx-font-mono); font-size: 12px; }
.fx-broker-hq { text-align: center; font-size: 18px; }
.fx-broker-rating { white-space: nowrap; }
.fx-broker-stars { color: var(--fx-gold); font-size: 14px; letter-spacing: 1px; }
.fx-broker-score { font-weight: 700; font-family: var(--fx-font-mono); font-size: 14px; color: var(--fx-text-primary); margin-left: 4px; }
.fx-broker-link { display: inline-block; padding: 5px 14px; background: transparent; border: 1px solid var(--fx-blue); color: var(--fx-blue); border-radius: 6px; font-size: 12px; font-weight: 600; text-decoration: none; transition: all var(--fx-transition); }
.fx-broker-link:hover { background: var(--fx-blue); color: #fff; }

/* ====== Reviews ====== */
.fx-reviews-section {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--fx-border);
}
.fx-reviews-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.fx-reviews-header h3 { margin: 0; font-size: 20px; font-weight: 700; }
.fx-review-card {
  background: var(--fx-bg-card);
  border: 1px solid var(--fx-border);
  border-radius: var(--fx-radius);
  padding: 20px;
  margin-bottom: 16px;
  position: relative;
}
.fx-review-pinned-badge {
  position: absolute;
  top: -1px;
  right: 16px;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 0 0 6px 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.fx-pin-important { background: #dc2626; color: #fff; }
.fx-pin-smart { background: #7c3aed; color: #fff; }
.fx-pin-regular { background: #059669; color: #fff; }
.fx-review-rating { margin-bottom: 10px; }
.fx-review-rating .fx-star { color: var(--fx-gold); font-size: 16px; letter-spacing: 2px; }
.fx-review-score { font-size: 13px; color: var(--fx-text-muted); margin-left: 6px; }
.fx-review-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.fx-review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--fx-blue), var(--fx-gold));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.fx-review-author-info { line-height: 1.3; }
.fx-review-author { font-size: 14px; color: var(--fx-text-primary); }
.fx-review-date { font-size: 11px; color: var(--fx-text-muted); display: block; }
.fx-review-title { margin: 0 0 8px; font-size: 15px; font-weight: 600; }
.fx-review-content { font-size: 13px; line-height: 1.6; color: var(--fx-text-secondary); margin-bottom: 14px; }
.fx-review-reactions {
  display: flex;
  gap: 8px;
  border-top: 1px solid var(--fx-border-light);
  padding-top: 12px;
}
.fx-react-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border: 1px solid var(--fx-border);
  border-radius: 20px;
  background: var(--fx-bg-secondary);
  color: var(--fx-text-secondary);
  font-size: 12px;
  cursor: pointer;
  transition: all var(--fx-transition);
}
.fx-react-btn:hover { border-color: var(--fx-blue); color: var(--fx-blue); }
.fx-react-btn.fx-react-active { background: rgba(212,168,0,0.1); border-color: var(--fx-blue); color: var(--fx-blue); }
.fx-react-icon { font-size: 14px; }
.fx-react-count { font-weight: 600; }
.fx-review-admin-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--fx-border-light);
}
.fx-review-admin-label { font-size: 10px; text-transform: uppercase; letter-spacing: 0.5px; color: var(--fx-text-muted); margin-right: 4px; }
.fx-pin-btn {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 2px 8px;
  border: 1px solid var(--fx-border);
  border-radius: 4px;
  background: var(--fx-bg-secondary);
  color: var(--fx-text-muted);
  font-size: 11px;
  cursor: pointer;
  transition: all var(--fx-transition);
}
.fx-pin-btn:hover { border-color: var(--fx-blue); color: var(--fx-blue); }
.fx-pin-btn.fx-pin-active { background: rgba(212,168,0,0.1); border-color: var(--fx-blue); color: var(--fx-blue); }
.fx-unpin-btn { color: var(--fx-red); border-color: rgba(239,68,68,0.3); }
.fx-unpin-btn:hover { border-color: var(--fx-red); color: var(--fx-red); }
.fx-write-review-wrap {
  background: var(--fx-bg-card);
  border: 1px solid var(--fx-border);
  border-radius: var(--fx-radius);
  padding: 20px;
  margin-bottom: 20px;
}
.fx-review-form { display: flex; flex-direction: column; gap: 14px; }
.fx-review-form-field { position: relative; }
.fx-review-form-field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--fx-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}
.fx-review-form-field input[type="text"],
.fx-review-form-field textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--fx-border);
  border-radius: var(--fx-radius-sm);
  background: var(--fx-bg-secondary);
  color: var(--fx-text-primary);
  font-size: 13px;
  font-family: inherit;
  box-sizing: border-box;
}
.fx-review-form-field input:focus,
.fx-review-form-field textarea:focus { outline: none; border-color: var(--fx-blue); }
.fx-stars-select {
  display: flex;
  align-items: center;
  gap: 2px;
}
.fx-star-btn {
  font-size: 28px;
  cursor: pointer;
  color: var(--fx-text-muted);
  transition: color 0.15s, transform 0.15s;
  line-height: 1;
  user-select: none;
}
.fx-star-btn:hover { transform: scale(1.2); }
.fx-star-btn.active { color: var(--fx-gold); }
.fx-stars-select .fx-rating-value {
  font-size: 14px;
  font-weight: 700;
  font-family: var(--fx-font-mono);
  color: var(--fx-blue);
  margin-left: 10px;
}
.fx-review-form-actions { display: flex; align-items: center; gap: 10px; }
.fx-review-form-msg { font-size: 12px; color: var(--fx-text-muted); flex: 1; }
.fx-reviews-empty { text-align: center; padding: 40px 20px; color: var(--fx-text-muted); font-size: 14px; background: var(--fx-bg-secondary); border-radius: var(--fx-radius); border: 1px dashed var(--fx-border); }

/* ====== Broker Review Page ====== */
.fx-broker-review-meta { font-size: 13px; color: var(--fx-text-muted); margin: 4px 0; }
.fx-broker-review-rating { font-size: 18px; }
.fx-broker-review-rating .fx-star { color: var(--fx-gold); letter-spacing: 2px; }
.fx-broker-review-rating .fx-broker-score { font-size: 24px; font-weight: 700; margin-left: 8px; vertical-align: middle; }
.fx-broker-cta { display: inline-block; margin: 16px 0 24px; padding: 12px 32px; background: var(--fx-blue); color: #fff; border-radius: 8px; font-size: 15px; font-weight: 700; text-decoration: none; transition: background var(--fx-transition); }
.fx-broker-cta:hover { background: var(--fx-blue-dark); color: #fff; }
.fx-broker-ratings-grid { display: flex; flex-direction: column; gap: 10px; margin: 16px 0; }
.fx-broker-ratings-item { display: flex; align-items: center; gap: 12px; }
.fx-broker-ratings-label { width: 140px; font-size: 12px; font-weight: 600; color: var(--fx-text-primary); flex-shrink: 0; }
.fx-broker-ratings-bar { flex: 1; height: 8px; background: var(--fx-border); border-radius: 4px; overflow: hidden; }
.fx-broker-ratings-fill { height: 100%; background: linear-gradient(90deg, var(--fx-blue), var(--fx-gold)); border-radius: 4px; transition: width 0.5s; }
.fx-broker-ratings-score { width: 40px; text-align: right; font-size: 12px; font-weight: 700; font-family: var(--fx-font-mono); color: var(--fx-text-primary); flex-shrink: 0; }
.fx-broker-pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 24px 0; }
.fx-broker-pros ul, .fx-broker-cons ul { margin: 8px 0 0; padding-left: 18px; }
.fx-broker-pros li, .fx-broker-cons li { font-size: 13px; line-height: 1.7; color: var(--fx-text-secondary); }
.fx-broker-pros li { list-style-type: "✓ "; }
.fx-broker-cons li { list-style-type: "✗ "; }
.fx-broker-review-page { max-width: 900px; }
.fx-broker-back { display: inline-block; margin-bottom: 20px; font-size: 13px; color: var(--fx-blue); text-decoration: none; }
.fx-broker-back:hover { text-decoration: underline; }
.fx-broker-review-header { display: flex; align-items: center; gap: 20px; margin-bottom: 24px; padding: 24px; background: var(--fx-card-bg); border: 1px solid var(--fx-border); border-radius: var(--fx-radius); }
.fx-broker-review-logo { border-radius: 8px; }
.fx-broker-review-info h2 { margin: 0 0 8px; font-size: 22px; }
.fx-broker-review-body p { font-size: 14px; line-height: 1.8; color: var(--fx-text-secondary); margin-bottom: 24px; }
.fx-broker-specs { width: 100%; border-collapse: collapse; font-size: 13px; }
.fx-broker-specs th { text-align: left; padding: 10px 16px; background: var(--fx-card-bg); border-bottom: 1px solid var(--fx-border); color: var(--fx-text-muted); width: 180px; font-weight: 600; }
.fx-broker-specs td { padding: 10px 16px; border-bottom: 1px solid var(--fx-border); color: var(--fx-text-primary); }

/* ====== Calendar Date ====== */
.fx-cal-date { font-size: 14px; color: var(--fx-text-muted); margin-top: -8px; margin-bottom: 20px; }

/* ====== Economic Calendar — Wide Page ====== */
.fx-cal-wide { max-width: 1400px; }

/* ====== Calendar Filters ====== */
.fx-calendar-filters { display: flex; gap: 8px; margin-bottom: 20px; flex-wrap: wrap; }
.fx-calendar-filters button { padding: 6px 18px; border-radius: 20px; border: 1px solid var(--fx-border); background: var(--fx-card-bg); color: var(--fx-text-primary); font-size: 13px; font-weight: 500; cursor: pointer; transition: all 0.2s; }
.fx-calendar-filters button:hover { background: rgba(59,130,246,0.15); border-color: var(--fx-blue); }
.fx-cal-filter-active { background: var(--fx-blue) !important; color: #fff !important; border-color: var(--fx-blue) !important; }

/* ====== Calendar Table ====== */
.fx-calendar-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.fx-calendar-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.fx-calendar-table thead th { background: var(--fx-navy, #0f172a); color: #fff; padding: 10px 12px; text-align: left; font-weight: 600; font-size: 11px; text-transform: uppercase; letter-spacing: 0.5px; white-space: nowrap; }
.fx-calendar-table tbody tr { border-bottom: 1px solid var(--fx-border); transition: background 0.15s; }
.fx-calendar-table tbody tr:hover { background: rgba(59,130,246,0.05); }
.fx-calendar-table tbody td { padding: 8px 12px; color: var(--fx-text-primary); font-size: 12px; vertical-align: middle; white-space: nowrap; }

/* Calendar cell classes */
.fx-cal-time { color: var(--fx-text-muted) !important; font-weight: 500; font-variant-numeric: tabular-nums; }
.fx-cal-country { font-size: 16px !important; text-align: center; }
.fx-cal-event { font-weight: 600; white-space: normal !important; min-width: 180px; }
.fx-cal-prev, .fx-cal-fcst, .fx-cal-actual { font-variant-numeric: tabular-nums; text-align: right; }

/* Impact badges */
.fx-calendar-table .fx-impact-high,
.fx-calendar-table .fx-impact-medium,
.fx-calendar-table .fx-impact-low { display: inline-block; padding: 2px 10px; border-radius: 12px; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.3px; }
.fx-impact-high { background: rgba(239,68,68,0.15); color: #ef4444; }
.fx-impact-medium { background: rgba(245,158,11,0.15); color: #f59e0b; }
.fx-impact-low { background: rgba(16,185,129,0.15); color: #10b981; }

/* Impact border-left on row */
.fx-calendar-table tbody tr:has(.fx-impact-high) { border-left: 3px solid #ef4444; }
.fx-calendar-table tbody tr:has(.fx-impact-medium) { border-left: 3px solid #f59e0b; }
.fx-calendar-table tbody tr:has(.fx-impact-low) { border-left: 3px solid #10b981; }

@media (max-width: 768px) {
  .fx-cal-wide { max-width: 100%; padding: 0 8px; }
  .fx-calendar-table { font-size: 11px; }
  .fx-calendar-table thead th { padding: 8px 8px; font-size: 10px; }
  .fx-calendar-table tbody td { padding: 6px 8px; font-size: 11px; }
  .fx-cal-event { min-width: 120px; }
}

/* ====== Trader Analytics ====== */
.fx-trader-analytics-page { display: flex; flex-direction: column; gap: 24px; }
.fx-ta-header { margin-bottom: 8px; }
.fx-ta-welcome { padding: 12px 16px; background: rgba(16,185,129,0.1); border: 1px solid rgba(16,185,129,0.3); border-radius: var(--fx-radius); color: var(--fx-positive); font-size: 14px; font-weight: 600; margin-bottom: 16px; }
.fx-ta-tagline { color: var(--fx-text-secondary); font-size: 14px; margin: -16px 0 0; }
.fx-ta-layout { display: flex; gap: 30px; align-items: flex-start; }
.fx-ta-main { flex: 1; min-width: 0; }
.fx-ta-sidebar { width: 340px; flex-shrink: 0; display: flex; flex-direction: column; gap: 16px; }
.fx-analysis-article {
  background: var(--fx-bg-card);
  border: 1px solid var(--fx-border);
  border-radius: var(--fx-radius);
  padding: 20px;
  margin-bottom: 16px;
}
.fx-analysis-img { margin: -20px -20px 16px; border-radius: var(--fx-radius) var(--fx-radius) 0 0; overflow: hidden; }
.fx-analysis-img img { width: 100%; height: auto; display: block; }
.fx-analysis-title { margin: 0 0 6px; font-size: 16px; font-weight: 700; }
.fx-analysis-author { font-size: 12px; color: var(--fx-text-muted); margin-bottom: 10px; }
.fx-analysis-text { font-size: 13px; line-height: 1.7; color: var(--fx-text-secondary); }
.fx-analysis-excerpt { font-size: 13px; line-height: 1.6; color: var(--fx-text-secondary); margin-bottom: 8px; }
.fx-analysis-read-more { font-size: 12px; font-weight: 600; color: var(--fx-blue); text-decoration: none; }
.fx-analysis-read-more:hover { color: var(--fx-blue-dark); text-decoration: underline; }
.fx-analysis-img-link { display: block; text-decoration: none; }
.fx-analysis-title a { color: var(--fx-text-primary); text-decoration: none; }
.fx-analysis-title a:hover { color: var(--fx-blue); }
.fx-analysis-detail .fx-analysis-body { padding: 0; }
.fx-analysis-detail.fx-analysis-article { padding: 0; border: none; background: transparent; }
.fx-analysis-detail .fx-analysis-img { margin: 0 0 20px; max-height: 500px; border-radius: var(--fx-radius); }
.fx-analysis-title-detail { margin: 0 0 10px; font-size: 24px; font-weight: 700; }
.fx-analysis-detail .fx-analysis-text { font-size: 15px; margin-top: 16px; }
.fx-analysis-empty { text-align: center; padding: 40px 20px; color: var(--fx-text-muted); font-size: 14px; background: var(--fx-bg-secondary); border-radius: var(--fx-radius); border: 1px dashed var(--fx-border); }
.fx-ta-submit-card { background: var(--fx-bg-card); border: 1px solid var(--fx-border); border-radius: var(--fx-radius); overflow: hidden; }
.fx-ta-submit-header { padding: 14px 16px; background: var(--fx-navy); color: #fff; font-size: 14px; font-weight: 700; }
.fx-ta-submit-body { padding: 16px; }
.fx-ta-form { display: flex; flex-direction: column; gap: 12px; }
.fx-ta-field label { display: block; font-size: 12px; font-weight: 600; color: var(--fx-text-muted); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; }
.fx-ta-field input[type="text"], .fx-ta-field textarea { width: 100%; padding: 8px 10px; border: 1px solid var(--fx-border); border-radius: var(--fx-radius-sm); background: var(--fx-bg-secondary); color: var(--fx-text-primary); font-size: 13px; font-family: inherit; box-sizing: border-box; }
.fx-ta-field input:focus, .fx-ta-field textarea:focus { outline: none; border-color: var(--fx-blue); }
.fx-ta-media-wrap { display: flex; flex-direction: column; gap: 6px; }
.fx-ta-file-input { padding: 8px; border: 1px dashed var(--fx-border); border-radius: var(--fx-radius-sm); background: var(--fx-bg-secondary); color: var(--fx-text-primary); font-size: 13px; cursor: pointer; }
.fx-ta-file-input:hover { border-color: var(--fx-blue); }
.fx-ta-file-name { font-size: 12px; color: var(--fx-text-muted); }
.fx-ta-msg { font-size: 12px; color: var(--fx-text-muted); }
.fx-ta-my-articles { background: var(--fx-bg-card); border: 1px solid var(--fx-border); border-radius: var(--fx-radius); overflow: hidden; }
.fx-ta-my-item { display: flex; align-items: center; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--fx-border-light); font-size: 13px; }
.fx-ta-my-item:last-child { border-bottom: none; }
.fx-ta-my-title { color: var(--fx-text-primary); font-weight: 500; }
.fx-ta-status { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 3px; }
.fx-status-approved { background: rgba(16,185,129,0.12); color: var(--fx-positive); }
.fx-status-pending { background: rgba(245,158,11,0.12); color: var(--fx-gold); }
.fx-status-rejected { background: rgba(239,68,68,0.12); color: var(--fx-red); }
.fx-ta-home-stats { margin: 12px 0; text-align: center; }
.fx-ta-home-stat { font-size: 22px; font-weight: 800; font-family: var(--fx-font-mono); color: var(--fx-blue); display: block; }
.fx-ta-home-cta { text-align: center; margin-top: 12px; }
@media (max-width: 768px) {
  .fx-ta-layout { flex-direction: column; }
  .fx-ta-sidebar { width: 100%; }
}

/* ====== Rate Flash ====== */
@keyframes fxRateFlash {
  0% { background: transparent; }
  50% { background: var(--fx-btn-primary-bg); color: var(--fx-text-on-primary, #000); }
  100% { background: transparent; }
}
.fx-rate-flash {
  animation: fxRateFlash 0.6s ease;
  border-radius: 4px;
}

/* ====== Auth Modal ====== */
.fx-auth-modal {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.fx-auth-overlay {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
}
.fx-auth-dialog {
  position: relative;
  background: var(--fx-bg-primary);
  border: 1px solid var(--fx-border-color, rgba(255,255,255,0.1));
  border-radius: 12px;
  width: 100%;
  max-width: 420px;
  padding: 32px 28px 24px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  max-height: 90vh;
  overflow-y: auto;
}
.fx-auth-close {
  position: absolute; top: 12px; right: 16px;
  background: none; border: none;
  font-size: 24px; color: var(--fx-text-muted);
  cursor: pointer; line-height: 1; padding: 4px;
}
.fx-auth-close:hover { color: var(--fx-text-primary); }

.fx-auth-tabs {
  display: flex; gap: 0;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--fx-border-color, rgba(255,255,255,0.08));
}
.fx-auth-tab {
  flex: 1; padding: 10px;
  background: none; border: none;
  font-size: 15px; font-weight: 600;
  color: var(--fx-text-secondary);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all 0.2s;
}
.fx-auth-tab:hover { color: var(--fx-text-primary); }
.fx-auth-tab-active { color: var(--fx-blue, #d4a800); border-bottom-color: var(--fx-blue, #d4a800); }

.fx-auth-panel { display: none; }
.fx-auth-panel-active { display: block; }

.fx-auth-field { margin-bottom: 14px; }
.fx-auth-field label {
  display: block;
  font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.3px;
  color: var(--fx-text-secondary);
  margin-bottom: 4px;
}
.fx-auth-field input {
  width: 100%; padding: 10px 12px;
  border: 1px solid var(--fx-border-color, rgba(255,255,255,0.12));
  border-radius: var(--fx-radius-sm);
  background: var(--fx-bg-secondary);
  color: var(--fx-text-primary);
  font-size: 14px;
  box-sizing: border-box;
  transition: border-color 0.2s;
}
.fx-auth-field input:focus { outline: none; border-color: var(--fx-blue, #d4a800); }
.fx-auth-remember { margin-bottom: 14px; font-size: 13px; }
.fx-auth-remember label { display: flex; align-items: center; gap: 6px; cursor: pointer; color: var(--fx-text-secondary); }
.fx-auth-remember input { accent-color: var(--fx-blue, #d4a800); }

.fx-auth-submit {
  width: 100%; padding: 12px;
  border: none; border-radius: var(--fx-radius-sm);
  background: var(--fx-blue, #d4a800);
  color: #fff; font-size: 15px; font-weight: 700;
  cursor: pointer; transition: background 0.2s;
}
.fx-auth-submit:hover { background: var(--fx-blue-dark, #b89200); }
.fx-auth-submit:disabled { opacity: 0.6; cursor: not-allowed; }

.fx-auth-msg { margin-top: 10px; font-size: 13px; text-align: center; min-height: 20px; }
.fx-auth-msg.fx-auth-error { color: var(--fx-negative, #ef4444); }
.fx-auth-msg.fx-auth-success { color: var(--fx-positive, #10b981); }

.fx-auth-divider {
  display: flex; align-items: center;
  margin: 18px 0;
  color: var(--fx-text-muted);
  font-size: 12px;
}
.fx-auth-divider::before, .fx-auth-divider::after {
  content: ''; flex: 1;
  height: 1px;
  background: var(--fx-border-color, rgba(255,255,255,0.08));
}
.fx-auth-divider span { padding: 0 12px; }
.fx-auth-social { display: flex; justify-content: center; }

.fx-auth-user-menu { display: flex; align-items: center; gap: 8px; }
.fx-auth-user-link {
  display: flex; align-items: center; gap: 6px;
  text-decoration: none; color: var(--fx-text-primary);
  font-size: 13px; font-weight: 600;
  padding: 2px 8px; border-radius: var(--fx-radius-sm);
  transition: background 0.15s;
}
.fx-auth-user-link:hover { background: rgba(255,255,255,0.08); }
.fx-auth-user-avatar { border-radius: 50%; object-fit: cover; }
.fx-auth-user-name { max-width: 100px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fx-auth-logout-btn {
  background: none;
  border: 1px solid var(--fx-border-color, rgba(255,255,255,0.12));
  color: var(--fx-text-secondary);
  padding: 3px 10px; border-radius: var(--fx-radius-sm);
  font-size: 12px; cursor: pointer; transition: all 0.15s;
}
.fx-auth-logout-btn:hover { border-color: var(--fx-negative, #ef4444); color: var(--fx-negative, #ef4444); }

/* ====== Broker Table v2 ====== */
.fx-broker-logo { display: inline-block; vertical-align: middle; border-radius: 4px; margin-right: 8px; }

/* ====== Contact Page ====== */
.fx-contact-wrapper {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  margin-top: 16px;
}
.fx-contact-form {
  background: var(--fx-bg-card);
  border: 1px solid var(--fx-border);
  border-radius: var(--fx-radius-md);
  padding: 28px;
}
.fx-contact-form h3 {
  margin: 0 0 20px;
  font-size: 18px;
  font-weight: 700;
  color: var(--fx-text-primary);
}
.fx-form-row {
  margin-bottom: 16px;
}
.fx-form-row:last-of-type {
  margin-bottom: 0;
}
.fx-form-row label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--fx-text-secondary);
  margin-bottom: 6px;
}
.fx-form-row label .required {
  color: var(--fx-negative, #ef4444);
}
.fx-form-row input[type="text"],
.fx-form-row input[type="email"],
.fx-form-row select,
.fx-form-row textarea {
  width: 100%;
  padding: 10px 14px;
  font-size: 14px;
  background: var(--fx-bg-primary);
  color: var(--fx-text-primary);
  border: 1px solid var(--fx-border);
  border-radius: var(--fx-radius-sm);
  box-sizing: border-box;
  transition: border-color var(--fx-transition);
  font-family: inherit;
}
.fx-form-row input:focus,
.fx-form-row select:focus,
.fx-form-row textarea:focus {
  outline: none;
  border-color: var(--fx-blue);
}
.fx-form-row textarea {
  resize: vertical;
  min-height: 100px;
}
.fx-honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}
.fx-human-check {
  position: relative;
}
.fx-human-question {
  background: var(--fx-bg-secondary);
  border: 1px solid var(--fx-border);
  border-radius: var(--fx-radius-sm);
  padding: 10px 14px;
  margin-bottom: 8px;
  font-family: var(--fx-font-mono);
  font-size: 16px;
  font-weight: 700;
  color: var(--fx-blue, #3b82f6);
  letter-spacing: 0.5px;
  user-select: none;
}
.fx-contact-msg {
  margin-top: 12px;
  font-size: 13px;
  color: var(--fx-text-muted);
}
.fx-contact-msg.fx-success { color: var(--fx-positive, #22c55e); }
.fx-contact-msg.fx-error { color: var(--fx-negative, #ef4444); }
.fx-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: var(--fx-blue);
  border: none;
  border-radius: var(--fx-radius-sm);
  cursor: pointer;
  transition: background var(--fx-transition);
  margin-top: 16px;
}
.fx-btn-primary:hover { background: var(--fx-blue-dark); }

.fx-contact-info {
  background: var(--fx-bg-card);
  border: 1px solid var(--fx-border);
  border-radius: var(--fx-radius-md);
  padding: 28px;
}
.fx-contact-info h3 {
  margin: 0 0 20px;
  font-size: 18px;
  font-weight: 700;
  color: var(--fx-text-primary);
}
.fx-contact-info h4 {
  margin: 24px 0 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--fx-text-primary);
}
.fx-contact-info p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--fx-text-secondary);
  margin: 8px 0;
}
.fx-contact-item {
  margin-bottom: 16px;
}
.fx-contact-item strong {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--fx-text-muted);
  margin-bottom: 4px;
}
.fx-contact-item a,
.fx-contact-item address {
  font-size: 14px;
  color: var(--fx-blue);
  font-style: normal;
  text-decoration: none;
}
.fx-contact-item a:hover { text-decoration: underline; }
.fx-contact-item .fx-hours {
  display: block;
  font-size: 12px;
  color: var(--fx-text-muted);
  margin-top: 2px;
}

/* ====== Privacy & Terms Pages ====== */
.fx-page-body h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--fx-text-primary);
  margin: 32px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--fx-border);
}
.fx-page-body h2:first-child {
  margin-top: 0;
}
.fx-page-body h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--fx-text-primary);
  margin: 24px 0 10px;
}
.fx-page-body p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--fx-text-secondary);
  margin: 10px 0;
}
.fx-page-body ul,
.fx-page-body ol {
  margin: 10px 0;
  padding-left: 24px;
}
.fx-page-body li {
  font-size: 14px;
  line-height: 1.8;
  color: var(--fx-text-secondary);
  margin-bottom: 6px;
}
.fx-page-body strong {
  color: var(--fx-text-primary);
  font-weight: 700;
}
.fx-page-body em {
  color: var(--fx-text-muted);
  font-size: 13px;
}
.fx-page-body a {
  color: var(--fx-blue);
  text-decoration: none;
}
.fx-page-body a:hover {
  text-decoration: underline;
}

/* ====== Sitemap XML Page ====== */
.fx-page-body pre {
  background: var(--fx-bg-card);
  border: 1px solid var(--fx-border);
  border-radius: var(--fx-radius-sm);
  padding: 20px;
  overflow-x: auto;
  font-size: 12px;
  line-height: 1.6;
  color: var(--fx-text-secondary);
  font-family: var(--fx-font-mono);
}

@media (max-width: 768px) {
  .fx-contact-wrapper {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .fx-contact-form,
  .fx-contact-info {
    padding: 20px;
  }
}

/* ====== Markets Category Page ====== */
.fx-mc-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.fx-mc-header {
  text-align: center;
  margin-bottom: 20px;
}
.fx-mc-header h1 {
  font-size: 28px;
  font-weight: 800;
  color: var(--fx-text-primary);
  margin: 0 0 6px;
}
.fx-mc-subtitle {
  font-size: 14px;
  color: var(--fx-text-muted);
  margin: 0;
}
.fx-mc-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 24px;
  overflow-x: auto;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--fx-border);
}
.fx-mc-tab {
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--fx-text-muted);
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--fx-transition);
  text-decoration: none;
  display: inline-block;
}
.fx-mc-tab:hover {
  color: var(--fx-text-primary);
}
.fx-mc-tab-active {
  color: var(--fx-blue);
  border-bottom-color: var(--fx-blue);
}
.fx-mc-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 24px;
  align-items: start;
}
.fx-mc-table-card {
  background: var(--fx-bg-card);
  border: 1px solid var(--fx-border);
  border-radius: var(--fx-radius-md);
  overflow: hidden;
}
.fx-mc-table {
  width: 100%;
  border-collapse: collapse;
}
.fx-mc-table thead th {
  padding: 12px 16px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--fx-text-muted);
  background: var(--fx-bg-secondary);
  border-bottom: 1px solid var(--fx-border);
  text-align: left;
  white-space: nowrap;
}
.fx-mc-table tbody tr {
  border-bottom: 1px solid var(--fx-border);
  transition: background var(--fx-transition);
}
.fx-mc-table tbody tr:last-child {
  border-bottom: none;
}
.fx-mc-table tbody tr:hover {
  background: var(--fx-row-hover);
}
.fx-mc-table td {
  padding: 12px 16px;
  font-size: 13px;
  color: var(--fx-text-secondary);
  white-space: nowrap;
}
.fx-mc-symbol {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--fx-text-primary);
}
.fx-mc-symbol-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.fx-mc-sym-name {
  font-weight: 600;
  color: var(--fx-text-primary);
  font-size: 14px;
}
.fx-mc-sym-full {
  font-weight: 400;
  color: var(--fx-text-muted);
  font-size: 11px;
}
.fx-mc-price {
  font-family: var(--fx-font-mono);
  font-weight: 600;
  color: var(--fx-text-primary);
}
.fx-mc-change {
  font-family: var(--fx-font-mono);
  font-weight: 600;
}
.fx-mc-pct {
  font-family: var(--fx-font-mono);
  font-weight: 600;
}
.fx-mc-cat {
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 4px;
  background: var(--fx-bg-secondary);
  color: var(--fx-text-muted);
  text-transform: capitalize;
}
.fx-mc-empty {
  text-align: center;
  padding: 40px 16px !important;
  color: var(--fx-text-muted);
}

@keyframes fx-tick-glow {
  0% { background: rgba(255,255,255,0); }
  30% { background: rgba(255,255,255,0.06); }
  100% { background: rgba(255,255,255,0); }
}
.fx-tick-flash {
  animation: fx-tick-glow 0.6s ease-out;
}
.fx-positive { color: var(--fx-positive, #10b981); }
.fx-negative { color: var(--fx-negative, #ef4444); }

.fx-mc-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.fx-mc-news-card {
  background: var(--fx-bg-card);
  border: 1px solid var(--fx-border);
  border-radius: var(--fx-radius-md);
  padding: 20px;
}
.fx-mc-news-card h3 {
  margin: 0 0 16px;
  font-size: 15px;
  font-weight: 700;
  color: var(--fx-text-primary);
}
.fx-mc-news-item {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--fx-border);
  text-decoration: none;
  transition: background var(--fx-transition);
}
.fx-mc-news-item:last-of-type {
  border-bottom: none;
}
.fx-mc-news-item:hover {
  background: var(--fx-row-hover);
}
.fx-mc-news-thumb {
  width: 56px;
  height: 56px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
}
.fx-mc-news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.fx-mc-news-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.fx-mc-news-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--fx-text-primary);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.fx-mc-news-date {
  font-size: 11px;
  color: var(--fx-text-muted);
}
.fx-mc-news-more {
  display: block;
  text-align: center;
  margin-top: 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--fx-blue);
  text-decoration: none;
}
.fx-mc-news-more:hover {
  text-decoration: underline;
}
.fx-mc-ad-card {
  background: var(--fx-bg-card);
  border: 1px solid var(--fx-border);
  border-radius: var(--fx-radius-md);
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 1024px) {
  .fx-mc-layout {
    grid-template-columns: 1fr;
  }
  .fx-mc-sidebar {
    flex-direction: row;
  }
  .fx-mc-news-card {
    flex: 1;
  }
}
@media (max-width: 768px) {
  .fx-mc-header h1 { font-size: 22px; }
  .fx-mc-tabs { gap: 0; }
  .fx-mc-tab { padding: 8px 12px; font-size: 12px; }
  .fx-mc-table td,
  .fx-mc-table thead th { padding: 10px 12px; font-size: 12px; }
  .fx-mc-sidebar { flex-direction: column; }
}
