/* ==========================================================================
   TUBE CREATOR KIT — STUDIO LUXURY DESIGN SYSTEM (2026)
   High-End Light Aesthetic (Apple / Linear / Vercel Studio Tier)
   ========================================================================== */

:root {
  --bg-root: #F8FAFC;
  --bg-surface: #FFFFFF;
  --bg-surface-elevated: #FFFFFF;
  --bg-subtle: #F1F5F9;
  --bg-glass: rgba(255, 255, 255, 0.88);

  --border-subtle: rgba(226, 232, 240, 0.85);
  --border-medium: #E2E8F0;
  --border-focus: #0F172A;

  --text-main: #090D1A;
  --text-primary: #090D1A;
  --text-secondary: #1E293B;
  --text-muted: #475569;
  --text-faint: #64748B;

  /* High-End Palette */
  --brand-primary: #FF0033;
  --brand-primary-hover: #E6002E;
  --brand-primary-glow: rgba(255, 0, 51, 0.18);

  --accent-indigo: #4F46E5;
  --accent-emerald: #059669;
  --accent-sky: #0284C7;
  --accent-amber: #D97706;
  --accent-purple: #7C3AED;
  --accent-rose: #E11D48;
  --accent-teal: #0D9488;

  --sidebar-width: 290px;
  --sidebar-collapsed: 74px;
  --header-height: 72px;

  /* Multi-layer high-end shadows */
  --shadow-subtle: 0 1px 2px rgba(15, 23, 42, 0.03);
  --shadow-card: 0 2px 8px -2px rgba(15, 23, 42, 0.05), 0 12px 24px -6px rgba(15, 23, 42, 0.04);
  --shadow-hover: 0 16px 36px -8px rgba(15, 23, 42, 0.09), 0 4px 12px -2px rgba(15, 23, 42, 0.04);
  --shadow-command: 0 0 0 1px rgba(15, 23, 42, 0.08), 0 20px 48px -12px rgba(15, 23, 42, 0.12);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 9999px;
  --radius-full: 9999px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

section[id],
div[id] {
  scroll-margin-top: calc(var(--header-height) + 28px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
img, video { max-width: 100%; height: auto; display: block; }
.silo-icon, .nav-icon-frame, .tile-icon-box { flex-shrink: 0; overflow: hidden; }
.silo-icon svg, .nav-icon-frame svg, .tile-icon-box svg { width: 18px !important; height: 18px !important; max-width: 18px !important; max-height: 18px !important; display: block; }

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background-color: var(--bg-root);
  color: var(--text-main);
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: subpixel-antialiased;
  -moz-osx-font-smoothing: auto;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Ambient Background Glow */
.ambient-glow-wrapper {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  opacity: 0.6;
}
.ambient-glow-1 {
  position: absolute;
  top: -150px;
  left: 15%;
  width: 700px;
  height: 500px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.12) 0%, rgba(255, 255, 255, 0) 70%);
  filter: blur(80px);
}
.ambient-glow-2 {
  position: absolute;
  top: 50px;
  right: 10%;
  width: 600px;
  height: 500px;
  background: radial-gradient(circle, rgba(244, 63, 94, 0.09) 0%, rgba(255, 255, 255, 0) 70%);
  filter: blur(90px);
}
.ambient-glow-3 {
  position: absolute;
  top: 800px;
  left: 30%;
  width: 800px;
  height: 600px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.07) 0%, rgba(255, 255, 255, 0) 70%);
  filter: blur(100px);
}

/* ==========================================================================
   TOP GLASS HEADER
   ========================================================================== */
.studio-header {
  height: var(--header-height);
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  transition: all 0.2s ease;
}
.header-inner {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0 24px 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header-left {
  display: flex;
  align-items: center;
  gap: 16px;
}
.sidebar-trigger {
  width: 42px;
  height: 42px;
  margin-left: 16px;
  margin-right: 2px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-medium);
  background: #FFFFFF;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}
.sidebar-trigger:hover {
  background: var(--bg-subtle);
  color: var(--text-main);
  border-color: var(--text-muted);
  transform: translateY(-1px);
}
.sidebar-trigger svg { width: 20px; height: 20px; }

/* When brand-mark is the first element (e.g. Omnibar or when sidebar-trigger is absent) */
.header-left > .brand-mark:first-child {
  margin-left: 18px;
}

.brand-mark {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-main);
}
.brand-symbol {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, #FF0033 0%, #D80027 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(255, 0, 51, 0.3);
  position: relative;
}
.brand-symbol svg { width: 18px; height: 18px; fill: currentColor; }
.brand-text {
  display: flex;
  flex-direction: column;
}
.brand-name {
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: -0.035em;
  color: var(--text-main);
  line-height: 1.1;
}
.brand-name span { color: var(--brand-primary); }
.brand-badge-text {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}


.btn-header-home {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #090D1A;
  color: #FFFFFF !important;
  text-decoration: none !important;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  box-shadow: 0 2px 8px rgba(9, 13, 26, 0.18);
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  white-space: nowrap;
}
.btn-header-home:hover {
  background: #1E293B;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(9, 13, 26, 0.28);
  color: #FFFFFF !important;
}
.btn-header-home svg {
  width: 15px;
  height: 15px;
  stroke: #FFFFFF;
}

.header-center-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-subtle);
  padding: 4px 6px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
}
.nav-pill {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  transition: all 0.15s ease;
}
.nav-pill:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.6);
}
.nav-pill.active {
  color: var(--text-main);
  background: #FFFFFF;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.06);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 14px;
}
.status-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #047857;
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  padding: 6px 13px;
  border-radius: var(--radius-pill);
}
.status-dot-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse-green 2s 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 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.btn-header-cta {
  background: #090D1A;
  color: #FFFFFF;
  border: none;
  font-size: 0.84rem;
  font-weight: 800;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transition: all 0.18s ease;
  box-shadow: 0 2px 8px rgba(9, 13, 26, 0.18);
}
.btn-header-cta:hover {
  background: #1E293B;
  transform: translateY(-1px);
}

/* ==========================================================================
   STUDIO SHELL & COLLAPSIBLE SIDEBAR
   ========================================================================== */
.studio-shell {
  display: flex;
  width: 100%;
  min-height: calc(100vh - var(--header-height));
  position: relative;
  z-index: 10;
}

.studio-sidebar {
  width: var(--sidebar-width);
  background: #FFFFFF;
  border-right: 1px solid var(--border-medium);
  flex-shrink: 0;
  position: sticky;
  top: var(--header-height);
  height: calc(100vh - var(--header-height));
  overflow-y: auto;
  padding: 20px 10px;
  display: flex;
  flex-direction: column;
  transition: width 0.22s cubic-bezier(0.16, 1, 0.3, 1), transform 0.22s ease;
  z-index: 100;
}
.studio-sidebar::-webkit-scrollbar { width: 4px; }
.studio-sidebar::-webkit-scrollbar-thumb { background: #E2E8F0; border-radius: 4px; }

/* Desktop Clean Toggle: Fully hides sidebar to give 100% canvas to workbench */
@media (min-width: 901px) {
  body.sidebar-collapsed .studio-sidebar {
    width: 0 !important;
    min-width: 0 !important;
    padding: 0 !important;
    border-right: none !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translateX(-100%) !important;
    transition: all 0.24s cubic-bezier(0.16, 1, 0.3, 1) !important;
  }
}

.sidebar-section { margin-bottom: 24px; }

.sidebar-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px 10px 8px;
  min-height: 32px;
}
.sidebar-section-header .sidebar-header-label {
  padding: 0;
  margin: 0;
}
.sidebar-header-label {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
  padding: 0 8px 10px;
}

/* Single Sidebar Toggle Button (Image 2) */
.sidebar-collapse-btn {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  border: 1px solid var(--border-medium);
  background: #FFFFFF;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}
.sidebar-collapse-btn:hover {
  background: var(--bg-subtle);
  color: var(--text-main);
  border-color: #CBD5E1;
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.06);
}
.sidebar-collapse-btn svg {
  width: 15px;
  height: 15px;
  transition: transform 0.2s ease;
}

/* When Closed: Toggle button stays centered above the search icon */
body.sidebar-collapsed .sidebar-section-header {
  display: flex !important;
  justify-content: center;
  padding: 0 0 14px 0;
  margin: 0 0 2px 0;
}
body.sidebar-collapsed .sidebar-collapse-btn {
  display: flex !important;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  box-shadow: var(--shadow-subtle);
}
body.sidebar-collapsed .sidebar-collapse-btn svg {
  transform: scaleX(-1);
  width: 17px;
  height: 17px;
}

.sidebar-nav-list {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.studio-nav-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 10px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 650;
  transition: all 0.16s ease;
  border: 1px solid transparent;
}
.nav-item-left {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}
.nav-icon-frame {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.nav-icon-frame svg { width: 15px; height: 15px; }

.studio-nav-item:hover {
  background: var(--bg-subtle);
  color: var(--text-main);
  border-color: var(--border-subtle);
}
.studio-nav-item.active {
  background: #FFF1F2;
  color: var(--brand-primary);
  font-weight: 800;
  border-color: #FFE4E6;
}
.nav-text-block {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* ==========================================================================
   STUDIO SUITE 2026 ULTRA-CRISP & SHARP SIDEBAR BADGES
   ========================================================================== */
.nav-badge {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Inter", system-ui, sans-serif;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 2px 6px;
  border-radius: 999px;
  background: #F8FAFC;
  color: #475569;
  border: 1px solid #E2E8F0;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3.5px;
  text-transform: uppercase;
  line-height: 1.2;
  white-space: nowrap;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: geometricPrecision;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

/* Crisp lift without scale raster blur */
.studio-nav-item:hover .nav-badge {
  transform: translateY(-0.5px);
}

.nav-badge .badge-ico {
  width: 9.5px;
  height: 9.5px;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
}

/* 1. AI Intelligent Badge (Ultra-Sharp Royal Purple) */
.nav-badge.ai,
.nav-badge.badge-ai {
  background: #F5F3FF;
  color: #6D28D9;
  border-color: #DDD6FE;
}
.studio-nav-item:hover .nav-badge.ai,
.studio-nav-item:hover .nav-badge.badge-ai {
  background: #EDE9FE;
  border-color: #C4B5FD;
}

/* 2. Hot / 500 CH Limit Badge (Ultra-Sharp Crimson Ember) */
.nav-badge.hot,
.nav-badge.badge-hot {
  background: #FEF2F2;
  color: #B91C1C;
  border-color: #FECACA;
}
.studio-nav-item:hover .nav-badge.hot,
.studio-nav-item:hover .nav-badge.badge-hot {
  background: #FEE2E2;
  border-color: #FCA5A5;
}

/* 3. SEO Algorithm Badge (Ultra-Sharp Sapphire Blue) */
.nav-badge.seo,
.nav-badge.badge-seo {
  background: #EFF6FF;
  color: #1D4ED8;
  border-color: #BFDBFE;
}
.studio-nav-item:hover .nav-badge.seo,
.studio-nav-item:hover .nav-badge.badge-seo {
  background: #DBEAFE;
  border-color: #93C5FD;
}

/* 4. 4K Ultra-HD Visual Badge (Ultra-Sharp Gold Amber) */
.nav-badge.badge-4k,
.nav-badge.fourk {
  background: #FFFBEB;
  color: #B45309;
  border-color: #FDE68A;
}
.studio-nav-item:hover .nav-badge.badge-4k,
.studio-nav-item:hover .nav-badge.fourk {
  background: #FEF3C7;
  border-color: #FCD34D;
}

/* 5. 2560px Master Canvas Badge (Ultra-Sharp Sky Precision) */
.nav-badge.badge-res {
  background: #F0F9FF;
  color: #0369A1;
  border-color: #BAE6FD;
}
.studio-nav-item:hover .nav-badge.badge-res {
  background: #E0F2FE;
  border-color: #7DD3FC;
}

/* 6. RPM / Monetization Badge (Ultra-Sharp Emerald) */
.nav-badge.rpm,
.nav-badge.badge-rpm {
  background: #ECFDF5;
  color: #047857;
  border-color: #A7F3D0;
}
.studio-nav-item:hover .nav-badge.rpm,
.studio-nav-item:hover .nav-badge.badge-rpm {
  background: #D1FAE5;
  border-color: #6EE7B7;
}

/* 7. ACTIVE Live Pulse Badge (Sharp Emerald with Precision Radar Beacon) */
.nav-badge.active,
.nav-badge.badge-active {
  background: #ECFDF5;
  color: #065F46;
  border-color: #6EE7B7;
  font-weight: 800;
}
.nav-badge.active::before,
.nav-badge.badge-active::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.3);
  animation: badgeLivePulse 1.8s infinite ease-in-out;
  margin-right: 2px;
  flex-shrink: 0;
}
.nav-badge .badge-pulse-dot {
  display: none !important;
}
@keyframes badgeLivePulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.3);
  }
  50% {
    transform: scale(1.25);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0);
  }
}

/* 8. CTR Viral Optimizer Badge (Ultra-Sharp Fuchsia Rose) */
.nav-badge.ctr,
.nav-badge.badge-ctr {
  background: #FDF2F8;
  color: #BE185D;
  border-color: #FBCFE8;
}
.studio-nav-item:hover .nav-badge.ctr,
.studio-nav-item:hover .nav-badge.badge-ctr {
  background: #FCE7F3;
  border-color: #F472B6;
}

/* 9. DEEP Video Inspector Badge (Ultra-Sharp Quantum Teal) */
.nav-badge.deep,
.nav-badge.badge-deep {
  background: #F0FDFA;
  color: #0F766E;
  border-color: #99F6E4;
}
.studio-nav-item:hover .nav-badge.deep,
.studio-nav-item:hover .nav-badge.badge-deep {
  background: #CCFBF1;
  border-color: #5EEAD4;
}

.nav-badge:empty {
  display: none !important;
}

/* Micro-colors */
.color-red    { background: #FEF2F2; color: #EF4444; border: 1px solid rgba(239, 68, 68, 0.15); }
.color-cyan   { background: #ECFEFF; color: #0891B2; border: 1px solid rgba(8, 145, 178, 0.15); }
.color-blue   { background: #EFF6FF; color: #2563EB; border: 1px solid rgba(37, 99, 235, 0.15); }
.color-purple { background: #FAF5FF; color: #7C3AED; border: 1px solid rgba(124, 58, 237, 0.15); }
.color-green  { background: #ECFDF5; color: #059669; border: 1px solid rgba(5, 150, 105, 0.15); }
.color-orange { background: #FFF7ED; color: #EA580C; border: 1px solid rgba(234, 88, 12, 0.15); }
.color-pink   { background: #FDF2F8; color: #DB2777; border: 1px solid rgba(219, 39, 119, 0.15); }
.color-amber  { background: #FFFBEB; color: #D97706; border: 1px solid rgba(217, 119, 6, 0.15); }
.color-indigo { background: #EEF2FF; color: #4F46E5; border: 1px solid rgba(79, 70, 229, 0.15); }
.color-teal   { background: #F0FDFA; color: #0D9488; border: 1px solid rgba(13, 148, 136, 0.15); }

/* ==========================================================================
   RETENTION SILO & CROSS-TOOL EXPLORATION (2026 Studio Luxury)
   ========================================================================== */
.retention-silo {
  margin-top: 40px;
  background: #FFFFFF;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  padding: 24px 28px;
  box-shadow: var(--shadow-card);
}
.retention-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 18px;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.retention-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}
.silo-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: #F8FAFC;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}
.silo-card:hover {
  background: #FFFFFF;
  border-color: var(--brand-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}
.silo-icon {
  width: 38px;
  height: 38px;
  min-width: 38px;
  max-width: 38px;
  min-height: 38px;
  max-height: 38px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}
.silo-icon svg,
.tile-icon-box svg,
.nav-icon-frame svg {
  width: 18px !important;
  height: 18px !important;
  max-width: 18px !important;
  max-height: 18px !important;
  flex-shrink: 0;
  display: block;
}
.silo-info {
  flex: 1;
  min-width: 0;
}
.silo-name {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.silo-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.silo-arrow {
  color: var(--brand-primary);
  font-size: 1.1rem;
  font-weight: 800;
  transition: transform 0.18s ease;
  flex-shrink: 0;
}
.silo-card:hover .silo-arrow {
  transform: translateX(3px);
}

.sidebar-pro-banner {
  margin-top: auto;
  background: linear-gradient(135deg, #090D1A 0%, #1E293B 100%);
  border-radius: var(--radius-md);
  padding: 16px;
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}
.sidebar-pro-title {
  font-size: 0.86rem;
  font-weight: 800;
  margin-bottom: 4px;
}
.sidebar-pro-desc {
  font-size: 0.74rem;
  color: #94A3B8;
  line-height: 1.4;
  margin-bottom: 12px;
}
.btn-pro-support {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 6px;
  width: 100%;
  cursor: pointer;
  text-align: center;
  transition: all 0.15s;
}
.btn-pro-support:hover {
  background: #FFFFFF;
  color: #090D1A;
}

/* ==========================================================================
   STUDIO MAIN WORKBENCH LAYOUT
   ========================================================================== */
.studio-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.tool-workbench-container {
  padding: 48px 32px 60px;
  max-width: 1240px;
  margin: 0 auto;
  width: 100%;
}

.tool-header-pane {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 36px;
}
.tool-category-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FFFFFF;
  border: 1px solid var(--border-medium);
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-secondary);
  box-shadow: var(--shadow-subtle);
  margin-bottom: 16px;
}
.tool-category-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-primary);
}
.tool-page-title {
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  color: var(--text-main);
  line-height: 1.15;
  margin-bottom: 12px;
}
.tool-page-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ==========================================================================
   LUXURY TOOL INPUT CARD
   ========================================================================== */
.luxury-input-card {
  background: #FFFFFF;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-command);
  padding: 12px;
  margin-bottom: 32px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.luxury-input-card:focus-within {
  border-color: #090D1A;
  box-shadow: 0 0 0 4px rgba(15, 23, 42, 0.06), 0 24px 64px -12px rgba(15, 23, 42, 0.18);
  transform: translateY(-2px);
}
.luxury-input-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 62px;
  padding: 4px 6px 4px 16px;
}
.luxury-input-icon {
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.luxury-input-icon svg { width: 22px; height: 22px; }

.input-with-paste {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.input-main {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-main);
  font-family: inherit;
  padding: 6px 4px;
}
.input-main::placeholder {
  color: #94A3B8;
  font-weight: 400;
}

.btn-paste, .btn-clear {
  background: var(--bg-subtle);
  border: 1px solid var(--border-medium);
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 10px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s ease;
  flex-shrink: 0;
}
.btn-paste:hover, .btn-clear:hover {
  background: #E2E8F0;
  color: var(--text-main);
}

.btn-extract-primary {
  background: linear-gradient(135deg, #FF0033 0%, #E6002E 100%);
  color: #FFFFFF;
  border: none;
  font-size: 0.96rem;
  font-weight: 800;
  padding: 0 24px;
  height: 52px;
  border-radius: 12px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(255, 0, 51, 0.3);
}
.btn-extract-primary:hover {
  background: linear-gradient(135deg, #E6002E 0%, #CC0029 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(255, 0, 51, 0.45);
}
.btn-extract-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(255, 0, 51, 0.3);
}
.btn-extract-primary:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}
.btn-extract-primary svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #FFFFFF;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn__spinner,
.btn-extract-primary .btn__spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2.5px solid rgba(255, 255, 255, 0.35);
  border-top-color: #FFFFFF;
  border-radius: 50%;
  animation: spin 0.65s linear infinite;
  vertical-align: middle;
  flex-shrink: 0;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.tool-demo-chips {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
  flex-wrap: wrap;
}
.chip-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-faint);
}
.chip-btn {
  background: #FFFFFF;
  border: 1px solid var(--border-medium);
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.15s ease;
  box-shadow: var(--shadow-subtle);
}
.chip-btn:hover {
  border-color: var(--text-muted);
  color: var(--text-main);
  transform: translateY(-1px);
}

/* Video Meta Preview Card */
.video-preview {
  display: flex;
  gap: 20px;
  background: #FFFFFF;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 18px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-card);
  animation: fadeIn 0.3s ease-out;
}
.video-preview__thumb-box {
  width: 200px;
  aspect-ratio: 16 / 9;
  flex-shrink: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  background: #000;
  border: 1px solid var(--border-subtle);
}
.video-preview__thumb-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-preview__details {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  flex: 1;
}
.video-preview__title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.video-preview__channel {
  font-size: 0.95rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
}
.video-preview__meta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}
@media (max-width: 640px) {
  .video-preview { flex-direction: column; }
  .video-preview__thumb-box { width: 100%; }
}

/* ==========================================================================
   RESULT CARD STYLING (Light Studio Theme for Extracted Outputs)
   ========================================================================== */
.result-card {
  background: #FFFFFF;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  margin-bottom: 28px;
  overflow: hidden;
  animation: fadeIn 0.25s ease-out;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.result-card__top {
  padding: 16px 24px;
  border-bottom: 1px solid var(--border-medium);
  background: #FAFBFC;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.result-card__heading {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}
.result-card__controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.result-card__counter {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
}
.btn-copy {
  background: #FFFFFF;
  border: 1px solid var(--border-medium);
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 6px 13px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s;
}
.btn-copy:hover {
  background: var(--bg-subtle);
  color: var(--text-main);
  border-color: var(--text-muted);
}

/* Transcript Toolbar & List */
.transcript-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
  background: #FFFFFF;
  border-bottom: 1px solid var(--border-medium);
}
.transcript-tabs {
  display: flex;
  gap: 8px;
}
.transcript-tab-btn {
  padding: 6px 14px;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-secondary);
  background: var(--bg-subtle);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.15s ease;
}
.transcript-tab-btn.active, .transcript-tab-btn:hover {
  color: #FFFFFF;
  background: #090D1A;
  border-color: #090D1A;
}

.transcript-search-input {
  background: #FFFFFF;
  border: 1px solid var(--border-medium);
  color: var(--text-main);
  padding: 7px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.84rem;
  width: 220px;
  outline: none;
  font-family: inherit;
}
.transcript-search-input:focus {
  border-color: #090D1A;
  box-shadow: 0 0 0 2px rgba(9, 13, 26, 0.08);
}

.transcript-list {
  max-height: 480px;
  overflow-y: auto;
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: #FFFFFF;
}
.transcript-list::-webkit-scrollbar { width: 5px; }
.transcript-list::-webkit-scrollbar-thumb { background: #E2E8F0; border-radius: 4px; }

.transcript-item {
  display: flex;
  gap: 14px;
  padding: 8px 10px;
  border-radius: 8px;
  transition: background 0.12s;
  align-items: flex-start;
}
.transcript-item:hover {
  background: #F8FAFC;
}
.transcript-time {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  font-weight: 700;
  color: #2563EB;
  background: #EFF6FF;
  padding: 3px 8px;
  border-radius: 6px;
  height: fit-content;
  white-space: nowrap;
  cursor: pointer;
  flex-shrink: 0;
  border: 1px solid rgba(37, 99, 235, 0.15);
}
.transcript-time:hover {
  background: #DBEAFE;
}
.transcript-text {
  font-size: 0.94rem;
  line-height: 1.55;
  color: var(--text-secondary);
  flex: 1;
}

.highlight-match {
  background: #FEF08A;
  color: #854D0E;
  padding: 1px 3px;
  border-radius: 3px;
  font-weight: 700;
}

/* AI Prompt Bar */
.ai-prompt-bar {
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 24px;
}
.ai-prompt-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: #FFFFFF;
  border: 1px solid #86EFAC;
  border-radius: var(--radius-sm);
  color: #166534;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s;
}
.ai-prompt-btn:hover {
  background: #15803D;
  border-color: #15803D;
  color: #FFFFFF;
  transform: translateY(-1px);
}

.ai-summary-box {
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 20px;
}
.ai-summary-point {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  line-height: 1.6;
  font-size: 0.92rem;
  color: var(--text-secondary);
}
.ai-summary-point:last-child {
  margin-bottom: 0;
}
.ai-summary-bullet {
  background: #DCFCE7;
  color: #15803D;
  border: 1px solid #86EFAC;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 2px;
}

/* AI Content Studio & Repurposing Viewer */
.ai-prompt-btn.active {
  background: #059669;
  border-color: #059669;
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.25);
}

.ai-studio-card {
  background: #FFFFFF;
  border: 1.5px solid #10B981;
  border-radius: var(--radius-lg);
  margin-bottom: 24px;
  overflow: hidden;
  box-shadow: 0 12px 30px -6px rgba(16, 185, 129, 0.12), 0 4px 12px rgba(0, 0, 0, 0.04);
  animation: studioSlideDown 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.ai-studio-header {
  padding: 16px 20px;
  background: #F0FDF4;
  border-bottom: 1px solid #BBF7D0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.ai-studio-header-left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  min-width: 0;
  flex: 1 1 auto;
}

.ai-studio-title {
  font-size: 1rem;
  font-weight: 800;
  color: #065F46;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  word-break: break-word;
  min-width: 0;
}

.ai-studio-badge {
  background: #DCFCE7;
  color: #15803D;
  border: 1px solid #86EFAC;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 800;
  flex-shrink: 0;
  white-space: nowrap;
}

.ai-studio-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.ai-studio-body {
  padding: 24px;
  max-height: 520px;
  overflow-y: auto;
  font-size: 0.94rem;
  line-height: 1.7;
  color: var(--text-main);
  box-sizing: border-box;
  word-break: break-word;
  overflow-wrap: break-word;
}

.ai-point-card {
  background: #F8FAFC;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition: border-color 0.15s, background 0.15s;
}
.ai-point-card:hover {
  background: #FFFFFF;
  border-color: #10B981;
}

.ai-point-num {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 800;
  color: #059669;
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  padding: 4px 8px;
  border-radius: 6px;
  flex-shrink: 0;
}

.ai-point-content {
  flex: 1;
}

.ai-point-headline {
  font-size: 0.96rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.ai-point-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Blog Article Preview */
.ai-blog-container {
  max-width: 820px;
  margin: 0 auto;
}
.ai-blog-h1 {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--text-main);
  line-height: 1.4;
  margin-bottom: 16px;
}
.ai-blog-tldr {
  background: #F0FDF4;
  border-left: 4px solid #10B981;
  padding: 14px 18px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 20px;
  font-size: 0.9rem;
  color: #065F46;
}
.ai-blog-h2 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-main);
  margin: 24px 0 10px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 6px;
}
.ai-blog-p {
  margin-bottom: 14px;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.75;
}

/* Social Tweets & Posts */
.ai-tweets-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ai-tweet-card {
  background: #FFFFFF;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  transition: all 0.15s;
}
.ai-tweet-card:hover {
  border-color: #0284C7;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.08);
}
.ai-tweet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.ai-tweet-badge {
  font-size: 0.76rem;
  font-weight: 800;
  color: #0284C7;
  background: #F0F9FF;
  border: 1px solid #BAE6FD;
  padding: 2px 8px;
  border-radius: 4px;
}
.ai-tweet-body {
  font-size: 0.9rem;
  line-height: 1.6;
  white-space: pre-wrap;
  color: var(--text-main);
}

/* Interactive Quiz */
.ai-quiz-card {
  background: #F8FAFC;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 18px;
  margin-bottom: 14px;
}
.ai-quiz-q {
  font-size: 0.96rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 12px;
}
.ai-quiz-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}
.ai-quiz-option {
  padding: 10px 14px;
  background: #FFFFFF;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.15s;
}
.ai-quiz-option:hover {
  border-color: #059669;
  background: #F0FDF4;
}
.ai-quiz-answer {
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 0.86rem;
  color: #065F46;
  line-height: 1.5;
  margin-top: 10px;
}

/* Floating Mobile Bottom Action Dock (NoteGPT Standard) */
.mobile-action-bar {
  display: none !important;
}

/* Guide & Content Sections */
.guide-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 48px;
  margin-bottom: 48px;
}
.guide-feature-card {
  background: #FFFFFF;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-subtle);
}
.guide-feature-icon {
  font-size: 1.6rem;
  margin-bottom: 12px;
}
.guide-feature-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 6px;
}
.guide-feature-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ==========================================================================
   FAQ ACCORDION COMPONENT (2026 Studio Luxury)
   ========================================================================== */
.faq-container {
  max-width: 100%;
  margin: 0 auto 36px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: #FFFFFF;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.faq-item:hover {
  border-color: #CBD5E1;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}

.faq-item__question {
  width: 100%;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: transparent;
  border: none;
  color: var(--text-main);
  font-size: 1rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  transition: color 0.15s ease;
}

.faq-item__question:hover {
  color: #FF0033;
}

.faq-item__icon {
  width: 20px !important;
  height: 20px !important;
  min-width: 20px;
  min-height: 20px;
  max-width: 20px;
  max-height: 20px;
  color: var(--text-muted);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s;
  flex-shrink: 0;
  stroke: currentColor;
  fill: none;
}

.faq-item.open .faq-item__icon,
.faq-item.active .faq-item__icon {
  transform: rotate(180deg);
  color: #FF0033;
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.open .faq-item__answer,
.faq-item.active .faq-item__answer {
  max-height: 500px;
}

.faq-item__answer-inner {
  padding: 0 24px 20px;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.65;
}

/* Global Toast */
.global-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #090D1A;
  color: #FFFFFF;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 8px;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 999;
}
.global-toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* Studio Footer */
/* Studio Footer */
.studio-footer {
  background: #FFFFFF;
  border-top: 1px solid var(--border-medium);
  padding: 60px 24px 36px;
  color: var(--text-muted);
  margin-top: auto;
  position: relative;
  z-index: 10;
}
.footer-content,
.footer-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 60px;
  margin-bottom: 40px;
}
.footer-brand-pane,
.footer-brand,
.footer-brand-col {
  display: flex;
  flex-direction: column;
}
.footer-brand-pane h3,
.footer-brand h3,
.footer-brand-col h3 {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--text-main);
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}
.footer-brand-pane p,
.footer-brand p,
.footer-brand-col p,
.footer-tagline {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 18px;
}
.footer-nav-grid,
.footer-links-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.footer-col-title {
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-main);
  margin-bottom: 16px;
}
.footer-link {
  display: block;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 10px;
  transition: color 0.15s, transform 0.15s;
}
.footer-link:hover {
  color: var(--brand-primary);
  transform: translateX(2px);
}

.footer-bottom-bar {
  max-width: 1280px;
  margin: 0 auto;
  border-top: 1px solid var(--border-medium);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 12px;
}

/* Responsive */
@media (max-width: 992px) {
  .footer-content,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}
@media (max-width: 640px) {
  .footer-nav-grid,
  .footer-links-group {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
@media (max-width: 768px) {
  .header-inner { padding: 0 16px; }
  .sidebar-trigger { margin-left: 0; }
  .header-left > .brand-mark:first-child { margin-left: 0; }
  .header-center-nav { display: none; }
  .luxury-input-wrapper { flex-direction: column; align-items: stretch; height: auto; padding: 10px; }
  .luxury-input-icon { display: none !important; }
  .btn-extract-primary { width: 100%; justify-content: center; }
  .studio-sidebar {
    position: fixed;
    left: 0;
    top: var(--header-height);
    bottom: 0;
    transform: translateX(-100%);
  }
  body.mobile-sidebar-open .studio-sidebar {
    transform: translateX(0);
  }
}

/* ==========================================================================
   KEYWORD GENERATOR SPECIFIC STYLES (Light Studio Theme)
   ========================================================================== */
.limit-progress-bar {
  width: 100%;
  height: 8px;
  background: #E2E8F0;
  border-radius: var(--radius-full);
  overflow: hidden;
  margin: 12px 0 16px;
}
.limit-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #10B981, #F59E0B);
  border-radius: var(--radius-full);
  transition: width 0.3s ease;
  width: 0%;
}
.limit-progress-fill.over-limit {
  background: #EF4444;
}

.keyword-pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: #FFFFFF;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-pill);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  user-select: none;
  transition: all 0.15s ease;
}
.keyword-pill-tag:hover {
  border-color: #DC2626;
  background: #FEF2F2;
  color: #DC2626;
  transform: translateY(-1px);
}
.keyword-pill-tag.selected {
  background: #FEF2F2;
  border-color: #EF4444;
  color: #DC2626;
  box-shadow: 0 1px 3px rgba(239, 68, 68, 0.15);
}

.quick-samples__pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 13px;
  background: #FFFFFF;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.15s ease;
}
.quick-samples__pill:hover {
  background: #F8FAFC;
  border-color: #090D1A;
  color: #090D1A;
  transform: translateY(-1px);
}

.search-style-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
  width: 100%;
  box-sizing: border-box;
}
.search-style-heading {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.search-style-control {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  max-width: 100%;
}
.search-style-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
  white-space: nowrap;
  flex-shrink: 0;
}
.custom-select-box {
  position: relative;
  min-width: 0;
  max-width: 100%;
  display: flex;
  align-items: center;
}
.custom-select-box select,
.custom-select {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 6px 28px 6px 12px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-main);
  background: #FFFFFF;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  outline: none;
  cursor: pointer;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
}
.custom-select-box select:focus,
.custom-select:focus {
  border-color: #090D1A;
}

/* Trending Categories & Rails */
.trending-categories-section {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
  width: 100%;
  box-sizing: border-box;
}
.trending-categories-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
  width: 100%;
  box-sizing: border-box;
}
.trending-categories-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  white-space: nowrap;
}
.trending-header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.btn-scroll-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: var(--bg-subtle);
  border: 1.5px solid var(--border-medium);
  color: var(--text-main);
  cursor: pointer;
  transition: all 0.15s ease;
  padding: 0;
  flex-shrink: 0;
}
.btn-scroll-arrow:hover {
  background: #FFFFFF;
  border-color: #090D1A;
  color: #090D1A;
}
.btn-scroll-arrow:active {
  transform: scale(0.92);
}
.btn-shuffle-topics {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.76rem;
  font-weight: 600;
  height: 32px;
  padding: 0 12px;
  border-radius: var(--radius-sm);
  background: var(--bg-subtle);
  border: 1.5px solid var(--border-medium);
  color: var(--text-secondary);
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.15s ease;
}
.btn-shuffle-topics:hover {
  background: #FFFFFF;
  border-color: #090D1A;
  color: var(--text-main);
}
.category-scroll-rail,
.topics-scroll-rail {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x pan-y;
  gap: 8px;
  padding: 4px 28px 6px 2px;
  width: 100%;
  box-sizing: border-box;
  scrollbar-width: thin;
  scrollbar-color: #CBD5E1 #F1F5F9;
}
.category-scroll-rail::-webkit-scrollbar,
.topics-scroll-rail::-webkit-scrollbar {
  height: 5px;
  display: block;
}
.category-scroll-rail::-webkit-scrollbar-track,
.topics-scroll-rail::-webkit-scrollbar-track {
  background: #F1F5F9;
  border-radius: 9999px;
}
.category-scroll-rail::-webkit-scrollbar-thumb,
.topics-scroll-rail::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 9999px;
}
.category-scroll-rail::-webkit-scrollbar-thumb:hover,
.topics-scroll-rail::-webkit-scrollbar-thumb:hover {
  background: #94A3B8;
}
.category-scroll-rail .transcript-tab-btn {
  flex-shrink: 0;
  white-space: nowrap;
  padding: 7px 15px;
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: 9999px;
}
.topics-scroll-rail .quick-samples__pill {
  flex-shrink: 0;
  white-space: nowrap;
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 9999px;
  background: #FFFFFF;
  border: 1px solid var(--border-medium);
  color: var(--text-secondary);
}

/* Custom Visible Scrollbar Line (Touch & Drag Enabled) */
.scroll-track-container {
  width: 100%;
  padding: 4px 2px 10px 2px;
  box-sizing: border-box;
  touch-action: none;
}
.scroll-track-bar {
  width: 100%;
  height: 28px;
  display: flex;
  align-items: center;
  position: relative;
  cursor: grab;
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
}
.scroll-track-bar:active {
  cursor: grabbing;
}
.scroll-track-bar::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 6px;
  background: #E2E8F0;
  border-radius: 9999px;
  pointer-events: none;
  transition: background-color 0.15s ease;
}
.scroll-track-bar:hover::before {
  background: #CBD5E1;
}
.scroll-track-thumb {
  height: 10px;
  width: 32%;
  background: #090D1A;
  border-radius: 9999px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  cursor: grab;
  touch-action: none;
  pointer-events: auto !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.22);
  transition: background-color 0.15s ease, height 0.15s ease;
}
.scroll-track-thumb:active,
.scroll-track-thumb.is-dragging {
  cursor: grabbing;
  background: #FF0033 !important;
  height: 12px;
  box-shadow: 0 2px 8px rgba(255, 0, 51, 0.4);
}

@media (min-width: 900px) {
  .category-scroll-rail {
    flex-wrap: wrap;
    overflow-x: visible;
    padding-right: 2px;
  }
  .topics-scroll-rail {
    flex-wrap: wrap;
    overflow-x: visible;
    padding-right: 2px;
  }
  .scroll-track-container {
    display: none !important;
  }
  .btn-scroll-arrow {
    display: none !important;
  }
}

#bundle-raw-text {
  background: #F8FAFC !important;
  border: 1px solid var(--border-medium) !important;
  color: var(--text-main) !important;
}

/* ==========================================================================
   HERO LUXURY SECTION (SEO & GROWTH SUITE)
   ========================================================================== */
.hero-container {
  padding: 16px 24px 20px;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #FFFFFF;
  border: 1px solid var(--border-medium);
  padding: 5px 16px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-subtle);
  margin-bottom: 14px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-eyebrow:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
  border-color: #CBD5E1;
}
.hero-pulse-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FFF1F2;
  color: #E11D48;
  border: 1px solid #FFE4E6;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
}
.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #E11D48;
  box-shadow: 0 0 0 0 rgba(225, 29, 72, 0.7);
  animation: pulse-ring 1.8s infinite;
}
@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(225, 29, 72, 0.6); }
  70% { box-shadow: 0 0 0 6px rgba(225, 29, 72, 0); }
  100% { box-shadow: 0 0 0 0 rgba(225, 29, 72, 0); }
}
.hero-eyebrow-divider {
  width: 1px;
  height: 12px;
  background: #CBD5E1;
}
.hero-eyebrow-text {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.hero-title-main {
  font-size: clamp(2.2rem, 4.2vw, 3.5rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.14;
  color: var(--text-main);
  max-width: 980px;
  margin: 0 auto 12px;
}
.hero-title-main .gradient-text {
  background: linear-gradient(135deg, #090D1A 0%, #1E293B 40%, #E11D48 85%, #FF0033 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle-text {
  font-size: clamp(0.98rem, 1.5vw, 1.15rem);
  font-weight: 500;
  color: var(--text-muted);
  max-width: 820px;
  margin: 0 auto 18px;
  line-height: 1.55;
}

.hero-seo-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  max-width: 960px;
  margin: 0 auto 20px;
}
.seo-pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #FFFFFF;
  border: 1px solid var(--border-medium);
  padding: 5px 13px;
  border-radius: var(--radius-pill);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
  font-size: 0.8rem;
  color: var(--text-secondary);
  transition: all 0.18s ease;
}
.seo-pill-tag:hover {
  transform: translateY(-2px);
  border-color: var(--border-focus);
  color: var(--text-main);
  box-shadow: 0 6px 16px -4px rgba(15, 23, 42, 0.08);
}
.seo-pill-tag .pill-icon {
  font-size: 0.92rem;
}
.seo-pill-tag strong {
  color: var(--text-main);
  font-weight: 700;
}

.hero-cta-bar {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #090D1A;
  color: #FFFFFF;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 16px rgba(9, 13, 26, 0.2);
  transition: all 0.18s ease;
}
.btn-hero-primary:hover {
  background: #1E293B;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(9, 13, 26, 0.25);
  color: #FFFFFF;
}
.btn-hero-primary svg {
  width: 15px;
  height: 15px;
  transition: transform 0.2s ease;
}
.btn-hero-primary:hover svg {
  transform: translateY(2px);
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FFFFFF;
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-medium);
  box-shadow: var(--shadow-subtle);
  transition: all 0.18s ease;
}
.btn-hero-secondary:hover {
  background: var(--bg-subtle);
  border-color: #CBD5E1;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
  color: var(--text-main);
}
.btn-hero-secondary svg {
  width: 13px;
  height: 13px;
  color: var(--brand-primary);
}

.hero-trust-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  flex-wrap: wrap;
}
.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.trust-item svg {
  width: 14px;
  height: 14px;
  color: #10B981;
}
.trust-dot {
  color: #CBD5E1;
  font-weight: 900;
}

/* ==========================================================================
   KEYWORD GENERATOR DEDICATED STYLES
   ========================================================================== */
.keyword-card {
  padding: 24px 28px;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}
.keyword-input-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 4px 6px 4px 16px;
  background: #F8FAFC;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  margin: 14px 0;
  transition: all 0.2s ease;
}
.keyword-input-wrapper:focus-within {
  background: #FFFFFF;
  border-color: #090D1A;
  box-shadow: 0 0 0 3px rgba(9, 13, 26, 0.08);
}

/* ==========================================================================
   TOOL ERROR & LOADING NOTICES (Studio Luxury)
   ========================================================================== */
.tool-error {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: #FEF2F2;
  border: 1px solid #FCA5A5;
  border-radius: var(--radius-md);
  color: #DC2626;
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 16px;
  box-shadow: 0 1px 3px rgba(239, 68, 68, 0.08);
}
.tool-error__icon {
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  min-height: 20px !important;
  max-width: 20px !important;
  max-height: 20px !important;
  flex-shrink: 0;
  stroke: #DC2626;
}
.tool-error__text {
  line-height: 1.5;
  color: #B91C1C;
}

.tool-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 48px 24px;
}
.tool-loading__spinner {
  width: 36px;
  height: 36px;
  border: 3px solid #E2E8F0;
  border-top-color: var(--brand-primary);
  border-radius: 50%;
  animation: tool-spin 0.75s linear infinite;
}
@keyframes tool-spin {
  to { transform: rotate(360deg); }
}
.tool-loading__text {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
}

@keyframes input-shake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-6px); }
  40%, 80% { transform: translateX(6px); }
}
.input-error-shake {
  animation: input-shake 0.4s ease-in-out;
  border-color: #EF4444 !important;
}

/* ==========================================================================
   KEYWORD INTELLIGENCE ENGINE (Competitor-Beating Multi-Tab Suite)
   ========================================================================== */
.kw-results-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 20px 24px;
  background: #FFFFFF;
  border-bottom: 1px solid var(--border-medium);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.kw-results-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
}
.kw-results-title svg {
  color: var(--brand-primary);
}
.kw-results-meta {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-top: 4px;
}
.kw-results-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* Tab Navigation Bar */
.kw-tabs-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  background: #F8FAFC;
  border-bottom: 1px solid var(--border-medium);
  overflow-x: auto;
  scrollbar-width: thin;
}
.kw-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-secondary);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.16s ease;
}
.kw-tab-btn:hover {
  background: #FFFFFF;
  color: var(--text-main);
  border-color: var(--border-medium);
}
.kw-tab-btn.active {
  background: #090D1A;
  color: #FFFFFF;
  border-color: #090D1A;
  box-shadow: 0 2px 8px rgba(9, 13, 26, 0.16);
}
.kw-tab-badge {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 10px;
  font-size: 0.72rem;
  font-weight: 800;
  background: rgba(15, 23, 42, 0.08);
  color: inherit;
}
.kw-tab-btn.active .kw-tab-badge {
  background: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
}

/* In-Results Search & Filter Toolbar */
.kw-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 14px 20px;
  background: #FFFFFF;
  border-bottom: 1px solid var(--border-subtle);
}
.kw-search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #F8FAFC;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  flex: 1;
  max-width: 340px;
  transition: all 0.18s ease;
}
.kw-search-box:focus-within {
  background: #FFFFFF;
  border-color: #090D1A;
  box-shadow: 0 0 0 2px rgba(9, 13, 26, 0.06);
}
.kw-search-input {
  border: none;
  background: transparent;
  outline: none;
  font-size: 0.84rem;
  color: var(--text-main);
  width: 100%;
}
.kw-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Metric Badges (vidIQ / Ahrefs Style) */
.badge-vol {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 0.74rem;
  font-weight: 700;
}
.badge-vol-vhigh {
  background: #ECFDF5;
  color: #047857;
  border: 1px solid #A7F3D0;
}
.badge-vol-high {
  background: #EFF6FF;
  color: #1D4ED8;
  border: 1px solid #BFDBFE;
}
.badge-vol-med {
  background: #F8FAFC;
  color: #475569;
  border: 1px solid #E2E8F0;
}

.badge-comp {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 0.74rem;
  font-weight: 700;
}
.badge-comp-low {
  background: #ECFDF5;
  color: #065F46;
  border: 1px solid #6EE7B7;
}
.badge-comp-med {
  background: #FFFBEB;
  color: #92400E;
  border: 1px solid #FDE68A;
}
.badge-comp-high {
  background: #FEF2F2;
  color: #991B1B;
  border: 1px solid #FECACA;
}

/* Data Table / List Rows */
.kw-grid-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 20px;
}
.kw-card-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: #FFFFFF;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  transition: all 0.16s ease;
  gap: 12px;
}
.kw-card-row:hover {
  border-color: #CBD5E1;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  transform: translateY(-1px);
}
.kw-row-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1;
}
.kw-term-text {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-main);
  word-break: break-word;
}
.kw-row-metrics {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.kw-score-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  background: #F1F5F9;
  color: var(--text-main);
}
.kw-score-badge.high {
  background: #ECFDF5;
  color: #059669;
}

/* High-CTR Title Cards */
.kw-titles-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px 20px;
}
.kw-title-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  background: #F8FAFC;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  transition: all 0.16s ease;
}
.kw-title-item:hover {
  background: #FFFFFF;
  border-color: #090D1A;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}
.kw-title-type {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand-primary);
  margin-bottom: 4px;
}
.kw-title-text {
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.4;
}

/* Hashtags Grid */
.kw-hashtags-box {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 16px 20px;
}
.kw-hashtag-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  border-radius: var(--radius-pill);
  font-size: 0.84rem;
  font-weight: 700;
  color: #1E40AF;
  cursor: pointer;
  transition: all 0.15s ease;
}
.kw-hashtag-pill:hover {
  background: #DBEAFE;
  transform: translateY(-1px);
}


/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 992px) {
  .footer-content { grid-template-columns: 1fr; }
  .tool-workbench-container { padding: 32px 20px 48px; }
}
@media (max-width: 768px) {
  .header-center-nav { display: none; }
  .header-right .status-indicator { display: none; }
  .keyword-card {
    padding: 16px 14px !important;
    border-radius: 18px !important;
  }
  .search-style-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .search-style-heading {
    font-size: 0.88rem;
  }
  .search-style-control {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    box-sizing: border-box;
    min-width: 0;
  }
  .search-style-control .custom-select-box {
    flex: 1;
    min-width: 0;
    max-width: calc(100% - 96px);
  }
  .keyword-input-wrapper, .luxury-input-wrapper {
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    gap: 10px;
  }
  .luxury-input-icon { display: none !important; }
  .input-with-paste { width: 100%; }
  .btn-extract-primary { width: 100%; justify-content: center; }
  
  .studio-sidebar {
    position: fixed;
    left: 0;
    top: var(--header-height);
    bottom: 0;
    transform: translateX(-100%);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.15);
  }
  body.mobile-sidebar-open .studio-sidebar {
    transform: translateX(0);
  }

  /* Floating Mobile Bottom Action Dock */
  .mobile-action-bar {
    display: flex !important;
    position: fixed;
    bottom: 14px;
    left: 14px;
    right: 14px;
    z-index: 1500;
    background: rgba(9, 13, 26, 0.94);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 9999px;
    padding: 6px 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(16, 185, 129, 0.15);
    align-items: center;
    justify-content: space-around;
    gap: 4px;
    animation: dockSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  }

  @keyframes dockSlideUp {
    from { transform: translateY(100px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
  }

  .mobile-dock-btn {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    background: transparent;
    border: none;
    color: #94A3B8;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 6px 8px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    flex: 1;
    min-height: 44px;
    text-decoration: none;
  }

  .mobile-dock-btn svg {
    width: 17px;
    height: 17px;
  }

  .mobile-dock-btn:active {
    background: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    transform: scale(0.95);
  }

  .mobile-dock-btn--primary {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: #FFFFFF !important;
    border-radius: 9999px;
    box-shadow: 0 2px 10px rgba(16, 185, 129, 0.4);
    padding: 6px 12px;
  }
}

/* ==========================================================================
   YOUTUBE TAG EXTRACTOR (2026 Studio Luxury Theme)
   ========================================================================== */

.tags-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 20px 24px;
  background: #FFFFFF;
}

/* Luxury Interactive Tag Badge (vidIQ / TubeBuddy Standard) */
.tag-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  background: #F8FAFC;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-pill);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  user-select: none;
  transition: all 0.16s ease;
  position: relative;
}

.tag-badge:hover {
  background: #FFFFFF;
  border-color: #090D1A;
  color: var(--text-main);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.tag-badge.selected {
  background: #EFF6FF;
  border-color: #3B82F6;
  color: #1D4ED8;
  box-shadow: 0 1px 4px rgba(59, 130, 246, 0.15);
}

.tag-badge.tag-badge--suggested {
  background: #FAF5FF;
  border-color: #E9D5FF;
  color: #6B21A8;
  padding: 6px 10px 6px 14px;
}

.tag-badge.tag-badge--suggested:hover {
  background: #F5EEFD;
  border-color: #A855F7;
  box-shadow: 0 4px 14px rgba(168, 85, 247, 0.15);
}

.tag-badge.tag-badge--suggested .tag-badge-hash {
  color: #A855F7;
}

.tag-badge-add-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 700;
  border: 1px solid rgba(126, 34, 206, 0.25);
  background: #FFFFFF;
  color: #7E22CE;
  cursor: pointer;
  transition: all 0.15s ease;
  line-height: 1;
}

.tag-badge-add-btn:hover {
  background: #7E22CE;
  color: #FFFFFF;
  border-color: #7E22CE;
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(126, 34, 206, 0.25);
}

.tag-badge-add-btn.is-added {
  background: #ECFDF5;
  color: #059669;
  border-color: #A7F3D0;
  cursor: default;
  transform: none;
  box-shadow: none;
}

.tag-badge-add-btn.is-added:hover {
  background: #D1FAE5;
  color: #047857;
  border-color: #6EE7B7;
}

.tag-action-btn--purple {
  background: linear-gradient(135deg, #7E22CE 0%, #6B21A8 100%) !important;
  color: #FFFFFF !important;
  border: none !important;
  box-shadow: 0 2px 8px rgba(126, 34, 206, 0.3) !important;
}

.tag-action-btn--purple:hover {
  background: linear-gradient(135deg, #6B21A8 0%, #581C87 100%) !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 14px rgba(126, 34, 206, 0.45) !important;
}

.tag-source-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 3px 10px;
  border-radius: 9999px;
  background: rgba(126, 34, 206, 0.08);
  color: #7E22CE;
  border: 1px solid rgba(126, 34, 206, 0.2);
}

.tag-source-chip--live {
  background: #ECFDF5;
  color: #065F46;
  border-color: #A7F3D0;
}

.tag-source-chip .pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10B981;
  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 5px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.tag-badge-check {
  width: 14px;
  height: 14px;
  border: 1.5px solid #94A3B8;
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.12s;
  background: #FFFFFF;
}

.tag-badge.selected .tag-badge-check {
  background: #3B82F6;
  border-color: #3B82F6;
}

.tag-badge.selected .tag-badge-check::after {
  content: '';
  width: 4px;
  height: 8px;
  border: solid #FFFFFF;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) translate(-0.5px, -1px);
}

.tag-badge-text {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.tag-badge-hash {
  color: #94A3B8;
  font-weight: 700;
  font-size: 0.8rem;
}

.tag-char-chip {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.05);
  color: var(--text-muted);
}

.tag-badge.selected .tag-char-chip {
  background: #DBEAFE;
  color: #1E40AF;
}

.tag-copy-btn {
  background: transparent;
  border: none;
  padding: 0;
  color: var(--text-muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  opacity: 0.5;
  transition: opacity 0.15s, color 0.15s;
}

.tag-badge:hover .tag-copy-btn {
  opacity: 1;
}

.tag-copy-btn:hover {
  color: #090D1A;
}

/* Tag Studio Toolbar */
/* Multilingual Regional Language Switcher Bar */
.transcript-lang-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(139, 92, 246, 0.04) 100%);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: var(--radius-md);
  padding: 10px 16px;
  margin: 14px 0 16px;
}
.transcript-lang-bar__left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.transcript-lang-title {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #4338CA;
  display: flex;
  align-items: center;
  gap: 6px;
}
.lang-detected-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  color: #1D4ED8;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}
.transcript-lang-bar__pills {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.lang-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-secondary);
  background: #FFFFFF;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}
.lang-pill-btn:hover {
  background: #F8FAFC;
  border-color: #CBD5E1;
  color: var(--text-main);
}
.lang-pill-btn.active {
  background: #4338CA;
  color: #FFFFFF;
  border-color: #4338CA;
  box-shadow: 0 2px 8px rgba(67, 56, 202, 0.25);
}
.lang-pill-btn--highlight {
  background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 100%);
  border: 1px solid #F59E0B;
  color: #B45309;
  font-weight: 800;
}
.lang-pill-btn--highlight:hover {
  background: #FEF3C7;
  border-color: #D97706;
}
.lang-pill-btn--highlight.active {
  background: #D97706;
  color: #FFFFFF;
  border-color: #D97706;
  box-shadow: 0 2px 8px rgba(217, 119, 6, 0.3);
}
.lang-select-wrapper {
  position: relative;
  display: inline-block;
}
.lang-select-dropdown {
  padding: 5px 12px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-secondary);
  background: #FFFFFF;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-pill);
  outline: none;
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: inherit;
}
.lang-select-dropdown:hover, .lang-select-dropdown:focus {
  border-color: #4338CA;
  color: #4338CA;
}
.lang-translating-shimmer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  background: linear-gradient(90deg, #EEF2FF 0%, #FAF5FF 50%, #EEF2FF 100%);
  background-size: 200% 100%;
  animation: langShimmer 2s infinite linear;
  border: 1px solid #C7D2FE;
  border-radius: var(--radius-md);
  color: #4338CA;
  font-size: 0.86rem;
  font-weight: 700;
  margin: 12px 0;
}
@keyframes langShimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.tag-studio-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 14px 24px;
  background: #F8FAFC;
  border-bottom: 1px solid var(--border-medium);
}

.tag-toolbar-left {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

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

.tag-action-btn {
  padding: 6px 13px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-secondary);
  background: #FFFFFF;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s ease;
}

.tag-action-btn:hover {
  background: #FFFFFF;
  border-color: #090D1A;
  color: var(--text-main);
  transform: translateY(-1px);
}

.tag-action-btn--primary {
  background: linear-gradient(135deg, #FF0033 0%, #E6002E 100%);
  color: #FFFFFF;
  border: none;
  box-shadow: 0 2px 8px rgba(255, 0, 51, 0.3);
}

.tag-action-btn--primary:hover {
  background: linear-gradient(135deg, #E6002E 0%, #CC0029 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(255, 0, 51, 0.45);
}

.tag-action-btn--success {
  background: #ECFDF5;
  color: #065F46;
  border-color: #A7F3D0;
}

.tag-action-btn--success:hover {
  background: #D1FAE5;
  border-color: #6EE7B7;
  color: #064E3B;
}

.tag-search-input {
  padding: 6px 12px;
  font-size: 0.82rem;
  background: #FFFFFF;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  outline: none;
  width: 190px;
  transition: all 0.15s;
}

.tag-search-input:focus {
  border-color: #090D1A;
  box-shadow: 0 0 0 2px rgba(9, 13, 26, 0.08);
}

/* 500-Character Dynamic Meter */
.tag-meter-container {
  padding: 12px 24px;
  background: #FFFFFF;
  border-bottom: 1px solid var(--border-subtle);
}

.tag-meter-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.tag-meter-label {
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.tag-meter-stat {
  font-family: var(--font-mono);
  font-size: 0.84rem;
  font-weight: 800;
}

.tag-meter-bar {
  width: 100%;
  height: 8px;
  background: #F1F5F9;
  border-radius: var(--radius-full);
  overflow: hidden;
}

.tag-meter-fill {
  height: 100%;
  border-radius: var(--radius-full);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s;
  background: linear-gradient(90deg, #10B981, #059669);
}

.tag-meter-fill.warning {
  background: linear-gradient(90deg, #F59E0B, #D97706);
}

.tag-meter-fill.danger {
  background: linear-gradient(90deg, #EF4444, #DC2626);
}

/* Formatted Studio Raw Area */
.tag-studio-raw-box {
  padding: 16px 24px 20px;
  background: #FAFBFC;
  border-top: 1px solid var(--border-medium);
}

.tag-studio-raw-box label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.tag-studio-raw-textarea {
  width: 100%;
  height: 76px;
  font-family: var(--font-mono);
  font-size: 0.84rem;
  line-height: 1.5;
  padding: 12px;
  background: #FFFFFF;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  resize: none;
  outline: none;
}

.tag-studio-raw-textarea:focus {
  border-color: #090D1A;
}




/* ==========================================================================
   YOUTUBE TITLE EXTRACTOR — 2026 LUXURY STUDIO STYLES
   vidIQ & CoSchedule Headline Studio Competitor Grade
   ========================================================================== */

/* Video Preview Component */
.title-video-preview {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 20px;
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 18px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-card);
  align-items: center;
}

@media (max-width: 680px) {
  .title-video-preview {
    grid-template-columns: 1fr;
  }
}

.title-video-preview__thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #000000;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.title-video-preview__thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.title-video-preview__badge {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.82);
  color: #FFFFFF;
  font-family: var(--font-mono, monospace);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 6px;
  border-radius: 4px;
  letter-spacing: 0.02em;
}

.title-video-preview__details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

.title-video-preview__channel-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.title-video-preview__channel-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FF0033 0%, #E6002E 100%);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
}

.title-video-preview__meta-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.title-video-preview__meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #F8FAFC;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-medium);
}

/* Title Workbench Card */
.title-workbench-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-card);
}

.title-workbench-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.title-workbench-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
}

.title-char-meter-container {
  margin-bottom: 18px;
  background: #F8FAFC;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 16px;
}

.title-char-meter-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  margin-bottom: 8px;
}

.title-char-meter-label {
  font-weight: 700;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.title-char-counter-badge {
  font-family: var(--font-mono, monospace);
  font-weight: 800;
  font-size: 0.85rem;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  background: #FFFFFF;
  border: 1px solid var(--border-medium);
}

.title-char-meter-bar {
  width: 100%;
  height: 8px;
  background: #E2E8F0;
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-bottom: 6px;
}

.title-char-meter-fill {
  height: 100%;
  border-radius: var(--radius-full);
  transition: width 0.3s ease, background 0.3s ease;
}

.title-char-meter-note {
  font-size: 0.76rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.title-display-box {
  background: #F8FAFC;
  border: 1.5px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  margin-bottom: 18px;
  position: relative;
  transition: all 0.2s ease;
}

.title-display-box:focus-within,
.title-display-box:hover {
  border-color: #090D1A;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
}

.title-text-main {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.45;
  letter-spacing: -0.01em;
  word-break: break-word;
}

/* 1-Click Converters Toolbar */
.title-tools-toolbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
}

.title-tool-btn {
  padding: 7px 13px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-secondary);
  background: #FFFFFF;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s ease;
}

.title-tool-btn:hover {
  background: #F8FAFC;
  border-color: #090D1A;
  color: var(--text-main);
  transform: translateY(-1px);
}

.title-tool-btn--primary {
  background: linear-gradient(135deg, #FF0033 0%, #E6002E 100%);
  color: #FFFFFF !important;
  border: none !important;
  box-shadow: 0 2px 8px rgba(255, 0, 51, 0.3);
}

.title-tool-btn--primary:hover {
  background: linear-gradient(135deg, #E6002E 0%, #CC0029 100%);
  box-shadow: 0 4px 14px rgba(255, 0, 51, 0.45);
}

.title-tool-btn--accent {
  background: #EEF2FF;
  border-color: #C7D2FE;
  color: #4338CA;
}

.title-tool-btn--accent:hover {
  background: #E0E7FF;
  border-color: #A5B4FC;
  color: #3730A3;
}

/* ==========================================================================
   HEADLINE POWER SCORE CARD (vidIQ / CoSchedule Level)
   ========================================================================== */
.headline-score-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 26px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-card);
}

.headline-score-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-subtle);
}

.headline-score-summary {
  display: flex;
  align-items: center;
  gap: 20px;
}

.score-badge-circle {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono, monospace);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  flex-shrink: 0;
}

.score-badge-number {
  font-size: 1.7rem;
  font-weight: 900;
  line-height: 1;
}

.score-badge-denom {
  font-size: 0.65rem;
  opacity: 0.85;
  font-weight: 700;
  margin-top: 2px;
}

.score-grade-info h3 {
  margin: 0 0 4px;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-main);
}

.score-grade-info p {
  margin: 0;
  font-size: 0.84rem;
  color: var(--text-muted);
}

/* Audit Grid */
.score-audit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}

.score-audit-item {
  background: #F8FAFC;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: all 0.15s ease;
}

.score-audit-item:hover {
  background: #FFFFFF;
  border-color: #CBD5E1;
  transform: translateY(-1px);
}

.score-audit-item-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.score-audit-item-label {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.audit-status-pill {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
}

.audit-status-pill.pass {
  background: #ECFDF5;
  color: #065F46;
  border: 1px solid #A7F3D0;
}

.audit-status-pill.warn {
  background: #FFFBEB;
  color: #92400E;
  border: 1px solid #FDE68A;
}

.audit-status-pill.info {
  background: #EFF6FF;
  color: #1E40AF;
  border: 1px solid #BFDBFE;
}

.score-audit-item-value {
  font-size: 0.96rem;
  font-weight: 800;
  color: var(--text-main);
}

.score-audit-item-desc {
  font-size: 0.76rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Recommendations Box */
.score-recommendations-box {
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  border-radius: var(--radius-md);
  padding: 16px 20px;
}

.score-recommendations-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: #166534;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.score-recommendations-list {
  margin: 0;
  padding-left: 20px;
  font-size: 0.82rem;
  color: #14532D;
  line-height: 1.6;
}

/* ==========================================================================
   SERP & MOBILE FEED SIMULATOR
   ========================================================================== */
.serp-simulator-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-card);
}

.serp-simulator-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.serp-tab-group {
  display: inline-flex;
  background: #F1F5F9;
  padding: 4px;
  border-radius: var(--radius-pill);
  gap: 4px;
}

.serp-tab-btn {
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  background: transparent;
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.15s ease;
}

.serp-tab-btn.active {
  background: #FFFFFF;
  color: var(--text-main);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

/* Mobile Feed Mock Container */
.serp-mobile-wrap {
  display: flex;
  justify-content: center;
  padding: 20px 0;
}

.serp-mobile-phone {
  width: 100%;
  max-width: 400px;
  background: #FFFFFF;
  border: 1px solid var(--border-medium);
  border-radius: 24px;
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.serp-mobile-header {
  padding: 12px 16px;
  border-bottom: 1px solid #F1F5F9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  font-weight: 800;
  color: #0F172A;
}

.serp-mobile-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.serp-mobile-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.serp-mobile-duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.85);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
}

.serp-mobile-meta-box {
  padding: 14px 16px;
  display: flex;
  gap: 12px;
}

.serp-mobile-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FF0033 0%, #E6002E 100%);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.serp-mobile-info {
  flex: 1;
  min-width: 0;
}

.serp-mobile-title {
  font-size: 0.94rem;
  font-weight: 700;
  color: #0F172A;
  line-height: 1.35;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.serp-mobile-subline {
  font-size: 0.78rem;
  color: #64748B;
  line-height: 1.4;
}

.serp-truncation-alert {
  padding: 10px 16px;
  background: #FFFBEB;
  border-top: 1px solid #FDE68A;
  font-size: 0.76rem;
  color: #92400E;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Desktop SERP View */
.serp-desktop-wrap {
  padding: 16px 0;
}

.serp-desktop-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 16px;
  padding: 16px;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}

@media (max-width: 640px) {
  .serp-desktop-card {
    grid-template-columns: 1fr;
  }
}

.serp-desktop-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #000;
}

.serp-desktop-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.serp-desktop-content {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.serp-desktop-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #090D1A;
  line-height: 1.35;
  cursor: pointer;
}

.serp-desktop-title:hover {
  color: #FF0033;
}

.serp-desktop-meta {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.serp-desktop-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.4;
  margin-top: 4px;
}

/* ==========================================================================
   AI VIRAL HOOK VARIATIONS (SWIPE FILE)
   ========================================================================== */
.hook-variations-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-card);
}

.hook-variations-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.hook-card-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hook-item-card {
  background: #F8FAFC;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: all 0.15s ease;
}

.hook-item-card:hover {
  background: #FFFFFF;
  border-color: #090D1A;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
  transform: translateY(-1px);
}

.hook-item-left {
  flex: 1;
  min-width: 0;
}

.hook-item-badges {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.hook-type-badge {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
}

.hook-char-chip {
  font-family: var(--font-mono, monospace);
  font-size: 0.7rem;
  color: var(--text-muted);
}

.hook-title-text {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.4;
  word-break: break-word;
}

.hook-copy-btn {
  padding: 7px 14px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-secondary);
  background: #FFFFFF;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  transition: all 0.15s ease;
}

.hook-copy-btn:hover {
  background: #090D1A;
  border-color: #090D1A;
  color: #FFFFFF;
}

/* Master Toolbar */
.title-export-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
  padding: 16px 20px;
  background: #F8FAFC;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
}

/* ==========================================================================
   ✨ GEMINI AI VIRAL REWRITE STUDIO (2026 LUXURY SUITE)
   ========================================================================== */
.ai-studio-card {
  background: linear-gradient(180deg, #FFFFFF 0%, #FAFAFE 100%);
  border: 1px solid #E0E7FF;
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.08);
  position: relative;
  overflow: hidden;
}

.ai-studio-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #6366F1, #8B5CF6, #EC4899, #10B981);
}

.ai-studio-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.ai-studio-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ai-studio-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #EEF2FF 0%, #F5F3FF 100%);
  border: 1px solid #C7D2FE;
  color: #4338CA;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}

.ai-pulse-sparkle {
  color: #6366F1;
  display: inline-block;
  animation: ai-sparkle-pulse 2s infinite ease-in-out;
}

@keyframes ai-sparkle-pulse {
  0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.8; }
  50% { transform: scale(1.25) rotate(15deg); opacity: 1; filter: drop-shadow(0 0 6px rgba(99, 102, 241, 0.5)); }
}

.ai-hook-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-md);
  padding: 16px 18px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  margin-bottom: 12px;
}

.ai-hook-card:last-child {
  margin-bottom: 0;
}

.ai-hook-card:hover {
  border-color: #818CF8;
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.12);
  transform: translateY(-1px);
}

.ai-hook-strategy {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  font-size: 0.78rem;
  color: #475569;
  line-height: 1.35;
}

.ai-hook-strategy svg {
  color: #F59E0B;
  flex-shrink: 0;
}

.btn-ai-generate {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  font-size: 0.84rem;
  font-weight: 700;
  color: #FFFFFF;
  background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(79, 70, 229, 0.25);
  transition: all 0.2s ease;
}

.btn-ai-generate:hover {
  background: linear-gradient(135deg, #4338CA 0%, #6D28D9 100%);
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.38);
  transform: translateY(-1px);
}

.btn-ai-generate:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.ai-shimmer-loader {
  padding: 32px 20px;
  text-align: center;
  background: #F8FAFC;
  border: 1px dashed #CBD5E1;
  border-radius: var(--radius-md);
}

.ai-shimmer-spinner {
  display: inline-block;
  width: 28px;
  height: 28px;
  border: 3px solid #EEF2FF;
  border-top-color: #6366F1;
  border-radius: 50%;
  animation: ai-spin 0.8s linear infinite;
  margin-bottom: 10px;
}

@keyframes ai-spin {
  to { transform: rotate(360deg); }
}

/* AI Chapters & Description Formatting */
.ai-chapter-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.ai-chapter-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-md);
  transition: all 0.15s ease;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  gap: 10px;
}

.ai-chapter-item:hover {
  background: #FFFFFF;
  border-color: #6366F1;
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.08);
}

.ai-chapter-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
}

.ai-chapter-time {
  background: #EEF2FF;
  color: #4F46E5;
  border: 1px solid #C7D2FE;
  padding: 3px 8px;
  border-radius: 6px;
  font-family: var(--font-mono, monospace);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s;
  flex-shrink: 0;
  white-space: nowrap;
}

.ai-chapter-time:hover {
  background: #4F46E5;
  color: #FFFFFF;
}

.ai-chapter-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-main, #0F172A);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  flex: 1 1 auto;
}

.ai-chapter-desc-box {
  background: #0F172A;
  color: #F8FAFC;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  font-family: var(--font-mono, monospace);
  font-size: 0.85rem;
  line-height: 1.7;
  white-space: pre-wrap;
  word-break: break-word;
  overflow-wrap: break-word;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  margin-top: 14px;
  position: relative;
}

/* ==========================================================================
   DESCRIPTION STUDIO & ANALYSIS SUITE (Tool 6 Luxury 2026)
   ========================================================================== */
.output-area {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.desc-studio-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  margin-top: 24px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

/* 5,000-Character Budget Meter */
.desc-gauge-card {
  background: #FFFFFF;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  box-shadow: var(--shadow-subtle);
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  overflow: hidden;
}

.desc-gauge-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}

.desc-gauge-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  min-width: 0;
}

.desc-gauge-stats {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  font-weight: 700;
  flex-wrap: wrap;
  min-width: 0;
}

.desc-meter-bar {
  width: 100%;
  height: 10px;
  background: #E2E8F0;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 12px;
}

.desc-meter-fill {
  height: 100%;
  border-radius: 999px;
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease;
}

.desc-meter-tip {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.5;
  word-break: break-word;
  overflow-wrap: break-word;
}

/* Above-The-Fold vs Below-The-Fold Card */
.desc-fold-card {
  background: #FFFFFF;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  box-shadow: var(--shadow-subtle);
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  overflow: hidden;
}

.desc-fold-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 10px;
  min-width: 0;
}

.desc-fold-badge-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.desc-fold-sim-box {
  background: #F8FAFC;
  border: 1px solid #CBD5E1;
  border-radius: var(--radius-md);
  padding: 16px 18px;
  position: relative;
  font-size: 0.92rem;
  line-height: 1.6;
  color: #1E293B;
  word-break: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
  box-sizing: border-box;
}

.desc-fold-visible {
  font-weight: 600;
  color: #0F172A;
  background: rgba(254, 240, 138, 0.35);
  padding: 2px 4px;
  border-radius: 4px;
  border-bottom: 2px solid #EAB308;
  word-break: break-word;
  overflow-wrap: break-word;
}

.desc-fold-more-btn {
  display: inline-block;
  color: #0284C7;
  font-weight: 700;
  cursor: pointer;
  margin-left: 6px;
}

.desc-fold-hidden {
  color: #64748B;
  opacity: 0.75;
  word-break: break-word;
  overflow-wrap: break-word;
}

/* AI Prompt Pills in Description Extractor */
.ai-prompt-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.ai-results-inner-card {
  background: #FFFFFF;
  border: 1px solid #C7D2FE;
  border-radius: var(--radius-md);
  padding: 20px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  word-break: break-word;
  overflow-wrap: break-word;
}

/* Smart Links & Classified URLs */
.desc-links-card {
  background: #FFFFFF;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  box-shadow: var(--shadow-subtle);
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  overflow: hidden;
}

.desc-links-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.desc-link-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-md);
  gap: 12px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  transition: all 0.15s ease;
}

.desc-link-item:hover {
  background: #FFFFFF;
  border-color: #0284C7;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.08);
}

.desc-link-left {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  flex: 1 1 auto;
}

.desc-link-tag {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 2px 8px;
  border-radius: 4px;
  flex-shrink: 0;
  white-space: nowrap;
}

.desc-link-tag--affiliate {
  background: #FEF3C7;
  color: #92400E;
  border: 1px solid #FCD34D;
}

.desc-link-tag--social {
  background: #E0F2FE;
  color: #0369A1;
  border: 1px solid #BAE6FD;
}

.desc-link-tag--web {
  background: #F3E8FF;
  color: #6B21A8;
  border: 1px solid #E9D5FF;
}

.desc-link-url {
  font-family: var(--font-mono, monospace);
  font-size: 0.84rem;
  color: #0284C7;
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  flex: 1 1 auto;
  display: block;
  word-break: break-all;
}

.desc-link-url:hover {
  text-decoration: underline;
}

/* Hashtag Cloud */
.desc-hashtags-card {
  background: #FFFFFF;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  box-shadow: var(--shadow-subtle);
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  overflow: hidden;
}

.desc-hashtag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.desc-hashtag-pill {
  background: #EFF6FF;
  color: #1D4ED8;
  border: 1px solid #BFDBFE;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
  max-width: 100%;
  word-break: break-all;
}

.desc-hashtag-pill:hover {
  background: #DBEAFE;
  border-color: #93C5FD;
  transform: translateY(-1px);
}

/* Description Content Box */
.desc-content-card {
  background: #FFFFFF;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  box-shadow: var(--shadow-subtle);
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  overflow: hidden;
}

.desc-text-box {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-md);
  padding: 18px 20px;
  font-size: 0.92rem;
  line-height: 1.7;
  color: #1E293B;
  white-space: pre-wrap;
  word-break: break-word;
  overflow-wrap: break-word;
  max-height: 480px;
  overflow-y: auto;
  font-family: var(--font-sans, inherit);
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

/* Action Bars for Description */
.desc-actions-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.desc-actions-left,
.desc-actions-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* Dedicated Mobile Responsiveness for Description Extractor */
@media (max-width: 768px) {
  .desc-studio-grid {
    gap: 16px !important;
    margin-top: 18px !important;
  }
  .desc-gauge-card,
  .desc-fold-card,
  .ai-studio-card,
  .desc-links-card,
  .desc-hashtags-card,
  .desc-content-card {
    padding: 16px 14px !important;
    border-radius: 14px !important;
  }
  .ai-studio-header {
    padding: 12px 14px !important;
  }
  .ai-studio-body {
    padding: 14px 12px !important;
  }
  .desc-text-box {
    padding: 14px 12px !important;
    font-size: 0.88rem !important;
  }
  .desc-actions-bar {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
  }
  .desc-actions-left,
  .desc-actions-right {
    width: 100% !important;
    justify-content: stretch !important;
  }
  .desc-actions-left .btn-copy,
  .desc-actions-right .btn-copy {
    width: 100% !important;
    justify-content: center !important;
  }
  .title-video-preview {
    grid-template-columns: 1fr !important;
    padding: 14px !important;
  }
}

@media (max-width: 640px) {
  .ai-prompt-pills {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 8px !important;
    width: 100% !important;
  }
  .ai-prompt-btn {
    width: 100% !important;
    justify-content: flex-start !important;
    padding: 9px 12px !important;
    font-size: 0.82rem !important;
  }
  .desc-gauge-stats {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 2px !important;
  }
  .desc-link-item {
    padding: 8px 10px !important;
    gap: 8px !important;
  }
  .desc-link-tag {
    font-size: 0.68rem !important;
    padding: 2px 6px !important;
  }
  .desc-link-url {
    font-size: 0.78rem !important;
  }
  .ai-results-inner-card {
    padding: 14px 12px !important;
  }
}

/* ==========================================================================
   360° CREATOR INTELLIGENCE & REVENUE TERMINAL (LUXURY SUITE)
   ========================================================================== */
.creator-terminal-card {
  background: #0B0F19;
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.05);
  margin-top: 24px;
  position: relative;
  color: #F8FAFC;
  animation: slideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.terminal-banner-backdrop {
  height: 140px;
  background-size: cover;
  background-position: center;
  position: relative;
  background-color: #111827;
  border-bottom: none;
}

.terminal-banner-backdrop::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 15, 25, 0.1) 0%, rgba(11, 15, 25, 0.96) 100%);
}

.terminal-profile-header {
  position: relative;
  padding: 0 24px 22px;
  margin-top: -54px;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.terminal-identity-row {
  display: flex;
  gap: 18px;
  align-items: flex-end;
  flex-wrap: wrap;
}

.terminal-avatar-ring {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 3.5px solid #10B981;
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.45), 0 0 0 4px rgba(11, 15, 25, 0.98);
  object-fit: cover;
  background: #0F172A;
  flex-shrink: 0;
  position: relative;
  z-index: 10;
}

.terminal-channel-title {
  font-size: 1.55rem;
  font-weight: 900;
  color: #FFFFFF;
  margin: 0;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.verified-shield-badge {
  background: rgba(16, 185, 129, 0.15);
  color: #10B981;
  border: 1px solid rgba(16, 185, 129, 0.4);
  padding: 3px 9px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.terminal-meta-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
  font-size: 0.82rem;
  color: #94A3B8;
}

.meta-pill-tag {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4px 10px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

.meta-pill-tag strong {
  color: #F8FAFC;
}

/* Socials Hub */
.terminal-socials-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.social-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #E2E8F0;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.social-pill-btn:hover {
  background: rgba(16, 185, 129, 0.18);
  border-color: #10B981;
  color: #10B981;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

/* Master KPI Grid */
.kpi-terminal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding: 0 24px 24px;
}

.kpi-glass-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s;
}

.kpi-glass-box:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.kpi-glass-box.highlight-lifetime {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, rgba(5, 150, 105, 0.04) 100%);
  border: 1.5px solid #10B981;
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.18);
}

.kpi-label-title {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #94A3B8;
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 8px;
}

.kpi-value-mono {
  font-family: var(--font-mono, monospace);
  font-size: 1.45rem;
  font-weight: 900;
  color: #FFFFFF;
  line-height: 1.2;
}

.kpi-sub-context {
  font-size: 0.74rem;
  color: #64748B;
  margin-top: 6px;
}

/* Format Deep-Dive Comparison (Long vs Shorts) */
.format-deepdive-section {
  padding: 0 24px 24px;
}

.format-duel-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 20px;
}

.format-duel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.format-ratio-bar {
  display: flex;
  height: 10px;
  border-radius: 6px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  margin-bottom: 18px;
}

.format-bar-long {
  background: linear-gradient(90deg, #3B82F6 0%, #60A5FA 100%);
  height: 100%;
  transition: width 0.4s ease;
}

.format-bar-shorts {
  background: linear-gradient(90deg, #EC4899 0%, #F43F5E 100%);
  height: 100%;
  transition: width 0.4s ease;
}

.format-duel-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.format-col-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 16px;
}

.format-col-title {
  font-size: 0.88rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.format-stat-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 0.82rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.format-stat-row:last-child {
  border-bottom: none;
}

.format-stat-label {
  color: #94A3B8;
}

.format-stat-val {
  font-family: var(--font-mono, monospace);
  font-weight: 700;
  color: #F8FAFC;
}

/* Niche & Best Performing Topic */
.niche-crown-card {
  margin: 0 24px 24px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.12) 0%, rgba(15, 23, 42, 0.6) 100%);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: 14px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.niche-crown-icon {
  width: 48px;
  height: 48px;
  background: rgba(245, 158, 11, 0.18);
  border: 1px solid rgba(245, 158, 11, 0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

/* Multi-Stream Revenue Terminal */
.revenue-breakdown-terminal {
  padding: 0 24px 24px;
}

.revenue-timeframe-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.timeframe-pill-toggle {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.06);
  padding: 3px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  gap: 2px;
}

.btn-timeframe-tab {
  background: transparent;
  border: none;
  color: #94A3B8;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-timeframe-tab.active {
  background: #10B981;
  color: #FFFFFF;
}

.stream-progress-bar-segmented {
  display: flex;
  height: 10px;
  border-radius: 5px;
  overflow: hidden;
  margin: 14px 0 18px;
  background: rgba(255, 255, 255, 0.08);
}

.stream-seg-adsense {
  background: linear-gradient(90deg, #10B981 0%, #34D399 100%);
  height: 100%;
  transition: width 0.35s ease;
}

.stream-seg-sponsors {
  background: linear-gradient(90deg, #3B82F6 0%, #60A5FA 100%);
  height: 100%;
  transition: width 0.35s ease;
}

.stream-seg-affiliates {
  background: linear-gradient(90deg, #8B5CF6 0%, #A78BFA 100%);
  height: 100%;
  transition: width 0.35s ease;
}

.stream-seg-memberships {
  background: linear-gradient(90deg, #F59E0B 0%, #FBBF24 100%);
  height: 100%;
  transition: width 0.35s ease;
}

.stream-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 14px;
}

.stream-card-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.stream-card-box:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.2);
}

.stream-card-box.type-adsense { border-left: 3px solid #10B981; }
.stream-card-box.type-sponsors { border-left: 3px solid #3B82F6; }
.stream-card-box.type-affiliates { border-left: 3px solid #8B5CF6; }
.stream-card-box.type-memberships { border-left: 3px solid #F59E0B; }

.stream-card-label {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #94A3B8;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.stream-pct-badge {
  font-size: 0.7rem;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 700;
  font-family: var(--font-mono, monospace);
}

.stream-card-box.type-adsense .stream-pct-badge { background: rgba(16, 185, 129, 0.15); color: #10B981; }
.stream-card-box.type-sponsors .stream-pct-badge { background: rgba(59, 130, 246, 0.15); color: #3B82F6; }
.stream-card-box.type-affiliates .stream-pct-badge { background: rgba(139, 92, 246, 0.15); color: #8B5CF6; }
.stream-card-box.type-memberships .stream-pct-badge { background: rgba(245, 158, 11, 0.15); color: #F59E0B; }

.stream-card-val {
  font-size: 1.35rem;
  font-weight: 900;
  font-family: var(--font-mono, monospace);
  color: #FFFFFF;
  margin: 4px 0;
}

.stream-card-sub {
  font-size: 0.72rem;
  color: #64748B;
  line-height: 1.35;
}

/* Timeframe switcher within terminal */
.timeframe-pill-toggle {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 2px;
  gap: 2px;
  height: 32px;
  box-sizing: border-box;
}

.btn-timeframe-tab {
  background: transparent;
  border: none;
  color: #94A3B8;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
  line-height: 1.2;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-timeframe-tab:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.08);
}

.btn-timeframe-tab.active {
  background: #10B981;
  color: #042F2E;
  font-weight: 800;
}

/* Currency switcher within terminal */
.terminal-currency-pills {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 2px;
  gap: 2px;
  height: 32px;
  box-sizing: border-box;
}

.btn-terminal-currency {
  background: transparent;
  border: none;
  color: #94A3B8;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
  line-height: 1.2;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-terminal-currency:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.08);
}

.btn-terminal-currency.active {
  background: rgba(16, 185, 129, 0.25);
  color: #10B981;
  font-weight: 800;
}

/* Niche tag cloud */
.niche-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.niche-tag-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.74rem;
  color: #CBD5E1;
  font-weight: 600;
}

/* Spotlight Video Banner (When user searches via video URL) */
.spotlight-video-pane {
  margin: 0 24px 24px;
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 14px;
  padding: 16px 18px;
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.spotlight-video-thumb {
  width: 120px;
  height: 68px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
}

/* Terminal Action Bar */
.terminal-footer-action-bar {
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 14px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.btn-terminal-open-channel {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #FFFFFF !important;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none !important;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.btn-terminal-open-channel:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: #FFFFFF;
  color: #FFFFFF !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(255, 255, 255, 0.15);
}

.btn-terminal-copy-dossier {
  background: rgba(16, 185, 129, 0.15);
  border: 1.5px solid #10B981;
  color: #10B981 !important;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 8px 18px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 10px rgba(16, 185, 129, 0.2);
}

.btn-terminal-copy-dossier:hover {
  background: #10B981;
  color: #FFFFFF !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 18px rgba(16, 185, 129, 0.4);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .kpi-terminal-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stream-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .kpi-terminal-grid {
    grid-template-columns: 1fr;
  }
  .format-duel-columns {
    grid-template-columns: 1fr;
  }
  .terminal-profile-header {
    padding: 0 16px 16px;
  }
  .kpi-terminal-grid,
  .format-deepdive-section,
  .revenue-breakdown-terminal,
  .niche-crown-card,
  .spotlight-video-pane {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* ==========================================================================
   YOUTUBE CHANNEL NAME GENERATOR & AI BRAND STUDIO SUITE (2026)
   ========================================================================== */

/* Toast Visibility Fix */
.global-toast.visible,
.global-toast.show {
  opacity: 1 !important;
  transform: translateX(-50%) translateY(0) !important;
  pointer-events: auto !important;
}

/* Style Filter Tabs Bar */
.name-filter-tabs-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 18px;
  scrollbar-width: thin;
}

.name-filter-tabs-bar::-webkit-scrollbar {
  height: 4px;
}

.name-filter-tabs-bar::-webkit-scrollbar-thumb {
  background: var(--border-medium);
  border-radius: 4px;
}

.filter-tab-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: 20px;
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.18s ease;
}

.filter-tab-pill:hover {
  border-color: #8B5CF6;
  color: #7C3AED;
  background: rgba(139, 92, 246, 0.08);
}

.filter-tab-pill.active {
  background: #7C3AED;
  border-color: #7C3AED;
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.3);
}

.filter-tab-badge {
  font-size: 0.7rem;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.08);
  color: inherit;
}

.filter-tab-pill.active .filter-tab-badge {
  background: rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
}

/* Handle Match Matrix */
.handle-matrix-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 8px;
  margin: 10px 0;
}

.handle-matrix-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-subtle);
  border: 1px solid var(--border-medium);
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 0.78rem;
  transition: border-color 0.15s ease;
}

.handle-matrix-card:hover {
  border-color: #8B5CF6;
}

.handle-matrix-card .handle-text {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--text-primary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Brand Color Swatches */
.brand-palette-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  margin: 10px 0;
}

.color-swatch-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-medium);
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 0.72rem;
  font-family: var(--font-mono);
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.15s ease;
}

.color-swatch-chip:hover {
  border-color: #8B5CF6;
  background: var(--bg-surface);
}

.color-swatch-dot {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  border: 1px solid rgba(0, 0, 0, 0.15);
}

/* Live YouTube Mockup Modal */
.mockup-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: modalFadeIn 0.25s ease;
}

@keyframes modalFadeIn {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

.mockup-modal-card {
  width: 100%;
  max-width: 820px;
  max-height: 90vh;
  overflow-y: auto;
  background: #0F0F0F !important;
  color: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 18px !important;
  padding: 0 !important;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5) !important;
}

.mockup-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  border-bottom: 1px solid #272727;
}

.yt-mockup-canvas {
  padding: 0;
  background: #0F0F0F;
}

.yt-mockup-banner {
  width: 100%;
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.yt-mockup-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
}

.mockup-banner-tagline {
  position: relative;
  z-index: 2;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #FFFFFF;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
  padding: 0 20px;
  text-align: center;
}

.yt-mockup-profile-row {
  display: flex;
  gap: 20px;
  padding: 20px 24px 16px;
  align-items: flex-start;
}

.yt-mockup-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 3px solid #0F0F0F;
  margin-top: -48px;
  position: relative;
  z-index: 3;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
  flex-shrink: 0;
}

.yt-mockup-info {
  flex: 1;
}

.yt-mockup-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.yt-mockup-title-row h2 {
  font-size: 1.4rem;
  font-weight: 800;
  margin: 0;
  color: #F1F1F1;
}

.yt-verified-icon {
  flex-shrink: 0;
}

.yt-mockup-meta {
  font-size: 0.85rem;
  color: #AAAAAA;
  margin: 4px 0 8px;
}

.yt-mockup-bio {
  font-size: 0.82rem;
  color: #CCCCCC;
  line-height: 1.45;
  margin: 0 0 12px;
  max-width: 580px;
  white-space: pre-line;
}

.yt-mockup-sub-btn {
  background: #F1F1F1;
  color: #0F0F0F;
  border: none;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 20px;
  cursor: pointer;
  transition: opacity 0.15s;
}

.yt-mockup-sub-btn:hover {
  opacity: 0.9;
}

.yt-mockup-join-btn {
  background: rgba(255, 255, 255, 0.1);
  color: #F1F1F1;
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 20px;
  cursor: pointer;
}

.yt-mockup-tabs {
  display: flex;
  gap: 24px;
  padding: 0 24px;
  border-bottom: 1px solid #272727;
  font-size: 0.9rem;
  font-weight: 600;
  color: #AAAAAA;
}

.yt-mockup-tabs span {
  padding: 10px 0;
  cursor: pointer;
  position: relative;
}

.yt-mockup-tabs span.active {
  color: #F1F1F1;
}

.yt-mockup-tabs span.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: #F1F1F1;
}

.yt-mockup-videos-shelf {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 18px 24px 24px;
}

.yt-mockup-video-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.yt-mockup-video-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 8px;
  background: #272727;
  position: relative;
  overflow: hidden;
}

.yt-mockup-video-title {
  font-size: 0.78rem;
  font-weight: 600;
  color: #F1F1F1;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.yt-mockup-video-views {
  font-size: 0.7rem;
  color: #888888;
}

.mockup-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 14px 20px;
  border-top: 1px solid #272727;
  background: #141414;
}

@media (max-width: 640px) {
  .yt-mockup-profile-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .yt-mockup-avatar {
    margin-top: -48px;
  }
  .yt-mockup-videos-shelf {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   STUDIO LUXURY 2026 — WORKBENCH SUITE ELEVATION & COMPONENT SUITE
   Apple / Linear / Vercel Studio Tier
   ========================================================================== */

/* 1. Hero Block */
.studio-tool-hero {
  margin-bottom: 24px;
  position: relative;
}

.studio-tool-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 14px;
  border-radius: 9999px;
  border: 1px solid rgba(139, 92, 246, 0.3);
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.12), rgba(99, 102, 241, 0.06));
  color: #7C3AED;
  margin-bottom: 14px;
  box-shadow: 0 2px 8px rgba(124, 58, 237, 0.08);
}

.studio-tool-tag .jewel-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #7C3AED;
  box-shadow: 0 0 10px #7C3AED;
  animation: pulseJewel 2s infinite;
}

@keyframes pulseJewel {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.6; }
}

.studio-tool-title {
  font-size: clamp(1.85rem, 3.2vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: #090D1A;
  margin-bottom: 10px;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: subpixel-antialiased;
}

.studio-tool-subtitle {
  font-size: 1.02rem;
  color: #334155;
  font-weight: 500;
  line-height: 1.6;
  max-width: 760px;
  margin-bottom: 18px;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: subpixel-antialiased;
}

/* Feature Trust Ribbon */
.trust-ribbon-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  margin-bottom: 24px;
}

.trust-ribbon-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #334155;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  transition: all 0.18s ease;
}

.trust-ribbon-item:hover {
  transform: translateY(-1px);
  border-color: rgba(139, 92, 246, 0.35);
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.08);
}

.trust-ribbon-item span.icon {
  font-size: 0.95rem;
}

/* 2. Luxury Glass Card */
.luxury-card {
  position: relative;
  background: #FFFFFF;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.02), 
              0 20px 40px -8px rgba(99, 102, 241, 0.07), 
              0 0 0 1px rgba(139, 92, 246, 0.06);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.luxury-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #7C3AED 0%, #3B82F6 50%, #EC4899 100%);
  opacity: 0.85;
}

.luxury-card:hover {
  border-color: rgba(139, 92, 246, 0.35);
  box-shadow: 0 8px 16px -2px rgba(15, 23, 42, 0.04), 
              0 24px 48px -12px rgba(99, 102, 241, 0.12), 
              0 0 0 1px rgba(139, 92, 246, 0.14);
}

/* 3. Studio Inputs & Custom Selects */
.studio-input {
  width: 100%;
  height: 48px;
  background-color: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  border-radius: 12px;
  padding: 0 16px;
  font-size: 0.92rem;
  font-weight: 600;
  color: #0F172A;
  font-family: inherit;
  transition: all 0.2s ease;
  outline: none;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.02);
  box-sizing: border-box;
}

select.studio-input {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 42px;
}

.studio-input:hover {
  background-color: #FFFFFF;
  border-color: #CBD5E1;
}

.studio-input:focus {
  background-color: #FFFFFF;
  border-color: #7C3AED;
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.14), 0 2px 4px rgba(15, 23, 42, 0.04);
}

/* 4. Luxury Studio Buttons */
.btn-studio-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #7C3AED 0%, #6366F1 50%, #4F46E5 100%);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 700;
  font-family: inherit;
  padding: 10px 18px;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px -2px rgba(99, 102, 241, 0.35), 0 1px 3px rgba(0, 0, 0, 0.08);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-studio-action:hover {
  transform: translateY(-1.5px);
  box-shadow: 0 8px 24px -4px rgba(99, 102, 241, 0.5), 0 2px 6px rgba(0, 0, 0, 0.1);
  color: #FFFFFF;
}

.btn-studio-action:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px -1px rgba(99, 102, 241, 0.3);
}

/* Secondary Button Style */
.btn-studio-secondary {
  background: #F8FAFC !important;
  color: #334155 !important;
  border: 1px solid #E2E8F0 !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03) !important;
}

.btn-studio-secondary:hover {
  background: #FFFFFF !important;
  border-color: #8B5CF6 !important;
  color: #7C3AED !important;
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.12) !important;
}

/* 5. Handle Verification Live In-Line Button & Cycler Group */
.handle-verify-group {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.handle-verify-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px;
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  border-radius: 9px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #0F172A;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
  font-family: inherit;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: subpixel-antialiased;
}

.handle-verify-pill-btn:hover {
  background: #FFFFFF;
  border-color: #8B5CF6;
  color: #7C3AED;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.15);
}

.handle-cycle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  border-radius: 9px;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
  flex-shrink: 0;
}

.handle-cycle-btn:hover {
  background: #FFFFFF;
  border-color: #8B5CF6;
  color: #7C3AED;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.15);
}

.handle-cycle-btn.is-spinning svg {
  animation: spinCycle 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes spinCycle {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.handle-verify-pill-btn .handle-badge {
  font-size: 0.68rem;
  padding: 2px 7px;
  border-radius: 6px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.handle-verify-pill-btn.status-idle .handle-badge {
  background: rgba(100, 116, 139, 0.12);
  color: #475569;
}

.handle-verify-pill-btn.status-checking {
  border-color: #3B82F6;
  background: rgba(59, 130, 246, 0.06);
  color: #1D4ED8;
}

.handle-verify-pill-btn.status-checking .handle-badge {
  background: rgba(59, 130, 246, 0.15);
  color: #1D4ED8;
}

.handle-verify-pill-btn.status-available {
  border-color: #10B981 !important;
  background: rgba(16, 185, 129, 0.08) !important;
  color: #065F46 !important;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2) !important;
}

.handle-verify-pill-btn.status-available .handle-badge {
  background: #10B981 !important;
  color: #FFFFFF !important;
}

.handle-verify-pill-btn.status-unclaimed {
  border-color: #0284C7 !important;
  background: rgba(2, 132, 199, 0.08) !important;
  color: #0369A1 !important;
  box-shadow: 0 0 0 2px rgba(2, 132, 199, 0.2) !important;
}

.handle-verify-pill-btn.status-unclaimed .handle-badge {
  background: #0284C7 !important;
  color: #FFFFFF !important;
}

.handle-verify-pill-btn.status-taken {
  border-color: #EF4444 !important;
  background: rgba(239, 68, 68, 0.06) !important;
  color: #991B1B !important;
}

.handle-verify-pill-btn.status-taken .handle-badge {
  background: rgba(239, 68, 68, 0.15) !important;
  color: #B91C1C !important;
}

/* Spinner helper */
.verify-spinner {
  width: 12px;
  height: 12px;
  border: 2px solid rgba(59, 130, 246, 0.25);
  border-top-color: #2563EB;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  display: inline-block;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Name card results grid and items */
.name-result-item {
  margin-bottom: 14px;
  border-radius: 16px !important;
  padding: 18px 20px !important;
  background: #FFFFFF !important;
}

.name-result-item::before {
  display: none !important;
}

/* 6. Crystal-Clear Razor Sharp Typography Engine */
.name-text-display {
  font-size: 1.18rem !important;
  font-weight: 800 !important;
  color: #090D1A !important;
  letter-spacing: -0.015em;
  text-rendering: optimizeLegibility !important;
  -webkit-font-smoothing: subpixel-antialiased !important;
}

.handle-text {
  font-family: 'JetBrains Mono', 'Plus Jakarta Sans', monospace !important;
  font-weight: 700 !important;
  color: #1E293B !important;
  letter-spacing: -0.01em;
  text-rendering: optimizeLegibility !important;
  -webkit-font-smoothing: subpixel-antialiased !important;
}

.quick-chip {
  font-weight: 700 !important;
  color: #1E293B !important;
  text-rendering: optimizeLegibility !important;
  -webkit-font-smoothing: subpixel-antialiased !important;
}

.studio-input {
  font-weight: 600 !important;
  color: #090D1A !important;
  text-rendering: optimizeLegibility !important;
  -webkit-font-smoothing: subpixel-antialiased !important;
}

.mode-tab-btn {
  text-rendering: optimizeLegibility !important;
  -webkit-font-smoothing: subpixel-antialiased !important;
}

.trust-ribbon-item {
  backdrop-filter: none !important;
  background: #FFFFFF !important;
  color: #1E293B !important;
  text-rendering: optimizeLegibility !important;
  -webkit-font-smoothing: subpixel-antialiased !important;
}

/* Precision In-Line Live Handle Verification Group & Cycler */
.handle-verify-group {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  position: relative;
}

.handle-verify-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 4px 10px;
  font-size: 0.78rem;
  color: #1E293B;
  cursor: pointer;
  transition: all 0.16s ease;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  user-select: none;
  height: 32px;
}

.handle-verify-pill-btn:hover {
  border-color: #CBD5E1;
  background: #F8FAFC;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
}

.handle-verify-pill-btn .handle-prefix-icon {
  font-size: 0.85rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.handle-verify-pill-btn .handle-name-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #0F172A;
  letter-spacing: -0.01em;
}

.handle-verify-pill-btn .handle-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 5px;
  background: #F1F5F9;
  color: #475569;
  transition: all 0.15s ease;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  line-height: 1.2;
}

/* Verification States */
.handle-verify-pill-btn.status-checking {
  border-color: #C4B5FD;
  background: #FAF5FF;
}
.handle-verify-pill-btn.status-checking .handle-badge {
  background: #EDE9FE;
  color: #6D28D9;
}

.handle-verify-pill-btn.status-available {
  border-color: #6EE7B7;
  background: #F0FDF4;
}
.handle-verify-pill-btn.status-available .handle-badge {
  background: #DCFCE7;
  color: #15803D;
  font-weight: 800;
}

.handle-verify-pill-btn.status-taken {
  border-color: #FECDD3;
  background: #FFF1F2;
}
.handle-verify-pill-btn.status-taken .handle-badge {
  background: #FEE2E2;
  color: #B91C1C;
}

/* Handle Cycle / Shuffle Button */
.handle-cycle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  color: #475569;
  cursor: pointer;
  transition: all 0.16s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  flex-shrink: 0;
  padding: 0;
}

.handle-cycle-btn:hover {
  border-color: #8B5CF6;
  color: #7C3AED;
  background: #F5F3FF;
  box-shadow: 0 2px 5px rgba(124, 58, 237, 0.15);
  transform: translateY(-1px);
}

.handle-cycle-btn:active {
  transform: translateY(0) scale(0.95);
}

.handle-cycle-btn.is-spinning svg {
  animation: spinCycle 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes spinCycle {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ==========================================================================
   YOUTUBE SEO HEALTH SCORECARD & 5-POINT AUDIT CHECKLIST (VIDIQ ALTERNATIVE)
   ========================================================================== */
.seo-scorecard-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: hidden;
  margin-top: 20px;
  transition: all 0.3s ease;
}

.seo-scorecard-card:hover {
  border-color: var(--border-strong);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.seo-hero-layout {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 22px 24px;
  background: linear-gradient(135deg, rgba(248, 250, 252, 0.9) 0%, rgba(241, 245, 249, 0.7) 100%);
  border: 1px solid var(--border-medium);
  border-radius: 14px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.seo-dial-container {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.seo-radial-meter {
  position: relative;
  width: 104px;
  height: 104px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--bg-surface);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

.seo-radial-meter svg {
  transform: rotate(-90deg);
  width: 100%;
  height: 100%;
}

.seo-radial-meter circle {
  fill: none;
  stroke-width: 8;
  stroke-linecap: round;
}

.seo-radial-bg {
  stroke: rgba(226, 232, 240, 0.8);
}

.seo-radial-progress {
  transition: stroke-dashoffset 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.seo-radial-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.seo-radial-number {
  font-family: var(--font-mono);
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1;
}

.seo-radial-denom {
  font-size: 0.68rem;
  color: var(--text-muted);
  font-weight: 700;
  margin-top: 2px;
}

.seo-hero-meta {
  flex: 1;
  min-width: 240px;
}

.seo-hero-grade-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
  border-width: 1px;
  border-style: solid;
}

.seo-hero-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0 0 4px;
  letter-spacing: -0.01em;
}

.seo-hero-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.45;
  margin: 0;
}

/* Pillar Progress Breakdown Chips */
.seo-pillars-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
  width: 100%;
  border-top: 1px dashed var(--border-medium);
  padding-top: 16px;
  margin-top: 6px;
}

.seo-pillar-chip {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: 10px;
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: all 0.2s ease;
}

.seo-pillar-chip:hover {
  border-color: var(--border-strong);
}

.seo-pillar-chip-title {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.seo-pillar-chip-val {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-primary);
}

/* 5-Point Checklist Grid */
.seo-checklist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}

.seo-check-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.seo-check-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

.seo-check-card.status-pass {
  border-left: 4px solid #10B981;
}

.seo-check-card.status-warn {
  border-left: 4px solid #F59E0B;
}

.seo-check-card.status-fail {
  border-left: 4px solid #EF4444;
}

.seo-status-icon-box {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}

.status-pass .seo-status-icon-box {
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
}

.status-warn .seo-status-icon-box {
  background: rgba(245, 158, 11, 0.12);
  color: #D97706;
}

.status-fail .seo-status-icon-box {
  background: rgba(239, 68, 68, 0.12);
  color: #DC2626;
}

.seo-check-content {
  flex: 1;
}

.seo-check-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.seo-check-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
}

.seo-check-pts-pill {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 6px;
  background: var(--bg-subtle);
  color: var(--text-secondary);
  border: 1px solid var(--border-medium);
}

.seo-check-subtitle {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.seo-check-feedback {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

/* Actionable Opportunities Banner */
.seo-growth-banner {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(168, 85, 247, 0.05) 100%);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 12px;
  padding: 18px 20px;
  margin-top: 14px;
}

.seo-growth-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 800;
  color: #4F46E5;
  margin-bottom: 12px;
}

.seo-growth-list {
  margin: 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.seo-growth-item {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.seo-growth-item strong {
  color: var(--text-primary);
}

.seo-growth-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed rgba(99, 102, 241, 0.2);
}

.seo-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 8px;
  text-decoration: none;
  background: var(--bg-surface);
  color: #4F46E5;
  border: 1px solid rgba(99, 102, 241, 0.3);
  transition: all 0.2s ease;
}

.seo-action-btn:hover {
  background: #4F46E5;
  color: #FFFFFF;
  border-color: #4F46E5;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.2);
}

/* ==========================================================================
   YOUTUBE CHANNEL COMPARE & COMPETITOR DUEL TOOL (VIDIQ COMPETITOR TRACKER)
   ========================================================================== */
.duel-omnibar-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
  margin-bottom: 28px;
}

.duel-omnibar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #3B82F6 0%, #8B5CF6 50%, #EF4444 100%);
}

.duel-inputs-layout {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.duel-input-wrapper {
  flex: 1;
  min-width: 260px;
  position: relative;
}

.duel-input-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.duel-input-box {
  display: flex;
  align-items: center;
  background: var(--bg-subtle);
  border: 1.5px solid var(--border-medium);
  border-radius: 12px;
  padding: 6px 14px;
  transition: all 0.2s ease;
  gap: 8px;
}

.duel-input-box:focus-within {
  border-color: #3B82F6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
  background: var(--bg-surface);
}

.duel-input-box.side-competitor:focus-within {
  border-color: #EF4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

.duel-input-box input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  outline: none;
  padding: 6px 0;
}

.duel-input-box input::placeholder {
  color: var(--text-muted);
  font-weight: 500;
}

.duel-vs-badge-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-shrink: 0;
  align-self: flex-end;
  margin-bottom: 6px;
}

.duel-vs-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1E1B4B 0%, #0F172A 100%);
  color: #FFFFFF;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.35);
  border: 2px solid var(--border-subtle);
  user-select: none;
}

.duel-swap-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: 9999px;
  padding: 3px 10px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s ease;
}

.duel-swap-btn:hover {
  background: var(--bg-subtle);
  color: var(--text-primary);
  border-color: var(--border-strong);
  transform: scale(1.04);
}

.duel-presets-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding-top: 14px;
  border-top: 1px dashed var(--border-medium);
}

.duel-preset-pill {
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: 9999px;
  padding: 5px 12px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-secondary);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.duel-preset-pill:hover {
  background: var(--bg-surface);
  border-color: #3B82F6;
  color: #2563EB;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.1);
}


/* ==========================================================================
   YOUTUBE CHANNEL COMPARE — LUXURY SEGMENTED CURRENCY CAPSULE & TOOLBAR
   ========================================================================== */
.duel-toolbar-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
  flex-wrap: wrap;
  gap: 12px;
  width: 100%;
}

.duel-toolbar-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #EFF6FF;
  color: #1D4ED8;
  border: 1px solid #BFDBFE;
  padding: 6px 14px;
  border-radius: var(--radius-pill, 9999px);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  box-shadow: 0 1px 2px rgba(29, 78, 216, 0.05);
}

.duel-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* Luxury Currency Capsule Dock */
.compare-currency-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-pill, 9999px);
  padding: 4px 6px 4px 14px;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.05);
  max-width: 100%;
  box-sizing: border-box;
}

.currency-lead-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 800;
  color: #64748B;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1;
  user-select: none;
  white-space: nowrap;
}
.currency-lead-label svg {
  color: #3B82F6;
  flex-shrink: 0;
}

.currency-pills-bar {
  display: inline-flex;
  align-items: center;
  background: #F1F5F9;
  border-radius: var(--radius-pill, 9999px);
  padding: 3px;
  gap: 2px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.currency-pills-bar::-webkit-scrollbar {
  display: none;
}

.currency-pill {
  border: none;
  background: transparent;
  color: #475569;
  font-family: inherit;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: var(--radius-pill, 9999px);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  line-height: 1.2;
  transition: all 0.16s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  outline: none;
}

.currency-pill .curr-sym {
  font-weight: 800;
  color: #059669;
  transition: color 0.16s ease;
}

.currency-pill:hover {
  color: #090D1A;
  background: rgba(255, 255, 255, 0.75);
  transform: translateY(-0.5px);
}

.currency-pill.active {
  background: #090D1A;
  color: #FFFFFF;
  font-weight: 800;
  box-shadow: 0 2px 6px rgba(9, 13, 26, 0.22);
}

.currency-pill.active .curr-sym {
  color: #34D399;
}

/* Export Action Buttons */
.duel-export-group {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-export-csv {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 7px 14px;
  background: rgba(16, 185, 129, 0.08);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--radius-pill, 9999px);
  cursor: pointer;
  transition: all 0.16s ease;
  white-space: nowrap;
  text-decoration: none;
}
.btn-export-csv:hover {
  background: #059669;
  color: #FFFFFF;
  border-color: #059669;
  box-shadow: 0 2px 8px rgba(5, 150, 105, 0.25);
  transform: translateY(-1px);
}

.btn-export-txt {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 7px 14px;
  background: #F1F5F9;
  color: #475569;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-pill, 9999px);
  cursor: pointer;
  transition: all 0.16s ease;
  white-space: nowrap;
  text-decoration: none;
}
.btn-export-txt:hover {
  background: #090D1A;
  color: #FFFFFF;
  border-color: #090D1A;
  box-shadow: 0 2px 8px rgba(9, 13, 26, 0.2);
  transform: translateY(-1px);
}

/* Mobile Responsive tuning for Duel Toolbar */
@media (max-width: 768px) {
  .duel-toolbar-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .duel-toolbar-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .compare-currency-wrapper {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 6px 5px 12px;
    box-sizing: border-box;
  }
  .currency-pills-bar {
    max-width: calc(100% - 90px);
  }
  .currency-pill {
    padding: 5px 8px;
    font-size: 0.72rem;
  }
  .duel-export-group {
    width: 100%;
    display: flex;
  }
  .btn-export-csv, .btn-export-txt {
    flex: 1;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .compare-currency-wrapper {
    flex-direction: column;
    align-items: flex-start;
    border-radius: 14px;
    padding: 8px 10px;
    gap: 6px;
  }
  .currency-pills-bar {
    width: 100%;
    max-width: 100%;
    justify-content: space-between;
  }
  .currency-pill {
    flex: 1;
    justify-content: center;
    padding: 4px 6px;
    font-size: 0.68rem;
  }
}


/* Side-by-Side Tale of the Tape Grid */
.duel-tale-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

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

.duel-profile-card {
  background: var(--bg-surface);
  border: 1.5px solid var(--border-medium);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s ease;
}

.duel-profile-card.winner-glow {
  border-color: #10B981;
  box-shadow: 0 6px 24px rgba(16, 185, 129, 0.14);
}

.duel-banner-backdrop {
  height: 90px;
  position: relative;
}

.duel-profile-body {
  padding: 0 20px 20px;
  position: relative;
  flex: 1;
}

.duel-avatar-ring {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 3.5px solid var(--bg-surface);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  margin-top: -36px;
  margin-bottom: 10px;
  background: var(--bg-surface);
  object-fit: cover;
  display: block;
}

.duel-channel-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0 0 4px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.duel-channel-handle {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
  font-family: var(--font-mono);
  margin-bottom: 12px;
}

.duel-meta-badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

/* Metric Bento Comparison Rows */
.duel-metrics-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.duel-metric-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: 14px;
  padding: 16px 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  transition: all 0.2s ease;
}

.duel-metric-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-1px);
}

.duel-metric-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.duel-metric-title {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 6px;
}

.duel-delta-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 9999px;
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.duel-values-duel {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
}

.duel-val-col {
  flex: 1;
}

.duel-val-col.right {
  text-align: right;
}

.duel-val-number {
  font-family: var(--font-mono);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.1;
}

.duel-val-number.winner {
  color: #10B981;
}

.duel-val-sub {
  font-size: 0.74rem;
  color: var(--text-muted);
  margin-top: 4px;
  font-weight: 600;
}

/* Dual Comparative Progress Bar */
.duel-ratio-track {
  height: 8px;
  border-radius: 9999px;
  background: #E2E8F0;
  overflow: hidden;
  display: flex;
  margin: 10px 0 4px;
}

.duel-ratio-fill-left {
  background: #3B82F6;
  height: 100%;
  transition: width 0.6s ease;
}

.duel-ratio-fill-right {
  background: #EF4444;
  height: 100%;
  transition: width 0.6s ease;
}

/* Format Strategy Duel Bar */
.duel-format-bar-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}

.duel-format-stacked-bar {
  flex: 1;
  height: 12px;
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  background: var(--bg-subtle);
  border: 1px solid var(--border-medium);
}

.duel-format-long-seg {
  background: #3B82F6;
  height: 100%;
  transition: width 0.6s ease;
}

.duel-format-shorts-seg {
  background: #F43F5E;
  height: 100%;
  transition: width 0.6s ease;
}

/* Algorithmic Verdict Banner */
.duel-verdict-banner {
  background: linear-gradient(135deg, rgba(30, 27, 75, 0.95) 0%, rgba(15, 23, 42, 0.98) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 24px;
  color: #FFFFFF;
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.4);
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}

.duel-verdict-banner::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(234, 179, 8, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.duel-verdict-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 10px;
}

.duel-verdict-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(234, 179, 8, 0.18);
  border: 1px solid rgba(234, 179, 8, 0.4);
  color: #FDE047;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.duel-verdict-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.duel-verdict-trophy-box {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 14px;
}

.duel-verdict-trophy-title {
  font-size: 0.74rem;
  color: #94A3B8;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.duel-verdict-trophy-winner {
  font-size: 1rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 2px;
}

.duel-verdict-trophy-desc {
  font-size: 0.74rem;
  color: #CBD5E1;
  line-height: 1.4;
}

/* ==========================================================================
   YOUTUBE TITLE OPTIMIZER, VIRAL HOOK GENERATOR & A/B CTR STUDIO (2026)
   ========================================================================== */

/* Mode Segmented Switcher */
.title-mode-tabs {
  display: inline-flex;
  background: var(--bg-subtle);
  padding: 5px;
  border-radius: 12px;
  border: 1px solid var(--border-medium);
  gap: 6px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.title-tab-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 9px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.title-tab-btn:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.6);
}

.title-tab-btn.active {
  background: #FFFFFF;
  color: #090D1A;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(15, 23, 42, 0.04);
}

.title-tab-btn .tab-badge {
  font-size: 0.66rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 9999px;
  background: rgba(239, 68, 68, 0.1);
  color: #EF4444;
}

/* Tone Selection Pills */
.tone-pills-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 16px 0 20px;
}

.tone-pill-label {
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-right: 4px;
}

.tone-pill {
  background: var(--bg-subtle);
  border: 1px solid var(--border-medium);
  border-radius: 9999px;
  padding: 6px 14px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-secondary);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.18s ease;
}

.tone-pill:hover {
  background: #FFFFFF;
  border-color: #3B82F6;
  color: #2563EB;
  transform: translateY(-1px);
}

.tone-pill.active {
  background: #2563EB;
  border-color: #2563EB;
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

/* Draft Title Sandbox Input */
.draft-sandbox-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: 18px;
  padding: 24px;
  box-shadow: var(--shadow-card);
  margin-bottom: 24px;
}

.draft-input-wrap {
  position: relative;
  margin-bottom: 14px;
}

.draft-textarea {
  width: 100%;
  min-height: 84px;
  background: var(--bg-subtle);
  border: 1.5px solid var(--border-medium);
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 1.05rem;
  font-weight: 600;
  font-family: inherit;
  color: var(--text-primary);
  line-height: 1.5;
  resize: vertical;
  outline: none;
  transition: all 0.2s ease;
}

.draft-textarea:focus {
  border-color: #3B82F6;
  background: #FFFFFF;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.12);
}

.draft-counter-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  margin-top: 6px;
  color: var(--text-muted);
}

.draft-counter-badge {
  font-family: var(--font-mono);
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-medium);
}

.draft-counter-badge.safe { color: #059669; border-color: rgba(16, 185, 129, 0.3); background: rgba(16, 185, 129, 0.08); }
.draft-counter-badge.warn { color: #D97706; border-color: rgba(245, 158, 11, 0.3); background: rgba(245, 158, 11, 0.08); }
.draft-counter-badge.danger { color: #DC2626; border-color: rgba(239, 68, 68, 0.3); background: rgba(239, 68, 68, 0.08); }

/* AI Generated Variation Cards */
.ai-variations-section {
  margin: 32px 0;
}

.ai-variations-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 10px;
}

.ai-variations-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.ai-variation-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: 14px;
  padding: 18px 20px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ai-variation-card:hover {
  border-color: #3B82F6;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -4px rgba(59, 130, 246, 0.12);
}

.ai-variation-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.ai-badge-chip {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 3px 10px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.ai-badge-chip.archetype-viral { background: rgba(239, 68, 68, 0.1); color: #DC2626; border: 1px solid rgba(239, 68, 68, 0.25); }
.ai-badge-chip.archetype-guide { background: rgba(16, 185, 129, 0.1); color: #059669; border: 1px solid rgba(16, 185, 129, 0.25); }
.ai-badge-chip.archetype-curiosity { background: rgba(168, 85, 247, 0.1); color: #7C3AED; border: 1px solid rgba(168, 85, 247, 0.25); }
.ai-badge-chip.archetype-mistake { background: rgba(245, 158, 11, 0.1); color: #D97706; border: 1px solid rgba(245, 158, 11, 0.25); }
.ai-badge-chip.archetype-desi { background: rgba(59, 130, 246, 0.1); color: #2563EB; border: 1px solid rgba(59, 130, 246, 0.25); }

.ai-ctr-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 800;
  background: rgba(16, 185, 129, 0.08);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 3px 10px;
  border-radius: 6px;
}

.ai-variation-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.4;
  margin: 2px 0;
  letter-spacing: -0.01em;
}

.ai-variation-reasoning {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.ai-variation-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 6px;
  padding-top: 12px;
  border-top: 1px dashed var(--border-medium);
}

.btn-variation-action {
  font-size: 0.76rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid var(--border-medium);
  background: var(--bg-subtle);
  color: var(--text-secondary);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.18s ease;
}

.btn-variation-action:hover {
  background: #FFFFFF;
  color: var(--text-primary);
  border-color: #3B82F6;
  transform: translateY(-1px);
}

.btn-variation-action.action-copy:hover {
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
  border-color: #10B981;
}

.btn-variation-action.action-ab:hover {
  background: rgba(59, 130, 246, 0.1);
  color: #2563EB;
  border-color: #3B82F6;
}

.btn-variation-action.action-tags:hover {
  background: rgba(168, 85, 247, 0.1);
  color: #7C3AED;
  border-color: #A855F7;
}

/* ==========================================================================
   HEAD-TO-HEAD A/B TITLE TESTER & MOBILE FEED SIMULATOR
   ========================================================================== */
.ab-tester-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: 20px;
  padding: 26px;
  box-shadow: var(--shadow-card);
  margin-top: 24px;
}

.ab-inputs-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  align-items: center;
  margin-bottom: 22px;
}

@media (max-width: 840px) {
  .ab-inputs-grid {
    grid-template-columns: 1fr;
  }
}

.ab-input-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ab-input-label {
  font-size: 0.78rem;
  font-weight: 800;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ab-input-field {
  width: 100%;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1.5px solid var(--border-medium);
  background: var(--bg-subtle);
  font-size: 0.95rem;
  font-weight: 700;
  font-family: inherit;
  color: var(--text-primary);
  outline: none;
  transition: all 0.2s ease;
}

.ab-input-field:focus {
  border-color: #3B82F6;
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
}

.ab-input-field.side-b:focus {
  border-color: #EF4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
}

/* Simulated YouTube Mobile Feed Card (The Exact Mobile App Look) */
.ab-sim-feed-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 24px 0;
}

@media (max-width: 768px) {
  .ab-sim-feed-grid {
    grid-template-columns: 1fr;
  }
}

.yt-mobile-mockup-frame {
  background: #0F0F0F;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #272727;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
  color: #FFFFFF;
}

.yt-mobile-header-bar {
  background: #181818;
  padding: 8px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: #AAAAAA;
  border-bottom: 1px solid #272727;
}

.yt-mobile-thumb-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #212121;
  position: relative;
  overflow: hidden;
}

.yt-mobile-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.yt-mobile-time-badge {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.85);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: var(--font-mono);
}

.yt-mobile-body {
  padding: 12px 14px 16px;
  display: flex;
  gap: 12px;
}

.yt-mobile-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #383838;
  flex-shrink: 0;
  object-fit: cover;
}

.yt-mobile-content {
  flex: 1;
  min-width: 0;
}

.yt-mobile-title {
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.35;
  color: #F1F1F1;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
}

.yt-mobile-meta {
  font-size: 0.75rem;
  color: #AAAAAA;
  line-height: 1.3;
}

/* A/B Algorithmic Winner Verdict Banner */
.ab-verdict-banner {
  background: linear-gradient(135deg, #1E1B4B 0%, #0F172A 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 22px 24px;
  color: #FFFFFF;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.35);
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
}

@media (max-width: 680px) {
  .ab-verdict-banner {
    flex-direction: column;
    text-align: center;
  }
}

.ab-verdict-icon {
  font-size: 2.4rem;
  flex-shrink: 0;
}

.ab-verdict-content h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0 0 6px;
  color: #FFFFFF;
}

.ab-verdict-content p {
  font-size: 0.85rem;
  color: #CBD5E1;
  line-height: 1.5;
  margin: 0;
}

/* ==========================================================================
   OPTION 3: MONETIZATION ROADMAP & BRAND SPONSORSHIP RATE STUDIO (2026)
   ========================================================================== */

/* 3-Mode Segmented Switcher for Earnings Suite */
.earnings-mode-tabs {
  display: inline-flex;
  background: var(--bg-subtle);
  padding: 5px;
  border-radius: 12px;
  border: 1px solid var(--border-medium);
  gap: 6px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.earnings-tab-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.86rem;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: 9px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.earnings-tab-btn:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.6);
}

.earnings-tab-btn.active {
  background: #10B981;
  color: #FFFFFF;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.4);
}

.earnings-tab-btn .tab-subtext {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.01em;
  transition: color 0.18s ease;
  display: block;
  margin-top: 1px;
}

.earnings-tab-btn.active .tab-subtext {
  color: #FFFFFF !important;
  font-weight: 700;
  opacity: 0.96;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.earnings-tab-btn:hover:not(.active) .tab-subtext {
  color: var(--text-primary);
}

.earnings-tab-btn .tab-badge {
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
}

.earnings-tab-btn.active .tab-badge {
  background: rgba(255, 255, 255, 0.3);
  color: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.earnings-tab-btn:not(.active) .tab-badge {
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
}

/* Deal Format Selection Grid */
.deal-formats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.deal-format-card {
  background: var(--bg-surface);
  border: 1.5px solid var(--border-medium);
  border-radius: 12px;
  padding: 14px 16px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
}

.deal-format-card:hover {
  border-color: #10B981;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.12);
}

.deal-format-card.active {
  background: rgba(16, 185, 129, 0.05);
  border-color: #10B981;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.25);
}

.deal-format-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.deal-format-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--text-primary);
}

.deal-format-multiplier {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
  font-family: var(--font-mono);
}

.deal-format-desc {
  font-size: 0.76rem;
  color: var(--text-secondary);
  line-height: 1.35;
}

/* Add-ons & Modifiers Row */
.deal-modifiers-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 16px 0 24px;
}

.modifier-checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-medium);
  border-radius: 10px;
  padding: 8px 14px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.18s ease;
  user-select: none;
}

.modifier-checkbox-label:hover {
  background: #FFFFFF;
  border-color: #10B981;
}

.modifier-checkbox-label input[type="checkbox"] {
  accent-color: #10B981;
  width: 16px;
  height: 16px;
  cursor: pointer;
}

/* 3-Tier Rate Card Bento */
.rate-card-bento-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  gap: 16px;
  margin: 24px 0;
}

@media (max-width: 860px) {
  .rate-card-bento-grid {
    grid-template-columns: 1fr;
  }
}

.rate-tier-card {
  background: var(--bg-surface);
  border: 1.5px solid var(--border-medium);
  border-radius: 16px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  transition: all 0.2s ease;
}

.rate-tier-card.tier-target {
  background: linear-gradient(180deg, var(--bg-surface) 0%, rgba(16, 185, 129, 0.04) 100%);
  border-color: #10B981;
  box-shadow: 0 8px 24px -4px rgba(16, 185, 129, 0.2);
  transform: scale(1.02);
}

@media (max-width: 860px) {
  .rate-tier-card.tier-target {
    transform: scale(1);
  }
}

.rate-tier-badge {
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 10px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  width: fit-content;
}

.tier-floor .rate-tier-badge { background: #F1F5F9; color: #475569; }
.tier-target .rate-tier-badge { background: rgba(16, 185, 129, 0.15); color: #059669; }
.tier-premium .rate-tier-badge { background: rgba(59, 130, 246, 0.15); color: #2563EB; }

.rate-tier-price {
  font-size: 2.1rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--text-primary);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.tier-target .rate-tier-price {
  color: #059669;
}

.rate-tier-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.45;
  margin: 0;
}

.rate-tier-deliverables {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px dashed var(--border-medium);
  padding-top: 12px;
  font-size: 0.8rem;
  color: var(--text-primary);
}

.rate-tier-deliverables li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.rate-tier-deliverables li svg {
  color: #10B981;
  flex-shrink: 0;
}

/* Sponsor Pitch Email Generator Box */
.pitch-generator-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: 16px;
  padding: 24px;
  margin-top: 24px;
  box-shadow: var(--shadow-card);
}

.pitch-textarea {
  width: 100%;
  min-height: 180px;
  background: var(--bg-subtle);
  border: 1.5px solid var(--border-medium);
  border-radius: 12px;
  padding: 14px 18px;
  font-family: var(--font-mono);
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--text-primary);
  resize: vertical;
  outline: none;
  transition: all 0.2s ease;
}

.pitch-textarea:focus {
  border-color: #10B981;
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.12);
}

/* ==========================================================================
   YPP MONETIZATION ROADMAP (0 to 100K) STYLES
   ========================================================================== */
.roadmap-timeline-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin: 24px 0;
}

.roadmap-tier-card {
  background: var(--bg-surface);
  border: 1.5px solid var(--border-medium);
  border-radius: 16px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  transition: all 0.2s ease;
}

.roadmap-tier-card:hover {
  transform: translateY(-2px);
  border-color: #10B981;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
}

.roadmap-tier-card.status-unlocked {
  border-color: #10B981;
  background: linear-gradient(180deg, var(--bg-surface) 0%, rgba(16, 185, 129, 0.03) 100%);
}

.roadmap-tier-card.status-active {
  border-color: #3B82F6;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.25);
}

.roadmap-tier-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.roadmap-tier-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-primary);
}

.roadmap-status-chip {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 9999px;
  letter-spacing: 0.04em;
}

.roadmap-status-chip.unlocked { background: #ECFDF5; color: #065F46; border: 1px solid #A7F3D0; }
.roadmap-status-chip.active { background: #EFF6FF; color: #1E40AF; border: 1px solid #BFDBFE; }
.roadmap-status-chip.locked { background: #F1F5F9; color: #64748B; border: 1px solid #E2E8F0; }

.roadmap-progress-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.roadmap-progress-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  font-weight: 700;
}

.roadmap-progress-bar {
  width: 100%;
  height: 8px;
  background: var(--bg-subtle);
  border-radius: 9999px;
  overflow: hidden;
}

.roadmap-progress-fill {
  height: 100%;
  background: #10B981;
  border-radius: 9999px;
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.roadmap-progress-fill.active {
  background: #3B82F6;
}

.roadmap-unlocked-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.roadmap-unlocked-features li {
  display: flex;
  align-items: center;
  gap: 7px;
}

/* YPP Velocity Countdown Banner */
.ypp-velocity-banner {
  background: linear-gradient(135deg, #064E3B 0%, #0F172A 100%);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: 20px;
  padding: 26px 28px;
  color: #FFFFFF;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  box-shadow: 0 16px 36px rgba(6, 78, 59, 0.3);
  position: relative;
  overflow: hidden;
}

.ypp-velocity-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.18) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.ypp-velocity-left h3 {
  font-size: 1.35rem;
  font-weight: 800;
  margin: 0 0 6px;
  color: #FFFFFF;
  letter-spacing: -0.01em;
}

.ypp-velocity-left p {
  font-size: 0.88rem;
  color: #A7F3D0;
  margin: 0;
  line-height: 1.55;
  max-width: 680px;
}

.ypp-velocity-stat-pill {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  padding: 12px 20px;
  text-align: center;
  min-width: 120px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.ypp-velocity-stat-pill:hover {
  transform: translateY(-2px);
  border-color: rgba(52, 211, 153, 0.4);
}

.ypp-velocity-number {
  font-size: 1.65rem;
  font-weight: 900;
  font-family: var(--font-mono);
  color: #34D399;
  line-height: 1.15;
}

.ypp-velocity-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #CBD5E1;
  font-weight: 700;
  margin-top: 4px;
}

.ypp-abbr-sub {
  display: block;
  font-size: 0.70rem;
  font-weight: 700;
  color: #E2E8F0;
  letter-spacing: 0.01em;
  text-transform: none;
  margin-top: 2px;
}

/* ==========================================================================
   LIVE VELOCITY ENGINE (2026 AUDIT) LUXURY STYLES
   ========================================================================== */
.live-velocity-engine-card {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.95) 0%, rgba(10, 15, 29, 0.98) 100%);
  border: 1.5px solid rgba(16, 185, 129, 0.25);
  border-radius: 20px;
  padding: 24px;
  margin-bottom: 28px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
}

.live-velocity-engine-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(52, 211, 153, 0.6), transparent);
}

.velocity-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.velocity-radar-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 9999px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #34D399;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.radar-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34D399;
  box-shadow: 0 0 8px #34D399;
  animation: radarPulse 1.8s infinite;
}

@keyframes radarPulse {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 12px #34D399; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

/* 1-Click Presets Bar */
.velocity-preset-container {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
}

.preset-chip-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #E2E8F0;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 9999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  user-select: none;
}

.preset-chip-btn:hover {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.4);
  color: #34D399;
  transform: translateY(-1px);
}

.preset-chip-btn.active {
  background: #10B981;
  color: #0F172A;
  border-color: #10B981;
  font-weight: 800;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.4);
}

/* Telemetry Bento Grid Inputs */
.velocity-telemetry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
}

.telemetry-input-card {
  background: rgba(30, 41, 59, 0.55);
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: all 0.2s ease;
}

.telemetry-input-card:focus-within {
  border-color: #10B981;
  background: rgba(30, 41, 59, 0.85);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15), 0 8px 20px rgba(0, 0, 0, 0.3);
}

.telemetry-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.telemetry-input-label {
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #94A3B8;
}

.telemetry-field-input {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  color: #F8FAFC;
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 800;
  padding: 8px 12px;
  width: 100%;
  box-sizing: border-box;
  outline: none;
  transition: border-color 0.18s ease;
}

.telemetry-field-input:focus {
  border-color: #34D399;
}

.telemetry-badge-feedback {
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ==========================================================================
   4 GAMIFIED LUXURY ROADMAP TIERS (LEVEL 1 TO LEVEL 4)
   ========================================================================== */
.roadmap-timeline-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(285px, 1fr));
  gap: 20px;
  margin: 24px 0 32px;
}

.roadmap-tier-card {
  background: linear-gradient(180deg, #131B2E 0%, #0F172A 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.roadmap-tier-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

/* Tier Specific Themes */
/* Tier 1: Bronze / Amber */
.roadmap-tier-card.tier-bronze {
  border-color: rgba(245, 158, 11, 0.35);
}
.roadmap-tier-card.tier-bronze::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #D97706, #F59E0B, #FBBF24);
}
.roadmap-tier-card.tier-bronze:hover {
  border-color: rgba(245, 158, 11, 0.6);
  box-shadow: 0 16px 40px rgba(245, 158, 11, 0.15);
}

/* Tier 2: Golden Emerald (The Holy Grail) */
.roadmap-tier-card.tier-gold {
  border-color: rgba(251, 191, 36, 0.45);
  background: linear-gradient(180deg, #13222B 0%, #0C1A1E 100%);
  box-shadow: 0 12px 36px rgba(16, 185, 129, 0.18);
}
.roadmap-tier-card.tier-gold::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #10B981, #FBBF24, #10B981);
}
.roadmap-tier-card.tier-gold:hover {
  border-color: #FBBF24;
  box-shadow: 0 18px 48px rgba(251, 191, 36, 0.25), 0 0 0 1px rgba(251, 191, 36, 0.3);
}

/* Tier 3: Sapphire Blue */
.roadmap-tier-card.tier-blue {
  border-color: rgba(59, 130, 246, 0.35);
}
.roadmap-tier-card.tier-blue::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #2563EB, #3B82F6, #60A5FA);
}
.roadmap-tier-card.tier-blue:hover {
  border-color: rgba(59, 130, 246, 0.6);
  box-shadow: 0 16px 40px rgba(59, 130, 246, 0.15);
}

/* Tier 4: Holographic Silver / Violet */
.roadmap-tier-card.tier-silver {
  border-color: rgba(168, 85, 247, 0.35);
}
.roadmap-tier-card.tier-silver::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #8B5CF6, #A855F7, #E2E8F0);
}
.roadmap-tier-card.tier-silver:hover {
  border-color: rgba(168, 85, 247, 0.6);
  box-shadow: 0 16px 40px rgba(168, 85, 247, 0.18);
}

/* Tier Header Elements */
.tier-level-tag {
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 4px;
}

.tier-title-text {
  font-size: 1.15rem;
  font-weight: 900;
  color: #FFFFFF;
  margin: 0;
  line-height: 1.25;
}

.tier-status-pill {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 9999px;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.tier-status-pill.pill-unlocked {
  background: rgba(16, 185, 129, 0.2);
  color: #34D399;
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.tier-status-pill.pill-inprogress {
  background: rgba(59, 130, 246, 0.2);
  color: #60A5FA;
  border: 1px solid rgba(59, 130, 246, 0.4);
}

.tier-status-pill.pill-locked {
  background: rgba(148, 163, 184, 0.12);
  color: #94A3B8;
  border: 1px solid rgba(148, 163, 184, 0.25);
}

/* Criteria Badges Grid */
.tier-criteria-box {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.criteria-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: #CBD5E1;
}

.criteria-badge {
  background: rgba(255, 255, 255, 0.06);
  padding: 2px 7px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-weight: 800;
  color: #F8FAFC;
}

/* Luminous Progress Bar */
.tier-progress-track {
  width: 100%;
  height: 9px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 9999px;
  overflow: hidden;
  position: relative;
}

.tier-progress-fill {
  height: 100%;
  border-radius: 9999px;
  transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.tier-progress-fill::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: barShine 2.5s infinite;
}

@keyframes barShine {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.fill-bronze { background: linear-gradient(90deg, #D97706, #F59E0B); }
.fill-gold { background: linear-gradient(90deg, #10B981, #FBBF24); }
.fill-blue { background: linear-gradient(90deg, #2563EB, #3B82F6); }
.fill-silver { background: linear-gradient(90deg, #8B5CF6, #C084FC); }

/* Unlocked Features List */
.tier-perks-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.8rem;
  color: #CBD5E1;
}

.tier-perks-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.4;
}

.tier-perks-list li span.perk-icon {
  font-size: 0.95rem;
  flex-shrink: 0;
}

/* Bottom Earnings Potential Pill */
.tier-earning-potential-pill {
  background: rgba(255, 255, 255, 0.04);
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: #94A3B8;
  margin-top: auto;
}

/* ==========================================================================
   HOMEPAGE WELCOME LANGUAGE MODAL (IndiaPost Style)
   ========================================================================== */
.welcome-lang-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(11, 15, 25, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: modalFadeIn 0.25s ease-out;
}

@keyframes modalFadeIn {
  from { opacity: 0; transform: scale(0.97); }
  to { opacity: 1; transform: scale(1); }
}

.welcome-lang-modal {
  background: #FFFFFF;
  color: #0F172A;
  border-radius: 20px;
  padding: 32px 28px 28px;
  width: 100%;
  max-width: 440px;
  position: relative;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.welcome-lang-close-btn {
  position: absolute;
  top: 14px;
  right: 16px;
  background: transparent;
  border: none;
  font-size: 1.4rem;
  line-height: 1;
  color: #64748B;
  cursor: pointer;
  padding: 6px;
  border-radius: 50%;
  transition: all 0.18s ease;
}

.welcome-lang-close-btn:hover {
  background: #F1F5F9;
  color: #0F172A;
}

.welcome-lang-title {
  font-size: 1.45rem;
  font-weight: 900;
  color: #0F172A;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}

.welcome-lang-subtitle {
  font-size: 0.88rem;
  color: #64748B;
  margin: 0 0 24px;
  line-height: 1.45;
}

.welcome-lang-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.lang-choice-card {
  background: #F8FAFC;
  border: 2px solid #E2E8F0;
  border-radius: 14px;
  padding: 22px 14px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.lang-choice-card:hover {
  border-color: #10B981;
  background: #F0FDF4;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.15);
}

.lang-choice-card.active {
  border-color: #10B981;
  background: #ECFDF5;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
}

.lang-card-symbol {
  font-size: 2.2rem;
  font-weight: 900;
  color: #0F172A;
  line-height: 1;
}

.lang-card-name {
  font-size: 0.95rem;
  font-weight: 800;
  color: #334155;
}

/* ==========================================================================
   HOMEPAGE HEADER LANGUAGE SWITCHER CAPSULE PILL
   ========================================================================== */
.header-lang-switcher {
  position: relative;
  display: inline-block;
}

.header-lang-pill {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 9999px;
  padding: 6px 14px;
  color: #F8FAFC;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: all 0.2s ease;
  user-select: none;
}

.header-lang-pill:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(16, 185, 129, 0.4);
  color: #FFFFFF;
}

.header-lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #1E293B;
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 6px;
  min-width: 170px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
  z-index: 1000;
  display: none;
  flex-direction: column;
  gap: 4px;
  animation: dropdownFade 0.18s ease-out;
}

.header-lang-dropdown.show {
  display: flex;
}

@keyframes dropdownFade {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.lang-dropdown-item {
  background: transparent;
  border: none;
  color: #E2E8F0;
  font-size: 0.84rem;
  font-weight: 700;
  padding: 9px 14px;
  border-radius: 9px;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 9px;
  transition: all 0.15s ease;
  width: 100%;
}

.lang-dropdown-item:hover {
  background: rgba(16, 185, 129, 0.18);
  color: #34D399;
}

/* ==========================================================================
   YOUTUBE ALGORITHM SCORE SPEEDOMETER & 4 PILLARS STYLES (Studio Luxury 2026)
   ========================================================================== */
.algo-speedometer-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: 22px;
  padding: 28px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
  margin-bottom: 28px;
}

.algo-speedometer-box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 20%;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.algo-radial-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  margin: 10px 0 16px;
}

.algo-radial-svg {
  width: 220px;
  height: 220px;
  transform: rotate(-90deg);
}

.algo-radial-track {
  fill: none;
  stroke: #E2E8F0;
  stroke-width: 16;
}

.algo-radial-fill {
  fill: none;
  stroke-width: 16;
  stroke-linecap: round;
  stroke-dasharray: 565.48;
  stroke-dashoffset: 565.48;
  transition: stroke-dashoffset 1.4s cubic-bezier(0.16, 1, 0.3, 1), stroke 0.4s ease;
}

.algo-center-readout {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.algo-score-number {
  font-size: 3.4rem;
  font-weight: 900;
  font-family: var(--font-mono);
  line-height: 1;
  color: var(--text-main);
}

.algo-score-total {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-muted);
  margin-top: 2px;
}

.algo-state-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: 9999px;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-top: 8px;
}

/* 4 Algorithm Pillars Grid */
.algo-pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.algo-pillar-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border-medium);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: all 0.2s ease;
}

.algo-pillar-card:hover {
  border-color: #10B981;
  background: var(--bg-surface);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.pillar-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pillar-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 6px;
}

.pillar-score-badge {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 6px;
  background: var(--bg-surface);
  color: var(--text-main);
  border: 1px solid var(--border-medium);
}

.pillar-track {
  width: 100%;
  height: 8px;
  background: #E2E8F0;
  border-radius: 9999px;
  overflow: hidden;
}

.pillar-fill {
  height: 100%;
  border-radius: 9999px;
  transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.pillar-proof-text {
  font-size: 0.76rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 0;
}

/* ==========================================================================
   UNIVERSAL CREATOR SOCIAL SHARE BAR & EXCEL CSV EXPORT
   ========================================================================== */
.creator-share-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 14px 18px;
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: 14px;
  box-shadow: var(--shadow-subtle);
  margin: 20px 0;
}

.share-action-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.btn-share-social {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid var(--border-medium);
  transition: all 0.18s ease;
  user-select: none;
  text-decoration: none;
}

.btn-share-whatsapp {
  background: #25D366;
  color: #0B2514;
  border-color: #25D366;
}
.btn-share-whatsapp:hover {
  background: #22C35E;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.btn-share-twitter {
  background: #090D1A;
  color: #FFFFFF;
  border-color: #090D1A;
}
.btn-share-twitter:hover {
  background: #1E293B;
  transform: translateY(-1px);
}

.btn-share-copy {
  background: var(--bg-subtle);
  color: var(--text-secondary);
  border-color: var(--border-medium);
}
.btn-share-copy:hover {
  background: #E2E8F0;
  color: var(--text-main);
  transform: translateY(-1px);
}

.btn-export-csv {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  color: #FFFFFF;
  border: none;
  padding: 8px 16px;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
  transition: all 0.2s ease;
}
.btn-export-csv:hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.45);
}

/* ==========================================================================
   IN-DEPTH EDITORIAL SEO GUIDES (AdSense & GSC Compliance)
   ========================================================================== */
.tool-editorial-guide {
  background: var(--bg-surface);
  border: 1.5px solid var(--border-medium);
  border-radius: 20px;
  padding: 32px 28px;
  margin: 40px 0 24px;
  color: var(--text-primary);
}

.editorial-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 9999px;
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: #60A5FA;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}

.editorial-title {
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--text-primary);
  margin: 0 0 10px;
  line-height: 1.3;
}

.editorial-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 28px;
}

.editorial-grid-2col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 28px;
}

.editorial-feature-box {
  background: var(--bg-subtle);
  border: 1px solid var(--border-medium);
  border-radius: 14px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.editorial-feature-box h4 {
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.editorial-feature-box p {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

.editorial-disclaimer-box {
  background: rgba(239, 68, 68, 0.06);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-top: 24px;
}

.editorial-disclaimer-box strong {
  color: #DC2626;
}

/* Universal Studio Toast Notification */
.toast,
.studio-toast,
.global-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #090D1A;
  color: #FFFFFF;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 8px;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 9999;
  pointer-events: none;
}

.toast.toast--show,
.toast.show,
.studio-toast.show,
.global-toast.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
  display: flex !important;
}

/* ==========================================================================
   SOCIAL BLADE INTELLIGENCE SUITE (Grade, Milestones & Projections)
   ========================================================================== */
.sb-intelligence-grid {
  display: grid;
  grid-template-columns: 220px 1fr 1fr;
  gap: 16px;
  margin-top: 20px;
}
@media (max-width: 992px) {
  .sb-intelligence-grid {
    grid-template-columns: 1fr;
  }
}
.sb-grade-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border-medium);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.sb-grade-letter {
  font-family: var(--font-mono);
  font-size: 3.4rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
  margin: 8px 0 4px;
}
.sb-grade-label {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}
.sb-milestone-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border-medium);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.sb-milestone-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}
.sb-progress-track {
  width: 100%;
  height: 8px;
  background: rgba(15, 23, 42, 0.08);
  border-radius: 9999px;
  overflow: hidden;
  margin: 10px 0 6px;
}
.sb-progress-fill {
  height: 100%;
  border-radius: 9999px;
  background: linear-gradient(90deg, #10B981, #059669);
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.sb-earning-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border-medium);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.sb-earning-val {
  font-family: var(--font-mono);
  font-size: 1.28rem;
  font-weight: 900;
  color: #059669;
  margin-top: 4px;
}

/* ==========================================================================
   SECONDARY & EDITORIAL PAGES (About, Contact, Legal & Guides)
   ========================================================================== */
.studio-article-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  padding: 44px 48px;
  box-shadow: var(--shadow-card);
  margin-bottom: 40px;
}
@media (max-width: 768px) {
  .studio-article-card {
    padding: 24px 20px;
    border-radius: var(--radius-lg);
  }
}
.studio-article-header {
  margin-bottom: 32px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 24px;
}
.studio-article-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 0, 51, 0.08);
  color: var(--brand-primary);
  border: 1px solid rgba(255, 0, 51, 0.2);
  border-radius: 9999px;
  padding: 4px 12px;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}
.studio-article-title {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--text-main);
  line-height: 1.25;
  letter-spacing: -0.025em;
  margin-bottom: 12px;
}
@media (max-width: 768px) {
  .studio-article-title {
    font-size: 1.65rem;
  }
}
.studio-article-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 780px;
}
.studio-article-body {
  font-size: 0.96rem;
  color: var(--text-secondary);
  line-height: 1.8;
}
.studio-article-body h2 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  margin: 36px 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-subtle);
  letter-spacing: -0.015em;
}
.studio-article-body h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-main);
  margin: 24px 0 10px;
}
.studio-article-body p {
  margin-bottom: 18px;
}
.studio-article-body ul, .studio-article-body ol {
  margin: 0 0 20px 24px;
}
.studio-article-body li {
  margin-bottom: 10px;
  line-height: 1.7;
}
.studio-article-body strong {
  color: var(--text-main);
  font-weight: 700;
}
.studio-article-body a {
  color: #2563EB;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
  transition: color 0.15s;
}
.studio-article-body a:hover {
  color: #1D4ED8;
}
.studio-article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 0.92rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.studio-article-body th {
  background: var(--bg-subtle);
  color: var(--text-main);
  font-weight: 800;
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-medium);
}
.studio-article-body td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}
.studio-article-body tr:last-child td {
  border-bottom: none;
}
.studio-article-body code {
  font-family: var(--font-mono);
  font-size: 0.86rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border-medium);
  padding: 2px 6px;
  border-radius: 4px;
  color: #C026D3;
}
.studio-article-body blockquote {
  border-left: 4px solid var(--brand-primary);
  background: var(--bg-subtle);
  padding: 16px 20px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 20px 0;
  font-style: italic;
  color: var(--text-secondary);
}
.studio-callout-box {
  background: var(--bg-subtle);
  border: 1px solid var(--border-medium);
  border-left: 4px solid var(--brand-primary);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin: 24px 0;
}
.studio-contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin: 28px 0;
}
.studio-contact-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 22px;
  transition: all 0.2s ease;
}
.studio-contact-card:hover {
  border-color: #2563EB;
  background: #FFFFFF;
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}
.guides-bento-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
  margin: 32px 0 48px;
}
.guide-card-lux {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-card);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  color: inherit;
}
.guide-card-lux:hover {
  border-color: var(--brand-primary);
  box-shadow: 0 12px 28px -6px rgba(255, 0, 51, 0.12), var(--shadow-card);
  transform: translateY(-3px);
}
.guide-card-tag {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(37, 99, 235, 0.1);
  color: #2563EB;
  display: inline-block;
  margin-bottom: 12px;
}
.guide-card-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.35;
  margin-bottom: 10px;
}
.guide-card-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1;
}
.guide-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-faint);
  border-top: 1px solid var(--border-subtle);
  padding-top: 14px;
}
.guide-read-link {
  font-weight: 700;
  color: var(--brand-primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Guide Article Enhancements */
.studio-article-meta {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.studio-article-meta-badge {
  color: #16A34A;
  font-weight: 700;
}
.studio-promo-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin: 32px 0;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.studio-promo-card h3 {
  color: var(--text-main);
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 8px;
}
.studio-promo-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 18px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.studio-promo-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.studio-faq-item {
  background: var(--bg-subtle);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin-bottom: 12px;
}
.studio-faq-item strong {
  color: var(--text-main);
  display: block;
  font-size: 0.96rem;
  margin-bottom: 6px;
}
.studio-faq-item p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.65;
}



/* ==========================================================================
   STUDIO LUXURY 2026 — MASTER MOBILE USER EXPERIENCE & COMFORT SYSTEM
   Optimized for All Viewports (320px, 375px, 414px, 480px, 768px, 992px)
   ========================================================================== */

/* Universal Mobile Overflow & Hygiene */
html, body {
  max-width: 100vw;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}
*, *::before, *::after {
  box-sizing: border-box;
}

/* Sidebar Backdrop Blur Overlay */
.sidebar-overlay {
  display: none;
  position: fixed !important;
  inset: 0 !important;
  background: rgba(15, 23, 42, 0.45) !important;
  backdrop-filter: blur(4px) !important;
  -webkit-backdrop-filter: blur(4px) !important;
  z-index: 1500 !important;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
body.mobile-sidebar-open .sidebar-overlay,
.sidebar-overlay.active {
  display: block;
  opacity: 1;
  pointer-events: auto;
}

/* ==========================================================================
   MASTER RESPONSIVE ENGINE (Mobiles, Tablets, Laptops, Mac, PC & 4K Screens)
   ========================================================================== */

/* 1. TABLET & MOBILE VIEWPORTS (<= 900px) */
@media (max-width: 900px) {

  /* 0. Prevent any Horizontal Scroll / Overflow */
  html, body {
    width: 100% !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
    position: relative !important;
  }
  body.mobile-sidebar-open {
    overflow: hidden !important;
    touch-action: none !important;
  }
  .studio-shell {
    display: block !important;
    width: 100% !important;
    max-width: 100vw !important;
    overflow: visible !important;
    position: static !important;
    z-index: auto !important;
  }

  /* 1. Header & Navigation (Centered Logo on Mobile) */
  .studio-header {
    height: 60px !important;
    width: 100% !important;
    max-width: 100vw !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 2100 !important;
  }
  .header-inner {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0 16px !important;
    width: 100% !important;
    height: 100% !important;
    box-sizing: border-box !important;
  }
  .header-left {
    position: static !important;
    display: flex !important;
    align-items: center !important;
    margin: 0 !important;
  }
  .sidebar-trigger {
    position: relative !important;
    z-index: 20 !important;
    width: 38px !important;
    height: 38px !important;
    margin: 0 !important;
    border-radius: var(--radius-sm) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    background: #FFFFFF !important;
    border: 1px solid var(--border-medium) !important;
  }
  .sidebar-trigger svg {
    width: 18px !important;
    height: 18px !important;
  }
  .studio-header .brand-mark {
    position: absolute !important;
    left: calc(50% - 24px) !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    min-width: 0 !important;
    margin: 0 !important;
    z-index: 10 !important;
    text-decoration: none !important;
  }
  .studio-header .brand-symbol {
    width: 28px !important;
    height: 28px !important;
    border-radius: 8px !important;
  }
  .studio-header .brand-symbol svg {
    width: 15px !important;
    height: 15px !important;
  }
  .studio-header .brand-name {
    font-size: 1.02rem !important;
    font-weight: 800 !important;
    letter-spacing: -0.02em !important;
    white-space: nowrap !important;
  }
  .header-center-nav {
    display: none !important;
  }
  .header-right {
    position: relative !important;
    z-index: 20 !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    flex-shrink: 0 !important;
  }
  .header-right .status-indicator {
    display: none !important;
  }
  .btn-header-cta {
    display: none !important;
  }
  .btn-header-home {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    padding: 6px 12px !important;
    background: #090D1A !important;
    color: #FFFFFF !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 9999px !important;
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    box-shadow: 0 2px 8px rgba(9, 13, 26, 0.18) !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
  }
  .btn-header-home svg {
    width: 14px !important;
    height: 14px !important;
    stroke: #FFFFFF !important;
  }

  /* Mobile Hero & Tools Suite: Clean, Distraction-Free & Top-Placed */
  .hero-eyebrow,
  .hero-title-main,
  .hero-subtitle-text,
  .hero-trust-bar,
  .hero-seo-pills,
  .hero-cta-bar {
    display: none !important;
  }
  .hero-container {
    padding: 8px 12px 20px !important;
    margin: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .studio-tiles-container {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }
  .studio-tiles-header {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 6px !important;
    margin-bottom: 10px !important;
    padding: 0 2px !important;
    width: 100% !important;
  }
  .tiles-header-title {
    font-size: 0.95rem !important;
    font-weight: 800 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
  }
  .tiles-counter-badge {
    font-size: 0.68rem !important;
    padding: 2px 7px !important;
  }
  .studio-tiles-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
    width: 100% !important;
  }
  .studio-tool-tile {
    width: 100% !important;
    padding: 8px 10px !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    box-sizing: border-box !important;
    min-height: 52px !important;
    background: #FFFFFF !important;
    border: 1px solid #E2E8F0 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
    text-decoration: none !important;
  }
  .tile-icon-box {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    border-radius: 9px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
  }
  .tile-icon-box svg {
    width: 17px !important;
    height: 17px !important;
  }
  .tile-info-col {
    display: flex !important;
    flex-direction: column !important;
    min-width: 0 !important;
    flex: 1 !important;
    text-align: left !important;
  }
  .tile-name {
    font-size: 0.80rem !important;
    font-weight: 700 !important;
    color: #0F172A !important;
    line-height: 1.2 !important;
    white-space: normal !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }
  .tile-spec {
    font-size: 0.65rem !important;
    font-weight: 500 !important;
    color: #64748B !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    line-height: 1.2 !important;
    margin-top: 2px !important;
  }

    /* 2. Mobile Drawer Sidebar (Under Top Glass Header) */
  .studio-sidebar {
    position: fixed !important;
    left: 0 !important;
    top: var(--header-height, 60px) !important;
    bottom: 0 !important;
    height: calc(100vh - var(--header-height, 60px)) !important;
    width: min(88vw, 320px) !important;
    z-index: 2000 !important;
    background: #FFFFFF !important;
    transform: translateX(-100%) !important;
    transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1) !important;
    will-change: transform !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25) !important;
    padding: 14px 10px 28px !important;
    display: flex !important;
    flex-direction: column !important;
    overflow-y: auto !important;
    overscroll-behavior: contain !important;
    touch-action: pan-y !important;
    -webkit-overflow-scrolling: touch !important;
  }
  body.mobile-sidebar-open .studio-sidebar,
  .studio-sidebar.mobile-open {
    transform: translateX(0) !important;
    visibility: visible !important;
  }
  /* Ensure tool text, headers and badges are 100% visible on mobile, never icon-only */
  .studio-sidebar .sidebar-header-label,
  body.sidebar-collapsed .studio-sidebar .sidebar-header-label {
    display: block !important;
    font-size: 0.68rem !important;
    padding: 0 8px 10px !important;
  }
  .studio-sidebar .nav-text-block,
  body.sidebar-collapsed .studio-sidebar .nav-text-block {
    display: block !important;
    font-size: 0.85rem !important;
    font-weight: 650 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  .studio-sidebar .nav-badge,
  body.sidebar-collapsed .studio-sidebar .nav-badge {
    display: inline-flex !important;
    padding: 2px 6px !important;
    font-size: 9px !important;
  }
  .studio-sidebar .studio-nav-item,
  body.sidebar-collapsed .studio-sidebar .studio-nav-item {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 7px 10px !important;
    min-height: 40px !important;
  }
  .studio-nav-item {
    padding: 7px 10px !important;
    min-height: 40px !important;
    border-radius: 8px !important;
    gap: 6px !important;
  }
  .nav-item-left {
    gap: 9px !important;
    min-width: 0 !important;
    flex: 1 !important;
  }
  .nav-text-block {
    font-size: 0.85rem !important;
    font-weight: 650 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  .nav-icon-frame {
    width: 28px !important;
    height: 28px !important;
    border-radius: 7px !important;
    flex-shrink: 0 !important;
  }
  .studio-nav-item .nav-badge {
    padding: 2px 6px !important;
    font-size: 9px !important;
    flex-shrink: 0 !important;
  }

  /* 3. Main Workspace & Containers */
  .studio-main {
    padding: 0 !important;
    width: 100% !important;
    min-width: 0 !important;
  }
  .tool-workbench-container,
  .studio-content-container {
    padding: 16px 14px 32px !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* 4. Fluid Typography (Scaled for Mobile) */
  .studio-tool-title,
  .hero-title-main,
  .studio-article-title {
    font-size: clamp(1.35rem, 5.2vw, 1.75rem) !important;
    line-height: 1.25 !important;
    letter-spacing: -0.025em !important;
    margin-bottom: 8px !important;
  }
  .studio-tool-subtitle,
  .studio-article-subtitle {
    font-size: 0.88rem !important;
    line-height: 1.55 !important;
    margin-bottom: 18px !important;
    color: var(--text-muted) !important;
  }
  .studio-tool-tag,
  .studio-article-badge {
    font-size: 0.68rem !important;
    padding: 3px 8px !important;
    margin-bottom: 10px !important;
    gap: 4px !important;
  }
  .studio-tool-header {
    margin-bottom: 20px !important;
  }

  /* 5. Inputs & Workbench Controls */
  button, a, input, select, textarea, [role="button"] {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }

  /* Prevent iOS Safari Viewport Auto-Zoom across ALL fields */
  input[type="text"],
  input[type="url"],
  input[type="search"],
  input[type="number"],
  input[type="email"],
  select,
  textarea,
  .luxury-main-input,
  .keyword-input-field,
  .studio-input-field,
  .input-main,
  .studio-input,
  .topic-omnibar-input,
  .niche-search-input,
  .channel-search-field,
  .slider-input-pill,
  .currency-select-box {
    font-size: 16px !important;
    box-sizing: border-box !important;
  }

  .luxury-input-wrapper,
  .keyword-input-wrapper,
  .transcript-input-wrapper {
    flex-direction: column !important;
    align-items: stretch !important;
    padding: 10px !important;
    gap: 10px !important;
    border-radius: 16px !important;
    height: auto !important;
  }
  .luxury-input-icon { display: none !important; }
  .input-with-paste {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
  }
  .luxury-main-input,
  .keyword-input-field,
  .studio-input-field,
  .input-main {
    width: 100% !important;
    padding: 8px 6px !important;
    min-height: 42px !important;
  }
  .btn-extract-primary,
  .btn-studio-action.btn-studio-primary {
    width: 100% !important;
    justify-content: center !important;
    padding: 12px 18px !important;
    font-size: 0.92rem !important;
    min-height: 46px !important;
    border-radius: 12px !important;
  }

  /* 6. Channel Compare & Duel System */
  .duel-omnibar-card {
    padding: 16px 14px !important;
    border-radius: 16px !important;
  }
  .duel-inputs-layout {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px !important;
  }
  .duel-input-wrapper {
    width: 100% !important;
    min-width: 0 !important;
  }
  .duel-input-box {
    padding: 8px 12px !important;
    border-radius: 12px !important;
  }
  .duel-input-box input {
    font-size: 16px !important;
  }
  .duel-vs-badge-container {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 4px auto !important;
    gap: 12px !important;
  }
  .duel-vs-circle {
    width: 32px !important;
    height: 32px !important;
    font-size: 0.76rem !important;
  }
  .duel-swap-btn {
    padding: 4px 10px !important;
    font-size: 0.72rem !important;
  }
  .duel-tale-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
  .compare-presets-bar,
  .duel-presets-bar {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    flex-wrap: nowrap !important;
    padding-bottom: 6px !important;
    justify-content: flex-start !important;
  }
  .compare-presets-bar::-webkit-scrollbar,
  .duel-presets-bar::-webkit-scrollbar {
    display: none !important;
  }
  .duel-preset-pill {
    flex-shrink: 0 !important;
    white-space: nowrap !important;
  }

  /* 7. Channel Audit & Social Blade Intelligence Cards */
  .channel-dossier-card {
    padding: 16px 14px !important;
    border-radius: 16px !important;
  }
  .dossier-header-row {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 12px !important;
  }
  .sb-intelligence-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  .sb-grade-card,
  .sb-milestone-card,
  .sb-earning-card {
    padding: 16px 14px !important;
    border-radius: 14px !important;
  }
  .sb-grade-letter {
    font-size: 2.6rem !important;
  }
  .milestone-countdown-box {
    padding: 14px !important;
  }
  .dossier-actions-bar {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px !important;
  }
  .btn-terminal-copy-dossier,
  .btn-terminal-open-channel,
  .btn-export-csv {
    width: 100% !important;
    justify-content: center !important;
    padding: 10px 14px !important;
  }

  /* 7.5 Viral Topic Radar & Content Blueprints */
  .breakout-grid-layout,
  .thumb-grid,
  .deal-formats-grid,
  .velocity-telemetry-grid,
  .roadmap-timeline-grid,
  .milestone-bento-grid,
  .calc-layout-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  /* Segmented Tool Tabs Mobile (YouTube Video & Shorts) */
  .segmented-tool-tabs-container {
    width: 100% !important;
    margin: 0 auto 16px auto !important;
  }
  .segmented-tool-tabs {
    display: flex !important;
    width: 100% !important;
    max-width: 440px !important;
    margin: 0 auto !important;
    padding: 4px !important;
    gap: 4px !important;
    box-sizing: border-box !important;
  }
  .segmented-tool-tabs .tab-chip {
    flex: 1 1 50% !important;
    padding: 10px 10px !important;
    font-size: 0.84rem !important;
    min-height: 44px !important;
    justify-content: center !important;
    text-align: center !important;
  }

  /* Thumbnail Studio & Shorts Downloader Mobile Touch Optimization */
  .thumb-card {
    border-radius: 14px !important;
  }
  .thumb-card__preview {
    aspect-ratio: 16/9 !important;
  }
  .thumb-card__overlay-actions {
    opacity: 1 !important;
    transform: none !important;
  }
  .thumb-card__body {
    padding: 14px 12px !important;
    gap: 12px !important;
  }
  .btn-dl-primary {
    min-height: 44px !important;
    font-size: 0.92rem !important;
    border-radius: 10px !important;
    padding: 12px 14px !important;
  }
  .thumb-card__secondary-row {
    grid-template-columns: 1fr 1fr 1.2fr !important;
    gap: 6px !important;
  }
  .btn-format-alt,
  .btn-copy-action {
    min-height: 38px !important;
    font-size: 0.78rem !important;
    padding: 6px 4px !important;
    border-radius: 8px !important;
  }
  .feed-simulator {
    padding: 16px 12px !important;
    border-radius: 16px !important;
    margin-top: 24px !important;
  }
  .sim-header {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
  }
  .sim-toolbar {
    width: 100% !important;
    justify-content: space-between !important;
    gap: 8px !important;
  }
  .sim-toggle-group {
    flex: 1 !important;
    display: flex !important;
    justify-content: center !important;
  }
  .btn-sim-toggle {
    flex: 1 !important;
    justify-content: center !important;
    padding: 8px 6px !important;
    font-size: 0.75rem !important;
  }
  .sim-canvas {
    padding: 14px 10px !important;
  }
  .topic-breakout-card,
  .shorts-blueprint-card,
  .long-blueprint-card {
    padding: 16px 14px !important;
    border-radius: 14px !important;
  }
  .topic-mode-tabs {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    gap: 6px !important;
  }
  .topic-tab-btn {
    width: 100% !important;
    justify-content: center !important;
    padding: 10px 14px !important;
    font-size: 0.84rem !important;
  }
  .topic-omnibar-box {
    flex-direction: column !important;
    gap: 8px !important;
    width: 100% !important;
  }
  .topic-omnibar-input {
    width: 100% !important;
    min-width: 0 !important;
    height: 48px !important;
    font-size: 16px !important;
    box-sizing: border-box !important;
  }
  .btn-omnibar-paste,
  .btn-generate-glow {
    width: 100% !important;
    justify-content: center !important;
    height: 46px !important;
    box-sizing: border-box !important;
  }
  .creator-share-bar {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
    padding: 14px !important;
  }
  .share-action-group {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
    width: 100% !important;
  }
  .btn-share-social,
  .btn-export-csv {
    width: 100% !important;
    justify-content: center !important;
    font-size: 0.78rem !important;
    padding: 8px 10px !important;
  }
  .sub-category-row {
    padding: 12px 14px !important;
    gap: 10px !important;
  }
  .sub-category-row .btn-topic-action {
    width: 100% !important;
    justify-content: center !important;
  }
  .spoken-hook-callout {
    padding: 10px 12px !important;
    border-radius: 0 10px 10px 0 !important;
  }

  /* 8. Editorial & Guide Articles */
  .studio-article-card {
    padding: 20px 16px !important;
    border-radius: 16px !important;
    margin-bottom: 24px !important;
  }
  .studio-article-header {
    margin-bottom: 20px !important;
    padding-bottom: 16px !important;
  }
  .studio-article-body {
    font-size: 0.92rem !important;
    line-height: 1.7 !important;
  }
  .studio-article-body h2 {
    font-size: 1.22rem !important;
    margin: 24px 0 10px !important;
  }
  .studio-article-body h3 {
    font-size: 1.02rem !important;
    margin: 18px 0 8px !important;
  }
  .studio-article-body p {
    margin-bottom: 14px !important;
  }
  .studio-article-body ul,
  .studio-article-body ol {
    margin: 0 0 16px 18px !important;
  }
  .studio-article-body li {
    margin-bottom: 8px !important;
  }
  .studio-callout-box,
  .studio-promo-card {
    padding: 16px 14px !important;
    margin: 20px 0 !important;
    border-radius: 12px !important;
  }
  .studio-promo-card h3 {
    font-size: 1.1rem !important;
  }
  .studio-promo-card p {
    font-size: 0.86rem !important;
    margin-bottom: 14px !important;
  }
  .studio-promo-buttons {
    flex-direction: column !important;
    gap: 8px !important;
  }
  .studio-promo-buttons .btn-hero-primary,
  .studio-promo-buttons .btn-hero-secondary {
    width: 100% !important;
    justify-content: center !important;
    padding: 10px 14px !important;
  }
  .studio-faq-item {
    padding: 14px !important;
  }
  .studio-article-body table {
    font-size: 0.8rem !important;
    display: block !important;
    width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }
  .studio-article-body th,
  .studio-article-body td {
    padding: 8px 10px !important;
    white-space: nowrap !important;
  }

  /* 9. Guides Hub (Bento Grid) */
  .guides-bento-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    margin: 20px 0 32px !important;
  }
  .guide-card-lux {
    padding: 18px 16px !important;
    border-radius: 14px !important;
  }
  .guide-card-title {
    font-size: 1.05rem !important;
  }
  .guide-card-desc {
    font-size: 0.84rem !important;
    margin-bottom: 12px !important;
  }

  /* 10. Secondary Contact & Policy Cards */
  .studio-contact-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  .studio-contact-card {
    padding: 18px 14px !important;
  }

  /* 11. Compact Fitted Channel Name Cards on Mobile */
  #names-cards-container {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }
  .name-result-item {
    padding: 10px 12px !important;
    border-radius: 12px !important;
    margin-bottom: 0 !important;
    background: #FFFFFF !important;
    border: 1px solid var(--border-medium) !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
  }
  .name-result-item .channel-avatar-preview {
    width: 34px !important;
    height: 34px !important;
    border-radius: 50% !important;
    flex-shrink: 0 !important;
  }
  .name-result-item .name-text-display {
    font-size: 0.96rem !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    color: #090D1A !important;
  }
  .name-result-item .name-handle-row {
    gap: 5px !important;
    margin-top: 1px !important;
  }
  .name-result-item .handle-top-text {
    font-size: 0.72rem !important;
  }
  .name-result-item .studio-badge {
    font-size: 0.60rem !important;
    padding: 1px 4px !important;
  }
  .name-result-item .name-card-actions-top .btn-icon-studio {
    width: 26px !important;
    height: 26px !important;
    border-radius: 6px !important;
  }
  .name-result-item .name-card-actions-top .btn-icon-studio svg {
    width: 13px !important;
    height: 13px !important;
  }
  .name-card-actions-bar {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 4px !important;
    margin-top: 6px !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
  }
  .name-card-actions-bar::-webkit-scrollbar {
    display: none !important;
  }
  .name-result-item .handle-verify-group {
    gap: 3px !important;
    flex-shrink: 0 !important;
  }
  .name-result-item .handle-verify-pill-btn {
    height: 26px !important;
    padding: 2px 7px !important;
    font-size: 0.68rem !important;
    border-radius: 6px !important;
    gap: 4px !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
  }
  .name-result-item .handle-verify-pill-btn .handle-name-label {
    display: none !important;
  }
  .name-result-item .handle-verify-pill-btn .handle-badge {
    font-size: 0.62rem !important;
    padding: 1px 4px !important;
    font-weight: 800 !important;
  }
  .name-result-item .handle-cycle-btn,
  .name-result-item .handle-yt-link-btn {
    width: 26px !important;
    height: 26px !important;
    border-radius: 6px !important;
    flex-shrink: 0 !important;
  }
  .name-result-item .handle-pill-btn {
    height: 26px !important;
    padding: 2px 8px !important;
    font-size: 0.68rem !important;
    border-radius: 6px !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    gap: 3px !important;
  }

  /* 11. Footer */
  .studio-footer {
    padding: 36px 16px 30px !important;
    margin-top: 36px !important;
  }
  .footer-content {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
    text-align: center !important;
  }
  .footer-brand-pane {
    align-items: center !important;
    display: flex !important;
    flex-direction: column !important;
  }
  .studio-footer .brand-mark,
  .footer-brand-pane .brand-mark {
    position: static !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto 14px auto !important;
    z-index: 1 !important;
  }
  .studio-footer .brand-symbol {
    width: 36px !important;
    height: 36px !important;
    border-radius: 10px !important;
  }
  .studio-footer .brand-name {
    font-size: 1.22rem !important;
  }
  .footer-brand-pane p {
    max-width: 400px !important;
    margin: 0 auto !important;
  }
  .footer-nav-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
    text-align: center !important;
  }
  .footer-col-title {
    margin-bottom: 10px !important;
  }
  .footer-link {
    padding: 6px 0 !important;
    display: block !important;
    font-size: 0.86rem !important;
  }
  .footer-bottom-bar {
    flex-direction: column !important;
    gap: 8px !important;
    text-align: center !important;
    font-size: 0.74rem !important;
  }
}

/* 2. COMPACT SMARTPHONES (<= 480px: iPhone SE, Galaxy, Pixel Mini) */
@media (max-width: 480px) {
  .tool-workbench-container,
  .studio-content-container {
    padding: 12px 10px 24px !important;
  }
  .tool-workbench-card,
  .studio-article-card {
    padding: 14px 10px !important;
    border-radius: 12px !important;
  }
  .brand-name {
    font-size: 0.96rem !important;
  }
  .btn-header-cta {
    padding: 6px 10px !important;
    font-size: 0.74rem !important;
  }
  .studio-tool-title,
  .hero-title-main,
  .studio-article-title {
    font-size: 1.3rem !important;
  }
  .luxury-card {
    padding: 14px 10px !important;
    border-radius: 12px !important;
  }
  .share-action-group {
    grid-template-columns: 1fr !important;
  }
  .trust-ribbon-bar {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    gap: 5px !important;
    margin-top: 6px !important;
    margin-bottom: 12px !important;
    padding-bottom: 2px !important;
  }
  .trust-ribbon-bar::-webkit-scrollbar {
    display: none !important;
  }
  .trust-ribbon-item {
    flex-shrink: 0 !important;
    padding: 3px 9px !important;
    font-size: 0.68rem !important;
    border-radius: 9999px !important;
    gap: 4px !important;
  }
  .trust-ribbon-item span.icon {
    font-size: 0.76rem !important;
  }
}

/* 3. TABLETS & SMALL LAPTOPS (769px to 1024px: iPad, Surface, Chromebook) */
@media (min-width: 769px) and (max-width: 1024px) {
  .tool-workbench-container {
    padding: 28px 20px 48px !important;
  }
  .breakout-grid-layout,
  .thumb-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
  }
  .sb-intelligence-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .duel-tale-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* 4. DESKTOP & MAC (1025px to 1440px) */
@media (min-width: 1025px) and (max-width: 1440px) {
  .breakout-grid-layout {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  }
}

/* 5. ULTRA-WIDE & 4K MONITORS (>= 1441px) */
@media (min-width: 1441px) {
  .tool-workbench-container,
  .studio-content-container {
    max-width: 1480px !important;
    margin: 0 auto !important;
    padding: 48px 48px 80px !important;
  }
  .breakout-grid-layout {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 24px !important;
  }
}


/* ==========================================================================
   NOTEGPT-GRADE MOBILE TOOL UI & UNIFIED INPUT SYSTEM
   ========================================================================== */

/* 1. Segmented Tool Mode Switcher */
.segmented-tool-tabs-container {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-bottom: 22px;
}
.segmented-tool-tabs {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--bg-subtle, #F1F5F9);
  border: 1px solid var(--border-medium, #E2E8F0);
  border-radius: 14px;
  padding: 4px;
  margin: 0 auto;
  max-width: 100%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  user-select: none;
}
.segmented-tool-tabs::-webkit-scrollbar {
  display: none;
}
.segmented-tool-tabs .tab-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-secondary, #64748B);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 10px;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  min-height: 42px;
  user-select: none;
}
.segmented-tool-tabs .tab-chip svg {
  flex-shrink: 0;
  transition: transform 0.18s ease;
}
.segmented-tool-tabs .tab-chip:hover {
  color: var(--text-main, #0F172A);
  background: rgba(255, 255, 255, 0.6);
}
.segmented-tool-tabs .tab-chip.active {
  background: #FFFFFF !important;
  color: #DC2626 !important;
  border-color: rgba(220, 38, 38, 0.2) !important;
  box-shadow: 0 3px 12px rgba(220, 38, 38, 0.12), 0 1px 3px rgba(0, 0, 0, 0.06) !important;
  font-weight: 800 !important;
}
.segmented-tool-tabs .tab-chip.active svg {
  color: #DC2626;
  transform: scale(1.08);
}

/* 2. Studio Input Subbar */
.studio-input-subbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px;
  background: #F8FAFC;
  border-top: 1px solid var(--border-subtle, #F1F5F9);
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
  font-size: 0.8rem;
  color: var(--text-secondary, #64748B);
}

/* 3. Horizontal Swipeable Sample Rail */
.sample-rail-wrapper {
  margin: 18px 0 28px;
  width: 100%;
}
.sample-rail-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.sample-rail-title {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--text-main, #0F172A);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.sample-rail-hint {
  font-size: 0.74rem;
  color: var(--text-muted, #94A3B8);
  font-weight: 600;
}
.sample-rail-scroll {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 2px 10px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.sample-rail-scroll::-webkit-scrollbar {
  display: none;
}
.sample-card-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: #FFFFFF;
  border: 1px solid var(--border-medium, #E2E8F0);
  border-radius: 9999px;
  font-size: 0.82rem;
  color: var(--text-main, #1E293B);
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.16s ease;
  box-shadow: 0 1px 4px rgba(0,0,0,0.03);
}
.sample-card-chip:hover, .sample-card-chip:active {
  border-color: #FF0033;
  background: #FFF1F2;
  color: #E11D48;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 0, 51, 0.12);
}
.sample-chip-icon {
  font-size: 1rem;
  line-height: 1;
}
.sample-chip-text {
  font-size: 0.82rem;
}
.sample-chip-text strong {
  color: var(--text-main, #0F172A);
  font-weight: 700;
}

/* 4. Mobile Sticky Action Dock (Transcript & Result Views) */
.mobile-sticky-action-dock {
  display: none;
}
@media (max-width: 900px) {
  .mobile-sticky-action-dock {
    display: flex;
    position: fixed;
    bottom: 16px;
    left: 14px;
    right: 14px;
    z-index: 1200;
    background: rgba(15, 23, 42, 0.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 16px;
    padding: 8px 10px;
    align-items: center;
    justify-content: space-around;
    gap: 6px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.15);
    animation: dockSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  }
  @keyframes dockSlideUp {
    from { transform: translateY(100px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
  }
  .dock-btn {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 6px 10px;
    background: transparent;
    border: none;
    color: #F8FAFC;
    font-size: 0.68rem;
    font-weight: 700;
    border-radius: 10px;
    cursor: pointer;
    flex: 1;
    min-width: 0;
    transition: all 0.15s ease;
  }
  .dock-btn:active {
    background: rgba(255, 255, 255, 0.15);
    transform: scale(0.96);
  }
  .dock-btn svg, .dock-btn .dock-icon {
    font-size: 1.1rem;
    line-height: 1;
  }
  .dock-btn-highlight {
    background: linear-gradient(135deg, #FF0033 0%, #E6002E 100%);
    box-shadow: 0 2px 8px rgba(255, 0, 51, 0.4);
  }
  .dock-btn-highlight:active {
    background: #CC0029;
  }

  /* Responsive tuning for sample rail and input */
  .sample-rail-scroll {
    gap: 8px;
  }
  .sample-card-chip {
    padding: 7px 12px;
    font-size: 0.78rem;
  }
  .studio-input-subbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 8px 12px;
  }
}


/* AI Studio Pills Responsive Grid (Transcript Extractor) */
.ai-studio-pills-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 10px !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.ai-studio-pills-grid .ai-prompt-btn {
  width: 100% !important;
  min-width: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 8px !important;
  padding: 11px 14px !important;
  background: #FFFFFF !important;
  border: 1px solid #C7D2FE !important;
  border-radius: var(--radius-md) !important;
  color: #3730A3 !important;
  font-size: 0.86rem !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
  white-space: normal !important;
  text-align: left !important;
  line-height: 1.35 !important;
  box-sizing: border-box !important;
}

.ai-studio-pills-grid .ai-prompt-btn:hover {
  background: #EEF2FF !important;
  border-color: #6366F1 !important;
  color: #4338CA !important;
  transform: translateY(-1px) !important;
}

.ai-studio-pills-grid .ai-prompt-btn.active {
  background: #4F46E5 !important;
  border-color: #4F46E5 !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.3) !important;
}

@media (max-width: 768px) {
  .ai-studio-pills-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
  }
  .ai-studio-pills-grid .ai-prompt-btn {
    padding: 10px 12px !important;
    font-size: 0.82rem !important;
  }
}

@media (max-width: 440px) {
  .ai-studio-pills-grid {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }
  .ai-studio-pills-grid .ai-prompt-btn {
    padding: 11px 14px !important;
    font-size: 0.84rem !important;
  }
}

/* Reserved Space for Google AdSense In-Article Unit (CLS Protection) */
.ad-slot-container {
  width: 100%;
  max-width: 860px;
  margin: 32px auto;
  min-height: 280px;
  background: #F8FAFC;
  border: 1px dashed #CBD5E1;
  border-radius: 12px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.ad-slot-label {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748B;
  margin-bottom: 8px;
  text-align: center;
}


