/* ===================================================================
   Prop Firm Lenz - Liquid Glass Theme & Style Architecture
   Based exactly on user's theme, color, and CSS sample
   =================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  color-scheme: dark;
  --bg: #050814;
  --gl: rgba(255, 255, 255, 0.06);
  --gb: rgba(255, 255, 255, 0.14);
  --t: #fff;
  --t2: rgba(255, 255, 255, 0.66);
  --t3: rgba(255, 255, 255, 0.45);
  --bl: #10b981;
  --pu: #8b3dff;
  --pk: #ec4899;
  --ok: #10b981;
  --warn: #f59e0b;
  --btn: linear-gradient(180deg, #34d399 0%, #059669 100%);
  --W: 1240px;
  --glow: rgba(16, 185, 129, 0.55);
  --glow2: rgba(52, 211, 153, 0.28);
  --btn-text: #ffffff;
  --orb1: rgba(16, 185, 129, 0.38);
  --orb2: rgba(52, 211, 153, 0.35);

  /* Compatibility & Component Aliases */
  --accent: var(--bl);
  --mk: var(--bl);
  --mk-light: #34d399;
  --btn-grad: var(--btn);
  --btn-glow: var(--glow);
  --border-glass: var(--gb);
  --bg-surface: var(--gl);
  --bg-surface-solid-fallback: rgba(7, 11, 23, 0.9);
  --text-primary: var(--t);
  --text-secondary: var(--t2);
  --text-muted: var(--t3);
  --gold: var(--warn);
  --worse-pink: #f9a8d4;
  --better-green: var(--ok);
  --rc-theme-color: #10b981;
  --rc-theme-btn: linear-gradient(180deg, #34d399 0%, #059669 100%);
  --rc-theme-btn-text: #ffffff;
  --rc-theme-glow: rgba(16, 185, 129, 0.55);
  --rc-theme-bg: rgba(16, 185, 129, 0.12);
  --theme-border: rgba(16, 185, 129, 0.4);
}

/* All Markets (Default Emerald Green Matching Futures) */
[data-market="all"] {
  --bl: #10b981;
  --accent: #10b981;
  --mk: #10b981;
  --mk-light: #34d399;
  --btn: linear-gradient(180deg, #34d399 0%, #059669 100%);
  --btn-text: #ffffff;
  --glow: rgba(16, 185, 129, 0.6);
  --glow2: rgba(52, 211, 153, 0.28);
  --orb1: rgba(16, 185, 129, 0.38);
  --orb2: rgba(52, 211, 153, 0.35);
  --rc-theme-color: #10b981;
  --rc-theme-btn: linear-gradient(180deg, #34d399 0%, #059669 100%);
  --rc-theme-btn-text: #ffffff;
  --rc-theme-glow: rgba(16, 185, 129, 0.55);
  --rc-theme-bg: rgba(16, 185, 129, 0.12);
  --theme-border: rgba(16, 185, 129, 0.4);
}

/* Forex Market (Unified Electric Blue #3b82f6) */
[data-market="fx"],
[data-market="forex"] {
  --bl: #3b82f6;
  --accent: #3b82f6;
  --mk: #3b82f6;
  --mk-light: #60a5fa;
  --btn: linear-gradient(180deg, #3b82f6 0%, #1d4ed8 100%);
  --btn-text: #ffffff;
  --glow: rgba(37, 99, 235, 0.6);
  --glow2: rgba(59, 130, 246, 0.3);
  --orb1: rgba(139, 61, 255, 0.42);
  --orb2: rgba(37, 99, 235, 0.35);
  --rc-theme-color: #3b82f6;
  --rc-theme-btn: linear-gradient(180deg, #3b82f6 0%, #1d4ed8 100%);
  --rc-theme-btn-text: #ffffff;
  --rc-theme-glow: rgba(37, 99, 235, 0.55);
  --rc-theme-bg: rgba(37, 99, 235, 0.12);
  --theme-border: rgba(59, 130, 246, 0.4);
}

/* Futures Market (Emerald Mint Green #10b981) */
[data-market="fu"],
[data-market="futures"] {
  --bl: #10b981;
  --accent: #10b981;
  --mk: #10b981;
  --mk-light: #34d399;
  --btn: linear-gradient(180deg, #34d399 0%, #059669 100%);
  --btn-text: #ffffff;
  --glow: rgba(16, 185, 129, 0.6);
  --glow2: rgba(52, 211, 153, 0.28);
  --orb1: rgba(16, 185, 129, 0.38);
  --orb2: rgba(52, 211, 153, 0.35);
  --rc-theme-color: #10b981;
  --rc-theme-btn: linear-gradient(180deg, #34d399 0%, #059669 100%);
  --rc-theme-btn-text: #ffffff;
  --rc-theme-glow: rgba(16, 185, 129, 0.55);
  --rc-theme-bg: rgba(16, 185, 129, 0.12);
  --theme-border: rgba(16, 185, 129, 0.4);
}

/* Crypto Market (Amber Gold #f59e0b) */
[data-market="cr"],
[data-market="crypto"] {
  --bl: #f59e0b;
  --accent: #f59e0b;
  --mk: #f59e0b;
  --mk-light: #fbbf24;
  --btn: linear-gradient(180deg, #fbbf24 0%, #d97706 100%);
  --btn-text: #1a1200;
  --glow: rgba(245, 158, 11, 0.58);
  --glow2: rgba(251, 191, 36, 0.28);
  --orb1: rgba(245, 158, 11, 0.36);
  --orb2: rgba(217, 119, 6, 0.32);
  --rc-theme-color: #f59e0b;
  --rc-theme-btn: linear-gradient(180deg, #fbbf24 0%, #d97706 100%);
  --rc-theme-btn-text: #1a1200;
  --rc-theme-glow: rgba(245, 158, 11, 0.55);
  --rc-theme-bg: rgba(245, 158, 11, 0.12);
  --theme-border: rgba(245, 158, 11, 0.4);
}

/* Perps Market (Neon Magenta Pink #ec4899) */
[data-market="pp"],
[data-market="perps"] {
  --bl: #ec4899;
  --accent: #ec4899;
  --mk: #ec4899;
  --mk-light: #f472b6;
  --btn: linear-gradient(180deg, #f472b6 0%, #db2777 100%);
  --btn-text: #ffffff;
  --glow: rgba(236, 72, 153, 0.6);
  --glow2: rgba(244, 114, 182, 0.28);
  --orb1: rgba(139, 61, 255, 0.36);
  --orb2: rgba(236, 72, 153, 0.35);
  --rc-theme-color: #ec4899;
  --rc-theme-btn: linear-gradient(180deg, #f472b6 0%, #db2777 100%);
  --rc-theme-btn-text: #ffffff;
  --rc-theme-glow: rgba(236, 72, 153, 0.55);
  --rc-theme-bg: rgba(236, 72, 153, 0.12);
  --theme-border: rgba(236, 72, 153, 0.4);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
  width: 100%;
  margin: 0;
  padding: 0;
}

/* Symmetrical Centering & Compact Layout Guarantee (No zoom hacks that anchor to 0,0) */
html,
body {
  zoom: 1 !important;
}

body {
  margin: 0;
  padding: 0;
  width: 100%;
  background: var(--bg);
  color: var(--t);
  font: 400 15px/1.6 Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* Atmosphere gradient orbs */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(640px 420px at 50% -8%, rgba(16, 185, 129, 0.22), transparent 72%),
    radial-gradient(560px 420px at 6% -4%, var(--orb1), transparent 70%),
    radial-gradient(600px 440px at 98% 4%, var(--orb2), transparent 70%),
    radial-gradient(460px 340px at 46% 62%, rgba(219, 39, 119, 0.12), transparent 70%);
  pointer-events: none;
  transition: background 0.4s ease;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select {
  font: inherit;
}

.wrap {
  width: calc(100% - 48px);
  max-width: var(--W);
  margin: 0 auto;
}

/* Liquid Glass Surface Core */
.g, .glass-panel {
  background: var(--gl);
  border: 1px solid var(--gb);
  border-radius: 20px;
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 8px 28px rgba(0, 0, 0, 0.32);
}

@supports not (backdrop-filter: blur(1px)) {
  .g, .glass-panel {
    background: rgba(7, 11, 23, 0.9);
  }
}

/* Liquid Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 40px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--btn);
  color: var(--btn-text);
  font-weight: 500;
  font-size: 14px;
  border: 0;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 0 18px var(--glow);
  transition: transform 0.15s, filter 0.15s;
}

.btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

.btn.ghost {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--gb);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
  color: var(--t);
}

.btn.sm {
  height: 32px;
  padding: 0 14px;
  font-size: 12.5px;
}

:focus-visible {
  outline: 2px solid var(--bl);
  outline-offset: 2px;
}

/* Logo badges */
.lg {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  flex: none;
  font-style: normal;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  position: relative;
}

.lg img {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  padding: 2px;
  box-sizing: border-box;
  display: block;
  border-radius: inherit;
}

.lg.sm {
  width: 32px;
  height: 32px;
  font-size: 12px;
  border-radius: 9px;
}

.lg.lg2 {
  width: 44px;
  height: 44px;
  font-size: 16px;
  border-radius: 13px;
}

.brand-logo {
  width: 34px;
  height: 34px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
  background: transparent;
  border-radius: 0 !important;
  filter: drop-shadow(0 2px 10px var(--glow));
  transition: transform 0.2s ease, filter 0.3s ease;
}

.brand-logo:hover {
  transform: scale(1.08);
}

/* Text and Badges */
.chip {
  display: inline-flex;
  align-items: center;
  font-style: normal;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
  color: #fff;
  font-weight: 500;
  letter-spacing: 0.06em;
  font-size: 11.5px;
  cursor: pointer;
}

.rt {
  color: var(--warn);
  font-size: 12.5px;
}

.ok {
  color: #86efac;
  font-weight: 500;
}

.mk {
  color: var(--bl);
  font-weight: 500;
  transition: color 0.3s ease;
}

.muted {
  color: var(--t2);
}

/* Coupon Box with Code LENZ */
.coupon-box {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 8px;
  border: 1px dashed var(--bl);
  background: rgba(0, 0, 0, 0.25);
  color: #fff;
  cursor: pointer;
  user-select: none;
  transition: all 0.2s ease;
}

.coupon-box:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #fff;
}

.coupon-box .code-text {
  font-family: monospace;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.05em;
}

/* ===================================================================
   GLOBAL HEADER (Always Fixed Floating Liquid Glass)
   =================================================================== */
body {
  padding-top: 104px;
}

@media (max-width: 820px) {
  body {
    padding-top: 92px;
  }
}

@media (max-width: 580px) {
  body {
    padding-top: 88px;
  }
}

.top,
.wrap.top {
  position: fixed !important;
  top: 14px !important;
  left: 0 !important;
  right: 0 !important;
  margin: 0 auto !important;
  z-index: 1000;
  width: 100% !important;
  max-width: 100% !important;
  pointer-events: none;
  display: flex !important;
  justify-content: center !important;
  padding: 0 20px !important;
  box-sizing: border-box !important;
}

.top header,
header.g {
  pointer-events: auto;
  width: fit-content;
  max-width: min(calc(100% - 32px), 940px);
  margin: 0 auto;
  border-radius: 999px;
  background: rgba(8, 12, 28, 0.78) !important;
  backdrop-filter: blur(28px) saturate(190%) !important;
  -webkit-backdrop-filter: blur(28px) saturate(190%) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.18), inset 0 -1px 0 rgba(0, 0, 0, 0.25) !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Single-Line Apple Liquid Glass Floating Capsule Header */
.bar {
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  height: 52px;
  padding: 0 14px 0 16px;
  width: auto;
  overflow: visible;
  box-sizing: border-box;
}

.logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 500;
  font-size: 16px;
  white-space: nowrap;
  flex-shrink: 0;
  text-decoration: none;
  color: #fff;
  line-height: 1;
}

.logo img,
.brand-logo {
  width: 30px;
  height: 30px;
  border-radius: 0 !important;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.logo span {
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: #ffffff;
  line-height: 1;
}

.logo b,
header.g .logo b,
.top header .logo b {
  color: #34d399 !important;
  font-weight: 700 !important;
  transition: none !important;
}

/* Single Line Header Navigation (Centered) */
.bar nav,
header.g nav,
nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin: 0;
  padding: 0;
  border-top: none;
  background: transparent;
  flex-shrink: 0;
  overflow-x: auto;
  scrollbar-width: none;
  box-sizing: border-box;
}

.bar nav::-webkit-scrollbar,
header.g nav::-webkit-scrollbar,
nav::-webkit-scrollbar {
  display: none;
}

.bar nav a,
header.g nav a,
nav a {
  height: 32px;
  padding: 0 13px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.72) !important;
  white-space: nowrap;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.bar nav a:hover,
header.g nav a:hover,
nav a:hover {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
}

/* Universal Emerald Green Liquid Glass Active Pill across ALL pages */
.bar nav a.on,
.bar nav a.active,
header.g nav a.on,
header.g nav a.active,
nav a.on,
nav a.active {
  background: linear-gradient(180deg, #34d399 0%, #059669 100%) !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.32), 0 2px 8px rgba(0, 0, 0, 0.25) !important;
}

/* Header Buttons: Ultra-clean frosted Apple Liquid Glass (Universal across ALL pages) */
header.g .btn,
.top header .btn,
.acts .btn,
#header-signin-btn,
header.g #header-signin-btn,
.top header #header-signin-btn {
  background: linear-gradient(180deg, #34d399 0%, #059669 100%) !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 2px 6px rgba(0, 0, 0, 0.25) !important;
}

header.g .btn:hover,
.top header .btn:hover,
.acts .btn:hover,
#header-signin-btn:hover,
header.g #header-signin-btn:hover,
.top header #header-signin-btn:hover {
  filter: brightness(1.08) !important;
  transform: translateY(-1px) !important;
}

header.g,
.top header {
  /* Eliminate any colored outer glow */
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.18), inset 0 -1px 0 rgba(0, 0, 0, 0.25) !important;
}

.mid {
  display: none;
}

.srch {
  height: 38px;
  width: 260px;
  border-radius: 999px;
  border: 1px solid var(--gb);
  background: rgba(255, 255, 255, 0.07);
  color: var(--t);
  padding: 0 16px;
  font-size: 13px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
  outline: none;
  transition: border-color 0.2s ease, width 0.2s ease;
}

.srch:focus {
  border-color: var(--bl);
  width: 290px;
}

.srch::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

/* Category Switcher Pill (Used in In-Page Toolbars) */
.sw {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  height: 40px;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 4px 14px rgba(0, 0, 0, 0.2);
  box-sizing: border-box;
}

.sw button {
  border: 0;
  background: none;
  color: var(--t2, rgba(255, 255, 255, 0.7));
  font-size: 12.5px;
  font-weight: 600;
  height: 32px;
  padding: 0 16px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.sw button:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.sw button.on,
.sw button.active {
  background: var(--btn, linear-gradient(135deg, #2563eb, #1d4ed8));
  color: var(--btn-text, #fff);
  font-weight: 600;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 0 14px var(--glow, rgba(37, 99, 235, 0.35));
}

.sw button[data-m="fx"].on,
.sw button[data-m="fx"].active,
.sw button[data-market-target="fx"].on {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8) !important;
  color: #fff !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 0 16px rgba(59, 130, 246, 0.45) !important;
}

.sw button[data-m="fu"].on,
.sw button[data-m="fu"].active,
.sw button[data-market-target="fu"].on {
  background: linear-gradient(135deg, #10b981, #059669) !important;
  color: #fff !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 0 16px rgba(16, 185, 129, 0.45) !important;
}

.sw button[data-m="cr"].on,
.sw button[data-m="cr"].active,
.sw button[data-market-target="cr"].on {
  background: linear-gradient(135deg, #f59e0b, #d97706) !important;
  color: #0c0f1d !important;
  font-weight: 700 !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), 0 0 16px rgba(245, 158, 11, 0.45) !important;
}

.sw button[data-m="pp"].on,
.sw button[data-m="pp"].active,
.sw button[data-market-target="pp"].on {
  background: linear-gradient(135deg, #ec4899, #be185d) !important;
  color: #fff !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 0 16px rgba(236, 72, 153, 0.45) !important;
}

/* Offers In-Page Category Switcher */
.coupon-toolbar-wrap .coupon-category-sw {
  margin: 0 auto;
}

/* Reviews In-Page Category Switcher */
.matrix-toolbar .toolbar-center {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.matrix-toolbar .review-category-sw {
  margin: 0 auto;
}
.matrix-toolbar .review-category-sw button {
  padding: 0 13px !important;
}
.matrix-toolbar .toolbar-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.matrix-toolbar .toolbar-search {
  width: 200px !important;
}

.acts {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Split Layout for Left Sidebar + Matrix Table (PropFirmMatch Image 4) */
.matrix-split-layout {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  width: 100%;
  margin-top: 14px;
  position: relative;
}

.matrix-main-content {
  flex: 1;
  min-width: 0;
  width: 100%;
  transition: all 0.3s ease;
}

.matrix-filter-sidebar {
  width: 290px;
  flex-shrink: 0;
  background: rgba(8, 12, 26, 0.92);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 18px 16px;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (max-width: 990px) {
  .matrix-split-layout {
    flex-direction: column;
  }
  .matrix-filter-sidebar {
    width: 100%;
  }
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.filter-group:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.filter-group-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}

.filter-group-header .filter-val {
  font-size: 11.5px;
  color: var(--accent);
  font-weight: 600;
}

.filter-tags-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.filter-tag-pill {
  padding: 4px 10px;
  font-size: 11.5px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--t2);
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.filter-tag-pill:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
}

.filter-tag-pill.active {
  background: var(--btn);
  color: var(--btn-text);
  border-color: rgba(255, 255, 255, 0.35);
  font-weight: 600;
  box-shadow: 0 0 12px var(--glow);
}

.filter-range-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.filter-range-input {
  width: 100%;
  accent-color: var(--accent);
  cursor: pointer;
}

.reset-filter-link {
  background: none;
  border: none;
  color: var(--pk);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  padding: 8px 0;
  text-align: center;
  transition: opacity 0.2s ease;
}

.reset-filter-link:hover {
  opacity: 0.8;
  text-decoration: underline;
}

/* Footer Social Icons */
.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--t2);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.social-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px var(--glow2);
}

.filter-toggle.active {
  background: var(--btn);
  color: var(--btn-text);
  font-weight: 600;
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 0 14px var(--glow);
}
.pfb-rail {
  margin: 14px auto 0;
  width: calc(100% - 40px);
  max-width: var(--W);
}

.pfb-rail-list {
  list-style: none;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 4px 0;
}

.pfb-rail-list::-webkit-scrollbar {
  display: none;
}

.pfb-rail-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--gl);
  border: 1px solid var(--gb);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
  white-space: nowrap;
  font-size: 12.5px;
  transition: all 0.2s ease;
}

.pfb-rail-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-1px);
}

.pfb-rail-ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  color: var(--bl);
}

.pfb-rail-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 8px var(--ok);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.85); }
}

.pfb-rail-title {
  font-weight: 500;
  color: #fff;
}

.pfb-rail-value {
  color: var(--t2);
  margin-left: 4px;
  font-size: 11.5px;
}

/* ===================================================================
   HERO & TOP PICKS
   =================================================================== */
.hero {
  text-align: center;
  padding: 48px 0 36px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  color: var(--t2);
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 9px var(--ok);
}

h1 {
  font-size: clamp(28px, 4.5vw, 48px);
  line-height: 1.15;
  font-weight: 500;
  letter-spacing: -0.025em;
  margin: 16px auto 0;
  max-width: 820px;
}

.sub {
  max-width: 660px;
  margin: 12px auto 0;
  color: var(--t2);
  font-size: 14.5px;
  line-height: 1.5;
}

/* Hero Quick Stats Row */
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 22px auto 0;
  flex-wrap: wrap;
  max-width: 860px;
}

.hero-stat-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 38px;
  padding: 0 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 4px 16px rgba(0, 0, 0, 0.25);
  font-size: 13px;
  box-sizing: border-box;
  white-space: nowrap;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-stat-pill:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.24);
  transform: translateY(-1px);
}

.hero-stat-icon {
  color: var(--accent);
  filter: drop-shadow(0 0 6px var(--glow));
  flex-shrink: 0;
}

.hero-stat-val {
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.2px;
}

.hero-stat-lbl {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 500;
}

@media (max-width: 640px) {
  .hero-stats {
    gap: 8px;
  }
  .hero-stat-pill {
    padding: 6px 14px;
    font-size: 12px;
  }
}

.mk3 {
  margin-top: 4px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  text-align: left;
}

.hero-top-card {
  border-radius: 20px;
  padding: 18px 16px 14px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: visible;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.hero-top-card.active-market-card {
  border-color: var(--bl);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 0 24px var(--glow2);
}

.your-market-pill {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--btn);
  color: var(--btn-text);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 2px 10px;
  border-radius: 999px;
  box-shadow: 0 0 12px var(--glow);
  white-space: nowrap;
  display: none;
  z-index: 2;
}

.hero-top-card.active-market-card .your-market-pill {
  display: inline-flex;
}

.hero-top-card h2 {
  font-size: 13px;
  font-weight: 600;
  margin: 0 0 12px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #fff;
}

.hero-top-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.hero-top-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.2s ease;
}

.hero-top-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
}

.hero-medal-badge {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}

.hero-medal-badge.gold {
  background: #f59e0b;
  color: #000;
}

.hero-medal-badge.silver {
  background: #cbd5e1;
  color: #000;
}

.hero-medal-badge.bronze {
  background: #fb923c;
  color: #000;
}

.hero-top-item.rank-1-item {
  background: linear-gradient(90deg, rgba(232, 199, 102, 0.14) 0%, rgba(232, 199, 102, 0.02) 70%);
  border-color: rgba(232, 199, 102, 0.4);
}

.hero-top-item.rank-2-item {
  background: linear-gradient(90deg, rgba(201, 209, 217, 0.10) 0%, transparent 70%);
  border-color: rgba(201, 209, 217, 0.25);
}

.hero-top-item.rank-3-item {
  background: linear-gradient(90deg, rgba(214, 154, 107, 0.11) 0%, transparent 70%);
  border-color: rgba(214, 154, 107, 0.3);
}

.hero-top-discount,
.hero-top-item .hero-top-discount,
.hero-top-item .ok {
  color: var(--accent);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: color 0.3s ease;
}

/* 4x2 Exclusive Offers Grid */
.exclusive-offers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 14px;
  width: 100%;
}

@media (max-width: 1100px) {
  .exclusive-offers-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 580px) {
  .exclusive-offers-grid {
    grid-template-columns: 1fr;
  }
}

.exclusive-offer-card {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: all 0.2s ease;
}

.exclusive-offer-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.exclusive-offer-head {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.exclusive-offer-head b {
  font-size: 13.5px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.exclusive-offer-discount {
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.01em;
  transition: color 0.3s ease;
}

.exclusive-offer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
}

/* Offers Band */
.offers {
  margin-top: 14px;
  padding: 16px;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.of {
  padding: 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
  transition: all 0.2s ease;
}

.of:hover {
  background: rgba(255, 255, 255, 0.09);
  transform: translateY(-1px);
}

.of b {
  font-weight: 500;
  font-size: 13.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.of .big {
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
  transition: color 0.3s ease;
}

.of small {
  color: var(--t2);
  font-size: 11.5px;
}

/* ==========================================================================
   PROPFIRMBRIDGE EXACT REPLICA: COUPON CODES & OFFERS LIQUID GLASS STYLES
   ========================================================================== */

/* Breadcrumb */
.coupon-breadcrumb {
  margin-bottom: 16px;
  font-size: 12.5px;
  color: var(--t3);
  overflow-x: auto;
  white-space: nowrap;
}
.coupon-breadcrumb ol {
  display: flex;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
}
.coupon-breadcrumb li {
  display: inline-flex;
  align-items: center;
}
.coupon-breadcrumb a {
  color: var(--t2);
  text-decoration: none;
  transition: color 0.2s ease;
}
.coupon-breadcrumb a:hover {
  color: var(--accent);
  text-decoration: underline;
}
.coupon-breadcrumb .sep {
  margin: 0 8px;
  opacity: 0.4;
}
.coupon-breadcrumb [aria-current="page"] {
  color: #fff;
  font-weight: 500;
}

/* Hero Section */
.coupon-hero {
  position: relative;
  text-align: center;
  padding: 36px 0 24px;
  display: flex;
  justify-content: center;
}
.coupon-hero-content {
  max-width: 980px;
  width: 100%;
  margin: 0 auto;
}
.coupon-hero h1 {
  font-size: clamp(26px, 3.8vw, 38px);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: #fff;
  line-height: 1.15;
  margin: 0 0 10px;
}
.coupon-hero .gradient-year {
  background: linear-gradient(135deg, #fff 20%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: all 0.3s ease;
}
.coupon-hero-sub {
  font-size: 15px;
  color: #B3B3B3;
  line-height: 1.5;
  margin: 0 auto 10px;
  white-space: nowrap;
}
@media (max-width: 920px) {
  .coupon-hero-sub {
    white-space: normal;
    max-width: 680px;
  }
}
.coupon-hero-universal {
  font-size: 13.5px;
  color: #888;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.universal-code-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 24px;
  padding: 0 8px;
  border-radius: 6px;
  border: 1px dashed var(--accent);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-family: monospace;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.05em;
  transition: all 0.2s ease;
  vertical-align: middle;
  box-sizing: border-box;
}
.universal-code-chip:hover {
  background: var(--accent);
  color: #060913;
  box-shadow: 0 0 12px var(--glow2);
  border-style: solid;
}

/* Spotlight Top Discounts Grid (3 Columns) */
.coupon-spotlight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 26px;
}
@media (max-width: 1024px) {
  .coupon-spotlight-grid {
    grid-template-columns: 1fr;
  }
}
.coupon-spotlight-card {
  display: flex;
  flex-direction: column;
  padding: 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 12px 32px rgba(0, 0, 0, 0.35);
  transition: all 0.3s ease;
  position: relative;
}
.coupon-spotlight-card.active-spotlight {
  border-color: var(--accent);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 0 24px var(--glow2);
}
.coupon-spotlight-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.22);
}
.spotlight-card-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 12px;
}
.spotlight-items-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.spotlight-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.2s ease;
}
.spotlight-item.rank-1 {
  border-color: rgba(232, 199, 102, 0.35);
  background: linear-gradient(90deg, rgba(232, 199, 102, 0.14), rgba(232, 199, 102, 0.02) 70%);
}
.spotlight-item.rank-2 {
  border-color: rgba(201, 209, 217, 0.25);
  background: linear-gradient(90deg, rgba(201, 209, 217, 0.09), transparent 70%);
}
.spotlight-item.rank-3 {
  border-color: rgba(214, 154, 107, 0.28);
  background: linear-gradient(90deg, rgba(214, 154, 107, 0.10), transparent 70%);
}
.spotlight-item:hover {
  filter: brightness(1.22);
  transform: translateY(-1px);
}
.spotlight-rank-medal {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.spotlight-rank-num {
  position: absolute;
  top: 3.5px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 6px;
  font-weight: 800;
  color: #000;
  line-height: 1;
}
.spotlight-logo-wrap {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: #141414;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1);
}
.spotlight-item.rank-1 .spotlight-logo-wrap {
  box-shadow: 0 0 0 1px rgba(232, 199, 102, 0.7);
}
.spotlight-item.rank-2 .spotlight-logo-wrap {
  box-shadow: 0 0 0 1px rgba(201, 209, 217, 0.5);
}
.spotlight-item.rank-3 .spotlight-logo-wrap {
  box-shadow: 0 0 0 1px rgba(214, 154, 107, 0.5);
}
.spotlight-logo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  padding: 2px;
  box-sizing: border-box;
}
.spotlight-firm-name {
  flex: 1;
  min-width: 0;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
}
.spotlight-right-col {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.spotlight-discount-txt {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--accent);
  transition: color 0.3s ease;
  white-space: nowrap;
}
.spotlight-discount-txt small {
  font-size: 10px;
  font-weight: 500;
  color: #A1A1A1;
  margin-right: 2px;
}
.spotlight-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 6px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  font-family: monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: all 0.2s ease;
}
.spotlight-copy-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(255, 255, 255, 0.09);
  transform: scale(1.04);
}

/* Unified Apple Liquid Glass Coupon Command Toolbar */
.coupon-toolbar-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: var(--W, 1200px);
  margin: 0 auto 18px;
  padding: 8px 14px;
  background: rgba(12, 18, 36, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  position: relative;
  z-index: 25;
}

.coupon-toolbar-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.coupon-toolbar-wrap .coupon-category-sw {
  margin: 0;
  display: inline-flex;
}

.coupon-toolbar-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 12px;
  font-weight: 600;
  color: var(--t2, #94a3b8);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.coupon-toolbar-badge .live-pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent, #10b981);
  box-shadow: 0 0 8px var(--glow, rgba(16, 185, 129, 0.6));
}

.coupon-toolbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.coupon-toolbar-search-wrap {
  flex-shrink: 0;
}

.coupon-toolbar-search-wrap .coupon-toolbar-search {
  margin: 0;
  width: 220px;
}

.coupon-toolbar-search-wrap .coupon-toolbar-search input {
  height: 38px;
  padding: 0 14px 0 34px;
  font-size: 13px;
  border-radius: 999px;
  background: rgba(8, 12, 28, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  transition: all 0.2s ease;
}

.coupon-toolbar-search-wrap .coupon-toolbar-search input:focus {
  background: rgba(12, 18, 40, 0.85);
  border-color: var(--accent, #3b82f6);
  box-shadow: 0 0 0 3px var(--glow2, rgba(59, 130, 246, 0.25));
}

.coupon-filter-wrap {
  position: relative;
  display: inline-flex;
  flex-shrink: 0;
}

.coupon-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.13);
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 4px 14px rgba(0, 0, 0, 0.2);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  box-sizing: border-box;
}

.coupon-filter-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent, rgba(255, 255, 255, 0.24));
  color: #fff;
}

.coupon-filter-btn.open,
.coupon-filter-btn.has-active {
  background: rgba(59, 130, 246, 0.16);
  border-color: var(--accent, #3b82f6);
  color: #fff;
  box-shadow: 0 0 14px var(--glow2, rgba(59, 130, 246, 0.28));
}

.coupon-filter-btn .filter-icon {
  width: 14px;
  height: 14px;
  stroke-width: 2.2;
}

.coupon-filter-btn .filter-chevron {
  width: 10px;
  height: 10px;
  margin-left: 2px;
  opacity: 0.7;
  transition: transform 0.2s ease;
}

.coupon-filter-btn.open .filter-chevron {
  transform: rotate(180deg);
}

.coupon-filter-btn .filter-count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 17px;
  height: 17px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--btn, linear-gradient(135deg, #3b82f6, #2563eb));
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1;
}

/* Filter Dropdown Popover */
.coupon-filter-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: auto;
  width: 260px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(12, 17, 30, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 120;
  animation: couponFilterFadeIn 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes couponFilterFadeIn {
  from {
    opacity: 0;
    transform: translateY(-6px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.filter-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.filter-panel-title {
  font-size: 11.5px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.filter-reset-link {
  background: none;
  border: none;
  color: var(--t2, #94a3b8);
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  padding: 2px 4px;
  border-radius: 4px;
  transition: all 0.18s ease;
}

.filter-reset-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.filter-panel-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 0;
}

.filter-row-label {
  font-size: 12px;
  color: var(--t2, #94a3b8);
  font-weight: 500;
}

.filter-panel-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.07);
  margin: 6px 0;
}

.coupon-sort-select {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: #fff;
  font-size: 11.5px;
  font-weight: 500;
  cursor: pointer;
  outline: none;
  padding: 5px 8px;
  transition: border-color 0.18s ease;
}

.coupon-sort-select:focus {
  border-color: var(--accent, #3b82f6);
}

.coupon-sort-select option {
  background: #101524;
  color: #fff;
}

.coupon-fav-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none;
  color: var(--t2, #94a3b8);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  padding: 0;
  transition: color 0.2s ease;
}
  background: transparent;
  border: none;
  color: #D4D4D4;
  font-size: 11.5px;
  font-weight: 500;
  cursor: pointer;
  padding: 0 6px;
  transition: color 0.2s ease;
}
.coupon-fav-toggle-btn:hover {
  color: #fff;
}
.toggle-switch-track {
  width: 28px;
  height: 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  position: relative;
  transition: all 0.2s ease;
}
.toggle-switch-knob {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  position: absolute;
  top: 2px;
  left: 2px;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.coupon-fav-toggle-btn.active .toggle-switch-track {
  background: var(--accent);
}
.coupon-fav-toggle-btn.active .toggle-switch-knob {
  transform: translateX(12px);
  background: #060913;
}

/* Coupon Main Table */
.coupon-table-container {
  width: 100%;
  transition: max-width 0.3s ease;
}
.coupon-table-container.expanded {
  max-width: 100% !important;
}
.coupon-table-header {
  display: grid;
  grid-template-columns: 36px minmax(280px, 1.8fr) 120px 110px 140px 125px 130px;
  column-gap: 16px;
  align-items: center;
  padding: 0 18px 8px 18px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #808080;
}
@media (max-width: 1024px) {
  .coupon-table-header {
    display: none;
  }
}
.coupon-table-rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.coupon-rank-row {
  display: grid;
  grid-template-columns: 36px minmax(280px, 1.8fr) 120px 110px 140px 125px 130px;
  column-gap: 16px;
  align-items: center;
  min-height: 72px;
  padding: 10px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 4px 16px rgba(0, 0, 0, 0.25);
  transition: all 0.2s ease;
  position: relative;
}
.coupon-rank-row:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}
.coupon-star-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  color: #5C5C5C;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  transition: all 0.2s ease;
}
.coupon-star-btn:hover {
  color: #FBBF24;
  transform: scale(1.15);
}
.coupon-star-btn.faved {
  color: #FBBF24;
}
.coupon-firm-cell {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.coupon-firm-logo,
.coupon-logo-wrap {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  max-width: 44px;
  max-height: 44px;
  border-radius: 12px;
  background: #141414;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}
.coupon-firm-logo img,
.coupon-logo-wrap img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  padding: 4px;
  display: block;
}
.coupon-firm-info {
  min-width: 0;
  flex: 1;
}
.coupon-firm-name {
  font-size: 13.5px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}
.coupon-firm-promo {
  font-size: 11.5px;
  color: var(--t2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
  display: block;
}
.coupon-rating-cell {
  display: flex;
  align-items: center;
  justify-content: center;
}
.coupon-rating-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  text-decoration: none;
  color: inherit;
}
.coupon-rating-link:hover .coupon-rating-val {
  color: var(--accent);
}
.coupon-stars-wrap {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #F5C451;
  font-size: 11px;
}
.coupon-rating-val {
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  transition: color 0.2s ease;
}
.coupon-rating-count {
  font-size: 10.5px;
  color: var(--t2);
  line-height: 1.15;
  white-space: nowrap;
}
/* Discount Pill Style (Positioned after Prop Firm) */
.coupon-discount-cell {
  display: flex;
  align-items: center;
  justify-content: center;
}
.coupon-discount-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--accent);
  background: var(--glow2);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 5px 14px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 0 12px var(--glow2);
  transition: all 0.2s ease;
}
.coupon-rank-row:hover .coupon-discount-pill {
  border-color: var(--accent);
  box-shadow: 0 0 18px var(--glow2);
  transform: scale(1.05);
}
.coupon-discount-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--accent);
  transition: color 0.3s ease;
}
.coupon-price-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-width: 0;
  gap: 2px;
}
.coupon-price-val {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}
.coupon-price-orig {
  font-size: 11px;
  color: #808080;
  text-decoration: line-through;
  line-height: 1.1;
}
.coupon-price-account {
  font-size: 10.5px;
  color: var(--t2);
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.coupon-code-cell {
  display: flex;
  align-items: center;
  justify-content: center;
}
.coupon-code-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 8px 12px;
  border-radius: 12px;
  border: 1px dashed rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.03);
  font-family: monospace;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #fff;
  cursor: pointer;
  transition: all 0.2s ease;
}
.coupon-code-button:hover {
  border-style: solid;
  border-color: var(--accent);
  background: rgba(111, 155, 255, 0.1);
  color: var(--accent);
  transform: scale(1.02);
}
.coupon-action-cell {
  display: flex;
  align-items: center;
  justify-content: center;
}
.coupon-visit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 36px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #000;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  width: 100%;
  box-shadow: 0 2px 10px var(--glow2);
  white-space: nowrap;
}
.coupon-visit-btn:hover {
  filter: brightness(1.15);
  box-shadow: 0 4px 18px var(--glow2);
  transform: translateY(-1px);
  color: #000;
}

.coupon-see-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 18px;
  padding-bottom: 8px;
}
.coupon-see-more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}
.coupon-see-more-btn:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}

/* Mobile responsive card view - Organized, Zero Truncation, Full Content */
.coupon-discount-mobile {
  display: none;
}
.coupon-firm-name-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.rev-metric-label {
  display: none;
}

@media (max-width: 1024px) {
  .coupon-rank-row {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
    padding: 16px !important;
    border-radius: 18px !important;
    min-height: auto !important;
    background: rgba(255, 255, 255, 0.04) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3) !important;
  }
  .coupon-star-btn {
    display: none !important;
  }
  .coupon-discount-cell {
    display: none !important;
  }
  .coupon-rating-cell,
  .coupon-price-cell {
    display: none !important;
  }
  .coupon-firm-cell {
    grid-column: 1 / -1 !important;
    display: flex !important;
    align-items: flex-start !important;
    gap: 12px !important;
    width: 100% !important;
    min-width: 0 !important;
  }
  .coupon-firm-details {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    flex: 1 !important;
    min-width: 0 !important;
    width: 100% !important;
  }
  .coupon-firm-name-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    width: 100% !important;
  }
  .coupon-firm-name {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #fff !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  .coupon-discount-mobile {
    display: inline-flex !important;
    flex-shrink: 0 !important;
  }
  .coupon-discount-mobile .coupon-discount-pill {
    padding: 5px 12px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    border-radius: 999px !important;
    white-space: nowrap !important;
    letter-spacing: -0.2px !important;
  }
  .coupon-firm-promo {
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    font-size: 13.5px !important;
    line-height: 1.45 !important;
    color: rgba(255, 255, 255, 0.92) !important;
    width: 100% !important;
    margin: 2px 0 0 0 !important;
    word-break: break-word !important;
  }
  .firm-monthly-payout-tag {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    max-width: 100% !important;
    white-space: normal !important;
    flex-wrap: wrap !important;
    font-size: 11px !important;
    padding: 3px 9px !important;
    margin-top: 3px !important;
    width: fit-content !important;
    line-height: 1.4 !important;
  }
  .coupon-code-cell {
    grid-column: 1 / 2 !important;
    width: 100% !important;
  }
  .coupon-action-cell {
    grid-column: 2 / 3 !important;
    width: 100% !important;
  }
  .coupon-code-button,
  .coupon-visit-btn {
    width: 100% !important;
    height: 44px !important;
    min-height: 44px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    border-radius: 12px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
  }
}

@media (max-width: 480px) {
  .coupon-rank-row {
    padding: 14px !important;
    gap: 10px !important;
  }
  .coupon-firm-cell {
    gap: 10px !important;
  }
  .coupon-firm-logo,
  .coupon-logo-wrap {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    min-height: 38px !important;
    border-radius: 10px !important;
  }
  .coupon-firm-name {
    font-size: 15px !important;
  }
  .coupon-firm-promo {
    font-size: 13px !important;
    line-height: 1.4 !important;
  }
}

.coupon-table-container.expanded {
  margin-left: calc(-1 * min(32px, 3vw));
  margin-right: calc(-1 * min(32px, 3vw));
  width: calc(100% + 2 * min(32px, 3vw));
  max-width: calc(100% + 2 * min(32px, 3vw));
}
.expand-table-btn.active {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--accent);
  color: var(--accent);
}

.coupon-empty-state {
  text-align: center;
  padding: 48px 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  backdrop-filter: blur(16px);
  margin-top: 10px;
}

/* Coupon Roundup Table Section */
.coupon-roundup-section {
  margin: 48px 0 36px;
}
.roundup-table-wrap {
  overflow-x: auto;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 8px 24px rgba(0, 0, 0, 0.3);
  margin-top: 14px;
}
.roundup-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  text-align: left;
  font-size: 12.5px;
}
.roundup-table th {
  padding: 12px 16px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #808080;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.roundup-table td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: #D4D4D4;
}
.roundup-table tr:hover td {
  background: rgba(255, 255, 255, 0.03);
}
.roundup-code-pill {
  font-family: monospace;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.08em;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: transparent;
  border: none;
  padding: 0;
  transition: color 0.2s ease;
}
.roundup-code-pill:hover {
  text-decoration: underline;
}
.roundup-table a {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.3);
  text-underline-offset: 4px;
  font-weight: 500;
  transition: color 0.2s ease;
}
.roundup-table a:hover {
  color: var(--accent);
}

/* FAQ Accordion Section (Centered & Compact - Starts Middle & Max 780px) */
.coupon-faqs-section,
.home-faqs-section,
.psc-faq-section,
.firm-faq-section {
  margin: 54px auto 48px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  width: 100% !important;
  max-width: 780px !important;
  padding: 0 16px !important;
  box-sizing: border-box !important;
}
.coupon-faqs-container,
.home-faqs-container,
.psc-faq-container {
  width: 100% !important;
  max-width: 780px !important;
  margin: 0 auto !important;
}
.faq-accordion-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
  width: 100%;
}
.faq-item {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  overflow: hidden;
  transition: all 0.2s ease;
}
.faq-item.open {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.05);
}
.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s ease;
}
.faq-trigger:hover {
  color: var(--accent);
}
.faq-chevron {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: transform 0.25s ease;
  color: var(--t3);
}
.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  color: var(--accent);
}
.faq-panel {
  padding: 0 20px 16px 20px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--t2);
  display: none;
}
.faq-item.open .faq-panel {
  display: block;
  animation: fadeIn 0.2s ease;
}

/* Dash line & separators */
.dash-line {
  display: block;
  height: 1px;
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0) 0%);
  background-position: bottom;
  background-size: 4px 1px;
  background-repeat: repeat-x;
}

.dash-b {
  border-bottom: 1px dashed rgba(255, 255, 255, 0.15);
}

/* Sections */
section {
  padding: 56px 0 0;
}

/* Standard Section Headers: Centered in the middle of page across all pages */
.sh {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
  margin: 0 auto 24px;
  max-width: 820px;
  width: 100%;
}

.sh > div {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  max-width: 780px;
  width: 100%;
}

.sh h2,
.sh h1,
.sh h3 {
  text-align: center;
  margin: 0 auto 6px;
}

.sh .lead,
.sh .sub,
.sh .matrix-sub {
  text-align: center;
  margin: 0 auto;
  max-width: 720px;
  white-space: normal;
}

.sh .rc-home-date-pill {
  margin: 0 auto 10px;
  display: inline-flex;
}

.sh .btn-more,
.sh .btn {
  margin: 12px auto 0;
  display: inline-flex;
}

h2 {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0 0 6px;
}

.lead {
  color: var(--t2);
  margin: 0;
}

.matrix-sub {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

@media (max-width: 820px) {
  .matrix-sub {
    white-space: normal;
  }
}

.chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.chips button {
  height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--gb);
  background: rgba(255, 255, 255, 0.06);
  color: var(--t2);
  font-size: 13px;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition: all 0.2s ease;
}

.chips button:hover {
  color: #fff;
}

.chips button.on {
  background: var(--btn);
  color: var(--btn-text);
  border-color: transparent;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 0 14px var(--glow);
}

.srch.inline {
  width: 220px;
  height: 34px;
}

/* ===================================================================
   MATRIX TABLE & CARD DESIGN (Exact Approved PropFirmBridge Layout)
   Adapted with Liquid Glass Surfaces & Dynamic Market Accents
   =================================================================== */
.matrix-wrap {
  width: 100%;
  margin-top: 24px;
}

.matrix-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: nowrap;
}

.toolbar-left {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 2px;
  flex-shrink: 0;
}

.toolbar-left::-webkit-scrollbar {
  display: none;
}

.filter-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.filter-pill-btn:hover {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.1);
}

.toolbar-divider {
  display: inline-block;
  width: 1px;
  height: 20px;
  background: rgba(255, 255, 255, 0.12);
  margin: 0 3px;
  flex-shrink: 0;
}

.matrix-toolbar .chip {
  height: 40px;
  padding: 0 13px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.05);
  color: var(--t2);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: normal;
  cursor: pointer;
  white-space: nowrap;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 4px 14px rgba(0, 0, 0, 0.2);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.matrix-toolbar .chip:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.25);
}

.matrix-toolbar .chip.active,
.matrix-toolbar .chip.on {
  border-color: var(--accent, #3b82f6);
  background: rgba(59, 130, 246, 0.18);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 2px 8px rgba(0, 0, 0, 0.25);
  font-weight: 600;
}

[data-market="fu"] .matrix-toolbar .chip.active,
[data-market="fu"] .matrix-toolbar .chip.on {
  background: rgba(74, 222, 128, 0.16);
}

[data-market="cr"] .matrix-toolbar .chip.active,
[data-market="cr"] .matrix-toolbar .chip.on {
  background: rgba(250, 204, 21, 0.16);
}

[data-market="pp"] .matrix-toolbar .chip.active,
[data-market="pp"] .matrix-toolbar .chip.on {
  background: rgba(244, 114, 182, 0.16);
}

/* Dynamic Chip Count Badge */
.chip-count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5.5px;
  margin-left: 6px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  transition: all 0.2s ease;
}

.matrix-toolbar .chip.active .chip-count-badge,
.matrix-toolbar .chip.on .chip-count-badge {
  background: var(--bl);
  color: #060913;
}

[data-market="fu"] .matrix-toolbar .chip.active .chip-count-badge,
[data-market="fu"] .matrix-toolbar .chip.on .chip-count-badge {
  background: var(--fu-grn);
  color: #041208;
}

[data-market="cr"] .matrix-toolbar .chip.active .chip-count-badge,
[data-market="cr"] .matrix-toolbar .chip.on .chip-count-badge {
  background: var(--cr-ylw);
  color: #1a1202;
}

[data-market="pp"] .matrix-toolbar .chip.active .chip-count-badge,
[data-market="pp"] .matrix-toolbar .chip.on .chip-count-badge {
  background: var(--pp-pnk);
  color: #17040d;
}

/* Empty Matrix State */
.empty-matrix-state {
  text-align: center;
  padding: 54px 24px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  margin: 16px 0;
  animation: fadeIn 0.25s ease;
}

.empty-matrix-icon {
  font-size: 40px;
  margin-bottom: 12px;
  line-height: 1;
}

.empty-matrix-state h3 {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 8px 0;
}

.empty-matrix-state p {
  font-size: 13.5px;
  color: var(--t3);
  max-width: 440px;
  margin: 0 auto 20px auto;
  line-height: 1.55;
}

.empty-matrix-state .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.toolbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.toolbar-search {
  position: relative;
  display: flex;
  align-items: center;
  width: 240px;
}

.toolbar-search svg {
  position: absolute;
  left: 14px;
  color: var(--t3);
  pointer-events: none;
}

.toolbar-search input {
  width: 100%;
  height: 40px;
  padding: 0 14px 0 38px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 4px 14px rgba(0, 0, 0, 0.2);
  color: #fff;
  font-size: 12.5px;
  outline: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.toolbar-search input:focus {
  border-color: var(--accent, #3b82f6);
  background: rgba(255, 255, 255, 0.09);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 0 18px rgba(59, 130, 246, 0.35);
}

.toolbar-search input::placeholder {
  color: var(--t3);
}

.expand-table-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: transparent;
  color: var(--t2);
  font-size: 11.5px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.expand-table-btn:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.06);
}

/* Matrix Table Container */
.matrix-container {
  width: 100%;
  transition: max-width 0.3s ease;
}

.matrix-container.expanded {
  max-width: 100% !important;
  width: 100% !important;
}

.filter-panel {
  width: 100%;
  margin-top: 10px;
  margin-bottom: 16px;
  padding: 16px 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--gb);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 12px 32px rgba(0, 0, 0, 0.4);
}

.matrix-header {
  display: grid;
  grid-template-columns: minmax(320px, 3.2fr) 78px minmax(110px, 1.2fr) 78px 96px 135px 125px 95px;
  align-items: center;
  gap: 12px;
  padding: 8px 18px 12px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--t3);
  user-select: none;
  width: 100%;
  box-sizing: border-box;
}

.matrix-header .header-col {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  transition: color 0.15s ease;
  background: none;
  border: 0;
  padding: 0;
  color: inherit;
  font: inherit;
}

.matrix-header .header-col:hover {
  color: #fff;
}

.matrix-header .header-col.center {
  justify-content: center;
}

.sort-arrows {
  opacity: 0.45;
  font-size: 11px;
}

.matrix-header .header-col:hover .sort-arrows {
  opacity: 1;
  color: var(--bl);
}

/* Rows */
.matrix-row {
  display: grid;
  grid-template-columns: minmax(320px, 3.2fr) 78px minmax(110px, 1.2fr) 78px 96px 135px 125px 95px;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border-radius: 18px;
  background: var(--gl);
  border: 1px solid var(--gb);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 8px 24px rgba(0, 0, 0, 0.35);
  margin-bottom: 8px;
  position: relative;
  transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
  width: 100%;
  box-sizing: border-box;
}

.matrix-row:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
}

/* Rank 1 Gold Glow & Styling */
.matrix-row.rank-1-row {
  background: linear-gradient(90deg, rgba(232, 199, 102, 0.14), rgba(232, 199, 102, 0.02) 60%), rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(245, 196, 81, 0.45);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 0 24px rgba(245, 196, 81, 0.15);
}

.matrix-row.rank-1-row:hover {
  border-color: rgba(245, 196, 81, 0.7);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 0 30px rgba(245, 196, 81, 0.25);
}

/* Column 1: Firm */
.col-firm {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  overflow: hidden;
}

.rank-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.rank-badge-num {
  position: absolute;
  top: 4.5px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 8px;
  font-weight: 800;
  color: #000;
  line-height: 1;
}

.rank-badge.circle {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--t2);
  font-size: 11px;
  font-weight: 600;
}

.firm-logo-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.16);
  flex-shrink: 0;
  overflow: hidden !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  padding: 0 !important;
}

.rank-1-row .firm-logo-badge {
  box-shadow: 0 0 0 2px rgba(232, 199, 102, 0.6), 0 4px 14px rgba(0, 0, 0, 0.35);
}

.firm-logo-badge img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  padding: 0 !important;
  margin: 0 !important;
  box-sizing: border-box;
  display: block;
  border-radius: inherit;
}

.firm-details {
  min-width: 0;
  flex: 1;
  overflow: hidden;
}

.firm-name-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
  min-width: 0;
}

.firm-name {
  font-size: 13.5px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  transition: color 0.15s ease;
}

.firm-name:hover {
  color: var(--bl);
}

.firm-monthly-payout-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10.5px;
  font-weight: 600;
  color: #34d399;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.24);
  border-radius: 999px;
  padding: 2px 8px;
  margin-top: 3px;
  text-decoration: none;
  transition: all 0.2s ease;
  line-height: 1.3;
  width: fit-content;
  max-width: 100%;
  white-space: nowrap;
}

.firm-monthly-payout-tag:hover {
  background: rgba(16, 185, 129, 0.16);
  border-color: rgba(16, 185, 129, 0.5);
  color: #6ee7b7;
  transform: translateY(-1px);
}

.firm-monthly-payout-tag .payout-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 6px #10b981;
  display: inline-block;
  animation: rcPulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  flex-shrink: 0;
}

.firm-monthly-payout-tag .payout-vol-txt {
  font-weight: 700;
  letter-spacing: -0.2px;
}

.firm-monthly-payout-tag .payout-cnt-txt {
  color: #94a3b8;
  font-weight: 500;
  font-size: 10px;
}


.verified-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--bl);
  flex-shrink: 0;
}

.like-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 0;
  background: none;
  color: var(--t3);
  font-size: 11px;
  padding: 2px 4px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.like-btn:hover {
  color: #f87171;
}

.like-btn.liked {
  color: #ef4444;
}

.fav-star {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: none;
  color: var(--t3);
  padding: 2px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.fav-star:hover {
  color: #fbbf24;
}

.fav-star.faved {
  color: #fbbf24;
}

.firm-meta-mobile {
  display: none;
  font-size: 11px;
  color: var(--t2);
  margin-top: 3px;
}

/* Column 2: Score */
.col-score {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.score-num {
  font-size: 13.5px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

.score-denom {
  font-size: 10.5px;
  font-weight: 400;
  color: var(--t3);
  margin-left: 1px;
}

.meter-bar {
  position: relative;
  display: block;
  border-radius: 999px;
  height: 4px;
  width: 64px;
  background: linear-gradient(90deg, #F87171 0%, #FBBF24 60%, var(--bl) 85%);
  margin-top: 6px;
}

.meter-pin {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 0 8px 2px rgba(255, 255, 255, 0.6);
  width: 4px;
  height: 12px;
}

/* Column 3: Founded */
.col-founded {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-width: 0;
}

.founded-year {
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  line-height: 1.2;
}

.founded-years {
  font-size: 10px;
  color: var(--t3);
  margin-top: 2px;
}

/* Column 4: Country */
.col-country {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #d4d4d4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.country-name-txt {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.country-code-pill {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--t3);
  letter-spacing: 0.05em;
}

/* Column 5: Split */
.col-split {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.split-ring {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
}

.split-ring-svg {
  position: absolute;
  inset: 0;
  transform: rotate(-90deg);
  width: 100%;
  height: 100%;
}

.split-pct {
  font-size: 11px;
  font-weight: 700;
  color: #fff;
}

/* Column 6: Platforms */
.col-platforms {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.plat-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.plat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  padding: 3px;
  box-sizing: border-box;
}

.plat-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  display: block;
}

.plat-fallback-txt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 10px;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: -0.5px;
  user-select: none;
}

/* Column 7: Coupon */
.col-coupon {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 0;
}

.coupon-discount {
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1;
  color: var(--bl);
}

.dashed-coupon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 8px;
  border: 1px dashed rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.dashed-coupon:hover {
  border-color: var(--bl);
  color: var(--bl);
  background: rgba(255, 255, 255, 0.08);
}

/* Column 8: Reviews */
.col-reviews {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  text-align: center;
  min-width: 0;
}

.rev-rating-stars {
  display: flex;
  align-items: center;
  gap: 5px;
}

.rev-val {
  font-size: 12.5px;
  font-weight: 600;
  color: #fff;
}

.rev-stars {
  display: inline-flex;
  gap: 1.5px;
  color: #fbbf24;
  font-size: 11px;
  letter-spacing: 0.5px;
}

.rev-stars.muted {
  color: #fbbf24;
}

.rev-count {
  font-size: 10.5px;
  color: var(--t2);
}

.review-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 24px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  margin-top: 3px;
  transition: all 0.2s ease;
}

.review-btn:hover {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.1);
}

/* Column 9: Action */
.col-action {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
}

.visit-btn {
  height: 36px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--btn);
  color: var(--btn-text);
  font-size: 12px;
  font-weight: 600;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 0 14px var(--glow);
  white-space: nowrap;
}

.visit-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.1);
}

/* Backward compatibility aliases */
.tb {
  padding: 10px;
}

.tr {
  display: grid;
  grid-template-columns: minmax(320px, 3.2fr) 78px minmax(110px, 1.2fr) 78px 96px 135px 125px 95px;
  gap: 12px;
  align-items: center;
  padding: 12px 18px;
  border-radius: 16px;
  width: 100%;
  box-sizing: border-box;
}

.empty {
  padding: 36px;
  text-align: center;
  color: var(--t2);
}

/* Mobile Responsive Matrix */
@media (max-width: 1024px) {
  .matrix-header {
    display: none;
  }
  .matrix-row {
    grid-template-columns: 1fr auto;
    gap: 10px;
    padding: 14px;
  }
  .firm-meta-mobile {
    display: block;
  }
  .col-score, .col-founded, .col-country, .col-split, .col-platforms {
    display: none;
  }
  .col-coupon {
    grid-column: 1;
    align-items: flex-start;
  }
  .col-reviews {
    display: none;
  }
  .col-action {
    grid-column: 2;
  }
}

/* ===================================================================
   RULE CHANGES (Worse / Better Columns)
   =================================================================== */
.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.rc {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.rc small {
  font-size: 12.5px;
  color: var(--t2);
}

.rc h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
}

.rc p {
  margin: 0;
  color: var(--t2);
  font-size: 13.5px;
}

.rc .tag {
  margin-top: 8px;
  font-size: 12.5px;
}

.tag-ok {
  color: var(--ok);
  font-weight: 500;
}

.tag-bad {
  color: #f9a8d4;
  font-weight: 500;
}

/* ===================================================================
   GUIDES (.guide-list)
   =================================================================== */
.guide-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  gap: 0;
}

.guide-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px 20px;
  transition: all 0.2s ease;
}

.guide-item:hover {
  background: rgba(255, 255, 255, 0.03);
}

.guide-item:nth-child(odd) {
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.guide-meta {
  font-size: 11px;
  color: var(--t3);
  margin-bottom: 4px;
}

.guide-title {
  font-size: 13.5px;
  font-weight: 500;
  color: #fff;
  transition: color 0.15s ease;
}

.guide-item:hover .guide-title {
  color: var(--bl);
}

/* Method */
.four {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.four .c {
  padding: 20px;
}

.four h3 {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 500;
}

.four p {
  margin: 0;
  color: var(--t2);
  font-size: 13px;
}

/* FAQ Details/Summary Accordion */
details {
  padding: 16px 20px;
  margin-bottom: 10px;
}

summary {
  cursor: pointer;
  font-weight: 500;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  color: var(--bl);
  font-size: 20px;
  line-height: 1;
  transition: transform 0.2s ease;
}

details[open] summary::after {
  content: "\2212";
}

details p {
  margin: 10px 0 0;
  color: var(--t2);
}

/* Tools */
.tools {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.tool {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 170px;
  transition: all 0.2s ease;
}

.tool:hover {
  background: rgba(255, 255, 255, 0.09);
  transform: translateY(-1px);
}

.tool h3 {
  margin: 0;
  font-size: 15.5px;
  font-weight: 500;
}

.tool p {
  margin: 0;
  color: var(--t2);
  font-size: 13px;
  flex: 1;
}

.tool a {
  color: var(--bl);
  font-size: 13px;
  font-weight: 500;
}

/* Interactive Calculator Elements */
.calc-input-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.calc-input-group label {
  font-size: 12.5px;
  color: var(--t2);
}

.calc-input, .glass-select {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--gb);
  border-radius: 10px;
  color: #fff;
  padding: 9px 12px;
  font-size: 14px;
  outline: none;
  font-family: inherit;
  transition: border-color 0.2s ease;
}

.calc-input:focus, .glass-select:focus {
  border-color: var(--bl);
  box-shadow: 0 0 10px var(--glow2);
}

.calc-result-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--gb);
  border-radius: 14px;
  padding: 16px;
  text-align: center;
}

.calc-result-num {
  font-size: 26px;
  font-weight: 700;
  color: var(--bl);
}

.calc-result-lbl {
  font-size: 12px;
  color: var(--t2);
}

/* Modals */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(2, 4, 10, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop.open {
  display: flex;
}

.modal-card {
  width: 100%;
  max-width: 500px;
  padding: 28px;
  border-radius: 20px;
  background: rgba(11, 16, 36, 0.95);
  border: 1px solid var(--gb);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  position: relative;
}

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  width: 30px;
  height: 30px;
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
}

/* Toast */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  background: rgba(11, 16, 36, 0.95);
  border: 1px solid var(--bl);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 14px var(--glow);
  padding: 10px 16px;
  border-radius: 12px;
  color: #fff;
  font-size: 13.5px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Newsletter */
.nl {
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.nl .f {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.nl input {
  height: 42px;
  width: 280px;
  max-width: 100%;
  border-radius: 999px;
  border: 1px solid var(--gb);
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  padding: 0 16px;
  outline: none;
}

/* Footer */
footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 60px;
  padding: 40px 0 30px;
  color: var(--t2);
  font-size: 13px;
}

.fg {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 24px;
}

.fg b {
  display: block;
  color: #fff;
  font-weight: 500;
  margin-bottom: 8px;
}

.fg a {
  display: block;
  padding: 3px 0;
  transition: color 0.15s ease;
}

.fg a:hover {
  color: var(--bl);
}

.fine {
  margin-top: 26px;
  font-size: 12px;
  line-height: 1.5;
}

/* Responsive Media Queries */
@media(max-width: 1020px) {
  .tr {
    grid-template-columns: minmax(0, 1.6fr) 0.8fr 0.9fr 1fr 110px;
  }
  .tr .hm {
    display: none;
  }
  .offers {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .four, .tools {
    grid-template-columns: 1fr 1fr;
  }
  .fg {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .guide-list {
    grid-template-columns: 1fr;
  }
  .guide-item:nth-child(odd) {
    border-right: none;
  }
}

@media(max-width: 860px) {
  .mk3 {
    grid-template-columns: 1fr;
  }
  .two {
    grid-template-columns: 1fr;
  }
}

@media(max-width: 720px) {
  .bar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .mid {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: stretch;
    flex-wrap: wrap;
    min-width: 0;
  }
  .srch {
    flex: 1;
    width: auto;
    min-width: 0;
  }
  .acts {
    grid-row: 1;
    grid-column: 2;
  }
  nav {
    justify-content: flex-start;
  }
  .offers {
    grid-template-columns: 1fr 1fr;
  }
}

@media(max-width: 560px) {
  .tr {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .tr .sc, .tr.hd {
    display: none;
  }
  .tr .cp, .tr .plats {
    display: none;
  }
  .four, .tools {
    grid-template-columns: 1fr;
  }
  .fg {
    grid-template-columns: 1fr 1fr;
  }
  .sw button {
    padding: 7px 10px;
  }
}

/* ===================================================================
   UNIVERSAL HEADER SEARCH DROPDOWN
   =================================================================== */
.universal-search-dropdown {
  position: fixed;
  z-index: 999999;
  width: 580px;
  max-width: calc(100vw - 24px);
  max-height: 540px;
  background: #090e1f;
  background: rgba(9, 14, 31, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  backdrop-filter: blur(32px) saturate(200%);
  -webkit-backdrop-filter: blur(32px) saturate(200%);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 0 40px var(--glow2);
  display: none;
  flex-direction: column;
  overflow: hidden;
  text-align: left;
  transform-origin: top center;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.universal-search-dropdown.open {
  display: flex;
  animation: usdSlideDown 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes usdSlideDown {
  from { opacity: 0; transform: translateY(-8px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.usd-filters {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  overflow-x: auto;
}

.usd-pill {
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--t2);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.usd-pill:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
}

.usd-pill.active {
  color: #fff;
  background: var(--btn);
  border-color: var(--bl);
  box-shadow: 0 0 10px var(--glow);
}

.usd-body {
  padding: 12px 14px;
  overflow-y: auto;
  max-height: 440px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.usd-body::-webkit-scrollbar {
  width: 6px;
}
.usd-body::-webkit-scrollbar-track {
  background: transparent;
}
.usd-body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 999px;
}

.usd-section-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--t3);
  margin: 4px 6px 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.usd-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.usd-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.15s ease;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  gap: 10px;
}

.usd-item:hover, .usd-item.selected {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateX(2px);
}

.usd-item-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.usd-item-info {
  min-width: 0;
}

.usd-item-name {
  font-size: 13.5px;
  font-weight: 600;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.usd-mkt-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.usd-mkt-badge.forex { background: rgba(59, 130, 246, 0.16); color: #3b82f6; border: 1px solid rgba(59, 130, 246, 0.3); }
.usd-mkt-badge.futures { background: rgba(74, 222, 128, 0.16); color: #4ade80; border: 1px solid rgba(74, 222, 128, 0.3); }
.usd-mkt-badge.crypto { background: rgba(250, 204, 21, 0.16); color: #facc15; border: 1px solid rgba(250, 204, 21, 0.3); }
.usd-mkt-badge.perps { background: rgba(244, 114, 182, 0.16); color: #f472b6; border: 1px solid rgba(244, 114, 182, 0.3); }

.usd-item-sub {
  font-size: 11.5px;
  color: var(--t2);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.usd-item-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.usd-dashed-code {
  border: 1px dashed var(--bl);
  background: rgba(111, 155, 255, 0.08);
  color: var(--bl);
  padding: 4px 9px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.usd-dashed-code:hover {
  background: var(--bl);
  color: #fff;
}

.usd-action-btn {
  height: 28px;
  padding: 0 12px;
  font-size: 11.5px;
  font-weight: 600;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: var(--btn);
  color: #fff;
  border: 1px solid var(--bl);
  transition: all 0.15s;
}
.usd-action-btn:hover {
  filter: brightness(1.15);
  box-shadow: 0 0 10px var(--glow);
}

.usd-action-btn.secondary {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
  color: var(--t);
}
.usd-action-btn.secondary:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.28);
}

.usd-quick-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  text-decoration: none;
  color: var(--t);
  font-size: 13px;
  transition: all 0.15s;
}
.usd-quick-link:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
}
.usd-quick-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.usd-footer {
  padding: 8px 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: var(--t3);
}
.usd-hints {
  display: flex;
  align-items: center;
  gap: 10px;
}
.usd-kbd {
  background: rgba(255, 255, 255, 0.1);
  padding: 1px 5px;
  border-radius: 4px;
  font-family: inherit;
  font-size: 10px;
  color: var(--t2);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

/* ===================================================================
   SIGN IN PAGE (Exact Match to Image 2)
   =================================================================== */
body.signin-body, body[data-page="signin"] {
  padding-top: 0 !important;
  margin: 0;
  min-height: 100vh;
}

.signin-viewport {
  min-height: 100vh;
  display: flex;
  background: var(--bg);
  color: var(--t);
  position: relative;
  overflow-x: hidden;
}

.signin-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  min-height: 100vh;
}

/* Left Hero Column */
.signin-left {
  padding: 56px 64px 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  background: radial-gradient(circle at 10% 20%, var(--orb1) 0%, transparent 60%);
}

.signin-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 19px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
}
.signin-logo img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.signin-hero-h1 {
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.025em;
  margin: 40px 0 36px;
  max-width: 480px;
}

.signin-features {
  display: flex;
  flex-direction: column;
  gap: 26px;
  margin: 32px 0 48px;
  max-width: 440px;
}

.signin-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.signin-feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  flex-shrink: 0;
}

.signin-feature-title {
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 3px;
}

.signin-feature-sub {
  font-size: 13px;
  color: var(--t2);
  line-height: 1.45;
}

.signin-left-footer {
  font-size: 12.5px;
  color: var(--t3);
  padding-top: 24px;
}

/* Right Form Column */
.signin-right {
  padding: 48px 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: #060911;
  background-image: radial-gradient(circle at 90% 85%, var(--orb2) 0%, rgba(10, 15, 28, 0.4) 40%, transparent 70%);
  min-height: 100vh;
  box-sizing: border-box;
  transition: background-image 0.3s ease;
}

.signin-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--t2);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  transition: color 0.15s;
}
.signin-back-link:hover {
  color: #fff;
}

.signin-box {
  max-width: 420px;
  width: 100%;
  margin: auto 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.signin-box h2 {
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 10px 0;
  letter-spacing: -0.5px;
}

.signin-box p {
  font-size: 14.5px;
  color: var(--t2);
  margin: 0 0 32px 0;
  line-height: 1.5;
}

/* Google Sign-in Button (Exact Match) */
.google-continue-btn {
  width: 100%;
  max-width: 380px;
  height: 52px;
  background: #ffffff;
  color: #1f1f1f;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  font-family: inherit;
}

.google-continue-btn:hover {
  background: #f8fafc;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.18);
}

.google-continue-btn:active {
  transform: translateY(0);
}

.signin-disclaimer {
  font-size: 12px;
  color: var(--t3);
  margin-top: 24px;
  max-width: 380px;
  line-height: 1.5;
}
.signin-disclaimer a {
  color: var(--t2);
  text-decoration: underline;
}

/* User Avatar & Logged in State in Header */
.user-profile-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px 4px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 13px;
  color: #fff;
  font-weight: 500;
}
.user-profile-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.user-signout-btn {
  background: transparent;
  border: none;
  color: var(--t3);
  cursor: pointer;
  font-size: 11px;
  padding: 2px 4px;
  margin-left: 4px;
  border-radius: 4px;
  transition: color 0.15s;
}
.user-signout-btn:hover {
  color: var(--warn);
}

@media(max-width: 900px) {
  .signin-container {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .signin-left, .signin-right {
    padding: 36px 24px;
  }
  .signin-left {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
}

/* ==========================================================================
   Blog & Insights Page Styles
   ========================================================================== */
.blog-hero {
  padding: 36px 0 24px;
  text-align: center;
}
.blog-hero h1 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 12px;
  color: #fff;
}
.blog-hero p {
  max-width: 680px;
  margin: 0 auto 24px;
  font-size: 15px;
  color: var(--t2);
  line-height: 1.6;
}
.blog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
  padding: 14px 20px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-b);
  border-radius: 16px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.blog-filter-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.blog-pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--t2);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}
.blog-pill:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}
.blog-pill.active {
  background: var(--mk-c, #3b82f6);
  color: #fff;
  border-color: var(--mk-c, #3b82f6);
  box-shadow: 0 0 16px -2px var(--mk-glow, rgba(59, 130, 246, 0.4));
}
.blog-search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 6px 16px;
  min-width: 240px;
  transition: all 0.2s ease;
}
.blog-search-box:focus-within {
  border-color: var(--mk-c, #3b82f6);
  box-shadow: 0 0 0 3px var(--mk-glow, rgba(59, 130, 246, 0.25));
  background: rgba(255, 255, 255, 0.08);
}
.blog-search-box input {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 13px;
  outline: none;
  width: 100%;
}
.blog-search-box input::placeholder {
  color: var(--t3);
}

/* Featured Article Card */
.blog-featured {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 28px;
  margin-bottom: 36px;
  padding: 32px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-b);
  border-radius: 20px;
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow: 0 12px 40px -10px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.blog-featured:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 16px 48px -10px var(--mk-glow, rgba(59, 130, 246, 0.2)), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.blog-featured-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--mk-c, #3b82f6);
  color: var(--mk-c, #3b82f6);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}
.blog-featured-title {
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  margin: 0 0 14px;
}
.blog-featured-desc {
  font-size: 14px;
  color: var(--t2);
  line-height: 1.6;
  margin-bottom: 20px;
}
.blog-featured-takeaways {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 20px;
}
.blog-takeaway-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--t2);
  line-height: 1.45;
}
.blog-takeaway-item span.icon {
  color: var(--mk-c, #3b82f6);
  font-size: 14px;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Articles Grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}
.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--glass-bg);
  border: 1px solid var(--glass-b);
  border-radius: 18px;
  padding: 24px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px -8px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  position: relative;
}
.blog-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 16px 40px -10px var(--mk-glow, rgba(59, 130, 246, 0.15)), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.blog-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  gap: 8px;
}
.blog-card-tag {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--mk-c, #3b82f6);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.blog-card-meta {
  font-size: 11px;
  color: var(--t3);
  display: flex;
  align-items: center;
  gap: 6px;
}
.blog-card-title {
  font-size: 17px;
  font-weight: 600;
  color: #fff;
  line-height: 1.4;
  margin: 0 0 10px;
}
.blog-card-excerpt {
  font-size: 13px;
  color: var(--t2);
  line-height: 1.55;
  margin-bottom: 18px;
  flex: 1;
}
.blog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  margin-top: auto;
}
.blog-card-author {
  display: flex;
  align-items: center;
  gap: 8px;
}
.blog-author-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.blog-author-name {
  font-size: 12px;
  font-weight: 500;
  color: var(--t1);
}
.blog-author-role {
  font-size: 10px;
  color: var(--t3);
}

/* Newsletter / Alert Banner */
.blog-newsletter {
  padding: 36px 32px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid var(--glass-b);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 12px 36px -10px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.blog-newsletter-info {
  max-width: 520px;
}
.blog-newsletter-info h3 {
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 8px;
}
.blog-newsletter-info p {
  font-size: 13.5px;
  color: var(--t2);
  line-height: 1.5;
  margin: 0;
}
.blog-newsletter-form {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 280px;
  max-width: 440px;
}

/* Article Reader Modal */
.article-modal-card {
  max-width: 760px;
  width: 90vw;
  max-height: 85vh;
  overflow-y: auto;
  background: #0f121a;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 22px;
  padding: 36px;
  position: relative;
  box-shadow: 0 24px 64px -12px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.article-modal-header {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.article-modal-title {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  margin: 12px 0;
}
.article-modal-body {
  font-size: 15px;
  line-height: 1.7;
  color: var(--t1);
}
.article-modal-body h4 {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  margin: 28px 0 12px;
}
.article-modal-body p {
  margin-bottom: 16px;
  color: var(--t2);
}
.article-callout {
  background: rgba(255, 255, 255, 0.04);
  border-left: 3px solid var(--mk-c, #3b82f6);
  padding: 14px 18px;
  border-radius: 0 10px 10px 0;
  margin: 20px 0;
  font-size: 14px;
  color: #fff;
}

@media(max-width: 860px) {
  .blog-featured {
    grid-template-columns: 1fr;
    padding: 24px;
  }
  .blog-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
  .blog-search-box {
    width: 100%;
  }
  .blog-newsletter {
    flex-direction: column;
    align-items: stretch;
    padding: 24px;
  }
  .blog-newsletter-form {
    max-width: 100%;
    flex-direction: column;
  }
  .blog-newsletter-form input, .blog-newsletter-form button {
    width: 100%;
  }
}

@media(prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}


/* ==========================================================================
   Compare Prop Firms Page (Side-by-Side Comparison Tool & Popular Comparisons)
   ========================================================================== */

.compare-breadcrumb {
  margin: 18px 0 12px;
  font-size: 12.5px;
  color: var(--t3);
  text-align: center;
}
.compare-breadcrumb ol {
  display: flex;
  align-items: center;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 8px;
}
.compare-breadcrumb a {
  color: var(--t2);
  text-decoration: none;
  transition: color 0.2s ease;
}
.compare-breadcrumb a:hover {
  color: var(--mk, #3b82f6);
}
.compare-breadcrumb .sep {
  opacity: 0.4;
  margin: 0 2px;
}
.compare-breadcrumb li[aria-current="page"] {
  color: #fff;
  font-weight: 500;
}

.compare-hero {
  padding: 32px 0 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.compare-title {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.8px;
  color: #fff;
  margin: 0 0 10px;
  line-height: 1.15;
  text-align: center;
}
.compare-title .gradient-text {
  background: linear-gradient(135deg, #fff 30%, var(--mk, #3b82f6) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.compare-sub {
  font-size: 15px;
  color: var(--t2);
  line-height: 1.6;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

/* Quick Matchup Pills */
.compare-quick-matchups {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
  max-width: 960px;
}
.quick-matchup-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--t3);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-right: 4px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.quick-matchup-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 12px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #d4d4d4;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(10px);
}
.quick-matchup-pill:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--mk, #3b82f6);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px -4px var(--glow, rgba(59, 130, 246, 0.35));
}
.quick-matchup-pill .vs-badge {
  font-size: 9.5px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--mk, #3b82f6);
  padding: 1px 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
}

/* Controls Toolbar — Floating Liquid Glass Capsule (Scrolls Naturally With Page) */
.compare-sticky-toolbar {
  position: relative;
  top: auto;
  z-index: 45;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  padding: 6px 0;
  margin-bottom: 18px;
  pointer-events: none;
}
.compare-toolbar-inner {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 10px 14px;
  border-radius: 20px;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.085) 0%, rgba(255, 255, 255, 0.025) 42%, rgba(8, 12, 28, 0.68) 100%),
    rgba(8, 12, 28, 0.56);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-top-color: rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(24px) saturate(185%);
  -webkit-backdrop-filter: blur(24px) saturate(185%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -1px 0 rgba(255, 255, 255, 0.05),
    0 16px 40px rgba(0, 0, 0, 0.42);
}
.compare-add-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 16px;
  border-radius: 9999px;
  background: var(--btn, linear-gradient(180deg, #3b82f6 0%, #1d4ed8 100%));
  color: var(--btn-text, #ffffff);
  font-size: 12.5px;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.24);
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    0 0 18px var(--glow2, rgba(37, 99, 235, 0.36));
  flex-shrink: 0;
}
.compare-add-btn:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 6px 22px var(--glow, rgba(37, 99, 235, 0.48));
}
.compare-chips-container {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  flex: 1;
  min-width: 0;
}
.compare-chips-container::-webkit-scrollbar {
  display: none;
}
.compare-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 10px 0 6px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-top-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.065);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
  font-size: 12px;
  font-weight: 500;
  color: #fff;
  white-space: nowrap;
  flex-shrink: 0;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.compare-chip:hover {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.11);
  transform: translateY(-1px);
}
.compare-chip-logo {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.compare-chip-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.56);
  cursor: pointer;
  border: none;
  background: transparent;
  padding: 0;
  margin-left: 2px;
  transition: color 0.15s ease, background 0.15s ease;
}
.compare-chip-remove:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
}
.compare-clear-btn {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  color: var(--t2, rgba(255, 255, 255, 0.7));
  border-radius: 9999px;
  height: 32px;
  padding: 0 13px;
  font-size: 11.5px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}
.compare-clear-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
}
.compare-sizes-bar {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-left: auto;
  padding: 3px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  overflow-x: auto;
  scrollbar-width: none;
}
.compare-sizes-bar::-webkit-scrollbar {
  display: none;
}
.compare-size-pill {
  height: 28px;
  padding: 0 11px;
  border-radius: 9999px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--t2, rgba(255, 255, 255, 0.66));
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.compare-size-pill:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}
.compare-size-pill.active {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(226, 232, 240, 0.92) 100%);
  color: #050814;
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow: inset 0 1px 0 #ffffff, 0 4px 12px rgba(255, 255, 255, 0.22);
}

/* Add Firms Popover — Frosted Liquid Glass */
.compare-add-popover {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  width: min(420px, calc(100vw - 2rem));
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.085) 0%, rgba(255, 255, 255, 0.025) 38%, rgba(8, 12, 28, 0.86) 100%),
    rgba(8, 12, 28, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-top-color: rgba(255, 255, 255, 0.26);
  border-radius: 18px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 24px 60px -16px rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(28px) saturate(185%);
  -webkit-backdrop-filter: blur(28px) saturate(185%);
  z-index: 55;
  overflow: hidden;
  display: none;
}
.compare-add-popover.open {
  display: block;
  animation: popoverFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes popoverFadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}
.compare-popover-search-wrap {
  position: relative;
  padding: 12px 14px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.compare-search-icon {
  position: absolute;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.5);
  pointer-events: none;
}
.compare-popover-search {
  width: 100%;
  height: 38px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 0 12px 0 34px;
  color: #fff;
  font-size: 13px;
  outline: none;
  box-sizing: border-box;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.compare-popover-search:focus {
  border-color: var(--mk, #3b82f6);
  box-shadow: 0 0 0 3px var(--glow2, rgba(59, 130, 246, 0.2));
}
.compare-popover-tabs {
  display: flex;
  gap: 6px;
  padding: 8px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow-x: auto;
}
.compare-popover-tab {
  height: 26px;
  padding: 0 10px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: var(--t2);
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.16s ease;
}
.compare-popover-tab.active {
  background: var(--btn, rgba(255, 255, 255, 0.14));
  color: var(--btn-text, #fff);
  border-color: rgba(255, 255, 255, 0.24);
  font-weight: 600;
}
.compare-popover-list {
  max-height: 280px;
  overflow-y: auto;
  padding: 6px;
}
.compare-popover-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.15s ease;
}
.compare-popover-item:hover {
  background: rgba(255, 255, 255, 0.07);
}
.compare-popover-item.selected {
  background: rgba(59, 130, 246, 0.16);
  border: 1px solid rgba(59, 130, 246, 0.28);
}

/* Comparison Table Container — Signature Multi-Layer Liquid Glass */
.compare-table-wrap {
  position: relative;
  overflow-x: auto;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-top-color: rgba(255, 255, 255, 0.24);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.075) 0%, rgba(255, 255, 255, 0.02) 40%, rgba(8, 12, 28, 0.64) 100%),
    rgba(8, 12, 28, 0.56);
  backdrop-filter: blur(24px) saturate(185%);
  -webkit-backdrop-filter: blur(24px) saturate(185%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -1px 0 rgba(255, 255, 255, 0.04),
    0 24px 56px rgba(0, 0, 0, 0.48);
  margin-bottom: 48px;
}
.compare-table-wrap::-webkit-scrollbar {
  height: 8px;
}
.compare-table-wrap::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.03);
}
.compare-table-wrap::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.22);
  border-radius: 4px;
}

.compare-matrix-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  text-align: left;
  font-size: 12.5px;
  min-width: 860px;
  table-layout: fixed;
}

/* Sticky left column — Deep Midnight Sapphire Frosted Glass */
.compare-sticky-col {
  position: sticky;
  left: 0;
  z-index: 15;
  width: 190px;
  min-width: 190px;
  max-width: 190px;
  background: rgba(8, 12, 28, 0.86);
  backdrop-filter: blur(18px) saturate(170%);
  -webkit-backdrop-filter: blur(18px) saturate(170%);
  border-right: 1px solid rgba(255, 255, 255, 0.09);
  border-bottom: none !important;
  padding: 12px 16px;
  color: rgba(255, 255, 255, 0.62);
  font-weight: 500;
  vertical-align: middle;
}
.compare-sticky-header {
  position: sticky;
  top: 0;
  left: 0;
  z-index: 25;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(8, 12, 28, 0.9) 100%),
    rgba(8, 12, 28, 0.88);
  backdrop-filter: blur(20px) saturate(175%);
  -webkit-backdrop-filter: blur(20px) saturate(175%);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 16px;
  vertical-align: top;
  width: 190px;
  min-width: 190px;
  max-width: 190px;
}
.compare-firm-col-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055) 0%, rgba(10, 15, 34, 0.72) 100%);
  backdrop-filter: blur(20px) saturate(175%);
  -webkit-backdrop-filter: blur(20px) saturate(175%);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 16px;
  vertical-align: top;
  min-width: 220px;
}
.compare-program-select {
  width: 100%;
  height: 34px;
  padding: 0 28px 0 10px;
  font-size: 11.5px;
  color: #fff;
  background: rgba(255, 255, 255, 0.065);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  appearance: none;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.compare-program-select:hover,
.compare-program-select:focus {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--mk, #3b82f6);
  outline: none;
}
.compare-program-select option {
  background: #090e22;
  color: #fff;
}
.compare-visit-btn {
  height: 32px;
  padding: 0 10px;
  font-size: 11.5px;
  font-weight: 600;
  background: var(--btn, linear-gradient(180deg, #3b82f6 0%, #1d4ed8 100%));
  color: var(--btn-text, #ffffff);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  border-radius: 999px;
  text-decoration: none;
}
.compare-review-btn {
  height: 32px;
  padding: 0 10px;
  font-size: 11.5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  text-decoration: none;
}
.compare-cell {
  border-left: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 12px 16px;
  color: #e5e5e5;
  vertical-align: middle;
  background: rgba(255, 255, 255, 0.014);
  transition: background 0.16s ease;
}
.compare-matrix-table tr:hover .compare-cell {
  background: rgba(255, 255, 255, 0.045);
}
.compare-matrix-table tr:hover .compare-sticky-col {
  background: rgba(14, 20, 44, 0.92);
}

/* Collapsible section row — Liquid Glass Band */
.compare-section-tr th {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 0%, rgba(255, 255, 255, 0.015) 100%),
    rgba(8, 12, 28, 0.72);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 13px 16px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--t2);
}
.compare-section-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  cursor: pointer;
  padding: 0;
  transition: color 0.2s ease;
}
.compare-section-toggle:hover {
  color: #fff;
}
.compare-section-toggle svg {
  transition: transform 0.25s ease;
}
.compare-section-toggle.collapsed svg {
  transform: rotate(-90deg);
}

/* Status pills */
.compare-status-pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 500;
}
.compare-status-allowed {
  background: rgba(34, 197, 94, 0.14);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.28);
}
.compare-status-not-allowed {
  background: rgba(239, 68, 68, 0.12);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.24);
}
.compare-status-neutral {
  background: rgba(255, 255, 255, 0.07);
  color: #cbd5e1;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

/* Empty State */
.compare-empty-state {
  text-align: center;
  padding: 64px 20px;
}
.compare-empty-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--mk, #3b82f6);
  margin-bottom: 16px;
}

/* Popular Comparisons Section — Liquid Glass Matchup Directory */
.popular-comparisons-wrap {
  margin: 56px 0 48px;
  padding-top: 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.popular-comparisons-title {
  font-size: clamp(24px, 3.2vw, 30px);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.025em;
}
/* Override global `.sh > div` column rule so the category bar renders cleanly horizontal */
body[data-page="compare"] .popular-comparisons-wrap > .sh {
  gap: 14px !important;
  margin-bottom: 28px !important;
}
body[data-page="compare"] .popular-comparisons-wrap > .sh > .popular-cats-tabs,
.popular-cats-tabs {
  display: inline-flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  max-width: 100% !important;
  gap: 4px !important;
  padding: 5px !important;
  margin: 4px auto 0 !important;
  border-radius: 9999px !important;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.085) 0%, rgba(8, 12, 28, 0.68) 100%),
    rgba(8, 12, 28, 0.56) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-top-color: rgba(255, 255, 255, 0.22) !important;
  backdrop-filter: blur(22px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(22px) saturate(180%) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 12px 32px rgba(0, 0, 0, 0.4) !important;
}
.popular-tab-btn {
  height: 32px;
  padding: 0 16px;
  border-radius: 9999px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--t2, rgba(255, 255, 255, 0.72));
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.18s ease;
}
.popular-tab-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}
.popular-tab-btn.active {
  background: var(--btn, linear-gradient(180deg, #3b82f6 0%, #1d4ed8 100%));
  color: var(--btn-text, #ffffff);
  font-weight: 700;
  border-color: rgba(255, 255, 255, 0.26);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.42), 0 0 18px var(--glow2, rgba(37, 99, 235, 0.42));
}
.popular-comparisons-cat-title {
  font-size: 15.5px;
  font-weight: 700;
  color: #ffffff;
  margin: 32px 0 14px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.popular-comparisons-cat-title::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mk, #3b82f6);
  box-shadow: 0 0 10px var(--glow2, rgba(59, 130, 246, 0.7));
}
.popular-comparisons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(295px, 1fr));
  gap: 10px 14px;
}
.popular-comparison-link {
  font-size: 13px;
  color: #cbd5e1;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 13px;
  min-width: 0;
  overflow: hidden;
  border-radius: 14px;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.065) 0%, rgba(255, 255, 255, 0.015) 45%, rgba(8, 12, 28, 0.58) 100%),
    rgba(10, 15, 34, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-top-color: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(18px) saturate(165%);
  -webkit-backdrop-filter: blur(18px) saturate(165%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 8px 20px rgba(0, 0, 0, 0.28);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}
.popular-comparison-link .p-pair {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
}
.p-firm {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  flex: 0 1 auto;
  overflow: hidden;
}
.p-fname {
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}
.p-firm-logo,
.p-firm-logo-fallback {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
}
.p-firm-logo-fallback,
.quick-matchup-logo-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: #ffffff;
}
.quick-matchup-logo,
.quick-matchup-logo-fallback {
  width: 17px;
  height: 17px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
}
@media (max-width: 640px) {
  .popular-comparisons-grid {
    grid-template-columns: 1fr;
  }
}
.popular-comparison-link:hover {
  color: #fff;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.1) 0%, rgba(16, 24, 52, 0.72) 100%);
  border-color: var(--theme-border, var(--mk, #3b82f6));
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 8px 24px -4px var(--glow2, rgba(59, 130, 246, 0.32));
}
.popular-comparison-link svg {
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.popular-comparison-link:hover svg {
  opacity: 0.9 !important;
  transform: translateX(2px);
}
.popular-comparison-link .p-vs {
  font-size: 9.5px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--mk-light, var(--mk, #60a5fa));
  padding: 2px 6px;
  border-radius: 5px;
  background: var(--rc-theme-bg, rgba(59, 130, 246, 0.14));
  border: 1px solid var(--theme-border, rgba(59, 130, 246, 0.28));
  margin: 0 5px;
  flex-shrink: 0;
}

.popular-seemore-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 26px;
  border-radius: 999px;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.08) 0%, rgba(10, 15, 34, 0.68) 100%),
    rgba(8, 12, 28, 0.56);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-top-color: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(18px) saturate(170%);
  -webkit-backdrop-filter: blur(18px) saturate(170%);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 8px 24px rgba(0, 0, 0, 0.36);
}

.popular-seemore-btn:hover {
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.12) 0%, rgba(16, 24, 52, 0.78) 100%);
  border-color: var(--theme-border, rgba(255, 255, 255, 0.28));
  transform: translateY(-1.5px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.26), 0 10px 26px var(--glow2, rgba(59, 130, 246, 0.28));
}

.popular-toggle-inline-btn {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--mk-light, var(--mk, #60a5fa));
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  padding: 5px 12px;
  border-radius: 999px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition: all 0.18s ease;
}

.popular-toggle-inline-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--theme-border, rgba(59, 130, 246, 0.4));
  text-decoration: none;
}

body[data-page="compare"] .faq-item {
  background: rgba(8, 12, 28, 0.62) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  backdrop-filter: blur(22px) saturate(175%) !important;
  -webkit-backdrop-filter: blur(22px) saturate(175%) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.14) !important;
}
body[data-page="compare"] .faq-item.open {
  background: rgba(12, 18, 40, 0.78) !important;
  border-color: var(--theme-border, rgba(59, 130, 246, 0.42)) !important;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.52), 0 0 24px var(--glow2, rgba(59, 130, 246, 0.22)), inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
}

@media(max-width: 768px) {
  .compare-toolbar-inner {
    padding: 8px 10px;
    border-radius: 16px;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .compare-toolbar-inner::-webkit-scrollbar {
    display: none;
  }
  .compare-add-btn {
    flex-shrink: 0;
    height: 34px;
    padding: 0 12px;
    font-size: 12px;
  }
  .compare-chips-container {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
  }
  .compare-chip {
    height: 32px;
    padding: 0 8px 0 6px;
    font-size: 11.5px;
    flex-shrink: 0;
  }
  .compare-clear-btn {
    flex-shrink: 0;
  }
  body[data-page="compare"] .popular-comparisons-wrap > .sh > .popular-cats-tabs,
  .popular-cats-tabs {
    gap: 4px !important;
    padding: 4px !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    flex-wrap: nowrap !important;
  }
  .popular-cats-tabs::-webkit-scrollbar {
    display: none;
  }
  .popular-tab-btn {
    height: 28px;
    padding: 0 11px;
    font-size: 11.5px;
    flex-shrink: 0;
  }
  .compare-sizes-bar {
    width: 100%;
    margin-left: 0;
    margin-top: 6px;
    display: flex;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    flex-wrap: nowrap;
    gap: 6px;
    padding-bottom: 2px;
  }
  .compare-sizes-bar::-webkit-scrollbar {
    display: none;
  }
  .compare-size-pill {
    flex-shrink: 0;
    padding: 5px 12px;
    font-size: 12px;
  }
  .compare-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    margin-bottom: 24px;
  }
  .compare-sticky-col,
  .compare-sticky-header {
    width: 128px;
    min-width: 128px;
    max-width: 128px;
    padding: 10px 8px;
    box-shadow: 4px 0 14px rgba(0, 0, 0, 0.45);
    z-index: 10;
  }
  .compare-firm-col-header,
  .compare-cell {
    min-width: 150px;
    padding: 10px 10px;
  }
  .compare-add-popover {
    max-width: calc(100vw - 32px);
    width: 320px;
    left: 0;
  }
}

/* ==========================================================================
   Prop Firm Profile Page (Standardized Liquid Glass Template)
   ========================================================================== */

/* ==========================================================================
   PROP FIRM LENZ - PROP FIRM PROFILE COMPLETE LIQUID-GLASS SUITE
   Matches propfirmbridge.com/prop-firms/the5ers with dynamic theme colors
   ========================================================================== */

/* ==========================================================================
   PROP FIRM LENZ - PROP FIRM PROFILE COMPLETE LIQUID-GLASS SUITE
   ========================================================================== */

/* Breadcrumb */
.firm-profile-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--t3);
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}
.firm-profile-breadcrumb a {
  color: var(--t2);
  text-decoration: none;
  transition: color 0.15s ease;
}
.firm-profile-breadcrumb a:hover {
  color: var(--mk, #3b82f6);
}
.firm-profile-breadcrumb .sep {
  opacity: 0.4;
}
.firm-profile-breadcrumb .current {
  color: #fff;
  font-weight: 500;
}

/* Hero Section */
.firm-profile-hero {
  position: relative;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.035) 0%, rgba(255, 255, 255, 0.008) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 28px 32px 24px;
  margin-bottom: 20px;
  box-shadow: 0 20px 48px -16px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  overflow: hidden;
}
.firm-profile-hero::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -100px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: var(--glow, rgba(59, 130, 246, 0.15));
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}

.firm-hero-top-row {
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
  z-index: 1;
}
.firm-hero-logo-box {
  width: 112px;
  height: 112px;
  flex-shrink: 0;
  border-radius: 18px;
  background: rgba(18, 18, 20, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}
.firm-hero-logo {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  padding: 8px;
  box-sizing: border-box;
}

.firm-hero-meta-col {
  flex: 1;
  min-width: 0;
}
.firm-hero-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.firm-hero-name {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.035em;
  color: #fff;
  margin: 0;
  line-height: 1.1;
}
.firm-like-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 12px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.03);
  color: #a1a1a1;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  backdrop-filter: blur(10px);
}
.firm-like-btn:hover, .firm-like-btn.liked {
  border-color: rgba(248, 113, 113, 0.5);
  color: #f87171;
  background: rgba(248, 113, 113, 0.08);
}
.firm-like-btn svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
}
.firm-like-btn.liked svg {
  fill: #f87171;
  transform: scale(1.15);
}
.firm-fav-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 12px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.03);
  color: #a1a1a1;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  backdrop-filter: blur(10px);
}
.firm-fav-btn:hover, .firm-fav-btn.faved {
  border-color: rgba(251, 191, 36, 0.5);
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.1);
}
.firm-fav-btn svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
}
.firm-fav-btn.faved svg {
  fill: #fbbf24;
  stroke: #fbbf24;
  transform: scale(1.15);
}

.firm-hero-sub-tags {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 10px;
  font-size: 11.5px;
}
.sub-tag-item {
  color: #808080;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.verified-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 9999px;
  border: 1px solid rgba(52, 211, 153, 0.3);
  background: rgba(52, 211, 153, 0.1);
  padding: 2px 10px;
  font-size: 11px;
  font-weight: 600;
  color: #6ee7b7;
  backdrop-filter: blur(8px);
}
.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 8px #34d399;
  animation: pulse-glow 2s infinite;
}
@keyframes pulse-glow {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

/* Score & Stats Row */
.firm-stats-bar {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 1;
}
.stat-col {
  min-width: 0;
}
.stat-col:not(:first-child) {
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  padding-left: 20px;
}
.score-col {
  flex-shrink: 0;
}
.score-num-wrap {
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.score-big {
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  letter-spacing: -0.04em;
}
.score-den {
  font-size: 13px;
  font-weight: 600;
  color: #8a8a8a;
}
.score-lbl {
  margin-left: 8px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #666;
}
.score-track-wrap {
  position: relative;
  width: 160px;
  height: 5px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.08);
  margin-top: 10px;
}
.score-track-fill {
  height: 100%;
  border-radius: 9999px;
  background: linear-gradient(90deg, var(--mk, #3b82f6) 0%, #38bdf8 100%);
  transition: width 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.score-track-dot {
  position: absolute;
  top: 50%;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 10px 3px var(--glow, rgba(59, 130, 246, 0.65));
  transform: translate(-50%, -50%);
  transition: left 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.stat-sub-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #666;
  margin: 0 0 4px;
}
.stat-val {
  font-size: 14.5px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
}

/* Platform Logo Icons */
.platform-icons-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.platform-icon-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  backdrop-filter: blur(8px);
}
.platform-icon-circle:hover {
  transform: translateY(-2px) scale(1.12);
  border-color: var(--mk, #3b82f6);
  box-shadow: 0 0 12px var(--glow, rgba(59, 130, 246, 0.4));
}
.platform-img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  border-radius: 50%;
}
.platform-fallback-txt {
  font-size: 10px;
  font-weight: 700;
  color: #fff;
}

/* Promo Ticket Banner */
.cm-ticket-banner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 24px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.008) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  margin-bottom: 24px;
  overflow: hidden;
  flex-wrap: wrap;
}
.ticket-left {
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
  padding-right: 20px;
  border-right: 1px dashed rgba(255, 255, 255, 0.15);
}
.ticket-notch { display: none !important; }
.notch-top { top: -24px; }
.notch-bottom { bottom: -24px; }

.ticket-pct-num {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--mk, #3b82f6);
  line-height: 1;
}
.ticket-pct-sub {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #8a8a8a;
  line-height: 1.15;
}

.ticket-mid {
  min-width: 0;
}
.ticket-subhead {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #808080;
  margin: 0 0 6px;
}
.ticket-code-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  border-radius: 9px;
  border: 1px dashed var(--mk, #3b82f6);
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
  cursor: pointer;
  transition: all 0.2s ease;
  backdrop-filter: blur(8px);
}
.ticket-code-btn:hover {
  background: var(--glow, rgba(59, 130, 246, 0.15));
}
.ticket-code-txt {
  font-family: monospace;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.12em;
}
.ticket-copy-svg {
  width: 14px;
  height: 14px;
  color: #a1a1a1;
}

.ticket-savings {
  min-width: 0;
  text-align: right;
}
.savings-main {
  font-size: 13.5px;
  color: #d4d4d4;
  margin: 0;
}
.savings-sub {
  font-size: 12px;
  color: #808080;
  margin: 4px 0 0;
}
.savings-sub .strike {
  text-decoration: line-through;
  opacity: 0.6;
}
.savings-sub .net {
  color: #a1a1a1;
  font-weight: 500;
}

.ticket-visit-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 20px;
  height: 42px;
  border-radius: 9999px;
  background: var(--mk, #3b82f6);
  color: #000;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.ticket-visit-btn:hover {
  filter: brightness(1.15);
  box-shadow: 0 0 20px var(--glow, rgba(59, 130, 246, 0.4));
  transform: translateY(-1px);
}
.ticket-visit-btn svg {
  width: 14px;
  height: 14px;
}

/* Sticky Subnav Capsule */
.firm-subnav-sticky {
  position: sticky;
  top: 64px;
  z-index: 30;
  background: rgba(7, 7, 9, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 10px 0 16px;
  margin-bottom: 24px;
}
.firm-subnav-capsule {
  display: inline-flex;
  max-width: 100%;
  gap: 4px;
  overflow-x: auto;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  padding: 4px;
  scrollbar-width: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.firm-subnav-capsule::-webkit-scrollbar {
  display: none;
}
.subnav-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 18px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 600;
  color: #a1a1a1;
  background: transparent;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}
.subnav-pill:hover {
  color: #fff;
}
.subnav-pill.active {
  background: var(--mk, #3b82f6);
  color: #000;
  box-shadow: 0 2px 14px var(--glow, rgba(59, 130, 246, 0.35));
}
.live-dot-wrap {
  position: relative;
  display: inline-flex;
  width: 8px;
  height: 8px;
}
.ping-dot {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #34d399;
  opacity: 0.7;
  animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}
.solid-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34d399;
}

/* Two-Column Layout Grid */
.firm-main-layout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 32px;
  align-items: start;
}
.firm-tab-content-area {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.firm-sticky-sidebar {
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: sticky;
  top: 136px;
}

/* Sidebar Cards (Pure Liquid Glass) */
.sidebar-card {
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.035) 0%, rgba(255, 255, 255, 0.008) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 20px;
  overflow: hidden;
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.sidebar-video-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.video-badge-4k {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--mk, #3b82f6);
  color: #000;
}
.sidebar-video-box {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: 12px;
  background: #000;
  overflow: hidden;
  margin-bottom: 12px;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.video-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.sidebar-video-box:hover .video-thumb-img {
  transform: scale(1.05);
}
.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.6);
  transition: transform 0.2s ease;
}
.sidebar-video-box:hover .video-play-btn {
  transform: translate(-50%, -50%) scale(1.1);
}
.sidebar-video-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11.5px;
  color: #a1a1a1;
}
.sidebar-video-footer a {
  color: #a1a1a1;
  text-decoration: none;
  transition: color 0.15s ease;
}
.sidebar-video-footer a:hover {
  color: #fff;
}

/* Sidebar Firm Card */
.sidebar-firm-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.sidebar-firm-logo {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
  background: #141414;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.sidebar-firm-name {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  margin: 0;
}
.sidebar-firm-score {
  font-size: 11.5px;
  color: #a1a1a1;
  margin: 2px 0 0;
}
.sidebar-copy-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  border-radius: 10px;
  border: 1px dashed rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
  font-family: monospace;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  backdrop-filter: blur(8px);
}
.sidebar-copy-btn:hover {
  border-color: var(--mk, #3b82f6);
  background: var(--glow, rgba(59, 130, 246, 0.1));
}
.sidebar-visit-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  margin-top: 10px;
  border-radius: 9999px;
  background: var(--mk, #3b82f6);
  color: #000;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}
.sidebar-visit-btn:hover {
  filter: brightness(1.15);
  box-shadow: 0 0 20px var(--glow, rgba(59, 130, 246, 0.4));
}
.sidebar-write-rev-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  margin-top: 14px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  backdrop-filter: blur(8px);
}
.sidebar-write-rev-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
}

/* Tab Panels Content Styling (Liquid Glass) */
.panel-card {
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.035) 0%, rgba(255, 255, 255, 0.008) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 28px;
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.panel-head-title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0 0 16px;
}

/* Tables in Details Tab */
.firm-spec-table-box {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.35);
  overflow: hidden;
  margin-top: 14px;
  backdrop-filter: blur(16px);
}
.firm-spec-table {
  width: 100%;
  text-align: left;
  border-collapse: collapse;
  font-size: 13.5px;
}
.firm-spec-table th {
  padding: 12px 18px;
  font-size: 11.5px;
  font-weight: 600;
  color: #8a8a8a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(255, 255, 255, 0.02);
}
.firm-spec-table td {
  padding: 14px 18px;
  color: #d4d4d4;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.firm-spec-table tr:last-child td {
  border-bottom: none;
}
.firm-spec-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}
.firm-spec-table td.strong {
  color: #fff;
  font-weight: 600;
}

/* Payouts Tab Elements */
.payout-hero-stat-card {
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(52, 211, 153, 0.08) 0%, rgba(52, 211, 153, 0.01) 100%);
  border: 1px solid rgba(52, 211, 153, 0.25);
  padding: 28px 32px;
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(52, 211, 153, 0.15);
}
.payout-headline-val {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #6ee7b7;
  line-height: 1;
  margin: 14px 0 8px;
}
.payout-hero-desc {
  font-size: 13.5px;
  color: #b3b3b3;
  margin: 0;
}

.payout-4grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 18px;
}
.payout-mini-card {
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.07);
  padding: 16px;
  backdrop-filter: blur(12px);
}
.payout-mini-lbl {
  font-size: 11px;
  color: #8a8a8a;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 6px;
}
.payout-mini-val {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 4px;
}
.payout-mini-sub {
  font-size: 11.5px;
  color: #666;
  margin: 0;
}

/* Payout Certificates Feed */
.payout-feed-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 18px;
}
.payout-feed-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.06);
  flex-wrap: wrap;
  gap: 12px;
  backdrop-filter: blur(12px);
}
.payout-trader-info {
  display: flex;
  align-items: center;
  gap: 12px;
}
.payout-trader-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}
.payout-amount-badge {
  font-size: 17px;
  font-weight: 700;
  color: #34d399;
}
.payout-rail-tag {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #a1a1a1;
}

/* ==========================================================================
   IMPROVED CHALLENGE ACCOUNTS CARD SECTION (EXACT PFB MATCH + LIQUID GLASS)
   ========================================================================== */
.challenges-slider-wrapper {
  position: relative;
  margin: 16px 0 24px;
}
.challenges-slider-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(10, 10, 12, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(12px);
}
.challenges-slider-nav-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-50%) scale(1.08);
}
.challenges-slider-nav-btn.prev-btn { left: -14px; }
.challenges-slider-nav-btn.next-btn { right: -14px; }

.challenges-slider-row {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 10px 4px 16px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
}
.challenges-slider-row::-webkit-scrollbar {
  height: 6px;
}
.challenges-slider-row::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 9999px;
}

.challenge-size-card {
  width: 256px;
  flex-shrink: 0;
  scroll-snap-align: start;
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.008) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.25s ease, box-shadow 0.25s ease;
}
.challenge-size-card:hover {
  transform: translateY(-4px);
  border-color: var(--mk, #3b82f6);
  box-shadow: 0 20px 44px -10px var(--glow, rgba(59, 130, 246, 0.35)), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.challenge-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 14px;
}
.challenge-card-size-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  color: #808080;
  letter-spacing: 0.12em;
  display: block;
}
.challenge-card-size-num {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  margin-top: 2px;
}
.challenge-card-price-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  color: #808080;
  letter-spacing: 0.12em;
  display: block;
}
.challenge-card-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-top: 2px;
}
.challenge-card-orig-price {
  font-size: 13px;
  text-decoration: line-through;
  color: #707070;
  font-weight: 500;
}
.challenge-card-net-price {
  font-size: 20px;
  font-weight: 800;
  color: var(--mk, #3b82f6);
  letter-spacing: -0.03em;
}

.challenge-card-buy-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 42px;
  border-radius: 12px;
  background: var(--mk, #3b82f6);
  color: #000;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  margin-bottom: 16px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px var(--glow, rgba(59, 130, 246, 0.3));
}
.challenge-card-buy-btn:hover {
  filter: brightness(1.15);
  box-shadow: 0 6px 20px var(--glow, rgba(59, 130, 246, 0.45));
  transform: translateY(-1px);
}

.challenge-inner-specs {
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 14px 16px;
  backdrop-filter: blur(14px);
}
.challenge-inner-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: #a1a1a1;
  padding: 2px 0;
}
.challenge-inner-row b {
  color: #fff;
  font-weight: 600;
}
.challenge-inner-divider {
  border: 0;
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
  margin: 7px 0;
}

/* Reviews Empty State */
.reviews-empty-box {
  text-align: center;
  padding: 42px 24px;
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px dashed rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
}
.reviews-empty-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 22px;
  color: #f59e0b;
}

@media (max-width: 1024px) {
  .firm-main-layout-grid {
    grid-template-columns: 1fr;
  }
  .firm-sticky-sidebar {
    position: static;
  }
  .payout-4grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .challenges-slider-nav-btn {
    display: none;
  }
}
@media (max-width: 768px) {
  .firm-hero-top-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .firm-stats-bar {
    gap: 16px;
  }
  .stat-col:not(:first-child) {
    border-left: none;
    padding-left: 0;
  }
  .cm-ticket-banner {
    flex-direction: column;
    align-items: flex-start;
  }
  .ticket-left {
    border-right: none;
    padding-right: 0;
    width: 100%;
  }
  .ticket-savings {
    text-align: left;
  }
  .ticket-visit-btn {
    width: 100%;
    justify-content: center;
  }
  .payout-4grid {
    grid-template-columns: 1fr;
  }
}


/* --- Prop Firm Profile Hero Rating Details Card (User Red Box Area) --- */
.firm-hero-layout-grid {
  display: grid;
  grid-template-columns: 1fr 410px;
  gap: 28px;
  align-items: center;
  position: relative;
  z-index: 1;
}

@media (max-width: 1200px) {
  .firm-hero-layout-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.firm-hero-left-col {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.firm-hero-ratings-card {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: none !important;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.firm-hero-ratings-card::before {
  display: none !important;
}

/* Top Buttons Row */
.hero-ratings-top-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.hero-leave-review-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 700;
  color: #000000 !important;
  background: var(--mk, #3b82f6) !important;
  border: 1px solid var(--mk, #3b82f6) !important;
  border-radius: 9999px !important;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 18px var(--glow, rgba(59, 130, 246, 0.45));
  outline: none;
  font-family: inherit;
  white-space: nowrap;
}

.hero-leave-review-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 28px var(--glow, rgba(59, 130, 246, 0.7));
  filter: brightness(1.1);
}

.hero-leave-review-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.hero-buy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 22px;
  font-size: 13px;
  font-weight: 600;
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  border-radius: 9999px !important;
  text-decoration: none !important;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  white-space: nowrap;
}

.hero-buy-btn:hover {
  background: rgba(255, 255, 255, 0.14) !important;
  border-color: var(--mk, #3b82f6) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 0 18px var(--glow, rgba(59, 130, 246, 0.4));
}

.hero-buy-icon {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.hero-buy-btn:hover .hero-buy-icon {
  transform: translate(2px, -2px);
}

/* Main Split: Left Score & Right Bars */
.hero-ratings-main-split {
  display: flex;
  align-items: center;
  gap: 24px;
  width: 100%;
}

.hero-rating-score-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  flex-shrink: 0;
  width: 110px;
}

.hero-rating-score-num {
  font-size: 48px;
  font-weight: 800;
  line-height: 1;
  color: #ffffff;
  letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
}

.hero-rating-stars-row {
  display: flex;
  align-items: center;
  gap: 3px;
}

.hero-star-icon {
  width: 14px;
  height: 14px;
  color: var(--mk, #3b82f6);
  filter: drop-shadow(0 0 4px var(--glow, rgba(59, 130, 246, 0.45)));
  transition: all 0.2s ease;
}

.hero-star-icon.empty {
  color: rgba(255, 255, 255, 0.2) !important;
  filter: none !important;
}

.hero-rating-total-reviews {
  font-size: 12px;
  color: #a1a1a1;
  margin-top: 2px;
  white-space: nowrap;
}

.hero-review-count-highlight {
  color: var(--mk, #3b82f6);
  font-weight: 700;
}

/* Right Star Bars */
.hero-rating-bars-col {
  display: flex;
  flex-direction: column;
  gap: 6.5px;
  flex: 1;
  min-width: 0;
}

.hero-tier-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  width: 100%;
}

.hero-tier-label {
  color: #e5e5e5;
  font-weight: 600;
  width: 22px;
  flex-shrink: 0;
  white-space: nowrap;
}

.hero-tier-track {
  flex: 1;
  min-width: 140px;
  height: 4.5px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  overflow: hidden;
  position: relative;
}

.hero-tier-fill {
  height: 100%;
  border-radius: 9999px;
  background: var(--mk, #3b82f6);
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-tier-fill.primary-tier {
  background: linear-gradient(90deg, var(--mk, #3b82f6) 0%, var(--mk-light, #86efac) 100%);
  box-shadow: 0 0 8px var(--glow, rgba(59, 130, 246, 0.4));
}

.hero-tier-fill.tier-4,
.hero-tier-fill.tier-3,
.hero-tier-fill.tier-2,
.hero-tier-fill.tier-1 {
  background: var(--mk, #3b82f6);
  opacity: 0.8;
}

.hero-tier-count {
  color: #a1a1a1;
  font-size: 11.5px;
  font-weight: 600;
  width: 26px;
  text-align: right;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}

/* --- Firm Profile FAQ Accordions (Zero Grey - Pure Liquid Glass) --- */
.firm-faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.firm-faq-item {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.025);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  overflow: hidden;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.firm-faq-item:hover {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
}

.firm-faq-item.open {
  border-color: var(--mk, #3b82f6);
  background: rgba(255, 255, 255, 0.045);
  box-shadow: 0 4px 20px -4px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.firm-faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  background: transparent !important;
  border: none !important;
  color: #fff !important;
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s ease;
  font-family: inherit;
  outline: none;
}

.firm-faq-question:hover {
  color: var(--mk, #3b82f6) !important;
}

.firm-faq-chevron {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: transform 0.25s ease, color 0.25s ease;
  color: #8a8a8a;
}

.firm-faq-item.open .firm-faq-chevron {
  transform: rotate(180deg);
  color: var(--mk, #3b82f6);
}

.firm-faq-answer {
  display: none;
  padding: 0 20px 16px 20px;
  font-size: 13.5px;
  line-height: 1.6;
  color: #a1a1a1;
  border-top: 1px dashed rgba(255, 255, 255, 0.06);
  padding-top: 12px;
}

.firm-faq-item.open .firm-faq-answer {
  display: block;
}

/* --- Programme Tabs Bar (Zero Grey - Pure Liquid Glass) --- */
.programme-tabs-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 5px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 9999px;
  width: fit-content;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.programme-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  font-size: 12.5px;
  font-weight: 600;
  color: #a1a1a1;
  background: transparent !important;
  border: 1px solid transparent !important;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: inherit;
  outline: none;
}

.programme-tab:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06) !important;
}

.programme-tab.active {
  color: #fff !important;
  background: var(--mk-15, rgba(59, 130, 246, 0.15)) !important;
  border-color: var(--mk, #3b82f6) !important;
  box-shadow: 0 0 16px -2px var(--glow, rgba(59, 130, 246, 0.35)), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* --- Challenge Discount Toggle --- */
.challenge-discount-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  cursor: pointer;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  transition: all 0.2s ease;
  outline: none;
}

.challenge-discount-toggle:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--mk, #3b82f6);
}

/* --- Rules Grid 8 & Rule Tiles --- */
.rules-grid-8 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.rule-tile {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  padding: 16px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: all 0.2s ease;
}

.rule-tile:hover {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.035);
  transform: translateY(-2px);
}

.rule-tile-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.rule-tile-title {
  font-size: 13.5px;
  font-weight: 600;
  color: #fff;
}

.rule-status-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.rule-status-badge.rule-allowed {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
}

.rule-status-badge.rule-warning {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #f87171;
}

.rule-tile-desc {
  font-size: 12px;
  color: #a1a1a1;
  line-height: 1.5;
  margin: 0;
}

/* --- Pros & Cons Grid --- */
.pros-cons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

@media (max-width: 768px) {
  .pros-cons-grid {
    grid-template-columns: 1fr;
  }
}

.pro-card {
  background: rgba(16, 185, 129, 0.02);
  border: 1px solid rgba(16, 185, 129, 0.15);
  border-radius: 16px;
  padding: 20px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.con-card {
  background: rgba(239, 68, 68, 0.02);
  border: 1px solid rgba(239, 68, 68, 0.15);
  border-radius: 16px;
  padding: 20px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.pro-card-title {
  font-size: 14px;
  font-weight: 700;
  color: #34d399;
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.con-card-title {
  font-size: 14px;
  font-weight: 700;
  color: #f87171;
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pro-con-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pro-con-item {
  font-size: 13px;
  color: #d4d4d4;
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

/* --- Overview Tab Ratings Breakdown --- */
.ratings-breakdown-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.rating-metric-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 12px 14px;
}

.rating-metric-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: #a1a1a1;
}

.rating-metric-label b {
  color: #fff;
}

.rating-progress-track {
  width: 100%;
  height: 5px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.rating-progress-bar {
  height: 100%;
  border-radius: 9999px;
  background: linear-gradient(90deg, var(--mk, #3b82f6), var(--mk-light, #60a5fa));
  box-shadow: 0 0 10px var(--glow, rgba(59, 130, 246, 0.4));
}


/* Review Feed items */
.firm-reviews-container {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.firm-review-item {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  padding: 16px 20px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.firm-review-author-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.firm-review-author {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: #fff;
  font-size: 13.5px;
}
.firm-review-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--mk-15, rgba(59, 130, 246, 0.15));
  border: 1px solid var(--mk-30, rgba(59, 130, 246, 0.3));
  color: var(--mk, #3b82f6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
}
.firm-review-text {
  font-size: 13px;
  color: #c4c4c4;
  line-height: 1.6;
  margin: 0;
}
.review-star-btn {
  background: transparent !important;
  border: none !important;
  cursor: pointer;
  padding: 2px;
  font-size: 20px;
  color: #f59e0b;
  outline: none;
  transition: transform 0.15s ease;
}
.review-star-btn:hover {
  transform: scale(1.2);
}


/* --- Firm Details Enhanced Panels (Liquid Glass Layout) --- */
.fd-verified-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.fd-badge-verified {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--mk, #3b82f6);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--mk, #3b82f6);
  border-radius: 9999px;
  padding: 4px 14px;
  box-shadow: 0 0 12px var(--glow, rgba(59, 130, 246, 0.25));
}

.fd-badge-date {
  font-size: 12px;
  color: #8a8a8a;
  font-weight: 500;
}

.fd-specs-grid-7 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
}

.fd-spec-card {
  padding: 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.2s ease;
}

.fd-spec-card:hover {
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(255, 255, 255, 0.16);
  transform: translateY(-1px);
}

.fd-spec-lbl {
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #808080;
  margin-bottom: 6px;
}

.fd-spec-val {
  font-size: 13.5px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
}

.fd-spec-val.status-green {
  color: #34d399;
}

.fd-spec-val.status-yellow {
  color: #fbbf24;
}

.fd-info-grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.fd-info-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.fd-info-box {
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.fd-info-lbl {
  font-size: 11px;
  color: #8a8a8a;
  margin: 0 0 6px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.fd-info-val {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
  line-height: 1.4;
}

.fd-info-val.highlight-val {
  color: var(--mk, #3b82f6);
  font-weight: 800;
  font-size: 16px;
}

/* Leverage Grid */
.fd-leverage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.fd-leverage-card {
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.fd-leverage-asset {
  font-size: 13px;
  font-weight: 600;
  color: #d4d4d4;
}

.fd-leverage-ratio {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--mk, #3b82f6);
}

/* All Accounts Pricing Matrix */
.challenge-pricing-matrix {
  margin-top: 24px;
  padding: 18px 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.challenge-matrix-title {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 12px;
}

.challenge-matrix-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
}

.challenge-matrix-table th {
  text-align: left;
  padding: 8px 12px;
  color: #808080;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.challenge-matrix-table td {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  color: #d4d4d4;
}

.challenge-matrix-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.challenge-matrix-price {
  font-weight: 700;
  color: #888888;
  text-decoration: line-through;
}

.challenge-matrix-discount {
  color: var(--mk, #3b82f6);
  font-weight: 700;
}


/* ==========================================================================
   EXCLUSIVE OFFERS & HERO FIRM LINKS (NO GAP + CLICKABLE FIRMS + GLOW PILL)
   ========================================================================== */
.hero-firm-title {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.2s ease;
  line-height: 1.3;
}
.hero-firm-title:hover {
  color: var(--mk, #3b82f6);
}
.hero-top-logo-link {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  flex-shrink: 0;
}
.hero-top-item {
  cursor: pointer;
}

.exclusive-offer-head {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  min-width: 0 !important;
  text-align: left !important;
}

.exclusive-offer-logo-link {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  flex-shrink: 0;
}

.exclusive-offer-info {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: center !important;
  min-width: 0 !important;
  flex: 1 !important;
  text-align: left !important;
}

.exclusive-offer-name {
  font-size: 13.5px !important;
  font-weight: 700 !important;
  color: #fff !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  display: block !important;
  max-width: 100% !important;
  transition: color 0.2s ease !important;
  line-height: 1.3 !important;
  text-align: left !important;
}

.exclusive-offer-name:hover {
  color: var(--mk, #3b82f6) !important;
}

.exclusive-offer-rating {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  margin-top: 3px !important;
  font-size: 11px !important;
  text-align: left !important;
}

.exclusive-claim-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 28px;
  padding: 0 14px;
  border-radius: 9999px;
  background: var(--mk, #3b82f6);
  color: #000 !important;
  font-size: 11.5px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 2px 10px var(--glow, rgba(59, 130, 246, 0.35));
  transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
  white-space: nowrap;
  flex-shrink: 0;
}

.exclusive-claim-pill:hover {
  filter: brightness(1.15);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px var(--glow, rgba(59, 130, 246, 0.5));
}

.spotlight-firm-name {
  text-decoration: none;
  transition: color 0.2s ease;
  cursor: pointer;
}
.spotlight-firm-name:hover {
  color: var(--mk, #3b82f6);
}
.spotlight-logo-wrap {
  text-decoration: none;
  cursor: pointer;
}

/* ==========================================================================
   PROP FIRM LENZ - VERIFIED ON-CHAIN PAYOUTS DASHBOARD (LIQUID GLASS 2026)
   ========================================================================== */
.payouts-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 5px 12px;
  border-radius: 9999px;
  text-transform: uppercase;
}

.live-pulse-dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse-green 1.8s infinite;
}

@keyframes pulse-green {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

.payouts-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 24px 0;
}

@media (max-width: 900px) {
  .payouts-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 540px) {
  .payouts-stats-grid {
    grid-template-columns: 1fr;
  }
}

.payout-stat-glass {
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 20px 22px;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.payout-stat-glass:hover {
  transform: translateY(-2px);
  border-color: rgba(52, 211, 153, 0.3);
}

.payout-stat-glass::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(52, 211, 153, 0.5), transparent);
}

.payout-stat-lbl {
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #94a3b8;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.payout-stat-num {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 4px;
}

.payout-stat-sub {
  font-size: 12px;
  color: #64748b;
}

.payout-table-wrapper {
  background: rgba(10, 15, 26, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  margin-bottom: 32px;
}

.payout-rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.06);
  color: #cbd5e1;
}

.payout-rank-1 {
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.25), rgba(234, 179, 8, 0.08));
  color: #facc15;
  border: 1px solid rgba(234, 179, 8, 0.35);
}

.payout-rank-2 {
  background: linear-gradient(135deg, rgba(203, 213, 225, 0.25), rgba(203, 213, 225, 0.08));
  color: #e2e8f0;
  border: 1px solid rgba(203, 213, 225, 0.35);
}

.payout-rank-3 {
  background: linear-gradient(135deg, rgba(217, 119, 6, 0.25), rgba(217, 119, 6, 0.08));
  color: #fb923c;
  border: 1px solid rgba(217, 119, 6, 0.35);
}

.payout-amount-pill {
  display: inline-block;
  font-weight: 700;
  font-size: 13.5px;
  color: #34d399;
  background: rgba(52, 211, 153, 0.1);
  padding: 4px 10px;
  border-radius: 8px;
  border: 1px solid rgba(52, 211, 153, 0.2);
  white-space: nowrap;
}

.payout-hash-link {
  color: #38bdf8;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.2);
  transition: all 0.2s ease;
}

.payout-hash-link:hover {
  background: rgba(56, 189, 248, 0.2);
  color: #7dd3fc;
  border-color: rgba(56, 189, 248, 0.4);
}

.payout-token-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2px 7px;
  border-radius: 5px;
}

/* Payout Submission Modal */
.pfl-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.pfl-modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.pfl-modal-card {
  background: #0b111e;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  width: 100%;
  max-width: 520px;
  padding: 28px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  transform: translateY(16px);
  transition: transform 0.25s ease;
}

.pfl-modal-backdrop.active .pfl-modal-card {
  transform: translateY(0);
}

/* ==========================================================================
   PROP FIRM LENZ - BLOCKCHAIN-VERIFIED PAYOUTS (LIQUID GLASS THEME)
   ========================================================================== */

/* 0. Ambient Fluid Liquid Glass Mesh Backdrop */
.pj-ambient-container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1200px;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.pj-ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.65;
  mix-blend-mode: screen;
  pointer-events: none;
}

.pj-orb-cyan {
  width: 700px;
  height: 700px;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(0, 229, 255, 0.35) 0%, rgba(14, 165, 233, 0.18) 45%, transparent 70%);
  animation: pj-float-cyan 12s ease-in-out infinite alternate;
}

.pj-orb-purple {
  width: 620px;
  height: 620px;
  top: 60px;
  left: 0%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.28) 0%, rgba(99, 102, 241, 0.1) 45%, transparent 70%);
  animation: pj-float-purple 16s ease-in-out infinite alternate;
}

.pj-orb-emerald {
  width: 600px;
  height: 600px;
  top: 80px;
  right: 0%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.26) 0%, rgba(5, 150, 105, 0.1) 45%, transparent 70%);
  animation: pj-float-emerald 14s ease-in-out infinite alternate;
}

.pj-orb-blue {
  width: 800px;
  height: 500px;
  top: 400px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(37, 99, 235, 0.18) 0%, rgba(30, 58, 138, 0.05) 50%, transparent 75%);
}

@keyframes pj-float-cyan {
  0% { transform: translateX(-50%) translateY(0) scale(1); }
  100% { transform: translateX(-48%) translateY(32px) scale(1.08); }
}

@keyframes pj-float-purple {
  0% { transform: translateY(0) scale(1); }
  100% { transform: translateY(35px) translateX(20px) scale(1.05); }
}

@keyframes pj-float-emerald {
  0% { transform: translateY(0) scale(1); }
  100% { transform: translateY(-30px) translateX(-20px) scale(1.06); }
}

@keyframes pj-halo-pulse {
  0% { transform: scale(0.95); opacity: 0.6; }
  100% { transform: scale(1.15); opacity: 0.95; }
}

@keyframes pj-dot-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

/* 1. Live Horizontal Payouts Ticker Strip (Liquid Glass Ribbon) */
.pj-ticker-wrapper {
  width: 100%;
  background: rgba(10, 15, 26, 0.72);
  backdrop-filter: blur(20px) saturate(190%);
  -webkit-backdrop-filter: blur(20px) saturate(190%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  overflow: hidden;
  padding: 8px 0;
  position: relative;
  font-size: 12.5px;
  z-index: 10;
}

.pj-ticker-track {
  display: flex;
  align-items: center;
  gap: 20px;
  white-space: nowrap;
  animation: pj-ticker-scroll 35s linear infinite;
  width: max-content;
}

.pj-ticker-track:hover {
  animation-play-state: paused;
}

@keyframes pj-ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.pj-ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: #cbd5e1;
  text-decoration: none;
  transition: all 0.2s ease;
  backdrop-filter: blur(8px);
}

.pj-ticker-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: 0 4px 16px rgba(56, 189, 248, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

.pj-ticker-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: pj-dot-pulse 2s infinite ease-in-out;
}

/* 2. Hero Center Header (Liquid Glass) */
.pj-hero-header {
  text-align: center;
  padding: 38px 16px 24px;
  position: relative;
  z-index: 2;
}

.pj-hero-meta-capsule {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 9999px;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
}

.pj-network-glow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #00e5ff;
  box-shadow: 0 0 10px #00e5ff, 0 0 18px #00e5ff;
  animation: pj-dot-pulse 2s infinite ease-in-out;
}

.pj-pill-network {
  color: #00e5ff;
}

.pj-pill-status {
  color: #e2e8f0;
}

.pj-pill-api {
  color: #10b981;
}

.pj-pill-sep {
  color: rgba(255, 255, 255, 0.25);
}

.pj-hero-badge-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.pj-hero-badge-halo {
  position: absolute;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.45) 0%, rgba(16, 185, 129, 0.25) 50%, transparent 75%);
  filter: blur(18px);
  animation: pj-halo-pulse 3s infinite ease-in-out alternate;
}

.pj-hero-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.14) 0%, rgba(15, 23, 42, 0.75) 100%);
  backdrop-filter: blur(28px) saturate(200%);
  -webkit-backdrop-filter: blur(28px) saturate(200%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-top: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.55), inset 0 1px 2px rgba(255, 255, 255, 0.4);
  font-size: 32px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.pj-hero-badge:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 18px 48px rgba(0, 229, 255, 0.4), inset 0 1px 2px rgba(255, 255, 255, 0.55);
}

.pj-hero-title {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.15;
  color: #fff;
  margin: 0 0 10px;
  background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 45%, #7dd3fc 85%, #00e5ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 24px rgba(0, 229, 255, 0.25));
}

@media (max-width: 768px) {
  .pj-hero-title {
    font-size: 30px;
  }
}

.pj-hero-sub {
  font-size: 15.5px;
  color: #94a3b8;
  max-width: 680px;
  margin: 0 auto 26px;
  line-height: 1.6;
}

.pj-hero-sub-highlight {
  color: #cbd5e1;
  font-weight: 600;
}

/* 3. Hero Miniature Key Stats Ribbon (Liquid Glass Cards) */
.pj-hero-stat-ribbon {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 820px;
  margin: 0 auto 28px;
}

@media (max-width: 768px) {
  .pj-hero-stat-ribbon {
    grid-template-columns: 1fr;
    max-width: 380px;
  }
}

.pj-hero-stat-card {
  background: rgba(13, 20, 36, 0.6);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 16px;
  padding: 16px 20px;
  text-align: left;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease, box-shadow 0.2s ease;
}

.pj-hero-stat-card:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 229, 255, 0.35);
  box-shadow: 0 16px 44px rgba(0, 229, 255, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.pj-hero-stat-lbl {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
  margin-bottom: 5px;
}

.pj-hero-stat-num {
  font-size: 23px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 3px;
}

.pj-hero-stat-foot {
  font-size: 11.5px;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 6px;
}

.pj-mini-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}

/* 4. Timeframe Switcher Tabs (Liquid Glass Capsule) */
.pj-timeframe-bar {
  display: inline-flex;
  align-items: center;
  background: rgba(11, 18, 33, 0.72);
  backdrop-filter: blur(28px) saturate(200%);
  -webkit-backdrop-filter: blur(28px) saturate(200%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 14px;
  padding: 4px;
  gap: 4px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45), inset 0 1px 1px rgba(255, 255, 255, 0.18);
  margin-bottom: 16px;
}

.pj-timeframe-btn {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 13px;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.pj-timeframe-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.pj-timeframe-btn.active {
  background: linear-gradient(135deg, #2563eb 0%, #0284c7 100%);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 4px 18px rgba(2, 132, 199, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.pj-note-strip {
  font-size: 12.5px;
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 22px;
}

.pj-note-strip a {
  color: #38bdf8;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.pj-note-strip a:hover {
  color: #7dd3fc;
}

/* 5. Category Filter Switcher Tabs (Liquid Glass Pills) */
.pj-category-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.pj-cat-btn {
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  color: #cbd5e1;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 12px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.pj-cat-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff;
  transform: translateY(-1px);
}

.pj-cat-btn.active {
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.18), rgba(37, 99, 235, 0.18));
  border-color: #00e5ff;
  color: #fff;
  box-shadow: 0 0 22px rgba(0, 229, 255, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.pj-cat-badge {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 1px 7px;
  font-size: 11px;
  font-weight: 700;
  color: #94a3b8;
}

.pj-cat-btn.active .pj-cat-badge {
  background: rgba(0, 229, 255, 0.25);
  color: #00e5ff;
}

/* 6. Leaderboard Table Container (Liquid Glass Card) */
.pj-table-card {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  overflow: visible !important;
  position: relative;
  z-index: 1;
}

.pj-row {
  display: grid;
  grid-template-columns: minmax(0, 2fr) 1.2fr 1fr 1fr 1fr 1.1fr;
  align-items: center;
  padding: 16px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  position: relative;
}

.pj-row:hover {
  background: rgba(255, 255, 255, 0.045);
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 8px 24px rgba(0, 0, 0, 0.35);
}

.pj-row.hd {
  background: rgba(255, 255, 255, 0.02);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #94a3b8;
  cursor: default;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 14px 22px;
}

.pj-firm-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pj-firm-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-top: 1px solid rgba(255, 255, 255, 0.32);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.2);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.pj-row:hover .pj-firm-avatar {
  transform: scale(1.06);
  border-color: rgba(0, 229, 255, 0.4);
}

.pj-firm-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pj-firm-name {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 3px;
}

.pj-firm-tag {
  font-size: 10.5px;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pj-val-bold {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}

.pj-val-muted {
  font-size: 14px;
  color: #cbd5e1;
}

.pj-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 10px;
  border-radius: 20px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.22);
  font-size: 12.5px;
  color: #a7f3d0;
}

.pj-live-pill .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: pj-dot-pulse 2s infinite ease-in-out;
}

/* Rank pill badges */
.pj-rank-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.pj-rank-1 {
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.22), rgba(202, 138, 4, 0.12));
  border: 1px solid rgba(234, 179, 8, 0.45);
  color: #facc15;
  box-shadow: 0 0 14px rgba(234, 179, 8, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.pj-rank-2 {
  background: linear-gradient(135deg, rgba(148, 163, 184, 0.22), rgba(100, 116, 139, 0.12));
  border: 1px solid rgba(148, 163, 184, 0.45);
  color: #e2e8f0;
  box-shadow: 0 0 12px rgba(148, 163, 184, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.pj-rank-3 {
  background: linear-gradient(135deg, rgba(217, 119, 6, 0.22), rgba(180, 83, 9, 0.12));
  border: 1px solid rgba(217, 119, 6, 0.45);
  color: #fb923c;
  box-shadow: 0 0 12px rgba(217, 119, 6, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.pj-rank-change {
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  width: 24px;
  text-align: center;
  flex-shrink: 0;
}

.pj-rank-change.up {
  color: #10b981;
}

.pj-rank-change.down {
  color: #ef4444;
}

/* ==========================================================================
   SINGLE FIRM PAYOUT VIEW (LIQUID GLASS THEME)
   ========================================================================== */
.pj-single-view {
  max-width: 980px;
  margin: 0 auto;
  padding-bottom: 90px;
  position: relative;
  z-index: 2;
}

.pj-back-bar {
  margin-bottom: 22px;
}

.pj-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(59, 130, 246, 0.16);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: #93c5fd;
  border: 1px solid rgba(59, 130, 246, 0.35);
  border-top: 1px solid rgba(147, 197, 253, 0.45);
  padding: 8px 20px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.pj-back-btn:hover {
  background: rgba(59, 130, 246, 0.3);
  color: #fff;
  border-color: #60a5fa;
  transform: translateX(-3px);
  box-shadow: 0 6px 22px rgba(59, 130, 246, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.pj-single-hero {
  text-align: center;
  margin-bottom: 30px;
}

.pj-single-logo {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 0 35px rgba(0, 229, 255, 0.3), inset 0 1px 2px rgba(255, 255, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  overflow: hidden;
}

.pj-single-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pj-single-title {
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  margin: 0 0 4px;
}

.pj-single-link {
  font-size: 13.5px;
  color: #38bdf8;
  text-decoration: underline;
  display: inline-block;
  margin-bottom: 14px;
}

.pj-coupon-stub {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px dashed rgba(255, 255, 255, 0.25);
  padding: 7px 16px;
  border-radius: 24px;
  font-size: 13px;
  color: #e2e8f0;
  margin-bottom: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.pj-coupon-copy {
  background: #00e5ff;
  color: #060910;
  font-weight: 800;
  border: none;
  padding: 3px 10px;
  border-radius: 8px;
  font-size: 11px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 229, 255, 0.4);
  transition: all 0.2s ease;
}

.pj-coupon-copy:hover {
  background: #38bdf8;
  transform: scale(1.04);
}

/* 4 Metrics Header Cards (Liquid Glass) */
.pj-4cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}

@media (max-width: 800px) {
  .pj-4cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.pj-card {
  background: rgba(13, 20, 36, 0.65);
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease;
}

.pj-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 52px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.pj-card-lbl {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #94a3b8;
  margin-bottom: 6px;
}

.pj-card-val {
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}

.pj-card-sub {
  font-size: 12px;
  color: #64748b;
}

/* Chart Container (Liquid Glass) */
.pj-chart-box {
  background: rgba(13, 20, 36, 0.65);
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 20px;
  padding: 26px;
  margin-bottom: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.pj-chart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  flex-wrap: wrap;
  gap: 12px;
}

.pj-chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 190px;
  padding: 10px 0 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pj-chart-bar-wrap {
  flex: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  position: relative;
}

div.pj-chart-bar {
  width: 100%;
  background: #10b981;
  border-radius: 4px 4px 0 0;
  transition: height 0.4s ease, background 0.2s ease;
  min-height: 4px;
  cursor: pointer;
}

div.pj-chart-bar:hover {
  background: #34d399;
  filter: drop-shadow(0 0 10px rgba(16, 185, 129, 0.7));
}

rect.pj-chart-bar {
  transition: opacity 0.2s ease, filter 0.2s ease;
}

rect.pj-chart-bar:hover {
  opacity: 0.9;
  filter: drop-shadow(0 0 10px var(--rc-theme-glow, rgba(16, 185, 129, 0.6)));
}

.pj-bar-tooltip {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 11px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s ease;
  z-index: 10;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
}

.pj-chart-bar-wrap:hover .pj-bar-tooltip {
  opacity: 1;
}

/* 2-Column Split: Top 10 Largest vs Latest */
.pj-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 24px;
}

@media (max-width: 768px) {
  .pj-split-grid {
    grid-template-columns: 1fr;
  }
}

.pj-split-card {
  background: rgba(13, 20, 36, 0.65);
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.pj-split-title {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pj-list-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 14px;
  border-radius: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 13.5px;
  transition: background 0.15s ease;
}

.pj-list-row:nth-child(even) {
  background: rgba(255, 255, 255, 0.02);
}

.pj-list-row:hover {
  background: rgba(255, 255, 255, 0.05);
}

.pj-list-time {
  font-size: 12.5px;
  color: #94a3b8;
  font-family: monospace;
}

.pj-list-amt {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: #fff;
  font-size: 13.5px;
}

.pj-list-check {
  color: #10b981;
  font-weight: 900;
  font-size: 13px;
}

.pj-list-link {
  color: #38bdf8;
  font-size: 12px;
  font-family: monospace;
  text-decoration: none;
  transition: color 0.2s ease;
}

.pj-list-link:hover {
  text-decoration: underline;
  color: #7dd3fc;
}

/* FAQ Accordion (Liquid Glass) */
.pj-faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 13px 0;
}

.pj-faq-item:last-child {
  border-bottom: none;
}

.pj-faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 600;
  color: #f1f5f9;
  cursor: pointer;
  user-select: none;
  padding: 4px 0;
  transition: color 0.2s ease;
}

.pj-faq-question:hover {
  color: #38bdf8;
}

.pj-faq-answer {
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.6;
  padding: 8px 0 4px;
  display: none;
}

.pj-faq-item.active .pj-faq-answer {
  display: block;
}

.pj-faq-icon {
  transition: transform 0.2s ease;
  font-size: 12px;
  color: #64748b;
}

.pj-faq-item.active .pj-faq-icon {
  transform: rotate(180deg);
  color: #38bdf8;
}

/* Stats Breakdown Grid */
.pj-stats-detail-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-top: 14px;
}

@media (max-width: 900px) {
  .pj-stats-detail-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.pj-stat-field {
  padding: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
}

.pj-stat-field-lbl {
  font-size: 10.5px;
  color: #94a3b8;
  text-transform: uppercase;
  margin-bottom: 4px;
  letter-spacing: 0.04em;
}

.pj-stat-field-val {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}

/* Sticky Bottom Floating Bar (High Refraction Liquid Glass) */
.pj-sticky-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(9, 14, 26, 0.85);
  backdrop-filter: blur(28px) saturate(200%);
  -webkit-backdrop-filter: blur(28px) saturate(200%);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  padding: 14px 28px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  z-index: 999;
}

/* ===================================================================
   Position Size Calculator & Drawdown Runway System (.psc-*)
   Liquid Glass High-Refraction Styling
   =================================================================== */

.psc-hero {
  position: relative;
  padding: 32px 0 20px;
  text-align: center;
}

.psc-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.25);
  font-size: 12px;
  font-weight: 600;
  color: #38bdf8;
  letter-spacing: 0.03em;
  margin-bottom: 14px;
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.15);
}

.psc-title {
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
  margin: 0 0 12px;
  line-height: 1.15;
}

.psc-title em {
  font-style: normal;
  background: linear-gradient(135deg, #38bdf8 0%, #818cf8 50%, #c084fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.psc-sub {
  font-size: 14.5px;
  color: var(--t2);
  max-width: 680px;
  margin: 0 auto 28px;
  line-height: 1.6;
}

.psc-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(320px, 1fr);
  gap: 20px;
  margin-bottom: 24px;
  align-items: start;
}

@media (max-width: 960px) {
  .psc-layout {
    grid-template-columns: 1fr;
  }
}

.psc-panel {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.psc-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  pointer-events: none;
}

.psc-panel-hdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.psc-tag {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: #c7d2fe;
}

.psc-status-chip {
  font-family: ui-monospace, monospace;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #38bdf8;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
}

/* Market Selector Tabs */
.psc-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  background: rgba(0, 0, 0, 0.3);
  padding: 5px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.psc-tab {
  flex: 1;
  padding: 9px 12px;
  border-radius: 9px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--t2);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
}

.psc-tab:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.psc-tab.active {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

/* Form Controls & Sliders */
.psc-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 18px;
}

@media (max-width: 600px) {
  .psc-grid-2 {
    grid-template-columns: 1fr;
  }
}

.psc-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.psc-label {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--t2);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.psc-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.psc-input {
  width: 100%;
  height: 42px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 0 48px 0 14px;
  color: #fff;
  font-size: 14.5px;
  font-family: inherit;
  font-weight: 500;
  outline: none;
  transition: all 0.2s ease;
}

.psc-input:focus {
  border-color: #38bdf8;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
  background: rgba(0, 0, 0, 0.6);
}

.psc-unit-badge {
  position: absolute;
  right: 12px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--t3);
  pointer-events: none;
  text-transform: uppercase;
}

.psc-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  outline: none;
  margin-top: 10px;
  cursor: pointer;
}

.psc-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 10px #38bdf8;
  cursor: pointer;
  border: 2px solid #fff;
  transition: transform 0.15s ease;
}

.psc-range::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.psc-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.psc-pill-btn {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--t2);
  font-size: 11.5px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
}

.psc-pill-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.psc-pill-btn.active {
  background: rgba(56, 189, 248, 0.18);
  border-color: #38bdf8;
  color: #38bdf8;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.2);
}

.psc-select {
  width: 100%;
  height: 42px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 0 36px 0 14px;
  color: #fff;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.psc-select:focus {
  border-color: #38bdf8;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
}

.psc-select-chevron {
  position: absolute;
  right: 12px;
  pointer-events: none;
  color: var(--t3);
}

/* Section Separator */
.psc-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 22px 0;
}

/* Sticky Result Card */
.psc-result-panel {
  position: sticky;
  top: 90px;
  align-self: start;
}

.psc-result-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #38bdf8;
  margin-bottom: 8px;
}

.psc-result-display {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 18px;
}

.psc-result-big {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: clamp(34px, 3.5vw, 46px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, #38bdf8 0%, #a5b4fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.psc-result-units {
  font-size: 17px;
  font-weight: 500;
  color: var(--t2);
}

.psc-metrics-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 18px;
}

.psc-metric-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13.5px;
}

.psc-metric-label {
  color: var(--t2);
}

.psc-metric-value {
  font-weight: 600;
  color: #fff;
  font-family: ui-monospace, monospace;
}

/* Runway Pill Indicators */
.psc-runway-block {
  margin-bottom: 16px;
}

.psc-runway-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 13px;
  margin-bottom: 8px;
}

.psc-runway-title {
  color: var(--t2);
}

.psc-runway-count {
  font-weight: 600;
  color: #fff;
  font-family: ui-monospace, monospace;
}

.psc-runway-dots {
  display: flex;
  gap: 3px;
  height: 8px;
}

.psc-dot {
  flex: 1;
  height: 100%;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  transition: all 0.25s ease;
}

.psc-dot.filled-emerald {
  background: #10b981;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.35);
}

.psc-dot.filled-amber {
  background: #f59e0b;
  box-shadow: 0 0 8px rgba(245, 158, 11, 0.35);
}

.psc-dot.filled-rose {
  background: #f43f5e;
  box-shadow: 0 0 8px rgba(244, 63, 94, 0.35);
}

.psc-note {
  font-size: 11.5px;
  color: var(--t3);
  line-height: 1.5;
  margin-top: 14px;
}

/* What-If & Runway Lower Layout */
.psc-lower-grid {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(0, 1.6fr);
  gap: 20px;
  margin-bottom: 28px;
}

@media (max-width: 900px) {
  .psc-lower-grid {
    grid-template-columns: 1fr;
  }
}

/* What-If Bars */
.psc-whatif-bars {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  height: 140px;
  margin-top: 18px;
  padding: 0 8px 10px;
}

.psc-whatif-bar-btn {
  flex: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  outline: none;
}

.psc-whatif-bar-btn .num {
  font-family: ui-monospace, monospace;
  font-size: 13px;
  font-weight: 700;
  color: var(--t2);
  transition: color 0.2s ease;
}

.psc-whatif-bar-btn .bar {
  width: 100%;
  border-radius: 8px;
  background: rgba(129, 140, 248, 0.2);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  min-height: 6px;
}

.psc-whatif-bar-btn:hover .bar {
  background: rgba(129, 140, 248, 0.38);
}

.psc-whatif-bar-btn.active .bar {
  background: linear-gradient(180deg, #38bdf8 0%, #818cf8 100%);
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.4);
}

.psc-whatif-bar-btn.active .num {
  color: #38bdf8;
}

.psc-whatif-bar-btn .pct {
  font-family: ui-monospace, monospace;
  font-size: 11px;
  color: var(--t3);
}

.psc-whatif-bar-btn.active .pct {
  color: #fff;
  font-weight: 600;
}

/* Drawdown Runway SVG Chart */
.psc-chart-wrap {
  width: 100%;
  overflow: hidden;
  margin-top: 14px;
}

.psc-chart-svg {
  width: 100%;
  height: auto;
  display: block;
}

/* FAQ Accordion (Centered & Compact - Starts Middle) */
.psc-faq-section {
  width: 100% !important;
  max-width: 780px !important;
  margin: 54px auto 48px !important;
  box-sizing: border-box !important;
}

.psc-faq-section h2 {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
  text-align: center;
}

.psc-faq-section p.lead,
.psc-faq-section .lead {
  font-size: 14px;
  color: var(--t2);
  margin: 0 auto 24px;
  max-width: 560px;
  text-align: center;
}

.psc-faq-list {
  width: 100%;
  text-align: left;
  box-sizing: border-box;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.015) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  divide-y: 1px solid rgba(255, 255, 255, 0.07);
}

.psc-faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  padding: 18px 22px;
}

.psc-faq-item:last-child {
  border-bottom: none;
}

.psc-faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 14.5px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  user-select: none;
}

.psc-faq-item summary::-webkit-details-marker {
  display: none;
}

.psc-faq-chevron {
  transition: transform 0.25s ease;
  color: var(--t3);
  flex-shrink: 0;
}

.psc-faq-item[open] .psc-faq-chevron {
  transform: rotate(180deg);
  color: #38bdf8;
}

.psc-faq-item p {
  margin: 10px 0 0;
  font-size: 13.5px;
  color: var(--t2);
  line-height: 1.6;
}

/* ===================================================================
   Giveaway Page Styling (No Active Giveaway State) (.gw-*)
   =================================================================== */

.gw-hero {
  text-align: center;
  padding: 36px 0 24px;
}

.gw-status-banner {
  background: linear-gradient(135deg, rgba(244, 63, 94, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
  border: 1px solid rgba(244, 63, 94, 0.25);
  border-radius: 20px;
  padding: 32px 28px;
  text-align: center;
  margin-bottom: 36px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.gw-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(244, 63, 94, 0.15);
  border: 1px solid rgba(244, 63, 94, 0.3);
  color: #fb7185;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}

.gw-status-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f43f5e;
  box-shadow: 0 0 10px #f43f5e;
}

.gw-status-title {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  color: #fff;
  margin: 0 0 10px;
}

.gw-status-desc {
  max-width: 620px;
  margin: 0 auto 24px;
  font-size: 14px;
  color: var(--t2);
  line-height: 1.6;
}

.gw-alert-form {
  display: flex;
  max-width: 480px;
  margin: 0 auto 20px;
  gap: 10px;
}

@media (max-width: 600px) {
  .gw-alert-form {
    flex-direction: column;
  }
}

.gw-social-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.gw-social-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 12.5px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
}

.gw-social-pill:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

/* Past Winners Hall of Fame */
.gw-winners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.gw-winner-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.015) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  backdrop-filter: blur(20px);
  transition: all 0.25s ease;
}

.gw-winner-card:hover {
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.gw-winner-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.gw-winner-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  color: #fff;
}

.gw-award-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.gw-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.gw-step-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 22px;
}

.gw-step-num {
  font-family: ui-monospace, monospace;
  font-size: 28px;
  font-weight: 800;
  background: linear-gradient(135deg, #38bdf8 0%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 10px;
}

.gw-sponsor-card {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.07) 0%, rgba(129, 140, 248, 0.04) 100%);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 20px;
  padding: 28px;
  margin-top: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

/* ==========================================================================
   UNIVERSAL PROP FIRM LOGO FULL-FIT GUARANTEE
   Ensures all prop firm logos fill the badge corner-to-corner seamlessly
   without letterboxing, awkward padding, or shrunken borders.
   ========================================================================== */
.firm-logo-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.16);
  flex-shrink: 0;
  overflow: hidden !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  padding: 0 !important;
}

.lg {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden !important;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
  flex-shrink: 0;
  padding: 0 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.lg.sm {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  padding: 0 !important;
}

.hero-top-logo-link i.lg,
.exclusive-offer-logo-link i.lg {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  padding: 0 !important;
}

.firm-logo-badge img,
.firm-hero-logo,
.lg img,
.spotlight-logo-wrap img,
.coupon-logo-wrap img,
.compare-chip-logo,
.sidebar-firm-logo,
.hero-top-logo-link img,
.exclusive-offer-logo-link img,
.pj-single-logo img,
.pj-firm-avatar img,
.fm img,
.acc-reward-card img,
.profile-pref-card img,
.rev-firm-logo-wrap img,
.firm-header-logo img,
.profile-card-logo img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  border-radius: inherit !important;
  padding: 3px !important;
  margin: 0 !important;
  display: block !important;
  box-sizing: border-box !important;
}

/* ==========================================================================
   PLATFORM-WIDE HERO CENTERING & SECTION SIZING GUARANTEE
   Ensures titles and subtitles start cleanly in the center, while top cards
   and exclusive offers expand to the FULL container width (1240px).
   ========================================================================== */
.hero {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  text-align: center !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
}

.psc-hero,
.gw-hero,
.blog-hero,
.coupon-hero,
.compare-hero,
.review-hero {
  text-align: center !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 auto !important;
  width: 100% !important;
  max-width: 860px !important;
}

.hero > h1,
.psc-title,
.gw-hero h1,
.blog-hero h1,
.coupon-hero h1,
.compare-title,
.review-hero h1 {
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: 860px !important;
  width: 100% !important;
  display: block !important;
}

.hero > .sub,
.psc-sub,
.gw-hero p,
.blog-hero p,
.coupon-hero p,
.compare-sub,
.review-hero p {
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: 760px !important;
  width: 100% !important;
  display: block !important;
}

.hero-stats {
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: 860px !important;
  width: 100% !important;
  justify-content: center !important;
}

/* Full Width Expansion for 3 Top-Rated Cards and 4x2 Exclusive Offers */
.hero .mk3,
.mk3 {
  width: 100% !important;
  max-width: 100% !important;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px !important;
  margin-top: 32px !important;
}

.hero .exclusive-offers-grid,
.exclusive-offers-grid {
  width: 100% !important;
  max-width: 100% !important;
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px !important;
}

.hero > .g {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.hero-top-item {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 10px 14px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.hero-firm-title {
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #fff !important;
  text-decoration: none !important;
  display: block !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  line-height: 1.3 !important;
}

.psc-badge,
.gw-status-badge,
.eyebrow {
  margin-left: auto !important;
  margin-right: auto !important;
}


/* ==========================================================================
   Header User Loyalty Points Pill & Avatar Dropdown (Matches Screenshot 1)
   ========================================================================== */
.user-header-group {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.loyalty-points-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(168, 85, 247, 0.12);
  border: 1px solid rgba(168, 85, 247, 0.35);
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.2s ease;
  box-shadow: 0 2px 10px rgba(168, 85, 247, 0.2);
}
.loyalty-points-pill:hover {
  background: rgba(168, 85, 247, 0.2);
  border-color: rgba(168, 85, 247, 0.6);
  transform: translateY(-1px);
}
.loyalty-points-pill .pts-icon {
  font-size: 13px;
}
.loyalty-points-pill .pts-val {
  color: #fff;
  font-weight: 700;
}
.loyalty-points-pill .pts-streak {
  font-size: 11px;
  color: #d8b4fe;
  background: rgba(255, 255, 255, 0.1);
  padding: 1px 6px;
  border-radius: 6px;
  margin-left: 2px;
}

.user-avatar-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border: 2px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 10px rgba(16, 185, 129, 0.35);
  overflow: hidden;
  padding: 0;
  box-sizing: border-box;
}
.user-avatar-btn:hover {
  transform: scale(1.06);
  border-color: #fff;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.55);
}
.user-avatar-btn img,
.ud-avatar img,
.pfl-avatar-img,
#profile-avatar-big img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.user-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 290px;
  background: #111116;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(168, 85, 247, 0.15);
  backdrop-filter: blur(20px);
  z-index: 10000;
  animation: udFadeIn 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes udFadeIn {
  from { opacity: 0; transform: translateY(-8px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.ud-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.ud-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: visible;
}
.ud-avatar-camera-badge {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #38bdf8;
  color: #0b0f19;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #111116;
  box-shadow: 0 2px 6px rgba(0,0,0,0.5);
  transition: all 0.15s ease;
}
.ud-avatar:hover .ud-avatar-camera-badge {
  transform: scale(1.15);
  background: #7dd3fc;
}
.ud-user-info {
  min-width: 0;
  flex: 1;
}
.ud-name {
  font-size: 14.5px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ud-email {
  font-size: 11.5px;
  color: var(--t3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ud-loyalty-card {
  background: rgba(168, 85, 247, 0.08);
  border: 1px solid rgba(168, 85, 247, 0.25);
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 14px;
}
.ud-loyalty-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 600;
  color: #d8b4fe;
  margin-bottom: 8px;
}
.ud-pts-badge {
  color: #fff;
  font-weight: 700;
}
.ud-loyalty-bar-wrap {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 6px;
}
.ud-loyalty-bar {
  height: 100%;
  background: linear-gradient(90deg, #a855f7, #ec4899);
  border-radius: 999px;
  transition: width 0.3s ease;
}
.ud-loyalty-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10.5px;
  color: var(--t3);
}

.ud-menu-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-height: 320px;
  overflow-y: auto;
  padding-right: 4px;
}
.ud-menu-list::-webkit-scrollbar {
  width: 4px;
}
.ud-menu-list::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
}

.ud-menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  color: #e5e5e5;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.15s ease;
}
.ud-menu-item:hover {
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  transform: translateX(2px);
}
.ud-menu-item svg {
  opacity: 0.7;
  flex-shrink: 0;
}
.ud-menu-item:hover svg {
  opacity: 1;
  color: #c084fc;
}

.ud-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 10px 0;
}

.ud-footer {
  padding-top: 2px;
}
.ud-signout-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  background: transparent;
  border: none;
  color: #f87171;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}
.ud-signout-btn:hover {
  background: rgba(239, 68, 68, 0.12);
  color: #ef4444;
}

.chip-new {
  font-size: 9.5px;
  font-weight: 700;
  color: #34d399;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 1px 6px;
  border-radius: 999px;
  letter-spacing: 0.3px;
}

/* ==========================================================================
   Profile Dashboard Page Layout (Matches Screenshot 2 Exactly)
   ========================================================================== */
body[data-page="profile"] {
  padding-top: 145px;
}
@media (max-width: 820px) {
  body[data-page="profile"] {
    padding-top: 168px;
  }
}
@media (max-width: 580px) {
  body[data-page="profile"] {
    padding-top: 190px;
  }
}

.profile-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  align-items: flex-start;
  margin-top: 0;
}

.profile-sidebar {
  position: sticky;
  top: 135px;
  background: rgba(10, 15, 29, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  padding: 24px 16px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.profile-nav-section-title {
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  letter-spacing: 1.2px;
  padding: 4px 16px 14px;
}

.profile-nav-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.profile-nav-item {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 13px 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(255, 255, 255, 0.04);
  color: #94a3b8;
  font-size: 14px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  min-height: 48px;
  box-sizing: border-box;
}
.profile-nav-item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  color: #fff;
  transform: translateX(3px);
}
.profile-nav-item.active {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.22) 0%, rgba(59, 130, 246, 0.15) 100%);
  border: 1px solid rgba(168, 85, 247, 0.45);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 6px 20px rgba(168, 85, 247, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
.profile-nav-item.active svg {
  color: #c084fc;
  filter: drop-shadow(0 0 6px rgba(192, 132, 252, 0.6));
}

.profile-nav-counter {
  margin-left: auto;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 11.5px;
  font-weight: 700;
  color: #cbd5e1;
}

.profile-nav-item.active .profile-nav-counter {
  background: rgba(168, 85, 247, 0.4);
  color: #fff;
  border: 1px solid rgba(168, 85, 247, 0.55);
}

.profile-main-content {
  min-width: 0;
}

.profile-tab-pane {
  display: none;
  padding: 0 !important;
}
.profile-tab-pane.active {
  display: block;
  padding: 0 !important;
  animation: udFadeIn 0.2s ease;
}

/* Favourites & Likes Card Containers */
.profile-cards-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 880px;
}

.profile-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 20px 24px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.profile-card:hover {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.profile-hero-header {
  margin-bottom: 28px;
}
.profile-welcome-title {
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
  margin: 0 0 6px;
}
.profile-member-id {
  font-size: 13px;
  color: var(--t2);
  font-weight: 500;
}

/* 6-Card Preferences Grid */
.profile-pref-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}

.profile-pref-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  padding: 16px 18px;
  backdrop-filter: blur(10px);
  transition: all 0.2s ease;
}
.profile-pref-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.04);
}

.pref-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.pref-label {
  font-size: 10px;
  font-weight: 700;
  color: #ec4899;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}
.pref-edit-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.pref-edit-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}
.pref-val {
  font-size: 13.5px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Middle 2-Column Grid: Points Balance & Accounts vs Points */
.profile-loyalty-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 20px;
  align-items: stretch;
}

.dash-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 18px;
  padding: 22px;
  backdrop-filter: blur(12px);
}

.dash-card-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}
.info-tip-icon {
  font-size: 12px;
  color: var(--t3);
  cursor: help;
}

.loyalty-counter-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.loyalty-diamond {
  font-size: 38px;
  filter: drop-shadow(0 0 12px rgba(168, 85, 247, 0.6));
}
.loyalty-number {
  font-size: 44px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -1px;
  line-height: 1;
}

.loyalty-action-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 20px;
}
.btn-claim-points {
  background: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
  border: none;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  padding: 10px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(168, 85, 247, 0.35);
}
.btn-claim-points:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(168, 85, 247, 0.55);
}
.btn-redeem-points {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  font-weight: 600;
  font-size: 13px;
  padding: 10px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-redeem-points:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.3);
}

.extra-code-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 20px;
}
.extra-code-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--t2);
  margin-bottom: 10px;
}
.extra-code-form {
  display: flex;
  gap: 8px;
}

.loyalty-tier-progress-wrap {
  padding-top: 4px;
}
.tier-slider-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 13px;
}
.tier-progress-track {
  position: relative;
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  margin-bottom: 10px;
}
.tier-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #a855f7 0%, #ec4899 100%);
  border-radius: 999px;
  transition: width 0.3s ease;
}
.tier-progress-thumb {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 12px;
  filter: drop-shadow(0 0 6px #a855f7);
}
.tier-next-notice {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  color: var(--t2);
}

/* Accounts vs Loyalty Points Card */
.accounts-subtabs {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  padding: 3px;
}
.acc-tab-btn {
  background: transparent;
  border: none;
  color: #a3a3a3;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.acc-tab-btn.active {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.accounts-tiers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.acc-reward-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 16px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.acc-reward-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(168, 85, 247, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}
.acc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.acc-size {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}
.acc-lock-icon {
  font-size: 12px;
  opacity: 0.6;
}
.acc-points-needed {
  font-size: 12px;
  color: var(--t3);
  font-weight: 500;
}

@media(max-width: 1024px) {
  .profile-layout {
    grid-template-columns: 1fr;
  }
  .profile-sidebar {
    position: static;
  }
  .profile-loyalty-grid {
    grid-template-columns: 1fr;
  }
}

.nav-badge-soon {
  font-size: 9px;
  font-weight: 700;
  color: #c084fc;
  background: rgba(192, 132, 252, 0.15);
  padding: 1px 5px;
  border-radius: 999px;
  margin-left: 4px;
  border: 1px solid rgba(192, 132, 252, 0.3);
  letter-spacing: 0.3px;
  text-transform: uppercase;
  vertical-align: middle;
}

@media(max-width: 640px) {
  .accounts-tiers-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .profile-pref-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================================
   REVIEW PAGE MATRIX TABLE (Exact match to Reference Screenshot & Homepage Style)
   ======================================================== */
.review-matrix-wrap {
  width: 100%;
  margin-top: 10px;
  margin-bottom: 60px;
}

.review-matrix-table {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 12px;
}

.review-matrix-table::-webkit-scrollbar {
  height: 6px;
}
.review-matrix-table::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 4px;
}
.review-matrix-table::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.16);
  border-radius: 4px;
}

.review-matrix-header {
  display: grid;
  grid-template-columns: minmax(220px, 2.2fr) minmax(130px, 1.4fr) minmax(80px, 1fr) minmax(100px, 1.15fr) minmax(120px, 1.3fr) minmax(110px, 1.2fr) minmax(95px, 1fr) minmax(130px, 1.3fr);
  align-items: center;
  gap: 14px;
  padding: 10px 22px 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--t3, #8a8f98);
  user-select: none;
  min-width: 1020px;
}

.review-matrix-header .rev-col-head {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
  color: inherit;
  font: inherit;
  transition: color 0.15s ease;
}

.review-matrix-header .rev-col-head:hover {
  color: #fff;
}

.review-matrix-header .rev-col-head.center {
  justify-content: center;
}

.review-matrix-header .sort-arrows {
  opacity: 0.4;
  font-size: 11.5px;
  transition: opacity 0.15s ease, color 0.15s ease;
}

.review-matrix-header .rev-col-head:hover .sort-arrows,
.review-matrix-header .rev-col-head.active-sort .sort-arrows {
  opacity: 1;
  color: #c084fc;
}

.review-matrix-row {
  display: grid;
  grid-template-columns: minmax(220px, 2.2fr) minmax(130px, 1.4fr) minmax(80px, 1fr) minmax(100px, 1.15fr) minmax(120px, 1.3fr) minmax(110px, 1.2fr) minmax(95px, 1fr) minmax(130px, 1.3fr);
  align-items: center;
  gap: 14px;
  padding: 14px 22px;
  border-radius: 16px;
  background: var(--gl, rgba(255, 255, 255, 0.03));
  border: 1px solid var(--gb, rgba(255, 255, 255, 0.08));
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 8px 24px rgba(0, 0, 0, 0.35);
  margin-bottom: 9px;
  position: relative;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
  min-width: 1020px;
}

.review-matrix-row:hover {
  transform: translateY(-1.5px);
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 12px 32px rgba(0, 0, 0, 0.45);
}

/* Col 1: Firm */
.rev-col-firm {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.rev-firm-logo-wrap {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  overflow: hidden;
  background: #0d0f15;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.rev-firm-logo-wrap img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: inherit !important;
  padding: 0 !important;
  display: block;
}

.rev-firm-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 4px;
}

.rev-firm-title {
  font-size: 14.5px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.15s ease;
}

.rev-firm-title:hover {
  color: #c084fc;
}

.rev-firm-likes-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  color: var(--t2, #a1a1aa);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: color 0.15s ease;
}

.rev-firm-likes-btn svg {
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.rev-firm-likes-btn:hover {
  color: #fbbf24;
}

.rev-firm-likes-btn:hover svg {
  transform: scale(1.2);
}

.rev-firm-likes-btn.liked {
  color: #ef4444;
}

/* Col 2: Number of Reviews */
.rev-col-reviews-count {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.rev-count-number {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}

.rev-progress-track {
  width: 90px;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  margin-top: 6px;
  overflow: hidden;
}

.rev-progress-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #f97316 0%, #ec4899 50%, #a855f7 100%);
  transition: width 0.4s ease;
}

/* Col 3-6: Rating Score Pills */
.rev-col-score {
  display: flex;
  align-items: center;
  justify-content: center;
}

.rev-score-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 27px;
  border-radius: 6px;
  font-size: 12.5px;
  font-weight: 700;
  padding: 0 8px;
  letter-spacing: -0.2px;
}

.rev-score-pill.pill-green {
  background: rgba(34, 197, 94, 0.12);
  color: #34d399;
  border: 1px solid rgba(52, 211, 153, 0.28);
}

.rev-score-pill.pill-amber {
  background: rgba(245, 158, 11, 0.12);
  color: #fbbf24;
  border: 1px solid rgba(251, 191, 36, 0.28);
}

.rev-score-pill.pill-red {
  background: rgba(239, 68, 68, 0.12);
  color: #f87171;
  border: 1px solid rgba(248, 113, 113, 0.28);
}

/* Col 7: Rank / Overall */
.rev-col-rank {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.rev-rank-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 27px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 0 10px;
}

.rev-rank-stars {
  color: #e879f9;
  font-size: 9.5px;
  letter-spacing: 2px;
  margin-top: 3px;
}

/* Col 8: Actions */
.rev-col-action {
  display: flex;
  align-items: center;
  justify-content: center;
}

.view-reviews-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.view-reviews-btn:hover {
  background: rgba(168, 85, 247, 0.16);
  border-color: #a855f7;
  color: #fff;
  box-shadow: 0 0 18px rgba(168, 85, 247, 0.35);
  transform: translateY(-1px);
}

/* Review Matrix Mobile Responsive Card Transformation */
@media (max-width: 860px) {
  .review-matrix-wrap {
    margin-top: 6px;
    margin-bottom: 36px;
  }
  .review-matrix-table {
    min-width: 0 !important;
    overflow-x: visible !important;
    padding-bottom: 0 !important;
  }
  .review-matrix-header {
    display: none !important;
  }
  .review-matrix-row {
    min-width: 0 !important;
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 12px 8px !important;
    padding: 16px !important;
    border-radius: 18px !important;
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3) !important;
    margin-bottom: 12px !important;
  }

  /* Row 1: Col 1-3 = Firm identity (Logo + Name + Likes) */
  .rev-col-firm {
    grid-column: 1 / 4 !important;
    grid-row: 1 !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    min-width: 0 !important;
  }
  .rev-firm-logo-wrap {
    width: 42px !important;
    height: 42px !important;
    border-radius: 10px !important;
  }
  .rev-firm-title {
    font-size: 16px !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  /* Row 1: Col 4 = Overall Rank Score Pill + Stars */
  .rev-col-rank {
    grid-column: 4 / 5 !important;
    grid-row: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    justify-content: center !important;
    gap: 2px !important;
  }
  .rev-rank-pill {
    font-size: 12.5px !important;
    font-weight: 700 !important;
    height: 25px !important;
    padding: 0 8px !important;
  }
  .rev-rank-stars {
    font-size: 9px !important;
    letter-spacing: 1px !important;
  }

  /* Row 2: Col 1-4 = Reviews Count & Progress bar */
  .rev-col-reviews-count {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 2px 0 !important;
    width: 100% !important;
  }
  .rev-count-number {
    font-size: 11.5px !important;
    font-weight: 600 !important;
    color: var(--t2) !important;
    white-space: nowrap !important;
  }
  .rev-progress-track {
    flex: 1 !important;
    height: 5px !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border-radius: 999px !important;
    overflow: hidden !important;
  }

  /* Row 3: 4 Metric Cards (Rules, Care, Friendliness, Payout) */
  .rev-col-score {
    grid-row: 3 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    background: rgba(255, 255, 255, 0.035) !important;
    border: 1px solid rgba(255, 255, 255, 0.07) !important;
    border-radius: 10px !important;
    padding: 8px 2px !important;
    text-align: center !important;
    min-width: 0 !important;
  }
  .rev-col-score:nth-of-type(3) { grid-column: 1 / 2 !important; }
  .rev-col-score:nth-of-type(4) { grid-column: 2 / 3 !important; }
  .rev-col-score:nth-of-type(5) { grid-column: 3 / 4 !important; }
  .rev-col-score:nth-of-type(6) { grid-column: 4 / 5 !important; }

  .rev-metric-label {
    display: block !important;
    font-size: 9.5px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.03em !important;
    color: var(--t3, #8a8f98) !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 100% !important;
  }
  .rev-score-pill {
    min-width: 38px !important;
    height: 24px !important;
    font-size: 11.5px !important;
    padding: 0 6px !important;
  }

  /* Row 4: Col 1-4 = View Reviews CTA Button */
  .rev-col-action {
    grid-column: 1 / -1 !important;
    grid-row: 4 !important;
    width: 100% !important;
    margin-top: 2px !important;
  }
  .view-reviews-btn {
    width: 100% !important;
    height: 42px !important;
    min-height: 42px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 12px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    box-sizing: border-box !important;
  }

  /* Review Toolbar on mobile */
  .matrix-toolbar {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
  }
  .toolbar-left {
    display: flex !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    gap: 6px !important;
    width: 100% !important;
    padding-bottom: 2px !important;
  }
  .toolbar-left::-webkit-scrollbar {
    display: none !important;
  }
  .toolbar-left .chip {
    flex-shrink: 0 !important;
    white-space: nowrap !important;
  }
  .toolbar-right,
  .toolbar-search {
    width: 100% !important;
  }
}



/* ==========================================================================
   EYE-CATCHING COUPON TICKET BANNER (Matches Competitor Benchmark Design)
   ========================================================================== */
.eye-catchy-coupon-banner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 24px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: linear-gradient(135deg, rgba(22, 23, 32, 0.95) 0%, rgba(13, 14, 20, 0.98) 100%);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.ticket-badge-card {
  position: relative;
  display: inline-flex;
  align-items: center;
  background: var(--rc-theme-bg, rgba(59, 130, 246, 0.08));
  border: 1.5px solid var(--theme-border, rgba(59, 130, 246, 0.4));
  border-radius: 14px;
  padding: 12px 22px;
  min-width: 170px;
  box-shadow: 0 0 24px -6px var(--glow, rgba(59, 130, 246, 0.3));
  transition: all 0.3s ease;
}

.ticket-badge-notch { display: none !important; }
.ticket-badge-notch.notch-top { top: -7px; }
.ticket-badge-notch.notch-bottom { bottom: -7px; }

.ticket-badge-content {
  display: flex;
  align-items: center;
  gap: 14px;
}

.ticket-icon-circle {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--rc-theme-bg, rgba(59, 130, 246, 0.16));
  border: 1px solid var(--theme-border, rgba(59, 130, 246, 0.45));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mk, #3b82f6);
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.ticket-badge-pct {
  font-size: 32px;
  font-weight: 900;
  color: var(--mk, #3b82f6);
  line-height: 1;
  letter-spacing: -0.03em;
  text-shadow: 0 0 20px var(--glow, rgba(59, 130, 246, 0.5));
  transition: all 0.3s ease;
}

.ticket-badge-sub {
  display: flex;
  flex-direction: column;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #fff;
  line-height: 1.15;
  text-transform: uppercase;
}

.ticket-mid-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 180px;
}

.ticket-subhead-label {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #8a8a9a;
}

.dashed-code-box {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 8px 16px;
  border-radius: 10px;
  border: 1.5px dashed rgba(255, 255, 255, 0.28);
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: inherit;
}

.dashed-code-box:hover {
  border-color: var(--mk, #3b82f6);
  background: var(--rc-theme-bg, rgba(59, 130, 246, 0.14));
  box-shadow: 0 0 16px var(--glow, rgba(59, 130, 246, 0.35));
}

.dashed-code-txt {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #fff;
}

.ticket-savings-box {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.savings-main-title {
  font-size: 14px;
  color: #a1a1b5;
  font-weight: 500;
}

.savings-main-title b {
  color: #fff;
  font-weight: 700;
}

.savings-sub-detail {
  font-size: 12px;
  color: #717182;
}

.savings-sub-detail .net {
  color: var(--mk, #3b82f6);
  font-weight: 600;
  transition: color 0.3s ease;
}

.btn-claim-glowing {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 999px;
  background: var(--btn, linear-gradient(180deg, #3b82f6 0%, #1d4ed8 100%));
  color: var(--btn-text, #ffffff);
  font-size: 13.5px;
  font-weight: 800;
  text-decoration: none;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 24px var(--glow, rgba(37, 99, 235, 0.5));
}

.btn-claim-glowing:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 35px var(--glow, rgba(37, 99, 235, 0.75));
  filter: brightness(1.15);
  color: var(--btn-text, #ffffff);
}

/* Scoped Category Theme Styles for Coupon Banner */
[data-market="fx"] .ticket-badge-card,
[data-market="forex"] .ticket-badge-card {
  background: rgba(59, 130, 246, 0.08) !important;
  border-color: rgba(59, 130, 246, 0.4) !important;
  box-shadow: 0 0 24px -6px rgba(59, 130, 246, 0.3) !important;
}
[data-market="fx"] .ticket-icon-circle,
[data-market="forex"] .ticket-icon-circle {
  background: rgba(59, 130, 246, 0.16) !important;
  border-color: rgba(59, 130, 246, 0.45) !important;
  color: #3b82f6 !important;
}
[data-market="fx"] .ticket-badge-pct,
[data-market="forex"] .ticket-badge-pct {
  color: #3b82f6 !important;
  text-shadow: 0 0 20px rgba(59, 130, 246, 0.5) !important;
}
[data-market="fx"] .btn-claim-glowing,
[data-market="forex"] .btn-claim-glowing {
  background: linear-gradient(180deg, #3b82f6 0%, #1d4ed8 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 0 24px rgba(37, 99, 235, 0.6) !important;
}
[data-market="fx"] .btn-claim-glowing:hover,
[data-market="forex"] .btn-claim-glowing:hover {
  background: linear-gradient(180deg, #60a5fa 0%, #2563eb 100%) !important;
  box-shadow: 0 0 35px rgba(37, 99, 235, 0.85) !important;
  color: #ffffff !important;
}

[data-market="fu"] .ticket-badge-card,
[data-market="futures"] .ticket-badge-card {
  background: rgba(16, 185, 129, 0.08) !important;
  border-color: rgba(16, 185, 129, 0.4) !important;
  box-shadow: 0 0 24px -6px rgba(16, 185, 129, 0.3) !important;
}
[data-market="fu"] .ticket-icon-circle,
[data-market="futures"] .ticket-icon-circle {
  background: rgba(16, 185, 129, 0.16) !important;
  border-color: rgba(16, 185, 129, 0.45) !important;
  color: #10b981 !important;
}
[data-market="fu"] .ticket-badge-pct,
[data-market="futures"] .ticket-badge-pct {
  color: #10b981 !important;
  text-shadow: 0 0 20px rgba(16, 185, 129, 0.5) !important;
}
[data-market="fu"] .btn-claim-glowing,
[data-market="futures"] .btn-claim-glowing {
  background: linear-gradient(180deg, #34d399 0%, #059669 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 0 24px rgba(16, 185, 129, 0.6) !important;
}
[data-market="fu"] .btn-claim-glowing:hover,
[data-market="futures"] .btn-claim-glowing:hover {
  background: linear-gradient(180deg, #6ee7b7 0%, #10b981 100%) !important;
  box-shadow: 0 0 35px rgba(16, 185, 129, 0.85) !important;
  color: #ffffff !important;
}

[data-market="cr"] .ticket-badge-card,
[data-market="crypto"] .ticket-badge-card {
  background: rgba(245, 158, 11, 0.08) !important;
  border-color: rgba(245, 158, 11, 0.4) !important;
  box-shadow: 0 0 24px -6px rgba(245, 158, 11, 0.3) !important;
}
[data-market="cr"] .ticket-icon-circle,
[data-market="crypto"] .ticket-icon-circle {
  background: rgba(245, 158, 11, 0.16) !important;
  border-color: rgba(245, 158, 11, 0.45) !important;
  color: #f59e0b !important;
}
[data-market="cr"] .ticket-badge-pct,
[data-market="crypto"] .ticket-badge-pct {
  color: #f59e0b !important;
  text-shadow: 0 0 20px rgba(245, 158, 11, 0.5) !important;
}
[data-market="cr"] .btn-claim-glowing,
[data-market="crypto"] .btn-claim-glowing {
  background: linear-gradient(180deg, #fbbf24 0%, #d97706 100%) !important;
  color: #1a1200 !important;
  box-shadow: 0 0 24px rgba(245, 158, 11, 0.6) !important;
}
[data-market="cr"] .btn-claim-glowing:hover,
[data-market="crypto"] .btn-claim-glowing:hover {
  background: linear-gradient(180deg, #fde047 0%, #f59e0b 100%) !important;
  box-shadow: 0 0 35px rgba(245, 158, 11, 0.85) !important;
  color: #1a1200 !important;
}

[data-market="pp"] .ticket-badge-card,
[data-market="perps"] .ticket-badge-card {
  background: rgba(236, 72, 153, 0.08) !important;
  border-color: rgba(236, 72, 153, 0.4) !important;
  box-shadow: 0 0 24px -6px rgba(236, 72, 153, 0.3) !important;
}
[data-market="pp"] .ticket-icon-circle,
[data-market="perps"] .ticket-icon-circle {
  background: rgba(236, 72, 153, 0.16) !important;
  border-color: rgba(236, 72, 153, 0.45) !important;
  color: #ec4899 !important;
}
[data-market="pp"] .ticket-badge-pct,
[data-market="perps"] .ticket-badge-pct {
  color: #ec4899 !important;
  text-shadow: 0 0 20px rgba(236, 72, 153, 0.5) !important;
}
[data-market="pp"] .btn-claim-glowing,
[data-market="perps"] .btn-claim-glowing {
  background: linear-gradient(180deg, #f472b6 0%, #db2777 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 0 24px rgba(236, 72, 153, 0.6) !important;
}
[data-market="pp"] .btn-claim-glowing:hover,
[data-market="perps"] .btn-claim-glowing:hover {
  background: linear-gradient(180deg, #f9a8d4 0%, #ec4899 100%) !important;
  box-shadow: 0 0 35px rgba(236, 72, 153, 0.85) !important;
  color: #ffffff !important;
}

/* ==========================================================================
   TRADER RATING 3-COLUMN CARD (Matches media_1793296585653_b9410a5d.png)
   ========================================================================== */
.trader-rating-card {
  position: relative;
  display: grid;
  grid-template-columns: 240px 1fr 1fr;
  gap: 32px;
  padding: 28px;
  background: linear-gradient(135deg, rgba(20, 21, 29, 0.95) 0%, rgba(13, 14, 20, 0.98) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  box-shadow: 0 20px 45px -12px rgba(0, 0, 0, 0.7);
  margin-bottom: 24px;
}

@media (max-width: 900px) {
  .trader-rating-card {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.trader-rating-col {
  display: flex;
  flex-direction: column;
}

.trader-rating-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #717182;
  margin-bottom: 12px;
}

/* Col 1: Big Rating Score */
.trader-rating-score-row {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 6px;
}

.trader-rating-big {
  font-size: 48px;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.03em;
}

.trader-rating-denom {
  font-size: 18px;
  font-weight: 600;
  color: #717182;
}

.trader-stars-cyan {
  color: var(--mk, #3b82f6);
  font-size: 16px;
  letter-spacing: 2px;
  margin-bottom: 8px;
  transition: color 0.3s ease;
}

.trader-review-count-note {
  font-size: 12px;
  color: #8e8ea0;
  margin-bottom: 16px;
}

.btn-write-review-cyan {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--btn, linear-gradient(180deg, #3b82f6 0%, #1d4ed8 100%));
  color: var(--btn-text, #ffffff);
  font-size: 13px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  width: fit-content;
  box-shadow: 0 0 20px var(--glow, rgba(37, 99, 235, 0.4));
  margin-bottom: 14px;
}

.btn-write-review-cyan:hover {
  filter: brightness(1.15);
  transform: translateY(-1px);
  box-shadow: 0 0 26px var(--glow, rgba(37, 99, 235, 0.6));
}

.trader-paid-stat {
  font-size: 12px;
  font-weight: 600;
  color: var(--mk, #3b82f6);
  margin-top: auto;
  transition: color 0.3s ease;
}

/* Col 2 & 3: Horizontal Progress Bars */
.trader-bars-stack {
  display: flex;
  flex-direction: column;
  gap: 9px;
  flex: 1;
}

.trader-bar-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
  color: #a1a1b5;
}

.trader-bar-title {
  min-width: 120px;
  color: #c7c7d4;
  font-weight: 500;
  white-space: nowrap;
}

.trader-bar-star-label {
  min-width: 34px;
  color: #a1a1b5;
  font-weight: 500;
}

.trader-bar-track {
  flex: 1;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
  position: relative;
}

.trader-bar-fill-cyan {
  height: 100%;
  border-radius: 999px;
  background: var(--mk, #3b82f6);
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.3s ease;
  box-shadow: 0 0 8px var(--glow, rgba(37, 99, 235, 0.4));
}

/* Scoped Category Theme Styles for Trader Reviews Card */
[data-market="fx"] .trader-stars-cyan,
[data-market="forex"] .trader-stars-cyan,
[data-market="fx"] .trader-paid-stat,
[data-market="forex"] .trader-paid-stat,
[data-market="fx"] .official-firm-reply-badge,
[data-market="forex"] .official-firm-reply-badge,
[data-market="fx"] .trader-review-badge-verified,
[data-market="forex"] .trader-review-badge-verified,
[data-market="fx"] .trader-tag-pill.paid,
[data-market="forex"] .trader-tag-pill.paid,
[data-market="fx"] .savings-sub-detail .net,
[data-market="forex"] .savings-sub-detail .net {
  color: #3b82f6 !important;
}
[data-market="fx"] .trader-bar-fill-cyan,
[data-market="forex"] .trader-bar-fill-cyan,
[data-market="fx"] .trader-sub-fill,
[data-market="forex"] .trader-sub-fill {
  background: #3b82f6 !important;
  box-shadow: 0 0 8px rgba(59, 130, 246, 0.5) !important;
}
[data-market="fx"] .btn-write-review-cyan,
[data-market="forex"] .btn-write-review-cyan {
  background: linear-gradient(180deg, #3b82f6 0%, #1d4ed8 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 0 20px rgba(37, 99, 235, 0.5) !important;
}
[data-market="fx"] .official-firm-reply-card,
[data-market="forex"] .official-firm-reply-card {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, rgba(168, 85, 247, 0.04) 100%) !important;
  border-color: rgba(59, 130, 246, 0.3) !important;
}

[data-market="fu"] .trader-stars-cyan,
[data-market="futures"] .trader-stars-cyan,
[data-market="fu"] .trader-paid-stat,
[data-market="futures"] .trader-paid-stat,
[data-market="fu"] .official-firm-reply-badge,
[data-market="futures"] .official-firm-reply-badge,
[data-market="fu"] .trader-review-badge-verified,
[data-market="futures"] .trader-review-badge-verified,
[data-market="fu"] .trader-tag-pill.paid,
[data-market="futures"] .trader-tag-pill.paid,
[data-market="fu"] .savings-sub-detail .net,
[data-market="futures"] .savings-sub-detail .net {
  color: #10b981 !important;
}
[data-market="fu"] .trader-bar-fill-cyan,
[data-market="futures"] .trader-bar-fill-cyan,
[data-market="fu"] .trader-sub-fill,
[data-market="futures"] .trader-sub-fill {
  background: #10b981 !important;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.5) !important;
}
[data-market="fu"] .btn-write-review-cyan,
[data-market="futures"] .btn-write-review-cyan {
  background: linear-gradient(180deg, #34d399 0%, #059669 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.5) !important;
}
[data-market="fu"] .official-firm-reply-card,
[data-market="futures"] .official-firm-reply-card {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(168, 85, 247, 0.04) 100%) !important;
  border-color: rgba(16, 185, 129, 0.3) !important;
}

[data-market="cr"] .trader-stars-cyan,
[data-market="crypto"] .trader-stars-cyan,
[data-market="cr"] .trader-paid-stat,
[data-market="crypto"] .trader-paid-stat,
[data-market="cr"] .official-firm-reply-badge,
[data-market="crypto"] .official-firm-reply-badge,
[data-market="cr"] .trader-review-badge-verified,
[data-market="crypto"] .trader-review-badge-verified,
[data-market="cr"] .trader-tag-pill.paid,
[data-market="crypto"] .trader-tag-pill.paid,
[data-market="cr"] .savings-sub-detail .net,
[data-market="crypto"] .savings-sub-detail .net {
  color: #f59e0b !important;
}
[data-market="cr"] .trader-bar-fill-cyan,
[data-market="crypto"] .trader-bar-fill-cyan,
[data-market="cr"] .trader-sub-fill,
[data-market="crypto"] .trader-sub-fill {
  background: #f59e0b !important;
  box-shadow: 0 0 8px rgba(245, 158, 11, 0.5) !important;
}
[data-market="cr"] .btn-write-review-cyan,
[data-market="crypto"] .btn-write-review-cyan {
  background: linear-gradient(180deg, #fbbf24 0%, #d97706 100%) !important;
  color: #1a1200 !important;
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.5) !important;
}
[data-market="cr"] .official-firm-reply-card,
[data-market="crypto"] .official-firm-reply-card {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.08) 0%, rgba(168, 85, 247, 0.04) 100%) !important;
  border-color: rgba(245, 158, 11, 0.3) !important;
}

[data-market="pp"] .trader-stars-cyan,
[data-market="perps"] .trader-stars-cyan,
[data-market="pp"] .trader-paid-stat,
[data-market="perps"] .trader-paid-stat,
[data-market="pp"] .official-firm-reply-badge,
[data-market="perps"] .official-firm-reply-badge,
[data-market="pp"] .trader-review-badge-verified,
[data-market="perps"] .trader-review-badge-verified,
[data-market="pp"] .trader-tag-pill.paid,
[data-market="perps"] .trader-tag-pill.paid,
[data-market="pp"] .savings-sub-detail .net,
[data-market="perps"] .savings-sub-detail .net {
  color: #ec4899 !important;
}
[data-market="pp"] .trader-bar-fill-cyan,
[data-market="perps"] .trader-bar-fill-cyan,
[data-market="pp"] .trader-sub-fill,
[data-market="perps"] .trader-sub-fill {
  background: #ec4899 !important;
  box-shadow: 0 0 8px rgba(236, 72, 153, 0.5) !important;
}
[data-market="pp"] .btn-write-review-cyan,
[data-market="perps"] .btn-write-review-cyan {
  background: linear-gradient(180deg, #f472b6 0%, #db2777 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 0 20px rgba(236, 72, 153, 0.5) !important;
}
[data-market="pp"] .official-firm-reply-card,
[data-market="perps"] .official-firm-reply-card {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.08) 0%, rgba(168, 85, 247, 0.04) 100%) !important;
  border-color: rgba(236, 72, 153, 0.3) !important;
}

.trader-bar-val {
  min-width: 24px;
  text-align: right;
  font-size: 12.5px;
  font-weight: 700;
  color: #fff;
}

.trader-area-note {
  font-size: 11px;
  color: #717182;
  margin-top: 14px;
  line-height: 1.4;
}

/* Reviews List Toolbar */
.trader-reviews-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 28px 0 16px;
  flex-wrap: wrap;
  gap: 12px;
}

.trader-reviews-count-title {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
}

.trader-reviews-filter-pills {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
}

.trader-filter-pill {
  padding: 6px 14px;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: #8e8ea0;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.trader-filter-pill.active {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.trader-filter-pill:hover:not(.active) {
  color: #fff;
}

/* Review Item Card */
.trader-review-item-card {
  background: linear-gradient(135deg, rgba(20, 21, 29, 0.7) 0%, rgba(14, 15, 22, 0.8) 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 14px;
  transition: border-color 0.2s ease;
}

.trader-review-item-card:hover {
  border-color: rgba(34, 211, 238, 0.2);
}

.trader-review-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  flex-wrap: wrap;
  gap: 12px;
}

.trader-review-user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.trader-review-avatar-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0284c7 0%, #22d3ee 100%);
  color: #040810;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  box-shadow: 0 0 14px rgba(34, 211, 238, 0.3);
}

.trader-review-badge-verified {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  color: #22d3ee;
  background: rgba(34, 211, 238, 0.1);
  padding: 2px 8px;
  border-radius: 999px;
  margin-left: 6px;
}

.trader-review-subratings-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
  padding: 8px 12px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  flex-wrap: wrap;
}

.trader-sub-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  color: #8e8ea0;
}

.trader-sub-track {
  width: 45px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.trader-sub-fill {
  height: 100%;
  background: #22d3ee;
  border-radius: 999px;
}

.trader-review-tags-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.trader-tag-pill {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #c7c7d4;
}

.trader-tag-pill.paid {
  background: rgba(34, 211, 238, 0.12);
  border-color: rgba(34, 211, 238, 0.3);
  color: #22d3ee;
}

/* Official Prop Firm Company Reply Card */
.official-firm-reply-card {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.05) 0%, rgba(168, 85, 247, 0.04) 100%);
  border: 1px solid rgba(34, 211, 238, 0.25);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  animation: udFadeIn 0.2s ease;
}

.official-firm-reply-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  flex-wrap: wrap;
  gap: 8px;
}

.official-firm-reply-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #22d3ee;
}

.official-firm-reply-body {
  font-size: 13px;
  color: #e2e8f0;
  line-height: 1.6;
  margin: 0;
  white-space: pre-line;
}


/* ==========================================================================
   MULTI-STEP REVIEW COLLECT MODAL WIZARD (Matches PFL review question screens)
   ========================================================================== */
.review-wizard-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.review-wizard-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.review-wizard-modal {
  position: relative;
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  overflow-y: auto;
  background: #090a10;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.9), 0 0 50px rgba(168, 85, 247, 0.15);
  display: flex;
  flex-direction: column;
}

.wizard-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 26px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.wizard-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}

.wizard-close-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: #8e8ea0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.wizard-close-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.wizard-resume-banner {
  margin: 16px 26px 0;
  background: rgba(168, 85, 247, 0.08);
  border: 1px solid rgba(168, 85, 247, 0.25);
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  color: #e9d5ff;
}

.wizard-step-container {
  padding: 26px 32px 32px;
  flex: 1;
}

.wizard-step-tag {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 999px;
  background: rgba(168, 85, 247, 0.15);
  color: #c084fc;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 16px;
}

.wizard-step-title {
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 6px;
  line-height: 1.25;
}

.wizard-step-desc {
  font-size: 13.5px;
  color: #8e8ea0;
  margin: 0 0 22px;
  line-height: 1.5;
}

.wizard-firm-preview-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  margin-bottom: 24px;
}

.wizard-stars-large {
  display: flex;
  gap: 12px;
  margin: 16px 0 28px;
  cursor: pointer;
}

.wizard-star-btn {
  font-size: 38px;
  color: #3b3c4a;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
}

.wizard-star-btn.active,
.wizard-star-btn.hovered {
  color: #d946ef;
  text-shadow: 0 0 18px rgba(217, 70, 239, 0.6);
  transform: scale(1.1);
}

.wizard-pills-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.wizard-pill-opt {
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: #c7c7d4;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.wizard-pill-opt:hover {
  border-color: rgba(217, 70, 239, 0.4);
  color: #fff;
}

.wizard-pill-opt.active {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.25) 0%, rgba(217, 70, 239, 0.35) 100%);
  border-color: #d946ef;
  color: #fff;
  box-shadow: 0 0 16px rgba(217, 70, 239, 0.3);
}

.wizard-input-field {
  width: 100%;
  height: 46px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0 16px;
  color: #fff;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.wizard-input-field:focus {
  border-color: #d946ef;
  box-shadow: 0 0 14px rgba(217, 70, 239, 0.25);
}

.wizard-textarea {
  width: 100%;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 14px 16px;
  color: #fff;
  font-size: 14px;
  line-height: 1.6;
  outline: none;
  transition: border-color 0.2s;
  resize: vertical;
  min-height: 140px;
  box-sizing: border-box;
}

.wizard-textarea:focus {
  border-color: #d946ef;
  box-shadow: 0 0 14px rgba(217, 70, 239, 0.25);
}

.wizard-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.3);
}

.wizard-btn-back {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.wizard-btn-back:hover {
  background: rgba(255, 255, 255, 0.1);
}

.wizard-btn-continue {
  padding: 12px 32px;
  border-radius: 999px;
  background: linear-gradient(135deg, #a855f7 0%, #d946ef 100%);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 0 20px rgba(217, 70, 239, 0.4);
}

.wizard-btn-continue:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 28px rgba(217, 70, 239, 0.65);
}

.wizard-important-note {
  font-size: 11.5px;
  color: #717182;
  margin-top: 16px;
  line-height: 1.5;
}


/* ==========================================================================
   EASY WRITE REVIEW BOX & IMAGE ATTACHMENT (Direct on Firm Profile)
   ========================================================================== */
#write-firm-review-box {
  margin-top: 32px;
  background: linear-gradient(135deg, rgba(20, 21, 29, 0.95) 0%, rgba(13, 14, 20, 0.98) 100%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 20px 45px -12px rgba(0, 0, 0, 0.7);
}

.write-review-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  margin-bottom: 22px;
}

.live-overall-badge {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  background: rgba(34, 211, 238, 0.06);
  border: 1px solid rgba(34, 211, 238, 0.3);
  border-radius: 12px;
  padding: 8px 16px;
}

.easy-star-ratings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.easy-star-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 14px 18px;
  transition: border-color 0.2s ease;
}

.easy-star-item:hover {
  border-color: rgba(34, 211, 238, 0.3);
}

.easy-star-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.easy-star-title {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}

.easy-star-score {
  font-size: 12px;
  font-weight: 700;
  color: #22d3ee;
}

.easy-star-selector {
  display: flex;
  gap: 6px;
  font-size: 26px;
  cursor: pointer;
}

.star-click-btn {
  color: #3b3c4a;
  transition: all 0.15s ease;
  user-select: none;
}

.star-click-btn.active,
.star-click-btn.hover {
  color: #22d3ee;
  text-shadow: 0 0 12px rgba(34, 211, 238, 0.5);
  transform: scale(1.1);
}

.quick-size-pills,
.quick-outcome-pills {
  display: inline-flex;
  gap: 6px;
  flex-wrap: wrap;
}

.quick-pill {
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: #a1a1b5;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.quick-pill:hover {
  border-color: rgba(34, 211, 238, 0.4);
  color: #fff;
}

.quick-pill.active {
  background: rgba(34, 211, 238, 0.15);
  border-color: #22d3ee;
  color: #22d3ee;
  box-shadow: 0 0 12px rgba(34, 211, 238, 0.25);
}

/* Image Attachment Dropzone */
.attach-image-dropzone {
  border: 1.5px dashed rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 14px 18px;
  background: rgba(0, 0, 0, 0.25);
  transition: all 0.2s ease;
  margin-bottom: 16px;
}

.attach-image-dropzone:hover {
  border-color: rgba(34, 211, 238, 0.4);
  background: rgba(34, 211, 238, 0.03);
}

/* Proof Attachment Card in Feed */
.proof-enlarge-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  margin-top: 12px;
  transition: all 0.2s ease;
  text-align: left;
}

.proof-enlarge-btn:hover {
  border-color: rgba(34, 211, 238, 0.4);
  background: rgba(34, 211, 238, 0.06);
}

.proof-thumb-box {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  overflow: hidden;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.proof-thumb-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.proof-info-box {
  display: flex;
  flex-direction: column;
}

.proof-title {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
}

.proof-sub {
  font-size: 11px;
  color: #22d3ee;
}

/* Lightbox Modal */
.proof-lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.proof-lightbox-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.proof-lightbox-img-wrap {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 40px rgba(34, 211, 238, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.proof-lightbox-img-wrap img {
  display: block;
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
}

.proof-lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.proof-lightbox-close:hover {
  background: #ef4444;
  border-color: #ef4444;
}


/* UNIVERSAL FULL LOGO FIT GUARANTEE */
.firm-logo-badge img,
.rev-firm-logo-wrap img,
.compare-firm-logo img,
.firm-header-logo img,
.profile-card-logo img,
.pj-firm-avatar img,
.offer-firm-logo img,
.prop-card-logo img,
.firm-logo-badge a img,
.rev-firm-logo-wrap a img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  padding: 3px !important;
  box-sizing: border-box !important;
  background: transparent !important;
}


/* STAR FILTER & BLOG CARD IMAGES */
.trader-bar-row.trader-bar-clickable {
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 8px;
  transition: all 0.2s ease;
  user-select: none;
}

.trader-bar-row.trader-bar-clickable:hover {
  background: rgba(255, 255, 255, 0.05);
}

.trader-bar-row.trader-bar-clickable:hover .trader-bar-star-label {
  color: #fff;
}

.trader-bar-row.active-star-filter {
  background: rgba(34, 211, 238, 0.12) !important;
  border: 1px solid rgba(34, 211, 238, 0.35);
}

.trader-bar-row.active-star-filter .trader-bar-star-label {
  color: var(--accent, #22d3ee) !important;
  font-weight: 700;
}

/* Blog Card Image Styles */
.blog-card-image-wrap {
  width: 100%;
  height: 180px;
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.blog-card-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block;
  transition: transform 0.35s ease;
}

.blog-card:hover .blog-card-img {
  transform: scale(1.04);
}

/* Eye-Catchy Ticket Separator with No Black Dots */
.ticket-badge-card {
  position: relative;
  border-right: 1px dashed rgba(255, 255, 255, 0.15) !important;
}

/* ==========================================================================
   Firm Review Pop-up Modal & Dedicated Edit Controls (No-Scroll Pop-up)
   ========================================================================== */
.firm-review-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(4, 6, 14, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.firm-review-modal-backdrop.open {
  display: flex !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

.firm-review-modal-dialog {
  position: relative;
  background: #0d111d;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.9), 0 0 40px rgba(34, 211, 238, 0.12);
  width: 100%;
  max-width: 660px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 26px 28px;
  transform: translateY(20px) scale(0.98);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.firm-review-modal-backdrop.open .firm-review-modal-dialog {
  transform: translateY(0) scale(1);
}

.firm-review-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10;
}

.firm-review-modal-close:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.4);
  color: #ef4444;
  transform: scale(1.08);
}

.firm-review-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-right: 32px;
}

.trader-review-edit-btn {
  background: rgba(34, 211, 238, 0.12) !important;
  border: 1px solid rgba(34, 211, 238, 0.35) !important;
  color: #22d3ee !important;
  font-size: 11.5px !important;
  font-weight: 700 !important;
  padding: 4px 14px !important;
  height: 28px !important;
  border-radius: 999px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

.trader-review-edit-btn:hover {
  background: rgba(34, 211, 238, 0.25) !important;
  border-color: #22d3ee !important;
  transform: translateY(-1px);
}

/* ===================================================================
   RULE CHANGES TRACKING ENGINE (PropFirmBridge Liquid Glass Edition)
   =================================================================== */
.rc-page-header {
  position: relative;
  margin-bottom: 24px;
}

.rc-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--t3);
  margin-bottom: 14px;
}

.rc-breadcrumbs a {
  color: var(--t2);
  text-decoration: none;
  transition: color 0.2s ease;
}

.rc-breadcrumbs a:hover {
  color: var(--accent);
}

.rc-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: monospace;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: #94a3b8;
  margin: 0 0 10px;
}

.rc-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.22);
  display: inline-block;
  animation: rcPulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes rcPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.15); }
}

.rc-hero-title {
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 10px;
}

.rc-hero-title em {
  font-style: normal;
  font-weight: 700;
  background: linear-gradient(135deg, #22d3ee 0%, #c084fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.rc-hero-desc {
  font-size: 14.5px;
  color: #94a3b8;
  line-height: 1.6;
  max-width: 760px;
  margin: 0 0 18px;
}

.rc-hero-desc a {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.3);
  text-underline-offset: 4px;
}

.rc-hero-desc a:hover {
  text-decoration-color: #fff;
}

/* Weekly Email Callout Box */
.rc-weekly-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035) 0%, rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.rc-weekly-title {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
}

.rc-weekly-sub {
  font-size: 13px;
  color: #94a3b8;
  margin: 0;
  line-height: 1.45;
}

.rc-weekly-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 700;
  background: var(--btn, #22d3ee);
  color: #04140f;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.rc-weekly-btn:hover {
  filter: brightness(1.12);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(34, 211, 238, 0.35);
}

/* Two-Column Main Layout Grid */
.rc-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 28px;
  align-items: start;
  margin-bottom: 48px;
}

@media (max-width: 1024px) {
  .rc-main-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* Toolbar & Filter Tabs */
.rc-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.rc-filter-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.rc-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: all 0.2s ease;
  backdrop-filter: blur(8px);
}

.rc-chip:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.16);
}

.rc-chip.active {
  background: var(--rc-theme-bg, rgba(37, 99, 235, 0.16));
  color: var(--rc-theme-color, #3b82f6);
  border-color: var(--rc-theme-color, rgba(37, 99, 235, 0.45));
  box-shadow: 0 0 14px var(--rc-theme-glow, rgba(37, 99, 235, 0.25));
}

.rc-chip.worse.active {
  background: rgba(239, 68, 68, 0.18);
  color: #f87171;
  border-color: rgba(239, 68, 68, 0.45);
  box-shadow: 0 0 14px rgba(239, 68, 68, 0.15);
}

.rc-chip.better.active {
  background: rgba(16, 185, 129, 0.18);
  color: #34d399;
  border-color: rgba(16, 185, 129, 0.45);
  box-shadow: 0 0 14px rgba(16, 185, 129, 0.15);
}

.rc-search-wrap {
  position: relative;
  min-width: 240px;
}

.rc-search-input {
  width: 100%;
  height: 36px;
  padding: 0 14px 0 34px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: #fff;
  font-size: 12.5px;
  outline: none;
  transition: all 0.2s ease;
}

.rc-search-input:focus {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 0 14px var(--glow);
}

.rc-search-icon {
  position: absolute;
  left: 11px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--t3);
  pointer-events: none;
}

/* Date Group Header Block (PropFirmBridge Liquid Glass) */
.rc-date-group {
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rc-date-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: linear-gradient(180deg, rgba(14, 22, 38, 0.85) 0%, rgba(9, 14, 26, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 20px 45px -20px rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(20px);
}

.rc-date-badge {
  width: 54px;
  height: 54px;
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  background: linear-gradient(180deg, #131b2e 0%, #090e1c 100%);
  border: 1px solid var(--rc-theme-color, #3b82f6);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 8px 20px -6px var(--rc-theme-glow, rgba(37, 99, 235, 0.45));
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
}

.rc-date-badge-month {
  background: var(--rc-theme-btn, linear-gradient(180deg, #4f82f6 0%, #2563eb 100%));
  color: var(--rc-theme-btn-text, #ffffff);
  font-family: monospace;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  padding: 2px 0;
  text-transform: uppercase;
}

.rc-date-badge-day {
  color: #fff;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.03em;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rc-date-info {
  min-width: 0;
  flex: 1;
}

.rc-date-info h3 {
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #fff;
  margin: 0 0 2px;
}

.rc-date-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: monospace;
  font-size: 11.5px;
  color: #94a3b8;
  flex-wrap: wrap;
}

.rc-micro-ratio {
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
  display: flex;
  gap: 2px;
  margin-top: 8px;
}

.rc-micro-ratio-worse {
  background: linear-gradient(90deg, #ef4444, #f87171);
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.45);
}

.rc-micro-ratio-better {
  background: linear-gradient(90deg, #10b981, #34d399);
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.45);
}

/* Firm Rule Change Card (Liquid Glass) */
.rc-firm-card {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(12, 19, 34, 0.75) 0%, rgba(8, 12, 22, 0.85) 100%);
  backdrop-filter: blur(24px) saturate(180%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 20px 45px -15px rgba(0, 0, 0, 0.7);
  overflow: hidden;
  margin-bottom: 12px;
  transition: all 0.22s ease;
}

.rc-firm-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 24px 50px -15px rgba(0, 0, 0, 0.85);
}

.rc-firm-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, transparent 100%);
  flex-wrap: wrap;
  gap: 10px;
}

.rc-firm-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.rc-firm-logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.rc-firm-logo {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: #fff;
  object-fit: contain;
  padding: 2px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.rc-firm-title {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #fff;
  text-decoration: none;
  transition: color 0.2s ease;
}

.rc-firm-title:hover {
  color: var(--accent);
}

.rc-market-badge {
  font-size: 10.5px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: #7dd3fc;
  background: rgba(56, 189, 248, 0.1);
  margin-left: 6px;
}

.rc-firm-header-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.rc-change-count-lbl {
  font-family: monospace;
  font-size: 11px;
  color: #8a8a8a;
}

.rc-verdict-pill {
  padding: 3px 9px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.rc-verdict-pill.worse {
  background: rgba(239, 68, 68, 0.14);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.rc-verdict-pill.better {
  background: rgba(16, 185, 129, 0.14);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

/* 6-Column Rule Table */
.rc-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.rc-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  table-layout: fixed;
}

.rc-table col.col-prog { width: 25%; }
.rc-table col.col-rule { width: 13%; }
.rc-table col.col-acct { width: 10%; }
.rc-table col.col-diff { width: 27%; }
.rc-table col.col-delt { width: 15%; }
.rc-table col.col-src  { width: 10%; }

.rc-table th {
  padding: 9px 14px;
  font-family: monospace;
  font-size: 10px;
  font-weight: 700;
  color: #7a8388;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.015);
  text-align: left;
}

.rc-table th.text-right {
  text-align: right;
}

.rc-table td {
  padding: 11px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  vertical-align: middle;
}

.rc-table td + td, .rc-table th + th {
  border-left: 1px solid rgba(255, 255, 255, 0.05);
}

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

.rc-table tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

.rc-diff-val {
  font-family: monospace;
  font-size: 12.5px;
  line-height: 1.4;
  text-align: right;
  overflow-wrap: anywhere;
}

.rc-diff-old {
  color: #737b80;
  text-decoration: line-through;
  text-decoration-color: rgba(255, 255, 255, 0.25);
}

.rc-diff-arrow {
  margin: 0 6px;
  color: #5a6266;
}

.rc-diff-new {
  font-weight: 700;
}

.rc-diff-new.worse {
  color: #f87171;
}

.rc-diff-new.better {
  color: #34d399;
}

.rc-delta-tag {
  font-size: 12px;
  font-weight: 700;
  text-align: right;
}

.rc-delta-tag.worse {
  color: #f87171;
}

.rc-delta-tag.better {
  color: #34d399;
}

.rc-source-link {
  font-size: 12px;
  color: #8a8a8a;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.2);
  text-underline-offset: 4px;
  transition: color 0.2s ease;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.rc-source-link:hover {
  color: #fff;
  text-decoration-color: #fff;
}

.rc-firm-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 16px;
  background: rgba(255, 255, 255, 0.015);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-family: monospace;
  font-size: 11px;
  color: #7a8388;
  flex-wrap: wrap;
  gap: 8px;
}

.rc-firm-footer a {
  color: #8a8a8a;
  text-decoration: none;
  transition: color 0.2s ease;
}

.rc-firm-footer a:hover {
  color: #fff;
}

/* Mobile Transform on <600px Screens */
@media (max-width: 600px) {
  .rc-table colgroup, .rc-table thead {
    display: none;
  }
  .rc-table, .rc-table tbody, .rc-table tr {
    display: block;
    width: 100%;
  }
  .rc-table tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 4px 12px;
    padding: 10px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }
  .rc-table td {
    padding: 0 !important;
    border: none !important;
  }
  .rc-table td.col-cell-prog {
    grid-column: 1;
    font-weight: 700;
  }
  .rc-table td.col-cell-acct {
    grid-column: 2;
    text-align: right;
  }
  .rc-table td.col-cell-rule {
    grid-column: 1;
    font-size: 12px;
  }
  .rc-table td.col-cell-diff {
    grid-column: 1;
    text-align: left;
  }
  .rc-table td.col-cell-delt {
    grid-column: 2;
    text-align: right;
  }
  .rc-table td.col-cell-src {
    display: none;
  }
}

/* ===================================================================
   STICKY INTELLIGENCE SIDEBAR (Liquid Glass)
   =================================================================== */
.rc-sidebar {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.rc-side-card {
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: linear-gradient(180deg, rgba(13, 20, 36, 0.8) 0%, rgba(8, 12, 22, 0.9) 100%);
  backdrop-filter: blur(20px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 20px 45px -20px rgba(0, 0, 0, 0.8);
}

.rc-side-header {
  font-family: monospace;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #7a8388;
  margin-bottom: 6px;
}

.rc-summary-big {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}

.rc-ratio-track {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
  display: flex;
  gap: 2px;
  margin-bottom: 12px;
}

.rc-ratio-worse {
  background: linear-gradient(90deg, #ef4444, #f87171);
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.4);
}

.rc-ratio-better {
  background: linear-gradient(90deg, #10b981, #34d399);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.4);
}

.rc-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  margin-bottom: 5px;
}

.rc-summary-row:last-child {
  margin-bottom: 0;
}

/* Sidebar Calendar Widget */
.rc-cal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.rc-cal-nav-btn {
  background: transparent;
  border: none;
  color: #8a8a8a;
  padding: 4px;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.rc-cal-nav-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.rc-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
  text-align: center;
  font-family: monospace;
  font-size: 11px;
  margin-bottom: 12px;
}

.rc-cal-th {
  padding: 3px 0;
  font-size: 9.5px;
  font-weight: 700;
  color: #5f686d;
}

.rc-quick-ranges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.rc-quick-btn {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 3px 10px;
  font-size: 11.5px;
  color: #a1a1a1;
  background: transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

.rc-quick-btn:hover {
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

.rc-quick-btn.active {
  border-color: var(--accent);
  background: rgba(34, 211, 238, 0.12);
  color: var(--accent);
}

.rc-date-form {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 6px;
}

.rc-date-input {
  height: 32px;
  width: 100%;
  min-width: 0;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.5);
  padding: 0 8px;
  font-size: 11.5px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color-scheme: dark;
  outline: none;
  transition: border-color 0.2s;
}

.rc-date-input:focus {
  border-color: var(--accent);
}

.rc-date-submit {
  grid-column: span 3;
  height: 32px;
  border-radius: 8px;
  background: var(--btn, #22d3ee);
  font-size: 12px;
  font-weight: 700;
  color: #04140f;
  border: none;
  cursor: pointer;
  transition: filter 0.2s;
}

.rc-date-submit:hover {
  filter: brightness(1.12);
}

/* Sidebar Filter Pills */
.rc-side-filter-group {
  margin-bottom: 12px;
}

.rc-side-filter-group:last-child {
  margin-bottom: 0;
}

.rc-side-filter-lbl {
  font-family: monospace;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64748b;
  margin-bottom: 6px;
  display: block;
}

.rc-side-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.rc-side-pill {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 3px 10px;
  font-size: 11.5px;
  color: #a1a1a1;
  background: transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

.rc-side-pill:hover {
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

.rc-side-pill.active {
  border-color: var(--rc-theme-color, #3b82f6) !important;
  background: var(--rc-theme-bg, rgba(37, 99, 235, 0.14)) !important;
  color: var(--rc-theme-color, #3b82f6) !important;
}

/* Category-Dynamic Highlights for Calendar, Badges, Filters & Notify Dock */
:root,
[data-market="fx"],
[data-market="forex"] {
  --rc-theme-color: #3b82f6;
  --rc-theme-btn: linear-gradient(180deg, #4f82f6 0%, #2563eb 100%);
  --rc-theme-btn-text: #ffffff;
  --rc-theme-glow: rgba(37, 99, 235, 0.55);
  --rc-theme-bg: rgba(37, 99, 235, 0.14);
}

[data-market="fu"], [data-market="futures"] {
  --rc-theme-color: #34d399;
  --rc-theme-btn: linear-gradient(180deg, #34d399 0%, #16a34a 100%);
  --rc-theme-btn-text: #ffffff;
  --rc-theme-glow: rgba(34, 197, 94, 0.55);
  --rc-theme-bg: rgba(34, 197, 94, 0.14);
}

[data-market="cr"], [data-market="crypto"] {
  --rc-theme-color: #facc15;
  --rc-theme-btn: linear-gradient(180deg, #fde047 0%, #d97706 100%);
  --rc-theme-btn-text: #1a1200;
  --rc-theme-glow: rgba(234, 179, 8, 0.55);
  --rc-theme-bg: rgba(250, 204, 21, 0.14);
}

[data-market="pp"], [data-market="perps"] {
  --rc-theme-color: #f472b6;
  --rc-theme-btn: linear-gradient(180deg, #f472b6 0%, #db2777 100%);
  --rc-theme-btn-text: #ffffff;
  --rc-theme-glow: rgba(219, 39, 119, 0.55);
  --rc-theme-bg: rgba(244, 114, 182, 0.14);
}

.rc-cal-day {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 32px;
  padding: 0;
  border-radius: 6px;
  background: transparent !important;
  border: 1px solid transparent !important;
  color: #64748b;
  font-size: 11.5px;
  font-family: inherit;
  cursor: default;
  outline: none;
  box-sizing: border-box;
  transition: all 0.15s ease;
}

.rc-cal-day.has-changes {
  color: #f1f5f9 !important;
  font-weight: 700;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.rc-cal-day.has-changes:hover {
  background: var(--rc-theme-bg) !important;
  border-color: var(--rc-theme-color) !important;
  color: var(--rc-theme-color) !important;
  transform: translateY(-1px);
}

.rc-cal-day.has-changes::after {
  content: "";
  position: absolute;
  bottom: 3px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--rc-theme-color);
  box-shadow: 0 0 6px var(--rc-theme-glow);
}

.rc-cal-day.active {
  background: var(--rc-theme-btn, linear-gradient(180deg, #4f82f6 0%, #2563eb 100%)) !important;
  border-color: var(--rc-theme-color, #3b82f6) !important;
  color: var(--rc-theme-btn-text, #ffffff) !important;
  font-weight: 800 !important;
  box-shadow: 0 0 16px var(--rc-theme-glow, rgba(37, 99, 235, 0.55)) !important;
}

.rc-cal-day.active::after {
  background: var(--rc-theme-btn-text, #ffffff) !important;
  box-shadow: none !important;
}

.rc-date-badge-month {
  background: var(--rc-theme-btn, linear-gradient(180deg, #4f82f6 0%, #2563eb 100%)) !important;
  color: var(--rc-theme-btn-text, #ffffff) !important;
}

.rc-date-badge {
  border-color: var(--rc-theme-color, #3b82f6) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 8px 20px -6px var(--rc-theme-glow, rgba(37, 99, 235, 0.45)) !important;
}

.rc-quick-btn.active {
  border-color: var(--rc-theme-color, #3b82f6) !important;
  color: var(--rc-theme-color, #3b82f6) !important;
  background: var(--rc-theme-bg, rgba(37, 99, 235, 0.14)) !important;
}

.rc-date-submit {
  grid-column: span 3;
  height: 32px;
  border-radius: 8px;
  background: var(--rc-theme-btn, linear-gradient(180deg, #4f82f6 0%, #2563eb 100%)) !important;
  font-size: 12px;
  font-weight: 800;
  color: var(--rc-theme-btn-text, #ffffff) !important;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 10px var(--rc-theme-glow, rgba(37, 99, 235, 0.45));
}

.rc-date-submit:hover {
  filter: brightness(1.12);
  transform: translateY(-1px);
}

/* Firm Monogram Initial Fallback (Never PFL Logo) */
.rc-firm-initial-logo {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.25) 0%, rgba(168, 85, 247, 0.25) 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  flex-shrink: 0;
}

/* Floating Bottom Notify Bar - Permanently Disabled/Deleted */
.pfl-notify-dock,
#pfl-notify-dock {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}


/* ===================================================================
   CATEGORY-DYNAMIC NOTIFIED CARDS (All Pages & Selected Markets)
   =================================================================== */

/* Base notify card variables from market theme */
.pfl-notify-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid var(--accent, #3b82f6);
  background: rgba(10, 15, 28, 0.94);
  backdrop-filter: blur(24px) saturate(180%);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7), 0 0 24px var(--glow2, rgba(37, 99, 235, 0.55)), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.pfl-notify-bell-wrap {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: var(--accent, #3b82f6);
  border: 1px solid var(--accent, rgba(37, 99, 235, 0.4));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.pfl-notify-bell-dot {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent, #3b82f6);
  box-shadow: 0 0 8px var(--accent, #3b82f6);
}

.pfl-notify-text {
  min-width: 0;
  flex: 1;
}

.pfl-notify-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
}

.pfl-notify-sub {
  font-size: 11.5px;
  color: #9aa4ad;
  margin-top: 2px;
  line-height: 1.35;
}

.pfl-notify-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.pfl-notify-btn {
  height: 36px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--btn, linear-gradient(180deg, #4f82f6 0%, #2563eb 100%));
  color: var(--btn-text, #ffffff);
  font-size: 13px;
  font-weight: 800;
  border: none;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  box-shadow: 0 4px 14px var(--glow2, rgba(37, 99, 235, 0.45)), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.pfl-notify-btn:hover {
  filter: brightness(1.15);
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 6px 22px var(--glow, rgba(37, 99, 235, 0.65));
}

.pfl-notify-btn:disabled {
  background: rgba(255, 255, 255, 0.15);
  color: #94a3b8;
  cursor: default;
  transform: none;
  box-shadow: none;
}

.pfl-notify-email-input {
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  font-size: 13px;
  outline: none;
  width: 190px;
  max-width: 100%;
  box-sizing: border-box;
  transition: border-color 0.2s, background 0.2s;
}

.pfl-notify-email-input:focus {
  border-color: var(--theme-border, #3b82f6);
  background: rgba(255, 255, 255, 0.14);
}

.pfl-notify-card.has-email-input {
  flex-wrap: wrap;
}

@media (max-width: 640px) {
  .pfl-notify-card.has-email-input .pfl-notify-actions {
    width: 100%;
    margin-top: 6px;
    display: flex;
    gap: 8px;
  }
  .pfl-notify-card.has-email-input .pfl-notify-email-input {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
  }
}

/* Explicit Category Colors: Forex (Blue) */
[data-market="fx"] .pfl-notify-card,
[data-market="forex"] .pfl-notify-card,
[data-market="fx"] #pfl-notify-dock .pfl-notify-card,
[data-market="forex"] #pfl-notify-dock .pfl-notify-card,
#pfl-notify-dock[data-market="fx"] .pfl-notify-card,
#pfl-notify-dock[data-market="forex"] .pfl-notify-card {
  border-color: #3b82f6 !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7), 0 0 24px rgba(37, 99, 235, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
}
[data-market="fx"] .pfl-notify-bell-wrap,
[data-market="forex"] .pfl-notify-bell-wrap,
[data-market="fx"] #pfl-notify-dock .pfl-notify-bell-wrap,
[data-market="forex"] #pfl-notify-dock .pfl-notify-bell-wrap,
#pfl-notify-dock[data-market="fx"] .pfl-notify-bell-wrap,
#pfl-notify-dock[data-market="forex"] .pfl-notify-bell-wrap {
  color: #60a5fa !important;
  border-color: rgba(59, 130, 246, 0.5) !important;
  background: rgba(37, 99, 235, 0.15) !important;
}
[data-market="fx"] .pfl-notify-bell-dot,
[data-market="forex"] .pfl-notify-bell-dot,
[data-market="fx"] #pfl-notify-dock .pfl-notify-bell-dot,
[data-market="forex"] #pfl-notify-dock .pfl-notify-bell-dot,
#pfl-notify-dock[data-market="fx"] .pfl-notify-bell-dot,
#pfl-notify-dock[data-market="forex"] .pfl-notify-bell-dot {
  background: #3b82f6 !important;
  box-shadow: 0 0 10px #3b82f6 !important;
}
[data-market="fx"] .pfl-notify-btn:not(.subscribed),
[data-market="forex"] .pfl-notify-btn:not(.subscribed),
[data-market="fx"] #pfl-notify-dock .pfl-notify-btn:not(.subscribed),
[data-market="forex"] #pfl-notify-dock .pfl-notify-btn:not(.subscribed),
#pfl-notify-dock[data-market="fx"] .pfl-notify-btn:not(.subscribed),
#pfl-notify-dock[data-market="forex"] .pfl-notify-btn:not(.subscribed) {
  background: linear-gradient(180deg, #4f82f6 0%, #2563eb 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.35) !important;
}

/* Explicit Category Colors: Futures (Emerald Green) */
[data-market="fu"] .pfl-notify-card,
[data-market="futures"] .pfl-notify-card,
[data-market="fu"] #pfl-notify-dock .pfl-notify-card,
[data-market="futures"] #pfl-notify-dock .pfl-notify-card,
#pfl-notify-dock[data-market="fu"] .pfl-notify-card,
#pfl-notify-dock[data-market="futures"] .pfl-notify-card {
  border-color: #10b981 !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7), 0 0 24px rgba(16, 185, 129, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
}
[data-market="fu"] .pfl-notify-bell-wrap,
[data-market="futures"] .pfl-notify-bell-wrap,
[data-market="fu"] #pfl-notify-dock .pfl-notify-bell-wrap,
[data-market="futures"] #pfl-notify-dock .pfl-notify-bell-wrap,
#pfl-notify-dock[data-market="fu"] .pfl-notify-bell-wrap,
#pfl-notify-dock[data-market="futures"] .pfl-notify-bell-wrap {
  color: #34d399 !important;
  border-color: rgba(16, 185, 129, 0.5) !important;
  background: rgba(16, 185, 129, 0.18) !important;
}
[data-market="fu"] .pfl-notify-bell-dot,
[data-market="futures"] .pfl-notify-bell-dot,
[data-market="fu"] #pfl-notify-dock .pfl-notify-bell-dot,
[data-market="futures"] #pfl-notify-dock .pfl-notify-bell-dot,
#pfl-notify-dock[data-market="fu"] .pfl-notify-bell-dot,
#pfl-notify-dock[data-market="futures"] .pfl-notify-bell-dot {
  background: #10b981 !important;
  box-shadow: 0 0 10px #10b981 !important;
}
[data-market="fu"] .pfl-notify-btn:not(.subscribed),
[data-market="futures"] .pfl-notify-btn:not(.subscribed),
[data-market="fu"] #pfl-notify-dock .pfl-notify-btn:not(.subscribed),
[data-market="futures"] #pfl-notify-dock .pfl-notify-btn:not(.subscribed),
#pfl-notify-dock[data-market="fu"] .pfl-notify-btn:not(.subscribed),
#pfl-notify-dock[data-market="futures"] .pfl-notify-btn:not(.subscribed) {
  background: linear-gradient(180deg, #34d399 0%, #059669 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.35) !important;
}

/* Explicit Category Colors: Crypto (Gold / Yellow) */
[data-market="cr"] .pfl-notify-card,
[data-market="crypto"] .pfl-notify-card,
[data-market="cr"] #pfl-notify-dock .pfl-notify-card,
[data-market="crypto"] #pfl-notify-dock .pfl-notify-card,
#pfl-notify-dock[data-market="cr"] .pfl-notify-card,
#pfl-notify-dock[data-market="crypto"] .pfl-notify-card {
  border-color: #facc15 !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7), 0 0 24px rgba(250, 204, 21, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
}
[data-market="cr"] .pfl-notify-bell-wrap,
[data-market="crypto"] .pfl-notify-bell-wrap,
[data-market="cr"] #pfl-notify-dock .pfl-notify-bell-wrap,
[data-market="crypto"] #pfl-notify-dock .pfl-notify-bell-wrap,
#pfl-notify-dock[data-market="cr"] .pfl-notify-bell-wrap,
#pfl-notify-dock[data-market="crypto"] .pfl-notify-bell-wrap {
  color: #fde047 !important;
  border-color: rgba(250, 204, 21, 0.5) !important;
  background: rgba(250, 204, 21, 0.18) !important;
}
[data-market="cr"] .pfl-notify-bell-dot,
[data-market="crypto"] .pfl-notify-bell-dot,
[data-market="cr"] #pfl-notify-dock .pfl-notify-bell-dot,
[data-market="crypto"] #pfl-notify-dock .pfl-notify-bell-dot,
#pfl-notify-dock[data-market="cr"] .pfl-notify-bell-dot,
#pfl-notify-dock[data-market="crypto"] .pfl-notify-bell-dot {
  background: #facc15 !important;
  box-shadow: 0 0 10px #facc15 !important;
}
[data-market="cr"] .pfl-notify-btn:not(.subscribed),
[data-market="crypto"] .pfl-notify-btn:not(.subscribed),
[data-market="cr"] #pfl-notify-dock .pfl-notify-btn:not(.subscribed),
[data-market="crypto"] #pfl-notify-dock .pfl-notify-btn:not(.subscribed),
#pfl-notify-dock[data-market="cr"] .pfl-notify-btn:not(.subscribed),
#pfl-notify-dock[data-market="crypto"] .pfl-notify-btn:not(.subscribed) {
  background: linear-gradient(180deg, #fde047 0%, #d97706 100%) !important;
  color: #1a1200 !important;
  box-shadow: 0 4px 14px rgba(234, 179, 8, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.35) !important;
}

/* Explicit Category Colors: Perps (Hot Pink) */
[data-market="pp"] .pfl-notify-card,
[data-market="perps"] .pfl-notify-card,
[data-market="pp"] #pfl-notify-dock .pfl-notify-card,
[data-market="perps"] #pfl-notify-dock .pfl-notify-card,
#pfl-notify-dock[data-market="pp"] .pfl-notify-card,
#pfl-notify-dock[data-market="perps"] .pfl-notify-card {
  border-color: #f472b6 !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7), 0 0 24px rgba(244, 114, 182, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
}
[data-market="pp"] .pfl-notify-bell-wrap,
[data-market="perps"] .pfl-notify-bell-wrap,
[data-market="pp"] #pfl-notify-dock .pfl-notify-bell-wrap,
[data-market="perps"] #pfl-notify-dock .pfl-notify-bell-wrap,
#pfl-notify-dock[data-market="pp"] .pfl-notify-bell-wrap,
#pfl-notify-dock[data-market="perps"] .pfl-notify-bell-wrap {
  color: #f472b6 !important;
  border-color: rgba(244, 114, 182, 0.5) !important;
  background: rgba(244, 114, 182, 0.18) !important;
}
[data-market="pp"] .pfl-notify-bell-dot,
[data-market="perps"] .pfl-notify-bell-dot,
[data-market="pp"] #pfl-notify-dock .pfl-notify-bell-dot,
[data-market="perps"] #pfl-notify-dock .pfl-notify-bell-dot,
#pfl-notify-dock[data-market="pp"] .pfl-notify-bell-dot,
#pfl-notify-dock[data-market="perps"] .pfl-notify-bell-dot {
  background: #f472b6 !important;
  box-shadow: 0 0 10px #f472b6 !important;
}
[data-market="pp"] .pfl-notify-btn:not(.subscribed),
[data-market="perps"] .pfl-notify-btn:not(.subscribed),
[data-market="pp"] #pfl-notify-dock .pfl-notify-btn:not(.subscribed),
[data-market="perps"] #pfl-notify-dock .pfl-notify-btn:not(.subscribed),
#pfl-notify-dock[data-market="pp"] .pfl-notify-btn:not(.subscribed),
#pfl-notify-dock[data-market="perps"] .pfl-notify-btn:not(.subscribed) {
  background: linear-gradient(180deg, #f472b6 0%, #db2777 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(219, 39, 119, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.35) !important;
}

.pfl-notify-close {
  background: transparent;
  border: none;
  color: #9aa4ad;
  font-size: 16px;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.pfl-notify-close:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

@media (max-width: 600px) {
  .pfl-notify-card {
    padding: 10px 14px;
    gap: 10px;
  }
  .pfl-notify-title {
    font-size: 12.5px;
  }
  .pfl-notify-sub {
    font-size: 10.5px;
  }
  .pfl-notify-btn {
    height: 32px;
    padding: 0 12px;
    font-size: 11.5px;
  }
}

.pfl-notify-btn.subscribed {
  background: rgba(34, 197, 94, 0.2) !important;
  color: #4ade80 !important;
  border: 1px solid rgba(34, 197, 94, 0.4) !important;
  cursor: default !important;
}

.pfl-notify-toast {
  position: fixed;
  bottom: 84px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(34, 211, 238, 0.35);
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.7), 0 0 20px rgba(34, 211, 238, 0.2);
  color: #fff;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  z-index: 10001;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  gap: 10px;
}

.pfl-notify-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}



/* ===================================================================
   HOMEPAGE RULE CHANGES LIQUID GLASS SYSTEM
   =================================================================== */
.rc-home-section {
  position: relative;
  margin-bottom: 40px;
}

.rc-home-date-pill {
  margin: 0 0 8px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rc-theme-color, var(--accent, #3b82f6));
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--rc-theme-bg, rgba(37, 99, 235, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.rc-home-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 18px;
}

@media (max-width: 820px) {
  .rc-home-grid {
    grid-template-columns: 1fr;
  }
}

.rc-home-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px 24px;
  border-radius: 20px;
  background: linear-gradient(160deg, rgba(16, 23, 44, 0.72) 0%, rgba(10, 15, 30, 0.84) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
}

.rc-home-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  border-radius: 4px 0 0 4px;
  transition: opacity 0.25s ease;
}

.rc-home-card.is-worse::before {
  background: linear-gradient(180deg, #f87171 0%, #ef4444 100%);
  box-shadow: 0 0 12px rgba(239, 68, 68, 0.4);
}

.rc-home-card.is-better::before {
  background: linear-gradient(180deg, #34d399 0%, #10b981 100%);
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.4);
}

.rc-home-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.rc-home-card.is-worse:hover {
  border-color: rgba(248, 113, 113, 0.25);
}

.rc-home-card.is-better:hover {
  border-color: rgba(52, 211, 153, 0.25);
}

.rc-home-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.rc-home-firm-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.rc-home-logo-wrap {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9px;
  padding: 3px;
  flex-shrink: 0;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.rc-home-logo-wrap:hover {
  transform: scale(1.06);
  border-color: rgba(255, 255, 255, 0.22);
}

.rc-home-logo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 6px;
}

.rc-home-firm-text {
  display: flex;
  align-items: center;
  gap: 6px;
}

.rc-home-firm-name {
  font-size: 13.5px;
  font-weight: 700;
  color: #f1f5f9;
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: color 0.2s ease;
}

.rc-home-firm-name:hover {
  color: var(--rc-theme-color, var(--accent, #3b82f6));
}

.rc-home-cat-badge {
  font-size: 10px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #94a3b8;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.rc-home-verdict-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 100px;
  white-space: nowrap;
}

.rc-home-verdict-pill.is-worse {
  background: rgba(239, 68, 68, 0.12);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.25);
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.15);
}

.rc-home-verdict-pill.is-better {
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.25);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.15);
}

.rc-home-card-body {
  flex: 1;
  margin-bottom: 14px;
}

.rc-home-card-title {
  margin: 0 0 10px;
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.015em;
}

.rc-home-card-title a {
  color: #f8fafc;
  text-decoration: none;
  transition: color 0.2s ease;
}

.rc-home-card-title a:hover {
  color: var(--rc-theme-color, var(--accent, #3b82f6));
}

.rc-home-diff-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  line-height: 1.5;
  margin: 10px 0 12px;
  background: rgba(7, 11, 24, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 10px 12px;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.35);
}

.rc-home-diff-row.is-prose {
  flex-direction: column;
  align-items: stretch;
  gap: 5px;
}

.rc-home-diff-line {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}

.rc-home-diff-line:first-child {
  justify-content: space-between;
}

.rc-home-diff-lbl {
  font-weight: 600;
  color: #94a3b8;
}

.rc-home-diff-before {
  text-decoration: line-through;
  color: #64748b;
}

.rc-home-diff-arrow {
  color: #94a3b8;
  font-size: 12px;
}

.rc-home-diff-now {
  font-weight: 800;
}

.rc-home-diff-now.now-better {
  color: #34d399;
}

.rc-home-diff-now.now-worse {
  color: #f87171;
}

.rc-home-delta-tag {
  font-size: 11px;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: 6px;
  letter-spacing: -0.01em;
}

.rc-home-delta-tag.delta-better {
  background: rgba(16, 185, 129, 0.14);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.24);
}

.rc-home-delta-tag.delta-worse {
  background: rgba(239, 68, 68, 0.14);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.24);
}

.rc-home-card-sub {
  margin: 0;
  font-size: 12.5px;
  color: #94a3b8;
  line-height: 1.5;
}

.rc-home-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 12px;
}

.rc-home-verified {
  color: #64748b;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
}

.rc-home-verified .rc-check-icon {
  color: #34d399;
  font-weight: 800;
}

.rc-home-audit-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 700;
  color: var(--rc-theme-color, var(--accent, #3b82f6));
  text-decoration: none;
  padding: 4px 12px;
  border-radius: 8px;
  background: var(--rc-theme-bg, rgba(37, 99, 235, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.2s ease;
}

.rc-home-audit-btn:hover {
  background: var(--rc-theme-btn, #2563eb);
  color: var(--rc-theme-btn-text, #ffffff);
  border-color: transparent;
  transform: translateY(-1px);
}

/* ===================================================================
   PROPFIRMMATCH PAYOUT TRACKER REDESIGN SYSTEM (LIQUID GLASS THEME)
   =================================================================== */

/* Page Header & Title */
.pj-page-header {
  text-align: center;
  padding: 24px 16px 20px;
  position: relative;
}

.pj-main-title {
  font-size: 38px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.025em;
  margin: 0 0 10px;
}

@media (max-width: 768px) {
  .pj-main-title {
    font-size: 28px;
  }
}

.pj-main-sub {
  font-size: 14.5px;
  color: #94a3b8;
  max-width: 680px;
  margin: 0 auto 20px;
  line-height: 1.6;
}

/* Header Switcher: Payouts vs Trader Leaderboard (Image 1) */
.pj-mode-pills {
  display: inline-flex;
  align-items: center;
  padding: 4px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
}

.pj-mode-pill {
  border: none;
  background: transparent;
  color: #94a3b8;
  font-size: 13.5px;
  font-weight: 600;
  padding: 8px 24px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.pj-mode-pill:hover {
  color: #fff;
}

.pj-mode-pill.active {
  background: #ffffff;
  color: #0b1120;
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(255, 255, 255, 0.25);
}

/* Toolbar Card (Image 1 Red Box) */
.pj-toolbar-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
  border-radius: 18px;
  background: rgba(13, 20, 36, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(24px) saturate(190%);
  -webkit-backdrop-filter: blur(24px) saturate(190%);
  box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.5);
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.pj-toolbar-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.pj-toolbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* Timeframe Dropdown (Image 1) */
.pj-select-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.pj-timeframe-select {
  appearance: none;
  -webkit-appearance: none;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 8px 32px 8px 14px;
  font-size: 13px;
  font-weight: 600;
  color: #f1f5f9;
  cursor: pointer;
  outline: none;
  transition: all 0.2s ease;
}

.pj-timeframe-select:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
}

.pj-timeframe-select option {
  background: #0f172a;
  color: #fff;
}

.pj-select-chevron {
  position: absolute;
  right: 12px;
  font-size: 11px;
  color: #94a3b8;
  pointer-events: none;
}

/* Category Pills with Counts (Image 1) */
.pj-category-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.pj-cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: all 0.2s ease;
}

.pj-cat-pill:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
}

.pj-cat-pill.active {
  background: var(--rc-theme-bg, rgba(37, 99, 235, 0.16)) !important;
  border-color: var(--rc-theme-color, var(--accent, #3b82f6)) !important;
  color: #ffffff !important;
  box-shadow: 0 0 16px var(--rc-theme-glow, rgba(37, 99, 235, 0.35)) !important;
}

.pj-cat-count {
  font-size: 11px;
  font-weight: 700;
  opacity: 0.75;
}

.pj-cat-pill.active .pj-cat-count {
  opacity: 1;
  color: var(--rc-theme-color, var(--accent, #3b82f6));
}

/* How We Verify & Rank Button (Image 1) */
.pj-verify-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  color: #cbd5e1;
  background: rgba(147, 51, 234, 0.12);
  border: 1px solid rgba(147, 51, 234, 0.3);
  cursor: pointer;
  transition: all 0.2s ease;
}

.pj-verify-btn:hover {
  background: rgba(147, 51, 234, 0.22);
  color: #fff;
  border-color: rgba(147, 51, 234, 0.5);
  box-shadow: 0 0 16px rgba(147, 51, 234, 0.3);
}

/* Search Box (Image 1) */
.pj-search-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.pj-search-icon {
  position: absolute;
  left: 12px;
  color: #94a3b8;
  pointer-events: none;
}

.pj-table-search {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 8px 14px 8px 34px;
  font-size: 13px;
  color: #fff;
  outline: none;
  width: 170px;
  transition: all 0.2s ease;
}

.pj-table-search:focus {
  width: 220px;
  border-color: var(--rc-theme-color, var(--accent, #3b82f6));
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 14px var(--rc-theme-glow, rgba(37, 99, 235, 0.35));
}

/* Table Card & Grid Columns (Single Single Card Style - Matching Home Page media_1793361569441_adad5428.png) */
.pj-table-card {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  overflow: visible !important;
  margin-bottom: 34px;
}

.pj-table-header {
  display: grid;
  grid-template-columns: 2.2fr 1.3fr 1.1fr 1.1fr 1.1fr 1.3fr 0.9fr;
  align-items: center;
  gap: 12px;
  padding: 8px 24px 12px;
  background: transparent;
  border-bottom: none;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #94a3b8;
  text-transform: uppercase;
  user-select: none;
}

.pj-th {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  user-select: none;
  transition: color 0.2s ease;
}

.pj-th:hover {
  color: #fff;
}

.pj-sort-icon {
  font-size: 12px;
  opacity: 0.6;
}

.pj-table-body {
  display: flex;
  flex-direction: column;
  gap: 10px; /* Space between each single floating card */
}

/* Individual Floating Card Style (Single Card) */
.pj-table-row {
  display: grid;
  grid-template-columns: 2.2fr 1.3fr 1.1fr 1.1fr 1.1fr 1.3fr 0.9fr;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  border-radius: 18px !important;
  background: #191919 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.16) !important;
  backdrop-filter: blur(24px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 8px 24px rgba(0, 0, 0, 0.45) !important;
  position: relative;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease !important;
  color: #cbd5e1;
}

.pj-table-row:hover {
  transform: translateY(-2px) !important;
  border-color: var(--rc-theme-border, rgba(255, 255, 255, 0.22)) !important;
  background: #202020 !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 14px 36px -6px rgba(0, 0, 0, 0.65), 0 0 24px var(--rc-theme-glow, rgba(16, 185, 129, 0.2)) !important;
}

/* Rank 1 Gold Aura Card */
.pj-table-row.rank-1-card {
  background: linear-gradient(90deg, rgba(234, 179, 8, 0.1) 0%, rgba(234, 179, 8, 0.01) 60%), #191919 !important;
  border: 1px solid rgba(245, 196, 81, 0.45) !important;
  border-top: 1px solid rgba(250, 204, 21, 0.75) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 8px 28px rgba(0, 0, 0, 0.45), 0 0 24px rgba(245, 196, 81, 0.15) !important;
}

.pj-table-row.rank-1-card:hover {
  background: linear-gradient(90deg, rgba(234, 179, 8, 0.14) 0%, rgba(234, 179, 8, 0.02) 60%), #222222 !important;
  border-color: rgba(245, 196, 81, 0.8) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 16px 40px -6px rgba(0, 0, 0, 0.7), 0 0 34px rgba(245, 196, 81, 0.3) !important;
}

.pj-table-row.rank-1-card .pj-firm-avatar-wrap {
  box-shadow: 0 0 0 2px rgba(234, 179, 8, 0.55), 0 4px 14px rgba(0, 0, 0, 0.4) !important;
}

/* Rank 2 Silver Card */
.pj-table-row.rank-2-card {
  border-color: rgba(203, 213, 225, 0.25) !important;
  border-top-color: rgba(226, 232, 240, 0.4) !important;
}
.pj-table-row.rank-2-card .pj-firm-avatar-wrap {
  box-shadow: 0 0 0 2px rgba(203, 213, 225, 0.35), 0 4px 14px rgba(0, 0, 0, 0.4) !important;
}

/* Rank 3 Bronze Card */
.pj-table-row.rank-3-card {
  border-color: rgba(217, 119, 6, 0.28) !important;
  border-top-color: rgba(251, 146, 60, 0.45) !important;
}
.pj-table-row.rank-3-card .pj-firm-avatar-wrap {
  box-shadow: 0 0 0 2px rgba(217, 119, 6, 0.4), 0 4px 14px rgba(0, 0, 0, 0.4) !important;
}

/* Firm Column (Logo + Name + Rating) */
.pj-cell-firm {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pj-firm-avatar-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px !important;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  padding: 0;
}

.pj-firm-avatar-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  display: block;
}

.pj-firm-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pj-row-firm-name {
  font-size: 14.5px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

.pj-rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: #cbd5e1;
  background: rgba(168, 85, 247, 0.1);
  border: 1px solid rgba(168, 85, 247, 0.25);
  border-radius: 999px;
  padding: 1px 7px;
  width: fit-content;
}

.pj-rating-stars {
  color: #facc15;
  font-size: 10px;
  letter-spacing: -1px;
}

.pj-rating-cnt {
  color: #94a3b8;
  font-size: 10px;
}

/* Total Payouts Column with Volume Indicator (Image 1) */
.pj-cell-total {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pj-total-amount {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.pj-volume-track {
  width: 90px;
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.pj-volume-bar {
  height: 100%;
  border-radius: 2px;
  background: var(--rc-theme-btn, linear-gradient(90deg, #3b82f6, #60a5fa));
}

/* Numeric Values */
.pj-cell-num {
  font-size: 14px;
  color: #e2e8f0;
}

/* Average Payout Size with Speedometer/Gauge Dial (Image 1) */
.pj-cell-avg {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
}

.pj-gauge-dial {
  display: inline-flex;
  align-items: center;
}

.pj-avg-amount {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}

/* Median Speed Badges (Image 1) */
.pj-speed-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.badge-instant {
  background: rgba(16, 185, 129, 0.14);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.28);
}

.badge-very-fast {
  background: rgba(6, 182, 212, 0.14);
  color: #22d3ee;
  border: 1px solid rgba(6, 182, 212, 0.28);
}

.badge-fast {
  background: rgba(234, 179, 8, 0.14);
  color: #facc15;
  border: 1px solid rgba(234, 179, 8, 0.28);
}

/* Action View Button (Image 1) */
.pj-view-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 18px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  cursor: pointer;
  transition: all 0.25s ease;
}

.pj-view-btn:hover {
  background: var(--rc-theme-btn, linear-gradient(180deg, #4f82f6 0%, #2563eb 100%));
  border-color: transparent;
  color: var(--rc-theme-btn-text, #ffffff);
  box-shadow: 0 4px 16px var(--rc-theme-glow, rgba(37, 99, 235, 0.45));
  transform: translateY(-1px);
}

/* ===================================================================
   FIRM DETAIL VIEW (IMAGE 2 & IMAGE 3)
   =================================================================== */
.pj-single-view {
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 100px;
  position: relative;
}

/* Top Back Arrow & Firm Title (Image 2) */
.pj-detail-topbar {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.pj-back-circle-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pj-back-circle-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateX(-2px);
}

/* Firm Detail Profile Header (Apple Liquid Glass, Proportional Sizing) */
.pfl-firm-detail-topbar {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-bottom: 24px;
  width: 100%;
  box-sizing: border-box;
}

.pfl-firm-nav-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.pfl-firm-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(12, 18, 40, 0.64);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 4px 12px rgba(0, 0, 0, 0.25);
  color: #cbd5e1;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.pfl-firm-back-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.28);
  color: #ffffff;
  transform: translateX(-2px);
}

.pfl-firm-identity-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  width: 100%;
  box-sizing: border-box;
}

.pfl-firm-identity-left {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.pfl-firm-logo-frame {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(12, 18, 40, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  flex-shrink: 0;
  padding: 0 !important;
}

.pfl-firm-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pfl-firm-title-col {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.pfl-firm-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.pfl-firm-title {
  margin: 0;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #ffffff;
  line-height: 1.2;
}

.pfl-firm-verified-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(74, 222, 128, 0.12);
  border: 1px solid rgba(74, 222, 128, 0.3);
  color: #4ade80;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.pfl-firm-meta-line {
  font-size: 13px;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  line-height: 1.3;
}

.pfl-firm-visit-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 36px;
  padding: 0 18px;
  border-radius: 999px;
  background: rgba(12, 18, 40, 0.68);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 6px 18px rgba(0, 0, 0, 0.35);
  color: #ffffff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.pfl-firm-visit-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.32);
  box-shadow: 0 0 18px rgba(74, 222, 128, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

.pfl-firm-visit-desktop {
  display: inline-flex;
}

.pfl-firm-visit-mobile {
  display: none;
}

.pj-detail-firm-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.pj-detail-logo {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
}

.pj-detail-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pj-detail-name-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pj-detail-title {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  margin: 0;
  letter-spacing: -0.02em;
}

.pj-detail-rating-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(168, 85, 247, 0.12);
  border: 1px solid rgba(168, 85, 247, 0.28);
  font-size: 12px;
  color: #fff;
}

/* Subheader Bar: Timeframe pills + Report Delayed Payout (Image 2) */
.pj-detail-subbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.pj-detail-subbar-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.pj-detail-heading {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}

.pj-detail-tf-pills {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 3px;
  border-radius: 12px;
}

.pj-detail-tf-btn {
  border: none;
  background: transparent;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pj-detail-tf-btn:hover {
  color: #fff;
}

.pj-detail-tf-btn.active {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-weight: 700;
}

.pj-report-delay-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pj-report-delay-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(245, 158, 11, 0.4);
}

/* 6 Metrics Grid (Image 2) */
.pj-6cards-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

@media (max-width: 1024px) {
  .pj-6cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .pj-6cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.pj-metric-card {
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(13, 20, 36, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.pj-metric-lbl {
  font-size: 11px;
  font-weight: 700;
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pj-info-icon {
  font-size: 12px;
  opacity: 0.6;
  cursor: help;
}

.pj-metric-val {
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.015em;
}

.pj-metric-val.val-green {
  color: #34d399;
}

.pj-metric-val-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
}

/* Chart Card & SVG Layout (Image 2) */
.pj-chart-card {
  padding: 24px 26px;
  border-radius: 20px;
  background: rgba(13, 20, 36, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  margin-bottom: 24px;
}

.pj-chart-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.pj-chart-title {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.pj-powered-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12px;
  color: #94a3b8;
}

.pj-powered-logo {
  border-radius: 50%;
}

.pj-powered-badge strong {
  color: #fff;
}

.pj-svg-chart-wrap {
  width: 100% !important;
  height: 330px !important;
  position: relative !important;
  overflow: visible !important;
  box-sizing: border-box !important;
}

.pj-svg-chart-wrap svg {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
}

.pj-chart-legend {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 14px;
  font-size: 12px;
  color: #94a3b8;
}

.pj-legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pj-legend-dot.dot-bar {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: var(--rc-theme-color, var(--accent, #3b82f6));
}

.pj-legend-line {
  width: 18px;
  height: 2px;
  background: #facc15;
}

/* Horizontal Stats Card & Verify Card (Image 2 Exact Match) */
.pj-stats-horizontal-card {
  width: 100% !important;
  box-sizing: border-box !important;
}

.pj-stats-horizontal-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px 18px;
  padding: 8px 0;
}

@media (max-width: 1080px) {
  .pj-stats-horizontal-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .pj-stats-horizontal-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.pj-stat-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.pj-stat-item .pj-stat-key {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
}

.pj-stat-item .pj-stat-val {
  font-size: 19px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.pj-verify-horizontal-card {
  width: 100% !important;
  box-sizing: border-box !important;
}

@media (max-width: 900px) {
  .pj-verify-horizontal-card > div {
    grid-template-columns: 1fr !important;
  }
}

/* Bottom 2-Column Grid (Image 3) */
.pj-detail-bottom-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 20px;
  margin-bottom: 30px;
}

@media (max-width: 900px) {
  .pj-detail-bottom-grid {
    grid-template-columns: 1fr;
  }
}

.pj-recent-card, .pj-region-card {
  padding: 24px;
  border-radius: 20px;
  background: rgba(13, 20, 36, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.45);
}

.pj-card-heading {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 16px;
}

/* Recent Payouts & Top 10 Tables (Image 2/3 Exact Alignment) */
.pj-recent-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 14px;
  box-sizing: border-box;
}

.pj-recent-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.pj-recent-table {
  width: 100% !important;
  border-collapse: separate;
  border-spacing: 0 4px;
  font-size: 13px;
  table-layout: auto;
}

.pj-recent-table th {
  text-align: left;
  padding: 8px 12px 10px;
  color: #64748b;
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.pj-recent-table th:first-child {
  width: 44px;
  min-width: 44px;
  text-align: center;
  padding-left: 4px;
  padding-right: 4px;
}

.pj-recent-table th:last-child {
  text-align: right;
  padding-right: 14px;
}

.pj-payout-row {
  background: rgba(255, 255, 255, 0.02);
  transition: all 0.18s ease;
}

.pj-payout-row:nth-child(even) {
  background: rgba(255, 255, 255, 0.038);
}

.pj-payout-row:hover {
  background: rgba(59, 130, 246, 0.09) !important;
}

.pj-recent-table td {
  padding: 10px 12px;
  color: #e2e8f0;
  border: none;
  vertical-align: middle;
}

.pj-recent-table td:first-child {
  border-top-left-radius: 9px;
  border-bottom-left-radius: 9px;
  width: 44px;
  min-width: 44px;
  text-align: center;
  padding: 10px 4px;
}

.pj-recent-table td:nth-child(2) {
  color: #cbd5e1;
  font-size: 13.5px;
  font-weight: 500;
  text-align: left;
}

.pj-recent-table td:last-child {
  border-top-right-radius: 9px;
  border-bottom-right-radius: 9px;
  text-align: right;
  padding-right: 14px;
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
}

.pj-link-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: rgba(99, 102, 241, 0.14);
  border: 1px solid rgba(99, 102, 241, 0.32);
  color: #818cf8;
  text-decoration: none;
  transition: all 0.2s ease;
}

.pj-link-circle:hover {
  background: rgba(99, 102, 241, 0.28);
  border-color: rgba(99, 102, 241, 0.6);
  color: #a5b4fc;
  transform: scale(1.1);
}

.pj-check-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #10b981;
  color: #ffffff;
  font-size: 9.5px;
  font-weight: 900;
  margin-left: 8px;
  vertical-align: middle;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.4);
}

/* Pagination (Image 3) */
.pj-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
  padding-top: 10px;
  font-size: 12px;
  color: #94a3b8;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.pj-page-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  padding: 5px 12px;
  border-radius: 7px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 11.5px;
  font-weight: 600;
}

.pj-page-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.pj-page-num {
  padding: 4px 10px;
  border-radius: 6px;
  cursor: pointer;
  color: #94a3b8;
  transition: all 0.2s ease;
}

.pj-page-num.active {
  background: #ffffff;
  color: #0b1120;
  font-weight: 700;
}

.pj-page-dots {
  padding: 0 4px;
}

/* Region Donut & List (Image 3) */
.pj-donut-container {
  position: relative;
  width: 220px;
  height: 220px;
  margin: 0 auto 20px;
}

.pj-donut-svg-wrap {
  width: 100%;
  height: 100%;
}

.pj-donut-center-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  pointer-events: none;
}

.pj-donut-total-val {
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.pj-donut-total-lbl {
  font-size: 11px;
  color: #94a3b8;
  margin-top: 2px;
}

.pj-region-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pj-region-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  padding: 4px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.035);
}

.pj-region-left {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #cbd5e1;
}

.pj-region-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.pj-region-val {
  font-weight: 700;
  color: #fff;
}

/* Trader Leaderboard Table */
.pj-trader-card {
  border-radius: 20px;
  background: rgba(11, 18, 33, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  padding: 24px;
  margin-bottom: 30px;
}

.pj-trader-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}

/* Responsive Table scroll */
@media (max-width: 900px) {
  .pj-table-header, .pj-table-row {
    grid-template-columns: 2fr 1.2fr 1fr 1fr 1fr;
  }
  .pj-col-speed, .pj-cell-speed {
    display: none;
  }
}

@media (max-width: 680px) {
  .pj-table-header, .pj-table-row {
    grid-template-columns: 2fr 1.2fr 0.9fr;
  }
  .pj-col-count, .pj-cell-count,
  .pj-col-largest, .pj-cell-largest,
  .pj-col-avg, .pj-cell-avg {
    display: none;
  }
}

/* ===================================================================
   PROPFIRMMATCH PAYOUT TRACKER REFINED HOME-PAGE CARD SYSTEM
   =================================================================== */

/* Fit to full site container width (1240px) */
.pj-single-view {
  width: 100% !important;
  max-width: var(--W, 1240px) !important;
  margin: 0 auto !important;
  padding-bottom: 90px;
  position: relative;
}

/* Home page card style for Metric Cards (not plain box) */
.pj-metric-card {
  padding: 20px 22px !important;
  border-radius: 18px !important;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.28) !important;
  backdrop-filter: blur(28px) saturate(190%) !important;
  -webkit-backdrop-filter: blur(28px) saturate(190%) !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  box-shadow: 0 10px 30px -8px rgba(0, 0, 0, 0.5) !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease !important;
}

.pj-metric-card:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.6), 0 0 20px var(--rc-theme-glow, rgba(59, 130, 246, 0.35)) !important;
  border-color: var(--rc-theme-border, rgba(59, 130, 246, 0.45)) !important;
}

/* Uncropped & Crisp Prop Firm Lenz Logo in Powered Badge */
.pj-powered-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 6px 14px !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  font-size: 12px !important;
  color: #94a3b8 !important;
  height: 36px !important;
  box-sizing: border-box !important;
  overflow: visible !important;
}

.pj-powered-badge img.pj-powered-logo {
  width: 22px !important;
  height: 22px !important;
  max-width: 22px !important;
  max-height: 22px !important;
  object-fit: contain !important;
  display: inline-block !important;
  flex-shrink: 0 !important;
  border-radius: 0 !important;
  filter: none !important;
  transform: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.pj-powered-badge img.pj-powered-logo:hover {
  transform: none !important;
}

/* Live pulsing dot */
.pj-live-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pjPulseDot 1.8s infinite;
  display: inline-block;
  flex-shrink: 0;
}

@keyframes pjPulseDot {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

/* Key-value Stat Lines */
.pj-stat-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.045);
  font-size: 13px;
}

.pj-stat-line:last-child {
  border-bottom: none;
}

.pj-stat-key {
  color: #94a3b8;
  font-weight: 500;
}

.pj-stat-val {
  color: #ffffff;
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* Top 10 Rank Medals */
.pj-top10-rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 800;
}

.pj-top10-rank.r1 {
  background: rgba(234, 179, 8, 0.2);
  color: #facc15;
  border: 1px solid rgba(234, 179, 8, 0.4);
}

.pj-top10-rank.r2 {
  background: rgba(203, 213, 225, 0.16);
  color: #f1f5f9;
  border: 1px solid rgba(203, 213, 225, 0.3);
}

.pj-top10-rank.r3 {
  background: rgba(217, 119, 6, 0.2);
  color: #fb923c;
  border: 1px solid rgba(217, 119, 6, 0.4);
}

.pj-top10-rank.rn {
  color: #64748b;
}

@media (max-width: 900px) {
  .pj-stats-verify-grid, .pj-detail-bottom-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ===================================================================
   INTERACTIVE ON-CHAIN CHART TOOLTIP & REAL SYNC CONTROLS
   =================================================================== */

.pj-chart-card {
  position: relative !important;
}

#pj-chart-tooltip {
  position: absolute;
  z-index: 100;
  pointer-events: none;
  background: rgba(13, 20, 36, 0.94);
  backdrop-filter: blur(24px) saturate(200%);
  -webkit-backdrop-filter: blur(24px) saturate(200%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 14px;
  padding: 14px 18px;
  box-shadow: 0 20px 48px -10px rgba(0, 0, 0, 0.8), 0 0 24px rgba(56, 189, 248, 0.25);
  min-width: 230px;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.pj-tt-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 8px;
  margin-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.pj-tt-month {
  font-size: 13.5px;
  font-weight: 700;
  color: #ffffff;
}

.pj-tt-badge {
  font-size: 10px;
  font-weight: 700;
  color: #10b981;
  background: rgba(16, 185, 129, 0.15);
  padding: 2px 7px;
  border-radius: 999px;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.pj-tt-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pj-tt-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  gap: 14px;
}

.pj-tt-lbl {
  color: #94a3b8;
}

.pj-tt-val {
  font-weight: 600;
  color: #fff;
}

/* Sync Button for Unsynced Firms */
.pj-sync-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.pj-sync-btn:hover {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.4);
  color: #34d399;
  box-shadow: 0 0 14px rgba(16, 185, 129, 0.25);
  transform: translateY(-1px);
}

/* Pending Sync tag */
.pj-pending-sync-tag {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 2px;
}

.pj-verified-onchain-tag {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 2px;
}


/* ===================================================================
   HOMEPAGE RICH VISUAL GRAPHICS (High-Impact Modern Visual Suite)
   =================================================================== */

/* 1. Educational Guides Visual Bento Grid */
.pfl-guides-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  list-style: none;
  padding: 0;
  margin: 0;
}

@media (max-width: 1024px) {
  .pfl-guides-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .pfl-guides-grid {
    grid-template-columns: 1fr;
  }
}

.pfl-guide-card {
  background: rgba(13, 20, 38, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  text-decoration: none;
}

.pfl-guide-card:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), 0 0 24px rgba(99, 102, 241, 0.2);
}

.pfl-guide-visual-banner {
  height: 120px;
  width: 100%;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.pfl-guide-banner-glow {
  position: absolute;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.35;
  pointer-events: none;
}

/* Micro Illustrations Inside Visual Banner */
.pfl-mini-console {
  width: 100%;
  background: rgba(10, 15, 28, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 8px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  position: relative;
  z-index: 1;
}

.pfl-console-top {
  display: flex;
  align-items: center;
  gap: 5px;
}

.pfl-console-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.pfl-console-title {
  font-size: 10px;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: 0.5px;
  margin-left: 4px;
}

.pfl-console-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.pfl-console-chip {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
}
.chip-green { background: rgba(16, 185, 129, 0.2); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.3); }
.chip-cyan { background: rgba(6, 182, 212, 0.2); color: #38bdf8; border: 1px solid rgba(6, 182, 212, 0.3); }

/* Micro Ticket */
.pfl-mini-ticket {
  width: 100%;
  background: rgba(10, 15, 28, 0.88);
  border: 1px dashed rgba(245, 158, 11, 0.4);
  border-radius: 10px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  position: relative;
  z-index: 1;
}

.pfl-ticket-left {
  display: flex;
  flex-direction: column;
}

.pfl-ticket-save {
  font-size: 15px;
  font-weight: 900;
  color: #fbbf24;
  line-height: 1.1;
}

.pfl-ticket-sub {
  font-size: 9.5px;
  color: #94a3b8;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.pfl-ticket-divider {
  width: 1px;
  height: 28px;
  background: rgba(255, 255, 255, 0.12);
}

.pfl-ticket-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.pfl-ticket-code {
  font-size: 11.5px;
  font-weight: 800;
  color: #fff;
  background: rgba(245, 158, 11, 0.18);
  padding: 2px 8px;
  border-radius: 5px;
  border: 1px solid rgba(245, 158, 11, 0.35);
}

.pfl-ticket-status {
  font-size: 9.5px;
  color: #34d399;
  font-weight: 600;
  margin-top: 3px;
}

/* Micro Equity Chart */
.pfl-mini-chart {
  width: 100%;
  background: rgba(10, 15, 28, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 8px 12px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  position: relative;
  z-index: 1;
}

.pfl-chart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  font-weight: 700;
  color: #94a3b8;
}

.pfl-chart-svg {
  width: 100%;
  height: 32px;
  margin: 2px 0;
}

.pfl-chart-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Micro Due Diligence Audit */
.pfl-mini-audit {
  width: 100%;
  background: rgba(10, 15, 28, 0.88);
  border: 1px solid rgba(168, 85, 247, 0.25);
  border-radius: 10px;
  padding: 8px 12px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  position: relative;
  z-index: 1;
}

.pfl-audit-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 800;
  color: #c084fc;
  letter-spacing: 0.5px;
}

.pfl-audit-items {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.pfl-audit-pill {
  font-size: 9.5px;
  font-weight: 600;
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.05);
  padding: 1px 6px;
  border-radius: 4px;
}

/* Micro Scaling Ladder */
.pfl-mini-ladder {
  width: 100%;
  background: rgba(10, 15, 28, 0.88);
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: 10px;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  position: relative;
  z-index: 1;
}

.pfl-ladder-step {
  font-size: 11px;
  font-weight: 700;
  color: #94a3b8;
  padding: 4px 8px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
}

.pfl-ladder-step.highlight {
  color: #fff;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
}

.pfl-ladder-arrow {
  color: rgba(255, 255, 255, 0.3);
  font-size: 12px;
}

/* Micro On-Chain Block */
.pfl-mini-block {
  width: 100%;
  background: rgba(10, 15, 28, 0.88);
  border: 1px solid rgba(236, 72, 153, 0.25);
  border-radius: 10px;
  padding: 8px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  position: relative;
  z-index: 1;
}

.pfl-block-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pfl-block-chain {
  font-size: 10.5px;
  font-weight: 800;
  color: #f472b6;
}

.pfl-block-pill {
  font-size: 9.5px;
  font-weight: 700;
  color: #34d399;
  background: rgba(16, 185, 129, 0.15);
  padding: 1px 6px;
  border-radius: 4px;
}

.pfl-block-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pfl-block-val {
  font-size: 12px;
  font-weight: 800;
  color: #fff;
}

.pfl-block-hash {
  font-size: 9.5px;
  color: #94a3b8;
  font-family: monospace;
}

.pfl-guide-card-body {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.pfl-guide-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 11.5px;
  color: var(--t3);
}

.pfl-guide-hub-tag {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid transparent;
}

.pfl-guide-card-title {
  font-size: 14.5px;
  font-weight: 600;
  color: #fff;
  line-height: 1.45;
  margin: 0 0 14px;
  flex: 1;
  transition: color 0.2s ease;
}

.pfl-guide-card:hover .pfl-guide-card-title {
  color: var(--accent, #60a5fa);
}

.pfl-guide-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 12px;
  color: var(--t3);
}

.pfl-guide-read-btn {
  color: var(--accent, #60a5fa);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: transform 0.2s ease;
}

.pfl-guide-card:hover .pfl-guide-read-btn {
  transform: translateX(3px);
}

/* 2. Scoring Methodology Visual Breakdown */
.score-methodology-summary-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(13, 20, 38, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 12px 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 14px;
}

.score-progress-track {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  min-width: 200px;
}

.score-progress-seg {
  flex: 1;
  height: 8px;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}

.score-progress-seg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: currentColor;
  opacity: 0.85;
}

.score-unbiased-pill {
  font-size: 11.5px;
  font-weight: 700;
  color: #34d399;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 4px 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.score-card-rich {
  background: rgba(13, 20, 38, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.score-card-rich:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
}

.score-card-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

.score-card-weight-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--t2);
  display: flex;
  align-items: center;
  gap: 5px;
}

.score-card-dots {
  display: inline-flex;
  gap: 3px;
}

.score-card-dots span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
}

.score-metrics-mini-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.score-metric-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11.5px;
  color: var(--t2);
}

.score-metric-val {
  font-weight: 700;
  color: #fff;
  font-size: 11px;
  background: rgba(255, 255, 255, 0.06);
  padding: 2px 7px;
  border-radius: 5px;
}

/* 3. Trading Tools Visuals */
.tool-rich-card {
  background: rgba(13, 20, 38, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.tool-rich-card:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 102, 241, 0.35);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), 0 0 20px rgba(99, 102, 241, 0.15);
}

.tool-preview-graphic {
  background: rgba(10, 15, 29, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 10px 12px;
  margin: 14px 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.4);
}

.tool-num-badge {
  font-size: 10px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--t3);
  letter-spacing: 0.5px;
}

/* ===================================================================
   UNIVERSAL CENTERED HEADLINES & TAGLINES ACROSS ALL PAGES
   Enforces horizontal centering for all page heroes & section headers
   =================================================================== */
.sh,
section > .sh,
.matrix-wrap > .sh,
.rc-home-section > .sh,
#changes > .sh,
#guides > .sh,
#table > .sh,
.sec-header,
.section-header {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: 860px !important;
  width: 100% !important;
}

.sh > div,
.sec-header > div,
.section-header > div {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: 820px !important;
  width: 100% !important;
}

.sh h1,
.sh h2,
.sh h3,
.sec-header h1,
.sec-header h2,
.section-header h2 {
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.sh .lead,
.sh .sub,
.sh .matrix-sub,
.sh p,
.sec-header p,
.section-header p {
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: 760px !important;
}

.sh .rc-home-date-pill {
  margin: 0 auto 10px !important;
  display: inline-flex !important;
}

.sh .btn-more,
.sh .rc-home-all-btn,
.sh .btn {
  margin: 12px auto 0 !important;
  display: inline-flex !important;
}

/* ==========================================================================
   Premium Blog Article Reading Layout (3-Column Organized Grid)
   ========================================================================== */
.blog-post-page {
  padding-top: 24px !important;
  padding-bottom: 80px;
}

.article-layout-grid {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr) 320px;
  gap: 36px;
  align-items: start;
  max-width: 1420px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

/* Left Sticky Sidebar (TOC & Quick Actions) */
.article-left-sidebar {
  position: sticky;
  top: 86px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  z-index: 10;
}

.article-sidebar-glass {
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 18px;
  padding: 22px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
}

.article-toc-header {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent, #22d3ee);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.article-toc-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.article-toc-item {
  color: #94a3b8;
  font-size: 13px;
  text-decoration: none;
  line-height: 1.45;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 8px;
  border-left: 2px solid transparent;
  transition: all 0.2s ease;
}

.article-toc-item:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
  border-left-color: var(--accent, #22d3ee);
  transform: translateX(2px);
}

.article-toc-item.active {
  color: #fff;
  background: rgba(34, 211, 238, 0.08);
  border-left-color: var(--accent, #22d3ee);
  font-weight: 600;
}

/* Center Article Column */
.article-center-col {
  min-width: 0;
  width: 100%;
}

/* Right Sticky Sidebar (Offers, Payout Proof & Intel) */
.article-right-sidebar {
  position: sticky;
  top: 86px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  z-index: 10;
}

.article-promo-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(16, 24, 48, 0.85) 0%, rgba(9, 14, 28, 0.95) 100%);
  border: 1px solid rgba(34, 211, 238, 0.25);
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.45);
}

.article-promo-card::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 110px;
  height: 110px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.22) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.article-coupon-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 0, 0, 0.4);
  border: 1px dashed rgba(34, 211, 238, 0.4);
  border-radius: 10px;
  padding: 10px 14px;
  margin: 14px 0 16px;
}

.article-ledger-widget {
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 18px;
  padding: 22px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
}

/* Responsive Rules for Tablet & Mobile */
@media (max-width: 1260px) {
  .article-layout-grid {
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 28px;
  }
  .article-right-sidebar {
    display: none;
  }
}

@media (max-width: 960px) {
  .article-layout-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 16px;
  }
  .article-left-sidebar {
    position: static;
    margin-bottom: 12px;
  }
  .article-toc-box {
    padding: 16px;
  }
}

/* ==========================================================================
   Cookie Consent & Affiliate Privacy Bar (Full-Width Bottom Liquid Glass)
   ========================================================================== */
.pfl-cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  background:
    linear-gradient(180deg, rgba(16, 24, 48, 0.88) 0%, rgba(7, 11, 24, 0.96) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 -20px 55px rgba(0, 0, 0, 0.78),
    0 0 36px var(--glow2, rgba(37, 99, 235, 0.18));
  backdrop-filter: blur(28px) saturate(185%);
  -webkit-backdrop-filter: blur(28px) saturate(185%);
  padding: 20px 28px;
  z-index: 999999;
  display: none;
  animation: pflSlideInUp 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes pflSlideInUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.pfl-cookie-content {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) 210px;
  align-items: center;
  gap: 24px 32px;
}

.pfl-cookie-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-width: 132px;
}

.pfl-cookie-brand-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.pfl-cookie-brand-logo {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 4px;
}

.pfl-cookie-brand-name {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.pfl-cookie-brand-name span {
  color: var(--mk-light, #60a5fa);
}

.pfl-cookie-shield {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  color: rgba(226, 232, 240, 0.72);
  padding: 4px 10px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.pfl-cookie-shield svg {
  color: var(--mk-light, #60a5fa);
  flex-shrink: 0;
}

.pfl-cookie-main {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.pfl-cookie-heading {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.pfl-cookie-text {
  font-size: 13px;
  line-height: 1.55;
  color: rgba(226, 232, 240, 0.84);
  margin: 0;
}

.pfl-cookie-link {
  color: var(--mk-light, #60a5fa);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.pfl-cookie-link:hover {
  color: #ffffff;
}

.pfl-cookie-toggles-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 20px;
  padding-top: 4px;
}

.pfl-cookie-toggle-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12.5px;
  font-weight: 600;
  color: #e2e8f0;
  cursor: pointer;
  user-select: none;
}

.pfl-cookie-toggle-label.is-locked {
  opacity: 0.86;
  cursor: default;
}

.pfl-cookie-switch {
  position: relative;
  display: inline-block;
  width: 38px;
  height: 22px;
  flex-shrink: 0;
}

.pfl-cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}

.pfl-cookie-slider {
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.35);
  transition: all 0.2s ease;
}

.pfl-cookie-slider::before {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  left: 2px;
  top: 2px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.pfl-cookie-switch input:checked + .pfl-cookie-slider {
  background: var(--btn, linear-gradient(180deg, #3b82f6 0%, #1d4ed8 100%));
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 0 12px var(--glow2, rgba(37, 99, 235, 0.45));
}

.pfl-cookie-switch input:checked + .pfl-cookie-slider::before {
  transform: translateX(16px);
}

.pfl-cookie-switch input:focus-visible + .pfl-cookie-slider {
  outline: 2px solid var(--mk-light, #60a5fa);
  outline-offset: 2px;
}

.pfl-cookie-details-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: transparent;
  border: none;
  padding: 4px 6px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--mk-light, #60a5fa);
  cursor: pointer;
  transition: color 0.18s ease;
}

.pfl-cookie-details-btn:hover {
  color: #ffffff;
}

.pfl-cookie-details-btn svg {
  transition: transform 0.2s ease;
}

.pfl-cookie-details-btn[aria-expanded="true"] svg {
  transform: rotate(90deg);
}

.pfl-cookie-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.pfl-cookie-btn {
  width: 100%;
  height: 36px;
  padding: 0 16px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.pfl-cookie-accept {
  background: var(--btn, linear-gradient(180deg, #3b82f6 0%, #1d4ed8 100%));
  color: var(--btn-text, #ffffff);
  border: 1px solid rgba(255, 255, 255, 0.26);
  font-weight: 700;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    0 4px 16px var(--glow2, rgba(37, 99, 235, 0.38));
}

.pfl-cookie-accept:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.48),
    0 6px 20px var(--glow, rgba(37, 99, 235, 0.52));
}

.pfl-cookie-selection,
.pfl-cookie-decline {
  background: rgba(255, 255, 255, 0.055);
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.pfl-cookie-selection:hover,
.pfl-cookie-decline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.32);
  color: #ffffff;
}

/* Cookie Details Preferences Modal (Liquid Glass Dialog) */
.pfl-cookie-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3, 6, 16, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1000000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.pfl-cookie-modal-backdrop.open {
  display: flex;
  animation: pflCookieFadeIn 0.2s ease forwards;
}

@keyframes pflCookieFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.pfl-cookie-modal {
  width: 100%;
  max-width: 680px;
  max-height: 86vh;
  display: flex;
  flex-direction: column;
  border-radius: 22px;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0.025) 40%, rgba(8, 12, 28, 0.88) 100%),
    rgba(8, 12, 28, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-top-color: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(30px) saturate(185%);
  -webkit-backdrop-filter: blur(30px) saturate(185%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    0 28px 80px rgba(0, 0, 0, 0.82),
    0 0 36px var(--glow2, rgba(37, 99, 235, 0.22));
  overflow: hidden;
}

.pfl-cookie-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 22px 14px;
}

.pfl-cookie-modal-head-right {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.pfl-cookie-modal-close {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(226, 232, 240, 0.86);
  font-size: 16px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.18s ease;
}

.pfl-cookie-modal-close:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.pfl-cookie-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
}

.pfl-cookie-tab {
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 12px 10px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(203, 213, 225, 0.72);
  cursor: pointer;
  transition: all 0.18s ease;
}

.pfl-cookie-tab:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.03);
}

.pfl-cookie-tab.active {
  color: var(--mk-light, #60a5fa);
  font-weight: 700;
  border-bottom-color: var(--mk-light, #60a5fa);
}

.pfl-cookie-modal-body {
  padding: 18px 22px;
  overflow-y: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pfl-cookie-tabpanel {
  display: none;
  flex-direction: column;
  gap: 12px;
}

.pfl-cookie-tabpanel.active {
  display: flex;
}

.pfl-cookie-cat-card {
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 14px 16px;
  transition: border-color 0.18s ease, background 0.18s ease;
}

.pfl-cookie-cat-card:hover {
  border-color: rgba(255, 255, 255, 0.18);
}

.pfl-cookie-cat-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.pfl-cookie-cat-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none;
  padding: 0;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  text-align: left;
}

.pfl-cookie-cat-chevron {
  color: rgba(203, 213, 225, 0.7);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.pfl-cookie-cat-card.expanded .pfl-cookie-cat-chevron {
  transform: rotate(180deg);
}

.pfl-cookie-count-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 20px;
  padding: 0 7px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 11px;
  font-weight: 700;
  color: rgba(226, 232, 240, 0.9);
}

.pfl-cookie-cat-desc {
  margin: 8px 0 0;
  font-size: 12.5px;
  line-height: 1.55;
  color: rgba(203, 213, 225, 0.8);
}

.pfl-cookie-cat-items {
  display: none;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  flex-direction: column;
  gap: 6px;
}

.pfl-cookie-cat-card.expanded .pfl-cookie-cat-items {
  display: flex;
}

.pfl-cookie-key-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  font-size: 11.5px;
  line-height: 1.45;
  color: rgba(203, 213, 225, 0.78);
}

.pfl-cookie-key-row code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  white-space: nowrap;
}

.pfl-cookie-about-copy {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(226, 232, 240, 0.86);
}

.pfl-cookie-about-copy p {
  margin: 0;
}

.pfl-cookie-meta-box {
  margin-top: 4px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12px;
  color: rgba(203, 213, 225, 0.82);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pfl-cookie-modal-foot {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 14px 22px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.025);
}

@media (max-width: 960px) {
  .pfl-cookie-banner {
    padding: 18px 20px;
    max-height: 85vh;
    overflow-y: auto;
  }
  .pfl-cookie-content {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .pfl-cookie-brand {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }
  .pfl-cookie-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .pfl-cookie-btn {
    flex: 1 1 140px;
  }
}

@media (max-width: 560px) {
  .pfl-cookie-banner {
    padding: 16px;
  }
  .pfl-cookie-toggles-row {
    gap: 10px 14px;
  }
  .pfl-cookie-actions {
    flex-direction: column;
  }
  .pfl-cookie-btn {
    flex: none;
    width: 100%;
  }
  .pfl-cookie-modal {
    max-height: 90vh;
    border-radius: 18px;
  }
  .pfl-cookie-modal-head,
  .pfl-cookie-modal-body,
  .pfl-cookie-modal-foot {
    padding-left: 16px;
    padding-right: 16px;
  }
  .pfl-cookie-modal-foot {
    grid-template-columns: 1fr;
  }
  .pfl-cookie-key-row {
    flex-direction: column;
    gap: 3px;
  }
}



/* ==========================================================================
   PayoutFlow-Style Layout for Payout Page (Exact Reference Match)
   ========================================================================== */

.payout-flow-page {
  background-color: #03070d;
  color: #fff;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* 1. Matrix Background & Radial Glow */
.pf-matrix-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 650px;
  background-color: #03070d;
  background-image: 
    radial-gradient(ellipse 70% 60% at 50% 18%, rgba(16, 185, 129, 0.18) 0%, rgba(6, 78, 59, 0.08) 50%, transparent 80%),
    radial-gradient(circle 400px at 10% 25%, rgba(5, 150, 105, 0.22) 0%, transparent 70%),
    radial-gradient(circle 400px at 90% 25%, rgba(16, 185, 129, 0.16) 0%, transparent 70%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Ctext x='15' y='25' fill='%2310b981' opacity='0.08' font-family='monospace' font-size='11'%3E01101001%3C/text%3E%3Ctext x='55' y='65' fill='%2310b981' opacity='0.09' font-family='monospace' font-size='11'%3ExX088SS#%3C/text%3E%3Ctext x='25' y='105' fill='%2310b981' opacity='0.07' font-family='monospace' font-size='11'%3E88S$888%3C/text%3E%3Ctext x='95' y='145' fill='%2310b981' opacity='0.09' font-family='monospace' font-size='11'%3E0x957AF%3C/text%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

/* 2. Top Floating Pill Banner */
.pf-top-pill-wrap {
  display: flex;
  justify-content: center;
  padding: 14px 16px 6px;
  position: relative;
  z-index: 10;
}

.pf-top-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9999px;
  padding: 6px 16px 6px 10px;
  text-decoration: none;
  font-size: 13px;
  color: #e2e8f0;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.25s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.pf-top-pill:hover {
  border-color: rgba(16, 185, 129, 0.4);
  transform: translateY(-1px);
  color: #fff;
}

.pf-pill-avatars {
  display: flex;
  align-items: center;
}

.pf-mini-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  border: 1.5px solid #03070d;
  margin-right: -6px;
  background: #1e293b;
}

.pf-pill-gold {
  color: #fbbf24;
  font-weight: 700;
}

.pf-pill-arrow {
  color: #10b981;
  font-weight: 700;
  margin-left: 2px;
}

/* Payout page & Payout Profile Unified Deep Space Navy (#050814) & Dynamic Liquid Glass Theme */
body[data-page="payout"],
body.payout-page {
  background: var(--bg, #050814) !important;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}
body[data-page="payout"] main::before,
body[data-page="payout"] .pj-ambient-container {
  display: none !important;
  background: none !important;
}
body[data-page="payout"] .hero-stat-pill {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
}
body[data-page="payout"] .hero-stat-pill:hover {
  background: rgba(255, 255, 255, 0.09) !important;
  border-color: var(--theme-border, rgba(255, 255, 255, 0.24)) !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35), 0 0 18px var(--glow2, rgba(59, 130, 246, 0.25)), inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
}
body[data-page="payout"] .toolbar-search input {
  background: rgba(8, 12, 28, 0.62) !important;
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
}
body[data-page="payout"] .toolbar-search input:focus {
  background: rgba(12, 18, 38, 0.78) !important;
  border-color: var(--accent, #3b82f6) !important;
  box-shadow: 0 0 0 3px var(--glow2, rgba(59, 130, 246, 0.22)) !important;
}
body[data-page="payout"] .modal-card {
  background: rgba(8, 12, 28, 0.8) !important;
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}
body[data-page="payout"] main {
  background: transparent !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  position: relative;
}
body[data-page="payout"] #pj-leaderboard-view,
body[data-page="payout"] #pj-single-firm-view,
body[data-page="payout"] .pj-single-view {
  background: transparent !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  position: relative;
  z-index: 1;
}

/* Payout page footer frosted cosmic backdrop with category-reactive hovers */
body[data-page="payout"] footer {
  position: relative;
  z-index: 10;
  background: rgba(5, 8, 20, 0.78) !important;
  backdrop-filter: blur(20px) saturate(160%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(160%) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
  margin-top: 0 !important;
  padding: 48px 0 36px !important;
}
body[data-page="payout"] footer .footer-brand span {
  color: #ffffff !important;
}
body[data-page="payout"] footer .fg b {
  color: #ffffff !important;
  font-weight: 700 !important;
  letter-spacing: -0.01em;
}
body[data-page="payout"] footer .fg p {
  color: #94a3b8 !important;
  line-height: 1.6;
}
body[data-page="payout"] footer .fg a {
  color: #cbd5e1 !important;
  transition: color 0.18s ease, transform 0.18s ease;
}
body[data-page="payout"] footer .fg a:hover {
  color: var(--mk-light, var(--accent, #60a5fa)) !important;
  transform: translateX(2px);
}
body[data-page="payout"] footer .dash-b p {
  color: #94a3b8 !important;
}
body[data-page="payout"] footer .social-btn {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #e2e8f0 !important;
  transition: all 0.2s ease;
}
body[data-page="payout"] footer .social-btn:hover {
  background: var(--rc-theme-bg, rgba(59, 130, 246, 0.2)) !important;
  border-color: var(--theme-border, rgba(59, 130, 246, 0.45)) !important;
  color: var(--mk-light, var(--accent, #60a5fa)) !important;
  box-shadow: 0 0 16px var(--glow2, rgba(59, 130, 246, 0.35));
  transform: translateY(-2px);
}

/* Payout FAQ liquid glass cards */
body[data-page="payout"] .faq-item {
  background: rgba(8, 12, 28, 0.64) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  backdrop-filter: blur(22px) saturate(175%) !important;
  -webkit-backdrop-filter: blur(22px) saturate(175%) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.14) !important;
}
body[data-page="payout"] .faq-item.open {
  background: rgba(12, 18, 40, 0.78) !important;
  border-color: var(--theme-border, var(--accent, rgba(59, 130, 246, 0.42))) !important;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.55), 0 0 24px var(--glow2, rgba(59, 130, 246, 0.22)), inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
}
body[data-page="payout"] .faq-trigger {
  color: #ffffff !important;
}
body[data-page="payout"] .faq-panel {
  color: #cbd5e1 !important;
}

#pfl-view-root {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  box-sizing: border-box !important;
  background: transparent !important;
}

.pfl-glass-card {
  background: #191919 !important;
  backdrop-filter: blur(24px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.16) !important;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
}

.pfl-powered-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 9999px;
  background: linear-gradient(rgba(25, 25, 25, 0.95), rgba(25, 25, 25, 0.95)) padding-box,
              linear-gradient(135deg, var(--mk-light, #60a5fa) 0%, var(--accent, #3b82f6) 55%, rgba(255, 255, 255, 0.26) 100%) border-box;
  border: 1px solid transparent;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45), 0 0 18px var(--glow2, rgba(59, 130, 246, 0.28)), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.2s ease, box-shadow 0.25s ease;
}
.pfl-powered-pill:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.55), 0 0 24px var(--glow, rgba(37, 99, 235, 0.45)), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

/* Home Page Style Hero on Payout Page */
body[data-page="payout"] .hero {
  padding: 44px 20px 20px !important;
  text-align: center !important;
  position: relative;
  z-index: 5;
  width: 100% !important;
  max-width: 100% !important;
}
body[data-page="payout"] .hero .eyebrow {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 5px 14px !important;
  border-radius: 999px !important;
  background: rgba(16, 185, 129, 0.08) !important;
  border: 1px solid rgba(16, 185, 129, 0.28) !important;
  color: #34d399 !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.15) !important;
  backdrop-filter: blur(8px) !important;
}
body[data-page="payout"] .hero .pfl-live-radar-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  display: inline-block;
  animation: pjPulseGlow 2s infinite ease-in-out;
}
body[data-page="payout"] .hero h1 {
  font-size: clamp(32px, 5.2vw, 56px) !important;
  font-weight: 800 !important;
  letter-spacing: -0.03em !important;
  color: #ffffff !important;
  margin: 14px auto 0 !important;
  max-width: 860px !important;
  line-height: 1.15 !important;
}
body[data-page="payout"] .hero h1 .mk,
#pf-hero-total {
  background: var(--rc-theme-gradient, linear-gradient(135deg, #38bdf8 0%, #34d399 50%, #10b981 100%)) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  font-weight: 900;
  display: inline-block;
  filter: drop-shadow(0 0 24px var(--rc-theme-glow, rgba(56, 189, 248, 0.45))) !important;
  transition: all 0.4s ease;
}
body[data-page="payout"] .hero p.sub {
  max-width: 660px !important;
  margin: 12px auto 0 !important;
  color: #94a3b8 !important;
  font-size: clamp(11.5px, 1.1vw, 12.8px) !important;
  line-height: 1.55 !important;
  font-weight: 400 !important;
  letter-spacing: -0.005em !important;
}
body[data-page="payout"] .hero p.sub .pfl-hero-hi {
  color: #e2e8f0 !important;
  font-weight: 500 !important;
}
body[data-page="payout"] .hero p.sub .pfl-hero-hi-green {
  color: #34d399 !important;
  font-weight: 600 !important;
  text-decoration: underline decoration-dashed rgba(52, 211, 153, 0.4) !important;
  text-underline-offset: 3px !important;
}
body[data-page="payout"] .hero-stats {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  margin-top: 18px !important;
}
body[data-page="payout"] .hero-stat-pill {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 6px 16px !important;
  border-radius: 999px !important;
  background: rgba(25, 25, 25, 0.8) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
  font-size: 12.5px !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
body[data-page="payout"] .hero-stat-pill:hover {
  border-color: rgba(52, 211, 153, 0.38) !important;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.45), 0 0 16px rgba(16, 185, 129, 0.22) !important;
  transform: translateY(-1px) !important;
}

.lbl-desktop-word {
  display: inline;
}

.pfl-payout-matrix-wrap {
  width: calc(100% - 48px) !important;
  max-width: var(--W) !important;
  margin: 24px auto 80px !important;
  padding: 0 !important;
  position: relative;
  z-index: 5;
  box-sizing: border-box;
}

.pf-hero-ambient-top {
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 960px;
  height: 560px;
  background: radial-gradient(ellipse at center, var(--glow2, rgba(36, 123, 255, 0.28)) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
  transition: all 0.4s ease;
}

.pf-hero-ambient-bottom {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1200px;
  height: 420px;
  background: radial-gradient(ellipse at 50% 100%, var(--glow2, rgba(56, 189, 248, 0.22)) 0%, transparent 75%);
  pointer-events: none;
  z-index: 1;
  transition: all 0.4s ease;
}

.pf-hero-silk-waves {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

.pf-hero-earth-horizon {
  position: absolute;
  left: 50%;
  bottom: -190px;
  transform: translateX(-50%);
  width: 1650px;
  height: 540px;
  border-radius: 50% 50% 0 0;
  background: radial-gradient(ellipse at 50% 0%, #081636 0%, #050b1c 70%);
  box-shadow: 0 -4px 35px var(--glow2, rgba(36, 123, 255, 0.35)), inset 0 2px 16px var(--glow, rgba(56, 189, 248, 0.6));
  pointer-events: none;
  z-index: 2;
  overflow: hidden;
  transition: box-shadow 0.4s ease;
}

.pf-horizon-rim-light {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 5%, rgba(36, 123, 255, 0.5) 25%, #38bdf8 50%, rgba(36, 123, 255, 0.5) 75%, transparent 95%);
  box-shadow: 0 0 20px #38bdf8, 0 0 40px #247bff;
}

.pf-hero-content-stack {
  position: relative;
  z-index: 5;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Glowing Pill: [ 📊 Payout Tracker ] */
.pf-tracker-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  border-radius: 9999px;
  background: rgba(8, 18, 44, 0.72);
  border: 1px solid rgba(56, 189, 248, 0.38);
  box-shadow: 0 0 22px rgba(36, 123, 255, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  margin-bottom: 18px;
  transition: all 0.3s ease;
}

.pf-tracker-pill:hover {
  border-color: rgba(56, 189, 248, 0.6);
  box-shadow: 0 0 28px rgba(36, 123, 255, 0.4);
}

.pf-tracker-pill span {
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #e0f2fe;
  font-family: 'Onest', sans-serif;
}

.pf-hero-sub {
  margin: 0 0 32px;
  font-size: clamp(22px, 3.2vw, 32px);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #ffffff;
  text-shadow: 0 2px 22px rgba(36, 123, 255, 0.4);
  font-family: 'Onest', sans-serif;
}

/* 3D Glass Panel & Platform Assembly */
.pf-hero-stage-assembly {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pf-glass-tablet {
  position: relative;
  z-index: 4;
  min-width: clamp(340px, 58vw, 680px);
  height: clamp(155px, 20vw, 205px);
  border-radius: 36px;
  padding: 0 36px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(36, 123, 255, 0.06) 45%, rgba(6, 16, 40, 0.55) 100%);
  border: 1px solid rgba(56, 189, 248, 0.45);
  box-shadow: 
    inset 0 2px 1px rgba(255, 255, 255, 0.65), 
    inset 0 -2px 6px rgba(36, 123, 255, 0.35), 
    0 28px 70px rgba(0, 0, 0, 0.7), 
    0 0 50px rgba(36, 123, 255, 0.28);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 3.5vw, 40px);
  margin-bottom: -22px;
  animation: pfFloatGlass 4s ease-in-out infinite alternate;
}

@keyframes pfFloatGlass {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-6px); }
}

@media (prefers-reduced-motion: reduce) {
  .pf-glass-tablet {
    animation: none;
  }
}

.pf-glass-specular {
  position: absolute;
  top: 0;
  left: 12%;
  right: 12%;
  height: 1.5px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.95) 50%, transparent 100%);
  filter: blur(0.5px);
  pointer-events: none;
}

.pf-laurel-branch {
  flex-shrink: 0;
  filter: drop-shadow(0 0 10px rgba(56, 189, 248, 0.75));
  opacity: 0.95;
}

.pf-hero-total {
  font-size: clamp(54px, 8vw, 94px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1;
  color: #ffffff;
  background: linear-gradient(180deg, #ffffff 20%, #e0f2fe 60%, #93c5fd 95%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 35px rgba(56, 189, 248, 0.5)) drop-shadow(0 6px 16px rgba(0, 0, 0, 0.8));
  font-family: 'Onest', sans-serif;
  user-select: none;
  white-space: nowrap;
  margin: 0;
}

/* Illuminated 3D Platform */
.pf-pedestal-wrap {
  position: relative;
  z-index: 3;
  width: clamp(380px, 64vw, 760px);
  height: 75px;
}

.pf-pedestal-cone {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  width: 75%;
  height: 100px;
  background: radial-gradient(ellipse at 50% 100%, rgba(56, 189, 248, 0.55) 0%, rgba(36, 123, 255, 0.25) 50%, transparent 80%);
  filter: blur(14px);
  pointer-events: none;
}

.pf-pedestal-cylinder {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 45px;
  border-radius: 50% / 22px;
  background: linear-gradient(180deg, #1d4ed8 0%, #0d2159 60%, #050b1c 100%);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8), 0 0 40px rgba(36, 123, 255, 0.4);
}

.pf-pedestal-surface {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 45px;
  border-radius: 50% / 22px;
  background: radial-gradient(ellipse at center, rgba(14, 32, 77, 0.9) 0%, rgba(7, 17, 44, 0.95) 75%, #1e40af 100%);
  border: 2px solid #38bdf8;
  box-shadow: 0 0 25px #38bdf8, inset 0 0 25px rgba(56, 189, 248, 0.5);
}

.pf-pedestal-sheen {
  position: absolute;
  top: 2px;
  left: 20%;
  right: 20%;
  height: 1.5px;
  background: linear-gradient(90deg, transparent 0%, #ffffff 50%, transparent 100%);
}

/* Unified Liquid Glass Capsule Filter Bar */
.pf-capsule-bar {
  margin-top: 36px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(8, 12, 28, 0.68);
  backdrop-filter: blur(22px) saturate(175%);
  -webkit-backdrop-filter: blur(22px) saturate(175%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 9999px;
  padding: 6px 8px;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.48), inset 0 1px 0 rgba(255, 255, 255, 0.16);
  flex-wrap: wrap;
  justify-content: center;
  max-width: 95%;
}

.pf-capsule-group {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.pf-desktop-tf-group {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.pf-mobile-tf-wrapper {
  display: none;
}

.pf-capsule-sep {
  width: 1px;
  height: 22px;
  background: rgba(255, 255, 255, 0.16);
  margin: 0 6px;
}

.pf-capsule-btn {
  background: transparent;
  border: none;
  color: #94a3b8;
  padding: 8px 18px;
  font-size: 13.5px;
  font-weight: 600;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
  font-family: 'Onest', sans-serif;
}

.pf-capsule-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.pf-capsule-btn.active {
  background: var(--btn, linear-gradient(180deg, #34d399 0%, #059669 100%)) !important;
  color: var(--btn-text, #ffffff) !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 16px var(--glow, rgba(16, 185, 129, 0.55));
}

.pf-capsule-btn[data-cat="all"].active {
  background: linear-gradient(135deg, #34d399 0%, #059669 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.5) !important;
}

.pf-capsule-btn[data-cat="futures"].active {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.5) !important;
}

.pf-capsule-btn[data-cat="forex"].active {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.5) !important;
}

.pf-capsule-btn[data-cat="crypto"].active {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
  color: #0c0f1d !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.5) !important;
}

.pf-capsule-btn[data-cat="perps"].active {
  background: linear-gradient(135deg, #ec4899 0%, #be185d 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 16px rgba(236, 72, 153, 0.5) !important;
}

/* 4. The Floating Card (Transition into Clean White Table) */
.pf-floating-card-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px 80px;
  position: relative;
  z-index: 10;
}

.pf-floating-card {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 80px -15px rgba(0, 0, 0, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 0 0 1px rgba(255, 255, 255, 0.1);
  background: rgba(10, 16, 30, 0.65);
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 1px solid rgba(255, 255, 255, 0.28);
}

/* Card Top Black Header with Gold Stardust Wave */
.pf-card-dark-header {
  background: rgba(8, 12, 22, 0.72);
  padding: 38px 24px 34px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.pf-card-dark-header::before {
  content: "";
  position: absolute;
  top: -50%;
  left: 10%;
  right: 10%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(217, 119, 6, 0.18) 0%, rgba(245, 158, 11, 0.05) 45%, transparent 70%);
  pointer-events: none;
}

.pf-banner-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #cbd5e1;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 12px;
  position: relative;
  z-index: 2;
}

.pf-banner-headline {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin: 0;
  position: relative;
  z-index: 2;
}

.pf-gold-text {
  background: linear-gradient(135deg, #fcd34d 0%, #f59e0b 50%, #d97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Subheader Ribbon Bar */
.pf-stats-ribbon {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 28px;
  background: rgba(14, 20, 36, 0.55);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  color: #94a3b8;
  flex-wrap: wrap;
  gap: 12px;
}

.pf-meta-stats {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pf-meta-stats strong {
  color: #ffffff;
  font-weight: 700;
}

.pf-meta-dot {
  opacity: 0.35;
}

.pf-meta-right {
  color: #94a3b8;
  font-size: 12.5px;
  font-weight: 500;
}

/* Table Area -> Translucent Liquid Glass Canvas */
.pf-table-section {
  padding: 24px 28px 36px;
  background: transparent;
}

.pf-table-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 14px;
}

.pf-table-title {
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin: 0;
}

.pf-table-search-box {
  position: relative;
  width: 240px;
}

.pf-table-search-input {
  width: 100%;
  padding: 8px 14px 8px 34px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  font-size: 13px;
  outline: none;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.pf-table-search-input:focus {
  border-color: var(--accent, #3b82f6);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 3px var(--glow2, rgba(59, 130, 246, 0.2));
}

.pf-search-ico {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  pointer-events: none;
}

/* ===================================================================
   SC 2: SINGLE SINGLE CARD THEME (HOME PAGE CARD STYLE FOR FIRMS)
   =================================================================== */
.pfl-cards-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pfl-cards-header {
  display: grid;
  grid-template-columns: 48px 2.2fr 1.3fr 1fr 1fr 1fr 1.1fr 125px;
  align-items: center;
  gap: 16px;
  padding: 10px 24px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #94a3b8;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 6px;
}

@media (max-width: 992px) {
  .pfl-cards-header {
    display: none;
  }
}

.pfl-cards-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Individual Single Card (Obsidian #191919 Liquid Glass Theme) */
.pfl-firm-card {
  display: grid;
  grid-template-columns: 48px 2.2fr 1.3fr 1fr 1fr 1fr 1.1fr 125px;
  align-items: center;
  gap: 16px;
  padding: 16px 24px;
  border-radius: 18px;
  background: #191919 !important;
  backdrop-filter: blur(22px) saturate(175%);
  -webkit-backdrop-filter: blur(22px) saturate(175%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
  text-decoration: none;
  color: inherit;
  position: relative;
}

@keyframes pflLivePulseGlow {
  0% { color: #10b981 !important; text-shadow: 0 0 14px rgba(16, 185, 129, 0.9); transform: scale(1.04); }
  50% { color: #34d399 !important; text-shadow: 0 0 20px rgba(16, 185, 129, 1); transform: scale(1.06); }
  100% { color: inherit; text-shadow: none; transform: scale(1); }
}

.pfl-ledger-glow {
  display: inline-block;
  animation: pflLivePulseGlow 2.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes pflCardFlash {
  0% { box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.75), 0 10px 36px rgba(16, 185, 129, 0.35) !important; border-color: rgba(16, 185, 129, 0.8) !important; }
  100% { box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45); }
}

.pfl-card-live-flash {
  animation: pflCardFlash 3s cubic-bezier(0.16, 1, 0.3, 1);
}

.pfl-firm-card:hover {
  transform: translateY(-2px);
  border-color: var(--theme-border, rgba(255, 255, 255, 0.22));
  background: #202020 !important;
  box-shadow: 0 16px 38px -6px rgba(0, 0, 0, 0.65), 0 0 26px var(--glow2, rgba(16, 185, 129, 0.2)), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

/* Rank 1 Gold Aura Card */
.pfl-firm-card.rank-1-card {
  background: linear-gradient(135deg, rgba(245, 196, 81, 0.1) 0%, #191919 55%) !important;
  border: 1px solid rgba(245, 196, 81, 0.48);
  border-top: 1px solid rgba(250, 204, 21, 0.78);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.52), 0 0 24px rgba(245, 196, 81, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.pfl-firm-card.rank-1-card:hover {
  background: linear-gradient(135deg, rgba(245, 196, 81, 0.16) 0%, #222222 60%) !important;
  border-color: rgba(245, 196, 81, 0.85);
  box-shadow: 0 16px 40px -6px rgba(0, 0, 0, 0.68), 0 0 34px rgba(245, 196, 81, 0.28);
}

/* Rank 2 Silver Card */
.pfl-firm-card.rank-2-card {
  border-color: rgba(203, 213, 225, 0.28);
  border-top-color: rgba(226, 232, 240, 0.5);
}

/* Rank 3 Bronze Card */
.pfl-firm-card.rank-3-card {
  border-color: rgba(217, 119, 6, 0.32);
  border-top-color: rgba(251, 146, 60, 0.55);
}

.pfl-cell-rank {
  display: flex;
  align-items: center;
  justify-content: center;
}

.pfl-rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.pfl-rank-badge.rank-1 {
  background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
  color: #0b0c0d;
  border: 1px solid #fde047;
  box-shadow: 0 0 12px rgba(251, 191, 36, 0.5);
}

.pfl-rank-badge.rank-2 {
  background: linear-gradient(135deg, #e2e8f0 0%, #94a3b8 100%);
  color: #0b0c0d;
  border: 1px solid #f8fafc;
}

.pfl-rank-badge.rank-3 {
  background: linear-gradient(135deg, #f97316 0%, #c2410c 100%);
  color: #ffffff;
  border: 1px solid #fdba74;
}

.pfl-cell-firm {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.pfl-firm-logo-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.16);
  flex-shrink: 0;
  overflow: hidden !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  padding: 0 !important;
}

.pfl-firm-logo-wrap img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  padding: 0 !important;
  margin: 0 !important;
  box-sizing: border-box;
  display: block;
  border-radius: inherit;
}

.pfl-firm-text-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.pfl-firm-name-text {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pfl-firm-rail-text {
  font-size: 12px;
  color: #94a3b8;
  font-weight: 500;
}

.pfl-cell-paid {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.pfl-paid-val {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

.pfl-vol-track {
  width: 100%;
  max-width: 120px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.pfl-vol-bar {
  height: 100%;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent, #3b82f6), var(--mk-light, #60a5fa));
}

.pfl-cell-count, .pfl-cell-avg, .pfl-cell-largest {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pfl-count-val, .pfl-avg-val, .pfl-largest-val {
  font-size: 14.5px;
  font-weight: 600;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
}

.pfl-count-lbl, .pfl-avg-lbl, .pfl-largest-lbl {
  font-size: 11px;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pfl-cell-time {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #cbd5e1;
  font-weight: 500;
}

.pfl-cell-action {
  display: flex;
  justify-content: flex-end;
}

.pfl-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--mk-light, #60a5fa);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--theme-border, rgba(59, 130, 246, 0.35));
  transition: all 0.2s ease;
  white-space: nowrap;
}

.pfl-firm-card:hover .pfl-action-btn {
  background: var(--btn, linear-gradient(180deg, #3b82f6 0%, #1d4ed8 100%));
  color: var(--btn-text, #ffffff);
  border-color: transparent;
  box-shadow: 0 0 16px var(--glow, rgba(37, 99, 235, 0.55));
}

/* Mobile responsive single card stacking */
@media (max-width: 992px) {
  .pfl-firm-card {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    grid-template-areas:
      "head head head head"
      "paid paid action action"
      "count largest avg time" !important;
    gap: 10px 8px !important;
    padding: 14px 14px !important;
    align-items: center;
  }
  .pfl-cell-rank {
    grid-area: head;
    justify-content: flex-start;
    justify-self: start;
    z-index: 2;
  }
  .pfl-cell-firm {
    grid-area: head;
    padding-left: 42px;
    min-width: 0;
  }
  .pfl-cell-action {
    grid-area: action;
    justify-content: flex-end;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }
  .pfl-cell-paid {
    grid-area: paid;
    padding: 8px 0 4px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }
  .pfl-cell-count {
    grid-area: count;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 2px !important;
    min-width: 0;
  }
  .pfl-cell-largest {
    grid-area: largest;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 2px !important;
    min-width: 0;
  }
  .pfl-cell-avg {
    grid-area: avg;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 2px !important;
    min-width: 0;
  }
  .pfl-cell-time {
    grid-area: time;
    display: inline-flex !important;
    justify-content: flex-end;
    align-items: center;
    gap: 5px;
    font-size: 11.5px !important;
    white-space: nowrap;
  }
}

/* Responsive Table Container */
.pf-table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.pf-clean-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.pf-clean-table th {
  padding: 12px 14px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748b;
  border-bottom: 1px solid #e2e8f0;
  white-space: nowrap;
}

.pf-clean-table td {
  padding: 16px 14px;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
  color: #334155;
  font-size: 13.5px;
}

.pf-table-row {
  transition: background 0.15s ease;
  cursor: pointer;
}

.pf-table-row:hover {
  background: #f8fafc;
}

.pf-cell-rank {
  color: #94a3b8;
  font-weight: 600;
  font-size: 13px;
  width: 38px;
}

.pf-firm-cell {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 190px;
}

.pf-firm-logo-wrap {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  overflow: hidden !important;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0 !important;
}

.pf-firm-logo-wrap img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block;
  border-radius: inherit;
  padding: 0 !important;
  margin: 0 !important;
}

.pf-firm-text-meta {
  display: flex;
  flex-direction: column;
}

.pf-firm-name-text {
  font-weight: 700;
  color: #0f172a;
  font-size: 14px;
  line-height: 1.25;
}

.pf-firm-rail-text {
  font-size: 11px;
  color: #64748b;
  margin-top: 2px;
}

.pf-paid-val {
  font-weight: 700;
  color: #0f172a;
  font-size: 14.5px;
  white-space: nowrap;
}

.pf-count-val {
  color: #334155;
  font-weight: 500;
  white-space: nowrap;
}

.pf-avg-val {
  color: #334155;
  font-weight: 500;
  white-space: nowrap;
}

.pf-time-val {
  color: #64748b;
  font-size: 13px;
  white-space: nowrap;
}

.pf-yoy-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.pf-yoy-up {
  color: #059669;
}

.pf-yoy-down {
  color: #dc2626;
}

.pf-trend-cell {
  min-width: 80px;
}

.pf-trend-svg {
  display: block;
}

.pf-arrow-cell {
  color: #94a3b8;
  font-size: 16px;
  text-align: right;
  width: 24px;
}

.pf-table-row:hover .pf-arrow-cell {
  color: #0f172a;
  transform: translateX(3px);
  transition: transform 0.2s ease;
}

/* 5. "Where do you want to go?" Section (Image 3) */
.pf-destinations-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px 60px;
}

.pf-dest-heading {
  font-size: 26px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
}

.pf-dest-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.pf-dest-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: #0b1120;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 380px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.pf-dest-card:hover {
  transform: translateY(-4px);
  border-color: rgba(16, 185, 129, 0.4);
}

.pf-dest-bg-artwork {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
}

.pf-card-1 .pf-dest-bg-artwork {
  background: radial-gradient(circle at 50% 40%, rgba(16, 185, 129, 0.35) 0%, transparent 70%);
}

.pf-card-2 .pf-dest-bg-artwork {
  background: radial-gradient(circle at 50% 40%, rgba(6, 182, 212, 0.32) 0%, transparent 70%);
}

.pf-card-3 .pf-dest-bg-artwork {
  background: radial-gradient(circle at 50% 40%, rgba(245, 158, 11, 0.28) 0%, transparent 70%);
}

.pf-dest-top-meta {
  position: relative;
  z-index: 2;
}

.pf-dest-tag {
  font-size: 11.5px;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.pf-dest-title {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 18px;
  line-height: 1.3;
}

/* Mini Leaderboard in Card 1 */
.pf-mini-leaderboard {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.pf-mini-lb-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
}

.pf-mini-lb-user {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #cbd5e1;
}

.pf-mini-lb-rank {
  color: #64748b;
  font-size: 11px;
  font-weight: 700;
}

.pf-mini-lb-val {
  color: #34d399;
  font-weight: 700;
  font-family: monospace;
}

.pf-dest-bottom {
  position: relative;
  z-index: 2;
  margin-top: auto;
}

.pf-dest-stat-num {
  font-size: 38px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.03em;
  margin: 0 0 4px;
  line-height: 1;
}

.pf-dest-stat-sub {
  font-size: 12.5px;
  color: #94a3b8;
  margin: 0 0 16px;
}

.pf-dest-stat-sub.emerald {
  color: #34d399;
  font-weight: 600;
}

.pf-dest-stat-sub.gold {
  color: #fbbf24;
  font-weight: 600;
}

.pf-dest-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 11px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.pf-dest-btn:hover {
  background: #ffffff;
  color: #03070d;
}

/* 6. Feature Shortcut Row */
.pf-shortcuts-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px 70px;
}

.pf-shortcuts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.pf-shortcut-card {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 22px 24px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.pf-shortcut-card:hover {
  background: rgba(15, 23, 42, 0.9);
  border-color: rgba(16, 185, 129, 0.35);
  transform: translateY(-2px);
}

.pf-shortcut-header {
  font-size: 16.5px;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.pf-shortcut-arrow {
  color: #94a3b8;
  font-size: 16px;
  transition: transform 0.2s ease;
}

.pf-shortcut-card:hover .pf-shortcut-arrow {
  color: #10b981;
  transform: translate(2px, -2px);
}

.pf-shortcut-desc {
  font-size: 13px;
  color: #94a3b8;
  margin: 0;
  line-height: 1.5;
}

/* 7. Massive Footer Statement */
.pf-epic-footer-statement {
  text-align: center;
  padding: 40px 20px 70px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 30px;
}

.pf-epic-headline {
  font-size: clamp(34px, 6vw, 68px);
  font-weight: 900;
  letter-spacing: -0.04em;
  color: #ffffff;
  margin: 0;
  background: linear-gradient(180deg, #ffffff 40%, rgba(255, 255, 255, 0.45) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Responsive Breakpoints */
@media (max-width: 980px) {
  .pf-dest-grid {
    grid-template-columns: 1fr;
  }
  .pf-shortcuts-grid {
    grid-template-columns: 1fr;
  }
  .pf-stats-ribbon {
    padding: 14px 18px;
  }
  .pf-table-section {
    padding: 18px 16px 28px;
  }
}

@media (max-width: 640px) {
  .pf-capsule-bar {
    border-radius: 16px;
    padding: 8px;
  }
  .pf-capsule-sep {
    display: none;
  }
  .pf-capsule-btn {
    padding: 6px 12px;
    font-size: 12px;
  }
  .pf-clean-table th, .pf-clean-table td {
    padding: 12px 10px;
  }
}

/* ============================================================================
   RULE CHANGES PAGE — PAYOUTFLOW BENTO + DARK LIQUID GLASS SPLIT INSPECTOR
   ============================================================================ */
body[data-page="rule-changes"] {
  background: var(--bg, #050814);
  color: #f3f5f8;
  font-family: 'Onest', var(--font-sans, system-ui, -apple-system, sans-serif);
}

.rc-pf-main {
  padding-bottom: 72px;
}

.rc-pf-hero-band {
  position: relative;
  overflow: visible !important;
  padding: 18px 24px 36px;
  border-bottom: none !important;
  background: transparent;
}

.rc-pf-hero-bg {
  position: absolute;
  top: -104px;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 0;
  overflow: visible !important;
}

.rc-pf-hero-grid {
  display: none !important;
}

.rc-pf-hero-spotlight {
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 1080px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(37, 99, 235, 0.26) 0%, rgba(139, 92, 246, 0.16) 45%, transparent 70%) !important;
  filter: blur(64px);
  pointer-events: none;
}

.rc-pf-glow-warm {
  position: absolute;
  top: -40px;
  left: 32%;
  width: 600px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.2) 0%, transparent 70%) !important;
  filter: blur(56px);
  pointer-events: none;
}

.rc-pf-glow-green {
  position: absolute;
  top: -20px;
  right: 28%;
  width: 540px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.18) 0%, transparent 70%) !important;
  filter: blur(56px);
  pointer-events: none;
}

.rc-pf-glow-accent {
  position: absolute;
  bottom: -100px;
  left: 38%;
  width: 560px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

.rc-pf-hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--W, 1240px);
  margin: 0 auto;
}

.rc-pf-hero-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 24px;
}

.rc-pf-eyebrow {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 5px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.11);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

.rc-pf-rt-sep {
  color: rgba(255, 255, 255, 0.24);
}

.rc-pf-rt-pill {
  color: #7ee2b3;
  font-weight: 700;
}

.rc-pf-rt-pill.is-live {
  color: #5fd09b;
}

.rc-pf-h1 {
  margin: 0 0 10px;
  text-align: center;
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 700;
  letter-spacing: -0.036em;
  line-height: 1.1;
  background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 58%, #9aa6b8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.rc-pf-sub {
  margin: 0 auto 18px;
  max-width: 640px;
  text-align: center;
  font-size: 15px;
  line-height: 1.56;
  color: rgba(255, 255, 255, 0.66);
}

.rc-pf-live-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 16px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.095);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.72);
}

.rc-pf-live-actions {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}

.rc-pf-refresh-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.88);
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.rc-pf-refresh-btn:hover {
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 255, 255, 0.28);
  color: #ffffff;
}

.rc-pf-refresh-btn.is-loading .rc-pf-spin-icon {
  display: inline-block;
  animation: rc-pf-spin 0.8s linear infinite;
}

@keyframes rc-pf-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.rc-pf-hero-stats {
  width: 100%;
  max-width: 940px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.085);
  background: rgba(18, 21, 28, 0.62);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 12px 30px rgba(0, 0, 0, 0.26);
  overflow: hidden;
}

.rc-pf-hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 11px 14px;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
}

.rc-pf-hero-stat:last-child {
  border-right: none;
}

.rc-pf-hero-stat-lbl {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 2px;
}

.rc-pf-hero-stat-val {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: #f8fafc;
  font-variant-numeric: tabular-nums;
}

.rc-pf-hero-stat-sub {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.52);
  margin-top: 2px;
}

.rc-pf-live-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: #e2e8f0;
}

.rc-pf-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #5fd09b;
  box-shadow: 0 0 0 0 rgba(95, 208, 155, 0.55);
  animation: rc-pf-pulse 2.2s infinite;
  flex-shrink: 0;
}

@keyframes rc-pf-pulse {
  0% { box-shadow: 0 0 0 0 rgba(95, 208, 155, 0.55); }
  70% { box-shadow: 0 0 0 7px rgba(95, 208, 155, 0); }
  100% { box-shadow: 0 0 0 0 rgba(95, 208, 155, 0); }
}

.rc-pf-live-sep {
  color: rgba(255, 255, 255, 0.18);
}

.rc-pf-live-summary {
  color: rgba(255, 255, 255, 0.56);
}

.rc-pf-sources-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(95, 208, 155, 0.32);
  background: rgba(95, 208, 155, 0.12);
  color: #7ee2b3;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.rc-pf-sources-btn:hover {
  background: rgba(95, 208, 155, 0.22);
  border-color: rgba(95, 208, 155, 0.55);
  color: #ffffff;
}

/* ── 2-Column Bento: Extended Calendar + Firms Watched ── */
.rc-pf-bento {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 16px;
  align-items: stretch;
}

.rc-pf-cal-card,
.rc-pf-watched-card {
  background: rgba(13, 19, 36, 0.65) !important;
  backdrop-filter: blur(24px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 18px;
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.44), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.rc-pf-cal-card {
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
}

.rc-pf-cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.rc-pf-cal-right-tools {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.rc-pf-cal-hover-hint {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.42);
}

.rc-pf-cal-title-wrap {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
}

.rc-pf-cal-month {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: #f8fafc;
}

.rc-pf-cal-total {
  font-size: 12.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.46);
  font-variant-numeric: tabular-nums;
}

.rc-pf-cal-jump-wrap {
  display: inline-flex;
  align-items: center;
}

.rc-pf-cal-jump-wrap .rc-jump-btn {
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid rgba(95, 208, 155, 0.35);
  background: rgba(95, 208, 155, 0.14);
  color: #7ee2b3;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.rc-pf-cal-jump-wrap .rc-jump-btn:hover {
  background: rgba(95, 208, 155, 0.24);
  color: #ffffff;
}

.rc-pf-cal-nav {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.rc-pf-nav-btn {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.rc-pf-nav-btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

.rc-pf-nav-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.rc-pf-cal-scope-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.rc-pf-cal-scope-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.035);
  color: rgba(255, 255, 255, 0.68);
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.14s ease, border-color 0.14s ease, color 0.14s ease;
}

.rc-pf-cal-scope-pill:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.rc-pf-cal-scope-pill.active {
  background: rgba(95, 208, 155, 0.16);
  border-color: rgba(95, 208, 155, 0.45);
  color: #7ee2b3;
}

.rc-pf-scope-cnt {
  font-size: 10.5px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.7);
  font-variant-numeric: tabular-nums;
}

.rc-pf-cal-scope-pill.active .rc-pf-scope-cnt {
  background: rgba(95, 208, 155, 0.22);
  color: #a7f3d0;
}

.rc-pf-cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 8px;
}

.rc-pf-cal-weekdays span {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  padding: 0 4px;
}

.rc-pf-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}

.rc-pf-cal-day {
  position: relative;
  min-height: 72px;
  padding: 6px 8px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.055);
  background: rgba(255, 255, 255, 0.025);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: default;
  transition: background 0.16s ease, border-color 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
}

.rc-pf-cal-day.is-blank {
  background: transparent;
  border-color: transparent;
  pointer-events: none;
}

.rc-pf-cal-day.has-changes {
  cursor: pointer;
  background: linear-gradient(155deg, rgba(95, 208, 155, 0.17) 0%, rgba(95, 208, 155, 0.075) 100%);
  border-color: rgba(95, 208, 155, 0.24);
}

.rc-pf-cal-day.has-changes:hover {
  background: linear-gradient(155deg, rgba(95, 208, 155, 0.24) 0%, rgba(95, 208, 155, 0.11) 100%);
  border-color: rgba(95, 208, 155, 0.48);
  transform: translateY(-1px);
}

.rc-pf-cal-day.is-today {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.42);
}

.rc-pf-cal-day.is-selected {
  border-color: #5fd09b !important;
  box-shadow: 0 0 0 1px #5fd09b, 0 8px 20px rgba(95, 208, 155, 0.18) !important;
}

.rc-pf-cal-day-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
}

.rc-pf-cal-num {
  font-size: 12.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.44);
  font-variant-numeric: tabular-nums;
}

.rc-pf-cal-day.has-changes .rc-pf-cal-num,
.rc-pf-cal-day.is-today .rc-pf-cal-num {
  color: rgba(255, 255, 255, 0.92);
}

.rc-pf-cal-today-tag {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.rc-pf-cal-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  margin-top: 10px;
}

.rc-pf-cal-logos {
  display: flex;
  align-items: center;
}

.rc-pf-cal-logo-img,
.rc-pf-cal-logo-mono {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  object-fit: cover;
  background: #14171f;
  border: 1.5px solid #12171b;
  margin-left: -7px;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.45);
}

.rc-pf-cal-logo-img:first-child,
.rc-pf-cal-logo-mono:first-child {
  margin-left: 0;
}

.rc-pf-cal-logo-mono,
.rc-pf-watch-logo-mono,
.rc-pf-row-logo-mono {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: #f1f5f9;
  background: linear-gradient(135deg, #272d3a, #171a22);
}

.rc-pf-cal-more {
  font-size: 12px;
  font-weight: 700;
  color: #5fd09b;
  font-variant-numeric: tabular-nums;
  padding-left: 2px;
}

/* ── Firms Watched Right Panel ── */
.rc-pf-watched-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 590px;
  overflow: hidden;
}

.rc-pf-watched-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 16px 18px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  flex-shrink: 0;
}

.rc-pf-watched-title {
  font-size: 14px;
  font-weight: 700;
  color: #f8fafc;
}

.rc-pf-watched-hint {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.44);
}

.rc-pf-watched-body {
  position: absolute;
  top: 49px;
  left: 0;
  right: 0;
  bottom: 0;
  overflow-y: auto;
  padding: 10px 12px 16px;
}

.pf-scroll::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.pf-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.pf-scroll::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.14);
  border-radius: 999px;
}

.pf-scroll::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.24);
}

.rc-pf-watch-group {
  margin-bottom: 14px;
}

.rc-pf-watch-group:last-child {
  margin-bottom: 0;
}

.rc-pf-watch-group-label {
  padding: 4px 8px 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
}

.rc-pf-watch-row {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 8px;
  border-radius: 9px;
  border: 1px solid transparent;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background 0.14s ease, border-color 0.14s ease, opacity 0.14s ease;
}

.rc-pf-watch-row:hover {
  background: rgba(255, 255, 255, 0.06);
}

.rc-pf-watch-row.is-active {
  background: rgba(95, 208, 155, 0.13);
  border-color: rgba(95, 208, 155, 0.36);
}

.rc-pf-watch-row.is-zero {
  opacity: 0.44;
}

.rc-pf-watch-row.is-zero:hover {
  opacity: 0.78;
}

.rc-pf-watch-left {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.rc-pf-watch-logo,
.rc-pf-watch-logo-mono {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  background: #14171f;
  border: 1px solid rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
}

.rc-pf-watch-name {
  font-size: 13px;
  font-weight: 600;
  color: #f1f5f9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rc-pf-watch-right {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-shrink: 0;
}

.rc-pf-watch-dots {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.rc-pf-watch-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
}

.rc-pf-watch-dot.better {
  background: #5fd09b;
}

.rc-pf-watch-dot.worse {
  background: #f08a7c;
}

.rc-pf-watch-count {
  min-width: 20px;
  text-align: right;
  font-size: 12px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: rgba(255, 255, 255, 0.78);
}

.rc-pf-watch-row.is-zero .rc-pf-watch-count {
  color: rgba(255, 255, 255, 0.38);
}

/* ── Lower Split Master-Detail Diff Explorer (Dark Liquid Glass) ── */
.rc-pf-content-wrap,
body[data-page="rule-changes"] .rc-pf-content-wrap {
  width: 100%;
  max-width: var(--W, 1240px);
  margin: 0 auto;
  padding: 24px 20px 0;
}

.rc-pf-split-card {
  scroll-margin-top: 132px;
  margin-bottom: 44px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: linear-gradient(180deg, rgba(19, 22, 29, 0.94) 0%, rgba(13, 15, 20, 0.98) 100%);
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

.rc-pf-toolbar {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.075);
  background: rgba(255, 255, 255, 0.018);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rc-pf-toolbar-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.rc-pf-active-chips {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
}

.rc-pf-active-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(95, 208, 155, 0.35);
  background: rgba(95, 208, 155, 0.12);
  color: #8be7bb;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.14s ease, color 0.14s ease;
}

.rc-pf-active-chip:hover {
  background: rgba(95, 208, 155, 0.22);
  color: #ffffff;
}

.rc-pf-view-stats {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  font-variant-numeric: tabular-nums;
}

.rc-pf-summary-strong {
  font-weight: 700;
  color: #f8fafc;
}

.rc-pf-stat-sep {
  color: rgba(255, 255, 255, 0.2);
}

.rc-pf-stat-better b {
  color: #5fd09b;
}

.rc-pf-stat-worse b {
  color: #f08a7c;
}

.rc-pf-search-wrap {
  position: relative;
  min-width: 260px;
  flex: 0 1 320px;
}

body[data-page="rule-changes"] .rc-pf-search-wrap .rc-search-input {
  width: 100%;
  height: 36px;
  padding: 0 12px 0 34px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: #f8fafc;
  font-size: 12.5px;
}

body[data-page="rule-changes"] .rc-pf-search-wrap .rc-search-input::placeholder {
  color: rgba(255, 255, 255, 0.38);
}

body[data-page="rule-changes"] .rc-pf-search-wrap .rc-search-input:focus {
  outline: none;
  border-color: rgba(95, 208, 155, 0.5);
  background: rgba(255, 255, 255, 0.065);
}

.rc-pf-filter-rows {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 10px;
}

.rc-pf-pill-group {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
}

.rc-pf-pill-divider {
  width: 1px;
  height: 18px;
  background: rgba(255, 255, 255, 0.1);
  margin: 0 2px;
}

body[data-page="rule-changes"] .rc-pf-toolbar .rc-pf-pill,
body[data-page="rule-changes"] .rc-pf-toolbar .rc-pf-pill.rc-chip,
body[data-page="rule-changes"] .rc-pf-toolbar .rc-pf-pill.rc-side-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.035);
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: none;
  transition: background 0.14s ease, border-color 0.14s ease, color 0.14s ease;
}

body[data-page="rule-changes"] .rc-pf-toolbar .rc-pf-pill:hover,
body[data-page="rule-changes"] .rc-pf-toolbar .rc-pf-pill.rc-chip:hover,
body[data-page="rule-changes"] .rc-pf-toolbar .rc-pf-pill.rc-side-pill:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  box-shadow: none;
}

body[data-page="rule-changes"] #rc-type-filters .rc-pf-pill.active,
body[data-page="rule-changes"] #rc-verdict-filters .rc-pf-pill.active,
body[data-page="rule-changes"] #rc-market-filters .rc-pf-pill.rc-side-pill.active,
body[data-page="rule-changes"] .rc-pf-toolbar .rc-pf-pill.active {
  background: #f1f5f9;
  border-color: #f1f5f9;
  color: #0b0e14;
  box-shadow: none;
}

body[data-page="rule-changes"] #rc-verdict-filters .rc-pf-pill.better.active {
  background: rgba(95, 208, 155, 0.2);
  border-color: rgba(95, 208, 155, 0.55);
  color: #7ee2b3;
  box-shadow: none;
}

body[data-page="rule-changes"] #rc-verdict-filters .rc-pf-pill.worse.active {
  background: rgba(240, 138, 124, 0.2);
  border-color: rgba(240, 138, 124, 0.55);
  color: #f5a094;
  box-shadow: none;
}

.rc-pf-split-body {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.98fr);
  min-height: 540px;
}

.rc-pf-list {
  border-right: 1px solid rgba(255, 255, 255, 0.075);
  max-height: 760px;
  overflow-y: auto;
  padding: 10px;
}

.rc-pf-feed-group-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 10px 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
}

.rc-pf-row {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 12px 12px 14px;
  margin-bottom: 4px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: transparent;
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
  transition: background 0.14s ease, border-color 0.14s ease;
}

.rc-pf-row:hover {
  background: rgba(255, 255, 255, 0.045);
}

.rc-pf-row.is-active {
  background: rgba(95, 208, 155, 0.09);
  border-color: rgba(95, 208, 155, 0.28);
}

.rc-pf-row.is-active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: #5fd09b;
}

.rc-pf-row-logo,
.rc-pf-row-logo-mono {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  background: #14171f;
  border: 1px solid rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
}

.rc-pf-row-main {
  flex: 1;
  min-width: 0;
}

.rc-pf-row-top {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 3px;
}

.rc-pf-row-firm {
  font-size: 13.5px;
  font-weight: 700;
  color: #f8fafc;
}

.rc-pf-row-cat {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.56);
}

.rc-pf-row-tag {
  font-size: 10.5px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 5px;
  background: rgba(148, 163, 184, 0.11);
  color: rgba(226, 232, 240, 0.78);
}

.rc-pf-row-sub {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.62);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rc-pf-row-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  flex-shrink: 0;
}

.rc-pf-row-verdict {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}

.rc-pf-row-verdict.better {
  background: rgba(95, 208, 155, 0.14);
  color: #7ee2b3;
  border: 1px solid rgba(95, 208, 155, 0.28);
}

.rc-pf-row-verdict.worse {
  background: rgba(240, 138, 124, 0.14);
  color: #f5a094;
  border: 1px solid rgba(240, 138, 124, 0.28);
}

.rc-pf-row-date {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.42);
}

.rc-pf-empty-list {
  padding: 48px 20px;
  text-align: center;
  color: rgba(255, 255, 255, 0.56);
}

.rc-pf-empty-list h3 {
  margin: 0 0 8px;
  font-size: 16px;
  color: #f8fafc;
}

.rc-pf-empty-list p {
  margin: 0 0 16px;
  font-size: 13px;
}

/* ── Sticky Right Diff Inspector (#pf-change) ── */
.rc-pf-detail {
  padding: 22px 24px;
  background: rgba(10, 12, 17, 0.56);
}

.rc-pf-detail-sticky {
  position: sticky;
  top: 20px;
}

.rc-pf-detail-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.rc-pf-detail-firm-row {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.rc-pf-detail-logo {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  background: #14171f;
  border: 1px solid rgba(255, 255, 255, 0.14);
  flex-shrink: 0;
}

.rc-pf-detail-logo-mono {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: #f1f5f9;
  background: linear-gradient(135deg, #272d3a, #171a22);
  border: 1px solid rgba(255, 255, 255, 0.14);
  flex-shrink: 0;
}

.rc-pf-detail-firm-name {
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.015em;
}

.rc-pf-detail-meta {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.48);
  margin-top: 2px;
}

.rc-pf-detail-verdict {
  font-size: 11.5px;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
}

.rc-pf-detail-verdict.better {
  background: rgba(95, 208, 155, 0.16);
  color: #7ee2b3;
  border: 1px solid rgba(95, 208, 155, 0.36);
}

.rc-pf-detail-verdict.worse {
  background: rgba(240, 138, 124, 0.16);
  color: #f5a094;
  border: 1px solid rgba(240, 138, 124, 0.36);
}

.rc-pf-detail-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.rc-pf-detail-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.78);
}

.rc-pf-detail-title {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.28;
  color: #f8fafc;
}

.rc-pf-source-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.rc-pf-source-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.065);
  border: 1px solid rgba(255, 255, 255, 0.11);
  color: rgba(241, 245, 249, 0.88);
  font-size: 12px;
  font-weight: 600;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rc-pf-live-probe-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid rgba(95, 208, 155, 0.32);
  background: rgba(95, 208, 155, 0.1);
  color: #7ee2b3;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.rc-pf-live-probe-btn:hover:not(:disabled) {
  background: rgba(95, 208, 155, 0.2);
  border-color: rgba(95, 208, 155, 0.55);
  color: #ffffff;
}

.rc-pf-live-probe-btn:disabled {
  opacity: 0.65;
  cursor: wait;
}

.rc-pf-probe-inline {
  margin-bottom: 14px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(95, 208, 155, 0.25);
  background: rgba(95, 208, 155, 0.07);
  font-size: 12px;
  line-height: 1.45;
  color: #d1fae5;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
}

.rc-pf-probe-inline.is-warn {
  border-color: rgba(245, 158, 11, 0.35);
  background: rgba(245, 158, 11, 0.08);
  color: #fde68a;
}

.rc-pf-probe-inline code {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 5px;
  background: rgba(0, 0, 0, 0.32);
  color: #e2e8f0;
}

/* Unified BEFORE / AFTER Strikethrough Diff Card (PayoutFlow Image 2 Reference) */
.rc-pf-diff-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(15, 18, 24, 0.72);
  overflow: hidden;
  margin-bottom: 16px;
}

.rc-pf-diff-box {
  padding: 15px 16px;
  min-width: 0;
}

.rc-pf-diff-box.before {
  background: linear-gradient(180deg, rgba(240, 138, 124, 0.085) 0%, rgba(240, 138, 124, 0.04) 100%);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.rc-pf-diff-box.after {
  background: linear-gradient(180deg, rgba(95, 208, 155, 0.1) 0%, rgba(95, 208, 155, 0.045) 100%);
}

.rc-pf-diff-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.rc-pf-diff-box.before .rc-pf-diff-label {
  color: #f87171;
}

.rc-pf-diff-box.after .rc-pf-diff-label {
  color: #4ade80;
}

.rc-pf-diff-val {
  font-family: 'Geist Mono', monospace;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.5;
  color: #f8fafc;
  word-break: break-word;
}

.rc-pf-diff-box.before .rc-pf-diff-val {
  color: rgba(254, 202, 202, 0.85);
  text-decoration: line-through;
  text-decoration-color: rgba(248, 113, 113, 0.85);
  text-decoration-thickness: 1.5px;
}

.rc-pf-diff-lines {
  margin-top: 8px;
  font-family: 'Geist Mono', monospace;
  font-size: 12.2px;
  line-height: 1.62;
  white-space: pre-wrap;
  word-break: break-word;
}

.rc-pf-diff-box.before .rc-pf-diff-lines {
  color: rgba(252, 165, 165, 0.72);
  text-decoration: line-through;
  text-decoration-color: rgba(248, 113, 113, 0.6);
}

.rc-pf-diff-box.after .rc-pf-diff-lines {
  color: rgba(226, 232, 240, 0.92);
}

.rc-pf-detail-impact {
  padding: 13px 15px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.07);
  margin-bottom: 16px;
}

.rc-pf-detail-impact-lbl {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.44);
  margin-bottom: 5px;
}

.rc-pf-detail-impact-txt {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.86);
}

.rc-pf-sibling-wrap {
  margin-bottom: 16px;
}

.rc-pf-sibling-lbl {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.44);
  margin-bottom: 7px;
}

.rc-pf-sibling-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.rc-pf-sibling-tab {
  padding: 5px 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.035);
  color: rgba(255, 255, 255, 0.72);
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.14s ease, border-color 0.14s ease, color 0.14s ease;
}

.rc-pf-sibling-tab:hover {
  background: rgba(255, 255, 255, 0.09);
  color: #ffffff;
}

.rc-pf-sibling-tab.is-active {
  background: rgba(95, 208, 155, 0.16);
  border-color: rgba(95, 208, 155, 0.45);
  color: #8be7bb;
}

.rc-pf-detail-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.075);
}

.rc-pf-btn-primary,
.rc-pf-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 13px;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.rc-pf-btn-primary {
  background: rgba(95, 208, 155, 0.16);
  border: 1px solid rgba(95, 208, 155, 0.36);
  color: #8be7bb;
}

.rc-pf-btn-primary:hover {
  background: rgba(95, 208, 155, 0.26);
  color: #ffffff;
}

.rc-pf-btn-secondary {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.82);
}

.rc-pf-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.rc-pf-detail-empty {
  padding: 56px 20px;
  text-align: center;
  color: rgba(255, 255, 255, 0.46);
  font-size: 13.5px;
}

/* ── Floating Calendar Day Hover Popover (Image 3 Style) ── */
.rc-cal-popover {
  position: fixed;
  z-index: 9990;
  width: 336px;
  max-width: calc(100vw - 24px);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(13, 16, 23, 0.96);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  box-shadow: 0 26px 64px rgba(0, 0, 0, 0.72), 0 0 0 1px rgba(95, 208, 155, 0.1);
  color: #f1f5f9;
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px) scale(0.985);
  transition: opacity 0.14s ease, transform 0.14s ease;
  overflow: hidden;
}

.rc-cal-popover.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.rc-cal-pop-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 14px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.025);
}

.rc-cal-pop-date {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
}

.rc-cal-pop-count {
  font-size: 11px;
  font-weight: 600;
  color: #7ee2b3;
  background: rgba(95, 208, 155, 0.12);
  border: 1px solid rgba(95, 208, 155, 0.28);
  padding: 2px 8px;
  border-radius: 999px;
}

.rc-cal-pop-list {
  max-height: 360px;
  overflow-y: auto;
  padding: 6px;
}

.rc-cal-pop-firm {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 9px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background 0.12s ease, border-color 0.12s ease;
}

.rc-cal-pop-firm:hover {
  background: rgba(255, 255, 255, 0.065);
  border-color: rgba(255, 255, 255, 0.1);
}

.rc-cal-pop-firm-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
}

.rc-cal-pop-logo,
.rc-cal-pop-mono {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  background: #14171f;
  border: 1px solid rgba(255, 255, 255, 0.14);
  flex-shrink: 0;
}

.rc-cal-pop-mono {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #f8fafc;
}

.rc-cal-pop-info {
  min-width: 0;
  flex: 1;
}

.rc-cal-pop-name {
  font-size: 13px;
  font-weight: 700;
  color: #f8fafc;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rc-cal-pop-meta {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.56);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 1px;
}

.rc-cal-pop-badges {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.rc-cal-pop-pill {
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
}

.rc-cal-pop-pill.better {
  background: rgba(95, 208, 155, 0.14);
  color: #7ee2b3;
}

.rc-cal-pop-pill.worse {
  background: rgba(240, 138, 124, 0.14);
  color: #f5a094;
}

.rc-cal-pop-pill.mixed {
  background: rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
}

.rc-cal-pop-foot {
  padding: 8px 10px 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

.rc-cal-pop-all-btn {
  width: 100%;
  padding: 8px 12px;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.92);
  color: #090b10;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.13s ease, transform 0.13s ease;
}

.rc-cal-pop-all-btn:hover {
  background: #ffffff;
}

/* Live Probe button in Sources Modal */
.rc-src-probe-btn {
  margin-left: 6px;
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid rgba(95, 208, 155, 0.35);
  background: rgba(95, 208, 155, 0.12);
  color: #7ee2b3;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
}

.rc-src-probe-btn:hover:not(:disabled) {
  background: rgba(95, 208, 155, 0.24);
  color: #ffffff;
}

@media (max-width: 1000px) {
  .rc-pf-hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rc-pf-hero-stat:nth-child(2) {
    border-right: none;
  }

  .rc-pf-hero-stat:nth-child(1),
  .rc-pf-hero-stat:nth-child(2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }

  .rc-pf-bento {
    grid-template-columns: 1fr;
  }

  .rc-pf-watched-card {
    min-height: 0;
  }

  .rc-pf-watched-body {
    position: static;
    max-height: 340px;
  }

  .rc-pf-split-body {
    grid-template-columns: 1fr;
  }

  .rc-pf-list {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.075);
    max-height: 400px;
  }
}

@media (max-width: 640px) {
  .rc-pf-hero-band {
    padding: 14px 14px 22px;
  }

  .rc-pf-eyebrow {
    font-size: 10px;
    padding: 5px 10px;
    gap: 4px 7px;
  }

  .rc-pf-rt-sep,
  .rc-pf-live-sep {
    display: none;
  }

  .rc-pf-live-bar {
    flex-direction: column;
    border-radius: 14px;
    padding: 10px 12px;
    gap: 8px;
    width: 100%;
  }

  .rc-pf-hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rc-pf-cal-hover-hint {
    display: none;
  }

  .rc-pf-content-wrap,
  body[data-page="rule-changes"] .rc-pf-content-wrap {
    padding: 18px 14px 0;
  }

  .rc-pf-cal-card {
    padding: 14px;
  }

  .rc-pf-cal-grid,
  .rc-pf-cal-weekdays {
    gap: 4px;
  }

  .rc-pf-cal-day {
    min-height: 62px;
    padding: 5px 5px;
    border-radius: 8px;
  }

  .rc-pf-cal-logo-img,
  .rc-pf-cal-logo-mono {
    width: 15px;
    height: 15px;
    margin-left: -4px;
  }

  .rc-pf-cal-logos > :nth-child(n+3) {
    display: none;
  }

  .rc-pf-cal-more {
    font-size: 9.5px;
    padding-left: 1px;
  }

  .rc-pf-toolbar {
    padding: 14px;
  }

  .rc-pf-search-wrap {
    width: 100%;
    flex: 1 1 100%;
    min-width: 0;
  }

  .rc-pf-detail {
    padding: 16px;
  }

  .rc-pf-diff-grid {
    grid-template-columns: 1fr;
  }

  .rc-pf-diff-box.before {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
}

/* === Payout Hero Navigation Pills, Statistics & Methodology Subpages === */
.pf-hero-pill-link {
  text-decoration: none;
  cursor: pointer;
  color: #ffffff;
}

.pf-hero-pill-link:hover {
  border-color: rgba(59, 130, 246, 0.55) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 20px rgba(59, 130, 246, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.22) !important;
}

.pf-pill-chevron {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent, #3b82f6);
  transition: transform 0.2s ease;
}

.pf-hero-pill-link:hover .pf-pill-chevron {
  transform: translateX(2px);
}

/* === Prop Firm Lenz Liquid Glass Subpages (Statistics & Methodology) === */
body[data-page="statistics"],
body[data-page="methodology"] {
  background: var(--bg, #050814) !important;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

body[data-page="statistics"] .hero-stat-pill,
body[data-page="methodology"] .hero-stat-pill,
.hero-stat-pill.pfl-tracked-badge {
  background: rgba(255, 255, 255, 0.055) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  backdrop-filter: blur(18px) saturate(170%);
  -webkit-backdrop-filter: blur(18px) saturate(170%);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.18) !important;
  min-height: 46px;
  padding: 0 16px;
}

/* Unified Split Controls Bar (Filters Left, View Switcher Right — Outside Hero) */
.pfl-controls-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  width: 100%;
  margin: 0 0 18px;
}

.pfl-controls-bar .pf-capsule-bar {
  margin: 0 !important;
  max-width: 100% !important;
  padding: 5px;
  gap: 4px;
  justify-content: flex-start;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 10px 28px rgba(0, 0, 0, 0.36);
}

.pfl-controls-bar .pf-capsule-btn {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 14px;
  font-size: 13px;
}

.pfl-lg-section.is-controls {
  padding-top: 8px !important;
}

.pfl-lg-notice.is-inline {
  margin: 0;
  max-width: none;
  min-height: 46px;
  padding: 6px 16px;
}

.pfl-lg-section.is-controls .pfl-lg-notice:not(.is-inline) {
  margin: 14px 0 0;
  max-width: none;
  border-radius: 16px;
}

.pfl-view-switcher {
  display: inline-flex;
  align-items: center;
  width: auto;
  max-width: none;
  margin: 0;
  gap: 4px;
  padding: 5px;
  border-radius: 999px;
  background: rgba(8, 12, 28, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 10px 28px rgba(0, 0, 0, 0.36);
}

.pfl-view-tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 34px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--t2, rgba(255, 255, 255, 0.72));
  text-decoration: none;
  transition: all 0.18s ease;
  white-space: nowrap;
}

.pfl-view-tab:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.pfl-view-tab.active,
.pfl-view-tab[aria-current="page"] {
  background: var(--btn, linear-gradient(180deg, #60a5fa 0%, #2563eb 100%)) !important;
  color: var(--btn-text, #ffffff) !important;
  font-weight: 700 !important;
  border-color: rgba(255, 255, 255, 0.26) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 0 20px var(--glow, rgba(37, 99, 235, 0.52)) !important;
}

.pfl-tracked-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #34d399;
  box-shadow: 0 0 10px rgba(52, 211, 153, 0.85);
  flex-shrink: 0;
}

body[data-page="statistics"] .hero,
body[data-page="methodology"] .hero {
  padding: 40px 0 24px !important;
  text-align: center !important;
  position: relative;
  z-index: 4;
}

body[data-page="statistics"] .hero .eyebrow,
body[data-page="methodology"] .hero .eyebrow {
  display: inline-flex !important;
  width: fit-content !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  padding: 7px 16px !important;
  border-radius: 999px !important;
}

body[data-page="statistics"] .hero h1,
body[data-page="methodology"] .hero h1 {
  font-size: clamp(30px, 4.2vw, 48px) !important;
  font-weight: 800 !important;
  letter-spacing: -0.03em !important;
  color: #ffffff !important;
  margin: 14px auto 0 !important;
  max-width: 980px !important;
  line-height: 1.14 !important;
}

body[data-page="statistics"] .hero h1 .mk,
body[data-page="methodology"] .hero h1 .mk {
  background: linear-gradient(135deg, var(--mk-light, #60a5fa) 0%, var(--accent, var(--bl, #3b82f6)) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

body[data-page="statistics"] .hero p.sub,
body[data-page="methodology"] .hero p.sub {
  max-width: 720px !important;
  margin: 14px auto 0 !important;
  color: rgba(255, 255, 255, 0.72) !important;
  font-size: 15px !important;
  line-height: 1.58 !important;
}

/* Match Home Page Exact Content Width (--W: 1240px) */
body[data-page="statistics"] main.pfl-lg-main,
body[data-page="methodology"] main.pfl-lg-main {
  width: calc(100% - 48px) !important;
  max-width: var(--W, 1240px) !important;
  margin: 0 auto !important;
  padding: 0 0 84px !important;
  position: relative;
  z-index: 3;
  box-sizing: border-box !important;
}

/* Ambient Hero Orb Accent */
.pfl-lg-ambient-orb {
  position: relative;
}
.pfl-lg-ambient-orb::before {
  content: "";
  position: absolute;
  top: -70px;
  left: 50%;
  transform: translateX(-50%);
  width: min(980px, 100%);
  height: 360px;
  background: radial-gradient(ellipse at center, var(--glow2, rgba(59, 130, 246, 0.22)) 0%, transparent 68%);
  pointer-events: none;
  z-index: -1;
}

/* Liquid Glass Section Spacing */
.pfl-lg-section {
  padding: 22px 0 0 !important;
}

/* Signature Multi-Layer Liquid Glass Card */
.pfl-lg-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 22px;
  padding: 24px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.085) 0%, rgba(255, 255, 255, 0.025) 38%, rgba(8, 12, 28, 0.72) 100%),
    rgba(9, 14, 34, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-top-color: rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(24px) saturate(185%);
  -webkit-backdrop-filter: blur(24px) saturate(185%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -1px 0 rgba(255, 255, 255, 0.04),
    0 20px 50px rgba(0, 0, 0, 0.44);
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
  overflow: hidden;
}

.pfl-lg-card:hover {
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 24px 56px rgba(0, 0, 0, 0.52),
    0 0 28px var(--glow2, rgba(59, 130, 246, 0.14));
}

.pfl-lg-card.is-accent {
  border-color: var(--theme-border, rgba(59, 130, 246, 0.42));
  background:
    radial-gradient(circle at 92% 8%, var(--glow2, rgba(59, 130, 246, 0.22)) 0%, transparent 56%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.1) 0%, rgba(12, 18, 42, 0.72) 55%, rgba(7, 11, 26, 0.84) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 20px 52px rgba(0, 0, 0, 0.48),
    0 0 34px var(--glow2, rgba(59, 130, 246, 0.2));
}

.pfl-lg-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 18px;
  flex-shrink: 0;
}

.pfl-lg-grid-2 .pfl-lg-card-head,
.pfl-lg-grid-split .pfl-lg-card-head,
.pfl-lg-grid-split-even .pfl-lg-card-head {
  min-height: 52px;
}

.pfl-lg-card-title {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.pfl-lg-card-sub {
  margin: 0;
  font-size: 13px;
  color: var(--t2, rgba(255, 255, 255, 0.66));
  line-height: 1.5;
}

/* Home-width Notice Strip */
.pfl-lg-notice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin: 22px auto 0;
  max-width: 980px;
  padding: 11px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
  font-size: 13px;
  color: #e2e8f0;
}

.pfl-lg-notice-left {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-align: left;
}

.pfl-lg-notice-link {
  color: var(--mk-light, #60a5fa);
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
}

.pfl-lg-notice-link:hover {
  text-decoration: underline;
}

/* Bento Grids */
.pfl-lg-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.pfl-lg-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.pfl-lg-grid-split {
  display: grid;
  grid-template-columns: minmax(0, 1.24fr) minmax(0, 0.76fr);
  gap: 18px;
}

.pfl-lg-grid-split-even {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: 18px;
}

/* KPI Tile Content */
.pfl-lg-kpi {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 152px;
}

.pfl-lg-kpi-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.pfl-lg-kpi-label {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--t2, rgba(255, 255, 255, 0.66));
}

.pfl-lg-kpi-val {
  font-size: clamp(26px, 2.3vw, 34px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
  margin: 10px 0 8px;
}

.pfl-lg-kpi-foot {
  font-size: 12.5px;
  color: var(--t2, rgba(255, 255, 255, 0.68));
  line-height: 1.45;
  font-variant-numeric: tabular-nums;
}

.pfl-lg-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.pfl-lg-badge.up {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.34);
}

.pfl-lg-badge.down {
  background: rgba(239, 68, 68, 0.14);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.32);
}

.pfl-lg-badge.neutral {
  background: rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.pfl-lg-badge.accent {
  background: rgba(59, 130, 246, 0.16);
  color: var(--mk-light, #60a5fa);
  border: 1px solid var(--theme-border, rgba(59, 130, 246, 0.38));
}

/* Tabs & Pill Groups inside Cards */
.pfl-lg-pills {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.pfl-lg-pill-btn {
  border: none;
  background: transparent;
  color: var(--t2, rgba(255, 255, 255, 0.66));
  font-size: 12px;
  font-weight: 600;
  padding: 6px 13px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
}

.pfl-lg-pill-btn:hover {
  color: #ffffff;
}

.pfl-lg-pill-btn.active {
  background: var(--btn, linear-gradient(180deg, #60a5fa 0%, #2563eb 100%));
  color: var(--btn-text, #ffffff);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.38), 0 0 14px var(--glow, rgba(37, 99, 235, 0.45));
}

/* Interactive Chart Well */
.pfl-lg-chart-well {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  border-radius: 16px;
  padding: 16px 14px 12px;
  background: rgba(4, 8, 22, 0.56);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.35);
}

.pfl-lg-chart-svg {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
}

.pfl-lg-chart-legend {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: auto;
  padding-top: 12px;
  font-size: 12px;
  color: var(--t2, rgba(255, 255, 255, 0.66));
}

.pfl-lg-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.pfl-lg-legend-swatch {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  display: inline-block;
}

.pfl-lg-tooltip {
  position: fixed;
  z-index: 9999;
  pointer-events: none;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(7, 11, 26, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.58), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-size: 12px;
  line-height: 1.5;
  display: none;
  min-width: 170px;
}

/* Progress Share Bars & Lists */
#ps-firm-share-list {
  flex: 1;
  justify-content: space-between;
}

.pfl-lg-bar-list {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.pfl-lg-bar-row {
  display: grid;
  grid-template-columns: minmax(140px, 1.2fr) minmax(110px, 1.8fr) auto;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}

.pfl-lg-bar-track {
  height: 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.pfl-lg-bar-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent, var(--bl, #3b82f6)) 0%, var(--mk-light, #60a5fa) 100%);
  box-shadow: 0 0 12px var(--glow2, rgba(59, 130, 246, 0.35));
}

.pfl-lg-bar-val {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: #ffffff;
  text-align: right;
  white-space: nowrap;
  font-size: 12.5px;
}

/* Firm Badges Inside Analytics Lists */
.pfl-lg-firm-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
  min-width: 0;
}

.pfl-lg-firm-link:hover {
  color: var(--mk-light, #60a5fa);
}

.pfl-lg-firm-logo {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.07);
  flex-shrink: 0;
}

.pfl-lg-firm-mono {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  flex-shrink: 0;
}

.pfl-lg-mini-stat-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: auto;
  padding-top: 16px;
}

.pfl-lg-mini-well {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.pfl-lg-mini-well-lbl {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--t2, rgba(255, 255, 255, 0.66));
  font-weight: 600;
}

.pfl-lg-mini-well-val {
  font-size: 19px;
  font-weight: 800;
  color: #ffffff;
  margin-top: 3px;
  font-variant-numeric: tabular-nums;
}

/* Liquid Glass Data Tables */
.pfl-lg-table-wrap {
  width: 100%;
  flex: 1;
  overflow-x: auto;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(4, 8, 22, 0.5);
}

.pfl-lg-table-wrap.is-expanded {
  max-height: 540px;
  overflow-y: auto;
}

.pfl-lg-table-wrap.is-expanded thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  backdrop-filter: blur(12px);
}

.pfl-lg-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.pfl-lg-table th {
  text-align: left;
  padding: 11px 14px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--t2, rgba(255, 255, 255, 0.66));
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  white-space: nowrap;
}

.pfl-lg-table td {
  padding: 11px 14px;
  color: #e2e8f0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  white-space: nowrap;
}

.pfl-lg-table tbody tr:last-child td {
  border-bottom: none;
}

.pfl-lg-table tbody tr:hover td {
  background: rgba(255, 255, 255, 0.04);
}

.pfl-lg-table th.num,
.pfl-lg-table td.num {
  text-align: right;
}

/* Top Record Items */
.pfl-lg-record-list {
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
  gap: 8px;
}

.pfl-lg-record-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 13px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.pfl-lg-record-item:hover {
  background: rgba(255, 255, 255, 0.075);
  border-color: var(--theme-border, rgba(255, 255, 255, 0.22));
  transform: translateY(-1px);
}

.pfl-lg-rank-chip {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  flex-shrink: 0;
}

.pfl-lg-rank-chip.top1 {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.28), rgba(245, 158, 11, 0.14));
  border-color: rgba(251, 191, 36, 0.5);
  color: #fde68a;
}

.pfl-lg-rank-chip.top2 {
  background: rgba(226, 232, 240, 0.18);
  border-color: rgba(226, 232, 240, 0.42);
  color: #f8fafc;
}

.pfl-lg-rank-chip.top3 {
  background: rgba(217, 119, 6, 0.2);
  border-color: rgba(217, 119, 6, 0.42);
  color: #fdba74;
}

/* Citation & Export Box */
.pfl-lg-cite-box {
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(4, 8, 22, 0.56);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  font-size: 13px;
  line-height: 1.65;
  margin-bottom: 14px;
}

.pfl-lg-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

/* Methodology Pipeline & Network Glass Grids */
.pfl-lg-pipeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.pfl-lg-step-orb {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  background: var(--btn, linear-gradient(180deg, #60a5fa 0%, #2563eb 100%));
  color: var(--btn-text, #ffffff);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 0 16px var(--glow, rgba(59, 130, 246, 0.4));
  margin-bottom: 14px;
}

.pfl-lg-step-title {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
}

.pfl-lg-step-desc {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--t2, rgba(255, 255, 255, 0.7));
}

.pfl-lg-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
  gap: 11px;
}

.pfl-lg-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 11px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 13.5px;
  line-height: 1.55;
  color: #cbd5e1;
}

.pfl-lg-check-ic {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 1px;
}

.pfl-lg-check-ic.yes {
  background: rgba(16, 185, 129, 0.16);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.36);
}

.pfl-lg-check-ic.no {
  background: rgba(239, 68, 68, 0.14);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.34);
}

.pfl-lg-networks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  flex: 1;
  align-content: stretch;
  gap: 10px;
}

.pfl-lg-net-tile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.pfl-lg-net-name {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
}

.pfl-lg-net-meta {
  font-size: 11.5px;
  color: var(--t2, rgba(255, 255, 255, 0.65));
}

.pfl-lg-formula-well {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid var(--theme-border, rgba(59, 130, 246, 0.36));
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 13px;
  font-weight: 600;
  color: #e0f2fe;
}

.pfl-lg-formula-well.is-exclusion {
  background: rgba(239, 68, 68, 0.085);
  border-color: rgba(239, 68, 68, 0.32);
  color: #fecaca;
}

.pfl-lg-glossary-list {
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
  gap: 10px;
}

.pfl-lg-glossary-item {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.pfl-lg-glossary-item strong {
  display: block;
  font-size: 13.5px;
  color: #ffffff;
  margin-bottom: 3px;
}

.pfl-lg-glossary-item span {
  font-size: 12.5px;
  color: var(--t2, rgba(255, 255, 255, 0.68));
  line-height: 1.5;
}

/* Footer Liquid Glass Parity on Statistics & Methodology */
body[data-page="statistics"] footer,
body[data-page="methodology"] footer {
  position: relative;
  z-index: 10;
  background: rgba(5, 8, 20, 0.78) !important;
  backdrop-filter: blur(20px) saturate(160%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(160%) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
  margin-top: 0 !important;
  padding: 48px 0 36px !important;
}

body[data-page="statistics"] footer .fg b,
body[data-page="methodology"] footer .fg b {
  color: #ffffff !important;
  font-weight: 700 !important;
}

body[data-page="statistics"] footer .fg a:hover,
body[data-page="methodology"] footer .fg a:hover {
  color: var(--mk-light, var(--accent, #60a5fa)) !important;
}

body[data-page="statistics"] .faq-item,
body[data-page="methodology"] .faq-item {
  background: rgba(8, 12, 28, 0.64) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  backdrop-filter: blur(22px) saturate(175%) !important;
  -webkit-backdrop-filter: blur(22px) saturate(175%) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.14) !important;
}

body[data-page="statistics"] .faq-item.open,
body[data-page="methodology"] .faq-item.open {
  background: rgba(12, 18, 40, 0.78) !important;
  border-color: var(--theme-border, rgba(59, 130, 246, 0.42)) !important;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.55), 0 0 24px var(--glow2, rgba(59, 130, 246, 0.22)), inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
}

@media (max-width: 1120px) {
  .pfl-controls-bar .pf-capsule-btn {
    padding: 0 11px;
    font-size: 12.5px;
  }
  .pfl-lg-grid-4,
  .pfl-lg-pipeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .pfl-lg-grid-split,
  .pfl-lg-grid-split-even,
  .pfl-lg-grid-2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 960px) {
  .pfl-controls-bar {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  .pfl-controls-bar .pf-capsule-bar {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  body[data-page="statistics"] main.pfl-lg-main,
  body[data-page="methodology"] main.pfl-lg-main {
    width: calc(100% - 28px) !important;
    padding-bottom: 64px !important;
  }
  .pfl-lg-grid-4,
  .pfl-lg-pipeline,
  .pfl-lg-networks,
  .pfl-lg-mini-stat-row {
    grid-template-columns: 1fr;
  }
  .pfl-lg-card {
    padding: 18px 16px;
    border-radius: 18px;
  }
  .pfl-lg-bar-row {
    grid-template-columns: minmax(110px, 1fr) minmax(80px, 1fr) auto;
    gap: 8px;
    font-size: 12px;
  }
  .pfl-lg-notice {
    border-radius: 16px;
    padding: 12px 14px;
  }
  .pfl-lg-grid-2 .pfl-lg-card-head,
  .pfl-lg-grid-split .pfl-lg-card-head,
  .pfl-lg-grid-split-even .pfl-lg-card-head {
    min-height: 0;
  }
  .pfl-controls-bar .pf-capsule-bar {
    border-radius: 18px;
    padding: 6px;
  }
  .pfl-controls-bar .pf-capsule-group {
    flex-wrap: wrap;
    justify-content: center;
  }
  .pfl-controls-bar .pf-capsule-btn {
    height: 30px;
    padding: 0 10px;
    font-size: 12px;
  }
  .pfl-view-tab {
    height: 32px;
    padding: 0 12px;
    font-size: 12.5px;
  }
}

/* ==========================================================================
   Payout Times Calendar Heatmap & Timezone Selector (Single Firm View)
   ========================================================================== */
.pfl-pt-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pfl-pt-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 14px;
}

.pfl-pt-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
  flex-wrap: wrap;
}

.pfl-pt-title {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.pfl-pt-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 999px;
}

.pfl-pt-subtitle {
  font-size: 14px;
  color: #94a3b8;
}

.pfl-pt-tz-wrap {
  position: relative;
  z-index: 45;
  display: inline-flex;
  max-width: 100%;
}

.pfl-pt-tz-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  max-width: 100%;
  min-width: 0;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(180deg, rgba(22, 30, 62, 0.72) 0%, rgba(10, 15, 34, 0.85) 100%);
  backdrop-filter: blur(18px) saturate(170%);
  -webkit-backdrop-filter: blur(18px) saturate(170%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 8px 24px rgba(0, 0, 0, 0.35);
  color: #ffffff;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.pfl-pt-tz-btn:hover {
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

.pfl-pt-tz-btn[aria-expanded="true"] {
  border-color: var(--pt-accent, #10b981);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 0 0 2px var(--pt-accent-soft, rgba(16, 185, 129, 0.24));
}

.pfl-pt-tz-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pfl-pt-tz-now {
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  color: #cbd5e1;
  font-weight: 500;
  white-space: nowrap;
}

.pfl-pt-tz-chev {
  color: #94a3b8;
  flex: none;
  transition: transform 0.18s ease;
}

.pfl-pt-tz-btn[aria-expanded="true"] .pfl-pt-tz-chev {
  transform: rotate(180deg);
}

.pfl-pt-tz-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 360px;
  max-width: calc(100vw - 32px);
  padding: 10px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(14, 21, 46, 0.96) 0%, rgba(8, 12, 28, 0.98) 100%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-top-color: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.72), inset 0 1px 0 rgba(255, 255, 255, 0.16);
  display: none;
  z-index: 60;
}

.pfl-pt-tz-menu.open {
  display: block;
}

.pfl-pt-tz-search {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.pfl-pt-tz-search:focus-within {
  border-color: var(--pt-accent, #10b981);
  background: rgba(255, 255, 255, 0.09);
}

.pfl-pt-tz-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  color: #ffffff;
  font: inherit;
  font-size: 13.5px;
}

.pfl-pt-tz-search input::placeholder {
  color: #64748b;
}

.pfl-pt-tz-count {
  font-size: 11.5px;
  color: #94a3b8;
  white-space: nowrap;
}

.pfl-pt-tz-list {
  max-height: 360px;
  overflow-y: auto;
  margin-top: 8px;
  padding-right: 2px;
}

.pfl-pt-tz-group {
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #64748b;
  padding: 10px 10px 4px;
}

.pfl-pt-tz-sep {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 6px 4px;
}

.pfl-pt-tz-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #e2e8f0;
  font: inherit;
  font-size: 13.5px;
  text-align: left;
  cursor: pointer;
  transition: background 0.12s ease, color 0.12s ease;
}

.pfl-pt-tz-item:hover,
.pfl-pt-tz-item.is-hi {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.pfl-pt-tz-item.is-active {
  background: var(--pt-accent-soft, rgba(16, 185, 129, 0.18));
  color: #ffffff;
  font-weight: 600;
}

.pfl-pt-tz-item-label {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pfl-pt-tz-item-time {
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  color: #94a3b8;
  white-space: nowrap;
}

.pfl-pt-tz-item-off {
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  padding: 2px 7px;
  white-space: nowrap;
}

.pfl-pt-tz-empty {
  padding: 18px 12px;
  text-align: center;
  font-size: 13px;
  color: #94a3b8;
}

.pfl-pt-card {
  position: relative;
  background: #191919;
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 26px 30px;
}

.pfl-pt-strip {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) repeat(3, minmax(0, 1fr));
  padding-bottom: 20px;
  margin-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.pfl-pt-stats-subrow {
  display: contents;
}

.pfl-pt-stat {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 24px;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.pfl-pt-stat:first-child,
.pfl-pt-stat-primary {
  padding-left: 0;
  border-left: 0;
}

.pfl-pt-stat-lbl {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 12px;
  color: #94a3b8;
}

.pfl-pt-key-swatch {
  width: 14px;
  height: 10px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 3px;
  flex: none;
}

.pfl-pt-back-btn {
  border: 0;
  background: none;
  padding: 0;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 500;
  color: var(--pt-accent-light, #60a5fa);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.pfl-pt-stat-val {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: #ffffff;
}

.pfl-pt-stat-sub {
  font-size: 12.5px;
  color: #94a3b8;
  min-height: 18px;
}

.pfl-pt-grid-scroll {
  position: relative;
}

.pfl-pt-grid {
  position: relative;
  display: grid;
  grid-template-columns: 44px repeat(24, minmax(0, 1fr));
  column-gap: 4px;
  row-gap: 7px;
  align-items: center;
}

.pfl-pt-hour-hdr {
  display: flex;
  justify-content: center;
  white-space: nowrap;
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10.5px;
  color: #94a3b8;
  user-select: none;
}

.pfl-pt-day-lbl {
  font-size: 12.5px;
  font-weight: 500;
  color: #cbd5e1;
  user-select: none;
}

.pfl-pt-cell {
  height: 33px;
  width: 100%;
  border-radius: 7px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 0;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
  position: relative;
  z-index: 1;
}

.pfl-pt-cell:hover {
  transform: translateY(-1px) scale(1.06);
  filter: brightness(1.15);
  z-index: 4;
}

.pfl-pt-cell.is-selected {
  box-shadow: inset 0 0 0 2px #ffffff, 0 0 14px var(--pt-accent-soft, rgba(16, 185, 129, 0.45));
  z-index: 5;
}

.pfl-pt-peak-box {
  position: absolute;
  inset: -2px;
  border: 2px solid rgba(255, 255, 255, 0.88);
  border-radius: 8px;
  pointer-events: none;
  z-index: 3;
  box-shadow: 0 0 14px rgba(0, 0, 0, 0.45);
}

.pfl-pt-grid-vertical {
  display: none;
  position: relative;
  grid-template-columns: 42px repeat(7, minmax(0, 1fr));
  grid-template-rows: 20px repeat(24, 13px);
  column-gap: 3px;
  row-gap: 3px;
  align-items: center;
}

.pfl-pt-vhour-lbl {
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9.5px;
  color: #94a3b8;
  text-align: right;
  padding-right: 5px;
}

.pfl-pt-vday-hdr {
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  color: #94a3b8;
  padding-bottom: 2px;
}

.pfl-pt-tooltip {
  position: absolute;
  pointer-events: none;
  display: none;
  z-index: 30;
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(8, 12, 28, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(14px);
  color: #ffffff;
  font-size: 12px;
  white-space: nowrap;
  transform: translate(-50%, calc(-100% - 10px));
}

.pfl-pt-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}

.pfl-pt-legend {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  color: #94a3b8;
}

.pfl-pt-legend-swatch {
  width: 14px;
  height: 10px;
  border-radius: 2.5px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.pfl-pt-zone-note {
  font-size: 11.5px;
  color: #94a3b8;
}

.pfl-candle-bar {
  border-radius: 4px 4px 0 0;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.pfl-chart-bar-col:hover .pfl-candle-bar {
  filter: brightness(1.25);
  transform: scaleY(1.02);
}

.pfl-topup-dot {
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.pfl-topup-dot:hover {
  transform: translate(-50%, -50%) scale(1.3) !important;
  box-shadow: 0 0 10px #60a5fa !important;
}

@media (max-width: 760px) {
  .pfl-pt-card {
    padding: 14px 12px;
    border-radius: 18px;
  }
  .pfl-pt-tz-menu {
    left: 0;
    right: auto;
    width: calc(100vw - 44px);
  }
  .pfl-pt-strip {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-bottom: 10px;
    margin-bottom: 10px;
  }
  .pfl-pt-stat {
    padding: 0;
    border-left: 0;
  }
  .pfl-pt-stat-primary {
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }
  .pfl-pt-stat-primary .pfl-pt-stat-val {
    font-size: 16px;
  }
  .pfl-pt-stats-subrow {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }
  .pfl-pt-stats-subrow .pfl-pt-stat-val {
    font-size: 14px;
  }
  .pfl-pt-stats-subrow .pfl-pt-stat-sub {
    font-size: 11px;
    min-height: 14px;
  }
  .pfl-pt-grid {
    display: none;
  }
  .pfl-pt-grid-vertical {
    display: grid;
    grid-template-columns: 38px repeat(7, minmax(0, 1fr));
    grid-template-rows: 18px repeat(24, 12px);
    column-gap: 2.5px;
    row-gap: 2px;
    padding: 2px 0 4px;
  }
  .pfl-pt-grid-vertical .pfl-pt-cell {
    height: 12px;
    border-radius: 3px;
    border: none;
  }
  .pfl-pt-grid-vertical .pfl-pt-vhour-lbl {
    font-size: 9px;
    padding-right: 4px;
  }
  .pfl-pt-grid-vertical .pfl-pt-vday-hdr {
    font-size: 10.5px;
    padding-bottom: 2px;
  }
  .pfl-pt-footer {
    margin-top: 10px;
    gap: 8px;
  }
  #pfl-chart-container {
    height: 300px !important;
    padding: 18px 10px 10px !important;
    gap: 6px !important;
  }
  #pfl-chart-container > div:first-child {
    width: 36px !important;
    padding-right: 3px !important;
  }
  #pfl-chart-container > div:first-child span {
    font-size: 9px !important;
  }
  #pfl-chart-header {
    padding: 12px 14px !important;
    gap: 10px !important;
  }
}

/* ==========================================================================
   Unified Size & Enhanced Liquid Glass: Home Top-Rated & Offers Spotlights
   ========================================================================== */
.mk3,
.coupon-spotlight-grid {
  width: 100% !important;
  max-width: 100% !important;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 16px !important;
}

.coupon-spotlight-grid {
  margin: 0 0 28px 0 !important;
}

@media (max-width: 1024px) {
  .hero .mk3,
  .mk3,
  .coupon-spotlight-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

.hero-top-card,
.coupon-spotlight-card {
  position: relative;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  min-height: 292px !important;
  padding: 20px 18px 18px !important;
  border-radius: 22px !important;
  overflow: visible !important;
  background:
    linear-gradient(
      158deg,
      rgba(255, 255, 255, 0.11) 0%,
      rgba(255, 255, 255, 0.045) 36%,
      rgba(12, 18, 40, 0.42) 72%,
      rgba(7, 11, 26, 0.56) 100%
    ) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  border-top-color: rgba(255, 255, 255, 0.34) !important;
  border-left-color: rgba(255, 255, 255, 0.22) !important;
  backdrop-filter: blur(28px) saturate(200%) brightness(1.06) !important;
  -webkit-backdrop-filter: blur(28px) saturate(200%) brightness(1.06) !important;
  box-shadow:
    0 18px 46px rgba(0, 0, 0, 0.48),
    inset 0 1.5px 0 rgba(255, 255, 255, 0.32),
    inset 0 -1px 0 rgba(255, 255, 255, 0.06),
    inset 1px 0 0 rgba(255, 255, 255, 0.12) !important;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease !important;
}

.hero-top-card::before,
.coupon-spotlight-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(120% 70% at 15% 0%, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.03) 42%, transparent 72%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, transparent 45%, rgba(255, 255, 255, 0.03) 100%);
}

.hero-top-card > *,
.coupon-spotlight-card > * {
  position: relative;
  z-index: 1;
}

.hero-top-card .your-market-pill {
  position: absolute !important;
  z-index: 3 !important;
  top: -12px !important;
  padding: 3px 12px !important;
  box-shadow: 0 4px 16px var(--glow), inset 0 1px 0 rgba(255, 255, 255, 0.45) !important;
}

.hero-top-card:hover,
.coupon-spotlight-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.28) !important;
  border-top-color: rgba(255, 255, 255, 0.46) !important;
  box-shadow:
    0 24px 54px rgba(0, 0, 0, 0.56),
    inset 0 1.5px 0 rgba(255, 255, 255, 0.42),
    inset 0 -1px 0 rgba(255, 255, 255, 0.08),
    inset 1px 0 0 rgba(255, 255, 255, 0.16) !important;
}

.hero-top-card.active-market-card,
.coupon-spotlight-card.active-spotlight {
  border-color: var(--mk-light, var(--accent)) !important;
  box-shadow:
    0 20px 52px rgba(0, 0, 0, 0.52),
    0 0 32px var(--glow2),
    inset 0 1.5px 0 rgba(255, 255, 255, 0.44),
    inset 0 0 28px rgba(255, 255, 255, 0.04) !important;
}

.hero-top-card.active-market-card::before,
.coupon-spotlight-card.active-spotlight::before {
  background:
    radial-gradient(110% 65% at 50% 0%, var(--glow2) 0%, rgba(255, 255, 255, 0.06) 45%, transparent 78%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.10) 0%, transparent 50%, rgba(255, 255, 255, 0.03) 100%);
}

.hero-top-card h2,
.spotlight-card-header {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  letter-spacing: -0.01em;
  color: #fff !important;
  margin: 0 0 14px 0 !important;
  min-height: 22px;
}

.hero-top-list,
.spotlight-items-list {
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  gap: 10px !important;
  flex: 1 !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
}

.hero-top-item,
.spotlight-item {
  position: relative;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  min-height: 66px !important;
  padding: 10px 14px !important;
  border-radius: 15px !important;
  width: 100% !important;
  box-sizing: border-box !important;
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.075) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.11);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 6px 16px rgba(0, 0, 0, 0.24);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease !important;
}

.hero-top-item.rank-1-item,
.spotlight-item.rank-1 {
  background: linear-gradient(110deg, rgba(245, 196, 81, 0.17) 0%, rgba(245, 196, 81, 0.05) 45%, rgba(255, 255, 255, 0.025) 100%) !important;
  border-color: rgba(245, 196, 81, 0.42) !important;
  box-shadow: inset 0 1px 0 rgba(255, 236, 179, 0.34), 0 6px 18px rgba(0, 0, 0, 0.26) !important;
}

.hero-top-item.rank-2-item,
.spotlight-item.rank-2 {
  background: linear-gradient(110deg, rgba(203, 213, 225, 0.13) 0%, rgba(203, 213, 225, 0.04) 45%, rgba(255, 255, 255, 0.02) 100%) !important;
  border-color: rgba(203, 213, 225, 0.30) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.26), 0 6px 16px rgba(0, 0, 0, 0.24) !important;
}

.hero-top-item.rank-3-item,
.spotlight-item.rank-3 {
  background: linear-gradient(110deg, rgba(232, 146, 88, 0.14) 0%, rgba(232, 146, 88, 0.04) 45%, rgba(255, 255, 255, 0.02) 100%) !important;
  border-color: rgba(232, 146, 88, 0.34) !important;
  box-shadow: inset 0 1px 0 rgba(255, 214, 184, 0.26), 0 6px 16px rgba(0, 0, 0, 0.24) !important;
}

.hero-top-item:hover,
.spotlight-item:hover {
  filter: none !important;
  transform: translateY(-1px) !important;
  border-color: rgba(255, 255, 255, 0.34) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.36),
    0 10px 24px rgba(0, 0, 0, 0.36) !important;
}

.hero-top-item .lg.sm,
.spotlight-logo-wrap {
  width: 40px !important;
  height: 40px !important;
  border-radius: 11px !important;
  background: rgba(15, 20, 36, 0.85) !important;
  flex-shrink: 0 !important;
}

.hero-firm-title,
.spotlight-firm-name {
  font-size: 13.5px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  letter-spacing: -0.01em;
}

.hero-top-discount,
.hero-top-item .hero-top-discount,
.spotlight-discount-txt {
  font-size: 13px !important;
  font-weight: 700 !important;
  color: var(--mk-light, var(--accent)) !important;
}

.hero-top-item .dashed-coupon,
.spotlight-copy-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  height: 30px !important;
  padding: 0 10px !important;
  border-radius: 9px !important;
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px dashed rgba(255, 255, 255, 0.24) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16) !important;
  color: #ffffff !important;
  font-size: 11px !important;
  font-weight: 700 !important;
}

.hero-top-item .dashed-coupon:hover,
.spotlight-copy-btn:hover {
  background: rgba(255, 255, 255, 0.13) !important;
  border-style: solid !important;
  border-color: var(--mk-light, var(--accent)) !important;
  color: var(--mk-light, var(--accent)) !important;
}

.spotlight-rank-medal {
  width: 22px !important;
  height: 22px !important;
}

.spotlight-rank-medal svg {
  width: 22px;
  height: 22px;
}

.spotlight-rank-num {
  top: 4.5px !important;
  font-size: 7px !important;
}

/* Harmonized Liquid Glass Shell for Exclusive Offers & Hero Stat Pills */
.hero > .g {
  position: relative;
  border-radius: 22px !important;
  background:
    linear-gradient(
      160deg,
      rgba(255, 255, 255, 0.095) 0%,
      rgba(255, 255, 255, 0.035) 38%,
      rgba(10, 15, 34, 0.45) 100%
    ) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-top-color: rgba(255, 255, 255, 0.30) !important;
  backdrop-filter: blur(28px) saturate(195%) !important;
  -webkit-backdrop-filter: blur(28px) saturate(195%) !important;
  box-shadow:
    0 20px 48px rgba(0, 0, 0, 0.46),
    inset 0 1.5px 0 rgba(255, 255, 255, 0.28),
    inset 0 -1px 0 rgba(255, 255, 255, 0.05) !important;
}

.exclusive-offer-card {
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.085) 0%, rgba(255, 255, 255, 0.025) 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.13) !important;
  border-top-color: rgba(255, 255, 255, 0.26) !important;
  backdrop-filter: blur(18px) saturate(175%) !important;
  -webkit-backdrop-filter: blur(18px) saturate(175%) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 10px 26px rgba(0, 0, 0, 0.32) !important;
}

.exclusive-offer-card:hover {
  border-color: var(--mk-light, var(--accent)) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.34), 0 12px 30px rgba(0, 0, 0, 0.42), 0 0 22px var(--glow2) !important;
}

/* ==========================================================================
   All Prop Firm Logos: Full-Fit Cover, Zero Padding, Zero Border
   ========================================================================== */
.lg,
.firm-logo-badge,
.spotlight-logo-wrap,
.spotlight-item.rank-1 .spotlight-logo-wrap,
.spotlight-item.rank-2 .spotlight-logo-wrap,
.spotlight-item.rank-3 .spotlight-logo-wrap,
.coupon-firm-logo,
.coupon-logo-wrap,
.rev-firm-logo-wrap,
.rc-firm-logo-wrap,
.rc-home-logo-wrap,
.firm-hero-logo-box,
.firm-header-logo,
.profile-card-logo,
.offer-firm-logo,
.prop-card-logo,
.compare-firm-logo,
.pj-firm-avatar,
.pj-firm-avatar-wrap,
.pj-table-row.rank-1-card .pj-firm-avatar-wrap,
.pj-table-row.rank-2-card .pj-firm-avatar-wrap,
.pj-table-row.rank-3-card .pj-firm-avatar-wrap,
.pj-single-logo,
.pj-detail-logo,
.pfl-firm-logo-wrap,
.pf-firm-logo-wrap {
  border: 0 !important;
  outline: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  background: transparent !important;
  overflow: hidden !important;
}

.lg img,
.firm-logo-badge img,
.spotlight-logo-wrap img,
.coupon-firm-logo img,
.coupon-logo-wrap img,
.rev-firm-logo-wrap img,
.rc-firm-logo-wrap img,
.rc-home-logo-wrap img,
.firm-hero-logo,
.firm-hero-logo-box img,
.firm-header-logo img,
.profile-card-logo img,
.offer-firm-logo img,
.prop-card-logo img,
.compare-firm-logo img,
.pj-firm-avatar img,
.pj-firm-avatar-wrap img,
.pj-single-logo img,
.pj-detail-logo img,
.pfl-firm-logo-wrap img,
.pf-firm-logo-wrap img,
.hero-top-logo-link img,
.exclusive-offer-logo-link img,
.fm img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
  border-radius: inherit !important;
  display: block !important;
  box-sizing: border-box !important;
}

.rc-firm-logo,
.compare-chip-logo,
.sidebar-firm-logo,
.p-firm-logo,
.quick-matchup-logo,
.pfl-lg-firm-logo {
  object-fit: cover !important;
  object-position: center !important;
  padding: 0 !important;
  border: 0 !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
}

.sidebar-firm-logo {
  width: 44px !important;
  height: 44px !important;
  max-width: 44px !important;
  max-height: 44px !important;
  border-radius: 10px !important;
  flex-shrink: 0 !important;
}

/* ==========================================================================
   GLOBAL CROSS-DEVICE RESPONSIVENESS (Desktop, Tablet <= 1024px, Mobile <= 820px / <= 580px)
   ========================================================================== */
body.signin-body {
  padding-top: 0 !important;
}

.mobile-menu-toggle {
  display: none;
}

@media (max-width: 1100px) {
  .hero .exclusive-offers-grid,
  .exclusive-offers-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 1024px) {
  html,
  body {
    max-width: 100%;
  }

  .wrap {
    width: calc(100% - 32px);
    max-width: 100%;
  }

  .wrap.top {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
  }

  /* Prevent wide header elements from colliding at 821px-1024px */
  .bar {
    gap: 12px;
    padding: 10px 18px;
  }

  .logo {
    font-size: 15.5px;
    gap: 8px;
  }

  .mid {
    flex: 1;
    min-width: 0;
    gap: 10px;
    justify-content: center;
  }

  .srch {
    width: 170px;
    min-width: 110px;
    max-width: 240px;
    flex: 1 1 130px;
    padding: 0 12px;
    font-size: 12.5px;
  }

  .srch:focus {
    width: 210px;
  }

  .sw {
    flex-shrink: 0;
  }

  .sw button {
    padding: 6px 10px;
    font-size: 12.5px;
  }

  nav {
    justify-content: flex-start;
    padding: 8px 18px 10px;
    gap: 8px;
    max-width: 100%;
    box-sizing: border-box;
  }

  .hero .mk3,
  .mk3,
  .coupon-spotlight-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .hero-top-card,
  .coupon-spotlight-card {
    min-height: auto !important;
    min-width: 0;
    max-width: 100%;
  }
}

@media (max-width: 820px) {
  body:not(.signin-body):not(:has(.portal-navbar)) {
    padding-top: 92px !important;
  }

  html,
  body {
    max-width: 100vw !important;
    overflow-x: hidden !important;
  }

  .top,
  .wrap.top {
    top: 8px !important;
    padding: 0 10px !important;
    display: flex !important;
    justify-content: center !important;
  }

  .top header,
  header.g {
    border-radius: 18px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .bar {
    border-radius: 18px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .bar {
    display: grid !important;
    grid-template-columns: 1fr auto auto !important;
    grid-template-rows: auto auto !important;
    align-items: center !important;
    gap: 8px 10px !important;
    padding: 8px 14px 6px !important;
    height: auto !important;
    min-height: 52px !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }

  .logo {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
    overflow: hidden;
    font-size: 14.5px !important;
    gap: 6px !important;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .logo img {
    width: 26px !important;
    height: 26px !important;
    flex-shrink: 0;
  }

  .acts {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    max-width: 100%;
  }

  .acts .btn,
  .acts a.btn {
    padding: 6px 11px !important;
    font-size: 12px !important;
    height: auto !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
  }

  .mobile-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    width: 32px !important;
    height: 32px !important;
    padding: 0;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.07);
    color: #fff;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  }

  /* Navigation spans full width on row 2 of mobile header grid - min-width: 0 prevents grid blowout */
  .bar nav,
  header.g nav {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .mobile-menu-lines {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 17px;
    height: 12px;
  }

  .mobile-menu-lines span {
    display: block;
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform 0.2s ease, opacity 0.16s ease;
  }

  header.g.mobile-nav-open {
    background: rgba(9, 14, 28, 0.96);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7);
    max-height: 100vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  header.g.mobile-nav-open .mobile-menu-toggle {
    border-color: rgba(52, 211, 153, 0.5) !important;
    background: rgba(16, 185, 129, 0.2) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 2px 6px rgba(0, 0, 0, 0.25) !important;
  }

  header.g.mobile-nav-open .mobile-menu-lines span:nth-child(1) {
    transform: translateY(5px) rotate(45deg);
  }

  header.g.mobile-nav-open .mobile-menu-lines span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }

  header.g.mobile-nav-open .mobile-menu-lines span:nth-child(3) {
    transform: translateY(-5px) rotate(-45deg);
  }

  /* When 3-line menu is closed, keep header sleek, single-line liquid glass (no duplicate mobile navigation) */
  .top header,
  header.g {
    width: 100% !important;
    max-width: 100% !important;
  }

  .top header.g:not(.mobile-nav-open) .mid,
  header.g:not(.mobile-nav-open) .mid,
  .top header.g:not(.mobile-nav-open) nav,
  .top header.g:not(.mobile-nav-open) .bar nav,
  header.g:not(.mobile-nav-open) nav,
  header.g:not(.mobile-nav-open) .bar nav {
    display: none !important;
  }

  .top header.g:not(.mobile-nav-open) .bar,
  header.g:not(.mobile-nav-open) .bar {
    width: 100% !important;
    justify-content: space-between !important;
    padding: 8px 14px !important;
    gap: 0 10px !important;
    min-height: 52px !important;
  }

  /* When 3-line menu is open, show touch grid navigation */
  .top header.g.mobile-nav-open nav,
  .top header.g.mobile-nav-open .bar nav {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    padding: 12px 14px 16px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    width: 100% !important;
  }

  .top header.g.mobile-nav-open nav a,
  .top header.g.mobile-nav-open .bar nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 40px;
    padding: 8px 10px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.86);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-decoration: none;
    transition: all 0.18s ease;
  }

  .top header.g.mobile-nav-open nav a.on,
  .top header.g.mobile-nav-open nav a.active,
  .top header.g.mobile-nav-open .bar nav a.on,
  .top header.g.mobile-nav-open .bar nav a.active {
    background: linear-gradient(180deg, #34d399 0%, #059669 100%) !important;
    border-color: rgba(52, 211, 153, 0.5) !important;
    color: #ffffff !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 2px 6px rgba(0, 0, 0, 0.25) !important;
  }

  .user-header-group {
    gap: 8px;
  }

  .loyalty-points-pill {
    padding: 4px 8px;
    font-size: 11.5px;
    gap: 4px;
  }

  .loyalty-points-pill .pts-streak {
    display: none;
  }

  .user-dropdown-menu {
    right: 0;
    width: min(290px, calc(100vw - 24px));
  }
}

@media (max-width: 640px) {
  body:not(.signin-body):not(:has(.portal-navbar)) {
    padding-top: 88px !important;
  }

  .wrap {
    width: calc(100% - 24px);
  }

  .bar {
    padding: 9px 12px;
    gap: 8px;
  }

  .logo {
    font-size: 15px;
    gap: 7px;
  }

  .logo img,
  .brand-logo {
    width: 28px !important;
    height: 28px !important;
    border-radius: 0 !important;
  }

  .acts .btn.sm {
    padding: 6px 11px;
    font-size: 12px;
    white-space: nowrap;
  }

  .top header.g.mobile-nav-open .mid {
    padding-top: 10px;
    gap: 8px;
  }

  .top header.g.mobile-nav-open > nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    padding: 12px 12px 16px;
  }

  .top header.g.mobile-nav-open > nav a:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  /* Hero & Spotlight Cards */
  .hero {
    padding: 20px 0 24px !important;
  }

  h1 {
    font-size: clamp(24px, 7vw, 34px);
    margin-top: 12px;
  }

  .sub {
    font-size: 13.5px;
  }

  .hero > .g {
    padding: 16px 12px !important;
    border-radius: 18px !important;
  }

  .hero .exclusive-offers-grid,
  .exclusive-offers-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 10px !important;
  }

  .exclusive-offer-card {
    min-width: 0;
    max-width: 100%;
    padding: 14px !important;
  }

  .hero-top-card,
  .coupon-spotlight-card {
    padding: 16px 12px 14px !important;
    border-radius: 18px !important;
    min-height: auto !important;
  }

  .hero-top-item,
  .spotlight-item {
    gap: 8px !important;
    padding: 10px !important;
    min-height: 58px !important;
    min-width: 0;
    max-width: 100%;
  }

  .hero-top-item > div,
  .spotlight-item > div {
    min-width: 0;
  }

  .hero-top-item .lg.sm,
  .spotlight-logo-wrap {
    width: 34px !important;
    height: 34px !important;
    border-radius: 9px !important;
  }

  .hero-medal-badge {
    width: 20px;
    height: 20px;
    font-size: 10px;
  }

  .hero-firm-title,
  .spotlight-firm-name {
    font-size: 13px !important;
  }

  .spotlight-right-col {
    gap: 5px !important;
    flex-shrink: 0;
  }

  .hero-top-discount,
  .hero-top-item .hero-top-discount,
  .spotlight-discount-txt {
    font-size: 12px !important;
    white-space: nowrap;
  }

  .hero-top-item .dashed-coupon,
  .spotlight-copy-btn {
    height: 28px !important;
    padding: 0 7px !important;
    font-size: 10.5px !important;
    gap: 3px !important;
  }

  /* View Switcher & Notice Strip (Payout / Statistics / Methodology) */
  .pfl-view-switcher {
    width: 100%;
    max-width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
    padding: 4px;
    box-sizing: border-box;
  }

  .pfl-view-tab {
    justify-content: center;
    padding: 0 6px;
    height: 32px;
    font-size: 12px;
    gap: 4px;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .pfl-lg-notice,
  .pfl-lg-notice.is-inline {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    border-radius: 16px;
    padding: 10px 14px;
    font-size: 12.5px;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .pfl-lg-notice-left {
    display: flex;
    align-items: flex-start;
    min-width: 0;
    max-width: 100%;
  }

  .pfl-controls-bar .pf-capsule-bar {
    width: 100%;
    box-sizing: border-box;
  }

  /* Cookie Banner Mobile Fit (Zero Right Clipping & Compact Footprint) */
  .pfl-cookie-banner {
    padding: 14px 14px calc(14px + env(safe-area-inset-bottom, 0px));
    max-height: 76vh;
    overflow-y: auto;
    box-sizing: border-box;
  }

  .pfl-cookie-content {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .pfl-cookie-brand {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-width: 0;
    width: 100%;
  }

  .pfl-cookie-brand-logo {
    width: 26px;
    height: 26px;
  }

  .pfl-cookie-brand-name {
    font-size: 14px;
  }

  .pfl-cookie-shield {
    font-size: 10.5px;
    padding: 3px 8px;
  }

  .pfl-cookie-main {
    gap: 8px;
  }

  .pfl-cookie-heading {
    font-size: 14px;
  }

  .pfl-cookie-text {
    font-size: 12px;
    line-height: 1.45;
  }

  .pfl-cookie-toggles-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 10px;
  }

  .pfl-cookie-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .pfl-cookie-btn {
    width: 100%;
    padding: 9px 10px;
    font-size: 12.5px;
  }

  .pfl-cookie-btn.primary {
    grid-column: 1 / -1;
  }

  /* General Modal & Footer Safety */
  .modal-card {
    width: calc(100% - 24px);
    max-width: calc(100vw - 24px);
    padding: 22px 16px;
    box-sizing: border-box;
  }

  .fg {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 14px;
  }

  /* Page-Specific Polish: Firm Hero Actions, Blog Featured, Tools Header, Notify Dock */
  .hero-ratings-top-actions {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 8px;
  }

  .hero-leave-review-btn,
  .hero-buy-btn {
    padding: 8px 15px;
    font-size: 12.5px;
  }

  .firm-hero-card,
  .firm-hero-ratings-card {
    padding: 20px 16px !important;
  }

  .firm-stats-bar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 16px;
    align-items: start;
  }

  .firm-stats-bar .score-col {
    grid-column: 1 / -1;
  }

  .firm-stats-bar .stat-val {
    font-size: 13.5px;
    line-height: 1.3;
    white-space: normal;
    word-break: break-word;
  }

  .blog-featured {
    grid-template-columns: minmax(0, 1fr) !important;
    padding: 20px 16px !important;
    gap: 18px !important;
  }

  .psc-header {
    flex-wrap: wrap;
    gap: 8px;
  }

  .psc-tag {
    letter-spacing: 0.06em;
    font-size: 10.5px;
    white-space: nowrap;
  }

  .pfl-notify-dock {
    bottom: 12px;
    width: calc(100% - 20px);
  }

  .pfl-notify-card {
    border-radius: 18px;
    padding: 11px 13px;
    gap: 10px;
  }

  .pfl-notify-bell-wrap {
    width: 34px;
    height: 34px;
  }

  .pfl-notify-title {
    font-size: 12.5px;
  }

  .pfl-notify-sub {
    font-size: 11px;
    line-height: 1.35;
  }
}

@media (max-width: 860px) {
  .blog-featured {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

@media (max-width: 400px) {
  .hero-top-item,
  .spotlight-item {
    gap: 6px !important;
    padding: 9px 8px !important;
  }

  .hero-top-item .lg.sm,
  .spotlight-logo-wrap {
    width: 30px !important;
    height: 30px !important;
  }

  .fg {
    grid-template-columns: 1fr;
  }
}

/* Responsive Payout Chart & Heatmap Display: Desktop vs Mobile */
.pfl-chart-desktop {
  display: block;
}
.pfl-chart-mobile {
  display: none;
}
.pfl-pt-legend-desk {
  display: inline-flex !important;
}
.pfl-pt-legend-mob {
  display: none !important;
}

@media (max-width: 768px) {
  .pfl-chart-desktop {
    display: none !important;
  }
  .pfl-chart-mobile {
    display: block !important;
  }
  .pfl-pt-legend-desk {
    display: none !important;
  }
  .pfl-pt-legend-mob {
    display: inline-flex !important;
  }
}

/* ===================================================================
   LIVE ON-CHAIN PAYOUT POPUP NOTIFICATION TOAST (Disabled/Removed)
   =================================================================== */
#pfl-payout-toast-container,
.pfl-payout-toast-container,
.pfl-payout-toast {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
  opacity: 0 !important;
  height: 0 !important;
  width: 0 !important;
  overflow: hidden !important;
}
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(11, 15, 28, 0.94);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-left: 3px solid #10b981;
  box-shadow: 0 16px 36px -4px rgba(0, 0, 0, 0.65), 0 0 20px rgba(16, 185, 129, 0.18);
  border-radius: 14px;
  padding: 12px 18px 12px 14px;
  max-width: 440px;
  min-width: 290px;
  cursor: pointer;
  transform: translateY(24px) scale(0.95);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
  position: relative;
  overflow: hidden;
}

.pfl-payout-toast:hover {
  background: rgba(16, 22, 40, 0.98);
  border-color: rgba(16, 185, 129, 0.35);
  box-shadow: 0 20px 42px -4px rgba(0, 0, 0, 0.75), 0 0 26px rgba(16, 185, 129, 0.28);
}

.pfl-payout-toast.show {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.pfl-payout-toast.exit {
  transform: translateY(16px) scale(0.96);
  opacity: 0;
  pointer-events: none;
}

.pfl-payout-toast-logo-wrap {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.pfl-payout-toast-logo {
  width: 100%;
  height: 100%;
  max-width: 38px;
  max-height: 38px;
  object-fit: contain;
  display: block;
}

.pfl-payout-toast-logo-fallback {
  display: none;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  color: #10b981;
  background: rgba(16, 185, 129, 0.14);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.pfl-payout-toast-body {
  font-size: 13.5px;
  line-height: 1.45;
  color: #cbd5e1;
  font-family: inherit;
  padding-right: 14px;
}

.pfl-payout-toast-body .pfl-toast-amount {
  color: #10b981;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.pfl-payout-toast-body .pfl-toast-firm {
  color: #ffffff;
  font-weight: 700;
}

.pfl-toast-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #10b981;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 2px 7px;
  border-radius: 999px;
  margin-bottom: 4px;
  width: fit-content;
}

.pfl-toast-live-badge .pfl-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: pflPulseDot 1.5s infinite;
}

@keyframes pflPulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.7); }
}

.pfl-toast-sound-btn {
  position: absolute;
  top: 8px;
  right: 28px;
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 13px;
  cursor: pointer;
  padding: 2px 4px;
  border-radius: 4px;
  line-height: 1;
  transition: all 0.15s ease;
}

.pfl-toast-sound-btn:hover {
  color: #10b981;
  transform: scale(1.15);
}

.pfl-payout-toast-close {
  position: absolute;
  top: 8px;
  right: 8px;
  background: none;
  border: none;
  color: #64748b;
  font-size: 13px;
  cursor: pointer;
  padding: 2px 5px;
  border-radius: 4px;
  line-height: 1;
  transition: color 0.15s;
}

.pfl-payout-toast-close:hover {
  color: #f1f5f9;
}

@media (max-width: 640px) {
  .pfl-payout-toast-container {
    bottom: 16px;
    left: 12px;
    right: 12px;
  }
  .pfl-payout-toast {
    max-width: 100%;
    min-width: 0;
  }
}

/* ===================================================================
   MASTER MULTI-DEVICE RESPONSIVENESS (MOBILE, TABLET, LAPTOP, DESKTOP)
   Guarantees ZERO horizontal overflow (scrollWidth <= innerWidth),
   fluid cards, touch-scrollable tabs, and flawless typography.
   =================================================================== */

html, body {
  overflow-x: hidden !important;
  max-width: 100vw !important;
  width: 100% !important;
}

/* Universal Action Button Consistency (Matches main.js & SSR html) */
.pfl-action-btn,
.pfl-view-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--mk-light, #60a5fa);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--theme-border, rgba(59, 130, 246, 0.35));
  transition: all 0.2s ease;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  box-sizing: border-box;
}

.pfl-firm-card:hover .pfl-action-btn,
.pfl-firm-card:hover .pfl-view-btn {
  background: var(--btn, linear-gradient(180deg, #3b82f6 0%, #1d4ed8 100%));
  color: var(--btn-text, #ffffff);
  border-color: transparent;
  box-shadow: 0 0 16px var(--glow, rgba(37, 99, 235, 0.55));
}

/* Split Grids for Single Firm Detail View */
.pfl-split-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  width: 100%;
  box-sizing: border-box;
}

.pfl-split-2col-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 960px) {
  .pfl-split-card-grid,
  .pfl-split-2col-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
}

/* Heatmap & Chart Scroll Wrappers */
.pfl-pt-grid-scroll {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  box-sizing: border-box;
}

/* TABLET & MOBILE BREAKPOINTS (<= 992px) */
@media (max-width: 992px) {
  .pfl-controls-bar {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
    width: 100% !important;
  }

  .pfl-controls-bar .pf-capsule-bar {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    padding: 6px 8px !important;
    border-radius: 999px !important;
    gap: 6px !important;
    box-sizing: border-box !important;
  }
  .pfl-controls-bar .pf-capsule-bar::-webkit-scrollbar {
    display: none !important;
  }

  .pfl-controls-bar .pf-capsule-group {
    display: flex !important;
    flex-wrap: nowrap !important;
    flex-shrink: 0 !important;
    gap: 4px !important;
  }

  .pfl-controls-bar .pf-capsule-btn {
    flex-shrink: 0 !important;
    white-space: nowrap !important;
    height: 32px !important;
    padding: 0 12px !important;
    font-size: 12px !important;
  }

  .pfl-view-switcher {
    width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    overflow-x: auto !important;
    scrollbar-width: none !important;
    gap: 6px !important;
  }
}

/* SMART MOBILE PAYOUT CONTROLS: TIMEFRAME DROPDOWN + CATEGORY SWITCH (NO HORIZONTAL SLIDING) */
@media (max-width: 768px) {
  .pfl-controls-bar .pf-desktop-tf-group,
  .pfl-controls-bar .pf-capsule-group.pf-desktop-tf-group,
  .pfl-controls-bar #pf-tf-group,
  #pf-tf-group {
    display: none !important;
  }

  .pfl-controls-bar {
    position: relative !important;
    z-index: 100 !important;
  }

  .pfl-controls-bar .pf-capsule-bar {
    position: relative !important;
    z-index: 200 !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
    overflow-x: visible !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 4px 6px !important;
    border-radius: 999px !important;
    gap: 3px !important;
    box-sizing: border-box !important;
  }

  .pf-mobile-tf-wrapper {
    display: inline-flex !important;
    position: relative !important;
    flex-shrink: 0 !important;
    z-index: 300 !important;
  }

  .pfl-view-switcher {
    position: relative !important;
    z-index: 10 !important;
  }

  .pfl-controls-bar .pf-capsule-sep {
    width: 1px !important;
    height: 18px !important;
    background: rgba(255, 255, 255, 0.16) !important;
    margin: 0 2px !important;
    flex-shrink: 0 !important;
  }

  .pfl-controls-bar .pf-capsule-group.pf-cat-group {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex: 1 !important;
    gap: 2px !important;
    min-width: 0 !important;
    flex-shrink: 1 !important;
    flex-wrap: nowrap !important;
  }

  .pfl-controls-bar .pf-cat-group .pf-capsule-btn {
    flex: 1 !important;
    height: 32px !important;
    padding: 0 4px !important;
    font-size: 11.5px !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
    text-align: center !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 0 !important;
    border-radius: 999px !important;
  }

  /* Mobile Timeframe Dropdown Button */
  .pf-mobile-tf-btn {
    height: 32px;
    padding: 0 9px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #ffffff;
    font-size: 11.5px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transition: all 0.2s ease;
    box-sizing: border-box;
    font-family: inherit;
  }

  .pf-mobile-tf-btn:active,
  .pf-mobile-tf-btn:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.28);
  }

  .pf-mobile-tf-btn .pf-tf-icon {
    color: var(--mk-light, #34d399);
    flex-shrink: 0;
  }

  .pf-mobile-tf-btn .pf-tf-chevron {
    opacity: 0.7;
    flex-shrink: 0;
    transition: transform 0.2s ease;
  }

  .pf-mobile-tf-btn[aria-expanded="true"] .pf-tf-chevron {
    transform: rotate(180deg);
  }

  /* Liquid Glass Timeframe Dropdown Menu */
  .pf-mobile-tf-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 140px;
    background: rgba(10, 16, 28, 0.95);
    backdrop-filter: blur(24px) saturate(190%);
    -webkit-backdrop-filter: blur(24px) saturate(190%);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    padding: 6px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    z-index: 99999 !important;
    display: flex;
    flex-direction: column;
    gap: 2px;
  }

  .pf-mobile-tf-opt {
    height: 32px;
    padding: 0 10px;
    border-radius: 8px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.75);
    font-size: 12px;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    box-sizing: border-box;
    transition: all 0.15s ease;
  }

  .pf-mobile-tf-opt:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
  }

  .pf-mobile-tf-opt.active {
    background: var(--btn, linear-gradient(180deg, #34d399 0%, #059669 100%));
    color: #ffffff;
    font-weight: 700;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 2px 8px rgba(0, 0, 0, 0.25);
  }
  .pfl-view-switcher::-webkit-scrollbar {
    display: none !important;
  }
  .pfl-view-tab {
    flex-shrink: 0 !important;
    white-space: nowrap !important;
    height: 32px !important;
    padding: 0 12px !important;
    font-size: 12px !important;
  }
}

/* SMARTPHONE & NARROW TABLET BREAKPOINTS (<= 768px) */
@media (max-width: 768px) {
  .wrap {
    width: calc(100% - 20px) !important;
    max-width: 100% !important;
  }

  .pfl-payout-matrix-wrap {
    width: calc(100% - 20px) !important;
    max-width: 100% !important;
    margin: 16px auto 60px !important;
  }

  .hero h1 {
    font-size: clamp(26px, 6.8vw, 38px) !important;
    letter-spacing: -0.02em !important;
    line-height: 1.15 !important;
  }

  /* Compact Single-Line Liquid Glass Trust Capsule on Mobile (Saves ~140px vertical space) */
  .hero-stats.pfl-hero-trust-bar,
  body[data-page="payout"] .hero-stats {
    display: inline-flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0 !important;
    margin: 12px auto 8px !important;
    padding: 4px 10px !important;
    border-radius: 999px !important;
    background: rgba(10, 16, 32, 0.72) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.18) !important;
    max-width: calc(100% - 20px) !important;
    width: auto !important;
    box-sizing: border-box !important;
  }

  .hero-stats.pfl-hero-trust-bar .hero-stat-pill,
  body[data-page="payout"] .hero-stat-pill {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 4px !important;
    font-size: 11px !important;
    white-space: nowrap !important;
    line-height: 1 !important;
  }

  .hero-stats.pfl-hero-trust-bar .hero-stat-pill:not(:last-child)::after,
  body[data-page="payout"] .hero-stat-pill:not(:last-child)::after {
    content: "·" !important;
    margin-left: 5px !important;
    color: rgba(255, 255, 255, 0.3) !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    pointer-events: none !important;
  }

  .hero-stats.pfl-hero-trust-bar .hero-stat-val,
  body[data-page="payout"] .hero-stat-val {
    font-size: 11.5px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
  }

  .hero-stats.pfl-hero-trust-bar .hero-stat-lbl,
  body[data-page="payout"] .hero-stat-lbl {
    font-size: 11px !important;
    color: #94a3b8 !important;
  }

  .lbl-desktop-word {
    display: none !important;
  }

  .matrix-toolbar {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
    width: 100% !important;
  }

  .toolbar-left {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
  }

  .toolbar-right,
  .toolbar-search {
    width: 100% !important;
    max-width: 100% !important;
  }
  .toolbar-search input {
    width: 100% !important;
  }

  /* Mobile Coupon Toolbar Responsive Grid Layout */
  .coupon-toolbar-wrap {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
    padding: 10px 12px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .coupon-toolbar-left {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }

  .coupon-toolbar-wrap .coupon-category-sw {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    padding: 3px !important;
  }

  .coupon-toolbar-wrap .coupon-category-sw button {
    text-align: center !important;
    padding: 7px 0 !important;
    font-size: 12px !important;
    min-height: 32px !important;
  }

  .coupon-toolbar-badge {
    display: none !important;
  }

  .coupon-toolbar-right {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
  }

  .coupon-toolbar-wrap .coupon-toolbar-search-wrap {
    flex: 1 !important;
    min-width: 0 !important;
    width: auto !important;
  }

  .coupon-toolbar-wrap .coupon-toolbar-search-wrap .toolbar-search {
    width: 100% !important;
  }

  .coupon-toolbar-wrap .coupon-toolbar-search-wrap .toolbar-search input {
    width: 100% !important;
  }

  .coupon-toolbar-wrap .coupon-filter-wrap {
    flex-shrink: 0 !important;
    align-self: center !important;
  }

  .coupon-toolbar-wrap .coupon-filter-btn {
    height: 38px !important;
    padding: 0 14px !important;
    font-size: 12px !important;
    white-space: nowrap !important;
  }

  .coupon-toolbar-wrap .coupon-filter-panel {
    right: 0 !important;
    left: auto !important;
    width: min(300px, calc(100vw - 32px)) !important;
    box-sizing: border-box !important;
  }

  /* Review page category switcher mobile alignment */
  .matrix-toolbar .toolbar-center {
    width: 100% !important;
    order: 1 !important;
  }

  .matrix-toolbar .review-category-sw {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    padding: 3px !important;
  }

  .matrix-toolbar .review-category-sw button {
    text-align: center !important;
    padding: 7px 0 !important;
    font-size: 12px !important;
    min-height: 32px !important;
  }

  .matrix-toolbar .toolbar-left {
    order: 2 !important;
  }

  .matrix-toolbar .toolbar-right {
    order: 3 !important;
  }

  .pj-detail-topbar {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
  }

  /* Professional Firm Profile Detail Header (Standard Proportions & Organization) */
  body[data-page="payout"] {
    padding-top: 72px !important;
  }

  .pfl-firm-hero-wrap {
    padding: 8px 0 20px !important;
  }

  .pfl-firm-detail-topbar {
    gap: 8px !important;
    padding-bottom: 12px !important;
  }

  .pfl-firm-nav-row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
  }

  .pfl-firm-visit-desktop {
    display: none !important;
  }

  .pfl-firm-visit-mobile {
    display: inline-flex !important;
    height: 30px !important;
    padding: 0 12px !important;
    font-size: 11.5px !important;
    gap: 5px !important;
  }

  .pfl-firm-back-btn {
    height: 30px !important;
    padding: 0 12px !important;
    font-size: 11.5px !important;
  }

  .pfl-firm-logo-frame {
    width: 44px !important;
    height: 44px !important;
    border-radius: 12px !important;
  }

  .pfl-firm-identity-left {
    gap: 12px !important;
  }

  .pfl-firm-title {
    font-size: 20px !important;
    letter-spacing: -0.02em !important;
  }

  .pfl-firm-verified-tag {
    display: none !important;
  }

  .pfl-firm-meta-line {
    font-size: 12px !important;
    gap: 5px !important;
  }

  .pfl-meta-desktop-only {
    display: none !important;
  }

  .pfl-tf-bar-wrap {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    box-sizing: border-box !important;
  }
  .pfl-tf-bar-wrap button {
    flex-shrink: 0 !important;
    white-space: nowrap !important;
    padding: 6px 12px !important;
    font-size: 12px !important;
  }
}

/* SMARTPHONE COMPACT CARD BREAKPOINT (<= 576px, e.g. 320px - 480px) */
@media (max-width: 576px) {
  .pfl-cards-list {
    gap: 10px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .pfl-firm-card {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    grid-template-areas:
      "head head head"
      "paid paid action"
      "count largest avg"
      "time time time" !important;
    gap: 8px 8px !important;
    padding: 12px 14px 10px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    border-radius: 16px !important;
  }

  .pfl-cell-rank {
    grid-area: head;
    justify-self: start;
    align-self: center;
    z-index: 2;
  }
  .pfl-rank-badge {
    width: 24px !important;
    height: 24px !important;
    font-size: 11.5px !important;
  }

  .pfl-cell-firm {
    grid-area: head;
    padding-left: 32px !important;
    gap: 10px !important;
    min-width: 0 !important;
    width: 100% !important;
  }
  .pfl-firm-logo-wrap {
    width: 38px !important;
    height: 38px !important;
    border-radius: 10px !important;
    flex-shrink: 0 !important;
  }
  .pfl-firm-name-text {
    font-size: 15px !important;
    line-height: 1.2 !important;
  }
  .pfl-firm-rail-text {
    font-size: 11px !important;
  }

  .pfl-cell-paid {
    grid-area: paid;
    padding-top: 8px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
    min-width: 0 !important;
  }
  .pfl-paid-val {
    font-size: 17px !important;
    line-height: 1.2 !important;
  }

  .pfl-cell-action {
    grid-area: action;
    justify-content: flex-end !important;
    align-items: center !important;
    padding-top: 8px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
  }
  .pfl-action-btn,
  .pfl-view-btn {
    padding: 6px 12px !important;
    font-size: 11.5px !important;
  }

  .pfl-cell-count {
    grid-area: count;
    min-width: 0 !important;
  }
  .pfl-cell-largest {
    grid-area: largest;
    min-width: 0 !important;
  }
  .pfl-count-val, .pfl-avg-val, .pfl-largest-val {
    font-size: 13.5px !important;
  }
  .pfl-count-lbl, .pfl-avg-lbl, .pfl-largest-lbl {
    font-size: 10px !important;
  }

  .pfl-cell-avg {
    grid-area: avg;
    min-width: 0 !important;
  }

  .pfl-cell-time {
    grid-area: time;
    display: inline-flex !important;
    justify-content: flex-start !important;
    align-items: center !important;
    padding-top: 6px !important;
    border-top: 1px dashed rgba(255, 255, 255, 0.06) !important;
    font-size: 11.5px !important;
    gap: 6px !important;
  }

  /* Single Firm ATM Card & Glass Cards */
  .pfl-glass-card {
    padding: 16px 14px !important;
    border-radius: 18px !important;
  }
  #pfl-largest-payouts-card,
  #pfl-latest-payouts-card {
    padding: 16px 14px !important;
    border-radius: 18px !important;
  }
  #pfl-atm-card-balance {
    font-size: clamp(22px, 5.5vw, 30px) !important;
  }
}

/* ==========================================================================
   MAGIC UI & REACT BITS DESIGN SYSTEM ENHANCEMENTS
   Inspired by: Magic UI, React Bits, 21st.dev, Mobbin, Inspora, Designeer
   ========================================================================== */

@property --magic-beam-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

/* 1. Magic UI: Border Beam (Animated Conic Laser Border) */
.magic-border-beam {
  position: relative;
}

.magic-border-beam::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1.5px;
  background: conic-gradient(
    from var(--magic-beam-angle, 0deg) at 50% 50%,
    transparent 0%,
    transparent 72%,
    rgba(59, 130, 246, 0.25) 84%,
    rgba(96, 165, 250, 0.9) 96%,
    #ffffff 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 2;
  animation: magicBeamRotate 8s linear infinite;
  opacity: 0.9;
}

@keyframes magicBeamRotate {
  0% {
    --magic-beam-angle: 0deg;
  }
  100% {
    --magic-beam-angle: 360deg;
  }
}

/* Fallback for browsers without @property support */
@supports not (background: paint(something)) {
  .magic-border-beam::before {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.35) 0%, rgba(255, 255, 255, 0.25) 50%, rgba(59, 130, 246, 0.35) 100%);
    animation: none;
  }
}

/* 2. Magic UI: Animated Shiny Text (Metallic Shimmer) */
.magic-shiny-text {
  background: linear-gradient(
    110deg,
    #ffffff 35%,
    #93c5fd 50%,
    #ffffff 65%
  ) !important;
  background-size: 200% 100% !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  animation: magicShinyShimmer 5s ease-in-out infinite !important;
  display: inline-block;
}

@keyframes magicShinyShimmer {
  0% {
    background-position: 150% 0;
  }
  100% {
    background-position: -50% 0;
  }
}

/* 3. React Bits: Pulsing Radar Ping Top-Up Dots */
.pfl-topup-dot-wrap {
  position: absolute;
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.pfl-topup-dot-wrap:hover {
  transform: translate(-50%, -50%) scale(1.35) !important;
}

.pfl-topup-ping {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  opacity: 0.85;
  animation: pflTopupRadarPing 2.4s cubic-bezier(0, 0, 0.2, 1) infinite;
  pointer-events: none;
}

.pfl-topup-core {
  position: relative;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid currentColor;
  box-shadow: 0 0 14px currentColor, 0 0 4px #ffffff;
  display: block;
}

@keyframes pflTopupRadarPing {
  0% {
    transform: scale(0.6);
    opacity: 0.95;
  }
  75%, 100% {
    transform: scale(2.6);
    opacity: 0;
  }
}

/* 4. Magic UI / 21st.dev Technical Dot Pattern Matrix */
.magic-dot-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1.2px, transparent 1.2px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 75%);
  mask-image: radial-gradient(ellipse at 50% 40%, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 75%);
  pointer-events: none;
  z-index: 0;
}

/* 5. 21st.dev Cursor Spotlight Card Effect */
.pfl-spotlight-card {
  position: relative;
  overflow: hidden;
}

.pfl-spotlight-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    450px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(59, 130, 246, 0.08),
    transparent 50%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  border-radius: inherit;
  z-index: 1;
}

.pfl-spotlight-card:hover::after {
  opacity: 1;
}

/* 6. Refined Hero Eyebrow Badge Pill */
.pfl-hero-eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 9999px;
  background: rgba(25, 25, 25, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #93c5fd;
  text-transform: uppercase;
  margin-bottom: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}


/* Live Feed Pulse Indicator */
@keyframes pflLivePulseDot {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 8px #10b981; }
  50% { opacity: 0.35; transform: scale(0.8); box-shadow: 0 0 2px #10b981; }
}
.pfl-live-pulse-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: pflLivePulseDot 1.8s ease-in-out infinite;
  vertical-align: middle;
}


/* ==========================================================================
   REVIEW COMMAND BAR (Apple Liquid Glass Command Center)
   ========================================================================== */
.review-command-bar {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 14px !important;
  margin: 0 auto 20px auto !important;
  padding: 8px 12px !important;
  width: 100% !important;
  max-width: var(--W, 1240px) !important;
  background: rgba(13, 19, 36, 0.65) !important;
  backdrop-filter: blur(24px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 20px !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 8px 32px rgba(0, 0, 0, 0.36) !important;
  box-sizing: border-box !important;
  flex-wrap: nowrap !important;
}

.rev-bar-left {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  flex-shrink: 0 !important;
}

.rev-category-capsule {
  display: inline-flex !important;
  align-items: center !important;
  gap: 2px !important;
  padding: 3px !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  margin: 0 !important;
}

.rev-category-capsule button {
  height: 32px !important;
  padding: 0 13px !important;
  border-radius: 999px !important;
  border: 1px solid transparent !important;
  background: transparent !important;
  color: rgba(255, 255, 255, 0.68) !important;
  font-size: 12.5px !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  white-space: nowrap !important;
  box-shadow: none !important;
}

.rev-category-capsule button:hover {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.08) !important;
}

.rev-category-capsule button.on,
.rev-category-capsule button.active {
  background: rgba(255, 255, 255, 0.15) !important;
  color: #fff !important;
  font-weight: 600 !important;
  border-color: rgba(255, 255, 255, 0.25) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 2px 8px rgba(0, 0, 0, 0.25) !important;
}

.rev-bar-divider {
  width: 1px !important;
  height: 22px !important;
  background: rgba(255, 255, 255, 0.12) !important;
  margin: 0 4px !important;
  flex-shrink: 0 !important;
  display: inline-block !important;
}

.rev-sort-group {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.rev-chip {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  height: 34px !important;
  padding: 0 13px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(255, 255, 255, 0.09) !important;
  background: rgba(255, 255, 255, 0.04) !important;
  color: rgba(255, 255, 255, 0.72) !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
}

.rev-chip:hover {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
}

.rev-chip.active,
.rev-chip.on {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.14) !important;
  border-color: rgba(255, 255, 255, 0.28) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 2px 8px rgba(0, 0, 0, 0.25) !important;
  font-weight: 600 !important;
}

.rev-bar-right {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  flex-shrink: 0 !important;
}

.rev-chip-verified svg {
  color: var(--accent, #38bdf8) !important;
  flex-shrink: 0 !important;
}

.rev-chip-verified.active {
  background: rgba(56, 189, 248, 0.14) !important;
  border-color: rgba(56, 189, 248, 0.35) !important;
  color: #38bdf8 !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
}

.rev-search-label {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  height: 34px !important;
  padding: 0 12px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  background: rgba(255, 255, 255, 0.05) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
  color: rgba(255, 255, 255, 0.55) !important;
  transition: all 0.2s ease !important;
  width: 200px !important;
  box-sizing: border-box !important;
}

.rev-search-label:focus-within {
  border-color: rgba(255, 255, 255, 0.28) !important;
  background: rgba(255, 255, 255, 0.08) !important;
  color: #fff !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
  width: 220px !important;
}

.rev-search-label input {
  background: transparent !important;
  border: none !important;
  outline: none !important;
  color: #fff !important;
  font-size: 12.5px !important;
  font-family: inherit !important;
  width: 100% !important;
}

.rev-search-label input::placeholder {
  color: rgba(255, 255, 255, 0.45) !important;
}

@media (max-width: 880px) {
  .review-command-bar {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
    padding: 10px !important;
    border-radius: 16px !important;
  }
  .rev-bar-left {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px !important;
    width: 100% !important;
  }
  .rev-category-capsule {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    width: 100% !important;
  }
  .rev-category-capsule button {
    text-align: center !important;
    padding: 6px 0 !important;
    min-height: 32px !important;
  }
  .rev-bar-divider {
    display: none !important;
  }
  .rev-sort-group {
    display: flex !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    gap: 6px !important;
    width: 100% !important;
    padding-bottom: 2px !important;
  }
  .rev-sort-group::-webkit-scrollbar {
    display: none !important;
  }
  .rev-bar-right {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    width: 100% !important;
  }
  .rev-search-label {
    flex: 1 !important;
    width: auto !important;
  }
}
