/* ============================================================================
   SYLLOVO BRAND HOMEPAGE — ELEVENLABS-INSPIRED DARK CINEMATIC & TACTILE GLASS
   High-contrast obsidian surfaces (#09090b / #111216), tight display typography,
   interactive 4-tab live studio playground, modular bento cards, zero newspaper tables.
   WCAG AA/AAA contrast verified; mobile-first 360px–1440px zero horizontal overflow.
   ============================================================================ */

#syllovo-mandatory-login-gate.el-home-root {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #09090b;
  color: #fafafa;
  overflow-y: auto;
  overflow-x: hidden;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

#syllovo-mandatory-login-gate.el-home-root *,
#syllovo-mandatory-login-gate.el-home-root *::before,
#syllovo-mandatory-login-gate.el-home-root *::after {
  box-sizing: border-box;
}

/* Subtle Ambient Studio Glow */
.el-ambient-glow {
  position: absolute;
  top: -180px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1100px, 100vw);
  height: 520px;
  background: radial-gradient(
    ellipse at 50% 28%,
    rgba(99, 102, 241, 0.16) 0%,
    rgba(16, 185, 129, 0.08) 38%,
    rgba(9, 9, 11, 0) 72%
  );
  pointer-events: none;
  z-index: 0;
}

.el-container {
  position: relative;
  z-index: 1;
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --------------------------------------------------------------------------
   1. STICKY TACTILE GLASS NAVBAR (SINGLE SLEEK ROW ON MOBILE & DESKTOP)
   -------------------------------------------------------------------------- */
.el-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(9, 9, 11, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.el-header-inner {
  max-width: 1260px;
  margin: 0 auto;
  height: 64px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.el-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: none;
  border: none;
  padding: 0;
  color: #fafafa;
  cursor: pointer;
  text-decoration: none;
  flex-shrink: 0;
}

.el-brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: #fafafa;
  color: #09090b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 15px;
  letter-spacing: -0.04em;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.el-brand-wave {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  height: 14px;
}

.el-brand-wave span {
  width: 2.5px;
  border-radius: 999px;
  background: #09090b;
  display: block;
}

.el-brand-name {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fafafa;
}

.el-nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.el-nav-link {
  color: #d4d4d8;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  padding: 7px 12px;
  border-radius: 999px;
  transition: color 0.16s ease, background 0.16s ease;
}

.el-nav-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.el-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.el-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 38px;
  padding: 8px 16px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.14s ease, background 0.16s ease, border-color 0.16s ease;
  white-space: nowrap;
}

.el-btn:active {
  transform: scale(0.985);
}

.el-btn-primary {
  background: #fafafa;
  color: #09090b;
  border: 1px solid #fafafa;
  font-weight: 700;
}

.el-btn-primary:hover {
  background: #e4e4e7;
  border-color: #e4e4e7;
}

.el-btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  color: #fafafa;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.el-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.26);
}

.el-mobile-menu-btn {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: #fafafa;
  font-size: 16px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.el-mobile-drawer {
  display: none;
  padding: 12px 20px 16px;
  background: #101116;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  flex-direction: column;
  gap: 6px;
}

.el-mobile-drawer.open {
  display: flex;
}

.el-mobile-drawer a {
  color: #e4e4e7;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
}

/* --------------------------------------------------------------------------
   2. HERO + INTERACTIVE STUDIO PLAYGROUND + AUTH CARD
   -------------------------------------------------------------------------- */
.el-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(350px, 0.88fr);
  gap: 32px;
  padding: 44px 0 48px;
  align-items: start;
}

.el-hero-grid > *,
.el-bento-grid > *,
.el-roi-grid > *,
.el-pricing-grid > *,
.el-archetype-grid > * {
  min-width: 0;
  max-width: 100%;
}

.el-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e4e4e7;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: 18px;
}

.el-eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #34d399;
  box-shadow: 0 0 10px rgba(52, 211, 153, 0.75);
}

.el-hero-title {
  font-size: clamp(34px, 4.4vw, 56px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.038em;
  color: #fafafa;
  margin: 0 0 16px;
}

.el-hero-title-muted {
  color: #a1a1aa;
  font-weight: 700;
}

.el-hero-sub {
  font-size: 16px;
  line-height: 1.6;
  color: #b4b4be;
  margin: 0 0 24px;
  max-width: 640px;
}

/* Interactive Studio Showcase Card (ElevenLabs Tabbed Playground Pattern) */
.el-playground-card {
  background: linear-gradient(180deg, #13141a 0%, #0d0e13 100%);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 20px;
  padding: 16px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.48);
}

.el-playground-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.el-playground-tabs::-webkit-scrollbar {
  display: none;
}

.el-tab-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: #c4c4cc;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.15s ease;
}

.el-tab-pill:hover {
  color: #fafafa;
  background: rgba(255, 255, 255, 0.07);
}

.el-tab-pill.active {
  background: #fafafa;
  color: #09090b;
  border-color: #fafafa;
  font-weight: 700;
}

.el-playground-stage {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: #07080b;
}

.el-playground-video-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000000;
  position: relative;
}

.el-playground-video-wrap video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #000000;
}

.el-playground-caption-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 14px;
  background: #0f1117;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
}

.el-waveform-bars {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  height: 20px;
}

.el-waveform-bars i {
  display: block;
  width: 3px;
  border-radius: 999px;
  background: #34d399;
}

.el-kpi-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.el-kpi-tile {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.el-kpi-val {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fafafa;
}

.el-kpi-lbl {
  font-size: 11.5px;
  color: #a1a1aa;
  margin-top: 2px;
}

/* --------------------------------------------------------------------------
   3. RIGHT COLUMN: AUTHENTICATION & VERIFIED WORKSPACE STUDIO CARD
   -------------------------------------------------------------------------- */
.el-auth-shell {
  background: #121318;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 20px;
  padding: 22px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.el-segmented {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px;
  border-radius: 12px;
  background: #090a0e;
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 18px;
}

.el-seg-btn {
  min-height: 36px;
  padding: 8px 10px;
  border-radius: 9px;
  border: none;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  background: transparent;
  color: #a1a1aa;
  transition: all 0.15s ease;
}

.el-seg-btn.active {
  background: #fafafa;
  color: #09090b;
}

.el-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #e4e4e7;
  margin-bottom: 5px;
}

.el-input,
.el-select,
.el-textarea {
  width: 100%;
  min-height: 40px;
  padding: 9px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: #090a0e;
  color: #fafafa;
  font-family: inherit;
  font-size: 13.5px;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.el-input::placeholder,
.el-textarea::placeholder {
  color: #71717a;
}

.el-input:focus,
.el-select:focus,
.el-textarea:focus {
  border-color: #fafafa;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.08);
}

.el-eye-btn {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  min-width: 36px;
  min-height: 36px;
  border-radius: 8px;
  background: transparent;
  border: none;
  color: #a1a1aa;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}

.el-eye-btn:hover {
  color: #fafafa;
  background: rgba(255, 255, 255, 0.06);
}

.el-subbox {
  padding: 11px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.el-submit-btn {
  width: 100%;
  min-height: 44px;
  padding: 11px 16px;
  border-radius: 999px;
  border: 1px solid #fafafa;
  background: #fafafa;
  color: #09090b;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.15s ease;
}

.el-submit-btn:hover {
  background: #e4e4e7;
}

.el-qr-mini-card {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  background: #121318;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  gap: 14px;
}

/* --------------------------------------------------------------------------
   4. BENTO SECTIONS, CREATOR ROI STUDIO & PRICING CARDS
   -------------------------------------------------------------------------- */
.el-section {
  padding: 56px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.el-section-kicker {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: #a1a1aa;
  margin-bottom: 8px;
}

.el-section-title {
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: #fafafa;
  margin: 0 0 10px;
}

.el-section-sub {
  font-size: 15px;
  line-height: 1.6;
  color: #a1a1aa;
  margin: 0;
  max-width: 680px;
}

.el-bento-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.el-bento-card {
  grid-column: span 6;
  background: linear-gradient(180deg, #13141a 0%, #0e0f14 100%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}

.el-bento-card.span-7 {
  grid-column: span 7;
}

.el-bento-card.span-5 {
  grid-column: span 5;
}

.el-bento-card.span-4 {
  grid-column: span 4;
}

.el-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #e4e4e7;
  font-size: 11px;
  font-weight: 600;
}

.el-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.el-price-card {
  background: #111217;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.el-price-card.featured {
  background: linear-gradient(180deg, #191b24 0%, #111217 100%);
  border: 1.5px solid rgba(250, 250, 250, 0.65);
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.5);
}

.el-price-list {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13px;
  color: #d4d4d8;
}

.el-roi-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 20px;
  margin-top: 26px;
}

.el-archetype-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.el-archetype-card {
  padding: 16px;
  border-radius: 16px;
  background: #111217;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* --------------------------------------------------------------------------
   5. RESPONSIVE BREAKPOINTS (TABLET & MOBILE — ZERO OVERFLOW, 16px INPUTS)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .el-hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding: 28px 0 36px;
  }

  .el-bento-card,
  .el-bento-card.span-7,
  .el-bento-card.span-5,
  .el-bento-card.span-4 {
    grid-column: span 6;
  }

  .el-pricing-grid {
    grid-template-columns: 1fr;
  }

  .el-roi-grid {
    grid-template-columns: 1fr;
  }

  .el-archetype-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .el-nav-links {
    display: none;
  }

  .el-mobile-menu-btn {
    display: inline-flex;
  }
}

@media (max-width: 768px) {
  .el-container {
    padding: 0 16px;
  }

  .el-header-inner {
    height: 56px;
    padding: 0 14px;
    gap: 8px;
  }

  .el-brand-name {
    font-size: 16px;
  }

  .el-btn {
    min-height: 36px;
    padding: 7px 12px;
    font-size: 12px;
  }

  .el-hero-title {
    font-size: 31px;
    line-height: 1.08;
  }

  .el-hero-sub {
    font-size: 14.5px;
    margin-bottom: 18px;
  }

  .el-kpi-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .el-bento-grid {
    grid-template-columns: 1fr;
  }

  .el-bento-card,
  .el-bento-card.span-7,
  .el-bento-card.span-5,
  .el-bento-card.span-4 {
    grid-column: 1 / -1;
    padding: 18px;
  }

  .el-archetype-grid {
    grid-template-columns: 1fr;
  }

  .el-section {
    padding: 38px 0;
  }

  .el-auth-shell {
    padding: 18px 16px;
  }

  .el-signup-two-col {
    grid-template-columns: 1fr !important;
  }

  .el-qr-mini-card {
    flex-direction: column;
    align-items: flex-start;
  }

  /* Prevent iOS Safari zoom on input focus */
  .el-input,
  .el-select,
  .el-textarea {
    font-size: 16px !important;
    min-height: 42px;
  }
}

/* ============================================================================
   DESKTOP 1-CLICK MOBILE VIEW SIMULATOR FRAME (body.force-mobile-preview)
   Renders Syllovo Studio inside an interactive 394px iPhone-grade studio frame
   on desktop monitors so any page or Video Editor flow can be tested in 1 click!
   ============================================================================ */
body.force-mobile-preview {
  background: radial-gradient(circle at 50% 0%, #1c1e29 0%, #0b0c10 70%) !important;
}

@media (min-width: 769px) {
  body.force-mobile-preview #app-layout-root {
    max-width: 394px !important;
    width: 394px !important;
    height: min(852px, calc(100vh - 28px)) !important;
    min-height: 0 !important;
    margin: 14px auto !important;
    border-radius: 30px !important;
    border: 6px solid #232634 !important;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.1) !important;
    overflow: hidden !important;
    position: relative !important;
    background: var(--bg-app, #ffffff) !important;
    display: flex !important;
    flex-direction: column !important;
  }

  body.force-mobile-preview .app-sidebar,
  body.force-mobile-preview .desktop-only,
  body.force-mobile-preview .header-course-pill,
  body.force-mobile-preview #mobile-header-new-btn {
    display: none !important;
  }

  body.force-mobile-preview .mobile-only-logo {
    display: flex !important;
    align-items: center;
  }

  body.force-mobile-preview .mobile-only-inline {
    display: inline-flex !important;
  }

  body.force-mobile-preview .app-main {
    width: 100% !important;
    max-width: 100% !important;
    flex: 1 1 auto !important;
    min-height: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
  }

  body.force-mobile-preview .top-header {
    height: 52px !important;
    min-height: 52px !important;
    padding: 0 8px !important;
    gap: 4px !important;
  }

  body.force-mobile-preview .header-left {
    gap: 5px !important;
  }

  body.force-mobile-preview #header-nav-back-btn,
  body.force-mobile-preview #header-nav-fwd-btn {
    display: none !important;
  }

  body.force-mobile-preview .header-right {
    gap: 4px !important;
  }

  body.force-mobile-preview .page-current-title {
    font-size: 13.5px !important;
    max-width: 110px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  body.force-mobile-preview .workspace-scroll {
    flex: 1 1 auto !important;
    padding: 10px 10px 76px 10px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
  }

  body.force-mobile-preview .grid-2,
  body.force-mobile-preview .grid-3,
  body.force-mobile-preview .grid-4 {
    grid-template-columns: 1fr !important;
  }

  body.force-mobile-preview .mobile-bottom-nav {
    display: grid !important;
    grid-template-columns: repeat(6, 1fr) !important;
    position: fixed !important;
    bottom: 20px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 382px !important;
    height: 58px !important;
    z-index: 1500 !important;
    border-radius: 0 0 24px 24px !important;
    background: var(--bg-surface, #ffffff) !important;
    border-top: 1px solid var(--border, #e4e4e7) !important;
    padding: 2px 4px !important;
  }

  body.force-mobile-preview .mobile-nav-btn {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 2px !important;
    border: none !important;
    background: transparent !important;
    color: var(--text-secondary, #52525b) !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    padding: 4px 2px !important;
    cursor: pointer !important;
  }

  body.force-mobile-preview .mobile-nav-btn .m-icon {
    font-size: 16px !important;
    line-height: 1 !important;
  }

  body.force-mobile-preview .mobile-nav-btn.active {
    color: var(--text-main, #09090b) !important;
    font-weight: 800 !important;
  }
}

/* Unconditional Mobile YouTube Studio Component Styling (Works on Real <=768px Mobile AND Desktop Mobile-View Toggle!) */
.mobile-yt-studio-root {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: 100%;
  padding-bottom: 12px;
  box-sizing: border-box;
}

.mobile-yt-player-card {
  width: 100%;
  background: #000000;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}

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

.mobile-yt-video-aspect video,
#mobile-mp4-player-mount video {
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  object-fit: contain !important;
  display: block !important;
  background: #000000 !important;
}

.mobile-yt-cc-bar {
  padding: 8px 11px;
  background: #111217;
  border-top: 1px solid #232530;
  color: #e4e4e7;
  font-size: 12px;
  line-height: 1.42;
}

.mobile-yt-cc-badge {
  display: inline-block;
  padding: 1px 6px;
  margin-right: 6px;
  border-radius: 4px;
  background: #1f222d;
  border: 1px solid #323646;
  color: #93c5fd;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
}

.mobile-yt-title-row {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  min-width: 0;
}

.mobile-yt-clip-select {
  flex: 1 1 auto;
  min-width: 0;
  height: 38px;
  padding: 0 10px;
  border-radius: 9px;
  border: 1px solid var(--border-strong, #d4d4d8);
  background: var(--bg-surface, #ffffff);
  color: var(--text-main, #09090b);
  font-size: 16px !important;
  font-weight: 700;
  box-sizing: border-box;
}

.mobile-yt-icon-pill {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  border: 1px solid var(--border-strong, #d4d4d8);
  background: var(--bg-surface, #ffffff);
  color: var(--text-main, #09090b);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mobile-yt-action-strip {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 2px;
}

.mobile-yt-action-strip::-webkit-scrollbar {
  display: none;
}

.mobile-yt-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--border-strong, #d4d4d8);
  background: var(--bg-surface, #ffffff);
  color: var(--text-main, #09090b);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
  flex-shrink: 0;
  cursor: pointer;
}

.mobile-yt-pill.active {
  background: #09090b;
  color: #ffffff;
  border-color: #09090b;
}

.mobile-yt-pill.emerald {
  background: rgba(16, 185, 129, 0.14);
  color: #059669;
  border-color: rgba(16, 185, 129, 0.45);
}

.mobile-yt-editor-drawer {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #272935;
  background: #0c0d12;
}

.mobile-yt-chat-card {
  background: #0d0e12;
  color: #ececf1;
  border: 1px solid #232530;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.mobile-yt-chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  border-bottom: 1px solid #1d1f29;
  background: #111319;
}

.mobile-yt-time-badge {
  padding: 2px 8px;
  border-radius: 6px;
  background: #1a1d27;
  border: 1px solid #2b3040;
  color: #93c5fd;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  white-space: nowrap;
}

.mobile-yt-chat-composer {
  padding: 10px 12px;
  background: #13151c;
  border-bottom: 1px solid #1e202b;
}

.mobile-yt-chat-composer textarea {
  width: 100%;
  border: 1px solid #292c3a;
  border-radius: 10px;
  padding: 9px 11px;
  background: #0b0c10;
  color: #f4f4f6;
  font-family: var(--font-sans);
  font-size: 16px !important;
  line-height: 1.4;
  resize: none;
  outline: none;
  box-sizing: border-box;
  overflow: hidden;
}

.mobile-yt-composer-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 8px;
}

.mobile-yt-frame-btn {
  height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid #2e3242;
  background: #1a1c25;
  color: #d4d4d8;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
}

.mobile-yt-send-btn {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: none;
  background: #f4f4f6;
  color: #09090b;
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mobile-yt-chat-feed {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 12px;
}

.mobile-yt-chat-thread {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid #1b1d26;
}

.mobile-yt-user-bubble {
  padding: 9px 11px;
  border-radius: 10px;
  background: #171922;
  border: 1px solid #262938;
}

/* Floating Desktop Exit Pill when Force-Mobile Preview is Active */
.force-mobile-floating-exit {
  display: none;
}

@media (min-width: 769px) {
  body.force-mobile-preview .force-mobile-floating-exit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: fixed;
    top: 18px;
    right: 22px;
    z-index: 2500;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(17, 19, 25, 0.92);
    color: #fafafa;
    font-family: "Inter", sans-serif;
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
  }
}
