/**
 * heyLooAI homepage — "Obsidian Aurora" premium shell
 * Deep-space dark · luminous aurora accents · glass surfaces · mono detailing
 */

.hl-style-gptinf {
  --hl-gptinf-sidebar-w: 128px;
  --hl-gptinf-topbar-h: 64px;

  /* Brand spectrum */
  --hl-brand: #8b5cf6;
  --hl-brand-light: #a78bfa;
  --hl-brand-dark: #6d28d9;
  --hl-accent: #2dd4bf;
  --hl-ink: #f4f2fc;

  /* Surfaces */
  --hl-gptinf-bg: #08070d;
  --hl-gptinf-bg-deep: #050409;
  --hl-gptinf-bg-elevated: rgba(255, 255, 255, 0.03);
  --hl-gptinf-surface: rgba(255, 255, 255, 0.035);
  --hl-gptinf-surface-2: rgba(255, 255, 255, 0.055);
  --hl-gptinf-border: rgba(255, 255, 255, 0.08);
  --hl-gptinf-border-soft: rgba(255, 255, 255, 0.05);
  --hl-gptinf-border-glow: rgba(167, 139, 250, 0.28);

  /* Type colors */
  --hl-gptinf-text: var(--hl-ink);
  --hl-gptinf-text-muted: #aaa4c4;
  --hl-gptinf-text-dim: #837d9e;

  /* Accents */
  --hl-gptinf-accent: var(--hl-brand-light);
  --hl-gptinf-accent-secondary: var(--hl-accent);
  --hl-gptinf-accent-dim: rgba(139, 92, 246, 0.14);
  --hl-gptinf-accent-teal-dim: rgba(45, 212, 191, 0.12);

  /* Geometry + motion */
  --hl-gptinf-radius: 14px;
  --hl-gptinf-radius-lg: 22px;
  --hl-gptinf-font: "Schibsted Grotesk", "Source Sans 3", ui-sans-serif, system-ui, sans-serif;
  --hl-gptinf-display: "Bricolage Grotesque", "Sora", ui-sans-serif, system-ui, sans-serif;
  --hl-gptinf-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --hl-gptinf-content-max: 1120px;
  --hl-gptinf-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --hl-gptinf-glass: blur(18px) saturate(1.4);
  --hl-gptinf-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4), 0 10px 28px -10px rgba(0, 0, 0, 0.5);
  --hl-gptinf-shadow-md: 0 8px 32px -8px rgba(0, 0, 0, 0.55), 0 24px 64px -24px rgba(109, 40, 217, 0.22);
}

/* ── Page chrome: hide theme header/footer on homepage ───── */
html.hl-gptinf-page-root,
body.home,
body.front-page {
  background: #08070d !important;
}

body.home #masthead,
body.home #colophon,
body.home .site-footer,
body.front-page #masthead,
body.front-page #colophon,
body.front-page .site-footer,
body.home .entry-hero,
body.front-page .entry-hero {
  display: none !important;
}

body.home .content-area,
body.front-page .content-area,
body.home .site-main,
body.front-page .site-main {
  margin: 0 !important;
  padding: 0 !important;
  max-width: none !important;
  width: 100% !important;
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
}

body.home #inner-wrap,
body.front-page #inner-wrap,
body.home .content-wrap,
body.front-page .content-wrap {
  padding: 0 !important;
  margin: 0 !important;
  max-width: none !important;
  background: transparent !important;
}

body.home .entry-content-wrap,
body.front-page .entry-content-wrap {
  padding: 0 !important;
  margin: 0 !important;
  max-width: none !important;
}

body.home .entry.single-entry,
body.front-page .entry.single-entry {
  margin: 0 !important;
  box-shadow: none !important;
  border: none !important;
  background: transparent !important;
}

/* Break out of Kadence boxed content to full viewport width */
body.home .entry-content.single-content,
body.front-page .entry-content.single-content {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 0;
  box-sizing: border-box;
}

/* Below-fold section aligns with main column (not under sidebar) */
body.home .entry-content .hl-gptinf-below,
body.front-page .entry-content .hl-gptinf-below {
  margin-left: var(--hl-gptinf-sidebar-w);
  width: calc(100% - var(--hl-gptinf-sidebar-w));
  box-sizing: border-box;
}

/* ── Atmosphere: aurora field + engineering grid + grain ─── */
.hl-gptinf-atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background: #08070d;
}

.hl-gptinf-atmosphere__mesh {
  position: absolute;
  inset: -25% -15%;
  background:
    radial-gradient(ellipse 42% 36% at 18% 4%, rgba(109, 40, 217, 0.32) 0%, transparent 62%),
    radial-gradient(ellipse 38% 32% at 84% 8%, rgba(45, 212, 191, 0.13) 0%, transparent 58%),
    radial-gradient(ellipse 55% 42% at 50% 0%, rgba(139, 92, 246, 0.14) 0%, transparent 66%),
    radial-gradient(ellipse 60% 48% at 80% 96%, rgba(76, 29, 149, 0.18) 0%, transparent 64%),
    linear-gradient(180deg, #0a0814 0%, #08070d 46%, #060509 100%);
  animation: hl-aurora-drift 26s ease-in-out infinite alternate;
}

@keyframes hl-aurora-drift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(-2.5%, 1.8%, 0) scale(1.06); }
}

/* Engineering grid that fades toward the edges */
.hl-gptinf-atmosphere::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(167, 139, 250, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(167, 139, 250, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 75% 55% at 50% 18%, #000 0%, transparent 100%);
  mask-image: radial-gradient(ellipse 75% 55% at 50% 18%, #000 0%, transparent 100%);
}

.hl-gptinf-atmosphere__grain {
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

/* ── App shell ───────────────────────────────────────────── */
.hl-gptinf-app {
  position: relative;
  display: block;
  width: 100%;
  min-height: 100vh;
  font-family: var(--hl-gptinf-font);
  font-size: 14px;
  font-weight: 450;
  line-height: 1.5;
  color: var(--hl-gptinf-text);
  background: transparent;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.hl-gptinf-app ::selection {
  background: rgba(139, 92, 246, 0.4);
  color: #fff;
}

.hl-gptinf-sidebar,
.hl-gptinf-main-col {
  position: relative;
  z-index: 1;
}

/* ── Staggered hero reveal ───────────────────────────────── */
.hl-gptinf-reveal {
  opacity: 0;
  transform: translateY(18px);
}

.hl-gptinf-app.hl-gptinf-ready .hl-gptinf-reveal {
  animation: hl-gptinf-reveal-in 0.8s var(--hl-gptinf-ease) forwards;
  animation-delay: var(--hl-reveal-delay, 0ms);
}

@keyframes hl-gptinf-reveal-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hl-gptinf-hero.hl-gptinf-hero--swap .hl-gptinf-reveal {
  animation: hl-gptinf-hero-swap 0.4s var(--hl-gptinf-ease) forwards;
}

@keyframes hl-gptinf-hero-swap {
  0% { opacity: 0.35; transform: translateY(6px); filter: blur(3px); }
  100% { opacity: 1; transform: translateY(0); filter: blur(0); }
}

/* Fixed rail — spans full viewport on every scroll position */
.hl-gptinf-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 200;
  width: var(--hl-gptinf-sidebar-w);
  height: 100vh;
  height: 100dvh;
  max-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 8px 20px;
  background: rgba(10, 9, 16, 0.72);
  backdrop-filter: var(--hl-gptinf-glass);
  -webkit-backdrop-filter: var(--hl-gptinf-glass);
  border-right: 1px solid var(--hl-gptinf-border-soft);
  box-shadow: 1px 0 0 rgba(167, 139, 250, 0.05);
  box-sizing: border-box;
  overflow-y: auto;
  overflow-x: hidden;
}

.hl-gptinf-sidebar-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-bottom: 22px;
  text-decoration: none;
  color: var(--hl-gptinf-text);
}

.hl-gptinf-sidebar-logo-mark {
  position: relative;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--hl-brand) 0%, var(--hl-brand-dark) 55%, var(--hl-accent) 130%);
  color: #fff;
  font-family: var(--hl-gptinf-display);
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.04em;
  box-shadow:
    0 0 0 1px rgba(167, 139, 250, 0.35),
    0 8px 24px -6px rgba(139, 92, 246, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: transform 0.25s var(--hl-gptinf-ease), box-shadow 0.25s ease;
}

.hl-gptinf-sidebar-logo:hover .hl-gptinf-sidebar-logo-mark {
  transform: translateY(-2px);
  box-shadow:
    0 0 0 1px rgba(167, 139, 250, 0.5),
    0 14px 32px -8px rgba(139, 92, 246, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.hl-gptinf-sidebar-logo-text {
  font-family: var(--hl-gptinf-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hl-gptinf-text-muted);
}

.hl-gptinf-sidebar-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 100%;
  flex: 1;
}

.hl-gptinf-nav-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 82px;
  padding: 12px 6px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: transparent;
  color: var(--hl-gptinf-text-muted);
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.15;
  cursor: pointer;
  transition: background 0.22s var(--hl-gptinf-ease), color 0.22s ease, transform 0.22s var(--hl-gptinf-ease), border-color 0.22s ease;
}

.hl-gptinf-nav-item:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  transform: translateY(-1px);
}

.hl-gptinf-nav-item--active,
.hl-gptinf-nav-item.hl-gpt-rail-btn--active {
  background: linear-gradient(180deg, rgba(139, 92, 246, 0.18), rgba(139, 92, 246, 0.07));
  color: #fff;
  border-color: rgba(167, 139, 250, 0.3);
  box-shadow:
    0 0 24px -6px rgba(139, 92, 246, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hl-gptinf-nav-item--active::before,
.hl-gptinf-nav-item.hl-gpt-rail-btn--active::before {
  content: "";
  position: absolute;
  left: -9px;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 26px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--hl-brand-light), var(--hl-accent));
  box-shadow: 0 0 12px rgba(167, 139, 250, 0.8);
}

.hl-gptinf-nav-item--active .hl-gptinf-nav-icon svg,
.hl-gptinf-nav-item.hl-gpt-rail-btn--active .hl-gptinf-nav-icon svg {
  stroke: var(--hl-brand-light);
  filter: drop-shadow(0 0 6px rgba(167, 139, 250, 0.55));
}

.hl-gptinf-nav-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
}

.hl-gptinf-nav-icon svg {
  width: 25px;
  height: 25px;
  stroke-width: 1.75;
  transition: stroke 0.22s ease, filter 0.22s ease;
}

.hl-gptinf-nav-label {
  text-align: center;
  max-width: 96px;
  word-break: break-word;
  letter-spacing: 0.01em;
}

.hl-gptinf-sidebar-link {
  margin-top: 10px;
  font-family: var(--hl-gptinf-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--hl-gptinf-text-dim);
  text-decoration: none;
  text-align: center;
  transition: color 0.2s ease;
}

.hl-gptinf-sidebar-link:hover {
  color: var(--hl-brand-light);
}

/* Main column offset for fixed sidebar rail */
.hl-gptinf-main-col {
  margin-left: var(--hl-gptinf-sidebar-w);
  min-width: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Topbar + hero must stay visible (theme uses header { } rules on some pages) */
.hl-gptinf-topbar,
.hl-gptinf-hero {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Sticky topbar — nav centered, auth right */
.hl-gptinf-topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: grid !important;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  flex-shrink: 0;
  width: 100%;
  height: var(--hl-gptinf-topbar-h);
  min-height: var(--hl-gptinf-topbar-h);
  padding: 0 clamp(16px, 3vw, 28px);
  background: rgba(8, 7, 13, 0.62);
  backdrop-filter: var(--hl-gptinf-glass);
  -webkit-backdrop-filter: var(--hl-gptinf-glass);
  border-bottom: 1px solid var(--hl-gptinf-border-soft);
  box-shadow: 0 1px 0 rgba(167, 139, 250, 0.04);
  box-sizing: border-box;
}

.hl-gptinf-topbar-spacer {
  grid-column: 1;
}

.hl-gptinf-topbar-nav {
  grid-column: 2;
  justify-self: center;
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 36px);
}

.hl-gptinf-topbar-nav a {
  position: relative;
  font-size: 14px;
  font-weight: 550;
  letter-spacing: 0.01em;
  color: var(--hl-gptinf-text-muted);
  text-decoration: none;
  padding: 6px 2px;
  transition: color 0.22s ease, transform 0.22s var(--hl-gptinf-ease);
}

.hl-gptinf-topbar-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1.5px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--hl-brand-light), var(--hl-accent));
  box-shadow: 0 0 8px rgba(167, 139, 250, 0.6);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s var(--hl-gptinf-ease);
}

.hl-gptinf-topbar-nav a:hover {
  color: #fff;
  transform: translateY(-1px);
}

.hl-gptinf-topbar-nav a:hover::after {
  transform: scaleX(1);
}

.hl-gptinf-topbar-auth {
  grid-column: 3;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hl-gptinf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.hl-gptinf-btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--hl-gptinf-border);
  color: var(--hl-gptinf-text);
}

.hl-gptinf-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.16);
}

.hl-gptinf-btn--solid {
  position: relative;
  background: linear-gradient(135deg, var(--hl-brand) 0%, var(--hl-brand-dark) 100%);
  color: #fff;
  border-color: rgba(167, 139, 250, 0.45);
  font-weight: 700;
  box-shadow:
    0 4px 18px -4px rgba(139, 92, 246, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transition: transform 0.22s var(--hl-gptinf-ease), box-shadow 0.22s ease, background 0.22s ease;
}

.hl-gptinf-btn--solid:hover {
  background: linear-gradient(135deg, var(--hl-brand-light) 0%, var(--hl-brand) 100%);
  transform: translateY(-1px);
  box-shadow:
    0 8px 26px -6px rgba(139, 92, 246, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  color: #fff;
}

.hl-gptinf-btn--solid,
.hl-gptinf-btn--ghost,
.hl-gptinf-nav-item,
.hl-gptinf-topbar-nav a {
  cursor: pointer;
}

/* Main scrollable content */
.hl-gptinf-main {
  flex: 1;
  width: 100%;
  max-width: var(--hl-gptinf-content-max);
  margin: 0 auto;
  padding: clamp(32px, 4.5vw, 52px) clamp(20px, 4vw, 32px) 48px;
  box-sizing: border-box;
}

/* ── Hero ────────────────────────────────────────────────── */
.hl-gptinf-hero {
  display: block !important;
  text-align: center;
  margin-bottom: clamp(30px, 4.5vw, 46px);
  padding-top: clamp(8px, 1.5vw, 18px);
}

.hl-gptinf-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 22px;
  padding: 8px 18px;
  border-radius: 999px;
  font-family: var(--hl-gptinf-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hl-brand-light);
  background: rgba(139, 92, 246, 0.08);
  border: 1px solid rgba(167, 139, 250, 0.25);
  box-shadow: 0 0 24px -8px rgba(139, 92, 246, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hl-gptinf-hero-badge-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--hl-accent);
  line-height: 1;
  animation: hl-badge-spin 14s linear infinite;
}

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

.hl-gptinf-hero-badge-icon svg {
  width: 13px;
  height: 13px;
}

.hl-gptinf-hero-title,
.hl-gpt-title {
  font-family: var(--hl-gptinf-display);
  font-size: clamp(36px, 5.6vw, 64px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin: 0 0 18px;
  background: linear-gradient(115deg, #ffffff 28%, #d8ccff 52%, var(--hl-brand-light) 74%, var(--hl-accent) 105%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--hl-ink);
  text-wrap: balance;
  animation: hl-title-sheen 9s ease-in-out infinite;
}

@keyframes hl-title-sheen {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 70% 50%; }
}

.hl-gptinf-hero-sub,
.hl-gpt-sub {
  font-family: var(--hl-gptinf-font);
  font-size: clamp(15px, 2vw, 18px);
  font-weight: 450;
  line-height: 1.65;
  color: var(--hl-gptinf-text-muted);
  max-width: 660px;
  margin: 0 auto;
  text-wrap: balance;
}

/* ── Workspace editor card — the centerpiece ─────────────── */
.hl-gptinf-editor-card {
  position: relative;
  border: 1px solid var(--hl-gptinf-border);
  border-radius: var(--hl-gptinf-radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045) 0%, rgba(255, 255, 255, 0.02) 100%);
  backdrop-filter: var(--hl-gptinf-glass);
  -webkit-backdrop-filter: var(--hl-gptinf-glass);
  padding: 0;
  overflow: hidden;
  min-height: 420px;
  box-shadow: var(--hl-gptinf-shadow-md);
  transition: box-shadow 0.35s var(--hl-gptinf-ease), border-color 0.35s ease;
}

/* Luminous top edge */
.hl-gptinf-editor-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(167, 139, 250, 0.65) 35%, rgba(45, 212, 191, 0.55) 65%, transparent);
  z-index: 2;
  pointer-events: none;
}

/* Pointer-tracking glow (JS feeds --hl-px / --hl-py) */
.hl-gptinf-editor-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(560px circle at var(--hl-px, 50%) var(--hl-py, -20%), rgba(139, 92, 246, 0.13), transparent 65%);
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
  z-index: 0;
}

.hl-gptinf-editor-card:hover::after,
.hl-gptinf-editor-card.hl-glow-on::after {
  opacity: 1;
}

.hl-gptinf-editor-card:hover {
  border-color: var(--hl-gptinf-border-glow);
  box-shadow:
    var(--hl-gptinf-shadow-md),
    0 0 60px -20px rgba(139, 92, 246, 0.4);
}

.hl-gptinf-editor-card .hl-home-panels {
  position: relative;
  min-height: 400px;
  z-index: 1;
}

.hl-gptinf-panel {
  opacity: 0;
  transform: translateY(8px) scale(0.995);
  transition: opacity 0.32s var(--hl-gptinf-ease), transform 0.38s var(--hl-gptinf-ease);
  pointer-events: none;
}

.hl-gptinf-panel.is-entering {
  opacity: 0;
  transform: translateY(10px) scale(0.992);
}

.hl-gptinf-panel.is-active,
.hl-home-panel.is-active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.hl-gptinf-panel.is-leaving,
.hl-home-panel.is-leaving {
  opacity: 0;
}

.hl-gptinf-open-full {
  margin-top: 18px;
  text-align: center;
}

.hl-gptinf-open-full a {
  font-family: var(--hl-gptinf-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hl-gptinf-text-dim);
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.hl-gptinf-open-full a:hover {
  color: var(--hl-brand-light);
  text-shadow: 0 0 14px rgba(167, 139, 250, 0.6);
}

/* ── Tool UI inside editor — dark glass treatment ────────── */
.hl-style-gptinf .hlai-tool-wrap--compact,
.hl-style-gptinf .heylooai-prompt-generator-wrap--compact {
  padding: 22px;
  color: var(--hl-gptinf-text);
  font-family: var(--hl-gptinf-font);
  font-size: 14px;
  font-weight: 450;
  background: transparent;
}

.hl-style-gptinf .hlai-tool-wrap--compact .hlai-tool-header h2,
.hl-style-gptinf .hlai-tool-wrap--compact .hlai-card-label,
.hl-style-gptinf .hlai-tool-wrap--compact .hlai-word-count,
.hl-style-gptinf .hlai-tool-wrap--compact .hlai-tone-btn,
.hl-style-gptinf .hlai-tool-wrap--compact .hlai-btn,
.hl-style-gptinf .hlai-tool-wrap--compact .hlai-usage-bar,
.hl-style-gptinf .hlai-tool-wrap--compact textarea,
.hl-style-gptinf .hlai-tool-wrap--compact input,
.hl-style-gptinf .hlai-tool-wrap--compact select {
  font-family: var(--hl-gptinf-font);
}

.hl-style-gptinf .hlai-tool-wrap--compact .hlai-tool-header {
  display: none;
}

.hl-style-gptinf .hlai-tool-wrap--compact .hlai-usage-bar {
  margin-bottom: 16px;
  padding: 12px 16px;
  border-radius: var(--hl-gptinf-radius);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--hl-gptinf-border-soft);
  color: var(--hl-gptinf-text-muted);
  font-size: 13px;
  font-weight: 500;
}

.hl-style-gptinf .hlai-tool-wrap--compact .hlai-usage-count {
  color: var(--hl-gptinf-text);
}

.hl-style-gptinf .hlai-tool-wrap--compact .hlai-card:not(.hlai-pane) {
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;
}

.hl-style-gptinf .hlai-tool-wrap--compact .hlai-card-label {
  font-family: var(--hl-gptinf-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hl-brand-light);
  margin-bottom: 10px;
}

.hl-style-gptinf .hlai-tool-wrap--compact .hlai-textarea {
  width: 100%;
  min-height: 280px;
  padding: 16px 18px;
  font-family: var(--hl-gptinf-font);
  font-size: 15px;
  font-weight: 450;
  line-height: 1.65;
  color: var(--hl-gptinf-text);
  background: rgba(8, 7, 13, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--hl-gptinf-radius);
  resize: vertical;
  box-sizing: border-box;
  caret-color: var(--hl-brand-light);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.hl-style-gptinf .hlai-tool-wrap--compact .hlai-textarea:focus {
  outline: none;
  border-color: rgba(167, 139, 250, 0.5);
  background: rgba(8, 7, 13, 0.75);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.14), 0 0 24px -8px rgba(139, 92, 246, 0.35);
}

.hl-style-gptinf .hlai-tool-wrap--compact .hlai-textarea::placeholder {
  color: rgba(244, 242, 252, 0.32);
  font-weight: 400;
  animation: hl-gptinf-ph-pulse 2.8s ease-in-out infinite;
}

@keyframes hl-gptinf-ph-pulse {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 0.85; }
}

.hl-style-gptinf .hlai-textarea--animated-ph:focus::placeholder {
  animation: none;
  opacity: 0.55;
}

.hl-style-gptinf .hlai-tool-wrap--compact .hlai-word-count {
  margin-top: 8px;
  font-family: var(--hl-gptinf-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--hl-gptinf-text-dim);
}

.hl-style-gptinf .hlai-tool-wrap--compact .hlai-tone-selector {
  display: flex;
  gap: 8px;
  margin: 14px 0;
  flex-wrap: wrap;
}

.hl-style-gptinf .hlai-tool-wrap--compact .hlai-tone-btn {
  flex: 1;
  min-width: 100px;
  padding: 10px 12px;
  border-radius: 11px;
  border: 1px solid var(--hl-gptinf-border);
  background: rgba(255, 255, 255, 0.025);
  color: var(--hl-gptinf-text-muted);
  font-size: 13px;
  font-weight: 550;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, transform 0.2s var(--hl-gptinf-ease), box-shadow 0.2s ease;
}

.hl-style-gptinf .hlai-tool-wrap--compact .hlai-tone-btn:hover {
  border-color: rgba(167, 139, 250, 0.35);
  color: #fff;
  transform: translateY(-1px);
}

.hl-style-gptinf .hlai-tool-wrap--compact .hlai-tone-btn.active {
  border-color: rgba(167, 139, 250, 0.5);
  color: #fff;
  background: linear-gradient(180deg, rgba(139, 92, 246, 0.2), rgba(139, 92, 246, 0.08));
  font-weight: 650;
  box-shadow: 0 0 20px -6px rgba(139, 92, 246, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hl-style-gptinf .hlai-tool-wrap--compact .hlai-tone-btn .tone-icon {
  width: 18px;
  height: 18px;
  display: block;
  margin: 0 auto 6px;
  stroke: currentColor;
}

.hl-style-gptinf .hlai-tool-wrap--compact .hlai-tone-btn.active .tone-icon {
  stroke: var(--hl-brand-light);
}

.hl-style-gptinf .hlai-tool-wrap--compact .hlai-action-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--hl-gptinf-border-soft);
}

.hl-style-gptinf .hlai-tool-wrap--compact .hlai-usage-bar {
  font-weight: 500;
}

.hl-style-gptinf .hlai-tool-wrap--compact .hlai-btn-pro {
  background: linear-gradient(135deg, var(--hl-brand) 0%, var(--hl-brand-dark) 100%);
  color: #fff;
  font-weight: 700;
  border-radius: 999px;
  border: 1px solid rgba(167, 139, 250, 0.4);
  cursor: pointer;
  box-shadow: 0 4px 16px -4px rgba(139, 92, 246, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transition: transform 0.2s var(--hl-gptinf-ease), box-shadow 0.2s ease;
}

.hl-style-gptinf .hlai-tool-wrap--compact .hlai-btn-pro:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px -6px rgba(139, 92, 246, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.hl-style-gptinf .hlai-tool-wrap--compact .hlai-btn.hlai-btn-primary {
  padding: 11px 24px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--hl-brand) 0%, var(--hl-brand-dark) 100%);
  border: 1px solid rgba(167, 139, 250, 0.45);
  color: #fff;
  cursor: pointer;
  box-shadow:
    0 4px 18px -4px rgba(139, 92, 246, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transition: transform 0.2s var(--hl-gptinf-ease), box-shadow 0.2s ease, background 0.2s ease;
}

.hl-style-gptinf .hlai-tool-wrap--compact .hlai-btn-primary:not(:disabled):hover,
.hl-style-gptinf .hlai-tool-wrap--compact .hlai-btn.hlai-btn-primary:not(:disabled):hover {
  background: linear-gradient(135deg, var(--hl-brand-light) 0%, var(--hl-brand) 100%);
  transform: translateY(-1px);
  box-shadow:
    0 8px 28px -6px rgba(139, 92, 246, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.hl-style-gptinf .hlai-tool-wrap--compact .hlai-btn-primary:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.hl-style-gptinf .hlai-tool-wrap--compact .hlai-results {
  margin-top: 0;
}

/* Humanizer — always-visible dual pane (input | output) */
.hl-style-gptinf .hlai-humanizer-dual,
#hlai-humanizer-wrap .hlai-humanizer-dual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: stretch;
}

.hl-style-gptinf .hlai-humanizer-dual .hlai-pane,
#hlai-humanizer-wrap .hlai-humanizer-dual .hlai-pane {
  display: flex;
  flex-direction: column;
  min-height: 420px;
  border: 1px solid var(--hl-gptinf-border);
  border-radius: var(--hl-gptinf-radius);
  background: rgba(255, 255, 255, 0.02);
  padding: 16px 18px;
  box-sizing: border-box;
}

.hl-style-gptinf .hlai-pane--output .hlai-output-slot,
#hlai-humanizer-wrap .hlai-pane--output .hlai-output-slot {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  overflow: hidden;
}

.hl-style-gptinf .hlai-pane--output .hlai-output-slot.visible,
#hlai-humanizer-wrap .hlai-pane--output .hlai-output-slot.visible {
  display: flex;
}

.hl-style-gptinf .hlai-output-empty,
#hlai-humanizer-wrap .hlai-output-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 280px;
  padding: 24px 20px;
  border: 1px dashed rgba(167, 139, 250, 0.22);
  border-radius: var(--hl-gptinf-radius);
  background: rgba(139, 92, 246, 0.025);
  text-align: center;
}

.hl-style-gptinf .hlai-output-empty__icon,
#hlai-humanizer-wrap .hlai-output-empty__icon {
  font-size: 24px;
  color: rgba(167, 139, 250, 0.5);
  animation: hl-gptinf-ph-pulse 2.8s ease-in-out infinite;
}

.hl-style-gptinf .hlai-output-empty__title,
#hlai-humanizer-wrap .hlai-output-empty__title {
  margin: 0;
  font-size: 15px;
  font-weight: 650;
  color: var(--hl-gptinf-text);
  max-width: 100%;
  line-height: 1.45;
}

.hl-style-gptinf .hlai-output-empty p,
.hl-style-gptinf .hlai-output-empty__steps,
#hlai-humanizer-wrap .hlai-output-empty p,
#hlai-humanizer-wrap .hlai-output-empty__steps {
  margin: 0;
  font-size: 13px;
  font-weight: 450;
  color: var(--hl-gptinf-text-muted);
  max-width: 100%;
  line-height: 1.6;
}

.hl-style-gptinf #hlai-humanizer-wrap .hlai-usage-bar {
  margin-bottom: 16px;
}

.hl-style-gptinf #hlai-humanizer-wrap.hlai-tool-wrap--compact {
  display: block;
}

.hl-style-gptinf #hlai-humanizer-wrap .hlai-pane--input .hlai-textarea {
  flex: 1;
  min-height: 220px;
}

.hl-style-gptinf #hlai-humanizer-wrap .hlai-results-compact {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  gap: 10px;
}

.hl-style-gptinf #hlai-humanizer-wrap .hlai-results-compact--in-pane .hlai-output-pane {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.hl-style-gptinf #hlai-humanizer-wrap .hlai-results-compact--in-pane .hlai-output-pane__body {
  flex: 1;
  min-height: 160px;
  max-height: none;
  overflow-y: auto;
}

.hl-style-gptinf #hlai-humanizer-wrap .hlai-result-scores--humanizer {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hl-style-gptinf #hlai-humanizer-wrap .hlai-result-scores--humanizer .hlai-result-score__arrow {
  display: none;
}

.hl-style-gptinf #hlai-humanizer-wrap .hlai-result-score {
  padding: 10px 12px;
}

.hl-style-gptinf #hlai-humanizer-wrap .hlai-result-score__value {
  font-size: 1.15rem;
}

.hl-style-gptinf #hlai-humanizer-wrap .hlai-result-score__note {
  font-size: 11px;
}

.hl-style-gptinf #hlai-humanizer-wrap .hlai-output-pane__foot {
  padding-top: 10px;
}

.hl-style-gptinf #hlai-humanizer-wrap .hlai-output-pane__hint {
  margin-bottom: 8px;
  font-size: 12px;
}

.hl-style-gptinf #hlai-humanizer-wrap .hlai-results-compact__actions .hlai-btn {
  width: 100%;
  justify-content: center;
}

/* Checker + grammar compact results on homepage */
.hl-style-gptinf .hlai-checker-compact .hlai-output-pane__body,
.hl-style-gptinf .hlai-grammar-compact .hlai-output-pane__body {
  min-height: 220px;
  max-height: min(48vh, 480px);
}

.hl-style-gptinf .hlai-checker-compact .hlai-sentence {
  padding: 3px 4px;
  border-radius: 4px;
}

.hl-style-gptinf .hlai-sentence[data-highlight="low"] { background: rgba(255, 169, 77, 0.22); color: #ffd9ad; }
.hl-style-gptinf .hlai-sentence[data-highlight="medium"] { background: rgba(255, 109, 0, 0.26); color: #ffc09b; }
.hl-style-gptinf .hlai-sentence[data-highlight="high"] { background: rgba(255, 77, 109, 0.28); color: #ffb3c1; }

.hl-style-gptinf .hlai-highlight-legend {
  background: rgba(255, 255, 255, 0.035);
  border-color: var(--hl-gptinf-border);
  color: var(--hl-gptinf-text-muted);
}

.hl-style-gptinf .hlai-highlight-legend__title,
.hl-style-gptinf .hlai-highlight-legend__tip {
  color: var(--hl-gptinf-text-muted);
}

.hl-style-gptinf .heylooai-prompt-generator-wrap--compact .hlai-pg__output {
  min-height: 140px;
  max-height: min(40vh, 360px);
  overflow-y: auto;
  padding: 16px 18px;
  font-size: 14px;
  font-weight: 450;
  line-height: 1.7;
  white-space: pre-wrap;
  word-break: break-word;
  border: 1px solid var(--hl-gptinf-border);
  border-radius: var(--hl-gptinf-radius);
  background: rgba(8, 7, 13, 0.55);
  color: var(--hl-gptinf-text);
}

.hl-style-gptinf .heylooai-prompt-generator-wrap--compact .hlai-pg__output--empty {
  color: var(--hl-gptinf-text-dim);
  font-style: normal;
  font-weight: 400;
  background: rgba(255, 255, 255, 0.02);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
}

.hl-style-gptinf .heylooai-prompt-generator-wrap--compact .hlai-pg__output-actions {
  margin-top: 10px;
}

.hl-style-gptinf .heylooai-prompt-generator-wrap--compact .hlai-pg__btn--copy {
  background: linear-gradient(135deg, var(--hl-brand) 0%, var(--hl-brand-dark) 100%);
  color: #fff;
  border: 1px solid rgba(167, 139, 250, 0.4);
  cursor: pointer;
}

.hl-style-gptinf .hlai-card-label--tone {
  margin-top: 14px;
}

/* Compact results — glass panels */
.hl-style-gptinf .hlai-results-compact {
  border-top: none;
  margin-top: 0;
  padding-top: 0;
}

.hl-style-gptinf .hlai-humanizer-win {
  background: rgba(45, 212, 191, 0.06);
  border: 1px solid rgba(45, 212, 191, 0.22);
  margin-bottom: 14px;
}

.hl-style-gptinf .hlai-humanizer-win__pct {
  color: var(--hl-accent);
  text-shadow: 0 0 16px rgba(45, 212, 191, 0.5);
}

.hl-style-gptinf .hlai-metric__value {
  color: #fff;
  font-weight: 750;
}

.hl-style-gptinf .hlai-humanizer-win__copy strong {
  color: #fff;
  font-weight: 750;
}

.hl-style-gptinf .hlai-humanizer-win__copy span {
  color: var(--hl-gptinf-text-muted);
  font-weight: 450;
}

.hl-style-gptinf .hlai-results-compact__metrics {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--hl-gptinf-border);
}

.hl-style-gptinf .hlai-metric__label {
  color: var(--hl-gptinf-text-dim);
  font-weight: 600;
}

.hl-style-gptinf .hlai-output-pane {
  border: 1px solid var(--hl-gptinf-border);
  background: rgba(8, 7, 13, 0.45);
  border-radius: var(--hl-gptinf-radius);
  overflow: hidden;
}

.hl-style-gptinf .hlai-output-pane__head {
  background: rgba(255, 255, 255, 0.035);
  border-bottom: 1px solid var(--hl-gptinf-border-soft);
}

.hl-style-gptinf .hlai-output-pane__title {
  color: #fff;
  font-weight: 650;
}

.hl-style-gptinf .hlai-output-pane__meta {
  color: var(--hl-gptinf-text-dim);
  font-weight: 500;
  font-family: var(--hl-gptinf-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
}

.hl-style-gptinf .hlai-output-pane__body {
  color: var(--hl-gptinf-text);
  font-weight: 450;
  background: transparent;
  font-size: 15px;
  line-height: 1.75;
}

.hl-style-gptinf .hlai-output-pane__foot {
  background: rgba(255, 255, 255, 0.025);
  border-top: 1px solid var(--hl-gptinf-border-soft);
}

.hl-style-gptinf .hlai-output-pane__hint {
  color: var(--hl-gptinf-text-dim);
}

.hl-style-gptinf .hlai-result-score {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--hl-gptinf-border);
  color: var(--hl-gptinf-text);
}

.hl-style-gptinf .hlai-result-summary {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--hl-gptinf-border);
  color: var(--hl-gptinf-text-muted);
}

.hl-style-gptinf .hlai-result-details {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--hl-gptinf-border);
  color: var(--hl-gptinf-text-muted);
}

.hl-style-gptinf .hlai-tone-pill {
  background: var(--hl-gptinf-accent-dim);
  color: var(--hl-brand-light);
  border: 1px solid rgba(167, 139, 250, 0.3);
}

.hl-style-gptinf .hlai-humanizer-upsell {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--hl-gptinf-border);
}

.hl-style-gptinf .hlai-humanizer-upsell__text {
  color: var(--hl-gptinf-text-muted);
}

.hl-style-gptinf .hlai-humanizer-upsell__cta {
  background: #fff;
  color: #08070d;
}

/* Prompt generator — full dark theme (overrides widget's inline <style>) */
.hl-style-gptinf .heylooai-prompt-generator-wrap--compact .hlai-pg__card,
.hl-style-gptinf .heylooai-prompt-generator-wrap--compact .hlai-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--hl-gptinf-border);
  box-shadow: none;
}

.hl-style-gptinf .heylooai-prompt-generator-wrap--compact .hlai-pg__label {
  font-family: var(--hl-gptinf-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--hl-brand-light);
}

.hl-style-gptinf .heylooai-prompt-generator-wrap--compact .hlai-pg__hint,
.hl-style-gptinf .heylooai-prompt-generator-wrap--compact .hlai-pg__counter {
  color: var(--hl-gptinf-text-dim);
  font-family: var(--hl-gptinf-mono);
  font-size: 11px;
}

.hl-style-gptinf .heylooai-prompt-generator-wrap--compact .hlai-pg select,
.hl-style-gptinf .heylooai-prompt-generator-wrap--compact .hlai-pg textarea,
.hl-style-gptinf .heylooai-prompt-generator-wrap--compact .hlai-pg input[type=text] {
  background: rgba(8, 7, 13, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: var(--hl-gptinf-text);
  caret-color: var(--hl-brand-light);
}

.hl-style-gptinf .heylooai-prompt-generator-wrap--compact .hlai-pg select:focus,
.hl-style-gptinf .heylooai-prompt-generator-wrap--compact .hlai-pg textarea:focus,
.hl-style-gptinf .heylooai-prompt-generator-wrap--compact .hlai-pg input[type=text]:focus {
  outline: none;
  border-color: rgba(167, 139, 250, 0.5);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.14);
}

.hl-style-gptinf .heylooai-prompt-generator-wrap--compact .hlai-pg select option {
  background: #14121f;
  color: var(--hl-gptinf-text);
}

.hl-style-gptinf .heylooai-prompt-generator-wrap--compact .hlai-pg ::placeholder {
  color: rgba(244, 242, 252, 0.32);
}

.hl-style-gptinf .heylooai-prompt-generator-wrap--compact .hlai-pg__chip {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--hl-gptinf-border);
  color: var(--hl-gptinf-text-muted);
}

.hl-style-gptinf .heylooai-prompt-generator-wrap--compact .hlai-pg__chip:hover {
  background: rgba(139, 92, 246, 0.1);
  border-color: rgba(167, 139, 250, 0.35);
  color: #fff;
}

.hl-style-gptinf .heylooai-prompt-generator-wrap--compact .hlai-pg__chip--active,
.hl-style-gptinf .heylooai-prompt-generator-wrap--compact .hlai-pg__chip--active:hover {
  background: linear-gradient(180deg, rgba(139, 92, 246, 0.25), rgba(139, 92, 246, 0.1));
  border-color: rgba(167, 139, 250, 0.5);
  color: #fff;
  box-shadow: 0 0 18px -6px rgba(139, 92, 246, 0.5);
}

.hl-style-gptinf .heylooai-prompt-generator-wrap--compact .hlai-pg__btn {
  background: linear-gradient(135deg, var(--hl-brand) 0%, var(--hl-brand-dark) 100%);
  border: 1px solid rgba(167, 139, 250, 0.45);
  color: #fff;
  box-shadow: 0 4px 18px -4px rgba(139, 92, 246, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.hl-style-gptinf .heylooai-prompt-generator-wrap--compact .hlai-pg__btn:hover {
  background: linear-gradient(135deg, var(--hl-brand-light) 0%, var(--hl-brand) 100%);
}

.hl-style-gptinf .heylooai-prompt-generator-wrap--compact .hlai-pg__btn--ghost,
.hl-style-gptinf .heylooai-prompt-generator-wrap--compact .hlai-pg__btn--ghost:hover {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--hl-gptinf-border);
  color: var(--hl-gptinf-text);
  box-shadow: none;
}

.hl-style-gptinf .heylooai-prompt-generator-wrap--compact .hlai-pg__btn--ghost:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.16);
}

.hl-style-gptinf .heylooai-prompt-generator-wrap--compact .hlai-pg__btn--copy,
.hl-style-gptinf .heylooai-prompt-generator-wrap--compact .hlai-pg__btn--copy:hover {
  background: #fff;
  color: #08070d;
  border: 1px solid #fff;
  box-shadow: 0 4px 18px -6px rgba(255, 255, 255, 0.3);
}

.hl-style-gptinf .heylooai-prompt-generator-wrap--compact .hlai-pg__notice {
  background: rgba(139, 92, 246, 0.07);
  border-left: 3px solid var(--hl-brand);
  color: var(--hl-gptinf-text-muted);
}

/* The widget's fixed toast loses its viewport anchor inside the transformed
   editor card — keep it invisible unless actively shown, and theme it dark. */
.hl-style-gptinf .hlai-pg__toast {
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  background: rgba(16, 14, 24, 0.92);
  border: 1px solid rgba(45, 212, 191, 0.45);
  color: var(--hl-accent, #2dd4bf);
  box-shadow: 0 12px 32px -8px rgba(0, 0, 0, 0.6), 0 0 24px -8px rgba(45, 212, 191, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hl-style-gptinf .hlai-pg__toast--show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.hl-style-gptinf .heylooai-prompt-generator-wrap--compact input,
.hl-style-gptinf .heylooai-prompt-generator-wrap--compact select,
.hl-style-gptinf .heylooai-prompt-generator-wrap--compact textarea {
  background: rgba(8, 7, 13, 0.55);
  border-color: rgba(255, 255, 255, 0.09);
  color: var(--hl-gptinf-text);
}

.hl-style-gptinf .heylooai-prompt-generator-wrap--compact input:focus,
.hl-style-gptinf .heylooai-prompt-generator-wrap--compact select:focus,
.hl-style-gptinf .heylooai-prompt-generator-wrap--compact textarea:focus {
  outline: none;
  border-color: rgba(167, 139, 250, 0.5);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.14);
}

.hl-style-gptinf .hlai-inline-upsell {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--hl-gptinf-border);
  color: var(--hl-gptinf-text-muted);
}

/* Grammar correction marks — dark friendly */
.hl-style-gptinf mark.hlai-correction--grammar { background: rgba(139, 92, 246, 0.28); color: #ddd2ff; }
.hl-style-gptinf mark.hlai-correction--spelling { background: rgba(255, 77, 109, 0.26); color: #ffc2cd; }
.hl-style-gptinf mark.hlai-correction--punctuation { background: rgba(255, 169, 77, 0.24); color: #ffdcb8; }
.hl-style-gptinf mark.hlai-correction--style { background: rgba(45, 212, 191, 0.22); color: #b5f5ea; }

.hl-style-gptinf .hlai-correction-item {
  border-color: var(--hl-gptinf-border-soft);
  color: var(--hl-gptinf-text-muted);
}

.hl-style-gptinf .hlai-correction-diff del { color: #ff8da1; }
.hl-style-gptinf .hlai-correction-diff ins { color: #7ee8d8; }

/* ── Marketing sections (homepage embed) — dark theme ────── */
.hl-gptinf-marketing-panels .hl-tool-mkt {
  --hl-mkt-font: var(--hl-gptinf-font);
  --hl-mkt-display: var(--hl-gptinf-display);
  --hl-mkt-text: var(--hl-gptinf-text);
  --hl-mkt-muted: var(--hl-gptinf-text-muted);
  --hl-mkt-dim: var(--hl-gptinf-text-dim);
  --hl-mkt-border: var(--hl-gptinf-border);
  --hl-mkt-accent: var(--hl-brand);
  --hl-mkt-accent-dark: var(--hl-brand-dark);
  --hl-mkt-accent-teal: var(--hl-accent);
  --hl-mkt-accent-soft: rgba(139, 92, 246, 0.14);
  color: var(--hl-gptinf-text);
}

.hl-gptinf-marketing-panels .hl-tool-mkt-h2 {
  color: #fff;
  letter-spacing: -0.03em;
}

.hl-gptinf-marketing-panels .hl-tool-mkt-eyebrow {
  color: var(--hl-brand-light);
}

.hl-gptinf-marketing-panels .hl-tool-mkt-eyebrow__dot {
  background: var(--hl-brand-light);
  box-shadow: 0 0 10px rgba(167, 139, 250, 0.7);
}

.hl-gptinf-marketing-panels .hl-tool-mkt-card::before {
  background: radial-gradient(circle, rgba(139, 92, 246, 0.18), transparent 70%);
}

.hl-gptinf-marketing-panels .hl-tool-mkt-feature__num {
  color: var(--hl-brand-light);
  background: rgba(139, 92, 246, 0.12);
  border-color: rgba(167, 139, 250, 0.28);
}

.hl-gptinf-marketing-panels .hl-tool-mkt-mock__url {
  background: rgba(255, 255, 255, 0.05);
  color: var(--hl-gptinf-text-dim);
}

.hl-gptinf-marketing-panels .hl-tool-mkt-mock__caret {
  background: var(--hl-brand-light);
}

.hl-gptinf-marketing-panels .hl-tool-mkt-mock__meter-row {
  color: var(--hl-gptinf-text-muted);
}

.hl-gptinf-marketing-panels .hl-tool-mkt-mock__meter-val {
  color: #ff8da1;
}

.hl-gptinf-marketing-panels .hl-tool-mkt-mock__meter-val--good {
  color: var(--hl-accent);
}

.hl-gptinf-marketing-panels .hl-tool-mkt-mock__track {
  background: rgba(255, 255, 255, 0.08);
}

.hl-gptinf-marketing-panels .hl-tool-mkt-flow__hub::before,
.hl-gptinf-marketing-panels .hl-tool-mkt-flow__hub::after {
  background: linear-gradient(90deg, var(--hl-brand-light), var(--hl-accent));
  background-size: 200% 100%;
  box-shadow: 0 0 10px rgba(167, 139, 250, 0.45);
}

.hl-gptinf-marketing-panels .hl-tool-mkt-lead {
  color: var(--hl-gptinf-text-muted);
}

/* Section shells: strip light backgrounds, let aurora show through */
.hl-gptinf-marketing-panels .hl-tool-mkt-control {
  background-color: transparent;
  background-image:
    linear-gradient(rgba(167, 139, 250, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(167, 139, 250, 0.035) 1px, transparent 1px),
    radial-gradient(ellipse 60% 50% at 85% 15%, rgba(45, 212, 191, 0.06), transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 90%, rgba(139, 92, 246, 0.08), transparent 50%);
  background-size: 32px 32px, 32px 32px, auto, auto;
  border-top: 1px solid var(--hl-gptinf-border-soft);
}

.hl-gptinf-marketing-panels .hl-tool-mkt-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--hl-gptinf-border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hl-gptinf-marketing-panels .hl-tool-mkt-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px -16px rgba(139, 92, 246, 0.35);
  border-color: rgba(167, 139, 250, 0.3);
}

.hl-gptinf-marketing-panels .hl-tool-mkt-card__icon {
  background: rgba(139, 92, 246, 0.14);
  color: var(--hl-brand-light);
  box-shadow: inset 0 0 0 1px rgba(167, 139, 250, 0.2);
}

.hl-gptinf-marketing-panels .hl-tool-mkt-card__title {
  color: #fff;
}

.hl-gptinf-marketing-panels .hl-tool-mkt-card__text {
  color: var(--hl-gptinf-text-muted);
}

/* Bento */
.hl-gptinf-marketing-panels .hl-tool-mkt-bento {
  background: transparent;
}

.hl-gptinf-marketing-panels .hl-tool-mkt-bento__cell {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--hl-gptinf-border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hl-gptinf-marketing-panels .hl-tool-mkt-bento__cell:hover {
  border-color: rgba(167, 139, 250, 0.3);
  box-shadow: 0 16px 40px -16px rgba(139, 92, 246, 0.3);
}

.hl-gptinf-marketing-panels .hl-tool-mkt-bento__cell--stat {
  background:
    radial-gradient(ellipse 90% 80% at 20% 0%, rgba(139, 92, 246, 0.35), transparent 60%),
    linear-gradient(160deg, #161126 0%, #0b0916 100%);
  border-color: rgba(167, 139, 250, 0.25);
  color: #fff;
}

.hl-gptinf-marketing-panels .hl-tool-mkt-bento__value {
  background: linear-gradient(120deg, #fff 30%, var(--hl-brand-light) 80%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hl-gptinf-marketing-panels .hl-tool-mkt-bento__cell--soft {
  background: rgba(139, 92, 246, 0.07);
  border-color: rgba(167, 139, 250, 0.18);
}

.hl-gptinf-marketing-panels .hl-tool-mkt-bento__title {
  color: #fff;
}

.hl-gptinf-marketing-panels .hl-tool-mkt-bento__kicker,
.hl-gptinf-marketing-panels .hl-tool-mkt-bento__mini {
  color: var(--hl-gptinf-text-muted);
}

.hl-gptinf-marketing-panels .hl-tool-mkt-tag {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--hl-gptinf-border);
  color: var(--hl-gptinf-text-muted);
}

.hl-gptinf-marketing-panels .hl-tool-mkt-tag--pill {
  background: rgba(255, 255, 255, 0.06);
  color: var(--hl-gptinf-text);
}

/* Features */
.hl-gptinf-marketing-panels .hl-tool-mkt-features {
  background: transparent;
}

.hl-gptinf-marketing-panels .hl-tool-mkt-feature {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--hl-gptinf-border);
}

.hl-gptinf-marketing-panels .hl-tool-mkt-feature:hover {
  border-color: rgba(45, 212, 191, 0.3);
  box-shadow: 0 12px 36px -14px rgba(45, 212, 191, 0.25);
}

.hl-gptinf-marketing-panels .hl-tool-mkt-feature__title {
  color: #fff;
}

.hl-gptinf-marketing-panels .hl-tool-mkt-feature__list li {
  color: var(--hl-gptinf-text-muted);
}

.hl-gptinf-marketing-panels .hl-tool-mkt-feature__list li::before {
  background: var(--hl-brand-light);
  box-shadow: 0 0 8px rgba(167, 139, 250, 0.7);
}

.hl-gptinf-marketing-panels .hl-tool-mkt-feature__foot {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--hl-gptinf-border-soft);
  color: var(--hl-gptinf-text-dim);
}

/* Flow diagram */
.hl-gptinf-marketing-panels .hl-tool-mkt-flow {
  background: transparent;
}

.hl-gptinf-marketing-panels .hl-tool-mkt-flow__node,
.hl-gptinf-marketing-panels .hl-tool-mkt-flow__result {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--hl-gptinf-border);
  color: var(--hl-gptinf-text);
  box-shadow: none;
}

.hl-gptinf-marketing-panels .hl-tool-mkt-flow__hub {
  background: linear-gradient(160deg, rgba(139, 92, 246, 0.16), rgba(8, 7, 13, 0.6));
  border: 1px solid rgba(167, 139, 250, 0.35);
  box-shadow: 0 0 0 8px rgba(139, 92, 246, 0.06), 0 0 50px -16px rgba(139, 92, 246, 0.5);
  color: #fff;
}

.hl-gptinf-marketing-panels .hl-tool-mkt-flow__result-pct {
  color: var(--hl-accent);
}

/* Dark variant of the source-node blip (light keyframes reset to light border) */
.hl-gptinf-marketing-panels .hl-tool-mkt-flow__col--in .hl-tool-mkt-flow__node {
  animation-name: hl-gptinf-node-blip;
}

@keyframes hl-gptinf-node-blip {
  0%, 100% { border-color: var(--hl-gptinf-border); box-shadow: none; }
  8% { border-color: rgba(167, 139, 250, 0.6); box-shadow: 0 0 18px -2px rgba(139, 92, 246, 0.45); }
  16% { border-color: var(--hl-gptinf-border); box-shadow: none; }
}

.hl-gptinf-marketing-panels .hl-mkt-logoword {
  color: #fff;
}

/* Diff / mock */
.hl-gptinf-marketing-panels .hl-tool-mkt-diff {
  background: transparent;
}

.hl-gptinf-marketing-panels .hl-tool-mkt-diff__copy p,
.hl-gptinf-marketing-panels .hl-tool-mkt-diff__list {
  color: var(--hl-gptinf-text-muted);
}

.hl-gptinf-marketing-panels .hl-tool-mkt-mock {
  background: linear-gradient(145deg, rgba(139, 92, 246, 0.12), rgba(45, 212, 191, 0.06));
  border: 1px solid rgba(167, 139, 250, 0.22);
}

.hl-gptinf-marketing-panels .hl-tool-mkt-mock__body {
  background: rgba(8, 7, 13, 0.7);
  color: var(--hl-gptinf-text-muted);
}

.hl-gptinf-marketing-panels .hl-tool-mkt-mock__label {
  color: var(--hl-gptinf-text);
}

.hl-gptinf-marketing-panels .hl-tool-mkt-mock__hl--a {
  background: rgba(45, 212, 191, 0.18);
  color: #8ceedd;
}

.hl-gptinf-marketing-panels .hl-tool-mkt-mock__hl--b {
  background: rgba(139, 92, 246, 0.22);
  color: #cfc0ff;
}

/* FAQ */
.hl-gptinf-marketing-panels .hl-tool-mkt-faq {
  background: transparent;
  background-image: radial-gradient(ellipse 50% 40% at 50% 50%, rgba(139, 92, 246, 0.08), transparent 60%);
}

.hl-gptinf-marketing-panels .hl-tool-mkt-faq__item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--hl-gptinf-border);
}

.hl-gptinf-marketing-panels .hl-tool-mkt-faq__item[open] {
  box-shadow: 0 12px 32px -14px rgba(139, 92, 246, 0.3);
  border-color: rgba(167, 139, 250, 0.28);
}

.hl-gptinf-marketing-panels .hl-tool-mkt-faq__item summary {
  color: #fff;
}

.hl-gptinf-marketing-panels .hl-tool-mkt-faq__item summary::after {
  border-color: var(--hl-gptinf-text-dim);
}

.hl-gptinf-marketing-panels .hl-tool-mkt-faq__a p {
  color: var(--hl-gptinf-text-muted);
}

/* CTA banner */
.hl-gptinf-marketing-panels .hl-tool-mkt-banner {
  background: transparent;
}

.hl-gptinf-marketing-panels .hl-tool-mkt-banner__inner {
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    radial-gradient(ellipse 80% 90% at 50% -10%, rgba(139, 92, 246, 0.4), transparent 60%),
    linear-gradient(150deg, #14102a 0%, #08070d 55%, #0a1414 100%);
  background-size: 24px 24px, 24px 24px, auto, auto;
  border: 1px solid rgba(167, 139, 250, 0.25);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 24px 64px -24px rgba(139, 92, 246, 0.35);
}

/* Pro strip */
.hl-gptinf-marketing-panels .hl-tool-mkt-pro {
  background: linear-gradient(180deg, rgba(139, 92, 246, 0.08) 0%, rgba(45, 212, 191, 0.03) 100%);
  border-top: 1px solid rgba(167, 139, 250, 0.2);
  border-bottom: 1px solid rgba(167, 139, 250, 0.1);
}

.hl-gptinf-marketing-panels .hl-tool-mkt-pro__copy strong {
  color: #fff;
}

.hl-gptinf-marketing-panels .hl-tool-mkt-pro__copy span {
  color: var(--hl-gptinf-text-muted);
}

/* Marketing buttons */
.hl-gptinf-marketing-panels .hl-tool-mkt-btn--primary,
.hl-gptinf-marketing-panels .hl-tool-mkt-btn--pro {
  background: linear-gradient(135deg, var(--hl-brand) 0%, var(--hl-brand-dark) 100%);
  border: 1px solid rgba(167, 139, 250, 0.45);
  box-shadow:
    0 8px 28px -8px rgba(139, 92, 246, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.hl-gptinf-marketing-panels .hl-tool-mkt-btn--primary:hover,
.hl-gptinf-marketing-panels .hl-tool-mkt-btn--pro:hover {
  background: linear-gradient(135deg, var(--hl-brand-light) 0%, var(--hl-brand) 100%);
  box-shadow:
    0 14px 36px -8px rgba(139, 92, 246, 0.75),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.hl-gptinf-marketing-panels .hl-tool-mkt-btn--banner,
.hl-gptinf-marketing-panels .hl-tool-mkt-banner__actions .hl-tool-mkt-btn--banner {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff !important;
}

.hl-gptinf-marketing-panels .hl-tool-mkt-btn--banner:hover,
.hl-gptinf-marketing-panels .hl-tool-mkt-banner__actions .hl-tool-mkt-btn--banner:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff !important;
}

.hl-gptinf-marketing-panels .hl-tool-mkt-btn--pro-on-dark {
  background: #fff;
  color: #08070d !important;
  border-color: #fff;
  box-shadow: 0 8px 28px -8px rgba(255, 255, 255, 0.3);
}

.hl-gptinf-marketing-panels .hl-tool-mkt-btn--pro-on-dark:hover {
  background: #e9e4ff;
  color: #08070d !important;
  border-color: #d8ccff;
}

/* ── Footer harmonization ────────────────────────────────── */
.hl-gptinf-main .hl-site-shell-footer {
  background: #050409;
  border-top: 1px solid var(--hl-gptinf-border-soft);
}

.hl-gptinf-main .hl-site-shell-footer__tags {
  background: #0a0814;
}

.hl-gptinf-main .hl-site-shell-footer__ticker {
  background: #0c0a18;
}

.hl-gptinf-main .hl-site-shell-footer__logo {
  background: none;
  box-shadow: none;
}

/* Mobile */
@media (max-width: 960px) {
  .hl-style-gptinf {
    --hl-gptinf-sidebar-w: 100%;
  }

  body.home .entry-content .hl-gptinf-below,
  body.front-page .entry-content .hl-gptinf-below {
    margin-left: 0;
    width: 100%;
  }

  .hl-gptinf-app {
    display: flex;
    flex-direction: column;
    grid-template-columns: none;
    grid-template-rows: none;
  }

  .hl-gptinf-sidebar {
    position: fixed;
    bottom: 0;
    top: auto;
    left: 0;
    right: 0;
    grid-column: auto;
    grid-row: auto;
    width: 100%;
    height: auto;
    flex-direction: row;
    padding: 10px 10px calc(10px + env(safe-area-inset-bottom, 0px));
    border-right: none;
    border-top: 1px solid var(--hl-gptinf-border);
    background: rgba(8, 7, 13, 0.92);
    backdrop-filter: var(--hl-gptinf-glass);
    z-index: 300;
  }

  .hl-gptinf-sidebar-logo,
  .hl-gptinf-sidebar-link {
    display: none;
  }

  .hl-gptinf-sidebar-nav {
    flex-direction: row;
    justify-content: space-around;
    width: 100%;
    gap: 2px;
  }

  .hl-gptinf-nav-item {
    min-height: auto;
    padding: 10px 6px;
    flex: 1;
    font-size: 11px;
    gap: 6px;
  }

  .hl-gptinf-nav-item--active::before,
  .hl-gptinf-nav-item.hl-gpt-rail-btn--active::before {
    left: 50%;
    top: -11px;
    transform: translateX(-50%);
    width: 26px;
    height: 3px;
  }

  .hl-gptinf-nav-icon svg {
    width: 24px;
    height: 24px;
  }

  .hl-gptinf-main-col {
    grid-column: auto;
    margin-left: 0;
    margin-bottom: 88px;
  }

  .hl-gptinf-topbar {
    grid-template-columns: 1fr;
    height: auto;
    min-height: var(--hl-gptinf-topbar-h);
    padding: 10px 14px;
    gap: 10px;
  }

  .hl-gptinf-topbar-spacer {
    display: none;
  }

  .hl-gptinf-topbar-nav {
    grid-column: 1;
    justify-self: center;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hl-gptinf-topbar-auth {
    grid-column: 1;
    justify-self: center;
    width: 100%;
    justify-content: center;
  }

  .hl-gptinf-main {
    padding: 20px 14px 32px;
  }

  .hl-gptinf-hero-title {
    font-size: clamp(30px, 8.5vw, 38px);
  }

  .hl-gptinf-hero-sub {
    font-size: 15px;
  }

  .hl-style-gptinf .hlai-humanizer-dual,
  #hlai-humanizer-wrap .hlai-humanizer-dual {
    grid-template-columns: 1fr;
  }

  .hl-style-gptinf .hlai-humanizer-dual .hlai-pane,
  #hlai-humanizer-wrap .hlai-humanizer-dual .hlai-pane {
    min-height: 280px;
  }

  .hl-style-gptinf .hlai-pane--output .hlai-output-slot,
  #hlai-humanizer-wrap .hlai-pane--output .hlai-output-slot {
    min-height: 200px;
  }
}

/* Marketing panels below each tool on homepage */
.hl-gptinf-marketing-panels {
  margin-top: clamp(32px, 5vw, 48px);
}

.hl-gptinf-marketing-panels .hl-tool-mkt > section,
.hl-gptinf-marketing-panels .hl-tool-mkt-pro {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s var(--hl-gptinf-ease), transform 0.55s var(--hl-gptinf-ease);
}

.hl-gptinf-marketing-panels .hl-tool-mkt > section.hl-mkt-visible,
.hl-gptinf-marketing-panels .hl-tool-mkt-pro.hl-mkt-visible {
  opacity: 1;
  transform: translateY(0);
}

.hl-gptinf-nav-item:focus-visible,
.hl-gptinf-btn:focus-visible,
.hl-gptinf-topbar-nav a:focus-visible {
  outline: 2px solid var(--hl-brand-light);
  outline-offset: 2px;
}

.hl-gptinf-mkt-panel[hidden] {
  display: none !important;
}

.hl-gptinf-main .hl-site-shell-footer {
  margin-top: clamp(8px, 2vw, 16px);
}

#hlai-checker-wrap,
#hlai-humanizer-wrap,
#hlai-grammar-wrap,
#heylooai-prompt-generator {
  scroll-margin-top: calc(var(--hl-gptinf-topbar-h, 64px) + 20px);
}

/* ════════════════════════════════════════════════════════════
   Premium tool pass — explicit fonts, high contrast, fixed
   tone labels, luminous detailing inside every tool widget
   ════════════════════════════════════════════════════════════ */

.hl-style-gptinf .hlai-tool-wrap--compact,
.hl-style-gptinf .hlai-tool-wrap--compact .hlai-btn,
.hl-style-gptinf .hlai-tool-wrap--compact .hlai-tone-btn,
.hl-style-gptinf .hlai-tool-wrap--compact .hlai-textarea,
.hl-style-gptinf .heylooai-prompt-generator-wrap--compact,
.hl-style-gptinf .heylooai-prompt-generator-wrap--compact .hlai-pg__btn,
.hl-style-gptinf .heylooai-prompt-generator-wrap--compact .hlai-pg__chip,
.hl-style-gptinf .heylooai-prompt-generator-wrap--compact .hlai-pg select,
.hl-style-gptinf .heylooai-prompt-generator-wrap--compact .hlai-pg textarea,
.hl-style-gptinf .heylooai-prompt-generator-wrap--compact .hlai-pg input[type=text] {
  font-family: var(--hl-gptinf-font);
}

/* Tone buttons: inner spans carry their own (near-black) color in the base
   stylesheet — force them to follow the themed button color. */
.hl-style-gptinf .hlai-tool-wrap--compact .hlai-tone-btn .tone-name,
.hl-style-gptinf .hlai-tool-wrap--compact .hlai-tone-btn .tone-desc {
  color: inherit;
}

.hl-style-gptinf .hlai-tool-wrap--compact .hlai-tone-btn {
  color: #cfc9e6;
}

.hl-style-gptinf .hlai-tool-wrap--compact .hlai-tone-btn .tone-name {
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.01em;
}

.hl-style-gptinf .hlai-tool-wrap--compact .hlai-tone-btn.active .tone-name {
  color: #fff;
}

/* Brighter, premium text everywhere inside the tools */
.hl-style-gptinf .hlai-tool-wrap--compact .hlai-textarea,
.hl-style-gptinf .heylooai-prompt-generator-wrap--compact .hlai-pg select,
.hl-style-gptinf .heylooai-prompt-generator-wrap--compact .hlai-pg textarea,
.hl-style-gptinf .heylooai-prompt-generator-wrap--compact .hlai-pg input[type=text] {
  color: #f7f5ff;
  font-size: 14.5px;
  line-height: 1.6;
}

.hl-style-gptinf .hlai-tool-wrap--compact .hlai-textarea::placeholder {
  color: rgba(214, 208, 236, 0.45);
}

.hl-style-gptinf .hlai-tool-wrap--compact .hlai-usage-bar,
.hl-style-gptinf .hlai-tool-wrap--compact .hlai-usage-info {
  color: #cfc9e6;
}

.hl-style-gptinf .hlai-tool-wrap--compact .hlai-usage-bar strong,
.hl-style-gptinf .hlai-tool-wrap--compact .hlai-usage-count {
  color: #fff;
}

.hl-style-gptinf .hlai-tool-wrap--compact .hlai-word-count,
.hl-style-gptinf .hlai-tool-wrap--compact .hlai-word-count span {
  font-family: var(--hl-gptinf-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--hl-gptinf-text-dim);
}

/* Output empty state: luminous gradient tile instead of a plain glyph */
.hl-style-gptinf .hlai-output-empty__icon,
#hlai-humanizer-wrap .hlai-output-empty__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  font-size: 20px;
  color: #fff;
  opacity: 1;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.85), rgba(109, 40, 217, 0.65));
  border: 1px solid rgba(167, 139, 250, 0.5);
  box-shadow: 0 8px 24px -6px rgba(139, 92, 246, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  animation: hl-gptinf-icon-float 3.4s ease-in-out infinite;
}

@keyframes hl-gptinf-icon-float {
  0%, 100% { transform: translateY(0); box-shadow: 0 8px 24px -6px rgba(139, 92, 246, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.25); }
  50% { transform: translateY(-5px); box-shadow: 0 16px 32px -8px rgba(139, 92, 246, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.25); }
}

.hl-style-gptinf .hlai-output-empty__title,
#hlai-humanizer-wrap .hlai-output-empty__title {
  font-family: var(--hl-gptinf-display);
  font-size: 16px;
  letter-spacing: -0.01em;
  color: #fff;
}

.hl-style-gptinf .hlai-output-empty p,
.hl-style-gptinf .hlai-output-empty__steps,
#hlai-humanizer-wrap .hlai-output-empty p,
#hlai-humanizer-wrap .hlai-output-empty__steps {
  color: #b9b3d4;
}

/* Card labels: brighter mono kickers */
.hl-style-gptinf .hlai-tool-wrap--compact .hlai-card-label,
.hl-style-gptinf .heylooai-prompt-generator-wrap--compact .hlai-pg__label {
  color: #c4b5fd;
}

@media (prefers-reduced-motion: reduce) {
  .hl-style-gptinf .hlai-output-empty__icon {
    animation: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hl-gptinf-panel,
  .hl-home-panel,
  .hl-gptinf-reveal,
  .hl-gptinf-marketing-panels .hl-tool-mkt > section,
  .hl-gptinf-marketing-panels .hl-tool-mkt-pro {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .hl-gptinf-atmosphere__grain {
    display: none;
  }

  .hl-gptinf-atmosphere__mesh,
  .hl-gptinf-hero-title,
  .hl-gptinf-hero-badge-icon {
    animation: none !important;
  }

  .hl-gptinf-textarea::placeholder {
    animation: none !important;
  }
}
